diff --git a/reports/2025-04-29-08-22-31/data/2ccb1ebf12c30cff475b852bdf2c7152c09de562.zip b/reports/2025-04-29-08-22-31/data/2ccb1ebf12c30cff475b852bdf2c7152c09de562.zip new file mode 100644 index 0000000..4a63909 Binary files /dev/null and b/reports/2025-04-29-08-22-31/data/2ccb1ebf12c30cff475b852bdf2c7152c09de562.zip differ diff --git a/reports/2025-04-29-08-22-31/data/368e17d12e12a1042ecfa308977aa73fda72e82e.png b/reports/2025-04-29-08-22-31/data/368e17d12e12a1042ecfa308977aa73fda72e82e.png new file mode 100644 index 0000000..1cf2edb Binary files /dev/null and b/reports/2025-04-29-08-22-31/data/368e17d12e12a1042ecfa308977aa73fda72e82e.png differ diff --git a/reports/2025-04-29-08-22-31/data/427094960062fc688750b22eb854e989a6b2d23f.webm b/reports/2025-04-29-08-22-31/data/427094960062fc688750b22eb854e989a6b2d23f.webm new file mode 100644 index 0000000..9c74bb9 Binary files /dev/null and b/reports/2025-04-29-08-22-31/data/427094960062fc688750b22eb854e989a6b2d23f.webm differ diff --git a/reports/2025-04-29-08-22-31/data/c64fa0255df2715a864ec653ba6b3cc918935e4b.webm b/reports/2025-04-29-08-22-31/data/c64fa0255df2715a864ec653ba6b3cc918935e4b.webm new file mode 100644 index 0000000..229c538 Binary files /dev/null and b/reports/2025-04-29-08-22-31/data/c64fa0255df2715a864ec653ba6b3cc918935e4b.webm differ diff --git a/reports/2025-04-29-08-22-31/index.html b/reports/2025-04-29-08-22-31/index.html new file mode 100644 index 0000000..5a3f8f5 --- /dev/null +++ b/reports/2025-04-29-08-22-31/index.html @@ -0,0 +1,68 @@ + + + + +
+ + + +r.ch&&Z.charCodeAt(Z.length-D-1)==j.charCodeAt(j.length-D-1);)x--,D++;v[v.length-1]=Z.slice(0,Z.length-D).replace(/^\u200b+/,""),v[0]=v[0].slice(x).replace(/\u200b+$/,"");var ge=L(l,x),ce=L(u,b.length?he(b).length-D:0);if(v.length>1||v[0]||X(ge,ce))return Qr(e.doc,v,ge,ce,"+input"),!0},je.prototype.ensurePolled=function(){this.forceCompositionEnd()},je.prototype.reset=function(){this.forceCompositionEnd()},je.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},je.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))},je.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Dt(this.cm,function(){return bt(e.cm)})},je.prototype.setUneditable=function(e){e.contentEditable="false"},je.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||lt(this.cm,ao)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},je.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},je.prototype.onContextMenu=function(){},je.prototype.resetPosition=function(){},je.prototype.needsContentAttribute=!0;function ca(e,t){var n=Fi(e,t.line);if(!n||n.hidden)return null;var r=ae(e.doc,t.line),i=Ho(n,r,t.line),o=We(r,e.doc.direction),l="left";if(o){var a=lr(o,t.ch);l=a%2?"right":"left"}var s=jo(i.map,t.ch,l);return s.offset=s.collapse=="right"?s.end:s.start,s}function pu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function rn(e,t){return t&&(e.bad=!0),e}function gu(e,t,n,r,i){var o="",l=!1,a=e.doc.lineSeparator(),s=!1;function u(x){return function(D){return D.id==x}}function h(){l&&(o+=a,s&&(o+=a),l=s=!1)}function v(x){x&&(h(),o+=x)}function b(x){if(x.nodeType==1){var D=x.getAttribute("cm-text");if(D){v(D);return}var E=x.getAttribute("cm-marker"),_;if(E){var q=e.findMarks(L(r,0),L(i+1,0),u(+E));q.length&&(_=q[0].find(0))&&v(Vt(e.doc,_.from,_.to).join(a));return}if(x.getAttribute("contenteditable")=="false")return;var Z=/^(pre|div|p|li|table|br)$/i.test(x.nodeName);if(!/^br$/i.test(x.nodeName)&&x.textContent.length==0)return;Z&&h();for(var j=0;j=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),pe(i,"paste",function(l){Ze(r,l)||la(l,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())});function o(l){if(!Ze(r,l)){if(r.somethingSelected())hi({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var a=sa(r);hi({lineWise:!0,text:a.text}),l.type=="cut"?r.setSelections(a.ranges,null,Ve):(n.prevInput="",i.value=a.text.join(` +`),p(i))}else return;l.type=="cut"&&(r.state.cutIncoming=+new Date)}}pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",function(l){if(!(tr(e,l)||Ze(r,l))){if(!i.dispatchEvent){r.state.pasteIncoming=+new Date,n.focus();return}var a=new Event("paste");a.clipboardData=l.clipboardData,i.dispatchEvent(a)}}),pe(e.lineSpace,"selectstart",function(l){tr(e,l)||ht(l)}),pe(i,"compositionstart",function(){var l=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:l,range:r.markText(l,r.getCursor("to"),{className:"CodeMirror-composing"})}}),pe(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},$e.prototype.createField=function(e){this.wrapper=ua(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;so(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},$e.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},$e.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=el(e);if(e.options.moveInputWithCursor){var i=Ht(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+l.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+l.left-o.left))}return r},$e.prototype.showSelection=function(e){var t=this.cm,n=t.display;Y(n.cursorDiv,e.cursors),Y(n.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},$e.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&p(this.textarea),k&&ee>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",k&&ee>=9&&(this.hasSelection=null));this.resetting=!1}},$e.prototype.getField=function(){return this.textarea},$e.prototype.supportsTouch=function(){return!1},$e.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!$||y(ye(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},$e.prototype.blur=function(){this.textarea.blur()},$e.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},$e.prototype.receivedFocus=function(){this.slowPoll()},$e.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},$e.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function n(){var r=t.poll();!r&&!e?(e=!0,t.polling.set(60,n)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,n)},$e.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||ur(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(k&&ee>=9&&this.hasSelection===i||ie&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(o==8203&&!r&&(r=""),o==8666)return this.reset(),this.cm.execCommand("undo")}for(var l=0,a=Math.min(r.length,i.length);l1e3||i.indexOf(` +`)>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},$e.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},$e.prototype.onKeyPress=function(){k&&ee>=9&&(this.hasSelection=null),this.fastPoll()},$e.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Tr(n,e),l=r.scroller.scrollTop;if(!o||P)return;var a=n.options.resetSelectionOnContextMenu;a&&n.doc.sel.contains(o)==-1&<(n,pt)(n.doc,pr(o),Ve);var s=i.style.cssText,u=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.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 v;U&&(v=i.ownerDocument.defaultView.scrollY),r.input.focus(),U&&i.ownerDocument.defaultView.scrollTo(null,v),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=x,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll);function b(){if(i.selectionStart!=null){var E=n.somethingSelected(),_=""+(E?i.value:"");i.value="⇚",i.value=_,t.prevInput=E?"":"",i.selectionStart=1,i.selectionEnd=_.length,r.selForContextMenu=n.doc.sel}}function x(){if(t.contextMenuPending==x&&(t.contextMenuPending=!1,t.wrapper.style.cssText=u,i.style.cssText=s,k&&ee<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),i.selectionStart!=null)){(!k||k&&ee<9)&&b();var E=0,_=function(){r.selForContextMenu==n.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput==""?lt(n,Al)(n):E++<10?r.detectingSelectAll=setTimeout(_,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(_,200)}}if(k&&ee>=9&&b(),le){ar(e);var D=function(){dt(window,"mouseup",D),setTimeout(x,20)};pe(window,"mouseup",D)}else setTimeout(x,50)},$e.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},$e.prototype.setUneditable=function(){},$e.prototype.needsContentAttribute=!1;function mu(e,t){if(t=t?Se(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 n=y(ye(e));t.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function r(){e.value=a.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var l=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=l}}catch{}}t.finishInit=function(s){s.save=r,s.getTextArea=function(){return e},s.toTextArea=function(){s.toTextArea=isNaN,r(),e.parentNode.removeChild(s.getWrapperElement()),e.style.display="",e.form&&(dt(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var a=Ge(function(s){return e.parentNode.insertBefore(s,e.nextSibling)},t);return a}function yu(e){e.off=dt,e.on=pe,e.wheelEventPixels=Ls,e.Doc=kt,e.splitLines=Ot,e.countColumn=Te,e.findColumn=Re,e.isWordChar=ne,e.Pass=qe,e.signal=Ye,e.Line=Hr,e.changeEnd=gr,e.scrollbarModel=ll,e.Pos=L,e.cmpPos=X,e.modes=Pr,e.mimeModes=Bt,e.resolveMode=Ir,e.getMode=zr,e.modeExtensions=fr,e.extendMode=Br,e.copyState=Kt,e.startState=Wr,e.innerMode=sn,e.commands=Nn,e.keyMap=nr,e.keyName=Gl,e.isModifierKey=Kl,e.lookupKey=$r,e.normalizeKeyMap=Xs,e.StringStream=Je,e.SharedTextMarker=Fn,e.TextMarker=mr,e.LineWidget=Mn,e.e_preventDefault=ht,e.e_stopPropagation=Nr,e.e_stop=ar,e.addClass=N,e.contains=m,e.rmClass=Ae,e.keyNames=yr}uu(Ge),hu(Ge);var xu="iter insert remove copy getEditor constructor".split(" ");for(var gi in kt.prototype)kt.prototype.hasOwnProperty(gi)&&te(xu,gi)<0&&(Ge.prototype[gi]=function(e){return function(){return e.apply(this.doc,arguments)}}(kt.prototype[gi]));return Pt(kt),Ge.inputStyles={textarea:$e,contenteditable:je},Ge.defineMode=function(e){!Ge.defaults.mode&&e!="null"&&(Ge.defaults.mode=e),Wt.apply(this,arguments)},Ge.defineMIME=kr,Ge.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ge.defineMIME("text/plain","null"),Ge.defineExtension=function(e,t){Ge.prototype[e]=t},Ge.defineDocExtension=function(e,t){kt.prototype[e]=t},Ge.fromTextArea=mu,yu(Ge),Ge.version="5.65.15",Ge})})(ya);var Zt=ya.exports;const Cu=bu(Zt);var wu={exports:{}};(function(jt,Jt){(function(F){F(Zt)})(function(F){F.defineMode("css",function(le,W){var Ae=W.inline;W.propertyKeywords||(W=F.resolveMode("text/css"));var C=le.indentUnit,Y=W.tokenHooks,d=W.documentTypes||{},S=W.mediaTypes||{},w=W.mediaFeatures||{},m=W.mediaValueKeywords||{},y=W.propertyKeywords||{},N=W.nonStandardPropertyKeywords||{},re=W.fontProperties||{},p=W.counterDescriptors||{},c=W.colorKeywords||{},G=W.valueKeywords||{},ye=W.allowNested,R=W.lineComment,oe=W.supportsAtComponent===!0,Se=le.highlightNonStandardPropertyKeywords!==!1,Te,xe;function te(T,z){return Te=z,T}function Ee(T,z){var M=T.next();if(Y[M]){var Ie=Y[M](T,z);if(Ie!==!1)return Ie}if(M=="@")return T.eatWhile(/[\w\\\-]/),te("def",T.current());if(M=="="||(M=="~"||M=="|")&&T.eat("="))return te(null,"compare");if(M=='"'||M=="'")return z.tokenize=qe(M),z.tokenize(T,z);if(M=="#")return T.eatWhile(/[\w\\\-]/),te("atom","hash");if(M=="!")return T.match(/^\s*\w*/),te("keyword","important");if(/\d/.test(M)||M=="."&&T.eat(/\d/))return T.eatWhile(/[\w.%]/),te("number","unit");if(M==="-"){if(/[\d.]/.test(T.peek()))return T.eatWhile(/[\w.%]/),te("number","unit");if(T.match(/^-[\w\\\-]*/))return T.eatWhile(/[\w\\\-]/),T.match(/^\s*:/,!1)?te("variable-2","variable-definition"):te("variable-2","variable");if(T.match(/^\w+-/))return te("meta","meta")}else return/[,+>*\/]/.test(M)?te(null,"select-op"):M=="."&&T.match(/^-?[_a-z][_a-z0-9-]*/i)?te("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(M)?te(null,M):T.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(T.current())&&(z.tokenize=Ve),te("variable callee","variable")):/[\w\\\-]/.test(M)?(T.eatWhile(/[\w\\\-]/),te("property","word")):te(null,null)}function qe(T){return function(z,M){for(var Ie=!1,ne;(ne=z.next())!=null;){if(ne==T&&!Ie){T==")"&&z.backUp(1);break}Ie=!Ie&&ne=="\\"}return(ne==T||!Ie&&T!=")")&&(M.tokenize=null),te("string","string")}}function Ve(T,z){return T.next(),T.match(/^\s*[\"\')]/,!1)?z.tokenize=null:z.tokenize=qe(")"),te(null,"(")}function ct(T,z,M){this.type=T,this.indent=z,this.prev=M}function Ne(T,z,M,Ie){return T.context=new ct(M,z.indentation()+(Ie===!1?0:C),T.context),M}function Re(T){return T.context.prev&&(T.context=T.context.prev),T.context.type}function Ue(T,z,M){return Oe[M.context.type](T,z,M)}function et(T,z,M,Ie){for(var ne=Ie||1;ne>0;ne--)M.context=M.context.prev;return Ue(T,z,M)}function he(T){var z=T.current().toLowerCase();G.hasOwnProperty(z)?xe="atom":c.hasOwnProperty(z)?xe="keyword":xe="variable"}var Oe={};return Oe.top=function(T,z,M){if(T=="{")return Ne(M,z,"block");if(T=="}"&&M.context.prev)return Re(M);if(oe&&/@component/i.test(T))return Ne(M,z,"atComponentBlock");if(/^@(-moz-)?document$/i.test(T))return Ne(M,z,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(T))return Ne(M,z,"atBlock");if(/^@(font-face|counter-style)/i.test(T))return M.stateArg=T,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(T))return"keyframes";if(T&&T.charAt(0)=="@")return Ne(M,z,"at");if(T=="hash")xe="builtin";else if(T=="word")xe="tag";else{if(T=="variable-definition")return"maybeprop";if(T=="interpolation")return Ne(M,z,"interpolation");if(T==":")return"pseudo";if(ye&&T=="(")return Ne(M,z,"parens")}return M.context.type},Oe.block=function(T,z,M){if(T=="word"){var Ie=z.current().toLowerCase();return y.hasOwnProperty(Ie)?(xe="property","maybeprop"):N.hasOwnProperty(Ie)?(xe=Se?"string-2":"property","maybeprop"):ye?(xe=z.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(xe+=" error","maybeprop")}else return T=="meta"?"block":!ye&&(T=="hash"||T=="qualifier")?(xe="error","block"):Oe.top(T,z,M)},Oe.maybeprop=function(T,z,M){return T==":"?Ne(M,z,"prop"):Ue(T,z,M)},Oe.prop=function(T,z,M){if(T==";")return Re(M);if(T=="{"&&ye)return Ne(M,z,"propBlock");if(T=="}"||T=="{")return et(T,z,M);if(T=="(")return Ne(M,z,"parens");if(T=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(z.current()))xe+=" error";else if(T=="word")he(z);else if(T=="interpolation")return Ne(M,z,"interpolation");return"prop"},Oe.propBlock=function(T,z,M){return T=="}"?Re(M):T=="word"?(xe="property","maybeprop"):M.context.type},Oe.parens=function(T,z,M){return T=="{"||T=="}"?et(T,z,M):T==")"?Re(M):T=="("?Ne(M,z,"parens"):T=="interpolation"?Ne(M,z,"interpolation"):(T=="word"&&he(z),"parens")},Oe.pseudo=function(T,z,M){return T=="meta"?"pseudo":T=="word"?(xe="variable-3",M.context.type):Ue(T,z,M)},Oe.documentTypes=function(T,z,M){return T=="word"&&d.hasOwnProperty(z.current())?(xe="tag",M.context.type):Oe.atBlock(T,z,M)},Oe.atBlock=function(T,z,M){if(T=="(")return Ne(M,z,"atBlock_parens");if(T=="}"||T==";")return et(T,z,M);if(T=="{")return Re(M)&&Ne(M,z,ye?"block":"top");if(T=="interpolation")return Ne(M,z,"interpolation");if(T=="word"){var Ie=z.current().toLowerCase();Ie=="only"||Ie=="not"||Ie=="and"||Ie=="or"?xe="keyword":S.hasOwnProperty(Ie)?xe="attribute":w.hasOwnProperty(Ie)?xe="property":m.hasOwnProperty(Ie)?xe="keyword":y.hasOwnProperty(Ie)?xe="property":N.hasOwnProperty(Ie)?xe=Se?"string-2":"property":G.hasOwnProperty(Ie)?xe="atom":c.hasOwnProperty(Ie)?xe="keyword":xe="error"}return M.context.type},Oe.atComponentBlock=function(T,z,M){return T=="}"?et(T,z,M):T=="{"?Re(M)&&Ne(M,z,ye?"block":"top",!1):(T=="word"&&(xe="error"),M.context.type)},Oe.atBlock_parens=function(T,z,M){return T==")"?Re(M):T=="{"||T=="}"?et(T,z,M,2):Oe.atBlock(T,z,M)},Oe.restricted_atBlock_before=function(T,z,M){return T=="{"?Ne(M,z,"restricted_atBlock"):T=="word"&&M.stateArg=="@counter-style"?(xe="variable","restricted_atBlock_before"):Ue(T,z,M)},Oe.restricted_atBlock=function(T,z,M){return T=="}"?(M.stateArg=null,Re(M)):T=="word"?(M.stateArg=="@font-face"&&!re.hasOwnProperty(z.current().toLowerCase())||M.stateArg=="@counter-style"&&!p.hasOwnProperty(z.current().toLowerCase())?xe="error":xe="property","maybeprop"):"restricted_atBlock"},Oe.keyframes=function(T,z,M){return T=="word"?(xe="variable","keyframes"):T=="{"?Ne(M,z,"top"):Ue(T,z,M)},Oe.at=function(T,z,M){return T==";"?Re(M):T=="{"||T=="}"?et(T,z,M):(T=="word"?xe="tag":T=="hash"&&(xe="builtin"),"at")},Oe.interpolation=function(T,z,M){return T=="}"?Re(M):T=="{"||T==";"?et(T,z,M):(T=="word"?xe="variable":T!="variable"&&T!="("&&T!=")"&&(xe="error"),"interpolation")},{startState:function(T){return{tokenize:null,state:Ae?"block":"top",stateArg:null,context:new ct(Ae?"block":"top",T||0,null)}},token:function(T,z){if(!z.tokenize&&T.eatSpace())return null;var M=(z.tokenize||Ee)(T,z);return M&&typeof M=="object"&&(Te=M[1],M=M[0]),xe=M,Te!="comment"&&(z.state=Oe[z.state](Te,T,z)),xe},indent:function(T,z){var M=T.context,Ie=z&&z.charAt(0),ne=M.indent;return M.type=="prop"&&(Ie=="}"||Ie==")")&&(M=M.prev),M.prev&&(Ie=="}"&&(M.type=="block"||M.type=="top"||M.type=="interpolation"||M.type=="restricted_atBlock")?(M=M.prev,ne=M.indent):(Ie==")"&&(M.type=="parens"||M.type=="atBlock_parens")||Ie=="{"&&(M.type=="at"||M.type=="atBlock"))&&(ne=Math.max(0,M.indent-C))),ne},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:R,fold:"brace"}});function Pe(le){for(var W={},Ae=0;Ae ")):null:d.match("--")?w(be("comment","-->")):d.match("DOCTYPE",!0,!0)?(d.eatWhile(/[\w\._\-]/),w(ke(1))):null:d.eat("?")?(d.eatWhile(/[\w\._\-]/),S.tokenize=be("meta","?>"),"meta"):(ve=d.eat("/")?"closeTag":"openTag",S.tokenize=P,"tag bracket");if(m=="&"){var y;return d.eat("#")?d.eat("x")?y=d.eatWhile(/[a-fA-F\d]/)&&d.eat(";"):y=d.eatWhile(/[\d]/)&&d.eat(";"):y=d.eatWhile(/[\w\.\-:]/)&&d.eat(";"),y?"atom":"error"}else return d.eatWhile(/[^&<]/),null}H.isInText=!0;function P(d,S){var w=d.next();if(w==">"||w=="/"&&d.eat(">"))return S.tokenize=H,ve=w==">"?"endTag":"selfcloseTag","tag bracket";if(w=="=")return ve="equals",null;if(w=="<"){S.tokenize=H,S.state=Fe,S.tagName=S.tagStart=null;var m=S.tokenize(d,S);return m?m+" tag error":"tag error"}else return/[\'\"]/.test(w)?(S.tokenize=K(w),S.stringStartCol=d.column(),S.tokenize(d,S)):(d.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function K(d){var S=function(w,m){for(;!w.eol();)if(w.next()==d){m.tokenize=P;break}return"string"};return S.isInAttribute=!0,S}function be(d,S){return function(w,m){for(;!w.eol();){if(w.match(S)){m.tokenize=H;break}w.next()}return d}}function ke(d){return function(S,w){for(var m;(m=S.next())!=null;){if(m=="<")return w.tokenize=ke(d+1),w.tokenize(S,w);if(m==">")if(d==1){w.tokenize=H;break}else return w.tokenize=ke(d-1),w.tokenize(S,w)}return"meta"}}function Q(d){return d&&d.toLowerCase()}function V(d,S,w){this.prev=d.context,this.tagName=S||"",this.indent=d.indented,this.startOfLine=w,(k.doNotIndent.hasOwnProperty(S)||d.context&&d.context.noIndent)&&(this.noIndent=!0)}function $(d){d.context&&(d.context=d.context.prev)}function ie(d,S){for(var w;;){if(!d.context||(w=d.context.tagName,!k.contextGrabbers.hasOwnProperty(Q(w))||!k.contextGrabbers[Q(w)].hasOwnProperty(Q(S))))return;$(d)}}function Fe(d,S,w){return d=="openTag"?(w.tagStart=S.column(),me):d=="closeTag"?ue:Fe}function me(d,S,w){return d=="word"?(w.tagName=S.current(),O="tag",W):k.allowMissingTagName&&d=="endTag"?(O="tag bracket",W(d,S,w)):(O="error",me)}function ue(d,S,w){if(d=="word"){var m=S.current();return w.context&&w.context.tagName!=m&&k.implicitlyClosed.hasOwnProperty(Q(w.context.tagName))&&$(w),w.context&&w.context.tagName==m||k.matchClosing===!1?(O="tag",ze):(O="tag error",le)}else return k.allowMissingTagName&&d=="endTag"?(O="tag bracket",ze(d,S,w)):(O="error",le)}function ze(d,S,w){return d!="endTag"?(O="error",ze):($(w),Fe)}function le(d,S,w){return O="error",ze(d,S,w)}function W(d,S,w){if(d=="word")return O="attribute",Ae;if(d=="endTag"||d=="selfcloseTag"){var m=w.tagName,y=w.tagStart;return w.tagName=w.tagStart=null,d=="selfcloseTag"||k.autoSelfClosers.hasOwnProperty(Q(m))?ie(w,m):(ie(w,m),w.context=new V(w,m,y==w.indented)),Fe}return O="error",W}function Ae(d,S,w){return d=="equals"?C:(k.allowMissing||(O="error"),W(d,S,w))}function C(d,S,w){return d=="string"?Y:d=="word"&&k.allowUnquoted?(O="string",W):(O="error",W(d,S,w))}function Y(d,S,w){return d=="string"?Y:W(d,S,w)}return{startState:function(d){var S={tokenize:H,state:Fe,indented:d||0,tagName:null,tagStart:null,context:null};return d!=null&&(S.baseIndent=d),S},token:function(d,S){if(!S.tagName&&d.sol()&&(S.indented=d.indentation()),d.eatSpace())return null;ve=null;var w=S.tokenize(d,S);return(w||ve)&&w!="comment"&&(O=null,S.state=S.state(ve||w,d,S),O&&(w=O=="error"?w+" error":O)),w},indent:function(d,S,w){var m=d.context;if(d.tokenize.isInAttribute)return d.tagStart==d.indented?d.stringStartCol+1:d.indented+se;if(m&&m.noIndent)return F.Pass;if(d.tokenize!=P&&d.tokenize!=H)return w?w.match(/^(\s*)/)[0].length:0;if(d.tagName)return k.multilineTagIndentPastTag!==!1?d.tagStart+d.tagName.length+2:d.tagStart+se*(k.multilineTagIndentFactor||1);if(k.alignCDATA&&/$/,blockCommentStart:"",configuration:k.htmlMode?"html":"xml",helperType:k.htmlMode?"html":"xml",skipAttribute:function(d){d.state==C&&(d.state=W)},xmlCurrentTag:function(d){return d.tagName?{name:d.tagName,close:d.type=="closeTag"}:null},xmlCurrentContext:function(d){for(var S=[],w=d.context;w;w=w.prev)S.push(w.tagName);return S.reverse()}}}),F.defineMIME("text/xml","xml"),F.defineMIME("application/xml","xml"),F.mimeModes.hasOwnProperty("text/html")||F.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),da.exports}var pa={exports:{}},ga;function ba(){return ga||(ga=1,function(jt,Jt){(function(F){F(Zt)})(function(F){F.defineMode("javascript",function(Pe,I){var de=Pe.indentUnit,Me=I.statementIndent,se=I.jsonld,k=I.json||se,ee=I.trackScope!==!1,U=I.typescript,ve=I.wordCharacters||/[\w$\xa1-\uffff]/,O=function(){function f(it){return{type:it,style:"keyword"}}var g=f("keyword a"),A=f("keyword b"),B=f("keyword c"),L=f("keyword d"),X=f("operator"),_e={type:"atom",style:"atom"};return{if:f("if"),while:g,with:g,else:A,do:A,try:A,finally:A,return:L,break:L,continue:L,new:f("new"),delete:B,void:B,throw:B,debugger:f("debugger"),var:f("var"),const:f("var"),let:f("var"),function:f("function"),catch:f("catch"),for:f("for"),switch:f("switch"),case:f("case"),default:f("default"),in:X,typeof:X,instanceof:X,true:_e,false:_e,null:_e,undefined:_e,NaN:_e,Infinity:_e,this:f("this"),class:f("class"),super:f("atom"),yield:B,export:f("export"),import:f("import"),extends:B,await:B}}(),H=/[+\-*&%=<>!?|~^@]/,P=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function K(f){for(var g=!1,A,B=!1;(A=f.next())!=null;){if(!g){if(A=="/"&&!B)return;A=="["?B=!0:B&&A=="]"&&(B=!1)}g=!g&&A=="\\"}}var be,ke;function Q(f,g,A){return be=f,ke=A,g}function V(f,g){var A=f.next();if(A=='"'||A=="'")return g.tokenize=$(A),g.tokenize(f,g);if(A=="."&&f.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Q("number","number");if(A=="."&&f.match(".."))return Q("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(A))return Q(A);if(A=="="&&f.eat(">"))return Q("=>","operator");if(A=="0"&&f.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Q("number","number");if(/\d/.test(A))return f.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Q("number","number");if(A=="/")return f.eat("*")?(g.tokenize=ie,ie(f,g)):f.eat("/")?(f.skipToEnd(),Q("comment","comment")):Ft(f,g,1)?(K(f),f.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Q("regexp","string-2")):(f.eat("="),Q("operator","operator",f.current()));if(A=="`")return g.tokenize=Fe,Fe(f,g);if(A=="#"&&f.peek()=="!")return f.skipToEnd(),Q("meta","meta");if(A=="#"&&f.eatWhile(ve))return Q("variable","property");if(A=="<"&&f.match("!--")||A=="-"&&f.match("->")&&!/\S/.test(f.string.slice(0,f.start)))return f.skipToEnd(),Q("comment","comment");if(H.test(A))return(A!=">"||!g.lexical||g.lexical.type!=">")&&(f.eat("=")?(A=="!"||A=="=")&&f.eat("="):/[<>*+\-|&?]/.test(A)&&(f.eat(A),A==">"&&f.eat(A))),A=="?"&&f.eat(".")?Q("."):Q("operator","operator",f.current());if(ve.test(A)){f.eatWhile(ve);var B=f.current();if(g.lastType!="."){if(O.propertyIsEnumerable(B)){var L=O[B];return Q(L.type,L.style,B)}if(B=="async"&&f.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Q("async","keyword",B)}return Q("variable","variable",B)}}function $(f){return function(g,A){var B=!1,L;if(se&&g.peek()=="@"&&g.match(P))return A.tokenize=V,Q("jsonld-keyword","meta");for(;(L=g.next())!=null&&!(L==f&&!B);)B=!B&&L=="\\";return B||(A.tokenize=V),Q("string","string")}}function ie(f,g){for(var A=!1,B;B=f.next();){if(B=="/"&&A){g.tokenize=V;break}A=B=="*"}return Q("comment","comment")}function Fe(f,g){for(var A=!1,B;(B=f.next())!=null;){if(!A&&(B=="`"||B=="$"&&f.eat("{"))){g.tokenize=V;break}A=!A&&B=="\\"}return Q("quasi","string-2",f.current())}var me="([{}])";function ue(f,g){g.fatArrowAt&&(g.fatArrowAt=null);var A=f.string.indexOf("=>",f.start);if(!(A<0)){if(U){var B=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(f.string.slice(f.start,A));B&&(A=B.index)}for(var L=0,X=!1,_e=A-1;_e>=0;--_e){var it=f.string.charAt(_e),xt=me.indexOf(it);if(xt>=0&&xt<3){if(!L){++_e;break}if(--L==0){it=="("&&(X=!0);break}}else if(xt>=3&&xt<6)++L;else if(ve.test(it))X=!0;else if(/["'\/`]/.test(it))for(;;--_e){if(_e==0)return;var _r=f.string.charAt(_e-1);if(_r==it&&f.string.charAt(_e-2)!="\\"){_e--;break}}else if(X&&!L){++_e;break}}X&&!L&&(g.fatArrowAt=_e)}}var ze={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function le(f,g,A,B,L,X){this.indented=f,this.column=g,this.type=A,this.prev=L,this.info=X,B!=null&&(this.align=B)}function W(f,g){if(!ee)return!1;for(var A=f.localVars;A;A=A.next)if(A.name==g)return!0;for(var B=f.context;B;B=B.prev)for(var A=B.vars;A;A=A.next)if(A.name==g)return!0}function Ae(f,g,A,B,L){var X=f.cc;for(C.state=f,C.stream=L,C.marked=null,C.cc=X,C.style=g,f.lexical.hasOwnProperty("align")||(f.lexical.align=!0);;){var _e=X.length?X.pop():k?te:Te;if(_e(A,B)){for(;X.length&&X[X.length-1].lex;)X.pop()();return C.marked?C.marked:A=="variable"&&W(f,B)?"variable-2":g}}}var C={state:null,column:null,marked:null,cc:null};function Y(){for(var f=arguments.length-1;f>=0;f--)C.cc.push(arguments[f])}function d(){return Y.apply(null,arguments),!0}function S(f,g){for(var A=g;A;A=A.next)if(A.name==f)return!0;return!1}function w(f){var g=C.state;if(C.marked="def",!!ee){if(g.context){if(g.lexical.info=="var"&&g.context&&g.context.block){var A=m(f,g.context);if(A!=null){g.context=A;return}}else if(!S(f,g.localVars)){g.localVars=new re(f,g.localVars);return}}I.globalVars&&!S(f,g.globalVars)&&(g.globalVars=new re(f,g.globalVars))}}function m(f,g){if(g)if(g.block){var A=m(f,g.prev);return A?A==g.prev?g:new N(A,g.vars,!0):null}else return S(f,g.vars)?g:new N(g.prev,new re(f,g.vars),!1);else return null}function y(f){return f=="public"||f=="private"||f=="protected"||f=="abstract"||f=="readonly"}function N(f,g,A){this.prev=f,this.vars=g,this.block=A}function re(f,g){this.name=f,this.next=g}var p=new re("this",new re("arguments",null));function c(){C.state.context=new N(C.state.context,C.state.localVars,!1),C.state.localVars=p}function G(){C.state.context=new N(C.state.context,C.state.localVars,!0),C.state.localVars=null}c.lex=G.lex=!0;function ye(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}ye.lex=!0;function R(f,g){var A=function(){var B=C.state,L=B.indented;if(B.lexical.type=="stat")L=B.lexical.indented;else for(var X=B.lexical;X&&X.type==")"&&X.align;X=X.prev)L=X.indented;B.lexical=new le(L,C.stream.column(),f,null,B.lexical,g)};return A.lex=!0,A}function oe(){var f=C.state;f.lexical.prev&&(f.lexical.type==")"&&(f.indented=f.lexical.indented),f.lexical=f.lexical.prev)}oe.lex=!0;function Se(f){function g(A){return A==f?d():f==";"||A=="}"||A==")"||A=="]"?Y():d(g)}return g}function Te(f,g){return f=="var"?d(R("vardef",g),Nr,Se(";"),oe):f=="keyword a"?d(R("form"),qe,Te,oe):f=="keyword b"?d(R("form"),Te,oe):f=="keyword d"?C.stream.match(/^\s*$/,!1)?d():d(R("stat"),ct,Se(";"),oe):f=="debugger"?d(Se(";")):f=="{"?d(R("}"),G,Et,oe,ye):f==";"?d():f=="if"?(C.state.lexical.info=="else"&&C.state.cc[C.state.cc.length-1]==oe&&C.state.cc.pop()(),d(R("form"),qe,Te,oe,Or)):f=="function"?d(Ot):f=="for"?d(R("form"),G,Wn,Te,ye,oe):f=="class"||U&&g=="interface"?(C.marked="keyword",d(R("form",f=="class"?f:g),Pr,oe)):f=="variable"?U&&g=="declare"?(C.marked="keyword",d(Te)):U&&(g=="module"||g=="enum"||g=="type")&&C.stream.match(/^\s*\w/,!1)?(C.marked="keyword",g=="enum"?d(ae):g=="type"?d(_n,Se("operator"),We,Se(";")):d(R("form"),yt,Se("{"),R("}"),Et,oe,oe)):U&&g=="namespace"?(C.marked="keyword",d(R("form"),te,Te,oe)):U&&g=="abstract"?(C.marked="keyword",d(Te)):d(R("stat"),Ie):f=="switch"?d(R("form"),qe,Se("{"),R("}","switch"),G,Et,oe,oe,ye):f=="case"?d(te,Se(":")):f=="default"?d(Se(":")):f=="catch"?d(R("form"),c,xe,Te,oe,ye):f=="export"?d(R("stat"),Ir,oe):f=="import"?d(R("stat"),fr,oe):f=="async"?d(Te):g=="@"?d(te,Te):Y(R("stat"),te,Se(";"),oe)}function xe(f){if(f=="(")return d(zt,Se(")"))}function te(f,g){return Ve(f,g,!1)}function Ee(f,g){return Ve(f,g,!0)}function qe(f){return f!="("?Y():d(R(")"),ct,Se(")"),oe)}function Ve(f,g,A){if(C.state.fatArrowAt==C.stream.start){var B=A?Oe:he;if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,Se("=>"),B,ye);if(f=="variable")return Y(c,yt,Se("=>"),B,ye)}var L=A?Re:Ne;return ze.hasOwnProperty(f)?d(L):f=="function"?d(Ot,L):f=="class"||U&&g=="interface"?(C.marked="keyword",d(R("form"),yi,oe)):f=="keyword c"||f=="async"?d(A?Ee:te):f=="("?d(R(")"),ct,Se(")"),oe,L):f=="operator"||f=="spread"?d(A?Ee:te):f=="["?d(R("]"),Je,oe,L):f=="{"?Lt(we,"}",null,L):f=="quasi"?Y(Ue,L):f=="new"?d(T(A)):d()}function ct(f){return f.match(/[;\}\)\],]/)?Y():Y(te)}function Ne(f,g){return f==","?d(ct):Re(f,g,!1)}function Re(f,g,A){var B=A==!1?Ne:Re,L=A==!1?te:Ee;if(f=="=>")return d(c,A?Oe:he,ye);if(f=="operator")return/\+\+|--/.test(g)||U&&g=="!"?d(B):U&&g=="<"&&C.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?d(R(">"),Ce(We,">"),oe,B):g=="?"?d(te,Se(":"),L):d(L);if(f=="quasi")return Y(Ue,B);if(f!=";"){if(f=="(")return Lt(Ee,")","call",B);if(f==".")return d(ne,B);if(f=="[")return d(R("]"),ct,Se("]"),oe,B);if(U&&g=="as")return C.marked="keyword",d(We,B);if(f=="regexp")return C.state.lastType=C.marked="operator",C.stream.backUp(C.stream.pos-C.stream.start-1),d(L)}}function Ue(f,g){return f!="quasi"?Y():g.slice(g.length-2)!="${"?d(Ue):d(ct,et)}function et(f){if(f=="}")return C.marked="string-2",C.state.tokenize=Fe,d(Ue)}function he(f){return ue(C.stream,C.state),Y(f=="{"?Te:te)}function Oe(f){return ue(C.stream,C.state),Y(f=="{"?Te:Ee)}function T(f){return function(g){return g=="."?d(f?M:z):g=="variable"&&U?d(Ct,f?Re:Ne):Y(f?Ee:te)}}function z(f,g){if(g=="target")return C.marked="keyword",d(Ne)}function M(f,g){if(g=="target")return C.marked="keyword",d(Re)}function Ie(f){return f==":"?d(oe,Te):Y(Ne,Se(";"),oe)}function ne(f){if(f=="variable")return C.marked="property",d()}function we(f,g){if(f=="async")return C.marked="property",d(we);if(f=="variable"||C.style=="keyword"){if(C.marked="property",g=="get"||g=="set")return d(fe);var A;return U&&C.state.fatArrowAt==C.stream.start&&(A=C.stream.match(/^\s*:\s*/,!1))&&(C.state.fatArrowAt=C.stream.pos+A[0].length),d(Be)}else{if(f=="number"||f=="string")return C.marked=se?"property":C.style+" property",d(Be);if(f=="jsonld-keyword")return d(Be);if(U&&y(g))return C.marked="keyword",d(we);if(f=="[")return d(te,or,Se("]"),Be);if(f=="spread")return d(Ee,Be);if(g=="*")return C.marked="keyword",d(we);if(f==":")return Y(Be)}}function fe(f){return f!="variable"?Y(Be):(C.marked="property",d(Ot))}function Be(f){if(f==":")return d(Ee);if(f=="(")return Y(Ot)}function Ce(f,g,A){function B(L,X){if(A?A.indexOf(L)>-1:L==","){var _e=C.state.lexical;return _e.info=="call"&&(_e.pos=(_e.pos||0)+1),d(function(it,xt){return it==g||xt==g?Y():Y(f)},B)}return L==g||X==g?d():A&&A.indexOf(";")>-1?Y(f):d(Se(g))}return function(L,X){return L==g||X==g?d():Y(f,B)}}function Lt(f,g,A){for(var B=3;B "),We);if(f=="quasi")return Y(dt,Nt)}function Bn(f){if(f=="=>")return d(We)}function pe(f){return f.match(/[\}\)\]]/)?d():f==","||f==";"?d(pe):Y(Qt,pe)}function Qt(f,g){if(f=="variable"||C.style=="keyword")return C.marked="property",d(Qt);if(g=="?"||f=="number"||f=="string")return d(Qt);if(f==":")return d(We);if(f=="[")return d(Se("variable"),br,Se("]"),Qt);if(f=="(")return Y(ur,Qt);if(!f.match(/[;\}\)\],]/))return d()}function dt(f,g){return f!="quasi"?Y():g.slice(g.length-2)!="${"?d(dt):d(We,Ye)}function Ye(f){if(f=="}")return C.marked="string-2",C.state.tokenize=Fe,d(dt)}function Ze(f,g){return f=="variable"&&C.stream.match(/^\s*[?:]/,!1)||g=="?"?d(Ze):f==":"?d(We):f=="spread"?d(Ze):Y(We)}function Nt(f,g){if(g=="<")return d(R(">"),Ce(We,">"),oe,Nt);if(g=="|"||f=="."||g=="&")return d(We);if(f=="[")return d(We,Se("]"),Nt);if(g=="extends"||g=="implements")return C.marked="keyword",d(We);if(g=="?")return d(We,Se(":"),We)}function Ct(f,g){if(g=="<")return d(R(">"),Ce(We,">"),oe,Nt)}function Pt(){return Y(We,ht)}function ht(f,g){if(g=="=")return d(We)}function Nr(f,g){return g=="enum"?(C.marked="keyword",d(ae)):Y(yt,or,It,mi)}function yt(f,g){if(U&&y(g))return C.marked="keyword",d(yt);if(f=="variable")return w(g),d();if(f=="spread")return d(yt);if(f=="[")return Lt(ln,"]");if(f=="{")return Lt(ar,"}")}function ar(f,g){return f=="variable"&&!C.stream.match(/^\s*:/,!1)?(w(g),d(It)):(f=="variable"&&(C.marked="property"),f=="spread"?d(yt):f=="}"?Y():f=="["?d(te,Se("]"),Se(":"),ar):d(Se(":"),yt,It))}function ln(){return Y(yt,It)}function It(f,g){if(g=="=")return d(Ee)}function mi(f){if(f==",")return d(Nr)}function Or(f,g){if(f=="keyword b"&&g=="else")return d(R("form","else"),Te,oe)}function Wn(f,g){if(g=="await")return d(Wn);if(f=="(")return d(R(")"),an,oe)}function an(f){return f=="var"?d(Nr,sr):f=="variable"?d(sr):Y(sr)}function sr(f,g){return f==")"?d():f==";"?d(sr):g=="in"||g=="of"?(C.marked="keyword",d(te,sr)):Y(te,sr)}function Ot(f,g){if(g=="*")return C.marked="keyword",d(Ot);if(f=="variable")return w(g),d(Ot);if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,lr,Te,ye);if(U&&g=="<")return d(R(">"),Ce(Pt,">"),oe,Ot)}function ur(f,g){if(g=="*")return C.marked="keyword",d(ur);if(f=="variable")return w(g),d(ur);if(f=="(")return d(c,R(")"),Ce(zt,")"),oe,lr,ye);if(U&&g=="<")return d(R(">"),Ce(Pt,">"),oe,ur)}function _n(f,g){if(f=="keyword"||f=="variable")return C.marked="type",d(_n);if(g=="<")return d(R(">"),Ce(Pt,">"),oe)}function zt(f,g){return g=="@"&&d(te,zt),f=="spread"?d(zt):U&&y(g)?(C.marked="keyword",d(zt)):U&&f=="this"?d(or,It):Y(yt,or,It)}function yi(f,g){return f=="variable"?Pr(f,g):Bt(f,g)}function Pr(f,g){if(f=="variable")return w(g),d(Bt)}function Bt(f,g){if(g=="<")return d(R(">"),Ce(Pt,">"),oe,Bt);if(g=="extends"||g=="implements"||U&&f==",")return g=="implements"&&(C.marked="keyword"),d(U?We:te,Bt);if(f=="{")return d(R("}"),Wt,oe)}function Wt(f,g){if(f=="async"||f=="variable"&&(g=="static"||g=="get"||g=="set"||U&&y(g))&&C.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return C.marked="keyword",d(Wt);if(f=="variable"||C.style=="keyword")return C.marked="property",d(kr,Wt);if(f=="number"||f=="string")return d(kr,Wt);if(f=="[")return d(te,or,Se("]"),kr,Wt);if(g=="*")return C.marked="keyword",d(Wt);if(U&&f=="(")return Y(ur,Wt);if(f==";"||f==",")return d(Wt);if(f=="}")return d();if(g=="@")return d(te,Wt)}function kr(f,g){if(g=="!"||g=="?")return d(kr);if(f==":")return d(We,It);if(g=="=")return d(Ee);var A=C.state.lexical.prev,B=A&&A.info=="interface";return Y(B?ur:Ot)}function Ir(f,g){return g=="*"?(C.marked="keyword",d(Wr,Se(";"))):g=="default"?(C.marked="keyword",d(te,Se(";"))):f=="{"?d(Ce(zr,"}"),Wr,Se(";")):Y(Te)}function zr(f,g){if(g=="as")return C.marked="keyword",d(Se("variable"));if(f=="variable")return Y(Ee,zr)}function fr(f){return f=="string"?d():f=="("?Y(te):f=="."?Y(Ne):Y(Br,Kt,Wr)}function Br(f,g){return f=="{"?Lt(Br,"}"):(f=="variable"&&w(g),g=="*"&&(C.marked="keyword"),d(sn))}function Kt(f){if(f==",")return d(Br,Kt)}function sn(f,g){if(g=="as")return C.marked="keyword",d(Br)}function Wr(f,g){if(g=="from")return C.marked="keyword",d(te)}function Je(f){return f=="]"?d():Y(Ce(Ee,"]"))}function ae(){return Y(R("form"),yt,Se("{"),R("}"),Ce(Vt,"}"),oe,oe)}function Vt(){return Y(yt,It)}function un(f,g){return f.lastType=="operator"||f.lastType==","||H.test(g.charAt(0))||/[,.]/.test(g.charAt(0))}function Ft(f,g,A){return g.tokenize==V&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(g.lastType)||g.lastType=="quasi"&&/\{\s*$/.test(f.string.slice(0,f.pos-(A||0)))}return{startState:function(f){var g={tokenize:V,lastType:"sof",cc:[],lexical:new le((f||0)-de,0,"block",!1),localVars:I.localVars,context:I.localVars&&new N(null,null,!1),indented:f||0};return I.globalVars&&typeof I.globalVars=="object"&&(g.globalVars=I.globalVars),g},token:function(f,g){if(f.sol()&&(g.lexical.hasOwnProperty("align")||(g.lexical.align=!1),g.indented=f.indentation(),ue(f,g)),g.tokenize!=ie&&f.eatSpace())return null;var A=g.tokenize(f,g);return be=="comment"?A:(g.lastType=be=="operator"&&(ke=="++"||ke=="--")?"incdec":be,Ae(g,A,be,ke,f))},indent:function(f,g){if(f.tokenize==ie||f.tokenize==Fe)return F.Pass;if(f.tokenize!=V)return 0;var A=g&&g.charAt(0),B=f.lexical,L;if(!/^\s*else\b/.test(g))for(var X=f.cc.length-1;X>=0;--X){var _e=f.cc[X];if(_e==oe)B=B.prev;else if(_e!=Or&&_e!=ye)break}for(;(B.type=="stat"||B.type=="form")&&(A=="}"||(L=f.cc[f.cc.length-1])&&(L==Ne||L==Re)&&!/^[,\.=+\-*:?[\(]/.test(g));)B=B.prev;Me&&B.type==")"&&B.prev.type=="stat"&&(B=B.prev);var it=B.type,xt=A==it;return it=="vardef"?B.indented+(f.lastType=="operator"||f.lastType==","?B.info.length+1:0):it=="form"&&A=="{"?B.indented:it=="form"?B.indented+de:it=="stat"?B.indented+(un(f,g)?Me||de:0):B.info=="switch"&&!xt&&I.doubleIndentSwitch!=!1?B.indented+(/^(?:case|default)\b/.test(g)?de:2*de):B.align?B.column+(xt?0:1):B.indented+(xt?0:de)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:k?null:"/*",blockCommentEnd:k?null:"*/",blockCommentContinue:k?null:" * ",lineComment:k?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:k?"json":"javascript",jsonldMode:se,jsonMode:k,expressionAllowed:Ft,skipExpression:function(f){Ae(f,"atom","atom","true",new F.StringStream("",2,null))}}}),F.registerHelper("wordChars","javascript",/[\w$]/),F.defineMIME("text/javascript","javascript"),F.defineMIME("text/ecmascript","javascript"),F.defineMIME("application/javascript","javascript"),F.defineMIME("application/x-javascript","javascript"),F.defineMIME("application/ecmascript","javascript"),F.defineMIME("application/json",{name:"javascript",json:!0}),F.defineMIME("application/x-json",{name:"javascript",json:!0}),F.defineMIME("application/manifest+json",{name:"javascript",json:!0}),F.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),F.defineMIME("text/typescript",{name:"javascript",typescript:!0}),F.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}()),pa.exports}(function(jt,Jt){(function(F){F(Zt,xa(),ba(),Su)})(function(F){var Pe={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function I(ve,O,H){var P=ve.current(),K=P.search(O);return K>-1?ve.backUp(P.length-K):P.match(/<\/?$/)&&(ve.backUp(P.length),ve.match(O,!1)||ve.match(P)),H}var de={};function Me(ve){var O=de[ve];return O||(de[ve]=new RegExp("\\s+"+ve+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function se(ve,O){var H=ve.match(Me(O));return H?/^\s*(.*?)\s*$/.exec(H[2])[1]:""}function k(ve,O){return new RegExp((O?"^":"")+"\\s*"+ve+"\\s*>","i")}function ee(ve,O){for(var H in ve)for(var P=O[H]||(O[H]=[]),K=ve[H],be=K.length-1;be>=0;be--)P.unshift(K[be])}function U(ve,O){for(var H=0;H =0;ke--)P.script.unshift(["type",be[ke].matches,be[ke].mode]);function Q(V,$){var ie=H.token(V,$.htmlState),Fe=/\btag\b/.test(ie),me;if(Fe&&!/[<>\s\/]/.test(V.current())&&(me=$.htmlState.tagName&&$.htmlState.tagName.toLowerCase())&&P.hasOwnProperty(me))$.inTag=me+" ";else if($.inTag&&Fe&&/>$/.test(V.current())){var ue=/^([\S]+) (.*)/.exec($.inTag);$.inTag=null;var ze=V.current()==">"&&U(P[ue[1]],ue[2]),le=F.getMode(ve,ze),W=k(ue[1],!0),Ae=k(ue[1],!1);$.token=function(C,Y){return C.match(W,!1)?(Y.token=Q,Y.localState=Y.localMode=null,null):I(C,Ae,Y.localMode.token(C,Y.localState))},$.localMode=le,$.localState=F.startState(le,H.indent($.htmlState,"",""))}else $.inTag&&($.inTag+=V.current(),V.eol()&&($.inTag+=" "));return ie}return{startState:function(){var V=F.startState(H);return{token:Q,inTag:null,localMode:null,localState:null,htmlState:V}},copyState:function(V){var $;return V.localState&&($=F.copyState(V.localMode,V.localState)),{token:V.token,inTag:V.inTag,localMode:V.localMode,localState:$,htmlState:F.copyState(H,V.htmlState)}},token:function(V,$){return $.token(V,$)},indent:function(V,$,ie){return!V.localMode||/^\s*<\//.test($)?H.indent(V.htmlState,$,ie):V.localMode.indent?V.localMode.indent(V.localState,$,ie):F.Pass},innerMode:function(V){return{state:V.localState||V.htmlState,mode:V.localMode||H}}}},"xml","javascript","css"),F.defineMIME("text/html","htmlmixed")})})();ba();(function(jt,Jt){(function(F){F(Zt)})(function(F){function Pe(ee){return new RegExp("^(("+ee.join(")|(")+"))\\b")}var I=Pe(["and","or","not","is"]),de=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],Me=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];F.registerHelper("hintWords","python",de.concat(Me).concat(["exec","print"]));function se(ee){return ee.scopes[ee.scopes.length-1]}F.defineMode("python",function(ee,U){for(var ve="error",O=U.delimiters||U.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,H=[U.singleOperators,U.doubleOperators,U.doubleDelimiters,U.tripleDelimiters,U.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],P=0;P y?W(w):N 0&&C(S,w)&&(re+=" "+ve),re}}return ue(S,w)}function ue(S,w,m){if(S.eatSpace())return null;if(!m&&S.match(/^#.*/))return"comment";if(S.match(/^[0-9\.]/,!1)){var y=!1;if(S.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(y=!0),S.match(/^[\d_]+\.\d*/)&&(y=!0),S.match(/^\.\d+/)&&(y=!0),y)return S.eat(/J/i),"number";var N=!1;if(S.match(/^0x[0-9a-f_]+/i)&&(N=!0),S.match(/^0b[01_]+/i)&&(N=!0),S.match(/^0o[0-7_]+/i)&&(N=!0),S.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(S.eat(/J/i),N=!0),S.match(/^0(?![\dx])/i)&&(N=!0),N)return S.eat(/L/i),"number"}if(S.match($)){var re=S.current().toLowerCase().indexOf("f")!==-1;return re?(w.tokenize=ze(S.current(),w.tokenize),w.tokenize(S,w)):(w.tokenize=le(S.current(),w.tokenize),w.tokenize(S,w))}for(var p=0;p =0;)S=S.substr(1);var m=S.length==1,y="string";function N(p){return function(c,G){var ye=ue(c,G,!0);return ye=="punctuation"&&(c.current()=="{"?G.tokenize=N(p+1):c.current()=="}"&&(p>1?G.tokenize=N(p-1):G.tokenize=re)),ye}}function re(p,c){for(;!p.eol();)if(p.eatWhile(/[^'"\{\}\\]/),p.eat("\\")){if(p.next(),m&&p.eol())return y}else{if(p.match(S))return c.tokenize=w,y;if(p.match("{{"))return y;if(p.match("{",!1))return c.tokenize=N(0),p.current()?y:c.tokenize(p,c);if(p.match("}}"))return y;if(p.match("}"))return ve;p.eat(/['"]/)}if(m){if(U.singleLineStringErrors)return ve;c.tokenize=w}return y}return re.isString=!0,re}function le(S,w){for(;"rubf".indexOf(S.charAt(0).toLowerCase())>=0;)S=S.substr(1);var m=S.length==1,y="string";function N(re,p){for(;!re.eol();)if(re.eatWhile(/[^'"\\]/),re.eat("\\")){if(re.next(),m&&re.eol())return y}else{if(re.match(S))return p.tokenize=w,y;re.eat(/['"]/)}if(m){if(U.singleLineStringErrors)return ve;p.tokenize=w}return y}return N.isString=!0,N}function W(S){for(;se(S).type!="py";)S.scopes.pop();S.scopes.push({offset:se(S).offset+ee.indentUnit,type:"py",align:null})}function Ae(S,w,m){var y=S.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:S.column()+1;w.scopes.push({offset:w.indent+K,type:m,align:y})}function C(S,w){for(var m=S.indentation();w.scopes.length>1&&se(w).offset>m;){if(se(w).type!="py")return!0;w.scopes.pop()}return se(w).offset!=m}function Y(S,w){S.sol()&&(w.beginningOfLine=!0,w.dedent=!1);var m=w.tokenize(S,w),y=S.current();if(w.beginningOfLine&&y=="@")return S.match(V,!1)?"meta":Q?"operator":ve;if(/\S/.test(y)&&(w.beginningOfLine=!1),(m=="variable"||m=="builtin")&&w.lastToken=="meta"&&(m="meta"),(y=="pass"||y=="return")&&(w.dedent=!0),y=="lambda"&&(w.lambda=!0),y==":"&&!w.lambda&&se(w).type=="py"&&S.match(/^\s*(?:#|$)/,!1)&&W(w),y.length==1&&!/string|comment/.test(m)){var N="[({".indexOf(y);if(N!=-1&&Ae(S,w,"])}".slice(N,N+1)),N="])}".indexOf(y),N!=-1)if(se(w).type==y)w.indent=w.scopes.pop().offset-K;else return ve}return w.dedent&&S.eol()&&se(w).type=="py"&&w.scopes.length>1&&w.scopes.pop(),m}var d={startState:function(S){return{tokenize:me,scopes:[{offset:S||0,type:"py",align:null}],indent:S||0,lastToken:null,lambda:!1,dedent:0}},token:function(S,w){var m=w.errorToken;m&&(w.errorToken=!1);var y=Y(S,w);return y&&y!="comment"&&(w.lastToken=y=="keyword"||y=="punctuation"?S.current():y),y=="punctuation"&&(y=null),S.eol()&&w.lambda&&(w.lambda=!1),m?y+" "+ve:y},indent:function(S,w){if(S.tokenize!=me)return S.tokenize.isString?F.Pass:0;var m=se(S),y=m.type==w.charAt(0)||m.type=="py"&&!S.dedent&&/^(else:|elif |except |finally:)/.test(w);return m.align!=null?m.align-(y?1:0):m.offset-(y?K:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return d}),F.defineMIME("text/x-python","python");var k=function(ee){return ee.split(" ")};F.defineMIME("text/x-cython",{name:"python",extra_keywords:k("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();(function(jt,Jt){(function(F){F(Zt)})(function(F){function Pe(m,y,N,re,p,c){this.indented=m,this.column=y,this.type=N,this.info=re,this.align=p,this.prev=c}function I(m,y,N,re){var p=m.indented;return m.context&&m.context.type=="statement"&&N!="statement"&&(p=m.context.indented),m.context=new Pe(p,y,N,re,null,m.context)}function de(m){var y=m.context.type;return(y==")"||y=="]"||y=="}")&&(m.indented=m.context.indented),m.context=m.context.prev}function Me(m,y,N){if(y.prevToken=="variable"||y.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(m.string.slice(0,N))||y.typeAtEndOfLine&&m.column()==m.indentation())return!0}function se(m){for(;;){if(!m||m.type=="top")return!0;if(m.type=="}"&&m.prev.info!="namespace")return!1;m=m.prev}}F.defineMode("clike",function(m,y){var N=m.indentUnit,re=y.statementIndentUnit||N,p=y.dontAlignCalls,c=y.keywords||{},G=y.types||{},ye=y.builtin||{},R=y.blockKeywords||{},oe=y.defKeywords||{},Se=y.atoms||{},Te=y.hooks||{},xe=y.multiLineStrings,te=y.indentStatements!==!1,Ee=y.indentSwitch!==!1,qe=y.namespaceSeparator,Ve=y.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,ct=y.numberStart||/[\d\.]/,Ne=y.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Re=y.isOperatorChar||/[+\-*&%=<>!?|\/]/,Ue=y.isIdentifierChar||/[\w\$_\xa1-\uffff]/,et=y.isReservedIdentifier||!1,he,Oe;function T(ne,we){var fe=ne.next();if(Te[fe]){var Be=Te[fe](ne,we);if(Be!==!1)return Be}if(fe=='"'||fe=="'")return we.tokenize=z(fe),we.tokenize(ne,we);if(ct.test(fe)){if(ne.backUp(1),ne.match(Ne))return"number";ne.next()}if(Ve.test(fe))return he=fe,null;if(fe=="/"){if(ne.eat("*"))return we.tokenize=M,M(ne,we);if(ne.eat("/"))return ne.skipToEnd(),"comment"}if(Re.test(fe)){for(;!ne.match(/^\/[\/*]/,!1)&&ne.eat(Re););return"operator"}if(ne.eatWhile(Ue),qe)for(;ne.match(qe);)ne.eatWhile(Ue);var Ce=ne.current();return ee(c,Ce)?(ee(R,Ce)&&(he="newstatement"),ee(oe,Ce)&&(Oe=!0),"keyword"):ee(G,Ce)?"type":ee(ye,Ce)||et&&et(Ce)?(ee(R,Ce)&&(he="newstatement"),"builtin"):ee(Se,Ce)?"atom":"variable"}function z(ne){return function(we,fe){for(var Be=!1,Ce,Lt=!1;(Ce=we.next())!=null;){if(Ce==ne&&!Be){Lt=!0;break}Be=!Be&&Ce=="\\"}return(Lt||!(Be||xe))&&(fe.tokenize=null),"string"}}function M(ne,we){for(var fe=!1,Be;Be=ne.next();){if(Be=="/"&&fe){we.tokenize=null;break}fe=Be=="*"}return"comment"}function Ie(ne,we){y.typeFirstDefinitions&&ne.eol()&&se(we.context)&&(we.typeAtEndOfLine=Me(ne,we,ne.pos))}return{startState:function(ne){return{tokenize:null,context:new Pe((ne||0)-N,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(ne,we){var fe=we.context;if(ne.sol()&&(fe.align==null&&(fe.align=!1),we.indented=ne.indentation(),we.startOfLine=!0),ne.eatSpace())return Ie(ne,we),null;he=Oe=null;var Be=(we.tokenize||T)(ne,we);if(Be=="comment"||Be=="meta")return Be;if(fe.align==null&&(fe.align=!0),he==";"||he==":"||he==","&&ne.match(/^\s*(?:\/\/.*)?$/,!1))for(;we.context.type=="statement";)de(we);else if(he=="{")I(we,ne.column(),"}");else if(he=="[")I(we,ne.column(),"]");else if(he=="(")I(we,ne.column(),")");else if(he=="}"){for(;fe.type=="statement";)fe=de(we);for(fe.type=="}"&&(fe=de(we));fe.type=="statement";)fe=de(we)}else he==fe.type?de(we):te&&((fe.type=="}"||fe.type=="top")&&he!=";"||fe.type=="statement"&&he=="newstatement")&&I(we,ne.column(),"statement",ne.current());if(Be=="variable"&&(we.prevToken=="def"||y.typeFirstDefinitions&&Me(ne,we,ne.start)&&se(we.context)&&ne.match(/^\s*\(/,!1))&&(Be="def"),Te.token){var Ce=Te.token(ne,we,Be);Ce!==void 0&&(Be=Ce)}return Be=="def"&&y.styleDefs===!1&&(Be="variable"),we.startOfLine=!1,we.prevToken=Oe?"def":Be||he,Ie(ne,we),Be},indent:function(ne,we){if(ne.tokenize!=T&&ne.tokenize!=null||ne.typeAtEndOfLine&&se(ne.context))return F.Pass;var fe=ne.context,Be=we&&we.charAt(0),Ce=Be==fe.type;if(fe.type=="statement"&&Be=="}"&&(fe=fe.prev),y.dontIndentStatements)for(;fe.type=="statement"&&y.dontIndentStatements.test(fe.info);)fe=fe.prev;if(Te.indent){var Lt=Te.indent(ne,fe,we,N);if(typeof Lt=="number")return Lt}var Et=fe.prev&&fe.prev.info=="switch";if(y.allmanIndentation&&/[{(]/.test(Be)){for(;fe.type!="top"&&fe.type!="}";)fe=fe.prev;return fe.indented}return fe.type=="statement"?fe.indented+(Be=="{"?0:re):fe.align&&(!p||fe.type!=")")?fe.column+(Ce?0:1):fe.type==")"&&!Ce?fe.indented+re:fe.indented+(Ce?0:N)+(!Ce&&Et&&!/^(?:case|default)\b/.test(we)?N:0)},electricInput:Ee?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function k(m){for(var y={},N=m.split(" "),re=0;re !?|\/#:@]/,hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},'"':function(m,y){return m.match('""')?(y.tokenize=C,y.tokenize(m,y)):!1},"'":function(m){return m.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(m.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(m,y){var N=y.context;return N.type=="}"&&N.align&&m.eat(">")?(y.context=new Pe(N.indented,N.column,N.type,N.info,null,N.prev),"operator"):!1},"/":function(m,y){return m.eat("*")?(y.tokenize=Y(1),y.tokenize(m,y)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function d(m){return function(y,N){for(var re=!1,p,c=!1;!y.eol();){if(!m&&!re&&y.match('"')){c=!0;break}if(m&&y.match('"""')){c=!0;break}p=y.next(),!re&&p=="$"&&y.match("{")&&y.skipTo("}"),re=!re&&p=="\\"&&!m}return(c||!m)&&(N.tokenize=null),"string"}}Ae("text/x-kotlin",{name:"clike",keywords:k("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:k("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:k("catch class do else finally for if where try while enum"),defKeywords:k("class val var object interface fun"),atoms:k("true false null this"),hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},"*":function(m,y){return y.prevToken=="."?"variable":"operator"},'"':function(m,y){return y.tokenize=d(m.match('""')),y.tokenize(m,y)},"/":function(m,y){return m.eat("*")?(y.tokenize=Y(1),y.tokenize(m,y)):!1},indent:function(m,y,N,re){var p=N&&N.charAt(0);if((m.prevToken=="}"||m.prevToken==")")&&N=="")return m.indented;if(m.prevToken=="operator"&&N!="}"&&m.context.type!="}"||m.prevToken=="variable"&&p=="."||(m.prevToken=="}"||m.prevToken==")")&&p==".")return re*2+y.indented;if(y.align&&y.type=="}")return y.indented+(m.context.type==(N||"").charAt(0)?0:re)}},modeProps:{closeBrackets:{triples:'"'}}}),Ae(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:k("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:k("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:k("for while do if else struct"),builtin:k("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:k("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":$},modeProps:{fold:["brace","include"]}}),Ae("text/x-nesc",{name:"clike",keywords:k(U+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:be,blockKeywords:k(Q),atoms:k("null true false"),hooks:{"#":$},modeProps:{fold:["brace","include"]}}),Ae("text/x-objectivec",{name:"clike",keywords:k(U+" "+O),types:ke,builtin:k(H),blockKeywords:k(Q+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:k(V+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:k("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:Fe,hooks:{"#":$,"*":ie},modeProps:{fold:["brace","include"]}}),Ae("text/x-objectivec++",{name:"clike",keywords:k(U+" "+O+" "+ve),types:ke,builtin:k(H),blockKeywords:k(Q+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:k(V+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:k("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:Fe,hooks:{"#":$,"*":ie,u:ue,U:ue,L:ue,R:ue,0:me,1:me,2:me,3:me,4:me,5:me,6:me,7:me,8:me,9:me,token:function(m,y,N){if(N=="variable"&&m.peek()=="("&&(y.prevToken==";"||y.prevToken==null||y.prevToken=="}")&&ze(m.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),Ae("text/x-squirrel",{name:"clike",keywords:k("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:be,blockKeywords:k("case catch class else for foreach if switch try while"),defKeywords:k("function local class"),typeFirstDefinitions:!0,atoms:k("true false null"),hooks:{"#":$},modeProps:{fold:["brace","include"]}});var S=null;function w(m){return function(y,N){for(var re=!1,p,c=!1;!y.eol();){if(!re&&y.match('"')&&(m=="single"||y.match('""'))){c=!0;break}if(!re&&y.match("``")){S=w(m),c=!0;break}p=y.next(),re=m=="single"&&!re&&p=="\\"}return c&&(N.tokenize=null),"string"}}Ae("text/x-ceylon",{name:"clike",keywords:k("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(m){var y=m.charAt(0);return y===y.toUpperCase()&&y!==y.toLowerCase()},blockKeywords:k("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:k("class dynamic function interface module object package value"),builtin:k("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:k("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(m){return m.eatWhile(/[\w\$_]/),"meta"},'"':function(m,y){return y.tokenize=w(m.match('""')?"triple":"single"),y.tokenize(m,y)},"`":function(m,y){return!S||!m.match("`")?!1:(y.tokenize=S,S=null,y.tokenize(m,y))},"'":function(m){return m.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(m,y,N){if((N=="variable"||N=="type")&&y.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();var va={exports:{}},ma;function Tu(){return ma||(ma=1,function(jt,Jt){(function(F){F(Zt)})(function(F){F.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","cbl"]},{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"],alias:["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 Pe=0;Pe -1&&de.substring(k+1,de.length);if(ee)return F.findModeByExtension(ee)},F.findModeByName=function(de){de=de.toLowerCase();for(var Me=0;Me ` "'(~:]+/,be=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Q=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,V=" ";function $(p,c,G){return c.f=c.inline=G,G(p,c)}function ie(p,c,G){return c.f=c.block=G,G(p,c)}function Fe(p){return!p||!/\S/.test(p.string)}function me(p){if(p.linkTitle=!1,p.linkHref=!1,p.linkText=!1,p.em=!1,p.strong=!1,p.strikethrough=!1,p.quote=0,p.indentedCode=!1,p.f==ze){var c=Me;if(!c){var G=F.innerMode(de,p.htmlState);c=G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText}c&&(p.f=C,p.block=ue,p.htmlState=null)}return p.trailingSpace=0,p.trailingSpaceNewLine=!1,p.prevLine=p.thisLine,p.thisLine={stream:null},null}function ue(p,c){var G=p.column()===c.indentation,ye=Fe(c.prevLine.stream),R=c.indentedCode,oe=c.prevLine.hr,Se=c.list!==!1,Te=(c.listStack[c.listStack.length-1]||0)+3;c.indentedCode=!1;var xe=c.indentation;if(c.indentationDiff===null&&(c.indentationDiff=c.indentation,Se)){for(c.list=null;xe =4&&(R||c.prevLine.fencedCodeEnd||c.prevLine.header||ye))return p.skipToEnd(),c.indentedCode=!0,k.code;if(p.eatSpace())return null;if(G&&c.indentation<=Te&&(qe=p.match(H))&&qe[1].length<=6)return c.quote=0,c.header=qe[1].length,c.thisLine.header=!0,I.highlightFormatting&&(c.formatting="header"),c.f=c.inline,W(c);if(c.indentation<=Te&&p.eat(">"))return c.quote=G?1:c.quote+1,I.highlightFormatting&&(c.formatting="quote"),p.eatSpace(),W(c);if(!Ee&&!c.setext&&G&&c.indentation<=Te&&(qe=p.match(ve))){var Ve=qe[1]?"ol":"ul";return c.indentation=xe+p.current().length,c.list=!0,c.quote=0,c.listStack.push(c.indentation),c.em=!1,c.strong=!1,c.code=!1,c.strikethrough=!1,I.taskLists&&p.match(O,!1)&&(c.taskList=!0),c.f=c.inline,I.highlightFormatting&&(c.formatting=["list","list-"+Ve]),W(c)}else{if(G&&c.indentation<=Te&&(qe=p.match(be,!0)))return c.quote=0,c.fencedEndRE=new RegExp(qe[1]+"+ *$"),c.localMode=I.fencedCodeBlockHighlighting&&se(qe[2]||I.fencedCodeBlockDefaultMode),c.localMode&&(c.localState=F.startState(c.localMode)),c.f=c.block=le,I.highlightFormatting&&(c.formatting="code-block"),c.code=-1,W(c);if(c.setext||(!te||!Se)&&!c.quote&&c.list===!1&&!c.code&&!Ee&&!ke.test(p.string)&&(qe=p.lookAhead(1))&&(qe=qe.match(P)))return c.setext?(c.header=c.setext,c.setext=0,p.skipToEnd(),I.highlightFormatting&&(c.formatting="header")):(c.header=qe[0].charAt(0)=="="?1:2,c.setext=c.header),c.thisLine.header=!0,c.f=c.inline,W(c);if(Ee)return p.skipToEnd(),c.hr=!0,c.thisLine.hr=!0,k.hr;if(p.peek()==="[")return $(p,c,m)}return $(p,c,c.inline)}function ze(p,c){var G=de.token(p,c.htmlState);if(!Me){var ye=F.innerMode(de,c.htmlState);(ye.mode.name=="xml"&&ye.state.tagStart===null&&!ye.state.context&&ye.state.tokenize.isInText||c.md_inside&&p.current().indexOf(">")>-1)&&(c.f=C,c.block=ue,c.htmlState=null)}return G}function le(p,c){var G=c.listStack[c.listStack.length-1]||0,ye=c.indentation =p.quote?c.push(k.formatting+"-"+p.formatting[G]+"-"+p.quote):c.push("error"))}if(p.taskOpen)return c.push("meta"),c.length?c.join(" "):null;if(p.taskClosed)return c.push("property"),c.length?c.join(" "):null;if(p.linkHref?c.push(k.linkHref,"url"):(p.strong&&c.push(k.strong),p.em&&c.push(k.em),p.strikethrough&&c.push(k.strikethrough),p.emoji&&c.push(k.emoji),p.linkText&&c.push(k.linkText),p.code&&c.push(k.code),p.image&&c.push(k.image),p.imageAltText&&c.push(k.imageAltText,"link"),p.imageMarker&&c.push(k.imageMarker)),p.header&&c.push(k.header,k.header+"-"+p.header),p.quote&&(c.push(k.quote),!I.maxBlockquoteDepth||I.maxBlockquoteDepth>=p.quote?c.push(k.quote+"-"+p.quote):c.push(k.quote+"-"+I.maxBlockquoteDepth)),p.list!==!1){var ye=(p.listStack.length-1)%3;ye?ye===1?c.push(k.list2):c.push(k.list3):c.push(k.list1)}return p.trailingSpaceNewLine?c.push("trailing-space-new-line"):p.trailingSpace&&c.push("trailing-space-"+(p.trailingSpace%2?"a":"b")),c.length?c.join(" "):null}function Ae(p,c){if(p.match(K,!0))return W(c)}function C(p,c){var G=c.text(p,c);if(typeof G<"u")return G;if(c.list)return c.list=null,W(c);if(c.taskList){var ye=p.match(O,!0)[1]===" ";return ye?c.taskOpen=!0:c.taskClosed=!0,I.highlightFormatting&&(c.formatting="task"),c.taskList=!1,W(c)}if(c.taskOpen=!1,c.taskClosed=!1,c.header&&p.match(/^#+$/,!0))return I.highlightFormatting&&(c.formatting="header"),W(c);var R=p.next();if(c.linkTitle){c.linkTitle=!1;var oe=R;R==="("&&(oe=")"),oe=(oe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Se="^\\s*(?:[^"+oe+"\\\\]+|\\\\\\\\|\\\\.)"+oe;if(p.match(new RegExp(Se),!0))return k.linkHref}if(R==="`"){var Te=c.formatting;I.highlightFormatting&&(c.formatting="code"),p.eatWhile("`");var xe=p.current().length;if(c.code==0&&(!c.quote||xe==1))return c.code=xe,W(c);if(xe==c.code){var te=W(c);return c.code=0,te}else return c.formatting=Te,W(c)}else if(c.code)return W(c);if(R==="\\"&&(p.next(),I.highlightFormatting)){var Ee=W(c),qe=k.formatting+"-escape";return Ee?Ee+" "+qe:qe}if(R==="!"&&p.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return c.imageMarker=!0,c.image=!0,I.highlightFormatting&&(c.formatting="image"),W(c);if(R==="["&&c.imageMarker&&p.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return c.imageMarker=!1,c.imageAltText=!0,I.highlightFormatting&&(c.formatting="image"),W(c);if(R==="]"&&c.imageAltText){I.highlightFormatting&&(c.formatting="image");var Ee=W(c);return c.imageAltText=!1,c.image=!1,c.inline=c.f=d,Ee}if(R==="["&&!c.image)return c.linkText&&p.match(/^.*?\]/)||(c.linkText=!0,I.highlightFormatting&&(c.formatting="link")),W(c);if(R==="]"&&c.linkText){I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return c.linkText=!1,c.inline=c.f=p.match(/\(.*?\)| ?\[.*?\]/,!1)?d:C,Ee}if(R==="<"&&p.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){c.f=c.inline=Y,I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return Ee?Ee+=" ":Ee="",Ee+k.linkInline}if(R==="<"&&p.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){c.f=c.inline=Y,I.highlightFormatting&&(c.formatting="link");var Ee=W(c);return Ee?Ee+=" ":Ee="",Ee+k.linkEmail}if(I.xml&&R==="<"&&p.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ve=p.string.indexOf(">",p.pos);if(Ve!=-1){var ct=p.string.substring(p.start,Ve);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ct)&&(c.md_inside=!0)}return p.backUp(1),c.htmlState=F.startState(de),ie(p,c,ze)}if(I.xml&&R==="<"&&p.match(/^\/\w*?>/))return c.md_inside=!1,"tag";if(R==="*"||R==="_"){for(var Ne=1,Re=p.pos==1?" ":p.string.charAt(p.pos-2);Ne<3&&p.eat(R);)Ne++;var Ue=p.peek()||" ",et=!/\s/.test(Ue)&&(!Q.test(Ue)||/\s/.test(Re)||Q.test(Re)),he=!/\s/.test(Re)&&(!Q.test(Re)||/\s/.test(Ue)||Q.test(Ue)),Oe=null,T=null;if(Ne%2&&(!c.em&&et&&(R==="*"||!he||Q.test(Re))?Oe=!0:c.em==R&&he&&(R==="*"||!et||Q.test(Ue))&&(Oe=!1)),Ne>1&&(!c.strong&&et&&(R==="*"||!he||Q.test(Re))?T=!0:c.strong==R&&he&&(R==="*"||!et||Q.test(Ue))&&(T=!1)),T!=null||Oe!=null){I.highlightFormatting&&(c.formatting=Oe==null?"strong":T==null?"em":"strong em"),Oe===!0&&(c.em=R),T===!0&&(c.strong=R);var te=W(c);return Oe===!1&&(c.em=!1),T===!1&&(c.strong=!1),te}}else if(R===" "&&(p.eat("*")||p.eat("_"))){if(p.peek()===" ")return W(c);p.backUp(1)}if(I.strikethrough){if(R==="~"&&p.eatWhile(R)){if(c.strikethrough){I.highlightFormatting&&(c.formatting="strikethrough");var te=W(c);return c.strikethrough=!1,te}else if(p.match(/^[^\s]/,!1))return c.strikethrough=!0,I.highlightFormatting&&(c.formatting="strikethrough"),W(c)}else if(R===" "&&p.match("~~",!0)){if(p.peek()===" ")return W(c);p.backUp(2)}}if(I.emoji&&R===":"&&p.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){c.emoji=!0,I.highlightFormatting&&(c.formatting="emoji");var z=W(c);return c.emoji=!1,z}return R===" "&&(p.match(/^ +$/,!1)?c.trailingSpace++:c.trailingSpace&&(c.trailingSpaceNewLine=!0)),W(c)}function Y(p,c){var G=p.next();if(G===">"){c.f=c.inline=C,I.highlightFormatting&&(c.formatting="link");var ye=W(c);return ye?ye+=" ":ye="",ye+k.linkInline}return p.match(/^[^>]+/,!0),k.linkInline}function d(p,c){if(p.eatSpace())return null;var G=p.next();return G==="("||G==="["?(c.f=c.inline=w(G==="("?")":"]"),I.highlightFormatting&&(c.formatting="link-string"),c.linkHref=!0,W(c)):"error"}var S={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function w(p){return function(c,G){var ye=c.next();if(ye===p){G.f=G.inline=C,I.highlightFormatting&&(G.formatting="link-string");var R=W(G);return G.linkHref=!1,R}return c.match(S[p]),G.linkHref=!0,W(G)}}function m(p,c){return p.match(/^([^\]\\]|\\.)*\]:/,!1)?(c.f=y,p.next(),I.highlightFormatting&&(c.formatting="link"),c.linkText=!0,W(c)):$(p,c,C)}function y(p,c){if(p.match("]:",!0)){c.f=c.inline=N,I.highlightFormatting&&(c.formatting="link");var G=W(c);return c.linkText=!1,G}return p.match(/^([^\]\\]|\\.)+/,!0),k.linkText}function N(p,c){return p.eatSpace()?null:(p.match(/^[^\s]+/,!0),p.peek()===void 0?c.linkTitle=!0:p.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),c.f=c.inline=C,k.linkHref+" url")}var re={startState:function(){return{f:ue,prevLine:{stream:null},thisLine:{stream:null},block:ue,htmlState:null,indentation:0,inline:C,text:Ae,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(p){return{f:p.f,prevLine:p.prevLine,thisLine:p.thisLine,block:p.block,htmlState:p.htmlState&&F.copyState(de,p.htmlState),indentation:p.indentation,localMode:p.localMode,localState:p.localMode?F.copyState(p.localMode,p.localState):null,inline:p.inline,text:p.text,formatting:!1,linkText:p.linkText,linkTitle:p.linkTitle,linkHref:p.linkHref,code:p.code,em:p.em,strong:p.strong,strikethrough:p.strikethrough,emoji:p.emoji,header:p.header,setext:p.setext,hr:p.hr,taskList:p.taskList,list:p.list,listStack:p.listStack.slice(0),quote:p.quote,indentedCode:p.indentedCode,trailingSpace:p.trailingSpace,trailingSpaceNewLine:p.trailingSpaceNewLine,md_inside:p.md_inside,fencedEndRE:p.fencedEndRE}},token:function(p,c){if(c.formatting=!1,p!=c.thisLine.stream){if(c.header=0,c.hr=!1,p.match(/^\s*$/,!0))return me(c),null;if(c.prevLine=c.thisLine,c.thisLine={stream:p},c.taskList=!1,c.trailingSpace=0,c.trailingSpaceNewLine=!1,!c.localState&&(c.f=c.block,c.f!=ze)){var G=p.match(/^\s*/,!0)[0].replace(/\t/g,V).length;if(c.indentation=G,c.indentationDiff=null,G>0)return null}}return c.f(p,c)},innerMode:function(p){return p.block==ze?{state:p.htmlState,mode:de}:p.localState?{state:p.localState,mode:p.localMode}:{state:p,mode:re}},indent:function(p,c,G){return p.block==ze&&de.indent?de.indent(p.htmlState,c,G):p.localState&&p.localMode.indent?p.localMode.indent(p.localState,c,G):F.Pass},blankLine:me,getType:W,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return re},"xml"),F.defineMIME("text/markdown","markdown"),F.defineMIME("text/x-markdown","markdown")})})();(function(jt,Jt){(function(F){F(Zt)})(function(F){F.defineSimpleMode=function(O,H){F.defineMode(O,function(P){return F.simpleMode(P,H)})},F.simpleMode=function(O,H){Pe(H,"start");var P={},K=H.meta||{},be=!1;for(var ke in H)if(ke!=K&&H.hasOwnProperty(ke))for(var Q=P[ke]=[],V=H[ke],$=0;$ 2&&ie.token&&typeof ie.token!="string"){for(var ue=2;ue -1)return F.Pass;var ke=P.indent.length-1,Q=O[P.state];e:for(;;){for(var V=0;V {function e(s){for(const t of s.splice(0))t.dispose()}a.disposeAll=e})(c||(c={}));class r{constructor(){this._listeners=new Set,this.event=(e,s)=>{this._listeners.add(e);let t=!1;const i=this,n={dispose(){t||(t=!0,i._listeners.delete(e))}};return s&&s.push(n),n}}fire(e){const s=!this._deliveryQueue;this._deliveryQueue||(this._deliveryQueue=[]);for(const t of this._listeners)this._deliveryQueue.push({listener:t,event:e});if(s){for(let t=0;t e(s.data))}onopen(e){this._ws.addEventListener("open",e)}onerror(e){this._ws.addEventListener("error",e)}onclose(e){this._ws.addEventListener("close",e)}send(e){this._ws.send(e)}close(){this._ws.close()}}class p{constructor(e){this._onCloseEmitter=new r,this._onReportEmitter=new r,this._onStdioEmitter=new r,this._onTestFilesChangedEmitter=new r,this._onLoadTraceRequestedEmitter=new r,this._lastId=0,this._callbacks=new Map,this._isClosed=!1,this.onClose=this._onCloseEmitter.event,this.onReport=this._onReportEmitter.event,this.onStdio=this._onStdioEmitter.event,this.onTestFilesChanged=this._onTestFilesChangedEmitter.event,this.onLoadTraceRequested=this._onLoadTraceRequestedEmitter.event,this._transport=e,this._transport.onmessage(t=>{const i=JSON.parse(t),{id:n,result:l,error:o,method:d,params:_}=i;if(n){const h=this._callbacks.get(n);if(!h)return;this._callbacks.delete(n),o?h.reject(new Error(o)):h.resolve(l)}else this._dispatchEvent(d,_)});const s=setInterval(()=>this._sendMessage("ping").catch(()=>{}),3e4);this._connectedPromise=new Promise((t,i)=>{this._transport.onopen(t),this._transport.onerror(i)}),this._transport.onclose(()=>{this._isClosed=!0,this._onCloseEmitter.fire(),clearInterval(s)})}isClosed(){return this._isClosed}async _sendMessage(e,s){const t=globalThis.__logForTest;t==null||t({method:e,params:s}),await this._connectedPromise;const i=++this._lastId,n={id:i,method:e,params:s};return this._transport.send(JSON.stringify(n)),new Promise((l,o)=>{this._callbacks.set(i,{resolve:l,reject:o})})}_sendMessageNoReply(e,s){this._sendMessage(e,s).catch(()=>{})}_dispatchEvent(e,s){e==="report"?this._onReportEmitter.fire(s):e==="stdio"?this._onStdioEmitter.fire(s):e==="testFilesChanged"?this._onTestFilesChangedEmitter.fire(s):e==="loadTraceRequested"&&this._onLoadTraceRequestedEmitter.fire(s)}async initialize(e){await this._sendMessage("initialize",e)}async ping(e){await this._sendMessage("ping",e)}async pingNoReply(e){this._sendMessageNoReply("ping",e)}async watch(e){await this._sendMessage("watch",e)}watchNoReply(e){this._sendMessageNoReply("watch",e)}async open(e){await this._sendMessage("open",e)}openNoReply(e){this._sendMessageNoReply("open",e)}async resizeTerminal(e){await this._sendMessage("resizeTerminal",e)}resizeTerminalNoReply(e){this._sendMessageNoReply("resizeTerminal",e)}async checkBrowsers(e){return await this._sendMessage("checkBrowsers",e)}async installBrowsers(e){await this._sendMessage("installBrowsers",e)}async runGlobalSetup(e){return await this._sendMessage("runGlobalSetup",e)}async runGlobalTeardown(e){return await this._sendMessage("runGlobalTeardown",e)}async startDevServer(e){return await this._sendMessage("startDevServer",e)}async stopDevServer(e){return await this._sendMessage("stopDevServer",e)}async clearCache(e){return await this._sendMessage("clearCache",e)}async listFiles(e){return await this._sendMessage("listFiles",e)}async listTests(e){return await this._sendMessage("listTests",e)}async runTests(e){return await this._sendMessage("runTests",e)}async findRelatedTestFiles(e){return await this._sendMessage("findRelatedTestFiles",e)}async stopTests(e){await this._sendMessage("stopTests",e)}stopTestsNoReply(e){this._sendMessageNoReply("stopTests",e)}async closeGracefully(e){await this._sendMessage("closeGracefully",e)}close(){try{this._transport.close()}catch{}}}export{p as T,u as W}; diff --git a/reports/2025-04-29-08-22-31/trace/assets/workbench-D0cirtfA.js b/reports/2025-04-29-08-22-31/trace/assets/workbench-D0cirtfA.js new file mode 100644 index 0000000..0466326 --- /dev/null +++ b/reports/2025-04-29-08-22-31/trace/assets/workbench-D0cirtfA.js @@ -0,0 +1,72 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./codeMirrorModule-eFKCUIu2.js","../codeMirrorModule.ez37Vkbh.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var vm=Object.defineProperty;var ym=(e,t,n)=>t in e?vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>(ym(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var nx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ud={exports:{}},Us={},cd={exports:{}},D={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var di=Symbol.for("react.element"),xm=Symbol.for("react.portal"),Sm=Symbol.for("react.fragment"),_m=Symbol.for("react.strict_mode"),Em=Symbol.for("react.profiler"),Tm=Symbol.for("react.provider"),km=Symbol.for("react.context"),Nm=Symbol.for("react.forward_ref"),Cm=Symbol.for("react.suspense"),bm=Symbol.for("react.memo"),Lm=Symbol.for("react.lazy"),mu=Symbol.iterator;function Am(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var dd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fd=Object.assign,hd={};function lr(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||dd}lr.prototype.isReactComponent={};lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function pd(){}pd.prototype=lr.prototype;function Jl(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||dd}var Zl=Jl.prototype=new pd;Zl.constructor=Jl;fd(Zl,lr.prototype);Zl.isPureReactComponent=!0;var gu=Array.isArray,md=Object.prototype.hasOwnProperty,ea={current:null},gd={key:!0,ref:!0,__self:!0,__source:!0};function vd(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)md.call(t,r)&&!gd.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1 {let o=!1;return r!==void 0&&s(r),e().then(l=>{o||s(l)}),()=>{o=!0}},t),i}function _n(){const e=at.useRef(null),[t,n]=at.useState(new DOMRect(0,0,10,10));return at.useLayoutEffect(()=>{const r=e.current;if(!r)return;const i=new ResizeObserver(s=>{const o=s[s.length-1];o&&o.contentRect&&n(o.contentRect)});return i.observe(r),()=>i.disconnect()},[e]),[t,e]}function et(e){if(e<0||!isFinite(e))return"-";if(e===0)return"0";if(e<1e3)return e.toFixed(0)+"ms";const t=e/1e3;if(t<60)return t.toFixed(1)+"s";const n=t/60;if(n<60)return n.toFixed(1)+"m";const r=n/60;return r<24?r.toFixed(1)+"h":(r/24).toFixed(1)+"d"}function Um(e){if(e<0||!isFinite(e))return"-";if(e===0)return"0";if(e<1e3)return e.toFixed(0);const t=e/1024;if(t<1e3)return t.toFixed(1)+"K";const n=t/1024;return n<1e3?n.toFixed(1)+"M":(n/1024).toFixed(1)+"G"}function wd(e,t,n,r,i){let s=r||0,o=i!==void 0?i:e.length;for(;s >1;n(t,e[l])>=0?s=l+1:o=l}return o}function Bm(e){const t=document.createElement("textarea");t.style.position="absolute",t.style.zIndex="-1000",t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}function Or(e,t,n){e&&(t=an.getObject(e,t));const[r,i]=at.useState(t),s=at.useCallback(o=>{e?an.setObject(e,o):i(o)},[e,i]);return at.useEffect(()=>{if(e){const o=()=>i(an.getObject(e,t));return an.onChangeEmitter.addEventListener(e,o),()=>an.onChangeEmitter.removeEventListener(e,o)}},[t,e]),[r,s]}class Vm{constructor(){this.onChangeEmitter=new EventTarget}getString(t,n){return localStorage[t]||n}setString(t,n){var r;localStorage[t]=n,this.onChangeEmitter.dispatchEvent(new Event(t)),(r=window.saveSettings)==null||r.call(window)}getObject(t,n){if(!localStorage[t])return n;try{return JSON.parse(localStorage[t])}catch{return n}}setObject(t,n){var r;localStorage[t]=JSON.stringify(n),this.onChangeEmitter.dispatchEvent(new Event(t)),(r=window.saveSettings)==null||r.call(window)}}const an=new Vm;function Ne(...e){return e.filter(Boolean).join(" ")}const yu="\\u0000-\\u0020\\u007f-\\u009f",xd=new RegExp("(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|www\\.)[^\\s"+yu+'"]{2,}[^\\s'+yu+`"')}\\],:;.!?]`,"ug");function rx(){if(document.playwrightThemeInitialized)return;document.playwrightThemeInitialized=!0,document.defaultView.addEventListener("focus",n=>{n.target.document.nodeType===Node.DOCUMENT_NODE&&document.body.classList.remove("inactive")},!1),document.defaultView.addEventListener("blur",n=>{document.body.classList.add("inactive")},!1);const e=an.getString("theme","light-mode"),t=window.matchMedia("(prefers-color-scheme: dark)");(e==="dark-mode"||t.matches)&&document.body.classList.add("dark-mode")}const na=new Set;function Wm(){const e=Qo(),t=e==="dark-mode"?"light-mode":"dark-mode";e&&document.body.classList.remove(e),document.body.classList.add(t),an.setString("theme",t);for(const n of na)n(t)}function ix(e){na.add(e)}function sx(e){na.delete(e)}function Qo(){return document.body.classList.contains("dark-mode")?"dark-mode":"light-mode"}function ox(){const[e,t]=at.useState(Qo()==="dark-mode");return[e,n=>{Qo()==="dark-mode"!==n&&Wm(),t(n)}]}var Sd={exports:{}},qe={},_d={exports:{}},Ed={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(I,R){var z=I.length;I.push(R);e:for(;0 >>1,ne=I[B];if(0>>1;B i(pr,z))ft i(je,pr)?(I[B]=je,I[ft]=z,B=ft):(I[B]=pr,I[_e]=z,B=_e);else if(ft i(je,z))I[B]=je,I[ft]=z,B=ft;else break e}}return R}function i(I,R){var z=I.sortIndex-R.sortIndex;return z!==0?z:I.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var a=[],u=[],c=1,p=null,f=3,g=!1,y=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(I){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=I)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function S(I){if(w=!1,v(I),!y)if(n(a)!==null)y=!0,Fe(N);else{var R=n(u);R!==null&&me(S,R.startTime-I)}}function N(I,R){y=!1,w&&(w=!1,h(A),A=-1),g=!0;var z=f;try{for(v(R),p=n(a);p!==null&&(!(p.expirationTime>R)||I&&!j());){var B=p.callback;if(typeof B=="function"){p.callback=null,f=p.priorityLevel;var ne=B(p.expirationTime<=R);R=e.unstable_now(),typeof ne=="function"?p.callback=ne:p===n(a)&&r(a),v(R)}else r(a);p=n(a)}if(p!==null)var Nn=!0;else{var _e=n(u);_e!==null&&me(S,_e.startTime-R),Nn=!1}return Nn}finally{p=null,f=z,g=!1}}var E=!1,C=null,A=-1,_=5,T=-1;function j(){return!(e.unstable_now()-T<_)}function k(){if(C!==null){var I=e.unstable_now();T=I;var R=!0;try{R=C(!0,I)}finally{R?M():(E=!1,C=null)}}else E=!1}var M;if(typeof m=="function")M=function(){m(k)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,ce=$.port2;$.port1.onmessage=k,M=function(){ce.postMessage(null)}}else M=function(){x(k,0)};function Fe(I){C=I,E||(E=!0,M())}function me(I,R){A=x(function(){I(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,Fe(N))},e.unstable_forceFrameRate=function(I){0>I||125B?(I.sortIndex=z,t(u,I),n(a)===null&&I===n(u)&&(w?(h(A),A=-1):w=!0,me(S,z-B))):(I.sortIndex=ne,t(a,I),y||g||(y=!0,Fe(N))),I},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(I){var R=f;return function(){var z=f;f=R;try{return I.apply(this,arguments)}finally{f=z}}}})(Ed);_d.exports=Ed;var qm=_d.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Td=b,Ve=qm;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ko=Object.prototype.hasOwnProperty,Xm=/^[: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][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wu={},xu={};function Qm(e){return Ko.call(xu,e)?!0:Ko.call(wu,e)?!1:Xm.test(e)?xu[e]=!0:(wu[e]=!0,!1)}function Km(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Gm(e,t,n,r){if(t===null||typeof t>"u"||Km(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ae(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pe[e]=new Ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pe[t]=new Ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new Ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[e]=new Ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pe[e]=new Ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new Ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pe[e]=new Ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pe[e]=new Ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pe[e]=new Ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function ia(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ra,ia);pe[t]=new Ae(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ra,ia);pe[t]=new Ae(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ra,ia);pe[t]=new Ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new Ae(e,1,!1,e.toLowerCase(),null,!1,!1)});pe.xlinkHref=new Ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pe[e]=new Ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function sa(e,t,n,r){var i=pe.hasOwnProperty(t)?pe[t]:null;(i!==null?i.type!==0:r||!(2 l||i[o]!==s[l]){var a=` +`+i[o].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace(" ",e.displayName)),a}while(1<=o&&0<=l);break}}}finally{mo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ar(e):""}function Ym(e){switch(e.tag){case 5:return Ar(e.type);case 16:return Ar("Lazy");case 13:return Ar("Suspense");case 19:return Ar("SuspenseList");case 0:case 2:case 15:return e=go(e.type,!1),e;case 11:return e=go(e.type.render,!1),e;case 1:return e=go(e.type,!0),e;default:return""}}function Zo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rn:return"Fragment";case Pn:return"Portal";case Go:return"Profiler";case oa:return"StrictMode";case Yo:return"Suspense";case Jo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cd:return(e.displayName||"Context")+".Consumer";case Nd:return(e._context.displayName||"Context")+".Provider";case la:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case aa:return t=e.displayName||null,t!==null?t:Zo(e.type)||"Memo";case Rt:t=e._payload,e=e._init;try{return Zo(e(t))}catch{}}return null}function Jm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Zo(t);case 8:return t===oa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zm(e){var t=Ld(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ei(e){e._valueTracker||(e._valueTracker=Zm(e))}function Ad(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ld(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function el(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _u(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jd(e,t){t=t.checked,t!=null&&sa(e,"checked",t,!1)}function tl(e,t){jd(e,t);var n=Jt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?nl(e,t.type,n):t.hasOwnProperty("defaultValue")&&nl(e,t.type,Jt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Eu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function nl(e,t,n){(t!=="number"||fs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jr=Array.isArray;function Qn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=Ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eg=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){eg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zr[t]=zr[e]})});function Rd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}function $d(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Rd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var tg=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sl(e,t){if(t){if(tg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function ol(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ll=null;function ua(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var al=null,Kn=null,Gn=null;function Nu(e){if(e=pi(e)){if(typeof al!="function")throw Error(L(280));var t=e.stateNode;t&&(t=Xs(t),al(e.stateNode,e.type,t))}}function Od(e){Kn?Gn?Gn.push(e):Gn=[e]:Kn=e}function zd(){if(Kn){var e=Kn,t=Gn;if(Gn=Kn=null,Nu(e),t)for(e=0;e >>=0,e===0?32:31-(fg(e)/hg|0)|0}var ki=64,Ni=4194304;function Mr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Mr(l):(s&=o,s!==0&&(r=Mr(s)))}else o=n&~i,o!==0?r=Mr(o):s!==0&&(r=Mr(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function vg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 =Fr),Ru=" ",$u=!1;function sf(e,t){switch(e){case"keyup":return Wg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function of(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $n=!1;function Xg(e,t){switch(e){case"compositionend":return of(t);case"keypress":return t.which!==32?null:($u=!0,Ru);case"textInput":return e=t.data,e===Ru&&$u?null:e;default:return null}}function Qg(e,t){if($n)return e==="compositionend"||!va&&sf(e,t)?(e=nf(),Xi=pa=Ht=null,$n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1 =t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fu(n)}}function cf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function df(){for(var e=window,t=fs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fs(e.document)}return t}function ya(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function rv(e){var t=df(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cf(n.ownerDocument.documentElement,n)){if(r!==null&&ya(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Hu(n,s);var o=Hu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,On=null,pl=null,Ur=null,ml=!1;function Uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ml||On==null||On!==fs(r)||(r=On,"selectionStart"in r&&ya(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ur&&ei(Ur,r)||(Ur=r,r=ws(pl,"onSelect"),0 Fn||(e.current=Sl[Fn],Sl[Fn]=null,Fn--)}function U(e,t){Fn++,Sl[Fn]=e.current,e.current=t}var Zt={},Se=nn(Zt),Oe=nn(!1),gn=Zt;function tr(e,t){var n=e.type.contextTypes;if(!n)return Zt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ze(e){return e=e.childContextTypes,e!=null}function Ss(){q(Oe),q(Se)}function Ku(e,t,n){if(Se.current!==Zt)throw Error(L(168));U(Se,t),U(Oe,n)}function xf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,Jm(e)||"Unknown",i));return Y({},n,r)}function _s(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zt,gn=Se.current,U(Se,e),U(Oe,Oe.current),!0}function Gu(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=xf(e,t,gn),r.__reactInternalMemoizedMergedChildContext=e,q(Oe),q(Se),U(Se,e)):q(Oe),U(Oe,n)}var kt=null,Qs=!1,Ao=!1;function Sf(e){kt===null?kt=[e]:kt.push(e)}function mv(e){Qs=!0,Sf(e)}function rn(){if(!Ao&&kt!==null){Ao=!0;var e=0,t=H;try{var n=kt;for(H=1;e >=o,i-=o,Nt=1<<32-ut(t)+i|n<A?(_=C,C=null):_=C.sibling;var T=f(h,C,v[A],S);if(T===null){C===null&&(C=_);break}e&&C&&T.alternate===null&&t(h,C),m=s(T,m,A),E===null?N=T:E.sibling=T,E=T,C=_}if(A===v.length)return n(h,C),Q&&sn(h,A),N;if(C===null){for(;A A?(_=C,C=null):_=C.sibling;var j=f(h,C,T.value,S);if(j===null){C===null&&(C=_);break}e&&C&&j.alternate===null&&t(h,C),m=s(j,m,A),E===null?N=j:E.sibling=j,E=j,C=_}if(T.done)return n(h,C),Q&&sn(h,A),N;if(C===null){for(;!T.done;A++,T=v.next())T=p(h,T.value,S),T!==null&&(m=s(T,m,A),E===null?N=T:E.sibling=T,E=T);return Q&&sn(h,A),N}for(C=r(h,C);!T.done;A++,T=v.next())T=g(C,h,A,T.value,S),T!==null&&(e&&T.alternate!==null&&C.delete(T.key===null?A:T.key),m=s(T,m,A),E===null?N=T:E.sibling=T,E=T);return e&&C.forEach(function(k){return t(h,k)}),Q&&sn(h,A),N}function x(h,m,v,S){if(typeof v=="object"&&v!==null&&v.type===Rn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case _i:e:{for(var N=v.key,E=m;E!==null;){if(E.key===N){if(N=v.type,N===Rn){if(E.tag===7){n(h,E.sibling),m=i(E,v.props.children),m.return=h,h=m;break e}}else if(E.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Rt&&rc(N)===E.type){n(h,E.sibling),m=i(E,v.props),m.ref=_r(h,E,v),m.return=h,h=m;break e}n(h,E);break}else t(h,E);E=E.sibling}v.type===Rn?(m=pn(v.props.children,h.mode,S,v.key),m.return=h,h=m):(S=ts(v.type,v.key,v.props,null,h.mode,S),S.ref=_r(h,m,v),S.return=h,h=S)}return o(h);case Pn:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=zo(v,h.mode,S),m.return=h,h=m}return o(h);case Rt:return E=v._init,x(h,m,E(v._payload),S)}if(jr(v))return y(h,m,v,S);if(vr(v))return w(h,m,v,S);Ii(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,v),m.return=h,h=m):(n(h,m),m=Oo(v,h.mode,S),m.return=h,h=m),o(h)):n(h,m)}return x}var rr=Lf(!0),Af=Lf(!1),mi={},xt=nn(mi),ii=nn(mi),si=nn(mi);function dn(e){if(e===mi)throw Error(L(174));return e}function Ca(e,t){switch(U(si,t),U(ii,e),U(xt,mi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=il(t,e)}q(xt),U(xt,t)}function ir(){q(xt),q(ii),q(si)}function jf(e){dn(si.current);var t=dn(xt.current),n=il(t,e.type);t!==n&&(U(ii,e),U(xt,n))}function ba(e){ii.current===e&&(q(xt),q(ii))}var K=nn(0);function bs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jo=[];function La(){for(var e=0;e n?n:4,e(!0);var r=Mo.transition;Mo.transition={};try{e(!1),t()}finally{H=n,Mo.transition=r}}function Xf(){return rt().memoizedState}function wv(e,t,n){var r=Kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qf(e))Kf(t,n);else if(n=kf(e,t,n,r),n!==null){var i=Ce();ct(n,e,r,i),Gf(n,t,r)}}function xv(e,t,n){var r=Kt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qf(e))Kf(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,dt(l,o)){var a=t.interleaved;a===null?(i.next=i,ka(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=kf(e,t,i,r),n!==null&&(i=Ce(),ct(n,e,r,i),Gf(n,t,r))}}function Qf(e){var t=e.alternate;return e===G||t!==null&&t===G}function Kf(e,t){Br=Ls=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,da(e,n)}}var As={readContext:nt,useCallback:ge,useContext:ge,useEffect:ge,useImperativeHandle:ge,useInsertionEffect:ge,useLayoutEffect:ge,useMemo:ge,useReducer:ge,useRef:ge,useState:ge,useDebugValue:ge,useDeferredValue:ge,useTransition:ge,useMutableSource:ge,useSyncExternalStore:ge,useId:ge,unstable_isNewReconciler:!1},Sv={readContext:nt,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:sc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Yi(4194308,4,Uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Yi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yi(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=wv.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:ic,useDebugValue:Pa,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=ic(!1),t=e[0];return e=yv.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,i=mt();if(Q){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),ue===null)throw Error(L(349));yn&30||Pf(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,sc($f.bind(null,r,s,e),[e]),r.flags|=2048,ai(9,Rf.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=mt(),t=ue.identifierPrefix;if(Q){var n=Ct,r=Nt;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oi++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yt]=t,e[ri]=r,sh(e,t,!1,!1),t.stateNode=e;e:{switch(o=ol(n,r),n){case"dialog":W("cancel",e),W("close",e),i=r;break;case"iframe":case"object":case"embed":W("load",e),i=r;break;case"video":case"audio":for(i=0;i or&&(t.flags|=128,r=!0,Er(s,!1),t.lanes=4194304)}else{if(!r)if(e=bs(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Er(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Q)return ve(t),null}else 2*ee()-s.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,Er(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ee(),t.sibling=null,n=K.current,U(K,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return Fa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function Lv(e,t){switch(xa(t),t.tag){case 1:return ze(t.type)&&Ss(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),q(Oe),q(Se),La(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ba(t),null;case 13:if(q(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(K),null;case 4:return ir(),null;case 10:return Ta(t.type._context),null;case 22:case 23:return Fa(),null;case 24:return null;default:return null}}var Ri=!1,we=!1,Av=typeof WeakSet=="function"?WeakSet:Set,P=null;function Vn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function Il(e,t,n){try{n()}catch(r){Z(e,t,r)}}var pc=!1;function jv(e,t){if(gl=vs,e=df(),ya(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,l=-1,a=-1,u=0,c=0,p=e,f=null;t:for(;;){for(var g;p!==n||i!==0&&p.nodeType!==3||(l=o+i),p!==s||r!==0&&p.nodeType!==3||(a=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(g=p.firstChild)!==null;)f=p,p=g;for(;;){if(p===e)break t;if(f===n&&++u===i&&(l=o),f===s&&++c===r&&(a=o),(g=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(vl={focusedElem:e,selectionRange:n},vs=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,x=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:st(t.type,w),x);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(S){Z(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=pc,pc=!1,y}function Vr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Il(t,n,s)}i=i.next}while(i!==r)}}function Ys(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Pl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ah(e){var t=e.alternate;t!==null&&(e.alternate=null,ah(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[ri],delete t[xl],delete t[hv],delete t[pv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uh(e){return e.tag===5||e.tag===3||e.tag===4}function mc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Rl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xs));else if(r!==4&&(e=e.child,e!==null))for(Rl(e,t,n),e=e.sibling;e!==null;)Rl(e,t,n),e=e.sibling}function $l(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($l(e,t,n),e=e.sibling;e!==null;)$l(e,t,n),e=e.sibling}var de=null,ot=!1;function Pt(e,t,n){for(n=n.child;n!==null;)ch(e,t,n),n=n.sibling}function ch(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Bs,n)}catch{}switch(n.tag){case 5:we||Vn(n,t);case 6:var r=de,i=ot;de=null,Pt(e,t,n),de=r,ot=i,de!==null&&(ot?(e=de,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):de.removeChild(n.stateNode));break;case 18:de!==null&&(ot?(e=de,n=n.stateNode,e.nodeType===8?Lo(e.parentNode,n):e.nodeType===1&&Lo(e,n),Jr(e)):Lo(de,n.stateNode));break;case 4:r=de,i=ot,de=n.stateNode.containerInfo,ot=!0,Pt(e,t,n),de=r,ot=i;break;case 0:case 11:case 14:case 15:if(!we&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Il(n,t,o),i=i.next}while(i!==r)}Pt(e,t,n);break;case 1:if(!we&&(Vn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Z(n,t,l)}Pt(e,t,n);break;case 21:Pt(e,t,n);break;case 22:n.mode&1?(we=(r=we)||n.memoizedState!==null,Pt(e,t,n),we=r):Pt(e,t,n);break;default:Pt(e,t,n)}}function gc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Av),t.forEach(function(r){var i=Fv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function it(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=o),r&=~s}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Iv(r/1960))-r,10 e?16:e,Ut===null)var r=!1;else{if(e=Ut,Ut=null,Is=0,F&6)throw Error(L(331));var i=F;for(F|=4,P=e.current;P!==null;){var s=P,o=s.child;if(P.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a ee()-za?hn(e,0):Oa|=n),De(e,t)}function yh(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=Ce();e=jt(e,t),e!==null&&(fi(e,t,n),De(e,n))}function Dv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),yh(e,n)}function Fv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),yh(e,n)}var wh;wh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)$e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $e=!1,Cv(e,t,n);$e=!!(e.flags&131072)}else $e=!1,Q&&t.flags&1048576&&_f(t,Ts,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ji(e,t),e=t.pendingProps;var i=tr(t,Se.current);Jn(t,n),i=ja(null,t,r,e,i,n);var s=Ma();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(s=!0,_s(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Na(t),i.updater=Ks,t.stateNode=i,i._reactInternals=t,Nl(t,r,e,n),t=Ll(null,t,r,!0,s,n)):(t.tag=0,Q&&s&&wa(t),Ee(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ji(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Uv(r),e=st(r,e),i){case 0:t=bl(null,t,r,e,n);break e;case 1:t=dc(null,t,r,e,n);break e;case 11:t=uc(null,t,r,e,n);break e;case 14:t=cc(null,t,r,st(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),bl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),dc(e,t,r,i,n);case 3:e:{if(nh(t),e===null)throw Error(L(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Nf(e,t),Cs(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=sr(Error(L(423)),t),t=fc(e,t,r,n,i);break e}else if(r!==i){i=sr(Error(L(424)),t),t=fc(e,t,r,n,i);break e}else for(Ue=qt(t.stateNode.containerInfo.firstChild),Be=t,Q=!0,lt=null,n=Af(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===i){t=Mt(e,t,n);break e}Ee(e,t,r,n)}t=t.child}return t;case 5:return jf(t),e===null&&El(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,yl(r,i)?o=null:s!==null&&yl(r,s)&&(t.flags|=32),th(e,t),Ee(e,t,o,n),t.child;case 6:return e===null&&El(t),null;case 13:return rh(e,t,n);case 4:return Ca(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):Ee(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),uc(e,t,r,i,n);case 7:return Ee(e,t,t.pendingProps,n),t.child;case 8:return Ee(e,t,t.pendingProps.children,n),t.child;case 12:return Ee(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,U(ks,r._currentValue),r._currentValue=o,s!==null)if(dt(s.value,o)){if(s.children===i.children&&!Oe.current){t=Mt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=bt(-1,n&-n),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Tl(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(L(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Tl(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ee(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Jn(t,n),i=nt(i),r=r(i),t.flags|=1,Ee(e,t,r,n),t.child;case 14:return r=t.type,i=st(r,t.pendingProps),i=st(r.type,i),cc(e,t,r,i,n);case 15:return Zf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Ji(e,t),t.tag=1,ze(r)?(e=!0,_s(t)):e=!1,Jn(t,n),bf(t,r,i),Nl(t,r,i,n),Ll(null,t,r,!0,e,n);case 19:return ih(e,t,n);case 22:return eh(e,t,n)}throw Error(L(156,t.tag))};function xh(e,t){return Wd(e,t)}function Hv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,n,r){return new Hv(e,t,n,r)}function Ua(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Uv(e){if(typeof e=="function")return Ua(e)?1:0;if(e!=null){if(e=e.$$typeof,e===la)return 11;if(e===aa)return 14}return 2}function Gt(e,t){var n=e.alternate;return n===null?(n=Je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ts(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Ua(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Rn:return pn(n.children,i,s,t);case oa:o=8,i|=8;break;case Go:return e=Je(12,n,t,i|2),e.elementType=Go,e.lanes=s,e;case Yo:return e=Je(13,n,t,i),e.elementType=Yo,e.lanes=s,e;case Jo:return e=Je(19,n,t,i),e.elementType=Jo,e.lanes=s,e;case bd:return Zs(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nd:o=10;break e;case Cd:o=9;break e;case la:o=11;break e;case aa:o=14;break e;case Rt:o=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Je(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function pn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function Zs(e,t,n,r){return e=Je(22,e,r,t),e.elementType=bd,e.lanes=n,e.stateNode={isHidden:!1},e}function Oo(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function zo(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bv(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yo(0),this.expirationTimes=yo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ba(e,t,n,r,i,s,o,l,a){return e=new Bv(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Je(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Na(s),e}function Vv(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Th)}catch(e){console.error(e)}}Th(),Sd.exports=qe;var Kv=Sd.exports,Gv,Tc=Kv;Gv=Tc.createRoot,Tc.hydrateRoot;const en=({children:e,title:t="",icon:n,disabled:r=!1,toggled:i=!1,onClick:s=()=>{},style:o,testId:l,className:a})=>(a=(a||"")+` toolbar-button ${n}`,i&&(a+=" toggled"),d.jsxs("button",{className:a,onMouseDown:kc,onClick:s,onDoubleClick:kc,title:t,disabled:!!r,style:o,"data-testid":l,children:[n&&d.jsx("span",{className:`codicon codicon-${n}`,style:e?{marginRight:5}:{}}),e]})),kc=e=>{e.stopPropagation(),e.preventDefault()},Pr=Symbol("context"),kh=Symbol("next"),Nh=Symbol("prev"),Nc=Symbol("events");class lx{constructor(t){V(this,"startTime");V(this,"endTime");V(this,"browserName");V(this,"channel");V(this,"platform");V(this,"wallTime");V(this,"title");V(this,"options");V(this,"pages");V(this,"actions");V(this,"events");V(this,"stdio");V(this,"errors");V(this,"errorDescriptors");V(this,"hasSource");V(this,"hasStepData");V(this,"sdkLanguage");V(this,"testIdAttributeName");V(this,"sources");V(this,"resources");t.forEach(r=>Yv(r));const n=t.find(r=>r.origin==="library");this.browserName=(n==null?void 0:n.browserName)||"",this.sdkLanguage=n==null?void 0:n.sdkLanguage,this.channel=n==null?void 0:n.channel,this.testIdAttributeName=n==null?void 0:n.testIdAttributeName,this.platform=(n==null?void 0:n.platform)||"",this.title=(n==null?void 0:n.title)||"",this.options=(n==null?void 0:n.options)||{},this.actions=Jv(t),this.pages=[].concat(...t.map(r=>r.pages)),this.wallTime=t.map(r=>r.wallTime).reduce((r,i)=>Math.min(r||Number.MAX_VALUE,i),Number.MAX_VALUE),this.startTime=t.map(r=>r.startTime).reduce((r,i)=>Math.min(r,i),Number.MAX_VALUE),this.endTime=t.map(r=>r.endTime).reduce((r,i)=>Math.max(r,i),Number.MIN_VALUE),this.events=[].concat(...t.map(r=>r.events)),this.stdio=[].concat(...t.map(r=>r.stdio)),this.errors=[].concat(...t.map(r=>r.errors)),this.hasSource=t.some(r=>r.hasSource),this.hasStepData=t.some(r=>r.origin==="testRunner"),this.resources=[...t.map(r=>r.resources)].flat(),this.events.sort((r,i)=>r.time-i.time),this.resources.sort((r,i)=>r._monotonicTime-i._monotonicTime),this.errorDescriptors=this.hasStepData?this._errorDescriptorsFromTestRunner():this._errorDescriptorsFromActions(),this.sources=a0(this.actions,this.errorDescriptors)}failedAction(){return this.actions.findLast(t=>t.error)}_errorDescriptorsFromActions(){var n;const t=[];for(const r of this.actions||[])(n=r.error)!=null&&n.message&&t.push({action:r,stack:r.stack,message:r.error.message});return t}_errorDescriptorsFromTestRunner(){const t=[];for(const n of this.errors||[])n.message&&t.push({stack:n.stack,message:n.message});return t}}function Yv(e){for(const n of e.pages)n[Pr]=e;for(let n=0;n =0;n--){const r=e.actions[n];r[kh]=t,r.apiName.includes("route.")||(t=r)}for(const n of e.events)n[Pr]=e;for(const n of e.resources)n[Pr]=e}function Jv(e){const t=new Map;for(const i of e){const s=i.traceUrl;let o=t.get(s);o||(o=[],t.set(s,o)),o.push(i)}const n=[];let r=0;for(const[,i]of t){t.size>1&&Zv(i,++r);const s=e0(i);n.push(...s)}n.sort((i,s)=>s.parentId===i.callId?-1:i.parentId===s.callId?1:i.startTime-s.startTime);for(let i=1;i l.origin==="library"),r=e.filter(l=>l.origin==="testRunner");if(!r.length||!n.length)return e.map(l=>l.actions.map(a=>({...a,context:l}))).flat();const i=n.some(l=>l.actions.some(a=>!!a.stepId));for(const l of n)for(const a of l.actions){const u=i?a.stepId:`${a.apiName}@${a.wallTime}`;t.set(u,{...a,context:l})}const s=n0(r,t,i);s&&t0(n,s);const o=new Map;for(const l of r)for(const a of l.actions){const u=i?a.callId:`${a.apiName}@${a.wallTime}`,c=t.get(u);if(c){o.set(a.callId,c.callId),a.error&&(c.error=a.error),a.attachments&&(c.attachments=a.attachments),a.parentId&&(c.parentId=o.get(a.parentId)??a.parentId),c.startTime=a.startTime,c.endTime=a.endTime;continue}a.parentId&&(a.parentId=o.get(a.parentId)??a.parentId),t.set(u,{...a,context:l})}return[...t.values()]}function t0(e,t){for(const n of e){n.startTime+=t,n.endTime+=t;for(const r of n.actions)r.startTime&&(r.startTime+=t),r.endTime&&(r.endTime+=t);for(const r of n.events)r.time+=t;for(const r of n.stdio)r.timestamp+=t;for(const r of n.pages)for(const i of r.screencastFrames)i.timestamp+=t;for(const r of n.resources)r._monotonicTime&&(r._monotonicTime+=t)}}function n0(e,t,n){for(const r of e)for(const i of r.actions){if(!i.startTime)continue;const s=n?i.callId:`${i.apiName}@${i.wallTime}`,o=t.get(s);if(o)return i.startTime-o.startTime}return 0}function r0(e){const t=new Map;for(const r of e)t.set(r.callId,{id:r.callId,parent:void 0,children:[],action:r});const n={id:"",parent:void 0,children:[]};for(const r of t.values()){const i=r.action.parentId&&t.get(r.action.parentId)||n;i.children.push(r),r.parent=i}return{rootItem:n,itemMap:t}}function ax(e){return`${e.pageId||"none"}:${e.callId}`}function $s(e){return e[Pr]}function i0(e){return e[kh]}function s0(e){return e[Nh]}function o0(e){let t=0,n=0;for(const r of l0(e)){if(r.type==="console"){const i=r.messageType;i==="warning"?++n:i==="error"&&++t}r.type==="event"&&r.method==="pageError"&&++t}return{errors:t,warnings:n}}function l0(e){let t=e[Nc];if(t)return t;const n=i0(e);return t=$s(e).events.filter(r=>r.time>=e.startTime&&(!n||r.time {const a=Math.max(i,e)*window.devicePixelRatio,[u,c]=Or(s?s+"."+r+":size":void 0,a),[p,f]=Or(s?s+"."+r+":size":void 0,a),[g,y]=b.useState(null),[w,x]=_n();let h;r==="vertical"?(h=p/window.devicePixelRatio,w&&w.height y({offset:r==="vertical"?v.clientY:v.clientX,size:h}),onMouseUp:()=>y(null),onMouseMove:v=>{if(!v.buttons)y(null);else if(g){const N=(r==="vertical"?v.clientY:v.clientX)-g.offset,E=n?g.size+N:g.size-N,A=v.target.parentElement.getBoundingClientRect(),_=Math.min(Math.max(i,E),(r==="vertical"?A.height:A.width)-i);r==="vertical"?f(_*window.devicePixelRatio):c(_*window.devicePixelRatio)}}})]})};function io(e,t="'"){const n=JSON.stringify(e),r=n.substring(1,n.length-1).replace(/\\"/g,'"');if(t==="'")return t+r.replace(/[']/g,"\\'")+t;if(t==='"')return t+r.replace(/["]/g,'\\"')+t;if(t==="`")return t+r.replace(/[`]/g,"`")+t;throw new Error("Invalid escape char")}function zs(e){return e.charAt(0).toUpperCase()+e.substring(1)}function Ch(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/([A-Z])([A-Z][a-z])/g,"$1_$2").toLowerCase()}function Ye(e){let t="";for(let n=0;n =1&&n<=31||n>=48&&n<=57&&(t===0||t===1&&e.charCodeAt(0)===45)?"\\"+n.toString(16)+" ":t===0&&n===45&&e.length===1?"\\"+e.charAt(t):n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122?e.charAt(t):"\\"+e.charAt(t)}let ln;function f0(){ln=new Map}function We(e){let t=ln==null?void 0:ln.get(e);return t===void 0&&(t=e.replace(/\u200b/g,"").trim().replace(/\s+/g," "),ln==null||ln.set(e,t)),t}function so(e){return e.replace(/(^|[^\\])(\\\\)*\\(['"`])/g,"$1$2$3")}function bh(e){return e.unicode||e.unicodeSets?String(e):String(e).replace(/(^|[^\\])(\\\\)*(["'`])/g,"$1$2\\$3").replace(/>>/g,"\\>\\>")}function Ze(e,t){return typeof e!="string"?bh(e):`${JSON.stringify(e)}${t?"s":"i"}`}function Te(e,t){return typeof e!="string"?bh(e):`"${e.replace(/\\/g,"\\\\").replace(/["]/g,'\\"')}"${t?"s":"i"}`}function h0(e,t,n=""){if(e.length<=t)return e;const r=[...e];return r.length>t?r.slice(0,t-n.length).join("")+n:r.join("")}function Cc(e,t){return h0(e,t,"…")}function p0(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Lh={"&":"&","<":"<",">":">",'"':""","'":"'"};function m0(e){return e.replace(/[&<>"']/ug,t=>Lh[t])}function g0(e){return e.replace(/[&<]/ug,t=>Lh[t])}const re=function(e,t,n){return e>=t&&e<=n};function Me(e){return re(e,48,57)}function bc(e){return Me(e)||re(e,65,70)||re(e,97,102)}function v0(e){return re(e,65,90)}function y0(e){return re(e,97,122)}function w0(e){return v0(e)||y0(e)}function x0(e){return e>=128}function rs(e){return w0(e)||x0(e)||e===95}function Lc(e){return rs(e)||Me(e)||e===45}function S0(e){return re(e,0,8)||e===11||re(e,14,31)||e===127}function is(e){return e===10}function St(e){return is(e)||e===9||e===32}const _0=1114111;class Xa extends Error{constructor(t){super(t),this.name="InvalidCharacterError"}}function E0(e){const t=[];for(let n=0;n =t.length?-1:t[k]},o=function(k){if(k===void 0&&(k=1),k>3)throw"Spec Error: no more than three codepoints of lookahead.";return s(n+k)},l=function(k){return k===void 0&&(k=1),n+=k,i=s(n),!0},a=function(){return n-=1,!0},u=function(k){return k===void 0&&(k=i),k===-1},c=function(){if(p(),l(),St(i)){for(;St(o());)l();return new Hl}else{if(i===34)return y();if(i===35)if(Lc(o())||h(o(1),o(2))){const k=new Vh("");return v(o(1),o(2),o(3))&&(k.type="id"),k.value=C(),k}else return new ye(i);else return i===36?o()===61?(l(),new b0):new ye(i):i===39?y():i===40?new Dh:i===41?new Fh:i===42?o()===61?(l(),new L0):new ye(i):i===43?E()?(a(),f()):new ye(i):i===44?new Rh:i===45?E()?(a(),f()):o(1)===45&&o(2)===62?(l(2),new Mh):S()?(a(),g()):new ye(i):i===46?E()?(a(),f()):new ye(i):i===58?new Ih:i===59?new Ph:i===60?o(1)===33&&o(2)===45&&o(3)===45?(l(3),new jh):new ye(i):i===64?v(o(1),o(2),o(3))?new Bh(C()):new ye(i):i===91?new zh:i===92?m()?(a(),g()):new ye(i):i===93?new Ul:i===94?o()===61?(l(),new C0):new ye(i):i===123?new $h:i===124?o()===61?(l(),new N0):o()===124?(l(),new Hh):new ye(i):i===125?new Oh:i===126?o()===61?(l(),new k0):new ye(i):Me(i)?(a(),f()):rs(i)?(a(),g()):u()?new os:new ye(i)}},p=function(){for(;o(1)===47&&o(2)===42;)for(l(2);;)if(l(),i===42&&o()===47){l();break}else if(u())return},f=function(){const k=A();if(v(o(1),o(2),o(3))){const M=new A0;return M.value=k.value,M.repr=k.repr,M.type=k.type,M.unit=C(),M}else if(o()===37){l();const M=new Qh;return M.value=k.value,M.repr=k.repr,M}else{const M=new Xh;return M.value=k.value,M.repr=k.repr,M.type=k.type,M}},g=function(){const k=C();if(k.toLowerCase()==="url"&&o()===40){for(l();St(o(1))&&St(o(2));)l();return o()===34||o()===39?new ls(k):St(o())&&(o(2)===34||o(2)===39)?new ls(k):w()}else return o()===40?(l(),new ls(k)):new Uh(k)},y=function(k){k===void 0&&(k=i);let M="";for(;l();){if(i===k||u())return new Wh(M);if(is(i))return a(),new Ah;i===92?u(o())||(is(o())?l():M+=se(x())):M+=se(i)}throw new Error("Internal error")},w=function(){const k=new qh("");for(;St(o());)l();if(u(o()))return k;for(;l();){if(i===41||u())return k;if(St(i)){for(;St(o());)l();return o()===41||u(o())?(l(),k):(T(),new ss)}else{if(i===34||i===39||i===40||S0(i))return T(),new ss;if(i===92)if(m())k.value+=se(x());else return T(),new ss;else k.value+=se(i)}}throw new Error("Internal error")},x=function(){if(l(),bc(i)){const k=[i];for(let $=0;$<5&&bc(o());$++)l(),k.push(i);St(o())&&l();let M=parseInt(k.map(function($){return String.fromCharCode($)}).join(""),16);return M>_0&&(M=65533),M}else return u()?65533:i},h=function(k,M){return!(k!==92||is(M))},m=function(){return h(i,o())},v=function(k,M,$){return k===45?rs(M)||M===45||h(M,$):rs(k)?!0:k===92?h(k,M):!1},S=function(){return v(i,o(1),o(2))},N=function(k,M,$){return k===43||k===45?!!(Me(M)||M===46&&Me($)):k===46?!!Me(M):!!Me(k)},E=function(){return N(i,o(1),o(2))},C=function(){let k="";for(;l();)if(Lc(i))k+=se(i);else if(m())k+=se(x());else return a(),k;throw new Error("Internal parse error")},A=function(){let k="",M="integer";for((o()===43||o()===45)&&(l(),k+=se(i));Me(o());)l(),k+=se(i);if(o(1)===46&&Me(o(2)))for(l(),k+=se(i),l(),k+=se(i),M="number";Me(o());)l(),k+=se(i);const $=o(1),ce=o(2),Fe=o(3);if(($===69||$===101)&&Me(ce))for(l(),k+=se(i),l(),k+=se(i),M="number";Me(o());)l(),k+=se(i);else if(($===69||$===101)&&(ce===43||ce===45)&&Me(Fe))for(l(),k+=se(i),l(),k+=se(i),l(),k+=se(i),M="number";Me(o());)l(),k+=se(i);const me=_(k);return{type:M,value:me,repr:k}},_=function(k){return+k},T=function(){for(;l();){if(i===41||u())return;m()&&x()}};let j=0;for(;!u(o());)if(r.push(c()),j++,j>t.length*2)throw new Error("I'm infinite-looping!");return r}class te{constructor(){this.tokenType=""}toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class Ah extends te{constructor(){super(...arguments),this.tokenType="BADSTRING"}}class ss extends te{constructor(){super(...arguments),this.tokenType="BADURL"}}class Hl extends te{constructor(){super(...arguments),this.tokenType="WHITESPACE"}toString(){return"WS"}toSource(){return" "}}class jh extends te{constructor(){super(...arguments),this.tokenType="CDO"}toSource(){return""}}class Ih extends te{constructor(){super(...arguments),this.tokenType=":"}}class Ph extends te{constructor(){super(...arguments),this.tokenType=";"}}class Rh extends te{constructor(){super(...arguments),this.tokenType=","}}class cr extends te{constructor(){super(...arguments),this.value="",this.mirror=""}}class $h extends cr{constructor(){super(),this.tokenType="{",this.value="{",this.mirror="}"}}class Oh extends cr{constructor(){super(),this.tokenType="}",this.value="}",this.mirror="{"}}class zh extends cr{constructor(){super(),this.tokenType="[",this.value="[",this.mirror="]"}}class Ul extends cr{constructor(){super(),this.tokenType="]",this.value="]",this.mirror="["}}class Dh extends cr{constructor(){super(),this.tokenType="(",this.value="(",this.mirror=")"}}class Fh extends cr{constructor(){super(),this.tokenType=")",this.value=")",this.mirror="("}}class k0 extends te{constructor(){super(...arguments),this.tokenType="~="}}class N0 extends te{constructor(){super(...arguments),this.tokenType="|="}}class C0 extends te{constructor(){super(...arguments),this.tokenType="^="}}class b0 extends te{constructor(){super(...arguments),this.tokenType="$="}}class L0 extends te{constructor(){super(...arguments),this.tokenType="*="}}class Hh extends te{constructor(){super(...arguments),this.tokenType="||"}}class os extends te{constructor(){super(...arguments),this.tokenType="EOF"}toSource(){return""}}class ye extends te{constructor(t){super(),this.tokenType="DELIM",this.value="",this.value=se(t)}toString(){return"DELIM("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t}toSource(){return this.value==="\\"?`\\ +`:this.value}}class dr extends te{constructor(){super(...arguments),this.value=""}ASCIIMatch(t){return this.value.toLowerCase()===t.toLowerCase()}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t}}class Uh extends dr{constructor(t){super(),this.tokenType="IDENT",this.value=t}toString(){return"IDENT("+this.value+")"}toSource(){return gi(this.value)}}class ls extends dr{constructor(t){super(),this.tokenType="FUNCTION",this.value=t,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return gi(this.value)+"("}}class Bh extends dr{constructor(t){super(),this.tokenType="AT-KEYWORD",this.value=t}toString(){return"AT("+this.value+")"}toSource(){return"@"+gi(this.value)}}class Vh extends dr{constructor(t){super(),this.tokenType="HASH",this.value=t,this.type="unrestricted"}toString(){return"HASH("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.type=this.type,t}toSource(){return this.type==="id"?"#"+gi(this.value):"#"+j0(this.value)}}class Wh extends dr{constructor(t){super(),this.tokenType="STRING",this.value=t}toString(){return'"'+Kh(this.value)+'"'}}class qh extends dr{constructor(t){super(),this.tokenType="URL",this.value=t}toString(){return"URL("+this.value+")"}toSource(){return'url("'+Kh(this.value)+'")'}}class Xh extends te{constructor(){super(),this.tokenType="NUMBER",this.type="integer",this.repr=""}toString(){return this.type==="integer"?"INT("+this.value+")":"NUMBER("+this.value+")"}toJSON(){const t=super.toJSON();return t.value=this.value,t.type=this.type,t.repr=this.repr,t}toSource(){return this.repr}}class Qh extends te{constructor(){super(),this.tokenType="PERCENTAGE",this.repr=""}toString(){return"PERCENTAGE("+this.value+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.repr=this.repr,t}toSource(){return this.repr+"%"}}class A0 extends te{constructor(){super(),this.tokenType="DIMENSION",this.type="integer",this.repr="",this.unit=""}toString(){return"DIM("+this.value+","+this.unit+")"}toJSON(){const t=this.constructor.prototype.constructor.prototype.toJSON.call(this);return t.value=this.value,t.type=this.type,t.repr=this.repr,t.unit=this.unit,t}toSource(){const t=this.repr;let n=gi(this.unit);return n[0].toLowerCase()==="e"&&(n[1]==="-"||re(n.charCodeAt(1),48,57))&&(n="\\65 "+n.slice(1,n.length)),t+n}}function gi(e){e=""+e;let t="";const n=e.charCodeAt(0);for(let r=0;r =128||i===45||i===95||re(i,48,57)||re(i,65,90)||re(i,97,122)?t+=e[r]:t+="\\"+e[r]}return t}function j0(e){e=""+e;let t="";for(let n=0;n =128||r===45||r===95||re(r,48,57)||re(r,65,90)||re(r,97,122)?t+=e[n]:t+="\\"+r.toString(16)+" "}return t}function Kh(e){e=""+e;let t="";for(let n=0;n _ instanceof Bh||_ instanceof Ah||_ instanceof ss||_ instanceof Hh||_ instanceof jh||_ instanceof Mh||_ instanceof Ph||_ instanceof $h||_ instanceof Oh||_ instanceof qh||_ instanceof Qh);if(r)throw new Pe(`Unsupported token "${r.toSource()}" while parsing selector "${e}"`);let i=0;const s=new Set;function o(){return new Pe(`Unexpected token "${n[i].toSource()}" while parsing selector "${e}"`)}function l(){for(;n[i]instanceof Hl;)i++}function a(_=i){return n[_]instanceof Uh}function u(_=i){return n[_]instanceof Wh}function c(_=i){return n[_]instanceof Xh}function p(_=i){return n[_]instanceof Rh}function f(_=i){return n[_]instanceof Dh}function g(_=i){return n[_]instanceof Fh}function y(_=i){return n[_]instanceof ls}function w(_=i){return n[_]instanceof ye&&n[_].value==="*"}function x(_=i){return n[_]instanceof os}function h(_=i){return n[_]instanceof ye&&[">","+","~"].includes(n[_].value)}function m(_=i){return p(_)||g(_)||x(_)||h(_)||n[_]instanceof Hl}function v(){const _=[S()];for(;l(),!!p();)i++,_.push(S());return _}function S(){return l(),c()||u()?n[i++].value:N()}function N(){const _={simples:[]};for(l(),h()?_.simples.push({selector:{functions:[{name:"scope",args:[]}]},combinator:""}):_.simples.push({selector:E(),combinator:""});;){if(l(),h())_.simples[_.simples.length-1].combinator=n[i++].value,l();else if(m())break;_.simples.push({combinator:"",selector:E()})}return _}function E(){let _="";const T=[];for(;!m();)if(a()||w())_+=n[i++].toSource();else if(n[i]instanceof Vh)_+=n[i++].toSource();else if(n[i]instanceof ye&&n[i].value===".")if(i++,a())_+="."+n[i++].toSource();else throw o();else if(n[i]instanceof Ih)if(i++,a())if(!t.has(n[i].value.toLowerCase()))_+=":"+n[i++].toSource();else{const j=n[i++].value.toLowerCase();T.push({name:j,args:[]}),s.add(j)}else if(y()){const j=n[i++].value.toLowerCase();if(t.has(j)?(T.push({name:j,args:v()}),s.add(j)):_+=`:${j}(${C()})`,l(),!g())throw o();i++}else throw o();else if(n[i]instanceof zh){for(_+="[",i++;!(n[i]instanceof Ul)&&!x();)_+=n[i++].toSource();if(!(n[i]instanceof Ul))throw o();_+="]",i++}else throw o();if(!_&&!T.length)throw o();return{css:_||void 0,functions:T}}function C(){let _="",T=1;for(;!x()&&((f()||y())&&T++,g()&&T--,!!T);)_+=n[i++].toSource();return _}const A=v();if(!x())throw o();if(A.some(_=>typeof _!="object"||!("simples"in _)))throw new Pe(`Error while parsing selector "${e}"`);return{selector:A,names:Array.from(s)}}const Bl=new Set(["internal:has","internal:has-not","internal:and","internal:or","internal:chain","left-of","right-of","above","below","near"]),I0=new Set(["left-of","right-of","above","below","near"]),Gh=new Set(["not","is","where","has","scope","light","visible","text","text-matches","text-is","has-text","above","below","right-of","left-of","near","nth-match"]);function oo(e){const t=$0(e),n=[];for(const r of t.parts){if(r.name==="css"||r.name==="css:light"){r.name==="css:light"&&(r.body=":light("+r.body+")");const i=M0(r.body,Gh);n.push({name:"css",body:i.selector,source:r.body});continue}if(Bl.has(r.name)){let i,s;try{const u=JSON.parse("["+r.body+"]");if(!Array.isArray(u)||u.length<1||u.length>2||typeof u[0]!="string")throw new Pe(`Malformed selector: ${r.name}=`+r.body);if(i=u[0],u.length===2){if(typeof u[1]!="number"||!I0.has(r.name))throw new Pe(`Malformed selector: ${r.name}=`+r.body);s=u[1]}}catch{throw new Pe(`Malformed selector: ${r.name}=`+r.body)}const o={name:r.name,source:r.body,body:{parsed:oo(i),distance:s}},l=[...o.body.parsed.parts].reverse().find(u=>u.name==="internal:control"&&u.body==="enter-frame"),a=l?o.body.parsed.parts.indexOf(l):-1;a!==-1&&P0(o.body.parsed.parts.slice(0,a+1),n.slice(0,a+1))&&o.body.parsed.parts.splice(0,a+1),n.push(o);continue}n.push({...r,source:r.body})}if(Bl.has(n[0].name))throw new Pe(`"${n[0].name}" selector cannot be first`);return{capture:t.capture,parts:n}}function P0(e,t){return Sn({parts:e})===Sn({parts:t})}function Sn(e,t){return typeof e=="string"?e:e.parts.map((n,r)=>{let i=!0;!t&&r!==e.capture&&(n.name==="css"||n.name==="xpath"&&n.source.startsWith("//")||n.source.startsWith(".."))&&(i=!1);const s=i?n.name+"=":"";return`${r===e.capture?"*":""}${s}${n.source}`}).join(" >> ")}function R0(e,t){const n=(r,i)=>{for(const s of r.parts)t(s,i),Bl.has(s.name)&&n(s.body.parsed,!0)};n(e,!1)}function $0(e){let t=0,n,r=0;const i={parts:[]},s=()=>{const l=e.substring(r,t).trim(),a=l.indexOf("=");let u,c;a!==-1&&l.substring(0,a).trim().match(/^[a-zA-Z_0-9-+:*]+$/)?(u=l.substring(0,a).trim(),c=l.substring(a+1)):l.length>1&&l[0]==='"'&&l[l.length-1]==='"'||l.length>1&&l[0]==="'"&&l[l.length-1]==="'"?(u="text",c=l):/^\(*\/\//.test(l)||l.startsWith("..")?(u="xpath",c=l):(u="css",c=l);let p=!1;if(u[0]==="*"&&(p=!0,u=u.substring(1)),i.parts.push({name:u,body:c}),p){if(i.capture!==void 0)throw new Pe("Only one of the selectors can capture using * modifier");i.capture=i.parts.length-1}};if(!e.includes(">>"))return t=e.length,s(),i;const o=()=>{const a=e.substring(r,t).match(/^\s*text\s*=(.*)$/);return!!a&&!!a[1]};for(;t "&&e[t+1]===">"?(s(),t+=2,r=t):t++}return s(),i}function mn(e,t){let n=0,r=e.length===0;const i=()=>e[n]||"",s=()=>{const x=i();return++n,r=n>=e.length,x},o=x=>{throw r?new Pe(`Unexpected end of selector while parsing selector \`${e}\``):new Pe(`Error while parsing selector \`${e}\` - unexpected symbol "${i()}" at position ${n}`+(x?" during "+x:""))};function l(){for(;!r&&/\s/.test(i());)s()}function a(x){return x>=""||x>="0"&&x<="9"||x>="A"&&x<="Z"||x>="a"&&x<="z"||x>="0"&&x<="9"||x==="_"||x==="-"}function u(){let x="";for(l();!r&&a(i());)x+=s();return x}function c(x){let h=s();for(h!==x&&o("parsing quoted string");!r&&i()!==x;)i()==="\\"&&s(),h+=s();return i()!==x&&o("parsing quoted string"),h+=s(),h}function p(){s()!=="/"&&o("parsing regular expression");let x="",h=!1;for(;!r;){if(i()==="\\")x+=s(),r&&o("parsing regular expression");else if(h&&i()==="]")h=!1;else if(!h&&i()==="[")h=!0;else if(!h&&i()==="/")break;x+=s()}s()!=="/"&&o("parsing regular expression");let m="";for(;!r&&i().match(/[dgimsuy]/);)m+=s();try{return new RegExp(x,m)}catch(v){throw new Pe(`Error while parsing selector \`${e}\`: ${v.message}`)}}function f(){let x="";return l(),i()==="'"||i()==='"'?x=c(i()).slice(1,-1):x=u(),x||o("parsing property path"),x}function g(){l();let x="";return r||(x+=s()),!r&&x!=="="&&(x+=s()),["=","*=","^=","$=","|=","~="].includes(x)||o("parsing operator"),x}function y(){s();const x=[];for(x.push(f()),l();i()===".";)s(),x.push(f()),l();if(i()==="]")return s(),{name:x.join("."),jsonPath:x,op:" ",value:null,caseSensitive:!1};const h=g();let m,v=!0;if(l(),i()==="/"){if(h!=="=")throw new Pe(`Error while parsing selector \`${e}\` - cannot use ${h} in attribute with regular expression`);m=p()}else if(i()==="'"||i()==='"')m=c(i()).slice(1,-1),l(),i()==="i"||i()==="I"?(v=!1,s()):(i()==="s"||i()==="S")&&(v=!0,s());else{for(m="";!r&&(a(i())||i()==="+"||i()===".");)m+=s();m==="true"?m=!0:m==="false"?m=!1:t||(m=+m,Number.isNaN(m)&&o("parsing attribute value"))}if(l(),i()!=="]"&&o("parsing attribute value"),s(),h!=="="&&typeof m!="string")throw new Pe(`Error while parsing selector \`${e}\` - cannot use ${h} in attribute with non-string matching value - ${m}`);return{name:x.join("."),jsonPath:x,op:h,value:m,caseSensitive:v}}const w={name:"",attributes:[]};for(w.name=u(),l();i()==="[";)w.attributes.push(y()),l();if(r||o(void 0),!w.name&&!w.attributes.length)throw new Pe(`Error while parsing selector \`${e}\` - selector cannot be empty`);return w}function Yt(e,t,n=!1){return Yh(e,t,n)[0]}function Yh(e,t,n=!1,r=20,i){try{return Mn(new B0[e](i),oo(t),n,r)}catch{return[t]}}function Mn(e,t,n=!1,r=20){const i=[...t.parts];for(let l=0;l e.generateLocator(u,"has",x)));continue}if(a.name==="internal:has-not"){const w=Mn(e,a.body.parsed,!1,r);s.push(w.map(x=>e.generateLocator(u,"hasNot",x)));continue}if(a.name==="internal:and"){const w=Mn(e,a.body.parsed,!1,r);s.push(w.map(x=>e.generateLocator(u,"and",x)));continue}if(a.name==="internal:or"){const w=Mn(e,a.body.parsed,!1,r);s.push(w.map(x=>e.generateLocator(u,"or",x)));continue}if(a.name==="internal:chain"){const w=Mn(e,a.body.parsed,!1,r);s.push(w.map(x=>e.generateLocator(u,"chain",x)));continue}if(a.name==="internal:label"){const{exact:w,text:x}=Nr(a.body);s.push([e.generateLocator(u,"label",x,{exact:w})]);continue}if(a.name==="internal:role"){const w=mn(a.body,!0),x={attrs:[]};for(const h of w.attributes)h.name==="name"?(x.exact=h.caseSensitive,x.name=h.value):(h.name==="level"&&typeof h.value=="string"&&(h.value=+h.value),x.attrs.push({name:h.name==="include-hidden"?"includeHidden":h.name,value:h.value}));s.push([e.generateLocator(u,"role",w.name,x)]);continue}if(a.name==="internal:testid"){const w=mn(a.body,!0),{value:x}=w.attributes[0];s.push([e.generateLocator(u,"test-id",x)]);continue}if(a.name==="internal:attr"){const w=mn(a.body,!0),{name:x,value:h,caseSensitive:m}=w.attributes[0],v=h,S=!!m;if(x==="placeholder"){s.push([e.generateLocator(u,"placeholder",v,{exact:S})]);continue}if(x==="alt"){s.push([e.generateLocator(u,"alt",v,{exact:S})]);continue}if(x==="title"){s.push([e.generateLocator(u,"title",v,{exact:S})]);continue}}let c="default";const p=i[l+1];p&&p.name==="internal:control"&&p.body==="enter-frame"&&(c="frame",o="frame-locator",l++);const f=Sn({parts:[a]}),g=e.generateLocator(u,c,f);if(c==="default"&&p&&["internal:has-text","internal:has-not-text"].includes(p.name)){const{exact:w,text:x}=Nr(p.body);if(!w){const h=e.generateLocator("locator",p.name==="internal:has-text"?"has-text":"has-not-text",x,{exact:w}),m={};p.name==="internal:has-text"?m.hasText=x:m.hasNotText=x;const v=e.generateLocator(u,"default",f,m);s.push([e.chainLocators([g,h]),v]),l++;continue}}let y;if(["xpath","css"].includes(a.name)){const w=Sn({parts:[a]},!0);y=e.generateLocator(u,c,w)}s.push([g,y].filter(Boolean))}return O0(e,s,r)}function O0(e,t,n){const r=t.map(()=>""),i=[],s=o=>{if(o===t.length)return i.push(e.chainLocators(r)),r.length JSON.parse(r));for(let r=0;r {y==null||y(S)},[y,S]),b.useEffect(()=>{const E=v.current;if(!E)return;const C=()=>{Ac.set(e,E.scrollTop)};return E.addEventListener("scroll",C,{passive:!0}),()=>E.removeEventListener("scroll",C)},[e]),b.useEffect(()=>{v.current&&(v.current.scrollTop=Ac.get(e)||0)},[e]),d.jsx("div",{className:Ne("list-view vbox",e+"-list-view"),role:t.length>0?"list":void 0,"data-testid":h||e+"-list",children:d.jsxs("div",{className:Ne("list-view-content",m&&"not-selectable"),tabIndex:0,onKeyDown:E=>{var T;if(u&&E.key==="Enter"){c==null||c(u,t.indexOf(u));return}if(E.key!=="ArrowDown"&&E.key!=="ArrowUp"&&E.key!=="ArrowLeft"&&E.key!=="ArrowRight")return;if(E.stopPropagation(),E.preventDefault(),u&&E.key==="ArrowLeft"){f==null||f(u,t.indexOf(u));return}if(u&&E.key==="ArrowRight"){g==null||g(u,t.indexOf(u));return}const C=u?t.indexOf(u):-1;let A=C;E.key==="ArrowDown"&&(C===-1?A=0:A=Math.min(C+1,t.length-1)),E.key==="ArrowUp"&&(C===-1?A=t.length-1:A=Math.max(C-1,0));const _=(T=v.current)==null?void 0:T.children.item(A);V0(_||void 0),y==null||y(void 0),p==null||p(t[A],A),N(void 0)},ref:v,children:[x&&t.length===0&&d.jsx("div",{className:"list-view-empty",children:x}),t.map((E,C)=>{const A=(a==null?void 0:a(E,C))||0,_=r(E,C);return d.jsxs("div",{onDoubleClick:()=>c==null?void 0:c(E,C),role:"listitem",className:Ne("list-view-entry",u===E&&"selected",!m&&S===E&&"highlighted",(s==null?void 0:s(E,C))&&"error",(o==null?void 0:o(E,C))&&"warning",(l==null?void 0:l(E,C))&&"info"),onClick:()=>p==null?void 0:p(E,C),onMouseEnter:()=>N(E),onMouseLeave:()=>N(void 0),children:[A?new Array(A).fill(0).map(()=>d.jsx("div",{className:"list-view-indent"})):void 0,i&&d.jsx("div",{className:"codicon "+(i(E,C)||"codicon-blank"),style:{minWidth:16,marginRight:4},onDoubleClick:T=>{T.preventDefault(),T.stopPropagation()},onClick:T=>{T.stopPropagation(),T.preventDefault(),w==null||w(E,C)}}),typeof _=="string"?d.jsx("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:_}):_]},(n==null?void 0:n(E,C))||C)})]})})}function V0(e){e&&(e!=null&&e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e==null||e.scrollIntoView())}const W0=vi;function q0({name:e,rootItem:t,render:n,icon:r,isError:i,isVisible:s,selectedItem:o,onAccepted:l,onSelected:a,onHighlighted:u,treeState:c,setTreeState:p,noItemsMessage:f,dataTestId:g,autoExpandDepth:y}){const w=b.useMemo(()=>X0(t,o,c.expandedItems,y||0),[t,o,c,y]),x=b.useMemo(()=>{if(!s)return[...w.keys()];const h=new Map,m=S=>{const N=h.get(S);if(N!==void 0)return N;let E=S.children.some(A=>m(A));for(const A of S.children){const _=m(A);E=E||_}const C=s(S)||E;return h.set(S,C),C};for(const S of w.keys())m(S);const v=[];for(const S of w.keys())s(S)&&v.push(S);return v},[w,s]);return d.jsx(W0,{name:e,items:x,id:h=>h.id,dataTestId:g||e+"-tree",render:h=>{const m=n(h);return d.jsxs(d.Fragment,{children:[r&&d.jsx("div",{className:"codicon "+(r(h)||"blank"),style:{minWidth:16,marginRight:4}}),typeof m=="string"?d.jsx("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:m}):m]})},icon:h=>{const m=w.get(h).expanded;if(typeof m=="boolean")return m?"codicon-chevron-down":"codicon-chevron-right"},isError:h=>(i==null?void 0:i(h))||!1,indent:h=>w.get(h).depth,selectedItem:o,onAccepted:h=>l==null?void 0:l(h),onSelected:h=>a==null?void 0:a(h),onHighlighted:h=>u==null?void 0:u(h),onLeftArrow:h=>{const{expanded:m,parent:v}=w.get(h);m?(c.expandedItems.set(h.id,!1),p({...c})):v&&(a==null||a(v))},onRightArrow:h=>{h.children.length&&(c.expandedItems.set(h.id,!0),p({...c}))},onIconClicked:h=>{const{expanded:m}=w.get(h);if(m){for(let v=o;v;v=v.parent)if(v===h){a==null||a(h);break}c.expandedItems.set(h.id,!1)}else c.expandedItems.set(h.id,!0);p({...c})},noItemsMessage:f})}function X0(e,t,n,r){const i=new Map,s=new Set;for(let l=t==null?void 0:t.parent;l;l=l.parent)s.add(l.id);const o=(l,a)=>{for(const u of l.children){const c=s.has(u.id)||n.get(u.id),p=r>a&&i.size<25&&c!==!1,f=u.children.length?c??p:void 0;i.set(u,{depth:a,expanded:f,parent:e===l?null:l}),f&&o(u,a+1)}};return o(e,0),i}const Q0=q0,K0=({actions:e,selectedAction:t,selectedTime:n,setSelectedTime:r,sdkLanguage:i,onSelected:s,onHighlighted:o,revealConsole:l,isLive:a})=>{const[u,c]=b.useState({expandedItems:new Map}),{rootItem:p,itemMap:f}=b.useMemo(()=>r0(e),[e]),{selectedItem:g}=b.useMemo(()=>({selectedItem:t?f.get(t.callId):void 0}),[f,t]);return d.jsxs("div",{className:"vbox",children:[n&&d.jsxs("div",{className:"action-list-show-all",onClick:()=>r(void 0),children:[d.jsx("span",{className:"codicon codicon-triangle-left"}),"Show all"]}),d.jsx(Q0,{name:"actions",rootItem:p,treeState:u,setTreeState:c,selectedItem:g,onSelected:y=>s(y.action),onHighlighted:y=>o(y==null?void 0:y.action),onAccepted:y=>r({minimum:y.action.startTime,maximum:y.action.endTime}),isError:y=>{var w,x;return!!((x=(w=y.action)==null?void 0:w.error)!=null&&x.message)},isVisible:y=>!n||y.action.startTime<=n.maximum&&y.action.endTime>=n.minimum,render:y=>Qa(y.action,{sdkLanguage:i,revealConsole:l,isLive:a,showDuration:!0,showBadges:!0})})]})},Qa=(e,t)=>{const{sdkLanguage:n,revealConsole:r,isLive:i,showDuration:s,showBadges:o}=t,{errors:l,warnings:a}=o0(e),u=e.params.selector?Yt(n||"javascript",e.params.selector):void 0;let c="";return e.endTime?c=et(e.endTime-e.startTime):e.error?c="Timed out":i||(c="-"),d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"action-title",title:e.apiName,children:[d.jsx("span",{children:e.apiName}),u&&d.jsx("div",{className:"action-selector",title:u,children:u}),e.method==="goto"&&e.params.url&&d.jsx("div",{className:"action-url",title:e.params.url,children:e.params.url}),e.class==="APIRequestContext"&&e.params.url&&d.jsx("div",{className:"action-url",title:e.params.url,children:G0(e.params.url)})]}),(s||o)&&d.jsx("div",{className:"spacer"}),s&&d.jsx("div",{className:"action-duration",children:c||d.jsx("span",{className:"codicon codicon-loading"})}),o&&d.jsxs("div",{className:"action-icons",onClick:()=>r==null?void 0:r(),children:[!!l&&d.jsxs("div",{className:"action-icon",children:[d.jsx("span",{className:"codicon codicon-error"}),d.jsx("span",{className:"action-icon-value",children:l})]}),!!a&&d.jsxs("div",{className:"action-icon",children:[d.jsx("span",{className:"codicon codicon-warning"}),d.jsx("span",{className:"action-icon-value",children:a})]})]})]})};function G0(e){try{const t=new URL(e);return t.pathname+t.search}catch{return e}}const Jh=({value:e,description:t})=>{const[n,r]=b.useState("copy"),i=b.useCallback(()=>{navigator.clipboard.writeText(e).then(()=>{r("check"),setTimeout(()=>{r("copy")},3e3)},()=>{r("close")})},[e]);return d.jsx(en,{title:t||"Copy",icon:n,onClick:i})},kn=({text:e})=>d.jsx("div",{className:"fill",style:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:24,fontWeight:"bold",opacity:.5},children:e}),Y0=({action:e,sdkLanguage:t})=>{if(!e)return d.jsx(kn,{text:"No action selected"});const n={...e.params};delete n.info;const r=Object.keys(n),i=e.startTime+(e.context.wallTime-e.context.startTime),s=new Date(i).toLocaleString(),o=e.endTime?et(e.endTime-e.startTime):"Timed Out";return d.jsxs("div",{className:"call-tab",children:[d.jsx("div",{className:"call-line",children:e.apiName}),d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"call-section",children:"Time"}),s&&d.jsxs("div",{className:"call-line",children:["wall time:",d.jsx("span",{className:"call-value datetime",title:s,children:s})]}),d.jsxs("div",{className:"call-line",children:["duration:",d.jsx("span",{className:"call-value datetime",title:o,children:o})]})]}),!!r.length&&d.jsx("div",{className:"call-section",children:"Parameters"}),!!r.length&&r.map((l,a)=>jc(Mc(e,l,n[l],t),"param-"+a)),!!e.result&&d.jsx("div",{className:"call-section",children:"Return value"}),!!e.result&&Object.keys(e.result).map((l,a)=>jc(Mc(e,l,e.result[l],t),"result-"+a))]})};function jc(e,t){let n=e.text.replace(/\n/g,"↵");return e.type==="string"&&(n=`"${n}"`),d.jsxs("div",{className:"call-line",children:[e.name,":",d.jsx("span",{className:Ne("call-value",e.type),title:e.text,children:n}),["string","number","object","locator"].includes(e.type)&&d.jsx(Jh,{value:e.text})]},t)}function Mc(e,t,n,r){const i=e.method.includes("eval")||e.method==="waitForFunction";if(t==="files")return{text:" ",type:"string",name:t};if((t==="eventInit"||t==="expectedValue"||t==="arg"&&i)&&(n=Ds(n.value,new Array(10).fill({handle:" "}))),(t==="value"&&i||t==="received"&&e.method==="expect")&&(n=Ds(n,new Array(10).fill({handle:" "}))),t==="selector")return{text:Yt(r||"javascript",e.params.selector),type:"locator",name:"locator"};const s=typeof n;return s!=="object"||n===null?{text:String(n),type:s,name:t}:n.guid?{text:" ",type:"handle",name:t}:{text:JSON.stringify(n).slice(0,1e3),type:"object",name:t}}function Ds(e,t){if(e.n!==void 0)return e.n;if(e.s!==void 0)return e.s;if(e.b!==void 0)return e.b;if(e.v!==void 0){if(e.v==="undefined")return;if(e.v==="null")return null;if(e.v==="NaN")return NaN;if(e.v==="Infinity")return 1/0;if(e.v==="-Infinity")return-1/0;if(e.v==="-0")return-0}if(e.d!==void 0)return new Date(e.d);if(e.r!==void 0)return new RegExp(e.r.p,e.r.f);if(e.a!==void 0)return e.a.map(n=>Ds(n,t));if(e.o!==void 0){const n={};for(const{k:r,v:i}of e.o)n[r]=Ds(i,t);return n}return e.h!==void 0?t===void 0?"