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

3423 lines
1.8 MiB

This file contains ambiguous Unicode characters!

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

!(function(){var Rl=Math.pow;var Wu=(wt,Wt,ge)=>new Promise((re,ot)=>{var Ke=Te=>{try{Pe(ge.next(Te))}catch(Qe){ot(Qe)}},nt=Te=>{try{Pe(ge.throw(Te))}catch(Qe){ot(Qe)}},Pe=Te=>Te.done?re(Te.value):Promise.resolve(Te.value).then(Ke,nt);Pe((ge=ge.apply(wt,Wt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[52338],{33859:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Qe}});var re=ge(87462),ot=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},nt=Ke,Pe=ge(84089),Te=function(Me,Ge){return ot.createElement(Pe.Z,(0,re.Z)({},Me,{ref:Ge,icon:nt}))},Qe=ot.forwardRef(Te)},38308:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Qe}});var re=ge(87462),ot=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},nt=Ke,Pe=ge(84089),Te=function(Me,Ge){return ot.createElement(Pe.Z,(0,re.Z)({},Me,{ref:Ge,icon:nt}))},Qe=ot.forwardRef(Te)},54262:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Qe}});var re=ge(87462),ot=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},nt=Ke,Pe=ge(84089),Te=function(Me,Ge){return ot.createElement(Pe.Z,(0,re.Z)({},Me,{ref:Ge,icon:nt}))},Qe=ot.forwardRef(Te)},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(wt,Wt){"use strict";Wt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},52654:function(wt,Wt){"use strict";Wt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},31865:function(wt,Wt,ge){"use strict";var re=ge(67294),ot=Object.defineProperty,Ke=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Te=(Me,Ge,Ve)=>Ge in Me?ot(Me,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Me[Ge]=Ve,Qe=(Me,Ge)=>{for(var Ve in Ge||(Ge={}))nt.call(Ge,Ve)&&Te(Me,Ve,Ge[Ve]);if(Ke)for(var Ve of Ke(Ge))Pe.call(Ge,Ve)&&Te(Me,Ve,Ge[Ve]);return Me};const we=Me=>React.createElement("svg",Qe({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));Wt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9y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iMzMjRBNUUiLz48cGF0aCBkPSJtNzggMzkuOCA1LjcgNS43LjUtLjUgMS40LTEuNC01LjYtNS43LTEuNCAxLjQtLjYuNVptMTAuNS01LjdjLS41LjItMS4yLjctMS43IDEuNC0xLjIgMS4yLTEuOSAyLjQtMS43IDIuOS41LjUgMS43LS41IDIuOS0xLjcuNy0uNyAxLjItMS4yIDEuNC0xLjdsNi4yLTYuMiAxLjQgMS40YzEuNy0yLjYgMi4xLTQuNSAxLjQtNS0uNS0uNS0yLjYtLjItNSAxLjRsMS42IDEuNi02LjUgNS45WiIgZmlsbD0iI0ZGQzY1QiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiAzNi40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},20076:function(wt,Wt,ge){"use strict";var re=ge(67294),ot=Object.defineProperty,Ke=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Te=(Me,Ge,Ve)=>Ge in Me?ot(Me,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Me[Ge]=Ve,Qe=(Me,Ge)=>{for(var Ve in Ge||(Ge={}))nt.call(Ge,Ve)&&Te(Me,Ve,Ge[Ve]);if(Ke)for(var Ve of Ke(Ge))Pe.call(Ge,Ve)&&Te(Me,Ve,Ge[Ve]);return Me};const we=Me=>React.createElement("svg",Qe({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));Wt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var wt={},Wt="5.0",ge={},re=null,ot=!1,Ke=!1,nt=null,Pe=!1,Te=null,Qe=null,we=0;we<arguments.length;we++){var Me=arguments[we];if(Me!==null)switch(typeof Me){case"number":Wt=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?Wt=Me:nt=Me;break;case"object":typeof Me.is3D!="undefined"?re=Me:ge=Me;break;case"boolean":ot=Me,Ke=!0;break}}re===null&&(re={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ge.material_id!==void 0&&!Ke&&(ot=!0)),nt!==null&&ge.id===void 0&&(ge.id=nt);var Ge="",Ve="",Ne=!1,ct=null,et=null,Re=null,je=!1,Fe=null,ze=null,ft=null,Ye=null,ut=null;ge.height!==void 0&&(ge.height=Math.round(ge.height)),ge.width!==void 0&&(ge.width=Math.round(ge.width));var vt=function(rt){return parseFloat(rt)>4?parseFloat(rt):5};wt.setHTML5Codebase=function(rt,Ue){Qe=rt,$e(rt,Ue)},wt.setJavaCodebase=wt.setJavaCodebaseVersion=wt.isCompiledInstalled=wt.setPreCompiledScriptPath=wt.setPreCompiledResourcePath=function(){},wt.setHTML5CodebaseVersion=function(rt,Ue){var Ct=parseFloat(rt);if(Ct!==NaN&&Ct<5){console.log("The GeoGebra HTML5 codebase version "+Ct+" is deprecated. Using version latest instead.");return}Te=rt,xe(rt,Ue)},wt.getHTML5CodebaseVersion=function(){return et},wt.getParameters=function(){return ge},wt.setFontsCSSURL=function(rt){Ye=rt},wt.setGiacJSURL=function(rt){},wt.setJNLPFile=function(rt){Ge=rt},wt.setJNLPBaseDir=function(rt){},wt.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ue="auto",Ct=ge.id,fn,Et=!1,Nt=0;Nt<arguments.length;Nt++){var Rt=arguments[Nt];typeof Rt=="string"?(Rt=Rt.toLowerCase(),Rt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ue=Rt:Ct=arguments[Nt]):typeof Rt=="boolean"?Et=Rt:Rt instanceof HTMLElement&&(fn=Rt)}vn();function vn(){if(!Pe){setTimeout(vn,200);return}Ue=$n(Ue);var En=fn||document.getElementById(Ct);if(!En){console.log("possibly bug on ajax loading? ");return}if(wt.removeExistingApplet(En,!1),ge.width===void 0&&En.clientWidth&&(ge.width=En.clientWidth),ge.height===void 0&&En.clientHeight&&(ge.height=En.clientHeight),!(ge.width&&ge.height)&&Ue==="html5"&&(delete ge.width,delete ge.height),ct=Ue,Ue==="screenshot")pt(En,ge);else{var Ee=!1;ge.hasOwnProperty("playButton")&&ge.playButton||ge.hasOwnProperty("clickToLoad")&&ge.clickToLoad?Ee=!0:ge.hasOwnProperty("playButtonAutoDecide")&&ge.playButtonAutoDecide&&(Ee=(!xt()||rt())&&yt()),Ee?(ct="screenshot",dt(En,ge,Et,Ue)):Ot(En,ge,Et)}}};function xt(){try{return window.self!==window.top}catch(rt){return!0}}function yt(){return ge.hasOwnProperty("screenshotGenerator")&&ge.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}wt.getViews=function(){return re},wt.isJavaInstalled=function(){return!1};var _t=function(rt){var Ue=function(Nt){var Rt=JSON.parse(Nt),vn=function(de){return de.type=="G"||de.type=="E"},En=Rt.elements?Rt.elements.filter(vn)[0]:Rt;if(!En||!En.url){Ct();return}ge.fileName=En.url,Jt(En.settings||{}),re.is3D=!0;var Ee="https://www.geogebra.org/images/";wt.setPreviewImage(Fe||En.previewUrl,Ee+"GeoGebra_loading.png",Ee+"applet_play.png"),rt()},Ct=function(){ge.onError&&ge.onError(),ht("Error: Fetching material (id "+ge.material_id+") failed.",ge)},fn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Et="/materials/"+ge.material_id+"?scope=basic";Tt("https://"+fn+"/api/proxy.php?path="+encodeURIComponent(Et),Ue,Ct)};function Jt(rt){var Ue=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ct){rt[Ct]=!!rt[Ct]}),Ue.forEach(function(Ct){ge[Ct]===void 0&&rt[Ct]!==void 0&&(ge[Ct]=rt[Ct])}),ge.showToolBarHelp===void 0&&(ge.showToolBarHelp=ge.showToolBar)}function Tt(rt,Ue,Ct){var fn=new XMLHttpRequest;fn.open("GET",rt),fn.onload=function(){Ue(fn.responseText)},fn.onerror=Ct,fn.send()}wt.isHTML5Installed=function(){return!0},wt.getLoadedAppletType=function(){return ct},wt.setPreviewImage=function(rt,Ue,Ct){Fe=rt,ze=Ue,ft=Ct},wt.removeExistingApplet=function(rt,Ue){var Ct;typeof rt=="string"&&(rt=document.getElementById(rt)),ct=null;var fn=null;for(Ct=0;Ct<rt.childNodes.length;Ct++){var Et=rt.childNodes[Ct],Nt=Et.className;Nt==="applet_screenshot"?Ue?(Et.style.display="block",ct="screenshot"):Et.style.display="none":Nt!=="applet_scaler prerender"&&(rt.removeChild(Et),fn=Nt&&Nt.indexOf("appletParameters")!=-1?Et.id:null,Ct--)}var Rt=ge.id!==void 0?ge.id:fn,vn=window[Rt];vn&&typeof vn.getBase64=="function"&&(vn.remove(),window[Rt]=null)},wt.refreshHitPoints=function(){if(vt(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var rt=wt.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},wt.startAnimation=function(){var rt=wt.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},wt.stopAnimation=function(){var rt=wt.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},wt.getAppletObject=function(){var rt=ge.id!==void 0?ge.id:"ggbApplet";return window[rt]},wt.resize=function(){};var Bt=function(rt,Ue,Ct){var fn=document.createElement("param");fn.setAttribute("name",Ue),fn.setAttribute("value",Ct),rt.appendChild(fn)},Je=function(rt){return rt&&rt!=="false"},Ot=function(rt,Ue,Ct){vt(et)<=4.2&&(Ct=!0);var fn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==et||ggbHTML5LoadedCodebaseIsWebSimple&&!je)&&(fn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Et=document.createElement("div");Et.classList.add("appletParameters","notranslate");var Nt=Ue.width,Rt=Ue.height;if(Ue.disableAutoScale=Ue.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ue.disableAutoScale,Ue.width!==void 0)if(vt(et)<=4.4)Je(Ue.showToolBar)&&(Ue.height-=7),Je(Ue.showAlgebraInput)&&(Ue.height-=37),Ue.width<605&&Je(Ue.showToolBar)&&(Ue.width=605,Nt=605);else{var vn=100;(Je(Ue.showToolBar)||Je(Ue.showMenuBar))&&(Ue.hasOwnProperty("customToolBar")&&(Ue.customToolbar=Ue.customToolBar),vn=Je(Ue.showMenuBar)?245:155),Nt<vn&&(Ue.width=vn,Nt=vn)}Et.style.border="none",Et.style.display="inline-block";for(var En in Ue)Ue.hasOwnProperty(En)&&En!=="appletOnLoad"&&Et.setAttribute("data-param-"+En,Ue[En]);Ye&&Et.setAttribute("data-param-fontscssurl",Ye),wt.resize=function(){GGBAppletUtils.responsiveResize(rt,Ue)},window.addEventListener("resize",function(Qt){wt.resize()});var Ee=typeof Ue.appletOnLoad=="function"?Ue.appletOnLoad:function(){};if(!Ct&&Ue.width!==void 0){Ue.hasOwnProperty("showSplash")||Et.setAttribute("data-param-showSplash","false");var de=rt.querySelector(".applet_scaler.prerender"),le=de!==null;if(le)var ye=de.querySelector(".ggb_preview");else{var ye=Tn(Nt,Rt,Ue.borderColor,!1);de=document.createElement("div"),de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.style.width=Nt+"px",de.style.height=Rt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(de,"66%"),vt(et)>=5?(Ue.appletOnLoad=function(Qt){var zn=rt.querySelector(".ggb_preview");zn&&zn.parentNode.removeChild(zn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(de),window.GGBT_wsf_view&&$(window).trigger("resize"),Ee(Qt)},le||de.appendChild(ye)):Et.appendChild(ye),de.appendChild(Et),le||rt.appendChild(de),setTimeout(function(){wt.resize()},1)}else{var me=document.createElement("div");me.className="applet_scaler",me.style.position="relative",me.style.display="block",me.appendChild(Et),rt.appendChild(me),Ue.appletOnLoad=function(Qt){wt.resize(),Ee(Qt)}}function ue(Qt,zn){zn&&typeof zn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Qt,zn.appletOnLoad):renderGGBElement(Qt),ht("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",zn)}function Ie(Qt,zn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Qt,params:zn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ei){ue(Ei.article,Ei.params)}),html5AppletsToProcess=null)},vt(et)<5&&(Qt.className+=" geogebraweb")):ue(Qt,zn)}if(fn){scriptLoadStarted=!0;for(var tt=0;tt<Et.childNodes.length;tt++){var Lt=Et.childNodes[tt].tagName;Lt==="TABLE"&&(Et.removeChild(Et.childNodes[tt]),tt--)}if(ggbHTML5LoadedScript!==null){var Pt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Pt!=null&&Pt.parentNode.removeChild(Pt)}var en=document.createElement("script"),dn=function(){Ie(Et,Ue)};en.src=Ve+Re,ggbHTML5LoadedCodebaseIsWebSimple=je,ggbHTML5LoadedCodebaseVersion=et,ggbHTML5LoadedScript=en.src,ht("GeoGebra HTML5 codebase loaded: '"+Ve+"'.",Ue),!Qe&&(!Te||Te=="5.0")?(je?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),dn()):Ve.requirejs?__webpack_require__.e(12).then(function(){var Qt=[__webpack_require__(12)];dn.apply(null,Qt)}.bind(this)).catch(__webpack_require__.oe):(en.onload=dn,rt.appendChild(en))}else Ie(Et,Ue);Ue.height=Rt,Ue.width=Nt},pt=function(rt,Ue,Ct){var fn=Tn(Ue.width,Ue.height,Ue.borderColor,Ct),Et=document.createElement("div");Et.style.position="relative",Et.style.display="block",Et.style.width=Ue.width+"px",Et.style.height=Ue.height+"px",Et.className="applet_screenshot applet_scaler"+(Ct?" applet_screenshot_play":""),Et.appendChild(fn);var Nt=GGBAppletUtils.getScale(Ue,rt,Ct);Ct?(rt.appendChild(gn()),window.GGBT_wsf_view||(rt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Et,"66%"),rt.appendChild(Et),Nt!==1&&!isNaN(Nt)&&(GGBAppletUtils.scaleElement(Et,Nt),Et.style.width=Ue.width+"px",Et.style.height=Ue.height+"px",Et.parentNode.style.width=Ue.width*Nt+"px",Et.parentNode.style.height=Ue.height*Nt+"px"),wt.resize=function(){jt(rt,fn,Et,Ct)},window.addEventListener("resize",function(Rt){wt.resize()}),wt.resize()};function jt(rt,Ue,Ct,fn){if(rt.contains(Ue)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(rt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(rt)}var Et=GGBAppletUtils.getScale(ge,rt,fn);Ct.parentNode!==null&&(!isNaN(Et)&&Et!==1?(GGBAppletUtils.scaleElement(Ct,Et),Ct.parentNode.style.width=ge.width*Et+"px",Ct.parentNode.style.height=ge.height*Et+"px"):(GGBAppletUtils.scaleElement(Ct,1),Ct.parentNode.style.width=ge.width+"px",Ct.parentNode.style.height=ge.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(rt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}wt.onExitFullscreen=function(rt,Ue){Ue.appendChild(rt)};var dt=function(rt,Ue,Ct,fn){pt(rt,Ue,!0);for(var Et=function(){var vn=[];for(Rt=0;Rt<rt.childNodes.length;Rt++)vn.push(rt.childNodes[Rt]);if(window.GGBT_wsf_view){var En=window.GGBT_wsf_view.renderFullScreen(rt,Ue.id),Ee=document.getElementById("fullscreencontainer"),de=jQuery(rt).find(".fullscreencontent");de.length>0?(En.remove(),de.attr("id","fullscreencontent").show(),jQuery(Ee).append(de),window.dispatchEvent(new Event("resize"))):Ot(En,Ue,!1),window.GGBT_wsf_view.launchFullScreen(Ee)}else ct=fn,Ot(rt,Ue,!1);if(!window.GGBT_wsf_view)for(Rt=0;Rt<vn.length;Rt++)rt.removeChild(vn[Rt])},Nt=rt.getElementsByClassName("ggb_preview_play"),Rt=0;Rt<Nt.length;Rt++)Nt[Rt].addEventListener("click",Et,!1),Nt[Rt].addEventListener("ontouchstart",Et,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(rt),yt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},gn=function(){var rt=document.createElement("div");if(rt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ue='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ct=document.createElement("style");Ct.styleSheet?Ct.styleSheet.cssText=Ue:Ct.appendChild(document.createTextNode(Ue)),document.getElementsByTagName("head")[0].appendChild(Ct)}return rt},Tn=function(rt,Ue,Ct,fn){var Et=document.createElement("div");Et.className="ggb_preview",Et.style.position="absolute",Et.style.zIndex="90",Et.style.width=rt-2+"px",Et.style.height=Ue-2+"px",Et.style.top="0px",Et.style.left="0px",Et.style.overflow="hidden",Et.style.backgroundColor="white";var Nt="lightgrey";Ct!==void 0&&(Ct==="none"?Nt="transparent":Nt=Ct),Et.style.border="1px solid "+Nt;var Rt=document.createElement("img");if(Rt.style.position="relative",Rt.style.zIndex="1000",Rt.style.top="-1px",Rt.style.left="-1px",Fe!==null&&Rt.setAttribute("src",Fe),Rt.style.opacity=.7,ze!==null){var vn,En,Ee;if(!fn){vn=document.createElement("img"),vn.style.position="absolute",vn.style.zIndex="1001",vn.style.opacity=1,Rt.style.opacity=.3,En=360,En>rt/4*3&&(En=rt/4*3),Ee=En/5.8,vn.setAttribute("src",ze),vn.setAttribute("width",En),vn.setAttribute("height",Ee);var de=(rt-En)/2,le=(Ue-Ee)/2;vn.style.left=de+"px",vn.style.top=le+"px",Et.appendChild(vn)}}return Et.appendChild(Rt),Et},$n=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},ke=["web","webSimple","web3d","tablet","tablet3d","phone"],xe=function(rt,Ue){if(et=rt,Ue){$e(et,!0);return}var Ct=!ot;if(Ct){var fn=vt(et);!isNaN(fn)&&fn<4.4&&(Ct=!1)}var Et,Nt;window.location.protocol.substr(0,4)==="http"?Et=window.location.protocol:Et="http:";var Rt=et.indexOf("//");Rt>0?Nt=et:Rt===0?Nt=Et+et:Nt="https://www.geogebra.org/apps/5.2.814.0/";for(var vn in ke)if(et.slice(ke[vn].length*-1)===ke[vn]||et.slice((ke[vn].length+1)*-1)===ke[vn]+"/"){$e(Nt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ct&&!re.is3D&&!re.AV&&!re.SV&&!re.CV&&!re.EV2&&!re.CP&&!re.PC&&!re.DA&&!re.FI&&!re.PV&&!Je(ge.showToolBar)&&!Je(ge.showMenuBar)&&!Je(ge.showAlgebraInput)&&!Je(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Nt+="webSimple/":Nt+="web3d/",$e(Nt,!1)},$e=function(rt,Ue){if(rt.requirejs){Ve=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),Ve=rt,Ue===null&&(Ue=rt.indexOf("http")===-1),Ne=Ue,Re="web.nocache.js",je=!1;var Ct=Ve.split("/");Ct.length>1&&(!Ue&&Ct[Ct.length-2]==="webSimple"?(Re="webSimple.nocache.js",je=!0):ke.indexOf(Ct[Ct.length-2])>=0&&(Re=Ct[Ct.length-2]+".nocache.js")),Ct=rt.split("/"),et=Ct[Ct.length-3],et.substr(0,4)==="test"?et=et.substr(4,1)+"."+et.substr(5,1):(et.substr(0,3)==="war"||et.substr(0,4)==="beta")&&(et="5.0");var fn=parseFloat(et);fn!==NaN&&fn<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+fn+" is deprecated. Using version latest instead."),xe("5.0",Ue))},ht=function(rt,Ue){window.console&&window.console.log&&(!Ue||typeof Ue.showLogging=="undefined"||Ue.showLogging&&Ue.showLogging!=="false")&&console.log(rt)};ge.material_id!==void 0?_t(kt):kt();function kt(){var rt=Wt;Te!==null?rt=Te:parseFloat(rt)<5&&(rt="5.0"),xe(rt,!1),Qe!==null&&$e(Qe,Ne),Pe=!0}return wt},GGBAppletUtils=function(){"use strict";function wt(){return window.GGBT_wsf_edit!==void 0}function Wt(Pe,Te){Te!=1?(Pe.style.transformOrigin="0% 0% 0px",Pe.style.webkitTransformOrigin="0% 0% 0px",Pe.style.transform="scale("+Te+","+Te+")",Pe.style.webkitTransform="scale("+Te+","+Te+")",Pe.style.maxWidth="initial",Pe.querySelector(".ggb_preview")!==null&&(Pe.querySelector(".ggb_preview").style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Pe.style.transform="none",Pe.style.webkitTransform="none")}function ge(Pe,Te,Qe,we,Me,Ge){var Ve=null;if(Ge!=null&&Ge!="")for(var Ne=Pe.parentNode;Ne!=null;)if((" "+Ne.className+" ").indexOf(" "+Ge+" ")>-1){Ve=Ne;break}else Ne=Ne.parentNode;var ct=0,et=0,Re=0,je=0,Fe=0,ze=0,ft=0;if(Ve)ct=Ve.offsetWidth,et=Math.max(we?Ve.offsetWidth:0,Ve.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ct=Math.min(window.innerWidth,document.documentElement.clientWidth),et=Math.min(window.innerHeight,document.documentElement.clientHeight),Re=ct):(ct=window.innerWidth,et=window.innerHeight,Re=window.innerWidth),Pe){var Ye=Pe.getBoundingClientRect();Ye.left>0&&Ye.left<=ct&&(Me===void 0||!Me)&&(document.dir==="rtl"?(Fe=ct-Ye.width-Ye.left,ze=Re<=480?10:30):(ze=Ye.left,Fe=Re<=480?10:30),je=ze+Fe)}if(Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ut=Pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je=40,ft=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je=0,ft=40)}}return Pe&&((Qe===void 0||!Qe)&&Te>0&&Te+je<ct?ct=Te:ct-=je,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Qe===void 0||!Qe)&&(et-=ft)),{width:ct,height:et}}function re(Pe,Te,Qe,we,Me){if(Pe.isScreenshoGenerator)return 1;var Ge=we!==void 0&&we,Ve=Pe.noScaleMargin!=null&&Pe.noScaleMargin,Ne=function(ut){return ut&&ut!=="false"},ct=Ne(Pe.autoHeight),et=ge(Te,Pe.width,Qe,ct,Ge&&window.GGBT_wsf_view||Ve,Me),Re=parseInt(et.width),je=Pe.width,Fe=Pe.height;if(je===void 0){var ze=Te.querySelector(".appletParameters");ze&&(je=ze.offsetWidth,Fe=ze.offsetHeight)}var ft=Re/je,Ye=Ge?1:et.height/Fe;return Qe!==void 0&&!Qe&&(ft=Math.min(1,ft),Ye=Math.min(1,Ye)),Math.min(ft,Ye)}function ot(Pe,Te,Qe){var we=1,Me,Ge=!1;if(Pe.hasOwnProperty("allowUpscale")&&(Ge=Pe.allowUpscale),Pe.hasOwnProperty("scale")&&(we=parseFloat(Pe.scale),(isNaN(we)||we===null||we===0)&&(we=1),we>1&&(Ge=!0)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ge=!0),!(Pe.hasOwnProperty("disableAutoScale")&&Pe.disableAutoScale))Me=re(Pe,Te,Ge,Qe,Pe.scaleContainerClass);else return we;return Ge&&(!Pe.hasOwnProperty("scale")||we===1)?Me:Math.min(we,Me)}function Ke(Pe){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),Qe=Math.min(window.innerHeight,document.documentElement.clientHeight),we=Pe.getBoundingClientRect(),Me=(Te-we.width)/2,Ge=(Qe-we.height)/2;Ge<0&&(Ge=0),Pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?Pe.style.left="40px":Pe.style.left=Me+"px",Pe.style.top=Ge+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ge<40?Pe.style.top="40px":Pe.style.top=Ge+"px",Pe.style.left=Me+"px")}function nt(Pe,Te){var Qe=Pe.querySelector(".appletParameters");if(Qe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!==Qe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Pe)}if(Qe.parentElement&&/fullscreen/.test(Qe.parentElement.className))return;var we=ot(Te,Pe);wt()&&Qe.setAttribute("data-param-scale",we);for(var Me=null,Ge=0;Ge<Pe.childNodes.length;Ge++)if(Pe.childNodes[Ge].className!==void 0&&Pe.childNodes[Ge].className.match(/^applet_scaler/)){Me=Pe.childNodes[Ge];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var Ve=Te.id!==void 0?Te.id:"ggbApplet",Ne=window[Ve];(Ne==null||!Ne.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(we)&&we!==1?(Me.parentNode.style.width=Te.width*we+"px",Me.parentNode.style.height=Te.height*we+"px",Wt(Me,we)):(Wt(Me,1),Me.parentNode.style.width=Te.width+"px",Me.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ke(Pe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Qe).parents(".content-added-content"))}}return{responsiveResize:nt,isFlexibleWorksheetEditor:wt,positionCenter:Ke,getScale:ot,scaleElement:Wt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var wt=n.location.search;return wt.indexOf(J)!=-1||wt.indexOf(K)!=-1}function q(wt,Wt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(wt){var Wt=s[L].bindings;s[L].bindings=function(){for(var ge=Wt?Wt():{},re=wt[webModule.__softPermutationId],ot=O;ot<re.length;ot++){var Ke=re[ot];ge[Ke[O]]=Ke[P]}return ge}};var t;function u(){return v(),t}function v(){if(!t){var wt=o.createElement(Q);if(wt.id=L,wt.style.cssText=R+S,wt.tabIndex=-1,o.body.appendChild(wt),t=wt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Wt=document.compatMode==U?V:W;t.write(Wt+X),t.close()}}}function w(wt){function Wt(re){function ot(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ke=ot();if(Ke){re();return}function nt(){if(!Ke){if(!ot())return;Ke=!0,re(),o.removeEventListener&&o.removeEventListener(Z,nt,!1),Pe&&clearInterval(Pe)}}o.addEventListener&&o.addEventListener(Z,nt,!1);var Pe=setInterval(function(){nt()},$)}function ge(re){var ot=u(),Ke=ot.body,nt=ot.createElement(_);nt.language=ab,nt.crossOrigin=W,nt.src=re,webModule.__errFn&&(nt.onerror=function(){webModule.__errFn(L,new Error(bb+re))}),Ke.appendChild(nt)}Wt(function(){ge(wt)})}webModule.__startLoadingFragment=function(wt){return C(wt)},webModule.__installRunAsyncCode=function(wt){var Wt=u(),ge=Wt.body,re=Wt.createElement(_);re.language=ab,re.text=wt,ge.appendChild(re),ge.removeChild(re)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(wt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(wt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(wt){var Wt=c[wt];return Wt==null?null:Wt},r=d,webModule.__errFn=e}function B(){function wt(Pe){var Te=Pe.lastIndexOf(rb);Te==-1&&(Te=Pe.length);var Qe=Pe.indexOf(sb);Qe==-1&&(Qe=Pe.length);var we=Pe.lastIndexOf(tb,Math.min(Qe,Te));return we>=O?Pe.substring(O,we+P):W}function Wt(Pe){if(!Pe.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=Pe+vb,Pe=wt(Te.src)}return Pe}function ge(){var Pe=__gwt_getMetaProperty(wb);return Pe!=null?Pe:W}function re(){for(var Pe=o.getElementsByTagName(_),Te=O;Te<Pe.length;++Te)if(Pe[Te].src.indexOf(xb)!=-1)return wt(Pe[Te].src);return W}function ot(){var Pe=o.getElementsByTagName(yb);return Pe.length>O?Pe[Pe.length-P].href:W}function Ke(){var Pe=o.location;return Pe.href==Pe.protocol+zb+Pe.host+Pe.pathname+Pe.search+Pe.hash}var nt=ge();return nt==W&&(nt=re()),nt==W&&(nt=ot()),nt==W&&Ke()&&(nt=wt(o.location.href)),nt=Wt(nt),nt}function C(wt){return wt.match(/^\//)||wt.match(/^[a-zA-Z]+:\/\//)?wt:webModule.__moduleBase+wt}function D(){var wt=[],Wt=O,ge=[],re=[];function ot(Pe){var Te=re[Pe](),Qe=ge[Pe];if(Te in Qe)return Te;var we=[];for(var Me in Qe)we[Qe[Me]]=Me;throw r&&r(Pe,we,Te),null}if(__gwt_isKnownPropertyValue=function(Pe,Te){return Te in ge[Pe]},webModule.__getPropMap=function(){var Pe={};for(var Te in ge)ge.hasOwnProperty(Te)&&(Pe[Te]=ot(Te));return Pe},webModule.__computePropValue=ot,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ke;try{Ke=Cb;var nt=Ke.indexOf(Db);nt!=-1&&(Wt=parseInt(Ke.substring(nt+P),$),Ke=Ke.substring(O,nt))}catch(Pe){}return webModule.__softPermutationId=Wt,C(Ke+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(wt,Wt,ge){"use strict";ge.d(Wt,{Ax:function(){return nt},Ds:function(){return Pe},KI:function(){return Qe},SI:function(){return Ke},f1:function(){return ot}});var re=ge(11320);function ot(we){let Me=!0;if(we.length>0){for(let Ge=0;Ge<we.length;Ge++)if(we[Ge].compile_success==0||!we[Ge].compile_success){Me=!1;break}}else Me=!1;return Me}function Ke(we,Me=""){let Ge=[];for(let Ve=0;Ve<we.length;Ve++){let Ne=we[Ve],ct=Me?`${Me}/${Ne.name}`:`${Ne.name}`;Ge.push({title:Ne.name,type:Ne.type,isLeaf:Ne.type!=="tree",key:ct})}return Ge}function nt(we,Me,Ge){for(let Ve=0;Ve<we.length;Ve++){let Ne=we[Ve];if(Ne.key===Me){Ne.children=Ge;break}Ne.children&&nt(Ne.children,Me,Ge)}return we}function Pe(we,Me,Ge){let Ve;return function(){let Ne=this,ct=arguments,et=function(){Ve=null,Ge||we.apply(Ne,ct)},Re=Ge&&!Ve;clearTimeout(Ve),Ve=setTimeout(et,Me),Re&&we.apply(Ne,ct)}}const Te=!0,Qe=re.Z.API_SERVER},60580:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return et}});var re=ge(71577),ot=ge(67294),Ke=Object.defineProperty,nt=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Me=(Re,je,Fe)=>je in Re?Ke(Re,je,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Re[je]=Fe,Ge=(Re,je)=>{for(var Fe in je||(je={}))Qe.call(je,Fe)&&Me(Re,Fe,je[Fe]);if(Te)for(var Fe of Te(je))we.call(je,Fe)&&Me(Re,Fe,je[Fe]);return Re},Ve=(Re,je)=>nt(Re,Pe(je)),Ne=(Re,je)=>{var Fe={};for(var ze in Re)Qe.call(Re,ze)&&je.indexOf(ze)<0&&(Fe[ze]=Re[ze]);if(Re!=null&&Te)for(var ze of Te(Re))je.indexOf(ze)<0&&we.call(Re,ze)&&(Fe[ze]=Re[ze]);return Fe},ct=(Re,je,Fe)=>new Promise((ze,ft)=>{var Ye=xt=>{try{vt(Fe.next(xt))}catch(yt){ft(yt)}},ut=xt=>{try{vt(Fe.throw(xt))}catch(yt){ft(yt)}},vt=xt=>xt.done?ze(xt.value):Promise.resolve(xt.value).then(Ye,ut);vt((Fe=Fe.apply(Re,je)).next())});const et=Re=>{var je=Re,{children:Fe}=je,ze=Ne(je,["children"]);const[ft,Ye]=(0,ot.useState)(!1);return ot.createElement(re.ZP,Ve(Ge({},ze),{loading:ft,onClick:ut=>ct(void 0,null,function*(){try{Ye(!0),yield ze.onClick(ut),Ye(!1)}catch(vt){console.error(vt),Ye(!1)}})}),Fe)}},56243:function(wt,Wt,ge){"use strict";var re=ge(17187),ot=ge.n(re),Ke=Object.defineProperty,nt=(we,Me,Ge)=>Me in we?Ke(we,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):we[Me]=Ge,Pe=(we,Me,Ge)=>nt(we,typeof Me!="symbol"?Me+"":Me,Ge),Te=(we,Me,Ge)=>new Promise((Ve,Ne)=>{var ct=je=>{try{Re(Ge.next(je))}catch(Fe){Ne(Fe)}},et=je=>{try{Re(Ge.throw(je))}catch(Fe){Ne(Fe)}},Re=je=>je.done?Ve(je.value):Promise.resolve(je.value).then(ct,et);Re((Ge=Ge.apply(we,Me)).next())});class Qe extends re.EventEmitter{constructor(Me,Ge){super(),Pe(this,"url"),Pe(this,"body"),Pe(this,"fullContent",""),Pe(this,"controller",null),Pe(this,"buffer",""),this.url=Me,this.body=Ge}startStream(){return Te(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const Ge=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!Ge.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ge.status}`);const Ve=Ge.headers.get("content-type");if(!Ve)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ve.includes("application/json")){const et=yield Ge.json();this.emit("error",et);return}if(!Ve.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ne=Ge.body.getReader(),ct=new TextDecoder("utf-8");for(;;){const{done:et,value:Re}=yield Ne.read();if(et)break;const je=ct.decode(Re,{stream:!0});this.buffer+=je;const Fe=this.buffer.split(`
`);this.buffer=Fe.pop()||"";for(const ze of Fe)if(ze.startsWith("data:")){const ft=ze.slice(5).trim();if(ft==="[DONE]")break;try{const Ye=JSON.parse(ft);Ye.data&&this.handleData(Ye.data)}catch(Ye){this.buffer=ze+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ye)}}}this.emit("done",this.fullContent)}catch(Ge){Ge.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ge.message)}})}handleData(Me){Me.content&&(this.fullContent+=Me.content,this.emit("data",{chunk:Me,full:this.fullContent}))}cancelRequest(){var Me;(Me=this.controller)==null||Me.abort()}}Wt.Z=Qe},21826:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return ke}});var re=ge(67294),ot=ge(94668),Ke=ge(91733),nt=ge(17274),Pe=ge(86032),Te=ge(74855),Qe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},we=ge(2453),Me=ge(99398),Ge=ge(36576),Ve=ge(41807),Ne=ge(67127),ct=ge(81897),et=ge(72565),Re=ge(71230),je=ge(15746),Fe={smartWrp:"smartWrp___NjRcB"},ze=ge(36295),ft=ge(64743),Ye=ge(60580),ut=ge(67294),vt=(xe,$e,ht)=>new Promise((kt,rt)=>{var Ue=Et=>{try{fn(ht.next(Et))}catch(Nt){rt(Nt)}},Ct=Et=>{try{fn(ht.throw(Et))}catch(Nt){rt(Nt)}},fn=Et=>Et.done?kt(Et.value):Promise.resolve(Et.value).then(Ue,Ct);fn((ht=ht.apply(xe,$e)).next())});const xt=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function yt({open:xe=!0,onChange:$e,defaultValue:ht,placement:kt,width:rt,height:Ue,extra:Ct,onDynamic:fn,showExtra:Et=!0}){const Nt=(0,re.useRef)(null),Rt=(0,re.useRef)(null),[vn,En]=(0,re.useState)(ht||""),[Ee,de]=(0,re.useState)(ht||""),[le,ye]=(0,re.useState)(!!xe),[me,ue]=(0,re.useState)(1),Ie={selectOnLineNumbers:!0};(0,re.useEffect)(()=>{xe&&(En(ht),de(ht),ye(!0))},[xe,ht]),(0,re.useEffect)(()=>{vn!==""&&(clearTimeout(Rt.current),Rt.current=setTimeout(()=>{const Lt=document.createElement("iframe");if(Lt.style.width="100%",Lt.style.height="100%",Lt.style.border="0",Nt.current){Nt.current.innerHTML="",Nt.current.appendChild(Lt);const Pt=Lt.contentDocument||Lt.contentWindow.document;Pt.open(),Pt.write(vn),Pt.close()}},1e3))},[xe,vn]);const tt=Lt=>{En(Lt),$e==null||$e(Lt,Ee)};return ut.createElement(et.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:le,width:Et?700:"100%",height:Ue||"100vh",rootClassName:Fe.smartWrp,destroyOnClose:!0,onClose:()=>ye(!1),extra:Et&&ut.createElement("div",null,ut.createElement(ft.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:me,onChange:Lt=>ue(Lt)}),ut.createElement(Ye.Z,{type:"primary",className:"ml20",onClick:()=>vt(this,null,function*(){yield fn(vn,()=>{ye(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},ut.createElement(Re.Z,{className:"h100"},ut.createElement(je.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:me===1?"block":"none"}},ut.createElement("div",{className:"h100",ref:Nt})),ut.createElement(je.Z,{flex:"1",style:{display:me===2?"block":"none"}},ut.createElement(ze.ZP,{height:"90vh",value:ht,language:"html",theme:"vs",showMiniMap:!1,options:Ie,onChange:tt}))))}var _t=yt,Jt=Object.defineProperty,Tt=Object.defineProperties,Bt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,jt=(xe,$e,ht)=>$e in xe?Jt(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):xe[$e]=ht,dt=(xe,$e)=>{for(var ht in $e||($e={}))Ot.call($e,ht)&&jt(xe,ht,$e[ht]);if(Je)for(var ht of Je($e))pt.call($e,ht)&&jt(xe,ht,$e[ht]);return xe},gn=(xe,$e)=>Tt(xe,Bt($e)),Tn=(xe,$e)=>{var ht={};for(var kt in xe)Ot.call(xe,kt)&&$e.indexOf(kt)<0&&(ht[kt]=xe[kt]);if(xe!=null&&Je)for(var kt of Je(xe))$e.indexOf(kt)<0&&pt.call(xe,kt)&&(ht[kt]=xe[kt]);return ht},ke=({onFinish:xe,value:$e,streamingStatus:ht,cancelIndex:kt,loadImage:rt,onDynamic:Ue})=>{const[Ct,fn]=(0,re.useState)(""),[Et,Nt]=(0,re.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Rt,vn]=(0,re.useState)(0),[En,Ee]=(0,re.useState)(!1),de=me=>me.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(ue,Ie)=>`<mathx data-text="${Ie.trim()}">$$${Ie.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),le=()=>{Ee(!0),xe==null||xe()};(0,re.useEffect)(()=>{const me=rt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${$e}`:$e,ue=de(me);if(!En)if(rt||!ht||kt>0){fn(ue),vn(ue.length),(!ht||kt>0)&&!rt&&le();return}else if((ue==null?void 0:ue.length)<4)fn(ue),vn(ue.length);else if(Rt<ue.length){const Ie=ue.length-Rt,tt=setInterval(()=>{fn(ue.slice(0,Rt+2)),vn(Lt=>Lt+2)},Ie>10?Math.max(500/(Ie/2),20):50);return()=>clearInterval(tt)}else ht||le()},[$e,ht,kt,rt,Rt]);const ye=(0,re.useMemo)(()=>re.createElement("section",{className:`${Qe.answer} fadeIn animated edu_md`},re.createElement(ot.U,{remarkPlugins:[Ve.Z,Ne.Z],rehypePlugins:[Ge.Z,nt.Z],components:{code(me){var ue=me,{node:Ie,inline:tt,className:Lt,children:Pt}=ue,en=Tn(ue,["node","inline","className","children"]);const dn=/language-(\w+)/.exec(Lt||""),Qt=String(Pt).trim();return tt||!dn?re.createElement("code",dt({className:Lt},en),Pt):re.createElement("code",{className:Qe.codeCopy,"data-text":`\`\`\`${dn?dn[1]:""}
${Pt}
\`\`\``},re.createElement(Te.CopyToClipboard,{text:Qt,onCopy:()=>we.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},re.createElement("button",null,"\u590D\u5236")),dn[1]==="html"&&En&&re.createElement("button",{className:Qe.runCode,onClick:()=>{Nt(dt({},gn(dt({},Et),{open:++Et.open,defaultValue:Qt,language:dn[1]})))}},"\u8FD0\u884CHTML"),re.createElement(Ke.Z,dt({wrapLongLines:!0,style:Pe.Z,language:dn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},en),Qt))},img({node:me}){var ue;const Ie=(ue=me.properties)==null?void 0:ue.src;return re.createElement(Me.Z,{src:Ie,width:320,"data-text":Ie,onLoad:()=>rt&&setTimeout(()=>le(),500)})}}},En?Ct:`${Ct}__`)),[Ct]);return re.createElement(re.Fragment,null,re.createElement(_t,{defaultValue:Et.defaultValue,open:Et.open,language:Et.language,height:Et.height,onChange:(me,ue)=>{fn(Ct.replaceAll(ue,me))},onDynamic:Ue}),ye)}},16221:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Pe}});var re=ge(67294),ot=ge(28706),Ke={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj",extraNode:"extraNode___tnBrt"},Pe=({src:Te,onClick:Qe,topPercentage:we=.62,draggableExtraNode:Me})=>{const Ge=(0,re.useRef)(null),Ve=(0,re.useRef)(!1),Ne=(0,re.useRef)(!1),[ct,et]=(0,re.useState)(window.innerHeight*we),[Re,je]=(0,re.useState)(!1),Fe=10;return(0,re.useEffect)(()=>{if(Ge.current){let ze=function(xt){var yt;Ve.current=!0,vt=xt.pageY,ut=xt.pageY-(((yt=Ge.current)==null?void 0:yt.getBoundingClientRect().top)||0),(0,ot.kk)("none"),document.onselectstart=function(){return!1}},ft=function(){Ve.current&&!Ne.current&&Qe&&Qe(),Ve.current=!1,Ne.current=!1,(0,ot.kk)("auto"),document.onselectstart=null},Ye=function(xt){var yt;if(Ve.current){const Jt=xt.pageY-ut,Tt=window.innerHeight-(((yt=Ge.current)==null?void 0:yt.offsetHeight)||0)-50,Bt=50;if(!Ne.current&&Math.abs(vt-xt.pageY)>Fe&&(Ne.current=!0),Ne.current){let Je=Math.max(Bt,Math.min(Jt,Tt));et(Je)}}},ut=0,vt=0;return Ge.current.addEventListener("mousedown",ze),document.addEventListener("mousemove",Ye),document.addEventListener("mouseup",ft),()=>{var xt,yt;(yt=(xt=Ge==null?void 0:Ge.current)==null?void 0:xt.removeEventListener)==null||yt.call(xt,"mousedown",ze),document.removeEventListener("mousemove",Ye),document.removeEventListener("mouseup",ft)}}},[Qe]),(0,re.useEffect)(()=>{const ze=()=>{et(window.innerHeight*we)};return window.addEventListener("resize",ze),()=>{window.removeEventListener("resize",ze)}},[we]),re.createElement("div",{className:Ke.draggableImage,style:{top:`${ct}px`,display:Re?"none":"block",cursor:Ve.current?"grabbing":"grab"},ref:Ge},Me&&re.createElement("div",{className:Ke.extraNode,onMouseUp:ze=>ze.stopPropagation(),onMouseDownCapture:ze=>ze.stopPropagation()},Me),re.createElement("img",{className:Ke.img,src:Te,width:60,draggable:"false"}),re.createElement("i",{className:`iconfont icon-tupianguanbi ${Ke.close}`,onMouseUp:ze=>{ze.stopPropagation(),je(!0)}}))}},68041:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return vt}});var re=ge(67294),ot={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Ke=ge(93421),nt=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,we=(xt,yt,_t)=>yt in xt?nt(xt,yt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):xt[yt]=_t,Me=(xt,yt)=>{for(var _t in yt||(yt={}))Te.call(yt,_t)&&we(xt,_t,yt[_t]);if(Pe)for(var _t of Pe(yt))Qe.call(yt,_t)&&we(xt,_t,yt[_t]);return xt};const Ge=xt=>React.createElement("svg",Me({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},xt),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var Ve="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3Lj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OwnPropertySymbols,et=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,je=(xt,yt,_t)=>yt in xt?Ne(xt,yt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):xt[yt]=_t,Fe=(xt,yt)=>{for(var _t in yt||(yt={}))et.call(yt,_t)&&je(xt,_t,yt[_t]);if(ct)for(var _t of ct(yt))Re.call(yt,_t)&&je(xt,_t,yt[_t]);return xt};const ze=xt=>React.createElement("svg",Fe({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},xt),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var ft="data:image/svg+xml;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OTExIDE1LjkxMSAwIDAgMS00Ljg4NC0xMS42NTh6bTE3My41MjkgODUuNDY0YTEwNC4zNyAxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ye=ge(67294),vt=({value:xt,onChange:yt})=>{const[_t,Jt]=(0,re.useState)(!1),Tt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Ve},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:ft}],Bt=Tt.find(Je=>Je.key===xt);return Ye.createElement("div",{className:ot.select},Ye.createElement(Ke.Z,{size:10},Ye.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ye.createElement("div",{className:ot.box,onMouseLeave:()=>Jt(!1)},Ye.createElement("div",{className:ot.text,onClick:()=>Jt(!0)},Ye.createElement("img",{src:Bt.img,width:20}),Ye.createElement("span",null,Bt.name),Ye.createElement("b",{className:"iconfont icon-zhankai6"})),_t&&Ye.createElement("div",{className:ot.itemWrap},Ye.createElement("aside",null,Tt.map(Je=>Ye.createElement("div",{key:Je.key,className:`${ot.item} ${Je.key===xt?ot.active:""}`,onClick:Ot=>{Ot.stopPropagation(),yt(Je.key),Jt(!1)}},Ye.createElement("img",{src:Je.img,width:20}),Ye.createElement("span",null,Je.name))))))))}},6655:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Qe}});var re=ge(67294),ot={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Ke=ge(57953),nt=ge(67294),Pe=(we,Me,Ge)=>new Promise((Ve,Ne)=>{var ct=je=>{try{Re(Ge.next(je))}catch(Fe){Ne(Fe)}},et=je=>{try{Re(Ge.throw(je))}catch(Fe){Ne(Fe)}},Re=je=>je.done?Ve(je.value):Promise.resolve(je.value).then(ct,et);Re((Ge=Ge.apply(we,Me)).next())}),Qe=({value:we="",streamingStatus:Me,onFinish:Ge,cancelIndex:Ve,time:Ne,loading:ct,loadAll:et})=>{const[Re,je]=(0,re.useState)(""),[Fe,ze]=(0,re.useState)(!0),ft=(0,re.useRef)(we),Ye=(0,re.useRef)(Me),ut=(0,re.useRef)(0),vt=(0,re.useRef)(null),[xt,yt]=(0,re.useState)(!1),_t=70;(0,re.useEffect)(()=>{Ye.current=Me},[Me]),(0,re.useEffect)(()=>{ft.current=we},[we]),(0,re.useEffect)(()=>{if(!Me){je(ft.current);return}return yt(!0),vt.current=setInterval(Jt,_t),()=>{clearInterval(vt.current)}},[]),(0,re.useEffect)(()=>{xt&&(je(ft.current),clearInterval(vt.current),yt(!1),Ge())},[Ve]);const Jt=()=>Pe(void 0,null,function*(){const Tt=ft.current[ut.current];Tt!==void 0?(je(Bt=>Bt+Tt),ut.current++,clearInterval(vt.current),vt.current=setInterval(Jt,280/(ft.current.length-ut.current))):Ye.current===!1&&(je(ft.current),clearInterval(vt.current),yt(!1),Ge())});return nt.createElement("div",{className:`${ot.reasoning} fadeIn animated`},nt.createElement("div",{className:ot.btn,onClick:()=>ze(!Fe)},nt.createElement("i",{className:"iconfont icon-shendusikao"}),Ne?nt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Ne," \u79D2\uFF09"):nt.createElement("span",null,"\u601D\u8003\u4E2D..."),Fe?nt.createElement("b",{className:"iconfont icon-shouqi6"}):nt.createElement("b",{className:"iconfont icon-zhankai6"})),ct&&nt.createElement(Ke.Z,{spinning:!0,className:"mt20"}),Fe&&!ct&&nt.createElement("div",{className:ot.content},Re,xt?nt.createElement("span",{className:"aiBlink"},"__"):""))}},49786:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return kt}});var re=ge(67294),ot=ge(72565),Ke=ge(2453),nt=ge(59810),Pe=ge(14446),Te=ge(83062),Qe=ge(69677),we=ge(71577),Me=ge(57953),Ge=ge(32983),Ve=ge(86738),Ne=ge(85418),ct=ge(94184),et=ge.n(ct),Re=ge(21826),je=ge(6655),Fe=ge(68041),ze={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},ft=ge(33170),Ye=ge(28706),ut=ge(16221),vt=ge(37166),xt=ge(28984),yt=ge(71986),_t=ge(11320),Jt=ge(74855),Tt=ge(56243),Bt=ge(3407),Je=ge(54262),Ot=Object.defineProperty,pt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,$n=(rt,Ue,Ct)=>Ue in rt?Ot(rt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):rt[Ue]=Ct,ke=(rt,Ue)=>{for(var Ct in Ue||(Ue={}))gn.call(Ue,Ct)&&$n(rt,Ct,Ue[Ct]);if(dt)for(var Ct of dt(Ue))Tn.call(Ue,Ct)&&$n(rt,Ct,Ue[Ct]);return rt},xe=(rt,Ue)=>pt(rt,jt(Ue)),$e=(rt,Ue,Ct)=>new Promise((fn,Et)=>{var Nt=En=>{try{vn(Ct.next(En))}catch(Ee){Et(Ee)}},Rt=En=>{try{vn(Ct.throw(En))}catch(Ee){Et(Ee)}},vn=En=>En.done?fn(En.value):Promise.resolve(En.value).then(Nt,Rt);vn((Ct=Ct.apply(rt,Ue)).next())}),kt=({title:rt="\u5934\u6B4CAI",placeholder:Ue,hideUpload:Ct,hideInputBox:fn,aiIcon:Et=vt,userIcon:Nt=xt,dragIcon:Rt=yt,children:vn,fetchUrl:En,fetchData:Ee={},extraAnswerAction:de,showDefaultTips:le=!0,onOpen:ye,onClose:me,loadingOption:ue,showPreference:Ie=!1,initMessage:tt,customRequest:Lt,visible:Pt,width:en=1200,isCheckRestrictNumber:dn=!1,headNode:Qt,headFunctionNode:zn,showRedraw:Ei,showEdit:It,promptPropName:Bn="prompt",topPercentage:Sr,showSwitchingModel:Wi=!1,showImageGenerator:Mi=!1,showLookHistory:di=!1,fetchListObject:oo,customPreference:pr,customDataNode:or,showAddSession:Zi,historyId:qa,draggableExtraNode:Wa,drawerExtraNode:Ka,menuExtraFunctionNode:cr,showSceneAwareness:Ki=!1,ReactComponent:Ui=ot.Z,topFunctionNode:hs,footerContainerStyle:ts,chatContainerStyle:Ao={},showCodePreview:yr=!1,showSource:si=!0,onSendMessage:Ni,onDynamic:Ms=()=>{}})=>{var mo,Ii;const[Qr,ga]=(0,re.useState)(!1),[qn,In]=(0,re.useState)("qwen-max"),[Xn,Vi]=(0,re.useState)([]),[Yi,sr]=(0,re.useState)([]),[dr,br]=(0,re.useState)(!1),[xr,wi]=(0,re.useState)(!1),[_n,Dr]=(0,re.useState)(!1),[Ti,Ai]=(0,re.useState)([]),[Fi,Na]=(0,re.useState)(""),[Xr,mr]=(0,re.useState)(0),[an,li]=(0,re.useState)(void 0),[Fo,Oo]=(0,re.useState)(!1),[go,Lr]=(0,re.useState)(null),[Eo,pi]=(0,re.useState)(""),jr=(0,re.useRef)(),ln=(0,re.useRef)(null),sa=(0,re.useRef)(null),[Br,Xa]=(0,re.useState)(!1),[la,Ea]=(0,re.useState)(!1),[ua,ns]=(0,re.useState)(!1),[Tr,ca]=(0,re.useState)(!1),[$a,Go]=(0,re.useState)(!1),[Vo,Po]=(0,re.useState)(0),Yo=(0,re.useRef)(null),Mo=(0,re.useRef)(!1),Rr=(0,re.useRef)(null),[zo,is]=(0,re.useState)(void 0),[Ua,nn]=(0,re.useState)(!0),[Ia,So]=(0,re.useState)(en-28),[Ta,so]=(0,re.useState)(!1),[vo,Ma]=(0,re.useState)(!0),[lo,da]=(0,re.useState)([]),ha=(0,re.useRef)([]),yo=(0,re.useRef)(null),ia=(0,re.useRef)(null),fa=(0,re.useRef)(!1),Se=Ia-22,Be=Fi==null?void 0:Fi.split(`
`).length,{onAdd:gt,onGetList:Mt,onListClick:Ht,onListDelete:Kt,onListDealData:wn}=oo||{},Rn=50,ii=10,ai={maxCount:Rn,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Xn,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:it=>$e(void 0,null,function*(){var qt,Vt,Zt,Fn;const kn=(Fn=(Zt=(Vt=(qt=it==null?void 0:it.name)==null?void 0:qt.split("."))==null?void 0:Vt.slice(-1))==null?void 0:Zt[0])==null?void 0:Fn.toLowerCase(),tr=["doc","docx","md","pdf","txt","xlsx","xls"].includes(kn);return it.size==0?(Ke.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),nt.default.LIST_IGNORE):tr?it.size/1024/1024>100?(Ke.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),nt.default.LIST_IGNORE):!0:(Ke.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),nt.default.LIST_IGNORE)}),onChange:({fileList:it})=>{Vi(it)},action:`${(mo=_t.Z)==null?void 0:mo.API_SERVER}/api/intelligent_imports/upload_file.json`},Si={maxCount:ii,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Yi,multiple:!0,accept:".jpg,.png,",beforeUpload:it=>{var qt,Vt,Zt,Fn;const kn=(Fn=(Zt=(Vt=(qt=it==null?void 0:it.name)==null?void 0:qt.split("."))==null?void 0:Vt.slice(-1))==null?void 0:Zt[0])==null?void 0:Fn.toLowerCase(),tr=["jpg","png"].includes(kn);return it.size==0?(Ke.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),nt.default.LIST_IGNORE):tr?it.size/1024/1024>10?(Ke.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),nt.default.LIST_IGNORE):!0:(Ke.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),nt.default.LIST_IGNORE)},onChange:({fileList:it})=>{sr(it)},action:`${(Ii=_t.Z)==null?void 0:Ii.API_SERVER}/api/ai/generals/update_file.json`};(0,re.useEffect)(()=>{if(!Ti.length||!jr.current)return;const it=Ti[Ti.length-1];it!=null&&it.loading&&(jr.current.scrollTop=jr.current.scrollHeight)},[Ti.length]),(0,re.useEffect)(()=>{if(!jr.current||!Yo.current)return;const it=new IntersectionObserver(([qt])=>{nn(qt.isIntersecting)},{root:jr.current,rootMargin:"70px",threshold:0});return it.observe(Yo.current),()=>{Yo.current&&it.unobserve(Yo.current)}},[jr.current,Yo.current]),(0,re.useEffect)(()=>{if(!Br)return;const it=jr.current,qt=Rr.current;Mo.current=!1;let Vt=it.scrollTop;const Zt=()=>{const{scrollTop:kn,scrollHeight:ki,clientHeight:tr}=it;kn>Vt?kn+tr>=ki-50&&(it.scrollTop=it.scrollHeight,Mo.current=!1):kn<Vt&&(Mo.current=!0),Vt=kn};it.addEventListener("scroll",Zt);const Fn=new ResizeObserver(()=>{Mo.current||(it.scrollTop=it.scrollHeight)});return Fn.observe(qt),()=>{var kn;Fn.unobserve(qt),(kn=it==null?void 0:it.removeEventListener)==null||kn.call(it,"scroll",Zt)}},[Br]),(0,re.useEffect)(()=>{!Br&&ha.current.length&&(Ai([...Ti,...ha.current]),ha.current=[])},[Br]),(0,re.useEffect)(()=>{if(!jr.current)return;const it=new ResizeObserver(()=>{var qt;jr.current&&So((qt=jr.current)==null?void 0:qt.offsetWidth)});return it.observe(jr.current),()=>{jr.current&&it.unobserve(jr.current)}},[jr.current]),(0,re.useEffect)(()=>{typeof Pt=="boolean"&&ga(Pt)},[Pt]),(0,re.useEffect)(()=>{var it;if(ln.current&&go!==null){ln.current.focus();const qt=(it=ln.current.resizableTextArea)==null?void 0:it.textArea;qt&&(qt.selectionStart=qt.selectionEnd=qt.value.length)}},[go]),(0,re.useEffect)(()=>{Be<5&&Oo(!1)},[Be]),(0,re.useEffect)(()=>{Qr&&tt&&(Ai(Hn(tt)),br(!0),ri(tt,{history:[]})),Qr&&(ei(),qa?mt(qa):Zi&&!zo&&lt()),Qr||Xt()},[Qr]);const Hn=(it="",qt=[],Vt=[])=>{const Zt=Date.now();return[{text:it,key:Zt,sender:"user",fileList:qt,imageList:Vt,show:!0},{loading:!0,key:Zt,sender:"AI",show:!0,model:qn,imageGenerator:Tr,thinkingEnabled:la,codePreview:ua}]},Xt=()=>{pi(""),Lr(null),Vi([]),sr([]),Na("")},Gt=()=>{if(ye){ye({chatData:Ti,setChatData:Ai,setLoading:br,getData:ri,renderChatItems:Hn,handleAdd:lt,identifier:zo});return}ga(!0)},on=()=>{if(Ma(!0),me){me();return}ga(!1)},yn=()=>{Oo(!Fo)},ei=()=>$e(void 0,null,function*(){if(!dn)return;const it=yield(0,ft.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(it==null?void 0:it.status)===0&&(it==null?void 0:it.total_number)!==-1&&(mr((it==null?void 0:it.total_number)-(it==null?void 0:it.remaining_number)),li(it==null?void 0:it.total_number))}),mi=()=>{Pe.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:re.createElement("div",null,re.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),re.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",an,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},hi=it=>it.reduce((Vt,Zt)=>{if(Zt.sender==="user"){const Fn=it.find(kn=>kn.key===Zt.key&&kn.sender==="AI");Fn&&(Fn!=null&&Fn.text)&&!(Fn!=null&&Fn.error)&&Vt.push({question:Zt.text,answer:Fn.text})}return Vt},[]),ri=(...it)=>$e(void 0,[...it],function*(qt="",Vt={},Zt=Ti){if(Lt&&(yield Lt({mes:qt,setChatData:Ai,fileList:Xn,body:Vt,checkNum:ei,setLoading:br,bodyChatData:Zt,setTyping:Xa,setImageGenerator:ca,renderChatItems:Hn})),!Lt){const Fn=Xn==null?void 0:Xn.map(nr=>{var Hr;return(Hr=nr==null?void 0:nr.response)==null?void 0:Hr.file_id}),kn=Yi==null?void 0:Yi.map(nr=>{var Hr;return(Hr=nr==null?void 0:nr.response)==null?void 0:Hr.data}),ki=Vt.history||hi(Zt),tr=ke(ke({identifier:zo,response_mode:"streaming",model:qn,scene_awareness:$a,thinking_enabled:la,image_generator:Tr,code_preview:ua,file_ids:Fn,image_list:kn,history:ki,[Bn]:qt},Ee),Vt),at=Object.fromEntries(Object.entries(tr).filter(([nr,Hr])=>Hr!==void 0));sa.current=new Tt.Z(_t.Z.API_SERVER+En,at),yield new Promise((nr,Hr)=>{let wr=null,Gr=null;sa.current.on("data",Fr=>{Xa(!0);const{chunk:{content:Ar,type:va,created:hr,msg:$r}}=Fr,Sa=$r==="error";va==="text"&&(Gr=Gr||hr,Ai(Fa=>[...Fa].map((ya,bo)=>bo===Fa.length-1?xe(ke({},ya),{text:(ya.text||"")+Ar,loading:!1,startTime:wr,endTime:Gr,error:Sa}):ya)))}),sa.current.on("done",()=>{nr()}),sa.current.on("error",Fr=>{let Ar="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(Fr)==="[object Object]"&&Fr.status===-9&&(Ar=Fr==null?void 0:Fr.message),Ai(va=>[...va].map((hr,$r)=>$r===va.length-1?xe(ke({},hr),{text:Ar,loading:!1,error:!0}):hr)),nr()}),sa.current.on("cancelled",()=>{nr()}),sa.current.startStream()})}ei(),br(!1)}),Ci=it=>{Na(it.target.value)},vi=(it,qt)=>{if(Xt(),br(!0),it==="edit"){ha.current=Ti.slice(qt+2);const Vt=Ti.splice(qt),{fileList:Zt=[],imageList:Fn=[]}=(Vt==null?void 0:Vt[0])||{},kn=Zt.map(at=>{var nr;return(nr=at.response)==null?void 0:nr.file_id}),ki=Fn.map(at=>{var nr;return(nr=at.response)==null?void 0:nr.data}),tr={history:hi(Ti),file_ids:kn,image_list:ki,edit:!0};Ai([...Ti,...Hn(Eo,Zt,Fn)]),ri(Eo,tr,Ti)}if(it==="redraw"){ha.current=Ti.slice(qt+1);const Vt=Ti.splice(qt-1),{text:Zt,fileList:Fn=[],imageList:kn=[]}=(Vt==null?void 0:Vt[0])||{},ki=Fn.map(nr=>{var Hr;return(Hr=nr.response)==null?void 0:Hr.file_id}),tr=kn.map(nr=>{var Hr;return(Hr=nr.response)==null?void 0:Hr.data}),at={history:hi(Ti),file_ids:ki,image_list:tr,edit:!0};Ai([...Ti,...Hn(Zt,Fn,kn)]),ri(Zt,at,Ti)}},Ri=()=>{if(Fi.trim()!==""){Xt(),br(!0);const it=Xn.filter(Vt=>Vt.status==="done"),qt=Yi.filter(Vt=>Vt.status==="done");Ai([...Ti,...Hn(Fi,it,qt)]),ri(Fi)}},zi=it=>{if(it.shiftKey){if(it.key==="Enter")return}else if(it.key==="Enter"){if(it.preventDefault(),jn||fa.current)return;Ri()}},Ji=(it,qt)=>{let Vt=!1;It===!0?Vt=!0:It==="last"&&(Vt=Ti.reduce((ki,tr,at)=>tr.sender==="user"?at:ki,-1)===qt);const Zt=qt===go,Fn=[...(it==null?void 0:it.fileList)||[],...(it==null?void 0:it.imageList)||[]];return re.createElement("div",{className:ze.li,style:ke({width:Se},Ao)},re.createElement("div",{className:ze.avatarIcon},re.createElement("img",{className:ze.img,src:Nt})),re.createElement("div",{className:ze.content},!!(Fn!=null&&Fn.length)&&re.createElement("div",{className:ze.fileWrap},Fn==null?void 0:Fn.map((kn,ki)=>{var tr,at;return re.createElement("div",{key:ki,className:ze.file},re.createElement("img",{src:ge(90034)(`./${((at=(tr=kn==null?void 0:kn.name)==null?void 0:tr.split("."))==null?void 0:at.pop())||"txt"}.png`),width:20,className:"mr10"}),re.createElement("aside",null,re.createElement(Te.Z,{title:kn==null?void 0:kn.name},re.createElement("div",{className:ze.fileName},kn==null?void 0:kn.name)),re.createElement("div",{className:"c-grey-999 font12"},(0,Ye.RD)(kn==null?void 0:kn.size))))})),re.createElement("div",{className:ze.borderBox},Zt?re.createElement(Qe.default.TextArea,{value:Eo,ref:ln,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:kn=>pi(kn.target.value)}):re.createElement("div",{className:ze.text},it==null?void 0:it.text)),Zt?re.createElement("div",{className:ze.action},re.createElement(we.ZP,{onClick:()=>{pi(""),Lr(null)},size:"small"},"\u53D6\u6D88"),re.createElement(we.ZP,{disabled:!Eo.trim(),onClick:()=>vi("edit",qt),type:"primary",size:"small"},"\u786E\u8BA4")):re.createElement("div",{className:ze.action},re.createElement(Jt.CopyToClipboard,{text:(it==null?void 0:it.text)||"",onCopy:()=>Ke.ZP.success("\u590D\u5236\u6210\u529F")},re.createElement(Te.Z,{title:"\u590D\u5236"},re.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Vt&&!dr&&re.createElement(Te.Z,{title:"\u7F16\u8F91"},re.createElement("i",{onClick:()=>{Lr(qt),pi((it==null?void 0:it.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Oi=(it,qt)=>{let Vt=!1;Ei===!0?Vt=!0:Ei==="last"&&(Vt=Ti.reduce((kn,ki,tr)=>ki.sender==="AI"?tr:kn,-1)===qt);let Zt="";return it!=null&&it.source?Zt=it==null?void 0:it.source:(it==null?void 0:it.model)==="deepseek-r1"?Zt="\u7531deepseek\u751F\u6210":(it==null?void 0:it.model)==="qwen-max"&&(Zt="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),re.createElement("div",{className:ze.li,style:ke({width:Se},Ao)},re.createElement("div",{className:ze.avatarIcon},re.createElement("img",{className:ze.img,src:Et})),re.createElement("div",{className:ze.content},re.createElement("div",{className:ze.borderBox},it.loading&&re.createElement(re.Fragment,null,it!=null&&it.imageGenerator?re.createElement("div",{className:ze.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",re.createElement("div",{className:"ai-loading"})):!(it!=null&&it.thinkingEnabled)&&re.createElement("div",null,re.createElement("div",{className:ze.loading},re.createElement("div",{className:ze.dot}),re.createElement("div",{className:ze.dot}),re.createElement("div",{className:ze.dot})),re.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(ue==null?void 0:ue.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(it==null?void 0:it.thinkingEnabled)&&re.createElement(je.Z,{time:it==null?void 0:it.time,cancelIndex:Vo,loading:it.loading,streamingStatus:!(it!=null&&it.text),onFinish:()=>{Po(0),Ai(Fn=>[...Fn].map((kn,ki)=>ki===Fn.length-1?xe(ke({},kn),{hideAnswer:!1,time:kn.startTime?kn.endTime-kn.startTime:null}):kn))},value:it==null?void 0:it.reasoning}),!!(it!=null&&it.text)&&!it.hideAnswer&&re.createElement(Re.Z,{onDynamic:Ms,cancelIndex:Vo,streamingStatus:dr,loadImage:!!(it!=null&&it.imageGenerator),onFinish:()=>$e(void 0,null,function*(){Po(0),setTimeout(()=>Xa(!1),0)}),value:it==null?void 0:it.text})),si&&!!(it!=null&&it.text)&&Zt&&re.createElement("div",{className:ze.source},Zt),re.createElement("div",{className:ze.action},de==null?void 0:de(it,qt,{onMenuClick:mt}),!(it!=null&&it.imageGenerator)&&re.createElement(Jt.CopyToClipboard,{text:String((it==null?void 0:it.text)||""),onCopy:()=>Ke.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},re.createElement(Te.Z,{title:"\u590D\u5236"},re.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Ie&&!dr&&re.createElement(re.Fragment,null,re.createElement(Te.Z,{title:"\u559C\u6B22"},re.createElement("i",{style:it!=null&&it.like?{color:"#FA8D30"}:{},onClick:()=>er("like",!(it!=null&&it.like),qt),className:"iconfot icon-yijiejue font15"})),re.createElement(Te.Z,{title:"\u4E0D\u559C\u6B22"},re.createElement("i",{style:it!=null&&it.dislike?{color:"#e86d7c"}:{},onClick:()=>er("dislike",!(it!=null&&it.dislike),qt),className:"iconfot icon-weijiejuezhengchang font15"}))),Vt&&!dr&&re.createElement(Te.Z,{title:"\u91CD\u65B0\u751F\u6210"},re.createElement("i",{onClick:()=>vi("redraw",qt),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},er=(it,qt,Vt)=>$e(void 0,null,function*(){if(pr){const Zt=Ti.slice(0,Vt+1),kn=hi(Zt).length;yield pr({type:it,value:qt,index:Vt,identifier:zo,objectIndex:kn})}Ai(Zt=>(Zt[Vt][it]=qt,qt&&(Zt[Vt][it==="like"?"dislike":"like"]=!1),[...Zt]))}),gr=()=>{var it,qt;Po(1),(qt=(it=sa.current)==null?void 0:it.cancelRequest)==null||qt.call(it),br(!1),Xa(!1)},lt=()=>$e(void 0,null,function*(){var it,qt,Vt;(qt=(it=sa.current)==null?void 0:it.cancelRequest)==null||qt.call(it),Xt(),Ai([]),br(!0);const Zt=yield gt();(Zt==null?void 0:Zt.status)===0&&is((Vt=Zt==null?void 0:Zt.data)==null?void 0:Vt.identifier),br(!1),Xa(!1)}),st=()=>$e(void 0,null,function*(){var it;Dr(!0);const qt=yield Mt();(qt==null?void 0:qt.status)===0&&da(((it=qt==null?void 0:qt.data)==null?void 0:it.list)||[]),Dr(!1)}),mt=(...it)=>$e(void 0,[...it],function*(qt=zo){var Vt,Zt,Fn,kn;(Zt=(Vt=sa.current)==null?void 0:Vt.cancelRequest)==null||Zt.call(Vt),Xt(),wi(!0);const ki=yield Ht(qt);if(ki.status===0){const tr=wn(((Fn=ki==null?void 0:ki.data)==null?void 0:Fn.messages)||[]);Ai(tr),wi(!1),is((kn=ki==null?void 0:ki.data)==null?void 0:kn.identifier);return}Ai([]),wi(!1)}),Ft=(it,qt)=>$e(void 0,null,function*(){(yield Kt(it)).status===0&&(Ke.ZP.success("\u5220\u9664\u6210\u529F"),qt===zo&&lt(),st())}),Ln=()=>re.createElement("div",{className:ze.menuWarp},re.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),re.createElement(Me.Z,{spinning:_n},!lo.length&&re.createElement(Ge.Z,{style:{width:250,paddingBottom:30},image:Ge.Z.PRESENTED_IMAGE_SIMPLE}),!!lo.length&&re.createElement("div",{className:ze.menu},lo.map(function(it,qt){return re.createElement("aside",{className:et()(zo===it.identifier&&ze.active),key:it.id,onClick:()=>mt(it.id)},re.createElement("div",{className:ze.menuText},re.createElement(Te.Z,{title:it==null?void 0:it.question},re.createElement("span",null,it==null?void 0:it.question)),cr&&cr(it)),re.createElement("div",{className:ze.menuDel,onClick:Vt=>Vt.stopPropagation()},re.createElement(Ve.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>Ft(it.id,it.identifier),okText:"\u786E\u8BA4",zIndex:1100,cancelText:"\u53D6\u6D88"},re.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),Zn=it=>{if(it==="file"){if(Yi.length){Pe.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u56FE\u7247\uFF0C\u4E0A\u4F20\u6587\u4EF6\u540E\u56FE\u7247\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{sr([]),yo.current.upload.uploader.fileInput.click()}});return}yo.current.upload.uploader.fileInput.click()}if(it==="image"){if(Xn.length){Pe.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u6587\u4EF6\uFF0C\u4E0A\u4F20\u56FE\u7247\u540E\u6587\u4EF6\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{Vi([]),ia.current.upload.uploader.fileInput.click()}});return}ia.current.upload.uploader.fileInput.click()}},zt=[{key:"file",disabled:Xn.length>=Rn,label:re.createElement(Te.Z,{placement:"right",title:re.createElement("div",null,re.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),re.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-fujian3 font14 mr5"}),"\u4E0A\u4F20\u6587\u6863"))},qn!=="deepseek-r1"&&{key:"image",disabled:Yi.length>=ii,label:re.createElement(Te.Z,{placement:"right",title:"\u652F\u6301\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247\uFF0C\u6700\u591A10\u4E2A"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-tupianshangchuan font14 mr5"}),"\u4E0A\u4F20\u56FE\u7247"))}].filter(Boolean),mn=[...Xn,...Yi],jn=mn.some(it=>it.status==="uploading")||dr||Br,Yn=Xr>=an,bn=Ct||Xn.length>=Rn||Yi.length>=ii,rn=Tr||la||$a||ua||!!mn.length,Jn={chatData:Ti,stream:sa,isDisabledNum:Yn,checkNumModal:mi,checkNum:ei,onClose:on,setChatData:Ai,setLoading:br,getData:ri,clearStatus:Xt,typing:Br,setImageGenerator:ca,renderChatItems:Hn,setSceneAwareness:Go,setIdentifier:is,setCodePreview:ns,setTyping:Xa};return re.createElement(re.Fragment,null,vn?re.createElement("div",{onClick:Gt},vn):vn!==null&&re.createElement(ut.Z,{draggableExtraNode:Wa,src:Rt,onClick:Gt,topPercentage:Sr}),re.createElement(Ui,{open:Qr,width:Ta?"100%":en,afterOpenChange:it=>{it&&Ma(!1)},push:!1,contentWrapperStyle:vo?{}:{transition:"none"},extra:re.createElement("div",{className:ze.head},Ka,Wi&&re.createElement(Fe.Z,{value:qn,onChange:it=>{Ea(!1),ca(!1),In(it),sr([]),Vi([])}}),di&&re.createElement(re.Fragment,null,re.createElement(Ne.Z,{dropdownRender:Ln,onOpenChange:it=>{it&&st()},placement:"bottomLeft",arrow:!0},re.createElement("div",{className:ze.headBtn},re.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),Zi&&re.createElement(re.Fragment,null,re.createElement("div",{className:ze.headBtn,onClick:lt},re.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),re.createElement(Te.Z,{title:Ta?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},re.createElement("div",{className:ze.headBtn,style:{padding:"0 12px"},onClick:()=>so(!Ta)},Ta&&re.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Ta&&re.createElement("i",{className:"iconfont icon-quanping4"})))),title:re.createElement("span",{className:"c-grey-333 font16"},rt),onClose:on,bodyStyle:{paddingRight:4}},re.createElement("div",{className:et()(ze.wrap,Qr&&"body-overflow-hidden")},re.createElement("div",{ref:jr,className:ze.chatContainer},hs==null?void 0:hs(Jn),le&&re.createElement("div",{className:`${ze.li} mb20`,style:ke({width:Se},Ao)},re.createElement("div",{className:ze.avatarIcon},re.createElement("img",{className:ze.img,src:Et})),re.createElement("div",{className:ze.content},re.createElement("div",{className:ze.borderBox},Qt,zn==null?void 0:zn(Jn)))),re.createElement("div",{ref:Rr},re.createElement(Me.Z,{spinning:xr,className:"mt20"},Ti==null?void 0:Ti.map((it,qt)=>re.createElement(re.Fragment,{key:it.key+qt},it.show&&re.createElement(re.Fragment,null,it.sender==="user"&&Ji(it,qt),it.sender==="AI"&&Oi(it,qt),or&&!["AI","user"].includes(it.sender)&&or(it,qt,{width:Se})))))),!Ua&&re.createElement("div",{className:ze.backBottom,onClick:()=>{jr.current.scrollTop=jr.current.scrollHeight}},re.createElement("i",{className:"iconfont icon-huidaodibu"})),re.createElement("div",{ref:Yo})),!fn&&re.createElement("div",{style:ts,className:et()(ze.footerContainer,Fo&&ze.full,rn&&ze.footerContainerSelected)},re.createElement("div",{className:ze.btnWrp},yr&&re.createElement(Te.Z,{title:"\u66F4\u64C5\u957F\u5904\u7406\u4EE3\u7801\u95EE\u9898\uFF0C\u652F\u6301\u4E00\u53E5\u8BDD\u751F\u6210\u5E94\u7528"},re.createElement("div",{onClick:()=>ns(!ua),className:et()(ze.btn,ua&&ze.btnActive)},re.createElement("i",{className:"iconfont icon-daimamoshi1 mr10 font12"}),"\u4EE3\u7801\u6A21\u5F0F")),Ki&&re.createElement(Te.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},re.createElement("div",{onClick:()=>Go(!$a),className:et()(ze.btn,$a&&ze.btnActive)},re.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),qn==="deepseek-r1"&&re.createElement(Te.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},re.createElement("div",{onClick:()=>Ea(!la),className:et()(ze.btn,la&&ze.btnActive)},re.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),Mi&&qn==="qwen-max"&&re.createElement("div",{onClick:()=>ca(!Tr),className:et()(ze.btn,Tr&&ze.btnActive)},re.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),mn.map(it=>re.createElement("div",{key:it.uid},(it==null?void 0:it.status)==="uploading"&&re.createElement(Me.Z,{indicator:re.createElement(Bt.Z,{rev:"",spin:!0}),className:"mr10",size:"small",spinning:!0}),re.createElement("span",{title:it==null?void 0:it.name,className:"mr10"},(0,Ye.Pq)(it.name,20)),re.createElement("i",{onClick:()=>{Vi(qt=>qt.filter(Vt=>Vt.uid!==it.uid)),sr(qt=>qt.filter(Vt=>Vt.uid!==it.uid))},className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),re.createElement(Te.Z,{title:Yn&&re.createElement("div",null,re.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),re.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",an,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},re.createElement("div",{className:et()(ze.inputContainer,Be>4&&ze.lineFour,Yn&&ze.disabledInput)},re.createElement(nt.default,ke({ref:yo},ai)),re.createElement(nt.default,ke({ref:ia},Si)),re.createElement(Ne.Z,{className:`${bn&&"hide"}`,menu:{items:zt,onClick:it=>Zn(it.key)},placement:"top"},re.createElement(we.ZP,{className:ze.uploadBtn,icon:re.createElement(Je.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})})),re.createElement(Qe.default.TextArea,{rows:Be>4?4:Be,placeholder:Ue||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u95EE\u9898\u5427\uFF0CShift+Enter\u6362\u884C\uFF5E",value:Fi,bordered:!1,style:bn?{paddingLeft:0,marginLeft:0}:{},onChange:Ci,onPressEnter:zi,onFocus:()=>Ni==null?void 0:Ni(),onCompositionStart:()=>{fa.current=!0},onCompositionEnd:()=>{fa.current=!1}}),Br?re.createElement(Te.Z,{title:"\u505C\u6B62\u751F\u6210"},re.createElement("div",{className:`iconfont icon-tingzhihuida ${ze.cancelBtn}`,onClick:gr})):re.createElement(we.ZP,{className:(Fi==null?void 0:Fi.trim())===""?ze.sendBtnDisabled:ze.sendBtn,icon:re.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:jn,onClick:Ri}),Be>4&&re.createElement("span",{className:ze.fullIcon,onClick:yn},Fo&&re.createElement("span",{className:"iconfont icon-shousuo"}),!Fo&&re.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},28812:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Re}});var re=ge(67294),ot={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},Ke=ge(94184),nt=ge.n(Ke),Pe=ge(91613),Te=ge(63205),Qe=ge(28706),we=ge(11320),Me=ge(33170),Ge=ge(52262),Ve=ge(35973),Ne=ge(2453),ct=(je,Fe,ze)=>new Promise((ft,Ye)=>{var ut=yt=>{try{xt(ze.next(yt))}catch(_t){Ye(_t)}},vt=yt=>{try{xt(ze.throw(yt))}catch(_t){Ye(_t)}},xt=yt=>yt.done?ft(yt.value):Promise.resolve(yt.value).then(ut,vt);xt((ze=ze.apply(je,Fe)).next())});const et=({className:je,style:Fe,dataSource:ze=[],authority:ft=!1,callback:Ye,showDimensions:ut=!0,classroomList:vt})=>{var xt;const[yt,_t]=(0,re.useState)({content:"",type:""}),[Jt,Tt]=(0,re.useState)({}),[Bt,Je]=(0,re.useState)(!1),[Ot,pt]=(0,re.useState)({title:"",visible:!1,src:"",snapshotData:{}}),jt=(0,re.useRef)(),dt=ke=>ct(void 0,null,function*(){if(Tt(ke),ke.file_type==="txt"){const xe=yield(0,Me.ZP)(ke.url,{method:"get",headers:{"Content-Type":"application/xml"}});jt.current=xe}_t({type:ke.file_type,content:we.Z.API_SERVER+ke.url})}),gn=ke=>{var xe;pt({visible:!0,src:we.Z.API_SERVER+ke.url,id:ke.id,title:ke.title,snapshotData:(xe=ke==null?void 0:ke.subitem)==null?void 0:xe.settings})},Tn=ke=>ct(void 0,null,function*(){var xe;_t({type:ke.file_type,content:we.Z.API_SERVER+((xe=ke==null?void 0:ke.subitem)==null?void 0:xe.url)})}),$n=()=>{Ye(),pt({visible:!1})};return ze!=null&&ze.length?re.createElement(re.Fragment,null,re.createElement("div",{className:nt()(ot.list,je),style:Fe},ze.map((ke,xe)=>{var $e,ht,kt;return re.createElement("div",{key:xe,className:ot.row},re.createElement("div",{className:ot.title,onClick:()=>dt(ke)},re.createElement("i",{className:"iconfont icon-fujian1"}),re.createElement("span",{title:ke.title},ke.title)),re.createElement("div",{className:ot.size},ke.filesize),re.createElement("div",{className:ot.download,onClick:()=>{var rt,Ue;if((0,Ge.Rm)()&&!((rt=vt.AssistantObject.normal)!=null&&rt.can_download)){Ne.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Qe.Nd)("",`${we.Z.API_SERVER}${(Ue=ke.url)==null?void 0:Ue.replace("disposition=inline","")}`)}},re.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(ke==null?void 0:ke.file_type)&&re.createElement("div",{className:ot.preview,onClick:()=>dt(ke)},re.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(ke==null?void 0:ke.file_type)&&ut&&(ft?re.createElement("div",{className:ot.annotation,onClick:()=>gn(ke)},re.createElement("i",{className:"iconfont icon-pizhu"}),($e=ke.subitem)!=null&&$e.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((ht=ke.subitem)==null?void 0:ht.id)&&re.createElement("div",{className:ot.annotation,onClick:()=>Tn(ke)},re.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(ke==null?void 0:ke.file_type)&&((kt=ke.subitem)==null?void 0:kt.id)&&re.createElement("div",{className:ot.download,style:{marginLeft:20},onClick:()=>{var rt,Ue;(0,Qe.Nd)("",`${we.Z.API_SERVER}${(Ue=(rt=ke==null?void 0:ke.subitem)==null?void 0:rt.url)==null?void 0:Ue.replace("disposition=inline","")}`)}},re.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(ke==null?void 0:ke.file_type)&&(0,Ge.eB)()&&["xlsx","docx","pptx"].includes(ke==null?void 0:ke.file_sub)&&ut&&re.createElement("div",{className:ot.annotation,onClick:()=>{Je(!0),dt(ke)}},re.createElement("i",{className:"iconfont icon-pizhu"}),ke.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),ke.is_edit&&(0,Ge.dE)()&&ut&&re.createElement("div",{className:ot.annotation,onClick:()=>{dt(ke)}},re.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),re.createElement(Pe.Z,{close:!0,data:yt==null?void 0:yt.content,type:yt==null?void 0:yt.type,hasMask:!0,disabledDownload:(0,Ge.Rm)()&&!((xt=vt.AssistantObject.normal)!=null&&xt.can_download),editOffice:Bt?"edit":"view",monacoEditor:{value:jt.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:ft&&ut&&yt.type==="image"?()=>gn(Jt):null,onClose:()=>{Ye(),Je(!1),_t({content:"",type:""})}}),re.createElement(Te.Z,{onOk:$n,onClose:()=>pt({visible:!1}),data:Ot,showFullTools:!0})):null};var Re=(0,Ve.connect)(({classroomList:je})=>({classroomList:je}))(et)},63205:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Ve}});var re=ge(67294),ot={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ke=ge(94184),nt=ge.n(Ke),Pe=ge(57953),Te=ge(15979),Qe=ge(33170),we=ge(28706),Me=(Ne,ct,et)=>new Promise((Re,je)=>{var Fe=Ye=>{try{ft(et.next(Ye))}catch(ut){je(ut)}},ze=Ye=>{try{ft(et.throw(Ye))}catch(ut){je(ut)}},ft=Ye=>Ye.done?Re(Ye.value):Promise.resolve(Ye.value).then(Fe,ze);ft((et=et.apply(Ne,ct)).next())}),Ve=({data:Ne,className:ct,fullWidth:et,style:Re={},onClose:je,onOk:Fe,showFullTools:ze,noAssociationId:ft})=>{const Ye=(0,re.useRef)(null),ut=(0,re.useRef)(null),vt=(0,re.useRef)(null),xt=(0,re.useRef)(null),[yt,_t]=(0,re.useState)(!1),[Jt,Tt]=(0,re.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,re.useEffect)(()=>{vt.current||(vt.current=document.createElement("style"),document.head.appendChild(vt.current)),Ne!=null&&Ne.visible?(document.body.setAttribute("data-custom","y-hidden"),vt.current.innerHTML=" html { overflow-y: hidden; }",Ne!=null&&Ne.src&&Bt()):(document.body.removeAttribute("data-custom"),vt.current&&(document.head.removeChild(vt.current),vt.current=null))},[Ne==null?void 0:Ne.visible]);const Bt=()=>Me(void 0,null,function*(){_t(!0),Tt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const dt=yield(0,we.ZJ)(Ne==null?void 0:Ne.src);Ye.current.src="",Ye.current.src=dt,Ye.current.onload=function(){jt()},_t(!1),Tt("")}),Je=()=>{document.body.removeAttribute("data-custom"),vt.current.innerHTML=" ",je()},Ot=dt=>Me(void 0,null,function*(){_t(!0),Tt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gn=yield(0,Qe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ne.title,file:dt.dataUrl}});gn!=null&&gn.id&&!ft?(yield(0,Qe.ZP)(`/api/attachments/${Ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:gn==null?void 0:gn.id,settings:JSON.stringify(dt.state)}})).status===0&&Fe():gn!=null&&gn.id&&Fe(gn),document.body.removeAttribute("data-custom"),vt.current.innerHTML=" ",_t(!1),Tt("")}),pt=()=>{const dt=document.querySelector('a[href="https://markerjs.com/"]');dt&&dt.parentNode&&(dt.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Tn=>{const $n=document.querySelector(Tn.name);$n&&$n.setAttribute("title",Tn.title)})},jt=()=>{ut.current=new Te.hP(Ye.current),ut.current.targetRoot=xt.current,ut.current.addEventListener("render",Ot),ut.current.addEventListener("beforeclose",Je),ze&&(ut.current.availableMarkerTypes=ut.current.ALL_MARKER_TYPES,ut.current.uiStyleSettings.redoButtonVisible=!0,ut.current.uiStyleSettings.notesButtonVisible=!0,ut.current.uiStyleSettings.zoomButtonVisible=!0,ut.current.uiStyleSettings.zoomOutButtonVisible=!0,ut.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ut.current.uiStyleSettings,ut.current.show(),Ne!=null&&Ne.snapshotData&&ut.current.restoreState(Ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),pt()},300)};return re.createElement(re.Fragment,null,(Ne==null?void 0:Ne.visible)&&re.createElement(Pe.Z,{spinning:yt,tip:Jt,style:{position:"absolute"}},re.createElement("div",{ref:xt,className:nt()(ot.imageDimensions,ct,et?ot.fullWidth:""),style:Re},re.createElement("img",{className:ot.img,ref:Ye}))))}},36527:function(wt,Wt,ge){"use strict";var re=ge(67294),ot=ge(71230),Ke=ge(15746),nt=ge(66368),Pe=ge(71577),Te=ge(35598),Qe=ge(71736),we=ge(84279),Me=ge(67294);const Ge=(0,re.forwardRef)(({callback:Ve,showSaveButton:Ne,value:ct=""},et)=>{const Re=(0,re.useRef)(),je=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Fe=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],ze=ut=>{Re.current.setValue(Re.current.getValue()+" "+ut.value+" ")},ft=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(ot.Z,{className:Qe.Z.lists,gutter:[10,10]},je.map((ut,vt)=>Me.createElement(Ke.Z,{flex:"110px",className:Qe.Z.item},Me.createElement("div",null,Me.createElement(Te.Z,{value:`$$${ut.value}$$`}),ut.name),Me.createElement("div",{className:Qe.Z.children},ut.children.map((xt,yt)=>Me.createElement("div",{key:yt},Me.createElement("h1",null,xt.name),Me.createElement(ot.Z,{gutter:[10,10]},xt.data.map((_t,Jt)=>Me.createElement(Ke.Z,{key:Jt,onClick:()=>ze(_t),className:Qe.Z.diamond},Me.createElement(Te.Z,{value:"`$$"+_t.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(ot.Z,{className:Qe.Z.lists,gutter:[10,10]},Fe.map((ut,vt)=>Me.createElement(Ke.Z,{flex:"110px",className:Qe.Z.item},Me.createElement("div",null,Me.createElement(Te.Z,{value:"`$$"+ut.value+"$$`"}),ut.name),Me.createElement("div",{className:Qe.Z.children},ut.children.map((xt,yt)=>Me.createElement("div",{key:yt},xt.name&&Me.createElement("h1",null,xt.name),Me.createElement(ot.Z,{gutter:[10,10]},xt.data.map((_t,Jt)=>Me.createElement(Ke.Z,{key:Jt,onClick:()=>ze(_t),className:Qe.Z.diamond},Me.createElement(Te.Z,{value:"`$$"+_t.value+"$$`"}))))))))))}],Ye=()=>{var ut=document.createElement("div");ut.innerHTML=Re.current.getValue();var vt=ut.innerText;return Ve&&Ve(vt),vt};return(0,re.useImperativeHandle)(et,()=>({getData:Ye})),Me.createElement("div",{className:Qe.Z.mathWrap},Me.createElement(nt.default,{defaultActiveKey:"1",items:ft}),Me.createElement("math-field",{locale:"zh_cn",className:Qe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Re,style:{width:800,marginTop:30,fontSize:18}},ct||""),Ne&&Me.createElement("div",{className:Qe.Z.button},Me.createElement(Pe.ZP,{size:"large",onClick:Ye,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Wt.Z=Ge},65866:function(wt,Wt,ge){"use strict";ge.d(Wt,{z:function(){return $n},Z:function(){return ke}});var re=ge(67294),ot=ge(59810),Ke=ge(2453),nt=ge(14446),Pe=ge(71577),Te=ge(11320),Qe=ge(4440),we=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ne=(xe,$e,ht)=>$e in xe?we(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):xe[$e]=ht,ct=(xe,$e)=>{for(var ht in $e||($e={}))Ge.call($e,ht)&&Ne(xe,ht,$e[ht]);if(Me)for(var ht of Me($e))Ve.call($e,ht)&&Ne(xe,ht,$e[ht]);return xe},et=(xe,$e,ht)=>new Promise((kt,rt)=>{var Ue=Et=>{try{fn(ht.next(Et))}catch(Nt){rt(Nt)}},Ct=Et=>{try{fn(ht.throw(Et))}catch(Nt){rt(Nt)}},fn=Et=>Et.done?kt(Et.value):Promise.resolve(Et.value).then(Ue,Ct);fn((ht=ht.apply(xe,$e)).next())});const Re="\u3000\u3000";function je(xe){var $e=["Bytes","KB","MB","GB","TB"];if(xe==0)return"0 Byte";var ht=parseInt(""+Math.floor(Math.log(xe)/Math.log(1024)),10);return(xe/Math.pow(1024,ht)).toFixed(1)+" "+$e[ht]}var Fe=({value:xe=[],action:$e,onChange:ht,className:kt,maxSize:rt=150,title:Ue="\u6587\u4EF6\u4E0A\u4F20",accept:Ct=null})=>{const fn={multiple:!1,fileList:xe,accept:Ct,withCredentials:!0,beforeUpload:Nt=>Nt.size/1024/1024<rt?!0:(message.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${rt}MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20`),Promise.reject()),action:`${ENV.API_SERVER}/api/attachments.json`,onChange(Nt){var Rt,vn,En,Ee;let de=[...Nt.fileList];if(de=de.map(le=>(le.name.indexOf(Re)===-1&&(le.name=`${le.name}${Re}${je(le.size)}`),ct({},le))),Nt.file.status==="done"&&((vn=(Rt=Nt.file)==null?void 0:Rt.response)==null?void 0:vn.status)===-1){message.error((Ee=(En=Nt.file)==null?void 0:En.response)==null?void 0:Ee.message),ht([]);return}ht(de)},onRemove:Nt=>et(void 0,null,function*(){const Rt=Nt.size/1024/1024;return Nt.status==="uploading"?!0:Rt<rt&&(Nt.response?Nt.response.id:Nt.uid)?yield removeAttachment(Nt.response?Nt.response.id:Nt.id):!0})};function Et(Nt){Nt.preventDefault(),Nt.stopPropagation()}return React.createElement("div",{className:`single-upload ${kt||""}`},React.createElement(Upload,ct({},fn),React.createElement(Button,{type:"primary",title:xe.length>0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:xe.length>0,ghost:!0},Ue),React.createElement("span",{onClick:Et,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",rt,"M)"," ")))},ze=ge(33859),ft=ge(96486),Ye=Object.defineProperty,ut=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,yt=(xe,$e,ht)=>$e in xe?Ye(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):xe[$e]=ht,_t=(xe,$e)=>{for(var ht in $e||($e={}))vt.call($e,ht)&&yt(xe,ht,$e[ht]);if(ut)for(var ht of ut($e))xt.call($e,ht)&&yt(xe,ht,$e[ht]);return xe};const Jt=xe=>React.createElement("svg",_t({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},xe),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Tt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Bt=Object.defineProperty,Je=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,jt=(xe,$e,ht)=>$e in xe?Bt(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):xe[$e]=ht,dt=(xe,$e)=>{for(var ht in $e||($e={}))Ot.call($e,ht)&&jt(xe,ht,$e[ht]);if(Je)for(var ht of Je($e))pt.call($e,ht)&&jt(xe,ht,$e[ht]);return xe},gn=(xe,$e,ht)=>new Promise((kt,rt)=>{var Ue=Et=>{try{fn(ht.next(Et))}catch(Nt){rt(Nt)}},Ct=Et=>{try{fn(ht.throw(Et))}catch(Nt){rt(Nt)}},fn=Et=>Et.done?kt(Et.value):Promise.resolve(Et.value).then(Ue,Ct);fn((ht=ht.apply(xe,$e)).next())});const{Dragger:Tn}=ot.default;function $n(xe){let $e=[];return xe&&xe.length>0&&($e=xe.map(ht=>({uid:ht.id,id:ht.id,name:ht.title+Re+ht.filesize,url:ht.url,filesize:ht.filesize,status:"done",response:{id:ht.id}}))),$e}var ke=({value:xe,onChange:$e,action:ht,data:kt,className:rt,maxSize:Ue=150,title:Ct="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:fn=!1,accept:Et="",additionalText:Nt,isDragger:Rt,number:vn=1e3,aloneClear:En=!1,realTimeRemove:Ee=!0,uploadText:de,setFileProgress:le,showFileProgress:ye})=>{const[me,ue]=(0,re.useState)(!1);let[Ie,tt]=(0,re.useState)(xe||[]),[Lt,Pt]=(0,re.useState)(1);(0,re.useEffect)(()=>{xe&&(Lt===1&&tt([...xe]),Pt(2),vn===(xe==null?void 0:xe.length)&&ue(!0))},[xe]);const en=()=>{setTimeout(()=>{Ie.pop(),tt([...Ie])},500)};ye&&le(Ie.some(zn=>zn.status==="uploading"));const dn={multiple:!0,disabled:me,accept:Et,withCredentials:!0,fileList:Ie,beforeUpload:(zn,Ei)=>{const It=zn.size/1024/1024;return Ie.concat(Ei).length>vn?(Ie.pop(),tt([...Ie]),Ke.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${vn}\u4E2A\u6587\u4EF6`),En?Promise.reject():(en(),!1)):It<Ue?!0:(Ke.ZP.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${Ue}MB).`),En?Promise.reject():(en(),!1))},data:kt,action:ht||`${Te.Z.API_SERVER}/api/attachments.json`,onChange(zn){var Ei,It,Bn,Sr;if(zn.file.status==="removed"?Ie=zn.fileList:Ie=(0,ft.uniqBy)([...zn.fileList,...Ie],"uid"),zn.file.status==="done"&&((It=(Ei=zn.file)==null?void 0:Ei.response)==null?void 0:It.status)===-1){Ke.ZP.error((Sr=(Bn=zn.file)==null?void 0:Bn.response)==null?void 0:Sr.message);return}Ie.length>=vn?ue(!0):ue(!1),tt([...Ie]),Ie=Ie.map(Wi=>{var Mi,di;return(Mi=Wi==null?void 0:Wi.response)!=null&&Mi.id&&(Wi.url=(di=Wi==null?void 0:Wi.response)==null?void 0:di.url),Wi.name.indexOf(Re)===-1&&(Wi.name=`${Wi.name}${Re}${je(Wi.size)}`),dt({},Wi)}),console.log("info:",zn,Ie),$e(Ie)},onRemove:zn=>gn(void 0,null,function*(){if(!Ee)return!0;const Ei=()=>gn(void 0,null,function*(){if(zn.response?zn.response.id:zn.id){let Bn=yield(0,Qe.JZ)(zn.response?zn.response.id:zn.uid);return Promise.resolve(Bn)}else return!0});return fn?new Promise((It,Bn)=>{nt.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:re.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>gn(void 0,null,function*(){const Sr=yield Ei();Ke.ZP.success("\u5220\u9664\u6210\u529F"),It(!0)}),onCancel:()=>It(!1)})}):yield Ei()})};function Qt(zn){zn.preventDefault(),zn.stopPropagation()}return re.createElement("div",{className:`multi-upload ${rt||""}`},Rt&&re.createElement(Tn,dt({},dn),re.createElement("p",{className:"ant-upload-drag-icon"},re.createElement(ze.Z,null)),re.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",re.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",Ue,"MB)"," "),Nt),!Rt&&re.createElement(ot.default,dt({},dn),re.createElement(Pe.ZP,{disabled:me,className:"upload_button"},re.createElement("img",{className:"aBtn_img",src:Tt}),Ct),re.createElement("span",{onClick:Qt,className:"upload_text"},de||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${Ue}MB)`)))}},41307:function(wt,Wt,ge){"use strict";ge.d(Wt,{h:function(){return Re},x:function(){return je}});var re=ge(91304),ot=ge(52654),Ke=ge(35598),nt=ge(67294),Pe=Object.defineProperty,Te=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ve=(Fe,ze,ft)=>ze in Fe?Pe(Fe,ze,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Fe[ze]=ft,Ne=(Fe,ze)=>{for(var ft in ze||(ze={}))Me.call(ze,ft)&&Ve(Fe,ft,ze[ft]);if(we)for(var ft of we(ze))Ge.call(ze,ft)&&Ve(Fe,ft,ze[ft]);return Fe},ct=(Fe,ze)=>Te(Fe,Qe(ze)),et=(Fe,ze)=>{var ft={};for(var Ye in Fe)Me.call(Fe,Ye)&&ze.indexOf(Ye)<0&&(ft[Ye]=Fe[Ye]);if(Fe!=null&&we)for(var Ye of we(Fe))ze.indexOf(Ye)<0&&Ge.call(Fe,Ye)&&(ft[Ye]=Fe[Ye]);return ft};const Re=Fe=>{var ze=Fe,{value:ft,onChange:Ye,scrollId:ut}=ze,vt=et(ze,["value","onChange","scrollId"]);return nt.createElement("div",{id:ut||""},nt.createElement(re.Z,ct(Ne({},vt),{defaultValue:ft,onChange:(xt,yt)=>{yt!=null&&yt.length?Ye(xt,yt):Ye(xt)}})))},je=({value:Fe,onChange:ze,placeholder:ft,height:Ye=140,isEdit:ut,miniToolbar:vt,watch:xt=!0})=>ut?nt.createElement(re.Z,{watch:xt,isFocus:!0,height:Ye||void 0,placeholder:ft,defaultValue:Fe,onChange:ze,miniToolbar:vt}):nt.createElement("div",{style:{cursor:"pointer"}},Fe?nt.createElement(Ke.Z,{className:ot.Z.inputBorder,value:Fe}):nt.createElement("div",{className:`${ot.Z.inputBorder} ${ot.Z.placeholder} inputBorderError`},ft))},1916:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Ot}});var re=ge(67294),ot=ge(35973),Ke=ge(14446),nt=ge(22150),Pe=ge(2453),Te=ge(57953),Qe=ge(79870),we=ge(71230),Me=ge(15746),Ge=ge(83062),Ve=ge(69677),Ne={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ct=ge(9343),et=ge(65900),Re=ge(26194),je=ge(64743),Fe=Object.defineProperty,ze=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,xt=(pt,jt,dt)=>jt in pt?Fe(pt,jt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):pt[jt]=dt,yt=(pt,jt)=>{for(var dt in jt||(jt={}))ut.call(jt,dt)&&xt(pt,dt,jt[dt]);if(Ye)for(var dt of Ye(jt))vt.call(jt,dt)&&xt(pt,dt,jt[dt]);return pt},_t=(pt,jt)=>ze(pt,ft(jt)),Jt=(pt,jt)=>{var dt={};for(var gn in pt)ut.call(pt,gn)&&jt.indexOf(gn)<0&&(dt[gn]=pt[gn]);if(pt!=null&&Ye)for(var gn of Ye(pt))jt.indexOf(gn)<0&&vt.call(pt,gn)&&(dt[gn]=pt[gn]);return dt},Tt=(pt,jt,dt)=>new Promise((gn,Tn)=>{var $n=$e=>{try{xe(dt.next($e))}catch(ht){Tn(ht)}},ke=$e=>{try{xe(dt.throw($e))}catch(ht){Tn(ht)}},xe=$e=>$e.done?gn($e.value):Promise.resolve($e.value).then($n,ke);xe((dt=dt.apply(pt,jt)).next())});const Bt=(pt=[])=>pt==null?void 0:pt.map(jt=>_t(yt({},jt),{title:(jt==null?void 0:jt.value)||"",key:jt==null?void 0:jt.id,isLeaf:!0})),Je=pt=>{var jt=pt,{user:dt,children:gn,isShowComponent:Tn=!0,ModalProps:$n={},onDataSelect:ke}=jt,xe=Jt(jt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[$e,ht]=Ke.default.useModal(),[kt]=nt.default.useForm(),[rt,Ue]=(0,re.useState)([]),[Ct,fn]=(0,re.useState)(!1),[Et,Nt]=(0,re.useState)(!1),[,Rt,vn,En]=(0,ct.U)(et.qE,{page:1,limit:9999}),[,,Ee]=(0,ct.U)(et.V8,{}),[,,de]=(0,ct.U)(et.B$,{}),[,,le]=(0,ct.U)(et.DH,{}),[,,ye]=(0,ct.U)(et.bJ,{}),me=()=>{fn(!1),kt.resetFields(),Nt(!1)},ue=tt=>Tt(void 0,null,function*(){const{node:Lt,dragNode:Pt,event:en}=tt,dn=tt.node.pos.split("-"),Qt=tt.dropPosition-Number(dn[dn.length-1]);if(Qt==0){Pe.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Qt==1&&(Pt==null?void 0:Pt.item_index)==(Lt==null?void 0:Lt.item_index)+1){Pe.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const zn=yield ye({id:Pt==null?void 0:Pt.key,position:Qt==-1?1:(Pt==null?void 0:Pt.item_index)>(Lt==null?void 0:Lt.item_index)?(Lt==null?void 0:Lt.item_index)+1:Lt==null?void 0:Lt.item_index});(zn==null?void 0:zn.status)===0&&(Pe.ZP.success("\u79FB\u52A8\u6210\u529F"),vn({},!0))}),Ie=tt=>Tt(void 0,null,function*(){let Lt={};Et?Lt=yield de(yt({},tt)):Lt=yield le(yt({},tt)),(Lt==null?void 0:Lt.status)==0&&(Pe.ZP.success((Lt==null?void 0:Lt.message)||(Et?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),vn({},!0),me())});return(0,re.useEffect)(()=>{$n!=null&&$n.open&&vn({},!0)},[$n==null?void 0:$n.open]),(0,re.useEffect)(()=>{var tt;Ue(Bt((tt=En==null?void 0:En.data)==null?void 0:tt.list))},[En]),Tn?re.createElement(re.Fragment,null,ht,gn,re.createElement(Ke.default,yt({},yt({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},$n)),re.createElement(Te.Z,{spinning:Rt},(rt==null?void 0:rt.length)>0?re.createElement(re.Fragment,null,re.createElement(Qe.default.DirectoryTree,{height:500,className:Ne.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:ke,treeData:rt,onDrop:ue,titleRender:tt=>re.createElement(re.Fragment,null,re.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},tt==null?void 0:tt.title),re.createElement("div",{className:`${Ne.EditDom}`},re.createElement(we.Z,{wrap:!1,align:"middle",gutter:16},re.createElement(Me.Z,null,re.createElement(Ge.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},re.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ne.currentPrimary}`}))),re.createElement(Me.Z,null,re.createElement(Ge.Z,{title:"\u7F16\u8F91"},re.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ne.currentPrimary}`,onClick:Lt=>{Lt.stopPropagation(),kt.setFieldsValue(yt({},tt)),fn(!0)}}))),re.createElement(Me.Z,null,re.createElement(Ge.Z,{title:"\u5220\u9664"},re.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ne.currentDelete}`,onClick:Lt=>{Lt.stopPropagation(),$e.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Tt(void 0,null,function*(){const Pt=yield Ee({id:tt==null?void 0:tt.key});(Pt==null?void 0:Pt.status)==0&&(Pe.ZP.success((Pt==null?void 0:Pt.message)||"\u5220\u9664\u6210\u529F"),vn({},!0))})})}}))))))}),re.createElement(je.op,{className:"ml20 mt20",icon:re.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Nt(!0),fn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):re.createElement(Re.Z,{styles:{margin:"30px auto"},customText:re.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",re.createElement("a",{onClick:()=>{Nt(!0),fn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),re.createElement(Ke.default,{title:Et?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Ct,okText:Et?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{me()},onOk:()=>{kt.submit()}},re.createElement(nt.default,{form:kt,onFinish:Ie},Et&&re.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),re.createElement(nt.default.Item,{hidden:!0,name:"id"}),re.createElement(nt.default.Item,{className:"mt10",name:"value"},re.createElement(Ve.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Ot=(0,ot.connect)(({loading:pt,user:jt})=>({user:jt,loading:pt.effects}))(Je)},71865:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return nt}});var re=ge(67294),ot=ge(33054),Ke=ge(99398),nt=()=>{const[Pe,Te]=(0,re.useState)(""),[Qe,we]=(0,re.useState)(0);let[Me,Ge]=(0,re.useState)(),[Ve,Ne]=(0,re.useState)();const[ct,et]=(0,re.useState)(!1),Re=(0,re.useRef)("");(0,re.useEffect)(()=>ot.Z.subscribe("preview-image",Jt=>{Te(Jt),console.log(xt.current),document.body.style.overflow="hidden"}),[]),(0,re.useEffect)(()=>(document.addEventListener("keydown",je),()=>{document.removeEventListener("keydown",je)}),[]),(0,re.useEffect)(()=>{Re.current=Pe},[Pe]);function je(_t){_t.keyCode==27&&Re.current&&Fe()}function Fe(){document.body.style.overflow="auto",Ge(void 0),Ne(void 0),we(0),Te("")}function ze(){we(Qe+90)}function ft(){Me=xt.current.width*1.1,Ve=xt.current.height*1.1,Ne(Ve),Ge(Me)}function Ye(){Me=xt.current.width/1.1,Ve=xt.current.height/1.1,Ne(Ve),Ge(Me)}const ut=(0,re.useRef)(),vt=(0,re.useRef)(),xt=(0,re.useRef)(),yt=_t=>{(_t.nativeEvent.target===ut.current||_t.nativeEvent.target===vt.current)&&Fe()};return re.createElement(re.Fragment,null,Pe?re.createElement("div",null,re.createElement("div",{className:"preview-wrp-group",ref:vt},re.createElement(Ke.Z,{className:"image-preview",src:Pe,style:{display:"none"},preview:{visible:!0,src:Pe,movable:!1,onVisibleChange:_t=>{Te("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(wt,Wt,ge){"use strict";ge.d(Wt,{h:function(){return ut}});var re=ge(67294),ot=ge(11713),Ke=ge(22150),nt=ge(71577),Pe=ge(4631),Te=ge.n(Pe),Qe=ge(71749),we=ge(30483),Me=Object.defineProperty,Ge=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Re=(vt,xt,yt)=>xt in vt?Me(vt,xt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):vt[xt]=yt,je=(vt,xt)=>{for(var yt in xt||(xt={}))ct.call(xt,yt)&&Re(vt,yt,xt[yt]);if(Ne)for(var yt of Ne(xt))et.call(xt,yt)&&Re(vt,yt,xt[yt]);return vt},Fe=(vt,xt)=>Ge(vt,Ve(xt));const ze=ot.default.Option,ft={labelCol:{span:4},wrapperCol:{span:20}},Ye={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Wt.Z=({callback:vt,onCancel:xt})=>{const[yt,_t]=(0,re.useState)("python");function Jt(Bt){_t(Ye[Bt][1])}function Tt(Bt){vt(Bt)}return re.createElement(Ke.default,Fe(je({},ft),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Tt,style:{width:500}}),re.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},re.createElement(ot.default,{getPopupContainer:Bt=>Bt.parentNode,onChange:Jt},Object.keys(Ye).map(Bt=>re.createElement(ze,{key:Bt,value:Bt},Ye[Bt][0])))),re.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},re.createElement(ut,{mode:yt})),re.createElement("div",{className:"flex-container flex-end"},re.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(nt.ZP,{type:"ghost",onClick:xt},"\u53D6\u6D88")))};function ut({value:vt,onChange:xt,mode:yt,options:_t={}}){const Jt=(0,re.useRef)(),[Tt,Bt]=(0,re.useState)();return(0,re.useEffect)(()=>{if(Tt){let Je=function(Ot){const pt=Ot.getValue();xt&&xt(pt)};return Tt.on("change",Je),()=>{Tt.off("change",Je)}}},[Tt,xt]),(0,re.useEffect)(()=>{Tt&&Tt.setOption("mode",yt)},[Tt,yt]),(0,re.useEffect)(()=>{Tt&&(vt!==Tt.getValue()||vt==="")&&setTimeout(()=>{Tt.setValue(vt||"")},300)},[Tt,vt]),(0,re.useEffect)(()=>{if(Jt.current&&!Tt){const Je=Te().fromTextArea(Jt.current,je({mode:yt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},_t));Bt(Je)}},[Jt.current,Tt]),re.createElement("div",{className:"my-codemirror-container"},re.createElement("textarea",{ref:Jt}))}},91304:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return ga}});var re=ge(67294),ot=ge(4631),Ke=ge.n(ot),nt=ge(91033),Pe=ge(71749),Te=ge(57341),Qe=ge(82801),we=ge(88386),Me=ge(49047),Ge=ge(80785),Ve=ge(35598),Ne=({value:qn="",className:In,showTextOnly:Xn,showLines:Vi,style:Yi={}})=>{const sr=(0,re.useMemo)(()=>"",[qn]);return re.createElement(re.Fragment,null,re.createElement("div",{dangerouslySetInnerHTML:{__html:sr}}))},ct=ge(67294),et=Object.defineProperty,Re=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Ye=(qn,In,Xn)=>In in qn?et(qn,In,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):qn[In]=Xn,ut=(qn,In)=>{for(var Xn in In||(In={}))ze.call(In,Xn)&&Ye(qn,Xn,In[Xn]);if(Fe)for(var Xn of Fe(In))ft.call(In,Xn)&&Ye(qn,Xn,In[Xn]);return qn},vt=(qn,In)=>Re(qn,je(In));let xt=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function yt({onActionCallback:qn,title:In,icon:Xn,actionName:Vi,className:Yi="",children:sr}){function dr(){qn(Vi)}return ct.createElement("a",{title:In,className:Yi,onClick:dr},ct.createElement("i",{className:`${Xn}`}),sr)}var _t=({watch:qn,showNullButton:In,showNullProgramButton:Xn,onActionCallback:Vi,fullScreen:Yi,insertTemp:sr,hidetoolBar:dr,extraUse:br})=>{const xr=[...xt,{title:`${qn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${qn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ct.createElement("ul",{className:"markdown-toolbar-container"},!dr&&xr.map((wi,_n)=>ct.createElement("li",{key:_n},wi.actionName?ct.createElement(yt,vt(ut({},wi),{onActionCallback:Vi})):ct.createElement("span",{className:"v-line"}))),In?ct.createElement("li",null,ct.createElement(yt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Vi},ct.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Xn?ct.createElement(ct.Fragment,null,ct.createElement("li",null,ct.createElement(yt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Vi},ct.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ct.createElement("li",null,ct.createElement(yt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Vi},ct.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,sr&&ct.createElement("li",null,ct.createElement(yt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${sr}`,onActionCallback:Vi},ct.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),br&&ct.createElement("li",null,br),ct.createElement("li",{className:"btn-full-screen"},ct.createElement(yt,{icon:`${Yi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Vi})))},Jt=ge(76621),Tt=ge(22150),Bt=ge(69677),Je=ge(71577),Ot=Object.defineProperty,pt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,$n=(qn,In,Xn)=>In in qn?Ot(qn,In,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):qn[In]=Xn,ke=(qn,In)=>{for(var Xn in In||(In={}))gn.call(In,Xn)&&$n(qn,Xn,In[Xn]);if(dt)for(var Xn of dt(In))Tn.call(In,Xn)&&$n(qn,Xn,In[Xn]);return qn},xe=(qn,In)=>pt(qn,jt(In));const $e={labelCol:{span:4},wrapperCol:{span:20}};var ht=({callback:qn,onCancel:In})=>{function Xn(Vi){qn(Vi)}return re.createElement(Tt.default,xe(ke({},$e),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Xn,style:{width:500}}),re.createElement(Tt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},re.createElement(Bt.default,null)),re.createElement(Tt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},re.createElement(Bt.default,null)),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Je.ZP,{type:"ghost",onClick:In},"\u53D6\u6D88")))},kt=ge(57444),rt=ge(70859),Ue=ge(14446),Ct=ge(71230),fn=ge(63205),Et=ge(67294),Nt=({callback:qn,onCancel:In})=>{const Xn=document.createElement("canvas"),Vi=Xn.getContext("2d");Xn.width=1e3,Xn.height=800,Vi.fillStyle="#ffffff",Vi.fillRect(0,0,Xn.width,Xn.height);const Yi=Xn.toDataURL("image/png");return Et.createElement(Ue.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Et.createElement(Ct.Z,{style:{height:"100vh"}},Et.createElement(fn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yi,visible:!0,title:String(Date.now())},onOk:sr=>{qn({src:sr.url})},onClose:In})))},Rt=ge(72565),vn=ge(15746),En=ge(2453),Ee={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},de=ge(67294),ye=(0,re.forwardRef)(({onCancel:qn,editImgId:In,callback:Xn},Vi)=>{let Yi=(0,re.useRef)(),sr=(0,re.useRef)(),dr=(0,re.useRef)(),br=(0,re.useRef)(!1);const xr=(0,re.useRef)(!1);console.log("ref:",Vi);const[wi,_n]=(0,re.useState)(0),[Dr,Ti]=(0,re.useState)("100vh");return(0,re.useEffect)(()=>{_n(1);try{indexedDB.databases().then(Ai=>{Ai.forEach(Fi=>indexedDB.deleteDatabase(Fi.name))})}catch(Ai){}},[]),(0,re.useImperativeHandle)(Vi,()=>({setHeight:Ti})),de.createElement("div",{ref:xr,className:"body-overflow-initial"},de.createElement(Rt.Z,{width:"100vw",height:Dr,footer:null,closable:!0,placement:"bottom",open:!!wi,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ee.drawerWrap}`,onClose:()=>{window.saveDrawData(Ai=>{Xn({src:`/api/attachments/${Ai}`,id:Ai})})},title:de.createElement(Ct.Z,{align:"middle"},de.createElement(vn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),de.createElement(vn.Z,{onClick:()=>{Ti(Dr==="60px"?"100vh":"60px")}},de.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),de.createElement(vn.Z,{onClick:()=>{window.saveDrawData(Ai=>{if(Ai===null){En.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}En.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Xn({src:`/api/attachments/${Ai}`,id:Ai,disabledClose:!0})})}},de.createElement(Je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},de.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${In||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:sr})))}),me=ge(11320),ue=ge(78045),Ie=ge(31795);const tt=ue.ZP.Group,Lt={margin:"0 8px"};var Pt=({callback:qn,onCancel:In})=>{function Xn(Vi){qn(Vi)}return re.createElement(Tt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Xn},re.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},re.createElement("span",{style:Lt},"\u5355\u5143\u683C\u6570\uFF1A"),re.createElement("span",{style:Lt},"\u884C\u6570"),re.createElement(Tt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},re.createElement(Ie.Z,null)),re.createElement("span",{style:Lt},"\u5217\u6570"),re.createElement(Tt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},re.createElement(Ie.Z,null))),re.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},re.createElement("span",{style:Lt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),re.createElement(Tt.default.Item,{name:"align"},re.createElement(tt,null,re.createElement(ue.ZP,{value:"default"},re.createElement("i",{className:"fa fa-align-justify"})),re.createElement(ue.ZP,{value:"left"},re.createElement("i",{className:"fa fa-align-left"})),re.createElement(ue.ZP,{value:"center"},re.createElement("i",{className:"fa fa-align-center"})),re.createElement(ue.ZP,{value:"right"},re.createElement("i",{className:"fa fa-align-right"}))))),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Je.ZP,{type:"ghost",onClick:In},"\u53D6\u6D88")))},en=ge(47897),dn=ge(61016),Qt=ge.n(dn),Ei=(0,re.forwardRef)(({use3d:qn,width:In,height:Xn,callback:Vi,showSaveButton:Yi},sr)=>{const dr=(0,re.useRef)(),br=(0,re.useRef)(),[xr,wi]=(0,re.useState)(!1),_n=(0,re.useRef)({id:dr,appName:"graphing",width:In||1e3,height:Xn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,re.useEffect)(()=>{br.current=new(Qt())(_n.current,!0),window.onload=function(){br.current.inject("applet_container")}},[]);const Dr=()=>{var Ti=window.ggbApplet.getPNGBase64(1,!0,72);return Vi&&Vi(Ti),Ti};return(0,re.useEffect)(()=>{_n.current.appName=xr?"3D":"graphing",br.current.inject("applet_container")},[xr]),(0,re.useEffect)(()=>{wi(qn)},[qn]),(0,re.useImperativeHandle)(sr,()=>({getImgData:Dr})),re.createElement(re.Fragment,null,re.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:dr}),re.createElement(Ct.Z,{align:"middle"},re.createElement(vn.Z,{flex:1},re.createElement(en.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:xr,onChange:Ti=>wi(Ti)})),re.createElement(vn.Z,null,re.createElement(Je.ZP,{size:"large",onClick:Dr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),It=ge(36527),Bn=ge(25934);const Sr="link",Wi="upload-image",Mi="add-flowchart",di="draw-image",oo="add-flowchart",pr="code-block",or="add-table",Zi="------------",qa={default:Zi,left:`:${Zi}`,center:`:${Zi}:`,right:`${Zi}:`};var Wa=ge(99914),Ka=(qn,In,Xn)=>new Promise((Vi,Yi)=>{var sr=xr=>{try{br(Xn.next(xr))}catch(wi){Yi(wi)}},dr=xr=>{try{br(Xn.throw(xr))}catch(wi){Yi(wi)}},br=xr=>xr.done?Vi(xr.value):Promise.resolve(xr.value).then(sr,dr);br((Xn=Xn.apply(qn,In)).next())});function cr(){}let Ki=0;const Ui=1e4,hs="\u2581",ts="@\u2581\u2581@",Ao="@\u2581@",yr=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,si=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Ni(qn){return/^\d+$/.test(qn)?`${qn}px`:qn}const mo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ii={[mo+"-B"]:"bold",[mo+"-I"]:"italic"},Qr={[Sr]:"\u6DFB\u52A0\u94FE\u63A5",[pr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wi]:"\u6DFB\u52A0\u56FE\u7247",[di]:"\u6DFB\u52A0\u753B\u56FE",[Mi]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[or]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ga=({defaultValue:qn="",onChange:In,width:Xn="100%",height:Vi=400,miniToolbar:Yi=!1,isFocus:sr=!1,watch:dr,insertTemp:br,mode:xr="markdown",id:wi="markdown-editor-id",showResizeBar:_n=!1,noStorage:Dr=!1,showNullButton:Ti=!1,showNullProgramButton:Ai=!1,hidetoolBar:Fi=!1,fullScreen:Na=!1,onBlur:Xr,onCMBeforeChange:mr,onFullScreen:an,className:li="",disablePaste:Fo=!1,disabled:Oo=!1,disabledFill:go=!1,placeholder:Lr="",values:Eo="",extraUse:pi,onAddBlank:jr})=>{const[ln,sa]=(0,re.useState)(null),[Br,Xa]=(0,re.useState)(qn),[la,Ea]=(0,re.useState)(dr),[ua,ns]=(0,re.useState)(Na),[Tr,ca]=(0,re.useState)(""),[$a,Go]=(0,re.useState)(0),[Vo,Po]=(0,re.useState)(Vi),[Yo,Mo]=(0,re.useState)(!1),Rr=(0,re.useRef)((0,Bn.Z)()),zo=(0,re.useRef)(!1),is=(0,re.useRef)(),[Ua,nn]=(0,re.useState)(0),[Ia,So]=(0,re.useState)(0),Ta=(0,re.useRef)(),so=(0,re.useRef)(),vo=(0,re.useRef)(),Ma=(0,re.useRef)(),lo=(0,re.useRef)(),da=(0,re.useRef)(),ha=()=>Ka(void 0,null,function*(){var Xt;const Gt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Rr.current}});(Xt=Gt==null?void 0:Gt.attachments)!=null&&Xt.length&&(console.log("cm:",ln,Ta),Gt.attachments.map(on=>{on.content_type.indexOf("image")>-1?ln.replaceSelection(`![,](/api/attachments/${on.id}?type=${on.content_type})`):on.content_type.indexOf("video")>-1?ln.replaceSelection(`<video width="100%" controls src="${me.Z.API_SERVER}/api/attachments/${data.id}"></video>`):on.content_type.indexOf("pdf")>-1?ln.replaceSelection(`<a href="${me.Z.API_SERVER}/api/attachments/${on.id}?type=${on.content_type}&disposition=inline" target="_blank">${on.name}</a>`):ln.replaceSelection(`[${on.name}](${me.Z.API_SERVER}/api/attachments/${on.id}?type=${on.content_type})`)}))});(0,re.useEffect)(()=>{const Xt=window.scrollY||window.pageYOffset;Xa(Eo),ln==null||ln.setValue(Eo),window.scrollTo(0,Xt)},[Eo]),(0,re.useEffect)(()=>{an==null||an(ua)},[ua]),(0,re.useEffect)(()=>{if(Ta.current){let Xt=function(on,yn){var ei;if(Fo){yn.preventDefault();return}const mi=yn.clipboardData;if(mi){const hi=mi.types.toString(),ri=mi.items;if(hi==="Files"||mi.types.indexOf("Files")>-1){if(yn.preventDefault(),xr=="stex")return;try{let Ci=ri[1];((ei=ri[0])==null?void 0:ei.kind)==="file"&&(Ci=ri[0]);const vi=Ci.getAsFile(),Ri=vi.name.split(".").pop();(0,rt.I)(vi,zi=>{var Ji,Oi,er;zi.id?((Ji=vi==null?void 0:vi.type)==null?void 0:Ji.indexOf("image"))>-1?Gt.replaceSelection(`<img width="100%" src="/api/attachments/${zi.id}?type=${zi.content_type})" alt="" />`):((Oi=vi==null?void 0:vi.type)==null?void 0:Oi.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="/api/attachments/${zi.id}"></video>`):((er=vi==null?void 0:vi.type)==null?void 0:er.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="/api/attachments/${zi.id}?type=${vi.type}&disposition=inline" target="_blank">${vi.name}</a>`):si.includes(Ri)?Gt.replaceSelection(`<a href="/api/attachments/${zi.id}?type=office&disposition=inline" target="_blank">${vi.name}</a>`):Gt.replaceSelection(`[${vi.name}](/api/attachments/${zi.id}?type=${zi.content_type})`):(zi==null?void 0:zi.status)===401&&(En.ZP.warning((zi==null?void 0:zi.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ci){En.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Gt=Ke().fromTextArea(Ta.current,{mode:xr,lineNumbers:!Yi,lineWrapping:!0,value:qn,autoCloseTags:!Ai,autoCloseBrackets:!0});return Gt.on("keyup",function(on,yn){yn.keyCode===8&&(on.getValue()==""?Gt.setOption("placeholder",Lr):Gt.setOption("placeholder",null))}),Gt.on("keydown",function(on,yn){if(yn.keyCode===8){var ei=ia(on);ei&&yn.preventDefault()}}),sr&&Gt.focus(),Gt.on("paste",Xt),Gt.on("dragleave",function(on,yn){so.current.classList.remove("mouse-hover-md")}),Oo&&Gt.on("beforeChange",function(on,yn){(yn.origin==="paste"||yn.origin==="+input")&&yn.cancel()}),sa(Gt),()=>{Gt.off("paste",Xt)}}},[]);const yo=(0,re.useCallback)(()=>{if(so.current)try{}catch(Xt){console.log(Xt,"---- to set md editor body height")}},[Vo,so,ua]);(0,re.useEffect)(()=>{function Xt(){let Gt=new nt.Z(on=>{for(let yn of on)(yn.target.offsetHeight>0||yn.target.offsetWidth>0)&&(yo(),ln.setSize("100%","100%"),ln.refresh())});return Gt.observe(Ta.current.parentElement),Gt}if(ln){const Gt=Xt();return()=>{var on,yn;(on=Ta.current)!=null&&on.parentElement&&Gt.unobserve((yn=Ta.current)==null?void 0:yn.parentElement)}}},[ln,yo]),(0,re.useEffect)(()=>{if(ln){let Xt=[];for(const[Gt,on]of Object.entries(Ii)){let yn={[Gt]:()=>{fa(on)}};Xt.push(yn),ln.addKeyMap(yn)}return is.current=setInterval(()=>{zo.current&&ha()},4e3),()=>{clearInterval(is.current);for(let Gt of Xt)ln.removeKeyMap(Gt)}}},[ln]),(0,re.useEffect)(()=>{Na!==ua&&ns(Na)},[Na]),(0,Wa.Z)(()=>{if(!Dr&&$a>0){let Xt=new Date().getTime(),Gt=window.sessionStorage.getItem(wi);Xt>=$a+Ui&&(!Gt||Gt!==Br)&&(window.sessionStorage.setItem(wi,Br),Mo(!0))}},Ui),(0,re.useEffect)(()=>{Ea(dr)},[ln,dr]),(0,re.useEffect)(()=>{ln&&sr&&ln.focus()},[ln,sr]),(0,re.useEffect)(()=>{if(la&&ln){let Xt=function(on){let yn=on.target;if(Ma.current){let ei=yn.scrollTop/yn.scrollHeight;Ma.current.scrollTop=Ma.current.scrollHeight*ei}};const Gt=ln.getScrollerElement();return Gt.addEventListener("scroll",Xt),()=>{Gt.removeEventListener("scroll",Xt)}}},[ln,la]),(0,re.useEffect)(()=>{if(ln&&mr){let Xt=function(Gt,on){mr(Gt,on)};return ln.on("beforeChange",Xt),()=>{ln.off("beforeChange",Xt)}}},[ln,mr]),(0,re.useEffect)(()=>{if(ln&&Xr){let Xt=function(){Xr(ln.getValue())};return ln.on("blur",Xt),()=>{ln.off("blur",Xt)}}},[ln,Xr]);function ia(Xt,Gt){var on=Xt.getDoc(),yn=on.getCursor(),ei=on.getLine(yn.line),mi=ei.charAt(yn.ch-1),hi=ei.lastIndexOf("@\u2581@",yn.ch),ri=ei.lastIndexOf("@\u2581\u2581@",yn.ch),Ci=hi>ri?hi:ri,vi=hi>ri?3:4;if(ts.indexOf(mi)===-1)return null;if(console.log("change1:",Gt,Xt,ei,yn,Ci,hi,ri,mi),Ci>=0&&yn.ch-Ci<5){var Ri=Ci+vi;return on.replaceRange("",{line:yn.line,ch:Ci},{line:yn.line,ch:Ri}),{line:yn.line,ch:Ri}}return null}(0,re.useEffect)(()=>{if(ln){let Xt=function(Gt,on){const yn=Gt.getValue();Xa(yn),Go(new Date().getTime()),Gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),In&&(Ai?In(yn,Rn(yn)):In(yn))};return ln.on("change",Xt),()=>{ln.off("change",Xt)}}},[ln,In]),(0,re.useEffect)(()=>{if(ln)if(qn==null)ln.setValue(""),Xa("");else{const Xt=window.scrollY||window.pageYOffset;qn!==ln.getValue()&&(ln.setValue(qn),Xa(qn),ln.setCursor(Oo?1:ln.lineCount(),0),window.scrollTo(0,Xt))}},[ln,qn]);const fa=(0,re.useCallback)(Xt=>{const Gt=ln.getCursor(),on=ln.getSelection();let yn=on.split(`
`);switch(Xt){case"bold":return ln.replaceSelection("**"+on+"**"),on===""&&ln.setCursor(Gt.line,Gt.ch+2),ln.focus();case"italic":return ln.replaceSelection("*"+on+"*"),on===""&&ln.setCursor(Gt.line,Gt.ch+1),ln.focus();case"code":return ln.replaceSelection("`"+on+"`"),on===""&&ln.setCursor(Gt.line,Gt.ch+1),ln.focus();case"inline-latex":return ca("inline-latex"),ln.focus();case"latex":return ln.replaceSelection("```latex\n"+on+"\n```"),ln.setCursor(Gt.line+1,on.length+1),ln.focus();case"line-break":return ln.replaceSelection(`<br/>
`),ln.focus();case"list-ul":return on===""?ln.replaceSelection("- "+on):ln.replaceSelection(yn.map(ei=>ei===""?"":`- ${ei}`).join(`
`)),ln.focus();case"list-ol":return on===""?ln.replaceSelection("1. "+on):ln.replaceSelection(yn.map((ei,mi)=>ei===""?"":`${mi+1}. ${ei}`).join(`
`)),ln.focus();case"add-null-ch":jr==null||jr();return;case"add-signal":return on===""&&ln.setCursor(Gt.line,Gt.ch),ln.replaceSelection(Ao),ln.focus();case"add-multiple":return on===""&&ln.setCursor(Gt.line,Gt.ch),ln.replaceSelection(ts),ln.focus();case"inster-template-1":return on===""&&ln.setCursor(Gt.line,Gt.ch),ln.replaceSelection(yr),ln.focus();case"eraser":return ln.setValue(""),ln.focus();case"trigger-watch":return Ea(!la),ln.focus();case"trigger-full-screen":return ns(!ua),ln.focus();case Sr:ca(Sr);return;case pr:ca(pr);return;case Wi:ca(Wi);return;case di:ca(di);return;case"maths-latex":ca("maths-latex");return;case Mi:lo.current="",sessionStorage.removeItem("file_id"),ca(Mi);return;case or:ca(or);return;default:throw new Error}},[ln,la,ua]),Se=(0,re.useCallback)((Xt,Gt)=>{var on,yn,ei,mi,hi,ri;ca("");const{src:Ci,alt:vi,id:Ri}=Xt||{};switch(Tr){case Sr:const{title:gr,link:lt}=Xt;return ln.replaceSelection(`[${gr}](${lt})`),ln.focus();case pr:const{language:st,content:mt}=Xt;return ln.replaceSelection(["```"+st,mt,"```"].join(`
`)),ln.focus();case"maths-latex":for(var zi=atob(Xt),Ji=new Uint8Array(zi.length),Oi=0;Oi<zi.length;Oi++)Ji[Oi]=zi.charCodeAt(Oi);var er=new Blob([Ji],{type:"image/png"});(0,rt.I)(er,Yn=>{Yn.id?ln.replaceSelection(`![,](/api/attachments/${Yn.id}?type=${Yn.content_type})`):(Yn==null?void 0:Yn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ln.replaceSelection("`$$"+Xt+"$$`");break;case oo:if(!Ri)return;ln.focus(),ln.getValue().indexOf(Ci)===-1?ln.replaceSelection(`<center><img id="${Ri}" width="80%" src="${Ci}" class="draw-flowchart" alt="${vi||""}" /></center>`):document.getElementById(Ri).src=me.Z.API_SERVER+Ci+"?t="+Date.now();try{setTimeout(()=>{Xr(ln.getValue())},100)}catch(Yn){}break;case Wi:case di:const Ft=Gt,Ln=(ei=(yn=(on=Ft==null?void 0:Ft.name)==null?void 0:on.split("."))==null?void 0:yn.pop)==null?void 0:ei.call(yn);return((mi=Ft==null?void 0:Ft.type)==null?void 0:mi.indexOf("image"))>-1||!(Ft!=null&&Ft.type)?Ft!=null&&Ft.align||Ft!=null&&Ft.width?ln.replaceSelection(`<p style="text-align:${Ft.align||"initial"}"><img width="${Ft.width?Ft.width+"%":"initial"}" src="${Ci}" alt="${vi||""}" /></p>`):ln.replaceSelection(`<img width="100%" src="${Ci}" alt="${vi||""}" />`):((hi=Ft==null?void 0:Ft.type)==null?void 0:hi.indexOf("video"))>-1?ln.replaceSelection(`<video width="100%" controls src="${Ci}"></video>`):((ri=Ft==null?void 0:Ft.type)==null?void 0:ri.indexOf("pdf"))>-1?ln.replaceSelection(`<a href="${Ci}?type=${Ft.type}&disposition=inline" target="_blank">${Ft.name}</a>`):si.includes(Ln)?ln.replaceSelection(`<a href="${Ci}?type=office&disposition=inline" target="_blank">${Ft.name}</a>`):ln.replaceSelection(`[${Ft.name}](${Ci})`),ln.focus();case or:const{row:Zn,col:zt,align:mn}=Xt;let jn=`
`;for(let Yn=0;Yn<Zn;Yn++){let bn=[],rn=[];for(let Jn=0;Jn<zt;Jn++)Yn===1&&rn.push(qa[mn]),bn.push(" ");Yn===1&&(jn+=`| ${rn.join(" | ")} |
`),jn+=`| ${bn.join(zt===1?"":" | ")} |
`}return ln.replaceSelection(jn+`
`),ln.focus();default:throw new Error}},[ln,Tr]),Be=(0,re.useMemo)(()=>{switch(Tr){case Sr:return re.createElement(ht,{callback:Se,onCancel:gt});case pr:return re.createElement(kt.Z,{callback:Se,onCancel:gt});case Wi:return re.createElement(rt.Z,{callback:Se,onCancel:gt});case Mi:return re.createElement(ye,{editImgId:lo.current,callback:Se,onCancel:gt});case or:return re.createElement(Pt,{callback:Se,onCancel:gt});case"maths-latex":return re.createElement(Ei,{showSaveButton:!0,callback:Se});case"inline-latex":return re.createElement(It.Z,{showSaveButton:!0,callback:Se});default:return null}},[Tr]);function gt(){ca("")}(0,re.useEffect)(()=>{if(vo.current){let Xt=function(hi){ei=!0,mi=hi.pageY},Gt=function(){ei=!1},on=function(hi){if(ei){let ri=hi.pageY-mi;ri<0&&(ri=0),ri>300&&(ri=300);let Ci=Vi+ri+"px";Po(Ci)}},yn=vo.current,ei=!1,mi=0;return yn.addEventListener("mousedown",Xt),document.addEventListener("mousemove",on),document.addEventListener("mouseup",Gt),()=>{yn.removeEventListener("mousedown",Xt),document.removeEventListener("mousemove",on),document.removeEventListener("mouseup",Gt)}}},[ln,vo]),(0,re.useEffect)(()=>{Po(Vi)},[Vi]);const Mt=Ni(Xn),Ht=Ni(Vo),Kt={width:Mt,height:Ht},wn=(0,re.useMemo)(()=>{if($a){let Xt=new Date($a),Gt=Xt.getHours(),on=Xt.getMinutes(),yn=Xt.getSeconds();return Gt=Gt<10?"0"+Gt:Gt,on=on<10?"0"+on:on,yn=yn<10?"0"+yn:yn,`${Gt}:${on}:${yn}`}return 0},[$a]),Rn=Xt=>{const Gt=[];if(Ai){let on=-1;Xt=Xt.replace(/(@▁▁@|@▁@)/g,function(yn,ei,mi){Gt.push({multiLine:yn!==Ao})})}return Gt};function ii(){window.sessionStorage.removeItem(wi),Mo(!1),Go(0)}function ai(){Mo(!1),Go(0),ln.setValue(window.sessionStorage.getItem(wi))}(0,re.useEffect)(()=>{Qr[Tr]&&Tr!==di&&Tr!==Mi&&setTimeout(()=>{const Xt=document.getElementsByClassName("markdown-popup-form")[0],Gt=window.innerWidth/2-Xt.offsetWidth/2,on=window.innerHeight/2-Xt.offsetHeight/2;nn(Gt),So(on)},0)},[Tr]);const Si=Xt=>{Xt.preventDefault();const Gt=Xt.clientX-Ua,on=Xt.clientY-Ia;document.body.onmousemove=yn=>{let ei=yn.clientX-Gt,mi=yn.clientY-on;const hi=document.getElementsByClassName("markdown-popup-form")[0],ri=window.innerWidth-hi.offsetWidth,Ci=window.innerHeight-hi.offsetHeight;ei=Math.max(0,Math.min(ei,ri)),mi=Math.max(0,Math.min(mi,Ci)),Hn(yn.clientX,yn.clientY,Gt,on)&&(nn(ei),So(mi))},document.body.onmouseup=function(){document.body.onmousemove=null}},Hn=(Xt,Gt,on,yn)=>{const ei=document.body.clientHeight,mi=document.body.clientWidth;return Xt<20&&on>Xt||Xt>mi-20&&on<Xt||Gt<20&&yn>Gt||Gt>ei-20&&yn<Gt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return re.createElement(re.Fragment,null,re.createElement("div",{className:"markdown-editor-wrapper",ref:so},re.createElement("div",{className:`markdown-editor-container ${li} ${la?"on-preview":""} ${Yi?"mini":""} ${ua?"full-screen":""}`,style:Kt},re.createElement(_t,{insertTemp:br,watch:la,fullScreen:ua,showNullButton:Ti,showNullProgramButton:Ai,onActionCallback:fa,hidetoolBar:Fi,extraUse:pi}),re.createElement("div",{className:"markdown-editor-body"},re.createElement("div",{className:"codemirror-container"},re.createElement("textarea",{ref:Ta,placeholder:Lr})),la?re.createElement("div",{ref:Ma,className:"preview-container"},xr==="stex"&&re.createElement(Ne,{value:Br}),xr!=="stex"&&re.createElement(Ve.Z,{edit:!0,disabledFill:go,showProgramFill:Ai,value:Br,openEditor:Xt=>{var Gt;lo.current=Xt,(Gt=da.current)==null||Gt.setHeight("100vh"),setTimeout(()=>{ca("add-flowchart")},150)}})):null))),_n?re.createElement("a",{ref:vo,className:"editor-resize"}):null,Tr===di&&re.createElement(Nt,{callback:Se,onCancel:gt}),Tr===Mi&&re.createElement(ye,{ref:da,editImgId:lo.current,callback:Se,onCancel:gt}),re.createElement(Jt.Z,null,Qr[Tr]&&Tr!==di&&Tr!==Mi?re.createElement(Ue.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ua,top:Ia},title:re.createElement("div",{style:{cursor:"move"},onMouseDown:Si},Qr[Tr]),open:!0,onCancel:gt,footer:null,destroyOnClose:!0,width:Tr===Mi?"1200px":null,height:Tr===Mi?"80vh":null,className:"markdown-popup-form"},Be):null))}},70859:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return yt},I:function(){return Jt}});var re=ge(22150),ot=ge(2453),Ke=ge(69677),nt=ge(93421),Pe=ge(31795),Te=ge(78045),Qe=ge(71577),we=ge(15476),Me=ge(67294),Ge=ge(52262),Ve=ge(67294),Ne=Object.defineProperty,ct=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,ze=(Tt,Bt,Je)=>Bt in Tt?Ne(Tt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Tt[Bt]=Je,ft=(Tt,Bt)=>{for(var Je in Bt||(Bt={}))je.call(Bt,Je)&&ze(Tt,Je,Bt[Je]);if(Re)for(var Je of Re(Bt))Fe.call(Bt,Je)&&ze(Tt,Je,Bt[Je]);return Tt},Ye=(Tt,Bt)=>ct(Tt,et(Bt));const{useForm:ut}=re.default,vt={width:280,marginRight:10},xt={labelCol:{span:5},wrapperCol:{span:19}};var yt=({callback:Tt,onCancel:Bt})=>{const[Je]=ut();let Ot=(0,Me.useRef)();function pt(gn){Ot.current.width=Je.getFieldValue("width"),Ot.current.align=Je.getFieldValue("align"),Tt(gn,Ot.current)}function jt(gn,Tn){if(gn.status===-1){ot.ZP.error(gn.message);return}Je.setFieldsValue({src:`/api/attachments/${gn.id}`,type:Tn.type})}function dt(gn){let Tn=gn.target.files[0];Ot.current=Tn,Jt(Tn,jt)}return Ve.createElement(re.default,Ye(ft({form:Je},xt),{className:"upload-image-panel",onFinish:pt,style:{width:470,overflow:"hidden"}}),Ve.createElement(re.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ve.createElement("div",{className:"flex-container"},Ve.createElement(re.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ve.createElement(Ke.default,{style:vt})),Ve.createElement(_t,{onFileChange:dt}))),Ve.createElement(re.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ve.createElement(Ke.default,{style:{width:264}})),Ve.createElement(re.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ve.createElement(nt.Z,null,Ve.createElement(re.default.Item,{name:"width",style:{margin:0}},Ve.createElement(Pe.Z,{style:{width:264}})),Ve.createElement("span",{className:"ml8"},"%"))),Ve.createElement(re.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ve.createElement(Te.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ve.createElement("aside",null,Ve.createElement(re.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ve.createElement(Qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ve.createElement(Qe.ZP,{type:"default",onClick:Bt},"\u53D6\u6D88"))))};function _t({onFileChange:Tt}){return Ve.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ve.createElement("input",{type:"file",onChange:Tt}))}function Jt(Tt,Bt){if(!Tt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ge.bg)())throw ot.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Je=new FormData;Je.append("editormd-image-file",Tt),Je.append("file_param_name","editormd-image-file"),Je.append("byxhr","true");var Ot=new window.XMLHttpRequest;Ot.withCredentials=!0,Ot.addEventListener("load",function(pt){Bt(JSON.parse(pt.target.responseText),Tt)},!1),Ot.addEventListener("error",function(pt){console.error(pt)},!1),Ot.open("POST",`${we.KI}/api/attachments.json`),Ot.send(Je)}},76621:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Ke}});var re=ge(67294),ot=ge(73935);class Ke extends re.Component{constructor(Pe){super(Pe);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:Pe}=this.props;return(0,ot.createPortal)(Pe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(wt,Wt,ge){"use strict";ge.d(Wt,{i:function(){return xt},Z:function(){return _t}});var re={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ot=ge(57953),Ke=ge(83062),nt=ge(38703),Pe=ge(94184),Te=ge.n(Pe),Qe=ge(28706),we=ge(26194),Me=ge(52262),Ge=ge(79005),Ve=ge(20345),Ne=ge(77882),ct=ge(31081),et=ge(75309),Re=ge(71979),je=ge(47558),Fe=ge(60345),ze=ge(66832),ft=ge(96593),Ye=ge(19664),ut=ge(91833),vt=ge(67294);const xt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ge,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ne,swimg:ct},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:et,swimg:Re},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:je,swimg:Fe},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ze,swimg:ft},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ye,swimg:ut}];var _t=({className:Jt,dataSource:Tt=[],col:Bt=4,right:Je,bottom:Ot=23,precision:pt=0,wrapWidth:jt=1200,trackEventItems:dt,loading:gn,onRemove:Tn=()=>{},isCurrent:$n=!0,showAlias:ke=!1,showProgress:xe=!1})=>{const $e=Math.floor((jt-(Bt-1)*Je)/Bt),ht=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(kt=>(window.ENV==="build"&&(kt.ptimg=`/react/build${kt.ptimg}`,kt.swimg=`/react/build${kt.swimg}`),kt));return vt.createElement(ot.Z,{spinning:gn},vt.createElement("div",{className:Te()(re.list,Jt)},!!(Tt!=null&&Tt.length)&&(Tt==null?void 0:Tt.map((kt,rt)=>{var Ue,Ct,fn,Et,Nt,Rt;const{name:vn,id:En,identifier:Ee,featured:de,school_name:le,image_url:ye,excellent:me,is_plan:ue}=kt;return vt.createElement("div",{key:En,className:$n&&xe?re.wrapisCurrent:re.wrap,style:{width:$e,marginRight:(1+rt)%Bt===0?0:Je+pt,marginBottom:Ot}},vt.createElement("a",{className:re.li,onClick:Ie=>{Ie.preventDefault(),Ie.stopPropagation(),dt&&(0,Qe.L9)([dt]),(0,Qe.xg)(`/paths/${Ee}`)}},vt.createElement("div",{className:re.img},vt.createElement("img",{className:re.cover,src:`${ye}`}),$n&&(0,Me.bg)()&&(kt==null?void 0:kt.studying)&&vt.createElement("div",{className:`${re.movebq} user-path-items`,onClick:Ie=>{Ie.stopPropagation(),Tn(kt)}},vt.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),vt.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ue=kt==null?void 0:kt.subject_tags)==null?void 0:Ue.map((Ie,tt)=>{var Lt,Pt;if(tt===0){const dn=(Lt=ht.find(Qt=>Qt.name==Ie))==null?void 0:Lt.swimg;return vt.createElement("img",{className:re.sign,src:dn,style:{left:"-4px"}})}const en=(Pt=ht.find(dn=>dn.name==Ie))==null?void 0:Pt.ptimg;return vt.createElement("img",{className:re.sign,src:en,style:{left:`${48+52*(tt-1)+2*tt}px`}})}),vt.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(kt==null?void 0:kt.excellent)&&vt.createElement("div",{className:re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),vt.createElement("div",{className:re.name},vt.createElement(Ke.Z,{title:ke&&(kt!=null&&kt.excellent_alias_name)?vt.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${vn}`,vt.createElement("br",null),vt.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${kt==null?void 0:kt.excellent_alias_name}`)):vn},vt.createElement("span",{className:re.e},ke&&(kt==null?void 0:kt.excellent_alias_name)||vn))),$n&&xe&&((Ct=kt==null?void 0:kt.progress)==null?void 0:Ct.all_score)!=0&&vt.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},vt.createElement(nt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((fn=kt==null?void 0:kt.progress)==null?void 0:fn.my_score)/((Et=kt==null?void 0:kt.progress)==null?void 0:Et.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Nt=kt==null?void 0:kt.progress)==null?void 0:Nt.my_score,"/",(Rt=kt==null?void 0:kt.progress)==null?void 0:Rt.all_score),(!$n||!xe)&&vt.createElement("div",{className:re.tags},vt.createElement("div",null,vt.createElement(Ke.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},vt.createElement("span",null,vt.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),vt.createElement("span",null,kt.stages_count))),vt.createElement(Ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},vt.createElement("span",null,vt.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),vt.createElement("span",null,kt.members_count)))))))})),!Tt.length&&vt.createElement(we.Z,null)))}},78311:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Te}});var re=ge(67294),ot={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ke=ge(94184),nt=ge.n(Ke),Te=({dataSource:Qe=[],value:we,onChange:Me,className:Ge,style:Ve={}})=>re.createElement("div",{style:Ve,className:nt()(ot.tabs,Ge)},Qe.map(Ne=>re.createElement("span",{onClick:()=>Me(Ne.id),className:we===Ne.id?ot.active:"",key:Ne.id},Ne.name)))},64743:function(wt,Wt,ge){"use strict";ge.d(Wt,{jL:function(){return Pe},w9:function(){return mo},vv:function(){return Yi},dN:function(){return qn},QD:function(){return is},cQ:function(){return ue.Z},vg:function(){return Ao},Oz:function(){return Ka},op:function(){return Vo},O5:function(){return Kt},_b:function(){return so},t7:function(){return Bt},tT:function(){return pt},Gi:function(){return Xr},YG:function(){return xr},Ed:function(){return Fi},kT:function(){return Dr},qp:function(){return Fe},Um:function(){return xt},K3:function(){return Ye},vr:function(){return Ia},qE:function(){return Mo},Je:function(){return gn},wb:function(){return Et},rC:function(){return me},lB:function(){return vn},cq:function(){return go},kO:function(){return jr},tp:function(){return yt.Z},Si:function(){return ii},k8:function(){return gr},Du:function(){return ei}});var re=ge(67294),ot={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA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r/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Pe=({dataSource:lt=[],img:st,imgWidth:mt=346,title:Ft,sunTitle:Ln,bannerExtraContent:Zn})=>re.createElement("div",{className:ot.banner},re.createElement("div",{className:ot.content},re.createElement("aside",null,re.createElement("p",null,re.createElement("b",null,Ft),re.createElement("span",null,Ln)),lt.length>0&&re.createElement("div",{className:ot.btns},lt.map((zt,mn)=>re.createElement("div",{key:mn,onClick:zt.click},zt.name,zt.sign?re.createElement("img",{src:Ke,width:39}):null))),Zn),st&&re.createElement("img",{style:{marginTop:33,marginRight:38},src:st,width:mt}))),Te={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Qe=ge(94184),we=ge.n(Qe),Me=ge(96486),Ge=Object.defineProperty,Ve=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,et=(lt,st,mt)=>st in lt?Ge(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,Re=(lt,st)=>{for(var mt in st||(st={}))Ne.call(st,mt)&&et(lt,mt,st[mt]);if(Ve)for(var mt of Ve(st))ct.call(st,mt)&&et(lt,mt,st[mt]);return lt},Fe=({dataSource:lt=[],value:st,onChange:mt,onTitleChange:Ft,className:Ln,title:Zn,titleWidth:zt=41,style:mn={},fontColor:jn="#6A7283",showCount:Yn,classNameActive:bn,styleItem:rn={}})=>{const[Jn,it]=(0,re.useState)(0),[qt,Vt]=(0,re.useState)(!1),Zt=(0,re.useRef)(null),Fn=(0,re.useRef)(null);return(0,re.useEffect)(()=>{var kn;lt.length!==0&&(((kn=Zt==null?void 0:Zt.current)==null?void 0:kn.clientHeight)>97?it(1):it(0)),lt.length===0&&it(0),Vt(!1)},[lt]),re.createElement("div",{className:we()(Te.row,Ln),style:mn},re.createElement("div",{onClick:(0,Me.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:zt,marginTop:qt?12:4},className:`${Te.title} ${Ft?"current":""}`},Zn),re.createElement("div",{className:qt?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},re.createElement("div",{className:Te.bar,ref:Fn,style:Jn>0?{height:Jn===1?97:"auto",overflow:Jn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},re.createElement("div",{className:Te.tag,ref:Zt},lt==null?void 0:lt.map(kn=>re.createElement("span",{onClick:()=>mt(kn.id),key:kn.id,style:Re(Re({color:jn},rn),(kn==null?void 0:kn.style)||{}),className:st===kn.id?we()(bn||Te.active,kn.classNameActive):""},re.createElement("span",{title:kn.name,className:Te.name},kn.name),!!Yn&&re.createElement("span",{className:Te.num},kn.count))))),!!Jn&&re.createElement(re.Fragment,null,Jn===1?re.createElement("div",{onClick:()=>{var kn;it(2),((kn=Zt==null?void 0:Zt.current)==null?void 0:kn.clientHeight)>245?Vt(!0):Vt(!1)},className:Te.action},"\u5C55\u5F00",re.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):re.createElement("div",{onClick:()=>{Fn.current.scrollTop=0,it(1),Vt(!1)},className:Te.action},"\u6536\u8D77",re.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ze={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},Ye=({dataSource:lt=[],value:st,onChange:mt,onTitleChange:Ft,className:Ln,title:Zn,titleWidth:zt=41,style:mn={},fontColor:jn="#6A7283",showCount:Yn,expand:bn=!0})=>{const[rn,Jn]=(0,re.useState)(0),[it,qt]=(0,re.useState)(!1),Vt=(0,re.useRef)(null),Zt=(0,re.useRef)(null),[Fn,kn]=(0,re.useState)(bn);return re.createElement("div",{className:we()(ze.row,Ln),style:mn},re.createElement("div",{className:"flex item-center justify-between"},re.createElement("div",{onClick:(0,Me.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:zt,marginTop:it?12:4},className:`${ze.title} ${Ft?"current":""}`},Zn),re.createElement("i",{className:`iconfont ${Fn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Fn?8:10},onClick:()=>kn(!Fn)})),Fn&&re.createElement("div",{className:it?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},re.createElement("div",{className:ze.fenge}),re.createElement("div",{className:ze.bar,ref:Zt},re.createElement("div",{className:ze.tag,ref:Vt},lt==null?void 0:lt.map(ki=>re.createElement("span",{onClick:()=>mt(ki.id),key:ki.id,style:{color:jn},className:st===ki.id?ze.active:""},re.createElement("span",{title:ki.name,className:ze.name},ki.name),!!Yn&&re.createElement("span",{className:ze.num},ki.count)))))))},ut={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},xt=({dataSource:lt=[],value:st,onChange:mt,onTitleChange:Ft,className:Ln,title:Zn,titleWidth:zt=41,style:mn={},fontColor:jn="#fff",showCount:Yn,expand:bn=!0})=>{const[rn,Jn]=(0,re.useState)(0),[it,qt]=(0,re.useState)(!1),Vt=(0,re.useRef)(null),Zt=(0,re.useRef)(null),[Fn,kn]=(0,re.useState)(bn);return re.createElement("div",{className:we()(ut.row,Ln),style:mn},re.createElement("div",{className:"flex item-center justify-between"},re.createElement("div",{onClick:(0,Me.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:zt},className:`${ut.title} ${Ft?"current":""}`},Zn),re.createElement("i",{className:`iconfont ${Fn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Fn?"#00DDC7":"#037F74",fontSize:Fn?10:12},onClick:()=>kn(!Fn)})),Fn&&re.createElement("div",{className:it?`${ut.tagsWrap} ${ut.tagsBorderWrap}`:ut.tagsWrap},re.createElement("div",{className:ut.bar,ref:Zt},re.createElement("div",{className:ut.tag,ref:Vt},lt==null?void 0:lt.map(ki=>re.createElement("span",{onClick:()=>mt(ki.id),key:ki.id,style:{color:jn},className:st===ki.id?ut.active:""},re.createElement("span",{title:ki.name,className:ut.name},ki.name),!!Yn&&re.createElement("span",{className:ut.num},ki.count)))))))},yt=ge(78311),_t={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Jt=ge(69677),Bt=({dataSource:lt=[],value:st="",onChange:mt,onInputChange:Ft=()=>{},className:Ln,style:Zn={},placeholder:zt,allowClear:mn=!1})=>{var jn;const[Yn,bn]=(0,re.useState)(""),[rn,Jn]=(0,re.useState)("");(0,re.useEffect)(()=>{var Vt;let Zt=st;(Vt=JSON.stringify(st))!=null&&Vt.includes("{")&&(bn(st.id),Zt=st.value||"");try{Jn(decodeURIComponent(Zt||""))}catch(Fn){Jn(decodeURIComponent(Zt||""))}},[st]);const it=()=>{mt(encodeURIComponent(rn),Yn||null)},qt=Vt=>{Vt!==Yn&&(bn(Vt),mt(encodeURIComponent(rn),Vt))};return re.createElement("div",{className:we()(_t.input,Ln),style:Zn},!!lt.length&&re.createElement("div",{className:_t.dropdown},re.createElement("div",{className:_t.text},(jn=lt.find(Vt=>Vt.id===Yn))==null?void 0:jn.name,re.createElement("i",{className:"iconfont icon-zhankai4"}),re.createElement("b",{className:_t.b1}),re.createElement("b",{className:_t.b2})),re.createElement("div",{className:_t.menu},lt.map((Vt,Zt)=>re.createElement("div",{key:Zt,onClick:()=>qt(Vt.id)},Vt.name)))),re.createElement(Jt.default,{onPressEnter:it,value:rn,onChange:Vt=>{Jn(Vt.target.value),Ft(encodeURIComponent(Vt.target.value),Yn||null)},bordered:!1,placeholder:zt}),re.createElement("i",{onClick:it,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Je={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},pt=({dataSource:lt=[],value:st="",onChange:mt,onInputChange:Ft=()=>{},className:Ln,style:Zn={},placeholder:zt,allowClear:mn=!1})=>{var jn;const[Yn,bn]=(0,re.useState)(""),[rn,Jn]=(0,re.useState)("");(0,re.useEffect)(()=>{var Vt;let Zt=st;(Vt=JSON.stringify(st))!=null&&Vt.includes("{")&&(bn(st.id),Zt=st.value||"");try{Jn(decodeURIComponent(Zt||""))}catch(Fn){Jn(decodeURIComponent(Zt||""))}},[st]);const it=()=>{mt(encodeURIComponent(rn),Yn||null)},qt=Vt=>{Vt!==Yn&&(bn(Vt),mt(encodeURIComponent(rn),Vt))};return re.createElement("div",{className:we()(Je.input,Ln),style:Zn},!!lt.length&&re.createElement("div",{className:Je.dropdown},re.createElement("div",{className:Je.text},(jn=lt.find(Vt=>Vt.id===Yn))==null?void 0:jn.name,re.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),re.createElement("div",{className:Je.menu},lt.map((Vt,Zt)=>re.createElement("div",{key:Zt,onClick:()=>qt(Vt.id)},Vt.name)))),re.createElement(Jt.default,{onPressEnter:it,value:rn,onChange:Vt=>{Jn(Vt.target.value),Ft(encodeURIComponent(Vt.target.value),Yn||null)},bordered:!1,placeholder:zt}),re.createElement("i",{onClick:it,className:"iconfont icon-sousuo9 font14 pl10 current"}))},jt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},gn=({value:lt,onChange:st,className:mt,total:Ft,pageSize:Ln,style:Zn={}})=>{const zt=lt<2,mn=lt>=Math.ceil(Ft/Ln);return Ft<=Ln?re.createElement(re.Fragment,null):re.createElement("div",{className:we()(jt.quickPager,mt),style:Zn},re.createElement("div",{onClick:()=>{zt||st(lt-1,"prev")},className:zt?jt.disabled:""},"\u4E0A\u4E00\u9875"),re.createElement("div",{onClick:()=>{mn||st(lt+1,"next")},className:mn?jt.disabled:""},"\u4E0B\u4E00\u9875"))},Tn={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},$n=ge(57953),ke=ge(83062),xe=ge(12604),$e=ge(11320),ht=ge(28706),kt=ge(96908),rt=ge(57177),Ue=ge(81378),Ct=ge(26194),Et=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,trackEventItems:mn,loading:jn})=>{const Yn=Math.floor((zt-(mt-1)*Ft)/mt);return re.createElement($n.Z,{spinning:jn},re.createElement("div",{className:we()(Tn.list,lt)},!!st.length&&st.map((bn,rn)=>{const{name:Jn,id:it,identifier:qt,power:Vt,cover_image_id:Zt,pic:Fn}=bn;return re.createElement("div",{className:Tn.wrap,key:it,style:{width:Yn,marginRight:(1+rn)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{target:"_blank",href:`/shixuns/${qt}/challenges`,className:Tn.li,onClick:kn=>{kn.preventDefault(),mn&&(0,ht.L9)([mn]),Vt&&(0,ht.xg)(`/shixuns/${qt}/challenges`)}},re.createElement("div",{className:Tn.img},re.createElement("img",{className:Tn.cover,src:`${Fn}`}),bn.is_jupyter&&re.createElement("img",{className:Tn.sign,src:kt}),bn.is_jupyter_lab&&re.createElement("img",{className:Tn.sign,src:rt}),bn.is_unity_3d&&re.createElement("img",{className:Tn.sign,src:Ue})),re.createElement("div",{className:Tn.name},re.createElement(ke.Z,{title:Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:Tn.e},Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{className:Tn.tags},re.createElement(ke.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),re.createElement("span",null,bn.challenges_count))),!!bn.myshixuns_count&&re.createElement(ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),re.createElement("span",null,bn.myshixuns_count))),re.createElement(ke.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},re.createElement("span",null,re.createElement("span",null,bn.level))),re.createElement("div",{className:Tn.rate},re.createElement(xe.Z,{allowHalf:!0,disabled:!0,defaultValue:bn.score_info}),re.createElement("span",null,"\xA0",bn.score_info?`${bn.score_info}\u5206`:"5\u5206")))),!Vt&&re.createElement("div",{className:Tn.lockWrap},re.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!st.length&&re.createElement(Ct.Z,null)))},Nt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},vn=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,wrapClassName:mn,trackEventItems:jn,loading:Yn})=>{const bn=Math.floor((zt-(mt-1)*Ft)/mt);return re.createElement($n.Z,{spinning:Yn},re.createElement("div",{className:we()(Nt.list,lt)},!!st.length&&st.map((rn,Jn)=>{const{name:it,id:qt,identifier:Vt,power:Zt,cover_image_id:Fn,pic:kn}=rn;return re.createElement("div",{className:we()(Nt.wrap,mn),key:qt,style:{width:bn,marginRight:(1+Jn)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{target:"_blank",href:`/shixuns/${Vt}/challenges`,className:Nt.li,onClick:ki=>{ki.preventDefault(),jn&&(0,ht.L9)([jn]),Zt&&(0,ht.xg)(`/shixuns/${Vt}/challenges`)}},re.createElement("img",{src:ge(79633),className:Nt.titleBg}),re.createElement("div",{className:Nt.name},re.createElement(ke.Z,{title:it||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:Nt.e},it||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{style:{padding:"14px",paddingBottom:0}},re.createElement("div",{className:Nt.img},re.createElement("img",{className:Nt.cover,src:Fn?`${$e.Z.API_SERVER}/api/attachments/${Fn}`:`${$e.Z.IMG_SERVER+kn}`}),rn.is_jupyter&&re.createElement("div",{className:Nt.bq},"Jupyter"),rn.is_jupyter_lab&&re.createElement("div",{className:Nt.bq},"JupyterLab"),rn.is_unity_3d&&re.createElement("div",{className:Nt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),re.createElement("div",{className:"mt20 flex item-center justify-between"},re.createElement("div",null,re.createElement("span",{className:Nt.text},"\u5B66\u4E60\u4EBA\u6570"),re.createElement("span",{className:Nt.value},rn.myshixuns_count)),re.createElement("div",null,re.createElement("span",{className:Nt.text},"\u56F0\u96BE\u7B49\u7EA7"),re.createElement("span",{className:Nt.value},rn.level))),re.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},re.createElement("div",null,re.createElement("span",{className:Nt.text},"\u5173\u5361\u6570"),re.createElement("span",{className:Nt.value},rn.challenges_count)),re.createElement("div",{className:Nt.rate},re.createElement(xe.Z,{allowHalf:!0,disabled:!0,defaultValue:rn.score_info}),re.createElement("span",{className:Nt.value,style:{color:"#FF9C00"}},"\xA0",rn.score_info?`${rn.score_info}\u5206`:"5\u5206"))))),!Zt&&re.createElement("div",{className:Nt.lockWrap},re.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!st.length&&re.createElement(Ct.Z,null)))},En={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsH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Aeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",me=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,trackEventItems:mn,loading:jn,wrapClassName:Yn,imgClassName:bn})=>{const rn=Math.floor((zt-(mt-1)*Ft)/mt);return re.createElement($n.Z,{spinning:jn},re.createElement("div",{className:we()(En.list,lt)},!!st.length&&st.map((Jn,it)=>{const{name:qt,id:Vt,identifier:Zt,power:Fn,cover_image_id:kn,pic:ki}=Jn;return re.createElement("div",{className:we()(En.wrap,Yn),key:Vt,style:{width:rn,marginRight:(1+it)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{target:"_blank",href:`/shixuns/${Zt}/challenges`,className:En.li,onClick:tr=>{tr.preventDefault(),mn&&(0,ht.L9)([mn]),Fn&&(0,ht.xg)(`/shixuns/${Zt}/challenges`)}},re.createElement("div",{className:we()(En.img,bn)},re.createElement("img",{className:En.cover,src:kn?`${$e.Z.API_SERVER}/api/attachments/${kn}`:`${$e.Z.IMG_SERVER+ki}`}),Jn.is_jupyter&&re.createElement("img",{className:En.sign,src:Ee}),Jn.is_jupyter_lab&&re.createElement("img",{className:En.sign,src:de}),Jn.is_unity_3d&&re.createElement("img",{className:En.sign,src:le})),re.createElement("div",{className:En.name},re.createElement(ke.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:En.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{className:En.tags},re.createElement(ke.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),re.createElement("span",null,Jn.challenges_count))),!!Jn.myshixuns_count&&re.createElement(ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),re.createElement("span",null,Jn.myshixuns_count))),re.createElement(ke.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},re.createElement("span",null,re.createElement("span",null,Jn.level))),re.createElement("div",{className:En.rate},re.createElement(xe.Z,{allowHalf:!0,disabled:!0,defaultValue:Jn.score_info}),re.createElement("span",null,"\xA0",Jn.score_info?`${Jn.score_info}\u5206`:"5\u5206")))),!Fn&&re.createElement("div",{className:En.lockWrap},re.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!st.length&&re.createElement(Ct.Z,null)))},ue=ge(5476),Ie={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},tt=ge(79005),Lt=ge(20345),Pt=ge(77882),en=ge(31081),dn=ge(75309),Qt=ge(71979),zn=ge(47558),Ei=ge(60345),It=ge(66832),Bn=ge(96593),Sr=ge(19664),Wi=ge(91833),Mi=Object.defineProperty,di=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,or=(lt,st,mt)=>st in lt?Mi(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,Zi=(lt,st)=>{for(var mt in st||(st={}))oo.call(st,mt)&&or(lt,mt,st[mt]);if(di)for(var mt of di(st))pr.call(st,mt)&&or(lt,mt,st[mt]);return lt};const qa=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:tt,swimg:Lt},{name:"101\u8BA1\u5212",ptimg:Pt,swimg:en},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:dn,swimg:Qt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:zn,swimg:Ei},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:It,swimg:Bn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Sr,swimg:Wi}];var Ka=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,trackEventItems:mn,loading:jn,wrapClassName:Yn,imgClassName:bn,isArrow:rn=!1,imgStyle:Jn={}})=>{const it=Math.floor((zt-(mt-1)*Ft)/mt),[qt,Vt]=(0,re.useState)(),[Zt,Fn]=(0,re.useState)(),kn=tr=>Vt(tr),ki=()=>Vt(-1);return re.createElement($n.Z,{spinning:jn},re.createElement("div",{className:we()(Ie.list,lt)},!!(st!=null&&st.length)&&(st==null?void 0:st.map((tr,at)=>{var nr;const{name:Hr,id:wr,identifier:Gr,featured:Fr,school_name:Ar,image_url:va,excellent:hr,is_plan:$r}=tr;return re.createElement("div",{key:wr,className:we()(Ie.wrap,Yn),style:{width:it,marginRight:(1+at)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{target:"_blank",href:`/paths/${Gr}`,className:Ie.li,onClick:Sa=>{Sa.preventDefault(),mn&&(0,ht.L9)([mn]),(0,ht.xg)(`/paths/${Gr}`)}},re.createElement("img",{src:ge(39057),className:Ie.titleBg}),re.createElement("div",{className:Ie.name},re.createElement(ke.Z,{title:Hr},re.createElement("span",{className:Ie.e,style:{color:rn&&qt===at?"#145DFF":"#000000"},onMouseEnter:()=>{kn(at)},onMouseLeave:ki},Hr))),re.createElement("div",{style:{padding:"14px",paddingBottom:0}},re.createElement("div",{className:we()(Ie.img,bn)},re.createElement("img",{className:Ie.cover,style:Zi({},Jn),src:`${$e.Z.IMG_SERVER+va}`}),(nr=tr==null?void 0:tr.subject_tags)==null?void 0:nr.map((Sa,Fa)=>{var ya,bo;if(Fa===0){const Zo=(ya=qa.find(Xe=>Xe.name==Sa))==null?void 0:ya.swimg;return re.createElement("img",{className:Ie.sign,src:Zo,style:{left:"-4px"}})}const qi=(bo=qa.find(Zo=>Zo.name==Sa))==null?void 0:bo.ptimg;return re.createElement("img",{className:Ie.sign,src:qi,style:{left:`${48+52*(Fa-1)+2*Fa}px`}})}),re.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(tr==null?void 0:tr.excellent)&&re.createElement("div",{className:Ie.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},re.createElement("div",null,re.createElement("span",{className:Ie.text},"\u7AE0\u8282\u6570"),re.createElement("span",{className:Ie.value},tr.stages_count)),re.createElement("div",null,re.createElement("span",{className:Ie.text},"\u5B66\u4E60\u4EBA\u6570"),re.createElement("span",{className:Ie.value},tr.members_count))))))})),!st.length&&re.createElement(Ct.Z,null)))},cr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ki=ge(52262),Ui=ge(67294);const hs=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:tt,swimg:Lt},{name:"101\u8BA1\u5212",ptimg:Pt,swimg:en},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:dn,swimg:Qt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:zn,swimg:Ei},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:It,swimg:Bn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Sr,swimg:Wi}];var Ao=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,trackEventItems:mn,loading:jn,onRemove:Yn=()=>{},isCurrent:bn=!0,showAlias:rn=!1,wrapClassName:Jn,imgClassName:it})=>{const qt=Math.floor((zt-(mt-1)*Ft)/mt),Vt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Zt=>(window.ENV==="build"&&(Zt.ptimg=`/react/build${Zt.ptimg}`,Zt.swimg=`/react/build${Zt.swimg}`),Zt));return Ui.createElement($n.Z,{spinning:jn},Ui.createElement("div",{className:we()(cr.list,lt)},!!(st!=null&&st.length)&&(st==null?void 0:st.map((Zt,Fn)=>{var kn;const{name:ki,id:tr,identifier:at,featured:nr,school_name:Hr,image_url:wr,excellent:Gr,is_plan:Fr}=Zt;return Ui.createElement("div",{key:tr,className:we()(cr.wrap,Jn),style:{width:qt,marginRight:(1+Fn)%mt===0?0:Ft+Zn,marginBottom:Ln}},Ui.createElement("a",{className:cr.li,onClick:Ar=>{Ar.preventDefault(),Ar.stopPropagation(),mn&&(0,ht.L9)([mn]),(0,ht.xg)(`/paths/${at}`)}},Ui.createElement("div",{className:we()(cr.img,it)},Ui.createElement("img",{className:cr.cover,src:`${$e.Z.IMG_SERVER+wr}`}),bn&&(0,Ki.bg)()&&(Zt==null?void 0:Zt.studying)&&Ui.createElement("div",{className:`${cr.movebq} user-path-items`,onClick:Ar=>{Ar.stopPropagation(),Yn(Zt)}},Ui.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ui.createElement("span",{className:"c-red"},"\u79FB\u9664")),(kn=Zt==null?void 0:Zt.subject_tags)==null?void 0:kn.map((Ar,va)=>{var hr,$r;if(va===0){const Fa=(hr=Vt.find(ya=>ya.name==Ar))==null?void 0:hr.swimg;return Ui.createElement("img",{className:cr.sign,src:Fa,style:{left:"-4px"}})}const Sa=($r=Vt.find(Fa=>Fa.name==Ar))==null?void 0:$r.ptimg;return Ui.createElement("img",{className:cr.sign,src:Sa,style:{left:`${48+52*(va-1)+2*va}px`}})}),Ui.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Zt==null?void 0:Zt.excellent)&&Ui.createElement("div",{className:cr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ui.createElement("div",{className:cr.name},Ui.createElement(ke.Z,{title:rn&&(Zt!=null&&Zt.excellent_alias_name)?Ui.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ki}`,Ui.createElement("br",null),Ui.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Zt==null?void 0:Zt.excellent_alias_name}`)):ki},Ui.createElement("span",{className:cr.e},rn&&(Zt==null?void 0:Zt.excellent_alias_name)||ki))),Ui.createElement("div",{className:cr.tags},Ui.createElement("div",null,Ui.createElement(ke.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ui.createElement("span",null,Ui.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ui.createElement("span",null,Zt.stages_count))),Ui.createElement(ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ui.createElement("span",null,Ui.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ui.createElement("span",null,Zt.members_count)))))))})),!st.length&&Ui.createElement(Ct.Z,null)))},yr={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},si="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiD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2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ni=ge(67294),mo=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,trackEventItems:mn,loading:jn})=>{const Yn=Math.floor((zt-(mt-1)*Ft)/mt);return Ni.createElement($n.Z,{spinning:jn},Ni.createElement("div",{className:we()(yr.list,lt)},!!st.length&&st.map((bn,rn)=>{const{subject_identifier:Jn,id:it,identifier:qt,power:Vt}=bn,Zt=bn.is_public!=0&&bn.is_public;return Ni.createElement("div",{className:yr.wrap,key:it,style:{width:Yn,marginRight:(1+rn)%mt===0?0:Ft+Zn,marginBottom:Ln}},Ni.createElement("a",{className:yr.li,onClick:Fn=>{Fn.preventDefault(),mn&&(0,ht.L9)([mn]),(0,ht.xg)(bn.first_category_url)}},Ni.createElement("div",{className:yr.top},Ni.createElement(ke.Z,{title:bn.name},Ni.createElement("div",{className:yr.name},bn.name)),Ni.createElement("img",{className:yr.img,src:$e.Z.IMG_SERVER+"/images/"+bn.avatar_url}),Ni.createElement("div",{className:yr.text,title:bn.creator},bn.creator),Jn&&Ni.createElement("div",{className:yr.btns},Ni.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ni.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Zt&&Ni.createElement("div",{className:yr.sign},"\u516C\u5F00")),Ni.createElement("div",{className:yr.bottom},bn.visits>0&&Ni.createElement(ke.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ni.createElement("span",null,Ni.createElement("i",{className:"iconfont icon-liulanyan"}),Ni.createElement("span",null,bn.visits))),bn.course_members_count>0&&Ni.createElement(ke.Z,{title:"\u6210\u5458",placement:"bottom"},Ni.createElement("span",null,Ni.createElement("i",{className:"iconfont icon-chengyuan"}),bn.course_members_count)),bn.tasks_count>0&&Ni.createElement(ke.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ni.createElement("span",null,Ni.createElement("i",{className:"iconfont icon-zuoye"}),bn.tasks_count)),bn.is_end?Ni.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ni.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!bn.is_accessible&&Ni.createElement("div",{className:yr.lockWrap},Ni.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ni.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!st.length&&Ni.createElement(Ct.Z,null)))},Ii={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZ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6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",qn=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,wrapClassName:mn,trackEventItems:jn,loading:Yn})=>{const bn=Math.floor((zt-(mt-1)*Ft)/mt);return re.createElement($n.Z,{spinning:Yn},re.createElement("div",{className:we()(Ii.list,lt)},!!st.length&&st.map((rn,Jn)=>{const{subject_identifier:it,id:qt,identifier:Vt,power:Zt}=rn,Fn=rn.is_public!=0&&rn.is_public;return re.createElement("div",{className:we()(`${Ii.wrap} ${rn.is_accessible?"":Ii.warpStyle}`,mn),key:qt,style:{width:bn,marginRight:(1+Jn)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{className:Ii.li,onClick:kn=>{kn.preventDefault(),jn&&(0,ht.L9)([jn]),(0,ht.xg)(rn.first_category_url)}},re.createElement("div",{className:Ii.creator},re.createElement("img",{className:Ii.img,src:$e.Z.IMG_SERVER+"/images/"+rn.avatar_url}),re.createElement("div",{className:Ii.text,title:rn.creator},rn.creator)),re.createElement("div",{className:Ii.top},re.createElement(ke.Z,{title:rn.name},re.createElement("div",{className:Ii.name},rn.name)),Fn&&re.createElement("div",{className:Ii.sign},"\u516C\u5F00")),re.createElement("div",{className:Ii.middle},re.createElement("div",{className:Ii.row,style:{marginBottom:6}},re.createElement("div",null,re.createElement("span",{className:Ii.text},"\u8BBF\u95EE\u91CF"),re.createElement("span",{className:Ii.value},(rn==null?void 0:rn.visits)||0)),re.createElement("div",null,re.createElement("span",{className:Ii.text},"\u6210\u5458"),re.createElement("span",{className:Ii.value},(rn==null?void 0:rn.course_members_count)||0))),re.createElement("div",{className:Ii.row},re.createElement("div",null,re.createElement("span",{className:Ii.text,style:{width:42}},"\u4F5C",re.createElement("span",{style:{marginLeft:14}},"\u4E1A")),re.createElement("span",{className:Ii.value},(rn==null?void 0:rn.tasks_count)||0)),re.createElement("div",null,re.createElement("span",{className:Ii.text},"\u72B6\u6001"),rn.is_end?re.createElement("span",{className:Ii.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):re.createElement("span",{className:Ii.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),it&&re.createElement("div",{className:Ii.btns},re.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),re.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!rn.is_accessible&&re.createElement("div",{className:Ii.lockWrap},re.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!st.length&&re.createElement(Ct.Z,null)))},In={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Xn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8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dHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Yi=({className:lt,dataSource:st=[],col:mt=4,right:Ft,bottom:Ln=23,precision:Zn=0,wrapWidth:zt=1200,wrapClassName:mn,trackEventItems:jn,loading:Yn})=>{const bn=Math.floor((zt-(mt-1)*Ft)/mt);return re.createElement($n.Z,{spinning:Yn},re.createElement("div",{className:we()(In.list,lt)},!!st.length&&st.map((rn,Jn)=>{const{subject_identifier:it,id:qt,identifier:Vt,power:Zt}=rn,Fn=rn.is_public!=0&&rn.is_public;return re.createElement("div",{className:we()(`${In.wrap} ${rn.is_accessible?"":In.warpStyle}`,mn),key:qt,style:{width:bn,marginRight:(1+Jn)%mt===0?0:Ft+Zn,marginBottom:Ln}},re.createElement("a",{className:In.li,onClick:kn=>{kn.preventDefault(),jn&&(0,ht.L9)([jn]),(0,ht.xg)(rn.first_category_url)}},re.createElement("div",{className:In.creator},re.createElement("img",{className:In.img,src:$e.Z.IMG_SERVER+"/images/"+rn.avatar_url}),re.createElement("div",{className:In.text,title:rn.creator},rn.creator)),re.createElement("div",{className:In.top},re.createElement(ke.Z,{title:rn.name},re.createElement("div",{className:In.name},rn.name)),Fn&&re.createElement("div",{className:In.sign})),re.createElement("div",{className:In.middle},re.createElement("div",{className:In.row,style:{marginBottom:6}},re.createElement("div",null,re.createElement("span",{className:In.text},"\u8BBF\u95EE\u91CF"),re.createElement("span",{className:In.value},(rn==null?void 0:rn.visits)||0)),re.createElement("div",null,re.createElement("span",{className:In.text},"\u6210\u5458"),re.createElement("span",{className:In.value},(rn==null?void 0:rn.course_members_count)||0))),re.createElement("div",{className:In.row},re.createElement("div",null,re.createElement("span",{className:In.text,style:{width:42}},"\u4F5C",re.createElement("span",{style:{marginLeft:14}},"\u4E1A")),re.createElement("span",{className:In.value},(rn==null?void 0:rn.tasks_count)||0)),re.createElement("div",null,re.createElement("span",{className:In.text},"\u72B6\u6001"),rn.is_end?re.createElement("span",{className:In.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):re.createElement("span",{className:In.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),it&&re.createElement("div",{className:In.btns},re.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),re.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!rn.is_accessible&&re.createElement("div",{className:In.lockWrap},re.createElement("img",{src:`${$e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!st.length&&re.createElement(Ct.Z,null)))},sr={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},dr=ge(35973),xr=({dataSource:lt=[],value:st,onChange:mt,className:Ft,style:Ln={},tabBarExtraContent:Zn})=>re.createElement("div",{className:we()(sr.tabs,Ft),style:Ln},re.createElement("div",{className:sr.tabsWrap},lt.map((zt,mn)=>re.createElement("aside",{className:sr.tab,onClick:()=>{mt(zt.id),zt.link&&dr.history.push(zt.link)},key:mn},re.createElement("div",{className:st===zt.id?sr.active:""},zt.name),(zt==null?void 0:zt.resetCount)==null&&(zt==null?void 0:zt.total)!==void 0&&re.createElement("span",null,"\uFF08",zt==null?void 0:zt.total,"\uFF09"),(zt==null?void 0:zt.resetCount)!==void 0&&(zt==null?void 0:zt.total)!==void 0&&re.createElement(ke.Z,{title:(zt==null?void 0:zt.tip)!=null?zt==null?void 0:zt.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},zt==null?void 0:zt.resetCount),"/",re.createElement("span",null,zt==null?void 0:zt.total),"\uFF09"))))),re.createElement("div",{className:sr.tabBar},Zn)),wi={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Dr=({dataSource:lt=[],value:st,onChange:mt,className:Ft,style:Ln={},tabBarExtraContent:Zn})=>re.createElement("div",{className:we()(wi.tabs,Ft),style:Ln},re.createElement("div",{className:wi.tabsWrap},lt.map((zt,mn)=>re.createElement("aside",{className:wi.tab,onClick:()=>{mt(zt.id),zt.link&&dr.history.push(zt.link)},key:mn},re.createElement("div",{className:st===zt.id?wi.active:""},zt.name),(zt==null?void 0:zt.resetCount)==null&&(zt==null?void 0:zt.total)!==void 0&&re.createElement("span",null,"\uFF08",zt==null?void 0:zt.total,"\uFF09"),(zt==null?void 0:zt.resetCount)!==void 0&&(zt==null?void 0:zt.total)!==void 0&&re.createElement(ke.Z,{title:(zt==null?void 0:zt.tip)!=null?zt==null?void 0:zt.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},zt==null?void 0:zt.resetCount),"/",re.createElement("span",null,zt==null?void 0:zt.total),"\uFF09"))))),re.createElement("div",{className:wi.tabBar},Zn)),Ti={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Fi=({dataSource:lt=[],value:st,onChange:mt,className:Ft,style:Ln={},tabBarExtraContent:Zn})=>re.createElement("div",{className:we()(Ti.tabs,Ft),style:Ln},re.createElement("div",{className:Ti.tabsWrap},lt.map((zt,mn)=>re.createElement("aside",{className:`${Ti.tab} ${st===zt.id?Ti.active:""}`,onClick:()=>{mt(zt.id),zt.link&&dr.history.push(zt.link)},key:mn},re.createElement("div",null,zt.name),(zt==null?void 0:zt.resetCount)==null&&(zt==null?void 0:zt.total)!==void 0&&re.createElement("span",null,"\uFF08",zt==null?void 0:zt.total,"\uFF09"),(zt==null?void 0:zt.resetCount)!==void 0&&(zt==null?void 0:zt.total)!==void 0&&re.createElement(ke.Z,{title:(zt==null?void 0:zt.tip)!=null?zt==null?void 0:zt.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},zt==null?void 0:zt.resetCount),"/",re.createElement("span",null,zt==null?void 0:zt.total),"\uFF09"))))),re.createElement("div",{className:Ti.tabBar},Zn)),Xr=({className:lt,style:st={},children:mt})=>re.createElement("div",{className:we()(lt),style:st},mt),mr={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},an=ge(85418),li=ge(68508);const Fo=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var go=({sortValue:lt,dropValue:st,className:mt,onSort:Ft,onDrop:Ln,dataSource:Zn=Fo})=>{var zt;return re.createElement("div",{className:we()(mr.orderWrap,mt)},re.createElement(an.Z,{dropdownRender:()=>re.createElement(li.default,null,Zn.map((mn,jn)=>re.createElement(li.default.Item,{key:jn,onClick:()=>Ln(mn.id)},mn.name)))},re.createElement("span",{className:mr.orderTextWrap},(zt=Zn.find(mn=>st===mn.id))==null?void 0:zt.name)),re.createElement("span",{className:mr.orderIconWrap},re.createElement("span",{className:mr.orderAsc},re.createElement("i",{className:lt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer}`,onClick:()=>Ft(lt==="asc"?"desc":"asc")})),re.createElement("span",{className:mr.orderDesc},re.createElement("i",{className:lt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer}`,onClick:()=>Ft(lt==="asc"?"desc":"asc")}))))},Lr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Eo=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var jr=({sortValue:lt,dropValue:st,className:mt,onSort:Ft,onDrop:Ln,dataSource:Zn=Eo})=>{var zt;return re.createElement("div",{className:we()(Lr.orderWrap,mt)},re.createElement(an.Z,{dropdownRender:()=>re.createElement(li.default,null,Zn.map((mn,jn)=>re.createElement(li.default.Item,{key:jn,onClick:()=>Ln(mn.id)},mn.name)))},re.createElement("span",{className:Lr.orderTextWrap},(zt=Zn.find(mn=>st===mn.id))==null?void 0:zt.name)),re.createElement("span",{className:Lr.orderIconWrap},re.createElement("span",{className:Lr.orderAsc},re.createElement("i",{className:lt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Lr.cursorPointer} ${Lr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Lr.cursorPointer}`,onClick:()=>Ft(lt==="asc"?"desc":"asc")})),re.createElement("span",{className:Lr.orderDesc},re.createElement("i",{className:lt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Lr.cursorPointer} ${Lr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Lr.cursorPointer}`,onClick:()=>Ft(lt==="asc"?"desc":"asc")}))))},ln={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},sa=ge(71577),Br=ge(52810),Xa=Object.defineProperty,la=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,ns=(lt,st,mt)=>st in lt?Xa(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,Tr=(lt,st)=>{for(var mt in st||(st={}))Ea.call(st,mt)&&ns(lt,mt,st[mt]);if(la)for(var mt of la(st))ua.call(st,mt)&&ns(lt,mt,st[mt]);return lt},ca=(lt,st)=>{var mt={};for(var Ft in lt)Ea.call(lt,Ft)&&st.indexOf(Ft)<0&&(mt[Ft]=lt[Ft]);if(lt!=null&&la)for(var Ft of la(lt))st.indexOf(Ft)<0&&ua.call(lt,Ft)&&(mt[Ft]=lt[Ft]);return mt},$a=(lt,st,mt)=>new Promise((Ft,Ln)=>{var Zn=jn=>{try{mn(mt.next(jn))}catch(Yn){Ln(Yn)}},zt=jn=>{try{mn(mt.throw(jn))}catch(Yn){Ln(Yn)}},mn=jn=>jn.done?Ft(jn.value):Promise.resolve(jn.value).then(Zn,zt);mn((mt=mt.apply(lt,st)).next())}),Vo=lt=>{var st=lt,{className:mt,style:Ft,children:Ln,loading:Zn=!1,openLoading:zt,onClick:mn=()=>{},size:jn="middle",shape:Yn="round",theme:bn}=st,rn=ca(st,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Jn,it]=(0,re.useState)(!1),qt=(0,re.useMemo)(()=>{switch(bn){case Br.Fy.THEMEONE:return ln.ThemeOne;case Br.Fy.DEFAULT:default:return ln.btn}},[bn]);return re.createElement(sa.ZP,Tr({onClick:(0,Me.throttle)(Vt=>$a(void 0,null,function*(){zt&&it(!0);try{yield mn(Vt)}catch(Zt){console.log("error",Zt)}zt&&it(!1)}),2e3,{leading:!0,trailing:!1}),className:we()(qt,ln[`${jn}-${Yn}`],mt),style:Ft,size:jn,shape:Yn,loading:Jn||Zn},rn),Ln)},Po={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Mo=({className:lt,style:st,children:mt=null,onClick:Ft,title:Ln})=>re.createElement("div",{className:we()(Po.head,lt),style:st},re.createElement("span",{className:"primary-hover",onClick:Ft},re.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),re.createElement("b",{title:Ln},Ln),re.createElement("div",{className:Po.node},mt)),Rr={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},is=({confirmShow:lt=!0,confirmTitle:st,confirmClick:mt,cancelShow:Ft=!0,cancelTitle:Ln,cancelClick:Zn,className:zt,style:mn,confirmLoading:jn=!1})=>re.createElement("div",{className:we()(Rr.btns,zt),style:mn},lt&&re.createElement(sa.ZP,{loading:jn,onClick:mt,type:"primary",className:Rr.confirm},st),Ft&&re.createElement(sa.ZP,{onClick:Zn,className:Rr.cancel},Ln)),Ua={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ia=({className:lt,style:st={},LeftContent:mt,children:Ft,RightContent:Ln})=>re.createElement("div",{className:we()(Ua.fixedBottom,lt),style:st},re.createElement("div",{className:Ua.wrap},re.createElement("div",{className:Ua.left},mt),re.createElement("div",{className:Ua.center},Ft),re.createElement("div",{className:Ua.right},Ln))),So={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},so=({className:lt,style:st={},dataSource:mt=[]})=>re.createElement("div",{className:we()(So.crumbs,lt),style:st},mt.map((Ft,Ln)=>Ln<mt.length-1?re.createElement(re.Fragment,{key:Ln},Ft.path||Ft.onClick?re.createElement("span",{className:So.hover,onClick:Ft!=null&&Ft.onClick?Ft.onClick:()=>dr.history.push(Ft.path)},Ft.name):re.createElement("span",null,Ft.name),re.createElement("span",null,"\xA0",">","\xA0")):re.createElement("span",{key:Ln,style:{color:"#5F6368"}},Ft.name))),vo=ge(55054),Ma=Object.defineProperty,lo=Object.defineProperties,da=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,fa=(lt,st,mt)=>st in lt?Ma(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,Se=(lt,st)=>{for(var mt in st||(st={}))yo.call(st,mt)&&fa(lt,mt,st[mt]);if(ha)for(var mt of ha(st))ia.call(st,mt)&&fa(lt,mt,st[mt]);return lt},Be=(lt,st)=>lo(lt,da(st)),gt=(lt,st)=>{var mt={};for(var Ft in lt)yo.call(lt,Ft)&&st.indexOf(Ft)<0&&(mt[Ft]=lt[Ft]);if(lt!=null&&ha)for(var Ft of ha(lt))st.indexOf(Ft)<0&&ia.call(lt,Ft)&&(mt[Ft]=lt[Ft]);return mt};const{Countdown:Mt}=vo.default;var Kt=lt=>{var st=lt,{onChange:mt}=st,Ft=gt(st,["onChange"]);const[Ln,Zn]=(0,re.useState)(null);(0,re.useEffect)(()=>{typeof Ln=="number"&&Ln>=0&&mt(Ln)},[Ln]);const zt=mn=>{const jn=Math.floor(mn/1e3);Zn(jn)};return re.createElement(Mt,Be(Se({},Ft),{onChange:zt}))},wn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ii=({DataProps:lt,className:st,style:mt={}})=>{var Ft;return re.createElement("div",{className:we()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",wn.ClassRoomItem,st),style:mt,onClick:()=>{(0,ht.xg)(lt==null?void 0:lt.first_category_url)}},re.createElement("div",{className:"flex flex-col item-center"},re.createElement("img",{src:`${(Ft=$e.Z)==null?void 0:Ft.IMG_SERVER}/images/${lt==null?void 0:lt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(lt==null?void 0:lt.subject_identifier)&&re.createElement("div",{className:"mt-40px"},re.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),re.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),re.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},re.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(lt!=null&&lt.is_public)&&re.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),re.createElement("span",{className:we()("text-16px font-medium",wn.TitleDom)},lt==null?void 0:lt.name)),re.createElement("div",{className:"c-grey-333 font-medium"},lt==null?void 0:lt.creator),re.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",lt==null?void 0:lt.course_members_count),re.createElement("div",{className:"c-grey-333 flex item-center justify-between"},re.createElement("div",null,"\u4F5C\u4E1A\uFF1A",lt==null?void 0:lt.tasks_count),lt!=null&&lt.is_end?re.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):re.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ai=Object.defineProperty,Si=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Gt=(lt,st,mt)=>st in lt?ai(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,on=(lt,st)=>{for(var mt in st||(st={}))Hn.call(st,mt)&&Gt(lt,mt,st[mt]);if(Si)for(var mt of Si(st))Xt.call(st,mt)&&Gt(lt,mt,st[mt]);return lt},ei=({DataProps:lt=[],selectValue:st,onChange:mt,className:Ft,style:Ln={},extra:Zn,classNameItem:zt,styleItem:mn={},barHidden:jn})=>{const[Yn,bn]=(0,re.useState)();return(0,re.useEffect)(()=>{bn(Array.isArray(st)?st:[st])},[st]),re.createElement("div",{className:we()("flex px-20px py-10px gap-40px",Ft),style:on({borderBottom:"1px solid #D3F0FF"},Ln)},lt==null?void 0:lt.map(rn=>re.createElement("div",{key:rn==null?void 0:rn.id,className:we()("flex item-center justify-center current c-grey-333 text-16 relative",zt,rn==null?void 0:rn.className),style:on(on({color:Yn!=null&&Yn.includes(rn==null?void 0:rn.id)?"#1890FF":"",minWidth:88},mn),(rn==null?void 0:rn.style)||{}),onClick:Jn=>{mt==null||mt({domEvent:Jn,item:rn}),rn!=null&&rn.link&&dr.history.push(rn==null?void 0:rn.link)}},rn==null?void 0:rn.name,!jn&&(Yn==null?void 0:Yn.includes(rn==null?void 0:rn.id))&&re.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),re.createElement("div",{className:"ml-auto"},Zn))},mi=Object.defineProperty,hi=Object.defineProperties,ri=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,zi=(lt,st,mt)=>st in lt?mi(lt,st,{enumerable:!0,configurable:!0,writable:!0,value:mt}):lt[st]=mt,Ji=(lt,st)=>{for(var mt in st||(st={}))vi.call(st,mt)&&zi(lt,mt,st[mt]);if(Ci)for(var mt of Ci(st))Ri.call(st,mt)&&zi(lt,mt,st[mt]);return lt},Oi=(lt,st)=>hi(lt,ri(st)),gr=({value:lt,onChange:st,onInputChange:mt,className:Ft,style:Ln={},InputProps:Zn})=>{const[zt,mn]=(0,re.useState)(lt);return re.createElement("div",{className:we()("flex item-center rounded-full px-10px py-2px",Ft),style:Ji({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Ln)},re.createElement(Jt.default,Oi(Ji({bordered:!1},Zn),{onChange:jn=>{mn(jn.target.value),mt==null||mt(encodeURIComponent(jn.target.value))},onPressEnter:jn=>{st==null||st({domEvent:jn,item:{value:zt}})}})),re.createElement("img",{className:"h-22px current",src:ge(25365),height:22,onClick:jn=>{st==null||st({domEvent:jn,item:{value:zt}})}}))}},99914:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return ot}});var re=ge(67294);function ot(Ke,nt){const Pe=(0,re.useRef)();(0,re.useEffect)(()=>{Pe.current=Ke}),(0,re.useEffect)(()=>{function Te(){Pe.current()}if(nt!==null){let Qe=setInterval(Te,nt);return()=>clearInterval(Qe)}},[nt])}},8047:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return je}});var re=ge(22150),ot=ge(14446),Ke=ge(71230),nt=ge(15746),Pe=ge(69677),Te=ge(31795),Qe=ge(2453),we=ge(84567),Me=ge(67294),Ge=ge(35973),Ve={form_item_warp:"form_item_warp___jRcx8",lable_name1:"lable_name1___NOUD6",h_lh_40:"h_lh_40___murfL",config_title:"config_title___Pz2EP"},Ne=ge(28706),ct=ge(67294),et=(Fe,ze,ft)=>new Promise((Ye,ut)=>{var vt=_t=>{try{yt(ft.next(_t))}catch(Jt){ut(Jt)}},xt=_t=>{try{yt(ft.throw(_t))}catch(Jt){ut(Jt)}},yt=_t=>_t.done?Ye(_t.value):Promise.resolve(_t.value).then(vt,xt);yt((ft=ft.apply(Fe,ze)).next())});const Re=({shixunHomeworks:Fe,loading:ze,dispatch:ft,getData:Ye})=>{var ut,vt;const{ai_review_settings:xt}=Fe==null?void 0:Fe.studentWorkDetail,[yt]=re.default.useForm(),_t=[{name:"\u683C\u5F0F\u89C4\u8303",content:"\u4F5C\u4E1A\u7B26\u5408\u63D0\u4EA4\u8981\u6C42\uFF08\u547D\u540D\u3001\u683C\u5F0F\u3001\u9644\u4EF6\u5B8C\u6574\uFF09\uFF0C\u6587\u6863\u7ED3\u6784\u6E05\u6670\uFF0C\u8BED\u8A00\u8868\u8FBE\u51C6\u786E",weight:10},{name:"\u903B\u8F91\u4E25\u8C28",content:"\u8BBA\u8FF0\u6E05\u6670\uFF0C\u5185\u5BB9\u8FDE\u8D2F\uFF0C\u8BBA\u8BC1\u5408\u7406\uFF0C\u6709\u5145\u5206\u7684\u6570\u636E\u6216\u7406\u8BBA\u652F\u6491",weight:20},{name:"\u5185\u5BB9\u5B8C\u6574",content:"\u8986\u76D6\u6240\u6709\u8981\u6C42\u7684\u5185\u5BB9\uFF0C\u5206\u6790\u6DF1\u5165\uFF0C\u5305\u542B\u5B9E\u9A8C\u73B0\u8C61\u3001\u6570\u636E\u548C\u7ED3\u8BBA",weight:60},{name:"\u521B\u65B0\u4E0E\u601D\u8003",content:"\u63D0\u51FA\u4E2A\u4EBA\u89C1\u89E3\u6216\u6539\u8FDB\u5EFA\u8BAE\uFF0C\u5BF9\u5B9E\u9A8C\u7ED3\u679C\u6216\u95EE\u9898\u6709\u53CD\u601D\u4E0E\u603B\u7ED3",weight:10}];(0,Me.useEffect)(()=>{var Bt;((Bt=Fe.actionTabs)==null?void 0:Bt.key)==="\u667A\u80FD\u8BC4\u9605\u914D\u7F6E"&&yt.setFieldsValue({ai_review_settings:(xt==null?void 0:xt.length)>0?xt:_t,update_ai_review_settings:!1})},[(ut=Fe.actionTabs)==null?void 0:ut.key]);const Jt=()=>{ft({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},Tt=()=>et(void 0,null,function*(){var Bt;const Je=yt.getFieldValue("ai_review_settings");if(!(0,Ne.BR)(Je))return;const pt=yt.getFieldsValue();(Bt=Fe.actionTabs)==null||Bt.onOk(pt),Jt()});return ct.createElement(ot.default,{width:1150,centered:!0,title:"\u667A\u80FD\u8BC4\u9605",open:((vt=Fe.actionTabs)==null?void 0:vt.key)==="\u667A\u80FD\u8BC4\u9605\u914D\u7F6E",destroyOnClose:!0,onCancel:()=>Jt(),okText:"\u5F00\u59CB\u8BC4\u9605",onOk:()=>Tt(),bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"}},ct.createElement("div",{className:`${Ve.config_title}`},"\u8BC4\u5206\u6807\u51C6"),ct.createElement(re.default,{form:yt,colon:!1},ct.createElement("div",{className:Ve.form_item_warp},ct.createElement(re.default.List,{name:"ai_review_settings"},(Bt,{add:Je,remove:Ot})=>Bt.map((pt,jt)=>{var dt;return ct.createElement(Ke.Z,{key:pt.key,style:{padding:"5px 14px 5px 30px"}},ct.createElement(nt.Z,{className:Ve.lable_name1},"\u8BC4\u5206\u9879\u76EE"),ct.createElement(nt.Z,null,ct.createElement(re.default.Item,{className:"ml10",name:[pt.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},ct.createElement(Pe.default,{onChange:gn=>{yt.setFieldValue([pt.name,"content"],gn.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:164},maxLength:10,className:"mr20"}))),ct.createElement(nt.Z,{className:Ve.lable_name1},"\u8BC4\u5206\u6807\u51C6"),ct.createElement(nt.Z,null,ct.createElement(re.default.Item,{className:"ml10",name:[pt.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},ct.createElement(Pe.default,{onChange:gn=>{yt.setFieldValue([pt.name,"content"],gn.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:467},className:"mr20",maxLength:500}))),ct.createElement(nt.Z,{className:Ve.lable_name1},"\u6743\u91CD"),ct.createElement(nt.Z,null,ct.createElement(re.default.Item,{className:"ml10",name:[pt.name,"weight"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6743\u91CD"}]},ct.createElement(Te.Z,{onChange:gn=>{Number.isInteger(gn)||yt.setFieldValue([pt.name,"weight"],parseFloat(gn).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"134px"}}))),ct.createElement(Ke.Z,{className:(dt=Ve)==null?void 0:dt.h_lh_40},ct.createElement(nt.Z,null,ct.createElement("i",{className:"iconfont icon-tianjiatimu ml20 current",style:{color:"#00B187"},onClick:()=>{if(Bt.length>=10)return Qe.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Je()}})),jt>0&&ct.createElement(nt.Z,null,ct.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{Ot(pt.name)}}))))}))),ct.createElement(re.default.Item,{name:"update_ai_review_settings",valuePropName:"checked"},ct.createElement(we.default,{style:{color:"#000"}},"\u5C06\u5F53\u524D\u8BC4\u5206\u6807\u51C6\u5E94\u7528\u4E8E\u6574\u4EFD\u4F5C\u4E1A",ct.createElement("span",{style:{color:"#666"}},"\uFF08\u9009\u4E2D\u540E\uFF0C\u5C06\u66FF\u6362\u667A\u80FD\u8BC4\u9605\u7684\u8BC4\u5206\u6807\u51C6\uFF1B\u672A\u9009\u4E2D\uFF0C\u4EC5\u5BF9\u672C\u6B21\u667A\u80FD\u8BC4\u9605\u751F\u6548\uFF09")))))};var je=(0,Ge.connect)(({shixunHomeworks:Fe,loading:ze,user:ft})=>({shixunHomeworks:Fe,loading:ze.effects,user:ft}))(Re)},23372:function(wt,Wt,ge){"use strict";ge.r(Wt),ge.d(Wt,{default:function(){return Zo}});var re=ge(67294),ot=ge(35973),Ke=ge(22150),nt=ge(14446),Pe=ge(2453),Te=ge(71577),Qe=ge(85418),we=ge(83062),Me=ge(66368),Ge=ge(57953),Ve=ge(84567),Ne=ge(9430),ct=ge(69677),et=ge(71865),Re=ge(33170),je=ge(91304),Fe=ge(33054),ze=ge(91613),ft=ge(27484),Ye=ge.n(ft),ut=ge(11320),vt=ge(86763),xt=ge(31795),yt=Object.defineProperty,_t=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,Bt=(Xe,_e,Le)=>_e in Xe?yt(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Je=(Xe,_e)=>{for(var Le in _e||(_e={}))Jt.call(_e,Le)&&Bt(Xe,Le,_e[Le]);if(_t)for(var Le of _t(_e))Tt.call(_e,Le)&&Bt(Xe,Le,_e[Le]);return Xe},Ot=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())});const pt=({shixunHomeworks:Xe,dispatch:_e})=>{const Le=(0,ot.useParams)(),[Kn,ti]=(0,re.useState)(!0),[Di]=Ke.default.useForm();return re.createElement(re.Fragment,null,re.createElement(nt.default,{centered:!0,title:"\u8C03\u5206",open:Xe.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ot(void 0,null,function*(){yield Di.validateFields();const Qi=Di.getFieldsValue();(yield(0,Re.ZP)(`/api/student_works/${Xe.actionTabs.id}/adjust_score.json`,{method:"post",body:Je({},Qi)})).status===0&&(Pe.ZP.success("\u8BC4\u9605\u6210\u529F"),Di.resetFields(),_e({type:"shixunHomeworks/setActionTabs",payload:{}}),_e({type:"shixunHomeworks/getStudentWorkCommon",payload:Je({},Le)}))}),onCancel:()=>{_e({type:"shixunHomeworks/setActionTabs",payload:{}})}},re.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),re.createElement(Ke.default,{form:Di,layout:"horizontal"},re.createElement("div",{style:{display:"flex",alignItems:"baseline"}},re.createElement(Ke.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},re.createElement(xt.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),re.createElement("span",{className:"ml10"},"\u5206")),re.createElement("div",null,re.createElement(Ke.default.Item,{name:"comment"},re.createElement(ct.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var jt=(0,ot.connect)(({shixunHomeworks:Xe})=>({shixunHomeworks:Xe}))(pt),dt={flex_box_center:"flex_box_center___tMwax",flex_space_between:"flex_space_between___8GJsg",flex_box_vertical_center:"flex_box_vertical_center___IFELt",flex_box_center_end:"flex_box_center_end___IrFRG",flex_box_column:"flex_box_column___s0LgG",TabsStyle:"TabsStyle___r0bwM",bg:"bg___sFhaA",title:"title___bk4oD",nextComment:"nextComment___NmNBo",modal:"modal___tWPO8",MdEditor:"MdEditor___AAxeb",ratewarp:"ratewarp___NGrsd",item:"item___Le8W0",total:"total___MNh4V",a1:"a1___g1iJT",a2:"a2___h8k2X",a3:"a3___yk1km",export_type_modal_title:"export_type_modal_title___nMqX0",export_type_modal:"export_type_modal___dbFVU",export_type_modal_con:"export_type_modal_con___ujWeL",type_item:"type_item___oF9R5",type_item_active:"type_item_active___dfBaM",export_type_modal_waring:"export_type_modal_waring___k8RaP",ReviewStyle:"ReviewStyle___o5d5N",left_content:"left_content___Tdt77",left_title:"left_title___V11QV",see_work:"see_work___HAfMs",left_list:"left_list___sXmxX",list_title:"list_title___NmWRs",list_box:"list_box___nK01J",list_item:"list_item___rrWl_",item_img:"item_img___yMYSc",item_content:"item_content___ZJr_4",item_name:"item_name___PkA99",item_code:"item_code___g13cU",item_states:"item_states___Rwb1r",center_top:"center_top___hgoJF",center_top_title:"center_top_title___rVfnl",center_top_content:"center_top_content___Wfmlt",right_content:"right_content___nMMjC",right_form:"right_form___ahOzz",work_score:"work_score___sJRnv",work_img:"work_img___p6zO4",work_button:"work_button___NDoqh",pingyue:"pingyue___PDoT9",pingyue_title:"pingyue_title___Wsqbg",pingyue_score:"pingyue_score___kvMiC",pingyue_teacher_title:"pingyue_teacher_title___lyJ0m",top_content:"top_content___mJifP",top_content_img:"top_content_img___vbTWm",item_tags:"item_tags___K9Qrr",daochu:"daochu___WdJvT",foldClose:"foldClose___DQSiP",foldOpen:"foldOpen___J18go",ScoreDetailsBase:"ScoreDetailsBase___UG7u2",lastAdd:"lastAdd___T9F0p",btnAdd:"btnAdd___GCat1",buttonStyle:"buttonStyle___jWXWa",hiddenBar:"hiddenBar___ZRZYH",apply:"apply___WQ6t7"},gn=ge(35598),Tn=ge(96486),$n=ge(65866),ke=ge(67294),xe=Object.defineProperty,$e=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Ct=(Xe,_e,Le)=>_e in Xe?xe(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,fn=(Xe,_e)=>{for(var Le in _e||(_e={}))rt.call(_e,Le)&&Ct(Xe,Le,_e[Le]);if(kt)for(var Le of kt(_e))Ue.call(_e,Le)&&Ct(Xe,Le,_e[Le]);return Xe},Et=(Xe,_e)=>$e(Xe,ht(_e)),Nt=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())});const Rt=({classroomList:Xe,loading:_e,dispatch:Le,studentWorkDetail:Kn})=>{const ti=(0,ot.useParams)(),[Di]=Ke.default.useForm(),Qi=()=>Nt(void 0,null,function*(){var yi;yield Di.validateFields();const On=fn({},Di.getFieldValue()),{selectArrs:sn}=Xe.actionTabs;On.attachment_ids=(yi=On.attachment_ids)==null?void 0:yi.map(zr=>zr.response.id),(yield(0,vt.mz)(Et(fn({},On),{homeworkId:sn.work_id}))).status===0&&(Di.resetFields(),Le({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:fn({},Xe.actionTabs.params)}),Le({type:"classroomList/setActionTabs",payload:{}}))});return ke.createElement(nt.default,{centered:!0,title:"\u8865\u4EA4\u9644\u4EF6",open:Xe.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>Nt(void 0,null,function*(){if(Kn!=null&&Kn.can_submit){if(!(Kn!=null&&Kn.submit_size)){Pe.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}nt.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:ke.createElement(ke.Fragment,null,"\u4F60\u8FD8\u6709 ",ke.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},Kn==null?void 0:Kn.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{Qi()}});return}Qi()}),onCancel:()=>{Di.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}})}},ke.createElement(Ke.default,{form:Di,initialValues:{}},ke.createElement(Ke.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ke.createElement($n.Z,null)),ke.createElement(Ke.default.Item,{name:"description"},ke.createElement(ct.default.TextArea,{placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u8865\u4EA4\u9644\u4EF6\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26",rows:7}))))};var vn=(0,ot.connect)(({classroomList:Xe,loading:_e})=>({classroomList:Xe,loading:_e}))(Rt),En=ge(28706),Ee=ge(52262),de=ge(20076),le=ge(31865),ye=ge(9343),me=ge(26194),ue=ge(28812),Ie=ge(71230),tt=ge(15746),Lt=ge(26412),Pt={pinfen:"pinfen____hgN7",left:"left___ZyTXs",right:"right___OSPEM",tagStyleSzz:"tagStyleSzz___fzxbk",headpic:"headpic___d7fnl",new_style_box:"new_style_box___XOWhi",box_child:"box_child___uYxgt",box_item_top:"box_item_top___MohWv",yichang:"yichang___ppIPI",text_style:"text_style___V3FT_",text_style_red:"text_style_red___reUfY",btnWarp:"btnWarp___n5eYa",active:"active___JVU0m",feedbackSty:"feedbackSty___CeTDz"},en=ge(41307),dn=ge(1916),Qt=ge(49786),zn=Object.defineProperty,Ei=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Sr=(Xe,_e,Le)=>_e in Xe?zn(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Wi=(Xe,_e)=>{for(var Le in _e||(_e={}))It.call(_e,Le)&&Sr(Xe,Le,_e[Le]);if(Ei)for(var Le of Ei(_e))Bn.call(_e,Le)&&Sr(Xe,Le,_e[Le]);return Xe};const Mi=Xe=>React.createElement("svg",Wi({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u661F\u5F62"),React.createElement("path",{d:"m7 10.5-4.114 2.163.785-4.581L.343 4.837l4.6-.669L7 0l2.057 4.168 4.6.669-3.328 3.245.785 4.581z",fill:"#FA6400",fillRule:"evenodd"}));var di="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcgMTAuNS00LjExNCAyLjE2My43ODUtNC41ODFMLjM0MyA0LjgzN2w0LjYtLjY2OUw3IDBsMi4wNTcgNC4xNjggNC42LjY2OS0zLjMyOCAzLjI0NS43ODUgNC41ODF6IiBmaWxsPSIjRkE2NDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",oo=Object.defineProperty,pr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,qa=(Xe,_e,Le)=>_e in Xe?oo(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Wa=(Xe,_e)=>{for(var Le in _e||(_e={}))or.call(_e,Le)&&qa(Xe,Le,_e[Le]);if(pr)for(var Le of pr(_e))Zi.call(_e,Le)&&qa(Xe,Le,_e[Le]);return Xe};const Ka=Xe=>React.createElement("svg",Wa({width:16,height:14,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u62A5\u544A"),React.createElement("path",{d:"M3.629 14a2.38 2.38 0 0 1-2.373-2.373V4.311a.057.057 0 0 0-.06-.06H.564A.542.542 0 0 1 0 3.737V1.691C0 .76.81 0 1.81 0h8.868c.999 0 1.809.81 1.81 1.81v7.563a.057.057 0 0 0 .059.06h1.997a.557.557 0 0 1 .563.563v2.185a1.81 1.81 0 0 1-1.809 1.81L3.628 14Zm8.927-3.56a.057.057 0 0 0-.059.06v1.69a.81.81 0 0 0 1.622 0V10.5a.057.057 0 0 0-.06-.06h-1.503ZM2.314 4.252a.057.057 0 0 0-.06.06v7.306a1.377 1.377 0 0 0 1.375 1.375h7.959c.02 0 .04-.012.049-.03a.063.063 0 0 0 0-.06 1.814 1.814 0 0 1-.148-.721V1.819a.81.81 0 0 0-1.622 0v1.918a.536.536 0 0 1-.563.514h-6.99Zm-.505-3.243c-.445 0-.81.307-.81.683v1.502a.058.058 0 0 0 .059.06h7.741a.057.057 0 0 0 .06-.06V1.82c0-.248.05-.494.148-.722.01-.02 0-.04 0-.059a.054.054 0 0 0-.05-.03H1.81Zm2.314 9.462a.504.504 0 1 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Zm0-2.689a.504.504 0 0 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Z",fill:"#3061D0",fillRule:"nonzero"}));var cr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuNjI5IDE0YTIuMzggMi4zOCAwIDAgMS0yLjM3My0yLjM3M1Y0LjMxMWEuMDU3LjA1NyAwIDAgMC0uMDYtLjA2SC41NjRBLjU0Mi41NDIgMCAwIDEgMCAzLjczN1YxLjY5MUMwIC43Ni44MSAwIDEuODEgMGg4Ljg2OGMuOTk5IDAgMS44MDkuODEgMS44MSAxLjgxdjcuNTYzYS4wNTcuMDU3IDAgMCAwIC4wNTkuMDZoMS45OT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null?void 0:_e.teacher_score)>=0)return re.createElement(re.Fragment,null,"\u6559\u5E08\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.teacher_score));if(_e!=null&&_e.teaching_asistant_score&&(_e==null?void 0:_e.teaching_asistant_score)>=0)return re.createElement(re.Fragment,null,"\u52A9\u6559\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.teaching_asistant_score));if(_e!=null&&_e.student_score&&(_e==null?void 0:_e.student_score)>=0)return re.createElement(re.Fragment,null,"\u533F\u8BC4\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.student_score))};return re.createElement(re.Fragment,null,re.createElement("div",{className:`${dt.work_score} ${Kn}`},re.createElement("div",{style:{color:"#191919",fontWeight:600}},"\u4F5C\u4E1A\u5F97\u5206"),re.createElement("div",{className:dt.work_img},re.createElement("div",{style:{height:"40px",lineHeight:"50px",fontSize:"24px",color:"#009C0F",fontWeight:600}},(_e==null?void 0:_e.work_score)||"--",re.createElement("span",{style:{fontSize:"14px"}},"\u5206")),re.createElement("div",{style:{fontSize:"12px",color:"#666666"}},"\u6700\u7EC8\u6210\u7EE9")),re.createElement("img",{src:di}),re.createElement("div",{style:{marginLeft:"10px",flex:1,marginRight:"10px",fontSize:"12px"}},"\u8BA1\u7B97\u89C4\u5219",re.createElement(we.Z,{title:re.createElement("span",{className:"font12"},"\u5728\u591A\u9879\u8BC4\u5206\u5360\u6BD4\u8BBE\u7F6E\u4E2D\uFF0C\u82E5\u67D0\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5176\u5360\u6BD4\u5C06\u7531\u5176\u4ED6\u5DF2\u8BC4\u5206\u9879\u5E73\u5206\uFF1B\u82E5\u4E24\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5219\u552F\u4E00\u5DF2\u8BC4\u5206\u9879\u5C06\u5360100%\u7684\u6BD4\u91CD\u3002")},re.createElement("i",{className:"iconfont icon-tishixiaowenhao ml5 mr5 font12 c-grey-999 current",style:{lineHeight:"18px"}})),"=",_e!=null&&_e.final_mode?ti():re.createElement(re.Fragment,null,"\u6559\u5E08\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},(_e==null?void 0:_e.teacher_score)||"--","*",_e==null?void 0:_e.te_proportion),"+\u52A9\u6559\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},(_e==null?void 0:_e.teaching_asistant_score)||"--","*",_e==null?void 0:_e.ta_proportion),"+\u533F\u8BC4\u8BC4\u5206",re.createElement("span",{style:{color:"#CA7720"}},(_e==null?void 0:_e.student_score)||"--","*",_e==null?void 0:_e.st_proportion)),"-\u6263\u5206\u9879 (\u8865\u4EA4\u6263\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.late_penalty),"+\u67E5\u91CD\u6263\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.repeat_minus_score),"+\u7F3A\u8BC4\u6263\u5206",re.createElement("span",{style:{color:"#CA7720"}},_e==null?void 0:_e.absence_penalty),")"),Le&&re.createElement("div",{className:dt.work_button,onClick:()=>{Xe({key:"\u5F97\u5206\u8BE6\u60C5"})}},re.createElement("img",{src:cr,style:{marginRight:"5px"}}),"\u67E5\u770B\u5F97\u5206\u8BE6\u60C5")))};var Ui=(0,ot.connect)(({shixunHomeworks:Xe})=>({shixunHomeworks:Xe}))(Ki),hs=ge(8047),ts=Object.defineProperty,Ao=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,si=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,mo=(Xe,_e,Le)=>_e in Xe?ts(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Ii=(Xe,_e)=>{for(var Le in _e||(_e={}))Ni.call(_e,Le)&&mo(Xe,Le,_e[Le]);if(si)for(var Le of si(_e))Ms.call(_e,Le)&&mo(Xe,Le,_e[Le]);return Xe},Qr=(Xe,_e)=>Ao(Xe,yr(_e)),ga=(Xe,_e)=>{var Le={};for(var Kn in Xe)Ni.call(Xe,Kn)&&_e.indexOf(Kn)<0&&(Le[Kn]=Xe[Kn]);if(Xe!=null&&si)for(var Kn of si(Xe))_e.indexOf(Kn)<0&&Ms.call(Xe,Kn)&&(Le[Kn]=Xe[Kn]);return Le},qn=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())});const In=({shixunHomeworks:Xe,loading:_e,user:Le,globalSetting:Kn})=>({shixunHomeworks:Xe,loading:_e.effects,user:Le,globalSetting:Kn}),Xn=Xe=>{var _e=Xe,{ModalProps:Le={},shixunHomeworks:Kn,user:ti}=_e,Di=ga(_e,["ModalProps","shixunHomeworks","user"]),Qi,yi;const[On]=Ke.default.useForm(),sn=(0,ot.useParams)(),{userInfo:Qn={}}=ti,[,zr,uo,Li]=(0,ye.U)(vt.Yn,{homeworkId:sn==null?void 0:sn.userId}),[,Xi,ea,ba]=(0,ye.U)(vt.Am,{homeworkId:sn==null?void 0:sn.userId}),[,eo,Oa]=(0,ye.U)(vt.QC,{userId:sn==null?void 0:sn.userId}),[Cr,Pa]=(0,re.useState)({page:1,limit:10}),[Wr,$i]=(0,re.useState)(!1),_r=[{title:"\u8BC4\u9605\u4EBA\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:100,render:gi=>re.createElement(we.Z,{title:gi},re.createElement("span",null,gi))},{title:"\u8BC4\u5206",dataIndex:"score",width:80},{title:"\u8BC4\u8BED",dataIndex:"content",ellipsis:!0,render:gi=>re.createElement(we.Z,{title:gi},re.createElement("span",null,gi))},{title:"\u63D0\u4EA4\u4F5C\u4E1A\u7248\u672C",dataIndex:"student_work_num",width:110,render:(gi,Bi)=>{var vr;return re.createElement("a",{style:{color:gi===((vr=Li==null?void 0:Li.data)==null?void 0:vr.max_student_work_num)?"#1B8565":"#FA6400"},target:"_blank",href:`/classrooms/${sn==null?void 0:sn.coursesId}/common_homework/${sn==null?void 0:sn.categoryId}/review/${Bi==null?void 0:Bi.student_work_id}?history_id=${Bi==null?void 0:Bi.history_id}`},"\u7B2C ",gi," \u6B21")}},{title:"\u64CD\u4F5C",dataIndex:"comment_id",width:150,render:(gi,Bi)=>re.createElement("div",{className:"flex item-center gap-20px"},(Bi==null?void 0:Bi.user_login)===(Qn==null?void 0:Qn.login)&&re.createElement("a",{onClick:()=>{var vr;On.setFieldsValue(Qr(Ii({},Bi),{comment:Bi==null?void 0:Bi.content,score_details:((vr=Bi==null?void 0:Bi.score_details)==null?void 0:vr.map(ir=>Ii({},ir)))||[]})),$i(!0)}},"\u7F16\u8F91"),re.createElement("a",{target:"_blank",href:`/classrooms/${sn==null?void 0:sn.coursesId}/common_homework/${sn==null?void 0:sn.categoryId}/review/${Bi==null?void 0:Bi.student_work_id}?history_id=${Bi==null?void 0:Bi.history_id}`},"\u67E5\u770B"),(Bi==null?void 0:Bi.user_login)===(Qn==null?void 0:Qn.login)&&re.createElement("a",{className:"current-delete-hover",onClick:()=>{xo(Bi)}},"\u5220\u9664"))}],xo=(gi={})=>{nt.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>qn(void 0,null,function*(){(yield Oa({score_id:gi==null?void 0:gi.comment_id})).status===0&&(Pe.ZP.success("\u5220\u9664\u6210\u529F"),Pa({page:1,limit:10}),$i(!1))})})};return(0,re.useEffect)(()=>{Le!=null&&Le.open&&uo(Ii({homeworkId:sn==null?void 0:sn.userId},Cr))},[Cr,Le==null?void 0:Le.open]),re.createElement(re.Fragment,null,re.createElement(nt.default,Ii({},Ii({title:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",centered:!0,width:800},Le)),re.createElement(Ne.default,{className:"mt10",loading:zr,columns:_r,locale:{emptyText:re.createElement(me.Z,null)},dataSource:((Qi=Li==null?void 0:Li.data)==null?void 0:Qi.list)||[],pagination:{hideOnSinglePage:!0,total:((yi=Li==null?void 0:Li.data)==null?void 0:yi.size)||0,onChange:(gi,Bi)=>{Pa(Qr(Ii({},Cr),{page:gi,limit:Bi}))},current:Cr==null?void 0:Cr.page,pageSize:Cr==null?void 0:Cr.limit,showTotal:gi=>re.createElement(re.Fragment,null,"\u5171",re.createElement("span",{className:"ml5 mr5 c-blue"},gi),"\u6761\u6570\u636E")}})),re.createElement(br,{FormProps:{form:On,onFinish:(...gi)=>qn(void 0,[...gi],function*(Bi={}){const vr=yield ea(Qr(Ii({},Bi),{homeworkId:sn==null?void 0:sn.userId}));(vr==null?void 0:vr.status)===0&&(Pe.ZP.success("\u4FEE\u6539\u6210\u529F"),Pa({page:1,limit:10}),$i(!1))})},ModalProps:{open:Wr,onCancel:()=>{$i(!1)},onOk:()=>{On.submit()},confirmLoading:Xi}}))},Vi=(0,ot.connect)(In)(Xn),Yi=Xe=>{var _e=Xe,{FormProps:Le,DataProps:Kn={},isShowStyles:ti=!0,shixunHomeworks:Di,dispatch:Qi}=_e,yi=ga(_e,["FormProps","DataProps","isShowStyles","shixunHomeworks","dispatch"]);const[On]=Ke.default.useForm(),{form:sn=On}=Le,{studentWorkDetail:Qn,workDetail:zr}=Di,uo=(0,ot.useParams)(),Li=Ke.default.useWatch("comment",sn),Xi=Ke.default.useWatch("score",sn),ea=Ke.default.useWatch("score_details",sn),[ba,eo]=nt.default.useModal(),[Oa,Cr]=(0,re.useState)(!1),[Pa,Wr]=(0,re.useState)(!1),$i=(0,re.useRef)({});(0,re.useEffect)(()=>{var gi;!(Qn!=null&&Qn.single_score)&&(ea==null?void 0:ea.length)>0&&sn.setFieldsValue({score:(gi=ea||[])==null?void 0:gi.reduce((Bi,vr)=>(0,En.EN)(Bi,vr.score||0,"+"),0)})},[ea]);const _r=gi=>qn(void 0,null,function*(){const{mes:Bi,setChatData:vr,setTyping:ir}=gi,Er=yield(0,Re.ZP)("/api/intelligent_reviews/large_model_intelligent_qa.json",{method:"post",body:Ii({query:Bi,student_work_id:uo.userId},$i.current)});Er.answer=(Er==null?void 0:Er.status)==-3?Er.message:Er==null?void 0:Er.answer,Er!=null&&Er.answer&&vr(ta=>[...ta].map((Gi,bi)=>bi===ta.length-1?Qr(Ii({},Gi),{text:Er==null?void 0:Er.answer,loading:!1,response:Er}):Gi))}),xo=({chatData:gi,setChatData:Bi,setLoading:vr,getData:ir,renderChatItems:Er})=>{Qi({type:"shixunHomeworks/setActionTabs",payload:{key:"\u667A\u80FD\u8BC4\u9605\u914D\u7F6E",onOk:ta=>{$i.current=ta,Wr(!0),vr(!0);const Gi=Er();Gi[0].show=!1,Bi(Gi),ir()}}})};return re.createElement(re.Fragment,null,eo,re.createElement(Ke.default.Item,{hidden:!0,name:"score_id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),!(Kn!=null&&Kn.disabledScore)&&re.createElement(re.Fragment,null,Qn!=null&&Qn.single_score?re.createElement(Ke.default.Item,{className:dt.ReviewStyle,name:"score",rules:[{required:!(0,Ee.GJ)(),message:"\u8BF7\u586B\u5199\u5206\u6570"}],label:re.createElement("div",{className:"w-full flex justify-between item-center"},re.createElement("span",null,"\u8BC4\u5206"),(zr==null?void 0:zr.is_open_ai_review)&&re.createElement(Qt.Z,{title:"\u667A\u80FD\u8BC4\u9605",visible:Pa,onOpen:xo,onClose:()=>{Wr(!1)},loadingOption:{text:"AI\u8BC4\u9605\u4E2D..."},hideUpload:!0,showDefaultTips:!1,hideInputBox:!0,customRequest:_r,extraAnswerAction:gi=>{var Bi;return!gi.loading&&![-1,-3].includes((Bi=gi==null?void 0:gi.response)==null?void 0:Bi.status)&&re.createElement("div",{className:dt.apply,onClick:()=>{const vr=()=>{var ir,Er;sn.setFieldsValue({score:(ir=gi==null?void 0:gi.response)==null?void 0:ir.score,comment:(Er=gi==null?void 0:gi.response)==null?void 0:Er.remarks}),Wr(!1)};if(Xi||Li){ba.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u5206\u6216\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4E00\u952E\u5E94\u7528\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u5E94\u7528\uFF1F",okText:"\u5E94\u7528",onOk:vr});return}vr()}},re.createElement("i",{style:{color:"#3061D0"},className:"iconfont icon-yijianyingyong1 font12 mr5"}),"\u4E00\u952E\u5E94\u7528")}},re.createElement(Te.ZP,{icon:re.createElement("img",{src:ge(11689)}),type:"link"},"\u667A\u80FD\u8BC4\u9605")))},re.createElement(xt.Z,{className:"w-full",step:.1,min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570",addonAfter:"\u5206"})):re.createElement("div",{className:ti?"gap-10px":"gap-20px mb20",style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))"}},re.createElement(Ke.default.List,{name:"score_details"},(gi,{add:Bi,remove:vr})=>re.createElement(re.Fragment,null,gi.map(ir=>re.createElement("div",{key:ir.key,className:ti?"pt10 pb10 p20":"",style:{background:ti&&"#F6F7F9"}},re.createElement("div",{className:"flex justify-between mb10"},re.createElement("div",{className:"multi_ellipsis1"},sn.getFieldValue(["score_details",ir.name,"name"])),re.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206",sn.getFieldValue(["score_details",ir.name,"full_score"]),"\u5206\uFF09")),re.createElement(Ke.default.Item,{className:"mb0",name:[ir.name,"score"],rules:sn.getFieldValue(["score_details",ir.name,"isAllScore"])?null:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},re.createElement(xt.Z,{className:"w-full",stringMode:!0,min:0,max:sn.getFieldValue(["score_details",ir.name,"full_score"]),placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"})))))),re.createElement("div",{key:"allScore",className:ti?"pt10 pb10 p20":"",style:{background:ti&&"#F6F7F9"}},re.createElement("div",{className:"flex justify-between mb10"},re.createElement("div",{className:"multi_ellipsis1 c-blue"},"\u7EFC\u5408\u5F97\u5206"),re.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206100\u5206\uFF09")),re.createElement(Ke.default.Item,{className:"mb0",name:"score"},re.createElement(xt.Z,{className:"w-full",stringMode:!0,disabled:!0,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"}))))),re.createElement(Ke.default.Item,{name:"comment",className:dt.ReviewStyle,label:re.createElement("div",{className:"w-full flex justify-between item-center"},re.createElement("span",null,"\u8BC4\u8BED"),re.createElement(dn.Z,{isShowComponent:(0,Ee.G5)(),ModalProps:{open:Oa,onCancel:()=>{Cr(!1)}},onDataSelect:(gi,{node:Bi})=>{const vr=()=>{sn.setFieldsValue({comment:Bi==null?void 0:Bi.value}),Cr(!1)};if(Li){ba.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:vr});return}vr()}},re.createElement(Te.ZP,{style:{padding:0,height:"auto"},icon:re.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:gi=>{gi.stopPropagation(),Cr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))},re.createElement(en.h,{height:200,scrollId:"comment",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})),re.createElement(hs.Z,null))},sr=(0,ot.connect)(In)(Yi),dr=Xe=>{var _e=Xe,{ModalProps:Le={},DataProps:Kn={},shixunHomeworks:ti,FormProps:Di}=_e,Qi=ga(_e,["ModalProps","DataProps","shixunHomeworks","FormProps"]);const{form:yi}=Di,{studentWorkDetail:On}=ti;return re.createElement(nt.default,Ii({},Ii({title:re.createElement(re.Fragment,null,"\u7F16\u8F91\u8BC4\u8BED",!(On!=null&&On.single_score)&&re.createElement("span",{className:"ml20 font16",style:{color:"#FA6400"}},"\u6CE8\u610F\uFF1A\u5F00\u542F\u591A\u7EF4\u5EA6\u8BC4\u5206")),centered:!0,width:On!=null&&On.single_score?662:1120},Le)),re.createElement(Ke.default,Ii({},Ii({size:"large",layout:"vertical"},Di)),re.createElement(sr,{FormProps:{form:yi},DataProps:Kn})))},br=(0,ot.connect)(In)(dr),xr=Xe=>{var _e=Xe,{ModalProps:Le={},DataProps:Kn={},shixunHomeworks:ti}=_e,Di=ga(_e,["ModalProps","DataProps","shixunHomeworks"]),Qi,yi,On;const{studentWorkDetail:sn}=ti,[Qn,zr]=(0,re.useState)({teacherList:[],assistantsList:[],anonymousCommentList:[]}),uo=(Li,Xi,ea="")=>({title:ea==="anonymous_comment"?re.createElement(we.Z,{title:(0,Ee.G5)()&&(Li==null?void 0:Li.name)},re.createElement("a",null,"\u533F\u540D")):Li==null?void 0:Li.name,dataIndex:`score${Xi}`,align:"center",render:(ba,eo,Oa)=>Oa===0?re.createElement(re.Fragment,null,ba,eo[`old_score${Xi}`]&&re.createElement("span",{style:{color:"#009C0F"}},"\uFF08\u6559\u5E08\u8865\u5206\uFF1A",eo[`old_score${Xi}`],"\uFF09")):re.createElement("div",{className:"flex item-center justify-center"},re.createElement("div",{style:{width:166}},ba==null?void 0:ba.map((Cr,Pa)=>re.createElement("div",{key:Pa,className:"flex justify-between"},Cr==null?void 0:Cr.name,re.createElement("span",{className:"ml5",style:{color:"#009C0F"}},Cr==null?void 0:Cr.score)))))});return(0,re.useEffect)(()=>{var Li,Xi,ea,ba,eo,Oa;if(sn&&(Le!=null&&Le.open)){const Cr=[{},{}],Pa=[{},{}],Wr=[{},{}];((Li=sn==null?void 0:sn.teacher_score_list)==null?void 0:Li.length)>0&&((Xi=sn==null?void 0:sn.teacher_score_list)==null||Xi.forEach(($i,_r)=>{Cr[0][`score${_r}`]=$i==null?void 0:$i.score,Cr[1][`score${_r}`]=$i==null?void 0:$i.user_score})),((ea=sn==null?void 0:sn.assistants_score_list)==null?void 0:ea.length)>0&&((ba=sn==null?void 0:sn.assistants_score_list)==null||ba.forEach(($i,_r)=>{Pa[0][`score${_r}`]=$i==null?void 0:$i.score,Pa[1][`score${_r}`]=$i==null?void 0:$i.user_score})),((eo=sn==null?void 0:sn.anonymous_comment_score_list)==null?void 0:eo.length)>0&&((Oa=sn==null?void 0:sn.anonymous_comment_score_list)==null||Oa.forEach(($i,_r)=>{$i!=null&&$i.old_score?(Wr[0][`score${_r}`]=$i==null?void 0:$i.old_score,Wr[0][`old_score${_r}`]=$i==null?void 0:$i.score):(Wr[0][`score${_r}`]=$i==null?void 0:$i.score,Wr[0][`old_score${_r}`]=$i==null?void 0:$i.old_score),Wr[1][`score${_r}`]=$i==null?void 0:$i.user_score})),zr({teacherList:sn!=null&&sn.single_score?[Cr[0]]:Cr,assistantsList:sn!=null&&sn.single_score?[Pa[0]]:Pa,anonymousCommentList:sn!=null&&sn.single_score?[Wr[0]]:Wr})}},[sn,Le==null?void 0:Le.open]),re.createElement(nt.default,Ii({},Ii({title:"\u5F97\u5206\u8BE6\u60C5",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},Le)),re.createElement(Ui,{className:"mt0",dataInfo:sn,isShowButton:!1}),re.createElement("div",{className:`${dt.ScoreDetailsBase} flex flex-col gap-20px`},((Qi=sn==null?void 0:sn.teacher_score_list)==null?void 0:Qi.length)>0&&re.createElement("div",{className:"flex"},re.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6559\u5E08\u8BC4\u5206"),re.createElement(Ne.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:Qn==null?void 0:Qn.teacherList,pagination:!1,scroll:{x:"max-content"},columns:[...((sn==null?void 0:sn.teacher_score_list)||[]).map((Li,Xi)=>uo(Li,Xi)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(sn==null?void 0:sn.teacher_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Li=>re.createElement("span",{style:{color:"#009C0F"}},sn==null?void 0:sn.teacher_score),onCell:(Li,Xi)=>({rowSpan:Xi%2==0?2:0})}]})),((yi=sn==null?void 0:sn.assistants_score_list)==null?void 0:yi.length)>0&&re.createElement("div",{className:"flex"},re.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u52A9\u6559\u8BC4\u5206"),re.createElement(Ne.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(Qn==null?void 0:Qn.assistantsList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((sn==null?void 0:sn.assistants_score_list)||[]).map((Li,Xi)=>uo(Li,Xi)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(sn==null?void 0:sn.ta_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Li=>re.createElement("span",{style:{color:"#009C0F"}},sn==null?void 0:sn.teaching_asistant_score),onCell:(Li,Xi)=>({rowSpan:Xi%2==0?2:0})}]})),(sn==null?void 0:sn.anonymous_comment)&&((On=sn==null?void 0:sn.anonymous_comment_score_list)==null?void 0:On.length)>0&&re.createElement("div",{className:"flex"},re.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u533F\u8BC4\u8BC4\u5206"),re.createElement(Ne.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(Qn==null?void 0:Qn.anonymousCommentList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((sn==null?void 0:sn.anonymous_comment_score_list)||[]).map((Li,Xi)=>uo(Li,Xi,"anonymous_comment")),{title:"\u6700\u7EC8\u5F97\u5206\uFF08\u53D6\u5E73\u5747\u5206\uFF09",dataIndex:"value",align:"center",width:224,fixed:"right",render:Li=>re.createElement("span",{style:{color:"#009C0F"}}," ",sn==null?void 0:sn.student_score),onCell:(Li,Xi)=>({rowSpan:Xi%2==0?2:0})}]})),re.createElement("div",{className:"flex"},re.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6263\u5206"),re.createElement(Ne.default,{className:" flex-1",bordered:!0,dataSource:[sn],pagination:!1,columns:[{title:"\u8865\u4EA4\u6263\u5206",dataIndex:"late_penalty",align:"center"},{title:"\u67E5\u91CD\u6263\u5206",dataIndex:"repeat_minus_score",align:"center"},(sn==null?void 0:sn.anonymous_comment)&&{title:"\u7F3A\u8BC4\u6263\u5206",dataIndex:"absence_penalty",align:"center"},{title:"\u8FDD\u8BC4\u6263\u5206",dataIndex:"appeal_penalty",align:"center"},{title:"\u6700\u7EC8\u6263\u5206",dataIndex:"value",align:"center",width:224,render:(Li,Xi)=>re.createElement("span",{style:{color:"#009C0F"}},((Xi==null?void 0:Xi.late_penalty)||0)+((Xi==null?void 0:Xi.repeat_minus_score)||0)+((Xi==null?void 0:Xi.absence_penalty)||0)+((Xi==null?void 0:Xi.appeal_penalty)||0))}].filter(Li=>Li)}))))},wi=(0,ot.connect)(In)(xr),_n=Xe=>{var _e=Xe,{ModalProps:Le={},DataProps:Kn={},shixunHomeworks:ti,dispatch:Di}=_e,Qi=ga(_e,["ModalProps","DataProps","shixunHomeworks","dispatch"]);const{workDetail:yi}=ti,On=(0,ot.useParams)();return re.createElement(nt.default,Ii({},Ii({title:"\u4F5C\u4E1A\u63CF\u8FF0",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},Le)),re.createElement(gn.Z,{className:"mt10",value:(yi==null?void 0:yi.description)||"\u6682\u65E0\uFF5E"}),re.createElement(ue.Z,{authority:(0,Ee.GJ)(),showDimensions:!1,dataSource:yi==null?void 0:yi.attachments,callback:()=>{Di({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:On.categoryId}})}}))},Dr=(0,ot.connect)(In)(_n);var Ti=Object.defineProperty,Ai=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Xr=(Xe,_e,Le)=>_e in Xe?Ti(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,mr=(Xe,_e)=>{for(var Le in _e||(_e={}))Fi.call(_e,Le)&&Xr(Xe,Le,_e[Le]);if(Ai)for(var Le of Ai(_e))Na.call(_e,Le)&&Xr(Xe,Le,_e[Le]);return Xe};const an=Xe=>React.createElement("svg",mr({width:13,height:12,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"4"),React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787ZM7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z",fill:"#FA6400",fillRule:"nonzero"}));var li="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNTczIDEuNzg3di4wMDZjLjAxOC4xMzUuMzI0IDIuMzk0IDIuMTQ2IDQuMDRDNi41OTcgNy41MyA5LjQ4MSA3LjY2IDkuNDgxIDcuNjZoLjAwM2MuMDg0LjAwMSAxLjk4NS4wNyAzLjAzNSAzLjE2LjAzMy4wOTYuMDc0LjIzMi4xMjMuNDA3YS41ODMuNTgzIDAgMCAxLS41NjMuNzM5SDMuNTc4YS41ODMuNTgzIDAgMCAxLS41ODQtLjU5MmMuMDI1LTEuNzMyLS4xMTUtMi45Ny0uNDIxLTMuNzE0QzIuMDU3IDYuNDA1LjczNSA1LjM5Mi4wMzggMi4xODNjLS4wNC0uMTg4LS4yNDYtMS40MS45OTctMS41NzhDMi4yNzcuNDM3IDIuNTczIDEuNzg3IDIuNTczIDEuNzg3Wk03Ljg3Ni4wMDdjMS42MTEgMCAyLjkxNyAxLjM3MSAyLjkxNyAzLjA2MyAwIDEuNjktMS4zMDYgMy4wNjItMi45MTcgMy4wNjItMS42MTEgMC0yLjkxNy0xLjM3LTIuOTE3LTMuMDYyQzQuOTYgMS4zNzkgNi4yNjUuMDA3IDcuODc2LjAwN1oiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Fo=Object.defineProperty,Oo=Object.getOwnPropertySymbols,go=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Eo=(Xe,_e,Le)=>_e in Xe?Fo(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,pi=(Xe,_e)=>{for(var Le in _e||(_e={}))go.call(_e,Le)&&Eo(Xe,Le,_e[Le]);if(Oo)for(var Le of Oo(_e))Lr.call(_e,Le)&&Eo(Xe,Le,_e[Le]);return Xe};const jr=Xe=>React.createElement("svg",pi({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"5"),React.createElement("g",{fill:"#5E54E7",fillRule:"nonzero"},React.createElement("path",{d:"M8.477 5.651c.569 0 1.101.138 1.569.377V1.257C10.046.56 9.486 0 8.789 0H1.257C.56 0 0 .56 0 1.257v8.789c0 .697.56 1.257 1.257 1.257h4.56a3.411 3.411 0 0 1-.79-2.193 3.448 3.448 0 0 1 3.45-3.459Zm-3.138.624H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h3.137a.31.31 0 0 1 .312.312.31.31 0 0 1-.312.312ZM1.257 3.138V1.88c0-.349.284-.624.624-.624h6.275c.349 0 .624.284.624.624v1.257H1.257Zm2.826 5.651H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h1.88a.31.31 0 0 1 .312.312.31.31 0 0 1-.311.312Z"}),React.createElement("path",{d:"M8.477 6.275a2.827 2.827 0 0 0 0 5.652 2.827 2.827 0 0 0 0-5.652Zm1.587 4.743C10.22 8.752 8.44 9.661 8.44 9.661v.981L6.908 9.101 8.44 7.54l-.009.9c2.835.421 1.633 2.577 1.633 2.577Z"})));var ln="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzVFNTRFNyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC40NzcgNS42NTFjLjU2OSAwIDEuMTAxLjEzOCAxLjU2OS4zNzdWMS4yNTdDMTAuMDQ2LjU2IDkuNDg2IDAgOC43ODkgMEgxLjI1N0MuNTYgMCAwIC41NiAwIDEuMjU3djguNzg5YzAgLjY5Ny41NiAxLjI1NyAxLjI1NyAxLjI1N2g0LjU2YTMuNDExIDMuNDExIDAgMCAxLS43OS0yLjE5MyAzLjQ0OCAzLjQ0OCAwIDAgMSAzLjQ1LTMuNDU5Wm0tMy4xMzguNjI0SDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDMuMTM3YS4zMS4zMSAwIDAgMSAuMzEyLjMxMi4zMS4zMSAwIDAgMS0uMzEyLjMxMlpNMS4yNTcgMy4xMzhWMS44OGMwLS4zNDkuMjg0LS42MjQuNjI0LS42MjRoNi4yNzVjLjM0OSAwIC42MjQuMjg0LjYyNC42MjR2MS4yNTdIMS4yNTdabTIuODI2IDUuNjUxSDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDEuODhhLjMxLjMxIDAgMCAxIC4zMTIuMzEyLjMxLjMxIDAgMCAxLS4zMTEuMzEyWiIvPjxwYXRoIGQ9Ik04LjQ3NyA2LjI3NWEyLjgyNyAyLjgyNyAwIDAgMCAwIDUuNjUyIDIuODI3IDIuODI3IDAgMCAwIDAtNS42NTJabTEuNTg3IDQuNzQzQzEwLjIyIDguNzUyIDguNDQgOS42NjEgOC40NCA5LjY2MXYuOTgxTDYuOTA4IDkuMTAxIDguNDQgNy41NGwtLjAwOS45YzIuODM1LjQyMSAxLjYzMyAyLjU3NyAxLjYzMyAyLjU3N1oiLz48L2c+PC9zdmc+",sa=Object.defineProperty,Br=Object.getOwnPropertySymbols,Xa=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,Ea=(Xe,_e,Le)=>_e in Xe?sa(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,ua=(Xe,_e)=>{for(var Le in _e||(_e={}))Xa.call(_e,Le)&&Ea(Xe,Le,_e[Le]);if(Br)for(var Le of Br(_e))la.call(_e,Le)&&Ea(Xe,Le,_e[Le]);return Xe};const ns=Xe=>React.createElement("svg",ua({width:16,height:12,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"2"),React.createElement("g",{fill:"#00B187",fillRule:"nonzero"},React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787Z"}),React.createElement("path",{d:"M13.09 1.787v.006c-.017.135-.324 2.394-2.146 4.04C9.066 7.53 6.182 7.66 6.182 7.66h-.003c-.084.001-1.985.07-3.035 3.16a7.91 7.91 0 0 0-.122.407.583.583 0 0 0 .562.739h8.502a.583.583 0 0 0 .583-.592c-.025-1.732.116-2.97.422-3.714.515-1.255 1.837-2.268 2.534-5.477.041-.188.246-1.41-.996-1.578-1.242-.168-1.538 1.182-1.538 1.182Z"}),React.createElement("path",{d:"M7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z"})));var Tr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwQjE4NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMi41NzMgMS43ODd2LjAwNmMuMDE4LjEzNS4zMjQgMi4zOTQgMi4xNDYgNC4wNEM2LjU5NyA3LjUzIDkuNDgxIDcuNjYgOS40ODEgNy42NmguMDAzYy4wODQuMDAxIDEuOTg1LjA3IDMuMDM1IDMuMTYuMDMzLjA5Ni4wNzQuMjMyLjEyMy40MDdhLjU4My41ODMgMCAwIDEtLjU2My43MzlIMy41NzhhLjU4My41ODMgMCAwIDEtLjU4NC0uNTkyYy4wMjUtMS43MzItLjExNS0yLjk3LS40MjEtMy43MTRDMi4wNTcgNi40MDUuNzM1IDUuMzkyLjAzOCAyLjE4M2MtLjA0LS4xODgtLjI0Ni0xLjQxLjk5Ny0xLjU3OEMyLjI3Ny40MzcgMi41NzMgMS43ODcgMi41NzMgMS43ODdaIi8+PHBhdGggZD0iTTEzLjA5IDEuNzg3di4wMDZjLS4wMTcuMTM1LS4zMjQgMi4zOTQtMi4xNDYgNC4wNEM5LjA2NiA3LjUzIDYuMTgyIDcuNjYgNi4xODIgNy42NmgtLjAwM2MtLjA4NC4wMDEtMS45ODUuMDctMy4wMzUgMy4xNmE3LjkxIDcuOTEgMCAwIDAtLjEyMi40MDcuNTgzLjU4MyAwIDAgMCAuNTYyLjczOWg4LjUwMmEuNTgzLjU4MyAwIDAgMCAuNTgzLS41OTJjLS4wMjUtMS43MzIuMTE2LTIuOTcuNDIyLTMuNzE0LjUxNS0xLjI1NSAxLjgzNy0yLjI2OCAyLjUzNC01LjQ3Ny4wNDEtLjE4OC4yNDYtMS40MS0uOTk2LTEuNTc4LTEuMjQyLS4xNjgtMS41MzggMS4xODItMS41MzggMS4xODJaIi8+PHBhdGggZD0iTTcuODc2LjAwN2MxLjYxMSAwIDIuOTE3IDEuMzcxIDIuOTE3IDMuMDYzIDAgMS42OS0xLjMwNiAzLjA2Mi0yLjkxNyAzLjA2Mi0xLjYxMSAwLTIuOTE3LTEuMzctMi45MTctMy4wNjJDNC45NiAxLjM3OSA2LjI2NS4wMDcgNy44NzYuMDA3WiIvPjwvZz48L3N2Zz4=",ca=Object.defineProperty,$a=Object.getOwnPropertySymbols,Go=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,Po=(Xe,_e,Le)=>_e in Xe?ca(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Yo=(Xe,_e)=>{for(var Le in _e||(_e={}))Go.call(_e,Le)&&Po(Xe,Le,_e[Le]);if($a)for(var Le of $a(_e))Vo.call(_e,Le)&&Po(Xe,Le,_e[Le]);return Xe};const Mo=Xe=>React.createElement("svg",Yo({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"1"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M6.325 1.6a.578.578 0 0 1 .448.197c.135.176.215.387.23.608a.672.672 0 0 1 .535-.107c.497.088.628.632.653 1.043a.565.565 0 0 1 .292-.037c.699.079.686.756.68 1.046-.008.29-.248 2.06-.28 2.288.04.277.343 2.649-.851 3.6l.057.849-3.338.113v-1.168c-.27-.219-1.33-1.136-1.544-2.283a4.077 4.077 0 0 0-.475-1.201c-.277-.514-.515-.96-.114-1.436a.585.585 0 0 1 .457-.236c.608 0 1.154 1.1 1.302 1.935l.16.08-.12-3.53c0-.015-.043-.516.228-.809a.651.651 0 0 1 .493-.205h.036a.767.767 0 0 1 .375.106c.016-.233.104-.456.252-.636a.692.692 0 0 1 .524-.217Z",fill:"#EE5D5D"}),React.createElement("path",{d:"M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0ZM2.019 2.655a5.2 5.2 0 0 0 6.472 7.91ZM6 .8a5.18 5.18 0 0 0-3.417 1.28l6.582 8.046A5.2 5.2 0 0 0 6 .8Z",fill:"#E30000"})));var Rr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNi4zMjUgMS42YS41NzguNTc4IDAgMCAxIC40NDguMTk3Yy4xMzUuMTc2LjIxNS4zODcuMjMuNjA4YS42NzIuNjcyIDAgMCAxIC41MzUtLjEwN2MuNDk3LjA4OC42MjguNjMyLjY1MyAxLjA0M2EuNTY1LjU2NSAwIDAgMSAuMjkyLS4wMzdjLjY5OS4wNzkuNjg2Ljc1Ni42OCAxLjA0Ni0uMDA4LjI5LS4yNDggMi4wNi0uMjggMi4yODguMDQuMjc3LjM0MyAyLjY0OS0uODUxIDMuNmwuMDU3Ljg0OS0zLjMzOC4xMTN2LTEuMTY4Yy0uMjctLjIxOS0xLjMzLTEuMTM2LTEuNTQ0LTIuMjgzYTQuMDc3IDQuMDc3IDAgMCAwLS40NzUtMS4yMDFjLS4yNzctLjUxNC0uNTE1LS45Ni0uMTE0LTEuNDM2YS41ODUuNTg1IDAgMCAxIC40NTctLjIzNmMuNjA4IDAgMS4xNTQgMS4xIDEuMzAyIDEuOTM1bC4xNi4wOC0uMTItMy41M2MwLS4wMTUtLjA0My0uNTE2LjIyOC0uODA5YS42NTEuNjUxIDAgMCAxIC40OTMtLjIwNWguMDM2YS43NjcuNzY3IDAgMCAxIC4zNzUuMTA2Yy4wMTYtLjIzMy4xMDQtLjQ1Ni4yNTItLjYzNmEuNjkyLjY5MiAwIDAgMSAuNTI0LS4yMTdaIiBmaWxsPSIjRUU1RDVEIi8+PHBhdGggZD0iTTYgMGE2IDYgMCAxIDEgMCAxMkE2IDYgMCAwIDEgNiAwWk0yLjAxOSAyLjY1NWE1LjIgNS4yIDAgMCAwIDYuNDcyIDcuOTFaTTYgLjhhNS4xOCA1LjE4IDAgMCAwLTMuNDE3IDEuMjhsNi41ODIgOC4wNDZBNS4yIDUuMiAwIDAgMCA2IC44WiIgZmlsbD0iI0UzMDAwMCIvPjwvZz48L3N2Zz4=",zo=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())}),Ua=({open:Xe,onClose:_e,onOk:Le})=>{const[Kn,ti]=(0,re.useState)(!1),[Di,Qi]=(0,re.useState)("\u6263\u5206\u7406\u7531\u4E0D\u6E05\u6670"),[yi,On]=(0,re.useState)(""),sn=()=>zo(void 0,null,function*(){ti(!0),(yield Le(Di,yi))===0&&_e(),ti(!1)}),Qn=["\u6263\u5206\u7406\u7531\u4E0D\u6E05\u6670","\u4F5C\u4E1A\u6B63\u786E\u4F46\u88AB\u6263\u5206","\u8BC4\u8BED\u8FC7\u4E8E\u4E3B\u89C2\u6216\u7B3C\u7EDF","\u8BC4\u8BED\u4E0E\u5B9E\u9645\u60C5\u51B5\u4E0D\u7B26","\u8BC4\u8BED\u4E0E\u8BC4\u5206\u4E0D\u5339\u914D","\u8BC4\u5206\u6807\u51C6\u6267\u884C\u4E0D\u4E00\u81F4","\u7F3A\u4E4F\u6539\u8FDB\u5EFA\u8BAE","\u81EA\u52A8\u8BC4\u5206\u7CFB\u7EDF\u95EE\u9898","\u5176\u5B83"];return re.createElement(nt.default,{centered:!0,open:Xe,confirmLoading:Kn,onCancel:()=>{_e()},afterClose:()=>{On(""),Qi("\u6263\u5206\u7406\u7531\u4E0D\u6E05\u6670")},onOk:sn,title:"\u53CD\u9988",width:"1000px",okText:"\u63D0\u4EA4"},re.createElement("div",{className:Pt.btnWarp},Qn.map(zr=>re.createElement("div",{key:zr,className:Di===zr?Pt.active:"",onClick:()=>Qi(zr)},zr))),re.createElement(ct.default.TextArea,{style:{height:280},placeholder:"\u6211\u4EEC\u60F3\u77E5\u9053\u4F60\u5BF9\u8BC4\u5206\u6216\u8BC4\u8BED\u4E0D\u6EE1\u610F\u7684\u539F\u56E0~",value:yi,onChange:zr=>On(zr.target.value)}))},nn=ge(67294),Ia=Object.defineProperty,So=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,so=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,lo=(Xe,_e,Le)=>_e in Xe?Ia(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,da=(Xe,_e)=>{for(var Le in _e||(_e={}))vo.call(_e,Le)&&lo(Xe,Le,_e[Le]);if(so)for(var Le of so(_e))Ma.call(_e,Le)&&lo(Xe,Le,_e[Le]);return Xe},ha=(Xe,_e)=>So(Xe,Ta(_e)),yo=(Xe,_e)=>{var Le={};for(var Kn in Xe)vo.call(Xe,Kn)&&_e.indexOf(Kn)<0&&(Le[Kn]=Xe[Kn]);if(Xe!=null&&so)for(var Kn of so(Xe))_e.indexOf(Kn)<0&&Ma.call(Xe,Kn)&&(Le[Kn]=Xe[Kn]);return Le},ia=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())});const fa=Xe=>{var _e=Xe,{Data:Le,layer:Kn=1,type:ti,index:Di=0,newType:Qi,user:yi,showName:On,showNm:sn}=_e,Qn=yo(_e,["Data","layer","type","index","newType","user","showName","showNm"]),zr,uo,Li,Xi,ea,ba,eo,Oa,Cr,Pa,Wr,$i,_r,xo,gi,Bi,vr;const ir=(0,ot.useParams)(),{studentWorkDetail:Er}=Qn==null?void 0:Qn.shixunHomeworks,[ta,Gi]=(0,re.useState)({type:0,show:!1}),[bi,Or]=(0,re.useState)(null),[,_i,Sn]=(0,ye.U)(vt.qP,{userId:ir==null?void 0:ir.userId}),[,ra,rs]=(0,ye.U)(vt.R$,{userId:ir==null?void 0:ir.userId}),[,ul,$t]=(0,ye.U)(vt.QC,{userId:ir==null?void 0:ir.userId}),[,xi,cl]=(0,ye.U)(vt.Mf,{userId:ir==null?void 0:ir.userId}),[,Ku,Hl,Ca]=(0,ye.U)(vt.Am,{homeworkId:ir==null?void 0:ir.userId}),[,Wl,dl,Ss]=(0,ye.U)(vt.oK,{}),[Gs,Cs]=(0,re.useState)(!1),[na]=Ke.default.useForm(),[Ho]=Ke.default.useForm(),[as]=Ke.default.useForm(),[Vs,ks]=(0,re.useState)(!1),[Kl,ys]=(0,re.useState)(!1),[Qa,hl]=(0,re.useState)(!1),co=(Pi=Le)=>{nt.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>ia(void 0,null,function*(){(yield $t({score_id:Pi==null?void 0:Pi.comment_id})).status===0&&(Pe.ZP.success("\u5220\u9664\u6210\u529F"),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()))})})},fl=(Pi=Le)=>{nt.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>ia(void 0,null,function*(){(yield cl({object_id:Pi.id,object_type:"journals_for_message"})).status===0&&(Pe.ZP.success("\u5220\u9664\u6210\u529F"),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()))})})},os=(Pi,Pr)=>{let Ga="";for(let ka=0;ka<(Pi==null?void 0:Pi.length);ka++){const Co=Pi[ka];Pr!=null&&Pr.old_score?Ga+=`<span style="color:#999999">${Co.name}<span style="color:#999999;"}}> ${Co.score}\u5206 </span></span>`:Ga+=`<span>${Co.name}<span style="color:#CA7720;"}}> ${Co.score}\u5206 </span></span>`,ka<(Pi==null?void 0:Pi.length)-1&&(Pr!=null&&Pr.old_score?Ga+=' <span style="color:#999999"> + </span> ':Ga+=" + ")}return nn.createElement("span",{dangerouslySetInnerHTML:{__html:Ga}})},pl=(Pi,Pr,Ga)=>ia(void 0,null,function*(){const ka={type:Pi,score_id:Le==null?void 0:Le.comment_id,reason:Pr||null,content:Ga||null},Co=yield(0,Re.ZP)(`/api/student_works/${ir==null?void 0:ir.categoryId}/add_score_like.json`,{method:"post",body:ka});return Co.status===0&&Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()),Co.status});return nn.createElement("div",{className:Kn==1&&Pt.new_style_box,style:Qi&&{background:"#FCF8F4",border:"none"}},nn.createElement(Ie.Z,{wrap:!1,gutter:15,className:Kn!=1&&Pt.box_child,style:Qi&&{marginTop:"0px"}},ti=="appeal_info"?nn.createElement(tt.Z,{flex:1},nn.createElement("div",{className:Pt.box_item_top},nn.createElement(we.Z,{title:On?(zr=Le==null?void 0:Le.appeal_info)==null?void 0:zr.user_name:""},nn.createElement("span",{style:{color:On?"#3061D0":"#333333",fontWeight:600}},sn?"\u533F\u540D":(uo=Le==null?void 0:Le.appeal_info)==null?void 0:uo.user_name)),(Le==null?void 0:Le.appeal_status)==1&&nn.createElement("span",{className:Pt.tagStyleSzz,style:{color:"#CF5300",border:"1px solid rgba(250,100,0,0.2)",background:"rgba(250,100,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},nn.createElement("img",{src:li,className:"mr5"}),"\u7533\u8BC9\u4E2D"),(Le==null?void 0:Le.appeal_status)==2&&nn.createElement("span",{className:Pt.tagStyleSzz,style:{color:"#4237E7",border:"1px solid rgba(94,84,231,0.2)",background:"rgba(94,84,231,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},nn.createElement("img",{src:ln,className:"mr5"}),"\u7533\u8BC9\u5DF2\u64A4\u9500"),(Le==null?void 0:Le.appeal_status)==3&&nn.createElement("span",{className:Pt.tagStyleSzz,style:{color:"#00B187",border:"1px rgba(0,177,135,0.2) solid",background:"rgba(0,177,135,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},nn.createElement("img",{src:Tr,className:"mr5"}),"\u7533\u8BC9\u6210\u529F"),(Le==null?void 0:Le.appeal_status)==4&&nn.createElement("span",{className:Pt.tagStyleSzz,style:{color:"#E30000",border:"1px solid rgba(227,0,0,0.2)",background:"rgba(227,0,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},nn.createElement("img",{src:Rr,className:"mr5"}),"\u7533\u8BC9\u88AB\u62D2\u7EDD"),(Le==null?void 0:Le.reason)&&nn.createElement("span",{className:`${Pt.tagStyleSzz} ${Pt.feedbackSty}`},Le==null?void 0:Le.reason)),nn.createElement(gn.Z,{className:"font14 mt10",value:`${((Li=Le==null?void 0:Le.appeal_info)==null?void 0:Li.content)||"\u6682\u672A\u5199\u8BC4\u8BED"}`})):nn.createElement(tt.Z,{flex:1},nn.createElement("div",{className:Pt.box_item_top},nn.createElement(we.Z,{title:On?(Xi=Le==null?void 0:Le.user_info)==null?void 0:Xi.user_name:""},nn.createElement("span",{style:{color:On?"#3061D0":"#333333",fontWeight:600}},sn?"\u533F\u540D":(ea=Le==null?void 0:Le.user_info)==null?void 0:ea.user_name)),(Le==null?void 0:Le.student_work_num)&&nn.createElement(tt.Z,null,nn.createElement("span",{style:{padding:"3px 8px",background:(Le==null?void 0:Le.student_work_num)==1?"#5A9781":"#FFD28D",color:(Le==null?void 0:Le.student_work_num)==1?"#FFFFFF":"#AC4C0C",fontSize:"12px",borderRadius:"2px"}},"\u7B2C ",Le==null?void 0:Le.student_work_num," \u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A")),((Le==null?void 0:Le.score)||(Le==null?void 0:Le.score)==0)&&(Er==null?void 0:Er.single_score)&&nn.createElement(tt.Z,null,nn.createElement("span",{style:{color:Le!=null&&Le.anonymous_exception?"#E30000":Le!=null&&Le.old_score?"#999999":"#009C0F",fontWeight:600,marginLeft:"-7px"}}," ",(Le==null?void 0:Le.old_score)||(Le==null?void 0:Le.score),"\u5206 ",(Le==null?void 0:Le.old_score)&&"\uFF08\u5DF2\u5931\u6548\uFF09")),ti!="feedback"&&(Kn==1&&!(Le!=null&&Le.can_reply)||!(Le!=null&&Le.can_reply)&&ti=="teacher"&&Di!=0)&&nn.createElement(tt.Z,null,nn.createElement("span",{className:"c-light-black"},"\uFF08\u5DF2\u5931\u6548\uFF09")),!(Er!=null&&Er.single_score)&&(Le==null?void 0:Le.score)!==null&&nn.createElement("div",{style:{color:"#333333"}},nn.createElement(we.Z,{title:((ba=Le==null?void 0:Le.score_details)==null?void 0:ba.length)>0?os(Le==null?void 0:Le.score_details,Le):"",overlayInnerStyle:{width:"min-content",whiteSpace:"nowrap",overflow:"visible"},placement:"topLeft"},nn.createElement("div",{style:{display:"flex",alignItems:"center"}},((Le==null?void 0:Le.score)||(Le==null?void 0:Le.score)==0)&&nn.createElement("span",{style:{color:Le!=null&&Le.anonymous_exception?"#E30000":Le!=null&&Le.old_score?"#999999":"#009C0F",fontWeight:600,marginRight:"5px"}},(Le==null?void 0:Le.old_score)||(Le==null?void 0:Le.score),"\u5206 ",(Le==null?void 0:Le.old_score)&&"\uFF08\u5DF2\u5931\u6548\uFF09"),((eo=Le==null?void 0:Le.score_details)==null?void 0:eo.length)>0&&nn.createElement("div",{className:Pt.left,style:{width:"200px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},"= ",os(Le==null?void 0:Le.score_details,Le))))),(Le==null?void 0:Le.anonymous_exception)&&nn.createElement("div",{className:Pt.yichang,style:{marginLeft:((Oa=Le==null?void 0:Le.score_details)==null?void 0:Oa.length)>0&&"10px"}},nn.createElement("i",{className:"iconfont icon-tishi12",style:{fontSize:"11px",marginRight:"3px"}}),"\u8BC4\u5206\u5F02\u5E38"),(Le==null?void 0:Le.reason)&&nn.createElement("span",{className:`${Pt.tagStyleSzz} ${Pt.feedbackSty}`},Le==null?void 0:Le.reason)),nn.createElement(gn.Z,{className:"font14 mt10",value:`${(Le==null?void 0:Le.content)||(Le==null?void 0:Le.hidden_comment)||"\u6682\u672A\u5199\u8BC4\u8BED"}`}),((Cr=Le==null?void 0:Le.attachments)==null?void 0:Cr.length)>0&&nn.createElement("div",{className:"mt10",style:{display:"flex",flexDirection:"column",gap:10}},(Pa=Le==null?void 0:Le.attachments)==null?void 0:Pa.map((Pi,Pr)=>nn.createElement("a",{key:Pr,href:`${ut.Z.API_SERVER}${Pi.url}`},nn.createElement("i",{className:"iconfont icon-fujian font14"}),nn.createElement("span",{className:"ml10"},Pi==null?void 0:Pi.title),nn.createElement("span",{className:"c-light-black ml20 font12"},Pi==null?void 0:Pi.filesize))))),ti!="feedback"&&nn.createElement(nn.Fragment,null,ti=="appeal_info"?nn.createElement(tt.Z,{style:{whiteSpace:"nowrap"}},nn.createElement(Ie.Z,{wrap:!1,gutter:10},(Le==null?void 0:Le.delete)&&(Le==null?void 0:Le.can_appeal)&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style,onClick:()=>{nt.default.confirm({centered:!0,title:nn.createElement("div",null,"\u64A4\u9500\u7533\u8BC9\u540E\uFF0C\u65E0\u6CD5\u518D\u5BF9\u672C\u8BC4\u9605\u8BB0\u5F55\u8FDB\u884C\u7533\u8BC9",nn.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u64A4\u9500\u7533\u8BC9"),onOk:()=>ia(void 0,null,function*(){Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData())})})}},"\u64A4\u9500\u7533\u8BC9")),(Le==null?void 0:Le.appeal_status)==1&&(0,Ee.GJ)()&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style,style:{marginRight:"10pz"},onClick:()=>{ks(!0)}},"\u63A5\u53D7\u7533\u8BC9")),(Le==null?void 0:Le.appeal_status)==1&&(0,Ee.GJ)()&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style_red,onClick:()=>{nt.default.confirm({centered:!0,title:nn.createElement("div",null,"\u6B64\u533F\u8BC4\u6210\u7EE9\u5C06\u88AB\u8BA4\u4E3A\u5408\u7406",nn.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u62D2\u7EDD\u7533\u8BC9"),onOk:()=>ia(void 0,null,function*(){const Pi=yield(0,Re.ZP)(`/api/student_works/${ir.userId}/deal_appeal_score.json`,{method:"post",body:{score_id:Le==null?void 0:Le.score_id,status:4}});(Pi==null?void 0:Pi.status)===0&&Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData())})})}},"\u62D2\u7EDD\u7533\u8BC9")))):nn.createElement(nn.Fragment,null,Kn==1&&(0,Ee.Yh)()&&(Er==null?void 0:Er.can_feedback)&&nn.createElement(nn.Fragment,null,nn.createElement(we.Z,{title:"\u559C\u6B22"},nn.createElement("i",{style:{color:(Le==null?void 0:Le.like)&&"#E30000",cursor:"pointer",lineHeight:"21px"},onClick:()=>pl("like"),className:"iconfot icon-yijiejue font16 mr15"})),nn.createElement(we.Z,{title:"\u4E0D\u559C\u6B22"},nn.createElement("i",{style:{color:(Le==null?void 0:Le.dislike)&&"#37AD83",cursor:"pointer",lineHeight:"21px"},onClick:()=>{Le!=null&&Le.dislike?pl("dislike"):hl(!0)},className:"iconfot icon-weijiejuezhengchang font16 mr5"}))),(Kn==1||ti=="teacher")&&nn.createElement(tt.Z,{style:{whiteSpace:"nowrap"}},nn.createElement(Ie.Z,{wrap:!1,gutter:10},((Le==null?void 0:Le.delete)||((Wr=yi==null?void 0:yi.userInfo)==null?void 0:Wr.user_id)==(Le==null?void 0:Le.user_id))&&nn.createElement(tt.Z,null,nn.createElement("span",{className:`${Pt.text_style} ml5`,onClick:()=>{var Pi;Cs(!0),Ho.setFieldsValue(ha(da({},Le),{comment:Le==null?void 0:Le.content,score_details:((Pi=Le==null?void 0:Le.score_details)==null?void 0:Pi.map(Pr=>da({},Pr)))||[]}))}},"\u7F16\u8F91")),(Le==null?void 0:Le.is_invalid)&&(Le==null?void 0:Le.delete)&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style,onClick:()=>{co(Le)}},"\u5220\u9664")),(Le==null?void 0:Le.can_appeal)&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style,onClick:()=>{Gi({type:1,show:!0})}},"\u7533\u8BC9")),(Le==null?void 0:Le.can_reply)&&nn.createElement(tt.Z,null,nn.createElement("span",{className:Pt.text_style,onClick:()=>{Gi({type:0,show:!0})}},"\u56DE\u590D")))),nn.createElement(tt.Z,{style:{whiteSpace:"nowrap",padding:0}},Kn!=1&&((Le==null?void 0:Le.can_delete)&&ti!="teacher"||(($i=yi==null?void 0:yi.userInfo)==null?void 0:$i.user_id)==((_r=Le==null?void 0:Le.user_info)==null?void 0:_r.user_id))&&nn.createElement("span",{className:Pt.text_style,onClick:()=>{ys(!0),as.setFieldsValue(da({},Le))}},"\u7F16\u8F91"),Kn!=1&&(Le==null?void 0:Le.can_delete)&&ti!="teacher"&&nn.createElement("span",{className:Pt.text_style,style:{marginLeft:"10px"},onClick:()=>{fl(Le)}},"\u5220\u9664")))),Kn!=1&&(Le==null?void 0:Le.old_score)&&nn.createElement("span",{style:{color:"#009C0F"}},"\u6559\u5E08\u533F\u8BC4\u8865\u5206\uFF1A",Le==null?void 0:Le.score,"\u5206")),Kn==1&&(Le==null?void 0:Le.appeal_info)&&(Le==null?void 0:Le.appeal_info)!=""&&nn.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},nn.createElement(fa,da({type:"appeal_info",Data:Le,layer:Kn+1},Qn))),Kn==1&&((xo=Le==null?void 0:Le.journals)==null?void 0:xo.length)>0&&nn.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},(gi=Le==null?void 0:Le.journals)==null?void 0:gi.map((Pi,Pr)=>nn.createElement(fa,da({key:Pr,type:ti,Data:Pi,layer:Kn+1},Qn)))),(ta==null?void 0:ta.show)&&nn.createElement("div",{className:"mt20",style:{marginLeft:"56px"}},nn.createElement(je.Z,{height:150,isFocus:!0,watch:!0,onChange:Pi=>{Or(Pi)}}),nn.createElement(Ie.Z,{align:"middle",justify:"end",gutter:20},nn.createElement(tt.Z,null,nn.createElement(Te.ZP,{onClick:()=>{Gi({type:0,show:!1})}},"\u53D6\u6D88")),nn.createElement(tt.Z,null,nn.createElement(Te.ZP,{loading:_i||ra,type:"primary",onClick:()=>ia(void 0,null,function*(){if(bi===""){Pe.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9");return}let Pi;ti=="teacher"?Pi=(yield ta==null?void 0:ta.type)==0?Sn({hidden_comment:bi,score_id:Le==null?void 0:Le.score_id}):rs({comment:bi,score_id:Le==null?void 0:Le.score_id}):Pi=yield((ta==null?void 0:ta.type)==0?Sn:rs)({comment:bi,score_id:Le==null?void 0:Le.score_id}),Pi.status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Gi({type:0,show:!1}),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()))})},(ta==null?void 0:ta.type)==0?"\u56DE\u590D":"\u7533\u8BC9")))),nn.createElement(nt.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:Vs,centered:!0,destroyOnClose:!0,onCancel:()=>{ks(!1)},maskClosable:!1,width:544,onOk:()=>{na.submit()}},nn.createElement(Ke.default,{form:na,colon:!1,onFinish:Pi=>ia(void 0,null,function*(){(yield(0,Re.ZP)(`/api/student_works/${ir.userId}/deal_appeal_score.json`,{method:"post",body:ha(da({},Pi),{userId:ir.userId,score_id:Le==null?void 0:Le.score_id,status:3})})).status===0&&(ks(!1),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()))})},nn.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),nn.createElement(Lt.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:nn.createElement("span",null,(Bi=Le==null?void 0:Le.appeal_info)==null?void 0:Bi.user_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:nn.createElement("span",{style:{color:"#191919"}},(vr=Le==null?void 0:Le.user_info)==null?void 0:vr.user_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:nn.createElement("span",{style:{color:"#191919"}},Le==null?void 0:Le.score)}]}),nn.createElement(Ie.Z,{className:"mt20",wrap:!1},nn.createElement(tt.Z,null,nn.createElement(Ke.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},nn.createElement(xt.Z,{min:1,max:100,step:1}))),nn.createElement(tt.Z,null,nn.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),nn.createElement(tt.Z,null,nn.createElement(Ke.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},nn.createElement(Ve.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570")))))),nn.createElement(nt.default,{title:"\u7F16\u8F91\u56DE\u590D",width:800,centered:!0,open:Kl,confirmLoading:Wl,onCancel:()=>{ys(!1)},onOk:()=>{as.submit()}},nn.createElement(Ke.default,{form:as,colon:!1,onFinish:Pi=>ia(void 0,null,function*(){const Pr=yield dl(da({},Pi));(Pr==null?void 0:Pr.status)===0&&(Pe.ZP.success("\u4FEE\u6539\u6210\u529F"),ys(!1),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()))})},nn.createElement(Ke.default.Item,{hidden:!0,name:"id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),nn.createElement(Ke.default.Item,{name:"content",label:"\u8BC4\u8BED"},nn.createElement(en.h,{height:200,scrollId:"notes",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})))),nn.createElement(br,{DataProps:{disabledScore:Qi=="teacher"},FormProps:{form:Ho,onFinish:(...Pi)=>ia(void 0,[...Pi],function*(Pr={}){const Ga=yield Hl(ha(da({},Pr),{homeworkId:ir==null?void 0:ir.userId}));(Ga==null?void 0:Ga.status)===0&&(Pe.ZP.success("\u4FEE\u6539\u6210\u529F"),Cs(!1),Qn!=null&&Qn.getInitData&&(Qn==null||Qn.getInitData()),Qn!=null&&Qn.updateData&&(Qn==null||Qn.updateData()))})},ModalProps:{open:Gs,onCancel:()=>{Cs(!1),Ho.resetFields()},onOk:()=>{Ho.submit()},confirmLoading:Ku}}),nn.createElement(Ua,{open:Qa,onClose:()=>hl(!1),onOk:(Pi,Pr)=>pl("dislike",Pi,Pr)}))};var Se=(0,ot.connect)(({user:Xe})=>({user:Xe}))(fa),Be=Object.defineProperty,gt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Kt=(Xe,_e,Le)=>_e in Xe?Be(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,wn=(Xe,_e)=>{for(var Le in _e||(_e={}))Mt.call(_e,Le)&&Kt(Xe,Le,_e[Le]);if(gt)for(var Le of gt(_e))Ht.call(_e,Le)&&Kt(Xe,Le,_e[Le]);return Xe};const Rn=Xe=>React.createElement("svg",wn({width:18,height:18,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M9 0C4.032 0 0 4.032 0 9s4.032 9 9 9 9-4.032 9-9-4.032-9-9-9Z",fill:"#009CDC"}),React.createElement("path",{d:"M11.511 5H5.956a.954.954 0 0 0-.952.951v6.032c0 .524.428.952.952.952h5.555a.954.954 0 0 0 .952-.952V5.951A.954.954 0 0 0 11.511 5ZM6.607 6.881h2.58a.34.34 0 0 1 0 .68h-2.58a.34.34 0 0 1 0-.68Zm1.603 4.17H6.608a.34.34 0 0 1 0-.68H8.21a.34.34 0 0 1 0 .68Zm2.445-1.744H6.607a.34.34 0 0 1 0-.68h4.048a.34.34 0 0 1 0 .68Z",fill:"#FFF"})));var ii="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOSAwQzQuMDMyIDAgMCA0LjAzMiAwIDlzNC4wMzIgOSA5IDkgOS00LjAzMiA5LTktNC4wMzItOS05LTlaIiBmaWxsPSIjMDA5Q0RDIi8+PHBhdGggZD0iTTExLjUxMSA1SDUuOTU2YS45NTQuOTU0IDAgMCAwLS45NTIuOTUxdjYuMDMyYzAgLjUyNC40MjguOTUyLjk1Mi45NTJoNS41NTVhLjk1NC45NTQgMCAwIDAgLjk1Mi0uOTUyVjUuOTUxQS45NTQuOTU0IDAgMCAwIDExLjUxMSA1Wk02LjYwNyA2Ljg4MWgyLjU4YS4zNC4zNCAwIDAgMSAwIC42OGgtMi41OGEuMzQuMzQgMCAwIDEgMC0uNjhabTEuNjAzIDQuMTdINi42MDhhLjM0LjM0IDAgMCAxIDAtLjY4SDguMjFhLjM0LjM0IDAgMCAxIDAgLjY4Wm0yLjQ0NS0xLjc0NEg2LjYwN2EuMzQuMzQgMCAwIDEgMC0uNjhoNC4wNDhhLjM0LjM0IDAgMCAxIDAgLjY4WiIgZmlsbD0iI0ZGRiIvPjwvZz48L3N2Zz4=",ai=Object.defineProperty,Si=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Gt=(Xe,_e,Le)=>_e in Xe?ai(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,on=(Xe,_e)=>{for(var Le in _e||(_e={}))Hn.call(_e,Le)&&Gt(Xe,Le,_e[Le]);if(Si)for(var Le of Si(_e))Xt.call(_e,Le)&&Gt(Xe,Le,_e[Le]);return Xe};const yn=Xe=>React.createElement("svg",on({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u5F85\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.992 5.229H31.7v1.646h3.768v5.83H31.21v1.663h4.258v5.796h1.724v-5.796h4.325v-1.663h-4.325v-5.83h3.801V5.23Zm4.157 2.167h-1.724v12.768h1.724V7.396Zm-32.34.958c-.845 1.848-2.112 3.46-3.802 4.821l.524 1.663a27.003 27.003 0 0 0 1.656-1.41v6.618h1.706v-8.55a12.713 12.713 0 0 0 1.42-2.437l-1.504-.705Zm44.793-3.142h-8.01v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.658-.034c.186-.37.32-1.008.405-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.422.218h-.305c-.22 0-.32-.134-.32-.386v-1.966h1.672V10.32h-1.487c.406-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.165 2.822H49l1.217-.605c-.406-.739-.811-1.428-1.25-2.032l-1.47.705c.439.571.861 1.21 1.25 1.932h-1.842v4.855h1.538c-.237 1.31-1.183 2.235-2.856 2.806l.913 1.445c2.06-.89 3.21-2.302 3.446-4.25h.913v2.301c0 1.042.456 1.58 1.368 1.58h1.082c.49 0 .878-.102 1.149-.27l.32 1.26h1.015c1.2 0 1.808-.588 1.808-1.764V5.212Zm-35.095 6.3H20.75v1.058h-6.353v1.63h6.353v3.394c0 .537-.253.823-.76.823-.676 0-1.403-.034-2.18-.101l.406 1.663h2.399c1.25 0 1.892-.655 1.892-1.949V14.2h1.775v-1.63h-1.775v-1.058Zm7.317-1.949h-4.022v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.929.908-1.351 1.294V9.563Zm-13.146 4.973-1.369.857c.88.924 1.589 1.764 2.113 2.52l1.368-.958c-.49-.705-1.2-1.512-2.112-2.419Zm35.787-2.806v2.033h-3.97V11.73h3.97Zm-19.11-4.233L31.851 8a28.8 28.8 0 0 1 1.2 4.099l1.504-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.796-.05c-.355 1.646-.76 3.023-1.234 4.099l1.47.52c.524-1.21.963-2.604 1.301-4.216l-1.537-.404ZM20.226 4.573H18.52V6.22h-3.565v1.596h3.565v1.596h-4.174v1.613h10.172V9.412h-4.292V7.816h3.6V6.22h-3.6V4.574Zm-8.025-.101c-.727 1.562-1.842 2.923-3.346 4.065l.524 1.68c2.061-1.512 3.497-3.175 4.342-5.023l-1.52-.722Zm16 .235-1.25 1.21c1.2.873 2.13 1.696 2.771 2.47L30.94 7.16a23.623 23.623 0 0 0-2.737-2.453Zm18.283-.269-1.606.706A15.91 15.91 0 0 1 46.686 7.9l1.572-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#FA6400",fillRule:"nonzero"}));var ei="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuOTkyIDUuMjI5SDMxLjd2MS42NDZoMy43Njh2NS44M0gzMS4yMXYxLjY2M2g0LjI1OHY1Ljc5NmgxLjcyNHYtNS43OTZoNC4zMjV2LTEuNjYzaC00LjMyNXYtNS44M2gzLjgwMVY1LjIzWm00LjE1NyAyLjE2N2gtMS43MjR2MTIuNzY4aDEuNzI0VjcuMzk2Wm0tMzIuMzQuOTU4Yy0uODQ1IDEuODQ4LTIuMTEyIDMuNDYtMy44MDIgNC44MjFsLjUyNCAxLjY2M2EyNy4wMDMgMjcuMDAzIDAgMCAwIDEuNjU2LTEuNDF2Ni42MThoMS43MDZ2LTguNTVhMTIuNzEzIDEyLjcxMyAwIDAgMCAxLjQyLTIuNDM3bC0xLjUwNC0uNzA1Wm00NC43OTMtMy4xNDJoLTguMDF2MS42MTNoNi4yODZ2MTAuOTUzYzAgLjQ3LS4xNTIuNzA2LS40NC43MDZsLS42NTgtLjAzNGMuMTg2LS4zNy4zMi0xLjAwOC40MDUtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIyLjIxOGgtLjMwNWMtLjIyIDAtLjMyLS4xMzQtLjMyLS4zODZ2LTEuOTY2aDEuNjcyVjEwLjMyaC0xLjQ4N2MuNDA2LS42NzIuNzk0LT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43ODctMi44MDZ2Mi4wMzNoLTMuOTdWMTEuNzNoMy45N1ptLTE5LjExLTQuMjMzTDMxLjg1MSA4YTI4LjggMjguOCAwIDAgMSAxLjIgNC4wOTlsMS41MDQtLjM3YTM1LjM3NCAzNS4zNzQgMCAwIDAtMS4yLTQuMjMzWm01Ljc5Ni0uMDVjLS4zNTUgMS42NDYtLjc2IDMuMDIzLTEuMjM0IDQuMDk5bDEuNDcuNTJjLjUyNC0xLjIxLjk2My0yLjYwNCAxLjMwMS00LjIxNmwtMS41MzctLjQwNFpNMjAuMjI2IDQuNTczSDE4LjUyVjYuMjJoLTMuNTY1djEuNTk2aDMuNTY1djEuNTk2aC00LjE3NHYxLjYxM2gxMC4xNzJWOS40MTJoLTQuMjkyVjcuODE2aDMuNlY2LjIyaC0zLjZWNC41NzRabS04LjAyNS0uMTAxYy0uNzI3IDEuNTYyLTEuODQyIDIuOTIzLTMuMzQ2IDQuMDY1bC41MjQgMS42OGMyLjA2MS0xLjUxMiAzLjQ5Ny0zLjE3NSA0LjM0Mi01LjAyM2wtMS41Mi0uNzIyWm0xNiAuMjM1LTEuMjUgMS4yMWMxLjIuODczIDIuMTMgMS42OTYgMi43NzEgMi40N0wzMC45NCA3LjE2YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4My0uMjY5LTEuNjA2LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni42ODYgNy45bDEuNTcyLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",mi=Object.defineProperty,hi=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,vi=(Xe,_e,Le)=>_e in Xe?mi(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,Ri=(Xe,_e)=>{for(var Le in _e||(_e={}))ri.call(_e,Le)&&vi(Xe,Le,_e[Le]);if(hi)for(var Le of hi(_e))Ci.call(_e,Le)&&vi(Xe,Le,_e[Le]);return Xe};const zi=Xe=>React.createElement("svg",Ri({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u4EC5\u6559\u5E08\u53EF\u89C1"),React.createElement("g",{fill:"#CA7720",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"}),React.createElement("path",{d:"M10.977 8.084c-.061 0-.12-.004-.177-.013a.65.65 0 0 1-.15-.042.343.343 0 0 1-.175-.167.885.885 0 0 1-.075-.214l-.029-.133-.002-.009-.02-.092-.001-.006-.002-.005a.697.697 0 0 0-.005-.018l-.001-.002a.546.546 0 0 1-.013-.046.963.963 0 0 0-.009-.033l-.024-.08-.07-.047a.019.019 0 0 1-.008-.014l-.001-.005a.11.11 0 0 1-.003-.022l.005-.142v-.037c.001-.011.008-.02.02-.023l.011-.003a.422.422 0 0 1 .052-.012l.301-.039c.111-.013.23-.02.383-.02H11.011c.165 0 .333.016.5.047.096.018.188.048.27.074.06.02.106.032.15.04a.425.425 0 0 0 .072.008l-.198.512c-.02.054-.042.101-.065.145a.858.858 0 0 1-.2.25.499.499 0 0 1-.184.096 1.258 1.258 0 0 1-.38.052Zm-.205-.097c.022.005.042.01.062.013a1.09 1.09 0 0 0 .452-.026.435.435 0 0 0 .196-.104.61.61 0 0 0 .105-.138c.055-.095.095-.194.118-.294a.65.65 0 0 0 .018-.205l-.01-.126-.112-.058a.506.506 0 0 0-.13-.042l-.01-.002a1.717 1.717 0 0 0-.374-.039h-.008l-.038.002a4.311 4.311 0 0 0-.128.008 1.43 1.43 0 0 0-.25.041l-.133.036-.032.136a.514.514 0 0 0-.009.059v.001l-.002.018a.708.708 0 0 0-.002.155c.007.073.018.17.041.266a.57.57 0 0 0 .078.189c.019.027.04.05.063.067l.06.043h.045Zm2.28.091a1.4 1.4 0 0 1-.27-.025.75.75 0 0 1-.22-.077.594.594 0 0 1-.228-.228 1.782 1.782 0 0 1-.105-.212l-.21-.507a.565.565 0 0 0 .16-.029l.08-.028.075-.025c.09-.03.19-.05.315-.066a2.854 2.854 0 0 1 .525-.019h.009l.265.015c.11.008.219.024.34.043l.02.004.003.002c.01.002.017.007.018.021l.001.023v.006a.984.984 0 0 1 .005.138l-.034-.062-.048.167-.024.08-.082.288.014-.008c-.018.075-.04.152-.07.225a.512.512 0 0 1-.07.125.333.333 0 0 1-.178.115.855.855 0 0 1-.21.032 1.846 1.846 0 0 1-.08.002Zm-.106-1.115a1.641 1.641 0 0 0-.486.075l-.142.049-.012.15a.722.722 0 0 0 .023.21.868.868 0 0 0 .167.354c.066.083.15.136.249.157.109.024.208.035.303.035h.01a.815.815 0 0 0 .21-.024.319.319 0 0 0 .146-.076.342.342 0 0 0 .079-.128c.041-.11.064-.23.068-.358v-.008c.002-.042 0-.084-.002-.125v-.02a.489.489 0 0 0-.003-.039l-.004-.032-.012-.03a.424.424 0 0 0-.004-.01l-.044-.099-.104-.029a1.763 1.763 0 0 0-.396-.053h-.046Zm1.042 3.06-1.42 2.599-.21-.62.388-.78-.778-.782-.778.781.39.782-.251.633-1.38-2.613s-2.942 1.564-2.942 3.113c0 .428.176.823.605.823h8.731c.427 0 .607-.391.607-.817 0-1.454-2.962-3.12-2.962-3.12Zm.54-3.202-.003-.122-.102-.068c-.012-.01-.024-.017-.037-.024-.208-1.803-.194-2.866-2.287-2.551-.734.11-1.535-.118-1.99.215-.574.539-.615 1.348-.459 2.297-.035.019-.07.04-.103.063l-.102.068-.002.123c-.005.316.034.582.12.787a.788.788 0 0 0 .345.407c.182.62.444 1.084.772 1.419.357.365.787.572 1.273.654l.043.007.044-.01c.538-.113.968-.329 1.31-.69.319-.335.556-.787.73-1.39a.8.8 0 0 0 .332-.41c.083-.203.12-.465.115-.775Zm-.556.6c-.041.102-.098.17-.17.194l-.119.042-.032.12c-.156.58-.365.999-.644 1.293-.264.277-.598.449-1.02.544a1.78 1.78 0 0 1-.967-.509c-.292-.297-.524-.729-.685-1.322l-.034-.126-.126-.04c-.074-.022-.132-.088-.174-.19-.043-.101-.069-.23-.08-.383.116-.018.245-.05.308-.009l.022-.074h.003l.01-.05c.034-.137.073-1 .108-1.139.014-.04.019-.086.045-.12.169.23 1.444.257 2.185-.257l-.139.375.141.028.158-.253-.02.177.15.02.093-.291c.184.105.387.246.568.17.06.136.107.967.137 1.127l.039.206.068-.004.032.107c.08-.01.15-.011.22-.013a1.25 1.25 0 0 1-.077.376Z"})));var Ji="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0NBNzcyMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEu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C0uMDM0LS4xMjYtLjEyNi0uMDRjLS4wNzQtLjAyMi0uMTMyLS4wODgtLjE3NC0uMTktLjA0My0uMTAxLS4wNjktLjIzLS4wOC0uMzgzLjExNi0uMDE4LjI0NS0uMDUuMzA4LS4wMDlsLjAyMi0uMDc0aC4wMDNsLjAxLS4wNWMuMDM0LS4xMzcuMDczLTEgLjEwOC0xLjEzOS4wMTQtLjA0LjAxOS0uMDg2LjA0NS0uMTIuMTY5LjIzIDEuNDQ0LjI1NyAyLjE4NS0uMjU3bC0uMTM5LjM3NS4xNDEuMDI4LjE1OC0uMjUzLS4wMi4xNzcuMTUuMDIuMDkzLS4yOTFjLjE4NC4xMDUuMzg3LjI0Ni41NjguMTcuMDYuMTM2LjEwNy45NjcuMTM3IDEuMTI3bC4wMzkuMjA2LjA2OC0uMDA0LjAzMi4xMDdjLjA4LS4wMS4xNS0uMDExLjIyLS4wMTNhMS4yNSAxLjI1IDAgMCAxLS4wNzcuMzc2WiIvPjwvZz48L2c+PC9zdmc+",Oi=Object.defineProperty,er=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,st=(Xe,_e,Le)=>_e in Xe?Oi(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,mt=(Xe,_e)=>{for(var Le in _e||(_e={}))gr.call(_e,Le)&&st(Xe,Le,_e[Le]);if(er)for(var Le of er(_e))lt.call(_e,Le)&&st(Xe,Le,_e[Le]);return Xe};const Ft=Xe=>React.createElement("svg",mt({width:11,height:14,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u8BC4\u8BED"),React.createElement("g",{fill:"#000",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"})));var Ln="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEuNDg1VjE0aDEuNTY2di0uNjk4YzAtMS45MzUtMS43NTItMy41LTMuOTE0LTMuNVoiLz48cGF0aCBkPSJNMTAuOTYgMy41MDJhNC44NzggNC44NzggMCAwIDAtLjk1NC0yLjggNi4wMDIgNi4wMDIgMCAwIDAtMi42MjMgMS40NzZBNS40MTQgNS40MTQgMCAwIDAgNS40OCAwYTUuMzkgNS4zOSAwIDAgMC0xLjg5MyAyLjE3OEE2IDYgMCAwIDAgLjk1Ny43MDJhNC44NyA0Ljg3IDAgMCAwLS45NTQgMi44VjQuMkMuMDA1IDYuNjMzIDIuMDA3IDguNjk1IDQuNyA5LjA0NFYxNGgxLjU2NlY5LjA0NWMyLjY5My0uMzQ3IDQuNjk0LTIuNDEgNC42OTUtNC44NDN2LS43WiIvPjwvZz48L3N2Zz4=",Zn=Object.defineProperty,zt=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,Yn=(Xe,_e,Le)=>_e in Xe?Zn(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,bn=(Xe,_e)=>{for(var Le in _e||(_e={}))mn.call(_e,Le)&&Yn(Xe,Le,_e[Le]);if(zt)for(var Le of zt(_e))jn.call(_e,Le)&&Yn(Xe,Le,_e[Le]);return Xe};const rn=Xe=>React.createElement("svg",bn({width:20,height:20,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u8FD4\u56DE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#3061D0",width:20,height:20,rx:4}),React.createElement("g",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},React.createElement("path",{d:"M4.678 10.176h10.526M8.187 13.684l-3.509-3.509 3.509-3.508"}))));var Jn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMzA2MUQwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHJ4PSI0Ii8+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTQuNjc4IDEwLjE3NmgxMC41MjZNOC4xODcgMTMuNjg0bC0zLjUwOS0zLjUwOSAzLjUwOS0zLjUwOCIvPjwvZz48L2c+PC9zdmc+",it=Object.defineProperty,qt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Fn=(Xe,_e,Le)=>_e in Xe?it(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,kn=(Xe,_e)=>{for(var Le in _e||(_e={}))Vt.call(_e,Le)&&Fn(Xe,Le,_e[Le]);if(qt)for(var Le of qt(_e))Zt.call(_e,Le)&&Fn(Xe,Le,_e[Le]);return Xe};const ki=Xe=>React.createElement("svg",kn({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u5DF2\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.74 5.229h-9.292v1.646h3.768v5.83h-4.258v1.663h4.258v5.796h1.723v-5.796h4.326v-1.663h-4.326v-5.83h3.802V5.23Zm4.157 2.167h-1.723v12.768h1.723V7.396ZM57.35 5.212h-8.009v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.659-.034c.186-.37.321-1.008.406-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.423.218h-.304c-.22 0-.321-.134-.321-.386v-1.966h1.673V10.32h-1.487c.405-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.166 2.822H48.75l1.216-.605c-.405-.739-.81-1.428-1.25-2.032l-1.47.705c.44.571.862 1.21 1.25 1.932h-1.841v4.855h1.537c-.236 1.31-1.183 2.235-2.855 2.806l.912 1.445c2.061-.89 3.21-2.302 3.447-4.25h.912v2.301c0 1.042.457 1.58 1.369 1.58h1.081c.49 0 .879-.102 1.15-.27l.32 1.26h1.014c1.2 0 1.808-.588 1.808-1.764V5.212ZM29.572 9.563h-4.021v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.93.908-1.352 1.294V9.563Zm-7.215-4.217H9.465v1.68h11.101v3.83h-8.634V8.64h-1.757v8.703c0 1.512.71 2.268 2.163 2.268h9.394c.676-.034 1.234-.236 1.64-.605.337-.37.624-1.63.844-3.78l-1.723-.538c-.102 1.714-.254 2.705-.49 2.94-.237.202-.49.303-.76.303h-8.398c-.609 0-.913-.303-.913-.908v-4.485h10.425v-7.19Zm29.857 6.384v2.033h-3.971V11.73h3.97Zm-19.11-4.233L31.6 8a28.8 28.8 0 0 1 1.2 4.099l1.503-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.795-.05c-.355 1.646-.76 3.023-1.233 4.099l1.47.52c.523-1.21.963-2.604 1.3-4.216L38.9 7.446ZM27.95 4.707l-1.25 1.21c1.2.873 2.129 1.696 2.77 2.47l1.217-1.227a23.623 23.623 0 0 0-2.737-2.453Zm18.282-.269-1.605.706A15.91 15.91 0 0 1 46.435 7.9l1.571-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#37AD83",fillRule:"nonzero"}));var tr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuNzQgNS4yMjloLTkuMjkydjEuNjQ2aDMuNzY4djUuODNoLTQuMjU4djEuNjYzaDQuMjU4djUuNzk2aDEuNzIzdi01Ljc5Nmg0LjMyNnYtMS42NjNoLTQuMzI2di01LjgzaDMuODAyVjUuMjNabTQuMTU3IDIuMTY3aC0xLjcyM3YxMi43NjhoMS43MjNWNy4zOTZaTTU3LjM1IDUuMjEyaC04LjAwOXYxLjYxM2g2LjI4NnYxMC45NTNjMCAuNDctLjE1Mi43MDYtLjQ0LjcwNmwtLjY1OS0uMDM0Yy4xODYtLjM3LjMyMS0xLjAwOC40MDYtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIzLjIxOGgtLjMwNGMtLjIyIDAtLjMyMS0uMTM0LS4zMjEtLjM4NnYtMS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kxMy0uMzAzLS45MTMtLjkwOHYtNC40ODVoMTAuNDI1di03LjE5Wm0yOS44NTcgNi4zODR2Mi4wMzNoLTMuOTcxVjExLjczaDMuOTdabS0xOS4xMS00LjIzM0wzMS42IDhhMjguOCAyOC44IDAgMCAxIDEuMiA0LjA5OWwxLjUwMy0uMzdhMzUuMzc0IDM1LjM3NCAwIDAgMC0xLjItNC4yMzNabTUuNzk1LS4wNWMtLjM1NSAxLjY0Ni0uNzYgMy4wMjMtMS4yMzMgNC4wOTlsMS40Ny41MmMuNTIzLTEuMjEuOTYzLTIuNjA0IDEuMy00LjIxNkwzOC45IDcuNDQ2Wk0yNy45NSA0LjcwN2wtMS4yNSAxLjIxYzEuMi44NzMgMi4xMjkgMS42OTYgMi43NyAyLjQ3bDEuMjE3LTEuMjI3YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4Mi0uMjY5LTEuNjA1LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni40MzUgNy45bDEuNTcxLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiMzN0FEODMiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",at=ge(67294),nr=Object.defineProperty,Hr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,Gr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,va=(Xe,_e,Le)=>_e in Xe?nr(Xe,_e,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Xe[_e]=Le,hr=(Xe,_e)=>{for(var Le in _e||(_e={}))Fr.call(_e,Le)&&va(Xe,Le,_e[Le]);if(Gr)for(var Le of Gr(_e))Ar.call(_e,Le)&&va(Xe,Le,_e[Le]);return Xe},$r=(Xe,_e)=>Hr(Xe,wr(_e)),Sa=(Xe,_e,Le)=>new Promise((Kn,ti)=>{var Di=On=>{try{yi(Le.next(On))}catch(sn){ti(sn)}},Qi=On=>{try{yi(Le.throw(On))}catch(sn){ti(sn)}},yi=On=>On.done?Kn(On.value):Promise.resolve(On.value).then(Di,Qi);yi((Le=Le.apply(Xe,_e)).next())});const Fa={0:"\u672A\u63D0\u4EA4",1:"\u6309\u65F6\u63D0\u4EA4",2:"\u5EF6\u65F6\u63D0\u4EA4",3:"\u90E8\u5206\u63D0\u4EA4",4:"\u6309\u65F6\u63D0\u4EA4\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09",5:"\u672A\u63D0\u4EA4\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09",6:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09","-1":"\u91CD\u505A\u4E2D"},ya={0:"#4D5865",1:"#FFFFFF",2:"#AC4C0C",3:"#AC4C0C",4:"#FFFFFF",5:"#4D5865",6:"#FFFFFF","-1":"#FFFFFF"},bo={0:"#D0D8E0",1:"#37AD83",2:"#FFD28D",3:"#FFD28D",4:"#37AD83",5:"#D0D8E0",6:"#37AD83","-1":"#776FE8"},qi=({shixunHomeworks:Xe,globalSetting:_e,loading:Le,user:Kn,classroomList:ti,dispatch:Di})=>{var Qi,yi,On,sn,Qn,zr,uo,Li,Xi,ea,ba,eo,Oa,Cr,Pa,Wr,$i,_r,xo,gi,Bi,vr,ir,Er,ta,Gi,bi,Or;const[_i]=(0,ot.useSearchParams)(),Sn=(0,ot.useParams)(),[ra]=Ke.default.useForm(),[rs]=Ke.default.useForm(),{userInfo:ul}=Kn,{studentWorkDetail:$t,studentWorkCommon:xi,studentWorkSupplyDetail:cl,workList:Ku,workDetail:Hl,actionTabs:Ca}=Xe,[,Wl,dl,Ss]=(0,ye.U)(vt.wT,{userId:Sn==null?void 0:Sn.userId}),[,Gs,Cs,na]=(0,ye.U)(vt.Wr,{userId:Sn==null?void 0:Sn.userId}),[,Ho,as]=(0,ye.U)(vt.G$,{userId:Sn==null?void 0:Sn.userId,id:Sn==null?void 0:Sn.userId}),[Vs,ks]=(0,re.useState)("1"),[Kl,ys]=(0,re.useState)(!1),[Qa,hl]=(0,re.useState)({last:!1}),[co,fl]=(0,re.useState)({last:!1}),os=(0,re.useRef)(),[pl,Pi]=(0,re.useState)(!1),[Pr,Ga]=(0,re.useState)("");let[ka,Co]=(0,re.useState)([]);const[fu,pu]=(0,re.useState)(!1),Uu=(0,re.useRef)(),[vc,fs]=(0,re.useState)(!1),[ss,mu]=(0,re.useState)(""),[yc,Ul]=(0,re.useState)(!1),[Qu,bc]=(0,re.useState)(!1),[ls,xa]=(0,re.useState)(""),[wa,pa]=(0,re.useState)(!0),[to,ml]=nt.default.useModal(),[xc,gu]=(0,re.useState)(!1),[wc,nd]=(0,re.useState)(!1),[vu,Ql]=(0,re.useState)(!1),[Gl,Vl]=(0,re.useState)(!1),[yu,Yl]=(0,re.useState)(!1),[gl,bu]=(0,re.useState)(!1),[Ds,xu]=(0,re.useState)(!0),[Gu,Ys]=(0,re.useState)(!1),[Zl,Jl]=(0,re.useState)({content:"",type:""}),[za,vl]=(0,re.useState)({status:0}),Vu=[{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"id",ellipsis:!0,width:80,render:(un,oi,ho)=>ho+1},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"commit_time",ellipsis:!0,render:un=>Ye()(un).format("YYYY-MM-DD HH:mm")},{title:"\u63D0\u4EA4\u9636\u6BB5",dataIndex:"stage_name",ellipsis:!0,width:180,render:(un,oi)=>at.createElement(at.Fragment,null,un,oi!=null&&oi.is_redo?at.createElement("span",{style:{color:"#FF9D18"}},"\uFF08\u6253\u56DE\u91CD\u505A\uFF09"):(oi==null?void 0:oi.is_redo_commit)&&at.createElement("span",{style:{color:"#2FA34F"}},"\uFF08\u91CD\u505A\u63D0\u4EA4\uFF09"))},{title:"\u6559\u5E08\u8BC4\u5206",dataIndex:"teacher_score",ellipsis:!0},{title:"\u52A9\u6559\u8BC4\u5206",dataIndex:"teaching_asistant_score",ellipsis:!0},{title:"\u533F\u8BC4\u5F97\u5206",dataIndex:"student_score",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"history_id",ellipsis:!0,width:80,align:"right",render:(un,oi)=>at.createElement("a",{target:"_blank",href:`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${oi==null?void 0:oi.student_work_id}?history_id=${oi==null?void 0:oi.history_id}`},"\u67E5\u770B")}],_a=(un={key:""})=>{Di({type:"shixunHomeworks/setActionTabs",payload:un}),un.key===""&&(ra.resetFields(),rs.resetFields())},Da=()=>{Di({type:"shixunHomeworks/getStudentWorkCommon",payload:hr({is_invalid:!1,history_id:_i.get("history_id")},Sn)})},kr=un=>{let oi=0;for(let ho=0;ho<un.length;ho++)un[ho].score!=""&&(oi+=Number(un[ho].score));return oi.toFixed(2)},us=un=>Sa(void 0,null,function*(){var oi;$t!=null&&$t.single_score||(un.score=kr(un.score_details)),un.attachment_ids=(oi=un.attachment_ids)==null?void 0:oi.map(zs=>{var Js;return(Js=zs==null?void 0:zs.response)==null?void 0:Js.id}),pu(!0),(yield(0,vt.yy)($r(hr({},un),{userId:Sn.userId,is_hidden_comment:Gu}))).status===0&&(ra.resetFields(),Ys(!1),$t!=null&&$t.next_work_id?(Pe.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01\u5DF2\u4E3A\u60A8\u81EA\u52A8\u5207\u6362\u81F3\u4E0B\u4E00\u4E2A\u5F85\u8BC4\u9605\u7684\u5B66\u751F",2),Wo("read")):(Pe.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01",2),Da(),Jo())),Pi(!0),pu(!1)}),Wo=un=>Sa(void 0,null,function*(){const{comment:oi,score:ho,score_details:zs,attachment_ids:Js}=ra.getFieldsValue();let qs=!1;if($t!=null&&$t.single_score?qs=!(0,Tn.isNil)((ho==null?void 0:ho.length)==0?null:ho):zs==null||zs.some(Xs=>{if(!(0,Tn.isNil)(Xs!=null&&Xs.score?Xs==null?void 0:Xs.score:null))return qs=!0,!0}),oi||qs||Js){nt.default.confirm({centered:!0,okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:at.createElement("div",{className:"tc"},"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539"),onOk:()=>{ra.resetFields(),un==="last"?ot.history.push(_i.get("ids")?`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${co==null?void 0:co.student_work_id}?ids=${_i.get("ids")}&page=${_i.get("page")}`:`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${co==null?void 0:co.student_work_id}&page=${_i.get("page")}`):un==="read"?ot.history.push(_i.get("ids")?`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${Qa==null?void 0:Qa.student_work_id}?ids=${_i.get("ids")}&page=${_i.get("page")}`:`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${Qa==null?void 0:Qa.student_work_id}&page=${_i.get("page")}`):ot.history.push(`/classrooms/${Sn.coursesId}/common_homework/${Sn.categoryId}/detail?page=${_i.get("page")}`)}});return}un==="last"?ot.history.push(_i.get("ids")?`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${co==null?void 0:co.student_work_id}?ids=${_i.get("ids")}&page=${_i.get("page")}`:`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${co==null?void 0:co.student_work_id}&page=${_i.get("page")}`):un==="read"?ot.history.push(_i.get("ids")?`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${Qa==null?void 0:Qa.student_work_id}?ids=${_i.get("ids")}&page=${_i.get("page")}`:`/classrooms/${Sn==null?void 0:Sn.coursesId}/common_homework/${Sn==null?void 0:Sn.categoryId}/review/${Qa==null?void 0:Qa.student_work_id}&page=${_i.get("page")}`):ot.history.push(`/classrooms/${Sn.coursesId}/common_homework/${Sn.categoryId}/detail?page=${_i.get("page")}`)}),bs=un=>Sa(void 0,null,function*(){Ul(!0),(yield(0,Re.ZP)(`/api/homework_commons/${Sn.categoryId}/student_works/export_normal_word_all.json`,{method:"post",body:{with_edit:un,with_submit_record:wa}})).status===0&&(fs(!1),ot.history.push(`/classrooms/${Sn==null?void 0:Sn.coursesId}/exportlist/normal_work_list`)),Ul(!1)}),wu=un=>{Ul(!0),(0,En.Nd)("",`${ut.Z.API_SERVER}/api/student_works/${Sn.userId}/export_normal_word_single.json?with_edit=${un}&with_submit_record=${wa}`),Ul(!1),fs(!1)},ql=un=>{bc(un),mu("\u9644\u4EF6"),fs(!0)};(0,re.useEffect)(()=>{$t!=null&&$t.homework_id&&($t!=null&&$t.prev_work_id?fl({student_work_id:$t==null?void 0:$t.prev_work_id}):fl({last:!0}),$t!=null&&$t.next_work_id?hl({student_work_id:$t==null?void 0:$t.next_work_id}):hl({last:!0}))},[$t]),(0,re.useEffect)(()=>{const un=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");Di({type:"shixunHomeworks/getStudentWorkDetail",payload:$r(hr(hr({},Sn),un),{history_id:_i.get("history_id")||ls})}),Di({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:hr({},Sn)}),Da(),Vs=="3"&&Cs({userId:Sn==null?void 0:Sn.userId}),os.current.onclick=oi=>{oi.target.nodeName==="IMG"&&oi.target.alt!==""&&Fe.Z.publish("preview-image",oi.target.src)}},[Sn.categoryId,Sn.userId]),(0,re.useEffect)(()=>{$t!=null&&$t.score_details&&Co($t==null?void 0:$t.score_details.map(un=>$r(hr({},un),{score:""})))},[$t]),(0,re.useEffect)(()=>{ka.every(un=>un.score==="")?Pi(!0):Pi(!1)},[ka]);const Jo=()=>{const un=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");Di({type:"shixunHomeworks/getStudentWorkDetail",payload:$r(hr(hr({},Sn),un),{history_id:_i.get("history_id")||ls})}),Di({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:hr({},Sn)}),Di({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Sn.categoryId}})};(0,re.useEffect)(()=>{xa(_i.get("history_id")||"")},[_i.get("history_id")]),(0,re.useEffect)(()=>(Di({type:"classroomList/getAssistantPermissions",payload:{course_id:Sn.coursesId}}),Di({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Sn.categoryId}}),Di({type:"globalSetting/footerToggle",payload:!1}),()=>{Di({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,re.useEffect)(()=>{(0,Ee.Rm)()&&Di({type:"classroomList/getAssistantPermissions",payload:{course_id:Sn.coursesId}})},[(Qi=Kn==null?void 0:Kn.userInfo)==null?void 0:Qi.username]);const Ls=()=>{var un,oi,ho;return ls?!1:(0,Ee.G5)()||(0,Ee.Rm)()&&((oi=(un=ti==null?void 0:ti.AssistantObject)==null?void 0:un.practice)!=null&&oi.can_appraise)?!0:!!((0,Ee.dE)()&&((ho=$t==null?void 0:$t.homework_status)!=null&&ho.includes("\u533F\u8BC4\u4E2D"))&&!xi.is_author)},qo=(0,Ee.dE)()&&((yi=$t==null?void 0:$t.homework_status)==null?void 0:yi.includes("\u533F\u8BC4\u4E2D"))&&!xi.is_author,[Zs,Au]=(0,re.useState)(!1),[Eu,xs]=(0,re.useState)(!1),[Xl,yl]=(0,re.useState)(!1),Mu=un=>{const oi=un.currentTarget;oi.scrollHeight>oi.clientHeight&&Au(!0)},$l=un=>{const oi=un.currentTarget;oi.scrollHeight>oi.clientHeight&&xs(!0)},Su=un=>{const oi=un.currentTarget;oi.scrollHeight>oi.clientHeight&&yl(!0)};return(0,re.useEffect)(()=>{var un;!($t!=null&&$t.single_score)&&ra.setFieldValue("score_details",(un=$t==null?void 0:$t.score_details)==null?void 0:un.map(oi=>hr({},oi)))},[$t]),at.createElement("section",{className:"edu-container",ref:os,style:{width:Ls()?"100%":"1200px",overflow:"hidden",overflowX:"auto"}},at.createElement("div",{style:(0,Ee.bg)()&&Ls()?{minWidth:"1200px"}:{}},at.createElement("section",{className:"animated fadeIn"},at.createElement("div",{style:{height:"52px",background:"#FFFFFF",marginBottom:"10px",padding:"0 20px",display:"flex",alignItems:"center"}},at.createElement("div",{style:{cursor:"pointer",display:"flex",alignItems:"center"},onClick:()=>{Wo("list")}},at.createElement("img",{src:Jn}),at.createElement("div",{style:{fontWeight:400,color:"#666666",marginLeft:"5px",fontSize:"16px"}},"\u8FD4\u56DE")),at.createElement("div",{className:dt.top_content},!qo&&($t==null?void 0:$t.image_url)&&at.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/${$t==null?void 0:$t.image_url}`,className:dt.top_content_img}),at.createElement("div",{className:dt.item_content},at.createElement("div",{className:dt.item_name,style:{height:qo?"40px":"20px",lineHeight:qo?"40px":"20px"}},$t==null?void 0:$t.author_name,!qo&&at.createElement("span",{className:dt.item_tags,style:{color:ya[$t==null?void 0:$t.work_status],background:bo[$t==null?void 0:$t.work_status]}},Fa[$t==null?void 0:$t.work_status])),!qo&&(($t==null?void 0:$t.student_id)||($t==null?void 0:$t.group_name))&&at.createElement("div",{className:dt.item_code},at.createElement("span",null,"\u5B66\u53F7\uFF1A",$t==null?void 0:$t.student_id),at.createElement("span",{style:{marginLeft:"20px"}},"\u73ED\u7EA7\uFF1A",$t==null?void 0:$t.group_name)))),at.createElement("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center"}},(($t==null?void 0:$t.score_given_user)||($t==null?void 0:$t.score_given_user)==0)&&!ls&&at.createElement("div",{className:"mr10 font24",style:{fontWeight:600,color:"#009C0F"}},$t==null?void 0:$t.score_given_user,at.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ls&&at.createElement("span",{style:{padding:"3px",marginRight:30,background:"rgba(219,243,224,0.88)",color:"#1FBE3C",fontSize:"12px"}},"\u7B2C",$t==null?void 0:$t.commit_count,"\u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A"),ls&&at.createElement("div",{className:dt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px",marginRight:10,height:32,cursor:"pointer"},onClick:()=>{_a({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},at.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),at.createElement("span",{style:{marginLeft:5}},"\u4F5C\u4E1A\u63CF\u8FF0")),!ls&&at.createElement("div",null,!((0,Ee.dE)()&&xi.is_author)&&($t!=null&&$t.rated_already?at.createElement("img",{src:tr,style:{margin:"0 20px 0 0"}}):at.createElement("img",{src:ei,style:{marginRight:"20px"}}))),(0,Ee.dE)()&&xi.is_author?at.createElement(at.Fragment,null):($t==null?void 0:$t.have_history_comment)&&at.createElement(Te.ZP,{className:dt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px"},icon:at.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),onClick:()=>{_a({key:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"})}},"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"),!ls&&(0,Ee.G5)()&&at.createElement(Qe.Z,{menu:{items:[{label:at.createElement("div",{onClick:()=>{ql(!1)}},"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"1"},{label:at.createElement("div",{onClick:()=>{ql(!0)}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"2"}]}},at.createElement("div",{className:`${dt.daochu} ${dt.buttonStyle}`},"\u5BFC\u51FA",at.createElement("i",{className:"iconfont icon-a-xialazhankai",style:{fontSize:"6px",marginLeft:"6px"}})))))),at.createElement("div",{style:{display:"flex"}},Ds&&Ls()&&at.createElement("div",{className:dt.left_content},at.createElement("div",{className:dt.left_title},at.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),at.createElement("span",{className:"ml10"},"\u4F5C\u4E1A\u63CF\u8FF0"),at.createElement("span",{className:dt.see_work,onClick:()=>{_a({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},"\u67E5\u770B")),at.createElement("div",{className:dt.left_list},at.createElement("div",{className:dt.list_title},at.createElement("div",{style:{width:"5px",height:"10px",background:"#3061D0"}}),at.createElement("span",{style:{color:"#171717",fontWeight:600,marginLeft:"10px"}},"\u8BC4\u9605\u4EFB\u52A1"),at.createElement("span",{style:{marginLeft:"auto",color:"#333333"}},"\u5DF2\u8BC4"),at.createElement("span",{style:{color:"#009C0F",margin:"0 20px 0 8px",fontWeight:600}},$t==null?void 0:$t.commented_size),at.createElement("span",{style:{color:"#333333",marginRight:"8px"}},"\u672A\u8BC4"),at.createElement("span",{style:{color:"#FA6400",fontWeight:600}},$t==null?void 0:$t.no_commented_size)),at.createElement("div",{className:`${dt.list_box} ${Zs?"":dt.hiddenBar}`,onMouseEnter:Mu,onMouseLeave:()=>Au(!1)},(On=$t==null?void 0:$t.all_student_works)==null?void 0:On.map(un=>{var oi;return at.createElement("div",{className:dt.list_item,style:{background:(oi=Sn==null?void 0:Sn.userId)!=null&&oi.includes(un==null?void 0:un.student_work_id)?"#F1F4F9":""},onClick:()=>{ot.history.push(un==null?void 0:un.url)}},at.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/${un==null?void 0:un.image_url}`,className:dt.item_img,style:{filter:qo&&"blur(10px)",border:qo&&"none"}}),at.createElement("div",{className:dt.item_content},at.createElement("div",{className:dt.item_name,style:{height:qo?"40px":"20px",lineHeight:qo?"40px":"20px"}},un==null?void 0:un.username),!qo&&at.createElement("div",{className:dt.item_code},"\u5B66\u53F7\uFF1A",un==null?void 0:un.student_id)),at.createElement("div",{className:dt.item_states,style:{color:(un==null?void 0:un.score)=="\u5F85\u8BC4"?"#FA6400":"#009C0F"}},un==null?void 0:un.score,(un==null?void 0:un.score)!="\u5F85\u8BC4"&&"\u5206"))})))),Ls()&&at.createElement("div",{className:Ds?dt.foldClose:dt.foldOpen,onClick:()=>xu(!Ds)},Ds&&at.createElement(we.Z,{placement:"right",title:"\u6536\u8D77"},at.createElement("span",{className:"icon-zuojiantou iconfont c-grey-c"})),!Ds&&at.createElement(we.Z,{placement:"right",title:"\u5C55\u5F00"},at.createElement("span",{className:"icon-youjiantou iconfont",style:{color:"#3061D0"}}))),at.createElement("div",{style:{flex:1,margin:Ls()?"0 20px 0 5px":"auto",minWidth:"600px"}},at.createElement(Me.default,{className:dt.TabsStyle,destroyInactiveTabPane:!0,defaultActiveKey:"1",activeKey:Vs,tabBarExtraContent:at.createElement(at.Fragment,null,!ls&&($t==null?void 0:$t.commit_count)>1&&at.createElement(Te.ZP,{style:{border:"none",color:"#3061D0",display:"flex",alignItems:"center",padding:0},icon:at.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),loading:Wl,onClick:()=>Sa(void 0,null,function*(){yield dl({},!0),_a({key:"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55"})})},"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55")),onChange:un=>{ks(un),un=="2"&&ot.history.push(`/classrooms/${Sn.coursesId}/common_homework/${Sn.categoryId}/lab-report-view/${Sn.userId}`),un=="3"&&Cs({})}},at.createElement(Me.default.TabPane,{tab:at.createElement("span",{style:{position:"relative"}},"\u5B66\u751F\u4F5C\u4E1A",at.createElement(we.Z,{title:at.createElement("span",{className:"font14"},"\uFF08\u5F53\u524D\u652F\u6301\u6279\u6CE8\u7684\u6587\u6863\u7C7B\u578B\uFF1A.docx\u3001.xlsx\u3001.pptx\uFF09")},at.createElement("i",{className:"iconfont icon-tishixiaowenhao ml10 font14 c-grey-999 current",style:{lineHeight:"18px"}}))),key:"1"}),($t==null?void 0:$t.anonymous_comment)&&!ls&&at.createElement(Me.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"3"})),at.createElement("div",{className:`${Eu?"":dt.hiddenBar}`,onMouseEnter:$l,onMouseLeave:()=>xs(!1),style:{overflowY:"auto",height:"calc(100vh - 180px)"}},at.createElement(Ge.Z,{spinning:Gs||!!Le["shixunHomeworks/getStudentWorkDetail"]||!!Le["shixunHomeworks/getStudentWorkSupplyDetail"]},at.createElement("div",{key:"1",style:{display:Vs==="1"?"block":"none"}},at.createElement("div",{style:{background:"#F5F6F8",padding:"20px"}},at.createElement("div",{className:dt.center_top},at.createElement("div",{className:dt.center_top_title},at.createElement("img",{src:ii}),at.createElement("span",{className:"ml5",style:{color:"#3061D0",fontWeight:600}},"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),($t==null?void 0:$t.update_time)&&at.createElement(at.Fragment,null,at.createElement("span",{style:{marginLeft:"auto",cursor:"pointer",color:"#333333"}},Ye()($t==null?void 0:$t.update_time).format("YYYY-MM-DD HH:mm")),at.createElement("span",{className:"ml10",style:{color:"#333333"}},"\u66F4\u65B0"))),at.createElement("div",{className:dt.center_top_content},at.createElement(gn.Z,{value:($t==null?void 0:$t.description)||"\u6682\u65E0\uFF5E"}),at.createElement(ue.Z,{authority:(0,Ee.GJ)(),dataSource:$t==null?void 0:$t.attachments,callback:()=>{Di({type:"shixunHomeworks/getStudentWorkDetail",payload:hr({},Sn)})}})))),(($t==null?void 0:$t.work_score)||($t==null?void 0:$t.work_score)==0)&&!ls&&at.createElement(Ui,{dataInfo:$t,handleCloseOrOpenModal:un=>{_a(un)}})),at.createElement("div",{key:"3",style:{display:Vs==="3"?"block":"none"}},at.createElement("div",{style:{background:"#fff",display:"flex",flexDirection:"column",padding:"10px 30px 30px 30px"}},((sn=na==null?void 0:na.data)==null?void 0:sn.count)>0?at.createElement(at.Fragment,null,(zr=(Qn=na==null?void 0:na.data)==null?void 0:Qn.list)==null?void 0:zr.map((un,oi)=>at.createElement(Se,{key:oi,type:"feedback",Data:$r(hr({},un),{time:un==null?void 0:un.created_at,user_info:{user_image_url:un.avatar_url,user_id:un.user_id,user_name:un.real_name}}),getInitData:Da,updateData:Jo,shixunHomeworks:Xe}))):at.createElement(me.Z,null)))),(uo=xi==null?void 0:xi.teacher_list)!=null&&uo.length?at.createElement("div",{className:dt.pingyue},at.createElement("div",{className:dt.pingyue_title},at.createElement("img",{src:Ln,style:{marginRight:"5px"}}),at.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u6559\u5E08\u8BC4\u9605"),(($t==null?void 0:$t.teacher_score)||($t==null?void 0:$t.teacher_score)==0)&&at.createElement("div",{className:dt.pingyue_score},at.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},$t==null?void 0:$t.teacher_score,at.createElement("span",{style:{fontSize:"14px"}},"\u5206")),at.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",($t==null?void 0:$t.teacher_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),at.createElement("div",{style:{padding:"20px"}},at.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px"}},(Li=xi==null?void 0:xi.teacher_list)!=null&&Li.length?(Xi=vu?xi==null?void 0:xi.teacher_list:xi==null?void 0:xi.teacher_list.slice(0,3))==null?void 0:Xi.map((un,oi)=>at.createElement(Se,{key:oi,index:oi,type:za.status==1&&"teacher",Data:$r(hr({},un),{user_info:{user_image_url:un.user_image_url,user_login:un.user_login,user_name:un.user_name}}),getInitData:Da,updateData:Jo,shixunHomeworks:Xe})):at.createElement(me.Z,{styles:{margin:"50px auto"}}),((ea=xi==null?void 0:xi.teacher_list)==null?void 0:ea.length)>3&&!vu&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ql(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((ba=xi==null?void 0:xi.teacher_list)==null?void 0:ba.length)>3&&vu&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ql(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")),((eo=xi==null?void 0:xi.hidden_comment_scores)==null?void 0:eo.length)>0&&at.createElement("div",{className:dt.pingyue_teacher_title},at.createElement("img",{src:Ji,style:{marginRight:"5px"}}),at.createElement("div",{style:{color:"#CA7720",fontWeight:600}},"\u4EC5\u6559\u5E08\u53EF\u89C1\u8BC4\u8BED")),((Oa=xi==null?void 0:xi.hidden_comment_scores)==null?void 0:Oa.length)>0&&at.createElement("div",{style:{display:"flex",flexDirection:"column"}},(Cr=xi==null?void 0:xi.hidden_comment_scores)!=null&&Cr.length?(Pa=Gl?xi==null?void 0:xi.hidden_comment_scores:xi==null?void 0:xi.hidden_comment_scores.slice(0,3))==null?void 0:Pa.map((un,oi)=>at.createElement(Se,{newType:"teacher",key:oi,index:oi,type:za.status==1&&"teacher",Data:$r(hr({},un),{user_info:{user_image_url:un.user_image_url,user_login:un.user_login,user_name:un.user_name}}),getInitData:Da,updateData:Jo,shixunHomeworks:Xe})):at.createElement(me.Z,{styles:{margin:"50px auto"}}),((Wr=xi==null?void 0:xi.hidden_comment_scores)==null?void 0:Wr.length)>3&&!Gl&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Vl(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),(($i=xi==null?void 0:xi.hidden_comment_scores)==null?void 0:$i.length)>3&&Gl&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Vl(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")))):null,(_r=xi==null?void 0:xi.teaching_assistant_list)!=null&&_r.length?at.createElement("div",{className:dt.pingyue,style:{marginTop:"20px"}},at.createElement("div",{className:dt.pingyue_title},at.createElement("img",{src:Ln,style:{marginRight:"5px"}}),at.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u52A9\u6559\u8BC4\u9605"),(($t==null?void 0:$t.teaching_asistant_score)||($t==null?void 0:$t.teaching_asistant_score)==0)&&at.createElement("div",{className:dt.pingyue_score},at.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},$t==null?void 0:$t.teaching_asistant_score,at.createElement("span",{style:{fontSize:"14px"}},"\u5206")),at.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",($t==null?void 0:$t.ta_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),at.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(xo=xi==null?void 0:xi.teaching_assistant_list)!=null&&xo.length?(gi=yu?xi==null?void 0:xi.teaching_assistant_list:xi==null?void 0:xi.teaching_assistant_list.slice(0,3))==null?void 0:gi.map((un,oi)=>at.createElement(Se,{key:oi,index:oi,type:za.status==1&&"teacher",Data:$r(hr({},un),{user_info:{user_image_url:un.user_image_url,user_login:un.user_login,user_name:un.user_name}}),getInitData:Da,updateData:Jo,shixunHomeworks:Xe})):at.createElement(me.Z,{styles:{margin:"50px auto"}}),((Bi=xi==null?void 0:xi.teaching_assistant_list)==null?void 0:Bi.length)>3&&!yu&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Yl(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((vr=xi==null?void 0:xi.teaching_assistant_list)==null?void 0:vr.length)>3&&yu&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Yl(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null,(ir=xi==null?void 0:xi.student_list)!=null&&ir.length?at.createElement("div",{className:dt.pingyue,style:{marginTop:"20px"}},at.createElement("div",{className:dt.pingyue_title},at.createElement("img",{src:Ln,style:{marginRight:"5px"}}),at.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u533F\u8BC4\u8BC4\u9605"),(($t==null?void 0:$t.student_score)||($t==null?void 0:$t.student_score)==0)&&at.createElement("div",{className:dt.pingyue_score},at.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},$t==null?void 0:$t.student_score,at.createElement("span",{style:{fontSize:"14px"}},"\u5206")),at.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08\u5E73\u5747\u8BC4\u5206\uFF09"))),at.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(Er=xi==null?void 0:xi.student_list)!=null&&Er.length?(ta=gl?xi==null?void 0:xi.student_list:xi==null?void 0:xi.student_list.slice(0,3))==null?void 0:ta.map((un,oi)=>at.createElement(Se,{showNm:!0,showName:!(0,Ee.dE)(),key:oi,index:oi,type:za.status==1&&"teacher",Data:$r(hr({},un),{user_info:{user_image_url:un.user_image_url,user_login:un.user_login,user_name:un.user_name}}),getInitData:Da,updateData:Jo,shixunHomeworks:Xe})):at.createElement(me.Z,{styles:{margin:"50px auto"}}),((Gi=xi==null?void 0:xi.student_list)==null?void 0:Gi.length)>3&&!gl&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{bu(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((bi=xi==null?void 0:xi.student_list)==null?void 0:bi.length)>3&&gl&&at.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{bu(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null)),Ls()&&at.createElement("div",{style:{padding:"15px",height:"calc(100vh - 143px)",overflowY:"auto",background:"#ffffff"},className:`${dt.right_content} ${Xl?"":dt.hiddenBar}`,onMouseEnter:Su,onMouseLeave:()=>yl(!1)},at.createElement(Ke.default,{form:ra,layout:"vertical",size:"large",className:dt.right_form,style:{position:"relative"},scrollToFirstError:!0,onFinish:un=>{us(un)}},at.createElement("div",{className:"blod font16 mb10",style:{color:"#191919"}},"\u8BC4\u9605"),at.createElement(sr,{FormProps:{form:ra},isShowStyles:!1}),at.createElement(Ke.default.Item,{name:"attachment_ids",className:"mb20",style:{marginTop:"-12px"}},at.createElement($n.Z,null)),(0,Ee.GJ)()&&at.createElement("div",null,at.createElement(Ke.default.Item,{name:"hidden_comment",style:{background:"#F6F7F9",height:"50px",display:"flex",alignItems:"center",padding:"0 20px"}},at.createElement(Ve.default,{onChange:un=>{var oi;Ys((oi=un==null?void 0:un.target)==null?void 0:oi.checked)}},"\u8BC4\u8BED\u4EC5\u8BFE\u5802\u6559\u5E08\u53EF\u89C1")))),at.createElement("div",null,at.createElement(Te.ZP,{loading:fu,style:{width:"100%",height:"40px",background:"#3061D0",borderRadius:"7px"},type:"primary",onClick:()=>{ra.submit()}}," \u63D0\u4EA4\u8BC4\u9605 ")),at.createElement("div",{style:{display:"flex",marginTop:"20px",justifyContent:"space-between"}},($t==null?void 0:$t.is_new_rule)&&(0,Ee.G5)()&&$t.work_status!==-1&&$t.work_status!==0&&at.createElement(Te.ZP,{className:dt.btnAdd,onClick:()=>{_a({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!($t!=null&&$t.is_new_rule)&&(0,Ee.G5)()&&["\u63D0\u4EA4\u4E2D","\u8865\u4EA4\u4E2D","\u8FDB\u884C\u4E2D"].some(un=>{var oi;return(oi=$t==null?void 0:$t.homework_status)==null?void 0:oi.includes(un)})&&at.createElement(Te.ZP,{className:dt.btnAdd,onClick:()=>{_a({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!($t!=null&&$t.is_author)&&(0,Ee.dE)()&&((Or=$t==null?void 0:$t.homework_status)==null?void 0:Or.includes("\u533F\u8BC4\u4E2D"))&&_i.get("review")!=="review"&&at.createElement(Te.ZP,{className:dt.btnAdd,onClick:()=>{_a({key:"\u95EE\u9898\u53CD\u9988"})}}," \u95EE\u9898\u53CD\u9988 "),at.createElement(Te.ZP,{className:`${!(co!=null&&co.last)&&dt.btnAdd} ${dt.lastAdd}`,style:{display:"flex",alignItems:"center"},onClick:()=>Wo("last"),disabled:co==null?void 0:co.last},at.createElement("i",{className:"iconfont icon-zuojiantou font12 mr5"})," \u4E0A\u4E00\u4E2A "),at.createElement(Te.ZP,{className:!(Qa!=null&&Qa.last)&&dt.btnAdd,style:{display:"flex",alignItems:"center"},disabled:Qa==null?void 0:Qa.last,onClick:()=>Wo("read")},"\u4E0B\u4E00\u4E2A ",at.createElement("i",{className:"iconfont icon-youjiantou font12 ml5"})))))),at.createElement(jt,null),at.createElement(vn,{studentWorkDetail:$t}),at.createElement(et.Z,null),at.createElement(nt.default,{title:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A",open:(Ca==null?void 0:Ca.key)=="\u786E\u8BA4\u6253\u56DE\u91CD\u505A",destroyOnClose:!0,forceRender:!0,width:700,onCancel:()=>{_a("")},onOk:()=>Sa(void 0,null,function*(){if(!Pr){Pe.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}const un=yield(0,Re.ZP)(`/api/student_works/${Sn.userId}/redo_modal.json`,{method:"post",body:{comment:Pr,id:Sn.userId}});(un==null?void 0:un.status)===0&&(Pe.ZP.info("\u6253\u56DE\u91CD\u505A\u6210\u529F"),_a(""),Da(),Jo())})},at.createElement("div",{style:{padding:"32px"}},at.createElement("span",null,"\u786E\u8BA4\u5C06",$t==null?void 0:$t.author_name,"\u7684\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417"),at.createElement("div",{style:{marginTop:"20px"}},at.createElement("label",null,at.createElement("span",{style:{marginRight:"5px",color:"red"}},"*"),"\u8BC4\u8BED\uFF1A"),at.createElement(je.Z,{className:dt.MdEditor,onChange:un=>Ga(un),defaultValue:"",height:250})))),at.createElement(ze.Z,{close:!0,data:Zl==null?void 0:Zl.content,type:Zl==null?void 0:Zl.type,hasMask:!0,monacoEditor:{value:Uu.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>Jl({content:"",type:""})}),at.createElement(nt.default,{width:675,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:vc,confirmLoading:yc,centered:!0,onCancel:()=>fs(!1),onOk:()=>{ss=="\u9644\u4EF6"?Qu?bs(!1):wu(!1):ss=="\u6279\u6CE8"&&(Qu?bs(!0):wu(!0))}},at.createElement(Ve.default,{checked:wa,onChange:un=>{pa(un.target.checked)}},"\u540C\u65F6\u5BFC\u51FA\u5B66\u751F\u63D0\u4EA4\u8BB0\u5F55"),at.createElement("div",{className:dt.export_type_modal_title},"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u9644\u4EF6\u7C7B\u578B"),at.createElement("div",{className:dt.export_type_modal},at.createElement("div",{className:dt.export_type_modal_con},at.createElement("div",{className:`${dt.type_item} ${ss=="\u9644\u4EF6"?dt.type_item_active:""}`,onClick:()=>mu("\u9644\u4EF6")},at.createElement("div",{className:`${dt.img_warp}`},at.createElement("img",{src:de.Z,width:72,height:80})),at.createElement("span",null,"\u5B66\u751F\u63D0\u4EA4\u7684\u9644\u4EF6")),at.createElement("div",{className:`${dt.type_item} ${ss=="\u6279\u6CE8"?dt.type_item_active:""}`,onClick:()=>mu("\u6279\u6CE8")},at.createElement("div",{className:`${dt.img_warp}`},at.createElement("img",{src:le.Z,width:99,height:80})),at.createElement("span",null,"\u5305\u542B\u6279\u6CE8\u5185\u5BB9\u7684\u9644\u4EF6"))),at.createElement("div",{className:dt.export_type_modal_waring},"\u5982\u5B66\u751F\u672A\u4E0A\u4F20\u9644\u4EF6\uFF0C\u4EC5\u4F1A\u5BFC\u51FA\u8BE5\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u9898\u8BB0\u5F55"))),at.createElement(nt.default,{title:Ca==null?void 0:Ca.key,open:(Ca==null?void 0:Ca.key)=="\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55",centered:!0,destroyOnClose:!0,width:969,footer:null,onCancel:()=>_a("")},at.createElement(Ne.default,{locale:{emptyText:at.createElement(me.Z,null)},columns:Vu,dataSource:Ss==null?void 0:Ss.student_works,pagination:!1})),at.createElement(nt.default,{title:Ca==null?void 0:Ca.key,open:(Ca==null?void 0:Ca.key)=="\u95EE\u9898\u53CD\u9988",centered:!0,destroyOnClose:!0,width:700,onCancel:()=>{_a(""),rs.resetFields()},confirmLoading:Ho,onOk:()=>{rs.submit()}},at.createElement(Ke.default,{form:rs,onFinish:un=>Sa(void 0,null,function*(){const oi=yield as({userId:Sn==null?void 0:Sn.userId,id:Sn==null?void 0:Sn.userId,student_work_feedback:hr({},un)});(oi==null?void 0:oi.status)==0&&(Pe.ZP.success("\u63D0\u4EA4\u6210\u529F"),_a(""),rs.resetFields(),Cs({}),Da())})},at.createElement("div",{className:"mb20 p20 pt10 pb10 c-grey-333",style:{background:"#F6F7F9"}}," \u5982\u679C\u4F5C\u54C1\u65E0\u6CD5\u533F\u8BC4\uFF0C\u8BF7\u63CF\u8FF0\u95EE\u9898\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u8FDB\u884C\u53CD\u9988\u3002\u53CD\u9988\u540E\u7CFB\u7EDF\u5C06\u4E0D\u4F1A\u6263\u9664\u7F3A\u8BC4\u5206\u6570\u3002"),at.createElement(Ke.default.Item,{className:"mb0",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]},at.createElement(ct.default.TextArea,{rows:6,placeholder:"\u4F8B\u5982\uFF1A\u4F5C\u54C1\u63D0\u4EA4\u7684\u9644\u4EF6\u4E0D\u6E05\u6670",maxLength:200})))),at.createElement(Vi,{ModalProps:{open:(Ca==null?void 0:Ca.key)=="\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",onCancel:()=>{_a("")},onOk:()=>{_a("")}}}),at.createElement(wi,{ModalProps:{open:(Ca==null?void 0:Ca.key)=="\u5F97\u5206\u8BE6\u60C5",onCancel:()=>{_a("")},onOk:()=>{_a("")}}}),at.createElement(Dr,{ModalProps:{open:(Ca==null?void 0:Ca.key)=="\u4F5C\u4E1A\u63CF\u8FF0",footer:[at.createElement(Te.ZP,{type:"primary",onClick:()=>_a("")},"\u786E\u5B9A")],onCancel:()=>{_a("")}}}))};var Zo=(0,ot.connect)(({shixunHomeworks:Xe,loading:_e,user:Le,globalSetting:Kn,classroomList:ti})=>({shixunHomeworks:Xe,globalSetting:Kn,user:Le,loading:_e.effects,classroomList:ti}))(qi)},4440:function(wt,Wt,ge){"use strict";ge.d(Wt,{$J:function(){return Ke},JZ:function(){return Pe},bN:function(){return Qe},jP:function(){return Te},rO:function(){return nt}});var re=ge(33170),ot=(we,Me,Ge)=>new Promise((Ve,Ne)=>{var ct=je=>{try{Re(Ge.next(je))}catch(Fe){Ne(Fe)}},et=je=>{try{Re(Ge.throw(je))}catch(Fe){Ne(Fe)}},Re=je=>je.done?Ve(je.value):Promise.resolve(je.value).then(ct,et);Re((Ge=Ge.apply(we,Me)).next())});function Ke(we){return(0,re.U2)(`libraries/${we}.json`)}function nt(we){return(0,re.U2)("library_tags.json",we)}function Pe(we){return ot(this,null,function*(){return(yield(0,re.IV)(`attachments/${we}.json`)).status===0})}function Te(we){return(0,re.v_)("libraries.json",we)}function Qe(we,Me){return(0,re.gz)(`libraries/${we}.json`,Me)}},9343:function(wt,Wt,ge){"use strict";ge.d(Wt,{U:function(){return Me}});var re=ge(67294),ot=Object.defineProperty,Ke=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Te=(Ge,Ve,Ne)=>Ve in Ge?ot(Ge,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Ge[Ve]=Ne,Qe=(Ge,Ve)=>{for(var Ne in Ve||(Ve={}))nt.call(Ve,Ne)&&Te(Ge,Ne,Ve[Ne]);if(Ke)for(var Ne of Ke(Ve))Pe.call(Ve,Ne)&&Te(Ge,Ne,Ve[Ne]);return Ge},we=(Ge,Ve,Ne)=>new Promise((ct,et)=>{var Re=ze=>{try{Fe(Ne.next(ze))}catch(ft){et(ft)}},je=ze=>{try{Fe(Ne.throw(ze))}catch(ft){et(ft)}},Fe=ze=>ze.done?ct(ze.value):Promise.resolve(ze.value).then(Re,je);Fe((Ne=Ne.apply(Ge,Ve)).next())});function Me(Ge,Ve){const[Ne,ct]=(0,re.useState)(Ve),[et,Re]=(0,re.useState)(!1),[je,Fe]=(0,re.useState)();return[Ne,et,(ft,Ye=!1)=>we(this,null,function*(){const ut=Ye?Ve:Qe(Qe({},Ne),ft);Re(!0),ct(ut);const vt=yield Ge(ut);return Re(!1),Fe(vt),vt}),je,Fe]}},81643:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return re}});const re=ot=>ot?typeof ot=="function"?ot():ot:null},26412:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return $n}});var re=ge(67294),ot=ge(94184),Ke=ge.n(ot),nt=ge(74443),Pe=ge(53124),Te=ge(98675),Qe=ge(25378),Me={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Ve=re.createContext({}),Ne=ge(37419),ct=function(ke,xe){var $e={};for(var ht in ke)Object.prototype.hasOwnProperty.call(ke,ht)&&xe.indexOf(ht)<0&&($e[ht]=ke[ht]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ht=Object.getOwnPropertySymbols(ke);kt<ht.length;kt++)xe.indexOf(ht[kt])<0&&Object.prototype.propertyIsEnumerable.call(ke,ht[kt])&&($e[ht[kt]]=ke[ht[kt]]);return $e};const et=ke=>(0,Ne.Z)(ke).map(xe=>Object.assign({},xe==null?void 0:xe.props));function Re(ke,xe,$e){const ht=re.useMemo(()=>xe||et($e),[xe,$e]);return re.useMemo(()=>ht.map(rt=>{var{span:Ue}=rt,Ct=ct(rt,["span"]);return Object.assign(Object.assign({},Ct),{span:typeof Ue=="number"?Ue:(0,nt.m9)(ke,Ue)})}),[ht,ke])}function je(ke,xe,$e){let ht=ke;return($e===void 0||$e>xe)&&(ht=Object.assign(Object.assign({},ke),{span:xe})),ht}function Fe(ke,xe){const $e=[];let ht=[],kt=xe;return ke.filter(rt=>rt).forEach((rt,Ue)=>{const Ct=rt==null?void 0:rt.span,fn=Ct||1;if(Ue===ke.length-1){ht.push(je(rt,kt,Ct)),$e.push(ht);return}fn<kt?(kt-=fn,ht.push(rt)):(ht.push(je(rt,kt,fn)),$e.push(ht),kt=xe,ht=[])}),$e}var ft=(ke,xe)=>(0,re.useMemo)(()=>Fe(xe,ke),[xe,ke]),ut=ke=>{let{children:xe}=ke;return xe};function vt(ke){return ke!=null}var yt=ke=>{const{itemPrefixCls:xe,component:$e,span:ht,className:kt,style:rt,labelStyle:Ue,contentStyle:Ct,bordered:fn,label:Et,content:Nt,colon:Rt}=ke,vn=$e;return fn?re.createElement(vn,{className:Ke()({[`${xe}-item-label`]:vt(Et),[`${xe}-item-content`]:vt(Nt)},kt),style:rt,colSpan:ht},vt(Et)&&re.createElement("span",{style:Ue},Et),vt(Nt)&&re.createElement("span",{style:Ct},Nt)):re.createElement(vn,{className:Ke()(`${xe}-item`,kt),style:rt,colSpan:ht},re.createElement("div",{className:`${xe}-item-container`},(Et||Et===0)&&re.createElement("span",{className:Ke()(`${xe}-item-label`,{[`${xe}-item-no-colon`]:!Rt}),style:Ue},Et),(Nt||Nt===0)&&re.createElement("span",{className:Ke()(`${xe}-item-content`),style:Ct},Nt)))};function _t(ke,xe,$e){let{colon:ht,prefixCls:kt,bordered:rt}=xe,{component:Ue,type:Ct,showLabel:fn,showContent:Et,labelStyle:Nt,contentStyle:Rt}=$e;return ke.map((vn,En)=>{let{label:Ee,children:de,prefixCls:le=kt,className:ye,style:me,labelStyle:ue,contentStyle:Ie,span:tt=1,key:Lt}=vn;return typeof Ue=="string"?re.createElement(yt,{key:`${Ct}-${Lt||En}`,className:ye,style:me,labelStyle:Object.assign(Object.assign({},Nt),ue),contentStyle:Object.assign(Object.assign({},Rt),Ie),span:tt,colon:ht,component:Ue,itemPrefixCls:le,bordered:rt,label:fn?Ee:null,content:Et?de:null}):[re.createElement(yt,{key:`label-${Lt||En}`,className:ye,style:Object.assign(Object.assign(Object.assign({},Nt),me),ue),span:1,colon:ht,component:Ue[0],itemPrefixCls:le,bordered:rt,label:Ee}),re.createElement(yt,{key:`content-${Lt||En}`,className:ye,style:Object.assign(Object.assign(Object.assign({},Rt),me),Ie),span:tt*2-1,component:Ue[1],itemPrefixCls:le,bordered:rt,content:de})]})}var Tt=ke=>{const xe=re.useContext(Ve),{prefixCls:$e,vertical:ht,row:kt,index:rt,bordered:Ue}=ke;return ht?re.createElement(re.Fragment,null,re.createElement("tr",{key:`label-${rt}`,className:`${$e}-row`},_t(kt,ke,Object.assign({component:"th",type:"label",showLabel:!0},xe))),re.createElement("tr",{key:`content-${rt}`,className:`${$e}-row`},_t(kt,ke,Object.assign({component:"td",type:"content",showContent:!0},xe)))):re.createElement("tr",{key:rt,className:`${$e}-row`},_t(kt,ke,Object.assign({component:Ue?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},xe)))},Bt=ge(14747),Je=ge(67968),Ot=ge(45503);const pt=ke=>{const{componentCls:xe,labelBg:$e}=ke;return{[`&${xe}-bordered`]:{[`> ${xe}-view`]:{border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${xe}-row`]:{borderBottom:`${ke.lineWidth}px ${ke.lineType} ${ke.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${xe}-item-label, > ${xe}-item-content`]:{padding:`${ke.padding}px ${ke.paddingLG}px`,borderInlineEnd:`${ke.lineWidth}px ${ke.lineType} ${ke.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${xe}-item-label`]:{color:ke.colorTextSecondary,backgroundColor:$e,"&::after":{display:"none"}}}},[`&${xe}-middle`]:{[`${xe}-row`]:{[`> ${xe}-item-label, > ${xe}-item-content`]:{padding:`${ke.paddingSM}px ${ke.paddingLG}px`}}},[`&${xe}-small`]:{[`${xe}-row`]:{[`> ${xe}-item-label, > ${xe}-item-content`]:{padding:`${ke.paddingXS}px ${ke.padding}px`}}}}}},jt=ke=>{const{componentCls:xe,extraColor:$e,itemPaddingBottom:ht,colonMarginRight:kt,colonMarginLeft:rt,titleMarginBottom:Ue}=ke;return{[xe]:Object.assign(Object.assign(Object.assign({},(0,Bt.Wf)(ke)),pt(ke)),{"&-rtl":{direction:"rtl"},[`${xe}-header`]:{display:"flex",alignItems:"center",marginBottom:Ue},[`${xe}-title`]:Object.assign(Object.assign({},Bt.vS),{flex:"auto",color:ke.colorText,fontWeight:ke.fontWeightStrong,fontSize:ke.fontSizeLG,lineHeight:ke.lineHeightLG}),[`${xe}-extra`]:{marginInlineStart:"auto",color:$e,fontSize:ke.fontSize},[`${xe}-view`]:{width:"100%",borderRadius:ke.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${xe}-row`]:{"> th, > td":{paddingBottom:ht},"&:last-child":{borderBottom:"none"}},[`${xe}-item-label`]:{color:ke.colorTextTertiary,fontWeight:"normal",fontSize:ke.fontSize,lineHeight:ke.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${rt}px ${kt}px`},[`&${xe}-item-no-colon::after`]:{content:'""'}},[`${xe}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${xe}-item-content`]:{display:"table-cell",flex:1,color:ke.colorText,fontSize:ke.fontSize,lineHeight:ke.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${xe}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${xe}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${xe}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${xe}-row`]:{"> th, > td":{paddingBottom:ke.paddingSM}}},"&-small":{[`${xe}-row`]:{"> th, > td":{paddingBottom:ke.paddingXS}}}})}};var dt=(0,Je.Z)("Descriptions",ke=>{const xe=(0,Ot.TS)(ke,{});return[jt(xe)]},ke=>({labelBg:ke.colorFillAlter,titleMarginBottom:ke.fontSizeSM*ke.lineHeightSM,itemPaddingBottom:ke.padding,colonMarginRight:ke.marginXS,colonMarginLeft:ke.marginXXS/2,extraColor:ke.colorText})),gn=function(ke,xe){var $e={};for(var ht in ke)Object.prototype.hasOwnProperty.call(ke,ht)&&xe.indexOf(ht)<0&&($e[ht]=ke[ht]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ht=Object.getOwnPropertySymbols(ke);kt<ht.length;kt++)xe.indexOf(ht[kt])<0&&Object.prototype.propertyIsEnumerable.call(ke,ht[kt])&&($e[ht[kt]]=ke[ht[kt]]);return $e};const Tn=ke=>{const{prefixCls:xe,title:$e,extra:ht,column:kt,colon:rt=!0,bordered:Ue,layout:Ct,children:fn,className:Et,rootClassName:Nt,style:Rt,size:vn,labelStyle:En,contentStyle:Ee,items:de}=ke,le=gn(ke,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:ye,direction:me,descriptions:ue}=re.useContext(Pe.E_),Ie=ye("descriptions",xe),tt=(0,Qe.Z)(),Lt=re.useMemo(()=>{var It;return typeof kt=="number"?kt:(It=(0,nt.m9)(tt,Object.assign(Object.assign({},Me),kt)))!==null&&It!==void 0?It:3},[tt,kt]),Pt=Re(tt,de,fn),en=(0,Te.Z)(vn),dn=ft(Lt,Pt),[Qt,zn]=dt(Ie),Ei=re.useMemo(()=>({labelStyle:En,contentStyle:Ee}),[En,Ee]);return Qt(re.createElement(Ve.Provider,{value:Ei},re.createElement("div",Object.assign({className:Ke()(Ie,ue==null?void 0:ue.className,{[`${Ie}-${en}`]:en&&en!=="default",[`${Ie}-bordered`]:!!Ue,[`${Ie}-rtl`]:me==="rtl"},Et,Nt,zn),style:Object.assign(Object.assign({},ue==null?void 0:ue.style),Rt)},le),($e||ht)&&re.createElement("div",{className:`${Ie}-header`},$e&&re.createElement("div",{className:`${Ie}-title`},$e),ht&&re.createElement("div",{className:`${Ie}-extra`},ht)),re.createElement("div",{className:`${Ie}-view`},re.createElement("table",null,re.createElement("tbody",null,dn.map((It,Bn)=>re.createElement(Tt,{key:Bn,index:Bn,colon:rt,prefixCls:Ie,vertical:Ct==="vertical",bordered:Ue,row:It}))))))))};Tn.Item=ut;var $n=Tn},86738:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return Tt}});var re=ge(87995),ot=ge(94184),Ke=ge.n(ot),nt=ge(92389),Pe=ge(5663),Te=ge(10366),Qe=ge(67294),we=ge(96159),Me=ge(53124),Ge=ge(55241),Ve=ge(86743),Ne=ge(81643),ct=ge(71577),et=ge(4026),Re=ge(10110),je=ge(24457),Fe=ge(66330),ze=ge(67968);const ft=Bt=>{const{componentCls:Je,iconCls:Ot,antCls:pt,zIndexPopup:jt,colorText:dt,colorWarning:gn,marginXXS:Tn,marginXS:$n,fontSize:ke,fontWeightStrong:xe,colorTextHeading:$e}=Bt;return{[Je]:{zIndex:jt,[`&${pt}-popover`]:{fontSize:ke},[`${Je}-message`]:{marginBottom:$n,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Je}-message-icon ${Ot}`]:{color:gn,fontSize:ke,lineHeight:1,marginInlineEnd:$n},[`${Je}-title`]:{fontWeight:xe,color:$e,"&:only-child":{fontWeight:"normal"}},[`${Je}-description`]:{marginTop:Tn,color:dt}},[`${Je}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:$n}}}}};var Ye=(0,ze.Z)("Popconfirm",Bt=>ft(Bt),Bt=>{const{zIndexPopupBase:Je}=Bt;return{zIndexPopup:Je+60}},{resetStyle:!1}),ut=function(Bt,Je){var Ot={};for(var pt in Bt)Object.prototype.hasOwnProperty.call(Bt,pt)&&Je.indexOf(pt)<0&&(Ot[pt]=Bt[pt]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,pt=Object.getOwnPropertySymbols(Bt);jt<pt.length;jt++)Je.indexOf(pt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Bt,pt[jt])&&(Ot[pt[jt]]=Bt[pt[jt]]);return Ot};const vt=Bt=>{const{prefixCls:Je,okButtonProps:Ot,cancelButtonProps:pt,title:jt,description:dt,cancelText:gn,okText:Tn,okType:$n="primary",icon:ke=Qe.createElement(re.Z,null),showCancel:xe=!0,close:$e,onConfirm:ht,onCancel:kt,onPopupClick:rt}=Bt,{getPrefixCls:Ue}=Qe.useContext(Me.E_),[Ct]=(0,Re.Z)("Popconfirm",je.Z.Popconfirm),fn=(0,Ne.Z)(jt),Et=(0,Ne.Z)(dt);return Qe.createElement("div",{className:`${Je}-inner-content`,onClick:rt},Qe.createElement("div",{className:`${Je}-message`},ke&&Qe.createElement("span",{className:`${Je}-message-icon`},ke),Qe.createElement("div",{className:`${Je}-message-text`},fn&&Qe.createElement("div",{className:Ke()(`${Je}-title`)},fn),Et&&Qe.createElement("div",{className:`${Je}-description`},Et))),Qe.createElement("div",{className:`${Je}-buttons`},xe&&Qe.createElement(ct.ZP,Object.assign({onClick:kt,size:"small"},pt),gn!=null?gn:Ct==null?void 0:Ct.cancelText),Qe.createElement(Ve.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,et.n)($n)),Ot),actionFn:ht,close:$e,prefixCls:Ue("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},Tn!=null?Tn:Ct==null?void 0:Ct.okText)))};var yt=Bt=>{const{prefixCls:Je,placement:Ot,className:pt,style:jt}=Bt,dt=ut(Bt,["prefixCls","placement","className","style"]),{getPrefixCls:gn}=Qe.useContext(Me.E_),Tn=gn("popconfirm",Je),[$n]=Ye(Tn);return $n(Qe.createElement(Fe.ZP,{placement:Ot,className:Ke()(Tn,pt),style:jt,content:Qe.createElement(vt,Object.assign({prefixCls:Tn},dt))}))},_t=function(Bt,Je){var Ot={};for(var pt in Bt)Object.prototype.hasOwnProperty.call(Bt,pt)&&Je.indexOf(pt)<0&&(Ot[pt]=Bt[pt]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,pt=Object.getOwnPropertySymbols(Bt);jt<pt.length;jt++)Je.indexOf(pt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Bt,pt[jt])&&(Ot[pt[jt]]=Bt[pt[jt]]);return Ot};const Jt=Qe.forwardRef((Bt,Je)=>{const{prefixCls:Ot,placement:pt="top",trigger:jt="click",okType:dt="primary",icon:gn=Qe.createElement(re.Z,null),children:Tn,overlayClassName:$n,onOpenChange:ke,onVisibleChange:xe}=Bt,$e=_t(Bt,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:ht}=Qe.useContext(Me.E_),[kt,rt]=(0,Pe.Z)(!1,{value:Bt.open,defaultValue:Bt.defaultOpen}),Ue=(de,le)=>{rt(de,!0),xe==null||xe(de),ke==null||ke(de,le)},Ct=de=>{Ue(!1,de)},fn=de=>{var le;return(le=Bt.onConfirm)===null||le===void 0?void 0:le.call(void 0,de)},Et=de=>{var le;Ue(!1,de),(le=Bt.onCancel)===null||le===void 0||le.call(void 0,de)},Nt=de=>{de.keyCode===nt.Z.ESC&&kt&&Ue(!1,de)},Rt=de=>{const{disabled:le=!1}=Bt;le||Ue(de)},vn=ht("popconfirm",Ot),En=Ke()(vn,$n),[Ee]=Ye(vn);return Ee(Qe.createElement(Ge.Z,Object.assign({},(0,Te.Z)($e,["title"]),{trigger:jt,placement:pt,onOpenChange:Rt,open:kt,ref:Je,overlayClassName:En,content:Qe.createElement(vt,Object.assign({okType:dt,icon:gn},Bt,{prefixCls:vn,close:Ct,onConfirm:fn,onCancel:Et})),"data-popover-inject":!0}),(0,we.Tm)(Tn,{onKeyDown:de=>{var le,ye;Qe.isValidElement(Tn)&&((ye=Tn==null?void 0:(le=Tn.props).onKeyDown)===null||ye===void 0||ye.call(le,de)),Nt(de)}})))});Jt._InternalPanelDoNotUseOrYouWillBeFired=yt;var Tt=Jt},66330:function(wt,Wt,ge){"use strict";ge.d(Wt,{t5:function(){return Ge}});var re=ge(94184),ot=ge.n(re),Ke=ge(92419),nt=ge(67294),Pe=ge(53124),Te=ge(81643),Qe=ge(20136),we=function(Ne,ct){var et={};for(var Re in Ne)Object.prototype.hasOwnProperty.call(Ne,Re)&&ct.indexOf(Re)<0&&(et[Re]=Ne[Re]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Re=Object.getOwnPropertySymbols(Ne);je<Re.length;je++)ct.indexOf(Re[je])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Re[je])&&(et[Re[je]]=Ne[Re[je]]);return et};const Me=(Ne,ct,et)=>{if(!(!ct&&!et))return nt.createElement(nt.Fragment,null,ct&&nt.createElement("div",{className:`${Ne}-title`},(0,Te.Z)(ct)),nt.createElement("div",{className:`${Ne}-inner-content`},(0,Te.Z)(et)))},Ge=Ne=>{const{hashId:ct,prefixCls:et,className:Re,style:je,placement:Fe="top",title:ze,content:ft,children:Ye}=Ne;return nt.createElement("div",{className:ot()(ct,et,`${et}-pure`,`${et}-placement-${Fe}`,Re),style:je},nt.createElement("div",{className:`${et}-arrow`}),nt.createElement(Ke.G,Object.assign({},Ne,{className:ct,prefixCls:et}),Ye||Me(et,ze,ft)))},Ve=Ne=>{const{prefixCls:ct}=Ne,et=we(Ne,["prefixCls"]),{getPrefixCls:Re}=nt.useContext(Pe.E_),je=Re("popover",ct),[Fe,ze]=(0,Qe.Z)(je);return Fe(nt.createElement(Ge,Object.assign({},et,{prefixCls:je,hashId:ze})))};Wt.ZP=Ve},55241:function(wt,Wt,ge){"use strict";var re=ge(94184),ot=ge.n(re),Ke=ge(67294),nt=ge(81643),Pe=ge(33603),Te=ge(53124),Qe=ge(83062),we=ge(66330),Me=ge(20136),Ge=function(ct,et){var Re={};for(var je in ct)Object.prototype.hasOwnProperty.call(ct,je)&&et.indexOf(je)<0&&(Re[je]=ct[je]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,je=Object.getOwnPropertySymbols(ct);Fe<je.length;Fe++)et.indexOf(je[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ct,je[Fe])&&(Re[je[Fe]]=ct[je[Fe]]);return Re};const Ve=ct=>{let{title:et,content:Re,prefixCls:je}=ct;return Ke.createElement(Ke.Fragment,null,et&&Ke.createElement("div",{className:`${je}-title`},(0,nt.Z)(et)),Ke.createElement("div",{className:`${je}-inner-content`},(0,nt.Z)(Re)))},Ne=Ke.forwardRef((ct,et)=>{const{prefixCls:Re,title:je,content:Fe,overlayClassName:ze,placement:ft="top",trigger:Ye="hover",mouseEnterDelay:ut=.1,mouseLeaveDelay:vt=.1,overlayStyle:xt={}}=ct,yt=Ge(ct,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:_t}=Ke.useContext(Te.E_),Jt=_t("popover",Re),[Tt,Bt]=(0,Me.Z)(Jt),Je=_t(),Ot=ot()(ze,Bt);return Tt(Ke.createElement(Qe.Z,Object.assign({placement:ft,trigger:Ye,mouseEnterDelay:ut,mouseLeaveDelay:vt,overlayStyle:xt},yt,{prefixCls:Jt,overlayClassName:Ot,ref:et,overlay:je||Fe?Ke.createElement(Ve,{prefixCls:Jt,title:je,content:Fe}):null,transitionName:(0,Pe.m)(Je,"zoom-big",yt.transitionName),"data-popover-inject":!0})))});Ne._InternalPanelDoNotUseOrYouWillBeFired=we.ZP,Wt.Z=Ne},20136:function(wt,Wt,ge){"use strict";var re=ge(14747),ot=ge(50438),Ke=ge(97414),nt=ge(8796),Pe=ge(67968),Te=ge(45503);const Qe=Ge=>{const{componentCls:Ve,popoverColor:Ne,minWidth:ct,fontWeightStrong:et,popoverPadding:Re,boxShadowSecondary:je,colorTextHeading:Fe,borderRadiusLG:ze,zIndexPopup:ft,marginXS:Ye,colorBgElevated:ut,popoverBg:vt}=Ge;return[{[Ve]:Object.assign(Object.assign({},(0,re.Wf)(Ge)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ft,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ut,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Ve}-content`]:{position:"relative"},[`${Ve}-inner`]:{backgroundColor:vt,backgroundClip:"padding-box",borderRadius:ze,boxShadow:je,padding:Re},[`${Ve}-title`]:{minWidth:ct,marginBottom:Ye,color:Fe,fontWeight:et},[`${Ve}-inner-content`]:{color:Ne}})},(0,Ke.ZP)(Ge,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ve}-pure`]:{position:"relative",maxWidth:"none",margin:Ge.sizePopupArrow,display:"inline-block",[`${Ve}-content`]:{display:"inline-block"}}}]},we=Ge=>{const{componentCls:Ve}=Ge;return{[Ve]:nt.i.map(Ne=>{const ct=Ge[`${Ne}6`];return{[`&${Ve}-${Ne}`]:{"--antd-arrow-background-color":ct,[`${Ve}-inner`]:{backgroundColor:ct},[`${Ve}-arrow`]:{background:"transparent"}}}})}},Me=Ge=>{const{componentCls:Ve,lineWidth:Ne,lineType:ct,colorSplit:et,paddingSM:Re,controlHeight:je,fontSize:Fe,lineHeight:ze,padding:ft}=Ge,Ye=je-Math.round(Fe*ze),ut=Ye/2,vt=Ye/2-Ne,xt=ft;return{[Ve]:{[`${Ve}-inner`]:{padding:0},[`${Ve}-title`]:{margin:0,padding:`${ut}px ${xt}px ${vt}px`,borderBottom:`${Ne}px ${ct} ${et}`},[`${Ve}-inner-content`]:{padding:`${Re}px ${xt}px`}}}};Wt.Z=(0,Pe.Z)("Popover",Ge=>{const{colorBgElevated:Ve,colorText:Ne,wireframe:ct}=Ge,et=(0,Te.TS)(Ge,{popoverPadding:12,popoverBg:Ve,popoverColor:Ne});return[Qe(et),we(et),ct&&Me(et),(0,ot._y)(et,"zoom-big")]},Ge=>({width:177,minWidth:177,zIndexPopup:Ge.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},47897:function(wt,Wt,ge){"use strict";ge.d(Wt,{Z:function(){return ye}});var re=ge(3407),ot=ge(94184),Ke=ge.n(ot);function nt(){return nt=Object.assign?Object.assign.bind():function(me){for(var ue=1;ue<arguments.length;ue++){var Ie=arguments[ue];for(var tt in Ie)Object.prototype.hasOwnProperty.call(Ie,tt)&&(me[tt]=Ie[tt])}return me},nt.apply(this,arguments)}function Pe(me){"@babel/helpers - typeof";return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},Pe(me)}function Te(me,ue){if(Pe(me)!=="object"||me===null)return me;var Ie=me[Symbol.toPrimitive];if(Ie!==void 0){var tt=Ie.call(me,ue||"default");if(Pe(tt)!=="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(me)}function Qe(me){var ue=Te(me,"string");return Pe(ue)==="symbol"?ue:String(ue)}function we(me,ue,Ie){return ue=Qe(ue),ue in me?Object.defineProperty(me,ue,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):me[ue]=Ie,me}function Me(me){if(Array.isArray(me))return me}function Ge(me,ue){var Ie=me==null?null:typeof Symbol!="undefined"&&me[Symbol.iterator]||me["@@iterator"];if(Ie!=null){var tt,Lt,Pt,en,dn=[],Qt=!0,zn=!1;try{if(Pt=(Ie=Ie.call(me)).next,ue===0){if(Object(Ie)!==Ie)return;Qt=!1}else for(;!(Qt=(tt=Pt.call(Ie)).done)&&(dn.push(tt.value),dn.length!==ue);Qt=!0);}catch(Ei){zn=!0,Lt=Ei}finally{try{if(!Qt&&Ie.return!=null&&(en=Ie.return(),Object(en)!==en))return}finally{if(zn)throw Lt}}return dn}}function Ve(me,ue){(ue==null||ue>me.length)&&(ue=me.length);for(var Ie=0,tt=new Array(ue);Ie<ue;Ie++)tt[Ie]=me[Ie];return tt}function Ne(me,ue){if(me){if(typeof me=="string")return Ve(me,ue);var Ie=Object.prototype.toString.call(me).slice(8,-1);if(Ie==="Object"&&me.constructor&&(Ie=me.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(me);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return Ve(me,ue)}}function ct(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function et(me,ue){return Me(me)||Ge(me,ue)||Ne(me,ue)||ct()}function Re(me,ue){if(me==null)return{};var Ie={},tt=Object.keys(me),Lt,Pt;for(Pt=0;Pt<tt.length;Pt++)Lt=tt[Pt],!(ue.indexOf(Lt)>=0)&&(Ie[Lt]=me[Lt]);return Ie}function je(me,ue){if(me==null)return{};var Ie=Re(me,ue),tt,Lt;if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(me);for(Lt=0;Lt<Pt.length;Lt++)tt=Pt[Lt],!(ue.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(me,tt)&&(Ie[tt]=me[tt])}return Ie}var Fe=ge(67294);function ze(me){if(Array.isArray(me))return me}function ft(me,ue){var Ie=me==null?null:typeof Symbol!="undefined"&&me[Symbol.iterator]||me["@@iterator"];if(Ie!=null){var tt,Lt,Pt,en,dn=[],Qt=!0,zn=!1;try{if(Pt=(Ie=Ie.call(me)).next,ue===0){if(Object(Ie)!==Ie)return;Qt=!1}else for(;!(Qt=(tt=Pt.call(Ie)).done)&&(dn.push(tt.value),dn.length!==ue);Qt=!0);}catch(Ei){zn=!0,Lt=Ei}finally{try{if(!Qt&&Ie.return!=null&&(en=Ie.return(),Object(en)!==en))return}finally{if(zn)throw Lt}}return dn}}function Ye(me,ue){(ue==null||ue>me.length)&&(ue=me.length);for(var Ie=0,tt=new Array(ue);Ie<ue;Ie++)tt[Ie]=me[Ie];return tt}function ut(me,ue){if(me){if(typeof me=="string")return Ye(me,ue);var Ie=Object.prototype.toString.call(me).slice(8,-1);if(Ie==="Object"&&me.constructor&&(Ie=me.constructor.name),Ie==="Map"||Ie==="Set")return Array.from(me);if(Ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return Ye(me,ue)}}function vt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xt(me,ue){return ze(me)||ft(me,ue)||ut(me,ue)||vt()}function yt(me){var ue=Fe.useRef();ue.current=me;var Ie=Fe.useCallback(function(){for(var tt,Lt=arguments.length,Pt=new Array(Lt),en=0;en<Lt;en++)Pt[en]=arguments[en];return(tt=ue.current)===null||tt===void 0?void 0:tt.call.apply(tt,[ue].concat(Pt))},[]);return Ie}function _t(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Jt=_t()?Fe.useLayoutEffect:Fe.useEffect,Tt=function(ue,Ie){var tt=Fe.useRef(!0);Jt(function(){return ue(tt.current)},Ie),Jt(function(){return tt.current=!1,function(){tt.current=!0}},[])},Bt=function(ue,Ie){Tt(function(tt){if(!tt)return ue()},Ie)},Je=null;function Ot(me){var ue=Fe.useRef(!1),Ie=Fe.useState(me),tt=xt(Ie,2),Lt=tt[0],Pt=tt[1];Fe.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function en(dn,Qt){Qt&&ue.current||Pt(dn)}return[Lt,en]}function pt(me){return me!==void 0}function jt(me,ue){var Ie=ue||{},tt=Ie.defaultValue,Lt=Ie.value,Pt=Ie.onChange,en=Ie.postState,dn=Ot(function(){return pt(Lt)?Lt:pt(tt)?typeof tt=="function"?tt():tt:typeof me=="function"?me():me}),Qt=xt(dn,2),zn=Qt[0],Ei=Qt[1],It=Lt!==void 0?Lt:zn,Bn=en?en(It):It,Sr=yt(Pt),Wi=Ot([It]),Mi=xt(Wi,2),di=Mi[0],oo=Mi[1];Bt(function(){var or=di[0];zn!==or&&Sr(zn,or)},[di]),Bt(function(){pt(Lt)||Ei(Lt)},[Lt]);var pr=yt(function(or,Zi){Ei(or,Zi),oo([It],Zi)});return[Bn,pr]}var dt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ue){var Ie=ue.keyCode;if(ue.altKey&&!ue.ctrlKey||ue.metaKey||Ie>=dt.F1&&Ie<=dt.F12)return!1;switch(Ie){case dt.ALT:case dt.CAPS_LOCK:case dt.CONTEXT_MENU:case dt.CTRL:case dt.DOWN:case dt.END:case dt.ESC:case dt.HOME:case dt.INSERT:case dt.LEFT:case dt.MAC_FF_META:case dt.META:case dt.NUMLOCK:case dt.NUM_CENTER:case dt.PAGE_DOWN:case dt.PAGE_UP:case dt.PAUSE:case dt.PRINT_SCREEN:case dt.RIGHT:case dt.SHIFT:case dt.UP:case dt.WIN_KEY:case dt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ue){if(ue>=dt.ZERO&&ue<=dt.NINE||ue>=dt.NUM_ZERO&&ue<=dt.NUM_MULTIPLY||ue>=dt.A&&ue<=dt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ue===0)return!0;switch(ue){case dt.SPACE:case dt.QUESTION_MARK:case dt.NUM_PLUS:case dt.NUM_MINUS:case dt.NUM_PERIOD:case dt.NUM_DIVISION:case dt.SEMICOLON:case dt.DASH:case dt.EQUALS:case dt.COMMA:case dt.PERIOD:case dt.SLASH:case dt.APOSTROPHE:case dt.SINGLE_QUOTE:case dt.OPEN_SQUARE_BRACKET:case dt.BACKSLASH:case dt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gn=dt,Tn=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],$n=Fe.forwardRef(function(me,ue){var Ie,tt=me.prefixCls,Lt=tt===void 0?"rc-switch":tt,Pt=me.className,en=me.checked,dn=me.defaultChecked,Qt=me.disabled,zn=me.loadingIcon,Ei=me.checkedChildren,It=me.unCheckedChildren,Bn=me.onClick,Sr=me.onChange,Wi=me.onKeyDown,Mi=je(me,Tn),di=jt(!1,{value:en,defaultValue:dn}),oo=et(di,2),pr=oo[0],or=oo[1];function Zi(cr,Ki){var Ui=pr;return Qt||(Ui=cr,or(Ui),Sr==null||Sr(Ui,Ki)),Ui}function qa(cr){cr.which===gn.LEFT?Zi(!1,cr):cr.which===gn.RIGHT&&Zi(!0,cr),Wi==null||Wi(cr)}function Wa(cr){var Ki=Zi(!pr,cr);Bn==null||Bn(Ki,cr)}var Ka=Ke()(Lt,Pt,(Ie={},we(Ie,"".concat(Lt,"-checked"),pr),we(Ie,"".concat(Lt,"-disabled"),Qt),Ie));return Fe.createElement("button",nt({},Mi,{type:"button",role:"switch","aria-checked":pr,disabled:Qt,className:Ka,ref:ue,onKeyDown:qa,onClick:Wa}),zn,Fe.createElement("span",{className:"".concat(Lt,"-inner")},Fe.createElement("span",{className:"".concat(Lt,"-inner-checked")},Ei),Fe.createElement("span",{className:"".concat(Lt,"-inner-unchecked")},It)))});$n.displayName="Switch";var ke=$n,xe=ge(45353),$e=ge(53124),ht=ge(98866),kt=ge(98675),rt=ge(84780),Ue=ge(14747),Ct=ge(67968),fn=ge(45503);const Et=me=>{const{componentCls:ue,trackHeightSM:Ie,trackPadding:tt,trackMinWidthSM:Lt,innerMinMarginSM:Pt,innerMaxMarginSM:en,handleSizeSM:dn}=me,Qt=`${ue}-inner`;return{[ue]:{[`&${ue}-small`]:{minWidth:Lt,height:Ie,lineHeight:`${Ie}px`,[`${ue}-inner`]:{paddingInlineStart:en,paddingInlineEnd:Pt,[`${Qt}-checked`]:{marginInlineStart:`calc(-100% + ${dn+tt*2}px - ${en*2}px)`,marginInlineEnd:`calc(100% - ${dn+tt*2}px + ${en*2}px)`},[`${Qt}-unchecked`]:{marginTop:-Ie,marginInlineStart:0,marginInlineEnd:0}},[`${ue}-handle`]:{width:dn,height:dn},[`${ue}-loading-icon`]:{top:(dn-me.switchLoadingIconSize)/2,fontSize:me.switchLoadingIconSize},[`&${ue}-checked`]:{[`${ue}-inner`]:{paddingInlineStart:Pt,paddingInlineEnd:en,[`${Qt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Qt}-unchecked`]:{marginInlineStart:`calc(100% - ${dn+tt*2}px + ${en*2}px)`,marginInlineEnd:`calc(-100% + ${dn+tt*2}px - ${en*2}px)`}},[`${ue}-handle`]:{insetInlineStart:`calc(100% - ${dn+tt}px)`}},[`&:not(${ue}-disabled):active`]:{[`&:not(${ue}-checked) ${Qt}`]:{[`${Qt}-unchecked`]:{marginInlineStart:me.marginXXS/2,marginInlineEnd:-me.marginXXS/2}},[`&${ue}-checked ${Qt}`]:{[`${Qt}-checked`]:{marginInlineStart:-me.marginXXS/2,marginInlineEnd:me.marginXXS/2}}}}}}},Nt=me=>{const{componentCls:ue,handleSize:Ie}=me;return{[ue]:{[`${ue}-loading-icon${me.iconCls}`]:{position:"relative",top:(Ie-me.fontSize)/2,color:me.switchLoadingIconColor,verticalAlign:"top"},[`&${ue}-checked ${ue}-loading-icon`]:{color:me.switchColor}}}},Rt=me=>{const{componentCls:ue,motion:Ie,trackPadding:tt,handleBg:Lt,handleShadow:Pt,handleSize:en}=me,dn=`${ue}-handle`;return{[ue]:{[dn]:{position:"absolute",top:tt,insetInlineStart:tt,width:en,height:en,transition:`all ${me.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Lt,borderRadius:en/2,boxShadow:Pt,transition:`all ${me.switchDuration} ease-in-out`,content:'""'}},[`&${ue}-checked ${dn}`]:{insetInlineStart:`calc(100% - ${en+tt}px)`},[`&:not(${ue}-disabled):active`]:Ie?{[`${dn}::before`]:{insetInlineEnd:me.switchHandleActiveInset,insetInlineStart:0},[`&${ue}-checked ${dn}::before`]:{insetInlineEnd:0,insetInlineStart:me.switchHandleActiveInset}}:{}}}},vn=me=>{const{componentCls:ue,trackHeight:Ie,trackPadding:tt,innerMinMargin:Lt,innerMaxMargin:Pt,handleSize:en}=me,dn=`${ue}-inner`;return{[ue]:{[dn]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Pt,paddingInlineEnd:Lt,transition:`padding-inline-start ${me.switchDuration} ease-in-out, padding-inline-end ${me.switchDuration} ease-in-out`,[`${dn}-checked, ${dn}-unchecked`]:{display:"block",color:me.colorTextLightSolid,fontSize:me.fontSizeSM,transition:`margin-inline-start ${me.switchDuration} ease-in-out, margin-inline-end ${me.switchDuration} ease-in-out`,pointerEvents:"none"},[`${dn}-checked`]:{marginInlineStart:`calc(-100% + ${en+tt*2}px - ${Pt*2}px)`,marginInlineEnd:`calc(100% - ${en+tt*2}px + ${Pt*2}px)`},[`${dn}-unchecked`]:{marginTop:-Ie,marginInlineStart:0,marginInlineEnd:0}},[`&${ue}-checked ${dn}`]:{paddingInlineStart:Lt,paddingInlineEnd:Pt,[`${dn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${dn}-unchecked`]:{marginInlineStart:`calc(100% - ${en+tt*2}px + ${Pt*2}px)`,marginInlineEnd:`calc(-100% + ${en+tt*2}px - ${Pt*2}px)`}},[`&:not(${ue}-disabled):active`]:{[`&:not(${ue}-checked) ${dn}`]:{[`${dn}-unchecked`]:{marginInlineStart:tt*2,marginInlineEnd:-tt*2}},[`&${ue}-checked ${dn}`]:{[`${dn}-checked`]:{marginInlineStart:-tt*2,marginInlineEnd:tt*2}}}}}},En=me=>{const{componentCls:ue,trackHeight:Ie,trackMinWidth:tt}=me;return{[ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ue.Wf)(me)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:tt,height:Ie,lineHeight:`${Ie}px`,verticalAlign:"middle",background:me.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${me.motionDurationMid}`,userSelect:"none",[`&:hover:not(${ue}-disabled)`]:{background:me.colorTextTertiary}}),(0,Ue.Qy)(me)),{[`&${ue}-checked`]:{background:me.switchColor,[`&:hover:not(${ue}-disabled)`]:{background:me.colorPrimaryHover}},[`&${ue}-loading, &${ue}-disabled`]:{cursor:"not-allowed",opacity:me.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${ue}-rtl`]:{direction:"rtl"}})}};var Ee=(0,Ct.Z)("Switch",me=>{const ue=(0,fn.TS)(me,{switchDuration:me.motionDurationMid,switchColor:me.colorPrimary,switchDisabledOpacity:me.opacityLoading,switchLoadingIconSize:me.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${me.opacityLoading})`,switchHandleActiveInset:"-30%"});return[En(ue),vn(ue),Rt(ue),Nt(ue),Et(ue)]},me=>{const{fontSize:ue,lineHeight:Ie,controlHeight:tt,colorWhite:Lt}=me,Pt=ue*Ie,en=tt/2,dn=2,Qt=Pt-dn*2,zn=en-dn*2;return{trackHeight:Pt,trackHeightSM:en,trackMinWidth:Qt*2+dn*4,trackMinWidthSM:zn*2+dn*2,trackPadding:dn,handleBg:Lt,handleSize:Qt,handleSizeSM:zn,handleShadow:`0 2px 4px 0 ${new rt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:Qt/2,innerMaxMargin:Qt+dn+dn*2,innerMinMarginSM:zn/2,innerMaxMarginSM:zn+dn+dn*2}}),de=function(me,ue){var Ie={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&ue.indexOf(tt)<0&&(Ie[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,tt=Object.getOwnPropertySymbols(me);Lt<tt.length;Lt++)ue.indexOf(tt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(me,tt[Lt])&&(Ie[tt[Lt]]=me[tt[Lt]]);return Ie};const le=Fe.forwardRef((me,ue)=>{const{prefixCls:Ie,size:tt,disabled:Lt,loading:Pt,className:en,rootClassName:dn,style:Qt}=me,zn=de(me,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Ei,direction:It,switch:Bn}=Fe.useContext($e.E_),Sr=Fe.useContext(ht.Z),Wi=(Lt!=null?Lt:Sr)||Pt,Mi=Ei("switch",Ie),di=Fe.createElement("div",{className:`${Mi}-handle`},Pt&&Fe.createElement(re.Z,{className:`${Mi}-loading-icon`})),[oo,pr]=Ee(Mi),or=(0,kt.Z)(tt),Zi=Ke()(Bn==null?void 0:Bn.className,{[`${Mi}-small`]:or==="small",[`${Mi}-loading`]:Pt,[`${Mi}-rtl`]:It==="rtl"},en,dn,pr),qa=Object.assign(Object.assign({},Bn==null?void 0:Bn.style),Qt);return oo(Fe.createElement(xe.Z,{component:"Switch"},Fe.createElement(ke,Object.assign({},zn,{prefixCls:Mi,className:Zi,style:qa,disabled:Wi,ref:ue,loadingIcon:di}))))});le.__ANT_SWITCH=!0;var ye=le},66368:function(wt,Wt,ge){"use strict";ge.d(Wt,{default:function(){return fa}});var re=ge(73475),ot=ge(25877),Ke=ge(38308),nt=ge(94184),Pe=ge.n(nt),Te=ge(87462),Qe=ge(4942),we=ge(1413),Me=ge(97685),Ge=ge(71002),Ve=ge(45987),Ne=ge(67294),ct=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Se=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Se)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Se==null?void 0:Se.substr(0,4))};function et(Se){var Be=Ne.useRef();Be.current=Se;var gt=Ne.useCallback(function(){for(var Mt,Ht=arguments.length,Kt=new Array(Ht),wn=0;wn<Ht;wn++)Kt[wn]=arguments[wn];return(Mt=Be.current)===null||Mt===void 0?void 0:Mt.call.apply(Mt,[Be].concat(Kt))},[]);return gt}function Re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var je=Re()?Ne.useLayoutEffect:Ne.useEffect,Fe=function(Be,gt){var Mt=Ne.useRef(!0);je(function(){return Be(Mt.current)},gt),je(function(){return Mt.current=!1,function(){Mt.current=!0}},[])},ze=function(Be,gt){Fe(function(Mt){if(!Mt)return Be()},gt)},ft=null;function Ye(Se){var Be=Ne.useRef(!1),gt=Ne.useState(Se),Mt=(0,Me.Z)(gt,2),Ht=Mt[0],Kt=Mt[1];Ne.useEffect(function(){return Be.current=!1,function(){Be.current=!0}},[]);function wn(Rn,ii){ii&&Be.current||Kt(Rn)}return[Ht,wn]}function ut(Se){return Se!==void 0}function vt(Se,Be){var gt=Be||{},Mt=gt.defaultValue,Ht=gt.value,Kt=gt.onChange,wn=gt.postState,Rn=Ye(function(){return ut(Ht)?Ht:ut(Mt)?typeof Mt=="function"?Mt():Mt:typeof Se=="function"?Se():Se}),ii=(0,Me.Z)(Rn,2),ai=ii[0],Si=ii[1],Hn=Ht!==void 0?Ht:ai,Xt=wn?wn(Hn):Hn,Gt=et(Kt),on=Ye([Hn]),yn=(0,Me.Z)(on,2),ei=yn[0],mi=yn[1];ze(function(){var ri=ei[0];ai!==ri&&Gt(ai,ri)},[ei]),ze(function(){ut(Ht)||Si(Ht)},[Ht]);var hi=et(function(ri,Ci){Si(ri,Ci),mi([Hn],Ci)});return[Xt,hi]}var xt=ge(62874),yt=(0,Ne.createContext)(null),_t=Ne.forwardRef(function(Se,Be){var gt=Se.prefixCls,Mt=Se.className,Ht=Se.style,Kt=Se.id,wn=Se.active,Rn=Se.tabKey,ii=Se.children;return Ne.createElement("div",{id:Kt&&"".concat(Kt,"-panel-").concat(Rn),role:"tabpanel",tabIndex:wn?0:-1,"aria-labelledby":Kt&&"".concat(Kt,"-tab-").concat(Rn),"aria-hidden":!wn,style:Ht,className:Pe()(gt,wn&&"".concat(gt,"-active"),Mt),ref:Be},ii)}),Jt=_t,Tt=["key","forceRender","style","className"];function Bt(Se){var Be=Se.id,gt=Se.activeKey,Mt=Se.animated,Ht=Se.tabPosition,Kt=Se.destroyInactiveTabPane,wn=Ne.useContext(yt),Rn=wn.prefixCls,ii=wn.tabs,ai=Mt.tabPane,Si="".concat(Rn,"-tabpane");return Ne.createElement("div",{className:Pe()("".concat(Rn,"-content-holder"))},Ne.createElement("div",{className:Pe()("".concat(Rn,"-content"),"".concat(Rn,"-content-").concat(Ht),(0,Qe.Z)({},"".concat(Rn,"-content-animated"),ai))},ii.map(function(Hn){var Xt=Hn.key,Gt=Hn.forceRender,on=Hn.style,yn=Hn.className,ei=(0,Ve.Z)(Hn,Tt),mi=Xt===gt;return Ne.createElement(xt.Z,(0,Te.Z)({key:Xt,visible:mi,forceRender:Gt,removeOnLeave:!!Kt,leavedClassName:"".concat(Si,"-hidden")},Mt.tabPaneMotion),function(hi,ri){var Ci=hi.style,vi=hi.className;return Ne.createElement(Jt,(0,Te.Z)({},ei,{prefixCls:Si,id:Be,tabKey:Xt,animated:ai,active:mi,style:(0,we.Z)((0,we.Z)({},on),Ci),className:Pe()(yn,vi),ref:ri}))})})))}var Je=ge(74902),Ot=ge(48555),pt=ge(59864);function jt(Se,Be,gt){var Mt=Ne.useRef({});return(!("value"in Mt.current)||gt(Mt.current.condition,Be))&&(Mt.current.value=Se(),Mt.current.condition=Be),Mt.current.value}function dt(Se,Be){typeof Se=="function"?Se(Be):(0,Ge.Z)(Se)==="object"&&Se&&"current"in Se&&(Se.current=Be)}function gn(){for(var Se=arguments.length,Be=new Array(Se),gt=0;gt<Se;gt++)Be[gt]=arguments[gt];var Mt=Be.filter(function(Ht){return Ht});return Mt.length<=1?Mt[0]:function(Ht){Be.forEach(function(Kt){dt(Kt,Ht)})}}function Tn(){for(var Se=arguments.length,Be=new Array(Se),gt=0;gt<Se;gt++)Be[gt]=arguments[gt];return jt(function(){return gn.apply(void 0,Be)},Be,function(Mt,Ht){return Mt.length===Ht.length&&Mt.every(function(Kt,wn){return Kt===Ht[wn]})})}function $n(Se){var Be,gt,Mt=isMemo(Se)?Se.type.type:Se.type;return!(typeof Mt=="function"&&!((Be=Mt.prototype)!==null&&Be!==void 0&&Be.render)||typeof Se=="function"&&!((gt=Se.prototype)!==null&&gt!==void 0&&gt.render))}var ke={width:0,height:0,left:0,top:0};function xe(Se,Be,gt){return(0,Ne.useMemo)(function(){for(var Mt,Ht=new Map,Kt=Be.get((Mt=Se[0])===null||Mt===void 0?void 0:Mt.key)||ke,wn=Kt.left+Kt.width,Rn=0;Rn<Se.length;Rn+=1){var ii=Se[Rn].key,ai=Be.get(ii);if(!ai){var Si;ai=Be.get((Si=Se[Rn-1])===null||Si===void 0?void 0:Si.key)||ke}var Hn=Ht.get(ii)||(0,we.Z)({},ai);Hn.right=wn-Hn.left-Hn.width,Ht.set(ii,Hn)}return Ht},[Se.map(function(Mt){return Mt.key}).join("_"),Be,gt])}function $e(Se,Be){var gt=Ne.useRef(Se),Mt=Ne.useState({}),Ht=(0,Me.Z)(Mt,2),Kt=Ht[1];function wn(Rn){var ii=typeof Rn=="function"?Rn(gt.current):Rn;ii!==gt.current&&Be(ii,gt.current),gt.current=ii,Kt({})}return[gt.current,wn]}var ht=.1,kt=.01,rt=20,Ue=Math.pow(.995,rt);function Ct(Se,Be){var gt=(0,Ne.useState)(),Mt=(0,Me.Z)(gt,2),Ht=Mt[0],Kt=Mt[1],wn=(0,Ne.useState)(0),Rn=(0,Me.Z)(wn,2),ii=Rn[0],ai=Rn[1],Si=(0,Ne.useState)(0),Hn=(0,Me.Z)(Si,2),Xt=Hn[0],Gt=Hn[1],on=(0,Ne.useState)(),yn=(0,Me.Z)(on,2),ei=yn[0],mi=yn[1],hi=(0,Ne.useRef)();function ri(Oi){var er=Oi.touches[0],gr=er.screenX,lt=er.screenY;Kt({x:gr,y:lt}),window.clearInterval(hi.current)}function Ci(Oi){if(Ht){Oi.preventDefault();var er=Oi.touches[0],gr=er.screenX,lt=er.screenY;Kt({x:gr,y:lt});var st=gr-Ht.x,mt=lt-Ht.y;Be(st,mt);var Ft=Date.now();ai(Ft),Gt(Ft-ii),mi({x:st,y:mt})}}function vi(){if(Ht&&(Kt(null),mi(null),ei)){var Oi=ei.x/Xt,er=ei.y/Xt,gr=Math.abs(Oi),lt=Math.abs(er);if(Math.max(gr,lt)<ht)return;var st=Oi,mt=er;hi.current=window.setInterval(function(){if(Math.abs(st)<kt&&Math.abs(mt)<kt){window.clearInterval(hi.current);return}st*=Ue,mt*=Ue,Be(st*rt,mt*rt)},rt)}}var Ri=(0,Ne.useRef)();function zi(Oi){var er=Oi.deltaX,gr=Oi.deltaY,lt=0,st=Math.abs(er),mt=Math.abs(gr);st===mt?lt=Ri.current==="x"?er:gr:st>mt?(lt=er,Ri.current="x"):(lt=gr,Ri.current="y"),Be(-lt,-lt)&&Oi.preventDefault()}var Ji=(0,Ne.useRef)(null);Ji.current={onTouchStart:ri,onTouchMove:Ci,onTouchEnd:vi,onWheel:zi},Ne.useEffect(function(){function Oi(st){Ji.current.onTouchStart(st)}function er(st){Ji.current.onTouchMove(st)}function gr(st){Ji.current.onTouchEnd(st)}function lt(st){Ji.current.onWheel(st)}return document.addEventListener("touchmove",er,{passive:!1}),document.addEventListener("touchend",gr,{passive:!1}),Se.current.addEventListener("touchstart",Oi,{passive:!1}),Se.current.addEventListener("wheel",lt),function(){document.removeEventListener("touchmove",er),document.removeEventListener("touchend",gr)}},[])}function fn(Se){var Be=(0,Ne.useState)(0),gt=(0,Me.Z)(Be,2),Mt=gt[0],Ht=gt[1],Kt=(0,Ne.useRef)(0),wn=(0,Ne.useRef)();return wn.current=Se,ze(function(){var Rn;(Rn=wn.current)===null||Rn===void 0||Rn.call(wn)},[Mt]),function(){Kt.current===Mt&&(Kt.current+=1,Ht(Kt.current))}}function Et(Se){var Be=(0,Ne.useRef)([]),gt=(0,Ne.useState)({}),Mt=(0,Me.Z)(gt,2),Ht=Mt[1],Kt=(0,Ne.useRef)(typeof Se=="function"?Se():Se),wn=fn(function(){var ii=Kt.current;Be.current.forEach(function(ai){ii=ai(ii)}),Be.current=[],Kt.current=ii,Ht({})});function Rn(ii){Be.current.push(ii),wn()}return[Kt.current,Rn]}var Nt={width:0,height:0,left:0,top:0,right:0};function Rt(Se,Be,gt,Mt,Ht,Kt,wn){var Rn=wn.tabs,ii=wn.tabPosition,ai=wn.rtl,Si,Hn,Xt;return["top","bottom"].includes(ii)?(Si="width",Hn=ai?"right":"left",Xt=Math.abs(gt)):(Si="height",Hn="top",Xt=-gt),(0,Ne.useMemo)(function(){if(!Rn.length)return[0,0];for(var Gt=Rn.length,on=Gt,yn=0;yn<Gt;yn+=1){var ei=Se.get(Rn[yn].key)||Nt;if(ei[Hn]+ei[Si]>Xt+Be){on=yn-1;break}}for(var mi=0,hi=Gt-1;hi>=0;hi-=1){var ri=Se.get(Rn[hi].key)||Nt;if(ri[Hn]<Xt){mi=hi+1;break}}return mi>=on?[0,0]:[mi,on]},[Se,Be,Mt,Ht,Kt,Xt,ii,Rn.map(function(Gt){return Gt.key}).join("_"),ai])}function vn(Se){var Be;return Se instanceof Map?(Be={},Se.forEach(function(gt,Mt){Be[Mt]=gt})):Be=Se,JSON.stringify(Be)}var En="TABS_DQ";function Ee(Se){return String(Se).replace(/"/g,En)}function de(Se,Be,gt,Mt){return!(!gt||Mt||Se===!1||Se===void 0&&(Be===!1||Be===null))}function le(Se,Be){var gt=Se.prefixCls,Mt=Se.editable,Ht=Se.locale,Kt=Se.style;return!Mt||Mt.showAdd===!1?null:Ne.createElement("button",{ref:Be,type:"button",className:"".concat(gt,"-nav-add"),style:Kt,"aria-label":(Ht==null?void 0:Ht.addAriaLabel)||"Add tab",onClick:function(Rn){Mt.onEdit("add",{event:Rn})}},Mt.addIcon||"+")}var ye=Ne.forwardRef(le),me=Ne.forwardRef(function(Se,Be){var gt=Se.position,Mt=Se.prefixCls,Ht=Se.extra;if(!Ht)return null;var Kt,wn={};return(0,Ge.Z)(Ht)==="object"&&!Ne.isValidElement(Ht)?wn=Ht:wn.right=Ht,gt==="right"&&(Kt=wn.right),gt==="left"&&(Kt=wn.left),Kt?Ne.createElement("div",{className:"".concat(Mt,"-extra-content"),ref:Be},Kt):null}),ue=me,Ie=ge(62709);function tt(Se,Be,gt){var Mt=React.useRef({});return(!("value"in Mt.current)||gt(Mt.current.condition,Be))&&(Mt.current.value=Se(),Mt.current.condition=Be),Mt.current.value}function Lt(Se,Be){typeof Se=="function"?Se(Be):(0,Ge.Z)(Se)==="object"&&Se&&"current"in Se&&(Se.current=Be)}function Pt(){for(var Se=arguments.length,Be=new Array(Se),gt=0;gt<Se;gt++)Be[gt]=arguments[gt];var Mt=Be.filter(function(Ht){return Ht});return Mt.length<=1?Mt[0]:function(Ht){Be.forEach(function(Kt){Lt(Kt,Ht)})}}function en(){for(var Se=arguments.length,Be=new Array(Se),gt=0;gt<Se;gt++)Be[gt]=arguments[gt];return useMemo(function(){return Pt.apply(void 0,Be)},Be,function(Mt,Ht){return Mt.length===Ht.length&&Mt.every(function(Kt,wn){return Kt===Ht[wn]})})}function dn(Se){var Be,gt,Mt=(0,pt.isMemo)(Se)?Se.type.type:Se.type;return!(typeof Mt=="function"&&!((Be=Mt.prototype)!==null&&Be!==void 0&&Be.render)||typeof Se=="function"&&!((gt=Se.prototype)!==null&&gt!==void 0&&gt.render))}var Qt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Be){var gt=Be.keyCode;if(Be.altKey&&!Be.ctrlKey||Be.metaKey||gt>=Qt.F1&&gt<=Qt.F12)return!1;switch(gt){case Qt.ALT:case Qt.CAPS_LOCK:case Qt.CONTEXT_MENU:case Qt.CTRL:case Qt.DOWN:case Qt.END:case Qt.ESC:case Qt.HOME:case Qt.INSERT:case Qt.LEFT:case Qt.MAC_FF_META:case Qt.META:case Qt.NUMLOCK:case Qt.NUM_CENTER:case Qt.PAGE_DOWN:case Qt.PAGE_UP:case Qt.PAUSE:case Qt.PRINT_SCREEN:case Qt.RIGHT:case Qt.SHIFT:case Qt.UP:case Qt.WIN_KEY:case Qt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Be){if(Be>=Qt.ZERO&&Be<=Qt.NINE||Be>=Qt.NUM_ZERO&&Be<=Qt.NUM_MULTIPLY||Be>=Qt.A&&Be<=Qt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Be===0)return!0;switch(Be){case Qt.SPACE:case Qt.QUESTION_MARK:case Qt.NUM_PLUS:case Qt.NUM_MINUS:case Qt.NUM_PERIOD:case Qt.NUM_DIVISION:case Qt.SEMICOLON:case Qt.DASH:case Qt.EQUALS:case Qt.COMMA:case Qt.PERIOD:case Qt.SLASH:case Qt.APOSTROPHE:case Qt.SINGLE_QUOTE:case Qt.OPEN_SQUARE_BRACKET:case Qt.BACKSLASH:case Qt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},zn=Qt,Ei=function(Be){return+setTimeout(Be,16)},It=function(Be){return clearTimeout(Be)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ei=function(Be){return window.requestAnimationFrame(Be)},It=function(Be){return window.cancelAnimationFrame(Be)});var Bn=0,Sr=new Map;function Wi(Se){Sr.delete(Se)}var Mi=function(Be){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Bn+=1;var Mt=Bn;function Ht(Kt){if(Kt===0)Wi(Mt),Be();else{var wn=Ei(function(){Ht(Kt-1)});Sr.set(Mt,wn)}}return Ht(gt),Mt};Mi.cancel=function(Se){var Be=Sr.get(Se);return Wi(Be),It(Be)};var di=Mi,oo=zn.ESC,pr=zn.TAB;function or(Se){var Be=Se.visible,gt=Se.triggerRef,Mt=Se.onVisibleChange,Ht=Se.autoFocus,Kt=Se.overlayRef,wn=Ne.useRef(!1),Rn=function(){if(Be){var Hn,Xt;(Hn=gt.current)===null||Hn===void 0||(Xt=Hn.focus)===null||Xt===void 0||Xt.call(Hn),Mt==null||Mt(!1)}},ii=function(){var Hn;return(Hn=Kt.current)!==null&&Hn!==void 0&&Hn.focus?(Kt.current.focus(),wn.current=!0,!0):!1},ai=function(Hn){switch(Hn.keyCode){case oo:Rn();break;case pr:{var Xt=!1;wn.current||(Xt=ii()),Xt?Hn.preventDefault():Rn();break}}};Ne.useEffect(function(){return Be?(window.addEventListener("keydown",ai),Ht&&di(ii,3),function(){window.removeEventListener("keydown",ai),wn.current=!1}):function(){wn.current=!1}},[Be])}var Zi=(0,Ne.forwardRef)(function(Se,Be){var gt=Se.overlay,Mt=Se.arrow,Ht=Se.prefixCls,Kt=(0,Ne.useMemo)(function(){var Rn;return typeof gt=="function"?Rn=gt():Rn=gt,Rn},[gt]),wn=Pt(Be,Kt==null?void 0:Kt.ref);return Ne.createElement(Ne.Fragment,null,Mt&&Ne.createElement("div",{className:"".concat(Ht,"-arrow")}),Ne.cloneElement(Kt,{ref:dn(Kt)?wn:void 0}))}),qa=Zi,Wa={adjustX:1,adjustY:1},Ka=[0,0],cr={topLeft:{points:["bl","tl"],overflow:Wa,offset:[0,-4],targetOffset:Ka},top:{points:["bc","tc"],overflow:Wa,offset:[0,-4],targetOffset:Ka},topRight:{points:["br","tr"],overflow:Wa,offset:[0,-4],targetOffset:Ka},bottomLeft:{points:["tl","bl"],overflow:Wa,offset:[0,4],targetOffset:Ka},bottom:{points:["tc","bc"],overflow:Wa,offset:[0,4],targetOffset:Ka},bottomRight:{points:["tr","br"],overflow:Wa,offset:[0,4],targetOffset:Ka}},Ki=cr,Ui=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function hs(Se,Be){var gt,Mt=Se.arrow,Ht=Mt===void 0?!1:Mt,Kt=Se.prefixCls,wn=Kt===void 0?"rc-dropdown":Kt,Rn=Se.transitionName,ii=Se.animation,ai=Se.align,Si=Se.placement,Hn=Si===void 0?"bottomLeft":Si,Xt=Se.placements,Gt=Xt===void 0?Ki:Xt,on=Se.getPopupContainer,yn=Se.showAction,ei=Se.hideAction,mi=Se.overlayClassName,hi=Se.overlayStyle,ri=Se.visible,Ci=Se.trigger,vi=Ci===void 0?["hover"]:Ci,Ri=Se.autoFocus,zi=Se.overlay,Ji=Se.children,Oi=Se.onVisibleChange,er=(0,Ve.Z)(Se,Ui),gr=Ne.useState(),lt=(0,Me.Z)(gr,2),st=lt[0],mt=lt[1],Ft="visible"in Se?ri:st,Ln=Ne.useRef(null),Zn=Ne.useRef(null),zt=Ne.useRef(null);Ne.useImperativeHandle(Be,function(){return Ln.current});var mn=function(Zt){mt(Zt),Oi==null||Oi(Zt)};or({visible:Ft,triggerRef:zt,onVisibleChange:mn,autoFocus:Ri,overlayRef:Zn});var jn=function(Zt){var Fn=Se.onOverlayClick;mt(!1),Fn&&Fn(Zt)},Yn=function(){return Ne.createElement(qa,{ref:Zn,overlay:zi,prefixCls:wn,arrow:Ht})},bn=function(){return typeof zi=="function"?Yn:Yn()},rn=function(){var Zt=Se.minOverlayWidthMatchTrigger,Fn=Se.alignPoint;return"minOverlayWidthMatchTrigger"in Se?Zt:!Fn},Jn=function(){var Zt=Se.openClassName;return Zt!==void 0?Zt:"".concat(wn,"-open")},it=Ne.cloneElement(Ji,{className:Pe()((gt=Ji.props)===null||gt===void 0?void 0:gt.className,Ft&&Jn()),ref:dn(Ji)?Pt(zt,Ji.ref):void 0}),qt=ei;return!qt&&vi.indexOf("contextMenu")!==-1&&(qt=["click"]),Ne.createElement(Ie.Z,(0,Te.Z)({builtinPlacements:Gt},er,{prefixCls:wn,ref:Ln,popupClassName:Pe()(mi,(0,Qe.Z)({},"".concat(wn,"-show-arrow"),Ht)),popupStyle:hi,action:vi,showAction:yn,hideAction:qt,popupPlacement:Hn,popupAlign:ai,popupTransitionName:Rn,popupAnimation:ii,popupVisible:Ft,stretch:rn()?"minWidth":"",popup:bn(),onPopupVisibleChange:mn,onPopupClick:jn,getPopupContainer:on}),it)}var ts=Ne.forwardRef(hs),Ao=ts,yr=ge(78595),si={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Be){var gt=Be.keyCode;if(Be.altKey&&!Be.ctrlKey||Be.metaKey||gt>=si.F1&&gt<=si.F12)return!1;switch(gt){case si.ALT:case si.CAPS_LOCK:case si.CONTEXT_MENU:case si.CTRL:case si.DOWN:case si.END:case si.ESC:case si.HOME:case si.INSERT:case si.LEFT:case si.MAC_FF_META:case si.META:case si.NUMLOCK:case si.NUM_CENTER:case si.PAGE_DOWN:case si.PAGE_UP:case si.PAUSE:case si.PRINT_SCREEN:case si.RIGHT:case si.SHIFT:case si.UP:case si.WIN_KEY:case si.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Be){if(Be>=si.ZERO&&Be<=si.NINE||Be>=si.NUM_ZERO&&Be<=si.NUM_MULTIPLY||Be>=si.A&&Be<=si.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Be===0)return!0;switch(Be){case si.SPACE:case si.QUESTION_MARK:case si.NUM_PLUS:case si.NUM_MINUS:case si.NUM_PERIOD:case si.NUM_DIVISION:case si.SEMICOLON:case si.DASH:case si.EQUALS:case si.COMMA:case si.PERIOD:case si.SLASH:case si.APOSTROPHE:case si.SINGLE_QUOTE:case si.OPEN_SQUARE_BRACKET:case si.BACKSLASH:case si.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ni=si;function Ms(Se,Be){var gt=Se.prefixCls,Mt=Se.id,Ht=Se.tabs,Kt=Se.locale,wn=Se.mobile,Rn=Se.moreIcon,ii=Rn===void 0?"More":Rn,ai=Se.moreTransitionName,Si=Se.style,Hn=Se.className,Xt=Se.editable,Gt=Se.tabBarGutter,on=Se.rtl,yn=Se.removeAriaLabel,ei=Se.onTabClick,mi=Se.getPopupContainer,hi=Se.popupClassName,ri=(0,Ne.useState)(!1),Ci=(0,Me.Z)(ri,2),vi=Ci[0],Ri=Ci[1],zi=(0,Ne.useState)(null),Ji=(0,Me.Z)(zi,2),Oi=Ji[0],er=Ji[1],gr="".concat(Mt,"-more-popup"),lt="".concat(gt,"-dropdown"),st=Oi!==null?"".concat(gr,"-").concat(Oi):null,mt=Kt==null?void 0:Kt.dropdownAriaLabel;function Ft(bn,rn){bn.preventDefault(),bn.stopPropagation(),Xt.onEdit("remove",{key:rn,event:bn})}var Ln=Ne.createElement(yr.ZP,{onClick:function(rn){var Jn=rn.key,it=rn.domEvent;ei(Jn,it),Ri(!1)},prefixCls:"".concat(lt,"-menu"),id:gr,tabIndex:-1,role:"listbox","aria-activedescendant":st,selectedKeys:[Oi],"aria-label":mt!==void 0?mt:"expanded dropdown"},Ht.map(function(bn){var rn=bn.closable,Jn=bn.disabled,it=bn.closeIcon,qt=bn.key,Vt=bn.label,Zt=de(rn,it,Xt,Jn);return Ne.createElement(yr.sN,{key:qt,id:"".concat(gr,"-").concat(qt),role:"option","aria-controls":Mt&&"".concat(Mt,"-panel-").concat(qt),disabled:Jn},Ne.createElement("span",null,Vt),Zt&&Ne.createElement("button",{type:"button","aria-label":yn||"remove",tabIndex:0,className:"".concat(lt,"-menu-item-remove"),onClick:function(kn){kn.stopPropagation(),Ft(kn,qt)}},it||Xt.removeIcon||"\xD7"))}));function Zn(bn){for(var rn=Ht.filter(function(Zt){return!Zt.disabled}),Jn=rn.findIndex(function(Zt){return Zt.key===Oi})||0,it=rn.length,qt=0;qt<it;qt+=1){Jn=(Jn+bn+it)%it;var Vt=rn[Jn];if(!Vt.disabled){er(Vt.key);return}}}function zt(bn){var rn=bn.which;if(!vi){[Ni.DOWN,Ni.SPACE,Ni.ENTER].includes(rn)&&(Ri(!0),bn.preventDefault());return}switch(rn){case Ni.UP:Zn(-1),bn.preventDefault();break;case Ni.DOWN:Zn(1),bn.preventDefault();break;case Ni.ESC:Ri(!1);break;case Ni.SPACE:case Ni.ENTER:Oi!==null&&ei(Oi,bn);break}}(0,Ne.useEffect)(function(){var bn=document.getElementById(st);bn&&bn.scrollIntoView&&bn.scrollIntoView(!1)},[Oi]),(0,Ne.useEffect)(function(){vi||er(null)},[vi]);var mn=(0,Qe.Z)({},on?"marginRight":"marginLeft",Gt);Ht.length||(mn.visibility="hidden",mn.order=1);var jn=Pe()((0,Qe.Z)({},"".concat(lt,"-rtl"),on)),Yn=wn?null:Ne.createElement(Ao,{prefixCls:lt,overlay:Ln,trigger:["hover"],visible:Ht.length?vi:!1,transitionName:ai,onVisibleChange:Ri,overlayClassName:Pe()(jn,hi),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:mi},Ne.createElement("button",{type:"button",className:"".concat(gt,"-nav-more"),style:mn,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":gr,id:"".concat(Mt,"-more"),"aria-expanded":vi,onKeyDown:zt},ii));return Ne.createElement("div",{className:Pe()("".concat(gt,"-nav-operations"),Hn),style:Si,ref:Be},Yn,Ne.createElement(ye,{prefixCls:gt,locale:Kt,editable:Xt}))}var mo=Ne.memo(Ne.forwardRef(Ms),function(Se,Be){return Be.tabMoving});function Ii(Se){var Be,gt=Se.prefixCls,Mt=Se.id,Ht=Se.active,Kt=Se.tab,wn=Kt.key,Rn=Kt.label,ii=Kt.disabled,ai=Kt.closeIcon,Si=Se.closable,Hn=Se.renderWrapper,Xt=Se.removeAriaLabel,Gt=Se.editable,on=Se.onClick,yn=Se.onFocus,ei=Se.style,mi="".concat(gt,"-tab"),hi=de(Si,ai,Gt,ii);function ri(Ri){ii||on(Ri)}function Ci(Ri){Ri.preventDefault(),Ri.stopPropagation(),Gt.onEdit("remove",{key:wn,event:Ri})}var vi=Ne.createElement("div",{key:wn,"data-node-key":Ee(wn),className:Pe()(mi,(Be={},(0,Qe.Z)(Be,"".concat(mi,"-with-remove"),hi),(0,Qe.Z)(Be,"".concat(mi,"-active"),Ht),(0,Qe.Z)(Be,"".concat(mi,"-disabled"),ii),Be)),style:ei,onClick:ri},Ne.createElement("div",{role:"tab","aria-selected":Ht,id:Mt&&"".concat(Mt,"-tab-").concat(wn),className:"".concat(mi,"-btn"),"aria-controls":Mt&&"".concat(Mt,"-panel-").concat(wn),"aria-disabled":ii,tabIndex:ii?null:0,onClick:function(zi){zi.stopPropagation(),ri(zi)},onKeyDown:function(zi){[Ni.SPACE,Ni.ENTER].includes(zi.which)&&(zi.preventDefault(),ri(zi))},onFocus:yn},Rn),hi&&Ne.createElement("button",{type:"button","aria-label":Xt||"remove",tabIndex:0,className:"".concat(mi,"-remove"),onClick:function(zi){zi.stopPropagation(),Ci(zi)}},ai||Gt.removeIcon||"\xD7"));return Hn?Hn(vi):vi}var Qr=Ii,ga=function(Be){return+setTimeout(Be,16)},qn=function(Be){return clearTimeout(Be)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ga=function(Be){return window.requestAnimationFrame(Be)},qn=function(Be){return window.cancelAnimationFrame(Be)});var In=0,Xn=new Map;function Vi(Se){Xn.delete(Se)}var Yi=function(Be){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;In+=1;var Mt=In;function Ht(Kt){if(Kt===0)Vi(Mt),Be();else{var wn=ga(function(){Ht(Kt-1)});Xn.set(Mt,wn)}}return Ht(gt),Mt};Yi.cancel=function(Se){var Be=Xn.get(Se);return Vi(Be),qn(Be)};var sr=Yi,dr=function(Be){var gt=Be.activeTabOffset,Mt=Be.horizontal,Ht=Be.rtl,Kt=Be.indicatorSize,wn=(0,Ne.useState)(),Rn=(0,Me.Z)(wn,2),ii=Rn[0],ai=Rn[1],Si=(0,Ne.useRef)(),Hn=function(on){return typeof Kt=="function"?Kt(on):typeof Kt=="number"?Kt:on};function Xt(){sr.cancel(Si.current)}return(0,Ne.useEffect)(function(){var Gt={};return gt&&(Mt?(Ht?(Gt.right=gt.right+gt.width/2,Gt.transform="translateX(50%)"):(Gt.left=gt.left+gt.width/2,Gt.transform="translateX(-50%)"),Gt.width=Hn(gt.width)):(Gt.top=gt.top+gt.height/2,Gt.transform="translateY(-50%)",Gt.height=Hn(gt.height))),Xt(),Si.current=sr(function(){ai(Gt)}),Xt},[gt,Mt,Ht,Kt]),{style:ii}},br=dr,xr=function(Be){var gt=Be.current||{},Mt=gt.offsetWidth,Ht=Mt===void 0?0:Mt,Kt=gt.offsetHeight,wn=Kt===void 0?0:Kt;return[Ht,wn]},wi=function(Be,gt){return Be[gt?0:1]};function _n(Se,Be){var gt,Mt=Ne.useContext(yt),Ht=Mt.prefixCls,Kt=Mt.tabs,wn=Se.className,Rn=Se.style,ii=Se.id,ai=Se.animated,Si=Se.activeKey,Hn=Se.rtl,Xt=Se.extra,Gt=Se.editable,on=Se.locale,yn=Se.tabPosition,ei=Se.tabBarGutter,mi=Se.children,hi=Se.onTabClick,ri=Se.onTabScroll,Ci=Se.indicatorSize,vi=(0,Ne.useRef)(),Ri=(0,Ne.useRef)(),zi=(0,Ne.useRef)(),Ji=(0,Ne.useRef)(),Oi=(0,Ne.useRef)(),er=(0,Ne.useRef)(),gr=(0,Ne.useRef)(),lt=yn==="top"||yn==="bottom",st=$e(0,function(Gi,bi){lt&&ri&&ri({direction:Gi>bi?"left":"right"})}),mt=(0,Me.Z)(st,2),Ft=mt[0],Ln=mt[1],Zn=$e(0,function(Gi,bi){!lt&&ri&&ri({direction:Gi>bi?"top":"bottom"})}),zt=(0,Me.Z)(Zn,2),mn=zt[0],jn=zt[1],Yn=(0,Ne.useState)([0,0]),bn=(0,Me.Z)(Yn,2),rn=bn[0],Jn=bn[1],it=(0,Ne.useState)([0,0]),qt=(0,Me.Z)(it,2),Vt=qt[0],Zt=qt[1],Fn=(0,Ne.useState)([0,0]),kn=(0,Me.Z)(Fn,2),ki=kn[0],tr=kn[1],at=(0,Ne.useState)([0,0]),nr=(0,Me.Z)(at,2),Hr=nr[0],wr=nr[1],Gr=Et(new Map),Fr=(0,Me.Z)(Gr,2),Ar=Fr[0],va=Fr[1],hr=xe(Kt,Ar,Vt[0]),$r=wi(rn,lt),Sa=wi(Vt,lt),Fa=wi(ki,lt),ya=wi(Hr,lt),bo=$r<Sa+Fa,qi=bo?$r-ya:$r-Fa,Zo="".concat(Ht,"-nav-operations-hidden"),Xe=0,_e=0;lt&&Hn?(Xe=0,_e=Math.max(0,Sa-qi)):(Xe=Math.min(0,qi-Sa),_e=0);function Le(Gi){return Gi<Xe?Xe:Gi>_e?_e:Gi}var Kn=(0,Ne.useRef)(),ti=(0,Ne.useState)(),Di=(0,Me.Z)(ti,2),Qi=Di[0],yi=Di[1];function On(){yi(Date.now())}function sn(){window.clearTimeout(Kn.current)}Ct(Ji,function(Gi,bi){function Or(_i,Sn){_i(function(ra){var rs=Le(ra+Sn);return rs})}return bo?(lt?Or(Ln,Gi):Or(jn,bi),sn(),On(),!0):!1}),(0,Ne.useEffect)(function(){return sn(),Qi&&(Kn.current=window.setTimeout(function(){yi(0)},100)),sn},[Qi]);var Qn=Rt(hr,qi,lt?Ft:mn,Sa,Fa,ya,(0,we.Z)((0,we.Z)({},Se),{},{tabs:Kt})),zr=(0,Me.Z)(Qn,2),uo=zr[0],Li=zr[1],Xi=et(function(){var Gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Si,bi=hr.get(Gi)||{width:0,height:0,left:0,right:0,top:0};if(lt){var Or=Ft;Hn?bi.right<Ft?Or=bi.right:bi.right+bi.width>Ft+qi&&(Or=bi.right+bi.width-qi):bi.left<-Ft?Or=-bi.left:bi.left+bi.width>-Ft+qi&&(Or=-(bi.left+bi.width-qi)),jn(0),Ln(Le(Or))}else{var _i=mn;bi.top<-mn?_i=-bi.top:bi.top+bi.height>-mn+qi&&(_i=-(bi.top+bi.height-qi)),Ln(0),jn(Le(_i))}}),ea={};yn==="top"||yn==="bottom"?ea[Hn?"marginRight":"marginLeft"]=ei:ea.marginTop=ei;var ba=Kt.map(function(Gi,bi){var Or=Gi.key;return Ne.createElement(Qr,{id:ii,prefixCls:Ht,key:Or,tab:Gi,style:bi===0?void 0:ea,closable:Gi.closable,editable:Gt,active:Or===Si,renderWrapper:mi,removeAriaLabel:on==null?void 0:on.removeAriaLabel,onClick:function(Sn){hi(Or,Sn)},onFocus:function(){Xi(Or),On(),Ji.current&&(Hn||(Ji.current.scrollLeft=0),Ji.current.scrollTop=0)}})}),eo=function(){return va(function(){var bi=new Map;return Kt.forEach(function(Or){var _i,Sn=Or.key,ra=(_i=Oi.current)===null||_i===void 0?void 0:_i.querySelector('[data-node-key="'.concat(Ee(Sn),'"]'));ra&&bi.set(Sn,{width:ra.offsetWidth,height:ra.offsetHeight,left:ra.offsetLeft,top:ra.offsetTop})}),bi})};(0,Ne.useEffect)(function(){eo()},[Kt.map(function(Gi){return Gi.key}).join("_")]);var Oa=fn(function(){var Gi=xr(vi),bi=xr(Ri),Or=xr(zi);Jn([Gi[0]-bi[0]-Or[0],Gi[1]-bi[1]-Or[1]]);var _i=xr(gr);tr(_i);var Sn=xr(er);wr(Sn);var ra=xr(Oi);Zt([ra[0]-_i[0],ra[1]-_i[1]]),eo()}),Cr=Kt.slice(0,uo),Pa=Kt.slice(Li+1),Wr=[].concat((0,Je.Z)(Cr),(0,Je.Z)(Pa)),$i=hr.get(Si),_r=br({activeTabOffset:$i,horizontal:lt,rtl:Hn,indicatorSize:Ci}),xo=_r.style;(0,Ne.useEffect)(function(){Xi()},[Si,Xe,_e,vn($i),vn(hr),lt]),(0,Ne.useEffect)(function(){Oa()},[Hn]);var gi=!!Wr.length,Bi="".concat(Ht,"-nav-wrap"),vr,ir,Er,ta;return lt?Hn?(ir=Ft>0,vr=Ft!==_e):(vr=Ft<0,ir=Ft!==Xe):(Er=mn<0,ta=mn!==Xe),Ne.createElement(Ot.Z,{onResize:Oa},Ne.createElement("div",{ref:Tn(Be,vi),role:"tablist",className:Pe()("".concat(Ht,"-nav"),wn),style:Rn,onKeyDown:function(){On()}},Ne.createElement(ue,{ref:Ri,position:"left",extra:Xt,prefixCls:Ht}),Ne.createElement(Ot.Z,{onResize:Oa},Ne.createElement("div",{className:Pe()(Bi,(gt={},(0,Qe.Z)(gt,"".concat(Bi,"-ping-left"),vr),(0,Qe.Z)(gt,"".concat(Bi,"-ping-right"),ir),(0,Qe.Z)(gt,"".concat(Bi,"-ping-top"),Er),(0,Qe.Z)(gt,"".concat(Bi,"-ping-bottom"),ta),gt)),ref:Ji},Ne.createElement(Ot.Z,{onResize:Oa},Ne.createElement("div",{ref:Oi,className:"".concat(Ht,"-nav-list"),style:{transform:"translate(".concat(Ft,"px, ").concat(mn,"px)"),transition:Qi?"none":void 0}},ba,Ne.createElement(ye,{ref:gr,prefixCls:Ht,locale:on,editable:Gt,style:(0,we.Z)((0,we.Z)({},ba.length===0?void 0:ea),{},{visibility:gi?"hidden":null})}),Ne.createElement("div",{className:Pe()("".concat(Ht,"-ink-bar"),(0,Qe.Z)({},"".concat(Ht,"-ink-bar-animated"),ai.inkBar)),style:xo}))))),Ne.createElement(mo,(0,Te.Z)({},Se,{removeAriaLabel:on==null?void 0:on.removeAriaLabel,ref:er,prefixCls:Ht,tabs:Wr,className:!gi&&Zo,tabMoving:!!Qi})),Ne.createElement(ue,{ref:zi,position:"right",extra:Xt,prefixCls:Ht})))}var Dr=Ne.forwardRef(_n),Ti=["renderTabBar"],Ai=["label","key"];function Fi(Se){var Be=Se.renderTabBar,gt=(0,Ve.Z)(Se,Ti),Mt=Ne.useContext(yt),Ht=Mt.tabs;if(Be){var Kt=(0,we.Z)((0,we.Z)({},gt),{},{panes:Ht.map(function(wn){var Rn=wn.label,ii=wn.key,ai=(0,Ve.Z)(wn,Ai);return Ne.createElement(Jt,(0,Te.Z)({tab:Rn,key:ii,tabKey:ii},ai))})});return Be(Kt,Dr)}return Ne.createElement(Dr,gt)}var Na={},Xr=[],mr=function(Be){Xr.push(Be)};function an(Se,Be){if(0)var gt}function li(Se,Be){if(0)var gt}function Fo(){Na={}}function Oo(Se,Be,gt){!Be&&!Na[gt]&&(Se(!1,gt),Na[gt]=!0)}function go(Se,Be){Oo(an,Se,Be)}function Lr(Se,Be){Oo(li,Se,Be)}go.preMessage=mr,go.resetWarned=Fo,go.noteOnce=Lr;var Eo=null;function pi(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Be;return Se===!1?Be={inkBar:!1,tabPane:!1}:Se===!0?Be={inkBar:!0,tabPane:!1}:Be=(0,we.Z)({inkBar:!0},(0,Ge.Z)(Se)==="object"?Se:{}),Be.tabPaneMotion&&Be.tabPane===void 0&&(Be.tabPane=!0),!Be.tabPaneMotion&&Be.tabPane&&(Be.tabPane=!1),Be}var jr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],ln=0;function sa(Se,Be){var gt,Mt=Se.id,Ht=Se.prefixCls,Kt=Ht===void 0?"rc-tabs":Ht,wn=Se.className,Rn=Se.items,ii=Se.direction,ai=Se.activeKey,Si=Se.defaultActiveKey,Hn=Se.editable,Xt=Se.animated,Gt=Se.tabPosition,on=Gt===void 0?"top":Gt,yn=Se.tabBarGutter,ei=Se.tabBarStyle,mi=Se.tabBarExtraContent,hi=Se.locale,ri=Se.moreIcon,Ci=Se.moreTransitionName,vi=Se.destroyInactiveTabPane,Ri=Se.renderTabBar,zi=Se.onChange,Ji=Se.onTabClick,Oi=Se.onTabScroll,er=Se.getPopupContainer,gr=Se.popupClassName,lt=Se.indicatorSize,st=(0,Ve.Z)(Se,jr),mt=Ne.useMemo(function(){return(Rn||[]).filter(function(wr){return wr&&(0,Ge.Z)(wr)==="object"&&"key"in wr})},[Rn]),Ft=ii==="rtl",Ln=pi(Xt),Zn=(0,Ne.useState)(!1),zt=(0,Me.Z)(Zn,2),mn=zt[0],jn=zt[1];(0,Ne.useEffect)(function(){jn(ct())},[]);var Yn=vt(function(){var wr;return(wr=mt[0])===null||wr===void 0?void 0:wr.key},{value:ai,defaultValue:Si}),bn=(0,Me.Z)(Yn,2),rn=bn[0],Jn=bn[1],it=(0,Ne.useState)(function(){return mt.findIndex(function(wr){return wr.key===rn})}),qt=(0,Me.Z)(it,2),Vt=qt[0],Zt=qt[1];(0,Ne.useEffect)(function(){var wr=mt.findIndex(function(Fr){return Fr.key===rn});if(wr===-1){var Gr;wr=Math.max(0,Math.min(Vt,mt.length-1)),Jn((Gr=mt[wr])===null||Gr===void 0?void 0:Gr.key)}Zt(wr)},[mt.map(function(wr){return wr.key}).join("_"),rn,Vt]);var Fn=vt(null,{value:Mt}),kn=(0,Me.Z)(Fn,2),ki=kn[0],tr=kn[1];(0,Ne.useEffect)(function(){Mt||(tr("rc-tabs-".concat(ln)),ln+=1)},[]);function at(wr,Gr){Ji==null||Ji(wr,Gr);var Fr=wr!==rn;Jn(wr),Fr&&(zi==null||zi(wr))}var nr={id:ki,activeKey:rn,animated:Ln,tabPosition:on,rtl:Ft,mobile:mn},Hr=(0,we.Z)((0,we.Z)({},nr),{},{editable:Hn,locale:hi,moreIcon:ri,moreTransitionName:Ci,tabBarGutter:yn,onTabClick:at,onTabScroll:Oi,extra:mi,style:ei,panes:null,getPopupContainer:er,popupClassName:gr,indicatorSize:lt});return Ne.createElement(yt.Provider,{value:{tabs:mt,prefixCls:Kt}},Ne.createElement("div",(0,Te.Z)({ref:Be,id:Mt,className:Pe()(Kt,"".concat(Kt,"-").concat(on),(gt={},(0,Qe.Z)(gt,"".concat(Kt,"-mobile"),mn),(0,Qe.Z)(gt,"".concat(Kt,"-editable"),Hn),(0,Qe.Z)(gt,"".concat(Kt,"-rtl"),Ft),gt),wn)},st),Ne.createElement(Fi,(0,Te.Z)({},Hr,{renderTabBar:Ri})),Ne.createElement(Bt,(0,Te.Z)({destroyInactiveTabPane:vi},nr,{animated:Ln}))))}var Br=Ne.forwardRef(sa),Xa=Br,la=Xa,Ea=ge(53124),ua=ge(98675),Tr=()=>null,ca=ge(33603);const $a={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Go(Se){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},gt;return Be===!1?gt={inkBar:!1,tabPane:!1}:Be===!0?gt={inkBar:!0,tabPane:!0}:gt=Object.assign({inkBar:!0},typeof Be=="object"?Be:{}),gt.tabPane&&(gt.tabPaneMotion=Object.assign(Object.assign({},$a),{motionName:(0,ca.m)(Se,"switch")})),gt}var Vo=ge(37419),Po=function(Se,Be){var gt={};for(var Mt in Se)Object.prototype.hasOwnProperty.call(Se,Mt)&&Be.indexOf(Mt)<0&&(gt[Mt]=Se[Mt]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Mt=Object.getOwnPropertySymbols(Se);Ht<Mt.length;Ht++)Be.indexOf(Mt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Se,Mt[Ht])&&(gt[Mt[Ht]]=Se[Mt[Ht]]);return gt};function Yo(Se){return Se.filter(Be=>Be)}function Mo(Se,Be){if(Se)return Se;const gt=(0,Vo.Z)(Be).map(Mt=>{if(Ne.isValidElement(Mt)){const{key:Ht,props:Kt}=Mt,wn=Kt||{},{tab:Rn}=wn,ii=Po(wn,["tab"]);return Object.assign(Object.assign({key:String(Ht)},ii),{label:Rn})}return null});return Yo(gt)}var Rr=ge(14747),zo=ge(67968),is=ge(45503),Ua=ge(67771),Ia=Se=>{const{componentCls:Be,motionDurationSlow:gt}=Se;return[{[Be]:{[`${Be}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${gt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${gt}`}}}}},[(0,Ua.oN)(Se,"slide-up"),(0,Ua.oN)(Se,"slide-down")]]};const So=Se=>{const{componentCls:Be,tabsCardPadding:gt,cardBg:Mt,cardGutter:Ht,colorBorderSecondary:Kt,itemSelectedColor:wn}=Se;return{[`${Be}-card`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab`]:{margin:0,padding:gt,background:Mt,border:`${Se.lineWidth}px ${Se.lineType} ${Kt}`,transition:`all ${Se.motionDurationSlow} ${Se.motionEaseInOut}`},[`${Be}-tab-active`]:{color:wn,background:Se.colorBgContainer},[`${Be}-ink-bar`]:{visibility:"hidden"}},[`&${Be}-top, &${Be}-bottom`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab + ${Be}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ht}px`}}}},[`&${Be}-top`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab`]:{borderRadius:`${Se.borderRadiusLG}px ${Se.borderRadiusLG}px 0 0`},[`${Be}-tab-active`]:{borderBottomColor:Se.colorBgContainer}}},[`&${Be}-bottom`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab`]:{borderRadius:`0 0 ${Se.borderRadiusLG}px ${Se.borderRadiusLG}px`},[`${Be}-tab-active`]:{borderTopColor:Se.colorBgContainer}}},[`&${Be}-left, &${Be}-right`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab + ${Be}-tab`]:{marginTop:`${Ht}px`}}},[`&${Be}-left`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Se.borderRadiusLG}px 0 0 ${Se.borderRadiusLG}px`}},[`${Be}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Se.colorBgContainer}}}},[`&${Be}-right`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Se.borderRadiusLG}px ${Se.borderRadiusLG}px 0`}},[`${Be}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Se.colorBgContainer}}}}}}},Ta=Se=>{const{componentCls:Be,itemHoverColor:gt,dropdownEdgeChildVerticalPadding:Mt}=Se;return{[`${Be}-dropdown`]:Object.assign(Object.assign({},(0,Rr.Wf)(Se)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Se.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Be}-dropdown-menu`]:{maxHeight:Se.tabsDropdownHeight,margin:0,padding:`${Mt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Se.colorBgContainer,backgroundClip:"padding-box",borderRadius:Se.borderRadiusLG,outline:"none",boxShadow:Se.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Rr.vS),{display:"flex",alignItems:"center",minWidth:Se.tabsDropdownWidth,margin:0,padding:`${Se.paddingXXS}px ${Se.paddingSM}px`,color:Se.colorText,fontWeight:"normal",fontSize:Se.fontSize,lineHeight:Se.lineHeight,cursor:"pointer",transition:`all ${Se.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Se.marginSM},color:Se.colorTextDescription,fontSize:Se.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:gt}},"&:hover":{background:Se.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Se.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},so=Se=>{const{componentCls:Be,margin:gt,colorBorderSecondary:Mt,horizontalMargin:Ht,verticalItemPadding:Kt,verticalItemMargin:wn}=Se;return{[`${Be}-top, ${Be}-bottom`]:{flexDirection:"column",[`> ${Be}-nav, > div > ${Be}-nav`]:{margin:Ht,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Se.lineWidth}px ${Se.lineType} ${Mt}`,content:"''"},[`${Be}-ink-bar`]:{height:Se.lineWidthBold,"&-animated":{transition:`width ${Se.motionDurationSlow}, left ${Se.motionDurationSlow},
right ${Se.motionDurationSlow}`}},[`${Be}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Se.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Se.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Se.boxShadowTabsOverflowRight},[`&${Be}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Be}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Be}-top`]:{[`> ${Be}-nav,
> div > ${Be}-nav`]:{"&::before":{bottom:0},[`${Be}-ink-bar`]:{bottom:0}}},[`${Be}-bottom`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{order:1,marginTop:`${gt}px`,marginBottom:0,"&::before":{top:0},[`${Be}-ink-bar`]:{top:0}},[`> ${Be}-content-holder, > div > ${Be}-content-holder`]:{order:0}},[`${Be}-left, ${Be}-right`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{flexDirection:"column",minWidth:Se.controlHeight*1.25,[`${Be}-tab`]:{padding:Kt,textAlign:"center"},[`${Be}-tab + ${Be}-tab`]:{margin:wn},[`${Be}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Se.controlHeight},"&::before":{top:0,boxShadow:Se.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Se.boxShadowTabsOverflowBottom},[`&${Be}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Be}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Be}-ink-bar`]:{width:Se.lineWidthBold,"&-animated":{transition:`height ${Se.motionDurationSlow}, top ${Se.motionDurationSlow}`}},[`${Be}-nav-list, ${Be}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Be}-left`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Be}-content-holder, > div > ${Be}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Se.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`},[`> ${Be}-content > ${Be}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Se.paddingLG}}}},[`${Be}-right`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{order:1,[`${Be}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Be}-content-holder, > div > ${Be}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Se.lineWidth},borderRight:{_skip_check_:!0,value:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`},[`> ${Be}-content > ${Be}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Se.paddingLG}}}}}},vo=Se=>{const{componentCls:Be,cardPaddingSM:gt,cardPaddingLG:Mt,horizontalItemPaddingSM:Ht,horizontalItemPaddingLG:Kt}=Se;return{[Be]:{"&-small":{[`> ${Be}-nav`]:{[`${Be}-tab`]:{padding:Ht,fontSize:Se.titleFontSizeSM}}},"&-large":{[`> ${Be}-nav`]:{[`${Be}-tab`]:{padding:Kt,fontSize:Se.titleFontSizeLG}}}},[`${Be}-card`]:{[`&${Be}-small`]:{[`> ${Be}-nav`]:{[`${Be}-tab`]:{padding:gt}},[`&${Be}-bottom`]:{[`> ${Be}-nav ${Be}-tab`]:{borderRadius:`0 0 ${Se.borderRadius}px ${Se.borderRadius}px`}},[`&${Be}-top`]:{[`> ${Be}-nav ${Be}-tab`]:{borderRadius:`${Se.borderRadius}px ${Se.borderRadius}px 0 0`}},[`&${Be}-right`]:{[`> ${Be}-nav ${Be}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Se.borderRadius}px ${Se.borderRadius}px 0`}}},[`&${Be}-left`]:{[`> ${Be}-nav ${Be}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Se.borderRadius}px 0 0 ${Se.borderRadius}px`}}}},[`&${Be}-large`]:{[`> ${Be}-nav`]:{[`${Be}-tab`]:{padding:Mt}}}}}},Ma=Se=>{const{componentCls:Be,itemActiveColor:gt,itemHoverColor:Mt,iconCls:Ht,tabsHorizontalItemMargin:Kt,horizontalItemPadding:wn,itemSelectedColor:Rn,itemColor:ii}=Se,ai=`${Be}-tab`;return{[ai]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:wn,fontSize:Se.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:ii,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:gt}},(0,Rr.Qy)(Se)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Se.marginXXS},marginLeft:{_skip_check_:!0,value:Se.marginXS},color:Se.colorTextDescription,fontSize:Se.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Se.motionDurationSlow}`,"&:hover":{color:Se.colorTextHeading}},"&:hover":{color:Mt},[`&${ai}-active ${ai}-btn`]:{color:Rn,textShadow:Se.tabsActiveTextShadow},[`&${ai}-disabled`]:{color:Se.colorTextDisabled,cursor:"not-allowed"},[`&${ai}-disabled ${ai}-btn, &${ai}-disabled ${Be}-remove`]:{"&:focus, &:active":{color:Se.colorTextDisabled}},[`& ${ai}-remove ${Ht}`]:{margin:0},[Ht]:{marginRight:{_skip_check_:!0,value:Se.marginSM}}},[`${ai} + ${ai}`]:{margin:{_skip_check_:!0,value:Kt}}}},lo=Se=>{const{componentCls:Be,tabsHorizontalItemMarginRTL:gt,iconCls:Mt,cardGutter:Ht}=Se;return{[`${Be}-rtl`]:{direction:"rtl",[`${Be}-nav`]:{[`${Be}-tab`]:{margin:{_skip_check_:!0,value:gt},[`${Be}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Mt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Se.marginSM}px`}},[`${Be}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Se.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Se.marginXXS}px`},[Mt]:{margin:0}}}},[`&${Be}-left`]:{[`> ${Be}-nav`]:{order:1},[`> ${Be}-content-holder`]:{order:0}},[`&${Be}-right`]:{[`> ${Be}-nav`]:{order:0},[`> ${Be}-content-holder`]:{order:1}},[`&${Be}-card${Be}-top, &${Be}-card${Be}-bottom`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-tab + ${Be}-tab`]:{marginRight:{_skip_check_:!0,value:Ht},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Be}-dropdown-rtl`]:{direction:"rtl"},[`${Be}-menu-item`]:{[`${Be}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},da=Se=>{const{componentCls:Be,tabsCardPadding:gt,cardHeight:Mt,cardGutter:Ht,itemHoverColor:Kt,itemActiveColor:wn,colorBorderSecondary:Rn}=Se;return{[Be]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Rr.Wf)(Se)),{display:"flex",[`> ${Be}-nav, > div > ${Be}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Be}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Se.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Be}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Se.motionDurationSlow}`},[`${Be}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Be}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Be}-nav-more`]:{position:"relative",padding:gt,background:"transparent",border:0,color:Se.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Se.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Be}-nav-add`]:Object.assign({minWidth:Mt,marginLeft:{_skip_check_:!0,value:Ht},padding:`0 ${Se.paddingXS}px`,background:"transparent",border:`${Se.lineWidth}px ${Se.lineType} ${Rn}`,borderRadius:`${Se.borderRadiusLG}px ${Se.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Se.colorText,transition:`all ${Se.motionDurationSlow} ${Se.motionEaseInOut}`,"&:hover":{color:Kt},"&:active, &:focus:not(:focus-visible)":{color:wn}},(0,Rr.Qy)(Se))},[`${Be}-extra-content`]:{flex:"none"},[`${Be}-ink-bar`]:{position:"absolute",background:Se.inkBarColor,pointerEvents:"none"}}),Ma(Se)),{[`${Be}-content`]:{position:"relative",width:"100%"},[`${Be}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Be}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Be}-centered`]:{[`> ${Be}-nav, > div > ${Be}-nav`]:{[`${Be}-nav-wrap`]:{[`&:not([class*='${Be}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var ha=(0,zo.Z)("Tabs",Se=>{const Be=(0,is.TS)(Se,{tabsCardPadding:Se.cardPadding||`${(Se.cardHeight-Math.round(Se.fontSize*Se.lineHeight))/2-Se.lineWidth}px ${Se.padding}px`,dropdownEdgeChildVerticalPadding:Se.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Se.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Se.horizontalItemGutter}px`});return[vo(Be),lo(Be),so(Be),Ta(Be),So(Be),da(Be),Ia(Be)]},Se=>{const Be=Se.controlHeightLG;return{zIndexPopup:Se.zIndexPopupBase+50,cardBg:Se.colorFillAlter,cardHeight:Be,cardPadding:"",cardPaddingSM:`${Se.paddingXXS*1.5}px ${Se.padding}px`,cardPaddingLG:`${Se.paddingXS}px ${Se.padding}px ${Se.paddingXXS*1.5}px`,titleFontSize:Se.fontSize,titleFontSizeLG:Se.fontSizeLG,titleFontSizeSM:Se.fontSize,inkBarColor:Se.colorPrimary,horizontalMargin:`0 0 ${Se.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Se.paddingSM}px 0`,horizontalItemPaddingSM:`${Se.paddingXS}px 0`,horizontalItemPaddingLG:`${Se.padding}px 0`,verticalItemPadding:`${Se.paddingXS}px ${Se.paddingLG}px`,verticalItemMargin:`${Se.margin}px 0 0 0`,itemColor:Se.colorText,itemSelectedColor:Se.colorPrimary,itemHoverColor:Se.colorPrimaryHover,itemActiveColor:Se.colorPrimaryActive,cardGutter:Se.marginXXS/2}}),yo=function(Se,Be){var gt={};for(var Mt in Se)Object.prototype.hasOwnProperty.call(Se,Mt)&&Be.indexOf(Mt)<0&&(gt[Mt]=Se[Mt]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Mt=Object.getOwnPropertySymbols(Se);Ht<Mt.length;Ht++)Be.indexOf(Mt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Se,Mt[Ht])&&(gt[Mt[Ht]]=Se[Mt[Ht]]);return gt};const ia=Se=>{const{type:Be,className:gt,rootClassName:Mt,size:Ht,onEdit:Kt,hideAdd:wn,centered:Rn,addIcon:ii,popupClassName:ai,children:Si,items:Hn,animated:Xt,style:Gt,indicatorSize:on}=Se,yn=yo(Se,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:ei,moreIcon:mi=Ne.createElement(ot.Z,null)}=yn,{direction:hi,tabs:ri,getPrefixCls:Ci,getPopupContainer:vi}=Ne.useContext(Ea.E_),Ri=Ci("tabs",ei),[zi,Ji]=ha(Ri);let Oi;Be==="editable-card"&&(Oi={onEdit:(Ft,Ln)=>{let{key:Zn,event:zt}=Ln;Kt==null||Kt(Ft==="add"?zt:Zn,Ft)},removeIcon:Ne.createElement(re.Z,null),addIcon:ii||Ne.createElement(Ke.Z,null),showAdd:wn!==!0});const er=Ci(),gr=Mo(Hn,Si),lt=Go(Ri,Xt),st=(0,ua.Z)(Ht),mt=Object.assign(Object.assign({},ri==null?void 0:ri.style),Gt);return zi(Ne.createElement(la,Object.assign({direction:hi,getPopupContainer:vi,moreTransitionName:`${er}-slide-up`},yn,{items:gr,className:Pe()({[`${Ri}-${st}`]:st,[`${Ri}-card`]:["card","editable-card"].includes(Be),[`${Ri}-editable-card`]:Be==="editable-card",[`${Ri}-centered`]:Rn},ri==null?void 0:ri.className,gt,Mt,Ji),popupClassName:Pe()(ai,Ji),style:mt,editable:Oi,moreIcon:mi,prefixCls:Ri,animated:lt,indicatorSize:on!=null?on:ri==null?void 0:ri.indicatorSize})))};ia.TabPane=Tr;var fa=ia},88386:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){re.defineOption("placeholder","",function(we,Me,Ge){var Ve=Ge&&Ge!=re.Init;if(Me&&!Ve)we.on("blur",Pe),we.on("change",Te),we.on("swapDoc",Te),re.on(we.getInputField(),"compositionupdate",we.state.placeholderCompose=function(){nt(we)}),Te(we);else if(!Me&&Ve){we.off("blur",Pe),we.off("change",Te),we.off("swapDoc",Te),re.off(we.getInputField(),"compositionupdate",we.state.placeholderCompose),ot(we);var Ne=we.getWrapperElement();Ne.className=Ne.className.replace(" CodeMirror-empty","")}Me&&!we.hasFocus()&&Pe(we)});function ot(we){we.state.placeholder&&(we.state.placeholder.parentNode.removeChild(we.state.placeholder),we.state.placeholder=null)}function Ke(we){ot(we);var Me=we.state.placeholder=document.createElement("pre");Me.style.cssText="height: 0; overflow: visible",Me.style.direction=we.getOption("direction"),Me.className="CodeMirror-placeholder CodeMirror-line-like";var Ge=we.getOption("placeholder");typeof Ge=="string"&&(Ge=document.createTextNode(Ge)),Me.appendChild(Ge),we.display.lineSpace.insertBefore(Me,we.display.lineSpace.firstChild)}function nt(we){setTimeout(function(){var Me=!1,Ge=we.getInputField();Ge.nodeName=="TEXTAREA"?Me=!Ge.value:we.lineCount()==1&&(Me=!/[^\u200b]/.test(Ge.querySelector(".CodeMirror-line").textContent)),Me?Ke(we):ot(we)},20)}function Pe(we){Qe(we)&&Ke(we)}function Te(we){var Me=we.getWrapperElement(),Ge=Qe(we);Me.className=Me.className.replace(" CodeMirror-empty","")+(Ge?" CodeMirror-empty":""),Ge?Ke(we):ot(we)}function Qe(we){return we.lineCount()===1&&we.getLine(0)===""}})},82801:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){var ot={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Ke=re.Pos;re.defineOption("autoCloseBrackets",!1,function(Re,je,Fe){Fe&&Fe!=re.Init&&(Re.removeKeyMap(Pe),Re.state.closeBrackets=null),je&&(Te(nt(je,"pairs")),Re.state.closeBrackets=je,Re.addKeyMap(Pe))});function nt(Re,je){return je=="pairs"&&typeof Re=="string"?Re:typeof Re=="object"&&Re[je]!=null?Re[je]:ot[je]}var Pe={Backspace:Me,Enter:Ge};function Te(Re){for(var je=0;je<Re.length;je++){var Fe=Re.charAt(je),ze="'"+Fe+"'";Pe[ze]||(Pe[ze]=Qe(Fe))}}Te(ot.pairs+"`");function Qe(Re){return function(je){return Ne(je,Re)}}function we(Re){var je=Re.state.closeBrackets;if(!je||je.override)return je;var Fe=Re.getModeAt(Re.getCursor());return Fe.closeBrackets||je}function Me(Re){var je=we(Re);if(!je||Re.getOption("disableInput"))return re.Pass;for(var Fe=nt(je,"pairs"),ze=Re.listSelections(),ft=0;ft<ze.length;ft++){if(!ze[ft].empty())return re.Pass;var Ye=ct(Re,ze[ft].head);if(!Ye||Fe.indexOf(Ye)%2!=0)return re.Pass}for(var ft=ze.length-1;ft>=0;ft--){var ut=ze[ft].head;Re.replaceRange("",Ke(ut.line,ut.ch-1),Ke(ut.line,ut.ch+1),"+delete")}}function Ge(Re){var je=we(Re),Fe=je&&nt(je,"explode");if(!Fe||Re.getOption("disableInput"))return re.Pass;for(var ze=Re.listSelections(),ft=0;ft<ze.length;ft++){if(!ze[ft].empty())return re.Pass;var Ye=ct(Re,ze[ft].head);if(!Ye||Fe.indexOf(Ye)%2!=0)return re.Pass}Re.operation(function(){var ut=Re.lineSeparator()||`
`;Re.replaceSelection(ut+ut,null),Re.execCommand("goCharLeft"),ze=Re.listSelections();for(var vt=0;vt<ze.length;vt++){var xt=ze[vt].head.line;Re.indentLine(xt,null,!0),Re.indentLine(xt+1,null,!0)}})}function Ve(Re){var je=re.cmpPos(Re.anchor,Re.head)>0;return{anchor:new Ke(Re.anchor.line,Re.anchor.ch+(je?-1:1)),head:new Ke(Re.head.line,Re.head.ch+(je?1:-1))}}function Ne(Re,je){var Fe=we(Re);if(!Fe||Re.getOption("disableInput"))return re.Pass;var ze=nt(Fe,"pairs"),ft=ze.indexOf(je);if(ft==-1)return re.Pass;for(var Ye=nt(Fe,"closeBefore"),ut=nt(Fe,"triples"),vt=ze.charAt(ft+1)==je,xt=Re.listSelections(),yt=ft%2==0,_t,Jt=0;Jt<xt.length;Jt++){var Tt=xt[Jt],Bt=Tt.head,Je,Ot=Re.getRange(Bt,Ke(Bt.line,Bt.ch+1));if(yt&&!Tt.empty())Je="surround";else if((vt||!yt)&&Ot==je)vt&&et(Re,Bt)?Je="both":ut.indexOf(je)>=0&&Re.getRange(Bt,Ke(Bt.line,Bt.ch+3))==je+je+je?Je="skipThree":Je="skip";else if(vt&&Bt.ch>1&&ut.indexOf(je)>=0&&Re.getRange(Ke(Bt.line,Bt.ch-2),Bt)==je+je){if(Bt.ch>2&&/\bstring/.test(Re.getTokenTypeAt(Ke(Bt.line,Bt.ch-2))))return re.Pass;Je="addFour"}else if(vt){var pt=Bt.ch==0?" ":Re.getRange(Ke(Bt.line,Bt.ch-1),Bt);if(!re.isWordChar(Ot)&&pt!=je&&!re.isWordChar(pt))Je="both";else return re.Pass}else if(yt&&(Ot.length===0||/\s/.test(Ot)||Ye.indexOf(Ot)>-1))Je="both";else return re.Pass;if(!_t)_t=Je;else if(_t!=Je)return re.Pass}var jt=ft%2?ze.charAt(ft-1):je,dt=ft%2?je:ze.charAt(ft+1);Re.operation(function(){if(_t=="skip")Re.execCommand("goCharRight");else if(_t=="skipThree")for(var gn=0;gn<3;gn++)Re.execCommand("goCharRight");else if(_t=="surround"){for(var Tn=Re.getSelections(),gn=0;gn<Tn.length;gn++)Tn[gn]=jt+Tn[gn]+dt;Re.replaceSelections(Tn,"around"),Tn=Re.listSelections().slice();for(var gn=0;gn<Tn.length;gn++)Tn[gn]=Ve(Tn[gn]);Re.setSelections(Tn)}else _t=="both"?(Re.replaceSelection(jt+dt,null),Re.triggerElectric(jt+dt),Re.execCommand("goCharLeft")):_t=="addFour"&&(Re.replaceSelection(jt+jt+jt+jt,"before"),Re.execCommand("goCharRight"))})}function ct(Re,je){var Fe=Re.getRange(Ke(je.line,je.ch-1),Ke(je.line,je.ch+1));return Fe.length==2?Fe:null}function et(Re,je){var Fe=Re.getTokenAt(Ke(je.line,je.ch+1));return/\bstring/.test(Fe.type)&&Fe.start==je.ch&&(je.ch==0||!/\bstring/.test(Re.getTokenTypeAt(je)))}})},57341:function(wt,Wt,ge){(function(re){re(ge(4631),ge(4786))})(function(re){re.defineOption("autoCloseTags",!1,function(Me,Ge,Ve){if(Ve!=re.Init&&Ve&&Me.removeKeyMap("autoCloseTags"),!!Ge){var Ne={name:"autoCloseTags"};(typeof Ge!="object"||Ge.whenClosing!==!1)&&(Ne["'/'"]=function(ct){return Te(ct)}),(typeof Ge!="object"||Ge.whenOpening!==!1)&&(Ne["'>'"]=function(ct){return nt(ct)}),Me.addKeyMap(Ne)}});var ot=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ke=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function nt(Me){if(Me.getOption("disableInput"))return re.Pass;for(var Ge=Me.listSelections(),Ve=[],Ne=Me.getOption("autoCloseTags"),ct=0;ct<Ge.length;ct++){if(!Ge[ct].empty())return re.Pass;var et=Ge[ct].head,Re=Me.getTokenAt(et),je=re.innerMode(Me.getMode(),Re.state),Fe=je.state,ze=je.mode.xmlCurrentTag&&je.mode.xmlCurrentTag(Fe),ft=ze&&ze.name;if(!ft)return re.Pass;var Ye=je.mode.configuration=="html",ut=typeof Ne=="object"&&Ne.dontCloseTags||Ye&&ot,vt=typeof Ne=="object"&&Ne.indentTags||Ye&&Ke;Re.end>et.ch&&(ft=ft.slice(0,ft.length-Re.end+et.ch));var xt=ft.toLowerCase();if(!ft||Re.type=="string"&&(Re.end!=et.ch||!/[\"\']/.test(Re.string.charAt(Re.string.length-1))||Re.string.length==1)||Re.type=="tag"&&ze.close||Re.string.indexOf("/")==et.ch-Re.start-1||ut&&Qe(ut,xt)>-1||we(Me,je.mode.xmlCurrentContext&&je.mode.xmlCurrentContext(Fe)||[],ft,et,!0))return re.Pass;var yt=typeof Ne=="object"&&Ne.emptyTags;if(yt&&Qe(yt,ft)>-1){Ve[ct]={text:"/>",newPos:re.Pos(et.line,et.ch+2)};continue}var _t=vt&&Qe(vt,xt)>-1;Ve[ct]={indent:_t,text:">"+(_t?`
`:"")+"</"+ft+">",newPos:_t?re.Pos(et.line+1,0):re.Pos(et.line,et.ch+1)}}for(var Jt=typeof Ne=="object"&&Ne.dontIndentOnAutoClose,ct=Ge.length-1;ct>=0;ct--){var Tt=Ve[ct];Me.replaceRange(Tt.text,Ge[ct].head,Ge[ct].anchor,"+insert");var Bt=Me.listSelections().slice(0);Bt[ct]={head:Tt.newPos,anchor:Tt.newPos},Me.setSelections(Bt),!Jt&&Tt.indent&&(Me.indentLine(Tt.newPos.line,null,!0),Me.indentLine(Tt.newPos.line+1,null,!0))}}function Pe(Me,Ge){for(var Ve=Me.listSelections(),Ne=[],ct=Ge?"/":"</",et=Me.getOption("autoCloseTags"),Re=typeof et=="object"&&et.dontIndentOnSlash,je=0;je<Ve.length;je++){if(!Ve[je].empty())return re.Pass;var Fe=Ve[je].head,ze=Me.getTokenAt(Fe),ft=re.innerMode(Me.getMode(),ze.state),Ye=ft.state;if(Ge&&(ze.type=="string"||ze.string.charAt(0)!="<"||ze.start!=Fe.ch-1))return re.Pass;var ut,vt=ft.mode.name!="xml"&&Me.getMode().name=="htmlmixed";if(vt&&ft.mode.name=="javascript")ut=ct+"script";else if(vt&&ft.mode.name=="css")ut=ct+"style";else{var xt=ft.mode.xmlCurrentContext&&ft.mode.xmlCurrentContext(Ye);if(!xt||xt.length&&we(Me,xt,xt[xt.length-1],Fe))return re.Pass;ut=ct+xt[xt.length-1]}Me.getLine(Fe.line).charAt(ze.end)!=">"&&(ut+=">"),Ne[je]=ut}if(Me.replaceSelections(Ne),Ve=Me.listSelections(),!Re)for(var je=0;je<Ve.length;je++)(je==Ve.length-1||Ve[je].head.line<Ve[je+1].head.line)&&Me.indentLine(Ve[je].head.line)}function Te(Me){return Me.getOption("disableInput")?re.Pass:Pe(Me,!0)}re.commands.closeTag=function(Me){return Pe(Me)};function Qe(Me,Ge){if(Me.indexOf)return Me.indexOf(Ge);for(var Ve=0,Ne=Me.length;Ve<Ne;++Ve)if(Me[Ve]==Ge)return Ve;return-1}function we(Me,Ge,Ve,Ne,ct){if(!re.scanForClosingTag)return!1;var et=Math.min(Me.lastLine()+1,Ne.line+500),Re=re.scanForClosingTag(Me,Ne,null,et);if(!Re||Re.tag!=Ve)return!1;for(var je=ct?1:0,Fe=Ge.length-1;Fe>=0&&Ge[Fe]==Ve;Fe--)++je;Ne=Re.to;for(var Fe=1;Fe<je;Fe++){var ze=re.scanForClosingTag(Me,Ne,null,et);if(!ze||ze.tag!=Ve)return!1;Ne=ze.to}return!0}})},4786:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){"use strict";var ot=re.Pos;function Ke(Fe,ze){return Fe.line-ze.line||Fe.ch-ze.ch}var nt="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",Pe=nt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Te=new RegExp("<(/?)(["+nt+"]["+Pe+"]*)","g");function Qe(Fe,ze,ft,Ye){this.line=ze,this.ch=ft,this.cm=Fe,this.text=Fe.getLine(ze),this.min=Ye?Math.max(Ye.from,Fe.firstLine()):Fe.firstLine(),this.max=Ye?Math.min(Ye.to-1,Fe.lastLine()):Fe.lastLine()}function we(Fe,ze){var ft=Fe.cm.getTokenTypeAt(ot(Fe.line,ze));return ft&&/\btag\b/.test(ft)}function Me(Fe){if(!(Fe.line>=Fe.max))return Fe.ch=0,Fe.text=Fe.cm.getLine(++Fe.line),!0}function Ge(Fe){if(!(Fe.line<=Fe.min))return Fe.text=Fe.cm.getLine(--Fe.line),Fe.ch=Fe.text.length,!0}function Ve(Fe){for(;;){var ze=Fe.text.indexOf(">",Fe.ch);if(ze==-1){if(Me(Fe))continue;return}if(!we(Fe,ze+1)){Fe.ch=ze+1;continue}var ft=Fe.text.lastIndexOf("/",ze),Ye=ft>-1&&!/\S/.test(Fe.text.slice(ft+1,ze));return Fe.ch=ze+1,Ye?"selfClose":"regular"}}function Ne(Fe){for(;;){var ze=Fe.ch?Fe.text.lastIndexOf("<",Fe.ch-1):-1;if(ze==-1){if(Ge(Fe))continue;return}if(!we(Fe,ze+1)){Fe.ch=ze;continue}Te.lastIndex=ze,Fe.ch=ze;var ft=Te.exec(Fe.text);if(ft&&ft.index==ze)return ft}}function ct(Fe){for(;;){Te.lastIndex=Fe.ch;var ze=Te.exec(Fe.text);if(!ze){if(Me(Fe))continue;return}if(!we(Fe,ze.index+1)){Fe.ch=ze.index+1;continue}return Fe.ch=ze.index+ze[0].length,ze}}function et(Fe){for(;;){var ze=Fe.ch?Fe.text.lastIndexOf(">",Fe.ch-1):-1;if(ze==-1){if(Ge(Fe))continue;return}if(!we(Fe,ze+1)){Fe.ch=ze;continue}var ft=Fe.text.lastIndexOf("/",ze),Ye=ft>-1&&!/\S/.test(Fe.text.slice(ft+1,ze));return Fe.ch=ze+1,Ye?"selfClose":"regular"}}function Re(Fe,ze){for(var ft=[];;){var Ye=ct(Fe),ut,vt=Fe.line,xt=Fe.ch-(Ye?Ye[0].length:0);if(!Ye||!(ut=Ve(Fe)))return;if(ut!="selfClose")if(Ye[1]){for(var yt=ft.length-1;yt>=0;--yt)if(ft[yt]==Ye[2]){ft.length=yt;break}if(yt<0&&(!ze||ze==Ye[2]))return{tag:Ye[2],from:ot(vt,xt),to:ot(Fe.line,Fe.ch)}}else ft.push(Ye[2])}}function je(Fe,ze){for(var ft=[];;){var Ye=et(Fe);if(!Ye)return;if(Ye=="selfClose"){Ne(Fe);continue}var ut=Fe.line,vt=Fe.ch,xt=Ne(Fe);if(!xt)return;if(xt[1])ft.push(xt[2]);else{for(var yt=ft.length-1;yt>=0;--yt)if(ft[yt]==xt[2]){ft.length=yt;break}if(yt<0&&(!ze||ze==xt[2]))return{tag:xt[2],from:ot(Fe.line,Fe.ch),to:ot(ut,vt)}}}}re.registerHelper("fold","xml",function(Fe,ze){for(var ft=new Qe(Fe,ze.line,0);;){var Ye=ct(ft);if(!Ye||ft.line!=ze.line)return;var ut=Ve(ft);if(!ut)return;if(!Ye[1]&&ut!="selfClose"){var vt=ot(ft.line,ft.ch),xt=Re(ft,Ye[2]);return xt&&Ke(xt.from,vt)>0?{from:vt,to:xt.from}:null}}}),re.findMatchingTag=function(Fe,ze,ft){var Ye=new Qe(Fe,ze.line,ze.ch,ft);if(!(Ye.text.indexOf(">")==-1&&Ye.text.indexOf("<")==-1)){var ut=Ve(Ye),vt=ut&&ot(Ye.line,Ye.ch),xt=ut&&Ne(Ye);if(!(!ut||!xt||Ke(Ye,ze)>0)){var yt={from:ot(Ye.line,Ye.ch),to:vt,tag:xt[2]};return ut=="selfClose"?{open:yt,close:null,at:"open"}:xt[1]?{open:je(Ye,xt[2]),close:yt,at:"close"}:(Ye=new Qe(Fe,vt.line,vt.ch,ft),{open:yt,close:Re(Ye,xt[2]),at:"open"})}}},re.findEnclosingTag=function(Fe,ze,ft,Ye){for(var ut=new Qe(Fe,ze.line,ze.ch,ft);;){var vt=je(ut,Ye);if(!vt)break;var xt=new Qe(Fe,ze.line,ze.ch,ft),yt=Re(xt,vt.tag);if(yt)return{open:vt,close:yt}}},re.scanForClosingTag=function(Fe,ze,ft,Ye){var ut=new Qe(Fe,ze.line,ze.ch,Ye?{from:0,to:Ye}:null);return Re(ut,ft)}})},4631:function(wt){(function(Wt,ge){wt.exports=ge()})(this,function(){"use strict";var Wt=navigator.userAgent,ge=navigator.platform,re=/gecko\/\d/i.test(Wt),ot=/MSIE \d/.test(Wt),Ke=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Wt),nt=/Edge\/(\d+)/.exec(Wt),Pe=ot||Ke||nt,Te=Pe&&(ot?document.documentMode||6:+(nt||Ke)[1]),Qe=!nt&&/WebKit\//.test(Wt),we=Qe&&/Qt\/\d+\.\d+/.test(Wt),Me=!nt&&/Chrome\//.test(Wt),Ge=/Opera\//.test(Wt),Ve=/Apple Computer/.test(navigator.vendor),Ne=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Wt),ct=/PhantomJS/.test(Wt),et=!nt&&/AppleWebKit/.test(Wt)&&/Mobile\/\w+/.test(Wt),Re=/Android/.test(Wt),je=et||Re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Wt),Fe=et||/Mac/.test(ge),ze=/\bCrOS\b/.test(Wt),ft=/win/i.test(ge),Ye=Ge&&Wt.match(/Version\/(\d*\.\d*)/);Ye&&(Ye=Number(Ye[1])),Ye&&Ye>=15&&(Ge=!1,Qe=!0);var ut=Fe&&(we||Ge&&(Ye==null||Ye<12.11)),vt=re||Pe&&Te>=9;function xt(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var yt=function(x,z){var ne=x.className,te=xt(z).exec(ne);if(te){var ae=ne.slice(te.index+te[0].length);x.className=ne.slice(0,te.index)+(ae?te[1]+ae:"")}};function _t(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function Jt(x,z){return _t(x).appendChild(z)}function Tt(x,z,ne,te){var ae=document.createElement(x);if(ne&&(ae.className=ne),te&&(ae.style.cssText=te),typeof z=="string")ae.appendChild(document.createTextNode(z));else if(z)for(var se=0;se<z.length;++se)ae.appendChild(z[se]);return ae}function Bt(x,z,ne,te){var ae=Tt(x,z,ne,te);return ae.setAttribute("role","presentation"),ae}var Je;document.createRange?Je=function(x,z,ne,te){var ae=document.createRange();return ae.setEnd(te||x,ne),ae.setStart(x,z),ae}:Je=function(x,z,ne){var te=document.body.createTextRange();try{te.moveToElementText(x.parentNode)}catch(ae){return te}return te.collapse(!0),te.moveEnd("character",ne),te.moveStart("character",z),te};function Ot(x,z){if(z.nodeType==3&&(z=z.parentNode),x.contains)return x.contains(z);do if(z.nodeType==11&&(z=z.host),z==x)return!0;while(z=z.parentNode)}function pt(){var x;try{x=document.activeElement}catch(z){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function jt(x,z){var ne=x.className;xt(z).test(ne)||(x.className+=(ne?" ":"")+z)}function dt(x,z){for(var ne=x.split(" "),te=0;te<ne.length;te++)ne[te]&&!xt(ne[te]).test(z)&&(z+=" "+ne[te]);return z}var gn=function(x){x.select()};et?gn=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:Pe&&(gn=function(x){try{x.select()}catch(z){}});function Tn(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function $n(x,z,ne){z||(z={});for(var te in x)x.hasOwnProperty(te)&&(ne!==!1||!z.hasOwnProperty(te))&&(z[te]=x[te]);return z}function ke(x,z,ne,te,ae){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var se=te||0,fe=ae||0;;){var be=x.indexOf(" ",se);if(be<0||be>=z)return fe+(z-se);fe+=be-se,fe+=ne-fe%ne,se=be+1}}var xe=function(){this.id=null,this.f=null,this.time=0,this.handler=Tn(this.onTimeout,this)};xe.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},xe.prototype.set=function(x,z){this.f=z;var ne=+new Date+x;(!this.id||ne<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ne)};function $e(x,z){for(var ne=0;ne<x.length;++ne)if(x[ne]==z)return ne;return-1}var ht=50,kt={toString:function(){return"CodeMirror.Pass"}},rt={scroll:!1},Ue={origin:"*mouse"},Ct={origin:"+move"};function fn(x,z,ne){for(var te=0,ae=0;;){var se=x.indexOf(" ",te);se==-1&&(se=x.length);var fe=se-te;if(se==x.length||ae+fe>=z)return te+Math.min(fe,z-ae);if(ae+=se-te,ae+=ne-ae%ne,te=se+1,ae>=z)return te}}var Et=[""];function Nt(x){for(;Et.length<=x;)Et.push(Rt(Et)+" ");return Et[x]}function Rt(x){return x[x.length-1]}function vn(x,z){for(var ne=[],te=0;te<x.length;te++)ne[te]=z(x[te],te);return ne}function En(x,z,ne){for(var te=0,ae=ne(z);te<x.length&&ne(x[te])<=ae;)te++;x.splice(te,0,z)}function Ee(){}function de(x,z){var ne;return Object.create?ne=Object.create(x):(Ee.prototype=x,ne=new Ee),z&&$n(z,ne),ne}var le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ye(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||le.test(x))}function me(x,z){return z?z.source.indexOf("\\w")>-1&&ye(x)?!0:z.test(x):ye(x)}function ue(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var Ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function tt(x){return x.charCodeAt(0)>=768&&Ie.test(x)}function Lt(x,z,ne){for(;(ne<0?z>0:z<x.length)&&tt(x.charAt(z));)z+=ne;return z}function Pt(x,z,ne){for(var te=z>ne?-1:1;;){if(z==ne)return z;var ae=(z+ne)/2,se=te<0?Math.ceil(ae):Math.floor(ae);if(se==z)return x(se)?z:ne;x(se)?ne=se:z=se+te}}function en(x,z,ne,te){if(!x)return te(z,ne,"ltr",0);for(var ae=!1,se=0;se<x.length;++se){var fe=x[se];(fe.from<ne&&fe.to>z||z==ne&&fe.to==z)&&(te(Math.max(fe.from,z),Math.min(fe.to,ne),fe.level==1?"rtl":"ltr",se),ae=!0)}ae||te(z,ne,"ltr")}var dn=null;function Qt(x,z,ne){var te;dn=null;for(var ae=0;ae<x.length;++ae){var se=x[ae];if(se.from<z&&se.to>z)return ae;se.to==z&&(se.from!=se.to&&ne=="before"?te=ae:dn=ae),se.from==z&&(se.from!=se.to&&ne!="before"?te=ae:dn=ae)}return te!=null?te:dn}var zn=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Ce){return Ce<=247?x.charAt(Ce):1424<=Ce&&Ce<=1524?"R":1536<=Ce&&Ce<=1785?z.charAt(Ce-1536):1774<=Ce&&Ce<=2220?"r":8192<=Ce&&Ce<=8203?"w":Ce==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ae=/[stwN]/,se=/[LRr]/,fe=/[Lb1n]/,be=/[1n]/;function Ae(Ce,He,qe){this.level=Ce,this.from=He,this.to=qe}return function(Ce,He){var qe=He=="ltr"?"L":"R";if(Ce.length==0||He=="ltr"&&!te.test(Ce))return!1;for(var At=Ce.length,bt=[],Yt=0;Yt<At;++Yt)bt.push(ne(Ce.charCodeAt(Yt)));for(var hn=0,Cn=qe;hn<At;++hn){var Pn=bt[hn];Pn=="m"?bt[hn]=Cn:Cn=Pn}for(var Wn=0,Nn=qe;Wn<At;++Wn){var Un=bt[Wn];Un=="1"&&Nn=="r"?bt[Wn]="n":se.test(Un)&&(Nn=Un,Un=="r"&&(bt[Wn]="R"))}for(var ci=1,fi=bt[0];ci<At-1;++ci){var ar=bt[ci];ar=="+"&&fi=="1"&&bt[ci+1]=="1"?bt[ci]="1":ar==","&&fi==bt[ci+1]&&(fi=="1"||fi=="n")&&(bt[ci]=fi),fi=ar}for(var Zr=0;Zr<At;++Zr){var wo=bt[Zr];if(wo==",")bt[Zr]="N";else if(wo=="%"){var La=void 0;for(La=Zr+1;La<At&&bt[La]=="%";++La);for(var Xo=Zr&&bt[Zr-1]=="!"||La<At&&bt[La]=="1"?"1":"N",$o=Zr;$o<La;++$o)bt[$o]=Xo;Zr=La-1}}for(var ro=0,es=qe;ro<At;++ro){var Hi=bt[ro];es=="L"&&Hi=="1"?bt[ro]="L":se.test(Hi)&&(es=Hi)}for(var ja=0;ja<At;++ja)if(ae.test(bt[ja])){var Ba=void 0;for(Ba=ja+1;Ba<At&&ae.test(bt[Ba]);++Ba);for(var Ra=(ja?bt[ja-1]:qe)=="L",Ya=(Ba<At?bt[Ba]:qe)=="L",su=Ra==Ya?Ra?"L":"R":qe,cs=ja;cs<Ba;++cs)bt[cs]=su;ja=Ba-1}for(var Lo=[],Nr,fo=0;fo<At;)if(fe.test(bt[fo])){var Pc=fo;for(++fo;fo<At&&fe.test(bt[fo]);++fo);Lo.push(new Ae(0,Pc,fo))}else{var ol=fo,Dl=Lo.length,Hs=He=="rtl"?1:0;for(++fo;fo<At&&bt[fo]!="L";++fo);for(var ao=ol;ao<fo;)if(be.test(bt[ao])){ol<ao&&(Lo.splice(Dl,0,new Ae(1,ol,ao)),Dl+=Hs);var lu=ao;for(++ao;ao<fo&&be.test(bt[ao]);++ao);Lo.splice(Dl,0,new Ae(2,lu,ao)),Dl+=Hs,ol=ao}else++ao;ol<fo&&Lo.splice(Dl,0,new Ae(1,ol,fo))}return He=="ltr"&&(Lo[0].level==1&&(Nr=Ce.match(/^\s+/))&&(Lo[0].from=Nr[0].length,Lo.unshift(new Ae(0,0,Nr[0].length))),Rt(Lo).level==1&&(Nr=Ce.match(/\s+$/))&&(Rt(Lo).to-=Nr[0].length,Lo.push(new Ae(0,At-Nr[0].length,At)))),He=="rtl"?Lo.reverse():Lo}}();function Ei(x,z){var ne=x.order;return ne==null&&(ne=x.order=zn(x.text,z)),ne}var It=[],Bn=function(x,z,ne){if(x.addEventListener)x.addEventListener(z,ne,!1);else if(x.attachEvent)x.attachEvent("on"+z,ne);else{var te=x._handlers||(x._handlers={});te[z]=(te[z]||It).concat(ne)}};function Sr(x,z){return x._handlers&&x._handlers[z]||It}function Wi(x,z,ne){if(x.removeEventListener)x.removeEventListener(z,ne,!1);else if(x.detachEvent)x.detachEvent("on"+z,ne);else{var te=x._handlers,ae=te&&te[z];if(ae){var se=$e(ae,ne);se>-1&&(te[z]=ae.slice(0,se).concat(ae.slice(se+1)))}}}function Mi(x,z){var ne=Sr(x,z);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ae=0;ae<ne.length;++ae)ne[ae].apply(null,te)}function di(x,z,ne){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),Mi(x,ne||z.type,x,z),Wa(z)||z.codemirrorIgnore}function oo(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var ne=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),te=0;te<z.length;++te)$e(ne,z[te])==-1&&ne.push(z[te])}function pr(x,z){return Sr(x,z).length>0}function or(x){x.prototype.on=function(z,ne){Bn(this,z,ne)},x.prototype.off=function(z,ne){Wi(this,z,ne)}}function Zi(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function qa(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Wa(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Ka(x){Zi(x),qa(x)}function cr(x){return x.target||x.srcElement}function Ki(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Fe&&x.ctrlKey&&z==1&&(z=3),z}var Ui=function(){if(Pe&&Te<9)return!1;var x=Tt("div");return"draggable"in x||"dragDrop"in x}(),hs;function ts(x){if(hs==null){var z=Tt("span","\u200B");Jt(x,Tt("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(hs=z.offsetWidth<=1&&z.offsetHeight>2&&!(Pe&&Te<8))}var ne=hs?Tt("span","\u200B"):Tt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var Ao;function yr(x){if(Ao!=null)return Ao;var z=Jt(x,document.createTextNode("A\u062EA")),ne=Je(z,0,1).getBoundingClientRect(),te=Je(z,1,2).getBoundingClientRect();return _t(x),!ne||ne.left==ne.right?!1:Ao=te.right-ne.right<3}var si=`
b`.split(/\n/).length!=3?function(x){for(var z=0,ne=[],te=x.length;z<=te;){var ae=x.indexOf(`
`,z);ae==-1&&(ae=x.length);var se=x.slice(z,x.charAt(ae-1)=="\r"?ae-1:ae),fe=se.indexOf("\r");fe!=-1?(ne.push(se.slice(0,fe)),z+=fe+1):(ne.push(se),z=ae+1)}return ne}:function(x){return x.split(/\r\n?|\n/)},Ni=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ne){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},Ms=function(){var x=Tt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),mo=null;function Ii(x){if(mo!=null)return mo;var z=Jt(x,Tt("span","x")),ne=z.getBoundingClientRect(),te=Je(z,0,1).getBoundingClientRect();return mo=Math.abs(ne.left-te.left)>1}var Qr={},ga={};function qn(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),Qr[x]=z}function In(x,z){ga[x]=z}function Xn(x){if(typeof x=="string"&&ga.hasOwnProperty(x))x=ga[x];else if(x&&typeof x.name=="string"&&ga.hasOwnProperty(x.name)){var z=ga[x.name];typeof z=="string"&&(z={name:z}),x=de(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Xn("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Xn("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Vi(x,z){z=Xn(z);var ne=Qr[z.name];if(!ne)return Vi(x,"text/plain");var te=ne(x,z);if(Yi.hasOwnProperty(z.name)){var ae=Yi[z.name];for(var se in ae)ae.hasOwnProperty(se)&&(te.hasOwnProperty(se)&&(te["_"+se]=te[se]),te[se]=ae[se])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var fe in z.modeProps)te[fe]=z.modeProps[fe];return te}var Yi={};function sr(x,z){var ne=Yi.hasOwnProperty(x)?Yi[x]:Yi[x]={};$n(z,ne)}function dr(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ne={};for(var te in z){var ae=z[te];ae instanceof Array&&(ae=ae.concat([])),ne[te]=ae}return ne}function br(x,z){for(var ne;x.innerMode&&(ne=x.innerMode(z),!(!ne||ne.mode==x));)z=ne.state,x=ne.mode;return ne||{mode:x,state:z}}function xr(x,z,ne){return x.startState?x.startState(z,ne):!0}var wi=function(x,z,ne){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};wi.prototype.eol=function(){return this.pos>=this.string.length},wi.prototype.sol=function(){return this.pos==this.lineStart},wi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},wi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},wi.prototype.eat=function(x){var z=this.string.charAt(this.pos),ne;if(typeof x=="string"?ne=z==x:ne=z&&(x.test?x.test(z):x(z)),ne)return++this.pos,z},wi.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},wi.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},wi.prototype.skipToEnd=function(){this.pos=this.string.length},wi.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},wi.prototype.backUp=function(x){this.pos-=x},wi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ke(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ke(this.string,this.lineStart,this.tabSize):0)},wi.prototype.indentation=function(){return ke(this.string,null,this.tabSize)-(this.lineStart?ke(this.string,this.lineStart,this.tabSize):0)},wi.prototype.match=function(x,z,ne){if(typeof x=="string"){var te=function(fe){return ne?fe.toLowerCase():fe},ae=this.string.substr(this.pos,x.length);if(te(ae)==te(x))return z!==!1&&(this.pos+=x.length),!0}else{var se=this.string.slice(this.pos).match(x);return se&&se.index>0?null:(se&&z!==!1&&(this.pos+=se[0].length),se)}},wi.prototype.current=function(){return this.string.slice(this.start,this.pos)},wi.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},wi.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},wi.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function _n(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ne=x;!ne.lines;)for(var te=0;;++te){var ae=ne.children[te],se=ae.chunkSize();if(z<se){ne=ae;break}z-=se}return ne.lines[z]}function Dr(x,z,ne){var te=[],ae=z.line;return x.iter(z.line,ne.line+1,function(se){var fe=se.text;ae==ne.line&&(fe=fe.slice(0,ne.ch)),ae==z.line&&(fe=fe.slice(z.ch)),te.push(fe),++ae}),te}function Ti(x,z,ne){var te=[];return x.iter(z,ne,function(ae){te.push(ae.text)}),te}function Ai(x,z){var ne=z-x.height;if(ne)for(var te=x;te;te=te.parent)te.height+=ne}function Fi(x){if(x.parent==null)return null;for(var z=x.parent,ne=$e(z.lines,x),te=z.parent;te;z=te,te=te.parent)for(var ae=0;te.children[ae]!=z;++ae)ne+=te.children[ae].chunkSize();return ne+z.first}function Na(x,z){var ne=x.first;e:do{for(var te=0;te<x.children.length;++te){var ae=x.children[te],se=ae.height;if(z<se){x=ae;continue e}z-=se,ne+=ae.chunkSize()}return ne}while(!x.lines);for(var fe=0;fe<x.lines.length;++fe){var be=x.lines[fe],Ae=be.height;if(z<Ae)break;z-=Ae}return ne+fe}function Xr(x,z){return z>=x.first&&z<x.first+x.size}function mr(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function an(x,z,ne){if(ne===void 0&&(ne=null),!(this instanceof an))return new an(x,z,ne);this.line=x,this.ch=z,this.sticky=ne}function li(x,z){return x.line-z.line||x.ch-z.ch}function Fo(x,z){return x.sticky==z.sticky&&li(x,z)==0}function Oo(x){return an(x.line,x.ch)}function go(x,z){return li(x,z)<0?z:x}function Lr(x,z){return li(x,z)<0?x:z}function Eo(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function pi(x,z){if(z.line<x.first)return an(x.first,0);var ne=x.first+x.size-1;return z.line>ne?an(ne,_n(x,ne).text.length):jr(z,_n(x,z.line).text.length)}function jr(x,z){var ne=x.ch;return ne==null||ne>z?an(x.line,z):ne<0?an(x.line,0):x}function ln(x,z){for(var ne=[],te=0;te<z.length;te++)ne[te]=pi(x,z[te]);return ne}var sa=function(x,z){this.state=x,this.lookAhead=z},Br=function(x,z,ne,te){this.state=z,this.doc=x,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};Br.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},Br.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},Br.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Br.fromSaved=function(x,z,ne){return z instanceof sa?new Br(x,dr(x.mode,z.state),ne,z.lookAhead):new Br(x,dr(x.mode,z),ne)},Br.prototype.save=function(x){var z=x!==!1?dr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new sa(z,this.maxLookAhead):z};function Xa(x,z,ne,te){var ae=[x.state.modeGen],se={};Vo(x,z.text,x.doc.mode,ne,function(Ce,He){return ae.push(Ce,He)},se,te);for(var fe=ne.state,be=function(Ce){ne.baseTokens=ae;var He=x.state.overlays[Ce],qe=1,At=0;ne.state=!0,Vo(x,z.text,He.mode,ne,function(bt,Yt){for(var hn=qe;At<bt;){var Cn=ae[qe];Cn>bt&&ae.splice(qe,1,bt,ae[qe+1],Cn),qe+=2,At=Math.min(bt,Cn)}if(Yt)if(He.opaque)ae.splice(hn,qe-hn,bt,"overlay "+Yt),qe=hn+2;else for(;hn<qe;hn+=2){var Pn=ae[hn+1];ae[hn+1]=(Pn?Pn+" ":"")+"overlay "+Yt}},se),ne.state=fe,ne.baseTokens=null,ne.baseTokenPos=1},Ae=0;Ae<x.state.overlays.length;++Ae)be(Ae);return{styles:ae,classes:se.bgClass||se.textClass?se:null}}function la(x,z,ne){if(!z.styles||z.styles[0]!=x.state.modeGen){var te=Ea(x,Fi(z)),ae=z.text.length>x.options.maxHighlightLength&&dr(x.doc.mode,te.state),se=Xa(x,z,te);ae&&(te.state=ae),z.stateAfter=te.save(!ae),z.styles=se.styles,se.classes?z.styleClasses=se.classes:z.styleClasses&&(z.styleClasses=null),ne===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Ea(x,z,ne){var te=x.doc,ae=x.display;if(!te.mode.startState)return new Br(te,!0,z);var se=Po(x,z,ne),fe=se>te.first&&_n(te,se-1).stateAfter,be=fe?Br.fromSaved(te,fe,se):new Br(te,xr(te.mode),se);return te.iter(se,z,function(Ae){ua(x,Ae.text,be);var Ce=be.line;Ae.stateAfter=Ce==z-1||Ce%5==0||Ce>=ae.viewFrom&&Ce<ae.viewTo?be.save():null,be.nextLine()}),ne&&(te.modeFrontier=be.line),be}function ua(x,z,ne,te){var ae=x.doc.mode,se=new wi(z,x.options.tabSize,ne);for(se.start=se.pos=te||0,z==""&&ns(ae,ne.state);!se.eol();)Tr(ae,se,ne.state),se.start=se.pos}function ns(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ne=br(x,z);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function Tr(x,z,ne,te){for(var ae=0;ae<10;ae++){te&&(te[0]=br(x,ne).mode);var se=x.token(z,ne);if(z.pos>z.start)return se}throw new Error("Mode "+x.name+" failed to advance stream.")}var ca=function(x,z,ne){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ne};function $a(x,z,ne,te){var ae=x.doc,se=ae.mode,fe;z=pi(ae,z);var be=_n(ae,z.line),Ae=Ea(x,z.line,ne),Ce=new wi(be.text,x.options.tabSize,Ae),He;for(te&&(He=[]);(te||Ce.pos<z.ch)&&!Ce.eol();)Ce.start=Ce.pos,fe=Tr(se,Ce,Ae.state),te&&He.push(new ca(Ce,fe,dr(ae.mode,Ae.state)));return te?He:new ca(Ce,fe,Ae.state)}function Go(x,z){if(x)for(;;){var ne=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ne)break;x=x.slice(0,ne.index)+x.slice(ne.index+ne[0].length);var te=ne[1]?"bgClass":"textClass";z[te]==null?z[te]=ne[2]:new RegExp("(?:^|\\s)"+ne[2]+"(?:$|\\s)").test(z[te])||(z[te]+=" "+ne[2])}return x}function Vo(x,z,ne,te,ae,se,fe){var be=ne.flattenSpans;be==null&&(be=x.options.flattenSpans);var Ae=0,Ce=null,He=new wi(z,x.options.tabSize,te),qe,At=x.options.addModeClass&&[null];for(z==""&&Go(ns(ne,te.state),se);!He.eol();){if(He.pos>x.options.maxHighlightLength?(be=!1,fe&&ua(x,z,te,He.pos),He.pos=z.length,qe=null):qe=Go(Tr(ne,He,te.state,At),se),At){var bt=At[0].name;bt&&(qe="m-"+(qe?bt+" "+qe:bt))}if(!be||Ce!=qe){for(;Ae<He.start;)Ae=Math.min(He.start,Ae+5e3),ae(Ae,Ce);Ce=qe}He.start=He.pos}for(;Ae<He.pos;){var Yt=Math.min(He.pos,Ae+5e3);ae(Yt,Ce),Ae=Yt}}function Po(x,z,ne){for(var te,ae,se=x.doc,fe=ne?-1:z-(x.doc.mode.innerMode?1e3:100),be=z;be>fe;--be){if(be<=se.first)return se.first;var Ae=_n(se,be-1),Ce=Ae.stateAfter;if(Ce&&(!ne||be+(Ce instanceof sa?Ce.lookAhead:0)<=se.modeFrontier))return be;var He=ke(Ae.text,null,x.options.tabSize);(ae==null||te>He)&&(ae=be-1,te=He)}return ae}function Yo(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var ne=x.first,te=z-1;te>ne;te--){var ae=_n(x,te).stateAfter;if(ae&&(!(ae instanceof sa)||te+ae.lookAhead<z)){ne=te+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ne)}}var Mo=!1,Rr=!1;function zo(){Mo=!0}function is(){Rr=!0}function Ua(x,z,ne){this.marker=x,this.from=z,this.to=ne}function nn(x,z){if(x)for(var ne=0;ne<x.length;++ne){var te=x[ne];if(te.marker==z)return te}}function Ia(x,z){for(var ne,te=0;te<x.length;++te)x[te]!=z&&(ne||(ne=[])).push(x[te]);return ne}function So(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function Ta(x,z,ne){var te;if(x)for(var ae=0;ae<x.length;++ae){var se=x[ae],fe=se.marker,be=se.from==null||(fe.inclusiveLeft?se.from<=z:se.from<z);if(be||se.from==z&&fe.type=="bookmark"&&(!ne||!se.marker.insertLeft)){var Ae=se.to==null||(fe.inclusiveRight?se.to>=z:se.to>z);(te||(te=[])).push(new Ua(fe,se.from,Ae?null:se.to))}}return te}function so(x,z,ne){var te;if(x)for(var ae=0;ae<x.length;++ae){var se=x[ae],fe=se.marker,be=se.to==null||(fe.inclusiveRight?se.to>=z:se.to>z);if(be||se.from==z&&fe.type=="bookmark"&&(!ne||se.marker.insertLeft)){var Ae=se.from==null||(fe.inclusiveLeft?se.from<=z:se.from<z);(te||(te=[])).push(new Ua(fe,Ae?null:se.from-z,se.to==null?null:se.to-z))}}return te}function vo(x,z){if(z.full)return null;var ne=Xr(x,z.from.line)&&_n(x,z.from.line).markedSpans,te=Xr(x,z.to.line)&&_n(x,z.to.line).markedSpans;if(!ne&&!te)return null;var ae=z.from.ch,se=z.to.ch,fe=li(z.from,z.to)==0,be=Ta(ne,ae,fe),Ae=so(te,se,fe),Ce=z.text.length==1,He=Rt(z.text).length+(Ce?ae:0);if(be)for(var qe=0;qe<be.length;++qe){var At=be[qe];if(At.to==null){var bt=nn(Ae,At.marker);bt?Ce&&(At.to=bt.to==null?null:bt.to+He):At.to=ae}}if(Ae)for(var Yt=0;Yt<Ae.length;++Yt){var hn=Ae[Yt];if(hn.to!=null&&(hn.to+=He),hn.from==null){var Cn=nn(be,hn.marker);Cn||(hn.from=He,Ce&&(be||(be=[])).push(hn))}else hn.from+=He,Ce&&(be||(be=[])).push(hn)}be&&(be=Ma(be)),Ae&&Ae!=be&&(Ae=Ma(Ae));var Pn=[be];if(!Ce){var Wn=z.text.length-2,Nn;if(Wn>0&&be)for(var Un=0;Un<be.length;++Un)be[Un].to==null&&(Nn||(Nn=[])).push(new Ua(be[Un].marker,null,null));for(var ci=0;ci<Wn;++ci)Pn.push(Nn);Pn.push(Ae)}return Pn}function Ma(x){for(var z=0;z<x.length;++z){var ne=x[z];ne.from!=null&&ne.from==ne.to&&ne.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function lo(x,z,ne){var te=null;if(x.iter(z.line,ne.line+1,function(bt){if(bt.markedSpans)for(var Yt=0;Yt<bt.markedSpans.length;++Yt){var hn=bt.markedSpans[Yt].marker;hn.readOnly&&(!te||$e(te,hn)==-1)&&(te||(te=[])).push(hn)}}),!te)return null;for(var ae=[{from:z,to:ne}],se=0;se<te.length;++se)for(var fe=te[se],be=fe.find(0),Ae=0;Ae<ae.length;++Ae){var Ce=ae[Ae];if(!(li(Ce.to,be.from)<0||li(Ce.from,be.to)>0)){var He=[Ae,1],qe=li(Ce.from,be.from),At=li(Ce.to,be.to);(qe<0||!fe.inclusiveLeft&&!qe)&&He.push({from:Ce.from,to:be.from}),(At>0||!fe.inclusiveRight&&!At)&&He.push({from:be.to,to:Ce.to}),ae.splice.apply(ae,He),Ae+=He.length-3}}return ae}function da(x){var z=x.markedSpans;if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.detachLine(x);x.markedSpans=null}}function ha(x,z){if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.attachLine(x);x.markedSpans=z}}function yo(x){return x.inclusiveLeft?-1:0}function ia(x){return x.inclusiveRight?1:0}function fa(x,z){var ne=x.lines.length-z.lines.length;if(ne!=0)return ne;var te=x.find(),ae=z.find(),se=li(te.from,ae.from)||yo(x)-yo(z);if(se)return-se;var fe=li(te.to,ae.to)||ia(x)-ia(z);return fe||z.id-x.id}function Se(x,z){var ne=Rr&&x.markedSpans,te;if(ne)for(var ae=void 0,se=0;se<ne.length;++se)ae=ne[se],ae.marker.collapsed&&(z?ae.from:ae.to)==null&&(!te||fa(te,ae.marker)<0)&&(te=ae.marker);return te}function Be(x){return Se(x,!0)}function gt(x){return Se(x,!1)}function Mt(x,z){var ne=Rr&&x.markedSpans,te;if(ne)for(var ae=0;ae<ne.length;++ae){var se=ne[ae];se.marker.collapsed&&(se.from==null||se.from<z)&&(se.to==null||se.to>z)&&(!te||fa(te,se.marker)<0)&&(te=se.marker)}return te}function Ht(x,z,ne,te,ae){var se=_n(x,z),fe=Rr&&se.markedSpans;if(fe)for(var be=0;be<fe.length;++be){var Ae=fe[be];if(Ae.marker.collapsed){var Ce=Ae.marker.find(0),He=li(Ce.from,ne)||yo(Ae.marker)-yo(ae),qe=li(Ce.to,te)||ia(Ae.marker)-ia(ae);if(!(He>=0&&qe<=0||He<=0&&qe>=0)&&(He<=0&&(Ae.marker.inclusiveRight&&ae.inclusiveLeft?li(Ce.to,ne)>=0:li(Ce.to,ne)>0)||He>=0&&(Ae.marker.inclusiveRight&&ae.inclusiveLeft?li(Ce.from,te)<=0:li(Ce.from,te)<0)))return!0}}}function Kt(x){for(var z;z=Be(x);)x=z.find(-1,!0).line;return x}function wn(x){for(var z;z=gt(x);)x=z.find(1,!0).line;return x}function Rn(x){for(var z,ne;z=gt(x);)x=z.find(1,!0).line,(ne||(ne=[])).push(x);return ne}function ii(x,z){var ne=_n(x,z),te=Kt(ne);return ne==te?z:Fi(te)}function ai(x,z){if(z>x.lastLine())return z;var ne=_n(x,z),te;if(!Si(x,ne))return z;for(;te=gt(ne);)ne=te.find(1,!0).line;return Fi(ne)+1}function Si(x,z){var ne=Rr&&z.markedSpans;if(ne){for(var te=void 0,ae=0;ae<ne.length;++ae)if(te=ne[ae],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&Hn(x,z,te))return!0}}}function Hn(x,z,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return Hn(x,te.line,nn(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==z.text.length)return!0;for(var ae=void 0,se=0;se<z.markedSpans.length;++se)if(ae=z.markedSpans[se],ae.marker.collapsed&&!ae.marker.widgetNode&&ae.from==ne.to&&(ae.to==null||ae.to!=ne.from)&&(ae.marker.inclusiveLeft||ne.marker.inclusiveRight)&&Hn(x,z,ae))return!0}function Xt(x){x=Kt(x);for(var z=0,ne=x.parent,te=0;te<ne.lines.length;++te){var ae=ne.lines[te];if(ae==x)break;z+=ae.height}for(var se=ne.parent;se;ne=se,se=ne.parent)for(var fe=0;fe<se.children.length;++fe){var be=se.children[fe];if(be==ne)break;z+=be.height}return z}function Gt(x){if(x.height==0)return 0;for(var z=x.text.length,ne,te=x;ne=Be(te);){var ae=ne.find(0,!0);te=ae.from.line,z+=ae.from.ch-ae.to.ch}for(te=x;ne=gt(te);){var se=ne.find(0,!0);z-=te.text.length-se.from.ch,te=se.to.line,z+=te.text.length-se.to.ch}return z}function on(x){var z=x.display,ne=x.doc;z.maxLine=_n(ne,ne.first),z.maxLineLength=Gt(z.maxLine),z.maxLineChanged=!0,ne.iter(function(te){var ae=Gt(te);ae>z.maxLineLength&&(z.maxLineLength=ae,z.maxLine=te)})}var yn=function(x,z,ne){this.text=x,ha(this,z),this.height=ne?ne(this):1};yn.prototype.lineNo=function(){return Fi(this)},or(yn);function ei(x,z,ne,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),da(x),ha(x,ne);var ae=te?te(x):1;ae!=x.height&&Ai(x,ae)}function mi(x){x.parent=null,da(x)}var hi={},ri={};function Ci(x,z){if(!x||/^\s*$/.test(x))return null;var ne=z.addModeClass?ri:hi;return ne[x]||(ne[x]=x.replace(/\S+/g,"cm-$&"))}function vi(x,z){var ne=Bt("span",null,null,Qe?"padding-right: .1px":null),te={pre:Bt("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var ae=0;ae<=(z.rest?z.rest.length:0);ae++){var se=ae?z.rest[ae-1]:z.line,fe=void 0;te.pos=0,te.addToken=zi,yr(x.display.measure)&&(fe=Ei(se,x.doc.direction))&&(te.addToken=Oi(te.addToken,fe)),te.map=[];var be=z!=x.display.externalMeasured&&Fi(se);gr(se,te,la(x,se,be)),se.styleClasses&&(se.styleClasses.bgClass&&(te.bgClass=dt(se.styleClasses.bgClass,te.bgClass||"")),se.styleClasses.textClass&&(te.textClass=dt(se.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(ts(x.display.measure))),ae==0?(z.measure.map=te.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(te.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(Qe){var Ae=te.content.lastChild;(/\bcm-tab\b/.test(Ae.className)||Ae.querySelector&&Ae.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return Mi(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=dt(te.pre.className,te.textClass||"")),te}function Ri(x){var z=Tt("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function zi(x,z,ne,te,ae,se,fe){if(z){var be=x.splitSpaces?Ji(z,x.trailingSpace):z,Ae=x.cm.state.specialChars,Ce=!1,He;if(!Ae.test(z))x.col+=z.length,He=document.createTextNode(be),x.map.push(x.pos,x.pos+z.length,He),Pe&&Te<9&&(Ce=!0),x.pos+=z.length;else{He=document.createDocumentFragment();for(var qe=0;;){Ae.lastIndex=qe;var At=Ae.exec(z),bt=At?At.index-qe:z.length-qe;if(bt){var Yt=document.createTextNode(be.slice(qe,qe+bt));Pe&&Te<9?He.appendChild(Tt("span",[Yt])):He.appendChild(Yt),x.map.push(x.pos,x.pos+bt,Yt),x.col+=bt,x.pos+=bt}if(!At)break;qe+=bt+1;var hn=void 0;if(At[0]==" "){var Cn=x.cm.options.tabSize,Pn=Cn-x.col%Cn;hn=He.appendChild(Tt("span",Nt(Pn),"cm-tab")),hn.setAttribute("role","presentation"),hn.setAttribute("cm-text"," "),x.col+=Pn}else At[0]=="\r"||At[0]==`
`?(hn=He.appendChild(Tt("span",At[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),hn.setAttribute("cm-text",At[0]),x.col+=1):(hn=x.cm.options.specialCharPlaceholder(At[0]),hn.setAttribute("cm-text",At[0]),Pe&&Te<9?He.appendChild(Tt("span",[hn])):He.appendChild(hn),x.col+=1);x.map.push(x.pos,x.pos+1,hn),x.pos++}}if(x.trailingSpace=be.charCodeAt(z.length-1)==32,ne||te||ae||Ce||se||fe){var Wn=ne||"";te&&(Wn+=te),ae&&(Wn+=ae);var Nn=Tt("span",[He],Wn,se);if(fe)for(var Un in fe)fe.hasOwnProperty(Un)&&Un!="style"&&Un!="class"&&Nn.setAttribute(Un,fe[Un]);return x.content.appendChild(Nn)}x.content.appendChild(He)}}function Ji(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ne=z,te="",ae=0;ae<x.length;ae++){var se=x.charAt(ae);se==" "&&ne&&(ae==x.length-1||x.charCodeAt(ae+1)==32)&&(se="\xA0"),te+=se,ne=se==" "}return te}function Oi(x,z){return function(ne,te,ae,se,fe,be,Ae){ae=ae?ae+" cm-force-border":"cm-force-border";for(var Ce=ne.pos,He=Ce+te.length;;){for(var qe=void 0,At=0;At<z.length&&(qe=z[At],!(qe.to>Ce&&qe.from<=Ce));At++);if(qe.to>=He)return x(ne,te,ae,se,fe,be,Ae);x(ne,te.slice(0,qe.to-Ce),ae,se,null,be,Ae),se=null,te=te.slice(qe.to-Ce),Ce=qe.to}}}function er(x,z,ne,te){var ae=!te&&ne.widgetNode;ae&&x.map.push(x.pos,x.pos+z,ae),!te&&x.cm.display.input.needsContentAttribute&&(ae||(ae=x.content.appendChild(document.createElement("span"))),ae.setAttribute("cm-marker",ne.id)),ae&&(x.cm.display.input.setUneditable(ae),x.content.appendChild(ae)),x.pos+=z,x.trailingSpace=!1}function gr(x,z,ne){var te=x.markedSpans,ae=x.text,se=0;if(!te){for(var fe=1;fe<ne.length;fe+=2)z.addToken(z,ae.slice(se,se=ne[fe]),Ci(ne[fe+1],z.cm.options));return}for(var be=ae.length,Ae=0,Ce=1,He="",qe,At,bt=0,Yt,hn,Cn,Pn,Wn;;){if(bt==Ae){Yt=hn=Cn=At="",Wn=null,Pn=null,bt=1/0;for(var Nn=[],Un=void 0,ci=0;ci<te.length;++ci){var fi=te[ci],ar=fi.marker;if(ar.type=="bookmark"&&fi.from==Ae&&ar.widgetNode)Nn.push(ar);else if(fi.from<=Ae&&(fi.to==null||fi.to>Ae||ar.collapsed&&fi.to==Ae&&fi.from==Ae)){if(fi.to!=null&&fi.to!=Ae&&bt>fi.to&&(bt=fi.to,hn=""),ar.className&&(Yt+=" "+ar.className),ar.css&&(At=(At?At+";":"")+ar.css),ar.startStyle&&fi.from==Ae&&(Cn+=" "+ar.startStyle),ar.endStyle&&fi.to==bt&&(Un||(Un=[])).push(ar.endStyle,fi.to),ar.title&&((Wn||(Wn={})).title=ar.title),ar.attributes)for(var Zr in ar.attributes)(Wn||(Wn={}))[Zr]=ar.attributes[Zr];ar.collapsed&&(!Pn||fa(Pn.marker,ar)<0)&&(Pn=fi)}else fi.from>Ae&&bt>fi.from&&(bt=fi.from)}if(Un)for(var wo=0;wo<Un.length;wo+=2)Un[wo+1]==bt&&(hn+=" "+Un[wo]);if(!Pn||Pn.from==Ae)for(var La=0;La<Nn.length;++La)er(z,0,Nn[La]);if(Pn&&(Pn.from||0)==Ae){if(er(z,(Pn.to==null?be+1:Pn.to)-Ae,Pn.marker,Pn.from==null),Pn.to==null)return;Pn.to==Ae&&(Pn=!1)}}if(Ae>=be)break;for(var Xo=Math.min(be,bt);;){if(He){var $o=Ae+He.length;if(!Pn){var ro=$o>Xo?He.slice(0,Xo-Ae):He;z.addToken(z,ro,qe?qe+Yt:Yt,Cn,Ae+ro.length==bt?hn:"",At,Wn)}if($o>=Xo){He=He.slice(Xo-Ae),Ae=Xo;break}Ae=$o,Cn=""}He=ae.slice(se,se=ne[Ce++]),qe=Ci(ne[Ce++],z.cm.options)}}}function lt(x,z,ne){this.line=z,this.rest=Rn(z),this.size=this.rest?Fi(Rt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Si(x,z)}function st(x,z,ne){for(var te=[],ae,se=z;se<ne;se=ae){var fe=new lt(x.doc,_n(x.doc,se),se);ae=se+fe.size,te.push(fe)}return te}var mt=null;function Ft(x){mt?mt.ops.push(x):x.ownsGroup=mt={ops:[x],delayedCallbacks:[]}}function Ln(x){var z=x.delayedCallbacks,ne=0;do{for(;ne<z.length;ne++)z[ne].call(null);for(var te=0;te<x.ops.length;te++){var ae=x.ops[te];if(ae.cursorActivityHandlers)for(;ae.cursorActivityCalled<ae.cursorActivityHandlers.length;)ae.cursorActivityHandlers[ae.cursorActivityCalled++].call(null,ae.cm)}}while(ne<z.length)}function Zn(x,z){var ne=x.ownsGroup;if(ne)try{Ln(ne)}finally{mt=null,z(ne)}}var zt=null;function mn(x,z){var ne=Sr(x,z);if(ne.length){var te=Array.prototype.slice.call(arguments,2),ae;mt?ae=mt.delayedCallbacks:zt?ae=zt:(ae=zt=[],setTimeout(jn,0));for(var se=function(be){ae.push(function(){return ne[be].apply(null,te)})},fe=0;fe<ne.length;++fe)se(fe)}}function jn(){var x=zt;zt=null;for(var z=0;z<x.length;++z)x[z]()}function Yn(x,z,ne,te){for(var ae=0;ae<z.changes.length;ae++){var se=z.changes[ae];se=="text"?it(x,z):se=="gutter"?Vt(x,z,ne,te):se=="class"?qt(x,z):se=="widget"&&Zt(x,z,te)}z.changes=null}function bn(x){return x.node==x.text&&(x.node=Tt("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),Pe&&Te<8&&(x.node.style.zIndex=2)),x.node}function rn(x,z){var ne=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(ne&&(ne+=" CodeMirror-linebackground"),z.background)ne?z.background.className=ne:(z.background.parentNode.removeChild(z.background),z.background=null);else if(ne){var te=bn(z);z.background=te.insertBefore(Tt("div",null,ne),te.firstChild),x.display.input.setUneditable(z.background)}}function Jn(x,z){var ne=x.display.externalMeasured;return ne&&ne.line==z.line?(x.display.externalMeasured=null,z.measure=ne.measure,ne.built):vi(x,z)}function it(x,z){var ne=z.text.className,te=Jn(x,z);z.text==z.node&&(z.node=te.pre),z.text.parentNode.replaceChild(te.pre,z.text),z.text=te.pre,te.bgClass!=z.bgClass||te.textClass!=z.textClass?(z.bgClass=te.bgClass,z.textClass=te.textClass,qt(x,z)):ne&&(z.text.className=ne)}function qt(x,z){rn(x,z),z.line.wrapClass?bn(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var ne=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=ne||""}function Vt(x,z,ne,te){if(z.gutter&&(z.node.removeChild(z.gutter),z.gutter=null),z.gutterBackground&&(z.node.removeChild(z.gutterBackground),z.gutterBackground=null),z.line.gutterClass){var ae=bn(z);z.gutterBackground=Tt("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),ae.insertBefore(z.gutterBackground,z.text)}var se=z.line.gutterMarkers;if(x.options.lineNumbers||se){var fe=bn(z),be=z.gutter=Tt("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(x.display.input.setUneditable(be),fe.insertBefore(be,z.text),z.line.gutterClass&&(be.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!se||!se["CodeMirror-linenumbers"])&&(z.lineNumber=be.appendChild(Tt("div",mr(x.options,ne),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),se)for(var Ae=0;Ae<x.display.gutterSpecs.length;++Ae){var Ce=x.display.gutterSpecs[Ae].className,He=se.hasOwnProperty(Ce)&&se[Ce];He&&be.appendChild(Tt("div",[He],"CodeMirror-gutter-elt","left: "+te.gutterLeft[Ce]+"px; width: "+te.gutterWidth[Ce]+"px"))}}}function Zt(x,z,ne){z.alignable&&(z.alignable=null);for(var te=xt("CodeMirror-linewidget"),ae=z.node.firstChild,se=void 0;ae;ae=se)se=ae.nextSibling,te.test(ae.className)&&z.node.removeChild(ae);kn(x,z,ne)}function Fn(x,z,ne,te){var ae=Jn(x,z);return z.text=z.node=ae.pre,ae.bgClass&&(z.bgClass=ae.bgClass),ae.textClass&&(z.textClass=ae.textClass),qt(x,z),Vt(x,z,ne,te),kn(x,z,te),z.node}function kn(x,z,ne){if(ki(x,z.line,z,ne,!0),z.rest)for(var te=0;te<z.rest.length;te++)ki(x,z.rest[te],z,ne,!1)}function ki(x,z,ne,te,ae){if(z.widgets)for(var se=bn(ne),fe=0,be=z.widgets;fe<be.length;++fe){var Ae=be[fe],Ce=Tt("div",[Ae.node],"CodeMirror-linewidget"+(Ae.className?" "+Ae.className:""));Ae.handleMouseEvents||Ce.setAttribute("cm-ignore-events","true"),tr(Ae,Ce,ne,te),x.display.input.setUneditable(Ce),ae&&Ae.above?se.insertBefore(Ce,ne.gutter||ne.text):se.appendChild(Ce),mn(Ae,"redraw")}}function tr(x,z,ne,te){if(x.noHScroll){(ne.alignable||(ne.alignable=[])).push(z);var ae=te.wrapperWidth;z.style.left=te.fixedPos+"px",x.coverGutter||(ae-=te.gutterTotalWidth,z.style.paddingLeft=te.gutterTotalWidth+"px"),z.style.width=ae+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-te.gutterTotalWidth+"px"))}function at(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!Ot(document.body,x.node)){var ne="position: relative;";x.coverGutter&&(ne+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ne+="width: "+z.display.wrapper.clientWidth+"px;"),Jt(z.display.measure,Tt("div",[x.node],null,ne))}return x.height=x.node.parentNode.offsetHeight}function nr(x,z){for(var ne=cr(z);ne!=x.wrapper;ne=ne.parentNode)if(!ne||ne.nodeType==1&&ne.getAttribute("cm-ignore-events")=="true"||ne.parentNode==x.sizer&&ne!=x.mover)return!0}function Hr(x){return x.lineSpace.offsetTop}function wr(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function Gr(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=Jt(x.measure,Tt("pre","x","CodeMirror-line-like")),ne=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,te={left:parseInt(ne.paddingLeft),right:parseInt(ne.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(x.cachedPaddingH=te),te}function Fr(x){return ht-x.display.nativeBarWidth}function Ar(x){return x.display.scroller.clientWidth-Fr(x)-x.display.barWidth}function va(x){return x.display.scroller.clientHeight-Fr(x)-x.display.barHeight}function hr(x,z,ne){var te=x.options.lineWrapping,ae=te&&Ar(x);if(!z.measure.heights||te&&z.measure.width!=ae){var se=z.measure.heights=[];if(te){z.measure.width=ae;for(var fe=z.text.firstChild.getClientRects(),be=0;be<fe.length-1;be++){var Ae=fe[be],Ce=fe[be+1];Math.abs(Ae.bottom-Ce.bottom)>2&&se.push((Ae.bottom+Ce.top)/2-ne.top)}}se.push(ne.bottom-ne.top)}}function $r(x,z,ne){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var te=0;te<x.rest.length;te++)if(x.rest[te]==z)return{map:x.measure.maps[te],cache:x.measure.caches[te]};for(var ae=0;ae<x.rest.length;ae++)if(Fi(x.rest[ae])>ne)return{map:x.measure.maps[ae],cache:x.measure.caches[ae],before:!0}}function Sa(x,z){z=Kt(z);var ne=Fi(z),te=x.display.externalMeasured=new lt(x.doc,z,ne);te.lineN=ne;var ae=te.built=vi(x,te);return te.text=ae.pre,Jt(x.display.lineMeasure,ae.pre),te}function Fa(x,z,ne,te){return qi(x,bo(x,z),ne,te)}function ya(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[Gi(x,z)];var ne=x.display.externalMeasured;if(ne&&z>=ne.lineN&&z<ne.lineN+ne.size)return ne}function bo(x,z){var ne=Fi(z),te=ya(x,ne);te&&!te.text?te=null:te&&te.changes&&(Yn(x,te,ne,Bi(x)),x.curOp.forceUpdate=!0),te||(te=Sa(x,z));var ae=$r(te,z,ne);return{line:z,view:te,rect:null,map:ae.map,cache:ae.cache,before:ae.before,hasHeights:!1}}function qi(x,z,ne,te,ae){z.before&&(ne=-1);var se=ne+(te||""),fe;return z.cache.hasOwnProperty(se)?fe=z.cache[se]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(hr(x,z.view,z.rect),z.hasHeights=!0),fe=Le(x,z,ne,te),fe.bogus||(z.cache[se]=fe)),{left:fe.left,right:fe.right,top:ae?fe.rtop:fe.top,bottom:ae?fe.rbottom:fe.bottom}}var Zo={left:0,right:0,top:0,bottom:0};function Xe(x,z,ne){for(var te,ae,se,fe,be,Ae,Ce=0;Ce<x.length;Ce+=3)if(be=x[Ce],Ae=x[Ce+1],z<be?(ae=0,se=1,fe="left"):z<Ae?(ae=z-be,se=ae+1):(Ce==x.length-3||z==Ae&&x[Ce+3]>z)&&(se=Ae-be,ae=se-1,z>=Ae&&(fe="right")),ae!=null){if(te=x[Ce+2],be==Ae&&ne==(te.insertLeft?"left":"right")&&(fe=ne),ne=="left"&&ae==0)for(;Ce&&x[Ce-2]==x[Ce-3]&&x[Ce-1].insertLeft;)te=x[(Ce-=3)+2],fe="left";if(ne=="right"&&ae==Ae-be)for(;Ce<x.length-3&&x[Ce+3]==x[Ce+4]&&!x[Ce+5].insertLeft;)te=x[(Ce+=3)+2],fe="right";break}return{node:te,start:ae,end:se,collapse:fe,coverStart:be,coverEnd:Ae}}function _e(x,z){var ne=Zo;if(z=="left")for(var te=0;te<x.length&&(ne=x[te]).left==ne.right;te++);else for(var ae=x.length-1;ae>=0&&(ne=x[ae]).left==ne.right;ae--);return ne}function Le(x,z,ne,te){var ae=Xe(z.map,ne,te),se=ae.node,fe=ae.start,be=ae.end,Ae=ae.collapse,Ce;if(se.nodeType==3){for(var He=0;He<4;He++){for(;fe&&tt(z.line.text.charAt(ae.coverStart+fe));)--fe;for(;ae.coverStart+be<ae.coverEnd&&tt(z.line.text.charAt(ae.coverStart+be));)++be;if(Pe&&Te<9&&fe==0&&be==ae.coverEnd-ae.coverStart?Ce=se.parentNode.getBoundingClientRect():Ce=_e(Je(se,fe,be).getClientRects(),te),Ce.left||Ce.right||fe==0)break;be=fe,fe=fe-1,Ae="right"}Pe&&Te<11&&(Ce=Kn(x.display.measure,Ce))}else{fe>0&&(Ae=te="right");var qe;x.options.lineWrapping&&(qe=se.getClientRects()).length>1?Ce=qe[te=="right"?qe.length-1:0]:Ce=se.getBoundingClientRect()}if(Pe&&Te<9&&!fe&&(!Ce||!Ce.left&&!Ce.right)){var At=se.parentNode.getClientRects()[0];At?Ce={left:At.left,right:At.left+gi(x.display),top:At.top,bottom:At.bottom}:Ce=Zo}for(var bt=Ce.top-z.rect.top,Yt=Ce.bottom-z.rect.top,hn=(bt+Yt)/2,Cn=z.view.measure.heights,Pn=0;Pn<Cn.length-1&&!(hn<Cn[Pn]);Pn++);var Wn=Pn?Cn[Pn-1]:0,Nn=Cn[Pn],Un={left:(Ae=="right"?Ce.right:Ce.left)-z.rect.left,right:(Ae=="left"?Ce.left:Ce.right)-z.rect.left,top:Wn,bottom:Nn};return!Ce.left&&!Ce.right&&(Un.bogus=!0),x.options.singleCursorHeightPerLine||(Un.rtop=bt,Un.rbottom=Yt),Un}function Kn(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ii(x))return z;var ne=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*ne,right:z.right*ne,top:z.top*te,bottom:z.bottom*te}}function ti(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var z=0;z<x.rest.length;z++)x.measure.caches[z]={}}function Di(x){x.display.externalMeasure=null,_t(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)ti(x.display.view[z])}function Qi(x){Di(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function yi(){return Me&&Re?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function On(){return Me&&Re?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function sn(x){var z=0;if(x.widgets)for(var ne=0;ne<x.widgets.length;++ne)x.widgets[ne].above&&(z+=at(x.widgets[ne]));return z}function Qn(x,z,ne,te,ae){if(!ae){var se=sn(z);ne.top+=se,ne.bottom+=se}if(te=="line")return ne;te||(te="local");var fe=Xt(z);if(te=="local"?fe+=Hr(x.display):fe-=x.display.viewOffset,te=="page"||te=="window"){var be=x.display.lineSpace.getBoundingClientRect();fe+=be.top+(te=="window"?0:On());var Ae=be.left+(te=="window"?0:yi());ne.left+=Ae,ne.right+=Ae}return ne.top+=fe,ne.bottom+=fe,ne}function zr(x,z,ne){if(ne=="div")return z;var te=z.left,ae=z.top;if(ne=="page")te-=yi(),ae-=On();else if(ne=="local"||!ne){var se=x.display.sizer.getBoundingClientRect();te+=se.left,ae+=se.top}var fe=x.display.lineSpace.getBoundingClientRect();return{left:te-fe.left,top:ae-fe.top}}function uo(x,z,ne,te,ae){return te||(te=_n(x.doc,z.line)),Qn(x,te,Fa(x,te,z.ch,ae),ne)}function Li(x,z,ne,te,ae,se){te=te||_n(x.doc,z.line),ae||(ae=bo(x,te));function fe(Yt,hn){var Cn=qi(x,ae,Yt,hn?"right":"left",se);return hn?Cn.left=Cn.right:Cn.right=Cn.left,Qn(x,te,Cn,ne)}var be=Ei(te,x.doc.direction),Ae=z.ch,Ce=z.sticky;if(Ae>=te.text.length?(Ae=te.text.length,Ce="before"):Ae<=0&&(Ae=0,Ce="after"),!be)return fe(Ce=="before"?Ae-1:Ae,Ce=="before");function He(Yt,hn,Cn){var Pn=be[hn],Wn=Pn.level==1;return fe(Cn?Yt-1:Yt,Wn!=Cn)}var qe=Qt(be,Ae,Ce),At=dn,bt=He(Ae,qe,Ce=="before");return At!=null&&(bt.other=He(Ae,At,Ce!="before")),bt}function Xi(x,z){var ne=0;z=pi(x.doc,z),x.options.lineWrapping||(ne=gi(x.display)*z.ch);var te=_n(x.doc,z.line),ae=Xt(te)+Hr(x.display);return{left:ne,right:ne,top:ae,bottom:ae+te.height}}function ea(x,z,ne,te,ae){var se=an(x,z,ne);return se.xRel=ae,te&&(se.outside=te),se}function ba(x,z,ne){var te=x.doc;if(ne+=x.display.viewOffset,ne<0)return ea(te.first,0,null,-1,-1);var ae=Na(te,ne),se=te.first+te.size-1;if(ae>se)return ea(te.first+te.size-1,_n(te,se).text.length,null,1,1);z<0&&(z=0);for(var fe=_n(te,ae);;){var be=Pa(x,fe,ae,z,ne),Ae=Mt(fe,be.ch+(be.xRel>0||be.outside>0?1:0));if(!Ae)return be;var Ce=Ae.find(1);if(Ce.line==ae)return Ce;fe=_n(te,ae=Ce.line)}}function eo(x,z,ne,te){te-=sn(z);var ae=z.text.length,se=Pt(function(fe){return qi(x,ne,fe-1).bottom<=te},ae,0);return ae=Pt(function(fe){return qi(x,ne,fe).top>te},se,ae),{begin:se,end:ae}}function Oa(x,z,ne,te){ne||(ne=bo(x,z));var ae=Qn(x,z,qi(x,ne,te),"line").top;return eo(x,z,ne,ae)}function Cr(x,z,ne,te){return x.bottom<=ne?!1:x.top>ne?!0:(te?x.left:x.right)>z}function Pa(x,z,ne,te,ae){ae-=Xt(z);var se=bo(x,z),fe=sn(z),be=0,Ae=z.text.length,Ce=!0,He=Ei(z,x.doc.direction);if(He){var qe=(x.options.lineWrapping?$i:Wr)(x,z,ne,se,He,te,ae);Ce=qe.level!=1,be=Ce?qe.from:qe.to-1,Ae=Ce?qe.to:qe.from-1}var At=null,bt=null,Yt=Pt(function(ci){var fi=qi(x,se,ci);return fi.top+=fe,fi.bottom+=fe,Cr(fi,te,ae,!1)?(fi.top<=ae&&fi.left<=te&&(At=ci,bt=fi),!0):!1},be,Ae),hn,Cn,Pn=!1;if(bt){var Wn=te-bt.left<bt.right-te,Nn=Wn==Ce;Yt=At+(Nn?0:1),Cn=Nn?"after":"before",hn=Wn?bt.left:bt.right}else{!Ce&&(Yt==Ae||Yt==be)&&Yt++,Cn=Yt==0?"after":Yt==z.text.length?"before":qi(x,se,Yt-(Ce?1:0)).bottom+fe<=ae==Ce?"after":"before";var Un=Li(x,an(ne,Yt,Cn),"line",z,se);hn=Un.left,Pn=ae<Un.top?-1:ae>=Un.bottom?1:0}return Yt=Lt(z.text,Yt,1),ea(ne,Yt,Cn,Pn,te-hn)}function Wr(x,z,ne,te,ae,se,fe){var be=Pt(function(qe){var At=ae[qe],bt=At.level!=1;return Cr(Li(x,an(ne,bt?At.to:At.from,bt?"before":"after"),"line",z,te),se,fe,!0)},0,ae.length-1),Ae=ae[be];if(be>0){var Ce=Ae.level!=1,He=Li(x,an(ne,Ce?Ae.from:Ae.to,Ce?"after":"before"),"line",z,te);Cr(He,se,fe,!0)&&He.top>fe&&(Ae=ae[be-1])}return Ae}function $i(x,z,ne,te,ae,se,fe){var be=eo(x,z,te,fe),Ae=be.begin,Ce=be.end;/\s/.test(z.text.charAt(Ce-1))&&Ce--;for(var He=null,qe=null,At=0;At<ae.length;At++){var bt=ae[At];if(!(bt.from>=Ce||bt.to<=Ae)){var Yt=bt.level!=1,hn=qi(x,te,Yt?Math.min(Ce,bt.to)-1:Math.max(Ae,bt.from)).right,Cn=hn<se?se-hn+1e9:hn-se;(!He||qe>Cn)&&(He=bt,qe=Cn)}}return He||(He=ae[ae.length-1]),He.from<Ae&&(He={from:Ae,to:He.to,level:He.level}),He.to>Ce&&(He={from:He.from,to:Ce,level:He.level}),He}var _r;function xo(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(_r==null){_r=Tt("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)_r.appendChild(document.createTextNode("x")),_r.appendChild(Tt("br"));_r.appendChild(document.createTextNode("x"))}Jt(x.measure,_r);var ne=_r.offsetHeight/50;return ne>3&&(x.cachedTextHeight=ne),_t(x.measure),ne||1}function gi(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=Tt("span","xxxxxxxxxx"),ne=Tt("pre",[z],"CodeMirror-line-like");Jt(x.measure,ne);var te=z.getBoundingClientRect(),ae=(te.right-te.left)/10;return ae>2&&(x.cachedCharWidth=ae),ae||10}function Bi(x){for(var z=x.display,ne={},te={},ae=z.gutters.clientLeft,se=z.gutters.firstChild,fe=0;se;se=se.nextSibling,++fe){var be=x.display.gutterSpecs[fe].className;ne[be]=se.offsetLeft+se.clientLeft+ae,te[be]=se.clientWidth}return{fixedPos:vr(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function vr(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function ir(x){var z=xo(x.display),ne=x.options.lineWrapping,te=ne&&Math.max(5,x.display.scroller.clientWidth/gi(x.display)-3);return function(ae){if(Si(x.doc,ae))return 0;var se=0;if(ae.widgets)for(var fe=0;fe<ae.widgets.length;fe++)ae.widgets[fe].height&&(se+=ae.widgets[fe].height);return ne?se+(Math.ceil(ae.text.length/te)||1)*z:se+z}}function Er(x){var z=x.doc,ne=ir(x);z.iter(function(te){var ae=ne(te);ae!=te.height&&Ai(te,ae)})}function ta(x,z,ne,te){var ae=x.display;if(!ne&&cr(z).getAttribute("cm-not-content")=="true")return null;var se,fe,be=ae.lineSpace.getBoundingClientRect();try{se=z.clientX-be.left,fe=z.clientY-be.top}catch(qe){return null}var Ae=ba(x,se,fe),Ce;if(te&&Ae.xRel>0&&(Ce=_n(x.doc,Ae.line).text).length==Ae.ch){var He=ke(Ce,Ce.length,x.options.tabSize)-Ce.length;Ae=an(Ae.line,Math.max(0,Math.round((se-Gr(x.display).left)/gi(x.display))-He))}return Ae}function Gi(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ne=x.display.view,te=0;te<ne.length;te++)if(z-=ne[te].size,z<0)return te}function bi(x,z,ne,te){z==null&&(z=x.doc.first),ne==null&&(ne=x.doc.first+x.doc.size),te||(te=0);var ae=x.display;if(te&&ne<ae.viewTo&&(ae.updateLineNumbers==null||ae.updateLineNumbers>z)&&(ae.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=ae.viewTo)Rr&&ii(x.doc,z)<ae.viewTo&&_i(x);else if(ne<=ae.viewFrom)Rr&&ai(x.doc,ne+te)>ae.viewFrom?_i(x):(ae.viewFrom+=te,ae.viewTo+=te);else if(z<=ae.viewFrom&&ne>=ae.viewTo)_i(x);else if(z<=ae.viewFrom){var se=Sn(x,ne,ne+te,1);se?(ae.view=ae.view.slice(se.index),ae.viewFrom=se.lineN,ae.viewTo+=te):_i(x)}else if(ne>=ae.viewTo){var fe=Sn(x,z,z,-1);fe?(ae.view=ae.view.slice(0,fe.index),ae.viewTo=fe.lineN):_i(x)}else{var be=Sn(x,z,z,-1),Ae=Sn(x,ne,ne+te,1);be&&Ae?(ae.view=ae.view.slice(0,be.index).concat(st(x,be.lineN,Ae.lineN)).concat(ae.view.slice(Ae.index)),ae.viewTo+=te):_i(x)}var Ce=ae.externalMeasured;Ce&&(ne<Ce.lineN?Ce.lineN+=te:z<Ce.lineN+Ce.size&&(ae.externalMeasured=null))}function Or(x,z,ne){x.curOp.viewChanged=!0;var te=x.display,ae=x.display.externalMeasured;if(ae&&z>=ae.lineN&&z<ae.lineN+ae.size&&(te.externalMeasured=null),!(z<te.viewFrom||z>=te.viewTo)){var se=te.view[Gi(x,z)];if(se.node!=null){var fe=se.changes||(se.changes=[]);$e(fe,ne)==-1&&fe.push(ne)}}}function _i(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Sn(x,z,ne,te){var ae=Gi(x,z),se,fe=x.display.view;if(!Rr||ne==x.doc.first+x.doc.size)return{index:ae,lineN:ne};for(var be=x.display.viewFrom,Ae=0;Ae<ae;Ae++)be+=fe[Ae].size;if(be!=z){if(te>0){if(ae==fe.length-1)return null;se=be+fe[ae].size-z,ae++}else se=be-z;z+=se,ne+=se}for(;ii(x.doc,ne)!=ne;){if(ae==(te<0?0:fe.length-1))return null;ne+=te*fe[ae-(te<0?1:0)].size,ae+=te}return{index:ae,lineN:ne}}function ra(x,z,ne){var te=x.display,ae=te.view;ae.length==0||z>=te.viewTo||ne<=te.viewFrom?(te.view=st(x,z,ne),te.viewFrom=z):(te.viewFrom>z?te.view=st(x,z,te.viewFrom).concat(te.view):te.viewFrom<z&&(te.view=te.view.slice(Gi(x,z))),te.viewFrom=z,te.viewTo<ne?te.view=te.view.concat(st(x,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,Gi(x,ne)))),te.viewTo=ne}function rs(x){for(var z=x.display.view,ne=0,te=0;te<z.length;te++){var ae=z[te];!ae.hidden&&(!ae.node||ae.changes)&&++ne}return ne}function ul(x){x.display.input.showSelection(x.display.input.prepareSelection())}function $t(x,z){z===void 0&&(z=!0);for(var ne=x.doc,te={},ae=te.cursors=document.createDocumentFragment(),se=te.selection=document.createDocumentFragment(),fe=0;fe<ne.sel.ranges.length;fe++)if(!(!z&&fe==ne.sel.primIndex)){var be=ne.sel.ranges[fe];if(!(be.from().line>=x.display.viewTo||be.to().line<x.display.viewFrom)){var Ae=be.empty();(Ae||x.options.showCursorWhenSelecting)&&xi(x,be.head,ae),Ae||Ku(x,be,se)}}return te}function xi(x,z,ne){var te=Li(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),ae=ne.appendChild(Tt("div","\xA0","CodeMirror-cursor"));if(ae.style.left=te.left+"px",ae.style.top=te.top+"px",ae.style.height=Math.max(0,te.bottom-te.top)*x.options.cursorHeight+"px",te.other){var se=ne.appendChild(Tt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));se.style.display="",se.style.left=te.other.left+"px",se.style.top=te.other.top+"px",se.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function cl(x,z){return x.top-z.top||x.left-z.left}function Ku(x,z,ne){var te=x.display,ae=x.doc,se=document.createDocumentFragment(),fe=Gr(x.display),be=fe.left,Ae=Math.max(te.sizerWidth,Ar(x)-te.sizer.offsetLeft)-fe.right,Ce=ae.direction=="ltr";function He(Nn,Un,ci,fi){Un<0&&(Un=0),Un=Math.round(Un),fi=Math.round(fi),se.appendChild(Tt("div",null,"CodeMirror-selected","position: absolute; left: "+Nn+`px;
top: `+Un+"px; width: "+(ci==null?Ae-Nn:ci)+`px;
height: `+(fi-Un)+"px"))}function qe(Nn,Un,ci){var fi=_n(ae,Nn),ar=fi.text.length,Zr,wo;function La(ro,es){return uo(x,an(Nn,ro),"div",fi,es)}function Xo(ro,es,Hi){var ja=Oa(x,fi,null,ro),Ba=es=="ltr"==(Hi=="after")?"left":"right",Ra=Hi=="after"?ja.begin:ja.end-(/\s/.test(fi.text.charAt(ja.end-1))?2:1);return La(Ra,Ba)[Ba]}var $o=Ei(fi,ae.direction);return en($o,Un||0,ci==null?ar:ci,function(ro,es,Hi,ja){var Ba=Hi=="ltr",Ra=La(ro,Ba?"left":"right"),Ya=La(es-1,Ba?"right":"left"),su=Un==null&&ro==0,cs=ci==null&&es==ar,Lo=ja==0,Nr=!$o||ja==$o.length-1;if(Ya.top-Ra.top<=3){var fo=(Ce?su:cs)&&Lo,Pc=(Ce?cs:su)&&Nr,ol=fo?be:(Ba?Ra:Ya).left,Dl=Pc?Ae:(Ba?Ya:Ra).right;He(ol,Ra.top,Dl-ol,Ra.bottom)}else{var Hs,ao,lu,Bo;Ba?(Hs=Ce&&su&&Lo?be:Ra.left,ao=Ce?Ae:Xo(ro,Hi,"before"),lu=Ce?be:Xo(es,Hi,"after"),Bo=Ce&&cs&&Nr?Ae:Ya.right):(Hs=Ce?Xo(ro,Hi,"before"):be,ao=!Ce&&su&&Lo?Ae:Ra.right,lu=!Ce&&cs&&Nr?be:Ya.left,Bo=Ce?Xo(es,Hi,"after"):Ae),He(Hs,Ra.top,ao-Hs,Ra.bottom),Ra.bottom<Ya.top&&He(be,Ra.bottom,null,Ya.top),He(lu,Ya.top,Bo-lu,Ya.bottom)}(!Zr||cl(Ra,Zr)<0)&&(Zr=Ra),cl(Ya,Zr)<0&&(Zr=Ya),(!wo||cl(Ra,wo)<0)&&(wo=Ra),cl(Ya,wo)<0&&(wo=Ya)}),{start:Zr,end:wo}}var At=z.from(),bt=z.to();if(At.line==bt.line)qe(At.line,At.ch,bt.ch);else{var Yt=_n(ae,At.line),hn=_n(ae,bt.line),Cn=Kt(Yt)==Kt(hn),Pn=qe(At.line,At.ch,Cn?Yt.text.length+1:null).end,Wn=qe(bt.line,Cn?0:null,bt.ch).start;Cn&&(Pn.top<Wn.top-2?(He(Pn.right,Pn.top,null,Pn.bottom),He(be,Wn.top,Wn.left,Wn.bottom)):He(Pn.right,Pn.top,Wn.left-Pn.right,Pn.bottom)),Pn.bottom<Wn.top&&He(be,Pn.bottom,null,Wn.top)}ne.appendChild(se)}function Hl(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var ne=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||Ss(x),z.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Ca(x){x.state.focused||(x.display.input.focus(),dl(x))}function Wl(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Ss(x))},100)}function dl(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(Mi(x,"focus",x,z),x.state.focused=!0,jt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),Qe&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Hl(x))}function Ss(x,z){x.state.delayingBlurEvent||(x.state.focused&&(Mi(x,"blur",x,z),x.state.focused=!1,yt(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function Gs(x){for(var z=x.display,ne=z.lineDiv.offsetTop,te=0;te<z.view.length;te++){var ae=z.view[te],se=x.options.lineWrapping,fe=void 0,be=0;if(!ae.hidden){if(Pe&&Te<8){var Ae=ae.node.offsetTop+ae.node.offsetHeight;fe=Ae-ne,ne=Ae}else{var Ce=ae.node.getBoundingClientRect();fe=Ce.bottom-Ce.top,!se&&ae.text.firstChild&&(be=ae.text.firstChild.getBoundingClientRect().right-Ce.left-1)}var He=ae.line.height-fe;if((He>.005||He<-.005)&&(Ai(ae.line,fe),Cs(ae.line),ae.rest))for(var qe=0;qe<ae.rest.length;qe++)Cs(ae.rest[qe]);if(be>x.display.sizerWidth){var At=Math.ceil(be/gi(x.display));At>x.display.maxLineLength&&(x.display.maxLineLength=At,x.display.maxLine=ae.line,x.display.maxLineChanged=!0)}}}}function Cs(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var ne=x.widgets[z],te=ne.node.parentNode;te&&(ne.height=te.offsetHeight)}}function na(x,z,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):x.scroller.scrollTop;te=Math.floor(te-Hr(x));var ae=ne&&ne.bottom!=null?ne.bottom:te+x.wrapper.clientHeight,se=Na(z,te),fe=Na(z,ae);if(ne&&ne.ensure){var be=ne.ensure.from.line,Ae=ne.ensure.to.line;be<se?(se=be,fe=Na(z,Xt(_n(z,be))+x.wrapper.clientHeight)):Math.min(Ae,z.lastLine())>=fe&&(se=Na(z,Xt(_n(z,Ae))-x.wrapper.clientHeight),fe=Ae)}return{from:se,to:Math.max(fe,se+1)}}function Ho(x,z){if(!di(x,"scrollCursorIntoView")){var ne=x.display,te=ne.sizer.getBoundingClientRect(),ae=null;if(z.top+te.top<0?ae=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ae=!1),ae!=null&&!ct){var se=Tt("div","\u200B",null,`position: absolute;
top: `+(z.top-ne.viewOffset-Hr(x.display))+`px;
height: `+(z.bottom-z.top+Fr(x)+ne.barHeight)+`px;
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(se),se.scrollIntoView(ae),x.display.lineSpace.removeChild(se)}}}function as(x,z,ne,te){te==null&&(te=0);var ae;!x.options.lineWrapping&&z==ne&&(z=z.ch?an(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ne=z.sticky=="before"?an(z.line,z.ch+1,"before"):z);for(var se=0;se<5;se++){var fe=!1,be=Li(x,z),Ae=!ne||ne==z?be:Li(x,ne);ae={left:Math.min(be.left,Ae.left),top:Math.min(be.top,Ae.top)-te,right:Math.max(be.left,Ae.left),bottom:Math.max(be.bottom,Ae.bottom)+te};var Ce=ks(x,ae),He=x.doc.scrollTop,qe=x.doc.scrollLeft;if(Ce.scrollTop!=null&&(os(x,Ce.scrollTop),Math.abs(x.doc.scrollTop-He)>1&&(fe=!0)),Ce.scrollLeft!=null&&(Pi(x,Ce.scrollLeft),Math.abs(x.doc.scrollLeft-qe)>1&&(fe=!0)),!fe)break}return ae}function Vs(x,z){var ne=ks(x,z);ne.scrollTop!=null&&os(x,ne.scrollTop),ne.scrollLeft!=null&&Pi(x,ne.scrollLeft)}function ks(x,z){var ne=x.display,te=xo(x.display);z.top<0&&(z.top=0);var ae=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ne.scroller.scrollTop,se=va(x),fe={};z.bottom-z.top>se&&(z.bottom=z.top+se);var be=x.doc.height+wr(ne),Ae=z.top<te,Ce=z.bottom>be-te;if(z.top<ae)fe.scrollTop=Ae?0:z.top;else if(z.bottom>ae+se){var He=Math.min(z.top,(Ce?be:z.bottom)-se);He!=ae&&(fe.scrollTop=He)}var qe=x.options.fixedGutter?0:ne.gutters.offsetWidth,At=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ne.scroller.scrollLeft-qe,bt=Ar(x)-ne.gutters.offsetWidth,Yt=z.right-z.left>bt;return Yt&&(z.right=z.left+bt),z.left<10?fe.scrollLeft=0:z.left<At?fe.scrollLeft=Math.max(0,z.left+qe-(Yt?0:10)):z.right>bt+At-3&&(fe.scrollLeft=z.right+(Yt?0:10)-bt),fe}function Kl(x,z){z!=null&&(co(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function ys(x){co(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function Qa(x,z,ne){(z!=null||ne!=null)&&co(x),z!=null&&(x.curOp.scrollLeft=z),ne!=null&&(x.curOp.scrollTop=ne)}function hl(x,z){co(x),x.curOp.scrollToPos=z}function co(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ne=Xi(x,z.from),te=Xi(x,z.to);fl(x,ne,te,z.margin)}}function fl(x,z,ne,te){var ae=ks(x,{left:Math.min(z.left,ne.left),top:Math.min(z.top,ne.top)-te,right:Math.max(z.right,ne.right),bottom:Math.max(z.bottom,ne.bottom)+te});Qa(x,ae.scrollLeft,ae.scrollTop)}function os(x,z){Math.abs(x.doc.scrollTop-z)<2||(re||Vl(x,{top:z}),pl(x,z,!0),re&&Vl(x),ml(x,100))}function pl(x,z,ne){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ne)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Pi(x,z,ne,te){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ne?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!te)&&(x.doc.scrollLeft=z,bu(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function Pr(x){var z=x.display,ne=z.gutters.offsetWidth,te=Math.round(x.doc.height+wr(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+Fr(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ne}}var Ga=function(x,z,ne){this.cm=ne;var te=this.vert=Tt("div",[Tt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ae=this.horiz=Tt("div",[Tt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ae.tabIndex=-1,x(te),x(ae),Bn(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),Bn(ae,"scroll",function(){ae.clientWidth&&z(ae.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Pe&&Te<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ga.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ne=x.scrollHeight>x.clientHeight+1,te=x.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=z?te+"px":"0";var ae=x.viewHeight-(z?te:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+ae)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(z){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=x.barLeft+"px";var se=x.viewWidth-x.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+se)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:z?te:0}},Ga.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ga.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ga.prototype.zeroWidthHack=function(){var x=Fe&&!Ne?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new xe,this.disableVert=new xe},Ga.prototype.enableZeroWidthBar=function(x,z,ne){x.style.pointerEvents="auto";function te(){var ae=x.getBoundingClientRect(),se=ne=="vert"?document.elementFromPoint(ae.right-1,(ae.top+ae.bottom)/2):document.elementFromPoint((ae.right+ae.left)/2,ae.bottom-1);se!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},Ga.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var ka=function(){};ka.prototype.update=function(){return{bottom:0,right:0}},ka.prototype.setScrollLeft=function(){},ka.prototype.setScrollTop=function(){},ka.prototype.clear=function(){};function Co(x,z){z||(z=Pr(x));var ne=x.display.barWidth,te=x.display.barHeight;fu(x,z);for(var ae=0;ae<4&&ne!=x.display.barWidth||te!=x.display.barHeight;ae++)ne!=x.display.barWidth&&x.options.lineWrapping&&Gs(x),fu(x,Pr(x)),ne=x.display.barWidth,te=x.display.barHeight}function fu(x,z){var ne=x.display,te=ne.scrollbars.update(z);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=z.gutterWidth+"px"):ne.gutterFiller.style.display=""}var pu={native:Ga,null:ka};function Uu(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&yt(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new pu[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),Bn(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ne){ne=="horizontal"?Pi(x,z):os(x,z)},x),x.display.scrollbars.addClass&&jt(x.display.wrapper,x.display.scrollbars.addClass)}var vc=0;function fs(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++vc},Ft(x.curOp)}function ss(x){var z=x.curOp;z&&Zn(z,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;mu(ne)})}function mu(x){for(var z=x.ops,ne=0;ne<z.length;ne++)yc(z[ne]);for(var te=0;te<z.length;te++)Ul(z[te]);for(var ae=0;ae<z.length;ae++)Qu(z[ae]);for(var se=0;se<z.length;se++)bc(z[se]);for(var fe=0;fe<z.length;fe++)ls(z[fe])}function yc(x){var z=x.cm,ne=z.display;wc(z),x.updateMaxLine&&on(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ne.viewFrom||x.scrollToPos.to.line>=ne.viewTo)||ne.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new gu(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Ul(x){x.updatedDisplay=x.mustUpdate&&Ql(x.cm,x.update)}function Qu(x){var z=x.cm,ne=z.display;x.updatedDisplay&&Gs(z),x.barMeasure=Pr(z),ne.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=Fa(z,ne.maxLine,ne.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+x.adjustWidthTo+Fr(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+x.adjustWidthTo-Ar(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ne.input.prepareSelection())}function bc(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&Pi(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ne=x.focus&&x.focus==pt();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ne),(x.updatedDisplay||x.startHeight!=z.doc.height)&&Co(z,x.barMeasure),x.updatedDisplay&&gl(z,x.barMeasure),x.selectionChanged&&Hl(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ne&&Ca(x.cm)}function ls(x){var z=x.cm,ne=z.display,te=z.doc;if(x.updatedDisplay&&Gl(z,x.update),ne.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),x.scrollTop!=null&&pl(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Pi(z,x.scrollLeft,!0,!0),x.scrollToPos){var ae=as(z,pi(te,x.scrollToPos.from),pi(te,x.scrollToPos.to),x.scrollToPos.margin);Ho(z,ae)}var se=x.maybeHiddenMarkers,fe=x.maybeUnhiddenMarkers;if(se)for(var be=0;be<se.length;++be)se[be].lines.length||Mi(se[be],"hide");if(fe)for(var Ae=0;Ae<fe.length;++Ae)fe[Ae].lines.length&&Mi(fe[Ae],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&Mi(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function xa(x,z){if(x.curOp)return z();fs(x);try{return z()}finally{ss(x)}}function wa(x,z){return function(){if(x.curOp)return z.apply(x,arguments);fs(x);try{return z.apply(x,arguments)}finally{ss(x)}}}function pa(x){return function(){if(this.curOp)return x.apply(this,arguments);fs(this);try{return x.apply(this,arguments)}finally{ss(this)}}}function to(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);fs(z);try{return x.apply(this,arguments)}finally{ss(z)}}}function ml(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,Tn(xc,x))}function xc(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ne=+new Date+x.options.workTime,te=Ea(x,z.highlightFrontier),ae=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(se){if(te.line>=x.display.viewFrom){var fe=se.styles,be=se.text.length>x.options.maxHighlightLength?dr(z.mode,te.state):null,Ae=Xa(x,se,te,!0);be&&(te.state=be),se.styles=Ae.styles;var Ce=se.styleClasses,He=Ae.classes;He?se.styleClasses=He:Ce&&(se.styleClasses=null);for(var qe=!fe||fe.length!=se.styles.length||Ce!=He&&(!Ce||!He||Ce.bgClass!=He.bgClass||Ce.textClass!=He.textClass),At=0;!qe&&At<fe.length;++At)qe=fe[At]!=se.styles[At];qe&&ae.push(te.line),se.stateAfter=te.save(),te.nextLine()}else se.text.length<=x.options.maxHighlightLength&&ua(x,se.text,te),se.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return ml(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),ae.length&&xa(x,function(){for(var se=0;se<ae.length;se++)Or(x,ae[se],"text")})}}var gu=function(x,z,ne){var te=x.display;this.viewport=z,this.visible=na(te,x.doc,z),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Ar(x),this.force=ne,this.dims=Bi(x),this.events=[]};gu.prototype.signal=function(x,z){pr(x,z)&&this.events.push(arguments)},gu.prototype.finish=function(){for(var x=0;x<this.events.length;x++)Mi.apply(null,this.events[x])};function wc(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=Fr(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=Fr(x)+"px",z.scrollbarsClipped=!0)}function nd(x){if(x.hasFocus())return null;var z=pt();if(!z||!Ot(x.display.lineDiv,z))return null;var ne={activeElt:z};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&Ot(x.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function vu(x){if(!(!x||!x.activeElt||x.activeElt==pt())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&Ot(document.body,x.anchorNode)&&Ot(document.body,x.focusNode))){var z=window.getSelection(),ne=document.createRange();ne.setEnd(x.anchorNode,x.anchorOffset),ne.collapse(!1),z.removeAllRanges(),z.addRange(ne),z.extend(x.focusNode,x.focusOffset)}}function Ql(x,z){var ne=x.display,te=x.doc;if(z.editorIsHidden)return _i(x),!1;if(!z.force&&z.visible.from>=ne.viewFrom&&z.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&rs(x)==0)return!1;Ds(x)&&(_i(x),z.dims=Bi(x));var ae=te.first+te.size,se=Math.max(z.visible.from-x.options.viewportMargin,te.first),fe=Math.min(ae,z.visible.to+x.options.viewportMargin);ne.viewFrom<se&&se-ne.viewFrom<20&&(se=Math.max(te.first,ne.viewFrom)),ne.viewTo>fe&&ne.viewTo-fe<20&&(fe=Math.min(ae,ne.viewTo)),Rr&&(se=ii(x.doc,se),fe=ai(x.doc,fe));var be=se!=ne.viewFrom||fe!=ne.viewTo||ne.lastWrapHeight!=z.wrapperHeight||ne.lastWrapWidth!=z.wrapperWidth;ra(x,se,fe),ne.viewOffset=Xt(_n(x.doc,ne.viewFrom)),x.display.mover.style.top=ne.viewOffset+"px";var Ae=rs(x);if(!be&&Ae==0&&!z.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Ce=nd(x);return Ae>4&&(ne.lineDiv.style.display="none"),yu(x,ne.updateLineNumbers,z.dims),Ae>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,vu(Ce),_t(ne.cursorDiv),_t(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,be&&(ne.lastWrapHeight=z.wrapperHeight,ne.lastWrapWidth=z.wrapperWidth,ml(x,400)),ne.updateLineNumbers=null,!0}function Gl(x,z){for(var ne=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==Ar(x)){if(ne&&ne.top!=null&&(ne={top:Math.min(x.doc.height+wr(x.display)-va(x),ne.top)}),z.visible=na(x.display,x.doc,ne),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=na(x.display,x.doc,ne));if(!Ql(x,z))break;Gs(x);var ae=Pr(x);ul(x),Co(x,ae),gl(x,ae),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Vl(x,z){var ne=new gu(x,z);if(Ql(x,ne)){Gs(x),Gl(x,ne);var te=Pr(x);ul(x),Co(x,te),gl(x,te),ne.finish()}}function yu(x,z,ne){var te=x.display,ae=x.options.lineNumbers,se=te.lineDiv,fe=se.firstChild;function be(Yt){var hn=Yt.nextSibling;return Qe&&Fe&&x.display.currentWheelTarget==Yt?Yt.style.display="none":Yt.parentNode.removeChild(Yt),hn}for(var Ae=te.view,Ce=te.viewFrom,He=0;He<Ae.length;He++){var qe=Ae[He];if(!qe.hidden)if(!qe.node||qe.node.parentNode!=se){var At=Fn(x,qe,Ce,ne);se.insertBefore(At,fe)}else{for(;fe!=qe.node;)fe=be(fe);var bt=ae&&z!=null&&z<=Ce&&qe.lineNumber;qe.changes&&($e(qe.changes,"gutter")>-1&&(bt=!1),Yn(x,qe,Ce,ne)),bt&&(_t(qe.lineNumber),qe.lineNumber.appendChild(document.createTextNode(mr(x.options,Ce)))),fe=qe.node.nextSibling}Ce+=qe.size}for(;fe;)fe=be(fe)}function Yl(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function gl(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Fr(x)+"px"}function bu(x){var z=x.display,ne=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=vr(z)-z.scroller.scrollLeft+x.doc.scrollLeft,ae=z.gutters.offsetWidth,se=te+"px",fe=0;fe<ne.length;fe++)if(!ne[fe].hidden){x.options.fixedGutter&&(ne[fe].gutter&&(ne[fe].gutter.style.left=se),ne[fe].gutterBackground&&(ne[fe].gutterBackground.style.left=se));var be=ne[fe].alignable;if(be)for(var Ae=0;Ae<be.length;Ae++)be[Ae].style.left=se}x.options.fixedGutter&&(z.gutters.style.left=te+ae+"px")}}function Ds(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ne=mr(x.options,z.first+z.size-1),te=x.display;if(ne.length!=te.lineNumChars){var ae=te.measure.appendChild(Tt("div",[Tt("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),se=ae.firstChild.offsetWidth,fe=ae.offsetWidth-se;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(se,te.lineGutter.offsetWidth-fe)+1,te.lineNumWidth=te.lineNumInnerWidth+fe,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",Yl(x.display),!0}return!1}function xu(x,z){for(var ne=[],te=!1,ae=0;ae<x.length;ae++){var se=x[ae],fe=null;if(typeof se!="string"&&(fe=se.style,se=se.className),se=="CodeMirror-linenumbers")if(z)te=!0;else continue;ne.push({className:se,style:fe})}return z&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function Gu(x){var z=x.gutters,ne=x.gutterSpecs;_t(z),x.lineGutter=null;for(var te=0;te<ne.length;++te){var ae=ne[te],se=ae.className,fe=ae.style,be=z.appendChild(Tt("div",null,"CodeMirror-gutter "+se));fe&&(be.style.cssText=fe),se=="CodeMirror-linenumbers"&&(x.lineGutter=be,be.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ne.length?"":"none",Yl(x)}function Ys(x){Gu(x.display),bi(x),bu(x)}function Zl(x,z,ne,te){var ae=this;this.input=ne,ae.scrollbarFiller=Tt("div",null,"CodeMirror-scrollbar-filler"),ae.scrollbarFiller.setAttribute("cm-not-content","true"),ae.gutterFiller=Tt("div",null,"CodeMirror-gutter-filler"),ae.gutterFiller.setAttribute("cm-not-content","true"),ae.lineDiv=Bt("div",null,"CodeMirror-code"),ae.selectionDiv=Tt("div",null,null,"position: relative; z-index: 1"),ae.cursorDiv=Tt("div",null,"CodeMirror-cursors"),ae.measure=Tt("div",null,"CodeMirror-measure"),ae.lineMeasure=Tt("div",null,"CodeMirror-measure"),ae.lineSpace=Bt("div",[ae.measure,ae.lineMeasure,ae.selectionDiv,ae.cursorDiv,ae.lineDiv],null,"position: relative; outline: none");var se=Bt("div",[ae.lineSpace],"CodeMirror-lines");ae.mover=Tt("div",[se],null,"position: relative"),ae.sizer=Tt("div",[ae.mover],"CodeMirror-sizer"),ae.sizerWidth=null,ae.heightForcer=Tt("div",null,null,"position: absolute; height: "+ht+"px; width: 1px;"),ae.gutters=Tt("div",null,"CodeMirror-gutters"),ae.lineGutter=null,ae.scroller=Tt("div",[ae.sizer,ae.heightForcer,ae.gutters],"CodeMirror-scroll"),ae.scroller.setAttribute("tabIndex","-1"),ae.wrapper=Tt("div",[ae.scrollbarFiller,ae.gutterFiller,ae.scroller],"CodeMirror"),Pe&&Te<8&&(ae.gutters.style.zIndex=-1,ae.scroller.style.paddingRight=0),!Qe&&!(re&&je)&&(ae.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(ae.wrapper):x(ae.wrapper)),ae.viewFrom=ae.viewTo=z.first,ae.reportedViewFrom=ae.reportedViewTo=z.first,ae.view=[],ae.renderedView=null,ae.externalMeasured=null,ae.viewOffset=0,ae.lastWrapHeight=ae.lastWrapWidth=0,ae.updateLineNumbers=null,ae.nativeBarWidth=ae.barHeight=ae.barWidth=0,ae.scrollbarsClipped=!1,ae.lineNumWidth=ae.lineNumInnerWidth=ae.lineNumChars=null,ae.alignWidgets=!1,ae.cachedCharWidth=ae.cachedTextHeight=ae.cachedPaddingH=null,ae.maxLine=null,ae.maxLineLength=0,ae.maxLineChanged=!1,ae.wheelDX=ae.wheelDY=ae.wheelStartX=ae.wheelStartY=null,ae.shift=!1,ae.selForContextMenu=null,ae.activeTouch=null,ae.gutterSpecs=xu(te.gutters,te.lineNumbers),Gu(ae),ne.init(ae)}var Jl=0,za=null;Pe?za=-.53:re?za=15:Me?za=-.7:Ve&&(za=-1/3);function vl(x){var z=x.wheelDeltaX,ne=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),ne==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ne=x.detail:ne==null&&(ne=x.wheelDelta),{x:z,y:ne}}function Vu(x){var z=vl(x);return z.x*=za,z.y*=za,z}function _a(x,z){var ne=vl(z),te=ne.x,ae=ne.y,se=x.display,fe=se.scroller,be=fe.scrollWidth>fe.clientWidth,Ae=fe.scrollHeight>fe.clientHeight;if(te&&be||ae&&Ae){if(ae&&Fe&&Qe){e:for(var Ce=z.target,He=se.view;Ce!=fe;Ce=Ce.parentNode)for(var qe=0;qe<He.length;qe++)if(He[qe].node==Ce){x.display.currentWheelTarget=Ce;break e}}if(te&&!re&&!Ge&&za!=null){ae&&Ae&&os(x,Math.max(0,fe.scrollTop+ae*za)),Pi(x,Math.max(0,fe.scrollLeft+te*za)),(!ae||ae&&Ae)&&Zi(z),se.wheelStartX=null;return}if(ae&&za!=null){var At=ae*za,bt=x.doc.scrollTop,Yt=bt+se.wrapper.clientHeight;At<0?bt=Math.max(0,bt+At-50):Yt=Math.min(x.doc.height,Yt+At+50),Vl(x,{top:bt,bottom:Yt})}Jl<20&&(se.wheelStartX==null?(se.wheelStartX=fe.scrollLeft,se.wheelStartY=fe.scrollTop,se.wheelDX=te,se.wheelDY=ae,setTimeout(function(){if(se.wheelStartX!=null){var hn=fe.scrollLeft-se.wheelStartX,Cn=fe.scrollTop-se.wheelStartY,Pn=Cn&&se.wheelDY&&Cn/se.wheelDY||hn&&se.wheelDX&&hn/se.wheelDX;se.wheelStartX=se.wheelStartY=null,Pn&&(za=(za*Jl+Pn)/(Jl+1),++Jl)}},200)):(se.wheelDX+=te,se.wheelDY+=ae))}}var Da=function(x,z){this.ranges=x,this.primIndex=z};Da.prototype.primary=function(){return this.ranges[this.primIndex]},Da.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var z=0;z<this.ranges.length;z++){var ne=this.ranges[z],te=x.ranges[z];if(!Fo(ne.anchor,te.anchor)||!Fo(ne.head,te.head))return!1}return!0},Da.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new kr(Oo(this.ranges[z].anchor),Oo(this.ranges[z].head));return new Da(x,this.primIndex)},Da.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Da.prototype.contains=function(x,z){z||(z=x);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(li(z,te.from())>=0&&li(x,te.to())<=0)return ne}return-1};var kr=function(x,z){this.anchor=x,this.head=z};kr.prototype.from=function(){return Lr(this.anchor,this.head)},kr.prototype.to=function(){return go(this.anchor,this.head)},kr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function us(x,z,ne){var te=x&&x.options.selectionsMayTouch,ae=z[ne];z.sort(function(At,bt){return li(At.from(),bt.from())}),ne=$e(z,ae);for(var se=1;se<z.length;se++){var fe=z[se],be=z[se-1],Ae=li(be.to(),fe.from());if(te&&!fe.empty()?Ae>0:Ae>=0){var Ce=Lr(be.from(),fe.from()),He=go(be.to(),fe.to()),qe=be.empty()?fe.from()==fe.head:be.from()==be.head;se<=ne&&--ne,z.splice(--se,2,new kr(qe?He:Ce,qe?Ce:He))}}return new Da(z,ne)}function Wo(x,z){return new Da([new kr(x,z||x)],0)}function bs(x){return x.text?an(x.from.line+x.text.length-1,Rt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function wu(x,z){if(li(x,z.from)<0)return x;if(li(x,z.to)<=0)return bs(z);var ne=x.line+z.text.length-(z.to.line-z.from.line)-1,te=x.ch;return x.line==z.to.line&&(te+=bs(z).ch-z.to.ch),an(ne,te)}function ql(x,z){for(var ne=[],te=0;te<x.sel.ranges.length;te++){var ae=x.sel.ranges[te];ne.push(new kr(wu(ae.anchor,z),wu(ae.head,z)))}return us(x.cm,ne,x.sel.primIndex)}function Jo(x,z,ne){return x.line==z.line?an(ne.line,x.ch-z.ch+ne.ch):an(ne.line+(x.line-z.line),x.ch)}function Ls(x,z,ne){for(var te=[],ae=an(x.first,0),se=ae,fe=0;fe<z.length;fe++){var be=z[fe],Ae=Jo(be.from,ae,se),Ce=Jo(bs(be),ae,se);if(ae=be.to,se=Ce,ne=="around"){var He=x.sel.ranges[fe],qe=li(He.head,He.anchor)<0;te[fe]=new kr(qe?Ce:Ae,qe?Ae:Ce)}else te[fe]=new kr(Ae,Ae)}return new Da(te,x.sel.primIndex)}function qo(x){x.doc.mode=Vi(x.options,x.doc.modeOption),Zs(x)}function Zs(x){x.doc.iter(function(z){z.stateAfter&&(z.stateAfter=null),z.styles&&(z.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,ml(x,100),x.state.modeGen++,x.curOp&&bi(x)}function Au(x,z){return z.from.ch==0&&z.to.ch==0&&Rt(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Eu(x,z,ne,te){function ae(Wn){return ne?ne[Wn]:null}function se(Wn,Nn,Un){ei(Wn,Nn,Un,te),mn(Wn,"change",Wn,z)}function fe(Wn,Nn){for(var Un=[],ci=Wn;ci<Nn;++ci)Un.push(new yn(Ce[ci],ae(ci),te));return Un}var be=z.from,Ae=z.to,Ce=z.text,He=_n(x,be.line),qe=_n(x,Ae.line),At=Rt(Ce),bt=ae(Ce.length-1),Yt=Ae.line-be.line;if(z.full)x.insert(0,fe(0,Ce.length)),x.remove(Ce.length,x.size-Ce.length);else if(Au(x,z)){var hn=fe(0,Ce.length-1);se(qe,qe.text,bt),Yt&&x.remove(be.line,Yt),hn.length&&x.insert(be.line,hn)}else if(He==qe)if(Ce.length==1)se(He,He.text.slice(0,be.ch)+At+He.text.slice(Ae.ch),bt);else{var Cn=fe(1,Ce.length-1);Cn.push(new yn(At+He.text.slice(Ae.ch),bt,te)),se(He,He.text.slice(0,be.ch)+Ce[0],ae(0)),x.insert(be.line+1,Cn)}else if(Ce.length==1)se(He,He.text.slice(0,be.ch)+Ce[0]+qe.text.slice(Ae.ch),ae(0)),x.remove(be.line+1,Yt);else{se(He,He.text.slice(0,be.ch)+Ce[0],ae(0)),se(qe,At+qe.text.slice(Ae.ch),bt);var Pn=fe(1,Ce.length-1);Yt>1&&x.remove(be.line+1,Yt-1),x.insert(be.line+1,Pn)}mn(x,"change",x,z)}function xs(x,z,ne){function te(ae,se,fe){if(ae.linked)for(var be=0;be<ae.linked.length;++be){var Ae=ae.linked[be];if(Ae.doc!=se){var Ce=fe&&Ae.sharedHist;ne&&!Ce||(z(Ae.doc,Ce),te(Ae.doc,ae,Ce))}}}te(x,null,!0)}function Xl(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,Er(x),qo(x),yl(x),x.options.lineWrapping||on(x),x.options.mode=z.modeOption,bi(x)}function yl(x){(x.doc.direction=="rtl"?jt:yt)(x.display.lineDiv,"CodeMirror-rtl")}function Mu(x){xa(x,function(){yl(x),bi(x)})}function $l(x){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=x||1}function Su(x,z){var ne={from:Oo(z.from),to:bs(z),text:Dr(x,z.from,z.to)};return Xs(x,ne,z.from.line,z.to.line+1),xs(x,function(te){return Xs(te,ne,z.from.line,z.to.line+1)},!0),ne}function un(x){for(;x.length;){var z=Rt(x);if(z.ranges)x.pop();else break}}function oi(x,z){if(z)return un(x.done),Rt(x.done);if(x.done.length&&!Rt(x.done).ranges)return Rt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Rt(x.done)}function ho(x,z,ne,te){var ae=x.history;ae.undone.length=0;var se=+new Date,fe,be;if((ae.lastOp==te||ae.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&ae.lastModTime>se-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(fe=oi(ae,ae.lastOp==te)))be=Rt(fe.changes),li(z.from,z.to)==0&&li(z.from,be.to)==0?be.to=bs(z):fe.changes.push(Su(x,z));else{var Ae=Rt(ae.done);for((!Ae||!Ae.ranges)&&qs(x.sel,ae.done),fe={changes:[Su(x,z)],generation:ae.generation},ae.done.push(fe);ae.done.length>ae.undoDepth;)ae.done.shift(),ae.done[0].ranges||ae.done.shift()}ae.done.push(ne),ae.generation=++ae.maxGeneration,ae.lastModTime=ae.lastSelTime=se,ae.lastOp=ae.lastSelOp=te,ae.lastOrigin=ae.lastSelOrigin=z.origin,be||Mi(x,"historyAdded")}function zs(x,z,ne,te){var ae=z.charAt(0);return ae=="*"||ae=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Js(x,z,ne,te){var ae=x.history,se=te&&te.origin;ne==ae.lastSelOp||se&&ae.lastSelOrigin==se&&(ae.lastModTime==ae.lastSelTime&&ae.lastOrigin==se||zs(x,se,Rt(ae.done),z))?ae.done[ae.done.length-1]=z:qs(z,ae.done),ae.lastSelTime=+new Date,ae.lastSelOrigin=se,ae.lastSelOp=ne,te&&te.clearRedo!==!1&&un(ae.undone)}function qs(x,z){var ne=Rt(z);ne&&ne.ranges&&ne.equals(x)||z.push(x)}function Xs(x,z,ne,te){var ae=z["spans_"+x.id],se=0;x.iter(Math.max(x.first,ne),Math.min(x.first+x.size,te),function(fe){fe.markedSpans&&((ae||(ae=z["spans_"+x.id]={}))[se]=fe.markedSpans),++se})}function Ac(x){if(!x)return null;for(var z,ne=0;ne<x.length;++ne)x[ne].marker.explicitlyCleared?z||(z=x.slice(0,ne)):z&&z.push(x[ne]);return z?z.length?z:null:x}function Zd(x,z){var ne=z["spans_"+x.id];if(!ne)return null;for(var te=[],ae=0;ae<z.text.length;++ae)te.push(Ac(ne[ae]));return te}function id(x,z){var ne=Zd(x,z),te=vo(x,z);if(!ne)return te;if(!te)return ne;for(var ae=0;ae<ne.length;++ae){var se=ne[ae],fe=te[ae];if(se&&fe)e:for(var be=0;be<fe.length;++be){for(var Ae=fe[be],Ce=0;Ce<se.length;++Ce)if(se[Ce].marker==Ae.marker)continue e;se.push(Ae)}else fe&&(ne[ae]=fe)}return ne}function eu(x,z,ne){for(var te=[],ae=0;ae<x.length;++ae){var se=x[ae];if(se.ranges){te.push(ne?Da.prototype.deepCopy.call(se):se);continue}var fe=se.changes,be=[];te.push({changes:be});for(var Ae=0;Ae<fe.length;++Ae){var Ce=fe[Ae],He=void 0;if(be.push({from:Ce.from,to:Ce.to,text:Ce.text}),z)for(var qe in Ce)(He=qe.match(/^spans_(\d+)$/))&&$e(z,Number(He[1]))>-1&&(Rt(be)[qe]=Ce[qe],delete Ce[qe])}}return te}function Ec(x,z,ne,te){if(te){var ae=x.anchor;if(ne){var se=li(z,ae)<0;se!=li(ne,ae)<0?(ae=z,z=ne):se!=li(z,ne)<0&&(z=ne)}return new kr(ae,z)}else return new kr(ne||z,z)}function tu(x,z,ne,te,ae){ae==null&&(ae=x.cm&&(x.cm.display.shift||x.extend)),no(x,new Da([Ec(x.sel.primary(),z,ne,ae)],0),te)}function Gn(x,z,ne){for(var te=[],ae=x.cm&&(x.cm.display.shift||x.extend),se=0;se<x.sel.ranges.length;se++)te[se]=Ec(x.sel.ranges[se],z[se],null,ae);var fe=us(x.cm,te,x.sel.primIndex);no(x,fe,ne)}function ps(x,z,ne,te){var ae=x.sel.ranges.slice(0);ae[z]=ne,no(x,us(x.cm,ae,x.sel.primIndex),te)}function rd(x,z,ne,te){no(x,Wo(z,ne),te)}function Jd(x,z,ne){var te={ranges:z.ranges,update:function(ae){this.ranges=[];for(var se=0;se<ae.length;se++)this.ranges[se]=new kr(pi(x,ae[se].anchor),pi(x,ae[se].head))},origin:ne&&ne.origin};return Mi(x,"beforeSelectionChange",x,te),x.cm&&Mi(x.cm,"beforeSelectionChange",x.cm,te),te.ranges!=z.ranges?us(x.cm,te.ranges,te.ranges.length-1):z}function Ko(x,z,ne){var te=x.history.done,ae=Rt(te);ae&&ae.ranges?(te[te.length-1]=z,Yu(x,z,ne)):no(x,z,ne)}function no(x,z,ne){Yu(x,z,ne),Js(x,x.sel,x.cm?x.cm.curOp.id:NaN,ne)}function Yu(x,z,ne){(pr(x,"beforeSelectionChange")||x.cm&&pr(x.cm,"beforeSelectionChange"))&&(z=Jd(x,z,ne));var te=ne&&ne.bias||(li(z.primary().head,x.sel.primary().head)<0?-1:1);qd(x,nu(x,z,te,!0)),!(ne&&ne.scroll===!1)&&x.cm&&ys(x.cm)}function qd(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,oo(x.cm)),mn(x,"cursorActivity",x))}function Xd(x){qd(x,nu(x,x.sel,null,!1))}function nu(x,z,ne,te){for(var ae,se=0;se<z.ranges.length;se++){var fe=z.ranges[se],be=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[se],Ae=Mc(x,fe.anchor,be&&be.anchor,ne,te),Ce=Mc(x,fe.head,be&&be.head,ne,te);(ae||Ae!=fe.anchor||Ce!=fe.head)&&(ae||(ae=z.ranges.slice(0,se)),ae[se]=new kr(Ae,Ce))}return ae?us(x.cm,ae,z.primIndex):z}function Uo(x,z,ne,te,ae){var se=_n(x,z.line);if(se.markedSpans)for(var fe=0;fe<se.markedSpans.length;++fe){var be=se.markedSpans[fe],Ae=be.marker,Ce="selectLeft"in Ae?!Ae.selectLeft:Ae.inclusiveLeft,He="selectRight"in Ae?!Ae.selectRight:Ae.inclusiveRight;if((be.from==null||(Ce?be.from<=z.ch:be.from<z.ch))&&(be.to==null||(He?be.to>=z.ch:be.to>z.ch))){if(ae&&(Mi(Ae,"beforeCursorEnter"),Ae.explicitlyCleared))if(se.markedSpans){--fe;continue}else break;if(!Ae.atomic)continue;if(ne){var qe=Ae.find(te<0?1:-1),At=void 0;if((te<0?He:Ce)&&(qe=$s(x,qe,-te,qe&&qe.line==z.line?se:null)),qe&&qe.line==z.line&&(At=li(qe,ne))&&(te<0?At<0:At>0))return Uo(x,qe,z,te,ae)}var bt=Ae.find(te<0?-1:1);return(te<0?Ce:He)&&(bt=$s(x,bt,te,bt.line==z.line?se:null)),bt?Uo(x,bt,z,te,ae):null}}return z}function Mc(x,z,ne,te,ae){var se=te||1,fe=Uo(x,z,ne,se,ae)||!ae&&Uo(x,z,ne,se,!0)||Uo(x,z,ne,-se,ae)||!ae&&Uo(x,z,ne,-se,!0);return fe||(x.cantEdit=!0,an(x.first,0))}function $s(x,z,ne,te){return ne<0&&z.ch==0?z.line>x.first?pi(x,an(z.line-1)):null:ne>0&&z.ch==(te||_n(x,z.line)).text.length?z.line<x.first+x.size-1?an(z.line+1,0):null:new an(z.line,z.ch+ne)}function ad(x){x.setSelection(an(x.firstLine(),0),an(x.lastLine()),rt)}function Sc(x,z,ne){var te={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return te.canceled=!0}};return ne&&(te.update=function(ae,se,fe,be){ae&&(te.from=pi(x,ae)),se&&(te.to=pi(x,se)),fe&&(te.text=fe),be!==void 0&&(te.origin=be)}),Mi(x,"beforeChange",x,te),x.cm&&Mi(x.cm,"beforeChange",x.cm,te),te.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function bl(x,z,ne){if(x.cm){if(!x.cm.curOp)return wa(x.cm,bl)(x,z,ne);if(x.cm.state.suppressEdits)return}if(!((pr(x,"beforeChange")||x.cm&&pr(x.cm,"beforeChange"))&&(z=Sc(x,z,!0),!z))){var te=Mo&&!ne&&lo(x,z.from,z.to);if(te)for(var ae=te.length-1;ae>=0;--ae)od(x,{from:te[ae].from,to:te[ae].to,text:ae?[""]:z.text,origin:z.origin});else od(x,z)}}function od(x,z){if(!(z.text.length==1&&z.text[0]==""&&li(z.from,z.to)==0)){var ne=ql(x,z);ho(x,z,ne,x.cm?x.cm.curOp.id:NaN),iu(x,z,ne,vo(x,z));var te=[];xs(x,function(ae,se){!se&&$e(te,ae.history)==-1&&(Zu(ae.history,z),te.push(ae.history)),iu(ae,z,null,vo(ae,z))})}}function el(x,z,ne){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!ne)){for(var ae=x.history,se,fe=x.sel,be=z=="undo"?ae.done:ae.undone,Ae=z=="undo"?ae.undone:ae.done,Ce=0;Ce<be.length&&(se=be[Ce],!(ne?se.ranges&&!se.equals(x.sel):!se.ranges));Ce++);if(Ce!=be.length){for(ae.lastOrigin=ae.lastSelOrigin=null;;)if(se=be.pop(),se.ranges){if(qs(se,Ae),ne&&!se.equals(x.sel)){no(x,se,{clearRedo:!1});return}fe=se}else if(te){be.push(se);return}else break;var He=[];qs(fe,Ae),Ae.push({changes:He,generation:ae.generation}),ae.generation=se.generation||++ae.maxGeneration;for(var qe=pr(x,"beforeChange")||x.cm&&pr(x.cm,"beforeChange"),At=function(hn){var Cn=se.changes[hn];if(Cn.origin=z,qe&&!Sc(x,Cn,!1))return be.length=0,{};He.push(Su(x,Cn));var Pn=hn?ql(x,Cn):Rt(be);iu(x,Cn,Pn,id(x,Cn)),!hn&&x.cm&&x.cm.scrollIntoView({from:Cn.from,to:bs(Cn)});var Wn=[];xs(x,function(Nn,Un){!Un&&$e(Wn,Nn.history)==-1&&(Zu(Nn.history,Cn),Wn.push(Nn.history)),iu(Nn,Cn,null,id(Nn,Cn))})},bt=se.changes.length-1;bt>=0;--bt){var Yt=At(bt);if(Yt)return Yt.v}}}}function Cc(x,z){if(z!=0&&(x.first+=z,x.sel=new Da(vn(x.sel.ranges,function(ae){return new kr(an(ae.anchor.line+z,ae.anchor.ch),an(ae.head.line+z,ae.head.ch))}),x.sel.primIndex),x.cm)){bi(x.cm,x.first,x.first-z,z);for(var ne=x.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)Or(x.cm,te,"gutter")}}function iu(x,z,ne,te){if(x.cm&&!x.cm.curOp)return wa(x.cm,iu)(x,z,ne,te);if(z.to.line<x.first){Cc(x,z.text.length-1-(z.to.line-z.from.line));return}if(!(z.from.line>x.lastLine())){if(z.from.line<x.first){var ae=z.text.length-1-(x.first-z.from.line);Cc(x,ae),z={from:an(x.first,0),to:an(z.to.line+ae,z.to.ch),text:[Rt(z.text)],origin:z.origin}}var se=x.lastLine();z.to.line>se&&(z={from:z.from,to:an(se,_n(x,se).text.length),text:[z.text[0]],origin:z.origin}),z.removed=Dr(x,z.from,z.to),ne||(ne=ql(x,z)),x.cm?$d(x.cm,z,te):Eu(x,z,te),Yu(x,ne,rt),x.cantEdit&&Mc(x,an(x.firstLine(),0))&&(x.cantEdit=!1)}}function $d(x,z,ne){var te=x.doc,ae=x.display,se=z.from,fe=z.to,be=!1,Ae=se.line;x.options.lineWrapping||(Ae=Fi(Kt(_n(te,se.line))),te.iter(Ae,fe.line+1,function(bt){if(bt==ae.maxLine)return be=!0,!0})),te.sel.contains(z.from,z.to)>-1&&oo(x),Eu(te,z,ne,ir(x)),x.options.lineWrapping||(te.iter(Ae,se.line+z.text.length,function(bt){var Yt=Gt(bt);Yt>ae.maxLineLength&&(ae.maxLine=bt,ae.maxLineLength=Yt,ae.maxLineChanged=!0,be=!1)}),be&&(x.curOp.updateMaxLine=!0)),Yo(te,se.line),ml(x,400);var Ce=z.text.length-(fe.line-se.line)-1;z.full?bi(x):se.line==fe.line&&z.text.length==1&&!Au(x.doc,z)?Or(x,se.line,"text"):bi(x,se.line,fe.line+1,Ce);var He=pr(x,"changes"),qe=pr(x,"change");if(qe||He){var At={from:se,to:fe,text:z.text,removed:z.removed,origin:z.origin};qe&&mn(x,"change",x,At),He&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(At)}x.display.selForContextMenu=null}function Cu(x,z,ne,te,ae){var se;te||(te=ne),li(te,ne)<0&&(se=[te,ne],ne=se[0],te=se[1]),typeof z=="string"&&(z=x.splitLines(z)),bl(x,{from:ne,to:te,text:z,origin:ae})}function e0(x,z,ne,te){ne<x.line?x.line+=te:z<x.line&&(x.line=z,x.ch=0)}function t0(x,z,ne,te){for(var ae=0;ae<x.length;++ae){var se=x[ae],fe=!0;if(se.ranges){se.copied||(se=x[ae]=se.deepCopy(),se.copied=!0);for(var be=0;be<se.ranges.length;be++)e0(se.ranges[be].anchor,z,ne,te),e0(se.ranges[be].head,z,ne,te);continue}for(var Ae=0;Ae<se.changes.length;++Ae){var Ce=se.changes[Ae];if(ne<Ce.from.line)Ce.from=an(Ce.from.line+te,Ce.from.ch),Ce.to=an(Ce.to.line+te,Ce.to.ch);else if(z<=Ce.to.line){fe=!1;break}}fe||(x.splice(0,ae+1),ae=0)}}function Zu(x,z){var ne=z.from.line,te=z.to.line,ae=z.text.length-(te-ne)-1;t0(x.done,ne,te,ae),t0(x.undone,ne,te,ae)}function Ju(x,z,ne,te){var ae=z,se=z;return typeof z=="number"?se=_n(x,Eo(x,z)):ae=Fi(z),ae==null?null:(te(se,ae)&&x.cm&&Or(x.cm,ae,ne),se)}function xl(x){this.lines=x,this.parent=null;for(var z=0,ne=0;ne<x.length;++ne)x[ne].parent=this,z+=x[ne].height;this.height=z}xl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ne=x,te=x+z;ne<te;++ne){var ae=this.lines[ne];this.height-=ae.height,mi(ae),mn(ae,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,ne){this.height+=ne,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var te=0;te<z.length;++te)z[te].parent=this},iterN:function(x,z,ne){for(var te=x+z;x<te;++x)if(ne(this.lines[x]))return!0}};function ku(x){this.children=x;for(var z=0,ne=0,te=0;te<x.length;++te){var ae=x[te];z+=ae.chunkSize(),ne+=ae.height,ae.parent=this}this.size=z,this.height=ne,this.parent=null}ku.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var ne=0;ne<this.children.length;++ne){var te=this.children[ne],ae=te.chunkSize();if(x<ae){var se=Math.min(z,ae-x),fe=te.height;if(te.removeInner(x,se),this.height-=fe-te.height,ae==se&&(this.children.splice(ne--,1),te.parent=null),(z-=se)==0)break;x=0}else x-=ae}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof xl))){var be=[];this.collapse(be),this.children=[new xl(be)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z<this.children.length;++z)this.children[z].collapse(x)},insertInner:function(x,z,ne){this.size+=z.length,this.height+=ne;for(var te=0;te<this.children.length;++te){var ae=this.children[te],se=ae.chunkSize();if(x<=se){if(ae.insertInner(x,z,ne),ae.lines&&ae.lines.length>50){for(var fe=ae.lines.length%25+25,be=fe;be<ae.lines.length;){var Ae=new xl(ae.lines.slice(be,be+=25));ae.height-=Ae.height,this.children.splice(++te,0,Ae),Ae.parent=this}ae.lines=ae.lines.slice(0,fe),this.maybeSpill()}break}x-=se}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),ne=new ku(z);if(x.parent){x.size-=ne.size,x.height-=ne.height;var ae=$e(x.parent.children,x);x.parent.children.splice(ae+1,0,ne)}else{var te=new ku(x.children);te.parent=x,x.children=[te,ne],x=te}ne.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,ne){for(var te=0;te<this.children.length;++te){var ae=this.children[te],se=ae.chunkSize();if(x<se){var fe=Math.min(z,se-x);if(ae.iterN(x,fe,ne))return!0;if((z-=fe)==0)break;x=0}else x-=se}}};var Du=function(x,z,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=x,this.node=z};Du.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ne=this.line,te=Fi(ne);if(!(te==null||!z)){for(var ae=0;ae<z.length;++ae)z[ae]==this&&z.splice(ae--,1);z.length||(ne.widgets=null);var se=at(this);Ai(ne,Math.max(0,ne.height-se)),x&&(xa(x,function(){n0(x,ne,-se),Or(x,te,"widget")}),mn(x,"lineWidgetCleared",x,this,te))}},Du.prototype.changed=function(){var x=this,z=this.height,ne=this.doc.cm,te=this.line;this.height=null;var ae=at(this)-z;ae&&(Si(this.doc,te)||Ai(te,te.height+ae),ne&&xa(ne,function(){ne.curOp.forceUpdate=!0,n0(ne,te,ae),mn(ne,"lineWidgetChanged",ne,x,Fi(te))}))},or(Du);function n0(x,z,ne){Xt(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Kl(x,ne)}function i0(x,z,ne,te){var ae=new Du(x,ne,te),se=x.cm;return se&&ae.noHScroll&&(se.display.alignWidgets=!0),Ju(x,z,"widget",function(fe){var be=fe.widgets||(fe.widgets=[]);if(ae.insertAt==null?be.push(ae):be.splice(Math.min(be.length-1,Math.max(0,ae.insertAt)),0,ae),ae.line=fe,se&&!Si(x,fe)){var Ae=Xt(fe)<x.scrollTop;Ai(fe,fe.height+at(ae)),Ae&&Kl(se,ae.height),se.curOp.forceUpdate=!0}return!0}),se&&mn(se,"lineWidgetAdded",se,ae,typeof z=="number"?z:Fi(z)),ae}var r0=0,wl=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++r0};wl.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&fs(x),pr(this,"clear")){var ne=this.find();ne&&mn(this,"clear",ne.from,ne.to)}for(var te=null,ae=null,se=0;se<this.lines.length;++se){var fe=this.lines[se],be=nn(fe.markedSpans,this);x&&!this.collapsed?Or(x,Fi(fe),"text"):x&&(be.to!=null&&(ae=Fi(fe)),be.from!=null&&(te=Fi(fe))),fe.markedSpans=Ia(fe.markedSpans,be),be.from==null&&this.collapsed&&!Si(this.doc,fe)&&x&&Ai(fe,xo(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ae=0;Ae<this.lines.length;++Ae){var Ce=Kt(this.lines[Ae]),He=Gt(Ce);He>x.display.maxLineLength&&(x.display.maxLine=Ce,x.display.maxLineLength=He,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&bi(x,te,ae+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Xd(x.doc)),x&&mn(x,"markerCleared",x,this,te,ae),z&&ss(x),this.parent&&this.parent.clear()}},wl.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ne,te,ae=0;ae<this.lines.length;++ae){var se=this.lines[ae],fe=nn(se.markedSpans,this);if(fe.from!=null&&(ne=an(z?se:Fi(se),fe.from),x==-1))return ne;if(fe.to!=null&&(te=an(z?se:Fi(se),fe.to),x==1))return te}return ne&&{from:ne,to:te}},wl.prototype.changed=function(){var x=this,z=this.find(-1,!0),ne=this,te=this.doc.cm;!z||!te||xa(te,function(){var ae=z.line,se=Fi(z.line),fe=ya(te,se);if(fe&&(ti(fe),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Si(ne.doc,ae)&&ne.height!=null){var be=ne.height;ne.height=null;var Ae=at(ne)-be;Ae&&Ai(ae,ae.height+Ae)}mn(te,"markerChanged",te,x)})},wl.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||$e(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},wl.prototype.detachLine=function(x){if(this.lines.splice($e(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},or(wl);function tl(x,z,ne,te,ae){if(te&&te.shared)return aa(x,z,ne,te,ae);if(x.cm&&!x.cm.curOp)return wa(x.cm,tl)(x,z,ne,te,ae);var se=new wl(x,ae),fe=li(z,ne);if(te&&$n(te,se,!1),fe>0||fe==0&&se.clearWhenEmpty!==!1)return se;if(se.replacedWith&&(se.collapsed=!0,se.widgetNode=Bt("span",[se.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||se.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(se.widgetNode.insertLeft=!0)),se.collapsed){if(Ht(x,z.line,z,ne,se)||z.line!=ne.line&&Ht(x,ne.line,z,ne,se))throw new Error("Inserting collapsed marker partially overlapping an existing one");is()}se.addToHistory&&ho(x,{from:z,to:ne,origin:"markText"},x.sel,NaN);var be=z.line,Ae=x.cm,Ce;if(x.iter(be,ne.line+1,function(qe){Ae&&se.collapsed&&!Ae.options.lineWrapping&&Kt(qe)==Ae.display.maxLine&&(Ce=!0),se.collapsed&&be!=z.line&&Ai(qe,0),So(qe,new Ua(se,be==z.line?z.ch:null,be==ne.line?ne.ch:null)),++be}),se.collapsed&&x.iter(z.line,ne.line+1,function(qe){Si(x,qe)&&Ai(qe,0)}),se.clearOnEnter&&Bn(se,"beforeCursorEnter",function(){return se.clear()}),se.readOnly&&(zo(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),se.collapsed&&(se.id=++r0,se.atomic=!0),Ae){if(Ce&&(Ae.curOp.updateMaxLine=!0),se.collapsed)bi(Ae,z.line,ne.line+1);else if(se.className||se.startStyle||se.endStyle||se.css||se.attributes||se.title)for(var He=z.line;He<=ne.line;He++)Or(Ae,He,"text");se.atomic&&Xd(Ae.doc),mn(Ae,"markerAdded",Ae,se)}return se}var rr=function(x,z){this.markers=x,this.primary=z;for(var ne=0;ne<x.length;++ne)x[ne].parent=this};rr.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();mn(this,"clear")}},rr.prototype.find=function(x,z){return this.primary.find(x,z)},or(rr);function aa(x,z,ne,te,ae){te=$n(te),te.shared=!1;var se=[tl(x,z,ne,te,ae)],fe=se[0],be=te.widgetNode;return xs(x,function(Ae){be&&(te.widgetNode=be.cloneNode(!0)),se.push(tl(Ae,pi(Ae,z),pi(Ae,ne),te,ae));for(var Ce=0;Ce<Ae.linked.length;++Ce)if(Ae.linked[Ce].isParent)return;fe=Rt(se)}),new rr(se,fe)}function Al(x){return x.findMarks(an(x.first,0),x.clipPos(an(x.lastLine())),function(z){return z.parent})}function a0(x,z){for(var ne=0;ne<z.length;ne++){var te=z[ne],ae=te.find(),se=x.clipPos(ae.from),fe=x.clipPos(ae.to);if(li(se,fe)){var be=tl(x,se,fe,te.primary,te.primary.type);te.markers.push(be),be.parent=te}}}function ms(x){for(var z=function(te){var ae=x[te],se=[ae.primary.doc];xs(ae.primary.doc,function(Ae){return se.push(Ae)});for(var fe=0;fe<ae.markers.length;fe++){var be=ae.markers[fe];$e(se,be.doc)==-1&&(be.parent=null,ae.markers.splice(fe--,1))}},ne=0;ne<x.length;ne++)z(ne)}var o0=0,Va=function(x,z,ne,te,ae){if(!(this instanceof Va))return new Va(x,z,ne,te,ae);ne==null&&(ne=0),ku.call(this,[new xl([new yn("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var se=an(ne,0);this.sel=Wo(se),this.history=new $l(null),this.id=++o0,this.modeOption=z,this.lineSep=te,this.direction=ae=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Eu(this,{from:se,to:se,text:x}),no(this,Wo(se),rt)};Va.prototype=de(ku.prototype,{constructor:Va,iter:function(x,z,ne){ne?this.iterN(x-this.first,z-x,ne):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var ne=0,te=0;te<z.length;++te)ne+=z[te].height;this.insertInner(x-this.first,z,ne)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=Ti(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:to(function(x){var z=an(this.first,0),ne=this.first+this.size-1;bl(this,{from:z,to:an(ne,_n(this,ne).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&Qa(this.cm,0,0),no(this,Wo(z),rt)}),replaceRange:function(x,z,ne,te){z=pi(this,z),ne=ne?pi(this,ne):z,Cu(this,x,z,ne,te)},getRange:function(x,z,ne){var te=Dr(this,pi(this,x),pi(this,z));return ne===!1?te:te.join(ne||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(Xr(this,x))return _n(this,x)},getLineNumber:function(x){return Fi(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=_n(this,x)),Kt(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return pi(this,x)},getCursor:function(x){var z=this.sel.primary(),ne;return x==null||x=="head"?ne=z.head:x=="anchor"?ne=z.anchor:x=="end"||x=="to"||x===!1?ne=z.to():ne=z.from(),ne},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:to(function(x,z,ne){rd(this,pi(this,typeof x=="number"?an(x,z||0):x),null,ne)}),setSelection:to(function(x,z,ne){rd(this,pi(this,x),pi(this,z||x),ne)}),extendSelection:to(function(x,z,ne){tu(this,pi(this,x),z&&pi(this,z),ne)}),extendSelections:to(function(x,z){Gn(this,ln(this,x),z)}),extendSelectionsBy:to(function(x,z){var ne=vn(this.sel.ranges,x);Gn(this,ln(this,ne),z)}),setSelections:to(function(x,z,ne){if(x.length){for(var te=[],ae=0;ae<x.length;ae++)te[ae]=new kr(pi(this,x[ae].anchor),pi(this,x[ae].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),no(this,us(this.cm,te,z),ne)}}),addSelection:to(function(x,z,ne){var te=this.sel.ranges.slice(0);te.push(new kr(pi(this,x),pi(this,z||x))),no(this,us(this.cm,te,te.length-1),ne)}),getSelection:function(x){for(var z=this.sel.ranges,ne,te=0;te<z.length;te++){var ae=Dr(this,z[te].from(),z[te].to());ne=ne?ne.concat(ae):ae}return x===!1?ne:ne.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],ne=this.sel.ranges,te=0;te<ne.length;te++){var ae=Dr(this,ne[te].from(),ne[te].to());x!==!1&&(ae=ae.join(x||this.lineSeparator())),z[te]=ae}return z},replaceSelection:function(x,z,ne){for(var te=[],ae=0;ae<this.sel.ranges.length;ae++)te[ae]=x;this.replaceSelections(te,z,ne||"+input")},replaceSelections:to(function(x,z,ne){for(var te=[],ae=this.sel,se=0;se<ae.ranges.length;se++){var fe=ae.ranges[se];te[se]={from:fe.from(),to:fe.to(),text:this.splitLines(x[se]),origin:ne}}for(var be=z&&z!="end"&&Ls(this,te,z),Ae=te.length-1;Ae>=0;Ae--)bl(this,te[Ae]);be?Ko(this,be):this.cm&&ys(this.cm)}),undo:to(function(){el(this,"undo")}),redo:to(function(){el(this,"redo")}),undoSelection:to(function(){el(this,"undo",!0)}),redoSelection:to(function(){el(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ne=0,te=0;te<x.done.length;te++)x.done[te].ranges||++z;for(var ae=0;ae<x.undone.length;ae++)x.undone[ae].ranges||++ne;return{undo:z,redo:ne}},clearHistory:function(){var x=this;this.history=new $l(this.history.maxGeneration),xs(this,function(z){return z.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:eu(this.history.done),undone:eu(this.history.undone)}},setHistory:function(x){var z=this.history=new $l(this.history.maxGeneration);z.done=eu(x.done.slice(0),null,!0),z.undone=eu(x.undone.slice(0),null,!0)},setGutterMarker:to(function(x,z,ne){return Ju(this,x,"gutter",function(te){var ae=te.gutterMarkers||(te.gutterMarkers={});return ae[z]=ne,!ne&&ue(ae)&&(te.gutterMarkers=null),!0})}),clearGutter:to(function(x){var z=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[x]&&Ju(z,ne,"gutter",function(){return ne.gutterMarkers[x]=null,ue(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!Xr(this,x)||(z=x,x=_n(this,x),!x))return null}else if(z=Fi(x),z==null)return null;return{line:z,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:to(function(x,z,ne){return Ju(this,x,z=="gutter"?"gutter":"class",function(te){var ae=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!te[ae])te[ae]=ne;else{if(xt(ne).test(te[ae]))return!1;te[ae]+=" "+ne}return!0})}),removeLineClass:to(function(x,z,ne){return Ju(this,x,z=="gutter"?"gutter":"class",function(te){var ae=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",se=te[ae];if(se)if(ne==null)te[ae]=null;else{var fe=se.match(xt(ne));if(!fe)return!1;var be=fe.index+fe[0].length;te[ae]=se.slice(0,fe.index)+(!fe.index||be==se.length?"":" ")+se.slice(be)||null}else return!1;return!0})}),addLineWidget:to(function(x,z,ne){return i0(this,x,z,ne)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ne){return tl(this,pi(this,x),pi(this,z),ne,ne&&ne.type||"range")},setBookmark:function(x,z){var ne={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=pi(this,x),tl(this,x,x,ne,"bookmark")},findMarksAt:function(x){x=pi(this,x);var z=[],ne=_n(this,x.line).markedSpans;if(ne)for(var te=0;te<ne.length;++te){var ae=ne[te];(ae.from==null||ae.from<=x.ch)&&(ae.to==null||ae.to>=x.ch)&&z.push(ae.marker.parent||ae.marker)}return z},findMarks:function(x,z,ne){x=pi(this,x),z=pi(this,z);var te=[],ae=x.line;return this.iter(x.line,z.line+1,function(se){var fe=se.markedSpans;if(fe)for(var be=0;be<fe.length;be++){var Ae=fe[be];!(Ae.to!=null&&ae==x.line&&x.ch>=Ae.to||Ae.from==null&&ae!=x.line||Ae.from!=null&&ae==z.line&&Ae.from>=z.ch)&&(!ne||ne(Ae.marker))&&te.push(Ae.marker.parent||Ae.marker)}++ae}),te},getAllMarks:function(){var x=[];return this.iter(function(z){var ne=z.markedSpans;if(ne)for(var te=0;te<ne.length;++te)ne[te].from!=null&&x.push(ne[te].marker)}),x},posFromIndex:function(x){var z,ne=this.first,te=this.lineSeparator().length;return this.iter(function(ae){var se=ae.text.length+te;if(se>x)return z=x,!0;x-=se,++ne}),pi(this,an(ne,z))},indexFromPos:function(x){x=pi(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var ne=this.lineSeparator().length;return this.iter(this.first,x.line,function(te){z+=te.text.length+ne}),z},copy:function(x){var z=new Va(Ti(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return z.scrollTop=this.scrollTop,z.scrollLeft=this.scrollLeft,z.sel=this.sel,z.extend=!1,x&&(z.history.undoDepth=this.history.undoDepth,z.setHistory(this.getHistory())),z},linkedDoc:function(x){x||(x={});var z=this.first,ne=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<ne&&(ne=x.to);var te=new Va(Ti(this,z,ne),x.mode||this.modeOption,z,this.lineSep,this.direction);return x.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:x.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],a0(te,Al(this)),te},unlinkDoc:function(x){if(x instanceof ji&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var ne=this.linked[z];if(ne.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),ms(Al(this));break}}if(x.history==this.history){var te=[x.id];xs(x,function(ae){return te.push(ae.id)},!0),x.history=new $l(null),x.history.done=eu(this.history.done,te),x.history.undone=eu(this.history.undone,te)}},iterLinkedDocs:function(x){xs(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):si(x)},lineSeparator:function(){return this.lineSep||`
`},setDirection:to(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Mu(this.cm))})}),Va.prototype.eachLine=Va.prototype.iter;var sd=0;function $0(x){var z=this;if(Lu(z),!(di(z,x)||nr(z.display,x))){Zi(x),Pe&&(sd=+new Date);var ne=ta(z,x,!0),te=x.dataTransfer.files;if(!(!ne||z.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var ae=te.length,se=Array(ae),fe=0,be=function(){++fe==ae&&wa(z,function(){ne=pi(z.doc,ne);var bt={from:ne,to:ne,text:z.doc.splitLines(se.filter(function(Yt){return Yt!=null}).join(z.doc.lineSeparator())),origin:"paste"};bl(z.doc,bt),Ko(z.doc,Wo(pi(z.doc,ne),pi(z.doc,bs(bt))))})()},Ae=function(bt,Yt){if(z.options.allowDropFileTypes&&$e(z.options.allowDropFileTypes,bt.type)==-1){be();return}var hn=new FileReader;hn.onerror=function(){return be()},hn.onload=function(){var Cn=hn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Cn)){be();return}se[Yt]=Cn,be()},hn.readAsText(bt)},Ce=0;Ce<te.length;Ce++)Ae(te[Ce],Ce);else{if(z.state.draggingText&&z.doc.sel.contains(ne)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var He=x.dataTransfer.getData("Text");if(He){var qe;if(z.state.draggingText&&!z.state.draggingText.copy&&(qe=z.listSelections()),Yu(z.doc,Wo(ne,ne)),qe)for(var At=0;At<qe.length;++At)Cu(z.doc,"",qe[At].anchor,qe[At].head,"drag");z.replaceSelection(He,"around","paste"),z.display.input.focus()}}catch(bt){}}}}function eh(x,z){if(Pe&&(!x.state.draggingText||+new Date-sd<100)){Ka(z);return}if(!(di(x,z)||nr(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!Ve)){var ne=Tt("img",null,null,"position: fixed; left: 0; top: 0;");ne.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ge&&(ne.width=ne.height=1,x.display.wrapper.appendChild(ne),ne._top=ne.offsetTop),z.dataTransfer.setDragImage(ne,0,0),Ge&&ne.parentNode.removeChild(ne)}}function ld(x,z){var ne=ta(x,z);if(ne){var te=document.createDocumentFragment();xi(x,ne,te),x.display.dragCursor||(x.display.dragCursor=Tt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),Jt(x.display.dragCursor,te)}}function Lu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function Bu(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ne=[],te=0;te<z.length;te++){var ae=z[te].CodeMirror;ae&&ne.push(ae)}ne.length&&ne[0].operation(function(){for(var se=0;se<ne.length;se++)x(ne[se])})}}var An=!1;function ud(){An||(kc(),An=!0)}function kc(){var x;Bn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,Bu(Dc)},100))}),Bn(window,"blur",function(){return Bu(Ss)})}function Dc(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var Bs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},qu=0;qu<10;qu++)Bs[qu+48]=Bs[qu+96]=String(qu);for(var Lc=65;Lc<=90;Lc++)Bs[Lc]=String.fromCharCode(Lc);for(var Xu=1;Xu<=12;Xu++)Bs[Xu+111]=Bs[Xu+63235]="F"+Xu;var Vr={};Vr.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Vr.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Vr.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Vr.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Vr.default=Fe?Vr.macDefault:Vr.pcDefault;function th(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ne,te,ae,se,fe=0;fe<z.length-1;fe++){var be=z[fe];if(/^(cmd|meta|m)$/i.test(be))se=!0;else if(/^a(lt)?$/i.test(be))ne=!0;else if(/^(c|ctrl|control)$/i.test(be))te=!0;else if(/^s(hift)?$/i.test(be))ae=!0;else throw new Error("Unrecognized modifier name: "+be)}return ne&&(x="Alt-"+x),te&&(x="Ctrl-"+x),se&&(x="Cmd-"+x),ae&&(x="Shift-"+x),x}function cd(x){var z={};for(var ne in x)if(x.hasOwnProperty(ne)){var te=x[ne];if(/^(name|fallthrough|(de|at)tach)$/.test(ne))continue;if(te=="..."){delete x[ne];continue}for(var ae=vn(ne.split(" "),th),se=0;se<ae.length;se++){var fe=void 0,be=void 0;se==ae.length-1?(be=ae.join(" "),fe=te):(be=ae.slice(0,se+1).join(" "),fe="...");var Ae=z[be];if(!Ae)z[be]=fe;else if(Ae!=fe)throw new Error("Inconsistent bindings for "+be)}delete x[ne]}for(var Ce in z)x[Ce]=z[Ce];return x}function nl(x,z,ne,te){z=Qo(z);var ae=z.call?z.call(x,te):z[x];if(ae===!1)return"nothing";if(ae==="...")return"multi";if(ae!=null&&ne(ae))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return nl(x,z.fallthrough,ne,te);for(var se=0;se<z.fallthrough.length;se++){var fe=nl(x,z.fallthrough[se],ne,te);if(fe)return fe}}}function $u(x){var z=typeof x=="string"?x:Bs[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function El(x,z,ne){var te=x;return z.altKey&&te!="Alt"&&(x="Alt-"+x),(ut?z.metaKey:z.ctrlKey)&&te!="Ctrl"&&(x="Ctrl-"+x),(ut?z.ctrlKey:z.metaKey)&&te!="Mod"&&(x="Cmd-"+x),!ne&&z.shiftKey&&te!="Shift"&&(x="Shift-"+x),x}function ru(x,z){if(Ge&&x.keyCode==34&&x.char)return!1;var ne=Bs[x.keyCode];return ne==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ne=x.code),El(ne,x,z))}function Qo(x){return typeof x=="string"?Vr[x]:x}function ws(x,z){for(var ne=x.doc.sel.ranges,te=[],ae=0;ae<ne.length;ae++){for(var se=z(ne[ae]);te.length&&li(se.from,Rt(te).to)<=0;){var fe=te.pop();if(li(fe.from,se.from)<0){se.from=fe.from;break}}te.push(se)}xa(x,function(){for(var be=te.length-1;be>=0;be--)Cu(x.doc,"",te[be].from,te[be].to,"+delete");ys(x)})}function ko(x,z,ne){var te=Lt(x.text,z+ne,ne);return te<0||te>x.text.length?null:te}function _s(x,z,ne){var te=ko(x,z.ch,ne);return te==null?null:new an(z.line,te,ne<0?"after":"before")}function au(x,z,ne,te,ae){if(x){z.doc.direction=="rtl"&&(ae=-ae);var se=Ei(ne,z.doc.direction);if(se){var fe=ae<0?Rt(se):se[0],be=ae<0==(fe.level==1),Ae=be?"after":"before",Ce;if(fe.level>0||z.doc.direction=="rtl"){var He=bo(z,ne);Ce=ae<0?ne.text.length-1:0;var qe=qi(z,He,Ce).top;Ce=Pt(function(At){return qi(z,He,At).top==qe},ae<0==(fe.level==1)?fe.from:fe.to-1,Ce),Ae=="before"&&(Ce=ko(ne,Ce,1))}else Ce=ae<0?fe.to:fe.from;return new an(te,Ce,Ae)}}return new an(te,ae<0?ne.text.length:0,ae<0?"before":"after")}function js(x,z,ne,te){var ae=Ei(z,x.doc.direction);if(!ae)return _s(z,ne,te);ne.ch>=z.text.length?(ne.ch=z.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var se=Qt(ae,ne.ch,ne.sticky),fe=ae[se];if(x.doc.direction=="ltr"&&fe.level%2==0&&(te>0?fe.to>ne.ch:fe.from<ne.ch))return _s(z,ne,te);var be=function(Pn,Wn){return ko(z,Pn instanceof an?Pn.ch:Pn,Wn)},Ae,Ce=function(Pn){return x.options.lineWrapping?(Ae=Ae||bo(x,z),Oa(x,z,Ae,Pn)):{begin:0,end:z.text.length}},He=Ce(ne.sticky=="before"?be(ne,-1):ne.ch);if(x.doc.direction=="rtl"||fe.level==1){var qe=fe.level==1==te<0,At=be(ne,qe?1:-1);if(At!=null&&(qe?At<=fe.to&&At<=He.end:At>=fe.from&&At>=He.begin)){var bt=qe?"before":"after";return new an(ne.line,At,bt)}}var Yt=function(Pn,Wn,Nn){for(var Un=function(Zr,wo){return wo?new an(ne.line,be(Zr,1),"before"):new an(ne.line,Zr,"after")};Pn>=0&&Pn<ae.length;Pn+=Wn){var ci=ae[Pn],fi=Wn>0==(ci.level!=1),ar=fi?Nn.begin:be(Nn.end,-1);if(ci.from<=ar&&ar<ci.to||(ar=fi?ci.from:be(ci.to,-1),Nn.begin<=ar&&ar<Nn.end))return Un(ar,fi)}},hn=Yt(se+te,te,He);if(hn)return hn;var Cn=te>0?He.end:be(He.begin,-1);return Cn!=null&&!(te>0&&Cn==z.text.length)&&(hn=Yt(te>0?0:ae.length-1,te,Ce(Cn)),hn)?hn:null}var Nu={selectAll:ad,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),rt)},killLine:function(x){return ws(x,function(z){if(z.empty()){var ne=_n(x.doc,z.head.line).text.length;return z.head.ch==ne&&z.head.line<x.lastLine()?{from:z.head,to:an(z.head.line+1,0)}:{from:z.head,to:an(z.head.line,ne)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return ws(x,function(z){return{from:an(z.from().line,0),to:pi(x.doc,an(z.to().line+1,0))}})},delLineLeft:function(x){return ws(x,function(z){return{from:an(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return ws(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return{from:te,to:z.from()}})},delWrappedLineRight:function(x){return ws(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div");return{from:z.from(),to:te}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(an(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(an(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return dd(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return s0(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return hd(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div")},Ct)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:ne},"div")},Ct)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return te.ch<x.getLine(te.line).search(/\S/)?s0(x,z.head):te},Ct)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var z=[],ne=x.listSelections(),te=x.options.tabSize,ae=0;ae<ne.length;ae++){var se=ne[ae].from(),fe=ke(x.getLine(se.line),se.ch,te);z.push(Nt(te-fe%te))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return xa(x,function(){for(var z=x.listSelections(),ne=[],te=0;te<z.length;te++)if(z[te].empty()){var ae=z[te].head,se=_n(x.doc,ae.line).text;if(se){if(ae.ch==se.length&&(ae=new an(ae.line,ae.ch-1)),ae.ch>0)ae=new an(ae.line,ae.ch+1),x.replaceRange(se.charAt(ae.ch-1)+se.charAt(ae.ch-2),an(ae.line,ae.ch-2),ae,"+transpose");else if(ae.line>x.doc.first){var fe=_n(x.doc,ae.line-1).text;fe&&(ae=new an(ae.line,1),x.replaceRange(se.charAt(0)+x.doc.lineSeparator()+fe.charAt(fe.length-1),an(ae.line-1,fe.length-1),ae,"+transpose"))}}ne.push(new kr(ae,ae))}x.setSelections(ne)})},newlineAndIndent:function(x){return xa(x,function(){for(var z=x.listSelections(),ne=z.length-1;ne>=0;ne--)x.replaceRange(x.doc.lineSeparator(),z[ne].anchor,z[ne].head,"+input");z=x.listSelections();for(var te=0;te<z.length;te++)x.indentLine(z[te].from().line,null,!0);ys(x)})},openLine:function(x){return x.replaceSelection(`
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function dd(x,z){var ne=_n(x.doc,z),te=Kt(ne);return te!=ne&&(z=Fi(te)),au(!0,x,te,z,1)}function hd(x,z){var ne=_n(x.doc,z),te=wn(ne);return te!=ne&&(z=Fi(te)),au(!0,x,ne,z,-1)}function s0(x,z){var ne=dd(x,z.line),te=_n(x.doc,ne.line),ae=Ei(te,x.doc.direction);if(!ae||ae[0].level==0){var se=Math.max(ne.ch,te.text.search(/\S/)),fe=z.line==ne.line&&z.ch<=se&&z.ch;return an(ne.line,fe?0:se,ne.sticky)}return ne}function io(x,z,ne){if(typeof z=="string"&&(z=Nu[z],!z))return!1;x.display.input.ensurePolled();var te=x.display.shift,ae=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ne&&(x.display.shift=!1),ae=z(x)!=kt}finally{x.display.shift=te,x.state.suppressEdits=!1}return ae}function Rs(x,z,ne){for(var te=0;te<x.state.keyMaps.length;te++){var ae=nl(z,x.state.keyMaps[te],ne,x);if(ae)return ae}return x.options.extraKeys&&nl(z,x.options.extraKeys,ne,x)||nl(z,x.options.keyMap,ne,x)}var nh=new xe;function Iu(x,z,ne,te){var ae=x.state.keySeq;if(ae){if($u(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:nh.set(50,function(){x.state.keySeq==ae&&(x.state.keySeq=null,x.display.input.reset())}),Bc(x,ae+" "+z,ne,te))return!0}return Bc(x,z,ne,te)}function Bc(x,z,ne,te){var ae=Rs(x,z,te);return ae=="multi"&&(x.state.keySeq=z),ae=="handled"&&mn(x,"keyHandled",x,z,ne),(ae=="handled"||ae=="multi")&&(Zi(ne),Hl(x)),!!ae}function ur(x,z){var ne=ru(z,!0);return ne?z.shiftKey&&!x.state.keySeq?Iu(x,"Shift-"+ne,z,function(te){return io(x,te,!0)})||Iu(x,ne,z,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return io(x,te)}):Iu(x,ne,z,function(te){return io(x,te)}):!1}function Tu(x,z,ne){return Iu(x,"'"+ne+"'",z,function(te){return io(x,te,!0)})}var il=null;function ec(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=pt(),!di(z,x))){Pe&&Te<11&&x.keyCode==27&&(x.returnValue=!1);var ne=x.keyCode;z.display.shift=ne==16||x.shiftKey;var te=ur(z,x);Ge&&(il=te?ne:null,!te&&ne==88&&!Ms&&(Fe?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),re&&!Fe&&!te&&ne==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&Ut(z)}}function Ut(x){var z=x.display.lineDiv;jt(z,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&(yt(z,"CodeMirror-crosshair"),Wi(document,"keyup",ne),Wi(document,"mouseover",ne))}Bn(document,"keyup",ne),Bn(document,"mouseover",ne)}function l0(x){x.keyCode==16&&(this.doc.sel.shift=!1),di(this,x)}function u0(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(nr(z.display,x)||di(z,x)||x.ctrlKey&&!x.altKey||Fe&&x.metaKey)){var ne=x.keyCode,te=x.charCode;if(Ge&&ne==il){il=null,Zi(x);return}if(!(Ge&&(!x.which||x.which<10)&&ur(z,x))){var ae=String.fromCharCode(te==null?ne:te);ae!="\b"&&(Tu(z,x,ae)||z.display.input.onKeyPress(x))}}}var fd=400,pd=function(x,z,ne){this.time=x,this.pos=z,this.button=ne};pd.prototype.compare=function(x,z,ne){return this.time+fd>x&&li(z,this.pos)==0&&ne==this.button};var rl,tc;function ih(x,z){var ne=+new Date;return tc&&tc.compare(ne,x,z)?(rl=tc=null,"triple"):rl&&rl.compare(ne,x,z)?(tc=new pd(ne,x,z),rl=null,"double"):(rl=new pd(ne,x,z),tc=null,"single")}function Do(x){var z=this,ne=z.display;if(!(di(z,x)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=x.shiftKey,nr(ne,x)){Qe||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!_o(z,x)){var te=ta(z,x),ae=Ki(x),se=te?ih(te,ae):"single";window.focus(),ae==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&Ml(z,ae,te,se,x))&&(ae==1?te?Ic(z,te,se,x):cr(x)==ne.scroller&&Zi(x):ae==2?(te&&tu(z.doc,te),setTimeout(function(){return ne.input.focus()},20)):ae==3&&(vt?z.display.input.onContextMenu(x):Wl(z)))}}}function Ml(x,z,ne,te,ae){var se="Click";return te=="double"?se="Double"+se:te=="triple"&&(se="Triple"+se),se=(z==1?"Left":z==2?"Middle":"Right")+se,Iu(x,El(se,ae),ae,function(fe){if(typeof fe=="string"&&(fe=Nu[fe]),!fe)return!1;var be=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),be=fe(x,ne)!=kt}finally{x.state.suppressEdits=!1}return be})}function Nc(x,z,ne){var te=x.getOption("configureMouse"),ae=te?te(x,z,ne):{};if(ae.unit==null){var se=ze?ne.shiftKey&&ne.metaKey:ne.altKey;ae.unit=se?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(ae.extend==null||x.doc.extend)&&(ae.extend=x.doc.extend||ne.shiftKey),ae.addNew==null&&(ae.addNew=Fe?ne.metaKey:ne.ctrlKey),ae.moveOnDrag==null&&(ae.moveOnDrag=!(Fe?ne.altKey:ne.ctrlKey)),ae}function Ic(x,z,ne,te){Pe?setTimeout(Tn(Ca,x),0):x.curOp.focus=pt();var ae=Nc(x,ne,te),se=x.doc.sel,fe;x.options.dragDrop&&Ui&&!x.isReadOnly()&&ne=="single"&&(fe=se.contains(z))>-1&&(li((fe=se.ranges[fe]).from(),z)<0||z.xRel>0)&&(li(fe.to(),z)>0||z.xRel<0)?rh(x,te,z,ae):md(x,te,z,ae)}function rh(x,z,ne,te){var ae=x.display,se=!1,fe=wa(x,function(Ce){Qe&&(ae.scroller.draggable=!1),x.state.draggingText=!1,Wi(ae.wrapper.ownerDocument,"mouseup",fe),Wi(ae.wrapper.ownerDocument,"mousemove",be),Wi(ae.scroller,"dragstart",Ae),Wi(ae.scroller,"drop",fe),se||(Zi(Ce),te.addNew||tu(x.doc,ne,null,null,te.extend),Qe&&!Ve||Pe&&Te==9?setTimeout(function(){ae.wrapper.ownerDocument.body.focus({preventScroll:!0}),ae.input.focus()},20):ae.input.focus())}),be=function(Ce){se=se||Math.abs(z.clientX-Ce.clientX)+Math.abs(z.clientY-Ce.clientY)>=10},Ae=function(){return se=!0};Qe&&(ae.scroller.draggable=!0),x.state.draggingText=fe,fe.copy=!te.moveOnDrag,ae.scroller.dragDrop&&ae.scroller.dragDrop(),Bn(ae.wrapper.ownerDocument,"mouseup",fe),Bn(ae.wrapper.ownerDocument,"mousemove",be),Bn(ae.scroller,"dragstart",Ae),Bn(ae.scroller,"drop",fe),Wl(x),setTimeout(function(){return ae.input.focus()},20)}function c0(x,z,ne){if(ne=="char")return new kr(z,z);if(ne=="word")return x.findWordAt(z);if(ne=="line")return new kr(an(z.line,0),pi(x.doc,an(z.line+1,0)));var te=ne(x,z);return new kr(te.from,te.to)}function md(x,z,ne,te){var ae=x.display,se=x.doc;Zi(z);var fe,be,Ae=se.sel,Ce=Ae.ranges;if(te.addNew&&!te.extend?(be=se.sel.contains(ne),be>-1?fe=Ce[be]:fe=new kr(ne,ne)):(fe=se.sel.primary(),be=se.sel.primIndex),te.unit=="rectangle")te.addNew||(fe=new kr(ne,ne)),ne=ta(x,z,!0,!0),be=-1;else{var He=c0(x,ne,te.unit);te.extend?fe=Ec(fe,He.anchor,He.head,te.extend):fe=He}te.addNew?be==-1?(be=Ce.length,no(se,us(x,Ce.concat([fe]),be),{scroll:!1,origin:"*mouse"})):Ce.length>1&&Ce[be].empty()&&te.unit=="char"&&!te.extend?(no(se,us(x,Ce.slice(0,be).concat(Ce.slice(be+1)),0),{scroll:!1,origin:"*mouse"}),Ae=se.sel):ps(se,be,fe,Ue):(be=0,no(se,new Da([fe],0),Ue),Ae=se.sel);var qe=ne;function At(Nn){if(li(qe,Nn)!=0)if(qe=Nn,te.unit=="rectangle"){for(var Un=[],ci=x.options.tabSize,fi=ke(_n(se,ne.line).text,ne.ch,ci),ar=ke(_n(se,Nn.line).text,Nn.ch,ci),Zr=Math.min(fi,ar),wo=Math.max(fi,ar),La=Math.min(ne.line,Nn.line),Xo=Math.min(x.lastLine(),Math.max(ne.line,Nn.line));La<=Xo;La++){var $o=_n(se,La).text,ro=fn($o,Zr,ci);Zr==wo?Un.push(new kr(an(La,ro),an(La,ro))):$o.length>ro&&Un.push(new kr(an(La,ro),an(La,fn($o,wo,ci))))}Un.length||Un.push(new kr(ne,ne)),no(se,us(x,Ae.ranges.slice(0,be).concat(Un),be),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Nn)}else{var es=fe,Hi=c0(x,Nn,te.unit),ja=es.anchor,Ba;li(Hi.anchor,ja)>0?(Ba=Hi.head,ja=Lr(es.from(),Hi.anchor)):(Ba=Hi.anchor,ja=go(es.to(),Hi.head));var Ra=Ae.ranges.slice(0);Ra[be]=d0(x,new kr(pi(se,ja),Ba)),no(se,us(x,Ra,be),Ue)}}var bt=ae.wrapper.getBoundingClientRect(),Yt=0;function hn(Nn){var Un=++Yt,ci=ta(x,Nn,!0,te.unit=="rectangle");if(ci)if(li(ci,qe)!=0){x.curOp.focus=pt(),At(ci);var fi=na(ae,se);(ci.line>=fi.to||ci.line<fi.from)&&setTimeout(wa(x,function(){Yt==Un&&hn(Nn)}),150)}else{var ar=Nn.clientY<bt.top?-20:Nn.clientY>bt.bottom?20:0;ar&&setTimeout(wa(x,function(){Yt==Un&&(ae.scroller.scrollTop+=ar,hn(Nn))}),50)}}function Cn(Nn){x.state.selectingText=!1,Yt=1/0,Nn&&(Zi(Nn),ae.input.focus()),Wi(ae.wrapper.ownerDocument,"mousemove",Pn),Wi(ae.wrapper.ownerDocument,"mouseup",Wn),se.history.lastSelOrigin=null}var Pn=wa(x,function(Nn){Nn.buttons===0||!Ki(Nn)?Cn(Nn):hn(Nn)}),Wn=wa(x,Cn);x.state.selectingText=Wn,Bn(ae.wrapper.ownerDocument,"mousemove",Pn),Bn(ae.wrapper.ownerDocument,"mouseup",Wn)}function d0(x,z){var ne=z.anchor,te=z.head,ae=_n(x.doc,ne.line);if(li(ne,te)==0&&ne.sticky==te.sticky)return z;var se=Ei(ae);if(!se)return z;var fe=Qt(se,ne.ch,ne.sticky),be=se[fe];if(be.from!=ne.ch&&be.to!=ne.ch)return z;var Ae=fe+(be.from==ne.ch==(be.level!=1)?0:1);if(Ae==0||Ae==se.length)return z;var Ce;if(te.line!=ne.line)Ce=(te.line-ne.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var He=Qt(se,te.ch,te.sticky),qe=He-fe||(te.ch-ne.ch)*(be.level==1?-1:1);He==Ae-1||He==Ae?Ce=qe<0:Ce=qe>0}var At=se[Ae+(Ce?-1:0)],bt=Ce==(At.level==1),Yt=bt?At.from:At.to,hn=bt?"after":"before";return ne.ch==Yt&&ne.sticky==hn?z:new kr(new an(ne.line,Yt,hn),te)}function nc(x,z,ne,te){var ae,se;if(z.touches)ae=z.touches[0].clientX,se=z.touches[0].clientY;else try{ae=z.clientX,se=z.clientY}catch(At){return!1}if(ae>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&Zi(z);var fe=x.display,be=fe.lineDiv.getBoundingClientRect();if(se>be.bottom||!pr(x,ne))return Wa(z);se-=be.top-fe.viewOffset;for(var Ae=0;Ae<x.display.gutterSpecs.length;++Ae){var Ce=fe.gutters.childNodes[Ae];if(Ce&&Ce.getBoundingClientRect().right>=ae){var He=Na(x.doc,se),qe=x.display.gutterSpecs[Ae];return Mi(x,ne,x,He,qe.className,z),Wa(z)}}}function _o(x,z){return nc(x,z,"gutterClick",!0)}function Sl(x,z){nr(x.display,z)||h0(x,z)||di(x,z,"contextmenu")||vt||x.display.input.onContextMenu(z)}function h0(x,z){return pr(x,"gutterContextMenu")?nc(x,z,"gutterContextMenu",!1):!1}function gd(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Qi(x)}var Cl={toString:function(){return"CodeMirror.Init"}},f0={},Tc={};function ah(x){var z=x.optionHandlers;function ne(te,ae,se,fe){x.defaults[te]=ae,se&&(z[te]=fe?function(be,Ae,Ce){Ce!=Cl&&se(be,Ae,Ce)}:se)}x.defineOption=ne,x.Init=Cl,ne("value","",function(te,ae){return te.setValue(ae)},!0),ne("mode",null,function(te,ae){te.doc.modeOption=ae,qo(te)},!0),ne("indentUnit",2,qo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Zs(te),Qi(te),bi(te)},!0),ne("lineSeparator",null,function(te,ae){if(te.doc.lineSep=ae,!!ae){var se=[],fe=te.doc.first;te.doc.iter(function(Ae){for(var Ce=0;;){var He=Ae.text.indexOf(ae,Ce);if(He==-1)break;Ce=He+ae.length,se.push(an(fe,He))}fe++});for(var be=se.length-1;be>=0;be--)Cu(te.doc,ae,se[be],an(se[be].line,se[be].ch+ae.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ae,se){te.state.specialChars=new RegExp(ae.source+(ae.test(" ")?"":"| "),"g"),se!=Cl&&te.refresh()}),ne("specialCharPlaceholder",Ri,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",je?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ae){return te.getInputField().spellcheck=ae},!0),ne("autocorrect",!1,function(te,ae){return te.getInputField().autocorrect=ae},!0),ne("autocapitalize",!1,function(te,ae){return te.getInputField().autocapitalize=ae},!0),ne("rtlMoveVisually",!ft),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){gd(te),Ys(te)},!0),ne("keyMap","default",function(te,ae,se){var fe=Qo(ae),be=se!=Cl&&Qo(se);be&&be.detach&&be.detach(te,fe),fe.attach&&fe.attach(te,be||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,p0,!0),ne("gutters",[],function(te,ae){te.display.gutterSpecs=xu(ae,te.options.lineNumbers),Ys(te)},!0),ne("fixedGutter",!0,function(te,ae){te.display.gutters.style.left=ae?vr(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return Co(te)},!0),ne("scrollbarStyle","native",function(te){Uu(te),Co(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ae){te.display.gutterSpecs=xu(te.options.gutters,ae),Ys(te)},!0),ne("firstLineNumber",1,Ys,!0),ne("lineNumberFormatter",function(te){return te},Ys,!0),ne("showCursorWhenSelecting",!1,ul,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ae){ae=="nocursor"&&(Ss(te),te.display.input.blur()),te.display.input.readOnlyChanged(ae)}),ne("screenReaderLabel",null,function(te,ae){ae=ae===""?null:ae,te.display.input.screenReaderLabelChanged(ae)}),ne("disableInput",!1,function(te,ae){ae||te.display.input.reset()},!0),ne("dragDrop",!0,oh),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,ul,!0),ne("singleCursorHeightPerLine",!0,ul,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Zs,!0),ne("addModeClass",!1,Zs,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ae){return te.doc.history.undoDepth=ae}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,Zs,!0),ne("moveInputWithCursor",!0,function(te,ae){ae||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ae){return te.display.input.getField().tabIndex=ae||""}),ne("autofocus",null),ne("direction","ltr",function(te,ae){return te.doc.setDirection(ae)},!0),ne("phrases",null)}function oh(x,z,ne){var te=ne&&ne!=Cl;if(!z!=!te){var ae=x.display.dragFunctions,se=z?Bn:Wi;se(x.display.scroller,"dragstart",ae.start),se(x.display.scroller,"dragenter",ae.enter),se(x.display.scroller,"dragover",ae.over),se(x.display.scroller,"dragleave",ae.leave),se(x.display.scroller,"drop",ae.drop)}}function p0(x){x.options.lineWrapping?(jt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(yt(x.display.wrapper,"CodeMirror-wrap"),on(x)),Er(x),bi(x),Qi(x),setTimeout(function(){return Co(x)},100)}function ji(x,z){var ne=this;if(!(this instanceof ji))return new ji(x,z);this.options=z=z?$n(z):{},$n(f0,z,!1);var te=z.value;typeof te=="string"?te=new Va(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var ae=new ji.inputStyles[z.inputStyle](this),se=this.display=new Zl(x,te,ae,z);se.wrapper.CodeMirror=this,gd(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Uu(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new xe,keySeq:null,specialChars:null},z.autofocus&&!je&&se.input.focus(),Pe&&Te<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),sh(this),ud(),fs(this),this.curOp.forceUpdate=!0,Xl(this,te),z.autofocus&&!je||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&dl(ne)},20):Ss(this);for(var fe in Tc)Tc.hasOwnProperty(fe)&&Tc[fe](this,z[fe],Cl);Ds(this),z.finishInit&&z.finishInit(this);for(var be=0;be<vd.length;++be)vd[be](this);ss(this),Qe&&z.lineWrapping&&getComputedStyle(se.lineDiv).textRendering=="optimizelegibility"&&(se.lineDiv.style.textRendering="auto")}ji.defaults=f0,ji.optionHandlers=Tc;function sh(x){var z=x.display;Bn(z.scroller,"mousedown",wa(x,Do)),Pe&&Te<11?Bn(z.scroller,"dblclick",wa(x,function(Ae){if(!di(x,Ae)){var Ce=ta(x,Ae);if(!(!Ce||_o(x,Ae)||nr(x.display,Ae))){Zi(Ae);var He=x.findWordAt(Ce);tu(x.doc,He.anchor,He.head)}}})):Bn(z.scroller,"dblclick",function(Ae){return di(x,Ae)||Zi(Ae)}),Bn(z.scroller,"contextmenu",function(Ae){return Sl(x,Ae)}),Bn(z.input.getField(),"contextmenu",function(Ae){z.scroller.contains(Ae.target)||Sl(x,Ae)});var ne,te={end:0};function ae(){z.activeTouch&&(ne=setTimeout(function(){return z.activeTouch=null},1e3),te=z.activeTouch,te.end=+new Date)}function se(Ae){if(Ae.touches.length!=1)return!1;var Ce=Ae.touches[0];return Ce.radiusX<=1&&Ce.radiusY<=1}function fe(Ae,Ce){if(Ce.left==null)return!0;var He=Ce.left-Ae.left,qe=Ce.top-Ae.top;return He*He+qe*qe>20*20}Bn(z.scroller,"touchstart",function(Ae){if(!di(x,Ae)&&!se(Ae)&&!_o(x,Ae)){z.input.ensurePolled(),clearTimeout(ne);var Ce=+new Date;z.activeTouch={start:Ce,moved:!1,prev:Ce-te.end<=300?te:null},Ae.touches.length==1&&(z.activeTouch.left=Ae.touches[0].pageX,z.activeTouch.top=Ae.touches[0].pageY)}}),Bn(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),Bn(z.scroller,"touchend",function(Ae){var Ce=z.activeTouch;if(Ce&&!nr(z,Ae)&&Ce.left!=null&&!Ce.moved&&new Date-Ce.start<300){var He=x.coordsChar(z.activeTouch,"page"),qe;!Ce.prev||fe(Ce,Ce.prev)?qe=new kr(He,He):!Ce.prev.prev||fe(Ce,Ce.prev.prev)?qe=x.findWordAt(He):qe=new kr(an(He.line,0),pi(x.doc,an(He.line+1,0))),x.setSelection(qe.anchor,qe.head),x.focus(),Zi(Ae)}ae()}),Bn(z.scroller,"touchcancel",ae),Bn(z.scroller,"scroll",function(){z.scroller.clientHeight&&(os(x,z.scroller.scrollTop),Pi(x,z.scroller.scrollLeft,!0),Mi(x,"scroll",x))}),Bn(z.scroller,"mousewheel",function(Ae){return _a(x,Ae)}),Bn(z.scroller,"DOMMouseScroll",function(Ae){return _a(x,Ae)}),Bn(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(Ae){di(x,Ae)||Ka(Ae)},over:function(Ae){di(x,Ae)||(ld(x,Ae),Ka(Ae))},start:function(Ae){return eh(x,Ae)},drop:wa(x,$0),leave:function(Ae){di(x,Ae)||Lu(x)}};var be=z.input.getField();Bn(be,"keyup",function(Ae){return l0.call(x,Ae)}),Bn(be,"keydown",wa(x,ec)),Bn(be,"keypress",wa(x,u0)),Bn(be,"focus",function(Ae){return dl(x,Ae)}),Bn(be,"blur",function(Ae){return Ss(x,Ae)})}var vd=[];ji.defineInitHook=function(x){return vd.push(x)};function Ns(x,z,ne,te){var ae=x.doc,se;ne==null&&(ne="add"),ne=="smart"&&(ae.mode.indent?se=Ea(x,z).state:ne="prev");var fe=x.options.tabSize,be=_n(ae,z),Ae=ke(be.text,null,fe);be.stateAfter&&(be.stateAfter=null);var Ce=be.text.match(/^\s*/)[0],He;if(!te&&!/\S/.test(be.text))He=0,ne="not";else if(ne=="smart"&&(He=ae.mode.indent(se,be.text.slice(Ce.length),be.text),He==kt||He>150)){if(!te)return;ne="prev"}ne=="prev"?z>ae.first?He=ke(_n(ae,z-1).text,null,fe):He=0:ne=="add"?He=Ae+x.options.indentUnit:ne=="subtract"?He=Ae-x.options.indentUnit:typeof ne=="number"&&(He=Ae+ne),He=Math.max(0,He);var qe="",At=0;if(x.options.indentWithTabs)for(var bt=Math.floor(He/fe);bt;--bt)At+=fe,qe+=" ";if(At<He&&(qe+=Nt(He-At)),qe!=Ce)return Cu(ae,qe,an(z,0),an(z,Ce.length),"+input"),be.stateAfter=null,!0;for(var Yt=0;Yt<ae.sel.ranges.length;Yt++){var hn=ae.sel.ranges[Yt];if(hn.head.line==z&&hn.head.ch<Ce.length){var Cn=an(z,Ce.length);ps(ae,Yt,new kr(Cn,Cn));break}}}var Is=null;function kl(x){Is=x}function yd(x,z,ne,te,ae){var se=x.doc;x.display.shift=!1,te||(te=se.sel);var fe=+new Date-200,be=ae=="paste"||x.state.pasteIncoming>fe,Ae=si(z),Ce=null;if(be&&te.ranges.length>1)if(Is&&Is.text.join(`
`)==z){if(te.ranges.length%Is.text.length==0){Ce=[];for(var He=0;He<Is.text.length;He++)Ce.push(se.splitLines(Is.text[He]))}}else Ae.length==te.ranges.length&&x.options.pasteLinesPerSelection&&(Ce=vn(Ae,function(Pn){return[Pn]}));for(var qe=x.curOp.updateInput,At=te.ranges.length-1;At>=0;At--){var bt=te.ranges[At],Yt=bt.from(),hn=bt.to();bt.empty()&&(ne&&ne>0?Yt=an(Yt.line,Yt.ch-ne):x.state.overwrite&&!be?hn=an(hn.line,Math.min(_n(se,hn.line).text.length,hn.ch+Rt(Ae).length)):be&&Is&&Is.lineWise&&Is.text.join(`
`)==Ae.join(`
`)&&(Yt=hn=an(Yt.line,0)));var Cn={from:Yt,to:hn,text:Ce?Ce[At%Ce.length]:Ae,origin:ae||(be?"paste":x.state.cutIncoming>fe?"cut":"+input")};bl(x.doc,Cn),mn(x,"inputRead",x,Cn)}z&&!be&&xd(x,z),ys(x),x.curOp.updateInput<2&&(x.curOp.updateInput=qe),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function bd(x,z){var ne=x.clipboardData&&x.clipboardData.getData("Text");if(ne)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&xa(z,function(){return yd(z,ne,0,null,"paste")}),!0}function xd(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ne=x.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ae=ne.ranges[te];if(!(ae.head.ch>100||te&&ne.ranges[te-1].head.line==ae.head.line)){var se=x.getModeAt(ae.head),fe=!1;if(se.electricChars){for(var be=0;be<se.electricChars.length;be++)if(z.indexOf(se.electricChars.charAt(be))>-1){fe=Ns(x,ae.head.line,"smart");break}}else se.electricInput&&se.electricInput.test(_n(x.doc,ae.head.line).text.slice(0,ae.head.ch))&&(fe=Ns(x,ae.head.line,"smart"));fe&&mn(x,"electricInput",x,ae.head.line)}}}function Fu(x){for(var z=[],ne=[],te=0;te<x.doc.sel.ranges.length;te++){var ae=x.doc.sel.ranges[te].head.line,se={anchor:an(ae,0),head:an(ae+1,0)};ne.push(se),z.push(x.getRange(se.anchor,se.head))}return{text:z,ranges:ne}}function m0(x,z,ne,te){x.setAttribute("autocorrect",ne?"":"off"),x.setAttribute("autocapitalize",te?"":"off"),x.setAttribute("spellcheck",!!z)}function wd(){var x=Tt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=Tt("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Qe?x.style.width="1000px":x.setAttribute("wrap","off"),et&&(x.style.border="1px solid black"),m0(x),z}function Ad(x){var z=x.optionHandlers,ne=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,ae){var se=this.options,fe=se[te];se[te]==ae&&te!="mode"||(se[te]=ae,z.hasOwnProperty(te)&&wa(this,z[te])(this,ae,fe),Mi(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,ae){this.state.keyMaps[ae?"push":"unshift"](Qo(te))},removeKeyMap:function(te){for(var ae=this.state.keyMaps,se=0;se<ae.length;++se)if(ae[se]==te||ae[se].name==te)return ae.splice(se,1),!0},addOverlay:pa(function(te,ae){var se=te.token?te:x.getMode(this.options,te);if(se.startState)throw new Error("Overlays may not be stateful.");En(this.state.overlays,{mode:se,modeSpec:te,opaque:ae&&ae.opaque,priority:ae&&ae.priority||0},function(fe){return fe.priority}),this.state.modeGen++,bi(this)}),removeOverlay:pa(function(te){for(var ae=this.state.overlays,se=0;se<ae.length;++se){var fe=ae[se].modeSpec;if(fe==te||typeof te=="string"&&fe.name==te){ae.splice(se,1),this.state.modeGen++,bi(this);return}}}),indentLine:pa(function(te,ae,se){typeof ae!="string"&&typeof ae!="number"&&(ae==null?ae=this.options.smartIndent?"smart":"prev":ae=ae?"add":"subtract"),Xr(this.doc,te)&&Ns(this,te,ae,se)}),indentSelection:pa(function(te){for(var ae=this.doc.sel.ranges,se=-1,fe=0;fe<ae.length;fe++){var be=ae[fe];if(be.empty())be.head.line>se&&(Ns(this,be.head.line,te,!0),se=be.head.line,fe==this.doc.sel.primIndex&&ys(this));else{var Ae=be.from(),Ce=be.to(),He=Math.max(se,Ae.line);se=Math.min(this.lastLine(),Ce.line-(Ce.ch?0:1))+1;for(var qe=He;qe<se;++qe)Ns(this,qe,te);var At=this.doc.sel.ranges;Ae.ch==0&&ae.length==At.length&&At[fe].from().ch>0&&ps(this.doc,fe,new kr(Ae,At[fe].to()),rt)}}}),getTokenAt:function(te,ae){return $a(this,te,ae)},getLineTokens:function(te,ae){return $a(this,an(te),ae,!0)},getTokenTypeAt:function(te){te=pi(this.doc,te);var ae=la(this,_n(this.doc,te.line)),se=0,fe=(ae.length-1)/2,be=te.ch,Ae;if(be==0)Ae=ae[2];else for(;;){var Ce=se+fe>>1;if((Ce?ae[Ce*2-1]:0)>=be)fe=Ce;else if(ae[Ce*2+1]<be)se=Ce+1;else{Ae=ae[Ce*2+2];break}}var He=Ae?Ae.indexOf("overlay "):-1;return He<0?Ae:He==0?null:Ae.slice(0,He-1)},getModeAt:function(te){var ae=this.doc.mode;return ae.innerMode?x.innerMode(ae,this.getTokenAt(te).state).mode:ae},getHelper:function(te,ae){return this.getHelpers(te,ae)[0]},getHelpers:function(te,ae){var se=[];if(!ne.hasOwnProperty(ae))return se;var fe=ne[ae],be=this.getModeAt(te);if(typeof be[ae]=="string")fe[be[ae]]&&se.push(fe[be[ae]]);else if(be[ae])for(var Ae=0;Ae<be[ae].length;Ae++){var Ce=fe[be[ae][Ae]];Ce&&se.push(Ce)}else be.helperType&&fe[be.helperType]?se.push(fe[be.helperType]):fe[be.name]&&se.push(fe[be.name]);for(var He=0;He<fe._global.length;He++){var qe=fe._global[He];qe.pred(be,this)&&$e(se,qe.val)==-1&&se.push(qe.val)}return se},getStateAfter:function(te,ae){var se=this.doc;return te=Eo(se,te==null?se.first+se.size-1:te),Ea(this,te+1,ae).state},cursorCoords:function(te,ae){var se,fe=this.doc.sel.primary();return te==null?se=fe.head:typeof te=="object"?se=pi(this.doc,te):se=te?fe.from():fe.to(),Li(this,se,ae||"page")},charCoords:function(te,ae){return uo(this,pi(this.doc,te),ae||"page")},coordsChar:function(te,ae){return te=zr(this,te,ae||"page"),ba(this,te.left,te.top)},lineAtHeight:function(te,ae){return te=zr(this,{top:te,left:0},ae||"page").top,Na(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,ae,se){var fe=!1,be;if(typeof te=="number"){var Ae=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>Ae&&(te=Ae,fe=!0),be=_n(this.doc,te)}else be=te;return Qn(this,be,{top:0,left:0},ae||"page",se||fe).top+(fe?this.doc.height-Xt(be):0)},defaultTextHeight:function(){return xo(this.display)},defaultCharWidth:function(){return gi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ae,se,fe,be){var Ae=this.display;te=Li(this,pi(this.doc,te));var Ce=te.bottom,He=te.left;if(ae.style.position="absolute",ae.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ae),Ae.sizer.appendChild(ae),fe=="over")Ce=te.top;else if(fe=="above"||fe=="near"){var qe=Math.max(Ae.wrapper.clientHeight,this.doc.height),At=Math.max(Ae.sizer.clientWidth,Ae.lineSpace.clientWidth);(fe=="above"||te.bottom+ae.offsetHeight>qe)&&te.top>ae.offsetHeight?Ce=te.top-ae.offsetHeight:te.bottom+ae.offsetHeight<=qe&&(Ce=te.bottom),He+ae.offsetWidth>At&&(He=At-ae.offsetWidth)}ae.style.top=Ce+"px",ae.style.left=ae.style.right="",be=="right"?(He=Ae.sizer.clientWidth-ae.offsetWidth,ae.style.right="0px"):(be=="left"?He=0:be=="middle"&&(He=(Ae.sizer.clientWidth-ae.offsetWidth)/2),ae.style.left=He+"px"),se&&Vs(this,{left:He,top:Ce,right:He+ae.offsetWidth,bottom:Ce+ae.offsetHeight})},triggerOnKeyDown:pa(ec),triggerOnKeyPress:pa(u0),triggerOnKeyUp:l0,triggerOnMouseDown:pa(Do),execCommand:function(te){if(Nu.hasOwnProperty(te))return Nu[te].call(null,this)},triggerElectric:pa(function(te){xd(this,te)}),findPosH:function(te,ae,se,fe){var be=1;ae<0&&(be=-1,ae=-ae);for(var Ae=pi(this.doc,te),Ce=0;Ce<ae&&(Ae=Fc(this.doc,Ae,be,se,fe),!Ae.hitSide);++Ce);return Ae},moveH:pa(function(te,ae){var se=this;this.extendSelectionsBy(function(fe){return se.display.shift||se.doc.extend||fe.empty()?Fc(se.doc,fe.head,te,ae,se.options.rtlMoveVisually):te<0?fe.from():fe.to()},Ct)}),deleteH:pa(function(te,ae){var se=this.doc.sel,fe=this.doc;se.somethingSelected()?fe.replaceSelection("",null,"+delete"):ws(this,function(be){var Ae=Fc(fe,be.head,te,ae,!1);return te<0?{from:Ae,to:be.head}:{from:be.head,to:Ae}})}),findPosV:function(te,ae,se,fe){var be=1,Ae=fe;ae<0&&(be=-1,ae=-ae);for(var Ce=pi(this.doc,te),He=0;He<ae;++He){var qe=Li(this,Ce,"div");if(Ae==null?Ae=qe.left:qe.left=Ae,Ce=g0(this,qe,be,se),Ce.hitSide)break}return Ce},moveV:pa(function(te,ae){var se=this,fe=this.doc,be=[],Ae=!this.display.shift&&!fe.extend&&fe.sel.somethingSelected();if(fe.extendSelectionsBy(function(He){if(Ae)return te<0?He.from():He.to();var qe=Li(se,He.head,"div");He.goalColumn!=null&&(qe.left=He.goalColumn),be.push(qe.left);var At=g0(se,qe,te,ae);return ae=="page"&&He==fe.sel.primary()&&Kl(se,uo(se,At,"div").top-qe.top),At},Ct),be.length)for(var Ce=0;Ce<fe.sel.ranges.length;Ce++)fe.sel.ranges[Ce].goalColumn=be[Ce]}),findWordAt:function(te){var ae=this.doc,se=_n(ae,te.line).text,fe=te.ch,be=te.ch;if(se){var Ae=this.getHelper(te,"wordChars");(te.sticky=="before"||be==se.length)&&fe?--fe:++be;for(var Ce=se.charAt(fe),He=me(Ce,Ae)?function(qe){return me(qe,Ae)}:/\s/.test(Ce)?function(qe){return/\s/.test(qe)}:function(qe){return!/\s/.test(qe)&&!me(qe)};fe>0&&He(se.charAt(fe-1));)--fe;for(;be<se.length&&He(se.charAt(be));)++be}return new kr(an(te.line,fe),an(te.line,be))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?jt(this.display.cursorDiv,"CodeMirror-overwrite"):yt(this.display.cursorDiv,"CodeMirror-overwrite"),Mi(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==pt()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:pa(function(te,ae){Qa(this,te,ae)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-Fr(this)-this.display.barHeight,width:te.scrollWidth-Fr(this)-this.display.barWidth,clientHeight:va(this),clientWidth:Ar(this)}},scrollIntoView:pa(function(te,ae){te==null?(te={from:this.doc.sel.primary().head,to:null},ae==null&&(ae=this.options.cursorScrollMargin)):typeof te=="number"?te={from:an(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=ae||0,te.from.line!=null?hl(this,te):fl(this,te.from,te.to,te.margin)}),setSize:pa(function(te,ae){var se=this,fe=function(Ae){return typeof Ae=="number"||/^\d+$/.test(String(Ae))?Ae+"px":Ae};te!=null&&(this.display.wrapper.style.width=fe(te)),ae!=null&&(this.display.wrapper.style.height=fe(ae)),this.options.lineWrapping&&Di(this);var be=this.display.viewFrom;this.doc.iter(be,this.display.viewTo,function(Ae){if(Ae.widgets){for(var Ce=0;Ce<Ae.widgets.length;Ce++)if(Ae.widgets[Ce].noHScroll){Or(se,be,"widget");break}}++be}),this.curOp.forceUpdate=!0,Mi(this,"refresh",this)}),operation:function(te){return xa(this,te)},startOperation:function(){return fs(this)},endOperation:function(){return ss(this)},refresh:pa(function(){var te=this.display.cachedTextHeight;bi(this),this.curOp.forceUpdate=!0,Qi(this),Qa(this,this.doc.scrollLeft,this.doc.scrollTop),Yl(this.display),(te==null||Math.abs(te-xo(this.display))>.5||this.options.lineWrapping)&&Er(this),Mi(this,"refresh",this)}),swapDoc:pa(function(te){var ae=this.doc;return ae.cm=null,this.state.selectingText&&this.state.selectingText(),Xl(this,te),Qi(this),this.display.input.reset(),Qa(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,mn(this,"swapDoc",this,ae),ae}),phrase:function(te){var ae=this.options.phrases;return ae&&Object.prototype.hasOwnProperty.call(ae,te)?ae[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},or(x),x.registerHelper=function(te,ae,se){ne.hasOwnProperty(te)||(ne[te]=x[te]={_global:[]}),ne[te][ae]=se},x.registerGlobalHelper=function(te,ae,se,fe){x.registerHelper(te,ae,fe),ne[te]._global.push({pred:se,val:fe})}}function Fc(x,z,ne,te,ae){var se=z,fe=ne,be=_n(x,z.line),Ae=ae&&x.direction=="rtl"?-ne:ne;function Ce(){var Wn=z.line+Ae;return Wn<x.first||Wn>=x.first+x.size?!1:(z=new an(Wn,z.ch,z.sticky),be=_n(x,Wn))}function He(Wn){var Nn;if(te=="codepoint"){var Un=be.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(Un)?Nn=null:Nn=new an(z.line,Math.max(0,Math.min(be.text.length,z.ch+ne*(Un>=55296&&Un<56320?2:1))),-ne)}else ae?Nn=js(x.cm,be,z,ne):Nn=_s(be,z,ne);if(Nn==null)if(!Wn&&Ce())z=au(ae,x.cm,be,z.line,Ae);else return!1;else z=Nn;return!0}if(te=="char"||te=="codepoint")He();else if(te=="column")He(!0);else if(te=="word"||te=="group")for(var qe=null,At=te=="group",bt=x.cm&&x.cm.getHelper(z,"wordChars"),Yt=!0;!(ne<0&&!He(!Yt));Yt=!1){var hn=be.text.charAt(z.ch)||`
`,Cn=me(hn,bt)?"w":At&&hn==`
`?"n":!At||/\s/.test(hn)?null:"p";if(At&&!Yt&&!Cn&&(Cn="s"),qe&&qe!=Cn){ne<0&&(ne=1,He(),z.sticky="after");break}if(Cn&&(qe=Cn),ne>0&&!He(!Yt))break}var Pn=Mc(x,z,se,fe,!0);return Fo(se,Pn)&&(Pn.hitSide=!0),Pn}function g0(x,z,ne,te){var ae=x.doc,se=z.left,fe;if(te=="page"){var be=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ae=Math.max(be-.5*xo(x.display),3);fe=(ne>0?z.bottom:z.top)+ne*Ae}else te=="line"&&(fe=ne>0?z.bottom+3:z.top-3);for(var Ce;Ce=ba(x,se,fe),!!Ce.outside;){if(ne<0?fe<=0:fe>=ae.height){Ce.hitSide=!0;break}fe+=ne*5}return Ce}var Kr=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new xe,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Kr.prototype.init=function(x){var z=this,ne=this,te=ne.cm,ae=ne.div=x.lineDiv;m0(ae,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function se(be){for(var Ae=be.target;Ae;Ae=Ae.parentNode){if(Ae==ae)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ae.className))break}return!1}Bn(ae,"paste",function(be){!se(be)||di(te,be)||bd(be,te)||Te<=11&&setTimeout(wa(te,function(){return z.updateFromDOM()}),20)}),Bn(ae,"compositionstart",function(be){z.composing={data:be.data,done:!1}}),Bn(ae,"compositionupdate",function(be){z.composing||(z.composing={data:be.data,done:!1})}),Bn(ae,"compositionend",function(be){z.composing&&(be.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),Bn(ae,"touchstart",function(){return ne.forceCompositionEnd()}),Bn(ae,"input",function(){z.composing||z.readFromDOMSoon()});function fe(be){if(!(!se(be)||di(te,be))){if(te.somethingSelected())kl({lineWise:!1,text:te.getSelections()}),be.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ae=Fu(te);kl({lineWise:!0,text:Ae.text}),be.type=="cut"&&te.operation(function(){te.setSelections(Ae.ranges,0,rt),te.replaceSelection("",null,"cut")})}else return;if(be.clipboardData){be.clipboardData.clearData();var Ce=Is.text.join(`
`);if(be.clipboardData.setData("Text",Ce),be.clipboardData.getData("Text")==Ce){be.preventDefault();return}}var He=wd(),qe=He.firstChild;te.display.lineSpace.insertBefore(He,te.display.lineSpace.firstChild),qe.value=Is.text.join(`
`);var At=document.activeElement;gn(qe),setTimeout(function(){te.display.lineSpace.removeChild(He),At.focus(),At==ae&&ne.showPrimarySelection()},50)}}Bn(ae,"copy",fe),Bn(ae,"cut",fe)},Kr.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Kr.prototype.prepareSelection=function(){var x=$t(this.cm,!1);return x.focus=document.activeElement==this.div,x},Kr.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Kr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Kr.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ne=z.doc.sel.primary(),te=ne.from(),ae=ne.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||ae.line<z.display.viewFrom){x.removeAllRanges();return}var se=Oc(z,x.anchorNode,x.anchorOffset),fe=Oc(z,x.focusNode,x.focusOffset);if(!(se&&!se.bad&&fe&&!fe.bad&&li(Lr(se,fe),te)==0&&li(go(se,fe),ae)==0)){var be=z.display.view,Ae=te.line>=z.display.viewFrom&&v0(z,te)||{node:be[0].measure.map[2],offset:0},Ce=ae.line<z.display.viewTo&&v0(z,ae);if(!Ce){var He=be[be.length-1].measure,qe=He.maps?He.maps[He.maps.length-1]:He.map;Ce={node:qe[qe.length-1],offset:qe[qe.length-2]-qe[qe.length-3]}}if(!Ae||!Ce){x.removeAllRanges();return}var At=x.rangeCount&&x.getRangeAt(0),bt;try{bt=Je(Ae.node,Ae.offset,Ce.offset,Ce.node)}catch(Yt){}bt&&(!re&&z.state.focused?(x.collapse(Ae.node,Ae.offset),bt.collapsed||(x.removeAllRanges(),x.addRange(bt))):(x.removeAllRanges(),x.addRange(bt)),At&&x.anchorNode==null?x.addRange(At):re&&this.startGracePeriod()),this.rememberSelection()}},Kr.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},Kr.prototype.showMultipleSelections=function(x){Jt(this.cm.display.cursorDiv,x.cursors),Jt(this.cm.display.selectionDiv,x.selection)},Kr.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Kr.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return Ot(this.div,z)},Kr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Kr.prototype.blur=function(){this.div.blur()},Kr.prototype.getField=function(){return this.div},Kr.prototype.supportsTouch=function(){return!0},Kr.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():xa(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function z(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,z))}this.polling.set(this.cm.options.pollInterval,z)},Kr.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Kr.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(Re&&Me&&this.cm.display.gutterSpecs.length&&lh(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=Oc(z,x.anchorNode,x.anchorOffset),te=Oc(z,x.focusNode,x.focusOffset);ne&&te&&xa(z,function(){no(z.doc,Wo(ne,te),rt),(ne.bad||te.bad)&&(z.curOp.selectionChanged=!0)})}}},Kr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,ne=x.doc.sel.primary(),te=ne.from(),ae=ne.to();if(te.ch==0&&te.line>x.firstLine()&&(te=an(te.line-1,_n(x.doc,te.line-1).length)),ae.ch==_n(x.doc,ae.line).text.length&&ae.line<x.lastLine()&&(ae=an(ae.line+1,0)),te.line<z.viewFrom||ae.line>z.viewTo-1)return!1;var se,fe,be;te.line==z.viewFrom||(se=Gi(x,te.line))==0?(fe=Fi(z.view[0].line),be=z.view[0].node):(fe=Fi(z.view[se].line),be=z.view[se-1].node.nextSibling);var Ae=Gi(x,ae.line),Ce,He;if(Ae==z.view.length-1?(Ce=z.viewTo-1,He=z.lineDiv.lastChild):(Ce=Fi(z.view[Ae+1].line)-1,He=z.view[Ae+1].node.previousSibling),!be)return!1;for(var qe=x.doc.splitLines(uh(x,be,He,fe,Ce)),At=Dr(x.doc,an(fe,0),an(Ce,_n(x.doc,Ce).text.length));qe.length>1&&At.length>1;)if(Rt(qe)==Rt(At))qe.pop(),At.pop(),Ce--;else if(qe[0]==At[0])qe.shift(),At.shift(),fe++;else break;for(var bt=0,Yt=0,hn=qe[0],Cn=At[0],Pn=Math.min(hn.length,Cn.length);bt<Pn&&hn.charCodeAt(bt)==Cn.charCodeAt(bt);)++bt;for(var Wn=Rt(qe),Nn=Rt(At),Un=Math.min(Wn.length-(qe.length==1?bt:0),Nn.length-(At.length==1?bt:0));Yt<Un&&Wn.charCodeAt(Wn.length-Yt-1)==Nn.charCodeAt(Nn.length-Yt-1);)++Yt;if(qe.length==1&&At.length==1&&fe==te.line)for(;bt&&bt>te.ch&&Wn.charCodeAt(Wn.length-Yt-1)==Nn.charCodeAt(Nn.length-Yt-1);)bt--,Yt++;qe[qe.length-1]=Wn.slice(0,Wn.length-Yt).replace(/^\u200b+/,""),qe[0]=qe[0].slice(bt).replace(/\u200b+$/,"");var ci=an(fe,bt),fi=an(Ce,At.length?Rt(At).length-Yt:0);if(qe.length>1||qe[0]||li(ci,fi))return Cu(x.doc,qe,ci,fi,"+input"),!0},Kr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Kr.prototype.reset=function(){this.forceCompositionEnd()},Kr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Kr.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Kr.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&xa(this.cm,function(){return bi(x.cm)})},Kr.prototype.setUneditable=function(x){x.contentEditable="false"},Kr.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||wa(this.cm,yd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Kr.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Kr.prototype.onContextMenu=function(){},Kr.prototype.resetPosition=function(){},Kr.prototype.needsContentAttribute=!0;function v0(x,z){var ne=ya(x,z.line);if(!ne||ne.hidden)return null;var te=_n(x.doc,z.line),ae=$r(ne,te,z.line),se=Ei(te,x.doc.direction),fe="left";if(se){var be=Qt(se,z.ch);fe=be%2?"right":"left"}var Ae=Xe(ae.map,z.ch,fe);return Ae.offset=Ae.collapse=="right"?Ae.end:Ae.start,Ae}function lh(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Ou(x,z){return z&&(x.bad=!0),x}function uh(x,z,ne,te,ae){var se="",fe=!1,be=x.doc.lineSeparator(),Ae=!1;function Ce(bt){return function(Yt){return Yt.id==bt}}function He(){fe&&(se+=be,Ae&&(se+=be),fe=Ae=!1)}function qe(bt){bt&&(He(),se+=bt)}function At(bt){if(bt.nodeType==1){var Yt=bt.getAttribute("cm-text");if(Yt){qe(Yt);return}var hn=bt.getAttribute("cm-marker"),Cn;if(hn){var Pn=x.findMarks(an(te,0),an(ae+1,0),Ce(+hn));Pn.length&&(Cn=Pn[0].find(0))&&qe(Dr(x.doc,Cn.from,Cn.to).join(be));return}if(bt.getAttribute("contenteditable")=="false")return;var Wn=/^(pre|div|p|li|table|br)$/i.test(bt.nodeName);if(!/^br$/i.test(bt.nodeName)&&bt.textContent.length==0)return;Wn&&He();for(var Nn=0;Nn<bt.childNodes.length;Nn++)At(bt.childNodes[Nn]);/^(pre|p)$/i.test(bt.nodeName)&&(Ae=!0),Wn&&(fe=!0)}else bt.nodeType==3&&qe(bt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;At(z),z!=ne;)z=z.nextSibling,Ae=!1;return se}function Oc(x,z,ne){var te;if(z==x.display.lineDiv){if(te=x.display.lineDiv.childNodes[ne],!te)return Ou(x.clipPos(an(x.display.viewTo-1)),!0);z=null,ne=0}else for(te=z;;te=te.parentNode){if(!te||te==x.display.lineDiv)return null;if(te.parentNode&&te.parentNode==x.display.lineDiv)break}for(var ae=0;ae<x.display.view.length;ae++){var se=x.display.view[ae];if(se.node==te)return ch(se,z,ne)}}function ch(x,z,ne){var te=x.text.firstChild,ae=!1;if(!z||!Ot(te,z))return Ou(an(Fi(x.line),0),!0);if(z==te&&(ae=!0,z=te.childNodes[ne],ne=0,!z)){var se=x.rest?Rt(x.rest):x.line;return Ou(an(Fi(se),se.text.length),ae)}var fe=z.nodeType==3?z:null,be=z;for(!fe&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(fe=z.firstChild,ne&&(ne=fe.nodeValue.length));be.parentNode!=te;)be=be.parentNode;var Ae=x.measure,Ce=Ae.maps;function He(Cn,Pn,Wn){for(var Nn=-1;Nn<(Ce?Ce.length:0);Nn++)for(var Un=Nn<0?Ae.map:Ce[Nn],ci=0;ci<Un.length;ci+=3){var fi=Un[ci+2];if(fi==Cn||fi==Pn){var ar=Fi(Nn<0?x.line:x.rest[Nn]),Zr=Un[ci]+Wn;return(Wn<0||fi!=Cn)&&(Zr=Un[ci+(Wn?1:0)]),an(ar,Zr)}}}var qe=He(fe,be,ne);if(qe)return Ou(qe,ae);for(var At=be.nextSibling,bt=fe?fe.nodeValue.length-ne:0;At;At=At.nextSibling){if(qe=He(At,At.firstChild,0),qe)return Ou(an(qe.line,qe.ch-bt),ae);bt+=At.textContent.length}for(var Yt=be.previousSibling,hn=ne;Yt;Yt=Yt.previousSibling){if(qe=He(Yt,Yt.firstChild,-1),qe)return Ou(an(qe.line,qe.ch+hn),ae);hn+=Yt.textContent.length}}var Yr=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new xe,this.hasSelection=!1,this.composing=null};Yr.prototype.init=function(x){var z=this,ne=this,te=this.cm;this.createField(x);var ae=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),et&&(ae.style.width="0px"),Bn(ae,"input",function(){Pe&&Te>=9&&z.hasSelection&&(z.hasSelection=null),ne.poll()}),Bn(ae,"paste",function(fe){di(te,fe)||bd(fe,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function se(fe){if(!di(te,fe)){if(te.somethingSelected())kl({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var be=Fu(te);kl({lineWise:!0,text:be.text}),fe.type=="cut"?te.setSelections(be.ranges,null,rt):(ne.prevInput="",ae.value=be.text.join(`
`),gn(ae))}else return;fe.type=="cut"&&(te.state.cutIncoming=+new Date)}}Bn(ae,"cut",se),Bn(ae,"copy",se),Bn(x.scroller,"paste",function(fe){if(!(nr(x,fe)||di(te,fe))){if(!ae.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var be=new Event("paste");be.clipboardData=fe.clipboardData,ae.dispatchEvent(be)}}),Bn(x.lineSpace,"selectstart",function(fe){nr(x,fe)||Zi(fe)}),Bn(ae,"compositionstart",function(){var fe=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:fe,range:te.markText(fe,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Bn(ae,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},Yr.prototype.createField=function(x){this.wrapper=wd(),this.textarea=this.wrapper.firstChild},Yr.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},Yr.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ne=x.doc,te=$t(x);if(x.options.moveInputWithCursor){var ae=Li(x,ne.sel.primary().head,"div"),se=z.wrapper.getBoundingClientRect(),fe=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,ae.top+fe.top-se.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,ae.left+fe.left-se.left))}return te},Yr.prototype.showSelection=function(x){var z=this.cm,ne=z.display;Jt(ne.cursorDiv,x.cursors),Jt(ne.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},Yr.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ne=z.getSelection();this.textarea.value=ne,z.state.focused&&gn(this.textarea),Pe&&Te>=9&&(this.hasSelection=ne)}else x||(this.prevInput=this.textarea.value="",Pe&&Te>=9&&(this.hasSelection=null))}},Yr.prototype.getField=function(){return this.textarea},Yr.prototype.supportsTouch=function(){return!1},Yr.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!je||pt()!=this.textarea))try{this.textarea.focus()}catch(x){}},Yr.prototype.blur=function(){this.textarea.blur()},Yr.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Yr.prototype.receivedFocus=function(){this.slowPoll()},Yr.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},Yr.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ne(){var te=z.poll();!te&&!x?(x=!0,z.polling.set(60,ne)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ne)},Yr.prototype.poll=function(){var x=this,z=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||Ni(ne)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var ae=ne.value;if(ae==te&&!z.somethingSelected())return!1;if(Pe&&Te>=9&&this.hasSelection===ae||Fe&&/[\uf700-\uf7ff]/.test(ae))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var se=ae.charCodeAt(0);if(se==8203&&!te&&(te="\u200B"),se==8666)return this.reset(),this.cm.execCommand("undo")}for(var fe=0,be=Math.min(te.length,ae.length);fe<be&&te.charCodeAt(fe)==ae.charCodeAt(fe);)++fe;return xa(z,function(){yd(z,ae.slice(fe),te.length-fe,null,x.composing?"*compose":null),ae.length>1e3||ae.indexOf(`
`)>-1?ne.value=x.prevInput="":x.prevInput=ae,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Yr.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Yr.prototype.onKeyPress=function(){Pe&&Te>=9&&(this.hasSelection=null),this.fastPoll()},Yr.prototype.onContextMenu=function(x){var z=this,ne=z.cm,te=ne.display,ae=z.textarea;z.contextMenuPending&&z.contextMenuPending();var se=ta(ne,x),fe=te.scroller.scrollTop;if(!se||Ge)return;var be=ne.options.resetSelectionOnContextMenu;be&&ne.doc.sel.contains(se)==-1&&wa(ne,no)(ne.doc,Wo(se),rt);var Ae=ae.style.cssText,Ce=z.wrapper.style.cssText,He=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",ae.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(x.clientY-He.top-5)+"px; left: "+(x.clientX-He.left-5)+`px;
z-index: 1000; background: `+(Pe?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qe;Qe&&(qe=window.scrollY),te.input.focus(),Qe&&window.scrollTo(null,qe),te.input.reset(),ne.somethingSelected()||(ae.value=z.prevInput=" "),z.contextMenuPending=bt,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function At(){if(ae.selectionStart!=null){var hn=ne.somethingSelected(),Cn="\u200B"+(hn?ae.value:"");ae.value="\u21DA",ae.value=Cn,z.prevInput=hn?"":"\u200B",ae.selectionStart=1,ae.selectionEnd=Cn.length,te.selForContextMenu=ne.doc.sel}}function bt(){if(z.contextMenuPending==bt&&(z.contextMenuPending=!1,z.wrapper.style.cssText=Ce,ae.style.cssText=Ae,Pe&&Te<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=fe),ae.selectionStart!=null)){(!Pe||Pe&&Te<9)&&At();var hn=0,Cn=function(){te.selForContextMenu==ne.doc.sel&&ae.selectionStart==0&&ae.selectionEnd>0&&z.prevInput=="\u200B"?wa(ne,ad)(ne):hn++<10?te.detectingSelectAll=setTimeout(Cn,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(Cn,200)}}if(Pe&&Te>=9&&At(),vt){Ka(x);var Yt=function(){Wi(window,"mouseup",Yt),setTimeout(bt,20)};Bn(window,"mouseup",Yt)}else setTimeout(bt,50)},Yr.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},Yr.prototype.setUneditable=function(){},Yr.prototype.needsContentAttribute=!1;function ou(x,z){if(z=z?$n(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ne=pt();z.autofocus=ne==x||x.getAttribute("autofocus")!=null&&ne==document.body}function te(){x.value=be.getValue()}var ae;if(x.form&&(Bn(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var se=x.form;ae=se.submit;try{var fe=se.submit=function(){te(),se.submit=ae,se.submit(),se.submit=fe}}catch(Ae){}}z.finishInit=function(Ae){Ae.save=te,Ae.getTextArea=function(){return x},Ae.toTextArea=function(){Ae.toTextArea=isNaN,te(),x.parentNode.removeChild(Ae.getWrapperElement()),x.style.display="",x.form&&(Wi(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=ae))}},x.style.display="none";var be=ji(function(Ae){return x.parentNode.insertBefore(Ae,x.nextSibling)},z);return be}function Pu(x){x.off=Wi,x.on=Bn,x.wheelEventPixels=Vu,x.Doc=Va,x.splitLines=si,x.countColumn=ke,x.findColumn=fn,x.isWordChar=ye,x.Pass=kt,x.signal=Mi,x.Line=yn,x.changeEnd=bs,x.scrollbarModel=pu,x.Pos=an,x.cmpPos=li,x.modes=Qr,x.mimeModes=ga,x.resolveMode=Xn,x.getMode=Vi,x.modeExtensions=Yi,x.extendMode=sr,x.copyState=dr,x.startState=xr,x.innerMode=br,x.commands=Nu,x.keyMap=Vr,x.keyName=ru,x.isModifierKey=$u,x.lookupKey=nl,x.normalizeKeyMap=cd,x.StringStream=wi,x.SharedTextMarker=rr,x.TextMarker=wl,x.LineWidget=Du,x.e_preventDefault=Zi,x.e_stopPropagation=qa,x.e_stop=Ka,x.addClass=jt,x.contains=Ot,x.rmClass=yt,x.keyNames=Bs}ah(ji),Ad(ji);var al="iter insert remove copy getEditor constructor".split(" ");for(var As in Va.prototype)Va.prototype.hasOwnProperty(As)&&$e(al,As)<0&&(ji.prototype[As]=function(x){return function(){return x.apply(this.doc,arguments)}}(Va.prototype[As]));return or(Va),ji.inputStyles={textarea:Yr,contenteditable:Kr},ji.defineMode=function(x){!ji.defaults.mode&&x!="null"&&(ji.defaults.mode=x),qn.apply(this,arguments)},ji.defineMIME=In,ji.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),ji.defineMIME("text/plain","null"),ji.defineExtension=function(x,z){ji.prototype[x]=z},ji.defineDocExtension=function(x,z){Va.prototype[x]=z},ji.fromTextArea=ou,Pu(ji),ji.version="5.58.2",ji})},49047:function(wt,Wt,ge){(function(re){re(ge(4631),ge(29589),ge(52539))})(function(re){"use strict";re.defineMode("markdown",function(ot,Ke){var nt=re.getMode(ot,"text/html"),Pe=nt.name=="null";function Te(ke){if(re.findModeByName){var xe=re.findModeByName(ke);xe&&(ke=xe.mime||xe.mimes[0])}var $e=re.getMode(ot,ke);return $e.name=="null"?null:$e}Ke.highlightFormatting===void 0&&(Ke.highlightFormatting=!1),Ke.maxBlockquoteDepth===void 0&&(Ke.maxBlockquoteDepth=0),Ke.taskLists===void 0&&(Ke.taskLists=!1),Ke.strikethrough===void 0&&(Ke.strikethrough=!1),Ke.emoji===void 0&&(Ke.emoji=!1),Ke.fencedCodeBlockHighlighting===void 0&&(Ke.fencedCodeBlockHighlighting=!0),Ke.fencedCodeBlockDefaultMode===void 0&&(Ke.fencedCodeBlockDefaultMode="text/plain"),Ke.xml===void 0&&(Ke.xml=!0),Ke.tokenTypeOverrides===void 0&&(Ke.tokenTypeOverrides={});var Qe={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var we in Qe)Qe.hasOwnProperty(we)&&Ke.tokenTypeOverrides[we]&&(Qe[we]=Ke.tokenTypeOverrides[we]);var Me=/^([*\-_])(?:\s*\1){2,}\s*$/,Ge=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ve=/^\[(x| )\](?=\s)/i,Ne=Ke.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ct=/^ {0,3}(?:\={1,}|-{2,})\s*$/,et=/^[^#!\[\]*_\\<>` "'(~:]+/,Re=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,je=/^\s*\[[^\]]+?\]:.*$/,Fe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,ze=" ";function ft(ke,xe,$e){return xe.f=xe.inline=$e,$e(ke,xe)}function Ye(ke,xe,$e){return xe.f=xe.block=$e,$e(ke,xe)}function ut(ke){return!ke||!/\S/.test(ke.string)}function vt(ke){if(ke.linkTitle=!1,ke.linkHref=!1,ke.linkText=!1,ke.em=!1,ke.strong=!1,ke.strikethrough=!1,ke.quote=0,ke.indentedCode=!1,ke.f==yt){var xe=Pe;if(!xe){var $e=re.innerMode(nt,ke.htmlState);xe=$e.mode.name=="xml"&&$e.state.tagStart===null&&!$e.state.context&&$e.state.tokenize.isInText}xe&&(ke.f=Bt,ke.block=xt,ke.htmlState=null)}return ke.trailingSpace=0,ke.trailingSpaceNewLine=!1,ke.prevLine=ke.thisLine,ke.thisLine={stream:null},null}function xt(ke,xe){var $e=ke.column()===xe.indentation,ht=ut(xe.prevLine.stream),kt=xe.indentedCode,rt=xe.prevLine.hr,Ue=xe.list!==!1,Ct=(xe.listStack[xe.listStack.length-1]||0)+3;xe.indentedCode=!1;var fn=xe.indentation;if(xe.indentationDiff===null&&(xe.indentationDiff=xe.indentation,Ue)){for(xe.list=null;fn<xe.listStack[xe.listStack.length-1];)xe.listStack.pop(),xe.listStack.length?xe.indentation=xe.listStack[xe.listStack.length-1]:xe.list=!1;xe.list!==!1&&(xe.indentationDiff=fn-xe.listStack[xe.listStack.length-1])}var Et=!ht&&!rt&&!xe.prevLine.header&&(!Ue||!kt)&&!xe.prevLine.fencedCodeEnd,Nt=(xe.list===!1||rt||ht)&&xe.indentation<=Ct&&ke.match(Me),Rt=null;if(xe.indentationDiff>=4&&(kt||xe.prevLine.fencedCodeEnd||xe.prevLine.header||ht))return ke.skipToEnd(),xe.indentedCode=!0,Qe.code;if(ke.eatSpace())return null;if($e&&xe.indentation<=Ct&&(Rt=ke.match(Ne))&&Rt[1].length<=6)return xe.quote=0,xe.header=Rt[1].length,xe.thisLine.header=!0,Ke.highlightFormatting&&(xe.formatting="header"),xe.f=xe.inline,Jt(xe);if(xe.indentation<=Ct&&ke.eat(">"))return xe.quote=$e?1:xe.quote+1,Ke.highlightFormatting&&(xe.formatting="quote"),ke.eatSpace(),Jt(xe);if(!Nt&&!xe.setext&&$e&&xe.indentation<=Ct&&(Rt=ke.match(Ge))){var vn=Rt[1]?"ol":"ul";return xe.indentation=fn+ke.current().length,xe.list=!0,xe.quote=0,xe.listStack.push(xe.indentation),xe.em=!1,xe.strong=!1,xe.code=!1,xe.strikethrough=!1,Ke.taskLists&&ke.match(Ve,!1)&&(xe.taskList=!0),xe.f=xe.inline,Ke.highlightFormatting&&(xe.formatting=["list","list-"+vn]),Jt(xe)}else{if($e&&xe.indentation<=Ct&&(Rt=ke.match(Re,!0)))return xe.quote=0,xe.fencedEndRE=new RegExp(Rt[1]+"+ *$"),xe.localMode=Ke.fencedCodeBlockHighlighting&&Te(Rt[2]||Ke.fencedCodeBlockDefaultMode),xe.localMode&&(xe.localState=re.startState(xe.localMode)),xe.f=xe.block=_t,Ke.highlightFormatting&&(xe.formatting="code-block"),xe.code=-1,Jt(xe);if(xe.setext||(!Et||!Ue)&&!xe.quote&&xe.list===!1&&!xe.code&&!Nt&&!je.test(ke.string)&&(Rt=ke.lookAhead(1))&&(Rt=Rt.match(ct)))return xe.setext?(xe.header=xe.setext,xe.setext=0,ke.skipToEnd(),Ke.highlightFormatting&&(xe.formatting="header")):(xe.header=Rt[0].charAt(0)=="="?1:2,xe.setext=xe.header),xe.thisLine.header=!0,xe.f=xe.inline,Jt(xe);if(Nt)return ke.skipToEnd(),xe.hr=!0,xe.thisLine.hr=!0,Qe.hr;if(ke.peek()==="[")return ft(ke,xe,dt)}return ft(ke,xe,xe.inline)}function yt(ke,xe){var $e=nt.token(ke,xe.htmlState);if(!Pe){var ht=re.innerMode(nt,xe.htmlState);(ht.mode.name=="xml"&&ht.state.tagStart===null&&!ht.state.context&&ht.state.tokenize.isInText||xe.md_inside&&ke.current().indexOf(">")>-1)&&(xe.f=Bt,xe.block=xt,xe.htmlState=null)}return $e}function _t(ke,xe){var $e=xe.listStack[xe.listStack.length-1]||0,ht=xe.indentation<$e,kt=$e+3;if(xe.fencedEndRE&&xe.indentation<=kt&&(ht||ke.match(xe.fencedEndRE))){Ke.highlightFormatting&&(xe.formatting="code-block");var rt;return ht||(rt=Jt(xe)),xe.localMode=xe.localState=null,xe.block=xt,xe.f=Bt,xe.fencedEndRE=null,xe.code=0,xe.thisLine.fencedCodeEnd=!0,ht?Ye(ke,xe,xe.block):rt}else return xe.localMode?xe.localMode.token(ke,xe.localState):(ke.skipToEnd(),Qe.code)}function Jt(ke){var xe=[];if(ke.formatting){xe.push(Qe.formatting),typeof ke.formatting=="string"&&(ke.formatting=[ke.formatting]);for(var $e=0;$e<ke.formatting.length;$e++)xe.push(Qe.formatting+"-"+ke.formatting[$e]),ke.formatting[$e]==="header"&&xe.push(Qe.formatting+"-"+ke.formatting[$e]+"-"+ke.header),ke.formatting[$e]==="quote"&&(!Ke.maxBlockquoteDepth||Ke.maxBlockquoteDepth>=ke.quote?xe.push(Qe.formatting+"-"+ke.formatting[$e]+"-"+ke.quote):xe.push("error"))}if(ke.taskOpen)return xe.push("meta"),xe.length?xe.join(" "):null;if(ke.taskClosed)return xe.push("property"),xe.length?xe.join(" "):null;if(ke.linkHref?xe.push(Qe.linkHref,"url"):(ke.strong&&xe.push(Qe.strong),ke.em&&xe.push(Qe.em),ke.strikethrough&&xe.push(Qe.strikethrough),ke.emoji&&xe.push(Qe.emoji),ke.linkText&&xe.push(Qe.linkText),ke.code&&xe.push(Qe.code),ke.image&&xe.push(Qe.image),ke.imageAltText&&xe.push(Qe.imageAltText,"link"),ke.imageMarker&&xe.push(Qe.imageMarker)),ke.header&&xe.push(Qe.header,Qe.header+"-"+ke.header),ke.quote&&(xe.push(Qe.quote),!Ke.maxBlockquoteDepth||Ke.maxBlockquoteDepth>=ke.quote?xe.push(Qe.quote+"-"+ke.quote):xe.push(Qe.quote+"-"+Ke.maxBlockquoteDepth)),ke.list!==!1){var ht=(ke.listStack.length-1)%3;ht?ht===1?xe.push(Qe.list2):xe.push(Qe.list3):xe.push(Qe.list1)}return ke.trailingSpaceNewLine?xe.push("trailing-space-new-line"):ke.trailingSpace&&xe.push("trailing-space-"+(ke.trailingSpace%2?"a":"b")),xe.length?xe.join(" "):null}function Tt(ke,xe){if(ke.match(et,!0))return Jt(xe)}function Bt(ke,xe){var $e=xe.text(ke,xe);if(typeof $e!="undefined")return $e;if(xe.list)return xe.list=null,Jt(xe);if(xe.taskList){var ht=ke.match(Ve,!0)[1]===" ";return ht?xe.taskOpen=!0:xe.taskClosed=!0,Ke.highlightFormatting&&(xe.formatting="task"),xe.taskList=!1,Jt(xe)}if(xe.taskOpen=!1,xe.taskClosed=!1,xe.header&&ke.match(/^#+$/,!0))return Ke.highlightFormatting&&(xe.formatting="header"),Jt(xe);var kt=ke.next();if(xe.linkTitle){xe.linkTitle=!1;var rt=kt;kt==="("&&(rt=")"),rt=(rt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ue="^\\s*(?:[^"+rt+"\\\\]+|\\\\\\\\|\\\\.)"+rt;if(ke.match(new RegExp(Ue),!0))return Qe.linkHref}if(kt==="`"){var Ct=xe.formatting;Ke.highlightFormatting&&(xe.formatting="code"),ke.eatWhile("`");var fn=ke.current().length;if(xe.code==0&&(!xe.quote||fn==1))return xe.code=fn,Jt(xe);if(fn==xe.code){var Et=Jt(xe);return xe.code=0,Et}else return xe.formatting=Ct,Jt(xe)}else if(xe.code)return Jt(xe);if(kt==="\\"&&(ke.next(),Ke.highlightFormatting)){var Nt=Jt(xe),Rt=Qe.formatting+"-escape";return Nt?Nt+" "+Rt:Rt}if(kt==="!"&&ke.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return xe.imageMarker=!0,xe.image=!0,Ke.highlightFormatting&&(xe.formatting="image"),Jt(xe);if(kt==="["&&xe.imageMarker&&ke.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return xe.imageMarker=!1,xe.imageAltText=!0,Ke.highlightFormatting&&(xe.formatting="image"),Jt(xe);if(kt==="]"&&xe.imageAltText){Ke.highlightFormatting&&(xe.formatting="image");var Nt=Jt(xe);return xe.imageAltText=!1,xe.image=!1,xe.inline=xe.f=Ot,Nt}if(kt==="["&&!xe.image)return xe.linkText&&ke.match(/^.*?\]/)||(xe.linkText=!0,Ke.highlightFormatting&&(xe.formatting="link")),Jt(xe);if(kt==="]"&&xe.linkText){Ke.highlightFormatting&&(xe.formatting="link");var Nt=Jt(xe);return xe.linkText=!1,xe.inline=xe.f=ke.match(/\(.*?\)| ?\[.*?\]/,!1)?Ot:Bt,Nt}if(kt==="<"&&ke.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){xe.f=xe.inline=Je,Ke.highlightFormatting&&(xe.formatting="link");var Nt=Jt(xe);return Nt?Nt+=" ":Nt="",Nt+Qe.linkInline}if(kt==="<"&&ke.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){xe.f=xe.inline=Je,Ke.highlightFormatting&&(xe.formatting="link");var Nt=Jt(xe);return Nt?Nt+=" ":Nt="",Nt+Qe.linkEmail}if(Ke.xml&&kt==="<"&&ke.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var vn=ke.string.indexOf(">",ke.pos);if(vn!=-1){var En=ke.string.substring(ke.start,vn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(En)&&(xe.md_inside=!0)}return ke.backUp(1),xe.htmlState=re.startState(nt),Ye(ke,xe,yt)}if(Ke.xml&&kt==="<"&&ke.match(/^\/\w*?>/))return xe.md_inside=!1,"tag";if(kt==="*"||kt==="_"){for(var Ee=1,de=ke.pos==1?" ":ke.string.charAt(ke.pos-2);Ee<3&&ke.eat(kt);)Ee++;var le=ke.peek()||" ",ye=!/\s/.test(le)&&(!Fe.test(le)||/\s/.test(de)||Fe.test(de)),me=!/\s/.test(de)&&(!Fe.test(de)||/\s/.test(le)||Fe.test(le)),ue=null,Ie=null;if(Ee%2&&(!xe.em&&ye&&(kt==="*"||!me||Fe.test(de))?ue=!0:xe.em==kt&&me&&(kt==="*"||!ye||Fe.test(le))&&(ue=!1)),Ee>1&&(!xe.strong&&ye&&(kt==="*"||!me||Fe.test(de))?Ie=!0:xe.strong==kt&&me&&(kt==="*"||!ye||Fe.test(le))&&(Ie=!1)),Ie!=null||ue!=null){Ke.highlightFormatting&&(xe.formatting=ue==null?"strong":Ie==null?"em":"strong em"),ue===!0&&(xe.em=kt),Ie===!0&&(xe.strong=kt);var Et=Jt(xe);return ue===!1&&(xe.em=!1),Ie===!1&&(xe.strong=!1),Et}}else if(kt===" "&&(ke.eat("*")||ke.eat("_"))){if(ke.peek()===" ")return Jt(xe);ke.backUp(1)}if(Ke.strikethrough){if(kt==="~"&&ke.eatWhile(kt)){if(xe.strikethrough){Ke.highlightFormatting&&(xe.formatting="strikethrough");var Et=Jt(xe);return xe.strikethrough=!1,Et}else if(ke.match(/^[^\s]/,!1))return xe.strikethrough=!0,Ke.highlightFormatting&&(xe.formatting="strikethrough"),Jt(xe)}else if(kt===" "&&ke.match(/^~~/,!0)){if(ke.peek()===" ")return Jt(xe);ke.backUp(2)}}if(Ke.emoji&&kt===":"&&ke.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){xe.emoji=!0,Ke.highlightFormatting&&(xe.formatting="emoji");var tt=Jt(xe);return xe.emoji=!1,tt}return kt===" "&&(ke.match(/^ +$/,!1)?xe.trailingSpace++:xe.trailingSpace&&(xe.trailingSpaceNewLine=!0)),Jt(xe)}function Je(ke,xe){var $e=ke.next();if($e===">"){xe.f=xe.inline=Bt,Ke.highlightFormatting&&(xe.formatting="link");var ht=Jt(xe);return ht?ht+=" ":ht="",ht+Qe.linkInline}return ke.match(/^[^>]+/,!0),Qe.linkInline}function Ot(ke,xe){if(ke.eatSpace())return null;var $e=ke.next();return $e==="("||$e==="["?(xe.f=xe.inline=jt($e==="("?")":"]"),Ke.highlightFormatting&&(xe.formatting="link-string"),xe.linkHref=!0,Jt(xe)):"error"}var pt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function jt(ke){return function(xe,$e){var ht=xe.next();if(ht===ke){$e.f=$e.inline=Bt,Ke.highlightFormatting&&($e.formatting="link-string");var kt=Jt($e);return $e.linkHref=!1,kt}return xe.match(pt[ke]),$e.linkHref=!0,Jt($e)}}function dt(ke,xe){return ke.match(/^([^\]\\]|\\.)*\]:/,!1)?(xe.f=gn,ke.next(),Ke.highlightFormatting&&(xe.formatting="link"),xe.linkText=!0,Jt(xe)):ft(ke,xe,Bt)}function gn(ke,xe){if(ke.match(/^\]:/,!0)){xe.f=xe.inline=Tn,Ke.highlightFormatting&&(xe.formatting="link");var $e=Jt(xe);return xe.linkText=!1,$e}return ke.match(/^([^\]\\]|\\.)+/,!0),Qe.linkText}function Tn(ke,xe){return ke.eatSpace()?null:(ke.match(/^[^\s]+/,!0),ke.peek()===void 0?xe.linkTitle=!0:ke.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),xe.f=xe.inline=Bt,Qe.linkHref+" url")}var $n={startState:function(){return{f:xt,prevLine:{stream:null},thisLine:{stream:null},block:xt,htmlState:null,indentation:0,inline:Bt,text:Tt,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(ke){return{f:ke.f,prevLine:ke.prevLine,thisLine:ke.thisLine,block:ke.block,htmlState:ke.htmlState&&re.copyState(nt,ke.htmlState),indentation:ke.indentation,localMode:ke.localMode,localState:ke.localMode?re.copyState(ke.localMode,ke.localState):null,inline:ke.inline,text:ke.text,formatting:!1,linkText:ke.linkText,linkTitle:ke.linkTitle,linkHref:ke.linkHref,code:ke.code,em:ke.em,strong:ke.strong,strikethrough:ke.strikethrough,emoji:ke.emoji,header:ke.header,setext:ke.setext,hr:ke.hr,taskList:ke.taskList,list:ke.list,listStack:ke.listStack.slice(0),quote:ke.quote,indentedCode:ke.indentedCode,trailingSpace:ke.trailingSpace,trailingSpaceNewLine:ke.trailingSpaceNewLine,md_inside:ke.md_inside,fencedEndRE:ke.fencedEndRE}},token:function(ke,xe){if(xe.formatting=!1,ke!=xe.thisLine.stream){if(xe.header=0,xe.hr=!1,ke.match(/^\s*$/,!0))return vt(xe),null;if(xe.prevLine=xe.thisLine,xe.thisLine={stream:ke},xe.taskList=!1,xe.trailingSpace=0,xe.trailingSpaceNewLine=!1,!xe.localState&&(xe.f=xe.block,xe.f!=yt)){var $e=ke.match(/^\s*/,!0)[0].replace(/\t/g,ze).length;if(xe.indentation=$e,xe.indentationDiff=null,$e>0)return null}}return xe.f(ke,xe)},innerMode:function(ke){return ke.block==yt?{state:ke.htmlState,mode:nt}:ke.localState?{state:ke.localState,mode:ke.localMode}:{state:ke,mode:$n}},indent:function(ke,xe,$e){return ke.block==yt&&nt.indent?nt.indent(ke.htmlState,xe,$e):ke.localState&&ke.localMode.indent?ke.localMode.indent(ke.localState,xe,$e):re.Pass},blankLine:vt,getType:Jt,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return $n},"xml"),re.defineMIME("text/markdown","markdown"),re.defineMIME("text/x-markdown","markdown")})},52539:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){"use strict";re.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var ot=0;ot<re.modeInfo.length;ot++){var Ke=re.modeInfo[ot];Ke.mimes&&(Ke.mime=Ke.mimes[0])}re.findModeByMIME=function(nt){nt=nt.toLowerCase();for(var Pe=0;Pe<re.modeInfo.length;Pe++){var Te=re.modeInfo[Pe];if(Te.mime==nt)return Te;if(Te.mimes){for(var Qe=0;Qe<Te.mimes.length;Qe++)if(Te.mimes[Qe]==nt)return Te}}if(/\+xml$/.test(nt))return re.findModeByMIME("application/xml");if(/\+json$/.test(nt))return re.findModeByMIME("application/json")},re.findModeByExtension=function(nt){nt=nt.toLowerCase();for(var Pe=0;Pe<re.modeInfo.length;Pe++){var Te=re.modeInfo[Pe];if(Te.ext){for(var Qe=0;Qe<Te.ext.length;Qe++)if(Te.ext[Qe]==nt)return Te}}},re.findModeByFileName=function(nt){for(var Pe=0;Pe<re.modeInfo.length;Pe++){var Te=re.modeInfo[Pe];if(Te.file&&Te.file.test(nt))return Te}var Qe=nt.lastIndexOf("."),we=Qe>-1&&nt.substring(Qe+1,nt.length);if(we)return re.findModeByExtension(we)},re.findModeByName=function(nt){nt=nt.toLowerCase();for(var Pe=0;Pe<re.modeInfo.length;Pe++){var Te=re.modeInfo[Pe];if(Te.name.toLowerCase()==nt)return Te;if(Te.alias){for(var Qe=0;Qe<Te.alias.length;Qe++)if(Te.alias[Qe].toLowerCase()==nt)return Te}}}})},80785:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){"use strict";re.defineMode("stex",function(ot,Ke){"use strict";function nt(et,Re){et.cmdState.push(Re)}function Pe(et){return et.cmdState.length>0?et.cmdState[et.cmdState.length-1]:null}function Te(et){var Re=et.cmdState.pop();Re&&Re.closeBracket()}function Qe(et){for(var Re=et.cmdState,je=Re.length-1;je>=0;je--){var Fe=Re[je];if(Fe.name!="DEFAULT")return Fe}return{styleIdentifier:function(){return null}}}function we(et,Re,je){return function(){this.name=et,this.bracketNo=0,this.style=Re,this.styles=je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Me={};Me.importmodule=we("importmodule","tag",["string","builtin"]),Me.documentclass=we("documentclass","tag",["","atom"]),Me.usepackage=we("usepackage","tag",["atom"]),Me.begin=we("begin","tag",["atom"]),Me.end=we("end","tag",["atom"]),Me.label=we("label","tag",["atom"]),Me.ref=we("ref","tag",["atom"]),Me.eqref=we("eqref","tag",["atom"]),Me.cite=we("cite","tag",["atom"]),Me.bibitem=we("bibitem","tag",["atom"]),Me.Bibitem=we("Bibitem","tag",["atom"]),Me.RBibitem=we("RBibitem","tag",["atom"]),Me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Ge(et,Re){et.f=Re}function Ve(et,Re){var je;if(et.match(/^\\[a-zA-Z@]+/)){var Fe=et.current().slice(1);return je=Me.hasOwnProperty(Fe)?Me[Fe]:Me.DEFAULT,je=new je,nt(Re,je),Ge(Re,ct),je.style}if(et.match(/^\\[$&%#{}_]/)||et.match(/^\\[,;!\/\\]/))return"tag";if(et.match("\\["))return Ge(Re,function(ft,Ye){return Ne(ft,Ye,"\\]")}),"keyword";if(et.match("\\("))return Ge(Re,function(ft,Ye){return Ne(ft,Ye,"\\)")}),"keyword";if(et.match("$$"))return Ge(Re,function(ft,Ye){return Ne(ft,Ye,"$$")}),"keyword";if(et.match("$"))return Ge(Re,function(ft,Ye){return Ne(ft,Ye,"$")}),"keyword";var ze=et.next();if(ze=="%")return et.skipToEnd(),"comment";if(ze=="}"||ze=="]"){if(je=Pe(Re),je)je.closeBracket(ze),Ge(Re,ct);else return"error";return"bracket"}else return ze=="{"||ze=="["?(je=Me.DEFAULT,je=new je,nt(Re,je),"bracket"):/\d/.test(ze)?(et.eatWhile(/[\w.%]/),"atom"):(et.eatWhile(/[\w\-_]/),je=Qe(Re),je.name=="begin"&&(je.argument=et.current()),je.styleIdentifier())}function Ne(et,Re,je){if(et.eatSpace())return null;if(je&&et.match(je))return Ge(Re,Ve),"keyword";if(et.match(/^\\[a-zA-Z@]+/))return"tag";if(et.match(/^[a-zA-Z]+/))return"variable-2";if(et.match(/^\\[$&%#{}_]/)||et.match(/^\\[,;!\/]/)||et.match(/^[\^_&]/))return"tag";if(et.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(et.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Fe=et.next();return Fe=="{"||Fe=="}"||Fe=="["||Fe=="]"||Fe=="("||Fe==")"?"bracket":Fe=="%"?(et.skipToEnd(),"comment"):"error"}function ct(et,Re){var je=et.peek(),Fe;return je=="{"||je=="["?(Fe=Pe(Re),Fe.openBracket(je),et.eat(je),Ge(Re,Ve),"bracket"):/[ \t\r]/.test(je)?(et.eat(je),null):(Ge(Re,Ve),Te(Re),Ve(et,Re))}return{startState:function(){var et=Ke.inMathMode?function(Re,je){return Ne(Re,je)}:Ve;return{cmdState:[],f:et}},copyState:function(et){return{cmdState:et.cmdState.slice(),f:et.f}},token:function(et,Re){return Re.f(et,Re)},blankLine:function(et){et.f=Ve,et.cmdState.length=0},lineComment:"%"}}),re.defineMIME("text/x-stex","stex"),re.defineMIME("text/x-latex","stex")})},29589:function(wt,Wt,ge){(function(re){re(ge(4631))})(function(re){"use strict";var ot={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Ke={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};re.defineMode("xml",function(nt,Pe){var Te=nt.indentUnit,Qe={},we=Pe.htmlMode?ot:Ke;for(var Me in we)Qe[Me]=we[Me];for(var Me in Pe)Qe[Me]=Pe[Me];var Ge,Ve;function Ne(Je,Ot){function pt(gn){return Ot.tokenize=gn,gn(Je,Ot)}var jt=Je.next();if(jt=="<")return Je.eat("!")?Je.eat("[")?Je.match("CDATA[")?pt(Re("atom","]]>")):null:Je.match("--")?pt(Re("comment","-->")):Je.match("DOCTYPE",!0,!0)?(Je.eatWhile(/[\w\._\-]/),pt(je(1))):null:Je.eat("?")?(Je.eatWhile(/[\w\._\-]/),Ot.tokenize=Re("meta","?>"),"meta"):(Ge=Je.eat("/")?"closeTag":"openTag",Ot.tokenize=ct,"tag bracket");if(jt=="&"){var dt;return Je.eat("#")?Je.eat("x")?dt=Je.eatWhile(/[a-fA-F\d]/)&&Je.eat(";"):dt=Je.eatWhile(/[\d]/)&&Je.eat(";"):dt=Je.eatWhile(/[\w\.\-:]/)&&Je.eat(";"),dt?"atom":"error"}else return Je.eatWhile(/[^&<]/),null}Ne.isInText=!0;function ct(Je,Ot){var pt=Je.next();if(pt==">"||pt=="/"&&Je.eat(">"))return Ot.tokenize=Ne,Ge=pt==">"?"endTag":"selfcloseTag","tag bracket";if(pt=="=")return Ge="equals",null;if(pt=="<"){Ot.tokenize=Ne,Ot.state=Ye,Ot.tagName=Ot.tagStart=null;var jt=Ot.tokenize(Je,Ot);return jt?jt+" tag error":"tag error"}else return/[\'\"]/.test(pt)?(Ot.tokenize=et(pt),Ot.stringStartCol=Je.column(),Ot.tokenize(Je,Ot)):(Je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function et(Je){var Ot=function(pt,jt){for(;!pt.eol();)if(pt.next()==Je){jt.tokenize=ct;break}return"string"};return Ot.isInAttribute=!0,Ot}function Re(Je,Ot){return function(pt,jt){for(;!pt.eol();){if(pt.match(Ot)){jt.tokenize=Ne;break}pt.next()}return Je}}function je(Je){return function(Ot,pt){for(var jt;(jt=Ot.next())!=null;){if(jt=="<")return pt.tokenize=je(Je+1),pt.tokenize(Ot,pt);if(jt==">")if(Je==1){pt.tokenize=Ne;break}else return pt.tokenize=je(Je-1),pt.tokenize(Ot,pt)}return"meta"}}function Fe(Je,Ot,pt){this.prev=Je.context,this.tagName=Ot,this.indent=Je.indented,this.startOfLine=pt,(Qe.doNotIndent.hasOwnProperty(Ot)||Je.context&&Je.context.noIndent)&&(this.noIndent=!0)}function ze(Je){Je.context&&(Je.context=Je.context.prev)}function ft(Je,Ot){for(var pt;;){if(!Je.context||(pt=Je.context.tagName,!Qe.contextGrabbers.hasOwnProperty(pt)||!Qe.contextGrabbers[pt].hasOwnProperty(Ot)))return;ze(Je)}}function Ye(Je,Ot,pt){return Je=="openTag"?(pt.tagStart=Ot.column(),ut):Je=="closeTag"?vt:Ye}function ut(Je,Ot,pt){return Je=="word"?(pt.tagName=Ot.current(),Ve="tag",_t):Qe.allowMissingTagName&&Je=="endTag"?(Ve="tag bracket",_t(Je,Ot,pt)):(Ve="error",ut)}function vt(Je,Ot,pt){if(Je=="word"){var jt=Ot.current();return pt.context&&pt.context.tagName!=jt&&Qe.implicitlyClosed.hasOwnProperty(pt.context.tagName)&&ze(pt),pt.context&&pt.context.tagName==jt||Qe.matchClosing===!1?(Ve="tag",xt):(Ve="tag error",yt)}else return Qe.allowMissingTagName&&Je=="endTag"?(Ve="tag bracket",xt(Je,Ot,pt)):(Ve="error",yt)}function xt(Je,Ot,pt){return Je!="endTag"?(Ve="error",xt):(ze(pt),Ye)}function yt(Je,Ot,pt){return Ve="error",xt(Je,Ot,pt)}function _t(Je,Ot,pt){if(Je=="word")return Ve="attribute",Jt;if(Je=="endTag"||Je=="selfcloseTag"){var jt=pt.tagName,dt=pt.tagStart;return pt.tagName=pt.tagStart=null,Je=="selfcloseTag"||Qe.autoSelfClosers.hasOwnProperty(jt)?ft(pt,jt):(ft(pt,jt),pt.context=new Fe(pt,jt,dt==pt.indented)),Ye}return Ve="error",_t}function Jt(Je,Ot,pt){return Je=="equals"?Tt:(Qe.allowMissing||(Ve="error"),_t(Je,Ot,pt))}function Tt(Je,Ot,pt){return Je=="string"?Bt:Je=="word"&&Qe.allowUnquoted?(Ve="string",_t):(Ve="error",_t(Je,Ot,pt))}function Bt(Je,Ot,pt){return Je=="string"?Bt:_t(Je,Ot,pt)}return{startState:function(Je){var Ot={tokenize:Ne,state:Ye,indented:Je||0,tagName:null,tagStart:null,context:null};return Je!=null&&(Ot.baseIndent=Je),Ot},token:function(Je,Ot){if(!Ot.tagName&&Je.sol()&&(Ot.indented=Je.indentation()),Je.eatSpace())return null;Ge=null;var pt=Ot.tokenize(Je,Ot);return(pt||Ge)&&pt!="comment"&&(Ve=null,Ot.state=Ot.state(Ge||pt,Je,Ot),Ve&&(pt=Ve=="error"?pt+" error":Ve)),pt},indent:function(Je,Ot,pt){var jt=Je.context;if(Je.tokenize.isInAttribute)return Je.tagStart==Je.indented?Je.stringStartCol+1:Je.indented+Te;if(jt&&jt.noIndent)return re.Pass;if(Je.tokenize!=ct&&Je.tokenize!=Ne)return pt?pt.match(/^(\s*)/)[0].length:0;if(Je.tagName)return Qe.multilineTagIndentPastTag!==!1?Je.tagStart+Je.tagName.length+2:Je.tagStart+Te*(Qe.multilineTagIndentFactor||1);if(Qe.alignCDATA&&/<!\[CDATA\[/.test(Ot))return 0;var dt=Ot&&/^<(\/)?([\w_:\.-]*)/.exec(Ot);if(dt&&dt[1])for(;jt;)if(jt.tagName==dt[2]){jt=jt.prev;break}else if(Qe.implicitlyClosed.hasOwnProperty(jt.tagName))jt=jt.prev;else break;else if(dt)for(;jt;){var gn=Qe.contextGrabbers[jt.tagName];if(gn&&gn.hasOwnProperty(dt[2]))jt=jt.prev;else break}for(;jt&&jt.prev&&!jt.startOfLine;)jt=jt.prev;return jt?jt.indent+Te:Je.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Qe.htmlMode?"html":"xml",helperType:Qe.htmlMode?"html":"xml",skipAttribute:function(Je){Je.state==Tt&&(Je.state=_t)},xmlCurrentTag:function(Je){return Je.tagName?{name:Je.tagName,close:Je.type=="closeTag"}:null},xmlCurrentContext:function(Je){for(var Ot=[],pt=Je.context;pt;pt=pt.prev)pt.tagName&&Ot.push(pt.tagName);return Ot.reverse()}}}),re.defineMIME("text/xml","xml"),re.defineMIME("application/xml","xml"),re.mimeModes.hasOwnProperty("text/html")||re.defineMIME("text/html",{name:"xml",htmlMode:!0})})},15979:function(wt,Wt,ge){"use strict";ge.d(Wt,{hP:function(){return En}});var re=function(Ee,de){return(re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ye){le.__proto__=ye}||function(le,ye){for(var me in ye)Object.prototype.hasOwnProperty.call(ye,me)&&(le[me]=ye[me])})(Ee,de)};function ot(Ee,de){function le(){this.constructor=Ee}re(Ee,de),Ee.prototype=de===null?Object.create(de):(le.prototype=de.prototype,new le)}function Ke(Ee,de,le,ye){return new(le||(le=Promise))(function(me,ue){function Ie(Pt){try{Lt(ye.next(Pt))}catch(en){ue(en)}}function tt(Pt){try{Lt(ye.throw(Pt))}catch(en){ue(en)}}function Lt(Pt){var en;Pt.done?me(Pt.value):(en=Pt.value,en instanceof le?en:new le(function(dn){dn(en)})).then(Ie,tt)}Lt((ye=ye.apply(Ee,de||[])).next())})}function nt(Ee,de){var le,ye,me,ue,Ie={label:0,sent:function(){if(1&me[0])throw me[1];return me[1]},trys:[],ops:[]};return ue={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function tt(Lt){return function(Pt){return function(en){if(le)throw new TypeError("Generator is already executing.");for(;Ie;)try{if(le=1,ye&&(me=2&en[0]?ye.return:en[0]?ye.throw||((me=ye.return)&&me.call(ye),0):ye.next)&&!(me=me.call(ye,en[1])).done)return me;switch(ye=0,me&&(en=[2&en[0],me.value]),en[0]){case 0:case 1:me=en;break;case 4:return Ie.label++,{value:en[1],done:!1};case 5:Ie.label++,ye=en[1],en=[0];continue;case 7:en=Ie.ops.pop(),Ie.trys.pop();continue;default:if(me=Ie.trys,!((me=me.length>0&&me[me.length-1])||en[0]!==6&&en[0]!==2)){Ie=0;continue}if(en[0]===3&&(!me||en[1]>me[0]&&en[1]<me[3])){Ie.label=en[1];break}if(en[0]===6&&Ie.label<me[1]){Ie.label=me[1],me=en;break}if(me&&Ie.label<me[2]){Ie.label=me[2],Ie.ops.push(en);break}me[2]&&Ie.ops.pop(),Ie.trys.pop();continue}en=de.call(Ee,Ie)}catch(dn){en=[6,dn],ye=0}finally{le=me=0}if(5&en[0])throw en[1];return{value:en[0]?en[1]:void 0,done:!0}}([Lt,Pt])}}}function Pe(){for(var Ee=0,de=0,le=arguments.length;de<le;de++)Ee+=arguments[de].length;var ye=Array(Ee),me=0;for(de=0;de<le;de++)for(var ue=arguments[de],Ie=0,tt=ue.length;Ie<tt;Ie++,me++)ye[me]=ue[Ie];return ye}var Te=function(){function Ee(){}return Ee.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ee.setAttributes=function(de,le){for(var ye=0,me=le;ye<me.length;ye++){var ue=me[ye],Ie=ue[0],tt=ue[1];de.setAttribute(Ie,tt)}},Ee.createRect=function(de,le,ye){var me=document.createElementNS("http://www.w3.org/2000/svg","rect");return me.setAttribute("width",de.toString()),me.setAttribute("height",le.toString()),ye&&Ee.setAttributes(me,ye),me},Ee.createLine=function(de,le,ye,me,ue){var Ie=document.createElementNS("http://www.w3.org/2000/svg","line");return Ie.setAttribute("x1",de.toString()),Ie.setAttribute("y1",le.toString()),Ie.setAttribute("x2",ye.toString()),Ie.setAttribute("y2",me.toString()),ue&&Ee.setAttributes(Ie,ue),Ie},Ee.createPolygon=function(de,le){var ye=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ye.setAttribute("points",de),le&&Ee.setAttributes(ye,le),ye},Ee.createCircle=function(de,le){var ye=document.createElementNS("http://www.w3.org/2000/svg","circle");return ye.setAttribute("cx",(de/2).toString()),ye.setAttribute("cy",(de/2).toString()),ye.setAttribute("r",de.toString()),le&&Ee.setAttributes(ye,le),ye},Ee.createEllipse=function(de,le,ye){var me=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return me.setAttribute("cx",(de/2).toString()),me.setAttribute("cy",(le/2).toString()),me.setAttribute("rx",(de/2).toString()),me.setAttribute("ry",(le/2).toString()),ye&&Ee.setAttributes(me,ye),me},Ee.createGroup=function(de){var le=document.createElementNS("http://www.w3.org/2000/svg","g");return de&&Ee.setAttributes(le,de),le},Ee.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ee.createMarker=function(de,le,ye,me,ue,Ie,tt){var Lt=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ee.setAttributes(Lt,[["id",de],["orient",le],["markerWidth",ye.toString()],["markerHeight",me.toString()],["refX",ue.toString()],["refY",Ie.toString()]]),Lt.appendChild(tt),Lt},Ee.createText=function(de){var le=document.createElementNS("http://www.w3.org/2000/svg","text");return le.setAttribute("x","0"),le.setAttribute("y","0"),de&&Ee.setAttributes(le,de),le},Ee.createTSpan=function(de,le){var ye=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ye.textContent=de,le&&Ee.setAttributes(ye,le),ye},Ee.createImage=function(de){var le=document.createElementNS("http://www.w3.org/2000/svg","image");return de&&Ee.setAttributes(le,de),le},Ee.createPoint=function(de,le){var ye=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ye.x=de,ye.y=le,ye},Ee.createPath=function(de,le){var ye=document.createElementNS("http://www.w3.org/2000/svg","path");return ye.setAttribute("d",de),le&&Ee.setAttributes(ye,le),ye},Ee}(),Qe=function(){function Ee(){}return Ee.addKey=function(de){Ee.key=de},Object.defineProperty(Ee,"isLicensed",{get:function(){return!!Ee.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ee.key)},enumerable:!1,configurable:!0}),Ee}(),we=function(){function Ee(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ee.prototype.rasterize=function(de,le,ye){var me=this;return new Promise(function(ue){var Ie=ye!==void 0?ye:document.createElement("canvas");de===null&&(me.markersOnly=!0,me.naturalSize=!1);var tt=document.createElementNS("http://www.w3.org/2000/svg","svg");tt.setAttribute("xmlns","http://www.w3.org/2000/svg"),tt.setAttribute("width",le.width.baseVal.valueAsString),tt.setAttribute("height",le.height.baseVal.valueAsString),tt.setAttribute("viewBox","0 0 "+le.viewBox.baseVal.width.toString()+" "+le.viewBox.baseVal.height.toString()),tt.innerHTML=le.innerHTML,me.naturalSize===!0?(tt.width.baseVal.value=de.naturalWidth,tt.height.baseVal.value=de.naturalHeight):me.width!==void 0&&me.height!==void 0&&(tt.width.baseVal.value=me.width,tt.height.baseVal.value=me.height),Ie.width=tt.width.baseVal.value,Ie.height=tt.height.baseVal.value;var Lt=tt.outerHTML,Pt=Ie.getContext("2d");me.markersOnly!==!0&&Pt.drawImage(de,0,0,Ie.width,Ie.height);var en=window.URL,dn=new Image(Ie.width,Ie.height);dn.setAttribute("crossOrigin","anonymous");var Qt=new Blob([Lt],{type:"image/svg+xml"}),zn=en.createObjectURL(Qt);dn.onload=function(){Pt.drawImage(dn,0,0),en.revokeObjectURL(zn);var Ei=Ie.toDataURL(me.imageType,me.imageQuality);ue(Ei)},dn.src=zn})},Ee}(),Me=function(){},Ge=function(){function Ee(de){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+de+"_"}return Object.defineProperty(Ee.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ee.prototype.addClass=function(de){return this.styleSheet===void 0&&this.addStyleSheet(),de.name=""+this.classNamePrefix+de.localName,this.classes.push(de),this.styleSheet.sheet.insertRule("."+de.name+" {"+de.style+"}",this.styleSheet.sheet.cssRules.length),de},Ee.prototype.addRule=function(de){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(de),this.styleSheet.sheet.insertRule(de.selector+" {"+de.style+"}",this.styleSheet.sheet.cssRules.length)},Ee.prototype.addStyleSheet=function(){var de;this.styleSheet=document.createElement("style"),((de=this.styleSheetRoot)!==null&&de!==void 0?de:document.head).appendChild(this.styleSheet),this.addRule(new Ve("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new Ne("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new Ne("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ee.prototype.removeStyleSheet=function(){var de;this.styleSheet&&(((de=this.styleSheetRoot)!==null&&de!==void 0?de:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ee}(),Ve=function(Ee,de){this.selector=Ee,this.style=de},Ne=function(Ee,de){this.localName=Ee,this.style=de},ct=function(){function Ee(de,le,ye,me,ue){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=de,this.displayMode=le,this.markerItems=ye,this.uiStyleSettings=me,this.styles=ue,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ee.prototype.show=function(de){var le=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=de,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ye=document.createElement("div");ye.className=this.toolbarBlockStyleClass.name,ye.style.whiteSpace="nowrap",this.uiContainer.appendChild(ye),this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ye,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ue){var Ie=document.createElement("div");Ie.className=""+le.toolbarButtonStyleClass.name,Ie.setAttribute("data-type-name",ue.typeName),Ie.innerHTML=ue.icon,Ie.addEventListener("click",function(){le.markerToolbarButtonClicked(Ie,ue)}),le.buttons.push(Ie),le.markerButtons.push(Ie)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var me=document.createElement("div");me.className=this.toolbarBlockStyleClass.name,me.style.whiteSpace="nowrap",me.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(me),this.addActionButton(me,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(me,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Ee.prototype.addButtonClickListener=function(de){this.buttonClickListeners.push(de)},Ee.prototype.removeButtonClickListener=function(de){this.buttonClickListeners.indexOf(de)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(de),1)},Ee.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ee.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var de=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var le=0;le<this.markerButtons.length;le++)le<de||le===de&&this.markerButtons.length-1===de?this.markerButtonBlock.appendChild(this.markerButtons[le]):(le===de&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[le]))}},Ee.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},Ee.prototype.resetButtonStyles=function(){var de=this;this.buttons.forEach(function(le){le.className=le.className.replace(de.uiStyleSettings.toolbarButtonStyleColorsClassName?de.uiStyleSettings.toolbarButtonStyleColorsClassName:de.toolbarButtonStyleColorsClass.name,"").trim(),le.className=le.className.replace(de.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?de.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:de.toolbarActiveButtonStyleColorsClass.name,"").trim(),le.className+=" "+(de.uiStyleSettings.toolbarButtonStyleColorsClassName?de.uiStyleSettings.toolbarButtonStyleColorsClassName:de.toolbarButtonStyleColorsClass.name)})},Ee.prototype.addActionButton=function(de,le,ye){var me=this,ue=document.createElement("div");switch(ue.className=""+this.toolbarButtonStyleClass.name,ue.innerHTML=le,ue.setAttribute("data-action",ye),ue.addEventListener("click",function(){me.actionToolbarButtonClicked(ue,ye)}),ye){case"select":ue.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ue.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ue.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ue.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ue.style.fill=this.uiStyleSettings.closeButtonColor}de.appendChild(ue),this.buttons.push(ue)},Ee.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Ne("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Ne("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ne("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ne("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Ne("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var de=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ne("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
padding: `+de+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Ne("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ne("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ee.prototype.markerToolbarButtonClicked=function(de,le){this.setActiveButton(de),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ye){return ye("marker",le)}),this.markerButtonOverflowBlock.style.display="none"},Ee.prototype.actionToolbarButtonClicked=function(de,le){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ye){return ye("action",le)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ee.prototype.setActiveButton=function(de){this.resetButtonStyles(),de.className=de.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),de.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ee.prototype.setActiveMarkerButton=function(de){var le=this.markerButtons.find(function(ye){return ye.getAttribute("data-type-name")===de});le&&this.setActiveButton(le)},Ee.prototype.setCurrentMarker=function(de){var le=this;this.currentMarker=de,this.buttons.filter(function(ye){return/delete|notes/.test(ye.getAttribute("data-action"))}).forEach(function(ye){le.currentMarker===void 0?(ye.style.fillOpacity="0.4",ye.style.pointerEvents="none"):(ye.style.fillOpacity="1",ye.style.pointerEvents="all")})},Ee}(),et=function(){function Ee(de,le,ye,me){this.panels=[],this.panelButtons=[],this.markerjsContainer=de,this.displayMode=le,this.uiStyleSettings=ye,this.styles=me,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ee.prototype.addStyles=function(){var de;this.toolboxStyleClass=this.styles.addClass(new Ne("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new Ne("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var le=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ne("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ne("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ne("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Ne("toolbox-panel-row_colors",`
background-color: `+((de=this.uiStyleSettings.toolboxBackgroundColor)!==null&&de!==void 0?de:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ne("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
padding: `+le+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ne("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ne("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ee.prototype.show=function(de){var le;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=de,this.uiContainer.className=this.toolboxStyleClass.name+" "+((le=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ee.prototype.setPanelButtons=function(de){var le,ye,me=this;this.panels=de,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((le=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ye=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ye!==void 0?ye:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ue){var Ie;ue.uiStyleSettings=me.uiStyleSettings;var tt=document.createElement("div");tt.className=me.toolboxButtonStyleClass.name+" "+((Ie=me.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ie!==void 0?Ie:me.toolboxButtonStyleColorsClass.name),tt.innerHTML=ue.icon,tt.title=ue.title,tt.addEventListener("click",function(){me.panelButtonClick(ue)}),me.panelButtons.push(tt),me.buttonRow.appendChild(tt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ee.prototype.panelButtonClick=function(de){var le=this,ye=-1;if(de!==this.activePanel){ye=this.panels.indexOf(de),this.panelRow.innerHTML="";var me=de.getUi();me.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(me),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=de}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){le.displayMode==="inline"?le.panelRow.style.display="none":le.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ue,Ie){var tt,Lt;ue.className=le.toolboxButtonStyleClass.name+" "+(Ie===ye?""+((tt=le.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&tt!==void 0?tt:le.toolboxActiveButtonStyleColorsClass.name):""+((Lt=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Lt!==void 0?Lt:le.toolboxButtonStyleColorsClass.name))})},Ee}(),Re=function(Ee,de){this.title=Ee,this.icon=de},je=function(Ee){function de(le,ye,me,ue){var Ie=Ee.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Ie.colors=[],Ie.addTransparent=!1,Ie.colorBoxes=[],Ie.colors=ye,Ie.currentColor=me,Ie.setCurrentColor=Ie.setCurrentColor.bind(Ie),Ie.getColorBox=Ie.getColorBox.bind(Ie),Ie}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");return ye.style.overflow="hidden",ye.style.whiteSpace="nowrap",this.colors.forEach(function(me){var ue=le.getColorBox(me);ye.appendChild(ue),le.colorBoxes.push(ue)}),ye},de.prototype.getColorBox=function(le){var ye=this,me=this.uiStyleSettings.toolbarHeight/4,ue=this.uiStyleSettings.toolbarHeight-me,Ie=document.createElement("div");Ie.style.display="inline-block",Ie.style.boxSizing="content-box",Ie.style.width=ue-2+"px",Ie.style.height=ue-2+"px",Ie.style.padding="1px",Ie.style.marginRight="2px",Ie.style.marginBottom="2px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.borderRadius=(ue+2)/2+"px",Ie.style.borderColor=le===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){ye.setCurrentColor(le,Ie)});var tt=document.createElement("div");return tt.style.display="inline-block",tt.style.width=ue-2+"px",tt.style.height=ue-2+"px",tt.style.backgroundColor=le,tt.style.borderRadius=ue/2+"px",le==="transparent"&&(tt.style.fill=this.uiStyleSettings.toolboxAccentColor,tt.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),Ie.appendChild(tt),Ie},de.prototype.setCurrentColor=function(le,ye){var me=this;this.currentColor=le,this.colorBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(le)},de}(Re),Fe=function(){function Ee(de,le,ye){this._state="new",this._isSelected=!1,this._container=de,this._overlayContainer=le,this.globalSettings=ye,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ee.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ee.prototype.ownsTarget=function(de){return!1},Object.defineProperty(Ee.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ee.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ee.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ee.prototype.pointerDown=function(de,le){},Ee.prototype.dblClick=function(de,le){},Ee.prototype.manipulate=function(de){},Ee.prototype.pointerUp=function(de){this.stateChanged()},Ee.prototype.dispose=function(){},Ee.prototype.addMarkerVisualToContainer=function(de){this.container.childNodes.length>0?this.container.insertBefore(de,this.container.childNodes[0]):this.container.appendChild(de)},Ee.prototype.getState=function(){return{typeName:Ee.typeName,state:this.state,notes:this.notes}},Ee.prototype.restoreState=function(de){this._state=de.state,this.notes=de.notes},Ee.prototype.scale=function(de,le){},Ee.prototype.colorChanged=function(de){this.onColorChanged&&this.onColorChanged(de),this.stateChanged()},Ee.prototype.fillColorChanged=function(de){this.onFillColorChanged&&this.onFillColorChanged(de),this.stateChanged()},Ee.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var de=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),de.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(de)&&this.onStateChanged(this)}},Ee.typeName="MarkerBase",Ee}(),ze=function(){function Ee(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ee.prototype.findGripByVisual=function(de){return this.topLeft.ownsTarget(de)?this.topLeft:this.topCenter.ownsTarget(de)?this.topCenter:this.topRight.ownsTarget(de)?this.topRight:this.centerLeft.ownsTarget(de)?this.centerLeft:this.centerRight.ownsTarget(de)?this.centerRight:this.bottomLeft.ownsTarget(de)?this.bottomLeft:this.bottomCenter.ownsTarget(de)?this.bottomCenter:this.bottomRight.ownsTarget(de)?this.bottomRight:void 0},Ee}(),ft=function(){function Ee(){this.GRIP_SIZE=10,this.visual=Te.createGroup(),this.visual.appendChild(Te.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Te.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ee.prototype.ownsTarget=function(de){return de===this.visual||de===this.visual.childNodes[0]||de===this.visual.childNodes[1]},Ee}(),Ye=function(){function Ee(){}return Ee.toITransformMatrix=function(de){return{a:de.a,b:de.b,c:de.c,d:de.d,e:de.e,f:de.f}},Ee.toSVGMatrix=function(de,le){return de.a=le.a,de.b=le.b,de.c=le.c,de.d=le.d,de.e=le.e,de.f=le.f,de},Ee}(),ut=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.left=0,ue.top=0,ue.width=0,ue.height=0,ue.defaultSize={x:50,y:20},ue.offsetX=0,ue.offsetY=0,ue.rotationAngle=0,ue.CB_DISTANCE=10,ue._suppressMarkerCreateEvent=!1,ue.container.transform.baseVal.appendItem(Te.createTransform()),ue.setupControlBox(),ue}return ot(de,Ee),Object.defineProperty(de.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"visual",{get:function(){return this._visual},set:function(le){this._visual=le;var ye=Te.createTransform();this._visual.transform.baseVal.appendItem(ye)},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(le){return!!Ee.prototype.ownsTarget.call(this,le)||!!(this.controlGrips.findGripByVisual(le)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(le))},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="new"&&(this.left=le.x,this.top=le.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var me=this.unrotatePoint(le);if(this.manipulationStartX=me.x,this.manipulationStartY=me.y,this.offsetX=me.x-this.left,this.offsetY=me.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ye),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ye)){this.activeGrip=this.rotatorGrip;var ue=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ue.x-this.width/2,this.top=ue.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Ie=this.container.transform.baseVal.getItem(0);Ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ie,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},de.prototype.pointerUp=function(le){var ye=this.state;Ee.prototype.pointerUp.call(this,le),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(le),this._state="select",ye==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},de.prototype.moveVisual=function(le){this.visual.style.transform="translate("+le.x+"px, "+le.y+"px)"},de.prototype.manipulate=function(le){var ye=this.unrotatePoint(le);this.state==="creating"?this.resize(le):this.state==="move"?(this.left=this.manipulationStartLeft+(ye.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ye.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ye):this.state==="rotate"&&this.rotate(le)},de.prototype.resize=function(le){var ye=this.manipulationStartLeft,me=this.manipulationStartWidth,ue=this.manipulationStartTop,Ie=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ye=this.manipulationStartLeft+le.x-this.manipulationStartX,me=this.manipulationStartWidth+this.manipulationStartLeft-ye;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:me=this.manipulationStartWidth+le.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ue=this.manipulationStartTop+le.y-this.manipulationStartY,Ie=this.manipulationStartHeight+this.manipulationStartTop-ue;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Ie=this.manipulationStartHeight+le.y-this.manipulationStartY}me>=0?(this.left=ye,this.width=me):(this.left=ye+me,this.width=-me),Ie>=0?(this.top=ue,this.height=Ie):(this.top=ue+Ie,this.height=-Ie),this.setSize()},de.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},de.prototype.rotate=function(le){if(Math.abs(le.x-this.centerX)>.1){var ye=Math.sign(le.x-this.centerX);this.rotationAngle=180*Math.atan((le.y-this.centerY)/(le.x-this.centerX))/Math.PI+90*ye,this.applyRotation()}},de.prototype.applyRotation=function(){var le=this.container.transform.baseVal.getItem(0);le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(le,0)},de.prototype.rotatePoint=function(le){if(this.rotationAngle===0)return le;var ye=this.container.getCTM(),me=Te.createPoint(le.x,le.y);return{x:(me=me.matrixTransform(ye)).x,y:me.y}},de.prototype.unrotatePoint=function(le){if(this.rotationAngle===0)return le;var ye=this.container.getCTM();ye=ye.inverse();var me=Te.createPoint(le.x,le.y);return{x:(me=me.matrixTransform(ye)).x,y:me.y}},de.prototype.select=function(){Ee.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},de.prototype.deselect=function(){Ee.prototype.deselect.call(this),this.controlBox.style.display="none"},de.prototype.setupControlBox=function(){this.controlBox=Te.createGroup();var le=Te.createTransform();le.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(le),this.container.appendChild(this.controlBox),this.controlRect=Te.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=Te.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ze,this.addControlGrips(),this.controlBox.style.display="none"},de.prototype.adjustControlBox=function(){var le=this.controlBox.transform.baseVal.getItem(0);le.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(le,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},de.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},de.prototype.createGrip=function(){var le=new ft;return le.visual.transform.baseVal.appendItem(Te.createTransform()),this.controlBox.appendChild(le.visual),le},de.prototype.positionGrips=function(){var le=this.controlGrips.topLeft.GRIP_SIZE,ye=-le/2,me=ye,ue=(this.width+this.CB_DISTANCE)/2-le/2,Ie=(this.height+this.CB_DISTANCE)/2-le/2,tt=this.height+this.CB_DISTANCE-le/2,Lt=this.width+this.CB_DISTANCE-le/2;this.positionGrip(this.controlGrips.topLeft.visual,ye,me),this.positionGrip(this.controlGrips.topCenter.visual,ue,me),this.positionGrip(this.controlGrips.topRight.visual,Lt,me),this.positionGrip(this.controlGrips.centerLeft.visual,ye,Ie),this.positionGrip(this.controlGrips.centerRight.visual,Lt,Ie),this.positionGrip(this.controlGrips.bottomLeft.visual,ye,tt),this.positionGrip(this.controlGrips.bottomCenter.visual,ue,tt),this.positionGrip(this.controlGrips.bottomRight.visual,Lt,tt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ue,me-3*this.CB_DISTANCE)},de.prototype.positionGrip=function(le,ye,me){var ue=le.transform.baseVal.getItem(0);ue.setTranslate(ye,me),le.transform.baseVal.replaceItem(ue,0)},de.prototype.hideControlBox=function(){this.controlBox.style.display="none"},de.prototype.showControlBox=function(){this.controlBox.style.display=""},de.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ye.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ye.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ee.prototype.getState.call(this))},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le);var ye=le;this.left=ye.left,this.top=ye.top,this.width=ye.width,this.height=ye.height,this.rotationAngle=ye.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ye.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ye.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ye.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ye.containerTransformMatrix))},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye);var me=this.rotatePoint({x:this.left,y:this.top}),ue=this.unrotatePoint({x:me.x*le,y:me.y*ye});this.left=ue.x,this.top=ue.y,this.width=this.width*le,this.height=this.height*ye,this.adjustControlBox()},de}(Fe),vt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.opacity=1,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual)},de.prototype.createVisual=function(){this.visual=Te.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},de.prototype.manipulate=function(le){Ee.prototype.manipulate.call(this,le)},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),this.setSize()},de.prototype.setSize=function(){Ee.prototype.setSize.call(this),Te.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},de.prototype.pointerUp=function(le){Ee.prototype.pointerUp.call(this,le),this.setSize()},de.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&Te.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},de.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&Te.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},de.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&Te.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&Te.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},de.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ee.prototype.getState.call(this))},de.prototype.restoreState=function(le){var ye=le;this.fillColor=ye.fillColor,this.strokeColor=ye.strokeColor,this.strokeWidth=ye.strokeWidth,this.strokeDasharray=ye.strokeDasharray,this.opacity=ye.opacity,this.createVisual(),Ee.prototype.restoreState.call(this,le),this.setSize()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.setSize()},de.title="Rectangle marker",de}(ut),xt=function(Ee){function de(le,ye,me,ue){var Ie=Ee.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Ie.widths=[],Ie.widthBoxes=[],Ie.widths=ye,Ie.currentWidth=me,Ie.setCurrentWidth=Ie.setCurrentWidth.bind(Ie),Ie}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");return ye.style.display="flex",ye.style.overflow="hidden",ye.style.flexGrow="2",this.widths.forEach(function(me){var ue=document.createElement("div");ue.style.display="flex",ue.style.flexGrow="2",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderColor=me===le.currentWidth?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentWidth(me,ue)}),ye.appendChild(ue);var Ie=document.createElement("div");Ie.innerText=me.toString(),Ie.style.marginRight="5px",ue.appendChild(Ie);var tt=document.createElement("div");tt.style.minHeight="20px",tt.style.flexGrow="2",tt.style.display="flex",tt.style.alignItems="center";var Lt=document.createElement("hr");Lt.style.minWidth="20px",Lt.style.border="0px",Lt.style.borderTop=me+"px solid "+le.uiStyleSettings.toolboxColor,Lt.style.flexGrow="2",tt.appendChild(Lt),ue.appendChild(tt),le.widthBoxes.push(ue)}),ye},de.prototype.setCurrentWidth=function(le,ye){var me=this;this.currentWidth=le,this.widthBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},de}(Re),yt=function(Ee){function de(le,ye,me,ue){var Ie=Ee.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Ie.styles=[],Ie.styleBoxes=[],Ie.styles=ye,Ie.currentStyle=me,Ie.setCurrentStyle=Ie.setCurrentStyle.bind(Ie),Ie}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");return ye.style.display="flex",ye.style.overflow="hidden",ye.style.flexGrow="2",this.styles.forEach(function(me){var ue=document.createElement("div");ue.style.display="flex",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.overflow="hidden",ue.style.maxWidth=100/le.styles.length-5+"%",ue.style.borderColor=me===le.currentStyle?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentStyle(me,ue)}),ye.appendChild(ue);var Ie=document.createElement("div");Ie.style.minHeight="20px",Ie.style.flexGrow="2",Ie.style.overflow="hidden";var tt=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+le.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(me!==""?'stroke-dasharray="'+me+'"':"")+` />
</svg>`;Ie.innerHTML=tt,ue.appendChild(Ie),le.styleBoxes.push(ue)}),ye},de.prototype.setCurrentStyle=function(le,ye){var me=this;this.currentStyle=le,this.styleBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},de}(Re),_t=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.strokeColor=me.defaultColor,ue.strokeWidth=me.defaultStrokeWidth,ue.strokeDasharray=me.defaultStrokeDasharray,ue.strokePanel=new je("Line color",me.defaultColorSet,me.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new yt("Line style",me.defaultStrokeDasharrays,me.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return ot(de,Ee),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Ee.prototype.getState.call(this);return le.typeName=de.typeName,le},de.typeName="FrameMarker",de.title="Frame marker",de.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',de}(vt),Jt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Tt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.x1=0,ue.y1=0,ue.x2=0,ue.y2=0,ue.defaultLength=50,ue.manipulationStartX=0,ue.manipulationStartY=0,ue.manipulationStartX1=0,ue.manipulationStartY1=0,ue.manipulationStartX2=0,ue.manipulationStartY2=0,ue.setupControlBox(),ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!!Ee.prototype.ownsTarget.call(this,le)||!(!this.grip1.ownsTarget(le)&&!this.grip2.ownsTarget(le))},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.manipulationStartX=le.x,this.manipulationStartY=le.y,this.state==="new"&&(this.x1=le.x,this.y1=le.y,this.x2=le.x,this.y2=le.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ye)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ye)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},de.prototype.pointerUp=function(le){var ye=this.state;Ee.prototype.pointerUp.call(this,le),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(le),this._state="select",ye==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},de.prototype.adjustVisual=function(){},de.prototype.manipulate=function(le){this.state==="creating"?this.resize(le):this.state==="move"?(this.x1=this.manipulationStartX1+le.x-this.manipulationStartX,this.y1=this.manipulationStartY1+le.y-this.manipulationStartY,this.x2=this.manipulationStartX2+le.x-this.manipulationStartX,this.y2=this.manipulationStartY2+le.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(le)},de.prototype.resize=function(le){switch(this.activeGrip){case this.grip1:this.x1=le.x,this.y1=le.y;break;case this.grip2:case void 0:this.x2=le.x,this.y2=le.y}this.adjustVisual(),this.adjustControlBox()},de.prototype.select=function(){Ee.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},de.prototype.deselect=function(){Ee.prototype.deselect.call(this),this.controlBox.style.display="none"},de.prototype.setupControlBox=function(){this.controlBox=Te.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},de.prototype.adjustControlBox=function(){this.positionGrips()},de.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},de.prototype.createGrip=function(){var le=new ft;return le.visual.transform.baseVal.appendItem(Te.createTransform()),this.controlBox.appendChild(le.visual),le},de.prototype.positionGrips=function(){var le=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-le/2,this.y1-le/2),this.positionGrip(this.grip2.visual,this.x2-le/2,this.y2-le/2)},de.prototype.positionGrip=function(le,ye,me){var ue=le.transform.baseVal.getItem(0);ue.setTranslate(ye,me),le.transform.baseVal.replaceItem(ue,0)},de.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ee.prototype.getState.call(this))},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le);var ye=le;this.x1=ye.x1,this.y1=ye.y1,this.x2=ye.x2,this.y2=ye.y2},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.x1=this.x1*le,this.y1=this.y1*ye,this.x2=this.x2*le,this.y2=this.y2*ye,this.adjustVisual(),this.adjustControlBox()},de}(Fe),Bt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.strokeColor=me.defaultColor,ue.strokeWidth=me.defaultStrokeWidth,ue.strokeDasharray=me.defaultStrokeDasharray,ue.strokePanel=new je("Line color",me.defaultColorSet,me.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new yt("Line style",me.defaultStrokeDasharrays,me.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorLine&&le!==this.visibleLine)},de.prototype.createVisual=function(){this.visual=Te.createGroup(),this.selectorLine=Te.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Te.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},de.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Te.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Te.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Te.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},de.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},de.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},de.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le);var ye=le;this.strokeColor=ye.strokeColor,this.strokeWidth=ye.strokeWidth,this.strokeDasharray=ye.strokeDasharray,this.createVisual(),this.adjustVisual()},de.typeName="LineMarker",de.title="Line marker",de.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',de}(Tt),Je=function(Ee){function de(le,ye,me,ue){var Ie=Ee.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Ie.fonts=[],Ie.fontBoxes=[],Ie.fonts=ye,Ie.currentFont=me,Ie.setCurrentFont=Ie.setCurrentFont.bind(Ie),Ie}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");return ye.style.overflow="hidden",ye.style.flexGrow="2",this.fonts.forEach(function(me){var ue=document.createElement("div");ue.style.display="inline-block",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.overflow="hidden",ue.style.maxWidth=100/le.fonts.length-5+"%",ue.style.borderColor=me===le.currentFont?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentFont(me,ue)}),ye.appendChild(ue);var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.minHeight="20px",Ie.style.flexGrow="2",Ie.style.fontFamily=me,Ie.style.overflow="hidden";var tt=document.createElement("div");tt.style.whiteSpace="nowrap",tt.style.overflow="hidden",tt.style.textOverflow="ellipsis",tt.innerHTML="The quick brown fox jumps over the lazy dog",Ie.appendChild(tt),ue.appendChild(Ie),le.fontBoxes.push(ue)}),ye},de.prototype.setCurrentFont=function(le,ye){var me=this;this.currentFont=le,this.fontBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},de}(Re),Ot=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.color="transparent",ue.padding=5,ue.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ue.text=ue.DEFAULT_TEXT,ue.isMoved=!1,ue.color=me.defaultColor,ue.fontFamily=me.defaultFontFamily,ue.defaultSize={x:100,y:30},ue.setColor=ue.setColor.bind(ue),ue.setFont=ue.setFont.bind(ue),ue.renderText=ue.renderText.bind(ue),ue.sizeText=ue.sizeText.bind(ue),ue.textEditDivClicked=ue.textEditDivClicked.bind(ue),ue.showTextEditor=ue.showTextEditor.bind(ue),ue.setSize=ue.setSize.bind(ue),ue.positionTextEditor=ue.positionTextEditor.bind(ue),ue.colorPanel=new je("Color",me.defaultColorSet,me.defaultColor),ue.colorPanel.onColorChanged=ue.setColor,ue.fontFamilyPanel=new Je("Font",me.defaultFontFamilies,me.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){if(Ee.prototype.ownsTarget.call(this,le)||le===this.visual||le===this.textElement||le===this.bgRectangle)return!0;var ye=!1;return this.textElement.childNodes.forEach(function(me){me===le&&(ye=!0)}),ye},de.prototype.createVisual=function(){this.visual=Te.createGroup(),this.bgRectangle=Te.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Te.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Te.createTransform()),this.textElement.transform.baseVal.appendItem(Te.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},de.prototype.renderText=function(){var le=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ye){le.textElement.appendChild(Te.createTSpan(ye.trim()===""?" ":ye.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},de.prototype.getTextScale=function(){var le=this.textElement.getBBox(),ye=1;if(le.width>0&&le.height>0){var me=(1*this.width-this.width*this.padding*2/100)/le.width,ue=(1*this.height-this.height*this.padding*2/100)/le.height;ye=Math.min(me,ue)}return ye},de.prototype.getTextPosition=function(le){var ye=this.textElement.getBBox(),me=0,ue=0;return ye.width>0&&ye.height>0&&(me=(this.width-ye.width*le)/2,ue=this.height/2-ye.height*le/2),{x:me,y:ue}},de.prototype.sizeText=function(){var le=this.textElement.getBBox(),ye=this.getTextScale(),me=this.getTextPosition(ye);me.y-=le.y*ye,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+me.x+"px, "+me.y+"px) scale("+ye+", "+ye+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(me.x,me.y),this.textElement.transform.baseVal.getItem(1).setScale(ye,ye))},de.prototype.manipulate=function(le){Ee.prototype.manipulate.call(this,le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(le.x-this.pointerDownPoint.x)>5||Math.abs(le.y-this.pointerDownPoint.y)>5)},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),this.isMoved=!0,this.setSize(),this.sizeText()},de.prototype.setSize=function(){Ee.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Te.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Te.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},de.prototype.pointerUp=function(le){var ye=this.state;ye==="creating"&&(this._suppressMarkerCreateEvent=!0),Ee.prototype.pointerUp.call(this,le),this.setSize(),(ye==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},de.prototype.showTextEditor=function(){var le=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ye){ye.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ye=Number.parseFloat(le.textEditor.style.fontSize);le.textEditor.clientWidth>=Number.parseInt(le.textEditor.style.maxWidth)&&ye>.9;)ye-=.1,le.textEditor.style.fontSize=Math.max(ye,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ye){ye.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ye){if(ye.clipboardData){var me=ye.clipboardData.getData("text"),ue=window.getSelection();if(!ue.rangeCount)return!1;ue.deleteFromDocument(),ue.getRangeAt(0).insertNode(document.createTextNode(me)),ye.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){le.textEditDivClicked(le.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},de.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var le=this.getTextScale(),ye=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),me=this.textElement.getBBox(),ue={x:me.width*le,y:me.height*le};ye.x-=ue.x/2,ye.y-=ue.y/2,this.textEditor.style.top=ye.y+"px",this.textEditor.style.left=ye.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ye.x+"px",this.textEditor.style.fontSize=Math.max(16*le,12)+"px",this.textElement.style.display="none"}},de.prototype.textEditDivClicked=function(le){this.text=le.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},de.prototype.select=function(){Ee.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},de.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ee.prototype.deselect.call(this)},de.prototype.dblClick=function(le,ye){Ee.prototype.dblClick.call(this,le,ye),this.showTextEditor()},de.prototype.setColor=function(le){this.textElement&&Te.setAttributes(this.textElement,[["fill",le]]),this.color=le,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(le)},de.prototype.setFont=function(le){this.textElement&&Te.setAttributes(this.textElement,[["font-family",le]]),this.fontFamily=le,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},de.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},de.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){var ye=le;this.color=ye.color,this.fontFamily=ye.fontFamily,this.padding=ye.padding,this.text=ye.text,this.createVisual(),Ee.prototype.restoreState.call(this,le),this.setSize()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.setSize(),this.sizeText(),this.positionTextEditor()},de.typeName="TextMarker",de.title="Text marker",de.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',de}(ut),pt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.color="transparent",ue.lineWidth=3,ue.drawing=!1,ue.pixelRatio=1,ue.color=me.defaultColor,ue.lineWidth=me.defaultStrokeWidth,ue.pixelRatio=me.freehandPixelRatio,ue.setColor=ue.setColor.bind(ue),ue.addCanvas=ue.addCanvas.bind(ue),ue.finishCreation=ue.finishCreation.bind(ue),ue.setLineWidth=ue.setLineWidth.bind(ue),ue.colorPanel=new je("Color",me.defaultColorSet,me.defaultColor),ue.colorPanel.onColorChanged=ue.setColor,ue.lineWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.lineWidthPanel.onWidthChanged=ue.setLineWidth,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.drawingImage)},de.prototype.createVisual=function(){this.visual=Te.createGroup(),this.drawingImage=Te.createImage(),this.visual.appendChild(this.drawingImage);var le=Te.createTransform();this.visual.transform.baseVal.appendItem(le),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(le,ye){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(le.x,le.y),this.drawing=!0):Ee.prototype.pointerDown.call(this,le,ye)},de.prototype.manipulate=function(le){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(le.x,le.y),this.canvasContext.stroke()):Ee.prototype.manipulate.call(this,le)},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),Te.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Te.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},de.prototype.pointerUp=function(le){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ee.prototype.pointerUp.call(this,le)},de.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},de.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ee.prototype.select.call(this)},de.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ee.prototype.deselect.call(this)},de.prototype.finishCreation=function(){for(var le=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ye=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],me=ye[0],ue=ye[1],Ie=ye[2],tt=ye[3],Lt=!1,Pt=0;Pt<this.canvasElement.height;Pt++)for(var en=0;en<this.canvasElement.width;en++)le.data[Pt*this.canvasElement.width*4+4*en+3]>0&&(Lt=!0,Pt<ue&&(ue=Pt),en<me&&(me=en),Pt>tt&&(tt=Pt),en>Ie&&(Ie=en));if(Lt){this.left=me/this.pixelRatio,this.top=ue/this.pixelRatio,this.width=(Ie-me)/this.pixelRatio,this.height=(tt-ue)/this.pixelRatio;var dn=document.createElement("canvas");dn.width=Ie-me,dn.height=tt-ue,dn.getContext("2d").putImageData(this.canvasContext.getImageData(me,ue,Ie-me,tt-ue),0,0),this.drawingImgUrl=dn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},de.prototype.setDrawingImage=function(){Te.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Te.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},de.prototype.setColor=function(le){this.color=le,this.colorChanged(le)},de.prototype.setLineWidth=function(le){this.lineWidth=le},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({drawingImgUrl:this.drawingImgUrl},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){this.createVisual(),Ee.prototype.restoreState.call(this,le),this.drawingImgUrl=le.drawingImgUrl,this.setDrawingImage()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.setDrawingImage()},de.typeName="FreehandMarker",de.title="Freehand marker",de.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',de}(ut),jt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,me||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ue.typeBoxes=[],ue.currentType=ye,ue.setCurrentType=ue.setCurrentType.bind(ue),ue}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");ye.style.display="flex",ye.style.overflow="hidden",ye.style.flexGrow="2";for(var me=function(tt){var Lt="both";switch(tt){case 0:Lt="both";break;case 1:Lt="start";break;case 2:Lt="end";break;case 3:Lt="none"}var Pt=document.createElement("div");if(Pt.style.display="flex",Pt.style.flexGrow="2",Pt.style.alignItems="center",Pt.style.justifyContent="space-between",Pt.style.padding="5px",Pt.style.borderWidth="2px",Pt.style.borderStyle="solid",Pt.style.borderColor=Lt===ue.currentType?ue.uiStyleSettings.toolboxAccentColor:"transparent",Pt.addEventListener("click",function(){le.setCurrentType(Lt,Pt)}),ye.appendChild(Pt),Lt==="both"||Lt==="start"){var en=document.createElement("div");en.style.display="flex",en.style.alignItems="center",en.style.minHeight="20px",en.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,en.style.marginLeft="5px",Pt.appendChild(en)}var dn=document.createElement("div");dn.style.display="flex",dn.style.alignItems="center",dn.style.minHeight="20px",dn.style.flexGrow="2";var Qt=document.createElement("hr");if(Qt.style.minWidth="20px",Qt.style.border="0px",Qt.style.borderTop="3px solid "+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee"),Qt.style.flexGrow="2",dn.appendChild(Qt),Pt.appendChild(dn),Lt==="both"||Lt==="end"){var zn=document.createElement("div");zn.style.display="flex",zn.style.alignItems="center",zn.style.minHeight="20px",zn.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,zn.style.marginRight="5px",Pt.appendChild(zn)}ue.typeBoxes.push(Pt)},ue=this,Ie=0;Ie<4;Ie++)me(Ie);return ye},de.prototype.setCurrentType=function(le,ye){var me=this;this.currentType=le,this.typeBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings!==void 0?me.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},de}(Re),dt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.arrowType="end",ue.arrowBaseHeight=10,ue.arrowBaseWidth=10,ue.getArrowPoints=ue.getArrowPoints.bind(ue),ue.setArrowType=ue.setArrowType.bind(ue),ue.arrowTypePanel=new jt("Arrow type","end"),ue.arrowTypePanel.onArrowTypeChanged=ue.setArrowType,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.arrow1&&le!==this.arrow2)},de.prototype.getArrowPoints=function(le,ye){var me=this.arrowBaseWidth+2*this.strokeWidth,ue=this.arrowBaseHeight+2*this.strokeWidth;return le-me/2+","+(ye+ue/2)+" "+le+","+(ye-ue/2)+" "+(le+me/2)+","+(ye+ue/2)},de.prototype.createTips=function(){this.arrow1=Te.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Te.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Te.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Te.createTransform()),this.visual.appendChild(this.arrow2)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="creating"&&this.createTips()},de.prototype.adjustVisual=function(){if(Ee.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",Te.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Te.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var le=0;Math.abs(this.x1-this.x2)>.1&&(le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ye=this.arrow1.transform.baseVal.getItem(0);ye.setRotate(le,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ye,0);var me=this.arrow2.transform.baseVal.getItem(0);me.setRotate(le+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(me,0)}},de.prototype.setArrowType=function(le){this.arrowType=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({arrowType:this.arrowType},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le);var ye=le;this.arrowType=ye.arrowType,this.createTips(),this.adjustVisual()},de.typeName="ArrowMarker",de.title="Arrow marker",de.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',de}(Bt),gn=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.fillColor=me.defaultFillColor,ue.strokeWidth=0,ue.fillPanel=new je("Color",me.defaultColorSet,me.defaultFillColor),ue.fillPanel.onColorChanged=ue.setFillColor,ue}return ot(de,Ee),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Ee.prototype.getState.call(this);return le.typeName=de.typeName,le},de.typeName="CoverMarker",de.title="Cover marker",de.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',de}(vt),Tn=function(Ee){function de(le,ye,me,ue){var Ie=Ee.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Ie.opacities=[],Ie.opacityBoxes=[],Ie.opacities=ye,Ie.currentOpacity=me,Ie.setCurrentOpacity=Ie.setCurrentOpacity.bind(Ie),Ie}return ot(de,Ee),de.prototype.getUi=function(){var le=this,ye=document.createElement("div");return ye.style.display="flex",ye.style.overflow="hidden",ye.style.flexGrow="2",ye.style.justifyContent="space-between",this.opacities.forEach(function(me){var ue=document.createElement("div");ue.style.display="flex",ue.style.alignItems="center",ue.style.justifyContent="center",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderColor=me===le.currentOpacity?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentOpacity(me,ue)}),ye.appendChild(ue);var Ie=document.createElement("div");Ie.innerText=100*me+"%",ue.appendChild(Ie),le.opacityBoxes.push(ue)}),ye},de.prototype.setCurrentOpacity=function(le,ye){var me=this;this.currentOpacity=le,this.opacityBoxes.forEach(function(ue){ue.style.borderColor=ue===ye?me.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},de}(Re),$n=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.setOpacity=ue.setOpacity.bind(ue),ue.fillColor=me.defaultHighlightColor,ue.strokeWidth=0,ue.opacity=me.defaultHighlightOpacity,ue.fillPanel=new je("Color",me.defaultColorSet,ue.fillColor),ue.fillPanel.onColorChanged=ue.setFillColor,ue.opacityPanel=new Tn("Opacity",me.defaultOpacitySteps,ue.opacity),ue.opacityPanel.onOpacityChanged=ue.setOpacity,ue}return ot(de,Ee),de.prototype.setOpacity=function(le){this.opacity=le,this.visual&&Te.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Ee.prototype.getState.call(this);return le.typeName=de.typeName,le},de.typeName="HighlightMarker",de.title="Highlight marker",de.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',de}(gn),ke='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',xe='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',$e=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.bgColor="transparent",ue.tipPosition={x:0,y:0},ue.tipBase1Position={x:0,y:0},ue.tipBase2Position={x:0,y:0},ue.tipMoving=!1,ue.color=me.defaultStrokeColor,ue.bgColor=me.defaultFillColor,ue.fontFamily=me.defaultFontFamily,ue.defaultSize={x:100,y:30},ue.setBgColor=ue.setBgColor.bind(ue),ue.getTipPoints=ue.getTipPoints.bind(ue),ue.positionTip=ue.positionTip.bind(ue),ue.setTipPoints=ue.setTipPoints.bind(ue),ue.colorPanel=new je("Text color",me.defaultColorSet,ue.color,ke),ue.colorPanel.onColorChanged=ue.setColor,ue.bgColorPanel=new je("Fill color",me.defaultColorSet,ue.bgColor,xe),ue.bgColorPanel.onColorChanged=ue.setBgColor,ue.fontFamilyPanel=new Je("Font",me.defaultFontFamilies,me.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue.tipGrip=new ft,ue.tipGrip.visual.transform.baseVal.appendItem(Te.createTransform()),ue.controlBox.appendChild(ue.tipGrip.visual),ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return Ee.prototype.ownsTarget.call(this,le)||this.tipGrip.ownsTarget(le)||this.tip===le},de.prototype.createTip=function(){Te.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Te.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},de.prototype.pointerDown=function(le,ye){this.state==="new"&&Ee.prototype.pointerDown.call(this,le,ye),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ye)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ee.prototype.pointerDown.call(this,le,ye)},de.prototype.pointerUp=function(le){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ee.prototype.pointerUp.call(this,le);else{var ye=this.state==="creating";Ee.prototype.pointerUp.call(this,le),this.setTipPoints(ye),this.positionTip()}},de.prototype.manipulate=function(le){if(this.tipMoving){var ye=this.unrotatePoint(le);this.tipPosition={x:ye.x-this.manipulationStartLeft,y:ye.y-this.manipulationStartTop},this.positionTip()}else Ee.prototype.manipulate.call(this,le)},de.prototype.setBgColor=function(le){this.bgRectangle&&this.tip&&(Te.setAttributes(this.bgRectangle,[["fill",le]]),Te.setAttributes(this.tip,[["fill",le]])),this.bgColor=le,this.fillColorChanged(le)},de.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},de.prototype.setTipPoints=function(le){le===void 0&&(le=!1);var ye=Math.min(this.height/2,15),me=this.height/5;le&&(this.tipPosition={x:ye+me/2,y:this.height+20});var ue=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ue<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(me=this.width/5,ye=Math.min(this.width/2,15),this.tipBase1Position={x:ye,y:0},this.tipBase2Position={x:ye+me,y:0}):(this.tipBase1Position={x:0,y:ye},this.tipBase2Position={x:0,y:ye+me}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ue<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(me=this.width/5,ye=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ye-me,y:0},this.tipBase2Position={x:this.width-ye,y:0}):(this.tipBase1Position={x:this.width,y:ye},this.tipBase2Position={x:this.width,y:ye+me}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ue<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(me=this.width/5,ye=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ye-me,y:this.height},this.tipBase2Position={x:this.width-ye,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ye-me},this.tipBase2Position={x:this.width,y:this.height-ye}):ue<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(me=this.width/5,ye=Math.min(this.width/2,15),this.tipBase1Position={x:ye,y:this.height},this.tipBase2Position={x:ye+me,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ye},this.tipBase2Position={x:0,y:this.height-ye-me})},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),this.positionTip()},de.prototype.positionTip=function(){Te.setAttributes(this.tip,[["points",this.getTipPoints()]]);var le=this.tipGrip.visual.transform.baseVal.getItem(0);le.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(le,0)},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),de.prototype.select=function(){this.positionTip(),Ee.prototype.select.call(this)},de.prototype.getState=function(){var le=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){var ye=le;this.bgColor=ye.bgColor,this.tipPosition=ye.tipPosition,Ee.prototype.restoreState.call(this,le),this.createTip(),this.setTipPoints()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.tipPosition={x:this.tipPosition.x*le,y:this.tipPosition.y*ye},this.positionTip()},de.typeName="CalloutMarker",de.title="Callout marker",de.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',de}(Ot),ht=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.opacity=1,ue.strokeColor=me.defaultColor,ue.strokeWidth=me.defaultStrokeWidth,ue.strokeDasharray=me.defaultStrokeDasharray,ue.fillColor=me.defaultFillColor,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.setOpacity=ue.setOpacity.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue.strokePanel=new je("Line color",Pe(me.defaultColorSet,["transparent"]),me.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.fillPanel=new je("Fill color",Pe(me.defaultColorSet,["transparent"]),ue.fillColor,xe),ue.fillPanel.onColorChanged=ue.setFillColor,ue.strokeWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new yt("Line style",me.defaultStrokeDasharrays,me.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue.opacityPanel=new Tn("Opacity",me.defaultOpacitySteps,ue.opacity),ue.opacityPanel.onOpacityChanged=ue.setOpacity,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual)},de.prototype.createVisual=function(){this.visual=Te.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},de.prototype.manipulate=function(le){Ee.prototype.manipulate.call(this,le)},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),this.setSize()},de.prototype.setSize=function(){Ee.prototype.setSize.call(this),Te.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},de.prototype.pointerUp=function(le){Ee.prototype.pointerUp.call(this,le),this.setSize()},de.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&Te.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},de.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&Te.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},de.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&Te.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&Te.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},de.prototype.setOpacity=function(le){this.opacity=le,this.visual&&Te.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){var ye=le;this.fillColor=ye.fillColor,this.strokeColor=ye.strokeColor,this.strokeWidth=ye.strokeWidth,this.strokeDasharray=ye.strokeDasharray,this.opacity=ye.opacity,this.createVisual(),Ee.prototype.restoreState.call(this,le),this.setSize()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.setSize()},de.typeName="EllipseMarker",de.title="Ellipse marker",de.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',de}(ut),kt=function(Ee){function de(le,ye,me){return Ee.call(this,le,ye,me)||this}return ot(de,Ee),Object.defineProperty(de.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.tip1&&le!==this.tip2)},de.prototype.createTips=function(){this.tip1=Te.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(Te.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Te.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(Te.createTransform()),this.visual.appendChild(this.tip2)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.state==="creating"&&this.createTips()},de.prototype.adjustVisual=function(){if(Ee.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Te.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Te.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ye=this.tip1.transform.baseVal.getItem(0);ye.setRotate(le,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ye,0);var me=this.tip2.transform.baseVal.getItem(0);me.setRotate(le+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(me,0)}},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Ee.prototype.getState.call(this);return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le),this.createTips(),this.adjustVisual()},de.typeName="MeasurementMarker",de.title="Measurement marker",de.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',de}(Bt),rt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.strokePanel.colors=me.defaultColorSet,ue.fillColor="transparent",ue}return ot(de,Ee),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Ee.prototype.getState.call(this);return le.typeName=de.typeName,le},de.typeName="EllipseFrameMarker",de.title="Ellipse frame marker",de.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',de}(ht),Ue=function(){function Ee(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ee.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ee.prototype.addUndoStep=function(de){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(de)||(this.undoStack.push(de),JSON.stringify(this.lastRedoStep)!==JSON.stringify(de)&&this.redoStack.splice(0,this.redoStack.length))},Ee.prototype.replaceLastUndoStep=function(de){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=de)},Ee.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ee.prototype.undo=function(){if(this.undoStack.length>1){var de=this.undoStack.pop();return de!==void 0&&this.redoStack.push(de),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ee.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ee}(),Ct=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.curveX=0,ue.curveY=0,ue.manipulationStartCurveX=0,ue.manipulationStartCurveY=0,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.positionGrips=ue.positionGrips.bind(ue),ue.addControlGrips=ue.addControlGrips.bind(ue),ue.adjustVisual=ue.adjustVisual.bind(ue),ue.setupControlBox=ue.setupControlBox.bind(ue),ue.resize=ue.resize.bind(ue),ue.strokeColor=me.defaultColor,ue.strokeWidth=me.defaultStrokeWidth,ue.strokeDasharray=me.defaultStrokeDasharray,ue.strokePanel=new je("Line color",me.defaultColorSet,me.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new yt("Line style",me.defaultStrokeDasharrays,me.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorCurve&&le!==this.visibleCurve&&!this.curveGrip.ownsTarget(le))},de.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},de.prototype.createVisual=function(){this.visual=Te.createGroup(),this.selectorCurve=Te.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Te.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=le.x,this.curveY=le.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ye)&&(this.activeGrip=this.curveGrip,this._state="resize")},de.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Te.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Te.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Te.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},de.prototype.setupControlBox=function(){Ee.prototype.setupControlBox.call(this),this.curveControlLine1=Te.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Te.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},de.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ee.prototype.addControlGrips.call(this)},de.prototype.positionGrips=function(){Ee.prototype.positionGrips.call(this);var le=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-le/2,this.curveY-le/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},de.prototype.manipulate=function(le){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+le.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+le.y-this.manipulationStartY),Ee.prototype.manipulate.call(this,le)},de.prototype.resize=function(le){this.activeGrip===this.curveGrip&&(this.curveX=le.x,this.curveY=le.y),Ee.prototype.resize.call(this,le),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},de.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},de.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},de.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual()},de.prototype.scale=function(le,ye){this.curveX=this.curveX*le,this.curveY=this.curveY*ye,Ee.prototype.scale.call(this,le,ye)},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ee.prototype.getState.call(this));return le.typeName=de.typeName,le},de.prototype.restoreState=function(le){Ee.prototype.restoreState.call(this,le);var ye=le;this.strokeColor=ye.strokeColor,this.strokeWidth=ye.strokeWidth,this.strokeDasharray=ye.strokeDasharray,this.curveX=ye.curveX,this.curveY=ye.curveY,this.createVisual(),this.adjustVisual()},de.typeName="CurveMarker",de.title="Curve marker",de.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',de}(Tt),fn=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,ye,me)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.textColor="transparent",ue.fontSize="1rem",ue.isMoved=!1,ue.captionText="Caption",ue.PADDING=5,ue.captionBoxWidth=0,ue.captionBoxHeight=0,ue.strokeColor=me.defaultColor,ue.strokeWidth=me.defaultStrokeWidth,ue.strokeDasharray=me.defaultStrokeDasharray,ue.fillColor=me.defaultFillColor,ue.textColor=me.defaultStrokeColor,ue.fontFamily=me.defaultFontFamily,ue.fontSize=me.defaultCaptionFontSize,ue.captionText=me.defaultCaptionText,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue.sizeCaption=ue.sizeCaption.bind(ue),ue.setCaptionText=ue.setCaptionText.bind(ue),ue.showTextEditor=ue.showTextEditor.bind(ue),ue.positionTextEditor=ue.positionTextEditor.bind(ue),ue.finishTextEditing=ue.finishTextEditing.bind(ue),ue.setFont=ue.setFont.bind(ue),ue.setTextColor=ue.setTextColor.bind(ue),ue.strokePanel=new je("Line color",Pe(me.defaultColorSet,["transparent"]),ue.strokeColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.fillPanel=new je("Fill color",Pe(me.defaultColorSet,["transparent"]),ue.fillColor,xe),ue.fillPanel.onColorChanged=ue.setFillColor,ue.strokeWidthPanel=new xt("Line width",me.defaultStrokeWidths,me.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new yt("Line style",me.defaultStrokeDasharrays,me.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue.fontFamilyPanel=new Je("Font",me.defaultFontFamilies,me.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue.textColorPanel=new je("Text color",me.defaultColorSet,ue.textColor,ke),ue.textColorPanel.onColorChanged=ue.setTextColor,ue}return ot(de,Ee),de.prototype.ownsTarget=function(le){return!(!Ee.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.frame&&le!==this.captionBg&&le!==this.captionElement)},de.prototype.createVisual=function(){this.visual=Te.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Te.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Te.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=Te.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},de.prototype.setCaptionText=function(le){this.captionText=le,this.captionElement.textContent=this.captionText,this.sizeCaption()},de.prototype.pointerDown=function(le,ye){Ee.prototype.pointerDown.call(this,le,ye),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},de.prototype.manipulate=function(le){Ee.prototype.manipulate.call(this,le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(le.x-this.pointerDownPoint.x)>5||Math.abs(le.y-this.pointerDownPoint.y)>5)},de.prototype.resize=function(le){Ee.prototype.resize.call(this,le),this.setSize()},de.prototype.sizeCaption=function(){var le=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=le.width+2*this.PADDING,this.captionBoxHeight=le.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Te.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),Te.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},de.prototype.showTextEditor=function(){var le=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ye){ye.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ye){ye.key==="Enter"&&le.finishTextEditing(le.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ye){ye.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){le.finishTextEditing(le.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){le.finishTextEditing(le.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},de.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},de.prototype.finishTextEditing=function(le){this.setCaptionText(le.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},de.prototype.setFont=function(le){this.captionElement&&Te.setAttributes(this.captionElement,[["font-family",le]]),this.fontFamily=le,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},de.prototype.setTextColor=function(le){this.captionElement&&Te.setAttributes(this.captionElement,[["fill",le]]),this.textColor=le,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},de.prototype.setSize=function(){Ee.prototype.setSize.call(this),Te.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},de.prototype.pointerUp=function(le){Ee.prototype.pointerUp.call(this,le),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},de.prototype.dblClick=function(le,ye){Ee.prototype.dblClick.call(this,le,ye),this.showTextEditor()},de.prototype.setStrokeColor=function(le){this.strokeColor=le,this.frame&&Te.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},de.prototype.setFillColor=function(le){this.fillColor=le,this.captionBg&&Te.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},de.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.frame&&Te.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.frame&&Te.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Ee.prototype.getState.call(this));return le.typeName=this.typeName,le},de.prototype.restoreState=function(le){var ye=le;this.fillColor=ye.fillColor,this.strokeColor=ye.strokeColor,this.strokeWidth=ye.strokeWidth,this.strokeDasharray=ye.strokeDasharray,this.textColor=ye.textColor,this.fontFamily=ye.fontFamily,this.captionText=ye.captionText,this.fontSize=ye.fontSize,this.createVisual(),Ee.prototype.restoreState.call(this,le),this.setSize()},de.prototype.scale=function(le,ye){Ee.prototype.scale.call(this,le,ye),this.setSize()},de.typeName="CaptionFrameMarker",de.title="Caption frame marker",de.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',de}(ut),Et=function(){function Ee(de,le){le===void 0&&(le=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=de,this.cancelable=le}return Object.defineProperty(Ee.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ee.prototype.preventDefault=function(){this._defaultPrevented=!0},Ee}(),Nt=function(Ee){function de(le,ye,me){var ue=Ee.call(this,le,!1)||this;return ue.dataUrl=ye,ue.state=me,ue}return ot(de,Ee),de}(Et),Rt=function(Ee){function de(le,ye,me){me===void 0&&(me=!1);var ue=Ee.call(this,le,me)||this;return ue.marker=ye,ue}return ot(de,Ee),de}(Et),vn=function(){function Ee(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Ee.prototype.addEventListener=function(de,le){this[de].push(le)},Ee.prototype.removeEventListener=function(de,le){var ye=this[de].indexOf(le);ye>-1&&this[de].splice(ye,1)},Ee}(),En=function(){function Ee(de){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Jt,this._isOpen=!1,this.undoRedoManager=new Ue,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new vn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ee.instanceCounter++,this.styles=new Ge(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=de,this.targetRoot=document.body,this.width=de.clientWidth,this.height=de.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Ee.prototype,"ALL_MARKER_TYPES",{get:function(){return[_t,pt,dt,Ot,rt,ht,$n,$e,kt,gn,Bt,Ct,fn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[_t,pt,dt,Ot,ht,$n,$e]},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"BASIC_MARKER_TYPES",{get:function(){return[_t,pt,dt,Ot,$n]},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(de){var le=this;this._availableMarkerTypes.splice(0),de.forEach(function(ye){if(typeof ye=="string"){var me=le.ALL_MARKER_TYPES.find(function(ue){return ue.typeName===ye});me!==void 0&&le._availableMarkerTypes.push(me)}else le._availableMarkerTypes.push(ye)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(de){this._zoomLevel=de,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ee.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Qe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ee.prototype.show=function(){var de=this;this.styles.styleSheetRoot===void 0&&Me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(le){return le(new Et(de))})},Ee.prototype.render=function(){return Ke(this,void 0,void 0,function(){var de;return nt(this,function(le){switch(le.label){case 0:return this.setCurrentMarker(),(de=new we).naturalSize=this.renderAtNaturalSize,de.imageType=this.renderImageType,de.imageQuality=this.renderImageQuality,de.markersOnly=this.renderMarkersOnly,de.width=this.renderWidth,de.height=this.renderHeight,[4,de.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return le.sent(),[4,de.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,le.sent()]}})})},Ee.prototype.close=function(de){var le=this;if(de===void 0&&(de=!1),this.isOpen){var ye=!1;de||this.eventListeners.beforeclose.forEach(function(me){var ue=new Et(le,!0);me(ue),ue.defaultPrevented&&(ye=!0)}),ye||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(me){return me(new Et(le))}),this.detachEvents(),this._isOpen=!1)}},Ee.prototype.addMarkersToToolbar=function(){for(var de,le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];(de=this._availableMarkerTypes).push.apply(de,le)},Ee.prototype.addRenderEventListener=function(de){this.addEventListener("render",function(le){de(le.dataUrl,le.state)})},Ee.prototype.removeRenderEventListener=function(de){},Ee.prototype.addCloseEventListener=function(de){this.addEventListener("close",function(){de()})},Ee.prototype.removeCloseEventListener=function(de){},Ee.prototype.setupResizeObserver=function(){var de=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){de.resize(de.target.clientWidth,de.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return de.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ee.prototype.onPopupTargetResize=function(){var de=1*this.target.clientWidth/this.target.clientHeight,le=this.editorCanvas.clientWidth/de>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*de:this.editorCanvas.clientWidth,ye=le<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/de;this.resize(le,ye)},Ee.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ee.prototype.resize=function(de,le){this._isResizing=!0;var ye=de/this.imageWidth,me=le/this.imageHeight;this.imageWidth=Math.round(de),this.imageHeight=Math.round(le),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ye,me),this._isResizing=!1},Ee.prototype.scaleMarkers=function(de,le){var ye,me=this;this._currentMarker&&this._currentMarker instanceof Ot?this._currentMarker.scale(de,le):(ye=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ue){ue!==me._currentMarker&&ue.scale(de,le)}),ye!==void 0&&this.setCurrentMarker(ye)},Ee.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},Ee.prototype.setTopLeft=function(){var de=this.editingTarget.getBoundingClientRect(),le=this.editorCanvas.getBoundingClientRect();this.left=de.left-le.left,this.top=de.top-le.top},Ee.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},Ee.prototype.addDefs=function(){for(var de,le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.defs=Te.createDefs(),this.addDefsToImage(),(de=this.defs).append.apply(de,le)},Ee.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ee.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},Ee.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ee.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ee.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},Ee.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ee.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},Ee.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var de=document.createElement("a");de.href="https://markerjs.com/",de.target="_blank",de.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',de.title="Powered by marker.js",de.style.display="grid",de.style.alignItems="center",de.style.justifyItems="center",de.style.padding="3px",de.style.width="20px",de.style.height="20px",this.logoUI.appendChild(de),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ee.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Ee.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Ee.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ee.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var de=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=de+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new ct(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new et(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ee.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ee.prototype.removeMarker=function(de){this.markerImage.removeChild(de.container),this.markers.indexOf(de)>-1&&this.markers.splice(this.markers.indexOf(de),1),de.dispose()},Ee.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Ee.prototype.toolbarButtonClicked=function(de,le){if(de==="marker"&&le!==void 0)this.createNewMarker(le);else if(de==="action")switch(le){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Ee.prototype.deleteSelectedMarker=function(){var de=this;if(this._currentMarker!==void 0){var le=!1;if(this.eventListeners.markerbeforedelete.forEach(function(me){var ue=new Rt(de,de._currentMarker,!0);me(ue),ue.defaultPrevented&&(le=!0)}),!le){var ye=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(me){return me(new Rt(de,ye))})}}},Ee.prototype.clear=function(){var de=this,le=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Ie){var tt=new Rt(de,void 0,!0);Ie(tt),tt.defaultPrevented&&(le=!0)}),!le)){this.setCurrentMarker();for(var ye=function(Ie){var tt=me.markers[Ie];me.setCurrentMarker(me.markers[Ie]),me._currentMarker.dispose(),me.markerImage.removeChild(me._currentMarker.container),me.markers.splice(me.markers.indexOf(me._currentMarker),1),me.eventListeners.markerdelete.forEach(function(Lt){return Lt(new Rt(de,tt))})},me=this,ue=this.markers.length-1;ue>=0;ue--)ye(ue);this.addUndoStep()}},Object.defineProperty(Ee.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ee.prototype.showNotesEditor=function(){var de;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(de=this._currentMarker.notes)!==null&&de!==void 0?de:"",this.overlayContainer.appendChild(this.notesArea))},Ee.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Ee.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ee.prototype.addUndoStep=function(){var de=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var le=this.getState(),ye=this.undoRedoManager.getLastUndoStep();if(!ye||ye.width===le.width&&ye.height===le.height){var me=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(le),me<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ue){return ue(new Et(de))})}else this.undoRedoManager.replaceLastUndoStep(le),this.eventListeners.statechange.forEach(function(ue){return ue(new Et(de))})}},Ee.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ee.prototype.undoStep=function(){var de=this,le=this.undoRedoManager.undo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ye){return ye(new Et(de))}))},Ee.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ee.prototype.redoStep=function(){var de=this,le=this.undoRedoManager.redo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ye){return ye(new Et(de))}))},Ee.prototype.stepZoom=function(){var de=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=de<this.zoomSteps.length-1?this.zoomSteps[de+1]:this.zoomSteps[0]},Ee.prototype.panTo=function(de){this.contentDiv.scrollBy({left:this.prevPanPoint.x-de.x,top:this.prevPanPoint.y-de.y}),this.prevPanPoint=de},Ee.prototype.startRenderAndClose=function(){return Ke(this,void 0,void 0,function(){var de,le,ye=this;return nt(this,function(me){switch(me.label){case 0:return[4,this.render()];case 1:return de=me.sent(),le=this.getState(),this.eventListeners.render.forEach(function(ue){return ue(new Nt(ye,de,le))}),this.close(!0),[2]}})})},Ee.prototype.getState=function(de){de===!0&&this.setCurrentMarker();var le={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ye){return le.markers.push(ye.getState())}),le},Ee.prototype.restoreState=function(de){var le=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);de.markers.forEach(function(ye){var me=le._availableMarkerTypes.find(function(Ie){return Ie.typeName===ye.typeName});if(me!==void 0){var ue=le.addNewMarker(me);ue.restoreState(ye),le.markers.push(ue)}}),de.width&&de.height&&(de.width!==this.imageWidth||de.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/de.width,this.imageHeight/de.height),this.eventListeners.restorestate.forEach(function(ye){return ye(new Et(le))})},Ee.prototype.addNewMarker=function(de){var le=Te.createGroup();return this.markerImage.appendChild(le),new de(le,this.overlayContainer,this.settings)},Ee.prototype.createNewMarker=function(de){var le,ye=this;(le=typeof de=="string"?this._availableMarkerTypes.find(function(me){return me.typeName===de}):de)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(le),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(le.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(me){return me(new Rt(ye,ye._currentMarker))}))},Ee.prototype.markerCreated=function(de){var le=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(de),this.setCurrentMarker(de),de instanceof pt&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(pt):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ye){return ye(new Rt(le,le._currentMarker))})},Ee.prototype.colorChanged=function(de){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=de,this.settings.defaultStrokeColor=de)},Ee.prototype.fillColorChanged=function(de){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=de)},Ee.prototype.markerStateChanged=function(de){var le=this;this.eventListeners.markerchange.forEach(function(ye){return ye(new Rt(le,de))})},Ee.prototype.setCurrentMarker=function(de){var le=this;this._currentMarker!==de&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ye){return ye(new Rt(le,le._currentMarker))})),this._currentMarker=de,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ye){return ye(new Rt(le,le._currentMarker))}))},Ee.prototype.onPointerDown=function(de){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||de.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var le=this.markers.find(function(ye){return ye.ownsTarget(de.target)});le!==void 0?(this.setCurrentMarker(le),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(de.clientX,de.clientY),de.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:de.clientX,y:de.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(de.clientX,de.clientY))},Ee.prototype.onDblClick=function(de){if(this._isFocused||this.focus(),this.mode==="select"){var le=this.markers.find(function(ye){return ye.ownsTarget(de.target)});le!==void 0&&le!==this._currentMarker&&this.setCurrentMarker(le),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(de.clientX,de.clientY),de.target):this.setCurrentMarker()}},Ee.prototype.onPointerMove=function(de){this.touchPoints!==1&&de.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||de.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(de.clientX,de.clientY)):this.zoomLevel>1&&this.panTo({x:de.clientX,y:de.clientY}))},Ee.prototype.onPointerUp=function(de){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(de.clientX,de.clientY)),this.isDragging=!1,this.addUndoStep()},Ee.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ee.prototype.onKeyUp=function(de){this._currentMarker===void 0||this.notesArea!==void 0||de.key!=="Delete"&&de.key!=="Backspace"||this.deleteSelectedMarker()},Ee.prototype.clientToLocalCoordinates=function(de,le){var ye=this.markerImage.getBoundingClientRect();return{x:(de-ye.left)/this.zoomLevel,y:(le-ye.top)/this.zoomLevel}},Ee.prototype.onWindowResize=function(){this.positionUI()},Ee.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var de=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=de+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Ee.prototype.addLicenseKey=function(de){Qe.addKey(de)},Ee.prototype.addEventListener=function(de,le){this.eventListeners.addEventListener(de,le)},Ee.prototype.removeEventListener=function(de,le){this.eventListeners.removeEventListener(de,le)},Ee.prototype.renderState=function(de){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(de),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ee.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ee.prototype.focus=function(){var de=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(le){return le(new Et(de))}))},Ee.prototype.blur=function(){var de=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(le){return le(new Et(de))}))},Ee.instanceCounter=0,Ee}()},90034:function(wt,Wt,ge){var re={"./doc.png":63604,"./docx.png":30045,"./jpg.png":13740,"./md.png":58881,"./pdf.png":28982,"./png.png":2487,"./txt.png":3164,"./xls.png":88745,"./xlsx.png":49321};function ot(nt){var Pe=Ke(nt);return ge(Pe)}function Ke(nt){if(!ge.o(re,nt)){var Pe=new Error("Cannot find module '"+nt+"'");throw Pe.code="MODULE_NOT_FOUND",Pe}return re[nt]}ot.keys=function(){return Object.keys(re)},ot.resolve=Ke,wt.exports=ot,ot.id=90034},11689:function(wt){"use strict";wt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAA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xFHqo8oYAPW2FiBXQ0YayppnjTOia6kgMrghTn22yubue5t9+eZSTs86r5N4we9hBASml2tq6+pnvzipsaNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg=="},37166:function(wt){"use strict";wt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSI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vgAaSV4viJrJrAbSqZd38QtkRC8O60LULM5oIENSxjuQl2RQtyFndUjULAY0kFEp4xkI6FZkVPS8jC5ErjujcQyJB/9Azur+2LJkRaRDFyI35eWCJKU/cURyuraGbyCgkaQ1khEd7taFyC2FOAY1jqz4MAYCGkmnRjKsw6O6ELnipLTKsMaR07GvioEUaSgpDWVQh1igTxeiuBjTJafLqIYxomFkJYCELtZMTc30SyJxTodEduTzA93dXaNiCQOheGMgRAYMhMiAgRAZMBAiAwZCZMBAiAwYCJEBAyEyYCBEBgyEyICBEBkwECIDBkJkwECIDBgIkQEDITJgIEQGDITI338nLg98p7dnVCyxGsi/zmf6H963h4GQNbEPZG/qvj+2JZP36SpRqK5fXxi/8uHHx2MdyLZtW5/ddW93vxCF7P0PPhpbmP/sRKwDWZXEyMMPfEVaWlr4EaYUmsWlpSuXsle3tUh+MO6BnNvUlnx97+5d39YvEYXiUvbKW4tLy9/SQOJ9DIJAdCjd93S93r2jg5FQ3bJXdddq4UafDsWZQKC9fdNYate9fTokqsl7k1dfv7G4dPuJ1qlAbknIle4dnVldbt9JIpPV1dXZa7m5/0x9kktJXu7TL93mXiB3zG7YsOHyxo3J2daWDXldJ7rL4uJi69LK6taVlZW0rnpq3ZDveeKbPeM6tMJqIG/8O5NeXklkdEhkRV9v2uoctnrlMHZ+nFsHsiIv+cn+3p6UWGQ/kDczI5JIHNYhUcjyZ/p6e4bEIuuB/POtzGB+NXFWh0Shsn2ADtYDgbHzmVH9UX1CFBr7Ww9oSCDnz2dSN0XGE5Lo0FWiuuixx4WOTdLf09OT01WrGhII4IzW0oqMMhKqB+JIbpAhm6d2SzUsEMhkMp1zN/B/zE0c1VWiKuXPbN8kxxqx5ShqaCBF2JosL8uQ/vS08NiEfOjWYlYn6LgOR9tETvf29mSlwf4P8IbCQbr23ycAAAAASUVORK5CYII="},58881:function(wt){"use strict";wt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAPcklEQVR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QboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(wt){"use strict";wt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjzzQsFqTjmum3oRm2ZOtZbSc8hue5j/ie/x3n1nXeSv50ygv8RJ9MY7Hn08O+1+t9nfnNG8EW5xJHZs98NmCsEANdJ/tulLP2PEiP/442nw5z6/XzYTTq6HcmObSBXkSfm/uxtrTdtLk50/A3WgSZtHX812iA3imrbDq2kZxfoWVOo8hxGPXf0yDygP+eR8F3vtqdjrGTHsNN/0Pbo4z2Xadi0fcqZaSOeBTpMX/9KvDPZHnCu9V3vc2r7zvZYW6dyL4T2WE83nQgYlpy73MQwZqdz52czyKns8jTUeR06uR0FBkGdkhW04VN7Rr7TRcIE85cl75X/ZC5Pj3R9YPs+t7GDPp22u+uE7k9iLy6E3m176TbkV/OJ5GddHLYgczkPcyhGE/F277YpHLmd10XvDsFFpH1oiB9KQjQYu1aYJcKdnYvLKiA/M5UFDdWbr6LvIyNZ7KgiEufRz9Hs7UxAVSAA8l03MYufDYMtX7kRXUPx05erxquN8AmPdyiUS2QWxNq0za/GWlc83TJHfVfvk2aTxnYK9mC6+Rr5KSZcseUZt04QD8ItjbW3NcbH2LVBwOWvnld/Hv/FMP1T8mN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d0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},79633:function(wt){"use strict";wt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3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5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},84279:function(wt,Wt,ge){"use strict";var re=Object.defineProperty,ot=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Qe=(a,y,b)=>y in a?re(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,we=(a,y)=>{for(var b in y||(y={}))Pe.call(y,b)&&Qe(a,b,y[b]);if(nt)for(var b of nt(y))Te.call(y,b)&&Qe(a,b,y[b]);return a},Me=(a,y)=>ot(a,Ke(y)),Ge=a=>typeof a=="symbol"?a:a+"",Ve=(a,y)=>{var b={};for(var E in a)Pe.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&nt)for(var E of nt(a))y.indexOf(E)<0&&Te.call(a,E)&&(b[E]=a[E]);return b};function Ne(a){return Array.isArray(a)}var ct={en:{"keyboard.tooltip.symbols":"\u7B26\u53F7","keyboard.tooltip.greek":"\u5E0C\u814A\u5B57\u6BCD","keyboard.tooltip.numeric":"\u6570\u5B57","keyboard.tooltip.alphabetic":"\u7F57\u9A6C\u5B57\u6BCD","tooltip.cut to clipboard":"\u526A\u5207\u5230\u526A\u8D34\u677F","tooltip.copy to clipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","tooltip.paste from clipboard":"\u7C98\u8D34","tooltip.redo":"\u91CD\u505A","tooltip.toggle virtual keyboard":"\u5207\u6362\u865A\u62DF\u952E\u76D8","tooltip.undo":"\u64A4\u6D88","menu.insert matrix":"\u63D2\u5165\u77E9\u9635","menu.borders":"\u77E9\u9635\u5206\u9694\u7B26","menu.array.add row above":"\u5728\u540E\u9762\u6DFB\u52A0\u884C","menu.array.add row below":"\u5728\u524D\u9762\u6DFB\u52A0\u884C","menu.array.add column after":"\u5728\u540E\u9762\u6DFB\u52A0\u5217r","menu.array.add column before":"\u5728\u524D\u9762\u6DFB\u52A0\u5217","menu.array.delete row":"\u5220\u9664\u884C","menu.array.delete rows":"\u5220\u9664\u9009\u5B9A\u884C","menu.array.delete column":"\u5220\u9664\u5217","menu.array.delete columns":"\u5220\u9664\u9009\u5B9A\u7684\u5217","menu.mode":"\u6A21\u5F0F","menu.mode-math":"\u6570\u5B66","menu.mode-text":"\u6587\u672C","menu.mode-latex":"LaTeX","tooltip.blackboard":"\u9ED1\u677F","tooltip.bold":"\u7C97\u4F53","tooltip.italic":"\u659C\u4F53","tooltip.fraktur":"Fraktur","tooltip.script":"\u811A\u672C","tooltip.caligraphic":"\u8349\u4E66","tooltip.typewriter":"\u6253\u5B57\u673A","tooltip.roman-upright":"\u7F57\u9A6C\u76F4\u7ACB","tooltip.row-by-col":"%@ \xD7 %@","menu.font-style":"\u5B57\u4F53\u6837\u5F0F","menu.accent":"\u91CD\u97F3","menu.decoration":"\u88C5\u9970","menu.color":"\u989C\u8272","menu.background-color":"\u80CC\u666F","menu.evaluate":"\u8BA1\u7B97","menu.simplify":"\u7B80\u5316","menu.solve":"\u6C42\u89E3","menu.solve-for":"\u6C42\u89E3 %@","menu.cut":"\u526A\u5207","menu.copy":"\u590D\u5236","menu.copy-as-latex":"\u590D\u5236\u4E3A LaTeX","menu.copy-as-ascii-math":"\u590D\u5236\u4E3A ASCII Math","menu.copy-as-mathml":"\u590D\u5236\u4E3A MathML","menu.paste":"\u7C98\u8D34","menu.select-all":"\u5168\u9009","color.red":"\u7EA2\u8272","color.orange":"\u6A59\u8272","color.yellow":"\u9EC4\u8272","color.lime":"\u7EFF\u9EC4\u8272","color.green":"\u7EFF\u8272","color.teal":"\u9752\u8272","color.cyan":"\u84DD\u7EFF\u8272","color.blue":"\u84DD\u8272","color.indigo":"\u975B\u84DD\u8272","color.purple":"\u7D2B\u8272","color.magenta":"\u6D0B\u7EA2\u8272","color.black":"\u9ED1\u8272","color.dark-grey":"\u6DF1\u7070\u8272","color.grey":"\u7070\u8272","color.light-grey":"\u6D45\u7070\u8272","color.white":"\u767D\u8272"}};function et(){return"window"in globalThis&&"document"in globalThis}function Re(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function je(){return typeof navigator.vibrate=="function"}function Fe(){var a,y;if(!et())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function ze(){if(!et())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function ft(){return HTMLElement.prototype.hasOwnProperty("popover")}var Ye={strings:ct,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return Ye._locale||(Ye._locale=et()?navigator.language.slice(0,5):"en-US"),Ye._locale},set locale(a){Ye._locale=a,Ye._numberFormatter=void 0,Ye.dirty=!0},get numberFormatter(){return Ye._numberFormatter||(Ye._numberFormatter=new Intl.NumberFormat(Ye.locale)),Ye._numberFormatter},merge(a,y){if(typeof a=="string"&&y)Ye.strings[a]=we(we({},Ye.strings[a]),y),Ye.dirty=!0;else for(const b of Object.keys(a))Ye.merge(b,a[b])},get dirty(){return Ye._dirty},set dirty(a){Ye._dirty||Ye._dirty===a||(Ye._dirty=!0,setTimeout(()=>{Ye._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return Ye._subscribers.push(a),Ye._subscribers.length-1},unsubscribe(a){a<0||a>=Ye._subscribers.length||(Ye._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const E=b.getAttribute("data-l10n-tooltip");if(E){const ee=ut(E);ee&&b.setAttribute("data-tooltip",ee)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const ee=ut(E);ee&&b.setAttribute("aria-label",ee)}}}};function ut(a,...y){if(a===void 0)return;let b="";const E=Ye.locale;Ye.strings[E]&&(b=Ye.strings[E][a]);const ee=E.slice(0,2);if(!b&&Ye.strings[ee]&&(b=Ye.strings[ee][a]),b||(b=Ye.strings.en[a]),!b)return;const ie=/(%@|%([0-9]+)\$@)/g;let oe=ie.exec(b),ce=0;for(;oe;){if(y[ce++]){const pe=oe[2]?parseInt(oe[2],10)-1:ce-1;let ve=y[pe];typeof ve=="number"&&(ve=Ye.numberFormatter.format(ve)),b=b.replace(oe[1],ve)}oe=ie.exec(b)}return b=b.replace(/%%/g,"%"),b}var vt={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},xt={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},yt={red:"#fbbbb6",orange:"#ffe0c2",yellow:"#fff1c2",lime:"#d0e8b9",green:"#bceac4",teal:"#b9f1f1",cyan:"#b8e5c9",blue:"#b6d9fb",indigo:"#d1c2f0",purple:"#e3baf8",magenta:"#f9c8e0",black:"#353535","dark-grey":"#8C8C8C",grey:"#D0D0D0","light-grey":"#F0F0F0",white:"#ffffff"},_t={red:"#d7170b",orange:"#fe8a2b",yellow:"#ffc02b",lime:"#63b215",green:"#21ba3a",teal:"#17cfcf",cyan:"#13a7ec",blue:"#0d80f2",indigo:"#63c",purple:"#a219e6",magenta:"#eb4799",black:"#000","dark-grey":"#666",grey:"#A6A6A6","light-grey":"#d4d5d2",white:"#ffffff"},Jt={Red:"red",Orange:"orange",Yellow:"yellow",LimeGreen:"lime",Green:"green",TealBlue:"teal",Blue:"blue",Violet:"indigo",Purple:"purple",Magenta:"magenta",Black:"black",Gray:"grey",White:"white"},Tt={Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",Limegreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"};function Bt(a){var y,b,E,ee,ie,oe;const ce=a.split("!");let he,pe,ve,De=255,Oe=255,We=255,Ze=-1;const Dt=ce.length>0&&ce[0].startsWith("-");Dt&&(ce[0]=ce[0].slice(1));for(let xn=0;xn<ce.length;xn++){he=De,pe=Oe,ve=We;const St=(y=ce[xn].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],tn=St==null?void 0:St.toLowerCase(),Mn=St&&(oe=(ie=(ee=(E=(b=_t[tn])!=null?b:_t[Jt[St]])!=null?E:xt[St])!=null?ee:Tt[St])!=null?ie:vt[St])!=null?oe:ce[xn].trim();let cn=Mn.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(cn!=null&&cn[1]&&cn[2]&&cn[3])De=Math.max(0,Math.min(255,Number.parseInt(cn[1],16))),Oe=Math.max(0,Math.min(255,Number.parseInt(cn[2],16))),We=Math.max(0,Math.min(255,Number.parseInt(cn[3],16)));else if(cn=Mn.match(/^#([\da-f]{3})$/i),cn!=null&&cn[1]){const Vn=Number.parseInt(cn[1][0],16),ui=Number.parseInt(cn[1][1],16),ni=Number.parseInt(cn[1][2],16);De=Math.max(0,Math.min(255,Vn*16+Vn)),Oe=Math.max(0,Math.min(255,ui*16+ui)),We=Math.max(0,Math.min(255,ni*16+ni))}else if(cn=Mn.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),cn!=null&&cn[1]&&cn[2]&&cn[3])De=Math.max(0,Math.min(255,Number.parseInt(cn[1]))),Oe=Math.max(0,Math.min(255,Number.parseInt(cn[2]))),We=Math.max(0,Math.min(255,Number.parseInt(cn[3])));else return;Ze>=0&&(De=(1-Ze)*De+Ze*he,Oe=(1-Ze)*Oe+Ze*pe,We=(1-Ze)*We+Ze*ve,Ze=-1),xn+1<ce.length&&(Ze=Math.max(0,Math.min(100,Number.parseInt(ce[++xn])))/100)}return Ze>=0&&(De=Ze*De+(1-Ze)*he,Oe=Ze*Oe+(1-Ze)*pe,We=Ze*We+(1-Ze)*ve),Dt&&(De=255-De,Oe=255-Oe,We=255-We),"#"+("00"+Math.round(De).toString(16)).slice(-2)+("00"+Math.round(Oe).toString(16)).slice(-2)+("00"+Math.round(We).toString(16)).slice(-2)}function Je(a){var y,b;return a=a.trim(),(b=(y=yt[a.toLowerCase()])!=null?y:yt[Jt[a]])!=null?b:Bt(a)}function Ot(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&y.a===void 0&&(y.a=1),y}function pt(a,y,b){return b<0&&(b+=6),b>=6&&(b-=6),b<1?(y-a)*b+a:b<3?y:b<4?(y-a)*(4-b)+a:a}function jt(a){let[y,b,E]=[a.h,a.s,a.l];y=(y+360)%360/60,E=Math.max(0,Math.min(E,1)),b=Math.max(0,Math.min(b,1));const ee=E<=.5?E*(b+1):E+b-E*b,ie=E*2-ee;return{r:Math.round(255*pt(ie,ee,y+2)),g:Math.round(255*pt(ie,ee,y)),b:Math.round(255*pt(ie,ee,y-2))}}function dt(a){return a<0?0:a>255?255:Math.round(a)}function gn(a){const{r:y,g:b,b:E}=a;let ee=((1<<24)+(dt(y)<<16)+(dt(b)<<8)+dt(E)).toString(16).slice(1);return ee[0]===ee[1]&&ee[2]===ee[3]&&ee[4]===ee[5]&&ee[6]===ee[7]&&(ee=ee[0]+ee[2]+ee[4]),"#"+ee}function Tn(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const ee=Math.min(y,b,E),ie=Math.max(y,b,E),oe=ie-ee;let ce,he;ie===ee?ce=0:y===ie?ce=(b-E)/oe:b===ie?ce=2+(E-y)/oe:E===ie&&(ce=4+(y-b)/oe),ce=Math.min(ce*60,360),ce<0&&(ce+=360);const pe=(ee+ie)/2;return ie===ee?he=0:pe<=.5?he=oe/(ie+ee):he=oe/(2-ie-ee),{h:ce,s:he,l:pe}}function $n(a){let y=Ot(a);if(!y)return a;let{h:b,s:E,l:ee}=Tn(y);return E+=.1,ee-=.1,gn(jt({h:b,s:E,l:ee}))}var ke={60:"\\lt",62:"\\gt",111:"o",38:"\\&",123:"\\lbrace",125:"\\rbrace",91:"\\lbrack",93:"\\rbrack",58:"\\colon",160:"~",172:"\\neg",183:"\\cdot",188:"\\frac{1}{4}",189:"\\frac{1}{2}",190:"\\frac{3}{4}",8304:"^{0}",8305:"^{i}",185:"^{1}",178:"^{2}",179:"^{3}",8224:"\\dagger",8225:"\\ddagger",8230:"\\ldots",8308:"^{4}",8309:"^{5}",8310:"^{6}",8311:"^{7}",8312:"^{8}",8313:"^{9}",8314:"^{+}",8315:"^{-}",8316:"^{=}",8319:"^{n}",8320:"_{0}",8321:"_{1}",8322:"_{2}",8323:"_{3}",8324:"_{4}",8325:"_{5}",8326:"_{6}",8327:"_{7}",8328:"_{8}",8329:"_{9}",8330:"_{+}",8331:"_{-}",8332:"_{=}",8336:"_{a}",8337:"_{e}",8338:"_{o}",8339:"_{x}",8242:"\\prime",39:"\\prime",8592:"\\gets",8594:"\\to",9651:"\\triangle",9661:"\\triangledown",8715:"\\owns",8727:"\\ast",8739:"\\vert",8741:"\\Vert",8743:"\\land",8744:"\\lor",8901:"\\cdot",8904:"\\bowtie",8800:"\\ne",8804:"\\le",8805:"\\ge",8869:"\\bot",10231:"\\biconditional",10232:"\\impliedby",10233:"\\implies",10234:"\\iff",8450:"\\mathbb{C}",8469:"\\mathbb{N}",8473:"\\mathbb{P}",8474:"\\mathbb{Q}",8477:"\\mathbb{R}",8484:"\\mathbb{Z}",8461:"\\mathbb{H}",8476:"\\Re",8465:"\\Im",42:"\\ast",11036:"\\square",9633:"\\square",8720:"\\coprod",8716:"\\not\\ni",9671:"\\diamond",8846:"\\uplus",8851:"\\sqcap",8852:"\\sqcup",8768:"\\wr",8750:"\\oint",8226:"\\textbullet",8722:"-",978:"\\Upsilon"},xe={119893:8462,119965:8492,119968:8496,119969:8497,119971:8459,119972:8464,119975:8466,119976:8499,119981:8475,119994:8495,119996:8458,120004:8500,120070:8493,120075:8460,120076:8465,120085:8476,120093:8488,120122:8450,120127:8461,120133:8469,120135:8473,120136:8474,120137:8477,120145:8484},$e=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function ht(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const E=a.codePointAt(0);if(E===void 0)return a;for(const ee of $e)if((!y||ee.variant===y)&&(!b||ee.style===b)&&E>=ee.offset&&E<ee.offset+ee.len){const ie=ee.start+E-ee.offset;return String.fromCodePoint(xe[ie]||ie)}return a}function kt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in xe)if(xe[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of $e)if(a>=b.start&&a<b.start+b.len)return{char:String.fromCodePoint(a-b.start+b.offset),variant:b.variant,style:b.style};return{char:String.fromCodePoint(a)}}function rt(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const ee=(y=E.codePointAt(0))!=null?y:0;let ie=ke[ee];if(ie)ie.startsWith("\\")?b+=ie+" ":b+=ie;else{const{char:oe,variant:ce,style:he}=kt(ee);switch(ie=oe,ce){case"double-struck":ie=`\\mathbb{${ie}}`;break;case"fraktur":ie=`\\mathfrak{${ie}}`;break;case"script":ie=`\\mathscr{${ie}}`;break;case"sans-serif":ie=`\\mathsf{${ie}}`;break;case"monospace":ie=`\\mathtt{${ie}}`;break;case"calligraphic":ie=`\\mathcal{${ie}}`;break}switch(he){case"bold":ie=`\\mathbf{${ie}}`;break;case"italic":ie=`\\mathit{${ie}}`;break;case"bolditalic":ie=`\\mathbfit{${ie}}`;break}b+=ie}}return b}function Ue(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var Ct={},fn=we({},ke),Et={},Nt={},Rt={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},vn={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},En={bra:{def:"\\mathinner{\\langle{#1}|}",args:1,captureSelection:!1},ket:{def:"\\mathinner{|{#1}\\rangle}",args:1,captureSelection:!1},braket:{def:"\\mathinner{\\langle{#1}\\rangle}",args:1,captureSelection:!1},set:{def:"\\mathinner{\\lbrace #1 \\rbrace}",args:1,captureSelection:!1},Bra:{def:"\\left\\langle #1\\right|",args:1,captureSelection:!1},Ket:{def:"\\left|#1\\right\\rangle",args:1,captureSelection:!1},Braket:{def:"\\left\\langle{#1}\\right\\rangle",args:1,captureSelection:!1},Set:{def:"\\left\\lbrace #1 \\right\\rbrace",args:1,captureSelection:!1}},Ee={iff:{primitive:!0,captureSelection:!0,def:"\\;\u27FA\\;"},nicefrac:"^{#1}\\!\\!/\\!_{#2}",phase:{def:"\\enclose{phasorangle}{#1}",args:1,captureSelection:!1},rd:"\\mathrm{d}",rD:"\\mathrm{D}",doubleStruckCapitalN:"\\mathbb{N}",doubleStruckCapitalR:"\\mathbb{R}",doubleStruckCapitalQ:"\\mathbb{Q}",doubleStruckCapitalZ:"\\mathbb{Z}",doubleStruckCapitalP:"\\mathbb{P}",scriptCapitalE:"\\mathscr{E}",scriptCapitalH:"\\mathscr{H}",scriptCapitalL:"\\mathscr{L}",gothicCapitalC:"\\mathfrak{C}",gothicCapitalH:"\\mathfrak{H}",gothicCapitalI:"\\mathfrak{I}",gothicCapitalR:"\\mathfrak{R}",imaginaryI:"\\mathrm{i}",imaginaryJ:"\\mathrm{j}",exponentialE:"\\mathrm{e}",differentialD:"\\mathrm{d}",capitalDifferentialD:"\\mathrm{D}",mathstrut:{def:"\\vphantom{(}",primitive:!0},angl:"\\enclose{actuarial}{#1}",angln:"\\enclose{actuarial}{n}",anglr:"\\enclose{actuarial}{r}",anglk:"\\enclose{actuarial}{k}",mathtools:{primitive:!0,package:{ordinarycolon:":",vcentcolon:"\\mathrel{\\mathop\\ordinarycolon}",dblcolon:'{\\mathop{\\char"2237}}',coloneqq:'{\\mathop{\\char"2254}}',Coloneqq:'{\\mathop{\\char"2237\\char"3D}}',coloneq:'{\\mathop{\\char"3A\\char"2212}}',Coloneq:'{\\mathop{\\char"2237\\char"2212}}',eqqcolon:'{\\mathop{\\char"2255}}',Eqqcolon:'{\\mathop{\\char"3D\\char"2237}}',eqcolon:'{\\mathop{\\char"2239}}',Eqcolon:'{\\mathop{\\char"2212\\char"2237}}',colonapprox:'{\\mathop{\\char"003A\\char"2248}}',Colonapprox:'{\\mathop{\\char"2237\\char"2248}}',colonsim:'{\\mathop{\\char"3A\\char"223C}}',Colonsim:'{\\mathop{\\char"2237\\char"223C}}',colondash:"\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",Colondash:"\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}"}},ratio:"\\vcentcolon",coloncolon:"\\dblcolon",colonequals:"\\coloneq",coloncolonequals:"\\Coloneq",equalscolon:"\\eqcolon",equalscoloncolon:"\\Eqcolon",colonminus:"\\colondash",coloncolonminus:"\\Colondash",minuscolon:"\\dashcolon",minuscoloncolon:"\\Dashcolon",coloncolonapprox:"\\Colonapprox",coloncolonsim:"\\Colonsim",simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",simcoloncolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcoloncolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",notni:"\\mathrel{\\char`\u220C}",limsup:"\\operatorname*{lim\\,sup}",liminf:"\\operatorname*{lim\\,inf}",injlim:"\\operatorname*{inj\\,lim}",projlim:"\\operatorname*{proj\\,lim}",varlimsup:"\\operatorname*{\\overline{lim}}",varliminf:"\\operatorname*{\\underline{lim}}",varinjlim:"\\operatorname*{\\underrightarrow{lim}}",varprojlim:"\\operatorname*{\\underleftarrow{lim}}",argmin:"\\operatorname*{arg\\,min}",argmax:"\\operatorname*{arg\\,max}",plim:"\\mathop{\\operatorname{plim}}\\limits",tripledash:{def:"\\vphantom{-}\\raise{4mu}{\\mkern1.5mu\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2mu}}",expand:!0},"braket.sty":{package:En},"amsmath.sty":{package:vn,primitive:!0},"texvc.sty":{package:Rt,primitive:!1}},de={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},le=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,ye,me;ze()?(ye=new RegExp("\\p{Letter}","u"),me=new RegExp("[0-9\\p{Letter}]","u")):(ye=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,me=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function ue(a,y,b="mord",E){y!==void 0&&(Ct[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},fn[y]||(fn[y]=a))}function Ie(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const ee=a.charAt(E);ue(ee,ee.codePointAt(0))}return}for(const[E,ee,ie,oe]of a)ue(E,ee,ie!=null?ie:y,oe!=null?oe:b)}function tt(a,y){for(let b=a;b<=y;b++)ue(String.fromCodePoint(b),b)}function Lt(a){var y;return(y=Nt[a])!=null?y:null}function Pt(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ee=[];for(const oe in Et)oe.startsWith(y)&&!Et[oe].infix&&ee.push({match:oe,frequency:(b=Et[oe].frequency)!=null?b:0});for(const oe in Ct)oe.startsWith(y)&&ee.push({match:oe,frequency:(E=Ct[oe].frequency)!=null?E:0});const ie=y.substring(1);for(const oe of Object.keys(a.options.macros))oe.startsWith(ie)&&ee.push({match:"\\"+oe,frequency:0});return ee.sort((oe,ce)=>{var he,pe;return oe.frequency===ce.frequency?oe.match.length===ce.match.length?oe.match<ce.match?-1:1:oe.match.length-ce.match.length:((he=ce.frequency)!=null?he:0)-((pe=oe.frequency)!=null?pe:0)}),ee.map(oe=>oe.match)}function en(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function dn(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:en(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...dn(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:en(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...dn(b[E]))}return y}function Qt(a){if(!a)return"";let y="",b=!0;for(const E of a)typeof E.value=="string"?y+=E.value:b=!1;return b?y:""}function zn(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)Nt[E]=b}function Ei(a,y,b){typeof a=="string"&&(a=[a]);const ee={tabular:!0,params:dn(y),createAtom:b};for(const ie of a)Nt[ie]=ee}function It(a,y,b){var E,ee;b||(b={});const ie={definitionType:"function",params:dn(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(ee=b.infix)!=null?ee:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Et["\\"+a]=ie;else for(const oe of a)Et["\\"+oe]=ie}var Bn;function Sr(a){return Bn||(Bn=Mi(Ee)),a?Mi(we(we({},Bn),a)):Bn}function Wi(a,y){var b,E,ee,ie;if(typeof a=="string"){let oe=0;const ce=a;return/(^|[^\\])#1/.test(ce)&&(oe=1),/(^|[^\\])#2/.test(ce)&&(oe=2),/(^|[^\\])#3/.test(ce)&&(oe=3),/(^|[^\\])#4/.test(ce)&&(oe=4),/(^|[^\\])#5/.test(ce)&&(oe=5),/(^|[^\\])#6/.test(ce)&&(oe=6),/(^|[^\\])#7/.test(ce)&&(oe=7),/(^|[^\\])#8/.test(ce)&&(oe=8),/(^|[^\\])#9/.test(ce)&&(oe=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:oe,def:ce}}return we({expand:(ee=y==null?void 0:y.expand)!=null?ee:!0,captureSelection:(ie=y==null?void 0:y.captureSelection)!=null?ie:!0,args:0},a)}function Mi(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const E=a[b];if(E==null)delete y[b];else if(typeof E=="object"&&"package"in E)for(const ee of Object.keys(E.package))y[ee]=Wi(E.package[ee],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=Wi(E)}return y}function di(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Et[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=Ct[a]:de[a]&&(b={definitionType:"symbol",type:"mord",codepoint:de[a]})}else if(y==="math"){if(b=Ct[a],!b&&a.length===1){const E=pr("math",a.codePointAt(0));return E.startsWith("\\")?Me(we({},di(E,"math")),{command:E}):null}}else de[a]?b={definitionType:"symbol",type:"mord",codepoint:de[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function oo(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function pr(a,y){if(y===void 0)return"";if(a==="math"&&fn[y])return fn[y];if(a==="text"){const b=Object.keys(de).find(E=>de[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var or=[0,.68889,0,0,.72222],Zi=[0,.68889,0,0,.66667],qa=[0,.68889,0,0,.77778],Wa=[0,.68889,0,0,.61111],Ka=[.16667,.68889,0,0,.77778],cr=[0,.68889,0,0,.55556],Ki=[0,0,0,0,.25],Ui=[0,.825,0,0,2.33334],hs=[0,.9,0,0,2.33334],ts=[0,.68889,0,0,.54028],Ao=[-.03598,.46402,0,0,.5],yr=[-.13313,.36687,0,0,1],si=[.01354,.52239,0,0,1],Ni=[.01354,.52239,0,0,1.11111],Ms=[0,.54986,0,0,1],mo=[0,.69224,0,0,.5],Ii=[0,.43056,0,0,1],Qr=[.08198,.58198,0,0,.77778],ga=[.19444,.69224,0,0,.41667],qn=[.1808,.675,0,0,1],In=[.19444,.69224,0,0,.83334],Xn=[.13667,.63667,0,0,1],Vi=[-.064,.437,0,0,1.334],Yi=[.08167,.58167,0,0,.77778],sr=[0,.69224,0,0,.72222],dr=[0,.69224,0,0,.66667],br=[-.13313,.36687,0,0,.77778],xr=[.06062,.54986,0,0,.77778],wi=[0,.69224,0,0,.77778],_n=[.25583,.75583,0,0,.77778],Dr=[.25142,.75726,0,0,.77778],Ti=[.20576,.70576,0,0,.77778],Ai=[.30274,.79383,0,0,.77778],Fi=[.22958,.72958,0,0,.77778],Na=[.1808,.675,0,0,.77778],Xr=[.13667,.63667,0,0,.77778],mr=[.13597,.63597,0,0,.77778],an=[.03517,.54986,0,0,.77778],li=[0,.675,0,0,.77778],Fo=[.19444,.69224,0,0,.61111],Oo=[0,.54986,0,0,.76042],go=[0,.54986,0,0,.66667],Lr=[.0391,.5391,0,0,.77778],Eo=[.03517,.54986,0,0,1.33334],pi=[.38569,.88569,0,0,.77778],jr=[.23222,.74111,0,0,.77778],ln=[.19444,.69224,0,0,.77778],sa=[0,.37788,0,0,.5],Br=[0,.54986,0,0,.72222],Xa=[0,.69224,0,0,.83334],la=[.11111,.69224,0,0,.66667],Ea=[.26167,.75726,0,0,.77778],ua=[.48256,.98256,0,0,.77778],ns=[.28481,.79383,0,0,.77778],Tr=[.08167,.58167,0,0,.22222],ca=[.08167,.58167,0,0,.38889],$a=[0,.43056,.04028,0,.66667],Go=[.41951,.91951,0,0,.77778],Vo=[.24982,.74947,0,0,.38865],Po=[.08319,.58283,0,0,.75623],Yo=[0,.10803,0,0,.27764],Mo=[0,.47534,0,0,.50181],Rr=[.18906,.47534,0,0,.50181],zo=[0,.69141,0,0,.50181],is=[.24982,.74947,0,0,.27764],Ua=[0,.69141,0,0,.21471],nn=[.25,.75,0,0,.44722],Ia=[0,.64444,0,0,.575],So=[.08556,.58556,0,0,.89444],Ta=[0,.69444,0,0,.89444],so=[0,.68611,0,0,.9],vo=[0,.68611,0,0,.86944],Ma=[.25,.75,0,0,.575],lo=[.25,.75,0,0,.31944],da=[0,.69444,0,0,.63889],ha=[0,.69444,0,0,.31944],yo=[0,.44444,0,0,.63889],ia=[0,.44444,0,0,.51111],fa=[0,.69444,0,0,.575],Se=[.13333,.63333,0,0,.89444],Be=[0,.44444,0,0,.31944],gt=[0,.69444,0,0,.86944],Mt=[0,.68611,0,0,.69166],Ht=[0,.68611,0,0,.83055],Kt=[0,.68611,0,0,.89444],wn=[0,.69444,0,0,.60278],Rn=[.19444,.69444,0,0,.51111],ii=[0,.69444,0,0,.83055],ai=[-.10889,.39111,0,0,1.14999],Si=[.19444,.69444,0,0,.575],Hn=[.19444,.69444,0,0,1.14999],Xt=[.19444,.69444,0,0,.70277],Gt=[.05556,.75,0,0,.575],on=[0,.68611,0,0,.95833],yn=[.08556,.58556,0,0,.76666],ei=[-.02639,.47361,0,0,.575],mi=[0,.44444,0,0,.89444],hi=[0,.55556,0,0,.76666],ri=[-.10889,.39111,0,0,.89444],Ci=[.00222,.50222,0,0,.89444],vi=[.19667,.69667,0,0,.89444],Ri=[.08556,.58556,0,0,1.14999],zi=[0,.69444,0,0,.70277],Ji=[-.02778,.47222,0,0,.575],Oi=[.25,.75,0,0,.51111],er=[-.13889,.36111,0,0,1.14999],gr=[.19444,.69444,0,0,1.02222],lt=[.12963,.69444,0,0,.89444],st=[.19444,.69444,0,0,.44722],mt=[0,.64444,.13167,0,.59111],Ft=[.19444,.64444,.13167,0,.59111],Ln=[0,.68611,.17208,0,.8961],Zn=[.19444,.44444,.105,0,.53222],zt=[0,.44444,.085,0,.82666],mn=[0,.69444,.06709,0,.59111],jn=[0,.69444,.12945,0,.35555],Yn=[0,.69444,0,0,.94888],bn=[0,.69444,.11472,0,.59111],rn=[0,.68611,.10778,0,.88555],Jn=[0,.69444,.07939,0,.62055],it=[0,.69444,.12417,0,.30667],qt=[0,.64444,.13556,0,.51111],Vt=[.19444,.64444,.13556,0,.51111],Zt=[0,.68333,.16389,0,.74333],Fn=[.19444,.43056,.08847,0,.46],kn=[0,.43056,.07514,0,.71555],ki=[0,.69444,.06646,0,.51111],tr=[0,.69444,0,0,.83129],at=[0,.69444,.1225,0,.51111],nr=[0,.68333,.09403,0,.76666],Hr=[0,.68333,.11111,0,.76666],wr=[0,.69444,.06961,0,.51444],Gr=[0,.69444,0,0,.27778],Fr=[.25,.75,0,0,.38889],Ar=[0,.64444,0,0,.5],va=[0,.69444,0,0,.77778],hr=[0,.68333,0,0,.75],$r=[0,.68333,0,0,.77778],Sa=[0,.68333,0,0,.68056],Fa=[0,.68333,0,0,.72222],ya=[.25,.75,0,0,.5],bo=[.25,.75,0,0,.27778],qi=[0,.69444,0,0,.5],Zo=[0,.69444,0,0,.55556],Xe=[0,.43056,0,0,.44445],_e=[0,.43056,0,0,.5],Le=[.19444,.43056,0,0,.55556],Kn=[0,.43056,0,0,.55556],ti=[.08333,.58333,0,0,.77778],Di=[0,.43056,0,0,.27778],Qi=[0,.66786,0,0,.27778],yi=[0,.69444,0,0,.75],On=[0,.66786,0,0,.5],sn=[0,.68333,0,0,.625],Qn=[.19444,.69444,0,0,.44445],zr=[0,.69444,0,0,.72222],uo=[.19444,.69444,0,0,.5],Li=[.19444,.69444,0,0,1],Xi=[.011,.511,0,0,1.126],ea=[.19444,.69444,0,0,.61111],ba=[.05556,.75,0,0,.5],eo=[0,.68333,0,0,.83334],Oa=[.0391,.5391,0,0,.66667],Cr=[-.05555,.44445,0,0,.5],Pa=[0,.43056,0,0,.77778],Wr=[0,.55556,0,0,.66667],$i=[-.03625,.46375,0,0,.77778],_r=[-.01688,.48312,0,0,.77778],xo=[.0391,.5391,0,0,1],gi=[0,.69444,0,0,.61111],Bi=[-.03472,.46528,0,0,.5],vr=[.25,.75,0,0,.44445],ir=[-.14236,.35764,0,0,1],Er=[.244,.744,0,0,.412],ta=[.19444,.69444,0,0,.88889],Gi=[.12963,.69444,0,0,.77778],bi=[.19444,.69444,0,0,.38889],Or=[.011,.511,0,0,1.638],_i=[.19444,.69444,0,0,0],Sn=[0,.44444,0,0,.575],ra=[.19444,.44444,0,0,.575],rs=[0,.68611,0,0,.75555],ul=[0,.69444,0,0,.66759],$t=[0,.68611,0,0,.80555],xi=[0,.68611,.08229,0,.98229],cl=[0,.68611,0,0,.76666],Ku=[0,.44444,0,0,.58472],Hl=[.19444,.44444,0,0,.6118],Ca=[.19444,.43056,0,0,.5],Wl=[0,.68333,.02778,.08334,.76278],dl=[0,.68333,.08125,.05556,.83125],Ss=[0,.43056,0,.05556,.48472],Gs=[.19444,.43056,0,.08334,.51702],Cs=[.25,.75,0,0,.42778],na=[0,.69444,0,0,.55],Ho=[0,.69444,0,0,.73334],as=[0,.69444,0,0,.79445],Vs=[0,.69444,0,0,.51945],ks=[0,.69444,0,0,.70278],Kl=[0,.69444,0,0,.76389],ys=[.25,.75,0,0,.34306],Qa=[0,.69444,0,0,.56111],hl=[0,.69444,0,0,.25556],co=[.19444,.45833,0,0,.56111],fl=[0,.45833,0,0,.56111],os=[0,.69444,0,0,.30556],pl=[0,.69444,0,0,.58056],Pi=[0,.69444,0,0,.67223],Pr=[0,.69444,0,0,.85556],Ga=[0,.69444,0,0,.55834],ka=[0,.65556,.11156,0,.5],Co=[0,.69444,.08094,0,.70834],fu=[.17014,0,0,0,.44445],pu=[0,.69444,.0799,0,.5],Uu=[0,.69444,0,0,.73752],vc=[0,.69444,.09205,0,.5],fs=[0,.69444,.09031,0,.77778],ss=[0,.69444,.07816,0,.27778],mu=[0,.69444,.00316,0,.5],yc=[.19444,.69444,0,0,.83334],Ul=[.05556,.75,0,0,.83334],Qu=[0,.75,0,0,.5],bc=[.125,.08333,0,0,.27778],ls=[0,.08333,0,0,.27778],xa=[0,.65556,0,0,.5],wa=[0,.69444,0,0,.47222],pa=[0,.69444,0,0,.66667],to=[0,.69444,0,0,.59722],ml=[0,.69444,0,0,.54167],xc=[0,.69444,0,0,.70834],gu=[.25,.75,0,0,.28889],wc=[0,.69444,0,0,.51667],nd=[0,.44444,0,0,.44445],vu=[.19444,.44444,0,0,.51667],Ql=[0,.44444,0,0,.38333],Gl=[0,.44444,0,0,.51667],Vl=[0,.69444,0,0,.83334],yu=[.35001,.85,0,0,.45834],Yl=[.35001,.85,0,0,.57778],gl=[.35001,.85,0,0,.41667],bu=[.35001,.85,0,0,.58334],Ds=[0,.72222,0,0,.55556],xu=[1e-5,.6,0,0,.66667],Gu=[1e-5,.6,0,0,.77778],Ys=[.25001,.75,0,0,.94445],Zl=[.306,.805,.19445,0,.47222],Jl=[.30612,.805,.19445,0,.47222],za=[.25001,.75,0,0,.83334],vl=[.35001,.85,0,0,.47222],Vu=[.25001,.75,0,0,1.11111],_a=[.65002,1.15,0,0,.59722],Da=[.65002,1.15,0,0,.81111],kr=[.65002,1.15,0,0,.47222],us=[.65002,1.15,0,0,.66667],Wo=[0,.75,0,0,1],bs=[.55001,1.05,0,0,1.27778],wu=[.862,1.36,.44445,0,.55556],ql=[.86225,1.36,.44445,0,.55556],Jo=[.55001,1.05,0,0,1.11111],Ls=[.65002,1.15,0,0,.52778],qo=[.65002,1.15,0,0,.61111],Zs=[.55001,1.05,0,0,1.51112],Au=[.95003,1.45,0,0,.73611],Eu=[.95003,1.45,0,0,1.04445],xs=[.95003,1.45,0,0,.52778],Xl=[.95003,1.45,0,0,.75],yl=[0,.75,0,0,1.44445],Mu=[.95003,1.45,0,0,.58334],$l=[1.25003,1.75,0,0,.79167],Su=[1.25003,1.75,0,0,1.27778],un=[1.25003,1.75,0,0,.58334],oi=[1.25003,1.75,0,0,.80556],ho=[0,.825,0,0,1.8889],zs=[1.25003,1.75,0,0,.63889],Js=[.64502,1.155,0,0,.875],qs=[1e-5,.6,0,0,.875],Xs=[-99e-5,.601,0,0,.66667],Ac=[.64502,1.155,0,0,.66667],Zd=[1e-5,.9,0,0,.88889],id=[.65002,1.15,0,0,.88889],eu=[.90001,0,0,0,.88889],Ec=[-.00499,.605,0,0,1.05556],tu=[0,.12,0,0,.45],Gn=[0,.61111,0,0,.525],ps=[.08333,.69444,0,0,.525],rd=[-.08056,.53055,0,0,.525],Jd=[-.05556,.55556,0,0,.525],Ko=[0,.43056,0,0,.525],no=[.22222,.43056,0,0,.525],Yu=[0,0,0,0,.525],qd={"AMS-Regular":{32:Ki,65:or,66:Zi,67:or,68:or,69:Zi,70:Wa,71:qa,72:qa,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:qa,76:Zi,77:[0,.68889,0,0,.94445],78:or,79:Ka,80:Wa,81:Ka,82:or,83:cr,84:Zi,85:or,86:or,87:[0,.68889,0,0,1],88:or,89:or,90:Zi,107:cr,160:Ki,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:cr,295:ts,710:Ui,732:hs,770:Ui,771:hs,989:Yi,1008:$a,8245:[0,.54986,0,0,.275],8463:ts,8487:or,8498:cr,8502:Zi,8503:[0,.68889,0,0,.44445],8504:Zi,8513:[0,.68889,0,0,.63889],8592:Ao,8594:Ao,8602:yr,8603:yr,8606:si,8608:si,8610:Ni,8611:Ni,8619:Ms,8620:Ms,8621:[-.13313,.37788,0,0,1.38889],8622:yr,8624:mo,8625:mo,8630:Ii,8631:Ii,8634:Qr,8635:Qr,8638:ga,8639:ga,8642:ga,8643:ga,8644:qn,8646:qn,8647:qn,8648:In,8649:qn,8650:In,8651:si,8652:si,8653:yr,8654:yr,8655:yr,8666:Xn,8667:Xn,8669:[-.13313,.37788,0,0,1],8672:Vi,8674:Vi,8705:[0,.825,0,0,.5],8708:cr,8709:Yi,8717:[0,.43056,0,0,.42917],8722:Ao,8724:[.08198,.69224,0,0,.77778],8726:Yi,8733:wi,8736:sr,8737:sr,8738:[.03517,.52239,0,0,.72222],8739:Tr,8740:[.25142,.74111,0,0,.27778],8741:ca,8742:[.25142,.74111,0,0,.5],8756:dr,8757:dr,8764:br,8765:[-.13313,.37788,0,0,.77778],8769:br,8770:$i,8774:Ai,8776:_r,8778:Yi,8782:xr,8783:xr,8785:Qr,8786:Qr,8787:Qr,8790:wi,8791:Fi,8796:[.08198,.91667,0,0,.77778],8806:_n,8807:_n,8808:Dr,8809:Dr,8812:[.25583,.75583,0,0,.5],8814:Ti,8815:Ti,8816:Ai,8817:Ai,8818:Fi,8819:Fi,8822:Na,8823:Na,8828:Xr,8829:Xr,8830:Fi,8831:Fi,8832:Ti,8833:Ti,8840:Ai,8841:Ai,8842:mr,8843:mr,8847:an,8848:an,8858:Qr,8859:Qr,8861:Qr,8862:li,8863:li,8864:li,8865:li,8872:[0,.69224,0,0,.61111],8873:sr,8874:[0,.69224,0,0,.88889],8876:Wa,8877:Wa,8878:or,8879:or,8882:an,8883:an,8884:Xr,8885:Xr,8888:[0,.54986,0,0,1.11111],8890:Le,8891:Fo,8892:Fo,8901:[0,.54986,0,0,.27778],8903:Yi,8905:Yi,8906:Yi,8907:wi,8908:wi,8909:[-.03598,.46402,0,0,.77778],8910:Oo,8911:Oo,8912:an,8913:an,8914:go,8915:go,8916:dr,8918:Lr,8919:Lr,8920:Eo,8921:Eo,8922:pi,8923:pi,8926:Xr,8927:Xr,8928:Ai,8929:Ai,8934:jr,8935:jr,8936:jr,8937:jr,8938:Ti,8939:Ti,8940:Ai,8941:Ai,8994:ln,8995:ln,9416:[.15559,.69224,0,0,.90222],9484:mo,9488:mo,9492:sa,9496:sa,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:li,9633:li,9650:Br,9651:Br,9654:an,9660:Br,9661:Br,9664:an,9674:la,9733:[.19444,.69224,0,0,.94445],10003:Xa,10016:Xa,10731:la,10846:[.19444,.75583,0,0,.61111],10877:Xr,10878:Xr,10885:_n,10886:_n,10887:mr,10888:mr,10889:Ea,10890:Ea,10891:ua,10892:ua,10901:Xr,10902:Xr,10933:Dr,10934:Dr,10935:Ea,10936:Ea,10937:Ea,10938:Ea,10949:_n,10950:_n,10955:ns,10956:ns,57350:Tr,57351:ca,57352:Yi,57353:$a,57356:Dr,57357:Dr,57358:Go,57359:Ai,57360:Ai,57361:Go,57366:Dr,57367:Dr,57368:Dr,57369:Dr,57370:mr,57371:mr},"Caligraphic-Regular":{32:Ki,65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:Ki},"Fraktur-Regular":{32:Ki,33:[0,.69141,0,0,.29574],34:Ua,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:Vo,41:Vo,42:[0,.62119,0,0,.27764],43:Po,44:Yo,45:Po,46:Yo,47:[.24982,.74947,0,0,.50181],48:Mo,49:Mo,50:Mo,51:Rr,52:Rr,53:Rr,54:zo,55:Rr,56:zo,57:Rr,58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:is,93:is,94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:Ki,8216:Ua,8217:Ua,58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:Ki,33:[0,.69444,0,0,.35],34:wn,35:[.19444,.69444,0,0,.95833],36:Gt,37:[.05556,.75,0,0,.95833],38:Ta,39:ha,40:nn,41:nn,42:[0,.75,0,0,.575],43:Se,44:[.19444,.15556,0,0,.31944],45:Ql,46:[0,.15556,0,0,.31944],47:Ma,48:Ia,49:Ia,50:Ia,51:Ia,52:Ia,53:Ia,54:Ia,55:Ia,56:Ia,57:Ia,58:Be,59:[.19444,.44444,0,0,.31944],60:So,61:ri,62:So,63:[0,.69444,0,0,.54305],64:Ta,65:vo,66:[0,.68611,0,0,.81805],67:Ht,68:[0,.68611,0,0,.88194],69:rs,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:so,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Mt,77:[0,.68611,0,0,1.09166],78:so,79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:vo,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:lo,92:Ma,93:lo,94:fa,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:da,99:ia,100:da,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:da,105:ha,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:ha,109:[0,.44444,0,0,.95833],110:yo,111:Sn,112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:yo,118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:ia,123:Ma,124:lo,125:Ma,126:[.35,.34444,0,0,.575],160:Ki,163:[0,.69444,0,0,.86853],168:fa,172:[0,.44444,0,0,.76666],176:gt,177:Se,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:Se,216:[.04861,.73472,0,0,.89444],223:to,230:[0,.44444,0,0,.83055],247:Se,248:[.09722,.54167,0,0,.575],305:Be,338:[0,.68611,0,0,1.16944],339:mi,567:[.19444,.44444,0,0,.35139],710:fa,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:fa,715:fa,728:fa,729:ha,730:gt,732:fa,733:fa,915:Mt,916:on,920:Kt,923:$t,926:cl,928:so,931:Ht,933:Kt,934:Ht,936:Kt,937:Ht,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:ha,8217:ha,8220:wn,8221:wn,8224:Rn,8225:Rn,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:ul,8465:ii,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:ii,8501:zi,8592:ai,8593:Si,8594:ai,8595:Si,8596:ai,8597:Ma,8598:Hn,8599:Hn,8600:Hn,8601:Hn,8636:ai,8637:ai,8640:ai,8641:ai,8656:ai,8657:Xt,8658:ai,8659:Xt,8660:ai,8661:[.25,.75,0,0,.70277],8704:da,8706:[0,.69444,.06389,0,.62847],8707:da,8709:Gt,8711:on,8712:yn,8715:yn,8722:Se,8723:Se,8725:Ma,8726:Ma,8727:Ji,8728:ei,8729:ei,8730:[.18,.82,0,0,.95833],8733:mi,8734:[0,.44444,0,0,1.14999],8736:sr,8739:lo,8741:Ma,8743:hi,8744:hi,8745:hi,8746:hi,8747:[.19444,.69444,.12778,0,.56875],8764:ri,8768:[.19444,.69444,0,0,.31944],8771:Ci,8776:[.02444,.52444,0,0,.89444],8781:Ci,8801:Ci,8804:vi,8805:vi,8810:Ri,8811:Ri,8826:So,8827:So,8834:So,8835:So,8838:vi,8839:vi,8846:hi,8849:vi,8850:vi,8851:hi,8852:hi,8853:Se,8854:Se,8855:Se,8856:Se,8857:Se,8866:zi,8867:zi,8868:Ta,8869:Ta,8900:ei,8901:[-.02639,.47361,0,0,.31944],8902:Ji,8968:Oi,8969:Oi,8970:Oi,8971:Oi,8994:er,8995:er,9651:gr,9657:Ji,9661:gr,9667:Ji,9711:Hn,9824:lt,9825:lt,9826:lt,9827:lt,9837:[0,.75,0,0,.44722],9838:st,9839:st,10216:nn,10217:nn,10815:so,10927:vi,10928:vi,57376:_i},"Main-BoldItalic":{32:Ki,33:[0,.69444,.11417,0,.38611],34:Jn,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:jn,40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:mt,49:mt,50:mt,51:mt,52:Ft,53:mt,54:mt,55:Ft,56:mt,57:mt,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:bn,64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:Ln,73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:Ln,79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:mn,95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:Zn,104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:Zn,114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:Ki,168:[0,.69444,.11473,0,.59111],176:Yn,184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:zt,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:zt,567:[.19444,.44444,.04611,0,.385],710:mn,711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:jn,730:Yn,732:bn,733:bn,915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:Ln,931:[0,.68611,.11431,0,.82666],933:rn,934:[0,.68611,.05632,0,.82666],936:rn,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:jn,8217:jn,8220:[0,.69444,.16772,0,.62055],8221:Jn},"Main-Italic":{32:Ki,33:it,34:wr,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:it,40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:qt,49:qt,50:qt,51:qt,52:Vt,53:qt,54:qt,55:Vt,56:qt,57:qt,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:at,64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:Zt,73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:Zt,79:nr,80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:Zt,86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:ki,95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:Fn,104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:Fn,114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:Ki,168:[0,.66786,.10474,0,.51111],176:tr,184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:kn,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:kn,710:ki,711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:tr,732:[0,.66786,.11585,0,.51111],733:at,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:nr,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:Zt,931:[0,.68333,.12028,0,.71555],933:Hr,934:[0,.68333,.05986,0,.71555],936:Hr,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:it,8217:it,8220:[0,.69444,.1685,0,.51444],8221:wr,8463:ts},"Main-Regular":{32:Ki,33:Gr,34:qi,35:yc,36:ba,37:Ul,38:va,39:Gr,40:Fr,41:Fr,42:Qu,43:ti,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:ya,48:Ar,49:Ar,50:Ar,51:Ar,52:Ar,53:Ar,54:Ar,55:Ar,56:Ar,57:Ar,58:Di,59:[.19444,.43056,0,0,.27778],60:Lr,61:br,62:Lr,63:wa,64:va,65:hr,66:[0,.68333,0,0,.70834],67:Fa,68:[0,.68333,0,0,.76389],69:Sa,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:hr,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:$r,76:sn,77:[0,.68333,0,0,.91667],78:hr,79:$r,80:Sa,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:Fa,85:hr,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:hr,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:bo,92:ya,93:bo,94:qi,95:[.31,.12056,.02778,0,.5],97:_e,98:Zo,99:Xe,100:Zo,101:Xe,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:Zo,105:Qi,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:Gr,109:[0,.43056,0,0,.83334],110:Kn,111:_e,112:Le,113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:Kn,118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:Xe,123:ya,124:bo,125:ya,126:[.35,.31786,0,0,.5],160:Ki,163:[0,.69444,0,0,.76909],167:Qn,168:On,172:[0,.43056,0,0,.66667],176:yi,177:ti,182:ea,184:fu,198:[0,.68333,0,0,.90278],215:ti,216:[.04861,.73194,0,0,.77778],223:qi,230:[0,.43056,0,0,.72222],247:ti,248:[.09722,.52778,0,0,.5],305:Di,338:[0,.68333,0,0,1.01389],339:Pa,567:[.19444,.43056,0,0,.30556],710:qi,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:qi,715:qi,728:qi,729:Qi,730:yi,732:On,733:qi,915:sn,916:eo,920:$r,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:hr,931:Fa,933:$r,934:Fa,936:$r,937:Fa,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:Gr,8217:Gr,8220:qi,8221:qi,8224:Qn,8225:Qn,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:ts,8465:zr,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:zr,8501:gi,8592:yr,8593:uo,8594:yr,8595:uo,8596:yr,8597:ya,8598:Li,8599:Li,8600:Li,8601:Li,8614:[.011,.511,0,0,1],8617:Xi,8618:Xi,8636:yr,8637:yr,8640:yr,8641:yr,8652:[.011,.671,0,0,1],8656:yr,8657:ea,8658:yr,8659:ea,8660:yr,8661:[.25,.75,0,0,.61111],8704:Zo,8706:[0,.69444,.05556,.08334,.5309],8707:Zo,8709:ba,8711:eo,8712:Oa,8715:Oa,8722:ti,8723:ti,8725:ya,8726:ya,8727:Bi,8728:Cr,8729:Cr,8730:[.2,.8,0,0,.83334],8733:Pa,8734:Ii,8736:sr,8739:bo,8741:ya,8743:Wr,8744:Wr,8745:Wr,8746:Wr,8747:[.19444,.69444,.11111,0,.41667],8764:br,8768:[.19444,.69444,0,0,.27778],8771:$i,8773:[-.022,.589,0,0,1],8776:_r,8781:$i,8784:[-.133,.67,0,0,.778],8801:$i,8804:mr,8805:mr,8810:xo,8811:xo,8826:Lr,8827:Lr,8834:Lr,8835:Lr,8838:mr,8839:mr,8846:Wr,8849:mr,8850:mr,8851:Wr,8852:Wr,8853:ti,8854:ti,8855:ti,8856:ti,8857:ti,8866:gi,8867:gi,8868:va,8869:va,8872:[.249,.75,0,0,.867],8900:Cr,8901:[-.05555,.44445,0,0,.27778],8902:Bi,8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:vr,8969:vr,8970:vr,8971:vr,8994:ir,8995:ir,9136:Er,9137:Er,9651:ta,9657:Bi,9661:ta,9667:Bi,9711:Li,9824:Gi,9825:Gi,9826:Gi,9827:Gi,9837:[0,.75,0,0,.38889],9838:bi,9839:bi,10216:Fr,10217:Fr,10222:Er,10223:Er,10229:[.011,.511,0,0,1.609],10230:Or,10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:Or,10815:hr,10927:mr,10928:mr,57376:_i},"Math-BoldItalic":{32:Ki,48:Sn,49:Sn,50:Sn,51:ra,52:ra,53:ra,54:Ia,55:ra,56:Ia,57:ra,65:vo,66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:xi,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:rs,77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:ul,105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:Ku,112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:Ki,915:[0,.68611,.15972,0,.65694],916:on,920:[0,.68611,.03194,0,.86722],923:$t,926:[0,.68611,.07458,0,.84125],928:xi,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:cl,936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:Ku,960:[0,.44444,.03704,0,.68241],961:Hl,962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:Hl,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Ki,48:_e,49:_e,50:_e,51:Ca,52:Ca,53:Ca,54:Ar,55:Ca,56:Ar,57:Ca,65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:dl,73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:Wl,80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:Ss,112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:Ki,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Wl,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:dl,931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:Ss,960:[0,.43056,.03588,0,.57003],961:Gs,962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:Gs,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Ki,33:[0,.69444,0,0,.36667],34:Ga,35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:os,40:Cs,41:Cs,42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:na,49:na,50:na,51:na,52:na,53:na,54:na,55:na,56:na,57:na,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:Vs,64:Ho,65:Ho,66:Ho,67:ks,68:as,69:[0,.69444,0,0,.64167],70:gi,71:Ho,72:as,73:[0,.69444,0,0,.33056],74:Vs,75:Kl,76:pl,77:[0,.69444,0,0,.97778],78:as,79:as,80:ks,81:[.10556,.69444,0,0,.79445],82:ks,83:gi,84:Ho,85:Kl,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Ho,89:[0,.69444,.0275,0,.73334],90:Pi,91:ys,93:ys,94:na,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Qa,99:[0,.45833,0,0,.48889],100:Qa,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Qa,105:hl,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:hl,109:[0,.45833,0,0,.86667],110:fl,111:[0,.45833,0,0,.55],112:co,113:co,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:fl,118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:Ki,168:na,176:Ho,180:na,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:na,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:na,729:os,730:Ho,732:na,733:na,915:pl,916:[0,.69444,0,0,.91667],920:Pr,923:Pi,926:Ho,928:as,931:as,933:Pr,934:as,936:Pr,937:as,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:os,8217:os,8220:Ga,8221:Ga},"SansSerif-Italic":{32:Ki,33:[0,.69444,.05733,0,.31945],34:mu,35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:ss,40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:bc,45:[0,.44444,.01946,0,.33333],46:ls,47:[.25,.75,.13164,0,.5],48:ka,49:ka,50:ka,51:ka,52:ka,53:ka,54:ka,55:ka,56:ka,57:ka,58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:pa,66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:Co,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:ml,77:[0,.69444,.08094,0,.875],78:Co,79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:pu,95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:Ki,168:[0,.67937,.06385,0,.5],176:Uu,184:fu,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:pu,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:vc,715:qi,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Uu,732:[0,.67659,.08826,0,.5],733:vc,915:[0,.69444,.13372,0,.54167],916:Vl,920:[0,.69444,.07555,0,.77778],923:gi,926:[0,.69444,.12816,0,.66667],928:Co,931:[0,.69444,.11983,0,.72222],933:fs,934:[0,.69444,.04603,0,.72222],936:fs,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:ss,8217:ss,8220:[0,.69444,.14205,0,.5],8221:mu},"SansSerif-Regular":{32:Ki,33:[0,.69444,0,0,.31945],34:qi,35:yc,36:ba,37:Ul,38:[0,.69444,0,0,.75834],39:Gr,40:Fr,41:Fr,42:Qu,43:ti,44:bc,45:[0,.44444,0,0,.33333],46:ls,47:ya,48:xa,49:xa,50:xa,51:xa,52:xa,53:xa,54:xa,55:xa,56:xa,57:xa,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:wa,64:pa,65:pa,66:pa,67:da,68:[0,.69444,0,0,.72223],69:to,70:[0,.69444,0,0,.56945],71:pa,72:xc,73:Gr,74:wa,75:[0,.69444,0,0,.69445],76:ml,77:[0,.69444,0,0,.875],78:xc,79:[0,.69444,0,0,.73611],80:da,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:Zo,84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:pa,89:[0,.69444,.025,0,.66667],90:gi,91:gu,93:gu,94:qi,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:wc,99:nd,100:wc,101:nd,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:wc,105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:Gl,111:[0,.44444,0,0,.5],112:vu,113:vu,114:[0,.44444,.01389,0,.34167],115:Ql,116:[0,.57143,0,0,.36111],117:Gl,118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:Ki,168:[0,.67937,0,0,.5],176:pa,184:fu,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:qi,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:qi,715:qi,728:qi,729:[0,.67937,0,0,.27778],730:pa,732:[0,.67659,0,0,.5],733:qi,915:ml,916:Vl,920:va,923:gi,926:pa,928:xc,931:zr,933:va,934:zr,936:va,937:zr,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:Gr,8217:Gr,8220:qi,8221:qi},"Script-Regular":{32:Ki,65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:Ki},"Size1-Regular":{32:Ki,40:yu,41:yu,47:Yl,91:gl,92:Yl,93:gl,123:bu,125:bu,160:Ki,710:Ds,732:Ds,770:Ds,771:Ds,8214:[-99e-5,.601,0,0,.77778],8593:xu,8595:xu,8657:Gu,8659:Gu,8719:Ys,8720:Ys,8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:Jl,8748:Zl,8749:Zl,8750:Jl,8896:za,8897:za,8898:za,8899:za,8968:vl,8969:vl,8970:vl,8971:vl,9168:Xs,10216:vl,10217:vl,10752:Vu,10753:Vu,10754:Vu,10756:za,10758:za},"Size2-Regular":{32:Ki,40:_a,41:_a,47:Da,91:kr,92:Da,93:kr,123:us,125:us,160:Ki,710:Wo,732:Wo,770:Wo,771:Wo,8719:bs,8720:bs,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:ql,8748:wu,8749:wu,8750:ql,8896:Jo,8897:Jo,8898:Jo,8899:Jo,8968:Ls,8969:Ls,8970:Ls,8971:Ls,10216:qo,10217:qo,10752:Zs,10753:Zs,10754:Zs,10756:Jo,10758:Jo},"Size3-Regular":{32:Ki,40:Au,41:Au,47:Eu,91:xs,92:Eu,93:xs,123:Xl,125:Xl,160:Ki,710:yl,732:yl,770:yl,771:yl,8730:[.95003,1.45,0,0,1],8968:Mu,8969:Mu,8970:Mu,8971:Mu,10216:Xl,10217:Xl},"Size4-Regular":{32:Ki,40:$l,41:$l,47:Su,91:un,92:Su,93:un,123:oi,125:oi,160:Ki,710:ho,732:ho,770:ho,771:ho,8730:[1.25003,1.75,0,0,1],8968:zs,8969:zs,8970:zs,8971:zs,9115:Js,9116:qs,9117:Js,9118:Js,9119:qs,9120:Js,9121:Ac,9122:Xs,9123:Ac,9124:Ac,9125:Xs,9126:Ac,9127:Zd,9128:id,9129:eu,9130:[0,.3,0,0,.88889],9131:Zd,9132:id,9133:eu,9143:[.88502,.915,0,0,1.05556],10216:oi,10217:oi,57344:Ec,57345:Ec,57680:tu,57681:tu,57682:tu,57683:tu},"Typewriter-Regular":{32:Yu,33:Gn,34:Gn,35:Gn,36:ps,37:ps,38:Gn,39:Gn,40:ps,41:ps,42:[0,.52083,0,0,.525],43:rd,44:[.13889,.125,0,0,.525],45:rd,46:[0,.125,0,0,.525],47:ps,48:Gn,49:Gn,50:Gn,51:Gn,52:Gn,53:Gn,54:Gn,55:Gn,56:Gn,57:Gn,58:Ko,59:[.13889,.43056,0,0,.525],60:Jd,61:[-.19549,.41562,0,0,.525],62:Jd,63:Gn,64:Gn,65:Gn,66:Gn,67:Gn,68:Gn,69:Gn,70:Gn,71:Gn,72:Gn,73:Gn,74:Gn,75:Gn,76:Gn,77:Gn,78:Gn,79:Gn,80:Gn,81:[.13889,.61111,0,0,.525],82:Gn,83:Gn,84:Gn,85:Gn,86:Gn,87:Gn,88:Gn,89:Gn,90:Gn,91:ps,92:ps,93:ps,94:Gn,95:[.09514,0,0,0,.525],96:Gn,97:Ko,98:Gn,99:Ko,100:Gn,101:Ko,102:Gn,103:no,104:Gn,105:Gn,106:[.22222,.61111,0,0,.525],107:Gn,108:Gn,109:Ko,110:Ko,111:Ko,112:no,113:no,114:Ko,115:Ko,116:[0,.55358,0,0,.525],117:Ko,118:Ko,119:Ko,120:Ko,121:no,122:Ko,123:ps,124:ps,125:ps,126:Gn,127:Gn,160:Yu,176:Gn,184:[.19445,0,0,0,.525],305:Ko,567:no,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Gn,715:Gn,728:Gn,730:Gn,770:Gn,771:Gn,776:Gn,915:Gn,916:Gn,920:Gn,923:Gn,926:Gn,928:Gn,931:Gn,933:Gn,934:Gn,936:Gn,937:Gn,8216:Gn,8217:Gn,8242:Gn,9251:[.11111,.21944,0,0,.525]}},Xd=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,nu=10,Uo=.25,Mc=1.2,$s=.431,ad={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[$s,$s,$s],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.5,.732,.925],num2:[.394,.384,.5],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[Uo,Uo,Uo],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04]},Sc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],bl=5,od={"\xA0":" ","\u200B":" ",\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function el(a,y){a===void 0&&(a=77);const b=qd[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const E=String.fromCodePoint(a);if(E in od)a=od[E].codePointAt(0);else if(Xd.test(E))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var Cc={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],longrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],longleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],longleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],longrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],longleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],longleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],longRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716],longLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},iu={widehat1:[1062,239,.24],widehat2:[2364,300,.3],widehat3:[2364,360,.36],widehat4:[2364,420,.42],widecheck1:[1062,239,.24],widecheck2:[2364,300,.3],widecheck3:[2364,360,.36],widecheck4:[2364,420,.42],widetilde1:[600,260,.26],widetilde2:[1033,286,.286],widetilde3:[2339,306,.306],widetilde4:[2340,312,.34],overarc:[1061,159,.3],underarc:[1061,159,.3]},$d={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
c -179 0 -524 -115 -524 -115
c -5 -1 -9 -5 -9 -10
c 0 -1 1 -2 1 -3
l 4 -22
c 1 -5 5 -9 11 -9
h 2
s 338 93 512 92
c 174 0 513 -92 513 -92
h 2
c 5 0 9 4 11 9
l 5 22
c 1 6 -2 12 -8 13
c 0 0 -342 115 -520 115
z
`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,widetilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,widetilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,widetilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,widetilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`};function Cu(a){if(iu[a]){const[pe,ve,De]=iu[a],Oe=`<span class="stretchy" style="height:${De}em"><svg width="100%" height="${De}em" viewBox="0 0 ${pe} ${ve}" preserveAspectRatio="none" ><path fill="currentcolor" d="${$d[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*De/2)/100}em;min-width:0">${Oe}</span>`}const[y,b,E,ee]=Cc[a];let ie,oe;const ce=E/1e3;y.length===3?(ie=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],oe=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(ie=["slice-1-of-2","slice-2-of-2"],oe=["xMinYMin","xMaxYMin"]):(ie=["slice-1-of-1"],oe=[ee]);const he=y.map((pe,ve)=>`<span class="${ie[ve]}" style=height:${ce}em><svg width=400em height=${ce}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${oe[ve]} slice"><path fill="currentcolor" d="${$d[pe]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${ce}em;min-width:${b}em;">${he}</span>`}function e0(a){return Cc[a]?Cc[a][2]/1e3:iu[a][2]}function t0(a){const y=[];for(let b=0;b<a.length;b++){let E=a.charCodeAt(b);if(E===13&&a.charCodeAt(b+1)===10&&(E=10,b++),(E===13||E===12)&&(E=10),E===0&&(E=65533),E>=55296&&E<=56319){const ee=a.charCodeAt(b+1);if(ee>=56320&&ee<=57343){const ie=E-55296,oe=ee-56320;E=Rl(2,16)+ie*Rl(2,10)+oe,b++}}y.push(E)}return y}var Zu=8205,Ju=[[Zu,1],[65038,2],[127995,5],[129456,4],[917536,96]],xl,ku=[127462,127487];function Du(a){var y;if(xl===void 0){xl={};for(const b of Ju)for(let E=b[0];E<=b[0]+b[1]-1;E++)xl[E]=!0}return(y=xl[a])!=null?y:!1}function n0(a){return a>=ku[0]&&a<=ku[1]}function i0(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=t0(a);let E=0;for(;E<b.length;){const ee=b[E++],ie=b[E];if(ie===Zu){const oe=E-1;for(E+=2;b[E]===Zu;)E+=2;y.push(String.fromCodePoint(...b.slice(oe,E-oe+1)))}else if(Du(ie)){const oe=E-1;for(;Du(b[E]);)E+=b[E]===Zu?2:1;y.push(String.fromCodePoint(...b.slice(oe,2*E-oe-1)))}else n0(ee)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(ee))}return y}var r0=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=i0(a)}end(){return this.pos>=this.s.length}get(){return this.pos<this.s.length?this.s[this.pos++]:""}peek(){return this.s[this.pos]}match(a){const y=typeof this.s=="string"?a.exec(this.s.slice(this.pos)):a.exec(this.s.slice(this.pos).join(""));return y!=null&&y[0]?(this.pos+=y[0].length,y[0]):""}next(){if(this.end())return null;if(!this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]+/)||this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]/))return"<space>";const a=this.get();if(a==="\\"){if(!this.end()){let y=this.match(/^[a-zA-Z\*]+/);return y?this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]*/):y=this.get(),"\\"+y}}else{if(a==="{")return"<{>";if(a==="}")return"<}>";if(a==="^"){if(this.peek()==="^"){this.get();const y=this.match(/^(\^(\^(\^(\^[\da-f])?[\da-f])?[\da-f])?[\da-f])?[\da-f]{2}/);if(y)return String.fromCodePoint(Number.parseInt(y.slice(y.lastIndexOf("^")+1),16))}return a}else if(a==="#"){if(!this.end()){let y=!1;if(/[\d?@]/.test(this.peek())&&(y=!0,this.pos+1<this.s.length)){const b=this.s[this.pos+1];y=/[^\dA-Za-z]/.test(b)}return y?"#"+this.get():"#"}}else if(a==="$")return this.peek()==="$"?(this.get(),"<$$>"):"<$>"}return a}};function wl(a,y){var b,E,ee,ie;const oe=[];let ce=a.next();if(ce&&ce!=="\\relax"){if(ce==="\\noexpand")ce=a.next(),ce&&oe.push(ce);else if(ce==="\\obeyspaces")a.obeyspaces=!0;else if(ce==="\\bgroup")oe.push("<{>");else if(ce==="\\egroup")oe.push("<}>");else if(ce==="\\string"){if(ce=a.next(),ce)if(ce.startsWith("\\"))for(const he of ce)oe.push(he==="\\"?"\\backslash":he);else ce==="<{>"?oe.push("\\{"):ce==="<space>"?oe.push("~"):ce==="<}>"&&oe.push("\\}")}else if(ce==="\\csname"){for(;a.peek()==="<space>";)a.next();let he="",pe=!1,ve=[];do{if(ve.length===0)if(/^#[\d?@]$/.test(a.peek())){const De=a.get().slice(1);ve=tl((E=(b=y==null?void 0:y(De))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),ce=ve[0]}else ce=a.next(),ve=ce?[ce]:[];pe=ve.length===0,!pe&&ce==="\\endcsname"&&(pe=!0,ve.shift()),pe||(pe=ce==="<$>"||ce==="<$$>"||ce==="<{>"||ce==="<}>"||typeof ce=="string"&&ce.length>1&&ce.startsWith("\\")),pe||(he+=ve.shift())}while(!pe);he&&oe.push("\\"+he),oe.push(...ve)}else if(ce!=="\\endcsname")if(ce.length>1&&ce.startsWith("#")){const he=ce.slice(1);oe.push(...tl((ie=(ee=y==null?void 0:y(he))!=null?ee:y==null?void 0:y("?"))!=null?ie:"\\placeholder{}",y))}else oe.push(ce)}return oe}function tl(a,y=null){const b=[];let E="";for(const oe of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const ce=oe.match(/((?:\\%)|[^%])*/);ce!==null&&b.push(ce[0])}const ee=new r0(rt(b.join(""))),ie=[];do ie.push(...wl(ee,y));while(!ee.end());return ie}function rr(a){let y="";const b=[];for(const E of a)E&&(y&&/^[a-zA-Z\*]/.test(E)&&b.push(y),b.push(E),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(E)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(E)?" ":"");return b.join("")}function aa(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:rr([a,...y.map(b=>`{${b}}`)])}function Al(a){return rr(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var a0=class Yd{constructor(y){Yd._registry[y]=this}static createAtom(y,b,E){return Yd._registry[y].createAtom(b,di(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const ee=[];for(const ie of o0(y)){const oe=Yd._registry[ie[0].mode];ee.push(...oe.serialize(ie,b))}return rr(ee)}return rr(eh(y,b))}static getFont(y,b,E){return Yd._registry[y].getFont(b,E)}};a0._registry={};var ms=a0;function o0(a){const y=[];let b=[],E="NONE";for(const ee of a)ee.type!=="first"&&(ee.mode!==E?(b.length>0&&y.push(b),b=[ee],E=ee.mode):b.push(ee));return b.length>0&&y.push(b),y}function Va(a,y){const b=[];let E=[],ee;for(const ie of a)if(ie.type!=="first"&&ie.style){let oe;y==="variant"?(oe=ie.style.variant,ie.style.variantStyle&&ie.style.variantStyle!=="up"&&(oe+="-"+ie.style.variantStyle)):oe=ie.style[y],oe===ee?E.push(ie):(E.length>0&&b.push(E),E=[ie],ee=oe)}return E.length>0&&b.push(E),b}function sd(a,y){var b;const{parent:E}=a[0],ee=E==null?void 0:E.computedStyle.color,ie=[];for(const oe of o0(a)){const ce=y.defaultMode;for(const he of Va(oe,"color")){const pe=he[0].computedStyle,ve=ms._registry[he[0].mode].serialize(he,Me(we({},y),{defaultMode:ce==="text"?"text":"math"}));!y.skipStyles&&pe.color&&pe.color!=="none"&&(!E||ee!==pe.color)?ie.push(aa("\\textcolor",(b=pe.verbatimColor)!=null?b:pe.color,rr(ve))):ie.push(rr(ve))}}return ie}function $0(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return Va(a,"backgroundColor").map(ee=>{var ie;if(ee.length>0||ee[0].type!=="box"){const oe=ee[0].computedStyle;if(oe.backgroundColor&&oe.backgroundColor!=="none"&&(!b||E!==oe.backgroundColor))return aa("\\colorbox",(ie=oe.verbatimBackgroundColor)!=null?ie:oe.backgroundColor,rr(sd(ee,Me(we({},y),{defaultMode:"text"}))))}return rr(sd(ee,y))})}function eh(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,ee=[];for(const ie of Va(a,"fontSize")){const oe=ie[0].computedStyle.fontSize,ce=$0(ie,y);ce&&(oe&&oe!=="auto"&&(!b||E!==oe)?ee.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][oe],...ce):ee.push(...ce))}return ee}function ld(a){return a?{mord:"ord",mbin:"bin",mop:"op",mrel:"rel",mopen:"open",mclose:"close",mpunct:"punct",minner:"inner",spacing:"ignore",latex:"latex",composition:"inner",error:"inner",placeholder:"ord",supsub:"ignore"}[a]:void 0}function Lu(a){if(a.length===0)return"ord";const y=ld(a[0].type),b=ld(a[a.length-1].type);return y&&y===b?y:"ord"}function Bu(a,y){if(typeof a=="string")return a;if(typeof a=="number"){console.assert(Number.isFinite(a));const b=Math.ceil(100*a)/100;return b===0?"0":b.toString()+(y!=null?y:"")}return""}var An=class Mp{constructor(y,b){var E,ee,ie,oe,ce;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Ne(y)?this.children=y.filter(pe=>pe!==null):y&&y instanceof Mp&&(this.children=[y]),this.children)for(const pe of this.children)pe.parent=this;this.type=(E=b==null?void 0:b.type)!=null?E:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(ee=b==null?void 0:b.classes)!=null?ee:"",this.isTight=(ie=b==null?void 0:b.isTight)!=null?ie:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let he=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(he=(ce=ms.getFont((oe=b.mode)!=null?oe:"math",this,Me(we({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?ce:void 0),he||(he="Main-Regular"),this._height=0,this._depth=0,this._width=0,this.hasExplicitWidth=!1,this.skew=0,this.italic=0,this.maxFontSize=0,this.scale=1,(b==null?void 0:b.maxFontSize)!==void 0&&(this.maxFontSize=b.maxFontSize),qu(this,he)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,E){if(b===void 0)return;const ee=Bu(b,E);ee.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ee)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=Bu(y,"em"),this.height-=y,this.depth+=y)}get left(){var y;return(y=this.cssProperties)!=null&&y["margin-left"]?Number.parseFloat(this.cssProperties["margin-left"]):0}set left(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-left"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-left"]=Bu(y,"em")))}set right(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-right"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-right"]=Bu(y,"em")))}set bottom(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-bottom"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-bottom"]=Bu(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const E=y.color;E&&E!==b.color&&this.setStyle("color",E);let ee=y.backgroundColor;this.isSelected&&(ee=$n(ee)),ee&&ee!==b.backgroundColor&&(this.setStyle("background-color",ee),this.setStyle("display","inline-block"));const ie=y.scalingFactor;return this.scale=ie,this.skew*=ie,this.italic*=ie,this}toMarkup(){var y,b,E,ee;let ie=(y=this.value)!=null?y:"";if(this.children)for(const We of this.children)ie+=We.toMarkup();let oe="";if(this.svgBody)oe=Cu(this.svgBody);else if(this.svgOverlay){oe='<span style="',oe+="display: inline-block;",oe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,oe+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,oe+='">',oe+=ie,oe+="</span>",oe+='<svg style="position:absolute;overflow:visible;',oe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const We=(b=this.cssProperties)==null?void 0:b.padding;We?(oe+=`top:${We};`,oe+=`left:${We};`,oe+=`width:calc(100% - 2 * ${We} );`):oe+="top:0;left:0;width:100%;",oe+="z-index:2;",oe+='"',this.svgStyle&&(oe+=this.svgStyle),oe+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,oe+=`>${this.svgOverlay}</svg>`}let ce="";const he=this.classes.split(" ");he.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&he.push("ML__latex-caret"),this.isSelected&&he.push("ML__selected");const pe=he.length===1?he[0]:he.filter((We,Ze,Dt)=>We.length>0&&Dt.indexOf(We)===Ze).join(" ");if(pe.length>0&&(ce+=` class="${pe}"`),this.id&&(ce+=` data-atom-id=${this.id}`),this.cssId&&(ce+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(ce+=" "+Object.keys(this.attributes).map(We=>`${We}="${this.attributes[We]}"`).join(" ")),this.htmlData){const We=this.htmlData.split(",");for(const Ze of We){const Dt=Ze.match(/([^=]+)=(.+$)/);if(Dt){const xn=Dt[1].trim().replace(/ /g,"-");xn&&(ce+=` data-${xn}="${Dt[2]}" `)}else{const xn=Ze.trim().replace(/ /g,"-");xn&&(ce+=` data-${xn} `)}}}const ve=(ee=this.cssProperties)!=null?ee:{};this.hasExplicitWidth&&ve.width===void 0&&(ve.width=`${Math.ceil(this._width*100)/100}em`);const De=Object.keys(ve).map(We=>`${We}:${ve[We]}`);if(this.scale!==void 0&&this.scale!==1&&(ie.length>0||oe.length>0)&&De.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const We=this.htmlStyle.split(";");let Ze="";for(const Dt of We){const xn=Dt.match(/([^=]+):(.+$)/);if(xn){const St=xn[1].trim().replace(/ /g,"-");St&&(Ze+=`${St}:${xn[2]};`)}}Ze&&(ce+=` style="${Ze}"`)}De.length>0&&(ce+=` style="${De.join(";")}"`);let Oe="";return ce.length>0||oe.length>0?Oe=`<span${ce}>${ie}${oe}</span>`:Oe=ie,this.caret==="text"?Oe+='<span class="ML__text-caret"></span>':this.caret==="math"&&(Oe+='<span class="ML__caret"></span>'),Oe}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,E=y.children&&y.children.length>0;if(b||E)return!1;if(y.cssProperties||this.cssProperties){for(const he of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&he in y.cssProperties||this.cssProperties&&he in this.cssProperties)return!1}const ee=this.cssProperties?Object.keys(this.cssProperties).length:0,ie=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ee!==ie)return!1;if(ee>0){for(const he of Object.keys(this.cssProperties))if(this.cssProperties[he]!==y.cssProperties[he])return!1}const oe=this.classes.trim().replace(/\s+/g," ").split(" "),ce=y.classes.trim().replace(/\s+/g," ").split(" ");if(oe.length!==ce.length)return!1;oe.sort(),ce.sort();for(const[he,pe]of oe.entries())if(pe==="vertical-separator"||pe!==ce[he])return!1;return this.value+=y.value,this.height=Math.max(this.height,y.height),this.depth=Math.max(this.depth,y.depth),this._width=this._width+y._width,this.maxFontSize=Math.max(this.maxFontSize,y.maxFontSize),this.italic=y.italic,!0}};function ud(a){if(!a||a.length===0)return[];a[0].children=ud(a[0].children);const y=[a[0]];for(let b=1;b<a.length;b++)y[y.length-1].tryCoalesceWith(a[b])||(a[b].children=ud(a[b].children),y.push(a[b]));return y}function kc(a){return a.children&&(a.children=ud(a.children)),a}function Dc(a,y){if(!a)return new An(null,y);const b=new An(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const ee=new An(null,{classes:"ML__strut--bottom",type:"ignore"});ee.setStyle("height",a.height+a.depth,"em"),ee.setStyle("vertical-align",-a.depth,"em"),E.push(ee)}return E.push(a),new An(E,Me(we({},y),{type:"lift"}))}function Bs(a){const y=e0(a)/2,b=new An(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function qu(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let E=0;E<a.value.length;E++){const ee=el(a.value.codePointAt(E),y);a.height=Math.max(a.height,ee.height),a.depth=Math.max(a.depth,ee.depth),a._width+=ee.width,a.skew=ee.skew,a.italic=ee.italic}return}if(a.children&&a.children.length>0){let E=-1/0,ee=-1/0,ie=0;for(const oe of a.children)oe.height>E&&(E=oe.height),oe.depth>ee&&(ee=oe.depth),ie=Math.max(ie,(b=oe.maxFontSize)!=null?b:0);a.height=E,a.depth=ee,a._width=a.children.reduce((oe,ce)=>oe+ce.width,0),a.maxFontSize=ie}}function Lc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],ee=-b.shift-b.box.depth;let ie=ee;for(let oe=1;oe<y.length;oe++){const ce=y[oe],he=-ce.shift-ie-ce.box.depth,pe=he-(b.box.height+b.box.depth);ie=ie+he,E.push(pe),E.push(ce),b=ce}return[E,ee]}if("top"in a){let y=a.top;for(const b of a.children)y-=typeof b=="number"?b:b.box.height+b.box.depth;return[a.children,y]}else{if("bottom"in a)return[a.children,-a.bottom];if("firstBaseline"in a){const y=a.firstBaseline[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.firstBaseline,-y.box.depth]}else if("shift"in a){const y=a.children[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.children,-y.box.depth-a.shift]}}return[null,0]}function Xu(a){var y;const[b,E]=Lc(a);if(!b)return[[],0,0];const ee=new An(null,{classes:"pstrut"});let ie=0;for(const Ze of b)if(typeof Ze!="number"){const Dt=Ze.box;ie=Math.max(ie,Dt.maxFontSize,Dt.height)}ie+=2,ee.height=ie,ee.setStyle("height",ie,"em");const oe=[];let ce=E,he=E,pe=E,ve=0;for(const Ze of b){if(typeof Ze=="number")pe+=Ze;else{const Dt=Ze.box,xn=(y=Ze.classes)!=null?y:[],St=new An([ee,Dt],{classes:xn.join(" "),style:Ze.style});Dt.setStyle("height",Dt.height+Dt.depth,"em"),Dt.setStyle("display","inline-block"),St.setStyle("top",-ie-pe-Dt.depth,"em"),Ze.marginLeft&&St.setStyle("margin-left",Ze.marginLeft,"em"),Ze.marginRight&&St.setStyle("margin-right",Ze.marginRight,"em"),oe.push(St),pe+=Dt.height+Dt.depth,ve=Math.max(ve,St.width)}ce=Math.min(ce,pe),he=Math.max(he,pe)}oe.forEach(Ze=>{Ze.softWidth=ve});const De=new An(oe,{classes:"vlist"});if(De.softWidth=ve,De.height=he,De.setStyle("height",he,"em"),ce>=0)return[[new An(De,{classes:"vlist-r"})],he,-ce];const Oe=new An(new An(null),{classes:"vlist"});Oe.height=-ce,Oe.setStyle("height",-ce,"em");const We=new An(8203,{classes:"vlist-s",maxFontSize:0});return We.softWidth=0,We.height=0,We.depth=0,[[new An([De,We],{classes:"vlist-r"}),new An(Oe,{classes:"vlist-r"})],he,-ce]}var Vr=class extends An{constructor(a,y){var b;const[E,ee,ie]=Xu(a);super(E.length===1?E[0]:E,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(E.length===2?" vlist-t2":"")}),this.height=ee,this.depth=ie,this.softWidth=E.reduce((oe,ce)=>Math.max(oe,ce.width),0)}};function th(a,y){var b,E,ee,ie,oe;const ce=a.metrics,he=new An(y.base),pe=(b=y.baseShift)!=null?b:0,ve=(E=y.slant)!=null?E:0;let De=0,Oe=0;y.above&&(De=(ee=y.aboveShift)!=null?ee:Math.max(ce.bigOpSpacing1,ce.bigOpSpacing3-y.above.depth)),y.below&&(Oe=(ie=y.belowShift)!=null?ie:Math.max(ce.bigOpSpacing2,ce.bigOpSpacing4-y.below.height));let We=null;if(y.below&&y.above){const Ze=ce.bigOpSpacing5+y.below.height+y.below.depth+Oe+he.depth+pe;We=new Vr({bottom:Ze,children:[ce.bigOpSpacing5,{box:y.below,marginLeft:-ve,classes:["ML__center"]},Oe,{box:he,classes:["ML__center"]},De,{box:y.above,marginLeft:ve,classes:["ML__center"]},ce.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)We=new Vr({top:he.height-pe,children:[ce.bigOpSpacing5,{box:y.below,marginLeft:-ve,classes:["ML__center"]},Oe,{box:he,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const Ze=he.depth+pe;We=new Vr({bottom:Ze,children:[{box:he,classes:["ML__center"]},De,{box:y.above,marginLeft:ve,classes:["ML__center"]},ce.bigOpSpacing5]}).wrap(a)}else{const Ze=he.depth+pe;We=new Vr({bottom:Ze,children:[{box:he},ce.bigOpSpacing5]}).wrap(a)}return new An(We,{type:(oe=y.type)!=null?oe:"op"})}var cd=7,nl=6,$u=5,El=4,ru=3,Qo=2,ws=1,ko=0,_s=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const E={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(ad).reduce((ee,ie)=>Me(we({},ee),{[ie]:ad[ie][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return js[[ko,ws,ko,ws,Qo,ru,Qo,ru][this.id]]}get sub(){return js[[ko,ko,ko,ko,Qo,Qo,Qo,Qo][this.id]]}get fracNum(){return js[[ko,ws,ko,ws,Qo,ru,El,$u][this.id]]}get fracDen(){return js[[ko,ko,ko,ko,Qo,Qo,El,El][this.id]]}get cramp(){return js[[ko,ko,Qo,Qo,El,El,nl,nl][this.id]]}get isTight(){return this.sizeDelta<0}},au={7:new _s(cd,0,!1),6:new _s(nl,0,!0),5:new _s($u,0,!1),4:new _s(El,0,!0),3:new _s(ru,-3,!1),2:new _s(Qo,-3,!0),1:new _s(ws,-4,!1),0:new _s(ko,-4,!0)},js=Me(we({},au),{displaystyle:au[cd],textstyle:au[$u],scriptstyle:au[ru],scriptscriptstyle:au[ws]});function Nu(a,y){var b;if(!a)return 0;const E={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:nu,bp:803/800,dd:1238/1157,pc:12,in:72.27,mu:10/18}[(b=a.unit)!=null?b:"pt"];if(Number.isFinite(y)){const ee=Rl(10,y);return Math.round(a.dimension/nu*E*ee)/ee}return a.dimension*E}function dd(a,y){if(a===null)return 0;const b=Nu(a)/nu;if(Number.isFinite(y)){const E=Rl(10,y);return Math.round(b*E)/E}return b}function hd(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function s0(a){let y=hd(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${hd(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${hd(a.shrink)}`),y}function io(a){var y,b;if(a==null)return null;let E="";if("dimension"in a&&(E=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(E=s0(a)),"number"in a)if(!("base"in a)||a.base==="decimal")E=Number(a.number).toString();else if(a.base==="alpha")E=`\`${String.fromCodePoint(a.number)}`;else{const ee=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(ee).toString(16).toUpperCase(),ee<=255?E=E.padStart(2,"0"):ee<=65535?E=E.padStart(4,"0"):ee<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(ee).toString(8),ee<=63?E=E.padStart(2,"0"):ee<=30583?E=E.padStart(4,"0"):E=E.padStart(8,"0"),E=`'${E}`)}return"register"in a&&("factor"in a&&(a.factor===-1?E="-":a.factor!==1&&(E=Number(a.factor).toString())),"global"in a&&a.global&&(E+="\\global"),E+=`\\${a.register}`),"string"in a&&(E=a.string),(b=a.relax)!=null&&b&&(E+="\\relax"),E}function Rs(a,y){return a==null?null:"number"in a?Me(we({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?Me(we({},a),{factor:a.factor*y}):Me(we({},a),{factor:y}):"dimension"in a?Me(we({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:Rs(a.glue,y),shrink:Rs(a.shrink,y),grow:Rs(a.grow,y)}:a.shrink?{glue:Rs(a.glue,y),shrink:Rs(a.shrink,y)}:a.grow?{glue:Rs(a.glue,y),grow:Rs(a.grow,y)}:{glue:Rs(a.glue,y)}:null}var nh={"p@":{dimension:1},"z@":{dimension:0},maxdimen:{dimension:16383.99999},hfuzz:{dimension:.1},vfuzz:{dimension:.1},overfullrule:{dimension:5},hsize:{dimension:6.5,unit:"in"},vsize:{dimension:8.9,unit:"in"},parindent:{dimension:20},maxdepth:{dimension:4},splitmaxdepth:{register:"maxdimen"},boxmaxdepth:{register:"maxdimen"},delimitershortfall:{dimension:5},nulldelimiterspace:{dimension:1.2,unit:"pt"},scriptspace:{dimension:.5},topskip:{dimension:10},splittopskip:{dimension:10},normalbaselineskip:{dimension:12},normallineskip:{dimension:1},normallineskiplimit:{dimension:0},jot:{dimension:3},doublerulesep:{dimension:2},arrayrulewidth:{dimension:.4},arraycolsep:{dimension:5},fboxsep:{dimension:3},fboxrule:{dimension:.4},"z@skip":{glue:{dimension:0},shrink:{dimension:0},grow:{dimension:0}},hideskip:{glue:{dimension:-1e3},grow:{dimension:1,unit:"fill"}},"@flushglue":{glue:{dimension:0},grow:{dimension:1,unit:"fill"}},parskip:{glue:{dimension:0},grow:{dimension:1}},abovedisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},abovedisplayshortskip:{glue:{dimension:0},grow:{dimension:3}},belowdisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},belowdisplayshortskip:{glue:{dimension:7},grow:{dimension:3},shrink:{dimension:4}},parfillskip:{glue:{dimension:0},grow:{dimension:1,unit:"fil"}},thinmuskip:{glue:{dimension:3,unit:"mu"}},medmuskip:{glue:{dimension:4,unit:"mu"},grow:{dimension:2,unit:"mu"},shrink:{dimension:4,unit:"mu"}},thickmuskip:{glue:{dimension:5,unit:"mu"},grow:{dimension:5,unit:"mu"}},smallskipamount:{glue:{dimension:3},grow:{dimension:1},shrink:{dimension:1}},medskipamount:{glue:{dimension:6},grow:{dimension:2},shrink:{dimension:3}},bigskipamount:{glue:{dimension:12},grow:{dimension:2},shrink:{dimension:4}},pretolerance:100,tolerance:200,hbadness:1e3,vbadness:1e3,linepenalty:10,hyphenpenalty:50,exhyphenpenalty:50,binoppenalty:700,relpenalty:500,clubpenalty:150,widowpenalty:150,displaywidowpenalty:50,brokenpenalty:100,predisplaypenalty:1e4,doublehyphendemerits:1e4,finalhyphendemerits:5e3,adjdemerits:1e4,tracinglostchars:1,uchyph:1,delimiterfactor:901,defaulthyphenchar:"\\-",defaultskewchar:-1,newlinechar:-1,showboxbreadth:5,showboxdepth:3,errorcontextlines:5,interdisplaylinepenalty:100,interfootnotelinepenalty:100,baselineSkip:1.2,arraystretch:1,month:new Date().getMonth()+1,day:new Date().getDate(),year:new Date().getFullYear()};function Iu(){return we({},nh)}function Bc(){return{registers:Iu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:Ye.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Bt,backgroundColorMap:Je,getMacro:a=>oo(a,Sr())}}var ur=class Sp{constructor(y,b){var E,ee,ie,oe,ce,he,pe,ve,De,Oe,We,Ze,Dt,xn,St;let tn;y!=null&&y.parent?(this.parent=y.parent,tn=y.parent,this.registers={}):(tn=we(we({},Bc()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=tn.registers),tn.atomIdsSettings&&(this.atomIdsSettings=we({},tn.atomIdsSettings)),this.renderPlaceholder=tn.renderPlaceholder,this.isPhantom=(oe=(ie=y==null?void 0:y.isPhantom)!=null?ie:(ee=this.parent)==null?void 0:ee.isPhantom)!=null?oe:!1,this.letterShapeStyle=tn.letterShapeStyle,this.minFontScale=tn.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(he=(ce=this.parent)==null?void 0:ce.color)!=null?he:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(ve=(pe=this.parent)==null?void 0:pe.backgroundColor)!=null?ve:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((De=this.parent)==null?void 0:De.size)?this.size=b.fontSize:this.size=(We=(Oe=this.parent)==null?void 0:Oe.size)!=null?We:bl;let Mn=(Dt=(Ze=this.parent)==null?void 0:Ze.mathstyle)!=null?Dt:js.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(tn instanceof Sp)switch(y.mathstyle){case"cramp":Mn=Mn.cramp;break;case"superscript":Mn=Mn.sup;break;case"subscript":Mn=Mn.sub;break;case"numerator":Mn=Mn.fracNum;break;case"denominator":Mn=Mn.fracDen;break}switch(y.mathstyle){case"textstyle":Mn=js.textstyle;break;case"displaystyle":Mn=js.displaystyle;break;case"scriptstyle":Mn=js.scriptstyle;break;case"scriptscriptstyle":Mn=js.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=Mn,this.smartFence=tn.smartFence,this.placeholderSymbol=tn.placeholderSymbol,this.colorMap=(xn=tn.colorMap)!=null?xn:cn=>cn,this.backgroundColorMap=(St=tn.backgroundColorMap)!=null?St:cn=>cn,this.getMacro=tn.getMacro,console.assert(this.parent!==void 0||this.registers!==void 0)}makeID(){if(!this.atomIdsSettings)return;if(this.atomIdsSettings.overrideID)return this.atomIdsSettings.overrideID;if(typeof this.atomIdsSettings.seed!="number")return`${Date.now().toString(36).slice(-2)}${Math.floor(Math.random()*1e5).toString(36)}`;const y=this.atomIdsSettings.seed.toString(36);return this.atomIdsSettings.seed+=1,y}scale(y){return y*this.effectiveFontSize}get scalingFactor(){return this.parent?this.effectiveFontSize/this.parent.effectiveFontSize:1}get isDisplayStyle(){return this.mathstyle.id===cd||this.mathstyle.id===nl}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(Sc[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E:typeof E=="object"&&"dimension"in E?{glue:{dimension:E.dimension}}:typeof E=="number"?{glue:{dimension:E}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return dd(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E.glue:typeof E=="object"&&"dimension"in E?E:typeof E=="number"?{dimension:E}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let E=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(E=y.factor);const ee=b.getRegister(y.register);if(ee===void 0)return;if(typeof ee=="string")return{string:Number(ee).toString()+ee};if(typeof ee=="number")return{number:E*ee};const ie=b.evaluate(ee);if(ie!==void 0)return"string"in ie?{string:Number(ee).toString()+ie.string}:"number"in ie?{number:E*ie.number}:"dimension"in ie?Me(we({},ie),{dimension:E*ie.dimension}):"glue"in ie?Me(we({},ie),{glue:Me(we({},ie.glue),{dimension:E*ie.glue.dimension}),shrink:ie.shrink?Me(we({},ie.shrink),{dimension:E*ie.shrink.dimension}):void 0,grow:ie.grow?Me(we({},ie.grow),{dimension:E*ie.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const E=this.toDimension(y);return E===null?0:Nu(E,b)/nu}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.colorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}},Tu=["body","above","below","superscript","subscript"];function il(a){return typeof a=="string"&&Tu.includes(a)}function ec(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Ut=class du{constructor(y){var b,E,ee,ie,oe,ce;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(E=(b=y.command)!=null?b:this.value)!=null?E:"",this.mode=(ee=y.mode)!=null?ee:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=we({},y.style),this.displayContainsHighlight=(ie=y.displayContainsHighlight)!=null?ie:!1,this.captureSelection=(oe=y.captureSelection)!=null?oe:!1,this.skipBoundary=(ce=y.skipBoundary)!=null?ce:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,E){var ee;if(!b)return null;const ie=l0(b),oe=[];for(const he of ie){const pe=he[0].style,ve=u0(y,he,{style:{color:pe.color,backgroundColor:pe.backgroundColor,fontSize:pe.fontSize}});ve&&oe.push(ve)}if(oe.length===0)return null;const ce=((ee=E==null?void 0:E.classes)!=null?ee:"").trim();return oe.length===1&&!ce&&!(E!=null&&E.type)?oe[0].wrap(y):new An(oe,{classes:ce,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return ms.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:ee}=y;for(;ee;)E.add(ee),ee=ee.parent;for(ee=b.parent;ee;){if(E.has(ee))return ee;ee=ee.parent}console.assert(!!ee)}static fromJson(y){return typeof y=="string"?new du({type:"mord",value:y,mode:"math"}):new du(y)}get latexMode(){return this.mode==="math"?"math":"text"}toJson(){const y={};if(this.type&&(y.type=this.type),this.mode!=="math"&&(y.mode=this.mode),this.command&&this.command!==this.value&&(y.command=this.command),this.value!==void 0&&(y.value=this.value),this.style&&Object.keys(this.style).length>0&&(y.style=we({},this.style)),this.verbatimLatex!==void 0&&(y.verbatimLatex=this.verbatimLatex),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.explicitSubsupPlacement&&(y.explicitSubsupPlacement=!0),this.isFunction&&(y.isFunction=!0),this.displayContainsHighlight&&(y.displayContainsHighlight=!0),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.skipBoundary&&(y.skipBoundary=!0),this.captureSelection&&(y.captureSelection=!0),this.args&&(y.args=pd(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(E=>E.type!=="first").map(E=>E.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?rr([aa(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?rr([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return ms.serialize(this.body,Me(we({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return ms.serialize(this.above,y)}belowToLatex(y){return ms.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=Me(we({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=ms.serialize(this.subscript,y);E.length===0?b+="_{}":E.length===1?/^[0-9]$/.test(E)?b+=`_${E}`:b+=`_{${E}}`:b+=`_{${E}}`}if(this.branch("superscript")!==void 0){const E=ms.serialize(this.superscript,y);E.length===0?b+="^{}":E.length===1?E==="\u2032"?b+="^\\prime ":E==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(E)?b+=`^${E}`:b+=`^{${E}}`:b+=`^{${E}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(il(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of Tu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(il(y)),il(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return ec(this.parentBranch)?this.parentBranch[0]:-1}get col(){return ec(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const E=typeof this.style.verbatimColor=="string",ee=typeof this.style.verbatimBackgroundColor=="string",ie=we(we({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete ie.variant,delete ie.variantStyle,ee||delete ie.verbatimBackgroundColor,E||delete ie.verbatimColor,ie}applyStyle(y){this.isDirty=!0,this.style=we(we({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,E;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(E=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?E:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var E;if(!y||(console.assert(il(b)),!il(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const ee=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ee:this._branches={[b]:ee};for(const ie of y)ie.parent=this,ie.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new du({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const E=this.createBranch(b);for(const ee of y)ee.parent=this,ee.parentBranch=b,E.push(ee);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,...y),this.isDirty=!0;for(const ee of y)ee.parent=this,ee.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(il(y)&&(this._branches[y]=void 0),!b)return[];for(const E of b)E.parent=void 0,E.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),E=b.indexOf(y);console.assert(E>=0),b.splice(E,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of Tu)if(this._branches[b])for(const E of this._branches[b])y.push(...E.children),y.push(E);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=di(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new ur({parent:y},this.style);let ee=this.createBox(E,{classes:this.parent?"":"ML__base"});return ee?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ee=this.attachSupsub(E,{base:ee})),ee.wrap(E)):null}attachSupsub(y,b){var E;const ee=b.base,ie=this.superscript,oe=this.subscript;if(!ie&&!oe)return ee;let ce=null,he=null;const pe=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let ve=0;if(ie){const Dt=new ur({parent:y,mathstyle:"superscript"});ce=du.createBox(Dt,ie),pe||(ve=ee.height-y.metrics.supDrop*Dt.scalingFactor)}let De=0;if(oe){const Dt=new ur({parent:y,mathstyle:"subscript"});he=du.createBox(Dt,oe),pe||(De=ee.depth+y.metrics.subDrop*Dt.scalingFactor)}let Oe;y.isDisplayStyle?Oe=y.metrics.sup1:y.isCramped?Oe=y.metrics.sup3:Oe=y.metrics.sup2;const We=.5/nu/y.scalingFactor;let Ze=null;if(he&&ce){ve=Math.max(ve,Oe,ce.depth+.25*y.metrics.xHeight),De=Math.max(De,y.metrics.sub2);const Dt=y.metrics.defaultRuleThickness;if(ve-ce.depth-(he.height-De)<4*Dt){De=4*Dt-(ve-ce.depth)+he.height;const St=.8*y.metrics.xHeight-(ve-ce.depth);St>0&&(ve+=St,De-=St)}const xn=this.isExtensibleSymbol&&ee.italic?-ee.italic:0;Ze=new Vr({individualShift:[{box:he,shift:De,marginLeft:xn},{box:ce,shift:-ve}]}).wrap(y)}else he&&!ce?(De=Math.max(De,y.metrics.sub1,he.height-.8*$s),Ze=new Vr({shift:De,children:[{box:he,marginRight:We,marginLeft:this.isCharacterBox()?-ee.italic:0}]})):!he&&ce&&(ve=Math.max(ve,Oe,ce.depth+.25*$s),Ze=new Vr({shift:-ve,children:[{box:ce,marginRight:We}]}));return new An([ee,new An(Ze,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?du.createBox(new ur({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ee=this.subscript?du.createBox(new ur({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!ee?b.base.wrap(y):th(y,Me(we({},b),{above:E,below:ee}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let E=this.parent;for(;E&&!E.captureSelection;)E=E.parent;return E!=null&&E.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var E,ee,ie,oe;const ce=(E=this.value)!=null?E:this.body,he=(ee=b==null?void 0:b.boxType)!=null?ee:ld(this.type);let pe=(ie=b==null?void 0:b.classes)!=null?ie:"";this.mode==="text"&&(pe+=" ML__text");const ve=typeof ce=="string"||ce===void 0?new An(ce!=null?ce:null,{type:he,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:Me(we({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:pe}):(oe=du.createBox(y,ce,{type:he,classes:pe}))!=null?oe:new An(null);return y.isTight&&(ve.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(ve.italic=0),ve.right=ve.italic,this.bind(y,ve),this.caret&&!this.superscript&&!this.subscript&&(ve.caret=this.caret),ve}isDigit(){var y;return this.type==="mord"&&this.value?/^[\d,\.]$/.test(this.value):this.type==="group"&&((y=this.body)==null?void 0:y.length)===2?this.body[0].type==="first"&&this.body[1].value===",":!1}asDigit(){var y;return this.type==="mord"&&this.value&&/^[\d,\.]$/.test(this.value)?this.value:this.type==="group"&&((y=this.body)==null?void 0:y.length)===2&&this.body[0].type==="first"&&this.body[1].value===","?".":""}};function l0(a){let y;const b=[];let E=[];for(const ee of a)if(!y&&!ee.style)E.push(ee);else{const ie=ee.computedStyle;y&&ie.color===y.color&&ie.backgroundColor===y.backgroundColor&&ie.fontSize===y.fontSize?E.push(ee):(E.length>0&&b.push(E),E=[ee],y=ie)}return E.length>0&&b.push(E),b}function u0(a,y,b){var E,ee,ie,oe,ce;if(!y||y.length===0)return null;const he=new ur({parent:a},b.style),pe=!((E=he.atomIdsSettings)!=null&&E.groupNumbers);let ve=[];if(y.length===1){const Oe=y[0],We=Oe.render(he);We&&(pe&&Oe.isSelected&&We.selected(!0),ve=[We])}else{let Oe="",We=!0;for(const Ze of y){(ee=he.atomIdsSettings)!=null&&ee.groupNumbers&&Oe&&(We&&Ze.isDigit()||!We&&fd(Ze))&&(he.atomIdsSettings.overrideID=Oe);const Dt=Ze.render(he);he.atomIdsSettings&&(he.atomIdsSettings.overrideID=void 0),Dt&&((ie=he.atomIdsSettings)!=null&&ie.groupNumbers&&((Ze.isDigit()||fd(Ze))&&(!Oe||We!==Ze.isDigit())&&(We=Ze.isDigit(),Oe=(oe=Ze.id)!=null?oe:""),Oe&&(!(Ze.isDigit()||fd(Ze))||!Ze.hasEmptyBranch("superscript")||!Ze.hasEmptyBranch("subscript"))&&(Oe="")),pe&&Ze.isSelected&&Dt.selected(!0),ve.push(Dt))}}if(ve.length===0)return null;const De=new An(ve,Me(we({isTight:he.isTight},b),{type:(ce=b.type)!=null?ce:"lift"}));return De.isSelected=ve.every(Oe=>Oe.isSelected),De.wrap(he)}function fd(a){return a.mode==="text"}function pd(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof Ut?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var rl=class Cp extends Ut{constructor(y,b,E){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(E)}static fromJson(y){return new Cp(y.command,y.value,y.style)}render(y){const b=this.createBox(y);return this.caret&&(b.caret=this.caret),b}_serialize(y){var b;return(b=this.verbatimLatex)!=null?b:pr("text",this.value.codePointAt(0))}};function tc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&ih(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function ih(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function Do(a){let y=1/0,b=-1/0;for(const E of a.ranges)y=Math.min(y,E[0],E[1]),b=Math.max(b,E[0],E[1]);return[y,b]}function Ml(a){return typeof a=="number"&&!Number.isNaN(a)}function Nc(a){return Array.isArray(a)&&a.length===2}function Ic(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function rh(a,y){const b=a.at(y);let E;if(b){E=b.mode;let ee=b.parent;for(;!E&&ee;)ee&&(E=ee.mode),ee=ee.parent}return E}function c0(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,E=!1,ee=!1,ie=!1,oe=!1,ce=!1,he=!1,pe=!1,ve=!1,De=!1,Oe=!1,We=!1,Ze=!1,Dt=!1,xn=!1,St=a[0],tn=0;for(;St!=null&&St.type&&/^(subsup|placeholder)$/.test(St.type);)tn+=1,St=a[tn];return b=!St||St.type==="first",St&&(Dt=St.mode==="text",E=!Dt&&St.type==="mord"&&ye.test(St.value),ee=!Dt&&St.type==="mord"&&/\d+$/.test(St.value),ie=!Dt&&St.isFunction,oe=St.type==="genfrac",ce=St.type==="surd",he=St.type==="mbin",pe=St.type==="mrel",ve=St.type==="mop"||St.type==="operator"||St.type==="extensible-symbol",De=St.type==="mpunct"||St.type==="minner",Oe=St.type==="array",We=St.type==="mopen",Ze=St.type==="mclose"||St.type==="leftright",xn=St.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&ee||y.after.includes("function")&&ie||y.after.includes("frac")&&oe||y.after.includes("surd")&&ce||y.after.includes("binop")&&he||y.after.includes("relop")&&pe||y.after.includes("operator")&&ve||y.after.includes("punct")&&De||y.after.includes("array")&&Oe||y.after.includes("openfence")&&We||y.after.includes("closefence")&&Ze||y.after.includes("text")&&Dt||y.after.includes("space")&&xn?y.value:""}function md(a,y,b){return b?c0(a,b[y]):""}var d0={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\doubleprime}","'''":"^{\\prime\\prime\\prime}","''''":"^{\\prime\\prime\\prime\\prime}",alpha:"\\alpha",delta:"\\delta",Delta:"\\Delta",pi:"\\pi",Pi:"\\Pi",theta:"\\theta",Theta:"\\Theta",ii:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryI"},jj:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryJ"},ee:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\exponentialE"},nabla:"\\nabla",grad:"\\nabla",del:"\\partial",deg:{after:"digit+space",value:"\\degree"},infty:"\\infty","\u221E":"\\infty",oo:{after:"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\infty"},"\u2211":"\\sum",sum:"\\sum_{#?}^{#?}",int:"\\int_{#?}^{#?}",prod:"\\prod_{#?}^{#?}",sqrt:"\\sqrt{#?}","\u2206":"\\differentialD","\u2202":"\\differentialD",arcsin:"\\arcsin",arccos:"\\arccos",arctan:"\\arctan",arcsec:"\\arcsec",arccsc:"\\arccsc",arsinh:"\\arsinh",arcosh:"\\arcosh",artanh:"\\artanh",arcsech:"\\arcsech",arccsch:"\\arccsch",arg:"\\arg",ch:"\\ch",cosec:"\\cosec",cosh:"\\cosh",cot:"\\cot",cotg:"\\cotg",coth:"\\coth",csc:"\\csc",ctg:"\\ctg",cth:"\\cth",sec:"\\sec",sinh:"\\sinh",sh:"\\sh",tanh:"\\tanh",tg:"\\tg",th:"\\th",sin:"\\sin",cos:"\\cos",tan:"\\tan",lg:"\\lg",lb:"\\lb",log:"\\log",ln:"\\ln",exp:"\\exp",lim:"\\lim_{#?}",dx:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD x"},dy:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD y"},dt:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD t"},AA:"\\forall",EE:"\\exists","!EE":"\\nexists","&&":"\\land",xin:{after:"nothing+text+relop+punct+openfence+space",value:"x \\in"},sint:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\sin t"},in:{after:"nothing+letter+closefence",value:"\\in"},"!in":"\\notin",NN:"\\mathbb{N}",ZZ:"\\Z",QQ:"\\Q",RR:"\\R",CC:"\\C",xx:"\\times","+-":"\\pm","\u2260":"\\ne","!=":"\\ne","\u2265":"\\ge",">=":"\\ge","\u2264":"\\le","<=":"\\le","<<":"\\ll",">>":"\\gg","~~":"\\approx","\u2248":"\\approx","?=":"\\questeq","\xF7":"\\div","\xAC":"\\neg",":=":"\\coloneq","::":"\\Colon","(:":"\\langle",":)":"\\rangle",beta:"\\beta",chi:"\\chi",epsilon:"\\epsilon",varepsilon:"\\varepsilon",eta:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\eta"},gamma:"\\gamma",Gamma:"\\Gamma",iota:"\\iota",kappa:"\\kappa",lambda:"\\lambda",Lambda:"\\Lambda",mu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\mu"},nu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\nu"},\u00B5:"\\mu",phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\phi"},Phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Phi"},varphi:"\\varphi",psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\psi"},Psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Psi"},rho:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\rho"},sigma:"\\sigma",Sigma:"\\Sigma",tau:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\tau"},vartheta:"\\vartheta",upsilon:"\\upsilon",xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\xi"},Xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Xi"},zeta:"\\zeta",omega:"\\omega",Omega:"\\Omega",\u03A9:"\\omega",forall:"\\forall",exists:"\\exists","!exists":"\\nexists",":.":"\\therefore",liminf:"\\liminf_{#?}",limsup:"\\limsup_{#?}",argmin:"\\operatorname*{arg~min}_{#?}",argmax:"\\operatorname*{arg~max}_{#?}",det:"\\det",mod:"\\bmod{#?}","(mod":"\\pmod{#?}",max:"\\max",min:"\\min",erf:"\\operatorname{erf}",erfc:"\\operatorname{erfc}",bessel:"\\operatorname{bessel}",mean:"\\operatorname{mean}",median:"\\operatorname{median}",fft:"\\operatorname{fft}",lcm:"\\operatorname{lcm}",gcd:"\\operatorname{gcd}",randomReal:"\\operatorname{randomReal}",randomInteger:"\\operatorname{randomInteger}",Re:"\\operatorname{Re}",Im:"\\operatorname{Im}",mm:{after:"nothing+digit+operator",value:"\\operatorname{mm}"},cm:{after:"nothing+digit+operator",value:"\\operatorname{cm}"},km:{after:"nothing+digit+operator",value:"\\operatorname{km}"},kg:{after:"nothing+digit+operator",value:"\\operatorname{kg}"},"...":"\\ldots","+...":"+\\cdots","-...":"-\\cdots","->...":"\\to\\cdots","-->...":"\\longrightarrow\\cdots","->":"\\to","|->":"\\mapsto","-->":"\\longrightarrow","<--":"\\longleftarrow","=>":"\\Rightarrow","==>":"\\Longrightarrow","<=>":"\\Leftrightarrow","<->":"\\leftrightarrow","(.)":"\\odot","(+)":"\\oplus","(/)":"\\oslash","(*)":"\\otimes","(-)":"\\ominus","||":"\\Vert","*":"\\cdot","**":"\\star","***":"\\ast","//":"\\slash","\\\\":"\\backslash",setminus:"\\backslash","|><":"\\ltimes","><|":"\\rtimes","|><|":"\\bowtie","-:":"\\div",divide:"\\div","@":"\\circ","^^":"\\wedge","^^^":"\\bigwedge",vv:"\\vee",vvv:"\\bigvee",nn:"\\cap",nnn:"\\bigcap",uu:"\\cup",uuu:"\\bigcup","-=":"\\equiv","~=":"\\cong",lt:"<","lt=":"\\leq",gt:">","gt=":"\\geq","-<":"\\prec","-lt":"\\prec","-<=":"\\preceq",">-=":"\\succeq",prop:"\\propto",diamond:"\\diamond",square:"\\square",iff:"\\iff",sub:"\\subset",sup:"\\supset",sube:"\\subseteq",supe:"\\supseteq",uarr:"\\uparrow",darr:"\\downarrow",rarr:"\\rightarrow",rArr:"\\Rightarrow",larr:"\\leftarrow",lArr:"\\Leftarrow",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",aleph:"\\aleph",and:"\\land",or:"\\lor",not:"\\neg","_|_":"\\bot",TT:"\\top","|--":"\\vdash","|==":"\\models","|__":"\\lfloor","__|":"\\rfloor","|~":"\\lceil","~|":"\\rceil",">->":"\\rightarrowtail","->>":"\\twoheadrightarrow",">->>":"\\twoheadrightarrowtail",frac:"\\frac{#?}{#?}",cbrt:"\\sqrt[3]{#?}",nthroot:"\\sqrt[#?]{#?}"};function nc(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=f0(a)),E==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",_o(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function _o(a,y){var b,E,ee;if(!a)return"";let ie=!1,oe;const ce=(b=y.inlineShortcuts)!=null?b:d0;if(!ie&&(a.startsWith("^")||a.startsWith("_"))&&(oe=Sl(a.slice(1),{inlineShortcuts:ce,noWrap:!0}),a=a[0]+"{"+oe.match+"}",a+=_o(oe.rest,y),ie=!0),ie||(oe=a.match(/^(sqrt|\u221A)(.*)/),oe&&(oe=Sl(oe[2],{inlineShortcuts:ce,noWrap:!0}),a="\\sqrt{"+((E=oe.match)!=null?E:"\\placeholder{}")+"}",a+=_o(oe.rest,y),ie=!0)),ie||(oe=a.match(/^(\\cbrt|\u221B)(.*)/),oe&&(oe=Sl(oe[2],{inlineShortcuts:ce,noWrap:!0}),a="\\sqrt[3]{"+((ee=oe.match)!=null?ee:"\\placeholder{}")+"}",a+=_o(oe.rest,y),ie=!0)),ie||(oe=a.match(/^abs(.*)/),oe&&(oe=Sl(oe[1],{inlineShortcuts:ce,noWrap:!0}),a="\\left|"+oe.match+"\\right|",a+=_o(oe.rest,y),ie=!0)),ie||(oe=a.match(/^["”“](.*?)["”“](.*)/),oe&&(a="\\text{"+oe[1]+"}",a+=_o(oe[2],y),ie=!0)),ie||(oe=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),oe&&(a=h0(oe[1],ce),a+=_o(oe[2],y),ie=!0)),!ie&&/^([fgh])[^a-zA-Z]/.test(a)&&(oe=Sl(a.slice(1),{inlineShortcuts:ce,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+oe.match+"\\right)":a[0]+oe.match,a+=_o(oe.rest,y),ie=!0),ie||(oe=a.match(/^([a-zA-Z]+)(.*)/),oe&&(a=h0(oe[1],ce),a+=_o(oe[2],y),ie=!0)),!ie)if(oe=Sl(a,{inlineShortcuts:ce,noWrap:!0}),oe.match&&oe.rest[0]==="/"){const he=Sl(oe.rest.slice(1),{inlineShortcuts:ce,noWrap:!0});he.match&&(a="\\frac{"+oe.match+"}{"+he.match+"}"+_o(he.rest,y)),ie=!0}else oe.match&&(a=a.startsWith("(")?"\\left("+oe.match+"\\right)"+_o(oe.rest,y):oe.match+_o(oe.rest,y),ie=!0);return ie||(oe=a.match(/^(\s+)(.*)$/),oe&&(a=" "+_o(oe[2],y),ie=!0)),a}function Sl(a,y){let b="";a=a.trim();let E=a,ee=a.charAt(0),ie={"(":")","{":"}","[":"]"}[ee];if(ie){let oe=1,ce=1;for(;ce<a.length&&oe>0;)a[ce]===ee&&oe++,a[ce]===ie&&oe--,ce++;oe===0?(y.noWrap&&ee==="("?b=_o(a.substring(1,ce-1),y):(ee==="{"&&ie==="}"&&(ee="\\{",ie="\\}"),b="\\left"+ee+_o(a.substring(1,ce-1),y)+"\\right"+ie),E=a.slice(Math.max(0,ce))):(b=a.substring(1,ce),E="")}else{let oe=a.match(/^([a-zA-Z]+)/);if(oe){let ce=md(null,a,y.inlineShortcuts);if(ce)return ce=ce.replace("_{#?}",""),ce=ce.replace("^{#?}",""),{match:ce,rest:a.slice(ce.length)}}if(oe=a.match(/^([a-zA-Z])/),oe)return{match:oe[1],rest:a.slice(1)};if(oe=a.match(/^(-)?\d+(\.\d*)?/),oe)return{match:oe[0],rest:a.slice(oe[0].length)};/^\\(left|right)/.test(a)||(oe=a.match(/^(\\[a-zA-Z]+)/),oe&&(E=a.slice(oe[1].length),b=oe[1]))}return{match:b,rest:E}}function h0(a,y){let b=md(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var gd=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Cl(a){const y=a.trim();for(const b of gd)if(y.startsWith(b[0])&&y.endsWith(b[1]))return[!0,y.substring(b[0].length,y.length-b[1].length)];return[!1,a]}function f0(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Cl(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var Tc="$$",ah="$$",oh=(a,y,b)=>(gd.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${Tc} ${y} ${ah}`),y),p0=class X0{constructor(y){X0._modes[y]=this}static onPaste(y,b,E){var ee;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const oe=new DataTransfer;oe.setData("text/plain",E),E=oe}const ie=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(ee=b.host)!=null&&ee.dispatchEvent(ie)?X0._modes[y].onPaste(b,E):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const E=y.model,ee=E.selectionIsCollapsed?[0,E.lastOffset]:Do(E.selection),ie=E.getValue(ee,b);navigator.clipboard.writeText(ie).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var E;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const ee=y.model,ie=ee.selectionIsCollapsed?[0,ee.lastOffset]:Do(ee.selection);let oe=ee.getAtoms(ie);if(oe.every(ce=>ce.mode==="text"||!ce.mode))b.clipboardData.setData("text/plain",oe.filter(ce=>ce instanceof rl).map(ce=>ce.value).join(""));else if(oe.every(ce=>ce.mode==="latex"))b.clipboardData.setData("text/plain",ee.getAtoms(ie,{includeChildren:!0}).map(ce=>{var he;return(he=ce.value)!=null?he:""}).join(""));else{let ce;oe.length===1&&oe[0].verbatimLatex!==void 0?ce=oe[0].verbatimLatex:ce=ee.getValue(ie,"latex-expanded"),b.clipboardData.setData("application/x-latex",ce);try{b.clipboardData.setData("text/plain",y.options.onExport(y,ce,ie))}catch(he){}if(oe.length===1){const he=oe[0];(he.type==="root"||he.type==="group")&&(oe=he.body.filter(pe=>pe.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(oe.map(he=>he.toJson())))}catch(he){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const he=window.MathfieldElement.computeEngine;if(he)try{const pe=he.jsonSerializationOptions;he.jsonSerializationOptions={metadata:["latex"]};const ve=he.parse(ee.getValue(ie,"latex-unstyled"));he.jsonSerializationOptions=pe;const De=JSON.stringify(ve.json);De&&b.clipboardData.setData("application/json",De)}catch(pe){}}}b.preventDefault()}static insert(y,b,E={}){var ee;const ie=E.mode==="auto"?y.mode:(ee=E.mode)!=null?ee:y.mode;return X0._modes[ie].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};p0._modes={};var ji=p0,sh=[{key:"left",command:"moveToPreviousChar"},{key:"right",command:"moveToNextChar"},{key:"up",command:"moveUp"},{key:"down",command:"moveDown"},{key:"shift+[ArrowLeft]",command:"extendSelectionBackward"},{key:"shift+[ArrowRight]",command:"extendSelectionForward"},{key:"shift+[ArrowUp]",command:"extendSelectionUpward"},{key:"shift+[ArrowDown]",command:"extendSelectionDownward"},{key:"[Backspace]",command:"deleteBackward"},{key:"alt+[Delete]",command:"deleteBackward"},{key:"[Delete]",command:"deleteForward"},{key:"alt+[Backspace]",command:"deleteForward"},{key:"alt+[ArrowLeft]",command:"moveToPreviousWord"},{key:"alt+[ArrowRight]",command:"moveToNextWord"},{key:"shift+alt+[ArrowLeft]",command:"extendToPreviousWord"},{key:"shift+alt+[ArrowRight]",command:"extendToNextWord"},{key:"ctrl+[ArrowLeft]",command:"moveToGroupStart"},{key:"ctrl+[ArrowRight]",command:"moveToGroupEnd"},{key:"shift+ctrl+[ArrowLeft]",command:"extendToGroupStart"},{key:"shift+ctrl+[ArrowRight]",command:"extendToGroupEnd"},{key:"[Home]",command:"moveToMathfieldStart"},{key:"cmd+[ArrowLeft]",command:"moveToMathfieldStart"},{key:"shift+[Home]",command:"extendToMathFieldStart"},{key:"shift+cmd+[ArrowLeft]",command:"extendToMathFieldStart"},{key:"[End]",command:"moveToMathfieldEnd"},{key:"cmd+[ArrowRight]",command:"moveToMathfieldEnd"},{key:"shift+[End]",command:"extendToMathFieldEnd"},{key:"shift+cmd+[ArrowRight]",command:"extendToMathFieldEnd"},{key:"[Pageup]",command:"moveToGroupStart"},{key:"[Pagedown]",command:"moveToGroupEnd"},{key:"[Tab]",command:"moveToNextGroup"},{key:"shift+[Tab]",command:"moveToPreviousGroup"},{key:"[Escape]",ifMode:"math",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"text",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"latex",command:["complete","complete",{selectItem:"true"}]},{key:"\\",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[IntlBackslash]",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[Tab]",ifMode:"latex",command:["complete","accept-suggestion"]},{key:"[Return]",ifMode:"latex",command:"complete"},{key:"[Enter]",ifMode:"latex",command:"complete"},{key:"shift+[Escape]",ifMode:"latex",command:["complete","reject"]},{key:"[ArrowDown]",ifMode:"latex",command:"nextSuggestion"},{key:"[ArrowUp]",ifMode:"latex",command:"previousSuggestion"},{key:"ctrl+a",ifPlatform:"!macos",command:"selectAll"},{key:"cmd+a",command:"selectAll"},{key:"[Cut]",command:"cutToClipboard"},{key:"[Copy]",command:"copyToClipboard"},{key:"[Paste]",command:"pasteFromClipboard"},{key:"[Clear]",command:"deleteBackward"},{key:"[Undo]",command:"undo"},{key:"[Redo]",command:"redo"},{key:"[EraseEof]",command:"deleteToGroupEnd"},{key:"ctrl+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"cmd+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"ctrl+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"cmd+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"ctrl+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"cmd+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"ctrl+z",ifPlatform:"!macos",command:"undo"},{key:"cmd+z",command:"undo"},{key:"ctrl+y",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+y",command:"redo"},{key:"shift+ctrl+z",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+z",command:"redo"},{key:"ctrl+b",ifPlatform:"macos",command:"moveToPreviousChar"},{key:"ctrl+f",ifPlatform:"macos",command:"moveToNextChar"},{key:"ctrl+p",ifPlatform:"macos",command:"moveUp"},{key:"ctrl+n",ifPlatform:"macos",command:"moveDown"},{key:"ctrl+a",ifPlatform:"macos",command:"moveToMathfieldStart"},{key:"ctrl+e",ifPlatform:"macos",command:"moveToMathfieldEnd"},{key:"shift+ctrl+b",ifPlatform:"macos",command:"extendSelectionBackward"},{key:"shift+ctrl+f",ifPlatform:"macos",command:"extendSelectionForward"},{key:"shift+ctrl+p",ifPlatform:"macos",command:"extendSelectionUpward"},{key:"shift+ctrl+n",ifPlatform:"macos",command:"extendSelectionDownward"},{key:"shift+ctrl+a",ifPlatform:"macos",command:"extendToMathFieldStart"},{key:"shift+ctrl+e",ifPlatform:"macos",command:"extendToMathFieldEnd"},{key:"alt+ctrl+b",ifPlatform:"macos",command:"moveToPreviousWord"},{key:"alt+ctrl+f",ifPlatform:"macos",command:"moveToNextWord"},{key:"shift+alt+ctrl+b",ifPlatform:"macos",command:"extendToPreviousWord"},{key:"shift+alt+ctrl+f",ifPlatform:"macos",command:"extendToNextWord"},{key:"ctrl+h",ifPlatform:"macos",command:"deleteBackward"},{key:"ctrl+d",ifPlatform:"macos",command:"deleteForward"},{key:"ctrl+l",ifPlatform:"macos",command:"scrollIntoView"},{key:"ctrl+[Digit2]",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"ctrl+[Digit5]",ifMode:"math",command:"moveToOpposite"},{key:"ctrl+[Digit6]",ifMode:"math",command:"moveToSuperscript"},{key:"ctrl+[Return]",ifMode:"math",command:"addRowAfter"},{key:"ctrl+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Return]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"alt+p",ifMode:"math",command:["insert","\\pi"]},{key:"alt+v",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"alt+o",ifMode:"math",command:["insert","\\emptyset"]},{key:"alt+d",ifMode:"math",command:["insert","\\differentialD"]},{key:"shift+alt+o",ifMode:"math",command:["insert","\\varnothing"]},{key:"shift+alt+d",ifMode:"math",command:["insert","\\partial"]},{key:"alt+[Backslash]",ifMode:"math",command:["insert","\\backslash"]},{key:"[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#?}{#@}"]},{key:"shift+alt+k",command:"toggleKeystrokeCaption"},{key:"alt+[Space]",command:"toggleContextMenu"},{key:"alt+shift+[Space]",command:"toggleVirtualKeyboard"},{key:"alt+ctrl+[ArrowUp]",command:["speak","all",{withHighlighting:!1}]},{key:"alt+ctrl+[ArrowDown]",command:["speak","selection",{withHighlighting:!1}]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["switchMode","text","",""]},{key:"shift+alt+[KeyT]",ifMode:"math",command:["switchMode","text","",""]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"text",command:["switchMode","math","",""]},{key:"shift+alt+[KeyT]",ifMode:"text",command:["switchMode","math","",""]},{key:"/",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+shift+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrack #0 \\right\\rbrack"]},{key:"ctrl+[Minus]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"moveToSubscript"},{key:"shift+alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrace #0 \\right\\rbrace"]},{key:"ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"shift+ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"shift+cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"ctrl+[Backspace]",ifMode:"math",command:"removeRow"},{key:"cmd+[Backspace]",ifMode:"math",command:"removeRow"},{key:"alt+[Tab]",ifMode:"math",command:"addColumnAfter"},{key:"shift+alt+[Tab]",ifMode:"math",command:"addColumnBefore"},{key:"alt+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Enter]",ifMode:"math",command:"addRowBefore"},{key:"alt+[Return]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Return]",ifMode:"math",command:"addRowBefore"},{key:"shift+[Backspace]",ifMode:"math",command:"removeColumn"},{key:"alt+[Digit5]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","$\\infty"]},{key:"alt+[Digit9]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","("]},{key:"alt+[Digit0]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert",")"]},{key:"alt+|",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","|"]},{key:"shift+[Backquote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\~"]},{key:"[Backquote]",ifLayout:["windows.french","linux.french"],ifMode:"math",command:["insert","^2"]},{key:"[Backquote]",ifLayout:["windows.german","linux.german"],ifMode:"math",command:["insert","^"]},{key:"[IntlBackslash]",ifLayout:["apple.german"],ifMode:"math",command:["insert","^"]}],vd={"\\sqrt":["alt+v","ctrl+[Digit2]"],"\\pi":"alt+p","\\infty":"alt+[Digit5]","\\differentialD":"alt+d","\\partial":"shift+alt+d","\\frac":"Slash","\\emptyset":"alt+o","\\varnothing":"shift+alt+o","\\~":"~"};function Ns(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Is(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function kl(a){const y=Is(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function yd(a){var y;if(!a.parent)return"root";let b=(y=a.parent.id)!=null?y:"";return b+=typeof a.parentBranch=="string"?"-"+a.parentBranch:`-${a.parentBranch[0]}/${a.parentBranch[0]}`,b}function bd(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),ee=y.right-y.left,ie=y.bottom-y.top,oe=Math.ceil(y.left-E.left+a.field.scrollLeft*b),ce=Math.ceil(y.top-E.top);return{left:oe,right:oe+ee,top:ce,bottom:ce+ie}}function xd(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),E={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return E;for(const ee of a.children)if(ee.nodeType===1&&"atomId"in ee.dataset&&!ee.classList.contains("pstrut")){const ie=xd(ee);E.left=Math.min(E.left,ie.left),E.right=Math.max(E.right,ie.right),E.top=Math.min(E.top,ie.top),E.bottom=Math.max(E.bottom,ie.bottom)}return E}function Fu(a,y){var b,E;if(!y.id)return null;let ee=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(ee!==null)return ee;const ie=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ee=ie?xd(ie):null,a.atomBoundsCache&&(ee?a.atomBoundsCache.set(y.id,ee):a.atomBoundsCache.delete(y.id)),ee!=null?ee:null}function m0(a,y,b){const E=new Map;for(const ee of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ee.style.backgroundColor)continue;const ie=a.field,oe=ie.offsetWidth;let he=Math.floor(ie.getBoundingClientRect().width)/oe;he=isNaN(he)?1:he;const pe=bd(a,Fu(a,ee),he);if(pe){const ve=yd(ee);if(E.has(ve)){const De=E.get(ve);E.set(ve,{left:Math.min(De.left,pe.left),right:Math.max(De.right,pe.right),top:Math.min(De.top,pe.top),bottom:Math.max(De.bottom,pe.bottom)})}else E.set(ve,pe)}}return[...E.values()]}function wd(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...m0(a,E,y)),[])}function Ad(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function Fc(a){let y=0,b=0;const E=a.offsetWidth,ee=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,ee)}var g0=`@keyframes ML__caret-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.ML__container {
display: inline-flex;
flex-flow: row;
justify-content: space-between;
align-items: flex-end;
min-height: 39px;
/* Need some room for the virtual keyboard toggle */
width: 100%;
/* Encourage browsers to consider allocating a hardware accelerated
layer for this element. */
isolation: isolate;
/* Prevent the browser from trying to interpret touch gestures in the field */
/* "Disabling double-tap to zoom removes the need for browsers to
delay the generation of click events when the user taps the screen." */
touch-action: none;
--_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));
--_selection-color: var(--selection-color, #000);
--_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));
--_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));
--_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));
--_smart-fence-color: var(--smart-fence-color, currentColor);
--_smart-fence-opacity: var(--smart-fence-opacity, 0.5);
--_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));
--_correct-color: var(--correct-color, #10a000);
--_incorrect-color: var(--incorrect-color, #a01b00);
--_composition-background-color: var(--composition-background-color, #fff1c2);
--_composition-text-color: var(--composition-text-color, black);
--_composition-underline-color: var(--composition-underline-color, transparent);
}
/* This is the actual field content (formula) */
.ML__content {
display: flex;
align-items: center;
align-self: center;
position: relative;
overflow: hidden;
padding: 2px 3px 2px 1px;
width: 100%;
}
.ML__virtual-keyboard-toggle,
.ML__menu-toggle {
box-sizing: border-box;
display: flex;
align-self: center;
align-items: center;
flex-shrink: 0;
flex-direction: column;
justify-content: center;
width: 34px;
height: 34px;
padding: 0;
margin-right: 4px;
cursor: pointer;
/* Avoid some weird blinking with :hover */
border-radius: 8px;
border: 1px solid transparent;
transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
color: hsl(var(--_hue), 40%, 50%);
fill: currentColor;
background: transparent;
}
.ML__virtual-keyboard-toggle:hover,
.ML__menu-toggle:hover {
background: hsla(0, 0%, 70%, 0.3);
color: #333;
fill: currentColor;
}
.ML__virtual-keyboard-toggle > span,
.ML__menu-toggle > span {
display: flex;
align-self: center;
align-items: center;
}
/* The invisible element used to capture keyboard events. We're just trying
really hard to make sure it doesn't show. */
.ML__keyboard-sink {
display: inline-block;
resize: none;
outline: none;
border: none;
/* Need these for Microsoft Edge */
position: fixed;
clip: rect(0 0 0 0);
/* Need this to prevent iOS Safari from auto-zooming */
font-size: 1em;
font-family: KaTeX_Main;
line-height: 0.5;
/* On Chromium, if this is 0, no keyboard events are received */
}
[part="placeholder"] {
color: var(--neutral-400);
}
.ML__composition {
background: var(--_composition-background-color);
color: var(--_composition-text-color);
text-decoration: underline var(--_composition-underline-color);
}
.ML__caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__text-caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__latex-caret::after {
content: '';
visibility: hidden;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_latex-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.019em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__focused .ML__latex-caret::after,
.ML__focused .ML__text-caret::after,
.ML__focused .ML__caret::after {
visibility: visible;
}
.ML__focused .ML__text {
background: var(--_text-highlight-background-color);
}
/* When using smartFence, the anticipated closing fence is displayed
with this style */
.ML__smart-fence__close {
opacity: var(--_smart-fence-opacity);
color: var(--_smart-fence-color);
}
.ML__selected,
.ML__focused .ML__selected .ML__contains-caret,
.ML__focused .ML__selected .ML__smart-fence__close,
.ML__focused .ML__selected .ML__placeholder {
color: var(--_selection-color);
opacity: 1;
}
.ML__selection {
box-sizing: border-box;
background: var(--_selection-background-color) !important;
}
.ML__contains-caret.ML__close,
.ML__contains-caret.ML__open,
.ML__contains-caret > .ML__close,
.ML__contains-caret > .ML__open,
.ML__contains-caret .ML__sqrt-sign,
.ML__contains-caret .ML__sqrt-line {
color: var(--_caret-color);
}
.ML__contains-highlight {
box-sizing: border-box;
background: transparent;
}
.ML__focused .ML__contains-highlight {
background: var(--_contains-highlight-background-color);
}
.ML__raw-latex {
font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
font-weight: 400;
font-size: 0.8em;
letter-spacing: -0.05em;
color: var(--_latex-color);
}
.ML__suggestion {
color: var(--neutral-500);
}
.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
.ML__virtual-keyboard-toggle:focus {
outline: none;
border-radius: 8px;
border: 2px solid hsl(var(--_hue), 40%, 50%);
}
.ML__virtual-keyboard-toggle.is-pressed,
.ML__virtual-keyboard-toggle.is-active:hover,
.ML__virtual-keyboard-toggle.is-active {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
/* Add an attribute 'data-tooltip' to automatically show a
tooltip over a element on hover.
*/
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
display: block;
z-index: 2;
pointer-events: none;
right: auto;
top: calc(-100% - 4px);
width: max-content;
max-width: 200px;
padding: 8px 8px;
border-radius: 4px;
background: #616161;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
text-align: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 13px;
/* Phone */
opacity: 0;
transform: scale(0.5);
}
@media only screen and (max-width: 767px) {
[data-tooltip]::after {
padding: 8px 16px;
font-size: 16px;
}
}
menu [data-tooltip]::after {
left: 100%;
top: 0%;
}
menu .ML__base {
cursor: default;
}
/** Don't display if we're tracking, i.e. have the pointer down */
.tracking [data-tooltip]:hover::after {
/* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */
visibility: hidden;
}
/** But do display if tracking and inside a menu */
.tracking menu li[data-tooltip]:hover::after,
[data-tooltip]:hover::after {
visibility: visible;
opacity: 1;
transform: scale(1);
transition-property: opacity, scale;
transition-duration: 0.15s;
transition-delay: 1s;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__prompt {
border-radius: 2px;
}
.ML__editablePromptBox {
outline: 1px solid #acacac;
border-radius: 2px;
z-index: -1;
}
.ML__focusedPromptBox {
outline: highlight auto 1px;
}
.ML__lockedPromptBox {
background-color: rgba(142, 142, 141, 0.4);
z-index: -1;
}
.ML__correctPromptBox {
outline: 1px solid var(--_correct-color);
box-shadow: 0 0 5px var(--_correct-color);
}
.ML__incorrectPromptBox {
outline: 1px solid var(--_incorrect-color);
box-shadow: 0 0 5px var(--_incorrect-color);
}
.variant-submenu {
display: flex;
flex-direction: column;
padding: 8px;
}
.variant-submenu [part=menu-item] {
font-size: 2rem;
text-align: center;
margin: 0;
}
.insert-matrix-submenu {
display: grid;
padding: 8px;
align-content: center;
justify-content: center;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.insert-matrix-submenu [part=menu-item] {
font-size: 21px;
border: none;
border-radius: 0;
line-height: 21px;
text-align: center;
padding: 0;
margin: 0;
}
.border-submenu [part=menu-item] {
font-size: 2rem;
line-height: 1.2;
text-align: center;
}
.swatches-submenu {
--_swatch-size: 2rem;
--_columns: 4;
display: flex;
flex-flow: wrap;
padding: 8px;
max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);
box-sizing: border-box;
}
.menu-swatch {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: fit-content;
height: fit-content;
margin: 2px;
padding: 0;
background: var(--neutral-200);
}
.menu-swatch > .label {
padding: 0;
margin: 0;
line-height: 0;
}
.menu-swatch > .label > span {
display: inline-block;
margin: 6px;
min-width: var(--_swatch-size);
min-height: var(--_swatch-size);
border-radius: 50%;
}
.menu-swatch.active {
background: var(--neutral-100);
scale: 1.4;
}
.menu-swatch.active > .label > span {
border-radius: 2px;
}
.menu-swatch .ui-checkmark,
.menu-swatch .ui-mixedmark {
position: absolute;
margin: 0;
padding: 0;
color: white;
}
.menu-swatch.dark-contrast .ui-checkmark,
.menu-swatch.dark-contrast .ui-mixedmark {
color: #000;
}
`,Kr=`.ML__container {
min-height: auto !important;
--_hue: var(--hue, 212);
--_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));
--_placeholder-opacity: var(--placeholder-opacity, 0.4);
--_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
}
.ML__sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.ML__is-inline {
display: inline-block;
}
.ML__base {
visibility: inherit;
display: inline-block;
position: relative;
cursor: text;
padding: 0;
margin: 0;
box-sizing: content-box;
border: 0;
outline: 0;
vertical-align: baseline;
font-weight: inherit;
font-family: inherit;
font-style: inherit;
text-decoration: none;
width: min-content;
}
.ML__strut,
.ML__strut--bottom {
display: inline-block;
min-height: 0.5em;
}
.ML__small-delim {
font-family: KaTeX_Main;
}
/* Text mode */
.ML__text {
font-family: var(--_text-font-family);
white-space: pre;
}
/* Use cmr for 'math upright' */
.ML__cmr {
font-family: KaTeX_Main;
font-style: normal;
}
.ML__mathit {
font-family: KaTeX_Math;
/* The KaTeX_Math font is italic by default, so the font-style below is only
useful when a fallback font is used
*/
font-style: italic;
}
.ML__mathbf {
font-family: KaTeX_Main;
font-weight: bold;
}
/* Lowercase greek symbols should stick to math font when \\mathbf is applied
to match TeX idiosyncratic behavior */
.lcGreek.ML__mathbf {
font-family: KaTeX_Math;
font-weight: normal;
}
.ML__mathbfit {
font-family: KaTeX_Math;
font-weight: bold;
font-style: italic;
}
.ML__ams {
font-family: KaTeX_AMS;
}
/* Blackboard */
.ML__bb {
font-family: KaTeX_AMS;
}
.ML__cal {
font-family: KaTeX_Caligraphic;
}
.ML__frak {
font-family: KaTeX_Fraktur;
}
.ML__tt {
font-family: KaTeX_Typewriter;
}
.ML__script {
font-family: KaTeX_Script;
}
.ML__sans {
font-family: KaTeX_SansSerif;
}
.ML__series_ul {
font-weight: 100;
}
.ML__series_el {
font-weight: 100;
}
.ML__series_l {
font-weight: 200;
}
.ML__series_sl {
font-weight: 300;
}
.ML__series_sb {
font-weight: 500;
}
.ML__bold,
.ML__boldsymbol {
font-weight: 700;
}
.ML__series_eb {
font-weight: 800;
}
.ML__series_ub {
font-weight: 900;
}
.ML__series_uc {
font-stretch: ultra-condensed;
}
.ML__series_ec {
font-stretch: extra-condensed;
}
.ML__series_c {
font-stretch: condensed;
}
.ML__series_sc {
font-stretch: semi-condensed;
}
.ML__series_sx {
font-stretch: semi-expanded;
}
.ML__series_x {
font-stretch: expanded;
}
.ML__series_ex {
font-stretch: extra-expanded;
}
.ML__series_ux {
font-stretch: ultra-expanded;
}
.ML__it {
font-style: italic;
}
.ML__shape_ol {
-webkit-text-stroke: 1px black;
text-stroke: 1px black;
color: transparent;
}
.ML__shape_sc {
font-variant: small-caps;
}
.ML__shape_sl {
font-style: oblique;
}
/* First level emphasis */
.ML__emph {
color: #bc2612;
}
/* Second level emphasis */
.ML__emph .ML__emph {
color: #0c7f99;
}
.ML__highlight {
color: #007cb2;
background: #edd1b0;
}
.ML__center {
text-align: center;
}
.ML__label_padding {
padding: 0 0.5em;
}
.ML__frac-line {
width: 100%;
min-height: 1px;
}
.ML__frac-line:after {
content: '';
display: block;
margin-top: max(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
/* There's a bug since Chrome 62 where
sub-pixel border lines don't draw at some zoom
levels (110%, 90%).
Setting the min-height used to work around it, but that workaround
broke in Chrome 84 or so.
Setting the background (and the min-height) seems to work for now.
*/
background: currentColor;
box-sizing: content-box;
/* Vuetify sets the box-sizing to inherit
causes the fraction line to not draw at all sizes (see #26) */
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt {
display: inline-block;
}
.ML__sqrt-sign {
display: inline-block;
position: relative;
}
.ML__sqrt-line {
display: inline-block;
height: max(1px, 0.04em);
width: 100%;
}
.ML__sqrt-line:before {
content: '';
display: block;
margin-top: min(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
background: currentColor;
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt-line:after {
border-bottom-width: 1px;
content: ' ';
display: block;
margin-top: -0.1em;
}
.ML__sqrt-index {
margin-left: 0.27777778em;
margin-right: -0.55555556em;
}
.ML__delim-size1 {
font-family: KaTeX_Size1;
}
.ML__delim-size2 {
font-family: KaTeX_Size2;
}
.ML__delim-size3 {
font-family: KaTeX_Size3;
}
.ML__delim-size4 {
font-family: KaTeX_Size4;
}
.ML__delim-mult .delim-size1 > span {
font-family: KaTeX_Size1;
}
.ML__delim-mult .delim-size4 > span {
font-family: KaTeX_Size4;
}
.ML__accent-body > span {
font-family: KaTeX_Main;
width: 0;
}
.ML__accent-vec {
position: relative;
left: 0.24em;
}
/** The markup for a LaTeX formula, either in an editable mathfield or
in a static display.
*/
.ML__latex {
display: inline-block;
direction: ltr;
text-align: left;
text-indent: 0;
text-rendering: auto;
font-family: KaTeX_Main, 'Times New Roman', serif;
font-style: normal;
font-size-adjust: none;
font-stretch: normal;
font-variant-caps: normal;
letter-spacing: normal;
line-height: 1.2;
word-wrap: normal;
word-spacing: normal;
white-space: nowrap;
text-shadow: none;
-webkit-user-select: none;
user-select: none;
width: min-content;
}
.ML__latex .style-wrap {
position: relative;
}
.ML__latex .mfrac {
display: inline-block;
}
.ML__latex .left-right {
display: inline-block;
}
.ML__latex .vlist-t {
display: inline-table;
table-layout: fixed;
border-collapse: collapse;
}
.ML__latex .vlist-r {
display: table-row;
}
.ML__latex .vlist {
display: table-cell;
vertical-align: bottom;
position: relative;
}
.ML__latex .vlist > span {
display: block;
height: 0;
position: relative;
}
.ML__latex .vlist > span > span {
display: inline-block;
}
.ML__latex .vlist > span > .pstrut {
overflow: hidden;
width: 0;
}
.ML__latex .vlist-t2 {
margin-right: -2px;
}
.ML__latex .vlist-s {
display: table-cell;
vertical-align: bottom;
font-size: 1px;
width: 2px;
min-width: 2px;
}
.ML__latex .msubsup {
text-align: left;
}
.ML__latex .negativethinspace {
display: inline-block;
margin-left: -0.16667em;
height: 0.71em;
}
.ML__latex .thinspace {
display: inline-block;
width: 0.16667em;
height: 0.71em;
}
.ML__latex .mediumspace {
display: inline-block;
width: 0.22222em;
height: 0.71em;
}
.ML__latex .thickspace {
display: inline-block;
width: 0.27778em;
height: 0.71em;
}
.ML__latex .enspace {
display: inline-block;
width: 0.5em;
height: 0.71em;
}
.ML__latex .quad {
display: inline-block;
width: 1em;
height: 0.71em;
}
.ML__latex .qquad {
display: inline-block;
width: 2em;
height: 0.71em;
}
.ML__latex .llap,
.ML__latex .rlap {
width: 0;
position: relative;
display: inline-block;
}
.ML__latex .llap > .inner,
.ML__latex .rlap > .inner {
position: absolute;
}
.ML__latex .llap > .fix,
.ML__latex .rlap > .fix {
display: inline-block;
}
.ML__latex .llap > .inner {
right: 0;
}
.ML__latex .rlap > .inner {
left: 0;
}
.ML__latex .rule {
display: inline-block;
border: solid 0;
position: relative;
box-sizing: border-box;
}
.ML__latex .overline .overline-line,
.ML__latex .underline .underline-line {
width: 100%;
}
.ML__latex .overline .overline-line:before,
.ML__latex .underline .underline-line:before {
content: '';
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
display: block;
}
.ML__latex .overline .overline-line:after,
.ML__latex .underline .underline-line:after {
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
content: '';
display: block;
margin-top: -1px;
}
.ML__latex .stretchy {
display: block;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .stretchy:before,
.ML__latex .stretchy:after {
content: '';
}
.ML__latex .stretchy svg {
display: block;
position: absolute;
width: 100%;
height: inherit;
fill: currentColor;
stroke: currentColor;
fill-rule: nonzero;
fill-opacity: 1;
stroke-width: 1;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-opacity: 1;
}
.ML__latex .slice-1-of-2 {
display: inline-flex;
position: absolute;
left: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-2-of-2 {
display: inline-flex;
position: absolute;
right: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-1-of-3 {
display: inline-flex;
position: absolute;
left: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-2-of-3 {
display: inline-flex;
position: absolute;
left: 25%;
width: 50%;
overflow: hidden;
}
.ML__latex .slice-3-of-3 {
display: inline-flex;
position: absolute;
right: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-1-of-1 {
display: inline-flex;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .nulldelimiter {
display: inline-block;
}
.ML__latex .op-group {
display: inline-block;
}
.ML__latex .op-symbol {
position: relative;
}
.ML__latex .op-symbol.small-op {
font-family: KaTeX_Size1;
}
.ML__latex .op-symbol.large-op {
font-family: KaTeX_Size2;
}
.ML__latex .mtable .vertical-separator {
display: inline-block;
min-width: 1px;
box-sizing: border-box;
}
.ML__latex .mtable .arraycolsep {
display: inline-block;
}
.ML__latex .mtable .col-align-m > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-c > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-l > .vlist-t {
text-align: left;
}
.ML__latex .mtable .col-align-r > .vlist-t {
text-align: right;
}
.ML__error {
display: inline-block;
background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);
background-color: hsla(341, 100%, 40%, 0.1);
background-repeat: repeat-x;
background-size: 3px 3px;
padding-bottom: 3px;
background-position: 0 100%;
}
.ML__error > .ML__error {
background: transparent;
padding: 0;
}
.ML__placeholder {
color: var(--_placeholder-color);
opacity: var(--_placeholder-opacity);
padding-left: 0.4ex;
padding-right: 0.4ex;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.ML__notation {
position: absolute;
box-sizing: border-box;
line-height: 0;
}
/* This class is used to implement the \`\\mathtip\` and \`\\texttip\` commands
For UI elements, see \`[data-ML__tooltip]\`
*/
.ML__tooltip-container {
position: relative;
transform: scale(0);
}
.ML__tooltip-container .ML__tooltip-content {
position: fixed;
display: inline-table;
visibility: hidden;
z-index: 2;
width: max-content;
max-width: 400px;
padding: 12px 12px;
border-radius: 8px;
background: #616161;
--_selection-color: #fff;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
opacity: 0;
transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);
}
.ML__tooltip-container .ML__tooltip-content .ML__text {
white-space: normal;
}
.ML__tooltip-container .ML__tooltip-content .ML__base {
display: contents;
}
.ML__tooltip-container:hover .ML__tooltip-content {
visibility: visible;
opacity: 1;
font-size: 0.75em;
transform: scale(1) translate(0, 3em);
}
`,v0=`#mathlive-environment-popover.is-visible {
visibility: visible;
}
#mathlive-environment-popover {
--_environment-panel-height: var(--environment-panel-height, 70px);
--_accent-color: var(--accent-color, #aaa);
--_background: var(--environment-panel-background, #fff);
--_button-background: var(--environment-panel-button-background, white);
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
--_button-text: var(--environment-panel-button-text, #e3e4e8);
position: absolute;
width: calc(var(--_environment-panel-height) * 2);
height: var(--_environment-panel-height);
border-radius: 4px;
border: 1.5px solid var(--_accent-color);
background-color: var(--_background);
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
pointer-events: all;
visibility: hidden;
}
#mathlive-environment-popover .MLEP__array-buttons {
height: calc(var(--_environment-panel-height) * 5/4);
width: calc(var(--_environment-panel-height) * 5/4);
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
}
#mathlive-environment-popover .MLEP__array-buttons .font {
fill: white;
}
#mathlive-environment-popover .MLEP__array-buttons circle {
fill: #7f7f7f;
transition: fill 300ms;
}
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
fill-opacity: 1;
fill: var(--_background);
stroke: var(--_accent-color);
stroke-width: 3px;
}
#mathlive-environment-popover .MLEP__array-buttons line {
stroke: var(--_accent-color);
stroke-opacity: 0;
stroke-width: 40;
pointer-events: none;
transition: stroke-opacity 300ms;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
fill: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
stroke-opacity: 1;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
height: 100%;
width: 50%;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
width: var(--_environment-panel-height);
height: var(--_environment-panel-height);
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
pointer-events: all;
margin-top: 2px;
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
height: calc(var(--_environment-panel-height) / 3 - 2px);
border-radius: calc(var(--_environment-panel-height) / 25);
background-color: var(--_button-background);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
background-color: var(--_button-background-hover);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
stroke: var(--_button-text);
stroke-width: 2;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
fill-opacity: 0;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
pointer-events: none;
background-color: var(--_button-background-active);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
stroke: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
fill: var(--_accent-color);
}
`,lh=`/* The element that display info while in latex mode */
#mathlive-suggestion-popover {
background-color: rgba(97, 97, 97);
color: #fff;
text-align: center;
border-radius: 8px;
position: fixed;
z-index: 1;
display: none;
flex-direction: column;
justify-content: center;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#mathlive-suggestion-popover.top-tip::after {
content: '';
position: absolute;
top: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.bottom-tip::after {
content: '';
position: absolute;
bottom: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.is-animated {
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
}
#mathlive-suggestion-popover.is-visible {
display: flex;
}
@keyframes ML__fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* The wrapper class for the entire content of the popover panel */
#mathlive-suggestion-popover ul {
display: flex;
flex-flow: column;
list-style: none;
margin: 0;
padding: 0;
align-items: flex-start;
max-height: 400px;
overflow-y: auto;
}
#mathlive-suggestion-popover li {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 8px;
padding: 8px;
width: calc(100% - 16px - 16px);
column-gap: 1em;
border-radius: 8px;
cursor: pointer;
/* Since the content can be clicked on, provide feedback on hover */
}
#mathlive-suggestion-popover li a {
color: #5ea6fd;
padding-top: 0.3em;
margin-top: 0.4em;
display: block;
}
#mathlive-suggestion-popover li a:hover {
color: #5ea6fd;
text-decoration: underline;
}
#mathlive-suggestion-popover li:hover,
#mathlive-suggestion-popover li.is-pressed,
#mathlive-suggestion-popover li.is-active {
background: rgba(255, 255, 255, 0.1);
}
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
.ML__popover__command {
font-size: 1.6rem;
font-family: KaTeX_Main;
}
.ML__popover__current {
background: #5ea6fd;
color: #fff;
}
.ML__popover__latex {
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
align-self: center;
}
/* The keyboard shortcuts for a symbol as displayed in the popover */
.ML__popover__keybinding {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 0.8em;
opacity: 0.7;
}
/* Style for the character that joins the modifiers of a keyboard shortcut
(usually a "+" sign)*/
.ML__shortcut-join {
opacity: 0.5;
}
`,Ou=`/* The element that displays the keys as the user type them */
#mathlive-keystroke-caption-panel {
visibility: hidden;
/*min-width: 160px;*/
/*background-color: rgba(97, 97, 200, .95);*/
background: var(--secondary, hsl(var(--_hue), 19%, 26%));
border-color: var(--secondary-border, hsl(0, 0%, 91%));
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
text-align: center;
border-radius: 6px;
padding: 16px;
position: absolute;
z-index: 1;
display: flex;
flex-direction: row-reverse;
justify-content: center;
--keystroke: white;
--on-keystroke: #555;
--keystroke-border: #f7f7f7;
}
@media (prefers-color-scheme: dark) {
body:not([theme='light']) #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
}
body[theme='dark'] #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
#mathlive-keystroke-caption-panel > span {
min-width: 14px;
/*height: 8px;*/
margin: 0 8px 0 0;
padding: 4px;
background-color: var(--keystroke);
color: var(--on-keystroke);
fill: currentColor;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 1em;
border-radius: 6px;
border: 2px solid var(--keystroke-border);
/*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/
}
`,uh=`.ML__keyboard {
--_keyboard-height: 0;
--_keyboard-zindex: var(--keyboard-zindex, 105);
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_padding-horizontal: var(--keyboard-padding-horizontal, 0px);
--_padding-top: var(--keyboard-padding-top, 5px);
--_padding-bottom: var(--keyboard-padding-bottom, 0px);
--_row-padding-left: var(--keyboard-row-padding-left, 0px);
--_row-padding-right: var(--keyboard-row-padding-right, 0px);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));
--_keycap-primary-text: var(--keycap-primary-text, #ddd);
--_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_keycap-height: var(--keycap-height, 60px);
/* Keycap width (incl. margin) */
--_keycap-max-width: var(--keycap-max-width, 100px);
--_keycap-gap: var(--keycap-gap, 8px);
--_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));
--_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));
--_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
--_variant-keycap-length: var(--variant-keycap-length, 70px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);
--_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);
--_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));
--_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));
--_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));
}
.is-math-mode .MLK__rows .if-text-mode,
.is-text-mode .MLK__rows .if-math-mode {
display: none;
}
.if-can-undo,
.if-can-redo,
.if-can-copy,
.if-can-cut,
.if-can-paste {
opacity: 0.4;
pointer-events: none;
}
.can-undo .if-can-undo,
.can-redo .if-can-redo,
.can-copy .if-can-copy,
.can-cut .if-can-cut,
.can-paste .if-can-paste {
opacity: 1;
pointer-events: all;
}
body > .ML__keyboard {
position: fixed;
--_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));
}
body > .ML__keyboard.is-visible > .MLK__backdrop {
box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);
border-top: 1px solid var(--_border);
}
body > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {
box-shadow: none;
border: none;
}
body > .ML__keyboard.is-visible.animate > .MLK__backdrop {
transition: 0.28s cubic-bezier(0, 0, 0.2, 1);
transition-property: transform, opacity;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__keyboard {
position: relative;
overflow: hidden;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: var(--_keyboard-zindex);
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
opacity: 1;
transform: none;
pointer-events: none;
}
.ML__keyboard :where(div) {
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
transform: none;
}
.MLK__backdrop {
position: absolute;
bottom: calc(-1 * var(--_keyboard-height));
width: 100%;
height: var(--_keyboard-height);
box-sizing: border-box;
padding-top: var(--_padding-top);
padding-bottom: var(--_padding-bottom);
padding-left: var(--_padding-horizontal);
padding-right: var(--_padding-horizontal);
opacity: 0;
visibility: hidden;
transform: translate(0, 0);
background: var(--_background);
}
.backdrop-is-transparent .MLK__backdrop {
background: transparent;
}
/* If a custom layout has a custom container/backdrop
(backdrop-is-transparent), make sure to let pointer event go through. */
.backdrop-is-transparent .MLK__plate {
background: transparent;
pointer-events: none;
}
/* If a custom layout has a custom container/backdrop, make sure to
allow pointer events on it. */
.backdrop-is-transparent .MLK__layer > div > div {
pointer-events: all;
}
.ML__keyboard.is-visible > .MLK__backdrop {
transform: translate(0, calc(-1 * var(--_keyboard-height)));
opacity: 1;
visibility: visible;
}
.caps-lock-indicator {
display: none;
width: 8px;
height: 8px;
background: #0cbc0c;
box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;
border-radius: 8px;
right: 8px;
top: 8px;
position: absolute;
}
.ML__keyboard.is-caps-lock .caps-lock-indicator {
display: block;
}
.ML__keyboard.is-caps-lock .shift {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
}
.MLK__plate {
position: absolute;
top: var(--_padding-top);
left: var(--_padding-horizontal);
width: calc(100% - 2 * var(--_padding-horizontal));
margin: 0;
padding: 0;
box-sizing: border-box;
container-type: inline-size;
touch-action: none;
-webkit-user-select: none;
user-select: none;
pointer-events: all;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
/* Size of toolbar labels */
font-weight: 400;
text-shadow: none;
}
.ML__box-placeholder {
color: var(--_box-placeholder-color);
}
.MLK__tex {
font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__tex-math {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
font-style: italic;
}
.MLK__layer {
display: none;
outline: none;
}
.MLK__layer.is-visible {
display: flex;
flex-flow: column;
}
/* Keyboard layouts are made or rows of keys... */
.MLK__rows {
--_keycap-width: min(var(--_keycap-max-width), 10cqw);
display: flex;
flex-flow: column;
align-items: center;
border-collapse: separate;
clear: both;
border: 0;
margin: 0;
margin-bottom: var(--_keycap-gap);
gap: var(--_keycap-gap);
/* If the styling include, e.g., some shadows, they will be
cut off by the overflow. In that case, set the padding to
compensate. */
padding-left: var(--_row-padding-left);
padding-right: var(--_row-padding-right);
overflow: visible;
touch-action: none;
}
.MLK__rows > .MLK__row {
display: flex;
flex-flow: row;
justify-content: center;
width: 100%;
gap: var(--_keycap-gap);
margin: 0;
padding: 0;
/* For the alignment of the text on some modifiers (e.g. shift) */
/* Extra spacing between two adjacent keys */
}
.MLK__rows > .MLK__row .tex {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .tex-math {
font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .big-op {
font-size: calc(1.25 * var(--_keycap-font-size));
}
.MLK__rows > .MLK__row .small {
font-size: var(--_keycap-small-font-size);
}
.MLK__rows > .MLK__row .bottom {
justify-content: flex-end;
}
.MLK__rows > .MLK__row .left {
align-items: flex-start;
padding-left: 12px;
}
.MLK__rows > .MLK__row .right {
align-items: flex-end;
padding-right: 12px;
}
.MLK__rows > .MLK__row .w0 {
width: 0;
}
.MLK__rows > .MLK__row .w5 {
width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w15 {
width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w20 {
width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w40 {
width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w50 {
width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .MLK__keycap.w50 {
font-size: 80%;
padding-top: 10px;
font-weight: 100;
}
.MLK__rows > .MLK__row .separator {
background: transparent;
border: none;
pointer-events: none;
}
.MLK__rows > .MLK__row .horizontal-rule {
height: 6px;
margin-top: 3px;
margin-bottom: 0;
width: 100%;
border-radius: 0;
border-top: var(--_horizontal-rule);
}
.MLK__rows > .MLK__row .ghost {
background: var(--_toolbar-background);
border: none;
color: var(--_toolbar-text);
}
.MLK__rows > .MLK__row .ghost:hover {
background: var(--_toolbar-background-hover);
}
.MLK__rows > .MLK__row .bigfnbutton {
font-size: var(--_keycap-extra-small-font-size);
}
.MLK__rows > .MLK__row .shift,
.MLK__rows > .MLK__row .action {
color: var(--_keycap-secondary-text);
background: var(--_keycap-secondary-background);
border-color: var(--_keycap-secondary-border);
border-bottom-color: var(--_keycap-secondary-border-bottom);
line-height: 0.8;
font-size: min(1rem, var(--_keycap-small-font-size));
font-weight: 600;
padding: 8px 12px 8px 12px;
}
.MLK__rows > .MLK__row .shift:hover,
.MLK__rows > .MLK__row .action:hover {
background: var(--_keycap-secondary-background-hover);
}
.MLK__rows > .MLK__row .action.primary {
background: var(--_keycap-primary-background);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .action.primary:hover {
background: var(--_keycap-primary-background-hover);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .shift.selected,
.MLK__rows > .MLK__row .action.selected {
color: var(--_toolbar-text-active);
}
.MLK__rows > .MLK__row .shift.selected.is-pressed,
.MLK__rows > .MLK__row .action.selected.is-pressed,
.MLK__rows > .MLK__row .shift.selected.is-active,
.MLK__rows > .MLK__row .action.selected.is-active {
color: white;
}
.MLK__rows > .MLK__row .warning {
background: #cd0030;
color: white;
}
.MLK__rows > .MLK__row .warning svg.svg-glyph {
width: 24px;
height: 24px;
min-height: 24px;
}
/** A regular keycap
* Use the :where() pseudo-class to give it a very low specifity,
* so that it can be overriden by custom style.
*/
:where(.MLK__rows > .MLK__row div) {
display: flex;
flex-flow: column;
align-items: center;
justify-content: space-evenly;
width: calc(var(--_keycap-width) - var(--_keycap-gap));
height: var(--_keycap-height);
box-sizing: border-box;
padding: 0;
vertical-align: top;
text-align: center;
float: left;
color: var(--_keycap-text);
fill: currentColor;
font-size: var(--_keycap-font-size);
background: var(--_keycap-background);
border: 1px solid var(--_keycap-border);
border-bottom-color: var(--_keycap-border-bottom);
border-radius: 6px;
cursor: pointer;
touch-action: none;
/* Keys with a variants panel */
position: relative;
overflow: hidden;
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
:where(.MLK__rows > .MLK__row div):hover {
overflow: visible;
background: var(--_keycap-background-hover);
}
:where(.MLK__rows > .MLK__row div) .ML__latex {
pointer-events: none;
touch-action: none;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph {
margin: 8px 0;
width: 20px;
height: 20px;
min-height: 20px;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {
margin: 8px 0;
width: 24px;
height: 24px;
min-height: 24px;
}
:where(.MLK__rows > .MLK__row div).MLK__tex-math {
font-size: 25px;
}
:where(.MLK__rows > .MLK__row div).is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
z-index: calc(var(--_keyboard-zindex) - 5);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,
:where(.MLK__rows > .MLK__row div).action.is-active aside,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,
:where(.MLK__rows > .MLK__row div).action.is-pressed aside {
display: none;
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {
display: none;
}
:where(.MLK__rows > .MLK__row div).shift.is-pressed,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
}
:where(.MLK__rows > .MLK__row div).shift.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div) small {
color: var(--_keycap-secondary-text);
}
:where(.MLK__rows > .MLK__row div) aside {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 10px;
line-height: 10px;
color: var(--_keycap-secondary-text);
}
/* Add an attribute 'data-tooltip' to display a tooltip on hover.
Note there are a different set of tooltip rules for the keyboard toggle
(it's in a different CSS tree) */
.ML__keyboard [data-tooltip] {
position: relative;
}
.ML__keyboard [data-tooltip]::after {
position: absolute;
display: inline-table;
content: attr(data-tooltip);
top: inherit;
bottom: 100%;
width: max-content;
max-width: 200px;
padding: 8px 8px;
background: #616161;
color: #fff;
text-align: center;
z-index: 2;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
border-radius: 2px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-weight: 400;
font-size: 12px;
transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;
opacity: 0;
transform: scale(0.5);
}
.ML__keyboard [data-tooltip]:hover {
position: relative;
}
.ML__keyboard [data-tooltip]:hover::after {
opacity: 1;
transform: scale(1);
}
.MLK__toolbar {
align-self: center;
display: flex;
flex-flow: row;
justify-content: space-between;
width: 100%;
max-width: 996px;
min-height: 32px;
/* Icons for undo/redo, etc. */
}
.MLK__toolbar svg {
height: 20px;
width: 20px;
}
.MLK__toolbar > .left {
position: relative;
display: flex;
justify-content: flex-start;
flex-flow: row;
}
.MLK__toolbar > .right {
display: flex;
justify-content: flex-end;
flex-flow: row;
}
.MLK__toolbar > div > div {
/* "button" in the toolbar */
display: flex;
align-items: center;
justify-content: center;
color: var(--_toolbar-text);
fill: currentColor;
background: var(--_toolbar-background);
font-size: var(--_toolbar-font-size);
padding: 4px 15px;
cursor: pointer;
width: max-content;
min-width: 42px;
min-height: 34px;
border: none;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 8px;
padding-top: 8px;
margin-top: 0;
margin-bottom: 4px;
margin-left: 4px;
margin-right: 4px;
border-radius: 8px;
box-shadow: none;
border-bottom: 2px solid transparent;
}
.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {
background: var(--_toolbar-background-hover);
}
.MLK__toolbar > div > div.disabled svg,
.MLK__toolbar > div > div.disabled:hover svg,
.MLK__toolbar > div > div.disabled.is-pressed svg {
color: var(--_toolbar-text);
opacity: 0.2;
}
.MLK__toolbar > div > div:hover,
.MLK__toolbar > div > div:active,
.MLK__toolbar > div > div.is-pressed,
.MLK__toolbar > div > div.is-active {
color: var(--_toolbar-text-active);
}
.MLK__toolbar > div > div.selected {
color: var(--_toolbar-text-active);
background: var(--_toolbar-background-selected);
border-radius: 0;
border-bottom-color: var(--_toolbar-text-active);
padding-bottom: 4px;
margin-bottom: 8px;
}
/* This is the element that displays variants on press+hold */
.MLK__variant-panel {
visibility: hidden;
position: fixed;
display: flex;
flex-flow: row wrap-reverse;
justify-content: center;
align-content: center;
margin: 0;
padding: 0;
bottom: auto;
top: 0;
box-sizing: content-box;
transform: none;
z-index: calc(var(--_keyboard-zindex) + 1);
touch-action: none;
max-width: 350px;
background: var(--_variant-panel-background);
text-align: center;
border-radius: 6px;
padding: 6px;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
transition: none;
}
.MLK__variant-panel.is-visible {
visibility: visible;
}
.MLK__variant-panel.compact {
--_variant-keycap-length: var(--variant-keycap-length, 50px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);
}
.MLK__variant-panel .item {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
font-size: var(--_variant-keycap-font-size);
height: var(--_variant-keycap-length);
width: var(--_variant-keycap-length);
margin: 0;
box-sizing: border-box;
border-radius: 5px;
border: 1px solid transparent;
background: transparent;
pointer-events: all;
cursor: pointer;
color: var(--_variant-keycap-text);
fill: currentColor;
}
@media (max-height: 412px) {
.MLK__variant-panel .item {
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
.MLK__variant-panel .item .ML__latex {
pointer-events: none;
}
.MLK__variant-panel .item.is-active {
background: var(--_variant-keycap-background-active);
color: var(--_variant-keycap-text-active);
}
.MLK__variant-panel .item.is-pressed {
background: var(--_variant-keycap-background-pressed);
color: var(--_variant-keycap-text-pressed);
}
.MLK__variant-panel .item.small {
font-size: var(--_keycap-small-font-size);
}
.MLK__variant-panel .item.swatch-button {
box-sizing: border-box;
background: #fbfbfb;
}
.MLK__variant-panel .item.swatch-button > span {
display: inline-block;
margin: 6px;
width: calc(100% - 12px);
height: calc(100% - 12px);
border-radius: 50%;
}
.MLK__variant-panel .item.swatch-button:hover {
background: #f0f0f0;
}
.MLK__variant-panel .item.swatch-button:hover > span {
border-radius: 2px;
}
.MLK__variant-panel .item.box > div,
.MLK__variant-panel .item.box > span {
border: 1px dashed rgba(0, 0, 0, 0.24);
}
.MLK__variant-panel .item .warning {
min-height: 60px;
min-width: 60px;
background: #cd0030;
color: white;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
}
.MLK__variant-panel .item .warning.is-pressed,
.MLK__variant-panel .item .warning.is-active {
background: red;
}
.MLK__variant-panel .item .warning svg.svg-glyph {
width: 50px;
height: 50px;
}
.MLK__variant-panel .item aside {
font-size: var(--_variant-keycap-aside-font-size);
line-height: 12px;
opacity: 0.78;
padding-top: 2px;
}
.MLK__keycap {
position: relative;
}
.MLK__shift {
display: block;
position: absolute;
right: 4px;
top: 4px;
font-size: var(--_keycap-shift-font-size);
color: var(--_keycap-shift-color);
}
.hide-shift .MLK__shift {
display: none;
}
@media (max-width: 414px) {
.MLK__variant-panel {
max-width: 350px;
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
/* @xs breakpoint: iPhone 5 */
@container (max-width: 414px) {
.MLK__rows {
--_keycap-gap: max(var(--_keycap-gap, 2px), 2px);
--_keycap-height: max(var(--_keycap-height), 42px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
font-size: 100%;
margin-left: 2px;
margin-right: 2px;
}
.MLK__rows .shift,
.MLK__rows .action {
font-size: 65%;
}
.MLK__rows .warning svg.svg-glyph {
width: 14px;
height: 14px;
min-height: 14px;
}
}
@container (max-width: 744px) {
.MLK__rows {
--_keycap-gap: max(var(--keycap-gap, 2px), 2px);
--_keycap-height: max(var(--keycap-height, 52px), 52px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
padding-left: 0;
padding-right: 0;
}
.MLK__tooltip::after {
padding: 8px 16px;
font-size: 16px;
}
.MLK__rows > .MLK__row > div.fnbutton {
font-size: 16px;
}
.MLK__rows > .MLK__row > div.bigfnbutton {
font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);
}
.MLK__rows > .MLK__row > div.small {
font-size: 13px;
}
.MLK__rows > .MLK__row > div > aside {
display: none;
}
.MLK__shift {
display: none;
}
}
/* Medium breakpoint: larger phones */
@container (max-width: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@media (max-height: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@container (max-width: 1444px) {
.MLK__rows .if-wide {
display: none;
}
}
@media (prefers-color-scheme: dark) {
.ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
}
/* Same as the media query, but with a class */
[theme='dark'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
[theme='light'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--_keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
}
`,Oc=`:host {
--primary-color: #5898ff;
--primary-color-dimmed: #c0c0f0;
--primary-color-dark: var(--blue-500);
--primary-color-light: var(--blue-100);
--primary-color-reverse: #ffffff;
--secondary-color: #ff8a65;
--secondary-color-dimmed: #f0d5c5;
--secondary-color-dark: var(--orange-500);
--secondary-color-light: var(--orange-100);
--secondary-color-reverse: #ffffff;
--link-color: #5898ff;
--link-color-dimmed: #c5c5c5;
--link-color-dark: #121212;
--link-color-light: #e2e2e2;
--link-color-reverse: #ffffff;
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--neutral-100: #f5f5f5;
--neutral-200: #eeeeee;
--neutral-300: #e0e0e0;
--neutral-400: #bdbdbd;
--neutral-500: #9e9e9e;
--neutral-600: #757575;
--neutral-700: #616161;
--neutral-800: #424242;
--neutral-900: #212121;
--red-25: #fff8f7;
--red-50: #fff1ef;
--red-100: #ffeae6;
--red-200: #ffcac1;
--red-300: #ffa495;
--red-400: #ff7865;
--red-500: #f21c0d;
--red-600: #e50018;
--red-700: #d30024;
--red-800: #bd002c;
--red-900: #a1002f;
--orange-25: #fffbf8;
--orange-50: #fff7f1;
--orange-100: #fff3ea;
--orange-200: #ffe1c9;
--orange-300: #ffcca2;
--orange-400: #ffb677;
--orange-500: #fe9310;
--orange-600: #f58700;
--orange-700: #ea7c00;
--orange-800: #dc6d00;
--orange-900: #ca5b00;
--brown-25: #fff8ef;
--brown-50: #fff1df;
--brown-100: #ffe9ce;
--brown-200: #ebcca6;
--brown-300: #cdaf8a;
--brown-400: #af936f;
--brown-500: #856a47;
--brown-600: #7f5e34;
--brown-700: #78511f;
--brown-800: #6e4200;
--brown-900: #593200;
--yellow-25: #fffdf9;
--yellow-50: #fffcf2;
--yellow-100: #fffaec;
--yellow-200: #fff2ce;
--yellow-300: #ffe8ab;
--yellow-400: #ffdf85;
--yellow-500: #ffcf33;
--yellow-600: #f1c000;
--yellow-700: #dfb200;
--yellow-800: #c9a000;
--yellow-900: #ad8a00;
--lime-25: #f4ffee;
--lime-50: #e9ffdd;
--lime-100: #ddffca;
--lime-200: #a8fb6f;
--lime-300: #94e659;
--lime-400: #80d142;
--lime-500: #63b215;
--lime-600: #45a000;
--lime-700: #268e00;
--lime-800: #007417;
--lime-900: #005321;
--green-25: #f5fff5;
--green-50: #ebffea;
--green-100: #e0ffdf;
--green-200: #a7ffa7;
--green-300: #5afa65;
--green-400: #45e953;
--green-500: #17cf36;
--green-600: #00b944;
--green-700: #00a34a;
--green-800: #008749;
--green-900: #00653e;
--teal-25: #f3ffff;
--teal-50: #e6fffe;
--teal-100: #d9fffe;
--teal-200: #8dfffe;
--teal-300: #57f4f4;
--teal-400: #43e5e5;
--teal-500: #17cfcf;
--teal-600: #00c2c0;
--teal-700: #00b5b1;
--teal-800: #00a49e;
--teal-900: #009087;
--cyan-25: #f7fcff;
--cyan-50: #eff8ff;
--cyan-100: #e7f5ff;
--cyan-200: #c2e6ff;
--cyan-300: #95d5ff;
--cyan-400: #61c4ff;
--cyan-500: #13a7ec;
--cyan-600: #069eda;
--cyan-700: #0095c9;
--cyan-800: #0088b2;
--cyan-900: #0a7897;
--blue-25: #f7faff;
--blue-50: #eef5ff;
--blue-100: #e5f1ff;
--blue-200: #bfdbff;
--blue-300: #92c2ff;
--blue-400: #63a8ff;
--blue-500: #0d80f2;
--blue-600: #0077db;
--blue-700: #006dc4;
--blue-800: #0060a7;
--blue-900: #005086;
--indigo-25: #f8f7ff;
--indigo-50: #f1efff;
--indigo-100: #eae7ff;
--indigo-200: #ccc3ff;
--indigo-300: #ac99ff;
--indigo-400: #916aff;
--indigo-500: #63c;
--indigo-600: #5a21b2;
--indigo-700: #4e0b99;
--indigo-800: #3b0071;
--indigo-900: #220040;
--purple-25: #fbf7ff;
--purple-50: #f8f0ff;
--purple-100: #f4e8ff;
--purple-200: #e4c4ff;
--purple-300: #d49aff;
--purple-400: #c36aff;
--purple-500: #a219e6;
--purple-600: #9000c4;
--purple-700: #7c009f;
--purple-800: #600073;
--purple-900: #3d0043;
--magenta-25: #fff8fb;
--magenta-50: #fff2f6;
--magenta-100: #ffebf2;
--magenta-200: #ffcddf;
--magenta-300: #ffa8cb;
--magenta-400: #ff7fb7;
--magenta-500: #eb4799;
--magenta-600: #da3689;
--magenta-700: #c82179;
--magenta-800: #b00065;
--magenta-900: #8a004c;
}
@media (prefers-color-scheme: dark) {
:host {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
}
:host([theme='dark']) {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
/* @media (prefers-color-scheme: dark) {
:host {
--label-color: #fff;
--active-label-color: #000;
--menu-bg: #525252;
--active-bg: #5898ff;
--active-bg-dimmed: #5c5c5c;
}
} */
:host {
--ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol';
--ui-font-size: 14px;
--ui-line-height: 1.5;
--ui-letter-spacing: 0.007em;
--mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono',
'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
--ui-layer-1: var(--neutral-100);
--ui-layer-2: var(--neutral-200);
--ui-layer-3: var(--neutral-300);
--ui-layer-4: var(--neutral-400);
--ui-layer-5: var(--neutral-500);
--ui-layer-6: var(--neutral-600);
--ui-border-color: var(--primary-color);
--ui-border-radius: 4px;
--ui-text: var(--neutral-900);
--ui-text-secondary: var(--neutral-700);
--ui-text-placeholder: var(--neutral-500);
--ui-text-muted: var(--neutral-300);
/** A field is a UI element in which a user can type data, for
* example an input or textarea element.
*/
--ui-field-bg: var(--neutral-100);
--ui-field-bg-hover: var(--neutral-100);
--ui-field-bg-disabled: var(--neutral-300);
--ui-field-bg-invalid: var(--red-100);
--ui-field-bg-focus: var(--neutral-100);
--ui-field-border: 0.5px solid var(--border-color);
--ui-field-border-hover: 0.5px solid var(--border-color);
--ui-field-border-disabled: 0.5px solid var(--border-color);
--ui-field-border-invalid: 0.5px solid var(--border-color);
--ui-field-border-focus: 0.5px solid var(--border-color);
--ui-menu-bg: var(--neutral-100);
--ui-menu-text: var(--neutral-900);
--ui-menu-bg-hover: var(--neutral-200);
--ui-menu-text-hover: var(--neutral-900);
/** The \`active\` state is used for the state of menu items
* when they are selected.
*/
--ui-menu-bg-active: var(--primary-color);
--ui-menu-text-active: var(--primary-color-reverse);
/** The \`active-muted\` set is used for the state of
* submenus when they are open.
*/
--ui-menu-bg-active-muted: var(--neutral-300);
--ui-menu-text-active-muted: var(--neutral-900);
/* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
0 2px 6px 2px rgba(60, 64, 67, 0.149); */
--ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
--ui-menu-divider: 0.5px solid #c7c7c7;
/* var(--neutral-300); */
--ui-menu-z-index: 10000;
--page-bg: var(--neutral-100);
--content-bg: var(--neutral-200);
}
@media (prefers-color-scheme: dark) {
:host {
--ui-menu-bg: var(--neutral-200);
}
}
:host([theme='dark']) {
--ui-menu-bg: var(--neutral-200);
}
/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font.
Noto is a Linux/Android font.
*/
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh) {
--ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB',
'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI',
'Microsoft YaHei New', 'Microsoft Yahei', '\u5FAE\u8F6F\u96C5\u9ED1', SimSun, '\u5B8B\u4F53',
STXihei, '\u534E\u6587\u7EC6\u9ED1', sans-serif;
}
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans',
'Microsoft JhengHei UI', 'Microsoft JhengHei', '\u5FAE\u8EDF\u6B63\u9ED1\u9AD4', '\u65B0\u7D30\u660E\u9AD4',
'PMingLiU', '\u7D30\u660E\u9AD4', 'MingLiU', sans-serif;
}
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac) {
--ui-font-family: -apple-system, system-ui, 'Hiragino Sans',
'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans',
'\u6E38\u30B4\u30B7\u30C3\u30AF', '\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53', YuGothic, 'Yu Gothic', '\u30E1\u30A4\u30EA\u30AA', Meiryo,
'\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF', 'MS PGothic', sans-serif;
}
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Malgun Gothic', '\uB9D1\uC740 \uACE0\uB515', 'Apple SD Gothic Neo',
'\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo', 'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(ko-kr-apple) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Apple SD Gothic Neo', '\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo',
'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh),
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo),
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac),
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std),
:lang(ko-kr-apple) {
--ui-font-size: 1rem;
--ui-line-height: 1.7;
--ui-letter-spacing: 0;
}
:dir(rtl) {
--ui-line-height: auto;
--ui-letter-spacing: 0;
}
`,ch=`.ui-menu *,
.ui-menu ::before,
.ui-menu ::after {
box-sizing: border-box;
}
.ui-menu {
display: none;
color-scheme: light dark;
-webkit-user-select: none;
/* Important: Safari iOS doesn't respect user-select */
user-select: none;
cursor: default;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0 0 0 0);
--active-label-color: #fff;
/* ui-menu-text-active */
--label-color: #121212;
/* ui-menu-text */
--menu-bg: #e2e2e2;
/* ui-menu-background */
--active-bg: #5898ff;
/* ui-menu-background-active */
--active-bg-dimmed: #c5c5c5;
/* ui-menu-background-active-muted */
}
/** Use the :where pseudo selector to make the specificity of the
* selector 0, so that it can be overridden by the user.
*/
:where(.ui-menu-container) {
position: absolute;
overflow: visible;
width: auto;
height: auto;
z-index: 10000;
border-radius: 8px;
background: var(--ui-menu-bg);
box-shadow: var(--ui-menu-shadow);
list-style: none;
padding: 6px 0 6px 0;
margin: 0;
user-select: none;
cursor: default;
color: var(--ui-menu-text);
font-weight: normal;
font-style: normal;
text-shadow: none;
text-transform: none;
letter-spacing: 0;
outline: none;
opacity: 1;
/* The [popover] elements have a 1px solid black border. Ugh. */
border: none;
width: fit-content;
height: fit-content;
}
:where(.ui-menu-container > li) {
display: flex;
flex-flow: row;
align-items: center;
padding: 1px 7px 1px 7px;
margin-top: 0;
margin-left: 6px;
margin-right: 6px;
border-radius: 4px;
white-space: nowrap;
position: relative;
outline: none;
fill: currentColor;
user-select: none;
cursor: default;
text-align: left;
color: inherit;
font-family: var(--ui-font-family);
font-size: var(--ui-font-size);
line-height: var(--ui-line-height);
letter-spacing: var(--ui-letter-spacing);
}
:where(.ui-menu-container > li > .label) {
appearance: none;
background: none;
outline: none;
width: 100%;
margin: 0;
padding: 1px 2px 1px 1px;
overflow: visible;
border: 1px solid transparent;
white-space: nowrap;
text-align: start;
}
:where(.ui-menu-container > li:has(.heading)) {
margin-top: 0.5em;
}
:where(.ui-menu-container > li > .label.heading) {
font-weight: bold;
opacity: 0.4;
}
:where(.ui-menu-container > li.indent > .label) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li > .label.indent) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li[role='divider']) {
border-bottom: 1px solid var(--ui-menu-divider);
border-radius: 0;
padding: 0;
margin-left: 15px;
margin-right: 15px;
padding-top: 5px;
margin-bottom: 5px;
width: calc(100% - 30px);
/** 100% - (margin-left + margin-right) */
}
:where(.ui-menu-container > li[aria-disabled='true']) {
opacity: 0.5;
}
:where(.ui-menu-container > li.active) {
background: var(--ui-menu-bg-active);
background: -apple-system-control-accent;
color: var(--ui-menu-text-active);
}
:where(.ui-menu-container > li.active.is-submenu-open) {
background: var(--ui-menu-bg-active-muted);
color: inherit;
}
:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {
padding-inline-end: 0;
}
:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {
color: var(--ui-menu-text-active);
}
/** Keyboard shortcut */
:where(.ui-menu-container > li > kbd) {
font-family: var(--ui-font-family);
margin-inline-start: 12px;
opacity: 0.4;
}
:where(.ui-menu-container > li.active > kbd) {
opacity: 0.85;
}
.ui-trailing-chevron {
display: flex;
margin-inline-start: 24px;
width: 10px;
height: 10px;
margin-bottom: 4px;
}
.ui-trailing-chevron:dir(rtl) {
transform: scaleX(-1);
}
.ui-checkmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
.ui-mixedmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
`,Yr;function ou(a){let y="";switch(a){case"mathfield-element":y=`
:host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px; padding:4px;}
:host([hidden]) { display: none; }
:host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }
:host(:focus), :host(:focus-within) {
outline: Highlight auto 1px; /* For Firefox */
outline: -webkit-focus-ring-color auto 1px;
}
:host([readonly]:focus), :host([readonly]:focus-within),
:host([read-only]:focus), :host([read-only]:focus-within) {
outline: none;
}
@media (hover: none) and (pointer: coarse) {
:host(:not(:focus)) :first-child { pointer-events: none !important; }
}`;break;case"core":y=Kr;break;case"mathfield":y=g0;break;case"environment-popover":y=v0;break;case"suggestion-popover":y=lh;break;case"keystroke-caption":y=Ou;break;case"virtual-keyboard":y=uh;break;case"ui":y=Oc;break;case"menu":y=ch;break;default:debugger}return y}function Pu(a){return Yr||(Yr={}),Yr[a]||(Yr[a]=new CSSStyleSheet,Yr[a].replaceSync(ou(a))),Yr[a]}var al;function As(a){var y;if(!("adoptedStyleSheets"in document)){if(window.document.getElementById(`mathlive-style-${a}`))return;const b=window.document.createElement("style");b.id=`mathlive-style-${a}`,b.append(window.document.createTextNode(ou(a))),window.document.head.appendChild(b);return}if(al||(al={}),((y=al[a])!=null?y:0)!==0)al[a]+=1;else{const b=Pu(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],al[a]=1}}function x(a){if("adoptedStyleSheets"in document&&al!=null&&al[a]&&(al[a]-=1,al[a]<=0)){const y=Yr[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class kp extends Ut{constructor(y){var b;super(Me(we({},y),{type:"accent",body:(b=y.body)!=null?b:void 0})),y.accentChar?this.accent=y.accentChar:this.svgAccent=y==null?void 0:y.svgAccent,this.skipBoundary=!0,this.captureSelection=!0}static fromJson(y){return new kp(y)}toJson(){return Me(we({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new ur({parent:y,mathstyle:"cramp"},this.style),ee=(b=Ut.createBox(E,this.body))!=null?b:new An("\u25A2",{style:this.style});let ie=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(ie=ee.skew);let oe=Math.min(ee.height,$s),ce;if(this.svgAccent)ce=Bs(this.svgAccent),oe=E.metrics.bigOpSpacing1-oe;else if(this.accent){const pe=new An(this.accent,{fontFamily:"Main-Regular"});pe.italic=0;const ve=this.accent===8407?" ML__accent-vec":"";ce=new An(new An(pe),{classes:"ML__accent-body"+ve})}ce=new Vr({shift:0,children:[{box:new An(ee)},-oe,{box:ce,marginLeft:ee.left+2*ie,classes:["ML__center"]}]});const he=new An(ce,{type:"lift"});return this.caret&&(he.caret=this.caret),this.bind(E,he.wrap(E)),this.attachSupsub(E,{base:he})}},ne={"(":")","{":"}","[":"]","|":"|","\\lbrace":"\\rbrace","\\lparen":"\\rparen","\\{":"\\}","\\langle":"\\rangle","\\lfloor":"\\rfloor","\\lceil":"\\rceil","\\vert":"\\vert","\\lvert":"\\rvert","\\Vert":"\\Vert","\\lVert":"\\rVert","\\lbrack":"\\rbrack","\\ulcorner":"\\urcorner","\\llcorner":"\\lrcorner","\\lgroup":"\\rgroup","\\lmoustache":"\\rmoustache"},te=Object.fromEntries(Object.entries(ne).map(([a,y])=>[y,a]));function ae(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function se(a,y,b,E){var ee;const oe=new An(ae(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((ee=E.classes)!=null?ee:"")}).wrap(y);return b&&oe.setTop((1-y.scalingFactor)*Uo),oe}function fe(a,y,b,E,ee){var ie,oe;const ce=new ur({parent:E,mathstyle:"textstyle"},ee==null?void 0:ee.style),he=new An(ae(a),{fontFamily:`Size${y}-Regular`,isSelected:ee.isSelected,classes:((ie=ee.classes)!=null?ie:"")+` ML__delim-size${y}`,type:(oe=ee.type)!=null?oe:"ignore"}).wrap(ce);return b&&he.setTop((1-ce.scalingFactor)*Uo),he}function be(a,y,b,E,ee){var ie;let oe,ce,he,pe;oe=he=pe=ae(a),ce=null;let ve="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?he=oe=pe=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?he=oe=pe=8741:a==="\\uparrow"?he=pe=9168:a==="\\Uparrow"?he=pe=8214:a==="\\downarrow"?oe=he=9168:a==="\\Downarrow"?oe=he=8214:a==="\\updownarrow"?(oe=8593,he=9168,pe=8595):a==="\\Updownarrow"?(oe=8657,he=8214,pe=8659):a==="["||a==="\\lbrack"?(oe=9121,he=9122,pe=9123,ve="Size4-Regular"):a==="]"||a==="\\rbrack"?(oe=9124,he=9125,pe=9126,ve="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(he=oe=9122,pe=9123,ve="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(oe=9121,he=pe=9122,ve="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(he=oe=9125,pe=9126,ve="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(oe=9124,he=pe=9125,ve="Size4-Regular"):a==="("||a==="\\lparen"?(oe=9115,he=9116,pe=9117,ve="Size4-Regular"):a===")"||a==="\\rparen"?(oe=9118,he=9119,pe=9120,ve="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(oe=9127,ce=9128,pe=9129,he=9130,ve="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(oe=9131,ce=9132,pe=9133,he=9130,ve="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(oe=9127,pe=9129,he=9130,ve="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(oe=9131,pe=9133,he=9130,ve="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(oe=9127,pe=9133,he=9130,ve="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(oe=9131,pe=9129,he=9130,ve="Size4-Regular"):a==="\\surd"?(oe=57345,pe=9143,he=57344,ve="Size4-Regular"):a==="\\ulcorner"?(oe=9484,he=pe=32):a==="\\urcorner"?(oe=9488,he=pe=32):a==="\\llcorner"?(pe=9492,he=oe=32):a==="\\lrcorner"&&(oe=9496,he=oe=32);const De=el(oe,ve),Oe=De.height+De.depth,We=el(he,ve),Ze=We.height+We.depth,Dt=el(pe,ve),xn=Dt.height+Dt.depth;let St=0,tn=1;if(ce!==null){const Io=el(ce,ve);St=Io.height+Io.depth,tn=2}const Mn=Oe+xn+St,cn=Math.max(0,Math.ceil((y-Mn)/(tn*Ze))),Vn=Mn+cn*tn*Ze;let ui=Uo;b&&(ui=ui*E.scalingFactor);const ni=Vn/2-ui,fr=.008,Ur=[];Ur.push({box:new An(pe,{fontFamily:ve})}),Ur.push(-fr);const Dn=new An(he,{fontFamily:ve});if(ce===null)for(let Io=0;Io<cn;Io++)Ur.push({box:Dn});else{for(let Io=0;Io<cn;Io++)Ur.push({box:Dn});Ur.push(-fr),Ur.push({box:new An(ce,{fontFamily:ve})}),Ur.push(-fr);for(let Io=0;Io<cn;Io++)Ur.push({box:Dn})}Ur.push(-fr),Ur.push({box:new An(oe,{fontFamily:ve})});let Os="";ve==="Size1-Regular"?Os=" delim-size1":ve==="Size4-Regular"&&(Os=" delim-size4");const Ol=new Vr({bottom:ni,children:Ur},{classes:Os});return new An(Ol,Me(we({},ee!=null?ee:{}),{classes:((ie=ee==null?void 0:ee.classes)!=null?ie:"")+" ML__delim-mult"}))}var Ae=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Ce=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),He=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),qe=[0,1.2,1.8,2.4,3];function At(a,y,b,E){return a===void 0||a==="."?Un(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ae.has(a)||He.has(a)?fe(a,y,!1,b,E):Ce.has(a)?be(a,qe[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var bt=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Yt=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],hn=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}];function Cn(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Pn(a,y,b,E){const ee={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let ie=ee;ie<b.length&&b[ie].type!=="stack";ie++){const oe=el(a,Cn(b[ie]));if(oe.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let ce=oe.height+oe.depth;if(b[ie].type==="small"&&(b[ie].mathstyle==="scriptscriptstyle"?ce*=Math.max(Sc[Math.max(1,E.size-2)],E.minFontScale):b[ie].mathstyle==="scriptstyle"&&(ce*=Math.max(Sc[Math.max(1,E.size-1)],E.minFontScale))),ce>y)return b[ie]}return b[b.length-1]}function Wn(a,y,b,E,ee,ie){if(!y||y.length===0||y===".")return Un(ee);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let oe;He.has(y)?oe=bt:Ae.has(y)?oe=hn:oe=Yt;const ce=Pn(ae(y),b,oe,ee),he=new ur({parent:ee,mathstyle:ce.mathstyle},ie==null?void 0:ie.style);return ce.type==="small"?se(y,he,E,Me(we({},ie),{type:a})):ce.type==="large"?fe(y,ce.size,E,he,Me(we({},ie),{type:a})):(console.assert(ce.type==="stack"),be(y,b,E,he,Me(we({},ie),{type:a})))}function Nn(a,y,b,E,ee,ie){if(y===".")return Un(ee,ie==null?void 0:ie.classes);const oe=Uo*ee.scalingFactor,ce=901,he=5/nu,pe=Math.max(b-oe,E+oe),ve=Math.max(pe/500*ce,2*pe-he);return Wn(a,y,ve,!0,ee,ie)}function Un(a,y){const b=new An(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new ur({parent:a,mathstyle:"textstyle"}))}var ci=class Dp extends Ut{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new Dp(y)}toJson(){return super.toJson()}render(y){let b;return this.value=y.placeholderSymbol,typeof y.renderPlaceholder=="function"?b=y.renderPlaceholder(y):b=this.createBox(y),this.caret&&(b.classes+=" ML__placeholder-selected"),b}_serialize(y){return y.skipPlaceholders?"":"\\placeholder{}"}},fi=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],ar=["cases","dcases","rcases"],Zr=["align","align*","aligned","gather","gathered","split"],wo=["array","subequations","eqnarray"];function La(a){return wo.concat(Zr).concat(ar).concat(fi).includes(a)}function Xo(a){return fi.includes(a)}function $o(a){return ar.includes(a)}function ro(a){return Zr.includes(a)}function es(a,y,b){let E=0;for(const pe of b)"align"in pe&&(E+=1);let ee=0;const ie=[];for(const pe of y){let ve=0;for(ee=Math.max(ee,Math.min(pe.length,E));ve<pe.length;){const De=[],Oe=Math.min(pe.length,ve+E);for(;ve<Oe;){const We=pe[ve];We.length===0?De.push([new Ut({type:"first",mode:a.mode})]):We[0].type!=="first"?De.push([new Ut({type:"first",mode:a.mode}),...We]):(console.assert(!We.slice(1).some(Ze=>Ze.type==="first")),De.push(We)),ve+=1}ie.push(De)}}ie.length>0&&ie[ie.length-1].length===1&&ie[ie.length-1][0].length===1&&ie[ie.length-1][0][0].type==="first"&&ie.pop();const oe=[];for(const pe of ie){if(pe.length!==ee)for(let ve=pe.length;ve<ee;ve++)pe.push([new Ut({type:"first",mode:a.mode}),new ci]);oe.push(pe)}let ce=0,he=0;for(const pe of oe){he=0;for(const ve of pe){for(const De of ve)De.parent=a,De.parentBranch=[ce,he];he+=1}ce+=1}return a.isDirty=!0,oe}var Hi=class Lp extends Ut{constructor(y,b,E,ee={}){var ie;super({type:"array"}),this.environmentName=y,this.rowGaps=E,ee.mathstyleName&&(this.mathstyleName=ee.mathstyleName),ee.columns&&(ee.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ee.columns),this.colFormat||(this.colFormat=[{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"}]),this.array=es(this,b,this.colFormat),ee.leftDelim&&(this.leftDelim=ee.leftDelim),ee.rightDelim&&(this.rightDelim=ee.rightDelim),ee.arraycolsep!==void 0&&(this.arraycolsep=ee.arraycolsep),this.colSeparationType=ee.colSeparationType,ee.arraystretch!==void 0&&(this.arraystretch=ee.arraystretch),this.minColumns=(ie=ee.minColumns)!=null?ie:1}static fromJson(y){return new Lp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=Me(we({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(ee=>ee.toJson()))),rowGaps:this.rowGaps,columns:this.colFormat,colSeparationType:this.colSeparationType});return this.arraystretch!==void 0&&(y.arraystretch=this.arraystretch),this.arraycolsep!==void 0&&(y.arraycolsep=this.arraycolsep),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}branch(y){var b;if(ec(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return ec(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(il(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(E=>{E.parent=void 0,E.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const E of b)if(E)for(const ee of E)y.push(...ee.children),y.push(ee);return[...y,...super.children]}render(y){var b,E,ee,ie,oe,ce;const he=new ur({parent:y,mathstyle:this.mathstyleName},this.style),pe=he.getRegisterAsEm("arrayrulewidth"),ve=he.getRegisterAsEm("arraycolsep"),De=he.getRegisterAsEm("doublerulesep"),Oe=(E=(b=this.arraystretch)!=null?b:he.getRegisterAsNumber("arraystretch"))!=null?E:1;let We=typeof this.arraycolsep=="number"?this.arraycolsep:ve;this.colSeparationType==="small"&&(We=.2778*(new ur({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const Ze=Oe*Mc,Dt=.7*Ze,xn=.3*Ze;let St=0;const tn=[];let Mn=0;const cn=this.array.length;for(let qr=0;qr<cn;++qr){const Ja=this.array[qr];Mn=Math.max(Mn,Ja.length);const To=new ur({parent:he,mathstyle:this.mathstyleName},this.style);let Pl=Dt/To.scalingFactor,zl=xn/To.scalingFactor;const _l={cells:[],height:0,depth:0,pos:0};for(const ll of Ja){const $h=(ee=Ut.createBox(To,ll,{type:"ignore"}))!=null?ee:new An(null,{type:"ignore"});zl=Math.max(zl,$h.depth),Pl=Math.max(Pl,$h.height),_l.cells.push($h)}let jl=(ie=dd(this.rowGaps[qr]))!=null?ie:0;jl>0&&(jl+=xn,zl=Math.max(zl,jl),jl=0),qr<cn-1&&!Xo(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(zl+=he.getRegisterAsEm("jot")),_l.height=Pl,_l.depth=zl,St+=Pl,_l.pos=St,St+=zl+jl,tn.push(_l)}const Vn=St/2+Uo,ui=[];for(let qr=0;qr<Mn;qr++){const Ja=[];for(const To of tn){const Pl=To.cells[qr];Pl.depth=To.depth,Pl.height=To.height,Ja.push({box:Pl,shift:To.pos-Vn})}Ja.length>0&&ui.push(new Vr({individualShift:Ja}))}const ni=[];let fr=!1,Ur=!1,Dn=0,Os=!this.leftDelim;const{colFormat:Ol}=this;for(const qr of Ol){if("align"in qr&&Dn>=ui.length)break;if("align"in qr)fr?ni.push(Ba(2*We)):(Ur||Os)&&ni.push(Ba(We)),ni.push(new An(ui[Dn],{classes:"col-align-"+qr.align})),Dn++,fr=!0,Ur=!1,Os=!1;else if("gap"in qr){if(typeof qr.gap=="number")ni.push(Ba(qr.gap));else{const Ja=Ra(y,tn,Vn,qr.gap);Ja&&ni.push(Ja)}fr=!1,Ur=!1,Os=!1}else if("separator"in qr){const Ja=new An(null,{classes:"vertical-separator"});Ja.height=St,Ja.setStyle("height",St,"em"),Ja.setStyle("border-right",`${pe}em ${qr.separator} currentColor`),Ja.setStyle("vertical-align",-(St-Vn),"em");let To=0;Ur?To=De-pe:fr&&(To=We-pe),Ja.left=To,ni.push(Ja),fr=!1,Ur=!0,Os=!1}}fr&&!this.rightDelim&&ni.push(Ba(We));const Us=new An(ni,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(Us.caret=this.caret),this.bind(y,Us);const Io=Us.height,Ps=Us.depth,vs=this.bind(y,new An([this.bind(y,Nn("open",(oe=this.leftDelim)!=null?oe:".",Io,Ps,he,{isSelected:this.isSelected})),Us,this.bind(y,Nn("close",(ce=this.rightDelim)!=null?ce:".",Io,Ps,he,{isSelected:this.isSelected}))],{type:"ord"}));return vs?(vs.setStyle("display","inline-block"),this.caret&&(vs.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:vs}))):null}_serialize(y){var b;const E=[];if(this.environmentName==="lines"?E.push("{\\displaylines"):E.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(E.push("{"),this.colFormat!==void 0)for(const ee of this.colFormat)"align"in ee&&typeof ee.align=="string"?E.push(ee.align):"separator"in ee&&ee.separator==="solid"?E.push("|"):"separator"in ee&&ee.separator==="dashed"&&E.push(":");E.push("}")}for(let ee=0;ee<this.array.length;ee++){for(let ie=0;ie<this.array[ee].length;ie++)ie>0&&E.push(" & "),E.push(Ut.serialize(this.array[ee][ie],y));if(ee<this.array.length-1){const ie=this.rowGaps[ee];ie!=null&&ie.dimension?E.push(`\\\\[${ie.dimension} ${(b=ie.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),rr(E)}getCell(y,b){return this.array[y][b]}setCell(y,b,E){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const ie of this.array[y][b])ie.parent=void 0,ie.parentBranch=void 0;let ee=E;(E.length===0||E[0].type!=="first")&&(ee=[new Ut({type:"first",mode:this.mode}),...E]),this.array[y][b]=ee;for(const ie of ee)ie.parent=this,ie.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(ja(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ie=this.array[E][ee];if(ie)for(const oe of ie)oe.parentBranch=[E,ee]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(ja(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ie=this.array[E][ee];if(ie)for(const oe of ie)oe.parentBranch=[E,ee]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const E of b)for(const ee of E)if(ee)for(const ie of ee)ie.parent=void 0,ie.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ie=this.array[E][ee];if(ie)for(const oe of ie)oe.parentBranch=[E,ee]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,ja(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ie of ee)ie.parentBranch=[b,E]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,ja(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ie of ee)ie.parentBranch=[b,E]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const E=b.splice(y,1);for(const ee of E)if(ee)for(const ie of ee)ie.parent=void 0,ie.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ie of ee)ie.parentBranch=[b,E]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const E of b)E&&y.push(E.filter(ee=>ee.type!=="first"));return y}};function ja(a){const y=new Ut({type:"first",mode:a.mode});y.parent=a;const b=new ci;return b.parent=a,[y,b]}function Ba(a){const y=new An(null,{classes:"arraycolsep"});return y.width=a,y}function Ra(a,y,b,E){if(!E)return null;const ee=[];for(const ie of y){const oe=Ut.createBox(a,E,{type:"ignore"});oe&&(oe.depth=ie.depth,oe.height=ie.height,ee.push({box:oe,shift:ie.pos-b}))}return new Vr({individualShift:ee}).wrap(a)}var Ya=class Bp extends Ut{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new Bp(y)}toJson(){return Me(we({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,ee,ie;const oe=Ut.createBox(y,this.body,{type:"lift"});if(!oe)return null;const ce=y.toEm((b=this.offset)!=null?b:{dimension:0});oe.depth+=ce,oe.setStyle("display","inline-block"),oe.setStyle("position","relative"),oe.setStyle("height",Math.floor(100*oe.height+oe.depth)/100,"em"),oe.setStyle("vertical-align",-Math.floor(100*oe.height)/100,"em");const he=new ur({parent:y},this.style),pe=he.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),ve=new An(null,{classes:"ML__box"});ve.height=oe.height+pe,ve.depth=oe.depth+pe,ve.setStyle("box-sizing","border-box"),ve.setStyle("position","absolute"),ve.setStyle("top",-pe+.3,"em"),ve.setStyle("left",0),ve.setStyle("height",ve.height+ve.depth,"em"),ve.setStyle("width","100%"),this.backgroundcolor&&ve.setStyle("background-color",(ee=he.toColor(this.backgroundcolor))!=null?ee:"transparent"),this.framecolor&&ve.setStyle("border",`${he.getRegisterAsEm("fboxrule",2)}em solid ${(ie=he.toColor(this.framecolor))!=null?ie:"black"}`),this.border&&ve.setStyle("border",this.border);const De=new An([ve,oe],{type:"lift"});return De.setStyle("display","inline-block"),De.setStyle("position","relative"),De.setStyle("line-height",0),De.height=oe.height+pe+(ce>0?ce:0),De.depth=oe.depth+pe+(ce<0?-ce:0),De.setStyle("padding-left",pe,"em"),De.setStyle("padding-right",pe,"em"),De.setStyle("height",Math.floor(100*(oe.height+oe.depth+2*pe+Math.abs(ce)))/100,"em"),De.setStyle("margin-top",-pe,"em"),De.setStyle("top",Math.floor(100*(oe.depth-oe.height+2*pe-ce))/100,"em"),De.setStyle("vertical-align",Math.floor(100*(oe.depth+2*pe))/100,"em"),this.caret&&(De.caret=this.caret),this.attachSupsub(y,{base:De})}_serialize(y){return y.skipStyles?rr([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},su=class Np extends Ut{constructor(y,b){var E;super({type:"composition",mode:(E=b==null?void 0:b.mode)!=null?E:"math",value:y})}static fromJson(y){return new Np(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new An(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},cs=class Ip extends Ut{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Ip(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Lo=class Tp extends Ut{constructor(y,b,E){super({type:"group",mode:b,style:E}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Tp(y.body,y.mode,y.style)}render(y){const b=Ut.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Nr=class Fp extends Ut{constructor(y,b,E){super({type:"leftright",style:E.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=E.leftDelim,this.rightDelim=E.rightDelim}static fromJson(y){var b;return new Fp((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,E;const ee=this.matchingRightDelim();return this.variant==="left...right"?rr(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ee]):this.variant==="mleft...mright"?rr(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",ee]):rr([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ee])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=ne[E])!=null?b:E}render(y){var b,E;const ee=new ur({parent:y},this.style);console.assert(this.body!==void 0);const ie=new ur({parent:y,mathstyle:"textstyle"},this.style),oe=(b=Ut.createBox(ee,this.body,{type:"inner"}))!=null?b:new An(null,{type:"inner"}),ce=oe.height/ie.scalingFactor,he=oe.depth/ie.scalingFactor,pe=[];if(this.leftDelim&&pe.push(this.bind(ie,Nn("open",this.leftDelim,ce,he,ie,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),oe&&(fo(oe.children,this,ee,ce,he),pe.push(oe)),this.rightDelim){let We=this.containsCaret?" ML__contains-caret":"",Ze=this.rightDelim;Ze==="?"&&(ee.smartFence?(Ze=this.matchingRightDelim(),We+=" ML__smart-fence__close"):Ze="."),pe.push(this.bind(ie,Nn("close",Ze,ce,he,ie,{isSelected:this.isSelected,classes:We+" ML__close",mode:this.mode,style:this.style})))}let ve=this.variant==="mleft...mright";const De=this.leftSibling;De&&(!ve&&De.isFunction&&(ve=!0),!ve&&De.type==="subsup"&&((E=De.leftSibling)!=null&&E.isFunction)&&(ve=!0));const Oe=new An(pe,{type:ve?"close":"inner",classes:"left-right"});return Oe.setStyle("margin-top",`${-oe.depth}em`),Oe.setStyle("height",`${oe.height+oe.depth}em`),this.caret&&(Oe.caret=this.caret),this.bind(ee,Oe.wrap(ee))}};function fo(a,y,b,E,ee){if(a)for(let ie=0;ie<a.length;ie++){const oe=a[ie];oe.type==="middle"?(a[ie]=y.bind(b,Nn("inner",oe.value,E,ee,b,{isSelected:y.isSelected})),a[ie].caret=oe.caret,a[ie].isSelected=oe.isSelected,a[ie].cssId=oe.cssId,a[ie].htmlData=oe.htmlData,a[ie].htmlStyle=oe.htmlStyle,a[ie].attributes=oe.attributes,a[ie].cssProperties=oe.cssProperties):oe.children&&fo(oe.children,y,b,E,ee)}}var Pc=class Op extends Ut{constructor(y,b){var E;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(E=b.expand)!=null?E:!1}static fromJson(y){return new Op(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=Ut.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},ol=class Pp extends Ut{constructor(){super({type:"macro-argument"})}static fromJson(y){return new Pp}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},Dl=class zp extends Ut{constructor(y,b,E=!1,ee,ie){var oe;super({type:"prompt",mode:(oe=ie==null?void 0:ie.mode)!=null?oe:"math",style:ie==null?void 0:ie.style,command:"\\placeholder"}),this.body=ee,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new zp(y.placeholderId,y.correctness,y.locked,y.body,y)}toJson(){const y=super.toJson();return this.placeholderId&&(y.placeholderId=this.placeholderId),this.body||delete y.body,this.body&&(y.body=this.body.filter(b=>b.type!=="first").map(b=>b.toJson())),this.correctness&&(y.correctness=this.correctness),y.locked=this.locked,y}render(y){const b=new ur({parent:y}),E=b.getRegisterAsEm("fboxsep"),ee=E,ie=E,oe=Ut.createBox(y,this.body);if(!oe)return null;oe.height||(oe.height=b.metrics.xHeight),oe.setStyle("vertical-align",-oe.height,"em"),this.correctness==="correct"?oe.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&oe.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const ce=new An(oe,{type:"ord"});ce.setStyle("display","inline-block"),ce.setStyle("height",oe.height+oe.depth,"em"),ce.setStyle("vertical-align",-ie,"em");let he="ML__prompt ";this.locked?he+=" ML__lockedPromptBox ":he+=" ML__editablePromptBox ",this.correctness==="correct"?he+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(he+=" ML__incorrectPromptBox "),this.containsCaret&&(he+=" ML__focusedPromptBox ");const pe=new An(null,{classes:he,attributes:{part:"prompt"}});pe.height=ce.height+ie,pe.depth=ce.depth+ie,pe.width=ce.width+2*ee,pe.setStyle("box-sizing","border-box"),pe.setStyle("position","absolute"),pe.setStyle("height",ce.height+ce.depth+2*ie,"em"),ee===0&&pe.setStyle("width","100%"),ee!==0&&(pe.setStyle("width",`calc(100% + ${2*ee}em)`),pe.setStyle("top",E,"em"),pe.setStyle("left",-ee,"em")),(!this.body||this.body.length===1)&&(pe.width=3*ee,pe.setStyle("width",`calc(100% + ${3*ee}em)`),pe.setStyle("left",-1.5*ee,"em"));let ve="";this.correctness==="incorrect"&&(ve+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),ve&&(pe.svgOverlay=ve);const De=new An([pe,ce],{classes:"ML__prompt-atom"});return De.setStyle("position","relative"),De.setStyle("display","inline-block"),De.setStyle("line-height",0),De.height=ce.height+ie+.2,De.depth=ce.depth+ie,De.left=ee,De.right=ee,De.setStyle("height",ce.height+ie,"em"),De.setStyle("top",ce.depth-ce.height,"em"),De.setStyle("vertical-align",ce.depth+ie,"em"),De.setStyle("margin-left",.5,"em"),De.setStyle("margin-right",.5,"em"),this.caret&&(De.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:De}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let ee="\\placeholder";return this.placeholderId&&(ee+=`[${this.placeholderId}]`),this.correctness==="correct"?ee+="[correct]":this.correctness==="incorrect"&&(ee+="[incorrect]"),this.locked&&(ee+="[locked]"),aa(ee,E)}},Hs=class _p extends Ut{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new _p(y);for(const E of Tu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new ur({parent:y,isPhantom:!0}),ee=this.leftSibling,ie=(b=ee.render(E))!=null?b:new An(null),oe=new An(null);return oe.height=ie.height,oe.depth=ie.depth,this.attachSupsub(y,{base:oe,isCharacterBox:ee.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function ao(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var lu=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,ee,ie,oe;b!=null||(b={}),this.tokens=a,this.context=y instanceof ur&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new ur({from:y,mathstyle:b.mathstyle},b.style),this.args=(E=b.args)!=null?E:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(ee=b.style)!=null?ee:{},parseMode:(ie=b.parseMode)!=null?ie:"math",mathstyle:(oe=b.mathstyle)!=null?oe:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const ee=this.parsingContext,ie={parent:ee,mathlist:[],style:we({},ee.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ee.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ee.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=ie}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(we({before:Al(this.tokens.slice(this.index,this.index+10)),after:Al(this.tokens.slice(Math.max(0,this.index-10),this.index))},a))}get mathlist(){return this.parsingContext.mathlist}set mathlist(a){this.parsingContext.mathlist=a}get parseMode(){return this.parsingContext.parseMode}set parseMode(a){this.parsingContext.parseMode=a}get tabularMode(){return this.parsingContext.tabular}get style(){let a=this.parsingContext;for(;a;){if(a.style)return we({},a.style);a=a.parent}return{}}set style(a){this.parsingContext.style=a}end(){return this.endCount++,this.index>=this.tokens.length||this.endCount>1e3}next(){this.index+=1}get(){return this.endCount=0,this.index<this.tokens.length?this.tokens[this.index++]:""}peek(){return this.tokens[this.index]}match(a){return this.tokens[this.index]===a?(this.index++,!0):!1}lastSubsupAtom(){let a;return this.mathlist.length>0&&(a=this.mathlist[this.mathlist.length-1],a.type==="subsup"||a.subsupPlacement!==void 0)||(a=new Hs({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=di(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?Bo(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new ci({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),E="";for(;!b;){const ie=this.get();ao(ie)?(E+=ie,b=this.end()||E.length>=a.length):b=!0}const ee=a.toUpperCase()===E.toUpperCase();return ee||(this.index=y),ee}scanString(){let a="";for(;!this.end();){const y=this.peek();if(y==="]")return a;if(y==="<space>")a+=" ";else if(y.startsWith("\\"))this.onError({code:"unexpected-command-in-string"}),a+=y.substring(1);else if(ao(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const E=this.get();E==="<space>"?a+=" ":E==="<{>"?(a+="{",b+=1):E==="<}>"?(b-=1,b>0?a+="}":this.index-=1):E==="<$>"?a+="$":E==="<$$>"?a+="$$":a+=E,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const E=this.get();E==="<}>"?(b-=1,b>0&&(y+="}")):E==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(E)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[E])!=null?a:E)}return y}scanNumber(a=!0){var y,b;let E=!1,ee=this.peek();for(;ee==="<space>"||ee==="+"||ee==="-";)this.get(),ee==="-"&&(E=!E),ee=this.peek();a=!!a;let ie=10,oe=/\d/;if(this.match("'"))ie=8,oe=/[0-7]/,a=!0;else if(this.match('"'))ie=16,oe=/[\dA-F]/,a=!0;else if(this.match("x"))ie=16,oe=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ee=this.get(),ee?ee.length===2&&ee.startsWith("\\")?{number:(E?-1:1)*((y=ee.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=ee.codePointAt(0))!=null?b:0),base:"alpha"}:null;let ce="";for(;this.hasPattern(oe);)ce+=this.get();if(!a&&(this.match(".")||this.match(",")))for(ce+=".";this.hasPattern(oe);)ce+=this.get();const he=a?Number.parseInt(ce,ie):Number.parseFloat(ce);return Number.isNaN(he)?null:{number:E?-he:he,base:ie===16?"hexadecimal":ie===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let E=!1;if(b===null)for(;;){const ie=this.peek();if(ie==="-")E=!E;else if(ie!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const ie=this.get();return ie.startsWith("\\")?b?{register:ie,global:!0,factor:(E?-1:1)*b.number}:E?{register:ie,global:!0,factor:-1}:{register:ie,global:!0}:(this.index=y,null)}let ee=this.get();return ee!=null&&ee.startsWith("\\")?(ee=ee.substring(1),this.context.registers[ee]?!E||b!==null?{register:ee,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ee}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const E=this.scanNumber();if(E)return E;if(this.end()||!ao(this.peek()))return null;const ee=this.scanString();return ee.length>0?{string:ee}:null}scanDimen(){const a=this.scanNumber(!1);if(a===null)return null;const y=a.number;this.skipWhitespace(),this.matchKeyword("true"),this.skipWhitespace();let b;return this.matchKeyword("pt")?b="pt":this.matchKeyword("mm")?b="mm":this.matchKeyword("cm")?b="cm":this.matchKeyword("ex")?b="ex":this.matchKeyword("px")?b="px":this.matchKeyword("em")?b="em":this.matchKeyword("bp")?b="bp":this.matchKeyword("dd")?b="dd":this.matchKeyword("pc")?b="pc":this.matchKeyword("in")?b="in":this.matchKeyword("mu")&&(b="mu"),b?{dimension:y,unit:b}:{dimension:y}}scanGlueOrDimen(){const a=this.scanDimen();if(a===null)return null;if(this.skipWhitespace(),this.match("\\relax"))return a;const y={glue:a};if(this.matchKeyword("plus")){const b=this.scanDimen();if(b)y.grow=b;else return y}if(this.skipWhitespace(),this.match("\\relax"))return y;if(this.skipWhitespace(),this.matchKeyword("minus")){const b=this.scanDimen();if(b)y.shrink=b;else return y}return!y.grow&&!y.shrink?a:y}scanColspec(){this.skipWhitespace();const a=[];for(;!this.end()&&!(this.peek()==="<}>"||this.peek()==="]");){const y=this.get();y==="c"||y==="r"||y==="l"?a.push({align:y}):y==="|"?a.push({separator:"solid"}):y===":"?a.push({separator:"dashed"}):y==="@"&&(this.match("<{>")&&(this.beginContext({mode:"math"}),a.push({gap:this.scan(b=>b==="<}>")}),this.endContext()),this.match("<}>")||this.onError({code:"unbalanced-braces"}))}return a}scanModeSet(){let a;if(this.match("\\(")&&(a="textstyle"),!a&&this.match("\\[")&&(a="displaystyle"),!a)return null;this.beginContext({mode:"math",mathstyle:a});const y=this.scan(b=>b===(a==="displaystyle"?"\\]":"\\)"));return this.match(a==="displaystyle"?"\\]":"\\)")||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanModeShift(){let a="";if(this.match("<$>")&&(a="<$>"),!a&&this.match("<$$>")&&(a="<$$>"),!a)return null;this.beginContext({mode:"math",mathstyle:"textstyle"});const y=this.scan(b=>b===a);return this.match(a)||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanEnvironment(){if(!this.match("\\begin"))return null;const a=this.scanArgument("string");if(!a)return null;const y=Lt(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const ce of y.params)if(ce.isOptional)b.push(this.scanOptionalArgument(ce.type));else{const he=this.scanArgument(ce.type);he||this.onError({code:"missing-argument",arg:a}),b.push(he)}this.beginContext({tabular:y.tabular});const E=[],ee=[];let ie=[],oe=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),oe=!0),!oe&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),oe=!0),!oe)if(this.matchColumnSeparator())ie.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){ie.push(this.mathlist),this.mathlist=[];let ce=null;this.skipWhitespace(),this.match("[")&&(ce=this.scanDimen(),this.skipWhitespace(),this.match("]")),ee.push(ce!=null?ce:{dimension:0}),E.push(ie),ie=[]}else this.mathlist.push(...this.scan(ce=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(ce)));while(!oe);return ie.push(this.mathlist),ie.length>0&&E.push(ie),this.endContext(),y.createAtom(a,E,ee,b)}scanExpression(){const a=this.mathlist;if(this.mathlist=[],this.parseExpression()){const y=this.mathlist;return this.mathlist=a,y}return this.mathlist=a,null}scan(a){this.beginContext(),a||(a=oe=>oe==="<}>");let y="",b=null,E=[],ee=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=di(y,"math"),b&&(E=this.scanArguments(b)[1]),ee=this.mathlist,this.mathlist=[]):this.parseExpression();let ie;return y?(console.assert(!!b),E.unshift(this.mathlist),ee&&E.unshift(ee),ie=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):ie=this.mathlist,this.endContext(),ie}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(E=>E==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new Lo(y,this.parseMode,this.style);return b.verbatimLatex=Al(this.tokens.slice(a,this.index)),b}scanSmartFence(){if(this.skipWhitespace(),!this.match("("))return null;this.beginContext();let a=1;for(;!this.end()&&a!==0;)this.match("(")&&(a+=1),this.match(")")&&(a-=1),a!==0&&this.parseExpression();const y=new Nr("",this.mathlist,{leftDelim:"(",rightDelim:a===0?")":"?"});return this.endContext(),y}scanDelim(){this.skipWhitespace();const a=this.peek();if(!a)return this.onError({code:"unexpected-end-of-string"}),null;if(!ao(a)&&!a.startsWith("\\"))return null;this.next();const y=di(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new cs("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new cs("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new cs(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const ee=(a=this.scanDelim())!=null?a:".";return new Nr(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:ee,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new Ut({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new Ut({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(Ue(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const E=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return E===null?!1:(E.explicitSubsupPlacement=!0,a&&(E.subsupPlacement="over-under"),y&&(E.subsupPlacement="adjacent"),b&&(E.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let E=a.infix?2:0;for(;E<a.params.length;){const ee=a.params[E];ee.type==="rest"?b.push(this.scan(ie=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(ie))):ee.isOptional?b.push(this.scanOptionalArgument(ee.type)):ee.type.endsWith("*")?y=ee.type.slice(0,-1):b.push(this.scanArgument(ee.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(ao(a)){const b=ms.createAtom(this.parseMode,a,we({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=di(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new cs(a)];if(b.definitionType==="symbol"){const E=we({},this.style);b.variant&&(E.variant=b.variant),y=new Ut({type:b.type,command:a,style:E,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new cs(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}return a==="balanced-string"||console.assert(!1),null}if(a==="text"){this.beginContext({mode:"text"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}return a==="string"?E=this.scanString():a==="balanced-string"?E=this.scanBalancedString():a==="colspec"?E=this.scanColspec():a==="value"&&(E=this.scanValue()),this.skipUntilToken("<}>"),E}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},E=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ee of E){const ie=ee.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(ie)b.padding={dimension:parseInt(ie[1]),unit:ie[2]};else{const oe=ee.match(/^\s*border\s*:\s*(.*)/);oe?b.border=oe[1]:b.backgroundcolor={string:ee}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,E;if(a==="\\placeholder"){const ce=this.scanOptionalArgument("string"),he=this.scanOptionalArgument("math"),pe=Ut.serialize(he,{defaultMode:"math"});let ve=[],De;!De&&pe==="correct"?De="correct":!De&&pe==="incorrect"?De="incorrect":pe!==""&&(ve=he);const Oe=this.scanOptionalArgument("string")==="locked",We=this.scanArgument("auto");let Ze;return We&&Array.isArray(We)&&We.length>0?Ze=We:We&&typeof We=="object"&&"group"in We?Ze=We.group:Ze=ve,ce?[new Dl(ce,De,Oe,Ze!=null?Ze:ve,{mode:this.parseMode,style:this.style})]:[new ci({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const ce=this.index,he=this.scanLiteralGroup()||this.next();if(!he)return null;if(this.context.registers[he.substring(1)]){const pe=this.scanArgument("string");pe!==null&&(this.context.registers[he.substring(1)]=pe);const ve=rr([a,Al(this.tokens.slice(ce,this.index))]);return[new Ut({type:"text",value:"",verbatimLatex:ve})]}}let ee=this.scanMacro(a);if(ee)return[ee];const ie=di(a,this.parseMode);if(!ie)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(ce=>new Ut({type:"text",value:ce,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new cs(a)]);const oe=this.index;if(ie.definitionType==="symbol"){const ce=we({},this.style);ie.variant&&(ce.variant=ie.variant),ee=new Ut({type:ie.type,command:a,style:ce,value:String.fromCodePoint(ie.codepoint),mode:this.parseMode})}else{if(ie.ifMode&&!ie.ifMode.includes(this.parseMode))return[];const ce=this.parseMode;ie.applyMode&&(this.parseMode=ie.applyMode);let he,pe=[];if(ie.parse?pe=ie.parse(this):[he,pe]=this.scanArguments(ie),this.parseMode=ce,ie.applyMode&&!ie.applyStyle&&!ie.createAtom)return Ue(pe[0]);if(ie.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof ie.createAtom=="function")ee=ie.createAtom({command:a,args:pe,style:this.style,mode:this.parseMode}),he&&(ee.body=Ue(this.scanArgument(he)));else if(typeof ie.applyStyle=="function"){const ve=we(we({},this.style),ie.applyStyle(a,pe,this.context)),De=this.parseMode;if(ie.applyMode&&(this.parseMode=ie.applyMode),he){const Oe=this.style;this.style=ve;const We=this.scanArgument(he);return this.style=Oe,this.parseMode=De,Ue(We)}this.style=ve}else ee=new Ut({type:"mord",command:(b=ie.command)!=null?b:a,style:we({},this.style),value:a,mode:(E=ie.applyMode)!=null?E:this.parseMode})}if(!ee)return null;if(ee instanceof Ut&&ee.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const ce=rr([a,Al(this.tokens.slice(oe,this.index))]);ce&&(ee.verbatimLatex=ce)}if(ee.verbatimLatex===null&&(ee.verbatimLatex=void 0),ee.isFunction&&this.smartFence){const ce=this.scanSmartFence();if(ce)return[ee,ce]}return[ee]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(ao(a)){const y=ms.createAtom(this.parseMode,a,we({},this.style));if(!y)return null;if(y.isFunction&&this.smartFence){const b=this.scanSmartFence();if(b)return[y,b]}return[y]}return a.startsWith("\\")?this.scanSymbolOrCommand(a):a==="<space>"?this.parseMode==="text"?[new rl(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const E=this.index,ee=b.args,ie={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let oe=1;oe<=ee;oe++){let ce=this.scanLiteralGroup();if(!ce){const he=this.index;this.scanExpression(),ce=Al(this.tokens.slice(he,this.index))}ie[oe]=ce}return new Pc(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:Al(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Bo(b.def,{context:this.context,parseMode:this.parseMode,args:oe=>ie[oe],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let ee=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(ee===null){if(this.parseSupSub()||this.parseLimits())return!0;ee=this.scanSymbolCommandOrLiteral()}return ee?(Array.isArray(ee)?this.mathlist.push(...ee):this.mathlist.push(ee),!0):!1}};function Bo(a,y){var b,E,ee,ie;const oe=(b=y==null?void 0:y.args)!=null?b:void 0,ce=new lu(tl(a,oe),y==null?void 0:y.context,{args:oe,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(ee=y==null?void 0:y.parseMode)!=null?ee:"math",style:(ie=y==null?void 0:y.style)!=null?ie:{}}),he=[];for(;!ce.end();)he.push(...ce.scan(()=>!1));return he}function ef(a,y){var b;const E=new lu(tl(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!E.end();)E.scan();return E.errors}var tf=class jp extends Ut{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=Aa.go(pn.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Bo(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new jp(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return Me(we({},super.toJson()),{arg:this.arg})}render(y){const b=Ut.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};It(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new tf(a.command,(y=a.args[0])!=null?y:"")}});var pn={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",E={};E.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var ee,ie=10,oe=[];;){ee!==a?(ie=10,ee=a):ie--;var ce=pn.stateMachines[y],he=ce.transitions[b]||ce.transitions["*"];e:for(var pe=0;pe<he.length;pe++){var ve=pn.patterns.match_(he[pe].pattern,a);if(ve){for(var De=he[pe].task,Oe=0;Oe<De.action_.length;Oe++){var We;if(ce.actions[De.action_[Oe].type_])We=ce.actions[De.action_[Oe].type_](E,ve.match_,De.action_[Oe].option);else if(pn.actions[De.action_[Oe].type_])We=pn.actions[De.action_[Oe].type_](E,ve.match_,De.action_[Oe].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+De.action_[Oe].type_+")"];pn.concatArray(oe,We)}if(b=De.nextState||b,a.length>0){if(De.revisit||(a=ve.remainder),!De.toContinue)break e}else return oe}}if(ie<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,y){if(y)if(Object.prototype.toString.call(y)==="[object Array]")for(var b=0;b<y.length;b++)a.push(y[b]);else a.push(y)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:(?:([eE])|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"(-)(9)^(-9)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"state of aggregation $":function(a){var y=pn.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(y&&y.remainder.match(/^($|[\s,;\)\]\}])/))return y;var b=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return b?{match_:b[0],remainder:a.substr(b[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return pn.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return pn.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return pn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return pn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return pn.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return pn.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return pn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return pn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return pn.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return pn.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return pn.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return pn.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return pn.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return pn.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return pn.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return pn.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return pn.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return pn.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return pn.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return pn.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var y;if(y=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),y)return{match_:y[0],remainder:a.substr(y[0].length)};var b=pn.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,E,ee,ie,oe,ce,he,pe){var ve=function(St,tn){if(typeof tn=="string")return St.indexOf(tn)!==0?null:tn;var Mn=St.match(tn);return Mn?Mn[0]:null},De=function(St,tn,Mn){for(var cn=0;tn<St.length;){var Vn=St.charAt(tn),ui=ve(St.substr(tn),Mn);if(ui!==null&&cn===0)return{endMatchBegin:tn,endMatchEnd:tn+ui.length};if(Vn==="{")cn++;else if(Vn==="}"){if(cn===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];cn--}tn++}return cn>0,null},Oe=ve(a,y);if(Oe===null||(a=a.substr(Oe.length),Oe=ve(a,b),Oe===null))return null;var We=De(a,Oe.length,E||ee);if(We===null)return null;var Ze=a.substring(0,E?We.endMatchEnd:We.endMatchBegin);if(ie||oe){var Dt=this.findObserveGroups(a.substr(We.endMatchEnd),ie,oe,ce,he);if(Dt===null)return null;var xn=[Ze,Dt.match_];return{match_:pe?xn.join(""):xn,remainder:Dt.remainder}}else return{match_:Ze,remainder:a.substr(We.endMatchEnd)}},match_:function(a,y){var b=pn.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return pn.patterns.patterns[a](y);var E=y.match(b);if(E){var ee;return E[2]?ee=[E[1],E[2]]:E[1]?ee=E[1]:ee=E[0],{match_:ee,remainder:y.substr(E[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return pn.go(y,"text")},"{text}":function(a,y){var b=["{"];return pn.concatArray(b,pn.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return pn.go(y,"tex-math")},"tex-math tight":function(a,y){return pn.go(y,"tex-math tight")},bond:function(a,y,b){return{type_:"bond",kind_:b||y}},"color0-output":function(a,y){return{type_:"color0",color:y[0]}},ce:function(a,y){return pn.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var E=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return E[1]=E[1].replace(/\$/g,""),b.push({type_:"frac",p1:E[1],p2:E[2]}),E[3]&&(E[3]=E[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:E[3]})),b},"9,9":function(a,y){return pn.go(y,"9,9")}},createTransitions:function(a){var y,b,E,ee,ie={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,ee=0;ee<E.length;ee++)ie[E[ee]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],ee=0;ee<E.length;ee++){var oe=a[y][b];if(oe.action_){oe.action_=[].concat(oe.action_);for(var ce=0;ce<oe.action_.length;ce++)typeof oe.action_[ce]=="string"&&(oe.action_[ce]={type_:oe.action_[ce]})}else oe.action_=[];for(var he=y.split("|"),pe=0;pe<he.length;pe++)if(E[ee]==="*")for(var ve in ie)ie[ve].push({pattern:he[pe],task:oe});else ie[E[ee]].push({pattern:he[pe],task:oe})}return ie},stateMachines:{}};pn.stateMachines={ce:{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var E=a.d;a.d=void 0,b=this.output(a),a.b=E}else b=this.output(a);return pn.actions["o="](a,y),b},"d= kv":function(a,y){a.d=y,a.dType="kv"},"charge or bond":function(a,y){if(a.beginsWithBond){var b=[];return pn.concatArray(b,this.output(a)),pn.concatArray(b,pn.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=pn.patterns.match_("orbital",a.o||""),ee=pn.patterns.match_("one lowercase greek letter $",a.o||""),ie=pn.patterns.match_("one lowercase latin letter $",a.o||""),oe=pn.patterns.match_("$one lowercase latin letter$ $",a.o||""),ce=y==="-"&&(E&&E.remainder===""||ee||ie||oe);ce&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&ie&&(a.o="$"+a.o+"$");var he=[];return ce?(pn.concatArray(he,this.output(a)),he.push({type_:"hyphen"})):(E=pn.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(pn.concatArray(he,pn.actions["d="](a,y)),pn.concatArray(he,this.output(a))):(pn.concatArray(he,this.output(a)),pn.concatArray(he,pn.actions.bond(a,y,"-")))),he},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,y){return{type_:"state of aggregation",p1:pn.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),E=b!==y;return E&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var E;if(!a.r)E=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&E.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&pn.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),E.push({type_:"chemfive",a:pn.go(a.a,"a"),b:pn.go(a.b,"bd"),p:pn.go(a.p,"pq"),o:pn.go(a.o,"o"),q:pn.go(a.q,"pq"),d:pn.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ee;a.rdt==="M"?ee=pn.go(a.rd,"tex-math"):a.rdt==="T"?ee=[{type_:"text",p1:a.rd||""}]:ee=pn.go(a.rd);var ie;a.rqt==="M"?ie=pn.go(a.rq,"tex-math"):a.rqt==="T"?ie=[{type_:"text",p1:a.rq||""}]:ie=pn.go(a.rq),E={type_:"arrow",r:a.r,rd:ee,rq:ie}}for(var oe in a)oe!=="parenthesisLevel"&&oe!=="beginsWithBond"&&delete a[oe];return E},"oxidation-output":function(a,y){var b=["{"];return pn.concatArray(b,pn.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:pn.go(y[0]),p2:pn.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:pn.go(y[0]),p2:pn.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:pn.go(y[0]),p2:pn.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:pn.go(y[0]),p2:pn.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:pn.go(y[1])}},"r=":function(a,y){a.r=y},"rdt=":function(a,y){a.rdt=y},"rd=":function(a,y){a.rd=y},"rqt=":function(a,y){a.rqt=y},"rq=":function(a,y){a.rq=y},operator:function(a,y,b){return{type_:"operator",kind_:b||y}}}},a:{transitions:pn.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:pn.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var y={type_:"text",p1:a.text_};for(var b in a)delete a[b];return y}}}},pq:{transitions:pn.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,y){return{type_:"state of aggregation subscript",p1:pn.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:pn.go(y[1],"pq")}}}},bd:{transitions:pn.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,y){return{type_:"color",color1:y[0],color2:pn.go(y[1],"bd")}}}},oxidation:{transitions:pn.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,y){return{type_:"roman numeral",p1:y||""}}}},"tex-math":{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"tex-math tight":{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,y){a.o=(a.o||"")+"{"+y+"}"},output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"9,9":{transitions:pn.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),y[1]&&(pn.concatArray(b,pn.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?pn.concatArray(b,pn.go(y[2],"pu-9,9")):b.push(y[2])),(y[3]||y[4])&&(y[3]==="e"||y[4]==="*"?b.push({type_:"cdot"}):b.push({type_:"times"}))),y[5]&&b.push("10^{"+y[5]+"}"),b},"number^":function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),pn.concatArray(b,pn.go(y[1],"pu-9,9")),b.push("^{"+y[2]+"}"),b},operator:function(a,y,b){return{type_:"operator",kind_:b||y}},space:function(){return{type_:"pu-space-1"}},output:function(a){var y,b=pn.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=pn.patterns.match_("{(...)}",a.q||"");if(E&&E.remainder===""&&(a.q=E.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var ee={d:pn.go(a.d,"pu"),q:pn.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ee.d,p2:ee.q}:(y=ee.d,ee.d.length>1||ee.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),pn.concatArray(y,ee.q))}else y=pn.go(a.d,"pu-2");for(var ie in a)delete a[ie];return y}}},"pu-2":{transitions:pn.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,y){a.rm+="^{"+y+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var y=[];if(a.rm){var b=pn.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=pn.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:pn.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var E=a.text_.length-3;E>0;E-=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var ee in a)delete a[ee];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,E=0;E<b;E+=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(E))}else y.push(a.text_);for(var ee in a)delete a[ee];return y}}}};var Aa={go:function(a,y){if(!a)return"";for(var b="",E=!1,ee=0;ee<a.length;ee++){var ie=a[ee];typeof ie=="string"?b+=ie:(b+=Aa._go2(ie),ie.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&Aa.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:Aa._goInner(a.a),b:Aa._goInner(a.b),p:Aa._goInner(a.p),o:Aa._goInner(a.o),q:Aa._goInner(a.q),d:Aa._goInner(a.d)};b.a&&(b.a.match(/^[+\-]/)&&(b.a="{"+b.a+"}"),y+=b.a+"\\,"),(b.b||b.p)&&(y+="{\\vphantom{X}}",y+="^{\\hphantom{"+(b.b||"")+"}}_{\\hphantom{"+(b.p||"")+"}}",y+="{\\vphantom{X}}",y+="^{\\smash[t]{\\vphantom{2}}\\llap{"+(b.b||"")+"}}",y+="_{\\vphantom{2}\\llap{\\smash[t]{"+(b.p||"")+"}}}"),b.o&&(b.o.match(/^[+\-]/)&&(b.o="{"+b.o+"}"),y+=b.o),a.dType==="kv"?((b.d||b.q)&&(y+="{\\vphantom{X}}"),b.d&&(y+="^{"+b.d+"}"),b.q&&(y+="_{\\smash[t]{"+b.q+"}}")):a.dType==="oxidation"?(b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"),b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}")):(b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}"),b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"));break;case"rm":y="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),y="\\mathrm{"+a.p1+"}"):y="\\text{"+a.p1+"}";break;case"roman numeral":y="\\mathrm{"+a.p1+"}";break;case"state of aggregation":y="\\mskip2mu "+Aa._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+Aa._goInner(a.p1);break;case"bond":if(y=Aa._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var E="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+E+"}{"+E+"}{"+E+"}{"+E+"}";break;case"pu-frac":var ee="\\frac{"+Aa._goInner(a.p1)+"}{"+Aa._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ee+"}{"+ee+"}{"+ee+"}{"+ee+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+Aa._goInner(a.p1)+"}{"+Aa._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+Aa._goInner(a.p1)+"}{"+Aa._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+Aa._goInner(a.p1)+"}{"+Aa._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+Aa._goInner(a.p1)+"}_{"+Aa._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+Aa._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var ie={rd:Aa._goInner(a.rd),rq:Aa._goInner(a.rq)},oe=Aa._getArrow(a.r);ie.rd||ie.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(oe="\\long"+oe,ie.rd&&(oe="\\overset{"+ie.rd+"}{"+oe+"}"),ie.rq&&(a.r==="<-->"?oe="\\underset{\\lower2mu{"+ie.rq+"}}{"+oe+"}":oe="\\underset{\\lower6mu{"+ie.rq+"}}{"+oe+"}"),oe=" {}\\mathrel{"+oe+"}{} "):(ie.rq&&(oe+="[{"+ie.rq+"}]"),oe+="{"+ie.rd+"}",oe=" {}\\mathrel{\\x"+oe+"}{} "):oe=" {}\\mathrel{\\long"+oe+"}{} ",y=oe;break;case"operator":y=Aa._getOperator(a.kind_);break;case"1st-level escape":y=a.p1+" ";break;case"space":y=" ";break;case"entitySkip":y="~";break;case"pu-space-1":y="~";break;case"pu-space-2":y="\\mkern3mu ";break;case"1000 separator":y="\\mkern2mu ";break;case"commaDecimal":y="{,}";break;case"comma enumeration L":y="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":y="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":y="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":y="\\text{-}";break;case"addition compound":y="\\,{\\cdot}\\,";break;case"electron dot":y="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":y="{\\times}";break;case"prime":y="\\prime ";break;case"cdot":y="\\cdot ";break;case"tight cdot":y="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":y="\\times ";break;case"circa":y="{\\sim}";break;case"^":y="uparrow";break;case"v":y="downarrow";break;case"ellipsis":y="\\ldots ";break;case"/":y="/";break;case" / ":y="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return y},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"\u2192":return"rightarrow";case"\u27F6":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"leftrightarrows";case"<=>":return"rightleftharpoons";case"\u21CC":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function Sv(a){}function Cv(a){}var nf=class Rp extends Ut{constructor(y){super(Me(we({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Rp(y)}toJson(){return Me(we({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new An(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):aa(this.command,this.value)}},rf=class Hp extends Ut{constructor(y){super(Me(we({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Hp(y)}toJson(){return Me(we({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=At(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):aa(this.command,this.value)}},Ed=class Wp extends Ut{constructor(y,b,E,ee){var ie,oe;super({type:"enclose",command:y,style:ee.style}),this.body=b,this.backgroundcolor=ee.backgroundcolor,E.updiagonalarrow&&(E.updiagonalstrike=!1),E.box&&(E.left=!1,E.right=!1,E.bottom=!1,E.top=!1),this.notation=E,this.shadow=(ie=ee.shadow)!=null?ie:"none",this.strokeWidth=(oe=ee.strokeWidth)!=null?oe:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ee.strokeStyle,this.svgStrokeStyle=ee.svgStrokeStyle,this.strokeColor=ee.strokeColor,this.borderStyle=ee.borderStyle,this.padding=ee.padding,this.captureSelection=!1}static fromJson(y){return new Wp(y.command,y.body,y.notation,y)}toJson(){return Me(we({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=di(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let ee=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ee+="{"+Object.keys(this.notation).join(" ")+"}";let ie="",oe="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(ie+=oe+'mathbackground="'+this.backgroundcolor+'"',oe=","),this.shadow&&this.shadow!=="auto"&&(ie+=oe+'shadow="'+this.shadow+'"',oe=","),this.strokeWidth||this.strokeStyle!=="solid"?(ie+=oe+this.borderStyle,oe=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(ie+=oe+'mathcolor="'+this.strokeColor+'"',oe=","),ie&&(ee+=`[${ie}]`)}return aa(ee,this.bodyToLatex(y))}render(y){const b=new ur({parent:y},this.style),E=Ut.createBox(b,this.body);if(!E)return null;const ee=rm(this.borderStyle),ie=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",ie,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const oe=new An(null,{classes:"ML__notation"});let ce=E.height+E.depth+2*ie;const he=E.width+2*ie;let pe="";if(this.notation.horizontalstrike&&(pe+=this.line(3,50,97,50)),this.notation.verticalstrike&&(pe+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(pe+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(pe+=this.line(3,3,97,97)),this.notation.updiagonalarrow){pe+=this.line(ie.toString(),(ie+E.depth+E.height).toString(),(ie+E.width).toString(),ie.toString());const Ze=.03*Math.sqrt(he*he+ce*ce)*1,Dt=E.width*Ze,xn=(E.depth+E.height)*Ze,St=ie+E.width;let tn=ie;tn+xn-.4*Dt<0&&(tn=.4*Dt-xn),pe+='<polygon points="',pe+=`${St},${tn} ${St-Dt-.4*xn},${tn+xn-.4*Dt} `,pe+=`${St-.7*Dt},${tn+.7*xn} ${St-Dt+.4*xn},${tn+xn+.4*Dt} `,pe+=`${St},${tn}`,pe+=`" stroke='none' fill="${this.strokeColor}"`,pe+="/>"}let ve=0;if(this.notation.phasorangle){const Oe=af(b),We=(E.height+E.depth+2*Oe+ie).toString(),Ze=(E.height+E.depth)/2;pe+=this.line(ie.toString(),We,(ie+Ze+E.width).toString(),We),pe+=this.line(ie.toString(),We,(ie+Ze).toString(),(ie-Oe).toString()),ce+=Oe,ve=Ze,E.left+=ce/2-ie}if(this.notation.longdiv){const Oe=af(b);ce+=Oe,pe+=this.line(ie.toString(),ie.toString(),(ie+E.width).toString(),ie.toString());const We=.3;ve=We+Oe,E.left+=We+Oe,E.setTop(ie+Oe),pe+='<path d="',pe+=`M ${ie} ${ie} a${We} ${(E.depth+E.height+2*Oe)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*Oe} "`,pe+=` stroke-width="${am(b)}" stroke="${this.strokeColor}" fill="none"`,pe+="/>"}if(oe.width=E.width+2*ie+ve,oe.height=E.height+ie,oe.depth=E.depth+ie,oe.setStyle("box-sizing","border-box"),oe.setStyle("left",`calc(-${ee} / 2 )`),oe.setStyle("height",`${Math.floor(100*ce)/100}em`),oe.setStyle("top",`calc(${ee} / 2 )`),this.backgroundcolor&&oe.setStyle("background-color",this.backgroundcolor),this.notation.box&&oe.setStyle("border","1px solid red"),this.notation.actuarial&&(oe.setStyle("border-top",this.borderStyle),oe.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(oe.setStyle("border-bottom",this.borderStyle),oe.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(oe.setStyle("border-radius","8px"),oe.setStyle("border",this.borderStyle)),this.notation.circle&&(oe.setStyle("border-radius","50%"),oe.setStyle("border",this.borderStyle)),this.notation.top&&oe.setStyle("border-top",this.borderStyle),this.notation.left&&oe.setStyle("border-left",this.borderStyle),this.notation.right&&oe.setStyle("border-right",this.borderStyle),this.notation.bottom&&oe.setStyle("border-bottom",this.borderStyle),pe){let Oe="";this.shadow==="auto"&&(Oe+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(Oe+=`filter: drop-shadow(${this.shadow})`),Oe+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,Oe+=' stroke-linecap="round"',this.svgStrokeStyle&&(Oe+=` stroke-dasharray="${this.svgStrokeStyle}"`),oe.svgStyle=Oe,oe.svgOverlay=pe}const De=new An([oe,E]);return De.setStyle("position","relative"),De.setStyle("vertical-align",ie,"em"),De.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*ie))/100}em`),De.setStyle("display","inline-block"),De.height=oe.height,De.depth=oe.depth,De.width=oe.width-2*ie,De.left=ie,De.right=ie,this.caret&&(De.caret=this.caret),De.wrap(b)}line(y,b,E,ee){return`<line x1="${y0(y)}" y1="${y0(b)}" x2="${y0(E)}" y2="${y0(ee)}" vector-effect="non-scaling-stroke"></line>`}};function y0(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function rm(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function am(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function af(a){const y=a.isDisplayStyle?$s:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var zc=class Kp extends Ut{constructor(y,b,E){var ee,ie;super(Me(we({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ee=E==null?void 0:E.hasBarLine)!=null?ee:!0,this.continuousFraction=(ie=E==null?void 0:E.continuousFraction)!=null?ie:!1,this.numerPrefix=E==null?void 0:E.numerPrefix,this.denomPrefix=E==null?void 0:E.denomPrefix,this.mathstyleName=E==null?void 0:E.mathstyleName,this.leftDelim=E==null?void 0:E.leftDelim,this.rightDelim=E==null?void 0:E.rightDelim,this.fractionNavigationOrder=E==null?void 0:E.fractionNavigationOrder}static fromJson(y){return new Kp(y.above,y.below,y)}toJson(){const y={};return this.continuousFraction&&(y.continuousFraction=!0),this.numerPrefix&&(y.numerPrefix=this.numerPrefix),this.denomPrefix&&(y.denomPrefix=this.denomPrefix),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),this.hasBarLine||(y.hasBarLine=!1),this.mathstyleName&&(y.mathstyleName=this.mathstyleName),this.fractionNavigationOrder&&(y.fractionNavigationOrder=this.fractionNavigationOrder),we(we({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,E;const ee=new ur({parent:y,mathstyle:this.mathstyleName},this.style),ie=ee.metrics,oe=new ur({parent:ee,mathstyle:this.continuousFraction?"":"numerator"},this.style),ce=this.numerPrefix?new An([new An(this.numerPrefix),Ut.createBox(oe,this.above)],{isTight:oe.isTight,type:"ignore"}):(b=Ut.createBox(oe,this.above,{type:"ignore"}))!=null?b:new An(null,{type:"ignore"}),he=new ur({parent:ee,mathstyle:this.continuousFraction?"":"denominator"},this.style),pe=this.denomPrefix?new An([new An(this.denomPrefix),Ut.createBox(he,this.below,{type:"ignore"})]):(E=Ut.createBox(he,this.below,{type:"ignore"}))!=null?E:new An(null,{type:"ignore"}),ve=this.hasBarLine?ie.defaultRuleThickness:0;let De,Oe=0,We;ee.isDisplayStyle?(De=oe.metrics.num1,Oe=ve>0?3*ve:7*ve,We=he.metrics.denom1):(ve>0?(De=oe.metrics.num2,Oe=ve):(De=oe.metrics.num3,Oe=3*ie.defaultRuleThickness),We=he.metrics.denom2);const Ze=[];this.isSelected&&Ze.push("ML__selected");const Dt=ce.depth,xn=pe.height;let St;if(ve<=0){const ni=De-Dt-(xn-We);ni<Oe&&(De+=(Oe-ni)/2,We+=(Oe-ni)/2),St=new Vr({individualShift:[{box:ce,shift:-De,classes:[...Ze,"ML__center"]},{box:pe,shift:We,classes:[...Ze,"ML__center"]}]}).wrap(ee)}else{const ni=new An(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});ni.softWidth=Math.max(ce.width,pe.width),ni.height=ve/2,ni.depth=ve/2;const fr=Uo+ve/2;De<Oe+Dt+fr&&(De=Oe+Dt+fr);const Ur=Uo-ve/2;We<Oe+xn-Ur&&(We=Oe+xn-Ur),St=new Vr({individualShift:[{box:pe,shift:We,classes:[...Ze,"ML__center"]},{box:ni,shift:-Ur,classes:Ze},{box:ce,shift:-De,classes:[...Ze,"ML__center"]}]}).wrap(ee)}const tn=ee.isDisplayStyle?ie.delim1:ie.delim2,Mn=this.leftDelim?this.bind(y,Wn("open",this.leftDelim,tn,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Un(ee,"open");let cn=null;this.continuousFraction?cn=new An(null,{type:"close"}):this.rightDelim?cn=this.bind(y,Wn("close",this.rightDelim,tn,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):cn=Un(ee,"close");const Vn=new An([Mn,St,cn],{isTight:ee.isTight,type:"inner",classes:"mfrac"}),ui=this.bind(y,Vn);return this.caret&&(ui.caret=this.caret),this.attachSupsub(y,{base:ui})}},jo=class Up extends Ut{constructor(y,b){var E;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(E=b==null?void 0:b.isSuggestion)!=null?E:!1,this.isError=!1}static fromJson(y){const b=new Up(y.value);return y.isSuggestion&&(b.isSuggestion=!0),y.isError&&(b.isError=!0),b}toJson(){const y={};return this.isSuggestion&&(y.isSuggestion=!0),this.isError&&(y.isError=!0),we({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new An(this.value,{classes:this.isSuggestion?"ML__suggestion":this.isError?"ML__error":"",type:"latex",maxFontSize:1});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Md=class Qp extends Ut{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new jo(b)),this.skipBoundary=!1}static fromJson(y){return new Qp("")}toJson(){return super.toJson()}render(y){const b=Ut.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,E;return(E=(b=this.body)==null?void 0:b.map(ee=>ee.value).join(""))!=null?E:""}},dh=class Gp extends Ut{constructor(y,b){super(Me(we({},b),{type:"extensible-symbol",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new Gp(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const E=y.isDisplayStyle&&this.value!=="\\smallint",ee=new An(this.value,{fontFamily:E?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(E?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!ee)return null;ee.right=ee.italic;const ie=(ee.height-ee.depth)/2-Uo*y.scalingFactor,oe=ee.italic;ee.setTop(ie);let ce=ee;if(this.superscript||this.subscript){const he=(b=this.subsupPlacement)!=null?b:"auto";ce=he==="over-under"||he==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ee,baseShift:ie,slant:oe}):this.attachSupsub(y,{base:ee})}return new An(this.bind(y,ce),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[];return E.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),rr(E)}},ic=class Vp extends Ut{constructor(y){const b=y.body;super(Me(we({},y),{type:"overlap",body:typeof b=="string"?[new Ut({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new Vp(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),we(we({},super.toJson()),y)}render(y){const b=Ut.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new An([b,new An(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},Ws=class Yp extends Ut{constructor(y){var b,E,ee,ie;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(E=y.boxType)!=null?E:"ord",this.paddedBody=(ee=y.paddedBody)!=null?ee:!1,this.paddedLabels=(ie=y.paddedLabels)!=null?ie:!1}static fromJson(y){return new Yp(y)}toJson(){const y=super.toJson();return this.skipBoundary||(y.skipBoundary=!1),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.svgAbove&&(y.svgAbove=this.svgAbove),this.svgBelow&&(y.svgBelow=this.svgBelow),this.svgBody&&(y.svgBody=this.svgBody),this.boxType!=="ord"&&(y.boxType=this.boxType),this.paddedBody&&(y.paddedBody=!0),this.paddedLabels&&(y.paddedLabels=!0),y}render(y){let b=this.svgBody?Bs(this.svgBody):Ut.createBox(y,this.body,{type:"ignore"});const E=new ur({parent:y,mathstyle:"scriptstyle"},this.style);let ee=null;this.svgAbove?ee=Bs(this.svgAbove):this.above&&(ee=Ut.createBox(E,this.above,{type:"ignore"}));let ie=null;this.svgBelow?ie=Bs(this.svgBelow):this.below&&(ie=Ut.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new An([Un(y,"open"),b,Un(y,"close")],{type:"ignore"}));let oe=om(y,{base:b,above:ee,below:ie,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return oe?(this.subsupPlacement==="over-under"?oe=this.attachLimits(y,{base:oe,type:oe.type}):oe=this.attachSupsub(y,{base:oe}),this.caret&&(oe.caret=this.caret),this.bind(y,oe)):null}};function om(a,y){if(!y.base)return null;if(!y.above&&!y.below){const ce=new An(y.base,{type:y.type});return ce.setStyle("position","relative"),ce}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const ee=y.base,ie=0,oe=["ML__center"];if(y.paddedAboveBelow&&oe.push("ML__label_padding"),y.below&&y.above){const ce=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ee.depth+ie;E=new Vr({bottom:ce,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:oe},{box:ee,classes:["ML__center"]},b,{box:y.above,classes:oe},a.metrics.bigOpSpacing5]})}else y.below?E=new Vr({top:ee.height-ie,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:oe},{box:ee,classes:["ML__center"]}]}):y.above&&(E=new Vr({bottom:ee.depth+ie,children:[{box:ee,classes:["ML__center"]},b,{box:y.above,classes:oe},a.metrics.bigOpSpacing5]}));return new An(E,{type:y.type})}var Sd=class Zp extends Ut{constructor(y){var b,E,ee,ie;super(Me(we({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(ee=y.smashHeight)!=null?ee:!1,this.smashWidth=(ie=y.smashWidth)!=null?ie:!1}static fromJson(y){return new Zp(y)}toJson(){const y={};return this.isInvisible&&(y.isInvisible=!0),this.smashDepth&&(y.smashDepth=!0),this.smashHeight&&(y.smashHeight=!0),this.smashWidth&&(y.smashWidth=!0),we(we({},super.toJson()),y)}render(y){const b=new ur({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),Ut.createBox(b,this.body,{classes:"inner"});const E=Ut.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const ee=new An(null,{classes:"fix"});return new An([E,ee],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return E;if(this.smashHeight&&(E.height=0),this.smashDepth&&(E.depth=0),E.children)for(const ee of E.children)this.smashHeight&&(ee.height=0),this.smashDepth&&(ee.depth=0);return new Vr({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},Cd=class Jp extends Ut{constructor(y){var b;super(we({type:"spacing"},y)),this.width=y==null?void 0:y.width,this._braced=(b=y==null?void 0:y.braced)!=null?b:!1}static fromJson(y){return new Jp(y)}toJson(){const y=super.toJson();return this.width!==void 0&&(y.width=this.width),this._braced&&(y.braced=!0),y}render(y){var b;if(this.command==="space")return new An(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new An(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const ee=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new An(null,{classes:ee})}return E=this.bind(y,E),this.caret&&(E.caret=this.caret),E}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=di(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const ee=(b=this.command)!=null?b:"";return this.width===void 0?ee:this._braced&&!("register"in this.width)?`${ee}{${io(this.width)}}`:`${ee}${io(this.width)}`}},of=class qp extends Ut{constructor(y){var b;super(Me(we({},y),{type:"surd",mode:(b=y.mode)!=null?b:"math",style:y.style,displayContainsHighlight:!0,body:y.body})),this.above=y.index}static fromJson(y){return new qp(Me(we({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,ee=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?aa(`${E}[${this.aboveToLatex(y)}]`,ee):/^[0-9]$/.test(ee)?`${E}${ee}`:aa(E,ee)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const E=new ur({parent:y,mathstyle:"cramp"},this.style),ee=(b=Ut.createBox(E,this.body,{type:"inner"}))!=null?b:new An(null),ie=E.scalingFactor,oe=E.metrics.defaultRuleThickness/ie,ce=y.isDisplayStyle?$s:oe,he=new An(null,{classes:"ML__sqrt-line",style:this.style});he.height=oe,he.softWidth=ee.width;let pe=ie*(oe+ce/4);const De=Math.max(ie*2*ce,ee.height+ee.depth)+pe+oe,Oe=new ur({parent:y},this.style),We=this.bind(Oe,new An(Wn("inner","\\surd",De,!1,Oe,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!We)return null;const Ze=We.height+We.depth-oe;Ze>ee.height+ee.depth+pe&&(pe=(pe+Ze-(ee.height+ee.depth))/2),We.setTop(We.height-ee.height-pe);const Dt=this.bind(y,new Vr({firstBaseline:[{box:new An(ee)},pe-2*oe,{box:he},oe]})),xn=Ut.createBox(new ur({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!xn){const Mn=new An([We,Dt],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return Mn.setStyle("display","inline-block"),Mn.setStyle("height",Mn.height+Mn.depth,"em"),this.caret&&(Mn.caret=this.caret),this.bind(y,Mn)}const St=new Vr({shift:-.6*(Math.max(We.height,Dt.height)-Math.max(We.depth,Dt.depth)),children:[{box:xn}]}),tn=new An([new An(St,{classes:"ML__sqrt-index",type:"ignore"}),We,Dt],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return tn.height=We.height,tn.depth=We.depth,this.caret&&(tn.caret=this.caret),this.bind(y,tn)}},sm=class extends An{constructor(a){super(null,{type:"skip"}),this._width=a}toMarkup(){return`<span style="display:inline-block;width:${Math.ceil(this.width*100)/100}em"></span>`}};function b0(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let ee=E-1;for(;ee>=0&&b[ee].type==="ignore";)ee-=1;if(ee<0&&a.parent.parent&&a.parent.type==="lift"){b0(a.parent,y);return}E>0&&b[E-1].type==="skip"?b[E-1].width+=y:b.splice(E,0,new sm(y))}var lm={ord:{op:3,bin:4,rel:5,inner:3},op:{ord:3,op:3,rel:5,inner:3},bin:{ord:4,op:4,open:4,inner:4},rel:{ord:5,op:5,open:5,inner:5},close:{op:3,bin:4,rel:5,inner:3},punct:{ord:3,op:3,rel:3,open:3,punct:3,inner:3},inner:{ord:3,op:3,bin:4,rel:5,open:3,punct:3,inner:3}},um={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function cm(a){Dd(a,(y,b)=>{b.type==="bin"&&(!y||/^(middle|bin|op|rel|open|punct)$/.test(y.type))&&(b.type="ord"),(y==null?void 0:y.type)==="bin"&&/^(rel|close|punct)$/.test(b.type)&&(y.type="ord"),b.type!=="ignore"&&(y=b)})}function kd(a,y){if(!a.children)return a;const b=a.children;cm(b);const E=y.getRegisterAsEm("thinmuskip"),ee=y.getRegisterAsEm("medmuskip"),ie=y.getRegisterAsEm("thickmuskip");return Dd(b,(oe,ce)=>{var he,pe,ve;if(!oe)return;const De=oe.type,Oe=ce.isTight?(he=um[De])!=null?he:null:(pe=lm[De])!=null?pe:null,We=(ve=Oe==null?void 0:Oe[ce.type])!=null?ve:null;We===3&&b0(ce,E),We===4&&b0(ce,ee),We===5&&b0(ce,ie)}),a}function Dd(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=Dd(E.children,y,b):E.type==="ignore"?Dd(E.children,y):(y(b,E),Dd(E.children,y),b=E);return b}var hh=class Xp extends Ut{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new Ut({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new Xp(Me(we({},y),{tooltip:zu(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(E=>E.type!=="first").map(E=>E.toJson());return Me(we({},super.toJson()),{tooltip:b})}render(y){const b=Ut.createBox(new ur,this.body);if(!b)return null;const E=new ur({parent:y,mathstyle:"displaystyle"},{fontSize:bl}),ee=kc(kd(new An(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),ie=new An([ee,b],{classes:"ML__tooltip-container"});return this.caret&&(ie.caret=this.caret),this.bind(y,ie)}},rc=class $p extends Ut{constructor(y,b){super(Me(we({},b),{type:"operator",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.variantStyle=b==null?void 0:b.variantStyle,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new $p(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const E=new An(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ee=E;if(this.superscript||this.subscript){const ie=(b=this.subsupPlacement)!=null?b:"auto";ee=ie==="over-under"||ie==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new An(this.bind(y,ee),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=di(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),rr(E)}};function zu(a){if(Ne(a))return a.map(E=>zu(E));if(typeof a=="string")return Ut.fromJson(a);a=we({},a);for(const E of Tu)a[E]&&(a[E]=zu(a[E]));a.args&&(a.args=dm(a.args)),a.array&&(a.array=zu(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=Hi.fromJson(a)),y==="box"&&(b=Ya.fromJson(a)),y==="chem"&&(b=tf.fromJson(a)),y==="composition"&&(b=su.fromJson(a)),y==="delim"&&(b=nf.fromJson(a)),y==="enclose"&&(b=Ed.fromJson(a)),y==="error"&&(b=cs.fromJson(a)),y==="extensible-symbol"&&(b=dh.fromJson(a)),y==="genfrac"&&(b=zc.fromJson(a)),y==="group"&&(b=Lo.fromJson(a)),y==="latex"&&(b=jo.fromJson(a)),y==="latexgroup"&&(b=Md.fromJson(a)),y==="leftright"&&(b=Nr.fromJson(a)),y==="macro"&&(b=Pc.fromJson(a)),y==="macro-argument"&&(b=ol.fromJson(a)),y==="operator"&&(b=rc.fromJson(a)),y==="overlap"&&(b=ic.fromJson(a)),y==="overunder"&&(b=Ws.fromJson(a)),y==="placeholder"&&(b=ci.fromJson(a)),y==="prompt"&&(b=Dl.fromJson(a)),y==="phantom"&&(b=Sd.fromJson(a)),y==="sizeddelim"&&(b=rf.fromJson(a)),y==="spacing"&&(b=Cd.fromJson(a)),y==="subsup"&&(b=Hs.fromJson(a)),y==="surd"&&(b=of.fromJson(a)),y==="text"&&(b=rl.fromJson(a)),y==="tooltip"&&(b=hh.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=Ut.fromJson(a));for(const E of Tu)a[E]&&b.setChildren(a[E],E);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function dm(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>zu(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>zu(b)):y)}var sf={main:["Main-Regular","ML__cmr"],"main-italic":["Main-Italic","ML__cmr ML__it"],"main-bold":["Main-Bold","ML__cmr ML__bold"],"main-bolditalic":["Main-BoldItalic","ML__cmr ML__bold ML__it"],normal:["Main-Regular","ML__cmr"],"normal-bold":["Main-Bold","ML__mathbf"],"normal-italic":["Math-Italic","ML__mathit"],"normal-bolditalic":["Math-BoldItalic","ML__mathbfit"],ams:["AMS-Regular","ML__ams"],"ams-bold":["AMS-Regular","ML__ams"],"ams-italic":["AMS-Regular","ML__ams"],"ams-bolditalic":["AMS-Regular","ML__ams"],"sans-serif":["SansSerif-Regular","ML__sans"],"sans-serif-bold":["SansSerif-Regular","ML__sans ML__bold"],"sans-serif-italic":["SansSerif-Regular","ML__sans"],"sans-serif-bolditalic":["SansSerif-Regular","ML__sans"],calligraphic:["Caligraphic-Regular","ML__cal"],"calligraphic-bold":["Caligraphic-Regular","ML__cal ML__bold"],"calligraphic-italic":["Caligraphic-Regular","ML__cal ML__it"],"calligraphic-bolditalic":["Caligraphic-Regular","ML__cal ML__bold ML__it"],script:["Script-Regular","ML__script"],"script-bold":["Script-Regular","ML__script ML__bold"],"script-italic":["Script-Regular","ML__script ML__it"],"script-bolditalic":["Script-Regular","ML__script ML__bold ML__it"],fraktur:["Fraktur-Regular","ML__frak"],"fraktur-bold":["Fraktur-Regular","ML__frak"],"fraktur-italic":["Fraktur-Regular","ML__frak"],"fraktur-bolditalic":["Fraktur-Regular","ML__frak"],monospace:["Typewriter-Regular","ML__tt"],"monospace-bold":["Typewriter-Regular","ML__tt ML__bold"],"monospace-italic":["Typewriter-Regular","ML__tt ML__it"],"monospace-bolditalic":["Typewriter-Regular","ML__tt ML__bold ML__it"],"double-struck":["AMS-Regular","ML__bb"],"double-struck-bold":["AMS-Regular","ML__bb"],"double-struck-italic":["AMS-Regular","ML__bb"],"double-struck-bolditalic":["AMS-Regular","ML__bb"]},fh={"double-struck":/^[A-Z ]$/,script:/^[A-Z ]$/,calligraphic:/^[\dA-Z ]$/,fraktur:/^[\dA-Za-z ]$|^[!"#$%&'()*+,\-./:;=?[]^]$/,monospace:/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/,"sans-serif":/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/},lf=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,hm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,fm=[/^[a-z]$/,/^[A-Z]$/,lf,hm],pm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},mm=class extends ms{constructor(){super("math")}createAtom(a,y,b){var E,ee,ie,oe;if(y===null)return new Ut({type:"mord",mode:"math",command:a,value:a,style:b});const ce=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const pe=new Ut({type:(ee=y.type)!=null?ee:"mord",mode:"math",command:(ie=y.command)!=null?ie:a,value:String.fromCodePoint(y.codepoint),style:b});return ce&&(pe.isFunction=!0),a.startsWith("\\")&&(pe.verbatimLatex=a),pe}const he=new Ut({type:"mord",mode:"math",command:(oe=y.command)!=null?oe:a,value:a,style:b});return ce&&(he.isFunction=!0),a.startsWith("\\")&&(he.verbatimLatex=a),he}serialize(a,y){const b=gm(a,Me(we({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:E}=y;b==="normal"&&!E&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",E="italic"),b==="normal"&&!E&&a.value.length===1&&fm.forEach((ce,he)=>{var pe;ce.test(a.value)&&pm[(pe=y.letterShapeStyle)!=null?pe:"tex"][he]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const ee=E?b+"-"+E:b;console.assert(sf[ee]!==void 0);const[ie,oe]=sf[ee];return fh[b]&&!fh[b].test(a.value)?(a.value=ht(a.value,b,E),null):(lf.test(a.value)&&(a.classes+=" lcGreek"),oe&&(a.classes+=" "+oe),ie)}};function gm(a,y){const{parent:b}=a[0],E=uf(b);return Va(a,"variant").map(ee=>{const ie=uf(ee[0]);let oe="";ie&&ie!==E&&(oe={calligraphic:"\\mathcal",fraktur:"\\mathfrak","double-struck":"\\mathbb",script:"\\mathscr",monospace:"\\mathtt","sans-serif":"\\mathsf",normal:"\\mathrm","normal-italic":"\\mathnormal","normal-bold":"\\mathbf","normal-bolditalic":"\\mathbfit",ams:"","ams-italic":"\\mathit","ams-bold":"\\mathbf","ams-bolditalic":"\\mathbfit",main:"","main-italic":"\\mathit","main-bold":"\\mathbf","main-bolditalic":"\\mathbfit"}[ie],console.assert(oe!==void 0));const ce=rr(ee.map(he=>he._serialize(y)));return oe?aa(oe,ce):ce})}function uf(a){if(!a)return"";const{style:y}=a;if(y.variant===void 0)return"";let b=y.variant;return!["calligraphic","fraktur","double-struck","script","monospace","sans-serif"].includes(y.variant)&&y.variantStyle&&y.variantStyle!=="up"&&(b+="-"+y.variantStyle),b}new mm;function vm(a,y){return a.map(b=>b._serialize(y))}function ym(a,y){return Va(a,"fontShape").map(b=>{const E=vm(b,y),{fontShape:ee}=b[0].style;let ie="";return ee==="it"&&(ie="\\textit"),ee==="sl"&&(ie="\\textsl"),ee==="sc"&&(ie="\\textsc"),ee==="n"&&(ie="\\textup"),!ie&&ee?`{${aa("\\fontshape",ee)}${rr(E)}}`:ie?aa(ie,rr(E)):rr(E)})}function bm(a,y){return Va(a,"fontSeries").map(b=>{const E=ym(b,y),{fontSeries:ee}=b[0].style;let ie="";return ee==="b"&&(ie="\\textbf"),ee==="l"&&(ie="\\textlf"),ee==="m"&&(ie="\\textmd"),ee&&!ie?`{${aa("\\fontseries",ee)}${rr(E)}}`:ie?aa(ie,rr(E)):rr(E)})}function xm(a,y){return Va(a,"fontSize").map(b=>{var E,ee;const ie=bm(b,y),oe=(ee=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?ee:"";return oe?`${oe} ${rr(ie)}`:rr(ie)})}function wm(a,y,b){return Va(a,"fontFamily").map(E=>{var ee,ie;const oe=xm(E,y),ce=(ie={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ee=E[0].style.fontFamily)!=null?ee:""])!=null?ie:"";return ce?`\\${ce}{${rr(oe)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${rr(oe)}}`:b?`\\text{${rr(oe)}}`:rr(oe)})}var cf={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Am=class extends ms{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new rl(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return wm(a,Me(we({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,ee,ie,oe;const{fontFamily:ce}=y;if(cf[ce]?a.classes+=" "+cf[ce]:ce&&a.setStyle("font-family",ce),y.fontShape&&(a.classes+=" ",a.classes+=(b={it:"ML__it",sl:"ML__shape_sl",sc:"ML__shape_sc",ol:"ML__shape_ol"}[y.fontShape])!=null?b:""),y.fontSeries){const he=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);he&&(a.classes+=" ",a.classes+=(ee={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(E=he[1])!=null?E:""])!=null?ee:"",a.classes+=" ",a.classes+=(oe={uc:"ML__series_uc",ec:"ML__series_ec",c:"ML__series_c",sc:"ML__series_sc",n:"",sx:"ML__series_sx",x:"ML__series_x",ex:"ML__series_ex",ux:"ML__series_ux"}[(ie=he[2])!=null?ie:""])!=null?oe:"")}return"Main-Regular"}};new Am;var Em=class extends ms{constructor(){super("latex")}createAtom(a){return new jo(a)}serialize(a,y){return a.filter(b=>b instanceof jo&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Em;var Mm={id:"dvorak",locale:"en",displayName:"Dvorak",virtualLayout:"dvorak",platform:"",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["x","X","\u2248","\u02DB"],KeyC:["j","J","\u2206","\xD4"],KeyD:["e","E","\xB4","\xB4"],KeyE:[".",">","\u2265","\u02D8"],KeyF:["u","U","\xA8","\xA8"],KeyG:["i","I","\u02C6","\u02C6"],KeyH:["d","D","\u2202","\xCE"],KeyI:["c","C","\xE7","\xC7"],KeyJ:["h","H","\u02D9","\xD3"],KeyK:["t","T","\u2020","\u02C7"],KeyL:["n","N","\u02DC","\u02DC"],KeyM:["m","M","\xB5","\xC2"],KeyN:["b","B","\u222B","\u0131"],KeyO:["r","R","\xAE","\u2030"],KeyP:["l","L","\xAC","\xD2"],KeyQ:["'",'"',"\xE6","\xC6"],KeyR:["p","P","\u03C0","\u220F"],KeyS:["o","O","\xF8","\xD8"],KeyT:["y","Y","\xA5","\xC1"],KeyU:["g","G","\xA9","\u02DD"],KeyV:["k","K","\u02DA","\uF8FF"],KeyW:[",","<","\u2264","\xAF"],KeyX:["q","Q","\u0153","\u0152"],KeyY:["f","F","\u0192","\xCF"],KeyZ:[";",":","\u2026","\xDA"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["[","{","\u201C","\u201D"],Equal:["]","}","\u2018","\u2019"],BracketLeft:["/","?","\xF7","\xBF"],BracketRight:["=","+","\u2260","\xB1"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:["s","S","\xDF","\xCD"],Quote:["-","_","\u2013","\u2014"],Backquote:["`","~","`","`"],Comma:["w","W","\u2211","\u201E"],Period:["v","V","\u221A","\u25CA"],Slash:["z","Z","\u03A9","\xB8"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},ph={id:"apple.en-intl",displayName:"English (international)",virtualLayout:"qwerty",platform:"apple",locale:"en",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u0131"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\xCE"],KeyE:["e","E","\xB4","\xB4"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\u02DD"],KeyH:["h","H","\u02D9","\xD3"],KeyI:["i","I","\u02C6","\u02C6"],KeyJ:["j","J","\u2206","\xD4"],KeyK:["k","K","\u02DA","\uF8FF"],KeyL:["l","L","\xAC","\xD2"],KeyM:["m","M","\xB5","\xC2"],KeyN:["n","N","\u02DC","\u02DC"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE","\u2030"],KeyS:["s","S","\xDF","\xCD"],KeyT:["t","T","\u2020","\u02C7"],KeyU:["u","U","\xA8","\xA8"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\u02DB"],KeyY:["y","Y","\xA5","\xC1"],KeyZ:["z","Z","\u03A9","\xB8"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["-","_","\u2013","\u2014"],Equal:["=","+","\u2260","\xB1"],BracketLeft:["[","{","\u201C","\u201D"],BracketRight:["]","}","\u2018","\u2019"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:[";",":","\u2026","\xDA"],Quote:["'",'"',"\xE6","\xC6"],Backquote:["`","\u02DC","`","`"],Comma:[",","<","\u2264","\xAF"],Period:[".",">","\u2265","\u02D8"],Slash:["/","?","\xF7","\xBF"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},df={id:"windows.en-intl",displayName:"English (international)",platform:"windows",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","\xE1","\xC1"],KeyB:["b","B","",""],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\xE9","\xC9"],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","\xED","\xCD"],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","\xF8","\xD8"],KeyM:["m","M","\xB5",""],KeyN:["n","N","\xF1","\xD1"],KeyO:["o","O","\xF3","\xD3"],KeyP:["p","P","\xF6","\xD6"],KeyQ:["q","Q","\xE4","\xC4"],KeyR:["r","R","\xAE",""],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\xFE","\xDE"],KeyU:["u","U","\xFA","\xDA"],KeyV:["v","V","",""],KeyW:["w","W","\xE5","\xC5"],KeyX:["x","X","",""],KeyY:["y","Y","\xFC","\xDC"],KeyZ:["z","Z","\xE6","\xC6"],Digit1:["1","!","\xA1","\xB9"],Digit2:["2","@","\xB2",""],Digit3:["3","#","\xB3",""],Digit4:["4","$","\xA4","\xA3"],Digit5:["5","%","\u20AC",""],Digit6:["6","^","\xBC",""],Digit7:["7","&","\xBD",""],Digit8:["8","*","\xBE",""],Digit9:["9","(","\u2018",""],Digit0:["0",")","\u2019",""],Space:[" "," ","",""],Minus:["-","_","\xA5",""],Equal:["=","+","\xD7","\xF7"],BracketLeft:["[","{","\xAB",""],BracketRight:["]","}","\xBB",""],Backslash:["\\","|","\xAC","\xA6"],Semicolon:[";",":","\xB6","\xB0"],Quote:["'",'"',"\xB4","\xA8"],Backquote:["`","~","",""],Comma:[",","<","\xE7","\xC7"],Period:[".",">","",""],Slash:["/","?","\xBF",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["\\","|","",""]}},hf={id:"linux.en",displayName:"English",platform:"linux",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","a","A"],KeyB:["b","B","b","B"],KeyC:["c","C","c","C"],KeyD:["d","D","d","D"],KeyE:["e","E","e","E"],KeyF:["f","F","f","F"],KeyG:["g","G","g","G"],KeyH:["h","H","h","H"],KeyI:["i","I","i","I"],KeyJ:["j","J","j","J"],KeyK:["k","K","k","K"],KeyL:["l","L","l","L"],KeyM:["m","M","m","M"],KeyN:["n","N","n","N"],KeyO:["o","O","o","O"],KeyP:["p","P","p","P"],KeyQ:["q","Q","q","Q"],KeyR:["r","R","r","R"],KeyS:["s","S","s","S"],KeyT:["t","T","t","T"],KeyU:["u","U","u","U"],KeyV:["v","V","v","V"],KeyW:["w","W","w","W"],KeyX:["x","X","x","X"],KeyY:["y","Y","y","Y"],KeyZ:["z","Z","z","Z"],Digit1:["1","!","1","!"],Digit2:["2","@","2","@"],Digit3:["3","#","3","#"],Digit4:["4","$","4","$"],Digit5:["5","%","5","%"],Digit6:["6","^","6","^"],Digit7:["7","&","7","&"],Digit8:["8","*","8","*"],Digit9:["9","(","9","("],Digit0:["0",")","0",")"],Space:[" "," "," "," "],Minus:["-","_","-","_"],Equal:["=","+","=","+"],BracketLeft:["[","{","[","{"],BracketRight:["]","}","]","}"],Backslash:["\\","|","\\","|"],Semicolon:[";",":",";",":"],Quote:["'",'"',"'",'"'],Backquote:["`","~","`","~"],Comma:[",","<",",","<"],Period:[".",">",".",">"],Slash:["/","?","/","?"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}},Sm={id:"apple.french",locale:"fr",displayName:"French",platform:"apple",virtualLayout:"azerty",score:0,mapping:{KeyA:["q","Q","\u2021","\u03A9"],KeyB:["b","B","\xDF","\u222B"],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\xEA","\xCA"],KeyF:["f","F","\u0192","\xB7"],KeyG:["g","G","\uFB01","\uFB02"],KeyH:["h","H","\xCC","\xCE"],KeyI:["i","I","\xEE","\xEF"],KeyJ:["j","J","\xCF","\xCD"],KeyK:["k","K","\xC8","\xCB"],KeyL:["l","L","\xAC","|"],KeyM:[",","?","\u221E","\xBF"],KeyN:["n","N","~","\u0131"],KeyO:["o","O","\u0153","\u0152"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xAE","\u201A"],KeyS:["s","S","\xD2","\u2211"],KeyT:["t","T","\u2020","\u2122"],KeyU:["u","U","\xBA","\xAA"],KeyV:["v","V","\u25CA","\u221A"],KeyW:["z","Z","\xC2","\xC5"],KeyX:["x","X","\u2248","\u2044"],KeyY:["y","Y","\xDA","\u0178"],KeyZ:["w","W","\u2039","\u203A"],Digit1:["&","1","\uF8FF","\xB4"],Digit2:["\xE9","2","\xEB","\u201E"],Digit3:['"',"3","\u201C","\u201D"],Digit4:["'","4","\u2018","\u2019"],Digit5:["(","5","{","["],Digit6:["\xA7","6","\xB6","\xE5"],Digit7:["\xE8","7","\xAB","\xBB"],Digit8:["!","8","\xA1","\xDB"],Digit9:["\xE7","9","\xC7","\xC1"],Digit0:["\xE0","0","\xF8","\xD8"],Space:[" "," "," "," "],Minus:[")","\xB0","}","]"],Equal:["-","_","\u2014","\u2013"],BracketLeft:["^","\xA8","\xF4","\xD4"],BracketRight:["$","*","\u20AC","\xA5"],Backslash:["`","\xA3","@","#"],Semicolon:["m","M","\xB5","\xD3"],Quote:["\xF9","%","\xD9","\u2030"],Backquote:["<",">","\u2264","\u2265"],Comma:[";",".","\u2026","\u2022"],Period:[":","/","\xF7","\\"],Slash:["=","+","\u2260","\xB1"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",".",",","."],IntlBackslash:["@","#","\u2022","\u0178"],NumpadEqual:["=","=","=","="]}},Cm={id:"windows.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"windows",score:0,mapping:{KeyA:["q","Q","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:[",","?","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["a","A","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["z","Z","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["w","W","",""],Digit1:["&","1","",""],Digit2:["\xE9","2","~",""],Digit3:['"',"3","#",""],Digit4:["'","4","{",""],Digit5:["(","5","[",""],Digit6:["-","6","|",""],Digit7:["\xE8","7","`",""],Digit8:["_","8","\\",""],Digit9:["\xE7","9","^",""],Digit0:["\xE0","0","@",""],Space:[" "," ","",""],Minus:[")","\xB0","]",""],Equal:["=","+","}",""],BracketLeft:["^","\xA8","",""],BracketRight:["$","\xA3","\xA4",""],Backslash:["*","\xB5","",""],Semicolon:["m","M","",""],Quote:["\xF9","%","",""],Backquote:["\xB2","","",""],Comma:[";",".","",""],Period:[":","/","",""],Slash:["!","\xA7","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},km={id:"linux.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"linux",score:0,mapping:{KeyA:["q","Q","@","\u03A9"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:[",","?","\u0301","\u030B"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["z","Z","\xAB","<"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["w","W","\u0142","\u0141"],Digit1:["&","1","\xB9","\xA1"],Digit2:["\xE9","2","~","\u215B"],Digit3:['"',"3","#","\xA3"],Digit4:["'","4","{","$"],Digit5:["(","5","[","\u215C"],Digit6:["-","6","|","\u215D"],Digit7:["\xE8","7","`","\u215E"],Digit8:["_","8","\\","\u2122"],Digit9:["\xE7","9","^","\xB1"],Digit0:["\xE0","0","@","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:[")","\xB0","]","\xBF"],Equal:["=","+","}","\u0328"],BracketLeft:["\u0302","\u0308","\u0308","\u030A"],BracketRight:["$","\xA3","\xA4","\u0304"],Backslash:["*","\xB5","\u0300","\u0306"],Semicolon:["m","M","\xB5","\xBA"],Quote:["\xF9","%","\u0302","\u030C"],Backquote:["\xB2","~","\xAC","\xAC"],Comma:[";",".","\u2500","\xD7"],Period:[":","/","\xB7","\xF7"],Slash:["!","\xA7","\u0323","\u0307"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"]}},Dm={id:"apple.german",locale:"de",displayName:"German",virtualLayout:"qwertz",platform:"apple",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u2039"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\u2122"],KeyE:["e","E","\u20AC","\u2030"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\xCC"],KeyH:["h","H","\xAA","\xD3"],KeyI:["i","I","\u2044","\xDB"],KeyJ:["j","J","\xBA","\u0131"],KeyK:["k","K","\u2206","\u02C6"],KeyL:["l","L","@","\uFB02"],KeyM:["m","M","\xB5","\u02D8"],KeyN:["n","N","~","\u203A"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\xAB","\xBB"],KeyR:["r","R","\xAE","\xB8"],KeyS:["s","S","\u201A","\xCD"],KeyT:["t","T","\u2020","\u02DD"],KeyU:["u","U","\xA8","\xC1"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\xD9"],KeyY:["z","Z","\u03A9","\u02C7"],KeyZ:["y","Y","\xA5","\u2021"],Digit1:["1","!","\xA1","\xAC"],Digit2:["2",'"',"\u201C","\u201D"],Digit3:["3","\xA7","\xB6","#"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","[","\uFB01"],Digit6:["6","&","]","^"],Digit7:["7","/","|","\\"],Digit8:["8","(","{","\u02DC"],Digit9:["9",")","}","\xB7"],Digit0:["0","=","\u2260","\xAF"],Space:[" "," "," "," "],Minus:["\xDF","?","\xBF","\u02D9"],Equal:["\xB4","`","'","\u02DA"],BracketLeft:["\xFC","\xDC","\u2022","\xB0"],BracketRight:["+","*","\xB1","\uF8FF"],Backslash:["#","'","\u2018","\u2019"],Semicolon:["\xF6","\xD6","\u0153","\u0152"],Quote:["\xE4","\xC4","\xE6","\xC6"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u221E","\u02DB"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",",",".","."],IntlBackslash:["^","\xB0","\u201E","\u201C"],NumpadEqual:["=","=","=","="]}},Lm={id:"windows.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","\xB5",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","@",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["z","Z","",""],KeyZ:["y","Y","",""],Digit1:["1","!","",""],Digit2:["2",'"',"\xB2",""],Digit3:["3","\xA7","\xB3",""],Digit4:["4","$","",""],Digit5:["5","%","",""],Digit6:["6","&","",""],Digit7:["7","/","{",""],Digit8:["8","(","[",""],Digit9:["9",")","]",""],Digit0:["0","=","}",""],Space:[" "," ","",""],Minus:["\xDF","?","\\","\u1E9E"],Equal:["\xB4","`","",""],BracketLeft:["\xFC","\xDC","",""],BracketRight:["+","*","~",""],Backslash:["#","'","",""],Semicolon:["\xF6","\xD6","",""],Quote:["\xE4","\xC4","",""],Backquote:["^","\xB0","",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","|",""]}},Bm={id:"linux.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201C","\u2018"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0323","\u0307"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","\u201D","\u2019"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\u017F","\u1E9E"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201E","\u201A"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xAB","\u2039"],KeyY:["z","Z","\u2190","\xA5"],KeyZ:["y","Y","\xBB","\u203A"],Digit1:["1","!","\xB9","\xA1"],Digit2:["2",'"',"\xB2","\u215B"],Digit3:["3","\xA7","\xB3","\xA3"],Digit4:["4","$","\xBC","\xA4"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["\xDF","?","\\","\xBF"],Equal:["\u0301","\u0300","\u0327","\u0328"],BracketLeft:["\xFC","\xDC","\u0308","\u030A"],BracketRight:["+","*","~","\xAF"],Backslash:["#","'","\u2019","\u0306"],Semicolon:["\xF6","\xD6","\u030B","\u0323"],Quote:["\xE4","\xC4","\u0302","\u030C"],Backquote:["\u0302","\xB0","\u2032","\u2033"],Comma:[",",";","\xB7","\xD7"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],PrintScreen:["","","",""],PageUp:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",",","",","],IntlBackslash:["<",">","|","\u0331"],AltRight:["\r","\r","\r","\r"],MetaRight:[".",".",".","."]}},Nm={id:"apple.spanish",locale:"es",displayName:"Spanish ISO",platform:"apple",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\xDF",""],KeyC:["c","C","\xA9"," "],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0192","\uFB01"],KeyG:["g","G","\uF8FF","\uFB02"],KeyH:["h","H","\u2122"," "],KeyI:["i","I"," "," "],KeyJ:["j","J","\xB6","\xAF"],KeyK:["k","K","\xA7","\u02C7"],KeyL:["l","L"," ","\u02D8"],KeyM:["m","M","\xB5","\u02DA"],KeyN:["n","N"," ","\u02D9"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE"," "],KeyS:["s","S","\u222B"," "],KeyT:["t","T","\u2020","\u2021"],KeyU:["u","U"," "," "],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\xE6","\xC6"],KeyX:["x","X","\u2211","\u203A"],KeyY:["y","Y","\xA5"," "],KeyZ:["z","Z","\u03A9","\u2039"],Digit1:["1","!","|","\u0131"],Digit2:["2",'"',"@","\u02DD"],Digit3:["3","\xB7","#","\u2022"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","\u221E","\u2030"],Digit6:["6","&","\xAC"," "],Digit7:["7","/","\xF7","\u2044"],Digit8:["8","(","\u201C","\u2018"],Digit9:["9",")","\u201D","\u2019"],Digit0:["0","=","\u2260","\u2248"],Space:[" "," "," "," "],Minus:["'","?","\xB4","\xB8"],Equal:["\xA1","\xBF","\u201A","\u02DB"],BracketLeft:["`","^","[","\u02C6"],BracketRight:["+","*","]","\xB1"],Backslash:["\xE7","\xC7","}","\xBB"],Semicolon:["\xF1","\xD1","~","\u02DC"],Quote:["\xB4","\xA8","{","\xAB"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u201E",""],Period:[".",":","\u2026","\u2026"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[",",",",",",","],IntlBackslash:["\xBA","\xAA","\\","\xB0"]}},Im={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Tm={id:"linux.spanish",locale:"es",displayName:"Spanish",platform:"linux",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["z","Z","\xAB","<"],Digit1:["1","!","|","\xA1"],Digit2:["2",'"',"@","\u215B"],Digit3:["3","\xB7","#","\xA3"],Digit4:["4","$","~","$"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["'","?","\\","\xBF"],Equal:["\xA1","\xBF","\u0303","~"],BracketLeft:["\u0300","\u0302","[","\u030A"],BracketRight:["+","*","]","\u0304"],Backslash:["\xE7","\xC7","}","\u0306"],Semicolon:["\xF1","\xD1","~","\u030B"],Quote:["\u0301","\u0308","{","{"],Backquote:["\xBA","\xAA","\\","\\"],Comma:[",",";","\u2500","\xD7"],Period:[".",":","\xB7","\xF7"],Slash:["-","_","\u0323","\u0307"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadEnter:["\r","\r","\r","\r"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}};function ff(a){const y=a.split("+"),b={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:y.pop()};return y.includes("shift")&&(b.shift=!0),y.includes("alt")&&(b.alt=!0),y.includes("ctrl")&&(b.ctrl=!0),y.includes("cmd")&&(b.cmd=!0),y.includes("win")&&(b.win=!0),y.includes("meta")&&(b.meta=!0),b}function _c(a){let y="";return a.shift&&(y+="shift+"),a.alt&&(y+="alt+"),a.ctrl&&(y+="ctrl+"),a.cmd&&(y+="cmd+"),a.win&&(y+="win+"),a.meta&&(y+="meta+"),y+a.key}var Fm={enter:"[Enter]",escape:"[Escape]",backspace:"[Backspace]",tab:"[Tab]",space:"[Space]",pausebreak:"[Pause]",insert:"[Insert]",home:"[Home]",pageup:"[PageUp]",delete:"[Delete]",end:"[End]",pagedown:"[PageDown]",right:"[ArrowRight]",left:"[ArrowLeft]",down:"[ArrowDown]",up:"[ArrowUp]",numpad0:"[Numpad0]",numpad1:"[Numpad1]",numpad2:"[Numpad2]",numpad3:"[Numpad3]",numpad4:"[Numpad4]",numpad5:"[Numpad5]",numpad6:"[Numpad6]",numpad7:"[Numpad7]",numpad8:"[Numpad8]",numpad9:"[Numpad9]",numpad_divide:"[NumpadDivide]",numpad_multiply:"[NumpadMultiply]",numpad_subtract:"[NumpadSubtract]",numpad_add:"[NumpadAdd]",numpad_decimal:"[NumpadDecimal]",numpad_separator:"[NumpadComma]",capslock:"[Capslock]",f1:"[F1]",f2:"[F2]",f3:"[F3]",f4:"[F4]",f5:"[F5]",f6:"[F6]",f7:"[F7]",f8:"[F8]",f9:"[F9]",f10:"[F10]",f11:"[F11]",f12:"[F12]",f13:"[F13]",f14:"[F14]",f15:"[F15]",f16:"[F16]",f17:"[F17]",f18:"[F18]",f19:"[F19]"},Ld=[],Bd;function mh(){switch(Fe()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Ts(a){(!a.platform||a.platform===mh())&&Ld.push(a)}function Om(a,y){var b;const E={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return E;for(const[ee,ie]of Object.entries(y.mapping)){if(ie[0]===a)return E.key=`[${ee}]`,E;if(ie[1]===a)return E.shift=!0,E.key=`[${ee}]`,E;if(ie[2]===a)return E.alt=!0,E.key=`[${ee}]`,E;if(ie[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${ee}]`,E}return E.key=(b=Fm[a])!=null?b:"",E}function Pm(a){if(a.code)return a;const y=Object.entries(Nd().mapping);let b=!1,E=!1,ee="";for(let ie=0;ie<4;ie++){for(const[oe,ce]of y)if(ce[ie]===a.key){ee=oe,ie===3?(b=!0,E=!0):ie===2?b=!0:ie===1&&(E=!0);break}if(ee)break}return new KeyboardEvent(a.type,Me(we({},a),{altKey:b,shiftKey:E,code:ee}))}function zm(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const E=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const ee of Ld)((y=ee.mapping[a.code])==null?void 0:y[E])===a.key?ee.score+=1:(b=ee.mapping[a.code])!=null&&b[E]&&(ee.score=0);Ld.sort((ee,ie)=>ie.score-ee.score)}function _m(a){Bd=Ld.find(y=>a.startsWith(y.locale))}function Nd(){return Bd!=null?Bd:Ld[0]}function jm(){switch(mh()){case"apple":return ph;case"windows":return df;case"linux":return hf}return ph}switch(mh()){case"apple":Ts(ph),Ts(Sm),Ts(Nm),Ts(Dm);break;case"windows":Ts(df),Ts(Cm),Ts(Im),Ts(Lm);break;case"linux":Ts(hf),Ts(km),Ts(Tm),Ts(Bm);break}Ts(Mm);function gh(a){var y;const b=/macos|ios/.test(Fe()),E=a.split("+");let ee="";for(const ie of E)ee&&(ee+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),ie.startsWith("[Key")?ee+=ie.slice(4,5):ie.startsWith("Key")?ee+=ie.slice(3,4):ie.startsWith("[Digit")?ee+=ie.slice(6,7):ie.startsWith("Digit")?ee+=ie.slice(5,6):ee+=(y={cmd:"\u2318",meta:b?"\u2318":"Ctrl",shift:b?"\u21E7":"Shift",alt:b?"\u2325":"Alt",ctrl:b?"\u2303":"Ctrl","\n":b?"\u23CE":"Return","[return]":b?"\u23CE":"Return","[enter]":b?"\u2324":"Enter","[tab]":b?"\u21E5":"Tab","[escape]":"Esc","[backspace]":b?"\u232B":"Backspace","[delete]":b?"\u2326":"Del","[pageup]":b?"\u21DE":"Page Up","[pagedown]":b?"\u21DF":"Page Down","[home]":b?"\u2912":"Home","[end]":b?"\u2913":"End","[space]":"Space","[equal]":"=","[minus]":"-","[comma]":",","[slash]":"/","[backslash]":"\\","[bracketleft]":"[","[bracketright]":"]",semicolon:";",period:".",comma:",",minus:"-",equal:"=",quote:"'",backslash:"\\",intlbackslash:"\\",backquote:"`",slash:"/",numpadmultiply:"* &#128290;",numpaddivide:"/ &#128290;",numpadsubtract:"- &#128290;",numpadadd:"+ &#128290;",numpaddecimal:". &#128290;",numpadcomma:", &#128290;",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[ie.toLowerCase()])!=null?y:ie.toUpperCase();return ee}function x0(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((E,ee)=>({x:E.x+ee.clientX,y:E.y+ee.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function ac(a){const y={alt:!1,control:!1,shift:!1,meta:!1};return(a instanceof MouseEvent||a instanceof PointerEvent||a instanceof TouchEvent||a instanceof KeyboardEvent)&&(a.altKey&&(y.alt=!0),a.ctrlKey&&(y.control=!0),a.metaKey&&(y.meta=!0),a.shiftKey&&(y.shift=!0)),y}function Rm(a,y){return!a&&y||a&&!y?!1:!a||!y?!0:a.alt===y.alt&&a.control===y.control&&a.shift===y.shift&&a.meta===y.meta}var Hm=new Set(["Backquote","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","Minus","Equal","IntlYen","KeyQ","KeyW","KeyE","KeyR","KeyT","KeyY","KeyU","KeyI","KeyO","KeyP","BracketLeft","BracketRight","Backslash","KeyA","KeyS","KeyD","KeyF","KeyG","KeyH","KeyJ","KeyK","KeyL","Semicolon","Quote","IntlBackslash","KeyZ","KeyX","KeyC","KeyV","KeyB","KeyN","KeyM","Comma","Period","Slash","IntlRo","Space","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEqual","NumpadHash","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubstract"]);function w0(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Hm.has(a.code)}function A0(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Ll=class hu{static get scrim(){return hu._scrim||(hu._scrim=new hu),hu._scrim}static open(y){hu.scrim.open(y)}static close(){hu.scrim.close()}static get state(){return hu.scrim.state}static get element(){return hu.scrim.element}constructor(y){var b,E;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(E=y==null?void 0:y.translucent)!=null?E:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=A0();const{element:E}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(E),E.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const ee=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const ie=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${ie+ee}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,ee;if(this.state!=="open"){console.assert(this.element.parentElement!==null);return}this.state="closing",typeof this.onDismiss=="function"&&this.onDismiss(),this.onDismiss=void 0;const{element:ie}=this;ie.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),ie.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",A0()!==this.savedActiveElement&&((ee=(E=this.savedActiveElement)==null?void 0:E.focus)==null||ee.call(E)),ie.innerHTML="",this.state="closed"}handleEvent(y){this.lightDismiss&&(y.target===this._element&&y.type==="click"?(this.close(),y.preventDefault(),y.stopPropagation()):y.target===document&&(y.type==="touchmove"||y.type==="scroll")&&(this.close(),y.preventDefault(),y.stopPropagation()))}};function Wm(a,y,b){let E=null,ee=null,ie=!1,oe=!1,ce=!1;const he=new AbortController,pe=he.signal;return a.addEventListener("keydown",ve=>{if(ie||ve.key==="Process"||ve.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(ve.code)){E=null;return}E=ve,ee=null,b.onKeystroke(ve)?a.textContent="":E=null},{capture:!0,signal:pe}),a.addEventListener("keypress",ve=>{ie||(E&&ee&&b.onKeystroke(E),ee=ve)},{capture:!0,signal:pe}),a.addEventListener("compositionstart",ve=>{a.textContent="",ie=!0,b.onCompositionStart(ve.data)},{capture:!0,signal:pe}),a.addEventListener("compositionupdate",ve=>{ie&&b.onCompositionUpdate(ve.data)},{capture:!0,signal:pe}),a.addEventListener("compositionend",ve=>{a.textContent="",ie&&(ie=!1,b.onCompositionEnd(ve.data))},{capture:!0,signal:pe}),a.addEventListener("beforeinput",ve=>ve.stopImmediatePropagation(),{signal:pe}),a.addEventListener("input",ve=>{var De;if(!ie&&(a.textContent="",ve.inputType!=="insertCompositionText")){if(ve.inputType==="insertFromPaste"){ve.preventDefault(),ve.stopPropagation();return}b.onInput((De=ve.data)!=null?De:""),ve.preventDefault(),ve.stopPropagation()}},{signal:pe}),a.addEventListener("paste",ve=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(ve)||ve.preventDefault(),ve.stopImmediatePropagation()},{signal:pe}),a.addEventListener("cut",ve=>b.onCut(ve),{capture:!0,signal:pe}),a.addEventListener("copy",ve=>b.onCopy(ve),{capture:!0,signal:pe}),a.addEventListener("blur",ve=>{var De,Oe;if(((Oe=(De=ve.relatedTarget)==null?void 0:De._mathfield)==null?void 0:Oe.element)===y){a.focus({preventScroll:!0}),ve.preventDefault(),ve.stopPropagation();return}const We=Ll.state;if(We==="open"||We==="opening"){ve.preventDefault(),ve.stopPropagation();return}if(ve.relatedTarget===ve.target.getRootNode().host){ve.preventDefault(),ve.stopPropagation();return}ce||oe||(ce=!0,E=null,ee=null,b.onBlur(),ce=!1)},{capture:!0,signal:pe}),a.addEventListener("focus",ve=>{ce||oe||(oe=!0,b.onFocus(),oe=!1)},{capture:!0,signal:pe}),{dispose:()=>he.abort(),cancelComposition:()=>{ie&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!oe&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>A0()===a,setAriaLabel:ve=>a.setAttribute("aria-label",ve),setValue:ve=>{var De;a.textContent=ve,a.style.left="-1000px",(De=window.getSelection())==null||De.selectAllChildren(a)},moveTo:(ve,De)=>{a.style.top=`${De}px`,a.style.left=`${ve}px`}}}function jc(a){var y;if(!a||!w0(a))return"";let b;return a.key==="Unidentified"&&a.target&&(b=a.target.value),b=(y=b!=null?b:a.key)!=null?y:a.code,/^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(b)&&(b=""),b}function pf(a){a=Pm(a);const y=[];return a.ctrlKey&&y.push("ctrl"),a.metaKey&&y.push("meta"),a.altKey&&y.push("alt"),a.shiftKey&&y.push("shift"),y.length===0?`[${a.code}]`:(y.push(`[${a.code}]`),y.join("+"))}function Km(a){if(et()){const y=Fe(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Um(a,y,b){if(a.length===0)return"";const E=_c(ff(pf(b))),ee=_c({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Fe()),cmd:!1,win:!1});for(let ie=a.length-1;ie>=0;ie--)if((a[ie].key===E||a[ie].key===ee)&&(!a[ie].ifMode||a[ie].ifMode===y))return a[ie].command;return""}function mf(a){let y=a;return Ne(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function Qm(a,y){let b=[];if(typeof y=="string"){const ie=vd[y];Ne(ie)?b=ie.slice():ie&&b.push(ie)}const E=mf(y),ee=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const ie of a)ee.test(mf(ie.command))&&b.push(ie.key);return b.map(gh)}function Gm(a,y){if(a.ifPlatform&&!/^!?(macos|windows|android|ios|chromeos|other)$/.test(a.ifPlatform))throw new Error(`Unexpected platform "${a.ifPlatform}" for keybinding ${a.key}`);if(a.ifLayout!==void 0&&(y.score===0||!a.ifLayout.includes(y.id)))return;const b=ff(a.key);let E=a.ifPlatform;if(b.cmd){if(E&&E!=="macos"&&E!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+E+`"
"cmd" modifier can only be used with macOS or iOS platform.`);E||(E=Fe()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(E&&E!=="windows")throw new Error('Unexpected "win" modifier with platform "'+E+`"
"win" modifier can only be used with Windows platform.`);E="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(E&&!Km(E))return;if(/^\[.+\]$/.test(b.key))return Me(we({},a),{key:_c(b)});const ee=Om(b.key,y);if(!ee)return Me(we({},a),{key:_c(b)});if(ee.shift&&b.shift||ee.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${vh(a.command)}) is conflicting with the key combination ${_c(ee)} using the ${y.displayName} keyboard layout`);return ee.shift=ee.shift||b.shift,ee.alt=ee.alt||b.alt,ee.meta=b.meta,ee.ctrl=b.ctrl,Me(we({},a),{key:_c(ee)})}function vh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function Vm(a,y){const b=[],E=[];for(const ee of a)try{const ie=Gm(ee,y);if(!ie)continue;const oe=E.find(ce=>ce.key===ie.key&&ce.ifMode===ie.ifMode);if(oe)throw new Error(`Ambiguous key binding ${ee.key} (${vh(ee.command)}) matches ${oe.key} (${vh(oe.command)}) with the ${y.displayName} keyboard layout`);E.push(ie)}catch(ie){ie instanceof Error&&b.push(ie.message)}return[E,b]}var Ym=class extends ji{constructor(){super("latex")}createAtom(a){return new jo(a)}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("application/x-latex")||y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Ha(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Do(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const ie=[];for(const he of y)le.test(he)&&ie.push(new jo(he));let oe=a.at(a.position);if(oe instanceof Md&&(oe=oe.lastChild),!(oe.parent instanceof Md)){const he=new Md("");oe.parent.addChildAfter(he,oe),oe=he.firstChild}const ce=oe.parent.addChildrenAfter(ie,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ce)):ce&&(a.position=a.offsetOf(ce))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function Zm(a){return a.atoms.find(y=>y.type==="latexgroup")}function Id(a){var y,b;const E=a.atoms.find(ee=>ee.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(ee=>ee.type==="latex"))!=null?b:[]:[]}function gf(a,y){var b;let E=0,ee=!1;const ie=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=ie&&!ee;){const he=a.at(E);ee=he instanceof jo&&he.isSuggestion,ee||E++}if(!ee)return[void 0,void 0];let oe=E,ce=!1;for(;oe<=ie&&!ce;){const he=a.at(oe);ce=!(he instanceof jo&&he.isSuggestion),ce||oe++}return[E-1,oe-1]}new Ym;function E0(a){const y=Id(a.model).filter(b=>b.isSuggestion);if(y.length!==0){a.model.position=a.model.offsetOf(y[0].leftSibling);for(const b of y)b.parent.removeChild(b)}}function Td(a,y){var b;const{model:E}=a;E0(a);for(const ve of Id(E))ve.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Hc(a);return}const ee=[];let ie=E.at(E.position);for(;ie&&ie instanceof jo&&/^[a-zA-Z\*]$/.test(ie.value);)ie=ie.leftSibling;if(ie&&ie instanceof jo&&ie.value==="\\")for(ee.push(ie),ie=ie.rightSibling;ie&&ie instanceof jo&&/^[a-zA-Z\*]$/.test(ie.value);)ee.push(ie),ie=ie.rightSibling;const oe=ee.map(ve=>ve.value).join(""),ce=Pt(a,oe);if(ce.length===0){if(/^\\[a-zA-Z\*]+$/.test(oe))for(const ve of ee)ve.isError=!0;Hc(a);return}const he=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=he<0?ce.length-1:he%ce.length;const pe=ce[a.suggestionIndex];if(pe!==oe){const ve=ee[ee.length-1];ve.parent.addChildrenAfter([...pe.slice(oe.length-pe.length)].map(De=>new jo(De,{isSuggestion:!0})),ve),oc(a,{interactive:!0})}qm(a,ce)}function vf(a){const[y,b]=gf(a,{before:a.position});if(y===void 0||b===void 0)return!1;let E=!1;return a.getAtoms([y,b]).forEach(ee=>{ee.isSuggestion&&(ee.isSuggestion=!1,E=!0)}),E}function Rc(a,y="accept",b){var E,ee;Hc(a);const ie=Zm(a.model);if(!ie)return!1;if(y==="accept-suggestion"||y==="accept-all"){const pe=Id(a.model).filter(ve=>ve.isSuggestion);if(pe.length!==0){for(const ve of pe)ve.isSuggestion=!1;a.model.position=a.model.offsetOf(pe[pe.length-1])}if(y==="accept-suggestion")return pe.length!==0}const ce=Id(a.model).filter(pe=>!pe.isSuggestion).map(pe=>pe.value).join(""),he=ie.leftSibling;return ie.parent.removeChild(ie),a.model.position=a.model.offsetOf(he),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(ji.insert(a.model,ce,{selectionMode:(ee=b==null?void 0:b.selectItem)!=null&&ee?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function M0(a){var y;let b=document.getElementById(a);return b?b.dataset.refcount=Number(Number.parseInt((y=b.dataset.refcount)!=null?y:"0")+1).toString():(b=document.createElement("div"),b.setAttribute("aria-hidden","true"),b.dataset.refcount="1",b.id=a,document.body.append(b)),b}function yh(a){var y;const b=document.getElementById(a);if(!b)return;const E=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");E<=1?b.remove():b.dataset.refcount=Number(E-1).toString()}function Jm(a,y){const b=new ur({from:a.context}),E=new Ut({mode:"math",type:"root",body:Bo(y,{context:b})}),ee=kc(kd(new An(E.render(b),{classes:"ML__base"}),b));return Dc(ee,{classes:"ML__latex"}).toMarkup()}function qm(a,y){var b;if(y.length===0){Hc(a);return}let E="";for(const[ie,oe]of y.entries()){const ce=oe,he=Jm(a,oe),pe=Qm(a.keybindings,ce).join("<br>");E+=`<li role="button" data-command="${ce}" ${ie===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${ce}</span><span class="ML__popover__command">${he}</span>`,pe&&(E+=`<span class="ML__popover__keybinding">${pe}</span>`),E+="</li>"}const ee=Xm(a,`<ul>${E}</ul>`);bh()&&((b=ee.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var ie;ee&&!bh()&&(ee.classList.add("is-visible"),S0(a),(ie=ee.querySelector(".ML__popover__current"))==null||ie.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function bh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function S0(a,y){var b;if(!a.element||a.element.mathfield!==a||!bh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Hc(a);return}if(y!=null&&y.deferred){setTimeout(()=>S0(a),32);return}const E=kl(a.field);if(!E)return;const ee=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,ie=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,oe=window.innerWidth-document.documentElement.clientWidth,ce=window.innerHeight-document.documentElement.clientHeight,he=window.mathVirtualKeyboard.boundingRect.height,pe=document.getElementById("mathlive-suggestion-popover");E.x+pe.offsetWidth/2>ie-oe?pe.style.left=`${ie-pe.offsetWidth-oe}px`:E.x-pe.offsetWidth/2<0?pe.style.left="0":pe.style.left=`${E.x-pe.offsetWidth/2}px`;const ve=E.y-E.height;ee-ce-he-E.y<ve?(pe.classList.add("ML__popover--reverse-direction"),pe.classList.remove("top-tip"),pe.classList.add("bottom-tip"),pe.style.top=`${E.y-E.height-pe.offsetHeight-15}px`):(pe.classList.remove("ML__popover--reverse-direction"),pe.classList.add("top-tip"),pe.classList.remove("bottom-tip"),pe.style.top=`${E.y+15}px`)}function Hc(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function Xm(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=M0("mathlive-suggestion-popover"),As("suggestion-popover"),As("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let ee=E.target;for(;ee&&!ee.dataset.command;)ee=ee.parentElement;ee&&(Rc(a,"reject"),ji.insert(a.model,ee.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function $m(){document.getElementById("mathlive-suggestion-popover")&&(yh("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function eg(){const a=String(new Error().stack).replace(/^Error.*\n/,"").split(`
`);if(a.length===0)return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format "${new Error().stack}").`),"";let y=a[1],b=y.match(/http.*\.ts[\?:]/);return b&&(y=a[2]),b=y.match(/(https?:.*):[0-9]+:[0-9]+/),b||(b=y.match(/at (.*(\.ts))[\?:]/),b||(b=y.match(/at (.*(\.mjs|\.js))[\?:]/))),b?b[1]:(console.error(a),console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location "${y}").`),"")}var C0=null,yf,bf,xh=((bf=(yf=globalThis==null?void 0:globalThis.document)==null?void 0:yf.currentScript)==null?void 0:bf.src)||eg();function xf(a){return Wu(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(C0===null)try{const y=yield fetch(xh,{method:"HEAD"});y.status===200&&(C0=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${xh}")`)}return new URL(a,C0!=null?C0:xh).href})}function tg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Fs="not-loaded";function ng(){return Wu(this,null,function*(){return Fs="not-loaded",k0()})}function k0(){return Wu(this,null,function*(){var a;if(Fs!=="not-loaded")return;if(Fs="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Fs="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],E=Array.from(document.fonts).map(oe=>oe.family);if(b.every(oe=>E.includes(oe))){Fs="ready";return}if(!window.MathfieldElement.fontsDirectory){Fs="not-loaded";return}const ee=yield xf(window.MathfieldElement.fontsDirectory);if(!ee){document.body.classList.add("ML__fonts-did-not-load"),Fs="error";return}const ie=[["KaTeX_Main-Regular"],["KaTeX_Main-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_Main-Bold",{weight:"bold"}],["KaTeX_Main-Italic",{style:"italic"}],["KaTeX_Math-Italic",{style:"italic"}],["KaTeX_Math-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_AMS-Regular"],["KaTeX_Caligraphic-Regular"],["KaTeX_Caligraphic-Bold",{weight:"bold"}],["KaTeX_Fraktur-Regular"],["KaTeX_Fraktur-Bold",{weight:"bold"}],["KaTeX_SansSerif-Regular"],["KaTeX_SansSerif-Bold",{weight:"bold"}],["KaTeX_SansSerif-Italic",{style:"italic"}],["KaTeX_Script-Regular"],["KaTeX_Typewriter-Regular"],["KaTeX_Size1-Regular"],["KaTeX_Size2-Regular"],["KaTeX_Size3-Regular"],["KaTeX_Size4-Regular"]].map(oe=>tg(oe[0].replace(/-[a-zA-Z]+$/,""),`${ee}/${oe[0]}`,oe[1]));try{(yield Promise.all(ie.map(ce=>{try{return ce.load()}catch(he){}}))).forEach(ce=>document.fonts.add(ce)),Fs="ready";return}catch(oe){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ee}"`,{cause:oe}),document.body.classList.add("ML__fonts-did-not-load")}Fs="error"}})}function ig(a){let y=0;for(let b=0;b<a.length;b++)y=y*31+a.charCodeAt(b),y=y|0;return Math.abs(y)}function Ha(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Ns(a)&&a.dirty&&(a.atomBoundsCache=new Map,oc(a,y),a.atomBoundsCache=void 0)})))}function rg(a,y){var b;y=y!=null?y:{};const E=new ur({from:Me(we({},a.context),{atomIdsSettings:{seed:y.forHighlighting?ig(Ut.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),ee=a.model.root.render(E);return Dc(kd(ee,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function wf(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const ee of b.atoms)ee.caret=void 0,ee.isSelected=!1,ee.containsCaret=!1;if(b.selectionIsCollapsed){const ee=b.at(b.position);ee.caret=a.model.mode;let ie=ee.parent;for(;ie;)ie.containsCaret=!0,ie=ie.parent}else{const ee=b.getAtoms(b.selection,{includeChildren:!0});for(const ie of ee)ie.isSelected=!0}return rg(a,y).toMarkup()}function oc(a,y){if(!Ns(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const E=a.field;if(!E)return;const ee=a.isSelectionEditable&&a.hasFocus(),ie=E.classList.contains("ML__focused");ie&&!ee?E.classList.remove("ML__focused"):!ie&&ee&&E.classList.add("ML__focused");let oe=wf(a,y);const ce=a.element.querySelector("[part=menu-toggle]");if(ce&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?ce.style.display="none":ce.style.display=""),a.model.atoms.length<=1){const he=a.options.contentPlaceholder;he&&(oe+=`<span part=placeholder class="ML__content-placeholder">${No(he)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(oe),D0(a,y.interactive),a.dirty=!1}function D0(a,y){const b=a.field;if(!b)return;for(const ce of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))ce.remove();!(y!=null&&y)&&Fs!=="error"&&Fs!=="ready"&&setTimeout(()=>{Fs==="ready"?D0(a):setTimeout(()=>D0(a),128)},32);const E=a.model,ee=b.offsetWidth,ie=b.getBoundingClientRect().width;let oe=Math.floor(ie)/ee;if(oe=isNaN(oe)?1:oe,E.selectionIsCollapsed){S0(a,{deferred:!0});let ce=E.at(E.position);for(;ce&&ce.type!=="prompt"&&!(ce.containsCaret&&ce.displayContainsHighlight);)ce=ce.parent;if(ce!=null&&ce.containsCaret&&ce.displayContainsHighlight){const he=bd(a,Fu(a,ce),oe);if(he){he.left/=oe,he.right/=oe,he.top/=oe,he.bottom/=oe;const pe=document.createElement("div");pe.classList.add("ML__contains-highlight"),pe.style.position="absolute",pe.style.left=`${he.left+1}px`,pe.style.top=`${Math.ceil(he.top)}px`,pe.style.width=`${Math.ceil(he.right-he.left)}px`,pe.style.height=`${Math.ceil(he.bottom-he.top)}px`,b.insertBefore(pe,b.childNodes[0])}}return}for(const ce of ag(wd(a,{excludeAtomsWithBackground:!0}))){ce.left/=oe,ce.right/=oe,ce.top/=oe,ce.bottom/=oe;const he=document.createElement("div");he.classList.add("ML__selection"),he.style.position="absolute",he.style.left=`${ce.left}px`,he.style.top=`${ce.top}px`,he.style.width=`${Math.ceil(ce.right-ce.left)}px`,he.style.height=`${Math.ceil(ce.bottom-ce.top-1)}px`,b.insertBefore(he,b.childNodes[0])}}function ag(a){let y=[];for(const b of a){let E=!1;for(const ee of y)if(b.left===ee.left&&b.right===ee.right&&b.top===ee.top&&b.bottom===ee.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const ee of a)if(b.left>=ee.left&&b.right<=ee.right&&b.top>=ee.top&&b.bottom<=ee.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var Af=3,Bl;function Es(a,y){y=we({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Bl||(Bl={});for(const b of Object.keys(a))console.assert(!Bl[b],"Selector already defined: ",b),Bl[b]=Me(we({},y),{fn:a[b]})}function wh(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return wh(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Bl[y]}function Wc(a){var y;return(y=wh(a))==null?void 0:y.target}function og(a,y){var b;if(!y)return!1;let E,ee=[],ie=!1,oe=!1;Ne(y)?(E=y[0],ee=y.slice(1)):E=y,E=E.replace(/-\w/g,pe=>pe[1].toUpperCase());const ce=Bl[E],he=ce==null?void 0:ce.target;if(he==="model"){if(!a.isSelectionEditable&&(ce!=null&&ce.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||E0(a),Bl[E].fn(a.model,...ee),Td(a),oe=!0,ie=!0}else if(he==="virtual-keyboard")oe=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,ie=!0;else if(Bl[E]){if(!a.isSelectionEditable&&(ce!=null&&ce.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),oe=Bl[E].fn(a,...ee),ie=!0}else throw new Error(`Unknown command "${E}"`);return he!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||ce!=null&&ce.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),ce!=null&&ce.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),oe&&Ha(a),ie}function sg(a,y){var b;if(!a)return!1;a.focus(),vp.keypressVibration&&je()&&navigator.vibrate(Af);const E=wh(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const ee=a.executeCommand(y);return a.scrollIntoView(),ee}Es({performWithFeedback:(a,y)=>sg(a,y)});function lg(a){return Td(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return Td(a,{atIndex:a.suggestionIndex-1}),!1}Es({complete:Rc},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Es({nextSuggestion:lg,previousSuggestion:ug},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var L0="mathlive#virtual-keyboard-message";function Ah(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===L0}var cg=class em{constructor(){this.targetOrigin=window.origin,this.originValidator="none",this._boundingRect=new DOMRect(0,0,0,0),this._isShifted=!1,window.addEventListener("message",this),this.sendMessage("proxy-created"),this.listeners={}}static get singleton(){return this._singleton||(this._singleton=new em),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Ah(y)){if(!Ad(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:E}=y;Wc(E)==="virtual-keyboard"&&this.executeCommand(E);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(we({type:L0,action:y},b),this.targetOrigin)}},Ef={numeric:{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",rows:[[{latex:"x",shift:"y",variants:["y","z","t","r","x^2","x^n","x^{#?}","x_n","x_i","x_{#?}",{latex:"f(#?)",class:"small"},{latex:"g(#?)",class:"small"}]},{latex:"n",shift:"a",variants:["i","j","p","k","a","u"]},"[separator-5]","[7]","[8]","[9]","[/]","[separator-5]",{latex:"\\exponentialE",shift:"\\ln",variants:["\\exp","\\times 10^{#?}","\\ln","\\log_{10}","\\log"]},{latex:"\\imaginaryI",variants:["\\Re","\\Im","\\imaginaryJ","\\Vert #0 \\Vert"]},{latex:"\\pi",shift:"\\sin",variants:["\\prod",{latex:"\\theta",aside:"theta"},{latex:"\\rho",aside:"rho"},{latex:"\\tau",aside:"tau"},"\\sin","\\cos","\\tan"]}],[{label:"<",latex:"<",class:"hide-shift",shift:{latex:"\\le",label:"\u2264"}},{label:">",latex:">",class:"hide-shift",shift:{latex:"\\ge",label:"\u2265"}},"[separator-5]","[4]","[5]","[6]","[*]","[separator-5]",{class:"hide-shift",latex:"#@^2}",shift:"#@^{\\prime}}"},{latex:"#@^{#0}}",class:"hide-shift",shift:"#@_{#?}"},{class:"hide-shift",latex:"\\sqrt{#0}",shift:{latex:"\\sqrt[#0]{#?}}"}}],["[(]","[)]","[separator-5]","[1]","[2]","[3]","[-]","[separator-5]",{latex:"\\int^{\\infty}_{0}\\!#?\\,\\mathrm{d}x",class:"small hide-shift",shift:"\\int",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{class:"hide-shift",latex:"\\forall",shift:"\\exists"},{label:"[backspace]",width:1}],[{label:"[shift]",width:2},"[separator-5]","[0]","[.]","[=]","[+]","[separator-5]","[left]","[right]",{label:"[action]",width:1}]]},greek:{label:"&alpha;&beta;&gamma;",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>&#x03c6;</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>&#x03c2;</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>&#x03f5;</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>&rho;</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>&tau;</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>&upsilon;</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>&theta;</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>&iota;</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>&omicron;</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>&pi;</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>&alpha;</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>&sigma;</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>&delta;</i>",class:"MLK__tex hide-shift",insert:"\\delta",aside:"delta",shift:"\\Delta"},{latex:"\\phi",class:"MLK__tex hide-shift",insert:"\\phi",aside:"phi",shift:"\\Phi"},{label:"<i>&gamma;</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>&eta;</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>&xi;</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>&kappa;</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>&lambda;</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>&zeta;</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>&chi;</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>&psi;</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>&omega;</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>&beta;</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>&nu;</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>&mu;</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>&#x03b5;</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>&#x03d1;</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>&#x3f0;</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>&#x03d6;</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>&#x03f1;</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"&infin;\u2260\u2208",labelClass:"MLK__tex",tooltip:"keyboard.tooltip.symbols",rows:[[{latex:"\\sin",shift:"\\sin^{-1}",variants:[{class:"small",latex:"\\sinh"},{class:"small",latex:"\\sin^{-1}"},{class:"small",latex:"\\arsinh"}]},"\\ln",{latex:"\\mathrm{abs}",insert:"\\mathrm{abs}\\left(#0\\right)"},{latex:"\\rarr",shift:"\\rArr",variants:[{latex:"\\implies",aside:"implies"},{latex:"\\to",aside:"to"},"\\dashv",{latex:"\\roundimplies",aside:"round implies"}]},{latex:"\\exists",variants:["\\nexists"],shift:"\\nexists"},{latex:"\\in",shift:"\\notin",variants:["\\notin","\\owns"]},"\\cup",{latex:"\\overrightarrow{#@}",shift:"\\overleftarrow{#@}",variants:["\\overleftarrow{#@}","\\bar{#@}","\\vec{#@}","\\hat{#@}","\\check{#@}","\\dot{#@}","\\ddot{#@}","\\mathring{#@}","\\breve{#@}","\\acute{#@}","\\tilde{#@}","\\grave{#@}"]},{class:"small",latex:"\\lim_{#?}",shift:"\\lim_{x\\to\\infty}",variants:[{class:"small",latex:"\\liminf_{#?}"},{class:"small",latex:"\\limsup_{#?}"}]},"\\exponentialE"],[{latex:"\\cos",shift:"\\cos^{-1}",variants:[{class:"small",latex:"\\cosh"},{class:"small",latex:"\\cos^{-1}"},{class:"small",latex:"\\arcosh"}]},{latex:"\\log",shift:"\\log_{10}",variants:["\\log_{#0}","\\log_{10}"]},"\\left\\vert#0\\right\\vert",{latex:"\\larr",shift:"\\lArr",variants:[{latex:"\\impliedby",aside:"implied by"},{latex:"\\gets",aside:"gets"},"\\lArr","\\vdash",{latex:"\\models",aside:"models"}]},{latex:"\\forall",shift:"\\lnot",variants:[{latex:"\\land",aside:"and"},{latex:"\\lor",aside:"or"},{latex:"\\oplus",aside:"xor"},{latex:"\\lnot",aside:"not"},{latex:"\\downarrow",aside:"nor"},{latex:"\\uparrow",aside:"nand"},{latex:"\\curlywedge",aside:"nor"},{latex:"\\bar\\curlywedge",aside:"nand"}]},{latex:"\\ni",shift:"\\not\\owns"},"\\cap",{latex:"\\overline{#@}",shift:"\\underline{#@}",variants:["\\overbrace{#@}","\\overlinesegment{#@}","\\overleftrightarrow{#@}","\\overrightarrow{#@}","\\overleftarrow{#@}","\\overgroup{#@}","\\underbrace{#@}","\\underlinesegment{#@}","\\underleftrightarrow{#@}","\\underrightarrow{#@}","\\underleftarrow{#@}","\\undergroup{#@}"]},{class:"hide-shift",latex:"\\int",shift:"\\iint",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\smallint",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\intop","\\iiint","\\oiint","\\oiiint","\\intclockwise","\\varointclockwise","\\ointctrclockwise","\\intctrclockwise"]},{latex:"\\pi",shift:"\\tau",variants:["\\tau"]}],[{latex:"\\tan",shift:"\\tan^{-1}",variants:[{class:"small",latex:"\\tanh"},{class:"small",latex:"\\tan^{-1}"},{class:"small",latex:"\\artanh"},{class:"small",latex:"\\arctan"},{class:"small",latex:"\\arctg"},{class:"small",latex:"\\tg"}]},{latex:"\\exp",insert:"\\exp\\left(#0\\right)",variants:["\\exponentialE^{#0}"]},"\\left\\Vert#0\\right\\Vert",{latex:"\\lrArr",shift:"\\leftrightarrow",variants:[{latex:"\\iff",aside:"if and only if"},"\\leftrightarrow","\\leftrightarrows","\\Leftrightarrow",{latex:"^\\biconditional",aside:"biconditional"}]},{latex:"\\vert",shift:"!"},{latex:"#@^{\\complement}",aside:"complement",variants:[{latex:"\\setminus",aside:"set minus"},{latex:"\\smallsetminus",aside:"small set minus"}]},{latex:"\\subset",shift:"\\subseteq",variants:["\\subset","\\subseteq","\\subsetneq","\\varsubsetneq","\\subsetneqq","\\nsubset","\\nsubseteq","\\supset","\\supseteq","\\supsetneq","\\supsetneqq","\\nsupset","\\nsupseteq"]},{latex:"#@^{\\prime}",shift:"#@^{\\doubleprime}",variants:["#@^{\\doubleprime}","#@\\degree"]},{latex:"\\mathrm{d}",shift:"\\partial",variants:["\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{latex:"\\infty",variants:["\\aleph_0","\\aleph_1","\\omega","\\mathfrak{m}"]}],[{label:"[shift]",width:2},{class:"box",latex:",",shift:";",variants:[";","?"]},{class:"box",latex:"\\colon",shift:"\\Colon",variants:[{latex:"\\Colon",aside:"such that",class:"box"},{latex:":",aside:"ratio",class:"box"},{latex:"\\vdots",aside:"",class:"box"},{latex:"\\ddots",aside:"",class:"box"},{latex:"\\ldotp",aside:"low dot",class:"box"},{latex:"\\cdotp",aside:"center dot",class:"box"},{latex:"\\ldots",aside:"low ellipsis",class:"box"},{latex:"\\cdots",aside:"center ellipsis",class:"box"},{latex:"\\therefore",aside:"therefore",class:"box"},{latex:"\\because",aside:"because",class:"box"}]},{class:"box",latex:"\\cdot",aside:"centered dot",shift:"\\ast",variants:["\\circ","\\bigcirc","\\bullet","\\odot","\\oslash","\\circledcirc","\\ast","\\star","\\times","\\doteq","\\doteqdot"]},"[separator]","[left]","[right]",{label:"[backspace]",width:1,class:"action hide-shift"},{label:"[action]",width:1}]]},compact:{label:"compact",rows:[["[+]","[-]","[*]","[/]","[=]","[.]","[(]","[)]","\\sqrt{#0}","#@^{#?}"],["[1]","[2]","[3]","[4]","[5]","[6]","[7]","[8]","[9]","[0]"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]},minimalist:{label:"minimalist",layers:[{style:`
.minimalist-backdrop {
display: flex;
justify-content: center;
}
.minimalist-container {
--keycap-height: 40px;
--keycap-max-width: 53px;
--keycap-small-font-size: 12px;
background: var(--keyboard-background);
padding: 20px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border: 1px solid var(--keyboard-border);
box-shadow: 0 0 32px rgb(0 0 0 / 30%);
}
`,backdrop:"minimalist-backdrop",container:"minimalist-container",rows:[["+","-","\\times",{latex:"\\frac{#@}{#0}",class:"small"},"=","[.]","(",")",{latex:"\\sqrt{#0}",class:"small"},{latex:"#@^{#?}",class:"small"}],["1","2","3","4","5","6","7","8","9","0"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]}]},"numeric-only":{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",id:"numeric-only",rows:[["7","8","9","[separator]",{label:"[backspace]",width:2}],["4","5","6","[separator]","[separator]","[separator]"],["1","2","3","[separator]","[separator]","[separator]"],["0",{label:"[.]",variants:[]},"-","[separator]","[left]","[right]"]]}},B0={0:["\\varnothing","\\infty"],1:["\\frac{1}{#@}","#@^{-1}","\\times 10^{#?}","\\phi","\\imaginaryI"],2:["\\frac{1}{2}","#@^2","\\sqrt2","\\exponentialE"],3:["\\frac{1}{3}","#@^3","\\sqrt3","\\pi"],4:["\\frac{1}{4}","#@^4"],5:["\\frac{1}{5}","#@^5","\\sqrt5"],6:["\\frac{1}{6}","#@^6"],7:["\\frac{1}{7}","#@^7"],8:["\\frac{1}{8}","#@^8"],9:["\\frac{1}{9}","#@^9"],".":[".",",",";","\\colon"],",":["{,}",".",";","\\colon"],a:[{latex:"\\aleph",aside:"aleph"},{latex:"\\forall",aside:"for all"},"\xE0","\xE1","\xE2","\xE4","\xE6"],b:[{latex:"\\beth",aside:"beth"}],c:[{latex:"\\C",aside:"set of complex numbers"},"\xE7"],d:[{latex:"\\daleth",aside:"daleth"}],e:[{latex:"\\exponentialE",aside:"exponential e"},{latex:"\\exists",aside:"there is"},{latex:"\\nexists",aside:"there isn\u2019t"},"\xE8","\xE9","\xEA","\xEB"],g:[{latex:"\\gimel",aside:"gimel"}],h:[{latex:"\\hbar",aside:"h bar"},{latex:"\\hslash",aside:"h slash"}],i:[{latex:"\\imaginaryI",aside:"imaginary i"},"\xEC","\xED","\xEE","\xEF"],j:[{latex:"\\imaginaryJ",aside:"imaginary j"}],l:[{latex:"\\ell",aside:"ell"}],n:[{latex:"\\mathbb{N}",aside:"set of natural numbers"},"\xF1"],o:["\xF8","\u0153","\xF2","\xF3","\xF4","\xF6","\u0153"],p:[{latex:"\\mathbb{P}",aside:"set of primes"}],q:[{latex:"\\mathbb{Q}",aside:"set of rational numbers"}],r:[{latex:"\\mathbb{R}",aside:"set of real numbers"}],u:["\xF9","\xFA","\xFB","\xFC"],z:[{latex:"\\mathbb{Z}",aside:"set of integers"}],y:["\xFD","\xFF"],space:[{latex:'\\char"203A\\!\\char"2039',insert:"\\!",aside:"negative thin space<br>\u207B\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\,\\char"2039',insert:"\\,",aside:"thin space<br>\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\:\\char"2039',insert:"\\:",aside:"medium space<br>\u2074\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\;\\char"2039',insert:"\\;",aside:"thick space<br>\u2075\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\ \\char"2039',insert:"\\ ",aside:"\u2153 em"},{latex:'\\char"203A\\enspace\\char"2039',insert:"\\enspace",aside:"\xBD em"},{latex:'\\char"203A\\quad\\char"2039',insert:"\\quad",aside:"1 em"},{latex:'\\char"203A\\qquad\\char"2039',insert:"\\qquad",aside:"2 em"}]},Fd;function Mf(a,y){var b,E,ee;const ie=_u.singleton;if(!ie)return;const oe=Kc(a),ce=(E=(b=ie.getKeycap(oe==null?void 0:oe.id))==null?void 0:b.variants)!=null?E:"";if(typeof ce=="string"&&!Sf(ce)||Array.isArray(ce)&&ce.length===0){y==null||y();return}const he={};let pe="";for(const Dt of hg(ce)){const xn=kf(Dt),St=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);he[St]=xn;const[tn,Mn]=N0(xn);pe+=`<div id=${St} class="item ${Mn}">${tn}</div>`}const ve=document.createElement("div");ve.setAttribute("aria-hidden","true"),ve.className="MLK__variant-panel",ve.style.height="auto";const De=Object.keys(he).length;let Oe=5;De===1?Oe=1:De===2||De===4?Oe=2:De===3||De===5||De===6?Oe=3:De>=7&&De<14&&(Oe=4),ve.style.width=`calc(var(--variant-keycap-length) * ${Oe} + 12px)`,ve.innerHTML=vp.createHTML(pe),Ll.open({root:(ee=ie==null?void 0:ie.container)==null?void 0:ee.querySelector(".ML__keyboard"),child:ve}),Fd=new AbortController;const{signal:We}=Fd,Ze=a==null?void 0:a.getBoundingClientRect();if(Ze){Ze.top-ve.clientHeight<0&&(ve.style.width="auto",De<=6?ve.style.height="56px":De<=12?ve.style.height="108px":De<=18?ve.style.height="205px":ve.classList.add("compact"));const Dt=Math.max(0,Math.min(window.innerWidth-ve.offsetWidth,(Ze.left+Ze.right-ve.offsetWidth)/2)),xn=Ze.top-ve.clientHeight+5;ve.style.transform=`translate(${Dt}px, ${xn}px)`,ve.classList.add("is-visible"),requestAnimationFrame(()=>{ve.addEventListener("pointerup",St=>{const tn=Kc(St.target);!(tn!=null&&tn.id)||!he[tn.id]||(Eh(he[tn.id]),Od(),y==null||y(),St.preventDefault())},{capture:!0,passive:!1,signal:We}),ve.addEventListener("pointerenter",St=>{const tn=Kc(St.target);!(tn!=null&&tn.id)||!he[tn.id]||tn.classList.add("is-active")},{capture:!0,signal:We}),ve.addEventListener("pointerleave",St=>{const tn=Kc(St.target);!(tn!=null&&tn.id)||!he[tn.id]||tn.classList.remove("is-active")},{capture:!0,signal:We}),window.addEventListener("pointercancel",()=>{Od(),y==null||y()},{signal:We}),window.addEventListener("pointerup",()=>{Od(),y==null||y()},{signal:We})})}}function Od(){Fd==null||Fd.abort(),Fd=null,Ll.state==="open"&&Ll.close()}function dg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(_t))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+_t[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(yt))y.push({class:"swatch-button",label:'<span style="background:'+yt[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function Sf(a){return B0[a]!==void 0}function hg(a){var y;return typeof a!="string"?a:(B0[a]||(B0[a]=(y=dg(a))!=null?y:[]),B0[a])}function fg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function pg(a){return Object.keys(a).map(y=>`${y} {${fg(a[y])}}`).join("")}function Pd(a){if(!a)return"";const y=new ur,b=new Ut({mode:"math",type:"root",body:Bo(a,{context:y,args:ee=>ee==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=kc(kd(new An(b.render(y),{classes:"ML__base"}),y));return Dc(E,{classes:"ML__latex"}).toMarkup()}function zd(a){var y;if(Array.isArray(a))return a.map(E=>zd(E)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(E=>E.map(ee=>kf(ee)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function mg(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const ce=Nd();ce&&(E=ce.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[Ye.locale.slice(0,2)])!=null?a:"qwerty")}const ee={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},ie=(y=ee[E])!=null?y:ee.qwerty,oe=E==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const ce of ie){const he=[];for(const pe of ce)/[a-z]/.test(pe)?he.push({label:pe,class:"hide-shift",shift:{label:pe.toUpperCase()},variants:Sf(pe)?pe:void 0}):pe==="~"?E!=="dvorak"?he.push("[backspace]"):he.push({label:"[backspace]",width:1}):pe==="^"?he.push("[shift]"):pe===" "&&he.push("[separator-5]");oe.push(he)}return oe.push(["[-]","[+]","[=]",{label:" ",width:1.5},{label:",",shift:";",variants:".",class:"hide-shift"},"[.]","[left]","[right]",{label:"[action]",width:1.5}]),{label:"abc",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.alphabetic",layers:zd({rows:oe})}}function Cf(a){if(a==="alphabetic")return mg();if(typeof a=="string")return console.assert(Ef[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),Cf(Ef[a]);let y;if("rows"in a&&Array.isArray(a.rows)){console.assert(!("layers"in a||"markup"in a),'MathLive 0.98.5: when providing a "rows" property, "layers" and "markup" are ignored');const ee=a,{rows:ie}=ee,oe=Ve(ee,["rows"]);y=Me(we({},oe),{layers:zd({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ee=a,{markup:ie}=ee,oe=Ve(ee,["markup"]);y=Me(we({},oe),{layers:zd(a.markup)})}else y=we({},a),"layers"in a?y.layers=zd(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const ee of y.layers)if(ee.rows)for(const ie of ee.rows.flat()){Uc(ie)&&(b=!0);const oe=ie.command;typeof oe=="string"&&["undo","redo","cut","copy","paste"].includes(oe)&&(E=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!E),y}function gg(a,y){var b,E;let ee='<div class="left">';if(a.normalizedLayouts.length>1)for(const[ie,oe]of a.normalizedLayouts.entries()){const ce=oe,he=[ie===y?"selected":"layer-switch"];ce.tooltip&&he.push("MLK__tooltip"),ce.labelClass&&he.push(...ce.labelClass.split(" ")),ee+=`<div class="${he.join(" ")}"`,ce.tooltip&&(ee+=" data-tooltip='"+((b=ut(ce.tooltip))!=null?b:ce.tooltip)+"' "),ie!==y&&(ee+=`data-layer="${ce.layers[0].id}"`),ee+=`>${(E=ce.label)!=null?E:"untitled"}</div>`}return ee+="</div>",ee}function vg(a,y){let b="";if(a.editToolbar==="none")return"";const ee=[];y.selectionIsCollapsed?ee.push("undo","redo","pasteFromClipboard"):ee.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const ie={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${ut("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${ut("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${ut("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${ut("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${ut("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=ee.map(oe=>ie[oe]).join(""),b}function yg(a){for(const y of a)bg(y)}function bg(a){const y=_u.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(E){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[E,ee]=N0(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function xg(){As("virtual-keyboard"),As("core"),k0()}function wg(){x("core"),x("virtual-keyboard")}var Ag=`<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-delete-backward" viewBox="0 0 576 512">
<path d="M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z"/>
</symbol>
<symbol id="svg-shift" viewBox="0 0 384 512">
<path d="M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z"/>
</symbol>
<symbol id="svg-commit" viewBox="0 0 512 512">
<path d="M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z"/>
</symbol>
<symbol id="circle-plus" viewBox="0 0 512 512"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"/></symbol>
<symbol id="svg-command" viewBox="0 0 640 512">
<path d="M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z"/>
</symbol>
<symbol id="svg-undo" viewBox="0 0 512 512">
<path d="M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z"/>
</symbol>
<symbol id="svg-redo" viewBox="0 0 512 512">
<path d="M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z"/>
</symbol>
<symbol id="svg-arrow-left" viewBox="0 0 320 512">
<path d="M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z"/>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 320 512">
<path d="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z"/>
</symbol>
<symbol id="svg-tab" viewBox="0 0 448 512">
<path d="M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z"/>
</symbol>
<symbol id="svg-paste" viewBox="0 0 512 512"><path d="M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z"/></symbol>
<symbol id="svg-cut" viewBox="0 0 512 512"><path d="M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z"/></symbol>
<symbol id="svg-copy" viewBox="0 0 512 512"><path d="M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"/>
</symbol>
<symbol id="svg-angle-double-right" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/>
</symbol>
<symbol id="svg-angle-double-left" viewBox="0 0 512 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/>
</symbol>
<symbol id="svg-trash" viewBox="0 0 448 512">
<path d="M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z"/>
</symbol>
<symbol id="svg-keyboard-down" viewBox="0 0 576 512"><path d="M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z"/></symbol>
</svg>`;function Eg(a){a.resetKeycapRegistry(),xg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Ag+a.normalizedLayouts.map((oe,ce)=>Mg(a,oe,ce)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Cg,{passive:!1});const ee=y.querySelectorAll(".ML__edit-toolbar");if(ee)for(const oe of ee)oe.addEventListener("click",ce=>{var he,pe;let ve=ce.target,De="";for(;ve&&!De;)De=(he=ve==null?void 0:ve.getAttribute("data-command"))!=null?he:"",ve=(pe=ve==null?void 0:ve.parentElement)!=null?pe:null;De&&a.executeCommand(JSON.parse(De))});yg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const ie=y.querySelectorAll(".MLK__layer");console.assert(ie.length>0,"No virtual keyboards available");for(const oe of ie)oe.addEventListener("pointerdown",ce=>ce.preventDefault());return a.currentLayer=a.latentLayer,y}function Mg(a,y,b){const E=[];if(!("layers"in y))return"";for(const ee of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${ee.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(gg(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Sg(a,ee)),E.push("</div>");return E.join("")}function Sg(a,y){if(typeof y=="string")return y;let b="";if(typeof y.style=="string"?b+=`<style>${y.style}</style>`:typeof y.style=="object"&&(b+=`<style>${pg(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const E of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const ee of E)if(ee){const ie=a.registerKeycap(ee),[oe,ce]=N0(ee);/(^|\s)separator/.test(ce)?b+=`<div class="${ce}"`:b+=`<div tabindex="-1" id="${ie}" class="${ce}"`,ee.tooltip&&(b+=` data-tooltip="${ee.tooltip}"`),b+=`>${oe}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function N0(a,y={shifted:!1}){var b,E,ee,ie,oe,ce,he;let pe="",ve=(b=a.class)!=null?b:"";if(y.shifted&&Uc(a)&&(ve+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?pe=Pd(a.shift):typeof a.shift=="object"&&(pe=a.shift.label?a.shift.label:(E=Pd(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(ve=(ie=(ee=a.shift.class)!=null?ee:a.class)!=null?ie:"");else{if(pe=a.label?a.label:(oe=Pd(a.latex||a.insert||"")||a.key)!=null?oe:"",a.shift){let De;typeof a.shift=="string"?De=Pd(a.shift):a.shift.label?De=a.shift.label:De=(ce=Pd(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?ce:"",pe+=`<span class="MLK__shift">${De}</span>`}a.aside&&(pe+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(ve)&&(ve+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(ve)||(ve+=" MLK__keycap"),!/\bw[0-9]+\b/.test(ve)&&a.width&&(ve+=(he={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?he:""),[pe,ve||"MLK__keycap"]}var sc={"[left]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>",command:["performWithFeedback","moveToPreviousChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>",command:["performWithFeedback","extendSelectionBackward"]}},"[right]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>",command:["performWithFeedback","moveToNextChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>",command:["performWithFeedback","extendSelectionForward"]}},"[up]":{class:"action hide-shift",label:"\u2191",command:["performWithFeedback","moveUp"],shift:{label:"\u219F",command:["performWithFeedback","extendSelectionUpward"]}},"[down]":{class:"action hide-shift",label:"\u2193",command:["performWithFeedback","moveDown"],shift:{label:"\u21A1",command:["performWithFeedback","extendSelectionDownward"]}},"[return]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[action]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{label:"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>",command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[hr]":{class:"separator horizontal-rule"},"[hide-keyboard]":{class:"action",command:["hideVirtualKeyboard"],width:1.5,label:"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>"},"[.]":{variants:".",command:["performWithFeedback","insertDecimalSeparator"],shift:",",class:"big-op hide-shift",label:"."},"[,]":{variants:",",command:["performWithFeedback","insertDecimalSeparator"],shift:".",class:"big-op hide-shift",label:","},"[+]":{variants:[{latex:"\\sum_{#0}^{#0}",class:"small"},"\\oplus"],latex:"+",label:"+",class:"big-op hide-shift",shift:{latex:"\\sum",insert:"\\sum",class:"small"}},"[-]":{variants:["\\pm","\\ominus"],latex:"-",label:"&#x2212;",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"&divide;"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"&times;",shift:{latex:"\\times"},class:"big-op hide-shift"},"[=]":{variants:["\\neq","\\equiv","\\varpropto","\\thickapprox","\\lt","\\gt","\\le","\\ge"],latex:"=",label:"=",shift:{label:"\u2260",latex:"\\ne"},class:"big-op hide-shift"},"[backspace]":{class:"action bottom right hide-shift",width:1.5,command:["performWithFeedback","deleteBackward"],label:"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>",shift:{class:"action warning",label:"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>",command:"deleteAll"}},"[undo]":{class:"ghost if-can-undo",command:"undo",label:"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>",tooltip:"tooltip.undo"},"[redo]":{class:"ghost if-can-redo",command:"redo",label:"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>",tooltip:"tooltip.redo"},"[(]":{variants:[{latex:"\\lbrack",key:"["},"\\langle","\\lfloor","\\lceil",{latex:"\\lbrace",key:"{"}],key:"(",label:"(",shift:{label:"[",key:"["},class:"hide-shift"},"[)]":{variants:[{latex:"\\rbrack",key:"]"},"\\rangle","\\rfloor","\\rceil",{latex:"\\rbrace",key:"]"}],key:")",label:")",shift:{label:"]",latex:"\\rbrack"},class:"hide-shift"},"[0]":{variants:"0",latex:"0",label:"0",shift:"\\infty",class:"hide-shift"},"[1]":{variants:"1",latex:"1",label:"1",shift:"#@^{-1}",class:"hide-shift"},"[2]":{variants:"2",latex:"2",label:"2",shift:"#@^2",class:"hide-shift"},"[3]":{variants:"3",latex:"3",label:"3",shift:"#@^3",class:"hide-shift"},"[4]":{variants:"4",latex:"4",label:"4",shift:"#@^4",class:"hide-shift"},"[5]":{variants:"5",latex:"5",label:"5",shift:"#@^5",class:"hide-shift"},"[6]":{variants:"6",latex:"6",label:"6",shift:"#@^6",class:"hide-shift"},"[7]":{variants:"7",latex:"7",label:"7",shift:"#@^7",class:"hide-shift"},"[8]":{variants:"8",latex:"8",label:"8",shift:"#@^8",class:"hide-shift"},"[9]":{variants:"9",latex:"9",label:"9",shift:"#@^9",class:"hide-shift"},"[separator-5]":{class:"separator",width:.5},"[separator]":{class:"separator"},"[separator-10]":{class:"separator"},"[separator-15]":{class:"separator",width:1.5},"[separator-20]":{class:"separator",width:2},"[separator-50]":{class:"separator",width:5},"[shift]":{class:"shift bottom left",width:1.5,label:"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>"},"[foreground-color]":{variants:"foreground-color",command:["applyStyle",{color:"red"}],label:"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>"},"[background-color]":{variants:"background-color",command:["applyStyle",{backgroundColor:"yellow"}],label:"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>"}};function kf(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!sc[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&sc[a.label]&&(b=Me(we(we({},sc[a.label]),a),{label:sc[a.label].label})),"key"in a&&a.key&&sc[a.key]&&(b=Me(we(we({},sc[a.key]),a),{key:sc[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=we(we({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=we(we({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=we(we({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=we(we({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var _d;function Cg(a){var y;if(a.button!==0)return;const b=_u.singleton;if(!b)return;let E=a.target;for(;E&&!E.getAttribute("data-layer");)E=E.parentElement;if(E){b.currentLayer=(y=E.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const ee=Kc(a.target);if(!(ee!=null&&ee.id))return;const ie=b.getKeycap(ee.id);if(!ie)return;console.assert(a.type==="pointerdown");const oe=new AbortController,ce=oe.signal;ee.classList.add("is-pressed"),ee.addEventListener("pointerenter",I0(oe),{capture:!0,signal:ce}),ee.addEventListener("pointerleave",I0(oe),{capture:!0,signal:ce}),ee.addEventListener("pointercancel",I0(oe),{signal:ce}),ee.addEventListener("pointerup",I0(oe),{signal:ce}),Uc(ie)&&(ee.classList.add("is-active"),b.shiftPressCount++),ie.variants&&(_d&&clearTimeout(_d),_d=setTimeout(()=>{ee.classList.contains("is-pressed")&&(ee.classList.remove("is-pressed"),ee.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Mf(ee,()=>{oe.abort(),ee==null||ee.classList.remove("is-active")}))},300)),a.preventDefault()}function I0(a){return y=>{const b=Kc(y.target);if(!(b!=null&&b.id))return;const E=_u.singleton;if(!E)return;const ee=E.getKeycap(b.id);if(ee){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Uc(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Uc(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){_d&&clearTimeout(_d),Uc(ee)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&ee.shift?typeof ee.shift=="string"?E.executeCommand(["insert",ee.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Eh(ee.shift):Eh(ee),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Eh(a){var y;let b=a.command;!b&&a.insert&&(b=["insert",a.insert,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),!b&&a.key&&(b=["typedText",a.key,{focus:!0,feedback:!0,simulateKeystroke:!0}]),!b&&a.latex&&(b=["insert",a.latex,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),b||(b=["typedText",a.label,{focus:!0,feedback:!0,simulateKeystroke:!0}]),(y=_u.singleton)==null||y.executeCommand(b)}function kg(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function Kc(a){if(!a)return;let y=a;for(;y&&!kg(y);)y=y.parentElement;return y!=null?y:void 0}function Uc(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var _u=class tm{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,E;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(ee=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(E=window.top)==null||E.addEventListener("message",this)}catch(ee){window.addEventListener("message",this)}document.body.addEventListener("focusin",ee=>{const ie=ee.target;ie!=null&&ie.isConnected&&setTimeout(()=>{const oe=Df();oe&&!oe.readOnly&&oe.mathVirtualKeyboardPolicy==="auto"&&Re()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ee=>{ee.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{Df()||this.hide()},300)})}get currentLayer(){var y,b,E;return(E=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?E:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let E=y?this._element.querySelector(`#${y}.MLK__layer`):null;E||(E=this._element.querySelector(".MLK__layer")),E&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),E.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const E of b)for(const ee of E.layers)if(ee.id===y)return ee}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],E=b.findIndex(ee=>ee==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ee=>Cf(ee))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new tm}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const E=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${E}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const ee=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ee}px)`:`${ee}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${E}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const E of b){const ee=this.getKeycap(E.id);if(ee){const[ie,oe]=N0(ee,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(ie),E.className=oe}}}show(y){var b;if(this._visible)return;const E=this.container;if(E&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const ee=this._element.getElementsByClassName("MLK__plate")[0];if(ee&&this.observer.observe(ee),E===window.document.body){const ie=E.style.paddingBottom;this.originalContainerBottomPadding=ie;const oe=ee.offsetHeight-1;E.style.paddingBottom=ie?`calc(${ie} + ${oe}px)`:`${oe}px`}window.addEventListener("mouseup",this),window.addEventListener("blur",this),window.addEventListener("keydown",this,{capture:!0}),window.addEventListener("keyup",this,{capture:!0}),(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.currentLayer=this.latentLayer}this._visible=!0,y!=null&&y.animate?requestAnimationFrame(()=>{this._element&&(this._element.classList.add("animate"),this._element.addEventListener("transitionend",()=>{var ee;return(ee=this._element)==null?void 0:ee.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const E=this.container;if(E&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const ee=this._element.getElementsByClassName("MLK__plate")[0];ee&&this.observer.unobserve(ee),window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("keydown",this,{capture:!0}),window.removeEventListener("keyup",this,{capture:!0}),window.removeEventListener("contextmenu",this,{capture:!0}),Od(),wg(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(E.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Eg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&Mf(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Ah(y)){if(!Ad(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:E}=y;if(E==="execute-command"){const{command:ee}=y,ie=Wc(ee);if(window.top!==void 0&&ie!=="virtual-keyboard")return;this.executeCommand(ee);return}if((E==="connect"||E==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),E!=="disconnect"&&window===window.top){if(E==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(E==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(E==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(E==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,E){if(E||(E=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||E===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:we({type:L0,action:y},b)}));return}if(E)E.postMessage(we({type:L0,action:y},b),{targetOrigin:this.targetOrigin});else if(b.command&&this.dispatchEvent(new CustomEvent("math-virtual-keyboard-command",{detail:b.command})),y==="execute-command"&&Array.isArray(b.command)&&b.command[0]==="insert"){const ee=b.command[1].split("");for(const ie of ee)this.dispatchEvent(new KeyboardEvent("keydown",{key:ie,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:ie,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const E=b.querySelectorAll(".ML__edit-toolbar");if(E)for(const ee of E)ee.innerHTML=vg(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,E=[],ee=Wc(y);return Ne(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ee=Wc(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,ie=>ie[1].toUpperCase()),ee==="virtual-keyboard"?Bl[b].fn(void 0,...E):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function Df(){var a,y;let b=A0(),E=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){E=b.host;break}b=b.parentNode}return E}if(et()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=_u.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>cg.singleton,configurable:!0});function T0(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(Ne(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[ie,oe]=E.split(",").map(ce=>parseInt(ce.trim()));y.scriptDepth=[ie,oe]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ee=a.mathVirtualKeyboardPolicy.toLowerCase();if(ee==="sandboxed"){if(window!==window.top){const ie=_u.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>ie})}ee="manual"}y.mathVirtualKeyboardPolicy=ee;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?Ye.locale.startsWith("fr")?y.letterShapeStyle="french":y.letterShapeStyle="tex":y.letterShapeStyle=a.letterShapeStyle;break;case"defaultMode":["text","math","inline-math"].includes(a.defaultMode)?y.defaultMode=a.defaultMode:(console.error('MathLive 0.98.5: valid values for defaultMode are "text", "math" or "inline-math"'),y.defaultMode="math");break;case"macros":y.macros=Mi(a.macros);break;default:Ne(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=we({},a[b]):y[b]=a[b]}return y}function lc(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const ee of b)a[ee]===null?E[ee]=null:Ne(a[ee])?E[ee]=[...a[ee]]:typeof a[ee]=="object"&&!(a[ee]instanceof Element)&&ee!=="computeEngine"?E[ee]=we({},a[ee]):E[ee]=a[ee];return typeof y=="string"?E[y]:E}function F0(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Bt,backgroundColorMap:Je,letterShapeStyle:Ye.locale.startsWith("fr")?"french":"tex",minFontScale:0,smartMode:!1,smartFence:!0,smartSuperscript:!0,scriptDepth:[1/0,1/0],removeExtraneousParentheses:!0,isImplicitFunction:a=>["\\sin","\\cos","\\tan","\\arcsin","\\arccos","\\arctan","\\arcsec","\\arccsc","\\arsinh","\\arcosh","\\artanh","\\arcsech","\\arccsch","\\arg","\\ch","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\sec","\\sinh","\\sh","\\tanh","\\tg","\\th","\\lg","\\lb","\\log","\\ln"].includes(a),mathModeSpace:"",placeholderSymbol:"\u25A2",contentPlaceholder:"",popoverPolicy:"auto",environmentPopoverPolicy:"off",keybindings:sh,inlineShortcuts:d0,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:oh,value:""}}function Lf(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function ju(a,y){!a||!y||(Ne(a)?a.forEach(b=>ju(b,y)):typeof a=="object"&&!a.style.color&&!a.style.backgroundColor&&!a.style.fontFamily&&!a.style.fontShape&&!a.style.fontSeries&&!a.style.fontSize&&!a.style.variant&&!a.style.variantStyle&&(a.applyStyle(y),ju(a.body,y),ju(a.above,y),ju(a.below,y),ju(a.subscript,y),ju(a.superscript,y)))}function Mh(a,y,b,E){function ee(oe,ce){for(const he of ie)if(he.style[oe]!==ce)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const ie=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&ee("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ee("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ee("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ee("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ee("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ee("fontSize",b.fontSize)&&(b.fontSize=bl),b.variant&&ee("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ee("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const oe of ie)oe.applyStyle(b);return!0}function Dg(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:E}=b;b.caret=void 0;const ee=new su(y,{mode:b.mode});ee.caret=E,b.parent.addChildAfter(ee,b),a.position+=1}}function Lg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}zn(["math","displaymath"],Ks),zn("center",Ks),It("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(E=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(E)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new Hi("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Ei("array","{columns:colspec}",(a,y,b,E)=>new Hi(a,Sh(y),b,{columns:E[0],mathstyleName:"textstyle"})),Ei(["equation","equation*","subequations"],"",(a,y,b)=>new Hi(a,Sh(y),b,{columns:[{align:"c"}]})),Ei(["multline","multline*"],"",Ks),Ei(["align","align*","aligned","eqnarray"],"",Ks),Ei("split","",Ks),Ei(["gather","gathered"],"",Ks),Ei(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",Ks),Ei(["smallmatrix","smallmatrix*"],"[columns:colspec]",Ks),Ei(["cases","dcases","rcases"],"",Ks);function Bg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Sh(a,y=1){return Bg(a)?Array(y).fill([[new Ut({type:"first"}),new ci]]):a.map(b=>b.length===0?[[new Ut({type:"first"})]]:b.map(E=>E.length===0?[new Ut({type:"first"})]:(E[0].type!=="first"&&E.unshift(new Ut({type:"first"})),E)))}function Ks(a,y=[[[]]],b=[],E=[]){switch(y=Sh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new Hi(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new Hi(a,y,b,{mathstyleName:"textstyle"});case"center":return new Hi(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new Hi(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new Hi(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new Hi(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:uc(E[0])});case"bmatrix":case"bmatrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:uc(E[0])});case"Bmatrix":case"Bmatrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:uc(E[0])});case"vmatrix":case"vmatrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:uc(E[0])});case"Vmatrix":case"Vmatrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:uc(E[0])});case"matrix":case"matrix*":return new Hi(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:uc(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new Hi(a,y,b,{mathstyleName:"scriptstyle",columns:uc(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new Hi(a,y,b,{mathstyleName:a==="dcases"?"displaystyle":"textstyle",arraystretch:1.2,leftDelim:"\\lbrace",rightDelim:".",columns:[{align:"l"},{gap:1},{align:"l"}]});case"rcases":return new Hi(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new Hi(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ee=0;for(const ce of y)ee=Math.max(ee,ce.length);const ie=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let oe=2;for(;oe<ee;)ie.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),oe+=2;return ie.push({gap:0}),new Hi(a,y,b,{arraycolsep:0,columns:ie,minColumns:2})}}return new Hi(a,y,b,{mathstyleName:"textstyle"})}function uc(a){return a!=null?a:[{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"}]}function Ng(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof Hi);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof Hi)){const E=a.at(a.position);if(b=E,!b.parent.parent){let ee=a.extractAtoms([a.position,a.lastOffset]),ie=a.extractAtoms([0,a.position]);ie.length===0&&(ie=z0()),ee.length===0&&(ee=z0());let oe;return y.endsWith("column")?(oe=Ks("split",[[ie,ee]]),a.root=oe,cc(oe,0,0)?dc(a,oe,0,0):cc(oe,0,1)?dc(a,oe,0,1):a.position=a.offsetOf(E)):(oe=Ks("lines",[[ie],[ee]]),a.root=oe,cc(oe,0,0)?dc(a,oe,0,0):cc(oe,1,0)?dc(a,oe,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof Nr){const ee=b.parent;let ie=a.extractAtoms([a.position,a.offsetOf(ee.lastChild)]),oe=a.extractAtoms([a.offsetOf(ee.firstChild),a.position]);oe.length===0&&(oe=z0()),ie.length===0&&(ie=z0());let ce="pmatrix";const he=ee.leftDelim,pe=ee.rightDelim;he==="("&&(pe===")"||pe==="?")?ce="pmatrix":(he==="["||he==="\\lbrack")&&(pe==="]"||pe==="\\rbrack"||pe==="?")?ce="bmatrix":he==="\\vert"&&pe==="\\vert"?ce="vmatrix":he==="\\Vert"&&pe==="\\Vert"?ce="Vmatrix":(he==="{"||he==="\\lbrace")&&(pe==="."||pe==="?")&&(ce="cases");const ve=Ks(ce,y.endsWith("column")?[[oe,ie]]:[[oe],[ie]]);return ee.parent.addChildBefore(ve,ee),ee.parent.removeChild(ee),cc(ve,0,0)?dc(a,ve,0,0):y.endsWith("column")?cc(ve,0,1)?dc(a,ve,0,1):a.position=a.offsetOf(b):cc(ve,1,0)?dc(a,ve,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof Hi?[b.parent,b.parentBranch]:[void 0,[0,0]]}function cc(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function Ig(a,y,b,E){const ee=y.getCell(b,E);return ee?[a.offsetOf(ee[0]),a.offsetOf(ee[ee.length-1])]:-1}function dc(a,y,b,E){const ee=Ig(a,y,b,E);typeof ee!="number"&&a.setSelection(ee)}function O0(a,y,b,E,ee){const ie=y.getCell(b,E);ie&&a.setPositionHandlingPlaceholder(a.offsetOf(ie[ee==="start"?0:ie.length-1]))}function P0(a,y){const[b,[E,ee]]=Ng(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),O0(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ee),O0(a,b,E,ee+1,"end");break;case"before row":b.addRowBefore(E),O0(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ee),O0(a,b,E,ee,"start");break}}function Bf(a){return a.contentWillChange({inputType:"insertText"})?(P0(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Tg(a){return a.contentWillChange({inputType:"insertText"})?(P0(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Nf(a){return a.contentWillChange({inputType:"insertText"})?(P0(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Fg(a){return a.contentWillChange({inputType:"insertText"})?(P0(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function If(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",E=".";switch(y){case"pmatrix":case"pmatrix*":b="(",E=")";break;case"bmatrix":case"bmatrix*":b="[",E="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",E="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",E="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",E="\\Vert";break;case"matrix":case"matrix*":b=".",E=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":E="\\rbrace";break}const ee=a.at(a.position),ie=ee.type==="array"?ee:a.parentEnvironment;return ie.environmentName=y,ie.leftDelim=b,ie.rightDelim=E,a.contentDidChange({}),!0}function Tf(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof Hi);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof Hi){const E=b.parent,ee=b.parentBranch;let ie;switch(y){case"row":if(E.rowCount>1){E.removeRow(ee[0]);const oe=E.getCell(Math.max(0,ee[0]-1),ee[1]);ie=a.offsetOf(oe[oe.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(ee[1]);const oe=E.getCell(ee[0],Math.max(0,ee[1]-1));ie=a.offsetOf(oe[oe.length-1])}break}ie&&a.setPositionHandlingPlaceholder(ie)}}function Og(a){return a.contentWillChange({inputType:"deleteContent"})?(Tf(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function Pg(a){return a.contentWillChange({inputType:"deleteContent"})?(Tf(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Es({addRowAfter:Bf,addColumnAfter:Nf,addRowBefore:Tg,addColumnBefore:Fg,removeRow:Og,removeColumn:Pg,setEnvironment:If},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function z0(){return[new ci]}var Ff=class nm{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>nm.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Ff.maximumDepth=1e3;var zg=Ff;function Ch(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let ee;if(me.test(a.at(y).value)){let ie=y,oe;do oe=a.at(ie).mode==="text"&&me.test(a.at(ie).value),ie+=E;while(a.at(ie)&&oe);ee=a.at(ie)?ie-2*E:ie-E}else if(/\s/.test(a.at(y).value)){let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value);)ie+=E;if(!a.at(ie))ee=ie-E;else{let oe=!0;do oe=a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value),ie+=E;while(a.at(ie)&&oe);ee=a.at(ie)?ie-2*E:ie-E}}else{let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value);)ie+=E;ee=a.at(ie)?ie:ie-E;let oe=!0;for(;a.at(ie)&&oe;)oe=a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value),oe&&(ee=ie),ie+=E;ee=a.at(ie)?ie-2*E:ie-E}return ee-(E>0?0:1)}function Qc(a,y,b){var E,ee,ie,oe,ce,he,pe;const ve=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let De=a.at(a.position);if(y==="forward"&&(De.type==="subsup"?(De=De.rightSibling,De||(De=a.at(a.position+1))):De=a.at(a.position+1)),!De)return a.announce("plonk"),!1;let Oe=a.offsetOf(De);if(De instanceof rl)Oe=Ch(a,Oe,y);else if(De instanceof jo)if(De.isSuggestion)for(console.assert(y==="forward");De&&De instanceof jo;)De.isSuggestion=!1,Oe=a.offsetOf(De),De=De.rightSibling;else if(y==="forward"){if(De=De.rightSibling,!De||!(De instanceof jo))return a.announce("plonk"),!1;for(;De&&De instanceof jo&&/[a-zA-Z\*]/.test(De.value);)Oe=a.offsetOf(De),De=De.rightSibling}else{if(De=De.leftSibling,!De||!(De instanceof jo))return a.announce("plonk"),!1;for(;De&&De instanceof jo&&/[a-zA-Z\*]/.test(De.value);)Oe=a.offsetOf(De),De=De.leftSibling}else if(y==="forward"&&De.type==="mopen"){let We=0;do De.type==="mopen"?We+=1:De.type==="mclose"&&(We-=1),De=De.rightSibling;while(!De.isLastSibling&&We!==0);Oe=a.offsetOf(De.leftSibling)}else if(y==="backward"&&De.type==="mclose"){let We=0;do De.type==="mopen"?We+=1:De.type==="mclose"&&(We-=1),De=De.leftSibling;while(!De.isFirstSibling&&We!==0);Oe=a.offsetOf(De)}else if(y==="backward")if(De.type==="first")for(;Oe>0&&De.type==="first";)Oe-=1,De=a.at(Oe);else{const We=De.type;De.type==="subsup"&&(Oe=a.offsetOf(a.at(Oe).leftSibling)),Oe-=1;let Ze=(ee=a.at(Oe))==null?void 0:ee.type;for(;Oe>=0&&Ze===We;)((ie=a.at(Oe))==null?void 0:ie.type)==="subsup"?Oe=a.offsetOf(a.at(Oe).leftSibling):Oe-=1,Ze=a.at(Oe).type}else{const{type:We}=De;let Ze=(oe=a.at(Oe))==null?void 0:oe.type;const{lastOffset:Dt}=a;for(;Oe<=Dt&&(Ze===We||Ze==="subsup");){for(;((ce=a.at(Oe).rightSibling)==null?void 0:ce.type)==="subsup";)Oe=a.offsetOf(a.at(Oe).rightSibling);Oe+=1,Ze=(he=a.at(Oe))==null?void 0:he.type}Oe-=1}if((pe=b==null?void 0:b.extend)!=null&&pe){if(!a.setSelection(a.anchor,Oe))return a.announce("plonk"),!1}else{if(Oe===a.position)return a.announce("plonk"),!1;a.position=Oe}return a.announce("move",ve),a.mathfield.stopCoalescingUndo(),!0}function Nl(a,y,b){var E,ee;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[ce,he]=gf(a);ce!==void 0&&he!==void 0&&a.deleteAtoms([ce,he])}if(y==="upward")return jg(a,b);if(y==="downward")return Rg(a,b);if(b.extend){let ce=_0(a,a.position,y);ce<0&&(ce=0),ce>a.lastOffset&&(ce=a.lastOffset);const he=a.setSelection(a.anchor,ce);return a.mathfield.stopCoalescingUndo(),he}if(a.selectionIsPlaceholder){a.collapseSelection(y);const ce=Nl(a,y);return a.mathfield.stopCoalescingUndo(),ce}let ie=a.position;const oe=ie;if(a.collapseSelection(y)?(ie=a.position,Of(a,ie)||(ie=_0(a,ie,y))):ie=_0(a,ie,y),ie<0||ie>a.lastOffset){let ce=!0;return a.silenceNotifications||(ce=(ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0),ce&&a.announce("plonk"),ce}return a.setPositionHandlingPlaceholder(ie),a.mathfield.stopCoalescingUndo(),a.announce("move",oe),!0}function _0(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||Of(a,y)?y:_0(a,y,b)}function Of(a,y){var b;const E=a.at(y);let ee=E.parent;for(;ee&&!ee.inCaptureSelection;)ee=ee.parent;return!(ee!=null&&ee.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function _g(a,y,b){let E=1/0,ee=0;for(;ee<y.length;ee++){const ie=Fc(a.getHTMLElement(y[ee])).right,oe=Math.abs(b-ie);if(oe<=E)E=oe;else break}return y[ee-1]}function j0(a,y,b,E,ee){const ie=a.mathfield.hasEditablePrompts,oe=ie?b.filter(pe=>pe.type==="prompt"&&!pe.captureSelection):b,ce=Fc(a.mathfield.getHTMLElement(y)).right,he=a.offsetOf(_g(a.mathfield,oe,ce))-(ie?1:0);if(E){const[pe,ve]=a.selection.ranges[0];let De;he<(ee==="up"?pe:ve)?De={ranges:[[he,ve]],direction:"backward"}:De={ranges:[[pe,he]],direction:"forward"},a.setSelection(De)}else a.setPositionHandlingPlaceholder(he);a.announce(`move ${ee}`)}function jg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("backward");const ie=()=>{var he,pe;let ve=!0;return a.silenceNotifications||(ve=(pe=(he=a.mathfield.host)==null?void 0:he.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?pe:!0),a.announce(ve?"plonk":"line"),ve},oe=a.at(a.position);let ce=oe;for(;ce&&ce.parentBranch!=="below"&&!(Array.isArray(ce.parentBranch)&&ce.parent instanceof Hi);)ce=ce.parent;if(Array.isArray(ce==null?void 0:ce.parentBranch)&&ce.parent instanceof Hi){const he=ce.parent;if(ce.parentBranch[0]<1)return ie();const pe=ce.parentBranch[0]-1,ve=he.array[pe][ce.parentBranch[1]];if(!ve.some(Oe=>Oe.type==="prompt"&&!Oe.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();j0(a,oe,ve,ee,"up")}else if(ce){const he=(E=ce.parent.branch("above"))!=null?E:ce.parent.createBranch("above");if(!he.some(ve=>ve.type==="prompt"&&ve.placeholderId)&&a.mathfield.hasEditablePrompts)return ie();j0(a,oe,he,ee,"up")}else return ie();return a.mathfield.stopCoalescingUndo(),!0}function Rg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("forward");const ie=()=>{var he,pe;let ve=!0;return a.silenceNotifications||(ve=(pe=(he=a.mathfield.host)==null?void 0:he.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?pe:!0),a.announce(ve?"plonk":"line"),ve},oe=a.at(a.position);let ce=oe;for(;ce&&ce.parentBranch!=="above"&&!(Array.isArray(ce.parentBranch)&&ce.parent instanceof Hi);)ce=ce.parent;if(Array.isArray(ce==null?void 0:ce.parentBranch)&&ce.parent instanceof Hi){const he=ce.parent;if(ce.parentBranch[0]+1>he.array.length-1)return ie();const pe=ce.parentBranch[0]+1,ve=he.array[pe][ce.parentBranch[1]];if(!ve.some(Oe=>Oe.type==="prompt"&&!Oe.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();j0(a,oe,ve,ee,"down")}else if(ce){const he=(E=ce.parent.branch("below"))!=null?E:ce.parent.createBranch("below");if(!he.some(ve=>ve.type==="prompt")&&a.mathfield.hasEditablePrompts)return ie();j0(a,oe,he,ee,"down")}else return ie();return!0}function Pf(a){const y=a.position,b=a.at(y).parent;return b!=null&&b.parent?(a.position=a.offsetOf(b),a.mathfield.stopCoalescingUndo(),a.announce("move",y),!0):(a.announce("plonk"),!1)}function Hg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!1):E=!0,b=b.parent;return E?y:0}function Wg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!0):E=!1,b=b.parent;return E?y:0}function zf(a){var y;if(a.collapseSelection(),Hg(a)>=a.mathfield.options.scriptDepth[1])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=b.rightSibling)==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new Hs({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function _f(a){var y;if(a.collapseSelection(),Wg(a)>=a.mathfield.options.scriptDepth[0])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=a.at(a.position+1))==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new Hs({style:a.at(a.position).computedStyle}),b),b=a.at(a.position+1)),b.createBranch("subscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.subscript[0]))),!0}function Kg(){function a(he){const pe=[],ve=[];return[...he.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((Oe,We)=>{const Ze=E(Oe);Ze===0?pe.push(Oe):ve.push({documentOrder:We,tabIndex:Ze,node:Oe})}),ve.sort((Oe,We)=>Oe.tabIndex===We.tabIndex?Oe.documentOrder-We.documentOrder:Oe.tabIndex-We.tabIndex).map(Oe=>Oe.node).concat(pe)}function y(he){return!(!b(he)||ee(he)||E(he)<0)}function b(he){return!(he.disabled||he.type==="hidden"&&he.tagName.toUpperCase()==="INPUT"||ce(he))}function E(he){var pe;const ve=Number.parseInt((pe=he.getAttribute("tabindex"))!=null?pe:"NaN",10);return Number.isNaN(ve)?he.contentEditable==="true"||(he.nodeName==="AUDIO"||he.nodeName==="VIDEO")&&he.getAttribute("tabindex")===null?0:he.tabIndex:ve}function ee(he){return he.tagName.toUpperCase()==="INPUT"&&he.type==="radio"&&!oe(he)}function ie(he,pe){for(const ve of he)if(ve.checked&&ve.form===pe)return ve;return null}function oe(he){var pe;if(!he.name)return!0;const De=((pe=he.form)!=null?pe:he.ownerDocument).querySelectorAll('input[type="radio"][name="'+he.name+'"]'),Oe=ie(De,he.form);return!Oe||Oe===he}function ce(he){if(!et()||he===document.activeElement||he.contains(document.activeElement))return!1;if(getComputedStyle(he).visibility==="hidden")return!0;const pe=he.getBoundingClientRect();if(pe.width===0||pe.height===0)return!0;for(;he;){if(getComputedStyle(he).display==="none")return!0;he=he.parentElement}return!1}return et()?a(document.body):[]}function ds(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const ee=a.offsetOf(y[0]),ie=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ee,ie):a.setSelection(ie,ee),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?ds(a,[y.leftSibling,y]):ds(a,[y,y.leftSibling])}function sl(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const E=a.offsetOf(y);y.type==="placeholder"?a.setSelection(E-1,E):a.position=E}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function R0(a,y,b=!0){var E,ee;const ie=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Nl(a,y);let oe;const ce=a.at(a.anchor).parentPrompt;ce?y==="forward"?oe=a.offsetOf(ce)+1:oe=a.offsetOf(ce.leftSibling):oe=Math.max(a.position+ie,0);const he=kh(a,oe,y);if(!he||y==="forward"&&a.offsetOf(he)<oe||y==="backward"&&a.offsetOf(he)>oe){if(!b||!((ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ee))return a.announce("plonk"),!1;const ve=Kg();if(!document.activeElement||ve.length<=1)return a.announce("plonk"),!1;let De=ve.indexOf(document.activeElement)+ie;return De<0&&(De=ve.length-1),De>=ve.length&&(De=0),ve[De].focus(),a.mathfield.stopCoalescingUndo(),!0}return sl(a,he),!0}function kh(a,y=0,b="forward"){return a.findAtom(E=>E.type==="placeholder"||E.type==="prompt"||!a.mathfield.readOnly&&E.treeDepth>2&&E.isFirstSibling&&E.isLastSibling,y,b)}Es({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:E}=b;if(!E)return a.announce("plonk"),!1;const ee=b.parentBranch;let ie;if(typeof ee=="string"&&(ie=y[ee]),!ie){const ce=b.subsupPlacement?_f(a):zf(a);return a.mathfield.stopCoalescingUndo(),ce}E.branch(ie)||E.createBranch(ie);const oe=a.setSelection(a.getBranchRange(a.offsetOf(E),ie));return a.mathfield.stopCoalescingUndo(),oe},moveBeforeParent:a=>{const{parent:y}=a.at(a.position);return y?(a.position=a.offsetOf(y),a.mathfield.stopCoalescingUndo(),!0):(a.announce("plonk"),!1)},moveAfterParent:a=>Pf(a),moveToNextChar:a=>Nl(a,"forward"),moveToPreviousChar:a=>Nl(a,"backward"),moveUp:a=>Nl(a,"upward"),moveDown:a=>Nl(a,"downward"),moveToNextWord:a=>Qc(a,"forward"),moveToPreviousWord:a=>Qc(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,E,ee;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return R0(a,"forward");const ie=a.at(a.position);if(ie.mode==="text"){if(a.selectionIsCollapsed){let Oe=ie;for(;Oe&&Oe.mode==="text";)Oe=Oe.leftSibling;let We=ie;for(;((y=We.rightSibling)==null?void 0:y.mode)==="text";)We=We.rightSibling;if(Oe&&We)return ds(a,[Oe,We])}if(ie.rightSibling.mode==="text"){let Oe=ie;for(;Oe&&Oe.mode==="text";)Oe=Oe.rightSibling;return Oe?(sl(a,(b=Oe.leftSibling)!=null?b:Oe),a.mathfield.switchMode("math"),!0):sl(a,a.lastOffset)}}const ce=a.at(a.anchor).parentPrompt,he=ce?a.offsetOf(ce)+1:Math.max(a.position+1,0),pe=kh(a,he,"forward");if(pe)return sl(a,pe);const ve=jf(a,ie,Oe=>Oe.type==="leftright"||Oe.type==="text","forward");if(ve){if(ve.mode==="text"){let Oe=ve;for(;Oe&&Oe.mode==="text";)Oe=Oe.rightSibling;return ds(a,[(E=ve.leftSibling)!=null?E:ve,(ee=Oe.leftSibling)!=null?ee:Oe])}return ds(a,ve)}const De=ie.parent;if(De){if(De.type==="leftright"||De.type==="surd")return ds(a,De);if(ie.parentBranch==="superscript"&&De.subscript)return ds(a,De.subscript);if(ie.parentBranch==="above"&&De.below)return ds(a,De.below);if(ie.parentBranch==="superscript"||ie.parentBranch==="subscript")return sl(a,De);if(ie.parentBranch==="above"||ie.parentBranch==="below")return ds(a,De)}return sl(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return R0(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let ce=b;for(;ce&&ce.mode==="text";)ce=ce.leftSibling;let he=b;for(;((y=he.rightSibling)==null?void 0:y.mode)==="text";)he=he.rightSibling;if(ce&&he)return ds(a,[ce,he])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?sl(a,b):sl(a,0)}const ee=a.at(a.anchor).parentPrompt,ie=ee?a.offsetOf(ee.leftSibling):Math.max(a.position-1,0),oe=kh(a,ie,"backward");if(oe)return sl(a,oe);if(E==="math"){const ce=jf(a,b,pe=>pe.type==="leftright"||pe.type==="text","backward");if(ce){if(ce.mode==="text"){let pe=ce;for(;pe&&pe.mode==="text";)pe=pe.leftSibling;return ds(a,[ce,pe])}return ds(a,ce)}const he=b.parent;if(he){if(he.type==="leftright"||he.type==="surd")return ds(a,he);if(b.parentBranch==="subscript"&&he.superscript)return ds(a,he.superscript);if(b.parentBranch==="below"&&he.above)return ds(a,he.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return sl(a,he);if(b.parentBranch==="above"||b.parentBranch==="below")return ds(a,he)}return sl(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:zf,moveToSubscript:_f},{target:"model",changeSelection:!0}),Es({moveToNextPlaceholder:a=>R0(a,"forward"),moveToPreviousPlaceholder:a=>R0(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function jf(a,y,b,E){if(E==="forward"){let ie=y.rightSibling;for(;ie&&!b(ie);)ie=ie.rightSibling;return ie}let ee=y.leftSibling;for(;ee&&!b(ee);)ee=ee.leftSibling;return ee}function H0(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1,ie="";for(;!ee;){const oe=a.at(E);ee=y===0||oe===void 0||oe.type==="first"||oe.mode!=="math"||!(oe.type&&/mord|mpunct|operator/.test(oe.type)||oe.type==="mop"&&/[a-zA-Z ]+/.test(oe.value))||!oe.hasEmptyBranch("superscript")||!oe.hasEmptyBranch("subscript")||typeof b=="function"&&!b(oe),ee||(oe.mode="text",oe.command=oe.value,oe.verbatimLatex=void 0,ie+=oe.value),E-=1,y-=1}a.contentDidChange({data:ie,inputType:"insertText"})}function hc(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1;const ie=[];for(;!ee;){const oe=a.at(E);ee=y===0||!oe||oe.type==="first"||oe.isFirstSibling||oe.mode!=="text"||oe.value===" "||typeof b=="function"&&!b(oe),ee||(ie.push(Ut.serialize([oe],{defaultMode:"math"})),oe.mode="math"),E-=1,y-=1}Dh(a),a.contentDidChange({data:rr(ie),inputType:"insertText"})}function Dh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const E=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=E,a.contentDidChange({inputType:"deleteContent"})}}function Ug(a){let y="",b=a.position,E=!1;for(;!E;){const ee=a.at(b);E=!(ee&&(ee.mode==="text"||ee.mode==="math"&&ee.type&&/mord|mpunct/.test(ee.type))),E||(y=ee.value+y),b-=1}return y}function Qg(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!w0(b))return!1;const ee=jc(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ee));const ie=Ug(E)+ee;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ee))return!0;if(/[\^_]/.test(ee))return/(^|\s)[a-zA-Z][^_]$/.test(ie)&&hc(E,1),!0;const oe={")":"(","}":"{","]":"["}[ee],{parent:ce}=E.at(E.position);if(oe&&ce instanceof Nr&&ce.leftDelim===oe)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(ie))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ee))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(ie))return hc(E,1),!1;if(/\D\.[^\d\s]$/.test(ie)){hc(E,1);const he=E.at(E.position);return he.value="\u22C5",he.style.variant="normal",he.command="\\cdot",he.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(ie)||/\.\d$/.test(ie)||/\([\d+\-.]$/.test(ie))return hc(E,1),!0;if(/\([a-z][,;]$/.test(ie))return hc(E,2),!0;if(/[\d+\-=><*|]$/.test(ee))return Dh(E),!0}else{if(y==="[Space]")return H0(E,void 0,oe=>/[a-z][:,;.]$/.test(oe.value)),!0;if(/[a-zA-Z]{3,}$/.test(ie)&&!/(dxd|abc|xyz|uvw)$/.test(ie))return H0(E,void 0,oe=>/[a-zA-Z]/.test(oe.value)),!0;if(/(^|\W)(if)$/i.test(ie))return H0(E,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(ie)&&!/(αβγ)$/.test(ie))return H0(E,void 0,oe=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(oe.value)),!0;if(ee==="?"||ee==="."&&!/[\d-+]\.$/.test(ie))return!0}return!1}function Gg(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=Rf(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(gh(y)||y)+"</span>"+b.innerHTML),b.style.visibility="visible",setTimeout(()=>{b.childNodes.length>0&&b.childNodes[b.childNodes.length-1].remove(),b.childNodes.length===0&&(b.style.visibility="hidden")},3e3)}function Vg(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=Rf();y.innerHTML=""}else{const y=M0("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function Rf(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(As("keystroke-caption"),As("core"),M0("mathlive-keystroke-caption-panel"))}function Yg(){document.getElementById("mathlive-keystroke-caption-panel")&&(yh("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function Hf(a,y){var b,E,ee;const{model:ie}=a,oe=pf(y);if(y.isTrusted){zm(y);const We=Nd();a.keyboardLayout!==We.id&&(a.keyboardLayout=We.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,oe),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let ce,he="",pe;const ve=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(ie.mode==="math")if(oe==="[Backspace]")ve.pop();else if(!w0(y))a.flushInlineShortcutBuffer();else{const We=jc(y),Ze=[...(E=(b=ve[ve.length-1])==null?void 0:b.keystrokes)!=null?E:[],We];ve.push({state:ie.getState(),keystrokes:Ze,leftSiblings:Zg(a)});let Dt=0,xn="";for(;!ce&&Dt<Ze.length;)pe=ve.length-(Ze.length-Dt),xn=Ze.slice(Dt).join(""),ce=md(ve[pe].leftSiblings,xn,a.options.inlineShortcuts),!ce&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(xn)&&(ce=a.options.onInlineShortcut(a,xn)),Dt+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(ce?a.switchMode("math"):Qg(a,oe,y)&&(a.switchMode({math:"text",text:"math"}[ie.mode]),he=""))}if(!ce){if(he||(he=Um(a.keybindings,ie.mode,y)),!he&&(oe==="[Enter]"||oe==="[Return]")){let We=!1;return ie.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(We=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),We||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),ie.contentDidChange({inputType:"insertLineBreak"})),We}if((!he||oe==="[Space]")&&ie.mode==="math"){if(oe==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return ji.insert(ie,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),he="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const We=ie.at(ie.position+1),Ze=ie.at(ie.position-1);if((We==null?void 0:We.mode)==="text"||(Ze==null?void 0:Ze.mode)==="text")return ji.insert(ie," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ee=ie.at(ie.position))!=null&&ee.isDigit()&&window.MathfieldElement.decimalSeparator===","&&jc(y)===","&&(he="insertDecimalSeparator")}}if(!ce&&!he){if(ie.mathfield.smartFence){if(Bh(ie,jc(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:We}=ie.at(ie.position);if(We instanceof Nr&&We.rightDelim==="?"&&ie.at(ie.position).isLastSibling&&/^[)}\]|]$/.test(oe))return a.snapshot(),We.isDirty=!0,We.rightDelim=oe,ie.position+=1,ie.selectionDidChange(),ie.contentDidChange({data:jc(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!ie.selectionIsCollapsed){const Ze=jc(y);if(Ze==="("||Ze==="{"||Ze==="["){const Dt={"(":"(","{":"\\lbrace","[":"\\lbrack"}[Ze],xn={"(":")","{":"\\rbrace","[":"\\rbrack"}[Ze],[St,tn]=Do(ie.selection);return a.snapshot(),ie.position=tn,ji.insert(ie,xn,{format:"latex"}),ie.position=St,ji.insert(ie,Dt,{format:"latex"}),ie.setSelection(St+1,tn+1),ie.contentDidChange({data:Ze,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const De=ie.at(Math.max(ie.position,ie.anchor)),{parent:Oe}=De;if(he==="moveAfterParent"&&(Oe==null?void 0:Oe.type)==="leftright"&&De.isLastSibling&&a.options.smartFence&&Bh(ie,".",a.defaultStyle)&&(he="",Ha(a)),a.keyboardDelegate.cancelComposition(),he)a.executeCommand(he);else if(ce){const We=a.effectiveStyle;ie.setState(ve[pe].state);const Ze=ve[ve.length-1].keystrokes;for(const Dt of Ze)ji.insert(ie,Dt,{silenceNotifications:!0,style:We});a.snapshot("insert-shortcut"),ie.setState(ve[pe].state),ie.deferNotifications({content:!0,selection:!0,data:ce,type:"insertText"},()=>(ji.insert(ie,ce,{format:"latex",style:We}),Dh(a.model),ce.endsWith(" ")&&(a.switchMode("text"),ji.insert(ie," ",{style:We,mode:"text"})),a.snapshot(),ie.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,ie.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Lh(a,y,b){const{model:E}=a;if(!a.isSelectionEditable){E.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let ee=i0(y);const ie=window.mathVirtualKeyboard;if(ie!=null&&ie.isShifted&&(ee=typeof ee=="string"?ee.toUpperCase():ee.map(he=>he.toUpperCase())),b.simulateKeystroke){let he=!0;for(const pe of ee)Hf(a,new KeyboardEvent("keypress",{key:pe}))&&(he=!1);if(he)return}const oe=E.at(E.position),ce=we(we({},oe.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(Do(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{E0(a);for(const he of ee)ji.insert(E,he);a.snapshot("insert-latex"),Td(a)});else if(E.mode==="text"){for(const he of ee)ji.insert(E,he,{style:ce});a.snapshot("insert-text")}else if(E.mode==="math")for(const he of ee)Jg(a,he,ce,oe);a.dirty=!0,a.scrollIntoView()}function Zg(a){const y=a.model,b=[];let E=y.at(Math.min(y.position,y.anchor));for(;E.type!=="first";)b.push(E),E=E.leftSibling;return b}function Jg(a,y,b,E){const ee=a.model;let ie={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(ie=["insert",a.options.mathModeSpace]),ie){a.executeCommand(ie);return}if(/\d/.test(y)&&a.options.smartSuperscript&&E.parentBranch==="superscript"&&E.parent.type!=="mop"&&E.parent.type!=="operator"&&E.parent.type!=="extensible-symbol"&&E.hasNoSiblings){qg(ee),ji.insert(ee,y,{style:b}),a.snapshot(),Pf(ee),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const oe=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(oe==null?void 0:oe.type)==="mord"&&/[a-zA-Z0-9]/.test(oe.value)&&(b=we({},b),oe.style.variant&&(b.variant=oe.style.variant),oe.style.variantStyle&&(b.variantStyle=oe.style.variantStyle))}ji.insert(ee,y,{style:b}),a.snapshot(`insert-${ee.at(ee.position).type}`)}function qg(a){a.selectionIsCollapsed||(a.deleteAtoms(Do(a.selection)),a.mathfield.snapshot("delete"))}function Bh(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:ee}=E,ie={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!ie)return!1;const oe=te[ie],ce=ne[ie];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[he,pe]=Do(a.selection),ve=a.extractAtoms([he,pe]),De=ee.addChildrenAfter([new Nr("left...right",ve,{leftDelim:ie,rightDelim:ce})],a.at(he));return a.setSelection(a.offsetOf(De.firstChild),a.offsetOf(De.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(ie==="|"){const he=ee instanceof Nr?ee.leftDelim+ee.rightDelim:"";if(he==="\\lbrace\\rbrace"||he==="\\{\\}"||he==="\\lbrace?")return a.mathfield.snapshot(),ji.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(ce){if(ee instanceof Nr&&ee.firstChild===E&&(ee.leftDelim==="?"||ee.leftDelim==="."))return ee.leftDelim=ie,ee.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ee instanceof Nr)){let De=E;for(;De&&!(De.type==="mclose"&&De.value===ce);)De=De.rightSibling;if(De){a.mathfield.snapshot();const Oe=a.extractAtoms([a.offsetOf(E),a.offsetOf(De)]);return Oe.pop(),ee.addChildrenAfter([new Nr("left...right",Oe,{leftDelim:ie,rightDelim:ce})],E),a.position=a.offsetOf(ee.firstChild)+1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const he=a.offsetOf(E.lastSibling);let pe;for(pe=a.position;pe<=he;pe++){const De=a.at(pe);if(De instanceof Nr&&(De.leftDelim==="?"||De.leftDelim===".")&&Wf(ie,De.rightDelim))break}const ve=a.at(pe);if(pe<=he&&ve instanceof Nr){ve.leftDelim=ie,a.mathfield.snapshot();let De=a.extractAtoms([a.position,pe-1]);return De=De.filter(Oe=>Oe.type!=="first"),ve.addChildren(De,ve.parentBranch),a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ee instanceof Nr&&(ee.leftDelim==="?"||ee.leftDelim===".")&&Wf(ie,ee.rightDelim)){ee.isDirty=!0,ee.leftDelim=ie,a.mathfield.snapshot();const De=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const Oe of De)ee.parent.addChildBefore(Oe,ee);return a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ee instanceof Nr&&ee.leftDelim==="|")){if(a.mathfield.snapshot(),ji.insert(a,`\\left${ie}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const De=a.offsetOf(E.lastSibling),Oe=a.extractAtoms([a.position,De]);a.at(a.position).body=Oe,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(oe){let he=E;for(;he;){if(he.type==="mopen"&&he.value===oe){a.mathfield.snapshot();const We=he.leftSibling,Ze=a.extractAtoms([a.offsetOf(he.leftSibling),a.offsetOf(E)]);Ze.shift();const Dt=new Nr("left...right",Ze,{leftDelim:oe,rightDelim:ie});return ee.addChildrenAfter([Dt],We),a.position=a.offsetOf(Dt),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}he=he.leftSibling}if(ee instanceof Nr&&E.isLastSibling&&Nh(ee.leftDelim,ie))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=ie,a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const pe=a.offsetOf(E.firstSibling);let ve;for(ve=a.position;ve>=pe;ve--){const We=a.at(ve);if(We instanceof Nr&&(We.rightDelim==="?"||We.rightDelim===".")&&Nh(We.leftDelim,ie))break}const De=a.at(ve);if(ve>=pe&&De instanceof Nr)return a.mathfield.snapshot(),De.rightDelim=ie,De.addChildren(a.extractAtoms([ve,a.position]),De.parentBranch),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ee instanceof Nr&&(ee.rightDelim==="?"||ee.rightDelim===".")&&Nh(ee.leftDelim,ie))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=ie,ee.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),ee.parentBranch),a.position=a.offsetOf(ee),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Oe=ee.parent;return Oe instanceof Nr&&(Oe.rightDelim==="?"||Oe.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(Oe),Bh(a,ie,b)):!1}return!1}function Nh(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ne[a]===y:!0}function Wf(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):te[y]===a:!0}Es({undo:a=>(a.undo(),!0),redo:a=>(a.redo(),!0),scrollIntoView:a=>(a.scrollIntoView(),!0),scrollToStart:a=>(a.field.scroll(0,0),!0),scrollToEnd:a=>{const y=a.field.getBoundingClientRect();return a.field.scroll(y.left-window.scrollX,0),!0},toggleKeystrokeCaption:Vg,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,E)=>(a.switchMode(y,b,E),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Lh(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const E=a.getPrompts();let ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie=0;for(;E.includes(ee)&&ie<100;){if(ie===99)return console.error("could not find a unique ID after 100 tries"),!1;ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie++}return a.insert(`\\placeholder[${y!=null?y:ee}]{}`,b),!0}}),Es({copyToClipboard:a=>(a.focus(),a.model.selectionIsCollapsed&&a.select(),"queryCommandSupported"in document&&document.queryCommandSupported("copy")?document.execCommand("copy"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("copy",{bubbles:!0,composed:!0})),!1)},{target:"mathfield"}),Es({cutToClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("cut")?document.execCommand("cut"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("cut",{bubbles:!0,composed:!0})),!0),pasteFromClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("paste")?(document.execCommand("paste"),!0):(navigator.clipboard.readText().then(y=>{y&&a.model.contentWillChange({inputType:"insertFromPaste",data:y})?(a.stopCoalescingUndo(),a.stopRecording(),a.insert(y,{mode:a.model.mode})&&(Td(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Ha(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function Xg(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Ih(a,y),{model:E}=a;return E.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=we(we({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(ee=>Mh(E,ee,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Es({applyStyle:Xg},{target:"mathfield",canUndo:!0,changeContent:!0});function Ih(a,y){var b,E,ee,ie,oe,ce,he,pe,ve,De;const Oe={};if(typeof y.color=="string"){const Ze=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";Ze!==y.color&&(Oe.verbatimColor=(ee=y.verbatimColor)!=null?ee:y.color),Oe.color=Ze}if(typeof y.backgroundColor=="string"){const Ze=(oe=a.backgroundColorMap((ie=y.backgroundColor)!=null?ie:y.verbatimBackgroundColor))!=null?oe:"none";Ze!==y.backgroundColor&&(Oe.verbatimBackgroundColor=(ce=y.verbatimBackgroundColor)!=null?ce:y.backgroundColor),Oe.backgroundColor=Ze}typeof y.fontFamily=="string"&&(Oe.fontFamily=y.fontFamily),typeof y.series=="string"&&(Oe.fontSeries=y.series),typeof y.fontSeries=="string"&&(Oe.fontSeries=y.fontSeries.toLowerCase()),Oe.fontSeries&&(Oe.fontSeries=(he={bold:"b",medium:"m",normal:"m"}[Oe.fontSeries])!=null?he:Oe.fontSeries),typeof y.shape=="string"&&(Oe.fontShape=y.shape),typeof y.fontShape=="string"&&(Oe.fontShape=y.fontShape.toLowerCase()),Oe.fontShape&&(Oe.fontShape=(pe={italic:"it",up:"n",upright:"n",normal:"n"}[Oe.fontShape])!=null?pe:Oe.fontShape),y.variant&&(Oe.variant=y.variant.toLowerCase()),y.variantStyle&&(Oe.variantStyle=y.variantStyle.toLowerCase());const We=(ve=y.size)!=null?ve:y.fontSize;return typeof We=="number"?Oe.fontSize=Math.max(1,Math.min(10,We)):typeof We=="string"&&(Oe.fontSize=(De={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[We.toLowerCase()])!=null?De:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[We]),Oe}function Th(a){let[y,b]=Do(a.selection);if(y=Kf(a,y,"backward"),b=Kf(a,b,"forward"),y===b){const E=a.at(y);if(E.type==="leftright")return a.setSelection(a.offsetOf(E.firstChild)-1,b);if(E.type==="first"&&(E.parent.type==="leftright"||E.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(E.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function Kf(a,y,b){var E,ee,ie;let oe=a.at(y);if(!oe)return y;const ce=b==="forward"?1:-1;if(oe.mode==="text"){for(;oe&&!(oe.mode!=="text"||!me.test(oe.value));)y+=ce,oe=a.at(y);return b==="backward"?y-1:y}if(oe.mode==="latex"){if(/[a-zA-Z\*]/.test(oe.value))if(b==="backward")for(;oe&&oe.mode==="latex"&&oe.value!=="\\"&&/[a-zA-Z]/.test(oe.value);)y+=ce,oe=a.at(y);else for(;oe&&oe.mode==="latex"&&/[a-zA-Z\*]/.test(oe.value);)y+=ce,oe=a.at(y);else if(oe.value==="{"){if(b==="forward"){for(;oe&&oe.mode==="latex"&&oe.value!=="}";)y+=ce,oe=a.at(y);return y}return y-1}else if(oe.value==="}"){if(b==="backward"){for(;oe&&oe.mode==="latex"&&oe.value!=="{";)y+=ce,oe=a.at(y);return y-1}return y}return y-1}if(oe.mode==="math"){if(oe.isDigit()){for(;(E=a.at(y+ce))!=null&&E.isDigit();)y+=ce;return b==="backward"?y-1:y}if(oe.style.variant||oe.style.variantStyle){let he=(ee=a.at(y))==null?void 0:ee.style;for(;he&&he.variant===oe.style.variant&&he.variantStyle===oe.style.variantStyle;)he=(ie=a.at(y+ce))==null?void 0:ie.style,y+=ce;return b==="backward"?y-1:y}return y}return y}Es({selectGroup:a=>{const y=Th(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Nl(a,"forward",{extend:!0}),extendSelectionBackward:a=>Nl(a,"backward",{extend:!0}),extendToNextWord:a=>Qc(a,"forward",{extend:!0}),extendToPreviousWord:a=>Qc(a,"backward",{extend:!0}),extendSelectionUpward:a=>Nl(a,"upward",{extend:!0}),extendSelectionDownward:a=>Nl(a,"downward",{extend:!0}),extendToNextBoundary:a=>Qc(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Qc(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var fc=null,jd=0,W0=class Qs{static start(y,b,E,ee){var ie;Qs.element=y,(ie=Qs.controller)==null||ie.abort(),Qs.controller=new AbortController;const oe={signal:Qs.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,oe),y.addEventListener("pointerup",ee,oe),y.addEventListener("pointercancel",ee,oe),Fh(b)&&(Qs.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,oe),window.addEventListener("blur",ee,oe),window.addEventListener("mouseup",ee,oe))}static stop(){var y;(y=Qs.controller)==null||y.abort(),Qs.controller=void 0,typeof Qs.pointerId=="number"&&(Qs.element.releasePointerCapture(Qs.pointerId),Qs.pointerId=void 0)}};function Fh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Uf(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let ee,ie=!1,oe=!1,ce="none",he=!1,pe=!1;const ve=y.clientX,De=y.clientY,Oe=Date.now(),We=E.field,Ze=setInterval(()=>{he?We.scroll({top:0,left:We.scrollLeft-16}):pe&&We.scroll({top:0,left:We.scrollLeft+16})},32);function Dt(){W0.stop(),ie=!1,clearInterval(Ze),a.element.classList.remove("tracking"),y&&y.preventDefault()}function xn(tn){if(!E.hasFocus()){Dt();return}const Mn=tn.clientX,cn=tn.clientY,Vn=Fh(tn)&&tn.pointerType==="touch"?20:5;if(Date.now()<Oe+500&&Math.abs(ve-Mn)<Vn&&Math.abs(De-cn)<Vn){tn.preventDefault(),tn.stopPropagation();return}const ui=We.getBoundingClientRect();pe=Mn>ui.right,he=Mn<ui.left;let ni=ee;Fh(tn)&&(tn.isPrimary||(ni=Rd(E,tn.clientX,tn.clientY,{bias:0})));const fr=Rd(E,Mn,cn,{bias:Mn<=ve?Mn===ve?0:-1:1});ni>=0&&fr>=0&&(E.model.extendSelectionTo(ni,fr),Ha(a)),oe&&Th(E.model)}fc&&Math.abs(fc.x-ve)<5&&Math.abs(fc.y-De)<5&&Date.now()<fc.time+500?(jd+=1,fc.time=Oe):(fc={x:ve,y:De,time:Oe},jd=1);const St=We.getBoundingClientRect();if(ve>=St.left&&ve<=St.right&&De>=St.top&&De<=St.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ee=Rd(a,ve,De,{bias:0}),ee>=0){if(a.element.classList.add("tracking"),y.shiftKey){const tn=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ee),vf(a.model)||tn?ce="all":ce="selection"}else a.model.at(ee).type==="placeholder"?(a.model.setSelection(ee-1,ee),ce="selection"):((b=a.model.at(ee).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ee,ee+1),ce="selection"):(a.model.position=ee,vf(a.model)?ce="all":ce="selection");a.defaultStyle={},y.detail===3||jd>2?(Dt(),(y.detail===3||jd===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},ce="all")):ie||(ie=!0,W0.start(We,y,xn,Dt),(y.detail===2||jd===2)&&(oe=!0,Th(a.model),ce="all"))}a.hasFocus()||(ce="none",a.focus({preventScroll:!0}))}else fc=null;a.stopCoalescingUndo(),ce!=="none"&&(a.model.selectionIsCollapsed&&(ce="all"),Ha(a)),y.preventDefault()}function $g(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const E=a-(b.left+b.right)/2,ee=y-(b.top+b.bottom)/2;return E*E+ee*ee}function Qf(a,y,b,E,ee){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const ie=Fu(a,b);if(!ie)return[1/0,null];let oe=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=ie.left&&E<=ie.right)for(const ce of b.children){const he=Qf(a,y,ce,E,ee);he[0]<=oe[0]&&(oe=he)}return oe[1]||(oe=[$g(E,ee,ie),b]),y.set(b.id,oe),oe}function e1(a,y,b){const[,E]=Qf(a,new Map,a.model.root,y,b);return E}function Rd(a,y,b,E){var ee;const ie=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!ie)return 0;if(y>ie.right||b>ie.bottom+8)return a.model.lastOffset;if(y<ie.left||b<ie.top-8)return 0;E=E!=null?E:{},E.bias=(ee=E.bias)!=null?ee:0;let oe=e1(a,y,b);const ce=[];let he=oe;for(;he;)ce.unshift(he),he=he.parent;for(const ve of ce)if(ve.captureSelection){oe=ve;break}let pe=a.model.offsetOf(oe);if(pe<0)return-1;if(oe.leftSibling)if(E.bias===0&&oe.type!=="placeholder"){const ve=Fu(a,oe);ve&&y<(ve.left+ve.right)/2&&(pe=a.model.offsetOf(oe.leftSibling))}else E.bias<0&&(pe=a.model.offsetOf(oe.leftSibling));return pe}var t1=class extends ji{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",E="auto",ee=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ee)try{const ie=JSON.parse(ee);if(ie&&Array.isArray(ie)){a.snapshot();const oe=zu(ie),{model:ce}=a;ce.selectionIsCollapsed||ce.deleteAtoms(Do(ce.selection));const he=ce.at(ce.position);if(he.parent instanceof Hi){console.assert(he.parentBranch!==void 0);const pe=[];let ve=[];oe[0].type==="first"&&oe.shift(),oe[oe.length-1].type==="first"&&oe.pop();for(const Ze of oe)Ze.type==="first"&&ve.length>0?(pe.push(ve),ve=[Ze]):ve.push(Ze);ve.length>0&&pe.push(ve);let De=Number(he.parentBranch[0]),Oe=Number(he.parentBranch[1]);const We=he.parent.maxColumns;for(;he.parent.colCount-Oe<pe.length&&he.parent.colCount<We;)he.parent.addColumn();he.parent.addChildrenAfter(pe[0],he);for(let Ze=1;Ze<pe.length;Ze++)Oe++,Oe>=We&&(Oe=0,he.parent.addRowAfter(De),De++),he.parent.setCell(De,Oe,pe[Ze])}else he.parent.addChildrenAfter(oe.filter(pe=>pe.type!=="first"),he);return ce.position=ce.offsetOf(oe[oe.length-1]),ce.contentDidChange({inputType:"insertFromPaste"}),Ha(a),!0}}catch(ie){}if(ee=typeof y!="string"?y.getData("application/json"):"",ee&&window.MathfieldElement.computeEngine)try{const ie=JSON.parse(ee);if(typeof ie=="object"&&"latex"in ie&&ie.latex&&(b=ie.latex),!b){const oe=window.MathfieldElement.computeEngine.box(ie);oe&&!oe.has("Error")&&(b=oe.latex)}b||(E="latex")}catch(ie){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(E="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let ie;return[ie,b]=Cl(b),E==="auto"&&ie&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),Ha(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,ee;const ie=typeof y=="string"?y:(ee=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?ee:"";if(!b.silenceNotifications&&!a.contentWillChange({data:ie,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:oe}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ce=a.silenceNotifications;a.silenceNotifications=!0;const he={"?":"\\placeholder{}","@":"\\placeholder{}"};he[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Do(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward"),!a.at(a.position).isLastSibling&&a.at(a.position+1).type==="placeholder"?a.deleteAtoms([a.position,a.position+1]):a.at(a.position).type==="placeholder"&&a.deleteAtoms([a.position-1,a.position]);let pe=-1;he[0]?he["@"]=he[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(pe=i1(a),pe>=0&&(he["@"]=a.getValue(pe,a.position,"latex"))),he[0]||(he[0]=he["?"]);let ve=!1;const De=Mn=>(ve=!0,he[Mn]);let[Oe,We]=Gf(a,y,De,b);if(!We)return!1;const Ze=We.length===1&&We[0].type==="genfrac";Ze&&pe>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(he["@"]=he["?"],ve=!1,[Oe,We]=Gf(a,y,De,b)):pe>=0&&a.deleteAtoms([pe,a.position]);const{parent:Dt}=a.at(a.position),xn=Dt.hasEmptyBranch("body");if(Ze&&Oe!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Dt instanceof Nr&&Dt.leftDelim==="("&&xn){const Mn=Dt.parent,cn=Dt.parentBranch;Mn.removeChild(Dt),Mn.setChildren(We,cn)}const St=a.at(a.position);St.parent.addChildrenAfter(We,St),Oe==="latex"&&typeof y=="string"&&(Dt==null?void 0:Dt.type)==="root"&&xn&&!ve&&(Dt.verbatimLatex=y),a.silenceNotifications=ce;const tn=We[We.length-1];if(b.selectionMode==="placeholder"){const Mn=We.flatMap(cn=>[cn,...cn.children]).find(cn=>cn.type==="placeholder");if(Mn){const cn=a.offsetOf(Mn);a.setSelection(cn-1,cn),a.announce("move")}else tn&&(a.position=a.offsetOf(tn))}else b.selectionMode==="before"||(b.selectionMode==="after"?tn&&(a.position=a.offsetOf(tn)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(tn)));return a.contentDidChange({data:ie,inputType:"insertText"}),a.silenceNotifications=oe,!0}};function Gf(a,y,b,E){var ee;let ie,oe=[];if(typeof y!="string"||E.format==="math-json"){const ce=window.MathfieldElement.computeEngine;if(!ce)return["math-json",[]];[ie,y]=["latex",ce.box(y).latex],oe=Bo(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([ie,y]=nc(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),oe=Bo(y,{context:a.mathfield.context}),ie!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&K0(oe)):(E.format==="auto"||(ee=E.format)!=null&&ee.startsWith("latex"))&&(E.format==="auto"&&([ie,y]=nc(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Cl(y)),oe=Bo(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&K0(oe));return ju(oe,E.style),[ie!=null?ie:"latex",oe]}function n1(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Nr&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function K0(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Nr&&b.leftDelim==="("){let E=0,ee=0,ie=0;for(let oe=0;b.body[oe];oe++)b.body[oe].type==="genfrac"&&(E++,ee=oe),ie++;ie===0&&E===1&&(a[y]=b.body[ee])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){K0(y.branch(b));const E=n1(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof Hi)for(const b of y.cells)K0(b)}}}function i1(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let E=!1;if(y.type==="mclose"){const ee=te[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ee);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),E=!0}else y.type==="leftright"&&(y=y.leftSibling,E=!0);if(E)for(;!y.isFirstSibling&&(y.isFunction||Vf(y));)y=y.leftSibling;else{const ee=[];for(;!y.isFirstSibling&&(Vf(y)||ee.length>0);)y.type==="mclose"&&ee.unshift(y.value),y.type==="mopen"&&ee.length>0&&y.value===te[ee[0]]&&ee.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function Vf(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new t1;var r1=class extends ji{constructor(){super("text")}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.model.contentDidChange({inputType:"insertFromPaste"}),a.startRecording(),a.snapshot("paste"),Ha(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Do(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const ie=a1(y,a.mathfield.context);if(ju(ie,b.style),!ie)return!1;const oe=a.at(a.position),ce=oe.parent.addChildrenAfter(ie,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ce)):ce&&(a.position=a.offsetOf(ce))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function a1(a,y){return a=a.replace(/\\/g,"\\textbackslash "),a=a.replace(/#/g,"\\#"),a=a.replace(/\$/g,"\\$"),a=a.replace(/%/g,"\\%"),a=a.replace(/&/g,"\\&"),a=a.replace(/_/g,"\\_"),a=a.replace(/{/g,"\\textbraceleft "),a=a.replace(/}/g,"\\textbraceright "),a=a.replace(/lbrace/g,"\\textbraceleft "),a=a.replace(/rbrace/g,"\\textbraceright "),a=a.replace(/\^/g,"\\textasciicircum "),a=a.replace(/~/g,"\\textasciitilde "),a=a.replace(/£/g,"\\textsterling "),Bo(a,{context:y,parseMode:"text"})}new r1;function Il(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var oa=4,gs=20,po=2*(gs+oa),U0=(a,y)=>`
<line x1="${a+gs}" y1="${y+gs}"
x2="${a>y?a+gs:7*gs+10*oa}"
y2="${a<y?y+gs:7*gs+10*oa}"/>
<svg id="plus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z"/>
</svg>`,Yf=(a,y)=>`
<line x1="${a+gs}" y1="${y+gs}"
x2="${a>y?a+gs:7*gs+10*oa}"
y2="${a<y?y+gs:7*gs+10*oa}"/>
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
</svg>`,Q0=(a,y,b)=>`
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<g transform="rotate(${b})" transform-origin="20 20">
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
</g>
</svg>`,o1=`
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox=
"-2 -2 ${8*gs+10*oa+5} ${8*gs+10*oa+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${po+oa}"
height="${3*po}"
width="${po}"
rx="${po/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${po+oa}"
y="0"
height="${po}"
width="${3*po}"
rx="${po/2}"/>
<g data-command='"moveDown"'>
${Q0(2*(oa+po),2*oa+3*po,0)}
</g>
<g data-command='"moveUp"'>
${Q0(2*(oa+po),2*oa+po,180)}
</g>
<g data-command='"moveToNextWord"'>
${Q0(2*oa+3*po,2*(oa+po),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Q0(2*oa+po,2*(oa+po),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${U0(2*oa+po,oa)}
</g>
<g data-command='"removeColumn"'>
${Yf(2*oa+2*po,oa)}
</g>
<g data-command='"addColumnAfter"'>
${U0(2*oa+3*po,oa)}
</g>
<g data-command='"addRowBefore"'>
${U0(oa,2*oa+po)}
</g>
<g data-command='"removeRow"'>
${Yf(oa,2*oa+2*po)}
</g>
<g data-command='"addRowAfter"'>
${U0(oa,2*oa+3*po)}
</g>
</svg>`,s1=a=>`
<svg id="matrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","matrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,l1=a=>`
<svg id="pmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","pmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-3.96,4.6-3.96,11.4,0,16"/>
<path class="cls-2" d="m22,4c3.96,4.6,3.96,11.4,0,16"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,Zf=a=>`
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","Bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,u1=a=>`
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4h-3v16h3"/>
<path class="cls-2" d="m22,4h3v16h-3"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,c1=a=>`
<svg id="vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="4" y1="4" x2="4" y2="20"/>
<line class="cls-2" x1="24" y1="4" x2="24" y2="20"/>
</svg>`,d1=a=>`
<svg id="Vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="-3.5 -3 35 30"
data-command='["setEnvironment","Vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="6" y1="4" x2="6" y2="20"/>
<line class="cls-2" x1="22" y1="4" x2="22" y2="20"/>
<line class="cls-2" x1="2" y1="4" x2="2" y2="20"/>
<line class="cls-2" x1="26" y1="4" x2="26" y2="20"/>
</svg>`,h1=a=>`
<svg id="cases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","cases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<circle cx="13" cy="8" r="1"/>
<circle cx="13" cy="16" r="1"/>
<circle cx="21" cy="8" r="1"/>
<circle cx="21" cy="16" r="1"/>
</svg>`,f1=a=>`
<svg id="rcases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","rcases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2"/>
<circle cx="15" cy="8" r="1"/>
<circle cx="15" cy="16" r="1"/>
<circle cx="7" cy="8" r="1"/>
<circle cx="7" cy="16" r="1"/>
</svg>`,Oh={matrix:s1,pmatrix:l1,bmatrix:u1,Bmatrix:Zf,vmatrix:c1,Vmatrix:d1},Ph={cases:h1,rcases:f1,Bmatrix:Zf};function p1(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let ee=0;E.forEach(Ze=>{(!ee||Ze.length>ee)&&(ee=Ze.length)});let ie=document.getElementById("mathlive-environment-popover");ie||(ie=M0("mathlive-environment-popover"),As("environment-popover"),As("core"),ie.setAttribute("aria-hidden","true"));let oe;const ce=ie.querySelector(".MLEP__environment-controls");ce?oe=ce:(oe=document.createElement("div"),ie.innerHTML="",ie.appendChild(oe)),oe.className="MLEP__environment-controls",oe.style.display="flex",oe.style.width="100%",oe.style.height="100%",oe.style.boxSizing="border-box",oe.innerHTML=o1;let he=[],pe="";const ve=a.model.parentEnvironment.environmentName;if(Xo(ve)){const Ze=g1(ve);pe=Oh[Ze]("active");const Dt=Oh,{[Ze]:xn}=Dt,St=Ve(Dt,[Ge(Ze)]);he=Object.values(St).map(tn=>tn("inactive"))}else if($o(ve)){const Ze=v1(ve);pe=Ph[Ze]("active");const Dt=Ph,{[Ze]:xn}=Dt,St=Ve(Dt,[Ge(Ze)]);he=Object.values(St).map(tn=>tn("inactive"))}else ro(ve)&&(pe=Oh.matrix("active"),he=Object.values(Ph).map(Ze=>Ze("inactive")));const De=document.createElement("div");De.className="MLEP__environment-delimiter-controls",De.style.display="flex",De.style.flexDirection="column",De.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${pe}
${he.join("")}
</div>`,pe&&oe.appendChild(De),oe.querySelectorAll("[data-command]").forEach(Ze=>{const Dt=Ze.dataset.command;let xn=Dt;try{xn=JSON.parse(Dt)}catch(St){}Ze.addEventListener("mousedown",St=>St.preventDefault()),xn&&Ze.addEventListener("click",()=>a.executeCommand(xn))});const We=(b=a.field)==null?void 0:b.getBoundingClientRect();We&&(ie.style.top=`${window.scrollY+(We.top-ie.clientHeight-15)}px`,ie.style.left=`${We.left+20}px`,ie.classList.add("is-visible"))}function zh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function m1(){document.getElementById("mathlive-environment-popover")&&(yh("mathlive-environment-popover"),x("environment-popover"),x("core"))}function G0(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&La(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?p1(a):zh()}function g1(a){return a.replace("*","")}function v1(a){return a==="dcases"?"cases":a}function Jf(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function qf(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function _h(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="rtl"||b==="end"&&E==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function y1(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="ltr"||b==="end"&&E==="rtl"||b==="top"||b==="right"?a:a-y}function b1(a,y){var b,E,ee;const ie=(b=Jf(a))!=null?b:"ltr";a.style.position="fixed",a.style.left="",a.style.top="",a.style.right="",a.style.bottom="",a.style.height="",a.style.width="";const oe=a.getBoundingClientRect(),ce=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let he=Math.min(ce,(E=y.height)!=null?E:oe.height),pe=_h(y.location.y,he,y.verticalPos,ie);pe+he>window.innerHeight-8&&(y.alternateLocation?(pe=_h(y.alternateLocation.y,he,y.verticalPos,ie),pe+he>window.innerHeight-8&&(pe=void 0)):pe=void 0),Number.isFinite(pe)||(pe=Math.max(8,window.innerHeight-8-he),8+he>window.innerHeight-8&&(a.style.bottom="8px")),he=Math.min(pe+he,window.innerHeight-8)-pe;const ve=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let De=Math.min(ve,(ee=y.width)!=null?ee:oe.width),Oe=_h(y.location.x,De,y.horizontalPos,ie);Oe+De>window.innerWidth-8&&(y.alternateLocation?(Oe=y1(y.alternateLocation.x,De,y.verticalPos,ie),Oe+De>window.innerWidth-8&&(Oe=void 0)):Oe=void 0),Number.isFinite(Oe)||(Oe=Math.max(8,window.innerWidth-8-De),8+De>window.innerWidth-8&&(a.style.right="8px")),De=Math.min(Oe+De,window.innerWidth-8)-Oe,ie==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-Oe-De).toString()}px`:a.style.left=`${Math.ceil(Oe).toString()}px`,a.style.top=`${Math.ceil(pe).toString()}px`,he!==oe.height&&(a.style.height=`${Math.ceil(he).toString()}px`),De!==oe.width&&(a.style.width=`${Math.ceil(De).toString()}px`)}function x1(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Gc(a){return"submenu"in a}function Tl(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function jh(a){return"type"in a&&a.type==="divider"}function Rh(a){return"type"in a&&a.type==="heading"}var Xf={};function Hh(a){let y=Xf[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const E=document.createElement("template");E.innerHTML=b,Xf[a]=E,y=E}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var $f=80,ep=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Gc(a)?(this.type="submenu",this.submenu=new tp(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Tl(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,E;const ee=this._declaration;if(jh(ee)){this.enabled=!1,this.checked=!1;return}Rh(ee)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Tl(ee)&&(this.checked=Tl(ee)&&((y=Vc(ee.checked,a))!=null?y:!1)),(Tl(ee)||Gc(ee))&&(this.enabled=(b=Vc(ee.enabled,a))!=null?b:!0,this.visible=(E=Vc(ee.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Tl(ee)||Rh(ee)||Gc(ee))&&(this.label=Vc(ee.label,a),this.tooltip=Vc(ee.tooltip,a),this.ariaLabel=Vc(ee.ariaLabel,a)),this._element&&this.updateElement()}set dirty(a){console.assert(a===!0),a&&this.parentMenu&&(this.parentMenu.dirty=!0)}updateElement(){if(!this.visible||!this.element)return;const a=this.element;a.textContent="",this.enabled?a.removeAttribute("aria-disabled"):a.setAttribute("aria-disabled","true"),this.checked===!0?(a.setAttribute("aria-checked","true"),a.append(Hh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Hh("mixedmark"))):a.removeAttribute("aria-checked"),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel);const y=document.createElement("span");if(y.className=this.parentMenu.hasCheck?"label indent":"label",this.type==="heading"&&y.classList.add("heading"),y.innerHTML=this.label,a.append(y),this._tooltip&&a.setAttribute("data-tooltip",this._tooltip),Tl(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=gh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Hh("trailing-chevron"))}get element(){if(this._element)return this._element;if(jh(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(Tl(this._declaration)||Rh(this._declaration)||Gc(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!Tl(this._declaration))return;const a=new CustomEvent("menu-select",{cancelable:!0,bubbles:!0,detail:{modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data}});this.parentMenu.dispatchEvent(a)&&typeof this._declaration.onMenuSelect=="function"&&this._declaration.onMenuSelect({modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data})}handleEvent(a){var y;if(!(!this.visible||!this.enabled)){if(a.type==="click"){this.rootMenu.state==="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}if(a.type==="pointerenter"){const b=a;this.rootMenu.cancelDelayedOperation(),this.parentMenu.isSubmenuOpen&&((y=this.parentMenu.activeMenuItem)!=null&&y.movingTowardSubmenu(b))?this.rootMenu.scheduleOperation(()=>{this.parentMenu.activeMenuItem=this,this.openSubmenu()}):(this.parentMenu.activeMenuItem=this,this.openSubmenu({withDelay:!0}));return}if(a.type==="pointerleave"){this.rootMenu.activeSubmenu===this.parentMenu&&(this.parentMenu.activeMenuItem=null);return}if(a.type==="pointerup"){this.rootMenu.state!=="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}}}select(){if(this.rootMenu.cancelDelayedOperation(),this.type==="submenu"){this.openSubmenu();return}this.active=!1,setTimeout(()=>{this.active=!0,setTimeout(()=>{this.rootMenu.hide(),this.dispatchSelect()},$f)},$f)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),E=Jf(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:qf(b,"trailing",E),y:b.top-4},alternateLocation:{x:qf(b,"leading",E),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const E=a.clientX-y.clientX;if(w1(E,y.clientY-a.clientY,b)<=.2)return!1;let ie="right";if(this.submenu.element){const oe=this.submenu.element.getBoundingClientRect(),ce=this.element.getBoundingClientRect();oe.left<ce.left+ce.width/2&&(ie="left")}return ie==="right"?E>0:E<0}};function w1(a,y,b){return Math.hypot(a,y)/b}function Vc(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var tp=class td{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,ee;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ee=b==null?void 0:b.columnCount)!=null?ee:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(E=>E.onCreate?E.onCreate(E,this):new ep(E,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,E,ee;this._menuItems.forEach(pe=>pe.updateState(y));const ie=this.hasCheck;this.hasCheck=this._menuItems.some(pe=>pe.visible&&pe.hasCheck),this.hasCheck!==ie&&this._menuItems.forEach(pe=>pe.updateState(y));let oe,ce=0;for(const pe of this._menuItems)pe.type==="heading"?(oe&&ce===0&&(oe.visible=!1),oe=pe,ce=0):pe.type==="divider"&&oe?(oe.visible=ce>0,oe=void 0,ce=0):oe&&pe.visible&&(ce+=1);oe&&(oe.visible=ce>0);let he=!0;for(const pe of this._menuItems)pe.type==="divider"?(pe.visible=!he,he=!0):pe.visible&&(he=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((ee=this.activeMenuItem)==null?void 0:ee.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:E}of this._menuItems)b&&E&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,E,ee,ie;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const oe=this.activeMenuItem;oe.active=!1,(b=oe.submenu)==null||b.hide()}if(!((E=y==null?void 0:y.visible)==null||E)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(ee=y.element)==null||ee.focus({preventScroll:!0}):(ie=this._element)==null||ie.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const ee=E[y];b=ee.type!=="divider"&&ee.visible&&ee.enabled,y+=1}return b?E[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,E=!1;for(;!E&&b>=0;){const ee=y[b];E=ee.type!=="divider"&&ee.visible&&ee.enabled,b-=1}return E?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),E=this._menuItems.indexOf(this.lastMenuItem);let ee=this._menuItems.indexOf(this._activeMenuItem),ie=1;for(;ee>=b&&ee<=E;){ee+=y>0?1:-1;const oe=this._menuItems[ee];if(!oe)break;if(oe.visible&&oe.enabled){if(ie===Math.abs(y))return this._menuItems[ee];ie+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(ee=>ee.visible&&ee.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return td._collator||(td._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),td._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(ce=>ce.type!=="divider"&&ce.visible&&ce.enabled);if(E.length===0)return null;const ee=Math.max(...E.map(ce=>ce.label.length))-y.length;if(ee<0)return null;let ie=null,oe=0;for(;oe<ee&&!ie;)ie=(b=E.find(ce=>td.collator.compare(y,ce.label.substring(oe,y.length))===0))!=null?b:null,oe++;return ie}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),ft()&&(this.element.popover="manual",this.element.showPopover()),y.location&&b1(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,E,ee,ie;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),ft()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(ie=(ee=this._element)==null?void 0:ee.parentNode)==null||ie.removeChild(this._element)}set openSubmenu(y){var b,E,ee,ie;const oe=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",oe.toString())),(ie=(ee=this.activeMenuItem)==null?void 0:ee.element)==null||ie.classList.toggle("is-submenu-open",oe),this.isSubmenuOpen=oe}},np=class im extends tp{constructor(y,b){var E;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(E=b==null?void 0:b.host)!=null?E:null,this.isDynamic=y.some(ip),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Rm(this._modifiers,y)||(this._modifiers=y,this.dirty=!0)}get activeSubmenu(){let y=this;for(;y.isSubmenuOpen;)y=y.activeMenuItem.submenu;return y}set dirty(y){this._updating||(console.assert(y===!0),this._dirty!==y&&(this._dirty=!0,y&&setTimeout(()=>{this.updateState(this.modifiers),this.updateElement()})))}updateState(y){this._updating=!0,this.modifiers=y!=null?y:this.modifiers,super.updateState(this.modifiers),this._updating=!1}handleKeyupEvent(y){this.isDynamic&&(this.modifiers=ac(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,ee;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=ac(y));let ie=!0;const oe=this.activeSubmenu,ce=oe.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":ce==null||ce.select(ac(y));break;case"ArrowRight":if((ce==null?void 0:ce.type)==="submenu")ce.select(ac(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!ce)oe.activeMenuItem=oe.firstMenuItem;else{const he=(b=oe.getMenuItemColumn(ce))!=null?b:-1;if(he>=0&&he<((E=oe.columnCount)!=null?E:1)-1){const pe=oe.nextMenuItem(1);pe&&(oe.activeMenuItem=pe)}}break;case"ArrowLeft":if(oe===this.rootMenu)ce||(oe.activeMenuItem=oe.firstMenuItem);else if((ce&&(ee=oe.getMenuItemColumn(ce))!=null?ee:-1)<=0||!ce){oe.hide();const pe=oe.parentMenu.activeMenuItem;if(pe){const{element:ve}=pe;ve==null||ve.focus(),ve==null||ve.classList.remove("is-submenu-open")}}else{const pe=oe.nextMenuItem(-1);pe&&(oe.activeMenuItem=pe)}break;case"ArrowDown":oe.activeMenuItem=oe.nextMenuItem(oe.columnCount);break;case"ArrowUp":oe.activeMenuItem=oe.nextMenuItem(-oe.columnCount);break;case"Home":case"PageUp":oe.activeMenuItem=oe.firstMenuItem;break;case"End":case"PageDown":oe.activeMenuItem=oe.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const he=oe.findMenuItem(this.typingBuffer);he&&(oe.activeMenuItem=he),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(w0(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const he=oe.findMenuItem(this.typingBuffer);he&&(oe.activeMenuItem=he),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else ie=!1}ie&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return Ll.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),Ll.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),Ll.state==="open"&&Ll.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(Me(we({},y),{container:this.scrim}))?(this._openTimestamp=Date.now(),this.state="open",!0):(this.disconnectScrim(),!1)}hide(){this.cancelDelayedOperation(),this.state!==void 0&&(this.state!=="closed"&&(this.activeMenuItem=null,Ll.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=im.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};np.SUBMENU_DELAY=120;var A1=np;function ip(a){return jh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Tl(a)||Gc(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Tl(a)&&typeof a.checked=="function"?!0:Gc(a)?a.submenu.some(ip):!1}var V0=class{};V0.DELAY=300,V0.MAX_DISTANCE=10;function E1(a){return new Promise((y,b)=>{const E=x0(a);E||y(!1);let ee=E;const ie=setTimeout(()=>{oe.abort(),y(x1(ee,E)<V0.MAX_DISTANCE)},V0.DELAY),oe=new AbortController,ce=oe.signal;for(const he of["pointermove","pointerup","pointercancel"])window.addEventListener(he,pe=>{if(pe.type==="pointerup"||pe.type==="pointercancel")clearTimeout(ie),oe.abort(),y(!1);else if(pe.type==="pointermove"){const ve=x0(pe);ve&&(ee=ve)}},{passive:!0,signal:ce})})}function rp(a,y,b){return Wu(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:x0(E),modifiers:ac(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const ee=y==null?void 0:y.getBoundingClientRect();if(ee&&b.show({target:y,location:{x:Math.ceil(ee.left+ee.width/2),y:Math.ceil(ee.top+ee.height/2)},modifiers:ac(E)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let E=a.target;for(;E&&y!==E;)E=E.parentNode;if(!E||!b.visible)return!1;const ee=x0(a);if(yield E1(a))return b.state!=="closed"?!1:(b.show({target:y,location:ee}),!0)}return!1})}var ap={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};It(Object.keys(ap),"{body:auto}",{createAtom:a=>new z(Me(we({},a),{body:Ue(a.args[0]),accentChar:ap[a.command.slice(1)]}))}),It(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=Qt(Ue(a.args[0]));return new z(Me(we({},a),{body:Ue(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),It(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(Me(we({},a),{body:Ue(a.args[0]),svgAccent:"overarc"}))}),It(["underarc","underparen"],"{body:auto}",{createAtom:a=>new Ws(Me(we({},a),{body:Ue(a.args[0]),svgBelow:"underarc"}))}),It("utilde","{body:auto}",{createAtom:a=>{const y=Ue(a.args[0]),b=Qt(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new Ws(Me(we({},a),{body:y,svgBelow:E,boxType:Lu(y)}))}}),It("^","{:string}",{createAtom:a=>{var y;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE2",e:"\xEA",i:"\xEE",o:"\xF4",u:"\xFB",A:"\xC2",E:"\xCA",I:"\xCE",O:"\xD4",U:"\xDB"}[a.args[0]])!=null?y:"^"}))}}),It("`","{:string}",{createAtom:a=>{var y;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE0",e:"\xE8",i:"\xEC",o:"\xF2",u:"\xF9",A:"\xC0",E:"\xC8",I:"\xCC",O:"\xD2",U:"\xD9"}[a.args[0]])!=null?y:"`"}))}}),It("'","{:string}",{createAtom:a=>{var y;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE1",e:"\xE9",i:"\xED",o:"\xF3",u:"\xFA",A:"\xC1",E:"\xC9",I:"\xCD",O:"\xD3",U:"\xDA"}[a.args[0]])!=null?y:"'"}))}}),It('"',"{:string}",{createAtom:a=>{var y,b;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\xE4",e:"\xEB",i:"\xEF",o:"\xF6",u:"\xFC",A:"\xC4",E:"\xCB",I:"\xCB",O:"\xD6",U:"\xDC"}[a.args[0]])!=null?b:'"'+a.args[0]:'"'}))}}),It(".","{:string}",{createAtom:a=>{var y,b;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0227",e:"\u0117",i:"\u0307i",o:"\u022F",u:"\u0307u",A:"\u0226",E:"\u0116",I:"\u0130",O:"\u022E",U:"\u0307U"}[a.args[0]])!=null?b:"."+a.args[0]:"."}))}}),It("=","{:string}",{createAtom:a=>{var y,b;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0101",e:"\u0113",i:"\u012B",o:"\u014D",u:"\u016B",A:"\u0100",E:"\u0112",I:"\u012A",O:"\u014C",U:"\u016A"}[a.args[0]])!=null?b:"="+a.args[0]:"="}))}}),It("~","{:string}",{createAtom:a=>{var y;return new Ut(Me(we({type:"mord"},a),{isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={n:"\xF1",N:"\xD1",a:"\xE3",o:"\xF5",A:"\xC3",O:"\xD5"}[a.args[0]])!=null?y:"\xB4"}))}}),It("c","{:string}",{createAtom:a=>{var y;return new Ut(Me(we({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),It("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,ee={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(E[1]){const oe=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ce of oe){const he=ce.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(he)ee.strokeWidth=he[1],ee.strokeStyle=he[2],ee.strokeColor=he[3];else{const pe=ce.match(/\s*([a-z]*)\s*=\s*"(.*)"/);pe&&(pe[1]==="mathbackground"?ee.backgroundcolor=pe[2]:pe[1]==="mathcolor"?ee.strokeColor=pe[2]:pe[1]==="padding"?ee.padding=pe[2]:pe[1]==="shadow"&&(ee.shadow=pe[2]))}}ee.strokeStyle==="dashed"?ee.svgStrokeStyle="5,5":ee.strokeStyle==="dotted"&&(ee.svgStrokeStyle="1,5")}ee.borderStyle=`${ee.strokeWidth} ${ee.strokeStyle} ${ee.strokeColor}`;const ie={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(oe=>oe.length>0).forEach(oe=>{ie[oe.toLowerCase()]=!0}),new Ed(a.command,Ue(E[2]),ie,ee)}}),It("cancel","{body:auto}",{createAtom:a=>{var y;return new Ed(a.command,Ue(a.args[0]),{updiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),It("bcancel","{body:auto}",{createAtom:a=>{var y;return new Ed(a.command,Ue(a.args[0]),{downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),It("xcancel","{body:auto}",{createAtom:a=>{var y;return new Ed(a.command,Ue(a.args[0]),{updiagonalstrike:!0,downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),It(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new Ws(Me(we({},a),{body:Ue((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),It("overbrace","{:auto}",{createAtom:a=>new Ws(Me(we({},a),{body:Ue(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),It(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new Ws(Me(we({},a),{body:Ue(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),It(["underbrace"],"{:auto}",{createAtom:a=>new Ws(Me(we({},a),{body:Ue(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),It(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,E,ee,ie;return new Ws(Me(we({},a),{svgBody:a.command.slice(1),above:((b=Ue((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:Ue((E=a.args)==null?void 0:E[1]),below:(ie=Ue((ee=a.args)==null?void 0:ee[0]))!=null?ie:null,skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,paddedLabels:!0,boxType:"rel"}))},serialize:(a,y)=>a.command+(a.hasEmptyBranch("below")?"":`[${a.belowToLatex(y)}]`)+`{${a.aboveToLatex(y)}}${a.supsubToLatex(y)}`}),It(["arccos","arcsin","arctan","arctg","arcctg","arg","ch","cos","cosh","cot","cotg","coth","ctg","cth","csc","cosec","deg","dim","exp","gcd","hom","inf","ker","lb","lg","ln","log","Pr","sec","sh","sin","sinh","sup","tan","tanh","tg","th","arcsec","arccsc","arsinh","arcosh","artanh","arcsech","arccsch"],"",{isFunction:!0,ifMode:"math",createAtom:a=>new rc(a.command.slice(1),Me(we({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),It(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new rc({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],Me(we({},a),{limits:"over-under",variant:"main"}))}),It(["lim","mod"],"",{ifMode:"math",createAtom:a=>new rc(a.command.slice(1),Me(we({},a),{limits:"over-under",variant:"main"}))}),It(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new rc(a.command.slice(1),Me(we({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),It(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),E=b.caret;b.caret=void 0;const ee=new An("\xB0",{style:Me(we({},a.style),{variant:"normal",variantStyle:"up"})});return new An([b,ee],{type:"inner",isSelected:a.isSelected,caret:E})}}),It("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new of(Me(we({},a),{body:Ue(a.args[1]),index:a.args[0]?Ue(a.args[0]):void 0}))}),It(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=we({},a),b=a.command,E=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new zc(E[0]?Ue(E[0]):[new ci],E[1]?Ue(E[1]):[new ci],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),E=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(E)?`${a.command}${b}${E}`:aa(a.command,b,E)}}),It(["brace","brack"],"",{infix:!0,createAtom:a=>new zc(Ue(a.args[0]),Ue(a.args[1]),Me(we({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>rr([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),It(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new zc(Ue(E[0]),Ue(E[1]),Me(we({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>rr([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),It(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const E=a.args;return new zc(Ue(E[0]),Ue(E[1]),Me(we({},a),{leftDelim:(y=E[2])!=null?y:".",rightDelim:(b=E[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),It("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new zc(Ue(a.args[0]),Ue(a.args[1]),Me(we({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),It(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new dh({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],Me(we({},a),{limits:"auto",variant:"main"}))}),It("smallint","",{ifMode:"math",createAtom:a=>new rc("\u222B",Me(we({},a),{limits:"adjacent",variant:"main"}))});var op={int:"\u222B",iint:"\u222C",iiint:"\u222D",oint:"\u222E",oiint:"\u222F",oiiint:"\u2230",intclockwise:"\u2231",varointclockwise:"\u2232",ointctrclockwise:"\u2233",intctrclockwise:"\u2A11",sqcup:"\u2294",sqcap:"\u2293",uplus:"\u228E",wr:"\u2240",amalg:"\u2A3F",Cap:"\u22D2",Cup:"\u22D3",doublecap:"\u22D2",doublecup:"\u22D3"};It(Object.keys(op),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=op[y.slice(1)];return new dh(b,Me(we({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),It(["Re","Im"],"",{ifMode:"math",createAtom:a=>new rc({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],Me(we({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),It("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new nf(Me(we({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),It("the","{:value}",{createAtom:a=>new Ut(Me(we({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new ur({parent:y},a.style);let ee="";a.isSelected&&(ee+=" ML__selected");const ie=E.evaluate(a.args[0]);return new An(((b=io(ie))!=null?b:"").split("").map(oe=>new An(oe,{type:"ord",classes:ee,mode:a.mode,isSelected:a.isSelected,style:we({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ee}).wrap(E)},serialize:a=>{var y;return`\\the${(y=io(a.args[0]))!=null?y:"\\relax"}`}}),It("mathtip","{:auto}{:math}",{createAtom:a=>new hh(Me(we({},a),{body:Ue(a.args[0]),tooltip:Ue(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Ut.serialize([a.tooltip],Me(we({},y),{defaultMode:"math"}))}}`}),It("texttip","{:auto}{:text}",{createAtom:a=>new hh(Me(we({},a),{body:Ue(a.args[0]),tooltip:Ue(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Ut.serialize([a.tooltip],Me(we({},y),{defaultMode:"text"}))}}`}),It("error","{:math}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),It("ensuremath","{:math}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(Me(we({},y),{defaultMode:"math"}))}}`}),It("color","{:value}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=io(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),It("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=io(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),It("boxed","{content:math}",{createAtom:a=>new Ya(Me(we({},a),{body:Ue(a.args[0]),framecolor:{string:"black"}}))}),It("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimBackgroundColor:(E=io(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((ee=y[0])!=null?ee:{string:"yellow"})}}}),It("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Ya(Me(we({},a),{body:Ue(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,E;return y.skipStyles?a.bodyToLatex(Me(we({},y),{defaultMode:"text"})):aa(a.command,(b=io(a.framecolor))!=null?b:"",(E=io(a.backgroundcolor))!=null?E:"",a.bodyToLatex(Me(we({},y),{defaultMode:"text"})))}}),It("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=Ue(a.args[1]);return b?new Ya(Me(we({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Ya(Me(we({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let ee=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const ie=[];a.padding&&ie.push((b=io(a.padding))!=null?b:""),a.border&&ie.push(`border: ${a.border}`),a.backgroundcolor&&ie.push((E=io(a.backgroundcolor))!=null?E:""),ee+=`[${ie.join(",")}]`}return aa(ee,a.bodyToLatex(y))}}),It(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),render:(a,y)=>{const b=new ur({parent:y,mathstyle:a.command.slice(1)},a.style),E=Ut.createBox(b,a.body,{type:"lift"});return a.caret&&(E.caret=a.caret),a.bind(y,E)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${rr([a.command,a.bodyToLatex(y)])}}`}),It(["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"],"",{applyStyle:a=>({fontSize:{"\\tiny":1,"\\scriptsize":2,"\\footnotesize":3,"\\small":4,"\\normalsize":5,"\\large":6,"\\Large":7,"\\LARGE":8,"\\huge":9,"\\Huge":10}[a]})}),It("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),It("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),It("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),It("selectfont","",{ifMode:"text",applyStyle:()=>({})}),It("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),It(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),It("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),It("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),It("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),It("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),It("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),It("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),It("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),It("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),It("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),It("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),It("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),It("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),It("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),It("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),It("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),It("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),It("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),It("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),It("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),It("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),It("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),It("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),It("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),It("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),It("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),It("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),It("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),It(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),It(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),It("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),It("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),It("mbox","{:text}",{ifMode:"math",createAtom:a=>new Ut(Me(we({},a),{type:"mord",body:Ue(a.args[0]),mode:"math"})),serialize:(a,y)=>aa("\\mbox",a.bodyToLatex(Me(we({},y),{defaultMode:"text"})))}),It("text","{:text}",{ifMode:"math",applyMode:"text"}),It(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[1])})),serialize:(a,y)=>!a.args[0]||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`,render:(a,y)=>{var b;return a.createBox(y,{classes:(b=a.args[0])!=null?b:""})}}),It(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.cssId=(b=a.args[0])!=null?b:"",E}}),It("htmlData","{data:string}{content:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlData=(b=a.args[0])!=null?b:"",E}}),It(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlStyle=(b=a.args[0])!=null?b:"",E}}),It("em","{:rest}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{\\em ${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})}),It("emph","{:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[1])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\emph{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})});var sp={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}};It(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new rf(Me(we({},a),{delim:(y=a.args[0])!=null?y:".",size:sp[a.command].size,delimType:sp[a.command].mclass}))}}),It(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new Cd(Me(we({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),It(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new Cd(Me(we({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),It("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Ut(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===$u||E===El)&&(b=1),(E===ru||E===Qo)&&(b=2),(E===ws||E===ko)&&(b=3);const ee=Ue(a.args[b]);return Ut.createBox(y,ee)},serialize:(a,y)=>`\\mathchoice{${Ut.serialize(a.args[0],y)}}{${Ut.serialize(a.args[1],y)}}{${Ut.serialize(a.args[2],y)}}{${Ut.serialize(a.args[3],y)}}`}),It("mathop","{:auto}",{createAtom:a=>new Ut(Me(we({},a),{type:"mop",body:Ue(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=Ut.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new An(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[aa(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),rr(b)}}),It(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Ut(Me(we({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:Ue(a.args[0])}))}),It(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=Ue(a.args[0]).map(b=>{var E;return b.type!=="first"&&(b.type="mord",b.value=(E={"\u2217":"*","\u2212":"-"}[b.value])!=null?E:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new Ut(Me(we({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=Ut.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new An(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[aa(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),rr(b)}}),It(["char","unicode"],"{charcode:value}",{createAtom:a=>new Ut(Me(we({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${io((y=a.args[0])!=null?y:{number:10067,base:"hexadecimal"})}`},render:(a,y)=>{let b=y.evaluate(a.args[0]);return(!b||!("number"in b))&&(b={number:10067,base:"hexadecimal"}),a.value=String.fromCodePoint(b.number),a.createBox(y)}}),It("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Ut(a),render:(a,y)=>{var b,E,ee;const ie=new ur({parent:y,mathstyle:"textstyle"},a.style),oe=ie.toEm((b=a.args[0])!=null?b:{dimension:0}),ce=ie.toEm((E=a.args[1])!=null?E:{dimension:10}),he=ie.toEm((ee=a.args[2])!=null?ee:{dimension:10}),pe=new An(null,{classes:"rule",type:"ord"});return pe.width=ce,pe.height=he+oe,pe.depth=-oe,pe.setStyle("border-right-width",ce,"em"),pe.setStyle("border-top-width",he,"em"),pe.setStyle("border-color",a.style.color),pe.setStyle("vertical-align",oe,"em"),a.isSelected&&pe.setStyle("opacity","50%"),a.bind(ie,pe),a.caret&&(pe.caret=a.caret),pe.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${io(a.args[0])}]`:""}{${io(a.args[1])}}{${io(a.args[2])}}`}),It(["overline","underline"],"{:auto}",{createAtom:a=>new Ut(Me(we({},a),{body:Ue(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new ur({parent:y,mathstyle:"cramp"},a.style),ee=Ut.createBox(E,a.body);if(!ee)return null;const ie=E.metrics.defaultRuleThickness/E.scalingFactor,oe=new An(null,{classes:b+"-line"});oe.height=ie,oe.maxFontSize=ie*1.125*E.scalingFactor;let ce;return b==="overline"?ce=new Vr({shift:0,children:[{box:ee},3*ie,{box:oe},ie]}):ce=new Vr({top:ee.height,children:[ie,{box:oe},3*ie,{box:ee}]}),a.caret&&(ce.caret=a.caret),new An(ce,{classes:b,type:"ignore"})}}),It("overset","{:auto}{base:auto}",{createAtom:a=>{const y=Ue(a.args[1]);return new Ws(Me(we({},a),{above:Ue(a.args[0]),body:y,skipBoundary:!1,boxType:Lu(y)}))},serialize:(a,y)=>aa(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),It("underset","{:auto}{base:auto}",{createAtom:a=>{const y=Ue(a.args[1]);return new Ws(Me(we({},a),{below:Ue(a.args[0]),body:y,skipBoundary:!1,boxType:Lu(y)}))},serialize:(a,y)=>aa(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),It("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=Ue(a.args[2]);return new Ws(Me(we({},a),{above:Ue(a.args[0]),below:Ue(a.args[1]),body:y,skipBoundary:!1,boxType:Lu(y)}))},serialize:(a,y)=>aa(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),It(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new Ws(Me(we({},a),{body:Ue(a.args[2]),above:Ue(a.args[1]),below:Ue(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>aa(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),It("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,ee;return new Sd(Me(we({},a),{body:Ue(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ee=(E=a.args[0])==null?void 0:E.includes("b"))!=null?ee:!0}))}}),It(["vphantom"],"{:auto}",{createAtom:a=>new Sd(Me(we({},a),{body:Ue(a.args[0]),isInvisible:!0,smashWidth:!0}))}),It(["hphantom"],"{:auto}",{createAtom:a=>new Sd(Me(we({},a),{body:Ue(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),It(["phantom"],"{:auto}",{createAtom:a=>new Sd(Me(we({},a),{body:Ue(a.args[0]),isInvisible:!0}))}),It("not","{:math}",{createAtom:a=>{const y=Ue(a.args[0]);return y.length===0?new Ut(Me(we({},a),{type:"mrel",value:"\uE020"})):new Ut(Me(we({},a),{body:[new ic(Me(we({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],E=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?E?`\\not{${Ut.serialize(b.group,y)}}`:`\\not${Ut.serialize(b,y)}`:E?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const E=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":Lu(Ue(a.args[0])),ee=Ut.createBox(y,a.body,{type:E});return a.caret&&(ee.caret=a.caret),a.bind(y,ee)}}),It(["ne","neq"],"",{createAtom:a=>new Ut(Me(we({},a),{type:"mrel",body:[new ic(Me(we({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Ut(Me(we({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),It("rlap","{:auto}",{createAtom:a=>new ic(Me(we({},a),{body:Ue(a.args[0]),align:"right"}))}),It("llap","{:auto}",{createAtom:a=>new ic(Me(we({},a),{body:Ue(a.args[0]),align:"left"}))}),It("mathrlap","{:math}",{createAtom:a=>new ic(Me(we({},a),{body:Ue(a.args[0]),align:"left"}))}),It("mathllap","{:math}",{createAtom:a=>new ic(Me(we({},a),{body:Ue(a.args[0]),align:"left"}))}),It("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Ya(Me(we({},a),{body:Ue(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return aa("\\raisebox",(b=io(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),It("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Ya(Me(we({},a),{body:Ue(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return aa("\\raise",(b=io(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),It("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Ya(Me(we({},a),{body:Ue(a.args[1]),padding:{dimension:0},offset:(y=Rs(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return aa("\\lower",(E=io(Rs((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),Ie("0123456789/@.?!"),tt(65,90),tt(97,122),Ie([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Ie([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Ie([["\\backslash",92],["\\nabla",8711],["\\partial",8706],["\\ell",8467],["\\hbar",8463],["\\Q",81,"mord","double-struck"],["\\C",67,"mord","double-struck"],["\\P",80,"mord","double-struck"],["\\pounds",163],["\\euro",8364]]),Ie([["\\rightarrow",8594],["\\to",8594],["\\leftarrow",8592],["\\gets",8592],["\\Rightarrow",8658],["\\Leftarrow",8656],["\\longrightarrow",10230],["\\longleftarrow",10229],["\\Longrightarrow",10233],["\\implies",10233],["\\Longleftarrow",10232],["\\impliedby",10232],["\\longleftrightarrow",10231],["\\biconditional",10231],["\\Longleftrightarrow",10234],["\\mapsto",8614],["\\longmapsto",10236],["\\uparrow",8593],["\\downarrow",8595],["\\Uparrow",8657],["\\Downarrow",8659],["\\updownarrow",8597],["\\Updownarrow",8661],["\\hookrightarrow",8618],["\\hookleftarrow",8617],["\\rightharpoonup",8640],["\\leftharpoonup",8636],["\\rightharpoondown",8641],["\\leftharpoondown",8637],["\\searrow",8600],["\\nearrow",8599],["\\swarrow",8601],["\\nwarrow",8598],["\\originalof",8886],["\\laplace",8886],["\\imageof",8887],["\\Laplace",8887]],"mrel"),Ie([["\\mapsfrom",8612,"mrel"],["\\Mapsfrom",10502,"mrel"],["\\MapsTo",10503,"mrel"],["\\Yup",8516,"mord"],["\\lightning",8623,"mrel"],["\\leftarrowtriangle",8701,"mrel"],["\\rightarrowtriangle",8702,"mrel"],["\\leftrightarrowtriangle",8703,"mrel"],["\\boxdot",8865,"mbin"],["\\bigtriangleup",9651,"mbin"],["\\bigtriangledown",9661,"mbin"],["\\boxbar",9707,"mbin"],["\\Lbag",10181,"mopen"],["\\Rbag",10182,"mclose"],["\\llbracket",10214,"mopen"],["\\rrbracket",10215,"mclose"],["\\longmapsfrom",10235,"mrel"],["\\Longmapsfrom",10237,"mrel"],["\\Longmapsto",10238,"mrel"],["\\boxslash",10692,"mbin"],["\\boxbslash",10693,"mbin"],["\\boxast",10694,"mbin"],["\\boxcircle",10695,"mbin"],["\\boxbox",10696,"mbin"],["\\fatsemi",10783,"mop"],["\\leftslice",10918,"mrel"],["\\rightslice",10919,"mrel"],["\\interleave",10996,"mbin"],["\\biginterleave",11004,"mop"],["\\sslash",11005,"mbin"],["\\talloblong",11006,"mbin"]]),Ie([["\\lbrace",123,"mopen"],["\\rbrace",125,"mclose"],["\\lparen",40,"mopen"],["\\rparen",41,"mclose"],["\\langle",10216,"mopen"],["\\rangle",10217,"mclose"],["\\lfloor",8970,"mopen"],["\\rfloor",8971,"mclose"],["\\lceil",8968,"mopen"],["\\rceil",8969,"mclose"],["\\vert",8739],["\\lvert",8739,"mopen"],["\\rvert",8739,"mclose"],["\\|",8741],["\\Vert",8741],["\\mVert",8741],["\\lVert",8741,"mopen"],["\\rVert",8741,"mclose"],["\\lbrack",91,"mopen"],["\\rbrack",93,"mclose"],["\\{",123,"mopen"],["\\}",125,"mclose"],["(",40,"mopen"],[")",41,"mclose"],["[",91,"mopen"],["]",93,"mclose"],["\\ulcorner",9484,"mopen","ams"],["\\urcorner",9488,"mclose","ams"],["\\llcorner",9492,"mopen","ams"],["\\lrcorner",9496,"mclose","ams"],["\\lgroup",10222,"mopen"],["\\rgroup",10223,"mclose"],["\\lmoustache",9136,"mopen"],["\\rmoustache",9137,"mclose"]]),Ie([["\\dashrightarrow",8674],["\\dashleftarrow",8672],["\\Rrightarrow",8667],["\\Lleftarrow",8666],["\\leftrightarrows",8646],["\\rightleftarrows",8644],["\\curvearrowright",8631],["\\curvearrowleft",8630],["\\rightrightarrows",8649],["\\leftleftarrows",8647],["\\upuparrows",8648],["\\downdownarrows",8650],["\\vartriangle",9651],["\\triangleq",8796],["\\vartriangleleft",8882],["\\trianglelefteq",8884],["\\ntriangleleft",8938],["\\ntrianglelefteq",8940],["\\vartriangleright",8883],["\\trianglerighteq",8885],["\\ntriangleright",8939],["\\ntrianglerighteq",8941],["\\blacktriangleleft",9664],["\\blacktriangleright",9654],["\\leftarrowtail",8610],["\\rightarrowtail",8611],["\\looparrowright",8620],["\\looparrowleft",8619],["\\twoheadleftarrow",8606],["\\twoheadrightarrow",8608],["\\twoheadrightarrowtail",10518],["\\rightleftharpoons",8652],["\\leftrightharpoons",8651],["\\Rsh",8625],["\\Lsh",8624],["\\circlearrowright",8635],["\\circlearrowleft",8634],["\\restriction",8638],["\\upharpoonright",8638],["\\upharpoonleft",8639],["\\downharpoonright",8642],["\\downharpoonleft",8643],["\\rightsquigarrow",8669],["\\leadsto",8669],["\\leftrightsquigarrow",8621],["\\multimap",8888],["\\nleftarrow",8602],["\\nrightarrow",8603],["\\nRightarrow",8655],["\\nLeftarrow",8653],["\\nleftrightarrow",8622],["\\nLeftrightarrow",8654],["\\nvrightarrow",8696],["\\nvtwoheadrightarrow",10496],["\\nvrightarrowtail",10516],["\\nvtwoheadrightarrowtail",10519],["\\shortparallel",8741],["\\nless",8814],["\\nleqslant",57360],["\\lneq",10887],["\\lneqq",8808],["\\nleqq",57361],["\\lvertneqq",57356],["\\lnsim",8934],["\\lnapprox",10889],["\\nprec",8832],["\\npreceq",8928],["\\precnsim",8936],["\\precnapprox",10937],["\\nsim",8769],["\\nshortmid",57350],["\\nmid",8740],["\\nvdash",8876],["\\nvDash",8877],["\\ngtr",8815],["\\ngeqslant",57359],["\\ngeqq",57358],["\\gneq",10888],["\\gneqq",8809],["\\gvertneqq",57357],["\\gnsim",8935],["\\gnapprox",10890],["\\nsucc",8833],["\\nsucceq",8929],["\\succnsim",8937],["\\succnapprox",10938],["\\ncong",8774],["\\nshortparallel",57351],["\\nparallel",8742],["\\nVDash",8879],["\\nsupseteqq",57368],["\\supsetneq",8843],["\\varsupsetneq",57371],["\\supsetneqq",10956],["\\varsupsetneqq",57369],["\\nVdash",8878],["\\precneqq",10933],["\\succneqq",10934],["\\nsubseteqq",57366],["\\leqslant",10877],["\\geqslant",10878],["\\gtrsim",8819],["\\approxeq",8778],["\\thickapprox",8776],["\\lessapprox",10885],["\\gtrapprox",10886],["\\precapprox",10935],["\\succapprox",10936],["\\thicksim",8764],["\\succsim",8831],["\\precsim",8830],["\\backsim",8765],["\\eqsim",8770],["\\backsimeq",8909],["\\lesssim",8818],["\\nleq",8816],["\\ngeq",8817],["\\smallsmile",8995],["\\smallfrown",8994],["\\leqq",8806],["\\eqslantless",10901],["\\lll",8920],["\\lessgtr",8822],["\\lesseqgtr",8922],["\\lesseqqgtr",10891],["\\risingdotseq",8787],["\\fallingdotseq",8786],["\\subseteqq",10949],["\\Subset",8912],["\\sqsubset",8847],["\\preccurlyeq",8828],["\\curlyeqprec",8926],["\\vDash",8872],["\\Vvdash",8874],["\\bumpeq",8783],["\\Bumpeq",8782],["\\geqq",8807],["\\eqslantgtr",10902],["\\ggg",8921],["\\gtrless",8823],["\\gtreqless",8923],["\\gtreqqless",10892],["\\supseteqq",10950],["\\Supset",8913],["\\sqsupset",8848],["\\succcurlyeq",8829],["\\curlyeqsucc",8927],["\\Vdash",8873],["\\shortmid",8739],["\\between",8812],["\\pitchfork",8916],["\\varpropto",8733],["\\backepsilon",8717],["\\llless",8920],["\\gggtr",8921],["\\doteqdot",8785],["\\Doteq",8785],["\\eqcirc",8790],["\\circeq",8791],["\\therefore",8756],["\\because",8757]],"mrel","ams"),Ie([["+",43],["-",8722],["\u2212",8722],["\\pm",177],["\\mp",8723],["*",8727],["\\times",215],["\\div",247],["\\divides",8739],["\\cdot",8901],["\\cap",8745],["\\cup",8746],["\\setminus",8726],["\\land",8743],["\\wedge",8743],["\\lor",8744],["\\vee",8744],["\\circ",8728],["\\bigcirc",9711],["\\bullet",8729],["\\oplus",8853],["\\ominus",8854],["\\otimes",8855],["\\odot",8857],["\\oslash",8856],["\\bigtriangleup",9651],["\\bigtriangledown",9661],["\\triangleleft",9667],["\\triangleright",9657],["\\And",38],["\\dagger",8224],["\\dag",8224],["\\ddag",8225],["\\ddagger",8225],["\\ast",8727],["\\star",8902],["\\bigstar",9733],["\\diamond",8900]],"mbin"),Ie([["\\lhd",8882],["\\rhd",8883],["\\lessdot",8918],["\\gtrdot",8919],["\\ltimes",8905],["\\rtimes",8906],["\\leftthreetimes",8907],["\\rightthreetimes",8908],["\\intercal",8890],["\\dotplus",8724],["\\doublebarwedge",10846],["\\divideontimes",8903],["\\centerdot",8901],["\\smallsetminus",8726],["\\barwedge",8892],["\\veebar",8891],["\\nor",8891],["\\curlywedge",8911],["\\curlyvee",8910],["\\boxminus",8863],["\\boxplus",8862],["\\boxtimes",8864],["\\boxdot",8865],["\\circleddash",8861],["\\circledast",8859],["\\circledcirc",8858],["\\unlhd",8884],["\\unrhd",8885]],"mbin","ams"),Ie([["\\surd",8730],["\\infty",8734],["\\prime",8242],["\\doubleprime",8243],["\\angle",8736],["`",8216],["\\$",36],["\\%",37],["\\_",95],["\\alpha",945],["\\beta",946],["\\gamma",947],["\\delta",948],["\\epsilon",1013],["\\varepsilon",949],["\\zeta",950],["\\eta",951],["\\theta",952],["\\vartheta",977],["\\iota",953],["\\kappa",954],["\\varkappa",1008,"mord","ams"],["\\lambda",955],["\\mu",956],["\\nu",957],["\\xi",958],["\\omicron",111],["\\pi",960],["\\varpi",982],["\\rho",961],["\\varrho",1009],["\\sigma",963],["\\varsigma",962],["\\tau",964],["\\phi",981],["\\varphi",966],["\\upsilon",965],["\\chi",967],["\\psi",968],["\\omega",969],["\\Gamma",915],["\\Delta",916],["\\Theta",920],["\\Lambda",923],["\\Xi",926],["\\Pi",928],["\\Sigma",931],["\\Upsilon",933],["\\Phi",934],["\\Psi",936],["\\Omega",937],["\\digamma",989,"mord","ams"],["\\emptyset",8709]]),Ie([["=",61],["<",60],["\\lt",60],[">",62],["\\gt",62],["\\le",8804],["\\leq",8804],["\\ge",8805],["\\geq",8805],["\\ll",8810],["\\gg",8811],["\\coloneq",8788],["\\coloneqq",8788],["\\colonequals",8788],["\\measeq",8797],["\\eqdef",8798],["\\questeq",8799],[":",58],["\\cong",8773],["\\equiv",8801],["\\prec",8826],["\\preceq",10927],["\\succ",8827],["\\succeq",10928],["\\perp",8869],["\\propto",8733],["\\Colon",8759],["\\smile",8995],["\\frown",8994],["\\sim",8764],["\\doteq",8784],["\\bowtie",8904],["\\Join",8904],["\\asymp",8781],["\\sqsubseteq",8849],["\\sqsupseteq",8850],["\\approx",8776],["\\~",126],["\\leftrightarrow",8596],["\\Leftrightarrow",8660],["\\models",8872],["\\vdash",8866],["\\dashv",8867],["\\roundimplies",10608],["\\in",8712],["\\notin",8713],["\\ni",8715],["\\owns",8715],["\\subset",8834],["\\supset",8835],["\\subseteq",8838],["\\supseteq",8839],["\\differencedelta",8710],["\\mvert",8739],["\\parallel",8741],["\\simeq",8771]],"mrel"),Ie([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Ie([["\\wp",8472],["\\aleph",8501]]),Ie([["\\blacktriangle",9650],["\\hslash",8463],["\\Finv",8498],["\\Game",8513],["\\eth",240],["\\mho",8487],["\\Bbbk",107],["\\yen",165],["\\square",9633],["\\Box",9633],["\\blacksquare",9632],["\\circledS",9416],["\\circledR",174],["\\triangledown",9661],["\\blacktriangledown",9660],["\\checkmark",10003],["\\diagup",9585],["\\measuredangle",8737],["\\sphericalangle",8738],["\\backprime",8245],["\\backdoubleprime",8246],["\\Diamond",9674],["\\lozenge",9674],["\\blacklozenge",10731],["\\varnothing",8709],["\\complement",8705],["\\maltese",10016],["\\beth",8502],["\\daleth",8504],["\\gimel",8503]],"mord","ams"),Ie([["\\ ",160],["~",160]],"space"),It(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new Cd(a)}),It("space","",{createAtom:a=>new Cd(a)}),Ie([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Ie([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Ie([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var lp="<mo>&#x2061;</mo>",Y0="<mo>&#8290;</mo>";function Z0(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Jr(a,y){return!a||!y.generateID?"":` extid="${a}"`}function M1(a,y,b){var E,ee,ie,oe,ce,he,pe,ve,De,Oe,We;let Ze=!1;y=y!=null?y:a.atoms.length;let Dt="",xn="",St=a.atoms[a.index];const tn=(ee=(E=St.style)==null?void 0:E.variant)!=null?ee:"",Mn=(oe=(ie=St.style)==null?void 0:ie.variantStyle)!=null?oe:"";let cn="";if(tn||Mn){const ui=ht(St.value,(ce=St.style)==null?void 0:ce.variant,(he=St.style)==null?void 0:he.variantStyle);if(ui!==St.value)return a.index+=1,Dt=`<mi${Jr(St.id,b)}>${ui}</mi>`,uu(Dt,a,b)||(a.mathML+=Dt,a.lastType="mi"),!0;cn=(pe={upnormal:"normal",boldnormal:"bold",italicmain:"italic",bolditalicmain:"bold-italic","updouble-struck":"double-struck","double-struck":"double-struck",boldfraktur:"bold-fraktur",calligraphic:"script",upcalligraphic:"script",script:"script",boldscript:"bold-script",boldcalligraphic:"bold-script",fraktur:"fraktur","upsans-serif":"sans-serif","boldsans-serif":"bold-sans-serif","italicsans-serif":"sans-serif-italic","bolditalicsans-serif":"sans-serif-bold-italic",monospace:"monospace"}[Mn+tn])!=null?pe:"",cn=` mathvariant="${cn}"`}const Vn={"\\exponentialE":"&#x02147;","\\imaginaryI":"&#x2148;","\\differentialD":"&#x2146;","\\capitalDifferentialD":"&#x2145;","\\alpha":"&#x03b1;","\\pi":"&#x03c0;","\\infty":"&#x221e;","\\forall":"&#x2200;","\\nexists":"&#x2204;","\\exists":"&#x2203;","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(St.command==="!")return a.index+=1,Dt="<mo>!</mo>",uu(Dt,a,b)||(a.mathML+=Dt,a.lastType="mo"),!0;if(Vn[St.command]){a.index+=1;let ui=`<mi${Jr(St.id,b)}${cn}>${Vn[St.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(ui=Y0+ui),uu(ui,a,b)||(a.mathML+=ui,a.lastType="mi"),!0}if(St.command==="\\operatorname")xn=Yc(St.body),a.index+=1;else if(tn||Mn)for(;a.index<y&&(St.type==="mord"||St.type==="macro")&&!St.isDigit()&&tn===((De=(ve=St.style)==null?void 0:ve.variant)!=null?De:"")&&Mn===((We=(Oe=St.style)==null?void 0:Oe.variantStyle)!=null?We:"");)xn+=Yc([St]),a.index+=1,St=a.atoms[a.index];else(St.type==="mord"||St.type==="macro")&&!St.isDigit()&&(xn+=Yc([St]),a.index+=1);if(xn.length>0){Ze=!0,Dt=`<mi${cn}>${xn}</mi>`;const ui=a.lastType;Dt.endsWith(">f</mi>")||Dt.endsWith(">g</mi>")?(Dt+=lp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Dt)?"mo":"mi",uu(Dt,a,b)||((ui==="mi"||ui==="mn"||ui==="mtext"||ui==="fence")&&(Dt=Y0+Dt),a.mathML+=Dt)}return Ze}function S1(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function C1(a){let y=-1,b=a.index,E=!1,ee=!1;for(;b<a.atoms.length&&!E&&!ee;){const ie=a.atoms[b];E=!ie.isDigit(),ee=!E&&ie.superscript!==void 0,b++}return ee&&(y=b-1),y}function uu(a,y,b){var E;let ee=y.atoms[y.index-1];if(!ee)return!1;if(!ee.superscript&&!ee.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")ee=y.atoms[y.index],y.index+=1;else return!1;const ie=y.lastType;y.lastType="";const oe=Ir(ee.superscript,b);y.lastType="";const ce=Ir(ee.subscript,b);if(y.lastType=ie,!oe&&!ce)return!1;let he="";return oe&&ce?he=`<msubsup>${a}${ce}${oe}</msubsup>`:oe?he=`<msup>${a}${oe}</msup>`:ce&&(he=`<msub>${a}${ce}</msub>`),y.mathML+=he,y.lastType="",!0}function k1(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ee+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ee.length>0?(a.mathML+=`<mtext ${Jr(a.atoms[E].id,b)}>${ee}</mtext>`,a.lastType="mtext",!0):!1}function D1(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="",ie=C1(a);for(ie>=0&&ie<y&&(y=ie);a.index<y&&a.atoms[a.index].isDigit();)ee+=a.atoms[a.index].asDigit(),a.index+=1;return ee.length<=0?!1:(ee="<mn"+Jr(a.atoms[E].id,b)+">"+ee+"</mn>",ie<0&&S1(a)&&(ie=a.index,a.index+=1),uu(ee,a,b)||(a.mathML+=ee,a.lastType="mn"),!0)}function L1(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",ie="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let oe=!1,ce=0;const he=a.index;let pe=-1,ve=he+1;for(;ve<y&&!oe;)a.atoms[ve].type==="mopen"?ce+=1:a.atoms[ve].type==="mclose"&&(ce-=1),ce===-1&&(oe=!0,pe=ve),ve+=1;oe&&(ee="<mrow>",ee+=pc(a.atoms[he],b),ee+=Ir(a.atoms,b,he+1,pe),ee+=pc(a.atoms[pe],b),ee+="</mrow>",a.index=pe+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=Y0),uu(ee,a,b)&&(E=!0,a.lastType="",ee=""),ie="fence")}return ee.length>0&&(E=!0,a.mathML+=ee,a.lastType=ie),E}function B1(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",ie="";const oe=a.atoms[a.index];if(!oe)return!1;const ce={"\\ne":"&ne;","\\neq":"&neq;","\\pm":"&#177;","\\times":"&#215;","\\colon":":","\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lbrack":"[","\\rbrack":"]","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"};if(ce[oe.command]){a.index+=1;const he=`<mo${Jr(oe.id,b)}>${ce[oe.command]}</mo>`;return uu(he,a,b)||(a.mathML+=he,a.lastType="mo"),!0}if(a.index<y&&(oe.type==="mbin"||oe.type==="mrel"))ee+=Wh(a.atoms[a.index],b),a.index+=1,ie="mo";else if(a.index<y&&(oe.type==="mop"||oe.type==="operator"||oe.type==="extensible-symbol")){if(oe.subsupPlacement==="over-under"&&(oe.superscript||oe.subscript)){const he=pc(oe,b);return oe.superscript&&oe.subscript?(ee+="<munderover>"+he,ee+=Ir(oe.subscript,b),ee+=Ir(oe.superscript,b),ee+="</munderover>"):oe.superscript?(ee+="<mover>"+he,ee+=Ir(oe.superscript,b),ee+="</mover>"):oe.subscript&&(ee+="<munder>"+he,ee+=Ir(oe.subscript,b),ee+="</munder>"),a.mathML+=ee,a.lastType="mo",a.index+=1,!0}{const he=a.atoms[a.index],pe=he.value==="\\operatorname",ve=pe?'<mi class="MathML-Unit"'+Jr(he.id,b)+">"+Yc(he.value)+"</mi>":pc(he,b);ee+=ve,!pe&&!/^<mo>(.*)<\/mo>$/.test(ve)?(ee+=lp,ie="applyfunction"):ie=pe?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ee)&&(ee=Y0+ee),a.index+=1}return ee.length>0&&(E=!0,uu(ee,a,b)||(a.mathML+=ee,a.lastType=ie)),E}function Ir(a,y,b,E){y!=null||(y={});const ee={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ee.mathML=a.toString();else if(typeof a=="string")ee.mathML=a;else if(a instanceof Ut)ee.mathML=Wh(a,y);else if(Array.isArray(a)){ee.atoms=a;let ie=0;for(E=E||(a?a.length:0);ee.index<E;)if(k1(ee,E,y)||D1(ee,E,y)||M1(ee,E,y)||B1(ee,E,y)||L1(ee,E,y))ie+=1;else if(ee.index<E){let oe=Wh(ee.atoms[ee.index],y);ee.lastType==="mn"&&oe.length>0&&ee.atoms[ee.index].type==="genfrac"&&(oe="<mo>&#x2064;</mo>"+oe),ee.atoms[ee.index].type==="genfrac"?ee.lastType="mfrac":ee.lastType="",ee.index+=1,uu(oe,ee,y)?ie+=1:oe.length>0&&(ee.mathML+=oe,ie+=1)}ie>1&&(ee.mathML="<mrow>"+ee.mathML+"</mrow>")}return ee.mathML}function pc(a,y){let b="";const E=Yc(a.value);return E&&(b="<mo"+Jr(a.id,y)+">"+E+"</mo>"),b}function Yc(a){if(!a)return"";if(typeof a=="string")return Z0(a);if(!Array.isArray(a)&&typeof a.body=="string")return Z0(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return Z0(y)}function Wh(a,y){var b,E,ee,ie,oe,ce,he,pe,ve,De,Oe,We,Ze,Dt,xn,St,tn,Mn,cn,Vn,ui,ni;if(a.mode==="text")return`<mi${Jr(a.id,y)}>${a.value}</mi>`;const fr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",longleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",longrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",longrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xleftrightarrows:"\u21C4",xRightleftharpoons:"\u21CC",longRightleftharpoons:"\u21CC",xLeftrightharpoons:"\u21CB",longLeftrightharpoons:"\u21CB"},Ur={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let Dn="",Os="",Ol,Us,Io,Ps,vs,qr;const{command:Ja}=a;if(a.command==="\\error")return`<merror${Jr(a.id,y)}>${Ir(a.body,y)}</merror>`;const To={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Pl={"\\vec":"&#x20d7;","\\acute":"&#x00b4;","\\grave":"&#x0060;","\\dot":"&#x02d9;","\\ddot":"&#x00a8;","\\tilde":"&#x007e;","\\bar":"&#x00af;","\\breve":"&#x02d8;","\\check":"&#x02c7;","\\hat":"&#x005e;"};switch(a.type){case"first":break;case"group":case"root":Dn=Ir(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(Dn+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(Dn+="<mo>"+(To[a.leftDelim]||a.leftDelim)+"</mo>")),Dn+="<mtable",a.colFormat){for(Dn+=' columnalign="',Io=0;Io<a.colFormat.length;Io++)a.colFormat[Io].align&&(Dn+={l:"left",c:"center",r:"right"}[a.colFormat[Io].align]+" ");Dn+='"'}for(Dn+=">",Us=0;Us<a.array.length;Us++){for(Dn+="<mtr>",Ol=0;Ol<a.array[Us].length;Ol++)Dn+="<mtd>"+Ir(a.array[Us][Ol],y)+"</mtd>";Dn+="</mtr>"}Dn+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(Dn+="<mo>"+(To[a.leftDelim]||a.rightDelim)+"</mo>"),Dn+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(Dn+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(Dn+="<mo"+Jr(a.id,y)+">"+(To[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(Dn+="<mfrac>",Dn+=Ir(a.above,y)||"<mi>&nbsp;</mi>",Dn+=Ir(a.below,y)||"<mi>&nbsp;</mi>",Dn+="</mfrac>"):(Dn+="<mtable"+Jr(a.id,y)+">",Dn+="<mtr>"+Ir(a.above,y)+"</mtr>",Dn+="<mtr>"+Ir(a.below,y)+"</mtr>",Dn+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(Dn+="<mo"+Jr(a.id,y)+">"+(To[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(Dn+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(Dn+="<msqrt"+Jr(a.id,y)+">",Dn+=Ir(a.body,y),Dn+="</msqrt>"):(Dn+="<mroot"+Jr(a.id,y)+">",Dn+=Ir(a.body,y),Dn+=Ir(a.above,y),Dn+="</mroot>");break;case"leftright":const zl=a,_l=zl.leftDelim;Dn="<mrow>",_l&&_l!=="."&&(Dn+=`<mo${Jr(a.id,y)}>${(b=To[_l])!=null?b:_l}</mo>`),a.body&&(Dn+=Ir(a.body,y));const jl=zl.matchingRightDelim();jl&&jl!=="."&&(Dn+=`<mo${Jr(a.id,y)}>${(E=To[jl])!=null?E:jl}</mo>`),Dn+="</mrow>";break;case"sizeddelim":case"delim":Dn+=`<mo${Jr(a.id,y)}>${To[a.value]||a.value}</mo>`;break;case"accent":Dn+='<mover accent="true"'+Jr(a.id,y)+">",Dn+=Ir(a.body,y),Dn+="<mo>"+(Pl[Ja]||a.accent)+"</mo>",Dn+="</mover>";break;case"line":case"overlap":break;case"overunder":vs=a.above,Ps=a.below,(a.svgAbove||vs)&&(a.svgBelow||Ps)?qr=a.body:vs&&vs.length>0?(qr=a.body,(ie=(ee=a.body)==null?void 0:ee[0])!=null&&ie.below?(Ps=a.body[0].below,qr=a.body[0].body):((ce=(oe=a.body)==null?void 0:oe[0])==null?void 0:ce.type)==="first"&&((pe=(he=a.body)==null?void 0:he[1])!=null&&pe.below)&&(Ps=a.body[1].below,qr=a.body[1].body)):Ps&&Ps.length>0&&(qr=a.body,(De=(ve=a.body)==null?void 0:ve[0])!=null&&De.above?(vs=a.body[0].above,qr=a.body[0].body):((We=(Oe=a.body)==null?void 0:Oe[0])==null?void 0:We.type)==="first"&&((Dt=(Ze=a.body)==null?void 0:Ze[1])!=null&&Dt.above)&&(vs=a.body[1].overscript,qr=a.body[1].body)),(a.svgAbove||vs)&&(a.svgBelow||Ps)?(Dn+=`<munderover ${Jr(a.id,y)}>`,Dn+=(xn=fr[a.svgBody])!=null?xn:Ir(qr,y),Dn+=(St=fr[a.svgBelow])!=null?St:Ir(Ps,y),Dn+=(tn=fr[a.svgAbove])!=null?tn:Ir(vs,y),Dn+="</munderover>"):a.svgAbove||vs?(Dn+=`<mover ${Jr(a.id,y)}>`+((Mn=fr[a.svgBody])!=null?Mn:Ir(qr,y)),Dn+=(cn=fr[a.svgAbove])!=null?cn:Ir(vs,y),Dn+="</mover>"):(a.svgBelow||Ps)&&(Dn+=`<munder ${Jr(a.id,y)}>`+((Vn=fr[a.svgBody])!=null?Vn:Ir(qr,y)),Dn+=(ui=fr[a.svgBelow])!=null?ui:Ir(Ps,y),Dn+="</munder>");break;case"placeholder":Dn+="?";break;case"mord":{Dn=typeof a.value=="string"?a.value:Ja,Ja==="\\char"?Dn="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":Dn.length>0&&Dn.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?Dn="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?Dn=a.value.charAt(0):(console.error("Did not expect this"),Dn=""));const ll=/\d/.test(Dn)?"mn":"mi";Dn=`<${ll}${Jr(a.id,y)}>${Z0(Dn)}</${ll}>`;break}case"mbin":case"mrel":case"minner":Dn=pc(a,y);break;case"mpunct":Dn='<mo separator="true"'+Jr(a.id,y)+">"+Ja+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(Dn="<mo"+Jr(a.id,y)+">",Dn+=Ja==="\\operatorname"?a.body:Ja||a.body,Dn+="</mo>");break;case"box":Dn='<menclose notation="box"',a.backgroundcolor&&(Dn+=' mathbackground="'+a.backgroundcolor+'"'),Dn+=Jr(a.id,y)+">"+Ir(a.body,y)+"</menclose>";break;case"spacing":Dn+='<mspace width="'+((ni=Ur[Ja])!=null?ni:0)+'em"/>';break;case"enclose":Dn='<menclose notation="';for(const ll in a.notation)Object.prototype.hasOwnProperty.call(a.notation,ll)&&a.notation[ll]&&(Dn+=Os+ll,Os=" ");Dn+=Jr(a.id,y)+'">'+Ir(a.body,y)+"</menclose>";break;case"prompt":Dn='<menclose notation="roundexbox""">'+Ir(a.body,y)+"</menclose>";break;case"space":Dn+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":Dn+=pc(a,y);break;case"mclose":Dn+=pc(a,y);break;case"macro":{const ll=a.command+Yc(a.macroArgs);ll&&(Dn+=`<mo ${Jr(a.id,y)}>${ll}</mo>`)}break;case"latexgroup":Dn+=Ir(a.body,y);break;case"latex":Dn+="<mtext"+Jr(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":Dn+=Ir(a.body,y);break;case"text":Dn+=`<mtext ${Jr(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Jr(a.id,y)} displaystyle="true">${Ir(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Jr(a.id,y)} displaystyle="false">${Ir(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return Dn}var Zc={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},Kh={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function N1(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Hd(a){let y=0;if(Ne(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function I1(a){if(Ne(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function up(a){let y="";if(Ne(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function T1(a){return a?a.map(y=>y.value).join(""):""}function lr(a,y){var b,E,ee,ie,oe;function ce(ve){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(ve)?` <say-as interpret-as="character">${ve}</say-as>`:/[A-Z]/.test(ve)?`capital <say-as interpret-as="character">${ve.toLowerCase()}</say-as>`:ve:/[a-z]/.test(ve)?" '"+ve.toUpperCase()+"'":/[A-Z]/.test(ve)?" 'capital "+ve.toUpperCase()+"'":ve}function he(ve){return"<emphasis>"+ve+"</emphasis>"}if(!y)return"";let pe="";if(Ne(y)){let ve=!1,De=!1;for(let Oe=0;Oe<y.length;Oe++)y[Oe].type!=="first"&&(y[Oe].mode!=="text"&&(De=!1),Oe<y.length-2&&y[Oe].type==="mopen"&&y[Oe+2].type==="mclose"&&y[Oe+1].type==="mord"?(pe+=" of ",pe+=he(lr(a,y[Oe+1])),Oe+=2):y[Oe].mode==="text"?De?pe+=(b=y[Oe].value)!=null?b:" ":(De=!0,pe+=lr("text",y[Oe])):y[Oe].isDigit()?ve?pe+=y[Oe].asDigit():(ve=!0,pe+=lr(a,y[Oe])):(ve=!1,pe+=lr(a,y[Oe])))}else if(y.mode==="text")y.id&&a==="math"&&(pe+='<mark name="'+y.id.toString()+'"/>'),pe+=y.value;else{y.id&&a==="math"&&(pe+='<mark name="'+y.id.toString()+'"/>');let ve="",De="",Oe="",We=!1;const{command:Ze}=y;switch(Ze){case"\\vec":return"vector "+lr(a,y.body);case"\\acute":return lr(a,y.body)+" acute";case"\\grave":return lr(a,y.body)+" grave";case"\\dot":return"dot over"+lr(a,y.body);case"\\ddot":return"double dot over"+lr(a,y.body);case"\\mathring":return"ring over"+lr(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+lr(a,y.body);case"\\bar":return lr(a,y.body)+" bar";case"\\breve":return lr(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+lr(a,y.body);case"\\hat":case"\\widehat":return"hat over"+lr(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+lr(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+lr(a,y.body)}switch(y.type){case"prompt":const Dt=y.body.length>1?'start input . <break time="500ms"/> '+lr(a,y.body)+'. <break time="500ms"/> end input':"blank";pe+=' <break time="300ms"/> '+Dt+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const xn=y.array,St=y.environmentName;if(Object.keys(Kh).includes(St)){pe+=` begin ${Kh[St]} `;for(let cn=0;cn<xn.length;cn++){cn>0&&(pe+=","),pe+=` row ${cn+1} `;for(let Vn=0;Vn<xn[cn].length;Vn++)Vn>0&&(pe+=","),pe+=` column ${Vn+1}: `,pe+=lr("math",xn[cn][Vn])}pe+=` end ${Kh[St]} `}break;case"group":Ze==="\\ne"?pe+=" not equal ":(Ze==="\\not"&&(pe+=" not "),pe+=lr("math",y.body));break;case"root":pe+=lr("math",y.body);break;case"genfrac":if(ve=lr("math",y.above),De=lr("math",y.below),Hd(y.above)&&Hd(y.below)){const Vn={"1/2":" half ","1/3":" one third ","2/3":" two third","1/4":" one quarter ","3/4":" three quarter ","1/5":" one fifth ","2/5":" two fifths ","3/5":" three fifths ","4/5":" four fifths ","1/6":" one sixth ","5/6":" five sixths ","1/8":" one eight ","3/8":" three eights ","5/8":" five eights ","7/8":" seven eights ","1/9":" one ninth ","2/9":" two ninths ","4/9":" four ninths ","5/9":" five ninths ","7/9":" seven ninths ","8/9":" eight ninths "}[up(y.above)+"/"+up(y.below)];Vn?pe=Vn:pe+=ve+" over "+De}else pe+=' the fraction <break time="150ms"/>'+ve+' over <break time="150ms"/>'+De+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(Oe=lr("math",y.body),y.hasEmptyBranch("above"))pe+=Hd(y.body)?" the square root of "+Oe+" , ":' the square root of <break time="200ms"/>'+Oe+'. <break time="200ms"/> End square root';else{let cn=lr("math",y.above);cn=cn.trim();const Vn=cn.replace(/<mark([^/]*)\/>/g,"");Vn==="3"?pe+=' the cube root of <break time="200ms"/>'+Oe+'. <break time="200ms"/> End cube root':Vn==="n"?pe+=' the nth root of <break time="200ms"/>'+Oe+'. <break time="200ms"/> End root':pe+=' the root with index: <break time="200ms"/>'+cn+', of <break time="200ms"/>'+Oe+'. <break time="200ms"/> End root'}break;case"leftright":{const cn=y;pe+=(ee=cn.leftDelim?Zc[cn.leftDelim]:void 0)!=null?ee:cn.leftDelim,pe+=lr("math",y.body),pe+=(ie=cn.rightDelim?Zc[cn.rightDelim]:void 0)!=null?ie:cn.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const tn=Ze.replace(/^\\/g,""),Mn=Sr()[tn];Mn&&(Mn!=null&&Mn.expand?pe+=lr("math",y.body):pe+=`${tn} `);break;case"placeholder":pe+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(Ze==="\\mathbin"||Ze==="\\mathrel"||Ze==="\\mathopen"||Ze==="\\mathclose"||Ze==="\\mathpunct"||Ze==="\\mathord"||Ze==="\\mathinner"){pe=lr(a,y.body);break}let cn=y.isDigit()?y.asDigit():y.value,Vn=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Vn=y.value,cn=Vn),a==="text")pe+=cn;else{if(y.type==="mbin"&&(pe+='<break time="150ms"/>'),cn){const ui=Zc[cn]||(Vn?Zc[Vn.trim()]:"");if(ui)pe+=" "+ui;else{const ni=Vn?N1(Vn.trim()):"";pe+=ni||ce(cn)}}else pe+=lr("math",y.body);y.type==="mbin"&&(pe+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const cn=y.command;if(cn==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vn=lr("math",y.superscript);Vn=Vn.trim();let ui=lr("math",y.subscript);ui=ui.trim(),pe+=' the summation from <break time="200ms"/>'+ui+'<break time="200ms"/> to <break time="200ms"/>'+Vn+'<break time="200ms"/> of <break time="150ms"/>',We=!0}else if(y.hasEmptyBranch("subscript"))pe+=" the summation of";else{let Vn=lr("math",y.subscript);Vn=Vn.trim(),pe+=' the summation from <break time="200ms"/>'+Vn+'<break time="200ms"/> of <break time="150ms"/>',We=!0}else if(cn==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vn=lr("math",y.superscript);Vn=Vn.trim();let ui=lr("math",y.subscript);ui=ui.trim(),pe+=' the product from <break time="200ms"/>'+ui+'<break time="200ms"/> to <break time="200ms"/>'+Vn+'<break time="200ms"/> of <break time="150ms"/>',We=!0}else if(y.hasEmptyBranch("subscript"))pe+=" the product of ";else{let Vn=lr("math",y.subscript);Vn=Vn.trim(),pe+=' the product from <break time="200ms"/>'+Vn+'<break time="200ms"/> of <break time="150ms"/>',We=!0}else if(cn==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vn=lr("math",y.superscript);Vn=Vn.trim();let ui=lr("math",y.subscript);ui=ui.trim(),pe+=' the integral from <break time="200ms"/>'+he(ui)+'<break time="200ms"/> to <break time="200ms"/>'+he(Vn)+' <break time="200ms"/> of ',We=!0}else pe+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Vn=(oe=Zc[y.value])!=null?oe:y.command?Zc[y.command]:void 0;pe+=Vn||" "+y.value}else y.command&&(y.command==="\\mathop"?pe+=lr("math",y.body):y.command==="\\operatorname"?pe+=T1(y.body):pe+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":Oe=lr("math",y.body),pe+=" crossed out "+Oe+". End crossed out.";break;case"space":case"spacing":break}if(!We&&!y.hasEmptyBranch("superscript")){let Dt=lr(a,y.superscript);Dt=Dt.trim();const xn=Dt.replace(/<[^>]*>/g,"");if(Hd(y.superscript)){if(a==="math"){const St=I1(y.superscript);St&&(pe+='<mark name="'+St+'"/>')}xn==="\u2032"?pe+=" prime ":xn==="2"?pe+=" squared ":xn==="3"?pe+=" cubed ":Number.isNaN(Number.parseInt(xn))?pe+=" to the "+Dt+"; ":pe+=' to the <say-as interpret-as="ordinal">'+xn+"</say-as> power; "}else Number.isNaN(Number.parseInt(xn))?pe+=" raised to the "+Dt+"; ":pe+=' raised to the <say-as interpret-as="ordinal">'+xn+"</say-as> power; "}if(!We&&!y.hasEmptyBranch("subscript")){let Dt=lr("math",y.subscript);Dt=Dt.trim(),pe+=Hd(y.subscript)?" sub "+Dt:" subscript "+Dt+". End subscript. "}}return pe}function Jc(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ee=Ir(a);if(ee){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=Me(we({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=Me(we({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=Me(we({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const ie=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&ie.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let oe="";try{oe=ie.toSpeech(ee)}catch(ce){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",ce)}return oe}return""}let E=lr("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ee="";window.MathfieldElement.speechEngineRate&&(ee='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),E='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+ee+"<p><s>"+E+"</s></p>"+(ee?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Fe()==="macos"?E=E.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):E=E.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return E}var Wd={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},Kd={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function F1(a){let y="";for(const b of a){const E=y[y.length-1];E!==void 0&&/\d/.test(E)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Za(a){var y,b,E,ee,ie,oe,ce,he,pe,ve,De,Oe,We;if(!a)return"";if(Ne(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Za).join("");if(a[0].mode==="text"){let Mn=0,cn="";for(;((y=a[Mn])==null?void 0:y.mode)==="text";)cn+=a[Mn].body?Za(a[Mn].body):a[Mn].value,Mn++;return`"${cn}" ${Za(a.slice(Mn))}`}let St=0;const tn=[];for(;a[St]&&a[St].mode==="math";){let Mn="";for(;a[St]&&a[St].type==="mord"&&/\d/.test(a[St].value);)Mn+=a[St++].value;Mn?tn.push(Mn):tn.push(Za(a[St++]))}return tn.push(Za(a.slice(St))),F1(tn)}if(a.mode==="text")return`"${a.value}"`;let Ze="";const{command:Dt}=a;let xn;if(Dt==="\\placeholder")return`(${Za(a.body)})`;switch(a.type){case"accent":const St={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Dt];Ze=`${St!=null?St:""} ${Za(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(ni=>ni.value).join("");case"group":case"root":Ze=(b=Wd[Dt])!=null?b:Za(a.body);break;case"genfrac":{const ni=a;(ni.leftDelim||ni.rightDelim)&&(Ze=ni.leftDelim==="."||!ni.leftDelim?"{:":ni.leftDelim),ni.hasBarLine?(Ze+="(",Ze+=Za(ni.above),Ze+=")/(",Ze+=Za(ni.below),Ze+=")"):(Ze+="("+Za(ni.above)+"),",Ze+="("+Za(ni.below)+")"),(ni.leftDelim||ni.rightDelim)&&(Ze+=ni.rightDelim==="."||!ni.rightDelim?"{:":ni.rightDelim)}break;case"surd":Ze+=a.hasEmptyBranch("above")?"sqrt("+Za(a.body)+")":"root("+Za(a.above)+")("+Za(a.body)+")";break;case"latex":Ze=a.value;break;case"leftright":{const ni=a,fr=ni.leftDelim;Ze+=fr==="."||!fr?"{:":fr,Ze+=Za(ni.body);const Ur=ni.matchingRightDelim();Ze+=Ur==="."||!Ur?":}":Ur}break;case"sizeddelim":case"delim":Ze=a.value;break;case"overlap":break;case"overunder":break;case"mord":Ze=(ee=(E=Wd[Dt])!=null?E:Dt)!=null?ee:typeof a.value=="string"?a.value:"",Ze.startsWith("\\")&&(Ze+=" "),xn=Dt?Dt.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,xn?Ze=String.fromCodePoint(Number.parseInt("0x"+xn[1])):Ze.length>0&&Ze.startsWith("\\")&&(Ze=typeof a.value=="string"?a.value.charAt(0):a.command),Ze=O1(Ze,a.style);break;case"mbin":case"mrel":case"minner":Ze=(oe=(ie=Wd[Dt])!=null?ie:Kd[Dt])!=null?oe:a.value;break;case"mopen":case"mclose":Ze=a.value;break;case"mpunct":Ze=(ce=Kd[Dt])!=null?ce:Dt;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Kd[Dt]?Ze=Kd[Dt]:Ze=Dt==="\\operatorname"?Za(a.body):(he=a.value)!=null?he:Dt,Ze+=" ");break;case"array":const tn=a.array,Mn=a.environmentName,cn=(pe={bmatrix:["[","]"],"bmatrix*":["[","]"]}[Mn])!=null?pe:["(",")"],Vn=[];for(const ni of tn){const fr=[];for(const Ur of ni)fr.push(cn[0]+Za(Ur)+cn[1]);Vn.push(fr.join(","))}const ui=(ve={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[Mn])!=null?ve:["(",")"];Ze=ui[0]+Vn.join(",")+ui[1];break;case"box":break;case"spacing":Ze=(De=Wd[Dt])!=null?De:" ";break;case"enclose":Ze="("+Za(a.body)+")";break;case"space":Ze=" ";break;case"subsup":Ze="";break;case"macro":Ze=(We=(Oe=Wd[Dt])!=null?Oe:Kd[Dt])!=null?We:Za(a.body);break}if(!a.hasEmptyBranch("subscript")){Ze+="_";const St=Za(a.subscript);Ze+=St.length!==1?`(${St})`:St}if(!a.hasEmptyBranch("superscript")){Ze+="^";const St=Za(a.superscript);Ze+=St.length!==1?`(${St})`:St}return Ze}function O1(a,y){if(!y)return a;let b=a;return y.variant==="double-struck"&&(b=`bbb "${b}"`),y.variant==="script"&&(b=`cc "${b}"`),y.variant==="fraktur"&&(b=`fr "${b}"`),y.variant==="sans-serif"&&(b=`sf "${b}"`),y.variant==="monospace"&&(b=`tt "${b}"`),y.variantStyle==="bold"&&(b=`bb "${b}"`),y.color?`color({${y.color}})(${b})`:b}function No(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ee=new ur({from:Me(we({},Bc()),{renderPlaceholder:()=>new An(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),oe=new Ut({mode:"math",type:"root",body:Bo(a,{context:ee,parseMode:"math",mathstyle:y.mathstyle})}).render(ee);return oe?(kc(kd(oe,ee)),Dc(oe,{classes:"ML__latex"}).toMarkup()):""}function kv(a){return ef(a,{context:Bc()})}function P1(a,y={}){return Ir(Bo(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function z1(a){const y=Bo(a,{parseMode:"math",mathstyle:"displaystyle"});return Jc(y)}var J0;function _1(a){var y,b;if(!J0){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?J0=new E:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=J0==null?void 0:J0.box(a).latex)!=null?b:""}function Dv(a,y="math"){return Za(new Ut({type:"root",body:Bo(a,{parseMode:y})}))}function Lv(a){return nc(a,{format:"ascii-math"})[1]}function Uh(a){if(typeof a=="string"){const y=j1(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?H1(a):"a"in a?cp(a):a}function qc(a){return a<0?0:a>255?255:Math.round(a)}function j1(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Qh(a){const[y,b,E]=[a.L,a.C,a.H],ee=E*Math.PI/180,ie={L:y,a:b*Math.cos(ee),b:b*Math.sin(ee)};return a.alpha!==void 0&&(ie.alpha=a.alpha),ie}function R1(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.sqrt(b*b+E*E),oe=Math.atan2(E,b)*180/Math.PI,ce={L:y,C:ee,H:oe};return a.alpha!==void 0&&(ce.alpha=a.alpha),ce}function Gh(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),ie=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),oe=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),ce=4.076741661347994*ee-3.307711590408193*ie+.230969928729428*oe,he=-1.2684380040921763*ee+2.6097574006633715*ie-.3413193963102197*oe,pe=-.004196086541837188*ee-.7034186144594493*ie+1.7076147009309444*oe,ve=De=>{const Oe=Math.abs(De);return Oe<=.0031308?De*12.92:(Math.sign(De)||1)*(1.055*Math.pow(Oe,1/2.4)-.055)};return[ve(ce),ve(he),ve(pe)]}function Vh(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function Yh(a,y){let[b,E,ee]=a;return b=qc(b*255),E=qc(E*255),ee=qc(ee*255),y!==void 0?{r:b,g:E,b:ee,alpha:y}:{r:b,g:E,b:ee}}function cp(a){let[y,b,E]=Gh(a);if(Vh([y,b,E]))return Yh([y,b,E],a.alpha);const ee=R1(a);if(ee.C=0,[y,b,E]=Gh(Qh(ee)),!Vh([y,b,E]))return Yh([y,b,E],a.alpha);let ie=0,oe=a.L,ce=(ie+oe)/2;ee.C=ce;const he=.36/Math.pow(2,12);for(;oe-ie>he;)ce=(ie+oe)/2,ee.C=ce,[y,b,E]=Gh(Qh(ee)),Vh([y,b,E])?ie=ce:oe=ce;return Yh([y,b,E],a.alpha)}function H1(a){return cp(Qh(a))}function dp(a,y){const b=Uh(a),E=Uh(y),ee=.56,ie=.57,oe=.62,ce=.65,he=.022,pe=1.414,ve=.1,De=5e-4,Oe=1.14,We=.027,Ze=1.14,Dt=.027;function xn(ni){return ni>=he?ni:ni+Rl(he-ni,pe)}function St(ni){return(ni<0?-1:1)*Math.pow(Math.abs(ni),2.4)}const tn=xn(St(E.r/255)*.2126729+St(E.g/255)*.7151522+St(E.b/255)*.072175),Mn=xn(St(b.r/255)*.2126729+St(b.g/255)*.7151522+St(b.b/255)*.072175);let cn,Vn,ui;return Math.abs(Mn-tn)<De?Vn=0:Mn>tn?(cn=Rl(Mn,ee)-Rl(tn,ie),Vn=cn*Oe):(cn=Rl(Mn,ce)-Rl(tn,oe),Vn=cn*Ze),Math.abs(Vn)<ve?ui=0:Vn>0?ui=Vn-Dt:ui=Vn+We,ui*100}function hp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=dp(a,b),ee=dp(a,y);return Math.abs(E)>Math.abs(ee)?b:y}function W1(a){const y=Uh(a);let b=((1<<24)+(qc(y.r)<<16)+(qc(y.g)<<8)+qc(y.b)).toString(16).slice(1);return y.alpha!==void 0&&y.alpha<1&&(b+=("00"+Math.round(y.alpha*255).toString(16)).slice(-2)),b[0]===b[1]&&b[2]===b[3]&&b[4]===b[5]&&b[6]===b[7]&&(b=b[0]+b[2]+b[4]+(y.alpha!==void 0&&y.alpha<1?b[6]:"")),"#"+b}function ma(a){const y=fp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function fp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function K1(a,y){const b=fp(a);if(b.length!==1)return!1;const E=fh[y];return E?!!E.test(b[0].value):!1}function U1(a,y){return ma(a).length>0}function Q1(a){return[Zh(a,"double-struck","mathbb","tooltip.blackboard"),Zh(a,"fraktur","mathfrak","tooltip.fraktur"),Zh(a,"calligraphic","mathcal","tooltip.caligraphic"),Jh(a,"up","mathrm","tooltip.roman-upright"),Jh(a,"bold","mathbf","tooltip.bold"),Jh(a,"italic","mathit","tooltip.italic")]}function G1(a){return[{label:()=>No(`\\vec{${ma(a)}}`),visible:()=>ma(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>No(`\\overrightarrow{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>No(`\\overleftarrow{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>No(`\\dot{${ma(a)}}`),visible:()=>ma(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>No(`\\ddot{${ma(a)}}`),visible:()=>ma(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>No(`\\bar{${ma(a)}}`),visible:()=>ma(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>No(`\\overline{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>No(`\\overgroup{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>No(`\\overbrace{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>No(`\\underline{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>No(`\\undergroup{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>No(`\\underbrace{${ma(a)}}`),visible:()=>ma(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function V1(a){return[{label:()=>No(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>No(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>No(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Y1(a){const y=[];for(const b of Object.keys(yt))y.push({class:(W1(hp(yt[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${yt[b]} "></span>`,ariaLabel:()=>{var E;return(E=ut(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({backgroundColor:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function Z1(a){const y=[];for(const b of Object.keys(_t))y.push({class:(hp(_t[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${_t[b]} "></span>`,ariaLabel:()=>{var E;return(E=ut(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({color:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var J1=class extends ep{constructor(a,y,b,E){super(a,y),this.row=b,this.col=E}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function q1(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(ee,ie)=>new J1(ee,ie,b,E),label:"\u2610",tooltip:()=>ut("tooltip.row-by-col",b,E),data:{row:b,col:E},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(E).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function X1(a){return[{label:()=>ut("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>mc(a)},{label:()=>ut("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>mc(a)},{label:()=>ut("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>mc(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=ev(a);return b<y.maxColumns}},{label:()=>ut("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>mc(a)},{type:"divider"},{label:()=>ut("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>mc(a)},{label:()=>ut("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>mc(a)},{type:"divider"},{label:()=>ut("menu.borders"),visible:()=>($1(a)||mc(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Ud(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Ud(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Ud(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Ud(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Ud(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>ut("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:q1(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>ut("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>ut("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Rc(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>ut("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Rc(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>ut("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>ut("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Q1(a),submenuClass:"variant-submenu"},{label:()=>ut("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Z1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ut("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Y1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ut("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:G1(a),submenuClass:"variant-submenu"},{label:()=>ut("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&ma(a).length>0,submenu:V1(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>ut("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=tv(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>ut("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const E=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!E){a.model.announce("plonk");return}a.insert(`=${E.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!E){a.model.announce("plonk");return}a.insert(E.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?ut("menu.solve-for",No(b)):ut("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,E=b==null?void 0:b.unknowns[0],ee=(y=b.solve(E))==null?void 0:y.map(ie=>{var oe;return(oe=ie.simplify().latex)!=null?oe:""});if(!ee){a.model.announce("plonk");return}a.insert(`${E}=${ee.length===1?ee[0]:"\\left\\lbrace"+(ee==null?void 0:ee.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>ut("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>ut("menu.copy"),id:"copy",submenu:[{label:()=>ut("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>ji.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>ut("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>ji.copyToClipboard(a,"ascii-math")},{label:()=>ut("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>ji.copyToClipboard(a,"math-ml")}]},{label:()=>ut("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>ut("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function mc(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function $1(a){return a.model.at(a.model.position).type==="array"}function ev(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,ee)=>Math.max(E,ee.length),0)]:[0,0]}function Ud(a,y){E0(a),a.flushInlineShortcutBuffer(),If(a.model,y),Ha(a)}function tv(a){var y,b;let E;if(a.model.selectionIsCollapsed?E=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!E)return"";let ee=E.evaluate();return ee.isSame(E)&&(ee=E.N()),ee.latex}function Zh(a,y,b,E){return{label:()=>No(`\\${b}{${ma(a)}}`),tooltip:()=>{var ee;return(ee=ut(E))!=null?ee:E},visible:()=>K1(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variant:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Jh(a,y,b,E){return{label:()=>No(`\\${b}{${ma(a)}}`),tooltip:()=>{var ee;return(ee=ut(E))!=null?ee:E},visible:()=>U1(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variantStyle:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Xc(a,y){return a+Jc(y)}Es({speak:(a,y,b)=>nv(a,y,b)},{target:"mathfield"});function nv(a,y,b){var E,ee;b=b!=null?b:{withHighlighting:!1};const{model:ie}=a;function oe(ve){let De=null;switch(ve){case"all":De=ie.root;break;case"selection":De=ie.getAtoms(ie.selection);break;case"left":{De=ie.getAtoms(ie.offsetOf(ie.at(ie.position).leftSibling),ie.position);break}case"right":{De=ie.getAtoms(ie.position,ie.offsetOf(ie.at(ie.position).rightSibling));break}case"group":De=ie.getAtoms(ie.getSiblingsRange(ie.position));break;case"parent":{const{parent:Oe}=ie.at(ie.position);Oe!=null&&Oe.parent?De=Oe:De=ie.root;break}default:De=ie.root}return De}function ce(ve){let De="";switch(ve){case"all":console.log("Internal failure: speak all failed");break;case"selection":De="no selection";break;case"left":De="at start";break;case"right":De="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":De="no parent";break;default:console.log('unknown speak_ param value: "'+ve+'"');break}return De}const he=oe(y);if(he===null)return(ee=(E=window.MathfieldElement).speakHook)==null||ee.call(E,ce(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const pe=Jc(he);return et()&&b.withHighlighting?(Hu().readAloudMathfield=a,oc(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,pe)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(pe),!1}function iv(a){var y,b;if(!et()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const E=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(E)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};E.synthesizeSpeech(ee,(ie,oe)=>{if(ie)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);else if(oe!=null&&oe.AudioStream){const ce=new Uint8Array(oe.AudioStream),he=new Blob([ce.buffer],{type:"audio/mpeg"}),pe=URL.createObjectURL(he);new Audio(pe).play().catch(De=>console.log(De))}else console.log("polly.synthesizeSpeech():",oe)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function pp(a){var y;let b;if(a.parent.type==="prompt")a.parentBranch==="body"&&(b="prompt");else if(a.parentBranch==="body")b=a.type&&(y={enclose:"cross out",leftright:"delimiter",surd:"square root",root:"math field",mop:"operator",first:"first"}[a.type])!=null?y:"parent";else if(a.parent.type==="genfrac"){if(a.parentBranch==="above")return"numerator";if(a.parentBranch==="below")return"denominator"}else a.parent.type==="surd"?a.parentBranch==="above"&&(b="index"):a.parentBranch==="superscript"?b="superscript":a.parentBranch==="subscript"&&(b="subscript");return b||console.log("unknown relationship"),b!=null?b:"parent"}function rv(a,y,b,E){let ee="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ee=Xc("deleted: ",E);else if(y==="focus"||y.includes("move"))ee=av(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+ov(a.model);else if(y==="replacement")ee=Xc("",a.model.at(a.model.position));else if(y==="line"){const ie=Xc("",a.model.root);a.keyboardDelegate.setAriaLabel(ie)}else ee=E?Xc(y+" ",E):y;if(ee){const ie=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ee+ie}}function av(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",ee=b.parent;const ie=a.at(a.position).parent;for(;ee!==a.root&&ee!==ie;)E+=`out of ${pp(ee)};`,ee=ee.parent;return E}function ov(a){if(!a.selectionIsCollapsed)return Xc("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),E=pp(b);return b.isFirstSibling&&(y=(E?"start of "+E:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=E?"end of "+E:"unknown"):y+=Xc("",b),y}var sv=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const E=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let ee={};if((y==null?void 0:y.type)==="undo"&&(ee={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ee={inputType:"historyRedo"}),this.contentWillChange(ee)){const ie=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=zu(a.content),this.selection=a.selection,this.silenceNotifications=ie,this.contentDidChange(ee)}this.silenceNotifications=E}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,E,ee;const ie=this.normalizeSelection(a,y);if(ie===void 0)throw new TypeError("Invalid selection");if(ie.ranges.length===1&&ie.ranges[0][0]===ie.ranges[0][1]){const ve=ie.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(ve))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(ve-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(ve-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ee=this.at(ve+1))!=null&&ee.parentPrompt){this._anchor=this.normalizeOffset(ve+1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}this._anchor=0,this._position=0,this._selection={ranges:[[0,0]]};return}this._anchor=ve,this._position=ve,this._selection=ie;return}const oe=Do(ie);ie.direction==="backward"?[this._position,this._anchor]=oe:[this._anchor,this._position]=oe;const ce=this.at(oe[0]+1),he=this.at(oe[1]),pe=Ut.commonAncestor(ce,he);(pe==null?void 0:pe.type)==="array"&&ce.parent===pe&&he.parent===pe?this._selection={ranges:[oe],direction:ie.direction}:this._selection={ranges:[oe],direction:ie.direction},console.assert(this._position>=0&&this._position<=this.lastOffset)})}setPositionHandlingPlaceholder(a){var y;const b=this.at(a);(b==null?void 0:b.type)==="placeholder"?this.setSelection(a-1,a):((y=b==null?void 0:b.rightSibling)==null?void 0:y.type)==="placeholder"?this.setSelection(a,a+1):this.position=a,b instanceof jo&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const E=y.parent.branch(y.parentBranch);return[this.offsetOf(E[0]),this.offsetOf(E[E.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let E=b!=null?b:{};if(Ic(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((pe,ve)=>[...pe,...this.getAtoms(ve,E)],[]);a=a.ranges[0]}let ee,ie;if(Ml(a)){if(ee=a,!Ml(y))return[];ie=y}else[ee,ie]=a,E=y!=null?y:{};if(!Number.isFinite(ee))return[];E.includeChildren===void 0&&(E.includeChildren=!1),ee<0&&(ee=this.lastOffset-ee+1),ie<0&&(ie=this.lastOffset-ie+1);const oe=Math.min(ee,ie)+1,ce=Math.max(ee,ie);if(!E.includeChildren&&oe===1&&ce===this.lastOffset)return[this.root];let he=[];for(let pe=oe;pe<=ce;pe++){const ve=this.atoms[pe];mp(this,ve,oe,ce)&&he.push(ve)}return E.includeChildren||(he=he.filter(pe=>{let ve=!1,{parent:De}=pe;for(;De&&!ve;)ve=mp(this,De,oe,ce),De=De.parent;return!ve})),he}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let E=a;E<=b;E++)y.push(this.atoms[E]);for(let E=0;E<a;E++)y.push(this.atoms[E]);return y}findAtom(a,y=0,b="forward"){let E;const ee=this.lastOffset;if(b==="forward"){for(let ie=y;ie<=ee;ie++)if(E=this.atoms[ie],a(E))return E;for(let ie=0;ie<y;ie++)if(E=this.atoms[ie],a(E))return E;return}for(let ie=y;ie>=0;ie--)if(E=this.atoms[ie],a(E))return E;for(let ie=ee;ie>y;ie--)if(E=this.atoms[ie],a(E))return E}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new Ut({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return Ut.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return Ir(a);if(b==="spoken")return Jc(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ee=Jc(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ee=Jc(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}return b==="ascii-math"?Za(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let E,ee;if(Ml(a)&&Ml(y)?(E=[this.normalizeRange([a,y])],ee=b):Nc(a)?(E=[this.normalizeRange(a)],ee=y):Ic(a)?(E=a.ranges,ee=y):(E=[this.normalizeRange([0,-1])],ee=a),ee!=null||(ee="latex"),ee==="math-json"){if(!window.MathfieldElement.computeEngine)return window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),'["Error", "compute-engine-not-available"]';const ie=this.getValue({ranges:E},"latex-unstyled");try{const oe=window.MathfieldElement.computeEngine.parse(ie);return JSON.stringify(oe.json)}catch(oe){return JSON.stringify(["Error",`'${oe.toString()}'`])}}if(ee.startsWith("latex")){const ie={expandMacro:ee==="latex-expanded",skipStyles:ee==="latex-unstyled",skipPlaceholders:ee==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return rr(E.map(oe=>Ut.serialize(this.getAtoms(oe),ie)))}return E.map(ie=>this.getAtoms(ie).map(oe=>this.atomToString(oe,ee)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[E,ee]=b,{parent:ie}=this.at(ee);if(ie&&(ie.type==="genfrac"||ie.type==="subsup"))for(;ie!==this.root&&qh(this,ie,[E,ee]);)ee=this.offsetOf(ie),ie=ie.parent;for(ie=this.at(E).parent;ie!==this.root&&qh(this,ie,[E,ee]);)E=this.offsetOf(ie.leftSibling),ie=ie.parent;if(ie=this.at(ee).parent,(ie==null?void 0:ie.type)==="genfrac")for(;ie!==this.root&&qh(this,ie,[E,ee]);)ee=this.offsetOf(ie),console.assert(ee>=0),ie=ie.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,ee]],direction:"none"}})}announce(a,y,b=[]){var E,ee;((ee=(E=this.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0)&&rv(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,ee=this._position,ie=this.silenceNotifications;this.silenceNotifications=!0;const oe=this.root.changeCounter;y();const ce=this.root.changeCounter!==oe,he=E!==this._anchor||ee!==this._position||tc(this._selection,b)==="different";return this.silenceNotifications=ie,a.content&&ce&&this.contentDidChange({inputType:a.type}),a.selection&&he&&this.selectionDidChange(),ce||he}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let E;if(Ml(a)){const ee=this.normalizeOffset(a);if(Ml(y)){const ie=this.normalizeOffset(y);E=ee<=ie?{ranges:[[ee,ie]],direction:"none"}:{ranges:[[ie,ee]],direction:"backward"}}else E={ranges:[[ee,ee]],direction:"none"}}else if(Nc(a)){const ee=this.normalizeOffset(a[0]),ie=this.normalizeOffset(a[1]);E=ee<=ie?{ranges:[[ee,ie]],direction:"none"}:{ranges:[[ie,ee]],direction:"backward"}}else Ic(a)&&(E={ranges:a.ranges.map(ee=>this.normalizeRange(ee)),direction:(b=a.direction)!=null?b:"none"});return console.assert(E!==void 0),E}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",Me(we({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",bubbles:!0,composed:!0}))),this.silenceNotifications=b}selectionDidChange(){if(!this.mathfield||(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function mp(a,y,b,E){const ee=a.offsetOf(y);if(ee<b||ee>E)return!1;if(!y.hasChildren)return!0;const ie=a.offsetOf(y.firstChild);if(ie>=b&&ie<=E){const oe=a.offsetOf(y.lastChild);if(oe>=b&&oe<=E)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,ee]=b,ie=a.offsetOf(y.firstChild),oe=a.offsetOf(y.lastChild);return ie>=E&&ie<=ee&&oe>=ie&&oe<=ee}function Qd(a,y,b,E){var ee,ie,oe,ce,he,pe;const ve=b.parent;if(ve&&b instanceof Nr){const De=!E&&y==="forward"||E==="body"&&y==="backward";let Oe=De?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return De?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(ve.addChildrenAfter(b.removeBranch("body"),b),ve.removeChild(b),Oe--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(ve.addChildrenAfter(b.removeBranch("body"),b),ve.removeChild(b),Oe--),a.position=Oe,!0}if(ve&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const De=b.leftSibling;b.hasChildren&&ve.addChildrenAfter(b.removeBranch("body"),b),ve.removeChild(b),a.position=a.offsetOf(De)}else y==="forward"&&E==="body"?a.position=a.offsetOf(b):!E&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),ve.removeChild(b)):E==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(ve&&(b.type==="box"||b.type==="enclose")){const De=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return ve.addChildrenAfter(b.removeBranch("body"),b),ve.removeChild(b),a.position=a.offsetOf(De),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!E)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const De=Gd.fractionNavigationOrder==="numerator-denominator"?"above":"below",Oe=De==="above"?"below":"above";if(ve&&(y==="forward"&&E===De||y==="backward"&&E===Oe)){const We=b.removeBranch(De),Ze=b.removeBranch(Oe);return ve.addChildrenAfter([...We,...Ze],b),ve.removeChild(b),a.position=a.offsetOf(We.length>0?We[We.length-1]:Ze[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!E&&y==="forward")return!1;if(!E){if(b.subscript||b.superscript){const De=y==="forward"?(oe=(ee=b.superscript)==null?void 0:ee[0])!=null?oe:(ie=b.subscript)==null?void 0:ie[0]:(pe=(ce=b.subscript)==null?void 0:ce[0].lastSibling)!=null?pe:(he=b.superscript)==null?void 0:he[0].lastSibling;return De&&(a.position=a.offsetOf(De)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const De=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=De,!0}if(E==="superscript")if(y==="backward"){const De=a.offsetOf(b.firstChild)-1;console.assert(De>=0),a.position=De}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else E==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(E&&b.hasEmptyBranch(E)&&(b.removeBranch(E),b.type==="subsup"&&!b.subscript&&!b.superscript)){const De=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=De}return!0}if((ve==null?void 0:ve.type)==="genfrac"&&!E&&b.type!=="first"){let De=a.offsetOf(b.leftSibling);return ve.removeChild(b),ve.hasEmptyBranch("above")&&ve.hasEmptyBranch("below")?(De=a.offsetOf(ve.leftSibling),ve.parent.removeChild(ve),a.announce("delete",void 0,[ve]),a.position=De,!0):(a.announce("delete",void 0,[b]),a.position=De,!0)}if(y==="backward"&&((ve==null?void 0:ve.command)==="\\ln"||(ve==null?void 0:ve.command)==="\\log")&&b.parentBranch!=="body"){const De=a.offsetOf(ve.leftSibling);return ve.parent.removeChild(ve),a.announce("delete",void 0,[ve]),a.position=De,!0}return!1}function lv(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentBackward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentBackward"},()=>{let y=a.at(a.position);if(!(y&&Qd(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(Qd(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):Fl(a,Do(a.selection),"deleteContentBackward")}function uv(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let E=a.at(a.position).rightSibling;if(E&&Qd(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&Qd(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&Qd(a,"forward",E.parent,E.parentBranch))return;E=void 0}if(a.position===a.lastOffset||!E){a.announce("plonk");return}E.parent.removeChild(E);let ee=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ee==null?void 0:ee.type)==="subsup";)ee.parent.removeChild(ee),ee=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):Fl(a,Do(a.selection),"deleteContentForward")}function Fl(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let ee=E[0].parent.firstChild;ee.type==="first"&&(ee=ee.rightSibling);const ie=E[E.length-1].parent.lastChild;let oe=E[0];oe.type==="first"&&(oe=oe.rightSibling);const ce=E[E.length-1];if(oe===ee&&ce===ie){const he=E[0].parent;he.parent&&he.type!=="prompt"&&(y=[a.offsetOf(he.leftSibling),a.offsetOf(he)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const he=E[0].parent,pe=E[0].parentBranch==="below"?"above":"below",ve=a.offsetOf(he.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var De,Oe;const We=he.removeBranch(pe);if(We.length===1&&We[0].type==="placeholder")(Oe=he.parent)==null||Oe.removeChild(he),a.position=Math.max(0,ve);else{const Ze=he.parent.addChildrenAfter(We,he);(De=he.parent)==null||De.removeChild(he),a.position=a.offsetOf(Ze)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Es({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Fl(a,[0,-1],"deleteContent"),deleteForward:a=>uv(a),deleteBackward:a=>lv(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Fl(a,[a.anchor,Ch(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Fl(a,[a.anchor,Ch(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Fl(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Fl(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Fl(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Fl(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var cv=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${ut("tooltip.toggle virtual keyboard")}"><path d="M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"/></svg>`,dv=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${ut("tooltip.menu")}"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`,hv=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,ee;this.options=we(Me(we({},F0()),{macros:Sr(),registers:Iu()}),T0(y)),this.eventController=new AbortController;const ie=this.eventController.signal;y.eventSink&&(this.host=y.eventSink),this.element=a,a.mathfield=this,this.blurred=!0,this.keystrokeCaptionVisible=!1,this.suggestionIndex=0,this.inlineShortcutBuffer=[],this.inlineShortcutBufferFlushTimer=0,this.defaultStyle={},this.adoptStyle="left",this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline"),this.dirty=!1;let oe=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";oe=oe.trim();const ce=Lf(this.options),he=new Ut({type:"root",mode:ce,body:Bo(oe,{context:this.context})});this.model=new sv(this,ce,he),this.undoManager=new zg(this.model);const pe=[];if(pe.push("<span contenteditable=true aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>"),pe.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),pe.push("<span part=content class=ML__content>"),pe.push(wf(this)),pe.push("</span>"),window.mathVirtualKeyboard&&(pe.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent?"":'style="display:none;"'} data-l10n-tooltip="tooltip.toggle virtual keyboard">`),pe.push(cv),pe.push("</div>")),pe.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),pe.push(dv),pe.push("</div>"),pe.push("</span>"),pe.push("<span class=ML__sr-only>"),pe.push("<span role=status aria-live=assertive aria-atomic=true></span>"),pe.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(pe.join("")),!this.element.children){console.error("%cMathLive 0.98.5: Something went wrong and the mathfield could not be created.%c\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.","color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold","color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit");return}this._l10Subscription=Ye.subscribe(()=>Ye.update(this.element)),Ye.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",De=>De.stopImmediatePropagation(),{capture:!1,signal:ie}),this.field.addEventListener("wheel",this,{passive:!1,signal:ie}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:ie}):this.field.addEventListener("mousedown",this,{signal:ie}),(ee=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ee.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Il(this)))},{signal:ie}),this._menu=new A1(X1(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:ie});const ve=this.element.querySelector("[part=menu-toggle]");ve==null||ve.addEventListener("pointerdown",De=>{if(De.currentTarget!==ve||this._menu.state!=="closed")return;this.element.classList.add("tracking");const Oe=ve.getBoundingClientRect();this._menu.modifiers=ac(De),this._menu.show({target:ve,location:{x:Oe.left,y:Oe.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),De.preventDefault(),De.stopPropagation()},{signal:ie}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(ve.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Wm(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:ie}),document.addEventListener("scroll",this,{signal:ie}),this.resizeObserver=new ResizeObserver(()=>Ha(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:ie}),Bd&&!Ye.locale.startsWith(Bd.locale)&&_m(Ye.locale),Fs!=="ready"&&document.fonts.ready.then(()=>D0(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this)),G0(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,zh())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:kl(this.field))!=null?b:void 0,ee=a==null?void 0:a.modifiers,ie=this.element.querySelector("[part=container]");return this._menu.show({target:ie,location:E,modifiers:ee})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:Bt(a)}}get backgroundColorMap(){return a=>{var y,b,E,ee,ie,oe;return(oe=(ie=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?ie:(ee=(E=this.options).colorMap)==null?void 0:ee.call(E,a))!=null?oe:Je(a)}}get smartFence(){var a;return(a=this.options.smartFence)!=null?a:!1}get readOnly(){var a;return(a=this.options.readOnly)!=null?a:!1}get disabled(){var a,y;return(y=(a=this.host)==null?void 0:a.disabled)!=null?y:!1}get contentEditable(){return this.host?this.host.getAttribute("contenteditable")!=="false":!1}get userSelect(){if(!this.host)return"";const a=getComputedStyle(this.host);return a.getPropertyValue("user-select")||a.getPropertyValue("-webkit-user-select")}get hasEditableContent(){return this.disabled||!this.contentEditable?!1:!this.readOnly||this.hasEditablePrompts}get hasEditablePrompts(){return this.readOnly&&!this.disabled&&this.contentEditable&&this.model.findAtom(a=>a.type==="prompt"&&!a.locked)!==void 0}get isSelectionEditable(){if(this.disabled||!this.contentEditable)return!1;if(!this.readOnly)return!0;const a=this.model.at(this.model.anchor),y=this.model.at(this.model.position),b=Ut.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=we({},a[0].style);for(const b of a)for(const[E,ee]of Object.entries(b.style))y[E]!==ee&&delete y[E];return y}queryStyle(a){const y=Ih(this,a);"verbatimColor"in y&&delete y.verbatimColor,"verbatimBackgroundColor"in y&&delete y.verbatimBackgroundColor;const b=Object.keys(y).length;if(b===0)return"all";if(b>1){for(const he of Object.keys(y)){const pe=this.queryStyle({[he]:y[he]});if(pe==="none")return"none";if(pe==="some")return"some"}return"all"}const E=Object.keys(y)[0],ee=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===ee?"all":"none";const ie=this.model.getAtoms(this.model.selection,{includeChildren:!0});let oe=ie.length;if(oe===0)return"none";let ce=0;for(const he of ie){if(he.type==="first"){oe-=1;continue}he.style[E]===ee&&(ce+=1)}return ce===0?"none":ce===oe?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=Vm(this.options.keybindings,(a=Nd())!=null?a:jm());return((y=Nd())==null?void 0:y.score)>0&&(this._keybindings=b,E.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",E)),b}get menu(){return this._menu}setOptions(a){var y;this.options=we(we({},this.options),T0(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const E=Ut.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&ji.insert(this.model,E,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Ha(this)}getOptions(a){return lc(this.options,a)}getOption(a){return lc(this.options,a)}handleEvent(a){return Wu(this,null,function*(){var y;if(Ns(this)){if(Ah(a)){if(!Ad(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const E=a.data.command;if(Wc(E)==="virtual-keyboard")return;this.executeCommand(E)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&Uf(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Uf(this,a),a.shiftKey===!1&&(yield rp(a,this.element.querySelector("[part=container]"),this._menu))&&W0.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield rp(a,this.element.querySelector("[part=container]"),this._menu))&&W0.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&G0(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Ns(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Ns(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Ns(this))return;Ye.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,Yg(),$m(),m1()}flushInlineShortcutBuffer(a){if(a!=null||(a={defer:!1}),!a.defer){this.inlineShortcutBuffer=[],clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=0;return}this.options.inlineShortcutTimeout>0&&(clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=setTimeout(()=>this.flushInlineShortcutBuffer(),this.options.inlineShortcutTimeout))}executeCommand(a){return Wc(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Il(this))),!1):og(this,a)}get errors(){return ef(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=rh(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();ji.insert(this.model,a,y)&&(Ha(this),E||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const E=window.mathVirtualKeyboard.boundingRect,ee=this.host.getBoundingClientRect();ee.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ee.bottom-E.top+8))}}this.dirty&&oc(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=kl(this.field);else{const E=wd(this);if(E.length>0){let ee=-1/0,ie=-1/0;for(const oe of E)oe.right>ee&&(ee=oe.right),oe.top<ie&&(ie=oe.top);b={x:ee+y.left-this.field.scrollLeft,y:ie+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),ee=b.y;let ie=this.host.scrollTop;ee<E.top?ie=ee-E.top+this.host.scrollTop:ee>E.bottom&&(ie=ee-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:ie,left:0})}if(b){const E=b.x-window.scrollX;let ee=this.field.scrollLeft;E<y.left?ee=E-y.left+this.field.scrollLeft-20:E>y.right&&(ee=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ee})}}insert(a,y){return typeof a!="string"||a.length===0&&((y==null?void 0:y.insertionMode)==="insertBefore"||(y==null?void 0:y.insertionMode)==="insertAfter")||a.length===0&&this.model.selectionIsCollapsed?!1:(this.flushInlineShortcutBuffer(),y=y!=null?y:{mode:"math"},y.focus&&this.focus(),y.feedback&&(window.MathfieldElement.keypressVibration&&je()&&navigator.vibrate(Af),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Bf(this.model):a==="&"?Nf(this.model):this.model.selectionIsCollapsed?ji.insert(this.model,a,we({style:this.model.at(this.model.position).computedStyle},y)):ji.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Ha(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var E;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const ee=this.model.mode;if(this.model.mode=a,!((E=this.host)!=null&&E.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=ee;return}const ie=this.model.mode,{model:oe}=this;oe.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let ce=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const he=Bo(y,{context:this.context,parseMode:a});oe.collapseSelection("forward");const pe=oe.at(oe.position);oe.position=oe.offsetOf(pe.parent.addChildrenAfter(he,pe)),ce=!0}if(this.model.mode=a,a==="latex"){let he=oe.selectionIsCollapsed;Rc(this,"accept");let pe,ve=oe.at(oe.position);if(he)pe="\\";else{const Oe=Do(oe.selection);pe=this.model.getValue(Oe,"latex");const We=this.model.extractAtoms(Oe);We.length===1&&We[0].type==="placeholder"&&(pe=y,he=!0),ve=oe.at(Oe[0])}const De=new Md(pe);ve.parent.addChildAfter(De,ve),he?oe.position=oe.offsetOf(De.lastChild):oe.setSelection(oe.offsetOf(De.firstChild),oe.offsetOf(De.lastChild))}else Id(oe).forEach(he=>{he.isError=!1});if(b){const he=Bo(b,{context:this.context,parseMode:ie});oe.collapseSelection("forward");const pe=oe.at(oe.position);oe.position=oe.offsetOf(pe.parent.addChildrenAfter(he,pe)),ce=!0}return Ha(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),ce}),this.model.mode=a,window.mathVirtualKeyboard.update(Il(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,E;const ee={operation:"set",silenceNotifications:!1};Nc(y)?ee.range=y:(y.operation==="toggle"&&(ee.operation="toggle"),ee.range=y.range,ee.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const ie=Ih(this,a),oe=(E=ee.operation)!=null?E:"set";if(ee.range===void 0&&this.model.selectionIsCollapsed){if(oe==="set"){this.defaultStyle=we(we({},this.defaultStyle),ie);return}const ce=we({},this.defaultStyle);for(const he of Object.keys(ie))ce[he]===ie[he]?(he==="color"&&delete ce.verbatimColor,he==="backgroundColor"&&delete ce.verbatimBackgroundColor,delete ce[he]):ce[he]=ie[he];this.defaultStyle=ce;return}this.model.deferNotifications({content:!ee.silenceNotifications,type:"insertText"},()=>{if(ee.range===void 0)for(const ce of this.model.selection.ranges)Mh(this.model,ce,ie,{operation:oe});else Mh(this.model,ee.range,ie,{operation:oe})}),Ha(this)}toggleContextMenu(){var a;return this._menu.visible?this._menu.state==="open"?(this._menu.hide(),!0):(this._menu.show({target:this.element.querySelector("[part=container]"),location:(a=this.getCaretPoint())!=null?a:void 0,onDismiss:()=>{var y;return(y=this.element)==null?void 0:y.focus()}}),!0):!1}getCaretPoint(){const a=kl(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=Rd(this,a,y,{bias:0});if(b<0)return!1;const E=this.model.position;return this.model.position=b,this.model.announce("move",E),Ha(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const E=this.model.offsetOf(b.firstChild),ee=this.model.offsetOf(b.lastChild);return this.model.getValue(E,ee,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const ee=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(ee),this.insert(y,Me(we({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Ha(this)}setPromptState(a,y,b){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?E.correctness=void 0:typeof y=="string"&&(E.correctness=y),typeof b=="boolean"&&(E.locked=b,E.captureSelection=b),Ha(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const E=b.at(b.position),ee=(a=E.mode)!=null?a:Lf(this.options);this.model.mode!==ee&&(this.model.mode==="latex"?(Rc(this,"accept",{mode:ee}),b.position=b.offsetOf(E)):this.switchMode(ee))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Il(this)),G0(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",Me(we({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?E:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),oc(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",Hc(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),Ha(this),this.focusBlurInProgress=!1,zh();const E=new AbortController,ee=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Ns(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ee})},{once:!0,signal:ee}),setTimeout(()=>E.abort(),100)}onInput(a){Lh(this,a)}onKeystroke(a){return Hf(this,a)}onCompositionStart(a){this.model.deleteAtoms(Do(this.model.selection));const y=kl(this.field);y&&requestAnimationFrame(()=>{oc(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Dg(this.model,a),Ha(this)}onCompositionEnd(a){Lg(this.model),Lh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),ji.onCopy(this,a),Fl(this.model,Do(this.model.selection),"deleteByCut"),this.snapshot("cut"),Ha(this))}onCopy(a){ji.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=ji.onPaste(this.model.at(this.model.position).mode,this,a.clipboardData)),y||this.model.announce("plonk"),a.preventDefault(),a.stopPropagation(),y}onGeometryChange(){this._menu.hide(),S0(this),G0(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>oo(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function gp(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)gp(y)}function Xh(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&Xh(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&Xh(E,y)})))}function fv(a,y){var b;if(!et())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};Hu().readAloudElement=a,E.synthesizeSpeech(ee,(ie,oe)=>{if(ie){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);return}if(!(oe!=null&&oe.AudioStream)){console.log("polly.synthesizeSpeech():",oe);return}const ce=new TextDecoder("utf-8").decode(new Uint8Array(oe.AudioStream));Hu().readAloudMarks=ce.split(`
`).map(he=>he?JSON.parse(he):{}),Hu().readAloudTokens=[];for(const he of Hu().readAloudMarks)he.value&&Hu().readAloudTokens.push(he.value);Hu().readAloudCurrentMark="",ee.OutputFormat="mp3",ee.SpeechMarkTypes=[],E.synthesizeSpeech(ee,(he,pe)=>{if(he){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${he}`);return}if(!(pe!=null&&pe.AudioStream))return;const ve=new Uint8Array(pe.AudioStream),De=new Blob([ve.buffer],{type:"audio/mpeg"}),Oe=URL.createObjectURL(De),We=Hu();We.readAloudAudio?We.readAloudAudio.pause():(We.readAloudAudio=new Audio,We.readAloudAudio.addEventListener("ended",()=>{const Ze=We.readAloudMathfield;We.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),Ze?(oc(Ze),We.readAloudElement=null,We.readAloudMathfield=null,We.readAloudTokens=[],We.readAloudMarks=[],We.readAloudCurrentMark=""):gp(We.readAloudElement)}),We.readAloudAudio.addEventListener("timeupdate",()=>{let Ze="";const Dt=We.readAloudAudio.currentTime*1e3+100;for(const xn of We.readAloudMarks)xn.time<Dt&&(Ze=xn.value);We.readAloudCurrentMark!==Ze&&(We.readAloudCurrentToken=Ze,Ze&&Ze===We.readAloudFinalToken?We.readAloudAudio.pause():(We.readAloudCurrentMark=Ze,Xh(We.readAloudElement,We.readAloudCurrentMark)))})),We.readAloudAudio.src=Oe,We.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),We.readAloudAudio.play()})})}et()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var Mr=new WeakMap,pv=.5,Ru={letterShapeStyle:"mf.letterShapeStyle = ...",horizontalSpacingScale:'Removed. Use `"thinmuskip"`, `"medmuskip"`, and `"thickmuskip"` registers ',macros:"mf.macros = ...",registers:"mf.registers = ...",backgroundColorMap:"mf.backgroundColorMap = ...",colorMap:"mf.colorMap = ...",enablePopover:"mf.popoverPolicy = ...",mathModeSpace:"mf.mathModeSpace = ...",placeholderSymbol:"mf.placeholderSymbol = ...",readOnly:"mf.readOnly = ...",removeExtraneousParentheses:"mf.removeExtraneousParentheses = ...",scriptDepth:"mf.scriptDepth = ...",smartFence:"mf.smartFence = ...",smartMode:"mf.smartMode = ...",smartSuperscript:"mf.smartSuperscript = ...",inlineShortcutTimeout:"mf.inlineShortcutTimeout = ...",inlineShortcuts:"mf.inlineShortcuts = ...",keybindings:"mf.keybindings = ...",virtualKeyboardMode:"mf.mathVirtualKeyboardPolicy = ...",customVirtualKeyboardLayers:"mathVirtualKeyboard.layers = ...",customVirtualKeyboards:"mathVirtualKeyboard.layouts = ...",keypressSound:"mathVirtualKeyboard.keypressSound = ...",keypressVibration:"mathVirtualKeyboard.keypressVibration = ...",plonkSound:"mathVirtualKeyboard.plonkSound = ...",virtualKeyboardContainer:"mathVirtualKeyboard.container = ...",virtualKeyboardLayout:"mathVirtualKeyboard.alphabeticLayout = ...",virtualKeyboardTheme:"No longer supported",virtualKeyboardToggleGlyph:"No longer supported",virtualKeyboardToolbar:"mathVirtualKeyboard.editToolbar = ...",virtualKeyboards:"Use `mathVirtualKeyboard.layouts`",speechEngine:"`MathfieldElement.speechEngine`",speechEngineRate:"`MathfieldElement.speechEngineRate`",speechEngineVoice:"`MathfieldElement.speechEngineVoice`",textToSpeechMarkup:"`MathfieldElement.textToSpeechMarkup`",textToSpeechRules:"`MathfieldElement.textToSpeechRules`",textToSpeechRulesOptions:"`MathfieldElement.textToSpeechRulesOptions`",readAloudHook:"`MathfieldElement.readAloudHook`",speakHook:"`MathfieldElement.speakHook`",computeEngine:"`MathfieldElement.computeEngine`",fontsDirectory:"`MathfieldElement.fontsDirectory`",soundsDirectory:"`MathfieldElement.soundsDirectory`",createHTML:"`MathfieldElement.createHTML`",onExport:"`MathfieldElement.onExport`",onInlineShortcut:"`MathfieldElement.onInlineShortcut`",onScrollIntoView:"`MathfieldElement.onScrollIntoView`",locale:"MathfieldElement.locale = ...",strings:"MathfieldElement.strings = ...",decimalSeparator:"MathfieldElement.decimalSeparator = ...",fractionNavigationOrder:"MathfieldElement.fractionNavigationOrder = ..."},Ro=class gc extends HTMLElement{static get formAssociated(){return $c()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,ng())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,E,ee;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(E=y.return)!=null?E:y.default,delete:(ee=y.delete)!=null?ee:y.default,default:y.default})}static get plonkSound(){return this._plonkSound}static set plonkSound(y){this.audioBuffers={},this._plonkSound=y}static get audioContext(){return this._audioContext||(this._audioContext=new AudioContext),this._audioContext}static get speechEngine(){return this._speechEngine}static set speechEngine(y){this._speechEngine=y}static get speechEngineRate(){return this._speechEngineRate}static set speechEngineRate(y){this._speechEngineRate=y}static get speechEngineVoice(){return this._speechEngineVoice}static set speechEngineVoice(y){this._speechEngineVoice=y}static get textToSpeechMarkup(){return this._textToSpeechMarkup}static set textToSpeechMarkup(y){this._textToSpeechMarkup=y}static get textToSpeechRules(){return this._textToSpeechRules}static set textToSpeechRules(y){this._textToSpeechRules=y}static get textToSpeechRulesOptions(){return this._textToSpeechRulesOptions}static set textToSpeechRulesOptions(y){this._textToSpeechRulesOptions=y}static get locale(){return Ye.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),Ye.locale=y}get locale(){throw new Error("Use MathfieldElement.locale instead")}set locale(y){throw new Error("Use MathfieldElement.locale instead")}static get strings(){return Ye.strings}static set strings(y){Ye.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const E=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!E)return null;this._computeEngine=new E,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return Wu(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const E=this.soundsDirectory;if(!(E==null||E==="null"||b==="none"||b==="null"))try{const ie=yield(yield fetch(yield xf(`${E}/${b}`))).arrayBuffer(),oe=yield this.audioContext.decodeAudioData(ie);this.audioBuffers[y]=oe}catch(ee){}})}static playSound(y){return Wu(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const E=this.audioContext.createGain();E.gain.value=pv,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(Ru[E])if(Ru[E].startsWith("mf."))if(Ru[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${Ru[E]}`);else{const ee=Ru[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${ee[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${Ru[E]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const E of b)console.warn(E);console.groupEnd()}}if($c()&&(this._internals=this.attachInternals(),this._internals.role="math",this._internals.ariaLabel="math input field",this._internals.ariaMultiLine="false"),this.attachShadow({mode:"open",delegatesFocus:!0}),this.shadowRoot&&"adoptedStyleSheets"in this.shadowRoot){this.shadowRoot.adoptedStyleSheets=[Pu("core"),Pu("mathfield"),Pu("mathfield-element"),Pu("ui"),Pu("menu")],this.shadowRoot.appendChild(document.createElement("span"));const b=document.createElement("slot");b.style.display="none",this.shadowRoot.appendChild(b)}else this.shadowRoot.innerHTML="<style>"+ou("core")+ou("mathfield")+ou("mathfield-element")+ou("ui")+ou("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const E=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=E==null?void 0:E.assignedNodes().map(ee=>ee.nodeType===3?ee.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?E:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?ee:""}setPromptValue(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptValue(y,b,E)}getPromptRange(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?E:null}getPrompts(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?E:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,E;if(!this._mathfield)return;const ee=(E=(b=gc.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;ee!==null&&this._mathfield.setValue(ee),window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}get errors(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.errors)!=null?b:[]}_getOptions(y){return this._mathfield?lc(this._mathfield.options,y):Mr.has(this)?we({},lc(we(we({},F0()),T0(Mr.get(this).options)),y)):null}getOptions(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._mathfield?lc(this._mathfield.options,y):Mr.has(this)?lc(we(we({},F0()),T0(Mr.get(this).options)),y):null}reflectAttributes(){const y=F0(),b=this._getOptions();Object.keys(gc.optionsAttributes).forEach(E=>{const ee=cu(E);gc.optionsAttributes[E]==="on/off"?y[ee]!==b[ee]?this.setAttribute(E,b[ee]?"on":"off"):this.removeAttribute(E):y[ee]!==b[ee]&&(gc.optionsAttributes[E]==="boolean"?b[ee]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[ee]=="string"||typeof b[ee]=="number")&&this.setAttribute(E,b[ee].toString()))})}getOption(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._getOptions([y])[y]}_getOption(y){return this._getOptions([y])[y]}_setOptions(y){if(this._mathfield)this._mathfield.setOptions(y);else if(Mr.has(this)){const b=we(we({},Mr.get(this).options),y);Mr.set(this,Me(we({},Mr.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Mr.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:y,menuItems:void 0});this.reflectAttributes()}setOptions(y){console.group("%cMathLive 0.98.5: %cDeprecated Usage","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn(" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.");for(const b of Object.keys(y))Ru[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${Ru[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?E:!1}getValue(y,b,E){var ee,ie;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(Mr.has(this)){let oe,ce,he;if(Ic(y)?([oe,ce]=y.ranges[0],he=b):Nc(y)?([oe,ce]=y,he=b):Ml(y)&&Ml(b)?(oe=y,ce=b,he=E):(oe=0,ce=-1,he=y),(he===void 0||he==="latex")&&oe===0&&ce===-1)return(ie=(ee=Mr.get(this).value)!=null?ee:this.textContent)!=null?ie:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Mr.has(this)){const ee=Mr.get(this).options;Mr.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ee,menuItems:void 0});return}const E=Vd(this);Mr.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:E,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?ee:!1}applyStyle(y,b){var E;return(E=this._mathfield)==null?void 0:E.applyStyle(y,b)}queryStyle(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?E:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?ee:!1}offsetFromPoint(y,b,E){return this._mathfield?Rd(this._mathfield,y,b,E):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const E=Fu(this._mathfield,b);return E?new DOMRect(E.left,E.top,E.right-E.left,E.bottom-E.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,E,ee,ie;Ll.state==="closed"&&((E=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:E.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((ee=this._mathfield)==null||ee.focus()),y.type==="blur"&&((ie=this._mathfield)==null||ie.blur()))}connectedCallback(){var y,b,E,ee;const ie=window.getComputedStyle(this),oe=this.shadowRoot,ce=ie.userSelect!=="none";if(ce)oe.host.addEventListener("pointerdown",this,!0);else{const ve=oe.querySelector("span");ve.style.pointerEvents="none"}oe.host.addEventListener("focus",this,!0),oe.host.addEventListener("blur",this,!0),$c()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),ce&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const he=oe.querySelector("slot:not([name])");if(he)try{this._style=he.assignedElements().filter(ve=>ve.tagName.toLowerCase()==="style").map(ve=>ve.textContent).join("")}catch(ve){console.error(ve)}if(this._style){const ve=document.createElement("style");ve.textContent=this._style,oe.appendChild(ve)}let pe="";if(this.hasAttribute("value")?pe=this.getAttribute("value"):pe=(y=he==null?void 0:he.assignedNodes().map(ve=>ve.nodeType===3?ve.textContent:"").join("").trim())!=null?y:"",this._mathfield=new hv(oe.querySelector(":host > span"),Me(we({},(E=(b=Mr.get(this))==null?void 0:b.options)!=null?E:Vd(this)),{eventSink:this,value:pe})),!Mr.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const ve of Object.keys(gc.optionsAttributes))this.upgradeProperty(cu(ve))}if(!((ee=this._mathfield)!=null&&ee.model)){this._mathfield=null;return}if(Mr.has(this)){const ve=this._mathfield,De=Mr.get(this),Oe=De.menuItems;ve.model.deferNotifications({content:!1,selection:!1},()=>{const We=De.value;We!==void 0&&ve.setValue(We),ve.model.selection=De.selection,Mr.delete(this)}),Oe&&(this.menuItems=Oe)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),k0()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const E=lc(this._mathfield.options,Object.keys(gc.optionsAttributes).map(ee=>cu(ee)));Mr.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:E}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,E){if(b===E)return;const ee=E!==null;switch(y){case"contenteditable":Ha(this._mathfield);break;case"disabled":this.disabled=ee;break;case"read-only":case"readonly":this.readOnly=ee;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),$c()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):($c()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const E=!!y;E?this.setAttribute("disabled",""):this.removeAttribute("disabled"),$c()?this._internals.ariaDisabled=E?"true":"false":this.setAttribute("aria-disabled",E?"true":"false"),E&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,E)=>{if(typeof E=="string")return y._getOption("registers")[E]},set(b,E,ee){return typeof E!="string"?!1:(y._setOptions({registers:Me(we({},y._getOption("registers")),{[E]:ee})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,E;return this._mathfield?(y=this._mathfield.menu._menuItems.map(ee=>ee.menuItem))!=null?y:[]:(E=(b=Mr.get(this))==null?void 0:b.menuItems)!=null?E:[]}set menuItems(y){var b;if(this._mathfield){const E=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");E&&(E.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}Mr.has(this)?Mr.set(this,Me(we({},Mr.get(this)),{menuItems:y})):Mr.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:Vd(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptState(y,b,E)}getPromptState(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?E:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:Mr.has(this)?Mr.get(this).selection:{ranges:[[0,0]],direction:"forward"}}set selection(y){if(typeof y=="number"&&(y={ranges:[[y,y]]}),this._mathfield){this._mathfield.model.selection=y,Ha(this._mathfield);return}if(Mr.has(this)){Mr.set(this,Me(we({},Mr.get(this)),{selection:y}));return}Mr.set(this,{value:void 0,selection:y,options:Vd(this),menuItems:void 0})}get selectionIsCollapsed(){const y=this.selection;return y.ranges.length===1&&y.ranges[0][0]===y.ranges[0][1]}get position(){return this._mathfield?this._mathfield.model.position:Mr.has(this)?Mr.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Ha(this._mathfield)),Mr.has(this)){Mr.set(this,Me(we({},Mr.get(this)),{selection:{ranges:[[y,y]]}}));return}Mr.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:Vd(this),menuItems:void 0})}getOffsetDepth(y){var b,E;return this._mathfield?((E=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?E:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};Ro.version="0.98.5",Ro._fontsDirectory="./fonts",Ro._soundsDirectory="./sounds",Ro.keypressVibration=!0,Ro._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Ro._plonkSound="plonk.wav",Ro.audioBuffers={},Ro.createHTML=a=>a,Ro._speechEngineRate="100%",Ro._speechEngineVoice="Joanna",Ro._textToSpeechMarkup="",Ro._textToSpeechRules="mathlive",Ro._textToSpeechRulesOptions={},Ro.speakHook=iv,Ro.readAloudHook=fv,Ro._decimalSeparator=".",Ro.fractionNavigationOrder="numerator-denominator",Ro._isFunction=a=>{var y,b;const E=window.MathfieldElement.computeEngine;return(b=(y=E==null?void 0:E.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var Gd=Ro;function cu(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function Vd(a){const y={readOnly:!1},b=Gd.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const ee=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=ee!=null?ee:"":b[E]==="boolean"?y[cu(E)]=!0:b[E]==="on/off"?ee==="on"?y[cu(E)]=!0:ee==="off"?y[cu(E)]=!1:y[cu(E)]=void 0:b[E]==="number"?y[cu(E)]=Number.parseFloat(ee!=null?ee:"0"):y[cu(E)]=ee}}),y}function $c(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var vp=Gd,yp,bp,xp,wp;if(et()&&!((yp=window.customElements)!=null&&yp.get("math-field"))){(xp=window[bp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[bp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=Gd,(wp=window.customElements)==null||wp.define("math-field",Gd)}function mv(a,y,b){let E=b,ee=0;const ie=a.length;for(;E<y.length;){const oe=y[E];if(ee<=0&&y.slice(E,E+ie)===a)return E;oe==="\\"?E++:oe==="{"?ee++:oe==="}"&&ee--,E++}return-1}function q0(a,y,b,E,ee="latex"){const ie=[];for(const oe of a)if(oe.type==="text"){const ce=oe.data;let he=!0,pe=0,ve;ve=ce.indexOf(y),ve!==-1&&(pe=ve,pe>0&&ie.push({type:"text",data:ce.slice(0,pe)}),he=!1);let De=!1;for(;!De;){if(he){if(ve=ce.indexOf(y,pe),ve===-1){De=!0;break}pe!==ve&&ie.push({type:"text",data:ce.slice(pe,ve)}),pe=ve}else{if(ve=mv(b,ce,pe+y.length),ve===-1){De=!0;break}let Oe=ce.slice(pe+y.length,ve);ee==="ascii-math"&&([,Oe]=nc(Oe,{format:"ascii-math"})),ie.push({type:"math",data:Oe,rawData:ce.slice(pe,ve+b.length),mathstyle:E}),pe=ve+b.length}he=!he}pe<ce.length&&ie.push({type:"text",data:ce.slice(pe)})}else ie.push(oe);return ie}function Ap(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ee,ie])=>{E=q0(E,ee,ie,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ee,ie])=>{E=q0(E,ee,ie,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ee,ie])=>{E=q0(E,ee,ie,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ee,ie])=>{E=q0(E,ee,ie,"displaystyle","ascii-math")}),E}function gv(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const E="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(E)}catch(E){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${E}`),b.textContent=a}return b.className="ML__sr-only",b}function vv(a,y,b,E){try{const ee=y.renderToMarkup(a,{mathstyle:b,format:"html"}),ie=document.createElement("span");return ie.dataset.latex=a,ie.style.display=b==="displaystyle"?"flex":"inline-flex",ie.setAttribute("aria-hidden","true"),ie.setAttribute("translate","no"),ie.innerHTML=window.MathfieldElement.createHTML(ee),ie}catch(ee){if(console.error("Could not parse'"+a+"' with ",ee),E)return document.createTextNode(a)}return null}function ed(a,y,b,E){var ee;const ie=vv(a,b,y||"textstyle",E),oe=(ee=b.renderAccessibleContent)!=null?ee:"";if(ie&&/\b(mathml|speakable-text)\b/i.test(oe)){const ce=document.createElement("span");if(/\bmathml\b/i.test(oe)&&b.renderToMathML&&ce.append(gv(a,b)),/\bspeakable-text\b/i.test(oe)&&b.renderToSpeakableText){const he=document.createElement("span");he.setAttribute("translate","no");const pe=b.renderToSpeakableText(a);he.innerHTML=window.MathfieldElement.createHTML(pe),he.className="ML__sr-only",ce.append(he)}return ce.append(ie),ce}return ie}function yv(a,y){var b,E,ee;let ie=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){ie=document.createDocumentFragment();const oe=ed(a,"",y,!0);oe&&ie.appendChild(oe)}else{if(!a.trim())return null;const oe=Ap(a,(E=y.TeX)==null?void 0:E.delimiters,(ee=y.asciiMath)==null?void 0:ee.delimiters);if(oe.length===1&&oe[0].type==="text")return null;ie=document.createDocumentFragment();for(const ce of oe)if(ce.type==="text")ie.appendChild(document.createTextNode(ce.data));else{const he=ed(ce.data,ce.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);he&&ie.appendChild(he)}}return ie}function Ep(a,y){var b,E,ee,ie,oe,ce,he,pe,ve,De,Oe,We,Ze,Dt,xn,St;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const tn=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(tn)){a.textContent="";const cn=ed(tn,"",y,!0);cn&&a.append(cn);return}const Mn=Ap(tn,(ee=y.TeX)==null?void 0:ee.delimiters,(ie=y.asciiMath)==null?void 0:ie.delimiters);if(Mn.length===1&&Mn[0].type==="math"){a.textContent="";const cn=ed(Mn[0].data,Mn[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);cn&&a.append(cn);return}if(Mn.length===1&&Mn[0].type==="text")return}for(let tn=a.childNodes.length-1;tn>=0;tn--){const Mn=a.childNodes[tn];if(Mn.nodeType===3){const cn=yv((oe=Mn.textContent)!=null?oe:"",y);cn&&(tn+=cn.childNodes.length-1,Mn.replaceWith(cn))}else if(Mn.nodeType===1){const cn=Mn,Vn=Mn.nodeName.toLowerCase();if(Vn==="script"){const ui=Mn;let ni;if((ce=y.processScriptTypePattern)!=null&&ce.test(ui.type))ni=(he=ui.textContent)!=null?he:"";else if((pe=y.processMathJSONScriptTypePattern)!=null&&pe.test(ui.type))try{ni=(De=y.serializeToLatex)==null?void 0:De.call(y,JSON.parse((ve=ui.textContent)!=null?ve:""))}catch(fr){console.error(fr)}if(ni){let fr="textstyle";for(const Dn of ui.type.split(";")){const[Os,Ol]=Dn.toLowerCase().split("=");Os.trim()==="mode"&&(fr=Ol.trim()==="display"?"displaystyle":"textstyle")}const Ur=ed(ni,fr,y,!0);Ur&&ui.parentNode.replaceChild(Ur,ui)}}else if(((We=(Oe=y.processClassPattern)==null?void 0:Oe.test(cn.className))!=null?We:!1)||!((Dt=(Ze=y.skipTags)==null?void 0:Ze.includes(Vn))!=null&&Dt||(St=(xn=y.ignoreClassPattern)==null?void 0:xn.test(cn.className))!=null&&St))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const ni=a.textContent;a.textContent="";const fr=ed(ni!=null?ni:"","displaystyle",y,!0);fr&&a.append(fr)}else Ep(cn,y)}}}var bv={skipTags:["math-field","noscript","style","textarea","pre","code","annotation","annotation-xml"],processScriptType:"math/tex",processMathJSONScriptType:"math/json",ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",renderAccessibleContent:"mathml",asciiMath:{delimiters:{inline:[["`","`"]]}},TeX:{processEnvironments:!0,delimiters:{inline:[["\\(","\\)"]],display:[["$$","$$"],["\\[","\\]"]]}}};function xv(a,y){var b,E,ee,ie;try{const oe=we(we({},bv),y);oe.ignoreClassPattern=new RegExp((b=oe.ignoreClass)!=null?b:""),oe.processClassPattern=new RegExp((E=oe.processClass)!=null?E:""),oe.processScriptTypePattern=new RegExp((ee=oe.processScriptType)!=null?ee:""),oe.processMathJSONScriptTypePattern=new RegExp((ie=oe.processMathJSONScriptType)!=null?ie:""),k0(),As("core"),Ep(a,oe)}catch(oe){oe instanceof Error?console.error("renderMathInElement(): "+oe.message):console.error("renderMathInElement(): Could not render math for element",a)}}function wv(a,y){const b=_u.singleton;return b?(b.show(),Od(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Av(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Es({switchKeyboardLayer:wv,toggleVirtualKeyboard:Av,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function Hu(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function Bv(){return console.warn("%cMathLive 0.98.5: %cmakeSharedVirtualKeyboard() is deprecated. \n Use `window.mathVirtualKeyboard` to access the virtual keyboard instance.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),window.mathVirtualKeyboard}function Nv(a){Mv(document.body,a)}function Ev(a){if(typeof a=="string"){const y=document.getElementById(a);if(y===null)throw new Error(`The element with ID "${a}" could not be found.`);return y}return typeof a=="string"?null:a}function Mv(a,y){var b,E,ee,ie;const oe=Ev(a);if(!oe)return;const ce=y!=null?y:{};(b=ce.renderToMarkup)!=null||(ce.renderToMarkup=No),(E=ce.renderToMathML)!=null||(ce.renderToMathML=P1),(ee=ce.renderToSpeakableText)!=null||(ce.renderToSpeakableText=z1),(ie=ce.serializeToLatex)!=null||(ce.serializeToLatex=_1),xv(oe,ce)}var Iv={mathlive:"0.98.5"}}}]);
}());