diff --git a/20241114_155320Z/data/24311c5237729f2444544861048630c673774857.png b/20241114_155320Z/data/24311c5237729f2444544861048630c673774857.png new file mode 100644 index 00000000000..4fa7dc0668b Binary files /dev/null and b/20241114_155320Z/data/24311c5237729f2444544861048630c673774857.png differ diff --git a/20241114_155320Z/data/4086cfcb5d6b64ccd15558994625f2a607b9cdf4.png b/20241114_155320Z/data/4086cfcb5d6b64ccd15558994625f2a607b9cdf4.png new file mode 100644 index 00000000000..ec677d15e8c Binary files /dev/null and b/20241114_155320Z/data/4086cfcb5d6b64ccd15558994625f2a607b9cdf4.png differ diff --git a/20241114_155320Z/data/c3819246545cf88c3705b97f3fe6870c5a69c982.zip b/20241114_155320Z/data/c3819246545cf88c3705b97f3fe6870c5a69c982.zip new file mode 100644 index 00000000000..553a997b345 Binary files /dev/null and b/20241114_155320Z/data/c3819246545cf88c3705b97f3fe6870c5a69c982.zip differ diff --git a/20241114_155320Z/index.html b/20241114_155320Z/index.html new file mode 100644 index 00000000000..4d5af5e13de --- /dev/null +++ b/20241114_155320Z/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 i.map(i=>d[i]); +var Cp=Object.defineProperty;var Np=(e,t,n)=>t in e?Cp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var H=(e,t,n)=>Np(e,typeof t!="symbol"?t+"":t,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 o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var D1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pc={exports:{}},Eo={},Rc={exports:{}},O={};/** + * @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 Gr=Symbol.for("react.element"),Ap=Symbol.for("react.portal"),Lp=Symbol.for("react.fragment"),Ip=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),Pp=Symbol.for("react.provider"),Rp=Symbol.for("react.context"),$p=Symbol.for("react.forward_ref"),Op=Symbol.for("react.suspense"),jp=Symbol.for("react.memo"),Dp=Symbol.for("react.lazy"),Ua=Symbol.iterator;function zp(e){return e===null||typeof e!="object"?null:(e=Ua&&e[Ua]||e["@@iterator"],typeof e=="function"?e:null)}var $c={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oc=Object.assign,jc={};function Qn(e,t,n){this.props=e,this.context=t,this.refs=jc,this.updater=n||$c}Qn.prototype.isReactComponent={};Qn.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")};Qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dc(){}Dc.prototype=Qn.prototype;function Rl(e,t,n){this.props=e,this.context=t,this.refs=jc,this.updater=n||$c}var $l=Rl.prototype=new Dc;$l.constructor=Rl;Oc($l,Qn.prototype);$l.isPureReactComponent=!0;var Va=Array.isArray,zc=Object.prototype.hasOwnProperty,Ol={current:null},Fc={key:!0,ref:!0,__self:!0,__source:!0};function Hc(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)zc.call(t,r)&&!Fc.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1 {let s=!1;return e().then(l=>{s||o(l)}),()=>{s=!0}},t),i}function To(){const e=Ze.useRef(null),[t,n]=Ze.useState(new DOMRect(0,0,10,10));return Ze.useLayoutEffect(()=>{const r=e.current;if(!r)return;const i=new ResizeObserver(o=>{const s=o[o.length-1];s&&s.contentRect&&n(s.contentRect)});return i.observe(r),()=>i.disconnect()},[e]),[t,e]}function Is(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 Yp(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 z1(e,t,n,r,i){let o=0,s=i!==void 0?i:e.length;for(;o >1;n(t,e[l])>=0?o=l+1:s=l}return s}function Jp(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 qa(e,t){e&&(t=Yt.getObject(e,t));const[n,r]=Ze.useState(t),i=Ze.useCallback(o=>{e?Yt.setObject(e,o):r(o)},[e,r]);return Ze.useEffect(()=>{if(e){const o=()=>r(Yt.getObject(e,t));return Yt.onChangeEmitter.addEventListener(e,o),()=>Yt.onChangeEmitter.removeEventListener(e,o)}},[t,e]),[n,i]}class Zp{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 Yt=new Zp;function et(...e){return e.filter(Boolean).join(" ")}async function F1(e){const t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-1",t))).map(n=>n.toString(16).padStart(2,"0")).join("")}const Wa="\\u0000-\\u0020\\u007f-\\u009f",eg=new RegExp("(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|www\\.)[^\\s"+Wa+'"]{2,}[^\\s'+Wa+`"')}\\],:;.!?]`,"ug");function H1(){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=Yt.getString("theme","light-mode"),t=window.matchMedia("(prefers-color-scheme: dark)");(e==="dark-mode"||t.matches)&&document.body.classList.add("dark-mode")}const Dl=new Set;function tg(){const e=Ms(),t=e==="dark-mode"?"light-mode":"dark-mode";e&&document.body.classList.remove(e),document.body.classList.add(t),Yt.setString("theme",t);for(const n of Dl)n(t)}function U1(e){Dl.add(e)}function V1(e){Dl.delete(e)}function Ms(){return document.body.classList.contains("dark-mode")?"dark-mode":"light-mode"}function B1(){const[e,t]=Ze.useState(Ms()==="dark-mode");return[e,n=>{Ms()==="dark-mode"!==n&&tg(),t(n)}]}var Vc={exports:{}},ze={},Bc={exports:{}},qc={};/** + * @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(L,R){var $=L.length;L.push(R);e:for(;0<$;){var J=$-1>>>1,se=L[J];if(0>>1;Ji(Wo,$))Qt i(ri,Wo)?(L[J]=ri,L[Qt]=$,J=Qt):(L[J]=Wo,L[Wt]=$,J=Wt);else if(Qt i(ri,$))L[J]=ri,L[Qt]=$,J=Qt;else break e}}return R}function i(L,R){var $=L.sortIndex-R.sortIndex;return $!==0?$:L.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,g=!1,y=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(L){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=L)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function _(L){if(v=!1,m(L),!y)if(n(a)!==null)y=!0,er(T);else{var R=n(u);R!==null&&tr(_,R.startTime-L)}}function T(L,R){y=!1,v&&(v=!1,p(b),b=-1),g=!0;var $=d;try{for(m(R),f=n(a);f!==null&&(!(f.expirationTime>R)||L&&!D());){var J=f.callback;if(typeof J=="function"){f.callback=null,d=f.priorityLevel;var se=J(f.expirationTime<=R);R=e.unstable_now(),typeof se=="function"?f.callback=se:f===n(a)&&r(a),m(R)}else r(a);f=n(a)}if(f!==null)var ni=!0;else{var Wt=n(u);Wt!==null&&tr(_,Wt.startTime-R),ni=!1}return ni}finally{f=null,d=$,g=!1}}var E=!1,k=null,b=-1,S=5,I=-1;function D(){return!(e.unstable_now()-I L||125J?(L.sortIndex=$,t(u,L),n(a)===null&&L===n(u)&&(v?(p(b),b=-1):v=!0,tr(_,$-J))):(L.sortIndex=se,t(a,L),y||g||(y=!0,er(T))),L},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(L){var R=d;return function(){var $=d;d=R;try{return L.apply(this,arguments)}finally{d=$}}}})(qc);Bc.exports=qc;var ng=Bc.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 Wc=M,je=ng;function C(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"),Ps=Object.prototype.hasOwnProperty,rg=/^[: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]*$/,Qa={},Ka={};function ig(e){return Ps.call(Ka,e)?!0:Ps.call(Qa,e)?!1:rg.test(e)?Ka[e]=!0:(Qa[e]=!0,!1)}function og(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 sg(e,t,n,r){if(t===null||typeof t>"u"||og(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 ke(e,t,n,r,i,o,s){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=o,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new ke(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new ke(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new ke(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){fe[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new ke(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new ke(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new ke(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var zl=/[\-:]([a-z])/g;function Fl(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(zl,Fl);fe[t]=new ke(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(zl,Fl);fe[t]=new ke(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(zl,Fl);fe[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hl(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2 l||i[s]!==o[l]){var a=` +`+i[s].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace(" ",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Go=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gr(e):""}function lg(e){switch(e.tag){case 5:return gr(e.type);case 16:return gr("Lazy");case 13:return gr("Suspense");case 19:return gr("SuspenseList");case 0:case 2:case 15:return e=Xo(e.type,!1),e;case 11:return e=Xo(e.type.render,!1),e;case 1:return e=Xo(e.type,!0),e;default:return""}}function js(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 _n:return"Fragment";case xn:return"Portal";case Rs:return"Profiler";case Ul:return"StrictMode";case $s:return"Suspense";case Os:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gc:return(e.displayName||"Context")+".Consumer";case Kc:return(e._context.displayName||"Context")+".Provider";case Vl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bl:return t=e.displayName||null,t!==null?t:js(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return js(e(t))}catch{}}return null}function ag(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 js(t);case 8:return t===Ul?"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 Ht(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ug(e){var t=Yc(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function si(e){e._valueTracker||(e._valueTracker=ug(e))}function Jc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Yc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qi(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 Ds(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ht(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 Zc(e,t){t=t.checked,t!=null&&Hl(e,"checked",t,!1)}function zs(e,t){Zc(e,t);var n=Ht(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")?Fs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fs(e,t.type,Ht(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ya(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 Fs(e,t,n){(t!=="number"||Qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mr=Array.isArray;function Pn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=li.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Er={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},cg=["Webkit","ms","Moz","O"];Object.keys(Er).forEach(function(e){cg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Er[t]=Er[e]})});function rd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Er.hasOwnProperty(e)&&Er[e]?(""+t).trim():t+"px"}function id(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 dg=G({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 Vs(e,t){if(t){if(dg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Bs(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 qs=null;function ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ws=null,Rn=null,$n=null;function eu(e){if(e=Jr(e)){if(typeof Ws!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Ao(t),Ws(e.stateNode,e.type,t))}}function od(e){Rn?$n?$n.push(e):$n=[e]:Rn=e}function sd(){if(Rn){var e=Rn,t=$n;if($n=Rn=null,eu(e),t)for(e=0;e >>=0,e===0?32:31-(Sg(e)/Eg|0)|0}var ai=64,ui=4194304;function vr(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 Yi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=vr(l):(o&=s,o!==0&&(r=vr(o)))}else s=n&~i,s!==0?r=vr(s):o!==0&&(r=vr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 Xr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tt(t),e[t]=n}function Ng(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 =kr),uu=" ",cu=!1;function Cd(e,t){switch(e){case"keyup":return tm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function rm(e,t){switch(e){case"compositionend":return Nd(t);case"keypress":return t.which!==32?null:(cu=!0,uu);case"textInput":return e=t.data,e===uu&&cu?null:e;default:return null}}function im(e,t){if(Sn)return e==="compositionend"||!Zl&&Cd(e,t)?(e=Td(),Li=Xl=It=null,Sn=!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=pu(n)}}function Id(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Id(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Md(){for(var e=window,t=Qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qi(e.document)}return t}function ea(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 hm(e){var t=Md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Id(n.ownerDocument.documentElement,n)){if(r!==null&&ea(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,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=gu(n,o);var s=gu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,En=null,Js=null,Nr=null,Zs=!1;function mu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zs||En==null||En!==Qi(r)||(r=En,"selectionStart"in r&&ea(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}),Nr&&zr(Nr,r)||(Nr=r,r=eo(Js,"onSelect"),0 Cn||(e.current=ol[Cn],ol[Cn]=null,Cn--)}function F(e,t){Cn++,ol[Cn]=e.current,e.current=t}var Ut={},ye=Bt(Ut),Ie=Bt(!1),sn=Ut;function Hn(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Me(e){return e=e.childContextTypes,e!=null}function no(){V(Ie),V(ye)}function Eu(e,t,n){if(ye.current!==Ut)throw Error(C(168));F(ye,t),F(Ie,n)}function Hd(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(C(108,ag(e)||"Unknown",i));return G({},n,r)}function ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,sn=ye.current,F(ye,e),F(Ie,Ie.current),!0}function Tu(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Hd(e,t,sn),r.__reactInternalMemoizedMergedChildContext=e,V(Ie),V(ye),F(ye,e)):V(Ie),F(Ie,n)}var gt=null,Lo=!1,cs=!1;function Ud(e){gt===null?gt=[e]:gt.push(e)}function km(e){Lo=!0,Ud(e)}function qt(){if(!cs&>!==null){cs=!0;var e=0,t=z;try{var n=gt;for(z=1;e >=s,i-=s,mt=1<<32-tt(t)+i|n<b?(S=k,k=null):S=k.sibling;var I=d(p,k,m[b],_);if(I===null){k===null&&(k=S);break}e&&k&&I.alternate===null&&t(p,k),h=o(I,h,b),E===null?T=I:E.sibling=I,E=I,k=S}if(b===m.length)return n(p,k),q&&Kt(p,b),T;if(k===null){for(;b b?(S=k,k=null):S=k.sibling;var D=d(p,k,I.value,_);if(D===null){k===null&&(k=S);break}e&&k&&D.alternate===null&&t(p,k),h=o(D,h,b),E===null?T=D:E.sibling=D,E=D,k=S}if(I.done)return n(p,k),q&&Kt(p,b),T;if(k===null){for(;!I.done;b++,I=m.next())I=f(p,I.value,_),I!==null&&(h=o(I,h,b),E===null?T=I:E.sibling=I,E=I);return q&&Kt(p,b),T}for(k=r(p,k);!I.done;b++,I=m.next())I=g(k,p,b,I.value,_),I!==null&&(e&&I.alternate!==null&&k.delete(I.key===null?b:I.key),h=o(I,h,b),E===null?T=I:E.sibling=I,E=I);return e&&k.forEach(function(N){return t(p,N)}),q&&Kt(p,b),T}function w(p,h,m,_){if(typeof m=="object"&&m!==null&&m.type===_n&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case oi:e:{for(var T=m.key,E=h;E!==null;){if(E.key===T){if(T=m.type,T===_n){if(E.tag===7){n(p,E.sibling),h=i(E,m.props.children),h.return=p,p=h;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===kt&&Iu(T)===E.type){n(p,E.sibling),h=i(E,m.props),h.ref=lr(p,E,m),h.return=p,p=h;break e}n(p,E);break}else t(p,E);E=E.sibling}m.type===_n?(h=rn(m.props.children,p.mode,_,m.key),h.return=p,p=h):(_=Di(m.type,m.key,m.props,null,p.mode,_),_.ref=lr(p,h,m),_.return=p,p=_)}return s(p);case xn:e:{for(E=m.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(p,h.sibling),h=i(h,m.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=ys(m,p.mode,_),h.return=p,p=h}return s(p);case kt:return E=m._init,w(p,h,E(m._payload),_)}if(mr(m))return y(p,h,m,_);if(nr(m))return v(p,h,m,_);mi(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,m),h.return=p,p=h):(n(p,h),h=vs(m,p.mode,_),h.return=p,p=h),s(p)):n(p,h)}return w}var Vn=Xd(!0),Yd=Xd(!1),Zr={},dt=Bt(Zr),Vr=Bt(Zr),Br=Bt(Zr);function en(e){if(e===Zr)throw Error(C(174));return e}function ua(e,t){switch(F(Br,t),F(Vr,e),F(dt,Zr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Us(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Us(t,e)}V(dt),F(dt,t)}function Bn(){V(dt),V(Vr),V(Br)}function Jd(e){en(Br.current);var t=en(dt.current),n=Us(t,e.type);t!==n&&(F(Vr,e),F(dt,n))}function ca(e){Vr.current===e&&(V(dt),V(Vr))}var Q=Bt(0);function uo(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 ds=[];function da(){for(var e=0;e n?n:4,e(!0);var r=fs.transition;fs.transition={};try{e(!1),t()}finally{z=n,fs.transition=r}}function gf(){return Ke().memoizedState}function Am(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},mf(e))vf(t,n);else if(n=Wd(e,t,n,r),n!==null){var i=Se();nt(n,e,r,i),yf(n,t,r)}}function Lm(e,t,n){var r=zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(mf(e))vf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,rt(l,s)){var a=t.interleaved;a===null?(i.next=i,la(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Wd(e,t,i,r),n!==null&&(i=Se(),nt(n,e,r,i),yf(n,t,r))}}function mf(e){var t=e.alternate;return e===K||t!==null&&t===K}function vf(e,t){br=co=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ql(e,n)}}var fo={readContext:Qe,useCallback:he,useContext:he,useEffect:he,useImperativeHandle:he,useInsertionEffect:he,useLayoutEffect:he,useMemo:he,useReducer:he,useRef:he,useState:he,useDebugValue:he,useDeferredValue:he,useTransition:he,useMutableSource:he,useSyncExternalStore:he,useId:he,unstable_isNewReconciler:!1},Im={readContext:Qe,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:Qe,useEffect:Pu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ri(4194308,4,cf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ri(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ri(4,2,e,t)},useMemo:function(e,t){var n=st();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=st();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=Am.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:Mu,useDebugValue:ma,useDeferredValue:function(e){return st().memoizedState=e},useTransition:function(){var e=Mu(!1),t=e[0];return e=bm.bind(null,e[1]),st().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,i=st();if(q){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ae===null)throw Error(C(349));an&30||tf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Pu(rf.bind(null,r,o,e),[e]),r.flags|=2048,Qr(9,nf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=st(),t=ae.identifierPrefix;if(q){var n=vt,r=mt;n=(r&~(1<<32-tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qr++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ut]=t,e[Ur]=r,Nf(e,t,!1,!1),t.stateNode=e;e:{switch(s=Bs(n,r),n){case"dialog":U("cancel",e),U("close",e),i=r;break;case"iframe":case"object":case"embed":U("load",e),i=r;break;case"video":case"audio":for(i=0;i Wn&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304)}else{if(!r)if(e=uo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ar(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!q)return pe(t),null}else 2*Z()-o.renderingStartTime>Wn&&n!==1073741824&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Z(),t.sibling=null,n=Q.current,F(Q,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return Sa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Re&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function zm(e,t){switch(na(t),t.tag){case 1:return Me(t.type)&&no(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bn(),V(Ie),V(ye),da(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ca(t),null;case 13:if(V(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(Q),null;case 4:return Bn(),null;case 10:return sa(t.type._context),null;case 22:case 23:return Sa(),null;case 24:return null;default:return null}}var yi=!1,me=!1,Fm=typeof WeakSet=="function"?WeakSet:Set,A=null;function Ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function vl(e,t,n){try{n()}catch(r){X(e,t,r)}}var Uu=!1;function Hm(e,t){if(el=Ji,e=Md(),ea(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(tl={focusedElem:e,selectionRange:n},Ji=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;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 v=y.memoizedProps,w=y.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:Xe(t.type,v),w);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(_){X(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return y=Uu,Uu=!1,y}function Ar(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 o=i.destroy;i.destroy=void 0,o!==void 0&&vl(t,n,o)}i=i.next}while(i!==r)}}function Po(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 yl(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 Lf(e){var t=e.alternate;t!==null&&(e.alternate=null,Lf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ut],delete t[Ur],delete t[il],delete t[Em],delete t[Tm])),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 If(e){return e.tag===5||e.tag===3||e.tag===4}function Vu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||If(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 wl(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=to));else if(r!==4&&(e=e.child,e!==null))for(wl(e,t,n),e=e.sibling;e!==null;)wl(e,t,n),e=e.sibling}function xl(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(xl(e,t,n),e=e.sibling;e!==null;)xl(e,t,n),e=e.sibling}var ue=null,Ye=!1;function Tt(e,t,n){for(n=n.child;n!==null;)Mf(e,t,n),n=n.sibling}function Mf(e,t,n){if(ct&&typeof ct.onCommitFiberUnmount=="function")try{ct.onCommitFiberUnmount(ko,n)}catch{}switch(n.tag){case 5:me||Ln(n,t);case 6:var r=ue,i=Ye;ue=null,Tt(e,t,n),ue=r,Ye=i,ue!==null&&(Ye?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ye?(e=ue,n=n.stateNode,e.nodeType===8?us(e.parentNode,n):e.nodeType===1&&us(e,n),jr(e)):us(ue,n.stateNode));break;case 4:r=ue,i=Ye,ue=n.stateNode.containerInfo,Ye=!0,Tt(e,t,n),ue=r,Ye=i;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&vl(n,t,s),i=i.next}while(i!==r)}Tt(e,t,n);break;case 1:if(!me&&(Ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){X(n,t,l)}Tt(e,t,n);break;case 21:Tt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,Tt(e,t,n),me=r):Tt(e,t,n);break;default:Tt(e,t,n)}}function Bu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fm),t.forEach(function(r){var i=Xm.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ge(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=s),r&=~o}if(r=i,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vm(r/1960))-r,10 e?16:e,Mt===null)var r=!1;else{if(e=Mt,Mt=null,go=0,j&6)throw Error(C(331));var i=j;for(j|=4,A=e.current;A!==null;){var o=A,s=o.child;if(A.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a Z()-xa?nn(e,0):wa|=n),Pe(e,t)}function Ff(e,t){t===0&&(e.mode&1?(t=ui,ui<<=1,!(ui&130023424)&&(ui=4194304)):t=1);var n=Se();e=_t(e,t),e!==null&&(Xr(e,t,n),Pe(e,n))}function Gm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ff(e,n)}function Xm(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(C(314))}r!==null&&r.delete(t),Ff(e,n)}var Hf;Hf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,jm(e,t,n);Le=!!(e.flags&131072)}else Le=!1,q&&t.flags&1048576&&Vd(t,oo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var i=Hn(t,ye.current);jn(t,n),i=ha(null,t,r,e,i,n);var o=pa();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,Me(r)?(o=!0,ro(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,aa(t),i.updater=Io,t.stateNode=i,i._reactInternals=t,cl(t,r,e,n),t=hl(null,t,r,!0,o,n)):(t.tag=0,q&&o&&ta(t),we(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Jm(r),e=Xe(r,e),i){case 0:t=fl(null,t,r,e,n);break e;case 1:t=zu(null,t,r,e,n);break e;case 11:t=ju(null,t,r,e,n);break e;case 14:t=Du(null,t,r,Xe(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xe(r,i),fl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xe(r,i),zu(e,t,r,i,n);case 3:e:{if(Tf(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Qd(e,t),ao(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=qn(Error(C(423)),t),t=Fu(e,t,r,n,i);break e}else if(r!==i){i=qn(Error(C(424)),t),t=Fu(e,t,r,n,i);break e}else for($e=Ot(t.stateNode.containerInfo.firstChild),Oe=t,q=!0,Je=null,n=Yd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Un(),r===i){t=St(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return Jd(t),e===null&&ll(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,nl(r,i)?s=null:o!==null&&nl(r,o)&&(t.flags|=32),Ef(e,t),we(e,t,s,n),t.child;case 6:return e===null&&ll(t),null;case 13:return kf(e,t,n);case 4:return ua(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xe(r,i),ju(e,t,r,i,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,F(so,r._currentValue),r._currentValue=s,o!==null)if(rt(o.value,s)){if(o.children===i.children&&!Ie.current){t=St(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=yt(-1,n&-n),a.tag=2;var u=o.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}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),al(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),al(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}we(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,jn(t,n),i=Qe(i),r=r(i),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,i=Xe(r,t.pendingProps),i=Xe(r.type,i),Du(e,t,r,i,n);case 15:return _f(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xe(r,i),$i(e,t),t.tag=1,Me(r)?(e=!0,ro(t)):e=!1,jn(t,n),Gd(t,r,i),cl(t,r,i,n),hl(null,t,r,!0,e,n);case 19:return Cf(e,t,n);case 22:return Sf(e,t,n)}throw Error(C(156,t.tag))};function Uf(e,t){return hd(e,t)}function Ym(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 Be(e,t,n,r){return new Ym(e,t,n,r)}function Ta(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jm(e){if(typeof e=="function")return Ta(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vl)return 11;if(e===Bl)return 14}return 2}function Ft(e,t){var n=e.alternate;return n===null?(n=Be(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 Di(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ta(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case _n:return rn(n.children,i,o,t);case Ul:s=8,i|=8;break;case Rs:return e=Be(12,n,t,i|2),e.elementType=Rs,e.lanes=o,e;case $s:return e=Be(13,n,t,i),e.elementType=$s,e.lanes=o,e;case Os:return e=Be(19,n,t,i),e.elementType=Os,e.lanes=o,e;case Xc:return $o(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kc:s=10;break e;case Gc:s=9;break e;case Vl:s=11;break e;case Bl:s=14;break e;case kt:s=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Be(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function rn(e,t,n,r){return e=Be(7,e,r,t),e.lanes=n,e}function $o(e,t,n,r){return e=Be(22,e,r,t),e.elementType=Xc,e.lanes=n,e.stateNode={isHidden:!1},e}function vs(e,t,n){return e=Be(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=Be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zm(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=Jo(0),this.expirationTimes=Jo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ka(e,t,n,r,i,o,s,l,a){return e=new Zm(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Be(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aa(o),e}function ev(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Wf)}catch(e){console.error(e)}}Wf(),Vc.exports=ze;var ov=Vc.exports,sv,Ju=ov;sv=Ju.createRoot,Ju.hydrateRoot;const dn=({children:e,title:t="",icon:n,disabled:r=!1,toggled:i=!1,onClick:o=()=>{},style:s,testId:l,className:a,ariaLabel:u})=>x.jsxs("button",{className:et(a,"toolbar-button",n,i&&"toggled"),onMouseDown:Zu,onClick:o,onDoubleClick:Zu,title:t,disabled:!!r,style:s,"data-testid":l,"aria-label":u,children:[n&&x.jsx("span",{className:`codicon codicon-${n}`,style:e?{marginRight:5}:{}}),e]}),q1=({style:e})=>x.jsx("div",{className:"toolbar-separator",style:e}),Zu=e=>{e.stopPropagation(),e.preventDefault()},wr=Symbol("context"),lv=Symbol("page"),Qf=Symbol("next"),Kf=Symbol("prev"),ec=Symbol("events");class W1{constructor(t){H(this,"startTime");H(this,"endTime");H(this,"browserName");H(this,"channel");H(this,"platform");H(this,"wallTime");H(this,"title");H(this,"options");H(this,"pages");H(this,"actions");H(this,"events");H(this,"stdio");H(this,"errors");H(this,"errorDescriptors");H(this,"hasSource");H(this,"hasStepData");H(this,"sdkLanguage");H(this,"testIdAttributeName");H(this,"sources");H(this,"resources");t.forEach(r=>av(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=uv(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=vv(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 av(e){for(const n of e.pages)n[wr]=e;for(let n=0;n i.pageId===r.pageId)}let t;for(let n=e.actions.length-1;n>=0;n--){const r=e.actions[n];r[Qf]=t,r.apiName.includes("route.")||(t=r)}for(const n of e.events)n[wr]=e;for(const n of e.resources)n[wr]=e}function uv(e){const t=new Map;for(const i of e){const o=i.traceUrl;let s=t.get(o);s||(s=[],t.set(o,s)),s.push(i)}const n=[];let r=0;for(const[,i]of t){t.size>1&&cv(i,++r);const o=dv(i);n.push(...o)}n.sort((i,o)=>o.parentId===i.callId?-1:i.parentId===o.callId?1:i.startTime-o.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 o=hv(r,t,i);o&&fv(n,o);const s=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){s.set(a.callId,c.callId),a.error&&(c.error=a.error),a.attachments&&(c.attachments=a.attachments),a.parentId&&(c.parentId=s.get(a.parentId)??a.parentId),c.startTime=a.startTime,c.endTime=a.endTime;continue}a.parentId&&(a.parentId=s.get(a.parentId)??a.parentId),t.set(u,{...a,context:l})}return[...t.values()]}function fv(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 hv(e,t,n){for(const r of e)for(const i of r.actions){if(!i.startTime)continue;const o=n?i.callId:`${i.apiName}@${i.wallTime}`,s=t.get(o);if(s)return i.startTime-s.startTime}return 0}function Q1(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 yo(e){return e[wr]}function pv(e){return e[Qf]}function gv(e){return e[Kf]}function K1(e){let t=0,n=0;for(const r of mv(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 mv(e){let t=e[ec];if(t)return t;const n=pv(e);return t=yo(e).events.filter(r=>r.time>=e.startTime&&(!n||r.time {const a=Math.max(i,e)*window.devicePixelRatio,[u,c]=qa(o?o+"."+r+":size":void 0,a),[f,d]=qa(o?o+"."+r+":size":void 0,a),[g,y]=M.useState(null),[v,w]=To();let p;r==="vertical"?(p=f/window.devicePixelRatio,v&&v.height y({offset:r==="vertical"?m.clientY:m.clientX,size:p}),onMouseUp:()=>y(null),onMouseMove:m=>{if(!m.buttons)y(null);else if(g){const T=(r==="vertical"?m.clientY:m.clientX)-g.offset,E=n?g.size+T:g.size-T,b=m.target.parentElement.getBoundingClientRect(),S=Math.min(Math.max(i,E),(r==="vertical"?b.height:b.width)-i);r==="vertical"?d(S*window.devicePixelRatio):c(S*window.devicePixelRatio)}}})]})};function Fo(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 wo(e){return e.charAt(0).toUpperCase()+e.substring(1)}function Xf(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/([A-Z])([A-Z][a-z])/g,"$1_$2").toLowerCase()}function Ve(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 Xt;function xv(){Xt=new Map}function De(e){let t=Xt==null?void 0:Xt.get(e);return t===void 0&&(t=e.replace(/\u200b/g,"").trim().replace(/\s+/g," "),Xt==null||Xt.set(e,t)),t}function Ho(e){return e.replace(/(^|[^\\])(\\\\)*\\(['"`])/g,"$1$2$3")}function Yf(e){return e.unicode||e.unicodeSets?String(e):String(e).replace(/(^|[^\\])(\\\\)*(["'`])/g,"$1$2\\$3").replace(/>>/g,"\\>\\>")}function qe(e,t){return typeof e!="string"?Yf(e):`${JSON.stringify(e)}${t?"s":"i"}`}function xe(e,t){return typeof e!="string"?Yf(e):`"${e.replace(/\\/g,"\\\\").replace(/["]/g,'\\"')}"${t?"s":"i"}`}function _v(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 tc(e,t){return _v(e,t,"…")}function Sv(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Jf={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ev(e){return e.replace(/[&<>"']/ug,t=>Jf[t])}function Tv(e){return e.replace(/[&<]/ug,t=>Jf[t])}const te=function(e,t,n){return e>=t&&e<=n};function Ce(e){return te(e,48,57)}function nc(e){return Ce(e)||te(e,65,70)||te(e,97,102)}function kv(e){return te(e,65,90)}function Cv(e){return te(e,97,122)}function Nv(e){return kv(e)||Cv(e)}function bv(e){return e>=128}function zi(e){return Nv(e)||bv(e)||e===95}function rc(e){return zi(e)||Ce(e)||e===45}function Av(e){return te(e,0,8)||e===11||te(e,14,31)||e===127}function Fi(e){return e===10}function ft(e){return Fi(e)||e===9||e===32}const Lv=1114111;class Aa extends Error{constructor(t){super(t),this.name="InvalidCharacterError"}}function Iv(e){const t=[];for(let n=0;n =t.length?-1:t[N]},s=function(N){if(N===void 0&&(N=1),N>3)throw"Spec Error: no more than three codepoints of lookahead.";return o(n+N)},l=function(N){return N===void 0&&(N=1),n+=N,i=o(n),!0},a=function(){return n-=1,!0},u=function(N){return N===void 0&&(N=i),N===-1},c=function(){if(f(),l(),ft(i)){for(;ft(s());)l();return new kl}else{if(i===34)return y();if(i===35)if(rc(s())||p(s(1),s(2))){const N=new hh("");return m(s(1),s(2),s(3))&&(N.type="id"),N.value=k(),N}else return new ge(i);else return i===36?s()===61?(l(),new Ov):new ge(i):i===39?y():i===40?new ah:i===41?new uh:i===42?s()===61?(l(),new jv):new ge(i):i===43?E()?(a(),d()):new ge(i):i===44?new ih:i===45?E()?(a(),d()):s(1)===45&&s(2)===62?(l(2),new th):_()?(a(),g()):new ge(i):i===46?E()?(a(),d()):new ge(i):i===58?new nh:i===59?new rh:i===60?s(1)===33&&s(2)===45&&s(3)===45?(l(3),new eh):new ge(i):i===64?m(s(1),s(2),s(3))?new fh(k()):new ge(i):i===91?new lh:i===92?h()?(a(),g()):new ge(i):i===93?new Cl:i===94?s()===61?(l(),new $v):new ge(i):i===123?new oh:i===124?s()===61?(l(),new Rv):s()===124?(l(),new ch):new ge(i):i===125?new sh:i===126?s()===61?(l(),new Pv):new ge(i):Ce(i)?(a(),d()):zi(i)?(a(),g()):u()?new Ui:new ge(i)}},f=function(){for(;s(1)===47&&s(2)===42;)for(l(2);;)if(l(),i===42&&s()===47){l();break}else if(u())return},d=function(){const N=b();if(m(s(1),s(2),s(3))){const P=new Dv;return P.value=N.value,P.repr=N.repr,P.type=N.type,P.unit=k(),P}else if(s()===37){l();const P=new vh;return P.value=N.value,P.repr=N.repr,P}else{const P=new mh;return P.value=N.value,P.repr=N.repr,P.type=N.type,P}},g=function(){const N=k();if(N.toLowerCase()==="url"&&s()===40){for(l();ft(s(1))&&ft(s(2));)l();return s()===34||s()===39?new Vi(N):ft(s())&&(s(2)===34||s(2)===39)?new Vi(N):v()}else return s()===40?(l(),new Vi(N)):new dh(N)},y=function(N){N===void 0&&(N=i);let P="";for(;l();){if(i===N||u())return new ph(P);if(Fi(i))return a(),new Zf;i===92?u(s())||(Fi(s())?l():P+=re(w())):P+=re(i)}throw new Error("Internal error")},v=function(){const N=new gh("");for(;ft(s());)l();if(u(s()))return N;for(;l();){if(i===41||u())return N;if(ft(i)){for(;ft(s());)l();return s()===41||u(s())?(l(),N):(I(),new Hi)}else{if(i===34||i===39||i===40||Av(i))return I(),new Hi;if(i===92)if(h())N.value+=re(w());else return I(),new Hi;else N.value+=re(i)}}throw new Error("Internal error")},w=function(){if(l(),nc(i)){const N=[i];for(let Y=0;Y<5&&nc(s());Y++)l(),N.push(i);ft(s())&&l();let P=parseInt(N.map(function(Y){return String.fromCharCode(Y)}).join(""),16);return P>Lv&&(P=65533),P}else return u()?65533:i},p=function(N,P){return!(N!==92||Fi(P))},h=function(){return p(i,s())},m=function(N,P,Y){return N===45?zi(P)||P===45||p(P,Y):zi(N)?!0:N===92?p(N,P):!1},_=function(){return m(i,s(1),s(2))},T=function(N,P,Y){return N===43||N===45?!!(Ce(P)||P===46&&Ce(Y)):N===46?!!Ce(P):!!Ce(N)},E=function(){return T(i,s(1),s(2))},k=function(){let N="";for(;l();)if(rc(i))N+=re(i);else if(h())N+=re(w());else return a(),N;throw new Error("Internal parse error")},b=function(){let N="",P="integer";for((s()===43||s()===45)&&(l(),N+=re(i));Ce(s());)l(),N+=re(i);if(s(1)===46&&Ce(s(2)))for(l(),N+=re(i),l(),N+=re(i),P="number";Ce(s());)l(),N+=re(i);const Y=s(1),it=s(2),er=s(3);if((Y===69||Y===101)&&Ce(it))for(l(),N+=re(i),l(),N+=re(i),P="number";Ce(s());)l(),N+=re(i);else if((Y===69||Y===101)&&(it===43||it===45)&&Ce(er))for(l(),N+=re(i),l(),N+=re(i),l(),N+=re(i),P="number";Ce(s());)l(),N+=re(i);const tr=S(N);return{type:P,value:tr,repr:N}},S=function(N){return+N},I=function(){for(;l();){if(i===41||u())return;h()&&w()}};let D=0;for(;!u(s());)if(r.push(c()),D++,D>t.length*2)throw new Error("I'm infinite-looping!");return r}class ee{constructor(){this.tokenType=""}toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class Zf extends ee{constructor(){super(...arguments),this.tokenType="BADSTRING"}}class Hi extends ee{constructor(){super(...arguments),this.tokenType="BADURL"}}class kl extends ee{constructor(){super(...arguments),this.tokenType="WHITESPACE"}toString(){return"WS"}toSource(){return" "}}class eh extends ee{constructor(){super(...arguments),this.tokenType="CDO"}toSource(){return""}}class nh extends ee{constructor(){super(...arguments),this.tokenType=":"}}class rh extends ee{constructor(){super(...arguments),this.tokenType=";"}}class ih extends ee{constructor(){super(...arguments),this.tokenType=","}}class Xn extends ee{constructor(){super(...arguments),this.value="",this.mirror=""}}class oh extends Xn{constructor(){super(),this.tokenType="{",this.value="{",this.mirror="}"}}class sh extends Xn{constructor(){super(),this.tokenType="}",this.value="}",this.mirror="{"}}class lh extends Xn{constructor(){super(),this.tokenType="[",this.value="[",this.mirror="]"}}class Cl extends Xn{constructor(){super(),this.tokenType="]",this.value="]",this.mirror="["}}class ah extends Xn{constructor(){super(),this.tokenType="(",this.value="(",this.mirror=")"}}class uh extends Xn{constructor(){super(),this.tokenType=")",this.value=")",this.mirror="("}}class Pv extends ee{constructor(){super(...arguments),this.tokenType="~="}}class Rv extends ee{constructor(){super(...arguments),this.tokenType="|="}}class $v extends ee{constructor(){super(...arguments),this.tokenType="^="}}class Ov extends ee{constructor(){super(...arguments),this.tokenType="$="}}class jv extends ee{constructor(){super(...arguments),this.tokenType="*="}}class ch extends ee{constructor(){super(...arguments),this.tokenType="||"}}class Ui extends ee{constructor(){super(...arguments),this.tokenType="EOF"}toSource(){return""}}class ge extends ee{constructor(t){super(),this.tokenType="DELIM",this.value="",this.value=re(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 Yn extends ee{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 dh extends Yn{constructor(t){super(),this.tokenType="IDENT",this.value=t}toString(){return"IDENT("+this.value+")"}toSource(){return ei(this.value)}}class Vi extends Yn{constructor(t){super(),this.tokenType="FUNCTION",this.value=t,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return ei(this.value)+"("}}class fh extends Yn{constructor(t){super(),this.tokenType="AT-KEYWORD",this.value=t}toString(){return"AT("+this.value+")"}toSource(){return"@"+ei(this.value)}}class hh extends Yn{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"?"#"+ei(this.value):"#"+zv(this.value)}}class ph extends Yn{constructor(t){super(),this.tokenType="STRING",this.value=t}toString(){return'"'+yh(this.value)+'"'}}class gh extends Yn{constructor(t){super(),this.tokenType="URL",this.value=t}toString(){return"URL("+this.value+")"}toSource(){return'url("'+yh(this.value)+'")'}}class mh extends ee{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 vh extends ee{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 Dv extends ee{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=ei(this.unit);return n[0].toLowerCase()==="e"&&(n[1]==="-"||te(n.charCodeAt(1),48,57))&&(n="\\65 "+n.slice(1,n.length)),t+n}}function ei(e){e=""+e;let t="";const n=e.charCodeAt(0);for(let r=0;r =128||i===45||i===95||te(i,48,57)||te(i,65,90)||te(i,97,122)?t+=e[r]:t+="\\"+e[r]}return t}function zv(e){e=""+e;let t="";for(let n=0;n =128||r===45||r===95||te(r,48,57)||te(r,65,90)||te(r,97,122)?t+=e[n]:t+="\\"+r.toString(16)+" "}return t}function yh(e){e=""+e;let t="";for(let n=0;n S instanceof fh||S instanceof Zf||S instanceof Hi||S instanceof ch||S instanceof eh||S instanceof th||S instanceof rh||S instanceof oh||S instanceof sh||S instanceof gh||S instanceof vh);if(r)throw new be(`Unsupported token "${r.toSource()}" while parsing selector "${e}"`);let i=0;const o=new Set;function s(){return new be(`Unexpected token "${n[i].toSource()}" while parsing selector "${e}"`)}function l(){for(;n[i]instanceof kl;)i++}function a(S=i){return n[S]instanceof dh}function u(S=i){return n[S]instanceof ph}function c(S=i){return n[S]instanceof mh}function f(S=i){return n[S]instanceof ih}function d(S=i){return n[S]instanceof ah}function g(S=i){return n[S]instanceof uh}function y(S=i){return n[S]instanceof Vi}function v(S=i){return n[S]instanceof ge&&n[S].value==="*"}function w(S=i){return n[S]instanceof Ui}function p(S=i){return n[S]instanceof ge&&[">","+","~"].includes(n[S].value)}function h(S=i){return f(S)||g(S)||w(S)||p(S)||n[S]instanceof kl}function m(){const S=[_()];for(;l(),!!f();)i++,S.push(_());return S}function _(){return l(),c()||u()?n[i++].value:T()}function T(){const S={simples:[]};for(l(),p()?S.simples.push({selector:{functions:[{name:"scope",args:[]}]},combinator:""}):S.simples.push({selector:E(),combinator:""});;){if(l(),p())S.simples[S.simples.length-1].combinator=n[i++].value,l();else if(h())break;S.simples.push({combinator:"",selector:E()})}return S}function E(){let S="";const I=[];for(;!h();)if(a()||v())S+=n[i++].toSource();else if(n[i]instanceof hh)S+=n[i++].toSource();else if(n[i]instanceof ge&&n[i].value===".")if(i++,a())S+="."+n[i++].toSource();else throw s();else if(n[i]instanceof nh)if(i++,a())if(!t.has(n[i].value.toLowerCase()))S+=":"+n[i++].toSource();else{const D=n[i++].value.toLowerCase();I.push({name:D,args:[]}),o.add(D)}else if(y()){const D=n[i++].value.toLowerCase();if(t.has(D)?(I.push({name:D,args:m()}),o.add(D)):S+=`:${D}(${k()})`,l(),!g())throw s();i++}else throw s();else if(n[i]instanceof lh){for(S+="[",i++;!(n[i]instanceof Cl)&&!w();)S+=n[i++].toSource();if(!(n[i]instanceof Cl))throw s();S+="]",i++}else throw s();if(!S&&!I.length)throw s();return{css:S||void 0,functions:I}}function k(){let S="",I=1;for(;!w()&&((d()||y())&&I++,g()&&I--,!!I);)S+=n[i++].toSource();return S}const b=m();if(!w())throw s();if(b.some(S=>typeof S!="object"||!("simples"in S)))throw new be(`Error while parsing selector "${e}"`);return{selector:b,names:Array.from(o)}}const Nl=new Set(["internal:has","internal:has-not","internal:and","internal:or","internal:chain","left-of","right-of","above","below","near"]),Hv=new Set(["left-of","right-of","above","below","near"]),wh=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 Uo(e){const t=Bv(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=Fv(r.body,wh);n.push({name:"css",body:i.selector,source:r.body});continue}if(Nl.has(r.name)){let i,o;try{const u=JSON.parse("["+r.body+"]");if(!Array.isArray(u)||u.length<1||u.length>2||typeof u[0]!="string")throw new be(`Malformed selector: ${r.name}=`+r.body);if(i=u[0],u.length===2){if(typeof u[1]!="number"||!Hv.has(r.name))throw new be(`Malformed selector: ${r.name}=`+r.body);o=u[1]}}catch{throw new be(`Malformed selector: ${r.name}=`+r.body)}const s={name:r.name,source:r.body,body:{parsed:Uo(i),distance:o}},l=[...s.body.parsed.parts].reverse().find(u=>u.name==="internal:control"&&u.body==="enter-frame"),a=l?s.body.parsed.parts.indexOf(l):-1;a!==-1&&Uv(s.body.parsed.parts.slice(0,a+1),n.slice(0,a+1))&&s.body.parsed.parts.splice(0,a+1),n.push(s);continue}n.push({...r,source:r.body})}if(Nl.has(n[0].name))throw new be(`"${n[0].name}" selector cannot be first`);return{capture:t.capture,parts:n}}function Uv(e,t){return fn({parts:e})===fn({parts:t})}function fn(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 o=i?n.name+"=":"";return`${r===e.capture?"*":""}${o}${n.source}`}).join(" >> ")}function Vv(e,t){const n=(r,i)=>{for(const o of r.parts)t(o,i),Nl.has(o.name)&&n(o.body.parsed,!0)};n(e,!1)}function Bv(e){let t=0,n,r=0;const i={parts:[]},o=()=>{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 f=!1;if(u[0]==="*"&&(f=!0,u=u.substring(1)),i.parts.push({name:u,body:c}),f){if(i.capture!==void 0)throw new be("Only one of the selectors can capture using * modifier");i.capture=i.parts.length-1}};if(!e.includes(">>"))return t=e.length,o(),i;const s=()=>{const a=e.substring(r,t).match(/^\s*text\s*=(.*)$/);return!!a&&!!a[1]};for(;t "&&e[t+1]===">"?(o(),t+=2,r=t):t++}return o(),i}function on(e,t){let n=0,r=e.length===0;const i=()=>e[n]||"",o=()=>{const w=i();return++n,r=n>=e.length,w},s=w=>{throw r?new be(`Unexpected end of selector while parsing selector \`${e}\``):new be(`Error while parsing selector \`${e}\` - unexpected symbol "${i()}" at position ${n}`+(w?" during "+w:""))};function l(){for(;!r&&/\s/.test(i());)o()}function a(w){return w>=""||w>="0"&&w<="9"||w>="A"&&w<="Z"||w>="a"&&w<="z"||w>="0"&&w<="9"||w==="_"||w==="-"}function u(){let w="";for(l();!r&&a(i());)w+=o();return w}function c(w){let p=o();for(p!==w&&s("parsing quoted string");!r&&i()!==w;)i()==="\\"&&o(),p+=o();return i()!==w&&s("parsing quoted string"),p+=o(),p}function f(){o()!=="/"&&s("parsing regular expression");let w="",p=!1;for(;!r;){if(i()==="\\")w+=o(),r&&s("parsing regular expression");else if(p&&i()==="]")p=!1;else if(!p&&i()==="[")p=!0;else if(!p&&i()==="/")break;w+=o()}o()!=="/"&&s("parsing regular expression");let h="";for(;!r&&i().match(/[dgimsuy]/);)h+=o();try{return new RegExp(w,h)}catch(m){throw new be(`Error while parsing selector \`${e}\`: ${m.message}`)}}function d(){let w="";return l(),i()==="'"||i()==='"'?w=c(i()).slice(1,-1):w=u(),w||s("parsing property path"),w}function g(){l();let w="";return r||(w+=o()),!r&&w!=="="&&(w+=o()),["=","*=","^=","$=","|=","~="].includes(w)||s("parsing operator"),w}function y(){o();const w=[];for(w.push(d()),l();i()===".";)o(),w.push(d()),l();if(i()==="]")return o(),{name:w.join("."),jsonPath:w,op:" ",value:null,caseSensitive:!1};const p=g();let h,m=!0;if(l(),i()==="/"){if(p!=="=")throw new be(`Error while parsing selector \`${e}\` - cannot use ${p} in attribute with regular expression`);h=f()}else if(i()==="'"||i()==='"')h=c(i()).slice(1,-1),l(),i()==="i"||i()==="I"?(m=!1,o()):(i()==="s"||i()==="S")&&(m=!0,o());else{for(h="";!r&&(a(i())||i()==="+"||i()===".");)h+=o();h==="true"?h=!0:h==="false"?h=!1:t||(h=+h,Number.isNaN(h)&&s("parsing attribute value"))}if(l(),i()!=="]"&&s("parsing attribute value"),o(),p!=="="&&typeof h!="string")throw new be(`Error while parsing selector \`${e}\` - cannot use ${p} in attribute with non-string matching value - ${h}`);return{name:w.join("."),jsonPath:w,op:p,value:h,caseSensitive:m}}const v={name:"",attributes:[]};for(v.name=u(),l();i()==="[";)v.attributes.push(y()),l();if(r||s(void 0),!v.name&&!v.attributes.length)throw new be(`Error while parsing selector \`${e}\` - selector cannot be empty`);return v}function zn(e,t,n=!1){return xh(e,t,n)[0]}function xh(e,t,n=!1,r=20,i){try{return wn(new Yv[e](i),Uo(t),n,r)}catch{return[t]}}function wn(e,t,n=!1,r=20){const i=[...t.parts],o=[];let s=n?"frame-locator":"page";for(let l=0;l e.generateLocator(u,"has",w)));continue}if(a.name==="internal:has-not"){const v=wn(e,a.body.parsed,!1,r);o.push(v.map(w=>e.generateLocator(u,"hasNot",w)));continue}if(a.name==="internal:and"){const v=wn(e,a.body.parsed,!1,r);o.push(v.map(w=>e.generateLocator(u,"and",w)));continue}if(a.name==="internal:or"){const v=wn(e,a.body.parsed,!1,r);o.push(v.map(w=>e.generateLocator(u,"or",w)));continue}if(a.name==="internal:chain"){const v=wn(e,a.body.parsed,!1,r);o.push(v.map(w=>e.generateLocator(u,"chain",w)));continue}if(a.name==="internal:label"){const{exact:v,text:w}=dr(a.body);o.push([e.generateLocator(u,"label",w,{exact:v})]);continue}if(a.name==="internal:role"){const v=on(a.body,!0),w={attrs:[]};for(const p of v.attributes)p.name==="name"?(w.exact=p.caseSensitive,w.name=p.value):(p.name==="level"&&typeof p.value=="string"&&(p.value=+p.value),w.attrs.push({name:p.name==="include-hidden"?"includeHidden":p.name,value:p.value}));o.push([e.generateLocator(u,"role",v.name,w)]);continue}if(a.name==="internal:testid"){const v=on(a.body,!0),{value:w}=v.attributes[0];o.push([e.generateLocator(u,"test-id",w)]);continue}if(a.name==="internal:attr"){const v=on(a.body,!0),{name:w,value:p,caseSensitive:h}=v.attributes[0],m=p,_=!!h;if(w==="placeholder"){o.push([e.generateLocator(u,"placeholder",m,{exact:_})]);continue}if(w==="alt"){o.push([e.generateLocator(u,"alt",m,{exact:_})]);continue}if(w==="title"){o.push([e.generateLocator(u,"title",m,{exact:_})]);continue}}if(a.name==="internal:control"&&a.body==="enter-frame"){o.push([e.generateLocator(u,"frame","")]),s="frame-locator";continue}let c="default";const f=i[l+1],d=fn({parts:[a]}),g=e.generateLocator(u,c,d);if(f&&["internal:has-text","internal:has-not-text"].includes(f.name)){const{exact:v,text:w}=dr(f.body);if(!v){const p=e.generateLocator("locator",f.name==="internal:has-text"?"has-text":"has-not-text",w,{exact:v}),h={};f.name==="internal:has-text"?h.hasText=w:h.hasNotText=w;const m=e.generateLocator(u,"default",d,h);o.push([e.chainLocators([g,p]),m]),l++;continue}}let y;if(["xpath","css"].includes(a.name)){const v=fn({parts:[a]},!0);y=e.generateLocator(u,c,v)}o.push([g,y].filter(Boolean))}return qv(e,o,r)}function qv(e,t,n){const r=t.map(()=>""),i=[],o=s=>{if(s===t.length)return i.push(e.chainLocators(r)),r.length JSON.parse(r));for(let r=0;r {y==null||y(_)},[y,_]),M.useEffect(()=>{const E=m.current;if(!E)return;const k=()=>{ic.set(e,E.scrollTop)};return E.addEventListener("scroll",k,{passive:!0}),()=>E.removeEventListener("scroll",k)},[e]),M.useEffect(()=>{m.current&&(m.current.scrollTop=ic.get(e)||0)},[e]),x.jsx("div",{className:et("list-view vbox",e+"-list-view"),role:t.length>0?"list":void 0,"data-testid":p||e+"-list",children:x.jsxs("div",{className:et("list-view-content",h&&"not-selectable"),tabIndex:0,onKeyDown:E=>{var I;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"){d==null||d(u,t.indexOf(u));return}if(u&&E.key==="ArrowRight"){g==null||g(u,t.indexOf(u));return}const k=u?t.indexOf(u):-1;let b=k;E.key==="ArrowDown"&&(k===-1?b=0:b=Math.min(k+1,t.length-1)),E.key==="ArrowUp"&&(k===-1?b=t.length-1:b=Math.max(k-1,0));const S=(I=m.current)==null?void 0:I.children.item(b);Jv(S||void 0),y==null||y(void 0),f==null||f(t[b],b),T(void 0)},ref:m,children:[w&&t.length===0&&x.jsx("div",{className:"list-view-empty",children:w}),t.map((E,k)=>{const b=(a==null?void 0:a(E,k))||0,S=r(E,k);return x.jsxs("div",{onDoubleClick:()=>c==null?void 0:c(E,k),role:"listitem",className:et("list-view-entry",u===E&&"selected",!h&&_===E&&"highlighted",(o==null?void 0:o(E,k))&&"error",(s==null?void 0:s(E,k))&&"warning",(l==null?void 0:l(E,k))&&"info"),onClick:()=>f==null?void 0:f(E,k),onMouseEnter:()=>T(E),onMouseLeave:()=>T(void 0),children:[b?new Array(b).fill(0).map(()=>x.jsx("div",{className:"list-view-indent"})):void 0,i&&x.jsx("div",{className:"codicon "+(i(E,k)||"codicon-blank"),style:{minWidth:16,marginRight:4},onDoubleClick:I=>{I.preventDefault(),I.stopPropagation()},onClick:I=>{I.stopPropagation(),I.preventDefault(),v==null||v(E,k)}}),typeof S=="string"?x.jsx("div",{style:{textOverflow:"ellipsis",overflow:"hidden"},children:S}):S]},(n==null?void 0:n(E,k))||k)})]})})}function Jv(e){e&&(e!=null&&e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e==null||e.scrollIntoView())}const Zv=({value:e,description:t})=>{const[n,r]=M.useState("copy"),i=M.useCallback(()=>{(typeof e=="function"?e():Promise.resolve(e)).then(s=>{navigator.clipboard.writeText(s).then(()=>{r("check"),setTimeout(()=>{r("copy")},3e3)},()=>{r("close")})},()=>{r("close")})},[e]);return x.jsx(dn,{title:t||"Copy",icon:n,onClick:i})},oc=({value:e,description:t})=>{const n=M.useCallback(async()=>{const r=typeof e=="function"?await e():e;await navigator.clipboard.writeText(r)},[e]);return x.jsx(dn,{title:t,onClick:n,className:"copy-to-clipboard-text-button",children:t})},_h=({text:e})=>x.jsx("div",{className:"fill",style:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:24,fontWeight:"bold",opacity:.5},children:e});function xo(e){const t=/(\x1b\[(\d+(;\d+)*)m)|([^\x1b]+)/g,n=[];let r,i={};for(;(r=t.exec(e))!==null;){const[,,o,,s]=r;if(o){const l=+o;switch(l){case 0:i={};break;case 1:i["font-weight"]="bold";break;case 2:i.opacity="0.8";break;case 3:i["font-style"]="italic";break;case 4:i["text-decoration"]="underline";break;case 8:i.display="none";break;case 9:i["text-decoration"]="line-through";break;case 22:i={...i,"font-weight":void 0,"font-style":void 0,opacity:void 0,"text-decoration":void 0};break;case 23:i={...i,"font-weight":void 0,"font-style":void 0,opacity:void 0};break;case 24:i={...i,"text-decoration":void 0};break;case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:i.color=sc[l-30];break;case 39:i={...i,color:void 0};break;case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:i["background-color"]=sc[l-40];break;case 49:i={...i,"background-color":void 0};break;case 53:i["text-decoration"]="overline";break;case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:i.color=lc[l-90];break;case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:i["background-color"]=lc[l-100];break}}else s&&n.push(`${e0(s)}`)}return n.join("")}const sc={0:"var(--vscode-terminal-ansiBlack)",1:"var(--vscode-terminal-ansiRed)",2:"var(--vscode-terminal-ansiGreen)",3:"var(--vscode-terminal-ansiYellow)",4:"var(--vscode-terminal-ansiBlue)",5:"var(--vscode-terminal-ansiMagenta)",6:"var(--vscode-terminal-ansiCyan)",7:"var(--vscode-terminal-ansiWhite)"},lc={0:"var(--vscode-terminal-ansiBrightBlack)",1:"var(--vscode-terminal-ansiBrightRed)",2:"var(--vscode-terminal-ansiBrightGreen)",3:"var(--vscode-terminal-ansiBrightYellow)",4:"var(--vscode-terminal-ansiBrightBlue)",5:"var(--vscode-terminal-ansiBrightMagenta)",6:"var(--vscode-terminal-ansiBrightCyan)",7:"var(--vscode-terminal-ansiBrightWhite)"};function e0(e){return e.replace(/[&"<>]/g,t=>({"&":"&",'"':""","<":"<",">":">"})[t])}function t0(e){return Object.entries(e).map(([t,n])=>`${t}: ${n}`).join("; ")}const n0=La;function G1(e,t){const{entries:n}=M.useMemo(()=>{if(!e)return{entries:[]};const i=[];for(const o of e.events){if(o.type==="console"){const s=o.args&&o.args.length?r0(o.args):Sh(o.text),l=o.location.url,u=`${l?l.substring(l.lastIndexOf("/")+1):" "}:${o.location.lineNumber}`;i.push({browserMessage:{body:s,location:u},isError:o.messageType==="error",isWarning:o.messageType==="warning",timestamp:o.time})}o.type==="event"&&o.method==="pageError"&&i.push({browserError:o.params.error,isError:!0,isWarning:!1,timestamp:o.time})}for(const o of e.stdio){let s="";o.text&&(s=xo(o.text.trim())||""),o.base64&&(s=xo(atob(o.base64).trim())||""),i.push({nodeMessage:{html:s},isError:o.type==="stderr",isWarning:!1,timestamp:o.timestamp})}return i.sort((o,s)=>o.timestamp-s.timestamp),{entries:i}},[e]);return{entries:M.useMemo(()=>t?n.filter(i=>i.timestamp>=t.minimum&&i.timestamp<=t.maximum):n,[n,t])}}const X1=({consoleModel:e,boundaries:t,onEntryHovered:n,onAccepted:r})=>e.entries.length?x.jsx("div",{className:"console-tab",children:x.jsx(n0,{name:"console",onAccepted:r,onHighlighted:n,items:e.entries,isError:i=>i.isError,isWarning:i=>i.isWarning,render:i=>{const o=Is(i.timestamp-t.minimum),s=x.jsx("span",{className:"console-time",children:o}),l=i.isError?"status-error":i.isWarning?"status-warning":"status-none",a=i.browserMessage||i.browserError?x.jsx("span",{className:et("codicon","codicon-browser",l),title:"Browser message"}):x.jsx("span",{className:et("codicon","codicon-file",l),title:"Runner message"});let u,c,f,d;const{browserMessage:g,browserError:y,nodeMessage:v}=i;if(g&&(u=g.location,c=g.body),y){const{error:w,value:p}=y;w?(c=w.message,d=w.stack):c=String(p)}return v&&(f=v.html),x.jsxs("div",{className:"console-line",children:[s,a,u&&x.jsx("span",{className:"console-location",children:u}),c&&x.jsx("span",{className:"console-line-message",children:c}),f&&x.jsx("span",{className:"console-line-message",dangerouslySetInnerHTML:{__html:f}}),d&&x.jsx("div",{className:"console-stack",children:d})]})}})}):x.jsx(_h,{text:"No console entries"});function r0(e){if(e.length===1)return Sh(e[0].preview);const t=typeof e[0].value=="string"&&e[0].value.includes("%"),n=t?e[0].value:"",r=t?e.slice(1):e;let i=0;const o=/%([%sdifoOc])/g;let s;const l=[];let a=[];l.push(x.jsx("span",{children:a}));let u=0;for(;(s=o.exec(n))!==null;){const c=n.substring(u,s.index);a.push(x.jsx("span",{children:c})),u=s.index+2;const f=s[0][1];if(f==="%")a.push(x.jsx("span",{children:"%"}));else if(f==="s"||f==="o"||f==="O"||f==="d"||f==="i"||f==="f"){const d=r[i++],g={};typeof(d==null?void 0:d.value)!="string"&&(g.color="var(--vscode-debugTokenExpression-number)"),a.push(x.jsx("span",{style:g,children:(d==null?void 0:d.preview)||""}))}else if(f==="c"){a=[];const d=r[i++],g=d?i0(d.preview):{};l.push(x.jsx("span",{style:g,children:a}))}}for(u a[1].toUpperCase());t[l]=s}return t}catch{return{}}}function o0(e){return["background","border","color","font","line","margin","padding","text"].some(n=>e.startsWith(n))}const Ia=({noShadow:e,children:t,noMinHeight:n,className:r,sidebarBackground:i,onClick:o})=>x.jsx("div",{className:et("toolbar",e&&"no-shadow",n&&"no-min-height",r,i&&"toolbar-sidebar-background"),onClick:o,children:t}),s0=({tabs:e,selectedTab:t,setSelectedTab:n,leftToolbar:r,rightToolbar:i,dataTestId:o,mode:s})=>(t||(t=e[0].id),s||(s="default"),x.jsx("div",{className:"tabbed-pane","data-testid":o,children:x.jsxs("div",{className:"vbox",children:[x.jsxs(Ia,{children:[r&&x.jsxs("div",{style:{flex:"none",display:"flex",margin:"0 4px",alignItems:"center"},children:[...r]}),s==="default"&&x.jsx("div",{style:{flex:"auto",display:"flex",height:"100%",overflow:"hidden"},children:[...e.map(l=>x.jsx(Eh,{id:l.id,title:l.title,count:l.count,errorCount:l.errorCount,selected:t===l.id,onSelect:n},l.id))]}),s==="select"&&x.jsx("div",{style:{flex:"auto",display:"flex",height:"100%",overflow:"hidden"},children:x.jsx("select",{style:{width:"100%",background:"none",cursor:"pointer"},onChange:l=>{n==null||n(e[l.currentTarget.selectedIndex].id)},children:e.map(l=>{let a="";return l.count&&(a=` (${l.count})`),l.errorCount&&(a=` (${l.errorCount})`),x.jsxs("option",{value:l.id,selected:l.id===t,children:[l.title,a]},l.id)})})}),i&&x.jsxs("div",{style:{flex:"none",display:"flex",alignItems:"center"},children:[...i]})]}),e.map(l=>{const a="tab-content tab-"+l.id;if(l.component)return x.jsx("div",{className:a,style:{display:t===l.id?"inherit":"none"},children:l.component},l.id);if(t===l.id)return x.jsx("div",{className:a,children:l.render()},l.id)})]})})),Eh=({id:e,title:t,count:n,errorCount:r,selected:i,onSelect:o})=>x.jsxs("div",{className:et("tabbed-pane-tab",i&&"selected"),onClick:()=>o==null?void 0:o(e),title:t,children:[x.jsx("div",{className:"tabbed-pane-tab-label",children:t}),!!n&&x.jsx("div",{className:"tabbed-pane-tab-counter",children:n}),!!r&&x.jsx("div",{className:"tabbed-pane-tab-counter error",children:r})]},e),l0="modulepreload",a0=function(e,t){return new URL(e,t).href},ac={},u0=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(n.map(u=>{if(u=a0(u,r),u in ac)return;ac[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!r)for(let y=s.length-1;y>=0;y--){const v=s[y];if(v.href===u&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const g=document.createElement("link");if(g.rel=c?"stylesheet":l0,c||(g.as="script"),g.crossOrigin="",g.href=u,a&&g.setAttribute("nonce",a),document.head.appendChild(g),c)return new Promise((y,v)=>{g.addEventListener("load",y),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return i.then(s=>{for(const l of s||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Y1=20,Vo=({text:e,language:t,mimeType:n,linkify:r,readOnly:i,highlight:o,revealLine:s,lineNumbers:l,isFocused:a,focusOnChange:u,wrapLines:c,onChange:f})=>{const[d,g]=To(),[y]=M.useState(u0(()=>import("./codeMirrorModule-Bh1rfd2w.js"),__vite__mapDeps([0,1]),import.meta.url).then(h=>h.default)),v=M.useRef(null),[w,p]=M.useState();return M.useEffect(()=>{(async()=>{var E,k;const h=await y;d0(h);const m=g.current;if(!m)return;const _=h0(t)||f0(n)||(r?"text/linkified":"");if(v.current&&_===v.current.cm.getOption("mode")&&!!i===v.current.cm.getOption("readOnly")&&l===v.current.cm.getOption("lineNumbers")&&c===v.current.cm.getOption("lineWrapping"))return;(k=(E=v.current)==null?void 0:E.cm)==null||k.getWrapperElement().remove();const T=h(m,{value:"",mode:_,readOnly:!!i,lineNumbers:l,lineWrapping:c});return v.current={cm:T},a&&T.focus(),p(T),T})()},[y,w,g,t,n,r,l,c,i,a]),M.useEffect(()=>{v.current&&v.current.cm.setSize(d.width,d.height)},[d]),M.useLayoutEffect(()=>{var _;if(!w)return;let h=!1;if(w.getValue()!==e&&(w.setValue(e),h=!0,u&&(w.execCommand("selectAll"),w.focus())),h||JSON.stringify(o)!==JSON.stringify(v.current.highlight)){for(const E of v.current.highlight||[])w.removeLineClass(E.line-1,"wrap");for(const E of o||[])w.addLineClass(E.line-1,"wrap",`source-line-${E.type}`);for(const E of v.current.widgets||[])w.removeLineWidget(E);const T=[];for(const E of o||[]){if(E.type!=="error")continue;const k=(_=v.current)==null?void 0:_.cm.getLine(E.line-1);if(k){const S=document.createElement("div");S.className="source-line-error-underline",S.innerHTML=" ".repeat(k.length||1),T.push(w.addLineWidget(E.line,S,{above:!0,coverGutter:!1}))}const b=document.createElement("div");b.innerHTML=xo(E.message||""),b.className="source-line-error-widget",T.push(w.addLineWidget(E.line,b,{above:!0,coverGutter:!1}))}v.current.highlight=o,v.current.widgets=T}typeof s=="number"&&v.current.cm.lineCount()>=s&&w.scrollIntoView({line:Math.max(0,s-1),ch:0},50);let m;return f&&(m=()=>f(w.getValue()),w.on("change",m)),()=>{m&&w.off("change",m)}},[w,e,o,s,u,f]),x.jsx("div",{className:"cm-wrapper",ref:g,onClick:c0})};function c0(e){var n;if(!(e.target instanceof HTMLElement))return;let t;e.target.classList.contains("cm-linkified")?t=e.target.textContent:e.target.classList.contains("cm-link")&&((n=e.target.nextElementSibling)!=null&&n.classList.contains("cm-url"))&&(t=e.target.nextElementSibling.textContent.slice(1,-1)),t&&(e.preventDefault(),e.stopPropagation(),window.open(t,"_blank"))}let uc=!1;function d0(e){uc||(uc=!0,e.defineSimpleMode("text/linkified",{start:[{regex:eg,token:"linkified"}]}))}function f0(e){if(e){if(e.includes("javascript")||e.includes("json"))return"javascript";if(e.includes("python"))return"python";if(e.includes("csharp"))return"text/x-csharp";if(e.includes("java"))return"text/x-java";if(e.includes("markdown"))return"markdown";if(e.includes("html")||e.includes("svg"))return"htmlmixed";if(e.includes("css"))return"css"}}function h0(e){if(e)return{javascript:"javascript",jsonl:"javascript",python:"python",csharp:"text/x-csharp",java:"text/x-java",markdown:"markdown",html:"htmlmixed",css:"css"}[e]}async function p0(e){const t=navigator.platform.includes("Win")?"win":"unix";let n=[];const r=new Set(["accept-encoding","host","method","path","scheme","version","authority","protocol"]);function i(f){const d='^"';return d+f.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^ + +`)+d}function o(f){function d(g){let v=g.charCodeAt(0).toString(16);for(;v.length<4;)v="0"+v;return"\\u"+v}return/[\0-\x1F\x7F-\x9F!]|\'/.test(f)?"$'"+f.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,d)+"'":"'"+f+"'"}const s=t==="win"?i:o;n.push(s(e.request.url).replace(/[[{}\]]/g,"\\$&"));let l="GET";const a=[],u=await Th(e);u&&(a.push("--data-raw "+s(u)),r.add("content-length"),l="POST"),e.request.method!==l&&n.push("-X "+s(e.request.method));const c=e.request.headers;for(let f=0;f =3?t==="win"?` ^ + `:` \\ + `:" ")}async function g0(e,t=0){const n=new Set(["method","path","scheme","version","accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via","user-agent"]),r=new Set(["cookie","authorization"]),i=JSON.stringify(e.request.url),o=e.request.headers,s=o.reduce((y,v)=>{const w=v.name;return!n.has(w.toLowerCase())&&!w.includes(":")&&y.append(w,v.value),y},new Headers),l={};for(const y of s)l[y[0]]=y[1];const a=e.request.cookies.length||o.some(({name:y})=>r.has(y.toLowerCase()))?"include":"omit",u=o.find(({name:y})=>y.toLowerCase()==="referer"),c=u?u.value:void 0,f=await Th(e),d={headers:Object.keys(l).length?l:void 0,referrer:c,body:f,method:e.request.method,mode:"cors"};if(t===1){const y=o.find(w=>w.name.toLowerCase()==="cookie"),v={};delete d.mode,y&&(v.cookie=y.value),c&&(delete d.referrer,v.Referer=c),Object.keys(v).length&&(d.headers={...l,...v})}else d.credentials=a;const g=JSON.stringify(d,null,2);return`fetch(${i}, ${g});`}async function Th(e){var t,n;return(t=e.request.postData)!=null&&t._sha1?await fetch(`sha1/${e.request.postData._sha1}`).then(r=>r.text()):(n=e.request.postData)==null?void 0:n.text}const m0=({resource:e,onClose:t})=>{const[n,r]=M.useState("request");return x.jsx(s0,{dataTestId:"network-request-details",leftToolbar:[x.jsx(dn,{icon:"close",title:"Close",onClick:t},"close")],tabs:[{id:"request",title:"Request",render:()=>x.jsx(v0,{resource:e})},{id:"response",title:"Response",render:()=>x.jsx(y0,{resource:e})},{id:"body",title:"Body",render:()=>x.jsx(w0,{resource:e})}],selectedTab:n,setSelectedTab:r})},v0=({resource:e})=>{const[t,n]=M.useState(null);return M.useEffect(()=>{(async()=>{if(e.request.postData){const i=e.request.headers.find(s=>s.name.toLowerCase()==="content-type"),o=i?i.value:"";if(e.request.postData._sha1){const s=await fetch(`sha1/${e.request.postData._sha1}`);n({text:bl(await s.text(),o),mimeType:o})}else n({text:bl(e.request.postData.text,o),mimeType:o})}else n(null)})()},[e]),x.jsxs("div",{className:"network-request-details-tab",children:[x.jsx("div",{className:"network-request-details-header",children:"General"}),x.jsx("div",{className:"network-request-details-url",children:`URL: ${e.request.url}`}),x.jsx("div",{className:"network-request-details-general",children:`Method: ${e.request.method}`}),e.response.status!==-1&&x.jsxs("div",{className:"network-request-details-general",style:{display:"flex"},children:["Status Code: ",x.jsx("span",{className:_0(e.response.status),style:{display:"inline-flex"},children:`${e.response.status} ${e.response.statusText}`})]}),e.request.queryString.length?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"network-request-details-header",children:"Query String Parameters"}),x.jsx("div",{className:"network-request-details-headers",children:e.request.queryString.map(r=>`${r.name}: ${r.value}`).join(` +`)})]}):null,x.jsx("div",{className:"network-request-details-header",children:"Request Headers"}),x.jsx("div",{className:"network-request-details-headers",children:e.request.headers.map(r=>`${r.name}: ${r.value}`).join(` +`)}),x.jsxs("div",{className:"network-request-details-copy",children:[x.jsx(oc,{description:"Copy as cURL",value:()=>p0(e)}),x.jsx(oc,{description:"Copy as Fetch",value:()=>g0(e)})]}),t&&x.jsx("div",{className:"network-request-details-header",children:"Request Body"}),t&&x.jsx(Vo,{text:t.text,mimeType:t.mimeType,readOnly:!0,lineNumbers:!0})]})},y0=({resource:e})=>x.jsxs("div",{className:"network-request-details-tab",children:[x.jsx("div",{className:"network-request-details-header",children:"Response Headers"}),x.jsx("div",{className:"network-request-details-headers",children:e.response.headers.map(t=>`${t.name}: ${t.value}`).join(` +`)})]}),w0=({resource:e})=>{const[t,n]=M.useState(null);return M.useEffect(()=>{(async()=>{if(e.response.content._sha1){const i=e.response.content.mimeType.includes("image"),o=e.response.content.mimeType.includes("font"),s=await fetch(`sha1/${e.response.content._sha1}`);if(i){const l=await s.blob(),a=new FileReader,u=new Promise(c=>a.onload=c);a.readAsDataURL(l),n({dataUrl:(await u).target.result})}else if(o){const l=await s.arrayBuffer();n({font:l})}else{const l=bl(await s.text(),e.response.content.mimeType);n({text:l,mimeType:e.response.content.mimeType})}}else n(null)})()},[e]),x.jsxs("div",{className:"network-request-details-tab",children:[!e.response.content._sha1&&x.jsx("div",{children:"Response body is not available for this request."}),t&&t.font&&x.jsx(x0,{font:t.font}),t&&t.dataUrl&&x.jsx("img",{draggable:"false",src:t.dataUrl}),t&&t.text&&x.jsx(Vo,{text:t.text,mimeType:t.mimeType,readOnly:!0,lineNumbers:!0})]})},x0=({font:e})=>{const[t,n]=M.useState(!1);return M.useEffect(()=>{let r;try{r=new FontFace("font-preview",e),r.status==="loaded"&&document.fonts.add(r),r.status==="error"&&n(!0)}catch{n(!0)}return()=>{document.fonts.delete(r)}},[e]),t?x.jsx("div",{className:"network-font-preview-error",children:"Could not load font preview"}):x.jsxs("div",{className:"network-font-preview",children:["ABCDEFGHIJKLM",x.jsx("br",{}),"NOPQRSTUVWXYZ",x.jsx("br",{}),"abcdefghijklm",x.jsx("br",{}),"nopqrstuvwxyz",x.jsx("br",{}),"1234567890"]})};function _0(e){return e<300||e===304?"green-circle":e<400?"yellow-circle":"red-circle"}function bl(e,t){if(e===null)return"Loading...";const n=e;if(n==="")return" ";if(t.includes("application/json"))try{return JSON.stringify(JSON.parse(n),null,2)}catch{return n}return t.includes("application/x-www-form-urlencoded")?decodeURIComponent(n):n}const S0=({cursor:e,onPaneMouseMove:t,onPaneMouseUp:n,onPaneDoubleClick:r})=>(Ze.useEffect(()=>{const i=document.createElement("div");return i.style.position="fixed",i.style.top="0",i.style.right="0",i.style.bottom="0",i.style.left="0",i.style.zIndex="9999",i.style.cursor=e,document.body.appendChild(i),t&&i.addEventListener("mousemove",t),n&&i.addEventListener("mouseup",n),r&&document.body.addEventListener("dblclick",r),()=>{t&&i.removeEventListener("mousemove",t),n&&i.removeEventListener("mouseup",n),r&&document.body.removeEventListener("dblclick",r),document.body.removeChild(i)}},[e,t,n,r]),x.jsx(x.Fragment,{})),E0={position:"absolute",top:0,right:0,bottom:0,left:0},T0=({orientation:e,offsets:t,setOffsets:n,resizerColor:r,resizerWidth:i,minColumnWidth:o})=>{const s=o||0,[l,a]=Ze.useState(null),[u,c]=To(),f={position:"absolute",right:e==="horizontal"?void 0:0,bottom:e==="horizontal"?0:void 0,width:e==="horizontal"?7:void 0,height:e==="horizontal"?void 0:7,borderTopWidth:e==="horizontal"?void 0:(7-i)/2,borderRightWidth:e==="horizontal"?(7-i)/2:void 0,borderBottomWidth:e==="horizontal"?void 0:(7-i)/2,borderLeftWidth:e==="horizontal"?(7-i)/2:void 0,borderColor:"transparent",borderStyle:"solid",cursor:e==="horizontal"?"ew-resize":"ns-resize"};return x.jsxs("div",{style:{position:"absolute",top:0,right:0,bottom:0,left:-(7-i)/2,zIndex:100,pointerEvents:"none"},ref:c,children:[!!l&&x.jsx(S0,{cursor:e==="horizontal"?"ew-resize":"ns-resize",onPaneMouseUp:()=>a(null),onPaneMouseMove:d=>{if(!d.buttons)a(null);else if(l){const g=e==="horizontal"?d.clientX-l.clientX:d.clientY-l.clientY,y=l.offset+g,v=l.index>0?t[l.index-1]:0,w=e==="horizontal"?u.width:u.height,p=Math.min(Math.max(v+s,y),w-s)-t[l.index];for(let h=l.index;h x.jsx("div",{style:{...f,top:e==="horizontal"?0:d,left:e==="horizontal"?d:0,pointerEvents:"initial"},onMouseDown:y=>a({clientX:y.clientX,clientY:y.clientY,offset:d,index:g}),children:x.jsx("div",{style:{...E0,background:r}})},g))]})};function k0(e){const[t,n]=M.useState([]);M.useEffect(()=>{const o=[];for(let s=0;s {var s,l;(l=e.setSorting)==null||l.call(e,{by:o,negate:((s=e.sorting)==null?void 0:s.by)===o?!e.sorting.negate:!1})},[e]);return x.jsxs("div",{className:`grid-view ${e.name}-grid-view`,children:[x.jsx(T0,{orientation:"horizontal",offsets:t,setOffsets:r,resizerColor:"var(--vscode-panel-border)",resizerWidth:1,minColumnWidth:25}),x.jsxs("div",{className:"vbox",children:[x.jsx("div",{className:"grid-view-header",children:e.columns.map((o,s)=>x.jsxs("div",{className:"grid-view-header-cell "+C0(o,e.sorting),style:{width:s e.setSorting&&i(o),children:[x.jsx("span",{className:"grid-view-header-cell-title",children:e.columnTitle(o)}),x.jsx("span",{className:"codicon codicon-triangle-up"}),x.jsx("span",{className:"codicon codicon-triangle-down"})]},e.columnTitle(o)))}),x.jsx(La,{name:e.name,items:e.items,id:e.id,render:(o,s)=>x.jsx(x.Fragment,{children:e.columns.map((l,a)=>{const{body:u,title:c}=e.render(o,l,s);return x.jsx("div",{className:`grid-view-cell grid-view-column-${String(l)}`,title:c,style:{width:a x.jsxs("div",{className:"network-filters",children:[x.jsx("input",{type:"search",placeholder:"Filter network",spellCheck:!1,value:e.searchValue,onChange:n=>t({...e,searchValue:n.target.value})}),x.jsx("div",{className:"network-filters-resource-types",children:N0.map(n=>x.jsx("div",{title:n,onClick:()=>t({...e,resourceType:n}),className:`network-filters-resource-type ${e.resourceType===n?"selected":""}`,children:n},n))})]}),L0=k0;function J1(e,t){const n=M.useMemo(()=>((e==null?void 0:e.resources)||[]).filter(s=>t?!!s._monotonicTime&&s._monotonicTime>=t.minimum&&s._monotonicTime<=t.maximum:!0),[e,t]),r=M.useMemo(()=>new $0(e),[e]);return{resources:n,contextIdMap:r}}const Z1=({boundaries:e,networkModel:t,onEntryHovered:n})=>{const[r,i]=M.useState(void 0),[o,s]=M.useState(void 0),[l,a]=M.useState(b0),{renderedEntries:u}=M.useMemo(()=>{const y=t.resources.map(v=>O0(v,e,t.contextIdMap)).filter(H0(l));return r&&D0(y,r),{renderedEntries:y}},[t.resources,t.contextIdMap,l,r,e]),[c,f]=M.useState(()=>new Map(kh().map(y=>[y,M0(y)]))),d=M.useCallback(y=>{a(y),s(void 0)},[]);if(!t.resources.length)return x.jsx(_h,{text:"No network calls"});const g=x.jsx(L0,{name:"network",items:u,selectedItem:o,onSelected:y=>s(y),onHighlighted:y=>n==null?void 0:n(y==null?void 0:y.resource),columns:P0(!!o,u),columnTitle:I0,columnWidths:c,setColumnWidths:f,isError:y=>y.status.code>=400||y.status.code===-1,isInfo:y=>!!y.route,render:(y,v)=>R0(y,v),sorting:r,setSorting:i});return x.jsxs(x.Fragment,{children:[x.jsx(A0,{filterState:l,onFilterStateChange:d}),!o&&g,o&&x.jsx(Gf,{sidebarSize:c.get("name"),sidebarIsFirst:!0,orientation:"horizontal",settingName:"networkResourceDetails",main:x.jsx(m0,{resource:o.resource,onClose:()=>s(void 0)}),sidebar:g})]})},I0=e=>e==="contextId"?"Source":e==="name"?"Name":e==="method"?"Method":e==="status"?"Status":e==="contentType"?"Content Type":e==="duration"?"Duration":e==="size"?"Size":e==="start"?"Start":e==="route"?"Route":"",M0=e=>e==="name"?200:e==="method"||e==="status"?60:e==="contentType"?200:e==="contextId"?60:100;function P0(e,t){if(e){const r=["name"];return cc(t)&&r.unshift("contextId"),r}let n=kh();return cc(t)||(n=n.filter(r=>r!=="contextId")),n}function kh(){return["contextId","name","method","status","contentType","duration","size","start","route"]}const R0=(e,t)=>t==="contextId"?{body:e.contextId,title:e.name.url}:t==="name"?{body:e.name.name,title:e.name.url}:t==="method"?{body:e.method}:t==="status"?{body:e.status.code>0?e.status.code:"",title:e.status.text}:t==="contentType"?{body:e.contentType}:t==="duration"?{body:Is(e.duration)}:t==="size"?{body:Yp(e.size)}:t==="start"?{body:Is(e.start)}:t==="route"?{body:e.route}:{body:""};class $0{constructor(t){H(this,"_pagerefToShortId",new Map);H(this,"_contextToId",new Map);H(this,"_lastPageId",0);H(this,"_lastApiRequestContextId",0)}contextId(t){return t.pageref?this._pageId(t.pageref):t._apiRequest?this._apiRequestContextId(t):""}_pageId(t){let n=this._pagerefToShortId.get(t);return n||(++this._lastPageId,n="page#"+this._lastPageId,this._pagerefToShortId.set(t,n)),n}_apiRequestContextId(t){const n=yo(t);if(!n)return"";let r=this._contextToId.get(n);return r||(++this._lastApiRequestContextId,r="api#"+this._lastApiRequestContextId,this._contextToId.set(n,r)),r}}function cc(e){const t=new Set;for(const n of e)if(t.add(n.contextId),t.size>1)return!0;return!1}const O0=(e,t,n)=>{const r=j0(e);let i;try{const l=new URL(e.request.url);i=l.pathname.substring(l.pathname.lastIndexOf("/")+1),i||(i=l.host)}catch{i=e.request.url}let o=e.response.content.mimeType;const s=o.match(/^(.*);\s*charset=.*$/);return s&&(o=s[1]),{name:{name:i,url:e.request.url},method:e.request.method,status:{code:e.response.status,text:e.response.statusText},contentType:o,duration:e.time,size:e.response._transferSize>0?e.response._transferSize:e.response.bodySize,start:e._monotonicTime-t.minimum,route:r,resource:e,contextId:n.contextId(e)}};function j0(e){return e._wasAborted?"aborted":e._wasContinued?"continued":e._wasFulfilled?"fulfilled":e._apiRequest?"api":""}function D0(e,t){const n=z0(t==null?void 0:t.by);n&&e.sort(n),t.negate&&e.reverse()}function z0(e){if(e==="start")return(t,n)=>t.start-n.start;if(e==="duration")return(t,n)=>t.duration-n.duration;if(e==="status")return(t,n)=>t.status.code-n.status.code;if(e==="method")return(t,n)=>{const r=t.method,i=n.method;return r.localeCompare(i)};if(e==="size")return(t,n)=>t.size-n.size;if(e==="contentType")return(t,n)=>t.contentType.localeCompare(n.contentType);if(e==="name")return(t,n)=>t.name.name.localeCompare(n.name.name);if(e==="route")return(t,n)=>t.route.localeCompare(n.route);if(e==="contextId")return(t,n)=>t.contextId.localeCompare(n.contextId)}const F0={All:()=>!0,Fetch:e=>e==="application/json",HTML:e=>e==="text/html",CSS:e=>e==="text/css",JS:e=>e.includes("javascript"),Font:e=>e.includes("font"),Image:e=>e.includes("image")};function H0({searchValue:e,resourceType:t}){return n=>{const r=F0[t];return r(n.contentType)&&n.name.url.toLowerCase().includes(e.toLowerCase())}}const dc={queryAll(e,t){t.startsWith("/")&&e.nodeType!==Node.DOCUMENT_NODE&&(t="."+t);const n=[],r=e.ownerDocument||e;if(!r)return n;const i=r.evaluate(t,e,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE);for(let o=i.iterateNext();o;o=i.iterateNext())o.nodeType===Node.ELEMENT_NODE&&n.push(o);return n}};let Ch="";function U0(e){Ch=e}function Bo(e,t){for(;t;){if(e.contains(t))return!0;t=bh(t)}return!1}function _e(e){if(e.parentElement)return e.parentElement;if(e.parentNode&&e.parentNode.nodeType===11&&e.parentNode.host)return e.parentNode.host}function Nh(e){let t=e;for(;t.parentNode;)t=t.parentNode;if(t.nodeType===11||t.nodeType===9)return t}function bh(e){for(;e.parentElement;)e=e.parentElement;return _e(e)}function xr(e,t,n){for(;e;){const r=e.closest(t);if(n&&r!==n&&(r!=null&&r.contains(n)))return;if(r)return r;e=bh(e)}}function Jn(e,t){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,t):void 0}function Ah(e,t){if(t=t??Jn(e),!t)return!0;if(Element.prototype.checkVisibility&&Ch!=="webkit"){if(!e.checkVisibility())return!1}else{const n=e.closest("details,summary");if(n!==e&&(n==null?void 0:n.nodeName)==="DETAILS"&&!n.open)return!1}return t.visibility==="visible"}function tn(e){const t=Jn(e);if(!t)return!0;if(t.display==="contents"){for(let r=e.firstChild;r;r=r.nextSibling)if(r.nodeType===1&&tn(r)||r.nodeType===3&&Lh(r))return!0;return!1}if(!Ah(e,t))return!1;const n=e.getBoundingClientRect();return n.width>0&&n.height>0}function Lh(e){const t=e.ownerDocument.createRange();t.selectNode(e);const n=t.getBoundingClientRect();return n.width>0&&n.height>0}function ve(e){return e instanceof HTMLFormElement?"FORM":e.tagName.toUpperCase()}function fc(e){return e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")}const hc="article:not([role]), aside:not([role]), main:not([role]), nav:not([role]), section:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]",V0=new Map([["aria-atomic",void 0],["aria-busy",void 0],["aria-controls",void 0],["aria-current",void 0],["aria-describedby",void 0],["aria-details",void 0],["aria-dropeffect",void 0],["aria-flowto",void 0],["aria-grabbed",void 0],["aria-hidden",void 0],["aria-keyshortcuts",void 0],["aria-label",new Set(["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])],["aria-labelledby",new Set(["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])],["aria-live",void 0],["aria-owns",void 0],["aria-relevant",void 0],["aria-roledescription",new Set(["generic"])]]);function Ih(e,t){return[...V0].some(([n,r])=>!(r!=null&&r.has(t||""))&&e.hasAttribute(n))}function Mh(e){return!Number.isNaN(Number(String(e.getAttribute("tabindex"))))}function B0(e){return!qh(e)&&(q0(e)||Mh(e))}function q0(e){const t=ve(e);return["BUTTON","DETAILS","SELECT","TEXTAREA"].includes(t)?!0:t==="A"||t==="AREA"?e.hasAttribute("href"):t==="INPUT"?!e.hidden:!1}const xs={A:e=>e.hasAttribute("href")?"link":null,AREA:e=>e.hasAttribute("href")?"link":null,ARTICLE:()=>"article",ASIDE:()=>"complementary",BLOCKQUOTE:()=>"blockquote",BUTTON:()=>"button",CAPTION:()=>"caption",CODE:()=>"code",DATALIST:()=>"listbox",DD:()=>"definition",DEL:()=>"deletion",DETAILS:()=>"group",DFN:()=>"term",DIALOG:()=>"dialog",DT:()=>"term",EM:()=>"emphasis",FIELDSET:()=>"group",FIGURE:()=>"figure",FOOTER:e=>xr(e,hc)?null:"contentinfo",FORM:e=>fc(e)?"form":null,H1:()=>"heading",H2:()=>"heading",H3:()=>"heading",H4:()=>"heading",H5:()=>"heading",H6:()=>"heading",HEADER:e=>xr(e,hc)?null:"banner",HR:()=>"separator",HTML:()=>"document",IMG:e=>e.getAttribute("alt")===""&&!e.getAttribute("title")&&!Ih(e)&&!Mh(e)?"presentation":"img",INPUT:e=>{const t=e.type.toLowerCase();if(t==="search")return e.hasAttribute("list")?"combobox":"searchbox";if(["email","tel","text","url",""].includes(t)){const n=ti(e,e.getAttribute("list"))[0];return n&&ve(n)==="DATALIST"?"combobox":"textbox"}return t==="hidden"?"":{button:"button",checkbox:"checkbox",image:"button",number:"spinbutton",radio:"radio",range:"slider",reset:"button",submit:"button"}[t]||"textbox"},INS:()=>"insertion",LI:()=>"listitem",MAIN:()=>"main",MARK:()=>"mark",MATH:()=>"math",MENU:()=>"list",METER:()=>"meter",NAV:()=>"navigation",OL:()=>"list",OPTGROUP:()=>"group",OPTION:()=>"option",OUTPUT:()=>"status",P:()=>"paragraph",PROGRESS:()=>"progressbar",SECTION:e=>fc(e)?"region":null,SELECT:e=>e.hasAttribute("multiple")||e.size>1?"listbox":"combobox",STRONG:()=>"strong",SUB:()=>"subscript",SUP:()=>"superscript",SVG:()=>"img",TABLE:()=>"table",TBODY:()=>"rowgroup",TD:e=>{const t=xr(e,"table"),n=t?_o(t):"";return n==="grid"||n==="treegrid"?"gridcell":"cell"},TEXTAREA:()=>"textbox",TFOOT:()=>"rowgroup",TH:e=>{if(e.getAttribute("scope")==="col")return"columnheader";if(e.getAttribute("scope")==="row")return"rowheader";const t=xr(e,"table"),n=t?_o(t):"";return n==="grid"||n==="treegrid"?"gridcell":"cell"},THEAD:()=>"rowgroup",TIME:()=>"time",TR:()=>"row",UL:()=>"list"},W0={DD:["DL","DIV"],DIV:["DL"],DT:["DL","DIV"],LI:["OL","UL"],TBODY:["TABLE"],TD:["TR"],TFOOT:["TABLE"],TH:["TR"],THEAD:["TABLE"],TR:["THEAD","TBODY","TFOOT","TABLE"]};function pc(e){var r;const t=((r=xs[ve(e)])==null?void 0:r.call(xs,e))||"";if(!t)return null;let n=e;for(;n;){const i=_e(n),o=W0[ve(n)];if(!o||!i||!o.includes(ve(i)))break;const s=_o(i);if((s==="none"||s==="presentation")&&!Ph(i,s))return s;n=i}return t}const Q0=["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","command","complementary","composite","contentinfo","definition","deletion","dialog","directory","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","input","insertion","landmark","link","list","listbox","listitem","log","main","marquee","math","meter","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","range","region","roletype","row","rowgroup","rowheader","scrollbar","search","searchbox","section","sectionhead","select","separator","slider","spinbutton","status","strong","structure","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem","widget","window"],K0=["command","composite","input","landmark","range","roletype","section","sectionhead","select","structure","widget","window"],G0=Q0.filter(e=>!K0.includes(e));function _o(e){return(e.getAttribute("role")||"").split(" ").map(n=>n.trim()).find(n=>G0.includes(n))||null}function Ph(e,t){return Ih(e,t)||B0(e)}function Ee(e){const t=_o(e);if(!t)return pc(e);if(t==="none"||t==="presentation"){const n=pc(e);if(Ph(e,n))return n}return t}function Rh(e){return e===null?void 0:e.toLowerCase()==="true"}function $h(e){return["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"].includes(ve(e))}function at(e){if($h(e))return!0;const t=Jn(e),n=e.nodeName==="SLOT";if((t==null?void 0:t.display)==="contents"&&!n){for(let i=e.firstChild;i;i=i.nextSibling)if(i.nodeType===1&&!at(i)||i.nodeType===3&&Lh(i))return!1;return!0}return!(e.nodeName==="OPTION"&&!!e.closest("select"))&&!n&&!Ah(e,t)?!0:Oh(e)}function Oh(e){let t=Nt==null?void 0:Nt.get(e);if(t===void 0){if(t=!1,e.parentElement&&e.parentElement.shadowRoot&&!e.assignedSlot&&(t=!0),!t){const n=Jn(e);t=!n||n.display==="none"||Rh(e.getAttribute("aria-hidden"))===!0}if(!t){const n=_e(e);n&&(t=Oh(n))}Nt==null||Nt.set(e,t)}return t}function ti(e,t){if(!t)return[];const n=Nh(e);if(!n)return[];try{const r=t.split(" ").filter(o=>!!o),i=new Set;for(const o of r){const s=n.querySelector("#"+CSS.escape(o));s&&i.add(s)}return[...i]}catch{return[]}}function ht(e){return e.trim()}function Bi(e){return e.split(" ").map(t=>t.replace(/\r\n/g,` +`).replace(/\s\s*/g," ")).join(" ").trim()}function gc(e,t){const n=[...e.querySelectorAll(t)];for(const r of ti(e,e.getAttribute("aria-owns")))r.matches(t)&&n.push(r),n.push(...r.querySelectorAll(t));return n}function mc(e,t){const n=t==="::before"?Oa:ja;if(n!=null&&n.has(e))return(n==null?void 0:n.get(e))||"";const r=Jn(e,t),i=X0(r);return n&&n.set(e,i),i}function X0(e){if(!e||e.display==="none"||e.visibility==="hidden")return"";const t=e.content;if(t[0]==="'"&&t[t.length-1]==="'"||t[0]==='"'&&t[t.length-1]==='"'){const n=t.substring(1,t.length-1);return(e.display||"inline")!=="inline"?" "+n+" ":n}return""}function jh(e){const t=e.getAttribute("aria-labelledby");return t===null?null:ti(e,t)}function Y0(e,t){const n=["button","cell","checkbox","columnheader","gridcell","heading","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"].includes(e),r=t&&["","caption","code","contentinfo","definition","deletion","emphasis","insertion","list","listitem","mark","none","paragraph","presentation","region","row","rowgroup","section","strong","subscript","superscript","table","term","time"].includes(e);return n||r}function So(e,t){const n=t?Pa:Ma;let r=n==null?void 0:n.get(e);return r===void 0&&(r="",["caption","code","definition","deletion","emphasis","generic","insertion","mark","paragraph","presentation","strong","subscript","suggestion","superscript","term","time"].includes(Ee(e)||"")||(r=Bi(lt(e,{includeHidden:t,visitedElements:new Set,embeddedInDescribedBy:void 0,embeddedInLabelledBy:void 0,embeddedInLabel:void 0,embeddedInNativeTextAlternative:void 0,embeddedInTargetElement:"self"}))),n==null||n.set(e,r)),r}function vc(e,t){const n=t?$a:Ra;let r=n==null?void 0:n.get(e);if(r===void 0){if(r="",e.hasAttribute("aria-describedby")){const i=ti(e,e.getAttribute("aria-describedby"));r=Bi(i.map(o=>lt(o,{includeHidden:t,visitedElements:new Set,embeddedInLabelledBy:void 0,embeddedInLabel:void 0,embeddedInNativeTextAlternative:void 0,embeddedInTargetElement:"none",embeddedInDescribedBy:{element:o,hidden:at(o)}})).join(" "))}else e.hasAttribute("aria-description")?r=Bi(e.getAttribute("aria-description")||""):r=Bi(e.getAttribute("title")||"");n==null||n.set(e,r)}return r}function lt(e,t){var a,u,c,f;if(t.visitedElements.has(e))return"";const n={...t,embeddedInTargetElement:t.embeddedInTargetElement==="self"?"descendant":t.embeddedInTargetElement};if(!t.includeHidden){const d=!!((a=t.embeddedInLabelledBy)!=null&&a.hidden)||!!((u=t.embeddedInDescribedBy)!=null&&u.hidden)||!!((c=t.embeddedInNativeTextAlternative)!=null&&c.hidden)||!!((f=t.embeddedInLabel)!=null&&f.hidden);if($h(e)||!d&&at(e))return t.visitedElements.add(e),""}const r=jh(e);if(!t.embeddedInLabelledBy){const d=(r||[]).map(g=>lt(g,{...t,embeddedInLabelledBy:{element:g,hidden:at(g)},embeddedInDescribedBy:void 0,embeddedInTargetElement:"none",embeddedInLabel:void 0,embeddedInNativeTextAlternative:void 0})).join(" ");if(d)return d}const i=Ee(e)||"",o=ve(e);if(t.embeddedInLabel||t.embeddedInLabelledBy||t.embeddedInTargetElement==="descendant"){const d=[...e.labels||[]].includes(e),g=(r||[]).includes(e);if(!d&&!g){if(i==="textbox")return t.visitedElements.add(e),o==="INPUT"||o==="TEXTAREA"?e.value:e.textContent||"";if(["combobox","listbox"].includes(i)){t.visitedElements.add(e);let y;if(o==="SELECT")y=[...e.selectedOptions],!y.length&&e.options.length&&y.push(e.options[0]);else{const v=i==="combobox"?gc(e,"*").find(w=>Ee(w)==="listbox"):e;y=v?gc(v,'[aria-selected="true"]').filter(w=>Ee(w)==="option"):[]}return!y.length&&o==="INPUT"?e.value:y.map(v=>lt(v,n)).join(" ")}if(["progressbar","scrollbar","slider","spinbutton","meter"].includes(i))return t.visitedElements.add(e),e.hasAttribute("aria-valuetext")?e.getAttribute("aria-valuetext")||"":e.hasAttribute("aria-valuenow")?e.getAttribute("aria-valuenow")||"":e.getAttribute("value")||"";if(["menu"].includes(i))return t.visitedElements.add(e),""}}const s=e.getAttribute("aria-label")||"";if(ht(s))return t.visitedElements.add(e),s;if(!["presentation","none"].includes(i)){if(o==="INPUT"&&["button","submit","reset"].includes(e.type)){t.visitedElements.add(e);const d=e.value||"";return ht(d)?d:e.type==="submit"?"Submit":e.type==="reset"?"Reset":e.getAttribute("title")||""}if(o==="INPUT"&&e.type==="image"){t.visitedElements.add(e);const d=e.labels||[];if(d.length&&!t.embeddedInLabelledBy)return _i(d,t);const g=e.getAttribute("alt")||"";if(ht(g))return g;const y=e.getAttribute("title")||"";return ht(y)?y:"Submit"}if(!r&&o==="BUTTON"){t.visitedElements.add(e);const d=e.labels||[];if(d.length)return _i(d,t)}if(!r&&o==="OUTPUT"){t.visitedElements.add(e);const d=e.labels||[];return d.length?_i(d,t):e.getAttribute("title")||""}if(!r&&(o==="TEXTAREA"||o==="SELECT"||o==="INPUT")){t.visitedElements.add(e);const d=e.labels||[];if(d.length)return _i(d,t);const g=o==="INPUT"&&["text","password","search","tel","email","url"].includes(e.type)||o==="TEXTAREA",y=e.getAttribute("placeholder")||"",v=e.getAttribute("title")||"";return!g||v?v:y}if(!r&&o==="FIELDSET"){t.visitedElements.add(e);for(let g=e.firstElementChild;g;g=g.nextElementSibling)if(ve(g)==="LEGEND")return lt(g,{...n,embeddedInNativeTextAlternative:{element:g,hidden:at(g)}});return e.getAttribute("title")||""}if(!r&&o==="FIGURE"){t.visitedElements.add(e);for(let g=e.firstElementChild;g;g=g.nextElementSibling)if(ve(g)==="FIGCAPTION")return lt(g,{...n,embeddedInNativeTextAlternative:{element:g,hidden:at(g)}});return e.getAttribute("title")||""}if(o==="IMG"){t.visitedElements.add(e);const d=e.getAttribute("alt")||"";return ht(d)?d:e.getAttribute("title")||""}if(o==="TABLE"){t.visitedElements.add(e);for(let g=e.firstElementChild;g;g=g.nextElementSibling)if(ve(g)==="CAPTION")return lt(g,{...n,embeddedInNativeTextAlternative:{element:g,hidden:at(g)}});const d=e.getAttribute("summary")||"";if(d)return d}if(o==="AREA"){t.visitedElements.add(e);const d=e.getAttribute("alt")||"";return ht(d)?d:e.getAttribute("title")||""}if(o==="SVG"||e.ownerSVGElement){t.visitedElements.add(e);for(let d=e.firstElementChild;d;d=d.nextElementSibling)if(ve(d)==="TITLE"&&d.ownerSVGElement)return lt(d,{...n,embeddedInLabelledBy:{element:d,hidden:at(d)}})}if(e.ownerSVGElement&&o==="A"){const d=e.getAttribute("xlink:title")||"";if(ht(d))return t.visitedElements.add(e),d}}const l=o==="SUMMARY"&&!["presentation","none"].includes(i);if(Y0(i,t.embeddedInTargetElement==="descendant")||l||t.embeddedInLabelledBy||t.embeddedInDescribedBy||t.embeddedInLabel||t.embeddedInNativeTextAlternative){t.visitedElements.add(e);const d=[],g=(p,h)=>{var m;if(!(h&&p.assignedSlot))if(p.nodeType===1){const _=((m=Jn(p))==null?void 0:m.display)||"inline";let T=lt(p,n);(_!=="inline"||p.nodeName==="BR")&&(T=" "+T+" "),d.push(T)}else p.nodeType===3&&d.push(p.textContent||"")};d.push(mc(e,"::before"));const y=e.nodeName==="SLOT"?e.assignedNodes():[];if(y.length)for(const p of y)g(p,!1);else{for(let p=e.firstChild;p;p=p.nextSibling)g(p,!0);if(e.shadowRoot)for(let p=e.shadowRoot.firstChild;p;p=p.nextSibling)g(p,!0);for(const p of ti(e,e.getAttribute("aria-owns")))g(p,!0)}d.push(mc(e,"::after"));const v=d.join("");if(t.embeddedInTargetElement==="self"?ht(v):v)return v}if(!["presentation","none"].includes(i)||o==="IFRAME"){t.visitedElements.add(e);const d=e.getAttribute("title")||"";if(ht(d))return d}return t.visitedElements.add(e),""}const Dh=["gridcell","option","row","tab","rowheader","columnheader","treeitem"];function J0(e){return ve(e)==="OPTION"?e.selected:Dh.includes(Ee(e)||"")?Rh(e.getAttribute("aria-selected"))===!0:!1}const zh=["checkbox","menuitemcheckbox","option","radio","switch","menuitemradio","treeitem"];function Z0(e){const t=Fh(e,!0);return t==="error"?!1:t}function Fh(e,t){const n=ve(e);if(t&&n==="INPUT"&&e.indeterminate)return"mixed";if(n==="INPUT"&&["checkbox","radio"].includes(e.type))return e.checked;if(zh.includes(Ee(e)||"")){const r=e.getAttribute("aria-checked");return r==="true"?!0:t&&r==="mixed"?"mixed":!1}return"error"}const Hh=["button"];function ey(e){if(Hh.includes(Ee(e)||"")){const t=e.getAttribute("aria-pressed");if(t==="true")return!0;if(t==="mixed")return"mixed"}return!1}const Uh=["application","button","checkbox","combobox","gridcell","link","listbox","menuitem","row","rowheader","tab","treeitem","columnheader","menuitemcheckbox","menuitemradio","rowheader","switch"];function ty(e){if(ve(e)==="DETAILS")return e.open;if(Uh.includes(Ee(e)||"")){const t=e.getAttribute("aria-expanded");return t===null?"none":t==="true"}return"none"}const Vh=["heading","listitem","row","treeitem"];function ny(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[ve(e)];if(t)return t;if(Vh.includes(Ee(e)||"")){const n=e.getAttribute("aria-level"),r=n===null?Number.NaN:Number(n);if(Number.isInteger(r)&&r>=1)return r}return 0}const ry=["application","button","composite","gridcell","group","input","link","menuitem","scrollbar","separator","tab","checkbox","columnheader","combobox","grid","listbox","menu","menubar","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","searchbox","select","slider","spinbutton","switch","tablist","textbox","toolbar","tree","treegrid","treeitem"];function Bh(e){return qh(e)||Qh(e)}function qh(e){return["BUTTON","INPUT","SELECT","TEXTAREA","OPTION","OPTGROUP"].includes(e.tagName)&&(e.hasAttribute("disabled")||Wh(e))}function Wh(e){return e?ve(e)==="FIELDSET"&&e.hasAttribute("disabled")?!0:Wh(e.parentElement):!1}function Qh(e){if(!e)return!1;if(ry.includes(Ee(e)||"")){const t=(e.getAttribute("aria-disabled")||"").toLowerCase();if(t==="true")return!0;if(t==="false")return!1}return Qh(_e(e))}function _i(e,t){return[...e].map(n=>lt(n,{...t,embeddedInLabel:{element:n,hidden:at(n)},embeddedInNativeTextAlternative:void 0,embeddedInLabelledBy:void 0,embeddedInDescribedBy:void 0,embeddedInTargetElement:"none"})).filter(n=>!!n).join(" ")}let Ma,Pa,Ra,$a,Nt,Oa,ja,Kh=0;function Da(){++Kh,Ma??(Ma=new Map),Pa??(Pa=new Map),Ra??(Ra=new Map),$a??($a=new Map),Nt??(Nt=new Map),Oa??(Oa=new Map),ja??(ja=new Map)}function za(){--Kh||(Ma=void 0,Pa=void 0,Ra=void 0,$a=void 0,Nt=void 0,Oa=void 0,ja=void 0)}function Gh(e,t){for(const n of t.jsonPath)e!=null&&(e=e[n]);return Xh(e,t)}function Xh(e,t){const n=typeof e=="string"&&!t.caseSensitive?e.toUpperCase():e,r=typeof t.value=="string"&&!t.caseSensitive?t.value.toUpperCase():t.value;return t.op===" "?!!n:t.op==="="?r instanceof RegExp?typeof n=="string"&&!!n.match(r):n===r:typeof n!="string"||typeof r!="string"?!1:t.op==="*="?n.includes(r):t.op==="^="?n.startsWith(r):t.op==="$="?n.endsWith(r):t.op==="|="?n===r||n.startsWith(r+"-"):t.op==="~="?n.split(" ").includes(r):!1}function Fa(e){const t=e.ownerDocument;return e.nodeName==="SCRIPT"||e.nodeName==="NOSCRIPT"||e.nodeName==="STYLE"||t.head&&t.head.contains(e)}function Ae(e,t){let n=e.get(t);if(n===void 0){if(n={full:"",normalized:"",immediate:[]},!Fa(t)){let r="";if(t instanceof HTMLInputElement&&(t.type==="submit"||t.type==="button"))n={full:t.value,normalized:De(t.value),immediate:[t.value]};else{for(let i=t.firstChild;i;i=i.nextSibling)i.nodeType===Node.TEXT_NODE?(n.full+=i.nodeValue||"",r+=i.nodeValue||""):(r&&n.immediate.push(r),r="",i.nodeType===Node.ELEMENT_NODE&&(n.full+=Ae(e,i).full));r&&n.immediate.push(r),t.shadowRoot&&(n.full+=Ae(e,t.shadowRoot).full),n.full&&(n.normalized=De(n.full))}}e.set(t,n)}return n}function qo(e,t,n){if(Fa(t)||!n(Ae(e,t)))return"none";for(let r=t.firstChild;r;r=r.nextSibling)if(r.nodeType===Node.ELEMENT_NODE&&n(Ae(e,r)))return"selfAndChildren";return t.shadowRoot&&n(Ae(e,t.shadowRoot))?"selfAndChildren":"self"}function Yh(e,t){const n=jh(t);if(n)return n.map(o=>Ae(e,o));const r=t.getAttribute("aria-label");if(r!==null&&r.trim())return[{full:r,normalized:De(r),immediate:[r]}];const i=t.nodeName==="INPUT"&&t.type!=="hidden";if(["BUTTON","METER","OUTPUT","PROGRESS","SELECT","TEXTAREA"].includes(t.nodeName)||i){const o=t.labels;if(o)return[...o].map(s=>Ae(e,s))}return[]}function yc(e){return e.displayName||e.name||"Anonymous"}function iy(e){if(e.type)switch(typeof e.type){case"function":return yc(e.type);case"string":return e.type;case"object":return e.type.displayName||(e.type.render?yc(e.type.render):"")}if(e._currentElement){const t=e._currentElement.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Anonymous"}return""}function oy(e){var t;return e.key??((t=e._currentElement)==null?void 0:t.key)}function sy(e){if(e.child){const n=[];for(let r=e.child;r;r=r.sibling)n.push(r);return n}if(!e._currentElement)return[];const t=n=>{var i;const r=(i=n._currentElement)==null?void 0:i.type;return typeof r=="function"||typeof r=="string"};if(e._renderedComponent){const n=e._renderedComponent;return t(n)?[n]:[]}return e._renderedChildren?[...Object.values(e._renderedChildren)].filter(t):[]}function ly(e){var r;const t=e.memoizedProps||((r=e._currentElement)==null?void 0:r.props);if(!t||typeof t=="string")return t;const n={...t};return delete n.children,n}function Jh(e){var r;const t={key:oy(e),name:iy(e),children:sy(e).map(Jh),rootElements:[],props:ly(e)},n=e.stateNode||e._hostNode||((r=e._renderedComponent)==null?void 0:r._hostNode);if(n instanceof Element)t.rootElements.push(n);else for(const i of t.children)t.rootElements.push(...i.rootElements);return t}function Zh(e,t,n=[]){t(e)&&n.push(e);for(const r of e.children)Zh(r,t,n);return n}function ep(e,t=[]){const r=(e.ownerDocument||e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT);do{const i=r.currentNode,o=i,s=Object.keys(o).find(a=>a.startsWith("__reactContainer")&&o[a]!==null);if(s)t.push(o[s].stateNode.current);else{const a="_reactRootContainer";o.hasOwnProperty(a)&&o[a]!==null&&t.push(o[a]._internalRoot.current)}if(i instanceof Element&&i.hasAttribute("data-reactroot"))for(const a of Object.keys(i))(a.startsWith("__reactInternalInstance")||a.startsWith("__reactFiber"))&&t.push(i[a]);const l=i instanceof Element?i.shadowRoot:null;l&&ep(l,t)}while(r.nextNode());return t}const ay={queryAll(e,t){const{name:n,attributes:r}=on(t,!1),s=ep(e.ownerDocument||e).map(a=>Jh(a)).map(a=>Zh(a,u=>{const c=u.props??{};if(u.key!==void 0&&(c.key=u.key),n&&u.name!==n||u.rootElements.some(f=>!Bo(e,f)))return!1;for(const f of r)if(!Gh(c,f))return!1;return!0})).flat(),l=new Set;for(const a of s)for(const u of a.rootElements)l.add(u);return[...l]}};function tp(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/");let r=n.substring(n.lastIndexOf("/")+1);return r.endsWith(t)&&(r=r.substring(0,r.length-t.length)),r}function uy(e,t){return t?t.toUpperCase():""}const cy=/(?:^|[-_/])(\w)/g,np=e=>e&&e.replace(cy,uy);function dy(e){function t(c){const f=c.name||c._componentTag||c.__playwright_guessedName;if(f)return f;const d=c.__file;if(d)return np(tp(d,".vue"))}function n(c,f){return c.type.__playwright_guessedName=f,f}function r(c){var d,g,y,v;const f=t(c.type||{});if(f)return f;if(c.root===c)return"Root";for(const w in(g=(d=c.parent)==null?void 0:d.type)==null?void 0:g.components)if(((y=c.parent)==null?void 0:y.type.components[w])===c.type)return n(c,w);for(const w in(v=c.appContext)==null?void 0:v.components)if(c.appContext.components[w]===c.type)return n(c,w);return"Anonymous Component"}function i(c){return c._isBeingDestroyed||c.isUnmounted}function o(c){return c.subTree.type.toString()==="Symbol(Fragment)"}function s(c){const f=[];return c.component&&f.push(c.component),c.suspense&&f.push(...s(c.suspense.activeBranch)),Array.isArray(c.children)&&c.children.forEach(d=>{d.component?f.push(d.component):f.push(...s(d))}),f.filter(d=>{var g;return!i(d)&&!((g=d.type.devtools)!=null&&g.hide)})}function l(c){return o(c)?a(c.subTree):[c.subTree.el]}function a(c){if(!c.children)return[];const f=[];for(let d=0,g=c.children.length;d !!s.component).map(s=>s.component):[]}function i(o){return{name:n(o),children:r(o).map(i),rootElements:[o.$el],props:o._props}}return i(e)}function rp(e,t,n=[]){t(e)&&n.push(e);for(const r of e.children)rp(r,t,n);return n}function ip(e,t=[]){const r=(e.ownerDocument||e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT),i=new Set;do{const o=r.currentNode;o.__vue__&&i.add(o.__vue__.$root),o.__vue_app__&&o._vnode&&o._vnode.component&&t.push({root:o._vnode.component,version:3});const s=o instanceof Element?o.shadowRoot:null;s&&ip(s,t)}while(r.nextNode());for(const o of i)t.push({version:2,root:o});return t}const hy={queryAll(e,t){const n=e.ownerDocument||e,{name:r,attributes:i}=on(t,!1),l=ip(n).map(u=>u.version===3?dy(u.root):fy(u.root)).map(u=>rp(u,c=>{if(r&&c.name!==r||c.rootElements.some(f=>!Bo(e,f)))return!1;for(const f of i)if(!Gh(c.props,f))return!1;return!0})).flat(),a=new Set;for(const u of l)for(const c of u.rootElements)a.add(c);return[...a]}},op=["selected","checked","pressed","expanded","level","disabled","name","include-hidden"];op.sort();function fr(e,t,n){if(!t.includes(n))throw new Error(`"${e}" attribute is only supported for roles: ${t.slice().sort().map(r=>`"${r}"`).join(", ")}`)}function mn(e,t){if(e.op!==" "&&!t.includes(e.value))throw new Error(`"${e.name}" must be one of ${t.map(n=>JSON.stringify(n)).join(", ")}`)}function vn(e,t){if(!t.includes(e.op))throw new Error(`"${e.name}" does not support "${e.op}" matcher`)}function py(e,t){const n={role:t};for(const r of e)switch(r.name){case"checked":{fr(r.name,zh,t),mn(r,[!0,!1,"mixed"]),vn(r,[" ","="]),n.checked=r.op===" "?!0:r.value;break}case"pressed":{fr(r.name,Hh,t),mn(r,[!0,!1,"mixed"]),vn(r,[" ","="]),n.pressed=r.op===" "?!0:r.value;break}case"selected":{fr(r.name,Dh,t),mn(r,[!0,!1]),vn(r,[" ","="]),n.selected=r.op===" "?!0:r.value;break}case"expanded":{fr(r.name,Uh,t),mn(r,[!0,!1]),vn(r,[" ","="]),n.expanded=r.op===" "?!0:r.value;break}case"level":{if(fr(r.name,Vh,t),typeof r.value=="string"&&(r.value=+r.value),r.op!=="="||typeof r.value!="number"||Number.isNaN(r.value))throw new Error('"level" attribute must be compared to a number');n.level=r.value;break}case"disabled":{mn(r,[!0,!1]),vn(r,[" ","="]),n.disabled=r.op===" "?!0:r.value;break}case"name":{if(r.op===" ")throw new Error('"name" attribute must have a value');if(typeof r.value!="string"&&!(r.value instanceof RegExp))throw new Error('"name" attribute must be a string or a regular expression');n.name=r.value,n.nameOp=r.op,n.exact=r.caseSensitive;break}case"include-hidden":{mn(r,[!0,!1]),vn(r,[" ","="]),n.includeHidden=r.op===" "?!0:r.value;break}default:throw new Error(`Unknown attribute "${r.name}", must be one of ${op.map(i=>`"${i}"`).join(", ")}.`)}return n}function gy(e,t,n){const r=[],i=s=>{if(Ee(s)===t.role&&!(t.selected!==void 0&&J0(s)!==t.selected)&&!(t.checked!==void 0&&Z0(s)!==t.checked)&&!(t.pressed!==void 0&&ey(s)!==t.pressed)&&!(t.expanded!==void 0&&ty(s)!==t.expanded)&&!(t.level!==void 0&&ny(s)!==t.level)&&!(t.disabled!==void 0&&Bh(s)!==t.disabled)&&!(!t.includeHidden&&at(s))){if(t.name!==void 0){const l=De(So(s,!!t.includeHidden));if(typeof t.name=="string"&&(t.name=De(t.name)),n&&!t.exact&&t.nameOp==="="&&(t.nameOp="*="),!Xh(l,{name:"",jsonPath:[],op:t.nameOp||"=",value:t.name,caseSensitive:!!t.exact}))return}r.push(s)}},o=s=>{const l=[];s.shadowRoot&&l.push(s.shadowRoot);for(const a of s.querySelectorAll("*"))i(a),a.shadowRoot&&l.push(a.shadowRoot);l.forEach(o)};return o(e),r}function wc(e){return{queryAll:(t,n)=>{const r=on(n,!0),i=r.name.toLowerCase();if(!i)throw new Error("Role must not be empty");const o=py(r.attributes,i);Da();try{return gy(t,o,e)}finally{za()}}}}function my(e,t,n){const r=e.left-t.right;if(!(r<0||n!==void 0&&r>n))return r+Math.max(t.bottom-e.bottom,0)+Math.max(e.top-t.top,0)}function vy(e,t,n){const r=t.left-e.right;if(!(r<0||n!==void 0&&r>n))return r+Math.max(t.bottom-e.bottom,0)+Math.max(e.top-t.top,0)}function yy(e,t,n){const r=t.top-e.bottom;if(!(r<0||n!==void 0&&r>n))return r+Math.max(e.left-t.left,0)+Math.max(t.right-e.right,0)}function wy(e,t,n){const r=e.top-t.bottom;if(!(r<0||n!==void 0&&r>n))return r+Math.max(e.left-t.left,0)+Math.max(t.right-e.right,0)}function xy(e,t,n){const r=n===void 0?50:n;let i=0;return e.left-t.right>=0&&(i+=e.left-t.right),t.left-e.right>=0&&(i+=t.left-e.right),t.top-e.bottom>=0&&(i+=t.top-e.bottom),e.top-t.bottom>=0&&(i+=e.top-t.bottom),i>r?void 0:i}const _y=["left-of","right-of","above","below","near"];function sp(e,t,n,r){const i=t.getBoundingClientRect(),o={"left-of":vy,"right-of":my,above:yy,below:wy,near:xy}[e];let s;for(const l of n){if(l===t)continue;const a=o(i,l.getBoundingClientRect(),r);a!==void 0&&(s===void 0||a r.every((u,c)=>a.rest[c]===u));if(s)return s.result;const l=i();return o.push({rest:r,result:l}),l}_checkSelector(t){if(!(typeof t=="object"&&t&&(Array.isArray(t)||"simples"in t&&t.simples.length)))throw new Error(`Malformed selector "${t}"`);return t}matches(t,n,r){const i=this._checkSelector(n);this.begin();try{return this._cached(this._cacheMatches,t,[i,r.scope,r.pierceShadow,r.originalScope],()=>Array.isArray(i)?this._matchesEngine(_r,t,i,r):(this._hasScopeClause(i)&&(r=this._expandContextForScopeMatching(r)),this._matchesSimple(t,i.simples[i.simples.length-1].selector,r)?this._matchesParents(t,i,i.simples.length-2,r):!1))}finally{this.end()}}query(t,n){const r=this._checkSelector(n);this.begin();try{return this._cached(this._cacheQuery,r,[t.scope,t.pierceShadow,t.originalScope],()=>{if(Array.isArray(r))return this._queryEngine(_r,t,r);this._hasScopeClause(r)&&(t=this._expandContextForScopeMatching(t));const i=this._scoreMap;this._scoreMap=new Map;let o=this._querySimple(t,r.simples[r.simples.length-1].selector);return o=o.filter(s=>this._matchesParents(s,r,r.simples.length-2,t)),this._scoreMap.size&&o.sort((s,l)=>{const a=this._scoreMap.get(s),u=this._scoreMap.get(l);return a===u?0:a===void 0?1:u===void 0?-1:a-u}),this._scoreMap=i,o})}finally{this.end()}}_markScore(t,n){this._scoreMap&&this._scoreMap.set(t,n)}_hasScopeClause(t){return t.simples.some(n=>n.selector.functions.some(r=>r.name==="scope"))}_expandContextForScopeMatching(t){if(t.scope.nodeType!==1)return t;const n=_e(t.scope);return n?{...t,scope:n,originalScope:t.originalScope||t.scope}:t}_matchesSimple(t,n,r){return this._cached(this._cacheMatchesSimple,t,[n,r.scope,r.pierceShadow,r.originalScope],()=>{if(t===r.scope||n.css&&!this._matchesCSS(t,n.css))return!1;for(const i of n.functions)if(!this._matchesEngine(this._getEngine(i.name),t,i.args,r))return!1;return!0})}_querySimple(t,n){return n.functions.length?this._cached(this._cacheQuerySimple,n,[t.scope,t.pierceShadow,t.originalScope],()=>{let r=n.css;const i=n.functions;r==="*"&&i.length&&(r=void 0);let o,s=-1;r!==void 0?o=this._queryCSS(t,r):(s=i.findIndex(l=>this._getEngine(l.name).query!==void 0),s===-1&&(s=0),o=this._queryEngine(this._getEngine(i[s].name),t,i[s].args));for(let l=0;lthis._matchesEngine(a,u,i[l].args,t)))}for(let l=0;l this._matchesEngine(a,u,i[l].args,t)))}return o}):this._queryCSS(t,n.css||"*")}_matchesParents(t,n,r,i){return r<0?!0:this._cached(this._cacheMatchesParents,t,[n,r,i.scope,i.pierceShadow,i.originalScope],()=>{const{selector:o,combinator:s}=n.simples[r];if(s===">"){const l=Si(t,i);return!l||!this._matchesSimple(l,o,i)?!1:this._matchesParents(l,n,r-1,i)}if(s==="+"){const l=_s(t,i);return!l||!this._matchesSimple(l,o,i)?!1:this._matchesParents(l,n,r-1,i)}if(s===""){let l=Si(t,i);for(;l;){if(this._matchesSimple(l,o,i)){if(this._matchesParents(l,n,r-1,i))return!0;if(n.simples[r-1].combinator==="")break}l=Si(l,i)}return!1}if(s==="~"){let l=_s(t,i);for(;l;){if(this._matchesSimple(l,o,i)){if(this._matchesParents(l,n,r-1,i))return!0;if(n.simples[r-1].combinator==="~")break}l=_s(l,i)}return!1}if(s===">="){let l=t;for(;l;){if(this._matchesSimple(l,o,i)){if(this._matchesParents(l,n,r-1,i))return!0;if(n.simples[r-1].combinator==="")break}l=Si(l,i)}return!1}throw new Error(`Unsupported combinator "${s}"`)})}_matchesEngine(t,n,r,i){if(t.matches)return this._callMatches(t,n,r,i);if(t.query)return this._callQuery(t,r,i).includes(n);throw new Error('Selector engine should implement "matches" or "query"')}_queryEngine(t,n,r){if(t.query)return this._callQuery(t,r,n);if(t.matches)return this._queryCSS(n,"*").filter(i=>this._callMatches(t,i,r,n));throw new Error('Selector engine should implement "matches" or "query"')}_callMatches(t,n,r,i){return this._cached(this._cacheCallMatches,n,[t,i.scope,i.pierceShadow,i.originalScope,...r],()=>t.matches(n,r,i,this))}_callQuery(t,n,r){return this._cached(this._cacheCallQuery,t,[r.scope,r.pierceShadow,r.originalScope,...n],()=>t.query(r,n,this))}_matchesCSS(t,n){return t.matches(n)}_queryCSS(t,n){return this._cached(this._cacheQueryCSS,n,[t.scope,t.pierceShadow,t.originalScope],()=>{let r=[];function i(o){if(r=r.concat([...o.querySelectorAll(n)]),!!t.pierceShadow){o.shadowRoot&&i(o.shadowRoot);for(const s of o.querySelectorAll("*"))s.shadowRoot&&i(s.shadowRoot)}}return i(t.scope),r})}_getEngine(t){const n=this._engines.get(t);if(!n)throw new Error(`Unknown selector engine "${t}"`);return n}}const _r={matches(e,t,n,r){if(t.length===0)throw new Error('"is" engine expects non-empty selector list');return t.some(i=>r.matches(e,i,n))},query(e,t,n){if(t.length===0)throw new Error('"is" engine expects non-empty selector list');let r=[];for(const i of t)r=r.concat(n.query(e,i));return t.length===1?r:lp(r)}},Ey={matches(e,t,n,r){if(t.length===0)throw new Error('"has" engine expects non-empty selector list');return r.query({...n,scope:e},t).length>0}},Ty={matches(e,t,n,r){if(t.length!==0)throw new Error('"scope" engine expects no arguments');const i=n.originalScope||n.scope;return i.nodeType===9?e===i.documentElement:e===i},query(e,t,n){if(t.length!==0)throw new Error('"scope" engine expects no arguments');const r=e.originalScope||e.scope;if(r.nodeType===9){const i=r.documentElement;return i?[i]:[]}return r.nodeType===1?[r]:[]}},ky={matches(e,t,n,r){if(t.length===0)throw new Error('"not" engine expects non-empty selector list');return!r.matches(e,t,n)}},Cy={query(e,t,n){return n.query({...e,pierceShadow:!1},t)},matches(e,t,n,r){return r.matches(e,t,{...n,pierceShadow:!1})}},Ny={matches(e,t,n,r){if(t.length)throw new Error('"visible" engine expects no arguments');return tn(e)}},by={matches(e,t,n,r){if(t.length!==1||typeof t[0]!="string")throw new Error('"text" engine expects a single string');const i=De(t[0]).toLowerCase(),o=s=>s.normalized.toLowerCase().includes(i);return qo(r._cacheText,e,o)==="self"}},Ay={matches(e,t,n,r){if(t.length!==1||typeof t[0]!="string")throw new Error('"text-is" engine expects a single string');const i=De(t[0]),o=s=>!i&&!s.immediate.length?!0:s.immediate.some(l=>De(l)===i);return qo(r._cacheText,e,o)!=="none"}},Ly={matches(e,t,n,r){if(t.length===0||typeof t[0]!="string"||t.length>2||t.length===2&&typeof t[1]!="string")throw new Error('"text-matches" engine expects a regexp body and optional regexp flags');const i=new RegExp(t[0],t.length===2?t[1]:void 0),o=s=>i.test(s.full);return qo(r._cacheText,e,o)==="self"}},Iy={matches(e,t,n,r){if(t.length!==1||typeof t[0]!="string")throw new Error('"has-text" engine expects a single string');if(Fa(e))return!1;const i=De(t[0]).toLowerCase();return(s=>s.normalized.toLowerCase().includes(i))(Ae(r._cacheText,e))}};function hr(e){return{matches(t,n,r,i){const o=n.length&&typeof n[n.length-1]=="number"?n[n.length-1]:void 0,s=o===void 0?n:n.slice(0,n.length-1);if(n.length<1+(o===void 0?0:1))throw new Error(`"${e}" engine expects a selector list and optional maximum distance in pixels`);const l=i.query(r,s),a=sp(e,t,l,o);return a===void 0?!1:(i._markScore(t,a),!0)}}}const My={query(e,t,n){let r=t[t.length-1];if(t.length<2)throw new Error('"nth-match" engine expects non-empty selector list and an index argument');if(typeof r!="number"||r<1)throw new Error('"nth-match" engine expects a one-based index as the last argument');const i=_r.query(e,t.slice(0,t.length-1),n);return r--,r 1){const a=new Set(l.children);l.children=[];let u=s.firstElementChild;for(;u&&l.children.length qi(u)))]}else{const s=yn(e,t,n)||Ei(e,t,n);r=[qi(s)]}}const i=r[0],o=e.parseSelector(i);return{selector:i,selectors:r,elements:e.querySelectorAll(o,n.root??t.ownerDocument)}}finally{Al.clear(),Ll.clear(),za(),e._evaluator.end()}}function Sc(e){return e.filter(t=>t[0].selector[0]!=="/")}function yn(e,t,n){if(n.root&&!Bo(n.root,t))throw new Error("Target element must belong to the root's subtree");if(t===n.root)return[{engine:"css",selector:":scope",score:1}];if(t.ownerDocument.documentElement===t)return[{engine:"css",selector:"html",score:1}];const r=(o,s)=>{const l=o===t;let a=s?Gy(e,o,o===t):[];o!==t&&(a=Sc(a));const u=Ky(e,o,n).filter(d=>!n.omitInternalEngines||!d.engine.startsWith("internal:")).map(d=>[d]);let c=Ec(e,n.root??t.ownerDocument,o,[...a,...u],l);a=Sc(a);const f=d=>{const g=s&&!d.length,y=[...d,...u].filter(w=>c?bt(w) =bt(c))continue;if(v=Ec(e,w,o,y,l),!v)return;const h=[...p,...v];(!c||bt(h) {const l=s?Al:Ll;let a=l.get(o);return a===void 0&&(a=r(o,s),l.set(o,a)),a};return r(t,!n.noText)}function Ky(e,t,n){const r=[];{for(const s of["data-testid","data-test-id","data-test"])s!==n.testIdAttributeName&&t.getAttribute(s)&&r.push({engine:"css",selector:`[${s}=${cr(t.getAttribute(s))}]`,score:Py});if(!n.noCSSId){const s=t.getAttribute("id");s&&!Xy(s)&&r.push({engine:"css",selector:mp(s),score:By})}r.push({engine:"css",selector:Ve(t.nodeName.toLowerCase()),score:pp})}if(t.nodeName==="IFRAME"){for(const s of["name","title"])t.getAttribute(s)&&r.push({engine:"css",selector:`${Ve(t.nodeName.toLowerCase())}[${s}=${cr(t.getAttribute(s))}]`,score:Ry});return t.getAttribute(n.testIdAttributeName)&&r.push({engine:"css",selector:`[${n.testIdAttributeName}=${cr(t.getAttribute(n.testIdAttributeName))}]`,score:xc}),Ml([r]),r}if(t.getAttribute(n.testIdAttributeName)&&r.push({engine:"internal:testid",selector:`[${n.testIdAttributeName}=${xe(t.getAttribute(n.testIdAttributeName),!0)}]`,score:xc}),t.nodeName==="INPUT"||t.nodeName==="TEXTAREA"){const s=t;if(s.placeholder){r.push({engine:"internal:attr",selector:`[placeholder=${xe(s.placeholder,!0)}]`,score:jy});for(const l of Mn(s.placeholder))r.push({engine:"internal:attr",selector:`[placeholder=${xe(l.text,!1)}]`,score:up-l.scoreBouns})}}const i=Yh(e._evaluator._cacheText,t);for(const s of i){const l=s.normalized;r.push({engine:"internal:label",selector:qe(l,!0),score:Dy});for(const a of Mn(l))r.push({engine:"internal:label",selector:qe(a.text,!1),score:cp-a.scoreBouns})}const o=Ee(t);return o&&!["none","presentation"].includes(o)&&r.push({engine:"internal:role",selector:o,score:qy}),t.getAttribute("name")&&["BUTTON","FORM","FIELDSET","FRAME","IFRAME","INPUT","KEYGEN","OBJECT","OUTPUT","SELECT","TEXTAREA","MAP","META","PARAM"].includes(t.nodeName)&&r.push({engine:"css",selector:`${Ve(t.nodeName.toLowerCase())}[name=${cr(t.getAttribute("name"))}]`,score:Ss}),["INPUT","TEXTAREA"].includes(t.nodeName)&&t.getAttribute("type")!=="hidden"&&t.getAttribute("type")&&r.push({engine:"css",selector:`${Ve(t.nodeName.toLowerCase())}[type=${cr(t.getAttribute("type"))}]`,score:Ss}),["INPUT","TEXTAREA","SELECT"].includes(t.nodeName)&&t.getAttribute("type")!=="hidden"&&r.push({engine:"css",selector:Ve(t.nodeName.toLowerCase()),score:Ss+1}),Ml([r]),r}function Gy(e,t,n){if(t.nodeName==="SELECT")return[];const r=[],i=t.getAttribute("title");if(i){r.push([{engine:"internal:attr",selector:`[title=${xe(i,!0)}]`,score:Uy}]);for(const a of Mn(i))r.push([{engine:"internal:attr",selector:`[title=${xe(a.text,!1)}]`,score:hp-a.scoreBouns}])}const o=t.getAttribute("alt");if(o&&["APPLET","AREA","IMG","INPUT"].includes(t.nodeName)){r.push([{engine:"internal:attr",selector:`[alt=${xe(o,!0)}]`,score:Fy}]);for(const a of Mn(o))r.push([{engine:"internal:attr",selector:`[alt=${xe(a.text,!1)}]`,score:fp-a.scoreBouns}])}const s=Ae(e._evaluator._cacheText,t).normalized;if(s){const a=Mn(s);if(n){s.length<=80&&r.push([{engine:"internal:text",selector:qe(s,!0),score:Hy}]);for(const c of a)r.push([{engine:"internal:text",selector:qe(c.text,!1),score:Il-c.scoreBouns}])}const u={engine:"css",selector:Ve(t.nodeName.toLowerCase()),score:pp};for(const c of a)r.push([u,{engine:"internal:has-text",selector:qe(c.text,!1),score:Il-c.scoreBouns}]);if(s.length<=80){const c=new RegExp("^"+Sv(s)+"$");r.push([u,{engine:"internal:has-text",selector:qe(c,!1),score:Oy}])}}const l=Ee(t);if(l&&!["none","presentation"].includes(l)){const a=So(t,!1);if(a){r.push([{engine:"internal:role",selector:`${l}[name=${xe(a,!0)}]`,score:zy}]);for(const u of Mn(a))r.push([{engine:"internal:role",selector:`${l}[name=${xe(u.text,!1)}]`,score:dp-u.scoreBouns}])}}return Ml(r),r}function mp(e){return/^[a-zA-Z][a-zA-Z0-9\-\_]+$/.test(e)?"#"+e:`[id="${Ve(e)}"]`}function Es(e){return e.some(t=>t.engine==="css"&&(t.selector.startsWith("#")||t.selector.startsWith('[id="')))}function Ei(e,t,n){const r=n.root??t.ownerDocument,i=[];function o(l){const a=i.slice();l&&a.unshift(l);const u=a.join(" > "),c=e.parseSelector(u);return e.querySelector(c,r,!1)===t?u:void 0}function s(l){const a={engine:"css",selector:l,score:Wy},u=e.parseSelector(l),c=e.querySelectorAll(u,r);if(c.length===1)return[a];const f={engine:"nth",selector:String(c.indexOf(t)),score:gp};return[a,f]}for(let l=t;l&&l!==r;l=_e(l)){const a=l.nodeName.toLowerCase();let u="";if(l.id&&!n.noCSSId){const d=mp(l.id),g=o(d);if(g)return s(g);u=d}const c=l.parentNode,f=[...l.classList];for(let d=0;d w.nodeName.toLowerCase()===a).indexOf(l)===0?Ve(a):`${Ve(a)}:nth-child(${1+d.indexOf(l)})`,v=o(y);if(v)return s(v);u||(u=y)}else u||(u=Ve(a));i.unshift(u)}return s(o())}function Ml(e){for(const t of e)for(const n of t)n.score>$y&&n.score >"),n=r,r==="css"?t.push(i):t.push(`${r}=${i}`);return t.join(" ")}function bt(e){let t=0;for(let n=0;n ({tokens:l,score:bt(l)}));o.sort((l,a)=>l.score-a.score);let s=null;for(const{tokens:l}of o){const a=e.parseSelector(qi(l)),u=e.querySelectorAll(a,t);if(u[0]===n&&u.length===1)return l;const c=u.indexOf(n);if(!i||s||c===-1||u.length>5)continue;const f={engine:"nth",selector:String(c),score:gp};s=[...l,f]}return s}function Xy(e){let t,n=0;for(let r=0;r ="a"&&i<="z"?o="lower":i>="A"&&i<="Z"?o="upper":i>="0"&&i<="9"?o="digit":o="other",o==="lower"&&t==="upper"){t=o;continue}t&&t!==o&&++n,t=o}}return n>=e.length/4}function Ti(e,t){if(e.length<=t)return e;e=e.substring(0,t);const n=e.match(/^(.*)\b(.+?)$/);return n?n[1].trimEnd():""}function Mn(e){let t=[];{const n=e.match(/^([\d.,]+)[^.,\w]/),r=n?n[1].length:0;if(r){const i=Ti(e.substring(r).trimStart(),80);t.push({text:i,scoreBouns:i.length<=30?2:1})}}{const n=e.match(/[^.,\w]([\d.,]+)$/),r=n?n[1].length:0;if(r){const i=Ti(e.substring(0,e.length-r).trimEnd(),80);t.push({text:i,scoreBouns:i.length<=30?2:1})}}return e.length<=30?t.push({text:e,scoreBouns:0}):(t.push({text:Ti(e,80),scoreBouns:0}),t.push({text:Ti(e,30),scoreBouns:1})),t=t.filter(n=>n.text),t.length||t.push({text:e.substring(0,80),scoreBouns:0}),t}const Tc=":host{font-size:13px;font-family:system-ui,Ubuntu,Droid Sans,sans-serif;color:#333}svg{position:absolute;height:0}x-pw-tooltip{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:#fff;border-radius:6px;box-shadow:0 .5rem 1.2rem #0000004d;display:none;font-size:12.8px;font-weight:400;left:0;line-height:1.5;max-width:600px;position:absolute;top:0;padding:0;flex-direction:column;overflow:hidden}x-pw-tooltip-line{display:flex;max-width:600px;padding:6px;-webkit-user-select:none;user-select:none;cursor:pointer}x-pw-tooltip-line.selectable:hover{background-color:#f2f2f2;overflow:hidden}x-pw-tooltip-footer{display:flex;max-width:600px;padding:6px;-webkit-user-select:none;user-select:none;color:#777}x-pw-dialog{background-color:#fff;pointer-events:auto;border-radius:6px;box-shadow:0 .5rem 1.2rem #0000004d;display:flex;flex-direction:column;position:absolute;width:400px;height:150px;z-index:10;font-size:13px}x-pw-dialog-body{display:flex;flex-direction:column;flex:auto}x-pw-dialog-body label{margin:5px 8px;display:flex;flex-direction:row;align-items:center}x-pw-highlight{position:absolute;top:0;left:0;width:0;height:0}x-pw-action-point{position:absolute;width:20px;height:20px;background:red;border-radius:10px;margin:-10px 0 0 -10px;z-index:2}x-pw-separator{height:1px;margin:6px 9px;background:#949494e5}x-pw-tool-gripper{height:28px;width:24px;margin:2px 0;cursor:grab}x-pw-tool-gripper:active{cursor:grabbing}x-pw-tool-gripper>x-div{width:16px;height:16px;margin:6px 4px;clip-path:url(#icon-gripper);background-color:#555}x-pw-tools-list>label{display:flex;align-items:center;margin:0 10px;-webkit-user-select:none;user-select:none}x-pw-tools-list{display:flex;width:100%;border-bottom:1px solid #dddddd}x-pw-tool-item{pointer-events:auto;cursor:pointer;height:28px;width:28px;border-radius:3px}x-pw-tool-item:not(.disabled):hover{background-color:#dbdbdb}x-pw-tool-item.active{background-color:#8acae480}x-pw-tool-item.active:not(.disabled):hover{background-color:#8acae4c4}x-pw-tool-item>x-div{width:16px;height:16px;margin:6px;background-color:#3a3a3a}x-pw-tool-item.disabled>x-div{background-color:#61616180;cursor:default}x-pw-tool-item.record.active{background-color:transparent}x-pw-tool-item.record.active:hover{background-color:#dbdbdb}x-pw-tool-item.record.active>x-div{background-color:#a1260d}x-pw-tool-item.accept>x-div{background-color:#388a34}x-pw-tool-item.record>x-div{clip-path:url(#icon-circle-large-filled)}x-pw-tool-item.pick-locator>x-div{clip-path:url(#icon-inspect)}x-pw-tool-item.text>x-div{clip-path:url(#icon-whole-word)}x-pw-tool-item.visibility>x-div{clip-path:url(#icon-eye)}x-pw-tool-item.value>x-div{clip-path:url(#icon-symbol-constant)}x-pw-tool-item.accept>x-div{clip-path:url(#icon-check)}x-pw-tool-item.cancel>x-div{clip-path:url(#icon-close)}x-pw-tool-item.succeeded>x-div{clip-path:url(#icon-pass);background-color:#388a34!important}x-pw-overlay{position:absolute;top:0;max-width:min-content;z-index:2147483647;background:transparent;pointer-events:auto}x-pw-overlay x-pw-tools-list{background-color:#fffd;box-shadow:#0000001a 0 5px 5px;border-radius:3px;border-bottom:none}x-pw-overlay x-pw-tool-item{margin:2px}textarea.text-editor{font-family:system-ui,Ubuntu,Droid Sans,sans-serif;flex:auto;border:none;margin:6px 10px;color:#333;outline:1px solid transparent!important;resize:none;padding:0;font-size:13px}textarea.text-editor.does-not-match{outline:1px solid red!important}x-div{display:block}x-spacer{flex:auto}*{box-sizing:border-box}*[hidden]{display:none!important}x-locator-editor{flex:none;width:100%;height:60px;padding:4px;border-bottom:1px solid #dddddd;outline:1px solid transparent}x-locator-editor.does-not-match{outline:1px solid red}.CodeMirror{width:100%!important;height:100%!important}";class Ts{constructor(t){this._highlightEntries=[],this._highlightOptions={},this._language="javascript",this._injectedScript=t;const n=t.document;this._isUnderTest=t.isUnderTest,this._glassPaneElement=n.createElement("x-pw-glass"),this._glassPaneElement.style.position="fixed",this._glassPaneElement.style.top="0",this._glassPaneElement.style.right="0",this._glassPaneElement.style.bottom="0",this._glassPaneElement.style.left="0",this._glassPaneElement.style.zIndex="2147483646",this._glassPaneElement.style.pointerEvents="none",this._glassPaneElement.style.display="flex",this._glassPaneElement.style.backgroundColor="transparent";for(const r of["click","auxclick","dragstart","input","keydown","keyup","pointerdown","pointerup","mousedown","mouseup","mouseleave","focus","scroll"])this._glassPaneElement.addEventListener(r,i=>{i.stopPropagation(),i.stopImmediatePropagation(),i.type==="click"&&i.button===0&&this._highlightOptions.tooltipListItemSelected&&this._highlightOptions.tooltipListItemSelected(void 0)});if(this._actionPointElement=n.createElement("x-pw-action-point"),this._actionPointElement.setAttribute("hidden","true"),this._glassPaneShadow=this._glassPaneElement.attachShadow({mode:this._isUnderTest?"open":"closed"}),typeof this._glassPaneShadow.adoptedStyleSheets.push=="function"){const r=new this._injectedScript.window.CSSStyleSheet;r.replaceSync(Tc),this._glassPaneShadow.adoptedStyleSheets.push(r)}else{const r=this._injectedScript.document.createElement("style");r.textContent=Tc,this._glassPaneShadow.appendChild(r)}this._glassPaneShadow.appendChild(this._actionPointElement)}install(){this._injectedScript.document.documentElement.contains(this._glassPaneElement)||this._injectedScript.document.documentElement.appendChild(this._glassPaneElement)}setLanguage(t){this._language=t}runHighlightOnRaf(t){this._rafRequest&&cancelAnimationFrame(this._rafRequest),this.updateHighlight(this._injectedScript.querySelectorAll(t,this._injectedScript.document.documentElement),{tooltipText:zn(this._language,fn(t))}),this._rafRequest=this._injectedScript.builtinRequestAnimationFrame(()=>this.runHighlightOnRaf(t))}uninstall(){this._rafRequest&&cancelAnimationFrame(this._rafRequest),this._glassPaneElement.remove()}showActionPoint(t,n){this._actionPointElement.style.top=n+"px",this._actionPointElement.style.left=t+"px",this._actionPointElement.hidden=!1}hideActionPoint(){this._actionPointElement.hidden=!0}clearHighlight(){var t,n;for(const r of this._highlightEntries)(t=r.highlightElement)==null||t.remove(),(n=r.tooltipElement)==null||n.remove();this._highlightEntries=[],this._highlightOptions={},this._glassPaneElement.style.pointerEvents="none"}updateHighlight(t,n){this._innerUpdateHighlight(t,n)}maskElements(t,n){this._innerUpdateHighlight(t,{color:n})}_innerUpdateHighlight(t,n){let r=n.color;if(r||(r=t.length>1?"#f6b26b7f":"#6fa8dc7f"),!this._highlightIsUpToDate(t,n)){this.clearHighlight(),this._highlightOptions=n,this._glassPaneElement.style.pointerEvents=n.tooltipListItemSelected?"initial":"none";for(let i=0;i 1?` [${i+1} of ${t.length}]`:"";l=[n.tooltipText+a]}for(let a=0;a {var c;return(c=n.tooltipListItemSelected)==null?void 0:c.call(n,a)}))}if(n.tooltipFooter){const a=this._injectedScript.document.createElement("x-pw-tooltip-footer");a.textContent=n.tooltipFooter,s.appendChild(a)}}this._highlightEntries.push({targetElement:t[i],tooltipElement:s,highlightElement:o})}for(const i of this._highlightEntries){if(i.box=i.targetElement.getBoundingClientRect(),!i.tooltipElement)continue;const{anchorLeft:o,anchorTop:s}=this.tooltipPosition(i.box,i.tooltipElement);i.tooltipTop=s,i.tooltipLeft=o}for(const i of this._highlightEntries){i.tooltipElement&&(i.tooltipElement.style.top=i.tooltipTop+"px",i.tooltipElement.style.left=i.tooltipLeft+"px");const o=i.box;i.highlightElement.style.backgroundColor=r,i.highlightElement.style.left=o.x+"px",i.highlightElement.style.top=o.y+"px",i.highlightElement.style.width=o.width+"px",i.highlightElement.style.height=o.height+"px",i.highlightElement.style.display="block",this._isUnderTest&&console.error("Highlight box for test: "+JSON.stringify({x:o.x,y:o.y,width:o.width,height:o.height}))}}}firstBox(){var t;return(t=this._highlightEntries[0])==null?void 0:t.box}tooltipPosition(t,n){const r=n.offsetWidth,i=n.offsetHeight,o=this._glassPaneElement.offsetWidth,s=this._glassPaneElement.offsetHeight;let l=t.left;l+r>o-5&&(l=o-r-5);let a=t.bottom+5;return a+i>s-5&&(t.top>i+5?a=t.top-i-5:a=s-5-i),{anchorLeft:l,anchorTop:a}}_highlightIsUpToDate(t,n){var r,i;if(n.tooltipText!==this._highlightOptions.tooltipText||n.tooltipListItemSelected!==this._highlightOptions.tooltipListItemSelected||n.tooltipFooter!==this._highlightOptions.tooltipFooter||((r=n.tooltipList)==null?void 0:r.length)!==((i=this._highlightOptions.tooltipList)==null?void 0:i.length))return!1;if(n.tooltipList&&this._highlightOptions.tooltipList){for(let o=0;o u.replace(/[\s\n]+/g,c=>c.includes(` +`)?` +`:" "),r=[],i=new Map;let o=0,s;const l=u=>{if(u.nodeType===Node.TEXT_NODE){r.push(u.nodeValue);return}if(u.nodeType===Node.ELEMENT_NODE){const c=u;if(c.nodeName==="SCRIPT"||c.nodeName==="STYLE"||c.nodeName==="NOSCRIPT")return;if(e.utils.isElementVisible(c)){const f=e.utils.getAriaRole(c);if(f&&Yy.has(f)){let d;(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA")&&(d=c.value);const g=e.utils.getElementAccessibleName(c,!1),y=String(++o);i.set(y,c),r.push(kc(e,f,g,y,{value:d})),c===t&&(s={tag:kc(e,f,g,y),id:y});return}}for(let f=c.firstChild;f;f=f.nextSibling)l(f)}};e.utils.beginAriaCaches();try{l(e.document.body)}finally{e.utils.endAriaCaches()}const a={markup:n(r.join(" ")),elements:i};if(t&&!s)throw new Error("Target element is not in the simple DOM");return Wi=a,{dom:a,node:s?{dom:a,...s}:void 0}}function kc(e,t,n,r,i){const o=e.utils.escapeHTML(n),s=e.utils.escapeHTMLAttribute((i==null?void 0:i.value)||"");switch(t){case"button":return``;case"link":return`${o}`;case"textbox":return``}return` ${o}`}class vp{constructor(t,n,r,i,o,s,l){this.onGlobalListenersRemoved=new Set,this._testIdAttributeNameForStrictErrorAndConsoleCodegen="data-testid",this.utils={asLocator:zn,beginAriaCaches:Da,cacheNormalizedWhitespaces:xv,elementText:Ae,endAriaCaches:za,escapeHTML:Tv,escapeHTMLAttribute:Ev,getAriaRole:Ee,getElementAccessibleDescription:vc,getElementAccessibleName:So,isElementVisible:tn,isInsideScope:Bo,normalizeWhiteSpace:De},this.window=t,this.document=t.document,this.isUnderTest=n,this._sdkLanguage=r,this._testIdAttributeNameForStrictErrorAndConsoleCodegen=i,this._evaluator=new Sy(new Map),this._engines=new Map,this._engines.set("xpath",dc),this._engines.set("xpath:light",dc),this._engines.set("_react",ay),this._engines.set("_vue",hy),this._engines.set("role",wc(!1)),this._engines.set("text",this._createTextEngine(!0,!1)),this._engines.set("text:light",this._createTextEngine(!1,!1)),this._engines.set("id",this._createAttributeEngine("id",!0)),this._engines.set("id:light",this._createAttributeEngine("id",!1)),this._engines.set("data-testid",this._createAttributeEngine("data-testid",!0)),this._engines.set("data-testid:light",this._createAttributeEngine("data-testid",!1)),this._engines.set("data-test-id",this._createAttributeEngine("data-test-id",!0)),this._engines.set("data-test-id:light",this._createAttributeEngine("data-test-id",!1)),this._engines.set("data-test",this._createAttributeEngine("data-test",!0)),this._engines.set("data-test:light",this._createAttributeEngine("data-test",!1)),this._engines.set("css",this._createCSSEngine()),this._engines.set("nth",{queryAll:()=>[]}),this._engines.set("visible",this._createVisibleEngine()),this._engines.set("internal:control",this._createControlEngine()),this._engines.set("internal:has",this._createHasEngine()),this._engines.set("internal:has-not",this._createHasNotEngine()),this._engines.set("internal:and",{queryAll:()=>[]}),this._engines.set("internal:or",{queryAll:()=>[]}),this._engines.set("internal:chain",this._createInternalChainEngine()),this._engines.set("internal:label",this._createInternalLabelEngine()),this._engines.set("internal:text",this._createTextEngine(!0,!0)),this._engines.set("internal:has-text",this._createInternalHasTextEngine()),this._engines.set("internal:has-not-text",this._createInternalHasNotTextEngine()),this._engines.set("internal:attr",this._createNamedAttributeEngine()),this._engines.set("internal:testid",this._createNamedAttributeEngine()),this._engines.set("internal:role",wc(!0));for(const{name:a,engine:u}of l)this._engines.set(a,u);this._stableRafCount=o,this._browserName=s,U0(s),this._setupGlobalListenersRemovalDetection(),this._setupHitTargetInterceptors(),n&&(this.window.__injectedScript=this)}builtinSetTimeout(t,n){var r;return(r=this.window.__pwClock)!=null&&r.builtin?this.window.__pwClock.builtin.setTimeout(t,n):this.window.setTimeout(t,n)}builtinClearTimeout(t){var n;return(n=this.window.__pwClock)!=null&&n.builtin?this.window.__pwClock.builtin.clearTimeout(t):this.window.clearTimeout(t)}builtinRequestAnimationFrame(t){var n;return(n=this.window.__pwClock)!=null&&n.builtin?this.window.__pwClock.builtin.requestAnimationFrame(t):this.window.requestAnimationFrame(t)}eval(t){return this.window.eval(t)}testIdAttributeNameForStrictErrorAndConsoleCodegen(){return this._testIdAttributeNameForStrictErrorAndConsoleCodegen}parseSelector(t){const n=Uo(t);return Vv(n,r=>{if(!this._engines.has(r.name))throw this.createStacklessError(`Unknown engine "${r.name}" while parsing selector ${t}`)}),n}generateSelector(t,n){return _c(this,t,n)}generateSelectorSimple(t,n){return _c(this,t,{...n,testIdAttributeName:this._testIdAttributeNameForStrictErrorAndConsoleCodegen}).selector}querySelector(t,n,r){const i=this.querySelectorAll(t,n);if(r&&i.length>1)throw this.strictModeViolationError(t,i);return i[0]}_queryNth(t,n){const r=[...t];let i=+n.body;return i===-1&&(i=r.length-1),new Set(r.slice(i,i+1))}_queryLayoutSelector(t,n,r){const i=n.name,o=n.body,s=[],l=this.querySelectorAll(o.parsed,r);for(const a of t){const u=sp(i,a,l,o.distance);u!==void 0&&s.push({element:a,score:u})}return s.sort((a,u)=>a.score-u.score),new Set(s.map(a=>a.element))}querySelectorAll(t,n){if(t.capture!==void 0){if(t.parts.some(i=>i.name==="nth"))throw this.createStacklessError("Can't query n-th element in a request with the capture.");const r={parts:t.parts.slice(0,t.capture+1)};if(t.capturer.has(s)))}else if(i.name==="internal:or"){const o=this.querySelectorAll(i.body.parsed,n);r=new Set(lp(new Set([...r,...o])))}else if(_y.includes(i.name))r=this._queryLayoutSelector(r,i,n);else{const o=new Set;for(const s of r){const l=this._queryEngineAll(i,s);for(const a of l)o.add(a)}r=o}return[...r]}finally{this._evaluator.end()}}_queryEngineAll(t,n){const r=this._engines.get(t.name).queryAll(n,t.body);for(const i of r)if(!("nodeName"in i))throw this.createStacklessError(`Expected a Node but got ${Object.prototype.toString.call(i)}`);return r}_createAttributeEngine(t,n){const r=i=>[{simples:[{selector:{css:`[${t}=${JSON.stringify(i)}]`,functions:[]},combinator:""}]}];return{queryAll:(i,o)=>this._evaluator.query({scope:i,pierceShadow:n},r(o))}}_createCSSEngine(){return{queryAll:(t,n)=>this._evaluator.query({scope:t,pierceShadow:!0},n)}}_createTextEngine(t,n){return{queryAll:(i,o)=>{const{matcher:s,kind:l}=Ci(o,n),a=[];let u=null;const c=d=>{if(l==="lax"&&u&&u.contains(d))return!1;const g=qo(this._evaluator._cacheText,d,s);g==="none"&&(u=d),(g==="self"||g==="selfAndChildren"&&l==="strict"&&!n)&&a.push(d)};i.nodeType===Node.ELEMENT_NODE&&c(i);const f=this._evaluator._queryCSS({scope:i,pierceShadow:t},"*");for(const d of f)c(d);return a}}}_createInternalHasTextEngine(){return{queryAll:(t,n)=>{if(t.nodeType!==1)return[];const r=t,i=Ae(this._evaluator._cacheText,r),{matcher:o}=Ci(n,!0);return o(i)?[r]:[]}}}_createInternalHasNotTextEngine(){return{queryAll:(t,n)=>{if(t.nodeType!==1)return[];const r=t,i=Ae(this._evaluator._cacheText,r),{matcher:o}=Ci(n,!0);return o(i)?[]:[r]}}}_createInternalLabelEngine(){return{queryAll:(t,n)=>{const{matcher:r}=Ci(n,!0);return this._evaluator._queryCSS({scope:t,pierceShadow:!0},"*").filter(o=>Yh(this._evaluator._cacheText,o).some(s=>r(s)))}}}_createNamedAttributeEngine(){return{queryAll:(n,r)=>{const i=on(r,!0);if(i.name||i.attributes.length!==1)throw new Error("Malformed attribute selector: "+r);const{name:o,value:s,caseSensitive:l}=i.attributes[0],a=l?null:s.toLowerCase();let u;return s instanceof RegExp?u=f=>!!f.match(s):l?u=f=>f===s:u=f=>f.toLowerCase().includes(a),this._evaluator._queryCSS({scope:n,pierceShadow:!0},`[${o}]`).filter(f=>u(f.getAttribute(o)))}}}_createControlEngine(){return{queryAll(t,n){if(n==="enter-frame")return[];if(n==="return-empty")return[];if(n==="component")return t.nodeType!==1?[]:[t.childElementCount===1?t.firstElementChild:t];throw new Error(`Internal error, unknown internal:control selector ${n}`)}}}_createHasEngine(){return{queryAll:(n,r)=>n.nodeType!==1?[]:!!this.querySelector(r.parsed,n,!1)?[n]:[]}}_createHasNotEngine(){return{queryAll:(n,r)=>n.nodeType!==1?[]:!!this.querySelector(r.parsed,n,!1)?[]:[n]}}_createVisibleEngine(){return{queryAll:(n,r)=>n.nodeType!==1?[]:tn(n)===!!r?[n]:[]}}_createInternalChainEngine(){return{queryAll:(n,r)=>this.querySelectorAll(r.parsed,n)}}extend(t,n){const r=this.window.eval(` + (() => { + const module = {}; + ${t} + return module.exports.default(); + })()`);return new r(this,n)}async viewportRatio(t){return await new Promise(n=>{const r=new IntersectionObserver(i=>{n(i[0].intersectionRatio),r.disconnect()});r.observe(t),this.builtinRequestAnimationFrame(()=>{})})}getElementBorderWidth(t){if(t.nodeType!==Node.ELEMENT_NODE||!t.ownerDocument||!t.ownerDocument.defaultView)return{left:0,top:0};const n=t.ownerDocument.defaultView.getComputedStyle(t);return{left:parseInt(n.borderLeftWidth||"",10),top:parseInt(n.borderTopWidth||"",10)}}describeIFrameStyle(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return"error:notconnected";const n=t.ownerDocument.defaultView;for(let i=t;i;i=_e(i))if(n.getComputedStyle(i).transform!=="none")return"transformed";const r=n.getComputedStyle(t);return{left:parseInt(r.borderLeftWidth||"",10)+parseInt(r.paddingLeft||"",10),top:parseInt(r.borderTopWidth||"",10)+parseInt(r.paddingTop||"",10)}}retarget(t,n){let r=t.nodeType===Node.ELEMENT_NODE?t:t.parentElement;return r?(n==="none"||(!r.matches("input, textarea, select")&&!r.isContentEditable&&(n==="button-link"?r=r.closest("button, [role=button], a, [role=link]")||r:r=r.closest("button, [role=button], [role=checkbox], [role=radio]")||r),n==="follow-label"&&(!r.matches("a, input, textarea, button, select, [role=link], [role=button], [role=checkbox], [role=radio]")&&!r.isContentEditable&&(r=r.closest("label")||r),r.nodeName==="LABEL"&&(r=r.control||r))),r):null}async checkElementStates(t,n){if(n.includes("stable")){const r=await this._checkElementIsStable(t);if(r===!1)return{missingState:"stable"};if(r==="error:notconnected")return r}for(const r of n)if(r!=="stable"){const i=this.elementState(t,r);if(i===!1)return{missingState:r};if(i==="error:notconnected")return i}}async _checkElementIsStable(t){const n=Symbol("continuePolling");let r,i=0,o=0;const s=()=>{const f=this.retarget(t,"no-follow-label");if(!f)return"error:notconnected";const d=performance.now();if(this._stableRafCount>1&&d-o<15)return n;o=d;const g=f.getBoundingClientRect(),y={x:g.top,y:g.left,width:g.width,height:g.height};if(r){if(!(y.x===r.x&&y.y===r.y&&y.width===r.width&&y.height===r.height))return!1;if(++i>=this._stableRafCount)return!0}return r=y,n};let l,a;const u=new Promise((f,d)=>{l=f,a=d}),c=()=>{try{const f=s();f!==n?l(f):this.builtinRequestAnimationFrame(c)}catch(f){a(f)}};return this.builtinRequestAnimationFrame(c),u}elementState(t,n){const r=this.retarget(t,["stable","visible","hidden"].includes(n)?"none":"follow-label");if(!r||!r.isConnected)return n==="hidden"?!0:"error:notconnected";if(n==="visible")return tn(r);if(n==="hidden")return!tn(r);const i=Bh(r);if(n==="disabled")return i;if(n==="enabled")return!i;const o=!(["INPUT","TEXTAREA","SELECT"].includes(r.nodeName)&&r.hasAttribute("readonly"));if(n==="editable")return!i&&o;if(n==="checked"||n==="unchecked"){const s=n==="checked",l=Fh(r,!1);if(l==="error")throw this.createStacklessError("Not a checkbox or radio button");return s===l}throw this.createStacklessError(`Unexpected element state "${n}"`)}selectOptions(t,n){const r=this.retarget(t,"follow-label");if(!r)return"error:notconnected";if(r.nodeName.toLowerCase()!=="select")throw this.createStacklessError("Element is not a