|
|
!(function(){var nc=Math.pow;var jc=(Dt,Xt,pe)=>new Promise((ae,Ee)=>{var et=Oe=>{try{We(pe.next(Oe))}catch(Ye){Ee(Ye)}},vt=Oe=>{try{We(pe.throw(Oe))}catch(Ye){Ee(Ye)}},We=Oe=>Oe.done?ae(Oe.value):Promise.resolve(Oe.value).then(et,vt);We((pe=pe.apply(Dt,Xt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[9406],{62772:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ce}});var ae=pe(54476),Ee=pe(59301),et={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"},vt=et,We=pe(85221),Oe=function(rt,lt){return Ee.createElement(We.Z,(0,ae.Z)({},rt,{ref:lt,icon:vt}))},Ye=Ee.forwardRef(Oe),Ce=Ye},32050:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ce}});var ae=pe(54476),Ee=pe(59301),et={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"},vt=et,We=pe(85221),Oe=function(rt,lt){return Ee.createElement(We.Z,(0,ae.Z)({},rt,{ref:lt,icon:vt}))},Ye=Ee.forwardRef(Oe),Ce=Ye},3706:function(){"use strict"},96772:function(){"use strict"},50718:function(Dt,Xt){"use strict";Xt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},79825:function(Dt,Xt,pe){"use strict";var ae=pe(59301),Ee=Object.defineProperty,et=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Oe=(Me,rt,lt)=>rt in Me?Ee(Me,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Me[rt]=lt,Ye=(Me,rt)=>{for(var lt in rt||(rt={}))vt.call(rt,lt)&&Oe(Me,lt,rt[lt]);if(et)for(var lt of et(rt))We.call(rt,lt)&&Oe(Me,lt,rt[lt]);return Me};const Ce=Me=>React.createElement("svg",Ye({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},Me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));Xt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItNSUiIHkxPSIzNy4wNjUlIiB4Mj0iMTAwJSIgeTI9IjY3LjMwMSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkY0MjBCIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGOUI0NCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTcwMC42MTggMTg1aC0xNC4yMzZjLS43ODEgMC0xLjM4Mi42MjktMS4zODIgMS40NDd2Ny4xMDZjMCAuODE4LjYgMS40NDcgMS4zODIgMS40NDdoMTQuMjM2Yy43ODEgMCAxLjM4Mi0uNjI5IDEuMzgyLTEuNDQ3di03LjEwNmMwLS44MTgtLjYtMS40NDctMS4zODItMS40NDdabS0xMC42OTIgNy4zNThoLS45NjFsLTEuODYzLTMuODM2djMuODM2aC0uNnYtNC41OWguODRsMS45MjMgMy45NjJoLjA2di0zLjk2M2guNnY0LjU5MVptMS41MDItMi42NDFoMi4zNDJ2LjYyOWgtMi4zNDJ2LjEyNmMwIC44MTcuMjQgMS4xOTUuNzIgMS4xOTVoMS42ODJ2LjYyOWgtMS42ODJjLS4zNiAwLS42Ni0uMTI2LS45LS40NC0uMjQtLjMxNS0uMzYxLS44MTgtLjM2MS0xLjM4NHYtMS4wN2MwLTEuMDY5LjY2LTEuNTA5IDEuMzIxLTEuNjM1aDEuNjIydi42M2gtMS41NjFjLS4yNC4wNjItLjc4MS4yNS0uNzgxIDEuMDA2LS4wNi4xMjUtLjA2LjE4OC0uMDYuMzE0Wm03LjgwOSAyLjY0MWgtLjg0MWwtLjg0MS0zLjY0Ny0uOTYxIDMuNjQ3aC0uOTAxbC0xLjI2Mi00LjU5aC42NmwxLjA4MiAzLjc3M2guMDZsLjk2MS0zLjc3NGguNzIxbC45NjEgMy45NjMgMS4xNDItMy45NjNoLjZsLTEuMzgxIDQuNTkxWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY4NSAtMTg1KSIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},45936: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 Dt={},Xt="5.0",pe={},ae=null,Ee=!1,et=!1,vt=null,We=!1,Oe=null,Ye=null,Ce=0;Ce<arguments.length;Ce++){var Me=arguments[Ce];if(Me!==null)switch(typeof Me){case"number":Xt=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?Xt=Me:vt=Me;break;case"object":typeof Me.is3D!="undefined"?ae=Me:pe=Me;break;case"boolean":Ee=Me,et=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},pe.material_id!==void 0&&!et&&(Ee=!0)),vt!==null&&pe.id===void 0&&(pe.id=vt);var rt="",lt="",Te=!1,gt=null,Je=null,Re=null,je=!1,He=null,Ke=null,ft=null,$e=null,dt=null;pe.height!==void 0&&(pe.height=Math.round(pe.height)),pe.width!==void 0&&(pe.width=Math.round(pe.width));var Qe=function(yt){return parseFloat(yt)>4?parseFloat(yt):5};Dt.setHTML5Codebase=function(yt,ct){Ye=yt,Nt(yt,ct)},Dt.setJavaCodebase=Dt.setJavaCodebaseVersion=Dt.isCompiledInstalled=Dt.setPreCompiledScriptPath=Dt.setPreCompiledResourcePath=function(){},Dt.setHTML5CodebaseVersion=function(yt,ct){var Gt=parseFloat(yt);if(Gt!==NaN&&Gt<5){console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead.");return}Oe=yt,ke(yt,ct)},Dt.getHTML5CodebaseVersion=function(){return Je},Dt.getParameters=function(){return pe},Dt.setFontsCSSURL=function(yt){$e=yt},Dt.setGiacJSURL=function(yt){},Dt.setJNLPFile=function(yt){rt=yt},Dt.setJNLPBaseDir=function(yt){},Dt.inject=function(){function yt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ct="auto",Gt=pe.id,jn,Zt=!1,hn=0;hn<arguments.length;hn++){var xt=arguments[hn];typeof xt=="string"?(xt=xt.toLowerCase(),xt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ct=xt:Gt=arguments[hn]):typeof xt=="boolean"?Zt=xt:xt instanceof HTMLElement&&(jn=xt)}wn();function wn(){if(!We){setTimeout(wn,200);return}ct=Nn(ct);var on=jn||document.getElementById(Gt);if(!on){console.log("possibly bug on ajax loading? ");return}if(Dt.removeExistingApplet(on,!1),pe.width===void 0&&on.clientWidth&&(pe.width=on.clientWidth),pe.height===void 0&&on.clientHeight&&(pe.height=on.clientHeight),!(pe.width&&pe.height)&&ct==="html5"&&(delete pe.width,delete pe.height),gt=ct,ct==="screenshot")nt(on,pe);else{var Se=!1;pe.hasOwnProperty("playButton")&&pe.playButton||pe.hasOwnProperty("clickToLoad")&&pe.clickToLoad?Se=!0:pe.hasOwnProperty("playButtonAutoDecide")&&pe.playButtonAutoDecide&&(Se=(!De()||yt())&&Ct()),Se?(gt="screenshot",En(on,pe,Zt,ct)):Et(on,pe,Zt)}}};function De(){try{return window.self!==window.top}catch(yt){return!0}}function Ct(){return pe.hasOwnProperty("screenshotGenerator")&&pe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Dt.getViews=function(){return ae},Dt.isJavaInstalled=function(){return!1};var Ft=function(yt){var ct=function(hn){var xt=JSON.parse(hn),wn=function(ce){return ce.type=="G"||ce.type=="E"},on=xt.elements?xt.elements.filter(wn)[0]:xt;if(!on||!on.url){Gt();return}pe.fileName=on.url,_t(on.settings||{}),ae.is3D=!0;var Se="https://www.geogebra.org/images/";Dt.setPreviewImage(He||on.previewUrl,Se+"GeoGebra_loading.png",Se+"applet_play.png"),yt()},Gt=function(){pe.onError&&pe.onError(),bn("Error: Fetching material (id "+pe.material_id+") failed.",pe)},jn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Zt="/materials/"+pe.material_id+"?scope=basic";pt("https://"+jn+"/api/proxy.php?path="+encodeURIComponent(Zt),ct,Gt)};function _t(yt){var ct=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Gt){yt[Gt]=!!yt[Gt]}),ct.forEach(function(Gt){pe[Gt]===void 0&&yt[Gt]!==void 0&&(pe[Gt]=yt[Gt])}),pe.showToolBarHelp===void 0&&(pe.showToolBarHelp=pe.showToolBar)}function pt(yt,ct,Gt){var jn=new XMLHttpRequest;jn.open("GET",yt),jn.onload=function(){ct(jn.responseText)},jn.onerror=Gt,jn.send()}Dt.isHTML5Installed=function(){return!0},Dt.getLoadedAppletType=function(){return gt},Dt.setPreviewImage=function(yt,ct,Gt){He=yt,Ke=ct,ft=Gt},Dt.removeExistingApplet=function(yt,ct){var Gt;typeof yt=="string"&&(yt=document.getElementById(yt)),gt=null;var jn=null;for(Gt=0;Gt<yt.childNodes.length;Gt++){var Zt=yt.childNodes[Gt],hn=Zt.className;hn==="applet_screenshot"?ct?(Zt.style.display="block",gt="screenshot"):Zt.style.display="none":hn!=="applet_scaler prerender"&&(yt.removeChild(Zt),jn=hn&&hn.indexOf("appletParameters")!=-1?Zt.id:null,Gt--)}var xt=pe.id!==void 0?pe.id:jn,wn=window[xt];wn&&typeof wn.getBase64=="function"&&(wn.remove(),window[xt]=null)},Dt.refreshHitPoints=function(){if(Qe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var yt=Dt.getAppletObject();return yt&&typeof yt.recalculateEnvironments=="function"?(yt.recalculateEnvironments(),!0):!1},Dt.startAnimation=function(){var yt=Dt.getAppletObject();return yt&&typeof yt.startAnimation=="function"?(yt.startAnimation(),!0):!1},Dt.stopAnimation=function(){var yt=Dt.getAppletObject();return yt&&typeof yt.stopAnimation=="function"?(yt.stopAnimation(),!0):!1},Dt.getAppletObject=function(){var yt=pe.id!==void 0?pe.id:"ggbApplet";return window[yt]},Dt.resize=function(){};var ht=function(yt,ct,Gt){var jn=document.createElement("param");jn.setAttribute("name",ct),jn.setAttribute("value",Gt),yt.appendChild(jn)},Ge=function(yt){return yt&&yt!=="false"},Et=function(yt,ct,Gt){Qe(Je)<=4.2&&(Gt=!0);var jn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Je||ggbHTML5LoadedCodebaseIsWebSimple&&!je)&&(jn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var hn=ct.width,xt=ct.height;if(ct.disableAutoScale=ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ct.disableAutoScale,ct.width!==void 0)if(Qe(Je)<=4.4)Ge(ct.showToolBar)&&(ct.height-=7),Ge(ct.showAlgebraInput)&&(ct.height-=37),ct.width<605&&Ge(ct.showToolBar)&&(ct.width=605,hn=605);else{var wn=100;(Ge(ct.showToolBar)||Ge(ct.showMenuBar))&&(ct.hasOwnProperty("customToolBar")&&(ct.customToolbar=ct.customToolBar),wn=Ge(ct.showMenuBar)?245:155),hn<wn&&(ct.width=wn,hn=wn)}Zt.style.border="none",Zt.style.display="inline-block";for(var on in ct)ct.hasOwnProperty(on)&&on!=="appletOnLoad"&&Zt.setAttribute("data-param-"+on,ct[on]);$e&&Zt.setAttribute("data-param-fontscssurl",$e),Dt.resize=function(){GGBAppletUtils.responsiveResize(yt,ct)},window.addEventListener("resize",function(ii){Dt.resize()});var Se=typeof ct.appletOnLoad=="function"?ct.appletOnLoad:function(){};if(!Gt&&ct.width!==void 0){ct.hasOwnProperty("showSplash")||Zt.setAttribute("data-param-showSplash","false");var ce=yt.querySelector(".applet_scaler.prerender"),le=ce!==null;if(le)var we=ce.querySelector(".ggb_preview");else{var we=mn(hn,xt,ct.borderColor,!1);ce=document.createElement("div"),ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.style.width=hn+"px",ce.style.height=xt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ce,"66%"),Qe(Je)>=5?(ct.appletOnLoad=function(ii){var Ii=yt.querySelector(".ggb_preview");Ii&&Ii.parentNode.removeChild(Ii),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ce),window.GGBT_wsf_view&&$(window).trigger("resize"),Se(ii)},le||ce.appendChild(we)):Zt.appendChild(we),ce.appendChild(Zt),le||yt.appendChild(ce),setTimeout(function(){Dt.resize()},1)}else{var Be=document.createElement("div");Be.className="applet_scaler",Be.style.position="relative",Be.style.display="block",Be.appendChild(Zt),yt.appendChild(Be),ct.appletOnLoad=function(ii){Dt.resize(),Se(ii)}}function fe(ii,Ii){Ii&&typeof Ii.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ii,Ii.appletOnLoad):renderGGBElement(ii),bn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ii)}function st(ii,Ii){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ii,params:Ii}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(fa){fe(fa.article,fa.params)}),html5AppletsToProcess=null)},Qe(Je)<5&&(ii.className+=" geogebraweb")):fe(ii,Ii)}if(jn){scriptLoadStarted=!0;for(var An=0;An<Zt.childNodes.length;An++){var Jn=Zt.childNodes[An].tagName;Jn==="TABLE"&&(Zt.removeChild(Zt.childNodes[An]),An--)}if(ggbHTML5LoadedScript!==null){var xr=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');xr!=null&&xr.parentNode.removeChild(xr)}var ur=document.createElement("script"),qr=function(){st(Zt,ct)};ur.src=lt+Re,ggbHTML5LoadedCodebaseIsWebSimple=je,ggbHTML5LoadedCodebaseVersion=Je,ggbHTML5LoadedScript=ur.src,bn("GeoGebra HTML5 codebase loaded: '"+lt+"'.",ct),!Ye&&(!Oe||Oe=="5.0")?(je?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),qr()):lt.requirejs?__webpack_require__.e(4650).then(function(){var ii=[__webpack_require__(72667)];qr.apply(null,ii)}.bind(this)).catch(__webpack_require__.oe):(ur.onload=qr,yt.appendChild(ur))}else st(Zt,ct);ct.height=xt,ct.width=hn},nt=function(yt,ct,Gt){var jn=mn(ct.width,ct.height,ct.borderColor,Gt),Zt=document.createElement("div");Zt.style.position="relative",Zt.style.display="block",Zt.style.width=ct.width+"px",Zt.style.height=ct.height+"px",Zt.className="applet_screenshot applet_scaler"+(Gt?" applet_screenshot_play":""),Zt.appendChild(jn);var hn=GGBAppletUtils.getScale(ct,yt,Gt);Gt?(yt.appendChild(Kt()),window.GGBT_wsf_view||(yt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Zt,"66%"),yt.appendChild(Zt),hn!==1&&!isNaN(hn)&&(GGBAppletUtils.scaleElement(Zt,hn),Zt.style.width=ct.width+"px",Zt.style.height=ct.height+"px",Zt.parentNode.style.width=ct.width*hn+"px",Zt.parentNode.style.height=ct.height*hn+"px"),Dt.resize=function(){kt(yt,jn,Zt,Gt)},window.addEventListener("resize",function(xt){Dt.resize()}),Dt.resize()};function kt(yt,ct,Gt,jn){if(yt.contains(ct)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(yt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(yt)}var Zt=GGBAppletUtils.getScale(pe,yt,jn);Gt.parentNode!==null&&(!isNaN(Zt)&&Zt!==1?(GGBAppletUtils.scaleElement(Gt,Zt),Gt.parentNode.style.width=pe.width*Zt+"px",Gt.parentNode.style.height=pe.height*Zt+"px"):(GGBAppletUtils.scaleElement(Gt,1),Gt.parentNode.style.width=pe.width+"px",Gt.parentNode.style.height=pe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(yt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Dt.onExitFullscreen=function(yt,ct){ct.appendChild(yt)};var En=function(yt,ct,Gt,jn){nt(yt,ct,!0);for(var Zt=function(){var wn=[];for(xt=0;xt<yt.childNodes.length;xt++)wn.push(yt.childNodes[xt]);if(window.GGBT_wsf_view){var on=window.GGBT_wsf_view.renderFullScreen(yt,ct.id),Se=document.getElementById("fullscreencontainer"),ce=jQuery(yt).find(".fullscreencontent");ce.length>0?(on.remove(),ce.attr("id","fullscreencontent").show(),jQuery(Se).append(ce),window.dispatchEvent(new Event("resize"))):Et(on,ct,!1),window.GGBT_wsf_view.launchFullScreen(Se)}else gt=jn,Et(yt,ct,!1);if(!window.GGBT_wsf_view)for(xt=0;xt<wn.length;xt++)yt.removeChild(wn[xt])},hn=yt.getElementsByClassName("ggb_preview_play"),xt=0;xt<hn.length;xt++)hn[xt].addEventListener("click",Zt,!1),hn[xt].addEventListener("ontouchstart",Zt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(yt),Ct()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Kt=function(){var yt=document.createElement("div");if(yt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ct='.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");}',Gt=document.createElement("style");Gt.styleSheet?Gt.styleSheet.cssText=ct:Gt.appendChild(document.createTextNode(ct)),document.getElementsByTagName("head")[0].appendChild(Gt)}return yt},mn=function(yt,ct,Gt,jn){var Zt=document.createElement("div");Zt.className="ggb_preview",Zt.style.position="absolute",Zt.style.zIndex="90",Zt.style.width=yt-2+"px",Zt.style.height=ct-2+"px",Zt.style.top="0px",Zt.style.left="0px",Zt.style.overflow="hidden",Zt.style.backgroundColor="white";var hn="lightgrey";Gt!==void 0&&(Gt==="none"?hn="transparent":hn=Gt),Zt.style.border="1px solid "+hn;var xt=document.createElement("img");if(xt.style.position="relative",xt.style.zIndex="1000",xt.style.top="-1px",xt.style.left="-1px",He!==null&&xt.setAttribute("src",He),xt.style.opacity=.7,Ke!==null){var wn,on,Se;if(!jn){wn=document.createElement("img"),wn.style.position="absolute",wn.style.zIndex="1001",wn.style.opacity=1,xt.style.opacity=.3,on=360,on>yt/4*3&&(on=yt/4*3),Se=on/5.8,wn.setAttribute("src",Ke),wn.setAttribute("width",on),wn.setAttribute("height",Se);var ce=(yt-on)/2,le=(ct-Se)/2;wn.style.left=ce+"px",wn.style.top=le+"px",Zt.appendChild(wn)}}return Zt.appendChild(xt),Zt},Nn=function(yt){return yt=yt.toLowerCase(),yt==="html5"||yt==="screenshot"?yt:"html5"},ze=["web","webSimple","web3d","tablet","tablet3d","phone"],ke=function(yt,ct){if(Je=yt,ct){Nt(Je,!0);return}var Gt=!Ee;if(Gt){var jn=Qe(Je);!isNaN(jn)&&jn<4.4&&(Gt=!1)}var Zt,hn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var xt=Je.indexOf("//");xt>0?hn=Je:xt===0?hn=Zt+Je:hn="https://www.geogebra.org/apps/5.2.814.0/";for(var wn in ze)if(Je.slice(ze[wn].length*-1)===ze[wn]||Je.slice((ze[wn].length+1)*-1)===ze[wn]+"/"){Nt(hn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Gt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Ge(pe.showToolBar)&&!Ge(pe.showMenuBar)&&!Ge(pe.showAlgebraInput)&&!Ge(pe.enableRightClick)&&(!pe.appName||pe.appName=="classic")?hn+="webSimple/":hn+="web3d/",Nt(hn,!1)},Nt=function(yt,ct){if(yt.requirejs){lt=yt;return}yt.slice(-1)!=="/"&&(yt+="/"),lt=yt,ct===null&&(ct=yt.indexOf("http")===-1),Te=ct,Re="web.nocache.js",je=!1;var Gt=lt.split("/");Gt.length>1&&(!ct&&Gt[Gt.length-2]==="webSimple"?(Re="webSimple.nocache.js",je=!0):ze.indexOf(Gt[Gt.length-2])>=0&&(Re=Gt[Gt.length-2]+".nocache.js")),Gt=yt.split("/"),Je=Gt[Gt.length-3],Je.substr(0,4)==="test"?Je=Je.substr(4,1)+"."+Je.substr(5,1):(Je.substr(0,3)==="war"||Je.substr(0,4)==="beta")&&(Je="5.0");var jn=parseFloat(Je);jn!==NaN&&jn<5&&yt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+jn+" is deprecated. Using version latest instead."),ke("5.0",ct))},bn=function(yt,ct){window.console&&window.console.log&&(!ct||typeof ct.showLogging=="undefined"||ct.showLogging&&ct.showLogging!=="false")&&console.log(yt)};pe.material_id!==void 0?Ft(xn):xn();function xn(){var yt=Xt;Oe!==null?yt=Oe:parseFloat(yt)<5&&(yt="5.0"),ke(yt,!1),Ye!==null&&Nt(Ye,Te),We=!0}return Dt},GGBAppletUtils=function(){"use strict";function Dt(){return window.GGBT_wsf_edit!==void 0}function Xt(We,Oe){Oe!=1?(We.style.transformOrigin="0% 0% 0px",We.style.webkitTransformOrigin="0% 0% 0px",We.style.transform="scale("+Oe+","+Oe+")",We.style.webkitTransform="scale("+Oe+","+Oe+")",We.style.maxWidth="initial",We.querySelector(".ggb_preview")!==null&&(We.querySelector(".ggb_preview").style.maxWidth="initial"),We.querySelectorAll(".ggb_preview img")[0]!==void 0&&(We.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),We.querySelectorAll(".ggb_preview img")[1]!==void 0&&(We.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(We.style.transform="none",We.style.webkitTransform="none")}function pe(We,Oe,Ye,Ce,Me,rt){var lt=null;if(rt!=null&&rt!="")for(var Te=We.parentNode;Te!=null;)if((" "+Te.className+" ").indexOf(" "+rt+" ")>-1){lt=Te;break}else Te=Te.parentNode;var gt=0,Je=0,Re=0,je=0,He=0,Ke=0,ft=0;if(lt)gt=lt.offsetWidth,Je=Math.max(Ce?lt.offsetWidth:0,lt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(gt=Math.min(window.innerWidth,document.documentElement.clientWidth),Je=Math.min(window.innerHeight,document.documentElement.clientHeight),Re=gt):(gt=window.innerWidth,Je=window.innerHeight,Re=window.innerWidth),We){var $e=We.getBoundingClientRect();$e.left>0&&$e.left<=gt&&(Me===void 0||!Me)&&(document.dir==="rtl"?(He=gt-$e.width-$e.left,Ke=Re<=480?10:30):(Ke=$e.left,He=Re<=480?10:30),je=Ke+He)}if(We&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var dt=We.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je=40,ft=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je=0,ft=40)}}return We&&((Ye===void 0||!Ye)&&Oe>0&&Oe+je<gt?gt=Oe:gt-=je,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ye===void 0||!Ye)&&(Je-=ft)),{width:gt,height:Je}}function ae(We,Oe,Ye,Ce,Me){if(We.isScreenshoGenerator)return 1;var rt=Ce!==void 0&&Ce,lt=We.noScaleMargin!=null&&We.noScaleMargin,Te=function(dt){return dt&&dt!=="false"},gt=Te(We.autoHeight),Je=pe(Oe,We.width,Ye,gt,rt&&window.GGBT_wsf_view||lt,Me),Re=parseInt(Je.width),je=We.width,He=We.height;if(je===void 0){var Ke=Oe.querySelector(".appletParameters");Ke&&(je=Ke.offsetWidth,He=Ke.offsetHeight)}var ft=Re/je,$e=rt?1:Je.height/He;return Ye!==void 0&&!Ye&&(ft=Math.min(1,ft),$e=Math.min(1,$e)),Math.min(ft,$e)}function Ee(We,Oe,Ye){var Ce=1,Me,rt=!1;if(We.hasOwnProperty("allowUpscale")&&(rt=We.allowUpscale),We.hasOwnProperty("scale")&&(Ce=parseFloat(We.scale),(isNaN(Ce)||Ce===null||Ce===0)&&(Ce=1),Ce>1&&(rt=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(rt=!0),!(We.hasOwnProperty("disableAutoScale")&&We.disableAutoScale))Me=ae(We,Oe,rt,Ye,We.scaleContainerClass);else return Ce;return rt&&(!We.hasOwnProperty("scale")||Ce===1)?Me:Math.min(Ce,Me)}function et(We){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ye=Math.min(window.innerHeight,document.documentElement.clientHeight),Ce=We.getBoundingClientRect(),Me=(Oe-Ce.width)/2,rt=(Ye-Ce.height)/2;rt<0&&(rt=0),We.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?We.style.left="40px":We.style.left=Me+"px",We.style.top=rt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(rt<40?We.style.top="40px":We.style.top=rt+"px",We.style.left=Me+"px")}function vt(We,Oe){var Ye=We.querySelector(".appletParameters");if(Ye){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==Ye.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(We)}if(Ye.parentElement&&/fullscreen/.test(Ye.parentElement.className))return;var Ce=Ee(Oe,We);Dt()&&Ye.setAttribute("data-param-scale",Ce);for(var Me=null,rt=0;rt<We.childNodes.length;rt++)if(We.childNodes[rt].className!==void 0&&We.childNodes[rt].className.match(/^applet_scaler/)){Me=We.childNodes[rt];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var lt=Oe.id!==void 0?Oe.id:"ggbApplet",Te=window[lt];(Te==null||!Te.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(Ce)&&Ce!==1?(Me.parentNode.style.width=Oe.width*Ce+"px",Me.parentNode.style.height=Oe.height*Ce+"px",Xt(Me,Ce)):(Xt(Me,1),Me.parentNode.style.width=Oe.width+"px",Me.parentNode.style.height=Oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&et(We),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ye).parents(".content-added-content"))}}return{responsiveResize:vt,isFlexibleWorksheetEditor:Dt,positionCenter:et,getScale:Ee,scaleElement:Xt}}();__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 Dt=n.location.search;return Dt.indexOf(J)!=-1||Dt.indexOf(K)!=-1}function q(Dt,Xt){}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(Dt){var Xt=s[L].bindings;s[L].bindings=function(){for(var pe=Xt?Xt():{},ae=Dt[webModule.__softPermutationId],Ee=O;Ee<ae.length;Ee++){var et=ae[Ee];pe[et[O]]=et[P]}return pe}};var t;function u(){return v(),t}function v(){if(!t){var Dt=o.createElement(Q);if(Dt.id=L,Dt.style.cssText=R+S,Dt.tabIndex=-1,o.body.appendChild(Dt),t=Dt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Xt=document.compatMode==U?V:W;t.write(Xt+X),t.close()}}}function w(Dt){function Xt(ae){function Ee(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var et=Ee();if(et){ae();return}function vt(){if(!et){if(!Ee())return;et=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,vt,!1),We&&clearInterval(We)}}o.addEventListener&&o.addEventListener(Z,vt,!1);var We=setInterval(function(){vt()},$)}function pe(ae){var Ee=u(),et=Ee.body,vt=Ee.createElement(_);vt.language=ab,vt.crossOrigin=W,vt.src=ae,webModule.__errFn&&(vt.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),et.appendChild(vt)}Xt(function(){pe(Dt)})}webModule.__startLoadingFragment=function(Dt){return C(Dt)},webModule.__installRunAsyncCode=function(Dt){var Xt=u(),pe=Xt.body,ae=Xt.createElement(_);ae.language=ab,ae.text=Dt,pe.appendChild(ae),pe.removeChild(ae)};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(Dt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Dt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Dt){var Xt=c[Dt];return Xt==null?null:Xt},r=d,webModule.__errFn=e}function B(){function Dt(We){var Oe=We.lastIndexOf(rb);Oe==-1&&(Oe=We.length);var Ye=We.indexOf(sb);Ye==-1&&(Ye=We.length);var Ce=We.lastIndexOf(tb,Math.min(Ye,Oe));return Ce>=O?We.substring(O,Ce+P):W}function Xt(We){if(!We.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=We+vb,We=Dt(Oe.src)}return We}function pe(){var We=__gwt_getMetaProperty(wb);return We!=null?We:W}function ae(){for(var We=o.getElementsByTagName(_),Oe=O;Oe<We.length;++Oe)if(We[Oe].src.indexOf(xb)!=-1)return Dt(We[Oe].src);return W}function Ee(){var We=o.getElementsByTagName(yb);return We.length>O?We[We.length-P].href:W}function et(){var We=o.location;return We.href==We.protocol+zb+We.host+We.pathname+We.search+We.hash}var vt=pe();return vt==W&&(vt=ae()),vt==W&&(vt=Ee()),vt==W&&et()&&(vt=Dt(o.location.href)),vt=Xt(vt),vt}function C(Dt){return Dt.match(/^\//)||Dt.match(/^[a-zA-Z]+:\/\//)?Dt:webModule.__moduleBase+Dt}function D(){var Dt=[],Xt=O,pe=[],ae=[];function Ee(We){var Oe=ae[We](),Ye=pe[We];if(Oe in Ye)return Oe;var Ce=[];for(var Me in Ye)Ce[Ye[Me]]=Me;throw r&&r(We,Ce,Oe),null}if(__gwt_isKnownPropertyValue=function(We,Oe){return Oe in pe[We]},webModule.__getPropMap=function(){var We={};for(var Oe in pe)pe.hasOwnProperty(Oe)&&(We[Oe]=Ee(Oe));return We},webModule.__computePropValue=Ee,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var et;try{et=Cb;var vt=et.indexOf(Db);vt!=-1&&(Xt=parseInt(et.substring(vt+P),$),et=et.substring(O,vt))}catch(We){}return webModule.__softPermutationId=Xt,C(et+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})()},8240:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Ax:function(){return vt},Ds:function(){return We},KI:function(){return Ye},SI:function(){return et},f1:function(){return Ee}});var ae=pe(35783);function Ee(Ce){let Me=!0;if(Ce.length>0){for(let rt=0;rt<Ce.length;rt++)if(Ce[rt].compile_success==0||!Ce[rt].compile_success){Me=!1;break}}else Me=!1;return Me}function et(Ce,Me=""){let rt=[];for(let lt=0;lt<Ce.length;lt++){let Te=Ce[lt],gt=Me?`${Me}/${Te.name}`:`${Te.name}`;rt.push({title:Te.name,type:Te.type,isLeaf:Te.type!=="tree",key:gt})}return rt}function vt(Ce,Me,rt){for(let lt=0;lt<Ce.length;lt++){let Te=Ce[lt];if(Te.key===Me){Te.children=rt;break}Te.children&&vt(Te.children,Me,rt)}return Ce}function We(Ce,Me,rt){let lt;return function(){let Te=this,gt=arguments,Je=function(){lt=null,rt||Ce.apply(Te,gt)},Re=rt&&!lt;clearTimeout(lt),lt=setTimeout(Je,Me),Re&&Ce.apply(Te,gt)}}const Oe=!0,Ye=ae.Z.API_SERVER},99050:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Je}});var ae=pe(3113),Ee=pe(59301),et=Object.defineProperty,vt=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Me=(Re,je,He)=>je in Re?et(Re,je,{enumerable:!0,configurable:!0,writable:!0,value:He}):Re[je]=He,rt=(Re,je)=>{for(var He in je||(je={}))Ye.call(je,He)&&Me(Re,He,je[He]);if(Oe)for(var He of Oe(je))Ce.call(je,He)&&Me(Re,He,je[He]);return Re},lt=(Re,je)=>vt(Re,We(je)),Te=(Re,je)=>{var He={};for(var Ke in Re)Ye.call(Re,Ke)&&je.indexOf(Ke)<0&&(He[Ke]=Re[Ke]);if(Re!=null&&Oe)for(var Ke of Oe(Re))je.indexOf(Ke)<0&&Ce.call(Re,Ke)&&(He[Ke]=Re[Ke]);return He},gt=(Re,je,He)=>new Promise((Ke,ft)=>{var $e=De=>{try{Qe(He.next(De))}catch(Ct){ft(Ct)}},dt=De=>{try{Qe(He.throw(De))}catch(Ct){ft(Ct)}},Qe=De=>De.done?Ke(De.value):Promise.resolve(De.value).then($e,dt);Qe((He=He.apply(Re,je)).next())});const Je=Re=>{var je=Re,{children:He}=je,Ke=Te(je,["children"]);const[ft,$e]=(0,Ee.useState)(!1);return Ee.createElement(ae.ZP,lt(rt({},Ke),{loading:ft,onClick:dt=>gt(void 0,null,function*(){try{$e(!0),yield Ke.onClick(dt),$e(!1)}catch(Qe){console.error(Qe),$e(!1)}})}),He)}},52107:function(Dt,Xt,pe){"use strict";var ae=pe(86204),Ee=pe.n(ae),et=Object.defineProperty,vt=(Ce,Me,rt)=>Me in Ce?et(Ce,Me,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ce[Me]=rt,We=(Ce,Me,rt)=>vt(Ce,typeof Me!="symbol"?Me+"":Me,rt),Oe=(Ce,Me,rt)=>new Promise((lt,Te)=>{var gt=je=>{try{Re(rt.next(je))}catch(He){Te(He)}},Je=je=>{try{Re(rt.throw(je))}catch(He){Te(He)}},Re=je=>je.done?lt(je.value):Promise.resolve(je.value).then(gt,Je);Re((rt=rt.apply(Ce,Me)).next())});class Ye extends ae.EventEmitter{constructor(Me,rt){super(),We(this,"url"),We(this,"body"),We(this,"fullContent",""),We(this,"controller",null),We(this,"buffer",""),this.url=Me,this.body=rt}startStream(){return Oe(this,null,function*(){this.controller=new AbortController;const{signal:Me}=this.controller;try{const rt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Me});if(!rt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${rt.status}`);const lt=rt.headers.get("content-type");if(!lt)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(lt.includes("application/json")){const Je=yield rt.json();this.emit("error",Je);return}if(!lt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Te=rt.body.getReader(),gt=new TextDecoder("utf-8");for(;;){const{done:Je,value:Re}=yield Te.read();if(Je)break;const je=gt.decode(Re,{stream:!0});this.buffer+=je;const He=this.buffer.split(`
|
|
|
`);this.buffer=He.pop()||"";for(const Ke of He)if(Ke.startsWith("data:")){const ft=Ke.slice(5).trim();if(ft==="[DONE]")break;try{const $e=JSON.parse(ft);$e.data&&this.handleData($e.data)}catch($e){this.buffer=Ke+`
|
|
|
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",$e)}}}this.emit("done",this.fullContent)}catch(rt){rt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",rt.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()}}Xt.Z=Ye},99836:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return ze}});var ae=pe(59301),Ee=pe(62052),et=pe(66328),vt=pe(84821),We=pe(18369),Oe=pe(56102),Ye={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Ce=pe(8591),Me=pe(11611),rt=pe(19825),lt=pe(30084),Te=pe(10787),gt=pe(64310),Je=pe(43428),Re=pe(95237),je=pe(43604),He={smartWrp:"smartWrp___NjRcB"},Ke=pe(94871),ft=pe(5873),$e=pe(99050),dt=pe(59301),Qe=(ke,Nt,bn)=>new Promise((xn,yt)=>{var ct=Zt=>{try{jn(bn.next(Zt))}catch(hn){yt(hn)}},Gt=Zt=>{try{jn(bn.throw(Zt))}catch(hn){yt(hn)}},jn=Zt=>Zt.done?xn(Zt.value):Promise.resolve(Zt.value).then(ct,Gt);jn((bn=bn.apply(ke,Nt)).next())});const De=`<!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 Ct({open:ke=!0,onChange:Nt,defaultValue:bn,placement:xn,width:yt,height:ct,extra:Gt,onDynamic:jn,showExtra:Zt=!0}){const hn=(0,ae.useRef)(null),xt=(0,ae.useRef)(null),[wn,on]=(0,ae.useState)(bn||""),[Se,ce]=(0,ae.useState)(bn||""),[le,we]=(0,ae.useState)(!!ke),[Be,fe]=(0,ae.useState)(1),st={selectOnLineNumbers:!0};(0,ae.useEffect)(()=>{ke&&(on(bn),ce(bn),we(!0))},[ke,bn]),(0,ae.useEffect)(()=>{wn!==""&&(clearTimeout(xt.current),xt.current=setTimeout(()=>{const Jn=document.createElement("iframe");if(Jn.style.width="100%",Jn.style.height="100%",Jn.style.border="0",hn.current){hn.current.innerHTML="",hn.current.appendChild(Jn);const xr=Jn.contentDocument||Jn.contentWindow.document;xr.open(),xr.write(wn),xr.close()}},1e3))},[ke,wn]);const An=Jn=>{on(Jn),Nt==null||Nt(Jn,Se)};return dt.createElement(Je.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:le,width:Zt?700:"100%",height:ct||"100vh",rootClassName:He.smartWrp,destroyOnClose:!0,onClose:()=>we(!1),extra:Zt&&dt.createElement("div",null,dt.createElement(ft.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Be,onChange:Jn=>fe(Jn)}),dt.createElement($e.Z,{type:"primary",className:"ml20",onClick:()=>Qe(this,null,function*(){yield jn(wn,()=>{we(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},dt.createElement(Re.Z,{className:"h100"},dt.createElement(je.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Be===1?"block":"none"}},dt.createElement("div",{className:"h100",ref:hn})),dt.createElement(je.Z,{flex:"1",style:{display:Be===2?"block":"none"}},dt.createElement(Ke.ZP,{height:"90vh",value:bn,language:"html",theme:"vs",showMiniMap:!1,options:st,onChange:An}))))}var Ft=Ct,_t=Object.defineProperty,pt=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,kt=(ke,Nt,bn)=>Nt in ke?_t(ke,Nt,{enumerable:!0,configurable:!0,writable:!0,value:bn}):ke[Nt]=bn,En=(ke,Nt)=>{for(var bn in Nt||(Nt={}))Et.call(Nt,bn)&&kt(ke,bn,Nt[bn]);if(Ge)for(var bn of Ge(Nt))nt.call(Nt,bn)&&kt(ke,bn,Nt[bn]);return ke},Kt=(ke,Nt)=>pt(ke,ht(Nt)),mn=(ke,Nt)=>{var bn={};for(var xn in ke)Et.call(ke,xn)&&Nt.indexOf(xn)<0&&(bn[xn]=ke[xn]);if(ke!=null&&Ge)for(var xn of Ge(ke))Nt.indexOf(xn)<0&&nt.call(ke,xn)&&(bn[xn]=ke[xn]);return bn},ze=({onFinish:ke,value:Nt,streamingStatus:bn,cancelIndex:xn,loadImage:yt,onDynamic:ct})=>{const[Gt,jn]=(0,ae.useState)(""),[Zt,hn]=(0,ae.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[xt,wn]=(0,ae.useState)(0),[on,Se]=(0,ae.useState)(!1),ce=Be=>Be.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(fe,st)=>`<mathx data-text="${st.trim()}">$$${st.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=()=>{Se(!0),ke==null||ke()};(0,ae.useEffect)(()=>{const Be=yt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
|
|
|
|
|
|
${Nt}`:Nt,fe=ce(Be);if(!on)if(yt||!bn||xn>0){jn(fe),wn(fe.length),(!bn||xn>0)&&!yt&&le();return}else if((fe==null?void 0:fe.length)<4)jn(fe),wn(fe.length);else if(xt<fe.length){const st=fe.length-xt,An=setInterval(()=>{jn(fe.slice(0,xt+2)),wn(Jn=>Jn+2)},st>10?Math.max(500/(st/2),20):50);return()=>clearInterval(An)}else bn||le()},[Nt,bn,xn,yt,xt]);const we=(0,ae.useMemo)(()=>ae.createElement("section",{className:`${Ye.answer} fadeIn animated edu_md`},ae.createElement(Ee.UG,{remarkPlugins:[lt.Z,Te.Z],rehypePlugins:[rt.Z,vt.Z],components:{code(Be){var fe=Be,{node:st,inline:An,className:Jn,children:xr}=fe,ur=mn(fe,["node","inline","className","children"]);const qr=/language-(\w+)/.exec(Jn||""),ii=String(xr).trim();return An||!qr?ae.createElement("code",En({className:Jn},ur),xr):ae.createElement("code",{className:Ye.codeCopy,"data-text":`\`\`\`${qr?qr[1]:""}
|
|
|
${xr}
|
|
|
\`\`\``},ae.createElement(Oe.CopyToClipboard,{text:ii,onCopy:()=>Ce.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ae.createElement("button",null,"\u590D\u5236")),qr[1]==="html"&&on&&ae.createElement("button",{className:Ye.runCode,onClick:()=>{hn(En({},Kt(En({},Zt),{open:++Zt.open,defaultValue:ii,language:qr[1]})))}},"\u8FD0\u884CHTML"),ae.createElement(et.Z,En({wrapLongLines:!0,style:We.Z,language:qr[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},ur),ii))},img({node:Be}){var fe;const st=(fe=Be.properties)==null?void 0:fe.src;return ae.createElement(Me.Z,{src:st,width:320,"data-text":st,onLoad:()=>yt&&setTimeout(()=>le(),500)})}}},on?Gt:`${Gt}__`)),[Gt]);return ae.createElement(ae.Fragment,null,ae.createElement(Ft,{defaultValue:Zt.defaultValue,open:Zt.open,language:Zt.language,height:Zt.height,onChange:(Be,fe)=>{jn(Gt.replaceAll(fe,Be))},onDynamic:ct}),we)}},48021:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return We}});var ae=pe(59301),Ee=pe(68911),et={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj",extraNode:"extraNode___tnBrt"},We=({src:Oe,onClick:Ye,topPercentage:Ce=.62,draggableExtraNode:Me})=>{const rt=(0,ae.useRef)(null),lt=(0,ae.useRef)(!1),Te=(0,ae.useRef)(!1),[gt,Je]=(0,ae.useState)(window.innerHeight*Ce),[Re,je]=(0,ae.useState)(!1),He=10;return(0,ae.useEffect)(()=>{if(rt.current){let Ke=function(De){var Ct;lt.current=!0,Qe=De.pageY,dt=De.pageY-(((Ct=rt.current)==null?void 0:Ct.getBoundingClientRect().top)||0),(0,Ee.kk)("none"),document.onselectstart=function(){return!1}},ft=function(){lt.current&&!Te.current&&Ye&&Ye(),lt.current=!1,Te.current=!1,(0,Ee.kk)("auto"),document.onselectstart=null},$e=function(De){var Ct;if(lt.current){const _t=De.pageY-dt,pt=window.innerHeight-(((Ct=rt.current)==null?void 0:Ct.offsetHeight)||0)-50,ht=50;if(!Te.current&&Math.abs(Qe-De.pageY)>He&&(Te.current=!0),Te.current){let Ge=Math.max(ht,Math.min(_t,pt));Je(Ge)}}},dt=0,Qe=0;return rt.current.addEventListener("mousedown",Ke),document.addEventListener("mousemove",$e),document.addEventListener("mouseup",ft),()=>{var De,Ct;(Ct=(De=rt==null?void 0:rt.current)==null?void 0:De.removeEventListener)==null||Ct.call(De,"mousedown",Ke),document.removeEventListener("mousemove",$e),document.removeEventListener("mouseup",ft)}}},[Ye]),(0,ae.useEffect)(()=>{const Ke=()=>{Je(window.innerHeight*Ce)};return window.addEventListener("resize",Ke),()=>{window.removeEventListener("resize",Ke)}},[Ce]),ae.createElement("div",{className:et.draggableImage,style:{top:`${gt}px`,display:Re?"none":"block",cursor:lt.current?"grabbing":"grab"},ref:rt},Me&&ae.createElement("div",{className:et.extraNode,onMouseUp:Ke=>Ke.stopPropagation(),onMouseDownCapture:Ke=>Ke.stopPropagation()},Me),ae.createElement("img",{className:et.img,src:Oe,width:60,draggable:"false"}),ae.createElement("i",{className:`iconfont icon-tupianguanbi ${et.close}`,onMouseUp:Ke=>{Ke.stopPropagation(),je(!0)}}))}},24175:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Qe}});var ae=pe(59301),Ee={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},et=pe(81327),vt=Object.defineProperty,We=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Ce=(De,Ct,Ft)=>Ct in De?vt(De,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):De[Ct]=Ft,Me=(De,Ct)=>{for(var Ft in Ct||(Ct={}))Oe.call(Ct,Ft)&&Ce(De,Ft,Ct[Ft]);if(We)for(var Ft of We(Ct))Ye.call(Ct,Ft)&&Ce(De,Ft,Ct[Ft]);return De};const rt=De=>React.createElement("svg",Me({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},De),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 lt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkg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UMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Te=Object.defineProperty,gt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,je=(De,Ct,Ft)=>Ct in De?Te(De,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):De[Ct]=Ft,He=(De,Ct)=>{for(var Ft in Ct||(Ct={}))Je.call(Ct,Ft)&&je(De,Ft,Ct[Ft]);if(gt)for(var Ft of gt(Ct))Re.call(Ct,Ft)&&je(De,Ft,Ct[Ft]);return De};const Ke=De=>React.createElement("svg",He({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},De),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;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4OS4xMjUgMTg5LjEyNSAwIDAgMC0yMy41NTIgOTguNDYxYzEuNTc1IDc2Ljg4IDM1LjQ0NiAxMzguMDgzIDEwMi42MzYgMTgxLjY0MiA3LjU2MiA0Ljk2MyA5LjUzMSA5LjkyNSA3LjA5IDE3LjI1LTQuNDkgMTQuOTY3LTkuOTI2IDI5LjU0LTE0LjgxIDQ0LjU4NC0yLjk5MiA5LjYxLTcuNTYxIDExLjY1OC0xOC4yNzQgNy40ODNhMzA5LjQ4NCAzMDkuNDg0I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ge.key===De);return $e.createElement("div",{className:Ee.select},$e.createElement(et.Z,{size:10},$e.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),$e.createElement("div",{className:Ee.box,onMouseLeave:()=>_t(!1)},$e.createElement("div",{className:Ee.text,onClick:()=>_t(!0)},$e.createElement("img",{src:ht.img,width:20}),$e.createElement("span",null,ht.name),$e.createElement("b",{className:"iconfont icon-zhankai6"})),Ft&&$e.createElement("div",{className:Ee.itemWrap},$e.createElement("aside",null,pt.map(Ge=>$e.createElement("div",{key:Ge.key,className:`${Ee.item} ${Ge.key===De?Ee.active:""}`,onClick:Et=>{Et.stopPropagation(),Ct(Ge.key),_t(!1)}},$e.createElement("img",{src:Ge.img,width:20}),$e.createElement("span",null,Ge.name))))))))}},48892:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ye}});var ae=pe(59301),Ee={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},et=pe(71418),vt=pe(59301),We=(Ce,Me,rt)=>new Promise((lt,Te)=>{var gt=je=>{try{Re(rt.next(je))}catch(He){Te(He)}},Je=je=>{try{Re(rt.throw(je))}catch(He){Te(He)}},Re=je=>je.done?lt(je.value):Promise.resolve(je.value).then(gt,Je);Re((rt=rt.apply(Ce,Me)).next())}),Ye=({value:Ce="",streamingStatus:Me,onFinish:rt,cancelIndex:lt,time:Te,loading:gt,loadAll:Je})=>{const[Re,je]=(0,ae.useState)(""),[He,Ke]=(0,ae.useState)(!0),ft=(0,ae.useRef)(Ce),$e=(0,ae.useRef)(Me),dt=(0,ae.useRef)(0),Qe=(0,ae.useRef)(null),[De,Ct]=(0,ae.useState)(!1),Ft=70;(0,ae.useEffect)(()=>{$e.current=Me},[Me]),(0,ae.useEffect)(()=>{ft.current=Ce},[Ce]),(0,ae.useEffect)(()=>{if(!Me){je(ft.current);return}return Ct(!0),Qe.current=setInterval(_t,Ft),()=>{clearInterval(Qe.current)}},[]),(0,ae.useEffect)(()=>{De&&(je(ft.current),clearInterval(Qe.current),Ct(!1),rt())},[lt]);const _t=()=>We(void 0,null,function*(){const pt=ft.current[dt.current];pt!==void 0?(je(ht=>ht+pt),dt.current++,clearInterval(Qe.current),Qe.current=setInterval(_t,280/(ft.current.length-dt.current))):$e.current===!1&&(je(ft.current),clearInterval(Qe.current),Ct(!1),rt())});return vt.createElement("div",{className:`${Ee.reasoning} fadeIn animated`},vt.createElement("div",{className:Ee.btn,onClick:()=>Ke(!He)},vt.createElement("i",{className:"iconfont icon-shendusikao"}),Te?vt.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Te," \u79D2\uFF09"):vt.createElement("span",null,"\u601D\u8003\u4E2D..."),He?vt.createElement("b",{className:"iconfont icon-shouqi6"}):vt.createElement("b",{className:"iconfont icon-zhankai6"})),gt&&vt.createElement(et.Z,{spinning:!0,className:"mt20"}),He&&!gt&&vt.createElement("div",{className:Ee.content},Re,De?vt.createElement("span",{className:"aiBlink"},"__"):""))}},61513:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return xn}});var ae=pe(59301),Ee=pe(43428),et=pe(8591),vt=pe(54580),We=pe(43418),Oe=pe(6848),Ye=pe(92832),Ce=pe(3113),Me=pe(71418),rt=pe(64165),lt=pe(14478),Te=pe(38854),gt=pe(92310),Je=pe.n(gt),Re=pe(99836),je=pe(48892),He=pe(24175),Ke={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=pe(22972),$e=pe(68911),dt=pe(48021),Qe=pe(37166),De=pe(28984),Ct=pe(71986),Ft=pe(35783),_t=pe(56102),pt=pe(52107),ht=pe(58617),Ge=pe(32050),Et=Object.defineProperty,nt=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Nn=(yt,ct,Gt)=>ct in yt?Et(yt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):yt[ct]=Gt,ze=(yt,ct)=>{for(var Gt in ct||(ct={}))Kt.call(ct,Gt)&&Nn(yt,Gt,ct[Gt]);if(En)for(var Gt of En(ct))mn.call(ct,Gt)&&Nn(yt,Gt,ct[Gt]);return yt},ke=(yt,ct)=>nt(yt,kt(ct)),Nt=(yt,ct,Gt)=>new Promise((jn,Zt)=>{var hn=on=>{try{wn(Gt.next(on))}catch(Se){Zt(Se)}},xt=on=>{try{wn(Gt.throw(on))}catch(Se){Zt(Se)}},wn=on=>on.done?jn(on.value):Promise.resolve(on.value).then(hn,xt);wn((Gt=Gt.apply(yt,ct)).next())}),xn=({title:yt="\u5934\u6B4CAI",placeholder:ct,hideUpload:Gt,hideInputBox:jn,aiIcon:Zt=Qe,userIcon:hn=De,dragIcon:xt=Ct,children:wn,fetchUrl:on,fetchData:Se={},extraAnswerAction:ce,showDefaultTips:le=!0,onOpen:we,onClose:Be,loadingOption:fe,showPreference:st=!1,initMessage:An,customRequest:Jn,visible:xr,width:ur=1200,isCheckRestrictNumber:qr=!1,headNode:ii,headFunctionNode:Ii,showRedraw:fa,showEdit:qt,promptPropName:Sr="prompt",topPercentage:co,showSwitchingModel:Fa=!1,showImageGenerator:wi=!1,showLookHistory:pr=!1,fetchListObject:fs,customPreference:$i,customDataNode:la,showAddSession:ea,historyId:pi,draggableExtraNode:$o,drawerExtraNode:ks,menuExtraFunctionNode:za,showSceneAwareness:gi=!1,ReactComponent:Ti=Ee.Z,topFunctionNode:es,footerContainerStyle:ts,chatContainerStyle:jo={},showCodePreview:Ji=!1,showSource:ns=!0,onSendMessage:Ci,onDynamic:Sl=()=>{}})=>{var ps,ta;const[pa,Ho]=(0,ae.useState)(!1),[Tr,ir]=(0,ae.useState)("qwen-max"),[Mr,vi]=(0,ae.useState)([]),[hi,_i]=(0,ae.useState)([]),[Fe,Ue]=(0,ae.useState)(!1),[Jt,Ht]=(0,ae.useState)(!1),[Ot,Sn]=(0,ae.useState)(!1),[In,Bn]=(0,ae.useState)([]),[sn,kr]=(0,ae.useState)(""),[$r,dr]=(0,ae.useState)(0),[Qt,Tn]=(0,ae.useState)(void 0),[yi,Vi]=(0,ae.useState)(!1),[ua,Xr]=(0,ae.useState)(null),[Bi,tr]=(0,ae.useState)(""),Mi=(0,ae.useRef)(),nn=(0,ae.useRef)(null),ei=(0,ae.useRef)(null),[Kr,Pi]=(0,ae.useState)(!1),[ti,bi]=(0,ae.useState)(!1),[li,ni]=(0,ae.useState)(!1),[Ur,ui]=(0,ae.useState)(!1),[mr,ho]=(0,ae.useState)(!1),[oo,fo]=(0,ae.useState)(0),wa=(0,ae.useRef)(null),so=(0,ae.useRef)(!1),Ea=(0,ae.useRef)(null),[ki,Oi]=(0,ae.useState)(void 0),[ma,ga]=(0,ae.useState)(!0),[va,Ka]=(0,ae.useState)(ur-28),[Di,Wo]=(0,ae.useState)(!1),[Za,Va]=(0,ae.useState)(!0),[Io,To]=(0,ae.useState)([]),Na=(0,ae.useRef)([]),Fo=(0,ae.useRef)(null),Gi=(0,ae.useRef)(null),Aa=(0,ae.useRef)(!1),Ki=va-22,rs=sn==null?void 0:sn.split(`
|
|
|
`).length,{onAdd:Eo,onGetList:Os,onListClick:Cs,onListDelete:$a,onListDealData:Zs}=fs||{},Vs=50,Ds=10,Ma={maxCount:Vs,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Mr,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:mt=>Nt(void 0,null,function*(){var ln,Yt,dn,Xn;const Vn=(Xn=(dn=(Yt=(ln=mt==null?void 0:mt.name)==null?void 0:ln.split("."))==null?void 0:Yt.slice(-1))==null?void 0:dn[0])==null?void 0:Xn.toLowerCase(),Ri=["doc","docx","md","pdf","txt","xlsx","xls"].includes(Vn);return mt.size==0?(et.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),vt.default.LIST_IGNORE):Ri?mt.size/1024/1024>100?(et.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),vt.default.LIST_IGNORE):!0:(et.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),vt.default.LIST_IGNORE)}),onChange:({fileList:mt})=>{vi(mt)},action:`${(ps=Ft.Z)==null?void 0:ps.API_SERVER}/api/intelligent_imports/upload_file.json`},Ko={maxCount:Ds,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:hi,multiple:!0,accept:".jpg,.png,",beforeUpload:mt=>{var ln,Yt,dn,Xn;const Vn=(Xn=(dn=(Yt=(ln=mt==null?void 0:mt.name)==null?void 0:ln.split("."))==null?void 0:Yt.slice(-1))==null?void 0:dn[0])==null?void 0:Xn.toLowerCase(),Ri=["jpg","png"].includes(Vn);return mt.size==0?(et.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),vt.default.LIST_IGNORE):Ri?mt.size/1024/1024>10?(et.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),vt.default.LIST_IGNORE):!0:(et.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),vt.default.LIST_IGNORE)},onChange:({fileList:mt})=>{_i(mt)},action:`${(ta=Ft.Z)==null?void 0:ta.API_SERVER}/api/ai/generals/update_file.json`};(0,ae.useEffect)(()=>{if(!In.length||!Mi.current)return;const mt=In[In.length-1];mt!=null&&mt.loading&&(Mi.current.scrollTop=Mi.current.scrollHeight)},[In.length]),(0,ae.useEffect)(()=>{if(!Mi.current||!wa.current)return;const mt=new IntersectionObserver(([ln])=>{ga(ln.isIntersecting)},{root:Mi.current,rootMargin:"70px",threshold:0});return mt.observe(wa.current),()=>{wa.current&&mt.unobserve(wa.current)}},[Mi.current,wa.current]),(0,ae.useEffect)(()=>{if(!Kr)return;const mt=Mi.current,ln=Ea.current;so.current=!1;let Yt=mt.scrollTop;const dn=()=>{const{scrollTop:Vn,scrollHeight:Rr,clientHeight:Ri}=mt;Vn>Yt?Vn+Ri>=Rr-50&&(mt.scrollTop=mt.scrollHeight,so.current=!1):Vn<Yt&&(so.current=!0),Yt=Vn};mt.addEventListener("scroll",dn);const Xn=new ResizeObserver(()=>{so.current||(mt.scrollTop=mt.scrollHeight)});return Xn.observe(ln),()=>{var Vn;Xn.unobserve(ln),(Vn=mt==null?void 0:mt.removeEventListener)==null||Vn.call(mt,"scroll",dn)}},[Kr]),(0,ae.useEffect)(()=>{!Kr&&Na.current.length&&(Bn([...In,...Na.current]),Na.current=[])},[Kr]),(0,ae.useEffect)(()=>{if(!Mi.current)return;const mt=new ResizeObserver(()=>{var ln;Mi.current&&Ka((ln=Mi.current)==null?void 0:ln.offsetWidth)});return mt.observe(Mi.current),()=>{Mi.current&&mt.unobserve(Mi.current)}},[Mi.current]),(0,ae.useEffect)(()=>{typeof xr=="boolean"&&Ho(xr)},[xr]),(0,ae.useEffect)(()=>{var mt;if(nn.current&&ua!==null){nn.current.focus();const ln=(mt=nn.current.resizableTextArea)==null?void 0:mt.textArea;ln&&(ln.selectionStart=ln.selectionEnd=ln.value.length)}},[ua]),(0,ae.useEffect)(()=>{rs<5&&Vi(!1)},[rs]),(0,ae.useEffect)(()=>{pa&&An&&(Bn(ka(An)),Ue(!0),Ui(An,{history:[]})),pa&&(ri(),pi?Tt(pi):ea&&!ki&&Bt()),pa||Zn()},[pa]);const ka=(mt="",ln=[],Yt=[])=>{const dn=Date.now();return[{text:mt,key:dn,sender:"user",fileList:ln,imageList:Yt,show:!0},{loading:!0,key:dn,sender:"AI",show:!0,model:Tr,imageGenerator:Ur,thinkingEnabled:ti,codePreview:li}]},Zn=()=>{tr(""),Xr(null),vi([]),_i([]),kr("")},Hn=()=>{if(we){we({chatData:In,setChatData:Bn,setLoading:Ue,getData:Ui,renderChatItems:ka,handleAdd:Bt,identifier:ki});return}Ho(!0)},$n=()=>{if(Va(!0),Be){Be();return}Ho(!1)},sr=()=>{Vi(!yi)},ri=()=>Nt(void 0,null,function*(){if(!qr)return;const mt=yield(0,ft.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(mt==null?void 0:mt.status)===0&&(mt==null?void 0:mt.total_number)!==-1&&(dr((mt==null?void 0:mt.total_number)-(mt==null?void 0:mt.remaining_number)),Tn(mt==null?void 0:mt.total_number))}),na=()=>{We.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ae.createElement("div",null,ae.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ae.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",Qt,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},ca=mt=>mt.reduce((Yt,dn)=>{if(dn.sender==="user"){const Xn=mt.find(Vn=>Vn.key===dn.key&&Vn.sender==="AI");Xn&&(Xn!=null&&Xn.text)&&!(Xn!=null&&Xn.error)&&Yt.push({question:dn.text,answer:Xn.text})}return Yt},[]),Ui=(...mt)=>Nt(void 0,[...mt],function*(ln="",Yt={},dn=In){if(Jn&&(yield Jn({mes:ln,setChatData:Bn,fileList:Mr,body:Yt,checkNum:ri,setLoading:Ue,bodyChatData:dn,setTyping:Pi,setImageGenerator:ui,renderChatItems:ka})),!Jn){const Xn=Mr==null?void 0:Mr.map(ia=>{var eo;return(eo=ia==null?void 0:ia.response)==null?void 0:eo.file_id}),Vn=hi==null?void 0:hi.map(ia=>{var eo;return(eo=ia==null?void 0:ia.response)==null?void 0:eo.data}),Rr=Yt.history||ca(dn),Ri=ze(ze({identifier:ki,response_mode:"streaming",model:Tr,scene_awareness:mr,thinking_enabled:ti,image_generator:Ur,code_preview:li,file_ids:Xn,image_list:Vn,history:Rr,[Sr]:ln},Se),Yt),Ca=Object.fromEntries(Object.entries(Ri).filter(([ia,eo])=>eo!==void 0));ei.current=new pt.Z(Ft.Z.API_SERVER+on,Ca),yield new Promise((ia,eo)=>{let Js=null,bo=null;ei.current.on("data",to=>{Pi(!0);const{chunk:{content:da,type:xo,created:as,msg:Ss}}=to,Fr=Ss==="error";xo==="text"&&(bo=bo||as,Bn(Go=>[...Go].map((no,Ao)=>Ao===Go.length-1?ke(ze({},no),{text:(no.text||"")+da,loading:!1,startTime:Js,endTime:bo,error:Fr}):no)))}),ei.current.on("done",()=>{ia()}),ei.current.on("error",to=>{let da="\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(to)==="[object Object]"&&to.status===-9&&(da=to==null?void 0:to.message),Bn(xo=>[...xo].map((as,Ss)=>Ss===xo.length-1?ke(ze({},as),{text:da,loading:!1,error:!0}):as)),ia()}),ei.current.on("cancelled",()=>{ia()}),ei.current.startStream()})}ri(),Ue(!1)}),ji=mt=>{kr(mt.target.value)},ra=(mt,ln)=>{if(Zn(),Ue(!0),mt==="edit"){Na.current=In.slice(ln+2);const Yt=In.splice(ln),{fileList:dn=[],imageList:Xn=[]}=(Yt==null?void 0:Yt[0])||{},Vn=dn.map(Ca=>{var ia;return(ia=Ca.response)==null?void 0:ia.file_id}),Rr=Xn.map(Ca=>{var ia;return(ia=Ca.response)==null?void 0:ia.data}),Ri={history:ca(In),file_ids:Vn,image_list:Rr,edit:!0};Bn([...In,...ka(Bi,dn,Xn)]),Ui(Bi,Ri,In)}if(mt==="redraw"){Na.current=In.slice(ln+1);const Yt=In.splice(ln-1),{text:dn,fileList:Xn=[],imageList:Vn=[]}=(Yt==null?void 0:Yt[0])||{},Rr=Xn.map(ia=>{var eo;return(eo=ia.response)==null?void 0:eo.file_id}),Ri=Vn.map(ia=>{var eo;return(eo=ia.response)==null?void 0:eo.data}),Ca={history:ca(In),file_ids:Rr,image_list:Ri,edit:!0};Bn([...In,...ka(dn,Xn,Vn)]),Ui(dn,Ca,In)}},Zo=()=>{if(sn.trim()!==""){Zn(),Ue(!0);const mt=Mr.filter(Yt=>Yt.status==="done"),ln=hi.filter(Yt=>Yt.status==="done");Bn([...In,...ka(sn,mt,ln)]),Ui(sn)}},Pa=mt=>{if(mt.shiftKey){if(mt.key==="Enter")return}else if(mt.key==="Enter"){if(mt.preventDefault(),gr||Aa.current)return;Zo()}},is=(mt,ln)=>{let Yt=!1;qt===!0?Yt=!0:qt==="last"&&(Yt=In.reduce((Rr,Ri,Ca)=>Ri.sender==="user"?Ca:Rr,-1)===ln);const dn=ln===ua,Xn=[...(mt==null?void 0:mt.fileList)||[],...(mt==null?void 0:mt.imageList)||[]];return ae.createElement("div",{className:Ke.li,style:ze({width:Ki},jo)},ae.createElement("div",{className:Ke.avatarIcon},ae.createElement("img",{className:Ke.img,src:hn})),ae.createElement("div",{className:Ke.content},!!(Xn!=null&&Xn.length)&&ae.createElement("div",{className:Ke.fileWrap},Xn==null?void 0:Xn.map((Vn,Rr)=>{var Ri,Ca;return ae.createElement("div",{key:Rr,className:Ke.file},ae.createElement("img",{src:pe(90034)(`./${((Ca=(Ri=Vn==null?void 0:Vn.name)==null?void 0:Ri.split("."))==null?void 0:Ca.pop())||"txt"}.png`),width:20,className:"mr10"}),ae.createElement("aside",null,ae.createElement(Oe.Z,{title:Vn==null?void 0:Vn.name},ae.createElement("div",{className:Ke.fileName},Vn==null?void 0:Vn.name)),ae.createElement("div",{className:"c-grey-999 font12"},(0,$e.RD)(Vn==null?void 0:Vn.size))))})),ae.createElement("div",{className:Ke.borderBox},dn?ae.createElement(Ye.default.TextArea,{value:Bi,ref:nn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:Vn=>tr(Vn.target.value)}):ae.createElement("div",{className:Ke.text},mt==null?void 0:mt.text)),dn?ae.createElement("div",{className:Ke.action},ae.createElement(Ce.ZP,{onClick:()=>{tr(""),Xr(null)},size:"small"},"\u53D6\u6D88"),ae.createElement(Ce.ZP,{disabled:!Bi.trim(),onClick:()=>ra("edit",ln),type:"primary",size:"small"},"\u786E\u8BA4")):ae.createElement("div",{className:Ke.action},ae.createElement(_t.CopyToClipboard,{text:(mt==null?void 0:mt.text)||"",onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement(Oe.Z,{title:"\u590D\u5236"},ae.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Yt&&!Fe&&ae.createElement(Oe.Z,{title:"\u7F16\u8F91"},ae.createElement("i",{onClick:()=>{Xr(ln),tr((mt==null?void 0:mt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},yo=(mt,ln)=>{let Yt=!1;fa===!0?Yt=!0:fa==="last"&&(Yt=In.reduce((Vn,Rr,Ri)=>Rr.sender==="AI"?Ri:Vn,-1)===ln);let dn="";return mt!=null&&mt.source?dn=mt==null?void 0:mt.source:(mt==null?void 0:mt.model)==="deepseek-r1"?dn="\u7531deepseek\u751F\u6210":(mt==null?void 0:mt.model)==="qwen-max"&&(dn="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),ae.createElement("div",{className:Ke.li,style:ze({width:Ki},jo)},ae.createElement("div",{className:Ke.avatarIcon},ae.createElement("img",{className:Ke.img,src:Zt})),ae.createElement("div",{className:Ke.content},ae.createElement("div",{className:Ke.borderBox},mt.loading&&ae.createElement(ae.Fragment,null,mt!=null&&mt.imageGenerator?ae.createElement("div",{className:Ke.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ae.createElement("div",{className:"ai-loading"})):!(mt!=null&&mt.thinkingEnabled)&&ae.createElement("div",null,ae.createElement("div",{className:Ke.loading},ae.createElement("div",{className:Ke.dot}),ae.createElement("div",{className:Ke.dot}),ae.createElement("div",{className:Ke.dot})),ae.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(fe==null?void 0:fe.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"))),(mt==null?void 0:mt.thinkingEnabled)&&ae.createElement(je.Z,{time:mt==null?void 0:mt.time,cancelIndex:oo,loading:mt.loading,streamingStatus:!(mt!=null&&mt.text),onFinish:()=>{fo(0),Bn(Xn=>[...Xn].map((Vn,Rr)=>Rr===Xn.length-1?ke(ze({},Vn),{hideAnswer:!1,time:Vn.startTime?Vn.endTime-Vn.startTime:null}):Vn))},value:mt==null?void 0:mt.reasoning}),!!(mt!=null&&mt.text)&&!mt.hideAnswer&&ae.createElement(Re.Z,{onDynamic:Sl,cancelIndex:oo,streamingStatus:Fe,loadImage:!!(mt!=null&&mt.imageGenerator),onFinish:()=>Nt(void 0,null,function*(){fo(0),setTimeout(()=>Pi(!1),0)}),value:mt==null?void 0:mt.text})),ns&&!!(mt!=null&&mt.text)&&dn&&ae.createElement("div",{className:Ke.source},dn),ae.createElement("div",{className:Ke.action},ce==null?void 0:ce(mt,ln,{onMenuClick:Tt}),!(mt!=null&&mt.imageGenerator)&&ae.createElement(_t.CopyToClipboard,{text:String((mt==null?void 0:mt.text)||""),onCopy:()=>et.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ae.createElement(Oe.Z,{title:"\u590D\u5236"},ae.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),st&&!Fe&&ae.createElement(ae.Fragment,null,ae.createElement(Oe.Z,{title:"\u559C\u6B22"},ae.createElement("i",{style:mt!=null&&mt.like?{color:"#FA8D30"}:{},onClick:()=>Vo("like",!(mt!=null&&mt.like),ln),className:"iconfot icon-yijiejue font15"})),ae.createElement(Oe.Z,{title:"\u4E0D\u559C\u6B22"},ae.createElement("i",{style:mt!=null&&mt.dislike?{color:"#e86d7c"}:{},onClick:()=>Vo("dislike",!(mt!=null&&mt.dislike),ln),className:"iconfot icon-weijiejuezhengchang font15"}))),Yt&&!Fe&&ae.createElement(Oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ae.createElement("i",{onClick:()=>ra("redraw",ln),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Vo=(mt,ln,Yt)=>Nt(void 0,null,function*(){if($i){const dn=In.slice(0,Yt+1),Vn=ca(dn).length;yield $i({type:mt,value:ln,index:Yt,identifier:ki,objectIndex:Vn})}Bn(dn=>(dn[Yt][mt]=ln,ln&&(dn[Yt][mt==="like"?"dislike":"like"]=!1),[...dn]))}),Ys=()=>{var mt,ln;fo(1),(ln=(mt=ei.current)==null?void 0:mt.cancelRequest)==null||ln.call(mt),Ue(!1),Pi(!1)},Bt=()=>Nt(void 0,null,function*(){var mt,ln,Yt;(ln=(mt=ei.current)==null?void 0:mt.cancelRequest)==null||ln.call(mt),Zn(),Bn([]),Ue(!0);const dn=yield Eo();(dn==null?void 0:dn.status)===0&&Oi((Yt=dn==null?void 0:dn.data)==null?void 0:Yt.identifier),Ue(!1),Pi(!1)}),wt=()=>Nt(void 0,null,function*(){var mt;Sn(!0);const ln=yield Os();(ln==null?void 0:ln.status)===0&&To(((mt=ln==null?void 0:ln.data)==null?void 0:mt.list)||[]),Sn(!1)}),Tt=(...mt)=>Nt(void 0,[...mt],function*(ln=ki){var Yt,dn,Xn,Vn;(dn=(Yt=ei.current)==null?void 0:Yt.cancelRequest)==null||dn.call(Yt),Zn(),Ht(!0);const Rr=yield Cs(ln);if(Rr.status===0){const Ri=Zs(((Xn=Rr==null?void 0:Rr.data)==null?void 0:Xn.messages)||[]);Bn(Ri),Ht(!1),Oi((Vn=Rr==null?void 0:Rr.data)==null?void 0:Vn.identifier);return}Bn([]),Ht(!1)}),rn=(mt,ln)=>Nt(void 0,null,function*(){(yield $a(mt)).status===0&&(et.ZP.success("\u5220\u9664\u6210\u529F"),ln===ki&&Bt(),wt())}),hr=()=>ae.createElement("div",{className:Ke.menuWarp},ae.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),ae.createElement(Me.Z,{spinning:Ot},!Io.length&&ae.createElement(rt.Z,{style:{width:250,paddingBottom:30},image:rt.Z.PRESENTED_IMAGE_SIMPLE}),!!Io.length&&ae.createElement("div",{className:Ke.menu},Io.map(function(mt,ln){return ae.createElement("aside",{className:Je()(ki===mt.identifier&&Ke.active),key:mt.id,onClick:()=>Tt(mt.id)},ae.createElement("div",{className:Ke.menuText},ae.createElement(Oe.Z,{title:mt==null?void 0:mt.question},ae.createElement("span",null,mt==null?void 0:mt.question)),za&&za(mt)),ae.createElement("div",{className:Ke.menuDel,onClick:Yt=>Yt.stopPropagation()},ae.createElement(lt.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>rn(mt.id,mt.identifier),okText:"\u786E\u8BA4",zIndex:1100,cancelText:"\u53D6\u6D88"},ae.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),Pr=mt=>{if(mt==="file"){if(hi.length){We.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:()=>{_i([]),Fo.current.upload.uploader.fileInput.click()}});return}Fo.current.upload.uploader.fileInput.click()}if(mt==="image"){if(Mr.length){We.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([]),Gi.current.upload.uploader.fileInput.click()}});return}Gi.current.upload.uploader.fileInput.click()}},en=[{key:"file",disabled:Mr.length>=Vs,label:ae.createElement(Oe.Z,{placement:"right",title:ae.createElement("div",null,ae.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),ae.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-fujian3 font14 mr5"}),"\u4E0A\u4F20\u6587\u6863"))},Tr!=="deepseek-r1"&&{key:"image",disabled:hi.length>=Ds,label:ae.createElement(Oe.Z,{placement:"right",title:"\u652F\u6301\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247\uFF0C\u6700\u591A10\u4E2A"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-tupianshangchuan font14 mr5"}),"\u4E0A\u4F20\u56FE\u7247"))}].filter(Boolean),Qn=[...Mr,...hi],gr=Qn.some(mt=>mt.status==="uploading")||Fe||Kr,Dr=$r>=Qt,vr=Gt||Mr.length>=Vs||hi.length>=Ds,Pn=Ur||ti||mr||li||!!Qn.length,jr={chatData:In,stream:ei,isDisabledNum:Dr,checkNumModal:na,checkNum:ri,onClose:$n,setChatData:Bn,setLoading:Ue,getData:Ui,clearStatus:Zn,typing:Kr,setImageGenerator:ui,renderChatItems:ka,setSceneAwareness:ho,setIdentifier:Oi,setCodePreview:ni,setTyping:Pi};return ae.createElement(ae.Fragment,null,wn?ae.createElement("div",{onClick:Hn},wn):wn!==null&&ae.createElement(dt.Z,{draggableExtraNode:$o,src:xt,onClick:Hn,topPercentage:co}),ae.createElement(Ti,{open:pa,width:Di?"100%":ur,afterOpenChange:mt=>{mt&&Va(!1)},push:!1,contentWrapperStyle:Za?{}:{transition:"none"},extra:ae.createElement("div",{className:Ke.head},ks,Fa&&ae.createElement(He.Z,{value:Tr,onChange:mt=>{bi(!1),ui(!1),ir(mt),_i([]),vi([])}}),pr&&ae.createElement(ae.Fragment,null,ae.createElement(Te.Z,{dropdownRender:hr,onOpenChange:mt=>{mt&&wt()},placement:"bottomLeft",arrow:!0},ae.createElement("div",{className:Ke.headBtn},ae.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),ea&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:Ke.headBtn,onClick:Bt},ae.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),ae.createElement(Oe.Z,{title:Di?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},ae.createElement("div",{className:Ke.headBtn,style:{padding:"0 12px"},onClick:()=>Wo(!Di)},Di&&ae.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Di&&ae.createElement("i",{className:"iconfont icon-quanping4"})))),title:ae.createElement("span",{className:"c-grey-333 font16"},yt),onClose:$n,bodyStyle:{paddingRight:4}},ae.createElement("div",{className:Je()(Ke.wrap,pa&&"body-overflow-hidden")},ae.createElement("div",{ref:Mi,className:Ke.chatContainer},es==null?void 0:es(jr),le&&ae.createElement("div",{className:`${Ke.li} mb20`,style:ze({width:Ki},jo)},ae.createElement("div",{className:Ke.avatarIcon},ae.createElement("img",{className:Ke.img,src:Zt})),ae.createElement("div",{className:Ke.content},ae.createElement("div",{className:Ke.borderBox},ii,Ii==null?void 0:Ii(jr)))),ae.createElement("div",{ref:Ea},ae.createElement(Me.Z,{spinning:Jt,className:"mt20"},In==null?void 0:In.map((mt,ln)=>ae.createElement(ae.Fragment,{key:mt.key+ln},mt.show&&ae.createElement(ae.Fragment,null,mt.sender==="user"&&is(mt,ln),mt.sender==="AI"&&yo(mt,ln),la&&!["AI","user"].includes(mt.sender)&&la(mt,ln,{width:Ki})))))),!ma&&ae.createElement("div",{className:Ke.backBottom,onClick:()=>{Mi.current.scrollTop=Mi.current.scrollHeight}},ae.createElement("i",{className:"iconfont icon-huidaodibu"})),ae.createElement("div",{ref:wa})),!jn&&ae.createElement("div",{style:ts,className:Je()(Ke.footerContainer,yi&&Ke.full,Pn&&Ke.footerContainerSelected)},ae.createElement("div",{className:Ke.btnWrp},Ji&&ae.createElement(Oe.Z,{title:"\u66F4\u64C5\u957F\u5904\u7406\u4EE3\u7801\u95EE\u9898\uFF0C\u652F\u6301\u4E00\u53E5\u8BDD\u751F\u6210\u5E94\u7528"},ae.createElement("div",{onClick:()=>ni(!li),className:Je()(Ke.btn,li&&Ke.btnActive)},ae.createElement("i",{className:"iconfont icon-daimamoshi1 mr10 font12"}),"\u4EE3\u7801\u6A21\u5F0F")),gi&&ae.createElement(Oe.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},ae.createElement("div",{onClick:()=>ho(!mr),className:Je()(Ke.btn,mr&&Ke.btnActive)},ae.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),Tr==="deepseek-r1"&&ae.createElement(Oe.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},ae.createElement("div",{onClick:()=>bi(!ti),className:Je()(Ke.btn,ti&&Ke.btnActive)},ae.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),wi&&Tr==="qwen-max"&&ae.createElement("div",{onClick:()=>ui(!Ur),className:Je()(Ke.btn,Ur&&Ke.btnActive)},ae.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),Qn.map(mt=>ae.createElement("div",{key:mt.uid},(mt==null?void 0:mt.status)==="uploading"&&ae.createElement(Me.Z,{indicator:ae.createElement(ht.Z,{rev:"",spin:!0}),className:"mr10",size:"small",spinning:!0}),ae.createElement("span",{title:mt==null?void 0:mt.name,className:"mr10"},(0,$e.Pq)(mt.name,20)),ae.createElement("i",{onClick:()=>{vi(ln=>ln.filter(Yt=>Yt.uid!==mt.uid)),_i(ln=>ln.filter(Yt=>Yt.uid!==mt.uid))},className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ae.createElement(Oe.Z,{title:Dr&&ae.createElement("div",null,ae.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ae.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",Qt,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ae.createElement("div",{className:Je()(Ke.inputContainer,rs>4&&Ke.lineFour,Dr&&Ke.disabledInput)},ae.createElement(vt.default,ze({ref:Fo},Ma)),ae.createElement(vt.default,ze({ref:Gi},Ko)),ae.createElement(Te.Z,{className:`${vr&&"hide"}`,menu:{items:en,onClick:mt=>Pr(mt.key)},placement:"top"},ae.createElement(Ce.ZP,{className:Ke.uploadBtn,icon:ae.createElement(Ge.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})})),ae.createElement(Ye.default.TextArea,{rows:rs>4?4:rs,placeholder:ct||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u95EE\u9898\u5427\uFF0CShift+Enter\u6362\u884C\uFF5E",value:sn,bordered:!1,style:vr?{paddingLeft:0,marginLeft:0}:{},onChange:ji,onPressEnter:Pa,onFocus:()=>Ci==null?void 0:Ci(),onCompositionStart:()=>{Aa.current=!0},onCompositionEnd:()=>{Aa.current=!1}}),Kr?ae.createElement(Oe.Z,{title:"\u505C\u6B62\u751F\u6210"},ae.createElement("div",{className:`iconfont icon-tingzhihuida ${Ke.cancelBtn}`,onClick:Ys})):ae.createElement(Ce.ZP,{className:(sn==null?void 0:sn.trim())===""?Ke.sendBtnDisabled:Ke.sendBtn,icon:ae.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:gr,onClick:Zo}),rs>4&&ae.createElement("span",{className:Ke.fullIcon,onClick:sr},yi&&ae.createElement("span",{className:"iconfont icon-shousuo"}),!yi&&ae.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},78265:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return lt}});var ae=pe(59301),Ee={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},et=pe(92310),vt=pe.n(et),We=pe(71418),Oe=pe(2859),Ye=pe(22972),Ce=pe(68911),Me=(Te,gt,Je)=>new Promise((Re,je)=>{var He=$e=>{try{ft(Je.next($e))}catch(dt){je(dt)}},Ke=$e=>{try{ft(Je.throw($e))}catch(dt){je(dt)}},ft=$e=>$e.done?Re($e.value):Promise.resolve($e.value).then(He,Ke);ft((Je=Je.apply(Te,gt)).next())}),lt=({data:Te,className:gt,fullWidth:Je,style:Re={},onClose:je,onOk:He,showFullTools:Ke,noAssociationId:ft})=>{const $e=(0,ae.useRef)(null),dt=(0,ae.useRef)(null),Qe=(0,ae.useRef)(null),De=(0,ae.useRef)(null),[Ct,Ft]=(0,ae.useState)(!1),[_t,pt]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{Qe.current||(Qe.current=document.createElement("style"),document.head.appendChild(Qe.current)),Te!=null&&Te.visible?(document.body.setAttribute("data-custom","y-hidden"),Qe.current.innerHTML=" html { overflow-y: hidden; }",Te!=null&&Te.src&&ht()):(document.body.removeAttribute("data-custom"),Qe.current&&(document.head.removeChild(Qe.current),Qe.current=null))},[Te==null?void 0:Te.visible]);const ht=()=>Me(void 0,null,function*(){Ft(!0),pt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const En=yield(0,Ce.ZJ)(Te==null?void 0:Te.src);$e.current.src="",$e.current.src=En,$e.current.onload=function(){kt()},Ft(!1),pt("")}),Ge=()=>{document.body.removeAttribute("data-custom"),Qe.current.innerHTML=" ",je()},Et=En=>Me(void 0,null,function*(){Ft(!0),pt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Kt=yield(0,Ye.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Te.title,file:En.dataUrl}});Kt!=null&&Kt.id&&!ft?(yield(0,Ye.ZP)(`/api/attachments/${Te.id}/add_subitem.json`,{method:"post",body:{subitem_id:Kt==null?void 0:Kt.id,settings:JSON.stringify(En.state)}})).status===0&&He():Kt!=null&&Kt.id&&He(Kt),document.body.removeAttribute("data-custom"),Qe.current.innerHTML=" ",Ft(!1),pt("")}),nt=()=>{const En=document.querySelector('a[href="https://markerjs.com/"]');En&&En.parentNode&&(En.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(mn=>{const Nn=document.querySelector(mn.name);Nn&&Nn.setAttribute("title",mn.title)})},kt=()=>{dt.current=new Oe.hP($e.current),dt.current.targetRoot=De.current,dt.current.addEventListener("render",Et),dt.current.addEventListener("beforeclose",Ge),Ke&&(dt.current.availableMarkerTypes=dt.current.ALL_MARKER_TYPES,dt.current.uiStyleSettings.redoButtonVisible=!0,dt.current.uiStyleSettings.notesButtonVisible=!0,dt.current.uiStyleSettings.zoomButtonVisible=!0,dt.current.uiStyleSettings.zoomOutButtonVisible=!0,dt.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=dt.current.uiStyleSettings,dt.current.show(),Te!=null&&Te.snapshotData&&dt.current.restoreState(Te.snapshotData),setTimeout(()=>{window.scrollTo(0,0),nt()},300)};return ae.createElement(ae.Fragment,null,(Te==null?void 0:Te.visible)&&ae.createElement(We.Z,{spinning:Ct,tip:_t,style:{position:"absolute"}},ae.createElement("div",{ref:De,className:vt()(Ee.imageDimensions,gt,Je?Ee.fullWidth:""),style:Re},ae.createElement("img",{className:Ee.img,ref:$e}))))}},9043:function(Dt,Xt,pe){"use strict";var ae=pe(59301),Ee=pe(95237),et=pe(43604),vt=pe(99313),We=pe(3113),Oe=pe(92386),Ye=pe(50718),Ce=pe(48136),Me=pe(59301);const rt=(0,ae.forwardRef)(({callback:lt,showSaveButton:Te,value:gt=""},Je)=>{const Re=(0,ae.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 "}]}]}],He=[{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}`}]}]}],Ke=dt=>{Re.current.setValue(Re.current.getValue()+" "+dt.value+" ")},ft=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(Ee.Z,{className:Ye.Z.lists,gutter:[10,10]},je.map((dt,Qe)=>Me.createElement(et.Z,{flex:"110px",className:Ye.Z.item},Me.createElement("div",null,Me.createElement(Oe.Z,{value:`$$${dt.value}$$`}),dt.name),Me.createElement("div",{className:Ye.Z.children},dt.children.map((De,Ct)=>Me.createElement("div",{key:Ct},Me.createElement("h1",null,De.name),Me.createElement(Ee.Z,{gutter:[10,10]},De.data.map((Ft,_t)=>Me.createElement(et.Z,{key:_t,onClick:()=>Ke(Ft),className:Ye.Z.diamond},Me.createElement(Oe.Z,{value:"`$$"+Ft.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(Ee.Z,{className:Ye.Z.lists,gutter:[10,10]},He.map((dt,Qe)=>Me.createElement(et.Z,{flex:"110px",className:Ye.Z.item},Me.createElement("div",null,Me.createElement(Oe.Z,{value:"`$$"+dt.value+"$$`"}),dt.name),Me.createElement("div",{className:Ye.Z.children},dt.children.map((De,Ct)=>Me.createElement("div",{key:Ct},De.name&&Me.createElement("h1",null,De.name),Me.createElement(Ee.Z,{gutter:[10,10]},De.data.map((Ft,_t)=>Me.createElement(et.Z,{key:_t,onClick:()=>Ke(Ft),className:Ye.Z.diamond},Me.createElement(Oe.Z,{value:"`$$"+Ft.value+"$$`"}))))))))))}],$e=()=>{var dt=document.createElement("div");dt.innerHTML=Re.current.getValue();var Qe=dt.innerText;return lt&<(Qe),Qe};return(0,ae.useImperativeHandle)(Je,()=>({getData:$e})),Me.createElement("div",{className:Ye.Z.mathWrap},Me.createElement(vt.default,{defaultActiveKey:"1",items:ft}),Me.createElement("math-field",{locale:"zh_cn",className:Ye.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Re,style:{width:800,marginTop:30,fontSize:18}},gt||""),Te&&Me.createElement("div",{className:Ye.Z.button},Me.createElement(We.ZP,{size:"large",onClick:$e,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Xt.Z=rt},56383:function(Dt,Xt,pe){"use strict";pe.d(Xt,{h:function(){return dt}});var ae=pe(59301),Ee=pe(57809),et=pe(78241),vt=pe(3113),We=pe(89780),Oe=pe.n(We),Ye=pe(3706),Ce=pe(96772),Me=Object.defineProperty,rt=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Re=(Qe,De,Ct)=>De in Qe?Me(Qe,De,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):Qe[De]=Ct,je=(Qe,De)=>{for(var Ct in De||(De={}))gt.call(De,Ct)&&Re(Qe,Ct,De[Ct]);if(Te)for(var Ct of Te(De))Je.call(De,Ct)&&Re(Qe,Ct,De[Ct]);return Qe},He=(Qe,De)=>rt(Qe,lt(De));const Ke=Ee.default.Option,ft={labelCol:{span:4},wrapperCol:{span:20}},$e={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"]};Xt.Z=({callback:Qe,onCancel:De})=>{const[Ct,Ft]=(0,ae.useState)("python");function _t(ht){Ft($e[ht][1])}function pt(ht){Qe(ht)}return ae.createElement(et.default,He(je({},ft),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pt,style:{width:500}}),ae.createElement(et.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(Ee.default,{getPopupContainer:ht=>ht.parentNode,onChange:_t},Object.keys($e).map(ht=>ae.createElement(Ke,{key:ht,value:ht},$e[ht][0])))),ae.createElement(et.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(dt,{mode:Ct})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(vt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(vt.ZP,{type:"ghost",onClick:De},"\u53D6\u6D88")))};function dt({value:Qe,onChange:De,mode:Ct,options:Ft={}}){const _t=(0,ae.useRef)(),[pt,ht]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(pt){let Ge=function(Et){const nt=Et.getValue();De&&De(nt)};return pt.on("change",Ge),()=>{pt.off("change",Ge)}}},[pt,De]),(0,ae.useEffect)(()=>{pt&&pt.setOption("mode",Ct)},[pt,Ct]),(0,ae.useEffect)(()=>{pt&&(Qe!==pt.getValue()||Qe==="")&&setTimeout(()=>{pt.setValue(Qe||"")},300)},[pt,Qe]),(0,ae.useEffect)(()=>{if(_t.current&&!pt){const Ge=Oe().fromTextArea(_t.current,je({mode:Ct,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ft));ht(Ge)}},[_t.current,pt]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:_t}))}},32862:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ho}});var ae=pe(59301),Ee=pe(89780),et=pe.n(Ee),vt=pe(76374),We=pe(3706),Oe=pe(6313),Ye=pe(25717),Ce=pe(99498),Me=pe(25419),rt=pe(67549),lt=pe(92386),Te=({value:Tr="",className:ir,showTextOnly:Mr,showLines:vi,style:hi={}})=>{const _i=(0,ae.useMemo)(()=>"",[Tr]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:_i}}))},gt=pe(59301),Je=Object.defineProperty,Re=Object.defineProperties,je=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,$e=(Tr,ir,Mr)=>ir in Tr?Je(Tr,ir,{enumerable:!0,configurable:!0,writable:!0,value:Mr}):Tr[ir]=Mr,dt=(Tr,ir)=>{for(var Mr in ir||(ir={}))Ke.call(ir,Mr)&&$e(Tr,Mr,ir[Mr]);if(He)for(var Mr of He(ir))ft.call(ir,Mr)&&$e(Tr,Mr,ir[Mr]);return Tr},Qe=(Tr,ir)=>Re(Tr,je(ir));let De=[{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 Ct({onActionCallback:Tr,title:ir,icon:Mr,actionName:vi,className:hi="",children:_i}){function Fe(){Tr(vi)}return gt.createElement("a",{title:ir,className:hi,onClick:Fe},gt.createElement("i",{className:`${Mr}`}),_i)}var Ft=({watch:Tr,showNullButton:ir,showNullProgramButton:Mr,onActionCallback:vi,fullScreen:hi,insertTemp:_i,hidetoolBar:Fe,extraUse:Ue})=>{const Jt=[...De,{title:`${Tr?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Tr?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return gt.createElement("ul",{className:"markdown-toolbar-container"},!Fe&&Jt.map((Ht,Ot)=>gt.createElement("li",{key:Ot},Ht.actionName?gt.createElement(Ct,Qe(dt({},Ht),{onActionCallback:vi})):gt.createElement("span",{className:"v-line"}))),ir?gt.createElement("li",null,gt.createElement(Ct,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:vi},gt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Mr?gt.createElement(gt.Fragment,null,gt.createElement("li",null,gt.createElement(Ct,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:vi},gt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),gt.createElement("li",null,gt.createElement(Ct,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:vi},gt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,_i&>.createElement("li",null,gt.createElement(Ct,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${_i}`,onActionCallback:vi},gt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ue&>.createElement("li",null,Ue),gt.createElement("li",{className:"btn-full-screen"},gt.createElement(Ct,{icon:`${hi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:hi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:vi})))},_t=pe(88969),pt=pe(78241),ht=pe(92832),Ge=pe(3113),Et=Object.defineProperty,nt=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Nn=(Tr,ir,Mr)=>ir in Tr?Et(Tr,ir,{enumerable:!0,configurable:!0,writable:!0,value:Mr}):Tr[ir]=Mr,ze=(Tr,ir)=>{for(var Mr in ir||(ir={}))Kt.call(ir,Mr)&&Nn(Tr,Mr,ir[Mr]);if(En)for(var Mr of En(ir))mn.call(ir,Mr)&&Nn(Tr,Mr,ir[Mr]);return Tr},ke=(Tr,ir)=>nt(Tr,kt(ir));const Nt={labelCol:{span:4},wrapperCol:{span:20}};var bn=({callback:Tr,onCancel:ir})=>{function Mr(vi){Tr(vi)}return ae.createElement(pt.default,ke(ze({},Nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Mr,style:{width:500}}),ae.createElement(pt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(ht.default,null)),ae.createElement(pt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(ht.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ge.ZP,{type:"ghost",onClick:ir},"\u53D6\u6D88")))},xn=pe(56383),yt=pe(79203),ct=pe(43418),Gt=pe(95237),jn=pe(78265),Zt=pe(59301),hn=({callback:Tr,onCancel:ir})=>{const Mr=document.createElement("canvas"),vi=Mr.getContext("2d");Mr.width=1e3,Mr.height=800,vi.fillStyle="#ffffff",vi.fillRect(0,0,Mr.width,Mr.height);const hi=Mr.toDataURL("image/png");return Zt.createElement(ct.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(Gt.Z,{style:{height:"100vh"}},Zt.createElement(jn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:hi,visible:!0,title:String(Date.now())},onOk:_i=>{Tr({src:_i.url})},onClose:ir})))},xt=pe(43428),wn=pe(43604),on=pe(8591),Se={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=pe(59301),we=(0,ae.forwardRef)(({onCancel:Tr,editImgId:ir,callback:Mr},vi)=>{let hi=(0,ae.useRef)(),_i=(0,ae.useRef)(),Fe=(0,ae.useRef)(),Ue=(0,ae.useRef)(!1);const Jt=(0,ae.useRef)(!1);console.log("ref:",vi);const[Ht,Ot]=(0,ae.useState)(0),[Sn,In]=(0,ae.useState)("100vh");return(0,ae.useEffect)(()=>{Ot(1);try{indexedDB.databases().then(Bn=>{Bn.forEach(sn=>indexedDB.deleteDatabase(sn.name))})}catch(Bn){}},[]),(0,ae.useImperativeHandle)(vi,()=>({setHeight:In})),ce.createElement("div",{ref:Jt,className:"body-overflow-initial"},ce.createElement(xt.Z,{width:"100vw",height:Sn,footer:null,closable:!0,placement:"bottom",open:!!Ht,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Se.drawerWrap}`,onClose:()=>{window.saveDrawData(Bn=>{Mr({src:`/api/attachments/${Bn}`,id:Bn})})},title:ce.createElement(Gt.Z,{align:"middle"},ce.createElement(wn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(wn.Z,{onClick:()=>{In(Sn==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(wn.Z,{onClick:()=>{window.saveDrawData(Bn=>{if(Bn===null){on.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}on.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Mr({src:`/api/attachments/${Bn}`,id:Bn,disabledClose:!0})})}},ce.createElement(Ge.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${ir||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:_i})))}),Be=pe(35783),fe=pe(5112),st=pe(5871);const An=fe.ZP.Group,Jn={margin:"0 8px"};var xr=({callback:Tr,onCancel:ir})=>{function Mr(vi){Tr(vi)}return ae.createElement(pt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Mr},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Jn},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Jn},"\u884C\u6570"),ae.createElement(pt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(st.Z,null)),ae.createElement("span",{style:Jn},"\u5217\u6570"),ae.createElement(pt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(st.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Jn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(pt.default.Item,{name:"align"},ae.createElement(An,null,ae.createElement(fe.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(fe.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(fe.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(fe.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ge.ZP,{type:"ghost",onClick:ir},"\u53D6\u6D88")))},ur=pe(78673),qr=pe(45936),ii=pe.n(qr),fa=(0,ae.forwardRef)(({use3d:Tr,width:ir,height:Mr,callback:vi,showSaveButton:hi},_i)=>{const Fe=(0,ae.useRef)(),Ue=(0,ae.useRef)(),[Jt,Ht]=(0,ae.useState)(!1),Ot=(0,ae.useRef)({id:Fe,appName:"graphing",width:ir||1e3,height:Mr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{Ue.current=new(ii())(Ot.current,!0),window.onload=function(){Ue.current.inject("applet_container")}},[]);const Sn=()=>{var In=window.ggbApplet.getPNGBase64(1,!0,72);return vi&&vi(In),In};return(0,ae.useEffect)(()=>{Ot.current.appName=Jt?"3D":"graphing",Ue.current.inject("applet_container")},[Jt]),(0,ae.useEffect)(()=>{Ht(Tr)},[Tr]),(0,ae.useImperativeHandle)(_i,()=>({getImgData:Sn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fe}),ae.createElement(Gt.Z,{align:"middle"},ae.createElement(wn.Z,{flex:1},ae.createElement(ur.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Jt,onChange:In=>Ht(In)})),ae.createElement(wn.Z,null,ae.createElement(Ge.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),qt=pe(9043),Sr=pe(1012);const co="link",Fa="upload-image",wi="add-flowchart",pr="draw-image",fs="add-flowchart",$i="code-block",la="add-table",ea="------------",pi={default:ea,left:`:${ea}`,center:`:${ea}:`,right:`${ea}:`};var $o=pe(2408),ks=(Tr,ir,Mr)=>new Promise((vi,hi)=>{var _i=Jt=>{try{Ue(Mr.next(Jt))}catch(Ht){hi(Ht)}},Fe=Jt=>{try{Ue(Mr.throw(Jt))}catch(Ht){hi(Ht)}},Ue=Jt=>Jt.done?vi(Jt.value):Promise.resolve(Jt.value).then(_i,Fe);Ue((Mr=Mr.apply(Tr,ir)).next())});function za(){}let gi=0;const Ti=1e4,es="\u2581",ts="@\u2581\u2581@",jo="@\u2581@",Ji=`
|
|
|
**\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`,ns=["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 Ci(Tr){return/^\d+$/.test(Tr)?`${Tr}px`:Tr}const ps=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ta={[ps+"-B"]:"bold",[ps+"-I"]:"italic"},pa={[co]:"\u6DFB\u52A0\u94FE\u63A5",[$i]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Fa]:"\u6DFB\u52A0\u56FE\u7247",[pr]:"\u6DFB\u52A0\u753B\u56FE",[wi]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[la]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ho=({defaultValue:Tr="",onChange:ir,width:Mr="100%",height:vi=400,miniToolbar:hi=!1,isFocus:_i=!1,watch:Fe,insertTemp:Ue,mode:Jt="markdown",id:Ht="markdown-editor-id",showResizeBar:Ot=!1,noStorage:Sn=!1,showNullButton:In=!1,showNullProgramButton:Bn=!1,hidetoolBar:sn=!1,fullScreen:kr=!1,onBlur:$r,onCMBeforeChange:dr,onFullScreen:Qt,className:Tn="",disablePaste:yi=!1,disabled:Vi=!1,disabledFill:ua=!1,placeholder:Xr="",values:Bi="",extraUse:tr,onAddBlank:Mi})=>{const[nn,ei]=(0,ae.useState)(null),[Kr,Pi]=(0,ae.useState)(Tr),[ti,bi]=(0,ae.useState)(Fe),[li,ni]=(0,ae.useState)(kr),[Ur,ui]=(0,ae.useState)(""),[mr,ho]=(0,ae.useState)(0),[oo,fo]=(0,ae.useState)(vi),[wa,so]=(0,ae.useState)(!1),Ea=(0,ae.useRef)((0,Sr.Z)()),ki=(0,ae.useRef)(!1),Oi=(0,ae.useRef)(),[ma,ga]=(0,ae.useState)(0),[va,Ka]=(0,ae.useState)(0),Di=(0,ae.useRef)(),Wo=(0,ae.useRef)(),Za=(0,ae.useRef)(),Va=(0,ae.useRef)(),Io=(0,ae.useRef)(),To=(0,ae.useRef)(),Na=()=>ks(void 0,null,function*(){var Zn;const Hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ea.current}});(Zn=Hn==null?void 0:Hn.attachments)!=null&&Zn.length&&(console.log("cm:",nn,Di),Hn.attachments.map($n=>{$n.content_type.indexOf("image")>-1?nn.replaceSelection(``):$n.content_type.indexOf("video")>-1?nn.replaceSelection(`<video width="100%" controls src="${Be.Z.API_SERVER}/api/attachments/${data.id}"></video>`):$n.content_type.indexOf("pdf")>-1?nn.replaceSelection(`<a href="${Be.Z.API_SERVER}/api/attachments/${$n.id}?type=${$n.content_type}&disposition=inline" target="_blank">${$n.name}</a>`):nn.replaceSelection(`[${$n.name}](${Be.Z.API_SERVER}/api/attachments/${$n.id}?type=${$n.content_type})`)}))});(0,ae.useEffect)(()=>{const Zn=window.scrollY||window.pageYOffset;Pi(Bi),nn==null||nn.setValue(Bi),window.scrollTo(0,Zn)},[Bi]),(0,ae.useEffect)(()=>{Qt==null||Qt(li)},[li]),(0,ae.useEffect)(()=>{if(Di.current){let Zn=function($n,sr){var ri;if(yi){sr.preventDefault();return}const na=sr.clipboardData;if(na){const ca=na.types.toString(),Ui=na.items;if(ca==="Files"||na.types.indexOf("Files")>-1){if(sr.preventDefault(),Jt=="stex")return;try{let ji=Ui[1];((ri=Ui[0])==null?void 0:ri.kind)==="file"&&(ji=Ui[0]);const ra=ji.getAsFile(),Zo=ra.name.split(".").pop();(0,yt.I)(ra,Pa=>{var is,yo,Vo;Pa.id?((is=ra==null?void 0:ra.type)==null?void 0:is.indexOf("image"))>-1?Hn.replaceSelection(`<img width="100%" src="/api/attachments/${Pa.id}?type=${Pa.content_type})" alt="" />`):((yo=ra==null?void 0:ra.type)==null?void 0:yo.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Pa.id}"></video>`):((Vo=ra==null?void 0:ra.type)==null?void 0:Vo.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="/api/attachments/${Pa.id}?type=${ra.type}&disposition=inline" target="_blank">${ra.name}</a>`):ns.includes(Zo)?Hn.replaceSelection(`<a href="/api/attachments/${Pa.id}?type=office&disposition=inline" target="_blank">${ra.name}</a>`):Hn.replaceSelection(`[${ra.name}](/api/attachments/${Pa.id}?type=${Pa.content_type})`):(Pa==null?void 0:Pa.status)===401&&(on.ZP.warning((Pa==null?void 0:Pa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ji){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=et().fromTextArea(Di.current,{mode:Jt,lineNumbers:!hi,lineWrapping:!0,value:Tr,autoCloseTags:!Bn,autoCloseBrackets:!0});return Hn.on("keyup",function($n,sr){sr.keyCode===8&&($n.getValue()==""?Hn.setOption("placeholder",Xr):Hn.setOption("placeholder",null))}),Hn.on("keydown",function($n,sr){if(sr.keyCode===8){var ri=Gi($n);ri&&sr.preventDefault()}}),_i&&Hn.focus(),Hn.on("paste",Zn),Hn.on("dragleave",function($n,sr){Wo.current.classList.remove("mouse-hover-md")}),Vi&&Hn.on("beforeChange",function($n,sr){(sr.origin==="paste"||sr.origin==="+input")&&sr.cancel()}),ei(Hn),()=>{Hn.off("paste",Zn)}}},[]);const Fo=(0,ae.useCallback)(()=>{if(Wo.current)try{}catch(Zn){console.log(Zn,"---- to set md editor body height")}},[oo,Wo,li]);(0,ae.useEffect)(()=>{function Zn(){let Hn=new vt.Z($n=>{for(let sr of $n)(sr.target.offsetHeight>0||sr.target.offsetWidth>0)&&(Fo(),nn.setSize("100%","100%"),nn.refresh())});return Hn.observe(Di.current.parentElement),Hn}if(nn){const Hn=Zn();return()=>{var $n,sr;($n=Di.current)!=null&&$n.parentElement&&Hn.unobserve((sr=Di.current)==null?void 0:sr.parentElement)}}},[nn,Fo]),(0,ae.useEffect)(()=>{if(nn){let Zn=[];for(const[Hn,$n]of Object.entries(ta)){let sr={[Hn]:()=>{Aa($n)}};Zn.push(sr),nn.addKeyMap(sr)}return Oi.current=setInterval(()=>{ki.current&&Na()},4e3),()=>{clearInterval(Oi.current);for(let Hn of Zn)nn.removeKeyMap(Hn)}}},[nn]),(0,ae.useEffect)(()=>{kr!==li&&ni(kr)},[kr]),(0,$o.Z)(()=>{if(!Sn&&mr>0){let Zn=new Date().getTime(),Hn=window.sessionStorage.getItem(Ht);Zn>=mr+Ti&&(!Hn||Hn!==Kr)&&(window.sessionStorage.setItem(Ht,Kr),so(!0))}},Ti),(0,ae.useEffect)(()=>{bi(Fe)},[nn,Fe]),(0,ae.useEffect)(()=>{nn&&_i&&nn.focus()},[nn,_i]),(0,ae.useEffect)(()=>{if(ti&&nn){let Zn=function($n){let sr=$n.target;if(Va.current){let ri=sr.scrollTop/sr.scrollHeight;Va.current.scrollTop=Va.current.scrollHeight*ri}};const Hn=nn.getScrollerElement();return Hn.addEventListener("scroll",Zn),()=>{Hn.removeEventListener("scroll",Zn)}}},[nn,ti]),(0,ae.useEffect)(()=>{if(nn&&dr){let Zn=function(Hn,$n){dr(Hn,$n)};return nn.on("beforeChange",Zn),()=>{nn.off("beforeChange",Zn)}}},[nn,dr]),(0,ae.useEffect)(()=>{if(nn&&$r){let Zn=function(){$r(nn.getValue())};return nn.on("blur",Zn),()=>{nn.off("blur",Zn)}}},[nn,$r]);function Gi(Zn,Hn){var $n=Zn.getDoc(),sr=$n.getCursor(),ri=$n.getLine(sr.line),na=ri.charAt(sr.ch-1),ca=ri.lastIndexOf("@\u2581@",sr.ch),Ui=ri.lastIndexOf("@\u2581\u2581@",sr.ch),ji=ca>Ui?ca:Ui,ra=ca>Ui?3:4;if(ts.indexOf(na)===-1)return null;if(console.log("change1:",Hn,Zn,ri,sr,ji,ca,Ui,na),ji>=0&&sr.ch-ji<5){var Zo=ji+ra;return $n.replaceRange("",{line:sr.line,ch:ji},{line:sr.line,ch:Zo}),{line:sr.line,ch:Zo}}return null}(0,ae.useEffect)(()=>{if(nn){let Zn=function(Hn,$n){const sr=Hn.getValue();Pi(sr),ho(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ir&&(Bn?ir(sr,Vs(sr)):ir(sr))};return nn.on("change",Zn),()=>{nn.off("change",Zn)}}},[nn,ir]),(0,ae.useEffect)(()=>{if(nn)if(Tr==null)nn.setValue(""),Pi("");else{const Zn=window.scrollY||window.pageYOffset;Tr!==nn.getValue()&&(nn.setValue(Tr),Pi(Tr),nn.setCursor(Vi?1:nn.lineCount(),0),window.scrollTo(0,Zn))}},[nn,Tr]);const Aa=(0,ae.useCallback)(Zn=>{const Hn=nn.getCursor(),$n=nn.getSelection();let sr=$n.split(`
|
|
|
`);switch(Zn){case"bold":return nn.replaceSelection("**"+$n+"**"),$n===""&&nn.setCursor(Hn.line,Hn.ch+2),nn.focus();case"italic":return nn.replaceSelection("*"+$n+"*"),$n===""&&nn.setCursor(Hn.line,Hn.ch+1),nn.focus();case"code":return nn.replaceSelection("`"+$n+"`"),$n===""&&nn.setCursor(Hn.line,Hn.ch+1),nn.focus();case"inline-latex":return ui("inline-latex"),nn.focus();case"latex":return nn.replaceSelection("```latex\n"+$n+"\n```"),nn.setCursor(Hn.line+1,$n.length+1),nn.focus();case"line-break":return nn.replaceSelection(`<br/>
|
|
|
`),nn.focus();case"list-ul":return $n===""?nn.replaceSelection("- "+$n):nn.replaceSelection(sr.map(ri=>ri===""?"":`- ${ri}`).join(`
|
|
|
`)),nn.focus();case"list-ol":return $n===""?nn.replaceSelection("1. "+$n):nn.replaceSelection(sr.map((ri,na)=>ri===""?"":`${na+1}. ${ri}`).join(`
|
|
|
`)),nn.focus();case"add-null-ch":Mi==null||Mi();return;case"add-signal":return $n===""&&nn.setCursor(Hn.line,Hn.ch),nn.replaceSelection(jo),nn.focus();case"add-multiple":return $n===""&&nn.setCursor(Hn.line,Hn.ch),nn.replaceSelection(ts),nn.focus();case"inster-template-1":return $n===""&&nn.setCursor(Hn.line,Hn.ch),nn.replaceSelection(Ji),nn.focus();case"eraser":return nn.setValue(""),nn.focus();case"trigger-watch":return bi(!ti),nn.focus();case"trigger-full-screen":return ni(!li),nn.focus();case co:ui(co);return;case $i:ui($i);return;case Fa:ui(Fa);return;case pr:ui(pr);return;case"maths-latex":ui("maths-latex");return;case wi:Io.current="",sessionStorage.removeItem("file_id"),ui(wi);return;case la:ui(la);return;default:throw new Error}},[nn,ti,li]),Ki=(0,ae.useCallback)((Zn,Hn)=>{var $n,sr,ri,na,ca,Ui;ui("");const{src:ji,alt:ra,id:Zo}=Zn||{};switch(Ur){case co:const{title:Ys,link:Bt}=Zn;return nn.replaceSelection(`[${Ys}](${Bt})`),nn.focus();case $i:const{language:wt,content:Tt}=Zn;return nn.replaceSelection(["```"+wt,Tt,"```"].join(`
|
|
|
`)),nn.focus();case"maths-latex":for(var Pa=atob(Zn),is=new Uint8Array(Pa.length),yo=0;yo<Pa.length;yo++)is[yo]=Pa.charCodeAt(yo);var Vo=new Blob([is],{type:"image/png"});(0,yt.I)(Vo,Dr=>{Dr.id?nn.replaceSelection(``):(Dr==null?void 0:Dr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":nn.replaceSelection("`$$"+Zn+"$$`");break;case fs:if(!Zo)return;nn.focus(),nn.getValue().indexOf(ji)===-1?nn.replaceSelection(`<center><img id="${Zo}" width="80%" src="${ji}" class="draw-flowchart" alt="${ra||""}" /></center>`):document.getElementById(Zo).src=Be.Z.API_SERVER+ji+"?t="+Date.now();try{setTimeout(()=>{$r(nn.getValue())},100)}catch(Dr){}break;case Fa:case pr:const rn=Hn,hr=(ri=(sr=($n=rn==null?void 0:rn.name)==null?void 0:$n.split("."))==null?void 0:sr.pop)==null?void 0:ri.call(sr);return((na=rn==null?void 0:rn.type)==null?void 0:na.indexOf("image"))>-1||!(rn!=null&&rn.type)?rn!=null&&rn.align||rn!=null&&rn.width?nn.replaceSelection(`<p style="text-align:${rn.align||"initial"}"><img width="${rn.width?rn.width+"%":"initial"}" src="${ji}" alt="${ra||""}" /></p>`):nn.replaceSelection(`<img width="100%" src="${ji}" alt="${ra||""}" />`):((ca=rn==null?void 0:rn.type)==null?void 0:ca.indexOf("video"))>-1?nn.replaceSelection(`<video width="100%" controls src="${ji}"></video>`):((Ui=rn==null?void 0:rn.type)==null?void 0:Ui.indexOf("pdf"))>-1?nn.replaceSelection(`<a href="${ji}?type=${rn.type}&disposition=inline" target="_blank">${rn.name}</a>`):ns.includes(hr)?nn.replaceSelection(`<a href="${ji}?type=office&disposition=inline" target="_blank">${rn.name}</a>`):nn.replaceSelection(`[${rn.name}](${ji})`),nn.focus();case la:const{row:Pr,col:en,align:Qn}=Zn;let gr=`
|
|
|
`;for(let Dr=0;Dr<Pr;Dr++){let vr=[],Pn=[];for(let jr=0;jr<en;jr++)Dr===1&&Pn.push(pi[Qn]),vr.push(" ");Dr===1&&(gr+=`| ${Pn.join(" | ")} |
|
|
|
`),gr+=`| ${vr.join(en===1?"":" | ")} |
|
|
|
`}return nn.replaceSelection(gr+`
|
|
|
`),nn.focus();default:throw new Error}},[nn,Ur]),rs=(0,ae.useMemo)(()=>{switch(Ur){case co:return ae.createElement(bn,{callback:Ki,onCancel:Eo});case $i:return ae.createElement(xn.Z,{callback:Ki,onCancel:Eo});case Fa:return ae.createElement(yt.Z,{callback:Ki,onCancel:Eo});case wi:return ae.createElement(we,{editImgId:Io.current,callback:Ki,onCancel:Eo});case la:return ae.createElement(xr,{callback:Ki,onCancel:Eo});case"maths-latex":return ae.createElement(fa,{showSaveButton:!0,callback:Ki});case"inline-latex":return ae.createElement(qt.Z,{showSaveButton:!0,callback:Ki});default:return null}},[Ur]);function Eo(){ui("")}(0,ae.useEffect)(()=>{if(Za.current){let Zn=function(ca){ri=!0,na=ca.pageY},Hn=function(){ri=!1},$n=function(ca){if(ri){let Ui=ca.pageY-na;Ui<0&&(Ui=0),Ui>300&&(Ui=300);let ji=vi+Ui+"px";fo(ji)}},sr=Za.current,ri=!1,na=0;return sr.addEventListener("mousedown",Zn),document.addEventListener("mousemove",$n),document.addEventListener("mouseup",Hn),()=>{sr.removeEventListener("mousedown",Zn),document.removeEventListener("mousemove",$n),document.removeEventListener("mouseup",Hn)}}},[nn,Za]),(0,ae.useEffect)(()=>{fo(vi)},[vi]);const Os=Ci(Mr),Cs=Ci(oo),$a={width:Os,height:Cs},Zs=(0,ae.useMemo)(()=>{if(mr){let Zn=new Date(mr),Hn=Zn.getHours(),$n=Zn.getMinutes(),sr=Zn.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,$n=$n<10?"0"+$n:$n,sr=sr<10?"0"+sr:sr,`${Hn}:${$n}:${sr}`}return 0},[mr]),Vs=Zn=>{const Hn=[];if(Bn){let $n=-1;Zn=Zn.replace(/(@▁▁@|@▁@)/g,function(sr,ri,na){Hn.push({multiLine:sr!==jo})})}return Hn};function Ds(){window.sessionStorage.removeItem(Ht),so(!1),ho(0)}function Ma(){so(!1),ho(0),nn.setValue(window.sessionStorage.getItem(Ht))}(0,ae.useEffect)(()=>{pa[Ur]&&Ur!==pr&&Ur!==wi&&setTimeout(()=>{const Zn=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-Zn.offsetWidth/2,$n=window.innerHeight/2-Zn.offsetHeight/2;ga(Hn),Ka($n)},0)},[Ur]);const Ko=Zn=>{Zn.preventDefault();const Hn=Zn.clientX-ma,$n=Zn.clientY-va;document.body.onmousemove=sr=>{let ri=sr.clientX-Hn,na=sr.clientY-$n;const ca=document.getElementsByClassName("markdown-popup-form")[0],Ui=window.innerWidth-ca.offsetWidth,ji=window.innerHeight-ca.offsetHeight;ri=Math.max(0,Math.min(ri,Ui)),na=Math.max(0,Math.min(na,ji)),ka(sr.clientX,sr.clientY,Hn,$n)&&(ga(ri),Ka(na))},document.body.onmouseup=function(){document.body.onmousemove=null}},ka=(Zn,Hn,$n,sr)=>{const ri=document.body.clientHeight,na=document.body.clientWidth;return Zn<20&&$n>Zn||Zn>na-20&&$n<Zn||Hn<20&&sr>Hn||Hn>ri-20&&sr<Hn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:Wo},ae.createElement("div",{className:`markdown-editor-container ${Tn} ${ti?"on-preview":""} ${hi?"mini":""} ${li?"full-screen":""}`,style:$a},ae.createElement(Ft,{insertTemp:Ue,watch:ti,fullScreen:li,showNullButton:In,showNullProgramButton:Bn,onActionCallback:Aa,hidetoolBar:sn,extraUse:tr}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:Di,placeholder:Xr})),ti?ae.createElement("div",{ref:Va,className:"preview-container"},Jt==="stex"&&ae.createElement(Te,{value:Kr}),Jt!=="stex"&&ae.createElement(lt.Z,{edit:!0,disabledFill:ua,showProgramFill:Bn,value:Kr,openEditor:Zn=>{var Hn;Io.current=Zn,(Hn=To.current)==null||Hn.setHeight("100vh"),setTimeout(()=>{ui("add-flowchart")},150)}})):null))),Ot?ae.createElement("a",{ref:Za,className:"editor-resize"}):null,Ur===pr&&ae.createElement(hn,{callback:Ki,onCancel:Eo}),Ur===wi&&ae.createElement(we,{ref:To,editImgId:Io.current,callback:Ki,onCancel:Eo}),ae.createElement(_t.Z,null,pa[Ur]&&Ur!==pr&&Ur!==wi?ae.createElement(ct.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ma,top:va},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Ko},pa[Ur]),open:!0,onCancel:Eo,footer:null,destroyOnClose:!0,width:Ur===wi?"1200px":null,height:Ur===wi?"80vh":null,className:"markdown-popup-form"},rs):null))}},79203:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ct},I:function(){return _t}});var ae=pe(78241),Ee=pe(8591),et=pe(92832),vt=pe(81327),We=pe(5871),Oe=pe(5112),Ye=pe(3113),Ce=pe(8240),Me=pe(59301),rt=pe(10102),lt=pe(59301),Te=Object.defineProperty,gt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ke=(pt,ht,Ge)=>ht in pt?Te(pt,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):pt[ht]=Ge,ft=(pt,ht)=>{for(var Ge in ht||(ht={}))je.call(ht,Ge)&&Ke(pt,Ge,ht[Ge]);if(Re)for(var Ge of Re(ht))He.call(ht,Ge)&&Ke(pt,Ge,ht[Ge]);return pt},$e=(pt,ht)=>gt(pt,Je(ht));const{useForm:dt}=ae.default,Qe={width:280,marginRight:10},De={labelCol:{span:5},wrapperCol:{span:19}};var Ct=({callback:pt,onCancel:ht})=>{const[Ge]=dt();let Et=(0,Me.useRef)();function nt(Kt){Et.current.width=Ge.getFieldValue("width"),Et.current.align=Ge.getFieldValue("align"),pt(Kt,Et.current)}function kt(Kt,mn){if(Kt.status===-1){Ee.ZP.error(Kt.message);return}Ge.setFieldsValue({src:`/api/attachments/${Kt.id}`,type:mn.type})}function En(Kt){let mn=Kt.target.files[0];Et.current=mn,_t(mn,kt)}return lt.createElement(ae.default,$e(ft({form:Ge},De),{className:"upload-image-panel",onFinish:nt,style:{width:470,overflow:"hidden"}}),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},lt.createElement("div",{className:"flex-container"},lt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},lt.createElement(et.default,{style:Qe})),lt.createElement(Ft,{onFileChange:En}))),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},lt.createElement(et.default,{style:{width:264}})),lt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},lt.createElement(vt.Z,null,lt.createElement(ae.default.Item,{name:"width",style:{margin:0}},lt.createElement(We.Z,{style:{width:264}})),lt.createElement("span",{className:"ml8"},"%"))),lt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},lt.createElement(Oe.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"}]})),lt.createElement("aside",null,lt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},lt.createElement(Ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),lt.createElement(Ye.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function Ft({onFileChange:pt}){return lt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",lt.createElement("input",{type:"file",onChange:pt}))}function _t(pt,ht){if(!pt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,rt.bg)())throw Ee.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ge=new FormData;Ge.append("editormd-image-file",pt),Ge.append("file_param_name","editormd-image-file"),Ge.append("byxhr","true");var Et=new window.XMLHttpRequest;Et.withCredentials=!0,Et.addEventListener("load",function(nt){ht(JSON.parse(nt.target.responseText),pt)},!1),Et.addEventListener("error",function(nt){console.error(nt)},!1),Et.open("POST",`${Ce.KI}/api/attachments.json`),Et.send(Ge)}},88969:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return et}});var ae=pe(59301),Ee=pe(4676);class et extends ae.Component{constructor(We){super(We);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:We}=this.props;return(0,Ee.createPortal)(We,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},64194:function(Dt,Xt,pe){"use strict";pe.d(Xt,{i:function(){return De},Z:function(){return Ft}});var ae={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"},Ee=pe(71418),et=pe(6848),vt=pe(93948),We=pe(92310),Oe=pe.n(We),Ye=pe(68911),Ce=pe(71347),Me=pe(10102),rt=pe(79005),lt=pe(20345),Te=pe(77882),gt=pe(31081),Je=pe(75309),Re=pe(71979),je=pe(47558),He=pe(42922),Ke=pe(66832),ft=pe(96593),$e=pe(19664),dt=pe(91833),Qe=pe(59301);const De=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:rt,swimg:lt},{name:"101\u8BA1\u5212",ptimg:Te,swimg:gt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Je,swimg:Re},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:je,swimg:He},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ke,swimg:ft},{name:"\u519B\u961F\u4E00\u6D41",ptimg:$e,swimg:dt}];var Ft=({className:_t,dataSource:pt=[],col:ht=4,right:Ge,bottom:Et=23,precision:nt=0,wrapWidth:kt=1200,trackEventItems:En,loading:Kt,onRemove:mn=()=>{},isCurrent:Nn=!0,showAlias:ze=!1,showProgress:ke=!1})=>{const Nt=Math.floor((kt-(ht-1)*Ge)/ht),bn=[{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(xn=>(window.ENV==="build"&&(xn.ptimg=`/react/build${xn.ptimg}`,xn.swimg=`/react/build${xn.swimg}`),xn));return Qe.createElement(Ee.Z,{spinning:Kt},Qe.createElement("div",{className:Oe()(ae.list,_t)},!!(pt!=null&&pt.length)&&(pt==null?void 0:pt.map((xn,yt)=>{var ct,Gt,jn,Zt,hn,xt;const{name:wn,id:on,identifier:Se,featured:ce,school_name:le,image_url:we,excellent:Be,is_plan:fe}=xn;return Qe.createElement("div",{key:on,className:Nn&&ke?ae.wrapisCurrent:ae.wrap,style:{width:Nt,marginRight:(1+yt)%ht===0?0:Ge+nt,marginBottom:Et}},Qe.createElement("a",{className:ae.li,onClick:st=>{st.preventDefault(),st.stopPropagation(),En&&(0,Ye.L9)([En]),(0,Ye.xg)(`/paths/${Se}`)}},Qe.createElement("div",{className:ae.img},Qe.createElement("img",{className:ae.cover,src:`${we}`}),Nn&&(0,Me.bg)()&&(xn==null?void 0:xn.studying)&&Qe.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:st=>{st.stopPropagation(),mn(xn)}},Qe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Qe.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ct=xn==null?void 0:xn.subject_tags)==null?void 0:ct.map((st,An)=>{var Jn,xr;if(An===0){const qr=(Jn=bn.find(ii=>ii.name==st))==null?void 0:Jn.swimg;return Qe.createElement("img",{className:ae.sign,src:qr,style:{left:"-4px"}})}const ur=(xr=bn.find(qr=>qr.name==st))==null?void 0:xr.ptimg;return Qe.createElement("img",{className:ae.sign,src:ur,style:{left:`${48+52*(An-1)+2*An}px`}})}),Qe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xn==null?void 0:xn.excellent)&&Qe.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Qe.createElement("div",{className:ae.name},Qe.createElement(et.Z,{title:ze&&(xn!=null&&xn.excellent_alias_name)?Qe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${wn}`,Qe.createElement("br",null),Qe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xn==null?void 0:xn.excellent_alias_name}`)):wn},Qe.createElement("span",{className:ae.e},ze&&(xn==null?void 0:xn.excellent_alias_name)||wn))),Nn&&ke&&((Gt=xn==null?void 0:xn.progress)==null?void 0:Gt.all_score)!=0&&Qe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Qe.createElement(vt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((jn=xn==null?void 0:xn.progress)==null?void 0:jn.my_score)/((Zt=xn==null?void 0:xn.progress)==null?void 0:Zt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(hn=xn==null?void 0:xn.progress)==null?void 0:hn.my_score,"/",(xt=xn==null?void 0:xn.progress)==null?void 0:xt.all_score),(!Nn||!ke)&&Qe.createElement("div",{className:ae.tags},Qe.createElement("div",null,Qe.createElement(et.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Qe.createElement("span",null,Qe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Qe.createElement("span",null,xn.stages_count))),Qe.createElement(et.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Qe.createElement("span",null,Qe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Qe.createElement("span",null,xn.members_count)))))))})),!pt.length&&Qe.createElement(Ce.Z,null)))}},71913:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Oe}});var ae=pe(59301),Ee={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"},et=pe(92310),vt=pe.n(et),Oe=({dataSource:Ye=[],value:Ce,onChange:Me,className:rt,style:lt={}})=>ae.createElement("div",{style:lt,className:vt()(Ee.tabs,rt)},Ye.map(Te=>ae.createElement("span",{onClick:()=>Me(Te.id),className:Ce===Te.id?Ee.active:"",key:Te.id},Te.name)))},5873:function(Dt,Xt,pe){"use strict";pe.d(Xt,{jL:function(){return We},w9:function(){return ps},vv:function(){return hi},dN:function(){return Tr},QD:function(){return Oi},cQ:function(){return fe.Z},vg:function(){return jo},Oz:function(){return ks},op:function(){return oo},O5:function(){return $a},_b:function(){return Wo},t7:function(){return ht},tT:function(){return nt},Gi:function(){return $r},YG:function(){return Jt},Ed:function(){return sn},kT:function(){return Sn},qp:function(){return He},Um:function(){return De},K3:function(){return $e},vr:function(){return va},qE:function(){return so},Je:function(){return Kt},wb:function(){return Zt},rC:function(){return Be},lB:function(){return wn},cq:function(){return ua},kO:function(){return Mi},tp:function(){return Ct.Z},Si:function(){return Ds},k8:function(){return Ys},Du:function(){return ri}});var ae=pe(59301),Ee={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"},et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+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jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",We=({dataSource:Bt=[],img:wt,imgWidth:Tt=346,title:rn,sunTitle:hr,bannerExtraContent:Pr})=>ae.createElement("div",{className:Ee.banner},ae.createElement("div",{className:Ee.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,rn),ae.createElement("span",null,hr)),Bt.length>0&&ae.createElement("div",{className:Ee.btns},Bt.map((en,Qn)=>ae.createElement("div",{key:Qn,onClick:en.click},en.name,en.sign?ae.createElement("img",{src:et,width:39}):null))),Pr),wt&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:wt,width:Tt}))),Oe={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"},Ye=pe(92310),Ce=pe.n(Ye),Me=pe(89392),rt=Object.defineProperty,lt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Je=(Bt,wt,Tt)=>wt in Bt?rt(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,Re=(Bt,wt)=>{for(var Tt in wt||(wt={}))Te.call(wt,Tt)&&Je(Bt,Tt,wt[Tt]);if(lt)for(var Tt of lt(wt))gt.call(wt,Tt)&&Je(Bt,Tt,wt[Tt]);return Bt},He=({dataSource:Bt=[],value:wt,onChange:Tt,onTitleChange:rn,className:hr,title:Pr,titleWidth:en=41,style:Qn={},fontColor:gr="#6A7283",showCount:Dr,classNameActive:vr,styleItem:Pn={}})=>{const[jr,mt]=(0,ae.useState)(0),[ln,Yt]=(0,ae.useState)(!1),dn=(0,ae.useRef)(null),Xn=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var Vn;Bt.length!==0&&(((Vn=dn==null?void 0:dn.current)==null?void 0:Vn.clientHeight)>97?mt(1):mt(0)),Bt.length===0&&mt(0),Yt(!1)},[Bt]),ae.createElement("div",{className:Ce()(Oe.row,hr),style:Qn},ae.createElement("div",{onClick:(0,Me.throttle)(()=>rn==null?void 0:rn(),2e3),style:{width:en,marginTop:ln?12:4},className:`${Oe.title} ${rn?"current":""}`},Pr),ae.createElement("div",{className:ln?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},ae.createElement("div",{className:Oe.bar,ref:Xn,style:jr>0?{height:jr===1?97:"auto",overflow:jr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:Oe.tag,ref:dn},Bt==null?void 0:Bt.map(Vn=>ae.createElement("span",{onClick:()=>Tt(Vn.id),key:Vn.id,style:Re(Re({color:gr},Pn),(Vn==null?void 0:Vn.style)||{}),className:wt===Vn.id?Ce()(vr||Oe.active,Vn.classNameActive):""},ae.createElement("span",{title:Vn.name,className:Oe.name},Vn.name),!!Dr&&ae.createElement("span",{className:Oe.num},Vn.count))))),!!jr&&ae.createElement(ae.Fragment,null,jr===1?ae.createElement("div",{onClick:()=>{var Vn;mt(2),((Vn=dn==null?void 0:dn.current)==null?void 0:Vn.clientHeight)>245?Yt(!0):Yt(!1)},className:Oe.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Xn.current.scrollTop=0,mt(1),Yt(!1)},className:Oe.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ke={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"},$e=({dataSource:Bt=[],value:wt,onChange:Tt,onTitleChange:rn,className:hr,title:Pr,titleWidth:en=41,style:Qn={},fontColor:gr="#6A7283",showCount:Dr,expand:vr=!0})=>{const[Pn,jr]=(0,ae.useState)(0),[mt,ln]=(0,ae.useState)(!1),Yt=(0,ae.useRef)(null),dn=(0,ae.useRef)(null),[Xn,Vn]=(0,ae.useState)(vr);return ae.createElement("div",{className:Ce()(Ke.row,hr),style:Qn},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,Me.throttle)(()=>rn==null?void 0:rn(),2e3),style:{width:en,marginTop:mt?12:4},className:`${Ke.title} ${rn?"current":""}`},Pr),ae.createElement("i",{className:`iconfont ${Xn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Xn?8:10},onClick:()=>Vn(!Xn)})),Xn&&ae.createElement("div",{className:mt?`${Ke.tagsWrap} ${Ke.tagsBorderWrap}`:Ke.tagsWrap},ae.createElement("div",{className:Ke.fenge}),ae.createElement("div",{className:Ke.bar,ref:dn},ae.createElement("div",{className:Ke.tag,ref:Yt},Bt==null?void 0:Bt.map(Rr=>ae.createElement("span",{onClick:()=>Tt(Rr.id),key:Rr.id,style:{color:gr},className:wt===Rr.id?Ke.active:""},ae.createElement("span",{title:Rr.name,className:Ke.name},Rr.name),!!Dr&&ae.createElement("span",{className:Ke.num},Rr.count)))))))},dt={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"},De=({dataSource:Bt=[],value:wt,onChange:Tt,onTitleChange:rn,className:hr,title:Pr,titleWidth:en=41,style:Qn={},fontColor:gr="#fff",showCount:Dr,expand:vr=!0})=>{const[Pn,jr]=(0,ae.useState)(0),[mt,ln]=(0,ae.useState)(!1),Yt=(0,ae.useRef)(null),dn=(0,ae.useRef)(null),[Xn,Vn]=(0,ae.useState)(vr);return ae.createElement("div",{className:Ce()(dt.row,hr),style:Qn},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,Me.throttle)(()=>rn==null?void 0:rn(),2e3),style:{width:en},className:`${dt.title} ${rn?"current":""}`},Pr),ae.createElement("i",{className:`iconfont ${Xn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Xn?"#00DDC7":"#037F74",fontSize:Xn?10:12},onClick:()=>Vn(!Xn)})),Xn&&ae.createElement("div",{className:mt?`${dt.tagsWrap} ${dt.tagsBorderWrap}`:dt.tagsWrap},ae.createElement("div",{className:dt.bar,ref:dn},ae.createElement("div",{className:dt.tag,ref:Yt},Bt==null?void 0:Bt.map(Rr=>ae.createElement("span",{onClick:()=>Tt(Rr.id),key:Rr.id,style:{color:gr},className:wt===Rr.id?dt.active:""},ae.createElement("span",{title:Rr.name,className:dt.name},Rr.name),!!Dr&&ae.createElement("span",{className:dt.num},Rr.count)))))))},Ct=pe(71913),Ft={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"},_t=pe(92832),ht=({dataSource:Bt=[],value:wt="",onChange:Tt,onInputChange:rn=()=>{},className:hr,style:Pr={},placeholder:en,allowClear:Qn=!1})=>{var gr;const[Dr,vr]=(0,ae.useState)(""),[Pn,jr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Yt;let dn=wt;(Yt=JSON.stringify(wt))!=null&&Yt.includes("{")&&(vr(wt.id),dn=wt.value||"");try{jr(decodeURIComponent(dn||""))}catch(Xn){jr(decodeURIComponent(dn||""))}},[wt]);const mt=()=>{Tt(encodeURIComponent(Pn),Dr||null)},ln=Yt=>{Yt!==Dr&&(vr(Yt),Tt(encodeURIComponent(Pn),Yt))};return ae.createElement("div",{className:Ce()(Ft.input,hr),style:Pr},!!Bt.length&&ae.createElement("div",{className:Ft.dropdown},ae.createElement("div",{className:Ft.text},(gr=Bt.find(Yt=>Yt.id===Dr))==null?void 0:gr.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:Ft.b1}),ae.createElement("b",{className:Ft.b2})),ae.createElement("div",{className:Ft.menu},Bt.map((Yt,dn)=>ae.createElement("div",{key:dn,onClick:()=>ln(Yt.id)},Yt.name)))),ae.createElement(_t.default,{onPressEnter:mt,value:Pn,onChange:Yt=>{jr(Yt.target.value),rn(encodeURIComponent(Yt.target.value),Dr||null)},bordered:!1,placeholder:en}),ae.createElement("i",{onClick:mt,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ge={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"},nt=({dataSource:Bt=[],value:wt="",onChange:Tt,onInputChange:rn=()=>{},className:hr,style:Pr={},placeholder:en,allowClear:Qn=!1})=>{var gr;const[Dr,vr]=(0,ae.useState)(""),[Pn,jr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Yt;let dn=wt;(Yt=JSON.stringify(wt))!=null&&Yt.includes("{")&&(vr(wt.id),dn=wt.value||"");try{jr(decodeURIComponent(dn||""))}catch(Xn){jr(decodeURIComponent(dn||""))}},[wt]);const mt=()=>{Tt(encodeURIComponent(Pn),Dr||null)},ln=Yt=>{Yt!==Dr&&(vr(Yt),Tt(encodeURIComponent(Pn),Yt))};return ae.createElement("div",{className:Ce()(Ge.input,hr),style:Pr},!!Bt.length&&ae.createElement("div",{className:Ge.dropdown},ae.createElement("div",{className:Ge.text},(gr=Bt.find(Yt=>Yt.id===Dr))==null?void 0:gr.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:Ge.menu},Bt.map((Yt,dn)=>ae.createElement("div",{key:dn,onClick:()=>ln(Yt.id)},Yt.name)))),ae.createElement(_t.default,{onPressEnter:mt,value:Pn,onChange:Yt=>{jr(Yt.target.value),rn(encodeURIComponent(Yt.target.value),Dr||null)},bordered:!1,placeholder:en}),ae.createElement("i",{onClick:mt,className:"iconfont icon-sousuo9 font14 pl10 current"}))},kt={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"},Kt=({value:Bt,onChange:wt,className:Tt,total:rn,pageSize:hr,style:Pr={}})=>{const en=Bt<2,Qn=Bt>=Math.ceil(rn/hr);return rn<=hr?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:Ce()(kt.quickPager,Tt),style:Pr},ae.createElement("div",{onClick:()=>{en||wt(Bt-1,"prev")},className:en?kt.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{Qn||wt(Bt+1,"next")},className:Qn?kt.disabled:""},"\u4E0B\u4E00\u9875"))},mn={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"},Nn=pe(71418),ze=pe(6848),ke=pe(13570),Nt=pe(35783),bn=pe(68911),xn=pe(96908),yt=pe(57177),ct=pe(81378),Gt=pe(71347),Zt=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,trackEventItems:Qn,loading:gr})=>{const Dr=Math.floor((en-(Tt-1)*rn)/Tt);return ae.createElement(Nn.Z,{spinning:gr},ae.createElement("div",{className:Ce()(mn.list,Bt)},!!wt.length&&wt.map((vr,Pn)=>{const{name:jr,id:mt,identifier:ln,power:Yt,cover_image_id:dn,pic:Xn}=vr;return ae.createElement("div",{className:mn.wrap,key:mt,style:{width:Dr,marginRight:(1+Pn)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{target:"_blank",href:`/shixuns/${ln}/challenges`,className:mn.li,onClick:Vn=>{Vn.preventDefault(),Qn&&(0,bn.L9)([Qn]),Yt&&(0,bn.xg)(`/shixuns/${ln}/challenges`)}},ae.createElement("div",{className:mn.img},ae.createElement("img",{className:mn.cover,src:`${Xn}`}),vr.is_jupyter&&ae.createElement("img",{className:mn.sign,src:xn}),vr.is_jupyter_lab&&ae.createElement("img",{className:mn.sign,src:yt}),vr.is_unity_3d&&ae.createElement("img",{className:mn.sign,src:ct})),ae.createElement("div",{className:mn.name},ae.createElement(ze.Z,{title:jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:mn.e},jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:mn.tags},ae.createElement(ze.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,vr.challenges_count))),!!vr.myshixuns_count&&ae.createElement(ze.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,vr.myshixuns_count))),ae.createElement(ze.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,vr.level))),ae.createElement("div",{className:mn.rate},ae.createElement(ke.Z,{allowHalf:!0,disabled:!0,defaultValue:vr.score_info}),ae.createElement("span",null,"\xA0",vr.score_info?`${vr.score_info}\u5206`:"5\u5206")))),!Yt&&ae.createElement("div",{className:mn.lockWrap},ae.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!wt.length&&ae.createElement(Gt.Z,null)))},hn={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"},wn=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,wrapClassName:Qn,trackEventItems:gr,loading:Dr})=>{const vr=Math.floor((en-(Tt-1)*rn)/Tt);return ae.createElement(Nn.Z,{spinning:Dr},ae.createElement("div",{className:Ce()(hn.list,Bt)},!!wt.length&&wt.map((Pn,jr)=>{const{name:mt,id:ln,identifier:Yt,power:dn,cover_image_id:Xn,pic:Vn}=Pn;return ae.createElement("div",{className:Ce()(hn.wrap,Qn),key:ln,style:{width:vr,marginRight:(1+jr)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Yt}/challenges`,className:hn.li,onClick:Rr=>{Rr.preventDefault(),gr&&(0,bn.L9)([gr]),dn&&(0,bn.xg)(`/shixuns/${Yt}/challenges`)}},ae.createElement("img",{src:pe(47621),className:hn.titleBg}),ae.createElement("div",{className:hn.name},ae.createElement(ze.Z,{title:mt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:hn.e},mt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:hn.img},ae.createElement("img",{className:hn.cover,src:Xn?`${Nt.Z.API_SERVER}/api/attachments/${Xn}`:`${Nt.Z.IMG_SERVER+Vn}`}),Pn.is_jupyter&&ae.createElement("div",{className:hn.bq},"Jupyter"),Pn.is_jupyter_lab&&ae.createElement("div",{className:hn.bq},"JupyterLab"),Pn.is_unity_3d&&ae.createElement("div",{className:hn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:hn.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:hn.value},Pn.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:hn.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:hn.value},Pn.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:hn.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:hn.value},Pn.challenges_count)),ae.createElement("div",{className:hn.rate},ae.createElement(ke.Z,{allowHalf:!0,disabled:!0,defaultValue:Pn.score_info}),ae.createElement("span",{className:hn.value,style:{color:"#FF9C00"}},"\xA0",Pn.score_info?`${Pn.score_info}\u5206`:"5\u5206"))))),!dn&&ae.createElement("div",{className:hn.lockWrap},ae.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!wt.length&&ae.createElement(Gt.Z,null)))},on={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"},Se="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+u6WJqh0bqdi2nrb66gI0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ZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Be=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,trackEventItems:Qn,loading:gr,wrapClassName:Dr,imgClassName:vr})=>{const Pn=Math.floor((en-(Tt-1)*rn)/Tt);return ae.createElement(Nn.Z,{spinning:gr},ae.createElement("div",{className:Ce()(on.list,Bt)},!!wt.length&&wt.map((jr,mt)=>{const{name:ln,id:Yt,identifier:dn,power:Xn,cover_image_id:Vn,pic:Rr}=jr;return ae.createElement("div",{className:Ce()(on.wrap,Dr),key:Yt,style:{width:Pn,marginRight:(1+mt)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{target:"_blank",href:`/shixuns/${dn}/challenges`,className:on.li,onClick:Ri=>{Ri.preventDefault(),Qn&&(0,bn.L9)([Qn]),Xn&&(0,bn.xg)(`/shixuns/${dn}/challenges`)}},ae.createElement("div",{className:Ce()(on.img,vr)},ae.createElement("img",{className:on.cover,src:Vn?`${Nt.Z.API_SERVER}/api/attachments/${Vn}`:`${Nt.Z.IMG_SERVER+Rr}`}),jr.is_jupyter&&ae.createElement("img",{className:on.sign,src:Se}),jr.is_jupyter_lab&&ae.createElement("img",{className:on.sign,src:ce}),jr.is_unity_3d&&ae.createElement("img",{className:on.sign,src:le})),ae.createElement("div",{className:on.name},ae.createElement(ze.Z,{title:ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:on.e},ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:on.tags},ae.createElement(ze.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,jr.challenges_count))),!!jr.myshixuns_count&&ae.createElement(ze.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,jr.myshixuns_count))),ae.createElement(ze.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,jr.level))),ae.createElement("div",{className:on.rate},ae.createElement(ke.Z,{allowHalf:!0,disabled:!0,defaultValue:jr.score_info}),ae.createElement("span",null,"\xA0",jr.score_info?`${jr.score_info}\u5206`:"5\u5206")))),!Xn&&ae.createElement("div",{className:on.lockWrap},ae.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!wt.length&&ae.createElement(Gt.Z,null)))},fe=pe(64194),st={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"},An=pe(79005),Jn=pe(20345),xr=pe(77882),ur=pe(31081),qr=pe(75309),ii=pe(71979),Ii=pe(47558),fa=pe(42922),qt=pe(66832),Sr=pe(96593),co=pe(19664),Fa=pe(91833),wi=Object.defineProperty,pr=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,la=(Bt,wt,Tt)=>wt in Bt?wi(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,ea=(Bt,wt)=>{for(var Tt in wt||(wt={}))fs.call(wt,Tt)&&la(Bt,Tt,wt[Tt]);if(pr)for(var Tt of pr(wt))$i.call(wt,Tt)&&la(Bt,Tt,wt[Tt]);return Bt};const pi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:Jn},{name:"101\u8BA1\u5212",ptimg:xr,swimg:ur},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:qr,swimg:ii},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ii,swimg:fa},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:qt,swimg:Sr},{name:"\u519B\u961F\u4E00\u6D41",ptimg:co,swimg:Fa}];var ks=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,trackEventItems:Qn,loading:gr,wrapClassName:Dr,imgClassName:vr,isArrow:Pn=!1,imgStyle:jr={}})=>{const mt=Math.floor((en-(Tt-1)*rn)/Tt),[ln,Yt]=(0,ae.useState)(),[dn,Xn]=(0,ae.useState)(),Vn=Ri=>Yt(Ri),Rr=()=>Yt(-1);return ae.createElement(Nn.Z,{spinning:gr},ae.createElement("div",{className:Ce()(st.list,Bt)},!!(wt!=null&&wt.length)&&(wt==null?void 0:wt.map((Ri,Ca)=>{var ia;const{name:eo,id:Js,identifier:bo,featured:to,school_name:da,image_url:xo,excellent:as,is_plan:Ss}=Ri;return ae.createElement("div",{key:Js,className:Ce()(st.wrap,Dr),style:{width:mt,marginRight:(1+Ca)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{target:"_blank",href:`/paths/${bo}`,className:st.li,onClick:Fr=>{Fr.preventDefault(),Qn&&(0,bn.L9)([Qn]),(0,bn.xg)(`/paths/${bo}`)}},ae.createElement("img",{src:pe(39057),className:st.titleBg}),ae.createElement("div",{className:st.name},ae.createElement(ze.Z,{title:eo},ae.createElement("span",{className:st.e,style:{color:Pn&&ln===Ca?"#145DFF":"#000000"},onMouseEnter:()=>{Vn(Ca)},onMouseLeave:Rr},eo))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:Ce()(st.img,vr)},ae.createElement("img",{className:st.cover,style:ea({},jr),src:`${Nt.Z.IMG_SERVER+xo}`}),(ia=Ri==null?void 0:Ri.subject_tags)==null?void 0:ia.map((Fr,Go)=>{var no,Ao;if(Go===0){const Gs=(no=pi.find(al=>al.name==Fr))==null?void 0:no.swimg;return ae.createElement("img",{className:st.sign,src:Gs,style:{left:"-4px"}})}const ha=(Ao=pi.find(Gs=>Gs.name==Fr))==null?void 0:Ao.ptimg;return ae.createElement("img",{className:st.sign,src:ha,style:{left:`${48+52*(Go-1)+2*Go}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Ri==null?void 0:Ri.excellent)&&ae.createElement("div",{className:st.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:st.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:st.value},Ri.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:st.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:st.value},Ri.members_count))))))})),!wt.length&&ae.createElement(Gt.Z,null)))},za={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"},gi=pe(10102),Ti=pe(59301);const es=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:Jn},{name:"101\u8BA1\u5212",ptimg:xr,swimg:ur},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:qr,swimg:ii},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ii,swimg:fa},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:qt,swimg:Sr},{name:"\u519B\u961F\u4E00\u6D41",ptimg:co,swimg:Fa}];var jo=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,trackEventItems:Qn,loading:gr,onRemove:Dr=()=>{},isCurrent:vr=!0,showAlias:Pn=!1,wrapClassName:jr,imgClassName:mt})=>{const ln=Math.floor((en-(Tt-1)*rn)/Tt),Yt=[{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(dn=>(window.ENV==="build"&&(dn.ptimg=`/react/build${dn.ptimg}`,dn.swimg=`/react/build${dn.swimg}`),dn));return Ti.createElement(Nn.Z,{spinning:gr},Ti.createElement("div",{className:Ce()(za.list,Bt)},!!(wt!=null&&wt.length)&&(wt==null?void 0:wt.map((dn,Xn)=>{var Vn;const{name:Rr,id:Ri,identifier:Ca,featured:ia,school_name:eo,image_url:Js,excellent:bo,is_plan:to}=dn;return Ti.createElement("div",{key:Ri,className:Ce()(za.wrap,jr),style:{width:ln,marginRight:(1+Xn)%Tt===0?0:rn+Pr,marginBottom:hr}},Ti.createElement("a",{className:za.li,onClick:da=>{da.preventDefault(),da.stopPropagation(),Qn&&(0,bn.L9)([Qn]),(0,bn.xg)(`/paths/${Ca}`)}},Ti.createElement("div",{className:Ce()(za.img,mt)},Ti.createElement("img",{className:za.cover,src:`${Nt.Z.IMG_SERVER+Js}`}),vr&&(0,gi.bg)()&&(dn==null?void 0:dn.studying)&&Ti.createElement("div",{className:`${za.movebq} user-path-items`,onClick:da=>{da.stopPropagation(),Dr(dn)}},Ti.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ti.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Vn=dn==null?void 0:dn.subject_tags)==null?void 0:Vn.map((da,xo)=>{var as,Ss;if(xo===0){const Go=(as=Yt.find(no=>no.name==da))==null?void 0:as.swimg;return Ti.createElement("img",{className:za.sign,src:Go,style:{left:"-4px"}})}const Fr=(Ss=Yt.find(Go=>Go.name==da))==null?void 0:Ss.ptimg;return Ti.createElement("img",{className:za.sign,src:Fr,style:{left:`${48+52*(xo-1)+2*xo}px`}})}),Ti.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(dn==null?void 0:dn.excellent)&&Ti.createElement("div",{className:za.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ti.createElement("div",{className:za.name},Ti.createElement(ze.Z,{title:Pn&&(dn!=null&&dn.excellent_alias_name)?Ti.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Rr}`,Ti.createElement("br",null),Ti.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${dn==null?void 0:dn.excellent_alias_name}`)):Rr},Ti.createElement("span",{className:za.e},Pn&&(dn==null?void 0:dn.excellent_alias_name)||Rr))),Ti.createElement("div",{className:za.tags},Ti.createElement("div",null,Ti.createElement(ze.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ti.createElement("span",null,Ti.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ti.createElement("span",null,dn.stages_count))),Ti.createElement(ze.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ti.createElement("span",null,Ti.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ti.createElement("span",null,dn.members_count)))))))})),!wt.length&&Ti.createElement(Gt.Z,null)))},Ji={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"},ns="data:image/png;base64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sbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ci=pe(59301),ps=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,trackEventItems:Qn,loading:gr})=>{const Dr=Math.floor((en-(Tt-1)*rn)/Tt);return Ci.createElement(Nn.Z,{spinning:gr},Ci.createElement("div",{className:Ce()(Ji.list,Bt)},!!wt.length&&wt.map((vr,Pn)=>{const{subject_identifier:jr,id:mt,identifier:ln,power:Yt}=vr,dn=vr.is_public!=0&&vr.is_public;return Ci.createElement("div",{className:Ji.wrap,key:mt,style:{width:Dr,marginRight:(1+Pn)%Tt===0?0:rn+Pr,marginBottom:hr}},Ci.createElement("a",{className:Ji.li,onClick:Xn=>{Xn.preventDefault(),Qn&&(0,bn.L9)([Qn]),(0,bn.xg)(vr.first_category_url)}},Ci.createElement("div",{className:Ji.top},Ci.createElement(ze.Z,{title:vr.name},Ci.createElement("div",{className:Ji.name},vr.name)),Ci.createElement("img",{className:Ji.img,src:Nt.Z.IMG_SERVER+"/images/"+vr.avatar_url}),Ci.createElement("div",{className:Ji.text,title:vr.creator},vr.creator),jr&&Ci.createElement("div",{className:Ji.btns},Ci.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ci.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),dn&&Ci.createElement("div",{className:Ji.sign},"\u516C\u5F00")),Ci.createElement("div",{className:Ji.bottom},vr.visits>0&&Ci.createElement(ze.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ci.createElement("span",null,Ci.createElement("i",{className:"iconfont icon-liulanyan"}),Ci.createElement("span",null,vr.visits))),vr.course_members_count>0&&Ci.createElement(ze.Z,{title:"\u6210\u5458",placement:"bottom"},Ci.createElement("span",null,Ci.createElement("i",{className:"iconfont icon-chengyuan"}),vr.course_members_count)),vr.tasks_count>0&&Ci.createElement(ze.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ci.createElement("span",null,Ci.createElement("i",{className:"iconfont icon-zuoye"}),vr.tasks_count)),vr.is_end?Ci.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ci.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!vr.is_accessible&&Ci.createElement("div",{className:Ji.lockWrap},Ci.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ci.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!wt.length&&Ci.createElement(Gt.Z,null)))},ta={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"},pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509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ElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Tr=({className:Bt,dataSource:wt=[],col:Tt=4,right:rn,bottom:hr=23,precision:Pr=0,wrapWidth:en=1200,wrapClassName:Qn,trackEventItems:gr,loading:Dr})=>{const vr=Math.floor((en-(Tt-1)*rn)/Tt);return ae.createElement(Nn.Z,{spinning:Dr},ae.createElement("div",{className:Ce()(ta.list,Bt)},!!wt.length&&wt.map((Pn,jr)=>{const{subject_identifier:mt,id:ln,identifier:Yt,power:dn}=Pn,Xn=Pn.is_public!=0&&Pn.is_public;return ae.createElement("div",{className:Ce()(`${ta.wrap} ${Pn.is_accessible?"":ta.warpStyle}`,Qn),key:ln,style:{width:vr,marginRight:(1+jr)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{className:ta.li,onClick:Vn=>{Vn.preventDefault(),gr&&(0,bn.L9)([gr]),(0,bn.xg)(Pn.first_category_url)}},ae.createElement("div",{className:ta.creator},ae.createElement("img",{className:ta.img,src:Nt.Z.IMG_SERVER+"/images/"+Pn.avatar_url}),ae.createElement("div",{className:ta.text,title:Pn.creator},Pn.creator)),ae.createElement("div",{className:ta.top},ae.createElement(ze.Z,{title:Pn.name},ae.createElement("div",{className:ta.name},Pn.name)),Xn&&ae.createElement("div",{className:ta.sign},"\u516C\u5F00")),ae.createElement("div",{className:ta.middle},ae.createElement("div",{className:ta.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:ta.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:ta.value},(Pn==null?void 0:Pn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:ta.text},"\u6210\u5458"),ae.createElement("span",{className:ta.value},(Pn==null?void 0:Pn.course_members_count)||0))),ae.createElement("div",{className:ta.row},ae.createElement("div",null,ae.createElement("span",{className:ta.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:ta.value},(Pn==null?void 0:Pn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:ta.text},"\u72B6\u6001"),Pn.is_end?ae.createElement("span",{className:ta.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:ta.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),mt&&ae.createElement("div",{className:ta.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Pn.is_accessible&&ae.createElement("div",{className:ta.lockWrap},ae.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!wt.length&&ae.createElement(Gt.Z,null)))},ir={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"},Mr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBk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hr=23,precision:Pr=0,wrapWidth:en=1200,wrapClassName:Qn,trackEventItems:gr,loading:Dr})=>{const vr=Math.floor((en-(Tt-1)*rn)/Tt);return ae.createElement(Nn.Z,{spinning:Dr},ae.createElement("div",{className:Ce()(ir.list,Bt)},!!wt.length&&wt.map((Pn,jr)=>{const{subject_identifier:mt,id:ln,identifier:Yt,power:dn}=Pn,Xn=Pn.is_public!=0&&Pn.is_public;return ae.createElement("div",{className:Ce()(`${ir.wrap} ${Pn.is_accessible?"":ir.warpStyle}`,Qn),key:ln,style:{width:vr,marginRight:(1+jr)%Tt===0?0:rn+Pr,marginBottom:hr}},ae.createElement("a",{className:ir.li,onClick:Vn=>{Vn.preventDefault(),gr&&(0,bn.L9)([gr]),(0,bn.xg)(Pn.first_category_url)}},ae.createElement("div",{className:ir.creator},ae.createElement("img",{className:ir.img,src:Nt.Z.IMG_SERVER+"/images/"+Pn.avatar_url}),ae.createElement("div",{className:ir.text,title:Pn.creator},Pn.creator)),ae.createElement("div",{className:ir.top},ae.createElement(ze.Z,{title:Pn.name},ae.createElement("div",{className:ir.name},Pn.name)),Xn&&ae.createElement("div",{className:ir.sign})),ae.createElement("div",{className:ir.middle},ae.createElement("div",{className:ir.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:ir.value},(Pn==null?void 0:Pn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u6210\u5458"),ae.createElement("span",{className:ir.value},(Pn==null?void 0:Pn.course_members_count)||0))),ae.createElement("div",{className:ir.row},ae.createElement("div",null,ae.createElement("span",{className:ir.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:ir.value},(Pn==null?void 0:Pn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u72B6\u6001"),Pn.is_end?ae.createElement("span",{className:ir.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:ir.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),mt&&ae.createElement("div",{className:ir.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Pn.is_accessible&&ae.createElement("div",{className:ir.lockWrap},ae.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!wt.length&&ae.createElement(Gt.Z,null)))},_i={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"},Fe=pe(63823),Jt=({dataSource:Bt=[],value:wt,onChange:Tt,className:rn,style:hr={},tabBarExtraContent:Pr})=>ae.createElement("div",{className:Ce()(_i.tabs,rn),style:hr},ae.createElement("div",{className:_i.tabsWrap},Bt.map((en,Qn)=>ae.createElement("aside",{className:_i.tab,onClick:()=>{Tt(en.id),en.link&&Fe.history.push(en.link)},key:Qn},ae.createElement("div",{className:wt===en.id?_i.active:""},en.name),(en==null?void 0:en.resetCount)==null&&(en==null?void 0:en.total)!==void 0&&ae.createElement("span",null,"\uFF08",en==null?void 0:en.total,"\uFF09"),(en==null?void 0:en.resetCount)!==void 0&&(en==null?void 0:en.total)!==void 0&&ae.createElement(ze.Z,{title:(en==null?void 0:en.tip)!=null?en==null?void 0:en.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},en==null?void 0:en.resetCount),"/",ae.createElement("span",null,en==null?void 0:en.total),"\uFF09"))))),ae.createElement("div",{className:_i.tabBar},Pr)),Ht={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"},Sn=({dataSource:Bt=[],value:wt,onChange:Tt,className:rn,style:hr={},tabBarExtraContent:Pr})=>ae.createElement("div",{className:Ce()(Ht.tabs,rn),style:hr},ae.createElement("div",{className:Ht.tabsWrap},Bt.map((en,Qn)=>ae.createElement("aside",{className:Ht.tab,onClick:()=>{Tt(en.id),en.link&&Fe.history.push(en.link)},key:Qn},ae.createElement("div",{className:wt===en.id?Ht.active:""},en.name),(en==null?void 0:en.resetCount)==null&&(en==null?void 0:en.total)!==void 0&&ae.createElement("span",null,"\uFF08",en==null?void 0:en.total,"\uFF09"),(en==null?void 0:en.resetCount)!==void 0&&(en==null?void 0:en.total)!==void 0&&ae.createElement(ze.Z,{title:(en==null?void 0:en.tip)!=null?en==null?void 0:en.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},en==null?void 0:en.resetCount),"/",ae.createElement("span",null,en==null?void 0:en.total),"\uFF09"))))),ae.createElement("div",{className:Ht.tabBar},Pr)),In={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"},sn=({dataSource:Bt=[],value:wt,onChange:Tt,className:rn,style:hr={},tabBarExtraContent:Pr})=>ae.createElement("div",{className:Ce()(In.tabs,rn),style:hr},ae.createElement("div",{className:In.tabsWrap},Bt.map((en,Qn)=>ae.createElement("aside",{className:`${In.tab} ${wt===en.id?In.active:""}`,onClick:()=>{Tt(en.id),en.link&&Fe.history.push(en.link)},key:Qn},ae.createElement("div",null,en.name),(en==null?void 0:en.resetCount)==null&&(en==null?void 0:en.total)!==void 0&&ae.createElement("span",null,"\uFF08",en==null?void 0:en.total,"\uFF09"),(en==null?void 0:en.resetCount)!==void 0&&(en==null?void 0:en.total)!==void 0&&ae.createElement(ze.Z,{title:(en==null?void 0:en.tip)!=null?en==null?void 0:en.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},en==null?void 0:en.resetCount),"/",ae.createElement("span",null,en==null?void 0:en.total),"\uFF09"))))),ae.createElement("div",{className:In.tabBar},Pr)),$r=({className:Bt,style:wt={},children:Tt})=>ae.createElement("div",{className:Ce()(Bt),style:wt},Tt),dr={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"},Qt=pe(38854),Tn=pe(20834);const yi=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ua=({sortValue:Bt,dropValue:wt,className:Tt,onSort:rn,onDrop:hr,dataSource:Pr=yi})=>{var en;return ae.createElement("div",{className:Ce()(dr.orderWrap,Tt)},ae.createElement(Qt.Z,{dropdownRender:()=>ae.createElement(Tn.default,null,Pr.map((Qn,gr)=>ae.createElement(Tn.default.Item,{key:gr,onClick:()=>hr(Qn.id)},Qn.name)))},ae.createElement("span",{className:dr.orderTextWrap},(en=Pr.find(Qn=>wt===Qn.id))==null?void 0:en.name)),ae.createElement("span",{className:dr.orderIconWrap},ae.createElement("span",{className:dr.orderAsc},ae.createElement("i",{className:Bt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${dr.cursorPointer} ${dr.active}`:`iconfont icon-sanjiaoxing-up font12 ${dr.cursorPointer}`,onClick:()=>rn(Bt==="asc"?"desc":"asc")})),ae.createElement("span",{className:dr.orderDesc},ae.createElement("i",{className:Bt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${dr.cursorPointer} ${dr.active}`:`iconfont icon-sanjiaoxing-down font12 ${dr.cursorPointer}`,onClick:()=>rn(Bt==="asc"?"desc":"asc")}))))},Xr={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 Bi=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Mi=({sortValue:Bt,dropValue:wt,className:Tt,onSort:rn,onDrop:hr,dataSource:Pr=Bi})=>{var en;return ae.createElement("div",{className:Ce()(Xr.orderWrap,Tt)},ae.createElement(Qt.Z,{dropdownRender:()=>ae.createElement(Tn.default,null,Pr.map((Qn,gr)=>ae.createElement(Tn.default.Item,{key:gr,onClick:()=>hr(Qn.id)},Qn.name)))},ae.createElement("span",{className:Xr.orderTextWrap},(en=Pr.find(Qn=>wt===Qn.id))==null?void 0:en.name)),ae.createElement("span",{className:Xr.orderIconWrap},ae.createElement("span",{className:Xr.orderAsc},ae.createElement("i",{className:Bt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Xr.cursorPointer} ${Xr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Xr.cursorPointer}`,onClick:()=>rn(Bt==="asc"?"desc":"asc")})),ae.createElement("span",{className:Xr.orderDesc},ae.createElement("i",{className:Bt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Xr.cursorPointer} ${Xr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Xr.cursorPointer}`,onClick:()=>rn(Bt==="asc"?"desc":"asc")}))))},nn={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"},ei=pe(3113),Kr=pe(68798),Pi=Object.defineProperty,ti=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,ni=(Bt,wt,Tt)=>wt in Bt?Pi(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,Ur=(Bt,wt)=>{for(var Tt in wt||(wt={}))bi.call(wt,Tt)&&ni(Bt,Tt,wt[Tt]);if(ti)for(var Tt of ti(wt))li.call(wt,Tt)&&ni(Bt,Tt,wt[Tt]);return Bt},ui=(Bt,wt)=>{var Tt={};for(var rn in Bt)bi.call(Bt,rn)&&wt.indexOf(rn)<0&&(Tt[rn]=Bt[rn]);if(Bt!=null&&ti)for(var rn of ti(Bt))wt.indexOf(rn)<0&&li.call(Bt,rn)&&(Tt[rn]=Bt[rn]);return Tt},mr=(Bt,wt,Tt)=>new Promise((rn,hr)=>{var Pr=gr=>{try{Qn(Tt.next(gr))}catch(Dr){hr(Dr)}},en=gr=>{try{Qn(Tt.throw(gr))}catch(Dr){hr(Dr)}},Qn=gr=>gr.done?rn(gr.value):Promise.resolve(gr.value).then(Pr,en);Qn((Tt=Tt.apply(Bt,wt)).next())}),oo=Bt=>{var wt=Bt,{className:Tt,style:rn,children:hr,loading:Pr=!1,openLoading:en,onClick:Qn=()=>{},size:gr="middle",shape:Dr="round",theme:vr}=wt,Pn=ui(wt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[jr,mt]=(0,ae.useState)(!1),ln=(0,ae.useMemo)(()=>{switch(vr){case Kr.Fy.THEMEONE:return nn.ThemeOne;case Kr.Fy.DEFAULT:default:return nn.btn}},[vr]);return ae.createElement(ei.ZP,Ur({onClick:(0,Me.throttle)(Yt=>mr(void 0,null,function*(){en&&mt(!0);try{yield Qn(Yt)}catch(dn){console.log("error",dn)}en&&mt(!1)}),2e3,{leading:!0,trailing:!1}),className:Ce()(ln,nn[`${gr}-${Dr}`],Tt),style:rn,size:gr,shape:Dr,loading:jr||Pr},Pn),hr)},fo={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"},so=({className:Bt,style:wt,children:Tt=null,onClick:rn,title:hr})=>ae.createElement("div",{className:Ce()(fo.head,Bt),style:wt},ae.createElement("span",{className:"primary-hover",onClick:rn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:hr},hr),ae.createElement("div",{className:fo.node},Tt)),Ea={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"},Oi=({confirmShow:Bt=!0,confirmTitle:wt,confirmClick:Tt,cancelShow:rn=!0,cancelTitle:hr,cancelClick:Pr,className:en,style:Qn,confirmLoading:gr=!1})=>ae.createElement("div",{className:Ce()(Ea.btns,en),style:Qn},Bt&&ae.createElement(ei.ZP,{loading:gr,onClick:Tt,type:"primary",className:Ea.confirm},wt),rn&&ae.createElement(ei.ZP,{onClick:Pr,className:Ea.cancel},hr)),ma={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"},va=({className:Bt,style:wt={},LeftContent:Tt,children:rn,RightContent:hr})=>ae.createElement("div",{className:Ce()(ma.fixedBottom,Bt),style:wt},ae.createElement("div",{className:ma.wrap},ae.createElement("div",{className:ma.left},Tt),ae.createElement("div",{className:ma.center},rn),ae.createElement("div",{className:ma.right},hr))),Ka={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"},Wo=({className:Bt,style:wt={},dataSource:Tt=[]})=>ae.createElement("div",{className:Ce()(Ka.crumbs,Bt),style:wt},Tt.map((rn,hr)=>hr<Tt.length-1?ae.createElement(ae.Fragment,{key:hr},rn.path||rn.onClick?ae.createElement("span",{className:Ka.hover,onClick:rn!=null&&rn.onClick?rn.onClick:()=>Fe.history.push(rn.path)},rn.name):ae.createElement("span",null,rn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:hr,style:{color:"#5F6368"}},rn.name))),Za=pe(31797),Va=Object.defineProperty,Io=Object.defineProperties,To=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,Aa=(Bt,wt,Tt)=>wt in Bt?Va(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,Ki=(Bt,wt)=>{for(var Tt in wt||(wt={}))Fo.call(wt,Tt)&&Aa(Bt,Tt,wt[Tt]);if(Na)for(var Tt of Na(wt))Gi.call(wt,Tt)&&Aa(Bt,Tt,wt[Tt]);return Bt},rs=(Bt,wt)=>Io(Bt,To(wt)),Eo=(Bt,wt)=>{var Tt={};for(var rn in Bt)Fo.call(Bt,rn)&&wt.indexOf(rn)<0&&(Tt[rn]=Bt[rn]);if(Bt!=null&&Na)for(var rn of Na(Bt))wt.indexOf(rn)<0&&Gi.call(Bt,rn)&&(Tt[rn]=Bt[rn]);return Tt};const{Countdown:Os}=Za.default;var $a=Bt=>{var wt=Bt,{onChange:Tt}=wt,rn=Eo(wt,["onChange"]);const[hr,Pr]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof hr=="number"&&hr>=0&&Tt(hr)},[hr]);const en=Qn=>{const gr=Math.floor(Qn/1e3);Pr(gr)};return ae.createElement(Os,rs(Ki({},rn),{onChange:en}))},Zs={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Ds=({DataProps:Bt,className:wt,style:Tt={}})=>{var rn;return ae.createElement("div",{className:Ce()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Zs.ClassRoomItem,wt),style:Tt,onClick:()=>{(0,bn.xg)(Bt==null?void 0:Bt.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(rn=Nt.Z)==null?void 0:rn.IMG_SERVER}/images/${Bt==null?void 0:Bt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Bt==null?void 0:Bt.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Bt!=null&&Bt.is_public)&&ae.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"),ae.createElement("span",{className:Ce()("text-16px font-medium",Zs.TitleDom)},Bt==null?void 0:Bt.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},Bt==null?void 0:Bt.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Bt==null?void 0:Bt.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Bt==null?void 0:Bt.tasks_count),Bt!=null&&Bt.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ma=Object.defineProperty,Ko=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,Hn=(Bt,wt,Tt)=>wt in Bt?Ma(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,$n=(Bt,wt)=>{for(var Tt in wt||(wt={}))ka.call(wt,Tt)&&Hn(Bt,Tt,wt[Tt]);if(Ko)for(var Tt of Ko(wt))Zn.call(wt,Tt)&&Hn(Bt,Tt,wt[Tt]);return Bt},ri=({DataProps:Bt=[],selectValue:wt,onChange:Tt,className:rn,style:hr={},extra:Pr,classNameItem:en,styleItem:Qn={},barHidden:gr})=>{const[Dr,vr]=(0,ae.useState)();return(0,ae.useEffect)(()=>{vr(Array.isArray(wt)?wt:[wt])},[wt]),ae.createElement("div",{className:Ce()("flex px-20px py-10px gap-40px",rn),style:$n({borderBottom:"1px solid #D3F0FF"},hr)},Bt==null?void 0:Bt.map(Pn=>ae.createElement("div",{key:Pn==null?void 0:Pn.id,className:Ce()("flex item-center justify-center current c-grey-333 text-16 relative",en,Pn==null?void 0:Pn.className),style:$n($n({color:Dr!=null&&Dr.includes(Pn==null?void 0:Pn.id)?"#1890FF":"",minWidth:88},Qn),(Pn==null?void 0:Pn.style)||{}),onClick:jr=>{Tt==null||Tt({domEvent:jr,item:Pn}),Pn!=null&&Pn.link&&Fe.history.push(Pn==null?void 0:Pn.link)}},Pn==null?void 0:Pn.name,!gr&&(Dr==null?void 0:Dr.includes(Pn==null?void 0:Pn.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},Pr))},na=Object.defineProperty,ca=Object.defineProperties,Ui=Object.getOwnPropertyDescriptors,ji=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable,Pa=(Bt,wt,Tt)=>wt in Bt?na(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Bt[wt]=Tt,is=(Bt,wt)=>{for(var Tt in wt||(wt={}))ra.call(wt,Tt)&&Pa(Bt,Tt,wt[Tt]);if(ji)for(var Tt of ji(wt))Zo.call(wt,Tt)&&Pa(Bt,Tt,wt[Tt]);return Bt},yo=(Bt,wt)=>ca(Bt,Ui(wt)),Ys=({value:Bt,onChange:wt,onInputChange:Tt,className:rn,style:hr={},InputProps:Pr})=>{const[en,Qn]=(0,ae.useState)(Bt);return ae.createElement("div",{className:Ce()("flex item-center rounded-full px-10px py-2px",rn),style:is({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},hr)},ae.createElement(_t.default,yo(is({bordered:!1},Pr),{onChange:gr=>{Qn(gr.target.value),Tt==null||Tt(encodeURIComponent(gr.target.value))},onPressEnter:gr=>{wt==null||wt({domEvent:gr,item:{value:en}})}})),ae.createElement("img",{className:"h-22px current",src:pe(25365),height:22,onClick:gr=>{wt==null||wt({domEvent:gr,item:{value:en}})}}))}},2408:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ee}});var ae=pe(59301);function Ee(et,vt){const We=(0,ae.useRef)();(0,ae.useEffect)(()=>{We.current=et}),(0,ae.useEffect)(()=>{function Oe(){We.current()}if(vt!==null){let Ye=setInterval(Oe,vt);return()=>clearInterval(Ye)}},[vt])}},29240:function(Dt,Xt,pe){"use strict";var ae=pe(59301),Ee=pe(43418),et=pe(8591),vt=pe(22972),We=pe(63823),Oe=Object.defineProperty,Ye=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,Te=(He,Ke,ft)=>Ke in He?Oe(He,Ke,{enumerable:!0,configurable:!0,writable:!0,value:ft}):He[Ke]=ft,gt=(He,Ke)=>{for(var ft in Ke||(Ke={}))rt.call(Ke,ft)&&Te(He,ft,Ke[ft]);if(Me)for(var ft of Me(Ke))lt.call(Ke,ft)&&Te(He,ft,Ke[ft]);return He},Je=(He,Ke)=>Ye(He,Ce(Ke)),Re=(He,Ke,ft)=>new Promise(($e,dt)=>{var Qe=Ft=>{try{Ct(ft.next(Ft))}catch(_t){dt(_t)}},De=Ft=>{try{Ct(ft.throw(Ft))}catch(_t){dt(_t)}},Ct=Ft=>Ft.done?$e(Ft.value):Promise.resolve(Ft.value).then(Qe,De);Ct((ft=ft.apply(He,Ke)).next())});const je=({classroomList:He,dispatch:Ke,cb:ft})=>{const $e=(0,We.useParams)();$e.id=$e.coursesId;const{detailBoardList:dt}=He;return ae.createElement(Ee.default,{centered:!0,title:"\u63D0\u793A",open:He.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Re(void 0,null,function*(){var Qe,De,Ct;if((yield(0,vt.ZP)(`/api/boards/${$e.categoryId}/messages/bulk_delete.json`,{method:"delete",body:{ids:[...He.actionTabs.selectArrs]}})).status===0){et.ZP.success("\u5220\u9664\u6210\u529F");const _t=He.actionTabs.selectArrs.length===dt.messages.length&&((Qe=He.actionTabs.params)==null?void 0:Qe.page)>1?((De=He.actionTabs.params)==null?void 0:De.page)-1:(Ct=He.actionTabs.params)==null?void 0:Ct.page;ft(_t),Ke({type:"classroomList/setActionTabs",payload:{}}),Ke({type:"classroomList/getBoardList",payload:Je(gt({},He.actionTabs.params),{page:_t})}),Ke({type:"classroomList/getClassroomLeftMenus",payload:{id:$e.coursesId}})}}),onCancel:()=>{Ke({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement("p",null,"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"))};Xt.Z=(0,We.connect)(({classroomList:He})=>({classroomList:He}))(je)},89762:function(Dt,Xt,pe){"use strict";var ae=pe(59301),Ee=pe(78241),et=pe(43418),vt=pe(8591),We=pe(92832),Oe=pe(24905),Ye=pe(71418),Ce=pe(22972),Me=pe(26724),rt=pe.n(Me),lt=pe(63823),Te=Object.defineProperty,gt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,je=($e,dt,Qe)=>dt in $e?Te($e,dt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):$e[dt]=Qe,He=($e,dt)=>{for(var Qe in dt||(dt={}))Je.call(dt,Qe)&&je($e,Qe,dt[Qe]);if(gt)for(var Qe of gt(dt))Re.call(dt,Qe)&&je($e,Qe,dt[Qe]);return $e},Ke=($e,dt,Qe)=>new Promise((De,Ct)=>{var Ft=ht=>{try{pt(Qe.next(ht))}catch(Ge){Ct(Ge)}},_t=ht=>{try{pt(Qe.throw(ht))}catch(Ge){Ct(Ge)}},pt=ht=>ht.done?De(ht.value):Promise.resolve(ht.value).then(Ft,_t);pt((Qe=Qe.apply($e,dt)).next())});const ft=({classroomList:$e,loading:dt,dispatch:Qe})=>{const De=He({},(0,lt.useParams)());let[Ct,Ft]=(0,ae.useState)([]);const[_t,pt]=(0,ae.useState)(!0),[ht,Ge]=(0,ae.useState)(1),[Et,nt]=(0,ae.useState)(!0);De.page=0,De.page_size=50,(0,ae.useEffect)(()=>{$e.actionTabs.key==="\u53D1\u9001"&&En(1)},[$e.actionTabs.key]);const[kt]=Ee.default.useForm(),En=Kt=>Ke(void 0,null,function*(){Kt==1&&(Ct=[]),De.page=Kt,nt(!0);const mn=yield Qe({type:"classroomList/getCoursesMine",payload:He({},De)});mn.length<De.page_size&&pt(!1),Ft([...Ct,...mn]),nt(!1)});return ae.createElement(et.default,{centered:!0,title:"\u53D1\u9001\u5E16\u5B50",open:$e.actionTabs.key==="\u53D1\u9001",width:600,bodyStyle:{minHeight:200},onOk:()=>Ke(void 0,null,function*(){const Kt=kt.getFieldValue();(yield(0,Ce.ZP)(`/api/boards/${De.categoryId}/messages/bulk_send.json`,{method:"post",body:{ids:[...$e.actionTabs.selectArrs],to_course_ids:[...Kt.group_ids]}})).status===0&&(vt.ZP.success("\u53D1\u5E03\u6210\u529F"),Qe({type:"classroomList/setActionTabs",payload:{}}))}),onCancel:()=>{Qe({type:"classroomList/setActionTabs",payload:{}})}},ae.createElement("p",{className:"tc bold mb20"},"\u9009\u62E9\u7684\u5E16\u5B50\u53D1\u9001\u5230",ae.createElement("span",{className:"c-orange"},"\u6307\u5B9A\u8BFE\u5802")),ae.createElement(We.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,onSearch:Kt=>{Ft([]),De.search=Kt,En(1)}}),ae.createElement("div",{className:"bg-skyblue",style:{height:260,overflow:"auto",padding:20}},ae.createElement(rt(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Kt=>{En(Kt)},hasMore:!Et&&_t,useWindow:!1},ae.createElement(Ee.default,{form:kt,initialValues:{}},ae.createElement(Ee.default.Item,{name:"group_ids"},ae.createElement(Oe.default.Group,null,Ct==null?void 0:Ct.map(function(Kt,mn){return ae.createElement("div",{key:mn},ae.createElement(Oe.default,{style:{width:520},value:Kt.id,className:"multi-ellipsis1 multi-ellipsis1-checkbox"},Kt.name))}))),ae.createElement(Ye.Z,{className:"edu-ant-spin",spinning:Et})))))};Xt.Z=(0,lt.connect)(({classroomList:$e,loading:dt})=>({classroomList:$e,loading:dt}))(ft)},40074:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return lt}});var ae=pe(59301),Ee=pe(20834),et=pe(92832),vt=pe(24905),We=pe(3113),Oe=pe(38854),Ye={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},Ce=pe(10102),Me=pe(84105),lt=({buttonDataSource:Te,onButtonClick:gt,useBatchStatus:Je,allSelect:Re,setAllSelect:je,selectArrs:He,onMenuClick:Ke,setSeleArr:ft,catalogue:$e,addCatalogue:dt})=>{const[Qe,De]=(0,ae.useState)(!1),[Ct,Ft]=(0,ae.useState)("");console.log("---",$e);const _t=ae.createElement("div",{className:Ye.moveCategory,onMouseLeave:pt=>De(!1)},ae.createElement(Ee.default,{onClick:Ke,style:{maxHeight:300,width:240,overflow:"auto"}},ae.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},ae.createElement(et.default,{onChange:pt=>{Ft(pt.target.value)}})),$e==null?void 0:$e.map(function(pt,ht){var Ge;if(!(Ct!==""&&pt.category_name.indexOf(Ct)<0))return ae.createElement(ae.Fragment,null,ae.createElement(Ee.default.Item,{className:"multi-llipsis1e",key:pt.category_id,title:pt.category_name},pt.category_name),(Ge=pt==null?void 0:pt.third_category)==null?void 0:Ge.map(Et=>ae.createElement(Ee.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Et.category_id,title:Et.category_name},Et.category_name)))}),dt&&ae.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:dt},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return ae.createElement("div",{className:Ye.bottomControlContainer},ae.createElement("div",null,ae.createElement("div",null,ae.createElement(vt.default,{checked:Re,onChange:je},"\u5168\u9009\u672C\u9875\uFF08",He.length,"\uFF09")),(0,Ce.GJ)()&&Te.map(pt=>ae.createElement("div",{key:pt.name},ae.createElement(We.ZP,{type:"primary",icon:pt.icon,className:Ye.buttonWrap,onClick:()=>gt(pt)},pt.name))),(0,Ce.GJ)()&&(dt||$e)&&ae.createElement("div",null,ae.createElement(Oe.Z,{open:Qe,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>_t,getPopupContainer:pt=>pt.parentNode},ae.createElement("span",{className:"ant-dropdown-link",onMouseEnter:pt=>De(!0)},ae.createElement(We.ZP,{type:"primary",className:Ye.buttonWrap,icon:ae.createElement("i",{className:"iconfont icon-yidongmulu"})},ae.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",ae.createElement(Me.Z,null))))))),ae.createElement("div",null,ae.createElement(We.ZP,{type:"primary",ghost:!0,onClick:()=>{Je(!1),ft([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},30095:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ke}});var ae=pe(59301),Ee=pe(20834),et=pe(24905),vt=pe(3113),We=pe(38854),Oe=pe(6848),Ye=pe(57809),Ce=pe(92832),Me={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR"},rt=pe(10102),lt=pe(87395),Te=pe(84105),gt=pe(26724),Je=pe.n(gt),Re=pe(63823),je=(ft,$e,dt)=>new Promise((Qe,De)=>{var Ct=pt=>{try{_t(dt.next(pt))}catch(ht){De(ht)}},Ft=pt=>{try{_t(dt.throw(pt))}catch(ht){De(ht)}},_t=pt=>pt.done?Qe(pt.value):Promise.resolve(pt.value).then(Ct,Ft);_t((dt=dt.apply(ft,$e)).next())}),Ke=({isAdmin:ft,dataSource:$e,batchStatus:dt,SortMenuName:Qe,setSortMenuName:De,detailCourseGroupsList:Ct,onSearch:Ft,onBoard:_t,onSort:pt,isboard:ht,dispatch:Ge,onBatch:Et,SortMenus:nt,isShowMode:kt=!1,onModeChange:En})=>{const[Kt,mn]=(0,ae.useState)(!1),[Nn,ze]=(0,ae.useState)([]),[ke,Nt]=(0,ae.useState)(!0);let[bn,xn]=(0,ae.useState)([]);const[yt,ct]=(0,ae.useState)(1),[Gt,jn]=(0,ae.useState)(!1),Zt=(0,Re.useParams)(),hn=Se=>{De(Se.name),pt(Se)};(0,ae.useEffect)(()=>{ht&&xt()},[ht]);const xt=()=>je(void 0,null,function*(){var Se;if(ke&&!Gt){jn(!0),ct(yt+1);const ce=yield Ge({type:"classroomList/getCourseGroupsList",payload:{page:yt,id:Zt.coursesId,limit:20,nonenavigate:!0}});let le=[...(ce==null?void 0:ce.course_groups)||[]];((Se=ce==null?void 0:ce.course_groups)==null?void 0:Se.length)<20&&(Nt(!1),le.push({id:0,name:"\u672A\u5206\u73ED"})),jn(!1),xn([...bn,...le])}}),wn=ae.createElement("section",{className:Me.dropmenu},ae.createElement("div",{style:{maxHeight:200,overflow:"auto"}},ae.createElement(Je(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Se=>{xt()},hasMore:ke,useWindow:!1},ae.createElement(Ee.default,{style:{width:240,zIndex:10}},(Ct==null?void 0:Ct.group_count)>0&&(bn==null?void 0:bn.filter(Se=>Se.edit_auth||Se.name==="\u672A\u5206\u73ED").map(function(Se,ce){return ae.createElement(Ee.default.Item,{key:Se.id},ae.createElement(et.default,{checked:Nn.includes(Se.id),value:Se.id,onChange:le=>{let we=Nn.indexOf(Se.id);Nn.indexOf(Se.id)>-1?ze(Nn.filter(Be=>Be!==Se.id)):ze(Nn.concat(Se.id))}},Se.name))}))))),ae.createElement("aside",{style:{background:"#fff"}},ae.createElement("div",null,ae.createElement(vt.ZP,{type:"link",onClick:()=>{_t(Nn)}},"\u786E\u5B9A"),ae.createElement(vt.ZP,{type:"link",onClick:()=>{ze([])}},"\u91CD\u7F6E")))),on=Qe==="\u9ED8\u8BA4\u6392\u5E8F";return ae.createElement("div",{className:Me.searchSortControllerContainer},!!(nt!=null&&nt.length)&&ae.createElement("div",null,ae.createElement(We.Z,{dropdownRender:()=>ae.createElement(Ee.default,{selectedKeys:[Qe]},nt.map(Se=>ae.createElement(Ee.default.Item,{key:Se.name,onClick:()=>hn(Se)},Se.name)))},ae.createElement("div",null,ae.createElement("span",{className:`${Me.btn} ${on?Me.btnSort:""}`},ae.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),Qe)))),on&&ae.createElement(Oe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},ae.createElement("span",{className:Me.tips},ae.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),kt&&ae.createElement(Ye.default,{defaultValue:"",onChange:En,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),ae.createElement(Ce.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:Ft,style:{width:220,marginLeft:kt?"":"auto"}}),(0,rt.eB)()&&ht&&ae.createElement(We.Z,{dropdownRender:()=>wn,open:Kt,onOpenChange:Se=>{mn(Se)}},ae.createElement("a",null,"\u5206\u73ED",Kt?ae.createElement(lt.Z,{style:{marginLeft:6}}):ae.createElement(Te.Z,{style:{marginLeft:6}}))))}},27930:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Te}});var ae=pe(59301),Ee=pe(95237),et=pe(43604),vt=pe(20834),We=pe(38854),Oe=pe(8591),Ye=pe(6848),Ce={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},Me=pe(63823),rt=pe(10102),Te=({isLoading:gt,addText:Je,tabDataSource:Re,isAdmin:je,dispatch:He,classroomList:Ke,type:ft,isExercise:$e,defaultSelectedKeys:dt,onTabMenuClick:Qe,getDropdownMenu:De,showControlButton:Ct,buttonText:Ft,buttonIcon:_t="icon-tianjiadaohang",extraNode:pt,user:ht,onButtonClick:Ge,isModelUser:Et,menuItemWidth:nt=125})=>{var kt,En,Kt,mn,Nn;const ze=(0,Me.useParams)();return ae.createElement("div",{className:Ce.tabMenuContainer},ae.createElement(Ee.Z,null,ae.createElement(et.Z,{flex:"1"},ae.createElement(vt.default,{onSelect:ke=>gt?{}:Qe(ke),mode:"horizontal",selectedKeys:dt},Re.map(ke=>ae.createElement(vt.default.Item,{style:{width:nt},key:typeof ke.index=="number"?ke.index:ke.id},ae.createElement("span",{className:"c-grey-666"},ke.name),ke.total!==void 0&&je&&ae.createElement("span",{className:"c-grey-999 ml20"},ke.total||0))))),je&&$e&&ae.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{He({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),je&&ae.createElement(et.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},$e&&ae.createElement(We.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>ae.createElement(vt.default,null,ae.createElement(vt.default.Item,{key:1,onClick:()=>{var ke;if((0,rt.Rm)()&&!((ke=Ke.AssistantObject.exercise)!=null&&ke.can_download)){Oe.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}He({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:ft,exportType:"exercise",category_id:ze.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),ae.createElement(vt.default.Item,{key:3,onClick:()=>{var ke;if((0,rt.Rm)()&&!((ke=Ke.AssistantObject.exercise)!=null&&ke.can_download)){Oe.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}Me.history.push(`/classrooms/${ze==null?void 0:ze.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},ae.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},ae.createElement("span",{style:{color:"#666666",cursor:"pointer"}},ae.createElement("i",{className:"iconfont icon-xiazai6"})))),ae.createElement("div",{className:Ce.control},ae.createElement("div",{className:Ce.extra},pt),Ct&&(Ft=="\u6DFB\u52A0\u76F4\u64AD"?ae.createElement(We.Z,{menu:{items:(En=(kt=[{label:ae.createElement("div",{onClick:()=>{Ge("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Et&&{label:ae.createElement("div",{onClick:()=>{Ge("\u5934\u6B4C")}},"\u5934\u6B4C\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:kt.filter(ke=>ke==null?void 0:ke.show))==null?void 0:En.map(ke=>({label:ke==null?void 0:ke.label,key:ke==null?void 0:ke.key}))}},ae.createElement("span",{className:Ce.selectBtn},ae.createElement("span",null,ae.createElement("i",{className:`iconfont ${_t}`})),ae.createElement("span",null,Ft))):ae.createElement("span",{onClick:Ge,style:{cursor:"pointer"},className:Ce.selectBtn},ae.createElement("span",null,ae.createElement("i",{className:`iconfont ${_t}`})),ae.createElement("span",null,Ft))),!!De&&ae.createElement(We.Z,{disabled:((Kt=ht==null?void 0:ht.userInfo)==null?void 0:Kt.user_status)===2,className:"ml10",dropdownRender:De},ae.createElement("span",{className:((mn=ht==null?void 0:ht.userInfo)==null?void 0:mn.user_status)===2?Ce.selectBtn1:Ce.selectBtn},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-tianjiadaohang"})),ae.createElement(Ye.Z,{title:((Nn=ht==null?void 0:ht.userInfo)==null?void 0:Nn.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},ae.createElement("span",null,Je||"\u521B\u5EFA\u8BD5\u5377"))))))))}},67426:function(Dt,Xt,pe){"use strict";pe.r(Xt),pe.d(Xt,{default:function(){return $l}});var ae=pe(68798),Ee=pe(59301),et=pe(63823),vt=pe(35783),We=pe(66649),Oe=pe.n(We),Ye=pe(20834),Ce=pe(24905),Me=pe(3113),rt=pe(8591),lt=pe(6848),Te=pe(71418),gt=pe(95237),Je=pe(43604),Re=pe(58421),je=pe(81228),He=pe(38854),Ke=pe(1710),ft=pe(22972),$e=pe(87395),dt=pe(84105),Qe=pe(10102),De=pe(71347),Ct=pe(43418),Ft=Object.defineProperty,_t=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Ge=(tt,Ze,Ve)=>Ze in tt?Ft(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Et=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))pt.call(Ze,Ve)&&Ge(tt,Ve,Ze[Ve]);if(_t)for(var Ve of _t(Ze))ht.call(Ze,Ve)&&Ge(tt,Ve,Ze[Ve]);return tt},nt=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const kt=({classroomList:tt,dispatch:Ze,cb:Ve})=>{const lr=(0,et.useParams)();return lr.id=lr.coursesId,Ee.createElement(Ct.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>nt(void 0,null,function*(){(yield(0,ft.ZP)(`/api/boards/${lr.categoryId}/messages/bulk_public.json`,{method:"put",body:{ids:[...tt.actionTabs.selectArrs]}})).status===0&&(rt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ve(),Ze({type:"classroomList/setActionTabs",payload:{}}),Ze({type:"classroomList/getBoardList",payload:Et({},tt.actionTabs.params)}))}),onCancel:()=>{Ze({type:"classroomList/setActionTabs",payload:{}})}},Ee.createElement("p",null,"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var En=(0,et.connect)(({classroomList:tt})=>({classroomList:tt}))(kt),Kt=Object.defineProperty,mn=Object.defineProperties,Nn=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,bn=(tt,Ze,Ve)=>Ze in tt?Kt(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,xn=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ke.call(Ze,Ve)&&bn(tt,Ve,Ze[Ve]);if(ze)for(var Ve of ze(Ze))Nt.call(Ze,Ve)&&bn(tt,Ve,Ze[Ve]);return tt},yt=(tt,Ze)=>mn(tt,Nn(Ze)),ct=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const Gt=({classroomList:tt,dispatch:Ze,cb:Ve})=>{const lr=(0,et.useParams)();lr.id=lr.coursesId;const{detailBoardList:cr}=tt;return Ee.createElement(Ct.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ct(void 0,null,function*(){var or,Si,Br;if((yield(0,ft.ZP)(`/api/boards/${lr.categoryId}/messages/bulk_delete.json`,{method:"delete",body:{ids:[...tt.actionTabs.selectArrs]}})).status===0){rt.ZP.success("\u5220\u9664\u6210\u529F");const Yn=tt.actionTabs.selectArrs.length===cr.messages.length&&((or=tt.actionTabs.params)==null?void 0:or.page)>1?((Si=tt.actionTabs.params)==null?void 0:Si.page)-1:(Br=tt.actionTabs.params)==null?void 0:Br.page;Ve(Yn),Ze({type:"classroomList/setActionTabs",payload:{}}),Ze({type:"classroomList/getBoardList",payload:yt(xn({},tt.actionTabs.params),{page:Yn})}),Ze({type:"classroomList/getClassroomLeftMenus",payload:{id:lr.coursesId}})}}),onCancel:()=>{Ze({type:"classroomList/setActionTabs",payload:{}})}},Ee.createElement("p",null,"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"))};var jn=(0,et.connect)(({classroomList:tt})=>({classroomList:tt}))(Gt),Zt=pe(78241),hn=pe(92832),xt=pe(26724),wn=pe.n(xt),on=Object.defineProperty,Se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,we=(tt,Ze,Ve)=>Ze in tt?on(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Be=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ce.call(Ze,Ve)&&we(tt,Ve,Ze[Ve]);if(Se)for(var Ve of Se(Ze))le.call(Ze,Ve)&&we(tt,Ve,Ze[Ve]);return tt},fe=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const st=({classroomList:tt,loading:Ze,dispatch:Ve})=>{const lr=Be({},(0,et.useParams)());let[cr,or]=(0,Ee.useState)([]);const[Si,Br]=(0,Ee.useState)(!0),[vn,Yn]=(0,Ee.useState)(1),[kn,po]=(0,Ee.useState)(!0);lr.page=0,lr.page_size=50,(0,Ee.useEffect)(()=>{tt.actionTabs.key==="\u53D1\u9001"&&de(1)},[tt.actionTabs.key]);const[Sa]=Zt.default.useForm(),de=ve=>fe(void 0,null,function*(){ve==1&&(cr=[]),lr.page=ve,po(!0);const be=yield Ve({type:"classroomList/getCoursesMine",payload:Be({},lr)});be.length<lr.page_size&&Br(!1),or([...cr,...be]),po(!1)});return Ee.createElement(Ct.default,{centered:!0,title:"\u53D1\u9001\u5E16\u5B50",open:tt.actionTabs.key==="\u53D1\u9001",width:600,bodyStyle:{minHeight:200},onOk:()=>fe(void 0,null,function*(){const ve=Sa.getFieldValue();(yield(0,ft.ZP)(`/api/boards/${lr.categoryId}/messages/bulk_send.json`,{method:"post",body:{ids:[...tt.actionTabs.selectArrs],to_course_ids:[...ve.group_ids]}})).status===0&&(rt.ZP.success("\u53D1\u5E03\u6210\u529F"),Ve({type:"classroomList/setActionTabs",payload:{}}))}),onCancel:()=>{Ve({type:"classroomList/setActionTabs",payload:{}})}},Ee.createElement("p",{className:"tc bold mb20"},"\u9009\u62E9\u7684\u5E16\u5B50\u53D1\u9001\u5230",Ee.createElement("span",{className:"c-orange"},"\u6307\u5B9A\u8BFE\u5802")),Ee.createElement(hn.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,onSearch:ve=>{or([]),lr.search=ve,de(1)}}),Ee.createElement("div",{className:"bg-skyblue",style:{height:260,overflow:"auto",padding:20}},Ee.createElement(wn(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:ve=>{de(ve)},hasMore:!kn&&Si,useWindow:!1},Ee.createElement(Zt.default,{form:Sa,initialValues:{}},Ee.createElement(Zt.default.Item,{name:"group_ids"},Ee.createElement(Ce.default.Group,null,cr==null?void 0:cr.map(function(ve,be){return Ee.createElement("div",{key:be},Ee.createElement(Ce.default,{style:{width:520},value:ve.id,className:"multi-ellipsis1 multi-ellipsis1-checkbox"},ve.name))}))),Ee.createElement(Te.Z,{className:"edu-ant-spin",spinning:kn})))))};var An=(0,et.connect)(({classroomList:tt,loading:Ze})=>({classroomList:tt,loading:Ze}))(st),Jn={flex_box_center:"flex_box_center___tJ8sD",flex_space_between:"flex_space_between___QHXpE",flex_box_vertical_center:"flex_box_vertical_center___ZYYZl",flex_box_center_end:"flex_box_center_end___NC0fp",flex_box_column:"flex_box_column___glmRH",bg:"bg___VIpM9",containerTitle:"containerTitle___ZiW6r",containerDesc:"containerDesc___BUHiq",listItem:"listItem___GrA1S",title:"title___aQdnl",titleLeft:"titleLeft___vFNJC",titleRight:"titleRight___yyOP4",flexBox:"flexBox___iDDhp",acitons:"acitons___ZJFDU",categoryName:"categoryName___unKei",moveCategory:"moveCategory___IteNR",copyTag:"copyTag___Yv9ax"},xr=pe(20534),ur=pe(22733),qr=pe(75698),ii=pe(68911),Ii=Object.defineProperty,fa=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,wi=(tt,Ze,Ve)=>Ze in tt?Ii(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,pr=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))co.call(Ze,Ve)&&wi(tt,Ve,Ze[Ve]);if(Sr)for(var Ve of Sr(Ze))Fa.call(Ze,Ve)&&wi(tt,Ve,Ze[Ve]);return tt},fs=(tt,Ze)=>fa(tt,qt(Ze)),$i=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const la=({classroomList:tt,boards:Ze,globalSetting:Ve,loading:lr,user:cr,dispatch:or})=>{var Si,Br,vn;const Yn=(0,et.useParams)(),kn=(0,Ee.useRef)(fs(pr({},Yn),{id:Yn.categoryId,page_size:20})),[po,Sa]=(0,Ee.useState)({page:1,page_size:20}),{detailBoardList:de,detailLeftMenus:ve,detailTopBanner:be,detailCourseGroupsList:Pe}=tt,[Ne,it]=(0,Ee.useState)([]),[at,Lt]=(0,Ee.useState)("\u6392\u5E8F"),{userInfo:Mt}=cr,[St,yn]=(0,Ee.useState)(!1),[Rt]=(0,et.useSearchParams)(),[Pt,un]=(0,Ee.useState)("all"),[Vt,bt]=(0,Ee.useState)({}),[jt,$t]=(0,Ee.useState)(1),[qn,On]=(0,Ee.useState)(!1),[pn,Cn]=(0,Ee.useState)(!1),[Dn,Rn]=(0,Ee.useState)(!0);let[Qr,Or]=(0,Ee.useState)([]);const[Yr,fi]=(0,Ee.useState)(!1),[xi,Li]=(0,Ee.useState)(!1),Hi=(0,et.useLocation)();let[fn,ar]=(0,Ee.useState)({page:1,page_size:20});const Er=(0,Ee.useMemo)(()=>{if(ve.course_modules)return tt.detailLeftMenus.course_modules.filter(an=>an.type==="board")[0]},[tt]);(0,Ee.useEffect)(()=>{var an;const Wn=ii.cX.getItem(`${(an=cr==null?void 0:cr.userInfo)==null?void 0:an.login}${(0,Qe.GJ)()?"Teacher":"Student"}`,"Board");Wn&&(Lt(Wn==null?void 0:Wn.name),kn.current.sort_type=_r.find(Ar=>Ar.name===(Wn==null?void 0:Wn.name)).id)},[(Si=cr==null?void 0:cr.userInfo)==null?void 0:Si.login,Hi==null?void 0:Hi.pathname]),(0,Ee.useEffect)(()=>{Rt.get("type")==="hudong"?(un("hudong"),qi(),ai()):un("all")},[Rt.get("type")]);const ai=()=>$i(void 0,null,function*(){var an;if(Dn&&!qn){On(!0),$t(jt+1);const Wn=yield or({type:"classroomList/getCourseGroupsList",payload:fs(pr({},kn),{page:jt,id:kn.current.coursesId,limit:20,nonenavigate:!0})});let Ar=[...Wn==null?void 0:Wn.course_groups];((an=Wn==null?void 0:Wn.course_groups)==null?void 0:an.length)<20&&(Rn(!1),Ar.push({id:0,name:"\u672A\u5206\u73ED"})),On(!1),Or([...Qr,...Ar])}});(0,Ee.useEffect)(()=>{kn.current.categoryId=Yn.categoryId,kn.current.id=Yn.categoryId,or({type:"classroomList/getBoardList",payload:kn.current})},[Yn]),(0,Ee.useEffect)(()=>{tt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&or({type:"classroomList/getBoardList",payload:kn.current})},[tt.actionTabs.key]),(0,Ee.useEffect)(()=>{it([])},[tt.detailBoardList]);const Hr=(an,Wn)=>{Sa({page:an,page_size:Wn}),kn.current.page=an,kn.current.page_size=Wn,or({type:"classroomList/getBoardList",payload:kn.current})},Zr=Ee.createElement("section",{className:Jn.dropmenu},Ee.createElement("div",{style:{maxHeight:200,overflow:"auto"}},Ee.createElement(wn(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:an=>{ai()},hasMore:Dn,useWindow:!1},Ee.createElement(Ye.default,{style:{width:240,zIndex:10}},Pe.group_count>0&&Qr.map(function(an,Wn){return Ee.createElement(Ye.default.Item,{key:an.id},Ee.createElement(Ce.default,{checked:Ne.includes(an.id),value:an.id,onChange:Ar=>{let oi=Ne.indexOf(an.id);Ne.indexOf(an.id)>-1?it(Ne.filter(Fi=>Fi!==an.id)):it(Ne.concat(an.id))}},an.name))})))),Ee.createElement("aside",{className:Jn.bg},Ee.createElement("div",null,Ee.createElement(Me.ZP,{type:"link",onClick:()=>$i(void 0,null,function*(){fn.group_ids=Ne,fn.page=1,ar(pr({},fn)),qi()})},"\u786E\u5B9A"),Ee.createElement(Me.ZP,{type:"link",onClick:()=>{it([])}},"\u91CD\u7F6E")))),_r=[{name:"\u65F6\u95F4\u6392\u5E8F",id:"time"},{name:"\u70ED\u5EA6\u6392\u5E8F",id:"hot"}];let Qi=[{name:"\u5220\u9664",icon:Ee.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u53D1\u9001",icon:Ee.createElement("i",{className:"iconfont icon-fasong"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:Ee.createElement("i",{className:"iconfont icon-sheweigongkai2"})}];be.is_public||Qi.splice(2,1);const Xi=an=>{var Wn;ii.cX.setItem(`${(Wn=cr==null?void 0:cr.userInfo)==null?void 0:Wn.login}${(0,Qe.GJ)()?"Teacher":"Student"}`,an,"Board"),Lt(an==null?void 0:an.name),kn.current.sort_type=_r.find(Ar=>Ar.name===(an==null?void 0:an.name)).id,or({type:"classroomList/getBoardList",payload:kn.current})},ro=(an,Wn)=>$i(void 0,null,function*(){Wn.coursesId=kn.current.coursesId;let Ar="boards/setTopping";an==="\u53D6\u6D88\u7F6E\u9876"&&(Ar="boards/escTopping"),yield or({type:Ar,payload:pr({},Wn)}),or({type:"classroomList/getBoardList",payload:kn.current})}),Da=an=>$i(void 0,null,function*(){const Wn=an.name;Ne==""?rt.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"):or({type:"classroomList/setActionTabs",payload:{key:Wn,selectArrs:Ne,params:kn.current}})}),mo=an=>$i(void 0,null,function*(){var Wn;if(Ne=="")return rt.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,ft.ZP)(`/api/boards/${kn.current.categoryId}/messages/bulk_move.json`,{method:"put",body:{ids:Ne,to_board_id:an.key}})).status===0&&(rt.ZP.success("\u64CD\u4F5C\u6210\u529F"),or({type:"classroomList/getBoardList",payload:kn.current}),or({type:"classroomList/getClassroomLeftMenus",payload:{id:(Wn=kn.current)==null?void 0:Wn.coursesId}}))});function qi(){return $i(this,null,function*(){var an;Cn(!0);let Wn=yield(0,ft.ZP)(`/api/boards/${kn.current.categoryId}/messages/statistics.json`,{method:"get",params:pr({coursesId:(an=kn.current)==null?void 0:an.coursesId},fn)});Cn(!1),(Wn==null?void 0:Wn.status)===0&&bt(Wn)})}return Ee.createElement("section",null,Ee.createElement(xr.Z,{isLoading:!1,tabDataSource:[{name:"\u5168\u90E8",id:"all"},(0,Qe.eB)()&&{name:"\u4E92\u52A8\u7EDF\u8BA1",id:"hudong"},((be==null?void 0:be.is_admin)||(0,Qe.Ny)())&&{name:"\u8BBE\u7F6E",id:"shezhi"}].filter(an=>!!an),isAdmin:(0,Qe.RV)(),onTabMenuClick:an=>{an.id==="hudong"&&(qi(),et.history.replace(`/classrooms/${kn.current.coursesId}/board/${kn.current.categoryId}?type=hudong`)),un(an.id)},defaultSelectedKeys:Pt,showControlButton:(0,Qe.RV)(),buttonText:"\u6211\u8981\u53D1\u5E16",extraNode:(0,Qe.GJ)()&&de.name!=="\u672A\u5206\u914D\u76EE\u5F55"&&Ee.createElement(Ee.Fragment,null,Ee.createElement("span",{className:"c-blue font16 ml20 current",onClick:an=>{var Wn;an.preventDefault();let Ar=(Wn=kn.current)==null?void 0:Wn.coursesId;(de==null?void 0:de.parent_id)>0&&(Ar=kn.current.categoryId),or({type:"classroomList/setActionTabs",payload:{key:(de==null?void 0:de.parent_id)===0?"\u6DFB\u52A0\u76EE\u5F55":"\u76EE\u5F55\u91CD\u547D\u540D",params:kn.current,selectArrs:{category_id:Ar,category_name:de.name,type:"board"},cb:()=>{or({type:"classroomList/getBoardList",payload:kn.current})}}})}},(de==null?void 0:de.parent_id)==0?Ee.createElement(lt.Z,{title:"\u65B0\u5EFA\u76EE\u5F55"},Ee.createElement("i",{className:"iconfont icon-xinjianmulu1 c-blue font16 mr20 current"})):Ee.createElement(lt.Z,{title:"\u76EE\u5F55\u91CD\u547D\u540D"},Ee.createElement("i",{className:"iconfont icon-zhongmingming1 c-blue font16 mr20 current"})))),onButtonClick:()=>{et.history.push(`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/add`)}}),Pt==="all"?Ee.createElement("div",null,Ee.createElement(Te.Z,{spinning:lr["classroomList/getBoardList"]},Ee.createElement(ur.Z,{dataSource:de.messages||[],isAdmin:(0,Qe.GJ)(),batchStatus:St,SortMenuName:at,setSortMenuName:Lt,SortMenus:_r,dispatch:or,isboard:!0,onBoard:an=>{kn.current.group_ids=an,kn.current.page=1,Sa(Wn=>fs(pr({},Wn),{page:1})),or({type:"classroomList/getBoardList",payload:kn.current})},detailCourseGroupsList:Pe,onSearch:an=>{kn.current.search=an,kn.current.page=1,Sa(Wn=>fs(pr({},Wn),{page:1})),or({type:"classroomList/getBoardList",payload:kn.current})},onSort:Xi,onBatch:an=>yn(an)}),de.total_count===0&&Ee.createElement(De.Z,null),de.messages&&de.messages.map(function(an,Wn){var Ar,oi;return Ee.createElement("div",{className:Jn.listItem,key:Wn,onClick:Fi=>{Ne.indexOf(an.id)>-1?it(Ne.filter(Ga=>Ga!==an.id)):it(Ne.concat(an.id))}},Ee.createElement(gt.Z,{align:"top"},(0,Qe.GJ)()&&Ee.createElement(Je.Z,null,Ee.createElement("div",{className:"mt17"},((0,Qe.Ny)()||((Ar=an==null?void 0:an.author)==null?void 0:Ar.login)===Mt.login||(0,Qe.GJ)()&&!an.author.is_teacher)&&Ee.createElement(Ce.default,{checked:Ne.includes(an.id),value:an.id}))),Ee.createElement(Je.Z,null,Ee.createElement("img",{className:"ml10 mr20",src:`${vt.Z.IMG_SERVER}/images/${an.author.image_url}`})),Ee.createElement(Je.Z,{flex:1},Ee.createElement("div",{className:Jn.title},Ee.createElement("div",{className:Jn.titleLeft},Ee.createElement(et.Link,{to:`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/Detail/${an.id}`},Ee.createElement("strong",null,an.subject)),(an==null?void 0:an.is_copy)&&Ee.createElement("span",{className:Jn.copyTag},"\u590D\u5236"),an.sticky===1&&Ee.createElement("span",{className:"tag-topping ml10"},"\u7F6E\u9876"))),Ee.createElement("p",{className:"mt15"},Ee.createElement("span",{className:""},an.author.name),an.total_replies_count>0&&Ee.createElement("span",{className:"ml20 c-light-black "},an.total_replies_count," \u56DE\u590D"),an.praises_count>0&&Ee.createElement("span",{className:"ml20 c-light-black "},an.praises_count," \u70B9\u8D5E"),an.visits>0&&Ee.createElement("span",{className:"ml20 c-light-black "},an.visits," \u6D4F\u89C8"),Ee.createElement("span",{className:"ml20 c-light-black "},Oe()(an.created_on).fromNow()))),Ee.createElement(Je.Z,{className:"tr"},Ee.createElement("p",null,(0,Qe.RV)()&&Ee.createElement(et.Link,{style:{marginRight:0},to:`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/Detail/${an.id}`},Ee.createElement("aside",{className:Jn.flexBox},Ee.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Ee.createElement("div",null,"\u8BE6\u60C5"))),an.sticky===0&&(0,Qe.GJ)()&&Ee.createElement(et.Link,{className:"ml15",to:"",onClick:Fi=>{Fi.preventDefault(),ro("\u7F6E\u9876",an)}},"\u7F6E\u9876"),an.sticky===1&&(0,Qe.GJ)()&&Ee.createElement(et.Link,{className:"ml15",to:"",onClick:Fi=>{Fi.preventDefault(),ro("\u53D6\u6D88\u7F6E\u9876",an)}},"\u53D6\u6D88\u7F6E\u9876"),((0,Qe.Ny)()||((oi=an==null?void 0:an.author)==null?void 0:oi.login)===Mt.login||(0,Qe.GJ)()&&!an.author.is_teacher)&&Ee.createElement(et.Link,{className:"",to:`/classrooms/${Yn.coursesId}/board/${an.board_id}/Edit/${an.id}`},Ee.createElement("aside",{className:Jn.flexBox,style:{marginLeft:"16px"}},Ee.createElement("i",{className:"iconfont icon-bianjizuoye"}),Ee.createElement("div",null,"\u7F16\u8F91")))),an.category_name&&Ee.createElement("p",{className:["c-grey-666",Jn.categoryName].join(" ")},"\u6240\u5C5E\u76EE\u5F55\uFF1A",an.category_name))))}),Ee.createElement("aside",{className:"tc mb50 mt30"},de.total_count>0&&Ee.createElement(Re.Z,{showSizeChanger:!0,onChange:Hr,defaultCurrent:1,pageSize:po.page_size||20,current:po.page||1,total:de.total_count})),Ne.length>0&&(0,Qe.GJ)()&&Ee.createElement(je.Z,{offsetBottom:0},Ee.createElement(qr.Z,{buttonDataSource:Qi,onButtonClick:Da,useBatchStatus:yn,catalogue:Er.second_category.filter(an=>an.category_name!=="\u672A\u5206\u914D\u76EE\u5F55")||[],allSelect:Ne.length?Ne.length===((Br=de==null?void 0:de.messages)==null?void 0:Br.length):!1,setSeleArr:it,setAllSelect:an=>{an.target.checked?it(de.messages.map(Wn=>Wn.id)):it([])},selectArrs:Ne,onMenuClick:mo,addCatalogue:an=>{an.preventDefault(),or({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:kn.current,selectArrs:{category_id:kn.current.coursesId,type:"board"}}})}})),Ee.createElement(jn,{cb:an=>{it([]),kn.current.page=an,Sa(Wn=>fs(pr({},Wn),{page:an}))}}),Ee.createElement(En,{cb:()=>it([])}),Ee.createElement(An,{cb:()=>it([])}))):Pt==="shezhi"?Ee.createElement("div",{style:{background:"#fff",padding:20}},Ee.createElement("h5",{style:{fontSize:18}},"\u516C\u5F00\u8BBE\u7F6E"),Ee.createElement(Ce.default,{style:{marginTop:10},defaultChecked:be==null?void 0:be.allow_view_message,onChange:an=>$i(void 0,null,function*(){var Wn,Ar;let oi=yield(0,ft.ZP)(`/api/courses/${(Wn=kn.current)==null?void 0:Wn.coursesId}/update_view_setting.json`,{method:"PUT",body:{allow_view_message:an.target.checked}});(oi==null?void 0:oi.status)===0&&or({type:"classroomList/getClassroomTopBanner",payload:{id:(Ar=kn.current)==null?void 0:Ar.coursesId}})})},"\u5168\u8BFE\u5802\u53EF\u89C1\uFF08\u672A\u52FE\u9009\u5219\u5B66\u751F\u53D1\u5E03\u7684\u8BA8\u8BBA\u53EA\u80FD\u9009\u62E9\u540C\u73ED\u5B66\u751F\u53EF\u89C1\uFF09")):Ee.createElement("div",{style:{background:"#fff",padding:"25px 20px"}},Ee.createElement("div",{style:{display:"flex"}},Ee.createElement("div",{style:{flex:1,color:"#666666"}},Ee.createElement("span",null,"\u8BA8\u8BBA\uFF08",Vt.total_message_count,"\uFF09"),Ee.createElement("span",{style:{marginLeft:20}},"\u56DE\u590D\uFF08",Vt.total_reply_count,"\uFF09"),Ee.createElement("span",{style:{marginLeft:20}},"\u70B9\u8D5E\uFF08",Vt.total_like_count,"\uFF09")),(0,Qe.GJ)()&&Ee.createElement("div",null,Ee.createElement(He.Z,{dropdownRender:()=>Zr,open:Yr,onOpenChange:an=>{fi(an)}},Ee.createElement("a",null,"\u5206\u73ED",Yr?Ee.createElement($e.Z,{style:{marginLeft:6}}):Ee.createElement(dt.Z,{style:{marginLeft:6}}))),Ee.createElement(He.Z,{open:xi,onOpenChange:an=>{Li(an)},menu:{items:[{key:"1",style:{width:100},label:Ee.createElement("a",{onClick:()=>$i(void 0,null,function*(){var an,Wn;let Ar=yield(0,ft.ZP)(`/api/boards/${(an=kn.current)==null?void 0:an.categoryId}/messages/export_messages.json`,{method:"get",params:pr({is_repeat_export:1},fn)});(Ar==null?void 0:Ar.status)===0&&et.history.push(`/classrooms/${(Wn=kn.current)==null?void 0:Wn.coursesId}/exportlist/messages_statistics`)})},"\u4E92\u52A8\u5BFC\u51FA")},{key:"2",label:Ee.createElement("a",{href:`/classrooms/${(vn=kn.current)==null?void 0:vn.coursesId}/exportlist/messages_statistics`},"\u5386\u53F2\u5BFC\u51FA")}]}},Ee.createElement("a",{style:{marginLeft:20}},"\u5BFC\u51FA",xi?Ee.createElement($e.Z,{style:{marginLeft:6}}):Ee.createElement(dt.Z,{style:{marginLeft:6}}))))),Ee.createElement(Ke.default,{dataSource:Vt==null?void 0:Vt.course_members,style:{marginTop:25},loading:pn,onChange:(an,Wn,Ar)=>{Ar.order?(fn.sort_by=Ar.field==="total_score"?"score":Ar.field,fn.sort=Ar.order,fn.sort=fn.sort.replace("end","")):delete fn.sort,qi()},columns:[{title:"\u5E8F\u53F7",dataIndex:"number",width:60,render:(an,Wn,Ar)=>fn.page_size*(fn.page-1)+Ar+1},{title:"\u59D3\u540D",dataIndex:"real_name",render:(an,Wn,Ar)=>Ee.createElement("a",{target:"_blank",style:{color:"#3061D0"},href:`/users/${Wn==null?void 0:Wn.login}/classrooms`},an)},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u5206\u73ED",dataIndex:"course_group_name"},{title:"\u53D1\u5E16\u6570",dataIndex:"message_count",width:60},{title:"\u5E16\u5B50\u70B9\u8D5E\u6570",dataIndex:"message_like_count",width:100},{title:"\u56DE\u590D\u6570",dataIndex:"reply_count",width:60},{title:"\u56DE\u590D\u70B9\u8D5E\u6570",dataIndex:"reply_like_count",width:100},{title:"\u4E92\u52A8\u6570",dataIndex:"total_message_count",width:70}],pagination:!1}),Ee.createElement(Re.Z,{showSizeChanger:!0,showTotal:an=>Ee.createElement("span",null,"\u5171",Ee.createElement("span",{style:{color:"#165DFF"}},Vt.total_count)," \u6761\u6570\u636E"),style:{marginTop:10},onChange:(an,Wn)=>{fn.page=an,fn.page_size=Wn,ar(pr({},fn)),qi()},defaultCurrent:1,pageSize:fn.page_size||20,current:fn.page||1,total:Vt.total_count})))};var ea=(0,et.connect)(({classroomList:tt,loading:Ze,boards:Ve,user:lr,globalSetting:cr})=>({classroomList:tt,globalSetting:cr,boards:Ve,user:lr,loading:Ze.effects}))(la),pi=pe(59301);const $o=({classroomList:tt,boards:Ze,globalSetting:Ve,loading:lr,user:cr,dispatch:or})=>{const Si=(0,et.useParams)(),{detailBoardList:Br,detailLeftMenus:vn,detailTopBanner:Yn}=tt;return pi.createElement(ea,null)};var ks=(0,et.connect)(({classroomList:tt,loading:Ze,boards:Ve,user:lr,globalSetting:cr})=>({classroomList:tt,globalSetting:cr,boards:Ve,user:lr,loading:Ze.models.index}))($o),za=pe(78673),gi=Object.defineProperty,Ti=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,jo=(tt,Ze,Ve)=>Ze in tt?gi(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Ji=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))es.call(Ze,Ve)&&jo(tt,Ve,Ze[Ve]);if(Ti)for(var Ve of Ti(Ze))ts.call(Ze,Ve)&&jo(tt,Ve,Ze[Ve]);return tt},ns=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const Ci=({classroomList:tt,dispatch:Ze,cb:Ve})=>{const lr=(0,et.useParams)();return lr.id=lr.coursesId,Ee.createElement(Ct.default,{centered:!0,title:"\u63D0\u793A",open:tt.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ns(void 0,null,function*(){(yield(0,ft.ZP)(`/api/boards/${lr.categoryId}/messages/bulk_public.json`,{method:"put",body:{ids:[...tt.actionTabs.selectArrs]}})).status===0&&(rt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ve(),Ze({type:"classroomList/setActionTabs",payload:{}}),Ze({type:"classroomList/getBoardList",payload:Ji({},tt.actionTabs.params)}))}),onCancel:()=>{Ze({type:"classroomList/setActionTabs",payload:{}})}},Ee.createElement("p",null,"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Sl=(0,et.connect)(({classroomList:tt})=>({classroomList:tt}))(Ci),ps=pe(29240),ta=pe(89762),pa={flex_box_center:"flex_box_center___hePrT",flex_space_between:"flex_space_between___ORkbo",flex_box_vertical_center:"flex_box_vertical_center___cCpIF",flex_box_center_end:"flex_box_center_end___c_jTW",flex_box_column:"flex_box_column___wD0ra",bg:"bg___XwUKY",containerTitle:"containerTitle___ImnKq",containerDesc:"containerDesc___yUKqL",listItem:"listItem___SUzaY",title:"title___hjA_e",titleLeft:"titleLeft___GGFEY",titleRight:"titleRight___aNGKY",flexBox:"flexBox___IQB_j",acitons:"acitons___VXZ66",categoryName:"categoryName___gefjO",moveCategory:"moveCategory___OFSGW",copyTag:"copyTag___dGmyT"},Ho=pe(27930),Tr=pe(30095),ir=pe(40074),Mr=pe(79825),vi=pe(3560),hi={collect:"collect___uk5xF",head:"head___op8aW",btn:"btn___rzfic"},_i=pe(5873),Fe=pe(57809),Ue=pe(54580),Jt=pe(32862),Ht=pe(59301),Ot=Object.defineProperty,Sn=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,sn=(tt,Ze,Ve)=>Ze in tt?Ot(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,kr=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))In.call(Ze,Ve)&&sn(tt,Ve,Ze[Ve]);if(Sn)for(var Ve of Sn(Ze))Bn.call(Ze,Ve)&&sn(tt,Ve,Ze[Ve]);return tt},$r=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())}),Qt=({onOk:tt,onCancel:Ze,visible:Ve,modalParams:lr,forceIn:cr})=>{const[or]=Zt.default.useForm(),[Si,Br]=(0,Ee.useState)(!1),vn=cr?!1:typeof Ve=="number";(0,Ee.useEffect)(()=>{Ve?or.setFieldsValue(kr({},lr)):or.resetFields()},[Ve]);const Yn=kn=>$r(void 0,null,function*(){Br(!0),yield tt(kn),Br(!1)});return Ht.createElement(Ct.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ze(),onOk:()=>or.submit(),open:!!Ve,confirmLoading:Si,title:vn?"\u7F16\u8F91\u95EE\u7B54":"\u65B0\u589E\u95EE\u7B54",width:900,okText:vn?"\u786E\u5B9A":"\u52A0\u5165\u95EE\u9898\u96C6"},Ht.createElement(Zt.default,{form:or,size:"large",onFinish:Yn},Ht.createElement(Zt.default.Item,{name:"title",label:"\u95EE\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"}]},Ht.createElement(hn.default.TextArea,{style:{height:200},placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u95EE\u9898"})),Ht.createElement(Zt.default.Item,{className:"mb0",name:"content",label:"\u56DE\u7B54",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54"}]},Ht.createElement(Jt.Z,{height:220,className:"mb0",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u56DE\u7B54",watch:!0,defaultValue:lr==null?void 0:lr.content})),Ht.createElement(Zt.default.Item,{className:"mb0",valuePropName:"checked",initialValue:!1,name:"is_top"},Ht.createElement(Ce.default,{style:{marginLeft:53,marginTop:24}},"\u8BBE\u4E3A\u70ED\u95E8\u95EE\u9898"))))},Tn=pe(59301),yi=Object.defineProperty,Vi=Object.getOwnPropertySymbols,ua=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,Bi=(tt,Ze,Ve)=>Ze in tt?yi(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,tr=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ua.call(Ze,Ve)&&Bi(tt,Ve,Ze[Ve]);if(Vi)for(var Ve of Vi(Ze))Xr.call(Ze,Ve)&&Bi(tt,Ve,Ze[Ve]);return tt},Mi=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())}),ei=({visible:tt,onCancel:Ze})=>{const[Ve,lr]=(0,Ee.useState)(!1),[cr,or]=(0,Ee.useState)(0),[Si,Br]=(0,Ee.useState)([]),[vn,Yn]=(0,Ee.useState)({page:1,limit:10});(0,Ee.useEffect)(()=>{tt&&kn(vn)},[tt]);const kn=de=>Mi(void 0,null,function*(){var ve,be;lr(!0);const Pe=yield(0,ft.ZP)(`/api/course_qna_sets/${tt}/hit_history.json`,{method:"get",params:de});Pe.status===0&&(Br(((ve=Pe==null?void 0:Pe.data)==null?void 0:ve.list)||[]),or((be=Pe==null?void 0:Pe.data)==null?void 0:be.size)),lr(!1)}),po=[{title:"\u7528\u6237\u63D0\u95EE",dataIndex:"question",ellipsis:!0,render:de=>Tn.createElement(lt.Z,{placement:"topLeft",title:de},Tn.createElement("span",{className:"c-black"},de||"--"))},{title:"\u56DE\u7B54",dataIndex:"answer",ellipsis:!0,render:de=>Tn.createElement(lt.Z,{placement:"topLeft",title:de},Tn.createElement("span",{className:"c-black"},de||"--"))},{title:"\u7528\u6237",dataIndex:"user_name",ellipsis:!0,render:de=>Tn.createElement(lt.Z,{placement:"topLeft",title:de},Tn.createElement("span",{className:"c-black"},de||"--"))},{title:"\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,render:de=>Tn.createElement("span",{className:"c-black"},Oe()(de).format("YYYY-MM-DD HH:mm"))}],Sa=(de,ve)=>{vn.page=de,vn.limit=ve,Yn(tr({},vn)),kn(vn)};return Tn.createElement(Ct.default,{title:"\u547D\u4E2D\u5386\u53F2",open:!!tt,centered:!0,width:1e3,footer:null,onCancel:Ze},Tn.createElement(Ke.default,{columns:po,className:"mt20",dataSource:Si,loading:Ve,rowKey:"id",scroll:(Si==null?void 0:Si.length)>7?{y:300}:{},pagination:{current:vn.page,hideOnSinglePage:!cr,showQuickJumper:!0,showSizeChanger:!0,pageSize:vn.limit,pageSizeOptions:["10","20","50","100","200"],total:cr,size:"default",showTotal:ii.rU,onChange:Sa}}))},Kr=Object.defineProperty,Pi=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,li=(tt,Ze,Ve)=>Ze in tt?Kr(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,ni=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ti.call(Ze,Ve)&&li(tt,Ve,Ze[Ve]);if(Pi)for(var Ve of Pi(Ze))bi.call(Ze,Ve)&&li(tt,Ve,Ze[Ve]);return tt};const Ur=tt=>React.createElement("svg",ni({width:17,height:21,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"\u{1F525}"),React.createElement("text",{transform:"translate(-22 -23)",fill:"#232B40",fillRule:"evenodd",fontFamily:"AppleColorEmoji, Apple Color Emoji",fontSize:18},React.createElement("tspan",{x:20,y:41},"\u{1F525}")));var ui="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRleHQgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyIC0yMykiIGZpbGw9IiMyMzJCNDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZm9udC1mYW1pbHk9IkFwcGxlQ29sb3JFbW9qaSwgQXBwbGUgQ29sb3IgRW1vamkiIGZvbnQtc2l6ZT0iMTgiPgogICAgICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMjAiIHk9IjQxIj7wn5SlPC90c3Bhbj4KICAgICAgICAgICAgICAgICAgICA8L3RleHQ+PC9zdmc+",mr=pe(59301),ho=Object.defineProperty,oo=Object.defineProperties,fo=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,ki=(tt,Ze,Ve)=>Ze in tt?ho(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Oi=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))so.call(Ze,Ve)&&ki(tt,Ve,Ze[Ve]);if(wa)for(var Ve of wa(Ze))Ea.call(Ze,Ve)&&ki(tt,Ve,Ze[Ve]);return tt},ma=(tt,Ze)=>oo(tt,fo(Ze)),ga=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())}),Ka=({})=>{const tt=(0,et.useParams)(),[Ze,Ve]=(0,Ee.useState)(!1),[lr,cr]=(0,Ee.useState)(0),[or,Si]=(0,Ee.useState)([]),[Br,vn]=(0,Ee.useState)(!1),[Yn,kn]=(0,Ee.useState)({title:"",content:""}),[po,Sa]=(0,Ee.useState)(!1),[de,ve]=(0,Ee.useState)(""),[be,Pe]=(0,Ee.useState)(!1),[Ne,it]=(0,Ee.useState)([]),[at,Lt]=(0,Ee.useState)(""),Mt=tt==null?void 0:tt.coursesId,[St,yn]=(0,Ee.useState)({keyword:"",is_top:0,page:1,limit:10,questionable_type:"Course",questionable_id:Mt});(0,Ee.useEffect)(()=>{Rt(St)},[]);const Rt=pn=>ga(void 0,null,function*(){var Cn,Dn;Ve(!0);const Rn=yield(0,ft.ZP)("/api/course_qna_sets.json",{method:"get",params:pn});Rn.status===0&&(Si(((Cn=Rn==null?void 0:Rn.data)==null?void 0:Cn.list)||[]),cr((Dn=Rn==null?void 0:Rn.data)==null?void 0:Dn.size)),Ve(!1)}),Pt=pn=>{St.keyword=pn,St.page=1,yn(Oi({},St)),Rt(St)},un=pn=>{St.is_top=pn,St.page=1,yn(Oi({},St)),Rt(St)},Vt=(pn,Cn)=>{St.page=pn,St.limit=Cn,yn(Oi({},St)),Rt(St)},bt=pn=>ga(void 0,null,function*(){const Cn=ma(Oi({},pn),{questionable_type:"Course",questionable_id:Mt});if(typeof Br=="number"){const Dn=yield(0,ft.ZP)(`/api/course_qna_sets/${Br}/update_qna_sets.json`,{method:"post",body:Cn});(Dn==null?void 0:Dn.status)===0&&(rt.ZP.success("\u7F16\u8F91\u6210\u529F"),Rt(St),vn(!1))}else{const Dn=yield(0,ft.ZP)("/api/course_qna_sets/add_qna_sets.json",{method:"post",body:Cn});(Dn==null?void 0:Dn.status)===0&&(rt.ZP.success("\u6DFB\u52A0\u6210\u529F"),St.page=1,St.keyword="",yn(Oi({},St)),Rt(St),vn(!1))}}),jt=pn=>ga(void 0,null,function*(){Ct.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",onOk:()=>ga(void 0,null,function*(){const Cn=yield(0,ft.ZP)(`/api/course_qna_sets/${pn==null?void 0:pn.id}/remove_qna_sets.json`,{method:"post",body:{questionable_type:"Course",questionable_id:Mt}});if((Cn==null?void 0:Cn.status)===0){const Dn=or.length===1&&St.page>1?St.page-1:St.page;St.page=Dn,yn(Oi({},St)),Rt(St),rt.ZP.success("\u5220\u9664\u6210\u529F")}})})}),$t=[{title:"\u5E8F\u53F7",dataIndex:"index",width:100,render:(pn,Cn,Dn)=>`${(St.page-1)*St.limit+Dn+1}`},{title:"\u95EE\u9898",dataIndex:"title",ellipsis:!0,render:(pn,Cn)=>mr.createElement(lt.Z,{placement:"topLeft",title:pn},mr.createElement("span",{className:"c-black"},Cn.is_top&&mr.createElement("img",{width:12,className:"mr5",src:ui,style:{marginTop:"-4px"}}),pn||"--"))},{title:"\u56DE\u7B54",dataIndex:"content",ellipsis:!0,render:pn=>mr.createElement(lt.Z,{placement:"topLeft",title:pn},mr.createElement("span",{className:"c-black"},pn||"--"))},{title:"\u547D\u4E2D\u6B21\u6570",width:100,dataIndex:"hit_count",render:(pn,Cn)=>mr.createElement("span",{onClick:()=>{ve(Cn.id)},className:"current c-light-primary"},pn)},{title:"\u64CD\u4F5C",width:104,align:"right",dataIndex:"id",ellipsis:!0,render:(pn,Cn)=>mr.createElement("span",null,mr.createElement("span",{className:"c-light-primary current mr20",onClick:()=>{vn(pn),kn({title:Cn==null?void 0:Cn.title,content:Cn==null?void 0:Cn.content,is_top:Cn==null?void 0:Cn.is_top})}},"\u7F16\u8F91"),mr.createElement("span",{className:"current c-red",onClick:()=>jt(Cn)},"\u5220\u9664"))}],qn={onRemove:()=>{it([])},beforeUpload:pn=>{if((pn==null?void 0:pn.size)>1024*1024*50)return rt.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!(pn.type==="application/vnd.ms-excel"||pn.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))return rt.ZP.info("\u8BF7\u4E0A\u4F20 .xls \u6216 .xlsx \u6587\u4EF6\uFF01"),!1;let Dn=[];return Dn.push(pn),it([...Dn]),!1},fileList:Ne,accept:".xls,.xlsx"},On=[{value:0,label:"\u5168\u90E8\u95EE\u9898"},{value:1,label:"\u70ED\u95E8\u95EE\u9898"}];return mr.createElement("div",{className:hi.collect},mr.createElement("div",{className:hi.head},mr.createElement("div",{className:hi.btn,onClick:()=>Sa(!0)},mr.createElement("i",{className:"iconfont icon-daoru1 font19 mr5"}),mr.createElement("span",null,"\u5BFC\u5165")),mr.createElement("div",{className:hi.btn,onClick:()=>{const pn=`${vt.Z.API_SERVER}/api/course_qna_sets/export.json?questionable_id=${Mt}&questionable_type=Course`;(0,ii.Nd)(null,pn)}},mr.createElement("i",{className:"iconfont icon-daochu2 font19 mr5"}),mr.createElement("span",null,"\u5BFC\u51FA")),mr.createElement(_i.op,{style:{padding:"0 10px",height:30,borderRadius:4,lineHeight:"30px",background:"#0152d9"},type:"primary",shape:"default",onClick:()=>{vn(!0),kn({title:"",content:""})}},mr.createElement("i",{style:{display:"inline-block",transform:"scale(0.7)",marginRight:2},className:"iconfont icon-tianjiadaohang"}),"\u65B0\u589E\u95EE\u7B54")),mr.createElement(gt.Z,{align:"middle",justify:"space-between"},mr.createElement(Fe.default,{value:St.is_top,placeholder:"\u8BF7\u9009\u62E9\u56DE\u7B54\u6765\u6E90",onChange:un,options:On,style:{width:160}}),mr.createElement(hn.default.Search,{style:{width:274},placeholder:"\u8BF7\u8F93\u5165\u95EE\u9898\u3001\u95EE\u7B54",value:at,onChange:pn=>Lt(pn.target.value),onSearch:Pt})),mr.createElement(Ke.default,{columns:$t,className:"mt20",dataSource:or,loading:Ze,rowKey:"id",pagination:{current:St.page,hideOnSinglePage:!lr,showQuickJumper:!0,showSizeChanger:!0,pageSize:St.limit,pageSizeOptions:["10","20","50","100","200"],total:lr,size:"default",showTotal:ii.rU,onChange:Vt}}),mr.createElement(Ct.default,{title:"\u5BFC\u5165\u95EE\u7B54",open:po,centered:!0,zIndex:800,confirmLoading:be,onCancel:()=>{Sa(!1),it([])},onOk:()=>ga(void 0,null,function*(){var pn;const Cn=new FormData;if(Cn.append("questionable_id",Mt),Cn.append("questionable_type","Course"),Ne.length>0)Cn.append("file",Ne[0]);else{rt.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}Pe(!0);let Dn=yield(0,ft.ZP)("/api/course_qna_sets/import.json",{method:"post",body:Cn},!0);(Dn==null?void 0:Dn.status)===0&&((pn=Dn==null?void 0:Dn.fail)!=null&&pn.length?Ct.default.confirm({icon:null,width:485,title:"\u5BFC\u5165\u5931\u8D25",centered:!0,content:mr.createElement("span",null,"\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D",mr.createElement("a",{href:`${vt.Z.API_SERVER}/api/course_qna_sets/down_error_import_file.json?course_id=${Mt}`},"\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E"),"\u67E5\u770B")}):(rt.ZP.success("\u5BFC\u5165\u6210\u529F"),St.page=1,St.keyword="",yn(Oi({},St)),Rt(St),Sa(!1),it([]))),Pe(!1)})},mr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E00\uFF1A",mr.createElement("span",{className:"ml15 mr5"},"\u4E0B\u8F7D"),mr.createElement("a",{href:`${vt.Z.API_SERVER}/api/course_qna_sets/down_template`},"\u5BFC\u5165\u95EE\u7B54\u96C6\u6A21\u677F"),"\uFF0C\u5E76\u586B\u5199\u5BF9\u5E94\u5185\u5BB9"),mr.createElement("p",{style:{color:"#232B40"}},"\u6B65\u9AA4\u4E8C\uFF1A",mr.createElement("span",{className:"ml15"},"\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u5BFC\u5165\u95EE\u7B54\u6A21\u677F\u300B")),mr.createElement("div",{style:{marginLeft:74}},mr.createElement(Ue.default,Oi({},qn),mr.createElement(_i.op,{shape:"default",icon:mr.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6")))),mr.createElement(Qt,{visible:Br,onCancel:()=>vn(!1),onOk:bt,modalParams:Yn}),mr.createElement(ei,{visible:de,onCancel:()=>ve(!1)}))},Di={dialogue:"dialogue___AZQe5",liWrap:"liWrap___RA0by",li:"li___oYseT",line:"line___dgHwf",apply:"apply___jYcZw",content:"content___qBZkI",borderBox:"borderBox___LiE89",text:"text___vS7k8",source:"source___elq8M",action:"action____3wiz",teacher:"teacher___MrQ2w",student:"student___OGycs"},Wo=pe(5083),Za=Object.defineProperty,Va=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Na=(tt,Ze,Ve)=>Ze in tt?Za(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Fo=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Io.call(Ze,Ve)&&Na(tt,Ve,Ze[Ve]);if(Va)for(var Ve of Va(Ze))To.call(Ze,Ve)&&Na(tt,Ve,Ze[Ve]);return tt};const Gi=tt=>React.createElement("svg",Fo({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"1"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"2.064%",x2:"50%",y2:"100%",id:"a1_svg__a"},React.createElement("stop",{stopColor:"#E1FFFD",offset:"0%"}),React.createElement("stop",{stopColor:"#EBFFFD",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a1_svg__a)",width:38,height:38,rx:19}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M21.665 9a2.486 2.486 0 0 1 2.484 2.484v6.21a2.483 2.483 0 0 1-2.484 2.482H14.3l-3.817.004A2.488 2.488 0 0 1 8 17.696v-6.212A2.486 2.486 0 0 1 10.484 9ZM16 11c-.316 0-.571.224-.571.5V14H12.57a.59.59 0 0 0-.494.25.446.446 0 0 0 0 .5.59.59 0 0 0 .494.25h2.858v2.5c0 .276.255.5.571.5.316 0 .571-.224.571-.5V15h2.858c.315 0 .571-.224.571-.5s-.256-.5-.571-.5H16.57v-2.5c0-.276-.255-.5-.571-.5Z",fill:"#3CCAAD"}),React.createElement("path",{d:"M27.88 15.22a2.486 2.486 0 0 1 2.485 2.485v6.212a2.488 2.488 0 0 1-2.484 2.484h-1.243v2.107c0 .31-.352.49-.6.303l-3.216-2.41h-4.88a2.488 2.488 0 0 1-2.484-2.484v-2.485h6.211a3.734 3.734 0 0 0 3.727-3.727v-2.484h2.485Z",fill:"#5CD2BA"}))));var Aa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIyLjA2NCUiIHgyPSI1MCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iI0UxRkZGRCIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNFQkZGRkQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHJlY3QgZmlsbD0idXJsKCNhKSIgd2lkdGg9IjM4IiBoZWlnaHQ9IjM4IiByeD0iMTkiLz48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxwYXRoIGQ9Ik0yMS42NjUgOWEyLjQ4NiAyLjQ4NiAwIDAgMSAyLjQ4NCAyLjQ4NHY2LjIxYTIuNDgzIDIuNDgzIDAgMCAxLTIuNDg0IDIuNDgySDE0LjNsLTMuODE3LjAwNEEyLjQ4OCAyLjQ4OCAwIDAgMSA4IDE3LjY5NnYtNi4yMTJBMi40ODYgMi40ODYgMCAwIDEgMTAuNDg0IDlaTTE2IDExYy0uMzE2IDAtLjU3MS4yMjQtLjU3MS41VjE0SDEyLjU3YS41OS41OSAwIDAgMC0uNDk0LjI1LjQ0Ni40NDYgMCAwIDAgMCAuNS41OS41OSAwIDAgMCAuNDk0LjI1aDIuODU4djIuNWMwIC4yNzYuMjU1LjUuNTcxLjUuMzE2IDAgLjU3MS0uMjI0LjU3MS0uNVYxNWgyLjg1OGMuMzE1IDAgLjU3MS0uMjI0LjU3MS0uNXMtLjI1Ni0uNS0uNTcxLS41SDE2LjU3di0yLjVjMC0uMjc2LS4yNTUtLjUtLjU3MS0uNVoiIGZpbGw9IiMzQ0NBQUQiLz48cGF0aCBkPSJNMjcuODggMTUuMjJhMi40ODYgMi40ODYgMCAwIDEgMi40ODUgMi40ODV2Ni4yMTJhMi40ODggMi40ODggMCAwIDEtMi40ODQgMi40ODRoLTEuMjQzdjIuMTA3YzAgLjMxLS4zNTIuNDktLjYuMzAzbC0zLjIxNi0yLjQxaC00Ljg4YTIuNDg4IDIuNDg4IDAgMCAxLTIuNDg0LTIuNDg0di0yLjQ4NWg2LjIxMWEzLjczNCAzLjczNCAwIDAgMCAzLjcyNy0zLjcyN3YtMi40ODRoMi40ODVaIiBmaWxsPSIjNUNEMkJBIi8+PC9nPjwvZz48L3N2Zz4=",Ki=Object.defineProperty,rs=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,Cs=(tt,Ze,Ve)=>Ze in tt?Ki(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,$a=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Eo.call(Ze,Ve)&&Cs(tt,Ve,Ze[Ve]);if(rs)for(var Ve of rs(Ze))Os.call(Ze,Ve)&&Cs(tt,Ve,Ze[Ve]);return tt};const Zs=tt=>React.createElement("svg",$a({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"2"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"a2_svg__a"},React.createElement("stop",{stopColor:"#EAF1FF",offset:"0%"}),React.createElement("stop",{stopColor:"#EBFAFF",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a2_svg__a)",width:38,height:38,rx:19}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#202425",opacity:.01,d:"M9 9h20v20H9z"}),React.createElement("path",{d:"M25.667 19.667c.736 0 1.344.6 1.23 1.328a8.667 8.667 0 0 1-17.064.362 8.667 8.667 0 0 1 7.172-10.254c.728-.114 1.328.494 1.328 1.23v6c0 .737.597 1.334 1.334 1.334h6Z",fill:"#0276FF"}),React.createElement("path",{d:"M27 18.333c.737 0 1.344-.6 1.23-1.328a8.668 8.668 0 0 0-7.235-7.236c-.728-.113-1.328.495-1.328 1.231v6c0 .736.597 1.333 1.333 1.333h6Z",fill:"#A5C7FF"}))));var Vs="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRUFGMUZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0VCRkFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSJ1cmwoI2EpIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxOSIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZmlsbD0iIzIwMjQyNSIgb3BhY2l0eT0iLjAxIiBkPSJNOSA5aDIwdjIwSDl6Ii8+PHBhdGggZD0iTTI1LjY2NyAxOS42NjdjLjczNiAwIDEuMzQ0LjYgMS4yMyAxLjMyOGE4LjY2NyA4LjY2NyAwIDAgMS0xNy4wNjQuMzYyIDguNjY3IDguNjY3IDAgMCAxIDcuMTcyLTEwLjI1NGMuNzI4LS4xMTQgMS4zMjguNDk0IDEuMzI4IDEuMjN2NmMwIC43MzcuNTk3IDEuMzM0IDEuMzM0IDEuMzM0aDZaIiBmaWxsPSIjMDI3NkZGIi8+PHBhdGggZD0iTTI3IDE4LjMzM2MuNzM3IDAgMS4zNDQtLjYgMS4yMy0xLjMyOGE4LjY2OCA4LjY2OCAwIDAgMC03LjIzNS03LjIzNmMtLjcyOC0uMTEzLTEuMzI4LjQ5NS0xLjMyOCAxLjIzMXY2YzAgLjczNi41OTcgMS4zMzMgMS4zMzMgMS4zMzNoNloiIGZpbGw9IiNBNUM3RkYiLz48L2c+PC9nPjwvc3ZnPg==",Ds=Object.defineProperty,Ma=Object.getOwnPropertySymbols,Ko=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,Zn=(tt,Ze,Ve)=>Ze in tt?Ds(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Hn=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Ko.call(Ze,Ve)&&Zn(tt,Ve,Ze[Ve]);if(Ma)for(var Ve of Ma(Ze))ka.call(Ze,Ve)&&Zn(tt,Ve,Ze[Ve]);return tt};const $n=tt=>React.createElement("svg",Hn({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"3"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"a3_svg__a"},React.createElement("stop",{stopColor:"#FAF4FF",offset:"0%"}),React.createElement("stop",{stopColor:"#F4E8FF",offset:"0%"}),React.createElement("stop",{stopColor:"#FDF6FF",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a3_svg__a)",width:38,height:38,rx:19}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M22.923 16.787a3.386 3.386 0 0 0 3.784-3.826 3.384 3.384 0 0 0-2.913-2.934 3.393 3.393 0 0 0-3.805 3.827 3.406 3.406 0 0 0 2.934 2.933Z",fill:"#AC99E2"}),React.createElement("path",{d:"M14.25 16.787a3.386 3.386 0 0 0 3.783-3.826 3.406 3.406 0 0 0-2.934-2.934 3.393 3.393 0 0 0-3.805 3.827 3.428 3.428 0 0 0 2.955 2.933ZM14.547 18.51C12.038 18.51 7 19.805 7 22.377v4.21c0 .233.191.425.425.425h14.243a.426.426 0 0 0 .426-.425v-4.21c0-2.572-5.039-3.869-7.547-3.869Z",fill:"#B19FE4"}),React.createElement("path",{d:"M23.114 18.51c-.319 0-.68.02-1.063.063 1.276.914 2.168 2.168 2.168 3.805v4.21c0 .233.192.425.426.425h5.74a.426.426 0 0 0 .425-.425v-4.21c0-2.572-5.124-3.869-7.696-3.869Z",fill:"#AC99E2"}))));var sr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFGNEZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RThGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGREY2RkYiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHJlY3QgZmlsbD0idXJsKCNhKSIgd2lkdGg9IjM4IiBoZWlnaHQ9IjM4IiByeD0iMTkiLz48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxwYXRoIGQ9Ik0yMi45MjMgMTYuNzg3YTMuMzg2IDMuMzg2IDAgMCAwIDMuNzg0LTMuODI2IDMuMzg0IDMuMzg0IDAgMCAwLTIuOTEzLTIuOTM0IDMuMzkzIDMuMzkzIDAgMCAwLTMuODA1IDMuODI3IDMuNDA2IDMuNDA2IDAgMCAwIDIuOTM0IDIuOTMzWiIgZmlsbD0iI0FDOTlFMiIvPjxwYXRoIGQ9Ik0xNC4yNSAxNi43ODdhMy4zODYgMy4zODYgMCAwIDAgMy43ODMtMy44MjYgMy40MDYgMy40MDYgMCAwIDAtMi45MzQtMi45MzQgMy4zOTMgMy4zOTMgMCAwIDAtMy44MDUgMy44MjcgMy40MjggMy40MjggMCAwIDAgMi45NTUgMi45MzNaTTE0LjU0NyAxOC41MUMxMi4wMzggMTguNTEgNyAxOS44MDUgNyAyMi4zNzd2NC4yMWMwIC4yMzMuMTkxLjQyNS40MjUuNDI1aDE0LjI0M2EuNDI2LjQyNiAwIDAgMCAuNDI2LS40MjV2LTQuMjFjMC0yLjU3Mi01LjAzOS0zLjg2OS03LjU0Ny0zLjg2OVoiIGZpbGw9IiNCMTlGRTQiLz48cGF0aCBkPSJNMjMuMTE0IDE4LjUxYy0uMzE5IDAtLjY4LjAyLTEuMDYzLjA2MyAxLjI3Ni45MTQgMi4xNjggMi4xNjggMi4xNjggMy44MDV2NC4yMWMwIC4yMzMuMTkyLjQyNS40MjYuNDI1aDUuNzRhLjQyNi40MjYgMCAwIDAgLjQyNS0uNDI1di00LjIxYzAtMi41NzItNS4xMjQtMy44NjktNy42OTYtMy44NjlaIiBmaWxsPSIjQUM5OUUyIi8+PC9nPjwvZz48L3N2Zz4=",ri=Object.defineProperty,na=Object.getOwnPropertySymbols,ca=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,ji=(tt,Ze,Ve)=>Ze in tt?ri(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,ra=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ca.call(Ze,Ve)&&ji(tt,Ve,Ze[Ve]);if(na)for(var Ve of na(Ze))Ui.call(Ze,Ve)&&ji(tt,Ve,Ze[Ve]);return tt};const Zo=tt=>React.createElement("svg",ra({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"4"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"a4_svg__a"},React.createElement("stop",{stopColor:"#F9E5BB",offset:"0%"}),React.createElement("stop",{stopColor:"#FFF8ED",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a4_svg__a)",width:38,height:38,rx:19}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M26.016 20.918V16.47A7.468 7.468 0 0 0 18.548 9a7.468 7.468 0 0 0-7.47 7.47v4.447a1.867 1.867 0 0 0 .801 3.555h13.337a1.867 1.867 0 0 0 .8-3.554Z",fill:"#ED8C50"}),React.createElement("path",{d:"m21.253 25.169-5.413.005c-.48-.005-.493.534-.493.534a3.2 3.2 0 1 0 6.401 0s0-.534-.495-.54Z",fill:"#EF9004"}))));var Pa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRjlFNUJCIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRjhFRCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSJ1cmwoI2EpIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxOSIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTI2LjAxNiAyMC45MThWMTYuNDdBNy40NjggNy40NjggMCAwIDAgMTguNTQ4IDlhNy40NjggNy40NjggMCAwIDAtNy40NyA3LjQ3djQuNDQ3YTEuODY3IDEuODY3IDAgMCAwIC44MDEgMy41NTVoMTMuMzM3YTEuODY3IDEuODY3IDAgMCAwIC44LTMuNTU0WiIgZmlsbD0iI0VEOEM1MCIvPjxwYXRoIGQ9Im0yMS4yNTMgMjUuMTY5LTUuNDEzLjAwNWMtLjQ4LS4wMDUtLjQ5My41MzQtLjQ5My41MzRhMy4yIDMuMiAwIDEgMCA2LjQwMSAwczAtLjUzNC0uNDk1LS41NFoiIGZpbGw9IiNFRjkwMDQiLz48L2c+PC9nPjwvc3ZnPg==",is=Object.defineProperty,yo=Object.getOwnPropertySymbols,Vo=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,Bt=(tt,Ze,Ve)=>Ze in tt?is(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,wt=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Vo.call(Ze,Ve)&&Bt(tt,Ve,Ze[Ve]);if(yo)for(var Ve of yo(Ze))Ys.call(Ze,Ve)&&Bt(tt,Ve,Ze[Ve]);return tt};const Tt=tt=>React.createElement("svg",wt({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"6"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"99.528%",x2:"50%",y2:"0%",id:"a5_svg__a"},React.createElement("stop",{stopColor:"#FFF5EB",offset:"0%"}),React.createElement("stop",{stopColor:"#FFEADE",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a5_svg__a)",width:38,height:38,rx:19}),React.createElement("path",{d:"M13.996 16.286h-2.757a1.51 1.51 0 0 0-1.509 1.509v8.685c0 .834.677 1.508 1.509 1.508h2.756v-11.7l.001-.002Zm14.659.564a1.511 1.511 0 0 0-1.176-.564h-5.176c.16-.338.335-.73.494-1.153.285-.75.47-1.43.544-2.028.108-.84.009-1.538-.298-2.075-.55-.962-1.589-1.163-2.365-1.163-.834 0-1.543.432-2.106 1.283-.421.637-.735 1.46-1.038 2.253-.664 1.743-1.172 2.885-2.14 2.885h-.041.015V27.99h10.226a1.51 1.51 0 0 0 1.475-1.182v-.004l1.882-8.684a1.511 1.511 0 0 0-.296-1.271Z",fill:"#FB901F",fillRule:"nonzero"})));var rn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSI5OS41MjglIiB4Mj0iNTAlIiB5Mj0iMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGNUVCIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRUFERSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSJ1cmwoI2EpIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxOSIvPjxwYXRoIGQ9Ik0xMy45OTYgMTYuMjg2aC0yLjc1N2ExLjUxIDEuNTEgMCAwIDAtMS41MDkgMS41MDl2OC42ODVjMCAuODM0LjY3NyAxLjUwOCAxLjUwOSAxLjUwOGgyLjc1NnYtMTEuN2wuMDAxLS4wMDJabTE0LjY1OS41NjRhMS41MTEgMS41MTEgMCAwIDAtMS4xNzYtLjU2NGgtNS4xNzZjLjE2LS4zMzguMzM1LS43My40OTQtMS4xNTMuMjg1LS43NS40Ny0xLjQzLjU0NC0yLjAyOC4xMDgtLjg0LjAwOS0xLjUzOC0uMjk4LTIuMDc1LS41NS0uOTYyLTEuNTg5LTEuMTYzLTIuMzY1LTEuMTYzLS44MzQgMC0xLjU0My40MzItMi4xMDYgMS4yODMtLjQyMS42MzctLjczNSAxLjQ2LTEuMDM4IDIuMjUzLS42NjQgMS43NDMtMS4xNzIgMi44ODUtMi4xNCAyLjg4NWgtLjA0MS4wMTVWMjcuOTloMTAuMjI2YTEuNTEgMS41MSAwIDAgMCAxLjQ3NS0xLjE4MnYtLjAwNGwxLjg4Mi04LjY4NGExLjUxMSAxLjUxMSAwIDAgMC0uMjk2LTEuMjcxWiIgZmlsbD0iI0ZCOTAxRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==",hr=Object.defineProperty,Pr=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,gr=(tt,Ze,Ve)=>Ze in tt?hr(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Dr=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))en.call(Ze,Ve)&&gr(tt,Ve,Ze[Ve]);if(Pr)for(var Ve of Pr(Ze))Qn.call(Ze,Ve)&&gr(tt,Ve,Ze[Ve]);return tt};const vr=tt=>React.createElement("svg",Dr({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"5"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"a6_svg__a"},React.createElement("stop",{stopColor:"#FFF0ED",offset:"0%"}),React.createElement("stop",{stopColor:"#FFEAED",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a6_svg__a)",width:38,height:38,rx:19}),React.createElement("path",{d:"M25.004 22.714h2.757a1.51 1.51 0 0 0 1.509-1.509V12.52c0-.834-.677-1.508-1.509-1.508h-2.756v11.7l-.001.002Zm-14.659-.564c.287.356.72.563 1.176.564h5.176c-.16.338-.335.73-.494 1.153-.285.75-.47 1.43-.544 2.028-.108.84-.009 1.538.298 2.075.55.962 1.589 1.163 2.365 1.163.834 0 1.543-.432 2.106-1.283.421-.637.735-1.46 1.038-2.253.664-1.743 1.172-2.885 2.14-2.885h.041-.015V11.01H13.406a1.51 1.51 0 0 0-1.475 1.182v.004L10.05 20.88c-.1.447.01.914.296 1.271Z",fill:"#F17171",fillRule:"nonzero"})));var Pn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGMEVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRUFFRCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSJ1cmwoI2EpIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxOSIvPjxwYXRoIGQ9Ik0yNS4wMDQgMjIuNzE0aDIuNzU3YTEuNTEgMS41MSAwIDAgMCAxLjUwOS0xLjUwOVYxMi41MmMwLS44MzQtLjY3Ny0xLjUwOC0xLjUwOS0xLjUwOGgtMi43NTZ2MTEuN2wtLjAwMS4wMDJabS0xNC42NTktLjU2NGMuMjg3LjM1Ni43Mi41NjMgMS4xNzYuNTY0aDUuMTc2Yy0uMTYuMzM4LS4zMzUuNzMtLjQ5NCAxLjE1My0uMjg1Ljc1LS40NyAxLjQzLS41NDQgMi4wMjgtLjEwOC44NC0uMDA5IDEuNTM4LjI5OCAyLjA3NS41NS45NjIgMS41ODkgMS4xNjMgMi4zNjUgMS4xNjMuODM0IDAgMS41NDMtLjQzMiAyLjEwNi0xLjI4My40MjEtLjYzNy43MzUtMS40NiAxLjAzOC0yLjI1My42NjQtMS43NDMgMS4xNzItMi44ODUgMi4xNC0yLjg4NWguMDQxLS4wMTVWMTEuMDFIMTMuNDA2YTEuNTEgMS41MSAwIDAgMC0xLjQ3NSAxLjE4MnYuMDA0TDEwLjA1IDIwLjg4Yy0uMS40NDcuMDEuOTE0LjI5NiAxLjI3MVoiIGZpbGw9IiNGMTcxNzEiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",jr=Object.defineProperty,mt=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,dn=(tt,Ze,Ve)=>Ze in tt?jr(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Xn=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ln.call(Ze,Ve)&&dn(tt,Ve,Ze[Ve]);if(mt)for(var Ve of mt(Ze))Yt.call(Ze,Ve)&&dn(tt,Ve,Ze[Ve]);return tt};const Vn=tt=>React.createElement("svg",Xn({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"7"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"2.064%",x2:"50%",y2:"100%",id:"a7_svg__a"},React.createElement("stop",{stopColor:"#DCFFD7",offset:"0%"}),React.createElement("stop",{stopColor:"#EBFFEA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a7_svg__a)",width:38,height:38,rx:19}),React.createElement("path",{d:"M19.012 9.03a9.883 9.883 0 0 1 4.814 1.245l-1.922 1.921.064.642.089.896-.848.847a4.878 4.878 0 0 0-2.197-.522 4.931 4.931 0 0 0-4.925 4.926 4.931 4.931 0 0 0 4.925 4.926 4.931 4.931 0 0 0 4.926-4.926c0-.41-.056-.808-.152-1.191l.485-.488.68-.68.895.088.643.064.456-.456 1.218-1.213a9.857 9.857 0 0 1 .807 3.879c0 5.498-4.459 9.957-9.958 9.957-5.498 0-9.957-4.459-9.957-9.957 0-5.5 4.459-9.958 9.957-9.958Zm7.324 0 .234 2.532 2.4.25-2.994 3.16-1.529-.159-2.594 2.74c.148.377.233.788.233 1.221 0 1.764-1.359 3.2-3.029 3.2s-3.032-1.436-3.032-3.2c0-1.764 1.358-3.198 3.03-3.198.764 0 1.455.314 1.99.809l1.32-1.392 1.126-1.191h.001l-.147-1.614 2.991-3.158Z",fill:"#00D497",fillRule:"nonzero"})));var Rr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIyLjA2NCUiIHgyPSI1MCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRkZENyIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNFQkZGRUEiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHJlY3QgZmlsbD0idXJsKCNhKSIgd2lkdGg9IjM4IiBoZWlnaHQ9IjM4IiByeD0iMTkiLz48cGF0aCBkPSJNMTkuMDEyIDkuMDNhOS44ODMgOS44ODMgMCAwIDEgNC44MTQgMS4yNDVsLTEuOTIyIDEuOTIxLjA2NC42NDIuMDg5Ljg5Ni0uODQ4Ljg0N2E0Ljg3OCA0Ljg3OCAwIDAgMC0yLjE5Ny0uNTIyIDQuOTMxIDQuOTMxIDAgMCAwLTQuOTI1IDQuOTI2IDQuOTMxIDQuOTMxIDAgMCAwIDQuOTI1IDQuOTI2IDQuOTMxIDQuOTMxIDAgMCAwIDQuOTI2LTQuOTI2YzAtLjQxLS4wNTYtLjgwOC0uMTUyLTEuMTkxbC40ODUtLjQ4OC42OC0uNjguODk1LjA4OC42NDMuMDY0LjQ1Ni0uNDU2IDEuMjE4LTEuMjEzYTkuODU3IDkuODU3IDAgMCAxIC44MDcgMy44NzljMCA1LjQ5OC00LjQ1OSA5Ljk1Ny05Ljk1OCA5Ljk1Ny01LjQ5OCAwLTkuOTU3LTQuNDU5LTkuOTU3LTkuOTU3IDAtNS41IDQuNDU5LTkuOTU4IDkuOTU3LTkuOTU4Wm03LjMyNCAwIC4yMzQgMi41MzIgMi40LjI1LTIuOTk0IDMuMTYtMS41MjktLjE1OS0yLjU5NCAyLjc0Yy4xNDguMzc3LjIzMy43ODguMjMzIDEuMjIxIDAgMS43NjQtMS4zNTkgMy4yLTMuMDI5IDMuMnMtMy4wMzItMS40MzYtMy4wMzItMy4yYzAtMS43NjQgMS4zNTgtMy4xOTggMy4wMy0zLjE5OC43NjQgMCAxLjQ1NS4zMTQgMS45OS44MDlsMS4zMi0xLjM5MiAxLjEyNi0xLjE5MWguMDAxbC0uMTQ3LTEuNjE0IDIuOTkxLTMuMTU4WiIgZmlsbD0iIzAwRDQ5NyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==",Ri=Object.defineProperty,Ca=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,Js=(tt,Ze,Ve)=>Ze in tt?Ri(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,bo=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))ia.call(Ze,Ve)&&Js(tt,Ve,Ze[Ve]);if(Ca)for(var Ve of Ca(Ze))eo.call(Ze,Ve)&&Js(tt,Ve,Ze[Ve]);return tt};const to=tt=>React.createElement("svg",bo({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},tt),React.createElement("title",null,"8"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"a8_svg__a"},React.createElement("stop",{stopColor:"#FFF0ED",offset:"0%"}),React.createElement("stop",{stopColor:"#FFEAED",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"url(#a8_svg__a)",width:38,height:38,rx:19}),React.createElement("g",{fill:"#C67070",fillRule:"nonzero"},React.createElement("path",{d:"M16.586 16.425c0 1.191.98 2.172 2.172 2.172 1.191 0 2.172-.98 2.172-2.172 0-1.19-.981-2.172-2.172-2.172-1.191 0-2.172.981-2.172 2.172Z"}),React.createElement("path",{d:"M18.758 8.018C15.885 9.979 12.943 10.96 10 10.96v6.866c0 3.924 1.962 7.497 5.185 9.67l3.573 2.381 3.573-2.382c3.223-2.172 5.185-5.815 5.185-9.669V10.96c-2.943 0-5.815-.98-8.758-2.942Zm.7 11.98V21.4h2.173v1.471h-2.172v2.312h-1.402v-5.185c-1.681-.35-2.942-1.821-2.942-3.573a3.618 3.618 0 0 1 3.643-3.643 3.618 3.618 0 0 1 3.643 3.643c0 1.752-1.26 3.223-2.942 3.573Z"}))));var da="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGMEVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRUFFRCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSJ1cmwoI2EpIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxOSIvPjxnIGZpbGw9IiNDNjcwNzAiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTE2LjU4NiAxNi40MjVjMCAxLjE5MS45OCAyLjE3MiAyLjE3MiAyLjE3MiAxLjE5MSAwIDIuMTcyLS45OCAyLjE3Mi0yLjE3MiAwLTEuMTktLjk4MS0yLjE3Mi0yLjE3Mi0yLjE3Mi0xLjE5MSAwLTIuMTcyLjk4MS0yLjE3MiAyLjE3MloiLz48cGF0aCBkPSJNMTguNzU4IDguMDE4QzE1Ljg4NSA5Ljk3OSAxMi45NDMgMTAuOTYgMTAgMTAuOTZ2Ni44NjZjMCAzLjkyNCAxLjk2MiA3LjQ5NyA1LjE4NSA5LjY3bDMuNTczIDIuMzgxIDMuNTczLTIuMzgyYzMuMjIzLTIuMTcyIDUuMTg1LTUuODE1IDUuMTg1LTkuNjY5VjEwLjk2Yy0yLjk0MyAwLTUuODE1LS45OC04Ljc1OC0yLjk0MlptLjcgMTEuOThWMjEuNGgyLjE3M3YxLjQ3MWgtMi4xNzJ2Mi4zMTJoLTEuNDAydi01LjE4NWMtMS42ODEtLjM1LTIuOTQyLTEuODIxLTIuOTQyLTMuNTczYTMuNjE4IDMuNjE4IDAgMCAxIDMuNjQzLTMuNjQzIDMuNjE4IDMuNjE4IDAgMCAxIDMuNjQzIDMuNjQzYzAgMS43NTItMS4yNiAzLjIyMy0yLjk0MiAzLjU3M1oiLz48L2c+PC9nPjwvc3ZnPg==",xo=pe(61513),as=pe(92386),Ss=pe(56102),Fr=pe(59301),Go=Object.defineProperty,no=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,Gs=(tt,Ze,Ve)=>Ze in tt?Go(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,al=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Ao.call(Ze,Ve)&&Gs(tt,Ve,Ze[Ve]);if(no)for(var Ve of no(Ze))ha.call(Ze,Ve)&&Gs(tt,Ve,Ze[Ve]);return tt},os=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const{RangePicker:rc}=Wo.default;var Rs=({})=>{const tt=(0,et.useParams)(),[Ze,Ve]=(0,Ee.useState)(!1),[lr,cr]=(0,Ee.useState)(0),[or,Si]=(0,Ee.useState)([]),[Br,vn]=(0,Ee.useState)(!1),[Yn,kn]=(0,Ee.useState)(!1),[po,Sa]=(0,Ee.useState)(!1),[de,ve]=(0,Ee.useState)(""),[be,Pe]=(0,Ee.useState)(!1),[Ne,it]=(0,Ee.useState)(null),[at,Lt]=(0,Ee.useState)(),Mt=(0,Ee.useRef)(void 0),[St,yn]=(0,Ee.useState)(""),Rt=tt==null?void 0:tt.coursesId,[Pt,un]=(0,Ee.useState)({sessions_count:"--",message_count:"--",hit_count:"--",like_count:"--",dislike_count:"--",total_tokens:"--",total_user_count:"--",today_session_count:"--"}),[Vt,bt]=(0,Ee.useState)({time:void 0,start_date:"",end_date:"",keyword:"",status:0,page:1,limit:10,questionable_id:Rt,questionable_type:"Course"});(0,Ee.useEffect)(()=>{jt(),$t(Vt)},[]);const jt=()=>os(void 0,null,function*(){const fn=yield(0,ft.ZP)("/api/course_qna_sessions/statistics.json",{method:"get",params:{questionable_id:Rt,questionable_type:"Course"}});fn.status===0&&un((fn==null?void 0:fn.data)||{})}),$t=fn=>os(void 0,null,function*(){var ar,Er,ai;Ve(!0);const Hr=yield(0,ft.ZP)("/api/course_qna_sessions.json",{method:"get",params:fn});Hr.status===0&&(Si(((ar=Hr==null?void 0:Hr.data)==null?void 0:ar.list)||[]),cr((Er=Hr==null?void 0:Hr.data)==null?void 0:Er.size),Lt((ai=Hr==null?void 0:Hr.data)==null?void 0:ai.word_cloud)),Ve(!1)}),qn=fn=>{Vt.keyword=fn,Vt.page=1,bt(al({},Vt)),$t(Vt)},On=(fn,ar)=>{Vt.status=fn,Vt.page=1,bt(al({},Vt)),$t(Vt)},pn=(fn,ar)=>{Vt.start_date=ar[0],Vt.end_date=ar[1],Vt.page=1,bt(al({},Vt)),$t(Vt)},Cn=(fn,ar)=>{Vt.page=fn,Vt.limit=ar,bt(al({},Vt)),$t(Vt)},Dn=[{title:"\u5E8F\u53F7",dataIndex:"index",width:70,render:(fn,ar,Er)=>`${(Vt.page-1)*Vt.limit+Er+1}`},{title:"\u4F1A\u8BDD\u6807\u9898",dataIndex:"question",ellipsis:!0,render:(fn,ar)=>Fr.createElement(lt.Z,{placement:"topLeft",title:fn},Fr.createElement("span",{onClick:()=>{it(ar.id),vn(!0)},className:"c-light-primary current"},fn||"--"))},{title:"\u7528\u6237",dataIndex:"user_name",width:100,ellipsis:!0,render:fn=>Fr.createElement(lt.Z,{placement:"topLeft",title:fn},Fr.createElement("span",{className:"c-black"},fn||"--"))},{title:"\u6D88\u606F\u6570",width:70,dataIndex:"message_size",render:fn=>Fr.createElement("span",{className:"c-black"},fn)},{title:"\u53CD\u9988",width:130,dataIndex:"like_count",render:(fn,ar)=>Fr.createElement(gt.Z,{align:"middle"},Fr.createElement("div",{className:"flex-1"},Fr.createElement("i",{style:{color:"#FA8D30"},className:"iconfot icon-yijiejue font14 mr5"}),Fr.createElement("span",{className:"c-black"},ar==null?void 0:ar.like_count)),Fr.createElement("div",{className:"flex-1"},Fr.createElement("i",{style:{color:"#db6968"},className:"iconfot icon-weijiejuezhengchang font14 mr5"}),Fr.createElement("span",{className:"c-black"},ar==null?void 0:ar.dislike_count)))},{title:"\u4EBA\u5DE5\u56DE\u590D",width:130,dataIndex:"user_reply_list",ellipsis:!0,render:fn=>Fr.createElement(lt.Z,{placement:"topLeft",title:fn},Fr.createElement("span",{className:"c-black"},fn||"--"))},{title:"\u521B\u5EFA\u65F6\u95F4",width:144,dataIndex:"created_at",render:fn=>Fr.createElement("span",{className:"c-black"},Oe()(fn).format("YYYY-MM-DD HH:mm"))}],Rn=(fn,ar,Er)=>{const{onMenuClick:ai}=Er;Mt.current=ai;const{id:Hr}=fn;return Fr.createElement(Fr.Fragment,null,Fr.createElement("div",{className:Di.apply,onClick:()=>os(void 0,null,function*(){const Zr=yield(0,ft.ZP)(`/api/course_qna_records/${Hr}/add_set.json`,{method:"post",body:{questionable_type:"Course",questionable_id:Rt,type:"ai"}});(Zr==null?void 0:Zr.status)==0&&rt.ZP.success("\u6DFB\u52A0\u6210\u529F")})},Fr.createElement("i",{style:{color:"#3061D0"},className:"iconfont icon-wendaji font12 mr5"}),"\u52A0\u5165\u95EE\u7B54\u96C6"),Fr.createElement("div",{className:Di.apply,onClick:()=>{kn(Hr),Pe(!1)}},Fr.createElement("i",{style:{color:"#3061D0"},className:"iconfont icon-a-huifupinglun font12 mr5"}),"\u4EBA\u5DE5\u56DE\u590D"))},Qr=(fn,ar,Er)=>{const{id:ai,sender:Hr}=fn;return Fr.createElement("div",{className:Di.li,style:{width:Er.width}},Fr.createElement("div",{className:Di.content},Hr==="student"&&Fr.createElement("h3",null,"\u5B66\u751F\u53CD\u9988"),Fr.createElement("div",{className:Di.borderBox},Hr==="teacher"&&Fr.createElement("div",{className:Di.teacher},"\u8001\u5E08\u56DE\u590D"),Hr==="student"&&Fr.createElement("div",{className:Di.student},fn.situation),Fr.createElement(as.Z,{className:Di.text,value:fn==null?void 0:fn.text})),fn.source&&Fr.createElement("div",{className:Di.source},fn.source),Fr.createElement("div",{className:Di.action},Hr==="teacher"&&Fr.createElement("div",{className:Di.apply,onClick:()=>os(void 0,null,function*(){const Zr=yield(0,ft.ZP)(`/api/course_qna_records/${ai}/add_set.json`,{method:"post",body:{course_id:Rt,type:"teacher"}});(Zr==null?void 0:Zr.status)==0&&rt.ZP.success("\u6DFB\u52A0\u6210\u529F")})},Fr.createElement("i",{style:{color:"#3061D0"},className:"iconfont icon-wendaji font12 mr5"}),"\u52A0\u5165\u95EE\u7B54\u96C6"),Hr==="teacher"&&Fr.createElement("i",{onClick:()=>{kn(ai),ve(fn==null?void 0:fn.text),Pe(!0)},className:"iconfont icon-bianji10 font14 primary-hover"}),Hr==="teacher"&&Fr.createElement("i",{onClick:()=>os(void 0,null,function*(){Ct.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u6761\u56DE\u590D\u5417\uFF1F",onOk:()=>os(void 0,null,function*(){const Zr=yield(0,ft.ZP)("/api/course_qna_records/delete_teacher_comment.json",{method:"post",body:{course_id:Rt,feedback_id:ai}});(Zr==null?void 0:Zr.status)==0&&(Mt.current(),rt.ZP.success("\u5220\u9664\u6210\u529F"))})})}),className:"iconfont icon-shanchu15 font14 primary-hover"}),Fr.createElement(Ss.CopyToClipboard,{text:String((fn==null?void 0:fn.text)||""),onCopy:()=>rt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},Fr.createElement(lt.Z,{title:"\u590D\u5236"},Fr.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))))))},Or=()=>os(void 0,null,function*(){if(!de){rt.ZP.warning("\u8BF7\u8F93\u5165\u4F60\u7684\u56DE\u590D");return}Sa(!0),(yield(0,ft.ZP)("/api/course_qna_records/teacher_comment.json",{method:"post",body:{feedback:de,record_id:Yn,course_id:Rt,edit:be}})).status===0&&(kn(!1),Mt.current()),Sa(!1)}),Yr=fn=>os(void 0,[fn],function*({type:ar,value:Er,index:ai,identifier:Hr,objectIndex:Zr}){const _r={index:Zr,identifier:Hr,course_id:Rt};if(ar==="like"&&(yield(0,ft.ZP)("/api/course_qna_records/like.json",{method:"post",body:_r})).status!==0||ar==="dislike"&&(yield(0,ft.ZP)("/api/course_qna_records/dislike.json",{method:"post",body:_r})).status!==0)return Promise.reject()}),fi=[{img:Aa,name:"\u4ECA\u65E5\u65B0\u589E\u4F1A\u8BDD\u6570",count:Pt==null?void 0:Pt.today_session_count,tip:"\u5F53\u65E5\u7528\u6237\u4E0E\u667A\u80FD\u52A9\u6559\u5EFA\u7ACB\u7684\u72EC\u7ACB\u4F1A\u8BDD\u6570\u91CF\uFF08\u540C\u4E00\u7A97\u53E3\u8FDE\u7EED\u5BF9\u8BDD\u8BA1\u4E3A1\u6B21\uFF09"},{img:Vs,name:"\u4F1A\u8BDD\u603B\u6570",count:Pt==null?void 0:Pt.sessions_count,tip:"\u7528\u6237\u4E0E\u667A\u80FD\u52A9\u6559\u7684\u5386\u53F2\u4F1A\u8BDD\u603B\u91CF\uFF08\u540C\u4E00\u7A97\u53E3\u8FDE\u7EED\u5BF9\u8BDD\u8BA1\u4E3A1\u6B21\uFF09"},{img:sr,name:"\u5BF9\u8BDD\u4EBA\u6570",count:Pt==null?void 0:Pt.total_user_count,tip:"\u4E0E\u667A\u80FD\u52A9\u6559\u4EA7\u751F\u8FC7\u4F1A\u8BDD\u7684\u72EC\u7ACB\u7528\u6237\u6570\uFF08\u57FA\u4E8E\u8D26\u53F7ID\u53BB\u91CD\uFF09"},{img:Pa,name:"\u6D88\u606F\u603B\u6570",count:Pt==null?void 0:Pt.message_count,tip:"\u7528\u6237\u4E0E\u667A\u80FD\u52A9\u6559\u53CC\u5411\u4EA4\u4E92\u4EA7\u751F\u7684\u6D88\u606F\u603B\u6761\u6570"},{img:rn,name:"\u6EE1\u610F\u6570",count:Pt==null?void 0:Pt.like_count,tip:"\u667A\u80FD\u52A9\u6559\u56DE\u7B54\u83B7\u5F97\u7528\u6237\u70B9\u8D5E\u7684\u603B\u91CF"},{img:Pn,name:"\u4E0D\u6EE1\u610F\u6570",count:Pt==null?void 0:Pt.dislike_count,tip:"\u667A\u80FD\u52A9\u6559\u56DE\u7B54\u6536\u5230\u7528\u6237\u70B9\u8E29\u7684\u603B\u91CF"},{img:Rr,name:"\u95EE\u7B54\u96C6\u547D\u4E2D\u6B21\u6570",count:Pt==null?void 0:Pt.hit_count,tip:"\u7528\u6237\u63D0\u95EE\u7CBE\u51C6\u5339\u914D\u9884\u8BBE\u95EE\u7B54\u5E93\u7684\u6B21\u6570"},{img:da,name:"\u6D88\u8017token\u6570",count:Pt==null?void 0:Pt.total_tokens,tip:"\u5BF9\u8BDD\u8FC7\u7A0B\u4E2D\u63D0\u95EE\u4E0E\u56DE\u7B54\u6D88\u8017\u7684Token\u603B\u91CF"}],xi=[{value:0,label:"\u5168\u90E8"},{value:1,label:"\u7528\u6237\u53CD\u9988-\u6EE1\u610F"},{value:2,label:"\u7528\u6237\u53CD\u9988-\u4E0D\u6EE1\u610F"},{value:3,label:"\u6211\u56DE\u590D\u7684"}],Hi={onListClick:fn=>(0,ft.ZP)(`/api/course_qna_sessions/${fn}.json`,{method:"get",params:{questionable_id:Rt}}),onListDealData:fn=>{let ar=[];return fn==null||fn.forEach(Er=>{var ai,Hr;const Zr=Er.id,_r=Er.think?{reasoning:Er.think,thinkingEnabled:!0}:{},Qi=[{text:Er.question,key:Zr,sender:"user",fileList:[],show:!0},al({key:Zr,loading:!1,sender:"AI",show:!0,source:Er.answer_source,text:Er.answer,like:Er.like,dislike:Er.dislike,time:Er.think_time,id:Er.id},_r)];ar=[...ar,...Qi],(ai=Er==null?void 0:Er.student_feedback)==null||ai.forEach(Xi=>{ar.push({id:Xi.id,key:`teacher-${Zr}-${Xi.id}`,loading:!1,sender:"student",show:!0,text:Xi.feedback,situation:Xi.status_name})}),(Hr=Er==null?void 0:Er.teacher_feedback)==null||Hr.forEach(Xi=>{ar.push({id:Xi.id,key:`student-${Zr}-${Xi.id}`,loading:!1,sender:"teacher",show:!0,text:Xi.feedback,source:Xi.answer_source})})}),ar}};return Fr.createElement("div",{className:Di.dialogue},Fr.createElement("div",{className:Di.liWrap},fi.map((fn,ar)=>Fr.createElement("div",{className:Di.li,key:ar},Fr.createElement("img",{src:fn.img,width:38}),Fr.createElement("aside",null,Fr.createElement("b",{style:{color:fn.count===0?"#999":"#333"}},fn.count),Fr.createElement("div",null,Fr.createElement("span",null,fn.name),Fr.createElement(lt.Z,{title:fn.tip},Fr.createElement("i",{className:"iconfont icon-xiaowenhao2 font12 ml5"}))))))),Fr.createElement("div",{className:Di.line}),Fr.createElement(gt.Z,{align:"middle",justify:"space-between"},Fr.createElement(rc,{value:Vt==null?void 0:Vt.time,showTime:{format:"HH:mm"},onChange:pn,format:"YYYY-MM-DD HH:mm"}),Fr.createElement(Fe.default,{value:Vt.status,onChange:On,options:xi,style:{width:160}}),Fr.createElement(hn.default.Search,{style:{width:274},placeholder:"\u8BF7\u8F93\u5165\u4F1A\u8BDD\u6807\u9898\u3001\u7528\u6237",value:St,onChange:fn=>yn(fn.target.value),onSearch:qn})),Fr.createElement(Ke.default,{columns:Dn,className:"mt20",dataSource:or,loading:Ze,rowKey:"id",pagination:{current:Vt.page,hideOnSinglePage:!lr,showQuickJumper:!0,showSizeChanger:!0,pageSize:Vt.limit,pageSizeOptions:["10","20","50","100","200"],total:lr,size:"default",showTotal:ii.rU,onChange:Cn}}),Fr.createElement(xo.Z,{visible:Br,fetchListObject:Hi,onOpen:()=>vn(!0),onClose:()=>{vn(!1),$t(Vt)},children:!0,historyId:Ne,showPreference:!0,showDefaultTips:!1,customDataNode:Qr,customPreference:Yr,hideInputBox:!0,title:"\u667A\u80FD\u52A9\u6559",fetchUrl:"/api/stream/course_qna_records/chat_messages.json",extraAnswerAction:Rn}),Fr.createElement(Ct.default,{centered:!0,open:!!Yn,confirmLoading:po,onCancel:()=>{kn(!1)},afterClose:()=>{ve("")},onOk:Or,title:"\u4EBA\u5DE5\u56DE\u590D",width:900,okText:"\u4FDD\u5B58"},Fr.createElement(Jt.Z,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u60A8\u7684\u56DE\u590D",watch:!0,onChange:fn=>ve(fn),defaultValue:de})))},yu=Object.defineProperty,Jl=Object.defineProperties,ac=Object.getOwnPropertyDescriptors,Iu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Nl=(tt,Ze,Ve)=>Ze in tt?yu(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[Ze]=Ve,Bs=(tt,Ze)=>{for(var Ve in Ze||(Ze={}))Tu.call(Ze,Ve)&&Nl(tt,Ve,Ze[Ve]);if(Iu)for(var Ve of Iu(Ze))Xl.call(Ze,Ve)&&Nl(tt,Ve,Ze[Ve]);return tt},No=(tt,Ze)=>Jl(tt,ac(Ze)),ol=(tt,Ze,Ve)=>new Promise((lr,cr)=>{var or=vn=>{try{Br(Ve.next(vn))}catch(Yn){cr(Yn)}},Si=vn=>{try{Br(Ve.throw(vn))}catch(Yn){cr(Yn)}},Br=vn=>vn.done?lr(vn.value):Promise.resolve(vn.value).then(or,Si);Br((Ve=Ve.apply(tt,Ze)).next())});const Pl=({classroomList:tt,boards:Ze,globalSetting:Ve,loading:lr,user:cr,dispatch:or})=>{var Si,Br,vn;const Yn=(0,et.useParams)(),kn=(0,Ee.useRef)(No(Bs({},Yn),{id:Yn.categoryId,page_size:20})),[po,Sa]=(0,Ee.useState)({page:1,page_size:20}),{detailBoardList:de,detailLeftMenus:ve,detailTopBanner:be,detailCourseGroupsList:Pe,courseAiData:Ne}=tt,[it,at]=(0,Ee.useState)([]),[Lt,Mt]=(0,Ee.useState)("\u6392\u5E8F"),{userInfo:St}=cr,[yn,Rt]=(0,Ee.useState)(!1),[Pt]=(0,et.useSearchParams)(),[un,Vt]=(0,Ee.useState)(!1),[bt,jt]=(0,Ee.useState)("all"),[$t,qn]=(0,Ee.useState)({}),[On,pn]=(0,Ee.useState)(1),[Cn,Dn]=(0,Ee.useState)(!1),[Rn,Qr]=(0,Ee.useState)(!1),[Or,Yr]=(0,Ee.useState)(!0);let[fi,xi]=(0,Ee.useState)([]);const[Li,Hi]=(0,Ee.useState)(!1),[fn,ar]=(0,Ee.useState)(!1),{verifyModelUser:Er,ContactModalElement:ai}=(0,vi.Z)(),Hr=(0,Ee.useRef)(null),Zr=(0,et.useLocation)();let[_r,Qi]=(0,Ee.useState)({page:1,page_size:20});const Xi=(0,Ee.useMemo)(()=>{if(ve.course_modules)return tt.detailLeftMenus.course_modules.filter(Ut=>Ut.type==="board")[0]},[tt]);(0,Ee.useEffect)(()=>{var Ut;const nr=ii.cX.getItem(`${(Ut=cr==null?void 0:cr.userInfo)==null?void 0:Ut.login}${(0,Qe.GJ)()?"Teacher":"Student"}`,"Board");nr&&(Mt(nr==null?void 0:nr.name),kn.current.sort_type=qi.find(Jr=>Jr.name===(nr==null?void 0:nr.name)).id)},[(Si=cr==null?void 0:cr.userInfo)==null?void 0:Si.login,Zr==null?void 0:Zr.pathname]),(0,Ee.useEffect)(()=>{Pt.get("type")?Pt.get("type")==="hudong"?(jt("hudong"),Ga(),ro()):jt(Pt.get("type")):jt("all")},[Pt.get("type")]),(0,Ee.useEffect)(()=>{bt==="wenda"&&Vt(Ne==null?void 0:Ne.is_open_ai)},[bt]);const ro=()=>ol(void 0,null,function*(){var Ut;if(Or&&!Cn){Dn(!0),pn(On+1);const nr=yield or({type:"classroomList/getCourseGroupsList",payload:No(Bs({},kn),{page:On,id:kn.current.coursesId,limit:20,nonenavigate:!0})});let Jr=[...nr==null?void 0:nr.course_groups];((Ut=nr==null?void 0:nr.course_groups)==null?void 0:Ut.length)<20&&(Yr(!1),Jr.push({id:0,name:"\u672A\u5206\u73ED"})),Dn(!1),xi([...fi,...Jr])}});(0,Ee.useEffect)(()=>{kn.current.categoryId=Yn.categoryId,kn.current.id=Yn.categoryId,or({type:"classroomList/getBoardList",payload:kn.current})},[Yn]),(0,Ee.useEffect)(()=>{tt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&or({type:"classroomList/getBoardList",payload:kn.current})},[tt.actionTabs.key]),(0,Ee.useEffect)(()=>{at([])},[tt.detailBoardList]);const Da=(Ut,nr)=>{Sa({page:Ut,page_size:nr}),kn.current.page=Ut,kn.current.page_size=nr,or({type:"classroomList/getBoardList",payload:kn.current})},mo=Ee.createElement("section",{className:pa.dropmenu},Ee.createElement("div",{style:{maxHeight:200,overflow:"auto"}},Ee.createElement(wn(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Ut=>{ro()},hasMore:Or,useWindow:!1},Ee.createElement(Ye.default,{style:{width:240,zIndex:10}},Pe.group_count>0&&fi.map(function(Ut,nr){return Ee.createElement(Ye.default.Item,{key:Ut.id},Ee.createElement(Ce.default,{checked:it.includes(Ut.id),value:Ut.id,onChange:Jr=>{let Ua=it.indexOf(Ut.id);it.indexOf(Ut.id)>-1?at(it.filter(io=>io!==Ut.id)):at(it.concat(Ut.id))}},Ut.name))})))),Ee.createElement("aside",{className:pa.bg},Ee.createElement("div",null,Ee.createElement(Me.ZP,{type:"link",onClick:()=>ol(void 0,null,function*(){_r.group_ids=it,_r.page=1,Qi(Bs({},_r)),Ga()})},"\u786E\u5B9A"),Ee.createElement(Me.ZP,{type:"link",onClick:()=>{at([])}},"\u91CD\u7F6E")))),qi=[{name:"\u65F6\u95F4\u6392\u5E8F",id:"time"},{name:"\u70ED\u5EA6\u6392\u5E8F",id:"hot"}];let an=[{name:"\u5220\u9664",icon:Ee.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u53D1\u9001",icon:Ee.createElement("i",{className:"iconfont icon-fasong"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:Ee.createElement("i",{className:"iconfont icon-sheweigongkai2"})}];be.is_public||an.splice(2,1);const Wn=Ut=>{var nr;ii.cX.setItem(`${(nr=cr==null?void 0:cr.userInfo)==null?void 0:nr.login}${(0,Qe.GJ)()?"Teacher":"Student"}`,Ut,"Board"),Mt(Ut==null?void 0:Ut.name),kn.current.sort_type=qi.find(Jr=>Jr.name===(Ut==null?void 0:Ut.name)).id,or({type:"classroomList/getBoardList",payload:kn.current})},Ar=(Ut,nr)=>ol(void 0,null,function*(){nr.coursesId=kn.current.coursesId;let Jr="boards/setTopping";Ut==="\u53D6\u6D88\u7F6E\u9876"&&(Jr="boards/escTopping"),yield or({type:Jr,payload:Bs({},nr)}),or({type:"classroomList/getBoardList",payload:kn.current})}),oi=Ut=>ol(void 0,null,function*(){const nr=Ut.name;it==""?rt.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"):or({type:"classroomList/setActionTabs",payload:{key:nr,selectArrs:it,params:kn.current}})}),Fi=Ut=>ol(void 0,null,function*(){var nr;if(it=="")return rt.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,ft.ZP)(`/api/boards/${kn.current.categoryId}/messages/bulk_move.json`,{method:"put",body:{ids:it,to_board_id:Ut.key}})).status===0&&(rt.ZP.success("\u64CD\u4F5C\u6210\u529F"),or({type:"classroomList/getBoardList",payload:kn.current}),or({type:"classroomList/getClassroomLeftMenus",payload:{id:(nr=kn.current)==null?void 0:nr.coursesId}}))});function Ga(){return ol(this,null,function*(){var Ut;Qr(!0);let nr=yield(0,ft.ZP)(`/api/boards/${kn.current.categoryId}/messages/statistics.json`,{method:"get",params:Bs({coursesId:(Ut=kn.current)==null?void 0:Ut.coursesId},_r)});Qr(!1),(nr==null?void 0:nr.status)===0&&qn(nr)})}return Ee.createElement("section",null,Ee.createElement(Ho.Z,{isLoading:!1,menuItemWidth:110,tabDataSource:[{name:"\u5168\u90E8",id:"all"},(0,Qe.eB)()&&{name:"\u4E92\u52A8\u7EDF\u8BA1",id:"hudong"},((be==null?void 0:be.is_admin)||(0,Qe.Ny)())&&{name:"\u8BBE\u7F6E",id:"shezhi"},(0,Qe.eB)()&&{name:Ee.createElement("span",null,"\u667A\u80FD\u95EE\u7B54",Ee.createElement("img",{src:Mr.Z,width:17,style:{position:"absolute",top:6}})),id:"wenda"},(0,Qe.eB)()&&{name:"\u95EE\u7B54\u96C6",id:"wendaji"},(0,Qe.eB)()&&{name:"\u5386\u53F2\u5BF9\u8BDD",id:"duihua"}].filter(Ut=>!!Ut),isAdmin:(0,Qe.RV)(),onTabMenuClick:Ut=>{Ut.key==="hudong"&&(Ga(),et.history.replace(`/classrooms/${kn.current.coursesId}/board/${kn.current.categoryId}?type=hudong`)),jt(Ut.key)},defaultSelectedKeys:[`${bt}`],showControlButton:["all","hudong","shezhi"].includes(bt)&&(0,Qe.RV)(),buttonText:"\u6211\u8981\u53D1\u5E16",extraNode:["all","hudong","shezhi"].includes(bt)&&(0,Qe.GJ)()&&de.name!=="\u672A\u5206\u914D\u76EE\u5F55"&&Ee.createElement(Ee.Fragment,null,Ee.createElement("span",{className:"c-blue font16 ml20 current",onClick:Ut=>{var nr;Ut.preventDefault();let Jr=(nr=kn.current)==null?void 0:nr.coursesId;(de==null?void 0:de.parent_id)>0&&(Jr=kn.current.categoryId),or({type:"classroomList/setActionTabs",payload:{key:(de==null?void 0:de.parent_id)===0?"\u6DFB\u52A0\u76EE\u5F55":"\u76EE\u5F55\u91CD\u547D\u540D",params:kn.current,selectArrs:{category_id:Jr,category_name:de.name,type:"board"},cb:()=>{or({type:"classroomList/getBoardList",payload:kn.current})}}})}},(de==null?void 0:de.parent_id)==0?Ee.createElement(lt.Z,{title:"\u65B0\u5EFA\u76EE\u5F55"},Ee.createElement("i",{className:"iconfont icon-xinjianmulu1 c-blue font16 mr20 current"})):Ee.createElement(lt.Z,{title:"\u76EE\u5F55\u91CD\u547D\u540D"},Ee.createElement("i",{className:"iconfont icon-zhongmingming1 c-blue font16 mr20 current"})))),onButtonClick:()=>{et.history.push(`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/add`)}}),bt==="all"&&Ee.createElement("div",null,Ee.createElement(Te.Z,{spinning:lr["classroomList/getBoardList"]},Ee.createElement(Tr.Z,{dataSource:de.messages||[],isAdmin:(0,Qe.GJ)(),batchStatus:yn,SortMenuName:Lt,setSortMenuName:Mt,SortMenus:qi,dispatch:or,isboard:!0,onBoard:Ut=>{kn.current.group_ids=Ut,kn.current.page=1,Sa(nr=>No(Bs({},nr),{page:1})),or({type:"classroomList/getBoardList",payload:kn.current})},detailCourseGroupsList:Pe,onSearch:Ut=>{kn.current.search=Ut,kn.current.page=1,Sa(nr=>No(Bs({},nr),{page:1})),or({type:"classroomList/getBoardList",payload:kn.current})},onSort:Wn,onBatch:Ut=>Rt(Ut)}),de.total_count===0&&Ee.createElement(De.Z,null),de.messages&&de.messages.map(function(Ut,nr){var Jr,Ua;return Ee.createElement("div",{className:pa.listItem,key:nr,onClick:io=>{it.indexOf(Ut.id)>-1?at(it.filter(Ba=>Ba!==Ut.id)):at(it.concat(Ut.id))}},Ee.createElement(gt.Z,{align:"top"},(0,Qe.GJ)()&&Ee.createElement(Je.Z,null,Ee.createElement("div",{className:"mt17"},((0,Qe.Ny)()||((Jr=Ut==null?void 0:Ut.author)==null?void 0:Jr.login)===St.login||(0,Qe.GJ)()&&!Ut.author.is_teacher)&&Ee.createElement(Ce.default,{checked:it.includes(Ut.id),value:Ut.id}))),Ee.createElement(Je.Z,null,Ee.createElement("img",{className:"ml10 mr20",src:`${vt.Z.IMG_SERVER}/images/${Ut.author.image_url}`})),Ee.createElement(Je.Z,{flex:1},Ee.createElement("div",{className:pa.title},Ee.createElement("div",{className:pa.titleLeft},Ee.createElement(et.Link,{to:`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/Detail/${Ut.id}`},Ee.createElement("strong",null,Ut.subject)),(Ut==null?void 0:Ut.is_copy)&&Ee.createElement("span",{className:pa.copyTag},"\u590D\u5236"),Ut.sticky===1&&Ee.createElement("span",{className:"tag-topping ml10"},"\u7F6E\u9876"))),Ee.createElement("p",{className:"mt15"},Ee.createElement("span",{className:""},Ut.author.name),Ut.total_replies_count>0&&Ee.createElement("span",{className:"ml20 c-light-black "},Ut.total_replies_count," \u56DE\u590D"),Ut.praises_count>0&&Ee.createElement("span",{className:"ml20 c-light-black "},Ut.praises_count," \u70B9\u8D5E"),Ut.visits>0&&Ee.createElement("span",{className:"ml20 c-light-black "},Ut.visits," \u6D4F\u89C8"),Ee.createElement("span",{className:"ml20 c-light-black "},Oe()(Ut.created_on).fromNow()))),Ee.createElement(Je.Z,{className:"tr"},Ee.createElement("p",null,(0,Qe.RV)()&&Ee.createElement(et.Link,{style:{marginRight:0},to:`/classrooms/${Yn.coursesId}/board/${Yn.categoryId}/Detail/${Ut.id}`},Ee.createElement("aside",{className:pa.flexBox},Ee.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Ee.createElement("div",null,"\u8BE6\u60C5"))),Ut.sticky===0&&(0,Qe.GJ)()&&Ee.createElement(et.Link,{className:"ml15",to:"",onClick:io=>{io.preventDefault(),Ar("\u7F6E\u9876",Ut)}},"\u7F6E\u9876"),Ut.sticky===1&&(0,Qe.GJ)()&&Ee.createElement(et.Link,{className:"ml15",to:"",onClick:io=>{io.preventDefault(),Ar("\u53D6\u6D88\u7F6E\u9876",Ut)}},"\u53D6\u6D88\u7F6E\u9876"),((0,Qe.Ny)()||((Ua=Ut==null?void 0:Ut.author)==null?void 0:Ua.login)===St.login||(0,Qe.GJ)()&&!Ut.author.is_teacher)&&Ee.createElement(et.Link,{className:"",to:`/classrooms/${Yn.coursesId}/board/${Ut.board_id}/Edit/${Ut.id}`},Ee.createElement("aside",{className:pa.flexBox,style:{marginLeft:"16px"}},Ee.createElement("i",{className:"iconfont icon-bianjizuoye"}),Ee.createElement("div",null,"\u7F16\u8F91")))),Ut.category_name&&Ee.createElement("p",{className:["c-grey-666",pa.categoryName].join(" ")},"\u6240\u5C5E\u76EE\u5F55\uFF1A",Ut.category_name))))}),Ee.createElement("aside",{className:"tc mb50 mt30"},de.total_count>0&&Ee.createElement(Re.Z,{showSizeChanger:!0,onChange:Da,defaultCurrent:1,pageSize:po.page_size||20,current:po.page||1,total:de.total_count})),it.length>0&&(0,Qe.GJ)()&&Ee.createElement(je.Z,{offsetBottom:0},Ee.createElement(ir.Z,{buttonDataSource:an,onButtonClick:oi,useBatchStatus:Rt,catalogue:Xi.second_category.filter(Ut=>Ut.category_name!=="\u672A\u5206\u914D\u76EE\u5F55")||[],allSelect:it.length?it.length===((Br=de==null?void 0:de.messages)==null?void 0:Br.length):!1,setSeleArr:at,setAllSelect:Ut=>{Ut.target.checked?at(de.messages.map(nr=>nr.id)):at([])},selectArrs:it,onMenuClick:Fi,addCatalogue:Ut=>{Ut.preventDefault(),or({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:kn.current,selectArrs:{category_id:kn.current.coursesId,type:"board"}}})}})),Ee.createElement(ps.Z,{cb:Ut=>{at([]),kn.current.page=Ut,Sa(nr=>No(Bs({},nr),{page:Ut}))}}),Ee.createElement(Sl,{cb:()=>at([])}),Ee.createElement(ta.Z,{cb:()=>at([])}))),bt==="hudong"&&Ee.createElement("div",{style:{background:"#fff",padding:"25px 20px"}},Ee.createElement("div",{style:{display:"flex"}},Ee.createElement("div",{style:{flex:1,color:"#666666"}},Ee.createElement("span",null,"\u8BA8\u8BBA\uFF08",$t.total_message_count,"\uFF09"),Ee.createElement("span",{style:{marginLeft:20}},"\u56DE\u590D\uFF08",$t.total_reply_count,"\uFF09"),Ee.createElement("span",{style:{marginLeft:20}},"\u70B9\u8D5E\uFF08",$t.total_like_count,"\uFF09")),(0,Qe.GJ)()&&Ee.createElement("div",null,Ee.createElement(He.Z,{dropdownRender:()=>mo,open:Li,onOpenChange:Ut=>{Hi(Ut)}},Ee.createElement("a",null,"\u5206\u73ED",Li?Ee.createElement($e.Z,{style:{marginLeft:6}}):Ee.createElement(dt.Z,{style:{marginLeft:6}}))),Ee.createElement(He.Z,{open:fn,onOpenChange:Ut=>{ar(Ut)},menu:{items:[{key:"1",style:{width:100},label:Ee.createElement("a",{onClick:()=>ol(void 0,null,function*(){var Ut,nr;let Jr=yield(0,ft.ZP)(`/api/boards/${(Ut=kn.current)==null?void 0:Ut.categoryId}/messages/export_messages.json`,{method:"get",params:Bs({is_repeat_export:1},_r)});(Jr==null?void 0:Jr.status)===0&&et.history.push(`/classrooms/${(nr=kn.current)==null?void 0:nr.coursesId}/exportlist/messages_statistics`)})},"\u4E92\u52A8\u5BFC\u51FA")},{key:"2",label:Ee.createElement("a",{href:`/classrooms/${(vn=kn.current)==null?void 0:vn.coursesId}/exportlist/messages_statistics`},"\u5386\u53F2\u5BFC\u51FA")}]}},Ee.createElement("a",{style:{marginLeft:20}},"\u5BFC\u51FA",fn?Ee.createElement($e.Z,{style:{marginLeft:6}}):Ee.createElement(dt.Z,{style:{marginLeft:6}}))))),Ee.createElement(Ke.default,{dataSource:$t==null?void 0:$t.course_members,style:{marginTop:25},loading:Rn,onChange:(Ut,nr,Jr)=>{Jr.order?(_r.sort_by=Jr.field==="total_score"?"score":Jr.field,_r.sort=Jr.order,_r.sort=_r.sort.replace("end","")):delete _r.sort,Ga()},columns:[{title:"\u5E8F\u53F7",dataIndex:"number",width:60,render:(Ut,nr,Jr)=>_r.page_size*(_r.page-1)+Jr+1},{title:"\u59D3\u540D",dataIndex:"real_name",render:(Ut,nr,Jr)=>Ee.createElement("a",{target:"_blank",style:{color:"#3061D0"},href:`/users/${nr==null?void 0:nr.login}/classrooms`},Ut)},{title:"\u5B66\u53F7",dataIndex:"student_id"},{title:"\u5206\u73ED",dataIndex:"course_group_name"},{title:"\u53D1\u5E16\u6570",dataIndex:"message_count",width:60},{title:"\u5E16\u5B50\u70B9\u8D5E\u6570",dataIndex:"message_like_count",width:100},{title:"\u56DE\u590D\u6570",dataIndex:"reply_count",width:60},{title:"\u56DE\u590D\u70B9\u8D5E\u6570",dataIndex:"reply_like_count",width:100},{title:"\u4E92\u52A8\u6570",dataIndex:"total_message_count",width:70}],pagination:!1}),Ee.createElement(Re.Z,{showSizeChanger:!0,showTotal:Ut=>Ee.createElement("span",null,"\u5171",Ee.createElement("span",{style:{color:"#165DFF"}},$t.total_count)," \u6761\u6570\u636E"),style:{marginTop:10},onChange:(Ut,nr)=>{_r.page=Ut,_r.page_size=nr,Qi(Bs({},_r)),Ga()},defaultCurrent:1,pageSize:_r.page_size||20,current:_r.page||1,total:$t.total_count})),bt==="shezhi"&&Ee.createElement("div",{style:{background:"#fff",padding:20}},Ee.createElement("h5",{style:{fontSize:18}},"\u516C\u5F00\u8BBE\u7F6E"),Ee.createElement(Ce.default,{style:{marginTop:10},defaultChecked:be==null?void 0:be.allow_view_message,onChange:Ut=>ol(void 0,null,function*(){var nr,Jr;let Ua=yield(0,ft.ZP)(`/api/courses/${(nr=kn.current)==null?void 0:nr.coursesId}/update_view_setting.json`,{method:"PUT",body:{allow_view_message:Ut.target.checked}});(Ua==null?void 0:Ua.status)===0&&or({type:"classroomList/getClassroomTopBanner",payload:{id:(Jr=kn.current)==null?void 0:Jr.coursesId}})})},"\u5168\u8BFE\u5802\u53EF\u89C1\uFF08\u672A\u52FE\u9009\u5219\u5B66\u751F\u53D1\u5E03\u7684\u8BA8\u8BBA\u53EA\u80FD\u9009\u62E9\u540C\u73ED\u5B66\u751F\u53EF\u89C1\uFF09")),bt==="wenda"&&Ee.createElement("div",{style:{background:"#fff",padding:20}},Ee.createElement("div",{className:"flex flex-col gap-20 mb20"},Ee.createElement("h5",{className:"font18"},"\u667A\u80FD\u95EE\u7B54"),Ee.createElement(gt.Z,{align:"middle",className:"mt20"},Ee.createElement(za.Z,{size:"default",checked:un,onChange:Ut=>{Er()&&(Vt(Ut),clearTimeout(Hr.current),Hr.current=setTimeout(()=>{var nr;or({type:"classroomList/setCourseAiState",payload:{course_id:(nr=kn.current)==null?void 0:nr.coursesId,is_open_ai:Ut}})},500))}}),Ee.createElement("div",{className:"c-grey-333 ml10"},"\u5F00\u542F\u540E\uFF0C\u6559\u5B66\u8BFE\u5802\u5185\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4F7F\u7528\u667A\u80FD\u52A9\u6559\u7684\u529F\u80FD\uFF0C\u4E0EAI\u5BF9\u8BDD\uFF0C\u8BA9AI\u7B54\u7591\u89E3\u60D1\u3002"," ",Ee.createElement("a",{href:"https://www.educoder.net/forums/40256",target:"_blank"},"\u64CD\u4F5C\u8BF4\u660E"))))),bt==="wendaji"&&Ee.createElement(Ka,null),bt==="duihua"&&Ee.createElement(Rs,null),ai())};var bu=(0,et.connect)(({classroomList:tt,loading:Ze,boards:Ve,user:lr,globalSetting:cr})=>({classroomList:tt,globalSetting:cr,boards:Ve,user:lr,loading:Ze.effects}))(Pl),ql=pe(59301);const Fu=({classroomList:tt,boards:Ze,globalSetting:Ve,loading:lr,user:cr,dispatch:or})=>{const Si=(0,et.useParams)(),{detailBoardList:Br,detailLeftMenus:vn,detailTopBanner:Yn}=tt;return ql.createElement(bu,null)};var xu=(0,et.connect)(({classroomList:tt,loading:Ze,boards:Ve,user:lr,globalSetting:cr})=>({classroomList:tt,globalSetting:cr,boards:Ve,user:lr,loading:Ze.models.index}))(Fu);const Ec=({globalSetting:tt})=>{var Ze;switch(Number((Ze=tt==null?void 0:tt.setting)==null?void 0:Ze.theme)){case ae.Fy.THEMEONE:return Ee.createElement(ks,null);case ae.Fy.DEFAULT:default:return Ee.createElement(xu,null)}};var $l=(0,et.connect)(({globalSetting:tt})=>({globalSetting:tt}))(Ec)},75698:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return lt}});var ae=pe(59301),Ee=pe(20834),et=pe(92832),vt=pe(24905),We=pe(3113),Oe=pe(38854),Ye={bottomControlContainer:"bottomControlContainer___Zu9jI",buttonWrap:"buttonWrap___aWo9e",moveCategory:"moveCategory____Cpq2"},Ce=pe(10102),Me=pe(84105),lt=({buttonDataSource:Te,onButtonClick:gt,useBatchStatus:Je,allSelect:Re,setAllSelect:je,selectArrs:He,onMenuClick:Ke,setSeleArr:ft,catalogue:$e,addCatalogue:dt})=>{const[Qe,De]=(0,ae.useState)(!1),[Ct,Ft]=(0,ae.useState)("");console.log("---",$e);const _t=ae.createElement("div",{className:Ye.moveCategory,onMouseLeave:pt=>De(!1)},ae.createElement(Ee.default,{onClick:Ke,style:{maxHeight:300,width:240,overflow:"auto"}},ae.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},ae.createElement(et.default,{onChange:pt=>{Ft(pt.target.value)}})),$e==null?void 0:$e.map(function(pt,ht){var Ge;if(!(Ct!==""&&pt.category_name.indexOf(Ct)<0))return ae.createElement(ae.Fragment,null,ae.createElement(Ee.default.Item,{className:"multi-llipsis1e",key:pt.category_id,title:pt.category_name},pt.category_name),(Ge=pt==null?void 0:pt.third_category)==null?void 0:Ge.map(Et=>ae.createElement(Ee.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:Et.category_id,title:Et.category_name},Et.category_name)))}),dt&&ae.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:dt},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return ae.createElement("div",{className:Ye.bottomControlContainer},ae.createElement("div",null,ae.createElement("div",null,ae.createElement(vt.default,{checked:Re,onChange:je},"\u5168\u9009\u672C\u9875\uFF08",He.length,"\uFF09")),(0,Ce.GJ)()&&Te.map(pt=>ae.createElement("div",{key:pt.name},ae.createElement(We.ZP,{type:"primary",icon:pt.icon,className:Ye.buttonWrap,onClick:()=>gt(pt)},pt.name))),(0,Ce.GJ)()&&(dt||$e)&&ae.createElement("div",null,ae.createElement(Oe.Z,{open:Qe,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>_t,getPopupContainer:pt=>pt.parentNode},ae.createElement("span",{className:"ant-dropdown-link",onMouseEnter:pt=>De(!0)},ae.createElement(We.ZP,{type:"primary",className:Ye.buttonWrap,icon:ae.createElement("i",{className:"iconfont icon-yidongmulu"})},ae.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",ae.createElement(Me.Z,null))))))),ae.createElement("div",null,ae.createElement(We.ZP,{type:"primary",ghost:!0,onClick:()=>{Je(!1),ft([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},22733:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ke}});var ae=pe(59301),Ee=pe(20834),et=pe(24905),vt=pe(3113),We=pe(38854),Oe=pe(6848),Ye=pe(57809),Ce=pe(92832),Me={searchSortControllerContainer:"searchSortControllerContainer___hHmtL",btn:"btn___IGcjw",btnSort:"btnSort___TjGZj",tips:"tips____YGut"},rt=pe(10102),lt=pe(87395),Te=pe(84105),gt=pe(26724),Je=pe.n(gt),Re=pe(63823),je=(ft,$e,dt)=>new Promise((Qe,De)=>{var Ct=pt=>{try{_t(dt.next(pt))}catch(ht){De(ht)}},Ft=pt=>{try{_t(dt.throw(pt))}catch(ht){De(ht)}},_t=pt=>pt.done?Qe(pt.value):Promise.resolve(pt.value).then(Ct,Ft);_t((dt=dt.apply(ft,$e)).next())}),Ke=({isAdmin:ft,dataSource:$e,batchStatus:dt,SortMenuName:Qe,setSortMenuName:De,detailCourseGroupsList:Ct,onSearch:Ft,onBoard:_t,onSort:pt,isboard:ht,dispatch:Ge,onBatch:Et,SortMenus:nt,isShowMode:kt=!1,onModeChange:En})=>{const[Kt,mn]=(0,ae.useState)(!1),[Nn,ze]=(0,ae.useState)([]),[ke,Nt]=(0,ae.useState)(!0);let[bn,xn]=(0,ae.useState)([]);const[yt,ct]=(0,ae.useState)(1),[Gt,jn]=(0,ae.useState)(!1),Zt=(0,Re.useParams)(),hn=Se=>{De(Se.name),pt(Se)};(0,ae.useEffect)(()=>{ht&&xt()},[ht]);const xt=()=>je(void 0,null,function*(){var Se;if(ke&&!Gt){jn(!0),ct(yt+1);const ce=yield Ge({type:"classroomList/getCourseGroupsList",payload:{page:yt,id:Zt.coursesId,limit:20,nonenavigate:!0}});let le=[...(ce==null?void 0:ce.course_groups)||[]];((Se=ce==null?void 0:ce.course_groups)==null?void 0:Se.length)<20&&(Nt(!1),le.push({id:0,name:"\u672A\u5206\u73ED"})),jn(!1),xn([...bn,...le])}}),wn=ae.createElement("section",{className:Me.dropmenu},ae.createElement("div",{style:{maxHeight:200,overflow:"auto"}},ae.createElement(Je(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Se=>{xt()},hasMore:ke,useWindow:!1},ae.createElement(Ee.default,{style:{width:240,zIndex:10}},(Ct==null?void 0:Ct.group_count)>0&&(bn==null?void 0:bn.filter(Se=>Se.edit_auth||Se.name==="\u672A\u5206\u73ED").map(function(Se,ce){return ae.createElement(Ee.default.Item,{key:Se.id},ae.createElement(et.default,{checked:Nn.includes(Se.id),value:Se.id,onChange:le=>{let we=Nn.indexOf(Se.id);Nn.indexOf(Se.id)>-1?ze(Nn.filter(Be=>Be!==Se.id)):ze(Nn.concat(Se.id))}},Se.name))}))))),ae.createElement("aside",{style:{background:"#fff"}},ae.createElement("div",null,ae.createElement(vt.ZP,{type:"link",onClick:()=>{_t(Nn)}},"\u786E\u5B9A"),ae.createElement(vt.ZP,{type:"link",onClick:()=>{ze([])}},"\u91CD\u7F6E")))),on=Qe==="\u9ED8\u8BA4\u6392\u5E8F";return ae.createElement("div",{className:Me.searchSortControllerContainer},!!(nt!=null&&nt.length)&&ae.createElement("div",null,ae.createElement(We.Z,{dropdownRender:()=>ae.createElement(Ee.default,{selectedKeys:[Qe]},nt.map(Se=>ae.createElement(Ee.default.Item,{key:Se.name,onClick:()=>hn(Se)},Se.name)))},ae.createElement("div",null,ae.createElement("span",{className:`${Me.btn} ${on?Me.btnSort:""}`},ae.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),Qe)))),on&&ae.createElement(Oe.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},ae.createElement("span",{className:Me.tips},ae.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),kt&&ae.createElement(Ye.default,{defaultValue:"",onChange:En,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),ae.createElement(Ce.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:Ft,style:{width:220,marginLeft:kt?"":"auto"}}),(0,rt.eB)()&&ht&&ae.createElement(We.Z,{dropdownRender:()=>wn,open:Kt,onOpenChange:Se=>{mn(Se)}},ae.createElement("a",null,"\u5206\u73ED",Kt?ae.createElement(lt.Z,{style:{marginLeft:6}}):ae.createElement(Te.Z,{style:{marginLeft:6}}))))}},20534:function(Dt,Xt,pe){"use strict";var ae=pe(59301),Ee=pe(38854),et=pe(8591),vt=pe(6848),We=pe(63823),Oe=pe(10102),Ye=pe(5873),Ce=pe(68798);const Me=({isLoading:rt,addText:lt,tabDataSource:Te,isAdmin:gt,dispatch:Je,classroomList:Re,type:je,isExercise:He,defaultSelectedKeys:Ke,onTabMenuClick:ft,getDropdownMenu:$e,showControlButton:dt,buttonText:Qe,buttonIcon:De="icon-tianjiadaohang",extraNode:Ct,user:Ft,onButtonClick:_t,isModelUser:pt})=>{var ht,Ge,Et,nt,kt;const En=(0,We.useParams)();return ae.createElement("div",{className:"flex item-center gap-20px",style:{background:"linear-gradient( 180deg, #E0F1FF 0%, #EFF7FF 100%)",border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0"}},ae.createElement("div",{className:"flex gap-4px mr-auto"},Te==null?void 0:Te.map((Kt,mn)=>ae.createElement("div",{key:mn,className:`text-16px flex item-center justify-center current ${Ke==(typeof Kt.index=="number"?Kt.index:Kt.id)?"bg-white font-semibold":"c-grey-333"}`,style:{width:120,height:40,border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0",color:Ke==(typeof Kt.index=="number"?Kt.index:Kt.id)?"#1890FF":""},onClick:()=>rt?{}:ft(Kt)},Kt==null?void 0:Kt.name,Kt.total!==void 0&>&&ae.createElement("span",{className:"ml-4px"},Kt.total||0)))),gt&&ae.createElement("div",{className:"flex item-center gap-20px mr-20px"},He&&ae.createElement("span",{className:"iconfont icon-shezhi8 flex item-center current",onClick:()=>{Je({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),He&&ae.createElement(Ee.Z,{arrow:!0,menu:{items:[{key:"1",label:"\u5B66\u751F\u6210\u7EE9"},{key:"3",label:"\u5386\u53F2\u5BFC\u51FA"}],onClick:({key:Kt})=>{var mn;if((0,Oe.Rm)()&&!((mn=Re.AssistantObject.exercise)!=null&&mn.can_download)){et.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}Kt=="1"&&Je({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:je,exportType:"exercise",category_id:En.categoryId}}),Kt=="3"&&We.history.push(`/classrooms/${En==null?void 0:En.coursesId}/exportlist/exercise_score,export_exercise_users`)}}},ae.createElement("span",{className:"iconfont icon-xiazai6 current c-grey-666"})),!!Ct&&ae.createElement("div",null,Ct),dt&&(Qe=="\u6DFB\u52A0\u76F4\u64AD"?ae.createElement(Ee.Z,{menu:{items:(Ge=(ht=[{label:ae.createElement("div",{onClick:()=>{_t("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},{label:ae.createElement("div",{onClick:()=>{_t("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:pt}])==null?void 0:ht.filter(Kt=>Kt==null?void 0:Kt.show))==null?void 0:Ge.map(Kt=>({label:Kt==null?void 0:Kt.label,key:Kt==null?void 0:Kt.key}))}},ae.createElement(Ye.op,{theme:Ce.Fy.THEMEONE,icon:ae.createElement("span",{className:`iconfont ${De}`})},Qe)):ae.createElement(Ye.op,{theme:Ce.Fy.THEMEONE,onClick:_t,icon:ae.createElement("span",{className:`iconfont ${De}`})},Qe)),!!$e&&ae.createElement(Ee.Z,{disabled:((Et=Ft==null?void 0:Ft.userInfo)==null?void 0:Et.user_status)===2,dropdownRender:$e},ae.createElement(vt.Z,{title:((nt=Ft==null?void 0:Ft.userInfo)==null?void 0:nt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},ae.createElement(Ye.op,{theme:Ce.Fy.THEMEONE,onClick:_t,disabled:((kt=Ft==null?void 0:Ft.userInfo)==null?void 0:kt.user_status)===2,icon:ae.createElement("span",{className:"iconfont icon-tianjiadaohang"})},lt||"\u521B\u5EFA\u8BD5\u5377")))))};Xt.Z=Me},3560:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Te}});var ae=pe(59301),Ee=pe.p+"static/modelContact.7a7eb113.png",et=pe(43418),vt={modal:"modal___VzyKs",content:"content___HhLQS",close:"close___zKaRB"},We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABQVJREFUWEfNmXes32MUxj8PagS1QghJiU1pxExsFbUqitoSKzVilEjoHzVj/KEEDYnGbq3aexNiRRGjlMTee8+K432u87u+99ffvPdK7kl+f/3e8bznPec5z3m/oh8WEfMBGwPbAhsCawIrAIvncj8BnwFvAS8CjwMvSPq72+3UzYSIWBE4BjgQ+BZ4FHgOmAN8AhiYzUA9di1gM2A0sDQwHZgqyWM7so4ARsQywFnA3sDVwJWS3uhohxwUEesAhwIHAzcDkyV9026NtgAjYl/gwuKNGw1Skj3Xb4sIe3Jy8brXnSjpplaLNQUYEQsAlwDbeTFJL/cbVYOJEbFBHvox4FhJfzVavyHAiFgEmAk4qPeX9PNggqutFRGLAdcDTrrxkn6r32cegOm5O4DvgEOanWywAOd+VwFLAbvX79cI4GWZgXv83+AqnnQ43WYmkHRU9fB9AGZCnGFuq11rRPSM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5H7K1aE9+V6mngIcexnXGEf5Jcx3ssmybH67rzNE05wO8l9W3niEwMF38nyKBYRKxSzf62bWflFEO3cU8vmueG7tNHghy6j0eVqx66z291aT80HzDrQA7dJ+A6oEPzEb0J2dY+Q2yUnyGsrKufIT7PzxAWsv3+DPEPkKKBQOOiq+AAAAAASUVORK5CYII=",Oe=pe(59301),Ce=({visible:gt,setVisible:Je,image:Re,closeImageStyle:je,hiddenbutton:He})=>Oe.createElement(et.default,{centered:!0,destroyOnClose:!0,open:gt,footer:null,wrapClassName:vt.modal,onCancel:()=>Je(!1)},Oe.createElement("div",{className:vt.content},Oe.createElement("img",{src:Re}),He,Oe.createElement("img",{onClick:()=>Je(!1),className:vt.close,src:We,style:je}))),Me=pe(10102),rt=pe(59301),Te=()=>{const[gt,Je]=(0,ae.useState)(!1);return{verifyModelUser:()=>(0,Me.$O)()?!0:(Je(!0),!1),ContactModalElement:()=>rt.createElement(Ce,{visible:gt,setVisible:Je,image:Ee}),contactOpen:gt,setContactOpen:Je}}},77578:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return ae}});const ae=Ee=>Ee?typeof Ee=="function"?Ee():Ee:null},27666:function(Dt,Xt,pe){"use strict";var ae=pe(94480),Ee=pe(16089);function et(vt){let We;const Oe=Ce=>()=>{We=null,vt.apply(void 0,(0,ae.Z)(Ce))},Ye=function(){if(We==null){for(var Ce=arguments.length,Me=new Array(Ce),rt=0;rt<Ce;rt++)Me[rt]=arguments[rt];We=(0,Ee.Z)(Oe(Me))}};return Ye.cancel=()=>{Ee.Z.cancel(We),We=null},Ye}Xt.Z=et},81228:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Ct}});var ae=pe(67732),Ee=pe(83652),et=pe(42403),vt=pe(158),We=pe(59301),Oe=pe(92310),Ye=pe.n(Oe),Ce=pe(29301),Me=pe(2738),rt=pe(27666),lt=pe(36355),Te=pe(83116),gt=pe(37613);const Je=Ft=>{const{componentCls:_t}=Ft;return{[_t]:{position:"fixed",zIndex:Ft.zIndexPopup}}};var Re=(0,Te.Z)("Affix",Ft=>{const _t=(0,gt.TS)(Ft,{zIndexPopup:Ft.zIndexBase+10});return[Je(_t)]});function je(Ft){return Ft!==window?Ft.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function He(Ft,_t,pt){if(pt!==void 0&&_t.top>Ft.top-pt)return pt+_t.top}function Ke(Ft,_t,pt){if(pt!==void 0&&_t.bottom<Ft.bottom+pt){const ht=window.innerHeight-_t.bottom;return pt+ht}}const ft=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function $e(){return typeof window!="undefined"?window:null}var dt;(function(Ft){Ft[Ft.None=0]="None",Ft[Ft.Prepare=1]="Prepare"})(dt||(dt={}));let Qe=function(Ft){(0,et.Z)(pt,Ft);var _t=(0,vt.Z)(pt);function pt(){var ht;return(0,ae.Z)(this,pt),ht=_t.apply(this,arguments),ht.state={status:dt.None,lastAffix:!1,prevTarget:null},ht.placeholderNodeRef=(0,We.createRef)(),ht.fixedNodeRef=(0,We.createRef)(),ht.addListeners=()=>{const Ge=ht.getTargetFunc(),Et=Ge==null?void 0:Ge(),{prevTarget:nt}=ht.state;nt!==Et&&(ft.forEach(kt=>{nt==null||nt.removeEventListener(kt,ht.lazyUpdatePosition),Et==null||Et.addEventListener(kt,ht.lazyUpdatePosition)}),ht.updatePosition(),ht.setState({prevTarget:Et}))},ht.removeListeners=()=>{ht.timer&&(clearTimeout(ht.timer),ht.timer=null);const{prevTarget:Ge}=ht.state,Et=ht.getTargetFunc(),nt=Et==null?void 0:Et();ft.forEach(kt=>{nt==null||nt.removeEventListener(kt,ht.lazyUpdatePosition),Ge==null||Ge.removeEventListener(kt,ht.lazyUpdatePosition)}),ht.updatePosition.cancel(),ht.lazyUpdatePosition.cancel()},ht.getOffsetTop=()=>{const{offsetBottom:Ge,offsetTop:Et}=ht.props;return Ge===void 0&&Et===void 0?0:Et},ht.getOffsetBottom=()=>ht.props.offsetBottom,ht.measure=()=>{const{status:Ge,lastAffix:Et}=ht.state,{onChange:nt}=ht.props,kt=ht.getTargetFunc();if(Ge!==dt.Prepare||!ht.fixedNodeRef.current||!ht.placeholderNodeRef.current||!kt)return;const En=ht.getOffsetTop(),Kt=ht.getOffsetBottom(),mn=kt();if(mn){const Nn={status:dt.None},ze=je(ht.placeholderNodeRef.current);if(ze.top===0&&ze.left===0&&ze.width===0&&ze.height===0)return;const ke=je(mn),Nt=He(ze,ke,En),bn=Ke(ze,ke,Kt);Nt!==void 0?(Nn.affixStyle={position:"fixed",top:Nt,width:ze.width,height:ze.height},Nn.placeholderStyle={width:ze.width,height:ze.height}):bn!==void 0&&(Nn.affixStyle={position:"fixed",bottom:bn,width:ze.width,height:ze.height},Nn.placeholderStyle={width:ze.width,height:ze.height}),Nn.lastAffix=!!Nn.affixStyle,nt&&Et!==Nn.lastAffix&&nt(Nn.lastAffix),ht.setState(Nn)}},ht.prepareMeasure=()=>{ht.setState({status:dt.Prepare,affixStyle:void 0,placeholderStyle:void 0})},ht.updatePosition=(0,rt.Z)(()=>{ht.prepareMeasure()}),ht.lazyUpdatePosition=(0,rt.Z)(()=>{const Ge=ht.getTargetFunc(),{affixStyle:Et}=ht.state;if(Ge&&Et){const nt=ht.getOffsetTop(),kt=ht.getOffsetBottom(),En=Ge();if(En&&ht.placeholderNodeRef.current){const Kt=je(En),mn=je(ht.placeholderNodeRef.current),Nn=He(mn,Kt,nt),ze=Ke(mn,Kt,kt);if(Nn!==void 0&&Et.top===Nn||ze!==void 0&&Et.bottom===ze)return}}ht.prepareMeasure()}),ht}return(0,Ee.Z)(pt,[{key:"getTargetFunc",value:function(){const{getTargetContainer:Ge}=this.context,{target:Et}=this.props;return Et!==void 0?Et:Ge!=null?Ge:$e}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(Ge){this.addListeners(),(Ge.offsetTop!==this.props.offsetTop||Ge.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:Ge,placeholderStyle:Et}=this.state,{affixPrefixCls:nt,rootClassName:kt,children:En}=this.props,Kt=Ye()(Ge&&kt,{[nt]:!!Ge});let mn=(0,Me.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return We.createElement(Ce.Z,{onResize:this.updatePosition},We.createElement("div",Object.assign({},mn,{ref:this.placeholderNodeRef}),Ge&&We.createElement("div",{style:Et,"aria-hidden":"true"}),We.createElement("div",{className:Kt,ref:this.fixedNodeRef,style:Ge},We.createElement(Ce.Z,{onResize:this.updatePosition},En))))}}]),pt}(We.Component);Qe.contextType=lt.E_;var Ct=(0,We.forwardRef)((Ft,_t)=>{const{prefixCls:pt,rootClassName:ht}=Ft,{getPrefixCls:Ge}=(0,We.useContext)(lt.E_),Et=Ge("affix",pt),[nt,kt]=Re(Et),En=Object.assign(Object.assign({},Ft),{affixPrefixCls:Et,rootClassName:Ye()(ht,kt)});return nt(We.createElement(Qe,Object.assign({},En,{ref:_t})))})},5083:function(Dt,Xt,pe){"use strict";pe.d(Xt,{default:function(){return Sa}});var ae=pe(66649),Ee=pe.n(ae),et=pe(48736),vt=pe(9007),We=pe.n(vt),Oe=pe(50991),Ye=pe.n(Oe),Ce=pe(9084),Me=pe.n(Ce),rt=pe(58626),lt=pe.n(rt),Te=pe(13477),gt=pe.n(Te),Je=pe(64796),Re=pe.n(Je);Ee().extend(Re()),Ee().extend(gt()),Ee().extend(We()),Ee().extend(Ye()),Ee().extend(Me()),Ee().extend(lt()),Ee().extend(function(de,ve){var be=ve.prototype,Pe=be.format;be.format=function(it){var at=(it||"").replace("Wo","wo");return Pe.bind(this)(at)}});var je={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},He=function(ve){var be=je[ve];return be||ve.split("_")[0]},Ke=function(){(0,et.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ft={getNow:function(){return Ee()()},getFixedDate:function(ve){return Ee()(ve,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ve){return ve.endOf("month")},getWeekDay:function(ve){var be=ve.locale("en");return be.weekday()+be.localeData().firstDayOfWeek()},getYear:function(ve){return ve.year()},getMonth:function(ve){return ve.month()},getDate:function(ve){return ve.date()},getHour:function(ve){return ve.hour()},getMinute:function(ve){return ve.minute()},getSecond:function(ve){return ve.second()},addYear:function(ve,be){return ve.add(be,"year")},addMonth:function(ve,be){return ve.add(be,"month")},addDate:function(ve,be){return ve.add(be,"day")},setYear:function(ve,be){return ve.year(be)},setMonth:function(ve,be){return ve.month(be)},setDate:function(ve,be){return ve.date(be)},setHour:function(ve,be){return ve.hour(be)},setMinute:function(ve,be){return ve.minute(be)},setSecond:function(ve,be){return ve.second(be)},isAfter:function(ve,be){return ve.isAfter(be)},isValidate:function(ve){return ve.isValid()},locale:{getWeekFirstDay:function(ve){return Ee()().locale(He(ve)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ve,be){return be.locale(He(ve)).weekday(0)},getWeek:function(ve,be){return be.locale(He(ve)).week()},getShortWeekDays:function(ve){return Ee()().locale(He(ve)).localeData().weekdaysMin()},getShortMonths:function(ve){return Ee()().locale(He(ve)).localeData().monthsShort()},format:function(ve,be,Pe){return be.locale(He(ve)).format(Pe)},parse:function(ve,be,Pe){for(var Ne=He(ve),it=0;it<Pe.length;it+=1){var at=Pe[it],Lt=be;if(at.includes("wo")||at.includes("Wo")){for(var Mt=Lt.split("-")[0],St=Lt.split("-")[1],yn=Ee()(Mt,"YYYY").startOf("year").locale(Ne),Rt=0;Rt<=52;Rt+=1){var Pt=yn.add(Rt,"week");if(Pt.format("Wo")===St)return Pt}return Ke(),null}var un=Ee()(Lt,at,!0).locale(Ne);if(un.isValid())return un}return be&&Ke(),null}}},$e=ft,dt=pe(53487),Qe=pe(54476),De=pe(59301),Ct={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Ft=Ct,_t=pe(85221),pt=function(ve,be){return De.createElement(_t.Z,(0,Qe.Z)({},ve,{ref:be,icon:Ft}))},ht=De.forwardRef(pt),Ge=ht,Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},nt=Et,kt=function(ve,be){return De.createElement(_t.Z,(0,Qe.Z)({},ve,{ref:be,icon:nt}))},En=De.forwardRef(kt),Kt=En,mn=pe(19248),Nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},ze=Nn,ke=function(ve,be){return De.createElement(_t.Z,(0,Qe.Z)({},ve,{ref:be,icon:ze}))},Nt=De.forwardRef(ke),bn=Nt,xn=pe(92310),yt=pe.n(xn),ct=pe(67732),Gt=pe(83652),jn=pe(31226),Zt=pe(42403),hn=pe(158),xt=pe(20068),wn=pe(33885),on=pe(42978),Se=pe(18929),ce=pe(26112),le=pe(80547),we=pe(13697),Be=10,fe=Be*10,st=7;function An(de,ve){if(!de&&!ve)return!0;if(!de||!ve)return!1}function Jn(de,ve,be){var Pe=An(ve,be);if(typeof Pe=="boolean")return Pe;var Ne=Math.floor(de.getYear(ve)/10),it=Math.floor(de.getYear(be)/10);return Ne===it}function xr(de,ve,be){var Pe=An(ve,be);return typeof Pe=="boolean"?Pe:de.getYear(ve)===de.getYear(be)}function ur(de,ve){var be=Math.floor(de.getMonth(ve)/3);return be+1}function qr(de,ve,be){var Pe=An(ve,be);return typeof Pe=="boolean"?Pe:xr(de,ve,be)&&ur(de,ve)===ur(de,be)}function ii(de,ve,be){var Pe=An(ve,be);return typeof Pe=="boolean"?Pe:xr(de,ve,be)&&de.getMonth(ve)===de.getMonth(be)}function Ii(de,ve,be){var Pe=An(ve,be);return typeof Pe=="boolean"?Pe:de.getYear(ve)===de.getYear(be)&&de.getMonth(ve)===de.getMonth(be)&&de.getDate(ve)===de.getDate(be)}function fa(de,ve,be){var Pe=An(ve,be);return typeof Pe=="boolean"?Pe:de.getHour(ve)===de.getHour(be)&&de.getMinute(ve)===de.getMinute(be)&&de.getSecond(ve)===de.getSecond(be)}function qt(de,ve,be,Pe){var Ne=An(be,Pe);return typeof Ne=="boolean"?Ne:xr(de,be,Pe)&&de.locale.getWeek(ve,be)===de.locale.getWeek(ve,Pe)}function Sr(de,ve,be){return Ii(de,ve,be)&&fa(de,ve,be)}function co(de,ve,be,Pe){return!ve||!be||!Pe?!1:!Ii(de,ve,Pe)&&!Ii(de,be,Pe)&&de.isAfter(Pe,ve)&&de.isAfter(be,Pe)}function Fa(de,ve,be){var Pe=ve.locale.getWeekFirstDay(de),Ne=ve.setDate(be,1),it=ve.getWeekDay(Ne),at=ve.addDate(Ne,Pe-it);return ve.getMonth(at)===ve.getMonth(be)&&ve.getDate(at)>1&&(at=ve.addDate(at,-7)),at}function wi(de,ve,be){var Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ve){case"year":return be.addYear(de,Pe*10);case"quarter":case"month":return be.addYear(de,Pe);default:return be.addMonth(de,Pe)}}function pr(de,ve){var be=ve.generateConfig,Pe=ve.locale,Ne=ve.format;return typeof Ne=="function"?Ne(de):be.locale.format(Pe.locale,de,Ne)}function fs(de,ve){var be=ve.generateConfig,Pe=ve.locale,Ne=ve.formatList;return!de||typeof Ne[0]=="function"?null:be.locale.parse(Pe.locale,de,Ne)}function $i(de){var ve=de.cellDate,be=de.mode,Pe=de.disabledDate,Ne=de.generateConfig;if(!Pe)return!1;var it=function(Vt,bt,jt){for(var $t=bt;$t<=jt;){var qn=void 0;switch(Vt){case"date":{if(qn=Ne.setDate(ve,$t),!Pe(qn))return!1;break}case"month":{if(qn=Ne.setMonth(ve,$t),!$i({cellDate:qn,mode:"month",generateConfig:Ne,disabledDate:Pe}))return!1;break}case"year":{if(qn=Ne.setYear(ve,$t),!$i({cellDate:qn,mode:"year",generateConfig:Ne,disabledDate:Pe}))return!1;break}}$t+=1}return!0};switch(be){case"date":case"week":return Pe(ve);case"month":{var at=1,Lt=Ne.getDate(Ne.getEndDate(ve));return it("date",at,Lt)}case"quarter":{var Mt=Math.floor(Ne.getMonth(ve)/3)*3,St=Mt+2;return it("month",Mt,St)}case"year":return it("month",0,11);case"decade":{var yn=Ne.getYear(ve),Rt=Math.floor(yn/Be)*Be,Pt=Rt+Be-1;return it("year",Rt,Pt)}}}function la(de,ve){var be=ve.formatList,Pe=ve.generateConfig,Ne=ve.locale;return(0,le.Z)(function(){if(!de)return[[""],""];for(var it="",at=[],Lt=0;Lt<be.length;Lt+=1){var Mt=be[Lt],St=pr(de,{generateConfig:Pe,locale:Ne,format:Mt});at.push(St),Lt===0&&(it=St)}return[at,it]},[de,be,Ne],function(it,at){return!Sr(Pe,it[0],at[0])||!(0,we.Z)(it[1],at[1],!0)||!(0,we.Z)(it[2],at[2],!0)})}function ea(de,ve){var be=ve.formatList,Pe=ve.generateConfig,Ne=ve.locale,it=(0,De.useState)(null),at=(0,on.Z)(it,2),Lt=at[0],Mt=at[1],St=(0,De.useRef)(null);function yn(jt){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(St.current),$t){Mt(jt);return}St.current=requestAnimationFrame(function(){Mt(jt)})}var Rt=la(Lt,{formatList:be,generateConfig:Pe,locale:Ne}),Pt=(0,on.Z)(Rt,2),un=Pt[1];function Vt(jt){yn(jt)}function bt(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;yn(null,jt)}return(0,De.useEffect)(function(){bt(!0)},[de]),(0,De.useEffect)(function(){return function(){return cancelAnimationFrame(St.current)}},[]),[un,Vt,bt]}var pi=pe(10228),$o=pe(16089),ks=pe(94480),za=pe(29194),gi=new Map;function Ti(de,ve){var be;function Pe(){(0,za.Z)(de)?ve():be=(0,$o.Z)(function(){Pe()})}return Pe(),function(){$o.Z.cancel(be)}}function es(de,ve,be){if(gi.get(de)&&cancelAnimationFrame(gi.get(de)),be<=0){gi.set(de,requestAnimationFrame(function(){de.scrollTop=ve}));return}var Pe=ve-de.scrollTop,Ne=Pe/be*10;gi.set(de,requestAnimationFrame(function(){de.scrollTop+=Ne,de.scrollTop!==ve&&es(de,ve,be-10)}))}function ts(de,ve){var be=ve.onLeftRight,Pe=ve.onCtrlLeftRight,Ne=ve.onUpDown,it=ve.onPageUpDown,at=ve.onEnter,Lt=de.which,Mt=de.ctrlKey,St=de.metaKey;switch(Lt){case pi.Z.LEFT:if(Mt||St){if(Pe)return Pe(-1),!0}else if(be)return be(-1),!0;break;case pi.Z.RIGHT:if(Mt||St){if(Pe)return Pe(1),!0}else if(be)return be(1),!0;break;case pi.Z.UP:if(Ne)return Ne(-1),!0;break;case pi.Z.DOWN:if(Ne)return Ne(1),!0;break;case pi.Z.PAGE_UP:if(it)return it(-1),!0;break;case pi.Z.PAGE_DOWN:if(it)return it(1),!0;break;case pi.Z.ENTER:if(at)return at(),!0;break}return!1}function jo(de,ve,be,Pe){var Ne=de;if(!Ne)switch(ve){case"time":Ne=Pe?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ne="gggg-wo";break;case"month":Ne="YYYY-MM";break;case"quarter":Ne="YYYY-[Q]Q";break;case"year":Ne="YYYY";break;default:Ne=be?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ne}function Ji(de,ve,be){var Pe=de==="time"?8:10,Ne=typeof ve=="function"?ve(be.getNow()).length:ve.length;return Math.max(Pe,Ne)+2}var ns=null,Ci=new Set;function Sl(de){return!ns&&typeof window!="undefined"&&window.addEventListener&&(ns=function(be){(0,ks.Z)(Ci).forEach(function(Pe){Pe(be)})},window.addEventListener("mousedown",ns)),Ci.add(de),function(){Ci.delete(de),Ci.size===0&&(window.removeEventListener("mousedown",ns),ns=null)}}function ps(de){var ve=de.target;if(de.composed&&ve.shadowRoot){var be;return((be=de.composedPath)===null||be===void 0?void 0:be.call(de)[0])||ve}return ve}var ta=function(ve){return ve==="month"||ve==="date"?"year":ve},pa=function(ve){return ve==="date"?"month":ve},Ho=function(ve){return ve==="month"||ve==="date"?"quarter":ve},Tr=function(ve){return ve==="date"?"week":ve},ir={year:ta,month:pa,quarter:Ho,week:Tr,time:null,date:null};function Mr(de,ve){return de.some(function(be){return be&&be.contains(ve)})}function vi(de){var ve=de.open,be=de.value,Pe=de.isClickOutside,Ne=de.triggerOpen,it=de.forwardKeyDown,at=de.onKeyDown,Lt=de.blurToCancel,Mt=de.onSubmit,St=de.onCancel,yn=de.onFocus,Rt=de.onBlur,Pt=de.changeOnBlur,un=(0,De.useState)(!1),Vt=(0,on.Z)(un,2),bt=Vt[0],jt=Vt[1],$t=(0,De.useState)(!1),qn=(0,on.Z)($t,2),On=qn[0],pn=qn[1],Cn=(0,De.useRef)(!1),Dn=(0,De.useRef)(!1),Rn=(0,De.useRef)(!1),Qr={onMouseDown:function(){jt(!0),Ne(!0)},onKeyDown:function(Yr){var fi=function(){Rn.current=!0};if(at(Yr,fi),!Rn.current){switch(Yr.which){case pi.Z.ENTER:{ve?Mt()!==!1&&jt(!0):Ne(!0),Yr.preventDefault();return}case pi.Z.TAB:{bt&&ve&&!Yr.shiftKey?(jt(!1),Yr.preventDefault()):!bt&&ve&&!it(Yr)&&Yr.shiftKey&&(jt(!0),Yr.preventDefault());return}case pi.Z.ESC:{jt(!0),St();return}}!ve&&![pi.Z.SHIFT].includes(Yr.which)?Ne(!0):bt||it(Yr)}},onFocus:function(Yr){jt(!0),pn(!0),yn&&yn(Yr)},onBlur:function(Yr){if(Cn.current||!Pe(document.activeElement)){Cn.current=!1;return}Lt?setTimeout(function(){for(var fi=document,xi=fi.activeElement;xi&&xi.shadowRoot;)xi=xi.shadowRoot.activeElement;Pe(xi)&&St()},0):ve&&(Ne(!1),Dn.current&&Mt()),pn(!1),Rt==null||Rt(Yr)}};return(0,De.useEffect)(function(){Dn.current=!1},[ve]),(0,De.useEffect)(function(){Dn.current=!0},[be]),(0,De.useEffect)(function(){return Sl(function(Or){var Yr=ps(Or),fi=Pe(Yr);ve&&(fi?!Pt&&(!On||fi)&&Ne(!1):(Cn.current=!0,(0,$o.Z)(function(){Cn.current=!1})))})}),[Qr,{focused:On,typing:bt}]}function hi(de,ve){return De.useMemo(function(){return de||(ve?((0,et.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ve).map(function(be){var Pe=(0,on.Z)(be,2),Ne=Pe[0],it=Pe[1];return{label:Ne,value:it}})):[])},[de,ve])}var _i=pe(34280);function Fe(de){var ve=de.valueTexts,be=de.onTextChange,Pe=De.useState(""),Ne=(0,on.Z)(Pe,2),it=Ne[0],at=Ne[1],Lt=De.useRef([]);Lt.current=ve;function Mt(yn){at(yn),be(yn)}function St(){at(Lt.current[0])}return(0,_i.Z)(function(){ve.every(function(yn){return yn!==it})&&St()},[ve.join("||")]),[it,Mt,St]}var Ue=De.createContext({}),Jt=Ue,Ht=pe(76190);function Ot(de){var ve=de.cellRender,be=de.monthCellRender,Pe=de.dateRender,Ne=De.useMemo(function(){if(ve)return ve;if(!(!be&&!Pe))return function(it,at){var Lt=it;return Pe&&at.type==="date"?Pe(Lt,at.today):be&&at.type==="month"?be(Lt,at.locale):at.originNode}},[ve,be,Pe]);return Ne}function Sn(de,ve){for(var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Pe=String(de);Pe.length<ve;)Pe="".concat(be).concat(de);return Pe}var In=function(){for(var ve=arguments.length,be=new Array(ve),Pe=0;Pe<ve;Pe++)be[Pe]=arguments[Pe];return be};function Bn(de){return de==null?[]:Array.isArray(de)?de:[de]}function sn(de,ve){return de?de[ve]:null}function kr(de,ve,be){var Pe=[sn(de,0),sn(de,1)];return Pe[be]=typeof ve=="function"?ve(Pe[be]):ve,!Pe[0]&&!Pe[1]?null:Pe}function $r(de){return typeof de=="function"?de():de}function dr(de){var ve=de.cellPrefixCls,be=de.generateConfig,Pe=de.rangedValue,Ne=de.hoverRangedValue,it=de.isInView,at=de.isSameCell,Lt=de.offsetCell,Mt=de.today,St=de.value;function yn(Rt){var Pt,un=Lt(Rt,-1),Vt=Lt(Rt,1),bt=sn(Pe,0),jt=sn(Pe,1),$t=sn(Ne,0),qn=sn(Ne,1),On=co(be,$t,qn,Rt);function pn(Yr){return at(bt,Yr)}function Cn(Yr){return at(jt,Yr)}var Dn=at($t,Rt),Rn=at(qn,Rt),Qr=(On||Rn)&&(!it(un)||Cn(un)),Or=(On||Dn)&&(!it(Vt)||pn(Vt));return Pt={},(0,xt.Z)(Pt,"".concat(ve,"-in-view"),it(Rt)),(0,xt.Z)(Pt,"".concat(ve,"-in-range"),co(be,bt,jt,Rt)),(0,xt.Z)(Pt,"".concat(ve,"-range-start"),pn(Rt)),(0,xt.Z)(Pt,"".concat(ve,"-range-end"),Cn(Rt)),(0,xt.Z)(Pt,"".concat(ve,"-range-start-single"),pn(Rt)&&!jt),(0,xt.Z)(Pt,"".concat(ve,"-range-end-single"),Cn(Rt)&&!bt),(0,xt.Z)(Pt,"".concat(ve,"-range-start-near-hover"),pn(Rt)&&(at(un,$t)||co(be,$t,qn,un))),(0,xt.Z)(Pt,"".concat(ve,"-range-end-near-hover"),Cn(Rt)&&(at(Vt,qn)||co(be,$t,qn,Vt))),(0,xt.Z)(Pt,"".concat(ve,"-range-hover"),On),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-start"),Dn),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-end"),Rn),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-edge-start"),Qr),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-edge-end"),Or),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-edge-start-near-range"),Qr&&at(un,jt)),(0,xt.Z)(Pt,"".concat(ve,"-range-hover-edge-end-near-range"),Or&&at(Vt,bt)),(0,xt.Z)(Pt,"".concat(ve,"-today"),at(Mt,Rt)),(0,xt.Z)(Pt,"".concat(ve,"-selected"),at(St,Rt)),Pt}return yn}var Qt=De.createContext({}),Tn=Qt;function yi(de,ve,be,Pe,Ne){var it=de.setHour(ve,be);return it=de.setMinute(it,Pe),it=de.setSecond(it,Ne),it}function Vi(de,ve,be){if(!be)return ve;var Pe=ve;return Pe=de.setHour(Pe,de.getHour(be)),Pe=de.setMinute(Pe,de.getMinute(be)),Pe=de.setSecond(Pe,de.getSecond(be)),Pe}function ua(de,ve,be,Pe,Ne,it){var at=Math.floor(de/Pe)*Pe;if(at<de)return[at,60-Ne,60-it];var Lt=Math.floor(ve/Ne)*Ne;if(Lt<ve)return[at,Lt,60-it];var Mt=Math.floor(be/it)*it;return[at,Lt,Mt]}function Xr(de,ve){var be=de.getYear(ve),Pe=de.getMonth(ve)+1,Ne=de.getEndDate(de.getFixedDate("".concat(be,"-").concat(Pe,"-01"))),it=de.getDate(Ne),at=Pe<10?"0".concat(Pe):"".concat(Pe);return"".concat(be,"-").concat(at,"-").concat(it)}function Bi(de){for(var ve=de.prefixCls,be=de.disabledDate,Pe=de.onSelect,Ne=de.picker,it=de.rowNum,at=de.colNum,Lt=de.prefixColumn,Mt=de.rowClassName,St=de.baseDate,yn=de.getCellClassName,Rt=de.getCellText,Pt=de.getCellNode,un=de.getCellDate,Vt=de.generateConfig,bt=de.titleCell,jt=de.headerCells,$t=De.useContext(Jt),qn=$t.onDateMouseEnter,On=$t.onDateMouseLeave,pn=$t.mode,Cn="".concat(ve,"-cell"),Dn=[],Rn=0;Rn<it;Rn+=1){for(var Qr=[],Or=void 0,Yr=function(){var Li,Hi=Rn*at+fi,fn=un(St,Hi),ar=$i({cellDate:fn,mode:pn,disabledDate:be,generateConfig:Vt});fi===0&&(Or=fn,Lt&&Qr.push(Lt(Or)));var Er=bt&&bt(fn),ai=De.createElement("div",{className:"".concat(Cn,"-inner")},Rt(fn));Qr.push(De.createElement("td",{key:fi,title:Er,className:yt()(Cn,(0,wn.Z)((Li={},(0,xt.Z)(Li,"".concat(Cn,"-disabled"),ar),(0,xt.Z)(Li,"".concat(Cn,"-start"),Rt(fn)===1||Ne==="year"&&Number(Er)%10===0),(0,xt.Z)(Li,"".concat(Cn,"-end"),Er===Xr(Vt,fn)||Ne==="year"&&Number(Er)%10===9),Li),yn(fn))),onClick:function(){ar||Pe(fn)},onMouseEnter:function(){!ar&&qn&&qn(fn)},onMouseLeave:function(){!ar&&On&&On(fn)}},Pt?Pt(fn,ai):ai))},fi=0;fi<at;fi+=1)Yr();Dn.push(De.createElement("tr",{key:Rn,className:Mt&&Mt(Or)},Qr))}return De.createElement("div",{className:"".concat(ve,"-body")},De.createElement("table",{className:"".concat(ve,"-content")},jt&&De.createElement("thead",null,De.createElement("tr",null,jt)),De.createElement("tbody",null,Dn)))}function tr(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.prefixColumn,Ne=de.locale,it=de.rowCount,at=de.viewDate,Lt=de.value,Mt=de.cellRender,St=de.isSameCell,yn=De.useContext(Tn),Rt=yn.rangedValue,Pt=yn.hoverRangedValue,un=Fa(Ne.locale,be,at),Vt="".concat(ve,"-cell"),bt=be.locale.getWeekFirstDay(Ne.locale),jt=be.getNow(),$t=[],qn=Ne.shortWeekDays||(be.locale.getShortWeekDays?be.locale.getShortWeekDays(Ne.locale):[]);Pe&&$t.push(De.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var On=0;On<st;On+=1)$t.push(De.createElement("th",{key:On},qn[(On+bt)%st]));var pn=dr({cellPrefixCls:Vt,today:jt,value:Lt,generateConfig:be,rangedValue:Pe?null:Rt,hoverRangedValue:Pe?null:Pt,isSameCell:St||function(Dn,Rn){return Ii(be,Dn,Rn)},isInView:function(Rn){return ii(be,Rn,at)},offsetCell:function(Rn,Qr){return be.addDate(Rn,Qr)}}),Cn=Mt?function(Dn,Rn){return Mt(Dn,{originNode:Rn,today:jt,type:"date",locale:Ne})}:void 0;return De.createElement(Bi,(0,Qe.Z)({},de,{rowNum:it,colNum:st,baseDate:un,getCellNode:Cn,getCellText:be.getDate,getCellClassName:pn,getCellDate:be.addDate,titleCell:function(Rn){return pr(Rn,{locale:Ne,format:"YYYY-MM-DD",generateConfig:be})},headerCells:$t}))}var Mi=tr,nn={visibility:"hidden"};function ei(de){var ve=de.prefixCls,be=de.prevIcon,Pe=be===void 0?"\u2039":be,Ne=de.nextIcon,it=Ne===void 0?"\u203A":Ne,at=de.superPrevIcon,Lt=at===void 0?"\xAB":at,Mt=de.superNextIcon,St=Mt===void 0?"\xBB":Mt,yn=de.onSuperPrev,Rt=de.onSuperNext,Pt=de.onPrev,un=de.onNext,Vt=de.children,bt=De.useContext(Jt),jt=bt.hideNextBtn,$t=bt.hidePrevBtn;return De.createElement("div",{className:ve},yn&&De.createElement("button",{type:"button",onClick:yn,tabIndex:-1,className:"".concat(ve,"-super-prev-btn"),style:$t?nn:{}},Lt),Pt&&De.createElement("button",{type:"button",onClick:Pt,tabIndex:-1,className:"".concat(ve,"-prev-btn"),style:$t?nn:{}},Pe),De.createElement("div",{className:"".concat(ve,"-view")},Vt),un&&De.createElement("button",{type:"button",onClick:un,tabIndex:-1,className:"".concat(ve,"-next-btn"),style:jt?nn:{}},it),Rt&&De.createElement("button",{type:"button",onClick:Rt,tabIndex:-1,className:"".concat(ve,"-super-next-btn"),style:jt?nn:{}},St))}var Kr=ei;function Pi(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.locale,Ne=de.viewDate,it=de.onNextMonth,at=de.onPrevMonth,Lt=de.onNextYear,Mt=de.onPrevYear,St=de.onYearClick,yn=de.onMonthClick,Rt=De.useContext(Jt),Pt=Rt.hideHeader;if(Pt)return null;var un="".concat(ve,"-header"),Vt=Pe.shortMonths||(be.locale.getShortMonths?be.locale.getShortMonths(Pe.locale):[]),bt=be.getMonth(Ne),jt=De.createElement("button",{type:"button",key:"year",onClick:St,tabIndex:-1,className:"".concat(ve,"-year-btn")},pr(Ne,{locale:Pe,format:Pe.yearFormat,generateConfig:be})),$t=De.createElement("button",{type:"button",key:"month",onClick:yn,tabIndex:-1,className:"".concat(ve,"-month-btn")},Pe.monthFormat?pr(Ne,{locale:Pe,format:Pe.monthFormat,generateConfig:be}):Vt[bt]),qn=Pe.monthBeforeYear?[$t,jt]:[jt,$t];return De.createElement(Kr,(0,Qe.Z)({},de,{prefixCls:un,onSuperPrev:Mt,onPrev:at,onNext:it,onSuperNext:Lt}),qn)}var ti=Pi,bi=6;function li(de){var ve=de.prefixCls,be=de.panelName,Pe=be===void 0?"date":be,Ne=de.keyboardConfig,it=de.active,at=de.operationRef,Lt=de.generateConfig,Mt=de.value,St=de.viewDate,yn=de.onViewDateChange,Rt=de.onPanelChange,Pt=de.onSelect,un="".concat(ve,"-").concat(Pe,"-panel");at.current={onKeyDown:function($t){return ts($t,(0,wn.Z)({onLeftRight:function(On){Pt(Lt.addDate(Mt||St,On),"key")},onCtrlLeftRight:function(On){Pt(Lt.addYear(Mt||St,On),"key")},onUpDown:function(On){Pt(Lt.addDate(Mt||St,On*st),"key")},onPageUpDown:function(On){Pt(Lt.addMonth(Mt||St,On),"key")}},Ne))}};var Vt=function($t){var qn=Lt.addYear(St,$t);yn(qn),Rt(null,qn)},bt=function($t){var qn=Lt.addMonth(St,$t);yn(qn),Rt(null,qn)};return De.createElement("div",{className:yt()(un,(0,xt.Z)({},"".concat(un,"-active"),it))},De.createElement(ti,(0,Qe.Z)({},de,{prefixCls:ve,value:Mt,viewDate:St,onPrevYear:function(){Vt(-1)},onNextYear:function(){Vt(1)},onPrevMonth:function(){bt(-1)},onNextMonth:function(){bt(1)},onMonthClick:function(){Rt("month",St)},onYearClick:function(){Rt("year",St)}})),De.createElement(Mi,(0,Qe.Z)({},de,{onSelect:function($t){return Pt($t,"mouse")},prefixCls:ve,value:Mt,viewDate:St,rowCount:bi})))}var ni=li;function Ur(de){var ve=De.useContext(Jt),be=ve.hideHeader;if(be)return null;var Pe=de.prefixCls,Ne=de.generateConfig,it=de.locale,at=de.value,Lt=de.format,Mt="".concat(Pe,"-header");return De.createElement(Kr,{prefixCls:Mt},at?pr(at,{locale:it,format:Lt,generateConfig:Ne}):"\xA0")}var ui=Ur;function mr(de){var ve=de.value,be=de.generateConfig,Pe=de.disabledMinutes,Ne=de.disabledSeconds,it=de.minutes,at=de.seconds,Lt=de.use12Hours,Mt=function(yn,Rt,Pt,un){var Vt=be.getNow(),bt=ve||Vt,jt=Rt<0?be.getHour(Vt):Rt,$t=Pt<0?be.getMinute(Vt):Pt,qn=un<0?be.getSecond(Vt):un,On=Pe&&Pe(jt);if(On!=null&&On.includes($t)){var pn=it.find(function(Rn){return!On.includes(Rn.value)});if(pn)$t=pn.value;else return null}var Cn=Ne&&Ne(jt,$t);if(Cn!=null&&Cn.includes(qn)){var Dn=at.find(function(Rn){return!Cn.includes(Rn.value)});if(Dn)qn=Dn.value;else return null}return bt=yi(be,bt,!Lt||!yn?jt:jt+12,$t,qn),bt};return Mt}function ho(de){var ve=de.prefixCls,be=de.units,Pe=de.onSelect,Ne=de.value,it=de.active,at=de.hideDisabledOptions,Lt=de.info,Mt=de.type,St="".concat(ve,"-cell"),yn=De.useContext(Jt),Rt=yn.open,Pt=(0,De.useRef)(null),un=(0,De.useRef)(new Map),Vt=(0,De.useRef)();return(0,De.useLayoutEffect)(function(){var bt=un.current.get(Ne);bt&&Rt!==!1&&es(Pt.current,bt.offsetTop,120)},[Ne]),(0,De.useLayoutEffect)(function(){if(Rt){var bt=un.current.get(Ne);bt&&(Vt.current=Ti(bt,function(){es(Pt.current,bt.offsetTop,0)}))}return function(){var jt;(jt=Vt.current)===null||jt===void 0||jt.call(Vt)}},[Rt]),De.createElement("ul",{className:yt()("".concat(ve,"-column"),(0,xt.Z)({},"".concat(ve,"-column-active"),it)),ref:Pt,style:{position:"relative"}},be.map(function(bt){var jt;return at&&bt.disabled?null:De.createElement("li",{key:bt.value,ref:function(qn){un.current.set(bt.value,qn)},className:yt()(St,(jt={},(0,xt.Z)(jt,"".concat(St,"-disabled"),bt.disabled),(0,xt.Z)(jt,"".concat(St,"-selected"),Ne===bt.value),jt)),onClick:function(){bt.disabled||Pe(bt.value)}},Lt.cellRender?Lt.cellRender(bt.value,{today:Lt.today,locale:Lt.locale,originNode:De.createElement("div",{className:"".concat(St,"-inner")},bt.label),type:"time",subType:Mt}):De.createElement("div",{className:"".concat(St,"-inner")},bt.label))}))}var oo=ho;function fo(de,ve){if(de.length!==ve.length)return!0;for(var be=0;be<de.length;be+=1)if(de[be].disabled!==ve[be].disabled)return!0;return!1}function wa(de,ve,be,Pe){for(var Ne=[],it=be>=1?be|0:1,at=de;at<=ve;at+=it)Ne.push({label:Sn(at,2),value:at,disabled:(Pe||[]).includes(at)});return Ne}function so(de){var ve=de.generateConfig,be=de.prefixCls,Pe=de.operationRef,Ne=de.activeColumnIndex,it=de.value,at=de.showHour,Lt=de.showMinute,Mt=de.showSecond,St=de.use12Hours,yn=de.hourStep,Rt=yn===void 0?1:yn,Pt=de.minuteStep,un=Pt===void 0?1:Pt,Vt=de.secondStep,bt=Vt===void 0?1:Vt,jt=de.disabledHours,$t=de.disabledMinutes,qn=de.disabledSeconds,On=de.disabledTime,pn=de.hideDisabledOptions,Cn=de.onSelect,Dn=de.cellRender,Rn=de.locale,Qr=[],Or="".concat(be,"-content"),Yr="".concat(be,"-time-panel"),fi,xi=it?ve.getHour(it):-1,Li=xi,Hi=it?ve.getMinute(it):-1,fn=it?ve.getSecond(it):-1,ar=ve.getNow(),Er=De.useMemo(function(){if(On){var Ut=On(ar);return[Ut.disabledHours,Ut.disabledMinutes,Ut.disabledSeconds]}return[jt,$t,qn]},[jt,$t,qn,On,ar]),ai=(0,on.Z)(Er,3),Hr=ai[0],Zr=ai[1],_r=ai[2],Qi=wa(0,23,Rt,Hr&&Hr()),Xi=(0,le.Z)(function(){return Qi},Qi,fo);St&&(fi=Li>=12,Li%=12);var ro=De.useMemo(function(){if(!St)return[!1,!1];var Ut=[!0,!0];return Xi.forEach(function(nr){var Jr=nr.disabled,Ua=nr.value;Jr||(Ua>=12?Ut[1]=!1:Ut[0]=!1)}),Ut},[St,Xi]),Da=(0,on.Z)(ro,2),mo=Da[0],qi=Da[1],an=De.useMemo(function(){return St?Xi.filter(fi?function(Ut){return Ut.value>=12}:function(Ut){return Ut.value<12}).map(function(Ut){var nr=Ut.value%12,Jr=nr===0?"12":Sn(nr,2);return(0,wn.Z)((0,wn.Z)({},Ut),{},{label:Jr,value:nr})}):Xi},[St,fi,Xi]),Wn=wa(0,59,un,Zr&&Zr(xi)),Ar=wa(0,59,bt,_r&&_r(xi,Hi)),oi=mr({value:it,generateConfig:ve,disabledMinutes:Zr,disabledSeconds:_r,minutes:Wn,seconds:Ar,use12Hours:St});Pe.current={onUpDown:function(nr){var Jr=Qr[Ne];if(Jr)for(var Ua=Jr.units.findIndex(function(Us){return Us.value===Jr.value}),io=Jr.units.length,Ba=1;Ba<io;Ba+=1){var Mo=Jr.units[(Ua+nr*Ba+io)%io];if(Mo.disabled!==!0){Jr.onSelect(Mo.value);break}}}};function Fi(Ut,nr,Jr,Ua,io){Ut!==!1&&Qr.push({node:De.cloneElement(nr,{prefixCls:Yr,value:Jr,active:Ne===Qr.length,onSelect:io,units:Ua,hideDisabledOptions:pn}),onSelect:io,value:Jr,units:Ua})}Fi(at,De.createElement(oo,{key:"hour",type:"hour",info:{today:ar,locale:Rn,cellRender:Dn}}),Li,an,function(Ut){Cn(oi(fi,Ut,Hi,fn),"mouse")}),Fi(Lt,De.createElement(oo,{key:"minute",type:"minute",info:{today:ar,locale:Rn,cellRender:Dn}}),Hi,Wn,function(Ut){Cn(oi(fi,Li,Ut,fn),"mouse")}),Fi(Mt,De.createElement(oo,{key:"second",type:"second",info:{today:ar,locale:Rn,cellRender:Dn}}),fn,Ar,function(Ut){Cn(oi(fi,Li,Hi,Ut),"mouse")});var Ga=-1;return typeof fi=="boolean"&&(Ga=fi?1:0),Fi(St===!0,De.createElement(oo,{key:"meridiem",type:"meridiem",info:{today:ar,locale:Rn,cellRender:Dn}}),Ga,[{label:"AM",value:0,disabled:mo},{label:"PM",value:1,disabled:qi}],function(Ut){Cn(oi(!!Ut,Li,Hi,fn),"mouse")}),De.createElement("div",{className:Or},Qr.map(function(Ut){var nr=Ut.node;return nr}))}var Ea=so,ki=function(ve){return ve.filter(function(be){return be!==!1}).length};function Oi(de){var ve=de.generateConfig,be=de.format,Pe=be===void 0?"HH:mm:ss":be,Ne=de.prefixCls,it=de.active,at=de.operationRef,Lt=de.showHour,Mt=de.showMinute,St=de.showSecond,yn=de.use12Hours,Rt=yn===void 0?!1:yn,Pt=de.onSelect,un=de.value,Vt="".concat(Ne,"-time-panel"),bt=De.useRef(),jt=De.useState(-1),$t=(0,on.Z)(jt,2),qn=$t[0],On=$t[1],pn=ki([Lt,Mt,St,Rt]);return at.current={onKeyDown:function(Dn){return ts(Dn,{onLeftRight:function(Qr){On((qn+Qr+pn)%pn)},onUpDown:function(Qr){qn===-1?On(0):bt.current&&bt.current.onUpDown(Qr)},onEnter:function(){Pt(un||ve.getNow(),"key"),On(-1)}})},onBlur:function(){On(-1)}},De.createElement("div",{className:yt()(Vt,(0,xt.Z)({},"".concat(Vt,"-active"),it))},De.createElement(ui,(0,Qe.Z)({},de,{format:Pe,prefixCls:Ne})),De.createElement(Ea,(0,Qe.Z)({},de,{prefixCls:Ne,activeColumnIndex:qn,operationRef:bt})))}var ma=Oi,ga=In("date","time");function va(de){var ve=de.prefixCls,be=de.operationRef,Pe=de.generateConfig,Ne=de.value,it=de.defaultValue,at=de.disabledTime,Lt=de.showTime,Mt=de.onSelect,St=de.cellRender,yn="".concat(ve,"-datetime-panel"),Rt=De.useState(null),Pt=(0,on.Z)(Rt,2),un=Pt[0],Vt=Pt[1],bt=De.useRef({}),jt=De.useRef({}),$t=(0,Ht.Z)(Lt)==="object"?(0,wn.Z)({},Lt):{};function qn(Dn){var Rn=ga.indexOf(un)+Dn,Qr=ga[Rn]||null;return Qr}var On=function(Rn){jt.current.onBlur&&jt.current.onBlur(Rn),Vt(null)};be.current={onKeyDown:function(Rn){if(Rn.which===pi.Z.TAB){var Qr=qn(Rn.shiftKey?-1:1);return Vt(Qr),Qr&&Rn.preventDefault(),!0}if(un){var Or=un==="date"?bt:jt;return Or.current&&Or.current.onKeyDown&&Or.current.onKeyDown(Rn),!0}return[pi.Z.LEFT,pi.Z.RIGHT,pi.Z.UP,pi.Z.DOWN].includes(Rn.which)?(Vt("date"),!0):!1},onBlur:On,onClose:On};var pn=function(Rn,Qr){var Or=Rn;Qr==="date"&&!Ne&&$t.defaultValue?(Or=Pe.setHour(Or,Pe.getHour($t.defaultValue)),Or=Pe.setMinute(Or,Pe.getMinute($t.defaultValue)),Or=Pe.setSecond(Or,Pe.getSecond($t.defaultValue))):Qr==="time"&&!Ne&&it&&(Or=Pe.setYear(Or,Pe.getYear(it)),Or=Pe.setMonth(Or,Pe.getMonth(it)),Or=Pe.setDate(Or,Pe.getDate(it))),Mt&&Mt(Or,"mouse")},Cn=at?at(Ne||null):{};return De.createElement("div",{className:yt()(yn,(0,xt.Z)({},"".concat(yn,"-active"),un))},De.createElement(ni,(0,Qe.Z)({},de,{cellRender:St,operationRef:bt,active:un==="date",onSelect:function(Rn){pn(Vi(Pe,Rn,!Ne&&(0,Ht.Z)(Lt)==="object"?Lt.defaultValue:null),"date")}})),De.createElement(ma,(0,Qe.Z)({},de,{cellRender:St?function(Dn,Rn){return St(Dn,(0,wn.Z)((0,wn.Z)({},Rn),{},{type:"time"}))}:void 0,format:void 0},$t,Cn,{disabledTime:null,defaultValue:void 0,operationRef:jt,active:un==="time",onSelect:function(Rn){pn(Rn,"time")}})))}var Ka=va;function Di(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.viewDate,Ne=de.onPrevDecades,it=de.onNextDecades,at=De.useContext(Jt),Lt=at.hideHeader;if(Lt)return null;var Mt="".concat(ve,"-header"),St=be.getYear(Pe),yn=Math.floor(St/fe)*fe,Rt=yn+fe-1;return De.createElement(Kr,(0,Qe.Z)({},de,{prefixCls:Mt,onSuperPrev:Ne,onSuperNext:it}),yn,"-",Rt)}var Wo=Di,Za=3,Va=4;function Io(de){var ve=Be-1,be=de.prefixCls,Pe=de.viewDate,Ne=de.generateConfig,it=de.cellRender,at=de.locale,Lt="".concat(be,"-cell"),Mt=Ne.getYear(Pe),St=Math.floor(Mt/Be)*Be,yn=Math.floor(Mt/fe)*fe,Rt=yn+fe-1,Pt=Ne.setYear(Pe,yn-Math.ceil((Za*Va*Be-fe)/2)),un=function(jt){var $t,qn=Ne.getYear(jt),On=qn+ve;return $t={},(0,xt.Z)($t,"".concat(Lt,"-in-view"),yn<=qn&&On<=Rt),(0,xt.Z)($t,"".concat(Lt,"-selected"),qn===St),$t},Vt=it?function(bt,jt){return it(bt,{originNode:jt,today:Ne.getNow(),type:"decade",locale:at})}:void 0;return De.createElement(Bi,(0,Qe.Z)({},de,{rowNum:Va,colNum:Za,baseDate:Pt,getCellNode:Vt,getCellText:function(jt){var $t=Ne.getYear(jt);return"".concat($t,"-").concat($t+ve)},getCellClassName:un,getCellDate:function(jt,$t){return Ne.addYear(jt,$t*Be)}}))}var To=Io;function Na(de){var ve=de.prefixCls,be=de.onViewDateChange,Pe=de.generateConfig,Ne=de.viewDate,it=de.operationRef,at=de.onSelect,Lt=de.onPanelChange,Mt="".concat(ve,"-decade-panel");it.current={onKeyDown:function(Pt){return ts(Pt,{onLeftRight:function(Vt){at(Pe.addYear(Ne,Vt*Be),"key")},onCtrlLeftRight:function(Vt){at(Pe.addYear(Ne,Vt*fe),"key")},onUpDown:function(Vt){at(Pe.addYear(Ne,Vt*Be*Za),"key")},onEnter:function(){Lt("year",Ne)}})}};var St=function(Pt){var un=Pe.addYear(Ne,Pt*fe);be(un),Lt(null,un)},yn=function(Pt){at(Pt,"mouse"),Lt("year",Pt)};return De.createElement("div",{className:Mt},De.createElement(Wo,(0,Qe.Z)({},de,{prefixCls:ve,onPrevDecades:function(){St(-1)},onNextDecades:function(){St(1)}})),De.createElement(To,(0,Qe.Z)({},de,{prefixCls:ve,onSelect:yn})))}var Fo=Na;function Gi(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.locale,Ne=de.viewDate,it=de.onNextYear,at=de.onPrevYear,Lt=de.onYearClick,Mt=De.useContext(Jt),St=Mt.hideHeader;if(St)return null;var yn="".concat(ve,"-header");return De.createElement(Kr,(0,Qe.Z)({},de,{prefixCls:yn,onSuperPrev:at,onSuperNext:it}),De.createElement("button",{type:"button",onClick:Lt,className:"".concat(ve,"-year-btn")},pr(Ne,{locale:Pe,format:Pe.yearFormat,generateConfig:be})))}var Aa=Gi,Ki=3,rs=4;function Eo(de){var ve=de.prefixCls,be=de.locale,Pe=de.value,Ne=de.viewDate,it=de.generateConfig,at=de.cellRender,Lt=De.useContext(Tn),Mt=Lt.rangedValue,St=Lt.hoverRangedValue,yn="".concat(ve,"-cell"),Rt=dr({cellPrefixCls:yn,value:Pe,generateConfig:it,rangedValue:Mt,hoverRangedValue:St,isSameCell:function(jt,$t){return ii(it,jt,$t)},isInView:function(){return!0},offsetCell:function(jt,$t){return it.addMonth(jt,$t)}}),Pt=be.shortMonths||(it.locale.getShortMonths?it.locale.getShortMonths(be.locale):[]),un=it.setMonth(Ne,0),Vt=at?function(bt,jt){return at(bt,{originNode:jt,locale:be,today:it.getNow(),type:"month"})}:void 0;return De.createElement(Bi,(0,Qe.Z)({},de,{rowNum:rs,colNum:Ki,baseDate:un,getCellNode:Vt,getCellText:function(jt){return be.monthFormat?pr(jt,{locale:be,format:be.monthFormat,generateConfig:it}):Pt[it.getMonth(jt)]},getCellClassName:Rt,getCellDate:it.addMonth,titleCell:function(jt){return pr(jt,{locale:be,format:"YYYY-MM",generateConfig:it})}}))}var Os=Eo;function Cs(de){var ve=de.prefixCls,be=de.operationRef,Pe=de.onViewDateChange,Ne=de.generateConfig,it=de.value,at=de.viewDate,Lt=de.onPanelChange,Mt=de.onSelect,St="".concat(ve,"-month-panel");be.current={onKeyDown:function(Pt){return ts(Pt,{onLeftRight:function(Vt){Mt(Ne.addMonth(it||at,Vt),"key")},onCtrlLeftRight:function(Vt){Mt(Ne.addYear(it||at,Vt),"key")},onUpDown:function(Vt){Mt(Ne.addMonth(it||at,Vt*Ki),"key")},onEnter:function(){Lt("date",it||at)}})}};var yn=function(Pt){var un=Ne.addYear(at,Pt);Pe(un),Lt(null,un)};return De.createElement("div",{className:St},De.createElement(Aa,(0,Qe.Z)({},de,{prefixCls:ve,onPrevYear:function(){yn(-1)},onNextYear:function(){yn(1)},onYearClick:function(){Lt("year",at)}})),De.createElement(Os,(0,Qe.Z)({},de,{prefixCls:ve,onSelect:function(Pt){Mt(Pt,"mouse"),Lt("date",Pt)}})))}var $a=Cs;function Zs(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.locale,Ne=de.viewDate,it=de.onNextYear,at=de.onPrevYear,Lt=de.onYearClick,Mt=De.useContext(Jt),St=Mt.hideHeader;if(St)return null;var yn="".concat(ve,"-header");return De.createElement(Kr,(0,Qe.Z)({},de,{prefixCls:yn,onSuperPrev:at,onSuperNext:it}),De.createElement("button",{type:"button",onClick:Lt,className:"".concat(ve,"-year-btn")},pr(Ne,{locale:Pe,format:Pe.yearFormat,generateConfig:be})))}var Vs=Zs,Ds=4,Ma=1;function Ko(de){var ve=de.prefixCls,be=de.locale,Pe=de.value,Ne=de.viewDate,it=de.generateConfig,at=de.cellRender,Lt=De.useContext(Tn),Mt=Lt.rangedValue,St=Lt.hoverRangedValue,yn="".concat(ve,"-cell"),Rt=dr({cellPrefixCls:yn,value:Pe,generateConfig:it,rangedValue:Mt,hoverRangedValue:St,isSameCell:function(bt,jt){return qr(it,bt,jt)},isInView:function(){return!0},offsetCell:function(bt,jt){return it.addMonth(bt,jt*3)}}),Pt=it.setDate(it.setMonth(Ne,0),1),un=at?function(Vt,bt){return at(Vt,{originNode:bt,locale:be,today:it.getNow(),type:"quarter"})}:void 0;return De.createElement(Bi,(0,Qe.Z)({},de,{rowNum:Ma,colNum:Ds,baseDate:Pt,getCellNode:un,getCellText:function(bt){return pr(bt,{locale:be,format:be.quarterFormat||"[Q]Q",generateConfig:it})},getCellClassName:Rt,getCellDate:function(bt,jt){return it.addMonth(bt,jt*3)},titleCell:function(bt){return pr(bt,{locale:be,format:"YYYY-[Q]Q",generateConfig:it})}}))}var ka=Ko;function Zn(de){var ve=de.prefixCls,be=de.operationRef,Pe=de.onViewDateChange,Ne=de.generateConfig,it=de.value,at=de.viewDate,Lt=de.onPanelChange,Mt=de.onSelect,St="".concat(ve,"-quarter-panel");be.current={onKeyDown:function(Pt){return ts(Pt,{onLeftRight:function(Vt){Mt(Ne.addMonth(it||at,Vt*3),"key")},onCtrlLeftRight:function(Vt){Mt(Ne.addYear(it||at,Vt),"key")},onUpDown:function(Vt){Mt(Ne.addYear(it||at,Vt),"key")}})}};var yn=function(Pt){var un=Ne.addYear(at,Pt);Pe(un),Lt(null,un)};return De.createElement("div",{className:St},De.createElement(Vs,(0,Qe.Z)({},de,{prefixCls:ve,onPrevYear:function(){yn(-1)},onNextYear:function(){yn(1)},onYearClick:function(){Lt("year",at)}})),De.createElement(ka,(0,Qe.Z)({},de,{prefixCls:ve,onSelect:function(Pt){Mt(Pt,"mouse")}})))}var Hn=Zn;function $n(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.locale,Ne=de.value,it=de.disabledDate,at=de.onSelect,Lt=De.useContext(Tn),Mt=Lt.rangedValue,St=Lt.hoverRangedValue,yn=De.useContext(Jt),Rt=yn.onDateMouseEnter,Pt=yn.onDateMouseLeave,un=(St==null?void 0:St[0])||(Mt==null?void 0:Mt[0]),Vt=(St==null?void 0:St[1])||(Mt==null?void 0:Mt[1]),bt="".concat(ve,"-cell"),jt=function(pn){var Cn=$i({cellDate:pn,mode:"week",disabledDate:it,generateConfig:be});return De.createElement("td",{key:"week",className:yt()(bt,"".concat(bt,"-week")),onClick:function(){Cn||at(pn,"mouse")},onMouseEnter:function(){!Cn&&Rt&&Rt(pn)},onMouseLeave:function(){!Cn&&Pt&&Pt(pn)}},De.createElement("div",{className:"".concat(bt,"-inner")},be.locale.getWeek(Pe.locale,pn)))},$t="".concat(ve,"-week-panel-row"),qn=function(pn){var Cn,Dn=qt(be,Pe.locale,un,pn),Rn=qt(be,Pe.locale,Vt,pn);return yt()($t,(Cn={},(0,xt.Z)(Cn,"".concat($t,"-selected"),!Mt&&qt(be,Pe.locale,Ne,pn)),(0,xt.Z)(Cn,"".concat($t,"-range-start"),Dn),(0,xt.Z)(Cn,"".concat($t,"-range-end"),Rn),(0,xt.Z)(Cn,"".concat($t,"-range-hover"),!Dn&&!Rn&&co(be,un,Vt,pn)),Cn))};return De.createElement(ni,(0,Qe.Z)({},de,{panelName:"week",prefixColumn:jt,rowClassName:qn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var sr=$n,ri=10;function na(de){var ve=de.prefixCls,be=de.generateConfig,Pe=de.viewDate,Ne=de.onPrevDecade,it=de.onNextDecade,at=de.onDecadeClick,Lt=De.useContext(Jt),Mt=Lt.hideHeader;if(Mt)return null;var St="".concat(ve,"-header"),yn=be.getYear(Pe),Rt=Math.floor(yn/ri)*ri,Pt=Rt+ri-1;return De.createElement(Kr,(0,Qe.Z)({},de,{prefixCls:St,onSuperPrev:Ne,onSuperNext:it}),De.createElement("button",{type:"button",onClick:at,className:"".concat(ve,"-decade-btn")},Rt,"-",Pt))}var ca=na,Ui=3,ji=4;function ra(de){var ve=de.prefixCls,be=de.value,Pe=de.viewDate,Ne=de.locale,it=de.generateConfig,at=de.cellRender,Lt=De.useContext(Tn),Mt=Lt.rangedValue,St=Lt.hoverRangedValue,yn="".concat(ve,"-cell"),Rt=it.getYear(Pe),Pt=Math.floor(Rt/ri)*ri,un=Pt+ri-1,Vt=it.setYear(Pe,Pt-Math.ceil((Ui*ji-ri)/2)),bt=it.getNow(),jt=function(pn){var Cn=it.getYear(pn);return Pt<=Cn&&Cn<=un},$t=dr({cellPrefixCls:yn,value:be,generateConfig:it,rangedValue:Mt,hoverRangedValue:St,isSameCell:function(pn,Cn){return xr(it,pn,Cn)},isInView:jt,offsetCell:function(pn,Cn){return it.addYear(pn,Cn)}}),qn=at?function(On,pn){return at(On,{originNode:pn,today:bt,type:"year",locale:Ne})}:void 0;return De.createElement(Bi,(0,Qe.Z)({},de,{rowNum:ji,colNum:Ui,baseDate:Vt,getCellNode:qn,getCellText:it.getYear,getCellClassName:$t,getCellDate:it.addYear,titleCell:function(pn){return pr(pn,{locale:Ne,format:"YYYY",generateConfig:it})}}))}var Zo=ra;function Pa(de){var ve=de.prefixCls,be=de.operationRef,Pe=de.onViewDateChange,Ne=de.generateConfig,it=de.value,at=de.viewDate,Lt=de.sourceMode,Mt=de.onSelect,St=de.onPanelChange,yn="".concat(ve,"-year-panel");be.current={onKeyDown:function(un){return ts(un,{onLeftRight:function(bt){Mt(Ne.addYear(it||at,bt),"key")},onCtrlLeftRight:function(bt){Mt(Ne.addYear(it||at,bt*ri),"key")},onUpDown:function(bt){Mt(Ne.addYear(it||at,bt*Ui),"key")},onEnter:function(){St(Lt==="date"?"date":"month",it||at)}})}};var Rt=function(un){var Vt=Ne.addYear(at,un*10);Pe(Vt),St(null,Vt)};return De.createElement("div",{className:yn},De.createElement(ca,(0,Qe.Z)({},de,{prefixCls:ve,onPrevDecade:function(){Rt(-1)},onNextDecade:function(){Rt(1)},onDecadeClick:function(){St("decade",at)}})),De.createElement(Zo,(0,Qe.Z)({},de,{prefixCls:ve,onSelect:function(un){St(Lt==="date"?"date":"month",un),Mt(un,"mouse")}})))}var is=Pa;function yo(de,ve,be){return be?De.createElement("div",{className:"".concat(de,"-footer-extra")},be(ve)):null}function Vo(de){var ve=de.prefixCls,be=de.components,Pe=be===void 0?{}:be,Ne=de.needConfirmButton,it=de.onNow,at=de.onOk,Lt=de.okDisabled,Mt=de.showNow,St=de.locale,yn,Rt;if(Ne){var Pt=Pe.button||"button";it&&Mt!==!1&&(yn=De.createElement("li",{className:"".concat(ve,"-now")},De.createElement("a",{className:"".concat(ve,"-now-btn"),onClick:it},St.now))),Rt=Ne&&De.createElement("li",{className:"".concat(ve,"-ok")},De.createElement(Pt,{disabled:Lt,onClick:at},St.ok))}return!yn&&!Rt?null:De.createElement("ul",{className:"".concat(ve,"-ranges")},yn,Rt)}var Ys=["date","month"];function Bt(de){var ve,be=de,Pe=be.prefixCls,Ne=Pe===void 0?"rc-picker":Pe,it=be.className,at=be.style,Lt=be.locale,Mt=be.generateConfig,St=be.value,yn=be.defaultValue,Rt=be.pickerValue,Pt=be.defaultPickerValue,un=be.disabledDate,Vt=be.mode,bt=be.picker,jt=bt===void 0?"date":bt,$t=be.tabIndex,qn=$t===void 0?0:$t,On=be.showNow,pn=be.showTime,Cn=be.showToday,Dn=be.renderExtraFooter,Rn=be.hideHeader,Qr=be.onSelect,Or=be.onChange,Yr=be.onPanelChange,fi=be.onMouseDown,xi=be.onPickerValueChange,Li=be.onOk,Hi=be.components,fn=be.direction,ar=be.hourStep,Er=ar===void 0?1:ar,ai=be.minuteStep,Hr=ai===void 0?1:ai,Zr=be.secondStep,_r=Zr===void 0?1:Zr,Qi=be.dateRender,Xi=be.monthCellRender,ro=be.cellRender,Da=jt==="date"&&!!pn||jt==="time",mo=24%Er===0,qi=60%Hr===0,an=60%_r===0,Wn=De.useContext(Jt),Ar=Wn.operationRef,oi=Wn.onSelect,Fi=Wn.hideRanges,Ga=Wn.defaultOpenValue,Ut=De.useContext(Tn),nr=Ut.inRange,Jr=Ut.panelPosition,Ua=Ut.rangedValue,io=Ut.hoverRangedValue,Ba=De.useRef({}),Mo=De.useRef(!0),Us=(0,Se.Z)(null,{value:St,defaultValue:yn,postState:function(br){return!br&&Ga&&jt==="time"?Ga:br}}),Xs=(0,on.Z)(Us,2),ss=Xs[0],pl=Xs[1],eu=(0,Se.Z)(null,{value:Rt,defaultValue:Pt||ss,postState:function(br){var Ai=Mt.getNow();if(!br)return Ai;if(!ss&&pn){var ja=(0,Ht.Z)(pn)==="object"?pn.defaultValue:yn;return Vi(Mt,Array.isArray(br)?br[0]:br,ja||Ai)}return Array.isArray(br)?br[0]:br}}),ml=(0,on.Z)(eu,2),Uo=ml[0],Qs=ml[1],ls=function(br){Qs(br),xi&&xi(br)},tu=function(br){var Ai=ir[jt];return Ai?Ai(br):br},qs=(0,Se.Z)(function(){return jt==="time"?"time":tu("date")},{value:Vt}),La=(0,on.Z)(qs,2),Ia=La[0],Es=La[1];De.useEffect(function(){Es(jt)},[jt]);var sl=De.useState(function(){return Ia}),wo=(0,on.Z)(sl,2),Ei=wo[0],go=wo[1],Po=function(br,Ai){var ja=tu(br||Ia);go(Ia),Es(ja),Yr&&(Ia!==ja||Sr(Mt,Uo,Uo))&&Yr(Ai,ja)},Oa=function(br,Ai){var ja=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ia===jt||ja)&&(pl(br),Qr&&Qr(br),oi&&oi(br,Ai),Or&&!Sr(Mt,br,ss)&&!(un!=null&&un(br))&&Or(br))},ms=function(br){if(Ys.includes(Ia)){var Ai,ja,_s=Ia==="date";switch(br===pi.Z.PAGE_UP||br===pi.Z.PAGE_DOWN?ja=_s?Mt.addMonth:Mt.addYear:ja=_s?Mt.addDate:Mt.addMonth,br){case pi.Z.LEFT:case pi.Z.PAGE_UP:Ai=ja(Uo,-1);break;case pi.Z.RIGHT:case pi.Z.PAGE_DOWN:Ai=ja(Uo,1);break;case pi.Z.UP:case pi.Z.DOWN:Ai=ja(Uo,Number("".concat(br===pi.Z.UP?"-":"").concat(_s?st:Ki)));break}if(Ai)return!(un!=null&&un(Ai))}return!0},ll=function(br){if(Ba.current&&Ba.current.onKeyDown){var Ai=!0,ja=br.which;if([pi.Z.LEFT,pi.Z.RIGHT,pi.Z.UP,pi.Z.DOWN,pi.Z.PAGE_UP,pi.Z.PAGE_DOWN,pi.Z.ENTER].includes(ja)&&(br.preventDefault(),ja!==pi.Z.ENTER&&qn===0&&(Ai=ms(ja))),Ai)return Ba.current.onKeyDown(br)}return(0,et.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},_a=function(br){Ba.current&&Ba.current.onBlur&&Ba.current.onBlur(br)};Ar&&Jr!=="right"&&(Ar.current={onKeyDown:ll,onClose:function(){Ba.current&&Ba.current.onClose&&Ba.current.onClose()}}),De.useEffect(function(){St&&!Mo.current&&Qs(St)},[St]),De.useEffect(function(){Mo.current=!1},[]);var gs,$s=Ot({cellRender:ro,monthCellRender:Xi,dateRender:Qi}),aa=(0,wn.Z)((0,wn.Z)({},de),{},{cellRender:$s,operationRef:Ba,prefixCls:Ne,viewDate:Uo,value:ss,onViewDateChange:ls,sourceMode:Ei,onPanelChange:Po,disabledDate:un});switch(delete aa.onChange,delete aa.onSelect,Ia){case"decade":gs=De.createElement(Fo,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;case"year":gs=De.createElement(is,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;case"month":gs=De.createElement($a,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;case"quarter":gs=De.createElement(Hn,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;case"week":gs=De.createElement(sr,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;case"time":delete aa.showTime,gs=De.createElement(ma,(0,Qe.Z)({},aa,(0,Ht.Z)(pn)==="object"?pn:null,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}));break;default:pn?gs=De.createElement(Ka,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}})):gs=De.createElement(ni,(0,Qe.Z)({},aa,{onSelect:function(br,Ai){ls(br),Oa(br,Ai)}}))}var ul,zs,Qo=function(){var br=Mt.getNow(),Ai=ua(Mt.getHour(br),Mt.getMinute(br),Mt.getSecond(br),mo?Er:1,qi?Hr:1,an?_r:1),ja=yi(Mt,br,Ai[0],Ai[1],Ai[2]);Oa(ja,"submit")};Fi||(ul=yo(Ne,Ia,Dn),pn&&Ia!=="date"?zs=null:zs=Vo({prefixCls:Ne,components:Hi,needConfirmButton:Da,okDisabled:!ss||un&&un(ss),locale:Lt,showNow:On,onNow:Da&&Qo,onOk:function(){ss&&(Oa(ss,"submit",!0),Li&&Li(ss))}}));var gl;if(Cn&&Ia==="date"&&jt==="date"&&!pn){var el=Mt.getNow(),Ol="".concat(Ne,"-today-btn"),cl=un&&un(el);gl=De.createElement("a",{className:yt()(Ol,cl&&"".concat(Ol,"-disabled")),"aria-disabled":cl,onClick:function(){cl||Oa(el,"mouse",!0)}},Lt.today)}return De.createElement(Jt.Provider,{value:(0,wn.Z)((0,wn.Z)({},Wn),{},{mode:Ia,hideHeader:"hideHeader"in de?Rn:Wn.hideHeader,hidePrevBtn:nr&&Jr==="right",hideNextBtn:nr&&Jr==="left"})},De.createElement("div",{tabIndex:qn,className:yt()("".concat(Ne,"-panel"),it,(ve={},(0,xt.Z)(ve,"".concat(Ne,"-panel-has-range"),Ua&&Ua[0]&&Ua[1]),(0,xt.Z)(ve,"".concat(Ne,"-panel-has-range-hover"),io&&io[0]&&io[1]),(0,xt.Z)(ve,"".concat(Ne,"-panel-rtl"),fn==="rtl"),ve)),style:at,onKeyDown:ll,onBlur:_a,onMouseDown:fi},gs,ul||zs||gl?De.createElement("div",{className:"".concat(Ne,"-footer")},ul,zs,gl):null))}var wt=Bt,Tt=pe(35593),rn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function hr(de){var ve,be=de.prefixCls,Pe=de.popupElement,Ne=de.popupStyle,it=de.visible,at=de.dropdownClassName,Lt=de.dropdownAlign,Mt=de.transitionName,St=de.getPopupContainer,yn=de.children,Rt=de.range,Pt=de.popupPlacement,un=de.direction,Vt="".concat(be,"-dropdown"),bt=function(){return Pt!==void 0?Pt:un==="rtl"?"bottomRight":"bottomLeft"};return De.createElement(Tt.Z,{showAction:[],hideAction:[],popupPlacement:bt(),builtinPlacements:rn,prefixCls:Vt,popupTransitionName:Mt,popup:Pe,popupAlign:Lt,popupVisible:it,popupClassName:yt()(at,(ve={},(0,xt.Z)(ve,"".concat(Vt,"-range"),Rt),(0,xt.Z)(ve,"".concat(Vt,"-rtl"),un==="rtl"),ve)),popupStyle:Ne,getPopupContainer:St},yn)}var Pr=hr;function en(de){var ve=de.prefixCls,be=de.presets,Pe=de.onClick,Ne=de.onHover;return be.length?De.createElement("div",{className:"".concat(ve,"-presets")},De.createElement("ul",null,be.map(function(it,at){var Lt=it.label,Mt=it.value;return De.createElement("li",{key:at,onClick:function(){return Pe==null?void 0:Pe($r(Mt))},onMouseEnter:function(){return Ne==null?void 0:Ne($r(Mt))},onMouseLeave:function(){return Ne==null?void 0:Ne(null)}},Lt)}))):null}function Qn(de){var ve=de.picker,be=de.disabledHours,Pe=de.disabledMinutes,Ne=de.disabledSeconds;ve==="time"&&(be||Pe||Ne)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function gr(de,ve,be){var Pe=(0,Ht.Z)(ve)==="object"?ve.clearIcon:be;return Pe||De.createElement("span",{className:"".concat(de,"-clear-btn")})}function Dr(de){var ve,be=de,Pe=be.prefixCls,Ne=Pe===void 0?"rc-picker":Pe,it=be.id,at=be.name,Lt=be.tabIndex,Mt=be.style,St=be.className,yn=be.dropdownClassName,Rt=be.dropdownAlign,Pt=be.popupStyle,un=be.transitionName,Vt=be.generateConfig,bt=be.locale,jt=be.inputReadOnly,$t=be.allowClear,qn=be.autoFocus,On=be.showTime,pn=be.picker,Cn=pn===void 0?"date":pn,Dn=be.format,Rn=be.use12Hours,Qr=be.value,Or=be.defaultValue,Yr=be.presets,fi=be.open,xi=be.defaultOpen,Li=be.defaultOpenValue,Hi=be.suffixIcon,fn=be.clearIcon,ar=be.disabled,Er=be.disabledDate,ai=be.placeholder,Hr=be.getPopupContainer,Zr=be.pickerRef,_r=be.panelRender,Qi=be.onChange,Xi=be.onOpenChange,ro=be.onFocus,Da=be.onBlur,mo=be.onMouseDown,qi=be.onMouseUp,an=be.onMouseEnter,Wn=be.onMouseLeave,Ar=be.onContextMenu,oi=be.onClick,Fi=be.onKeyDown,Ga=be.onSelect,Ut=be.direction,nr=be.autoComplete,Jr=nr===void 0?"off":nr,Ua=be.inputRender,io=be.changeOnBlur,Ba=De.useRef(null),Mo=Cn==="date"&&!!On||Cn==="time",Us=hi(Yr),Xs=Bn(jo(Dn,Cn,On,Rn)),ss=De.useRef(null),pl=De.useRef(null),eu=De.useRef(null),ml=(0,Se.Z)(null,{value:Qr,defaultValue:Or}),Uo=(0,on.Z)(ml,2),Qs=Uo[0],ls=Uo[1],tu=De.useState(Qs),qs=(0,on.Z)(tu,2),La=qs[0],Ia=qs[1],Es=De.useRef(null),sl=(0,Se.Z)(!1,{value:fi,defaultValue:xi,postState:function(Vr){return ar?!1:Vr},onChange:function(Vr){Xi&&Xi(Vr),!Vr&&Es.current&&Es.current.onClose&&Es.current.onClose()}}),wo=(0,on.Z)(sl,2),Ei=wo[0],go=wo[1],Po=la(La,{formatList:Xs,generateConfig:Vt,locale:bt}),Oa=(0,on.Z)(Po,2),ms=Oa[0],ll=Oa[1],_a=Fe({valueTexts:ms,onTextChange:function(Vr){var ko=fs(Vr,{locale:bt,formatList:Xs,generateConfig:Vt});ko&&(!Er||!Er(ko))&&Ia(ko)}}),gs=(0,on.Z)(_a,3),$s=gs[0],aa=gs[1],ul=gs[2],zs=function(Vr){Ia(Vr),ls(Vr),Qi&&!Sr(Vt,Qs,Vr)&&Qi(Vr,Vr?pr(Vr,{generateConfig:Vt,locale:bt,format:Xs[0]}):"")},Qo=function(Vr){ar&&Vr||go(Vr)},gl=function(Vr){return Ei&&Es.current&&Es.current.onKeyDown?Es.current.onKeyDown(Vr):((0,et.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},el=function(){for(var Vr=arguments.length,ko=new Array(Vr),Ta=0;Ta<Vr;Ta++)ko[Ta]=arguments[Ta];oi==null||oi.apply(void 0,ko),Ba.current&&(Ba.current.focus(),Qo(!0))},Ol=function(Vr){io&&zs(La),Da==null||Da(Vr)},cl=vi({blurToCancel:Mo,open:Ei,value:$s,triggerOpen:Qo,forwardKeyDown:gl,isClickOutside:function(Vr){return!Mr([ss.current,pl.current,eu.current],Vr)},onSubmit:function(){return!La||Er&&Er(La)?!1:(zs(La),Qo(!1),ul(),!0)},onCancel:function(){Qo(!1),Ia(Qs),ul()},onKeyDown:function(Vr,ko){Fi==null||Fi(Vr,ko)},onFocus:ro,onBlur:Ol,changeOnBlur:io}),si=(0,on.Z)(cl,2),br=si[0],Ai=si[1],ja=Ai.focused,_s=Ai.typing;De.useEffect(function(){Ei||(Ia(Qs),!ms.length||ms[0]===""?aa(""):ll!==$s&&ul())},[Ei,ms]),De.useEffect(function(){Ei||ul()},[Cn]),De.useEffect(function(){Ia(Qs)},[Qs]),Zr&&(Zr.current={focus:function(){var Vr;(Vr=Ba.current)===null||Vr===void 0||Vr.focus()},blur:function(){var Vr;(Vr=Ba.current)===null||Vr===void 0||Vr.blur()}});var wu=ea($s,{formatList:Xs,generateConfig:Vt,locale:bt}),Rl=(0,on.Z)(wu,3),Cu=Rl[0],zl=Rl[1],Yo=Rl[2],ci=(0,wn.Z)((0,wn.Z)({},de),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),vl=De.createElement("div",{className:"".concat(Ne,"-panel-layout")},De.createElement(en,{prefixCls:Ne,presets:Us,onClick:function(Vr){zs(Vr),Qo(!1)}}),De.createElement(wt,(0,Qe.Z)({},ci,{generateConfig:Vt,className:yt()((0,xt.Z)({},"".concat(Ne,"-panel-focused"),!_s)),value:La,locale:bt,tabIndex:-1,onSelect:function(Vr){Ga==null||Ga(Vr),Ia(Vr)},direction:Ut,onPanelChange:function(Vr,ko){var Ta=de.onPanelChange;Yo(!0),Ta==null||Ta(Vr,ko)}})));_r&&(vl=_r(vl));var js=De.createElement("div",{className:"".concat(Ne,"-panel-container"),ref:ss,onMouseDown:function(Vr){Vr.preventDefault()}},vl),El;Hi&&(El=De.createElement("span",{className:"".concat(Ne,"-suffix"),onMouseDown:function(Vr){Vr.preventDefault()}},Hi));var fr=gr(Ne,$t,fn),Hs=De.createElement("span",{onMouseDown:function(Vr){Vr.preventDefault(),Vr.stopPropagation()},onMouseUp:function(Vr){Vr.preventDefault(),Vr.stopPropagation(),zs(null),Qo(!1)},className:"".concat(Ne,"-clear"),role:"button"},fr),Nu=!!$t&&Qs&&!ar,Pu=(0,wn.Z)((0,wn.Z)((0,wn.Z)({id:it,tabIndex:Lt,disabled:ar,readOnly:jt||typeof Xs[0]=="function"||!_s,value:Cu||$s,onChange:function(Vr){aa(Vr.target.value)},autoFocus:qn,placeholder:ai,ref:Ba,title:$s},br),{},{size:Ji(Cn,Xs[0],Vt),name:at},(0,ce.Z)(de,{aria:!0,data:!0})),{},{autoComplete:Jr}),us=Ua?Ua(Pu):De.createElement("input",Pu),Co=function(Vr,ko){(ko==="submit"||ko!=="key"&&!Mo)&&(zs(Vr),Qo(!1))},nu=Ut==="rtl"?"bottomRight":"bottomLeft";return De.createElement(Jt.Provider,{value:{operationRef:Es,hideHeader:Cn==="time",onSelect:Co,open:Ei,defaultOpenValue:Li,onDateMouseEnter:zl,onDateMouseLeave:Yo}},De.createElement(Pr,{visible:Ei,popupElement:js,popupStyle:Pt,prefixCls:Ne,dropdownClassName:yn,dropdownAlign:Rt,getPopupContainer:Hr,transitionName:un,popupPlacement:nu,direction:Ut},De.createElement("div",{ref:eu,className:yt()(Ne,St,(ve={},(0,xt.Z)(ve,"".concat(Ne,"-disabled"),ar),(0,xt.Z)(ve,"".concat(Ne,"-focused"),ja),(0,xt.Z)(ve,"".concat(Ne,"-rtl"),Ut==="rtl"),ve)),style:Mt,onMouseDown:mo,onMouseUp:qi,onMouseEnter:an,onMouseLeave:Wn,onContextMenu:Ar,onClick:el},De.createElement("div",{className:yt()("".concat(Ne,"-input"),(0,xt.Z)({},"".concat(Ne,"-input-placeholder"),!!Cu)),ref:pl},us,El,Nu&&Hs))))}var vr=function(de){(0,Zt.Z)(be,de);var ve=(0,hn.Z)(be);function be(){var Pe;(0,ct.Z)(this,be);for(var Ne=arguments.length,it=new Array(Ne),at=0;at<Ne;at++)it[at]=arguments[at];return Pe=ve.call.apply(ve,[this].concat(it)),(0,xt.Z)((0,jn.Z)(Pe),"pickerRef",De.createRef()),(0,xt.Z)((0,jn.Z)(Pe),"focus",function(){Pe.pickerRef.current&&Pe.pickerRef.current.focus()}),(0,xt.Z)((0,jn.Z)(Pe),"blur",function(){Pe.pickerRef.current&&Pe.pickerRef.current.blur()}),Pe}return(0,Gt.Z)(be,[{key:"render",value:function(){return De.createElement(Dr,(0,Qe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),be}(De.Component),Pn=vr;function jr(de,ve){var be=de.picker,Pe=de.locale,Ne=de.selectedValue,it=de.disabledDate,at=de.disabled,Lt=de.generateConfig,Mt=sn(Ne,0),St=sn(Ne,1);function yn(bt){return Lt.locale.getWeekFirstDate(Pe.locale,bt)}function Rt(bt){var jt=Lt.getYear(bt),$t=Lt.getMonth(bt);return jt*100+$t}function Pt(bt){var jt=Lt.getYear(bt),$t=ur(Lt,bt);return jt*10+$t}var un=De.useCallback(function(bt){if(at[0]||it&&it(bt))return!0;if(at[1]&&St)return!Ii(Lt,bt,St)&&Lt.isAfter(bt,St);if(!ve&&St)switch(be){case"quarter":return Pt(bt)>Pt(St);case"month":return Rt(bt)>Rt(St);case"week":return yn(bt)>yn(St);default:return!Ii(Lt,bt,St)&&Lt.isAfter(bt,St)}return!1},[it,at[1],St,ve]),Vt=De.useCallback(function(bt){if(at[1]||it&&it(bt))return!0;if(at[0]&&Mt)return!Ii(Lt,bt,St)&&Lt.isAfter(Mt,bt);if(!ve&&Mt)switch(be){case"quarter":return Pt(bt)<Pt(Mt);case"month":return Rt(bt)<Rt(Mt);case"week":return yn(bt)<yn(Mt);default:return!Ii(Lt,bt,Mt)&&Lt.isAfter(Mt,bt)}return!1},[it,at[0],Mt,ve]);return[un,Vt]}var mt=pe(70425),ln=pe(6089);function Yt(de,ve,be,Pe,Ne,it,at,Lt,Mt,St){var yn=De.useState(!1),Rt=(0,on.Z)(yn,2),Pt=Rt[0],un=Rt[1],Vt=(0,mt.useMergedState)(de||!1,{value:ve}),bt=(0,on.Z)(Vt,2),jt=bt[0],$t=bt[1],qn=(0,mt.useMergedState)(de||!1,{value:ve,onChange:function(Er){St==null||St(Er)}}),On=(0,on.Z)(qn,2),pn=On[0],Cn=On[1],Dn=(0,mt.useMergedState)(0,{value:be}),Rn=(0,on.Z)(Dn,2),Qr=Rn[0],Or=Rn[1],Yr=De.useState(null),fi=(0,on.Z)(Yr,2),xi=fi[0],Li=fi[1];De.useEffect(function(){pn&&un(!0)},[pn]);var Hi=function(Er){return Er===0?1:0},fn=(0,ln.Z)(function(ar,Er,ai){if(Er===!1)Cn(ar);else if(ar){Or(Er),Cn(ar);var Hr=Hi(Er);!pn||![at,Lt][Hr]?Li(Hr):(un(!1),xi!==null&&Li(null))}else if(ai==="confirm"||ai==="blur"&&Pe){var Zr=jt?Hi(Er):xi;Zr!==null&&(un(!1),Or(Zr)),Li(null),Zr!==null&&!Mt[Zr]?(0,$o.Z)(function(){var _r,Qi=[Ne,it][Zr];(_r=Qi.current)===null||_r===void 0||_r.focus()}):Cn(!1)}else Cn(!1),$t(!1)});return[pn,Qr,Pt,fn]}function dn(de,ve,be,Pe){var Ne=wi(de,be,Pe,1);function it(at){return at(de,ve)?"same":at(Ne,ve)?"closing":"far"}switch(be){case"year":return it(function(at,Lt){return Jn(Pe,at,Lt)});case"quarter":case"month":return it(function(at,Lt){return xr(Pe,at,Lt)});default:return it(function(at,Lt){return ii(Pe,at,Lt)})}}function Xn(de,ve,be,Pe){var Ne=sn(de,0),it=sn(de,1);if(ve===0)return Ne;if(Ne&&it){var at=dn(Ne,it,be,Pe);switch(at){case"same":return Ne;case"closing":return Ne;default:return wi(it,be,Pe,-1)}}return Ne}function Vn(de){var ve=de.values,be=de.picker,Pe=de.defaultDates,Ne=de.generateConfig,it=De.useState(function(){return[sn(Pe,0),sn(Pe,1)]}),at=(0,on.Z)(it,2),Lt=at[0],Mt=at[1],St=De.useState(null),yn=(0,on.Z)(St,2),Rt=yn[0],Pt=yn[1],un=sn(ve,0),Vt=sn(ve,1);function bt($t){return Lt[$t]?Lt[$t]:sn(Rt,$t)||Xn(ve,$t,be,Ne)||un||Vt||Ne.getNow()}function jt($t,qn){if($t){var On=kr(Rt,$t,qn);Mt(kr(Lt,null,qn)||[null,null]);var pn=(qn+1)%2;sn(ve,pn)||(On=kr(On,$t,pn)),Pt(On)}else(un||Vt)&&Pt(null)}return[bt,jt]}function Rr(de,ve){return de&&de[0]&&de[1]&&ve.isAfter(de[0],de[1])?[de[1],de[0]]:de}function Ri(de,ve,be,Pe){return!!(de||Pe&&Pe[ve]||be[(ve+1)%2])}function Ca(de){var ve,be,Pe,Ne=de,it=Ne.prefixCls,at=it===void 0?"rc-picker":it,Lt=Ne.id,Mt=Ne.style,St=Ne.className,yn=Ne.popupStyle,Rt=Ne.dropdownClassName,Pt=Ne.transitionName,un=Ne.dropdownAlign,Vt=Ne.getPopupContainer,bt=Ne.generateConfig,jt=Ne.locale,$t=Ne.placeholder,qn=Ne.autoFocus,On=Ne.disabled,pn=Ne.format,Cn=Ne.picker,Dn=Cn===void 0?"date":Cn,Rn=Ne.showTime,Qr=Ne.use12Hours,Or=Ne.separator,Yr=Or===void 0?"~":Or,fi=Ne.value,xi=Ne.defaultValue,Li=Ne.defaultPickerValue,Hi=Ne.open,fn=Ne.defaultOpen,ar=Ne.disabledDate,Er=Ne.disabledTime,ai=Ne.dateRender,Hr=Ne.monthCellRender,Zr=Ne.cellRender,_r=Ne.panelRender,Qi=Ne.presets,Xi=Ne.ranges,ro=Ne.allowEmpty,Da=Ne.allowClear,mo=Ne.suffixIcon,qi=Ne.clearIcon,an=Ne.pickerRef,Wn=Ne.inputReadOnly,Ar=Ne.mode,oi=Ne.renderExtraFooter,Fi=Ne.onChange,Ga=Ne.onOpenChange,Ut=Ne.onPanelChange,nr=Ne.onCalendarChange,Jr=Ne.onFocus,Ua=Ne.onBlur,io=Ne.onMouseDown,Ba=Ne.onMouseUp,Mo=Ne.onMouseEnter,Us=Ne.onMouseLeave,Xs=Ne.onClick,ss=Ne.onOk,pl=Ne.onKeyDown,eu=Ne.components,ml=Ne.order,Uo=Ne.direction,Qs=Ne.activePickerIndex,ls=Ne.autoComplete,tu=ls===void 0?"off":ls,qs=Ne.changeOnBlur,La=Dn==="date"&&!!Rn||Dn==="time",Ia=(0,De.useRef)(null),Es=(0,De.useRef)(null),sl=(0,De.useRef)(null),wo=(0,De.useRef)(null),Ei=(0,De.useRef)(null),go=(0,De.useRef)(null),Po=(0,De.useRef)(null),Oa=(0,De.useRef)(null),ms=Bn(jo(pn,Dn,Rn,Qr)),ll=(0,De.useRef)(null),_a=De.useMemo(function(){return Array.isArray(On)?On:[On||!1,On||!1]},[On]),gs=(0,Se.Z)(null,{value:fi,defaultValue:xi,postState:function(Lr){return Dn==="time"&&!ml?Lr:Rr(Lr,bt)}}),$s=(0,on.Z)(gs,2),aa=$s[0],ul=$s[1],zs=Vn({values:aa,picker:Dn,defaultDates:Li,generateConfig:bt}),Qo=(0,on.Z)(zs,2),gl=Qo[0],el=Qo[1],Ol=(0,Se.Z)(aa,{postState:function(Lr){var Ir=Lr;if(_a[0]&&_a[1])return Ir;for(var zi=0;zi<2;zi+=1)_a[zi]&&!Ir&&!sn(Ir,zi)&&!sn(ro,zi)&&(Ir=kr(Ir,bt.getNow(),zi));return Ir}}),cl=(0,on.Z)(Ol,2),si=cl[0],br=cl[1],Ai=(0,Se.Z)([Dn,Dn],{value:Ar}),ja=(0,on.Z)(Ai,2),_s=ja[0],wu=ja[1];(0,De.useEffect)(function(){wu([Dn,Dn])},[Dn]);var Rl=function(Lr,Ir){wu(Lr),Ut&&Ut(Ir,Lr)},Cu=Yt(fn,Hi,Qs,qs,go,Po,sn(si,0),sn(si,1),_a,Ga),zl=(0,on.Z)(Cu,4),Yo=zl[0],ci=zl[1],vl=zl[2],js=zl[3],El=Yo&&ci===0,fr=Yo&&ci===1,Hs=jr({picker:Dn,selectedValue:si,locale:jt,disabled:_a,disabledDate:ar,generateConfig:bt},!Yo||vl),Nu=(0,on.Z)(Hs,2),Pu=Nu[0],us=Nu[1],Co=(0,De.useState)(0),nu=(0,on.Z)(Co,2),lo=nu[0],Vr=nu[1];(0,De.useEffect)(function(){!Yo&&Ia.current&&Vr(Ia.current.offsetWidth)},[Yo]);function ko(oa){js(!0,oa,"open"),(0,$o.Z)(function(){var Lr,Ir=[go,Po][oa];(Lr=Ir.current)===null||Lr===void 0||Lr.focus()},0)}function Ta(oa,Lr){var Ir=oa,zi=sn(Ir,0),ao=sn(Ir,1);zi&&ao&&bt.isAfter(zi,ao)&&(Dn==="week"&&!qt(bt,jt.locale,zi,ao)||Dn==="quarter"&&!qr(bt,zi,ao)||Dn!=="week"&&Dn!=="quarter"&&Dn!=="time"&&!Ii(bt,zi,ao)?Lr===0?(Ir=[zi,null],ao=null):(zi=null,Ir=[null,ao]):(Dn!=="time"||ml!==!1)&&(Ir=Rr(Ir,bt))),br(Ir);var hu=Ir&&Ir[0]?pr(Ir[0],{generateConfig:bt,locale:jt,format:ms[0]}):"",bs=Ir&&Ir[1]?pr(Ir[1],{generateConfig:bt,locale:jt,format:ms[0]}):"";if(nr){var Kl={range:Lr===0?"start":"end"};nr(Ir,[hu,bs],Kl)}var xl=Ri(zi,0,_a,ro),gc=Ri(ao,1,_a,ro),Mu=Ir===null||xl&&gc;Mu&&(ul(Ir),Fi&&(!Sr(bt,sn(aa,0),zi)||!Sr(bt,sn(aa,1),ao))&&Fi(Ir,[hu,bs]))}var Ac=function(Lr){return Yo&&ll.current&&ll.current.onKeyDown?ll.current.onKeyDown(Lr):((0,et.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Al={formatList:ms,generateConfig:bt,locale:jt},Hc=la(sn(si,0),Al),oc=(0,on.Z)(Hc,2),yl=oc[0],Wc=oc[1],_l=la(sn(si,1),Al),sc=(0,on.Z)(_l,2),Ml=sc[0],pd=sc[1],Su=function(Lr,Ir){var zi=fs(Lr,{locale:jt,formatList:ms,generateConfig:bt}),ao=Ir===0?Pu:us;zi&&!ao(zi)&&(br(kr(si,zi,Ir)),el(zi,Ir))},md=Fe({valueTexts:yl,onTextChange:function(Lr){return Su(Lr,0)}}),Mc=(0,on.Z)(md,3),ru=Mc[0],Ou=Mc[1],jl=Mc[2],Ru=Fe({valueTexts:Ml,onTextChange:function(Lr){return Su(Lr,1)}}),iu=(0,on.Z)(Ru,3),lc=iu[0],Kc=iu[1],Zc=iu[2],au=(0,De.useState)(null),kl=(0,on.Z)(au,2),Ni=kl[0],Qa=kl[1],ou=(0,De.useState)(null),Vc=(0,on.Z)(ou,2),vs=Vc[0],Gc=Vc[1],Do=ea(ru,{formatList:ms,generateConfig:bt,locale:jt}),uc=(0,on.Z)(Do,3),gd=uc[0],Hd=uc[1],cc=uc[2],zu=ea(lc,{formatList:ms,generateConfig:bt,locale:jt}),su=(0,on.Z)(zu,3),zn=su[0],Uc=su[1],_u=su[2],kc=function(Lr){Gc(kr(si,Lr,ci)),ci===0?Hd(Lr):Uc(Lr)},bl=function(){Gc(kr(si,null,ci)),ci===0?cc():_u()},dc=De.useState(Yo),hc=(0,on.Z)(dc,2),fc=hc[0],Ra=hc[1];De.useEffect(function(){Ra(Yo)},[Yo]);var Wd=function(Lr){if(qs&&fc){var Ir=sn(si,ci);Ir&&Ta(si,ci)}return Ua==null?void 0:Ua(Lr)},Dc=function(Lr,Ir){return{blurToCancel:!qs&&La,forwardKeyDown:Ac,onBlur:Wd,isClickOutside:function(ao){return!Mr([Es.current,sl.current,wo.current,Ia.current],ao)},onFocus:function(ao){Jr&&Jr(ao)},triggerOpen:function(ao){ao?js(ao,Lr,"open"):js(ao,sn(si,Lr)?Lr:!1,"blur")},onSubmit:function(){if(!si||ar&&ar(si[Lr]))return!1;Ta(si,Lr),Ir(),js(!1,ci,"confirm")},onCancel:function(){js(!1,Lr,"cancel"),br(aa),Ir()}}},Dl={onKeyDown:function(Lr,Ir){pl==null||pl(Lr,Ir)},changeOnBlur:qs},pc=vi((0,wn.Z)((0,wn.Z)({},Dc(0,jl)),{},{open:El,value:ru},Dl)),Hl=(0,on.Z)(pc,2),Eu=Hl[0],As=Hl[1],tl=As.focused,cs=As.typing,Bl=vi((0,wn.Z)((0,wn.Z)({},Dc(1,Zc)),{},{open:fr,value:lc},Dl)),lu=(0,on.Z)(Bl,2),Ll=lu[0],Au=lu[1],Bc=Au.focused,Lc=Au.typing,vd=function(Lr){Xs&&Xs(Lr),!Yo&&!go.current.contains(Lr.target)&&!Po.current.contains(Lr.target)&&(_a[0]?_a[1]||ko(1):ko(0))},Oo=function(Lr){io&&io(Lr),Yo&&(tl||Bc)&&!go.current.contains(Lr.target)&&!Po.current.contains(Lr.target)&&Lr.preventDefault()},Il=aa&&aa[0]?pr(aa[0],{locale:jt,format:"YYYYMMDDHHmmss",generateConfig:bt}):"",Kd=aa&&aa[1]?pr(aa[1],{locale:jt,format:"YYYYMMDDHHmmss",generateConfig:bt}):"";(0,De.useEffect)(function(){Yo||(br(aa),!yl.length||yl[0]===""?Ou(""):Wc!==ru&&jl(),!Ml.length||Ml[0]===""?Kc(""):pd!==lc&&Zc())},[Yo,yl,Ml]),(0,De.useEffect)(function(){br(aa)},[Il,Kd]);var uu=Ot({cellRender:Zr,monthCellRender:Hr,dateRender:ai}),Ic=De.useMemo(function(){if(uu)return function(oa,Lr){return uu(oa,(0,wn.Z)((0,wn.Z)({},Lr),{},{range:ci?"end":"start"}))}},[ci,uu]);an&&(an.current={focus:function(){go.current&&go.current.focus()},blur:function(){go.current&&go.current.blur(),Po.current&&Po.current.blur()}});var Zi=hi(Qi,Xi);function cu(){var oa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ir=null;Yo&&vs&&vs[0]&&vs[1]&&bt.isAfter(vs[1],vs[0])&&(Ir=vs);var zi=Rn;if(Rn&&(0,Ht.Z)(Rn)==="object"&&Rn.defaultValue){var ao=Rn.defaultValue;zi=(0,wn.Z)((0,wn.Z)({},Rn),{},{defaultValue:sn(ao,ci)||void 0})}return De.createElement(Tn.Provider,{value:{inRange:!0,panelPosition:oa,rangedValue:Ni||si,hoverRangedValue:Ir}},De.createElement(wt,(0,Qe.Z)({},de,Lr,{cellRender:Ic,showTime:zi,mode:_s[ci],generateConfig:bt,style:void 0,direction:Uo,disabledDate:ci===0?Pu:us,disabledTime:function(bs){return Er?Er(bs,ci===0?"start":"end"):!1},className:yt()((0,xt.Z)({},"".concat(at,"-panel-focused"),ci===0?!cs:!Lc)),value:sn(si,ci),locale:jt,tabIndex:-1,onPanelChange:function(bs,Kl){ci===0&&cc(!0),ci===1&&_u(!0),Rl(kr(_s,Kl,ci),kr(si,bs,ci));var xl=bs;oa==="right"&&_s[ci]===Kl&&(xl=wi(xl,Kl,bt,-1)),el(xl,ci)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ci===0?sn(si,1):sn(si,0)})))}var Ls=0,ju=0;if(ci&&sl.current&&Ei.current&&Es.current&&Oa.current){Ls=sl.current.offsetWidth+Ei.current.offsetWidth;var tn=Oa.current.offsetLeft>Ls?Oa.current.offsetLeft-Ls:Oa.current.offsetLeft,Qc=Es.current.offsetWidth,Yc=Oa.current.offsetWidth;Qc&&Yc&&Ls>Qc-Yc-(Uo==="rtl"?0:tn)&&(ju=Ls)}var Jc=Uo==="rtl"?{right:Ls}:{left:Ls};function Xc(){var oa,Lr=yo(at,_s[ci],oi),Ir=Vo({prefixCls:at,components:eu,needConfirmButton:La,okDisabled:!sn(si,ci)||ar&&ar(si[ci]),locale:jt,onOk:function(){var dl=sn(si,ci);dl&&(Ta(si,ci),ss==null||ss(si),js(!1,ci,"confirm"))}});if(Dn!=="time"&&!Rn){var zi=gl(ci),ao=wi(zi,Dn,bt),hu=_s[ci],bs=hu===Dn,Kl=cu(bs?"left":!1,{pickerValue:zi,onPickerValueChange:function(dl){el(dl,ci)}}),xl=cu("right",{pickerValue:ao,onPickerValueChange:function(dl){el(wi(dl,Dn,bt,-1),ci)}});Uo==="rtl"?oa=De.createElement(De.Fragment,null,xl,bs&&Kl):oa=De.createElement(De.Fragment,null,Kl,bs&&xl)}else oa=cu();var gc=De.createElement("div",{className:"".concat(at,"-panel-layout")},De.createElement(en,{prefixCls:at,presets:Zi,onClick:function(dl){Ta(dl,null),js(!1,ci,"preset")},onHover:function(dl){Qa(dl)}}),De.createElement("div",null,De.createElement("div",{className:"".concat(at,"-panels")},oa),(Lr||Ir)&&De.createElement("div",{className:"".concat(at,"-footer")},Lr,Ir)));return _r&&(gc=_r(gc)),De.createElement("div",{className:"".concat(at,"-panel-container"),style:{marginLeft:ju},ref:Es,onMouseDown:function(dl){dl.preventDefault()}},gc)}var Wl=De.createElement("div",{className:yt()("".concat(at,"-range-wrapper"),"".concat(at,"-").concat(Dn,"-range-wrapper")),style:{minWidth:lo}},De.createElement("div",{ref:Oa,className:"".concat(at,"-range-arrow"),style:Jc}),Xc()),Hu;mo&&(Hu=De.createElement("span",{className:"".concat(at,"-suffix"),onMouseDown:function(Lr){Lr.preventDefault()}},mo));var Zd=gr(at,Da,qi),ys=De.createElement("span",{onMouseDown:function(Lr){Lr.preventDefault(),Lr.stopPropagation()},onMouseUp:function(Lr){Lr.preventDefault(),Lr.stopPropagation();var Ir=aa;_a[0]||(Ir=kr(Ir,null,0)),_a[1]||(Ir=kr(Ir,null,1)),Ta(Ir,null),js(!1,ci,"clear")},className:"".concat(at,"-clear"),role:"button"},Zd),du=Da&&(sn(aa,0)&&!_a[0]||sn(aa,1)&&!_a[1]),mc={size:Ji(Dn,ms[0],bt)},Wu=0,qc=0;sl.current&&wo.current&&Ei.current&&(ci===0?qc=sl.current.offsetWidth:(Wu=Ls,qc=wo.current.offsetWidth));var yd=Uo==="rtl"?{right:Wu}:{left:Wu},$c=function(Lr,Ir){var zi=kr(si,Lr,ci);if(Ir==="submit"||Ir!=="key"&&!La){Ta(zi,ci),ci===0?cc():_u();var ao=ci===0?1:0;_a[ao]?js(!1,!1,"confirm"):js(!1,ci,"confirm")}else br(zi)};return De.createElement(Jt.Provider,{value:{operationRef:ll,hideHeader:Dn==="time",onDateMouseEnter:kc,onDateMouseLeave:bl,hideRanges:!0,onSelect:$c,open:Yo}},De.createElement(Pr,{visible:Yo,popupElement:Wl,popupStyle:yn,prefixCls:at,dropdownClassName:Rt,dropdownAlign:un,getPopupContainer:Vt,transitionName:Pt,range:!0,direction:Uo},De.createElement("div",(0,Qe.Z)({ref:Ia,className:yt()(at,"".concat(at,"-range"),St,(ve={},(0,xt.Z)(ve,"".concat(at,"-disabled"),_a[0]&&_a[1]),(0,xt.Z)(ve,"".concat(at,"-focused"),ci===0?tl:Bc),(0,xt.Z)(ve,"".concat(at,"-rtl"),Uo==="rtl"),ve)),style:Mt,onClick:vd,onMouseEnter:Mo,onMouseLeave:Us,onMouseDown:Oo,onMouseUp:Ba},(0,ce.Z)(de,{aria:!0,data:!0})),De.createElement("div",{className:yt()("".concat(at,"-input"),(be={},(0,xt.Z)(be,"".concat(at,"-input-active"),ci===0),(0,xt.Z)(be,"".concat(at,"-input-placeholder"),!!gd),be)),ref:sl},De.createElement("input",(0,Qe.Z)({id:Lt,disabled:_a[0],readOnly:Wn||typeof ms[0]=="function"||!cs,value:gd||ru,onChange:function(Lr){Ou(Lr.target.value)},autoFocus:qn,placeholder:sn($t,0)||"",ref:go},Eu,mc,{autoComplete:tu}))),De.createElement("div",{className:"".concat(at,"-range-separator"),ref:Ei},Yr),De.createElement("div",{className:yt()("".concat(at,"-input"),(Pe={},(0,xt.Z)(Pe,"".concat(at,"-input-active"),ci===1),(0,xt.Z)(Pe,"".concat(at,"-input-placeholder"),!!zn),Pe)),ref:wo},De.createElement("input",(0,Qe.Z)({disabled:_a[1],readOnly:Wn||typeof ms[0]=="function"||!Lc,value:zn||lc,onChange:function(Lr){Kc(Lr.target.value)},placeholder:sn($t,1)||"",ref:Po},Ll,mc,{autoComplete:tu}))),De.createElement("div",{className:"".concat(at,"-active-bar"),style:(0,wn.Z)((0,wn.Z)({},yd),{},{width:qc,position:"absolute"})}),Hu,du&&ys)))}var ia=function(de){(0,Zt.Z)(be,de);var ve=(0,hn.Z)(be);function be(){var Pe;(0,ct.Z)(this,be);for(var Ne=arguments.length,it=new Array(Ne),at=0;at<Ne;at++)it[at]=arguments[at];return Pe=ve.call.apply(ve,[this].concat(it)),(0,xt.Z)((0,jn.Z)(Pe),"pickerRef",De.createRef()),(0,xt.Z)((0,jn.Z)(Pe),"focus",function(){Pe.pickerRef.current&&Pe.pickerRef.current.focus()}),(0,xt.Z)((0,jn.Z)(Pe),"blur",function(){Pe.pickerRef.current&&Pe.pickerRef.current.blur()}),Pe}return(0,Gt.Z)(be,[{key:"render",value:function(){return De.createElement(Ca,(0,Qe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),be}(De.Component),eo=ia,Js=Pn,bo=pe(19080),to=pe(36355),da=pe(1684),xo=pe(19716),as=pe(32441),Ss=pe(9763),Fr=pe(33234),Go=pe(48183),no=pe(64993),Ao=pe(9937),ha=pe(17313),Gs=pe(47585),al=pe(74207),os=pe(13826),rc=pe(92899),ic=pe(37613),Rs=pe(83116);const yu=(de,ve,be,Pe)=>{const{lineHeight:Ne}=de,it=Math.floor(be*Ne)+2,at=Math.max((ve-it)/2,0),Lt=Math.max(ve-it-at,0);return{padding:`${at}px ${Pe}px ${Lt}px`}},Jl=de=>{const{componentCls:ve,pickerCellCls:be,pickerCellInnerCls:Pe,cellHeight:Ne,motionDurationSlow:it,borderRadiusSM:at,motionDurationMid:Lt,cellHoverBg:Mt,lineWidth:St,lineType:yn,colorPrimary:Rt,cellActiveWithRangeBg:Pt,colorTextLightSolid:un,controlHeightSM:Vt,cellRangeBorderColor:bt,pickerCellBorderGap:jt,cellHoverWithRangeBg:$t,cellWidth:qn,colorTextDisabled:On,cellBgDisabled:pn}=de;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ne,transform:"translateY(-50%)",transition:`all ${it}`,content:'""'},[Pe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ne,height:Ne,lineHeight:`${Ne}px`,borderRadius:at,transition:`background ${Lt}, border ${Lt}`},"&-range-hover-start, &-range-hover-end":{[Pe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${be}-in-view),
|
|
|
&:hover:not(${be}-selected):not(${be}-range-start):not(${be}-range-end):not(${be}-range-hover-start):not(${be}-range-hover-end)`]:{[Pe]:{background:Mt}},[`&-in-view${be}-today ${Pe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${St}px ${yn} ${Rt}`,borderRadius:at,content:'""'}},[`&-in-view${be}-in-range`]:{position:"relative","&::before":{background:Pt}},[`&-in-view${be}-selected ${Pe},
|
|
|
&-in-view${be}-range-start ${Pe},
|
|
|
&-in-view${be}-range-end ${Pe}`]:{color:un,background:Rt},[`&-in-view${be}-range-start:not(${be}-range-start-single),
|
|
|
&-in-view${be}-range-end:not(${be}-range-end-single)`]:{"&::before":{background:Pt}},[`&-in-view${be}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${be}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${be}-range-hover-start:not(${be}-in-range):not(${be}-range-start):not(${be}-range-end),
|
|
|
&-in-view${be}-range-hover-end:not(${be}-in-range):not(${be}-range-start):not(${be}-range-end),
|
|
|
&-in-view${be}-range-hover-start${be}-range-start-single,
|
|
|
&-in-view${be}-range-hover-start${be}-range-start${be}-range-end${be}-range-end-near-hover,
|
|
|
&-in-view${be}-range-hover-end${be}-range-start${be}-range-end${be}-range-start-near-hover,
|
|
|
&-in-view${be}-range-hover-end${be}-range-end-single,
|
|
|
&-in-view${be}-range-hover:not(${be}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Vt,borderTop:`${St}px dashed ${bt}`,borderBottom:`${St}px dashed ${bt}`,transform:"translateY(-50%)",transition:`all ${it}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:jt},[`&-in-view${be}-in-range${be}-range-hover::before,
|
|
|
&-in-view${be}-in-range${be}-range-hover-start::before,
|
|
|
&-in-view${be}-in-range${be}-range-hover-end::before,
|
|
|
&-in-view${be}-range-start${be}-range-hover::before,
|
|
|
&-in-view${be}-range-end${be}-range-hover::before,
|
|
|
&-in-view${be}-range-start:not(${be}-range-start-single)${be}-range-hover-start::before,
|
|
|
&-in-view${be}-range-end:not(${be}-range-end-single)${be}-range-hover-end::before,
|
|
|
${ve}-panel
|
|
|
> :not(${ve}-date-panel)
|
|
|
&-in-view${be}-in-range${be}-range-hover-start::before,
|
|
|
${ve}-panel
|
|
|
> :not(${ve}-date-panel)
|
|
|
&-in-view${be}-in-range${be}-range-hover-end::before`]:{background:$t},[`&-in-view${be}-range-start:not(${be}-range-start-single):not(${be}-range-end) ${Pe}`]:{borderStartStartRadius:at,borderEndStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${be}-range-end:not(${be}-range-end-single):not(${be}-range-start) ${Pe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at},[`&-range-hover${be}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${be}-range-hover:first-child::after,
|
|
|
tr > &-in-view${be}-range-hover-end:first-child::after,
|
|
|
&-in-view${be}-start${be}-range-hover-edge-start${be}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${be}-range-hover-edge-start:not(${be}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${be}-range-hover-start::after`]:{insetInlineStart:(qn-Ne)/2,borderInlineStart:`${St}px dashed ${bt}`,borderStartStartRadius:at,borderEndStartRadius:at},[`tr > &-in-view${be}-range-hover:last-child::after,
|
|
|
tr > &-in-view${be}-range-hover-start:last-child::after,
|
|
|
&-in-view${be}-end${be}-range-hover-edge-end${be}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${be}-range-hover-edge-end:not(${be}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${be}-range-hover-end::after`]:{insetInlineEnd:(qn-Ne)/2,borderInlineEnd:`${St}px dashed ${bt}`,borderStartEndRadius:at,borderEndEndRadius:at},"&-disabled":{color:On,pointerEvents:"none",[Pe]:{background:"transparent"},"&::before":{background:pn}},[`&-disabled${be}-today ${Pe}::before`]:{borderColor:On}}},ac=de=>{const{componentCls:ve,pickerCellCls:be,pickerCellInnerCls:Pe,pickerYearMonthCellWidth:Ne,pickerControlIconSize:it,cellWidth:at,paddingSM:Lt,paddingXS:Mt,paddingXXS:St,colorBgContainer:yn,lineWidth:Rt,lineType:Pt,borderRadiusLG:un,colorPrimary:Vt,colorTextHeading:bt,colorSplit:jt,pickerControlIconBorderWidth:$t,colorIcon:qn,textHeight:On,motionDurationMid:pn,colorIconHover:Cn,fontWeightStrong:Dn,cellHeight:Rn,pickerCellPaddingVertical:Qr,colorTextDisabled:Or,colorText:Yr,fontSize:fi,cellHoverWithRangeBg:xi,motionDurationSlow:Li,withoutTimeCellHeight:Hi,pickerQuarterPanelContentHeight:fn,colorLink:ar,colorLinkActive:Er,colorLinkHover:ai,cellRangeBorderColor:Hr,borderRadiusSM:Zr,colorTextLightSolid:_r,cellHoverBg:Qi,timeColumnHeight:Xi,timeColumnWidth:ro,timeCellHeight:Da,controlItemBgActive:mo,marginXXS:qi,pickerDatePanelPaddingHorizontal:an}=de,Wn=at*7+an*2,Ar=(Wn-Mt*2)/3-Ne-Lt,oi=(Wn-Mt*2)/4-Ne;return{[ve]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:yn,border:`${Rt}px ${Pt} ${jt}`,borderRadius:un,outline:"none","&-focused":{borderColor:Vt},"&-rtl":{direction:"rtl",[`${ve}-prev-icon,
|
|
|
${ve}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ve}-next-icon,
|
|
|
${ve}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Wn},"&-header":{display:"flex",padding:`0 ${Mt}px`,color:bt,borderBottom:`${Rt}px ${Pt} ${jt}`,"> *":{flex:"none"},button:{padding:0,color:qn,lineHeight:`${On}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${pn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:fi,"&:hover":{color:Cn}},"&-view":{flex:"auto",fontWeight:Dn,lineHeight:`${On}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Mt},"&:hover":{color:Vt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:it,height:it,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:it,height:it,border:"0 solid currentcolor",borderBlockStartWidth:$t,borderBlockEndWidth:0,borderInlineStartWidth:$t,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(it/2),insetInlineStart:Math.ceil(it/2),display:"inline-block",width:it,height:it,border:"0 solid currentcolor",borderBlockStartWidth:$t,borderBlockEndWidth:0,borderInlineStartWidth:$t,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Rn,fontWeight:"normal"},th:{height:Rn+Qr*2,color:Yr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Qr}px 0`,color:Or,cursor:"pointer","&-in-view":{color:Yr}},Jl(de)),[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start ${Pe},
|
|
|
&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Pe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:xi,transition:`all ${Li}`,content:'""'}},[`&-date-panel
|
|
|
${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-start
|
|
|
${Pe}::after`]:{insetInlineEnd:-(at-Rn)/2,insetInlineStart:0},[`&-date-panel ${ve}-cell-in-view${ve}-cell-in-range${ve}-cell-range-hover-end ${Pe}::after`]:{insetInlineEnd:0,insetInlineStart:-(at-Rn)/2},[`&-range-hover${ve}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-content`]:{height:Hi*4},[Pe]:{padding:`0 ${Mt}px`}},"&-quarter-panel":{[`${ve}-content`]:{height:fn},[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:oi,borderInlineStart:`${Rt}px dashed ${Hr}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:oi,borderInlineEnd:`${Rt}px dashed ${Hr}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:oi,borderInlineEnd:`${Rt}px dashed ${Hr}`,[`${ve}-panel-rtl &`]:{insetInlineStart:oi,borderInlineStart:`${Rt}px dashed ${Hr}`}}},[`&-panel ${ve}-footer`]:{borderTop:`${Rt}px ${Pt} ${jt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${On-2*Rt}px`,textAlign:"center","&-extra":{padding:`0 ${Lt}px`,lineHeight:`${On-2*Rt}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Rt}px ${Pt} ${jt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:ar,"&:hover":{color:ai},"&:active":{color:Er},[`&${ve}-today-btn-disabled`]:{color:Or,cursor:"not-allowed"}},"&-decade-panel":{[Pe]:{padding:`0 ${Mt/2}px`},[`${ve}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ve}-body`]:{padding:`0 ${Mt}px`},[Pe]:{width:Ne},[`${ve}-cell-range-hover-start::after`]:{borderStartStartRadius:Zr,borderEndStartRadius:Zr,borderStartEndRadius:0,borderEndEndRadius:0,[`${ve}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Zr,borderEndEndRadius:Zr}},[`${ve}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Zr,borderEndEndRadius:Zr,[`${ve}-panel-rtl &`]:{borderStartStartRadius:Zr,borderEndStartRadius:Zr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ve}-cell-range-hover-start::after`]:{insetInlineStart:Ar,borderInlineStart:`${Rt}px dashed ${Hr}`,[`${ve}-panel-rtl &`]:{insetInlineEnd:Ar,borderInlineEnd:`${Rt}px dashed ${Hr}`}},[`${ve}-cell-range-hover-end::after`]:{insetInlineEnd:Ar,borderInlineEnd:`${Rt}px dashed ${Hr}`,[`${ve}-panel-rtl &`]:{insetInlineStart:Ar,borderInlineStart:`${Rt}px dashed ${Hr}`}}},"&-week-panel":{[`${ve}-body`]:{padding:`${Mt}px ${Lt}px`},[`${ve}-cell`]:{[`&:hover ${Pe},
|
|
|
&-selected ${Pe},
|
|
|
${Pe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${pn}`},"&:first-child:before":{borderStartStartRadius:Zr,borderEndStartRadius:Zr},"&:last-child:before":{borderStartEndRadius:Zr,borderEndEndRadius:Zr}},"&:hover td":{"&:before":{background:Qi}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${be}`]:{"&:before":{background:Vt},[`&${ve}-cell-week`]:{color:new no.C(_r).setAlpha(.5).toHexString()},[Pe]:{color:_r}}},"&-range-hover td:before":{background:mo}}},"&-date-panel":{[`${ve}-body`]:{padding:`${Mt}px ${an}px`},[`${ve}-content`]:{width:at*7,th:{width:at,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ve}-time-panel`]:{borderInlineStart:`${Rt}px ${Pt} ${jt}`},[`${ve}-date-panel,
|
|
|
${ve}-time-panel`]:{transition:`opacity ${Li}`},"&-active":{[`${ve}-date-panel,
|
|
|
${ve}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ve}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:ro,margin:`${St}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${pn}`,overflowX:"hidden","&::after":{display:"block",height:Xi-Da,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Rt}px ${Pt} ${jt}`},"&-active":{background:new no.C(mo).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ve}-time-panel-cell`]:{marginInline:qi,[`${ve}-time-panel-cell-inner`]:{display:"block",width:ro-2*qi,height:Da,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ro-Da)/2,color:Yr,lineHeight:`${Da}px`,borderRadius:Zr,cursor:"pointer",transition:`background ${pn}`,"&:hover":{background:Qi}},"&-selected":{[`${ve}-time-panel-cell-inner`]:{background:mo}},"&-disabled":{[`${ve}-time-panel-cell-inner`]:{color:Or,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ve}-time-panel-column:after`]:{height:Xi-Da+St*2}}}},Iu=de=>{const{componentCls:ve,colorBgContainer:be,colorError:Pe,errorActiveShadow:Ne,colorWarning:it,warningActiveShadow:at}=de;return{[`${ve}:not(${ve}-disabled)`]:{[`&${ve}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:be,borderColor:Pe},[`&${ve}-focused, &:focus`]:Object.assign({},(0,Ao.M1)((0,ic.TS)(de,{activeBorderColor:Pe,activeShadow:Ne}))),[`${ve}-active-bar`]:{background:Pe}},[`&${ve}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:be,borderColor:it},[`&${ve}-focused, &:focus`]:Object.assign({},(0,Ao.M1)((0,ic.TS)(de,{activeBorderColor:it,activeShadow:at}))),[`${ve}-active-bar`]:{background:it}}}}},Tu=de=>{const{componentCls:ve,antCls:be,controlHeight:Pe,fontSize:Ne,paddingInline:it,colorBgContainer:at,lineWidth:Lt,lineType:Mt,colorBorder:St,borderRadius:yn,motionDurationMid:Rt,colorBgContainerDisabled:Pt,colorTextDisabled:un,colorTextPlaceholder:Vt,controlHeightLG:bt,fontSizeLG:jt,controlHeightSM:$t,paddingInlineSM:qn,paddingXS:On,marginXS:pn,colorTextDescription:Cn,lineWidthBold:Dn,lineHeight:Rn,colorPrimary:Qr,motionDurationSlow:Or,zIndexPopup:Yr,paddingXXS:fi,paddingSM:xi,textHeight:Li,cellActiveWithRangeBg:Hi,colorPrimaryBorder:fn,sizePopupArrow:ar,borderRadiusXS:Er,borderRadiusOuter:ai,colorBgElevated:Hr,borderRadiusLG:Zr,boxShadowSecondary:_r,borderRadiusSM:Qi,colorSplit:Xi,cellHoverBg:ro,presetsWidth:Da,presetsMaxWidth:mo,boxShadowPopoverArrow:qi,colorTextQuaternary:an}=de;return[{[ve]:Object.assign(Object.assign(Object.assign({},(0,ha.Wf)(de)),yu(de,Pe,Ne,it)),{position:"relative",display:"inline-flex",alignItems:"center",background:at,lineHeight:1,border:`${Lt}px ${Mt} ${St}`,borderRadius:yn,transition:`border ${Rt}, box-shadow ${Rt}`,"&:hover, &-focused":Object.assign({},(0,Ao.pU)(de)),"&-focused":Object.assign({},(0,Ao.M1)(de)),[`&${ve}-disabled`]:{background:Pt,borderColor:St,cursor:"not-allowed",[`${ve}-suffix`]:{color:an}},[`&${ve}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ve}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Ao.ik)(de)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ve}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Vt}}},"&-large":Object.assign(Object.assign({},yu(de,bt,jt,it)),{[`${ve}-input > input`]:{fontSize:jt}}),"&-small":Object.assign({},yu(de,$t,Ne,qn)),[`${ve}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:On/2,color:un,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:pn}}},[`${ve}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:un,lineHeight:1,background:at,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Rt}, color ${Rt}`,"> *":{verticalAlign:"top"},"&:hover":{color:Cn}},[`${ve}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:jt,color:un,fontSize:jt,verticalAlign:"top",cursor:"default",[`${ve}-focused &`]:{color:Cn},[`${ve}-range-separator &`]:{[`${ve}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ve}-clear`]:{insetInlineEnd:it},"&:hover":{[`${ve}-clear`]:{opacity:1}},[`${ve}-active-bar`]:{bottom:-Lt,height:Dn,marginInlineStart:it,background:Qr,opacity:0,transition:`all ${Or} ease-out`,pointerEvents:"none"},[`&${ve}-focused`]:{[`${ve}-active-bar`]:{opacity:1}},[`${ve}-range-separator`]:{alignItems:"center",padding:`0 ${On}px`,lineHeight:1},[`&${ve}-small`]:{[`${ve}-clear`]:{insetInlineEnd:qn},[`${ve}-active-bar`]:{marginInlineStart:qn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ha.Wf)(de)),ac(de)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Yr,[`&${ve}-dropdown-hidden`]:{display:"none"},[`&${ve}-dropdown-placement-bottomLeft`]:{[`${ve}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ve}-dropdown-placement-topLeft`]:{[`${ve}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${be}-slide-up-enter${be}-slide-up-enter-active${ve}-dropdown-placement-topLeft,
|
|
|
&${be}-slide-up-enter${be}-slide-up-enter-active${ve}-dropdown-placement-topRight,
|
|
|
&${be}-slide-up-appear${be}-slide-up-appear-active${ve}-dropdown-placement-topLeft,
|
|
|
&${be}-slide-up-appear${be}-slide-up-appear-active${ve}-dropdown-placement-topRight`]:{animationName:os.Qt},[`&${be}-slide-up-enter${be}-slide-up-enter-active${ve}-dropdown-placement-bottomLeft,
|
|
|
&${be}-slide-up-enter${be}-slide-up-enter-active${ve}-dropdown-placement-bottomRight,
|
|
|
&${be}-slide-up-appear${be}-slide-up-appear-active${ve}-dropdown-placement-bottomLeft,
|
|
|
&${be}-slide-up-appear${be}-slide-up-appear-active${ve}-dropdown-placement-bottomRight`]:{animationName:os.fJ},[`&${be}-slide-up-leave${be}-slide-up-leave-active${ve}-dropdown-placement-topLeft,
|
|
|
&${be}-slide-up-leave${be}-slide-up-leave-active${ve}-dropdown-placement-topRight`]:{animationName:os.ly},[`&${be}-slide-up-leave${be}-slide-up-leave-active${ve}-dropdown-placement-bottomLeft,
|
|
|
&${be}-slide-up-leave${be}-slide-up-leave-active${ve}-dropdown-placement-bottomRight`]:{animationName:os.Uw},[`${ve}-panel > ${ve}-time-panel`]:{paddingTop:fi},[`${ve}-ranges`]:{marginBottom:0,padding:`${fi}px ${xi}px`,overflow:"hidden",lineHeight:`${Li-2*Lt-On/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ve}-preset > ${be}-tag-blue`]:{color:Qr,background:Hi,borderColor:fn,cursor:"pointer"},[`${ve}-ok`]:{marginInlineStart:"auto"}},[`${ve}-range-wrapper`]:{display:"flex",position:"relative"},[`${ve}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:it*1.5,transition:`left ${Or} ease-out`},(0,Gs.r)(ar,Er,ai,Hr,qi)),[`${ve}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Hr,borderRadius:Zr,boxShadow:_r,transition:`margin ${Or}`,[`${ve}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ve}-presets`]:{display:"flex",flexDirection:"column",minWidth:Da,maxWidth:mo,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:On,borderInlineEnd:`${Lt}px ${Mt} ${Xi}`,li:Object.assign(Object.assign({},ha.vS),{borderRadius:Qi,paddingInline:On,paddingBlock:($t-Math.round(Ne*Rn))/2,cursor:"pointer",transition:`all ${Or}`,"+ li":{marginTop:pn},"&:hover":{background:ro}})}},[`${ve}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ve}-panel`]:{borderWidth:`0 0 ${Lt}px`},"&:last-child":{[`${ve}-panel`]:{borderWidth:0}}},[`${ve}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ve}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:St}}}}),"&-dropdown-range":{padding:`${ar*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ve}-separator`]:{transform:"rotate(180deg)"},[`${ve}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,os.oN)(de,"slide-up"),(0,os.oN)(de,"slide-down"),(0,rc.Fm)(de,"move-up"),(0,rc.Fm)(de,"move-down")]},Xl=de=>{const{componentCls:ve,controlHeightLG:be,paddingXXS:Pe,padding:Ne}=de;return{pickerCellCls:`${ve}-cell`,pickerCellInnerCls:`${ve}-cell-inner`,pickerYearMonthCellWidth:be*1.5,pickerQuarterPanelContentHeight:be*1.4,pickerCellPaddingVertical:Pe+Pe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ne+Pe/2}},Nl=de=>({cellHoverBg:de.controlItemBgHover,cellActiveWithRangeBg:de.controlItemBgActive,cellHoverWithRangeBg:new no.C(de.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new no.C(de.colorPrimary).lighten(20).toHexString(),cellBgDisabled:de.colorBgContainerDisabled,timeColumnWidth:de.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:de.controlHeightSM*1.5,cellHeight:de.controlHeightSM,textHeight:de.controlHeightLG,withoutTimeCellHeight:de.controlHeightLG*1.65});var Bs=(0,Rs.Z)("DatePicker",de=>{const ve=(0,ic.TS)((0,Ao.e5)(de),Xl(de));return[Tu(ve),Iu(ve),(0,al.c)(de,{focusElCls:`${de.componentCls}-focused`})]},de=>Object.assign(Object.assign(Object.assign({},(0,Ao.TM)(de)),Nl(de)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:de.zIndexPopupBase+50}));function No(de,ve,be){return be!==void 0?be:ve==="year"&&de.lang.yearPlaceholder?de.lang.yearPlaceholder:ve==="quarter"&&de.lang.quarterPlaceholder?de.lang.quarterPlaceholder:ve==="month"&&de.lang.monthPlaceholder?de.lang.monthPlaceholder:ve==="week"&&de.lang.weekPlaceholder?de.lang.weekPlaceholder:ve==="time"&&de.timePickerLocale.placeholder?de.timePickerLocale.placeholder:de.lang.placeholder}function ol(de,ve,be){return be!==void 0?be:ve==="year"&&de.lang.yearPlaceholder?de.lang.rangeYearPlaceholder:ve==="quarter"&&de.lang.quarterPlaceholder?de.lang.rangeQuarterPlaceholder:ve==="month"&&de.lang.monthPlaceholder?de.lang.rangeMonthPlaceholder:ve==="week"&&de.lang.weekPlaceholder?de.lang.rangeWeekPlaceholder:ve==="time"&&de.timePickerLocale.placeholder?de.timePickerLocale.rangePlaceholder:de.lang.rangePlaceholder}function Pl(de,ve){const be={adjustX:1,adjustY:1};switch(ve){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:be};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:be};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:be};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:be};default:return{points:de==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:be}}}function bu(de){return de?Array.isArray(de)?de:[de]:[]}function ql(de){const{format:ve,picker:be,showHour:Pe,showMinute:Ne,showSecond:it,use12Hours:at}=de,Lt=bu(ve)[0],Mt=Object.assign({},de);return ve&&Array.isArray(ve)&&(Mt.format=Lt),Lt&&typeof Lt=="string"&&(!Lt.includes("s")&&it===void 0&&(Mt.showSecond=!1),!Lt.includes("m")&&Ne===void 0&&(Mt.showMinute=!1),!Lt.includes("H")&&!Lt.includes("h")&&!Lt.includes("K")&&!Lt.includes("k")&&Pe===void 0&&(Mt.showHour=!1),(Lt.includes("a")||Lt.includes("A"))&&at===void 0&&(Mt.use12Hours=!0)),be==="time"?Mt:(typeof Lt=="function"&&delete Mt.format,{showTime:Mt})}function Fu(de,ve,be){if(de===!1)return!1;const Pe={clearIcon:ve!=null?ve:be};return typeof de=="object"?Object.assign(Object.assign({},Pe),de):Pe}var xu=pe(3113);function Ec(de){return De.createElement(xu.ZP,Object.assign({size:"small",type:"primary"},de))}var tt={button:Ec},Ze=function(de,ve){var be={};for(var Pe in de)Object.prototype.hasOwnProperty.call(de,Pe)&&ve.indexOf(Pe)<0&&(be[Pe]=de[Pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Pe=Object.getOwnPropertySymbols(de);Ne<Pe.length;Ne++)ve.indexOf(Pe[Ne])<0&&Object.prototype.propertyIsEnumerable.call(de,Pe[Ne])&&(be[Pe[Ne]]=de[Pe[Ne]]);return be};function Ve(de){return(0,De.forwardRef)((be,Pe)=>{const{prefixCls:Ne,getPopupContainer:it,className:at,placement:Lt,size:Mt,disabled:St,bordered:yn=!0,placeholder:Rt,popupClassName:Pt,dropdownClassName:un,status:Vt,clearIcon:bt,allowClear:jt,rootClassName:$t}=be,qn=Ze(be,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),On=De.useRef(null),{getPrefixCls:pn,direction:Cn,getPopupContainer:Dn}=(0,De.useContext)(to.E_),Rn=pn("picker",Ne),{compactSize:Qr,compactItemClassnames:Or}=(0,Fr.ri)(Rn,Cn),{format:Yr,showTime:fi,picker:xi}=be,Li=pn(),[Hi,fn]=Bs(Rn),ar=Object.assign(Object.assign({},fi?ql(Object.assign({format:Yr,picker:xi},fi)):{}),xi==="time"?ql(Object.assign(Object.assign({format:Yr},be),{picker:xi})):{}),Er=(0,xo.Z)(qi=>{var an;return(an=Mt!=null?Mt:Qr)!==null&&an!==void 0?an:qi}),ai=De.useContext(da.Z),Hr=St!=null?St:ai,Zr=(0,De.useContext)(as.aM),{hasFeedback:_r,status:Qi,feedbackIcon:Xi}=Zr,ro=De.createElement(De.Fragment,null,xi==="time"?De.createElement(Kt,null):De.createElement(Ge,null),_r&&Xi);(0,De.useImperativeHandle)(Pe,()=>({focus:()=>{var qi;return(qi=On.current)===null||qi===void 0?void 0:qi.focus()},blur:()=>{var qi;return(qi=On.current)===null||qi===void 0?void 0:qi.blur()}}));const[Da]=(0,Ss.Z)("Calendar",Go.Z),mo=Object.assign(Object.assign({},Da),be.locale);return Hi(De.createElement(eo,Object.assign({separator:De.createElement("span",{"aria-label":"to",className:`${Rn}-separator`},De.createElement(bn,null)),disabled:Hr,ref:On,dropdownAlign:Pl(Cn,Lt),placeholder:ol(mo,xi,Rt),suffixIcon:ro,prevIcon:De.createElement("span",{className:`${Rn}-prev-icon`}),nextIcon:De.createElement("span",{className:`${Rn}-next-icon`}),superPrevIcon:De.createElement("span",{className:`${Rn}-super-prev-icon`}),superNextIcon:De.createElement("span",{className:`${Rn}-super-next-icon`}),transitionName:`${Li}-slide-up`},qn,ar,{className:yt()({[`${Rn}-${Er}`]:Er,[`${Rn}-borderless`]:!yn},(0,bo.Z)(Rn,(0,bo.F)(Qi,Vt),_r),fn,Or,at,$t),locale:mo.lang,prefixCls:Rn,getPopupContainer:it||Dn,generateConfig:de,components:tt,direction:Cn,dropdownClassName:yt()(fn,Pt||un,$t),allowClear:Fu(jt,bt,De.createElement(mn.Z,null))})))})}var lr=function(de,ve){var be={};for(var Pe in de)Object.prototype.hasOwnProperty.call(de,Pe)&&ve.indexOf(Pe)<0&&(be[Pe]=de[Pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Pe=Object.getOwnPropertySymbols(de);Ne<Pe.length;Ne++)ve.indexOf(Pe[Ne])<0&&Object.prototype.propertyIsEnumerable.call(de,Pe[Ne])&&(be[Pe[Ne]]=de[Pe[Ne]]);return be};function cr(de){function ve(Mt,St){const yn=St==="TimePicker"?"timePicker":"datePicker",Rt=(0,De.forwardRef)((Pt,un)=>{const{prefixCls:Vt,getPopupContainer:bt,style:jt,className:$t,rootClassName:qn,size:On,bordered:pn=!0,placement:Cn,placeholder:Dn,popupClassName:Rn,dropdownClassName:Qr,disabled:Or,status:Yr,clearIcon:fi,allowClear:xi}=Pt,Li=lr(Pt,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Hi,direction:fn,getPopupContainer:ar,[yn]:Er}=(0,De.useContext)(to.E_),ai=Hi("picker",Vt),{compactSize:Hr,compactItemClassnames:Zr}=(0,Fr.ri)(ai,fn),_r=De.useRef(null),{format:Qi,showTime:Xi}=Pt,[ro,Da]=Bs(ai);(0,De.useImperativeHandle)(un,()=>({focus:()=>{var Mo;return(Mo=_r.current)===null||Mo===void 0?void 0:Mo.focus()},blur:()=>{var Mo;return(Mo=_r.current)===null||Mo===void 0?void 0:Mo.blur()}}));const mo={showToday:!0};let qi={};Mt&&(qi.picker=Mt);const an=Mt||Pt.picker;qi=Object.assign(Object.assign(Object.assign({},qi),Xi?ql(Object.assign({format:Qi,picker:an},Xi)):{}),an==="time"?ql(Object.assign(Object.assign({format:Qi},Pt),{picker:an})):{});const Wn=Hi(),Ar=(0,xo.Z)(Mo=>{var Us;return(Us=On!=null?On:Hr)!==null&&Us!==void 0?Us:Mo}),oi=De.useContext(da.Z),Fi=Or!=null?Or:oi,Ga=(0,De.useContext)(as.aM),{hasFeedback:Ut,status:nr,feedbackIcon:Jr}=Ga,Ua=De.createElement(De.Fragment,null,an==="time"?De.createElement(Kt,null):De.createElement(Ge,null),Ut&&Jr),[io]=(0,Ss.Z)("DatePicker",Go.Z),Ba=Object.assign(Object.assign({},io),Pt.locale);return ro(De.createElement(Js,Object.assign({ref:_r,placeholder:No(Ba,an,Dn),suffixIcon:Ua,dropdownAlign:Pl(fn,Cn),prevIcon:De.createElement("span",{className:`${ai}-prev-icon`}),nextIcon:De.createElement("span",{className:`${ai}-next-icon`}),superPrevIcon:De.createElement("span",{className:`${ai}-super-prev-icon`}),superNextIcon:De.createElement("span",{className:`${ai}-super-next-icon`}),transitionName:`${Wn}-slide-up`},mo,Li,qi,{locale:Ba.lang,className:yt()({[`${ai}-${Ar}`]:Ar,[`${ai}-borderless`]:!pn},(0,bo.Z)(ai,(0,bo.F)(nr,Yr),Ut),Da,Zr,Er==null?void 0:Er.className,$t,qn),style:Object.assign(Object.assign({},Er==null?void 0:Er.style),jt),prefixCls:ai,getPopupContainer:bt||ar,generateConfig:de,components:tt,direction:fn,disabled:Fi,dropdownClassName:yt()(Da,qn,Rn||Qr),allowClear:Fu(xi,fi,De.createElement(mn.Z,null))})))});return St&&(Rt.displayName=St),Rt}const be=ve(),Pe=ve("week","WeekPicker"),Ne=ve("month","MonthPicker"),it=ve("year","YearPicker"),at=ve("time","TimePicker"),Lt=ve("quarter","QuarterPicker");return{DatePicker:be,WeekPicker:Pe,MonthPicker:Ne,YearPicker:it,TimePicker:at,QuarterPicker:Lt}}const or=null;function Si(de){const{DatePicker:ve,WeekPicker:be,MonthPicker:Pe,YearPicker:Ne,TimePicker:it,QuarterPicker:at}=cr(de),Lt=Ve(de),Mt=ve;return Mt.WeekPicker=be,Mt.MonthPicker=Pe,Mt.YearPicker=Ne,Mt.RangePicker=Lt,Mt.TimePicker=it,Mt.QuarterPicker=at,Mt}var Br=Si;const vn=Br($e);function Yn(de){const ve=Pl(de.direction,de.placement);return ve.overflow.adjustY=!1,ve.overflow.adjustX=!1,Object.assign(Object.assign({},de),{dropdownAlign:ve})}const kn=(0,dt.Z)(vn,"picker",null,Yn);vn._InternalPanelDoNotUseOrYouWillBeFired=kn;const po=(0,dt.Z)(vn.RangePicker,"picker",null,Yn);vn._InternalRangePanelDoNotUseOrYouWillBeFired=po,vn.generatePicker=Br;var Sa=vn},14478:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return pt}});var ae=pe(96512),Ee=pe(92310),et=pe.n(Ee),vt=pe(10228),We=pe(18929),Oe=pe(2738),Ye=pe(59301),Ce=pe(92343),Me=pe(36355),rt=pe(60324),lt=pe(92806),Te=pe(77578),gt=pe(3113),Je=pe(67797),Re=pe(9763),je=pe(31724),He=pe(39722),Ke=pe(83116);const ft=ht=>{const{componentCls:Ge,iconCls:Et,antCls:nt,zIndexPopup:kt,colorText:En,colorWarning:Kt,marginXXS:mn,marginXS:Nn,fontSize:ze,fontWeightStrong:ke,colorTextHeading:Nt}=ht;return{[Ge]:{zIndex:kt,[`&${nt}-popover`]:{fontSize:ze},[`${Ge}-message`]:{marginBottom:Nn,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Ge}-message-icon ${Et}`]:{color:Kt,fontSize:ze,lineHeight:1,marginInlineEnd:Nn},[`${Ge}-title`]:{fontWeight:ke,color:Nt,"&:only-child":{fontWeight:"normal"}},[`${Ge}-description`]:{marginTop:mn,color:En}},[`${Ge}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:Nn}}}}};var $e=(0,Ke.Z)("Popconfirm",ht=>ft(ht),ht=>{const{zIndexPopupBase:Ge}=ht;return{zIndexPopup:Ge+60}},{resetStyle:!1}),dt=function(ht,Ge){var Et={};for(var nt in ht)Object.prototype.hasOwnProperty.call(ht,nt)&&Ge.indexOf(nt)<0&&(Et[nt]=ht[nt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,nt=Object.getOwnPropertySymbols(ht);kt<nt.length;kt++)Ge.indexOf(nt[kt])<0&&Object.prototype.propertyIsEnumerable.call(ht,nt[kt])&&(Et[nt[kt]]=ht[nt[kt]]);return Et};const Qe=ht=>{const{prefixCls:Ge,okButtonProps:Et,cancelButtonProps:nt,title:kt,description:En,cancelText:Kt,okText:mn,okType:Nn="primary",icon:ze=Ye.createElement(ae.Z,null),showCancel:ke=!0,close:Nt,onConfirm:bn,onCancel:xn,onPopupClick:yt}=ht,{getPrefixCls:ct}=Ye.useContext(Me.E_),[Gt]=(0,Re.Z)("Popconfirm",je.Z.Popconfirm),jn=(0,Te.Z)(kt),Zt=(0,Te.Z)(En);return Ye.createElement("div",{className:`${Ge}-inner-content`,onClick:yt},Ye.createElement("div",{className:`${Ge}-message`},ze&&Ye.createElement("span",{className:`${Ge}-message-icon`},ze),Ye.createElement("div",{className:`${Ge}-message-text`},jn&&Ye.createElement("div",{className:et()(`${Ge}-title`)},jn),Zt&&Ye.createElement("div",{className:`${Ge}-description`},Zt))),Ye.createElement("div",{className:`${Ge}-buttons`},ke&&Ye.createElement(gt.ZP,Object.assign({onClick:xn,size:"small"},nt),Kt!=null?Kt:Gt==null?void 0:Gt.cancelText),Ye.createElement(lt.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,Je.n)(Nn)),Et),actionFn:bn,close:Nt,prefixCls:ct("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},mn!=null?mn:Gt==null?void 0:Gt.okText)))};var Ct=ht=>{const{prefixCls:Ge,placement:Et,className:nt,style:kt}=ht,En=dt(ht,["prefixCls","placement","className","style"]),{getPrefixCls:Kt}=Ye.useContext(Me.E_),mn=Kt("popconfirm",Ge),[Nn]=$e(mn);return Nn(Ye.createElement(He.ZP,{placement:Et,className:et()(mn,nt),style:kt,content:Ye.createElement(Qe,Object.assign({prefixCls:mn},En))}))},Ft=function(ht,Ge){var Et={};for(var nt in ht)Object.prototype.hasOwnProperty.call(ht,nt)&&Ge.indexOf(nt)<0&&(Et[nt]=ht[nt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,nt=Object.getOwnPropertySymbols(ht);kt<nt.length;kt++)Ge.indexOf(nt[kt])<0&&Object.prototype.propertyIsEnumerable.call(ht,nt[kt])&&(Et[nt[kt]]=ht[nt[kt]]);return Et};const _t=Ye.forwardRef((ht,Ge)=>{const{prefixCls:Et,placement:nt="top",trigger:kt="click",okType:En="primary",icon:Kt=Ye.createElement(ae.Z,null),children:mn,overlayClassName:Nn,onOpenChange:ze,onVisibleChange:ke}=ht,Nt=Ft(ht,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:bn}=Ye.useContext(Me.E_),[xn,yt]=(0,We.Z)(!1,{value:ht.open,defaultValue:ht.defaultOpen}),ct=(ce,le)=>{yt(ce,!0),ke==null||ke(ce),ze==null||ze(ce,le)},Gt=ce=>{ct(!1,ce)},jn=ce=>{var le;return(le=ht.onConfirm)===null||le===void 0?void 0:le.call(void 0,ce)},Zt=ce=>{var le;ct(!1,ce),(le=ht.onCancel)===null||le===void 0||le.call(void 0,ce)},hn=ce=>{ce.keyCode===vt.Z.ESC&&xn&&ct(!1,ce)},xt=ce=>{const{disabled:le=!1}=ht;le||ct(ce)},wn=bn("popconfirm",Et),on=et()(wn,Nn),[Se]=$e(wn);return Se(Ye.createElement(rt.Z,Object.assign({},(0,Oe.Z)(Nt,["title"]),{trigger:kt,placement:nt,onOpenChange:xt,open:xn,ref:Ge,overlayClassName:on,content:Ye.createElement(Qe,Object.assign({okType:En,icon:Kt},ht,{prefixCls:wn,close:Gt,onConfirm:jn,onCancel:Zt})),"data-popover-inject":!0}),(0,Ce.Tm)(mn,{onKeyDown:ce=>{var le,we;Ye.isValidElement(mn)&&((we=mn==null?void 0:(le=mn.props).onKeyDown)===null||we===void 0||we.call(le,ce)),hn(ce)}})))});_t._InternalPanelDoNotUseOrYouWillBeFired=Ct;var pt=_t},39722:function(Dt,Xt,pe){"use strict";pe.d(Xt,{t5:function(){return rt}});var ae=pe(92310),Ee=pe.n(ae),et=pe(55477),vt=pe(59301),We=pe(36355),Oe=pe(77578),Ye=pe(17356),Ce=function(Te,gt){var Je={};for(var Re in Te)Object.prototype.hasOwnProperty.call(Te,Re)&>.indexOf(Re)<0&&(Je[Re]=Te[Re]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Re=Object.getOwnPropertySymbols(Te);je<Re.length;je++)gt.indexOf(Re[je])<0&&Object.prototype.propertyIsEnumerable.call(Te,Re[je])&&(Je[Re[je]]=Te[Re[je]]);return Je};const Me=(Te,gt,Je)=>{if(!(!gt&&!Je))return vt.createElement(vt.Fragment,null,gt&&vt.createElement("div",{className:`${Te}-title`},(0,Oe.Z)(gt)),vt.createElement("div",{className:`${Te}-inner-content`},(0,Oe.Z)(Je)))},rt=Te=>{const{hashId:gt,prefixCls:Je,className:Re,style:je,placement:He="top",title:Ke,content:ft,children:$e}=Te;return vt.createElement("div",{className:Ee()(gt,Je,`${Je}-pure`,`${Je}-placement-${He}`,Re),style:je},vt.createElement("div",{className:`${Je}-arrow`}),vt.createElement(et.G,Object.assign({},Te,{className:gt,prefixCls:Je}),$e||Me(Je,Ke,ft)))},lt=Te=>{const{prefixCls:gt}=Te,Je=Ce(Te,["prefixCls"]),{getPrefixCls:Re}=vt.useContext(We.E_),je=Re("popover",gt),[He,Ke]=(0,Ye.Z)(je);return He(vt.createElement(rt,Object.assign({},Je,{prefixCls:je,hashId:Ke})))};Xt.ZP=lt},60324:function(Dt,Xt,pe){"use strict";var ae=pe(92310),Ee=pe.n(ae),et=pe(59301),vt=pe(77578),We=pe(62892),Oe=pe(36355),Ye=pe(6848),Ce=pe(39722),Me=pe(17356),rt=function(gt,Je){var Re={};for(var je in gt)Object.prototype.hasOwnProperty.call(gt,je)&&Je.indexOf(je)<0&&(Re[je]=gt[je]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,je=Object.getOwnPropertySymbols(gt);He<je.length;He++)Je.indexOf(je[He])<0&&Object.prototype.propertyIsEnumerable.call(gt,je[He])&&(Re[je[He]]=gt[je[He]]);return Re};const lt=gt=>{let{title:Je,content:Re,prefixCls:je}=gt;return et.createElement(et.Fragment,null,Je&&et.createElement("div",{className:`${je}-title`},(0,vt.Z)(Je)),et.createElement("div",{className:`${je}-inner-content`},(0,vt.Z)(Re)))},Te=et.forwardRef((gt,Je)=>{const{prefixCls:Re,title:je,content:He,overlayClassName:Ke,placement:ft="top",trigger:$e="hover",mouseEnterDelay:dt=.1,mouseLeaveDelay:Qe=.1,overlayStyle:De={}}=gt,Ct=rt(gt,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ft}=et.useContext(Oe.E_),_t=Ft("popover",Re),[pt,ht]=(0,Me.Z)(_t),Ge=Ft(),Et=Ee()(Ke,ht);return pt(et.createElement(Ye.Z,Object.assign({placement:ft,trigger:$e,mouseEnterDelay:dt,mouseLeaveDelay:Qe,overlayStyle:De},Ct,{prefixCls:_t,overlayClassName:Et,ref:Je,overlay:je||He?et.createElement(lt,{prefixCls:_t,title:je,content:He}):null,transitionName:(0,We.m)(Ge,"zoom-big",Ct.transitionName),"data-popover-inject":!0})))});Te._InternalPanelDoNotUseOrYouWillBeFired=Ce.ZP,Xt.Z=Te},17356:function(Dt,Xt,pe){"use strict";var ae=pe(17313),Ee=pe(29878),et=pe(19447),vt=pe(33166),We=pe(83116),Oe=pe(37613);const Ye=rt=>{const{componentCls:lt,popoverColor:Te,minWidth:gt,fontWeightStrong:Je,popoverPadding:Re,boxShadowSecondary:je,colorTextHeading:He,borderRadiusLG:Ke,zIndexPopup:ft,marginXS:$e,colorBgElevated:dt,popoverBg:Qe}=rt;return[{[lt]:Object.assign(Object.assign({},(0,ae.Wf)(rt)),{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":dt,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${lt}-content`]:{position:"relative"},[`${lt}-inner`]:{backgroundColor:Qe,backgroundClip:"padding-box",borderRadius:Ke,boxShadow:je,padding:Re},[`${lt}-title`]:{minWidth:gt,marginBottom:$e,color:He,fontWeight:Je},[`${lt}-inner-content`]:{color:Te}})},(0,et.ZP)(rt,{colorBg:"var(--antd-arrow-background-color)"}),{[`${lt}-pure`]:{position:"relative",maxWidth:"none",margin:rt.sizePopupArrow,display:"inline-block",[`${lt}-content`]:{display:"inline-block"}}}]},Ce=rt=>{const{componentCls:lt}=rt;return{[lt]:vt.i.map(Te=>{const gt=rt[`${Te}6`];return{[`&${lt}-${Te}`]:{"--antd-arrow-background-color":gt,[`${lt}-inner`]:{backgroundColor:gt},[`${lt}-arrow`]:{background:"transparent"}}}})}},Me=rt=>{const{componentCls:lt,lineWidth:Te,lineType:gt,colorSplit:Je,paddingSM:Re,controlHeight:je,fontSize:He,lineHeight:Ke,padding:ft}=rt,$e=je-Math.round(He*Ke),dt=$e/2,Qe=$e/2-Te,De=ft;return{[lt]:{[`${lt}-inner`]:{padding:0},[`${lt}-title`]:{margin:0,padding:`${dt}px ${De}px ${Qe}px`,borderBottom:`${Te}px ${gt} ${Je}`},[`${lt}-inner-content`]:{padding:`${Re}px ${De}px`}}}};Xt.Z=(0,We.Z)("Popover",rt=>{const{colorBgElevated:lt,colorText:Te,wireframe:gt}=rt,Je=(0,Oe.TS)(rt,{popoverPadding:12,popoverBg:lt,popoverColor:Te});return[Ye(Je),Ce(Je),gt&&Me(Je),(0,Ee._y)(Je,"zoom-big")]},rt=>({width:177,minWidth:177,zIndexPopup:rt.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},78673:function(Dt,Xt,pe){"use strict";pe.d(Xt,{Z:function(){return Et}});var ae=pe(58617),Ee=pe(92310),et=pe.n(Ee),vt=pe(54476),We=pe(20068),Oe=pe(42978),Ye=pe(75931),Ce=pe(59301),Me=pe(18929),rt=pe(10228),lt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Te=Ce.forwardRef(function(nt,kt){var En,Kt=nt.prefixCls,mn=Kt===void 0?"rc-switch":Kt,Nn=nt.className,ze=nt.checked,ke=nt.defaultChecked,Nt=nt.disabled,bn=nt.loadingIcon,xn=nt.checkedChildren,yt=nt.unCheckedChildren,ct=nt.onClick,Gt=nt.onChange,jn=nt.onKeyDown,Zt=(0,Ye.Z)(nt,lt),hn=(0,Me.Z)(!1,{value:ze,defaultValue:ke}),xt=(0,Oe.Z)(hn,2),wn=xt[0],on=xt[1];function Se(Be,fe){var st=wn;return Nt||(st=Be,on(st),Gt==null||Gt(st,fe)),st}function ce(Be){Be.which===rt.Z.LEFT?Se(!1,Be):Be.which===rt.Z.RIGHT&&Se(!0,Be),jn==null||jn(Be)}function le(Be){var fe=Se(!wn,Be);ct==null||ct(fe,Be)}var we=et()(mn,Nn,(En={},(0,We.Z)(En,"".concat(mn,"-checked"),wn),(0,We.Z)(En,"".concat(mn,"-disabled"),Nt),En));return Ce.createElement("button",(0,vt.Z)({},Zt,{type:"button",role:"switch","aria-checked":wn,disabled:Nt,className:we,ref:kt,onKeyDown:ce,onClick:le}),bn,Ce.createElement("span",{className:"".concat(mn,"-inner")},Ce.createElement("span",{className:"".concat(mn,"-inner-checked")},xn),Ce.createElement("span",{className:"".concat(mn,"-inner-unchecked")},yt)))});Te.displayName="Switch";var gt=Te,Je=pe(14088),Re=pe(36355),je=pe(1684),He=pe(19716),Ke=pe(64993),ft=pe(17313),$e=pe(83116),dt=pe(37613);const Qe=nt=>{const{componentCls:kt,trackHeightSM:En,trackPadding:Kt,trackMinWidthSM:mn,innerMinMarginSM:Nn,innerMaxMarginSM:ze,handleSizeSM:ke}=nt,Nt=`${kt}-inner`;return{[kt]:{[`&${kt}-small`]:{minWidth:mn,height:En,lineHeight:`${En}px`,[`${kt}-inner`]:{paddingInlineStart:ze,paddingInlineEnd:Nn,[`${Nt}-checked`]:{marginInlineStart:`calc(-100% + ${ke+Kt*2}px - ${ze*2}px)`,marginInlineEnd:`calc(100% - ${ke+Kt*2}px + ${ze*2}px)`},[`${Nt}-unchecked`]:{marginTop:-En,marginInlineStart:0,marginInlineEnd:0}},[`${kt}-handle`]:{width:ke,height:ke},[`${kt}-loading-icon`]:{top:(ke-nt.switchLoadingIconSize)/2,fontSize:nt.switchLoadingIconSize},[`&${kt}-checked`]:{[`${kt}-inner`]:{paddingInlineStart:Nn,paddingInlineEnd:ze,[`${Nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Nt}-unchecked`]:{marginInlineStart:`calc(100% - ${ke+Kt*2}px + ${ze*2}px)`,marginInlineEnd:`calc(-100% + ${ke+Kt*2}px - ${ze*2}px)`}},[`${kt}-handle`]:{insetInlineStart:`calc(100% - ${ke+Kt}px)`}},[`&:not(${kt}-disabled):active`]:{[`&:not(${kt}-checked) ${Nt}`]:{[`${Nt}-unchecked`]:{marginInlineStart:nt.marginXXS/2,marginInlineEnd:-nt.marginXXS/2}},[`&${kt}-checked ${Nt}`]:{[`${Nt}-checked`]:{marginInlineStart:-nt.marginXXS/2,marginInlineEnd:nt.marginXXS/2}}}}}}},De=nt=>{const{componentCls:kt,handleSize:En}=nt;return{[kt]:{[`${kt}-loading-icon${nt.iconCls}`]:{position:"relative",top:(En-nt.fontSize)/2,color:nt.switchLoadingIconColor,verticalAlign:"top"},[`&${kt}-checked ${kt}-loading-icon`]:{color:nt.switchColor}}}},Ct=nt=>{const{componentCls:kt,motion:En,trackPadding:Kt,handleBg:mn,handleShadow:Nn,handleSize:ze}=nt,ke=`${kt}-handle`;return{[kt]:{[ke]:{position:"absolute",top:Kt,insetInlineStart:Kt,width:ze,height:ze,transition:`all ${nt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:mn,borderRadius:ze/2,boxShadow:Nn,transition:`all ${nt.switchDuration} ease-in-out`,content:'""'}},[`&${kt}-checked ${ke}`]:{insetInlineStart:`calc(100% - ${ze+Kt}px)`},[`&:not(${kt}-disabled):active`]:En?{[`${ke}::before`]:{insetInlineEnd:nt.switchHandleActiveInset,insetInlineStart:0},[`&${kt}-checked ${ke}::before`]:{insetInlineEnd:0,insetInlineStart:nt.switchHandleActiveInset}}:{}}}},Ft=nt=>{const{componentCls:kt,trackHeight:En,trackPadding:Kt,innerMinMargin:mn,innerMaxMargin:Nn,handleSize:ze}=nt,ke=`${kt}-inner`;return{[kt]:{[ke]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Nn,paddingInlineEnd:mn,transition:`padding-inline-start ${nt.switchDuration} ease-in-out, padding-inline-end ${nt.switchDuration} ease-in-out`,[`${ke}-checked, ${ke}-unchecked`]:{display:"block",color:nt.colorTextLightSolid,fontSize:nt.fontSizeSM,transition:`margin-inline-start ${nt.switchDuration} ease-in-out, margin-inline-end ${nt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${ke}-checked`]:{marginInlineStart:`calc(-100% + ${ze+Kt*2}px - ${Nn*2}px)`,marginInlineEnd:`calc(100% - ${ze+Kt*2}px + ${Nn*2}px)`},[`${ke}-unchecked`]:{marginTop:-En,marginInlineStart:0,marginInlineEnd:0}},[`&${kt}-checked ${ke}`]:{paddingInlineStart:mn,paddingInlineEnd:Nn,[`${ke}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ke}-unchecked`]:{marginInlineStart:`calc(100% - ${ze+Kt*2}px + ${Nn*2}px)`,marginInlineEnd:`calc(-100% + ${ze+Kt*2}px - ${Nn*2}px)`}},[`&:not(${kt}-disabled):active`]:{[`&:not(${kt}-checked) ${ke}`]:{[`${ke}-unchecked`]:{marginInlineStart:Kt*2,marginInlineEnd:-Kt*2}},[`&${kt}-checked ${ke}`]:{[`${ke}-checked`]:{marginInlineStart:-Kt*2,marginInlineEnd:Kt*2}}}}}},_t=nt=>{const{componentCls:kt,trackHeight:En,trackMinWidth:Kt}=nt;return{[kt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(nt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Kt,height:En,lineHeight:`${En}px`,verticalAlign:"middle",background:nt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${nt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${kt}-disabled)`]:{background:nt.colorTextTertiary}}),(0,ft.Qy)(nt)),{[`&${kt}-checked`]:{background:nt.switchColor,[`&:hover:not(${kt}-disabled)`]:{background:nt.colorPrimaryHover}},[`&${kt}-loading, &${kt}-disabled`]:{cursor:"not-allowed",opacity:nt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${kt}-rtl`]:{direction:"rtl"}})}};var pt=(0,$e.Z)("Switch",nt=>{const kt=(0,dt.TS)(nt,{switchDuration:nt.motionDurationMid,switchColor:nt.colorPrimary,switchDisabledOpacity:nt.opacityLoading,switchLoadingIconSize:nt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${nt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[_t(kt),Ft(kt),Ct(kt),De(kt),Qe(kt)]},nt=>{const{fontSize:kt,lineHeight:En,controlHeight:Kt,colorWhite:mn}=nt,Nn=kt*En,ze=Kt/2,ke=2,Nt=Nn-ke*2,bn=ze-ke*2;return{trackHeight:Nn,trackHeightSM:ze,trackMinWidth:Nt*2+ke*4,trackMinWidthSM:bn*2+ke*2,trackPadding:ke,handleBg:mn,handleSize:Nt,handleSizeSM:bn,handleShadow:`0 2px 4px 0 ${new Ke.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:Nt/2,innerMaxMargin:Nt+ke+ke*2,innerMinMarginSM:bn/2,innerMaxMarginSM:bn+ke+ke*2}}),ht=function(nt,kt){var En={};for(var Kt in nt)Object.prototype.hasOwnProperty.call(nt,Kt)&&kt.indexOf(Kt)<0&&(En[Kt]=nt[Kt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mn=0,Kt=Object.getOwnPropertySymbols(nt);mn<Kt.length;mn++)kt.indexOf(Kt[mn])<0&&Object.prototype.propertyIsEnumerable.call(nt,Kt[mn])&&(En[Kt[mn]]=nt[Kt[mn]]);return En};const Ge=Ce.forwardRef((nt,kt)=>{const{prefixCls:En,size:Kt,disabled:mn,loading:Nn,className:ze,rootClassName:ke,style:Nt}=nt,bn=ht(nt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:xn,direction:yt,switch:ct}=Ce.useContext(Re.E_),Gt=Ce.useContext(je.Z),jn=(mn!=null?mn:Gt)||Nn,Zt=xn("switch",En),hn=Ce.createElement("div",{className:`${Zt}-handle`},Nn&&Ce.createElement(ae.Z,{className:`${Zt}-loading-icon`})),[xt,wn]=pt(Zt),on=(0,He.Z)(Kt),Se=et()(ct==null?void 0:ct.className,{[`${Zt}-small`]:on==="small",[`${Zt}-loading`]:Nn,[`${Zt}-rtl`]:yt==="rtl"},ze,ke,wn),ce=Object.assign(Object.assign({},ct==null?void 0:ct.style),Nt);return xt(Ce.createElement(Je.Z,{component:"Switch"},Ce.createElement(gt,Object.assign({},bn,{prefixCls:Zt,className:Se,style:ce,disabled:jn,ref:kt,loadingIcon:hn}))))});Ge.__ANT_SWITCH=!0;var Et=Ge},99313:function(Dt,Xt,pe){"use strict";pe.d(Xt,{default:function(){return _i}});var ae=pe(99267),Ee=pe(18785),et=pe(62772),vt=pe(92310),We=pe.n(vt),Oe=pe(54476),Ye=pe(20068),Ce=pe(33885),Me=pe(42978),rt=pe(76190),lt=pe(75931),Te=pe(59301),gt=pe(49658),Je=pe(18929),Re=pe(77900),je=(0,Te.createContext)(null),He=Te.forwardRef(function(Fe,Ue){var Jt=Fe.prefixCls,Ht=Fe.className,Ot=Fe.style,Sn=Fe.id,In=Fe.active,Bn=Fe.tabKey,sn=Fe.children;return Te.createElement("div",{id:Sn&&"".concat(Sn,"-panel-").concat(Bn),role:"tabpanel",tabIndex:In?0:-1,"aria-labelledby":Sn&&"".concat(Sn,"-tab-").concat(Bn),"aria-hidden":!In,style:Ot,className:We()(Jt,In&&"".concat(Jt,"-active"),Ht),ref:Ue},sn)}),Ke=He,ft=["key","forceRender","style","className"];function $e(Fe){var Ue=Fe.id,Jt=Fe.activeKey,Ht=Fe.animated,Ot=Fe.tabPosition,Sn=Fe.destroyInactiveTabPane,In=Te.useContext(je),Bn=In.prefixCls,sn=In.tabs,kr=Ht.tabPane,$r="".concat(Bn,"-tabpane");return Te.createElement("div",{className:We()("".concat(Bn,"-content-holder"))},Te.createElement("div",{className:We()("".concat(Bn,"-content"),"".concat(Bn,"-content-").concat(Ot),(0,Ye.Z)({},"".concat(Bn,"-content-animated"),kr))},sn.map(function(dr){var Qt=dr.key,Tn=dr.forceRender,yi=dr.style,Vi=dr.className,ua=(0,lt.Z)(dr,ft),Xr=Qt===Jt;return Te.createElement(Re.default,(0,Oe.Z)({key:Qt,visible:Xr,forceRender:Tn,removeOnLeave:!!Sn,leavedClassName:"".concat($r,"-hidden")},Ht.tabPaneMotion),function(Bi,tr){var Mi=Bi.style,nn=Bi.className;return Te.createElement(Ke,(0,Oe.Z)({},ua,{prefixCls:$r,id:Ue,tabKey:Qt,animated:kr,active:Xr,style:(0,Ce.Z)((0,Ce.Z)({},yi),Mi),className:We()(Vi,nn),ref:tr}))})})))}var dt=pe(94480),Qe=pe(29301),De=pe(6089),Ct=pe(8654),Ft={width:0,height:0,left:0,top:0};function _t(Fe,Ue,Jt){return(0,Te.useMemo)(function(){for(var Ht,Ot=new Map,Sn=Ue.get((Ht=Fe[0])===null||Ht===void 0?void 0:Ht.key)||Ft,In=Sn.left+Sn.width,Bn=0;Bn<Fe.length;Bn+=1){var sn=Fe[Bn].key,kr=Ue.get(sn);if(!kr){var $r;kr=Ue.get(($r=Fe[Bn-1])===null||$r===void 0?void 0:$r.key)||Ft}var dr=Ot.get(sn)||(0,Ce.Z)({},kr);dr.right=In-dr.left-dr.width,Ot.set(sn,dr)}return Ot},[Fe.map(function(Ht){return Ht.key}).join("_"),Ue,Jt])}function pt(Fe,Ue){var Jt=Te.useRef(Fe),Ht=Te.useState({}),Ot=(0,Me.Z)(Ht,2),Sn=Ot[1];function In(Bn){var sn=typeof Bn=="function"?Bn(Jt.current):Bn;sn!==Jt.current&&Ue(sn,Jt.current),Jt.current=sn,Sn({})}return[Jt.current,In]}var ht=.1,Ge=.01,Et=20,nt=Math.pow(.995,Et);function kt(Fe,Ue){var Jt=(0,Te.useState)(),Ht=(0,Me.Z)(Jt,2),Ot=Ht[0],Sn=Ht[1],In=(0,Te.useState)(0),Bn=(0,Me.Z)(In,2),sn=Bn[0],kr=Bn[1],$r=(0,Te.useState)(0),dr=(0,Me.Z)($r,2),Qt=dr[0],Tn=dr[1],yi=(0,Te.useState)(),Vi=(0,Me.Z)(yi,2),ua=Vi[0],Xr=Vi[1],Bi=(0,Te.useRef)();function tr(ti){var bi=ti.touches[0],li=bi.screenX,ni=bi.screenY;Sn({x:li,y:ni}),window.clearInterval(Bi.current)}function Mi(ti){if(Ot){ti.preventDefault();var bi=ti.touches[0],li=bi.screenX,ni=bi.screenY;Sn({x:li,y:ni});var Ur=li-Ot.x,ui=ni-Ot.y;Ue(Ur,ui);var mr=Date.now();kr(mr),Tn(mr-sn),Xr({x:Ur,y:ui})}}function nn(){if(Ot&&(Sn(null),Xr(null),ua)){var ti=ua.x/Qt,bi=ua.y/Qt,li=Math.abs(ti),ni=Math.abs(bi);if(Math.max(li,ni)<ht)return;var Ur=ti,ui=bi;Bi.current=window.setInterval(function(){if(Math.abs(Ur)<Ge&&Math.abs(ui)<Ge){window.clearInterval(Bi.current);return}Ur*=nt,ui*=nt,Ue(Ur*Et,ui*Et)},Et)}}var ei=(0,Te.useRef)();function Kr(ti){var bi=ti.deltaX,li=ti.deltaY,ni=0,Ur=Math.abs(bi),ui=Math.abs(li);Ur===ui?ni=ei.current==="x"?bi:li:Ur>ui?(ni=bi,ei.current="x"):(ni=li,ei.current="y"),Ue(-ni,-ni)&&ti.preventDefault()}var Pi=(0,Te.useRef)(null);Pi.current={onTouchStart:tr,onTouchMove:Mi,onTouchEnd:nn,onWheel:Kr},Te.useEffect(function(){function ti(Ur){Pi.current.onTouchStart(Ur)}function bi(Ur){Pi.current.onTouchMove(Ur)}function li(Ur){Pi.current.onTouchEnd(Ur)}function ni(Ur){Pi.current.onWheel(Ur)}return document.addEventListener("touchmove",bi,{passive:!1}),document.addEventListener("touchend",li,{passive:!1}),Fe.current.addEventListener("touchstart",ti,{passive:!1}),Fe.current.addEventListener("wheel",ni),function(){document.removeEventListener("touchmove",bi),document.removeEventListener("touchend",li)}},[])}var En=pe(34280);function Kt(Fe){var Ue=(0,Te.useState)(0),Jt=(0,Me.Z)(Ue,2),Ht=Jt[0],Ot=Jt[1],Sn=(0,Te.useRef)(0),In=(0,Te.useRef)();return In.current=Fe,(0,En.o)(function(){var Bn;(Bn=In.current)===null||Bn===void 0||Bn.call(In)},[Ht]),function(){Sn.current===Ht&&(Sn.current+=1,Ot(Sn.current))}}function mn(Fe){var Ue=(0,Te.useRef)([]),Jt=(0,Te.useState)({}),Ht=(0,Me.Z)(Jt,2),Ot=Ht[1],Sn=(0,Te.useRef)(typeof Fe=="function"?Fe():Fe),In=Kt(function(){var sn=Sn.current;Ue.current.forEach(function(kr){sn=kr(sn)}),Ue.current=[],Sn.current=sn,Ot({})});function Bn(sn){Ue.current.push(sn),In()}return[Sn.current,Bn]}var Nn={width:0,height:0,left:0,top:0,right:0};function ze(Fe,Ue,Jt,Ht,Ot,Sn,In){var Bn=In.tabs,sn=In.tabPosition,kr=In.rtl,$r,dr,Qt;return["top","bottom"].includes(sn)?($r="width",dr=kr?"right":"left",Qt=Math.abs(Jt)):($r="height",dr="top",Qt=-Jt),(0,Te.useMemo)(function(){if(!Bn.length)return[0,0];for(var Tn=Bn.length,yi=Tn,Vi=0;Vi<Tn;Vi+=1){var ua=Fe.get(Bn[Vi].key)||Nn;if(ua[dr]+ua[$r]>Qt+Ue){yi=Vi-1;break}}for(var Xr=0,Bi=Tn-1;Bi>=0;Bi-=1){var tr=Fe.get(Bn[Bi].key)||Nn;if(tr[dr]<Qt){Xr=Bi+1;break}}return Xr>=yi?[0,0]:[Xr,yi]},[Fe,Ue,Ht,Ot,Sn,Qt,sn,Bn.map(function(Tn){return Tn.key}).join("_"),kr])}function ke(Fe){var Ue;return Fe instanceof Map?(Ue={},Fe.forEach(function(Jt,Ht){Ue[Ht]=Jt})):Ue=Fe,JSON.stringify(Ue)}var Nt="TABS_DQ";function bn(Fe){return String(Fe).replace(/"/g,Nt)}function xn(Fe,Ue,Jt,Ht){return!(!Jt||Ht||Fe===!1||Fe===void 0&&(Ue===!1||Ue===null))}function yt(Fe,Ue){var Jt=Fe.prefixCls,Ht=Fe.editable,Ot=Fe.locale,Sn=Fe.style;return!Ht||Ht.showAdd===!1?null:Te.createElement("button",{ref:Ue,type:"button",className:"".concat(Jt,"-nav-add"),style:Sn,"aria-label":(Ot==null?void 0:Ot.addAriaLabel)||"Add tab",onClick:function(Bn){Ht.onEdit("add",{event:Bn})}},Ht.addIcon||"+")}var ct=Te.forwardRef(yt),Gt=Te.forwardRef(function(Fe,Ue){var Jt=Fe.position,Ht=Fe.prefixCls,Ot=Fe.extra;if(!Ot)return null;var Sn,In={};return(0,rt.Z)(Ot)==="object"&&!Te.isValidElement(Ot)?In=Ot:In.right=Ot,Jt==="right"&&(Sn=In.right),Jt==="left"&&(Sn=In.left),Sn?Te.createElement("div",{className:"".concat(Ht,"-extra-content"),ref:Ue},Sn):null}),jn=Gt,Zt=pe(31561),hn=pe(15285),xt=pe(10228);function wn(Fe,Ue){var Jt=Fe.prefixCls,Ht=Fe.id,Ot=Fe.tabs,Sn=Fe.locale,In=Fe.mobile,Bn=Fe.moreIcon,sn=Bn===void 0?"More":Bn,kr=Fe.moreTransitionName,$r=Fe.style,dr=Fe.className,Qt=Fe.editable,Tn=Fe.tabBarGutter,yi=Fe.rtl,Vi=Fe.removeAriaLabel,ua=Fe.onTabClick,Xr=Fe.getPopupContainer,Bi=Fe.popupClassName,tr=(0,Te.useState)(!1),Mi=(0,Me.Z)(tr,2),nn=Mi[0],ei=Mi[1],Kr=(0,Te.useState)(null),Pi=(0,Me.Z)(Kr,2),ti=Pi[0],bi=Pi[1],li="".concat(Ht,"-more-popup"),ni="".concat(Jt,"-dropdown"),Ur=ti!==null?"".concat(li,"-").concat(ti):null,ui=Sn==null?void 0:Sn.dropdownAriaLabel;function mr(ki,Oi){ki.preventDefault(),ki.stopPropagation(),Qt.onEdit("remove",{key:Oi,event:ki})}var ho=Te.createElement(hn.ZP,{onClick:function(Oi){var ma=Oi.key,ga=Oi.domEvent;ua(ma,ga),ei(!1)},prefixCls:"".concat(ni,"-menu"),id:li,tabIndex:-1,role:"listbox","aria-activedescendant":Ur,selectedKeys:[ti],"aria-label":ui!==void 0?ui:"expanded dropdown"},Ot.map(function(ki){var Oi=ki.closable,ma=ki.disabled,ga=ki.closeIcon,va=ki.key,Ka=ki.label,Di=xn(Oi,ga,Qt,ma);return Te.createElement(hn.sN,{key:va,id:"".concat(li,"-").concat(va),role:"option","aria-controls":Ht&&"".concat(Ht,"-panel-").concat(va),disabled:ma},Te.createElement("span",null,Ka),Di&&Te.createElement("button",{type:"button","aria-label":Vi||"remove",tabIndex:0,className:"".concat(ni,"-menu-item-remove"),onClick:function(Za){Za.stopPropagation(),mr(Za,va)}},ga||Qt.removeIcon||"\xD7"))}));function oo(ki){for(var Oi=Ot.filter(function(Di){return!Di.disabled}),ma=Oi.findIndex(function(Di){return Di.key===ti})||0,ga=Oi.length,va=0;va<ga;va+=1){ma=(ma+ki+ga)%ga;var Ka=Oi[ma];if(!Ka.disabled){bi(Ka.key);return}}}function fo(ki){var Oi=ki.which;if(!nn){[xt.Z.DOWN,xt.Z.SPACE,xt.Z.ENTER].includes(Oi)&&(ei(!0),ki.preventDefault());return}switch(Oi){case xt.Z.UP:oo(-1),ki.preventDefault();break;case xt.Z.DOWN:oo(1),ki.preventDefault();break;case xt.Z.ESC:ei(!1);break;case xt.Z.SPACE:case xt.Z.ENTER:ti!==null&&ua(ti,ki);break}}(0,Te.useEffect)(function(){var ki=document.getElementById(Ur);ki&&ki.scrollIntoView&&ki.scrollIntoView(!1)},[ti]),(0,Te.useEffect)(function(){nn||bi(null)},[nn]);var wa=(0,Ye.Z)({},yi?"marginRight":"marginLeft",Tn);Ot.length||(wa.visibility="hidden",wa.order=1);var so=We()((0,Ye.Z)({},"".concat(ni,"-rtl"),yi)),Ea=In?null:Te.createElement(Zt.Z,{prefixCls:ni,overlay:ho,trigger:["hover"],visible:Ot.length?nn:!1,transitionName:kr,onVisibleChange:ei,overlayClassName:We()(so,Bi),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Xr},Te.createElement("button",{type:"button",className:"".concat(Jt,"-nav-more"),style:wa,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":li,id:"".concat(Ht,"-more"),"aria-expanded":nn,onKeyDown:fo},sn));return Te.createElement("div",{className:We()("".concat(Jt,"-nav-operations"),dr),style:$r,ref:Ue},Ea,Te.createElement(ct,{prefixCls:Jt,locale:Sn,editable:Qt}))}var on=Te.memo(Te.forwardRef(wn),function(Fe,Ue){return Ue.tabMoving});function Se(Fe){var Ue,Jt=Fe.prefixCls,Ht=Fe.id,Ot=Fe.active,Sn=Fe.tab,In=Sn.key,Bn=Sn.label,sn=Sn.disabled,kr=Sn.closeIcon,$r=Fe.closable,dr=Fe.renderWrapper,Qt=Fe.removeAriaLabel,Tn=Fe.editable,yi=Fe.onClick,Vi=Fe.onFocus,ua=Fe.style,Xr="".concat(Jt,"-tab"),Bi=xn($r,kr,Tn,sn);function tr(ei){sn||yi(ei)}function Mi(ei){ei.preventDefault(),ei.stopPropagation(),Tn.onEdit("remove",{key:In,event:ei})}var nn=Te.createElement("div",{key:In,"data-node-key":bn(In),className:We()(Xr,(Ue={},(0,Ye.Z)(Ue,"".concat(Xr,"-with-remove"),Bi),(0,Ye.Z)(Ue,"".concat(Xr,"-active"),Ot),(0,Ye.Z)(Ue,"".concat(Xr,"-disabled"),sn),Ue)),style:ua,onClick:tr},Te.createElement("div",{role:"tab","aria-selected":Ot,id:Ht&&"".concat(Ht,"-tab-").concat(In),className:"".concat(Xr,"-btn"),"aria-controls":Ht&&"".concat(Ht,"-panel-").concat(In),"aria-disabled":sn,tabIndex:sn?null:0,onClick:function(Kr){Kr.stopPropagation(),tr(Kr)},onKeyDown:function(Kr){[xt.Z.SPACE,xt.Z.ENTER].includes(Kr.which)&&(Kr.preventDefault(),tr(Kr))},onFocus:Vi},Bn),Bi&&Te.createElement("button",{type:"button","aria-label":Qt||"remove",tabIndex:0,className:"".concat(Xr,"-remove"),onClick:function(Kr){Kr.stopPropagation(),Mi(Kr)}},kr||Tn.removeIcon||"\xD7"));return dr?dr(nn):nn}var ce=Se,le=pe(16089),we=function(Ue){var Jt=Ue.activeTabOffset,Ht=Ue.horizontal,Ot=Ue.rtl,Sn=Ue.indicatorSize,In=(0,Te.useState)(),Bn=(0,Me.Z)(In,2),sn=Bn[0],kr=Bn[1],$r=(0,Te.useRef)(),dr=function(yi){return typeof Sn=="function"?Sn(yi):typeof Sn=="number"?Sn:yi};function Qt(){le.Z.cancel($r.current)}return(0,Te.useEffect)(function(){var Tn={};return Jt&&(Ht?(Ot?(Tn.right=Jt.right+Jt.width/2,Tn.transform="translateX(50%)"):(Tn.left=Jt.left+Jt.width/2,Tn.transform="translateX(-50%)"),Tn.width=dr(Jt.width)):(Tn.top=Jt.top+Jt.height/2,Tn.transform="translateY(-50%)",Tn.height=dr(Jt.height))),Qt(),$r.current=(0,le.Z)(function(){kr(Tn)}),Qt},[Jt,Ht,Ot,Sn]),{style:sn}},Be=we,fe=function(Ue){var Jt=Ue.current||{},Ht=Jt.offsetWidth,Ot=Ht===void 0?0:Ht,Sn=Jt.offsetHeight,In=Sn===void 0?0:Sn;return[Ot,In]},st=function(Ue,Jt){return Ue[Jt?0:1]};function An(Fe,Ue){var Jt,Ht=Te.useContext(je),Ot=Ht.prefixCls,Sn=Ht.tabs,In=Fe.className,Bn=Fe.style,sn=Fe.id,kr=Fe.animated,$r=Fe.activeKey,dr=Fe.rtl,Qt=Fe.extra,Tn=Fe.editable,yi=Fe.locale,Vi=Fe.tabPosition,ua=Fe.tabBarGutter,Xr=Fe.children,Bi=Fe.onTabClick,tr=Fe.onTabScroll,Mi=Fe.indicatorSize,nn=(0,Te.useRef)(),ei=(0,Te.useRef)(),Kr=(0,Te.useRef)(),Pi=(0,Te.useRef)(),ti=(0,Te.useRef)(),bi=(0,Te.useRef)(),li=(0,Te.useRef)(),ni=Vi==="top"||Vi==="bottom",Ur=pt(0,function(ln,Yt){ni&&tr&&tr({direction:ln>Yt?"left":"right"})}),ui=(0,Me.Z)(Ur,2),mr=ui[0],ho=ui[1],oo=pt(0,function(ln,Yt){!ni&&tr&&tr({direction:ln>Yt?"top":"bottom"})}),fo=(0,Me.Z)(oo,2),wa=fo[0],so=fo[1],Ea=(0,Te.useState)([0,0]),ki=(0,Me.Z)(Ea,2),Oi=ki[0],ma=ki[1],ga=(0,Te.useState)([0,0]),va=(0,Me.Z)(ga,2),Ka=va[0],Di=va[1],Wo=(0,Te.useState)([0,0]),Za=(0,Me.Z)(Wo,2),Va=Za[0],Io=Za[1],To=(0,Te.useState)([0,0]),Na=(0,Me.Z)(To,2),Fo=Na[0],Gi=Na[1],Aa=mn(new Map),Ki=(0,Me.Z)(Aa,2),rs=Ki[0],Eo=Ki[1],Os=_t(Sn,rs,Ka[0]),Cs=st(Oi,ni),$a=st(Ka,ni),Zs=st(Va,ni),Vs=st(Fo,ni),Ds=Cs<$a+Zs,Ma=Ds?Cs-Vs:Cs-Zs,Ko="".concat(Ot,"-nav-operations-hidden"),ka=0,Zn=0;ni&&dr?(ka=0,Zn=Math.max(0,$a-Ma)):(ka=Math.min(0,Ma-$a),Zn=0);function Hn(ln){return ln<ka?ka:ln>Zn?Zn:ln}var $n=(0,Te.useRef)(),sr=(0,Te.useState)(),ri=(0,Me.Z)(sr,2),na=ri[0],ca=ri[1];function Ui(){ca(Date.now())}function ji(){window.clearTimeout($n.current)}kt(Pi,function(ln,Yt){function dn(Xn,Vn){Xn(function(Rr){var Ri=Hn(Rr+Vn);return Ri})}return Ds?(ni?dn(ho,ln):dn(so,Yt),ji(),Ui(),!0):!1}),(0,Te.useEffect)(function(){return ji(),na&&($n.current=window.setTimeout(function(){ca(0)},100)),ji},[na]);var ra=ze(Os,Ma,ni?mr:wa,$a,Zs,Vs,(0,Ce.Z)((0,Ce.Z)({},Fe),{},{tabs:Sn})),Zo=(0,Me.Z)(ra,2),Pa=Zo[0],is=Zo[1],yo=(0,De.Z)(function(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$r,Yt=Os.get(ln)||{width:0,height:0,left:0,right:0,top:0};if(ni){var dn=mr;dr?Yt.right<mr?dn=Yt.right:Yt.right+Yt.width>mr+Ma&&(dn=Yt.right+Yt.width-Ma):Yt.left<-mr?dn=-Yt.left:Yt.left+Yt.width>-mr+Ma&&(dn=-(Yt.left+Yt.width-Ma)),so(0),ho(Hn(dn))}else{var Xn=wa;Yt.top<-wa?Xn=-Yt.top:Yt.top+Yt.height>-wa+Ma&&(Xn=-(Yt.top+Yt.height-Ma)),ho(0),so(Hn(Xn))}}),Vo={};Vi==="top"||Vi==="bottom"?Vo[dr?"marginRight":"marginLeft"]=ua:Vo.marginTop=ua;var Ys=Sn.map(function(ln,Yt){var dn=ln.key;return Te.createElement(ce,{id:sn,prefixCls:Ot,key:dn,tab:ln,style:Yt===0?void 0:Vo,closable:ln.closable,editable:Tn,active:dn===$r,renderWrapper:Xr,removeAriaLabel:yi==null?void 0:yi.removeAriaLabel,onClick:function(Vn){Bi(dn,Vn)},onFocus:function(){yo(dn),Ui(),Pi.current&&(dr||(Pi.current.scrollLeft=0),Pi.current.scrollTop=0)}})}),Bt=function(){return Eo(function(){var Yt=new Map;return Sn.forEach(function(dn){var Xn,Vn=dn.key,Rr=(Xn=ti.current)===null||Xn===void 0?void 0:Xn.querySelector('[data-node-key="'.concat(bn(Vn),'"]'));Rr&&Yt.set(Vn,{width:Rr.offsetWidth,height:Rr.offsetHeight,left:Rr.offsetLeft,top:Rr.offsetTop})}),Yt})};(0,Te.useEffect)(function(){Bt()},[Sn.map(function(ln){return ln.key}).join("_")]);var wt=Kt(function(){var ln=fe(nn),Yt=fe(ei),dn=fe(Kr);ma([ln[0]-Yt[0]-dn[0],ln[1]-Yt[1]-dn[1]]);var Xn=fe(li);Io(Xn);var Vn=fe(bi);Gi(Vn);var Rr=fe(ti);Di([Rr[0]-Xn[0],Rr[1]-Xn[1]]),Bt()}),Tt=Sn.slice(0,Pa),rn=Sn.slice(is+1),hr=[].concat((0,dt.Z)(Tt),(0,dt.Z)(rn)),Pr=Os.get($r),en=Be({activeTabOffset:Pr,horizontal:ni,rtl:dr,indicatorSize:Mi}),Qn=en.style;(0,Te.useEffect)(function(){yo()},[$r,ka,Zn,ke(Pr),ke(Os),ni]),(0,Te.useEffect)(function(){wt()},[dr]);var gr=!!hr.length,Dr="".concat(Ot,"-nav-wrap"),vr,Pn,jr,mt;return ni?dr?(Pn=mr>0,vr=mr!==Zn):(vr=mr<0,Pn=mr!==ka):(jr=wa<0,mt=wa!==ka),Te.createElement(Qe.Z,{onResize:wt},Te.createElement("div",{ref:(0,Ct.x1)(Ue,nn),role:"tablist",className:We()("".concat(Ot,"-nav"),In),style:Bn,onKeyDown:function(){Ui()}},Te.createElement(jn,{ref:ei,position:"left",extra:Qt,prefixCls:Ot}),Te.createElement(Qe.Z,{onResize:wt},Te.createElement("div",{className:We()(Dr,(Jt={},(0,Ye.Z)(Jt,"".concat(Dr,"-ping-left"),vr),(0,Ye.Z)(Jt,"".concat(Dr,"-ping-right"),Pn),(0,Ye.Z)(Jt,"".concat(Dr,"-ping-top"),jr),(0,Ye.Z)(Jt,"".concat(Dr,"-ping-bottom"),mt),Jt)),ref:Pi},Te.createElement(Qe.Z,{onResize:wt},Te.createElement("div",{ref:ti,className:"".concat(Ot,"-nav-list"),style:{transform:"translate(".concat(mr,"px, ").concat(wa,"px)"),transition:na?"none":void 0}},Ys,Te.createElement(ct,{ref:li,prefixCls:Ot,locale:yi,editable:Tn,style:(0,Ce.Z)((0,Ce.Z)({},Ys.length===0?void 0:Vo),{},{visibility:gr?"hidden":null})}),Te.createElement("div",{className:We()("".concat(Ot,"-ink-bar"),(0,Ye.Z)({},"".concat(Ot,"-ink-bar-animated"),kr.inkBar)),style:Qn}))))),Te.createElement(on,(0,Oe.Z)({},Fe,{removeAriaLabel:yi==null?void 0:yi.removeAriaLabel,ref:bi,prefixCls:Ot,tabs:hr,className:!gr&&Ko,tabMoving:!!na})),Te.createElement(jn,{ref:Kr,position:"right",extra:Qt,prefixCls:Ot})))}var Jn=Te.forwardRef(An),xr=["renderTabBar"],ur=["label","key"];function qr(Fe){var Ue=Fe.renderTabBar,Jt=(0,lt.Z)(Fe,xr),Ht=Te.useContext(je),Ot=Ht.tabs;if(Ue){var Sn=(0,Ce.Z)((0,Ce.Z)({},Jt),{},{panes:Ot.map(function(In){var Bn=In.label,sn=In.key,kr=(0,lt.Z)(In,ur);return Te.createElement(Ke,(0,Oe.Z)({tab:Bn,key:sn,tabKey:sn},kr))})});return Ue(Sn,Jn)}return Te.createElement(Jn,Jt)}var ii=pe(48736);function Ii(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Ue;return Fe===!1?Ue={inkBar:!1,tabPane:!1}:Fe===!0?Ue={inkBar:!0,tabPane:!1}:Ue=(0,Ce.Z)({inkBar:!0},(0,rt.Z)(Fe)==="object"?Fe:{}),Ue.tabPaneMotion&&Ue.tabPane===void 0&&(Ue.tabPane=!0),!Ue.tabPaneMotion&&Ue.tabPane&&(Ue.tabPane=!1),Ue}var fa=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],qt=0;function Sr(Fe,Ue){var Jt,Ht=Fe.id,Ot=Fe.prefixCls,Sn=Ot===void 0?"rc-tabs":Ot,In=Fe.className,Bn=Fe.items,sn=Fe.direction,kr=Fe.activeKey,$r=Fe.defaultActiveKey,dr=Fe.editable,Qt=Fe.animated,Tn=Fe.tabPosition,yi=Tn===void 0?"top":Tn,Vi=Fe.tabBarGutter,ua=Fe.tabBarStyle,Xr=Fe.tabBarExtraContent,Bi=Fe.locale,tr=Fe.moreIcon,Mi=Fe.moreTransitionName,nn=Fe.destroyInactiveTabPane,ei=Fe.renderTabBar,Kr=Fe.onChange,Pi=Fe.onTabClick,ti=Fe.onTabScroll,bi=Fe.getPopupContainer,li=Fe.popupClassName,ni=Fe.indicatorSize,Ur=(0,lt.Z)(Fe,fa),ui=Te.useMemo(function(){return(Bn||[]).filter(function(Gi){return Gi&&(0,rt.Z)(Gi)==="object"&&"key"in Gi})},[Bn]),mr=sn==="rtl",ho=Ii(Qt),oo=(0,Te.useState)(!1),fo=(0,Me.Z)(oo,2),wa=fo[0],so=fo[1];(0,Te.useEffect)(function(){so((0,gt.Z)())},[]);var Ea=(0,Je.Z)(function(){var Gi;return(Gi=ui[0])===null||Gi===void 0?void 0:Gi.key},{value:kr,defaultValue:$r}),ki=(0,Me.Z)(Ea,2),Oi=ki[0],ma=ki[1],ga=(0,Te.useState)(function(){return ui.findIndex(function(Gi){return Gi.key===Oi})}),va=(0,Me.Z)(ga,2),Ka=va[0],Di=va[1];(0,Te.useEffect)(function(){var Gi=ui.findIndex(function(Ki){return Ki.key===Oi});if(Gi===-1){var Aa;Gi=Math.max(0,Math.min(Ka,ui.length-1)),ma((Aa=ui[Gi])===null||Aa===void 0?void 0:Aa.key)}Di(Gi)},[ui.map(function(Gi){return Gi.key}).join("_"),Oi,Ka]);var Wo=(0,Je.Z)(null,{value:Ht}),Za=(0,Me.Z)(Wo,2),Va=Za[0],Io=Za[1];(0,Te.useEffect)(function(){Ht||(Io("rc-tabs-".concat(qt)),qt+=1)},[]);function To(Gi,Aa){Pi==null||Pi(Gi,Aa);var Ki=Gi!==Oi;ma(Gi),Ki&&(Kr==null||Kr(Gi))}var Na={id:Va,activeKey:Oi,animated:ho,tabPosition:yi,rtl:mr,mobile:wa},Fo=(0,Ce.Z)((0,Ce.Z)({},Na),{},{editable:dr,locale:Bi,moreIcon:tr,moreTransitionName:Mi,tabBarGutter:Vi,onTabClick:To,onTabScroll:ti,extra:Xr,style:ua,panes:null,getPopupContainer:bi,popupClassName:li,indicatorSize:ni});return Te.createElement(je.Provider,{value:{tabs:ui,prefixCls:Sn}},Te.createElement("div",(0,Oe.Z)({ref:Ue,id:Ht,className:We()(Sn,"".concat(Sn,"-").concat(yi),(Jt={},(0,Ye.Z)(Jt,"".concat(Sn,"-mobile"),wa),(0,Ye.Z)(Jt,"".concat(Sn,"-editable"),dr),(0,Ye.Z)(Jt,"".concat(Sn,"-rtl"),mr),Jt),In)},Ur),Te.createElement(qr,(0,Oe.Z)({},Fo,{renderTabBar:ei})),Te.createElement($e,(0,Oe.Z)({destroyInactiveTabPane:nn},Na,{animated:ho}))))}var co=Te.forwardRef(Sr),Fa=co,wi=Fa,pr=pe(36355),fs=pe(19716),la=()=>null,ea=pe(62892);const pi={motionAppear:!1,motionEnter:!0,motionLeave:!0};function $o(Fe){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Jt;return Ue===!1?Jt={inkBar:!1,tabPane:!1}:Ue===!0?Jt={inkBar:!0,tabPane:!0}:Jt=Object.assign({inkBar:!0},typeof Ue=="object"?Ue:{}),Jt.tabPane&&(Jt.tabPaneMotion=Object.assign(Object.assign({},pi),{motionName:(0,ea.m)(Fe,"switch")})),Jt}var ks=pe(11592),za=function(Fe,Ue){var Jt={};for(var Ht in Fe)Object.prototype.hasOwnProperty.call(Fe,Ht)&&Ue.indexOf(Ht)<0&&(Jt[Ht]=Fe[Ht]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ht=Object.getOwnPropertySymbols(Fe);Ot<Ht.length;Ot++)Ue.indexOf(Ht[Ot])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ht[Ot])&&(Jt[Ht[Ot]]=Fe[Ht[Ot]]);return Jt};function gi(Fe){return Fe.filter(Ue=>Ue)}function Ti(Fe,Ue){if(Fe)return Fe;const Jt=(0,ks.Z)(Ue).map(Ht=>{if(Te.isValidElement(Ht)){const{key:Ot,props:Sn}=Ht,In=Sn||{},{tab:Bn}=In,sn=za(In,["tab"]);return Object.assign(Object.assign({key:String(Ot)},sn),{label:Bn})}return null});return gi(Jt)}var es=pe(17313),ts=pe(83116),jo=pe(37613),Ji=pe(13826),Ci=Fe=>{const{componentCls:Ue,motionDurationSlow:Jt}=Fe;return[{[Ue]:{[`${Ue}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Jt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Jt}`}}}}},[(0,Ji.oN)(Fe,"slide-up"),(0,Ji.oN)(Fe,"slide-down")]]};const Sl=Fe=>{const{componentCls:Ue,tabsCardPadding:Jt,cardBg:Ht,cardGutter:Ot,colorBorderSecondary:Sn,itemSelectedColor:In}=Fe;return{[`${Ue}-card`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{margin:0,padding:Jt,background:Ht,border:`${Fe.lineWidth}px ${Fe.lineType} ${Sn}`,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`},[`${Ue}-tab-active`]:{color:In,background:Fe.colorBgContainer},[`${Ue}-ink-bar`]:{visibility:"hidden"}},[`&${Ue}-top, &${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ot}px`}}}},[`&${Ue}-top`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:`${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0 0`},[`${Ue}-tab-active`]:{borderBottomColor:Fe.colorBgContainer}}},[`&${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:`0 0 ${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px`},[`${Ue}-tab-active`]:{borderTopColor:Fe.colorBgContainer}}},[`&${Ue}-left, &${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginTop:`${Ot}px`}}},[`&${Ue}-left`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Fe.borderRadiusLG}px 0 0 ${Fe.borderRadiusLG}px`}},[`${Ue}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Fe.colorBgContainer}}}},[`&${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0`}},[`${Ue}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Fe.colorBgContainer}}}}}}},ps=Fe=>{const{componentCls:Ue,itemHoverColor:Jt,dropdownEdgeChildVerticalPadding:Ht}=Fe;return{[`${Ue}-dropdown`]:Object.assign(Object.assign({},(0,es.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Fe.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Ue}-dropdown-menu`]:{maxHeight:Fe.tabsDropdownHeight,margin:0,padding:`${Ht}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Fe.colorBgContainer,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary,"&-item":Object.assign(Object.assign({},es.vS),{display:"flex",alignItems:"center",minWidth:Fe.tabsDropdownWidth,margin:0,padding:`${Fe.paddingXXS}px ${Fe.paddingSM}px`,color:Fe.colorText,fontWeight:"normal",fontSize:Fe.fontSize,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${Fe.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Fe.marginSM},color:Fe.colorTextDescription,fontSize:Fe.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Jt}},"&:hover":{background:Fe.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Fe.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ta=Fe=>{const{componentCls:Ue,margin:Jt,colorBorderSecondary:Ht,horizontalMargin:Ot,verticalItemPadding:Sn,verticalItemMargin:In}=Fe;return{[`${Ue}-top, ${Ue}-bottom`]:{flexDirection:"column",[`> ${Ue}-nav, > div > ${Ue}-nav`]:{margin:Ot,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Fe.lineWidth}px ${Fe.lineType} ${Ht}`,content:"''"},[`${Ue}-ink-bar`]:{height:Fe.lineWidthBold,"&-animated":{transition:`width ${Fe.motionDurationSlow}, left ${Fe.motionDurationSlow},
|
|
|
right ${Fe.motionDurationSlow}`}},[`${Ue}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Fe.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Fe.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Fe.boxShadowTabsOverflowRight},[`&${Ue}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Ue}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Ue}-top`]:{[`> ${Ue}-nav,
|
|
|
> div > ${Ue}-nav`]:{"&::before":{bottom:0},[`${Ue}-ink-bar`]:{bottom:0}}},[`${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{order:1,marginTop:`${Jt}px`,marginBottom:0,"&::before":{top:0},[`${Ue}-ink-bar`]:{top:0}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{order:0}},[`${Ue}-left, ${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{flexDirection:"column",minWidth:Fe.controlHeight*1.25,[`${Ue}-tab`]:{padding:Sn,textAlign:"center"},[`${Ue}-tab + ${Ue}-tab`]:{margin:In},[`${Ue}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Fe.controlHeight},"&::before":{top:0,boxShadow:Fe.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Fe.boxShadowTabsOverflowBottom},[`&${Ue}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Ue}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Ue}-ink-bar`]:{width:Fe.lineWidthBold,"&-animated":{transition:`height ${Fe.motionDurationSlow}, top ${Fe.motionDurationSlow}`}},[`${Ue}-nav-list, ${Ue}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Ue}-left`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Fe.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`},[`> ${Ue}-content > ${Ue}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Fe.paddingLG}}}},[`${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{order:1,[`${Ue}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Fe.lineWidth},borderRight:{_skip_check_:!0,value:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`},[`> ${Ue}-content > ${Ue}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Fe.paddingLG}}}}}},pa=Fe=>{const{componentCls:Ue,cardPaddingSM:Jt,cardPaddingLG:Ht,horizontalItemPaddingSM:Ot,horizontalItemPaddingLG:Sn}=Fe;return{[Ue]:{"&-small":{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:Ot,fontSize:Fe.titleFontSizeSM}}},"&-large":{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:Sn,fontSize:Fe.titleFontSizeLG}}}},[`${Ue}-card`]:{[`&${Ue}-small`]:{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:Jt}},[`&${Ue}-bottom`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:`0 0 ${Fe.borderRadius}px ${Fe.borderRadius}px`}},[`&${Ue}-top`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:`${Fe.borderRadius}px ${Fe.borderRadius}px 0 0`}},[`&${Ue}-right`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Fe.borderRadius}px ${Fe.borderRadius}px 0`}}},[`&${Ue}-left`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Fe.borderRadius}px 0 0 ${Fe.borderRadius}px`}}}},[`&${Ue}-large`]:{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:Ht}}}}}},Ho=Fe=>{const{componentCls:Ue,itemActiveColor:Jt,itemHoverColor:Ht,iconCls:Ot,tabsHorizontalItemMargin:Sn,horizontalItemPadding:In,itemSelectedColor:Bn,itemColor:sn}=Fe,kr=`${Ue}-tab`;return{[kr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:In,fontSize:Fe.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:sn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Jt}},(0,es.Qy)(Fe)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Fe.marginXXS},marginLeft:{_skip_check_:!0,value:Fe.marginXS},color:Fe.colorTextDescription,fontSize:Fe.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Fe.motionDurationSlow}`,"&:hover":{color:Fe.colorTextHeading}},"&:hover":{color:Ht},[`&${kr}-active ${kr}-btn`]:{color:Bn,textShadow:Fe.tabsActiveTextShadow},[`&${kr}-disabled`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"},[`&${kr}-disabled ${kr}-btn, &${kr}-disabled ${Ue}-remove`]:{"&:focus, &:active":{color:Fe.colorTextDisabled}},[`& ${kr}-remove ${Ot}`]:{margin:0},[Ot]:{marginRight:{_skip_check_:!0,value:Fe.marginSM}}},[`${kr} + ${kr}`]:{margin:{_skip_check_:!0,value:Sn}}}},Tr=Fe=>{const{componentCls:Ue,tabsHorizontalItemMarginRTL:Jt,iconCls:Ht,cardGutter:Ot}=Fe;return{[`${Ue}-rtl`]:{direction:"rtl",[`${Ue}-nav`]:{[`${Ue}-tab`]:{margin:{_skip_check_:!0,value:Jt},[`${Ue}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ht]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Fe.marginSM}px`}},[`${Ue}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Fe.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Fe.marginXXS}px`},[Ht]:{margin:0}}}},[`&${Ue}-left`]:{[`> ${Ue}-nav`]:{order:1},[`> ${Ue}-content-holder`]:{order:0}},[`&${Ue}-right`]:{[`> ${Ue}-nav`]:{order:0},[`> ${Ue}-content-holder`]:{order:1}},[`&${Ue}-card${Ue}-top, &${Ue}-card${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginRight:{_skip_check_:!0,value:Ot},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Ue}-dropdown-rtl`]:{direction:"rtl"},[`${Ue}-menu-item`]:{[`${Ue}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ir=Fe=>{const{componentCls:Ue,tabsCardPadding:Jt,cardHeight:Ht,cardGutter:Ot,itemHoverColor:Sn,itemActiveColor:In,colorBorderSecondary:Bn}=Fe;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,es.Wf)(Fe)),{display:"flex",[`> ${Ue}-nav, > div > ${Ue}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Ue}-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 ${Fe.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Ue}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Fe.motionDurationSlow}`},[`${Ue}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Ue}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Ue}-nav-more`]:{position:"relative",padding:Jt,background:"transparent",border:0,color:Fe.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Fe.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Ue}-nav-add`]:Object.assign({minWidth:Ht,marginLeft:{_skip_check_:!0,value:Ot},padding:`0 ${Fe.paddingXS}px`,background:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} ${Bn}`,borderRadius:`${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Fe.colorText,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`,"&:hover":{color:Sn},"&:active, &:focus:not(:focus-visible)":{color:In}},(0,es.Qy)(Fe))},[`${Ue}-extra-content`]:{flex:"none"},[`${Ue}-ink-bar`]:{position:"absolute",background:Fe.inkBarColor,pointerEvents:"none"}}),Ho(Fe)),{[`${Ue}-content`]:{position:"relative",width:"100%"},[`${Ue}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Ue}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Ue}-centered`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-nav-wrap`]:{[`&:not([class*='${Ue}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Mr=(0,ts.Z)("Tabs",Fe=>{const Ue=(0,jo.TS)(Fe,{tabsCardPadding:Fe.cardPadding||`${(Fe.cardHeight-Math.round(Fe.fontSize*Fe.lineHeight))/2-Fe.lineWidth}px ${Fe.padding}px`,dropdownEdgeChildVerticalPadding:Fe.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Fe.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Fe.horizontalItemGutter}px`});return[pa(Ue),Tr(Ue),ta(Ue),ps(Ue),Sl(Ue),ir(Ue),Ci(Ue)]},Fe=>{const Ue=Fe.controlHeightLG;return{zIndexPopup:Fe.zIndexPopupBase+50,cardBg:Fe.colorFillAlter,cardHeight:Ue,cardPadding:"",cardPaddingSM:`${Fe.paddingXXS*1.5}px ${Fe.padding}px`,cardPaddingLG:`${Fe.paddingXS}px ${Fe.padding}px ${Fe.paddingXXS*1.5}px`,titleFontSize:Fe.fontSize,titleFontSizeLG:Fe.fontSizeLG,titleFontSizeSM:Fe.fontSize,inkBarColor:Fe.colorPrimary,horizontalMargin:`0 0 ${Fe.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Fe.paddingSM}px 0`,horizontalItemPaddingSM:`${Fe.paddingXS}px 0`,horizontalItemPaddingLG:`${Fe.padding}px 0`,verticalItemPadding:`${Fe.paddingXS}px ${Fe.paddingLG}px`,verticalItemMargin:`${Fe.margin}px 0 0 0`,itemColor:Fe.colorText,itemSelectedColor:Fe.colorPrimary,itemHoverColor:Fe.colorPrimaryHover,itemActiveColor:Fe.colorPrimaryActive,cardGutter:Fe.marginXXS/2}}),vi=function(Fe,Ue){var Jt={};for(var Ht in Fe)Object.prototype.hasOwnProperty.call(Fe,Ht)&&Ue.indexOf(Ht)<0&&(Jt[Ht]=Fe[Ht]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ht=Object.getOwnPropertySymbols(Fe);Ot<Ht.length;Ot++)Ue.indexOf(Ht[Ot])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ht[Ot])&&(Jt[Ht[Ot]]=Fe[Ht[Ot]]);return Jt};const hi=Fe=>{const{type:Ue,className:Jt,rootClassName:Ht,size:Ot,onEdit:Sn,hideAdd:In,centered:Bn,addIcon:sn,popupClassName:kr,children:$r,items:dr,animated:Qt,style:Tn,indicatorSize:yi}=Fe,Vi=vi(Fe,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:ua,moreIcon:Xr=Te.createElement(Ee.Z,null)}=Vi,{direction:Bi,tabs:tr,getPrefixCls:Mi,getPopupContainer:nn}=Te.useContext(pr.E_),ei=Mi("tabs",ua),[Kr,Pi]=Mr(ei);let ti;Ue==="editable-card"&&(ti={onEdit:(mr,ho)=>{let{key:oo,event:fo}=ho;Sn==null||Sn(mr==="add"?fo:oo,mr)},removeIcon:Te.createElement(ae.Z,null),addIcon:sn||Te.createElement(et.Z,null),showAdd:In!==!0});const bi=Mi(),li=Ti(dr,$r),ni=$o(ei,Qt),Ur=(0,fs.Z)(Ot),ui=Object.assign(Object.assign({},tr==null?void 0:tr.style),Tn);return Kr(Te.createElement(wi,Object.assign({direction:Bi,getPopupContainer:nn,moreTransitionName:`${bi}-slide-up`},Vi,{items:li,className:We()({[`${ei}-${Ur}`]:Ur,[`${ei}-card`]:["card","editable-card"].includes(Ue),[`${ei}-editable-card`]:Ue==="editable-card",[`${ei}-centered`]:Bn},tr==null?void 0:tr.className,Jt,Ht,Pi),popupClassName:We()(kr,Pi),style:ui,editable:ti,moreIcon:Xr,prefixCls:ei,animated:ni,indicatorSize:yi!=null?yi:tr==null?void 0:tr.indicatorSize})))};hi.TabPane=la;var _i=hi},99498:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){ae.defineOption("placeholder","",function(Ce,Me,rt){var lt=rt&&rt!=ae.Init;if(Me&&!lt)Ce.on("blur",We),Ce.on("change",Oe),Ce.on("swapDoc",Oe),ae.on(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose=function(){vt(Ce)}),Oe(Ce);else if(!Me&<){Ce.off("blur",We),Ce.off("change",Oe),Ce.off("swapDoc",Oe),ae.off(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose),Ee(Ce);var Te=Ce.getWrapperElement();Te.className=Te.className.replace(" CodeMirror-empty","")}Me&&!Ce.hasFocus()&&We(Ce)});function Ee(Ce){Ce.state.placeholder&&(Ce.state.placeholder.parentNode.removeChild(Ce.state.placeholder),Ce.state.placeholder=null)}function et(Ce){Ee(Ce);var Me=Ce.state.placeholder=document.createElement("pre");Me.style.cssText="height: 0; overflow: visible",Me.style.direction=Ce.getOption("direction"),Me.className="CodeMirror-placeholder CodeMirror-line-like";var rt=Ce.getOption("placeholder");typeof rt=="string"&&(rt=document.createTextNode(rt)),Me.appendChild(rt),Ce.display.lineSpace.insertBefore(Me,Ce.display.lineSpace.firstChild)}function vt(Ce){setTimeout(function(){var Me=!1,rt=Ce.getInputField();rt.nodeName=="TEXTAREA"?Me=!rt.value:Ce.lineCount()==1&&(Me=!/[^\u200b]/.test(rt.querySelector(".CodeMirror-line").textContent)),Me?et(Ce):Ee(Ce)},20)}function We(Ce){Ye(Ce)&&et(Ce)}function Oe(Ce){var Me=Ce.getWrapperElement(),rt=Ye(Ce);Me.className=Me.className.replace(" CodeMirror-empty","")+(rt?" CodeMirror-empty":""),rt?et(Ce):Ee(Ce)}function Ye(Ce){return Ce.lineCount()===1&&Ce.getLine(0)===""}})},25717:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){var Ee={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},et=ae.Pos;ae.defineOption("autoCloseBrackets",!1,function(Re,je,He){He&&He!=ae.Init&&(Re.removeKeyMap(We),Re.state.closeBrackets=null),je&&(Oe(vt(je,"pairs")),Re.state.closeBrackets=je,Re.addKeyMap(We))});function vt(Re,je){return je=="pairs"&&typeof Re=="string"?Re:typeof Re=="object"&&Re[je]!=null?Re[je]:Ee[je]}var We={Backspace:Me,Enter:rt};function Oe(Re){for(var je=0;je<Re.length;je++){var He=Re.charAt(je),Ke="'"+He+"'";We[Ke]||(We[Ke]=Ye(He))}}Oe(Ee.pairs+"`");function Ye(Re){return function(je){return Te(je,Re)}}function Ce(Re){var je=Re.state.closeBrackets;if(!je||je.override)return je;var He=Re.getModeAt(Re.getCursor());return He.closeBrackets||je}function Me(Re){var je=Ce(Re);if(!je||Re.getOption("disableInput"))return ae.Pass;for(var He=vt(je,"pairs"),Ke=Re.listSelections(),ft=0;ft<Ke.length;ft++){if(!Ke[ft].empty())return ae.Pass;var $e=gt(Re,Ke[ft].head);if(!$e||He.indexOf($e)%2!=0)return ae.Pass}for(var ft=Ke.length-1;ft>=0;ft--){var dt=Ke[ft].head;Re.replaceRange("",et(dt.line,dt.ch-1),et(dt.line,dt.ch+1),"+delete")}}function rt(Re){var je=Ce(Re),He=je&&vt(je,"explode");if(!He||Re.getOption("disableInput"))return ae.Pass;for(var Ke=Re.listSelections(),ft=0;ft<Ke.length;ft++){if(!Ke[ft].empty())return ae.Pass;var $e=gt(Re,Ke[ft].head);if(!$e||He.indexOf($e)%2!=0)return ae.Pass}Re.operation(function(){var dt=Re.lineSeparator()||`
|
|
|
`;Re.replaceSelection(dt+dt,null),Re.execCommand("goCharLeft"),Ke=Re.listSelections();for(var Qe=0;Qe<Ke.length;Qe++){var De=Ke[Qe].head.line;Re.indentLine(De,null,!0),Re.indentLine(De+1,null,!0)}})}function lt(Re){var je=ae.cmpPos(Re.anchor,Re.head)>0;return{anchor:new et(Re.anchor.line,Re.anchor.ch+(je?-1:1)),head:new et(Re.head.line,Re.head.ch+(je?1:-1))}}function Te(Re,je){var He=Ce(Re);if(!He||Re.getOption("disableInput"))return ae.Pass;var Ke=vt(He,"pairs"),ft=Ke.indexOf(je);if(ft==-1)return ae.Pass;for(var $e=vt(He,"closeBefore"),dt=vt(He,"triples"),Qe=Ke.charAt(ft+1)==je,De=Re.listSelections(),Ct=ft%2==0,Ft,_t=0;_t<De.length;_t++){var pt=De[_t],ht=pt.head,Ge,Et=Re.getRange(ht,et(ht.line,ht.ch+1));if(Ct&&!pt.empty())Ge="surround";else if((Qe||!Ct)&&Et==je)Qe&&Je(Re,ht)?Ge="both":dt.indexOf(je)>=0&&Re.getRange(ht,et(ht.line,ht.ch+3))==je+je+je?Ge="skipThree":Ge="skip";else if(Qe&&ht.ch>1&&dt.indexOf(je)>=0&&Re.getRange(et(ht.line,ht.ch-2),ht)==je+je){if(ht.ch>2&&/\bstring/.test(Re.getTokenTypeAt(et(ht.line,ht.ch-2))))return ae.Pass;Ge="addFour"}else if(Qe){var nt=ht.ch==0?" ":Re.getRange(et(ht.line,ht.ch-1),ht);if(!ae.isWordChar(Et)&&nt!=je&&!ae.isWordChar(nt))Ge="both";else return ae.Pass}else if(Ct&&(Et.length===0||/\s/.test(Et)||$e.indexOf(Et)>-1))Ge="both";else return ae.Pass;if(!Ft)Ft=Ge;else if(Ft!=Ge)return ae.Pass}var kt=ft%2?Ke.charAt(ft-1):je,En=ft%2?je:Ke.charAt(ft+1);Re.operation(function(){if(Ft=="skip")Re.execCommand("goCharRight");else if(Ft=="skipThree")for(var Kt=0;Kt<3;Kt++)Re.execCommand("goCharRight");else if(Ft=="surround"){for(var mn=Re.getSelections(),Kt=0;Kt<mn.length;Kt++)mn[Kt]=kt+mn[Kt]+En;Re.replaceSelections(mn,"around"),mn=Re.listSelections().slice();for(var Kt=0;Kt<mn.length;Kt++)mn[Kt]=lt(mn[Kt]);Re.setSelections(mn)}else Ft=="both"?(Re.replaceSelection(kt+En,null),Re.triggerElectric(kt+En),Re.execCommand("goCharLeft")):Ft=="addFour"&&(Re.replaceSelection(kt+kt+kt+kt,"before"),Re.execCommand("goCharRight"))})}function gt(Re,je){var He=Re.getRange(et(je.line,je.ch-1),et(je.line,je.ch+1));return He.length==2?He:null}function Je(Re,je){var He=Re.getTokenAt(et(je.line,je.ch+1));return/\bstring/.test(He.type)&&He.start==je.ch&&(je.ch==0||!/\bstring/.test(Re.getTokenTypeAt(je)))}})},6313:function(Dt,Xt,pe){(function(ae){ae(pe(89780),pe(32855))})(function(ae){ae.defineOption("autoCloseTags",!1,function(Me,rt,lt){if(lt!=ae.Init&<&&Me.removeKeyMap("autoCloseTags"),!!rt){var Te={name:"autoCloseTags"};(typeof rt!="object"||rt.whenClosing!==!1)&&(Te["'/'"]=function(gt){return Oe(gt)}),(typeof rt!="object"||rt.whenOpening!==!1)&&(Te["'>'"]=function(gt){return vt(gt)}),Me.addKeyMap(Te)}});var Ee=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],et=["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 vt(Me){if(Me.getOption("disableInput"))return ae.Pass;for(var rt=Me.listSelections(),lt=[],Te=Me.getOption("autoCloseTags"),gt=0;gt<rt.length;gt++){if(!rt[gt].empty())return ae.Pass;var Je=rt[gt].head,Re=Me.getTokenAt(Je),je=ae.innerMode(Me.getMode(),Re.state),He=je.state,Ke=je.mode.xmlCurrentTag&&je.mode.xmlCurrentTag(He),ft=Ke&&Ke.name;if(!ft)return ae.Pass;var $e=je.mode.configuration=="html",dt=typeof Te=="object"&&Te.dontCloseTags||$e&&Ee,Qe=typeof Te=="object"&&Te.indentTags||$e&&et;Re.end>Je.ch&&(ft=ft.slice(0,ft.length-Re.end+Je.ch));var De=ft.toLowerCase();if(!ft||Re.type=="string"&&(Re.end!=Je.ch||!/[\"\']/.test(Re.string.charAt(Re.string.length-1))||Re.string.length==1)||Re.type=="tag"&&Ke.close||Re.string.indexOf("/")==Je.ch-Re.start-1||dt&&Ye(dt,De)>-1||Ce(Me,je.mode.xmlCurrentContext&&je.mode.xmlCurrentContext(He)||[],ft,Je,!0))return ae.Pass;var Ct=typeof Te=="object"&&Te.emptyTags;if(Ct&&Ye(Ct,ft)>-1){lt[gt]={text:"/>",newPos:ae.Pos(Je.line,Je.ch+2)};continue}var Ft=Qe&&Ye(Qe,De)>-1;lt[gt]={indent:Ft,text:">"+(Ft?`
|
|
|
|
|
|
`:"")+"</"+ft+">",newPos:Ft?ae.Pos(Je.line+1,0):ae.Pos(Je.line,Je.ch+1)}}for(var _t=typeof Te=="object"&&Te.dontIndentOnAutoClose,gt=rt.length-1;gt>=0;gt--){var pt=lt[gt];Me.replaceRange(pt.text,rt[gt].head,rt[gt].anchor,"+insert");var ht=Me.listSelections().slice(0);ht[gt]={head:pt.newPos,anchor:pt.newPos},Me.setSelections(ht),!_t&&pt.indent&&(Me.indentLine(pt.newPos.line,null,!0),Me.indentLine(pt.newPos.line+1,null,!0))}}function We(Me,rt){for(var lt=Me.listSelections(),Te=[],gt=rt?"/":"</",Je=Me.getOption("autoCloseTags"),Re=typeof Je=="object"&&Je.dontIndentOnSlash,je=0;je<lt.length;je++){if(!lt[je].empty())return ae.Pass;var He=lt[je].head,Ke=Me.getTokenAt(He),ft=ae.innerMode(Me.getMode(),Ke.state),$e=ft.state;if(rt&&(Ke.type=="string"||Ke.string.charAt(0)!="<"||Ke.start!=He.ch-1))return ae.Pass;var dt,Qe=ft.mode.name!="xml"&&Me.getMode().name=="htmlmixed";if(Qe&&ft.mode.name=="javascript")dt=gt+"script";else if(Qe&&ft.mode.name=="css")dt=gt+"style";else{var De=ft.mode.xmlCurrentContext&&ft.mode.xmlCurrentContext($e);if(!De||De.length&&Ce(Me,De,De[De.length-1],He))return ae.Pass;dt=gt+De[De.length-1]}Me.getLine(He.line).charAt(Ke.end)!=">"&&(dt+=">"),Te[je]=dt}if(Me.replaceSelections(Te),lt=Me.listSelections(),!Re)for(var je=0;je<lt.length;je++)(je==lt.length-1||lt[je].head.line<lt[je+1].head.line)&&Me.indentLine(lt[je].head.line)}function Oe(Me){return Me.getOption("disableInput")?ae.Pass:We(Me,!0)}ae.commands.closeTag=function(Me){return We(Me)};function Ye(Me,rt){if(Me.indexOf)return Me.indexOf(rt);for(var lt=0,Te=Me.length;lt<Te;++lt)if(Me[lt]==rt)return lt;return-1}function Ce(Me,rt,lt,Te,gt){if(!ae.scanForClosingTag)return!1;var Je=Math.min(Me.lastLine()+1,Te.line+500),Re=ae.scanForClosingTag(Me,Te,null,Je);if(!Re||Re.tag!=lt)return!1;for(var je=gt?1:0,He=rt.length-1;He>=0&&rt[He]==lt;He--)++je;Te=Re.to;for(var He=1;He<je;He++){var Ke=ae.scanForClosingTag(Me,Te,null,Je);if(!Ke||Ke.tag!=lt)return!1;Te=Ke.to}return!0}})},32855:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){"use strict";var Ee=ae.Pos;function et(He,Ke){return He.line-Ke.line||He.ch-Ke.ch}var vt="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",We=vt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Oe=new RegExp("<(/?)(["+vt+"]["+We+"]*)","g");function Ye(He,Ke,ft,$e){this.line=Ke,this.ch=ft,this.cm=He,this.text=He.getLine(Ke),this.min=$e?Math.max($e.from,He.firstLine()):He.firstLine(),this.max=$e?Math.min($e.to-1,He.lastLine()):He.lastLine()}function Ce(He,Ke){var ft=He.cm.getTokenTypeAt(Ee(He.line,Ke));return ft&&/\btag\b/.test(ft)}function Me(He){if(!(He.line>=He.max))return He.ch=0,He.text=He.cm.getLine(++He.line),!0}function rt(He){if(!(He.line<=He.min))return He.text=He.cm.getLine(--He.line),He.ch=He.text.length,!0}function lt(He){for(;;){var Ke=He.text.indexOf(">",He.ch);if(Ke==-1){if(Me(He))continue;return}if(!Ce(He,Ke+1)){He.ch=Ke+1;continue}var ft=He.text.lastIndexOf("/",Ke),$e=ft>-1&&!/\S/.test(He.text.slice(ft+1,Ke));return He.ch=Ke+1,$e?"selfClose":"regular"}}function Te(He){for(;;){var Ke=He.ch?He.text.lastIndexOf("<",He.ch-1):-1;if(Ke==-1){if(rt(He))continue;return}if(!Ce(He,Ke+1)){He.ch=Ke;continue}Oe.lastIndex=Ke,He.ch=Ke;var ft=Oe.exec(He.text);if(ft&&ft.index==Ke)return ft}}function gt(He){for(;;){Oe.lastIndex=He.ch;var Ke=Oe.exec(He.text);if(!Ke){if(Me(He))continue;return}if(!Ce(He,Ke.index+1)){He.ch=Ke.index+1;continue}return He.ch=Ke.index+Ke[0].length,Ke}}function Je(He){for(;;){var Ke=He.ch?He.text.lastIndexOf(">",He.ch-1):-1;if(Ke==-1){if(rt(He))continue;return}if(!Ce(He,Ke+1)){He.ch=Ke;continue}var ft=He.text.lastIndexOf("/",Ke),$e=ft>-1&&!/\S/.test(He.text.slice(ft+1,Ke));return He.ch=Ke+1,$e?"selfClose":"regular"}}function Re(He,Ke){for(var ft=[];;){var $e=gt(He),dt,Qe=He.line,De=He.ch-($e?$e[0].length:0);if(!$e||!(dt=lt(He)))return;if(dt!="selfClose")if($e[1]){for(var Ct=ft.length-1;Ct>=0;--Ct)if(ft[Ct]==$e[2]){ft.length=Ct;break}if(Ct<0&&(!Ke||Ke==$e[2]))return{tag:$e[2],from:Ee(Qe,De),to:Ee(He.line,He.ch)}}else ft.push($e[2])}}function je(He,Ke){for(var ft=[];;){var $e=Je(He);if(!$e)return;if($e=="selfClose"){Te(He);continue}var dt=He.line,Qe=He.ch,De=Te(He);if(!De)return;if(De[1])ft.push(De[2]);else{for(var Ct=ft.length-1;Ct>=0;--Ct)if(ft[Ct]==De[2]){ft.length=Ct;break}if(Ct<0&&(!Ke||Ke==De[2]))return{tag:De[2],from:Ee(He.line,He.ch),to:Ee(dt,Qe)}}}}ae.registerHelper("fold","xml",function(He,Ke){for(var ft=new Ye(He,Ke.line,0);;){var $e=gt(ft);if(!$e||ft.line!=Ke.line)return;var dt=lt(ft);if(!dt)return;if(!$e[1]&&dt!="selfClose"){var Qe=Ee(ft.line,ft.ch),De=Re(ft,$e[2]);return De&&et(De.from,Qe)>0?{from:Qe,to:De.from}:null}}}),ae.findMatchingTag=function(He,Ke,ft){var $e=new Ye(He,Ke.line,Ke.ch,ft);if(!($e.text.indexOf(">")==-1&&$e.text.indexOf("<")==-1)){var dt=lt($e),Qe=dt&&Ee($e.line,$e.ch),De=dt&&Te($e);if(!(!dt||!De||et($e,Ke)>0)){var Ct={from:Ee($e.line,$e.ch),to:Qe,tag:De[2]};return dt=="selfClose"?{open:Ct,close:null,at:"open"}:De[1]?{open:je($e,De[2]),close:Ct,at:"close"}:($e=new Ye(He,Qe.line,Qe.ch,ft),{open:Ct,close:Re($e,De[2]),at:"open"})}}},ae.findEnclosingTag=function(He,Ke,ft,$e){for(var dt=new Ye(He,Ke.line,Ke.ch,ft);;){var Qe=je(dt,$e);if(!Qe)break;var De=new Ye(He,Ke.line,Ke.ch,ft),Ct=Re(De,Qe.tag);if(Ct)return{open:Qe,close:Ct}}},ae.scanForClosingTag=function(He,Ke,ft,$e){var dt=new Ye(He,Ke.line,Ke.ch,$e?{from:0,to:$e}:null);return Re(dt,ft)}})},89780:function(Dt){(function(Xt,pe){Dt.exports=pe()})(this,function(){"use strict";var Xt=navigator.userAgent,pe=navigator.platform,ae=/gecko\/\d/i.test(Xt),Ee=/MSIE \d/.test(Xt),et=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Xt),vt=/Edge\/(\d+)/.exec(Xt),We=Ee||et||vt,Oe=We&&(Ee?document.documentMode||6:+(vt||et)[1]),Ye=!vt&&/WebKit\//.test(Xt),Ce=Ye&&/Qt\/\d+\.\d+/.test(Xt),Me=!vt&&/Chrome\//.test(Xt),rt=/Opera\//.test(Xt),lt=/Apple Computer/.test(navigator.vendor),Te=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Xt),gt=/PhantomJS/.test(Xt),Je=!vt&&/AppleWebKit/.test(Xt)&&/Mobile\/\w+/.test(Xt),Re=/Android/.test(Xt),je=Je||Re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Xt),He=Je||/Mac/.test(pe),Ke=/\bCrOS\b/.test(Xt),ft=/win/i.test(pe),$e=rt&&Xt.match(/Version\/(\d*\.\d*)/);$e&&($e=Number($e[1])),$e&&$e>=15&&(rt=!1,Ye=!0);var dt=He&&(Ce||rt&&($e==null||$e<12.11)),Qe=ae||We&&Oe>=9;function De(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var Ct=function(x,z){var ne=x.className,te=De(z).exec(ne);if(te){var ie=ne.slice(te.index+te[0].length);x.className=ne.slice(0,te.index)+(ie?te[1]+ie:"")}};function Ft(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function _t(x,z){return Ft(x).appendChild(z)}function pt(x,z,ne,te){var ie=document.createElement(x);if(ne&&(ie.className=ne),te&&(ie.style.cssText=te),typeof z=="string")ie.appendChild(document.createTextNode(z));else if(z)for(var se=0;se<z.length;++se)ie.appendChild(z[se]);return ie}function ht(x,z,ne,te){var ie=pt(x,z,ne,te);return ie.setAttribute("role","presentation"),ie}var Ge;document.createRange?Ge=function(x,z,ne,te){var ie=document.createRange();return ie.setEnd(te||x,ne),ie.setStart(x,z),ie}:Ge=function(x,z,ne){var te=document.body.createTextRange();try{te.moveToElementText(x.parentNode)}catch(ie){return te}return te.collapse(!0),te.moveEnd("character",ne),te.moveStart("character",z),te};function Et(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 nt(){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 kt(x,z){var ne=x.className;De(z).test(ne)||(x.className+=(ne?" ":"")+z)}function En(x,z){for(var ne=x.split(" "),te=0;te<ne.length;te++)ne[te]&&!De(ne[te]).test(z)&&(z+=" "+ne[te]);return z}var Kt=function(x){x.select()};Je?Kt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:We&&(Kt=function(x){try{x.select()}catch(z){}});function mn(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function Nn(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 ze(x,z,ne,te,ie){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var se=te||0,me=ie||0;;){var xe=x.indexOf(" ",se);if(xe<0||xe>=z)return me+(z-se);me+=xe-se,me+=ne-me%ne,se=xe+1}}var ke=function(){this.id=null,this.f=null,this.time=0,this.handler=mn(this.onTimeout,this)};ke.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},ke.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 Nt(x,z){for(var ne=0;ne<x.length;++ne)if(x[ne]==z)return ne;return-1}var bn=50,xn={toString:function(){return"CodeMirror.Pass"}},yt={scroll:!1},ct={origin:"*mouse"},Gt={origin:"+move"};function jn(x,z,ne){for(var te=0,ie=0;;){var se=x.indexOf(" ",te);se==-1&&(se=x.length);var me=se-te;if(se==x.length||ie+me>=z)return te+Math.min(me,z-ie);if(ie+=se-te,ie+=ne-ie%ne,te=se+1,ie>=z)return te}}var Zt=[""];function hn(x){for(;Zt.length<=x;)Zt.push(xt(Zt)+" ");return Zt[x]}function xt(x){return x[x.length-1]}function wn(x,z){for(var ne=[],te=0;te<x.length;te++)ne[te]=z(x[te],te);return ne}function on(x,z,ne){for(var te=0,ie=ne(z);te<x.length&&ne(x[te])<=ie;)te++;x.splice(te,0,z)}function Se(){}function ce(x,z){var ne;return Object.create?ne=Object.create(x):(Se.prototype=x,ne=new Se),z&&Nn(z,ne),ne}var le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function we(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||le.test(x))}function Be(x,z){return z?z.source.indexOf("\\w")>-1&&we(x)?!0:z.test(x):we(x)}function fe(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var st=/[\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 An(x){return x.charCodeAt(0)>=768&&st.test(x)}function Jn(x,z,ne){for(;(ne<0?z>0:z<x.length)&&An(x.charAt(z));)z+=ne;return z}function xr(x,z,ne){for(var te=z>ne?-1:1;;){if(z==ne)return z;var ie=(z+ne)/2,se=te<0?Math.ceil(ie):Math.floor(ie);if(se==z)return x(se)?z:ne;x(se)?ne=se:z=se+te}}function ur(x,z,ne,te){if(!x)return te(z,ne,"ltr",0);for(var ie=!1,se=0;se<x.length;++se){var me=x[se];(me.from<ne&&me.to>z||z==ne&&me.to==z)&&(te(Math.max(me.from,z),Math.min(me.to,ne),me.level==1?"rtl":"ltr",se),ie=!0)}ie||te(z,ne,"ltr")}var qr=null;function ii(x,z,ne){var te;qr=null;for(var ie=0;ie<x.length;++ie){var se=x[ie];if(se.from<z&&se.to>z)return ie;se.to==z&&(se.from!=se.to&&ne=="before"?te=ie:qr=ie),se.from==z&&(se.from!=se.to&&ne!="before"?te=ie:qr=ie)}return te!=null?te:qr}var Ii=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Le){return Le<=247?x.charAt(Le):1424<=Le&&Le<=1524?"R":1536<=Le&&Le<=1785?z.charAt(Le-1536):1774<=Le&&Le<=2220?"r":8192<=Le&&Le<=8203?"w":Le==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,se=/[LRr]/,me=/[Lb1n]/,xe=/[1n]/;function Ae(Le,Xe,ut){this.level=Le,this.from=Xe,this.to=ut}return function(Le,Xe){var ut=Xe=="ltr"?"L":"R";if(Le.length==0||Xe=="ltr"&&!te.test(Le))return!1;for(var It=Le.length,At=[],cn=0;cn<It;++cn)At.push(ne(Le.charCodeAt(cn)));for(var Ln=0,Gn=ut;Ln<It;++Ln){var rr=At[Ln];rr=="m"?At[Ln]=Gn:Gn=rr}for(var yr=0,er=ut;yr<It;++yr){var wr=At[yr];wr=="1"&&er=="r"?At[yr]="n":se.test(wr)&&(er=wr,wr=="r"&&(At[yr]="R"))}for(var Wr=1,Gr=At[0];Wr<It-1;++Wr){var Wi=At[Wr];Wi=="+"&&Gr=="1"&&At[Wr+1]=="1"?At[Wr]="1":Wi==","&&Gr==At[Wr+1]&&(Gr=="1"||Gr=="n")&&(At[Wr]=Gr),Gr=Wi}for(var Ja=0;Ja<It;++Ja){var Ms=At[Ja];if(Ms==",")At[Ja]="N";else if(Ms=="%"){var Bo=void 0;for(Bo=Ja+1;Bo<It&&At[Bo]=="%";++Bo);for(var nl=Ja&&At[Ja-1]=="!"||Bo<It&&At[Bo]=="1"?"1":"N",rl=Ja;rl<Bo;++rl)At[rl]=nl;Ja=Bo-1}}for(var ds=0,il=ut;ds<It;++ds){var mi=At[ds];il=="L"&&mi=="1"?At[ds]="L":se.test(mi)&&(il=mi)}for(var Ro=0;Ro<It;++Ro)if(ie.test(At[Ro])){var Lo=void 0;for(Lo=Ro+1;Lo<It&&ie.test(At[Lo]);++Lo);for(var zo=(Ro?At[Ro-1]:ut)=="L",Jo=(Lo<It?At[Lo]:ut)=="L",yc=zo==Jo?zo?"L":"R":ut,hl=Ro;hl<Lo;++hl)At[hl]=yc;Ro=Lo-1}for(var Is=[],ba,xs=0;xs<It;)if(me.test(At[xs])){var wd=xs;for(++xs;xs<It&&me.test(At[xs]);++xs);Is.push(new Ae(0,wd,xs))}else{var Du=xs,Zu=Is.length,fu=Xe=="rtl"?1:0;for(++xs;xs<It&&At[xs]!="L";++xs);for(var hs=Du;hs<xs;)if(xe.test(At[hs])){Du<hs&&(Is.splice(Zu,0,new Ae(1,Du,hs)),Zu+=fu);var bc=hs;for(++hs;hs<xs&&xe.test(At[hs]);++hs);Is.splice(Zu,0,new Ae(2,bc,hs)),Zu+=fu,Du=hs}else++hs;Du<xs&&Is.splice(Zu,0,new Ae(1,Du,xs))}return Xe=="ltr"&&(Is[0].level==1&&(ba=Le.match(/^\s+/))&&(Is[0].from=ba[0].length,Is.unshift(new Ae(0,0,ba[0].length))),xt(Is).level==1&&(ba=Le.match(/\s+$/))&&(xt(Is).to-=ba[0].length,Is.push(new Ae(0,It-ba[0].length,It)))),Xe=="rtl"?Is.reverse():Is}}();function fa(x,z){var ne=x.order;return ne==null&&(ne=x.order=Ii(x.text,z)),ne}var qt=[],Sr=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]||qt).concat(ne)}};function co(x,z){return x._handlers&&x._handlers[z]||qt}function Fa(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,ie=te&&te[z];if(ie){var se=Nt(ie,ne);se>-1&&(te[z]=ie.slice(0,se).concat(ie.slice(se+1)))}}}function wi(x,z){var ne=co(x,z);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ie=0;ie<ne.length;++ie)ne[ie].apply(null,te)}function pr(x,z,ne){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),wi(x,ne||z.type,x,z),$o(z)||z.codemirrorIgnore}function fs(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)Nt(ne,z[te])==-1&&ne.push(z[te])}function $i(x,z){return co(x,z).length>0}function la(x){x.prototype.on=function(z,ne){Sr(this,z,ne)},x.prototype.off=function(z,ne){Fa(this,z,ne)}}function ea(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function pi(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function $o(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function ks(x){ea(x),pi(x)}function za(x){return x.target||x.srcElement}function gi(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),He&&x.ctrlKey&&z==1&&(z=3),z}var Ti=function(){if(We&&Oe<9)return!1;var x=pt("div");return"draggable"in x||"dragDrop"in x}(),es;function ts(x){if(es==null){var z=pt("span","\u200B");_t(x,pt("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(es=z.offsetWidth<=1&&z.offsetHeight>2&&!(We&&Oe<8))}var ne=es?pt("span","\u200B"):pt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var jo;function Ji(x){if(jo!=null)return jo;var z=_t(x,document.createTextNode("A\u062EA")),ne=Ge(z,0,1).getBoundingClientRect(),te=Ge(z,1,2).getBoundingClientRect();return Ft(x),!ne||ne.left==ne.right?!1:jo=te.right-ne.right<3}var ns=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var z=0,ne=[],te=x.length;z<=te;){var ie=x.indexOf(`
|
|
|
`,z);ie==-1&&(ie=x.length);var se=x.slice(z,x.charAt(ie-1)=="\r"?ie-1:ie),me=se.indexOf("\r");me!=-1?(ne.push(se.slice(0,me)),z+=me+1):(ne.push(se),z=ie+1)}return ne}:function(x){return x.split(/\r\n?|\n/)},Ci=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},Sl=function(){var x=pt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),ps=null;function ta(x){if(ps!=null)return ps;var z=_t(x,pt("span","x")),ne=z.getBoundingClientRect(),te=Ge(z,0,1).getBoundingClientRect();return ps=Math.abs(ne.left-te.left)>1}var pa={},Ho={};function Tr(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),pa[x]=z}function ir(x,z){Ho[x]=z}function Mr(x){if(typeof x=="string"&&Ho.hasOwnProperty(x))x=Ho[x];else if(x&&typeof x.name=="string"&&Ho.hasOwnProperty(x.name)){var z=Ho[x.name];typeof z=="string"&&(z={name:z}),x=ce(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Mr("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Mr("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function vi(x,z){z=Mr(z);var ne=pa[z.name];if(!ne)return vi(x,"text/plain");var te=ne(x,z);if(hi.hasOwnProperty(z.name)){var ie=hi[z.name];for(var se in ie)ie.hasOwnProperty(se)&&(te.hasOwnProperty(se)&&(te["_"+se]=te[se]),te[se]=ie[se])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var me in z.modeProps)te[me]=z.modeProps[me];return te}var hi={};function _i(x,z){var ne=hi.hasOwnProperty(x)?hi[x]:hi[x]={};Nn(z,ne)}function Fe(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ne={};for(var te in z){var ie=z[te];ie instanceof Array&&(ie=ie.concat([])),ne[te]=ie}return ne}function Ue(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 Jt(x,z,ne){return x.startState?x.startState(z,ne):!0}var Ht=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};Ht.prototype.eol=function(){return this.pos>=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ht.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},Ht.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},Ht.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},Ht.prototype.backUp=function(x){this.pos-=x},Ht.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ze(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ze(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.indentation=function(){return ze(this.string,null,this.tabSize)-(this.lineStart?ze(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.match=function(x,z,ne){if(typeof x=="string"){var te=function(me){return ne?me.toLowerCase():me},ie=this.string.substr(this.pos,x.length);if(te(ie)==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)}},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},Ht.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},Ht.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Ot(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 ie=ne.children[te],se=ie.chunkSize();if(z<se){ne=ie;break}z-=se}return ne.lines[z]}function Sn(x,z,ne){var te=[],ie=z.line;return x.iter(z.line,ne.line+1,function(se){var me=se.text;ie==ne.line&&(me=me.slice(0,ne.ch)),ie==z.line&&(me=me.slice(z.ch)),te.push(me),++ie}),te}function In(x,z,ne){var te=[];return x.iter(z,ne,function(ie){te.push(ie.text)}),te}function Bn(x,z){var ne=z-x.height;if(ne)for(var te=x;te;te=te.parent)te.height+=ne}function sn(x){if(x.parent==null)return null;for(var z=x.parent,ne=Nt(z.lines,x),te=z.parent;te;z=te,te=te.parent)for(var ie=0;te.children[ie]!=z;++ie)ne+=te.children[ie].chunkSize();return ne+z.first}function kr(x,z){var ne=x.first;e:do{for(var te=0;te<x.children.length;++te){var ie=x.children[te],se=ie.height;if(z<se){x=ie;continue e}z-=se,ne+=ie.chunkSize()}return ne}while(!x.lines);for(var me=0;me<x.lines.length;++me){var xe=x.lines[me],Ae=xe.height;if(z<Ae)break;z-=Ae}return ne+me}function $r(x,z){return z>=x.first&&z<x.first+x.size}function dr(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function Qt(x,z,ne){if(ne===void 0&&(ne=null),!(this instanceof Qt))return new Qt(x,z,ne);this.line=x,this.ch=z,this.sticky=ne}function Tn(x,z){return x.line-z.line||x.ch-z.ch}function yi(x,z){return x.sticky==z.sticky&&Tn(x,z)==0}function Vi(x){return Qt(x.line,x.ch)}function ua(x,z){return Tn(x,z)<0?z:x}function Xr(x,z){return Tn(x,z)<0?x:z}function Bi(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function tr(x,z){if(z.line<x.first)return Qt(x.first,0);var ne=x.first+x.size-1;return z.line>ne?Qt(ne,Ot(x,ne).text.length):Mi(z,Ot(x,z.line).text.length)}function Mi(x,z){var ne=x.ch;return ne==null||ne>z?Qt(x.line,z):ne<0?Qt(x.line,0):x}function nn(x,z){for(var ne=[],te=0;te<z.length;te++)ne[te]=tr(x,z[te]);return ne}var ei=function(x,z){this.state=x,this.lookAhead=z},Kr=function(x,z,ne,te){this.state=z,this.doc=x,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};Kr.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},Kr.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}},Kr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Kr.fromSaved=function(x,z,ne){return z instanceof ei?new Kr(x,Fe(x.mode,z.state),ne,z.lookAhead):new Kr(x,Fe(x.mode,z),ne)},Kr.prototype.save=function(x){var z=x!==!1?Fe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ei(z,this.maxLookAhead):z};function Pi(x,z,ne,te){var ie=[x.state.modeGen],se={};oo(x,z.text,x.doc.mode,ne,function(Le,Xe){return ie.push(Le,Xe)},se,te);for(var me=ne.state,xe=function(Le){ne.baseTokens=ie;var Xe=x.state.overlays[Le],ut=1,It=0;ne.state=!0,oo(x,z.text,Xe.mode,ne,function(At,cn){for(var Ln=ut;It<At;){var Gn=ie[ut];Gn>At&&ie.splice(ut,1,At,ie[ut+1],Gn),ut+=2,It=Math.min(At,Gn)}if(cn)if(Xe.opaque)ie.splice(Ln,ut-Ln,At,"overlay "+cn),ut=Ln+2;else for(;Ln<ut;Ln+=2){var rr=ie[Ln+1];ie[Ln+1]=(rr?rr+" ":"")+"overlay "+cn}},se),ne.state=me,ne.baseTokens=null,ne.baseTokenPos=1},Ae=0;Ae<x.state.overlays.length;++Ae)xe(Ae);return{styles:ie,classes:se.bgClass||se.textClass?se:null}}function ti(x,z,ne){if(!z.styles||z.styles[0]!=x.state.modeGen){var te=bi(x,sn(z)),ie=z.text.length>x.options.maxHighlightLength&&Fe(x.doc.mode,te.state),se=Pi(x,z,te);ie&&(te.state=ie),z.stateAfter=te.save(!ie),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 bi(x,z,ne){var te=x.doc,ie=x.display;if(!te.mode.startState)return new Kr(te,!0,z);var se=fo(x,z,ne),me=se>te.first&&Ot(te,se-1).stateAfter,xe=me?Kr.fromSaved(te,me,se):new Kr(te,Jt(te.mode),se);return te.iter(se,z,function(Ae){li(x,Ae.text,xe);var Le=xe.line;Ae.stateAfter=Le==z-1||Le%5==0||Le>=ie.viewFrom&&Le<ie.viewTo?xe.save():null,xe.nextLine()}),ne&&(te.modeFrontier=xe.line),xe}function li(x,z,ne,te){var ie=x.doc.mode,se=new Ht(z,x.options.tabSize,ne);for(se.start=se.pos=te||0,z==""&&ni(ie,ne.state);!se.eol();)Ur(ie,se,ne.state),se.start=se.pos}function ni(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ne=Ue(x,z);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function Ur(x,z,ne,te){for(var ie=0;ie<10;ie++){te&&(te[0]=Ue(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 ui=function(x,z,ne){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ne};function mr(x,z,ne,te){var ie=x.doc,se=ie.mode,me;z=tr(ie,z);var xe=Ot(ie,z.line),Ae=bi(x,z.line,ne),Le=new Ht(xe.text,x.options.tabSize,Ae),Xe;for(te&&(Xe=[]);(te||Le.pos<z.ch)&&!Le.eol();)Le.start=Le.pos,me=Ur(se,Le,Ae.state),te&&Xe.push(new ui(Le,me,Fe(ie.mode,Ae.state)));return te?Xe:new ui(Le,me,Ae.state)}function ho(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 oo(x,z,ne,te,ie,se,me){var xe=ne.flattenSpans;xe==null&&(xe=x.options.flattenSpans);var Ae=0,Le=null,Xe=new Ht(z,x.options.tabSize,te),ut,It=x.options.addModeClass&&[null];for(z==""&&ho(ni(ne,te.state),se);!Xe.eol();){if(Xe.pos>x.options.maxHighlightLength?(xe=!1,me&&li(x,z,te,Xe.pos),Xe.pos=z.length,ut=null):ut=ho(Ur(ne,Xe,te.state,It),se),It){var At=It[0].name;At&&(ut="m-"+(ut?At+" "+ut:At))}if(!xe||Le!=ut){for(;Ae<Xe.start;)Ae=Math.min(Xe.start,Ae+5e3),ie(Ae,Le);Le=ut}Xe.start=Xe.pos}for(;Ae<Xe.pos;){var cn=Math.min(Xe.pos,Ae+5e3);ie(cn,Le),Ae=cn}}function fo(x,z,ne){for(var te,ie,se=x.doc,me=ne?-1:z-(x.doc.mode.innerMode?1e3:100),xe=z;xe>me;--xe){if(xe<=se.first)return se.first;var Ae=Ot(se,xe-1),Le=Ae.stateAfter;if(Le&&(!ne||xe+(Le instanceof ei?Le.lookAhead:0)<=se.modeFrontier))return xe;var Xe=ze(Ae.text,null,x.options.tabSize);(ie==null||te>Xe)&&(ie=xe-1,te=Xe)}return ie}function wa(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 ie=Ot(x,te).stateAfter;if(ie&&(!(ie instanceof ei)||te+ie.lookAhead<z)){ne=te+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ne)}}var so=!1,Ea=!1;function ki(){so=!0}function Oi(){Ea=!0}function ma(x,z,ne){this.marker=x,this.from=z,this.to=ne}function ga(x,z){if(x)for(var ne=0;ne<x.length;++ne){var te=x[ne];if(te.marker==z)return te}}function va(x,z){for(var ne,te=0;te<x.length;++te)x[te]!=z&&(ne||(ne=[])).push(x[te]);return ne}function Ka(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function Di(x,z,ne){var te;if(x)for(var ie=0;ie<x.length;++ie){var se=x[ie],me=se.marker,xe=se.from==null||(me.inclusiveLeft?se.from<=z:se.from<z);if(xe||se.from==z&&me.type=="bookmark"&&(!ne||!se.marker.insertLeft)){var Ae=se.to==null||(me.inclusiveRight?se.to>=z:se.to>z);(te||(te=[])).push(new ma(me,se.from,Ae?null:se.to))}}return te}function Wo(x,z,ne){var te;if(x)for(var ie=0;ie<x.length;++ie){var se=x[ie],me=se.marker,xe=se.to==null||(me.inclusiveRight?se.to>=z:se.to>z);if(xe||se.from==z&&me.type=="bookmark"&&(!ne||se.marker.insertLeft)){var Ae=se.from==null||(me.inclusiveLeft?se.from<=z:se.from<z);(te||(te=[])).push(new ma(me,Ae?null:se.from-z,se.to==null?null:se.to-z))}}return te}function Za(x,z){if(z.full)return null;var ne=$r(x,z.from.line)&&Ot(x,z.from.line).markedSpans,te=$r(x,z.to.line)&&Ot(x,z.to.line).markedSpans;if(!ne&&!te)return null;var ie=z.from.ch,se=z.to.ch,me=Tn(z.from,z.to)==0,xe=Di(ne,ie,me),Ae=Wo(te,se,me),Le=z.text.length==1,Xe=xt(z.text).length+(Le?ie:0);if(xe)for(var ut=0;ut<xe.length;++ut){var It=xe[ut];if(It.to==null){var At=ga(Ae,It.marker);At?Le&&(It.to=At.to==null?null:At.to+Xe):It.to=ie}}if(Ae)for(var cn=0;cn<Ae.length;++cn){var Ln=Ae[cn];if(Ln.to!=null&&(Ln.to+=Xe),Ln.from==null){var Gn=ga(xe,Ln.marker);Gn||(Ln.from=Xe,Le&&(xe||(xe=[])).push(Ln))}else Ln.from+=Xe,Le&&(xe||(xe=[])).push(Ln)}xe&&(xe=Va(xe)),Ae&&Ae!=xe&&(Ae=Va(Ae));var rr=[xe];if(!Le){var yr=z.text.length-2,er;if(yr>0&&xe)for(var wr=0;wr<xe.length;++wr)xe[wr].to==null&&(er||(er=[])).push(new ma(xe[wr].marker,null,null));for(var Wr=0;Wr<yr;++Wr)rr.push(er);rr.push(Ae)}return rr}function Va(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 Io(x,z,ne){var te=null;if(x.iter(z.line,ne.line+1,function(At){if(At.markedSpans)for(var cn=0;cn<At.markedSpans.length;++cn){var Ln=At.markedSpans[cn].marker;Ln.readOnly&&(!te||Nt(te,Ln)==-1)&&(te||(te=[])).push(Ln)}}),!te)return null;for(var ie=[{from:z,to:ne}],se=0;se<te.length;++se)for(var me=te[se],xe=me.find(0),Ae=0;Ae<ie.length;++Ae){var Le=ie[Ae];if(!(Tn(Le.to,xe.from)<0||Tn(Le.from,xe.to)>0)){var Xe=[Ae,1],ut=Tn(Le.from,xe.from),It=Tn(Le.to,xe.to);(ut<0||!me.inclusiveLeft&&!ut)&&Xe.push({from:Le.from,to:xe.from}),(It>0||!me.inclusiveRight&&!It)&&Xe.push({from:xe.to,to:Le.to}),ie.splice.apply(ie,Xe),Ae+=Xe.length-3}}return ie}function To(x){var z=x.markedSpans;if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.detachLine(x);x.markedSpans=null}}function Na(x,z){if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.attachLine(x);x.markedSpans=z}}function Fo(x){return x.inclusiveLeft?-1:0}function Gi(x){return x.inclusiveRight?1:0}function Aa(x,z){var ne=x.lines.length-z.lines.length;if(ne!=0)return ne;var te=x.find(),ie=z.find(),se=Tn(te.from,ie.from)||Fo(x)-Fo(z);if(se)return-se;var me=Tn(te.to,ie.to)||Gi(x)-Gi(z);return me||z.id-x.id}function Ki(x,z){var ne=Ea&&x.markedSpans,te;if(ne)for(var ie=void 0,se=0;se<ne.length;++se)ie=ne[se],ie.marker.collapsed&&(z?ie.from:ie.to)==null&&(!te||Aa(te,ie.marker)<0)&&(te=ie.marker);return te}function rs(x){return Ki(x,!0)}function Eo(x){return Ki(x,!1)}function Os(x,z){var ne=Ea&&x.markedSpans,te;if(ne)for(var ie=0;ie<ne.length;++ie){var se=ne[ie];se.marker.collapsed&&(se.from==null||se.from<z)&&(se.to==null||se.to>z)&&(!te||Aa(te,se.marker)<0)&&(te=se.marker)}return te}function Cs(x,z,ne,te,ie){var se=Ot(x,z),me=Ea&&se.markedSpans;if(me)for(var xe=0;xe<me.length;++xe){var Ae=me[xe];if(Ae.marker.collapsed){var Le=Ae.marker.find(0),Xe=Tn(Le.from,ne)||Fo(Ae.marker)-Fo(ie),ut=Tn(Le.to,te)||Gi(Ae.marker)-Gi(ie);if(!(Xe>=0&&ut<=0||Xe<=0&&ut>=0)&&(Xe<=0&&(Ae.marker.inclusiveRight&&ie.inclusiveLeft?Tn(Le.to,ne)>=0:Tn(Le.to,ne)>0)||Xe>=0&&(Ae.marker.inclusiveRight&&ie.inclusiveLeft?Tn(Le.from,te)<=0:Tn(Le.from,te)<0)))return!0}}}function $a(x){for(var z;z=rs(x);)x=z.find(-1,!0).line;return x}function Zs(x){for(var z;z=Eo(x);)x=z.find(1,!0).line;return x}function Vs(x){for(var z,ne;z=Eo(x);)x=z.find(1,!0).line,(ne||(ne=[])).push(x);return ne}function Ds(x,z){var ne=Ot(x,z),te=$a(ne);return ne==te?z:sn(te)}function Ma(x,z){if(z>x.lastLine())return z;var ne=Ot(x,z),te;if(!Ko(x,ne))return z;for(;te=Eo(ne);)ne=te.find(1,!0).line;return sn(ne)+1}function Ko(x,z){var ne=Ea&&z.markedSpans;if(ne){for(var te=void 0,ie=0;ie<ne.length;++ie)if(te=ne[ie],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&ka(x,z,te))return!0}}}function ka(x,z,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return ka(x,te.line,ga(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==z.text.length)return!0;for(var ie=void 0,se=0;se<z.markedSpans.length;++se)if(ie=z.markedSpans[se],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==ne.to&&(ie.to==null||ie.to!=ne.from)&&(ie.marker.inclusiveLeft||ne.marker.inclusiveRight)&&ka(x,z,ie))return!0}function Zn(x){x=$a(x);for(var z=0,ne=x.parent,te=0;te<ne.lines.length;++te){var ie=ne.lines[te];if(ie==x)break;z+=ie.height}for(var se=ne.parent;se;ne=se,se=ne.parent)for(var me=0;me<se.children.length;++me){var xe=se.children[me];if(xe==ne)break;z+=xe.height}return z}function Hn(x){if(x.height==0)return 0;for(var z=x.text.length,ne,te=x;ne=rs(te);){var ie=ne.find(0,!0);te=ie.from.line,z+=ie.from.ch-ie.to.ch}for(te=x;ne=Eo(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 $n(x){var z=x.display,ne=x.doc;z.maxLine=Ot(ne,ne.first),z.maxLineLength=Hn(z.maxLine),z.maxLineChanged=!0,ne.iter(function(te){var ie=Hn(te);ie>z.maxLineLength&&(z.maxLineLength=ie,z.maxLine=te)})}var sr=function(x,z,ne){this.text=x,Na(this,z),this.height=ne?ne(this):1};sr.prototype.lineNo=function(){return sn(this)},la(sr);function ri(x,z,ne,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),To(x),Na(x,ne);var ie=te?te(x):1;ie!=x.height&&Bn(x,ie)}function na(x){x.parent=null,To(x)}var ca={},Ui={};function ji(x,z){if(!x||/^\s*$/.test(x))return null;var ne=z.addModeClass?Ui:ca;return ne[x]||(ne[x]=x.replace(/\S+/g,"cm-$&"))}function ra(x,z){var ne=ht("span",null,null,Ye?"padding-right: .1px":null),te={pre:ht("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var ie=0;ie<=(z.rest?z.rest.length:0);ie++){var se=ie?z.rest[ie-1]:z.line,me=void 0;te.pos=0,te.addToken=Pa,Ji(x.display.measure)&&(me=fa(se,x.doc.direction))&&(te.addToken=yo(te.addToken,me)),te.map=[];var xe=z!=x.display.externalMeasured&&sn(se);Ys(se,te,ti(x,se,xe)),se.styleClasses&&(se.styleClasses.bgClass&&(te.bgClass=En(se.styleClasses.bgClass,te.bgClass||"")),se.styleClasses.textClass&&(te.textClass=En(se.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(ts(x.display.measure))),ie==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(Ye){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 wi(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=En(te.pre.className,te.textClass||"")),te}function Zo(x){var z=pt("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function Pa(x,z,ne,te,ie,se,me){if(z){var xe=x.splitSpaces?is(z,x.trailingSpace):z,Ae=x.cm.state.specialChars,Le=!1,Xe;if(!Ae.test(z))x.col+=z.length,Xe=document.createTextNode(xe),x.map.push(x.pos,x.pos+z.length,Xe),We&&Oe<9&&(Le=!0),x.pos+=z.length;else{Xe=document.createDocumentFragment();for(var ut=0;;){Ae.lastIndex=ut;var It=Ae.exec(z),At=It?It.index-ut:z.length-ut;if(At){var cn=document.createTextNode(xe.slice(ut,ut+At));We&&Oe<9?Xe.appendChild(pt("span",[cn])):Xe.appendChild(cn),x.map.push(x.pos,x.pos+At,cn),x.col+=At,x.pos+=At}if(!It)break;ut+=At+1;var Ln=void 0;if(It[0]==" "){var Gn=x.cm.options.tabSize,rr=Gn-x.col%Gn;Ln=Xe.appendChild(pt("span",hn(rr),"cm-tab")),Ln.setAttribute("role","presentation"),Ln.setAttribute("cm-text"," "),x.col+=rr}else It[0]=="\r"||It[0]==`
|
|
|
`?(Ln=Xe.appendChild(pt("span",It[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ln.setAttribute("cm-text",It[0]),x.col+=1):(Ln=x.cm.options.specialCharPlaceholder(It[0]),Ln.setAttribute("cm-text",It[0]),We&&Oe<9?Xe.appendChild(pt("span",[Ln])):Xe.appendChild(Ln),x.col+=1);x.map.push(x.pos,x.pos+1,Ln),x.pos++}}if(x.trailingSpace=xe.charCodeAt(z.length-1)==32,ne||te||ie||Le||se||me){var yr=ne||"";te&&(yr+=te),ie&&(yr+=ie);var er=pt("span",[Xe],yr,se);if(me)for(var wr in me)me.hasOwnProperty(wr)&&wr!="style"&&wr!="class"&&er.setAttribute(wr,me[wr]);return x.content.appendChild(er)}x.content.appendChild(Xe)}}function is(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ne=z,te="",ie=0;ie<x.length;ie++){var se=x.charAt(ie);se==" "&&ne&&(ie==x.length-1||x.charCodeAt(ie+1)==32)&&(se="\xA0"),te+=se,ne=se==" "}return te}function yo(x,z){return function(ne,te,ie,se,me,xe,Ae){ie=ie?ie+" cm-force-border":"cm-force-border";for(var Le=ne.pos,Xe=Le+te.length;;){for(var ut=void 0,It=0;It<z.length&&(ut=z[It],!(ut.to>Le&&ut.from<=Le));It++);if(ut.to>=Xe)return x(ne,te,ie,se,me,xe,Ae);x(ne,te.slice(0,ut.to-Le),ie,se,null,xe,Ae),se=null,te=te.slice(ut.to-Le),Le=ut.to}}}function Vo(x,z,ne,te){var ie=!te&&ne.widgetNode;ie&&x.map.push(x.pos,x.pos+z,ie),!te&&x.cm.display.input.needsContentAttribute&&(ie||(ie=x.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",ne.id)),ie&&(x.cm.display.input.setUneditable(ie),x.content.appendChild(ie)),x.pos+=z,x.trailingSpace=!1}function Ys(x,z,ne){var te=x.markedSpans,ie=x.text,se=0;if(!te){for(var me=1;me<ne.length;me+=2)z.addToken(z,ie.slice(se,se=ne[me]),ji(ne[me+1],z.cm.options));return}for(var xe=ie.length,Ae=0,Le=1,Xe="",ut,It,At=0,cn,Ln,Gn,rr,yr;;){if(At==Ae){cn=Ln=Gn=It="",yr=null,rr=null,At=1/0;for(var er=[],wr=void 0,Wr=0;Wr<te.length;++Wr){var Gr=te[Wr],Wi=Gr.marker;if(Wi.type=="bookmark"&&Gr.from==Ae&&Wi.widgetNode)er.push(Wi);else if(Gr.from<=Ae&&(Gr.to==null||Gr.to>Ae||Wi.collapsed&&Gr.to==Ae&&Gr.from==Ae)){if(Gr.to!=null&&Gr.to!=Ae&&At>Gr.to&&(At=Gr.to,Ln=""),Wi.className&&(cn+=" "+Wi.className),Wi.css&&(It=(It?It+";":"")+Wi.css),Wi.startStyle&&Gr.from==Ae&&(Gn+=" "+Wi.startStyle),Wi.endStyle&&Gr.to==At&&(wr||(wr=[])).push(Wi.endStyle,Gr.to),Wi.title&&((yr||(yr={})).title=Wi.title),Wi.attributes)for(var Ja in Wi.attributes)(yr||(yr={}))[Ja]=Wi.attributes[Ja];Wi.collapsed&&(!rr||Aa(rr.marker,Wi)<0)&&(rr=Gr)}else Gr.from>Ae&&At>Gr.from&&(At=Gr.from)}if(wr)for(var Ms=0;Ms<wr.length;Ms+=2)wr[Ms+1]==At&&(Ln+=" "+wr[Ms]);if(!rr||rr.from==Ae)for(var Bo=0;Bo<er.length;++Bo)Vo(z,0,er[Bo]);if(rr&&(rr.from||0)==Ae){if(Vo(z,(rr.to==null?xe+1:rr.to)-Ae,rr.marker,rr.from==null),rr.to==null)return;rr.to==Ae&&(rr=!1)}}if(Ae>=xe)break;for(var nl=Math.min(xe,At);;){if(Xe){var rl=Ae+Xe.length;if(!rr){var ds=rl>nl?Xe.slice(0,nl-Ae):Xe;z.addToken(z,ds,ut?ut+cn:cn,Gn,Ae+ds.length==At?Ln:"",It,yr)}if(rl>=nl){Xe=Xe.slice(nl-Ae),Ae=nl;break}Ae=rl,Gn=""}Xe=ie.slice(se,se=ne[Le++]),ut=ji(ne[Le++],z.cm.options)}}}function Bt(x,z,ne){this.line=z,this.rest=Vs(z),this.size=this.rest?sn(xt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Ko(x,z)}function wt(x,z,ne){for(var te=[],ie,se=z;se<ne;se=ie){var me=new Bt(x.doc,Ot(x.doc,se),se);ie=se+me.size,te.push(me)}return te}var Tt=null;function rn(x){Tt?Tt.ops.push(x):x.ownsGroup=Tt={ops:[x],delayedCallbacks:[]}}function hr(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 ie=x.ops[te];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(ne<z.length)}function Pr(x,z){var ne=x.ownsGroup;if(ne)try{hr(ne)}finally{Tt=null,z(ne)}}var en=null;function Qn(x,z){var ne=co(x,z);if(ne.length){var te=Array.prototype.slice.call(arguments,2),ie;Tt?ie=Tt.delayedCallbacks:en?ie=en:(ie=en=[],setTimeout(gr,0));for(var se=function(xe){ie.push(function(){return ne[xe].apply(null,te)})},me=0;me<ne.length;++me)se(me)}}function gr(){var x=en;en=null;for(var z=0;z<x.length;++z)x[z]()}function Dr(x,z,ne,te){for(var ie=0;ie<z.changes.length;ie++){var se=z.changes[ie];se=="text"?mt(x,z):se=="gutter"?Yt(x,z,ne,te):se=="class"?ln(x,z):se=="widget"&&dn(x,z,te)}z.changes=null}function vr(x){return x.node==x.text&&(x.node=pt("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),We&&Oe<8&&(x.node.style.zIndex=2)),x.node}function Pn(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=vr(z);z.background=te.insertBefore(pt("div",null,ne),te.firstChild),x.display.input.setUneditable(z.background)}}function jr(x,z){var ne=x.display.externalMeasured;return ne&&ne.line==z.line?(x.display.externalMeasured=null,z.measure=ne.measure,ne.built):ra(x,z)}function mt(x,z){var ne=z.text.className,te=jr(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,ln(x,z)):ne&&(z.text.className=ne)}function ln(x,z){Pn(x,z),z.line.wrapClass?vr(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 Yt(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 ie=vr(z);z.gutterBackground=pt("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),ie.insertBefore(z.gutterBackground,z.text)}var se=z.line.gutterMarkers;if(x.options.lineNumbers||se){var me=vr(z),xe=z.gutter=pt("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(x.display.input.setUneditable(xe),me.insertBefore(xe,z.text),z.line.gutterClass&&(xe.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!se||!se["CodeMirror-linenumbers"])&&(z.lineNumber=xe.appendChild(pt("div",dr(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 Le=x.display.gutterSpecs[Ae].className,Xe=se.hasOwnProperty(Le)&&se[Le];Xe&&xe.appendChild(pt("div",[Xe],"CodeMirror-gutter-elt","left: "+te.gutterLeft[Le]+"px; width: "+te.gutterWidth[Le]+"px"))}}}function dn(x,z,ne){z.alignable&&(z.alignable=null);for(var te=De("CodeMirror-linewidget"),ie=z.node.firstChild,se=void 0;ie;ie=se)se=ie.nextSibling,te.test(ie.className)&&z.node.removeChild(ie);Vn(x,z,ne)}function Xn(x,z,ne,te){var ie=jr(x,z);return z.text=z.node=ie.pre,ie.bgClass&&(z.bgClass=ie.bgClass),ie.textClass&&(z.textClass=ie.textClass),ln(x,z),Yt(x,z,ne,te),Vn(x,z,te),z.node}function Vn(x,z,ne){if(Rr(x,z.line,z,ne,!0),z.rest)for(var te=0;te<z.rest.length;te++)Rr(x,z.rest[te],z,ne,!1)}function Rr(x,z,ne,te,ie){if(z.widgets)for(var se=vr(ne),me=0,xe=z.widgets;me<xe.length;++me){var Ae=xe[me],Le=pt("div",[Ae.node],"CodeMirror-linewidget"+(Ae.className?" "+Ae.className:""));Ae.handleMouseEvents||Le.setAttribute("cm-ignore-events","true"),Ri(Ae,Le,ne,te),x.display.input.setUneditable(Le),ie&&Ae.above?se.insertBefore(Le,ne.gutter||ne.text):se.appendChild(Le),Qn(Ae,"redraw")}}function Ri(x,z,ne,te){if(x.noHScroll){(ne.alignable||(ne.alignable=[])).push(z);var ie=te.wrapperWidth;z.style.left=te.fixedPos+"px",x.coverGutter||(ie-=te.gutterTotalWidth,z.style.paddingLeft=te.gutterTotalWidth+"px"),z.style.width=ie+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-te.gutterTotalWidth+"px"))}function Ca(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!Et(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;"),_t(z.display.measure,pt("div",[x.node],null,ne))}return x.height=x.node.parentNode.offsetHeight}function ia(x,z){for(var ne=za(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 eo(x){return x.lineSpace.offsetTop}function Js(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function bo(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=_t(x.measure,pt("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 to(x){return bn-x.display.nativeBarWidth}function da(x){return x.display.scroller.clientWidth-to(x)-x.display.barWidth}function xo(x){return x.display.scroller.clientHeight-to(x)-x.display.barHeight}function as(x,z,ne){var te=x.options.lineWrapping,ie=te&&da(x);if(!z.measure.heights||te&&z.measure.width!=ie){var se=z.measure.heights=[];if(te){z.measure.width=ie;for(var me=z.text.firstChild.getClientRects(),xe=0;xe<me.length-1;xe++){var Ae=me[xe],Le=me[xe+1];Math.abs(Ae.bottom-Le.bottom)>2&&se.push((Ae.bottom+Le.top)/2-ne.top)}}se.push(ne.bottom-ne.top)}}function Ss(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 ie=0;ie<x.rest.length;ie++)if(sn(x.rest[ie])>ne)return{map:x.measure.maps[ie],cache:x.measure.caches[ie],before:!0}}function Fr(x,z){z=$a(z);var ne=sn(z),te=x.display.externalMeasured=new Bt(x.doc,z,ne);te.lineN=ne;var ie=te.built=ra(x,te);return te.text=ie.pre,_t(x.display.lineMeasure,ie.pre),te}function Go(x,z,ne,te){return ha(x,Ao(x,z),ne,te)}function no(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[Yn(x,z)];var ne=x.display.externalMeasured;if(ne&&z>=ne.lineN&&z<ne.lineN+ne.size)return ne}function Ao(x,z){var ne=sn(z),te=no(x,ne);te&&!te.text?te=null:te&&te.changes&&(Dr(x,te,ne,cr(x)),x.curOp.forceUpdate=!0),te||(te=Fr(x,z));var ie=Ss(te,z,ne);return{line:z,view:te,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function ha(x,z,ne,te,ie){z.before&&(ne=-1);var se=ne+(te||""),me;return z.cache.hasOwnProperty(se)?me=z.cache[se]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(as(x,z.view,z.rect),z.hasHeights=!0),me=rc(x,z,ne,te),me.bogus||(z.cache[se]=me)),{left:me.left,right:me.right,top:ie?me.rtop:me.top,bottom:ie?me.rbottom:me.bottom}}var Gs={left:0,right:0,top:0,bottom:0};function al(x,z,ne){for(var te,ie,se,me,xe,Ae,Le=0;Le<x.length;Le+=3)if(xe=x[Le],Ae=x[Le+1],z<xe?(ie=0,se=1,me="left"):z<Ae?(ie=z-xe,se=ie+1):(Le==x.length-3||z==Ae&&x[Le+3]>z)&&(se=Ae-xe,ie=se-1,z>=Ae&&(me="right")),ie!=null){if(te=x[Le+2],xe==Ae&&ne==(te.insertLeft?"left":"right")&&(me=ne),ne=="left"&&ie==0)for(;Le&&x[Le-2]==x[Le-3]&&x[Le-1].insertLeft;)te=x[(Le-=3)+2],me="left";if(ne=="right"&&ie==Ae-xe)for(;Le<x.length-3&&x[Le+3]==x[Le+4]&&!x[Le+5].insertLeft;)te=x[(Le+=3)+2],me="right";break}return{node:te,start:ie,end:se,collapse:me,coverStart:xe,coverEnd:Ae}}function os(x,z){var ne=Gs;if(z=="left")for(var te=0;te<x.length&&(ne=x[te]).left==ne.right;te++);else for(var ie=x.length-1;ie>=0&&(ne=x[ie]).left==ne.right;ie--);return ne}function rc(x,z,ne,te){var ie=al(z.map,ne,te),se=ie.node,me=ie.start,xe=ie.end,Ae=ie.collapse,Le;if(se.nodeType==3){for(var Xe=0;Xe<4;Xe++){for(;me&&An(z.line.text.charAt(ie.coverStart+me));)--me;for(;ie.coverStart+xe<ie.coverEnd&&An(z.line.text.charAt(ie.coverStart+xe));)++xe;if(We&&Oe<9&&me==0&&xe==ie.coverEnd-ie.coverStart?Le=se.parentNode.getBoundingClientRect():Le=os(Ge(se,me,xe).getClientRects(),te),Le.left||Le.right||me==0)break;xe=me,me=me-1,Ae="right"}We&&Oe<11&&(Le=ic(x.display.measure,Le))}else{me>0&&(Ae=te="right");var ut;x.options.lineWrapping&&(ut=se.getClientRects()).length>1?Le=ut[te=="right"?ut.length-1:0]:Le=se.getBoundingClientRect()}if(We&&Oe<9&&!me&&(!Le||!Le.left&&!Le.right)){var It=se.parentNode.getClientRects()[0];It?Le={left:It.left,right:It.left+lr(x.display),top:It.top,bottom:It.bottom}:Le=Gs}for(var At=Le.top-z.rect.top,cn=Le.bottom-z.rect.top,Ln=(At+cn)/2,Gn=z.view.measure.heights,rr=0;rr<Gn.length-1&&!(Ln<Gn[rr]);rr++);var yr=rr?Gn[rr-1]:0,er=Gn[rr],wr={left:(Ae=="right"?Le.right:Le.left)-z.rect.left,right:(Ae=="left"?Le.left:Le.right)-z.rect.left,top:yr,bottom:er};return!Le.left&&!Le.right&&(wr.bogus=!0),x.options.singleCursorHeightPerLine||(wr.rtop=At,wr.rbottom=cn),wr}function ic(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ta(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 Rs(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 yu(x){x.display.externalMeasure=null,Ft(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)Rs(x.display.view[z])}function Jl(x){yu(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function ac(){return Me&&Re?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Iu(){return Me&&Re?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Tu(x){var z=0;if(x.widgets)for(var ne=0;ne<x.widgets.length;++ne)x.widgets[ne].above&&(z+=Ca(x.widgets[ne]));return z}function Xl(x,z,ne,te,ie){if(!ie){var se=Tu(z);ne.top+=se,ne.bottom+=se}if(te=="line")return ne;te||(te="local");var me=Zn(z);if(te=="local"?me+=eo(x.display):me-=x.display.viewOffset,te=="page"||te=="window"){var xe=x.display.lineSpace.getBoundingClientRect();me+=xe.top+(te=="window"?0:Iu());var Ae=xe.left+(te=="window"?0:ac());ne.left+=Ae,ne.right+=Ae}return ne.top+=me,ne.bottom+=me,ne}function Nl(x,z,ne){if(ne=="div")return z;var te=z.left,ie=z.top;if(ne=="page")te-=ac(),ie-=Iu();else if(ne=="local"||!ne){var se=x.display.sizer.getBoundingClientRect();te+=se.left,ie+=se.top}var me=x.display.lineSpace.getBoundingClientRect();return{left:te-me.left,top:ie-me.top}}function Bs(x,z,ne,te,ie){return te||(te=Ot(x.doc,z.line)),Xl(x,te,Go(x,te,z.ch,ie),ne)}function No(x,z,ne,te,ie,se){te=te||Ot(x.doc,z.line),ie||(ie=Ao(x,te));function me(cn,Ln){var Gn=ha(x,ie,cn,Ln?"right":"left",se);return Ln?Gn.left=Gn.right:Gn.right=Gn.left,Xl(x,te,Gn,ne)}var xe=fa(te,x.doc.direction),Ae=z.ch,Le=z.sticky;if(Ae>=te.text.length?(Ae=te.text.length,Le="before"):Ae<=0&&(Ae=0,Le="after"),!xe)return me(Le=="before"?Ae-1:Ae,Le=="before");function Xe(cn,Ln,Gn){var rr=xe[Ln],yr=rr.level==1;return me(Gn?cn-1:cn,yr!=Gn)}var ut=ii(xe,Ae,Le),It=qr,At=Xe(Ae,ut,Le=="before");return It!=null&&(At.other=Xe(Ae,It,Le!="before")),At}function ol(x,z){var ne=0;z=tr(x.doc,z),x.options.lineWrapping||(ne=lr(x.display)*z.ch);var te=Ot(x.doc,z.line),ie=Zn(te)+eo(x.display);return{left:ne,right:ne,top:ie,bottom:ie+te.height}}function Pl(x,z,ne,te,ie){var se=Qt(x,z,ne);return se.xRel=ie,te&&(se.outside=te),se}function bu(x,z,ne){var te=x.doc;if(ne+=x.display.viewOffset,ne<0)return Pl(te.first,0,null,-1,-1);var ie=kr(te,ne),se=te.first+te.size-1;if(ie>se)return Pl(te.first+te.size-1,Ot(te,se).text.length,null,1,1);z<0&&(z=0);for(var me=Ot(te,ie);;){var xe=Ec(x,me,ie,z,ne),Ae=Os(me,xe.ch+(xe.xRel>0||xe.outside>0?1:0));if(!Ae)return xe;var Le=Ae.find(1);if(Le.line==ie)return Le;me=Ot(te,ie=Le.line)}}function ql(x,z,ne,te){te-=Tu(z);var ie=z.text.length,se=xr(function(me){return ha(x,ne,me-1).bottom<=te},ie,0);return ie=xr(function(me){return ha(x,ne,me).top>te},se,ie),{begin:se,end:ie}}function Fu(x,z,ne,te){ne||(ne=Ao(x,z));var ie=Xl(x,z,ha(x,ne,te),"line").top;return ql(x,z,ne,ie)}function xu(x,z,ne,te){return x.bottom<=ne?!1:x.top>ne?!0:(te?x.left:x.right)>z}function Ec(x,z,ne,te,ie){ie-=Zn(z);var se=Ao(x,z),me=Tu(z),xe=0,Ae=z.text.length,Le=!0,Xe=fa(z,x.doc.direction);if(Xe){var ut=(x.options.lineWrapping?tt:$l)(x,z,ne,se,Xe,te,ie);Le=ut.level!=1,xe=Le?ut.from:ut.to-1,Ae=Le?ut.to:ut.from-1}var It=null,At=null,cn=xr(function(Wr){var Gr=ha(x,se,Wr);return Gr.top+=me,Gr.bottom+=me,xu(Gr,te,ie,!1)?(Gr.top<=ie&&Gr.left<=te&&(It=Wr,At=Gr),!0):!1},xe,Ae),Ln,Gn,rr=!1;if(At){var yr=te-At.left<At.right-te,er=yr==Le;cn=It+(er?0:1),Gn=er?"after":"before",Ln=yr?At.left:At.right}else{!Le&&(cn==Ae||cn==xe)&&cn++,Gn=cn==0?"after":cn==z.text.length?"before":ha(x,se,cn-(Le?1:0)).bottom+me<=ie==Le?"after":"before";var wr=No(x,Qt(ne,cn,Gn),"line",z,se);Ln=wr.left,rr=ie<wr.top?-1:ie>=wr.bottom?1:0}return cn=Jn(z.text,cn,1),Pl(ne,cn,Gn,rr,te-Ln)}function $l(x,z,ne,te,ie,se,me){var xe=xr(function(ut){var It=ie[ut],At=It.level!=1;return xu(No(x,Qt(ne,At?It.to:It.from,At?"before":"after"),"line",z,te),se,me,!0)},0,ie.length-1),Ae=ie[xe];if(xe>0){var Le=Ae.level!=1,Xe=No(x,Qt(ne,Le?Ae.from:Ae.to,Le?"after":"before"),"line",z,te);xu(Xe,se,me,!0)&&Xe.top>me&&(Ae=ie[xe-1])}return Ae}function tt(x,z,ne,te,ie,se,me){var xe=ql(x,z,te,me),Ae=xe.begin,Le=xe.end;/\s/.test(z.text.charAt(Le-1))&&Le--;for(var Xe=null,ut=null,It=0;It<ie.length;It++){var At=ie[It];if(!(At.from>=Le||At.to<=Ae)){var cn=At.level!=1,Ln=ha(x,te,cn?Math.min(Le,At.to)-1:Math.max(Ae,At.from)).right,Gn=Ln<se?se-Ln+1e9:Ln-se;(!Xe||ut>Gn)&&(Xe=At,ut=Gn)}}return Xe||(Xe=ie[ie.length-1]),Xe.from<Ae&&(Xe={from:Ae,to:Xe.to,level:Xe.level}),Xe.to>Le&&(Xe={from:Xe.from,to:Le,level:Xe.level}),Xe}var Ze;function Ve(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Ze==null){Ze=pt("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)Ze.appendChild(document.createTextNode("x")),Ze.appendChild(pt("br"));Ze.appendChild(document.createTextNode("x"))}_t(x.measure,Ze);var ne=Ze.offsetHeight/50;return ne>3&&(x.cachedTextHeight=ne),Ft(x.measure),ne||1}function lr(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=pt("span","xxxxxxxxxx"),ne=pt("pre",[z],"CodeMirror-line-like");_t(x.measure,ne);var te=z.getBoundingClientRect(),ie=(te.right-te.left)/10;return ie>2&&(x.cachedCharWidth=ie),ie||10}function cr(x){for(var z=x.display,ne={},te={},ie=z.gutters.clientLeft,se=z.gutters.firstChild,me=0;se;se=se.nextSibling,++me){var xe=x.display.gutterSpecs[me].className;ne[xe]=se.offsetLeft+se.clientLeft+ie,te[xe]=se.clientWidth}return{fixedPos:or(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function or(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Si(x){var z=Ve(x.display),ne=x.options.lineWrapping,te=ne&&Math.max(5,x.display.scroller.clientWidth/lr(x.display)-3);return function(ie){if(Ko(x.doc,ie))return 0;var se=0;if(ie.widgets)for(var me=0;me<ie.widgets.length;me++)ie.widgets[me].height&&(se+=ie.widgets[me].height);return ne?se+(Math.ceil(ie.text.length/te)||1)*z:se+z}}function Br(x){var z=x.doc,ne=Si(x);z.iter(function(te){var ie=ne(te);ie!=te.height&&Bn(te,ie)})}function vn(x,z,ne,te){var ie=x.display;if(!ne&&za(z).getAttribute("cm-not-content")=="true")return null;var se,me,xe=ie.lineSpace.getBoundingClientRect();try{se=z.clientX-xe.left,me=z.clientY-xe.top}catch(ut){return null}var Ae=bu(x,se,me),Le;if(te&&Ae.xRel>0&&(Le=Ot(x.doc,Ae.line).text).length==Ae.ch){var Xe=ze(Le,Le.length,x.options.tabSize)-Le.length;Ae=Qt(Ae.line,Math.max(0,Math.round((se-bo(x.display).left)/lr(x.display))-Xe))}return Ae}function Yn(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 kn(x,z,ne,te){z==null&&(z=x.doc.first),ne==null&&(ne=x.doc.first+x.doc.size),te||(te=0);var ie=x.display;if(te&&ne<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>z)&&(ie.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=ie.viewTo)Ea&&Ds(x.doc,z)<ie.viewTo&&Sa(x);else if(ne<=ie.viewFrom)Ea&&Ma(x.doc,ne+te)>ie.viewFrom?Sa(x):(ie.viewFrom+=te,ie.viewTo+=te);else if(z<=ie.viewFrom&&ne>=ie.viewTo)Sa(x);else if(z<=ie.viewFrom){var se=de(x,ne,ne+te,1);se?(ie.view=ie.view.slice(se.index),ie.viewFrom=se.lineN,ie.viewTo+=te):Sa(x)}else if(ne>=ie.viewTo){var me=de(x,z,z,-1);me?(ie.view=ie.view.slice(0,me.index),ie.viewTo=me.lineN):Sa(x)}else{var xe=de(x,z,z,-1),Ae=de(x,ne,ne+te,1);xe&&Ae?(ie.view=ie.view.slice(0,xe.index).concat(wt(x,xe.lineN,Ae.lineN)).concat(ie.view.slice(Ae.index)),ie.viewTo+=te):Sa(x)}var Le=ie.externalMeasured;Le&&(ne<Le.lineN?Le.lineN+=te:z<Le.lineN+Le.size&&(ie.externalMeasured=null))}function po(x,z,ne){x.curOp.viewChanged=!0;var te=x.display,ie=x.display.externalMeasured;if(ie&&z>=ie.lineN&&z<ie.lineN+ie.size&&(te.externalMeasured=null),!(z<te.viewFrom||z>=te.viewTo)){var se=te.view[Yn(x,z)];if(se.node!=null){var me=se.changes||(se.changes=[]);Nt(me,ne)==-1&&me.push(ne)}}}function Sa(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function de(x,z,ne,te){var ie=Yn(x,z),se,me=x.display.view;if(!Ea||ne==x.doc.first+x.doc.size)return{index:ie,lineN:ne};for(var xe=x.display.viewFrom,Ae=0;Ae<ie;Ae++)xe+=me[Ae].size;if(xe!=z){if(te>0){if(ie==me.length-1)return null;se=xe+me[ie].size-z,ie++}else se=xe-z;z+=se,ne+=se}for(;Ds(x.doc,ne)!=ne;){if(ie==(te<0?0:me.length-1))return null;ne+=te*me[ie-(te<0?1:0)].size,ie+=te}return{index:ie,lineN:ne}}function ve(x,z,ne){var te=x.display,ie=te.view;ie.length==0||z>=te.viewTo||ne<=te.viewFrom?(te.view=wt(x,z,ne),te.viewFrom=z):(te.viewFrom>z?te.view=wt(x,z,te.viewFrom).concat(te.view):te.viewFrom<z&&(te.view=te.view.slice(Yn(x,z))),te.viewFrom=z,te.viewTo<ne?te.view=te.view.concat(wt(x,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,Yn(x,ne)))),te.viewTo=ne}function be(x){for(var z=x.display.view,ne=0,te=0;te<z.length;te++){var ie=z[te];!ie.hidden&&(!ie.node||ie.changes)&&++ne}return ne}function Pe(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Ne(x,z){z===void 0&&(z=!0);for(var ne=x.doc,te={},ie=te.cursors=document.createDocumentFragment(),se=te.selection=document.createDocumentFragment(),me=0;me<ne.sel.ranges.length;me++)if(!(!z&&me==ne.sel.primIndex)){var xe=ne.sel.ranges[me];if(!(xe.from().line>=x.display.viewTo||xe.to().line<x.display.viewFrom)){var Ae=xe.empty();(Ae||x.options.showCursorWhenSelecting)&&it(x,xe.head,ie),Ae||Lt(x,xe,se)}}return te}function it(x,z,ne){var te=No(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),ie=ne.appendChild(pt("div","\xA0","CodeMirror-cursor"));if(ie.style.left=te.left+"px",ie.style.top=te.top+"px",ie.style.height=Math.max(0,te.bottom-te.top)*x.options.cursorHeight+"px",te.other){var se=ne.appendChild(pt("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 at(x,z){return x.top-z.top||x.left-z.left}function Lt(x,z,ne){var te=x.display,ie=x.doc,se=document.createDocumentFragment(),me=bo(x.display),xe=me.left,Ae=Math.max(te.sizerWidth,da(x)-te.sizer.offsetLeft)-me.right,Le=ie.direction=="ltr";function Xe(er,wr,Wr,Gr){wr<0&&(wr=0),wr=Math.round(wr),Gr=Math.round(Gr),se.appendChild(pt("div",null,"CodeMirror-selected","position: absolute; left: "+er+`px;
|
|
|
top: `+wr+"px; width: "+(Wr==null?Ae-er:Wr)+`px;
|
|
|
height: `+(Gr-wr)+"px"))}function ut(er,wr,Wr){var Gr=Ot(ie,er),Wi=Gr.text.length,Ja,Ms;function Bo(ds,il){return Bs(x,Qt(er,ds),"div",Gr,il)}function nl(ds,il,mi){var Ro=Fu(x,Gr,null,ds),Lo=il=="ltr"==(mi=="after")?"left":"right",zo=mi=="after"?Ro.begin:Ro.end-(/\s/.test(Gr.text.charAt(Ro.end-1))?2:1);return Bo(zo,Lo)[Lo]}var rl=fa(Gr,ie.direction);return ur(rl,wr||0,Wr==null?Wi:Wr,function(ds,il,mi,Ro){var Lo=mi=="ltr",zo=Bo(ds,Lo?"left":"right"),Jo=Bo(il-1,Lo?"right":"left"),yc=wr==null&&ds==0,hl=Wr==null&&il==Wi,Is=Ro==0,ba=!rl||Ro==rl.length-1;if(Jo.top-zo.top<=3){var xs=(Le?yc:hl)&&Is,wd=(Le?hl:yc)&&ba,Du=xs?xe:(Lo?zo:Jo).left,Zu=wd?Ae:(Lo?Jo:zo).right;Xe(Du,zo.top,Zu-Du,zo.bottom)}else{var fu,hs,bc,Ts;Lo?(fu=Le&&yc&&Is?xe:zo.left,hs=Le?Ae:nl(ds,mi,"before"),bc=Le?xe:nl(il,mi,"after"),Ts=Le&&hl&&ba?Ae:Jo.right):(fu=Le?nl(ds,mi,"before"):xe,hs=!Le&&yc&&Is?Ae:zo.right,bc=!Le&&hl&&ba?xe:Jo.left,Ts=Le?nl(il,mi,"after"):Ae),Xe(fu,zo.top,hs-fu,zo.bottom),zo.bottom<Jo.top&&Xe(xe,zo.bottom,null,Jo.top),Xe(bc,Jo.top,Ts-bc,Jo.bottom)}(!Ja||at(zo,Ja)<0)&&(Ja=zo),at(Jo,Ja)<0&&(Ja=Jo),(!Ms||at(zo,Ms)<0)&&(Ms=zo),at(Jo,Ms)<0&&(Ms=Jo)}),{start:Ja,end:Ms}}var It=z.from(),At=z.to();if(It.line==At.line)ut(It.line,It.ch,At.ch);else{var cn=Ot(ie,It.line),Ln=Ot(ie,At.line),Gn=$a(cn)==$a(Ln),rr=ut(It.line,It.ch,Gn?cn.text.length+1:null).end,yr=ut(At.line,Gn?0:null,At.ch).start;Gn&&(rr.top<yr.top-2?(Xe(rr.right,rr.top,null,rr.bottom),Xe(xe,yr.top,yr.left,yr.bottom)):Xe(rr.right,rr.top,yr.left-rr.right,rr.bottom)),rr.bottom<yr.top&&Xe(xe,rr.bottom,null,yr.top)}ne.appendChild(se)}function Mt(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()||Pt(x),z.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function St(x){x.state.focused||(x.display.input.focus(),Rt(x))}function yn(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Pt(x))},100)}function Rt(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(wi(x,"focus",x,z),x.state.focused=!0,kt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),Ye&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Mt(x))}function Pt(x,z){x.state.delayingBlurEvent||(x.state.focused&&(wi(x,"blur",x,z),x.state.focused=!1,Ct(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function un(x){for(var z=x.display,ne=z.lineDiv.offsetTop,te=0;te<z.view.length;te++){var ie=z.view[te],se=x.options.lineWrapping,me=void 0,xe=0;if(!ie.hidden){if(We&&Oe<8){var Ae=ie.node.offsetTop+ie.node.offsetHeight;me=Ae-ne,ne=Ae}else{var Le=ie.node.getBoundingClientRect();me=Le.bottom-Le.top,!se&&ie.text.firstChild&&(xe=ie.text.firstChild.getBoundingClientRect().right-Le.left-1)}var Xe=ie.line.height-me;if((Xe>.005||Xe<-.005)&&(Bn(ie.line,me),Vt(ie.line),ie.rest))for(var ut=0;ut<ie.rest.length;ut++)Vt(ie.rest[ut]);if(xe>x.display.sizerWidth){var It=Math.ceil(xe/lr(x.display));It>x.display.maxLineLength&&(x.display.maxLineLength=It,x.display.maxLine=ie.line,x.display.maxLineChanged=!0)}}}}function Vt(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 bt(x,z,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):x.scroller.scrollTop;te=Math.floor(te-eo(x));var ie=ne&&ne.bottom!=null?ne.bottom:te+x.wrapper.clientHeight,se=kr(z,te),me=kr(z,ie);if(ne&&ne.ensure){var xe=ne.ensure.from.line,Ae=ne.ensure.to.line;xe<se?(se=xe,me=kr(z,Zn(Ot(z,xe))+x.wrapper.clientHeight)):Math.min(Ae,z.lastLine())>=me&&(se=kr(z,Zn(Ot(z,Ae))-x.wrapper.clientHeight),me=Ae)}return{from:se,to:Math.max(me,se+1)}}function jt(x,z){if(!pr(x,"scrollCursorIntoView")){var ne=x.display,te=ne.sizer.getBoundingClientRect(),ie=null;if(z.top+te.top<0?ie=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!gt){var se=pt("div","\u200B",null,`position: absolute;
|
|
|
top: `+(z.top-ne.viewOffset-eo(x.display))+`px;
|
|
|
height: `+(z.bottom-z.top+to(x)+ne.barHeight)+`px;
|
|
|
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(se),se.scrollIntoView(ie),x.display.lineSpace.removeChild(se)}}}function $t(x,z,ne,te){te==null&&(te=0);var ie;!x.options.lineWrapping&&z==ne&&(z=z.ch?Qt(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ne=z.sticky=="before"?Qt(z.line,z.ch+1,"before"):z);for(var se=0;se<5;se++){var me=!1,xe=No(x,z),Ae=!ne||ne==z?xe:No(x,ne);ie={left:Math.min(xe.left,Ae.left),top:Math.min(xe.top,Ae.top)-te,right:Math.max(xe.left,Ae.left),bottom:Math.max(xe.bottom,Ae.bottom)+te};var Le=On(x,ie),Xe=x.doc.scrollTop,ut=x.doc.scrollLeft;if(Le.scrollTop!=null&&(Yr(x,Le.scrollTop),Math.abs(x.doc.scrollTop-Xe)>1&&(me=!0)),Le.scrollLeft!=null&&(xi(x,Le.scrollLeft),Math.abs(x.doc.scrollLeft-ut)>1&&(me=!0)),!me)break}return ie}function qn(x,z){var ne=On(x,z);ne.scrollTop!=null&&Yr(x,ne.scrollTop),ne.scrollLeft!=null&&xi(x,ne.scrollLeft)}function On(x,z){var ne=x.display,te=Ve(x.display);z.top<0&&(z.top=0);var ie=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ne.scroller.scrollTop,se=xo(x),me={};z.bottom-z.top>se&&(z.bottom=z.top+se);var xe=x.doc.height+Js(ne),Ae=z.top<te,Le=z.bottom>xe-te;if(z.top<ie)me.scrollTop=Ae?0:z.top;else if(z.bottom>ie+se){var Xe=Math.min(z.top,(Le?xe:z.bottom)-se);Xe!=ie&&(me.scrollTop=Xe)}var ut=x.options.fixedGutter?0:ne.gutters.offsetWidth,It=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ne.scroller.scrollLeft-ut,At=da(x)-ne.gutters.offsetWidth,cn=z.right-z.left>At;return cn&&(z.right=z.left+At),z.left<10?me.scrollLeft=0:z.left<It?me.scrollLeft=Math.max(0,z.left+ut-(cn?0:10)):z.right>At+It-3&&(me.scrollLeft=z.right+(cn?0:10)-At),me}function pn(x,z){z!=null&&(Qr(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function Cn(x){Qr(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function Dn(x,z,ne){(z!=null||ne!=null)&&Qr(x),z!=null&&(x.curOp.scrollLeft=z),ne!=null&&(x.curOp.scrollTop=ne)}function Rn(x,z){Qr(x),x.curOp.scrollToPos=z}function Qr(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ne=ol(x,z.from),te=ol(x,z.to);Or(x,ne,te,z.margin)}}function Or(x,z,ne,te){var ie=On(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});Dn(x,ie.scrollLeft,ie.scrollTop)}function Yr(x,z){Math.abs(x.doc.scrollTop-z)<2||(ae||Us(x,{top:z}),fi(x,z,!0),ae&&Us(x),Ga(x,100))}function fi(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 xi(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,eu(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function Li(x){var z=x.display,ne=z.gutters.offsetWidth,te=Math.round(x.doc.height+Js(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+to(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ne}}var Hi=function(x,z,ne){this.cm=ne;var te=this.vert=pt("div",[pt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=pt("div",[pt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ie.tabIndex=-1,x(te),x(ie),Sr(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),Sr(ie,"scroll",function(){ie.clientWidth&&z(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,We&&Oe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Hi.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 ie=x.viewHeight-(z?te:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+ie)+"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}},Hi.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Hi.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Hi.prototype.zeroWidthHack=function(){var x=He&&!Te?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ke,this.disableVert=new ke},Hi.prototype.enableZeroWidthBar=function(x,z,ne){x.style.pointerEvents="auto";function te(){var ie=x.getBoundingClientRect(),se=ne=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);se!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},Hi.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var fn=function(){};fn.prototype.update=function(){return{bottom:0,right:0}},fn.prototype.setScrollLeft=function(){},fn.prototype.setScrollTop=function(){},fn.prototype.clear=function(){};function ar(x,z){z||(z=Li(x));var ne=x.display.barWidth,te=x.display.barHeight;Er(x,z);for(var ie=0;ie<4&&ne!=x.display.barWidth||te!=x.display.barHeight;ie++)ne!=x.display.barWidth&&x.options.lineWrapping&&un(x),Er(x,Li(x)),ne=x.display.barWidth,te=x.display.barHeight}function Er(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 ai={native:Hi,null:fn};function Hr(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&Ct(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new ai[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),Sr(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"?xi(x,z):Yr(x,z)},x),x.display.scrollbars.addClass&&kt(x.display.wrapper,x.display.scrollbars.addClass)}var Zr=0;function _r(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:++Zr},rn(x.curOp)}function Qi(x){var z=x.curOp;z&&Pr(z,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;Xi(ne)})}function Xi(x){for(var z=x.ops,ne=0;ne<z.length;ne++)ro(z[ne]);for(var te=0;te<z.length;te++)Da(z[te]);for(var ie=0;ie<z.length;ie++)mo(z[ie]);for(var se=0;se<z.length;se++)qi(z[se]);for(var me=0;me<z.length;me++)an(z[me])}function ro(x){var z=x.cm,ne=z.display;Jr(z),x.updateMaxLine&&$n(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 nr(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Da(x){x.updatedDisplay=x.mustUpdate&&Ba(x.cm,x.update)}function mo(x){var z=x.cm,ne=z.display;x.updatedDisplay&&un(z),x.barMeasure=Li(z),ne.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=Go(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+to(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+x.adjustWidthTo-da(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ne.input.prepareSelection())}function qi(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&xi(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ne=x.focus&&x.focus==nt();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ne),(x.updatedDisplay||x.startHeight!=z.doc.height)&&ar(z,x.barMeasure),x.updatedDisplay&&pl(z,x.barMeasure),x.selectionChanged&&Mt(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ne&&St(x.cm)}function an(x){var z=x.cm,ne=z.display,te=z.doc;if(x.updatedDisplay&&Mo(z,x.update),ne.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),x.scrollTop!=null&&fi(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&xi(z,x.scrollLeft,!0,!0),x.scrollToPos){var ie=$t(z,tr(te,x.scrollToPos.from),tr(te,x.scrollToPos.to),x.scrollToPos.margin);jt(z,ie)}var se=x.maybeHiddenMarkers,me=x.maybeUnhiddenMarkers;if(se)for(var xe=0;xe<se.length;++xe)se[xe].lines.length||wi(se[xe],"hide");if(me)for(var Ae=0;Ae<me.length;++Ae)me[Ae].lines.length&&wi(me[Ae],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&wi(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function Wn(x,z){if(x.curOp)return z();_r(x);try{return z()}finally{Qi(x)}}function Ar(x,z){return function(){if(x.curOp)return z.apply(x,arguments);_r(x);try{return z.apply(x,arguments)}finally{Qi(x)}}}function oi(x){return function(){if(this.curOp)return x.apply(this,arguments);_r(this);try{return x.apply(this,arguments)}finally{Qi(this)}}}function Fi(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);_r(z);try{return x.apply(this,arguments)}finally{Qi(z)}}}function Ga(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,mn(Ut,x))}function Ut(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ne=+new Date+x.options.workTime,te=bi(x,z.highlightFrontier),ie=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(se){if(te.line>=x.display.viewFrom){var me=se.styles,xe=se.text.length>x.options.maxHighlightLength?Fe(z.mode,te.state):null,Ae=Pi(x,se,te,!0);xe&&(te.state=xe),se.styles=Ae.styles;var Le=se.styleClasses,Xe=Ae.classes;Xe?se.styleClasses=Xe:Le&&(se.styleClasses=null);for(var ut=!me||me.length!=se.styles.length||Le!=Xe&&(!Le||!Xe||Le.bgClass!=Xe.bgClass||Le.textClass!=Xe.textClass),It=0;!ut&&It<me.length;++It)ut=me[It]!=se.styles[It];ut&&ie.push(te.line),se.stateAfter=te.save(),te.nextLine()}else se.text.length<=x.options.maxHighlightLength&&li(x,se.text,te),se.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return Ga(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),ie.length&&Wn(x,function(){for(var se=0;se<ie.length;se++)po(x,ie[se],"text")})}}var nr=function(x,z,ne){var te=x.display;this.viewport=z,this.visible=bt(te,x.doc,z),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=da(x),this.force=ne,this.dims=cr(x),this.events=[]};nr.prototype.signal=function(x,z){$i(x,z)&&this.events.push(arguments)},nr.prototype.finish=function(){for(var x=0;x<this.events.length;x++)wi.apply(null,this.events[x])};function Jr(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=to(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=to(x)+"px",z.scrollbarsClipped=!0)}function Ua(x){if(x.hasFocus())return null;var z=nt();if(!z||!Et(x.display.lineDiv,z))return null;var ne={activeElt:z};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&Et(x.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function io(x){if(!(!x||!x.activeElt||x.activeElt==nt())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&Et(document.body,x.anchorNode)&&Et(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 Ba(x,z){var ne=x.display,te=x.doc;if(z.editorIsHidden)return Sa(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&&be(x)==0)return!1;ml(x)&&(Sa(x),z.dims=cr(x));var ie=te.first+te.size,se=Math.max(z.visible.from-x.options.viewportMargin,te.first),me=Math.min(ie,z.visible.to+x.options.viewportMargin);ne.viewFrom<se&&se-ne.viewFrom<20&&(se=Math.max(te.first,ne.viewFrom)),ne.viewTo>me&&ne.viewTo-me<20&&(me=Math.min(ie,ne.viewTo)),Ea&&(se=Ds(x.doc,se),me=Ma(x.doc,me));var xe=se!=ne.viewFrom||me!=ne.viewTo||ne.lastWrapHeight!=z.wrapperHeight||ne.lastWrapWidth!=z.wrapperWidth;ve(x,se,me),ne.viewOffset=Zn(Ot(x.doc,ne.viewFrom)),x.display.mover.style.top=ne.viewOffset+"px";var Ae=be(x);if(!xe&&Ae==0&&!z.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Le=Ua(x);return Ae>4&&(ne.lineDiv.style.display="none"),Xs(x,ne.updateLineNumbers,z.dims),Ae>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,io(Le),Ft(ne.cursorDiv),Ft(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,xe&&(ne.lastWrapHeight=z.wrapperHeight,ne.lastWrapWidth=z.wrapperWidth,Ga(x,400)),ne.updateLineNumbers=null,!0}function Mo(x,z){for(var ne=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==da(x)){if(ne&&ne.top!=null&&(ne={top:Math.min(x.doc.height+Js(x.display)-xo(x),ne.top)}),z.visible=bt(x.display,x.doc,ne),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=bt(x.display,x.doc,ne));if(!Ba(x,z))break;un(x);var ie=Li(x);Pe(x),ar(x,ie),pl(x,ie),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 Us(x,z){var ne=new nr(x,z);if(Ba(x,ne)){un(x),Mo(x,ne);var te=Li(x);Pe(x),ar(x,te),pl(x,te),ne.finish()}}function Xs(x,z,ne){var te=x.display,ie=x.options.lineNumbers,se=te.lineDiv,me=se.firstChild;function xe(cn){var Ln=cn.nextSibling;return Ye&&He&&x.display.currentWheelTarget==cn?cn.style.display="none":cn.parentNode.removeChild(cn),Ln}for(var Ae=te.view,Le=te.viewFrom,Xe=0;Xe<Ae.length;Xe++){var ut=Ae[Xe];if(!ut.hidden)if(!ut.node||ut.node.parentNode!=se){var It=Xn(x,ut,Le,ne);se.insertBefore(It,me)}else{for(;me!=ut.node;)me=xe(me);var At=ie&&z!=null&&z<=Le&&ut.lineNumber;ut.changes&&(Nt(ut.changes,"gutter")>-1&&(At=!1),Dr(x,ut,Le,ne)),At&&(Ft(ut.lineNumber),ut.lineNumber.appendChild(document.createTextNode(dr(x.options,Le)))),me=ut.node.nextSibling}Le+=ut.size}for(;me;)me=xe(me)}function ss(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function pl(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+to(x)+"px"}function eu(x){var z=x.display,ne=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=or(z)-z.scroller.scrollLeft+x.doc.scrollLeft,ie=z.gutters.offsetWidth,se=te+"px",me=0;me<ne.length;me++)if(!ne[me].hidden){x.options.fixedGutter&&(ne[me].gutter&&(ne[me].gutter.style.left=se),ne[me].gutterBackground&&(ne[me].gutterBackground.style.left=se));var xe=ne[me].alignable;if(xe)for(var Ae=0;Ae<xe.length;Ae++)xe[Ae].style.left=se}x.options.fixedGutter&&(z.gutters.style.left=te+ie+"px")}}function ml(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ne=dr(x.options,z.first+z.size-1),te=x.display;if(ne.length!=te.lineNumChars){var ie=te.measure.appendChild(pt("div",[pt("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),se=ie.firstChild.offsetWidth,me=ie.offsetWidth-se;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(se,te.lineGutter.offsetWidth-me)+1,te.lineNumWidth=te.lineNumInnerWidth+me,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",ss(x.display),!0}return!1}function Uo(x,z){for(var ne=[],te=!1,ie=0;ie<x.length;ie++){var se=x[ie],me=null;if(typeof se!="string"&&(me=se.style,se=se.className),se=="CodeMirror-linenumbers")if(z)te=!0;else continue;ne.push({className:se,style:me})}return z&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function Qs(x){var z=x.gutters,ne=x.gutterSpecs;Ft(z),x.lineGutter=null;for(var te=0;te<ne.length;++te){var ie=ne[te],se=ie.className,me=ie.style,xe=z.appendChild(pt("div",null,"CodeMirror-gutter "+se));me&&(xe.style.cssText=me),se=="CodeMirror-linenumbers"&&(x.lineGutter=xe,xe.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ne.length?"":"none",ss(x)}function ls(x){Qs(x.display),kn(x),eu(x)}function tu(x,z,ne,te){var ie=this;this.input=ne,ie.scrollbarFiller=pt("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=pt("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=ht("div",null,"CodeMirror-code"),ie.selectionDiv=pt("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=pt("div",null,"CodeMirror-cursors"),ie.measure=pt("div",null,"CodeMirror-measure"),ie.lineMeasure=pt("div",null,"CodeMirror-measure"),ie.lineSpace=ht("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var se=ht("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=pt("div",[se],null,"position: relative"),ie.sizer=pt("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=pt("div",null,null,"position: absolute; height: "+bn+"px; width: 1px;"),ie.gutters=pt("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=pt("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=pt("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),We&&Oe<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!Ye&&!(ae&&je)&&(ie.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(ie.wrapper):x(ie.wrapper)),ie.viewFrom=ie.viewTo=z.first,ie.reportedViewFrom=ie.reportedViewTo=z.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=Uo(te.gutters,te.lineNumbers),Qs(ie),ne.init(ie)}var qs=0,La=null;We?La=-.53:ae?La=15:Me?La=-.7:lt&&(La=-1/3);function Ia(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 Es(x){var z=Ia(x);return z.x*=La,z.y*=La,z}function sl(x,z){var ne=Ia(z),te=ne.x,ie=ne.y,se=x.display,me=se.scroller,xe=me.scrollWidth>me.clientWidth,Ae=me.scrollHeight>me.clientHeight;if(te&&xe||ie&&Ae){if(ie&&He&&Ye){e:for(var Le=z.target,Xe=se.view;Le!=me;Le=Le.parentNode)for(var ut=0;ut<Xe.length;ut++)if(Xe[ut].node==Le){x.display.currentWheelTarget=Le;break e}}if(te&&!ae&&!rt&&La!=null){ie&&Ae&&Yr(x,Math.max(0,me.scrollTop+ie*La)),xi(x,Math.max(0,me.scrollLeft+te*La)),(!ie||ie&&Ae)&&ea(z),se.wheelStartX=null;return}if(ie&&La!=null){var It=ie*La,At=x.doc.scrollTop,cn=At+se.wrapper.clientHeight;It<0?At=Math.max(0,At+It-50):cn=Math.min(x.doc.height,cn+It+50),Us(x,{top:At,bottom:cn})}qs<20&&(se.wheelStartX==null?(se.wheelStartX=me.scrollLeft,se.wheelStartY=me.scrollTop,se.wheelDX=te,se.wheelDY=ie,setTimeout(function(){if(se.wheelStartX!=null){var Ln=me.scrollLeft-se.wheelStartX,Gn=me.scrollTop-se.wheelStartY,rr=Gn&&se.wheelDY&&Gn/se.wheelDY||Ln&&se.wheelDX&&Ln/se.wheelDX;se.wheelStartX=se.wheelStartY=null,rr&&(La=(La*qs+rr)/(qs+1),++qs)}},200)):(se.wheelDX+=te,se.wheelDY+=ie))}}var wo=function(x,z){this.ranges=x,this.primIndex=z};wo.prototype.primary=function(){return this.ranges[this.primIndex]},wo.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(!yi(ne.anchor,te.anchor)||!yi(ne.head,te.head))return!1}return!0},wo.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new Ei(Vi(this.ranges[z].anchor),Vi(this.ranges[z].head));return new wo(x,this.primIndex)},wo.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},wo.prototype.contains=function(x,z){z||(z=x);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(Tn(z,te.from())>=0&&Tn(x,te.to())<=0)return ne}return-1};var Ei=function(x,z){this.anchor=x,this.head=z};Ei.prototype.from=function(){return Xr(this.anchor,this.head)},Ei.prototype.to=function(){return ua(this.anchor,this.head)},Ei.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function go(x,z,ne){var te=x&&x.options.selectionsMayTouch,ie=z[ne];z.sort(function(It,At){return Tn(It.from(),At.from())}),ne=Nt(z,ie);for(var se=1;se<z.length;se++){var me=z[se],xe=z[se-1],Ae=Tn(xe.to(),me.from());if(te&&!me.empty()?Ae>0:Ae>=0){var Le=Xr(xe.from(),me.from()),Xe=ua(xe.to(),me.to()),ut=xe.empty()?me.from()==me.head:xe.from()==xe.head;se<=ne&&--ne,z.splice(--se,2,new Ei(ut?Xe:Le,ut?Le:Xe))}}return new wo(z,ne)}function Po(x,z){return new wo([new Ei(x,z||x)],0)}function Oa(x){return x.text?Qt(x.from.line+x.text.length-1,xt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function ms(x,z){if(Tn(x,z.from)<0)return x;if(Tn(x,z.to)<=0)return Oa(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+=Oa(z).ch-z.to.ch),Qt(ne,te)}function ll(x,z){for(var ne=[],te=0;te<x.sel.ranges.length;te++){var ie=x.sel.ranges[te];ne.push(new Ei(ms(ie.anchor,z),ms(ie.head,z)))}return go(x.cm,ne,x.sel.primIndex)}function _a(x,z,ne){return x.line==z.line?Qt(ne.line,x.ch-z.ch+ne.ch):Qt(ne.line+(x.line-z.line),x.ch)}function gs(x,z,ne){for(var te=[],ie=Qt(x.first,0),se=ie,me=0;me<z.length;me++){var xe=z[me],Ae=_a(xe.from,ie,se),Le=_a(Oa(xe),ie,se);if(ie=xe.to,se=Le,ne=="around"){var Xe=x.sel.ranges[me],ut=Tn(Xe.head,Xe.anchor)<0;te[me]=new Ei(ut?Le:Ae,ut?Ae:Le)}else te[me]=new Ei(Ae,Ae)}return new wo(te,x.sel.primIndex)}function $s(x){x.doc.mode=vi(x.options,x.doc.modeOption),aa(x)}function aa(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,Ga(x,100),x.state.modeGen++,x.curOp&&kn(x)}function ul(x,z){return z.from.ch==0&&z.to.ch==0&&xt(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function zs(x,z,ne,te){function ie(yr){return ne?ne[yr]:null}function se(yr,er,wr){ri(yr,er,wr,te),Qn(yr,"change",yr,z)}function me(yr,er){for(var wr=[],Wr=yr;Wr<er;++Wr)wr.push(new sr(Le[Wr],ie(Wr),te));return wr}var xe=z.from,Ae=z.to,Le=z.text,Xe=Ot(x,xe.line),ut=Ot(x,Ae.line),It=xt(Le),At=ie(Le.length-1),cn=Ae.line-xe.line;if(z.full)x.insert(0,me(0,Le.length)),x.remove(Le.length,x.size-Le.length);else if(ul(x,z)){var Ln=me(0,Le.length-1);se(ut,ut.text,At),cn&&x.remove(xe.line,cn),Ln.length&&x.insert(xe.line,Ln)}else if(Xe==ut)if(Le.length==1)se(Xe,Xe.text.slice(0,xe.ch)+It+Xe.text.slice(Ae.ch),At);else{var Gn=me(1,Le.length-1);Gn.push(new sr(It+Xe.text.slice(Ae.ch),At,te)),se(Xe,Xe.text.slice(0,xe.ch)+Le[0],ie(0)),x.insert(xe.line+1,Gn)}else if(Le.length==1)se(Xe,Xe.text.slice(0,xe.ch)+Le[0]+ut.text.slice(Ae.ch),ie(0)),x.remove(xe.line+1,cn);else{se(Xe,Xe.text.slice(0,xe.ch)+Le[0],ie(0)),se(ut,It+ut.text.slice(Ae.ch),At);var rr=me(1,Le.length-1);cn>1&&x.remove(xe.line+1,cn-1),x.insert(xe.line+1,rr)}Qn(x,"change",x,z)}function Qo(x,z,ne){function te(ie,se,me){if(ie.linked)for(var xe=0;xe<ie.linked.length;++xe){var Ae=ie.linked[xe];if(Ae.doc!=se){var Le=me&&Ae.sharedHist;ne&&!Le||(z(Ae.doc,Le),te(Ae.doc,ie,Le))}}}te(x,null,!0)}function gl(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,Br(x),$s(x),el(x),x.options.lineWrapping||$n(x),x.options.mode=z.modeOption,kn(x)}function el(x){(x.doc.direction=="rtl"?kt:Ct)(x.display.lineDiv,"CodeMirror-rtl")}function Ol(x){Wn(x,function(){el(x),kn(x)})}function cl(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 si(x,z){var ne={from:Vi(z.from),to:Oa(z),text:Sn(x,z.from,z.to)};return Cu(x,ne,z.from.line,z.to.line+1),Qo(x,function(te){return Cu(te,ne,z.from.line,z.to.line+1)},!0),ne}function br(x){for(;x.length;){var z=xt(x);if(z.ranges)x.pop();else break}}function Ai(x,z){if(z)return br(x.done),xt(x.done);if(x.done.length&&!xt(x.done).ranges)return xt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),xt(x.done)}function ja(x,z,ne,te){var ie=x.history;ie.undone.length=0;var se=+new Date,me,xe;if((ie.lastOp==te||ie.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&ie.lastModTime>se-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(me=Ai(ie,ie.lastOp==te)))xe=xt(me.changes),Tn(z.from,z.to)==0&&Tn(z.from,xe.to)==0?xe.to=Oa(z):me.changes.push(si(x,z));else{var Ae=xt(ie.done);for((!Ae||!Ae.ranges)&&Rl(x.sel,ie.done),me={changes:[si(x,z)],generation:ie.generation},ie.done.push(me);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(ne),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=se,ie.lastOp=ie.lastSelOp=te,ie.lastOrigin=ie.lastSelOrigin=z.origin,xe||wi(x,"historyAdded")}function _s(x,z,ne,te){var ie=z.charAt(0);return ie=="*"||ie=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function wu(x,z,ne,te){var ie=x.history,se=te&&te.origin;ne==ie.lastSelOp||se&&ie.lastSelOrigin==se&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==se||_s(x,se,xt(ie.done),z))?ie.done[ie.done.length-1]=z:Rl(z,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=se,ie.lastSelOp=ne,te&&te.clearRedo!==!1&&br(ie.undone)}function Rl(x,z){var ne=xt(z);ne&&ne.ranges&&ne.equals(x)||z.push(x)}function Cu(x,z,ne,te){var ie=z["spans_"+x.id],se=0;x.iter(Math.max(x.first,ne),Math.min(x.first+x.size,te),function(me){me.markedSpans&&((ie||(ie=z["spans_"+x.id]={}))[se]=me.markedSpans),++se})}function zl(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 Yo(x,z){var ne=z["spans_"+x.id];if(!ne)return null;for(var te=[],ie=0;ie<z.text.length;++ie)te.push(zl(ne[ie]));return te}function ci(x,z){var ne=Yo(x,z),te=Za(x,z);if(!ne)return te;if(!te)return ne;for(var ie=0;ie<ne.length;++ie){var se=ne[ie],me=te[ie];if(se&&me)e:for(var xe=0;xe<me.length;++xe){for(var Ae=me[xe],Le=0;Le<se.length;++Le)if(se[Le].marker==Ae.marker)continue e;se.push(Ae)}else me&&(ne[ie]=me)}return ne}function vl(x,z,ne){for(var te=[],ie=0;ie<x.length;++ie){var se=x[ie];if(se.ranges){te.push(ne?wo.prototype.deepCopy.call(se):se);continue}var me=se.changes,xe=[];te.push({changes:xe});for(var Ae=0;Ae<me.length;++Ae){var Le=me[Ae],Xe=void 0;if(xe.push({from:Le.from,to:Le.to,text:Le.text}),z)for(var ut in Le)(Xe=ut.match(/^spans_(\d+)$/))&&Nt(z,Number(Xe[1]))>-1&&(xt(xe)[ut]=Le[ut],delete Le[ut])}}return te}function js(x,z,ne,te){if(te){var ie=x.anchor;if(ne){var se=Tn(z,ie)<0;se!=Tn(ne,ie)<0?(ie=z,z=ne):se!=Tn(z,ne)<0&&(z=ne)}return new Ei(ie,z)}else return new Ei(ne||z,z)}function El(x,z,ne,te,ie){ie==null&&(ie=x.cm&&(x.cm.display.shift||x.extend)),Co(x,new wo([js(x.sel.primary(),z,ne,ie)],0),te)}function fr(x,z,ne){for(var te=[],ie=x.cm&&(x.cm.display.shift||x.extend),se=0;se<x.sel.ranges.length;se++)te[se]=js(x.sel.ranges[se],z[se],null,ie);var me=go(x.cm,te,x.sel.primIndex);Co(x,me,ne)}function Hs(x,z,ne,te){var ie=x.sel.ranges.slice(0);ie[z]=ne,Co(x,go(x.cm,ie,x.sel.primIndex),te)}function Nu(x,z,ne,te){Co(x,Po(z,ne),te)}function Pu(x,z,ne){var te={ranges:z.ranges,update:function(ie){this.ranges=[];for(var se=0;se<ie.length;se++)this.ranges[se]=new Ei(tr(x,ie[se].anchor),tr(x,ie[se].head))},origin:ne&&ne.origin};return wi(x,"beforeSelectionChange",x,te),x.cm&&wi(x.cm,"beforeSelectionChange",x.cm,te),te.ranges!=z.ranges?go(x.cm,te.ranges,te.ranges.length-1):z}function us(x,z,ne){var te=x.history.done,ie=xt(te);ie&&ie.ranges?(te[te.length-1]=z,nu(x,z,ne)):Co(x,z,ne)}function Co(x,z,ne){nu(x,z,ne),wu(x,x.sel,x.cm?x.cm.curOp.id:NaN,ne)}function nu(x,z,ne){($i(x,"beforeSelectionChange")||x.cm&&$i(x.cm,"beforeSelectionChange"))&&(z=Pu(x,z,ne));var te=ne&&ne.bias||(Tn(z.primary().head,x.sel.primary().head)<0?-1:1);lo(x,ko(x,z,te,!0)),!(ne&&ne.scroll===!1)&&x.cm&&Cn(x.cm)}function lo(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,fs(x.cm)),Qn(x,"cursorActivity",x))}function Vr(x){lo(x,ko(x,x.sel,null,!1))}function ko(x,z,ne,te){for(var ie,se=0;se<z.ranges.length;se++){var me=z.ranges[se],xe=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[se],Ae=Ac(x,me.anchor,xe&&xe.anchor,ne,te),Le=Ac(x,me.head,xe&&xe.head,ne,te);(ie||Ae!=me.anchor||Le!=me.head)&&(ie||(ie=z.ranges.slice(0,se)),ie[se]=new Ei(Ae,Le))}return ie?go(x.cm,ie,z.primIndex):z}function Ta(x,z,ne,te,ie){var se=Ot(x,z.line);if(se.markedSpans)for(var me=0;me<se.markedSpans.length;++me){var xe=se.markedSpans[me],Ae=xe.marker,Le="selectLeft"in Ae?!Ae.selectLeft:Ae.inclusiveLeft,Xe="selectRight"in Ae?!Ae.selectRight:Ae.inclusiveRight;if((xe.from==null||(Le?xe.from<=z.ch:xe.from<z.ch))&&(xe.to==null||(Xe?xe.to>=z.ch:xe.to>z.ch))){if(ie&&(wi(Ae,"beforeCursorEnter"),Ae.explicitlyCleared))if(se.markedSpans){--me;continue}else break;if(!Ae.atomic)continue;if(ne){var ut=Ae.find(te<0?1:-1),It=void 0;if((te<0?Xe:Le)&&(ut=Al(x,ut,-te,ut&&ut.line==z.line?se:null)),ut&&ut.line==z.line&&(It=Tn(ut,ne))&&(te<0?It<0:It>0))return Ta(x,ut,z,te,ie)}var At=Ae.find(te<0?-1:1);return(te<0?Le:Xe)&&(At=Al(x,At,te,At.line==z.line?se:null)),At?Ta(x,At,z,te,ie):null}}return z}function Ac(x,z,ne,te,ie){var se=te||1,me=Ta(x,z,ne,se,ie)||!ie&&Ta(x,z,ne,se,!0)||Ta(x,z,ne,-se,ie)||!ie&&Ta(x,z,ne,-se,!0);return me||(x.cantEdit=!0,Qt(x.first,0))}function Al(x,z,ne,te){return ne<0&&z.ch==0?z.line>x.first?tr(x,Qt(z.line-1)):null:ne>0&&z.ch==(te||Ot(x,z.line)).text.length?z.line<x.first+x.size-1?Qt(z.line+1,0):null:new Qt(z.line,z.ch+ne)}function Hc(x){x.setSelection(Qt(x.firstLine(),0),Qt(x.lastLine()),yt)}function oc(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(ie,se,me,xe){ie&&(te.from=tr(x,ie)),se&&(te.to=tr(x,se)),me&&(te.text=me),xe!==void 0&&(te.origin=xe)}),wi(x,"beforeChange",x,te),x.cm&&wi(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 yl(x,z,ne){if(x.cm){if(!x.cm.curOp)return Ar(x.cm,yl)(x,z,ne);if(x.cm.state.suppressEdits)return}if(!(($i(x,"beforeChange")||x.cm&&$i(x.cm,"beforeChange"))&&(z=oc(x,z,!0),!z))){var te=so&&!ne&&Io(x,z.from,z.to);if(te)for(var ie=te.length-1;ie>=0;--ie)Wc(x,{from:te[ie].from,to:te[ie].to,text:ie?[""]:z.text,origin:z.origin});else Wc(x,z)}}function Wc(x,z){if(!(z.text.length==1&&z.text[0]==""&&Tn(z.from,z.to)==0)){var ne=ll(x,z);ja(x,z,ne,x.cm?x.cm.curOp.id:NaN),Ml(x,z,ne,Za(x,z));var te=[];Qo(x,function(ie,se){!se&&Nt(te,ie.history)==-1&&(ru(ie.history,z),te.push(ie.history)),Ml(ie,z,null,Za(ie,z))})}}function _l(x,z,ne){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!ne)){for(var ie=x.history,se,me=x.sel,xe=z=="undo"?ie.done:ie.undone,Ae=z=="undo"?ie.undone:ie.done,Le=0;Le<xe.length&&(se=xe[Le],!(ne?se.ranges&&!se.equals(x.sel):!se.ranges));Le++);if(Le!=xe.length){for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(se=xe.pop(),se.ranges){if(Rl(se,Ae),ne&&!se.equals(x.sel)){Co(x,se,{clearRedo:!1});return}me=se}else if(te){xe.push(se);return}else break;var Xe=[];Rl(me,Ae),Ae.push({changes:Xe,generation:ie.generation}),ie.generation=se.generation||++ie.maxGeneration;for(var ut=$i(x,"beforeChange")||x.cm&&$i(x.cm,"beforeChange"),It=function(Ln){var Gn=se.changes[Ln];if(Gn.origin=z,ut&&!oc(x,Gn,!1))return xe.length=0,{};Xe.push(si(x,Gn));var rr=Ln?ll(x,Gn):xt(xe);Ml(x,Gn,rr,ci(x,Gn)),!Ln&&x.cm&&x.cm.scrollIntoView({from:Gn.from,to:Oa(Gn)});var yr=[];Qo(x,function(er,wr){!wr&&Nt(yr,er.history)==-1&&(ru(er.history,Gn),yr.push(er.history)),Ml(er,Gn,null,ci(er,Gn))})},At=se.changes.length-1;At>=0;--At){var cn=It(At);if(cn)return cn.v}}}}function sc(x,z){if(z!=0&&(x.first+=z,x.sel=new wo(wn(x.sel.ranges,function(ie){return new Ei(Qt(ie.anchor.line+z,ie.anchor.ch),Qt(ie.head.line+z,ie.head.ch))}),x.sel.primIndex),x.cm)){kn(x.cm,x.first,x.first-z,z);for(var ne=x.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)po(x.cm,te,"gutter")}}function Ml(x,z,ne,te){if(x.cm&&!x.cm.curOp)return Ar(x.cm,Ml)(x,z,ne,te);if(z.to.line<x.first){sc(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 ie=z.text.length-1-(x.first-z.from.line);sc(x,ie),z={from:Qt(x.first,0),to:Qt(z.to.line+ie,z.to.ch),text:[xt(z.text)],origin:z.origin}}var se=x.lastLine();z.to.line>se&&(z={from:z.from,to:Qt(se,Ot(x,se).text.length),text:[z.text[0]],origin:z.origin}),z.removed=Sn(x,z.from,z.to),ne||(ne=ll(x,z)),x.cm?pd(x.cm,z,te):zs(x,z,te),nu(x,ne,yt),x.cantEdit&&Ac(x,Qt(x.firstLine(),0))&&(x.cantEdit=!1)}}function pd(x,z,ne){var te=x.doc,ie=x.display,se=z.from,me=z.to,xe=!1,Ae=se.line;x.options.lineWrapping||(Ae=sn($a(Ot(te,se.line))),te.iter(Ae,me.line+1,function(At){if(At==ie.maxLine)return xe=!0,!0})),te.sel.contains(z.from,z.to)>-1&&fs(x),zs(te,z,ne,Si(x)),x.options.lineWrapping||(te.iter(Ae,se.line+z.text.length,function(At){var cn=Hn(At);cn>ie.maxLineLength&&(ie.maxLine=At,ie.maxLineLength=cn,ie.maxLineChanged=!0,xe=!1)}),xe&&(x.curOp.updateMaxLine=!0)),wa(te,se.line),Ga(x,400);var Le=z.text.length-(me.line-se.line)-1;z.full?kn(x):se.line==me.line&&z.text.length==1&&!ul(x.doc,z)?po(x,se.line,"text"):kn(x,se.line,me.line+1,Le);var Xe=$i(x,"changes"),ut=$i(x,"change");if(ut||Xe){var It={from:se,to:me,text:z.text,removed:z.removed,origin:z.origin};ut&&Qn(x,"change",x,It),Xe&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(It)}x.display.selForContextMenu=null}function Su(x,z,ne,te,ie){var se;te||(te=ne),Tn(te,ne)<0&&(se=[te,ne],ne=se[0],te=se[1]),typeof z=="string"&&(z=x.splitLines(z)),yl(x,{from:ne,to:te,text:z,origin:ie})}function md(x,z,ne,te){ne<x.line?x.line+=te:z<x.line&&(x.line=z,x.ch=0)}function Mc(x,z,ne,te){for(var ie=0;ie<x.length;++ie){var se=x[ie],me=!0;if(se.ranges){se.copied||(se=x[ie]=se.deepCopy(),se.copied=!0);for(var xe=0;xe<se.ranges.length;xe++)md(se.ranges[xe].anchor,z,ne,te),md(se.ranges[xe].head,z,ne,te);continue}for(var Ae=0;Ae<se.changes.length;++Ae){var Le=se.changes[Ae];if(ne<Le.from.line)Le.from=Qt(Le.from.line+te,Le.from.ch),Le.to=Qt(Le.to.line+te,Le.to.ch);else if(z<=Le.to.line){me=!1;break}}me||(x.splice(0,ie+1),ie=0)}}function ru(x,z){var ne=z.from.line,te=z.to.line,ie=z.text.length-(te-ne)-1;Mc(x.done,ne,te,ie),Mc(x.undone,ne,te,ie)}function Ou(x,z,ne,te){var ie=z,se=z;return typeof z=="number"?se=Ot(x,Bi(x,z)):ie=sn(z),ie==null?null:(te(se,ie)&&x.cm&&po(x.cm,ie,ne),se)}function jl(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}jl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ne=x,te=x+z;ne<te;++ne){var ie=this.lines[ne];this.height-=ie.height,na(ie),Qn(ie,"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 Ru(x){this.children=x;for(var z=0,ne=0,te=0;te<x.length;++te){var ie=x[te];z+=ie.chunkSize(),ne+=ie.height,ie.parent=this}this.size=z,this.height=ne,this.parent=null}Ru.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],ie=te.chunkSize();if(x<ie){var se=Math.min(z,ie-x),me=te.height;if(te.removeInner(x,se),this.height-=me-te.height,ie==se&&(this.children.splice(ne--,1),te.parent=null),(z-=se)==0)break;x=0}else x-=ie}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof jl))){var xe=[];this.collapse(xe),this.children=[new jl(xe)],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 ie=this.children[te],se=ie.chunkSize();if(x<=se){if(ie.insertInner(x,z,ne),ie.lines&&ie.lines.length>50){for(var me=ie.lines.length%25+25,xe=me;xe<ie.lines.length;){var Ae=new jl(ie.lines.slice(xe,xe+=25));ie.height-=Ae.height,this.children.splice(++te,0,Ae),Ae.parent=this}ie.lines=ie.lines.slice(0,me),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 Ru(z);if(x.parent){x.size-=ne.size,x.height-=ne.height;var ie=Nt(x.parent.children,x);x.parent.children.splice(ie+1,0,ne)}else{var te=new Ru(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 ie=this.children[te],se=ie.chunkSize();if(x<se){var me=Math.min(z,se-x);if(ie.iterN(x,me,ne))return!0;if((z-=me)==0)break;x=0}else x-=se}}};var iu=function(x,z,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=x,this.node=z};iu.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ne=this.line,te=sn(ne);if(!(te==null||!z)){for(var ie=0;ie<z.length;++ie)z[ie]==this&&z.splice(ie--,1);z.length||(ne.widgets=null);var se=Ca(this);Bn(ne,Math.max(0,ne.height-se)),x&&(Wn(x,function(){lc(x,ne,-se),po(x,te,"widget")}),Qn(x,"lineWidgetCleared",x,this,te))}},iu.prototype.changed=function(){var x=this,z=this.height,ne=this.doc.cm,te=this.line;this.height=null;var ie=Ca(this)-z;ie&&(Ko(this.doc,te)||Bn(te,te.height+ie),ne&&Wn(ne,function(){ne.curOp.forceUpdate=!0,lc(ne,te,ie),Qn(ne,"lineWidgetChanged",ne,x,sn(te))}))},la(iu);function lc(x,z,ne){Zn(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&pn(x,ne)}function Kc(x,z,ne,te){var ie=new iu(x,ne,te),se=x.cm;return se&&ie.noHScroll&&(se.display.alignWidgets=!0),Ou(x,z,"widget",function(me){var xe=me.widgets||(me.widgets=[]);if(ie.insertAt==null?xe.push(ie):xe.splice(Math.min(xe.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=me,se&&!Ko(x,me)){var Ae=Zn(me)<x.scrollTop;Bn(me,me.height+Ca(ie)),Ae&&pn(se,ie.height),se.curOp.forceUpdate=!0}return!0}),se&&Qn(se,"lineWidgetAdded",se,ie,typeof z=="number"?z:sn(z)),ie}var Zc=0,au=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++Zc};au.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&_r(x),$i(this,"clear")){var ne=this.find();ne&&Qn(this,"clear",ne.from,ne.to)}for(var te=null,ie=null,se=0;se<this.lines.length;++se){var me=this.lines[se],xe=ga(me.markedSpans,this);x&&!this.collapsed?po(x,sn(me),"text"):x&&(xe.to!=null&&(ie=sn(me)),xe.from!=null&&(te=sn(me))),me.markedSpans=va(me.markedSpans,xe),xe.from==null&&this.collapsed&&!Ko(this.doc,me)&&x&&Bn(me,Ve(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ae=0;Ae<this.lines.length;++Ae){var Le=$a(this.lines[Ae]),Xe=Hn(Le);Xe>x.display.maxLineLength&&(x.display.maxLine=Le,x.display.maxLineLength=Xe,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&kn(x,te,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Vr(x.doc)),x&&Qn(x,"markerCleared",x,this,te,ie),z&&Qi(x),this.parent&&this.parent.clear()}},au.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ne,te,ie=0;ie<this.lines.length;++ie){var se=this.lines[ie],me=ga(se.markedSpans,this);if(me.from!=null&&(ne=Qt(z?se:sn(se),me.from),x==-1))return ne;if(me.to!=null&&(te=Qt(z?se:sn(se),me.to),x==1))return te}return ne&&{from:ne,to:te}},au.prototype.changed=function(){var x=this,z=this.find(-1,!0),ne=this,te=this.doc.cm;!z||!te||Wn(te,function(){var ie=z.line,se=sn(z.line),me=no(te,se);if(me&&(Rs(me),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Ko(ne.doc,ie)&&ne.height!=null){var xe=ne.height;ne.height=null;var Ae=Ca(ne)-xe;Ae&&Bn(ie,ie.height+Ae)}Qn(te,"markerChanged",te,x)})},au.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||Nt(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},au.prototype.detachLine=function(x){if(this.lines.splice(Nt(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},la(au);function kl(x,z,ne,te,ie){if(te&&te.shared)return Qa(x,z,ne,te,ie);if(x.cm&&!x.cm.curOp)return Ar(x.cm,kl)(x,z,ne,te,ie);var se=new au(x,ie),me=Tn(z,ne);if(te&&Nn(te,se,!1),me>0||me==0&&se.clearWhenEmpty!==!1)return se;if(se.replacedWith&&(se.collapsed=!0,se.widgetNode=ht("span",[se.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||se.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(se.widgetNode.insertLeft=!0)),se.collapsed){if(Cs(x,z.line,z,ne,se)||z.line!=ne.line&&Cs(x,ne.line,z,ne,se))throw new Error("Inserting collapsed marker partially overlapping an existing one");Oi()}se.addToHistory&&ja(x,{from:z,to:ne,origin:"markText"},x.sel,NaN);var xe=z.line,Ae=x.cm,Le;if(x.iter(xe,ne.line+1,function(ut){Ae&&se.collapsed&&!Ae.options.lineWrapping&&$a(ut)==Ae.display.maxLine&&(Le=!0),se.collapsed&&xe!=z.line&&Bn(ut,0),Ka(ut,new ma(se,xe==z.line?z.ch:null,xe==ne.line?ne.ch:null)),++xe}),se.collapsed&&x.iter(z.line,ne.line+1,function(ut){Ko(x,ut)&&Bn(ut,0)}),se.clearOnEnter&&Sr(se,"beforeCursorEnter",function(){return se.clear()}),se.readOnly&&(ki(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),se.collapsed&&(se.id=++Zc,se.atomic=!0),Ae){if(Le&&(Ae.curOp.updateMaxLine=!0),se.collapsed)kn(Ae,z.line,ne.line+1);else if(se.className||se.startStyle||se.endStyle||se.css||se.attributes||se.title)for(var Xe=z.line;Xe<=ne.line;Xe++)po(Ae,Xe,"text");se.atomic&&Vr(Ae.doc),Qn(Ae,"markerAdded",Ae,se)}return se}var Ni=function(x,z){this.markers=x,this.primary=z;for(var ne=0;ne<x.length;++ne)x[ne].parent=this};Ni.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Qn(this,"clear")}},Ni.prototype.find=function(x,z){return this.primary.find(x,z)},la(Ni);function Qa(x,z,ne,te,ie){te=Nn(te),te.shared=!1;var se=[kl(x,z,ne,te,ie)],me=se[0],xe=te.widgetNode;return Qo(x,function(Ae){xe&&(te.widgetNode=xe.cloneNode(!0)),se.push(kl(Ae,tr(Ae,z),tr(Ae,ne),te,ie));for(var Le=0;Le<Ae.linked.length;++Le)if(Ae.linked[Le].isParent)return;me=xt(se)}),new Ni(se,me)}function ou(x){return x.findMarks(Qt(x.first,0),x.clipPos(Qt(x.lastLine())),function(z){return z.parent})}function Vc(x,z){for(var ne=0;ne<z.length;ne++){var te=z[ne],ie=te.find(),se=x.clipPos(ie.from),me=x.clipPos(ie.to);if(Tn(se,me)){var xe=kl(x,se,me,te.primary,te.primary.type);te.markers.push(xe),xe.parent=te}}}function vs(x){for(var z=function(te){var ie=x[te],se=[ie.primary.doc];Qo(ie.primary.doc,function(Ae){return se.push(Ae)});for(var me=0;me<ie.markers.length;me++){var xe=ie.markers[me];Nt(se,xe.doc)==-1&&(xe.parent=null,ie.markers.splice(me--,1))}},ne=0;ne<x.length;ne++)z(ne)}var Gc=0,Do=function(x,z,ne,te,ie){if(!(this instanceof Do))return new Do(x,z,ne,te,ie);ne==null&&(ne=0),Ru.call(this,[new jl([new sr("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var se=Qt(ne,0);this.sel=Po(se),this.history=new cl(null),this.id=++Gc,this.modeOption=z,this.lineSep=te,this.direction=ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),zs(this,{from:se,to:se,text:x}),Co(this,Po(se),yt)};Do.prototype=ce(Ru.prototype,{constructor:Do,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=In(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:Fi(function(x){var z=Qt(this.first,0),ne=this.first+this.size-1;yl(this,{from:z,to:Qt(ne,Ot(this,ne).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&Dn(this.cm,0,0),Co(this,Po(z),yt)}),replaceRange:function(x,z,ne,te){z=tr(this,z),ne=ne?tr(this,ne):z,Su(this,x,z,ne,te)},getRange:function(x,z,ne){var te=Sn(this,tr(this,x),tr(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($r(this,x))return Ot(this,x)},getLineNumber:function(x){return sn(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=Ot(this,x)),$a(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return tr(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:Fi(function(x,z,ne){Nu(this,tr(this,typeof x=="number"?Qt(x,z||0):x),null,ne)}),setSelection:Fi(function(x,z,ne){Nu(this,tr(this,x),tr(this,z||x),ne)}),extendSelection:Fi(function(x,z,ne){El(this,tr(this,x),z&&tr(this,z),ne)}),extendSelections:Fi(function(x,z){fr(this,nn(this,x),z)}),extendSelectionsBy:Fi(function(x,z){var ne=wn(this.sel.ranges,x);fr(this,nn(this,ne),z)}),setSelections:Fi(function(x,z,ne){if(x.length){for(var te=[],ie=0;ie<x.length;ie++)te[ie]=new Ei(tr(this,x[ie].anchor),tr(this,x[ie].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),Co(this,go(this.cm,te,z),ne)}}),addSelection:Fi(function(x,z,ne){var te=this.sel.ranges.slice(0);te.push(new Ei(tr(this,x),tr(this,z||x))),Co(this,go(this.cm,te,te.length-1),ne)}),getSelection:function(x){for(var z=this.sel.ranges,ne,te=0;te<z.length;te++){var ie=Sn(this,z[te].from(),z[te].to());ne=ne?ne.concat(ie):ie}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 ie=Sn(this,ne[te].from(),ne[te].to());x!==!1&&(ie=ie.join(x||this.lineSeparator())),z[te]=ie}return z},replaceSelection:function(x,z,ne){for(var te=[],ie=0;ie<this.sel.ranges.length;ie++)te[ie]=x;this.replaceSelections(te,z,ne||"+input")},replaceSelections:Fi(function(x,z,ne){for(var te=[],ie=this.sel,se=0;se<ie.ranges.length;se++){var me=ie.ranges[se];te[se]={from:me.from(),to:me.to(),text:this.splitLines(x[se]),origin:ne}}for(var xe=z&&z!="end"&&gs(this,te,z),Ae=te.length-1;Ae>=0;Ae--)yl(this,te[Ae]);xe?us(this,xe):this.cm&&Cn(this.cm)}),undo:Fi(function(){_l(this,"undo")}),redo:Fi(function(){_l(this,"redo")}),undoSelection:Fi(function(){_l(this,"undo",!0)}),redoSelection:Fi(function(){_l(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 ie=0;ie<x.undone.length;ie++)x.undone[ie].ranges||++ne;return{undo:z,redo:ne}},clearHistory:function(){var x=this;this.history=new cl(this.history.maxGeneration),Qo(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:vl(this.history.done),undone:vl(this.history.undone)}},setHistory:function(x){var z=this.history=new cl(this.history.maxGeneration);z.done=vl(x.done.slice(0),null,!0),z.undone=vl(x.undone.slice(0),null,!0)},setGutterMarker:Fi(function(x,z,ne){return Ou(this,x,"gutter",function(te){var ie=te.gutterMarkers||(te.gutterMarkers={});return ie[z]=ne,!ne&&fe(ie)&&(te.gutterMarkers=null),!0})}),clearGutter:Fi(function(x){var z=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[x]&&Ou(z,ne,"gutter",function(){return ne.gutterMarkers[x]=null,fe(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!$r(this,x)||(z=x,x=Ot(this,x),!x))return null}else if(z=sn(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:Fi(function(x,z,ne){return Ou(this,x,z=="gutter"?"gutter":"class",function(te){var ie=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!te[ie])te[ie]=ne;else{if(De(ne).test(te[ie]))return!1;te[ie]+=" "+ne}return!0})}),removeLineClass:Fi(function(x,z,ne){return Ou(this,x,z=="gutter"?"gutter":"class",function(te){var ie=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",se=te[ie];if(se)if(ne==null)te[ie]=null;else{var me=se.match(De(ne));if(!me)return!1;var xe=me.index+me[0].length;te[ie]=se.slice(0,me.index)+(!me.index||xe==se.length?"":" ")+se.slice(xe)||null}else return!1;return!0})}),addLineWidget:Fi(function(x,z,ne){return Kc(this,x,z,ne)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ne){return kl(this,tr(this,x),tr(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=tr(this,x),kl(this,x,x,ne,"bookmark")},findMarksAt:function(x){x=tr(this,x);var z=[],ne=Ot(this,x.line).markedSpans;if(ne)for(var te=0;te<ne.length;++te){var ie=ne[te];(ie.from==null||ie.from<=x.ch)&&(ie.to==null||ie.to>=x.ch)&&z.push(ie.marker.parent||ie.marker)}return z},findMarks:function(x,z,ne){x=tr(this,x),z=tr(this,z);var te=[],ie=x.line;return this.iter(x.line,z.line+1,function(se){var me=se.markedSpans;if(me)for(var xe=0;xe<me.length;xe++){var Ae=me[xe];!(Ae.to!=null&&ie==x.line&&x.ch>=Ae.to||Ae.from==null&&ie!=x.line||Ae.from!=null&&ie==z.line&&Ae.from>=z.ch)&&(!ne||ne(Ae.marker))&&te.push(Ae.marker.parent||Ae.marker)}++ie}),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(ie){var se=ie.text.length+te;if(se>x)return z=x,!0;x-=se,++ne}),tr(this,Qt(ne,z))},indexFromPos:function(x){x=tr(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 Do(In(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 Do(In(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}],Vc(te,ou(this)),te},unlinkDoc:function(x){if(x instanceof di&&(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),vs(ou(this));break}}if(x.history==this.history){var te=[x.id];Qo(x,function(ie){return te.push(ie.id)},!0),x.history=new cl(null),x.history.done=vl(this.history.done,te),x.history.undone=vl(this.history.undone,te)}},iterLinkedDocs:function(x){Qo(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):ns(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Fi(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Ol(this.cm))})}),Do.prototype.eachLine=Do.prototype.iter;var uc=0;function gd(x){var z=this;if(zu(z),!(pr(z,x)||ia(z.display,x))){ea(x),We&&(uc=+new Date);var ne=vn(z,x,!0),te=x.dataTransfer.files;if(!(!ne||z.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var ie=te.length,se=Array(ie),me=0,xe=function(){++me==ie&&Ar(z,function(){ne=tr(z.doc,ne);var At={from:ne,to:ne,text:z.doc.splitLines(se.filter(function(cn){return cn!=null}).join(z.doc.lineSeparator())),origin:"paste"};yl(z.doc,At),us(z.doc,Po(tr(z.doc,ne),tr(z.doc,Oa(At))))})()},Ae=function(At,cn){if(z.options.allowDropFileTypes&&Nt(z.options.allowDropFileTypes,At.type)==-1){xe();return}var Ln=new FileReader;Ln.onerror=function(){return xe()},Ln.onload=function(){var Gn=Ln.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Gn)){xe();return}se[cn]=Gn,xe()},Ln.readAsText(At)},Le=0;Le<te.length;Le++)Ae(te[Le],Le);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 Xe=x.dataTransfer.getData("Text");if(Xe){var ut;if(z.state.draggingText&&!z.state.draggingText.copy&&(ut=z.listSelections()),nu(z.doc,Po(ne,ne)),ut)for(var It=0;It<ut.length;++It)Su(z.doc,"",ut[It].anchor,ut[It].head,"drag");z.replaceSelection(Xe,"around","paste"),z.display.input.focus()}}catch(At){}}}}function Hd(x,z){if(We&&(!x.state.draggingText||+new Date-uc<100)){ks(z);return}if(!(pr(x,z)||ia(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!lt)){var ne=pt("img",null,null,"position: fixed; left: 0; top: 0;");ne.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",rt&&(ne.width=ne.height=1,x.display.wrapper.appendChild(ne),ne._top=ne.offsetTop),z.dataTransfer.setDragImage(ne,0,0),rt&&ne.parentNode.removeChild(ne)}}function cc(x,z){var ne=vn(x,z);if(ne){var te=document.createDocumentFragment();it(x,ne,te),x.display.dragCursor||(x.display.dragCursor=pt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),_t(x.display.dragCursor,te)}}function zu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function su(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ne=[],te=0;te<z.length;te++){var ie=z[te].CodeMirror;ie&&ne.push(ie)}ne.length&&ne[0].operation(function(){for(var se=0;se<ne.length;se++)x(ne[se])})}}var zn=!1;function Uc(){zn||(_u(),zn=!0)}function _u(){var x;Sr(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,su(kc)},100))}),Sr(window,"blur",function(){return su(Pt)})}function kc(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var bl={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"},dc=0;dc<10;dc++)bl[dc+48]=bl[dc+96]=String(dc);for(var hc=65;hc<=90;hc++)bl[hc]=String.fromCharCode(hc);for(var fc=1;fc<=12;fc++)bl[fc+111]=bl[fc+63235]="F"+fc;var Ra={};Ra.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"},Ra.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"},Ra.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"},Ra.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"]},Ra.default=He?Ra.macDefault:Ra.pcDefault;function Wd(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ne,te,ie,se,me=0;me<z.length-1;me++){var xe=z[me];if(/^(cmd|meta|m)$/i.test(xe))se=!0;else if(/^a(lt)?$/i.test(xe))ne=!0;else if(/^(c|ctrl|control)$/i.test(xe))te=!0;else if(/^s(hift)?$/i.test(xe))ie=!0;else throw new Error("Unrecognized modifier name: "+xe)}return ne&&(x="Alt-"+x),te&&(x="Ctrl-"+x),se&&(x="Cmd-"+x),ie&&(x="Shift-"+x),x}function Dc(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 ie=wn(ne.split(" "),Wd),se=0;se<ie.length;se++){var me=void 0,xe=void 0;se==ie.length-1?(xe=ie.join(" "),me=te):(xe=ie.slice(0,se+1).join(" "),me="...");var Ae=z[xe];if(!Ae)z[xe]=me;else if(Ae!=me)throw new Error("Inconsistent bindings for "+xe)}delete x[ne]}for(var Le in z)x[Le]=z[Le];return x}function Dl(x,z,ne,te){z=As(z);var ie=z.call?z.call(x,te):z[x];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&ne(ie))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return Dl(x,z.fallthrough,ne,te);for(var se=0;se<z.fallthrough.length;se++){var me=Dl(x,z.fallthrough[se],ne,te);if(me)return me}}}function pc(x){var z=typeof x=="string"?x:bl[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function Hl(x,z,ne){var te=x;return z.altKey&&te!="Alt"&&(x="Alt-"+x),(dt?z.metaKey:z.ctrlKey)&&te!="Ctrl"&&(x="Ctrl-"+x),(dt?z.ctrlKey:z.metaKey)&&te!="Mod"&&(x="Cmd-"+x),!ne&&z.shiftKey&&te!="Shift"&&(x="Shift-"+x),x}function Eu(x,z){if(rt&&x.keyCode==34&&x.char)return!1;var ne=bl[x.keyCode];return ne==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ne=x.code),Hl(ne,x,z))}function As(x){return typeof x=="string"?Ra[x]:x}function tl(x,z){for(var ne=x.doc.sel.ranges,te=[],ie=0;ie<ne.length;ie++){for(var se=z(ne[ie]);te.length&&Tn(se.from,xt(te).to)<=0;){var me=te.pop();if(Tn(me.from,se.from)<0){se.from=me.from;break}}te.push(se)}Wn(x,function(){for(var xe=te.length-1;xe>=0;xe--)Su(x.doc,"",te[xe].from,te[xe].to,"+delete");Cn(x)})}function cs(x,z,ne){var te=Jn(x.text,z+ne,ne);return te<0||te>x.text.length?null:te}function Bl(x,z,ne){var te=cs(x,z.ch,ne);return te==null?null:new Qt(z.line,te,ne<0?"after":"before")}function lu(x,z,ne,te,ie){if(x){z.doc.direction=="rtl"&&(ie=-ie);var se=fa(ne,z.doc.direction);if(se){var me=ie<0?xt(se):se[0],xe=ie<0==(me.level==1),Ae=xe?"after":"before",Le;if(me.level>0||z.doc.direction=="rtl"){var Xe=Ao(z,ne);Le=ie<0?ne.text.length-1:0;var ut=ha(z,Xe,Le).top;Le=xr(function(It){return ha(z,Xe,It).top==ut},ie<0==(me.level==1)?me.from:me.to-1,Le),Ae=="before"&&(Le=cs(ne,Le,1))}else Le=ie<0?me.to:me.from;return new Qt(te,Le,Ae)}}return new Qt(te,ie<0?ne.text.length:0,ie<0?"before":"after")}function Ll(x,z,ne,te){var ie=fa(z,x.doc.direction);if(!ie)return Bl(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=ii(ie,ne.ch,ne.sticky),me=ie[se];if(x.doc.direction=="ltr"&&me.level%2==0&&(te>0?me.to>ne.ch:me.from<ne.ch))return Bl(z,ne,te);var xe=function(rr,yr){return cs(z,rr instanceof Qt?rr.ch:rr,yr)},Ae,Le=function(rr){return x.options.lineWrapping?(Ae=Ae||Ao(x,z),Fu(x,z,Ae,rr)):{begin:0,end:z.text.length}},Xe=Le(ne.sticky=="before"?xe(ne,-1):ne.ch);if(x.doc.direction=="rtl"||me.level==1){var ut=me.level==1==te<0,It=xe(ne,ut?1:-1);if(It!=null&&(ut?It<=me.to&&It<=Xe.end:It>=me.from&&It>=Xe.begin)){var At=ut?"before":"after";return new Qt(ne.line,It,At)}}var cn=function(rr,yr,er){for(var wr=function(Ja,Ms){return Ms?new Qt(ne.line,xe(Ja,1),"before"):new Qt(ne.line,Ja,"after")};rr>=0&&rr<ie.length;rr+=yr){var Wr=ie[rr],Gr=yr>0==(Wr.level!=1),Wi=Gr?er.begin:xe(er.end,-1);if(Wr.from<=Wi&&Wi<Wr.to||(Wi=Gr?Wr.from:xe(Wr.to,-1),er.begin<=Wi&&Wi<er.end))return wr(Wi,Gr)}},Ln=cn(se+te,te,Xe);if(Ln)return Ln;var Gn=te>0?Xe.end:xe(Xe.begin,-1);return Gn!=null&&!(te>0&&Gn==z.text.length)&&(Ln=cn(te>0?0:ie.length-1,te,Le(Gn)),Ln)?Ln:null}var Au={selectAll:Hc,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),yt)},killLine:function(x){return tl(x,function(z){if(z.empty()){var ne=Ot(x.doc,z.head.line).text.length;return z.head.ch==ne&&z.head.line<x.lastLine()?{from:z.head,to:Qt(z.head.line+1,0)}:{from:z.head,to:Qt(z.head.line,ne)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return tl(x,function(z){return{from:Qt(z.from().line,0),to:tr(x.doc,Qt(z.to().line+1,0))}})},delLineLeft:function(x){return tl(x,function(z){return{from:Qt(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return tl(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 tl(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(Qt(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(Qt(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return Bc(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return vd(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return Lc(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")},Gt)},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")},Gt)},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/)?vd(x,z.head):te},Gt)},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,ie=0;ie<ne.length;ie++){var se=ne[ie].from(),me=ze(x.getLine(se.line),se.ch,te);z.push(hn(te-me%te))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return Wn(x,function(){for(var z=x.listSelections(),ne=[],te=0;te<z.length;te++)if(z[te].empty()){var ie=z[te].head,se=Ot(x.doc,ie.line).text;if(se){if(ie.ch==se.length&&(ie=new Qt(ie.line,ie.ch-1)),ie.ch>0)ie=new Qt(ie.line,ie.ch+1),x.replaceRange(se.charAt(ie.ch-1)+se.charAt(ie.ch-2),Qt(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>x.doc.first){var me=Ot(x.doc,ie.line-1).text;me&&(ie=new Qt(ie.line,1),x.replaceRange(se.charAt(0)+x.doc.lineSeparator()+me.charAt(me.length-1),Qt(ie.line-1,me.length-1),ie,"+transpose"))}}ne.push(new Ei(ie,ie))}x.setSelections(ne)})},newlineAndIndent:function(x){return Wn(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);Cn(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Bc(x,z){var ne=Ot(x.doc,z),te=$a(ne);return te!=ne&&(z=sn(te)),lu(!0,x,te,z,1)}function Lc(x,z){var ne=Ot(x.doc,z),te=Zs(ne);return te!=ne&&(z=sn(te)),lu(!0,x,ne,z,-1)}function vd(x,z){var ne=Bc(x,z.line),te=Ot(x.doc,ne.line),ie=fa(te,x.doc.direction);if(!ie||ie[0].level==0){var se=Math.max(ne.ch,te.text.search(/\S/)),me=z.line==ne.line&&z.ch<=se&&z.ch;return Qt(ne.line,me?0:se,ne.sticky)}return ne}function Oo(x,z,ne){if(typeof z=="string"&&(z=Au[z],!z))return!1;x.display.input.ensurePolled();var te=x.display.shift,ie=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ne&&(x.display.shift=!1),ie=z(x)!=xn}finally{x.display.shift=te,x.state.suppressEdits=!1}return ie}function Il(x,z,ne){for(var te=0;te<x.state.keyMaps.length;te++){var ie=Dl(z,x.state.keyMaps[te],ne,x);if(ie)return ie}return x.options.extraKeys&&Dl(z,x.options.extraKeys,ne,x)||Dl(z,x.options.keyMap,ne,x)}var Kd=new ke;function uu(x,z,ne,te){var ie=x.state.keySeq;if(ie){if(pc(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:Kd.set(50,function(){x.state.keySeq==ie&&(x.state.keySeq=null,x.display.input.reset())}),Ic(x,ie+" "+z,ne,te))return!0}return Ic(x,z,ne,te)}function Ic(x,z,ne,te){var ie=Il(x,z,te);return ie=="multi"&&(x.state.keySeq=z),ie=="handled"&&Qn(x,"keyHandled",x,z,ne),(ie=="handled"||ie=="multi")&&(ea(ne),Mt(x)),!!ie}function Zi(x,z){var ne=Eu(z,!0);return ne?z.shiftKey&&!x.state.keySeq?uu(x,"Shift-"+ne,z,function(te){return Oo(x,te,!0)})||uu(x,ne,z,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return Oo(x,te)}):uu(x,ne,z,function(te){return Oo(x,te)}):!1}function cu(x,z,ne){return uu(x,"'"+ne+"'",z,function(te){return Oo(x,te,!0)})}var Ls=null;function ju(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=nt(),!pr(z,x))){We&&Oe<11&&x.keyCode==27&&(x.returnValue=!1);var ne=x.keyCode;z.display.shift=ne==16||x.shiftKey;var te=Zi(z,x);rt&&(Ls=te?ne:null,!te&&ne==88&&!Sl&&(He?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ae&&!He&&!te&&ne==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&tn(z)}}function tn(x){var z=x.display.lineDiv;kt(z,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&(Ct(z,"CodeMirror-crosshair"),Fa(document,"keyup",ne),Fa(document,"mouseover",ne))}Sr(document,"keyup",ne),Sr(document,"mouseover",ne)}function Qc(x){x.keyCode==16&&(this.doc.sel.shift=!1),pr(this,x)}function Yc(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(ia(z.display,x)||pr(z,x)||x.ctrlKey&&!x.altKey||He&&x.metaKey)){var ne=x.keyCode,te=x.charCode;if(rt&&ne==Ls){Ls=null,ea(x);return}if(!(rt&&(!x.which||x.which<10)&&Zi(z,x))){var ie=String.fromCharCode(te==null?ne:te);ie!="\b"&&(cu(z,x,ie)||z.display.input.onKeyPress(x))}}}var Jc=400,Xc=function(x,z,ne){this.time=x,this.pos=z,this.button=ne};Xc.prototype.compare=function(x,z,ne){return this.time+Jc>x&&Tn(z,this.pos)==0&&ne==this.button};var Wl,Hu;function Zd(x,z){var ne=+new Date;return Hu&&Hu.compare(ne,x,z)?(Wl=Hu=null,"triple"):Wl&&Wl.compare(ne,x,z)?(Hu=new Xc(ne,x,z),Wl=null,"double"):(Wl=new Xc(ne,x,z),Hu=null,"single")}function ys(x){var z=this,ne=z.display;if(!(pr(z,x)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=x.shiftKey,ia(ne,x)){Ye||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!Ir(z,x)){var te=vn(z,x),ie=gi(x),se=te?Zd(te,ie):"single";window.focus(),ie==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&du(z,ie,te,se,x))&&(ie==1?te?Wu(z,te,se,x):za(x)==ne.scroller&&ea(x):ie==2?(te&&El(z.doc,te),setTimeout(function(){return ne.input.focus()},20)):ie==3&&(Qe?z.display.input.onContextMenu(x):yn(z)))}}}function du(x,z,ne,te,ie){var se="Click";return te=="double"?se="Double"+se:te=="triple"&&(se="Triple"+se),se=(z==1?"Left":z==2?"Middle":"Right")+se,uu(x,Hl(se,ie),ie,function(me){if(typeof me=="string"&&(me=Au[me]),!me)return!1;var xe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),xe=me(x,ne)!=xn}finally{x.state.suppressEdits=!1}return xe})}function mc(x,z,ne){var te=x.getOption("configureMouse"),ie=te?te(x,z,ne):{};if(ie.unit==null){var se=Ke?ne.shiftKey&&ne.metaKey:ne.altKey;ie.unit=se?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(ie.extend==null||x.doc.extend)&&(ie.extend=x.doc.extend||ne.shiftKey),ie.addNew==null&&(ie.addNew=He?ne.metaKey:ne.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(He?ne.altKey:ne.ctrlKey)),ie}function Wu(x,z,ne,te){We?setTimeout(mn(St,x),0):x.curOp.focus=nt();var ie=mc(x,ne,te),se=x.doc.sel,me;x.options.dragDrop&&Ti&&!x.isReadOnly()&&ne=="single"&&(me=se.contains(z))>-1&&(Tn((me=se.ranges[me]).from(),z)<0||z.xRel>0)&&(Tn(me.to(),z)>0||z.xRel<0)?qc(x,te,z,ie):$c(x,te,z,ie)}function qc(x,z,ne,te){var ie=x.display,se=!1,me=Ar(x,function(Le){Ye&&(ie.scroller.draggable=!1),x.state.draggingText=!1,Fa(ie.wrapper.ownerDocument,"mouseup",me),Fa(ie.wrapper.ownerDocument,"mousemove",xe),Fa(ie.scroller,"dragstart",Ae),Fa(ie.scroller,"drop",me),se||(ea(Le),te.addNew||El(x.doc,ne,null,null,te.extend),Ye&&!lt||We&&Oe==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),xe=function(Le){se=se||Math.abs(z.clientX-Le.clientX)+Math.abs(z.clientY-Le.clientY)>=10},Ae=function(){return se=!0};Ye&&(ie.scroller.draggable=!0),x.state.draggingText=me,me.copy=!te.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Sr(ie.wrapper.ownerDocument,"mouseup",me),Sr(ie.wrapper.ownerDocument,"mousemove",xe),Sr(ie.scroller,"dragstart",Ae),Sr(ie.scroller,"drop",me),yn(x),setTimeout(function(){return ie.input.focus()},20)}function yd(x,z,ne){if(ne=="char")return new Ei(z,z);if(ne=="word")return x.findWordAt(z);if(ne=="line")return new Ei(Qt(z.line,0),tr(x.doc,Qt(z.line+1,0)));var te=ne(x,z);return new Ei(te.from,te.to)}function $c(x,z,ne,te){var ie=x.display,se=x.doc;ea(z);var me,xe,Ae=se.sel,Le=Ae.ranges;if(te.addNew&&!te.extend?(xe=se.sel.contains(ne),xe>-1?me=Le[xe]:me=new Ei(ne,ne)):(me=se.sel.primary(),xe=se.sel.primIndex),te.unit=="rectangle")te.addNew||(me=new Ei(ne,ne)),ne=vn(x,z,!0,!0),xe=-1;else{var Xe=yd(x,ne,te.unit);te.extend?me=js(me,Xe.anchor,Xe.head,te.extend):me=Xe}te.addNew?xe==-1?(xe=Le.length,Co(se,go(x,Le.concat([me]),xe),{scroll:!1,origin:"*mouse"})):Le.length>1&&Le[xe].empty()&&te.unit=="char"&&!te.extend?(Co(se,go(x,Le.slice(0,xe).concat(Le.slice(xe+1)),0),{scroll:!1,origin:"*mouse"}),Ae=se.sel):Hs(se,xe,me,ct):(xe=0,Co(se,new wo([me],0),ct),Ae=se.sel);var ut=ne;function It(er){if(Tn(ut,er)!=0)if(ut=er,te.unit=="rectangle"){for(var wr=[],Wr=x.options.tabSize,Gr=ze(Ot(se,ne.line).text,ne.ch,Wr),Wi=ze(Ot(se,er.line).text,er.ch,Wr),Ja=Math.min(Gr,Wi),Ms=Math.max(Gr,Wi),Bo=Math.min(ne.line,er.line),nl=Math.min(x.lastLine(),Math.max(ne.line,er.line));Bo<=nl;Bo++){var rl=Ot(se,Bo).text,ds=jn(rl,Ja,Wr);Ja==Ms?wr.push(new Ei(Qt(Bo,ds),Qt(Bo,ds))):rl.length>ds&&wr.push(new Ei(Qt(Bo,ds),Qt(Bo,jn(rl,Ms,Wr))))}wr.length||wr.push(new Ei(ne,ne)),Co(se,go(x,Ae.ranges.slice(0,xe).concat(wr),xe),{origin:"*mouse",scroll:!1}),x.scrollIntoView(er)}else{var il=me,mi=yd(x,er,te.unit),Ro=il.anchor,Lo;Tn(mi.anchor,Ro)>0?(Lo=mi.head,Ro=Xr(il.from(),mi.anchor)):(Lo=mi.anchor,Ro=ua(il.to(),mi.head));var zo=Ae.ranges.slice(0);zo[xe]=oa(x,new Ei(tr(se,Ro),Lo)),Co(se,go(x,zo,xe),ct)}}var At=ie.wrapper.getBoundingClientRect(),cn=0;function Ln(er){var wr=++cn,Wr=vn(x,er,!0,te.unit=="rectangle");if(Wr)if(Tn(Wr,ut)!=0){x.curOp.focus=nt(),It(Wr);var Gr=bt(ie,se);(Wr.line>=Gr.to||Wr.line<Gr.from)&&setTimeout(Ar(x,function(){cn==wr&&Ln(er)}),150)}else{var Wi=er.clientY<At.top?-20:er.clientY>At.bottom?20:0;Wi&&setTimeout(Ar(x,function(){cn==wr&&(ie.scroller.scrollTop+=Wi,Ln(er))}),50)}}function Gn(er){x.state.selectingText=!1,cn=1/0,er&&(ea(er),ie.input.focus()),Fa(ie.wrapper.ownerDocument,"mousemove",rr),Fa(ie.wrapper.ownerDocument,"mouseup",yr),se.history.lastSelOrigin=null}var rr=Ar(x,function(er){er.buttons===0||!gi(er)?Gn(er):Ln(er)}),yr=Ar(x,Gn);x.state.selectingText=yr,Sr(ie.wrapper.ownerDocument,"mousemove",rr),Sr(ie.wrapper.ownerDocument,"mouseup",yr)}function oa(x,z){var ne=z.anchor,te=z.head,ie=Ot(x.doc,ne.line);if(Tn(ne,te)==0&&ne.sticky==te.sticky)return z;var se=fa(ie);if(!se)return z;var me=ii(se,ne.ch,ne.sticky),xe=se[me];if(xe.from!=ne.ch&&xe.to!=ne.ch)return z;var Ae=me+(xe.from==ne.ch==(xe.level!=1)?0:1);if(Ae==0||Ae==se.length)return z;var Le;if(te.line!=ne.line)Le=(te.line-ne.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Xe=ii(se,te.ch,te.sticky),ut=Xe-me||(te.ch-ne.ch)*(xe.level==1?-1:1);Xe==Ae-1||Xe==Ae?Le=ut<0:Le=ut>0}var It=se[Ae+(Le?-1:0)],At=Le==(It.level==1),cn=At?It.from:It.to,Ln=At?"after":"before";return ne.ch==cn&&ne.sticky==Ln?z:new Ei(new Qt(ne.line,cn,Ln),te)}function Lr(x,z,ne,te){var ie,se;if(z.touches)ie=z.touches[0].clientX,se=z.touches[0].clientY;else try{ie=z.clientX,se=z.clientY}catch(It){return!1}if(ie>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&ea(z);var me=x.display,xe=me.lineDiv.getBoundingClientRect();if(se>xe.bottom||!$i(x,ne))return $o(z);se-=xe.top-me.viewOffset;for(var Ae=0;Ae<x.display.gutterSpecs.length;++Ae){var Le=me.gutters.childNodes[Ae];if(Le&&Le.getBoundingClientRect().right>=ie){var Xe=kr(x.doc,se),ut=x.display.gutterSpecs[Ae];return wi(x,ne,x,Xe,ut.className,z),$o(z)}}}function Ir(x,z){return Lr(x,z,"gutterClick",!0)}function zi(x,z){ia(x.display,z)||ao(x,z)||pr(x,z,"contextmenu")||Qe||x.display.input.onContextMenu(z)}function ao(x,z){return $i(x,"gutterContextMenu")?Lr(x,z,"gutterContextMenu",!1):!1}function hu(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Jl(x)}var bs={toString:function(){return"CodeMirror.Init"}},Kl={},xl={};function gc(x){var z=x.optionHandlers;function ne(te,ie,se,me){x.defaults[te]=ie,se&&(z[te]=me?function(xe,Ae,Le){Le!=bs&&se(xe,Ae,Le)}:se)}x.defineOption=ne,x.Init=bs,ne("value","",function(te,ie){return te.setValue(ie)},!0),ne("mode",null,function(te,ie){te.doc.modeOption=ie,$s(te)},!0),ne("indentUnit",2,$s,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){aa(te),Jl(te),kn(te)},!0),ne("lineSeparator",null,function(te,ie){if(te.doc.lineSep=ie,!!ie){var se=[],me=te.doc.first;te.doc.iter(function(Ae){for(var Le=0;;){var Xe=Ae.text.indexOf(ie,Le);if(Xe==-1)break;Le=Xe+ie.length,se.push(Qt(me,Xe))}me++});for(var xe=se.length-1;xe>=0;xe--)Su(te.doc,ie,se[xe],Qt(se[xe].line,se[xe].ch+ie.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ie,se){te.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),se!=bs&&te.refresh()}),ne("specialCharPlaceholder",Zo,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,ie){return te.getInputField().spellcheck=ie},!0),ne("autocorrect",!1,function(te,ie){return te.getInputField().autocorrect=ie},!0),ne("autocapitalize",!1,function(te,ie){return te.getInputField().autocapitalize=ie},!0),ne("rtlMoveVisually",!ft),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){hu(te),ls(te)},!0),ne("keyMap","default",function(te,ie,se){var me=As(ie),xe=se!=bs&&As(se);xe&&xe.detach&&xe.detach(te,me),me.attach&&me.attach(te,xe||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,dl,!0),ne("gutters",[],function(te,ie){te.display.gutterSpecs=Uo(ie,te.options.lineNumbers),ls(te)},!0),ne("fixedGutter",!0,function(te,ie){te.display.gutters.style.left=ie?or(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return ar(te)},!0),ne("scrollbarStyle","native",function(te){Hr(te),ar(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ie){te.display.gutterSpecs=Uo(te.options.gutters,ie),ls(te)},!0),ne("firstLineNumber",1,ls,!0),ne("lineNumberFormatter",function(te){return te},ls,!0),ne("showCursorWhenSelecting",!1,Pe,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ie){ie=="nocursor"&&(Pt(te),te.display.input.blur()),te.display.input.readOnlyChanged(ie)}),ne("screenReaderLabel",null,function(te,ie){ie=ie===""?null:ie,te.display.input.screenReaderLabelChanged(ie)}),ne("disableInput",!1,function(te,ie){ie||te.display.input.reset()},!0),ne("dragDrop",!0,Mu),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,Pe,!0),ne("singleCursorHeightPerLine",!0,Pe,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,aa,!0),ne("addModeClass",!1,aa,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ie){return te.doc.history.undoDepth=ie}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,aa,!0),ne("moveInputWithCursor",!0,function(te,ie){ie||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ie){return te.display.input.getField().tabIndex=ie||""}),ne("autofocus",null),ne("direction","ltr",function(te,ie){return te.doc.setDirection(ie)},!0),ne("phrases",null)}function Mu(x,z,ne){var te=ne&&ne!=bs;if(!z!=!te){var ie=x.display.dragFunctions,se=z?Sr:Fa;se(x.display.scroller,"dragstart",ie.start),se(x.display.scroller,"dragenter",ie.enter),se(x.display.scroller,"dragover",ie.over),se(x.display.scroller,"dragleave",ie.leave),se(x.display.scroller,"drop",ie.drop)}}function dl(x){x.options.lineWrapping?(kt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(Ct(x.display.wrapper,"CodeMirror-wrap"),$n(x)),Br(x),kn(x),Jl(x),setTimeout(function(){return ar(x)},100)}function di(x,z){var ne=this;if(!(this instanceof di))return new di(x,z);this.options=z=z?Nn(z):{},Nn(Kl,z,!1);var te=z.value;typeof te=="string"?te=new Do(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var ie=new di.inputStyles[z.inputStyle](this),se=this.display=new tu(x,te,ie,z);se.wrapper.CodeMirror=this,hu(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Hr(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 ke,keySeq:null,specialChars:null},z.autofocus&&!je&&se.input.focus(),We&&Oe<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),lf(this),Uc(),_r(this),this.curOp.forceUpdate=!0,gl(this,te),z.autofocus&&!je||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Rt(ne)},20):Pt(this);for(var me in xl)xl.hasOwnProperty(me)&&xl[me](this,z[me],bs);ml(this),z.finishInit&&z.finishInit(this);for(var xe=0;xe<Vd.length;++xe)Vd[xe](this);Qi(this),Ye&&z.lineWrapping&&getComputedStyle(se.lineDiv).textRendering=="optimizelegibility"&&(se.lineDiv.style.textRendering="auto")}di.defaults=Kl,di.optionHandlers=xl;function lf(x){var z=x.display;Sr(z.scroller,"mousedown",Ar(x,ys)),We&&Oe<11?Sr(z.scroller,"dblclick",Ar(x,function(Ae){if(!pr(x,Ae)){var Le=vn(x,Ae);if(!(!Le||Ir(x,Ae)||ia(x.display,Ae))){ea(Ae);var Xe=x.findWordAt(Le);El(x.doc,Xe.anchor,Xe.head)}}})):Sr(z.scroller,"dblclick",function(Ae){return pr(x,Ae)||ea(Ae)}),Sr(z.scroller,"contextmenu",function(Ae){return zi(x,Ae)}),Sr(z.input.getField(),"contextmenu",function(Ae){z.scroller.contains(Ae.target)||zi(x,Ae)});var ne,te={end:0};function ie(){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 Le=Ae.touches[0];return Le.radiusX<=1&&Le.radiusY<=1}function me(Ae,Le){if(Le.left==null)return!0;var Xe=Le.left-Ae.left,ut=Le.top-Ae.top;return Xe*Xe+ut*ut>20*20}Sr(z.scroller,"touchstart",function(Ae){if(!pr(x,Ae)&&!se(Ae)&&!Ir(x,Ae)){z.input.ensurePolled(),clearTimeout(ne);var Le=+new Date;z.activeTouch={start:Le,moved:!1,prev:Le-te.end<=300?te:null},Ae.touches.length==1&&(z.activeTouch.left=Ae.touches[0].pageX,z.activeTouch.top=Ae.touches[0].pageY)}}),Sr(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),Sr(z.scroller,"touchend",function(Ae){var Le=z.activeTouch;if(Le&&!ia(z,Ae)&&Le.left!=null&&!Le.moved&&new Date-Le.start<300){var Xe=x.coordsChar(z.activeTouch,"page"),ut;!Le.prev||me(Le,Le.prev)?ut=new Ei(Xe,Xe):!Le.prev.prev||me(Le,Le.prev.prev)?ut=x.findWordAt(Xe):ut=new Ei(Qt(Xe.line,0),tr(x.doc,Qt(Xe.line+1,0))),x.setSelection(ut.anchor,ut.head),x.focus(),ea(Ae)}ie()}),Sr(z.scroller,"touchcancel",ie),Sr(z.scroller,"scroll",function(){z.scroller.clientHeight&&(Yr(x,z.scroller.scrollTop),xi(x,z.scroller.scrollLeft,!0),wi(x,"scroll",x))}),Sr(z.scroller,"mousewheel",function(Ae){return sl(x,Ae)}),Sr(z.scroller,"DOMMouseScroll",function(Ae){return sl(x,Ae)}),Sr(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(Ae){pr(x,Ae)||ks(Ae)},over:function(Ae){pr(x,Ae)||(cc(x,Ae),ks(Ae))},start:function(Ae){return Hd(x,Ae)},drop:Ar(x,gd),leave:function(Ae){pr(x,Ae)||zu(x)}};var xe=z.input.getField();Sr(xe,"keyup",function(Ae){return Qc.call(x,Ae)}),Sr(xe,"keydown",Ar(x,ju)),Sr(xe,"keypress",Ar(x,Yc)),Sr(xe,"focus",function(Ae){return Rt(x,Ae)}),Sr(xe,"blur",function(Ae){return Pt(x,Ae)})}var Vd=[];di.defineInitHook=function(x){return Vd.push(x)};function Zl(x,z,ne,te){var ie=x.doc,se;ne==null&&(ne="add"),ne=="smart"&&(ie.mode.indent?se=bi(x,z).state:ne="prev");var me=x.options.tabSize,xe=Ot(ie,z),Ae=ze(xe.text,null,me);xe.stateAfter&&(xe.stateAfter=null);var Le=xe.text.match(/^\s*/)[0],Xe;if(!te&&!/\S/.test(xe.text))Xe=0,ne="not";else if(ne=="smart"&&(Xe=ie.mode.indent(se,xe.text.slice(Le.length),xe.text),Xe==xn||Xe>150)){if(!te)return;ne="prev"}ne=="prev"?z>ie.first?Xe=ze(Ot(ie,z-1).text,null,me):Xe=0:ne=="add"?Xe=Ae+x.options.indentUnit:ne=="subtract"?Xe=Ae-x.options.indentUnit:typeof ne=="number"&&(Xe=Ae+ne),Xe=Math.max(0,Xe);var ut="",It=0;if(x.options.indentWithTabs)for(var At=Math.floor(Xe/me);At;--At)It+=me,ut+=" ";if(It<Xe&&(ut+=hn(Xe-It)),ut!=Le)return Su(ie,ut,Qt(z,0),Qt(z,Le.length),"+input"),xe.stateAfter=null,!0;for(var cn=0;cn<ie.sel.ranges.length;cn++){var Ln=ie.sel.ranges[cn];if(Ln.head.line==z&&Ln.head.ch<Le.length){var Gn=Qt(z,Le.length);Hs(ie,cn,new Ei(Gn,Gn));break}}}var Vl=null;function Ku(x){Vl=x}function Gd(x,z,ne,te,ie){var se=x.doc;x.display.shift=!1,te||(te=se.sel);var me=+new Date-200,xe=ie=="paste"||x.state.pasteIncoming>me,Ae=ns(z),Le=null;if(xe&&te.ranges.length>1)if(Vl&&Vl.text.join(`
|
|
|
`)==z){if(te.ranges.length%Vl.text.length==0){Le=[];for(var Xe=0;Xe<Vl.text.length;Xe++)Le.push(se.splitLines(Vl.text[Xe]))}}else Ae.length==te.ranges.length&&x.options.pasteLinesPerSelection&&(Le=wn(Ae,function(rr){return[rr]}));for(var ut=x.curOp.updateInput,It=te.ranges.length-1;It>=0;It--){var At=te.ranges[It],cn=At.from(),Ln=At.to();At.empty()&&(ne&&ne>0?cn=Qt(cn.line,cn.ch-ne):x.state.overwrite&&!xe?Ln=Qt(Ln.line,Math.min(Ot(se,Ln.line).text.length,Ln.ch+xt(Ae).length)):xe&&Vl&&Vl.lineWise&&Vl.text.join(`
|
|
|
`)==Ae.join(`
|
|
|
`)&&(cn=Ln=Qt(cn.line,0)));var Gn={from:cn,to:Ln,text:Le?Le[It%Le.length]:Ae,origin:ie||(xe?"paste":x.state.cutIncoming>me?"cut":"+input")};yl(x.doc,Gn),Qn(x,"inputRead",x,Gn)}z&&!xe&&Qd(x,z),Cn(x),x.curOp.updateInput<2&&(x.curOp.updateInput=ut),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Ud(x,z){var ne=x.clipboardData&&x.clipboardData.getData("Text");if(ne)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&Wn(z,function(){return Gd(z,ne,0,null,"paste")}),!0}function Qd(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ne=x.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ie=ne.ranges[te];if(!(ie.head.ch>100||te&&ne.ranges[te-1].head.line==ie.head.line)){var se=x.getModeAt(ie.head),me=!1;if(se.electricChars){for(var xe=0;xe<se.electricChars.length;xe++)if(z.indexOf(se.electricChars.charAt(xe))>-1){me=Zl(x,ie.head.line,"smart");break}}else se.electricInput&&se.electricInput.test(Ot(x.doc,ie.head.line).text.slice(0,ie.head.ch))&&(me=Zl(x,ie.head.line,"smart"));me&&Qn(x,"electricInput",x,ie.head.line)}}}function Tc(x){for(var z=[],ne=[],te=0;te<x.doc.sel.ranges.length;te++){var ie=x.doc.sel.ranges[te].head.line,se={anchor:Qt(ie,0),head:Qt(ie+1,0)};ne.push(se),z.push(x.getRange(se.anchor,se.head))}return{text:z,ranges:ne}}function Sh(x,z,ne,te){x.setAttribute("autocorrect",ne?"":"off"),x.setAttribute("autocapitalize",te?"":"off"),x.setAttribute("spellcheck",!!z)}function Yd(){var x=pt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=pt("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ye?x.style.width="1000px":x.setAttribute("wrap","off"),Je&&(x.style.border="1px solid black"),Sh(x),z}function Jd(x){var z=x.optionHandlers,ne=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,ie){var se=this.options,me=se[te];se[te]==ie&&te!="mode"||(se[te]=ie,z.hasOwnProperty(te)&&Ar(this,z[te])(this,ie,me),wi(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,ie){this.state.keyMaps[ie?"push":"unshift"](As(te))},removeKeyMap:function(te){for(var ie=this.state.keyMaps,se=0;se<ie.length;++se)if(ie[se]==te||ie[se].name==te)return ie.splice(se,1),!0},addOverlay:oi(function(te,ie){var se=te.token?te:x.getMode(this.options,te);if(se.startState)throw new Error("Overlays may not be stateful.");on(this.state.overlays,{mode:se,modeSpec:te,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(me){return me.priority}),this.state.modeGen++,kn(this)}),removeOverlay:oi(function(te){for(var ie=this.state.overlays,se=0;se<ie.length;++se){var me=ie[se].modeSpec;if(me==te||typeof te=="string"&&me.name==te){ie.splice(se,1),this.state.modeGen++,kn(this);return}}}),indentLine:oi(function(te,ie,se){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),$r(this.doc,te)&&Zl(this,te,ie,se)}),indentSelection:oi(function(te){for(var ie=this.doc.sel.ranges,se=-1,me=0;me<ie.length;me++){var xe=ie[me];if(xe.empty())xe.head.line>se&&(Zl(this,xe.head.line,te,!0),se=xe.head.line,me==this.doc.sel.primIndex&&Cn(this));else{var Ae=xe.from(),Le=xe.to(),Xe=Math.max(se,Ae.line);se=Math.min(this.lastLine(),Le.line-(Le.ch?0:1))+1;for(var ut=Xe;ut<se;++ut)Zl(this,ut,te);var It=this.doc.sel.ranges;Ae.ch==0&&ie.length==It.length&&It[me].from().ch>0&&Hs(this.doc,me,new Ei(Ae,It[me].to()),yt)}}}),getTokenAt:function(te,ie){return mr(this,te,ie)},getLineTokens:function(te,ie){return mr(this,Qt(te),ie,!0)},getTokenTypeAt:function(te){te=tr(this.doc,te);var ie=ti(this,Ot(this.doc,te.line)),se=0,me=(ie.length-1)/2,xe=te.ch,Ae;if(xe==0)Ae=ie[2];else for(;;){var Le=se+me>>1;if((Le?ie[Le*2-1]:0)>=xe)me=Le;else if(ie[Le*2+1]<xe)se=Le+1;else{Ae=ie[Le*2+2];break}}var Xe=Ae?Ae.indexOf("overlay "):-1;return Xe<0?Ae:Xe==0?null:Ae.slice(0,Xe-1)},getModeAt:function(te){var ie=this.doc.mode;return ie.innerMode?x.innerMode(ie,this.getTokenAt(te).state).mode:ie},getHelper:function(te,ie){return this.getHelpers(te,ie)[0]},getHelpers:function(te,ie){var se=[];if(!ne.hasOwnProperty(ie))return se;var me=ne[ie],xe=this.getModeAt(te);if(typeof xe[ie]=="string")me[xe[ie]]&&se.push(me[xe[ie]]);else if(xe[ie])for(var Ae=0;Ae<xe[ie].length;Ae++){var Le=me[xe[ie][Ae]];Le&&se.push(Le)}else xe.helperType&&me[xe.helperType]?se.push(me[xe.helperType]):me[xe.name]&&se.push(me[xe.name]);for(var Xe=0;Xe<me._global.length;Xe++){var ut=me._global[Xe];ut.pred(xe,this)&&Nt(se,ut.val)==-1&&se.push(ut.val)}return se},getStateAfter:function(te,ie){var se=this.doc;return te=Bi(se,te==null?se.first+se.size-1:te),bi(this,te+1,ie).state},cursorCoords:function(te,ie){var se,me=this.doc.sel.primary();return te==null?se=me.head:typeof te=="object"?se=tr(this.doc,te):se=te?me.from():me.to(),No(this,se,ie||"page")},charCoords:function(te,ie){return Bs(this,tr(this.doc,te),ie||"page")},coordsChar:function(te,ie){return te=Nl(this,te,ie||"page"),bu(this,te.left,te.top)},lineAtHeight:function(te,ie){return te=Nl(this,{top:te,left:0},ie||"page").top,kr(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,ie,se){var me=!1,xe;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,me=!0),xe=Ot(this.doc,te)}else xe=te;return Xl(this,xe,{top:0,left:0},ie||"page",se||me).top+(me?this.doc.height-Zn(xe):0)},defaultTextHeight:function(){return Ve(this.display)},defaultCharWidth:function(){return lr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ie,se,me,xe){var Ae=this.display;te=No(this,tr(this.doc,te));var Le=te.bottom,Xe=te.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),Ae.sizer.appendChild(ie),me=="over")Le=te.top;else if(me=="above"||me=="near"){var ut=Math.max(Ae.wrapper.clientHeight,this.doc.height),It=Math.max(Ae.sizer.clientWidth,Ae.lineSpace.clientWidth);(me=="above"||te.bottom+ie.offsetHeight>ut)&&te.top>ie.offsetHeight?Le=te.top-ie.offsetHeight:te.bottom+ie.offsetHeight<=ut&&(Le=te.bottom),Xe+ie.offsetWidth>It&&(Xe=It-ie.offsetWidth)}ie.style.top=Le+"px",ie.style.left=ie.style.right="",xe=="right"?(Xe=Ae.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(xe=="left"?Xe=0:xe=="middle"&&(Xe=(Ae.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=Xe+"px"),se&&qn(this,{left:Xe,top:Le,right:Xe+ie.offsetWidth,bottom:Le+ie.offsetHeight})},triggerOnKeyDown:oi(ju),triggerOnKeyPress:oi(Yc),triggerOnKeyUp:Qc,triggerOnMouseDown:oi(ys),execCommand:function(te){if(Au.hasOwnProperty(te))return Au[te].call(null,this)},triggerElectric:oi(function(te){Qd(this,te)}),findPosH:function(te,ie,se,me){var xe=1;ie<0&&(xe=-1,ie=-ie);for(var Ae=tr(this.doc,te),Le=0;Le<ie&&(Ae=bd(this.doc,Ae,xe,se,me),!Ae.hitSide);++Le);return Ae},moveH:oi(function(te,ie){var se=this;this.extendSelectionsBy(function(me){return se.display.shift||se.doc.extend||me.empty()?bd(se.doc,me.head,te,ie,se.options.rtlMoveVisually):te<0?me.from():me.to()},Gt)}),deleteH:oi(function(te,ie){var se=this.doc.sel,me=this.doc;se.somethingSelected()?me.replaceSelection("",null,"+delete"):tl(this,function(xe){var Ae=bd(me,xe.head,te,ie,!1);return te<0?{from:Ae,to:xe.head}:{from:xe.head,to:Ae}})}),findPosV:function(te,ie,se,me){var xe=1,Ae=me;ie<0&&(xe=-1,ie=-ie);for(var Le=tr(this.doc,te),Xe=0;Xe<ie;++Xe){var ut=No(this,Le,"div");if(Ae==null?Ae=ut.left:ut.left=Ae,Le=Eh(this,ut,xe,se),Le.hitSide)break}return Le},moveV:oi(function(te,ie){var se=this,me=this.doc,xe=[],Ae=!this.display.shift&&!me.extend&&me.sel.somethingSelected();if(me.extendSelectionsBy(function(Xe){if(Ae)return te<0?Xe.from():Xe.to();var ut=No(se,Xe.head,"div");Xe.goalColumn!=null&&(ut.left=Xe.goalColumn),xe.push(ut.left);var It=Eh(se,ut,te,ie);return ie=="page"&&Xe==me.sel.primary()&&pn(se,Bs(se,It,"div").top-ut.top),It},Gt),xe.length)for(var Le=0;Le<me.sel.ranges.length;Le++)me.sel.ranges[Le].goalColumn=xe[Le]}),findWordAt:function(te){var ie=this.doc,se=Ot(ie,te.line).text,me=te.ch,xe=te.ch;if(se){var Ae=this.getHelper(te,"wordChars");(te.sticky=="before"||xe==se.length)&&me?--me:++xe;for(var Le=se.charAt(me),Xe=Be(Le,Ae)?function(ut){return Be(ut,Ae)}:/\s/.test(Le)?function(ut){return/\s/.test(ut)}:function(ut){return!/\s/.test(ut)&&!Be(ut)};me>0&&Xe(se.charAt(me-1));)--me;for(;xe<se.length&&Xe(se.charAt(xe));)++xe}return new Ei(Qt(te.line,me),Qt(te.line,xe))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?kt(this.display.cursorDiv,"CodeMirror-overwrite"):Ct(this.display.cursorDiv,"CodeMirror-overwrite"),wi(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==nt()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:oi(function(te,ie){Dn(this,te,ie)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-to(this)-this.display.barHeight,width:te.scrollWidth-to(this)-this.display.barWidth,clientHeight:xo(this),clientWidth:da(this)}},scrollIntoView:oi(function(te,ie){te==null?(te={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof te=="number"?te={from:Qt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=ie||0,te.from.line!=null?Rn(this,te):Or(this,te.from,te.to,te.margin)}),setSize:oi(function(te,ie){var se=this,me=function(Ae){return typeof Ae=="number"||/^\d+$/.test(String(Ae))?Ae+"px":Ae};te!=null&&(this.display.wrapper.style.width=me(te)),ie!=null&&(this.display.wrapper.style.height=me(ie)),this.options.lineWrapping&&yu(this);var xe=this.display.viewFrom;this.doc.iter(xe,this.display.viewTo,function(Ae){if(Ae.widgets){for(var Le=0;Le<Ae.widgets.length;Le++)if(Ae.widgets[Le].noHScroll){po(se,xe,"widget");break}}++xe}),this.curOp.forceUpdate=!0,wi(this,"refresh",this)}),operation:function(te){return Wn(this,te)},startOperation:function(){return _r(this)},endOperation:function(){return Qi(this)},refresh:oi(function(){var te=this.display.cachedTextHeight;kn(this),this.curOp.forceUpdate=!0,Jl(this),Dn(this,this.doc.scrollLeft,this.doc.scrollTop),ss(this.display),(te==null||Math.abs(te-Ve(this.display))>.5||this.options.lineWrapping)&&Br(this),wi(this,"refresh",this)}),swapDoc:oi(function(te){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),gl(this,te),Jl(this),this.display.input.reset(),Dn(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Qn(this,"swapDoc",this,ie),ie}),phrase:function(te){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,te)?ie[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}},la(x),x.registerHelper=function(te,ie,se){ne.hasOwnProperty(te)||(ne[te]=x[te]={_global:[]}),ne[te][ie]=se},x.registerGlobalHelper=function(te,ie,se,me){x.registerHelper(te,ie,me),ne[te]._global.push({pred:se,val:me})}}function bd(x,z,ne,te,ie){var se=z,me=ne,xe=Ot(x,z.line),Ae=ie&&x.direction=="rtl"?-ne:ne;function Le(){var yr=z.line+Ae;return yr<x.first||yr>=x.first+x.size?!1:(z=new Qt(yr,z.ch,z.sticky),xe=Ot(x,yr))}function Xe(yr){var er;if(te=="codepoint"){var wr=xe.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(wr)?er=null:er=new Qt(z.line,Math.max(0,Math.min(xe.text.length,z.ch+ne*(wr>=55296&&wr<56320?2:1))),-ne)}else ie?er=Ll(x.cm,xe,z,ne):er=Bl(xe,z,ne);if(er==null)if(!yr&&Le())z=lu(ie,x.cm,xe,z.line,Ae);else return!1;else z=er;return!0}if(te=="char"||te=="codepoint")Xe();else if(te=="column")Xe(!0);else if(te=="word"||te=="group")for(var ut=null,It=te=="group",At=x.cm&&x.cm.getHelper(z,"wordChars"),cn=!0;!(ne<0&&!Xe(!cn));cn=!1){var Ln=xe.text.charAt(z.ch)||`
|
|
|
`,Gn=Be(Ln,At)?"w":It&&Ln==`
|
|
|
`?"n":!It||/\s/.test(Ln)?null:"p";if(It&&!cn&&!Gn&&(Gn="s"),ut&&ut!=Gn){ne<0&&(ne=1,Xe(),z.sticky="after");break}if(Gn&&(ut=Gn),ne>0&&!Xe(!cn))break}var rr=Ac(x,z,se,me,!0);return yi(se,rr)&&(rr.hitSide=!0),rr}function Eh(x,z,ne,te){var ie=x.doc,se=z.left,me;if(te=="page"){var xe=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ae=Math.max(xe-.5*Ve(x.display),3);me=(ne>0?z.bottom:z.top)+ne*Ae}else te=="line"&&(me=ne>0?z.bottom+3:z.top-3);for(var Le;Le=bu(x,se,me),!!Le.outside;){if(ne<0?me<=0:me>=ie.height){Le.hitSide=!0;break}me+=ne*5}return Le}var Ha=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ke,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ha.prototype.init=function(x){var z=this,ne=this,te=ne.cm,ie=ne.div=x.lineDiv;Sh(ie,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function se(xe){for(var Ae=xe.target;Ae;Ae=Ae.parentNode){if(Ae==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ae.className))break}return!1}Sr(ie,"paste",function(xe){!se(xe)||pr(te,xe)||Ud(xe,te)||Oe<=11&&setTimeout(Ar(te,function(){return z.updateFromDOM()}),20)}),Sr(ie,"compositionstart",function(xe){z.composing={data:xe.data,done:!1}}),Sr(ie,"compositionupdate",function(xe){z.composing||(z.composing={data:xe.data,done:!1})}),Sr(ie,"compositionend",function(xe){z.composing&&(xe.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),Sr(ie,"touchstart",function(){return ne.forceCompositionEnd()}),Sr(ie,"input",function(){z.composing||z.readFromDOMSoon()});function me(xe){if(!(!se(xe)||pr(te,xe))){if(te.somethingSelected())Ku({lineWise:!1,text:te.getSelections()}),xe.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ae=Tc(te);Ku({lineWise:!0,text:Ae.text}),xe.type=="cut"&&te.operation(function(){te.setSelections(Ae.ranges,0,yt),te.replaceSelection("",null,"cut")})}else return;if(xe.clipboardData){xe.clipboardData.clearData();var Le=Vl.text.join(`
|
|
|
`);if(xe.clipboardData.setData("Text",Le),xe.clipboardData.getData("Text")==Le){xe.preventDefault();return}}var Xe=Yd(),ut=Xe.firstChild;te.display.lineSpace.insertBefore(Xe,te.display.lineSpace.firstChild),ut.value=Vl.text.join(`
|
|
|
`);var It=document.activeElement;Kt(ut),setTimeout(function(){te.display.lineSpace.removeChild(Xe),It.focus(),It==ie&&ne.showPrimarySelection()},50)}}Sr(ie,"copy",me),Sr(ie,"cut",me)},Ha.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Ha.prototype.prepareSelection=function(){var x=Ne(this.cm,!1);return x.focus=document.activeElement==this.div,x},Ha.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Ha.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ha.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ne=z.doc.sel.primary(),te=ne.from(),ie=ne.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||ie.line<z.display.viewFrom){x.removeAllRanges();return}var se=xd(z,x.anchorNode,x.anchorOffset),me=xd(z,x.focusNode,x.focusOffset);if(!(se&&!se.bad&&me&&!me.bad&&Tn(Xr(se,me),te)==0&&Tn(ua(se,me),ie)==0)){var xe=z.display.view,Ae=te.line>=z.display.viewFrom&&Ah(z,te)||{node:xe[0].measure.map[2],offset:0},Le=ie.line<z.display.viewTo&&Ah(z,ie);if(!Le){var Xe=xe[xe.length-1].measure,ut=Xe.maps?Xe.maps[Xe.maps.length-1]:Xe.map;Le={node:ut[ut.length-1],offset:ut[ut.length-2]-ut[ut.length-3]}}if(!Ae||!Le){x.removeAllRanges();return}var It=x.rangeCount&&x.getRangeAt(0),At;try{At=Ge(Ae.node,Ae.offset,Le.offset,Le.node)}catch(cn){}At&&(!ae&&z.state.focused?(x.collapse(Ae.node,Ae.offset),At.collapsed||(x.removeAllRanges(),x.addRange(At))):(x.removeAllRanges(),x.addRange(At)),It&&x.anchorNode==null?x.addRange(It):ae&&this.startGracePeriod()),this.rememberSelection()}},Ha.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)},Ha.prototype.showMultipleSelections=function(x){_t(this.cm.display.cursorDiv,x.cursors),_t(this.cm.display.selectionDiv,x.selection)},Ha.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Ha.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return Et(this.div,z)},Ha.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ha.prototype.blur=function(){this.div.blur()},Ha.prototype.getField=function(){return this.div},Ha.prototype.supportsTouch=function(){return!0},Ha.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():Wn(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)},Ha.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Ha.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&&uf(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=xd(z,x.anchorNode,x.anchorOffset),te=xd(z,x.focusNode,x.focusOffset);ne&&te&&Wn(z,function(){Co(z.doc,Po(ne,te),yt),(ne.bad||te.bad)&&(z.curOp.selectionChanged=!0)})}}},Ha.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(),ie=ne.to();if(te.ch==0&&te.line>x.firstLine()&&(te=Qt(te.line-1,Ot(x.doc,te.line-1).length)),ie.ch==Ot(x.doc,ie.line).text.length&&ie.line<x.lastLine()&&(ie=Qt(ie.line+1,0)),te.line<z.viewFrom||ie.line>z.viewTo-1)return!1;var se,me,xe;te.line==z.viewFrom||(se=Yn(x,te.line))==0?(me=sn(z.view[0].line),xe=z.view[0].node):(me=sn(z.view[se].line),xe=z.view[se-1].node.nextSibling);var Ae=Yn(x,ie.line),Le,Xe;if(Ae==z.view.length-1?(Le=z.viewTo-1,Xe=z.lineDiv.lastChild):(Le=sn(z.view[Ae+1].line)-1,Xe=z.view[Ae+1].node.previousSibling),!xe)return!1;for(var ut=x.doc.splitLines(cf(x,xe,Xe,me,Le)),It=Sn(x.doc,Qt(me,0),Qt(Le,Ot(x.doc,Le).text.length));ut.length>1&&It.length>1;)if(xt(ut)==xt(It))ut.pop(),It.pop(),Le--;else if(ut[0]==It[0])ut.shift(),It.shift(),me++;else break;for(var At=0,cn=0,Ln=ut[0],Gn=It[0],rr=Math.min(Ln.length,Gn.length);At<rr&&Ln.charCodeAt(At)==Gn.charCodeAt(At);)++At;for(var yr=xt(ut),er=xt(It),wr=Math.min(yr.length-(ut.length==1?At:0),er.length-(It.length==1?At:0));cn<wr&&yr.charCodeAt(yr.length-cn-1)==er.charCodeAt(er.length-cn-1);)++cn;if(ut.length==1&&It.length==1&&me==te.line)for(;At&&At>te.ch&&yr.charCodeAt(yr.length-cn-1)==er.charCodeAt(er.length-cn-1);)At--,cn++;ut[ut.length-1]=yr.slice(0,yr.length-cn).replace(/^\u200b+/,""),ut[0]=ut[0].slice(At).replace(/\u200b+$/,"");var Wr=Qt(me,At),Gr=Qt(Le,It.length?xt(It).length-cn:0);if(ut.length>1||ut[0]||Tn(Wr,Gr))return Su(x.doc,ut,Wr,Gr,"+input"),!0},Ha.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ha.prototype.reset=function(){this.forceCompositionEnd()},Ha.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ha.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))},Ha.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Wn(this.cm,function(){return kn(x.cm)})},Ha.prototype.setUneditable=function(x){x.contentEditable="false"},Ha.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Ar(this.cm,Gd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Ha.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Ha.prototype.onContextMenu=function(){},Ha.prototype.resetPosition=function(){},Ha.prototype.needsContentAttribute=!0;function Ah(x,z){var ne=no(x,z.line);if(!ne||ne.hidden)return null;var te=Ot(x.doc,z.line),ie=Ss(ne,te,z.line),se=fa(te,x.doc.direction),me="left";if(se){var xe=ii(se,z.ch);me=xe%2?"right":"left"}var Ae=al(ie.map,z.ch,me);return Ae.offset=Ae.collapse=="right"?Ae.end:Ae.start,Ae}function uf(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Fc(x,z){return z&&(x.bad=!0),x}function cf(x,z,ne,te,ie){var se="",me=!1,xe=x.doc.lineSeparator(),Ae=!1;function Le(At){return function(cn){return cn.id==At}}function Xe(){me&&(se+=xe,Ae&&(se+=xe),me=Ae=!1)}function ut(At){At&&(Xe(),se+=At)}function It(At){if(At.nodeType==1){var cn=At.getAttribute("cm-text");if(cn){ut(cn);return}var Ln=At.getAttribute("cm-marker"),Gn;if(Ln){var rr=x.findMarks(Qt(te,0),Qt(ie+1,0),Le(+Ln));rr.length&&(Gn=rr[0].find(0))&&ut(Sn(x.doc,Gn.from,Gn.to).join(xe));return}if(At.getAttribute("contenteditable")=="false")return;var yr=/^(pre|div|p|li|table|br)$/i.test(At.nodeName);if(!/^br$/i.test(At.nodeName)&&At.textContent.length==0)return;yr&&Xe();for(var er=0;er<At.childNodes.length;er++)It(At.childNodes[er]);/^(pre|p)$/i.test(At.nodeName)&&(Ae=!0),yr&&(me=!0)}else At.nodeType==3&&ut(At.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;It(z),z!=ne;)z=z.nextSibling,Ae=!1;return se}function xd(x,z,ne){var te;if(z==x.display.lineDiv){if(te=x.display.lineDiv.childNodes[ne],!te)return Fc(x.clipPos(Qt(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 ie=0;ie<x.display.view.length;ie++){var se=x.display.view[ie];if(se.node==te)return df(se,z,ne)}}function df(x,z,ne){var te=x.text.firstChild,ie=!1;if(!z||!Et(te,z))return Fc(Qt(sn(x.line),0),!0);if(z==te&&(ie=!0,z=te.childNodes[ne],ne=0,!z)){var se=x.rest?xt(x.rest):x.line;return Fc(Qt(sn(se),se.text.length),ie)}var me=z.nodeType==3?z:null,xe=z;for(!me&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(me=z.firstChild,ne&&(ne=me.nodeValue.length));xe.parentNode!=te;)xe=xe.parentNode;var Ae=x.measure,Le=Ae.maps;function Xe(Gn,rr,yr){for(var er=-1;er<(Le?Le.length:0);er++)for(var wr=er<0?Ae.map:Le[er],Wr=0;Wr<wr.length;Wr+=3){var Gr=wr[Wr+2];if(Gr==Gn||Gr==rr){var Wi=sn(er<0?x.line:x.rest[er]),Ja=wr[Wr]+yr;return(yr<0||Gr!=Gn)&&(Ja=wr[Wr+(yr?1:0)]),Qt(Wi,Ja)}}}var ut=Xe(me,xe,ne);if(ut)return Fc(ut,ie);for(var It=xe.nextSibling,At=me?me.nodeValue.length-ne:0;It;It=It.nextSibling){if(ut=Xe(It,It.firstChild,0),ut)return Fc(Qt(ut.line,ut.ch-At),ie);At+=It.textContent.length}for(var cn=xe.previousSibling,Ln=ne;cn;cn=cn.previousSibling){if(ut=Xe(cn,cn.firstChild,-1),ut)return Fc(Qt(ut.line,ut.ch+Ln),ie);Ln+=cn.textContent.length}}var Ya=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new ke,this.hasSelection=!1,this.composing=null};Ya.prototype.init=function(x){var z=this,ne=this,te=this.cm;this.createField(x);var ie=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),Je&&(ie.style.width="0px"),Sr(ie,"input",function(){We&&Oe>=9&&z.hasSelection&&(z.hasSelection=null),ne.poll()}),Sr(ie,"paste",function(me){pr(te,me)||Ud(me,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function se(me){if(!pr(te,me)){if(te.somethingSelected())Ku({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var xe=Tc(te);Ku({lineWise:!0,text:xe.text}),me.type=="cut"?te.setSelections(xe.ranges,null,yt):(ne.prevInput="",ie.value=xe.text.join(`
|
|
|
`),Kt(ie))}else return;me.type=="cut"&&(te.state.cutIncoming=+new Date)}}Sr(ie,"cut",se),Sr(ie,"copy",se),Sr(x.scroller,"paste",function(me){if(!(ia(x,me)||pr(te,me))){if(!ie.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var xe=new Event("paste");xe.clipboardData=me.clipboardData,ie.dispatchEvent(xe)}}),Sr(x.lineSpace,"selectstart",function(me){ia(x,me)||ea(me)}),Sr(ie,"compositionstart",function(){var me=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:me,range:te.markText(me,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Sr(ie,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},Ya.prototype.createField=function(x){this.wrapper=Yd(),this.textarea=this.wrapper.firstChild},Ya.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},Ya.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ne=x.doc,te=Ne(x);if(x.options.moveInputWithCursor){var ie=No(x,ne.sel.primary().head,"div"),se=z.wrapper.getBoundingClientRect(),me=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,ie.top+me.top-se.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,ie.left+me.left-se.left))}return te},Ya.prototype.showSelection=function(x){var z=this.cm,ne=z.display;_t(ne.cursorDiv,x.cursors),_t(ne.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},Ya.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&&Kt(this.textarea),We&&Oe>=9&&(this.hasSelection=ne)}else x||(this.prevInput=this.textarea.value="",We&&Oe>=9&&(this.hasSelection=null))}},Ya.prototype.getField=function(){return this.textarea},Ya.prototype.supportsTouch=function(){return!1},Ya.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!je||nt()!=this.textarea))try{this.textarea.focus()}catch(x){}},Ya.prototype.blur=function(){this.textarea.blur()},Ya.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ya.prototype.receivedFocus=function(){this.slowPoll()},Ya.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},Ya.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)},Ya.prototype.poll=function(){var x=this,z=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||Ci(ne)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var ie=ne.value;if(ie==te&&!z.somethingSelected())return!1;if(We&&Oe>=9&&this.hasSelection===ie||He&&/[\uf700-\uf7ff]/.test(ie))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var se=ie.charCodeAt(0);if(se==8203&&!te&&(te="\u200B"),se==8666)return this.reset(),this.cm.execCommand("undo")}for(var me=0,xe=Math.min(te.length,ie.length);me<xe&&te.charCodeAt(me)==ie.charCodeAt(me);)++me;return Wn(z,function(){Gd(z,ie.slice(me),te.length-me,null,x.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?ne.value=x.prevInput="":x.prevInput=ie,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ya.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ya.prototype.onKeyPress=function(){We&&Oe>=9&&(this.hasSelection=null),this.fastPoll()},Ya.prototype.onContextMenu=function(x){var z=this,ne=z.cm,te=ne.display,ie=z.textarea;z.contextMenuPending&&z.contextMenuPending();var se=vn(ne,x),me=te.scroller.scrollTop;if(!se||rt)return;var xe=ne.options.resetSelectionOnContextMenu;xe&&ne.doc.sel.contains(se)==-1&&Ar(ne,Co)(ne.doc,Po(se),yt);var Ae=ie.style.cssText,Le=z.wrapper.style.cssText,Xe=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-Xe.top-5)+"px; left: "+(x.clientX-Xe.left-5)+`px;
|
|
|
z-index: 1000; background: `+(We?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ut;Ye&&(ut=window.scrollY),te.input.focus(),Ye&&window.scrollTo(null,ut),te.input.reset(),ne.somethingSelected()||(ie.value=z.prevInput=" "),z.contextMenuPending=At,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function It(){if(ie.selectionStart!=null){var Ln=ne.somethingSelected(),Gn="\u200B"+(Ln?ie.value:"");ie.value="\u21DA",ie.value=Gn,z.prevInput=Ln?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=Gn.length,te.selForContextMenu=ne.doc.sel}}function At(){if(z.contextMenuPending==At&&(z.contextMenuPending=!1,z.wrapper.style.cssText=Le,ie.style.cssText=Ae,We&&Oe<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=me),ie.selectionStart!=null)){(!We||We&&Oe<9)&&It();var Ln=0,Gn=function(){te.selForContextMenu==ne.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&z.prevInput=="\u200B"?Ar(ne,Hc)(ne):Ln++<10?te.detectingSelectAll=setTimeout(Gn,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(Gn,200)}}if(We&&Oe>=9&&It(),Qe){ks(x);var cn=function(){Fa(window,"mouseup",cn),setTimeout(At,20)};Sr(window,"mouseup",cn)}else setTimeout(At,50)},Ya.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},Ya.prototype.setUneditable=function(){},Ya.prototype.needsContentAttribute=!1;function vc(x,z){if(z=z?Nn(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=nt();z.autofocus=ne==x||x.getAttribute("autofocus")!=null&&ne==document.body}function te(){x.value=xe.getValue()}var ie;if(x.form&&(Sr(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var se=x.form;ie=se.submit;try{var me=se.submit=function(){te(),se.submit=ie,se.submit(),se.submit=me}}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&&(Fa(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=ie))}},x.style.display="none";var xe=di(function(Ae){return x.parentNode.insertBefore(Ae,x.nextSibling)},z);return xe}function Nc(x){x.off=Fa,x.on=Sr,x.wheelEventPixels=Es,x.Doc=Do,x.splitLines=ns,x.countColumn=ze,x.findColumn=jn,x.isWordChar=we,x.Pass=xn,x.signal=wi,x.Line=sr,x.changeEnd=Oa,x.scrollbarModel=ai,x.Pos=Qt,x.cmpPos=Tn,x.modes=pa,x.mimeModes=Ho,x.resolveMode=Mr,x.getMode=vi,x.modeExtensions=hi,x.extendMode=_i,x.copyState=Fe,x.startState=Jt,x.innerMode=Ue,x.commands=Au,x.keyMap=Ra,x.keyName=Eu,x.isModifierKey=pc,x.lookupKey=Dl,x.normalizeKeyMap=Dc,x.StringStream=Ht,x.SharedTextMarker=Ni,x.TextMarker=au,x.LineWidget=iu,x.e_preventDefault=ea,x.e_stopPropagation=pi,x.e_stop=ks,x.addClass=kt,x.contains=Et,x.rmClass=Ct,x.keyNames=bl}gc(di),Jd(di);var ku="iter insert remove copy getEditor constructor".split(" ");for(var Tl in Do.prototype)Do.prototype.hasOwnProperty(Tl)&&Nt(ku,Tl)<0&&(di.prototype[Tl]=function(x){return function(){return x.apply(this.doc,arguments)}}(Do.prototype[Tl]));return la(Do),di.inputStyles={textarea:Ya,contenteditable:Ha},di.defineMode=function(x){!di.defaults.mode&&x!="null"&&(di.defaults.mode=x),Tr.apply(this,arguments)},di.defineMIME=ir,di.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),di.defineMIME("text/plain","null"),di.defineExtension=function(x,z){di.prototype[x]=z},di.defineDocExtension=function(x,z){Do.prototype[x]=z},di.fromTextArea=vc,Nc(di),di.version="5.58.2",di})},25419:function(Dt,Xt,pe){(function(ae){ae(pe(89780),pe(15525),pe(98101))})(function(ae){"use strict";ae.defineMode("markdown",function(Ee,et){var vt=ae.getMode(Ee,"text/html"),We=vt.name=="null";function Oe(ze){if(ae.findModeByName){var ke=ae.findModeByName(ze);ke&&(ze=ke.mime||ke.mimes[0])}var Nt=ae.getMode(Ee,ze);return Nt.name=="null"?null:Nt}et.highlightFormatting===void 0&&(et.highlightFormatting=!1),et.maxBlockquoteDepth===void 0&&(et.maxBlockquoteDepth=0),et.taskLists===void 0&&(et.taskLists=!1),et.strikethrough===void 0&&(et.strikethrough=!1),et.emoji===void 0&&(et.emoji=!1),et.fencedCodeBlockHighlighting===void 0&&(et.fencedCodeBlockHighlighting=!0),et.fencedCodeBlockDefaultMode===void 0&&(et.fencedCodeBlockDefaultMode="text/plain"),et.xml===void 0&&(et.xml=!0),et.tokenTypeOverrides===void 0&&(et.tokenTypeOverrides={});var Ye={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 Ce in Ye)Ye.hasOwnProperty(Ce)&&et.tokenTypeOverrides[Ce]&&(Ye[Ce]=et.tokenTypeOverrides[Ce]);var Me=/^([*\-_])(?:\s*\1){2,}\s*$/,rt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,lt=/^\[(x| )\](?=\s)/i,Te=et.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,gt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Je=/^[^#!\[\]*_\\<>` "'(~:]+/,Re=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,je=/^\s*\[[^\]]+?\]:.*$/,He=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ke=" ";function ft(ze,ke,Nt){return ke.f=ke.inline=Nt,Nt(ze,ke)}function $e(ze,ke,Nt){return ke.f=ke.block=Nt,Nt(ze,ke)}function dt(ze){return!ze||!/\S/.test(ze.string)}function Qe(ze){if(ze.linkTitle=!1,ze.linkHref=!1,ze.linkText=!1,ze.em=!1,ze.strong=!1,ze.strikethrough=!1,ze.quote=0,ze.indentedCode=!1,ze.f==Ct){var ke=We;if(!ke){var Nt=ae.innerMode(vt,ze.htmlState);ke=Nt.mode.name=="xml"&&Nt.state.tagStart===null&&!Nt.state.context&&Nt.state.tokenize.isInText}ke&&(ze.f=ht,ze.block=De,ze.htmlState=null)}return ze.trailingSpace=0,ze.trailingSpaceNewLine=!1,ze.prevLine=ze.thisLine,ze.thisLine={stream:null},null}function De(ze,ke){var Nt=ze.column()===ke.indentation,bn=dt(ke.prevLine.stream),xn=ke.indentedCode,yt=ke.prevLine.hr,ct=ke.list!==!1,Gt=(ke.listStack[ke.listStack.length-1]||0)+3;ke.indentedCode=!1;var jn=ke.indentation;if(ke.indentationDiff===null&&(ke.indentationDiff=ke.indentation,ct)){for(ke.list=null;jn<ke.listStack[ke.listStack.length-1];)ke.listStack.pop(),ke.listStack.length?ke.indentation=ke.listStack[ke.listStack.length-1]:ke.list=!1;ke.list!==!1&&(ke.indentationDiff=jn-ke.listStack[ke.listStack.length-1])}var Zt=!bn&&!yt&&!ke.prevLine.header&&(!ct||!xn)&&!ke.prevLine.fencedCodeEnd,hn=(ke.list===!1||yt||bn)&&ke.indentation<=Gt&&ze.match(Me),xt=null;if(ke.indentationDiff>=4&&(xn||ke.prevLine.fencedCodeEnd||ke.prevLine.header||bn))return ze.skipToEnd(),ke.indentedCode=!0,Ye.code;if(ze.eatSpace())return null;if(Nt&&ke.indentation<=Gt&&(xt=ze.match(Te))&&xt[1].length<=6)return ke.quote=0,ke.header=xt[1].length,ke.thisLine.header=!0,et.highlightFormatting&&(ke.formatting="header"),ke.f=ke.inline,_t(ke);if(ke.indentation<=Gt&&ze.eat(">"))return ke.quote=Nt?1:ke.quote+1,et.highlightFormatting&&(ke.formatting="quote"),ze.eatSpace(),_t(ke);if(!hn&&!ke.setext&&Nt&&ke.indentation<=Gt&&(xt=ze.match(rt))){var wn=xt[1]?"ol":"ul";return ke.indentation=jn+ze.current().length,ke.list=!0,ke.quote=0,ke.listStack.push(ke.indentation),ke.em=!1,ke.strong=!1,ke.code=!1,ke.strikethrough=!1,et.taskLists&&ze.match(lt,!1)&&(ke.taskList=!0),ke.f=ke.inline,et.highlightFormatting&&(ke.formatting=["list","list-"+wn]),_t(ke)}else{if(Nt&&ke.indentation<=Gt&&(xt=ze.match(Re,!0)))return ke.quote=0,ke.fencedEndRE=new RegExp(xt[1]+"+ *$"),ke.localMode=et.fencedCodeBlockHighlighting&&Oe(xt[2]||et.fencedCodeBlockDefaultMode),ke.localMode&&(ke.localState=ae.startState(ke.localMode)),ke.f=ke.block=Ft,et.highlightFormatting&&(ke.formatting="code-block"),ke.code=-1,_t(ke);if(ke.setext||(!Zt||!ct)&&!ke.quote&&ke.list===!1&&!ke.code&&!hn&&!je.test(ze.string)&&(xt=ze.lookAhead(1))&&(xt=xt.match(gt)))return ke.setext?(ke.header=ke.setext,ke.setext=0,ze.skipToEnd(),et.highlightFormatting&&(ke.formatting="header")):(ke.header=xt[0].charAt(0)=="="?1:2,ke.setext=ke.header),ke.thisLine.header=!0,ke.f=ke.inline,_t(ke);if(hn)return ze.skipToEnd(),ke.hr=!0,ke.thisLine.hr=!0,Ye.hr;if(ze.peek()==="[")return ft(ze,ke,En)}return ft(ze,ke,ke.inline)}function Ct(ze,ke){var Nt=vt.token(ze,ke.htmlState);if(!We){var bn=ae.innerMode(vt,ke.htmlState);(bn.mode.name=="xml"&&bn.state.tagStart===null&&!bn.state.context&&bn.state.tokenize.isInText||ke.md_inside&&ze.current().indexOf(">")>-1)&&(ke.f=ht,ke.block=De,ke.htmlState=null)}return Nt}function Ft(ze,ke){var Nt=ke.listStack[ke.listStack.length-1]||0,bn=ke.indentation<Nt,xn=Nt+3;if(ke.fencedEndRE&&ke.indentation<=xn&&(bn||ze.match(ke.fencedEndRE))){et.highlightFormatting&&(ke.formatting="code-block");var yt;return bn||(yt=_t(ke)),ke.localMode=ke.localState=null,ke.block=De,ke.f=ht,ke.fencedEndRE=null,ke.code=0,ke.thisLine.fencedCodeEnd=!0,bn?$e(ze,ke,ke.block):yt}else return ke.localMode?ke.localMode.token(ze,ke.localState):(ze.skipToEnd(),Ye.code)}function _t(ze){var ke=[];if(ze.formatting){ke.push(Ye.formatting),typeof ze.formatting=="string"&&(ze.formatting=[ze.formatting]);for(var Nt=0;Nt<ze.formatting.length;Nt++)ke.push(Ye.formatting+"-"+ze.formatting[Nt]),ze.formatting[Nt]==="header"&&ke.push(Ye.formatting+"-"+ze.formatting[Nt]+"-"+ze.header),ze.formatting[Nt]==="quote"&&(!et.maxBlockquoteDepth||et.maxBlockquoteDepth>=ze.quote?ke.push(Ye.formatting+"-"+ze.formatting[Nt]+"-"+ze.quote):ke.push("error"))}if(ze.taskOpen)return ke.push("meta"),ke.length?ke.join(" "):null;if(ze.taskClosed)return ke.push("property"),ke.length?ke.join(" "):null;if(ze.linkHref?ke.push(Ye.linkHref,"url"):(ze.strong&&ke.push(Ye.strong),ze.em&&ke.push(Ye.em),ze.strikethrough&&ke.push(Ye.strikethrough),ze.emoji&&ke.push(Ye.emoji),ze.linkText&&ke.push(Ye.linkText),ze.code&&ke.push(Ye.code),ze.image&&ke.push(Ye.image),ze.imageAltText&&ke.push(Ye.imageAltText,"link"),ze.imageMarker&&ke.push(Ye.imageMarker)),ze.header&&ke.push(Ye.header,Ye.header+"-"+ze.header),ze.quote&&(ke.push(Ye.quote),!et.maxBlockquoteDepth||et.maxBlockquoteDepth>=ze.quote?ke.push(Ye.quote+"-"+ze.quote):ke.push(Ye.quote+"-"+et.maxBlockquoteDepth)),ze.list!==!1){var bn=(ze.listStack.length-1)%3;bn?bn===1?ke.push(Ye.list2):ke.push(Ye.list3):ke.push(Ye.list1)}return ze.trailingSpaceNewLine?ke.push("trailing-space-new-line"):ze.trailingSpace&&ke.push("trailing-space-"+(ze.trailingSpace%2?"a":"b")),ke.length?ke.join(" "):null}function pt(ze,ke){if(ze.match(Je,!0))return _t(ke)}function ht(ze,ke){var Nt=ke.text(ze,ke);if(typeof Nt!="undefined")return Nt;if(ke.list)return ke.list=null,_t(ke);if(ke.taskList){var bn=ze.match(lt,!0)[1]===" ";return bn?ke.taskOpen=!0:ke.taskClosed=!0,et.highlightFormatting&&(ke.formatting="task"),ke.taskList=!1,_t(ke)}if(ke.taskOpen=!1,ke.taskClosed=!1,ke.header&&ze.match(/^#+$/,!0))return et.highlightFormatting&&(ke.formatting="header"),_t(ke);var xn=ze.next();if(ke.linkTitle){ke.linkTitle=!1;var yt=xn;xn==="("&&(yt=")"),yt=(yt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ct="^\\s*(?:[^"+yt+"\\\\]+|\\\\\\\\|\\\\.)"+yt;if(ze.match(new RegExp(ct),!0))return Ye.linkHref}if(xn==="`"){var Gt=ke.formatting;et.highlightFormatting&&(ke.formatting="code"),ze.eatWhile("`");var jn=ze.current().length;if(ke.code==0&&(!ke.quote||jn==1))return ke.code=jn,_t(ke);if(jn==ke.code){var Zt=_t(ke);return ke.code=0,Zt}else return ke.formatting=Gt,_t(ke)}else if(ke.code)return _t(ke);if(xn==="\\"&&(ze.next(),et.highlightFormatting)){var hn=_t(ke),xt=Ye.formatting+"-escape";return hn?hn+" "+xt:xt}if(xn==="!"&&ze.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ke.imageMarker=!0,ke.image=!0,et.highlightFormatting&&(ke.formatting="image"),_t(ke);if(xn==="["&&ke.imageMarker&&ze.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ke.imageMarker=!1,ke.imageAltText=!0,et.highlightFormatting&&(ke.formatting="image"),_t(ke);if(xn==="]"&&ke.imageAltText){et.highlightFormatting&&(ke.formatting="image");var hn=_t(ke);return ke.imageAltText=!1,ke.image=!1,ke.inline=ke.f=Et,hn}if(xn==="["&&!ke.image)return ke.linkText&&ze.match(/^.*?\]/)||(ke.linkText=!0,et.highlightFormatting&&(ke.formatting="link")),_t(ke);if(xn==="]"&&ke.linkText){et.highlightFormatting&&(ke.formatting="link");var hn=_t(ke);return ke.linkText=!1,ke.inline=ke.f=ze.match(/\(.*?\)| ?\[.*?\]/,!1)?Et:ht,hn}if(xn==="<"&&ze.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=Ge,et.highlightFormatting&&(ke.formatting="link");var hn=_t(ke);return hn?hn+=" ":hn="",hn+Ye.linkInline}if(xn==="<"&&ze.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=Ge,et.highlightFormatting&&(ke.formatting="link");var hn=_t(ke);return hn?hn+=" ":hn="",hn+Ye.linkEmail}if(et.xml&&xn==="<"&&ze.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var wn=ze.string.indexOf(">",ze.pos);if(wn!=-1){var on=ze.string.substring(ze.start,wn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(on)&&(ke.md_inside=!0)}return ze.backUp(1),ke.htmlState=ae.startState(vt),$e(ze,ke,Ct)}if(et.xml&&xn==="<"&&ze.match(/^\/\w*?>/))return ke.md_inside=!1,"tag";if(xn==="*"||xn==="_"){for(var Se=1,ce=ze.pos==1?" ":ze.string.charAt(ze.pos-2);Se<3&&ze.eat(xn);)Se++;var le=ze.peek()||" ",we=!/\s/.test(le)&&(!He.test(le)||/\s/.test(ce)||He.test(ce)),Be=!/\s/.test(ce)&&(!He.test(ce)||/\s/.test(le)||He.test(le)),fe=null,st=null;if(Se%2&&(!ke.em&&we&&(xn==="*"||!Be||He.test(ce))?fe=!0:ke.em==xn&&Be&&(xn==="*"||!we||He.test(le))&&(fe=!1)),Se>1&&(!ke.strong&&we&&(xn==="*"||!Be||He.test(ce))?st=!0:ke.strong==xn&&Be&&(xn==="*"||!we||He.test(le))&&(st=!1)),st!=null||fe!=null){et.highlightFormatting&&(ke.formatting=fe==null?"strong":st==null?"em":"strong em"),fe===!0&&(ke.em=xn),st===!0&&(ke.strong=xn);var Zt=_t(ke);return fe===!1&&(ke.em=!1),st===!1&&(ke.strong=!1),Zt}}else if(xn===" "&&(ze.eat("*")||ze.eat("_"))){if(ze.peek()===" ")return _t(ke);ze.backUp(1)}if(et.strikethrough){if(xn==="~"&&ze.eatWhile(xn)){if(ke.strikethrough){et.highlightFormatting&&(ke.formatting="strikethrough");var Zt=_t(ke);return ke.strikethrough=!1,Zt}else if(ze.match(/^[^\s]/,!1))return ke.strikethrough=!0,et.highlightFormatting&&(ke.formatting="strikethrough"),_t(ke)}else if(xn===" "&&ze.match(/^~~/,!0)){if(ze.peek()===" ")return _t(ke);ze.backUp(2)}}if(et.emoji&&xn===":"&&ze.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ke.emoji=!0,et.highlightFormatting&&(ke.formatting="emoji");var An=_t(ke);return ke.emoji=!1,An}return xn===" "&&(ze.match(/^ +$/,!1)?ke.trailingSpace++:ke.trailingSpace&&(ke.trailingSpaceNewLine=!0)),_t(ke)}function Ge(ze,ke){var Nt=ze.next();if(Nt===">"){ke.f=ke.inline=ht,et.highlightFormatting&&(ke.formatting="link");var bn=_t(ke);return bn?bn+=" ":bn="",bn+Ye.linkInline}return ze.match(/^[^>]+/,!0),Ye.linkInline}function Et(ze,ke){if(ze.eatSpace())return null;var Nt=ze.next();return Nt==="("||Nt==="["?(ke.f=ke.inline=kt(Nt==="("?")":"]"),et.highlightFormatting&&(ke.formatting="link-string"),ke.linkHref=!0,_t(ke)):"error"}var nt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function kt(ze){return function(ke,Nt){var bn=ke.next();if(bn===ze){Nt.f=Nt.inline=ht,et.highlightFormatting&&(Nt.formatting="link-string");var xn=_t(Nt);return Nt.linkHref=!1,xn}return ke.match(nt[ze]),Nt.linkHref=!0,_t(Nt)}}function En(ze,ke){return ze.match(/^([^\]\\]|\\.)*\]:/,!1)?(ke.f=Kt,ze.next(),et.highlightFormatting&&(ke.formatting="link"),ke.linkText=!0,_t(ke)):ft(ze,ke,ht)}function Kt(ze,ke){if(ze.match(/^\]:/,!0)){ke.f=ke.inline=mn,et.highlightFormatting&&(ke.formatting="link");var Nt=_t(ke);return ke.linkText=!1,Nt}return ze.match(/^([^\]\\]|\\.)+/,!0),Ye.linkText}function mn(ze,ke){return ze.eatSpace()?null:(ze.match(/^[^\s]+/,!0),ze.peek()===void 0?ke.linkTitle=!0:ze.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ke.f=ke.inline=ht,Ye.linkHref+" url")}var Nn={startState:function(){return{f:De,prevLine:{stream:null},thisLine:{stream:null},block:De,htmlState:null,indentation:0,inline:ht,text:pt,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(ze){return{f:ze.f,prevLine:ze.prevLine,thisLine:ze.thisLine,block:ze.block,htmlState:ze.htmlState&&ae.copyState(vt,ze.htmlState),indentation:ze.indentation,localMode:ze.localMode,localState:ze.localMode?ae.copyState(ze.localMode,ze.localState):null,inline:ze.inline,text:ze.text,formatting:!1,linkText:ze.linkText,linkTitle:ze.linkTitle,linkHref:ze.linkHref,code:ze.code,em:ze.em,strong:ze.strong,strikethrough:ze.strikethrough,emoji:ze.emoji,header:ze.header,setext:ze.setext,hr:ze.hr,taskList:ze.taskList,list:ze.list,listStack:ze.listStack.slice(0),quote:ze.quote,indentedCode:ze.indentedCode,trailingSpace:ze.trailingSpace,trailingSpaceNewLine:ze.trailingSpaceNewLine,md_inside:ze.md_inside,fencedEndRE:ze.fencedEndRE}},token:function(ze,ke){if(ke.formatting=!1,ze!=ke.thisLine.stream){if(ke.header=0,ke.hr=!1,ze.match(/^\s*$/,!0))return Qe(ke),null;if(ke.prevLine=ke.thisLine,ke.thisLine={stream:ze},ke.taskList=!1,ke.trailingSpace=0,ke.trailingSpaceNewLine=!1,!ke.localState&&(ke.f=ke.block,ke.f!=Ct)){var Nt=ze.match(/^\s*/,!0)[0].replace(/\t/g,Ke).length;if(ke.indentation=Nt,ke.indentationDiff=null,Nt>0)return null}}return ke.f(ze,ke)},innerMode:function(ze){return ze.block==Ct?{state:ze.htmlState,mode:vt}:ze.localState?{state:ze.localState,mode:ze.localMode}:{state:ze,mode:Nn}},indent:function(ze,ke,Nt){return ze.block==Ct&&vt.indent?vt.indent(ze.htmlState,ke,Nt):ze.localState&&ze.localMode.indent?ze.localMode.indent(ze.localState,ke,Nt):ae.Pass},blankLine:Qe,getType:_t,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Nn},"xml"),ae.defineMIME("text/markdown","markdown"),ae.defineMIME("text/x-markdown","markdown")})},98101:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){"use strict";ae.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 Ee=0;Ee<ae.modeInfo.length;Ee++){var et=ae.modeInfo[Ee];et.mimes&&(et.mime=et.mimes[0])}ae.findModeByMIME=function(vt){vt=vt.toLowerCase();for(var We=0;We<ae.modeInfo.length;We++){var Oe=ae.modeInfo[We];if(Oe.mime==vt)return Oe;if(Oe.mimes){for(var Ye=0;Ye<Oe.mimes.length;Ye++)if(Oe.mimes[Ye]==vt)return Oe}}if(/\+xml$/.test(vt))return ae.findModeByMIME("application/xml");if(/\+json$/.test(vt))return ae.findModeByMIME("application/json")},ae.findModeByExtension=function(vt){vt=vt.toLowerCase();for(var We=0;We<ae.modeInfo.length;We++){var Oe=ae.modeInfo[We];if(Oe.ext){for(var Ye=0;Ye<Oe.ext.length;Ye++)if(Oe.ext[Ye]==vt)return Oe}}},ae.findModeByFileName=function(vt){for(var We=0;We<ae.modeInfo.length;We++){var Oe=ae.modeInfo[We];if(Oe.file&&Oe.file.test(vt))return Oe}var Ye=vt.lastIndexOf("."),Ce=Ye>-1&&vt.substring(Ye+1,vt.length);if(Ce)return ae.findModeByExtension(Ce)},ae.findModeByName=function(vt){vt=vt.toLowerCase();for(var We=0;We<ae.modeInfo.length;We++){var Oe=ae.modeInfo[We];if(Oe.name.toLowerCase()==vt)return Oe;if(Oe.alias){for(var Ye=0;Ye<Oe.alias.length;Ye++)if(Oe.alias[Ye].toLowerCase()==vt)return Oe}}}})},67549:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){"use strict";ae.defineMode("stex",function(Ee,et){"use strict";function vt(Je,Re){Je.cmdState.push(Re)}function We(Je){return Je.cmdState.length>0?Je.cmdState[Je.cmdState.length-1]:null}function Oe(Je){var Re=Je.cmdState.pop();Re&&Re.closeBracket()}function Ye(Je){for(var Re=Je.cmdState,je=Re.length-1;je>=0;je--){var He=Re[je];if(He.name!="DEFAULT")return He}return{styleIdentifier:function(){return null}}}function Ce(Je,Re,je){return function(){this.name=Je,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=Ce("importmodule","tag",["string","builtin"]),Me.documentclass=Ce("documentclass","tag",["","atom"]),Me.usepackage=Ce("usepackage","tag",["atom"]),Me.begin=Ce("begin","tag",["atom"]),Me.end=Ce("end","tag",["atom"]),Me.label=Ce("label","tag",["atom"]),Me.ref=Ce("ref","tag",["atom"]),Me.eqref=Ce("eqref","tag",["atom"]),Me.cite=Ce("cite","tag",["atom"]),Me.bibitem=Ce("bibitem","tag",["atom"]),Me.Bibitem=Ce("Bibitem","tag",["atom"]),Me.RBibitem=Ce("RBibitem","tag",["atom"]),Me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function rt(Je,Re){Je.f=Re}function lt(Je,Re){var je;if(Je.match(/^\\[a-zA-Z@]+/)){var He=Je.current().slice(1);return je=Me.hasOwnProperty(He)?Me[He]:Me.DEFAULT,je=new je,vt(Re,je),rt(Re,gt),je.style}if(Je.match(/^\\[$&%#{}_]/)||Je.match(/^\\[,;!\/\\]/))return"tag";if(Je.match("\\["))return rt(Re,function(ft,$e){return Te(ft,$e,"\\]")}),"keyword";if(Je.match("\\("))return rt(Re,function(ft,$e){return Te(ft,$e,"\\)")}),"keyword";if(Je.match("$$"))return rt(Re,function(ft,$e){return Te(ft,$e,"$$")}),"keyword";if(Je.match("$"))return rt(Re,function(ft,$e){return Te(ft,$e,"$")}),"keyword";var Ke=Je.next();if(Ke=="%")return Je.skipToEnd(),"comment";if(Ke=="}"||Ke=="]"){if(je=We(Re),je)je.closeBracket(Ke),rt(Re,gt);else return"error";return"bracket"}else return Ke=="{"||Ke=="["?(je=Me.DEFAULT,je=new je,vt(Re,je),"bracket"):/\d/.test(Ke)?(Je.eatWhile(/[\w.%]/),"atom"):(Je.eatWhile(/[\w\-_]/),je=Ye(Re),je.name=="begin"&&(je.argument=Je.current()),je.styleIdentifier())}function Te(Je,Re,je){if(Je.eatSpace())return null;if(je&&Je.match(je))return rt(Re,lt),"keyword";if(Je.match(/^\\[a-zA-Z@]+/))return"tag";if(Je.match(/^[a-zA-Z]+/))return"variable-2";if(Je.match(/^\\[$&%#{}_]/)||Je.match(/^\\[,;!\/]/)||Je.match(/^[\^_&]/))return"tag";if(Je.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Je.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var He=Je.next();return He=="{"||He=="}"||He=="["||He=="]"||He=="("||He==")"?"bracket":He=="%"?(Je.skipToEnd(),"comment"):"error"}function gt(Je,Re){var je=Je.peek(),He;return je=="{"||je=="["?(He=We(Re),He.openBracket(je),Je.eat(je),rt(Re,lt),"bracket"):/[ \t\r]/.test(je)?(Je.eat(je),null):(rt(Re,lt),Oe(Re),lt(Je,Re))}return{startState:function(){var Je=et.inMathMode?function(Re,je){return Te(Re,je)}:lt;return{cmdState:[],f:Je}},copyState:function(Je){return{cmdState:Je.cmdState.slice(),f:Je.f}},token:function(Je,Re){return Re.f(Je,Re)},blankLine:function(Je){Je.f=lt,Je.cmdState.length=0},lineComment:"%"}}),ae.defineMIME("text/x-stex","stex"),ae.defineMIME("text/x-latex","stex")})},15525:function(Dt,Xt,pe){(function(ae){ae(pe(89780))})(function(ae){"use strict";var Ee={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},et={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ae.defineMode("xml",function(vt,We){var Oe=vt.indentUnit,Ye={},Ce=We.htmlMode?Ee:et;for(var Me in Ce)Ye[Me]=Ce[Me];for(var Me in We)Ye[Me]=We[Me];var rt,lt;function Te(Ge,Et){function nt(Kt){return Et.tokenize=Kt,Kt(Ge,Et)}var kt=Ge.next();if(kt=="<")return Ge.eat("!")?Ge.eat("[")?Ge.match("CDATA[")?nt(Re("atom","]]>")):null:Ge.match("--")?nt(Re("comment","-->")):Ge.match("DOCTYPE",!0,!0)?(Ge.eatWhile(/[\w\._\-]/),nt(je(1))):null:Ge.eat("?")?(Ge.eatWhile(/[\w\._\-]/),Et.tokenize=Re("meta","?>"),"meta"):(rt=Ge.eat("/")?"closeTag":"openTag",Et.tokenize=gt,"tag bracket");if(kt=="&"){var En;return Ge.eat("#")?Ge.eat("x")?En=Ge.eatWhile(/[a-fA-F\d]/)&&Ge.eat(";"):En=Ge.eatWhile(/[\d]/)&&Ge.eat(";"):En=Ge.eatWhile(/[\w\.\-:]/)&&Ge.eat(";"),En?"atom":"error"}else return Ge.eatWhile(/[^&<]/),null}Te.isInText=!0;function gt(Ge,Et){var nt=Ge.next();if(nt==">"||nt=="/"&&Ge.eat(">"))return Et.tokenize=Te,rt=nt==">"?"endTag":"selfcloseTag","tag bracket";if(nt=="=")return rt="equals",null;if(nt=="<"){Et.tokenize=Te,Et.state=$e,Et.tagName=Et.tagStart=null;var kt=Et.tokenize(Ge,Et);return kt?kt+" tag error":"tag error"}else return/[\'\"]/.test(nt)?(Et.tokenize=Je(nt),Et.stringStartCol=Ge.column(),Et.tokenize(Ge,Et)):(Ge.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Je(Ge){var Et=function(nt,kt){for(;!nt.eol();)if(nt.next()==Ge){kt.tokenize=gt;break}return"string"};return Et.isInAttribute=!0,Et}function Re(Ge,Et){return function(nt,kt){for(;!nt.eol();){if(nt.match(Et)){kt.tokenize=Te;break}nt.next()}return Ge}}function je(Ge){return function(Et,nt){for(var kt;(kt=Et.next())!=null;){if(kt=="<")return nt.tokenize=je(Ge+1),nt.tokenize(Et,nt);if(kt==">")if(Ge==1){nt.tokenize=Te;break}else return nt.tokenize=je(Ge-1),nt.tokenize(Et,nt)}return"meta"}}function He(Ge,Et,nt){this.prev=Ge.context,this.tagName=Et,this.indent=Ge.indented,this.startOfLine=nt,(Ye.doNotIndent.hasOwnProperty(Et)||Ge.context&&Ge.context.noIndent)&&(this.noIndent=!0)}function Ke(Ge){Ge.context&&(Ge.context=Ge.context.prev)}function ft(Ge,Et){for(var nt;;){if(!Ge.context||(nt=Ge.context.tagName,!Ye.contextGrabbers.hasOwnProperty(nt)||!Ye.contextGrabbers[nt].hasOwnProperty(Et)))return;Ke(Ge)}}function $e(Ge,Et,nt){return Ge=="openTag"?(nt.tagStart=Et.column(),dt):Ge=="closeTag"?Qe:$e}function dt(Ge,Et,nt){return Ge=="word"?(nt.tagName=Et.current(),lt="tag",Ft):Ye.allowMissingTagName&&Ge=="endTag"?(lt="tag bracket",Ft(Ge,Et,nt)):(lt="error",dt)}function Qe(Ge,Et,nt){if(Ge=="word"){var kt=Et.current();return nt.context&&nt.context.tagName!=kt&&Ye.implicitlyClosed.hasOwnProperty(nt.context.tagName)&&Ke(nt),nt.context&&nt.context.tagName==kt||Ye.matchClosing===!1?(lt="tag",De):(lt="tag error",Ct)}else return Ye.allowMissingTagName&&Ge=="endTag"?(lt="tag bracket",De(Ge,Et,nt)):(lt="error",Ct)}function De(Ge,Et,nt){return Ge!="endTag"?(lt="error",De):(Ke(nt),$e)}function Ct(Ge,Et,nt){return lt="error",De(Ge,Et,nt)}function Ft(Ge,Et,nt){if(Ge=="word")return lt="attribute",_t;if(Ge=="endTag"||Ge=="selfcloseTag"){var kt=nt.tagName,En=nt.tagStart;return nt.tagName=nt.tagStart=null,Ge=="selfcloseTag"||Ye.autoSelfClosers.hasOwnProperty(kt)?ft(nt,kt):(ft(nt,kt),nt.context=new He(nt,kt,En==nt.indented)),$e}return lt="error",Ft}function _t(Ge,Et,nt){return Ge=="equals"?pt:(Ye.allowMissing||(lt="error"),Ft(Ge,Et,nt))}function pt(Ge,Et,nt){return Ge=="string"?ht:Ge=="word"&&Ye.allowUnquoted?(lt="string",Ft):(lt="error",Ft(Ge,Et,nt))}function ht(Ge,Et,nt){return Ge=="string"?ht:Ft(Ge,Et,nt)}return{startState:function(Ge){var Et={tokenize:Te,state:$e,indented:Ge||0,tagName:null,tagStart:null,context:null};return Ge!=null&&(Et.baseIndent=Ge),Et},token:function(Ge,Et){if(!Et.tagName&&Ge.sol()&&(Et.indented=Ge.indentation()),Ge.eatSpace())return null;rt=null;var nt=Et.tokenize(Ge,Et);return(nt||rt)&&nt!="comment"&&(lt=null,Et.state=Et.state(rt||nt,Ge,Et),lt&&(nt=lt=="error"?nt+" error":lt)),nt},indent:function(Ge,Et,nt){var kt=Ge.context;if(Ge.tokenize.isInAttribute)return Ge.tagStart==Ge.indented?Ge.stringStartCol+1:Ge.indented+Oe;if(kt&&kt.noIndent)return ae.Pass;if(Ge.tokenize!=gt&&Ge.tokenize!=Te)return nt?nt.match(/^(\s*)/)[0].length:0;if(Ge.tagName)return Ye.multilineTagIndentPastTag!==!1?Ge.tagStart+Ge.tagName.length+2:Ge.tagStart+Oe*(Ye.multilineTagIndentFactor||1);if(Ye.alignCDATA&&/<!\[CDATA\[/.test(Et))return 0;var En=Et&&/^<(\/)?([\w_:\.-]*)/.exec(Et);if(En&&En[1])for(;kt;)if(kt.tagName==En[2]){kt=kt.prev;break}else if(Ye.implicitlyClosed.hasOwnProperty(kt.tagName))kt=kt.prev;else break;else if(En)for(;kt;){var Kt=Ye.contextGrabbers[kt.tagName];if(Kt&&Kt.hasOwnProperty(En[2]))kt=kt.prev;else break}for(;kt&&kt.prev&&!kt.startOfLine;)kt=kt.prev;return kt?kt.indent+Oe:Ge.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ye.htmlMode?"html":"xml",helperType:Ye.htmlMode?"html":"xml",skipAttribute:function(Ge){Ge.state==pt&&(Ge.state=Ft)},xmlCurrentTag:function(Ge){return Ge.tagName?{name:Ge.tagName,close:Ge.type=="closeTag"}:null},xmlCurrentContext:function(Ge){for(var Et=[],nt=Ge.context;nt;nt=nt.prev)nt.tagName&&Et.push(nt.tagName);return Et.reverse()}}}),ae.defineMIME("text/xml","xml"),ae.defineMIME("application/xml","xml"),ae.mimeModes.hasOwnProperty("text/html")||ae.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Dt,Xt,pe){"use strict";pe.d(Xt,{hP:function(){return on}});var ae=function(Se,ce){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,we){le.__proto__=we}||function(le,we){for(var Be in we)Object.prototype.hasOwnProperty.call(we,Be)&&(le[Be]=we[Be])})(Se,ce)};function Ee(Se,ce){function le(){this.constructor=Se}ae(Se,ce),Se.prototype=ce===null?Object.create(ce):(le.prototype=ce.prototype,new le)}function et(Se,ce,le,we){return new(le||(le=Promise))(function(Be,fe){function st(xr){try{Jn(we.next(xr))}catch(ur){fe(ur)}}function An(xr){try{Jn(we.throw(xr))}catch(ur){fe(ur)}}function Jn(xr){var ur;xr.done?Be(xr.value):(ur=xr.value,ur instanceof le?ur:new le(function(qr){qr(ur)})).then(st,An)}Jn((we=we.apply(Se,ce||[])).next())})}function vt(Se,ce){var le,we,Be,fe,st={label:0,sent:function(){if(1&Be[0])throw Be[1];return Be[1]},trys:[],ops:[]};return fe={next:An(0),throw:An(1),return:An(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function An(Jn){return function(xr){return function(ur){if(le)throw new TypeError("Generator is already executing.");for(;st;)try{if(le=1,we&&(Be=2&ur[0]?we.return:ur[0]?we.throw||((Be=we.return)&&Be.call(we),0):we.next)&&!(Be=Be.call(we,ur[1])).done)return Be;switch(we=0,Be&&(ur=[2&ur[0],Be.value]),ur[0]){case 0:case 1:Be=ur;break;case 4:return st.label++,{value:ur[1],done:!1};case 5:st.label++,we=ur[1],ur=[0];continue;case 7:ur=st.ops.pop(),st.trys.pop();continue;default:if(Be=st.trys,!((Be=Be.length>0&&Be[Be.length-1])||ur[0]!==6&&ur[0]!==2)){st=0;continue}if(ur[0]===3&&(!Be||ur[1]>Be[0]&&ur[1]<Be[3])){st.label=ur[1];break}if(ur[0]===6&&st.label<Be[1]){st.label=Be[1],Be=ur;break}if(Be&&st.label<Be[2]){st.label=Be[2],st.ops.push(ur);break}Be[2]&&st.ops.pop(),st.trys.pop();continue}ur=ce.call(Se,st)}catch(qr){ur=[6,qr],we=0}finally{le=Be=0}if(5&ur[0])throw ur[1];return{value:ur[0]?ur[1]:void 0,done:!0}}([Jn,xr])}}}function We(){for(var Se=0,ce=0,le=arguments.length;ce<le;ce++)Se+=arguments[ce].length;var we=Array(Se),Be=0;for(ce=0;ce<le;ce++)for(var fe=arguments[ce],st=0,An=fe.length;st<An;st++,Be++)we[Be]=fe[st];return we}var Oe=function(){function Se(){}return Se.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Se.setAttributes=function(ce,le){for(var we=0,Be=le;we<Be.length;we++){var fe=Be[we],st=fe[0],An=fe[1];ce.setAttribute(st,An)}},Se.createRect=function(ce,le,we){var Be=document.createElementNS("http://www.w3.org/2000/svg","rect");return Be.setAttribute("width",ce.toString()),Be.setAttribute("height",le.toString()),we&&Se.setAttributes(Be,we),Be},Se.createLine=function(ce,le,we,Be,fe){var st=document.createElementNS("http://www.w3.org/2000/svg","line");return st.setAttribute("x1",ce.toString()),st.setAttribute("y1",le.toString()),st.setAttribute("x2",we.toString()),st.setAttribute("y2",Be.toString()),fe&&Se.setAttributes(st,fe),st},Se.createPolygon=function(ce,le){var we=document.createElementNS("http://www.w3.org/2000/svg","polygon");return we.setAttribute("points",ce),le&&Se.setAttributes(we,le),we},Se.createCircle=function(ce,le){var we=document.createElementNS("http://www.w3.org/2000/svg","circle");return we.setAttribute("cx",(ce/2).toString()),we.setAttribute("cy",(ce/2).toString()),we.setAttribute("r",ce.toString()),le&&Se.setAttributes(we,le),we},Se.createEllipse=function(ce,le,we){var Be=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return Be.setAttribute("cx",(ce/2).toString()),Be.setAttribute("cy",(le/2).toString()),Be.setAttribute("rx",(ce/2).toString()),Be.setAttribute("ry",(le/2).toString()),we&&Se.setAttributes(Be,we),Be},Se.createGroup=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","g");return ce&&Se.setAttributes(le,ce),le},Se.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Se.createMarker=function(ce,le,we,Be,fe,st,An){var Jn=document.createElementNS("http://www.w3.org/2000/svg","marker");return Se.setAttributes(Jn,[["id",ce],["orient",le],["markerWidth",we.toString()],["markerHeight",Be.toString()],["refX",fe.toString()],["refY",st.toString()]]),Jn.appendChild(An),Jn},Se.createText=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","text");return le.setAttribute("x","0"),le.setAttribute("y","0"),ce&&Se.setAttributes(le,ce),le},Se.createTSpan=function(ce,le){var we=document.createElementNS("http://www.w3.org/2000/svg","tspan");return we.textContent=ce,le&&Se.setAttributes(we,le),we},Se.createImage=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","image");return ce&&Se.setAttributes(le,ce),le},Se.createPoint=function(ce,le){var we=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return we.x=ce,we.y=le,we},Se.createPath=function(ce,le){var we=document.createElementNS("http://www.w3.org/2000/svg","path");return we.setAttribute("d",ce),le&&Se.setAttributes(we,le),we},Se}(),Ye=function(){function Se(){}return Se.addKey=function(ce){Se.key=ce},Object.defineProperty(Se,"isLicensed",{get:function(){return!!Se.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Se.key)},enumerable:!1,configurable:!0}),Se}(),Ce=function(){function Se(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Se.prototype.rasterize=function(ce,le,we){var Be=this;return new Promise(function(fe){var st=we!==void 0?we:document.createElement("canvas");ce===null&&(Be.markersOnly=!0,Be.naturalSize=!1);var An=document.createElementNS("http://www.w3.org/2000/svg","svg");An.setAttribute("xmlns","http://www.w3.org/2000/svg"),An.setAttribute("width",le.width.baseVal.valueAsString),An.setAttribute("height",le.height.baseVal.valueAsString),An.setAttribute("viewBox","0 0 "+le.viewBox.baseVal.width.toString()+" "+le.viewBox.baseVal.height.toString()),An.innerHTML=le.innerHTML,Be.naturalSize===!0?(An.width.baseVal.value=ce.naturalWidth,An.height.baseVal.value=ce.naturalHeight):Be.width!==void 0&&Be.height!==void 0&&(An.width.baseVal.value=Be.width,An.height.baseVal.value=Be.height),st.width=An.width.baseVal.value,st.height=An.height.baseVal.value;var Jn=An.outerHTML,xr=st.getContext("2d");Be.markersOnly!==!0&&xr.drawImage(ce,0,0,st.width,st.height);var ur=window.URL,qr=new Image(st.width,st.height);qr.setAttribute("crossOrigin","anonymous");var ii=new Blob([Jn],{type:"image/svg+xml"}),Ii=ur.createObjectURL(ii);qr.onload=function(){xr.drawImage(qr,0,0),ur.revokeObjectURL(Ii);var fa=st.toDataURL(Be.imageType,Be.imageQuality);fe(fa)},qr.src=Ii})},Se}(),Me=function(){},rt=function(){function Se(ce){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ce+"_"}return Object.defineProperty(Se.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Se.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(Se.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Se.prototype.addClass=function(ce){return this.styleSheet===void 0&&this.addStyleSheet(),ce.name=""+this.classNamePrefix+ce.localName,this.classes.push(ce),this.styleSheet.sheet.insertRule("."+ce.name+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length),ce},Se.prototype.addRule=function(ce){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ce),this.styleSheet.sheet.insertRule(ce.selector+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length)},Se.prototype.addStyleSheet=function(){var ce;this.styleSheet=document.createElement("style"),((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).appendChild(this.styleSheet),this.addRule(new lt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new lt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new lt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Te("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Te("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},Se.prototype.removeStyleSheet=function(){var ce;this.styleSheet&&(((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Se}(),lt=function(Se,ce){this.selector=Se,this.style=ce},Te=function(Se,ce){this.localName=Se,this.style=ce},gt=function(){function Se(ce,le,we,Be,fe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ce,this.displayMode=le,this.markerItems=we,this.uiStyleSettings=Be,this.styles=fe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Se.prototype.show=function(ce){var le=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var we=document.createElement("div");we.className=this.toolbarBlockStyleClass.name,we.style.whiteSpace="nowrap",this.uiContainer.appendChild(we),this.addActionButton(we,'<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(we,'<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(we,'<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(we,'<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(we,'<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(we,'<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(we,'<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(we,'<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(fe){var st=document.createElement("div");st.className=""+le.toolbarButtonStyleClass.name,st.setAttribute("data-type-name",fe.typeName),st.innerHTML=fe.icon,st.addEventListener("click",function(){le.markerToolbarButtonClicked(st,fe)}),le.buttons.push(st),le.markerButtons.push(st)}),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 Be=document.createElement("div");Be.className=this.toolbarBlockStyleClass.name,Be.style.whiteSpace="nowrap",Be.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(Be),this.addActionButton(Be,'<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(Be,'<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()},Se.prototype.addButtonClickListener=function(ce){this.buttonClickListeners.push(ce)},Se.prototype.removeButtonClickListener=function(ce){this.buttonClickListeners.indexOf(ce)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ce),1)},Se.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Se.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ce=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<ce||le===ce&&this.markerButtons.length-1===ce?this.markerButtonBlock.appendChild(this.markerButtons[le]):(le===ce&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[le]))}},Se.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")},Se.prototype.resetButtonStyles=function(){var ce=this;this.buttons.forEach(function(le){le.className=le.className.replace(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name,"").trim(),le.className=le.className.replace(ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ce.toolbarActiveButtonStyleColorsClass.name,"").trim(),le.className+=" "+(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name)})},Se.prototype.addActionButton=function(ce,le,we){var Be=this,fe=document.createElement("div");switch(fe.className=""+this.toolbarButtonStyleClass.name,fe.innerHTML=le,fe.setAttribute("data-action",we),fe.addEventListener("click",function(){Be.actionToolbarButtonClicked(fe,we)}),we){case"select":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":fe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":fe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":fe.style.fill=this.uiStyleSettings.closeButtonColor}ce.appendChild(fe),this.buttons.push(fe)},Se.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Te("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 Te("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Te("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Te("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 Te("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ce=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Te("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
padding: `+ce+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Te("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Te("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new lt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new lt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},Se.prototype.markerToolbarButtonClicked=function(ce,le){this.setActiveButton(ce),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(we){return we("marker",le)}),this.markerButtonOverflowBlock.style.display="none"},Se.prototype.actionToolbarButtonClicked=function(ce,le){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(we){return we("action",le)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Se.prototype.setActiveButton=function(ce){this.resetButtonStyles(),ce.className=ce.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Se.prototype.setActiveMarkerButton=function(ce){var le=this.markerButtons.find(function(we){return we.getAttribute("data-type-name")===ce});le&&this.setActiveButton(le)},Se.prototype.setCurrentMarker=function(ce){var le=this;this.currentMarker=ce,this.buttons.filter(function(we){return/delete|notes/.test(we.getAttribute("data-action"))}).forEach(function(we){le.currentMarker===void 0?(we.style.fillOpacity="0.4",we.style.pointerEvents="none"):(we.style.fillOpacity="1",we.style.pointerEvents="all")})},Se}(),Je=function(){function Se(ce,le,we,Be){this.panels=[],this.panelButtons=[],this.markerjsContainer=ce,this.displayMode=le,this.uiStyleSettings=we,this.styles=Be,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Se.prototype.addStyles=function(){var ce;this.toolboxStyleClass=this.styles.addClass(new Te("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 Te("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var le=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Te("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Te("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Te("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 Te("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ce=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ce!==void 0?ce:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Te("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 Te("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Te("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new lt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new lt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},Se.prototype.show=function(ce){var le;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolboxStyleClass.name+" "+((le=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Se.prototype.setPanelButtons=function(ce){var le,we,Be=this;this.panels=ce,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+" "+((we=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&we!==void 0?we:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(fe){var st;fe.uiStyleSettings=Be.uiStyleSettings;var An=document.createElement("div");An.className=Be.toolboxButtonStyleClass.name+" "+((st=Be.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&st!==void 0?st:Be.toolboxButtonStyleColorsClass.name),An.innerHTML=fe.icon,An.title=fe.title,An.addEventListener("click",function(){Be.panelButtonClick(fe)}),Be.panelButtons.push(An),Be.buttonRow.appendChild(An)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Se.prototype.panelButtonClick=function(ce){var le=this,we=-1;if(ce!==this.activePanel){we=this.panels.indexOf(ce),this.panelRow.innerHTML="";var Be=ce.getUi();Be.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(Be),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=ce}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(fe,st){var An,Jn;fe.className=le.toolboxButtonStyleClass.name+" "+(st===we?""+((An=le.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&An!==void 0?An:le.toolboxActiveButtonStyleColorsClass.name):""+((Jn=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Jn!==void 0?Jn:le.toolboxButtonStyleColorsClass.name))})},Se}(),Re=function(Se,ce){this.title=Se,this.icon=ce},je=function(Se){function ce(le,we,Be,fe){var st=Se.call(this,le,fe||'<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 st.colors=[],st.addTransparent=!1,st.colorBoxes=[],st.colors=we,st.currentColor=Be,st.setCurrentColor=st.setCurrentColor.bind(st),st.getColorBox=st.getColorBox.bind(st),st}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");return we.style.overflow="hidden",we.style.whiteSpace="nowrap",this.colors.forEach(function(Be){var fe=le.getColorBox(Be);we.appendChild(fe),le.colorBoxes.push(fe)}),we},ce.prototype.getColorBox=function(le){var we=this,Be=this.uiStyleSettings.toolbarHeight/4,fe=this.uiStyleSettings.toolbarHeight-Be,st=document.createElement("div");st.style.display="inline-block",st.style.boxSizing="content-box",st.style.width=fe-2+"px",st.style.height=fe-2+"px",st.style.padding="1px",st.style.marginRight="2px",st.style.marginBottom="2px",st.style.borderWidth="2px",st.style.borderStyle="solid",st.style.borderRadius=(fe+2)/2+"px",st.style.borderColor=le===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",st.addEventListener("click",function(){we.setCurrentColor(le,st)});var An=document.createElement("div");return An.style.display="inline-block",An.style.width=fe-2+"px",An.style.height=fe-2+"px",An.style.backgroundColor=le,An.style.borderRadius=fe/2+"px",le==="transparent"&&(An.style.fill=this.uiStyleSettings.toolboxAccentColor,An.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>`),st.appendChild(An),st},ce.prototype.setCurrentColor=function(le,we){var Be=this;this.currentColor=le,this.colorBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(le)},ce}(Re),He=function(){function Se(ce,le,we){this._state="new",this._isSelected=!1,this._container=ce,this._overlayContainer=le,this.globalSettings=we,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Se.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Se.prototype.ownsTarget=function(ce){return!1},Object.defineProperty(Se.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Se.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Se.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Se.prototype.pointerDown=function(ce,le){},Se.prototype.dblClick=function(ce,le){},Se.prototype.manipulate=function(ce){},Se.prototype.pointerUp=function(ce){this.stateChanged()},Se.prototype.dispose=function(){},Se.prototype.addMarkerVisualToContainer=function(ce){this.container.childNodes.length>0?this.container.insertBefore(ce,this.container.childNodes[0]):this.container.appendChild(ce)},Se.prototype.getState=function(){return{typeName:Se.typeName,state:this.state,notes:this.notes}},Se.prototype.restoreState=function(ce){this._state=ce.state,this.notes=ce.notes},Se.prototype.scale=function(ce,le){},Se.prototype.colorChanged=function(ce){this.onColorChanged&&this.onColorChanged(ce),this.stateChanged()},Se.prototype.fillColorChanged=function(ce){this.onFillColorChanged&&this.onFillColorChanged(ce),this.stateChanged()},Se.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ce)&&this.onStateChanged(this)}},Se.typeName="MarkerBase",Se}(),Ke=function(){function Se(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Se.prototype.findGripByVisual=function(ce){return this.topLeft.ownsTarget(ce)?this.topLeft:this.topCenter.ownsTarget(ce)?this.topCenter:this.topRight.ownsTarget(ce)?this.topRight:this.centerLeft.ownsTarget(ce)?this.centerLeft:this.centerRight.ownsTarget(ce)?this.centerRight:this.bottomLeft.ownsTarget(ce)?this.bottomLeft:this.bottomCenter.ownsTarget(ce)?this.bottomCenter:this.bottomRight.ownsTarget(ce)?this.bottomRight:void 0},Se}(),ft=function(){function Se(){this.GRIP_SIZE=10,this.visual=Oe.createGroup(),this.visual.appendChild(Oe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Oe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Se.prototype.ownsTarget=function(ce){return ce===this.visual||ce===this.visual.childNodes[0]||ce===this.visual.childNodes[1]},Se}(),$e=function(){function Se(){}return Se.toITransformMatrix=function(ce){return{a:ce.a,b:ce.b,c:ce.c,d:ce.d,e:ce.e,f:ce.f}},Se.toSVGMatrix=function(ce,le){return ce.a=le.a,ce.b=le.b,ce.c=le.c,ce.d=le.d,ce.e=le.e,ce.f=le.f,ce},Se}(),dt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.left=0,fe.top=0,fe.width=0,fe.height=0,fe.defaultSize={x:50,y:20},fe.offsetX=0,fe.offsetY=0,fe.rotationAngle=0,fe.CB_DISTANCE=10,fe._suppressMarkerCreateEvent=!1,fe.container.transform.baseVal.appendItem(Oe.createTransform()),fe.setupControlBox(),fe}return Ee(ce,Se),Object.defineProperty(ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"visual",{get:function(){return this._visual},set:function(le){this._visual=le;var we=Oe.createTransform();this._visual.transform.baseVal.appendItem(we)},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(le){return!!Se.prototype.ownsTarget.call(this,le)||!!(this.controlGrips.findGripByVisual(le)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(le))},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),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 Be=this.unrotatePoint(le);if(this.manipulationStartX=Be.x,this.manipulationStartY=Be.y,this.offsetX=Be.x-this.left,this.offsetY=Be.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(we),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(we)){this.activeGrip=this.rotatorGrip;var fe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=fe.x-this.width/2,this.top=fe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var st=this.container.transform.baseVal.getItem(0);st.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(st,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ce.prototype.pointerUp=function(le){var we=this.state;Se.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",we==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ce.prototype.moveVisual=function(le){this.visual.style.transform="translate("+le.x+"px, "+le.y+"px)"},ce.prototype.manipulate=function(le){var we=this.unrotatePoint(le);this.state==="creating"?this.resize(le):this.state==="move"?(this.left=this.manipulationStartLeft+(we.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(we.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(we):this.state==="rotate"&&this.rotate(le)},ce.prototype.resize=function(le){var we=this.manipulationStartLeft,Be=this.manipulationStartWidth,fe=this.manipulationStartTop,st=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:we=this.manipulationStartLeft+le.x-this.manipulationStartX,Be=this.manipulationStartWidth+this.manipulationStartLeft-we;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Be=this.manipulationStartWidth+le.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:fe=this.manipulationStartTop+le.y-this.manipulationStartY,st=this.manipulationStartHeight+this.manipulationStartTop-fe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:st=this.manipulationStartHeight+le.y-this.manipulationStartY}Be>=0?(this.left=we,this.width=Be):(this.left=we+Be,this.width=-Be),st>=0?(this.top=fe,this.height=st):(this.top=fe+st,this.height=-st),this.setSize()},ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ce.prototype.rotate=function(le){if(Math.abs(le.x-this.centerX)>.1){var we=Math.sign(le.x-this.centerX);this.rotationAngle=180*Math.atan((le.y-this.centerY)/(le.x-this.centerX))/Math.PI+90*we,this.applyRotation()}},ce.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)},ce.prototype.rotatePoint=function(le){if(this.rotationAngle===0)return le;var we=this.container.getCTM(),Be=Oe.createPoint(le.x,le.y);return{x:(Be=Be.matrixTransform(we)).x,y:Be.y}},ce.prototype.unrotatePoint=function(le){if(this.rotationAngle===0)return le;var we=this.container.getCTM();we=we.inverse();var Be=Oe.createPoint(le.x,le.y);return{x:(Be=Be.matrixTransform(we)).x,y:Be.y}},ce.prototype.select=function(){Se.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Se.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Oe.createGroup();var le=Oe.createTransform();le.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(le),this.container.appendChild(this.controlBox),this.controlRect=Oe.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=Oe.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 Ke,this.addControlGrips(),this.controlBox.style.display="none"},ce.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()},ce.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()},ce.prototype.createGrip=function(){var le=new ft;return le.visual.transform.baseVal.appendItem(Oe.createTransform()),this.controlBox.appendChild(le.visual),le},ce.prototype.positionGrips=function(){var le=this.controlGrips.topLeft.GRIP_SIZE,we=-le/2,Be=we,fe=(this.width+this.CB_DISTANCE)/2-le/2,st=(this.height+this.CB_DISTANCE)/2-le/2,An=this.height+this.CB_DISTANCE-le/2,Jn=this.width+this.CB_DISTANCE-le/2;this.positionGrip(this.controlGrips.topLeft.visual,we,Be),this.positionGrip(this.controlGrips.topCenter.visual,fe,Be),this.positionGrip(this.controlGrips.topRight.visual,Jn,Be),this.positionGrip(this.controlGrips.centerLeft.visual,we,st),this.positionGrip(this.controlGrips.centerRight.visual,Jn,st),this.positionGrip(this.controlGrips.bottomLeft.visual,we,An),this.positionGrip(this.controlGrips.bottomCenter.visual,fe,An),this.positionGrip(this.controlGrips.bottomRight.visual,Jn,An),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,fe,Be-3*this.CB_DISTANCE)},ce.prototype.positionGrip=function(le,we,Be){var fe=le.transform.baseVal.getItem(0);fe.setTranslate(we,Be),le.transform.baseVal.replaceItem(fe,0)},ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ce.prototype.showControlBox=function(){this.controlBox.style.display=""},ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:$e.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:$e.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Se.prototype.getState.call(this))},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le);var we=le;this.left=we.left,this.top=we.top,this.width=we.width,this.height=we.height,this.rotationAngle=we.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix($e.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,we.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix($e.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,we.containerTransformMatrix))},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we);var Be=this.rotatePoint({x:this.left,y:this.top}),fe=this.unrotatePoint({x:Be.x*le,y:Be.y*we});this.left=fe.x,this.top=fe.y,this.width=this.width*le,this.height=this.height*we,this.adjustControlBox()},ce}(He),Qe=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual)},ce.prototype.createVisual=function(){this.visual=Oe.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)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){Se.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),this.setSize()},ce.prototype.setSize=function(){Se.prototype.setSize.call(this),Oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(le){Se.prototype.pointerUp.call(this,le),this.setSize()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&Oe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&Oe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&Oe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&Oe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Se.prototype.getState.call(this))},ce.prototype.restoreState=function(le){var we=le;this.fillColor=we.fillColor,this.strokeColor=we.strokeColor,this.strokeWidth=we.strokeWidth,this.strokeDasharray=we.strokeDasharray,this.opacity=we.opacity,this.createVisual(),Se.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.setSize()},ce.title="Rectangle marker",ce}(dt),De=function(Se){function ce(le,we,Be,fe){var st=Se.call(this,le,fe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return st.widths=[],st.widthBoxes=[],st.widths=we,st.currentWidth=Be,st.setCurrentWidth=st.setCurrentWidth.bind(st),st}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");return we.style.display="flex",we.style.overflow="hidden",we.style.flexGrow="2",this.widths.forEach(function(Be){var fe=document.createElement("div");fe.style.display="flex",fe.style.flexGrow="2",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=Be===le.currentWidth?le.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){le.setCurrentWidth(Be,fe)}),we.appendChild(fe);var st=document.createElement("div");st.innerText=Be.toString(),st.style.marginRight="5px",fe.appendChild(st);var An=document.createElement("div");An.style.minHeight="20px",An.style.flexGrow="2",An.style.display="flex",An.style.alignItems="center";var Jn=document.createElement("hr");Jn.style.minWidth="20px",Jn.style.border="0px",Jn.style.borderTop=Be+"px solid "+le.uiStyleSettings.toolboxColor,Jn.style.flexGrow="2",An.appendChild(Jn),fe.appendChild(An),le.widthBoxes.push(fe)}),we},ce.prototype.setCurrentWidth=function(le,we){var Be=this;this.currentWidth=le,this.widthBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ce}(Re),Ct=function(Se){function ce(le,we,Be,fe){var st=Se.call(this,le,fe||'<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 st.styles=[],st.styleBoxes=[],st.styles=we,st.currentStyle=Be,st.setCurrentStyle=st.setCurrentStyle.bind(st),st}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");return we.style.display="flex",we.style.overflow="hidden",we.style.flexGrow="2",this.styles.forEach(function(Be){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/le.styles.length-5+"%",fe.style.borderColor=Be===le.currentStyle?le.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){le.setCurrentStyle(Be,fe)}),we.appendChild(fe);var st=document.createElement("div");st.style.minHeight="20px",st.style.flexGrow="2",st.style.overflow="hidden";var An=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+le.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(Be!==""?'stroke-dasharray="'+Be+'"':"")+` />
|
|
|
</svg>`;st.innerHTML=An,fe.appendChild(st),le.styleBoxes.push(fe)}),we},ce.prototype.setCurrentStyle=function(le,we){var Be=this;this.currentStyle=le,this.styleBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ce}(Re),Ft=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.strokeColor=Be.defaultColor,fe.strokeWidth=Be.defaultStrokeWidth,fe.strokeDasharray=Be.defaultStrokeDasharray,fe.strokePanel=new je("Line color",Be.defaultColorSet,Be.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ct("Line style",Be.defaultStrokeDasharrays,Be.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return Ee(ce,Se),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Se.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="FrameMarker",ce.title="Frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ce}(Qe),_t=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"},pt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.x1=0,fe.y1=0,fe.x2=0,fe.y2=0,fe.defaultLength=50,fe.manipulationStartX=0,fe.manipulationStartY=0,fe.manipulationStartX1=0,fe.manipulationStartY1=0,fe.manipulationStartX2=0,fe.manipulationStartY2=0,fe.setupControlBox(),fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!!Se.prototype.ownsTarget.call(this,le)||!(!this.grip1.ownsTarget(le)&&!this.grip2.ownsTarget(le))},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),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(we)?this.activeGrip=this.grip1:this.grip2.ownsTarget(we)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ce.prototype.pointerUp=function(le){var we=this.state;Se.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",we==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ce.prototype.adjustVisual=function(){},ce.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)},ce.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()},ce.prototype.select=function(){Se.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Se.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Oe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){this.positionGrips()},ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ce.prototype.createGrip=function(){var le=new ft;return le.visual.transform.baseVal.appendItem(Oe.createTransform()),this.controlBox.appendChild(le.visual),le},ce.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)},ce.prototype.positionGrip=function(le,we,Be){var fe=le.transform.baseVal.getItem(0);fe.setTranslate(we,Be),le.transform.baseVal.replaceItem(fe,0)},ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Se.prototype.getState.call(this))},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le);var we=le;this.x1=we.x1,this.y1=we.y1,this.x2=we.x2,this.y2=we.y2},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.x1=this.x1*le,this.y1=this.y1*we,this.x2=this.x2*le,this.y2=this.y2*we,this.adjustVisual(),this.adjustControlBox()},ce}(He),ht=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.strokeColor=Be.defaultColor,fe.strokeWidth=Be.defaultStrokeWidth,fe.strokeDasharray=Be.defaultStrokeDasharray,fe.strokePanel=new je("Line color",Be.defaultColorSet,Be.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ct("Line style",Be.defaultStrokeDasharrays,Be.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorLine&&le!==this.visibleLine)},ce.prototype.createVisual=function(){this.visual=Oe.createGroup(),this.selectorLine=Oe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Oe.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)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ce.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()),Oe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Oe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Oe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le);var we=le;this.strokeColor=we.strokeColor,this.strokeWidth=we.strokeWidth,this.strokeDasharray=we.strokeDasharray,this.createVisual(),this.adjustVisual()},ce.typeName="LineMarker",ce.title="Line marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ce}(pt),Ge=function(Se){function ce(le,we,Be,fe){var st=Se.call(this,le,fe||'<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 st.fonts=[],st.fontBoxes=[],st.fonts=we,st.currentFont=Be,st.setCurrentFont=st.setCurrentFont.bind(st),st}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");return we.style.overflow="hidden",we.style.flexGrow="2",this.fonts.forEach(function(Be){var fe=document.createElement("div");fe.style.display="inline-block",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/le.fonts.length-5+"%",fe.style.borderColor=Be===le.currentFont?le.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){le.setCurrentFont(Be,fe)}),we.appendChild(fe);var st=document.createElement("div");st.style.display="flex",st.style.minHeight="20px",st.style.flexGrow="2",st.style.fontFamily=Be,st.style.overflow="hidden";var An=document.createElement("div");An.style.whiteSpace="nowrap",An.style.overflow="hidden",An.style.textOverflow="ellipsis",An.innerHTML="The quick brown fox jumps over the lazy dog",st.appendChild(An),fe.appendChild(st),le.fontBoxes.push(fe)}),we},ce.prototype.setCurrentFont=function(le,we){var Be=this;this.currentFont=le,this.fontBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ce}(Re),Et=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.color="transparent",fe.padding=5,fe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",fe.text=fe.DEFAULT_TEXT,fe.isMoved=!1,fe.color=Be.defaultColor,fe.fontFamily=Be.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setColor=fe.setColor.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.renderText=fe.renderText.bind(fe),fe.sizeText=fe.sizeText.bind(fe),fe.textEditDivClicked=fe.textEditDivClicked.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.setSize=fe.setSize.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.colorPanel=new je("Color",Be.defaultColorSet,Be.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.fontFamilyPanel=new Ge("Font",Be.defaultFontFamilies,Be.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){if(Se.prototype.ownsTarget.call(this,le)||le===this.visual||le===this.textElement||le===this.bgRectangle)return!0;var we=!1;return this.textElement.childNodes.forEach(function(Be){Be===le&&(we=!0)}),we},ce.prototype.createVisual=function(){this.visual=Oe.createGroup(),this.bgRectangle=Oe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Oe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Oe.createTransform()),this.textElement.transform.baseVal.appendItem(Oe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.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(we){le.textElement.appendChild(Oe.createTSpan(we.trim()===""?" ":we.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ce.prototype.getTextScale=function(){var le=this.textElement.getBBox(),we=1;if(le.width>0&&le.height>0){var Be=(1*this.width-this.width*this.padding*2/100)/le.width,fe=(1*this.height-this.height*this.padding*2/100)/le.height;we=Math.min(Be,fe)}return we},ce.prototype.getTextPosition=function(le){var we=this.textElement.getBBox(),Be=0,fe=0;return we.width>0&&we.height>0&&(Be=(this.width-we.width*le)/2,fe=this.height/2-we.height*le/2),{x:Be,y:fe}},ce.prototype.sizeText=function(){var le=this.textElement.getBBox(),we=this.getTextScale(),Be=this.getTextPosition(we);Be.y-=le.y*we,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Be.x+"px, "+Be.y+"px) scale("+we+", "+we+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Be.x,Be.y),this.textElement.transform.baseVal.getItem(1).setScale(we,we))},ce.prototype.manipulate=function(le){Se.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)},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),this.isMoved=!0,this.setSize(),this.sizeText()},ce.prototype.setSize=function(){Se.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Oe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ce.prototype.pointerUp=function(le){var we=this.state;we==="creating"&&(this._suppressMarkerCreateEvent=!0),Se.prototype.pointerUp.call(this,le),this.setSize(),(we==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.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(we){we.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var we=Number.parseFloat(le.textEditor.style.fontSize);le.textEditor.clientWidth>=Number.parseInt(le.textEditor.style.maxWidth)&&we>.9;)we-=.1,le.textEditor.style.fontSize=Math.max(we,.9)+"em"}),this.textEditor.addEventListener("keyup",function(we){we.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(we){if(we.clipboardData){var Be=we.clipboardData.getData("text"),fe=window.getSelection();if(!fe.rangeCount)return!1;fe.deleteFromDocument(),fe.getRangeAt(0).insertNode(document.createTextNode(Be)),we.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")},ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var le=this.getTextScale(),we=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Be=this.textElement.getBBox(),fe={x:Be.width*le,y:Be.height*le};we.x-=fe.x/2,we.y-=fe.y/2,this.textEditor.style.top=we.y+"px",this.textEditor.style.left=we.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-we.x+"px",this.textEditor.style.fontSize=Math.max(16*le,12)+"px",this.textElement.style.display="none"}},ce.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()},ce.prototype.select=function(){Se.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Se.prototype.deselect.call(this)},ce.prototype.dblClick=function(le,we){Se.prototype.dblClick.call(this,le,we),this.showTextEditor()},ce.prototype.setColor=function(le){this.textElement&&Oe.setAttributes(this.textElement,[["fill",le]]),this.color=le,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(le)},ce.prototype.setFont=function(le){this.textElement&&Oe.setAttributes(this.textElement,[["font-family",le]]),this.fontFamily=le,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var we=le;this.color=we.color,this.fontFamily=we.fontFamily,this.padding=we.padding,this.text=we.text,this.createVisual(),Se.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.setSize(),this.sizeText(),this.positionTextEditor()},ce.typeName="TextMarker",ce.title="Text marker",ce.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>',ce}(dt),nt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.color="transparent",fe.lineWidth=3,fe.drawing=!1,fe.pixelRatio=1,fe.color=Be.defaultColor,fe.lineWidth=Be.defaultStrokeWidth,fe.pixelRatio=Be.freehandPixelRatio,fe.setColor=fe.setColor.bind(fe),fe.addCanvas=fe.addCanvas.bind(fe),fe.finishCreation=fe.finishCreation.bind(fe),fe.setLineWidth=fe.setLineWidth.bind(fe),fe.colorPanel=new je("Color",Be.defaultColorSet,Be.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.lineWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.lineWidthPanel.onWidthChanged=fe.setLineWidth,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.drawingImage)},ce.prototype.createVisual=function(){this.visual=Oe.createGroup(),this.drawingImage=Oe.createImage(),this.visual.appendChild(this.drawingImage);var le=Oe.createTransform();this.visual.transform.baseVal.appendItem(le),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,we){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):Se.prototype.pointerDown.call(this,le,we)},ce.prototype.manipulate=function(le){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(le.x,le.y),this.canvasContext.stroke()):Se.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),Oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Oe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(le){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Se.prototype.pointerUp.call(this,le)},ce.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)},ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Se.prototype.select.call(this)},ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Se.prototype.deselect.call(this)},ce.prototype.finishCreation=function(){for(var le=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),we=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Be=we[0],fe=we[1],st=we[2],An=we[3],Jn=!1,xr=0;xr<this.canvasElement.height;xr++)for(var ur=0;ur<this.canvasElement.width;ur++)le.data[xr*this.canvasElement.width*4+4*ur+3]>0&&(Jn=!0,xr<fe&&(fe=xr),ur<Be&&(Be=ur),xr>An&&(An=xr),ur>st&&(st=ur));if(Jn){this.left=Be/this.pixelRatio,this.top=fe/this.pixelRatio,this.width=(st-Be)/this.pixelRatio,this.height=(An-fe)/this.pixelRatio;var qr=document.createElement("canvas");qr.width=st-Be,qr.height=An-fe,qr.getContext("2d").putImageData(this.canvasContext.getImageData(Be,fe,st-Be,An-fe),0,0),this.drawingImgUrl=qr.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ce.prototype.setDrawingImage=function(){Oe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Oe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ce.prototype.setColor=function(le){this.color=le,this.colorChanged(le)},ce.prototype.setLineWidth=function(le){this.lineWidth=le},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({drawingImgUrl:this.drawingImgUrl},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){this.createVisual(),Se.prototype.restoreState.call(this,le),this.drawingImgUrl=le.drawingImgUrl,this.setDrawingImage()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.setDrawingImage()},ce.typeName="FreehandMarker",ce.title="Freehand marker",ce.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>',ce}(dt),kt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,Be||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return fe.typeBoxes=[],fe.currentType=we,fe.setCurrentType=fe.setCurrentType.bind(fe),fe}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");we.style.display="flex",we.style.overflow="hidden",we.style.flexGrow="2";for(var Be=function(An){var Jn="both";switch(An){case 0:Jn="both";break;case 1:Jn="start";break;case 2:Jn="end";break;case 3:Jn="none"}var xr=document.createElement("div");if(xr.style.display="flex",xr.style.flexGrow="2",xr.style.alignItems="center",xr.style.justifyContent="space-between",xr.style.padding="5px",xr.style.borderWidth="2px",xr.style.borderStyle="solid",xr.style.borderColor=Jn===fe.currentType?fe.uiStyleSettings.toolboxAccentColor:"transparent",xr.addEventListener("click",function(){le.setCurrentType(Jn,xr)}),we.appendChild(xr),Jn==="both"||Jn==="start"){var ur=document.createElement("div");ur.style.display="flex",ur.style.alignItems="center",ur.style.minHeight="20px",ur.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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,ur.style.marginLeft="5px",xr.appendChild(ur)}var qr=document.createElement("div");qr.style.display="flex",qr.style.alignItems="center",qr.style.minHeight="20px",qr.style.flexGrow="2";var ii=document.createElement("hr");if(ii.style.minWidth="20px",ii.style.border="0px",ii.style.borderTop="3px solid "+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee"),ii.style.flexGrow="2",qr.appendChild(ii),xr.appendChild(qr),Jn==="both"||Jn==="end"){var Ii=document.createElement("div");Ii.style.display="flex",Ii.style.alignItems="center",Ii.style.minHeight="20px",Ii.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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Ii.style.marginRight="5px",xr.appendChild(Ii)}fe.typeBoxes.push(xr)},fe=this,st=0;st<4;st++)Be(st);return we},ce.prototype.setCurrentType=function(le,we){var Be=this;this.currentType=le,this.typeBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings!==void 0?Be.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ce}(Re),En=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.arrowType="end",fe.arrowBaseHeight=10,fe.arrowBaseWidth=10,fe.getArrowPoints=fe.getArrowPoints.bind(fe),fe.setArrowType=fe.setArrowType.bind(fe),fe.arrowTypePanel=new kt("Arrow type","end"),fe.arrowTypePanel.onArrowTypeChanged=fe.setArrowType,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.arrow1&&le!==this.arrow2)},ce.prototype.getArrowPoints=function(le,we){var Be=this.arrowBaseWidth+2*this.strokeWidth,fe=this.arrowBaseHeight+2*this.strokeWidth;return le-Be/2+","+(we+fe/2)+" "+le+","+(we-fe/2)+" "+(le+Be/2)+","+(we+fe/2)},ce.prototype.createTips=function(){this.arrow1=Oe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Oe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Oe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Oe.createTransform()),this.visual.appendChild(this.arrow2)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(Se.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",Oe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Oe.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 we=this.arrow1.transform.baseVal.getItem(0);we.setRotate(le,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(we,0);var Be=this.arrow2.transform.baseVal.getItem(0);Be.setRotate(le+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Be,0)}},ce.prototype.setArrowType=function(le){this.arrowType=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({arrowType:this.arrowType},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le);var we=le;this.arrowType=we.arrowType,this.createTips(),this.adjustVisual()},ce.typeName="ArrowMarker",ce.title="Arrow marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ce}(ht),Kt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.fillColor=Be.defaultFillColor,fe.strokeWidth=0,fe.fillPanel=new je("Color",Be.defaultColorSet,Be.defaultFillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe}return Ee(ce,Se),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Se.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="CoverMarker",ce.title="Cover marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ce}(Qe),mn=function(Se){function ce(le,we,Be,fe){var st=Se.call(this,le,fe||'<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 st.opacities=[],st.opacityBoxes=[],st.opacities=we,st.currentOpacity=Be,st.setCurrentOpacity=st.setCurrentOpacity.bind(st),st}return Ee(ce,Se),ce.prototype.getUi=function(){var le=this,we=document.createElement("div");return we.style.display="flex",we.style.overflow="hidden",we.style.flexGrow="2",we.style.justifyContent="space-between",this.opacities.forEach(function(Be){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="center",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=Be===le.currentOpacity?le.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){le.setCurrentOpacity(Be,fe)}),we.appendChild(fe);var st=document.createElement("div");st.innerText=100*Be+"%",fe.appendChild(st),le.opacityBoxes.push(fe)}),we},ce.prototype.setCurrentOpacity=function(le,we){var Be=this;this.currentOpacity=le,this.opacityBoxes.forEach(function(fe){fe.style.borderColor=fe===we?Be.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ce}(Re),Nn=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.setOpacity=fe.setOpacity.bind(fe),fe.fillColor=Be.defaultHighlightColor,fe.strokeWidth=0,fe.opacity=Be.defaultHighlightOpacity,fe.fillPanel=new je("Color",Be.defaultColorSet,fe.fillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe.opacityPanel=new mn("Opacity",Be.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return Ee(ce,Se),ce.prototype.setOpacity=function(le){this.opacity=le,this.visual&&Oe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Se.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="HighlightMarker",ce.title="Highlight marker",ce.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>',ce}(Kt),ze='<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>',ke='<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>',Nt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.bgColor="transparent",fe.tipPosition={x:0,y:0},fe.tipBase1Position={x:0,y:0},fe.tipBase2Position={x:0,y:0},fe.tipMoving=!1,fe.color=Be.defaultStrokeColor,fe.bgColor=Be.defaultFillColor,fe.fontFamily=Be.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setBgColor=fe.setBgColor.bind(fe),fe.getTipPoints=fe.getTipPoints.bind(fe),fe.positionTip=fe.positionTip.bind(fe),fe.setTipPoints=fe.setTipPoints.bind(fe),fe.colorPanel=new je("Text color",Be.defaultColorSet,fe.color,ze),fe.colorPanel.onColorChanged=fe.setColor,fe.bgColorPanel=new je("Fill color",Be.defaultColorSet,fe.bgColor,ke),fe.bgColorPanel.onColorChanged=fe.setBgColor,fe.fontFamilyPanel=new Ge("Font",Be.defaultFontFamilies,Be.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.tipGrip=new ft,fe.tipGrip.visual.transform.baseVal.appendItem(Oe.createTransform()),fe.controlBox.appendChild(fe.tipGrip.visual),fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return Se.prototype.ownsTarget.call(this,le)||this.tipGrip.ownsTarget(le)||this.tip===le},ce.prototype.createTip=function(){Oe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Oe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ce.prototype.pointerDown=function(le,we){this.state==="new"&&Se.prototype.pointerDown.call(this,le,we),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(we)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Se.prototype.pointerDown.call(this,le,we)},ce.prototype.pointerUp=function(le){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Se.prototype.pointerUp.call(this,le);else{var we=this.state==="creating";Se.prototype.pointerUp.call(this,le),this.setTipPoints(we),this.positionTip()}},ce.prototype.manipulate=function(le){if(this.tipMoving){var we=this.unrotatePoint(le);this.tipPosition={x:we.x-this.manipulationStartLeft,y:we.y-this.manipulationStartTop},this.positionTip()}else Se.prototype.manipulate.call(this,le)},ce.prototype.setBgColor=function(le){this.bgRectangle&&this.tip&&(Oe.setAttributes(this.bgRectangle,[["fill",le]]),Oe.setAttributes(this.tip,[["fill",le]])),this.bgColor=le,this.fillColorChanged(le)},ce.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},ce.prototype.setTipPoints=function(le){le===void 0&&(le=!1);var we=Math.min(this.height/2,15),Be=this.height/5;le&&(this.tipPosition={x:we+Be/2,y:this.height+20});var fe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(Be=this.width/5,we=Math.min(this.width/2,15),this.tipBase1Position={x:we,y:0},this.tipBase2Position={x:we+Be,y:0}):(this.tipBase1Position={x:0,y:we},this.tipBase2Position={x:0,y:we+Be}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(Be=this.width/5,we=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-we-Be,y:0},this.tipBase2Position={x:this.width-we,y:0}):(this.tipBase1Position={x:this.width,y:we},this.tipBase2Position={x:this.width,y:we+Be}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?fe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(Be=this.width/5,we=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-we-Be,y:this.height},this.tipBase2Position={x:this.width-we,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-we-Be},this.tipBase2Position={x:this.width,y:this.height-we}):fe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(Be=this.width/5,we=Math.min(this.width/2,15),this.tipBase1Position={x:we,y:this.height},this.tipBase2Position={x:we+Be,y:this.height}):(this.tipBase1Position={x:0,y:this.height-we},this.tipBase2Position={x:0,y:this.height-we-Be})},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),this.positionTip()},ce.prototype.positionTip=function(){Oe.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(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.positionTip(),Se.prototype.select.call(this)},ce.prototype.getState=function(){var le=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var we=le;this.bgColor=we.bgColor,this.tipPosition=we.tipPosition,Se.prototype.restoreState.call(this,le),this.createTip(),this.setTipPoints()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.tipPosition={x:this.tipPosition.x*le,y:this.tipPosition.y*we},this.positionTip()},ce.typeName="CalloutMarker",ce.title="Callout marker",ce.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>',ce}(Et),bn=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.strokeColor=Be.defaultColor,fe.strokeWidth=Be.defaultStrokeWidth,fe.strokeDasharray=Be.defaultStrokeDasharray,fe.fillColor=Be.defaultFillColor,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.setOpacity=fe.setOpacity.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.strokePanel=new je("Line color",We(Be.defaultColorSet,["transparent"]),Be.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new je("Fill color",We(Be.defaultColorSet,["transparent"]),fe.fillColor,ke),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ct("Line style",Be.defaultStrokeDasharrays,Be.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.opacityPanel=new mn("Opacity",Be.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual)},ce.prototype.createVisual=function(){this.visual=Oe.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)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){Se.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),this.setSize()},ce.prototype.setSize=function(){Se.prototype.setSize.call(this),Oe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ce.prototype.pointerUp=function(le){Se.prototype.pointerUp.call(this,le),this.setSize()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&Oe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&Oe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&Oe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&Oe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.setOpacity=function(le){this.opacity=le,this.visual&&Oe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var we=le;this.fillColor=we.fillColor,this.strokeColor=we.strokeColor,this.strokeWidth=we.strokeWidth,this.strokeDasharray=we.strokeDasharray,this.opacity=we.opacity,this.createVisual(),Se.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.setSize()},ce.typeName="EllipseMarker",ce.title="Ellipse marker",ce.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>',ce}(dt),xn=function(Se){function ce(le,we,Be){return Se.call(this,le,we,Be)||this}return Ee(ce,Se),Object.defineProperty(ce.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.tip1&&le!==this.tip2)},ce.prototype.createTips=function(){this.tip1=Oe.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(Oe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Oe.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(Oe.createTransform()),this.visual.appendChild(this.tip2)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(Se.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Oe.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()]]),Oe.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),we=this.tip1.transform.baseVal.getItem(0);we.setRotate(le,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(we,0);var Be=this.tip2.transform.baseVal.getItem(0);Be.setRotate(le+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Be,0)}},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Se.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le),this.createTips(),this.adjustVisual()},ce.typeName="MeasurementMarker",ce.title="Measurement marker",ce.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>',ce}(ht),yt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.strokePanel.colors=Be.defaultColorSet,fe.fillColor="transparent",fe}return Ee(ce,Se),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Se.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="EllipseFrameMarker",ce.title="Ellipse frame marker",ce.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>',ce}(bn),ct=function(){function Se(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Se.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Se.prototype.addUndoStep=function(ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ce)||(this.undoStack.push(ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ce)&&this.redoStack.splice(0,this.redoStack.length))},Se.prototype.replaceLastUndoStep=function(ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ce)},Se.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Se.prototype.undo=function(){if(this.undoStack.length>1){var ce=this.undoStack.pop();return ce!==void 0&&this.redoStack.push(ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Se.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Se}(),Gt=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.curveX=0,fe.curveY=0,fe.manipulationStartCurveX=0,fe.manipulationStartCurveY=0,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.positionGrips=fe.positionGrips.bind(fe),fe.addControlGrips=fe.addControlGrips.bind(fe),fe.adjustVisual=fe.adjustVisual.bind(fe),fe.setupControlBox=fe.setupControlBox.bind(fe),fe.resize=fe.resize.bind(fe),fe.strokeColor=Be.defaultColor,fe.strokeWidth=Be.defaultStrokeWidth,fe.strokeDasharray=Be.defaultStrokeDasharray,fe.strokePanel=new je("Line color",Be.defaultColorSet,Be.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ct("Line style",Be.defaultStrokeDasharrays,Be.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorCurve&&le!==this.visibleCurve&&!this.curveGrip.ownsTarget(le))},ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ce.prototype.createVisual=function(){this.visual=Oe.createGroup(),this.selectorCurve=Oe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Oe.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)},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),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(we)&&(this.activeGrip=this.curveGrip,this._state="resize")},ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Oe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Oe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Oe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setupControlBox=function(){Se.prototype.setupControlBox.call(this),this.curveControlLine1=Oe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Oe.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)},ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Se.prototype.addControlGrips.call(this)},ce.prototype.positionGrips=function(){Se.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()))},ce.prototype.manipulate=function(le){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+le.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+le.y-this.manipulationStartY),Se.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){this.activeGrip===this.curveGrip&&(this.curveX=le.x,this.curveY=le.y),Se.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)},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual()},ce.prototype.scale=function(le,we){this.curveX=this.curveX*le,this.curveY=this.curveY*we,Se.prototype.scale.call(this,le,we)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Se.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){Se.prototype.restoreState.call(this,le);var we=le;this.strokeColor=we.strokeColor,this.strokeWidth=we.strokeWidth,this.strokeDasharray=we.strokeDasharray,this.curveX=we.curveX,this.curveY=we.curveY,this.createVisual(),this.adjustVisual()},ce.typeName="CurveMarker",ce.title="Curve marker",ce.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>',ce}(pt),jn=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,we,Be)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.textColor="transparent",fe.fontSize="1rem",fe.isMoved=!1,fe.captionText="Caption",fe.PADDING=5,fe.captionBoxWidth=0,fe.captionBoxHeight=0,fe.strokeColor=Be.defaultColor,fe.strokeWidth=Be.defaultStrokeWidth,fe.strokeDasharray=Be.defaultStrokeDasharray,fe.fillColor=Be.defaultFillColor,fe.textColor=Be.defaultStrokeColor,fe.fontFamily=Be.defaultFontFamily,fe.fontSize=Be.defaultCaptionFontSize,fe.captionText=Be.defaultCaptionText,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.sizeCaption=fe.sizeCaption.bind(fe),fe.setCaptionText=fe.setCaptionText.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.finishTextEditing=fe.finishTextEditing.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.setTextColor=fe.setTextColor.bind(fe),fe.strokePanel=new je("Line color",We(Be.defaultColorSet,["transparent"]),fe.strokeColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new je("Fill color",We(Be.defaultColorSet,["transparent"]),fe.fillColor,ke),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new De("Line width",Be.defaultStrokeWidths,Be.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ct("Line style",Be.defaultStrokeDasharrays,Be.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.fontFamilyPanel=new Ge("Font",Be.defaultFontFamilies,Be.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.textColorPanel=new je("Text color",Be.defaultColorSet,fe.textColor,ze),fe.textColorPanel.onColorChanged=fe.setTextColor,fe}return Ee(ce,Se),ce.prototype.ownsTarget=function(le){return!(!Se.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.frame&&le!==this.captionBg&&le!==this.captionElement)},ce.prototype.createVisual=function(){this.visual=Oe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Oe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Oe.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=Oe.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()},ce.prototype.setCaptionText=function(le){this.captionText=le,this.captionElement.textContent=this.captionText,this.sizeCaption()},ce.prototype.pointerDown=function(le,we){Se.prototype.pointerDown.call(this,le,we),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){Se.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)},ce.prototype.resize=function(le){Se.prototype.resize.call(this,le),this.setSize()},ce.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),Oe.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')"]]),Oe.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')"]])},ce.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(we){we.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(we){we.key==="Enter"&&le.finishTextEditing(le.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(we){we.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()},ce.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"))},ce.prototype.finishTextEditing=function(le){this.setCaptionText(le.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ce.prototype.setFont=function(le){this.captionElement&&Oe.setAttributes(this.captionElement,[["font-family",le]]),this.fontFamily=le,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ce.prototype.setTextColor=function(le){this.captionElement&&Oe.setAttributes(this.captionElement,[["fill",le]]),this.textColor=le,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ce.prototype.setSize=function(){Se.prototype.setSize.call(this),Oe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ce.prototype.pointerUp=function(le){Se.prototype.pointerUp.call(this,le),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.dblClick=function(le,we){Se.prototype.dblClick.call(this,le,we),this.showTextEditor()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.frame&&Oe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.captionBg&&Oe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.frame&&Oe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.frame&&Oe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ce.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},Se.prototype.getState.call(this));return le.typeName=this.typeName,le},ce.prototype.restoreState=function(le){var we=le;this.fillColor=we.fillColor,this.strokeColor=we.strokeColor,this.strokeWidth=we.strokeWidth,this.strokeDasharray=we.strokeDasharray,this.textColor=we.textColor,this.fontFamily=we.fontFamily,this.captionText=we.captionText,this.fontSize=we.fontSize,this.createVisual(),Se.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,we){Se.prototype.scale.call(this,le,we),this.setSize()},ce.typeName="CaptionFrameMarker",ce.title="Caption frame marker",ce.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>',ce}(dt),Zt=function(){function Se(ce,le){le===void 0&&(le=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ce,this.cancelable=le}return Object.defineProperty(Se.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Se.prototype.preventDefault=function(){this._defaultPrevented=!0},Se}(),hn=function(Se){function ce(le,we,Be){var fe=Se.call(this,le,!1)||this;return fe.dataUrl=we,fe.state=Be,fe}return Ee(ce,Se),ce}(Zt),xt=function(Se){function ce(le,we,Be){Be===void 0&&(Be=!1);var fe=Se.call(this,le,Be)||this;return fe.marker=we,fe}return Ee(ce,Se),ce}(Zt),wn=function(){function Se(){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 Se.prototype.addEventListener=function(ce,le){this[ce].push(le)},Se.prototype.removeEventListener=function(ce,le){var we=this[ce].indexOf(le);we>-1&&this[ce].splice(we,1)},Se}(),on=function(){function Se(ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new _t,this._isOpen=!1,this.undoRedoManager=new ct,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 wn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Se.instanceCounter++,this.styles=new rt(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ce,this.targetRoot=document.body,this.width=ce.clientWidth,this.height=ce.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(Se.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ft,nt,En,Et,yt,bn,Nn,Nt,xn,Kt,ht,Gt,jn]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ft,nt,En,Et,bn,Nn,Nt]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ft,nt,En,Et,Nn]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ce){var le=this;this._availableMarkerTypes.splice(0),ce.forEach(function(we){if(typeof we=="string"){var Be=le.ALL_MARKER_TYPES.find(function(fe){return fe.typeName===we});Be!==void 0&&le._availableMarkerTypes.push(Be)}else le._availableMarkerTypes.push(we)})},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ce){this._zoomLevel=ce,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(Se.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Se.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ye.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Se.prototype.show=function(){var ce=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 Zt(ce))})},Se.prototype.render=function(){return et(this,void 0,void 0,function(){var ce;return vt(this,function(le){switch(le.label){case 0:return this.setCurrentMarker(),(ce=new Ce).naturalSize=this.renderAtNaturalSize,ce.imageType=this.renderImageType,ce.imageQuality=this.renderImageQuality,ce.markersOnly=this.renderMarkersOnly,ce.width=this.renderWidth,ce.height=this.renderHeight,[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return le.sent(),[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,le.sent()]}})})},Se.prototype.close=function(ce){var le=this;if(ce===void 0&&(ce=!1),this.isOpen){var we=!1;ce||this.eventListeners.beforeclose.forEach(function(Be){var fe=new Zt(le,!0);Be(fe),fe.defaultPrevented&&(we=!0)}),we||(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(Be){return Be(new Zt(le))}),this.detachEvents(),this._isOpen=!1)}},Se.prototype.addMarkersToToolbar=function(){for(var ce,le=[],we=0;we<arguments.length;we++)le[we]=arguments[we];(ce=this._availableMarkerTypes).push.apply(ce,le)},Se.prototype.addRenderEventListener=function(ce){this.addEventListener("render",function(le){ce(le.dataUrl,le.state)})},Se.prototype.removeRenderEventListener=function(ce){},Se.prototype.addCloseEventListener=function(ce){this.addEventListener("close",function(){ce()})},Se.prototype.removeCloseEventListener=function(ce){},Se.prototype.setupResizeObserver=function(){var ce=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ce.resize(ce.target.clientWidth,ce.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ce.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Se.prototype.onPopupTargetResize=function(){var ce=1*this.target.clientWidth/this.target.clientHeight,le=this.editorCanvas.clientWidth/ce>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ce:this.editorCanvas.clientWidth,we=le<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ce;this.resize(le,we)},Se.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Se.prototype.resize=function(ce,le){this._isResizing=!0;var we=ce/this.imageWidth,Be=le/this.imageHeight;this.imageWidth=Math.round(ce),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(we,Be),this._isResizing=!1},Se.prototype.scaleMarkers=function(ce,le){var we,Be=this;this._currentMarker&&this._currentMarker instanceof Et?this._currentMarker.scale(ce,le):(we=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(fe){fe!==Be._currentMarker&&fe.scale(ce,le)}),we!==void 0&&this.setCurrentMarker(we)},Se.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"},Se.prototype.setTopLeft=function(){var ce=this.editingTarget.getBoundingClientRect(),le=this.editorCanvas.getBoundingClientRect();this.left=ce.left-le.left,this.top=ce.top-le.top},Se.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)},Se.prototype.addDefs=function(){for(var ce,le=[],we=0;we<arguments.length;we++)le[we]=arguments[we];this.defs=Oe.createDefs(),this.addDefsToImage(),(ce=this.defs).append.apply(ce,le)},Se.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Se.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)},Se.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Se.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Se.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)},Se.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Se.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)},Se.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 ce=document.createElement("a");ce.href="https://markerjs.com/",ce.target="_blank",ce.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>',ce.title="Powered by marker.js",ce.style.display="grid",ce.style.alignItems="center",ce.style.justifyItems="center",ce.style.padding="3px",ce.style.width="20px",ce.style.height="20px",this.logoUI.appendChild(ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Se.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")},Se.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"},Se.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Se.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 ce=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=ce+"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 gt(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 Je(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Se.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Se.prototype.removeMarker=function(ce){this.markerImage.removeChild(ce.container),this.markers.indexOf(ce)>-1&&this.markers.splice(this.markers.indexOf(ce),1),ce.dispose()},Se.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())},Se.prototype.toolbarButtonClicked=function(ce,le){if(ce==="marker"&&le!==void 0)this.createNewMarker(le);else if(ce==="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()}},Se.prototype.deleteSelectedMarker=function(){var ce=this;if(this._currentMarker!==void 0){var le=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Be){var fe=new xt(ce,ce._currentMarker,!0);Be(fe),fe.defaultPrevented&&(le=!0)}),!le){var we=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(Be){return Be(new xt(ce,we))})}}},Se.prototype.clear=function(){var ce=this,le=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(st){var An=new xt(ce,void 0,!0);st(An),An.defaultPrevented&&(le=!0)}),!le)){this.setCurrentMarker();for(var we=function(st){var An=Be.markers[st];Be.setCurrentMarker(Be.markers[st]),Be._currentMarker.dispose(),Be.markerImage.removeChild(Be._currentMarker.container),Be.markers.splice(Be.markers.indexOf(Be._currentMarker),1),Be.eventListeners.markerdelete.forEach(function(Jn){return Jn(new xt(ce,An))})},Be=this,fe=this.markers.length-1;fe>=0;fe--)we(fe);this.addUndoStep()}},Object.defineProperty(Se.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Se.prototype.showNotesEditor=function(){var ce;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=(ce=this._currentMarker.notes)!==null&&ce!==void 0?ce:"",this.overlayContainer.appendChild(this.notesArea))},Se.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)},Se.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Se.prototype.addUndoStep=function(){var ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var le=this.getState(),we=this.undoRedoManager.getLastUndoStep();if(!we||we.width===le.width&&we.height===le.height){var Be=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(le),Be<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(fe){return fe(new Zt(ce))})}else this.undoRedoManager.replaceLastUndoStep(le),this.eventListeners.statechange.forEach(function(fe){return fe(new Zt(ce))})}},Se.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Se.prototype.undoStep=function(){var ce=this,le=this.undoRedoManager.undo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(we){return we(new Zt(ce))}))},Se.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Se.prototype.redoStep=function(){var ce=this,le=this.undoRedoManager.redo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(we){return we(new Zt(ce))}))},Se.prototype.stepZoom=function(){var ce=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ce<this.zoomSteps.length-1?this.zoomSteps[ce+1]:this.zoomSteps[0]},Se.prototype.panTo=function(ce){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ce.x,top:this.prevPanPoint.y-ce.y}),this.prevPanPoint=ce},Se.prototype.startRenderAndClose=function(){return et(this,void 0,void 0,function(){var ce,le,we=this;return vt(this,function(Be){switch(Be.label){case 0:return[4,this.render()];case 1:return ce=Be.sent(),le=this.getState(),this.eventListeners.render.forEach(function(fe){return fe(new hn(we,ce,le))}),this.close(!0),[2]}})})},Se.prototype.getState=function(ce){ce===!0&&this.setCurrentMarker();var le={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(we){return le.markers.push(we.getState())}),le},Se.prototype.restoreState=function(ce){var le=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ce.markers.forEach(function(we){var Be=le._availableMarkerTypes.find(function(st){return st.typeName===we.typeName});if(Be!==void 0){var fe=le.addNewMarker(Be);fe.restoreState(we),le.markers.push(fe)}}),ce.width&&ce.height&&(ce.width!==this.imageWidth||ce.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ce.width,this.imageHeight/ce.height),this.eventListeners.restorestate.forEach(function(we){return we(new Zt(le))})},Se.prototype.addNewMarker=function(ce){var le=Oe.createGroup();return this.markerImage.appendChild(le),new ce(le,this.overlayContainer,this.settings)},Se.prototype.createNewMarker=function(ce){var le,we=this;(le=typeof ce=="string"?this._availableMarkerTypes.find(function(Be){return Be.typeName===ce}):ce)&&(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(Be){return Be(new xt(we,we._currentMarker))}))},Se.prototype.markerCreated=function(ce){var le=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ce),this.setCurrentMarker(ce),ce instanceof nt&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(nt):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(we){return we(new xt(le,le._currentMarker))})},Se.prototype.colorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ce,this.settings.defaultStrokeColor=ce)},Se.prototype.fillColorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ce)},Se.prototype.markerStateChanged=function(ce){var le=this;this.eventListeners.markerchange.forEach(function(we){return we(new xt(le,ce))})},Se.prototype.setCurrentMarker=function(ce){var le=this;this._currentMarker!==ce&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(we){return we(new xt(le,le._currentMarker))})),this._currentMarker=ce,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(we){return we(new xt(le,le._currentMarker))}))},Se.prototype.onPointerDown=function(ce){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ce.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(we){return we.ownsTarget(ce.target)});le!==void 0?(this.setCurrentMarker(le),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ce.clientX,y:ce.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY))},Se.prototype.onDblClick=function(ce){if(this._isFocused||this.focus(),this.mode==="select"){var le=this.markers.find(function(we){return we.ownsTarget(ce.target)});le!==void 0&&le!==this._currentMarker&&this.setCurrentMarker(le),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target):this.setCurrentMarker()}},Se.prototype.onPointerMove=function(ce){this.touchPoints!==1&&ce.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ce.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ce.clientX,ce.clientY)):this.zoomLevel>1&&this.panTo({x:ce.clientX,y:ce.clientY}))},Se.prototype.onPointerUp=function(ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ce.clientX,ce.clientY)),this.isDragging=!1,this.addUndoStep()},Se.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Se.prototype.onKeyUp=function(ce){this._currentMarker===void 0||this.notesArea!==void 0||ce.key!=="Delete"&&ce.key!=="Backspace"||this.deleteSelectedMarker()},Se.prototype.clientToLocalCoordinates=function(ce,le){var we=this.markerImage.getBoundingClientRect();return{x:(ce-we.left)/this.zoomLevel,y:(le-we.top)/this.zoomLevel}},Se.prototype.onWindowResize=function(){this.positionUI()},Se.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"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()},Se.prototype.addLicenseKey=function(ce){Ye.addKey(ce)},Se.prototype.addEventListener=function(ce,le){this.eventListeners.addEventListener(ce,le)},Se.prototype.removeEventListener=function(ce,le){this.eventListeners.removeEventListener(ce,le)},Se.prototype.renderState=function(ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Se.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Se.prototype.focus=function(){var ce=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 Zt(ce))}))},Se.prototype.blur=function(){var ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(le){return le(new Zt(ce))}))},Se.instanceCounter=0,Se}()},51581:function(Dt,Xt,pe){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});var ae=function(){function Te(gt,Je){for(var Re=0;Re<Je.length;Re++){var je=Je[Re];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(gt,je.key,je)}}return function(gt,Je,Re){return Je&&Te(gt.prototype,Je),Re&&Te(gt,Re),gt}}(),Ee=pe(59301),et=Oe(Ee),vt=pe(12708),We=Oe(vt);function Oe(Te){return Te&&Te.__esModule?Te:{default:Te}}function Ye(Te,gt){var Je={};for(var Re in Te)gt.indexOf(Re)>=0||Object.prototype.hasOwnProperty.call(Te,Re)&&(Je[Re]=Te[Re]);return Je}function Ce(Te,gt){if(!(Te instanceof gt))throw new TypeError("Cannot call a class as a function")}function Me(Te,gt){if(!Te)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return gt&&(typeof gt=="object"||typeof gt=="function")?gt:Te}function rt(Te,gt){if(typeof gt!="function"&>!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof gt);Te.prototype=Object.create(gt&>.prototype,{constructor:{value:Te,enumerable:!1,writable:!0,configurable:!0}}),gt&&(Object.setPrototypeOf?Object.setPrototypeOf(Te,gt):Te.__proto__=gt)}var lt=function(Te){rt(gt,Te);function gt(Je){Ce(this,gt);var Re=Me(this,(gt.__proto__||Object.getPrototypeOf(gt)).call(this,Je));return Re.scrollListener=Re.scrollListener.bind(Re),Re.eventListenerOptions=Re.eventListenerOptions.bind(Re),Re.mousewheelListener=Re.mousewheelListener.bind(Re),Re}return ae(gt,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var Re=this.getParentElement(this.scrollComponent);Re.scrollTop=Re.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var Re=!1,je={get passive(){Re=!0}};try{document.addEventListener("test",null,je),document.removeEventListener("test",null,je)}catch(He){}return Re}},{key:"eventListenerOptions",value:function(){var Re=this.props.useCapture;return this.isPassiveSupported()&&(Re={useCapture:this.props.useCapture,passive:!0}),Re}},{key:"setDefaultLoader",value:function(Re){this.defaultLoader=Re}},{key:"detachMousewheelListener",value:function(){var Re=window;this.props.useWindow===!1&&(Re=this.scrollComponent.parentNode),Re.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var Re=window;this.props.useWindow===!1&&(Re=this.getParentElement(this.scrollComponent)),Re.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),Re.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(Re){var je=this.props.getScrollParent&&this.props.getScrollParent();return je!=null?je:Re&&Re.parentNode}},{key:"filterProps",value:function(Re){return Re}},{key:"attachScrollListener",value:function(){var Re=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!Re)){var je=window;this.props.useWindow===!1&&(je=Re),je.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),je.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),je.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(Re){Re.deltaY===1&&!this.isPassiveSupported()&&Re.preventDefault()}},{key:"scrollListener",value:function(){var Re=this.scrollComponent,je=window,He=this.getParentElement(Re),Ke=void 0;if(this.props.useWindow){var ft=document.documentElement||document.body.parentNode||document.body,$e=je.pageYOffset!==void 0?je.pageYOffset:ft.scrollTop;this.props.isReverse?Ke=$e:Ke=this.calculateOffset(Re,$e)}else this.props.isReverse?Ke=He.scrollTop:Ke=Re.scrollHeight-He.scrollTop-He.clientHeight;Ke<Number(this.props.threshold)&&Re&&Re.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=He.scrollHeight,this.beforeScrollTop=He.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(Re,je){return Re?this.calculateTopPosition(Re)+(Re.offsetHeight-je-window.innerHeight):0}},{key:"calculateTopPosition",value:function(Re){return Re?Re.offsetTop+this.calculateTopPosition(Re.offsetParent):0}},{key:"render",value:function(){var Re=this,je=this.filterProps(this.props),He=je.children,Ke=je.element,ft=je.hasMore,$e=je.initialLoad,dt=je.isReverse,Qe=je.loader,De=je.loadMore,Ct=je.pageStart,Ft=je.ref,_t=je.threshold,pt=je.useCapture,ht=je.useWindow,Ge=je.getScrollParent,Et=Ye(je,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);Et.ref=function(kt){Re.scrollComponent=kt,Ft&&Ft(kt)};var nt=[He];return ft&&(Qe?dt?nt.unshift(Qe):nt.push(Qe):this.defaultLoader&&(dt?nt.unshift(this.defaultLoader):nt.push(this.defaultLoader))),et.default.createElement(Ke,Et,nt)}}]),gt}(Ee.Component);lt.propTypes={children:We.default.node.isRequired,element:We.default.node,hasMore:We.default.bool,initialLoad:We.default.bool,isReverse:We.default.bool,loader:We.default.node,loadMore:We.default.func.isRequired,pageStart:We.default.number,ref:We.default.func,getScrollParent:We.default.func,threshold:We.default.number,useCapture:We.default.bool,useWindow:We.default.bool},lt.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},Xt.default=lt,Dt.exports=Xt.default},26724:function(Dt,Xt,pe){Dt.exports=pe(51581)},90034:function(Dt,Xt,pe){var ae={"./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 Ee(vt){var We=et(vt);return pe(We)}function et(vt){if(!pe.o(ae,vt)){var We=new Error("Cannot find module '"+vt+"'");throw We.code="MODULE_NOT_FOUND",We}return ae[vt]}Ee.keys=function(){return Object.keys(ae)},Ee.resolve=et,Dt.exports=Ee,Ee.id=90034},25365:function(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7sKCQT0oRGIAQorlnp+cIAAhnJghhhobvWRPjQ/rJ8eEVXIxGwcFsGBYWQUTFLrN6yCB9qpjdthA2BSGEsEd1X08NOlrPSiM4PxWJCSNL+HwfSZBMp/Mbr6+vVyyVyQm+SJYrCWea5sOmoMqm4ezu9rqSrUpFjzxBPgpoCkCEwO+3IJIgWRWVpiR5cirF40crZZGc3rkYdDgQp+advUXC9YZs2rjBQRCTwK/T6E9KaJoGJEVxyw3GtNUbt11KWSYp+AuyfRlf86baVJezc0sLb1HIxGxg9mEIIaiurVXgJOiUq6WbV8KVRMD+s45hbftL082DWk0TQohaKJn+9bb3H6Ntr16hvfvU6TExMe4A6G2Xc4+ttqIkL1fXBAAIuGVORMje3BpvNRrxM8fz0xfHxY0F7Hd/HVSYjKVtGpWqI4THc2ELhIRhTHjzXlHax4Z6++3i4iwIIRkAIYQY9+9cfxHKFyVtz8ho9/l8NIbN4mgaQAYDfHI4hRf152TxAsHhK9ev3for2f6F1sZn6w0VFvMuVY43WZHYi08SOKJIP4AYTBbW7XAKCgsvx0tEQobbg1d1fXj/eN2a9Ad6vZ6eBmd+ttlQpK15/uaaLHEFR7lK6QqPiPC63GMsm80eXmN5wmNiAJKIBRjsYCAQCNFAf98lq3lvAYSqqQLNQFNVaXyuMFue6oZ/utZ5J3Chx+NBFEX3xEnEpr5+Z5b1RX2mIHIJyFbngFHXGOr93FX41GI4CSGkAqA/fdcd1N8+xKWpRUiakuLxJ/bosXxdWenDuziOw6UiMdit2Q/cY17U0/nhgtViPD8vNF/h/P2oyz1U8KSqsgDHfQyhWAyyVVow+GOUdo8MnfhnaLq5NdrcC9XmylMUSWFLRSKQuWMXaHlr7/ov6DfGOJB35LSpovw8RRAYmx1ErF27Wvff0HRku9WaA/b613lRUdKrDQ22sl+EE3lgNS3QYQAAAABJRU5ErkJggg=="},71986:function(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABRCAYAAACOlsX2AAAAAXNSR0IArs4c6QAAIABJREFUeF7NmwecHlW9979nZp66fbM9vZOOJKH3FgLSNSAB5HJBEEEBr1yKF1CayEUFqVIEFQygEQg1lFAD6QXSk012N5vN9vb0KeflnHl20yEUue+E/ezDPDPnnN+/txUX/s2ZKvEeRtKfL33J7BviS7/5zbzwJfYX1AmMS8QFT6Rr4auA/WaO/G2uIhB14oePpXrI1Lt3D792+eJbOt2/c39x/iNJ2SuQWYTbBGXvtu5dIPviLgLee8P/IOWOD36b+4vzH0xIxM5H9A+UExKcf6jFg285O/K2l/U9B9/2/qTBBghYWO3qd/IiglO+Y/HUhzb6i+2uSBAsc9vdpA22CwcMNUjZsKzW20WmyvIFao9XlrpYpiRoCb4zyKAzAZ9u7nl+J9ns/V+BOO/+xB4l94eHBxhVZWCakMpI0g786a0Mv/pemPp2f/HcsODav6ezn+G6U0P85oUMx44zWV7r0h6Dn00N8spSh/59BEPLDB54I0N3Ci47LkBxjiCRgfICwfMLHT5a53LSdywSacmclT7Req4zJlsMqzCoKDRYUeeytdOjOwn79DV46xOHDU1foIQSxLn3xreJdHZl9Vp+RDDtIIvH3ra5+Nggs5c5bGr29P3Lpwa5fWZa8+uO6WGueypFMABXnRTi3ZUOW9okwysNpuxrcfesNNeeFtLvb26VV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wk8Q89nnHjYQC754dGYwTBVQ/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(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62L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rxAaCBbd3ljWshtOiRqDRnZe/jBzKgEhAay5V5vRIqyT4dELSHs/QeEBgK6zRoXkSF9ELktYvWAyECy93u95xZkUkR69EHkJH1b/mJXpwxP3J/J6+FFIgOBbbu8bFFkTIdX6IPIKe/FMaJxTEoEYyDw7kqyKLvFk516SOQEnfgPdHXJbo0jr4eR9Osqo6H0aygjGsqIHsKQPojS4oBO9ryXkfEVnTKmYUxKBfR77Jmenh3WdWy/Dons8LwdfX3rx8USBkLpxkCIDBgIkQEDITJgIEQGDITIgIEQGTAQIgMGQmTAQIgMGAiRAQMhMmAgRAYMhMiAgRAZMBAiAwZCZMBAiAwYCFG0l195bcdnBgfGxRKrgfzjYG74uqs3MRCyJvWBbO7f+FhXZ+dGPSSK1alTpyemTrxxV6oDWbt2zX0bLu0bFqKYvX785IHT75y5P9WBFCUzdt2VH5W2tjb+E6YUm4XFxakjk8fWtok3kvZA9q/s6nxm8xUbPq2fIorFkcmp5xcWlz6pgaT7PQgC0aH0XbL+mb4P9DASqtvkMd1anT47pENxJhDo7l55oH/DpUM6JKrJq0ePPXN2YfH8H7ROBfKujEz1faB3Uh/nf5NEJsVice7N/Py/p9/K94snG/VT57kXyPvm2tvbX1uxonOuo63d02OiCywsLHQsFoprCoVCVg9DdbR7AzffNDChQyusBvLsC7nsUiGT0yGRFUODWatz2OqTw4GDE1wdyApPvKPDgwP9YpH9QJ7LjUkmc5sOiWLm7R0aHBgVi6wH8vfncyNeMbNPh0Sxsv0GHawHAgcO5sb1pYaEKDb2Vw9IJJCDB3P950QmMpLp0UOiuuh7jxd7VsrwwMBAXg+tSiQQwBmtxYKMMxKqB+LobJdRm6d2yyUWCORyud75s7JbX3anHhJVydu7bqV8L4mVoyTRQEqwmiwtyai+elb43oQi6GoxpxN0QofjXSJ7BgcHJiVh/wemziNQhWOwlgAAAABJRU5ErkJggg=="},88745:function(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAA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C2bbqrdAK5zKUc1u6YqB46bCCnPaBoFASqVaXE0NBlOiqkpATtwWBUkV7KlmtlzGoOdJZgunaIoFndzaNs4f3olD3/wb76LF1qnfSLTt2dfFvP9869xhk4pdVk7K28wg7U6MCR/2PwaTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85Ksy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pnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(Dt){"use strict";Dt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru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Object.defineProperties,et=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ye=(a,y,b)=>y in a?ae(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Ce=(a,y)=>{for(var b in y||(y={}))We.call(y,b)&&Ye(a,b,y[b]);if(vt)for(var b of vt(y))Oe.call(y,b)&&Ye(a,b,y[b]);return a},Me=(a,y)=>Ee(a,et(y)),rt=a=>typeof a=="symbol"?a:a+"",lt=(a,y)=>{var b={};for(var E in a)We.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&vt)for(var E of vt(a))y.indexOf(E)<0&&Oe.call(a,E)&&(b[E]=a[E]);return b};function Te(a){return Array.isArray(a)}var gt={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 Je(){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 He(){var a,y;if(!Je())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 Ke(){if(!Je())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 $e={strings:gt,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return $e._locale||($e._locale=Je()?navigator.language.slice(0,5):"en-US"),$e._locale},set locale(a){$e._locale=a,$e._numberFormatter=void 0,$e.dirty=!0},get numberFormatter(){return $e._numberFormatter||($e._numberFormatter=new Intl.NumberFormat($e.locale)),$e._numberFormatter},merge(a,y){if(typeof a=="string"&&y)$e.strings[a]=Ce(Ce({},$e.strings[a]),y),$e.dirty=!0;else for(const b of Object.keys(a))$e.merge(b,a[b])},get dirty(){return $e._dirty},set dirty(a){$e._dirty||$e._dirty===a||($e._dirty=!0,setTimeout(()=>{$e._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return $e._subscribers.push(a),$e._subscribers.length-1},unsubscribe(a){a<0||a>=$e._subscribers.length||($e._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=dt(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=dt(E);ee&&b.setAttribute("aria-label",ee)}}}};function dt(a,...y){if(a===void 0)return;let b="";const E=$e.locale;$e.strings[E]&&(b=$e.strings[E][a]);const ee=E.slice(0,2);if(!b&&$e.strings[ee]&&(b=$e.strings[ee][a]),b||(b=$e.strings.en[a]),!b)return;const re=/(%@|%([0-9]+)\$@)/g;let oe=re.exec(b),ue=0;for(;oe;){if(y[ue++]){const ge=oe[2]?parseInt(oe[2],10)-1:ue-1;let ye=y[ge];typeof ye=="number"&&(ye=$e.numberFormatter.format(ye)),b=b.replace(oe[1],ye)}oe=re.exec(b)}return b=b.replace(/%%/g,"%"),b}var Qe={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},De={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},Ct={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"},Ft={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"},_t={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"},pt={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 ht(a){var y,b,E,ee,re,oe;const ue=a.split("!");let he,ge,ye,Ie=255,_e=255,qe=255,ot=-1;const Wt=ue.length>0&&ue[0].startsWith("-");Wt&&(ue[0]=ue[0].slice(1));for(let _n=0;_n<ue.length;_n++){he=Ie,ge=_e,ye=qe;const zt=(y=ue[_n].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],gn=zt==null?void 0:zt.toLowerCase(),Kn=zt&&(oe=(re=(ee=(E=(b=Ft[gn])!=null?b:Ft[_t[zt]])!=null?E:De[zt])!=null?ee:pt[zt])!=null?re:Qe[zt])!=null?oe:ue[_n].trim();let Mn=Kn.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(Mn!=null&&Mn[1]&&Mn[2]&&Mn[3])Ie=Math.max(0,Math.min(255,Number.parseInt(Mn[1],16))),_e=Math.max(0,Math.min(255,Number.parseInt(Mn[2],16))),qe=Math.max(0,Math.min(255,Number.parseInt(Mn[3],16)));else if(Mn=Kn.match(/^#([\da-f]{3})$/i),Mn!=null&&Mn[1]){const Cr=Number.parseInt(Mn[1][0],16),zr=Number.parseInt(Mn[1][1],16),Nr=Number.parseInt(Mn[1][2],16);Ie=Math.max(0,Math.min(255,Cr*16+Cr)),_e=Math.max(0,Math.min(255,zr*16+zr)),qe=Math.max(0,Math.min(255,Nr*16+Nr))}else if(Mn=Kn.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),Mn!=null&&Mn[1]&&Mn[2]&&Mn[3])Ie=Math.max(0,Math.min(255,Number.parseInt(Mn[1]))),_e=Math.max(0,Math.min(255,Number.parseInt(Mn[2]))),qe=Math.max(0,Math.min(255,Number.parseInt(Mn[3])));else return;ot>=0&&(Ie=(1-ot)*Ie+ot*he,_e=(1-ot)*_e+ot*ge,qe=(1-ot)*qe+ot*ye,ot=-1),_n+1<ue.length&&(ot=Math.max(0,Math.min(100,Number.parseInt(ue[++_n])))/100)}return ot>=0&&(Ie=ot*Ie+(1-ot)*he,_e=ot*_e+(1-ot)*ge,qe=ot*qe+(1-ot)*ye),Wt&&(Ie=255-Ie,_e=255-_e,qe=255-qe),"#"+("00"+Math.round(Ie).toString(16)).slice(-2)+("00"+Math.round(_e).toString(16)).slice(-2)+("00"+Math.round(qe).toString(16)).slice(-2)}function Ge(a){var y,b;return a=a.trim(),(b=(y=Ct[a.toLowerCase()])!=null?y:Ct[_t[a]])!=null?b:ht(a)}function Et(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 nt(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 kt(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,re=E*2-ee;return{r:Math.round(255*nt(re,ee,y+2)),g:Math.round(255*nt(re,ee,y)),b:Math.round(255*nt(re,ee,y-2))}}function En(a){return a<0?0:a>255?255:Math.round(a)}function Kt(a){const{r:y,g:b,b:E}=a;let ee=((1<<24)+(En(y)<<16)+(En(b)<<8)+En(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 mn(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),re=Math.max(y,b,E),oe=re-ee;let ue,he;re===ee?ue=0:y===re?ue=(b-E)/oe:b===re?ue=2+(E-y)/oe:E===re&&(ue=4+(y-b)/oe),ue=Math.min(ue*60,360),ue<0&&(ue+=360);const ge=(ee+re)/2;return re===ee?he=0:ge<=.5?he=oe/(re+ee):he=oe/(2-re-ee),{h:ue,s:he,l:ge}}function Nn(a){let y=Et(a);if(!y)return a;let{h:b,s:E,l:ee}=mn(y);return E+=.1,ee-=.1,Kt(kt({h:b,s:E,l:ee}))}var ze={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"},ke={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},Nt=[{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 bn(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 Nt)if((!y||ee.variant===y)&&(!b||ee.style===b)&&E>=ee.offset&&E<ee.offset+ee.len){const re=ee.start+E-ee.offset;return String.fromCodePoint(ke[re]||re)}return a}function xn(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in ke)if(ke[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of Nt)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 yt(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 re=ze[ee];if(re)re.startsWith("\\")?b+=re+" ":b+=re;else{const{char:oe,variant:ue,style:he}=xn(ee);switch(re=oe,ue){case"double-struck":re=`\\mathbb{${re}}`;break;case"fraktur":re=`\\mathfrak{${re}}`;break;case"script":re=`\\mathscr{${re}}`;break;case"sans-serif":re=`\\mathsf{${re}}`;break;case"monospace":re=`\\mathtt{${re}}`;break;case"calligraphic":re=`\\mathcal{${re}}`;break}switch(he){case"bold":re=`\\mathbf{${re}}`;break;case"italic":re=`\\mathit{${re}}`;break;case"bolditalic":re=`\\mathbfit{${re}}`;break}b+=re}}return b}function ct(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var Gt={},jn=Ce({},ze),Zt={},hn={},xt={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}"},wn={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}},on={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}},Se={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:on},"amsmath.sty":{package:wn,primitive:!0},"texvc.sty":{package:xt,primitive:!1}},ce={" ":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!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,we,Be;Ke()?(we=new RegExp("\\p{Letter}","u"),Be=new RegExp("[0-9\\p{Letter}]","u")):(we=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,Be=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function fe(a,y,b="mord",E){y!==void 0&&(Gt[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},jn[y]||(jn[y]=a))}function st(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const ee=a.charAt(E);fe(ee,ee.codePointAt(0))}return}for(const[E,ee,re,oe]of a)fe(E,ee,re!=null?re:y,oe!=null?oe:b)}function An(a,y){for(let b=a;b<=y;b++)fe(String.fromCodePoint(b),b)}function Jn(a){var y;return(y=hn[a])!=null?y:null}function xr(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ee=[];for(const oe in Zt)oe.startsWith(y)&&!Zt[oe].infix&&ee.push({match:oe,frequency:(b=Zt[oe].frequency)!=null?b:0});for(const oe in Gt)oe.startsWith(y)&&ee.push({match:oe,frequency:(E=Gt[oe].frequency)!=null?E:0});const re=y.substring(1);for(const oe of Object.keys(a.options.macros))oe.startsWith(re)&&ee.push({match:"\\"+oe,frequency:0});return ee.sort((oe,ue)=>{var he,ge;return oe.frequency===ue.frequency?oe.match.length===ue.match.length?oe.match<ue.match?-1:1:oe.match.length-ue.match.length:((he=ue.frequency)!=null?he:0)-((ge=oe.frequency)!=null?ge:0)}),ee.map(oe=>oe.match)}function ur(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function qr(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:ur(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...qr(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:ur(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...qr(b[E]))}return y}function ii(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 Ii(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)hn[E]=b}function fa(a,y,b){typeof a=="string"&&(a=[a]);const ee={tabular:!0,params:qr(y),createAtom:b};for(const re of a)hn[re]=ee}function qt(a,y,b){var E,ee;b||(b={});const re={definitionType:"function",params:qr(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")Zt["\\"+a]=re;else for(const oe of a)Zt["\\"+oe]=re}var Sr;function co(a){return Sr||(Sr=wi(Se)),a?wi(Ce(Ce({},Sr),a)):Sr}function Fa(a,y){var b,E,ee,re;if(typeof a=="string"){let oe=0;const ue=a;return/(^|[^\\])#1/.test(ue)&&(oe=1),/(^|[^\\])#2/.test(ue)&&(oe=2),/(^|[^\\])#3/.test(ue)&&(oe=3),/(^|[^\\])#4/.test(ue)&&(oe=4),/(^|[^\\])#5/.test(ue)&&(oe=5),/(^|[^\\])#6/.test(ue)&&(oe=6),/(^|[^\\])#7/.test(ue)&&(oe=7),/(^|[^\\])#8/.test(ue)&&(oe=8),/(^|[^\\])#9/.test(ue)&&(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:ue}}return Ce({expand:(ee=y==null?void 0:y.expand)!=null?ee:!0,captureSelection:(re=y==null?void 0:y.captureSelection)!=null?re:!0,args:0},a)}function wi(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]=Fa(E.package[ee],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=Fa(E)}return y}function pr(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Zt[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=Gt[a]:ce[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ce[a]})}else if(y==="math"){if(b=Gt[a],!b&&a.length===1){const E=$i("math",a.codePointAt(0));return E.startsWith("\\")?Me(Ce({},pr(E,"math")),{command:E}):null}}else ce[a]?b={definitionType:"symbol",type:"mord",codepoint:ce[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function fs(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function $i(a,y){if(y===void 0)return"";if(a==="math"&&jn[y])return jn[y];if(a==="text"){const b=Object.keys(ce).find(E=>ce[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var la=[0,.68889,0,0,.72222],ea=[0,.68889,0,0,.66667],pi=[0,.68889,0,0,.77778],$o=[0,.68889,0,0,.61111],ks=[.16667,.68889,0,0,.77778],za=[0,.68889,0,0,.55556],gi=[0,0,0,0,.25],Ti=[0,.825,0,0,2.33334],es=[0,.9,0,0,2.33334],ts=[0,.68889,0,0,.54028],jo=[-.03598,.46402,0,0,.5],Ji=[-.13313,.36687,0,0,1],ns=[.01354,.52239,0,0,1],Ci=[.01354,.52239,0,0,1.11111],Sl=[0,.54986,0,0,1],ps=[0,.69224,0,0,.5],ta=[0,.43056,0,0,1],pa=[.08198,.58198,0,0,.77778],Ho=[.19444,.69224,0,0,.41667],Tr=[.1808,.675,0,0,1],ir=[.19444,.69224,0,0,.83334],Mr=[.13667,.63667,0,0,1],vi=[-.064,.437,0,0,1.334],hi=[.08167,.58167,0,0,.77778],_i=[0,.69224,0,0,.72222],Fe=[0,.69224,0,0,.66667],Ue=[-.13313,.36687,0,0,.77778],Jt=[.06062,.54986,0,0,.77778],Ht=[0,.69224,0,0,.77778],Ot=[.25583,.75583,0,0,.77778],Sn=[.25142,.75726,0,0,.77778],In=[.20576,.70576,0,0,.77778],Bn=[.30274,.79383,0,0,.77778],sn=[.22958,.72958,0,0,.77778],kr=[.1808,.675,0,0,.77778],$r=[.13667,.63667,0,0,.77778],dr=[.13597,.63597,0,0,.77778],Qt=[.03517,.54986,0,0,.77778],Tn=[0,.675,0,0,.77778],yi=[.19444,.69224,0,0,.61111],Vi=[0,.54986,0,0,.76042],ua=[0,.54986,0,0,.66667],Xr=[.0391,.5391,0,0,.77778],Bi=[.03517,.54986,0,0,1.33334],tr=[.38569,.88569,0,0,.77778],Mi=[.23222,.74111,0,0,.77778],nn=[.19444,.69224,0,0,.77778],ei=[0,.37788,0,0,.5],Kr=[0,.54986,0,0,.72222],Pi=[0,.69224,0,0,.83334],ti=[.11111,.69224,0,0,.66667],bi=[.26167,.75726,0,0,.77778],li=[.48256,.98256,0,0,.77778],ni=[.28481,.79383,0,0,.77778],Ur=[.08167,.58167,0,0,.22222],ui=[.08167,.58167,0,0,.38889],mr=[0,.43056,.04028,0,.66667],ho=[.41951,.91951,0,0,.77778],oo=[.24982,.74947,0,0,.38865],fo=[.08319,.58283,0,0,.75623],wa=[0,.10803,0,0,.27764],so=[0,.47534,0,0,.50181],Ea=[.18906,.47534,0,0,.50181],ki=[0,.69141,0,0,.50181],Oi=[.24982,.74947,0,0,.27764],ma=[0,.69141,0,0,.21471],ga=[.25,.75,0,0,.44722],va=[0,.64444,0,0,.575],Ka=[.08556,.58556,0,0,.89444],Di=[0,.69444,0,0,.89444],Wo=[0,.68611,0,0,.9],Za=[0,.68611,0,0,.86944],Va=[.25,.75,0,0,.575],Io=[.25,.75,0,0,.31944],To=[0,.69444,0,0,.63889],Na=[0,.69444,0,0,.31944],Fo=[0,.44444,0,0,.63889],Gi=[0,.44444,0,0,.51111],Aa=[0,.69444,0,0,.575],Ki=[.13333,.63333,0,0,.89444],rs=[0,.44444,0,0,.31944],Eo=[0,.69444,0,0,.86944],Os=[0,.68611,0,0,.69166],Cs=[0,.68611,0,0,.83055],$a=[0,.68611,0,0,.89444],Zs=[0,.69444,0,0,.60278],Vs=[.19444,.69444,0,0,.51111],Ds=[0,.69444,0,0,.83055],Ma=[-.10889,.39111,0,0,1.14999],Ko=[.19444,.69444,0,0,.575],ka=[.19444,.69444,0,0,1.14999],Zn=[.19444,.69444,0,0,.70277],Hn=[.05556,.75,0,0,.575],$n=[0,.68611,0,0,.95833],sr=[.08556,.58556,0,0,.76666],ri=[-.02639,.47361,0,0,.575],na=[0,.44444,0,0,.89444],ca=[0,.55556,0,0,.76666],Ui=[-.10889,.39111,0,0,.89444],ji=[.00222,.50222,0,0,.89444],ra=[.19667,.69667,0,0,.89444],Zo=[.08556,.58556,0,0,1.14999],Pa=[0,.69444,0,0,.70277],is=[-.02778,.47222,0,0,.575],yo=[.25,.75,0,0,.51111],Vo=[-.13889,.36111,0,0,1.14999],Ys=[.19444,.69444,0,0,1.02222],Bt=[.12963,.69444,0,0,.89444],wt=[.19444,.69444,0,0,.44722],Tt=[0,.64444,.13167,0,.59111],rn=[.19444,.64444,.13167,0,.59111],hr=[0,.68611,.17208,0,.8961],Pr=[.19444,.44444,.105,0,.53222],en=[0,.44444,.085,0,.82666],Qn=[0,.69444,.06709,0,.59111],gr=[0,.69444,.12945,0,.35555],Dr=[0,.69444,0,0,.94888],vr=[0,.69444,.11472,0,.59111],Pn=[0,.68611,.10778,0,.88555],jr=[0,.69444,.07939,0,.62055],mt=[0,.69444,.12417,0,.30667],ln=[0,.64444,.13556,0,.51111],Yt=[.19444,.64444,.13556,0,.51111],dn=[0,.68333,.16389,0,.74333],Xn=[.19444,.43056,.08847,0,.46],Vn=[0,.43056,.07514,0,.71555],Rr=[0,.69444,.06646,0,.51111],Ri=[0,.69444,0,0,.83129],Ca=[0,.69444,.1225,0,.51111],ia=[0,.68333,.09403,0,.76666],eo=[0,.68333,.11111,0,.76666],Js=[0,.69444,.06961,0,.51444],bo=[0,.69444,0,0,.27778],to=[.25,.75,0,0,.38889],da=[0,.64444,0,0,.5],xo=[0,.69444,0,0,.77778],as=[0,.68333,0,0,.75],Ss=[0,.68333,0,0,.77778],Fr=[0,.68333,0,0,.68056],Go=[0,.68333,0,0,.72222],no=[.25,.75,0,0,.5],Ao=[.25,.75,0,0,.27778],ha=[0,.69444,0,0,.5],Gs=[0,.69444,0,0,.55556],al=[0,.43056,0,0,.44445],os=[0,.43056,0,0,.5],rc=[.19444,.43056,0,0,.55556],ic=[0,.43056,0,0,.55556],Rs=[.08333,.58333,0,0,.77778],yu=[0,.43056,0,0,.27778],Jl=[0,.66786,0,0,.27778],ac=[0,.69444,0,0,.75],Iu=[0,.66786,0,0,.5],Tu=[0,.68333,0,0,.625],Xl=[.19444,.69444,0,0,.44445],Nl=[0,.69444,0,0,.72222],Bs=[.19444,.69444,0,0,.5],No=[.19444,.69444,0,0,1],ol=[.011,.511,0,0,1.126],Pl=[.19444,.69444,0,0,.61111],bu=[.05556,.75,0,0,.5],ql=[0,.68333,0,0,.83334],Fu=[.0391,.5391,0,0,.66667],xu=[-.05555,.44445,0,0,.5],Ec=[0,.43056,0,0,.77778],$l=[0,.55556,0,0,.66667],tt=[-.03625,.46375,0,0,.77778],Ze=[-.01688,.48312,0,0,.77778],Ve=[.0391,.5391,0,0,1],lr=[0,.69444,0,0,.61111],cr=[-.03472,.46528,0,0,.5],or=[.25,.75,0,0,.44445],Si=[-.14236,.35764,0,0,1],Br=[.244,.744,0,0,.412],vn=[.19444,.69444,0,0,.88889],Yn=[.12963,.69444,0,0,.77778],kn=[.19444,.69444,0,0,.38889],po=[.011,.511,0,0,1.638],Sa=[.19444,.69444,0,0,0],de=[0,.44444,0,0,.575],ve=[.19444,.44444,0,0,.575],be=[0,.68611,0,0,.75555],Pe=[0,.69444,0,0,.66759],Ne=[0,.68611,0,0,.80555],it=[0,.68611,.08229,0,.98229],at=[0,.68611,0,0,.76666],Lt=[0,.44444,0,0,.58472],Mt=[.19444,.44444,0,0,.6118],St=[.19444,.43056,0,0,.5],yn=[0,.68333,.02778,.08334,.76278],Rt=[0,.68333,.08125,.05556,.83125],Pt=[0,.43056,0,.05556,.48472],un=[.19444,.43056,0,.08334,.51702],Vt=[.25,.75,0,0,.42778],bt=[0,.69444,0,0,.55],jt=[0,.69444,0,0,.73334],$t=[0,.69444,0,0,.79445],qn=[0,.69444,0,0,.51945],On=[0,.69444,0,0,.70278],pn=[0,.69444,0,0,.76389],Cn=[.25,.75,0,0,.34306],Dn=[0,.69444,0,0,.56111],Rn=[0,.69444,0,0,.25556],Qr=[.19444,.45833,0,0,.56111],Or=[0,.45833,0,0,.56111],Yr=[0,.69444,0,0,.30556],fi=[0,.69444,0,0,.58056],xi=[0,.69444,0,0,.67223],Li=[0,.69444,0,0,.85556],Hi=[0,.69444,0,0,.55834],fn=[0,.65556,.11156,0,.5],ar=[0,.69444,.08094,0,.70834],Er=[.17014,0,0,0,.44445],ai=[0,.69444,.0799,0,.5],Hr=[0,.69444,0,0,.73752],Zr=[0,.69444,.09205,0,.5],_r=[0,.69444,.09031,0,.77778],Qi=[0,.69444,.07816,0,.27778],Xi=[0,.69444,.00316,0,.5],ro=[.19444,.69444,0,0,.83334],Da=[.05556,.75,0,0,.83334],mo=[0,.75,0,0,.5],qi=[.125,.08333,0,0,.27778],an=[0,.08333,0,0,.27778],Wn=[0,.65556,0,0,.5],Ar=[0,.69444,0,0,.47222],oi=[0,.69444,0,0,.66667],Fi=[0,.69444,0,0,.59722],Ga=[0,.69444,0,0,.54167],Ut=[0,.69444,0,0,.70834],nr=[.25,.75,0,0,.28889],Jr=[0,.69444,0,0,.51667],Ua=[0,.44444,0,0,.44445],io=[.19444,.44444,0,0,.51667],Ba=[0,.44444,0,0,.38333],Mo=[0,.44444,0,0,.51667],Us=[0,.69444,0,0,.83334],Xs=[.35001,.85,0,0,.45834],ss=[.35001,.85,0,0,.57778],pl=[.35001,.85,0,0,.41667],eu=[.35001,.85,0,0,.58334],ml=[0,.72222,0,0,.55556],Uo=[1e-5,.6,0,0,.66667],Qs=[1e-5,.6,0,0,.77778],ls=[.25001,.75,0,0,.94445],tu=[.306,.805,.19445,0,.47222],qs=[.30612,.805,.19445,0,.47222],La=[.25001,.75,0,0,.83334],Ia=[.35001,.85,0,0,.47222],Es=[.25001,.75,0,0,1.11111],sl=[.65002,1.15,0,0,.59722],wo=[.65002,1.15,0,0,.81111],Ei=[.65002,1.15,0,0,.47222],go=[.65002,1.15,0,0,.66667],Po=[0,.75,0,0,1],Oa=[.55001,1.05,0,0,1.27778],ms=[.862,1.36,.44445,0,.55556],ll=[.86225,1.36,.44445,0,.55556],_a=[.55001,1.05,0,0,1.11111],gs=[.65002,1.15,0,0,.52778],$s=[.65002,1.15,0,0,.61111],aa=[.55001,1.05,0,0,1.51112],ul=[.95003,1.45,0,0,.73611],zs=[.95003,1.45,0,0,1.04445],Qo=[.95003,1.45,0,0,.52778],gl=[.95003,1.45,0,0,.75],el=[0,.75,0,0,1.44445],Ol=[.95003,1.45,0,0,.58334],cl=[1.25003,1.75,0,0,.79167],si=[1.25003,1.75,0,0,1.27778],br=[1.25003,1.75,0,0,.58334],Ai=[1.25003,1.75,0,0,.80556],ja=[0,.825,0,0,1.8889],_s=[1.25003,1.75,0,0,.63889],wu=[.64502,1.155,0,0,.875],Rl=[1e-5,.6,0,0,.875],Cu=[-99e-5,.601,0,0,.66667],zl=[.64502,1.155,0,0,.66667],Yo=[1e-5,.9,0,0,.88889],ci=[.65002,1.15,0,0,.88889],vl=[.90001,0,0,0,.88889],js=[-.00499,.605,0,0,1.05556],El=[0,.12,0,0,.45],fr=[0,.61111,0,0,.525],Hs=[.08333,.69444,0,0,.525],Nu=[-.08056,.53055,0,0,.525],Pu=[-.05556,.55556,0,0,.525],us=[0,.43056,0,0,.525],Co=[.22222,.43056,0,0,.525],nu=[0,0,0,0,.525],lo={"AMS-Regular":{32:gi,65:la,66:ea,67:la,68:la,69:ea,70:$o,71:pi,72:pi,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:pi,76:ea,77:[0,.68889,0,0,.94445],78:la,79:ks,80:$o,81:ks,82:la,83:za,84:ea,85:la,86:la,87:[0,.68889,0,0,1],88:la,89:la,90:ea,107:za,160:gi,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:za,295:ts,710:Ti,732:es,770:Ti,771:es,989:hi,1008:mr,8245:[0,.54986,0,0,.275],8463:ts,8487:la,8498:za,8502:ea,8503:[0,.68889,0,0,.44445],8504:ea,8513:[0,.68889,0,0,.63889],8592:jo,8594:jo,8602:Ji,8603:Ji,8606:ns,8608:ns,8610:Ci,8611:Ci,8619:Sl,8620:Sl,8621:[-.13313,.37788,0,0,1.38889],8622:Ji,8624:ps,8625:ps,8630:ta,8631:ta,8634:pa,8635:pa,8638:Ho,8639:Ho,8642:Ho,8643:Ho,8644:Tr,8646:Tr,8647:Tr,8648:ir,8649:Tr,8650:ir,8651:ns,8652:ns,8653:Ji,8654:Ji,8655:Ji,8666:Mr,8667:Mr,8669:[-.13313,.37788,0,0,1],8672:vi,8674:vi,8705:[0,.825,0,0,.5],8708:za,8709:hi,8717:[0,.43056,0,0,.42917],8722:jo,8724:[.08198,.69224,0,0,.77778],8726:hi,8733:Ht,8736:_i,8737:_i,8738:[.03517,.52239,0,0,.72222],8739:Ur,8740:[.25142,.74111,0,0,.27778],8741:ui,8742:[.25142,.74111,0,0,.5],8756:Fe,8757:Fe,8764:Ue,8765:[-.13313,.37788,0,0,.77778],8769:Ue,8770:tt,8774:Bn,8776:Ze,8778:hi,8782:Jt,8783:Jt,8785:pa,8786:pa,8787:pa,8790:Ht,8791:sn,8796:[.08198,.91667,0,0,.77778],8806:Ot,8807:Ot,8808:Sn,8809:Sn,8812:[.25583,.75583,0,0,.5],8814:In,8815:In,8816:Bn,8817:Bn,8818:sn,8819:sn,8822:kr,8823:kr,8828:$r,8829:$r,8830:sn,8831:sn,8832:In,8833:In,8840:Bn,8841:Bn,8842:dr,8843:dr,8847:Qt,8848:Qt,8858:pa,8859:pa,8861:pa,8862:Tn,8863:Tn,8864:Tn,8865:Tn,8872:[0,.69224,0,0,.61111],8873:_i,8874:[0,.69224,0,0,.88889],8876:$o,8877:$o,8878:la,8879:la,8882:Qt,8883:Qt,8884:$r,8885:$r,8888:[0,.54986,0,0,1.11111],8890:rc,8891:yi,8892:yi,8901:[0,.54986,0,0,.27778],8903:hi,8905:hi,8906:hi,8907:Ht,8908:Ht,8909:[-.03598,.46402,0,0,.77778],8910:Vi,8911:Vi,8912:Qt,8913:Qt,8914:ua,8915:ua,8916:Fe,8918:Xr,8919:Xr,8920:Bi,8921:Bi,8922:tr,8923:tr,8926:$r,8927:$r,8928:Bn,8929:Bn,8934:Mi,8935:Mi,8936:Mi,8937:Mi,8938:In,8939:In,8940:Bn,8941:Bn,8994:nn,8995:nn,9416:[.15559,.69224,0,0,.90222],9484:ps,9488:ps,9492:ei,9496:ei,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:Tn,9633:Tn,9650:Kr,9651:Kr,9654:Qt,9660:Kr,9661:Kr,9664:Qt,9674:ti,9733:[.19444,.69224,0,0,.94445],10003:Pi,10016:Pi,10731:ti,10846:[.19444,.75583,0,0,.61111],10877:$r,10878:$r,10885:Ot,10886:Ot,10887:dr,10888:dr,10889:bi,10890:bi,10891:li,10892:li,10901:$r,10902:$r,10933:Sn,10934:Sn,10935:bi,10936:bi,10937:bi,10938:bi,10949:Ot,10950:Ot,10955:ni,10956:ni,57350:Ur,57351:ui,57352:hi,57353:mr,57356:Sn,57357:Sn,57358:ho,57359:Bn,57360:Bn,57361:ho,57366:Sn,57367:Sn,57368:Sn,57369:Sn,57370:dr,57371:dr},"Caligraphic-Regular":{32:gi,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:gi},"Fraktur-Regular":{32:gi,33:[0,.69141,0,0,.29574],34:ma,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:oo,41:oo,42:[0,.62119,0,0,.27764],43:fo,44:wa,45:fo,46:wa,47:[.24982,.74947,0,0,.50181],48:so,49:so,50:so,51:Ea,52:Ea,53:Ea,54:ki,55:Ea,56:ki,57:Ea,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:Oi,93:Oi,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:gi,8216:ma,8217:ma,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:gi,33:[0,.69444,0,0,.35],34:Zs,35:[.19444,.69444,0,0,.95833],36:Hn,37:[.05556,.75,0,0,.95833],38:Di,39:Na,40:ga,41:ga,42:[0,.75,0,0,.575],43:Ki,44:[.19444,.15556,0,0,.31944],45:Ba,46:[0,.15556,0,0,.31944],47:Va,48:va,49:va,50:va,51:va,52:va,53:va,54:va,55:va,56:va,57:va,58:rs,59:[.19444,.44444,0,0,.31944],60:Ka,61:Ui,62:Ka,63:[0,.69444,0,0,.54305],64:Di,65:Za,66:[0,.68611,0,0,.81805],67:Cs,68:[0,.68611,0,0,.88194],69:be,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Wo,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Os,77:[0,.68611,0,0,1.09166],78:Wo,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:Za,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Io,92:Va,93:Io,94:Aa,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:To,99:Gi,100:To,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:To,105:Na,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:Na,109:[0,.44444,0,0,.95833],110:Fo,111:de,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:Fo,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:Gi,123:Va,124:Io,125:Va,126:[.35,.34444,0,0,.575],160:gi,163:[0,.69444,0,0,.86853],168:Aa,172:[0,.44444,0,0,.76666],176:Eo,177:Ki,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:Ki,216:[.04861,.73472,0,0,.89444],223:Fi,230:[0,.44444,0,0,.83055],247:Ki,248:[.09722,.54167,0,0,.575],305:rs,338:[0,.68611,0,0,1.16944],339:na,567:[.19444,.44444,0,0,.35139],710:Aa,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Aa,715:Aa,728:Aa,729:Na,730:Eo,732:Aa,733:Aa,915:Os,916:$n,920:$a,923:Ne,926:at,928:Wo,931:Cs,933:$a,934:Cs,936:$a,937:Cs,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:Na,8217:Na,8220:Zs,8221:Zs,8224:Vs,8225:Vs,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:Pe,8465:Ds,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:Ds,8501:Pa,8592:Ma,8593:Ko,8594:Ma,8595:Ko,8596:Ma,8597:Va,8598:ka,8599:ka,8600:ka,8601:ka,8636:Ma,8637:Ma,8640:Ma,8641:Ma,8656:Ma,8657:Zn,8658:Ma,8659:Zn,8660:Ma,8661:[.25,.75,0,0,.70277],8704:To,8706:[0,.69444,.06389,0,.62847],8707:To,8709:Hn,8711:$n,8712:sr,8715:sr,8722:Ki,8723:Ki,8725:Va,8726:Va,8727:is,8728:ri,8729:ri,8730:[.18,.82,0,0,.95833],8733:na,8734:[0,.44444,0,0,1.14999],8736:_i,8739:Io,8741:Va,8743:ca,8744:ca,8745:ca,8746:ca,8747:[.19444,.69444,.12778,0,.56875],8764:Ui,8768:[.19444,.69444,0,0,.31944],8771:ji,8776:[.02444,.52444,0,0,.89444],8781:ji,8801:ji,8804:ra,8805:ra,8810:Zo,8811:Zo,8826:Ka,8827:Ka,8834:Ka,8835:Ka,8838:ra,8839:ra,8846:ca,8849:ra,8850:ra,8851:ca,8852:ca,8853:Ki,8854:Ki,8855:Ki,8856:Ki,8857:Ki,8866:Pa,8867:Pa,8868:Di,8869:Di,8900:ri,8901:[-.02639,.47361,0,0,.31944],8902:is,8968:yo,8969:yo,8970:yo,8971:yo,8994:Vo,8995:Vo,9651:Ys,9657:is,9661:Ys,9667:is,9711:ka,9824:Bt,9825:Bt,9826:Bt,9827:Bt,9837:[0,.75,0,0,.44722],9838:wt,9839:wt,10216:ga,10217:ga,10815:Wo,10927:ra,10928:ra,57376:Sa},"Main-BoldItalic":{32:gi,33:[0,.69444,.11417,0,.38611],34:jr,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:gr,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:Tt,49:Tt,50:Tt,51:Tt,52:rn,53:Tt,54:Tt,55:rn,56:Tt,57:Tt,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:vr,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:hr,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:hr,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:Qn,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:Pr,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:Pr,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:gi,168:[0,.69444,.11473,0,.59111],176:Dr,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:en,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:en,567:[.19444,.44444,.04611,0,.385],710:Qn,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:gr,730:Dr,732:vr,733:vr,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:hr,931:[0,.68611,.11431,0,.82666],933:Pn,934:[0,.68611,.05632,0,.82666],936:Pn,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:gr,8217:gr,8220:[0,.69444,.16772,0,.62055],8221:jr},"Main-Italic":{32:gi,33:mt,34:Js,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:mt,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:ln,49:ln,50:ln,51:ln,52:Yt,53:ln,54:ln,55:Yt,56:ln,57:ln,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Ca,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:dn,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:dn,79:ia,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:dn,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:Rr,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:Xn,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:Xn,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:gi,168:[0,.66786,.10474,0,.51111],176:Ri,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:Vn,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:Vn,710:Rr,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:Ri,732:[0,.66786,.11585,0,.51111],733:Ca,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:ia,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:dn,931:[0,.68333,.12028,0,.71555],933:eo,934:[0,.68333,.05986,0,.71555],936:eo,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:mt,8217:mt,8220:[0,.69444,.1685,0,.51444],8221:Js,8463:ts},"Main-Regular":{32:gi,33:bo,34:ha,35:ro,36:bu,37:Da,38:xo,39:bo,40:to,41:to,42:mo,43:Rs,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:no,48:da,49:da,50:da,51:da,52:da,53:da,54:da,55:da,56:da,57:da,58:yu,59:[.19444,.43056,0,0,.27778],60:Xr,61:Ue,62:Xr,63:Ar,64:xo,65:as,66:[0,.68333,0,0,.70834],67:Go,68:[0,.68333,0,0,.76389],69:Fr,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:as,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Ss,76:Tu,77:[0,.68333,0,0,.91667],78:as,79:Ss,80:Fr,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:Go,85:as,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:as,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Ao,92:no,93:Ao,94:ha,95:[.31,.12056,.02778,0,.5],97:os,98:Gs,99:al,100:Gs,101:al,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:Gs,105:Jl,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:bo,109:[0,.43056,0,0,.83334],110:ic,111:os,112:rc,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:ic,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:al,123:no,124:Ao,125:no,126:[.35,.31786,0,0,.5],160:gi,163:[0,.69444,0,0,.76909],167:Xl,168:Iu,172:[0,.43056,0,0,.66667],176:ac,177:Rs,182:Pl,184:Er,198:[0,.68333,0,0,.90278],215:Rs,216:[.04861,.73194,0,0,.77778],223:ha,230:[0,.43056,0,0,.72222],247:Rs,248:[.09722,.52778,0,0,.5],305:yu,338:[0,.68333,0,0,1.01389],339:Ec,567:[.19444,.43056,0,0,.30556],710:ha,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:ha,715:ha,728:ha,729:Jl,730:ac,732:Iu,733:ha,915:Tu,916:ql,920:Ss,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:as,931:Go,933:Ss,934:Go,936:Ss,937:Go,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:bo,8217:bo,8220:ha,8221:ha,8224:Xl,8225:Xl,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:ts,8465:Nl,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Nl,8501:lr,8592:Ji,8593:Bs,8594:Ji,8595:Bs,8596:Ji,8597:no,8598:No,8599:No,8600:No,8601:No,8614:[.011,.511,0,0,1],8617:ol,8618:ol,8636:Ji,8637:Ji,8640:Ji,8641:Ji,8652:[.011,.671,0,0,1],8656:Ji,8657:Pl,8658:Ji,8659:Pl,8660:Ji,8661:[.25,.75,0,0,.61111],8704:Gs,8706:[0,.69444,.05556,.08334,.5309],8707:Gs,8709:bu,8711:ql,8712:Fu,8715:Fu,8722:Rs,8723:Rs,8725:no,8726:no,8727:cr,8728:xu,8729:xu,8730:[.2,.8,0,0,.83334],8733:Ec,8734:ta,8736:_i,8739:Ao,8741:no,8743:$l,8744:$l,8745:$l,8746:$l,8747:[.19444,.69444,.11111,0,.41667],8764:Ue,8768:[.19444,.69444,0,0,.27778],8771:tt,8773:[-.022,.589,0,0,1],8776:Ze,8781:tt,8784:[-.133,.67,0,0,.778],8801:tt,8804:dr,8805:dr,8810:Ve,8811:Ve,8826:Xr,8827:Xr,8834:Xr,8835:Xr,8838:dr,8839:dr,8846:$l,8849:dr,8850:dr,8851:$l,8852:$l,8853:Rs,8854:Rs,8855:Rs,8856:Rs,8857:Rs,8866:lr,8867:lr,8868:xo,8869:xo,8872:[.249,.75,0,0,.867],8900:xu,8901:[-.05555,.44445,0,0,.27778],8902:cr,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:or,8969:or,8970:or,8971:or,8994:Si,8995:Si,9136:Br,9137:Br,9651:vn,9657:cr,9661:vn,9667:cr,9711:No,9824:Yn,9825:Yn,9826:Yn,9827:Yn,9837:[0,.75,0,0,.38889],9838:kn,9839:kn,10216:to,10217:to,10222:Br,10223:Br,10229:[.011,.511,0,0,1.609],10230:po,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:po,10815:as,10927:dr,10928:dr,57376:Sa},"Math-BoldItalic":{32:gi,48:de,49:de,50:de,51:ve,52:ve,53:ve,54:va,55:ve,56:va,57:ve,65:Za,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:it,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:be,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:Pe,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:Lt,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:gi,915:[0,.68611,.15972,0,.65694],916:$n,920:[0,.68611,.03194,0,.86722],923:Ne,926:[0,.68611,.07458,0,.84125],928:it,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:at,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:Lt,960:[0,.44444,.03704,0,.68241],961:Mt,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:Mt,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:gi,48:os,49:os,50:os,51:St,52:St,53:St,54:da,55:St,56:da,57:St,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:Rt,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:yn,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:Pt,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:gi,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:yn,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Rt,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:Pt,960:[0,.43056,.03588,0,.57003],961:un,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:un,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:gi,33:[0,.69444,0,0,.36667],34:Hi,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:Yr,40:Vt,41:Vt,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:bt,49:bt,50:bt,51:bt,52:bt,53:bt,54:bt,55:bt,56:bt,57:bt,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:qn,64:jt,65:jt,66:jt,67:On,68:$t,69:[0,.69444,0,0,.64167],70:lr,71:jt,72:$t,73:[0,.69444,0,0,.33056],74:qn,75:pn,76:fi,77:[0,.69444,0,0,.97778],78:$t,79:$t,80:On,81:[.10556,.69444,0,0,.79445],82:On,83:lr,84:jt,85:pn,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:jt,89:[0,.69444,.0275,0,.73334],90:xi,91:Cn,93:Cn,94:bt,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Dn,99:[0,.45833,0,0,.48889],100:Dn,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Dn,105:Rn,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:Rn,109:[0,.45833,0,0,.86667],110:Or,111:[0,.45833,0,0,.55],112:Qr,113:Qr,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Or,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:gi,168:bt,176:jt,180:bt,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:bt,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:bt,729:Yr,730:jt,732:bt,733:bt,915:fi,916:[0,.69444,0,0,.91667],920:Li,923:xi,926:jt,928:$t,931:$t,933:Li,934:$t,936:Li,937:$t,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Yr,8217:Yr,8220:Hi,8221:Hi},"SansSerif-Italic":{32:gi,33:[0,.69444,.05733,0,.31945],34:Xi,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:Qi,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:qi,45:[0,.44444,.01946,0,.33333],46:an,47:[.25,.75,.13164,0,.5],48:fn,49:fn,50:fn,51:fn,52:fn,53:fn,54:fn,55:fn,56:fn,57:fn,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:oi,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:ar,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Ga,77:[0,.69444,.08094,0,.875],78:ar,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:ai,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:gi,168:[0,.67937,.06385,0,.5],176:Hr,184:Er,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:ai,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Zr,715:ha,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Hr,732:[0,.67659,.08826,0,.5],733:Zr,915:[0,.69444,.13372,0,.54167],916:Us,920:[0,.69444,.07555,0,.77778],923:lr,926:[0,.69444,.12816,0,.66667],928:ar,931:[0,.69444,.11983,0,.72222],933:_r,934:[0,.69444,.04603,0,.72222],936:_r,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Qi,8217:Qi,8220:[0,.69444,.14205,0,.5],8221:Xi},"SansSerif-Regular":{32:gi,33:[0,.69444,0,0,.31945],34:ha,35:ro,36:bu,37:Da,38:[0,.69444,0,0,.75834],39:bo,40:to,41:to,42:mo,43:Rs,44:qi,45:[0,.44444,0,0,.33333],46:an,47:no,48:Wn,49:Wn,50:Wn,51:Wn,52:Wn,53:Wn,54:Wn,55:Wn,56:Wn,57:Wn,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Ar,64:oi,65:oi,66:oi,67:To,68:[0,.69444,0,0,.72223],69:Fi,70:[0,.69444,0,0,.56945],71:oi,72:Ut,73:bo,74:Ar,75:[0,.69444,0,0,.69445],76:Ga,77:[0,.69444,0,0,.875],78:Ut,79:[0,.69444,0,0,.73611],80:To,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:Gs,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:oi,89:[0,.69444,.025,0,.66667],90:lr,91:nr,93:nr,94:ha,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Jr,99:Ua,100:Jr,101:Ua,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Jr,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:Mo,111:[0,.44444,0,0,.5],112:io,113:io,114:[0,.44444,.01389,0,.34167],115:Ba,116:[0,.57143,0,0,.36111],117:Mo,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:gi,168:[0,.67937,0,0,.5],176:oi,184:Er,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:ha,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:ha,715:ha,728:ha,729:[0,.67937,0,0,.27778],730:oi,732:[0,.67659,0,0,.5],733:ha,915:Ga,916:Us,920:xo,923:lr,926:oi,928:Ut,931:Nl,933:xo,934:Nl,936:xo,937:Nl,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:bo,8217:bo,8220:ha,8221:ha},"Script-Regular":{32:gi,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:gi},"Size1-Regular":{32:gi,40:Xs,41:Xs,47:ss,91:pl,92:ss,93:pl,123:eu,125:eu,160:gi,710:ml,732:ml,770:ml,771:ml,8214:[-99e-5,.601,0,0,.77778],8593:Uo,8595:Uo,8657:Qs,8659:Qs,8719:ls,8720:ls,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:qs,8748:tu,8749:tu,8750:qs,8896:La,8897:La,8898:La,8899:La,8968:Ia,8969:Ia,8970:Ia,8971:Ia,9168:Cu,10216:Ia,10217:Ia,10752:Es,10753:Es,10754:Es,10756:La,10758:La},"Size2-Regular":{32:gi,40:sl,41:sl,47:wo,91:Ei,92:wo,93:Ei,123:go,125:go,160:gi,710:Po,732:Po,770:Po,771:Po,8719:Oa,8720:Oa,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:ll,8748:ms,8749:ms,8750:ll,8896:_a,8897:_a,8898:_a,8899:_a,8968:gs,8969:gs,8970:gs,8971:gs,10216:$s,10217:$s,10752:aa,10753:aa,10754:aa,10756:_a,10758:_a},"Size3-Regular":{32:gi,40:ul,41:ul,47:zs,91:Qo,92:zs,93:Qo,123:gl,125:gl,160:gi,710:el,732:el,770:el,771:el,8730:[.95003,1.45,0,0,1],8968:Ol,8969:Ol,8970:Ol,8971:Ol,10216:gl,10217:gl},"Size4-Regular":{32:gi,40:cl,41:cl,47:si,91:br,92:si,93:br,123:Ai,125:Ai,160:gi,710:ja,732:ja,770:ja,771:ja,8730:[1.25003,1.75,0,0,1],8968:_s,8969:_s,8970:_s,8971:_s,9115:wu,9116:Rl,9117:wu,9118:wu,9119:Rl,9120:wu,9121:zl,9122:Cu,9123:zl,9124:zl,9125:Cu,9126:zl,9127:Yo,9128:ci,9129:vl,9130:[0,.3,0,0,.88889],9131:Yo,9132:ci,9133:vl,9143:[.88502,.915,0,0,1.05556],10216:Ai,10217:Ai,57344:js,57345:js,57680:El,57681:El,57682:El,57683:El},"Typewriter-Regular":{32:nu,33:fr,34:fr,35:fr,36:Hs,37:Hs,38:fr,39:fr,40:Hs,41:Hs,42:[0,.52083,0,0,.525],43:Nu,44:[.13889,.125,0,0,.525],45:Nu,46:[0,.125,0,0,.525],47:Hs,48:fr,49:fr,50:fr,51:fr,52:fr,53:fr,54:fr,55:fr,56:fr,57:fr,58:us,59:[.13889,.43056,0,0,.525],60:Pu,61:[-.19549,.41562,0,0,.525],62:Pu,63:fr,64:fr,65:fr,66:fr,67:fr,68:fr,69:fr,70:fr,71:fr,72:fr,73:fr,74:fr,75:fr,76:fr,77:fr,78:fr,79:fr,80:fr,81:[.13889,.61111,0,0,.525],82:fr,83:fr,84:fr,85:fr,86:fr,87:fr,88:fr,89:fr,90:fr,91:Hs,92:Hs,93:Hs,94:fr,95:[.09514,0,0,0,.525],96:fr,97:us,98:fr,99:us,100:fr,101:us,102:fr,103:Co,104:fr,105:fr,106:[.22222,.61111,0,0,.525],107:fr,108:fr,109:us,110:us,111:us,112:Co,113:Co,114:us,115:us,116:[0,.55358,0,0,.525],117:us,118:us,119:us,120:us,121:Co,122:us,123:Hs,124:Hs,125:Hs,126:fr,127:fr,160:nu,176:fr,184:[.19445,0,0,0,.525],305:us,567:Co,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:fr,715:fr,728:fr,730:fr,770:fr,771:fr,776:fr,915:fr,916:fr,920:fr,923:fr,926:fr,928:fr,931:fr,933:fr,934:fr,936:fr,937:fr,8216:fr,8217:fr,8242:fr,9251:[.11111,.21944,0,0,.525]}},Vr=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,ko=10,Ta=.25,Ac=1.2,Al=.431,Hc={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Al,Al,Al],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:[Ta,Ta,Ta],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]},oc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],yl=5,Wc={"\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 _l(a,y){a===void 0&&(a=77);const b=lo[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 Wc)a=Wc[E].codePointAt(0);else if(Vr.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 sc={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]},Ml={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]},pd={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 Su(a){if(Ml[a]){const[ge,ye,Ie]=Ml[a],_e=`<span class="stretchy" style="height:${Ie}em"><svg width="100%" height="${Ie}em" viewBox="0 0 ${ge} ${ye}" preserveAspectRatio="none" ><path fill="currentcolor" d="${pd[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Ie/2)/100}em;min-width:0">${_e}</span>`}const[y,b,E,ee]=sc[a];let re,oe;const ue=E/1e3;y.length===3?(re=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],oe=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(re=["slice-1-of-2","slice-2-of-2"],oe=["xMinYMin","xMaxYMin"]):(re=["slice-1-of-1"],oe=[ee]);const he=y.map((ge,ye)=>`<span class="${re[ye]}" style=height:${ue}em><svg width=400em height=${ue}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${oe[ye]} slice"><path fill="currentcolor" d="${pd[ge]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${ue}em;min-width:${b}em;">${he}</span>`}function md(a){return sc[a]?sc[a][2]/1e3:Ml[a][2]}function Mc(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 re=E-55296,oe=ee-56320;E=nc(2,16)+re*nc(2,10)+oe,b++}}y.push(E)}return y}var ru=8205,Ou=[[ru,1],[65038,2],[127995,5],[129456,4],[917536,96]],jl,Ru=[127462,127487];function iu(a){var y;if(jl===void 0){jl={};for(const b of Ou)for(let E=b[0];E<=b[0]+b[1]-1;E++)jl[E]=!0}return(y=jl[a])!=null?y:!1}function lc(a){return a>=Ru[0]&&a<=Ru[1]}function Kc(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Mc(a);let E=0;for(;E<b.length;){const ee=b[E++],re=b[E];if(re===ru){const oe=E-1;for(E+=2;b[E]===ru;)E+=2;y.push(String.fromCodePoint(...b.slice(oe,E-oe+1)))}else if(iu(re)){const oe=E-1;for(;iu(b[E]);)E+=b[E]===ru?2:1;y.push(String.fromCodePoint(...b.slice(oe,2*E-oe-1)))}else lc(ee)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(ee))}return y}var Zc=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=Kc(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 au(a,y){var b,E,ee,re;const oe=[];let ue=a.next();if(ue&&ue!=="\\relax"){if(ue==="\\noexpand")ue=a.next(),ue&&oe.push(ue);else if(ue==="\\obeyspaces")a.obeyspaces=!0;else if(ue==="\\bgroup")oe.push("<{>");else if(ue==="\\egroup")oe.push("<}>");else if(ue==="\\string"){if(ue=a.next(),ue)if(ue.startsWith("\\"))for(const he of ue)oe.push(he==="\\"?"\\backslash":he);else ue==="<{>"?oe.push("\\{"):ue==="<space>"?oe.push("~"):ue==="<}>"&&oe.push("\\}")}else if(ue==="\\csname"){for(;a.peek()==="<space>";)a.next();let he="",ge=!1,ye=[];do{if(ye.length===0)if(/^#[\d?@]$/.test(a.peek())){const Ie=a.get().slice(1);ye=kl((E=(b=y==null?void 0:y(Ie))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),ue=ye[0]}else ue=a.next(),ye=ue?[ue]:[];ge=ye.length===0,!ge&&ue==="\\endcsname"&&(ge=!0,ye.shift()),ge||(ge=ue==="<$>"||ue==="<$$>"||ue==="<{>"||ue==="<}>"||typeof ue=="string"&&ue.length>1&&ue.startsWith("\\")),ge||(he+=ye.shift())}while(!ge);he&&oe.push("\\"+he),oe.push(...ye)}else if(ue!=="\\endcsname")if(ue.length>1&&ue.startsWith("#")){const he=ue.slice(1);oe.push(...kl((re=(ee=y==null?void 0:y(he))!=null?ee:y==null?void 0:y("?"))!=null?re:"\\placeholder{}",y))}else oe.push(ue)}return oe}function kl(a,y=null){const b=[];let E="";for(const oe of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const ue=oe.match(/((?:\\%)|[^%])*/);ue!==null&&b.push(ue[0])}const ee=new Zc(yt(b.join(""))),re=[];do re.push(...au(ee,y));while(!ee.end());return re}function Ni(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 Qa(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Ni([a,...y.map(b=>`{${b}}`)])}function ou(a){return Ni(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var Vc=class Ch{constructor(y){Ch._registry[y]=this}static createAtom(y,b,E){return Ch._registry[y].createAtom(b,pr(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 re of Gc(y)){const oe=Ch._registry[re[0].mode];ee.push(...oe.serialize(re,b))}return Ni(ee)}return Ni(Hd(y,b))}static getFont(y,b,E){return Ch._registry[y].getFont(b,E)}};Vc._registry={};var vs=Vc;function Gc(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 Do(a,y){const b=[];let E=[],ee;for(const re of a)if(re.type!=="first"&&re.style){let oe;y==="variant"?(oe=re.style.variant,re.style.variantStyle&&re.style.variantStyle!=="up"&&(oe+="-"+re.style.variantStyle)):oe=re.style[y],oe===ee?E.push(re):(E.length>0&&b.push(E),E=[re],ee=oe)}return E.length>0&&b.push(E),b}function uc(a,y){var b;const{parent:E}=a[0],ee=E==null?void 0:E.computedStyle.color,re=[];for(const oe of Gc(a)){const ue=y.defaultMode;for(const he of Do(oe,"color")){const ge=he[0].computedStyle,ye=vs._registry[he[0].mode].serialize(he,Me(Ce({},y),{defaultMode:ue==="text"?"text":"math"}));!y.skipStyles&&ge.color&&ge.color!=="none"&&(!E||ee!==ge.color)?re.push(Qa("\\textcolor",(b=ge.verbatimColor)!=null?b:ge.color,Ni(ye))):re.push(Ni(ye))}}return re}function gd(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return Do(a,"backgroundColor").map(ee=>{var re;if(ee.length>0||ee[0].type!=="box"){const oe=ee[0].computedStyle;if(oe.backgroundColor&&oe.backgroundColor!=="none"&&(!b||E!==oe.backgroundColor))return Qa("\\colorbox",(re=oe.verbatimBackgroundColor)!=null?re:oe.backgroundColor,Ni(uc(ee,Me(Ce({},y),{defaultMode:"text"}))))}return Ni(uc(ee,y))})}function Hd(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,ee=[];for(const re of Do(a,"fontSize")){const oe=re[0].computedStyle.fontSize,ue=gd(re,y);ue&&(oe&&oe!=="auto"&&(!b||E!==oe)?ee.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][oe],...ue):ee.push(...ue))}return ee}function cc(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 zu(a){if(a.length===0)return"ord";const y=cc(a[0].type),b=cc(a[a.length-1].type);return y&&y===b?y:"ord"}function su(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 zn=class Ep{constructor(y,b){var E,ee,re,oe,ue;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Te(y)?this.children=y.filter(ge=>ge!==null):y&&y instanceof Ep&&(this.children=[y]),this.children)for(const ge of this.children)ge.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=(re=b==null?void 0:b.isTight)!=null?re:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let he=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(he=(ue=vs.getFont((oe=b.mode)!=null?oe:"math",this,Me(Ce({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?ue: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),dc(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=su(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=su(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"]=su(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"]=su(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"]=su(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=Nn(ee)),ee&&ee!==b.backgroundColor&&(this.setStyle("background-color",ee),this.setStyle("display","inline-block"));const re=y.scalingFactor;return this.scale=re,this.skew*=re,this.italic*=re,this}toMarkup(){var y,b,E,ee;let re=(y=this.value)!=null?y:"";if(this.children)for(const qe of this.children)re+=qe.toMarkup();let oe="";if(this.svgBody)oe=Su(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+=re,oe+="</span>",oe+='<svg style="position:absolute;overflow:visible;',oe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const qe=(b=this.cssProperties)==null?void 0:b.padding;qe?(oe+=`top:${qe};`,oe+=`left:${qe};`,oe+=`width:calc(100% - 2 * ${qe} );`):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 ue="";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 ge=he.length===1?he[0]:he.filter((qe,ot,Wt)=>qe.length>0&&Wt.indexOf(qe)===ot).join(" ");if(ge.length>0&&(ue+=` class="${ge}"`),this.id&&(ue+=` data-atom-id=${this.id}`),this.cssId&&(ue+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(ue+=" "+Object.keys(this.attributes).map(qe=>`${qe}="${this.attributes[qe]}"`).join(" ")),this.htmlData){const qe=this.htmlData.split(",");for(const ot of qe){const Wt=ot.match(/([^=]+)=(.+$)/);if(Wt){const _n=Wt[1].trim().replace(/ /g,"-");_n&&(ue+=` data-${_n}="${Wt[2]}" `)}else{const _n=ot.trim().replace(/ /g,"-");_n&&(ue+=` data-${_n} `)}}}const ye=(ee=this.cssProperties)!=null?ee:{};this.hasExplicitWidth&&ye.width===void 0&&(ye.width=`${Math.ceil(this._width*100)/100}em`);const Ie=Object.keys(ye).map(qe=>`${qe}:${ye[qe]}`);if(this.scale!==void 0&&this.scale!==1&&(re.length>0||oe.length>0)&&Ie.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const qe=this.htmlStyle.split(";");let ot="";for(const Wt of qe){const _n=Wt.match(/([^=]+):(.+$)/);if(_n){const zt=_n[1].trim().replace(/ /g,"-");zt&&(ot+=`${zt}:${_n[2]};`)}}ot&&(ue+=` style="${ot}"`)}Ie.length>0&&(ue+=` style="${Ie.join(";")}"`);let _e="";return ue.length>0||oe.length>0?_e=`<span${ue}>${re}${oe}</span>`:_e=re,this.caret==="text"?_e+='<span class="ML__text-caret"></span>':this.caret==="math"&&(_e+='<span class="ML__caret"></span>'),_e}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,re=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ee!==re)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(" "),ue=y.classes.trim().replace(/\s+/g," ").split(" ");if(oe.length!==ue.length)return!1;oe.sort(),ue.sort();for(const[he,ge]of oe.entries())if(ge==="vertical-separator"||ge!==ue[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 Uc(a){if(!a||a.length===0)return[];a[0].children=Uc(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=Uc(a[b].children),y.push(a[b]));return y}function _u(a){return a.children&&(a.children=Uc(a.children)),a}function kc(a,y){if(!a)return new zn(null,y);const b=new zn(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 zn(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 zn(E,Me(Ce({},y),{type:"lift"}))}function bl(a){const y=md(a)/2,b=new zn(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function dc(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=_l(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,re=0;for(const oe of a.children)oe.height>E&&(E=oe.height),oe.depth>ee&&(ee=oe.depth),re=Math.max(re,(b=oe.maxFontSize)!=null?b:0);a.height=E,a.depth=ee,a._width=a.children.reduce((oe,ue)=>oe+ue.width,0),a.maxFontSize=re}}function hc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],ee=-b.shift-b.box.depth;let re=ee;for(let oe=1;oe<y.length;oe++){const ue=y[oe],he=-ue.shift-re-ue.box.depth,ge=he-(b.box.height+b.box.depth);re=re+he,E.push(ge),E.push(ue),b=ue}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 fc(a){var y;const[b,E]=hc(a);if(!b)return[[],0,0];const ee=new zn(null,{classes:"pstrut"});let re=0;for(const ot of b)if(typeof ot!="number"){const Wt=ot.box;re=Math.max(re,Wt.maxFontSize,Wt.height)}re+=2,ee.height=re,ee.setStyle("height",re,"em");const oe=[];let ue=E,he=E,ge=E,ye=0;for(const ot of b){if(typeof ot=="number")ge+=ot;else{const Wt=ot.box,_n=(y=ot.classes)!=null?y:[],zt=new zn([ee,Wt],{classes:_n.join(" "),style:ot.style});Wt.setStyle("height",Wt.height+Wt.depth,"em"),Wt.setStyle("display","inline-block"),zt.setStyle("top",-re-ge-Wt.depth,"em"),ot.marginLeft&&zt.setStyle("margin-left",ot.marginLeft,"em"),ot.marginRight&&zt.setStyle("margin-right",ot.marginRight,"em"),oe.push(zt),ge+=Wt.height+Wt.depth,ye=Math.max(ye,zt.width)}ue=Math.min(ue,ge),he=Math.max(he,ge)}oe.forEach(ot=>{ot.softWidth=ye});const Ie=new zn(oe,{classes:"vlist"});if(Ie.softWidth=ye,Ie.height=he,Ie.setStyle("height",he,"em"),ue>=0)return[[new zn(Ie,{classes:"vlist-r"})],he,-ue];const _e=new zn(new zn(null),{classes:"vlist"});_e.height=-ue,_e.setStyle("height",-ue,"em");const qe=new zn(8203,{classes:"vlist-s",maxFontSize:0});return qe.softWidth=0,qe.height=0,qe.depth=0,[[new zn([Ie,qe],{classes:"vlist-r"}),new zn(_e,{classes:"vlist-r"})],he,-ue]}var Ra=class extends zn{constructor(a,y){var b;const[E,ee,re]=fc(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=re,this.softWidth=E.reduce((oe,ue)=>Math.max(oe,ue.width),0)}};function Wd(a,y){var b,E,ee,re,oe;const ue=a.metrics,he=new zn(y.base),ge=(b=y.baseShift)!=null?b:0,ye=(E=y.slant)!=null?E:0;let Ie=0,_e=0;y.above&&(Ie=(ee=y.aboveShift)!=null?ee:Math.max(ue.bigOpSpacing1,ue.bigOpSpacing3-y.above.depth)),y.below&&(_e=(re=y.belowShift)!=null?re:Math.max(ue.bigOpSpacing2,ue.bigOpSpacing4-y.below.height));let qe=null;if(y.below&&y.above){const ot=ue.bigOpSpacing5+y.below.height+y.below.depth+_e+he.depth+ge;qe=new Ra({bottom:ot,children:[ue.bigOpSpacing5,{box:y.below,marginLeft:-ye,classes:["ML__center"]},_e,{box:he,classes:["ML__center"]},Ie,{box:y.above,marginLeft:ye,classes:["ML__center"]},ue.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)qe=new Ra({top:he.height-ge,children:[ue.bigOpSpacing5,{box:y.below,marginLeft:-ye,classes:["ML__center"]},_e,{box:he,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const ot=he.depth+ge;qe=new Ra({bottom:ot,children:[{box:he,classes:["ML__center"]},Ie,{box:y.above,marginLeft:ye,classes:["ML__center"]},ue.bigOpSpacing5]}).wrap(a)}else{const ot=he.depth+ge;qe=new Ra({bottom:ot,children:[{box:he},ue.bigOpSpacing5]}).wrap(a)}return new zn(qe,{type:(oe=y.type)!=null?oe:"op"})}var Dc=7,Dl=6,pc=5,Hl=4,Eu=3,As=2,tl=1,cs=0,Bl=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(Hc).reduce((ee,re)=>Me(Ce({},ee),{[re]:Hc[re][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Ll[[cs,tl,cs,tl,As,Eu,As,Eu][this.id]]}get sub(){return Ll[[cs,cs,cs,cs,As,As,As,As][this.id]]}get fracNum(){return Ll[[cs,tl,cs,tl,As,Eu,Hl,pc][this.id]]}get fracDen(){return Ll[[cs,cs,cs,cs,As,As,Hl,Hl][this.id]]}get cramp(){return Ll[[cs,cs,As,As,Hl,Hl,Dl,Dl][this.id]]}get isTight(){return this.sizeDelta<0}},lu={7:new Bl(Dc,0,!1),6:new Bl(Dl,0,!0),5:new Bl(pc,0,!1),4:new Bl(Hl,0,!0),3:new Bl(Eu,-3,!1),2:new Bl(As,-3,!0),1:new Bl(tl,-4,!1),0:new Bl(cs,-4,!0)},Ll=Me(Ce({},lu),{displaystyle:lu[Dc],textstyle:lu[pc],scriptstyle:lu[Eu],scriptscriptstyle:lu[tl]});function Au(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:ko,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=nc(10,y);return Math.round(a.dimension/ko*E*ee)/ee}return a.dimension*E}function Bc(a,y){if(a===null)return 0;const b=Au(a)/ko;if(Number.isFinite(y)){const E=nc(10,y);return Math.round(b*E)/E}return b}function Lc(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function vd(a){let y=Lc(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${Lc(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${Lc(a.shrink)}`),y}function Oo(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=vd(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 Il(a,y){return a==null?null:"number"in a?Me(Ce({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?Me(Ce({},a),{factor:a.factor*y}):Me(Ce({},a),{factor:y}):"dimension"in a?Me(Ce({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:Il(a.glue,y),shrink:Il(a.shrink,y),grow:Il(a.grow,y)}:a.shrink?{glue:Il(a.glue,y),shrink:Il(a.shrink,y)}:a.grow?{glue:Il(a.glue,y),grow:Il(a.grow,y)}:{glue:Il(a.glue,y)}:null}var Kd={"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 uu(){return Ce({},Kd)}function Ic(){return{registers:uu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:$e.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:ht,backgroundColorMap:Ge,getMacro:a=>fs(a,co())}}var Zi=class Ap{constructor(y,b){var E,ee,re,oe,ue,he,ge,ye,Ie,_e,qe,ot,Wt,_n,zt;let gn;y!=null&&y.parent?(this.parent=y.parent,gn=y.parent,this.registers={}):(gn=Ce(Ce({},Ic()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=gn.registers),gn.atomIdsSettings&&(this.atomIdsSettings=Ce({},gn.atomIdsSettings)),this.renderPlaceholder=gn.renderPlaceholder,this.isPhantom=(oe=(re=y==null?void 0:y.isPhantom)!=null?re:(ee=this.parent)==null?void 0:ee.isPhantom)!=null?oe:!1,this.letterShapeStyle=gn.letterShapeStyle,this.minFontScale=gn.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(he=(ue=this.parent)==null?void 0:ue.color)!=null?he:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(ye=(ge=this.parent)==null?void 0:ge.backgroundColor)!=null?ye:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Ie=this.parent)==null?void 0:Ie.size)?this.size=b.fontSize:this.size=(qe=(_e=this.parent)==null?void 0:_e.size)!=null?qe:yl;let Kn=(Wt=(ot=this.parent)==null?void 0:ot.mathstyle)!=null?Wt:Ll.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(gn instanceof Ap)switch(y.mathstyle){case"cramp":Kn=Kn.cramp;break;case"superscript":Kn=Kn.sup;break;case"subscript":Kn=Kn.sub;break;case"numerator":Kn=Kn.fracNum;break;case"denominator":Kn=Kn.fracDen;break}switch(y.mathstyle){case"textstyle":Kn=Ll.textstyle;break;case"displaystyle":Kn=Ll.displaystyle;break;case"scriptstyle":Kn=Ll.scriptstyle;break;case"scriptscriptstyle":Kn=Ll.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=Kn,this.smartFence=gn.smartFence,this.placeholderSymbol=gn.placeholderSymbol,this.colorMap=(_n=gn.colorMap)!=null?_n:Mn=>Mn,this.backgroundColorMap=(zt=gn.backgroundColorMap)!=null?zt:Mn=>Mn,this.getMacro=gn.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===Dc||this.mathstyle.id===Dl}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(oc[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 Bc(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 re=b.evaluate(ee);if(re!==void 0)return"string"in re?{string:Number(ee).toString()+re.string}:"number"in re?{number:E*re.number}:"dimension"in re?Me(Ce({},re),{dimension:E*re.dimension}):"glue"in re?Me(Ce({},re),{glue:Me(Ce({},re.glue),{dimension:E*re.glue.dimension}),shrink:re.shrink?Me(Ce({},re.shrink),{dimension:E*re.shrink.dimension}):void 0,grow:re.grow?Me(Ce({},re.grow),{dimension:E*re.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:Au(E,b)/ko}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}},cu=["body","above","below","superscript","subscript"];function Ls(a){return typeof a=="string"&&cu.includes(a)}function ju(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var tn=class Cc{constructor(y){var b,E,ee,re,oe,ue;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=Ce({},y.style),this.displayContainsHighlight=(re=y.displayContainsHighlight)!=null?re:!1,this.captureSelection=(oe=y.captureSelection)!=null?oe:!1,this.skipBoundary=(ue=y.skipBoundary)!=null?ue:!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 re=Qc(b),oe=[];for(const he of re){const ge=he[0].style,ye=Yc(y,he,{style:{color:ge.color,backgroundColor:ge.backgroundColor,fontSize:ge.fontSize}});ye&&oe.push(ye)}if(oe.length===0)return null;const ue=((ee=E==null?void 0:E.classes)!=null?ee:"").trim();return oe.length===1&&!ue&&!(E!=null&&E.type)?oe[0].wrap(y):new zn(oe,{classes:ue,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return vs.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 Cc({type:"mord",value:y,mode:"math"}):new Cc(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=Ce({},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=Xc(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=pr(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Ni([Qa(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Ni([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return vs.serialize(this.body,Me(Ce({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return vs.serialize(this.above,y)}belowToLatex(y){return vs.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=Me(Ce({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=vs.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=vs.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(Ls(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of cu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Ls(y)),Ls(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 ju(this.parentBranch)?this.parentBranch[0]:-1}get col(){return ju(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",re=Ce(Ce({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete re.variant,delete re.variantStyle,ee||delete re.verbatimBackgroundColor,E||delete re.verbatimColor,re}applyStyle(y){this.isDirty=!0,this.style=Ce(Ce({},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(Ls(b)),!Ls(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 re of y)re.parent=this,re.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Cc({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(Ls(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 cu)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=pr(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new Zi({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,re=this.superscript,oe=this.subscript;if(!re&&!oe)return ee;let ue=null,he=null;const ge=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let ye=0;if(re){const Wt=new Zi({parent:y,mathstyle:"superscript"});ue=Cc.createBox(Wt,re),ge||(ye=ee.height-y.metrics.supDrop*Wt.scalingFactor)}let Ie=0;if(oe){const Wt=new Zi({parent:y,mathstyle:"subscript"});he=Cc.createBox(Wt,oe),ge||(Ie=ee.depth+y.metrics.subDrop*Wt.scalingFactor)}let _e;y.isDisplayStyle?_e=y.metrics.sup1:y.isCramped?_e=y.metrics.sup3:_e=y.metrics.sup2;const qe=.5/ko/y.scalingFactor;let ot=null;if(he&&ue){ye=Math.max(ye,_e,ue.depth+.25*y.metrics.xHeight),Ie=Math.max(Ie,y.metrics.sub2);const Wt=y.metrics.defaultRuleThickness;if(ye-ue.depth-(he.height-Ie)<4*Wt){Ie=4*Wt-(ye-ue.depth)+he.height;const zt=.8*y.metrics.xHeight-(ye-ue.depth);zt>0&&(ye+=zt,Ie-=zt)}const _n=this.isExtensibleSymbol&&ee.italic?-ee.italic:0;ot=new Ra({individualShift:[{box:he,shift:Ie,marginLeft:_n},{box:ue,shift:-ye}]}).wrap(y)}else he&&!ue?(Ie=Math.max(Ie,y.metrics.sub1,he.height-.8*Al),ot=new Ra({shift:Ie,children:[{box:he,marginRight:qe,marginLeft:this.isCharacterBox()?-ee.italic:0}]})):!he&&ue&&(ye=Math.max(ye,_e,ue.depth+.25*Al),ot=new Ra({shift:-ye,children:[{box:ue,marginRight:qe}]}));return new zn([ee,new zn(ot,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?Cc.createBox(new Zi({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ee=this.subscript?Cc.createBox(new Zi({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!ee?b.base.wrap(y):Wd(y,Me(Ce({},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,re,oe;const ue=(E=this.value)!=null?E:this.body,he=(ee=b==null?void 0:b.boxType)!=null?ee:cc(this.type);let ge=(re=b==null?void 0:b.classes)!=null?re:"";this.mode==="text"&&(ge+=" ML__text");const ye=typeof ue=="string"||ue===void 0?new zn(ue!=null?ue:null,{type:he,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:Me(Ce({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:ge}):(oe=Cc.createBox(y,ue,{type:he,classes:ge}))!=null?oe:new zn(null);return y.isTight&&(ye.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(ye.italic=0),ye.right=ye.italic,this.bind(y,ye),this.caret&&!this.superscript&&!this.subscript&&(ye.caret=this.caret),ye}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 Qc(a){let y;const b=[];let E=[];for(const ee of a)if(!y&&!ee.style)E.push(ee);else{const re=ee.computedStyle;y&&re.color===y.color&&re.backgroundColor===y.backgroundColor&&re.fontSize===y.fontSize?E.push(ee):(E.length>0&&b.push(E),E=[ee],y=re)}return E.length>0&&b.push(E),b}function Yc(a,y,b){var E,ee,re,oe,ue;if(!y||y.length===0)return null;const he=new Zi({parent:a},b.style),ge=!((E=he.atomIdsSettings)!=null&&E.groupNumbers);let ye=[];if(y.length===1){const _e=y[0],qe=_e.render(he);qe&&(ge&&_e.isSelected&&qe.selected(!0),ye=[qe])}else{let _e="",qe=!0;for(const ot of y){(ee=he.atomIdsSettings)!=null&&ee.groupNumbers&&_e&&(qe&&ot.isDigit()||!qe&&Jc(ot))&&(he.atomIdsSettings.overrideID=_e);const Wt=ot.render(he);he.atomIdsSettings&&(he.atomIdsSettings.overrideID=void 0),Wt&&((re=he.atomIdsSettings)!=null&&re.groupNumbers&&((ot.isDigit()||Jc(ot))&&(!_e||qe!==ot.isDigit())&&(qe=ot.isDigit(),_e=(oe=ot.id)!=null?oe:""),_e&&(!(ot.isDigit()||Jc(ot))||!ot.hasEmptyBranch("superscript")||!ot.hasEmptyBranch("subscript"))&&(_e="")),ge&&ot.isSelected&&Wt.selected(!0),ye.push(Wt))}}if(ye.length===0)return null;const Ie=new zn(ye,Me(Ce({isTight:he.isTight},b),{type:(ue=b.type)!=null?ue:"lift"}));return Ie.isSelected=ye.every(_e=>_e.isSelected),Ie.wrap(he)}function Jc(a){return a.mode==="text"}function Xc(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof tn?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var Wl=class Mp extends tn{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 Mp(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:$i("text",this.value.codePointAt(0))}};function Hu(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&Zd(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function Zd(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function ys(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 du(a){return typeof a=="number"&&!Number.isNaN(a)}function mc(a){return Array.isArray(a)&&a.length===2}function Wu(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function qc(a,y){const b=a.at(y);let E;if(b){E=b.mode;let ee=b.parent;for(;!E&ⅇ)ee&&(E=ee.mode),ee=ee.parent}return E}function yd(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,re=!1,oe=!1,ue=!1,he=!1,ge=!1,ye=!1,Ie=!1,_e=!1,qe=!1,ot=!1,Wt=!1,_n=!1,zt=a[0],gn=0;for(;zt!=null&&zt.type&&/^(subsup|placeholder)$/.test(zt.type);)gn+=1,zt=a[gn];return b=!zt||zt.type==="first",zt&&(Wt=zt.mode==="text",E=!Wt&&zt.type==="mord"&&we.test(zt.value),ee=!Wt&&zt.type==="mord"&&/\d+$/.test(zt.value),re=!Wt&&zt.isFunction,oe=zt.type==="genfrac",ue=zt.type==="surd",he=zt.type==="mbin",ge=zt.type==="mrel",ye=zt.type==="mop"||zt.type==="operator"||zt.type==="extensible-symbol",Ie=zt.type==="mpunct"||zt.type==="minner",_e=zt.type==="array",qe=zt.type==="mopen",ot=zt.type==="mclose"||zt.type==="leftright",_n=zt.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&ee||y.after.includes("function")&&re||y.after.includes("frac")&&oe||y.after.includes("surd")&&ue||y.after.includes("binop")&&he||y.after.includes("relop")&&ge||y.after.includes("operator")&&ye||y.after.includes("punct")&&Ie||y.after.includes("array")&&_e||y.after.includes("openfence")&&qe||y.after.includes("closefence")&&ot||y.after.includes("text")&&Wt||y.after.includes("space")&&_n?y.value:""}function $c(a,y,b){return b?yd(a,b[y]):""}var oa={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 Lr(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=Kl(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",Ir(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Ir(a,y){var b,E,ee;if(!a)return"";let re=!1,oe;const ue=(b=y.inlineShortcuts)!=null?b:oa;if(!re&&(a.startsWith("^")||a.startsWith("_"))&&(oe=zi(a.slice(1),{inlineShortcuts:ue,noWrap:!0}),a=a[0]+"{"+oe.match+"}",a+=Ir(oe.rest,y),re=!0),re||(oe=a.match(/^(sqrt|\u221A)(.*)/),oe&&(oe=zi(oe[2],{inlineShortcuts:ue,noWrap:!0}),a="\\sqrt{"+((E=oe.match)!=null?E:"\\placeholder{}")+"}",a+=Ir(oe.rest,y),re=!0)),re||(oe=a.match(/^(\\cbrt|\u221B)(.*)/),oe&&(oe=zi(oe[2],{inlineShortcuts:ue,noWrap:!0}),a="\\sqrt[3]{"+((ee=oe.match)!=null?ee:"\\placeholder{}")+"}",a+=Ir(oe.rest,y),re=!0)),re||(oe=a.match(/^abs(.*)/),oe&&(oe=zi(oe[1],{inlineShortcuts:ue,noWrap:!0}),a="\\left|"+oe.match+"\\right|",a+=Ir(oe.rest,y),re=!0)),re||(oe=a.match(/^["”“](.*?)["”“](.*)/),oe&&(a="\\text{"+oe[1]+"}",a+=Ir(oe[2],y),re=!0)),re||(oe=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),oe&&(a=ao(oe[1],ue),a+=Ir(oe[2],y),re=!0)),!re&&/^([fgh])[^a-zA-Z]/.test(a)&&(oe=zi(a.slice(1),{inlineShortcuts:ue,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+oe.match+"\\right)":a[0]+oe.match,a+=Ir(oe.rest,y),re=!0),re||(oe=a.match(/^([a-zA-Z]+)(.*)/),oe&&(a=ao(oe[1],ue),a+=Ir(oe[2],y),re=!0)),!re)if(oe=zi(a,{inlineShortcuts:ue,noWrap:!0}),oe.match&&oe.rest[0]==="/"){const he=zi(oe.rest.slice(1),{inlineShortcuts:ue,noWrap:!0});he.match&&(a="\\frac{"+oe.match+"}{"+he.match+"}"+Ir(he.rest,y)),re=!0}else oe.match&&(a=a.startsWith("(")?"\\left("+oe.match+"\\right)"+Ir(oe.rest,y):oe.match+Ir(oe.rest,y),re=!0);return re||(oe=a.match(/^(\s+)(.*)$/),oe&&(a=" "+Ir(oe[2],y),re=!0)),a}function zi(a,y){let b="";a=a.trim();let E=a,ee=a.charAt(0),re={"(":")","{":"}","[":"]"}[ee];if(re){let oe=1,ue=1;for(;ue<a.length&&oe>0;)a[ue]===ee&&oe++,a[ue]===re&&oe--,ue++;oe===0?(y.noWrap&&ee==="("?b=Ir(a.substring(1,ue-1),y):(ee==="{"&&re==="}"&&(ee="\\{",re="\\}"),b="\\left"+ee+Ir(a.substring(1,ue-1),y)+"\\right"+re),E=a.slice(Math.max(0,ue))):(b=a.substring(1,ue),E="")}else{let oe=a.match(/^([a-zA-Z]+)/);if(oe){let ue=$c(null,a,y.inlineShortcuts);if(ue)return ue=ue.replace("_{#?}",""),ue=ue.replace("^{#?}",""),{match:ue,rest:a.slice(ue.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 ao(a,y){let b=$c(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var hu=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function bs(a){const y=a.trim();for(const b of hu)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 Kl(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=bs(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 xl="$$",gc="$$",Mu=(a,y,b)=>(hu.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${xl} ${y} ${gc}`),y),dl=class sf{constructor(y){sf._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 re=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(ee=b.host)!=null&&ee.dispatchEvent(re)?sf._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]:ys(E.selection),re=E.getValue(ee,b);navigator.clipboard.writeText(re).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,re=ee.selectionIsCollapsed?[0,ee.lastOffset]:ys(ee.selection);let oe=ee.getAtoms(re);if(oe.every(ue=>ue.mode==="text"||!ue.mode))b.clipboardData.setData("text/plain",oe.filter(ue=>ue instanceof Wl).map(ue=>ue.value).join(""));else if(oe.every(ue=>ue.mode==="latex"))b.clipboardData.setData("text/plain",ee.getAtoms(re,{includeChildren:!0}).map(ue=>{var he;return(he=ue.value)!=null?he:""}).join(""));else{let ue;oe.length===1&&oe[0].verbatimLatex!==void 0?ue=oe[0].verbatimLatex:ue=ee.getValue(re,"latex-expanded"),b.clipboardData.setData("application/x-latex",ue);try{b.clipboardData.setData("text/plain",y.options.onExport(y,ue,re))}catch(he){}if(oe.length===1){const he=oe[0];(he.type==="root"||he.type==="group")&&(oe=he.body.filter(ge=>ge.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 ge=he.jsonSerializationOptions;he.jsonSerializationOptions={metadata:["latex"]};const ye=he.parse(ee.getValue(re,"latex-unstyled"));he.jsonSerializationOptions=ge;const Ie=JSON.stringify(ye.json);Ie&&b.clipboardData.setData("application/json",Ie)}catch(ge){}}}b.preventDefault()}static insert(y,b,E={}){var ee;const re=E.mode==="auto"?y.mode:(ee=E.mode)!=null?ee:y.mode;return sf._modes[re].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};dl._modes={};var di=dl,lf=[{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 Zl(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Vl(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 Ku(a){const y=Vl(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Gd(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 Ud(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),ee=y.right-y.left,re=y.bottom-y.top,oe=Math.ceil(y.left-E.left+a.field.scrollLeft*b),ue=Math.ceil(y.top-E.top);return{left:oe,right:oe+ee,top:ue,bottom:ue+re}}function Qd(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 re=Qd(ee);E.left=Math.min(E.left,re.left),E.right=Math.max(E.right,re.right),E.top=Math.min(E.top,re.top),E.bottom=Math.max(E.bottom,re.bottom)}return E}function Tc(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 re=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ee=re?Qd(re):null,a.atomBoundsCache&&(ee?a.atomBoundsCache.set(y.id,ee):a.atomBoundsCache.delete(y.id)),ee!=null?ee:null}function Sh(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 re=a.field,oe=re.offsetWidth;let he=Math.floor(re.getBoundingClientRect().width)/oe;he=isNaN(he)?1:he;const ge=Ud(a,Tc(a,ee),he);if(ge){const ye=Gd(ee);if(E.has(ye)){const Ie=E.get(ye);E.set(ye,{left:Math.min(Ie.left,ge.left),right:Math.max(Ie.right,ge.right),top:Math.min(Ie.top,ge.top),bottom:Math.max(Ie.bottom,ge.bottom)})}else E.set(ye,ge)}}return[...E.values()]}function Yd(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Sh(a,E,y)),[])}function Jd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function bd(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 Eh=`@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;
|
|
|
}
|
|
|
`,Ha=`.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);
|
|
|
}
|
|
|
`,Ah=`#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);
|
|
|
}
|
|
|
`,uf=`/* 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;
|
|
|
}
|
|
|
`,Fc=`/* 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);*/
|
|
|
}
|
|
|
`,cf=`.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));
|
|
|
}
|
|
|
`,xd=`: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;
|
|
|
}
|
|
|
`,df=`.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;
|
|
|
}
|
|
|
`,Ya;function vc(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=Ha;break;case"mathfield":y=Eh;break;case"environment-popover":y=Ah;break;case"suggestion-popover":y=uf;break;case"keystroke-caption":y=Fc;break;case"virtual-keyboard":y=cf;break;case"ui":y=xd;break;case"menu":y=df;break;default:debugger}return y}function Nc(a){return Ya||(Ya={}),Ya[a]||(Ya[a]=new CSSStyleSheet,Ya[a].replaceSync(vc(a))),Ya[a]}var ku;function Tl(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(vc(a))),window.document.head.appendChild(b);return}if(ku||(ku={}),((y=ku[a])!=null?y:0)!==0)ku[a]+=1;else{const b=Nc(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],ku[a]=1}}function x(a){if("adoptedStyleSheets"in document&&ku!=null&&ku[a]&&(ku[a]-=1,ku[a]<=0)){const y=Ya[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class kp extends tn{constructor(y){var b;super(Me(Ce({},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(Ce({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new Zi({parent:y,mathstyle:"cramp"},this.style),ee=(b=tn.createBox(E,this.body))!=null?b:new zn("\u25A2",{style:this.style});let re=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(re=ee.skew);let oe=Math.min(ee.height,Al),ue;if(this.svgAccent)ue=bl(this.svgAccent),oe=E.metrics.bigOpSpacing1-oe;else if(this.accent){const ge=new zn(this.accent,{fontFamily:"Main-Regular"});ge.italic=0;const ye=this.accent===8407?" ML__accent-vec":"";ue=new zn(new zn(ge),{classes:"ML__accent-body"+ye})}ue=new Ra({shift:0,children:[{box:new zn(ee)},-oe,{box:ue,marginLeft:ee.left+2*re,classes:["ML__center"]}]});const he=new zn(ue,{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 ie(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 zn(ie(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)*Ta),oe}function me(a,y,b,E,ee){var re,oe;const ue=new Zi({parent:E,mathstyle:"textstyle"},ee==null?void 0:ee.style),he=new zn(ie(a),{fontFamily:`Size${y}-Regular`,isSelected:ee.isSelected,classes:((re=ee.classes)!=null?re:"")+` ML__delim-size${y}`,type:(oe=ee.type)!=null?oe:"ignore"}).wrap(ue);return b&&he.setTop((1-ue.scalingFactor)*Ta),he}function xe(a,y,b,E,ee){var re;let oe,ue,he,ge;oe=he=ge=ie(a),ue=null;let ye="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?he=oe=ge=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?he=oe=ge=8741:a==="\\uparrow"?he=ge=9168:a==="\\Uparrow"?he=ge=8214:a==="\\downarrow"?oe=he=9168:a==="\\Downarrow"?oe=he=8214:a==="\\updownarrow"?(oe=8593,he=9168,ge=8595):a==="\\Updownarrow"?(oe=8657,he=8214,ge=8659):a==="["||a==="\\lbrack"?(oe=9121,he=9122,ge=9123,ye="Size4-Regular"):a==="]"||a==="\\rbrack"?(oe=9124,he=9125,ge=9126,ye="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(he=oe=9122,ge=9123,ye="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(oe=9121,he=ge=9122,ye="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(he=oe=9125,ge=9126,ye="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(oe=9124,he=ge=9125,ye="Size4-Regular"):a==="("||a==="\\lparen"?(oe=9115,he=9116,ge=9117,ye="Size4-Regular"):a===")"||a==="\\rparen"?(oe=9118,he=9119,ge=9120,ye="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(oe=9127,ue=9128,ge=9129,he=9130,ye="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(oe=9131,ue=9132,ge=9133,he=9130,ye="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(oe=9127,ge=9129,he=9130,ye="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(oe=9131,ge=9133,he=9130,ye="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(oe=9127,ge=9133,he=9130,ye="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(oe=9131,ge=9129,he=9130,ye="Size4-Regular"):a==="\\surd"?(oe=57345,ge=9143,he=57344,ye="Size4-Regular"):a==="\\ulcorner"?(oe=9484,he=ge=32):a==="\\urcorner"?(oe=9488,he=ge=32):a==="\\llcorner"?(ge=9492,he=oe=32):a==="\\lrcorner"&&(oe=9496,he=oe=32);const Ie=_l(oe,ye),_e=Ie.height+Ie.depth,qe=_l(he,ye),ot=qe.height+qe.depth,Wt=_l(ge,ye),_n=Wt.height+Wt.depth;let zt=0,gn=1;if(ue!==null){const Ns=_l(ue,ye);zt=Ns.height+Ns.depth,gn=2}const Kn=_e+_n+zt,Mn=Math.max(0,Math.ceil((y-Kn)/(gn*ot))),Cr=Kn+Mn*gn*ot;let zr=Ta;b&&(zr=zr*E.scalingFactor);const Nr=Cr/2-zr,sa=.008,Wa=[];Wa.push({box:new zn(ge,{fontFamily:ye})}),Wa.push(-sa);const Un=new zn(he,{fontFamily:ye});if(ue===null)for(let Ns=0;Ns<Mn;Ns++)Wa.push({box:Un});else{for(let Ns=0;Ns<Mn;Ns++)Wa.push({box:Un});Wa.push(-sa),Wa.push({box:new zn(ue,{fontFamily:ye})}),Wa.push(-sa);for(let Ns=0;Ns<Mn;Ns++)Wa.push({box:Un})}Wa.push(-sa),Wa.push({box:new zn(oe,{fontFamily:ye})});let Ql="";ye==="Size1-Regular"?Ql=" delim-size1":ye==="Size4-Regular"&&(Ql=" delim-size4");const Xu=new Ra({bottom:Nr,children:Wa},{classes:Ql});return new zn(Xu,Me(Ce({},ee!=null?ee:{}),{classes:((re=ee==null?void 0:ee.classes)!=null?re:"")+" ML__delim-mult"}))}var Ae=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Le=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),Xe=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ut=[0,1.2,1.8,2.4,3];function It(a,y,b,E){return a===void 0||a==="."?wr(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ae.has(a)||Xe.has(a)?me(a,y,!1,b,E):Le.has(a)?xe(a,ut[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var At=[{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}],cn=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Ln=[{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 Gn(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function rr(a,y,b,E){const ee={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let re=ee;re<b.length&&b[re].type!=="stack";re++){const oe=_l(a,Gn(b[re]));if(oe.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let ue=oe.height+oe.depth;if(b[re].type==="small"&&(b[re].mathstyle==="scriptscriptstyle"?ue*=Math.max(oc[Math.max(1,E.size-2)],E.minFontScale):b[re].mathstyle==="scriptstyle"&&(ue*=Math.max(oc[Math.max(1,E.size-1)],E.minFontScale))),ue>y)return b[re]}return b[b.length-1]}function yr(a,y,b,E,ee,re){if(!y||y.length===0||y===".")return wr(ee);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let oe;Xe.has(y)?oe=At:Ae.has(y)?oe=Ln:oe=cn;const ue=rr(ie(y),b,oe,ee),he=new Zi({parent:ee,mathstyle:ue.mathstyle},re==null?void 0:re.style);return ue.type==="small"?se(y,he,E,Me(Ce({},re),{type:a})):ue.type==="large"?me(y,ue.size,E,he,Me(Ce({},re),{type:a})):(console.assert(ue.type==="stack"),xe(y,b,E,he,Me(Ce({},re),{type:a})))}function er(a,y,b,E,ee,re){if(y===".")return wr(ee,re==null?void 0:re.classes);const oe=Ta*ee.scalingFactor,ue=901,he=5/ko,ge=Math.max(b-oe,E+oe),ye=Math.max(ge/500*ue,2*ge-he);return yr(a,y,ye,!0,ee,re)}function wr(a,y){const b=new zn(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Zi({parent:a,mathstyle:"textstyle"}))}var Wr=class Dp extends tn{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{}"}},Gr=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Wi=["cases","dcases","rcases"],Ja=["align","align*","aligned","gather","gathered","split"],Ms=["array","subequations","eqnarray"];function Bo(a){return Ms.concat(Ja).concat(Wi).concat(Gr).includes(a)}function nl(a){return Gr.includes(a)}function rl(a){return Wi.includes(a)}function ds(a){return Ja.includes(a)}function il(a,y,b){let E=0;for(const ge of b)"align"in ge&&(E+=1);let ee=0;const re=[];for(const ge of y){let ye=0;for(ee=Math.max(ee,Math.min(ge.length,E));ye<ge.length;){const Ie=[],_e=Math.min(ge.length,ye+E);for(;ye<_e;){const qe=ge[ye];qe.length===0?Ie.push([new tn({type:"first",mode:a.mode})]):qe[0].type!=="first"?Ie.push([new tn({type:"first",mode:a.mode}),...qe]):(console.assert(!qe.slice(1).some(ot=>ot.type==="first")),Ie.push(qe)),ye+=1}re.push(Ie)}}re.length>0&&re[re.length-1].length===1&&re[re.length-1][0].length===1&&re[re.length-1][0][0].type==="first"&&re.pop();const oe=[];for(const ge of re){if(ge.length!==ee)for(let ye=ge.length;ye<ee;ye++)ge.push([new tn({type:"first",mode:a.mode}),new Wr]);oe.push(ge)}let ue=0,he=0;for(const ge of oe){he=0;for(const ye of ge){for(const Ie of ye)Ie.parent=a,Ie.parentBranch=[ue,he];he+=1}ue+=1}return a.isDirty=!0,oe}var mi=class Bp extends tn{constructor(y,b,E,ee={}){var re;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=il(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=(re=ee.minColumns)!=null?re:1}static fromJson(y){return new Bp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=Me(Ce({},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(ju(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return ju(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(Ls(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,re,oe,ue;const he=new Zi({parent:y,mathstyle:this.mathstyleName},this.style),ge=he.getRegisterAsEm("arrayrulewidth"),ye=he.getRegisterAsEm("arraycolsep"),Ie=he.getRegisterAsEm("doublerulesep"),_e=(E=(b=this.arraystretch)!=null?b:he.getRegisterAsNumber("arraystretch"))!=null?E:1;let qe=typeof this.arraycolsep=="number"?this.arraycolsep:ye;this.colSeparationType==="small"&&(qe=.2778*(new Zi({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const ot=_e*Ac,Wt=.7*ot,_n=.3*ot;let zt=0;const gn=[];let Kn=0;const Mn=this.array.length;for(let qa=0;qa<Mn;++qa){const qo=this.array[qa];Kn=Math.max(Kn,qo.length);const Ps=new Zi({parent:he,mathstyle:this.mathstyleName},this.style);let qu=Wt/Ps.scalingFactor,$u=_n/Ps.scalingFactor;const ec={cells:[],height:0,depth:0,pos:0};for(const Lu of qo){const e0=(ee=tn.createBox(Ps,Lu,{type:"ignore"}))!=null?ee:new zn(null,{type:"ignore"});$u=Math.max($u,e0.depth),qu=Math.max(qu,e0.height),ec.cells.push(e0)}let tc=(re=Bc(this.rowGaps[qa]))!=null?re:0;tc>0&&(tc+=_n,$u=Math.max($u,tc),tc=0),qa<Mn-1&&!nl(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&($u+=he.getRegisterAsEm("jot")),ec.height=qu,ec.depth=$u,zt+=qu,ec.pos=zt,zt+=$u+tc,gn.push(ec)}const Cr=zt/2+Ta,zr=[];for(let qa=0;qa<Kn;qa++){const qo=[];for(const Ps of gn){const qu=Ps.cells[qa];qu.depth=Ps.depth,qu.height=Ps.height,qo.push({box:qu,shift:Ps.pos-Cr})}qo.length>0&&zr.push(new Ra({individualShift:qo}))}const Nr=[];let sa=!1,Wa=!1,Un=0,Ql=!this.leftDelim;const{colFormat:Xu}=this;for(const qa of Xu){if("align"in qa&&Un>=zr.length)break;if("align"in qa)sa?Nr.push(Lo(2*qe)):(Wa||Ql)&&Nr.push(Lo(qe)),Nr.push(new zn(zr[Un],{classes:"col-align-"+qa.align})),Un++,sa=!0,Wa=!1,Ql=!1;else if("gap"in qa){if(typeof qa.gap=="number")Nr.push(Lo(qa.gap));else{const qo=zo(y,gn,Cr,qa.gap);qo&&Nr.push(qo)}sa=!1,Wa=!1,Ql=!1}else if("separator"in qa){const qo=new zn(null,{classes:"vertical-separator"});qo.height=zt,qo.setStyle("height",zt,"em"),qo.setStyle("border-right",`${ge}em ${qa.separator} currentColor`),qo.setStyle("vertical-align",-(zt-Cr),"em");let Ps=0;Wa?Ps=Ie-ge:sa&&(Ps=qe-ge),qo.left=Ps,Nr.push(qo),sa=!1,Wa=!0,Ql=!1}}sa&&!this.rightDelim&&Nr.push(Lo(qe));const gu=new zn(Nr,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(gu.caret=this.caret),this.bind(y,gu);const Ns=gu.height,Yl=gu.depth,Cl=this.bind(y,new zn([this.bind(y,er("open",(oe=this.leftDelim)!=null?oe:".",Ns,Yl,he,{isSelected:this.isSelected})),gu,this.bind(y,er("close",(ue=this.rightDelim)!=null?ue:".",Ns,Yl,he,{isSelected:this.isSelected}))],{type:"ord"}));return Cl?(Cl.setStyle("display","inline-block"),this.caret&&(Cl.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Cl}))):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 re=0;re<this.array[ee].length;re++)re>0&&E.push(" & "),E.push(tn.serialize(this.array[ee][re],y));if(ee<this.array.length-1){const re=this.rowGaps[ee];re!=null&&re.dimension?E.push(`\\\\[${re.dimension} ${(b=re.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),Ni(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 re of this.array[y][b])re.parent=void 0,re.parentBranch=void 0;let ee=E;(E.length===0||E[0].type!=="first")&&(ee=[new tn({type:"first",mode:this.mode}),...E]),this.array[y][b]=ee;for(const re of ee)re.parent=this,re.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(Ro(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const oe of re)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(Ro(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 re=this.array[E][ee];if(re)for(const oe of re)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 re of ee)re.parent=void 0,re.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const oe of re)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,Ro(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 re of ee)re.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,Ro(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 re of ee)re.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 re of ee)re.parent=void 0,re.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 re of ee)re.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 Ro(a){const y=new tn({type:"first",mode:a.mode});y.parent=a;const b=new Wr;return b.parent=a,[y,b]}function Lo(a){const y=new zn(null,{classes:"arraycolsep"});return y.width=a,y}function zo(a,y,b,E){if(!E)return null;const ee=[];for(const re of y){const oe=tn.createBox(a,E,{type:"ignore"});oe&&(oe.depth=re.depth,oe.height=re.height,ee.push({box:oe,shift:re.pos-b}))}return new Ra({individualShift:ee}).wrap(a)}var Jo=class Lp extends tn{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 Lp(y)}toJson(){return Me(Ce({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,ee,re;const oe=tn.createBox(y,this.body,{type:"lift"});if(!oe)return null;const ue=y.toEm((b=this.offset)!=null?b:{dimension:0});oe.depth+=ue,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 Zi({parent:y},this.style),ge=he.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),ye=new zn(null,{classes:"ML__box"});ye.height=oe.height+ge,ye.depth=oe.depth+ge,ye.setStyle("box-sizing","border-box"),ye.setStyle("position","absolute"),ye.setStyle("top",-ge+.3,"em"),ye.setStyle("left",0),ye.setStyle("height",ye.height+ye.depth,"em"),ye.setStyle("width","100%"),this.backgroundcolor&&ye.setStyle("background-color",(ee=he.toColor(this.backgroundcolor))!=null?ee:"transparent"),this.framecolor&&ye.setStyle("border",`${he.getRegisterAsEm("fboxrule",2)}em solid ${(re=he.toColor(this.framecolor))!=null?re:"black"}`),this.border&&ye.setStyle("border",this.border);const Ie=new zn([ye,oe],{type:"lift"});return Ie.setStyle("display","inline-block"),Ie.setStyle("position","relative"),Ie.setStyle("line-height",0),Ie.height=oe.height+ge+(ue>0?ue:0),Ie.depth=oe.depth+ge+(ue<0?-ue:0),Ie.setStyle("padding-left",ge,"em"),Ie.setStyle("padding-right",ge,"em"),Ie.setStyle("height",Math.floor(100*(oe.height+oe.depth+2*ge+Math.abs(ue)))/100,"em"),Ie.setStyle("margin-top",-ge,"em"),Ie.setStyle("top",Math.floor(100*(oe.depth-oe.height+2*ge-ue))/100,"em"),Ie.setStyle("vertical-align",Math.floor(100*(oe.depth+2*ge))/100,"em"),this.caret&&(Ie.caret=this.caret),this.attachSupsub(y,{base:Ie})}_serialize(y){return y.skipStyles?Ni([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},yc=class Ip extends tn{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 Ip(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new zn(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},hl=class Tp extends tn{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Tp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Is=class Fp extends tn{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 Fp(y.body,y.mode,y.style)}render(y){const b=tn.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=pr(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},ba=class Np extends tn{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 Np((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"?Ni(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ee]):this.variant==="mleft...mright"?Ni(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",ee]):Ni([!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 Zi({parent:y},this.style);console.assert(this.body!==void 0);const re=new Zi({parent:y,mathstyle:"textstyle"},this.style),oe=(b=tn.createBox(ee,this.body,{type:"inner"}))!=null?b:new zn(null,{type:"inner"}),ue=oe.height/re.scalingFactor,he=oe.depth/re.scalingFactor,ge=[];if(this.leftDelim&&ge.push(this.bind(re,er("open",this.leftDelim,ue,he,re,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),oe&&(xs(oe.children,this,ee,ue,he),ge.push(oe)),this.rightDelim){let qe=this.containsCaret?" ML__contains-caret":"",ot=this.rightDelim;ot==="?"&&(ee.smartFence?(ot=this.matchingRightDelim(),qe+=" ML__smart-fence__close"):ot="."),ge.push(this.bind(re,er("close",ot,ue,he,re,{isSelected:this.isSelected,classes:qe+" ML__close",mode:this.mode,style:this.style})))}let ye=this.variant==="mleft...mright";const Ie=this.leftSibling;Ie&&(!ye&&Ie.isFunction&&(ye=!0),!ye&&Ie.type==="subsup"&&((E=Ie.leftSibling)!=null&&E.isFunction)&&(ye=!0));const _e=new zn(ge,{type:ye?"close":"inner",classes:"left-right"});return _e.setStyle("margin-top",`${-oe.depth}em`),_e.setStyle("height",`${oe.height+oe.depth}em`),this.caret&&(_e.caret=this.caret),this.bind(ee,_e.wrap(ee))}};function xs(a,y,b,E,ee){if(a)for(let re=0;re<a.length;re++){const oe=a[re];oe.type==="middle"?(a[re]=y.bind(b,er("inner",oe.value,E,ee,b,{isSelected:y.isSelected})),a[re].caret=oe.caret,a[re].isSelected=oe.isSelected,a[re].cssId=oe.cssId,a[re].htmlData=oe.htmlData,a[re].htmlStyle=oe.htmlStyle,a[re].attributes=oe.attributes,a[re].cssProperties=oe.cssProperties):oe.children&&xs(oe.children,y,b,E,ee)}}var wd=class Pp extends tn{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 Pp(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=tn.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Du=class Op extends tn{constructor(){super({type:"macro-argument"})}static fromJson(y){return new Op}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},Zu=class Rp extends tn{constructor(y,b,E=!1,ee,re){var oe;super({type:"prompt",mode:(oe=re==null?void 0:re.mode)!=null?oe:"math",style:re==null?void 0:re.style,command:"\\placeholder"}),this.body=ee,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new Rp(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 Zi({parent:y}),E=b.getRegisterAsEm("fboxsep"),ee=E,re=E,oe=tn.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 ue=new zn(oe,{type:"ord"});ue.setStyle("display","inline-block"),ue.setStyle("height",oe.height+oe.depth,"em"),ue.setStyle("vertical-align",-re,"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 ge=new zn(null,{classes:he,attributes:{part:"prompt"}});ge.height=ue.height+re,ge.depth=ue.depth+re,ge.width=ue.width+2*ee,ge.setStyle("box-sizing","border-box"),ge.setStyle("position","absolute"),ge.setStyle("height",ue.height+ue.depth+2*re,"em"),ee===0&&ge.setStyle("width","100%"),ee!==0&&(ge.setStyle("width",`calc(100% + ${2*ee}em)`),ge.setStyle("top",E,"em"),ge.setStyle("left",-ee,"em")),(!this.body||this.body.length===1)&&(ge.width=3*ee,ge.setStyle("width",`calc(100% + ${3*ee}em)`),ge.setStyle("left",-1.5*ee,"em"));let ye="";this.correctness==="incorrect"&&(ye+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),ye&&(ge.svgOverlay=ye);const Ie=new zn([ge,ue],{classes:"ML__prompt-atom"});return Ie.setStyle("position","relative"),Ie.setStyle("display","inline-block"),Ie.setStyle("line-height",0),Ie.height=ue.height+re+.2,Ie.depth=ue.depth+re,Ie.left=ee,Ie.right=ee,Ie.setStyle("height",ue.height+re,"em"),Ie.setStyle("top",ue.depth-ue.height,"em"),Ie.setStyle("vertical-align",ue.depth+re,"em"),Ie.setStyle("margin-left",.5,"em"),Ie.setStyle("margin-right",.5,"em"),this.caret&&(Ie.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Ie}))}_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]"),Qa(ee,E)}},fu=class zp extends tn{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new zp(y);for(const E of cu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new Zi({parent:y,isPhantom:!0}),ee=this.leftSibling,re=(b=ee.render(E))!=null?b:new zn(null),oe=new zn(null);return oe.height=re.height,oe.depth=re.depth,this.attachSupsub(y,{base:oe,isCharacterBox:ee.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function hs(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var bc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,ee,re,oe;b!=null||(b={}),this.tokens=a,this.context=y instanceof Zi&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Zi({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:(re=b.parseMode)!=null?re:"math",mathstyle:(oe=b.mathstyle)!=null?oe:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const ee=this.parsingContext,re={parent:ee,mathlist:[],style:Ce({},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=re}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(Ce({before:ou(this.tokens.slice(this.index,this.index+10)),after:ou(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 Ce({},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 fu({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=pr(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?Ts(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Wr({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 re=this.get();hs(re)?(E+=re,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(hs(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 re=10,oe=/\d/;if(this.match("'"))re=8,oe=/[0-7]/,a=!0;else if(this.match('"'))re=16,oe=/[\dA-F]/,a=!0;else if(this.match("x"))re=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 ue="";for(;this.hasPattern(oe);)ue+=this.get();if(!a&&(this.match(".")||this.match(",")))for(ue+=".";this.hasPattern(oe);)ue+=this.get();const he=a?Number.parseInt(ue,re):Number.parseFloat(ue);return Number.isNaN(he)?null:{number:E?-he:he,base:re===16?"hexadecimal":re===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 re=this.peek();if(re==="-")E=!E;else if(re!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const re=this.get();return re.startsWith("\\")?b?{register:re,global:!0,factor:(E?-1:1)*b.number}:E?{register:re,global:!0,factor:-1}:{register:re,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()||!hs(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=Jn(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const ue of y.params)if(ue.isOptional)b.push(this.scanOptionalArgument(ue.type));else{const he=this.scanArgument(ue.type);he||this.onError({code:"missing-argument",arg:a}),b.push(he)}this.beginContext({tabular:y.tabular});const E=[],ee=[];let re=[],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())re.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){re.push(this.mathlist),this.mathlist=[];let ue=null;this.skipWhitespace(),this.match("[")&&(ue=this.scanDimen(),this.skipWhitespace(),this.match("]")),ee.push(ue!=null?ue:{dimension:0}),E.push(re),re=[]}else this.mathlist.push(...this.scan(ue=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(ue)));while(!oe);return re.push(this.mathlist),re.length>0&&E.push(re),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=pr(y,"math"),b&&(E=this.scanArguments(b)[1]),ee=this.mathlist,this.mathlist=[]):this.parseExpression();let re;return y?(console.assert(!!b),E.unshift(this.mathlist),ee&&E.unshift(ee),re=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):re=this.mathlist,this.endContext(),re}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 Is(y,this.parseMode,this.style);return b.verbatimLatex=ou(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 ba("",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(!hs(a)&&!a.startsWith("\\"))return null;this.next();const y=pr(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 hl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new hl("\\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 hl(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 ba(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 tn({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new tn({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(ct(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(re=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(re))):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(hs(a)){const b=vs.createAtom(this.parseMode,a,Ce({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=pr(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new hl(a)];if(b.definitionType==="symbol"){const E=Ce({},this.style);b.variant&&(E.variant=b.variant),y=new tn({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 hl(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 re=ee.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(re)b.padding={dimension:parseInt(re[1]),unit:re[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 ue=this.scanOptionalArgument("string"),he=this.scanOptionalArgument("math"),ge=tn.serialize(he,{defaultMode:"math"});let ye=[],Ie;!Ie&&ge==="correct"?Ie="correct":!Ie&&ge==="incorrect"?Ie="incorrect":ge!==""&&(ye=he);const _e=this.scanOptionalArgument("string")==="locked",qe=this.scanArgument("auto");let ot;return qe&&Array.isArray(qe)&&qe.length>0?ot=qe:qe&&typeof qe=="object"&&"group"in qe?ot=qe.group:ot=ye,ue?[new Zu(ue,Ie,_e,ot!=null?ot:ye,{mode:this.parseMode,style:this.style})]:[new Wr({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const ue=this.index,he=this.scanLiteralGroup()||this.next();if(!he)return null;if(this.context.registers[he.substring(1)]){const ge=this.scanArgument("string");ge!==null&&(this.context.registers[he.substring(1)]=ge);const ye=Ni([a,ou(this.tokens.slice(ue,this.index))]);return[new tn({type:"text",value:"",verbatimLatex:ye})]}}let ee=this.scanMacro(a);if(ee)return[ee];const re=pr(a,this.parseMode);if(!re)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(ue=>new tn({type:"text",value:ue,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new hl(a)]);const oe=this.index;if(re.definitionType==="symbol"){const ue=Ce({},this.style);re.variant&&(ue.variant=re.variant),ee=new tn({type:re.type,command:a,style:ue,value:String.fromCodePoint(re.codepoint),mode:this.parseMode})}else{if(re.ifMode&&!re.ifMode.includes(this.parseMode))return[];const ue=this.parseMode;re.applyMode&&(this.parseMode=re.applyMode);let he,ge=[];if(re.parse?ge=re.parse(this):[he,ge]=this.scanArguments(re),this.parseMode=ue,re.applyMode&&!re.applyStyle&&!re.createAtom)return ct(ge[0]);if(re.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof re.createAtom=="function")ee=re.createAtom({command:a,args:ge,style:this.style,mode:this.parseMode}),he&&(ee.body=ct(this.scanArgument(he)));else if(typeof re.applyStyle=="function"){const ye=Ce(Ce({},this.style),re.applyStyle(a,ge,this.context)),Ie=this.parseMode;if(re.applyMode&&(this.parseMode=re.applyMode),he){const _e=this.style;this.style=ye;const qe=this.scanArgument(he);return this.style=_e,this.parseMode=Ie,ct(qe)}this.style=ye}else ee=new tn({type:"mord",command:(b=re.command)!=null?b:a,style:Ce({},this.style),value:a,mode:(E=re.applyMode)!=null?E:this.parseMode})}if(!ee)return null;if(ee instanceof tn&&ee.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const ue=Ni([a,ou(this.tokens.slice(oe,this.index))]);ue&&(ee.verbatimLatex=ue)}if(ee.verbatimLatex===null&&(ee.verbatimLatex=void 0),ee.isFunction&&this.smartFence){const ue=this.scanSmartFence();if(ue)return[ee,ue]}return[ee]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(hs(a)){const y=vs.createAtom(this.parseMode,a,Ce({},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 Wl(" "," ",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,re={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let oe=1;oe<=ee;oe++){let ue=this.scanLiteralGroup();if(!ue){const he=this.index;this.scanExpression(),ue=ou(this.tokens.slice(he,this.index))}re[oe]=ue}return new wd(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:ou(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Ts(b.def,{context:this.context,parseMode:this.parseMode,args:oe=>re[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 Ts(a,y){var b,E,ee,re;const oe=(b=y==null?void 0:y.args)!=null?b:void 0,ue=new bc(kl(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:(re=y==null?void 0:y.style)!=null?re:{}}),he=[];for(;!ue.end();)he.push(...ue.scan(()=>!1));return he}function t0(a,y){var b;const E=new bc(kl(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 n0=class _p extends tn{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=So.go(Fn.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Ts(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new _p(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return Me(Ce({},super.toJson()),{arg:this.arg})}render(y){const b=tn.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}};qt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new n0(a.command,(y=a.args[0])!=null?y:"")}});var Fn={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,re=10,oe=[];;){ee!==a?(re=10,ee=a):re--;var ue=Fn.stateMachines[y],he=ue.transitions[b]||ue.transitions["*"];e:for(var ge=0;ge<he.length;ge++){var ye=Fn.patterns.match_(he[ge].pattern,a);if(ye){for(var Ie=he[ge].task,_e=0;_e<Ie.action_.length;_e++){var qe;if(ue.actions[Ie.action_[_e].type_])qe=ue.actions[Ie.action_[_e].type_](E,ye.match_,Ie.action_[_e].option);else if(Fn.actions[Ie.action_[_e].type_])qe=Fn.actions[Ie.action_[_e].type_](E,ye.match_,Ie.action_[_e].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Ie.action_[_e].type_+")"];Fn.concatArray(oe,qe)}if(b=Ie.nextState||b,a.length>0){if(Ie.revisit||(a=ye.remainder),!Ie.toContinue)break e}else return oe}}if(re<=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=Fn.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 Fn.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Fn.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Fn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Fn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Fn.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Fn.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Fn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Fn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Fn.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Fn.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Fn.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Fn.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Fn.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 Fn.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Fn.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Fn.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Fn.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 Fn.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Fn.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Fn.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Fn.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Fn.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Fn.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Fn.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Fn.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=Fn.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,re,oe,ue,he,ge){var ye=function(zt,gn){if(typeof gn=="string")return zt.indexOf(gn)!==0?null:gn;var Kn=zt.match(gn);return Kn?Kn[0]:null},Ie=function(zt,gn,Kn){for(var Mn=0;gn<zt.length;){var Cr=zt.charAt(gn),zr=ye(zt.substr(gn),Kn);if(zr!==null&&Mn===0)return{endMatchBegin:gn,endMatchEnd:gn+zr.length};if(Cr==="{")Mn++;else if(Cr==="}"){if(Mn===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Mn--}gn++}return Mn>0,null},_e=ye(a,y);if(_e===null||(a=a.substr(_e.length),_e=ye(a,b),_e===null))return null;var qe=Ie(a,_e.length,E||ee);if(qe===null)return null;var ot=a.substring(0,E?qe.endMatchEnd:qe.endMatchBegin);if(re||oe){var Wt=this.findObserveGroups(a.substr(qe.endMatchEnd),re,oe,ue,he);if(Wt===null)return null;var _n=[ot,Wt.match_];return{match_:ge?_n.join(""):_n,remainder:Wt.remainder}}else return{match_:ot,remainder:a.substr(qe.endMatchEnd)}},match_:function(a,y){var b=Fn.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Fn.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 Fn.go(y,"text")},"{text}":function(a,y){var b=["{"];return Fn.concatArray(b,Fn.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Fn.go(y,"tex-math")},"tex-math tight":function(a,y){return Fn.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 Fn.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 Fn.go(y,"9,9")}},createTransitions:function(a){var y,b,E,ee,re={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,ee=0;ee<E.length;ee++)re[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 ue=0;ue<oe.action_.length;ue++)typeof oe.action_[ue]=="string"&&(oe.action_[ue]={type_:oe.action_[ue]})}else oe.action_=[];for(var he=y.split("|"),ge=0;ge<he.length;ge++)if(E[ee]==="*")for(var ye in re)re[ye].push({pattern:he[ge],task:oe});else re[E[ee]].push({pattern:he[ge],task:oe})}return re},stateMachines:{}};Fn.stateMachines={ce:{transitions:Fn.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 Fn.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 Fn.concatArray(b,this.output(a)),Fn.concatArray(b,Fn.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=Fn.patterns.match_("orbital",a.o||""),ee=Fn.patterns.match_("one lowercase greek letter $",a.o||""),re=Fn.patterns.match_("one lowercase latin letter $",a.o||""),oe=Fn.patterns.match_("$one lowercase latin letter$ $",a.o||""),ue=y==="-"&&(E&&E.remainder===""||ee||re||oe);ue&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&re&&(a.o="$"+a.o+"$");var he=[];return ue?(Fn.concatArray(he,this.output(a)),he.push({type_:"hyphen"})):(E=Fn.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(Fn.concatArray(he,Fn.actions["d="](a,y)),Fn.concatArray(he,this.output(a))):(Fn.concatArray(he,this.output(a)),Fn.concatArray(he,Fn.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:Fn.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"&&Fn.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:Fn.go(a.a,"a"),b:Fn.go(a.b,"bd"),p:Fn.go(a.p,"pq"),o:Fn.go(a.o,"o"),q:Fn.go(a.q,"pq"),d:Fn.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ee;a.rdt==="M"?ee=Fn.go(a.rd,"tex-math"):a.rdt==="T"?ee=[{type_:"text",p1:a.rd||""}]:ee=Fn.go(a.rd);var re;a.rqt==="M"?re=Fn.go(a.rq,"tex-math"):a.rqt==="T"?re=[{type_:"text",p1:a.rq||""}]:re=Fn.go(a.rq),E={type_:"arrow",r:a.r,rd:ee,rq:re}}for(var oe in a)oe!=="parenthesisLevel"&&oe!=="beginsWithBond"&&delete a[oe];return E},"oxidation-output":function(a,y){var b=["{"];return Fn.concatArray(b,Fn.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Fn.go(y[0]),p2:Fn.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Fn.go(y[0]),p2:Fn.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Fn.go(y[0]),p2:Fn.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Fn.go(y[0]),p2:Fn.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Fn.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:Fn.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:Fn.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:Fn.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:Fn.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:Fn.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Fn.go(y[1],"pq")}}}},bd:{transitions:Fn.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:Fn.go(y[1],"bd")}}}},oxidation:{transitions:Fn.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:Fn.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:Fn.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:Fn.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Fn.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]&&(Fn.concatArray(b,Fn.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Fn.concatArray(b,Fn.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]),Fn.concatArray(b,Fn.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=Fn.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=Fn.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:Fn.go(a.d,"pu"),q:Fn.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_:"/"}),Fn.concatArray(y,ee.q))}else y=Fn.go(a.d,"pu-2");for(var re in a)delete a[re];return y}}},"pu-2":{transitions:Fn.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=Fn.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Fn.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:Fn.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 So={go:function(a,y){if(!a)return"";for(var b="",E=!1,ee=0;ee<a.length;ee++){var re=a[ee];typeof re=="string"?b+=re:(b+=So._go2(re),re.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&So.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:So._goInner(a.a),b:So._goInner(a.b),p:So._goInner(a.p),o:So._goInner(a.o),q:So._goInner(a.q),d:So._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 "+So._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+So._goInner(a.p1);break;case"bond":if(y=So._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{"+So._goInner(a.p1)+"}{"+So._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ee+"}{"+ee+"}{"+ee+"}{"+ee+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+So._goInner(a.p1)+"}{"+So._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+So._goInner(a.p1)+"}{"+So._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+So._goInner(a.p1)+"}{"+So._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+So._goInner(a.p1)+"}_{"+So._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+So._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var re={rd:So._goInner(a.rd),rq:So._goInner(a.rq)},oe=So._getArrow(a.r);re.rd||re.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(oe="\\long"+oe,re.rd&&(oe="\\overset{"+re.rd+"}{"+oe+"}"),re.rq&&(a.r==="<-->"?oe="\\underset{\\lower2mu{"+re.rq+"}}{"+oe+"}":oe="\\underset{\\lower6mu{"+re.rq+"}}{"+oe+"}"),oe=" {}\\mathrel{"+oe+"}{} "):(re.rq&&(oe+="[{"+re.rq+"}]"),oe+="{"+re.rd+"}",oe=" {}\\mathrel{\\x"+oe+"}{} "):oe=" {}\\mathrel{\\long"+oe+"}{} ",y=oe;break;case"operator":y=So._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 A1(a){}function M1(a){}var r0=class jp extends tn{constructor(y){super(Me(Ce({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new jp(y)}toJson(){return Me(Ce({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new zn(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=pr(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Qa(this.command,this.value)}},i0=class Hp extends tn{constructor(y){super(Me(Ce({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Hp(y)}toJson(){return Me(Ce({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=It(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=pr(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Qa(this.command,this.value)}},Xd=class Wp extends tn{constructor(y,b,E,ee){var re,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=(re=ee.shadow)!=null?re:"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(Ce({},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=pr(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 re="",oe="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(re+=oe+'mathbackground="'+this.backgroundcolor+'"',oe=","),this.shadow&&this.shadow!=="auto"&&(re+=oe+'shadow="'+this.shadow+'"',oe=","),this.strokeWidth||this.strokeStyle!=="solid"?(re+=oe+this.borderStyle,oe=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(re+=oe+'mathcolor="'+this.strokeColor+'"',oe=","),re&&(ee+=`[${re}]`)}return Qa(ee,this.bodyToLatex(y))}render(y){const b=new Zi({parent:y},this.style),E=tn.createBox(b,this.body);if(!E)return null;const ee=im(this.borderStyle),re=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",re,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const oe=new zn(null,{classes:"ML__notation"});let ue=E.height+E.depth+2*re;const he=E.width+2*re;let ge="";if(this.notation.horizontalstrike&&(ge+=this.line(3,50,97,50)),this.notation.verticalstrike&&(ge+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(ge+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(ge+=this.line(3,3,97,97)),this.notation.updiagonalarrow){ge+=this.line(re.toString(),(re+E.depth+E.height).toString(),(re+E.width).toString(),re.toString());const ot=.03*Math.sqrt(he*he+ue*ue)*1,Wt=E.width*ot,_n=(E.depth+E.height)*ot,zt=re+E.width;let gn=re;gn+_n-.4*Wt<0&&(gn=.4*Wt-_n),ge+='<polygon points="',ge+=`${zt},${gn} ${zt-Wt-.4*_n},${gn+_n-.4*Wt} `,ge+=`${zt-.7*Wt},${gn+.7*_n} ${zt-Wt+.4*_n},${gn+_n+.4*Wt} `,ge+=`${zt},${gn}`,ge+=`" stroke='none' fill="${this.strokeColor}"`,ge+="/>"}let ye=0;if(this.notation.phasorangle){const _e=a0(b),qe=(E.height+E.depth+2*_e+re).toString(),ot=(E.height+E.depth)/2;ge+=this.line(re.toString(),qe,(re+ot+E.width).toString(),qe),ge+=this.line(re.toString(),qe,(re+ot).toString(),(re-_e).toString()),ue+=_e,ye=ot,E.left+=ue/2-re}if(this.notation.longdiv){const _e=a0(b);ue+=_e,ge+=this.line(re.toString(),re.toString(),(re+E.width).toString(),re.toString());const qe=.3;ye=qe+_e,E.left+=qe+_e,E.setTop(re+_e),ge+='<path d="',ge+=`M ${re} ${re} a${qe} ${(E.depth+E.height+2*_e)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*_e} "`,ge+=` stroke-width="${am(b)}" stroke="${this.strokeColor}" fill="none"`,ge+="/>"}if(oe.width=E.width+2*re+ye,oe.height=E.height+re,oe.depth=E.depth+re,oe.setStyle("box-sizing","border-box"),oe.setStyle("left",`calc(-${ee} / 2 )`),oe.setStyle("height",`${Math.floor(100*ue)/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),ge){let _e="";this.shadow==="auto"&&(_e+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(_e+=`filter: drop-shadow(${this.shadow})`),_e+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,_e+=' stroke-linecap="round"',this.svgStrokeStyle&&(_e+=` stroke-dasharray="${this.svgStrokeStyle}"`),oe.svgStyle=_e,oe.svgOverlay=ge}const Ie=new zn([oe,E]);return Ie.setStyle("position","relative"),Ie.setStyle("vertical-align",re,"em"),Ie.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*re))/100}em`),Ie.setStyle("display","inline-block"),Ie.height=oe.height,Ie.depth=oe.depth,Ie.width=oe.width-2*re,Ie.left=re,Ie.right=re,this.caret&&(Ie.caret=this.caret),Ie.wrap(b)}line(y,b,E,ee){return`<line x1="${Mh(y)}" y1="${Mh(b)}" x2="${Mh(E)}" y2="${Mh(ee)}" vector-effect="non-scaling-stroke"></line>`}};function Mh(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function im(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 a0(a){const y=a.isDisplayStyle?Al:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var Cd=class Kp extends tn{constructor(y,b,E){var ee,re;super(Me(Ce({},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=(re=E==null?void 0:E.continuousFraction)!=null?re:!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),Ce(Ce({},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 Zi({parent:y,mathstyle:this.mathstyleName},this.style),re=ee.metrics,oe=new Zi({parent:ee,mathstyle:this.continuousFraction?"":"numerator"},this.style),ue=this.numerPrefix?new zn([new zn(this.numerPrefix),tn.createBox(oe,this.above)],{isTight:oe.isTight,type:"ignore"}):(b=tn.createBox(oe,this.above,{type:"ignore"}))!=null?b:new zn(null,{type:"ignore"}),he=new Zi({parent:ee,mathstyle:this.continuousFraction?"":"denominator"},this.style),ge=this.denomPrefix?new zn([new zn(this.denomPrefix),tn.createBox(he,this.below,{type:"ignore"})]):(E=tn.createBox(he,this.below,{type:"ignore"}))!=null?E:new zn(null,{type:"ignore"}),ye=this.hasBarLine?re.defaultRuleThickness:0;let Ie,_e=0,qe;ee.isDisplayStyle?(Ie=oe.metrics.num1,_e=ye>0?3*ye:7*ye,qe=he.metrics.denom1):(ye>0?(Ie=oe.metrics.num2,_e=ye):(Ie=oe.metrics.num3,_e=3*re.defaultRuleThickness),qe=he.metrics.denom2);const ot=[];this.isSelected&&ot.push("ML__selected");const Wt=ue.depth,_n=ge.height;let zt;if(ye<=0){const Nr=Ie-Wt-(_n-qe);Nr<_e&&(Ie+=(_e-Nr)/2,qe+=(_e-Nr)/2),zt=new Ra({individualShift:[{box:ue,shift:-Ie,classes:[...ot,"ML__center"]},{box:ge,shift:qe,classes:[...ot,"ML__center"]}]}).wrap(ee)}else{const Nr=new zn(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Nr.softWidth=Math.max(ue.width,ge.width),Nr.height=ye/2,Nr.depth=ye/2;const sa=Ta+ye/2;Ie<_e+Wt+sa&&(Ie=_e+Wt+sa);const Wa=Ta-ye/2;qe<_e+_n-Wa&&(qe=_e+_n-Wa),zt=new Ra({individualShift:[{box:ge,shift:qe,classes:[...ot,"ML__center"]},{box:Nr,shift:-Wa,classes:ot},{box:ue,shift:-Ie,classes:[...ot,"ML__center"]}]}).wrap(ee)}const gn=ee.isDisplayStyle?re.delim1:re.delim2,Kn=this.leftDelim?this.bind(y,yr("open",this.leftDelim,gn,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):wr(ee,"open");let Mn=null;this.continuousFraction?Mn=new zn(null,{type:"close"}):this.rightDelim?Mn=this.bind(y,yr("close",this.rightDelim,gn,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Mn=wr(ee,"close");const Cr=new zn([Kn,zt,Mn],{isTight:ee.isTight,type:"inner",classes:"mfrac"}),zr=this.bind(y,Cr);return this.caret&&(zr.caret=this.caret),this.attachSupsub(y,{base:zr})}},Ws=class Zp extends tn{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 Zp(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),Ce({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new zn(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}},qd=class Vp extends tn{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Ws(b)),this.skipBoundary=!1}static fromJson(y){return new Vp("")}toJson(){return super.toJson()}render(y){const b=tn.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:""}},hf=class Gp extends tn{constructor(y,b){super(Me(Ce({},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 zn(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 re=(ee.height-ee.depth)/2-Ta*y.scalingFactor,oe=ee.italic;ee.setTop(re);let ue=ee;if(this.superscript||this.subscript){const he=(b=this.subsupPlacement)!=null?b:"auto";ue=he==="over-under"||he==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ee,baseShift:re,slant:oe}):this.attachSupsub(y,{base:ee})}return new zn(this.bind(y,ue),{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=pr(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)),Ni(E)}},ed=class Up extends tn{constructor(y){const b=y.body;super(Me(Ce({},y),{type:"overlap",body:typeof b=="string"?[new tn({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 Up(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),Ce(Ce({},super.toJson()),y)}render(y){const b=tn.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new zn([b,new zn(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},pu=class Qp extends tn{constructor(y){var b,E,ee,re;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=(re=y.paddedLabels)!=null?re:!1}static fromJson(y){return new Qp(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?bl(this.svgBody):tn.createBox(y,this.body,{type:"ignore"});const E=new Zi({parent:y,mathstyle:"scriptstyle"},this.style);let ee=null;this.svgAbove?ee=bl(this.svgAbove):this.above&&(ee=tn.createBox(E,this.above,{type:"ignore"}));let re=null;this.svgBelow?re=bl(this.svgBelow):this.below&&(re=tn.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new zn([wr(y,"open"),b,wr(y,"close")],{type:"ignore"}));let oe=om(y,{base:b,above:ee,below:re,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 ue=new zn(y.base,{type:y.type});return ue.setStyle("position","relative"),ue}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const ee=y.base,re=0,oe=["ML__center"];if(y.paddedAboveBelow&&oe.push("ML__label_padding"),y.below&&y.above){const ue=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ee.depth+re;E=new Ra({bottom:ue,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 Ra({top:ee.height-re,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:oe},{box:ee,classes:["ML__center"]}]}):y.above&&(E=new Ra({bottom:ee.depth+re,children:[{box:ee,classes:["ML__center"]},b,{box:y.above,classes:oe},a.metrics.bigOpSpacing5]}));return new zn(E,{type:y.type})}var $d=class Yp extends tn{constructor(y){var b,E,ee,re;super(Me(Ce({},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=(re=y.smashWidth)!=null?re:!1}static fromJson(y){return new Yp(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),Ce(Ce({},super.toJson()),y)}render(y){const b=new Zi({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),tn.createBox(b,this.body,{classes:"inner"});const E=tn.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const ee=new zn(null,{classes:"fix"});return new zn([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 Ra({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},eh=class Jp extends tn{constructor(y){var b;super(Ce({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 zn(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new zn(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 zn(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=pr(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}{${Oo(this.width)}}`:`${ee}${Oo(this.width)}`}},o0=class Xp extends tn{constructor(y){var b;super(Me(Ce({},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 Xp(Me(Ce({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=pr(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")?Qa(`${E}[${this.aboveToLatex(y)}]`,ee):/^[0-9]$/.test(ee)?`${E}${ee}`:Qa(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 Zi({parent:y,mathstyle:"cramp"},this.style),ee=(b=tn.createBox(E,this.body,{type:"inner"}))!=null?b:new zn(null),re=E.scalingFactor,oe=E.metrics.defaultRuleThickness/re,ue=y.isDisplayStyle?Al:oe,he=new zn(null,{classes:"ML__sqrt-line",style:this.style});he.height=oe,he.softWidth=ee.width;let ge=re*(oe+ue/4);const Ie=Math.max(re*2*ue,ee.height+ee.depth)+ge+oe,_e=new Zi({parent:y},this.style),qe=this.bind(_e,new zn(yr("inner","\\surd",Ie,!1,_e,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!qe)return null;const ot=qe.height+qe.depth-oe;ot>ee.height+ee.depth+ge&&(ge=(ge+ot-(ee.height+ee.depth))/2),qe.setTop(qe.height-ee.height-ge);const Wt=this.bind(y,new Ra({firstBaseline:[{box:new zn(ee)},ge-2*oe,{box:he},oe]})),_n=tn.createBox(new Zi({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!_n){const Kn=new zn([qe,Wt],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return Kn.setStyle("display","inline-block"),Kn.setStyle("height",Kn.height+Kn.depth,"em"),this.caret&&(Kn.caret=this.caret),this.bind(y,Kn)}const zt=new Ra({shift:-.6*(Math.max(qe.height,Wt.height)-Math.max(qe.depth,Wt.depth)),children:[{box:_n}]}),gn=new zn([new zn(zt,{classes:"ML__sqrt-index",type:"ignore"}),qe,Wt],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return gn.height=qe.height,gn.depth=qe.depth,this.caret&&(gn.caret=this.caret),this.bind(y,gn)}},sm=class extends zn{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 kh(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"){kh(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){nh(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 th(a,y){if(!a.children)return a;const b=a.children;cm(b);const E=y.getRegisterAsEm("thinmuskip"),ee=y.getRegisterAsEm("medmuskip"),re=y.getRegisterAsEm("thickmuskip");return nh(b,(oe,ue)=>{var he,ge,ye;if(!oe)return;const Ie=oe.type,_e=ue.isTight?(he=um[Ie])!=null?he:null:(ge=lm[Ie])!=null?ge:null,qe=(ye=_e==null?void 0:_e[ue.type])!=null?ye:null;qe===3&&kh(ue,E),qe===4&&kh(ue,ee),qe===5&&kh(ue,re)}),a}function nh(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=nh(E.children,y,b):E.type==="ignore"?nh(E.children,y):(y(b,E),nh(E.children,y),b=E);return b}var ff=class qp extends tn{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new tn({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new qp(Me(Ce({},y),{tooltip:Pc(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(Ce({},super.toJson()),{tooltip:b})}render(y){const b=tn.createBox(new Zi,this.body);if(!b)return null;const E=new Zi({parent:y,mathstyle:"displaystyle"},{fontSize:yl}),ee=_u(th(new zn(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),re=new zn([ee,b],{classes:"ML__tooltip-container"});return this.caret&&(re.caret=this.caret),this.bind(y,re)}},td=class $p extends tn{constructor(y,b){super(Me(Ce({},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 zn(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 re=(b=this.subsupPlacement)!=null?b:"auto";ee=re==="over-under"||re==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new zn(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=pr(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)),Ni(E)}};function Pc(a){if(Te(a))return a.map(E=>Pc(E));if(typeof a=="string")return tn.fromJson(a);a=Ce({},a);for(const E of cu)a[E]&&(a[E]=Pc(a[E]));a.args&&(a.args=dm(a.args)),a.array&&(a.array=Pc(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=mi.fromJson(a)),y==="box"&&(b=Jo.fromJson(a)),y==="chem"&&(b=n0.fromJson(a)),y==="composition"&&(b=yc.fromJson(a)),y==="delim"&&(b=r0.fromJson(a)),y==="enclose"&&(b=Xd.fromJson(a)),y==="error"&&(b=hl.fromJson(a)),y==="extensible-symbol"&&(b=hf.fromJson(a)),y==="genfrac"&&(b=Cd.fromJson(a)),y==="group"&&(b=Is.fromJson(a)),y==="latex"&&(b=Ws.fromJson(a)),y==="latexgroup"&&(b=qd.fromJson(a)),y==="leftright"&&(b=ba.fromJson(a)),y==="macro"&&(b=wd.fromJson(a)),y==="macro-argument"&&(b=Du.fromJson(a)),y==="operator"&&(b=td.fromJson(a)),y==="overlap"&&(b=ed.fromJson(a)),y==="overunder"&&(b=pu.fromJson(a)),y==="placeholder"&&(b=Wr.fromJson(a)),y==="prompt"&&(b=Zu.fromJson(a)),y==="phantom"&&(b=$d.fromJson(a)),y==="sizeddelim"&&(b=i0.fromJson(a)),y==="spacing"&&(b=eh.fromJson(a)),y==="subsup"&&(b=fu.fromJson(a)),y==="surd"&&(b=o0.fromJson(a)),y==="text"&&(b=Wl.fromJson(a)),y==="tooltip"&&(b=ff.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=tn.fromJson(a));for(const E of cu)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=>Pc(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>Pc(b)):y)}var s0={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"]},pf={"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]$/},l0=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,hm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,fm=[/^[a-z]$/,/^[A-Z]$/,l0,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 vs{constructor(){super("math")}createAtom(a,y,b){var E,ee,re,oe;if(y===null)return new tn({type:"mord",mode:"math",command:a,value:a,style:b});const ue=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const ge=new tn({type:(ee=y.type)!=null?ee:"mord",mode:"math",command:(re=y.command)!=null?re:a,value:String.fromCodePoint(y.codepoint),style:b});return ue&&(ge.isFunction=!0),a.startsWith("\\")&&(ge.verbatimLatex=a),ge}const he=new tn({type:"mord",mode:"math",command:(oe=y.command)!=null?oe:a,value:a,style:b});return ue&&(he.isFunction=!0),a.startsWith("\\")&&(he.verbatimLatex=a),he}serialize(a,y){const b=gm(a,Me(Ce({},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((ue,he)=>{var ge;ue.test(a.value)&&pm[(ge=y.letterShapeStyle)!=null?ge:"tex"][he]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const ee=E?b+"-"+E:b;console.assert(s0[ee]!==void 0);const[re,oe]=s0[ee];return pf[b]&&!pf[b].test(a.value)?(a.value=bn(a.value,b,E),null):(l0.test(a.value)&&(a.classes+=" lcGreek"),oe&&(a.classes+=" "+oe),re)}};function gm(a,y){const{parent:b}=a[0],E=u0(b);return Do(a,"variant").map(ee=>{const re=u0(ee[0]);let oe="";re&&re!==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"}[re],console.assert(oe!==void 0));const ue=Ni(ee.map(he=>he._serialize(y)));return oe?Qa(oe,ue):ue})}function u0(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 Do(a,"fontShape").map(b=>{const E=vm(b,y),{fontShape:ee}=b[0].style;let re="";return ee==="it"&&(re="\\textit"),ee==="sl"&&(re="\\textsl"),ee==="sc"&&(re="\\textsc"),ee==="n"&&(re="\\textup"),!re&&ee?`{${Qa("\\fontshape",ee)}${Ni(E)}}`:re?Qa(re,Ni(E)):Ni(E)})}function bm(a,y){return Do(a,"fontSeries").map(b=>{const E=ym(b,y),{fontSeries:ee}=b[0].style;let re="";return ee==="b"&&(re="\\textbf"),ee==="l"&&(re="\\textlf"),ee==="m"&&(re="\\textmd"),ee&&!re?`{${Qa("\\fontseries",ee)}${Ni(E)}}`:re?Qa(re,Ni(E)):Ni(E)})}function xm(a,y){return Do(a,"fontSize").map(b=>{var E,ee;const re=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} ${Ni(re)}`:Ni(re)})}function wm(a,y,b){return Do(a,"fontFamily").map(E=>{var ee,re;const oe=xm(E,y),ue=(re={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ee=E[0].style.fontFamily)!=null?ee:""])!=null?re:"";return ue?`\\${ue}{${Ni(oe)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${Ni(oe)}}`:b?`\\text{${Ni(oe)}}`:Ni(oe)})}var c0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Cm=class extends vs{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new Wl(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return wm(a,Me(Ce({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,ee,re,oe;const{fontFamily:ue}=y;if(c0[ue]?a.classes+=" "+c0[ue]:ue&&a.setStyle("font-family",ue),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"}[(re=he[2])!=null?re:""])!=null?oe:"")}return"Main-Regular"}};new Cm;var Sm=class extends vs{constructor(){super("latex")}createAtom(a){return new Ws(a)}serialize(a,y){return a.filter(b=>b instanceof Ws&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Sm;var Em={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:["","=","","="]}},mf={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:["","=","","="]}},d0={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:["\\","|","",""]}},h0={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:[")",")",")",")"]}},Am={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:["=","=","=","="]}},Mm={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:["=","=","=","="]}},Bm={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:["<",">","|",""]}},Lm={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:[".",".",".","."]}},Im={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"]}},Tm={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:["<",">","",""]}},Fm={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 f0(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 Sd(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 Nm={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]"},rh=[],ih;function gf(){switch(He()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Gl(a){(!a.platform||a.platform===gf())&&rh.push(a)}function Pm(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,re]of Object.entries(y.mapping)){if(re[0]===a)return E.key=`[${ee}]`,E;if(re[1]===a)return E.shift=!0,E.key=`[${ee}]`,E;if(re[2]===a)return E.alt=!0,E.key=`[${ee}]`,E;if(re[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${ee}]`,E}return E.key=(b=Nm[a])!=null?b:"",E}function Om(a){if(a.code)return a;const y=Object.entries(ah().mapping);let b=!1,E=!1,ee="";for(let re=0;re<4;re++){for(const[oe,ue]of y)if(ue[re]===a.key){ee=oe,re===3?(b=!0,E=!0):re===2?b=!0:re===1&&(E=!0);break}if(ee)break}return new KeyboardEvent(a.type,Me(Ce({},a),{altKey:b,shiftKey:E,code:ee}))}function Rm(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 rh)((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);rh.sort((ee,re)=>re.score-ee.score)}function zm(a){ih=rh.find(y=>a.startsWith(y.locale))}function ah(){return ih!=null?ih:rh[0]}function _m(){switch(gf()){case"apple":return mf;case"windows":return d0;case"linux":return h0}return mf}switch(gf()){case"apple":Gl(mf),Gl(Am),Gl(Im),Gl(Dm);break;case"windows":Gl(d0),Gl(Mm),Gl(Tm),Gl(Bm);break;case"linux":Gl(h0),Gl(km),Gl(Fm),Gl(Lm);break}Gl(Em);function vf(a){var y;const b=/macos|ios/.test(He()),E=a.split("+");let ee="";for(const re of E)ee&&(ee+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),re.startsWith("[Key")?ee+=re.slice(4,5):re.startsWith("Key")?ee+=re.slice(3,4):re.startsWith("[Digit")?ee+=re.slice(6,7):re.startsWith("Digit")?ee+=re.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:"* 🔢",numpaddivide:"/ 🔢",numpadsubtract:"- 🔢",numpadadd:"+ 🔢",numpaddecimal:". 🔢",numpadcomma:", 🔢",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[re.toLowerCase()])!=null?y:re.toUpperCase();return ee}function Dh(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 nd(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 jm(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 Bh(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Hm.has(a.code)}function Lh(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Vu=class Sc{static get scrim(){return Sc._scrim||(Sc._scrim=new Sc),Sc._scrim}static open(y){Sc.scrim.open(y)}static close(){Sc.scrim.close()}static get state(){return Sc.scrim.state}static get element(){return Sc.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=Lh();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 re=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${re+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:re}=this;re.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),re.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Lh()!==this.savedActiveElement&&((ee=(E=this.savedActiveElement)==null?void 0:E.focus)==null||ee.call(E)),re.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,re=!1,oe=!1,ue=!1;const he=new AbortController,ge=he.signal;return a.addEventListener("keydown",ye=>{if(re||ye.key==="Process"||ye.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(ye.code)){E=null;return}E=ye,ee=null,b.onKeystroke(ye)?a.textContent="":E=null},{capture:!0,signal:ge}),a.addEventListener("keypress",ye=>{re||(E&&ee&&b.onKeystroke(E),ee=ye)},{capture:!0,signal:ge}),a.addEventListener("compositionstart",ye=>{a.textContent="",re=!0,b.onCompositionStart(ye.data)},{capture:!0,signal:ge}),a.addEventListener("compositionupdate",ye=>{re&&b.onCompositionUpdate(ye.data)},{capture:!0,signal:ge}),a.addEventListener("compositionend",ye=>{a.textContent="",re&&(re=!1,b.onCompositionEnd(ye.data))},{capture:!0,signal:ge}),a.addEventListener("beforeinput",ye=>ye.stopImmediatePropagation(),{signal:ge}),a.addEventListener("input",ye=>{var Ie;if(!re&&(a.textContent="",ye.inputType!=="insertCompositionText")){if(ye.inputType==="insertFromPaste"){ye.preventDefault(),ye.stopPropagation();return}b.onInput((Ie=ye.data)!=null?Ie:""),ye.preventDefault(),ye.stopPropagation()}},{signal:ge}),a.addEventListener("paste",ye=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(ye)||ye.preventDefault(),ye.stopImmediatePropagation()},{signal:ge}),a.addEventListener("cut",ye=>b.onCut(ye),{capture:!0,signal:ge}),a.addEventListener("copy",ye=>b.onCopy(ye),{capture:!0,signal:ge}),a.addEventListener("blur",ye=>{var Ie,_e;if(((_e=(Ie=ye.relatedTarget)==null?void 0:Ie._mathfield)==null?void 0:_e.element)===y){a.focus({preventScroll:!0}),ye.preventDefault(),ye.stopPropagation();return}const qe=Vu.state;if(qe==="open"||qe==="opening"){ye.preventDefault(),ye.stopPropagation();return}if(ye.relatedTarget===ye.target.getRootNode().host){ye.preventDefault(),ye.stopPropagation();return}ue||oe||(ue=!0,E=null,ee=null,b.onBlur(),ue=!1)},{capture:!0,signal:ge}),a.addEventListener("focus",ye=>{ue||oe||(oe=!0,b.onFocus(),oe=!1)},{capture:!0,signal:ge}),{dispose:()=>he.abort(),cancelComposition:()=>{re&&(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:()=>Lh()===a,setAriaLabel:ye=>a.setAttribute("aria-label",ye),setValue:ye=>{var Ie;a.textContent=ye,a.style.left="-1000px",(Ie=window.getSelection())==null||Ie.selectAllChildren(a)},moveTo:(ye,Ie)=>{a.style.top=`${Ie}px`,a.style.left=`${ye}px`}}}function Ed(a){var y;if(!a||!Bh(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 p0(a){a=Om(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(Je()){const y=He(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Zm(a,y,b){if(a.length===0)return"";const E=Sd(f0(p0(b))),ee=Sd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(He()),cmd:!1,win:!1});for(let re=a.length-1;re>=0;re--)if((a[re].key===E||a[re].key===ee)&&(!a[re].ifMode||a[re].ifMode===y))return a[re].command;return""}function m0(a){let y=a;return Te(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function Vm(a,y){let b=[];if(typeof y=="string"){const re=Vd[y];Te(re)?b=re.slice():re&&b.push(re)}const E=m0(y),ee=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const re of a)ee.test(m0(re.command))&&b.push(re.key);return b.map(vf)}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=f0(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=He()==="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(Ce({},a),{key:Sd(b)});const ee=Pm(b.key,y);if(!ee)return Me(Ce({},a),{key:Sd(b)});if(ee.shift&&b.shift||ee.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${yf(a.command)}) is conflicting with the key combination ${Sd(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(Ce({},a),{key:Sd(ee)})}function yf(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function Um(a,y){const b=[],E=[];for(const ee of a)try{const re=Gm(ee,y);if(!re)continue;const oe=E.find(ue=>ue.key===re.key&&ue.ifMode===re.ifMode);if(oe)throw new Error(`Ambiguous key binding ${ee.key} (${yf(ee.command)}) matches ${oe.key} (${yf(oe.command)}) with the ${y.displayName} keyboard layout`);E.push(re)}catch(re){re instanceof Error&&b.push(re.message)}return[E,b]}var Qm=class extends di{constructor(){super("latex")}createAtom(a){return new Ws(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"}),_o(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(ys(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 re=[];for(const he of y)le.test(he)&&re.push(new Ws(he));let oe=a.at(a.position);if(oe instanceof qd&&(oe=oe.lastChild),!(oe.parent instanceof qd)){const he=new qd("");oe.parent.addChildAfter(he,oe),oe=he.firstChild}const ue=oe.parent.addChildrenAfter(re,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ue)):ue&&(a.position=a.offsetOf(ue))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function Ym(a){return a.atoms.find(y=>y.type==="latexgroup")}function oh(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 g0(a,y){var b;let E=0,ee=!1;const re=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=re&&!ee;){const he=a.at(E);ee=he instanceof Ws&&he.isSuggestion,ee||E++}if(!ee)return[void 0,void 0];let oe=E,ue=!1;for(;oe<=re&&!ue;){const he=a.at(oe);ue=!(he instanceof Ws&&he.isSuggestion),ue||oe++}return[E-1,oe-1]}new Qm;function Ih(a){const y=oh(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 sh(a,y){var b;const{model:E}=a;Ih(a);for(const ye of oh(E))ye.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Md(a);return}const ee=[];let re=E.at(E.position);for(;re&&re instanceof Ws&&/^[a-zA-Z\*]$/.test(re.value);)re=re.leftSibling;if(re&&re instanceof Ws&&re.value==="\\")for(ee.push(re),re=re.rightSibling;re&&re instanceof Ws&&/^[a-zA-Z\*]$/.test(re.value);)ee.push(re),re=re.rightSibling;const oe=ee.map(ye=>ye.value).join(""),ue=xr(a,oe);if(ue.length===0){if(/^\\[a-zA-Z\*]+$/.test(oe))for(const ye of ee)ye.isError=!0;Md(a);return}const he=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=he<0?ue.length-1:he%ue.length;const ge=ue[a.suggestionIndex];if(ge!==oe){const ye=ee[ee.length-1];ye.parent.addChildrenAfter([...ge.slice(oe.length-ge.length)].map(Ie=>new Ws(Ie,{isSuggestion:!0})),ye),rd(a,{interactive:!0})}Xm(a,ue)}function v0(a){const[y,b]=g0(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 Ad(a,y="accept",b){var E,ee;Md(a);const re=Ym(a.model);if(!re)return!1;if(y==="accept-suggestion"||y==="accept-all"){const ge=oh(a.model).filter(ye=>ye.isSuggestion);if(ge.length!==0){for(const ye of ge)ye.isSuggestion=!1;a.model.position=a.model.offsetOf(ge[ge.length-1])}if(y==="accept-suggestion")return ge.length!==0}const ue=oh(a.model).filter(ge=>!ge.isSuggestion).map(ge=>ge.value).join(""),he=re.leftSibling;return re.parent.removeChild(re),a.model.position=a.model.offsetOf(he),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(di.insert(a.model,ue,{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 Th(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 bf(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 Zi({from:a.context}),E=new tn({mode:"math",type:"root",body:Ts(y,{context:b})}),ee=_u(th(new zn(E.render(b),{classes:"ML__base"}),b));return kc(ee,{classes:"ML__latex"}).toMarkup()}function Xm(a,y){var b;if(y.length===0){Md(a);return}let E="";for(const[re,oe]of y.entries()){const ue=oe,he=Jm(a,oe),ge=Vm(a.keybindings,ue).join("<br>");E+=`<li role="button" data-command="${ue}" ${re===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${ue}</span><span class="ML__popover__command">${he}</span>`,ge&&(E+=`<span class="ML__popover__keybinding">${ge}</span>`),E+="</li>"}const ee=qm(a,`<ul>${E}</ul>`);xf()&&((b=ee.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var re;ee&&!xf()&&(ee.classList.add("is-visible"),Fh(a),(re=ee.querySelector(".ML__popover__current"))==null||re.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function xf(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function Fh(a,y){var b;if(!a.element||a.element.mathfield!==a||!xf())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Md(a);return}if(y!=null&&y.deferred){setTimeout(()=>Fh(a),32);return}const E=Ku(a.field);if(!E)return;const ee=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,re=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,oe=window.innerWidth-document.documentElement.clientWidth,ue=window.innerHeight-document.documentElement.clientHeight,he=window.mathVirtualKeyboard.boundingRect.height,ge=document.getElementById("mathlive-suggestion-popover");E.x+ge.offsetWidth/2>re-oe?ge.style.left=`${re-ge.offsetWidth-oe}px`:E.x-ge.offsetWidth/2<0?ge.style.left="0":ge.style.left=`${E.x-ge.offsetWidth/2}px`;const ye=E.y-E.height;ee-ue-he-E.y<ye?(ge.classList.add("ML__popover--reverse-direction"),ge.classList.remove("top-tip"),ge.classList.add("bottom-tip"),ge.style.top=`${E.y-E.height-ge.offsetHeight-15}px`):(ge.classList.remove("ML__popover--reverse-direction"),ge.classList.add("top-tip"),ge.classList.remove("bottom-tip"),ge.style.top=`${E.y+15}px`)}function Md(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function qm(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Th("mathlive-suggestion-popover"),Tl("suggestion-popover"),Tl("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let ee=E.target;for(;ee&&!ee.dataset.command;)ee=ee.parentElement;ee&&(Ad(a,"reject"),di.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")&&(bf("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 Nh=null,y0,b0,wf=((b0=(y0=globalThis==null?void 0:globalThis.document)==null?void 0:y0.currentScript)==null?void 0:b0.src)||eg();function x0(a){return jc(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Nh===null)try{const y=yield fetch(wf,{method:"HEAD"});y.status===200&&(Nh=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${wf}")`)}return new URL(a,Nh!=null?Nh:wf).href})}function tg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Ul="not-loaded";function ng(){return jc(this,null,function*(){return Ul="not-loaded",Ph()})}function Ph(){return jc(this,null,function*(){var a;if(Ul!=="not-loaded")return;if(Ul="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Ul="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))){Ul="ready";return}if(!window.MathfieldElement.fontsDirectory){Ul="not-loaded";return}const ee=yield x0(window.MathfieldElement.fontsDirectory);if(!ee){document.body.classList.add("ML__fonts-did-not-load"),Ul="error";return}const re=[["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(re.map(ue=>{try{return ue.load()}catch(he){}}))).forEach(ue=>document.fonts.add(ue)),Ul="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")}Ul="error"}})}function rg(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 _o(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Zl(a)&&a.dirty&&(a.atomBoundsCache=new Map,rd(a,y),a.atomBoundsCache=void 0)})))}function ig(a,y){var b;y=y!=null?y:{};const E=new Zi({from:Me(Ce({},a.context),{atomIdsSettings:{seed:y.forHighlighting?rg(tn.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 kc(th(ee,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function w0(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 re=ee.parent;for(;re;)re.containsCaret=!0,re=re.parent}else{const ee=b.getAtoms(b.selection,{includeChildren:!0});for(const re of ee)re.isSelected=!0}return ig(a,y).toMarkup()}function rd(a,y){if(!Zl(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(),re=E.classList.contains("ML__focused");re&&!ee?E.classList.remove("ML__focused"):!re&&ee&&E.classList.add("ML__focused");let oe=w0(a,y);const ue=a.element.querySelector("[part=menu-toggle]");if(ue&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?ue.style.display="none":ue.style.display=""),a.model.atoms.length<=1){const he=a.options.contentPlaceholder;he&&(oe+=`<span part=placeholder class="ML__content-placeholder">${Fs(he)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(oe),Oh(a,y.interactive),a.dirty=!1}function Oh(a,y){const b=a.field;if(!b)return;for(const ue of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))ue.remove();!(y!=null&&y)&&Ul!=="error"&&Ul!=="ready"&&setTimeout(()=>{Ul==="ready"?Oh(a):setTimeout(()=>Oh(a),128)},32);const E=a.model,ee=b.offsetWidth,re=b.getBoundingClientRect().width;let oe=Math.floor(re)/ee;if(oe=isNaN(oe)?1:oe,E.selectionIsCollapsed){Fh(a,{deferred:!0});let ue=E.at(E.position);for(;ue&&ue.type!=="prompt"&&!(ue.containsCaret&&ue.displayContainsHighlight);)ue=ue.parent;if(ue!=null&&ue.containsCaret&&ue.displayContainsHighlight){const he=Ud(a,Tc(a,ue),oe);if(he){he.left/=oe,he.right/=oe,he.top/=oe,he.bottom/=oe;const ge=document.createElement("div");ge.classList.add("ML__contains-highlight"),ge.style.position="absolute",ge.style.left=`${he.left+1}px`,ge.style.top=`${Math.ceil(he.top)}px`,ge.style.width=`${Math.ceil(he.right-he.left)}px`,ge.style.height=`${Math.ceil(he.bottom-he.top)}px`,b.insertBefore(ge,b.childNodes[0])}}return}for(const ue of ag(Yd(a,{excludeAtomsWithBackground:!0}))){ue.left/=oe,ue.right/=oe,ue.top/=oe,ue.bottom/=oe;const he=document.createElement("div");he.classList.add("ML__selection"),he.style.position="absolute",he.style.left=`${ue.left}px`,he.style.top=`${ue.top}px`,he.style.width=`${Math.ceil(ue.right-ue.left)}px`,he.style.height=`${Math.ceil(ue.bottom-ue.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 C0=3,Gu;function Fl(a,y){y=Ce({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Gu||(Gu={});for(const b of Object.keys(a))console.assert(!Gu[b],"Selector already defined: ",b),Gu[b]=Me(Ce({},y),{fn:a[b]})}function Cf(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Cf(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Gu[y]}function kd(a){var y;return(y=Cf(a))==null?void 0:y.target}function og(a,y){var b;if(!y)return!1;let E,ee=[],re=!1,oe=!1;Te(y)?(E=y[0],ee=y.slice(1)):E=y,E=E.replace(/-\w/g,ge=>ge[1].toUpperCase());const ue=Gu[E],he=ue==null?void 0:ue.target;if(he==="model"){if(!a.isSelectionEditable&&(ue!=null&&ue.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Ih(a),Gu[E].fn(a.model,...ee),sh(a),oe=!0,re=!0}else if(he==="virtual-keyboard")oe=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,re=!0;else if(Gu[E]){if(!a.isSelectionEditable&&(ue!=null&&ue.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),oe=Gu[E].fn(a,...ee),re=!0}else throw new Error(`Unknown command "${E}"`);return he!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||ue!=null&&ue.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),ue!=null&&ue.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),oe&&_o(a),re}function sg(a,y){var b;if(!a)return!1;a.focus(),vp.keypressVibration&&je()&&navigator.vibrate(C0);const E=Cf(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const ee=a.executeCommand(y);return a.scrollIntoView(),ee}Fl({performWithFeedback:(a,y)=>sg(a,y)});function lg(a){return sh(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return sh(a,{atIndex:a.suggestionIndex-1}),!1}Fl({complete:Ad},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Fl({nextSuggestion:lg,previousSuggestion:ug},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var Rh="mathlive#virtual-keyboard-message";function Sf(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===Rh}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(Sf(y)){if(!Jd(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;kd(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(Ce({type:Rh,action:y},b),this.targetOrigin)}},S0={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:"αβγ",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>φ</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>ς</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>ϵ</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>ρ</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>τ</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>υ</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>θ</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>ι</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>ο</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>π</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>α</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>σ</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>δ</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>γ</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>η</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>ξ</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>κ</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>λ</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>ζ</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>χ</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>ψ</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>ω</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>β</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>ν</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>μ</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>ε</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>ϑ</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>ϰ</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>ϖ</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>ϱ</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"∞\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]"]]}},zh={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"}]},lh;function E0(a,y){var b,E,ee;const re=Oc.singleton;if(!re)return;const oe=Dd(a),ue=(E=(b=re.getKeycap(oe==null?void 0:oe.id))==null?void 0:b.variants)!=null?E:"";if(typeof ue=="string"&&!A0(ue)||Array.isArray(ue)&&ue.length===0){y==null||y();return}const he={};let ge="";for(const Wt of hg(ue)){const _n=k0(Wt),zt=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);he[zt]=_n;const[gn,Kn]=_h(_n);ge+=`<div id=${zt} class="item ${Kn}">${gn}</div>`}const ye=document.createElement("div");ye.setAttribute("aria-hidden","true"),ye.className="MLK__variant-panel",ye.style.height="auto";const Ie=Object.keys(he).length;let _e=5;Ie===1?_e=1:Ie===2||Ie===4?_e=2:Ie===3||Ie===5||Ie===6?_e=3:Ie>=7&&Ie<14&&(_e=4),ye.style.width=`calc(var(--variant-keycap-length) * ${_e} + 12px)`,ye.innerHTML=vp.createHTML(ge),Vu.open({root:(ee=re==null?void 0:re.container)==null?void 0:ee.querySelector(".ML__keyboard"),child:ye}),lh=new AbortController;const{signal:qe}=lh,ot=a==null?void 0:a.getBoundingClientRect();if(ot){ot.top-ye.clientHeight<0&&(ye.style.width="auto",Ie<=6?ye.style.height="56px":Ie<=12?ye.style.height="108px":Ie<=18?ye.style.height="205px":ye.classList.add("compact"));const Wt=Math.max(0,Math.min(window.innerWidth-ye.offsetWidth,(ot.left+ot.right-ye.offsetWidth)/2)),_n=ot.top-ye.clientHeight+5;ye.style.transform=`translate(${Wt}px, ${_n}px)`,ye.classList.add("is-visible"),requestAnimationFrame(()=>{ye.addEventListener("pointerup",zt=>{const gn=Dd(zt.target);!(gn!=null&&gn.id)||!he[gn.id]||(Ef(he[gn.id]),uh(),y==null||y(),zt.preventDefault())},{capture:!0,passive:!1,signal:qe}),ye.addEventListener("pointerenter",zt=>{const gn=Dd(zt.target);!(gn!=null&&gn.id)||!he[gn.id]||gn.classList.add("is-active")},{capture:!0,signal:qe}),ye.addEventListener("pointerleave",zt=>{const gn=Dd(zt.target);!(gn!=null&&gn.id)||!he[gn.id]||gn.classList.remove("is-active")},{capture:!0,signal:qe}),window.addEventListener("pointercancel",()=>{uh(),y==null||y()},{signal:qe}),window.addEventListener("pointerup",()=>{uh(),y==null||y()},{signal:qe})})}}function uh(){lh==null||lh.abort(),lh=null,Vu.state==="open"&&Vu.close()}function dg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(Ft))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+Ft[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(Ct))y.push({class:"swatch-button",label:'<span style="background:'+Ct[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function A0(a){return zh[a]!==void 0}function hg(a){var y;return typeof a!="string"?a:(zh[a]||(zh[a]=(y=dg(a))!=null?y:[]),zh[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 ch(a){if(!a)return"";const y=new Zi,b=new tn({mode:"math",type:"root",body:Ts(a,{context:y,args:ee=>ee==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=_u(th(new zn(b.render(y),{classes:"ML__base"}),y));return kc(E,{classes:"ML__latex"}).toMarkup()}function dh(a){var y;if(Array.isArray(a))return a.map(E=>dh(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=>k0(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 ue=ah();ue&&(E=ue.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[$e.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~"]},re=(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 ue of re){const he=[];for(const ge of ue)/[a-z]/.test(ge)?he.push({label:ge,class:"hide-shift",shift:{label:ge.toUpperCase()},variants:A0(ge)?ge:void 0}):ge==="~"?E!=="dvorak"?he.push("[backspace]"):he.push({label:"[backspace]",width:1}):ge==="^"?he.push("[shift]"):ge===" "&&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:dh({rows:oe})}}function M0(a){if(a==="alphabetic")return mg();if(typeof a=="string")return console.assert(S0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),M0(S0[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:re}=ee,oe=lt(ee,["rows"]);y=Me(Ce({},oe),{layers:dh({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ee=a,{markup:re}=ee,oe=lt(ee,["markup"]);y=Me(Ce({},oe),{layers:dh(a.markup)})}else y=Ce({},a),"layers"in a?y.layers=dh(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 re of ee.rows.flat()){Bd(re)&&(b=!0);const oe=re.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[re,oe]of a.normalizedLayouts.entries()){const ue=oe,he=[re===y?"selected":"layer-switch"];ue.tooltip&&he.push("MLK__tooltip"),ue.labelClass&&he.push(...ue.labelClass.split(" ")),ee+=`<div class="${he.join(" ")}"`,ue.tooltip&&(ee+=" data-tooltip='"+((b=dt(ue.tooltip))!=null?b:ue.tooltip)+"' "),re!==y&&(ee+=`data-layer="${ue.layers[0].id}"`),ee+=`>${(E=ue.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 re={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${dt("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${dt("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${dt("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${dt("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${dt("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=ee.map(oe=>re[oe]).join(""),b}function yg(a){for(const y of a)bg(y)}function bg(a){const y=Oc.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]=_h(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function xg(){Tl("virtual-keyboard"),Tl("core"),Ph()}function wg(){x("core"),x("virtual-keyboard")}var Cg=`<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 Sg(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(Cg+a.normalizedLayouts.map((oe,ue)=>Eg(a,oe,ue)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Mg,{passive:!1});const ee=y.querySelectorAll(".ML__edit-toolbar");if(ee)for(const oe of ee)oe.addEventListener("click",ue=>{var he,ge;let ye=ue.target,Ie="";for(;ye&&!Ie;)Ie=(he=ye==null?void 0:ye.getAttribute("data-command"))!=null?he:"",ye=(ge=ye==null?void 0:ye.parentElement)!=null?ge:null;Ie&&a.executeCommand(JSON.parse(Ie))});yg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const re=y.querySelectorAll(".MLK__layer");console.assert(re.length>0,"No virtual keyboards available");for(const oe of re)oe.addEventListener("pointerdown",ue=>ue.preventDefault());return a.currentLayer=a.latentLayer,y}function Eg(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(Ag(a,ee)),E.push("</div>");return E.join("")}function Ag(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 re=a.registerKeycap(ee),[oe,ue]=_h(ee);/(^|\s)separator/.test(ue)?b+=`<div class="${ue}"`:b+=`<div tabindex="-1" id="${re}" class="${ue}"`,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 _h(a,y={shifted:!1}){var b,E,ee,re,oe,ue,he;let ge="",ye=(b=a.class)!=null?b:"";if(y.shifted&&Bd(a)&&(ye+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?ge=ch(a.shift):typeof a.shift=="object"&&(ge=a.shift.label?a.shift.label:(E=ch(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(ye=(re=(ee=a.shift.class)!=null?ee:a.class)!=null?re:"");else{if(ge=a.label?a.label:(oe=ch(a.latex||a.insert||"")||a.key)!=null?oe:"",a.shift){let Ie;typeof a.shift=="string"?Ie=ch(a.shift):a.shift.label?Ie=a.shift.label:Ie=(ue=ch(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?ue:"",ge+=`<span class="MLK__shift">${Ie}</span>`}a.aside&&(ge+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(ye)&&(ye+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(ye)||(ye+=" MLK__keycap"),!/\bw[0-9]+\b/.test(ye)&&a.width&&(ye+=(he={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?he:""),[ge,ye||"MLK__keycap"]}var id={"[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:"−",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"÷"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"×",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 k0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!id[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&id[a.label]&&(b=Me(Ce(Ce({},id[a.label]),a),{label:id[a.label].label})),"key"in a&&a.key&&id[a.key]&&(b=Me(Ce(Ce({},id[a.key]),a),{key:id[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=Ce(Ce({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=Ce(Ce({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=Ce(Ce({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=Ce(Ce({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var hh;function Mg(a){var y;if(a.button!==0)return;const b=Oc.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=Dd(a.target);if(!(ee!=null&&ee.id))return;const re=b.getKeycap(ee.id);if(!re)return;console.assert(a.type==="pointerdown");const oe=new AbortController,ue=oe.signal;ee.classList.add("is-pressed"),ee.addEventListener("pointerenter",jh(oe),{capture:!0,signal:ue}),ee.addEventListener("pointerleave",jh(oe),{capture:!0,signal:ue}),ee.addEventListener("pointercancel",jh(oe),{signal:ue}),ee.addEventListener("pointerup",jh(oe),{signal:ue}),Bd(re)&&(ee.classList.add("is-active"),b.shiftPressCount++),re.variants&&(hh&&clearTimeout(hh),hh=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),E0(ee,()=>{oe.abort(),ee==null||ee.classList.remove("is-active")}))},300)),a.preventDefault()}function jh(a){return y=>{const b=Dd(y.target);if(!(b!=null&&b.id))return;const E=Oc.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"),Bd(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"),Bd(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){hh&&clearTimeout(hh),Bd(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"}]):Ef(ee.shift):Ef(ee),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Ef(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=Oc.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 Dd(a){if(!a)return;let y=a;for(;y&&!kg(y);)y=y.parentElement;return y!=null?y:void 0}function Bd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Oc=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 re=ee.target;re!=null&&re.isConnected&&setTimeout(()=>{const oe=D0();oe&&!oe.readOnly&&oe.mathVirtualKeyboardPolicy==="auto"&&Re()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ee=>{ee.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{D0()||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=>M0(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[re,oe]=_h(ee,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(re),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 re=E.style.paddingBottom;this.originalContainerBottomPadding=re;const oe=ee.offsetHeight-1;E.style.paddingBottom=re?`calc(${re} + ${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}),uh(),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=Sg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&E0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Sf(y)){if(!Jd(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,re=kd(ee);if(window.top!==void 0&&re!=="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:Ce({type:Rh,action:y},b)}));return}if(E)E.postMessage(Ce({type:Rh,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 re of ee)this.dispatchEvent(new KeyboardEvent("keydown",{key:re,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:re,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=kd(y);return Te(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ee=kd(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,re=>re[1].toUpperCase()),ee==="virtual-keyboard"?Gu[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 D0(){var a,y;let b=Lh(),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(Je()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Oc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>cg.singleton,configurable:!0});function Hh(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(Te(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[re,oe]=E.split(",").map(ue=>parseInt(ue.trim()));y.scriptDepth=[re,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 re=Oc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>re})}ee="manual"}y.mathVirtualKeyboardPolicy=ee;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?$e.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=wi(a.macros);break;default:Te(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=Ce({},a[b]):y[b]=a[b]}return y}function ad(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:Te(a[ee])?E[ee]=[...a[ee]]:typeof a[ee]=="object"&&!(a[ee]instanceof Element)&&ee!=="computeEngine"?E[ee]=Ce({},a[ee]):E[ee]=a[ee];return typeof y=="string"?E[y]:E}function Wh(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:ht,backgroundColorMap:Ge,letterShapeStyle:$e.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:lf,inlineShortcuts:oa,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:Mu,value:""}}function B0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function Rc(a,y){!a||!y||(Te(a)?a.forEach(b=>Rc(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),Rc(a.body,y),Rc(a.above,y),Rc(a.below,y),Rc(a.subscript,y),Rc(a.superscript,y)))}function Af(a,y,b,E){function ee(oe,ue){for(const he of re)if(he.style[oe]!==ue)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const re=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=yl),b.variant&&ee("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ee("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const oe of re)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 yc(y,{mode:b.mode});ee.caret=E,b.parent.addChildAfter(ee,b),a.position+=1}}function Bg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Ii(["math","displaymath"],mu),Ii("center",mu),qt("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 mi("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),fa("array","{columns:colspec}",(a,y,b,E)=>new mi(a,Mf(y),b,{columns:E[0],mathstyleName:"textstyle"})),fa(["equation","equation*","subequations"],"",(a,y,b)=>new mi(a,Mf(y),b,{columns:[{align:"c"}]})),fa(["multline","multline*"],"",mu),fa(["align","align*","aligned","eqnarray"],"",mu),fa("split","",mu),fa(["gather","gathered"],"",mu),fa(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",mu),fa(["smallmatrix","smallmatrix*"],"[columns:colspec]",mu),fa(["cases","dcases","rcases"],"",mu);function Lg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Mf(a,y=1){return Lg(a)?Array(y).fill([[new tn({type:"first"}),new Wr]]):a.map(b=>b.length===0?[[new tn({type:"first"})]]:b.map(E=>E.length===0?[new tn({type:"first"})]:(E[0].type!=="first"&&E.unshift(new tn({type:"first"})),E)))}function mu(a,y=[[[]]],b=[],E=[]){switch(y=Mf(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new mi(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new mi(a,y,b,{mathstyleName:"textstyle"});case"center":return new mi(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new mi(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new mi(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new mi(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:od(E[0])});case"bmatrix":case"bmatrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:od(E[0])});case"Bmatrix":case"Bmatrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:od(E[0])});case"vmatrix":case"vmatrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:od(E[0])});case"Vmatrix":case"Vmatrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:od(E[0])});case"matrix":case"matrix*":return new mi(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:od(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new mi(a,y,b,{mathstyleName:"scriptstyle",columns:od(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new mi(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 mi(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new mi(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ee=0;for(const ue of y)ee=Math.max(ee,ue.length);const re=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let oe=2;for(;oe<ee;)re.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),oe+=2;return re.push({gap:0}),new mi(a,y,b,{arraycolsep:0,columns:re,minColumns:2})}}return new mi(a,y,b,{mathstyleName:"textstyle"})}function od(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 Ig(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof mi);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof mi)){const E=a.at(a.position);if(b=E,!b.parent.parent){let ee=a.extractAtoms([a.position,a.lastOffset]),re=a.extractAtoms([0,a.position]);re.length===0&&(re=Vh()),ee.length===0&&(ee=Vh());let oe;return y.endsWith("column")?(oe=mu("split",[[re,ee]]),a.root=oe,sd(oe,0,0)?ld(a,oe,0,0):sd(oe,0,1)?ld(a,oe,0,1):a.position=a.offsetOf(E)):(oe=mu("lines",[[re],[ee]]),a.root=oe,sd(oe,0,0)?ld(a,oe,0,0):sd(oe,1,0)?ld(a,oe,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof ba){const ee=b.parent;let re=a.extractAtoms([a.position,a.offsetOf(ee.lastChild)]),oe=a.extractAtoms([a.offsetOf(ee.firstChild),a.position]);oe.length===0&&(oe=Vh()),re.length===0&&(re=Vh());let ue="pmatrix";const he=ee.leftDelim,ge=ee.rightDelim;he==="("&&(ge===")"||ge==="?")?ue="pmatrix":(he==="["||he==="\\lbrack")&&(ge==="]"||ge==="\\rbrack"||ge==="?")?ue="bmatrix":he==="\\vert"&&ge==="\\vert"?ue="vmatrix":he==="\\Vert"&&ge==="\\Vert"?ue="Vmatrix":(he==="{"||he==="\\lbrace")&&(ge==="."||ge==="?")&&(ue="cases");const ye=mu(ue,y.endsWith("column")?[[oe,re]]:[[oe],[re]]);return ee.parent.addChildBefore(ye,ee),ee.parent.removeChild(ee),sd(ye,0,0)?ld(a,ye,0,0):y.endsWith("column")?sd(ye,0,1)?ld(a,ye,0,1):a.position=a.offsetOf(b):sd(ye,1,0)?ld(a,ye,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof mi?[b.parent,b.parentBranch]:[void 0,[0,0]]}function sd(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function Tg(a,y,b,E){const ee=y.getCell(b,E);return ee?[a.offsetOf(ee[0]),a.offsetOf(ee[ee.length-1])]:-1}function ld(a,y,b,E){const ee=Tg(a,y,b,E);typeof ee!="number"&&a.setSelection(ee)}function Kh(a,y,b,E,ee){const re=y.getCell(b,E);re&&a.setPositionHandlingPlaceholder(a.offsetOf(re[ee==="start"?0:re.length-1]))}function Zh(a,y){const[b,[E,ee]]=Ig(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Kh(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ee),Kh(a,b,E,ee+1,"end");break;case"before row":b.addRowBefore(E),Kh(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ee),Kh(a,b,E,ee,"start");break}}function L0(a){return a.contentWillChange({inputType:"insertText"})?(Zh(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Fg(a){return a.contentWillChange({inputType:"insertText"})?(Zh(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function I0(a){return a.contentWillChange({inputType:"insertText"})?(Zh(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Ng(a){return a.contentWillChange({inputType:"insertText"})?(Zh(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function T0(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),re=ee.type==="array"?ee:a.parentEnvironment;return re.environmentName=y,re.leftDelim=b,re.rightDelim=E,a.contentDidChange({}),!0}function F0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof mi);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof mi){const E=b.parent,ee=b.parentBranch;let re;switch(y){case"row":if(E.rowCount>1){E.removeRow(ee[0]);const oe=E.getCell(Math.max(0,ee[0]-1),ee[1]);re=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));re=a.offsetOf(oe[oe.length-1])}break}re&&a.setPositionHandlingPlaceholder(re)}}function Pg(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function Og(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Fl({addRowAfter:L0,addColumnAfter:I0,addRowBefore:Fg,addColumnBefore:Ng,removeRow:Pg,removeColumn:Og,setEnvironment:T0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Vh(){return[new Wr]}var N0=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}};N0.maximumDepth=1e3;var Rg=N0;function kf(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let ee;if(Be.test(a.at(y).value)){let re=y,oe;do oe=a.at(re).mode==="text"&&Be.test(a.at(re).value),re+=E;while(a.at(re)&&oe);ee=a.at(re)?re-2*E:re-E}else if(/\s/.test(a.at(y).value)){let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&/\s/.test(a.at(re).value);)re+=E;if(!a.at(re))ee=re-E;else{let oe=!0;do oe=a.at(re).mode==="text"&&!/\s/.test(a.at(re).value),re+=E;while(a.at(re)&&oe);ee=a.at(re)?re-2*E:re-E}}else{let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&!/\s/.test(a.at(re).value);)re+=E;ee=a.at(re)?re:re-E;let oe=!0;for(;a.at(re)&&oe;)oe=a.at(re).mode==="text"&&/\s/.test(a.at(re).value),oe&&(ee=re),re+=E;ee=a.at(re)?re-2*E:re-E}return ee-(E>0?0:1)}function Ld(a,y,b){var E,ee,re,oe,ue,he,ge;const ye=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let Ie=a.at(a.position);if(y==="forward"&&(Ie.type==="subsup"?(Ie=Ie.rightSibling,Ie||(Ie=a.at(a.position+1))):Ie=a.at(a.position+1)),!Ie)return a.announce("plonk"),!1;let _e=a.offsetOf(Ie);if(Ie instanceof Wl)_e=kf(a,_e,y);else if(Ie instanceof Ws)if(Ie.isSuggestion)for(console.assert(y==="forward");Ie&&Ie instanceof Ws;)Ie.isSuggestion=!1,_e=a.offsetOf(Ie),Ie=Ie.rightSibling;else if(y==="forward"){if(Ie=Ie.rightSibling,!Ie||!(Ie instanceof Ws))return a.announce("plonk"),!1;for(;Ie&&Ie instanceof Ws&&/[a-zA-Z\*]/.test(Ie.value);)_e=a.offsetOf(Ie),Ie=Ie.rightSibling}else{if(Ie=Ie.leftSibling,!Ie||!(Ie instanceof Ws))return a.announce("plonk"),!1;for(;Ie&&Ie instanceof Ws&&/[a-zA-Z\*]/.test(Ie.value);)_e=a.offsetOf(Ie),Ie=Ie.leftSibling}else if(y==="forward"&&Ie.type==="mopen"){let qe=0;do Ie.type==="mopen"?qe+=1:Ie.type==="mclose"&&(qe-=1),Ie=Ie.rightSibling;while(!Ie.isLastSibling&&qe!==0);_e=a.offsetOf(Ie.leftSibling)}else if(y==="backward"&&Ie.type==="mclose"){let qe=0;do Ie.type==="mopen"?qe+=1:Ie.type==="mclose"&&(qe-=1),Ie=Ie.leftSibling;while(!Ie.isFirstSibling&&qe!==0);_e=a.offsetOf(Ie)}else if(y==="backward")if(Ie.type==="first")for(;_e>0&&Ie.type==="first";)_e-=1,Ie=a.at(_e);else{const qe=Ie.type;Ie.type==="subsup"&&(_e=a.offsetOf(a.at(_e).leftSibling)),_e-=1;let ot=(ee=a.at(_e))==null?void 0:ee.type;for(;_e>=0&&ot===qe;)((re=a.at(_e))==null?void 0:re.type)==="subsup"?_e=a.offsetOf(a.at(_e).leftSibling):_e-=1,ot=a.at(_e).type}else{const{type:qe}=Ie;let ot=(oe=a.at(_e))==null?void 0:oe.type;const{lastOffset:Wt}=a;for(;_e<=Wt&&(ot===qe||ot==="subsup");){for(;((ue=a.at(_e).rightSibling)==null?void 0:ue.type)==="subsup";)_e=a.offsetOf(a.at(_e).rightSibling);_e+=1,ot=(he=a.at(_e))==null?void 0:he.type}_e-=1}if((ge=b==null?void 0:b.extend)!=null&&ge){if(!a.setSelection(a.anchor,_e))return a.announce("plonk"),!1}else{if(_e===a.position)return a.announce("plonk"),!1;a.position=_e}return a.announce("move",ye),a.mathfield.stopCoalescingUndo(),!0}function Uu(a,y,b){var E,ee;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[ue,he]=g0(a);ue!==void 0&&he!==void 0&&a.deleteAtoms([ue,he])}if(y==="upward")return _g(a,b);if(y==="downward")return jg(a,b);if(b.extend){let ue=Gh(a,a.position,y);ue<0&&(ue=0),ue>a.lastOffset&&(ue=a.lastOffset);const he=a.setSelection(a.anchor,ue);return a.mathfield.stopCoalescingUndo(),he}if(a.selectionIsPlaceholder){a.collapseSelection(y);const ue=Uu(a,y);return a.mathfield.stopCoalescingUndo(),ue}let re=a.position;const oe=re;if(a.collapseSelection(y)?(re=a.position,P0(a,re)||(re=Gh(a,re,y))):re=Gh(a,re,y),re<0||re>a.lastOffset){let ue=!0;return a.silenceNotifications||(ue=(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),ue&&a.announce("plonk"),ue}return a.setPositionHandlingPlaceholder(re),a.mathfield.stopCoalescingUndo(),a.announce("move",oe),!0}function Gh(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||P0(a,y)?y:Gh(a,y,b)}function P0(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 zg(a,y,b){let E=1/0,ee=0;for(;ee<y.length;ee++){const re=bd(a.getHTMLElement(y[ee])).right,oe=Math.abs(b-re);if(oe<=E)E=oe;else break}return y[ee-1]}function Uh(a,y,b,E,ee){const re=a.mathfield.hasEditablePrompts,oe=re?b.filter(ge=>ge.type==="prompt"&&!ge.captureSelection):b,ue=bd(a.mathfield.getHTMLElement(y)).right,he=a.offsetOf(zg(a.mathfield,oe,ue))-(re?1:0);if(E){const[ge,ye]=a.selection.ranges[0];let Ie;he<(ee==="up"?ge:ye)?Ie={ranges:[[he,ye]],direction:"backward"}:Ie={ranges:[[ge,he]],direction:"forward"},a.setSelection(Ie)}else a.setPositionHandlingPlaceholder(he);a.announce(`move ${ee}`)}function _g(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("backward");const re=()=>{var he,ge;let ye=!0;return a.silenceNotifications||(ye=(ge=(he=a.mathfield.host)==null?void 0:he.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?ge:!0),a.announce(ye?"plonk":"line"),ye},oe=a.at(a.position);let ue=oe;for(;ue&&ue.parentBranch!=="below"&&!(Array.isArray(ue.parentBranch)&&ue.parent instanceof mi);)ue=ue.parent;if(Array.isArray(ue==null?void 0:ue.parentBranch)&&ue.parent instanceof mi){const he=ue.parent;if(ue.parentBranch[0]<1)return re();const ge=ue.parentBranch[0]-1,ye=he.array[ge][ue.parentBranch[1]];if(!ye.some(_e=>_e.type==="prompt"&&!_e.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Uh(a,oe,ye,ee,"up")}else if(ue){const he=(E=ue.parent.branch("above"))!=null?E:ue.parent.createBranch("above");if(!he.some(ye=>ye.type==="prompt"&&ye.placeholderId)&&a.mathfield.hasEditablePrompts)return re();Uh(a,oe,he,ee,"up")}else return re();return a.mathfield.stopCoalescingUndo(),!0}function jg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("forward");const re=()=>{var he,ge;let ye=!0;return a.silenceNotifications||(ye=(ge=(he=a.mathfield.host)==null?void 0:he.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?ge:!0),a.announce(ye?"plonk":"line"),ye},oe=a.at(a.position);let ue=oe;for(;ue&&ue.parentBranch!=="above"&&!(Array.isArray(ue.parentBranch)&&ue.parent instanceof mi);)ue=ue.parent;if(Array.isArray(ue==null?void 0:ue.parentBranch)&&ue.parent instanceof mi){const he=ue.parent;if(ue.parentBranch[0]+1>he.array.length-1)return re();const ge=ue.parentBranch[0]+1,ye=he.array[ge][ue.parentBranch[1]];if(!ye.some(_e=>_e.type==="prompt"&&!_e.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Uh(a,oe,ye,ee,"down")}else if(ue){const he=(E=ue.parent.branch("below"))!=null?E:ue.parent.createBranch("below");if(!he.some(ye=>ye.type==="prompt")&&a.mathfield.hasEditablePrompts)return re();Uh(a,oe,he,ee,"down")}else return re();return!0}function O0(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 R0(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 fu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function z0(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 fu({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 ge=[],ye=[];return[...he.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((_e,qe)=>{const ot=E(_e);ot===0?ge.push(_e):ye.push({documentOrder:qe,tabIndex:ot,node:_e})}),ye.sort((_e,qe)=>_e.tabIndex===qe.tabIndex?_e.documentOrder-qe.documentOrder:_e.tabIndex-qe.tabIndex).map(_e=>_e.node).concat(ge)}function y(he){return!(!b(he)||ee(he)||E(he)<0)}function b(he){return!(he.disabled||he.type==="hidden"&&he.tagName.toUpperCase()==="INPUT"||ue(he))}function E(he){var ge;const ye=Number.parseInt((ge=he.getAttribute("tabindex"))!=null?ge:"NaN",10);return Number.isNaN(ye)?he.contentEditable==="true"||(he.nodeName==="AUDIO"||he.nodeName==="VIDEO")&&he.getAttribute("tabindex")===null?0:he.tabIndex:ye}function ee(he){return he.tagName.toUpperCase()==="INPUT"&&he.type==="radio"&&!oe(he)}function re(he,ge){for(const ye of he)if(ye.checked&&ye.form===ge)return ye;return null}function oe(he){var ge;if(!he.name)return!0;const Ie=((ge=he.form)!=null?ge:he.ownerDocument).querySelectorAll('input[type="radio"][name="'+he.name+'"]'),_e=re(Ie,he.form);return!_e||_e===he}function ue(he){if(!Je()||he===document.activeElement||he.contains(document.activeElement))return!1;if(getComputedStyle(he).visibility==="hidden")return!0;const ge=he.getBoundingClientRect();if(ge.width===0||ge.height===0)return!0;for(;he;){if(getComputedStyle(he).display==="none")return!0;he=he.parentElement}return!1}return Je()?a(document.body):[]}function fl(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const ee=a.offsetOf(y[0]),re=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ee,re):a.setSelection(re,ee),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?fl(a,[y.leftSibling,y]):fl(a,[y,y.leftSibling])}function Bu(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 Qh(a,y,b=!0){var E,ee;const re=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Uu(a,y);let oe;const ue=a.at(a.anchor).parentPrompt;ue?y==="forward"?oe=a.offsetOf(ue)+1:oe=a.offsetOf(ue.leftSibling):oe=Math.max(a.position+re,0);const he=Df(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 ye=Kg();if(!document.activeElement||ye.length<=1)return a.announce("plonk"),!1;let Ie=ye.indexOf(document.activeElement)+re;return Ie<0&&(Ie=ye.length-1),Ie>=ye.length&&(Ie=0),ye[Ie].focus(),a.mathfield.stopCoalescingUndo(),!0}return Bu(a,he),!0}function Df(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)}Fl({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 re;if(typeof ee=="string"&&(re=y[ee]),!re){const ue=b.subsupPlacement?z0(a):R0(a);return a.mathfield.stopCoalescingUndo(),ue}E.branch(re)||E.createBranch(re);const oe=a.setSelection(a.getBranchRange(a.offsetOf(E),re));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=>O0(a),moveToNextChar:a=>Uu(a,"forward"),moveToPreviousChar:a=>Uu(a,"backward"),moveUp:a=>Uu(a,"upward"),moveDown:a=>Uu(a,"downward"),moveToNextWord:a=>Ld(a,"forward"),moveToPreviousWord:a=>Ld(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 Qh(a,"forward");const re=a.at(a.position);if(re.mode==="text"){if(a.selectionIsCollapsed){let _e=re;for(;_e&&_e.mode==="text";)_e=_e.leftSibling;let qe=re;for(;((y=qe.rightSibling)==null?void 0:y.mode)==="text";)qe=qe.rightSibling;if(_e&&qe)return fl(a,[_e,qe])}if(re.rightSibling.mode==="text"){let _e=re;for(;_e&&_e.mode==="text";)_e=_e.rightSibling;return _e?(Bu(a,(b=_e.leftSibling)!=null?b:_e),a.mathfield.switchMode("math"),!0):Bu(a,a.lastOffset)}}const ue=a.at(a.anchor).parentPrompt,he=ue?a.offsetOf(ue)+1:Math.max(a.position+1,0),ge=Df(a,he,"forward");if(ge)return Bu(a,ge);const ye=_0(a,re,_e=>_e.type==="leftright"||_e.type==="text","forward");if(ye){if(ye.mode==="text"){let _e=ye;for(;_e&&_e.mode==="text";)_e=_e.rightSibling;return fl(a,[(E=ye.leftSibling)!=null?E:ye,(ee=_e.leftSibling)!=null?ee:_e])}return fl(a,ye)}const Ie=re.parent;if(Ie){if(Ie.type==="leftright"||Ie.type==="surd")return fl(a,Ie);if(re.parentBranch==="superscript"&&Ie.subscript)return fl(a,Ie.subscript);if(re.parentBranch==="above"&&Ie.below)return fl(a,Ie.below);if(re.parentBranch==="superscript"||re.parentBranch==="subscript")return Bu(a,Ie);if(re.parentBranch==="above"||re.parentBranch==="below")return fl(a,Ie)}return Bu(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return Qh(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let ue=b;for(;ue&&ue.mode==="text";)ue=ue.leftSibling;let he=b;for(;((y=he.rightSibling)==null?void 0:y.mode)==="text";)he=he.rightSibling;if(ue&&he)return fl(a,[ue,he])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Bu(a,b):Bu(a,0)}const ee=a.at(a.anchor).parentPrompt,re=ee?a.offsetOf(ee.leftSibling):Math.max(a.position-1,0),oe=Df(a,re,"backward");if(oe)return Bu(a,oe);if(E==="math"){const ue=_0(a,b,ge=>ge.type==="leftright"||ge.type==="text","backward");if(ue){if(ue.mode==="text"){let ge=ue;for(;ge&&ge.mode==="text";)ge=ge.leftSibling;return fl(a,[ue,ge])}return fl(a,ue)}const he=b.parent;if(he){if(he.type==="leftright"||he.type==="surd")return fl(a,he);if(b.parentBranch==="subscript"&&he.superscript)return fl(a,he.superscript);if(b.parentBranch==="below"&&he.above)return fl(a,he.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Bu(a,he);if(b.parentBranch==="above"||b.parentBranch==="below")return fl(a,he)}return Bu(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:R0,moveToSubscript:z0},{target:"model",changeSelection:!0}),Fl({moveToNextPlaceholder:a=>Qh(a,"forward"),moveToPreviousPlaceholder:a=>Qh(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function _0(a,y,b,E){if(E==="forward"){let re=y.rightSibling;for(;re&&!b(re);)re=re.rightSibling;return re}let ee=y.leftSibling;for(;ee&&!b(ee);)ee=ee.leftSibling;return ee}function Yh(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1,re="";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,re+=oe.value),E-=1,y-=1}a.contentDidChange({data:re,inputType:"insertText"})}function ud(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1;const re=[];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||(re.push(tn.serialize([oe],{defaultMode:"math"})),oe.mode="math"),E-=1,y-=1}Bf(a),a.contentDidChange({data:Ni(re),inputType:"insertText"})}function Bf(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 Zg(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 Vg(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Bh(b))return!1;const ee=Ed(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ee));const re=Zg(E)+ee;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ee))return!0;if(/[\^_]/.test(ee))return/(^|\s)[a-zA-Z][^_]$/.test(re)&&ud(E,1),!0;const oe={")":"(","}":"{","]":"["}[ee],{parent:ue}=E.at(E.position);if(oe&&ue instanceof ba&&ue.leftDelim===oe)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(re))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ee))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(re))return ud(E,1),!1;if(/\D\.[^\d\s]$/.test(re)){ud(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(re)||/\.\d$/.test(re)||/\([\d+\-.]$/.test(re))return ud(E,1),!0;if(/\([a-z][,;]$/.test(re))return ud(E,2),!0;if(/[\d+\-=><*|]$/.test(ee))return Bf(E),!0}else{if(y==="[Space]")return Yh(E,void 0,oe=>/[a-z][:,;.]$/.test(oe.value)),!0;if(/[a-zA-Z]{3,}$/.test(re)&&!/(dxd|abc|xyz|uvw)$/.test(re))return Yh(E,void 0,oe=>/[a-zA-Z]/.test(oe.value)),!0;if(/(^|\W)(if)$/i.test(re))return Yh(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(re)&&!/(αβγ)$/.test(re))return Yh(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(re))return!0}return!1}function Gg(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=j0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(vf(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 Ug(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=j0();y.innerHTML=""}else{const y=Th("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function j0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Tl("keystroke-caption"),Tl("core"),Th("mathlive-keystroke-caption-panel"))}function Qg(){document.getElementById("mathlive-keystroke-caption-panel")&&(bf("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function H0(a,y){var b,E,ee;const{model:re}=a,oe=p0(y);if(y.isTrusted){Rm(y);const qe=ah();a.keyboardLayout!==qe.id&&(a.keyboardLayout=qe.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,oe),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let ue,he="",ge;const ye=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(re.mode==="math")if(oe==="[Backspace]")ye.pop();else if(!Bh(y))a.flushInlineShortcutBuffer();else{const qe=Ed(y),ot=[...(E=(b=ye[ye.length-1])==null?void 0:b.keystrokes)!=null?E:[],qe];ye.push({state:re.getState(),keystrokes:ot,leftSiblings:Yg(a)});let Wt=0,_n="";for(;!ue&&Wt<ot.length;)ge=ye.length-(ot.length-Wt),_n=ot.slice(Wt).join(""),ue=$c(ye[ge].leftSiblings,_n,a.options.inlineShortcuts),!ue&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(_n)&&(ue=a.options.onInlineShortcut(a,_n)),Wt+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(ue?a.switchMode("math"):Vg(a,oe,y)&&(a.switchMode({math:"text",text:"math"}[re.mode]),he=""))}if(!ue){if(he||(he=Zm(a.keybindings,re.mode,y)),!he&&(oe==="[Enter]"||oe==="[Return]")){let qe=!1;return re.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(qe=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),qe||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),re.contentDidChange({inputType:"insertLineBreak"})),qe}if((!he||oe==="[Space]")&&re.mode==="math"){if(oe==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return di.insert(re,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 qe=re.at(re.position+1),ot=re.at(re.position-1);if((qe==null?void 0:qe.mode)==="text"||(ot==null?void 0:ot.mode)==="text")return di.insert(re," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ee=re.at(re.position))!=null&&ee.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Ed(y)===","&&(he="insertDecimalSeparator")}}if(!ue&&!he){if(re.mathfield.smartFence){if(If(re,Ed(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:qe}=re.at(re.position);if(qe instanceof ba&&qe.rightDelim==="?"&&re.at(re.position).isLastSibling&&/^[)}\]|]$/.test(oe))return a.snapshot(),qe.isDirty=!0,qe.rightDelim=oe,re.position+=1,re.selectionDidChange(),re.contentDidChange({data:Ed(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!re.selectionIsCollapsed){const ot=Ed(y);if(ot==="("||ot==="{"||ot==="["){const Wt={"(":"(","{":"\\lbrace","[":"\\lbrack"}[ot],_n={"(":")","{":"\\rbrace","[":"\\rbrack"}[ot],[zt,gn]=ys(re.selection);return a.snapshot(),re.position=gn,di.insert(re,_n,{format:"latex"}),re.position=zt,di.insert(re,Wt,{format:"latex"}),re.setSelection(zt+1,gn+1),re.contentDidChange({data:ot,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Ie=re.at(Math.max(re.position,re.anchor)),{parent:_e}=Ie;if(he==="moveAfterParent"&&(_e==null?void 0:_e.type)==="leftright"&&Ie.isLastSibling&&a.options.smartFence&&If(re,".",a.defaultStyle)&&(he="",_o(a)),a.keyboardDelegate.cancelComposition(),he)a.executeCommand(he);else if(ue){const qe=a.effectiveStyle;re.setState(ye[ge].state);const ot=ye[ye.length-1].keystrokes;for(const Wt of ot)di.insert(re,Wt,{silenceNotifications:!0,style:qe});a.snapshot("insert-shortcut"),re.setState(ye[ge].state),re.deferNotifications({content:!0,selection:!0,data:ue,type:"insertText"},()=>(di.insert(re,ue,{format:"latex",style:qe}),Bf(a.model),ue.endsWith(" ")&&(a.switchMode("text"),di.insert(re," ",{style:qe,mode:"text"})),a.snapshot(),re.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,re.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Lf(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=Kc(y);const re=window.mathVirtualKeyboard;if(re!=null&&re.isShifted&&(ee=typeof ee=="string"?ee.toUpperCase():ee.map(he=>he.toUpperCase())),b.simulateKeystroke){let he=!0;for(const ge of ee)H0(a,new KeyboardEvent("keypress",{key:ge}))&&(he=!1);if(he)return}const oe=E.at(E.position),ue=Ce(Ce({},oe.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(ys(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Ih(a);for(const he of ee)di.insert(E,he);a.snapshot("insert-latex"),sh(a)});else if(E.mode==="text"){for(const he of ee)di.insert(E,he,{style:ue});a.snapshot("insert-text")}else if(E.mode==="math")for(const he of ee)Jg(a,he,ue,oe);a.dirty=!0,a.scrollIntoView()}function Yg(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 re={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(re=["insert",a.options.mathModeSpace]),re){a.executeCommand(re);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){Xg(ee),di.insert(ee,y,{style:b}),a.snapshot(),O0(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=Ce({},b),oe.style.variant&&(b.variant=oe.style.variant),oe.style.variantStyle&&(b.variantStyle=oe.style.variantStyle))}di.insert(ee,y,{style:b}),a.snapshot(`insert-${ee.at(ee.position).type}`)}function Xg(a){a.selectionIsCollapsed||(a.deleteAtoms(ys(a.selection)),a.mathfield.snapshot("delete"))}function If(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:ee}=E,re={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!re)return!1;const oe=te[re],ue=ne[re];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[he,ge]=ys(a.selection),ye=a.extractAtoms([he,ge]),Ie=ee.addChildrenAfter([new ba("left...right",ye,{leftDelim:re,rightDelim:ue})],a.at(he));return a.setSelection(a.offsetOf(Ie.firstChild),a.offsetOf(Ie.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(re==="|"){const he=ee instanceof ba?ee.leftDelim+ee.rightDelim:"";if(he==="\\lbrace\\rbrace"||he==="\\{\\}"||he==="\\lbrace?")return a.mathfield.snapshot(),di.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(ue){if(ee instanceof ba&&ee.firstChild===E&&(ee.leftDelim==="?"||ee.leftDelim==="."))return ee.leftDelim=re,ee.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ee instanceof ba)){let Ie=E;for(;Ie&&!(Ie.type==="mclose"&&Ie.value===ue);)Ie=Ie.rightSibling;if(Ie){a.mathfield.snapshot();const _e=a.extractAtoms([a.offsetOf(E),a.offsetOf(Ie)]);return _e.pop(),ee.addChildrenAfter([new ba("left...right",_e,{leftDelim:re,rightDelim:ue})],E),a.position=a.offsetOf(ee.firstChild)+1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const he=a.offsetOf(E.lastSibling);let ge;for(ge=a.position;ge<=he;ge++){const Ie=a.at(ge);if(Ie instanceof ba&&(Ie.leftDelim==="?"||Ie.leftDelim===".")&&W0(re,Ie.rightDelim))break}const ye=a.at(ge);if(ge<=he&&ye instanceof ba){ye.leftDelim=re,a.mathfield.snapshot();let Ie=a.extractAtoms([a.position,ge-1]);return Ie=Ie.filter(_e=>_e.type!=="first"),ye.addChildren(Ie,ye.parentBranch),a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ee instanceof ba&&(ee.leftDelim==="?"||ee.leftDelim===".")&&W0(re,ee.rightDelim)){ee.isDirty=!0,ee.leftDelim=re,a.mathfield.snapshot();const Ie=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const _e of Ie)ee.parent.addChildBefore(_e,ee);return a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ee instanceof ba&&ee.leftDelim==="|")){if(a.mathfield.snapshot(),di.insert(a,`\\left${re}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const Ie=a.offsetOf(E.lastSibling),_e=a.extractAtoms([a.position,Ie]);a.at(a.position).body=_e,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 qe=he.leftSibling,ot=a.extractAtoms([a.offsetOf(he.leftSibling),a.offsetOf(E)]);ot.shift();const Wt=new ba("left...right",ot,{leftDelim:oe,rightDelim:re});return ee.addChildrenAfter([Wt],qe),a.position=a.offsetOf(Wt),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}he=he.leftSibling}if(ee instanceof ba&&E.isLastSibling&&Tf(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const ge=a.offsetOf(E.firstSibling);let ye;for(ye=a.position;ye>=ge;ye--){const qe=a.at(ye);if(qe instanceof ba&&(qe.rightDelim==="?"||qe.rightDelim===".")&&Tf(qe.leftDelim,re))break}const Ie=a.at(ye);if(ye>=ge&&Ie instanceof ba)return a.mathfield.snapshot(),Ie.rightDelim=re,Ie.addChildren(a.extractAtoms([ye,a.position]),Ie.parentBranch),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ee instanceof ba&&(ee.rightDelim==="?"||ee.rightDelim===".")&&Tf(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,ee.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),ee.parentBranch),a.position=a.offsetOf(ee),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const _e=ee.parent;return _e instanceof ba&&(_e.rightDelim==="?"||_e.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(_e),If(a,re,b)):!1}return!1}function Tf(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ne[a]===y:!0}function W0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):te[y]===a:!0}Fl({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:Ug,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)=>(Lf(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),re=0;for(;E.includes(ee)&&re<100;){if(re===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),re++}return a.insert(`\\placeholder[${y!=null?y:ee}]{}`,b),!0}}),Fl({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"}),Fl({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})&&(sh(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),_o(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qg(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Ff(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=Ce(Ce({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(ee=>Af(E,ee,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Fl({applyStyle:qg},{target:"mathfield",canUndo:!0,changeContent:!0});function Ff(a,y){var b,E,ee,re,oe,ue,he,ge,ye,Ie;const _e={};if(typeof y.color=="string"){const ot=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";ot!==y.color&&(_e.verbatimColor=(ee=y.verbatimColor)!=null?ee:y.color),_e.color=ot}if(typeof y.backgroundColor=="string"){const ot=(oe=a.backgroundColorMap((re=y.backgroundColor)!=null?re:y.verbatimBackgroundColor))!=null?oe:"none";ot!==y.backgroundColor&&(_e.verbatimBackgroundColor=(ue=y.verbatimBackgroundColor)!=null?ue:y.backgroundColor),_e.backgroundColor=ot}typeof y.fontFamily=="string"&&(_e.fontFamily=y.fontFamily),typeof y.series=="string"&&(_e.fontSeries=y.series),typeof y.fontSeries=="string"&&(_e.fontSeries=y.fontSeries.toLowerCase()),_e.fontSeries&&(_e.fontSeries=(he={bold:"b",medium:"m",normal:"m"}[_e.fontSeries])!=null?he:_e.fontSeries),typeof y.shape=="string"&&(_e.fontShape=y.shape),typeof y.fontShape=="string"&&(_e.fontShape=y.fontShape.toLowerCase()),_e.fontShape&&(_e.fontShape=(ge={italic:"it",up:"n",upright:"n",normal:"n"}[_e.fontShape])!=null?ge:_e.fontShape),y.variant&&(_e.variant=y.variant.toLowerCase()),y.variantStyle&&(_e.variantStyle=y.variantStyle.toLowerCase());const qe=(ye=y.size)!=null?ye:y.fontSize;return typeof qe=="number"?_e.fontSize=Math.max(1,Math.min(10,qe)):typeof qe=="string"&&(_e.fontSize=(Ie={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[qe.toLowerCase()])!=null?Ie:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[qe]),_e}function Nf(a){let[y,b]=ys(a.selection);if(y=K0(a,y,"backward"),b=K0(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 K0(a,y,b){var E,ee,re;let oe=a.at(y);if(!oe)return y;const ue=b==="forward"?1:-1;if(oe.mode==="text"){for(;oe&&!(oe.mode!=="text"||!Be.test(oe.value));)y+=ue,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+=ue,oe=a.at(y);else for(;oe&&oe.mode==="latex"&&/[a-zA-Z\*]/.test(oe.value);)y+=ue,oe=a.at(y);else if(oe.value==="{"){if(b==="forward"){for(;oe&&oe.mode==="latex"&&oe.value!=="}";)y+=ue,oe=a.at(y);return y}return y-1}else if(oe.value==="}"){if(b==="backward"){for(;oe&&oe.mode==="latex"&&oe.value!=="{";)y+=ue,oe=a.at(y);return y-1}return y}return y-1}if(oe.mode==="math"){if(oe.isDigit()){for(;(E=a.at(y+ue))!=null&&E.isDigit();)y+=ue;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=(re=a.at(y+ue))==null?void 0:re.style,y+=ue;return b==="backward"?y-1:y}return y}return y}Fl({selectGroup:a=>{const y=Nf(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Uu(a,"forward",{extend:!0}),extendSelectionBackward:a=>Uu(a,"backward",{extend:!0}),extendToNextWord:a=>Ld(a,"forward",{extend:!0}),extendToPreviousWord:a=>Ld(a,"backward",{extend:!0}),extendSelectionUpward:a=>Uu(a,"upward",{extend:!0}),extendSelectionDownward:a=>Uu(a,"downward",{extend:!0}),extendToNextBoundary:a=>Ld(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Ld(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 cd=null,fh=0,Jh=class vu{static start(y,b,E,ee){var re;vu.element=y,(re=vu.controller)==null||re.abort(),vu.controller=new AbortController;const oe={signal:vu.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,oe),y.addEventListener("pointerup",ee,oe),y.addEventListener("pointercancel",ee,oe),Pf(b)&&(vu.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=vu.controller)==null||y.abort(),vu.controller=void 0,typeof vu.pointerId=="number"&&(vu.element.releasePointerCapture(vu.pointerId),vu.pointerId=void 0)}};function Pf(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Z0(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let ee,re=!1,oe=!1,ue="none",he=!1,ge=!1;const ye=y.clientX,Ie=y.clientY,_e=Date.now(),qe=E.field,ot=setInterval(()=>{he?qe.scroll({top:0,left:qe.scrollLeft-16}):ge&&qe.scroll({top:0,left:qe.scrollLeft+16})},32);function Wt(){Jh.stop(),re=!1,clearInterval(ot),a.element.classList.remove("tracking"),y&&y.preventDefault()}function _n(gn){if(!E.hasFocus()){Wt();return}const Kn=gn.clientX,Mn=gn.clientY,Cr=Pf(gn)&&gn.pointerType==="touch"?20:5;if(Date.now()<_e+500&&Math.abs(ye-Kn)<Cr&&Math.abs(Ie-Mn)<Cr){gn.preventDefault(),gn.stopPropagation();return}const zr=qe.getBoundingClientRect();ge=Kn>zr.right,he=Kn<zr.left;let Nr=ee;Pf(gn)&&(gn.isPrimary||(Nr=ph(E,gn.clientX,gn.clientY,{bias:0})));const sa=ph(E,Kn,Mn,{bias:Kn<=ye?Kn===ye?0:-1:1});Nr>=0&&sa>=0&&(E.model.extendSelectionTo(Nr,sa),_o(a)),oe&&Nf(E.model)}cd&&Math.abs(cd.x-ye)<5&&Math.abs(cd.y-Ie)<5&&Date.now()<cd.time+500?(fh+=1,cd.time=_e):(cd={x:ye,y:Ie,time:_e},fh=1);const zt=qe.getBoundingClientRect();if(ye>=zt.left&&ye<=zt.right&&Ie>=zt.top&&Ie<=zt.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ee=ph(a,ye,Ie,{bias:0}),ee>=0){if(a.element.classList.add("tracking"),y.shiftKey){const gn=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ee),v0(a.model)||gn?ue="all":ue="selection"}else a.model.at(ee).type==="placeholder"?(a.model.setSelection(ee-1,ee),ue="selection"):((b=a.model.at(ee).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ee,ee+1),ue="selection"):(a.model.position=ee,v0(a.model)?ue="all":ue="selection");a.defaultStyle={},y.detail===3||fh>2?(Wt(),(y.detail===3||fh===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},ue="all")):re||(re=!0,Jh.start(qe,y,_n,Wt),(y.detail===2||fh===2)&&(oe=!0,Nf(a.model),ue="all"))}a.hasFocus()||(ue="none",a.focus({preventScroll:!0}))}else cd=null;a.stopCoalescingUndo(),ue!=="none"&&(a.model.selectionIsCollapsed&&(ue="all"),_o(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 V0(a,y,b,E,ee){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const re=Tc(a,b);if(!re)return[1/0,null];let oe=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=re.left&&E<=re.right)for(const ue of b.children){const he=V0(a,y,ue,E,ee);he[0]<=oe[0]&&(oe=he)}return oe[1]||(oe=[$g(E,ee,re),b]),y.set(b.id,oe),oe}function ev(a,y,b){const[,E]=V0(a,new Map,a.model.root,y,b);return E}function ph(a,y,b,E){var ee;const re=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!re)return 0;if(y>re.right||b>re.bottom+8)return a.model.lastOffset;if(y<re.left||b<re.top-8)return 0;E=E!=null?E:{},E.bias=(ee=E.bias)!=null?ee:0;let oe=ev(a,y,b);const ue=[];let he=oe;for(;he;)ue.unshift(he),he=he.parent;for(const ye of ue)if(ye.captureSelection){oe=ye;break}let ge=a.model.offsetOf(oe);if(ge<0)return-1;if(oe.leftSibling)if(E.bias===0&&oe.type!=="placeholder"){const ye=Tc(a,oe);ye&&y<(ye.left+ye.right)/2&&(ge=a.model.offsetOf(oe.leftSibling))}else E.bias<0&&(ge=a.model.offsetOf(oe.leftSibling));return ge}var tv=class extends di{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 re=JSON.parse(ee);if(re&&Array.isArray(re)){a.snapshot();const oe=Pc(re),{model:ue}=a;ue.selectionIsCollapsed||ue.deleteAtoms(ys(ue.selection));const he=ue.at(ue.position);if(he.parent instanceof mi){console.assert(he.parentBranch!==void 0);const ge=[];let ye=[];oe[0].type==="first"&&oe.shift(),oe[oe.length-1].type==="first"&&oe.pop();for(const ot of oe)ot.type==="first"&&ye.length>0?(ge.push(ye),ye=[ot]):ye.push(ot);ye.length>0&&ge.push(ye);let Ie=Number(he.parentBranch[0]),_e=Number(he.parentBranch[1]);const qe=he.parent.maxColumns;for(;he.parent.colCount-_e<ge.length&&he.parent.colCount<qe;)he.parent.addColumn();he.parent.addChildrenAfter(ge[0],he);for(let ot=1;ot<ge.length;ot++)_e++,_e>=qe&&(_e=0,he.parent.addRowAfter(Ie),Ie++),he.parent.setCell(Ie,_e,ge[ot])}else he.parent.addChildrenAfter(oe.filter(ge=>ge.type!=="first"),he);return ue.position=ue.offsetOf(oe[oe.length-1]),ue.contentDidChange({inputType:"insertFromPaste"}),_o(a),!0}}catch(re){}if(ee=typeof y!="string"?y.getData("application/json"):"",ee&&window.MathfieldElement.computeEngine)try{const re=JSON.parse(ee);if(typeof re=="object"&&"latex"in re&&re.latex&&(b=re.latex),!b){const oe=window.MathfieldElement.computeEngine.box(re);oe&&!oe.has("Error")&&(b=oe.latex)}b||(E="latex")}catch(re){}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 re;return[re,b]=bs(b),E==="auto"&&re&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),_o(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,ee;const re=typeof y=="string"?y:(ee=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?ee:"";if(!b.silenceNotifications&&!a.contentWillChange({data:re,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 ue=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(ys(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 ge=-1;he[0]?he["@"]=he[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(ge=rv(a),ge>=0&&(he["@"]=a.getValue(ge,a.position,"latex"))),he[0]||(he[0]=he["?"]);let ye=!1;const Ie=Kn=>(ye=!0,he[Kn]);let[_e,qe]=G0(a,y,Ie,b);if(!qe)return!1;const ot=qe.length===1&&qe[0].type==="genfrac";ot&&ge>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(he["@"]=he["?"],ye=!1,[_e,qe]=G0(a,y,Ie,b)):ge>=0&&a.deleteAtoms([ge,a.position]);const{parent:Wt}=a.at(a.position),_n=Wt.hasEmptyBranch("body");if(ot&&_e!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Wt instanceof ba&&Wt.leftDelim==="("&&_n){const Kn=Wt.parent,Mn=Wt.parentBranch;Kn.removeChild(Wt),Kn.setChildren(qe,Mn)}const zt=a.at(a.position);zt.parent.addChildrenAfter(qe,zt),_e==="latex"&&typeof y=="string"&&(Wt==null?void 0:Wt.type)==="root"&&_n&&!ye&&(Wt.verbatimLatex=y),a.silenceNotifications=ue;const gn=qe[qe.length-1];if(b.selectionMode==="placeholder"){const Kn=qe.flatMap(Mn=>[Mn,...Mn.children]).find(Mn=>Mn.type==="placeholder");if(Kn){const Mn=a.offsetOf(Kn);a.setSelection(Mn-1,Mn),a.announce("move")}else gn&&(a.position=a.offsetOf(gn))}else b.selectionMode==="before"||(b.selectionMode==="after"?gn&&(a.position=a.offsetOf(gn)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(gn)));return a.contentDidChange({data:re,inputType:"insertText"}),a.silenceNotifications=oe,!0}};function G0(a,y,b,E){var ee;let re,oe=[];if(typeof y!="string"||E.format==="math-json"){const ue=window.MathfieldElement.computeEngine;if(!ue)return["math-json",[]];[re,y]=["latex",ue.box(y).latex],oe=Ts(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([re,y]=Lr(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),oe=Ts(y,{context:a.mathfield.context}),re!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Xh(oe)):(E.format==="auto"||(ee=E.format)!=null&&ee.startsWith("latex"))&&(E.format==="auto"&&([re,y]=Lr(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=bs(y)),oe=Ts(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Xh(oe));return Rc(oe,E.style),[re!=null?re:"latex",oe]}function nv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof ba&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function Xh(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof ba&&b.leftDelim==="("){let E=0,ee=0,re=0;for(let oe=0;b.body[oe];oe++)b.body[oe].type==="genfrac"&&(E++,ee=oe),re++;re===0&&E===1&&(a[y]=b.body[ee])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){Xh(y.branch(b));const E=nv(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof mi)for(const b of y.cells)Xh(b)}}}function rv(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||U0(y));)y=y.leftSibling;else{const ee=[];for(;!y.isFirstSibling&&(U0(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 U0(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new tv;var iv=class extends di{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"),_o(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(ys(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 re=av(y,a.mathfield.context);if(Rc(re,b.style),!re)return!1;const oe=a.at(a.position),ue=oe.parent.addChildrenAfter(re,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ue)):ue&&(a.position=a.offsetOf(ue))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function av(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 "),Ts(a,{context:y,parseMode:"text"})}new iv;function Qu(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var uo=4,wl=20,ws=2*(wl+uo),qh=(a,y)=>`
|
|
|
<line x1="${a+wl}" y1="${y+wl}"
|
|
|
x2="${a>y?a+wl:7*wl+10*uo}"
|
|
|
y2="${a<y?y+wl:7*wl+10*uo}"/>
|
|
|
<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>`,Q0=(a,y)=>`
|
|
|
<line x1="${a+wl}" y1="${y+wl}"
|
|
|
x2="${a>y?a+wl:7*wl+10*uo}"
|
|
|
y2="${a<y?y+wl:7*wl+10*uo}"/>
|
|
|
<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>`,$h=(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>`,ov=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*wl+10*uo+5} ${8*wl+10*uo+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${ws+uo}"
|
|
|
height="${3*ws}"
|
|
|
width="${ws}"
|
|
|
rx="${ws/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${ws+uo}"
|
|
|
y="0"
|
|
|
height="${ws}"
|
|
|
width="${3*ws}"
|
|
|
rx="${ws/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${$h(2*(uo+ws),2*uo+3*ws,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${$h(2*(uo+ws),2*uo+ws,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${$h(2*uo+3*ws,2*(uo+ws),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${$h(2*uo+ws,2*(uo+ws),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${qh(2*uo+ws,uo)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${Q0(2*uo+2*ws,uo)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${qh(2*uo+3*ws,uo)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${qh(uo,2*uo+ws)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${Q0(uo,2*uo+2*ws)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${qh(uo,2*uo+3*ws)}
|
|
|
</g>
|
|
|
</svg>`,sv=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>`,lv=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>`,Y0=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>`,uv=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>`,cv=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>`,dv=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>`,hv=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>`,fv=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>`,Of={matrix:sv,pmatrix:lv,bmatrix:uv,Bmatrix:Y0,vmatrix:cv,Vmatrix:dv},Rf={cases:hv,rcases:fv,Bmatrix:Y0};function pv(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let ee=0;E.forEach(ot=>{(!ee||ot.length>ee)&&(ee=ot.length)});let re=document.getElementById("mathlive-environment-popover");re||(re=Th("mathlive-environment-popover"),Tl("environment-popover"),Tl("core"),re.setAttribute("aria-hidden","true"));let oe;const ue=re.querySelector(".MLEP__environment-controls");ue?oe=ue:(oe=document.createElement("div"),re.innerHTML="",re.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=ov;let he=[],ge="";const ye=a.model.parentEnvironment.environmentName;if(nl(ye)){const ot=gv(ye);ge=Of[ot]("active");const Wt=Of,{[ot]:_n}=Wt,zt=lt(Wt,[rt(ot)]);he=Object.values(zt).map(gn=>gn("inactive"))}else if(rl(ye)){const ot=vv(ye);ge=Rf[ot]("active");const Wt=Rf,{[ot]:_n}=Wt,zt=lt(Wt,[rt(ot)]);he=Object.values(zt).map(gn=>gn("inactive"))}else ds(ye)&&(ge=Of.matrix("active"),he=Object.values(Rf).map(ot=>ot("inactive")));const Ie=document.createElement("div");Ie.className="MLEP__environment-delimiter-controls",Ie.style.display="flex",Ie.style.flexDirection="column",Ie.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${ge}
|
|
|
${he.join("")}
|
|
|
</div>`,ge&&oe.appendChild(Ie),oe.querySelectorAll("[data-command]").forEach(ot=>{const Wt=ot.dataset.command;let _n=Wt;try{_n=JSON.parse(Wt)}catch(zt){}ot.addEventListener("mousedown",zt=>zt.preventDefault()),_n&&ot.addEventListener("click",()=>a.executeCommand(_n))});const qe=(b=a.field)==null?void 0:b.getBoundingClientRect();qe&&(re.style.top=`${window.scrollY+(qe.top-re.clientHeight-15)}px`,re.style.left=`${qe.left+20}px`,re.classList.add("is-visible"))}function zf(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function mv(){document.getElementById("mathlive-environment-popover")&&(bf("mathlive-environment-popover"),x("environment-popover"),x("core"))}function ef(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&Bo(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?pv(a):zf()}function gv(a){return a.replace("*","")}function vv(a){return a==="dcases"?"cases":a}function J0(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function X0(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function _f(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 yv(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 bv(a,y){var b,E,ee;const re=(b=J0(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(),ue=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let he=Math.min(ue,(E=y.height)!=null?E:oe.height),ge=_f(y.location.y,he,y.verticalPos,re);ge+he>window.innerHeight-8&&(y.alternateLocation?(ge=_f(y.alternateLocation.y,he,y.verticalPos,re),ge+he>window.innerHeight-8&&(ge=void 0)):ge=void 0),Number.isFinite(ge)||(ge=Math.max(8,window.innerHeight-8-he),8+he>window.innerHeight-8&&(a.style.bottom="8px")),he=Math.min(ge+he,window.innerHeight-8)-ge;const ye=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Ie=Math.min(ye,(ee=y.width)!=null?ee:oe.width),_e=_f(y.location.x,Ie,y.horizontalPos,re);_e+Ie>window.innerWidth-8&&(y.alternateLocation?(_e=yv(y.alternateLocation.x,Ie,y.verticalPos,re),_e+Ie>window.innerWidth-8&&(_e=void 0)):_e=void 0),Number.isFinite(_e)||(_e=Math.max(8,window.innerWidth-8-Ie),8+Ie>window.innerWidth-8&&(a.style.right="8px")),Ie=Math.min(_e+Ie,window.innerWidth-8)-_e,re==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-_e-Ie).toString()}px`:a.style.left=`${Math.ceil(_e).toString()}px`,a.style.top=`${Math.ceil(ge).toString()}px`,he!==oe.height&&(a.style.height=`${Math.ceil(he).toString()}px`),Ie!==oe.width&&(a.style.width=`${Math.ceil(Ie).toString()}px`)}function xv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Id(a){return"submenu"in a}function Yu(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function jf(a){return"type"in a&&a.type==="divider"}function Hf(a){return"type"in a&&a.type==="heading"}var q0={};function Wf(a){let y=q0[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,q0[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 $0=80,ep=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Id(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=Yu(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(jf(ee)){this.enabled=!1,this.checked=!1;return}Hf(ee)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Yu(ee)&&(this.checked=Yu(ee)&&((y=Td(ee.checked,a))!=null?y:!1)),(Yu(ee)||Id(ee))&&(this.enabled=(b=Td(ee.enabled,a))!=null?b:!0,this.visible=(E=Td(ee.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Yu(ee)||Hf(ee)||Id(ee))&&(this.label=Td(ee.label,a),this.tooltip=Td(ee.tooltip,a),this.ariaLabel=Td(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(Wf("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Wf("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),Yu(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=vf(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Wf("trailing-chevron"))}get element(){if(this._element)return this._element;if(jf(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,(Yu(this._declaration)||Hf(this._declaration)||Id(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(!Yu(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()},$0)},$0)}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=J0(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:X0(b,"trailing",E),y:b.top-4},alternateLocation:{x:X0(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(wv(E,y.clientY-a.clientY,b)<=.2)return!1;let re="right";if(this.submenu.element){const oe=this.submenu.element.getBoundingClientRect(),ue=this.element.getBoundingClientRect();oe.left<ue.left+ue.width/2&&(re="left")}return re==="right"?E>0:E<0}};function wv(a,y,b){return Math.hypot(a,y)/b}function Td(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 jd{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(ge=>ge.updateState(y));const re=this.hasCheck;this.hasCheck=this._menuItems.some(ge=>ge.visible&&ge.hasCheck),this.hasCheck!==re&&this._menuItems.forEach(ge=>ge.updateState(y));let oe,ue=0;for(const ge of this._menuItems)ge.type==="heading"?(oe&&ue===0&&(oe.visible=!1),oe=ge,ue=0):ge.type==="divider"&&oe?(oe.visible=ue>0,oe=void 0,ue=0):oe&&ge.visible&&(ue+=1);oe&&(oe.visible=ue>0);let he=!0;for(const ge of this._menuItems)ge.type==="divider"?(ge.visible=!he,he=!0):ge.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,re;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}):(re=this._element)==null||re.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),re=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(re===Math.abs(y))return this._menuItems[ee];re+=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 jd._collator||(jd._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),jd._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(ue=>ue.type!=="divider"&&ue.visible&&ue.enabled);if(E.length===0)return null;const ee=Math.max(...E.map(ue=>ue.label.length))-y.length;if(ee<0)return null;let re=null,oe=0;for(;oe<ee&&!re;)re=(b=E.find(ue=>jd.collator.compare(y,ue.label.substring(oe,y.length))===0))!=null?b:null,oe++;return re}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&&bv(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,re;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(),(re=(ee=this._element)==null?void 0:ee.parentNode)==null||re.removeChild(this._element)}set openSubmenu(y){var b,E,ee,re;const oe=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",oe.toString())),(re=(ee=this.activeMenuItem)==null?void 0:ee.element)==null||re.classList.toggle("is-submenu-open",oe),this.isSubmenuOpen=oe}},np=class rm 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(rp),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){jm(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=nd(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,ee;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=nd(y));let re=!0;const oe=this.activeSubmenu,ue=oe.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":ue==null||ue.select(nd(y));break;case"ArrowRight":if((ue==null?void 0:ue.type)==="submenu")ue.select(nd(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!ue)oe.activeMenuItem=oe.firstMenuItem;else{const he=(b=oe.getMenuItemColumn(ue))!=null?b:-1;if(he>=0&&he<((E=oe.columnCount)!=null?E:1)-1){const ge=oe.nextMenuItem(1);ge&&(oe.activeMenuItem=ge)}}break;case"ArrowLeft":if(oe===this.rootMenu)ue||(oe.activeMenuItem=oe.firstMenuItem);else if((ue&&(ee=oe.getMenuItemColumn(ue))!=null?ee:-1)<=0||!ue){oe.hide();const ge=oe.parentMenu.activeMenuItem;if(ge){const{element:ye}=ge;ye==null||ye.focus(),ye==null||ye.classList.remove("is-submenu-open")}}else{const ge=oe.nextMenuItem(-1);ge&&(oe.activeMenuItem=ge)}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(Bh(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 re=!1}re&&(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 Vu.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),Vu.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),Vu.state==="open"&&Vu.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(Ce({},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,Vu.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=rm.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 Cv=np;function rp(a){return jf(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Yu(a)||Id(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Yu(a)&&typeof a.checked=="function"?!0:Id(a)?a.submenu.some(rp):!1}var tf=class{};tf.DELAY=300,tf.MAX_DISTANCE=10;function Sv(a){return new Promise((y,b)=>{const E=Dh(a);E||y(!1);let ee=E;const re=setTimeout(()=>{oe.abort(),y(xv(ee,E)<tf.MAX_DISTANCE)},tf.DELAY),oe=new AbortController,ue=oe.signal;for(const he of["pointermove","pointerup","pointercancel"])window.addEventListener(he,ge=>{if(ge.type==="pointerup"||ge.type==="pointercancel")clearTimeout(re),oe.abort(),y(!1);else if(ge.type==="pointermove"){const ye=Dh(ge);ye&&(ee=ye)}},{passive:!0,signal:ue})})}function ip(a,y,b){return jc(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:Dh(E),modifiers:nd(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:nd(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=Dh(a);if(yield Sv(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};qt(Object.keys(ap),"{body:auto}",{createAtom:a=>new z(Me(Ce({},a),{body:ct(a.args[0]),accentChar:ap[a.command.slice(1)]}))}),qt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=ii(ct(a.args[0]));return new z(Me(Ce({},a),{body:ct(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),qt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(Me(Ce({},a),{body:ct(a.args[0]),svgAccent:"overarc"}))}),qt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new pu(Me(Ce({},a),{body:ct(a.args[0]),svgBelow:"underarc"}))}),qt("utilde","{body:auto}",{createAtom:a=>{const y=ct(a.args[0]),b=ii(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new pu(Me(Ce({},a),{body:y,svgBelow:E,boxType:zu(y)}))}}),qt("^","{:string}",{createAtom:a=>{var y;return new tn(Me(Ce({},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:"^"}))}}),qt("`","{:string}",{createAtom:a=>{var y;return new tn(Me(Ce({},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:"`"}))}}),qt("'","{:string}",{createAtom:a=>{var y;return new tn(Me(Ce({},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:"'"}))}}),qt('"',"{:string}",{createAtom:a=>{var y,b;return new tn(Me(Ce({},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]:'"'}))}}),qt(".","{:string}",{createAtom:a=>{var y,b;return new tn(Me(Ce({},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]:"."}))}}),qt("=","{:string}",{createAtom:a=>{var y,b;return new tn(Me(Ce({},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]:"="}))}}),qt("~","{:string}",{createAtom:a=>{var y;return new tn(Me(Ce({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"}))}}),qt("c","{:string}",{createAtom:a=>{var y;return new tn(Me(Ce({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),qt("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 ue of oe){const he=ue.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(he)ee.strokeWidth=he[1],ee.strokeStyle=he[2],ee.strokeColor=he[3];else{const ge=ue.match(/\s*([a-z]*)\s*=\s*"(.*)"/);ge&&(ge[1]==="mathbackground"?ee.backgroundcolor=ge[2]:ge[1]==="mathcolor"?ee.strokeColor=ge[2]:ge[1]==="padding"?ee.padding=ge[2]:ge[1]==="shadow"&&(ee.shadow=ge[2]))}}ee.strokeStyle==="dashed"?ee.svgStrokeStyle="5,5":ee.strokeStyle==="dotted"&&(ee.svgStrokeStyle="1,5")}ee.borderStyle=`${ee.strokeWidth} ${ee.strokeStyle} ${ee.strokeColor}`;const re={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(oe=>oe.length>0).forEach(oe=>{re[oe.toLowerCase()]=!0}),new Xd(a.command,ct(E[2]),re,ee)}}),qt("cancel","{body:auto}",{createAtom:a=>{var y;return new Xd(a.command,ct(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:{}})}}),qt("bcancel","{body:auto}",{createAtom:a=>{var y;return new Xd(a.command,ct(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:{}})}}),qt("xcancel","{body:auto}",{createAtom:a=>{var y;return new Xd(a.command,ct(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:{}})}}),qt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new pu(Me(Ce({},a),{body:ct((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),qt("overbrace","{:auto}",{createAtom:a=>new pu(Me(Ce({},a),{body:ct(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),qt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new pu(Me(Ce({},a),{body:ct(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),qt(["underbrace"],"{:auto}",{createAtom:a=>new pu(Me(Ce({},a),{body:ct(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),qt(["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,re;return new pu(Me(Ce({},a),{svgBody:a.command.slice(1),above:((b=ct((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:ct((E=a.args)==null?void 0:E[1]),below:(re=ct((ee=a.args)==null?void 0:ee[0]))!=null?re: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)}`}),qt(["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 td(a.command.slice(1),Me(Ce({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),qt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new td({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],Me(Ce({},a),{limits:"over-under",variant:"main"}))}),qt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new td(a.command.slice(1),Me(Ce({},a),{limits:"over-under",variant:"main"}))}),qt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new td(a.command.slice(1),Me(Ce({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),qt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new tn(Me(Ce({},a),{body:ct(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 zn("\xB0",{style:Me(Ce({},a.style),{variant:"normal",variantStyle:"up"})});return new zn([b,ee],{type:"inner",isSelected:a.isSelected,caret:E})}}),qt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new o0(Me(Ce({},a),{body:ct(a.args[1]),index:a.args[0]?ct(a.args[0]):void 0}))}),qt(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=Ce({},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 Cd(E[0]?ct(E[0]):[new Wr],E[1]?ct(E[1]):[new Wr],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}`:Qa(a.command,b,E)}}),qt(["brace","brack"],"",{infix:!0,createAtom:a=>new Cd(ct(a.args[0]),ct(a.args[1]),Me(Ce({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Ni([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),qt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new Cd(ct(E[0]),ct(E[1]),Me(Ce({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Ni([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),qt(["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 Cd(ct(E[0]),ct(E[1]),Me(Ce({},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)}`}),qt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new Cd(ct(a.args[0]),ct(a.args[1]),Me(Ce({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),qt(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new hf({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(Ce({},a),{limits:"auto",variant:"main"}))}),qt("smallint","",{ifMode:"math",createAtom:a=>new td("\u222B",Me(Ce({},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"};qt(Object.keys(op),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=op[y.slice(1)];return new hf(b,Me(Ce({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),qt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new td({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],Me(Ce({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),qt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new r0(Me(Ce({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),qt("the","{:value}",{createAtom:a=>new tn(Me(Ce({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new Zi({parent:y},a.style);let ee="";a.isSelected&&(ee+=" ML__selected");const re=E.evaluate(a.args[0]);return new zn(((b=Oo(re))!=null?b:"").split("").map(oe=>new zn(oe,{type:"ord",classes:ee,mode:a.mode,isSelected:a.isSelected,style:Ce({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=Oo(a.args[0]))!=null?y:"\\relax"}`}}),qt("mathtip","{:auto}{:math}",{createAtom:a=>new ff(Me(Ce({},a),{body:ct(a.args[0]),tooltip:ct(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${tn.serialize([a.tooltip],Me(Ce({},y),{defaultMode:"math"}))}}`}),qt("texttip","{:auto}{:text}",{createAtom:a=>new ff(Me(Ce({},a),{body:ct(a.args[0]),tooltip:ct(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${tn.serialize([a.tooltip],Me(Ce({},y),{defaultMode:"text"}))}}`}),qt("error","{:math}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),qt("ensuremath","{:math}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(Me(Ce({},y),{defaultMode:"math"}))}}`}),qt("color","{:value}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Oo(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),qt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Oo(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),qt("boxed","{content:math}",{createAtom:a=>new Jo(Me(Ce({},a),{body:ct(a.args[0]),framecolor:{string:"black"}}))}),qt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimBackgroundColor:(E=Oo(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((ee=y[0])!=null?ee:{string:"yellow"})}}}),qt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Jo(Me(Ce({},a),{body:ct(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(Ce({},y),{defaultMode:"text"})):Qa(a.command,(b=Oo(a.framecolor))!=null?b:"",(E=Oo(a.backgroundcolor))!=null?E:"",a.bodyToLatex(Me(Ce({},y),{defaultMode:"text"})))}}),qt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=ct(a.args[1]);return b?new Jo(Me(Ce({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Jo(Me(Ce({},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 re=[];a.padding&&re.push((b=Oo(a.padding))!=null?b:""),a.border&&re.push(`border: ${a.border}`),a.backgroundcolor&&re.push((E=Oo(a.backgroundcolor))!=null?E:""),ee+=`[${re.join(",")}]`}return Qa(ee,a.bodyToLatex(y))}}),qt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(a.args[0])})),render:(a,y)=>{const b=new Zi({parent:y,mathstyle:a.command.slice(1)},a.style),E=tn.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):`{${Ni([a.command,a.bodyToLatex(y)])}}`}),qt(["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]})}),qt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),qt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),qt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),qt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),qt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),qt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new tn(Me(Ce({},a),{body:ct(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),qt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),qt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),qt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),qt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),qt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),qt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),qt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),qt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),qt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),qt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),qt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),qt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),qt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),qt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),qt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),qt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),qt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),qt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),qt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),qt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),qt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),qt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),qt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),qt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),qt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),qt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),qt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),qt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),qt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),qt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),qt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),qt("mbox","{:text}",{ifMode:"math",createAtom:a=>new tn(Me(Ce({},a),{type:"mord",body:ct(a.args[0]),mode:"math"})),serialize:(a,y)=>Qa("\\mbox",a.bodyToLatex(Me(Ce({},y),{defaultMode:"text"})))}),qt("text","{:text}",{ifMode:"math",applyMode:"text"}),qt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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:""})}}),qt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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}}),qt("htmlData","{data:string}{content:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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}}),qt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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}}),qt("em","{:rest}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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"})}),qt("emph","{:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(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}};qt(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new i0(Me(Ce({},a),{delim:(y=a.args[0])!=null?y:".",size:sp[a.command].size,delimType:sp[a.command].mclass}))}}),qt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new eh(Me(Ce({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),qt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new eh(Me(Ce({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),qt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new tn(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===pc||E===Hl)&&(b=1),(E===Eu||E===As)&&(b=2),(E===tl||E===cs)&&(b=3);const ee=ct(a.args[b]);return tn.createBox(y,ee)},serialize:(a,y)=>`\\mathchoice{${tn.serialize(a.args[0],y)}}{${tn.serialize(a.args[1],y)}}{${tn.serialize(a.args[2],y)}}{${tn.serialize(a.args[3],y)}}`}),qt("mathop","{:auto}",{createAtom:a=>new tn(Me(Ce({},a),{type:"mop",body:ct(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=tn.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 zn(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Qa(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)),Ni(b)}}),qt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new tn(Me(Ce({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:ct(a.args[0])}))}),qt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=ct(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 tn(Me(Ce({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=tn.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 zn(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Qa(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)),Ni(b)}}),qt(["char","unicode"],"{charcode:value}",{createAtom:a=>new tn(Me(Ce({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Oo((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)}}),qt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new tn(a),render:(a,y)=>{var b,E,ee;const re=new Zi({parent:y,mathstyle:"textstyle"},a.style),oe=re.toEm((b=a.args[0])!=null?b:{dimension:0}),ue=re.toEm((E=a.args[1])!=null?E:{dimension:10}),he=re.toEm((ee=a.args[2])!=null?ee:{dimension:10}),ge=new zn(null,{classes:"rule",type:"ord"});return ge.width=ue,ge.height=he+oe,ge.depth=-oe,ge.setStyle("border-right-width",ue,"em"),ge.setStyle("border-top-width",he,"em"),ge.setStyle("border-color",a.style.color),ge.setStyle("vertical-align",oe,"em"),a.isSelected&&ge.setStyle("opacity","50%"),a.bind(re,ge),a.caret&&(ge.caret=a.caret),ge.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Oo(a.args[0])}]`:""}{${Oo(a.args[1])}}{${Oo(a.args[2])}}`}),qt(["overline","underline"],"{:auto}",{createAtom:a=>new tn(Me(Ce({},a),{body:ct(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new Zi({parent:y,mathstyle:"cramp"},a.style),ee=tn.createBox(E,a.body);if(!ee)return null;const re=E.metrics.defaultRuleThickness/E.scalingFactor,oe=new zn(null,{classes:b+"-line"});oe.height=re,oe.maxFontSize=re*1.125*E.scalingFactor;let ue;return b==="overline"?ue=new Ra({shift:0,children:[{box:ee},3*re,{box:oe},re]}):ue=new Ra({top:ee.height,children:[re,{box:oe},3*re,{box:ee}]}),a.caret&&(ue.caret=a.caret),new zn(ue,{classes:b,type:"ignore"})}}),qt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=ct(a.args[1]);return new pu(Me(Ce({},a),{above:ct(a.args[0]),body:y,skipBoundary:!1,boxType:zu(y)}))},serialize:(a,y)=>Qa(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),qt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=ct(a.args[1]);return new pu(Me(Ce({},a),{below:ct(a.args[0]),body:y,skipBoundary:!1,boxType:zu(y)}))},serialize:(a,y)=>Qa(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),qt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=ct(a.args[2]);return new pu(Me(Ce({},a),{above:ct(a.args[0]),below:ct(a.args[1]),body:y,skipBoundary:!1,boxType:zu(y)}))},serialize:(a,y)=>Qa(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),qt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new pu(Me(Ce({},a),{body:ct(a.args[2]),above:ct(a.args[1]),below:ct(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>Qa(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),qt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,ee;return new $d(Me(Ce({},a),{body:ct(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}))}}),qt(["vphantom"],"{:auto}",{createAtom:a=>new $d(Me(Ce({},a),{body:ct(a.args[0]),isInvisible:!0,smashWidth:!0}))}),qt(["hphantom"],"{:auto}",{createAtom:a=>new $d(Me(Ce({},a),{body:ct(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),qt(["phantom"],"{:auto}",{createAtom:a=>new $d(Me(Ce({},a),{body:ct(a.args[0]),isInvisible:!0}))}),qt("not","{:math}",{createAtom:a=>{const y=ct(a.args[0]);return y.length===0?new tn(Me(Ce({},a),{type:"mrel",value:"\uE020"})):new tn(Me(Ce({},a),{body:[new ed(Me(Ce({},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{${tn.serialize(b.group,y)}}`:`\\not${tn.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":zu(ct(a.args[0])),ee=tn.createBox(y,a.body,{type:E});return a.caret&&(ee.caret=a.caret),a.bind(y,ee)}}),qt(["ne","neq"],"",{createAtom:a=>new tn(Me(Ce({},a),{type:"mrel",body:[new ed(Me(Ce({},a),{body:"\uE020",align:"right",boxType:"rel"})),new tn(Me(Ce({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),qt("rlap","{:auto}",{createAtom:a=>new ed(Me(Ce({},a),{body:ct(a.args[0]),align:"right"}))}),qt("llap","{:auto}",{createAtom:a=>new ed(Me(Ce({},a),{body:ct(a.args[0]),align:"left"}))}),qt("mathrlap","{:math}",{createAtom:a=>new ed(Me(Ce({},a),{body:ct(a.args[0]),align:"left"}))}),qt("mathllap","{:math}",{createAtom:a=>new ed(Me(Ce({},a),{body:ct(a.args[0]),align:"left"}))}),qt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Jo(Me(Ce({},a),{body:ct(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Qa("\\raisebox",(b=Oo(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),qt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Jo(Me(Ce({},a),{body:ct(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Qa("\\raise",(b=Oo(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),qt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Jo(Me(Ce({},a),{body:ct(a.args[1]),padding:{dimension:0},offset:(y=Il(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return Qa("\\lower",(E=Oo(Il((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),st("0123456789/@.?!"),An(65,90),An(97,122),st([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),st([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),st([["\\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]]),st([["\\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"),st([["\\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"]]),st([["\\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"]]),st([["\\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"),st([["+",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"),st([["\\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"),st([["\\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]]),st([["=",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"),st([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),st([["\\wp",8472],["\\aleph",8501]]),st([["\\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"),st([["\\ ",160],["~",160]],"space"),qt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new eh(a)}),qt("space","",{createAtom:a=>new eh(a)}),st([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),st([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),st([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var lp="<mo>⁡</mo>",nf="<mo>⁢</mo>";function rf(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Xa(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Ev(a,y,b){var E,ee,re,oe,ue,he,ge,ye,Ie,_e,qe;let ot=!1;y=y!=null?y:a.atoms.length;let Wt="",_n="",zt=a.atoms[a.index];const gn=(ee=(E=zt.style)==null?void 0:E.variant)!=null?ee:"",Kn=(oe=(re=zt.style)==null?void 0:re.variantStyle)!=null?oe:"";let Mn="";if(gn||Kn){const zr=bn(zt.value,(ue=zt.style)==null?void 0:ue.variant,(he=zt.style)==null?void 0:he.variantStyle);if(zr!==zt.value)return a.index+=1,Wt=`<mi${Xa(zt.id,b)}>${zr}</mi>`,xc(Wt,a,b)||(a.mathML+=Wt,a.lastType="mi"),!0;Mn=(ge={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"}[Kn+gn])!=null?ge:"",Mn=` mathvariant="${Mn}"`}const Cr={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(zt.command==="!")return a.index+=1,Wt="<mo>!</mo>",xc(Wt,a,b)||(a.mathML+=Wt,a.lastType="mo"),!0;if(Cr[zt.command]){a.index+=1;let zr=`<mi${Xa(zt.id,b)}${Mn}>${Cr[zt.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(zr=nf+zr),xc(zr,a,b)||(a.mathML+=zr,a.lastType="mi"),!0}if(zt.command==="\\operatorname")_n=Fd(zt.body),a.index+=1;else if(gn||Kn)for(;a.index<y&&(zt.type==="mord"||zt.type==="macro")&&!zt.isDigit()&&gn===((Ie=(ye=zt.style)==null?void 0:ye.variant)!=null?Ie:"")&&Kn===((qe=(_e=zt.style)==null?void 0:_e.variantStyle)!=null?qe:"");)_n+=Fd([zt]),a.index+=1,zt=a.atoms[a.index];else(zt.type==="mord"||zt.type==="macro")&&!zt.isDigit()&&(_n+=Fd([zt]),a.index+=1);if(_n.length>0){ot=!0,Wt=`<mi${Mn}>${_n}</mi>`;const zr=a.lastType;Wt.endsWith(">f</mi>")||Wt.endsWith(">g</mi>")?(Wt+=lp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Wt)?"mo":"mi",xc(Wt,a,b)||((zr==="mi"||zr==="mn"||zr==="mtext"||zr==="fence")&&(Wt=nf+Wt),a.mathML+=Wt)}return ot}function Av(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Mv(a){let y=-1,b=a.index,E=!1,ee=!1;for(;b<a.atoms.length&&!E&&!ee;){const re=a.atoms[b];E=!re.isDigit(),ee=!E&&re.superscript!==void 0,b++}return ee&&(y=b-1),y}function xc(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 re=y.lastType;y.lastType="";const oe=xa(ee.superscript,b);y.lastType="";const ue=xa(ee.subscript,b);if(y.lastType=re,!oe&&!ue)return!1;let he="";return oe&&ue?he=`<msubsup>${a}${ue}${oe}</msubsup>`:oe?he=`<msup>${a}${oe}</msup>`:ue&&(he=`<msub>${a}${ue}</msub>`),y.mathML+=he,y.lastType="",!0}function kv(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 ${Xa(a.atoms[E].id,b)}>${ee}</mtext>`,a.lastType="mtext",!0):!1}function Dv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="",re=Mv(a);for(re>=0&&re<y&&(y=re);a.index<y&&a.atoms[a.index].isDigit();)ee+=a.atoms[a.index].asDigit(),a.index+=1;return ee.length<=0?!1:(ee="<mn"+Xa(a.atoms[E].id,b)+">"+ee+"</mn>",re<0&&Av(a)&&(re=a.index,a.index+=1),xc(ee,a,b)||(a.mathML+=ee,a.lastType="mn"),!0)}function Bv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let oe=!1,ue=0;const he=a.index;let ge=-1,ye=he+1;for(;ye<y&&!oe;)a.atoms[ye].type==="mopen"?ue+=1:a.atoms[ye].type==="mclose"&&(ue-=1),ue===-1&&(oe=!0,ge=ye),ye+=1;oe&&(ee="<mrow>",ee+=dd(a.atoms[he],b),ee+=xa(a.atoms,b,he+1,ge),ee+=dd(a.atoms[ge],b),ee+="</mrow>",a.index=ge+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=nf),xc(ee,a,b)&&(E=!0,a.lastType="",ee=""),re="fence")}return ee.length>0&&(E=!0,a.mathML+=ee,a.lastType=re),E}function Lv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";const oe=a.atoms[a.index];if(!oe)return!1;const ue={"\\ne":"≠","\\neq":"&neq;","\\pm":"±","\\times":"×","\\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(ue[oe.command]){a.index+=1;const he=`<mo${Xa(oe.id,b)}>${ue[oe.command]}</mo>`;return xc(he,a,b)||(a.mathML+=he,a.lastType="mo"),!0}if(a.index<y&&(oe.type==="mbin"||oe.type==="mrel"))ee+=Kf(a.atoms[a.index],b),a.index+=1,re="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=dd(oe,b);return oe.superscript&&oe.subscript?(ee+="<munderover>"+he,ee+=xa(oe.subscript,b),ee+=xa(oe.superscript,b),ee+="</munderover>"):oe.superscript?(ee+="<mover>"+he,ee+=xa(oe.superscript,b),ee+="</mover>"):oe.subscript&&(ee+="<munder>"+he,ee+=xa(oe.subscript,b),ee+="</munder>"),a.mathML+=ee,a.lastType="mo",a.index+=1,!0}{const he=a.atoms[a.index],ge=he.value==="\\operatorname",ye=ge?'<mi class="MathML-Unit"'+Xa(he.id,b)+">"+Fd(he.value)+"</mi>":dd(he,b);ee+=ye,!ge&&!/^<mo>(.*)<\/mo>$/.test(ye)?(ee+=lp,re="applyfunction"):re=ge?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ee)&&(ee=nf+ee),a.index+=1}return ee.length>0&&(E=!0,xc(ee,a,b)||(a.mathML+=ee,a.lastType=re)),E}function xa(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 tn)ee.mathML=Kf(a,y);else if(Array.isArray(a)){ee.atoms=a;let re=0;for(E=E||(a?a.length:0);ee.index<E;)if(kv(ee,E,y)||Dv(ee,E,y)||Ev(ee,E,y)||Lv(ee,E,y)||Bv(ee,E,y))re+=1;else if(ee.index<E){let oe=Kf(ee.atoms[ee.index],y);ee.lastType==="mn"&&oe.length>0&&ee.atoms[ee.index].type==="genfrac"&&(oe="<mo>⁤</mo>"+oe),ee.atoms[ee.index].type==="genfrac"?ee.lastType="mfrac":ee.lastType="",ee.index+=1,xc(oe,ee,y)?re+=1:oe.length>0&&(ee.mathML+=oe,re+=1)}re>1&&(ee.mathML="<mrow>"+ee.mathML+"</mrow>")}return ee.mathML}function dd(a,y){let b="";const E=Fd(a.value);return E&&(b="<mo"+Xa(a.id,y)+">"+E+"</mo>"),b}function Fd(a){if(!a)return"";if(typeof a=="string")return rf(a);if(!Array.isArray(a)&&typeof a.body=="string")return rf(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return rf(y)}function Kf(a,y){var b,E,ee,re,oe,ue,he,ge,ye,Ie,_e,qe,ot,Wt,_n,zt,gn,Kn,Mn,Cr,zr,Nr;if(a.mode==="text")return`<mi${Xa(a.id,y)}>${a.value}</mi>`;const sa={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"},Wa={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let Un="",Ql="",Xu,gu,Ns,Yl,Cl,qa;const{command:qo}=a;if(a.command==="\\error")return`<merror${Xa(a.id,y)}>${xa(a.body,y)}</merror>`;const Ps={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},qu={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":Un=xa(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(Un+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(Un+="<mo>"+(Ps[a.leftDelim]||a.leftDelim)+"</mo>")),Un+="<mtable",a.colFormat){for(Un+=' columnalign="',Ns=0;Ns<a.colFormat.length;Ns++)a.colFormat[Ns].align&&(Un+={l:"left",c:"center",r:"right"}[a.colFormat[Ns].align]+" ");Un+='"'}for(Un+=">",gu=0;gu<a.array.length;gu++){for(Un+="<mtr>",Xu=0;Xu<a.array[gu].length;Xu++)Un+="<mtd>"+xa(a.array[gu][Xu],y)+"</mtd>";Un+="</mtr>"}Un+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(Un+="<mo>"+(Ps[a.leftDelim]||a.rightDelim)+"</mo>"),Un+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(Un+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(Un+="<mo"+Xa(a.id,y)+">"+(Ps[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(Un+="<mfrac>",Un+=xa(a.above,y)||"<mi> </mi>",Un+=xa(a.below,y)||"<mi> </mi>",Un+="</mfrac>"):(Un+="<mtable"+Xa(a.id,y)+">",Un+="<mtr>"+xa(a.above,y)+"</mtr>",Un+="<mtr>"+xa(a.below,y)+"</mtr>",Un+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(Un+="<mo"+Xa(a.id,y)+">"+(Ps[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(Un+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(Un+="<msqrt"+Xa(a.id,y)+">",Un+=xa(a.body,y),Un+="</msqrt>"):(Un+="<mroot"+Xa(a.id,y)+">",Un+=xa(a.body,y),Un+=xa(a.above,y),Un+="</mroot>");break;case"leftright":const $u=a,ec=$u.leftDelim;Un="<mrow>",ec&&ec!=="."&&(Un+=`<mo${Xa(a.id,y)}>${(b=Ps[ec])!=null?b:ec}</mo>`),a.body&&(Un+=xa(a.body,y));const tc=$u.matchingRightDelim();tc&&tc!=="."&&(Un+=`<mo${Xa(a.id,y)}>${(E=Ps[tc])!=null?E:tc}</mo>`),Un+="</mrow>";break;case"sizeddelim":case"delim":Un+=`<mo${Xa(a.id,y)}>${Ps[a.value]||a.value}</mo>`;break;case"accent":Un+='<mover accent="true"'+Xa(a.id,y)+">",Un+=xa(a.body,y),Un+="<mo>"+(qu[qo]||a.accent)+"</mo>",Un+="</mover>";break;case"line":case"overlap":break;case"overunder":Cl=a.above,Yl=a.below,(a.svgAbove||Cl)&&(a.svgBelow||Yl)?qa=a.body:Cl&&Cl.length>0?(qa=a.body,(re=(ee=a.body)==null?void 0:ee[0])!=null&&re.below?(Yl=a.body[0].below,qa=a.body[0].body):((ue=(oe=a.body)==null?void 0:oe[0])==null?void 0:ue.type)==="first"&&((ge=(he=a.body)==null?void 0:he[1])!=null&&ge.below)&&(Yl=a.body[1].below,qa=a.body[1].body)):Yl&&Yl.length>0&&(qa=a.body,(Ie=(ye=a.body)==null?void 0:ye[0])!=null&&Ie.above?(Cl=a.body[0].above,qa=a.body[0].body):((qe=(_e=a.body)==null?void 0:_e[0])==null?void 0:qe.type)==="first"&&((Wt=(ot=a.body)==null?void 0:ot[1])!=null&&Wt.above)&&(Cl=a.body[1].overscript,qa=a.body[1].body)),(a.svgAbove||Cl)&&(a.svgBelow||Yl)?(Un+=`<munderover ${Xa(a.id,y)}>`,Un+=(_n=sa[a.svgBody])!=null?_n:xa(qa,y),Un+=(zt=sa[a.svgBelow])!=null?zt:xa(Yl,y),Un+=(gn=sa[a.svgAbove])!=null?gn:xa(Cl,y),Un+="</munderover>"):a.svgAbove||Cl?(Un+=`<mover ${Xa(a.id,y)}>`+((Kn=sa[a.svgBody])!=null?Kn:xa(qa,y)),Un+=(Mn=sa[a.svgAbove])!=null?Mn:xa(Cl,y),Un+="</mover>"):(a.svgBelow||Yl)&&(Un+=`<munder ${Xa(a.id,y)}>`+((Cr=sa[a.svgBody])!=null?Cr:xa(qa,y)),Un+=(zr=sa[a.svgBelow])!=null?zr:xa(Yl,y),Un+="</munder>");break;case"placeholder":Un+="?";break;case"mord":{Un=typeof a.value=="string"?a.value:qo,qo==="\\char"?Un="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":Un.length>0&&Un.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?Un="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?Un=a.value.charAt(0):(console.error("Did not expect this"),Un=""));const Lu=/\d/.test(Un)?"mn":"mi";Un=`<${Lu}${Xa(a.id,y)}>${rf(Un)}</${Lu}>`;break}case"mbin":case"mrel":case"minner":Un=dd(a,y);break;case"mpunct":Un='<mo separator="true"'+Xa(a.id,y)+">"+qo+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(Un="<mo"+Xa(a.id,y)+">",Un+=qo==="\\operatorname"?a.body:qo||a.body,Un+="</mo>");break;case"box":Un='<menclose notation="box"',a.backgroundcolor&&(Un+=' mathbackground="'+a.backgroundcolor+'"'),Un+=Xa(a.id,y)+">"+xa(a.body,y)+"</menclose>";break;case"spacing":Un+='<mspace width="'+((Nr=Wa[qo])!=null?Nr:0)+'em"/>';break;case"enclose":Un='<menclose notation="';for(const Lu in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Lu)&&a.notation[Lu]&&(Un+=Ql+Lu,Ql=" ");Un+=Xa(a.id,y)+'">'+xa(a.body,y)+"</menclose>";break;case"prompt":Un='<menclose notation="roundexbox""">'+xa(a.body,y)+"</menclose>";break;case"space":Un+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":Un+=dd(a,y);break;case"mclose":Un+=dd(a,y);break;case"macro":{const Lu=a.command+Fd(a.macroArgs);Lu&&(Un+=`<mo ${Xa(a.id,y)}>${Lu}</mo>`)}break;case"latexgroup":Un+=xa(a.body,y);break;case"latex":Un+="<mtext"+Xa(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":Un+=xa(a.body,y);break;case"text":Un+=`<mtext ${Xa(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Xa(a.id,y)} displaystyle="true">${xa(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Xa(a.id,y)} displaystyle="false">${xa(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return Un}var Nd={"\\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"},Zf={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 Iv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function mh(a){let y=0;if(Te(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Tv(a){if(Te(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function up(a){let y="";if(Te(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Fv(a){return a?a.map(y=>y.value).join(""):""}function Yi(a,y){var b,E,ee,re,oe;function ue(ye){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(ye)?` <say-as interpret-as="character">${ye}</say-as>`:/[A-Z]/.test(ye)?`capital <say-as interpret-as="character">${ye.toLowerCase()}</say-as>`:ye:/[a-z]/.test(ye)?" '"+ye.toUpperCase()+"'":/[A-Z]/.test(ye)?" 'capital "+ye.toUpperCase()+"'":ye}function he(ye){return"<emphasis>"+ye+"</emphasis>"}if(!y)return"";let ge="";if(Te(y)){let ye=!1,Ie=!1;for(let _e=0;_e<y.length;_e++)y[_e].type!=="first"&&(y[_e].mode!=="text"&&(Ie=!1),_e<y.length-2&&y[_e].type==="mopen"&&y[_e+2].type==="mclose"&&y[_e+1].type==="mord"?(ge+=" of ",ge+=he(Yi(a,y[_e+1])),_e+=2):y[_e].mode==="text"?Ie?ge+=(b=y[_e].value)!=null?b:" ":(Ie=!0,ge+=Yi("text",y[_e])):y[_e].isDigit()?ye?ge+=y[_e].asDigit():(ye=!0,ge+=Yi(a,y[_e])):(ye=!1,ge+=Yi(a,y[_e])))}else if(y.mode==="text")y.id&&a==="math"&&(ge+='<mark name="'+y.id.toString()+'"/>'),ge+=y.value;else{y.id&&a==="math"&&(ge+='<mark name="'+y.id.toString()+'"/>');let ye="",Ie="",_e="",qe=!1;const{command:ot}=y;switch(ot){case"\\vec":return"vector "+Yi(a,y.body);case"\\acute":return Yi(a,y.body)+" acute";case"\\grave":return Yi(a,y.body)+" grave";case"\\dot":return"dot over"+Yi(a,y.body);case"\\ddot":return"double dot over"+Yi(a,y.body);case"\\mathring":return"ring over"+Yi(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Yi(a,y.body);case"\\bar":return Yi(a,y.body)+" bar";case"\\breve":return Yi(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Yi(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Yi(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Yi(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Yi(a,y.body)}switch(y.type){case"prompt":const Wt=y.body.length>1?'start input . <break time="500ms"/> '+Yi(a,y.body)+'. <break time="500ms"/> end input':"blank";ge+=' <break time="300ms"/> '+Wt+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const _n=y.array,zt=y.environmentName;if(Object.keys(Zf).includes(zt)){ge+=` begin ${Zf[zt]} `;for(let Mn=0;Mn<_n.length;Mn++){Mn>0&&(ge+=","),ge+=` row ${Mn+1} `;for(let Cr=0;Cr<_n[Mn].length;Cr++)Cr>0&&(ge+=","),ge+=` column ${Cr+1}: `,ge+=Yi("math",_n[Mn][Cr])}ge+=` end ${Zf[zt]} `}break;case"group":ot==="\\ne"?ge+=" not equal ":(ot==="\\not"&&(ge+=" not "),ge+=Yi("math",y.body));break;case"root":ge+=Yi("math",y.body);break;case"genfrac":if(ye=Yi("math",y.above),Ie=Yi("math",y.below),mh(y.above)&&mh(y.below)){const Cr={"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)];Cr?ge=Cr:ge+=ye+" over "+Ie}else ge+=' the fraction <break time="150ms"/>'+ye+' over <break time="150ms"/>'+Ie+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(_e=Yi("math",y.body),y.hasEmptyBranch("above"))ge+=mh(y.body)?" the square root of "+_e+" , ":' the square root of <break time="200ms"/>'+_e+'. <break time="200ms"/> End square root';else{let Mn=Yi("math",y.above);Mn=Mn.trim();const Cr=Mn.replace(/<mark([^/]*)\/>/g,"");Cr==="3"?ge+=' the cube root of <break time="200ms"/>'+_e+'. <break time="200ms"/> End cube root':Cr==="n"?ge+=' the nth root of <break time="200ms"/>'+_e+'. <break time="200ms"/> End root':ge+=' the root with index: <break time="200ms"/>'+Mn+', of <break time="200ms"/>'+_e+'. <break time="200ms"/> End root'}break;case"leftright":{const Mn=y;ge+=(ee=Mn.leftDelim?Nd[Mn.leftDelim]:void 0)!=null?ee:Mn.leftDelim,ge+=Yi("math",y.body),ge+=(re=Mn.rightDelim?Nd[Mn.rightDelim]:void 0)!=null?re:Mn.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const gn=ot.replace(/^\\/g,""),Kn=co()[gn];Kn&&(Kn!=null&&Kn.expand?ge+=Yi("math",y.body):ge+=`${gn} `);break;case"placeholder":ge+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(ot==="\\mathbin"||ot==="\\mathrel"||ot==="\\mathopen"||ot==="\\mathclose"||ot==="\\mathpunct"||ot==="\\mathord"||ot==="\\mathinner"){ge=Yi(a,y.body);break}let Mn=y.isDigit()?y.asDigit():y.value,Cr=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Cr=y.value,Mn=Cr),a==="text")ge+=Mn;else{if(y.type==="mbin"&&(ge+='<break time="150ms"/>'),Mn){const zr=Nd[Mn]||(Cr?Nd[Cr.trim()]:"");if(zr)ge+=" "+zr;else{const Nr=Cr?Iv(Cr.trim()):"";ge+=Nr||ue(Mn)}}else ge+=Yi("math",y.body);y.type==="mbin"&&(ge+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const Mn=y.command;if(Mn==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Cr=Yi("math",y.superscript);Cr=Cr.trim();let zr=Yi("math",y.subscript);zr=zr.trim(),ge+=' the summation from <break time="200ms"/>'+zr+'<break time="200ms"/> to <break time="200ms"/>'+Cr+'<break time="200ms"/> of <break time="150ms"/>',qe=!0}else if(y.hasEmptyBranch("subscript"))ge+=" the summation of";else{let Cr=Yi("math",y.subscript);Cr=Cr.trim(),ge+=' the summation from <break time="200ms"/>'+Cr+'<break time="200ms"/> of <break time="150ms"/>',qe=!0}else if(Mn==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Cr=Yi("math",y.superscript);Cr=Cr.trim();let zr=Yi("math",y.subscript);zr=zr.trim(),ge+=' the product from <break time="200ms"/>'+zr+'<break time="200ms"/> to <break time="200ms"/>'+Cr+'<break time="200ms"/> of <break time="150ms"/>',qe=!0}else if(y.hasEmptyBranch("subscript"))ge+=" the product of ";else{let Cr=Yi("math",y.subscript);Cr=Cr.trim(),ge+=' the product from <break time="200ms"/>'+Cr+'<break time="200ms"/> of <break time="150ms"/>',qe=!0}else if(Mn==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Cr=Yi("math",y.superscript);Cr=Cr.trim();let zr=Yi("math",y.subscript);zr=zr.trim(),ge+=' the integral from <break time="200ms"/>'+he(zr)+'<break time="200ms"/> to <break time="200ms"/>'+he(Cr)+' <break time="200ms"/> of ',qe=!0}else ge+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Cr=(oe=Nd[y.value])!=null?oe:y.command?Nd[y.command]:void 0;ge+=Cr||" "+y.value}else y.command&&(y.command==="\\mathop"?ge+=Yi("math",y.body):y.command==="\\operatorname"?ge+=Fv(y.body):ge+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":_e=Yi("math",y.body),ge+=" crossed out "+_e+". End crossed out.";break;case"space":case"spacing":break}if(!qe&&!y.hasEmptyBranch("superscript")){let Wt=Yi(a,y.superscript);Wt=Wt.trim();const _n=Wt.replace(/<[^>]*>/g,"");if(mh(y.superscript)){if(a==="math"){const zt=Tv(y.superscript);zt&&(ge+='<mark name="'+zt+'"/>')}_n==="\u2032"?ge+=" prime ":_n==="2"?ge+=" squared ":_n==="3"?ge+=" cubed ":Number.isNaN(Number.parseInt(_n))?ge+=" to the "+Wt+"; ":ge+=' to the <say-as interpret-as="ordinal">'+_n+"</say-as> power; "}else Number.isNaN(Number.parseInt(_n))?ge+=" raised to the "+Wt+"; ":ge+=' raised to the <say-as interpret-as="ordinal">'+_n+"</say-as> power; "}if(!qe&&!y.hasEmptyBranch("subscript")){let Wt=Yi("math",y.subscript);Wt=Wt.trim(),ge+=mh(y.subscript)?" sub "+Wt:" subscript "+Wt+". End subscript. "}}return ge}function Pd(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ee=xa(a);if(ee){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=Me(Ce({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=Me(Ce({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=Me(Ce({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const re=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&re.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let oe="";try{oe=re.toSpeech(ee)}catch(ue){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",ue)}return oe}return""}let E=Yi("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"&&He()==="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 gh={"\\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"},vh={"\\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 Nv(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 Xo(a){var y,b,E,ee,re,oe,ue,he,ge,ye,Ie,_e,qe;if(!a)return"";if(Te(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Xo).join("");if(a[0].mode==="text"){let Kn=0,Mn="";for(;((y=a[Kn])==null?void 0:y.mode)==="text";)Mn+=a[Kn].body?Xo(a[Kn].body):a[Kn].value,Kn++;return`"${Mn}" ${Xo(a.slice(Kn))}`}let zt=0;const gn=[];for(;a[zt]&&a[zt].mode==="math";){let Kn="";for(;a[zt]&&a[zt].type==="mord"&&/\d/.test(a[zt].value);)Kn+=a[zt++].value;Kn?gn.push(Kn):gn.push(Xo(a[zt++]))}return gn.push(Xo(a.slice(zt))),Nv(gn)}if(a.mode==="text")return`"${a.value}"`;let ot="";const{command:Wt}=a;let _n;if(Wt==="\\placeholder")return`(${Xo(a.body)})`;switch(a.type){case"accent":const zt={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Wt];ot=`${zt!=null?zt:""} ${Xo(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Nr=>Nr.value).join("");case"group":case"root":ot=(b=gh[Wt])!=null?b:Xo(a.body);break;case"genfrac":{const Nr=a;(Nr.leftDelim||Nr.rightDelim)&&(ot=Nr.leftDelim==="."||!Nr.leftDelim?"{:":Nr.leftDelim),Nr.hasBarLine?(ot+="(",ot+=Xo(Nr.above),ot+=")/(",ot+=Xo(Nr.below),ot+=")"):(ot+="("+Xo(Nr.above)+"),",ot+="("+Xo(Nr.below)+")"),(Nr.leftDelim||Nr.rightDelim)&&(ot+=Nr.rightDelim==="."||!Nr.rightDelim?"{:":Nr.rightDelim)}break;case"surd":ot+=a.hasEmptyBranch("above")?"sqrt("+Xo(a.body)+")":"root("+Xo(a.above)+")("+Xo(a.body)+")";break;case"latex":ot=a.value;break;case"leftright":{const Nr=a,sa=Nr.leftDelim;ot+=sa==="."||!sa?"{:":sa,ot+=Xo(Nr.body);const Wa=Nr.matchingRightDelim();ot+=Wa==="."||!Wa?":}":Wa}break;case"sizeddelim":case"delim":ot=a.value;break;case"overlap":break;case"overunder":break;case"mord":ot=(ee=(E=gh[Wt])!=null?E:Wt)!=null?ee:typeof a.value=="string"?a.value:"",ot.startsWith("\\")&&(ot+=" "),_n=Wt?Wt.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,_n?ot=String.fromCodePoint(Number.parseInt("0x"+_n[1])):ot.length>0&&ot.startsWith("\\")&&(ot=typeof a.value=="string"?a.value.charAt(0):a.command),ot=Pv(ot,a.style);break;case"mbin":case"mrel":case"minner":ot=(oe=(re=gh[Wt])!=null?re:vh[Wt])!=null?oe:a.value;break;case"mopen":case"mclose":ot=a.value;break;case"mpunct":ot=(ue=vh[Wt])!=null?ue:Wt;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(vh[Wt]?ot=vh[Wt]:ot=Wt==="\\operatorname"?Xo(a.body):(he=a.value)!=null?he:Wt,ot+=" ");break;case"array":const gn=a.array,Kn=a.environmentName,Mn=(ge={bmatrix:["[","]"],"bmatrix*":["[","]"]}[Kn])!=null?ge:["(",")"],Cr=[];for(const Nr of gn){const sa=[];for(const Wa of Nr)sa.push(Mn[0]+Xo(Wa)+Mn[1]);Cr.push(sa.join(","))}const zr=(ye={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[Kn])!=null?ye:["(",")"];ot=zr[0]+Cr.join(",")+zr[1];break;case"box":break;case"spacing":ot=(Ie=gh[Wt])!=null?Ie:" ";break;case"enclose":ot="("+Xo(a.body)+")";break;case"space":ot=" ";break;case"subsup":ot="";break;case"macro":ot=(qe=(_e=gh[Wt])!=null?_e:vh[Wt])!=null?qe:Xo(a.body);break}if(!a.hasEmptyBranch("subscript")){ot+="_";const zt=Xo(a.subscript);ot+=zt.length!==1?`(${zt})`:zt}if(!a.hasEmptyBranch("superscript")){ot+="^";const zt=Xo(a.superscript);ot+=zt.length!==1?`(${zt})`:zt}return ot}function Pv(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 Fs(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ee=new Zi({from:Me(Ce({},Ic()),{renderPlaceholder:()=>new zn(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),oe=new tn({mode:"math",type:"root",body:Ts(a,{context:ee,parseMode:"math",mathstyle:y.mathstyle})}).render(ee);return oe?(_u(th(oe,ee)),kc(oe,{classes:"ML__latex"}).toMarkup()):""}function k1(a){return t0(a,{context:Ic()})}function Ov(a,y={}){return xa(Ts(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Rv(a){const y=Ts(a,{parseMode:"math",mathstyle:"displaystyle"});return Pd(y)}var af;function zv(a){var y,b;if(!af){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?af=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=af==null?void 0:af.box(a).latex)!=null?b:""}function D1(a,y="math"){return Xo(new tn({type:"root",body:Ts(a,{parseMode:y})}))}function B1(a){return Lr(a,{format:"ascii-math"})[1]}function Vf(a){if(typeof a=="string"){const y=_v(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Hv(a):"a"in a?cp(a):a}function Od(a){return a<0?0:a>255?255:Math.round(a)}function _v(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 Gf(a){const[y,b,E]=[a.L,a.C,a.H],ee=E*Math.PI/180,re={L:y,a:b*Math.cos(ee),b:b*Math.sin(ee)};return a.alpha!==void 0&&(re.alpha=a.alpha),re}function jv(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,ue={L:y,C:ee,H:oe};return a.alpha!==void 0&&(ue.alpha=a.alpha),ue}function Uf(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),re=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),oe=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),ue=4.076741661347994*ee-3.307711590408193*re+.230969928729428*oe,he=-1.2684380040921763*ee+2.6097574006633715*re-.3413193963102197*oe,ge=-.004196086541837188*ee-.7034186144594493*re+1.7076147009309444*oe,ye=Ie=>{const _e=Math.abs(Ie);return _e<=.0031308?Ie*12.92:(Math.sign(Ie)||1)*(1.055*Math.pow(_e,1/2.4)-.055)};return[ye(ue),ye(he),ye(ge)]}function Qf(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function Yf(a,y){let[b,E,ee]=a;return b=Od(b*255),E=Od(E*255),ee=Od(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]=Uf(a);if(Qf([y,b,E]))return Yf([y,b,E],a.alpha);const ee=jv(a);if(ee.C=0,[y,b,E]=Uf(Gf(ee)),!Qf([y,b,E]))return Yf([y,b,E],a.alpha);let re=0,oe=a.L,ue=(re+oe)/2;ee.C=ue;const he=.36/Math.pow(2,12);for(;oe-re>he;)ue=(re+oe)/2,ee.C=ue,[y,b,E]=Uf(Gf(ee)),Qf([y,b,E])?re=ue:oe=ue;return Yf([y,b,E],a.alpha)}function Hv(a){return cp(Gf(a))}function dp(a,y){const b=Vf(a),E=Vf(y),ee=.56,re=.57,oe=.62,ue=.65,he=.022,ge=1.414,ye=.1,Ie=5e-4,_e=1.14,qe=.027,ot=1.14,Wt=.027;function _n(Nr){return Nr>=he?Nr:Nr+nc(he-Nr,ge)}function zt(Nr){return(Nr<0?-1:1)*Math.pow(Math.abs(Nr),2.4)}const gn=_n(zt(E.r/255)*.2126729+zt(E.g/255)*.7151522+zt(E.b/255)*.072175),Kn=_n(zt(b.r/255)*.2126729+zt(b.g/255)*.7151522+zt(b.b/255)*.072175);let Mn,Cr,zr;return Math.abs(Kn-gn)<Ie?Cr=0:Kn>gn?(Mn=nc(Kn,ee)-nc(gn,re),Cr=Mn*_e):(Mn=nc(Kn,ue)-nc(gn,oe),Cr=Mn*ot),Math.abs(Cr)<ye?zr=0:Cr>0?zr=Cr-Wt:zr=Cr+qe,zr*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 Wv(a){const y=Vf(a);let b=((1<<24)+(Od(y.r)<<16)+(Od(y.g)<<8)+Od(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 vo(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 Kv(a,y){const b=fp(a);if(b.length!==1)return!1;const E=pf[y];return E?!!E.test(b[0].value):!1}function Zv(a,y){return vo(a).length>0}function Vv(a){return[Jf(a,"double-struck","mathbb","tooltip.blackboard"),Jf(a,"fraktur","mathfrak","tooltip.fraktur"),Jf(a,"calligraphic","mathcal","tooltip.caligraphic"),Xf(a,"up","mathrm","tooltip.roman-upright"),Xf(a,"bold","mathbf","tooltip.bold"),Xf(a,"italic","mathit","tooltip.italic")]}function Gv(a){return[{label:()=>Fs(`\\vec{${vo(a)}}`),visible:()=>vo(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\overrightarrow{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\overleftarrow{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\dot{${vo(a)}}`),visible:()=>vo(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\ddot{${vo(a)}}`),visible:()=>vo(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\bar{${vo(a)}}`),visible:()=>vo(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\overline{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\overgroup{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\overbrace{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\underline{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\undergroup{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\underbrace{${vo(a)}}`),visible:()=>vo(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Uv(a){return[{label:()=>Fs(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>Fs(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Qv(a){const y=[];for(const b of Object.keys(Ct))y.push({class:(Wv(hp(Ct[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Ct[b]} "></span>`,ariaLabel:()=>{var E;return(E=dt(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 Yv(a){const y=[];for(const b of Object.keys(Ft))y.push({class:(hp(Ft[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Ft[b]} "></span>`,ariaLabel:()=>{var E;return(E=dt(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 Jv=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 Xv(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(ee,re)=>new Jv(ee,re,b,E),label:"\u2610",tooltip:()=>dt("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 qv(a){return[{label:()=>dt("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>hd(a)},{label:()=>dt("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>hd(a)},{label:()=>dt("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>hd(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=e1(a);return b<y.maxColumns}},{label:()=>dt("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>hd(a)},{type:"divider"},{label:()=>dt("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>hd(a)},{label:()=>dt("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>hd(a)},{type:"divider"},{label:()=>dt("menu.borders"),visible:()=>($v(a)||hd(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>yh(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>yh(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>yh(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>yh(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>yh(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>dt("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:Xv(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>dt("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>dt("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Ad(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>dt("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Ad(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>dt("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>dt("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Vv(a),submenuClass:"variant-submenu"},{label:()=>dt("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Yv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>dt("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Qv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>dt("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gv(a),submenuClass:"variant-submenu"},{label:()=>dt("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&vo(a).length>0,submenu:Uv(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>dt("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=t1(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:()=>dt("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?dt("menu.solve-for",Fs(b)):dt("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(re=>{var oe;return(oe=re.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:()=>dt("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>dt("menu.copy"),id:"copy",submenu:[{label:()=>dt("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>di.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>dt("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>di.copyToClipboard(a,"ascii-math")},{label:()=>dt("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>di.copyToClipboard(a,"math-ml")}]},{label:()=>dt("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>dt("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function hd(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function $v(a){return a.model.at(a.model.position).type==="array"}function e1(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 yh(a,y){Ih(a),a.flushInlineShortcutBuffer(),T0(a.model,y),_o(a)}function t1(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 Jf(a,y,b,E){return{label:()=>Fs(`\\${b}{${vo(a)}}`),tooltip:()=>{var ee;return(ee=dt(E))!=null?ee:E},visible:()=>Kv(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 Xf(a,y,b,E){return{label:()=>Fs(`\\${b}{${vo(a)}}`),tooltip:()=>{var ee;return(ee=dt(E))!=null?ee:E},visible:()=>Zv(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 Rd(a,y){return a+Pd(y)}Fl({speak:(a,y,b)=>n1(a,y,b)},{target:"mathfield"});function n1(a,y,b){var E,ee;b=b!=null?b:{withHighlighting:!1};const{model:re}=a;function oe(ye){let Ie=null;switch(ye){case"all":Ie=re.root;break;case"selection":Ie=re.getAtoms(re.selection);break;case"left":{Ie=re.getAtoms(re.offsetOf(re.at(re.position).leftSibling),re.position);break}case"right":{Ie=re.getAtoms(re.position,re.offsetOf(re.at(re.position).rightSibling));break}case"group":Ie=re.getAtoms(re.getSiblingsRange(re.position));break;case"parent":{const{parent:_e}=re.at(re.position);_e!=null&&_e.parent?Ie=_e:Ie=re.root;break}default:Ie=re.root}return Ie}function ue(ye){let Ie="";switch(ye){case"all":console.log("Internal failure: speak all failed");break;case"selection":Ie="no selection";break;case"left":Ie="at start";break;case"right":Ie="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Ie="no parent";break;default:console.log('unknown speak_ param value: "'+ye+'"');break}return Ie}const he=oe(y);if(he===null)return(ee=(E=window.MathfieldElement).speakHook)==null||ee.call(E,ue(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const ge=Pd(he);return Je()&&b.withHighlighting?(_c().readAloudMathfield=a,rd(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,ge)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(ge),!1}function r1(a){var y,b;if(!Je()){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,(re,oe)=>{if(re)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);else if(oe!=null&&oe.AudioStream){const ue=new Uint8Array(oe.AudioStream),he=new Blob([ue.buffer],{type:"audio/mpeg"}),ge=URL.createObjectURL(he);new Audio(ge).play().catch(Ie=>console.log(Ie))}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 i1(a,y,b,E){let ee="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ee=Rd("deleted: ",E);else if(y==="focus"||y.includes("move"))ee=a1(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+o1(a.model);else if(y==="replacement")ee=Rd("",a.model.at(a.model.position));else if(y==="line"){const re=Rd("",a.model.root);a.keyboardDelegate.setAriaLabel(re)}else ee=E?Rd(y+" ",E):y;if(ee){const re=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ee+re}}function a1(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 re=a.at(a.position).parent;for(;ee!==a.root&&ee!==re;)E+=`out of ${pp(ee)};`,ee=ee.parent;return E}function o1(a){if(!a.selectionIsCollapsed)return Rd("",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+=Rd("",b),y}var s1=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 re=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=Pc(a.content),this.selection=a.selection,this.silenceNotifications=re,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 re=this.normalizeSelection(a,y);if(re===void 0)throw new TypeError("Invalid selection");if(re.ranges.length===1&&re.ranges[0][0]===re.ranges[0][1]){const ye=re.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(ye))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(ye-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(ye-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ee=this.at(ye+1))!=null&&ee.parentPrompt){this._anchor=this.normalizeOffset(ye+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=ye,this._position=ye,this._selection=re;return}const oe=ys(re);re.direction==="backward"?[this._position,this._anchor]=oe:[this._anchor,this._position]=oe;const ue=this.at(oe[0]+1),he=this.at(oe[1]),ge=tn.commonAncestor(ue,he);(ge==null?void 0:ge.type)==="array"&&ue.parent===ge&&he.parent===ge?this._selection={ranges:[oe],direction:re.direction}:this._selection={ranges:[oe],direction:re.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 Ws&&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(Wu(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((ge,ye)=>[...ge,...this.getAtoms(ye,E)],[]);a=a.ranges[0]}let ee,re;if(du(a)){if(ee=a,!du(y))return[];re=y}else[ee,re]=a,E=y!=null?y:{};if(!Number.isFinite(ee))return[];E.includeChildren===void 0&&(E.includeChildren=!1),ee<0&&(ee=this.lastOffset-ee+1),re<0&&(re=this.lastOffset-re+1);const oe=Math.min(ee,re)+1,ue=Math.max(ee,re);if(!E.includeChildren&&oe===1&&ue===this.lastOffset)return[this.root];let he=[];for(let ge=oe;ge<=ue;ge++){const ye=this.atoms[ge];mp(this,ye,oe,ue)&&he.push(ye)}return E.includeChildren||(he=he.filter(ge=>{let ye=!1,{parent:Ie}=ge;for(;Ie&&!ye;)ye=mp(this,Ie,oe,ue),Ie=Ie.parent;return!ye})),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 re=y;re<=ee;re++)if(E=this.atoms[re],a(E))return E;for(let re=0;re<y;re++)if(E=this.atoms[re],a(E))return E;return}for(let re=y;re>=0;re--)if(E=this.atoms[re],a(E))return E;for(let re=ee;re>y;re--)if(E=this.atoms[re],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 tn({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 tn.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 xa(a);if(b==="spoken")return Pd(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ee=Pd(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=Pd(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}return b==="ascii-math"?Xo(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(du(a)&&du(y)?(E=[this.normalizeRange([a,y])],ee=b):mc(a)?(E=[this.normalizeRange(a)],ee=y):Wu(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 re=this.getValue({ranges:E},"latex-unstyled");try{const oe=window.MathfieldElement.computeEngine.parse(re);return JSON.stringify(oe.json)}catch(oe){return JSON.stringify(["Error",`'${oe.toString()}'`])}}if(ee.startsWith("latex")){const re={expandMacro:ee==="latex-expanded",skipStyles:ee==="latex-unstyled",skipPlaceholders:ee==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Ni(E.map(oe=>tn.serialize(this.getAtoms(oe),re)))}return E.map(re=>this.getAtoms(re).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:re}=this.at(ee);if(re&&(re.type==="genfrac"||re.type==="subsup"))for(;re!==this.root&&qf(this,re,[E,ee]);)ee=this.offsetOf(re),re=re.parent;for(re=this.at(E).parent;re!==this.root&&qf(this,re,[E,ee]);)E=this.offsetOf(re.leftSibling),re=re.parent;if(re=this.at(ee).parent,(re==null?void 0:re.type)==="genfrac")for(;re!==this.root&&qf(this,re,[E,ee]);)ee=this.offsetOf(re),console.assert(ee>=0),re=re.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)&&i1(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,ee=this._position,re=this.silenceNotifications;this.silenceNotifications=!0;const oe=this.root.changeCounter;y();const ue=this.root.changeCounter!==oe,he=E!==this._anchor||ee!==this._position||Hu(this._selection,b)==="different";return this.silenceNotifications=re,a.content&&ue&&this.contentDidChange({inputType:a.type}),a.selection&&he&&this.selectionDidChange(),ue||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(du(a)){const ee=this.normalizeOffset(a);if(du(y)){const re=this.normalizeOffset(y);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else E={ranges:[[ee,ee]],direction:"none"}}else if(mc(a)){const ee=this.normalizeOffset(a[0]),re=this.normalizeOffset(a[1]);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else Wu(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(Qu(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(Ce({},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(Qu(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 re=a.offsetOf(y.firstChild);if(re>=b&&re<=E){const oe=a.offsetOf(y.lastChild);if(oe>=b&&oe<=E)return!0}return!1}function qf(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,ee]=b,re=a.offsetOf(y.firstChild),oe=a.offsetOf(y.lastChild);return re>=E&&re<=ee&&oe>=re&&oe<=ee}function bh(a,y,b,E){var ee,re,oe,ue,he,ge;const ye=b.parent;if(ye&&b instanceof ba){const Ie=!E&&y==="forward"||E==="body"&&y==="backward";let _e=Ie?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Ie?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(ye.addChildrenAfter(b.removeBranch("body"),b),ye.removeChild(b),_e--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(ye.addChildrenAfter(b.removeBranch("body"),b),ye.removeChild(b),_e--),a.position=_e,!0}if(ye&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const Ie=b.leftSibling;b.hasChildren&&ye.addChildrenAfter(b.removeBranch("body"),b),ye.removeChild(b),a.position=a.offsetOf(Ie)}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),ye.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(ye&&(b.type==="box"||b.type==="enclose")){const Ie=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return ye.addChildrenAfter(b.removeBranch("body"),b),ye.removeChild(b),a.position=a.offsetOf(Ie),!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 Ie=xh.fractionNavigationOrder==="numerator-denominator"?"above":"below",_e=Ie==="above"?"below":"above";if(ye&&(y==="forward"&&E===Ie||y==="backward"&&E===_e)){const qe=b.removeBranch(Ie),ot=b.removeBranch(_e);return ye.addChildrenAfter([...qe,...ot],b),ye.removeChild(b),a.position=a.offsetOf(qe.length>0?qe[qe.length-1]:ot[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 Ie=y==="forward"?(oe=(ee=b.superscript)==null?void 0:ee[0])!=null?oe:(re=b.subscript)==null?void 0:re[0]:(ge=(ue=b.subscript)==null?void 0:ue[0].lastSibling)!=null?ge:(he=b.superscript)==null?void 0:he[0].lastSibling;return Ie&&(a.position=a.offsetOf(Ie)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Ie=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Ie,!0}if(E==="superscript")if(y==="backward"){const Ie=a.offsetOf(b.firstChild)-1;console.assert(Ie>=0),a.position=Ie}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 Ie=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Ie}return!0}if((ye==null?void 0:ye.type)==="genfrac"&&!E&&b.type!=="first"){let Ie=a.offsetOf(b.leftSibling);return ye.removeChild(b),ye.hasEmptyBranch("above")&&ye.hasEmptyBranch("below")?(Ie=a.offsetOf(ye.leftSibling),ye.parent.removeChild(ye),a.announce("delete",void 0,[ye]),a.position=Ie,!0):(a.announce("delete",void 0,[b]),a.position=Ie,!0)}if(y==="backward"&&((ye==null?void 0:ye.command)==="\\ln"||(ye==null?void 0:ye.command)==="\\log")&&b.parentBranch!=="body"){const Ie=a.offsetOf(ye.leftSibling);return ye.parent.removeChild(ye),a.announce("delete",void 0,[ye]),a.position=Ie,!0}return!1}function l1(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&&bh(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(bh(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])}}):Ju(a,ys(a.selection),"deleteContentBackward")}function u1(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&&bh(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&bh(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&bh(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])}):Ju(a,ys(a.selection),"deleteContentForward")}function Ju(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 re=E[E.length-1].parent.lastChild;let oe=E[0];oe.type==="first"&&(oe=oe.rightSibling);const ue=E[E.length-1];if(oe===ee&&ue===re){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,ge=E[0].parentBranch==="below"?"above":"below",ye=a.offsetOf(he.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Ie,_e;const qe=he.removeBranch(ge);if(qe.length===1&&qe[0].type==="placeholder")(_e=he.parent)==null||_e.removeChild(he),a.position=Math.max(0,ye);else{const ot=he.parent.addChildrenAfter(qe,he);(Ie=he.parent)==null||Ie.removeChild(he),a.position=a.offsetOf(ot)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Fl({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Ju(a,[0,-1],"deleteContent"),deleteForward:a=>u1(a),deleteBackward:a=>l1(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Ju(a,[a.anchor,kf(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Ju(a,[a.anchor,kf(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Ju(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Ju(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Ju(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Ju(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var c1=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${dt("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>`,d1=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${dt("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>`,h1=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,ee;this.options=Ce(Me(Ce({},Wh()),{macros:co(),registers:uu()}),Hh(y)),this.eventController=new AbortController;const re=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 ue=B0(this.options),he=new tn({type:"root",mode:ue,body:Ts(oe,{context:this.context})});this.model=new s1(this,ue,he),this.undoManager=new Rg(this.model);const ge=[];if(ge.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>"),ge.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),ge.push("<span part=content class=ML__content>"),ge.push(w0(this)),ge.push("</span>"),window.mathVirtualKeyboard&&(ge.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">`),ge.push(c1),ge.push("</div>")),ge.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),ge.push(d1),ge.push("</div>"),ge.push("</span>"),ge.push("<span class=ML__sr-only>"),ge.push("<span role=status aria-live=assertive aria-atomic=true></span>"),ge.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(ge.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=$e.subscribe(()=>$e.update(this.element)),$e.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Ie=>Ie.stopImmediatePropagation(),{capture:!1,signal:re}),this.field.addEventListener("wheel",this,{passive:!1,signal:re}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:re}):this.field.addEventListener("mousedown",this,{signal:re}),(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(Qu(this)))},{signal:re}),this._menu=new Cv(qv(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:re});const ye=this.element.querySelector("[part=menu-toggle]");ye==null||ye.addEventListener("pointerdown",Ie=>{if(Ie.currentTarget!==ye||this._menu.state!=="closed")return;this.element.classList.add("tracking");const _e=ye.getBoundingClientRect();this._menu.modifiers=nd(Ie),this._menu.show({target:ye,location:{x:_e.left,y:_e.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Ie.preventDefault(),Ie.stopPropagation()},{signal:re}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(ye.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:re}),document.addEventListener("scroll",this,{signal:re}),this.resizeObserver=new ResizeObserver(()=>_o(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:re}),ih&&!$e.locale.startsWith(ih.locale)&&zm($e.locale),Ul!=="ready"&&document.fonts.ready.then(()=>Oh(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(Qu(this)),ef(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,zf())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:Ku(this.field))!=null?b:void 0,ee=a==null?void 0:a.modifiers,re=this.element.querySelector("[part=container]");return this._menu.show({target:re,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:ht(a)}}get backgroundColorMap(){return a=>{var y,b,E,ee,re,oe;return(oe=(re=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?re:(ee=(E=this.options).colorMap)==null?void 0:ee.call(E,a))!=null?oe:Ge(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=tn.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=Ce({},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=Ff(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 ge=this.queryStyle({[he]:y[he]});if(ge==="none")return"none";if(ge==="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 re=this.model.getAtoms(this.model.selection,{includeChildren:!0});let oe=re.length;if(oe===0)return"none";let ue=0;for(const he of re){if(he.type==="first"){oe-=1;continue}he.style[E]===ee&&(ue+=1)}return ue===0?"none":ue===oe?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=Um(this.options.keybindings,(a=ah())!=null?a:_m());return((y=ah())==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=Ce(Ce({},this.options),Hh(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=tn.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&di.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)&&_o(this)}getOptions(a){return ad(this.options,a)}getOption(a){return ad(this.options,a)}handleEvent(a){return jc(this,null,function*(){var y;if(Zl(this)){if(Sf(a)){if(!Jd(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(kd(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"&&Z0(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Z0(this,a),a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Jh.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Jh.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&ef(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Zl(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Zl(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Zl(this))return;$e.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,Qg(),$m(),mv()}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 kd(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Qu(this))),!1):og(this,a)}get errors(){return t0(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=qc(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();di.insert(this.model,a,y)&&(_o(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&&rd(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Ku(this.field);else{const E=Yd(this);if(E.length>0){let ee=-1/0,re=-1/0;for(const oe of E)oe.right>ee&&(ee=oe.right),oe.top<re&&(re=oe.top);b={x:ee+y.left-this.field.scrollLeft,y:re+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),ee=b.y;let re=this.host.scrollTop;ee<E.top?re=ee-E.top+this.host.scrollTop:ee>E.bottom&&(re=ee-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:re,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(C0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?L0(this.model):a==="&"?I0(this.model):this.model.selectionIsCollapsed?di.insert(this.model,a,Ce({style:this.model.at(this.model.position).computedStyle},y)):di.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),_o(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 re=this.model.mode,{model:oe}=this;oe.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let ue=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const he=Ts(y,{context:this.context,parseMode:a});oe.collapseSelection("forward");const ge=oe.at(oe.position);oe.position=oe.offsetOf(ge.parent.addChildrenAfter(he,ge)),ue=!0}if(this.model.mode=a,a==="latex"){let he=oe.selectionIsCollapsed;Ad(this,"accept");let ge,ye=oe.at(oe.position);if(he)ge="\\";else{const _e=ys(oe.selection);ge=this.model.getValue(_e,"latex");const qe=this.model.extractAtoms(_e);qe.length===1&&qe[0].type==="placeholder"&&(ge=y,he=!0),ye=oe.at(_e[0])}const Ie=new qd(ge);ye.parent.addChildAfter(Ie,ye),he?oe.position=oe.offsetOf(Ie.lastChild):oe.setSelection(oe.offsetOf(Ie.firstChild),oe.offsetOf(Ie.lastChild))}else oh(oe).forEach(he=>{he.isError=!1});if(b){const he=Ts(b,{context:this.context,parseMode:re});oe.collapseSelection("forward");const ge=oe.at(oe.position);oe.position=oe.offsetOf(ge.parent.addChildrenAfter(he,ge)),ue=!0}return _o(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),ue}),this.model.mode=a,window.mathVirtualKeyboard.update(Qu(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};mc(y)?ee.range=y:(y.operation==="toggle"&&(ee.operation="toggle"),ee.range=y.range,ee.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const re=Ff(this,a),oe=(E=ee.operation)!=null?E:"set";if(ee.range===void 0&&this.model.selectionIsCollapsed){if(oe==="set"){this.defaultStyle=Ce(Ce({},this.defaultStyle),re);return}const ue=Ce({},this.defaultStyle);for(const he of Object.keys(re))ue[he]===re[he]?(he==="color"&&delete ue.verbatimColor,he==="backgroundColor"&&delete ue.verbatimBackgroundColor,delete ue[he]):ue[he]=re[he];this.defaultStyle=ue;return}this.model.deferNotifications({content:!ee.silenceNotifications,type:"insertText"},()=>{if(ee.range===void 0)for(const ue of this.model.selection.ranges)Af(this.model,ue,re,{operation:oe});else Af(this.model,ee.range,re,{operation:oe})}),_o(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=Ku(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=ph(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),_o(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(Ce({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),_o(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),_o(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(Qu(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(Qu(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(Qu(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:B0(this.options);this.model.mode!==ee&&(this.model.mode==="latex"?(Ad(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(Qu(this)),ef(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",Me(Ce({},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(),rd(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="",Md(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})),_o(this),this.focusBlurInProgress=!1,zf();const E=new AbortController,ee=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Zl(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ee})},{once:!0,signal:ee}),setTimeout(()=>E.abort(),100)}onInput(a){Lf(this,a)}onKeystroke(a){return H0(this,a)}onCompositionStart(a){this.model.deleteAtoms(ys(this.model.selection));const y=Ku(this.field);y&&requestAnimationFrame(()=>{rd(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Dg(this.model,a),_o(this)}onCompositionEnd(a){Bg(this.model),Lf(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),di.onCopy(this,a),Ju(this.model,ys(this.model.selection),"deleteByCut"),this.snapshot("cut"),_o(this))}onCopy(a){di.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=di.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(),Fh(this),ef(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=>fs(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 $f(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&&$f(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&$f(E,y)})))}function f1(a,y){var b;if(!Je())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"]};_c().readAloudElement=a,E.synthesizeSpeech(ee,(re,oe)=>{if(re){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);return}if(!(oe!=null&&oe.AudioStream)){console.log("polly.synthesizeSpeech():",oe);return}const ue=new TextDecoder("utf-8").decode(new Uint8Array(oe.AudioStream));_c().readAloudMarks=ue.split(`
|
|
|
`).map(he=>he?JSON.parse(he):{}),_c().readAloudTokens=[];for(const he of _c().readAloudMarks)he.value&&_c().readAloudTokens.push(he.value);_c().readAloudCurrentMark="",ee.OutputFormat="mp3",ee.SpeechMarkTypes=[],E.synthesizeSpeech(ee,(he,ge)=>{if(he){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${he}`);return}if(!(ge!=null&&ge.AudioStream))return;const ye=new Uint8Array(ge.AudioStream),Ie=new Blob([ye.buffer],{type:"audio/mpeg"}),_e=URL.createObjectURL(Ie),qe=_c();qe.readAloudAudio?qe.readAloudAudio.pause():(qe.readAloudAudio=new Audio,qe.readAloudAudio.addEventListener("ended",()=>{const ot=qe.readAloudMathfield;qe.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),ot?(rd(ot),qe.readAloudElement=null,qe.readAloudMathfield=null,qe.readAloudTokens=[],qe.readAloudMarks=[],qe.readAloudCurrentMark=""):gp(qe.readAloudElement)}),qe.readAloudAudio.addEventListener("timeupdate",()=>{let ot="";const Wt=qe.readAloudAudio.currentTime*1e3+100;for(const _n of qe.readAloudMarks)_n.time<Wt&&(ot=_n.value);qe.readAloudCurrentMark!==ot&&(qe.readAloudCurrentToken=ot,ot&&ot===qe.readAloudFinalToken?qe.readAloudAudio.pause():(qe.readAloudCurrentMark=ot,$f(qe.readAloudElement,qe.readAloudCurrentMark)))})),qe.readAloudAudio.src=_e,qe.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),qe.readAloudAudio.play()})})}Je()||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 ya=new WeakMap,p1=.5,zc={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 = ..."},Ks=class fd extends HTMLElement{static get formAssociated(){return zd()}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 $e.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),$e.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 $e.strings}static set strings(y){$e.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 jc(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 re=yield(yield fetch(yield x0(`${E}/${b}`))).arrayBuffer(),oe=yield this.audioContext.decodeAudioData(re);this.audioBuffers[y]=oe}catch(ee){}})}static playSound(y){return jc(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=p1,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(zc[E])if(zc[E].startsWith("mf."))if(zc[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${zc[E]}`);else{const ee=zc[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 ${zc[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(zd()&&(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=[Nc("core"),Nc("mathfield"),Nc("mathfield-element"),Nc("ui"),Nc("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>"+vc("core")+vc("mathfield")+vc("mathfield-element")+vc("ui")+vc("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=fd.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?ad(this._mathfield.options,y):ya.has(this)?Ce({},ad(Ce(Ce({},Wh()),Hh(ya.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?ad(this._mathfield.options,y):ya.has(this)?ad(Ce(Ce({},Wh()),Hh(ya.get(this).options)),y):null}reflectAttributes(){const y=Wh(),b=this._getOptions();Object.keys(fd.optionsAttributes).forEach(E=>{const ee=wc(E);fd.optionsAttributes[E]==="on/off"?y[ee]!==b[ee]?this.setAttribute(E,b[ee]?"on":"off"):this.removeAttribute(E):y[ee]!==b[ee]&&(fd.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(ya.has(this)){const b=Ce(Ce({},ya.get(this).options),y);ya.set(this,Me(Ce({},ya.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else ya.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))zc[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${zc[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,re;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(ya.has(this)){let oe,ue,he;if(Wu(y)?([oe,ue]=y.ranges[0],he=b):mc(y)?([oe,ue]=y,he=b):du(y)&&du(b)?(oe=y,ue=b,he=E):(oe=0,ue=-1,he=y),(he===void 0||he==="latex")&&oe===0&&ue===-1)return(re=(ee=ya.get(this).value)!=null?ee:this.textContent)!=null?re:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(ya.has(this)){const ee=ya.get(this).options;ya.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ee,menuItems:void 0});return}const E=wh(this);ya.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?ph(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=Tc(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,re;Vu.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"&&((re=this._mathfield)==null||re.blur()))}connectedCallback(){var y,b,E,ee;const re=window.getComputedStyle(this),oe=this.shadowRoot,ue=re.userSelect!=="none";if(ue)oe.host.addEventListener("pointerdown",this,!0);else{const ye=oe.querySelector("span");ye.style.pointerEvents="none"}oe.host.addEventListener("focus",this,!0),oe.host.addEventListener("blur",this,!0),zd()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),ue&&!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(ye=>ye.tagName.toLowerCase()==="style").map(ye=>ye.textContent).join("")}catch(ye){console.error(ye)}if(this._style){const ye=document.createElement("style");ye.textContent=this._style,oe.appendChild(ye)}let ge="";if(this.hasAttribute("value")?ge=this.getAttribute("value"):ge=(y=he==null?void 0:he.assignedNodes().map(ye=>ye.nodeType===3?ye.textContent:"").join("").trim())!=null?y:"",this._mathfield=new h1(oe.querySelector(":host > span"),Me(Ce({},(E=(b=ya.get(this))==null?void 0:b.options)!=null?E:wh(this)),{eventSink:this,value:ge})),!ya.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const ye of Object.keys(fd.optionsAttributes))this.upgradeProperty(wc(ye))}if(!((ee=this._mathfield)!=null&&ee.model)){this._mathfield=null;return}if(ya.has(this)){const ye=this._mathfield,Ie=ya.get(this),_e=Ie.menuItems;ye.model.deferNotifications({content:!1,selection:!1},()=>{const qe=Ie.value;qe!==void 0&&ye.setValue(qe),ye.model.selection=Ie.selection,ya.delete(this)}),_e&&(this.menuItems=_e)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Ph()}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=ad(this._mathfield.options,Object.keys(fd.optionsAttributes).map(ee=>wc(ee)));ya.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":_o(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",""),zd()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(zd()?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"),zd()?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(Ce({},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=ya.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}ya.has(this)?ya.set(this,Me(Ce({},ya.get(this)),{menuItems:y})):ya.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:wh(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:ya.has(this)?ya.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,_o(this._mathfield);return}if(ya.has(this)){ya.set(this,Me(Ce({},ya.get(this)),{selection:y}));return}ya.set(this,{value:void 0,selection:y,options:wh(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:ya.has(this)?ya.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,_o(this._mathfield)),ya.has(this)){ya.set(this,Me(Ce({},ya.get(this)),{selection:{ranges:[[y,y]]}}));return}ya.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:wh(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}};Ks.version="0.98.5",Ks._fontsDirectory="./fonts",Ks._soundsDirectory="./sounds",Ks.keypressVibration=!0,Ks._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Ks._plonkSound="plonk.wav",Ks.audioBuffers={},Ks.createHTML=a=>a,Ks._speechEngineRate="100%",Ks._speechEngineVoice="Joanna",Ks._textToSpeechMarkup="",Ks._textToSpeechRules="mathlive",Ks._textToSpeechRulesOptions={},Ks.speakHook=r1,Ks.readAloudHook=f1,Ks._decimalSeparator=".",Ks.fractionNavigationOrder="numerator-denominator",Ks._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 xh=Ks;function wc(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function wh(a){const y={readOnly:!1},b=xh.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[wc(E)]=!0:b[E]==="on/off"?ee==="on"?y[wc(E)]=!0:ee==="off"?y[wc(E)]=!1:y[wc(E)]=void 0:b[E]==="number"?y[wc(E)]=Number.parseFloat(ee!=null?ee:"0"):y[wc(E)]=ee}}),y}function zd(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var vp=xh,yp,bp,xp,wp;if(Je()&&!((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=xh,(wp=window.customElements)==null||wp.define("math-field",xh)}function m1(a,y,b){let E=b,ee=0;const re=a.length;for(;E<y.length;){const oe=y[E];if(ee<=0&&y.slice(E,E+re)===a)return E;oe==="\\"?E++:oe==="{"?ee++:oe==="}"&&ee--,E++}return-1}function of(a,y,b,E,ee="latex"){const re=[];for(const oe of a)if(oe.type==="text"){const ue=oe.data;let he=!0,ge=0,ye;ye=ue.indexOf(y),ye!==-1&&(ge=ye,ge>0&&re.push({type:"text",data:ue.slice(0,ge)}),he=!1);let Ie=!1;for(;!Ie;){if(he){if(ye=ue.indexOf(y,ge),ye===-1){Ie=!0;break}ge!==ye&&re.push({type:"text",data:ue.slice(ge,ye)}),ge=ye}else{if(ye=m1(b,ue,ge+y.length),ye===-1){Ie=!0;break}let _e=ue.slice(ge+y.length,ye);ee==="ascii-math"&&([,_e]=Lr(_e,{format:"ascii-math"})),re.push({type:"math",data:_e,rawData:ue.slice(ge,ye+b.length),mathstyle:E}),ge=ye+b.length}he=!he}ge<ue.length&&re.push({type:"text",data:ue.slice(ge)})}else re.push(oe);return re}function Cp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ee,re])=>{E=of(E,ee,re,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ee,re])=>{E=of(E,ee,re,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ee,re])=>{E=of(E,ee,re,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ee,re])=>{E=of(E,ee,re,"displaystyle","ascii-math")}),E}function g1(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 v1(a,y,b,E){try{const ee=y.renderToMarkup(a,{mathstyle:b,format:"html"}),re=document.createElement("span");return re.dataset.latex=a,re.style.display=b==="displaystyle"?"flex":"inline-flex",re.setAttribute("aria-hidden","true"),re.setAttribute("translate","no"),re.innerHTML=window.MathfieldElement.createHTML(ee),re}catch(ee){if(console.error("Could not parse'"+a+"' with ",ee),E)return document.createTextNode(a)}return null}function _d(a,y,b,E){var ee;const re=v1(a,b,y||"textstyle",E),oe=(ee=b.renderAccessibleContent)!=null?ee:"";if(re&&/\b(mathml|speakable-text)\b/i.test(oe)){const ue=document.createElement("span");if(/\bmathml\b/i.test(oe)&&b.renderToMathML&&ue.append(g1(a,b)),/\bspeakable-text\b/i.test(oe)&&b.renderToSpeakableText){const he=document.createElement("span");he.setAttribute("translate","no");const ge=b.renderToSpeakableText(a);he.innerHTML=window.MathfieldElement.createHTML(ge),he.className="ML__sr-only",ue.append(he)}return ue.append(re),ue}return re}function y1(a,y){var b,E,ee;let re=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){re=document.createDocumentFragment();const oe=_d(a,"",y,!0);oe&&re.appendChild(oe)}else{if(!a.trim())return null;const oe=Cp(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;re=document.createDocumentFragment();for(const ue of oe)if(ue.type==="text")re.appendChild(document.createTextNode(ue.data));else{const he=_d(ue.data,ue.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);he&&re.appendChild(he)}}return re}function Sp(a,y){var b,E,ee,re,oe,ue,he,ge,ye,Ie,_e,qe,ot,Wt,_n,zt;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const gn=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(gn)){a.textContent="";const Mn=_d(gn,"",y,!0);Mn&&a.append(Mn);return}const Kn=Cp(gn,(ee=y.TeX)==null?void 0:ee.delimiters,(re=y.asciiMath)==null?void 0:re.delimiters);if(Kn.length===1&&Kn[0].type==="math"){a.textContent="";const Mn=_d(Kn[0].data,Kn[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Mn&&a.append(Mn);return}if(Kn.length===1&&Kn[0].type==="text")return}for(let gn=a.childNodes.length-1;gn>=0;gn--){const Kn=a.childNodes[gn];if(Kn.nodeType===3){const Mn=y1((oe=Kn.textContent)!=null?oe:"",y);Mn&&(gn+=Mn.childNodes.length-1,Kn.replaceWith(Mn))}else if(Kn.nodeType===1){const Mn=Kn,Cr=Kn.nodeName.toLowerCase();if(Cr==="script"){const zr=Kn;let Nr;if((ue=y.processScriptTypePattern)!=null&&ue.test(zr.type))Nr=(he=zr.textContent)!=null?he:"";else if((ge=y.processMathJSONScriptTypePattern)!=null&&ge.test(zr.type))try{Nr=(Ie=y.serializeToLatex)==null?void 0:Ie.call(y,JSON.parse((ye=zr.textContent)!=null?ye:""))}catch(sa){console.error(sa)}if(Nr){let sa="textstyle";for(const Un of zr.type.split(";")){const[Ql,Xu]=Un.toLowerCase().split("=");Ql.trim()==="mode"&&(sa=Xu.trim()==="display"?"displaystyle":"textstyle")}const Wa=_d(Nr,sa,y,!0);Wa&&zr.parentNode.replaceChild(Wa,zr)}}else if(((qe=(_e=y.processClassPattern)==null?void 0:_e.test(Mn.className))!=null?qe:!1)||!((Wt=(ot=y.skipTags)==null?void 0:ot.includes(Cr))!=null&&Wt||(zt=(_n=y.ignoreClassPattern)==null?void 0:_n.test(Mn.className))!=null&&zt))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Nr=a.textContent;a.textContent="";const sa=_d(Nr!=null?Nr:"","displaystyle",y,!0);sa&&a.append(sa)}else Sp(Mn,y)}}}var b1={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 x1(a,y){var b,E,ee,re;try{const oe=Ce(Ce({},b1),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((re=oe.processMathJSONScriptType)!=null?re:""),Ph(),Tl("core"),Sp(a,oe)}catch(oe){oe instanceof Error?console.error("renderMathInElement(): "+oe.message):console.error("renderMathInElement(): Could not render math for element",a)}}function w1(a,y){const b=Oc.singleton;return b?(b.show(),uh(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function C1(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Fl({switchKeyboardLayer:w1,toggleVirtualKeyboard:C1,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function _c(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function L1(){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 I1(a){E1(document.body,a)}function S1(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 E1(a,y){var b,E,ee,re;const oe=S1(a);if(!oe)return;const ue=y!=null?y:{};(b=ue.renderToMarkup)!=null||(ue.renderToMarkup=Fs),(E=ue.renderToMathML)!=null||(ue.renderToMathML=Ov),(ee=ue.renderToSpeakableText)!=null||(ue.renderToSpeakableText=Rv),(re=ue.serializeToLatex)!=null||(ue.serializeToLatex=zv),x1(oe,ue)}var T1={mathlive:"0.98.5"}}}]);
|
|
|
}()); |