You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1105 lines
769 KiB
1105 lines
769 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5729],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(xt,Pt){"use strict";Pt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11081: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 xt={},Pt="5.0",fe={},ae=null,je=!1,De=!1,ze=null,ve=!1,me=null,Ie=null,He=0;He<arguments.length;He++){var Ce=arguments[He];if(Ce!==null)switch(typeof Ce){case"number":Pt=Ce.toFixed(1);break;case"string":Ce.match(new RegExp("^[0-9]\\.[0-9]+$"))?Pt=Ce:ze=Ce;break;case"object":typeof Ce.is3D!="undefined"?ae=Ce:fe=Ce;break;case"boolean":je=Ce,De=!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},fe.material_id!==void 0&&!De&&(je=!0)),ze!==null&&fe.id===void 0&&(fe.id=ze);var de="",Je="",pe=!1,at=null,Oe=null,Se=null,Ee=!1,we=null,Ve=null,tt=null,nt=null,it=null;fe.height!==void 0&&(fe.height=Math.round(fe.height)),fe.width!==void 0&&(fe.width=Math.round(fe.width));var Ke=function(Me){return parseFloat(Me)>4?parseFloat(Me):5};xt.setHTML5Codebase=function(Me,Qe){Ie=Me,ct(Me,Qe)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.setHTML5CodebaseVersion=function(Me,Qe){var ot=parseFloat(Me);if(ot!==NaN&&ot<5){console.log("The GeoGebra HTML5 codebase version "+ot+" is deprecated. Using version latest instead.");return}me=Me,he(Me,Qe)},xt.getHTML5CodebaseVersion=function(){return Oe},xt.getParameters=function(){return fe},xt.setFontsCSSURL=function(Me){nt=Me},xt.setGiacJSURL=function(Me){},xt.setJNLPFile=function(Me){de=Me},xt.setJNLPBaseDir=function(Me){},xt.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Qe="auto",ot=fe.id,Kt,Ge=!1,st=0;st<arguments.length;st++){var xe=arguments[st];typeof xe=="string"?(xe=xe.toLowerCase(),xe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Qe=xe:ot=arguments[st]):typeof xe=="boolean"?Ge=xe:xe instanceof HTMLElement&&(Kt=xe)}lt();function lt(){if(!ve){setTimeout(lt,200);return}Qe=Rt(Qe);var wt=Kt||document.getElementById(ot);if(!wt){console.log("possibly bug on ajax loading? ");return}if(xt.removeExistingApplet(wt,!1),fe.width===void 0&&wt.clientWidth&&(fe.width=wt.clientWidth),fe.height===void 0&&wt.clientHeight&&(fe.height=wt.clientHeight),!(fe.width&&fe.height)&&Qe==="html5"&&(delete fe.width,delete fe.height),at=Qe,Qe==="screenshot")Pe(wt,fe);else{var oe=!1;fe.hasOwnProperty("playButton")&&fe.playButton||fe.hasOwnProperty("clickToLoad")&&fe.clickToLoad?oe=!0:fe.hasOwnProperty("playButtonAutoDecide")&&fe.playButtonAutoDecide&&(oe=(!Xe()||Me())&&rt()),oe?(at="screenshot",Wt(wt,fe,Ge,Qe)):Ye(wt,fe,Ge)}}};function Xe(){try{return window.self!==window.top}catch(Me){return!0}}function rt(){return fe.hasOwnProperty("screenshotGenerator")&&fe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}xt.getViews=function(){return ae},xt.isJavaInstalled=function(){return!1};var At=function(Me){var Qe=function(st){var xe=JSON.parse(st),lt=function(te){return te.type=="G"||te.type=="E"},wt=xe.elements?xe.elements.filter(lt)[0]:xe;if(!wt||!wt.url){ot();return}fe.fileName=wt.url,Re(wt.settings||{}),ae.is3D=!0;var oe="https://www.geogebra.org/images/";xt.setPreviewImage(we||wt.previewUrl,oe+"GeoGebra_loading.png",oe+"applet_play.png"),Me()},ot=function(){fe.onError&&fe.onError(),Yt("Error: Fetching material (id "+fe.material_id+") failed.",fe)},Kt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ge="/materials/"+fe.material_id+"?scope=basic";Fe("https://"+Kt+"/api/proxy.php?path="+encodeURIComponent(Ge),Qe,ot)};function Re(Me){var Qe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(ot){Me[ot]=!!Me[ot]}),Qe.forEach(function(ot){fe[ot]===void 0&&Me[ot]!==void 0&&(fe[ot]=Me[ot])}),fe.showToolBarHelp===void 0&&(fe.showToolBarHelp=fe.showToolBar)}function Fe(Me,Qe,ot){var Kt=new XMLHttpRequest;Kt.open("GET",Me),Kt.onload=function(){Qe(Kt.responseText)},Kt.onerror=ot,Kt.send()}xt.isHTML5Installed=function(){return!0},xt.getLoadedAppletType=function(){return at},xt.setPreviewImage=function(Me,Qe,ot){we=Me,Ve=Qe,tt=ot},xt.removeExistingApplet=function(Me,Qe){var ot;typeof Me=="string"&&(Me=document.getElementById(Me)),at=null;var Kt=null;for(ot=0;ot<Me.childNodes.length;ot++){var Ge=Me.childNodes[ot],st=Ge.className;st==="applet_screenshot"?Qe?(Ge.style.display="block",at="screenshot"):Ge.style.display="none":st!=="applet_scaler prerender"&&(Me.removeChild(Ge),Kt=st&&st.indexOf("appletParameters")!=-1?Ge.id:null,ot--)}var xe=fe.id!==void 0?fe.id:Kt,lt=window[xe];lt&&typeof lt.getBase64=="function"&&(lt.remove(),window[xe]=null)},xt.refreshHitPoints=function(){if(Ke(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Me=xt.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var Me=xt.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},xt.stopAnimation=function(){var Me=xt.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},xt.getAppletObject=function(){var Me=fe.id!==void 0?fe.id:"ggbApplet";return window[Me]},xt.resize=function(){};var ut=function(Me,Qe,ot){var Kt=document.createElement("param");Kt.setAttribute("name",Qe),Kt.setAttribute("value",ot),Me.appendChild(Kt)},Be=function(Me){return Me&&Me!=="false"},Ye=function(Me,Qe,ot){Ke(Oe)<=4.2&&(ot=!0);var Kt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Oe||ggbHTML5LoadedCodebaseIsWebSimple&&!Ee)&&(Kt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ge=document.createElement("div");Ge.classList.add("appletParameters","notranslate");var st=Qe.width,xe=Qe.height;if(Qe.disableAutoScale=Qe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Qe.disableAutoScale,Qe.width!==void 0)if(Ke(Oe)<=4.4)Be(Qe.showToolBar)&&(Qe.height-=7),Be(Qe.showAlgebraInput)&&(Qe.height-=37),Qe.width<605&&Be(Qe.showToolBar)&&(Qe.width=605,st=605);else{var lt=100;(Be(Qe.showToolBar)||Be(Qe.showMenuBar))&&(Qe.hasOwnProperty("customToolBar")&&(Qe.customToolbar=Qe.customToolBar),lt=Be(Qe.showMenuBar)?245:155),st<lt&&(Qe.width=lt,st=lt)}Ge.style.border="none",Ge.style.display="inline-block";for(var wt in Qe)Qe.hasOwnProperty(wt)&&wt!=="appletOnLoad"&&Ge.setAttribute("data-param-"+wt,Qe[wt]);nt&&Ge.setAttribute("data-param-fontscssurl",nt),xt.resize=function(){GGBAppletUtils.responsiveResize(Me,Qe)},window.addEventListener("resize",function(Nt){xt.resize()});var oe=typeof Qe.appletOnLoad=="function"?Qe.appletOnLoad:function(){};if(!ot&&Qe.width!==void 0){Qe.hasOwnProperty("showSplash")||Ge.setAttribute("data-param-showSplash","false");var te=Me.querySelector(".applet_scaler.prerender"),z=te!==null;if(z)var re=te.querySelector(".ggb_preview");else{var re=un(st,xe,Qe.borderColor,!1);te=document.createElement("div"),te.className="applet_scaler",te.style.position="relative",te.style.display="block",te.style.width=st+"px",te.style.height=xe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(te,"66%"),Ke(Oe)>=5?(Qe.appletOnLoad=function(Nt){var Ft=Me.querySelector(".ggb_preview");Ft&&Ft.parentNode.removeChild(Ft),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(te),window.GGBT_wsf_view&&$(window).trigger("resize"),oe(Nt)},z||te.appendChild(re)):Ge.appendChild(re),te.appendChild(Ge),z||Me.appendChild(te),setTimeout(function(){xt.resize()},1)}else{var le=document.createElement("div");le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.appendChild(Ge),Me.appendChild(le),Qe.appletOnLoad=function(Nt){xt.resize(),oe(Nt)}}function ne(Nt,Ft){Ft&&typeof Ft.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Nt,Ft.appletOnLoad):renderGGBElement(Nt),Yt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ft)}function be(Nt,Ft){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Nt,params:Ft}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Zt){ne(Zt.article,Zt.params)}),html5AppletsToProcess=null)},Ke(Oe)<5&&(Nt.className+=" geogebraweb")):ne(Nt,Ft)}if(Kt){scriptLoadStarted=!0;for(var Ue=0;Ue<Ge.childNodes.length;Ue++){var Dt=Ge.childNodes[Ue].tagName;Dt==="TABLE"&&(Ge.removeChild(Ge.childNodes[Ue]),Ue--)}if(ggbHTML5LoadedScript!==null){var mt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');mt!=null&&mt.parentNode.removeChild(mt)}var ft=document.createElement("script"),yt=function(){be(Ge,Qe)};ft.src=Je+Se,ggbHTML5LoadedCodebaseIsWebSimple=Ee,ggbHTML5LoadedCodebaseVersion=Oe,ggbHTML5LoadedScript=ft.src,Yt("GeoGebra HTML5 codebase loaded: '"+Je+"'.",Qe),!Ie&&(!me||me=="5.0")?(Ee?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),yt()):Je.requirejs?__webpack_require__.e(981).then(function(){var Nt=[__webpack_require__(60981)];yt.apply(null,Nt)}.bind(this)).catch(__webpack_require__.oe):(ft.onload=yt,Me.appendChild(ft))}else be(Ge,Qe);Qe.height=xe,Qe.width=st},Pe=function(Me,Qe,ot){var Kt=un(Qe.width,Qe.height,Qe.borderColor,ot),Ge=document.createElement("div");Ge.style.position="relative",Ge.style.display="block",Ge.style.width=Qe.width+"px",Ge.style.height=Qe.height+"px",Ge.className="applet_screenshot applet_scaler"+(ot?" applet_screenshot_play":""),Ge.appendChild(Kt);var st=GGBAppletUtils.getScale(Qe,Me,ot);ot?(Me.appendChild(bt()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ge,"66%"),Me.appendChild(Ge),st!==1&&!isNaN(st)&&(GGBAppletUtils.scaleElement(Ge,st),Ge.style.width=Qe.width+"px",Ge.style.height=Qe.height+"px",Ge.parentNode.style.width=Qe.width*st+"px",Ge.parentNode.style.height=Qe.height*st+"px"),xt.resize=function(){_e(Me,Kt,Ge,ot)},window.addEventListener("resize",function(xe){xt.resize()}),xt.resize()};function _e(Me,Qe,ot,Kt){if(Me.contains(Qe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}var Ge=GGBAppletUtils.getScale(fe,Me,Kt);ot.parentNode!==null&&(!isNaN(Ge)&&Ge!==1?(GGBAppletUtils.scaleElement(ot,Ge),ot.parentNode.style.width=fe.width*Ge+"px",ot.parentNode.style.height=fe.height*Ge+"px"):(GGBAppletUtils.scaleElement(ot,1),ot.parentNode.style.width=fe.width+"px",ot.parentNode.style.height=fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}xt.onExitFullscreen=function(Me,Qe){Qe.appendChild(Me)};var Wt=function(Me,Qe,ot,Kt){Pe(Me,Qe,!0);for(var Ge=function(){var lt=[];for(xe=0;xe<Me.childNodes.length;xe++)lt.push(Me.childNodes[xe]);if(window.GGBT_wsf_view){var wt=window.GGBT_wsf_view.renderFullScreen(Me,Qe.id),oe=document.getElementById("fullscreencontainer"),te=jQuery(Me).find(".fullscreencontent");te.length>0?(wt.remove(),te.attr("id","fullscreencontent").show(),jQuery(oe).append(te),window.dispatchEvent(new Event("resize"))):Ye(wt,Qe,!1),window.GGBT_wsf_view.launchFullScreen(oe)}else at=Kt,Ye(Me,Qe,!1);if(!window.GGBT_wsf_view)for(xe=0;xe<lt.length;xe++)Me.removeChild(lt[xe])},st=Me.getElementsByClassName("ggb_preview_play"),xe=0;xe<st.length;xe++)st[xe].addEventListener("click",Ge,!1),st[xe].addEventListener("ontouchstart",Ge,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Me),rt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},bt=function(){var Me=document.createElement("div");if(Me.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Qe='.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");}',ot=document.createElement("style");ot.styleSheet?ot.styleSheet.cssText=Qe:ot.appendChild(document.createTextNode(Qe)),document.getElementsByTagName("head")[0].appendChild(ot)}return Me},un=function(Me,Qe,ot,Kt){var Ge=document.createElement("div");Ge.className="ggb_preview",Ge.style.position="absolute",Ge.style.zIndex="90",Ge.style.width=Me-2+"px",Ge.style.height=Qe-2+"px",Ge.style.top="0px",Ge.style.left="0px",Ge.style.overflow="hidden",Ge.style.backgroundColor="white";var st="lightgrey";ot!==void 0&&(ot==="none"?st="transparent":st=ot),Ge.style.border="1px solid "+st;var xe=document.createElement("img");if(xe.style.position="relative",xe.style.zIndex="1000",xe.style.top="-1px",xe.style.left="-1px",we!==null&&xe.setAttribute("src",we),xe.style.opacity=.7,Ve!==null){var lt,wt,oe;if(!Kt){lt=document.createElement("img"),lt.style.position="absolute",lt.style.zIndex="1001",lt.style.opacity=1,xe.style.opacity=.3,wt=360,wt>Me/4*3&&(wt=Me/4*3),oe=wt/5.8,lt.setAttribute("src",Ve),lt.setAttribute("width",wt),lt.setAttribute("height",oe);var te=(Me-wt)/2,z=(Qe-oe)/2;lt.style.left=te+"px",lt.style.top=z+"px",Ge.appendChild(lt)}}return Ge.appendChild(xe),Ge},Rt=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},ge=["web","webSimple","web3d","tablet","tablet3d","phone"],he=function(Me,Qe){if(Oe=Me,Qe){ct(Oe,!0);return}var ot=!je;if(ot){var Kt=Ke(Oe);!isNaN(Kt)&&Kt<4.4&&(ot=!1)}var Ge,st;window.location.protocol.substr(0,4)==="http"?Ge=window.location.protocol:Ge="http:";var xe=Oe.indexOf("//");xe>0?st=Oe:xe===0?st=Ge+Oe:st="https://www.geogebra.org/apps/5.2.814.0/";for(var lt in ge)if(Oe.slice(ge[lt].length*-1)===ge[lt]||Oe.slice((ge[lt].length+1)*-1)===ge[lt]+"/"){ct(st,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ot&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Be(fe.showToolBar)&&!Be(fe.showMenuBar)&&!Be(fe.showAlgebraInput)&&!Be(fe.enableRightClick)&&(!fe.appName||fe.appName=="classic")?st+="webSimple/":st+="web3d/",ct(st,!1)},ct=function(Me,Qe){if(Me.requirejs){Je=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),Je=Me,Qe===null&&(Qe=Me.indexOf("http")===-1),pe=Qe,Se="web.nocache.js",Ee=!1;var ot=Je.split("/");ot.length>1&&(!Qe&&ot[ot.length-2]==="webSimple"?(Se="webSimple.nocache.js",Ee=!0):ge.indexOf(ot[ot.length-2])>=0&&(Se=ot[ot.length-2]+".nocache.js")),ot=Me.split("/"),Oe=ot[ot.length-3],Oe.substr(0,4)==="test"?Oe=Oe.substr(4,1)+"."+Oe.substr(5,1):(Oe.substr(0,3)==="war"||Oe.substr(0,4)==="beta")&&(Oe="5.0");var Kt=parseFloat(Oe);Kt!==NaN&&Kt<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Kt+" is deprecated. Using version latest instead."),he("5.0",Qe))},Yt=function(Me,Qe){window.console&&window.console.log&&(!Qe||typeof Qe.showLogging=="undefined"||Qe.showLogging&&Qe.showLogging!=="false")&&console.log(Me)};fe.material_id!==void 0?At(Ct):Ct();function Ct(){var Me=Pt;me!==null?Me=me:parseFloat(Me)<5&&(Me="5.0"),he(Me,!1),Ie!==null&&ct(Ie,pe),ve=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function Pt(ve,me){me!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+me+","+me+")",ve.style.webkitTransform="scale("+me+","+me+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function fe(ve,me,Ie,He,Ce,de){var Je=null;if(de!=null&&de!="")for(var pe=ve.parentNode;pe!=null;)if((" "+pe.className+" ").indexOf(" "+de+" ")>-1){Je=pe;break}else pe=pe.parentNode;var at=0,Oe=0,Se=0,Ee=0,we=0,Ve=0,tt=0;if(Je)at=Je.offsetWidth,Oe=Math.max(He?Je.offsetWidth:0,Je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(at=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=at):(at=window.innerWidth,Oe=window.innerHeight,Se=window.innerWidth),ve){var nt=ve.getBoundingClientRect();nt.left>0&&nt.left<=at&&(Ce===void 0||!Ce)&&(document.dir==="rtl"?(we=at-nt.width-nt.left,Ve=Se<=480?10:30):(Ve=nt.left,we=Se<=480?10:30),Ee=Ve+we)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var it=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee=40,tt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ee=0,tt=40)}}return ve&&((Ie===void 0||!Ie)&&me>0&&me+Ee<at?at=me:at-=Ee,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie===void 0||!Ie)&&(Oe-=tt)),{width:at,height:Oe}}function ae(ve,me,Ie,He,Ce){if(ve.isScreenshoGenerator)return 1;var de=He!==void 0&&He,Je=ve.noScaleMargin!=null&&ve.noScaleMargin,pe=function(it){return it&&it!=="false"},at=pe(ve.autoHeight),Oe=fe(me,ve.width,Ie,at,de&&window.GGBT_wsf_view||Je,Ce),Se=parseInt(Oe.width),Ee=ve.width,we=ve.height;if(Ee===void 0){var Ve=me.querySelector(".appletParameters");Ve&&(Ee=Ve.offsetWidth,we=Ve.offsetHeight)}var tt=Se/Ee,nt=de?1:Oe.height/we;return Ie!==void 0&&!Ie&&(tt=Math.min(1,tt),nt=Math.min(1,nt)),Math.min(tt,nt)}function je(ve,me,Ie){var He=1,Ce,de=!1;if(ve.hasOwnProperty("allowUpscale")&&(de=ve.allowUpscale),ve.hasOwnProperty("scale")&&(He=parseFloat(ve.scale),(isNaN(He)||He===null||He===0)&&(He=1),He>1&&(de=!0)),me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))Ce=ae(ve,me,de,Ie,ve.scaleContainerClass);else return He;return de&&(!ve.hasOwnProperty("scale")||He===1)?Ce:Math.min(He,Ce)}function De(ve){var me=Math.min(window.innerWidth,document.documentElement.clientWidth),Ie=Math.min(window.innerHeight,document.documentElement.clientHeight),He=ve.getBoundingClientRect(),Ce=(me-He.width)/2,de=(Ie-He.height)/2;de<0&&(de=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce<40?ve.style.left="40px":ve.style.left=Ce+"px",ve.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?ve.style.top="40px":ve.style.top=de+"px",ve.style.left=Ce+"px")}function ze(ve,me){var Ie=ve.querySelector(".appletParameters");if(Ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(me.id!==Ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(Ie.parentElement&&/fullscreen/.test(Ie.parentElement.className))return;var He=je(me,ve);xt()&&Ie.setAttribute("data-param-scale",He);for(var Ce=null,de=0;de<ve.childNodes.length;de++)if(ve.childNodes[de].className!==void 0&&ve.childNodes[de].className.match(/^applet_scaler/)){Ce=ve.childNodes[de];break}if(Ce!==null&&Ce.querySelector(".noscale")!==null)return;var Je=me.id!==void 0?me.id:"ggbApplet",pe=window[Je];(pe==null||!pe.recalculateEnvironments)&&Ce!==null&&!Ce.className.match(/fullscreen/)&&(Ce.parentNode.style.transform="",!isNaN(He)&&He!==1?(Ce.parentNode.style.width=me.width*He+"px",Ce.parentNode.style.height=me.height*He+"px",Pt(Ce,He)):(Pt(Ce,1),Ce.parentNode.style.width=me.width+"px",Ce.parentNode.style.height=me.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&De(ve),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ie).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:xt,positionCenter:De,getScale:je,scaleElement:Pt}}();__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 xt=n.location.search;return xt.indexOf(J)!=-1||xt.indexOf(K)!=-1}function q(xt,Pt){}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(xt){var Pt=s[L].bindings;s[L].bindings=function(){for(var fe=Pt?Pt():{},ae=xt[webModule.__softPermutationId],je=O;je<ae.length;je++){var De=ae[je];fe[De[O]]=De[P]}return fe}};var t;function u(){return v(),t}function v(){if(!t){var xt=o.createElement(Q);if(xt.id=L,xt.style.cssText=R+S,xt.tabIndex=-1,o.body.appendChild(xt),t=xt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Pt=document.compatMode==U?V:W;t.write(Pt+X),t.close()}}}function w(xt){function Pt(ae){function je(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var De=je();if(De){ae();return}function ze(){if(!De){if(!je())return;De=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),ve&&clearInterval(ve)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var ve=setInterval(function(){ze()},$)}function fe(ae){var je=u(),De=je.body,ze=je.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=ae,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),De.appendChild(ze)}Pt(function(){fe(xt)})}webModule.__startLoadingFragment=function(xt){return C(xt)},webModule.__installRunAsyncCode=function(xt){var Pt=u(),fe=Pt.body,ae=Pt.createElement(_);ae.language=ab,ae.text=xt,fe.appendChild(ae),fe.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(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var Pt=c[xt];return Pt==null?null:Pt},r=d,webModule.__errFn=e}function B(){function xt(ve){var me=ve.lastIndexOf(rb);me==-1&&(me=ve.length);var Ie=ve.indexOf(sb);Ie==-1&&(Ie=ve.length);var He=ve.lastIndexOf(tb,Math.min(Ie,me));return He>=O?ve.substring(O,He+P):W}function Pt(ve){if(!ve.match(/^\w+:\/\//)){var me=o.createElement(ub);me.src=ve+vb,ve=xt(me.src)}return ve}function fe(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function ae(){for(var ve=o.getElementsByTagName(_),me=O;me<ve.length;++me)if(ve[me].src.indexOf(xb)!=-1)return xt(ve[me].src);return W}function je(){var ve=o.getElementsByTagName(yb);return ve.length>O?ve[ve.length-P].href:W}function De(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var ze=fe();return ze==W&&(ze=ae()),ze==W&&(ze=je()),ze==W&&De()&&(ze=xt(o.location.href)),ze=Pt(ze),ze}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],Pt=O,fe=[],ae=[];function je(ve){var me=ae[ve](),Ie=fe[ve];if(me in Ie)return me;var He=[];for(var Ce in Ie)He[Ie[Ce]]=Ce;throw r&&r(ve,He,me),null}if(__gwt_isKnownPropertyValue=function(ve,me){return me in fe[ve]},webModule.__getPropMap=function(){var ve={};for(var me in fe)fe.hasOwnProperty(me)&&(ve[me]=je(me));return ve},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var ze=De.indexOf(Db);ze!=-1&&(Pt=parseInt(De.substring(ze+P),$),De=De.substring(O,ze))}catch(ve){}return webModule.__softPermutationId=Pt,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},67303:function(xt,Pt,fe){"use strict";fe.d(Pt,{Ax:function(){return ze},Ds:function(){return ve},KI:function(){return Ie},SI:function(){return De},f1:function(){return je}});var ae=fe(90524);function je(He){let Ce=!0;if(He.length>0){for(let de=0;de<He.length;de++)if(He[de].compile_success==0||!He[de].compile_success){Ce=!1;break}}else Ce=!1;return Ce}function De(He,Ce=""){let de=[];for(let Je=0;Je<He.length;Je++){let pe=He[Je],at=Ce?`${Ce}/${pe.name}`:`${pe.name}`;de.push({title:pe.name,type:pe.type,isLeaf:pe.type!=="tree",key:at})}return de}function ze(He,Ce,de){for(let Je=0;Je<He.length;Je++){let pe=He[Je];if(pe.key===Ce){pe.children=de;break}pe.children&&ze(pe.children,Ce,de)}return He}function ve(He,Ce,de){let Je;return function(){let pe=this,at=arguments,Oe=function(){Je=null,de||He.apply(pe,at)},Se=de&&!Je;clearTimeout(Je),Je=setTimeout(Oe,Ce),Se&&He.apply(pe,at)}}const me=!0,Ie=ae.Z.API_SERVER},64885:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return Oe}});var ae=fe(99571),je=fe(59301),De=Object.defineProperty,ze=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ce=(Se,Ee,we)=>Ee in Se?De(Se,Ee,{enumerable:!0,configurable:!0,writable:!0,value:we}):Se[Ee]=we,de=(Se,Ee)=>{for(var we in Ee||(Ee={}))Ie.call(Ee,we)&&Ce(Se,we,Ee[we]);if(me)for(var we of me(Ee))He.call(Ee,we)&&Ce(Se,we,Ee[we]);return Se},Je=(Se,Ee)=>ze(Se,ve(Ee)),pe=(Se,Ee)=>{var we={};for(var Ve in Se)Ie.call(Se,Ve)&&Ee.indexOf(Ve)<0&&(we[Ve]=Se[Ve]);if(Se!=null&&me)for(var Ve of me(Se))Ee.indexOf(Ve)<0&&He.call(Se,Ve)&&(we[Ve]=Se[Ve]);return we},at=(Se,Ee,we)=>new Promise((Ve,tt)=>{var nt=Xe=>{try{Ke(we.next(Xe))}catch(rt){tt(rt)}},it=Xe=>{try{Ke(we.throw(Xe))}catch(rt){tt(rt)}},Ke=Xe=>Xe.done?Ve(Xe.value):Promise.resolve(Xe.value).then(nt,it);Ke((we=we.apply(Se,Ee)).next())});const Oe=Se=>{var Ee=Se,{children:we}=Ee,Ve=pe(Ee,["children"]);const[tt,nt]=(0,je.useState)(!1);return je.createElement(ae.ZP,Je(de({},Ve),{loading:tt,onClick:it=>at(void 0,null,function*(){try{nt(!0),yield Ve.onClick(it),nt(!1)}catch(Ke){console.error(Ke),nt(!1)}})}),we)}},6077:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return Je}});var ae=fe(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=fe(92310),ze=fe.n(De),ve=fe(29787),me=fe(2859),Ie=fe(82093),He=fe(49661),Ce=(pe,at,Oe)=>new Promise((Se,Ee)=>{var we=nt=>{try{tt(Oe.next(nt))}catch(it){Ee(it)}},Ve=nt=>{try{tt(Oe.throw(nt))}catch(it){Ee(it)}},tt=nt=>nt.done?Se(nt.value):Promise.resolve(nt.value).then(we,Ve);tt((Oe=Oe.apply(pe,at)).next())}),Je=({data:pe,className:at,fullWidth:Oe,style:Se={},onClose:Ee,onOk:we,showFullTools:Ve,noAssociationId:tt})=>{const nt=(0,ae.useRef)(null),it=(0,ae.useRef)(null),Ke=(0,ae.useRef)(null),Xe=(0,ae.useRef)(null),[rt,At]=(0,ae.useState)(!1),[Re,Fe]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>(Ke.current||(Ke.current=document.createElement("style"),document.head.appendChild(Ke.current)),pe!=null&&pe.visible?(document.body.setAttribute("data-custom","y-hidden"),Ke.current.innerHTML=" html { overflow-y: hidden; }",pe!=null&&pe.src&&ut()):(document.body.removeAttribute("data-custom"),Ke.current&&(document.head.removeChild(Ke.current),Ke.current=null)),()=>{document.body.removeAttribute("data-custom"),Ke.current&&(document.head.removeChild(Ke.current),Ke.current=null)}),[pe==null?void 0:pe.visible]);const ut=()=>Ce(void 0,null,function*(){At(!0),Fe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,He.ZJ)(pe==null?void 0:pe.src);nt.current.src="",nt.current.src=_e,nt.current.onload=function(){Pe()},At(!1),Fe("")}),Be=_e=>Ce(void 0,null,function*(){At(!0),Fe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Wt=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:pe.title,file:_e.dataUrl}});Wt!=null&&Wt.id&&!tt?(yield(0,Ie.ZP)(`/api/attachments/${pe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Wt==null?void 0:Wt.id,settings:JSON.stringify(_e.state)}})).status===0&&we():Wt!=null&&Wt.id&&we(Wt),At(!1),Fe("")}),Ye=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.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(bt=>{const un=document.querySelector(bt.name);un&&un.setAttribute("title",bt.title)})},Pe=()=>{it.current=new me.hP(nt.current),it.current.targetRoot=Xe.current,it.current.addEventListener("render",Be),it.current.addEventListener("beforeclose",Ee),Ve&&(it.current.availableMarkerTypes=it.current.ALL_MARKER_TYPES,it.current.uiStyleSettings.redoButtonVisible=!0,it.current.uiStyleSettings.notesButtonVisible=!0,it.current.uiStyleSettings.zoomButtonVisible=!0,it.current.uiStyleSettings.zoomOutButtonVisible=!0,it.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=it.current.uiStyleSettings,it.current.show(),pe!=null&&pe.snapshotData&&it.current.restoreState(pe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return ae.createElement(ae.Fragment,null,(pe==null?void 0:pe.visible)&&ae.createElement(ve.Z,{spinning:rt,tip:Re,style:{position:"absolute",width:"100vw"}},ae.createElement("div",{ref:Xe,className:ze()(je.imageDimensions,at,Oe?je.fullWidth:""),style:Se},ae.createElement("img",{className:je.img,ref:nt}))))}},88615:function(xt,Pt,fe){"use strict";var ae=fe(59301),je=fe(77019),De=fe(5269),ze=fe(20554),ve=fe(99571),me=fe(38394),Ie=fe(21697),He=fe(48136),Ce=fe(59301);const de=(0,ae.forwardRef)(({callback:Je,showSaveButton:pe,value:at=""},Oe)=>{const Se=(0,ae.useRef)(),Ee=[{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 "}]}]}],we=[{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}`}]}]}],Ve=it=>{Se.current.setValue(Se.current.getValue()+" "+it.value+" ")},tt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ce.createElement(je.Z,{className:Ie.Z.lists,gutter:[10,10]},Ee.map((it,Ke)=>Ce.createElement(De.Z,{flex:"110px",className:Ie.Z.item},Ce.createElement("div",null,Ce.createElement(me.Z,{value:`$$${it.value}$$`}),it.name),Ce.createElement("div",{className:Ie.Z.children},it.children.map((Xe,rt)=>Ce.createElement("div",{key:rt},Ce.createElement("h1",null,Xe.name),Ce.createElement(je.Z,{gutter:[10,10]},Xe.data.map((At,Re)=>Ce.createElement(De.Z,{key:Re,onClick:()=>Ve(At),className:Ie.Z.diamond},Ce.createElement(me.Z,{value:"`$$"+At.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ce.createElement(je.Z,{className:Ie.Z.lists,gutter:[10,10]},we.map((it,Ke)=>Ce.createElement(De.Z,{flex:"110px",className:Ie.Z.item},Ce.createElement("div",null,Ce.createElement(me.Z,{value:"`$$"+it.value+"$$`"}),it.name),Ce.createElement("div",{className:Ie.Z.children},it.children.map((Xe,rt)=>Ce.createElement("div",{key:rt},Xe.name&&Ce.createElement("h1",null,Xe.name),Ce.createElement(je.Z,{gutter:[10,10]},Xe.data.map((At,Re)=>Ce.createElement(De.Z,{key:Re,onClick:()=>Ve(At),className:Ie.Z.diamond},Ce.createElement(me.Z,{value:"`$$"+At.value+"$$`"}))))))))))}],nt=()=>{var it=document.createElement("div");it.innerHTML=Se.current.getValue();var Ke=it.innerText;return Je&&Je(Ke),Ke};return(0,ae.useImperativeHandle)(Oe,()=>({getData:nt})),Ce.createElement("div",{className:Ie.Z.mathWrap},Ce.createElement(ze.default,{defaultActiveKey:"1",items:tt}),Ce.createElement("math-field",{locale:"zh_cn",className:Ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Se,style:{width:800,marginTop:30,fontSize:18}},at||""),pe&&Ce.createElement("div",{className:Ie.Z.button},Ce.createElement(ve.ZP,{size:"large",onClick:nt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Pt.Z=de},57884:function(xt,Pt,fe){"use strict";var ae=fe(59301),je=fe(93314),De=fe(99571),ze=Object.defineProperty,ve=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,de=(Oe,Se,Ee)=>Se in Oe?ze(Oe,Se,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):Oe[Se]=Ee,Je=(Oe,Se)=>{for(var Ee in Se||(Se={}))He.call(Se,Ee)&&de(Oe,Ee,Se[Ee]);if(Ie)for(var Ee of Ie(Se))Ce.call(Se,Ee)&&de(Oe,Ee,Se[Ee]);return Oe},pe=(Oe,Se)=>ve(Oe,me(Se));const at=({img:Oe,buttonProps:Se={},styles:Ee={},customText:we,ButtonText:Ve,ButtonClick:tt,Buttonclass:nt,ButtonTwo:it,imgStyles:Ke,loading:Xe=!1,className:rt=""})=>ae.createElement("section",{className:`tc animated fadeIn ${rt}`,style:Je({color:"#999",margin:"100px auto",visibility:Xe?"hidden":"visible"},Ee)},ae.createElement("img",{src:Oe||je,style:pe(Je({},Ke),{pointerEvents:"none",userSelect:"none"})}),ae.createElement("p",{className:"mt20 font14"},we||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ve&&ae.createElement(De.ZP,Je({className:nt,onClick:tt},Se),Ve),it&&it);Pt.Z=at},41550:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return nt}});var ae=fe(59301),je={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},De=fe(99571),ze=fe(70557),ve=fe(51124),me=fe(25399),Ie=fe(49661),He=fe(72664),Ce=fe(57884),de=fe(90524),Je=fe(14794),pe=fe(59301),at=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,we=(it,Ke,Xe)=>Ke in it?at(it,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):it[Ke]=Xe,Ve=(it,Ke)=>{for(var Xe in Ke||(Ke={}))Se.call(Ke,Xe)&&we(it,Xe,Ke[Xe]);if(Oe)for(var Xe of Oe(Ke))Ee.call(Ke,Xe)&&we(it,Xe,Ke[Xe]);return it},tt=(it,Ke,Xe)=>new Promise((rt,At)=>{var Re=Be=>{try{ut(Xe.next(Be))}catch(Ye){At(Ye)}},Fe=Be=>{try{ut(Xe.throw(Be))}catch(Ye){At(Ye)}},ut=Be=>Be.done?rt(Be.value):Promise.resolve(Be.value).then(Re,Fe);ut((Xe=Xe.apply(it,Ke)).next())}),nt=({editOffice:it="view",data:Ke,issaver:Xe,onSaver:rt,theme:At,type:Re,filename:Fe,monacoEditor:ut,className:Be,style:Ye,close:Pe,onClose:_e,hasMask:Wt,disabledDownload:bt,onImgDimensions:un,showNodata:Rt,recordInfo:ge})=>{const[he,ct]=(0,ae.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Yt,Ct]=(0,ae.useState)(""),[Me,Qe]=(0,ae.useState)(),ot=window.ENV==="build"?"/react/build":"",Kt=location.host.startsWith("localhost")?de.Z.PROXY_SERVER:de.Z.API_SERVER,st=10*(1024*1024),xe=(0,ae.useRef)();Ke!=null&&Ke.startsWith("/api")&&Re!=="txt"&&(Ke=de.Z.API_SERVER+Ke);const lt=re=>re.substring(re.lastIndexOf("/")+1).split(".").pop();Fe&&ut&&(ut.filename=Fe),(0,ae.useEffect)(()=>{var re,le;const ne=(le=(re=document.cookie)==null?void 0:re.replace(/\s/g,""))==null?void 0:le.split(";");ne==null||ne.map(be=>{let Ue=be.split("=");Ue[0]==="_educoder_session"&&Ct(Ue[1])})},[]),(0,ae.useEffect)(()=>{Re==="office"&&(Ke.indexOf("bigfilescdn.")>-1||Ke.indexOf("bigfiles1")>-1?Qe({url:Ke,fileType:lt(Ke),model:Ke.indexOf("model=edit")?"edit":"view"}):oe())},[Re,Ke]);function wt(re){return tt(this,null,function*(){re.data.type==="pdfdata"&&(rt(re.data.data),window.removeEventListener("message",wt,!1)),console.log("mess---:",re.data)})}const oe=()=>tt(void 0,null,function*(){console.log("data:",Ke);let re=Ke;Ke.startsWith("http")||(re=location.origin+re);let le=new URL(re).pathname.split("/").pop();const ne=yield(0,He.gJ)({attachment_id:le});ne.url=Kt+ne.url,Qe(ne)}),te=()=>{if(Ke.startsWith("http")||Ke.startsWith("blob:")){z();return}(0,Ie.Sv)(Fe||"educoder",Ke,Fe)},z=()=>{ge&&(0,Je.fc)({id:ge==null?void 0:ge.id,watch_type:1,course_id:ge==null?void 0:ge.course_id}),(0,Ie.Nd)(Fe||"educoder",decodeURIComponent(Ke))};return pe.createElement("div",{style:Ve({},Ye||{}),className:`${Wt&&je.bgBlack} ${Re?je.wrp:"hide"}`},Pe&&pe.createElement("div",{className:je.close,ref:xe},!!un&&pe.createElement(me.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>xe.current},pe.createElement("span",{onClick:()=>{_e(),un()}},pe.createElement("i",{className:"icon-yulanpizhu"}))),!bt&&pe.createElement(me.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>xe.current},pe.createElement("span",{onClick:z},pe.createElement("i",{className:"icon-quxiaozhiding"}))),Xe&&pe.createElement(me.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>xe.current},pe.createElement("span",{className:"",onClick:()=>{const re=document.getElementById("pdfiframe");window.addEventListener("message",wt,!1),setTimeout(()=>{re.contentWindow.postMessage("getData","*")},300)}},pe.createElement("i",{className:"icon-baocun"}))),pe.createElement(me.Z,{title:"\u5173\u95ED",getPopupContainer:()=>xe.current},pe.createElement("span",{className:"",onClick:()=>{_e()}},pe.createElement("i",{className:"icon-guanbi1"})))),pe.createElement("div",{className:`${je[Be]} ${Be} ${je.monaco} ${Re==="txt"?"show":"hide"}`},Re==="txt"&&pe.createElement(pe.Fragment,null,pe.createElement(ve.ZP,Ve({},ut)))),Re==="audio"&&pe.createElement("audio",{src:`${(Ke==null?void 0:Ke.indexOf("http://"))>-1||(Ke==null?void 0:Ke.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Ke}`,autoPlay:!0}),Re==="video"&&pe.createElement(pe.Fragment,null,(Ke==null?void 0:Ke.indexOf("http"))>-1?pe.createElement("video",{controls:!0,src:`${Ke}`,autoPlay:!0}):pe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Ke}`,autoPlay:!0})),Re==="office"&&Me&&pe.createElement("iframe",{src:`${ot}/office.html?key=${Me.key}&url=${btoa(Me.url)}&callbackUrl=${Kt+(Me.callbackUrl||"")}&fileType=${Me.fileType}&title=${Me.title||""}&model=${it}&officeServer=${de.Z.ONLYOFFICE}&disabledDownload=${!!bt}`}),Re==="html"&&pe.createElement("iframe",{src:Ke+"&disposition=inline"}),Re==="pdf"&&pe.createElement("iframe",{id:"pdfiframe",src:`${ot}/js/pdfview/index.html?filename=${Fe||"educoder.pdf"}&url=${encodeURIComponent(Ke)}&disabledDownload=${!!bt}&model=${it}`}),Re==="image"&&pe.createElement("img",{src:`${(Ke==null?void 0:Ke.indexOf("http://"))>-1||(Ke==null?void 0:Ke.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Ke}`}),(Re==="other"||Re==="download")&&pe.createElement(pe.Fragment,null,Rt?pe.createElement(Ce.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:pe.createElement(De.ZP,{icon:pe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:te,disabled:bt},"\u4E0B\u8F7D")}):pe.createElement(De.ZP,{type:"primary",size:"middle",onClick:te,disabled:bt},pe.createElement(ze.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Re==="flowChart"&&pe.createElement("div",{className:"embed"},pe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Ke||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},38394:function(xt,Pt,fe){"use strict";fe.d(Pt,{z:function(){return ut},Z:function(){return Be}});var ae=fe(59301),je=fe(88831),De=fe(90290),ze=fe(64018),ve=fe(39394),me=fe(90524),Ie=fe(49661),He=fe(15342),Ce=fe(77736),de=fe(99571),Je=fe(1012),pe=fe(41550),at=fe(59301),Se=({html:Ye})=>{const Pe=(0,ae.useRef)(null),_e=(0,ae.useRef)(null),Wt=`.markdown-body p {
|
|
margin: 0 0 16px 0 !important;
|
|
line-height: 28px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
li {
|
|
list-style-type: none
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
dl {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.markdown-body {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
color: #333;
|
|
overflow: hidden;
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
word-break: break-word;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
position: relative;
|
|
}
|
|
|
|
.markdown-body ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.markdown-body ol>li {
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.markdown-body a {
|
|
background: transparent;
|
|
}
|
|
|
|
.markdown-body a:active,
|
|
.markdown-body a:hover {
|
|
outline: 0;
|
|
}
|
|
|
|
.markdown-body strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 2em;
|
|
margin: 0.67em 0;
|
|
}
|
|
|
|
.markdown-body img {
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-body code,
|
|
.markdown-body kbd,
|
|
.markdown-body pre {
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body input {
|
|
color: inherit;
|
|
font: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body html input[disabled] {
|
|
cursor: default;
|
|
}
|
|
|
|
.markdown-body input {
|
|
line-height: normal;
|
|
}
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.markdown-body td,
|
|
.markdown-body th {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body * {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body input {
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: #4183c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body a:hover,
|
|
.markdown-body a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
height: 0;
|
|
margin: 15px 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body hr:before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body hr:after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ul.linenums,
|
|
ol.linenums {
|
|
padding: 16px 0 0 56px !important;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
|
|
.markdown-body ol ol,
|
|
.markdown-body ul ol {
|
|
list-style-type: lower-roman;
|
|
}
|
|
|
|
.markdown-body ul ul ol,
|
|
.markdown-body ul ol ol,
|
|
.markdown-body ol ul ol,
|
|
.markdown-body ol ol ol {
|
|
list-style-type: lower-alpha;
|
|
}
|
|
|
|
.markdown-body dd {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.markdown-body code {
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
}
|
|
|
|
.markdown-body .octicon {
|
|
font: normal normal 16px octicons-anchor;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.markdown-body .octicon-link:before {
|
|
content: '\f05c';
|
|
}
|
|
|
|
.markdown-body>*:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.markdown-body>*:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.markdown-body .anchor {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: block;
|
|
padding-right: 6px;
|
|
padding-left: 30px;
|
|
margin-left: -30px;
|
|
}
|
|
|
|
.markdown-body .anchor:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
position: relative;
|
|
margin-top: 1em;
|
|
margin-bottom: 16px;
|
|
font-weight: bold;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
.markdown-body h2 .octicon-link,
|
|
.markdown-body h3 .octicon-link,
|
|
.markdown-body h4 .octicon-link,
|
|
.markdown-body h5 .octicon-link,
|
|
.markdown-body h6 .octicon-link {
|
|
display: none;
|
|
color: #000;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
.markdown-body h2:hover .anchor,
|
|
.markdown-body h3:hover .anchor,
|
|
.markdown-body h4:hover .anchor,
|
|
.markdown-body h5:hover .anchor,
|
|
.markdown-body h6:hover .anchor {
|
|
padding-left: 8px;
|
|
margin-left: -30px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 2.25em;
|
|
line-height: 1.2;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h1 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 1.75em;
|
|
line-height: 1.225;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h2 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 1.5em;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
.markdown-body h3 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.markdown-body h4 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body h5 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 1em;
|
|
color: #777;
|
|
}
|
|
|
|
.markdown-body h6 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body ul ul,
|
|
.markdown-body ul ol,
|
|
.markdown-body ol ol,
|
|
.markdown-body ol ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body li>p {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.markdown-body dl {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body dl dt {
|
|
padding: 0;
|
|
margin-top: 16px;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body dl dd {
|
|
padding: 0 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
padding: 0 15px;
|
|
color: #777;
|
|
border-left: 4px solid #ddd;
|
|
}
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: auto;
|
|
word-break: normal;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.markdown-body table th {
|
|
font-weight: bold;
|
|
text-align: revert;
|
|
}
|
|
|
|
.markdown-body table th,
|
|
.markdown-body table td {
|
|
padding: 6px 13px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body table tr {
|
|
background-color: #fff;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body code {
|
|
padding: 0;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
margin: 0;
|
|
font-size: 85%;
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body code:has(.katex) {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.markdown-body code:before,
|
|
.markdown-body code:after {
|
|
letter-spacing: -0.2em;
|
|
content: "\\00a0";
|
|
}
|
|
|
|
.markdown-body pre>code {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 100%;
|
|
word-break: normal;
|
|
white-space: pre;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body .highlight {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body .highlight pre,
|
|
.markdown-body pre {
|
|
padding: 16px;
|
|
overflow: auto;
|
|
font-size: 85%;
|
|
line-height: 1.45;
|
|
background-color: #f7f7f7;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body .highlight pre {
|
|
margin-bottom: 0;
|
|
word-break: normal;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
word-wrap: normal;
|
|
}
|
|
|
|
.markdown-body pre code {
|
|
display: inline;
|
|
max-width: initial;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: initial;
|
|
line-height: inherit;
|
|
word-wrap: normal;
|
|
background-color: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body pre code:before,
|
|
.markdown-body pre code:after {
|
|
content: normal;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font-size: 11px;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .pl-c {
|
|
color: #969896;
|
|
}
|
|
|
|
.markdown-body .pl-c1,
|
|
.markdown-body .pl-mdh,
|
|
.markdown-body .pl-mm,
|
|
.markdown-body .pl-mp,
|
|
.markdown-body .pl-mr,
|
|
.markdown-body .pl-s1 .pl-v,
|
|
.markdown-body .pl-s3,
|
|
.markdown-body .pl-sc,
|
|
.markdown-body .pl-sv {
|
|
color: #0086b3;
|
|
}
|
|
|
|
.markdown-body .pl-e,
|
|
.markdown-body .pl-en {
|
|
color: #795da3;
|
|
}
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
.markdown-body .pl-smi,
|
|
.markdown-body .pl-smp,
|
|
.markdown-body .pl-stj,
|
|
.markdown-body .pl-vo,
|
|
.markdown-body .pl-vpf {
|
|
color: #333;
|
|
}
|
|
|
|
.markdown-body .pl-ent {
|
|
color: #63a35c;
|
|
}
|
|
|
|
.markdown-body .pl-k,
|
|
.markdown-body .pl-s,
|
|
.markdown-body .pl-st {
|
|
color: #a71d5d;
|
|
}
|
|
|
|
.markdown-body .pl-pds,
|
|
.markdown-body .pl-s1,
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
.markdown-body .pl-sr,
|
|
.markdown-body .pl-sr .pl-cce,
|
|
.markdown-body .pl-sr .pl-sra,
|
|
.markdown-body .pl-sr .pl-sre,
|
|
.markdown-body .pl-src {
|
|
color: #df5000;
|
|
}
|
|
|
|
.markdown-body .pl-mo,
|
|
.markdown-body .pl-v {
|
|
color: #1d3e81;
|
|
}
|
|
|
|
.markdown-body .pl-id {
|
|
color: #b52a1d;
|
|
}
|
|
|
|
.markdown-body .pl-ii {
|
|
background-color: #b52a1d;
|
|
color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
color: #63a35c;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-ml {
|
|
color: #693a17;
|
|
}
|
|
|
|
.markdown-body .pl-mh,
|
|
.markdown-body .pl-mh .pl-en,
|
|
.markdown-body .pl-ms {
|
|
color: #1d3e81;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-mq {
|
|
color: #008080;
|
|
}
|
|
|
|
.markdown-body .pl-mi {
|
|
color: #333;
|
|
font-style: italic;
|
|
}
|
|
|
|
.markdown-body .pl-mb {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-md,
|
|
.markdown-body .pl-mdhf {
|
|
background-color: #ffecec;
|
|
color: #bd2c00;
|
|
}
|
|
|
|
.markdown-body .pl-mdht,
|
|
.markdown-body .pl-mi1 {
|
|
background-color: #eaffea;
|
|
color: #55a532;
|
|
}
|
|
|
|
.markdown-body .pl-mdr {
|
|
color: #795da3;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .task-list-item {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.markdown-body .task-list-item input {
|
|
float: left;
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
z-index: 1;
|
|
position: relative;
|
|
border-color: #4183c4;
|
|
}
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
.pln {
|
|
color: #000
|
|
}
|
|
|
|
/* plain text */
|
|
|
|
@media screen {
|
|
.str {
|
|
color: #080
|
|
}
|
|
|
|
/* string content */
|
|
.kwd {
|
|
color: #008
|
|
}
|
|
|
|
/* a keyword */
|
|
.com {
|
|
color: #800
|
|
}
|
|
|
|
/* a comment */
|
|
.typ {
|
|
color: #606
|
|
}
|
|
|
|
/* a type name */
|
|
.lit {
|
|
color: #066
|
|
}
|
|
|
|
/* a literal value */
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #660
|
|
}
|
|
|
|
.tag {
|
|
color: #008
|
|
}
|
|
|
|
/* a markup tag name */
|
|
.atn {
|
|
color: #606
|
|
}
|
|
|
|
/* a markup attribute name */
|
|
.atv {
|
|
color: #080
|
|
}
|
|
|
|
/* a markup attribute value */
|
|
.dec,
|
|
.var {
|
|
color: #606
|
|
}
|
|
|
|
/* a declaration; a variable name */
|
|
.fun {
|
|
color: red
|
|
}
|
|
|
|
/* a function name */
|
|
}
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
@media print,
|
|
projection {
|
|
.str {
|
|
color: #060
|
|
}
|
|
|
|
.kwd {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.com {
|
|
color: #600;
|
|
font-style: italic
|
|
}
|
|
|
|
.typ {
|
|
color: #404;
|
|
font-weight: bold
|
|
}
|
|
|
|
.lit {
|
|
color: #044
|
|
}
|
|
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #440
|
|
}
|
|
|
|
.tag {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.atn {
|
|
color: #404
|
|
}
|
|
|
|
.atv {
|
|
color: #060
|
|
}
|
|
}
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
pre.prettyprint {
|
|
padding: 2px;
|
|
/* border: 1px solid #888 */
|
|
}
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
ol.linenums {
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
/* IE indents via margin-left */
|
|
li.L0,
|
|
li.L1,
|
|
li.L2,
|
|
li.L3,
|
|
li.L5,
|
|
li.L6,
|
|
li.L7,
|
|
li.L8 {
|
|
list-style-type: none
|
|
}
|
|
|
|
/* Alternate shading for lines */
|
|
li.L1,
|
|
li.L3,
|
|
li.L5,
|
|
li.L7,
|
|
li.L9 {
|
|
background: #eee
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}`;return(0,ae.useEffect)(()=>{const bt=Pe.current.attachShadow({mode:"open"});_e.current=document.createElement("div"),_e.current.className="markdown-body",_e.current.innerHTML=Ye,bt.appendChild(_e.current);const un=document.createElement("style");return un.textContent=Wt,bt.appendChild(un),()=>{bt.innerHTML=""}},[]),(0,ae.useEffect)(()=>{_e.current&&(_e.current.innerHTML=Ye)},[Ye]),at.createElement("div",{ref:Pe})};function Ee(Ye){const Pe=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],_e=new RegExp(`\\b(${Pe.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Ye.replace(_e,"").trim()}var we={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ve=Object.defineProperty,tt=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,Ke=(Ye,Pe,_e)=>Pe in Ye?Ve(Ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ye[Pe]=_e,Xe=(Ye,Pe)=>{for(var _e in Pe||(Pe={}))nt.call(Pe,_e)&&Ke(Ye,_e,Pe[_e]);if(tt)for(var _e of tt(Pe))it.call(Pe,_e)&&Ke(Ye,_e,Pe[_e]);return Ye};const rt="@\u2581\u2581@",At="@\u2581@",Re=/<pre[^>]*>/g;function Fe(Ye){let Pe=document.createElement("div");return Pe.innerHTML=Ye,Pe.childNodes.length===0?"":Pe.childNodes[0].nodeValue}const ut=(Ye,Pe)=>{Ye=Ye||"";const _e=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Wt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,bt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,un=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Pe?Ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(_e,(Rt,ge,he,ct,Yt,Ct,Me)=>{const Qe=ge||ct||Ct,ot=he||Yt||Me||"?";return me.Z.API_SERVER+"/api/attachments/"+Qe+ot+"&t="+(0,Ie.Jn)(Qe,Date.now())+(Rt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ye=Ye.replace(un,(Rt,ge,he,ct,Yt,Ct,Me)=>{const Qe=ge||ct||Ct,ot=he||Yt||Me||"?";return me.Z.API_SERVER+"/attachments/download/"+Qe+ot+"&t="+(0,Ie.Jn)(Qe,Date.now())+(Rt.indexOf(")")>-1?")":"&")}).replace(_e,(Rt,ge,he,ct,Yt,Ct,Me)=>{const Qe=ge||ct||Ct,ot=he||Yt||Me||"?";return me.Z.API_SERVER+"/api/attachments/"+Qe+ot+"&t="+(0,Ie.Jn)(Qe,Date.now())+(Rt.indexOf(")")>-1?")":"&")}).replace(Wt,(Rt,ge,he,ct,Yt)=>{const Ct=ge||ct,Me=he||Yt||"";return'"'+me.Z.API_SERVER+"/api/attachments/"+Ct+Me+Ct+Me+"&t="+(0,Ie.Jn)(Ct,Date.now())}).replace(bt,(Rt,ge,he,ct,Yt)=>{const Ct=ge||ct,Me=he||Yt||"";return"("+me.Z.API_SERVER+"/files/uploads/"+Ct+Me+Ct+Me+"&t="+(0,Ie.Jn)(Ct,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),Ye)};var Be=({value:Ye="",edit:Pe=!1,className:_e,showTextOnly:Wt,showLines:bt,style:un={},stylesPrev:Rt={},highlightKeywords:ge,showProgramFill:he,isProgramFill:ct,disabledFill:Yt=!1,programFillValue:Ct,openEditor:Me=()=>{},onFillChange:Qe=Ge=>{},onFillBlur:ot=()=>{},onFillFocus:Kt=()=>{}})=>{let Ge=Ee(String(Ye||""));const st=(0,ae.useRef)(),xe=(0,ae.useRef)(),[lt,wt]=(0,ae.useState)(""),[oe,te]=(0,ae.useState)("office"),[z,re]=(0,ae.useState)([]),le=(0,ae.useRef)("a"+(0,Je.Z)()),ne={},be=et=>/<style[\s\S]*?>/i.test(et||""),Ue=(et,cn,zt)=>{const jt=document.createElement(et===At?"input":"textarea");jt.style.width="100%",jt.style.height=et===At?"40px":"151px",jt.rows=5,jt.spellcheck=!1,jt.name="edu-program-fill",jt.placeholder="\u8BF7\u8F93\u5165",jt.dataset.id=cn;const sn=Object.keys(ne).length;return ne[sn]=jt,`<span class="edu-program-fill-wrap ${et===At?"":"show"}" style="width:${et===At?"600px":"100%"}" title=${zt||""}><span>${jt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Dt(et){return et=et.replace(/!\[.*?\]\(.*?\)/g,""),et=et.replace(/\[.*?\]\(.*?\)/g,""),et=et.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),et=et.replace(/<embed.*?>/g,""),et=et.replace(/<img.*?>/g,""),et=et.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),et=et.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),et=et.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),et=et.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),et}const mt=et=>!Wt&&be(Ge)?et:et.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(cn,zt){let jt=zt.replace(/(\n|\r)/g,"").split("}"),sn=[];return jt.map(En=>{En!=""&&sn.push(`.${le.current} ${En}`)}),`<style>${sn.join("}")}</style>`}),ft=(0,ae.useMemo)(()=>{try{const jt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,sn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,En=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,tn=/\(\/attachments\/download\//g;Ge=Ge.replace(tn,"("+me.Z.API_SERVER+"/attachments/download/").replace(jt,"("+me.Z.API_SERVER+"/api/attachments/").replace(sn,'"'+me.Z.API_SERVER+"/api/attachments/").replace(En,'"'+me.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),st.current.style.display="none"}catch(jt){}if(he){let jt=-1;return Ge=Ge.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(sn,En,tn){var gn;return++jt,Ue(sn,jt,(gn=Ct==null?void 0:Ct[jt])==null?void 0:gn.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${mt(Ge||"")}</pre>`}let et=mt(Ge);et=(0,De.ZP)(et);const cn=(0,De.ez)();Ge.match(/\[TOC\]/)&&(et=et.replace("<p>[TOC]</p>",(0,De.Qv)()),(0,De.Iy)()),et=et.replace(/(__special_katext_id_\d+__)/g,(jt,sn)=>{const{type:En,expression:tn}=cn[sn];return(0,He.renderToString)(Fe(tn)||"",{displayMode:En==="block",throwOnError:!1,output:"html"})}),et=et.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,De.AL)();const zt=document.createElement("div");if(zt.innerHTML=et,Wt)return zt.innerText;if(ge){const jt=ge.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Zt(zt,jt),zt.innerHTML}return setTimeout(()=>rn(),500),zt.innerHTML},[Ge,ge]);(0,ae.useEffect)(()=>{Xt.current&&Xt.current.querySelectorAll(["input","textarea"]).forEach(cn=>{cn.oninput=yt,cn.onblur=Nt,cn.onfocus=Ft})},[z]),(0,ae.useEffect)(()=>{var et,cn,zt,jt,sn;if(Ct!=null&&Ct.length)try{const En=Xt.current.querySelectorAll(".edu-program-fill-score"),tn=Xt.current.querySelectorAll('[name="edu-program-fill"]');for(const[gn,Kn]of tn.entries())Kn.value=((et=Ct==null?void 0:Ct[gn])==null?void 0:et.value)||"",((cn=Ct==null?void 0:Ct[gn])==null?void 0:cn.type)==="warning"?Kn.className="program-fill-warning":((zt=Ct==null?void 0:Ct[gn])==null?void 0:zt.type)==="success"?Kn.className="program-fill-success":Kn.className="";for(const[gn,Kn]of En.entries())Kn.innerHTML=(jt=Ct==null?void 0:Ct[gn])!=null&&jt.score?`${(sn=Ct==null?void 0:Ct[gn])==null?void 0:sn.score}\u5206`:"";re(Ct)}catch(En){console.log(En,"error")}},[Ct]);const yt=et=>{z[et.target.dataset.id]=z[et.target.dataset.id]||{},z[et.target.dataset.id].value=et.target.value,re([...z]),Qe(z,et.target.dataset.id)},Nt=et=>{z[et.target.dataset.id]=z[et.target.dataset.id]||{},z[et.target.dataset.id].value=et.target.value,re([...z]),ot(z,et.target.dataset.id)},Ft=et=>{z[et.target.dataset.id]=z[et.target.dataset.id]||{},z[et.target.dataset.id].value=et.target.value,re([...z]),Kt(z,et.target.dataset.id)};function Zt(et,cn){return et.childNodes.forEach(zt=>{var jt;if(zt.childNodes.length>0)Zt(zt,cn);else if(zt.nodeName!=="IMG")if(zt.innerHTML)zt.innerHTML=(jt=zt.innerHTML)==null?void 0:jt.replace(new RegExp(cn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const sn=document.createElement("span");sn.innerHTML=zt.textContent.replace(new RegExp(cn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),zt.replaceWith(sn)}})}const Xt=(0,ae.useRef)();De.jb.WebkitLineClamp=bt,bt&&(un=Xe(Xe({},un),De.jb));function kt(et){let cn=et.target;if(cn.tagName.toUpperCase()==="A"){let zt=cn.getAttribute("href");if(zt.indexOf("office")>-1)et.preventDefault(),wt(zt),te("office");else if(zt.indexOf("application/pdf")>-1)et.preventDefault(),wt(zt),te("pdf");else if(zt.indexOf("text/html")>-1)et.preventDefault(),wt(zt),te("html");else if(zt.startsWith("#")){et.preventDefault();let jt=document.getElementById(zt.replace("#",""));jt&&jt.scrollIntoView(!0)}}}const rn=()=>{var et;const cn=(et=Xt.current)==null?void 0:et.querySelectorAll("video");cn==null||cn.forEach(zt=>{if(zt.oncontextmenu=()=>!1,zt.src.indexOf(".m3u8")>-1&&!zt.canPlayType("application/vnd.apple.mpegurl")){if(ve.ZP.isSupported()){var jt=new ve.ZP;jt.loadSource(zt.src),jt.attachMedia(zt)}}})};(0,ae.useEffect)(()=>{if(Xt.current&&ft&&ft.match(Re)&&window.PR.prettyPrint(),Xt.current)return Xt.current.addEventListener("click",kt),()=>{var et;(et=Xt.current)==null||et.removeEventListener("click",kt),(0,De.AL)(),(0,De.Iy)()}},[ft,Xt.current,kt]);const Vt=et=>{et.target.nodeName==="IMG"&&et.target.className.indexOf("draw-flowchart")>-1?(st.current.style.zIndex=1,st.current.style.display="flex",st.current.style.width=et.target.clientWidth+"px",st.current.style.height=et.target.clientHeight+"px",st.current.style.top=et.target.offsetTop+"px",st.current.style.left=et.target.offsetLeft+"px",et.target.id&&(xe.current=et.target.id)):st.current.style.display="none"},an=()=>{st.current.style.display="none"};return(0,ae.useEffect)(()=>{var et;const cn=zt=>{zt.preventDefault(),zt.clipboardData.setData("text",window.getSelection().toString())};return(et=Xt.current)==null||et.addEventListener("copy",cn),()=>{var zt;(zt=Xt.current)==null||zt.removeEventListener("copy",cn)}},[Xt.current]),ae.createElement("div",{style:{position:"relative"},onMouseLeave:an},Wt&&ae.createElement("div",{ref:Xt,className:`${we.mdBody} `},ft),!Wt&&!be(ft)&&ae.createElement("div",{ref:Xt,style:Xe({},un),onMouseOver:Vt,className:`${_e||""} ${Yt?"disabled-fill":""} markdown-body ${we.mdBody} ${le.current}`,dangerouslySetInnerHTML:{__html:ft}}),!Wt&&be(ft)&&ae.createElement(Se,{html:ft}),ae.createElement("div",{ref:st,className:`${we.button} ${Pe?"":we.previewFlowChart}`},ae.createElement(Ce.Z,null,ae.createElement(de.ZP,{onClick:()=>{Pe?Me(xe.current):(wt(xe.current),te("flowChart"))}},Pe?"\u7F16\u8F91":"\u9884\u89C8"))),ae.createElement(pe.Z,{close:!0,data:lt,type:lt!=null&<.length?oe:"",style:Xe({},Rt),onClose:()=>wt("")}))}},44905:function(xt,Pt,fe){"use strict";fe.d(Pt,{h:function(){return it}});var ae=fe(59301),je=fe(82326),De=fe(28284),ze=fe(99571),ve=fe(89780),me=fe.n(ve),Ie=fe(66543),He=fe(59598),Ce=Object.defineProperty,de=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Se=(Ke,Xe,rt)=>Xe in Ke?Ce(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ke[Xe]=rt,Ee=(Ke,Xe)=>{for(var rt in Xe||(Xe={}))at.call(Xe,rt)&&Se(Ke,rt,Xe[rt]);if(pe)for(var rt of pe(Xe))Oe.call(Xe,rt)&&Se(Ke,rt,Xe[rt]);return Ke},we=(Ke,Xe)=>de(Ke,Je(Xe));const Ve=je.default.Option,tt={labelCol:{span:4},wrapperCol:{span:20}},nt={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"]};Pt.Z=({callback:Ke,onCancel:Xe})=>{const[rt,At]=(0,ae.useState)("python");function Re(ut){At(nt[ut][1])}function Fe(ut){Ke(ut)}return ae.createElement(De.default,we(Ee({},tt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Fe,style:{width:500}}),ae.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(je.default,{getPopupContainer:ut=>ut.parentNode,onChange:Re},Object.keys(nt).map(ut=>ae.createElement(Ve,{key:ut,value:ut},nt[ut][0])))),ae.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(it,{mode:rt})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ze.ZP,{type:"ghost",onClick:Xe},"\u53D6\u6D88")))};function it({value:Ke,onChange:Xe,mode:rt,options:At={}}){const Re=(0,ae.useRef)(),[Fe,ut]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(Fe){let Be=function(Ye){const Pe=Ye.getValue();Xe&&Xe(Pe)};return Fe.on("change",Be),()=>{Fe.off("change",Be)}}},[Fe,Xe]),(0,ae.useEffect)(()=>{Fe&&Fe.setOption("mode",rt)},[Fe,rt]),(0,ae.useEffect)(()=>{Fe&&(Ke!==Fe.getValue()||Ke==="")&&setTimeout(()=>{Fe.setValue(Ke||"")},300)},[Fe,Ke]),(0,ae.useEffect)(()=>{if(Re.current&&!Fe){const Be=me().fromTextArea(Re.current,Ee({mode:rt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},At));ut(Be)}},[Re.current,Fe]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Re}))}},2978:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return ti}});var ae=fe(59301),je=fe(89780),De=fe.n(je),ze=fe(76374),ve=fe(66543),me=fe(6313),Ie=fe(25717),He=fe(99498),Ce=fe(25419),de=fe(67549),Je=fe(38394),pe=({value:_t="",className:ln,showTextOnly:fn,showLines:Ln,style:Wi={}})=>{const Yn=(0,ae.useMemo)(()=>"",[_t]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Yn}}))},at=Object.defineProperty,Oe=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,tt=(_t,ln,fn)=>ln in _t?at(_t,ln,{enumerable:!0,configurable:!0,writable:!0,value:fn}):_t[ln]=fn,nt=(_t,ln)=>{for(var fn in ln||(ln={}))we.call(ln,fn)&&tt(_t,fn,ln[fn]);if(Ee)for(var fn of Ee(ln))Ve.call(ln,fn)&&tt(_t,fn,ln[fn]);return _t},it=(_t,ln)=>Oe(_t,Se(ln));let Ke=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",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 Xe({onActionCallback:_t,title:ln,icon:fn,actionName:Ln,className:Wi="",children:Yn}){function ni(){_t(Ln)}return ae.createElement("a",{title:ln,className:Wi,onClick:ni},ae.createElement("i",{className:`${fn}`}),Yn)}var rt=({watch:_t,showNullButton:ln,showNullProgramButton:fn,onActionCallback:Ln,fullScreen:Wi,insertTemp:Yn,hidetoolBar:ni,extraUse:Mi})=>{const ci=[...Ke,{title:`${_t?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${_t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ae.createElement("ul",{className:"markdown-toolbar-container"},!ni&&ci.map((Tn,Un)=>ae.createElement("li",{key:Un},Tn.actionName?ae.createElement(Xe,it(nt({},Tn),{onActionCallback:Ln})):ae.createElement("span",{className:"v-line"}))),ln?ae.createElement("li",null,ae.createElement(Xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ln},ae.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,fn?ae.createElement(ae.Fragment,null,ae.createElement("li",null,ae.createElement(Xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ln},ae.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),ae.createElement("li",null,ae.createElement(Xe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ln},ae.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Yn&&ae.createElement("li",null,ae.createElement(Xe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Yn}`,onActionCallback:Ln},ae.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Mi&&ae.createElement("li",null,Mi),ae.createElement("li",{className:"btn-full-screen"},ae.createElement(Xe,{icon:`${Wi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ln})))},At=fe(75790),Re=fe(28284),Fe=fe(37568),ut=fe(99571),Be=Object.defineProperty,Ye=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,un=(_t,ln,fn)=>ln in _t?Be(_t,ln,{enumerable:!0,configurable:!0,writable:!0,value:fn}):_t[ln]=fn,Rt=(_t,ln)=>{for(var fn in ln||(ln={}))Wt.call(ln,fn)&&un(_t,fn,ln[fn]);if(_e)for(var fn of _e(ln))bt.call(ln,fn)&&un(_t,fn,ln[fn]);return _t},ge=(_t,ln)=>Ye(_t,Pe(ln));const he={labelCol:{span:4},wrapperCol:{span:20}};var ct=({callback:_t,onCancel:ln})=>{function fn(Ln){_t(Ln)}return ae.createElement(Re.default,ge(Rt({},he),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:fn,style:{width:500}}),ae.createElement(Re.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Fe.default,null)),ae.createElement(Re.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Fe.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ut.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ut.ZP,{type:"ghost",onClick:ln},"\u53D6\u6D88")))},Yt=fe(44905),Ct=fe(45596),Me=fe(62957),Qe=fe(77019),ot=fe(6077),Kt=fe(59301),Ge=({callback:_t,onCancel:ln})=>{const fn=document.createElement("canvas"),Ln=fn.getContext("2d");fn.width=1e3,fn.height=800,Ln.fillStyle="#ffffff",Ln.fillRect(0,0,fn.width,fn.height);const Wi=fn.toDataURL("image/png");return Kt.createElement(Me.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Kt.createElement(Qe.Z,{style:{height:"100vh"}},Kt.createElement(ot.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wi,visible:!0,title:String(Date.now())},onOk:Yn=>{_t({src:Yn.url})},onClose:ln})))},st=fe(30641),xe=fe(5269),lt=fe(6767),wt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},oe=fe(59301),z=(0,ae.forwardRef)(({onCancel:_t,editImgId:ln,callback:fn},Ln)=>{let Wi=(0,ae.useRef)(),Yn=(0,ae.useRef)(),ni=(0,ae.useRef)(),Mi=(0,ae.useRef)(!1);const ci=(0,ae.useRef)(!1);console.log("ref:",Ln);const[Tn,Un]=(0,ae.useState)(0),[Ni,Mt]=(0,ae.useState)("100vh");return(0,ae.useEffect)(()=>{Un(1)},[]),(0,ae.useImperativeHandle)(Ln,()=>({setHeight:Mt})),oe.createElement("div",{ref:ci,className:"body-overflow-initial"},oe.createElement(st.Z,{width:"100vw",height:Ni,footer:null,closable:!0,placement:"bottom",open:!!Tn,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${wt.drawerWrap}`,onClose:()=>{window.saveDrawData(qe=>{fn({src:`/api/attachments/${qe}`,id:qe})})},title:oe.createElement(Qe.Z,{align:"middle"},oe.createElement(xe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),oe.createElement(xe.Z,{onClick:()=>{Mt(Ni==="60px"?"100vh":"60px")}},oe.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),oe.createElement(xe.Z,{onClick:()=>{window.saveDrawData(qe=>{if(qe===null){lt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}lt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),fn({src:`/api/attachments/${qe}`,id:qe,disabledClose:!0})})}},oe.createElement(ut.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},oe.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${ln||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Yn})))}),re=fe(90524),le=fe(47889),ne=fe(71051);const be=le.ZP.Group,Ue={margin:"0 8px"};var Dt=({callback:_t,onCancel:ln})=>{function fn(Ln){_t(Ln)}return ae.createElement(Re.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:fn},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Ue},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Ue},"\u884C\u6570"),ae.createElement(Re.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(ne.Z,null)),ae.createElement("span",{style:Ue},"\u5217\u6570"),ae.createElement(Re.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(ne.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Ue},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(Re.default.Item,{name:"align"},ae.createElement(be,null,ae.createElement(le.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(le.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(le.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(le.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ut.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ut.ZP,{type:"ghost",onClick:ln},"\u53D6\u6D88")))},mt=fe(71411),ft=fe(11081),yt=fe.n(ft),Ft=(0,ae.forwardRef)(({use3d:_t,width:ln,height:fn,callback:Ln,showSaveButton:Wi},Yn)=>{const ni=(0,ae.useRef)(),Mi=(0,ae.useRef)(),[ci,Tn]=(0,ae.useState)(!1),Un=(0,ae.useRef)({id:ni,appName:"graphing",width:ln||1e3,height:fn||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)(()=>{Mi.current=new(yt())(Un.current,!0),window.onload=function(){Mi.current.inject("applet_container")}},[]);const Ni=()=>{var Mt=window.ggbApplet.getPNGBase64(1,!0,72);return Ln&&Ln(Mt),Mt};return(0,ae.useEffect)(()=>{Un.current.appName=ci?"3D":"graphing",Mi.current.inject("applet_container")},[ci]),(0,ae.useEffect)(()=>{Tn(_t)},[_t]),(0,ae.useImperativeHandle)(Yn,()=>({getImgData:Ni})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ni}),ae.createElement(Qe.Z,{align:"middle"},ae.createElement(xe.Z,{flex:1},ae.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ci,onChange:Mt=>Tn(Mt)})),ae.createElement(xe.Z,null,ae.createElement(ut.ZP,{size:"large",onClick:Ni,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Zt=fe(88615);const Xt="link",kt="upload-image",rn="add-flowchart",Vt="draw-image",an="add-flowchart",et="code-block",cn="add-table",zt="------------",jt={default:zt,left:`:${zt}`,center:`:${zt}:`,right:`${zt}:`};var sn=fe(17904);function En(){}let tn=0;const gn=1e4,Kn="\u2581",en="@\u2581\u2581@",$n="@\u2581@",yi=`
|
|
**\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`,ei=["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 Xn(_t){return/^\d+$/.test(_t)?`${_t}px`:_t}const si=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Li={[si+"-B"]:"bold",[si+"-I"]:"italic"},Fn={[Xt]:"\u6DFB\u52A0\u94FE\u63A5",[et]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[kt]:"\u6DFB\u52A0\u56FE\u7247",[Vt]:"\u6DFB\u52A0\u753B\u56FE",[rn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[cn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ti=({defaultValue:_t="",onChange:ln,width:fn="100%",height:Ln=400,miniToolbar:Wi=!1,isFocus:Yn=!1,watch:ni,insertTemp:Mi,mode:ci="markdown",id:Tn="markdown-editor-id",showResizeBar:Un=!1,noStorage:Ni=!1,showNullButton:Mt=!1,showNullProgramButton:qe=!1,hidetoolBar:$t=!1,fullScreen:Mn=!1,onBlur:Wn,onCMBeforeChange:ke,onFullScreen:Le,className:Bt="",disablePaste:ht=!1,disabled:Te=!1,disabledFill:dt=!1,placeholder:Ut="",values:Qt="",extraUse:nn})=>{const[Ne,Gt]=(0,ae.useState)(null),[gt,mn]=(0,ae.useState)(_t),[Ht,pn]=(0,ae.useState)(ni),[hn,Cn]=(0,ae.useState)(Mn),[bn,zn]=(0,ae.useState)(""),[Qn,Rn]=(0,ae.useState)(0),[ui,Bn]=(0,ae.useState)(Ln),[bi,Ti]=(0,ae.useState)(!1),[_n,hi]=(0,ae.useState)(0),[Ai,fi]=(0,ae.useState)(0),Gn=(0,ae.useRef)(),Si=(0,ae.useRef)(),ii=(0,ae.useRef)(),ri=(0,ae.useRef)(),di=(0,ae.useRef)(),Bi=(0,ae.useRef)();(0,ae.useEffect)(()=>{const pt=window.scrollY||window.pageYOffset;mn(Qt),Ne==null||Ne.setValue(Qt),window.scrollTo(0,pt)},[Qt]),(0,ae.useEffect)(()=>{Le==null||Le(hn)},[hn]),(0,ae.useEffect)(()=>{if(Gn.current){let pt=function(St,Tt){var vn;if(ht){Tt.preventDefault();return}const wn=Tt.clipboardData;if(wn){const On=wn.types.toString(),jn=wn.items;if(On==="Files"||wn.types.indexOf("Files")>-1){if(Tt.preventDefault(),ci=="stex")return;try{let Zn=jn[1];((vn=jn[0])==null?void 0:vn.kind)==="file"&&(Zn=jn[0]);const vi=Zn.getAsFile(),ai=vi.name.split(".").pop();(0,Ct.I)(vi,Oi=>{var kr,rr,Ui;Oi.id?((kr=vi==null?void 0:vi.type)==null?void 0:kr.indexOf("image"))>-1?$e.replaceSelection(`<img width="100%" src="/api/attachments/${Oi.id}?type=${Oi.content_type})" alt="" />`):((rr=vi==null?void 0:vi.type)==null?void 0:rr.indexOf("video"))>-1?$e.replaceSelection(`<video width="100%" controls src="/api/attachments/${Oi.id}"></video>`):((Ui=vi==null?void 0:vi.type)==null?void 0:Ui.indexOf("pdf"))>-1?$e.replaceSelection(`<a href="/api/attachments/${Oi.id}?type=${vi.type}&disposition=inline" target="_blank">${vi.name}</a>`):ei.includes(ai)?$e.replaceSelection(`<a href="/api/attachments/${Oi.id}?type=office&disposition=inline" target="_blank">${vi.name}</a>`):$e.replaceSelection(`[${vi.name}](/api/attachments/${Oi.id}?type=${Oi.content_type})`):(Oi==null?void 0:Oi.status)===401&&(document.location.href="/user/login")})}catch(Zn){lt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const $e=De().fromTextArea(Gn.current,{mode:ci,lineNumbers:!Wi,lineWrapping:!0,value:_t,autoCloseTags:!0,autoCloseBrackets:!0});return $e.on("keyup",function(St,Tt){Tt.keyCode===8&&(St.getValue()==""?$e.setOption("placeholder",Ut):$e.setOption("placeholder",null))}),$e.on("keydown",function(St,Tt){if(Tt.keyCode===8){var vn=Jn(St);vn&&Tt.preventDefault()}}),Yn&&$e.focus(),$e.on("paste",pt),Te&&$e.on("beforeChange",function(St,Tt){(Tt.origin==="paste"||Tt.origin==="+input")&&Tt.cancel()}),Gt($e),()=>{$e.off("paste",pt)}}},[]);const pi=(0,ae.useCallback)(()=>{if(Si.current)try{}catch(pt){console.log(pt,"---- to set md editor body height")}},[ui,Si,hn]);(0,ae.useEffect)(()=>{function pt(){let $e=new ze.Z(St=>{for(let Tt of St)(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&(pi(),Ne.setSize("100%","100%"),Ne.refresh())});return $e.observe(Gn.current.parentElement),$e}if(Ne){const $e=pt();return()=>{var St,Tt;(St=Gn.current)!=null&&St.parentElement&&$e.unobserve((Tt=Gn.current)==null?void 0:Tt.parentElement)}}},[Ne,pi]),(0,ae.useEffect)(()=>{if(Ne){let pt=[];for(const[$e,St]of Object.entries(Li)){let Tt={[$e]:()=>{Hn(St)}};pt.push(Tt),Ne.addKeyMap(Tt)}return()=>{for(let $e of pt)Ne.removeKeyMap($e)}}},[Ne]),(0,ae.useEffect)(()=>{Mn!==hn&&Cn(Mn)},[Mn]),(0,sn.Z)(()=>{if(!Ni&&Qn>0){let pt=new Date().getTime(),$e=window.sessionStorage.getItem(Tn);pt>=Qn+gn&&(!$e||$e!==gt)&&(window.sessionStorage.setItem(Tn,gt),Ti(!0))}},gn),(0,ae.useEffect)(()=>{pn(ni)},[Ne,ni]),(0,ae.useEffect)(()=>{Ne&&Yn&&Ne.focus()},[Ne,Yn]),(0,ae.useEffect)(()=>{if(Ht&&Ne){let pt=function(St){let Tt=St.target;if(ri.current){let vn=Tt.scrollTop/Tt.scrollHeight;ri.current.scrollTop=ri.current.scrollHeight*vn}};const $e=Ne.getScrollerElement();return $e.addEventListener("scroll",pt),()=>{$e.removeEventListener("scroll",pt)}}},[Ne,Ht]),(0,ae.useEffect)(()=>{if(Ne&&ke){let pt=function($e,St){ke($e,St)};return Ne.on("beforeChange",pt),()=>{Ne.off("beforeChange",pt)}}},[Ne,ke]),(0,ae.useEffect)(()=>{if(Ne&&Wn){let pt=function(){Wn(Ne.getValue())};return Ne.on("blur",pt),()=>{Ne.off("blur",pt)}}},[Ne,Wn]);function Jn(pt,$e){var St=pt.getDoc(),Tt=St.getCursor(),vn=St.getLine(Tt.line),wn=vn.charAt(Tt.ch-1),On=vn.lastIndexOf("@\u2581@",Tt.ch),jn=vn.lastIndexOf("@\u2581\u2581@",Tt.ch),Zn=On>jn?On:jn,vi=On>jn?3:4;if(en.indexOf(wn)===-1)return null;if(console.log("change1:",$e,pt,vn,Tt,Zn,On,jn,wn),Zn>=0&&Tt.ch-Zn<5){var ai=Zn+vi;return St.replaceRange("",{line:Tt.line,ch:Zn},{line:Tt.line,ch:ai}),{line:Tt.line,ch:ai}}return null}(0,ae.useEffect)(()=>{if(Ne){let pt=function($e,St){const Tt=$e.getValue();mn(Tt),Rn(new Date().getTime()),$e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ln&&(qe?ln(Tt,_i(Tt)):ln(Tt))};return Ne.on("change",pt),()=>{Ne.off("change",pt)}}},[Ne,ln]),(0,ae.useEffect)(()=>{if(Ne)if(_t==null)Ne.setValue(""),mn("");else{const pt=window.scrollY||window.pageYOffset;_t!==Ne.getValue()&&(Ne.setValue(_t),mn(_t),Ne.setCursor(Te?1:Ne.lineCount(),0),window.scrollTo(0,pt))}},[Ne,_t]);const Hn=(0,ae.useCallback)(pt=>{const $e=Ne.getCursor(),St=Ne.getSelection();let Tt=St.split(`
|
|
`);switch(pt){case"bold":return Ne.replaceSelection("**"+St+"**"),St===""&&Ne.setCursor($e.line,$e.ch+2),Ne.focus();case"italic":return Ne.replaceSelection("*"+St+"*"),St===""&&Ne.setCursor($e.line,$e.ch+1),Ne.focus();case"code":return Ne.replaceSelection("`"+St+"`"),St===""&&Ne.setCursor($e.line,$e.ch+1),Ne.focus();case"inline-latex":return zn("inline-latex"),Ne.focus();case"latex":return Ne.replaceSelection("```latex\n"+St+"\n```"),Ne.setCursor($e.line+1,St.length+1),Ne.focus();case"line-break":return Ne.replaceSelection(`<br/>
|
|
`),Ne.focus();case"list-ul":return St===""?Ne.replaceSelection("- "+St):Ne.replaceSelection(Tt.map(vn=>vn===""?"":`- ${vn}`).join(`
|
|
`)),Ne.focus();case"list-ol":return St===""?Ne.replaceSelection("1. "+St):Ne.replaceSelection(Tt.map((vn,wn)=>vn===""?"":`${wn+1}. ${vn}`).join(`
|
|
`)),Ne.focus();case"add-null-ch":return St===""&&Ne.setCursor($e.line,$e.ch),Ne.replaceSelection(Kn),Ne.focus();case"add-signal":return St===""&&Ne.setCursor($e.line,$e.ch),Ne.replaceSelection($n),Ne.focus();case"add-multiple":return St===""&&Ne.setCursor($e.line,$e.ch),Ne.replaceSelection(en),Ne.focus();case"inster-template-1":return St===""&&Ne.setCursor($e.line,$e.ch),Ne.replaceSelection(yi),Ne.focus();case"eraser":return Ne.setValue(""),Ne.focus();case"trigger-watch":return pn(!Ht),Ne.focus();case"trigger-full-screen":return Cn(!hn),Ne.focus();case Xt:zn(Xt);return;case et:zn(et);return;case kt:zn(kt);return;case Vt:zn(Vt);return;case"maths-latex":zn("maths-latex");return;case rn:di.current="",sessionStorage.removeItem("file_id"),zn(rn);return;case cn:zn(cn);return;default:throw new Error}},[Ne,Ht,hn]),oi=(0,ae.useCallback)((pt,$e)=>{var St,Tt,vn,wn,On,jn;switch(pt!=null&&pt.disabledClose||zn(""),bn){case Xt:const{title:kr,link:rr}=pt;return Ne.replaceSelection(`[${kr}](${rr})`),Ne.focus();case et:const{language:Ui,content:ur}=pt;return Ne.replaceSelection(["```"+Ui,ur,"```"].join(`
|
|
`)),Ne.focus();case"maths-latex":for(var Zn=atob(pt),vi=new Uint8Array(Zn.length),ai=0;ai<Zn.length;ai++)vi[ai]=Zn.charCodeAt(ai);var Oi=new Blob([vi],{type:"image/png"});(0,Ct.I)(Oi,ki=>{ki.id?Ne.replaceSelection(``):(ki==null?void 0:ki.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ne.replaceSelection("`$$"+pt+"$$`");break;case an:const{src:wi,alt:dr,id:Mr}=pt;if(!Mr)return;Ne.getValue().indexOf(wi)===-1?Ne.replaceSelection(`<center><img id="${Mr}" width="80%" src="${wi}" class="draw-flowchart" alt="${dr||""}" /></center>`):document.getElementById(Mr).src=re.Z.API_SERVER+wi+"?t="+Date.now();break;case kt:case Vt:const gi=$e,yr=(vn=(Tt=(St=gi==null?void 0:gi.name)==null?void 0:St.split("."))==null?void 0:Tt.pop)==null?void 0:vn.call(Tt);return((wn=gi==null?void 0:gi.type)==null?void 0:wn.indexOf("image"))>-1||!(gi!=null&&gi.type)?gi!=null&&gi.align||gi!=null&&gi.width?Ne.replaceSelection(`<p style="text-align:${gi.align||"initial"}"><img width="${gi.width?gi.width+"%":"initial"}" src="${wi}" alt="${dr||""}" /></p>`):Ne.replaceSelection(`<img width="100%" src="${wi}" alt="${dr||""}" />`):((On=gi==null?void 0:gi.type)==null?void 0:On.indexOf("video"))>-1?Ne.replaceSelection(`<video width="100%" controls src="${wi}"></video>`):((jn=gi==null?void 0:gi.type)==null?void 0:jn.indexOf("pdf"))>-1?Ne.replaceSelection(`<a href="${wi}?type=${gi.type}&disposition=inline" target="_blank">${gi.name}</a>`):ei.includes(yr)?Ne.replaceSelection(`<a href="${wi}?type=office&disposition=inline" target="_blank">${gi.name}</a>`):Ne.replaceSelection(`[${gi.name}](${wi})`),Ne.focus();case cn:const{row:pr,col:zr,align:br}=pt;let Hr=`
|
|
`;for(let ki=0;ki<pr;ki++){let Tr=[],$r=[];for(let eo=0;eo<zr;eo++)ki===1&&$r.push(jt[br]),Tr.push(" ");ki===1&&(Hr+=`| ${$r.join(" | ")} |
|
|
`),Hr+=`| ${Tr.join(zr===1?"":" | ")} |
|
|
`}return Ne.replaceSelection(Hr+`
|
|
`),Ne.focus();default:throw new Error}},[Ne,bn]),Vi=(0,ae.useMemo)(()=>{switch(bn){case Xt:return ae.createElement(ct,{callback:oi,onCancel:Di});case et:return ae.createElement(Yt.Z,{callback:oi,onCancel:Di});case kt:return ae.createElement(Ct.Z,{callback:oi,onCancel:Di});case rn:return ae.createElement(z,{editImgId:di.current,callback:oi,onCancel:Di});case cn:return ae.createElement(Dt,{callback:oi,onCancel:Di});case"maths-latex":return ae.createElement(Ft,{showSaveButton:!0,callback:oi});case"inline-latex":return ae.createElement(Zt.Z,{showSaveButton:!0,callback:oi});default:return null}},[bn]);function Di(){zn("")}(0,ae.useEffect)(()=>{if(ii.current){let pt=function(On){vn=!0,wn=On.pageY},$e=function(){vn=!1},St=function(On){if(vn){let jn=On.pageY-wn;jn<0&&(jn=0),jn>300&&(jn=300);let Zn=Ln+jn+"px";Bn(Zn)}},Tt=ii.current,vn=!1,wn=0;return Tt.addEventListener("mousedown",pt),document.addEventListener("mousemove",St),document.addEventListener("mouseup",$e),()=>{Tt.removeEventListener("mousedown",pt),document.removeEventListener("mousemove",St),document.removeEventListener("mouseup",$e)}}},[Ne,ii]),(0,ae.useEffect)(()=>{Bn(Ln)},[Ln]);const Ci=Xn(fn),ir=Xn(ui),Ei={width:Ci,height:ir},lr=(0,ae.useMemo)(()=>{if(Qn){let pt=new Date(Qn),$e=pt.getHours(),St=pt.getMinutes(),Tt=pt.getSeconds();return $e=$e<10?"0"+$e:$e,St=St<10?"0"+St:St,Tt=Tt<10?"0"+Tt:Tt,`${$e}:${St}:${Tt}`}return 0},[Qn]),_i=pt=>{const $e=[];if(qe){let St=-1;pt=pt.replace(/(@▁▁@|@▁@)/g,function(Tt,vn,wn){$e.push({multiLine:Tt!==$n})})}return $e};function Ii(){window.sessionStorage.removeItem(Tn),Ti(!1),Rn(0)}function Dn(){Ti(!1),Rn(0),Ne.setValue(window.sessionStorage.getItem(Tn))}(0,ae.useEffect)(()=>{Fn[bn]&&bn!==Vt&&bn!==rn&&setTimeout(()=>{const pt=document.getElementsByClassName("markdown-popup-form")[0],$e=window.innerWidth/2-pt.offsetWidth/2,St=window.innerHeight/2-pt.offsetHeight/2;hi($e),fi(St)},0)},[bn]);const Lt=pt=>{pt.preventDefault();const $e=pt.clientX-_n,St=pt.clientY-Ai;document.body.onmousemove=Tt=>{let vn=Tt.clientX-$e,wn=Tt.clientY-St;const On=document.getElementsByClassName("markdown-popup-form")[0],jn=window.innerWidth-On.offsetWidth,Zn=window.innerHeight-On.offsetHeight;vn=Math.max(0,Math.min(vn,jn)),wn=Math.max(0,Math.min(wn,Zn)),It(Tt.clientX,Tt.clientY,$e,St)&&(hi(vn),fi(wn))},document.body.onmouseup=function(){document.body.onmousemove=null}},It=(pt,$e,St,Tt)=>{const vn=document.body.clientHeight,wn=document.body.clientWidth;return pt<20&&St>pt||pt>wn-20&&St<pt||$e<20&&Tt>$e||$e>vn-20&&Tt<$e?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:Si},ae.createElement("div",{className:`markdown-editor-container ${Bt} ${Ht?"on-preview":""} ${Wi?"mini":""} ${hn?"full-screen":""}`,style:Ei},ae.createElement(rt,{insertTemp:Mi,watch:Ht,fullScreen:hn,showNullButton:Mt,showNullProgramButton:qe,onActionCallback:Hn,hidetoolBar:$t,extraUse:nn}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:Gn,placeholder:Ut})),Ht?ae.createElement("div",{ref:ri,className:"preview-container"},ci==="stex"&&ae.createElement(pe,{value:gt}),ci!=="stex"&&ae.createElement(Je.Z,{edit:!0,disabledFill:dt,showProgramFill:qe,value:gt,openEditor:pt=>{var $e;di.current=pt,($e=Bi.current)==null||$e.setHeight("100vh"),setTimeout(()=>{zn("add-flowchart")},150)}})):null))),Un?ae.createElement("a",{ref:ii,className:"editor-resize"}):null,bn===Vt&&ae.createElement(Ge,{callback:oi,onCancel:Di}),bn===rn&&ae.createElement(z,{ref:Bi,editImgId:di.current,callback:oi,onCancel:Di}),ae.createElement(At.Z,null,Fn[bn]&&bn!==Vt&&bn!==rn?ae.createElement(Me.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:_n,top:Ai},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Lt},Fn[bn]),open:!0,onCancel:Di,footer:null,destroyOnClose:!0,width:bn===rn?"1200px":null,height:bn===rn?"80vh":null,className:"markdown-popup-form"},Vi):null))}},45596:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return Xe},I:function(){return At}});var ae=fe(28284),je=fe(6767),De=fe(37568),ze=fe(77736),ve=fe(71051),me=fe(47889),Ie=fe(99571),He=fe(67303),Ce=fe(59301),de=fe(59301),Je=Object.defineProperty,pe=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,we=(Re,Fe,ut)=>Fe in Re?Je(Re,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Re[Fe]=ut,Ve=(Re,Fe)=>{for(var ut in Fe||(Fe={}))Se.call(Fe,ut)&&we(Re,ut,Fe[ut]);if(Oe)for(var ut of Oe(Fe))Ee.call(Fe,ut)&&we(Re,ut,Fe[ut]);return Re},tt=(Re,Fe)=>pe(Re,at(Fe));const{useForm:nt}=ae.default,it={width:280,marginRight:10},Ke={labelCol:{span:5},wrapperCol:{span:19}};var Xe=({callback:Re,onCancel:Fe})=>{const[ut]=nt();let Be=(0,Ce.useRef)();function Ye(Wt){Be.current.width=ut.getFieldValue("width"),Be.current.align=ut.getFieldValue("align"),Re(Wt,Be.current)}function Pe(Wt,bt){if(Wt.status===-1){je.ZP.error(Wt.message);return}ut.setFieldsValue({src:`/api/attachments/${Wt.id}`,type:bt.type})}function _e(Wt){let bt=Wt.target.files[0];Be.current=bt,At(bt,Pe)}return de.createElement(ae.default,tt(Ve({form:ut},Ke),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),de.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},de.createElement(De.default,{style:it})),de.createElement(rt,{onFileChange:_e}))),de.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(De.default,{style:{width:264}})),de.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(ze.Z,null,de.createElement(ae.default.Item,{name:"width",style:{margin:0}},de.createElement(ve.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.createElement(me.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"}]})),de.createElement("aside",null,de.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(Ie.ZP,{type:"default",onClick:Fe},"\u53D6\u6D88"))))};function rt({onFileChange:Re}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:Re}))}function At(Re,Fe){if(!Re)throw new String("\u6CA1\u6709\u6587\u4EF6");let ut=new FormData;ut.append("editormd-image-file",Re),ut.append("file_param_name","editormd-image-file"),ut.append("byxhr","true");var Be=new window.XMLHttpRequest;Be.withCredentials=!0,Be.addEventListener("load",function(Ye){Fe(JSON.parse(Ye.target.responseText),Re)},!1),Be.addEventListener("error",function(Ye){console.error(Ye)},!1),Be.open("POST",`${He.KI}/api/attachments.json`),Be.send(ut)}},75790:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return De}});var ae=fe(59301),je=fe(4676);class De extends ae.Component{constructor(ve){super(ve);const me=window.document;this.node=me.createElement("div"),me.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,je.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(xt,Pt,fe){"use strict";fe.d(Pt,{SV:function(){return st},ZP:function(){return Ge}});var ae=fe(59301),je=fe(76374);const De={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},ze={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},ve={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},me={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},Ie={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var He=fe(53184),Ce=fe.n(He),de=(xe,lt,wt)=>new Promise((oe,te)=>{var z=ne=>{try{le(wt.next(ne))}catch(be){te(be)}},re=ne=>{try{le(wt.throw(ne))}catch(be){te(be)}},le=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(z,re);le((wt=wt.apply(xe,lt)).next())});const Je={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},pe=(xe,lt,wt,oe)=>{const te=lt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:wt.lineNumber,endColumn:wt.column});return Array.from(new Set(te.match(/\b\w{2,}\b/g)||[])).map(re=>({label:re,kind:xe.languages.CompletionItemKind.Text,insertText:re,range:oe}))},at=(xe,lt,wt,oe)=>{xe.languages.registerCompletionItemProvider(lt,{provideCompletionItems(te,z){const re=te.getWordUntilPosition(z),le={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:re.startColumn,endColumn:re.endColumn},ne=te.getLineContent(z.lineNumber).substring(re.startColumn-2,re.endColumn);return{suggestions:[...pe(xe,te,z,le),...wt.map(Ue=>({label:Ue,kind:xe.languages.CompletionItemKind.Keyword,documentation:Ue,insertText:Ue,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...oe.map(Ue=>({label:Ue.label,kind:xe.languages.CompletionItemKind.Snippet,documentation:Ue.content,insertText:ne.startsWith("#")?Ue.content.replace(/#/,""):Ue.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}})};var Oe=xe=>{Je.languages.forEach(lt=>{xe.languages.registerDocumentFormattingEditProvider(lt,{provideDocumentFormattingEdits(wt){return de(this,null,function*(){const oe=Ce()(wt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:wt.getFullModelRange(),text:oe}]})}})}),at(xe,"java",ze.keywords,ze.quickKey),at(xe,"cpp",ve.keywords,ve.quickKey),at(xe,"c",De.keywords,[]),at(xe,"python",me.keywords,me.quickKey),at(xe,"scala",Ie.keywords,Ie.quickKey)};const Se="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ee=Object.defineProperty,we=(xe,lt,wt)=>lt in xe?Ee(xe,lt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):xe[lt]=wt,Ve=(xe,lt,wt)=>we(xe,typeof lt!="symbol"?lt+"":lt,wt);const tt=class Nl{constructor(lt,wt,oe){this.placeholder=lt,this.editor=wt,this.monaco=oe,wt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Nl.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ve(tt,"ID","editor.widget.placeholderHint");var it=tt,Ke=fe(96236),Xe=fe(6767),rt=fe(25399),At=fe(89392),Re=fe(33796),Fe=fe(56102),ut=Object.defineProperty,Be=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,bt=(xe,lt,wt)=>lt in xe?ut(xe,lt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):xe[lt]=wt,un=(xe,lt)=>{for(var wt in lt||(lt={}))_e.call(lt,wt)&&bt(xe,wt,lt[wt]);if(Pe)for(var wt of Pe(lt))Wt.call(lt,wt)&&bt(xe,wt,lt[wt]);return xe},Rt=(xe,lt)=>Be(xe,Ye(lt)),ge=(xe,lt)=>{var wt={};for(var oe in xe)_e.call(xe,oe)&<.indexOf(oe)<0&&(wt[oe]=xe[oe]);if(xe!=null&&Pe)for(var oe of Pe(xe))lt.indexOf(oe)<0&&Wt.call(xe,oe)&&(wt[oe]=xe[oe]);return wt},he=(xe,lt,wt)=>new Promise((oe,te)=>{var z=ne=>{try{le(wt.next(ne))}catch(be){te(be)}},re=ne=>{try{le(wt.throw(ne))}catch(be){te(be)}},le=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(z,re);le((wt=wt.apply(xe,lt)).next())});function ct(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}function Yt(){}let Ct=!1;const Me={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Qe(xe=[]){let lt=xe;if(Array.isArray(xe)){for(let wt=0;wt<xe.length;wt++){let oe=Me[xe[wt]];if(oe)return oe}return lt[0]}return Me[lt]||lt}let ot=null;const Kt=()=>he(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(xe){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",xe)}});var Ge=xe=>{var lt=xe,{width:wt="100%",height:oe="100%",value:te,language:z="javascript",style:re={},options:le={},overrideServices:ne={},theme:be="vs-dark",onEditBlur:Ue,isCopy:Dt=!1,onSave:mt,autoHeight:ft=!1,forbidCopy:yt=!1,onChange:Nt=Yt,editorDidMount:Ft=Yt,onFocus:Zt=Yt,onBreakPoint:Xt=Yt,breakPointValue:kt=[],filename:rn="educoder.txt",errorLine:Vt,errorContent:an="",highlightLine:et,openBreakPoint:cn=!1,placeholder:zt="",showMiniMap:jt=!0}=lt,sn=ge(lt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const En=(0,ae.useRef)(),tn=(0,ae.useRef)({}),gn=(0,ae.useRef)(),Kn=(0,ae.useRef)(),en=(0,ae.useRef)([]),$n=(0,ae.useRef)(!1),yi=(0,ae.useRef)(),ei=(0,ae.useRef)(),Xn=(0,ae.useRef)(!1),[Nn,si]=(0,ae.useState)(!1);function Li(){let Mt;return En.current&&(Mt=new je.Z(qe=>{for(let $t of qe)($t.target.offsetHeight>0||$t.target.offsetWidth>0)&&tn.current.instance.layout()}),Mt.observe(En.current)),Mt}function Fn(){Xe.ZP.warning({content:decodeURIComponent(Se),key:"monaco-editor-tip"})}const ti=()=>{let Mt=tn.current.instance;if(te!=null&&Mt&&Nn){const qe=Mt.getModel();qe&&te!==qe.getValue()&&(Ct=!0,qe.setValue(te),Mt.layout(),Ct=!1)}};(0,ae.useEffect)(()=>{const Mt=Re.Z.subscribe("formatDocument",qe=>{var $t;let Mn=tn.current.instance;($t=Mn==null?void 0:Mn.getAction)==null||$t.call(Mn,"editor.action.formatDocument").run()});return window.updateMonacoValue=qe=>{Nt(qe)},Mt},[]),(0,ae.useEffect)(()=>{var Mt;let qe=tn.current.instance;Kn.current&&clearTimeout(Kn.current),Kn.current=setTimeout(()=>{ti()},500),te&&(te!=null&&te.length)&&((Mt=qe==null?void 0:qe.updateOptions)==null||Mt.call(qe,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(te.split(/\r\n|\r|\n/g).length))+3,5)}))},[te,Nn,tn.current]),(0,ae.useEffect)(()=>{if(Vt&&tn.current&&tn.current.instance){let qe=tn.current.instance;qe.changeViewZones(function($t){var Mn=document.createElement("div");Mn.style.padding="10px 20px",Mn.style.width="calc(100% - 20px)",Mn.className="my-error-line-wrp",Mn.innerHTML=an,$t.addZone({afterLineNumber:Vt||11,heightInLines:3,domNode:Mn})});var Mt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};qe.addOverlayWidget(Mt),qe.revealPositionInCenter({lineNumber:20,column:1})}},[Vt,tn.current,Nn]);const _t=(Mt="",qe)=>{if(!Mt||Mt.trim()==="")return!0;const Mn=tn.current.instance.getModel().getLineTokens(qe);let Wn=!1;for(let ke=0;ke<2;ke++)Mn.getStandardTokenType(ke)===1&&(Wn=!0);return Wn};(0,ae.useEffect)(()=>{var Mt;const qe=(Mt=tn.current)==null?void 0:Mt.instance;if(qe&&Nn&&yt){const $t=qe.onDidBlurEditorWidget(()=>{Xn.current=!1}),Mn=qe.onDidFocusEditorText(()=>{Xn.current=!0});return()=>{$t.dispose(),Mn.dispose()}}},[tn.current,Nn,yt]),(0,ae.useEffect)(()=>{var Mt;if((Mt=tn.current)!=null&&Mt.instance&&Nn&&cn){let qe=tn.current.instance,$t=qe.getModel();if(!$t)return;(()=>{var Ne;let Gt=[],gt=[];const mn=$t.getAllDecorations();for(let pn of mn)pn.options.className==="highlighted-line"&&(Gt.push((Ne=pn==null?void 0:pn.range)==null?void 0:Ne.startLineNumber),gt.push(pn==null?void 0:pn.id));if(et===Gt[0])return;$t.deltaDecorations(gt,[]);const Ht=$t.getLineCount();et&&et<=Ht&&(qe.deltaDecorations([],[{range:new ot.Range(et,1,et,$t.getLineMaxColumn(et)),options:{isWholeLine:!0,className:"highlighted-line"}}]),qe.revealLineInCenter(et))})();const Wn=(Ne=!1)=>{var Gt;let gt=[],mn=[];const Ht=$t.getAllDecorations();for(let pn of Ht)pn.options.linesDecorationsClassName==="breakpoints-select"&&(gt.push((Gt=pn==null?void 0:pn.range)==null?void 0:Gt.startLineNumber),mn.push(pn==null?void 0:pn.id));if(Ne)return{lines:gt,ids:mn};Xt(gt)},ke=Ne=>he(void 0,null,function*(){let Gt={range:new ot.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield $t.deltaDecorations([],[Gt]),Wn()}),Le=Ne=>he(void 0,null,function*(){let Gt=[];const gt=qe.getLineDecorations(Ne);for(let mn of gt)mn.options.linesDecorationsClassName==="breakpoints-select"&&Gt.push(mn.id);yield $t.deltaDecorations(Gt,[]),Wn()}),Bt=Ne=>{let Gt=qe.getLineDecorations(Ne);for(let gt of Gt)if(gt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,At.isEqual)(kt,Wn(!0).lines)){$t.deltaDecorations(Wn(!0).ids,[]);const Ne=kt.map(Gt=>({range:new ot.Range(Gt,1,Gt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));$t.deltaDecorations([],Ne)}const ht=qe.onDidChangeModelContent(Ne=>{let Gt=qe.getPosition();if(Gt){let gt=Gt.lineNumber;clearTimeout(ei.current),ei.current=setTimeout(()=>{_t($t.getLineContent(gt),gt)?Le(gt):Bt(gt)?(Le(gt),ke(gt)):Wn()},100)}}),Te=qe.onMouseDown(Ne=>{var Gt,gt,mn;if(Ne.target.detail&&((mn=(gt=(Gt=Ne.target)==null?void 0:Gt.element)==null?void 0:gt.className)!=null&&mn.includes("line-numbers"))){let Ht=Ne.target.position.lineNumber;if(_t($t.getLineContent(Ht),Ht))return;Bt(Ht)?Le(Ht):ke(Ht)}}),dt=Ne=>{let Gt={range:new ot.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};en.current=qe.deltaDecorations(en.current,[Gt])},Ut=()=>{en.current=qe.deltaDecorations(en.current,[])},Qt=qe.onMouseMove(Ne=>{var Gt,gt,mn;if(Ut(),Ne.target.detail&&((mn=(gt=(Gt=Ne.target)==null?void 0:Gt.element)==null?void 0:gt.className)!=null&&mn.includes("line-numbers"))){let Ht=Ne.target.position.lineNumber;if(_t($t.getLineContent(Ht),Ht))return;dt(Ht)}}),nn=qe.onMouseLeave(()=>{Ut()});return()=>{ht.dispose(),Te.dispose(),Qt.dispose(),nn.dispose()}}},[tn.current,Nn,kt,et,cn,z]),(0,ae.useEffect)(()=>{var Mt;(Mt=tn.current)!=null&&Mt.instance&&cn&&tn.current.instance.setPosition({lineNumber:0,column:0})},[et]);function ln(){let Mt=tn.current.instance;if(Mt){const qe=Mt.getSelection(),$t=tn.current.pastePos||{},Mn=new ot.Range($t.startLineNumber||qe.endLineNumber,$t.startColumn||qe.endColumn,$t.endLineNumber||qe.endLineNumber,$t.endColumn||qe.endColumn);setTimeout(()=>{Mt.executeEdits("",[{range:Mn,text:""}])},300)}}function fn(Mt){(window.navigator.platform.match("Mac")?Mt.metaKey:Mt.ctrlKey)&&Mt.keyCode==83&&(Mt.preventDefault(),mt())}const Ln=()=>{if(ft&&tn.current.instance){const Mt=tn.current.instance.getContentHeight();Un(Mt<oe?oe:Mt)}else Un(oe)};function Wi(Mt){var qe=document.createEvent("MouseEvents");qe.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Mt.dispatchEvent(qe)}const Yn=Mt=>{if(!Xn.current)return;const{keyCode:qe,ctrlKey:$t,metaKey:Mn,target:Wn,type:ke}=Mt;return(ke==="paste"||(qe===67||qe===86)&&(Mn||$t))&&Wn.nodeName==="TEXTAREA"&&(Fn(),Mt.preventDefault()),!1};function ni(Mt,qe){var $t=window.URL||window.webkitURL||window,Mn=new Blob([qe]),Wn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Wn.href=$t.createObjectURL(Mn),Wn.download=Mt,Wi(Wn)}(0,ae.useEffect)(()=>{Ln()},[Ln]),(0,ae.useEffect)(()=>{En.current&&!Nn&&Promise.all([fe.e(8909),fe.e(5028)]).then(fe.bind(fe,71448)).then(Mt=>{try{ot=Mt,tn.current.instance=ot.editor.create(En.current,{value:te,language:Qe(z),theme:be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:jt||!1}},ne);const qe=tn.current.instance;let Wn=[...Ke.BH._menuItems].find(ht=>ht[0]._debugName=="EditorContext")[1],ke=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Le=(ht,Te)=>{var dt,Ut;let Qt=ht._first;do Te.includes((Ut=(dt=Qt.element)==null?void 0:dt.command)==null?void 0:Ut.id)&&ht._remove(Qt);while(Qt=Qt.next)};if(Ft(qe,ot),setTimeout(()=>{Ln(),tn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{ni(rn||"educoder.txt",qe.getValue())}})},500),tn.current.subscription=qe.onDidChangeModelContent(ht=>{$n.current?clearTimeout(yi.current):(Ln(),Nt(qe.getValue(),ht)),yi.current=setTimeout(()=>{$n.current=!1},500)}),window.Monaco||Oe(ot,Qe(z)),yt&&(Le(Wn,ke),En.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yn),window.removeEventListener("paste",Yn),window.addEventListener("keydown",Yn),window.addEventListener("paste",Yn)),window.Monaco=ot,Ue&&qe.onDidBlurEditorWidget(()=>{Ue(qe.getValue())}),Zt&&qe.onDidFocusEditorText(()=>{yt&&Kt(),Zt(qe.getValue())}),yt){Kt();try{qe.onDidPaste(ht=>{const Te=qe.getSelection(),dt=tn.current.pastePos||{},Ut=new ot.Range(dt.startLineNumber||Te.endLineNumber,dt.startColumn||Te.endColumn,dt.endLineNumber||Te.endLineNumber,dt.endColumn||Te.endColumn);qe.executeEdits("",[{range:ht.range,text:""}])})}catch(ht){}}let Bt=Li();return zt&&typeof zt=="string"&&new it(zt,qe,ot),si(!0),()=>{const ht=tn.current.instance;ht.dispose();const Te=ht.getModel();Te&&Te.dispose(),tn.current.subscription&&tn.current.subscription.dispose(),Bt.unobserve(En.current)}}catch(qe){}})},[]),(0,ae.useEffect)(()=>{if(tn.current.instance&&Nn)return document.addEventListener("keydown",fn,!1),()=>{document.removeEventListener("keydown",fn)}},[mt,Nn]),(0,ae.useEffect)(()=>{let Mt=tn.current.instance;if(Mt&&Nn){let qe=Qe(z);ot.editor.setModelLanguage(Mt.getModel(),qe)}},[z,Nn]),(0,ae.useEffect)(()=>{tn.current.instance&&Nn&&ot.editor.setTheme(be)},[be,Nn]),(0,ae.useEffect)(()=>{let Mt=tn.current.instance;gn.current=le,Mt&&Nn&&(Mt.updateOptions(un({},le)),setTimeout(()=>{Mt.getModel().updateOptions(un({},le))},200))},[JSON.stringify(le),Nn]),(0,ae.useEffect)(()=>{let Mt=tn.current.instance;Mt&&Nn&&Mt.layout()},[wt,oe,Nn]);const[Mi,ci]=(0,ae.useState)(ct(wt)),[Tn,Un]=(0,ae.useState)(ct(oe)),Ni=Rt(un({},re),{width:Mi,height:Tn,position:"relative"});return ae.createElement("div",{className:"my-monaco-editor",ref:En,style:Ni},Dt&&ae.createElement(Fe.CopyToClipboard,{text:te,onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},ae.createElement(rt.Z,{title:"\u590D\u5236\u4EE3\u7801"},ae.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ae.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function st({width:xe="100%",height:lt="100%",original:wt,modified:oe,language:te,options:z={}}){const re=(0,ae.useRef)(),[le,ne]=(0,ae.useState)(null);function be(ft){let yt;return re.current&&(yt=new je.Z(Nt=>{for(let Ft of Nt)(Ft.target.offsetHeight>0||Ft.target.offsetWidth>0)&&ft.layout()}),yt.observe(re.current)),yt}(0,ae.useEffect)(()=>(re.current&&Promise.all([fe.e(8909),fe.e(9404)]).then(fe.bind(fe,2550)).then(ft=>{ot=ft;const yt=ot.editor.createDiffEditor(re.current,Rt(un({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},z),{wordWrap:!0}));ne(yt);let Nt=be(yt);return()=>{yt.dispose();const Ft=yt.getModel();Ft&&Ft.dispose(),Nt.unobserve(re.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ae.useEffect)(()=>{le&&le.setModel({original:ot.editor.createModel(wt,te),modified:ot.editor.createModel(oe,te)})},[wt,oe,te,le]);const Ue=ct(xe),Dt=ct(lt),mt={width:Ue,height:Dt};return ae.createElement("div",{className:"my-diff-editor",ref:re,style:mt})}},17904:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return je}});var ae=fe(59301);function je(De,ze){const ve=(0,ae.useRef)();(0,ae.useEffect)(()=>{ve.current=De}),(0,ae.useEffect)(()=>{function me(){ve.current()}if(ze!==null){let Ie=setInterval(me,ze);return()=>clearInterval(Ie)}},[ze])}},16949:function(xt,Pt,fe){"use strict";fe.r(Pt),fe.d(Pt,{default:function(){return Kt}});var ae=fe(59301),je=fe(76560),De=fe(82093),ze=fe(28284),ve=fe(6767),me=fe(77019),Ie=fe(5269),He=fe(93041),Ce=fe(458),de=fe(99571),Je=fe(62957),pe=fe(37568),at=fe(2978),Oe=fe(64885),Se=fe(38394),Ee=fe(90524),we={flex_box_center:"flex_box_center___W5itf",flex_space_between:"flex_space_between___gui6v",flex_box_vertical_center:"flex_box_vertical_center___pD9t3",flex_box_center_end:"flex_box_center_end___ocOJP",flex_box_column:"flex_box_column___KhV4h",content:"content____xM73",title:"title___Q0EMb",menu:"menu___dbMGX",contcats:"contcats___uNFhe",cooperatives:"cooperatives___EVJ5n",imgWrp:"imgWrp___wcdFr",btns:"btns___gQP5Z",confirm:"confirm___Igsxy",cancel:"cancel___EPAJA"},Ve=fe(47889),tt=fe(23869),nt={wrap:"wrap___AsKly",link:"link___CnaN3"},it=fe(49661),Ke=Object.defineProperty,Xe=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Re=(Ge,st,xe)=>st in Ge?Ke(Ge,st,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ge[st]=xe,Fe=(Ge,st)=>{for(var xe in st||(st={}))rt.call(st,xe)&&Re(Ge,xe,st[xe]);if(Xe)for(var xe of Xe(st))At.call(st,xe)&&Re(Ge,xe,st[xe]);return Ge},ut=(Ge,st)=>{var xe={};for(var lt in Ge)rt.call(Ge,lt)&&st.indexOf(lt)<0&&(xe[lt]=Ge[lt]);if(Ge!=null&&Xe)for(var lt of Xe(Ge))st.indexOf(lt)<0&&At.call(Ge,lt)&&(xe[lt]=Ge[lt]);return xe},Be=(Ge,st,xe)=>new Promise((lt,wt)=>{var oe=re=>{try{z(xe.next(re))}catch(le){wt(le)}},te=re=>{try{z(xe.throw(re))}catch(le){wt(le)}},z=re=>re.done?lt(re.value):Promise.resolve(re.value).then(oe,te);z((xe=xe.apply(Ge,st)).next())});const{TextArea:Ye}=pe.default,Pe=Ge=>{var st=Ge,{user:xe,globalSetting:lt,loading:wt,dispatch:oe}=st,te=ut(st,["user","globalSetting","loading","dispatch"]);const[z]=ze.default.useForm();(0,ae.useEffect)(()=>{var le;(0,it.W)((le=xe.userInfo)==null?void 0:le.login)||(0,tt.o1)(oe)},[xe.userInfo.login]);const re=le=>Be(void 0,null,function*(){var ne;const be=yield(0,De.ZP)("/api/helps/feedback.json",{method:"post",body:Fe({},le)});(be==null?void 0:be.status)===0&&je.history.push(`/messages/${(ne=xe.userInfo)==null?void 0:ne.login}/message_detail?target_ids=1`)});return ae.createElement("section",{className:`${nt.wrap} bg-white pl30 pr30 pt30`},ae.createElement("div",{className:"c-grey-999 line26"},"\u60F3\u5BF9\u6211\u4EEC\u7684\u5E73\u53F0\u63D0\u4F9B\u529F\u80FD\u5EFA\u8BAE\uFF1F",ae.createElement("br",null),"\u53D1\u73B0\u7F51\u9875\u4E2D\u7684\u95EE\u9898\u6216bug\u60F3\u544A\u8BC9\u6211\u4EEC\uFF1F",ae.createElement("br",null),"\u671F\u671B\u4E0E\u6211\u4EEC\u5C55\u5F00\u5408\u4F5C\uFF1F",ae.createElement("br",null),"\u5728\u8FD9\u91CC\u628A\u4F60\u60F3\u8BF4\u7684\u4E00\u5207\u544A\u8BC9\u6211\u4EEC\u5427\uFF1F"),ae.createElement("div",{className:"c-red-ee4 mt20 mb20"},"* ",ae.createElement(je.Link,{to:"/help/help_center",className:`${nt.link} c-red-ee4`},"\u770B\u770B\u5E2E\u52A9\u4E2D\u5FC3\u662F\u5426\u6709\u4F60\u60F3\u8981\u7684\u7B54\u6848")),ae.createElement(ze.default,{layout:"vertical",form:z,onFinish:re,initialValues:{question_kind:"\u767B\u5F55\u6CE8\u518C"}},ae.createElement(ze.default.Item,{label:"\u95EE\u9898\u5206\u7C7B\uFF1A",name:"question_kind",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},ae.createElement(Ve.ZP.Group,null,ae.createElement(Ve.ZP,{value:"\u767B\u5F55\u6CE8\u518C"},"\u767B\u5F55\u6CE8\u518C"),ae.createElement(Ve.ZP,{value:"\u4FE1\u606F\u8BA4\u8BC1"},"\u4FE1\u606F\u8BA4\u8BC1"),ae.createElement(Ve.ZP,{value:"\u5B9E\u8BAD\u7F16\u7A0B"},"\u5B9E\u8BAD\u7F16\u7A0B"),ae.createElement(Ve.ZP,{value:"\u5B9E\u8BAD\u8BFE\u7A0B"},"\u5B9E\u8BAD\u8BFE\u7A0B"),ae.createElement(Ve.ZP,{value:"\u8BFE\u5802"},"\u8BFE\u5802"),ae.createElement(Ve.ZP,{value:"\u5176\u5B83"},"\u5176\u5B83"))),ae.createElement(ze.default.Item,{label:"\u95EE\u9898\u9875\u9762\u7F51\u5740\uFF1A",name:"url",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},ae.createElement(pe.default,{placeholder:"\u53CD\u9988\u5E73\u53F0\u95EE\u9898\uFF0C\u8BF7\u540C\u65F6\u586B\u5199\u5BF9\u5E94\u7684\u95EE\u9898\u9875\u9762\u94FE\u63A5\uFF0C\u4EE5\u4FBF\u5E73\u53F0\u80FD\u591F\u53CA\u65F6\u8DDF\u8E2A\u89E3\u51B3\uFF0C\u8C22\u8C22"})),ae.createElement(ze.default.Item,{label:"\u95EE\u9898\u63CF\u8FF0\uFF1A",name:"description",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},ae.createElement(Ye,{rows:4,placeholder:"\u53CD\u9988\u5E73\u53F0\u95EE\u9898\uFF0C\u8BF7\u540C\u65F6\u586B\u5199\u5BF9\u5E94\u7684\u95EE\u9898\u9875\u9762\u94FE\u63A5\uFF0C\u4EE5\u4FBF\u5E73\u53F0\u80FD\u591F\u53CA\u65F6\u8DDF\u8E2A\u89E3\u51B3\uFF0C\u8C22\u8C22"})),ae.createElement(ze.default.Item,null,ae.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u63D0\u4EA4"))))};var _e=(0,je.connect)(({user:Ge,loading:st,globalSetting:xe})=>({user:Ge,globalSetting:xe,loading:st.models.index}))(Pe),Wt=Object.defineProperty,bt=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ct=(Ge,st,xe)=>st in Ge?Wt(Ge,st,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Ge[st]=xe,Yt=(Ge,st)=>{for(var xe in st||(st={}))ge.call(st,xe)&&ct(Ge,xe,st[xe]);if(Rt)for(var xe of Rt(st))he.call(st,xe)&&ct(Ge,xe,st[xe]);return Ge},Ct=(Ge,st)=>bt(Ge,un(st)),Me=(Ge,st)=>{var xe={};for(var lt in Ge)ge.call(Ge,lt)&&st.indexOf(lt)<0&&(xe[lt]=Ge[lt]);if(Ge!=null&&Rt)for(var lt of Rt(Ge))st.indexOf(lt)<0&&he.call(Ge,lt)&&(xe[lt]=Ge[lt]);return xe},Qe=(Ge,st,xe)=>new Promise((lt,wt)=>{var oe=re=>{try{z(xe.next(re))}catch(le){wt(le)}},te=re=>{try{z(xe.throw(re))}catch(le){wt(le)}},z=re=>re.done?lt(re.value):Promise.resolve(re.value).then(oe,te);z((xe=xe.apply(Ge,st)).next())});const ot=Ge=>{var st=Ge,{user:xe,globalSetting:lt,loading:wt,dispatch:oe}=st,te=Me(st,["user","globalSetting","loading","dispatch"]),z,re,le,ne,be,Ue,Dt;const[mt,ft]=(0,ae.useState)({content:"",message:"",status:0,contacts:[],address:"",data:[]}),[yt,Nt]=(0,ae.useState)(!0),[Ft]=ze.default.useForm(),Zt=(0,je.useParams)(),Xt=(0,je.useLocation)(),[kt,rn]=(0,ae.useState)(null),[Vt,an]=(0,ae.useState)(0),[et,cn]=(0,ae.useState)(!1),[zt,jt]=(0,ae.useState)(!1),[sn,En]=(0,ae.useState)(kt==null?void 0:kt.content),tn=[{name:"\u5173\u4E8E\u6211\u4EEC",key:"about_us",id:"about",editable:!0},{name:"\u52A0\u5165\u6211\u4EEC",key:"join_us",id:"join_us",editable:!0},{name:"\u8054\u7CFB\u6211\u4EEC",key:"contact_us",id:"contact"},{name:"\u5408\u4F5C\u4F19\u4F34",key:"cooperatives",id:"cooperatives"},{name:"\u670D\u52A1\u534F\u8BAE",key:"agreement",id:"agreement",editable:!0},{name:"\u5E2E\u52A9\u4E2D\u5FC3",key:"help_center",id:"help_center",editable:!0},{name:"\u610F\u89C1\u53CD\u9988",key:"feedback",id:"feedback"}].filter(en=>{var $n;return($n=lt==null?void 0:lt.setting)!=null&&$n.is_local?en.name!=="\u5173\u4E8E\u6211\u4EEC":!0}),gn=()=>Qe(void 0,null,function*(){var en,$n,yi,ei;Xt.pathname.indexOf("/feedback")===-1&&ft(yield(0,De.ZP)(`/api/helps/${($n=(en=tn.filter(Xn=>Xn.key===Zt.id))==null?void 0:en[0])==null?void 0:$n.id}.json`,{method:"get"})),Nt(!1),(0,it.Dk)((ei=(yi=tn.filter(Xn=>Xn.key===Zt.id))==null?void 0:yi[0])==null?void 0:ei.name)});function Kn(){return Qe(this,null,function*(){let en=yield(0,De.ZP)("/api/helps/update_content.json",{method:"put",body:{type:Zt.id,content:sn}});(en==null?void 0:en.status)===0&&(ve.ZP.info("\u63D0\u4EA4\u6210\u529F"),cn(!1),Nt(!0),gn())})}return(0,ae.useEffect)(()=>{Nt(!0),gn()},[Zt.id]),ae.createElement("section",null,ae.createElement("aside",{className:"edu-container mt30"},ae.createElement(me.Z,{gutter:[20,20]},ae.createElement(Ie.Z,null,ae.createElement(He.default,{className:we.menu,style:{width:174},defaultSelectedKeys:[(z=tn.filter(en=>en.key===Zt.id))==null?void 0:z[0].key],mode:"inline"},tn.map(function(en,$n){return ae.createElement(He.default.Item,{key:en.key},ae.createElement(je.Link,{to:`/help/${en.key}`,onClick:()=>{cn(!1),rn(null)}},en.name))}))),ae.createElement(Ie.Z,{flex:"1"},ae.createElement("h1",{className:we.title},(re=tn.filter(en=>en.key===Zt.id))==null?void 0:re[0].name,((le=tn.filter(en=>en.key===Zt.id))==null?void 0:le[0].editable)&&((ne=xe==null?void 0:xe.userInfo)==null?void 0:ne.role)===1&&ae.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>Qe(void 0,null,function*(){cn(!0);let en=yield(0,De.ZP)("/api/helps/edit_content.json",{params:{type:Zt.id}});(en==null?void 0:en.status)===0&&(rn(en),console.log(en))})},ae.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91")),ae.createElement("div",{className:"minH500"},Zt.id==="feedback"?ae.createElement(_e,null):ae.createElement(Ce.Z,{loading:yt},ae.createElement("div",{className:[we.content,"bg-white pl30 pr30 pt30"].join(" ")},et?ae.createElement("div",null,ae.createElement(at.Z,{defaultValue:kt==null?void 0:kt.content,onChange:en=>En(en)}),ae.createElement("div",{className:we.btns},ae.createElement(de.ZP,{className:we.cancel,onClick:()=>cn(!1)},"\u53D6\u6D88"),ae.createElement(Oe.Z,{className:we.confirm,type:"primary",onClick:Kn},"\u4FDD\u5B58\u66F4\u6539"))):ae.createElement("div",null,ae.createElement(Se.Z,{value:mt.content||""})),(be=mt.contacts)==null?void 0:be.map(function(en,$n){var yi;return ae.createElement("ul",{key:$n,className:we.contcats},((yi=xe==null?void 0:xe.userInfo)==null?void 0:yi.role)===1&&ae.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>{jt(!0),an($n+1),Ft.setFieldsValue({name:en.name,qq:en.qq,mail:en.mail})}},ae.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91"),ae.createElement("h1",null,en.type),ae.createElement("li",null,ae.createElement("span",null,"\u8054\u7CFB\u4EBA:"),en.name),ae.createElement("li",null,ae.createElement("span",null,"QQ:"),en.qq),ae.createElement("li",null,ae.createElement("span",null,"Email:"),en.mail))}),mt.address&&ae.createElement("ul",{className:we.contcats},((Ue=xe==null?void 0:xe.userInfo)==null?void 0:Ue.role)===1&&ae.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>{jt(!0),an(4),Ft.setFieldsValue({address:mt.address})}},ae.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91"),ae.createElement("h1",null,"\u516C\u53F8\u5730\u5740"),ae.createElement("li",null,mt.address)),(Dt=mt.data)==null?void 0:Dt.map(function(en,$n){var yi;return ae.createElement("div",{className:we.cooperatives},ae.createElement("h1",null,en.name),ae.createElement(me.Z,{gutter:[10,20]},(yi=en.values)==null?void 0:yi.map(function(ei,Xn){return ae.createElement(Ie.Z,{span:6},ae.createElement("div",{className:we.imgWrp},ae.createElement("img",{src:Ee.Z.IMG_SERVER+ei.img})))})))}))))))),ae.createElement(Je.default,{centered:!0,title:"\u7F16\u8F91",open:zt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{jt(!1)},onOk:()=>Qe(void 0,null,function*(){const en=Yt({},yield Ft.validateFields());(yield(0,De.ZP)("/api/helps/update_contact.json",{method:"put",body:Ct(Yt({},en),{type:Vt})})).status===0&&(ve.ZP.success("\u4FEE\u6539\u6210\u529F"),gn(),jt(!1))})},ae.createElement(ze.default,{form:Ft,labelAlign:"right",labelCol:{span:4},scrollToFirstError:!0},Vt!==4&&ae.createElement(ze.default.Item,{label:"\u8054\u7CFB\u4EBA",name:"name",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA"},ae.createElement(pe.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Vt!==4&&ae.createElement(ze.default.Item,{label:"QQ",name:"qq",placeholder:"\u8BF7\u8F93\u5165QQ"},ae.createElement(pe.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Vt!==4&&ae.createElement(ze.default.Item,{label:"Email",name:"mail",placeholder:"\u8BF7\u8F93\u5165Email"},ae.createElement(pe.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Vt===4&&ae.createElement(ze.default.Item,{label:"\u516C\u53F8\u5730\u5740",name:"address",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u5730\u5740"},ae.createElement(pe.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})))))};var Kt=(0,je.connect)(({user:Ge,loading:st,globalSetting:xe})=>({user:Ge,globalSetting:xe,loading:st.models.index}))(ot)},90290:function(xt,Pt,fe){"use strict";fe.d(Pt,{AL:function(){return it},Iy:function(){return Je},Qv:function(){return Oe},ez:function(){return nt},jb:function(){return pe}});var ae=fe(32834),je=fe.n(ae),De=fe(11690),ze=fe.n(De);let ve=1;function me(Re,Fe){const ut=Re.match(/^(\s+)(?:```)/);if(ut===null)return Fe;const Be=ut[1];return Fe.split(`
|
|
`).map(Ye=>{const Pe=Ye.match(/^\s+/);if(Pe===null)return Ye;const[_e]=Pe;return _e.length>=Be.length?Ye.slice(Be.length):Ye}).join(`
|
|
`)}let Ie=[],He=["<ul>"];const Ce=new(je()).Renderer,de=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Je(){Ie.length=0,He=["<ul>"]}const pe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function at(Re,Fe,ut,Be){if(Fe>=Re.length||Re[Fe].level<=ut)return Fe;var Ye=Re[Fe];Be.push("<li><a href='#"+ve+Ye.anchor+"'>"+Ye.text+"</a>"),Fe++;var Pe=[];return Fe=at(Re,Fe,Ye.level,Pe),Pe.length>0&&(Be.push("<ul>"),Pe.forEach(function(_e){Be.push(_e)}),Be.push("</ul>")),Be.push("</li>"),Fe=at(Re,Fe,ut,Be),Fe}function Oe(){return at(Ie,0,0,He),He.push("</ul>"),He.join("")}const Se={heading(Re){const Fe=de.exec(Re);if(ve+=1,Fe)return{type:"heading",raw:Fe[0],depth:Fe[1].length,text:Fe[2]}},fences(Re){const Fe=this.rules.block.fences.exec(Re);if(Fe){const ut=Fe[0];let Be=me(ut,Fe[3]||"");const Ye=Fe[2]?Fe[2].trim():Fe[2];if(["latex","katex","math"].indexOf(Ye)>=0){const Pe=Ve(),_e=Be;Be=Pe,tt[Pe]={type:"block",expression:_e}}return{type:"code",raw:ut,lang:Ye,text:Be}}}},Ee=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let we=0;const Ve=()=>`__special_katext_id_${we++}__`;let tt={};function nt(){return tt}function it(){we=0,tt={}}function Ke(Re){return Re=Re.replace(Ee,(Fe,ut)=>{const Be=Ve();return tt[Be]={type:"inline",expression:ut},Be}),Re}const Xe=Ce.listitem;Ce.listitem=function(Re){return Xe(Ke(Re))};const rt=Ce.paragraph;Ce.paragraph=function(Re){return rt(Ke(Re))};const At=Ce.tablecell;Ce.tablecell=function(Re,Fe){return At(Ke(Re),Fe)},Ce.code=function(Re,Fe,ut){const Be=(Fe||"").match(/\S*/)[0];return Be?["latex","katex","math"].indexOf(Be)>=0?`<p class='editormd-tex'>${Re}</p>`:`<pre class="prettyprint linenums"><code class="language-${Fe}">${ut?Re:(0,De.escape)(Re,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(ut?Re:(0,De.escape)(Re,!0))+"</code></pre>"},Ce.heading=function(Re,Fe,ut){let Be=this.options.headerPrefix+ut.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ie.push({anchor:Be,level:Fe,text:Re}),"<h"+Fe+' id="'+ve+Be+'">'+Re+"</h"+Fe+">"},je().setOptions({silent:!0,gfm:!0,pedantic:!1}),je().use({tokenizer:Se,renderer:Ce}),Pt.ZP=je()},23869:function(xt,Pt,fe){"use strict";fe.d(Pt,{rX:function(){return Ke},pW:function(){return Xe},gy:function(){return rt},xY:function(){return it},O5:function(){return nt},hs:function(){return Ee},tJ:function(){return Oe},o1:function(){return Se},Rd:function(){return tt}});var ae=fe(76560),je=fe(62957),De=fe(37285),ze=fe(6767),ve=fe(34055),me=fe(49661),Ie=fe(87169),He=fe(25510),Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+b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BgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",de=fe.p+"static/newqrcode.a8740efb.png",Je=fe(32637),pe=fe(59301),at=(At,Re,Fe)=>new Promise((ut,Be)=>{var Ye=Wt=>{try{_e(Fe.next(Wt))}catch(bt){Be(bt)}},Pe=Wt=>{try{_e(Fe.throw(Wt))}catch(bt){Be(bt)}},_e=Wt=>Wt.done?ut(Wt.value):Promise.resolve(Wt.value).then(Ye,Pe);_e((Fe=Fe.apply(At,Re)).next())});const Oe=(At,Re=!1,Fe=!1,ut="",Be=!1)=>!!(Se(At)&&we(At,Re,Fe,ut,Be)),Se=At=>(0,ve.bg)()?!0:(At({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ee=At=>{var Re,Fe,ut;const{user:Be}=(0,ae.getDvaApp)()._store.getState();(0,ve.bg)()&&!((Fe=(Re=Be==null?void 0:Be.userInfo)==null?void 0:Re.course)!=null&&Fe.course_public)&&!((ut=Be==null?void 0:Be.userInfo)!=null&&ut.profile_completed)&&At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},we=(At,Re=!1,Fe=!0,ut="",Be=!1)=>{var Ye;const{user:Pe}=(0,ae.getDvaApp)()._store.getState();return(Ye=Pe.userInfo)!=null&&Ye.profile_completed?!0:(Fe?At({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ut,isCurrentPage:Be}}):je.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,me.xg)("/account/profile/edit"),Ve()}}),!1)},Ve=()=>{je.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},tt=()=>{je.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:pe.createElement("div",{style:{textAlign:"center"}},pe.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),pe.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Je}),pe.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},nt=()=>{var At;const{user:Re}=(0,ae.getDvaApp)()._store.getState();return(At=Re.userInfo)!=null&&At.professional_certification?!0:(je.default.confirm({title:"\u63D0\u793A",centered:!0,content:pe.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,me.xg)("/account/certification")}}),!1)},it=()=>(0,ve.V9)()?!0:(je.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:pe.createElement("div",{className:"tc",style:{marginLeft:-38}},pe.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),pe.createElement("img",{src:de,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Ke=(At,Re)=>At?!0:(je.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:pe.createElement("div",null,pe.createElement("p",null,Re||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),pe.createElement("div",{style:{marginLeft:"110px"}},pe.createElement("img",{src:Ce,width:200}),pe.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,me.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Xe=At=>{je.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:pe.createElement("div",null,pe.createElement("div",null,pe.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),pe.createElement(De.Z,null),pe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",pe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",pe.createElement("a",null,At),"\u5929\u3002"),pe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",pe.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),pe.createElement("div",{style:{textAlign:"center",marginTop:30}},pe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:He,alt:"\u4E8C\u7EF4\u7801",width:160})))})},rt=(At,Re="")=>{const{shixunsDetail:{detail:Fe}}=(0,ae.getDvaApp)()._store.getState();if((Fe==null?void 0:Fe.public)===2||(Fe==null?void 0:Fe.public)===1||(Fe==null?void 0:Fe.shixun_status)===3){let ut="";return(Fe==null?void 0:Fe.public)===2&&(ut="\u5DF2\u516C\u5F00"),(Fe==null?void 0:Fe.public)===1&&(ut="\u5F85\u5BA1\u6838"),(Fe==null?void 0:Fe.shixun_status)===3&&(ut="\u5DF2\u5173\u95ED"),je.default.info({centered:!0,icon:pe.createElement(Ie.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:pe.createElement("div",{className:"tc",style:{marginLeft:-38}},pe.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},pe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ut,"\uFF0C",Re,"\u3002"),pe.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),pe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:He,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Fe==null?void 0:Fe.shixun_status)===2?(je.default.confirm({centered:!0,icon:pe.createElement(Ie.Z,null),title:"\u63D0\u793A",content:pe.createElement("div",null,pe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Re,"\u3002"),pe.createElement("br",null),pe.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{je.default.confirm({width:440,centered:!0,icon:pe.createElement(Ie.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>at(void 0,null,function*(){(yield At({type:"shixunsDetail/cancelRelease",payload:{id:Fe==null?void 0:Fe.identifier}})).status!==401&&(ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),At({type:"shixunsDetail/getShixunsDetail",payload:{id:Fe==null?void 0:Fe.identifier}}),At({type:"practiceSetting/getCommonData",payload:{id:Fe==null?void 0:Fe.identifier}}))})})}}),!0):!1}},99498:function(xt,Pt,fe){(function(ae){ae(fe(89780))})(function(ae){ae.defineOption("placeholder","",function(He,Ce,de){var Je=de&&de!=ae.Init;if(Ce&&!Je)He.on("blur",ve),He.on("change",me),He.on("swapDoc",me),ae.on(He.getInputField(),"compositionupdate",He.state.placeholderCompose=function(){ze(He)}),me(He);else if(!Ce&&Je){He.off("blur",ve),He.off("change",me),He.off("swapDoc",me),ae.off(He.getInputField(),"compositionupdate",He.state.placeholderCompose),je(He);var pe=He.getWrapperElement();pe.className=pe.className.replace(" CodeMirror-empty","")}Ce&&!He.hasFocus()&&ve(He)});function je(He){He.state.placeholder&&(He.state.placeholder.parentNode.removeChild(He.state.placeholder),He.state.placeholder=null)}function De(He){je(He);var Ce=He.state.placeholder=document.createElement("pre");Ce.style.cssText="height: 0; overflow: visible",Ce.style.direction=He.getOption("direction"),Ce.className="CodeMirror-placeholder CodeMirror-line-like";var de=He.getOption("placeholder");typeof de=="string"&&(de=document.createTextNode(de)),Ce.appendChild(de),He.display.lineSpace.insertBefore(Ce,He.display.lineSpace.firstChild)}function ze(He){setTimeout(function(){var Ce=!1,de=He.getInputField();de.nodeName=="TEXTAREA"?Ce=!de.value:He.lineCount()==1&&(Ce=!/[^\u200b]/.test(de.querySelector(".CodeMirror-line").textContent)),Ce?De(He):je(He)},20)}function ve(He){Ie(He)&&De(He)}function me(He){var Ce=He.getWrapperElement(),de=Ie(He);Ce.className=Ce.className.replace(" CodeMirror-empty","")+(de?" CodeMirror-empty":""),de?De(He):je(He)}function Ie(He){return He.lineCount()===1&&He.getLine(0)===""}})},25717:function(xt,Pt,fe){(function(ae){ae(fe(89780))})(function(ae){var je={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},De=ae.Pos;ae.defineOption("autoCloseBrackets",!1,function(Se,Ee,we){we&&we!=ae.Init&&(Se.removeKeyMap(ve),Se.state.closeBrackets=null),Ee&&(me(ze(Ee,"pairs")),Se.state.closeBrackets=Ee,Se.addKeyMap(ve))});function ze(Se,Ee){return Ee=="pairs"&&typeof Se=="string"?Se:typeof Se=="object"&&Se[Ee]!=null?Se[Ee]:je[Ee]}var ve={Backspace:Ce,Enter:de};function me(Se){for(var Ee=0;Ee<Se.length;Ee++){var we=Se.charAt(Ee),Ve="'"+we+"'";ve[Ve]||(ve[Ve]=Ie(we))}}me(je.pairs+"`");function Ie(Se){return function(Ee){return pe(Ee,Se)}}function He(Se){var Ee=Se.state.closeBrackets;if(!Ee||Ee.override)return Ee;var we=Se.getModeAt(Se.getCursor());return we.closeBrackets||Ee}function Ce(Se){var Ee=He(Se);if(!Ee||Se.getOption("disableInput"))return ae.Pass;for(var we=ze(Ee,"pairs"),Ve=Se.listSelections(),tt=0;tt<Ve.length;tt++){if(!Ve[tt].empty())return ae.Pass;var nt=at(Se,Ve[tt].head);if(!nt||we.indexOf(nt)%2!=0)return ae.Pass}for(var tt=Ve.length-1;tt>=0;tt--){var it=Ve[tt].head;Se.replaceRange("",De(it.line,it.ch-1),De(it.line,it.ch+1),"+delete")}}function de(Se){var Ee=He(Se),we=Ee&&ze(Ee,"explode");if(!we||Se.getOption("disableInput"))return ae.Pass;for(var Ve=Se.listSelections(),tt=0;tt<Ve.length;tt++){if(!Ve[tt].empty())return ae.Pass;var nt=at(Se,Ve[tt].head);if(!nt||we.indexOf(nt)%2!=0)return ae.Pass}Se.operation(function(){var it=Se.lineSeparator()||`
|
|
`;Se.replaceSelection(it+it,null),Se.execCommand("goCharLeft"),Ve=Se.listSelections();for(var Ke=0;Ke<Ve.length;Ke++){var Xe=Ve[Ke].head.line;Se.indentLine(Xe,null,!0),Se.indentLine(Xe+1,null,!0)}})}function Je(Se){var Ee=ae.cmpPos(Se.anchor,Se.head)>0;return{anchor:new De(Se.anchor.line,Se.anchor.ch+(Ee?-1:1)),head:new De(Se.head.line,Se.head.ch+(Ee?1:-1))}}function pe(Se,Ee){var we=He(Se);if(!we||Se.getOption("disableInput"))return ae.Pass;var Ve=ze(we,"pairs"),tt=Ve.indexOf(Ee);if(tt==-1)return ae.Pass;for(var nt=ze(we,"closeBefore"),it=ze(we,"triples"),Ke=Ve.charAt(tt+1)==Ee,Xe=Se.listSelections(),rt=tt%2==0,At,Re=0;Re<Xe.length;Re++){var Fe=Xe[Re],ut=Fe.head,Be,Ye=Se.getRange(ut,De(ut.line,ut.ch+1));if(rt&&!Fe.empty())Be="surround";else if((Ke||!rt)&&Ye==Ee)Ke&&Oe(Se,ut)?Be="both":it.indexOf(Ee)>=0&&Se.getRange(ut,De(ut.line,ut.ch+3))==Ee+Ee+Ee?Be="skipThree":Be="skip";else if(Ke&&ut.ch>1&&it.indexOf(Ee)>=0&&Se.getRange(De(ut.line,ut.ch-2),ut)==Ee+Ee){if(ut.ch>2&&/\bstring/.test(Se.getTokenTypeAt(De(ut.line,ut.ch-2))))return ae.Pass;Be="addFour"}else if(Ke){var Pe=ut.ch==0?" ":Se.getRange(De(ut.line,ut.ch-1),ut);if(!ae.isWordChar(Ye)&&Pe!=Ee&&!ae.isWordChar(Pe))Be="both";else return ae.Pass}else if(rt&&(Ye.length===0||/\s/.test(Ye)||nt.indexOf(Ye)>-1))Be="both";else return ae.Pass;if(!At)At=Be;else if(At!=Be)return ae.Pass}var _e=tt%2?Ve.charAt(tt-1):Ee,Wt=tt%2?Ee:Ve.charAt(tt+1);Se.operation(function(){if(At=="skip")Se.execCommand("goCharRight");else if(At=="skipThree")for(var bt=0;bt<3;bt++)Se.execCommand("goCharRight");else if(At=="surround"){for(var un=Se.getSelections(),bt=0;bt<un.length;bt++)un[bt]=_e+un[bt]+Wt;Se.replaceSelections(un,"around"),un=Se.listSelections().slice();for(var bt=0;bt<un.length;bt++)un[bt]=Je(un[bt]);Se.setSelections(un)}else At=="both"?(Se.replaceSelection(_e+Wt,null),Se.triggerElectric(_e+Wt),Se.execCommand("goCharLeft")):At=="addFour"&&(Se.replaceSelection(_e+_e+_e+_e,"before"),Se.execCommand("goCharRight"))})}function at(Se,Ee){var we=Se.getRange(De(Ee.line,Ee.ch-1),De(Ee.line,Ee.ch+1));return we.length==2?we:null}function Oe(Se,Ee){var we=Se.getTokenAt(De(Ee.line,Ee.ch+1));return/\bstring/.test(we.type)&&we.start==Ee.ch&&(Ee.ch==0||!/\bstring/.test(Se.getTokenTypeAt(Ee)))}})},6313:function(xt,Pt,fe){(function(ae){ae(fe(89780),fe(32855))})(function(ae){ae.defineOption("autoCloseTags",!1,function(Ce,de,Je){if(Je!=ae.Init&&Je&&Ce.removeKeyMap("autoCloseTags"),!!de){var pe={name:"autoCloseTags"};(typeof de!="object"||de.whenClosing!==!1)&&(pe["'/'"]=function(at){return me(at)}),(typeof de!="object"||de.whenOpening!==!1)&&(pe["'>'"]=function(at){return ze(at)}),Ce.addKeyMap(pe)}});var je=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],De=["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 ze(Ce){if(Ce.getOption("disableInput"))return ae.Pass;for(var de=Ce.listSelections(),Je=[],pe=Ce.getOption("autoCloseTags"),at=0;at<de.length;at++){if(!de[at].empty())return ae.Pass;var Oe=de[at].head,Se=Ce.getTokenAt(Oe),Ee=ae.innerMode(Ce.getMode(),Se.state),we=Ee.state,Ve=Ee.mode.xmlCurrentTag&&Ee.mode.xmlCurrentTag(we),tt=Ve&&Ve.name;if(!tt)return ae.Pass;var nt=Ee.mode.configuration=="html",it=typeof pe=="object"&&pe.dontCloseTags||nt&&je,Ke=typeof pe=="object"&&pe.indentTags||nt&&De;Se.end>Oe.ch&&(tt=tt.slice(0,tt.length-Se.end+Oe.ch));var Xe=tt.toLowerCase();if(!tt||Se.type=="string"&&(Se.end!=Oe.ch||!/[\"\']/.test(Se.string.charAt(Se.string.length-1))||Se.string.length==1)||Se.type=="tag"&&Ve.close||Se.string.indexOf("/")==Oe.ch-Se.start-1||it&&Ie(it,Xe)>-1||He(Ce,Ee.mode.xmlCurrentContext&&Ee.mode.xmlCurrentContext(we)||[],tt,Oe,!0))return ae.Pass;var rt=typeof pe=="object"&&pe.emptyTags;if(rt&&Ie(rt,tt)>-1){Je[at]={text:"/>",newPos:ae.Pos(Oe.line,Oe.ch+2)};continue}var At=Ke&&Ie(Ke,Xe)>-1;Je[at]={indent:At,text:">"+(At?`
|
|
|
|
`:"")+"</"+tt+">",newPos:At?ae.Pos(Oe.line+1,0):ae.Pos(Oe.line,Oe.ch+1)}}for(var Re=typeof pe=="object"&&pe.dontIndentOnAutoClose,at=de.length-1;at>=0;at--){var Fe=Je[at];Ce.replaceRange(Fe.text,de[at].head,de[at].anchor,"+insert");var ut=Ce.listSelections().slice(0);ut[at]={head:Fe.newPos,anchor:Fe.newPos},Ce.setSelections(ut),!Re&&Fe.indent&&(Ce.indentLine(Fe.newPos.line,null,!0),Ce.indentLine(Fe.newPos.line+1,null,!0))}}function ve(Ce,de){for(var Je=Ce.listSelections(),pe=[],at=de?"/":"</",Oe=Ce.getOption("autoCloseTags"),Se=typeof Oe=="object"&&Oe.dontIndentOnSlash,Ee=0;Ee<Je.length;Ee++){if(!Je[Ee].empty())return ae.Pass;var we=Je[Ee].head,Ve=Ce.getTokenAt(we),tt=ae.innerMode(Ce.getMode(),Ve.state),nt=tt.state;if(de&&(Ve.type=="string"||Ve.string.charAt(0)!="<"||Ve.start!=we.ch-1))return ae.Pass;var it,Ke=tt.mode.name!="xml"&&Ce.getMode().name=="htmlmixed";if(Ke&&tt.mode.name=="javascript")it=at+"script";else if(Ke&&tt.mode.name=="css")it=at+"style";else{var Xe=tt.mode.xmlCurrentContext&&tt.mode.xmlCurrentContext(nt);if(!Xe||Xe.length&&He(Ce,Xe,Xe[Xe.length-1],we))return ae.Pass;it=at+Xe[Xe.length-1]}Ce.getLine(we.line).charAt(Ve.end)!=">"&&(it+=">"),pe[Ee]=it}if(Ce.replaceSelections(pe),Je=Ce.listSelections(),!Se)for(var Ee=0;Ee<Je.length;Ee++)(Ee==Je.length-1||Je[Ee].head.line<Je[Ee+1].head.line)&&Ce.indentLine(Je[Ee].head.line)}function me(Ce){return Ce.getOption("disableInput")?ae.Pass:ve(Ce,!0)}ae.commands.closeTag=function(Ce){return ve(Ce)};function Ie(Ce,de){if(Ce.indexOf)return Ce.indexOf(de);for(var Je=0,pe=Ce.length;Je<pe;++Je)if(Ce[Je]==de)return Je;return-1}function He(Ce,de,Je,pe,at){if(!ae.scanForClosingTag)return!1;var Oe=Math.min(Ce.lastLine()+1,pe.line+500),Se=ae.scanForClosingTag(Ce,pe,null,Oe);if(!Se||Se.tag!=Je)return!1;for(var Ee=at?1:0,we=de.length-1;we>=0&&de[we]==Je;we--)++Ee;pe=Se.to;for(var we=1;we<Ee;we++){var Ve=ae.scanForClosingTag(Ce,pe,null,Oe);if(!Ve||Ve.tag!=Je)return!1;pe=Ve.to}return!0}})},32855:function(xt,Pt,fe){(function(ae){ae(fe(89780))})(function(ae){"use strict";var je=ae.Pos;function De(we,Ve){return we.line-Ve.line||we.ch-Ve.ch}var ze="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",ve=ze+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",me=new RegExp("<(/?)(["+ze+"]["+ve+"]*)","g");function Ie(we,Ve,tt,nt){this.line=Ve,this.ch=tt,this.cm=we,this.text=we.getLine(Ve),this.min=nt?Math.max(nt.from,we.firstLine()):we.firstLine(),this.max=nt?Math.min(nt.to-1,we.lastLine()):we.lastLine()}function He(we,Ve){var tt=we.cm.getTokenTypeAt(je(we.line,Ve));return tt&&/\btag\b/.test(tt)}function Ce(we){if(!(we.line>=we.max))return we.ch=0,we.text=we.cm.getLine(++we.line),!0}function de(we){if(!(we.line<=we.min))return we.text=we.cm.getLine(--we.line),we.ch=we.text.length,!0}function Je(we){for(;;){var Ve=we.text.indexOf(">",we.ch);if(Ve==-1){if(Ce(we))continue;return}if(!He(we,Ve+1)){we.ch=Ve+1;continue}var tt=we.text.lastIndexOf("/",Ve),nt=tt>-1&&!/\S/.test(we.text.slice(tt+1,Ve));return we.ch=Ve+1,nt?"selfClose":"regular"}}function pe(we){for(;;){var Ve=we.ch?we.text.lastIndexOf("<",we.ch-1):-1;if(Ve==-1){if(de(we))continue;return}if(!He(we,Ve+1)){we.ch=Ve;continue}me.lastIndex=Ve,we.ch=Ve;var tt=me.exec(we.text);if(tt&&tt.index==Ve)return tt}}function at(we){for(;;){me.lastIndex=we.ch;var Ve=me.exec(we.text);if(!Ve){if(Ce(we))continue;return}if(!He(we,Ve.index+1)){we.ch=Ve.index+1;continue}return we.ch=Ve.index+Ve[0].length,Ve}}function Oe(we){for(;;){var Ve=we.ch?we.text.lastIndexOf(">",we.ch-1):-1;if(Ve==-1){if(de(we))continue;return}if(!He(we,Ve+1)){we.ch=Ve;continue}var tt=we.text.lastIndexOf("/",Ve),nt=tt>-1&&!/\S/.test(we.text.slice(tt+1,Ve));return we.ch=Ve+1,nt?"selfClose":"regular"}}function Se(we,Ve){for(var tt=[];;){var nt=at(we),it,Ke=we.line,Xe=we.ch-(nt?nt[0].length:0);if(!nt||!(it=Je(we)))return;if(it!="selfClose")if(nt[1]){for(var rt=tt.length-1;rt>=0;--rt)if(tt[rt]==nt[2]){tt.length=rt;break}if(rt<0&&(!Ve||Ve==nt[2]))return{tag:nt[2],from:je(Ke,Xe),to:je(we.line,we.ch)}}else tt.push(nt[2])}}function Ee(we,Ve){for(var tt=[];;){var nt=Oe(we);if(!nt)return;if(nt=="selfClose"){pe(we);continue}var it=we.line,Ke=we.ch,Xe=pe(we);if(!Xe)return;if(Xe[1])tt.push(Xe[2]);else{for(var rt=tt.length-1;rt>=0;--rt)if(tt[rt]==Xe[2]){tt.length=rt;break}if(rt<0&&(!Ve||Ve==Xe[2]))return{tag:Xe[2],from:je(we.line,we.ch),to:je(it,Ke)}}}}ae.registerHelper("fold","xml",function(we,Ve){for(var tt=new Ie(we,Ve.line,0);;){var nt=at(tt);if(!nt||tt.line!=Ve.line)return;var it=Je(tt);if(!it)return;if(!nt[1]&&it!="selfClose"){var Ke=je(tt.line,tt.ch),Xe=Se(tt,nt[2]);return Xe&&De(Xe.from,Ke)>0?{from:Ke,to:Xe.from}:null}}}),ae.findMatchingTag=function(we,Ve,tt){var nt=new Ie(we,Ve.line,Ve.ch,tt);if(!(nt.text.indexOf(">")==-1&&nt.text.indexOf("<")==-1)){var it=Je(nt),Ke=it&&je(nt.line,nt.ch),Xe=it&&pe(nt);if(!(!it||!Xe||De(nt,Ve)>0)){var rt={from:je(nt.line,nt.ch),to:Ke,tag:Xe[2]};return it=="selfClose"?{open:rt,close:null,at:"open"}:Xe[1]?{open:Ee(nt,Xe[2]),close:rt,at:"close"}:(nt=new Ie(we,Ke.line,Ke.ch,tt),{open:rt,close:Se(nt,Xe[2]),at:"open"})}}},ae.findEnclosingTag=function(we,Ve,tt,nt){for(var it=new Ie(we,Ve.line,Ve.ch,tt);;){var Ke=Ee(it,nt);if(!Ke)break;var Xe=new Ie(we,Ve.line,Ve.ch,tt),rt=Se(Xe,Ke.tag);if(rt)return{open:Ke,close:rt}}},ae.scanForClosingTag=function(we,Ve,tt,nt){var it=new Ie(we,Ve.line,Ve.ch,nt?{from:0,to:nt}:null);return Se(it,tt)}})},89780:function(xt){(function(Pt,fe){xt.exports=fe()})(this,function(){"use strict";var Pt=navigator.userAgent,fe=navigator.platform,ae=/gecko\/\d/i.test(Pt),je=/MSIE \d/.test(Pt),De=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Pt),ze=/Edge\/(\d+)/.exec(Pt),ve=je||De||ze,me=ve&&(je?document.documentMode||6:+(ze||De)[1]),Ie=!ze&&/WebKit\//.test(Pt),He=Ie&&/Qt\/\d+\.\d+/.test(Pt),Ce=!ze&&/Chrome\//.test(Pt),de=/Opera\//.test(Pt),Je=/Apple Computer/.test(navigator.vendor),pe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Pt),at=/PhantomJS/.test(Pt),Oe=!ze&&/AppleWebKit/.test(Pt)&&/Mobile\/\w+/.test(Pt),Se=/Android/.test(Pt),Ee=Oe||Se||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Pt),we=Oe||/Mac/.test(fe),Ve=/\bCrOS\b/.test(Pt),tt=/win/i.test(fe),nt=de&&Pt.match(/Version\/(\d*\.\d*)/);nt&&(nt=Number(nt[1])),nt&&nt>=15&&(de=!1,Ie=!0);var it=we&&(He||de&&(nt==null||nt<12.11)),Ke=ae||ve&&me>=9;function Xe(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var rt=function(a,y){var x=a.className,b=Xe(y).exec(x);if(b){var E=x.slice(b.index+b[0].length);a.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function At(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Re(a,y){return At(a).appendChild(y)}function Fe(a,y,x,b){var E=document.createElement(a);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof y=="string")E.appendChild(document.createTextNode(y));else if(y)for(var ee=0;ee<y.length;++ee)E.appendChild(y[ee]);return E}function ut(a,y,x,b){var E=Fe(a,y,x,b);return E.setAttribute("role","presentation"),E}var Be;document.createRange?Be=function(a,y,x,b){var E=document.createRange();return E.setEnd(b||a,x),E.setStart(a,y),E}:Be=function(a,y,x){var b=document.body.createTextRange();try{b.moveToElementText(a.parentNode)}catch(E){return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",y),b};function Ye(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Pe(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function _e(a,y){var x=a.className;Xe(y).test(x)||(a.className+=(x?" ":"")+y)}function Wt(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!Xe(x[b]).test(y)&&(y+=" "+x[b]);return y}var bt=function(a){a.select()};Oe?bt=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:ve&&(bt=function(a){try{a.select()}catch(y){}});function un(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Rt(a,y,x){y||(y={});for(var b in a)a.hasOwnProperty(b)&&(x!==!1||!y.hasOwnProperty(b))&&(y[b]=a[b]);return y}function ge(a,y,x,b,E){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ee=b||0,ie=E||0;;){var se=a.indexOf(" ",ee);if(se<0||se>=y)return ie+(y-ee);ie+=se-ee,ie+=x-ie%x,ee=se+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=un(this.onTimeout,this)};he.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},he.prototype.set=function(a,y){this.f=y;var x=+new Date+a;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=x)};function ct(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var Yt=50,Ct={toString:function(){return"CodeMirror.Pass"}},Me={scroll:!1},Qe={origin:"*mouse"},ot={origin:"+move"};function Kt(a,y,x){for(var b=0,E=0;;){var ee=a.indexOf(" ",b);ee==-1&&(ee=a.length);var ie=ee-b;if(ee==a.length||E+ie>=y)return b+Math.min(ie,y-E);if(E+=ee-b,E+=x-E%x,b=ee+1,E>=y)return b}}var Ge=[""];function st(a){for(;Ge.length<=a;)Ge.push(xe(Ge)+" ");return Ge[a]}function xe(a){return a[a.length-1]}function lt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function wt(a,y,x){for(var b=0,E=x(y);b<a.length&&x(a[b])<=E;)b++;a.splice(b,0,y)}function oe(){}function te(a,y){var x;return Object.create?x=Object.create(a):(oe.prototype=a,x=new oe),y&&Rt(y,x),x}var z=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function re(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||z.test(a))}function le(a,y){return y?y.source.indexOf("\\w")>-1&&re(a)?!0:y.test(a):re(a)}function ne(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var be=/[\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 Ue(a){return a.charCodeAt(0)>=768&&be.test(a)}function Dt(a,y,x){for(;(x<0?y>0:y<a.length)&&Ue(a.charAt(y));)y+=x;return y}function mt(a,y,x){for(var b=y>x?-1:1;;){if(y==x)return y;var E=(y+x)/2,ee=b<0?Math.ceil(E):Math.floor(E);if(ee==y)return a(ee)?y:x;a(ee)?x=ee:y=ee+b}}function ft(a,y,x,b){if(!a)return b(y,x,"ltr",0);for(var E=!1,ee=0;ee<a.length;++ee){var ie=a[ee];(ie.from<x&&ie.to>y||y==x&&ie.to==y)&&(b(Math.max(ie.from,y),Math.min(ie.to,x),ie.level==1?"rtl":"ltr",ee),E=!0)}E||b(y,x,"ltr")}var yt=null;function Nt(a,y,x){var b;yt=null;for(var E=0;E<a.length;++E){var ee=a[E];if(ee.from<y&&ee.to>y)return E;ee.to==y&&(ee.from!=ee.to&&x=="before"?b=E:yt=E),ee.from==y&&(ee.from!=ee.to&&x!="before"?b=E:yt=E)}return b!=null?b:yt}var Ft=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(ce){return ce<=247?a.charAt(ce):1424<=ce&&ce<=1524?"R":1536<=ce&&ce<=1785?y.charAt(ce-1536):1774<=ce&&ce<=2220?"r":8192<=ce&&ce<=8203?"w":ce==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,ee=/[LRr]/,ie=/[Lb1n]/,se=/[1n]/;function ue(ce,ye,Ae){this.level=ce,this.from=ye,this.to=Ae}return function(ce,ye){var Ae=ye=="ltr"?"L":"R";if(ce.length==0||ye=="ltr"&&!b.test(ce))return!1;for(var Ze=ce.length,We=[],vt=0;vt<Ze;++vt)We.push(x(ce.charCodeAt(vt)));for(var Et=0,Ot=Ae;Et<Ze;++Et){var Jt=We[Et];Jt=="m"?We[Et]=Ot:Ot=Jt}for(var on=0,qt=Ae;on<Ze;++on){var dn=We[on];dn=="1"&&qt=="r"?We[on]="n":ee.test(dn)&&(qt=dn,dn=="r"&&(We[on]="R"))}for(var An=1,yn=We[0];An<Ze-1;++An){var Vn=We[An];Vn=="+"&&yn=="1"&&We[An+1]=="1"?We[An]="1":Vn==","&&yn==We[An+1]&&(yn=="1"||yn=="n")&&(We[An]=yn),yn=Vn}for(var Fi=0;Fi<Ze;++Fi){var tr=We[Fi];if(tr==",")We[Fi]="N";else if(tr=="%"){var zi=void 0;for(zi=Fi+1;zi<Ze&&We[zi]=="%";++zi);for(var Fr=Fi&&We[Fi-1]=="!"||zi<Ze&&We[zi]=="1"?"1":"N",Ar=Fi;Ar<zi;++Ar)We[Ar]=Fr;Fi=zi-1}}for(var Xi=0,Sr=Ae;Xi<Ze;++Xi){var sr=We[Xi];Sr=="L"&&sr=="1"?We[Xi]="L":ee.test(sr)&&(Sr=sr)}for(var qi=0;qi<Ze;++qi)if(E.test(We[qi])){var Qi=void 0;for(Qi=qi+1;Qi<Ze&&E.test(We[Qi]);++Qi);for(var Zi=(qi?We[qi-1]:Ae)=="L",Er=(Qi<Ze?We[Qi]:Ae)=="L",Go=Zi==Er?Zi?"L":"R":Ae,yo=qi;yo<Qi;++yo)We[yo]=Go;qi=Qi-1}for(var fr=[],_r,nr=0;nr<Ze;)if(ie.test(We[nr])){var bs=nr;for(++nr;nr<Ze&&ie.test(We[nr]);++nr);fr.push(new ue(0,bs,nr))}else{var oo=nr,Lo=fr.length,Bo=ye=="rtl"?1:0;for(++nr;nr<Ze&&We[nr]!="L";++nr);for(var mr=oo;mr<nr;)if(se.test(We[mr])){oo<mr&&(fr.splice(Lo,0,new ue(1,oo,mr)),Lo+=Bo);var Yo=mr;for(++mr;mr<nr&&se.test(We[mr]);++mr);fr.splice(Lo,0,new ue(2,Yo,mr)),Lo+=Bo,oo=mr}else++mr;oo<nr&&fr.splice(Lo,0,new ue(1,oo,nr))}return ye=="ltr"&&(fr[0].level==1&&(_r=ce.match(/^\s+/))&&(fr[0].from=_r[0].length,fr.unshift(new ue(0,0,_r[0].length))),xe(fr).level==1&&(_r=ce.match(/\s+$/))&&(xe(fr).to-=_r[0].length,fr.push(new ue(0,Ze-_r[0].length,Ze)))),ye=="rtl"?fr.reverse():fr}}();function Zt(a,y){var x=a.order;return x==null&&(x=a.order=Ft(a.text,y)),x}var Xt=[],kt=function(a,y,x){if(a.addEventListener)a.addEventListener(y,x,!1);else if(a.attachEvent)a.attachEvent("on"+y,x);else{var b=a._handlers||(a._handlers={});b[y]=(b[y]||Xt).concat(x)}};function rn(a,y){return a._handlers&&a._handlers[y]||Xt}function Vt(a,y,x){if(a.removeEventListener)a.removeEventListener(y,x,!1);else if(a.detachEvent)a.detachEvent("on"+y,x);else{var b=a._handlers,E=b&&b[y];if(E){var ee=ct(E,x);ee>-1&&(b[y]=E.slice(0,ee).concat(E.slice(ee+1)))}}}function an(a,y){var x=rn(a,y);if(x.length)for(var b=Array.prototype.slice.call(arguments,2),E=0;E<x.length;++E)x[E].apply(null,b)}function et(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),an(a,x||y.type,a,y),tn(y)||y.codemirrorIgnore}function cn(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var x=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),b=0;b<y.length;++b)ct(x,y[b])==-1&&x.push(y[b])}function zt(a,y){return rn(a,y).length>0}function jt(a){a.prototype.on=function(y,x){kt(this,y,x)},a.prototype.off=function(y,x){Vt(this,y,x)}}function sn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function En(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function tn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function gn(a){sn(a),En(a)}function Kn(a){return a.target||a.srcElement}function en(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),we&&a.ctrlKey&&y==1&&(y=3),y}var $n=function(){if(ve&&me<9)return!1;var a=Fe("div");return"draggable"in a||"dragDrop"in a}(),yi;function ei(a){if(yi==null){var y=Fe("span","\u200B");Re(a,Fe("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(yi=y.offsetWidth<=1&&y.offsetHeight>2&&!(ve&&me<8))}var x=yi?Fe("span","\u200B"):Fe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var Xn;function Nn(a){if(Xn!=null)return Xn;var y=Re(a,document.createTextNode("A\u062EA")),x=Be(y,0,1).getBoundingClientRect(),b=Be(y,1,2).getBoundingClientRect();return At(a),!x||x.left==x.right?!1:Xn=b.right-x.right<3}var si=`
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,x=[],b=a.length;y<=b;){var E=a.indexOf(`
|
|
`,y);E==-1&&(E=a.length);var ee=a.slice(y,a.charAt(E-1)=="\r"?E-1:E),ie=ee.indexOf("\r");ie!=-1?(x.push(ee.slice(0,ie)),y+=ie+1):(x.push(ee),y=E+1)}return x}:function(a){return a.split(/\r\n?|\n/)},Li=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(x){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Fn=function(){var a=Fe("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),ti=null;function _t(a){if(ti!=null)return ti;var y=Re(a,Fe("span","x")),x=y.getBoundingClientRect(),b=Be(y,0,1).getBoundingClientRect();return ti=Math.abs(x.left-b.left)>1}var ln={},fn={};function Ln(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),ln[a]=y}function Wi(a,y){fn[a]=y}function Yn(a){if(typeof a=="string"&&fn.hasOwnProperty(a))a=fn[a];else if(a&&typeof a.name=="string"&&fn.hasOwnProperty(a.name)){var y=fn[a.name];typeof y=="string"&&(y={name:y}),a=te(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Yn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Yn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function ni(a,y){y=Yn(y);var x=ln[y.name];if(!x)return ni(a,"text/plain");var b=x(a,y);if(Mi.hasOwnProperty(y.name)){var E=Mi[y.name];for(var ee in E)E.hasOwnProperty(ee)&&(b.hasOwnProperty(ee)&&(b["_"+ee]=b[ee]),b[ee]=E[ee])}if(b.name=y.name,y.helperType&&(b.helperType=y.helperType),y.modeProps)for(var ie in y.modeProps)b[ie]=y.modeProps[ie];return b}var Mi={};function ci(a,y){var x=Mi.hasOwnProperty(a)?Mi[a]:Mi[a]={};Rt(y,x)}function Tn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var x={};for(var b in y){var E=y[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function Un(a,y){for(var x;a.innerMode&&(x=a.innerMode(y),!(!x||x.mode==a));)y=x.state,a=x.mode;return x||{mode:a,state:y}}function Ni(a,y,x){return a.startState?a.startState(y,x):!0}var Mt=function(a,y,x){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};Mt.prototype.eol=function(){return this.pos>=this.string.length},Mt.prototype.sol=function(){return this.pos==this.lineStart},Mt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Mt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Mt.prototype.eat=function(a){var y=this.string.charAt(this.pos),x;if(typeof a=="string"?x=y==a:x=y&&(a.test?a.test(y):a(y)),x)return++this.pos,y},Mt.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Mt.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Mt.prototype.skipToEnd=function(){this.pos=this.string.length},Mt.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Mt.prototype.backUp=function(a){this.pos-=a},Mt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ge(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},Mt.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},Mt.prototype.match=function(a,y,x){if(typeof a=="string"){var b=function(ie){return x?ie.toLowerCase():ie},E=this.string.substr(this.pos,a.length);if(b(E)==b(a))return y!==!1&&(this.pos+=a.length),!0}else{var ee=this.string.slice(this.pos).match(a);return ee&&ee.index>0?null:(ee&&y!==!1&&(this.pos+=ee[0].length),ee)}},Mt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Mt.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Mt.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Mt.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function qe(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var x=a;!x.lines;)for(var b=0;;++b){var E=x.children[b],ee=E.chunkSize();if(y<ee){x=E;break}y-=ee}return x.lines[y]}function $t(a,y,x){var b=[],E=y.line;return a.iter(y.line,x.line+1,function(ee){var ie=ee.text;E==x.line&&(ie=ie.slice(0,x.ch)),E==y.line&&(ie=ie.slice(y.ch)),b.push(ie),++E}),b}function Mn(a,y,x){var b=[];return a.iter(y,x,function(E){b.push(E.text)}),b}function Wn(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function ke(a){if(a.parent==null)return null;for(var y=a.parent,x=ct(y.lines,a),b=y.parent;b;y=b,b=b.parent)for(var E=0;b.children[E]!=y;++E)x+=b.children[E].chunkSize();return x+y.first}function Le(a,y){var x=a.first;e:do{for(var b=0;b<a.children.length;++b){var E=a.children[b],ee=E.height;if(y<ee){a=E;continue e}y-=ee,x+=E.chunkSize()}return x}while(!a.lines);for(var ie=0;ie<a.lines.length;++ie){var se=a.lines[ie],ue=se.height;if(y<ue)break;y-=ue}return x+ie}function Bt(a,y){return y>=a.first&&y<a.first+a.size}function ht(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Te(a,y,x){if(x===void 0&&(x=null),!(this instanceof Te))return new Te(a,y,x);this.line=a,this.ch=y,this.sticky=x}function dt(a,y){return a.line-y.line||a.ch-y.ch}function Ut(a,y){return a.sticky==y.sticky&&dt(a,y)==0}function Qt(a){return Te(a.line,a.ch)}function nn(a,y){return dt(a,y)<0?y:a}function Ne(a,y){return dt(a,y)<0?a:y}function Gt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function gt(a,y){if(y.line<a.first)return Te(a.first,0);var x=a.first+a.size-1;return y.line>x?Te(x,qe(a,x).text.length):mn(y,qe(a,y.line).text.length)}function mn(a,y){var x=a.ch;return x==null||x>y?Te(a.line,y):x<0?Te(a.line,0):a}function Ht(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=gt(a,y[b]);return x}var pn=function(a,y){this.state=a,this.lookAhead=y},hn=function(a,y,x,b){this.state=y,this.doc=a,this.line=x,this.maxLookAhead=b||0,this.baseTokens=null,this.baseTokenPos=1};hn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},hn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},hn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},hn.fromSaved=function(a,y,x){return y instanceof pn?new hn(a,Tn(a.mode,y.state),x,y.lookAhead):new hn(a,Tn(a.mode,y),x)},hn.prototype.save=function(a){var y=a!==!1?Tn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pn(y,this.maxLookAhead):y};function Cn(a,y,x,b){var E=[a.state.modeGen],ee={};_n(a,y.text,a.doc.mode,x,function(ce,ye){return E.push(ce,ye)},ee,b);for(var ie=x.state,se=function(ce){x.baseTokens=E;var ye=a.state.overlays[ce],Ae=1,Ze=0;x.state=!0,_n(a,y.text,ye.mode,x,function(We,vt){for(var Et=Ae;Ze<We;){var Ot=E[Ae];Ot>We&&E.splice(Ae,1,We,E[Ae+1],Ot),Ae+=2,Ze=Math.min(We,Ot)}if(vt)if(ye.opaque)E.splice(Et,Ae-Et,We,"overlay "+vt),Ae=Et+2;else for(;Et<Ae;Et+=2){var Jt=E[Et+1];E[Et+1]=(Jt?Jt+" ":"")+"overlay "+vt}},ee),x.state=ie,x.baseTokens=null,x.baseTokenPos=1},ue=0;ue<a.state.overlays.length;++ue)se(ue);return{styles:E,classes:ee.bgClass||ee.textClass?ee:null}}function bn(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=zn(a,ke(y)),E=y.text.length>a.options.maxHighlightLength&&Tn(a.doc.mode,b.state),ee=Cn(a,y,b);E&&(b.state=E),y.stateAfter=b.save(!E),y.styles=ee.styles,ee.classes?y.styleClasses=ee.classes:y.styleClasses&&(y.styleClasses=null),x===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function zn(a,y,x){var b=a.doc,E=a.display;if(!b.mode.startState)return new hn(b,!0,y);var ee=hi(a,y,x),ie=ee>b.first&&qe(b,ee-1).stateAfter,se=ie?hn.fromSaved(b,ie,ee):new hn(b,Ni(b.mode),ee);return b.iter(ee,y,function(ue){Qn(a,ue.text,se);var ce=se.line;ue.stateAfter=ce==y-1||ce%5==0||ce>=E.viewFrom&&ce<E.viewTo?se.save():null,se.nextLine()}),x&&(b.modeFrontier=se.line),se}function Qn(a,y,x,b){var E=a.doc.mode,ee=new Mt(y,a.options.tabSize,x);for(ee.start=ee.pos=b||0,y==""&&Rn(E,x.state);!ee.eol();)ui(E,ee,x.state),ee.start=ee.pos}function Rn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=Un(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function ui(a,y,x,b){for(var E=0;E<10;E++){b&&(b[0]=Un(a,x).mode);var ee=a.token(y,x);if(y.pos>y.start)return ee}throw new Error("Mode "+a.name+" failed to advance stream.")}var Bn=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function bi(a,y,x,b){var E=a.doc,ee=E.mode,ie;y=gt(E,y);var se=qe(E,y.line),ue=zn(a,y.line,x),ce=new Mt(se.text,a.options.tabSize,ue),ye;for(b&&(ye=[]);(b||ce.pos<y.ch)&&!ce.eol();)ce.start=ce.pos,ie=ui(ee,ce,ue.state),b&&ye.push(new Bn(ce,ie,Tn(E.mode,ue.state)));return b?ye:new Bn(ce,ie,ue.state)}function Ti(a,y){if(a)for(;;){var x=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!x)break;a=a.slice(0,x.index)+a.slice(x.index+x[0].length);var b=x[1]?"bgClass":"textClass";y[b]==null?y[b]=x[2]:new RegExp("(?:^|\\s)"+x[2]+"(?:$|\\s)").test(y[b])||(y[b]+=" "+x[2])}return a}function _n(a,y,x,b,E,ee,ie){var se=x.flattenSpans;se==null&&(se=a.options.flattenSpans);var ue=0,ce=null,ye=new Mt(y,a.options.tabSize,b),Ae,Ze=a.options.addModeClass&&[null];for(y==""&&Ti(Rn(x,b.state),ee);!ye.eol();){if(ye.pos>a.options.maxHighlightLength?(se=!1,ie&&Qn(a,y,b,ye.pos),ye.pos=y.length,Ae=null):Ae=Ti(ui(x,ye,b.state,Ze),ee),Ze){var We=Ze[0].name;We&&(Ae="m-"+(Ae?We+" "+Ae:We))}if(!se||ce!=Ae){for(;ue<ye.start;)ue=Math.min(ye.start,ue+5e3),E(ue,ce);ce=Ae}ye.start=ye.pos}for(;ue<ye.pos;){var vt=Math.min(ye.pos,ue+5e3);E(vt,ce),ue=vt}}function hi(a,y,x){for(var b,E,ee=a.doc,ie=x?-1:y-(a.doc.mode.innerMode?1e3:100),se=y;se>ie;--se){if(se<=ee.first)return ee.first;var ue=qe(ee,se-1),ce=ue.stateAfter;if(ce&&(!x||se+(ce instanceof pn?ce.lookAhead:0)<=ee.modeFrontier))return se;var ye=ge(ue.text,null,a.options.tabSize);(E==null||b>ye)&&(E=se-1,b=ye)}return E}function Ai(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var x=a.first,b=y-1;b>x;b--){var E=qe(a,b).stateAfter;if(E&&(!(E instanceof pn)||b+E.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var fi=!1,Gn=!1;function Si(){fi=!0}function ii(){Gn=!0}function ri(a,y,x){this.marker=a,this.from=y,this.to=x}function di(a,y){if(a)for(var x=0;x<a.length;++x){var b=a[x];if(b.marker==y)return b}}function Bi(a,y){for(var x,b=0;b<a.length;++b)a[b]!=y&&(x||(x=[])).push(a[b]);return x}function pi(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function Jn(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ee=a[E],ie=ee.marker,se=ee.from==null||(ie.inclusiveLeft?ee.from<=y:ee.from<y);if(se||ee.from==y&&ie.type=="bookmark"&&(!x||!ee.marker.insertLeft)){var ue=ee.to==null||(ie.inclusiveRight?ee.to>=y:ee.to>y);(b||(b=[])).push(new ri(ie,ee.from,ue?null:ee.to))}}return b}function Hn(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ee=a[E],ie=ee.marker,se=ee.to==null||(ie.inclusiveRight?ee.to>=y:ee.to>y);if(se||ee.from==y&&ie.type=="bookmark"&&(!x||ee.marker.insertLeft)){var ue=ee.from==null||(ie.inclusiveLeft?ee.from<=y:ee.from<y);(b||(b=[])).push(new ri(ie,ue?null:ee.from-y,ee.to==null?null:ee.to-y))}}return b}function oi(a,y){if(y.full)return null;var x=Bt(a,y.from.line)&&qe(a,y.from.line).markedSpans,b=Bt(a,y.to.line)&&qe(a,y.to.line).markedSpans;if(!x&&!b)return null;var E=y.from.ch,ee=y.to.ch,ie=dt(y.from,y.to)==0,se=Jn(x,E,ie),ue=Hn(b,ee,ie),ce=y.text.length==1,ye=xe(y.text).length+(ce?E:0);if(se)for(var Ae=0;Ae<se.length;++Ae){var Ze=se[Ae];if(Ze.to==null){var We=di(ue,Ze.marker);We?ce&&(Ze.to=We.to==null?null:We.to+ye):Ze.to=E}}if(ue)for(var vt=0;vt<ue.length;++vt){var Et=ue[vt];if(Et.to!=null&&(Et.to+=ye),Et.from==null){var Ot=di(se,Et.marker);Ot||(Et.from=ye,ce&&(se||(se=[])).push(Et))}else Et.from+=ye,ce&&(se||(se=[])).push(Et)}se&&(se=Vi(se)),ue&&ue!=se&&(ue=Vi(ue));var Jt=[se];if(!ce){var on=y.text.length-2,qt;if(on>0&&se)for(var dn=0;dn<se.length;++dn)se[dn].to==null&&(qt||(qt=[])).push(new ri(se[dn].marker,null,null));for(var An=0;An<on;++An)Jt.push(qt);Jt.push(ue)}return Jt}function Vi(a){for(var y=0;y<a.length;++y){var x=a[y];x.from!=null&&x.from==x.to&&x.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Di(a,y,x){var b=null;if(a.iter(y.line,x.line+1,function(We){if(We.markedSpans)for(var vt=0;vt<We.markedSpans.length;++vt){var Et=We.markedSpans[vt].marker;Et.readOnly&&(!b||ct(b,Et)==-1)&&(b||(b=[])).push(Et)}}),!b)return null;for(var E=[{from:y,to:x}],ee=0;ee<b.length;++ee)for(var ie=b[ee],se=ie.find(0),ue=0;ue<E.length;++ue){var ce=E[ue];if(!(dt(ce.to,se.from)<0||dt(ce.from,se.to)>0)){var ye=[ue,1],Ae=dt(ce.from,se.from),Ze=dt(ce.to,se.to);(Ae<0||!ie.inclusiveLeft&&!Ae)&&ye.push({from:ce.from,to:se.from}),(Ze>0||!ie.inclusiveRight&&!Ze)&&ye.push({from:se.to,to:ce.to}),E.splice.apply(E,ye),ue+=ye.length-3}}return E}function Ci(a){var y=a.markedSpans;if(y){for(var x=0;x<y.length;++x)y[x].marker.detachLine(a);a.markedSpans=null}}function ir(a,y){if(y){for(var x=0;x<y.length;++x)y[x].marker.attachLine(a);a.markedSpans=y}}function Ei(a){return a.inclusiveLeft?-1:0}function lr(a){return a.inclusiveRight?1:0}function _i(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),E=y.find(),ee=dt(b.from,E.from)||Ei(a)-Ei(y);if(ee)return-ee;var ie=dt(b.to,E.to)||lr(a)-lr(y);return ie||y.id-a.id}function Ii(a,y){var x=Gn&&a.markedSpans,b;if(x)for(var E=void 0,ee=0;ee<x.length;++ee)E=x[ee],E.marker.collapsed&&(y?E.from:E.to)==null&&(!b||_i(b,E.marker)<0)&&(b=E.marker);return b}function Dn(a){return Ii(a,!0)}function Lt(a){return Ii(a,!1)}function It(a,y){var x=Gn&&a.markedSpans,b;if(x)for(var E=0;E<x.length;++E){var ee=x[E];ee.marker.collapsed&&(ee.from==null||ee.from<y)&&(ee.to==null||ee.to>y)&&(!b||_i(b,ee.marker)<0)&&(b=ee.marker)}return b}function pt(a,y,x,b,E){var ee=qe(a,y),ie=Gn&&ee.markedSpans;if(ie)for(var se=0;se<ie.length;++se){var ue=ie[se];if(ue.marker.collapsed){var ce=ue.marker.find(0),ye=dt(ce.from,x)||Ei(ue.marker)-Ei(E),Ae=dt(ce.to,b)||lr(ue.marker)-lr(E);if(!(ye>=0&&Ae<=0||ye<=0&&Ae>=0)&&(ye<=0&&(ue.marker.inclusiveRight&&E.inclusiveLeft?dt(ce.to,x)>=0:dt(ce.to,x)>0)||ye>=0&&(ue.marker.inclusiveRight&&E.inclusiveLeft?dt(ce.from,b)<=0:dt(ce.from,b)<0)))return!0}}}function $e(a){for(var y;y=Dn(a);)a=y.find(-1,!0).line;return a}function St(a){for(var y;y=Lt(a);)a=y.find(1,!0).line;return a}function Tt(a){for(var y,x;y=Lt(a);)a=y.find(1,!0).line,(x||(x=[])).push(a);return x}function vn(a,y){var x=qe(a,y),b=$e(x);return x==b?y:ke(b)}function wn(a,y){if(y>a.lastLine())return y;var x=qe(a,y),b;if(!On(a,x))return y;for(;b=Lt(x);)x=b.find(1,!0).line;return ke(x)+1}function On(a,y){var x=Gn&&y.markedSpans;if(x){for(var b=void 0,E=0;E<x.length;++E)if(b=x[E],!!b.marker.collapsed){if(b.from==null)return!0;if(!b.marker.widgetNode&&b.from==0&&b.marker.inclusiveLeft&&jn(a,y,b))return!0}}}function jn(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return jn(a,b.line,di(b.line.markedSpans,x.marker))}if(x.marker.inclusiveRight&&x.to==y.text.length)return!0;for(var E=void 0,ee=0;ee<y.markedSpans.length;++ee)if(E=y.markedSpans[ee],E.marker.collapsed&&!E.marker.widgetNode&&E.from==x.to&&(E.to==null||E.to!=x.from)&&(E.marker.inclusiveLeft||x.marker.inclusiveRight)&&jn(a,y,E))return!0}function Zn(a){a=$e(a);for(var y=0,x=a.parent,b=0;b<x.lines.length;++b){var E=x.lines[b];if(E==a)break;y+=E.height}for(var ee=x.parent;ee;x=ee,ee=x.parent)for(var ie=0;ie<ee.children.length;++ie){var se=ee.children[ie];if(se==x)break;y+=se.height}return y}function vi(a){if(a.height==0)return 0;for(var y=a.text.length,x,b=a;x=Dn(b);){var E=x.find(0,!0);b=E.from.line,y+=E.from.ch-E.to.ch}for(b=a;x=Lt(b);){var ee=x.find(0,!0);y-=b.text.length-ee.from.ch,b=ee.to.line,y+=b.text.length-ee.to.ch}return y}function ai(a){var y=a.display,x=a.doc;y.maxLine=qe(x,x.first),y.maxLineLength=vi(y.maxLine),y.maxLineChanged=!0,x.iter(function(b){var E=vi(b);E>y.maxLineLength&&(y.maxLineLength=E,y.maxLine=b)})}var Oi=function(a,y,x){this.text=a,ir(this,y),this.height=x?x(this):1};Oi.prototype.lineNo=function(){return ke(this)},jt(Oi);function kr(a,y,x,b){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Ci(a),ir(a,x);var E=b?b(a):1;E!=a.height&&Wn(a,E)}function rr(a){a.parent=null,Ci(a)}var Ui={},ur={};function wi(a,y){if(!a||/^\s*$/.test(a))return null;var x=y.addModeClass?ur:Ui;return x[a]||(x[a]=a.replace(/\S+/g,"cm-$&"))}function dr(a,y){var x=ut("span",null,null,Ie?"padding-right: .1px":null),b={pre:ut("pre",[x],"CodeMirror-line"),content:x,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var E=0;E<=(y.rest?y.rest.length:0);E++){var ee=E?y.rest[E-1]:y.line,ie=void 0;b.pos=0,b.addToken=gi,Nn(a.display.measure)&&(ie=Zt(ee,a.doc.direction))&&(b.addToken=pr(b.addToken,ie)),b.map=[];var se=y!=a.display.externalMeasured&&ke(ee);br(ee,b,bn(a,ee,se)),ee.styleClasses&&(ee.styleClasses.bgClass&&(b.bgClass=Wt(ee.styleClasses.bgClass,b.bgClass||"")),ee.styleClasses.textClass&&(b.textClass=Wt(ee.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(ei(a.display.measure))),E==0?(y.measure.map=b.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(b.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Ie){var ue=b.content.lastChild;(/\bcm-tab\b/.test(ue.className)||ue.querySelector&&ue.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return an(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=Wt(b.pre.className,b.textClass||"")),b}function Mr(a){var y=Fe("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function gi(a,y,x,b,E,ee,ie){if(y){var se=a.splitSpaces?yr(y,a.trailingSpace):y,ue=a.cm.state.specialChars,ce=!1,ye;if(!ue.test(y))a.col+=y.length,ye=document.createTextNode(se),a.map.push(a.pos,a.pos+y.length,ye),ve&&me<9&&(ce=!0),a.pos+=y.length;else{ye=document.createDocumentFragment();for(var Ae=0;;){ue.lastIndex=Ae;var Ze=ue.exec(y),We=Ze?Ze.index-Ae:y.length-Ae;if(We){var vt=document.createTextNode(se.slice(Ae,Ae+We));ve&&me<9?ye.appendChild(Fe("span",[vt])):ye.appendChild(vt),a.map.push(a.pos,a.pos+We,vt),a.col+=We,a.pos+=We}if(!Ze)break;Ae+=We+1;var Et=void 0;if(Ze[0]==" "){var Ot=a.cm.options.tabSize,Jt=Ot-a.col%Ot;Et=ye.appendChild(Fe("span",st(Jt),"cm-tab")),Et.setAttribute("role","presentation"),Et.setAttribute("cm-text"," "),a.col+=Jt}else Ze[0]=="\r"||Ze[0]==`
|
|
`?(Et=ye.appendChild(Fe("span",Ze[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Et.setAttribute("cm-text",Ze[0]),a.col+=1):(Et=a.cm.options.specialCharPlaceholder(Ze[0]),Et.setAttribute("cm-text",Ze[0]),ve&&me<9?ye.appendChild(Fe("span",[Et])):ye.appendChild(Et),a.col+=1);a.map.push(a.pos,a.pos+1,Et),a.pos++}}if(a.trailingSpace=se.charCodeAt(y.length-1)==32,x||b||E||ce||ee||ie){var on=x||"";b&&(on+=b),E&&(on+=E);var qt=Fe("span",[ye],on,ee);if(ie)for(var dn in ie)ie.hasOwnProperty(dn)&&dn!="style"&&dn!="class"&&qt.setAttribute(dn,ie[dn]);return a.content.appendChild(qt)}a.content.appendChild(ye)}}function yr(a,y){if(a.length>1&&!/ /.test(a))return a;for(var x=y,b="",E=0;E<a.length;E++){var ee=a.charAt(E);ee==" "&&x&&(E==a.length-1||a.charCodeAt(E+1)==32)&&(ee="\xA0"),b+=ee,x=ee==" "}return b}function pr(a,y){return function(x,b,E,ee,ie,se,ue){E=E?E+" cm-force-border":"cm-force-border";for(var ce=x.pos,ye=ce+b.length;;){for(var Ae=void 0,Ze=0;Ze<y.length&&(Ae=y[Ze],!(Ae.to>ce&&Ae.from<=ce));Ze++);if(Ae.to>=ye)return a(x,b,E,ee,ie,se,ue);a(x,b.slice(0,Ae.to-ce),E,ee,null,se,ue),ee=null,b=b.slice(Ae.to-ce),ce=Ae.to}}}function zr(a,y,x,b){var E=!b&&x.widgetNode;E&&a.map.push(a.pos,a.pos+y,E),!b&&a.cm.display.input.needsContentAttribute&&(E||(E=a.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(a.cm.display.input.setUneditable(E),a.content.appendChild(E)),a.pos+=y,a.trailingSpace=!1}function br(a,y,x){var b=a.markedSpans,E=a.text,ee=0;if(!b){for(var ie=1;ie<x.length;ie+=2)y.addToken(y,E.slice(ee,ee=x[ie]),wi(x[ie+1],y.cm.options));return}for(var se=E.length,ue=0,ce=1,ye="",Ae,Ze,We=0,vt,Et,Ot,Jt,on;;){if(We==ue){vt=Et=Ot=Ze="",on=null,Jt=null,We=1/0;for(var qt=[],dn=void 0,An=0;An<b.length;++An){var yn=b[An],Vn=yn.marker;if(Vn.type=="bookmark"&&yn.from==ue&&Vn.widgetNode)qt.push(Vn);else if(yn.from<=ue&&(yn.to==null||yn.to>ue||Vn.collapsed&&yn.to==ue&&yn.from==ue)){if(yn.to!=null&&yn.to!=ue&&We>yn.to&&(We=yn.to,Et=""),Vn.className&&(vt+=" "+Vn.className),Vn.css&&(Ze=(Ze?Ze+";":"")+Vn.css),Vn.startStyle&&yn.from==ue&&(Ot+=" "+Vn.startStyle),Vn.endStyle&&yn.to==We&&(dn||(dn=[])).push(Vn.endStyle,yn.to),Vn.title&&((on||(on={})).title=Vn.title),Vn.attributes)for(var Fi in Vn.attributes)(on||(on={}))[Fi]=Vn.attributes[Fi];Vn.collapsed&&(!Jt||_i(Jt.marker,Vn)<0)&&(Jt=yn)}else yn.from>ue&&We>yn.from&&(We=yn.from)}if(dn)for(var tr=0;tr<dn.length;tr+=2)dn[tr+1]==We&&(Et+=" "+dn[tr]);if(!Jt||Jt.from==ue)for(var zi=0;zi<qt.length;++zi)zr(y,0,qt[zi]);if(Jt&&(Jt.from||0)==ue){if(zr(y,(Jt.to==null?se+1:Jt.to)-ue,Jt.marker,Jt.from==null),Jt.to==null)return;Jt.to==ue&&(Jt=!1)}}if(ue>=se)break;for(var Fr=Math.min(se,We);;){if(ye){var Ar=ue+ye.length;if(!Jt){var Xi=Ar>Fr?ye.slice(0,Fr-ue):ye;y.addToken(y,Xi,Ae?Ae+vt:vt,Ot,ue+Xi.length==We?Et:"",Ze,on)}if(Ar>=Fr){ye=ye.slice(Fr-ue),ue=Fr;break}ue=Ar,Ot=""}ye=E.slice(ee,ee=x[ce++]),Ae=wi(x[ce++],y.cm.options)}}}function Hr(a,y,x){this.line=y,this.rest=Tt(y),this.size=this.rest?ke(xe(this.rest))-x+1:1,this.node=this.text=null,this.hidden=On(a,y)}function ki(a,y,x){for(var b=[],E,ee=y;ee<x;ee=E){var ie=new Hr(a.doc,qe(a.doc,ee),ee);E=ee+ie.size,b.push(ie)}return b}var Tr=null;function $r(a){Tr?Tr.ops.push(a):a.ownsGroup=Tr={ops:[a],delayedCallbacks:[]}}function eo(a){var y=a.delayedCallbacks,x=0;do{for(;x<y.length;x++)y[x].call(null);for(var b=0;b<a.ops.length;b++){var E=a.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<y.length)}function jo(a,y){var x=a.ownsGroup;if(x)try{eo(x)}finally{Tr=null,y(x)}}var Xr=null;function Hi(a,y){var x=rn(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;Tr?E=Tr.delayedCallbacks:Xr?E=Xr:(E=Xr=[],setTimeout(to,0));for(var ee=function(se){E.push(function(){return x[se].apply(null,b)})},ie=0;ie<x.length;++ie)ee(ie)}}function to(){var a=Xr;Xr=null;for(var y=0;y<a.length;++y)a[y]()}function ao(a,y,x,b){for(var E=0;E<y.changes.length;E++){var ee=y.changes[E];ee=="text"?so(a,y):ee=="gutter"?Pn(a,y,x,b):ee=="class"?xn(a,y):ee=="widget"&&Sn(a,y,b)}y.changes=null}function Zr(a){return a.node==a.text&&(a.node=Fe("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),ve&&me<8&&(a.node.style.zIndex=2)),a.node}function Ki(a,y){var x=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),y.background)x?y.background.className=x:(y.background.parentNode.removeChild(y.background),y.background=null);else if(x){var b=Zr(y);y.background=b.insertBefore(Fe("div",null,x),b.firstChild),a.display.input.setUneditable(y.background)}}function bo(a,y){var x=a.display.externalMeasured;return x&&x.line==y.line?(a.display.externalMeasured=null,y.measure=x.measure,x.built):dr(a,y)}function so(a,y){var x=y.text.className,b=bo(a,y);y.text==y.node&&(y.node=b.pre),y.text.parentNode.replaceChild(b.pre,y.text),y.text=b.pre,b.bgClass!=y.bgClass||b.textClass!=y.textClass?(y.bgClass=b.bgClass,y.textClass=b.textClass,xn(a,y)):x&&(y.text.className=x)}function xn(a,y){Ki(a,y),y.line.wrapClass?Zr(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var x=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=x||""}function Pn(a,y,x,b){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var E=Zr(y);y.gutterBackground=Fe("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px; width: "+b.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),E.insertBefore(y.gutterBackground,y.text)}var ee=y.line.gutterMarkers;if(a.options.lineNumbers||ee){var ie=Zr(y),se=y.gutter=Fe("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px");if(a.display.input.setUneditable(se),ie.insertBefore(se,y.text),y.line.gutterClass&&(se.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ee||!ee["CodeMirror-linenumbers"])&&(y.lineNumber=se.appendChild(Fe("div",ht(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ee)for(var ue=0;ue<a.display.gutterSpecs.length;++ue){var ce=a.display.gutterSpecs[ue].className,ye=ee.hasOwnProperty(ce)&&ee[ce];ye&&se.appendChild(Fe("div",[ye],"CodeMirror-gutter-elt","left: "+b.gutterLeft[ce]+"px; width: "+b.gutterWidth[ce]+"px"))}}}function Sn(a,y,x){y.alignable&&(y.alignable=null);for(var b=Xe("CodeMirror-linewidget"),E=y.node.firstChild,ee=void 0;E;E=ee)ee=E.nextSibling,b.test(E.className)&&y.node.removeChild(E);li(a,y,x)}function kn(a,y,x,b){var E=bo(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),xn(a,y),Pn(a,y,x,b),li(a,y,b),y.node}function li(a,y,x){if(Pi(a,y.line,y,x,!0),y.rest)for(var b=0;b<y.rest.length;b++)Pi(a,y.rest[b],y,x,!1)}function Pi(a,y,x,b,E){if(y.widgets)for(var ee=Zr(x),ie=0,se=y.widgets;ie<se.length;++ie){var ue=se[ie],ce=Fe("div",[ue.node],"CodeMirror-linewidget"+(ue.className?" "+ue.className:""));ue.handleMouseEvents||ce.setAttribute("cm-ignore-events","true"),Vr(ue,ce,x,b),a.display.input.setUneditable(ce),E&&ue.above?ee.insertBefore(ce,x.gutter||x.text):ee.appendChild(ce),Hi(ue,"redraw")}}function Vr(a,y,x,b){if(a.noHScroll){(x.alignable||(x.alignable=[])).push(y);var E=b.wrapperWidth;y.style.left=b.fixedPos+"px",a.coverGutter||(E-=b.gutterTotalWidth,y.style.paddingLeft=b.gutterTotalWidth+"px"),y.style.width=E+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-b.gutterTotalWidth+"px"))}function vr(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ye(document.body,a.node)){var x="position: relative;";a.coverGutter&&(x+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(x+="width: "+y.display.wrapper.clientWidth+"px;"),Re(y.display.measure,Fe("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function or(a,y){for(var x=Kn(y);x!=a.wrapper;x=x.parentNode)if(!x||x.nodeType==1&&x.getAttribute("cm-ignore-events")=="true"||x.parentNode==a.sizer&&x!=a.mover)return!0}function Gi(a){return a.lineSpace.offsetTop}function Wr(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Qr(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Re(a.measure,Fe("pre","x","CodeMirror-line-like")),x=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,b={left:parseInt(x.paddingLeft),right:parseInt(x.paddingRight)};return!isNaN(b.left)&&!isNaN(b.right)&&(a.cachedPaddingH=b),b}function Lr(a){return Yt-a.display.nativeBarWidth}function Jr(a){return a.display.scroller.clientWidth-Lr(a)-a.display.barWidth}function no(a){return a.display.scroller.clientHeight-Lr(a)-a.display.barHeight}function Ur(a,y,x){var b=a.options.lineWrapping,E=b&&Jr(a);if(!y.measure.heights||b&&y.measure.width!=E){var ee=y.measure.heights=[];if(b){y.measure.width=E;for(var ie=y.text.firstChild.getClientRects(),se=0;se<ie.length-1;se++){var ue=ie[se],ce=ie[se+1];Math.abs(ue.bottom-ce.bottom)>2&&ee.push((ue.bottom+ce.top)/2-x.top)}}ee.push(x.bottom-x.top)}}function Do(a,y,x){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var b=0;b<a.rest.length;b++)if(a.rest[b]==y)return{map:a.measure.maps[b],cache:a.measure.caches[b]};for(var E=0;E<a.rest.length;E++)if(ke(a.rest[E])>x)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function Ga(a,y){y=$e(y);var x=ke(y),b=a.display.externalMeasured=new Hr(a.doc,y,x);b.lineN=x;var E=b.built=dr(a,b);return b.text=E.pre,Re(a.display.lineMeasure,E.pre),b}function ya(a,y,x,b){return Rr(a,lo(a,y),x,b)}function qr(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[xo(a,y)];var x=a.display.externalMeasured;if(x&&y>=x.lineN&&y<x.lineN+x.size)return x}function lo(a,y){var x=ke(y),b=qr(a,x);b&&!b.text?b=null:b&&b.changes&&(ao(a,b,x,uo(a)),a.curOp.forceUpdate=!0),b||(b=Ga(a,y));var E=Do(b,y,x);return{line:y,view:b,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function Rr(a,y,x,b,E){y.before&&(x=-1);var ee=x+(b||""),ie;return y.cache.hasOwnProperty(ee)?ie=y.cache[ee]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ur(a,y.view,y.rect),y.hasHeights=!0),ie=Ca(a,y,x,b),ie.bogus||(y.cache[ee]=ie)),{left:ie.left,right:ie.right,top:E?ie.rtop:ie.top,bottom:E?ie.rbottom:ie.bottom}}var ba={left:0,right:0,top:0,bottom:0};function wa(a,y,x){for(var b,E,ee,ie,se,ue,ce=0;ce<a.length;ce+=3)if(se=a[ce],ue=a[ce+1],y<se?(E=0,ee=1,ie="left"):y<ue?(E=y-se,ee=E+1):(ce==a.length-3||y==ue&&a[ce+3]>y)&&(ee=ue-se,E=ee-1,y>=ue&&(ie="right")),E!=null){if(b=a[ce+2],se==ue&&x==(b.insertLeft?"left":"right")&&(ie=x),x=="left"&&E==0)for(;ce&&a[ce-2]==a[ce-3]&&a[ce-1].insertLeft;)b=a[(ce-=3)+2],ie="left";if(x=="right"&&E==ue-se)for(;ce<a.length-3&&a[ce+3]==a[ce+4]&&!a[ce+5].insertLeft;)b=a[(ce+=3)+2],ie="right";break}return{node:b,start:E,end:ee,collapse:ie,coverStart:se,coverEnd:ue}}function Ya(a,y){var x=ba;if(y=="left")for(var b=0;b<a.length&&(x=a[b]).left==x.right;b++);else for(var E=a.length-1;E>=0&&(x=a[E]).left==x.right;E--);return x}function Ca(a,y,x,b){var E=wa(y.map,x,b),ee=E.node,ie=E.start,se=E.end,ue=E.collapse,ce;if(ee.nodeType==3){for(var ye=0;ye<4;ye++){for(;ie&&Ue(y.line.text.charAt(E.coverStart+ie));)--ie;for(;E.coverStart+se<E.coverEnd&&Ue(y.line.text.charAt(E.coverStart+se));)++se;if(ve&&me<9&&ie==0&&se==E.coverEnd-E.coverStart?ce=ee.parentNode.getBoundingClientRect():ce=Ya(Be(ee,ie,se).getClientRects(),b),ce.left||ce.right||ie==0)break;se=ie,ie=ie-1,ue="right"}ve&&me<11&&(ce=ja(a.display.measure,ce))}else{ie>0&&(ue=b="right");var Ae;a.options.lineWrapping&&(Ae=ee.getClientRects()).length>1?ce=Ae[b=="right"?Ae.length-1:0]:ce=ee.getBoundingClientRect()}if(ve&&me<9&&!ie&&(!ce||!ce.left&&!ce.right)){var Ze=ee.parentNode.getClientRects()[0];Ze?ce={left:Ze.left,right:Ze.left+Yr(a.display),top:Ze.top,bottom:Ze.bottom}:ce=ba}for(var We=ce.top-y.rect.top,vt=ce.bottom-y.rect.top,Et=(We+vt)/2,Ot=y.view.measure.heights,Jt=0;Jt<Ot.length-1&&!(Et<Ot[Jt]);Jt++);var on=Jt?Ot[Jt-1]:0,qt=Ot[Jt],dn={left:(ue=="right"?ce.right:ce.left)-y.rect.left,right:(ue=="left"?ce.left:ce.right)-y.rect.left,top:on,bottom:qt};return!ce.left&&!ce.right&&(dn.bogus=!0),a.options.singleCursorHeightPerLine||(dn.rtop=We,dn.rbottom=vt),dn}function ja(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!_t(a))return y;var x=screen.logicalXDPI/screen.deviceXDPI,b=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*x,right:y.right*x,top:y.top*b,bottom:y.bottom*b}}function Ko(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Xo(a){a.display.externalMeasure=null,At(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Ko(a.display.view[y])}function wo(a){Xo(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Qo(){return Ce&&Se?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function xa(){return Ce&&Se?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Jo(a){var y=0;if(a.widgets)for(var x=0;x<a.widgets.length;++x)a.widgets[x].above&&(y+=vr(a.widgets[x]));return y}function Po(a,y,x,b,E){if(!E){var ee=Jo(y);x.top+=ee,x.bottom+=ee}if(b=="line")return x;b||(b="local");var ie=Zn(y);if(b=="local"?ie+=Gi(a.display):ie-=a.display.viewOffset,b=="page"||b=="window"){var se=a.display.lineSpace.getBoundingClientRect();ie+=se.top+(b=="window"?0:xa());var ue=se.left+(b=="window"?0:Qo());x.left+=ue,x.right+=ue}return x.top+=ie,x.bottom+=ie,x}function Aa(a,y,x){if(x=="div")return y;var b=y.left,E=y.top;if(x=="page")b-=Qo(),E-=xa();else if(x=="local"||!x){var ee=a.display.sizer.getBoundingClientRect();b+=ee.left,E+=ee.top}var ie=a.display.lineSpace.getBoundingClientRect();return{left:b-ie.left,top:E-ie.top}}function Fo(a,y,x,b,E){return b||(b=qe(a.doc,y.line)),Po(a,b,ya(a,b,y.ch,E),x)}function wr(a,y,x,b,E,ee){b=b||qe(a.doc,y.line),E||(E=lo(a,b));function ie(vt,Et){var Ot=Rr(a,E,vt,Et?"right":"left",ee);return Et?Ot.left=Ot.right:Ot.right=Ot.left,Po(a,b,Ot,x)}var se=Zt(b,a.doc.direction),ue=y.ch,ce=y.sticky;if(ue>=b.text.length?(ue=b.text.length,ce="before"):ue<=0&&(ue=0,ce="after"),!se)return ie(ce=="before"?ue-1:ue,ce=="before");function ye(vt,Et,Ot){var Jt=se[Et],on=Jt.level==1;return ie(Ot?vt-1:vt,on!=Ot)}var Ae=Nt(se,ue,ce),Ze=yt,We=ye(ue,Ae,ce=="before");return Ze!=null&&(We.other=ye(ue,Ze,ce!="before")),We}function qn(a,y){var x=0;y=gt(a.doc,y),a.options.lineWrapping||(x=Yr(a.display)*y.ch);var b=qe(a.doc,y.line),E=Zn(b)+Gi(a.display);return{left:x,right:x,top:E,bottom:E+b.height}}function In(a,y,x,b,E){var ee=Te(a,y,x);return ee.xRel=E,b&&(ee.outside=b),ee}function ar(a,y,x){var b=a.doc;if(x+=a.display.viewOffset,x<0)return In(b.first,0,null,-1,-1);var E=Le(b,x),ee=b.first+b.size-1;if(E>ee)return In(b.first+b.size-1,qe(b,ee).text.length,null,1,1);y<0&&(y=0);for(var ie=qe(b,E);;){var se=Gr(a,ie,E,y,x),ue=It(ie,se.ch+(se.xRel>0||se.outside>0?1:0));if(!ue)return se;var ce=ue.find(1);if(ce.line==E)return ce;ie=qe(b,E=ce.line)}}function cr(a,y,x,b){b-=Jo(y);var E=y.text.length,ee=mt(function(ie){return Rr(a,x,ie-1).bottom<=b},E,0);return E=mt(function(ie){return Rr(a,x,ie).top>b},ee,E),{begin:ee,end:E}}function Yi(a,y,x,b){x||(x=lo(a,y));var E=Po(a,y,Rr(a,x,b),"line").top;return cr(a,y,x,E)}function Ji(a,y,x,b){return a.bottom<=x?!1:a.top>x?!0:(b?a.left:a.right)>y}function Gr(a,y,x,b,E){E-=Zn(y);var ee=lo(a,y),ie=Jo(y),se=0,ue=y.text.length,ce=!0,ye=Zt(y,a.doc.direction);if(ye){var Ae=(a.options.lineWrapping?io:Nr)(a,y,x,ee,ye,b,E);ce=Ae.level!=1,se=ce?Ae.from:Ae.to-1,ue=ce?Ae.to:Ae.from-1}var Ze=null,We=null,vt=mt(function(An){var yn=Rr(a,ee,An);return yn.top+=ie,yn.bottom+=ie,Ji(yn,b,E,!1)?(yn.top<=E&&yn.left<=b&&(Ze=An,We=yn),!0):!1},se,ue),Et,Ot,Jt=!1;if(We){var on=b-We.left<We.right-b,qt=on==ce;vt=Ze+(qt?0:1),Ot=qt?"after":"before",Et=on?We.left:We.right}else{!ce&&(vt==ue||vt==se)&&vt++,Ot=vt==0?"after":vt==y.text.length?"before":Rr(a,ee,vt-(ce?1:0)).bottom+ie<=E==ce?"after":"before";var dn=wr(a,Te(x,vt,Ot),"line",y,ee);Et=dn.left,Jt=E<dn.top?-1:E>=dn.bottom?1:0}return vt=Dt(y.text,vt,1),In(x,vt,Ot,Jt,b-Et)}function Nr(a,y,x,b,E,ee,ie){var se=mt(function(Ae){var Ze=E[Ae],We=Ze.level!=1;return Ji(wr(a,Te(x,We?Ze.to:Ze.from,We?"before":"after"),"line",y,b),ee,ie,!0)},0,E.length-1),ue=E[se];if(se>0){var ce=ue.level!=1,ye=wr(a,Te(x,ce?ue.from:ue.to,ce?"after":"before"),"line",y,b);Ji(ye,ee,ie,!0)&&ye.top>ie&&(ue=E[se-1])}return ue}function io(a,y,x,b,E,ee,ie){var se=cr(a,y,b,ie),ue=se.begin,ce=se.end;/\s/.test(y.text.charAt(ce-1))&&ce--;for(var ye=null,Ae=null,Ze=0;Ze<E.length;Ze++){var We=E[Ze];if(!(We.from>=ce||We.to<=ue)){var vt=We.level!=1,Et=Rr(a,b,vt?Math.min(ce,We.to)-1:Math.max(ue,We.from)).right,Ot=Et<ee?ee-Et+1e9:Et-ee;(!ye||Ae>Ot)&&(ye=We,Ae=Ot)}}return ye||(ye=E[E.length-1]),ye.from<ue&&(ye={from:ue,to:ye.to,level:ye.level}),ye.to>ce&&(ye={from:ye.from,to:ce,level:ye.level}),ye}var Br;function Dr(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Br==null){Br=Fe("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Br.appendChild(document.createTextNode("x")),Br.appendChild(Fe("br"));Br.appendChild(document.createTextNode("x"))}Re(a.measure,Br);var x=Br.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),At(a.measure),x||1}function Yr(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Fe("span","xxxxxxxxxx"),x=Fe("pre",[y],"CodeMirror-line-like");Re(a.measure,x);var b=y.getBoundingClientRect(),E=(b.right-b.left)/10;return E>2&&(a.cachedCharWidth=E),E||10}function uo(a){for(var y=a.display,x={},b={},E=y.gutters.clientLeft,ee=y.gutters.firstChild,ie=0;ee;ee=ee.nextSibling,++ie){var se=a.display.gutterSpecs[ie].className;x[se]=ee.offsetLeft+ee.clientLeft+E,b[se]=ee.clientWidth}return{fixedPos:Ka(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:x,gutterWidth:b,wrapperWidth:y.wrapper.clientWidth}}function Ka(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Cs(a){var y=Dr(a.display),x=a.options.lineWrapping,b=x&&Math.max(5,a.display.scroller.clientWidth/Yr(a.display)-3);return function(E){if(On(a.doc,E))return 0;var ee=0;if(E.widgets)for(var ie=0;ie<E.widgets.length;ie++)E.widgets[ie].height&&(ee+=E.widgets[ie].height);return x?ee+(Math.ceil(E.text.length/b)||1)*y:ee+y}}function Xa(a){var y=a.doc,x=Cs(a);y.iter(function(b){var E=x(b);E!=b.height&&Wn(b,E)})}function Co(a,y,x,b){var E=a.display;if(!x&&Kn(y).getAttribute("cm-not-content")=="true")return null;var ee,ie,se=E.lineSpace.getBoundingClientRect();try{ee=y.clientX-se.left,ie=y.clientY-se.top}catch(Ae){return null}var ue=ar(a,ee,ie),ce;if(b&&ue.xRel>0&&(ce=qe(a.doc,ue.line).text).length==ue.ch){var ye=ge(ce,ce.length,a.options.tabSize)-ce.length;ue=Te(ue.line,Math.max(0,Math.round((ee-Qr(a.display).left)/Yr(a.display))-ye))}return ue}function xo(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var x=a.display.view,b=0;b<x.length;b++)if(y-=x[b].size,y<0)return b}function Cr(a,y,x,b){y==null&&(y=a.doc.first),x==null&&(x=a.doc.first+a.doc.size),b||(b=0);var E=a.display;if(b&&x<E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>y)&&(E.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=E.viewTo)Gn&&vn(a.doc,y)<E.viewTo&&ho(a);else if(x<=E.viewFrom)Gn&&wn(a.doc,x+b)>E.viewFrom?ho(a):(E.viewFrom+=b,E.viewTo+=b);else if(y<=E.viewFrom&&x>=E.viewTo)ho(a);else if(y<=E.viewFrom){var ee=Sa(a,x,x+b,1);ee?(E.view=E.view.slice(ee.index),E.viewFrom=ee.lineN,E.viewTo+=b):ho(a)}else if(x>=E.viewTo){var ie=Sa(a,y,y,-1);ie?(E.view=E.view.slice(0,ie.index),E.viewTo=ie.lineN):ho(a)}else{var se=Sa(a,y,y,-1),ue=Sa(a,x,x+b,1);se&&ue?(E.view=E.view.slice(0,se.index).concat(ki(a,se.lineN,ue.lineN)).concat(E.view.slice(ue.index)),E.viewTo+=b):ho(a)}var ce=E.externalMeasured;ce&&(x<ce.lineN?ce.lineN+=b:y<ce.lineN+ce.size&&(E.externalMeasured=null))}function co(a,y,x){a.curOp.viewChanged=!0;var b=a.display,E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size&&(b.externalMeasured=null),!(y<b.viewFrom||y>=b.viewTo)){var ee=b.view[xo(a,y)];if(ee.node!=null){var ie=ee.changes||(ee.changes=[]);ct(ie,x)==-1&&ie.push(x)}}}function ho(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Sa(a,y,x,b){var E=xo(a,y),ee,ie=a.display.view;if(!Gn||x==a.doc.first+a.doc.size)return{index:E,lineN:x};for(var se=a.display.viewFrom,ue=0;ue<E;ue++)se+=ie[ue].size;if(se!=y){if(b>0){if(E==ie.length-1)return null;ee=se+ie[E].size-y,E++}else ee=se-y;y+=ee,x+=ee}for(;vn(a.doc,x)!=x;){if(E==(b<0?0:ie.length-1))return null;x+=b*ie[E-(b<0?1:0)].size,E+=b}return{index:E,lineN:x}}function zl(a,y,x){var b=a.display,E=b.view;E.length==0||y>=b.viewTo||x<=b.viewFrom?(b.view=ki(a,y,x),b.viewFrom=y):(b.viewFrom>y?b.view=ki(a,y,b.viewFrom).concat(b.view):b.viewFrom<y&&(b.view=b.view.slice(xo(a,y))),b.viewFrom=y,b.viewTo<x?b.view=b.view.concat(ki(a,b.viewTo,x)):b.viewTo>x&&(b.view=b.view.slice(0,xo(a,x)))),b.viewTo=x}function xs(a){for(var y=a.display.view,x=0,b=0;b<y.length;b++){var E=y[b];!E.hidden&&(!E.node||E.changes)&&++x}return x}function qo(a){a.display.input.showSelection(a.display.input.prepareSelection())}function As(a,y){y===void 0&&(y=!0);for(var x=a.doc,b={},E=b.cursors=document.createDocumentFragment(),ee=b.selection=document.createDocumentFragment(),ie=0;ie<x.sel.ranges.length;ie++)if(!(!y&&ie==x.sel.primIndex)){var se=x.sel.ranges[ie];if(!(se.from().line>=a.display.viewTo||se.to().line<a.display.viewFrom)){var ue=se.empty();(ue||a.options.showCursorWhenSelecting)&&Ss(a,se.head,E),ue||Hl(a,se,ee)}}return b}function Ss(a,y,x){var b=wr(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=x.appendChild(Fe("div","\xA0","CodeMirror-cursor"));if(E.style.left=b.left+"px",E.style.top=b.top+"px",E.style.height=Math.max(0,b.bottom-b.top)*a.options.cursorHeight+"px",b.other){var ee=x.appendChild(Fe("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ee.style.display="",ee.style.left=b.other.left+"px",ee.style.top=b.other.top+"px",ee.style.height=(b.other.bottom-b.other.top)*.85+"px"}}function Ea(a,y){return a.top-y.top||a.left-y.left}function Hl(a,y,x){var b=a.display,E=a.doc,ee=document.createDocumentFragment(),ie=Qr(a.display),se=ie.left,ue=Math.max(b.sizerWidth,Jr(a)-b.sizer.offsetLeft)-ie.right,ce=E.direction=="ltr";function ye(qt,dn,An,yn){dn<0&&(dn=0),dn=Math.round(dn),yn=Math.round(yn),ee.appendChild(Fe("div",null,"CodeMirror-selected","position: absolute; left: "+qt+`px;
|
|
top: `+dn+"px; width: "+(An==null?ue-qt:An)+`px;
|
|
height: `+(yn-dn)+"px"))}function Ae(qt,dn,An){var yn=qe(E,qt),Vn=yn.text.length,Fi,tr;function zi(Xi,Sr){return Fo(a,Te(qt,Xi),"div",yn,Sr)}function Fr(Xi,Sr,sr){var qi=Yi(a,yn,null,Xi),Qi=Sr=="ltr"==(sr=="after")?"left":"right",Zi=sr=="after"?qi.begin:qi.end-(/\s/.test(yn.text.charAt(qi.end-1))?2:1);return zi(Zi,Qi)[Qi]}var Ar=Zt(yn,E.direction);return ft(Ar,dn||0,An==null?Vn:An,function(Xi,Sr,sr,qi){var Qi=sr=="ltr",Zi=zi(Xi,Qi?"left":"right"),Er=zi(Sr-1,Qi?"right":"left"),Go=dn==null&&Xi==0,yo=An==null&&Sr==Vn,fr=qi==0,_r=!Ar||qi==Ar.length-1;if(Er.top-Zi.top<=3){var nr=(ce?Go:yo)&&fr,bs=(ce?yo:Go)&&_r,oo=nr?se:(Qi?Zi:Er).left,Lo=bs?ue:(Qi?Er:Zi).right;ye(oo,Zi.top,Lo-oo,Zi.bottom)}else{var Bo,mr,Yo,ws;Qi?(Bo=ce&&Go&&fr?se:Zi.left,mr=ce?ue:Fr(Xi,sr,"before"),Yo=ce?se:Fr(Sr,sr,"after"),ws=ce&&yo&&_r?ue:Er.right):(Bo=ce?Fr(Xi,sr,"before"):se,mr=!ce&&Go&&fr?ue:Zi.right,Yo=!ce&&yo&&_r?se:Er.left,ws=ce?Fr(Sr,sr,"after"):ue),ye(Bo,Zi.top,mr-Bo,Zi.bottom),Zi.bottom<Er.top&&ye(se,Zi.bottom,null,Er.top),ye(Yo,Er.top,ws-Yo,Er.bottom)}(!Fi||Ea(Zi,Fi)<0)&&(Fi=Zi),Ea(Er,Fi)<0&&(Fi=Er),(!tr||Ea(Zi,tr)<0)&&(tr=Zi),Ea(Er,tr)<0&&(tr=Er)}),{start:Fi,end:tr}}var Ze=y.from(),We=y.to();if(Ze.line==We.line)Ae(Ze.line,Ze.ch,We.ch);else{var vt=qe(E,Ze.line),Et=qe(E,We.line),Ot=$e(vt)==$e(Et),Jt=Ae(Ze.line,Ze.ch,Ot?vt.text.length+1:null).end,on=Ae(We.line,Ot?0:null,We.ch).start;Ot&&(Jt.top<on.top-2?(ye(Jt.right,Jt.top,null,Jt.bottom),ye(se,on.top,on.left,on.bottom)):ye(Jt.right,Jt.top,on.left-Jt.right,Jt.bottom)),Jt.bottom<on.top&&ye(se,Jt.bottom,null,on.top)}x.appendChild(ee)}function Qa(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var x=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||Mo(a),y.cursorDiv.style.visibility=(x=!x)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function Es(a){a.state.focused||(a.display.input.focus(),Ja(a))}function ks(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Mo(a))},100)}function Ja(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(an(a,"focus",a,y),a.state.focused=!0,_e(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ie&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Qa(a))}function Mo(a,y){a.state.delayingBlurEvent||(a.state.focused&&(an(a,"blur",a,y),a.state.focused=!1,rt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ka(a){for(var y=a.display,x=y.lineDiv.offsetTop,b=0;b<y.view.length;b++){var E=y.view[b],ee=a.options.lineWrapping,ie=void 0,se=0;if(!E.hidden){if(ve&&me<8){var ue=E.node.offsetTop+E.node.offsetHeight;ie=ue-x,x=ue}else{var ce=E.node.getBoundingClientRect();ie=ce.bottom-ce.top,!ee&&E.text.firstChild&&(se=E.text.firstChild.getBoundingClientRect().right-ce.left-1)}var ye=E.line.height-ie;if((ye>.005||ye<-.005)&&(Wn(E.line,ie),Ls(E.line),E.rest))for(var Ae=0;Ae<E.rest.length;Ae++)Ls(E.rest[Ae]);if(se>a.display.sizerWidth){var Ze=Math.ceil(se/Yr(a.display));Ze>a.display.maxLineLength&&(a.display.maxLineLength=Ze,a.display.maxLine=E.line,a.display.maxLineChanged=!0)}}}}function Ls(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var x=a.widgets[y],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function La(a,y,x){var b=x&&x.top!=null?Math.max(0,x.top):a.scroller.scrollTop;b=Math.floor(b-Gi(a));var E=x&&x.bottom!=null?x.bottom:b+a.wrapper.clientHeight,ee=Le(y,b),ie=Le(y,E);if(x&&x.ensure){var se=x.ensure.from.line,ue=x.ensure.to.line;se<ee?(ee=se,ie=Le(y,Zn(qe(y,se))+a.wrapper.clientHeight)):Math.min(ue,y.lastLine())>=ie&&(ee=Le(y,Zn(qe(y,ue))-a.wrapper.clientHeight),ie=ue)}return{from:ee,to:Math.max(ie,ee+1)}}function Zl(a,y){if(!et(a,"scrollCursorIntoView")){var x=a.display,b=x.sizer.getBoundingClientRect(),E=null;if(y.top+b.top<0?E=!0:y.bottom+b.top>(window.innerHeight||document.documentElement.clientHeight)&&(E=!1),E!=null&&!at){var ee=Fe("div","\u200B",null,`position: absolute;
|
|
top: `+(y.top-x.viewOffset-Gi(a.display))+`px;
|
|
height: `+(y.bottom-y.top+Lr(a)+x.barHeight)+`px;
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ee),ee.scrollIntoView(E),a.display.lineSpace.removeChild(ee)}}}function Vl(a,y,x,b){b==null&&(b=0);var E;!a.options.lineWrapping&&y==x&&(y=y.ch?Te(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?Te(y.line,y.ch+1,"before"):y);for(var ee=0;ee<5;ee++){var ie=!1,se=wr(a,y),ue=!x||x==y?se:wr(a,x);E={left:Math.min(se.left,ue.left),top:Math.min(se.top,ue.top)-b,right:Math.max(se.left,ue.left),bottom:Math.max(se.bottom,ue.bottom)+b};var ce=qa(a,E),ye=a.doc.scrollTop,Ae=a.doc.scrollLeft;if(ce.scrollTop!=null&&($o(a,ce.scrollTop),Math.abs(a.doc.scrollTop-ye)>1&&(ie=!0)),ce.scrollLeft!=null&&(Ao(a,ce.scrollLeft),Math.abs(a.doc.scrollLeft-Ae)>1&&(ie=!0)),!ie)break}return E}function Ul(a,y){var x=qa(a,y);x.scrollTop!=null&&$o(a,x.scrollTop),x.scrollLeft!=null&&Ao(a,x.scrollLeft)}function qa(a,y){var x=a.display,b=Dr(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:x.scroller.scrollTop,ee=no(a),ie={};y.bottom-y.top>ee&&(y.bottom=y.top+ee);var se=a.doc.height+Wr(x),ue=y.top<b,ce=y.bottom>se-b;if(y.top<E)ie.scrollTop=ue?0:y.top;else if(y.bottom>E+ee){var ye=Math.min(y.top,(ce?se:y.bottom)-ee);ye!=E&&(ie.scrollTop=ye)}var Ae=a.options.fixedGutter?0:x.gutters.offsetWidth,Ze=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-Ae,We=Jr(a)-x.gutters.offsetWidth,vt=y.right-y.left>We;return vt&&(y.right=y.left+We),y.left<10?ie.scrollLeft=0:y.left<Ze?ie.scrollLeft=Math.max(0,y.left+Ae-(vt?0:10)):y.right>We+Ze-3&&(ie.scrollLeft=y.right+(vt?0:10)-We),ie}function _a(a,y){y!=null&&(Ba(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function To(a){Ba(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function _o(a,y,x){(y!=null||x!=null)&&Ba(a),y!=null&&(a.curOp.scrollLeft=y),x!=null&&(a.curOp.scrollTop=x)}function Gl(a,y){Ba(a),a.curOp.scrollToPos=y}function Ba(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var x=qn(a,y.from),b=qn(a,y.to);Bs(a,x,b,y.margin)}}function Bs(a,y,x,b){var E=qa(a,{left:Math.min(y.left,x.left),top:Math.min(y.top,x.top)-b,right:Math.max(y.right,x.right),bottom:Math.max(y.bottom,x.bottom)+b});_o(a,E.scrollLeft,E.scrollTop)}function $o(a,y){Math.abs(a.doc.scrollTop-y)<2||(ae||es(a,{top:y}),Ds(a,y,!0),ae&&es(a),na(a,100))}function Ds(a,y,x){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!x)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Ao(a,y,x,b){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((x?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!b)&&(a.doc.scrollLeft=y,Is(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function ea(a){var y=a.display,x=y.gutters.offsetWidth,b=Math.round(a.doc.height+Wr(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+Lr(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:x}}var So=function(a,y,x){this.cm=x;var b=this.vert=Fe("div",[Fe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=Fe("div",[Fe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,a(b),a(E),kt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),kt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ve&&me<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};So.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,x=a.scrollHeight>a.clientHeight+1,b=a.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=y?b+"px":"0";var E=a.viewHeight-(y?b:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+E)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=a.barLeft+"px";var ee=a.viewWidth-a.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ee)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:y?b:0}},So.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},So.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},So.prototype.zeroWidthHack=function(){var a=we&&!pe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new he,this.disableVert=new he},So.prototype.enableZeroWidthBar=function(a,y,x){a.style.pointerEvents="auto";function b(){var E=a.getBoundingClientRect(),ee=x=="vert"?document.elementFromPoint(E.right-1,(E.top+E.bottom)/2):document.elementFromPoint((E.right+E.left)/2,E.bottom-1);ee!=a?a.style.pointerEvents="none":y.set(1e3,b)}y.set(1e3,b)},So.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var ta=function(){};ta.prototype.update=function(){return{bottom:0,right:0}},ta.prototype.setScrollLeft=function(){},ta.prototype.setScrollTop=function(){},ta.prototype.clear=function(){};function Io(a,y){y||(y=ea(a));var x=a.display.barWidth,b=a.display.barHeight;Ps(a,y);for(var E=0;E<4&&x!=a.display.barWidth||b!=a.display.barHeight;E++)x!=a.display.barWidth&&a.options.lineWrapping&&ka(a),Ps(a,ea(a)),x=a.display.barWidth,b=a.display.barHeight}function Ps(a,y){var x=a.display,b=x.scrollbars.update(y);x.sizer.style.paddingRight=(x.barWidth=b.right)+"px",x.sizer.style.paddingBottom=(x.barHeight=b.bottom)+"px",x.heightForcer.style.borderBottom=b.bottom+"px solid transparent",b.right&&b.bottom?(x.scrollbarFiller.style.display="block",x.scrollbarFiller.style.height=b.bottom+"px",x.scrollbarFiller.style.width=b.right+"px"):x.scrollbarFiller.style.display="",b.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(x.gutterFiller.style.display="block",x.gutterFiller.style.height=b.bottom+"px",x.gutterFiller.style.width=y.gutterWidth+"px"):x.gutterFiller.style.display=""}var Fs={native:So,null:ta};function Ms(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&rt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Fs[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),kt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,x){x=="horizontal"?Ao(a,y):$o(a,y)},a),a.display.scrollbars.addClass&&_e(a.display.wrapper,a.display.scrollbars.addClass)}var Yl=0;function Eo(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++Yl},$r(a.curOp)}function ko(a){var y=a.curOp;y&&jo(y,function(x){for(var b=0;b<x.ops.length;b++)x.ops[b].cm.curOp=null;jl(x)})}function jl(a){for(var y=a.ops,x=0;x<y.length;x++)Kl(y[x]);for(var b=0;b<y.length;b++)Xl(y[b]);for(var E=0;E<y.length;E++)Ql(y[E]);for(var ee=0;ee<y.length;ee++)Jl(y[ee]);for(var ie=0;ie<y.length;ie++)ql(y[ie])}function Kl(a){var y=a.cm,x=y.display;$l(y),a.updateMaxLine&&ai(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<x.viewFrom||a.scrollToPos.to.line>=x.viewTo)||x.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Da(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xl(a){a.updatedDisplay=a.mustUpdate&&$a(a.cm,a.update)}function Ql(a){var y=a.cm,x=y.display;a.updatedDisplay&&ka(y),a.barMeasure=ea(y),x.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ya(y,x.maxLine,x.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(x.scroller.clientWidth,x.sizer.offsetLeft+a.adjustWidthTo+Lr(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,x.sizer.offsetLeft+a.adjustWidthTo-Jr(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=x.input.prepareSelection())}function Jl(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Ao(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var x=a.focus&&a.focus==Pe();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&Io(y,a.barMeasure),a.updatedDisplay&&ns(y,a.barMeasure),a.selectionChanged&&Qa(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),x&&Es(a.cm)}function ql(a){var y=a.cm,x=y.display,b=y.doc;if(a.updatedDisplay&&Ts(y,a.update),x.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(x.wheelStartX=x.wheelStartY=null),a.scrollTop!=null&&Ds(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Ao(y,a.scrollLeft,!0,!0),a.scrollToPos){var E=Vl(y,gt(b,a.scrollToPos.from),gt(b,a.scrollToPos.to),a.scrollToPos.margin);Zl(y,E)}var ee=a.maybeHiddenMarkers,ie=a.maybeUnhiddenMarkers;if(ee)for(var se=0;se<ee.length;++se)ee[se].lines.length||an(ee[se],"hide");if(ie)for(var ue=0;ue<ie.length;++ue)ie[ue].lines.length&&an(ie[ue],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&an(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Pr(a,y){if(a.curOp)return y();Eo(a);try{return y()}finally{ko(a)}}function $i(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Eo(a);try{return y.apply(a,arguments)}finally{ko(a)}}}function gr(a){return function(){if(this.curOp)return a.apply(this,arguments);Eo(this);try{return a.apply(this,arguments)}finally{ko(this)}}}function er(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Eo(y);try{return a.apply(this,arguments)}finally{ko(y)}}}function na(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,un(_l,a))}function _l(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=zn(a,y.highlightFrontier),E=[];y.iter(b.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ee){if(b.line>=a.display.viewFrom){var ie=ee.styles,se=ee.text.length>a.options.maxHighlightLength?Tn(y.mode,b.state):null,ue=Cn(a,ee,b,!0);se&&(b.state=se),ee.styles=ue.styles;var ce=ee.styleClasses,ye=ue.classes;ye?ee.styleClasses=ye:ce&&(ee.styleClasses=null);for(var Ae=!ie||ie.length!=ee.styles.length||ce!=ye&&(!ce||!ye||ce.bgClass!=ye.bgClass||ce.textClass!=ye.textClass),Ze=0;!Ae&&Ze<ie.length;++Ze)Ae=ie[Ze]!=ee.styles[Ze];Ae&&E.push(b.line),ee.stateAfter=b.save(),b.nextLine()}else ee.text.length<=a.options.maxHighlightLength&&Qn(a,ee.text,b),ee.stateAfter=b.line%5==0?b.save():null,b.nextLine();if(+new Date>x)return na(a,a.options.workDelay),!0}),y.highlightFrontier=b.line,y.modeFrontier=Math.max(y.modeFrontier,b.line),E.length&&Pr(a,function(){for(var ee=0;ee<E.length;ee++)co(a,E[ee],"text")})}}var Da=function(a,y,x){var b=a.display;this.viewport=y,this.visible=La(b,a.doc,y),this.editorIsHidden=!b.wrapper.offsetWidth,this.wrapperHeight=b.wrapper.clientHeight,this.wrapperWidth=b.wrapper.clientWidth,this.oldDisplayWidth=Jr(a),this.force=x,this.dims=uo(a),this.events=[]};Da.prototype.signal=function(a,y){zt(a,y)&&this.events.push(arguments)},Da.prototype.finish=function(){for(var a=0;a<this.events.length;a++)an.apply(null,this.events[a])};function $l(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=Lr(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Lr(a)+"px",y.scrollbarsClipped=!0)}function eu(a){if(a.hasFocus())return null;var y=Pe();if(!y||!Ye(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&Ye(a.display.lineDiv,b.anchorNode)&&(x.anchorNode=b.anchorNode,x.anchorOffset=b.anchorOffset,x.focusNode=b.focusNode,x.focusOffset=b.focusOffset)}return x}function tu(a){if(!(!a||!a.activeElt||a.activeElt==Pe())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ye(document.body,a.anchorNode)&&Ye(document.body,a.focusNode))){var y=window.getSelection(),x=document.createRange();x.setEnd(a.anchorNode,a.anchorOffset),x.collapse(!1),y.removeAllRanges(),y.addRange(x),y.extend(a.focusNode,a.focusOffset)}}function $a(a,y){var x=a.display,b=a.doc;if(y.editorIsHidden)return ho(a),!1;if(!y.force&&y.visible.from>=x.viewFrom&&y.visible.to<=x.viewTo&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo)&&x.renderedView==x.view&&xs(a)==0)return!1;Os(a)&&(ho(a),y.dims=uo(a));var E=b.first+b.size,ee=Math.max(y.visible.from-a.options.viewportMargin,b.first),ie=Math.min(E,y.visible.to+a.options.viewportMargin);x.viewFrom<ee&&ee-x.viewFrom<20&&(ee=Math.max(b.first,x.viewFrom)),x.viewTo>ie&&x.viewTo-ie<20&&(ie=Math.min(E,x.viewTo)),Gn&&(ee=vn(a.doc,ee),ie=wn(a.doc,ie));var se=ee!=x.viewFrom||ie!=x.viewTo||x.lastWrapHeight!=y.wrapperHeight||x.lastWrapWidth!=y.wrapperWidth;zl(a,ee,ie),x.viewOffset=Zn(qe(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var ue=xs(a);if(!se&&ue==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var ce=eu(a);return ue>4&&(x.lineDiv.style.display="none"),nu(a,x.updateLineNumbers,y.dims),ue>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,tu(ce),At(x.cursorDiv),At(x.selectionDiv),x.gutters.style.height=x.sizer.style.minHeight=0,se&&(x.lastWrapHeight=y.wrapperHeight,x.lastWrapWidth=y.wrapperWidth,na(a,400)),x.updateLineNumbers=null,!0}function Ts(a,y){for(var x=y.viewport,b=!0;;b=!1){if(!b||!a.options.lineWrapping||y.oldDisplayWidth==Jr(a)){if(x&&x.top!=null&&(x={top:Math.min(a.doc.height+Wr(a.display)-no(a),x.top)}),y.visible=La(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=La(a.display,a.doc,x));if(!$a(a,y))break;ka(a);var E=ea(a);qo(a),Io(a,E),ns(a,E),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function es(a,y){var x=new Da(a,y);if($a(a,x)){ka(a),Ts(a,x);var b=ea(a);qo(a),Io(a,b),ns(a,b),x.finish()}}function nu(a,y,x){var b=a.display,E=a.options.lineNumbers,ee=b.lineDiv,ie=ee.firstChild;function se(vt){var Et=vt.nextSibling;return Ie&&we&&a.display.currentWheelTarget==vt?vt.style.display="none":vt.parentNode.removeChild(vt),Et}for(var ue=b.view,ce=b.viewFrom,ye=0;ye<ue.length;ye++){var Ae=ue[ye];if(!Ae.hidden)if(!Ae.node||Ae.node.parentNode!=ee){var Ze=kn(a,Ae,ce,x);ee.insertBefore(Ze,ie)}else{for(;ie!=Ae.node;)ie=se(ie);var We=E&&y!=null&&y<=ce&&Ae.lineNumber;Ae.changes&&(ct(Ae.changes,"gutter")>-1&&(We=!1),ao(a,Ae,ce,x)),We&&(At(Ae.lineNumber),Ae.lineNumber.appendChild(document.createTextNode(ht(a.options,ce)))),ie=Ae.node.nextSibling}ce+=Ae.size}for(;ie;)ie=se(ie)}function ts(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ns(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+Lr(a)+"px"}function Is(a){var y=a.display,x=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var b=Ka(y)-y.scroller.scrollLeft+a.doc.scrollLeft,E=y.gutters.offsetWidth,ee=b+"px",ie=0;ie<x.length;ie++)if(!x[ie].hidden){a.options.fixedGutter&&(x[ie].gutter&&(x[ie].gutter.style.left=ee),x[ie].gutterBackground&&(x[ie].gutterBackground.style.left=ee));var se=x[ie].alignable;if(se)for(var ue=0;ue<se.length;ue++)se[ue].style.left=ee}a.options.fixedGutter&&(y.gutters.style.left=b+E+"px")}}function Os(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=ht(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var E=b.measure.appendChild(Fe("div",[Fe("div",x)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ee=E.firstChild.offsetWidth,ie=E.offsetWidth-ee;return b.lineGutter.style.width="",b.lineNumInnerWidth=Math.max(ee,b.lineGutter.offsetWidth-ie)+1,b.lineNumWidth=b.lineNumInnerWidth+ie,b.lineNumChars=b.lineNumInnerWidth?x.length:-1,b.lineGutter.style.width=b.lineNumWidth+"px",ts(a.display),!0}return!1}function is(a,y){for(var x=[],b=!1,E=0;E<a.length;E++){var ee=a[E],ie=null;if(typeof ee!="string"&&(ie=ee.style,ee=ee.className),ee=="CodeMirror-linenumbers")if(y)b=!0;else continue;x.push({className:ee,style:ie})}return y&&!b&&x.push({className:"CodeMirror-linenumbers",style:null}),x}function Ws(a){var y=a.gutters,x=a.gutterSpecs;At(y),a.lineGutter=null;for(var b=0;b<x.length;++b){var E=x[b],ee=E.className,ie=E.style,se=y.appendChild(Fe("div",null,"CodeMirror-gutter "+ee));ie&&(se.style.cssText=ie),ee=="CodeMirror-linenumbers"&&(a.lineGutter=se,se.style.width=(a.lineNumWidth||1)+"px")}y.style.display=x.length?"":"none",ts(a)}function ia(a){Ws(a.display),Cr(a),Is(a)}function iu(a,y,x,b){var E=this;this.input=x,E.scrollbarFiller=Fe("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=Fe("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=ut("div",null,"CodeMirror-code"),E.selectionDiv=Fe("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=Fe("div",null,"CodeMirror-cursors"),E.measure=Fe("div",null,"CodeMirror-measure"),E.lineMeasure=Fe("div",null,"CodeMirror-measure"),E.lineSpace=ut("div",[E.measure,E.lineMeasure,E.selectionDiv,E.cursorDiv,E.lineDiv],null,"position: relative; outline: none");var ee=ut("div",[E.lineSpace],"CodeMirror-lines");E.mover=Fe("div",[ee],null,"position: relative"),E.sizer=Fe("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=Fe("div",null,null,"position: absolute; height: "+Yt+"px; width: 1px;"),E.gutters=Fe("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=Fe("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=Fe("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),ve&&me<8&&(E.gutters.style.zIndex=-1,E.scroller.style.paddingRight=0),!Ie&&!(ae&&Ee)&&(E.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(E.wrapper):a(E.wrapper)),E.viewFrom=E.viewTo=y.first,E.reportedViewFrom=E.reportedViewTo=y.first,E.view=[],E.renderedView=null,E.externalMeasured=null,E.viewOffset=0,E.lastWrapHeight=E.lastWrapWidth=0,E.updateLineNumbers=null,E.nativeBarWidth=E.barHeight=E.barWidth=0,E.scrollbarsClipped=!1,E.lineNumWidth=E.lineNumInnerWidth=E.lineNumChars=null,E.alignWidgets=!1,E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.maxLine=null,E.maxLineLength=0,E.maxLineChanged=!1,E.wheelDX=E.wheelDY=E.wheelStartX=E.wheelStartY=null,E.shift=!1,E.selForContextMenu=null,E.activeTouch=null,E.gutterSpecs=is(b.gutters,b.lineNumbers),Ws(E),x.init(E)}var Pa=0,Ir=null;ve?Ir=-.53:ae?Ir=15:Ce?Ir=-.7:Je&&(Ir=-1/3);function Rs(a){var y=a.wheelDeltaX,x=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),x==null&&a.detail&&a.axis==a.VERTICAL_AXIS?x=a.detail:x==null&&(x=a.wheelDelta),{x:y,y:x}}function ru(a){var y=Rs(a);return y.x*=Ir,y.y*=Ir,y}function Ns(a,y){var x=Rs(y),b=x.x,E=x.y,ee=a.display,ie=ee.scroller,se=ie.scrollWidth>ie.clientWidth,ue=ie.scrollHeight>ie.clientHeight;if(b&&se||E&&ue){if(E&&we&&Ie){e:for(var ce=y.target,ye=ee.view;ce!=ie;ce=ce.parentNode)for(var Ae=0;Ae<ye.length;Ae++)if(ye[Ae].node==ce){a.display.currentWheelTarget=ce;break e}}if(b&&!ae&&!de&&Ir!=null){E&&ue&&$o(a,Math.max(0,ie.scrollTop+E*Ir)),Ao(a,Math.max(0,ie.scrollLeft+b*Ir)),(!E||E&&ue)&&sn(y),ee.wheelStartX=null;return}if(E&&Ir!=null){var Ze=E*Ir,We=a.doc.scrollTop,vt=We+ee.wrapper.clientHeight;Ze<0?We=Math.max(0,We+Ze-50):vt=Math.min(a.doc.height,vt+Ze+50),es(a,{top:We,bottom:vt})}Pa<20&&(ee.wheelStartX==null?(ee.wheelStartX=ie.scrollLeft,ee.wheelStartY=ie.scrollTop,ee.wheelDX=b,ee.wheelDY=E,setTimeout(function(){if(ee.wheelStartX!=null){var Et=ie.scrollLeft-ee.wheelStartX,Ot=ie.scrollTop-ee.wheelStartY,Jt=Ot&&ee.wheelDY&&Ot/ee.wheelDY||Et&&ee.wheelDX&&Et/ee.wheelDX;ee.wheelStartX=ee.wheelStartY=null,Jt&&(Ir=(Ir*Pa+Jt)/(Pa+1),++Pa)}},200)):(ee.wheelDX+=b,ee.wheelDY+=E))}}var Or=function(a,y){this.ranges=a,this.primIndex=y};Or.prototype.primary=function(){return this.ranges[this.primIndex]},Or.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var x=this.ranges[y],b=a.ranges[y];if(!Ut(x.anchor,b.anchor)||!Ut(x.head,b.head))return!1}return!0},Or.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new mi(Qt(this.ranges[y].anchor),Qt(this.ranges[y].head));return new Or(a,this.primIndex)},Or.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Or.prototype.contains=function(a,y){y||(y=a);for(var x=0;x<this.ranges.length;x++){var b=this.ranges[x];if(dt(y,b.from())>=0&&dt(a,b.to())<=0)return x}return-1};var mi=function(a,y){this.anchor=a,this.head=y};mi.prototype.from=function(){return Ne(this.anchor,this.head)},mi.prototype.to=function(){return nn(this.anchor,this.head)},mi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function jr(a,y,x){var b=a&&a.options.selectionsMayTouch,E=y[x];y.sort(function(Ze,We){return dt(Ze.from(),We.from())}),x=ct(y,E);for(var ee=1;ee<y.length;ee++){var ie=y[ee],se=y[ee-1],ue=dt(se.to(),ie.from());if(b&&!ie.empty()?ue>0:ue>=0){var ce=Ne(se.from(),ie.from()),ye=nn(se.to(),ie.to()),Ae=se.empty()?ie.from()==ie.head:se.from()==se.head;ee<=x&&--x,y.splice(--ee,2,new mi(Ae?ye:ce,Ae?ce:ye))}}return new Or(y,x)}function fo(a,y){return new Or([new mi(a,y||a)],0)}function po(a){return a.text?Te(a.from.line+a.text.length-1,xe(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function zs(a,y){if(dt(a,y.from)<0)return a;if(dt(a,y.to)<=0)return po(y);var x=a.line+y.text.length-(y.to.line-y.from.line)-1,b=a.ch;return a.line==y.to.line&&(b+=po(y).ch-y.to.ch),Te(x,b)}function rs(a,y){for(var x=[],b=0;b<a.sel.ranges.length;b++){var E=a.sel.ranges[b];x.push(new mi(zs(E.anchor,y),zs(E.head,y)))}return jr(a.cm,x,a.sel.primIndex)}function Hs(a,y,x){return a.line==y.line?Te(x.line,a.ch-y.ch+x.ch):Te(x.line+(a.line-y.line),a.ch)}function ou(a,y,x){for(var b=[],E=Te(a.first,0),ee=E,ie=0;ie<y.length;ie++){var se=y[ie],ue=Hs(se.from,E,ee),ce=Hs(po(se),E,ee);if(E=se.to,ee=ce,x=="around"){var ye=a.sel.ranges[ie],Ae=dt(ye.head,ye.anchor)<0;b[ie]=new mi(Ae?ce:ue,Ae?ue:ce)}else b[ie]=new mi(ue,ue)}return new Or(b,a.sel.primIndex)}function os(a){a.doc.mode=ni(a.options,a.doc.modeOption),ra(a)}function ra(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,na(a,100),a.state.modeGen++,a.curOp&&Cr(a)}function Zs(a,y){return y.from.ch==0&&y.to.ch==0&&xe(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function as(a,y,x,b){function E(on){return x?x[on]:null}function ee(on,qt,dn){kr(on,qt,dn,b),Hi(on,"change",on,y)}function ie(on,qt){for(var dn=[],An=on;An<qt;++An)dn.push(new Oi(ce[An],E(An),b));return dn}var se=y.from,ue=y.to,ce=y.text,ye=qe(a,se.line),Ae=qe(a,ue.line),Ze=xe(ce),We=E(ce.length-1),vt=ue.line-se.line;if(y.full)a.insert(0,ie(0,ce.length)),a.remove(ce.length,a.size-ce.length);else if(Zs(a,y)){var Et=ie(0,ce.length-1);ee(Ae,Ae.text,We),vt&&a.remove(se.line,vt),Et.length&&a.insert(se.line,Et)}else if(ye==Ae)if(ce.length==1)ee(ye,ye.text.slice(0,se.ch)+Ze+ye.text.slice(ue.ch),We);else{var Ot=ie(1,ce.length-1);Ot.push(new Oi(Ze+ye.text.slice(ue.ch),We,b)),ee(ye,ye.text.slice(0,se.ch)+ce[0],E(0)),a.insert(se.line+1,Ot)}else if(ce.length==1)ee(ye,ye.text.slice(0,se.ch)+ce[0]+Ae.text.slice(ue.ch),E(0)),a.remove(se.line+1,vt);else{ee(ye,ye.text.slice(0,se.ch)+ce[0],E(0)),ee(Ae,Ze+Ae.text.slice(ue.ch),We);var Jt=ie(1,ce.length-1);vt>1&&a.remove(se.line+1,vt-1),a.insert(se.line+1,Jt)}Hi(a,"change",a,y)}function vo(a,y,x){function b(E,ee,ie){if(E.linked)for(var se=0;se<E.linked.length;++se){var ue=E.linked[se];if(ue.doc!=ee){var ce=ie&&ue.sharedHist;x&&!ce||(y(ue.doc,ce),b(ue.doc,E,ce))}}}b(a,null,!0)}function Vs(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Xa(a),os(a),Us(a),a.options.lineWrapping||ai(a),a.options.mode=y.modeOption,Cr(a)}function Us(a){(a.doc.direction=="rtl"?_e:rt)(a.display.lineDiv,"CodeMirror-rtl")}function au(a){Pr(a,function(){Us(a),Cr(a)})}function Fa(a){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=a||1}function ss(a,y){var x={from:Qt(y.from),to:po(y),text:$t(a,y.from,y.to)};return js(a,x,y.from.line,y.to.line+1),vo(a,function(b){return js(b,x,y.from.line,y.to.line+1)},!0),x}function Gs(a){for(;a.length;){var y=xe(a);if(y.ranges)a.pop();else break}}function su(a,y){if(y)return Gs(a.done),xe(a.done);if(a.done.length&&!xe(a.done).ranges)return xe(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),xe(a.done)}function Ys(a,y,x,b){var E=a.history;E.undone.length=0;var ee=+new Date,ie,se;if((E.lastOp==b||E.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&E.lastModTime>ee-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(ie=su(E,E.lastOp==b)))se=xe(ie.changes),dt(y.from,y.to)==0&&dt(y.from,se.to)==0?se.to=po(y):ie.changes.push(ss(a,y));else{var ue=xe(E.done);for((!ue||!ue.ranges)&&Ma(a.sel,E.done),ie={changes:[ss(a,y)],generation:E.generation},E.done.push(ie);E.done.length>E.undoDepth;)E.done.shift(),E.done[0].ranges||E.done.shift()}E.done.push(x),E.generation=++E.maxGeneration,E.lastModTime=E.lastSelTime=ee,E.lastOp=E.lastSelOp=b,E.lastOrigin=E.lastSelOrigin=y.origin,se||an(a,"historyAdded")}function lu(a,y,x,b){var E=y.charAt(0);return E=="*"||E=="+"&&x.ranges.length==b.ranges.length&&x.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uu(a,y,x,b){var E=a.history,ee=b&&b.origin;x==E.lastSelOp||ee&&E.lastSelOrigin==ee&&(E.lastModTime==E.lastSelTime&&E.lastOrigin==ee||lu(a,ee,xe(E.done),y))?E.done[E.done.length-1]=y:Ma(y,E.done),E.lastSelTime=+new Date,E.lastSelOrigin=ee,E.lastSelOp=x,b&&b.clearRedo!==!1&&Gs(E.undone)}function Ma(a,y){var x=xe(y);x&&x.ranges&&x.equals(a)||y.push(a)}function js(a,y,x,b){var E=y["spans_"+a.id],ee=0;a.iter(Math.max(a.first,x),Math.min(a.first+a.size,b),function(ie){ie.markedSpans&&((E||(E=y["spans_"+a.id]={}))[ee]=ie.markedSpans),++ee})}function cu(a){if(!a)return null;for(var y,x=0;x<a.length;++x)a[x].marker.explicitlyCleared?y||(y=a.slice(0,x)):y&&y.push(a[x]);return y?y.length?y:null:a}function hu(a,y){var x=y["spans_"+a.id];if(!x)return null;for(var b=[],E=0;E<y.text.length;++E)b.push(cu(x[E]));return b}function Ks(a,y){var x=hu(a,y),b=oi(a,y);if(!x)return b;if(!b)return x;for(var E=0;E<x.length;++E){var ee=x[E],ie=b[E];if(ee&&ie)e:for(var se=0;se<ie.length;++se){for(var ue=ie[se],ce=0;ce<ee.length;++ce)if(ee[ce].marker==ue.marker)continue e;ee.push(ue)}else ie&&(x[E]=ie)}return x}function Oo(a,y,x){for(var b=[],E=0;E<a.length;++E){var ee=a[E];if(ee.ranges){b.push(x?Or.prototype.deepCopy.call(ee):ee);continue}var ie=ee.changes,se=[];b.push({changes:se});for(var ue=0;ue<ie.length;++ue){var ce=ie[ue],ye=void 0;if(se.push({from:ce.from,to:ce.to,text:ce.text}),y)for(var Ae in ce)(ye=Ae.match(/^spans_(\d+)$/))&&ct(y,Number(ye[1]))>-1&&(xe(se)[Ae]=ce[Ae],delete ce[Ae])}}return b}function ls(a,y,x,b){if(b){var E=a.anchor;if(x){var ee=dt(y,E)<0;ee!=dt(x,E)<0?(E=y,y=x):ee!=dt(y,x)<0&&(y=x)}return new mi(E,y)}else return new mi(x||y,y)}function Ta(a,y,x,b,E){E==null&&(E=a.cm&&(a.cm.display.shift||a.extend)),hr(a,new Or([ls(a.sel.primary(),y,x,E)],0),b)}function Xs(a,y,x){for(var b=[],E=a.cm&&(a.cm.display.shift||a.extend),ee=0;ee<a.sel.ranges.length;ee++)b[ee]=ls(a.sel.ranges[ee],y[ee],null,E);var ie=jr(a.cm,b,a.sel.primIndex);hr(a,ie,x)}function us(a,y,x,b){var E=a.sel.ranges.slice(0);E[y]=x,hr(a,jr(a.cm,E,a.sel.primIndex),b)}function Qs(a,y,x,b){hr(a,fo(y,x),b)}function fu(a,y,x){var b={ranges:y.ranges,update:function(E){this.ranges=[];for(var ee=0;ee<E.length;ee++)this.ranges[ee]=new mi(gt(a,E[ee].anchor),gt(a,E[ee].head))},origin:x&&x.origin};return an(a,"beforeSelectionChange",a,b),a.cm&&an(a.cm,"beforeSelectionChange",a.cm,b),b.ranges!=y.ranges?jr(a.cm,b.ranges,b.ranges.length-1):y}function Js(a,y,x){var b=a.history.done,E=xe(b);E&&E.ranges?(b[b.length-1]=y,Ia(a,y,x)):hr(a,y,x)}function hr(a,y,x){Ia(a,y,x),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function Ia(a,y,x){(zt(a,"beforeSelectionChange")||a.cm&&zt(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,x));var b=x&&x.bias||(dt(y.primary().head,a.sel.primary().head)<0?-1:1);qs(a,$s(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&To(a.cm)}function qs(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,cn(a.cm)),Hi(a,"cursorActivity",a))}function _s(a){qs(a,$s(a,a.sel,null,!1))}function $s(a,y,x,b){for(var E,ee=0;ee<y.ranges.length;ee++){var ie=y.ranges[ee],se=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ee],ue=Oa(a,ie.anchor,se&&se.anchor,x,b),ce=Oa(a,ie.head,se&&se.head,x,b);(E||ue!=ie.anchor||ce!=ie.head)&&(E||(E=y.ranges.slice(0,ee)),E[ee]=new mi(ue,ce))}return E?jr(a.cm,E,y.primIndex):y}function Wo(a,y,x,b,E){var ee=qe(a,y.line);if(ee.markedSpans)for(var ie=0;ie<ee.markedSpans.length;++ie){var se=ee.markedSpans[ie],ue=se.marker,ce="selectLeft"in ue?!ue.selectLeft:ue.inclusiveLeft,ye="selectRight"in ue?!ue.selectRight:ue.inclusiveRight;if((se.from==null||(ce?se.from<=y.ch:se.from<y.ch))&&(se.to==null||(ye?se.to>=y.ch:se.to>y.ch))){if(E&&(an(ue,"beforeCursorEnter"),ue.explicitlyCleared))if(ee.markedSpans){--ie;continue}else break;if(!ue.atomic)continue;if(x){var Ae=ue.find(b<0?1:-1),Ze=void 0;if((b<0?ye:ce)&&(Ae=el(a,Ae,-b,Ae&&Ae.line==y.line?ee:null)),Ae&&Ae.line==y.line&&(Ze=dt(Ae,x))&&(b<0?Ze<0:Ze>0))return Wo(a,Ae,y,b,E)}var We=ue.find(b<0?-1:1);return(b<0?ce:ye)&&(We=el(a,We,b,We.line==y.line?ee:null)),We?Wo(a,We,y,b,E):null}}return y}function Oa(a,y,x,b,E){var ee=b||1,ie=Wo(a,y,x,ee,E)||!E&&Wo(a,y,x,ee,!0)||Wo(a,y,x,-ee,E)||!E&&Wo(a,y,x,-ee,!0);return ie||(a.cantEdit=!0,Te(a.first,0))}function el(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?gt(a,Te(y.line-1)):null:x>0&&y.ch==(b||qe(a,y.line)).text.length?y.line<a.first+a.size-1?Te(y.line+1,0):null:new Te(y.line,y.ch+x)}function tl(a){a.setSelection(Te(a.firstLine(),0),Te(a.lastLine()),Me)}function nl(a,y,x){var b={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return b.canceled=!0}};return x&&(b.update=function(E,ee,ie,se){E&&(b.from=gt(a,E)),ee&&(b.to=gt(a,ee)),ie&&(b.text=ie),se!==void 0&&(b.origin=se)}),an(a,"beforeChange",a,b),a.cm&&an(a.cm,"beforeChange",a.cm,b),b.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:b.from,to:b.to,text:b.text,origin:b.origin}}function Ro(a,y,x){if(a.cm){if(!a.cm.curOp)return $i(a.cm,Ro)(a,y,x);if(a.cm.state.suppressEdits)return}if(!((zt(a,"beforeChange")||a.cm&&zt(a.cm,"beforeChange"))&&(y=nl(a,y,!0),!y))){var b=fi&&!x&&Di(a,y.from,y.to);if(b)for(var E=b.length-1;E>=0;--E)il(a,{from:b[E].from,to:b[E].to,text:E?[""]:y.text,origin:y.origin});else il(a,y)}}function il(a,y){if(!(y.text.length==1&&y.text[0]==""&&dt(y.from,y.to)==0)){var x=rs(a,y);Ys(a,y,x,a.cm?a.cm.curOp.id:NaN),oa(a,y,x,oi(a,y));var b=[];vo(a,function(E,ee){!ee&&ct(b,E.history)==-1&&(sl(E.history,y),b.push(E.history)),oa(E,y,null,oi(E,y))})}}function Wa(a,y,x){var b=a.cm&&a.cm.state.suppressEdits;if(!(b&&!x)){for(var E=a.history,ee,ie=a.sel,se=y=="undo"?E.done:E.undone,ue=y=="undo"?E.undone:E.done,ce=0;ce<se.length&&(ee=se[ce],!(x?ee.ranges&&!ee.equals(a.sel):!ee.ranges));ce++);if(ce!=se.length){for(E.lastOrigin=E.lastSelOrigin=null;;)if(ee=se.pop(),ee.ranges){if(Ma(ee,ue),x&&!ee.equals(a.sel)){hr(a,ee,{clearRedo:!1});return}ie=ee}else if(b){se.push(ee);return}else break;var ye=[];Ma(ie,ue),ue.push({changes:ye,generation:E.generation}),E.generation=ee.generation||++E.maxGeneration;for(var Ae=zt(a,"beforeChange")||a.cm&&zt(a.cm,"beforeChange"),Ze=function(Et){var Ot=ee.changes[Et];if(Ot.origin=y,Ae&&!nl(a,Ot,!1))return se.length=0,{};ye.push(ss(a,Ot));var Jt=Et?rs(a,Ot):xe(se);oa(a,Ot,Jt,Ks(a,Ot)),!Et&&a.cm&&a.cm.scrollIntoView({from:Ot.from,to:po(Ot)});var on=[];vo(a,function(qt,dn){!dn&&ct(on,qt.history)==-1&&(sl(qt.history,Ot),on.push(qt.history)),oa(qt,Ot,null,Ks(qt,Ot))})},We=ee.changes.length-1;We>=0;--We){var vt=Ze(We);if(vt)return vt.v}}}}function rl(a,y){if(y!=0&&(a.first+=y,a.sel=new Or(lt(a.sel.ranges,function(E){return new mi(Te(E.anchor.line+y,E.anchor.ch),Te(E.head.line+y,E.head.ch))}),a.sel.primIndex),a.cm)){Cr(a.cm,a.first,a.first-y,y);for(var x=a.cm.display,b=x.viewFrom;b<x.viewTo;b++)co(a.cm,b,"gutter")}}function oa(a,y,x,b){if(a.cm&&!a.cm.curOp)return $i(a.cm,oa)(a,y,x,b);if(y.to.line<a.first){rl(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var E=y.text.length-1-(a.first-y.from.line);rl(a,E),y={from:Te(a.first,0),to:Te(y.to.line+E,y.to.ch),text:[xe(y.text)],origin:y.origin}}var ee=a.lastLine();y.to.line>ee&&(y={from:y.from,to:Te(ee,qe(a,ee).text.length),text:[y.text[0]],origin:y.origin}),y.removed=$t(a,y.from,y.to),x||(x=rs(a,y)),a.cm?du(a.cm,y,b):as(a,y,b),Ia(a,x,Me),a.cantEdit&&Oa(a,Te(a.firstLine(),0))&&(a.cantEdit=!1)}}function du(a,y,x){var b=a.doc,E=a.display,ee=y.from,ie=y.to,se=!1,ue=ee.line;a.options.lineWrapping||(ue=ke($e(qe(b,ee.line))),b.iter(ue,ie.line+1,function(We){if(We==E.maxLine)return se=!0,!0})),b.sel.contains(y.from,y.to)>-1&&cn(a),as(b,y,x,Cs(a)),a.options.lineWrapping||(b.iter(ue,ee.line+y.text.length,function(We){var vt=vi(We);vt>E.maxLineLength&&(E.maxLine=We,E.maxLineLength=vt,E.maxLineChanged=!0,se=!1)}),se&&(a.curOp.updateMaxLine=!0)),Ai(b,ee.line),na(a,400);var ce=y.text.length-(ie.line-ee.line)-1;y.full?Cr(a):ee.line==ie.line&&y.text.length==1&&!Zs(a.doc,y)?co(a,ee.line,"text"):Cr(a,ee.line,ie.line+1,ce);var ye=zt(a,"changes"),Ae=zt(a,"change");if(Ae||ye){var Ze={from:ee,to:ie,text:y.text,removed:y.removed,origin:y.origin};Ae&&Hi(a,"change",a,Ze),ye&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Ze)}a.display.selForContextMenu=null}function No(a,y,x,b,E){var ee;b||(b=x),dt(b,x)<0&&(ee=[b,x],x=ee[0],b=ee[1]),typeof y=="string"&&(y=a.splitLines(y)),Ro(a,{from:x,to:b,text:y,origin:E})}function ol(a,y,x,b){x<a.line?a.line+=b:y<a.line&&(a.line=y,a.ch=0)}function al(a,y,x,b){for(var E=0;E<a.length;++E){var ee=a[E],ie=!0;if(ee.ranges){ee.copied||(ee=a[E]=ee.deepCopy(),ee.copied=!0);for(var se=0;se<ee.ranges.length;se++)ol(ee.ranges[se].anchor,y,x,b),ol(ee.ranges[se].head,y,x,b);continue}for(var ue=0;ue<ee.changes.length;++ue){var ce=ee.changes[ue];if(x<ce.from.line)ce.from=Te(ce.from.line+b,ce.from.ch),ce.to=Te(ce.to.line+b,ce.to.ch);else if(y<=ce.to.line){ie=!1;break}}ie||(a.splice(0,E+1),E=0)}}function sl(a,y){var x=y.from.line,b=y.to.line,E=y.text.length-(b-x)-1;al(a.done,x,b,E),al(a.undone,x,b,E)}function aa(a,y,x,b){var E=y,ee=y;return typeof y=="number"?ee=qe(a,Gt(a,y)):E=ke(y),E==null?null:(b(ee,E)&&a.cm&&co(a.cm,E,x),ee)}function sa(a){this.lines=a,this.parent=null;for(var y=0,x=0;x<a.length;++x)a[x].parent=this,y+=a[x].height;this.height=y}sa.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var x=a,b=a+y;x<b;++x){var E=this.lines[x];this.height-=E.height,rr(E),Hi(E,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,x){this.height+=x,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var b=0;b<y.length;++b)y[b].parent=this},iterN:function(a,y,x){for(var b=a+y;a<b;++a)if(x(this.lines[a]))return!0}};function la(a){this.children=a;for(var y=0,x=0,b=0;b<a.length;++b){var E=a[b];y+=E.chunkSize(),x+=E.height,E.parent=this}this.size=y,this.height=x,this.parent=null}la.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var x=0;x<this.children.length;++x){var b=this.children[x],E=b.chunkSize();if(a<E){var ee=Math.min(y,E-a),ie=b.height;if(b.removeInner(a,ee),this.height-=ie-b.height,E==ee&&(this.children.splice(x--,1),b.parent=null),(y-=ee)==0)break;a=0}else a-=E}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof sa))){var se=[];this.collapse(se),this.children=[new sa(se)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,x){this.size+=y.length,this.height+=x;for(var b=0;b<this.children.length;++b){var E=this.children[b],ee=E.chunkSize();if(a<=ee){if(E.insertInner(a,y,x),E.lines&&E.lines.length>50){for(var ie=E.lines.length%25+25,se=ie;se<E.lines.length;){var ue=new sa(E.lines.slice(se,se+=25));E.height-=ue.height,this.children.splice(++b,0,ue),ue.parent=this}E.lines=E.lines.slice(0,ie),this.maybeSpill()}break}a-=ee}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),x=new la(y);if(a.parent){a.size-=x.size,a.height-=x.height;var E=ct(a.parent.children,a);a.parent.children.splice(E+1,0,x)}else{var b=new la(a.children);b.parent=a,a.children=[b,x],a=b}x.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,x){for(var b=0;b<this.children.length;++b){var E=this.children[b],ee=E.chunkSize();if(a<ee){var ie=Math.min(y,ee-a);if(E.iterN(a,ie,x))return!0;if((y-=ie)==0)break;a=0}else a-=ee}}};var ua=function(a,y,x){if(x)for(var b in x)x.hasOwnProperty(b)&&(this[b]=x[b]);this.doc=a,this.node=y};ua.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,x=this.line,b=ke(x);if(!(b==null||!y)){for(var E=0;E<y.length;++E)y[E]==this&&y.splice(E--,1);y.length||(x.widgets=null);var ee=vr(this);Wn(x,Math.max(0,x.height-ee)),a&&(Pr(a,function(){ll(a,x,-ee),co(a,b,"widget")}),Hi(a,"lineWidgetCleared",a,this,b))}},ua.prototype.changed=function(){var a=this,y=this.height,x=this.doc.cm,b=this.line;this.height=null;var E=vr(this)-y;E&&(On(this.doc,b)||Wn(b,b.height+E),x&&Pr(x,function(){x.curOp.forceUpdate=!0,ll(x,b,E),Hi(x,"lineWidgetChanged",x,a,ke(b))}))},jt(ua);function ll(a,y,x){Zn(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&_a(a,x)}function pu(a,y,x,b){var E=new ua(a,x,b),ee=a.cm;return ee&&E.noHScroll&&(ee.display.alignWidgets=!0),aa(a,y,"widget",function(ie){var se=ie.widgets||(ie.widgets=[]);if(E.insertAt==null?se.push(E):se.splice(Math.min(se.length-1,Math.max(0,E.insertAt)),0,E),E.line=ie,ee&&!On(a,ie)){var ue=Zn(ie)<a.scrollTop;Wn(ie,ie.height+vr(E)),ue&&_a(ee,E.height),ee.curOp.forceUpdate=!0}return!0}),ee&&Hi(ee,"lineWidgetAdded",ee,E,typeof y=="number"?y:ke(y)),E}var ul=0,go=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++ul};go.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Eo(a),zt(this,"clear")){var x=this.find();x&&Hi(this,"clear",x.from,x.to)}for(var b=null,E=null,ee=0;ee<this.lines.length;++ee){var ie=this.lines[ee],se=di(ie.markedSpans,this);a&&!this.collapsed?co(a,ke(ie),"text"):a&&(se.to!=null&&(E=ke(ie)),se.from!=null&&(b=ke(ie))),ie.markedSpans=Bi(ie.markedSpans,se),se.from==null&&this.collapsed&&!On(this.doc,ie)&&a&&Wn(ie,Dr(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ue=0;ue<this.lines.length;++ue){var ce=$e(this.lines[ue]),ye=vi(ce);ye>a.display.maxLineLength&&(a.display.maxLine=ce,a.display.maxLineLength=ye,a.display.maxLineChanged=!0)}b!=null&&a&&this.collapsed&&Cr(a,b,E+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&_s(a.doc)),a&&Hi(a,"markerCleared",a,this,b,E),y&&ko(a),this.parent&&this.parent.clear()}},go.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var x,b,E=0;E<this.lines.length;++E){var ee=this.lines[E],ie=di(ee.markedSpans,this);if(ie.from!=null&&(x=Te(y?ee:ke(ee),ie.from),a==-1))return x;if(ie.to!=null&&(b=Te(y?ee:ke(ee),ie.to),a==1))return b}return x&&{from:x,to:b}},go.prototype.changed=function(){var a=this,y=this.find(-1,!0),x=this,b=this.doc.cm;!y||!b||Pr(b,function(){var E=y.line,ee=ke(y.line),ie=qr(b,ee);if(ie&&(Ko(ie),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!On(x.doc,E)&&x.height!=null){var se=x.height;x.height=null;var ue=vr(x)-se;ue&&Wn(E,E.height+ue)}Hi(b,"markerChanged",b,a)})},go.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||ct(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},go.prototype.detachLine=function(a){if(this.lines.splice(ct(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},jt(go);function zo(a,y,x,b,E){if(b&&b.shared)return vu(a,y,x,b,E);if(a.cm&&!a.cm.curOp)return $i(a.cm,zo)(a,y,x,b,E);var ee=new go(a,E),ie=dt(y,x);if(b&&Rt(b,ee,!1),ie>0||ie==0&&ee.clearWhenEmpty!==!1)return ee;if(ee.replacedWith&&(ee.collapsed=!0,ee.widgetNode=ut("span",[ee.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||ee.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(ee.widgetNode.insertLeft=!0)),ee.collapsed){if(pt(a,y.line,y,x,ee)||y.line!=x.line&&pt(a,x.line,y,x,ee))throw new Error("Inserting collapsed marker partially overlapping an existing one");ii()}ee.addToHistory&&Ys(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var se=y.line,ue=a.cm,ce;if(a.iter(se,x.line+1,function(Ae){ue&&ee.collapsed&&!ue.options.lineWrapping&&$e(Ae)==ue.display.maxLine&&(ce=!0),ee.collapsed&&se!=y.line&&Wn(Ae,0),pi(Ae,new ri(ee,se==y.line?y.ch:null,se==x.line?x.ch:null)),++se}),ee.collapsed&&a.iter(y.line,x.line+1,function(Ae){On(a,Ae)&&Wn(Ae,0)}),ee.clearOnEnter&&kt(ee,"beforeCursorEnter",function(){return ee.clear()}),ee.readOnly&&(Si(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ee.collapsed&&(ee.id=++ul,ee.atomic=!0),ue){if(ce&&(ue.curOp.updateMaxLine=!0),ee.collapsed)Cr(ue,y.line,x.line+1);else if(ee.className||ee.startStyle||ee.endStyle||ee.css||ee.attributes||ee.title)for(var ye=y.line;ye<=x.line;ye++)co(ue,ye,"text");ee.atomic&&_s(ue.doc),Hi(ue,"markerAdded",ue,ee)}return ee}var ca=function(a,y){this.markers=a,this.primary=y;for(var x=0;x<a.length;++x)a[x].parent=this};ca.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Hi(this,"clear")}},ca.prototype.find=function(a,y){return this.primary.find(a,y)},jt(ca);function vu(a,y,x,b,E){b=Rt(b),b.shared=!1;var ee=[zo(a,y,x,b,E)],ie=ee[0],se=b.widgetNode;return vo(a,function(ue){se&&(b.widgetNode=se.cloneNode(!0)),ee.push(zo(ue,gt(ue,y),gt(ue,x),b,E));for(var ce=0;ce<ue.linked.length;++ce)if(ue.linked[ce].isParent)return;ie=xe(ee)}),new ca(ee,ie)}function cl(a){return a.findMarks(Te(a.first,0),a.clipPos(Te(a.lastLine())),function(y){return y.parent})}function gu(a,y){for(var x=0;x<y.length;x++){var b=y[x],E=b.find(),ee=a.clipPos(E.from),ie=a.clipPos(E.to);if(dt(ee,ie)){var se=zo(a,ee,ie,b.primary,b.primary.type);b.markers.push(se),se.parent=b}}}function mu(a){for(var y=function(b){var E=a[b],ee=[E.primary.doc];vo(E.primary.doc,function(ue){return ee.push(ue)});for(var ie=0;ie<E.markers.length;ie++){var se=E.markers[ie];ct(ee,se.doc)==-1&&(se.parent=null,E.markers.splice(ie--,1))}},x=0;x<a.length;x++)y(x)}var yu=0,xr=function(a,y,x,b,E){if(!(this instanceof xr))return new xr(a,y,x,b,E);x==null&&(x=0),la.call(this,[new sa([new Oi("",null)])]),this.first=x,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=x;var ee=Te(x,0);this.sel=fo(ee),this.history=new Fa(null),this.id=++yu,this.modeOption=y,this.lineSep=b,this.direction=E=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),as(this,{from:ee,to:ee,text:a}),hr(this,fo(ee),Me)};xr.prototype=te(la.prototype,{constructor:xr,iter:function(a,y,x){x?this.iterN(a-this.first,y-a,x):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var x=0,b=0;b<y.length;++b)x+=y[b].height;this.insertInner(a-this.first,y,x)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=Mn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:er(function(a){var y=Te(this.first,0),x=this.first+this.size-1;Ro(this,{from:y,to:Te(x,qe(this,x).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&_o(this.cm,0,0),hr(this,fo(y),Me)}),replaceRange:function(a,y,x,b){y=gt(this,y),x=x?gt(this,x):y,No(this,a,y,x,b)},getRange:function(a,y,x){var b=$t(this,gt(this,a),gt(this,y));return x===!1?b:b.join(x||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Bt(this,a))return qe(this,a)},getLineNumber:function(a){return ke(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=qe(this,a)),$e(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return gt(this,a)},getCursor:function(a){var y=this.sel.primary(),x;return a==null||a=="head"?x=y.head:a=="anchor"?x=y.anchor:a=="end"||a=="to"||a===!1?x=y.to():x=y.from(),x},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:er(function(a,y,x){Qs(this,gt(this,typeof a=="number"?Te(a,y||0):a),null,x)}),setSelection:er(function(a,y,x){Qs(this,gt(this,a),gt(this,y||a),x)}),extendSelection:er(function(a,y,x){Ta(this,gt(this,a),y&>(this,y),x)}),extendSelections:er(function(a,y){Xs(this,Ht(this,a),y)}),extendSelectionsBy:er(function(a,y){var x=lt(this.sel.ranges,a);Xs(this,Ht(this,x),y)}),setSelections:er(function(a,y,x){if(a.length){for(var b=[],E=0;E<a.length;E++)b[E]=new mi(gt(this,a[E].anchor),gt(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),hr(this,jr(this.cm,b,y),x)}}),addSelection:er(function(a,y,x){var b=this.sel.ranges.slice(0);b.push(new mi(gt(this,a),gt(this,y||a))),hr(this,jr(this.cm,b,b.length-1),x)}),getSelection:function(a){for(var y=this.sel.ranges,x,b=0;b<y.length;b++){var E=$t(this,y[b].from(),y[b].to());x=x?x.concat(E):E}return a===!1?x:x.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],x=this.sel.ranges,b=0;b<x.length;b++){var E=$t(this,x[b].from(),x[b].to());a!==!1&&(E=E.join(a||this.lineSeparator())),y[b]=E}return y},replaceSelection:function(a,y,x){for(var b=[],E=0;E<this.sel.ranges.length;E++)b[E]=a;this.replaceSelections(b,y,x||"+input")},replaceSelections:er(function(a,y,x){for(var b=[],E=this.sel,ee=0;ee<E.ranges.length;ee++){var ie=E.ranges[ee];b[ee]={from:ie.from(),to:ie.to(),text:this.splitLines(a[ee]),origin:x}}for(var se=y&&y!="end"&&ou(this,b,y),ue=b.length-1;ue>=0;ue--)Ro(this,b[ue]);se?Js(this,se):this.cm&&To(this.cm)}),undo:er(function(){Wa(this,"undo")}),redo:er(function(){Wa(this,"redo")}),undoSelection:er(function(){Wa(this,"undo",!0)}),redoSelection:er(function(){Wa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,x=0,b=0;b<a.done.length;b++)a.done[b].ranges||++y;for(var E=0;E<a.undone.length;E++)a.undone[E].ranges||++x;return{undo:y,redo:x}},clearHistory:function(){var a=this;this.history=new Fa(this.history.maxGeneration),vo(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:Oo(this.history.done),undone:Oo(this.history.undone)}},setHistory:function(a){var y=this.history=new Fa(this.history.maxGeneration);y.done=Oo(a.done.slice(0),null,!0),y.undone=Oo(a.undone.slice(0),null,!0)},setGutterMarker:er(function(a,y,x){return aa(this,a,"gutter",function(b){var E=b.gutterMarkers||(b.gutterMarkers={});return E[y]=x,!x&&ne(E)&&(b.gutterMarkers=null),!0})}),clearGutter:er(function(a){var y=this;this.iter(function(x){x.gutterMarkers&&x.gutterMarkers[a]&&aa(y,x,"gutter",function(){return x.gutterMarkers[a]=null,ne(x.gutterMarkers)&&(x.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Bt(this,a)||(y=a,a=qe(this,a),!a))return null}else if(y=ke(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:er(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!b[E])b[E]=x;else{if(Xe(x).test(b[E]))return!1;b[E]+=" "+x}return!0})}),removeLineClass:er(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ee=b[E];if(ee)if(x==null)b[E]=null;else{var ie=ee.match(Xe(x));if(!ie)return!1;var se=ie.index+ie[0].length;b[E]=ee.slice(0,ie.index)+(!ie.index||se==ee.length?"":" ")+ee.slice(se)||null}else return!1;return!0})}),addLineWidget:er(function(a,y,x){return pu(this,a,y,x)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,x){return zo(this,gt(this,a),gt(this,y),x,x&&x.type||"range")},setBookmark:function(a,y){var x={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=gt(this,a),zo(this,a,a,x,"bookmark")},findMarksAt:function(a){a=gt(this,a);var y=[],x=qe(this,a.line).markedSpans;if(x)for(var b=0;b<x.length;++b){var E=x[b];(E.from==null||E.from<=a.ch)&&(E.to==null||E.to>=a.ch)&&y.push(E.marker.parent||E.marker)}return y},findMarks:function(a,y,x){a=gt(this,a),y=gt(this,y);var b=[],E=a.line;return this.iter(a.line,y.line+1,function(ee){var ie=ee.markedSpans;if(ie)for(var se=0;se<ie.length;se++){var ue=ie[se];!(ue.to!=null&&E==a.line&&a.ch>=ue.to||ue.from==null&&E!=a.line||ue.from!=null&&E==y.line&&ue.from>=y.ch)&&(!x||x(ue.marker))&&b.push(ue.marker.parent||ue.marker)}++E}),b},getAllMarks:function(){var a=[];return this.iter(function(y){var x=y.markedSpans;if(x)for(var b=0;b<x.length;++b)x[b].from!=null&&a.push(x[b].marker)}),a},posFromIndex:function(a){var y,x=this.first,b=this.lineSeparator().length;return this.iter(function(E){var ee=E.text.length+b;if(ee>a)return y=a,!0;a-=ee,++x}),gt(this,Te(x,y))},indexFromPos:function(a){a=gt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var x=this.lineSeparator().length;return this.iter(this.first,a.line,function(b){y+=b.text.length+x}),y},copy:function(a){var y=new xr(Mn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,x=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<x&&(x=a.to);var b=new xr(Mn(this,y,x),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(b.history=this.history),(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist}),b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],gu(b,cl(this)),b},unlinkDoc:function(a){if(a instanceof Ri&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var x=this.linked[y];if(x.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),mu(cl(this));break}}if(a.history==this.history){var b=[a.id];vo(a,function(E){return b.push(E.id)},!0),a.history=new Fa(null),a.history.done=Oo(this.history.done,b),a.history.undone=Oo(this.history.undone,b)}},iterLinkedDocs:function(a){vo(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):si(a)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:er(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&au(this.cm))})}),xr.prototype.eachLine=xr.prototype.iter;var hl=0;function bu(a){var y=this;if(fl(y),!(et(y,a)||or(y.display,a))){sn(a),ve&&(hl=+new Date);var x=Co(y,a,!0),b=a.dataTransfer.files;if(!(!x||y.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,ee=Array(E),ie=0,se=function(){++ie==E&&$i(y,function(){x=gt(y.doc,x);var We={from:x,to:x,text:y.doc.splitLines(ee.filter(function(vt){return vt!=null}).join(y.doc.lineSeparator())),origin:"paste"};Ro(y.doc,We),Js(y.doc,fo(gt(y.doc,x),gt(y.doc,po(We))))})()},ue=function(We,vt){if(y.options.allowDropFileTypes&&ct(y.options.allowDropFileTypes,We.type)==-1){se();return}var Et=new FileReader;Et.onerror=function(){return se()},Et.onload=function(){var Ot=Et.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ot)){se();return}ee[vt]=Ot,se()},Et.readAsText(We)},ce=0;ce<b.length;ce++)ue(b[ce],ce);else{if(y.state.draggingText&&y.doc.sel.contains(x)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var ye=a.dataTransfer.getData("Text");if(ye){var Ae;if(y.state.draggingText&&!y.state.draggingText.copy&&(Ae=y.listSelections()),Ia(y.doc,fo(x,x)),Ae)for(var Ze=0;Ze<Ae.length;++Ze)No(y.doc,"",Ae[Ze].anchor,Ae[Ze].head,"drag");y.replaceSelection(ye,"around","paste"),y.display.input.focus()}}catch(We){}}}}function wu(a,y){if(ve&&(!a.state.draggingText||+new Date-hl<100)){gn(y);return}if(!(et(a,y)||or(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Je)){var x=Fe("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",de&&(x.width=x.height=1,a.display.wrapper.appendChild(x),x._top=x.offsetTop),y.dataTransfer.setDragImage(x,0,0),de&&x.parentNode.removeChild(x)}}function Cu(a,y){var x=Co(a,y);if(x){var b=document.createDocumentFragment();Ss(a,x,b),a.display.dragCursor||(a.display.dragCursor=Fe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Re(a.display.dragCursor,b)}}function fl(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function dl(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<y.length;b++){var E=y[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var ee=0;ee<x.length;ee++)a(x[ee])})}}var pl=!1;function xu(){pl||(Au(),pl=!0)}function Au(){var a;kt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,dl(Su)},100))}),kt(window,"blur",function(){return dl(Mo)})}function Su(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var mo={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"},ha=0;ha<10;ha++)mo[ha+48]=mo[ha+96]=String(ha);for(var Ra=65;Ra<=90;Ra++)mo[Ra]=String.fromCharCode(Ra);for(var fa=1;fa<=12;fa++)mo[fa+111]=mo[fa+63235]="F"+fa;var ro={};ro.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"},ro.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"},ro.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"},ro.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"]},ro.default=we?ro.macDefault:ro.pcDefault;function Eu(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var x,b,E,ee,ie=0;ie<y.length-1;ie++){var se=y[ie];if(/^(cmd|meta|m)$/i.test(se))ee=!0;else if(/^a(lt)?$/i.test(se))x=!0;else if(/^(c|ctrl|control)$/i.test(se))b=!0;else if(/^s(hift)?$/i.test(se))E=!0;else throw new Error("Unrecognized modifier name: "+se)}return x&&(a="Alt-"+a),b&&(a="Ctrl-"+a),ee&&(a="Cmd-"+a),E&&(a="Shift-"+a),a}function ku(a){var y={};for(var x in a)if(a.hasOwnProperty(x)){var b=a[x];if(/^(name|fallthrough|(de|at)tach)$/.test(x))continue;if(b=="..."){delete a[x];continue}for(var E=lt(x.split(" "),Eu),ee=0;ee<E.length;ee++){var ie=void 0,se=void 0;ee==E.length-1?(se=E.join(" "),ie=b):(se=E.slice(0,ee+1).join(" "),ie="...");var ue=y[se];if(!ue)y[se]=ie;else if(ue!=ie)throw new Error("Inconsistent bindings for "+se)}delete a[x]}for(var ce in y)a[ce]=y[ce];return a}function Ho(a,y,x,b){y=Na(y);var E=y.call?y.call(a,b):y[a];if(E===!1)return"nothing";if(E==="...")return"multi";if(E!=null&&x(E))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Ho(a,y.fallthrough,x,b);for(var ee=0;ee<y.fallthrough.length;ee++){var ie=Ho(a,y.fallthrough[ee],x,b);if(ie)return ie}}}function vl(a){var y=typeof a=="string"?a:mo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function gl(a,y,x){var b=a;return y.altKey&&b!="Alt"&&(a="Alt-"+a),(it?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(it?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function ml(a,y){if(de&&a.keyCode==34&&a.char)return!1;var x=mo[a.keyCode];return x==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(x=a.code),gl(x,a,y))}function Na(a){return typeof a=="string"?ro[a]:a}function Zo(a,y){for(var x=a.doc.sel.ranges,b=[],E=0;E<x.length;E++){for(var ee=y(x[E]);b.length&&dt(ee.from,xe(b).to)<=0;){var ie=b.pop();if(dt(ie.from,ee.from)<0){ee.from=ie.from;break}}b.push(ee)}Pr(a,function(){for(var se=b.length-1;se>=0;se--)No(a.doc,"",b[se].from,b[se].to,"+delete");To(a)})}function cs(a,y,x){var b=Dt(a.text,y+x,x);return b<0||b>a.text.length?null:b}function hs(a,y,x){var b=cs(a,y.ch,x);return b==null?null:new Te(y.line,b,x<0?"after":"before")}function fs(a,y,x,b,E){if(a){y.doc.direction=="rtl"&&(E=-E);var ee=Zt(x,y.doc.direction);if(ee){var ie=E<0?xe(ee):ee[0],se=E<0==(ie.level==1),ue=se?"after":"before",ce;if(ie.level>0||y.doc.direction=="rtl"){var ye=lo(y,x);ce=E<0?x.text.length-1:0;var Ae=Rr(y,ye,ce).top;ce=mt(function(Ze){return Rr(y,ye,Ze).top==Ae},E<0==(ie.level==1)?ie.from:ie.to-1,ce),ue=="before"&&(ce=cs(x,ce,1))}else ce=E<0?ie.to:ie.from;return new Te(b,ce,ue)}}return new Te(b,E<0?x.text.length:0,E<0?"before":"after")}function Lu(a,y,x,b){var E=Zt(y,a.doc.direction);if(!E)return hs(y,x,b);x.ch>=y.text.length?(x.ch=y.text.length,x.sticky="before"):x.ch<=0&&(x.ch=0,x.sticky="after");var ee=Nt(E,x.ch,x.sticky),ie=E[ee];if(a.doc.direction=="ltr"&&ie.level%2==0&&(b>0?ie.to>x.ch:ie.from<x.ch))return hs(y,x,b);var se=function(Jt,on){return cs(y,Jt instanceof Te?Jt.ch:Jt,on)},ue,ce=function(Jt){return a.options.lineWrapping?(ue=ue||lo(a,y),Yi(a,y,ue,Jt)):{begin:0,end:y.text.length}},ye=ce(x.sticky=="before"?se(x,-1):x.ch);if(a.doc.direction=="rtl"||ie.level==1){var Ae=ie.level==1==b<0,Ze=se(x,Ae?1:-1);if(Ze!=null&&(Ae?Ze<=ie.to&&Ze<=ye.end:Ze>=ie.from&&Ze>=ye.begin)){var We=Ae?"before":"after";return new Te(x.line,Ze,We)}}var vt=function(Jt,on,qt){for(var dn=function(Fi,tr){return tr?new Te(x.line,se(Fi,1),"before"):new Te(x.line,Fi,"after")};Jt>=0&&Jt<E.length;Jt+=on){var An=E[Jt],yn=on>0==(An.level!=1),Vn=yn?qt.begin:se(qt.end,-1);if(An.from<=Vn&&Vn<An.to||(Vn=yn?An.from:se(An.to,-1),qt.begin<=Vn&&Vn<qt.end))return dn(Vn,yn)}},Et=vt(ee+b,b,ye);if(Et)return Et;var Ot=b>0?ye.end:se(ye.begin,-1);return Ot!=null&&!(b>0&&Ot==y.text.length)&&(Et=vt(b>0?0:E.length-1,b,ce(Ot)),Et)?Et:null}var da={selectAll:tl,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Me)},killLine:function(a){return Zo(a,function(y){if(y.empty()){var x=qe(a.doc,y.head.line).text.length;return y.head.ch==x&&y.head.line<a.lastLine()?{from:y.head,to:Te(y.head.line+1,0)}:{from:y.head,to:Te(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Zo(a,function(y){return{from:Te(y.from().line,0),to:gt(a.doc,Te(y.to().line+1,0))}})},delLineLeft:function(a){return Zo(a,function(y){return{from:Te(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Zo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return{from:b,to:y.from()}})},delWrappedLineRight:function(a){return Zo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div");return{from:y.from(),to:b}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(Te(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Te(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return yl(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return bl(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Bu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div")},ot)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:x},"div")},ot)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return b.ch<a.getLine(b.line).search(/\S/)?bl(a,y.head):b},ot)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],x=a.listSelections(),b=a.options.tabSize,E=0;E<x.length;E++){var ee=x[E].from(),ie=ge(a.getLine(ee.line),ee.ch,b);y.push(st(b-ie%b))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Pr(a,function(){for(var y=a.listSelections(),x=[],b=0;b<y.length;b++)if(y[b].empty()){var E=y[b].head,ee=qe(a.doc,E.line).text;if(ee){if(E.ch==ee.length&&(E=new Te(E.line,E.ch-1)),E.ch>0)E=new Te(E.line,E.ch+1),a.replaceRange(ee.charAt(E.ch-1)+ee.charAt(E.ch-2),Te(E.line,E.ch-2),E,"+transpose");else if(E.line>a.doc.first){var ie=qe(a.doc,E.line-1).text;ie&&(E=new Te(E.line,1),a.replaceRange(ee.charAt(0)+a.doc.lineSeparator()+ie.charAt(ie.length-1),Te(E.line-1,ie.length-1),E,"+transpose"))}}x.push(new mi(E,E))}a.setSelections(x)})},newlineAndIndent:function(a){return Pr(a,function(){for(var y=a.listSelections(),x=y.length-1;x>=0;x--)a.replaceRange(a.doc.lineSeparator(),y[x].anchor,y[x].head,"+input");y=a.listSelections();for(var b=0;b<y.length;b++)a.indentLine(y[b].from().line,null,!0);To(a)})},openLine:function(a){return a.replaceSelection(`
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function yl(a,y){var x=qe(a.doc,y),b=$e(x);return b!=x&&(y=ke(b)),fs(!0,a,b,y,1)}function Bu(a,y){var x=qe(a.doc,y),b=St(x);return b!=x&&(y=ke(b)),fs(!0,a,x,y,-1)}function bl(a,y){var x=yl(a,y.line),b=qe(a.doc,x.line),E=Zt(b,a.doc.direction);if(!E||E[0].level==0){var ee=Math.max(x.ch,b.text.search(/\S/)),ie=y.line==x.line&&y.ch<=ee&&y.ch;return Te(x.line,ie?0:ee,x.sticky)}return x}function za(a,y,x){if(typeof y=="string"&&(y=da[y],!y))return!1;a.display.input.ensurePolled();var b=a.display.shift,E=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),x&&(a.display.shift=!1),E=y(a)!=Ct}finally{a.display.shift=b,a.state.suppressEdits=!1}return E}function Du(a,y,x){for(var b=0;b<a.state.keyMaps.length;b++){var E=Ho(y,a.state.keyMaps[b],x,a);if(E)return E}return a.options.extraKeys&&Ho(y,a.options.extraKeys,x,a)||Ho(y,a.options.keyMap,x,a)}var Pu=new he;function pa(a,y,x,b){var E=a.state.keySeq;if(E){if(vl(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Pu.set(50,function(){a.state.keySeq==E&&(a.state.keySeq=null,a.display.input.reset())}),wl(a,E+" "+y,x,b))return!0}return wl(a,y,x,b)}function wl(a,y,x,b){var E=Du(a,y,b);return E=="multi"&&(a.state.keySeq=y),E=="handled"&&Hi(a,"keyHandled",a,y,x),(E=="handled"||E=="multi")&&(sn(x),Qa(a)),!!E}function Cl(a,y){var x=ml(y,!0);return x?y.shiftKey&&!a.state.keySeq?pa(a,"Shift-"+x,y,function(b){return za(a,b,!0)})||pa(a,x,y,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return za(a,b)}):pa(a,x,y,function(b){return za(a,b)}):!1}function Fu(a,y,x){return pa(a,"'"+x+"'",y,function(b){return za(a,b,!0)})}var ds=null;function xl(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Pe(),!et(y,a))){ve&&me<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=Cl(y,a);de&&(ds=b?x:null,!b&&x==88&&!Fn&&(we?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),ae&&!we&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Mu(y)}}function Mu(a){var y=a.display.lineDiv;_e(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(rt(y,"CodeMirror-crosshair"),Vt(document,"keyup",x),Vt(document,"mouseover",x))}kt(document,"keyup",x),kt(document,"mouseover",x)}function Al(a){a.keyCode==16&&(this.doc.sel.shift=!1),et(this,a)}function Sl(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(or(y.display,a)||et(y,a)||a.ctrlKey&&!a.altKey||we&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(de&&x==ds){ds=null,sn(a);return}if(!(de&&(!a.which||a.which<10)&&Cl(y,a))){var E=String.fromCharCode(b==null?x:b);E!="\b"&&(Fu(y,a,E)||y.display.input.onKeyPress(a))}}}var Tu=400,ps=function(a,y,x){this.time=a,this.pos=y,this.button=x};ps.prototype.compare=function(a,y,x){return this.time+Tu>a&&dt(y,this.pos)==0&&x==this.button};var va,ga;function Iu(a,y){var x=+new Date;return ga&&ga.compare(x,a,y)?(va=ga=null,"triple"):va&&va.compare(x,a,y)?(ga=new ps(x,a,y),va=null,"double"):(va=new ps(x,a,y),ga=null,"single")}function El(a){var y=this,x=y.display;if(!(et(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,or(x,a)){Ie||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!vs(y,a)){var b=Co(y,a),E=en(a),ee=b?Iu(b,E):"single";window.focus(),E==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&Ou(y,E,b,ee,a))&&(E==1?b?Ru(y,b,ee,a):Kn(a)==x.scroller&&sn(a):E==2?(b&&Ta(y.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Ke?y.display.input.onContextMenu(a):ks(y)))}}}function Ou(a,y,x,b,E){var ee="Click";return b=="double"?ee="Double"+ee:b=="triple"&&(ee="Triple"+ee),ee=(y==1?"Left":y==2?"Middle":"Right")+ee,pa(a,gl(ee,E),E,function(ie){if(typeof ie=="string"&&(ie=da[ie]),!ie)return!1;var se=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),se=ie(a,x)!=Ct}finally{a.state.suppressEdits=!1}return se})}function Wu(a,y,x){var b=a.getOption("configureMouse"),E=b?b(a,y,x):{};if(E.unit==null){var ee=Ve?x.shiftKey&&x.metaKey:x.altKey;E.unit=ee?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(E.extend==null||a.doc.extend)&&(E.extend=a.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=we?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(we?x.altKey:x.ctrlKey)),E}function Ru(a,y,x,b){ve?setTimeout(un(Es,a),0):a.curOp.focus=Pe();var E=Wu(a,x,b),ee=a.doc.sel,ie;a.options.dragDrop&&$n&&!a.isReadOnly()&&x=="single"&&(ie=ee.contains(y))>-1&&(dt((ie=ee.ranges[ie]).from(),y)<0||y.xRel>0)&&(dt(ie.to(),y)>0||y.xRel<0)?Nu(a,b,y,E):zu(a,b,y,E)}function Nu(a,y,x,b){var E=a.display,ee=!1,ie=$i(a,function(ce){Ie&&(E.scroller.draggable=!1),a.state.draggingText=!1,Vt(E.wrapper.ownerDocument,"mouseup",ie),Vt(E.wrapper.ownerDocument,"mousemove",se),Vt(E.scroller,"dragstart",ue),Vt(E.scroller,"drop",ie),ee||(sn(ce),b.addNew||Ta(a.doc,x,null,null,b.extend),Ie&&!Je||ve&&me==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),se=function(ce){ee=ee||Math.abs(y.clientX-ce.clientX)+Math.abs(y.clientY-ce.clientY)>=10},ue=function(){return ee=!0};Ie&&(E.scroller.draggable=!0),a.state.draggingText=ie,ie.copy=!b.moveOnDrag,E.scroller.dragDrop&&E.scroller.dragDrop(),kt(E.wrapper.ownerDocument,"mouseup",ie),kt(E.wrapper.ownerDocument,"mousemove",se),kt(E.scroller,"dragstart",ue),kt(E.scroller,"drop",ie),ks(a),setTimeout(function(){return E.input.focus()},20)}function kl(a,y,x){if(x=="char")return new mi(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new mi(Te(y.line,0),gt(a.doc,Te(y.line+1,0)));var b=x(a,y);return new mi(b.from,b.to)}function zu(a,y,x,b){var E=a.display,ee=a.doc;sn(y);var ie,se,ue=ee.sel,ce=ue.ranges;if(b.addNew&&!b.extend?(se=ee.sel.contains(x),se>-1?ie=ce[se]:ie=new mi(x,x)):(ie=ee.sel.primary(),se=ee.sel.primIndex),b.unit=="rectangle")b.addNew||(ie=new mi(x,x)),x=Co(a,y,!0,!0),se=-1;else{var ye=kl(a,x,b.unit);b.extend?ie=ls(ie,ye.anchor,ye.head,b.extend):ie=ye}b.addNew?se==-1?(se=ce.length,hr(ee,jr(a,ce.concat([ie]),se),{scroll:!1,origin:"*mouse"})):ce.length>1&&ce[se].empty()&&b.unit=="char"&&!b.extend?(hr(ee,jr(a,ce.slice(0,se).concat(ce.slice(se+1)),0),{scroll:!1,origin:"*mouse"}),ue=ee.sel):us(ee,se,ie,Qe):(se=0,hr(ee,new Or([ie],0),Qe),ue=ee.sel);var Ae=x;function Ze(qt){if(dt(Ae,qt)!=0)if(Ae=qt,b.unit=="rectangle"){for(var dn=[],An=a.options.tabSize,yn=ge(qe(ee,x.line).text,x.ch,An),Vn=ge(qe(ee,qt.line).text,qt.ch,An),Fi=Math.min(yn,Vn),tr=Math.max(yn,Vn),zi=Math.min(x.line,qt.line),Fr=Math.min(a.lastLine(),Math.max(x.line,qt.line));zi<=Fr;zi++){var Ar=qe(ee,zi).text,Xi=Kt(Ar,Fi,An);Fi==tr?dn.push(new mi(Te(zi,Xi),Te(zi,Xi))):Ar.length>Xi&&dn.push(new mi(Te(zi,Xi),Te(zi,Kt(Ar,tr,An))))}dn.length||dn.push(new mi(x,x)),hr(ee,jr(a,ue.ranges.slice(0,se).concat(dn),se),{origin:"*mouse",scroll:!1}),a.scrollIntoView(qt)}else{var Sr=ie,sr=kl(a,qt,b.unit),qi=Sr.anchor,Qi;dt(sr.anchor,qi)>0?(Qi=sr.head,qi=Ne(Sr.from(),sr.anchor)):(Qi=sr.anchor,qi=nn(Sr.to(),sr.head));var Zi=ue.ranges.slice(0);Zi[se]=Hu(a,new mi(gt(ee,qi),Qi)),hr(ee,jr(a,Zi,se),Qe)}}var We=E.wrapper.getBoundingClientRect(),vt=0;function Et(qt){var dn=++vt,An=Co(a,qt,!0,b.unit=="rectangle");if(An)if(dt(An,Ae)!=0){a.curOp.focus=Pe(),Ze(An);var yn=La(E,ee);(An.line>=yn.to||An.line<yn.from)&&setTimeout($i(a,function(){vt==dn&&Et(qt)}),150)}else{var Vn=qt.clientY<We.top?-20:qt.clientY>We.bottom?20:0;Vn&&setTimeout($i(a,function(){vt==dn&&(E.scroller.scrollTop+=Vn,Et(qt))}),50)}}function Ot(qt){a.state.selectingText=!1,vt=1/0,qt&&(sn(qt),E.input.focus()),Vt(E.wrapper.ownerDocument,"mousemove",Jt),Vt(E.wrapper.ownerDocument,"mouseup",on),ee.history.lastSelOrigin=null}var Jt=$i(a,function(qt){qt.buttons===0||!en(qt)?Ot(qt):Et(qt)}),on=$i(a,Ot);a.state.selectingText=on,kt(E.wrapper.ownerDocument,"mousemove",Jt),kt(E.wrapper.ownerDocument,"mouseup",on)}function Hu(a,y){var x=y.anchor,b=y.head,E=qe(a.doc,x.line);if(dt(x,b)==0&&x.sticky==b.sticky)return y;var ee=Zt(E);if(!ee)return y;var ie=Nt(ee,x.ch,x.sticky),se=ee[ie];if(se.from!=x.ch&&se.to!=x.ch)return y;var ue=ie+(se.from==x.ch==(se.level!=1)?0:1);if(ue==0||ue==ee.length)return y;var ce;if(b.line!=x.line)ce=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var ye=Nt(ee,b.ch,b.sticky),Ae=ye-ie||(b.ch-x.ch)*(se.level==1?-1:1);ye==ue-1||ye==ue?ce=Ae<0:ce=Ae>0}var Ze=ee[ue+(ce?-1:0)],We=ce==(Ze.level==1),vt=We?Ze.from:Ze.to,Et=We?"after":"before";return x.ch==vt&&x.sticky==Et?y:new mi(new Te(x.line,vt,Et),b)}function Ll(a,y,x,b){var E,ee;if(y.touches)E=y.touches[0].clientX,ee=y.touches[0].clientY;else try{E=y.clientX,ee=y.clientY}catch(Ze){return!1}if(E>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&sn(y);var ie=a.display,se=ie.lineDiv.getBoundingClientRect();if(ee>se.bottom||!zt(a,x))return tn(y);ee-=se.top-ie.viewOffset;for(var ue=0;ue<a.display.gutterSpecs.length;++ue){var ce=ie.gutters.childNodes[ue];if(ce&&ce.getBoundingClientRect().right>=E){var ye=Le(a.doc,ee),Ae=a.display.gutterSpecs[ue];return an(a,x,a,ye,Ae.className,y),tn(y)}}}function vs(a,y){return Ll(a,y,"gutterClick",!0)}function Bl(a,y){or(a.display,y)||Zu(a,y)||et(a,y,"contextmenu")||Ke||a.display.input.onContextMenu(y)}function Zu(a,y){return zt(a,"gutterContextMenu")?Ll(a,y,"gutterContextMenu",!1):!1}function Dl(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),wo(a)}var Vo={toString:function(){return"CodeMirror.Init"}},Pl={},Ha={};function Vu(a){var y=a.optionHandlers;function x(b,E,ee,ie){a.defaults[b]=E,ee&&(y[b]=ie?function(se,ue,ce){ce!=Vo&&ee(se,ue,ce)}:ee)}a.defineOption=x,a.Init=Vo,x("value","",function(b,E){return b.setValue(E)},!0),x("mode",null,function(b,E){b.doc.modeOption=E,os(b)},!0),x("indentUnit",2,os,!0),x("indentWithTabs",!1),x("smartIndent",!0),x("tabSize",4,function(b){ra(b),wo(b),Cr(b)},!0),x("lineSeparator",null,function(b,E){if(b.doc.lineSep=E,!!E){var ee=[],ie=b.doc.first;b.doc.iter(function(ue){for(var ce=0;;){var ye=ue.text.indexOf(E,ce);if(ye==-1)break;ce=ye+E.length,ee.push(Te(ie,ye))}ie++});for(var se=ee.length-1;se>=0;se--)No(b.doc,E,ee[se],Te(ee[se].line,ee[se].ch+E.length))}}),x("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(b,E,ee){b.state.specialChars=new RegExp(E.source+(E.test(" ")?"":"| "),"g"),ee!=Vo&&b.refresh()}),x("specialCharPlaceholder",Mr,function(b){return b.refresh()},!0),x("electricChars",!0),x("inputStyle",Ee?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),x("spellcheck",!1,function(b,E){return b.getInputField().spellcheck=E},!0),x("autocorrect",!1,function(b,E){return b.getInputField().autocorrect=E},!0),x("autocapitalize",!1,function(b,E){return b.getInputField().autocapitalize=E},!0),x("rtlMoveVisually",!tt),x("wholeLineUpdateBefore",!0),x("theme","default",function(b){Dl(b),ia(b)},!0),x("keyMap","default",function(b,E,ee){var ie=Na(E),se=ee!=Vo&&Na(ee);se&&se.detach&&se.detach(b,ie),ie.attach&&ie.attach(b,se||null)}),x("extraKeys",null),x("configureMouse",null),x("lineWrapping",!1,Gu,!0),x("gutters",[],function(b,E){b.display.gutterSpecs=is(E,b.options.lineNumbers),ia(b)},!0),x("fixedGutter",!0,function(b,E){b.display.gutters.style.left=E?Ka(b.display)+"px":"0",b.refresh()},!0),x("coverGutterNextToScrollbar",!1,function(b){return Io(b)},!0),x("scrollbarStyle","native",function(b){Ms(b),Io(b),b.display.scrollbars.setScrollTop(b.doc.scrollTop),b.display.scrollbars.setScrollLeft(b.doc.scrollLeft)},!0),x("lineNumbers",!1,function(b,E){b.display.gutterSpecs=is(b.options.gutters,E),ia(b)},!0),x("firstLineNumber",1,ia,!0),x("lineNumberFormatter",function(b){return b},ia,!0),x("showCursorWhenSelecting",!1,qo,!0),x("resetSelectionOnContextMenu",!0),x("lineWiseCopyCut",!0),x("pasteLinesPerSelection",!0),x("selectionsMayTouch",!1),x("readOnly",!1,function(b,E){E=="nocursor"&&(Mo(b),b.display.input.blur()),b.display.input.readOnlyChanged(E)}),x("screenReaderLabel",null,function(b,E){E=E===""?null:E,b.display.input.screenReaderLabelChanged(E)}),x("disableInput",!1,function(b,E){E||b.display.input.reset()},!0),x("dragDrop",!0,Uu),x("allowDropFileTypes",null),x("cursorBlinkRate",530),x("cursorScrollMargin",0),x("cursorHeight",1,qo,!0),x("singleCursorHeightPerLine",!0,qo,!0),x("workTime",100),x("workDelay",100),x("flattenSpans",!0,ra,!0),x("addModeClass",!1,ra,!0),x("pollInterval",100),x("undoDepth",200,function(b,E){return b.doc.history.undoDepth=E}),x("historyEventDelay",1250),x("viewportMargin",10,function(b){return b.refresh()},!0),x("maxHighlightLength",1e4,ra,!0),x("moveInputWithCursor",!0,function(b,E){E||b.display.input.resetPosition()}),x("tabindex",null,function(b,E){return b.display.input.getField().tabIndex=E||""}),x("autofocus",null),x("direction","ltr",function(b,E){return b.doc.setDirection(E)},!0),x("phrases",null)}function Uu(a,y,x){var b=x&&x!=Vo;if(!y!=!b){var E=a.display.dragFunctions,ee=y?kt:Vt;ee(a.display.scroller,"dragstart",E.start),ee(a.display.scroller,"dragenter",E.enter),ee(a.display.scroller,"dragover",E.over),ee(a.display.scroller,"dragleave",E.leave),ee(a.display.scroller,"drop",E.drop)}}function Gu(a){a.options.lineWrapping?(_e(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(rt(a.display.wrapper,"CodeMirror-wrap"),ai(a)),Xa(a),Cr(a),wo(a),setTimeout(function(){return Io(a)},100)}function Ri(a,y){var x=this;if(!(this instanceof Ri))return new Ri(a,y);this.options=y=y?Rt(y):{},Rt(Pl,y,!1);var b=y.value;typeof b=="string"?b=new xr(b,y.mode,null,y.lineSeparator,y.direction):y.mode&&(b.modeOption=y.mode),this.doc=b;var E=new Ri.inputStyles[y.inputStyle](this),ee=this.display=new iu(a,b,E,y);ee.wrapper.CodeMirror=this,Dl(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ms(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 he,keySeq:null,specialChars:null},y.autofocus&&!Ee&&ee.input.focus(),ve&&me<11&&setTimeout(function(){return x.display.input.reset(!0)},20),Yu(this),xu(),Eo(this),this.curOp.forceUpdate=!0,Vs(this,b),y.autofocus&&!Ee||this.hasFocus()?setTimeout(function(){x.hasFocus()&&!x.state.focused&&Ja(x)},20):Mo(this);for(var ie in Ha)Ha.hasOwnProperty(ie)&&Ha[ie](this,y[ie],Vo);Os(this),y.finishInit&&y.finishInit(this);for(var se=0;se<gs.length;++se)gs[se](this);ko(this),Ie&&y.lineWrapping&&getComputedStyle(ee.lineDiv).textRendering=="optimizelegibility"&&(ee.lineDiv.style.textRendering="auto")}Ri.defaults=Pl,Ri.optionHandlers=Ha;function Yu(a){var y=a.display;kt(y.scroller,"mousedown",$i(a,El)),ve&&me<11?kt(y.scroller,"dblclick",$i(a,function(ue){if(!et(a,ue)){var ce=Co(a,ue);if(!(!ce||vs(a,ue)||or(a.display,ue))){sn(ue);var ye=a.findWordAt(ce);Ta(a.doc,ye.anchor,ye.head)}}})):kt(y.scroller,"dblclick",function(ue){return et(a,ue)||sn(ue)}),kt(y.scroller,"contextmenu",function(ue){return Bl(a,ue)}),kt(y.input.getField(),"contextmenu",function(ue){y.scroller.contains(ue.target)||Bl(a,ue)});var x,b={end:0};function E(){y.activeTouch&&(x=setTimeout(function(){return y.activeTouch=null},1e3),b=y.activeTouch,b.end=+new Date)}function ee(ue){if(ue.touches.length!=1)return!1;var ce=ue.touches[0];return ce.radiusX<=1&&ce.radiusY<=1}function ie(ue,ce){if(ce.left==null)return!0;var ye=ce.left-ue.left,Ae=ce.top-ue.top;return ye*ye+Ae*Ae>20*20}kt(y.scroller,"touchstart",function(ue){if(!et(a,ue)&&!ee(ue)&&!vs(a,ue)){y.input.ensurePolled(),clearTimeout(x);var ce=+new Date;y.activeTouch={start:ce,moved:!1,prev:ce-b.end<=300?b:null},ue.touches.length==1&&(y.activeTouch.left=ue.touches[0].pageX,y.activeTouch.top=ue.touches[0].pageY)}}),kt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),kt(y.scroller,"touchend",function(ue){var ce=y.activeTouch;if(ce&&!or(y,ue)&&ce.left!=null&&!ce.moved&&new Date-ce.start<300){var ye=a.coordsChar(y.activeTouch,"page"),Ae;!ce.prev||ie(ce,ce.prev)?Ae=new mi(ye,ye):!ce.prev.prev||ie(ce,ce.prev.prev)?Ae=a.findWordAt(ye):Ae=new mi(Te(ye.line,0),gt(a.doc,Te(ye.line+1,0))),a.setSelection(Ae.anchor,Ae.head),a.focus(),sn(ue)}E()}),kt(y.scroller,"touchcancel",E),kt(y.scroller,"scroll",function(){y.scroller.clientHeight&&($o(a,y.scroller.scrollTop),Ao(a,y.scroller.scrollLeft,!0),an(a,"scroll",a))}),kt(y.scroller,"mousewheel",function(ue){return Ns(a,ue)}),kt(y.scroller,"DOMMouseScroll",function(ue){return Ns(a,ue)}),kt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ue){et(a,ue)||gn(ue)},over:function(ue){et(a,ue)||(Cu(a,ue),gn(ue))},start:function(ue){return wu(a,ue)},drop:$i(a,bu),leave:function(ue){et(a,ue)||fl(a)}};var se=y.input.getField();kt(se,"keyup",function(ue){return Al.call(a,ue)}),kt(se,"keydown",$i(a,xl)),kt(se,"keypress",$i(a,Sl)),kt(se,"focus",function(ue){return Ja(a,ue)}),kt(se,"blur",function(ue){return Mo(a,ue)})}var gs=[];Ri.defineInitHook=function(a){return gs.push(a)};function ma(a,y,x,b){var E=a.doc,ee;x==null&&(x="add"),x=="smart"&&(E.mode.indent?ee=zn(a,y).state:x="prev");var ie=a.options.tabSize,se=qe(E,y),ue=ge(se.text,null,ie);se.stateAfter&&(se.stateAfter=null);var ce=se.text.match(/^\s*/)[0],ye;if(!b&&!/\S/.test(se.text))ye=0,x="not";else if(x=="smart"&&(ye=E.mode.indent(ee,se.text.slice(ce.length),se.text),ye==Ct||ye>150)){if(!b)return;x="prev"}x=="prev"?y>E.first?ye=ge(qe(E,y-1).text,null,ie):ye=0:x=="add"?ye=ue+a.options.indentUnit:x=="subtract"?ye=ue-a.options.indentUnit:typeof x=="number"&&(ye=ue+x),ye=Math.max(0,ye);var Ae="",Ze=0;if(a.options.indentWithTabs)for(var We=Math.floor(ye/ie);We;--We)Ze+=ie,Ae+=" ";if(Ze<ye&&(Ae+=st(ye-Ze)),Ae!=ce)return No(E,Ae,Te(y,0),Te(y,ce.length),"+input"),se.stateAfter=null,!0;for(var vt=0;vt<E.sel.ranges.length;vt++){var Et=E.sel.ranges[vt];if(Et.head.line==y&&Et.head.ch<ce.length){var Ot=Te(y,ce.length);us(E,vt,new mi(Ot,Ot));break}}}var Kr=null;function Za(a){Kr=a}function ms(a,y,x,b,E){var ee=a.doc;a.display.shift=!1,b||(b=ee.sel);var ie=+new Date-200,se=E=="paste"||a.state.pasteIncoming>ie,ue=si(y),ce=null;if(se&&b.ranges.length>1)if(Kr&&Kr.text.join(`
|
|
`)==y){if(b.ranges.length%Kr.text.length==0){ce=[];for(var ye=0;ye<Kr.text.length;ye++)ce.push(ee.splitLines(Kr.text[ye]))}}else ue.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(ce=lt(ue,function(Jt){return[Jt]}));for(var Ae=a.curOp.updateInput,Ze=b.ranges.length-1;Ze>=0;Ze--){var We=b.ranges[Ze],vt=We.from(),Et=We.to();We.empty()&&(x&&x>0?vt=Te(vt.line,vt.ch-x):a.state.overwrite&&!se?Et=Te(Et.line,Math.min(qe(ee,Et.line).text.length,Et.ch+xe(ue).length)):se&&Kr&&Kr.lineWise&&Kr.text.join(`
|
|
`)==ue.join(`
|
|
`)&&(vt=Et=Te(vt.line,0)));var Ot={from:vt,to:Et,text:ce?ce[Ze%ce.length]:ue,origin:E||(se?"paste":a.state.cutIncoming>ie?"cut":"+input")};Ro(a.doc,Ot),Hi(a,"inputRead",a,Ot)}y&&!se&&Ml(a,y),To(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Ae),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Fl(a,y){var x=a.clipboardData&&a.clipboardData.getData("Text");if(x)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Pr(y,function(){return ms(y,x,0,null,"paste")}),!0}function Ml(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var x=a.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var ee=a.getModeAt(E.head),ie=!1;if(ee.electricChars){for(var se=0;se<ee.electricChars.length;se++)if(y.indexOf(ee.electricChars.charAt(se))>-1){ie=ma(a,E.head.line,"smart");break}}else ee.electricInput&&ee.electricInput.test(qe(a.doc,E.head.line).text.slice(0,E.head.ch))&&(ie=ma(a,E.head.line,"smart"));ie&&Hi(a,"electricInput",a,E.head.line)}}}function Tl(a){for(var y=[],x=[],b=0;b<a.doc.sel.ranges.length;b++){var E=a.doc.sel.ranges[b].head.line,ee={anchor:Te(E,0),head:Te(E+1,0)};x.push(ee),y.push(a.getRange(ee.anchor,ee.head))}return{text:y,ranges:x}}function Il(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function Ol(){var a=Fe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Fe("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ie?a.style.width="1000px":a.setAttribute("wrap","off"),Oe&&(a.style.border="1px solid black"),Il(a),y}function ju(a){var y=a.optionHandlers,x=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(b,E){var ee=this.options,ie=ee[b];ee[b]==E&&b!="mode"||(ee[b]=E,y.hasOwnProperty(b)&&$i(this,y[b])(this,E,ie),an(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Na(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,ee=0;ee<E.length;++ee)if(E[ee]==b||E[ee].name==b)return E.splice(ee,1),!0},addOverlay:gr(function(b,E){var ee=b.token?b:a.getMode(this.options,b);if(ee.startState)throw new Error("Overlays may not be stateful.");wt(this.state.overlays,{mode:ee,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function(ie){return ie.priority}),this.state.modeGen++,Cr(this)}),removeOverlay:gr(function(b){for(var E=this.state.overlays,ee=0;ee<E.length;++ee){var ie=E[ee].modeSpec;if(ie==b||typeof b=="string"&&ie.name==b){E.splice(ee,1),this.state.modeGen++,Cr(this);return}}}),indentLine:gr(function(b,E,ee){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Bt(this.doc,b)&&ma(this,b,E,ee)}),indentSelection:gr(function(b){for(var E=this.doc.sel.ranges,ee=-1,ie=0;ie<E.length;ie++){var se=E[ie];if(se.empty())se.head.line>ee&&(ma(this,se.head.line,b,!0),ee=se.head.line,ie==this.doc.sel.primIndex&&To(this));else{var ue=se.from(),ce=se.to(),ye=Math.max(ee,ue.line);ee=Math.min(this.lastLine(),ce.line-(ce.ch?0:1))+1;for(var Ae=ye;Ae<ee;++Ae)ma(this,Ae,b);var Ze=this.doc.sel.ranges;ue.ch==0&&E.length==Ze.length&&Ze[ie].from().ch>0&&us(this.doc,ie,new mi(ue,Ze[ie].to()),Me)}}}),getTokenAt:function(b,E){return bi(this,b,E)},getLineTokens:function(b,E){return bi(this,Te(b),E,!0)},getTokenTypeAt:function(b){b=gt(this.doc,b);var E=bn(this,qe(this.doc,b.line)),ee=0,ie=(E.length-1)/2,se=b.ch,ue;if(se==0)ue=E[2];else for(;;){var ce=ee+ie>>1;if((ce?E[ce*2-1]:0)>=se)ie=ce;else if(E[ce*2+1]<se)ee=ce+1;else{ue=E[ce*2+2];break}}var ye=ue?ue.indexOf("overlay "):-1;return ye<0?ue:ye==0?null:ue.slice(0,ye-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?a.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var ee=[];if(!x.hasOwnProperty(E))return ee;var ie=x[E],se=this.getModeAt(b);if(typeof se[E]=="string")ie[se[E]]&&ee.push(ie[se[E]]);else if(se[E])for(var ue=0;ue<se[E].length;ue++){var ce=ie[se[E][ue]];ce&&ee.push(ce)}else se.helperType&&ie[se.helperType]?ee.push(ie[se.helperType]):ie[se.name]&&ee.push(ie[se.name]);for(var ye=0;ye<ie._global.length;ye++){var Ae=ie._global[ye];Ae.pred(se,this)&&ct(ee,Ae.val)==-1&&ee.push(Ae.val)}return ee},getStateAfter:function(b,E){var ee=this.doc;return b=Gt(ee,b==null?ee.first+ee.size-1:b),zn(this,b+1,E).state},cursorCoords:function(b,E){var ee,ie=this.doc.sel.primary();return b==null?ee=ie.head:typeof b=="object"?ee=gt(this.doc,b):ee=b?ie.from():ie.to(),wr(this,ee,E||"page")},charCoords:function(b,E){return Fo(this,gt(this.doc,b),E||"page")},coordsChar:function(b,E){return b=Aa(this,b,E||"page"),ar(this,b.left,b.top)},lineAtHeight:function(b,E){return b=Aa(this,{top:b,left:0},E||"page").top,Le(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,ee){var ie=!1,se;if(typeof b=="number"){var ue=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>ue&&(b=ue,ie=!0),se=qe(this.doc,b)}else se=b;return Po(this,se,{top:0,left:0},E||"page",ee||ie).top+(ie?this.doc.height-Zn(se):0)},defaultTextHeight:function(){return Dr(this.display)},defaultCharWidth:function(){return Yr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(b,E,ee,ie,se){var ue=this.display;b=wr(this,gt(this.doc,b));var ce=b.bottom,ye=b.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),ue.sizer.appendChild(E),ie=="over")ce=b.top;else if(ie=="above"||ie=="near"){var Ae=Math.max(ue.wrapper.clientHeight,this.doc.height),Ze=Math.max(ue.sizer.clientWidth,ue.lineSpace.clientWidth);(ie=="above"||b.bottom+E.offsetHeight>Ae)&&b.top>E.offsetHeight?ce=b.top-E.offsetHeight:b.bottom+E.offsetHeight<=Ae&&(ce=b.bottom),ye+E.offsetWidth>Ze&&(ye=Ze-E.offsetWidth)}E.style.top=ce+"px",E.style.left=E.style.right="",se=="right"?(ye=ue.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(se=="left"?ye=0:se=="middle"&&(ye=(ue.sizer.clientWidth-E.offsetWidth)/2),E.style.left=ye+"px"),ee&&Ul(this,{left:ye,top:ce,right:ye+E.offsetWidth,bottom:ce+E.offsetHeight})},triggerOnKeyDown:gr(xl),triggerOnKeyPress:gr(Sl),triggerOnKeyUp:Al,triggerOnMouseDown:gr(El),execCommand:function(b){if(da.hasOwnProperty(b))return da[b].call(null,this)},triggerElectric:gr(function(b){Ml(this,b)}),findPosH:function(b,E,ee,ie){var se=1;E<0&&(se=-1,E=-E);for(var ue=gt(this.doc,b),ce=0;ce<E&&(ue=ys(this.doc,ue,se,ee,ie),!ue.hitSide);++ce);return ue},moveH:gr(function(b,E){var ee=this;this.extendSelectionsBy(function(ie){return ee.display.shift||ee.doc.extend||ie.empty()?ys(ee.doc,ie.head,b,E,ee.options.rtlMoveVisually):b<0?ie.from():ie.to()},ot)}),deleteH:gr(function(b,E){var ee=this.doc.sel,ie=this.doc;ee.somethingSelected()?ie.replaceSelection("",null,"+delete"):Zo(this,function(se){var ue=ys(ie,se.head,b,E,!1);return b<0?{from:ue,to:se.head}:{from:se.head,to:ue}})}),findPosV:function(b,E,ee,ie){var se=1,ue=ie;E<0&&(se=-1,E=-E);for(var ce=gt(this.doc,b),ye=0;ye<E;++ye){var Ae=wr(this,ce,"div");if(ue==null?ue=Ae.left:Ae.left=ue,ce=Wl(this,Ae,se,ee),ce.hitSide)break}return ce},moveV:gr(function(b,E){var ee=this,ie=this.doc,se=[],ue=!this.display.shift&&!ie.extend&&ie.sel.somethingSelected();if(ie.extendSelectionsBy(function(ye){if(ue)return b<0?ye.from():ye.to();var Ae=wr(ee,ye.head,"div");ye.goalColumn!=null&&(Ae.left=ye.goalColumn),se.push(Ae.left);var Ze=Wl(ee,Ae,b,E);return E=="page"&&ye==ie.sel.primary()&&_a(ee,Fo(ee,Ze,"div").top-Ae.top),Ze},ot),se.length)for(var ce=0;ce<ie.sel.ranges.length;ce++)ie.sel.ranges[ce].goalColumn=se[ce]}),findWordAt:function(b){var E=this.doc,ee=qe(E,b.line).text,ie=b.ch,se=b.ch;if(ee){var ue=this.getHelper(b,"wordChars");(b.sticky=="before"||se==ee.length)&&ie?--ie:++se;for(var ce=ee.charAt(ie),ye=le(ce,ue)?function(Ae){return le(Ae,ue)}:/\s/.test(ce)?function(Ae){return/\s/.test(Ae)}:function(Ae){return!/\s/.test(Ae)&&!le(Ae)};ie>0&&ye(ee.charAt(ie-1));)--ie;for(;se<ee.length&&ye(ee.charAt(se));)++se}return new mi(Te(b.line,ie),Te(b.line,se))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?_e(this.display.cursorDiv,"CodeMirror-overwrite"):rt(this.display.cursorDiv,"CodeMirror-overwrite"),an(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Pe()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:gr(function(b,E){_o(this,b,E)}),getScrollInfo:function(){var b=this.display.scroller;return{left:b.scrollLeft,top:b.scrollTop,height:b.scrollHeight-Lr(this)-this.display.barHeight,width:b.scrollWidth-Lr(this)-this.display.barWidth,clientHeight:no(this),clientWidth:Jr(this)}},scrollIntoView:gr(function(b,E){b==null?(b={from:this.doc.sel.primary().head,to:null},E==null&&(E=this.options.cursorScrollMargin)):typeof b=="number"?b={from:Te(b,0),to:null}:b.from==null&&(b={from:b,to:null}),b.to||(b.to=b.from),b.margin=E||0,b.from.line!=null?Gl(this,b):Bs(this,b.from,b.to,b.margin)}),setSize:gr(function(b,E){var ee=this,ie=function(ue){return typeof ue=="number"||/^\d+$/.test(String(ue))?ue+"px":ue};b!=null&&(this.display.wrapper.style.width=ie(b)),E!=null&&(this.display.wrapper.style.height=ie(E)),this.options.lineWrapping&&Xo(this);var se=this.display.viewFrom;this.doc.iter(se,this.display.viewTo,function(ue){if(ue.widgets){for(var ce=0;ce<ue.widgets.length;ce++)if(ue.widgets[ce].noHScroll){co(ee,se,"widget");break}}++se}),this.curOp.forceUpdate=!0,an(this,"refresh",this)}),operation:function(b){return Pr(this,b)},startOperation:function(){return Eo(this)},endOperation:function(){return ko(this)},refresh:gr(function(){var b=this.display.cachedTextHeight;Cr(this),this.curOp.forceUpdate=!0,wo(this),_o(this,this.doc.scrollLeft,this.doc.scrollTop),ts(this.display),(b==null||Math.abs(b-Dr(this.display))>.5||this.options.lineWrapping)&&Xa(this),an(this,"refresh",this)}),swapDoc:gr(function(b){var E=this.doc;return E.cm=null,this.state.selectingText&&this.state.selectingText(),Vs(this,b),wo(this),this.display.input.reset(),_o(this,b.scrollLeft,b.scrollTop),this.curOp.forceScroll=!0,Hi(this,"swapDoc",this,E),E}),phrase:function(b){var E=this.options.phrases;return E&&Object.prototype.hasOwnProperty.call(E,b)?E[b]:b},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}},jt(a),a.registerHelper=function(b,E,ee){x.hasOwnProperty(b)||(x[b]=a[b]={_global:[]}),x[b][E]=ee},a.registerGlobalHelper=function(b,E,ee,ie){a.registerHelper(b,E,ie),x[b]._global.push({pred:ee,val:ie})}}function ys(a,y,x,b,E){var ee=y,ie=x,se=qe(a,y.line),ue=E&&a.direction=="rtl"?-x:x;function ce(){var on=y.line+ue;return on<a.first||on>=a.first+a.size?!1:(y=new Te(on,y.ch,y.sticky),se=qe(a,on))}function ye(on){var qt;if(b=="codepoint"){var dn=se.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(dn)?qt=null:qt=new Te(y.line,Math.max(0,Math.min(se.text.length,y.ch+x*(dn>=55296&&dn<56320?2:1))),-x)}else E?qt=Lu(a.cm,se,y,x):qt=hs(se,y,x);if(qt==null)if(!on&&ce())y=fs(E,a.cm,se,y.line,ue);else return!1;else y=qt;return!0}if(b=="char"||b=="codepoint")ye();else if(b=="column")ye(!0);else if(b=="word"||b=="group")for(var Ae=null,Ze=b=="group",We=a.cm&&a.cm.getHelper(y,"wordChars"),vt=!0;!(x<0&&!ye(!vt));vt=!1){var Et=se.text.charAt(y.ch)||`
|
|
`,Ot=le(Et,We)?"w":Ze&&Et==`
|
|
`?"n":!Ze||/\s/.test(Et)?null:"p";if(Ze&&!vt&&!Ot&&(Ot="s"),Ae&&Ae!=Ot){x<0&&(x=1,ye(),y.sticky="after");break}if(Ot&&(Ae=Ot),x>0&&!ye(!vt))break}var Jt=Oa(a,y,ee,ie,!0);return Ut(ee,Jt)&&(Jt.hitSide=!0),Jt}function Wl(a,y,x,b){var E=a.doc,ee=y.left,ie;if(b=="page"){var se=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ue=Math.max(se-.5*Dr(a.display),3);ie=(x>0?y.bottom:y.top)+x*ue}else b=="line"&&(ie=x>0?y.bottom+3:y.top-3);for(var ce;ce=ar(a,ee,ie),!!ce.outside;){if(x<0?ie<=0:ie>=E.height){ce.hitSide=!0;break}ie+=x*5}return ce}var xi=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new he,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};xi.prototype.init=function(a){var y=this,x=this,b=x.cm,E=x.div=a.lineDiv;Il(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function ee(se){for(var ue=se.target;ue;ue=ue.parentNode){if(ue==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ue.className))break}return!1}kt(E,"paste",function(se){!ee(se)||et(b,se)||Fl(se,b)||me<=11&&setTimeout($i(b,function(){return y.updateFromDOM()}),20)}),kt(E,"compositionstart",function(se){y.composing={data:se.data,done:!1}}),kt(E,"compositionupdate",function(se){y.composing||(y.composing={data:se.data,done:!1})}),kt(E,"compositionend",function(se){y.composing&&(se.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),kt(E,"touchstart",function(){return x.forceCompositionEnd()}),kt(E,"input",function(){y.composing||y.readFromDOMSoon()});function ie(se){if(!(!ee(se)||et(b,se))){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()}),se.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var ue=Tl(b);Za({lineWise:!0,text:ue.text}),se.type=="cut"&&b.operation(function(){b.setSelections(ue.ranges,0,Me),b.replaceSelection("",null,"cut")})}else return;if(se.clipboardData){se.clipboardData.clearData();var ce=Kr.text.join(`
|
|
`);if(se.clipboardData.setData("Text",ce),se.clipboardData.getData("Text")==ce){se.preventDefault();return}}var ye=Ol(),Ae=ye.firstChild;b.display.lineSpace.insertBefore(ye,b.display.lineSpace.firstChild),Ae.value=Kr.text.join(`
|
|
`);var Ze=document.activeElement;bt(Ae),setTimeout(function(){b.display.lineSpace.removeChild(ye),Ze.focus(),Ze==E&&x.showPrimarySelection()},50)}}kt(E,"copy",ie),kt(E,"cut",ie)},xi.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},xi.prototype.prepareSelection=function(){var a=As(this.cm,!1);return a.focus=document.activeElement==this.div,a},xi.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},xi.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},xi.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,x=y.doc.sel.primary(),b=x.from(),E=x.to();if(y.display.viewTo==y.display.viewFrom||b.line>=y.display.viewTo||E.line<y.display.viewFrom){a.removeAllRanges();return}var ee=Va(y,a.anchorNode,a.anchorOffset),ie=Va(y,a.focusNode,a.focusOffset);if(!(ee&&!ee.bad&&ie&&!ie.bad&&dt(Ne(ee,ie),b)==0&&dt(nn(ee,ie),E)==0)){var se=y.display.view,ue=b.line>=y.display.viewFrom&&Rl(y,b)||{node:se[0].measure.map[2],offset:0},ce=E.line<y.display.viewTo&&Rl(y,E);if(!ce){var ye=se[se.length-1].measure,Ae=ye.maps?ye.maps[ye.maps.length-1]:ye.map;ce={node:Ae[Ae.length-1],offset:Ae[Ae.length-2]-Ae[Ae.length-3]}}if(!ue||!ce){a.removeAllRanges();return}var Ze=a.rangeCount&&a.getRangeAt(0),We;try{We=Be(ue.node,ue.offset,ce.offset,ce.node)}catch(vt){}We&&(!ae&&y.state.focused?(a.collapse(ue.node,ue.offset),We.collapsed||(a.removeAllRanges(),a.addRange(We))):(a.removeAllRanges(),a.addRange(We)),Ze&&a.anchorNode==null?a.addRange(Ze):ae&&this.startGracePeriod()),this.rememberSelection()}},xi.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},xi.prototype.showMultipleSelections=function(a){Re(this.cm.display.cursorDiv,a.cursors),Re(this.cm.display.selectionDiv,a.selection)},xi.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},xi.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Ye(this.div,y)},xi.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},xi.prototype.blur=function(){this.div.blur()},xi.prototype.getField=function(){return this.div},xi.prototype.supportsTouch=function(){return!0},xi.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Pr(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},xi.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},xi.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Se&&Ce&&this.cm.display.gutterSpecs.length&&Ku(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Va(y,a.anchorNode,a.anchorOffset),b=Va(y,a.focusNode,a.focusOffset);x&&b&&Pr(y,function(){hr(y.doc,fo(x,b),Me),(x.bad||b.bad)&&(y.curOp.selectionChanged=!0)})}}},xi.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,x=a.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>a.firstLine()&&(b=Te(b.line-1,qe(a.doc,b.line-1).length)),E.ch==qe(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=Te(E.line+1,0)),b.line<y.viewFrom||E.line>y.viewTo-1)return!1;var ee,ie,se;b.line==y.viewFrom||(ee=xo(a,b.line))==0?(ie=ke(y.view[0].line),se=y.view[0].node):(ie=ke(y.view[ee].line),se=y.view[ee-1].node.nextSibling);var ue=xo(a,E.line),ce,ye;if(ue==y.view.length-1?(ce=y.viewTo-1,ye=y.lineDiv.lastChild):(ce=ke(y.view[ue+1].line)-1,ye=y.view[ue+1].node.previousSibling),!se)return!1;for(var Ae=a.doc.splitLines(Xu(a,se,ye,ie,ce)),Ze=$t(a.doc,Te(ie,0),Te(ce,qe(a.doc,ce).text.length));Ae.length>1&&Ze.length>1;)if(xe(Ae)==xe(Ze))Ae.pop(),Ze.pop(),ce--;else if(Ae[0]==Ze[0])Ae.shift(),Ze.shift(),ie++;else break;for(var We=0,vt=0,Et=Ae[0],Ot=Ze[0],Jt=Math.min(Et.length,Ot.length);We<Jt&&Et.charCodeAt(We)==Ot.charCodeAt(We);)++We;for(var on=xe(Ae),qt=xe(Ze),dn=Math.min(on.length-(Ae.length==1?We:0),qt.length-(Ze.length==1?We:0));vt<dn&&on.charCodeAt(on.length-vt-1)==qt.charCodeAt(qt.length-vt-1);)++vt;if(Ae.length==1&&Ze.length==1&&ie==b.line)for(;We&&We>b.ch&&on.charCodeAt(on.length-vt-1)==qt.charCodeAt(qt.length-vt-1);)We--,vt++;Ae[Ae.length-1]=on.slice(0,on.length-vt).replace(/^\u200b+/,""),Ae[0]=Ae[0].slice(We).replace(/\u200b+$/,"");var An=Te(ie,We),yn=Te(ce,Ze.length?xe(Ze).length-vt:0);if(Ae.length>1||Ae[0]||dt(An,yn))return No(a.doc,Ae,An,yn,"+input"),!0},xi.prototype.ensurePolled=function(){this.forceCompositionEnd()},xi.prototype.reset=function(){this.forceCompositionEnd()},xi.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},xi.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},xi.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Pr(this.cm,function(){return Cr(a.cm)})},xi.prototype.setUneditable=function(a){a.contentEditable="false"},xi.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||$i(this.cm,ms)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},xi.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},xi.prototype.onContextMenu=function(){},xi.prototype.resetPosition=function(){},xi.prototype.needsContentAttribute=!0;function Rl(a,y){var x=qr(a,y.line);if(!x||x.hidden)return null;var b=qe(a.doc,y.line),E=Do(x,b,y.line),ee=Zt(b,a.doc.direction),ie="left";if(ee){var se=Nt(ee,y.ch);ie=se%2?"right":"left"}var ue=wa(E.map,y.ch,ie);return ue.offset=ue.collapse=="right"?ue.end:ue.start,ue}function Ku(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Uo(a,y){return y&&(a.bad=!0),a}function Xu(a,y,x,b,E){var ee="",ie=!1,se=a.doc.lineSeparator(),ue=!1;function ce(We){return function(vt){return vt.id==We}}function ye(){ie&&(ee+=se,ue&&(ee+=se),ie=ue=!1)}function Ae(We){We&&(ye(),ee+=We)}function Ze(We){if(We.nodeType==1){var vt=We.getAttribute("cm-text");if(vt){Ae(vt);return}var Et=We.getAttribute("cm-marker"),Ot;if(Et){var Jt=a.findMarks(Te(b,0),Te(E+1,0),ce(+Et));Jt.length&&(Ot=Jt[0].find(0))&&Ae($t(a.doc,Ot.from,Ot.to).join(se));return}if(We.getAttribute("contenteditable")=="false")return;var on=/^(pre|div|p|li|table|br)$/i.test(We.nodeName);if(!/^br$/i.test(We.nodeName)&&We.textContent.length==0)return;on&&ye();for(var qt=0;qt<We.childNodes.length;qt++)Ze(We.childNodes[qt]);/^(pre|p)$/i.test(We.nodeName)&&(ue=!0),on&&(ie=!0)}else We.nodeType==3&&Ae(We.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Ze(y),y!=x;)y=y.nextSibling,ue=!1;return ee}function Va(a,y,x){var b;if(y==a.display.lineDiv){if(b=a.display.lineDiv.childNodes[x],!b)return Uo(a.clipPos(Te(a.display.viewTo-1)),!0);y=null,x=0}else for(b=y;;b=b.parentNode){if(!b||b==a.display.lineDiv)return null;if(b.parentNode&&b.parentNode==a.display.lineDiv)break}for(var E=0;E<a.display.view.length;E++){var ee=a.display.view[E];if(ee.node==b)return Qu(ee,y,x)}}function Qu(a,y,x){var b=a.text.firstChild,E=!1;if(!y||!Ye(b,y))return Uo(Te(ke(a.line),0),!0);if(y==b&&(E=!0,y=b.childNodes[x],x=0,!y)){var ee=a.rest?xe(a.rest):a.line;return Uo(Te(ke(ee),ee.text.length),E)}var ie=y.nodeType==3?y:null,se=y;for(!ie&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(ie=y.firstChild,x&&(x=ie.nodeValue.length));se.parentNode!=b;)se=se.parentNode;var ue=a.measure,ce=ue.maps;function ye(Ot,Jt,on){for(var qt=-1;qt<(ce?ce.length:0);qt++)for(var dn=qt<0?ue.map:ce[qt],An=0;An<dn.length;An+=3){var yn=dn[An+2];if(yn==Ot||yn==Jt){var Vn=ke(qt<0?a.line:a.rest[qt]),Fi=dn[An]+on;return(on<0||yn!=Ot)&&(Fi=dn[An+(on?1:0)]),Te(Vn,Fi)}}}var Ae=ye(ie,se,x);if(Ae)return Uo(Ae,E);for(var Ze=se.nextSibling,We=ie?ie.nodeValue.length-x:0;Ze;Ze=Ze.nextSibling){if(Ae=ye(Ze,Ze.firstChild,0),Ae)return Uo(Te(Ae.line,Ae.ch-We),E);We+=Ze.textContent.length}for(var vt=se.previousSibling,Et=x;vt;vt=vt.previousSibling){if(Ae=ye(vt,vt.firstChild,-1),Ae)return Uo(Te(Ae.line,Ae.ch+Et),E);Et+=vt.textContent.length}}var ji=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new he,this.hasSelection=!1,this.composing=null};ji.prototype.init=function(a){var y=this,x=this,b=this.cm;this.createField(a);var E=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Oe&&(E.style.width="0px"),kt(E,"input",function(){ve&&me>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),kt(E,"paste",function(ie){et(b,ie)||Fl(ie,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function ee(ie){if(!et(b,ie)){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()});else if(b.options.lineWiseCopyCut){var se=Tl(b);Za({lineWise:!0,text:se.text}),ie.type=="cut"?b.setSelections(se.ranges,null,Me):(x.prevInput="",E.value=se.text.join(`
|
|
`),bt(E))}else return;ie.type=="cut"&&(b.state.cutIncoming=+new Date)}}kt(E,"cut",ee),kt(E,"copy",ee),kt(a.scroller,"paste",function(ie){if(!(or(a,ie)||et(b,ie))){if(!E.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var se=new Event("paste");se.clipboardData=ie.clipboardData,E.dispatchEvent(se)}}),kt(a.lineSpace,"selectstart",function(ie){or(a,ie)||sn(ie)}),kt(E,"compositionstart",function(){var ie=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:ie,range:b.markText(ie,b.getCursor("to"),{className:"CodeMirror-composing"})}}),kt(E,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},ji.prototype.createField=function(a){this.wrapper=Ol(),this.textarea=this.wrapper.firstChild},ji.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ji.prototype.prepareSelection=function(){var a=this.cm,y=a.display,x=a.doc,b=As(a);if(a.options.moveInputWithCursor){var E=wr(a,x.sel.primary().head,"div"),ee=y.wrapper.getBoundingClientRect(),ie=y.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,E.top+ie.top-ee.top)),b.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,E.left+ie.left-ee.left))}return b},ji.prototype.showSelection=function(a){var y=this.cm,x=y.display;Re(x.cursorDiv,a.cursors),Re(x.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ji.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var x=y.getSelection();this.textarea.value=x,y.state.focused&&bt(this.textarea),ve&&me>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",ve&&me>=9&&(this.hasSelection=null))}},ji.prototype.getField=function(){return this.textarea},ji.prototype.supportsTouch=function(){return!1},ji.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ee||Pe()!=this.textarea))try{this.textarea.focus()}catch(a){}},ji.prototype.blur=function(){this.textarea.blur()},ji.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ji.prototype.receivedFocus=function(){this.slowPoll()},ji.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ji.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function x(){var b=y.poll();!b&&!a?(a=!0,y.polling.set(60,x)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,x)},ji.prototype.poll=function(){var a=this,y=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||!y.state.focused||Li(x)&&!b&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var E=x.value;if(E==b&&!y.somethingSelected())return!1;if(ve&&me>=9&&this.hasSelection===E||we&&/[\uf700-\uf7ff]/.test(E))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ee=E.charCodeAt(0);if(ee==8203&&!b&&(b="\u200B"),ee==8666)return this.reset(),this.cm.execCommand("undo")}for(var ie=0,se=Math.min(b.length,E.length);ie<se&&b.charCodeAt(ie)==E.charCodeAt(ie);)++ie;return Pr(y,function(){ms(y,E.slice(ie),b.length-ie,null,a.composing?"*compose":null),E.length>1e3||E.indexOf(`
|
|
`)>-1?x.value=a.prevInput="":a.prevInput=E,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ji.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ji.prototype.onKeyPress=function(){ve&&me>=9&&(this.hasSelection=null),this.fastPoll()},ji.prototype.onContextMenu=function(a){var y=this,x=y.cm,b=x.display,E=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ee=Co(x,a),ie=b.scroller.scrollTop;if(!ee||de)return;var se=x.options.resetSelectionOnContextMenu;se&&x.doc.sel.contains(ee)==-1&&$i(x,hr)(x.doc,fo(ee),Me);var ue=E.style.cssText,ce=y.wrapper.style.cssText,ye=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
top: `+(a.clientY-ye.top-5)+"px; left: "+(a.clientX-ye.left-5)+`px;
|
|
z-index: 1000; background: `+(ve?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ae;Ie&&(Ae=window.scrollY),b.input.focus(),Ie&&window.scrollTo(null,Ae),b.input.reset(),x.somethingSelected()||(E.value=y.prevInput=" "),y.contextMenuPending=We,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function Ze(){if(E.selectionStart!=null){var Et=x.somethingSelected(),Ot="\u200B"+(Et?E.value:"");E.value="\u21DA",E.value=Ot,y.prevInput=Et?"":"\u200B",E.selectionStart=1,E.selectionEnd=Ot.length,b.selForContextMenu=x.doc.sel}}function We(){if(y.contextMenuPending==We&&(y.contextMenuPending=!1,y.wrapper.style.cssText=ce,E.style.cssText=ue,ve&&me<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=ie),E.selectionStart!=null)){(!ve||ve&&me<9)&&Ze();var Et=0,Ot=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?$i(x,tl)(x):Et++<10?b.detectingSelectAll=setTimeout(Ot,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Ot,200)}}if(ve&&me>=9&&Ze(),Ke){gn(a);var vt=function(){Vt(window,"mouseup",vt),setTimeout(We,20)};kt(window,"mouseup",vt)}else setTimeout(We,50)},ji.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ji.prototype.setUneditable=function(){},ji.prototype.needsContentAttribute=!1;function Ju(a,y){if(y=y?Rt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var x=Pe();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=se.getValue()}var E;if(a.form&&(kt(a.form,"submit",b),!y.leaveSubmitMethodAlone)){var ee=a.form;E=ee.submit;try{var ie=ee.submit=function(){b(),ee.submit=E,ee.submit(),ee.submit=ie}}catch(ue){}}y.finishInit=function(ue){ue.save=b,ue.getTextArea=function(){return a},ue.toTextArea=function(){ue.toTextArea=isNaN,b(),a.parentNode.removeChild(ue.getWrapperElement()),a.style.display="",a.form&&(Vt(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=E))}},a.style.display="none";var se=Ri(function(ue){return a.parentNode.insertBefore(ue,a.nextSibling)},y);return se}function qu(a){a.off=Vt,a.on=kt,a.wheelEventPixels=ru,a.Doc=xr,a.splitLines=si,a.countColumn=ge,a.findColumn=Kt,a.isWordChar=re,a.Pass=Ct,a.signal=an,a.Line=Oi,a.changeEnd=po,a.scrollbarModel=Fs,a.Pos=Te,a.cmpPos=dt,a.modes=ln,a.mimeModes=fn,a.resolveMode=Yn,a.getMode=ni,a.modeExtensions=Mi,a.extendMode=ci,a.copyState=Tn,a.startState=Ni,a.innerMode=Un,a.commands=da,a.keyMap=ro,a.keyName=ml,a.isModifierKey=vl,a.lookupKey=Ho,a.normalizeKeyMap=ku,a.StringStream=Mt,a.SharedTextMarker=ca,a.TextMarker=go,a.LineWidget=ua,a.e_preventDefault=sn,a.e_stopPropagation=En,a.e_stop=gn,a.addClass=_e,a.contains=Ye,a.rmClass=rt,a.keyNames=mo}Vu(Ri),ju(Ri);var _u="iter insert remove copy getEditor constructor".split(" ");for(var Ua in xr.prototype)xr.prototype.hasOwnProperty(Ua)&&ct(_u,Ua)<0&&(Ri.prototype[Ua]=function(a){return function(){return a.apply(this.doc,arguments)}}(xr.prototype[Ua]));return jt(xr),Ri.inputStyles={textarea:ji,contenteditable:xi},Ri.defineMode=function(a){!Ri.defaults.mode&&a!="null"&&(Ri.defaults.mode=a),Ln.apply(this,arguments)},Ri.defineMIME=Wi,Ri.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ri.defineMIME("text/plain","null"),Ri.defineExtension=function(a,y){Ri.prototype[a]=y},Ri.defineDocExtension=function(a,y){xr.prototype[a]=y},Ri.fromTextArea=Ju,qu(Ri),Ri.version="5.58.2",Ri})},25419:function(xt,Pt,fe){(function(ae){ae(fe(89780),fe(15525),fe(98101))})(function(ae){"use strict";ae.defineMode("markdown",function(je,De){var ze=ae.getMode(je,"text/html"),ve=ze.name=="null";function me(ge){if(ae.findModeByName){var he=ae.findModeByName(ge);he&&(ge=he.mime||he.mimes[0])}var ct=ae.getMode(je,ge);return ct.name=="null"?null:ct}De.highlightFormatting===void 0&&(De.highlightFormatting=!1),De.maxBlockquoteDepth===void 0&&(De.maxBlockquoteDepth=0),De.taskLists===void 0&&(De.taskLists=!1),De.strikethrough===void 0&&(De.strikethrough=!1),De.emoji===void 0&&(De.emoji=!1),De.fencedCodeBlockHighlighting===void 0&&(De.fencedCodeBlockHighlighting=!0),De.fencedCodeBlockDefaultMode===void 0&&(De.fencedCodeBlockDefaultMode="text/plain"),De.xml===void 0&&(De.xml=!0),De.tokenTypeOverrides===void 0&&(De.tokenTypeOverrides={});var Ie={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 He in Ie)Ie.hasOwnProperty(He)&&De.tokenTypeOverrides[He]&&(Ie[He]=De.tokenTypeOverrides[He]);var Ce=/^([*\-_])(?:\s*\1){2,}\s*$/,de=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Je=/^\[(x| )\](?=\s)/i,pe=De.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,at=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,Se=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ee=/^\s*\[[^\]]+?\]:.*$/,we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ve=" ";function tt(ge,he,ct){return he.f=he.inline=ct,ct(ge,he)}function nt(ge,he,ct){return he.f=he.block=ct,ct(ge,he)}function it(ge){return!ge||!/\S/.test(ge.string)}function Ke(ge){if(ge.linkTitle=!1,ge.linkHref=!1,ge.linkText=!1,ge.em=!1,ge.strong=!1,ge.strikethrough=!1,ge.quote=0,ge.indentedCode=!1,ge.f==rt){var he=ve;if(!he){var ct=ae.innerMode(ze,ge.htmlState);he=ct.mode.name=="xml"&&ct.state.tagStart===null&&!ct.state.context&&ct.state.tokenize.isInText}he&&(ge.f=ut,ge.block=Xe,ge.htmlState=null)}return ge.trailingSpace=0,ge.trailingSpaceNewLine=!1,ge.prevLine=ge.thisLine,ge.thisLine={stream:null},null}function Xe(ge,he){var ct=ge.column()===he.indentation,Yt=it(he.prevLine.stream),Ct=he.indentedCode,Me=he.prevLine.hr,Qe=he.list!==!1,ot=(he.listStack[he.listStack.length-1]||0)+3;he.indentedCode=!1;var Kt=he.indentation;if(he.indentationDiff===null&&(he.indentationDiff=he.indentation,Qe)){for(he.list=null;Kt<he.listStack[he.listStack.length-1];)he.listStack.pop(),he.listStack.length?he.indentation=he.listStack[he.listStack.length-1]:he.list=!1;he.list!==!1&&(he.indentationDiff=Kt-he.listStack[he.listStack.length-1])}var Ge=!Yt&&!Me&&!he.prevLine.header&&(!Qe||!Ct)&&!he.prevLine.fencedCodeEnd,st=(he.list===!1||Me||Yt)&&he.indentation<=ot&&ge.match(Ce),xe=null;if(he.indentationDiff>=4&&(Ct||he.prevLine.fencedCodeEnd||he.prevLine.header||Yt))return ge.skipToEnd(),he.indentedCode=!0,Ie.code;if(ge.eatSpace())return null;if(ct&&he.indentation<=ot&&(xe=ge.match(pe))&&xe[1].length<=6)return he.quote=0,he.header=xe[1].length,he.thisLine.header=!0,De.highlightFormatting&&(he.formatting="header"),he.f=he.inline,Re(he);if(he.indentation<=ot&&ge.eat(">"))return he.quote=ct?1:he.quote+1,De.highlightFormatting&&(he.formatting="quote"),ge.eatSpace(),Re(he);if(!st&&!he.setext&&ct&&he.indentation<=ot&&(xe=ge.match(de))){var lt=xe[1]?"ol":"ul";return he.indentation=Kt+ge.current().length,he.list=!0,he.quote=0,he.listStack.push(he.indentation),he.em=!1,he.strong=!1,he.code=!1,he.strikethrough=!1,De.taskLists&&ge.match(Je,!1)&&(he.taskList=!0),he.f=he.inline,De.highlightFormatting&&(he.formatting=["list","list-"+lt]),Re(he)}else{if(ct&&he.indentation<=ot&&(xe=ge.match(Se,!0)))return he.quote=0,he.fencedEndRE=new RegExp(xe[1]+"+ *$"),he.localMode=De.fencedCodeBlockHighlighting&&me(xe[2]||De.fencedCodeBlockDefaultMode),he.localMode&&(he.localState=ae.startState(he.localMode)),he.f=he.block=At,De.highlightFormatting&&(he.formatting="code-block"),he.code=-1,Re(he);if(he.setext||(!Ge||!Qe)&&!he.quote&&he.list===!1&&!he.code&&!st&&!Ee.test(ge.string)&&(xe=ge.lookAhead(1))&&(xe=xe.match(at)))return he.setext?(he.header=he.setext,he.setext=0,ge.skipToEnd(),De.highlightFormatting&&(he.formatting="header")):(he.header=xe[0].charAt(0)=="="?1:2,he.setext=he.header),he.thisLine.header=!0,he.f=he.inline,Re(he);if(st)return ge.skipToEnd(),he.hr=!0,he.thisLine.hr=!0,Ie.hr;if(ge.peek()==="[")return tt(ge,he,Wt)}return tt(ge,he,he.inline)}function rt(ge,he){var ct=ze.token(ge,he.htmlState);if(!ve){var Yt=ae.innerMode(ze,he.htmlState);(Yt.mode.name=="xml"&&Yt.state.tagStart===null&&!Yt.state.context&&Yt.state.tokenize.isInText||he.md_inside&&ge.current().indexOf(">")>-1)&&(he.f=ut,he.block=Xe,he.htmlState=null)}return ct}function At(ge,he){var ct=he.listStack[he.listStack.length-1]||0,Yt=he.indentation<ct,Ct=ct+3;if(he.fencedEndRE&&he.indentation<=Ct&&(Yt||ge.match(he.fencedEndRE))){De.highlightFormatting&&(he.formatting="code-block");var Me;return Yt||(Me=Re(he)),he.localMode=he.localState=null,he.block=Xe,he.f=ut,he.fencedEndRE=null,he.code=0,he.thisLine.fencedCodeEnd=!0,Yt?nt(ge,he,he.block):Me}else return he.localMode?he.localMode.token(ge,he.localState):(ge.skipToEnd(),Ie.code)}function Re(ge){var he=[];if(ge.formatting){he.push(Ie.formatting),typeof ge.formatting=="string"&&(ge.formatting=[ge.formatting]);for(var ct=0;ct<ge.formatting.length;ct++)he.push(Ie.formatting+"-"+ge.formatting[ct]),ge.formatting[ct]==="header"&&he.push(Ie.formatting+"-"+ge.formatting[ct]+"-"+ge.header),ge.formatting[ct]==="quote"&&(!De.maxBlockquoteDepth||De.maxBlockquoteDepth>=ge.quote?he.push(Ie.formatting+"-"+ge.formatting[ct]+"-"+ge.quote):he.push("error"))}if(ge.taskOpen)return he.push("meta"),he.length?he.join(" "):null;if(ge.taskClosed)return he.push("property"),he.length?he.join(" "):null;if(ge.linkHref?he.push(Ie.linkHref,"url"):(ge.strong&&he.push(Ie.strong),ge.em&&he.push(Ie.em),ge.strikethrough&&he.push(Ie.strikethrough),ge.emoji&&he.push(Ie.emoji),ge.linkText&&he.push(Ie.linkText),ge.code&&he.push(Ie.code),ge.image&&he.push(Ie.image),ge.imageAltText&&he.push(Ie.imageAltText,"link"),ge.imageMarker&&he.push(Ie.imageMarker)),ge.header&&he.push(Ie.header,Ie.header+"-"+ge.header),ge.quote&&(he.push(Ie.quote),!De.maxBlockquoteDepth||De.maxBlockquoteDepth>=ge.quote?he.push(Ie.quote+"-"+ge.quote):he.push(Ie.quote+"-"+De.maxBlockquoteDepth)),ge.list!==!1){var Yt=(ge.listStack.length-1)%3;Yt?Yt===1?he.push(Ie.list2):he.push(Ie.list3):he.push(Ie.list1)}return ge.trailingSpaceNewLine?he.push("trailing-space-new-line"):ge.trailingSpace&&he.push("trailing-space-"+(ge.trailingSpace%2?"a":"b")),he.length?he.join(" "):null}function Fe(ge,he){if(ge.match(Oe,!0))return Re(he)}function ut(ge,he){var ct=he.text(ge,he);if(typeof ct!="undefined")return ct;if(he.list)return he.list=null,Re(he);if(he.taskList){var Yt=ge.match(Je,!0)[1]===" ";return Yt?he.taskOpen=!0:he.taskClosed=!0,De.highlightFormatting&&(he.formatting="task"),he.taskList=!1,Re(he)}if(he.taskOpen=!1,he.taskClosed=!1,he.header&&ge.match(/^#+$/,!0))return De.highlightFormatting&&(he.formatting="header"),Re(he);var Ct=ge.next();if(he.linkTitle){he.linkTitle=!1;var Me=Ct;Ct==="("&&(Me=")"),Me=(Me+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Qe="^\\s*(?:[^"+Me+"\\\\]+|\\\\\\\\|\\\\.)"+Me;if(ge.match(new RegExp(Qe),!0))return Ie.linkHref}if(Ct==="`"){var ot=he.formatting;De.highlightFormatting&&(he.formatting="code"),ge.eatWhile("`");var Kt=ge.current().length;if(he.code==0&&(!he.quote||Kt==1))return he.code=Kt,Re(he);if(Kt==he.code){var Ge=Re(he);return he.code=0,Ge}else return he.formatting=ot,Re(he)}else if(he.code)return Re(he);if(Ct==="\\"&&(ge.next(),De.highlightFormatting)){var st=Re(he),xe=Ie.formatting+"-escape";return st?st+" "+xe:xe}if(Ct==="!"&&ge.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return he.imageMarker=!0,he.image=!0,De.highlightFormatting&&(he.formatting="image"),Re(he);if(Ct==="["&&he.imageMarker&&ge.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return he.imageMarker=!1,he.imageAltText=!0,De.highlightFormatting&&(he.formatting="image"),Re(he);if(Ct==="]"&&he.imageAltText){De.highlightFormatting&&(he.formatting="image");var st=Re(he);return he.imageAltText=!1,he.image=!1,he.inline=he.f=Ye,st}if(Ct==="["&&!he.image)return he.linkText&&ge.match(/^.*?\]/)||(he.linkText=!0,De.highlightFormatting&&(he.formatting="link")),Re(he);if(Ct==="]"&&he.linkText){De.highlightFormatting&&(he.formatting="link");var st=Re(he);return he.linkText=!1,he.inline=he.f=ge.match(/\(.*?\)| ?\[.*?\]/,!1)?Ye:ut,st}if(Ct==="<"&&ge.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=Be,De.highlightFormatting&&(he.formatting="link");var st=Re(he);return st?st+=" ":st="",st+Ie.linkInline}if(Ct==="<"&&ge.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=Be,De.highlightFormatting&&(he.formatting="link");var st=Re(he);return st?st+=" ":st="",st+Ie.linkEmail}if(De.xml&&Ct==="<"&&ge.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var lt=ge.string.indexOf(">",ge.pos);if(lt!=-1){var wt=ge.string.substring(ge.start,lt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(wt)&&(he.md_inside=!0)}return ge.backUp(1),he.htmlState=ae.startState(ze),nt(ge,he,rt)}if(De.xml&&Ct==="<"&&ge.match(/^\/\w*?>/))return he.md_inside=!1,"tag";if(Ct==="*"||Ct==="_"){for(var oe=1,te=ge.pos==1?" ":ge.string.charAt(ge.pos-2);oe<3&&ge.eat(Ct);)oe++;var z=ge.peek()||" ",re=!/\s/.test(z)&&(!we.test(z)||/\s/.test(te)||we.test(te)),le=!/\s/.test(te)&&(!we.test(te)||/\s/.test(z)||we.test(z)),ne=null,be=null;if(oe%2&&(!he.em&&re&&(Ct==="*"||!le||we.test(te))?ne=!0:he.em==Ct&&le&&(Ct==="*"||!re||we.test(z))&&(ne=!1)),oe>1&&(!he.strong&&re&&(Ct==="*"||!le||we.test(te))?be=!0:he.strong==Ct&&le&&(Ct==="*"||!re||we.test(z))&&(be=!1)),be!=null||ne!=null){De.highlightFormatting&&(he.formatting=ne==null?"strong":be==null?"em":"strong em"),ne===!0&&(he.em=Ct),be===!0&&(he.strong=Ct);var Ge=Re(he);return ne===!1&&(he.em=!1),be===!1&&(he.strong=!1),Ge}}else if(Ct===" "&&(ge.eat("*")||ge.eat("_"))){if(ge.peek()===" ")return Re(he);ge.backUp(1)}if(De.strikethrough){if(Ct==="~"&&ge.eatWhile(Ct)){if(he.strikethrough){De.highlightFormatting&&(he.formatting="strikethrough");var Ge=Re(he);return he.strikethrough=!1,Ge}else if(ge.match(/^[^\s]/,!1))return he.strikethrough=!0,De.highlightFormatting&&(he.formatting="strikethrough"),Re(he)}else if(Ct===" "&&ge.match(/^~~/,!0)){if(ge.peek()===" ")return Re(he);ge.backUp(2)}}if(De.emoji&&Ct===":"&&ge.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){he.emoji=!0,De.highlightFormatting&&(he.formatting="emoji");var Ue=Re(he);return he.emoji=!1,Ue}return Ct===" "&&(ge.match(/^ +$/,!1)?he.trailingSpace++:he.trailingSpace&&(he.trailingSpaceNewLine=!0)),Re(he)}function Be(ge,he){var ct=ge.next();if(ct===">"){he.f=he.inline=ut,De.highlightFormatting&&(he.formatting="link");var Yt=Re(he);return Yt?Yt+=" ":Yt="",Yt+Ie.linkInline}return ge.match(/^[^>]+/,!0),Ie.linkInline}function Ye(ge,he){if(ge.eatSpace())return null;var ct=ge.next();return ct==="("||ct==="["?(he.f=he.inline=_e(ct==="("?")":"]"),De.highlightFormatting&&(he.formatting="link-string"),he.linkHref=!0,Re(he)):"error"}var Pe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function _e(ge){return function(he,ct){var Yt=he.next();if(Yt===ge){ct.f=ct.inline=ut,De.highlightFormatting&&(ct.formatting="link-string");var Ct=Re(ct);return ct.linkHref=!1,Ct}return he.match(Pe[ge]),ct.linkHref=!0,Re(ct)}}function Wt(ge,he){return ge.match(/^([^\]\\]|\\.)*\]:/,!1)?(he.f=bt,ge.next(),De.highlightFormatting&&(he.formatting="link"),he.linkText=!0,Re(he)):tt(ge,he,ut)}function bt(ge,he){if(ge.match(/^\]:/,!0)){he.f=he.inline=un,De.highlightFormatting&&(he.formatting="link");var ct=Re(he);return he.linkText=!1,ct}return ge.match(/^([^\]\\]|\\.)+/,!0),Ie.linkText}function un(ge,he){return ge.eatSpace()?null:(ge.match(/^[^\s]+/,!0),ge.peek()===void 0?he.linkTitle=!0:ge.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),he.f=he.inline=ut,Ie.linkHref+" url")}var Rt={startState:function(){return{f:Xe,prevLine:{stream:null},thisLine:{stream:null},block:Xe,htmlState:null,indentation:0,inline:ut,text:Fe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(ge){return{f:ge.f,prevLine:ge.prevLine,thisLine:ge.thisLine,block:ge.block,htmlState:ge.htmlState&&ae.copyState(ze,ge.htmlState),indentation:ge.indentation,localMode:ge.localMode,localState:ge.localMode?ae.copyState(ge.localMode,ge.localState):null,inline:ge.inline,text:ge.text,formatting:!1,linkText:ge.linkText,linkTitle:ge.linkTitle,linkHref:ge.linkHref,code:ge.code,em:ge.em,strong:ge.strong,strikethrough:ge.strikethrough,emoji:ge.emoji,header:ge.header,setext:ge.setext,hr:ge.hr,taskList:ge.taskList,list:ge.list,listStack:ge.listStack.slice(0),quote:ge.quote,indentedCode:ge.indentedCode,trailingSpace:ge.trailingSpace,trailingSpaceNewLine:ge.trailingSpaceNewLine,md_inside:ge.md_inside,fencedEndRE:ge.fencedEndRE}},token:function(ge,he){if(he.formatting=!1,ge!=he.thisLine.stream){if(he.header=0,he.hr=!1,ge.match(/^\s*$/,!0))return Ke(he),null;if(he.prevLine=he.thisLine,he.thisLine={stream:ge},he.taskList=!1,he.trailingSpace=0,he.trailingSpaceNewLine=!1,!he.localState&&(he.f=he.block,he.f!=rt)){var ct=ge.match(/^\s*/,!0)[0].replace(/\t/g,Ve).length;if(he.indentation=ct,he.indentationDiff=null,ct>0)return null}}return he.f(ge,he)},innerMode:function(ge){return ge.block==rt?{state:ge.htmlState,mode:ze}:ge.localState?{state:ge.localState,mode:ge.localMode}:{state:ge,mode:Rt}},indent:function(ge,he,ct){return ge.block==rt&&ze.indent?ze.indent(ge.htmlState,he,ct):ge.localState&&ge.localMode.indent?ge.localMode.indent(ge.localState,he,ct):ae.Pass},blankLine:Ke,getType:Re,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Rt},"xml"),ae.defineMIME("text/markdown","markdown"),ae.defineMIME("text/x-markdown","markdown")})},98101:function(xt,Pt,fe){(function(ae){ae(fe(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 je=0;je<ae.modeInfo.length;je++){var De=ae.modeInfo[je];De.mimes&&(De.mime=De.mimes[0])}ae.findModeByMIME=function(ze){ze=ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var me=ae.modeInfo[ve];if(me.mime==ze)return me;if(me.mimes){for(var Ie=0;Ie<me.mimes.length;Ie++)if(me.mimes[Ie]==ze)return me}}if(/\+xml$/.test(ze))return ae.findModeByMIME("application/xml");if(/\+json$/.test(ze))return ae.findModeByMIME("application/json")},ae.findModeByExtension=function(ze){ze=ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var me=ae.modeInfo[ve];if(me.ext){for(var Ie=0;Ie<me.ext.length;Ie++)if(me.ext[Ie]==ze)return me}}},ae.findModeByFileName=function(ze){for(var ve=0;ve<ae.modeInfo.length;ve++){var me=ae.modeInfo[ve];if(me.file&&me.file.test(ze))return me}var Ie=ze.lastIndexOf("."),He=Ie>-1&&ze.substring(Ie+1,ze.length);if(He)return ae.findModeByExtension(He)},ae.findModeByName=function(ze){ze=ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var me=ae.modeInfo[ve];if(me.name.toLowerCase()==ze)return me;if(me.alias){for(var Ie=0;Ie<me.alias.length;Ie++)if(me.alias[Ie].toLowerCase()==ze)return me}}}})},67549:function(xt,Pt,fe){(function(ae){ae(fe(89780))})(function(ae){"use strict";ae.defineMode("stex",function(je,De){"use strict";function ze(Oe,Se){Oe.cmdState.push(Se)}function ve(Oe){return Oe.cmdState.length>0?Oe.cmdState[Oe.cmdState.length-1]:null}function me(Oe){var Se=Oe.cmdState.pop();Se&&Se.closeBracket()}function Ie(Oe){for(var Se=Oe.cmdState,Ee=Se.length-1;Ee>=0;Ee--){var we=Se[Ee];if(we.name!="DEFAULT")return we}return{styleIdentifier:function(){return null}}}function He(Oe,Se,Ee){return function(){this.name=Oe,this.bracketNo=0,this.style=Se,this.styles=Ee,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ce={};Ce.importmodule=He("importmodule","tag",["string","builtin"]),Ce.documentclass=He("documentclass","tag",["","atom"]),Ce.usepackage=He("usepackage","tag",["atom"]),Ce.begin=He("begin","tag",["atom"]),Ce.end=He("end","tag",["atom"]),Ce.label=He("label","tag",["atom"]),Ce.ref=He("ref","tag",["atom"]),Ce.eqref=He("eqref","tag",["atom"]),Ce.cite=He("cite","tag",["atom"]),Ce.bibitem=He("bibitem","tag",["atom"]),Ce.Bibitem=He("Bibitem","tag",["atom"]),Ce.RBibitem=He("RBibitem","tag",["atom"]),Ce.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function de(Oe,Se){Oe.f=Se}function Je(Oe,Se){var Ee;if(Oe.match(/^\\[a-zA-Z@]+/)){var we=Oe.current().slice(1);return Ee=Ce.hasOwnProperty(we)?Ce[we]:Ce.DEFAULT,Ee=new Ee,ze(Se,Ee),de(Se,at),Ee.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return de(Se,function(tt,nt){return pe(tt,nt,"\\]")}),"keyword";if(Oe.match("\\("))return de(Se,function(tt,nt){return pe(tt,nt,"\\)")}),"keyword";if(Oe.match("$$"))return de(Se,function(tt,nt){return pe(tt,nt,"$$")}),"keyword";if(Oe.match("$"))return de(Se,function(tt,nt){return pe(tt,nt,"$")}),"keyword";var Ve=Oe.next();if(Ve=="%")return Oe.skipToEnd(),"comment";if(Ve=="}"||Ve=="]"){if(Ee=ve(Se),Ee)Ee.closeBracket(Ve),de(Se,at);else return"error";return"bracket"}else return Ve=="{"||Ve=="["?(Ee=Ce.DEFAULT,Ee=new Ee,ze(Se,Ee),"bracket"):/\d/.test(Ve)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),Ee=Ie(Se),Ee.name=="begin"&&(Ee.argument=Oe.current()),Ee.styleIdentifier())}function pe(Oe,Se,Ee){if(Oe.eatSpace())return null;if(Ee&&Oe.match(Ee))return de(Se,Je),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var we=Oe.next();return we=="{"||we=="}"||we=="["||we=="]"||we=="("||we==")"?"bracket":we=="%"?(Oe.skipToEnd(),"comment"):"error"}function at(Oe,Se){var Ee=Oe.peek(),we;return Ee=="{"||Ee=="["?(we=ve(Se),we.openBracket(Ee),Oe.eat(Ee),de(Se,Je),"bracket"):/[ \t\r]/.test(Ee)?(Oe.eat(Ee),null):(de(Se,Je),me(Se),Je(Oe,Se))}return{startState:function(){var Oe=De.inMathMode?function(Se,Ee){return pe(Se,Ee)}:Je;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,Se){return Se.f(Oe,Se)},blankLine:function(Oe){Oe.f=Je,Oe.cmdState.length=0},lineComment:"%"}}),ae.defineMIME("text/x-stex","stex"),ae.defineMIME("text/x-latex","stex")})},15525:function(xt,Pt,fe){(function(ae){ae(fe(89780))})(function(ae){"use strict";var je={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},De={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ae.defineMode("xml",function(ze,ve){var me=ze.indentUnit,Ie={},He=ve.htmlMode?je:De;for(var Ce in He)Ie[Ce]=He[Ce];for(var Ce in ve)Ie[Ce]=ve[Ce];var de,Je;function pe(Be,Ye){function Pe(bt){return Ye.tokenize=bt,bt(Be,Ye)}var _e=Be.next();if(_e=="<")return Be.eat("!")?Be.eat("[")?Be.match("CDATA[")?Pe(Se("atom","]]>")):null:Be.match("--")?Pe(Se("comment","-->")):Be.match("DOCTYPE",!0,!0)?(Be.eatWhile(/[\w\._\-]/),Pe(Ee(1))):null:Be.eat("?")?(Be.eatWhile(/[\w\._\-]/),Ye.tokenize=Se("meta","?>"),"meta"):(de=Be.eat("/")?"closeTag":"openTag",Ye.tokenize=at,"tag bracket");if(_e=="&"){var Wt;return Be.eat("#")?Be.eat("x")?Wt=Be.eatWhile(/[a-fA-F\d]/)&&Be.eat(";"):Wt=Be.eatWhile(/[\d]/)&&Be.eat(";"):Wt=Be.eatWhile(/[\w\.\-:]/)&&Be.eat(";"),Wt?"atom":"error"}else return Be.eatWhile(/[^&<]/),null}pe.isInText=!0;function at(Be,Ye){var Pe=Be.next();if(Pe==">"||Pe=="/"&&Be.eat(">"))return Ye.tokenize=pe,de=Pe==">"?"endTag":"selfcloseTag","tag bracket";if(Pe=="=")return de="equals",null;if(Pe=="<"){Ye.tokenize=pe,Ye.state=nt,Ye.tagName=Ye.tagStart=null;var _e=Ye.tokenize(Be,Ye);return _e?_e+" tag error":"tag error"}else return/[\'\"]/.test(Pe)?(Ye.tokenize=Oe(Pe),Ye.stringStartCol=Be.column(),Ye.tokenize(Be,Ye)):(Be.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(Be){var Ye=function(Pe,_e){for(;!Pe.eol();)if(Pe.next()==Be){_e.tokenize=at;break}return"string"};return Ye.isInAttribute=!0,Ye}function Se(Be,Ye){return function(Pe,_e){for(;!Pe.eol();){if(Pe.match(Ye)){_e.tokenize=pe;break}Pe.next()}return Be}}function Ee(Be){return function(Ye,Pe){for(var _e;(_e=Ye.next())!=null;){if(_e=="<")return Pe.tokenize=Ee(Be+1),Pe.tokenize(Ye,Pe);if(_e==">")if(Be==1){Pe.tokenize=pe;break}else return Pe.tokenize=Ee(Be-1),Pe.tokenize(Ye,Pe)}return"meta"}}function we(Be,Ye,Pe){this.prev=Be.context,this.tagName=Ye,this.indent=Be.indented,this.startOfLine=Pe,(Ie.doNotIndent.hasOwnProperty(Ye)||Be.context&&Be.context.noIndent)&&(this.noIndent=!0)}function Ve(Be){Be.context&&(Be.context=Be.context.prev)}function tt(Be,Ye){for(var Pe;;){if(!Be.context||(Pe=Be.context.tagName,!Ie.contextGrabbers.hasOwnProperty(Pe)||!Ie.contextGrabbers[Pe].hasOwnProperty(Ye)))return;Ve(Be)}}function nt(Be,Ye,Pe){return Be=="openTag"?(Pe.tagStart=Ye.column(),it):Be=="closeTag"?Ke:nt}function it(Be,Ye,Pe){return Be=="word"?(Pe.tagName=Ye.current(),Je="tag",At):Ie.allowMissingTagName&&Be=="endTag"?(Je="tag bracket",At(Be,Ye,Pe)):(Je="error",it)}function Ke(Be,Ye,Pe){if(Be=="word"){var _e=Ye.current();return Pe.context&&Pe.context.tagName!=_e&&Ie.implicitlyClosed.hasOwnProperty(Pe.context.tagName)&&Ve(Pe),Pe.context&&Pe.context.tagName==_e||Ie.matchClosing===!1?(Je="tag",Xe):(Je="tag error",rt)}else return Ie.allowMissingTagName&&Be=="endTag"?(Je="tag bracket",Xe(Be,Ye,Pe)):(Je="error",rt)}function Xe(Be,Ye,Pe){return Be!="endTag"?(Je="error",Xe):(Ve(Pe),nt)}function rt(Be,Ye,Pe){return Je="error",Xe(Be,Ye,Pe)}function At(Be,Ye,Pe){if(Be=="word")return Je="attribute",Re;if(Be=="endTag"||Be=="selfcloseTag"){var _e=Pe.tagName,Wt=Pe.tagStart;return Pe.tagName=Pe.tagStart=null,Be=="selfcloseTag"||Ie.autoSelfClosers.hasOwnProperty(_e)?tt(Pe,_e):(tt(Pe,_e),Pe.context=new we(Pe,_e,Wt==Pe.indented)),nt}return Je="error",At}function Re(Be,Ye,Pe){return Be=="equals"?Fe:(Ie.allowMissing||(Je="error"),At(Be,Ye,Pe))}function Fe(Be,Ye,Pe){return Be=="string"?ut:Be=="word"&&Ie.allowUnquoted?(Je="string",At):(Je="error",At(Be,Ye,Pe))}function ut(Be,Ye,Pe){return Be=="string"?ut:At(Be,Ye,Pe)}return{startState:function(Be){var Ye={tokenize:pe,state:nt,indented:Be||0,tagName:null,tagStart:null,context:null};return Be!=null&&(Ye.baseIndent=Be),Ye},token:function(Be,Ye){if(!Ye.tagName&&Be.sol()&&(Ye.indented=Be.indentation()),Be.eatSpace())return null;de=null;var Pe=Ye.tokenize(Be,Ye);return(Pe||de)&&Pe!="comment"&&(Je=null,Ye.state=Ye.state(de||Pe,Be,Ye),Je&&(Pe=Je=="error"?Pe+" error":Je)),Pe},indent:function(Be,Ye,Pe){var _e=Be.context;if(Be.tokenize.isInAttribute)return Be.tagStart==Be.indented?Be.stringStartCol+1:Be.indented+me;if(_e&&_e.noIndent)return ae.Pass;if(Be.tokenize!=at&&Be.tokenize!=pe)return Pe?Pe.match(/^(\s*)/)[0].length:0;if(Be.tagName)return Ie.multilineTagIndentPastTag!==!1?Be.tagStart+Be.tagName.length+2:Be.tagStart+me*(Ie.multilineTagIndentFactor||1);if(Ie.alignCDATA&&/<!\[CDATA\[/.test(Ye))return 0;var Wt=Ye&&/^<(\/)?([\w_:\.-]*)/.exec(Ye);if(Wt&&Wt[1])for(;_e;)if(_e.tagName==Wt[2]){_e=_e.prev;break}else if(Ie.implicitlyClosed.hasOwnProperty(_e.tagName))_e=_e.prev;else break;else if(Wt)for(;_e;){var bt=Ie.contextGrabbers[_e.tagName];if(bt&&bt.hasOwnProperty(Wt[2]))_e=_e.prev;else break}for(;_e&&_e.prev&&!_e.startOfLine;)_e=_e.prev;return _e?_e.indent+me:Be.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ie.htmlMode?"html":"xml",helperType:Ie.htmlMode?"html":"xml",skipAttribute:function(Be){Be.state==Fe&&(Be.state=At)},xmlCurrentTag:function(Be){return Be.tagName?{name:Be.tagName,close:Be.type=="closeTag"}:null},xmlCurrentContext:function(Be){for(var Ye=[],Pe=Be.context;Pe;Pe=Pe.prev)Pe.tagName&&Ye.push(Pe.tagName);return Ye.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(xt,Pt,fe){"use strict";fe.d(Pt,{hP:function(){return wt}});var ae=function(oe,te){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,re){z.__proto__=re}||function(z,re){for(var le in re)Object.prototype.hasOwnProperty.call(re,le)&&(z[le]=re[le])})(oe,te)};function je(oe,te){function z(){this.constructor=oe}ae(oe,te),oe.prototype=te===null?Object.create(te):(z.prototype=te.prototype,new z)}function De(oe,te,z,re){return new(z||(z=Promise))(function(le,ne){function be(mt){try{Dt(re.next(mt))}catch(ft){ne(ft)}}function Ue(mt){try{Dt(re.throw(mt))}catch(ft){ne(ft)}}function Dt(mt){var ft;mt.done?le(mt.value):(ft=mt.value,ft instanceof z?ft:new z(function(yt){yt(ft)})).then(be,Ue)}Dt((re=re.apply(oe,te||[])).next())})}function ze(oe,te){var z,re,le,ne,be={label:0,sent:function(){if(1&le[0])throw le[1];return le[1]},trys:[],ops:[]};return ne={next:Ue(0),throw:Ue(1),return:Ue(2)},typeof Symbol=="function"&&(ne[Symbol.iterator]=function(){return this}),ne;function Ue(Dt){return function(mt){return function(ft){if(z)throw new TypeError("Generator is already executing.");for(;be;)try{if(z=1,re&&(le=2&ft[0]?re.return:ft[0]?re.throw||((le=re.return)&&le.call(re),0):re.next)&&!(le=le.call(re,ft[1])).done)return le;switch(re=0,le&&(ft=[2&ft[0],le.value]),ft[0]){case 0:case 1:le=ft;break;case 4:return be.label++,{value:ft[1],done:!1};case 5:be.label++,re=ft[1],ft=[0];continue;case 7:ft=be.ops.pop(),be.trys.pop();continue;default:if(le=be.trys,!((le=le.length>0&&le[le.length-1])||ft[0]!==6&&ft[0]!==2)){be=0;continue}if(ft[0]===3&&(!le||ft[1]>le[0]&&ft[1]<le[3])){be.label=ft[1];break}if(ft[0]===6&&be.label<le[1]){be.label=le[1],le=ft;break}if(le&&be.label<le[2]){be.label=le[2],be.ops.push(ft);break}le[2]&&be.ops.pop(),be.trys.pop();continue}ft=te.call(oe,be)}catch(yt){ft=[6,yt],re=0}finally{z=le=0}if(5&ft[0])throw ft[1];return{value:ft[0]?ft[1]:void 0,done:!0}}([Dt,mt])}}}function ve(){for(var oe=0,te=0,z=arguments.length;te<z;te++)oe+=arguments[te].length;var re=Array(oe),le=0;for(te=0;te<z;te++)for(var ne=arguments[te],be=0,Ue=ne.length;be<Ue;be++,le++)re[le]=ne[be];return re}var me=function(){function oe(){}return oe.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},oe.setAttributes=function(te,z){for(var re=0,le=z;re<le.length;re++){var ne=le[re],be=ne[0],Ue=ne[1];te.setAttribute(be,Ue)}},oe.createRect=function(te,z,re){var le=document.createElementNS("http://www.w3.org/2000/svg","rect");return le.setAttribute("width",te.toString()),le.setAttribute("height",z.toString()),re&&oe.setAttributes(le,re),le},oe.createLine=function(te,z,re,le,ne){var be=document.createElementNS("http://www.w3.org/2000/svg","line");return be.setAttribute("x1",te.toString()),be.setAttribute("y1",z.toString()),be.setAttribute("x2",re.toString()),be.setAttribute("y2",le.toString()),ne&&oe.setAttributes(be,ne),be},oe.createPolygon=function(te,z){var re=document.createElementNS("http://www.w3.org/2000/svg","polygon");return re.setAttribute("points",te),z&&oe.setAttributes(re,z),re},oe.createCircle=function(te,z){var re=document.createElementNS("http://www.w3.org/2000/svg","circle");return re.setAttribute("cx",(te/2).toString()),re.setAttribute("cy",(te/2).toString()),re.setAttribute("r",te.toString()),z&&oe.setAttributes(re,z),re},oe.createEllipse=function(te,z,re){var le=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return le.setAttribute("cx",(te/2).toString()),le.setAttribute("cy",(z/2).toString()),le.setAttribute("rx",(te/2).toString()),le.setAttribute("ry",(z/2).toString()),re&&oe.setAttributes(le,re),le},oe.createGroup=function(te){var z=document.createElementNS("http://www.w3.org/2000/svg","g");return te&&oe.setAttributes(z,te),z},oe.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},oe.createMarker=function(te,z,re,le,ne,be,Ue){var Dt=document.createElementNS("http://www.w3.org/2000/svg","marker");return oe.setAttributes(Dt,[["id",te],["orient",z],["markerWidth",re.toString()],["markerHeight",le.toString()],["refX",ne.toString()],["refY",be.toString()]]),Dt.appendChild(Ue),Dt},oe.createText=function(te){var z=document.createElementNS("http://www.w3.org/2000/svg","text");return z.setAttribute("x","0"),z.setAttribute("y","0"),te&&oe.setAttributes(z,te),z},oe.createTSpan=function(te,z){var re=document.createElementNS("http://www.w3.org/2000/svg","tspan");return re.textContent=te,z&&oe.setAttributes(re,z),re},oe.createImage=function(te){var z=document.createElementNS("http://www.w3.org/2000/svg","image");return te&&oe.setAttributes(z,te),z},oe.createPoint=function(te,z){var re=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return re.x=te,re.y=z,re},oe.createPath=function(te,z){var re=document.createElementNS("http://www.w3.org/2000/svg","path");return re.setAttribute("d",te),z&&oe.setAttributes(re,z),re},oe}(),Ie=function(){function oe(){}return oe.addKey=function(te){oe.key=te},Object.defineProperty(oe,"isLicensed",{get:function(){return!!oe.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(oe.key)},enumerable:!1,configurable:!0}),oe}(),He=function(){function oe(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return oe.prototype.rasterize=function(te,z,re){var le=this;return new Promise(function(ne){var be=re!==void 0?re:document.createElement("canvas");te===null&&(le.markersOnly=!0,le.naturalSize=!1);var Ue=document.createElementNS("http://www.w3.org/2000/svg","svg");Ue.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ue.setAttribute("width",z.width.baseVal.valueAsString),Ue.setAttribute("height",z.height.baseVal.valueAsString),Ue.setAttribute("viewBox","0 0 "+z.viewBox.baseVal.width.toString()+" "+z.viewBox.baseVal.height.toString()),Ue.innerHTML=z.innerHTML,le.naturalSize===!0?(Ue.width.baseVal.value=te.naturalWidth,Ue.height.baseVal.value=te.naturalHeight):le.width!==void 0&&le.height!==void 0&&(Ue.width.baseVal.value=le.width,Ue.height.baseVal.value=le.height),be.width=Ue.width.baseVal.value,be.height=Ue.height.baseVal.value;var Dt=Ue.outerHTML,mt=be.getContext("2d");le.markersOnly!==!0&&mt.drawImage(te,0,0,be.width,be.height);var ft=window.URL,yt=new Image(be.width,be.height);yt.setAttribute("crossOrigin","anonymous");var Nt=new Blob([Dt],{type:"image/svg+xml"}),Ft=ft.createObjectURL(Nt);yt.onload=function(){mt.drawImage(yt,0,0),ft.revokeObjectURL(Ft);var Zt=be.toDataURL(le.imageType,le.imageQuality);ne(Zt)},yt.src=Ft})},oe}(),Ce=function(){},de=function(){function oe(te){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+te+"_"}return Object.defineProperty(oe.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(oe.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(oe.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),oe.prototype.addClass=function(te){return this.styleSheet===void 0&&this.addStyleSheet(),te.name=""+this.classNamePrefix+te.localName,this.classes.push(te),this.styleSheet.sheet.insertRule("."+te.name+" {"+te.style+"}",this.styleSheet.sheet.cssRules.length),te},oe.prototype.addRule=function(te){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(te),this.styleSheet.sheet.insertRule(te.selector+" {"+te.style+"}",this.styleSheet.sheet.cssRules.length)},oe.prototype.addStyleSheet=function(){var te;this.styleSheet=document.createElement("style"),((te=this.styleSheetRoot)!==null&&te!==void 0?te:document.head).appendChild(this.styleSheet),this.addRule(new Je("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Je("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
`)),this.addRule(new Je("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
`)),this.addClass(new pe("fade_in",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
`)),this.addClass(new pe("fade_out",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
`))},oe.prototype.removeStyleSheet=function(){var te;this.styleSheet&&(((te=this.styleSheetRoot)!==null&&te!==void 0?te:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},oe}(),Je=function(oe,te){this.selector=oe,this.style=te},pe=function(oe,te){this.localName=oe,this.style=te},at=function(){function oe(te,z,re,le,ne){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=te,this.displayMode=z,this.markerItems=re,this.uiStyleSettings=le,this.styles=ne,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return oe.prototype.show=function(te){var z=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=te,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var re=document.createElement("div");re.className=this.toolbarBlockStyleClass.name,re.style.whiteSpace="nowrap",this.uiContainer.appendChild(re),this.addActionButton(re,'<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(re,'<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(re,'<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(re,'<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(re,'<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(re,'<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(re,'<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(re,'<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(ne){var be=document.createElement("div");be.className=""+z.toolbarButtonStyleClass.name,be.setAttribute("data-type-name",ne.typeName),be.innerHTML=ne.icon,be.addEventListener("click",function(){z.markerToolbarButtonClicked(be,ne)}),z.buttons.push(be),z.markerButtons.push(be)}),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 le=document.createElement("div");le.className=this.toolbarBlockStyleClass.name,le.style.whiteSpace="nowrap",le.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(le),this.addActionButton(le,'<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(le,'<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()},oe.prototype.addButtonClickListener=function(te){this.buttonClickListeners.push(te)},oe.prototype.removeButtonClickListener=function(te){this.buttonClickListeners.indexOf(te)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(te),1)},oe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},oe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var te=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var z=0;z<this.markerButtons.length;z++)z<te||z===te&&this.markerButtons.length-1===te?this.markerButtonBlock.appendChild(this.markerButtons[z]):(z===te&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[z]))}},oe.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")},oe.prototype.resetButtonStyles=function(){var te=this;this.buttons.forEach(function(z){z.className=z.className.replace(te.uiStyleSettings.toolbarButtonStyleColorsClassName?te.uiStyleSettings.toolbarButtonStyleColorsClassName:te.toolbarButtonStyleColorsClass.name,"").trim(),z.className=z.className.replace(te.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?te.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:te.toolbarActiveButtonStyleColorsClass.name,"").trim(),z.className+=" "+(te.uiStyleSettings.toolbarButtonStyleColorsClassName?te.uiStyleSettings.toolbarButtonStyleColorsClassName:te.toolbarButtonStyleColorsClass.name)})},oe.prototype.addActionButton=function(te,z,re){var le=this,ne=document.createElement("div");switch(ne.className=""+this.toolbarButtonStyleClass.name,ne.innerHTML=z,ne.setAttribute("data-action",re),ne.addEventListener("click",function(){le.actionToolbarButtonClicked(ne,re)}),re){case"select":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ne.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ne.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ne.style.fill=this.uiStyleSettings.closeButtonColor}te.appendChild(ne),this.buttons.push(ne)},oe.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new pe("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 pe("toolbar_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new pe("toolbar-block",`
|
|
display: inline-block;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new pe("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 pe("toolbar-overflow-block_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new pe("toolbar_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
padding: `+te+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new pe("toolbar_button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new pe("toolbar_active_button",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new Je("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`)),this.styles.addRule(new Je("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`))},oe.prototype.markerToolbarButtonClicked=function(te,z){this.setActiveButton(te),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(re){return re("marker",z)}),this.markerButtonOverflowBlock.style.display="none"},oe.prototype.actionToolbarButtonClicked=function(te,z){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(re){return re("action",z)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},oe.prototype.setActiveButton=function(te){this.resetButtonStyles(),te.className=te.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),te.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},oe.prototype.setActiveMarkerButton=function(te){var z=this.markerButtons.find(function(re){return re.getAttribute("data-type-name")===te});z&&this.setActiveButton(z)},oe.prototype.setCurrentMarker=function(te){var z=this;this.currentMarker=te,this.buttons.filter(function(re){return/delete|notes/.test(re.getAttribute("data-action"))}).forEach(function(re){z.currentMarker===void 0?(re.style.fillOpacity="0.4",re.style.pointerEvents="none"):(re.style.fillOpacity="1",re.style.pointerEvents="all")})},oe}(),Oe=function(){function oe(te,z,re,le){this.panels=[],this.panelButtons=[],this.markerjsContainer=te,this.displayMode=z,this.uiStyleSettings=re,this.styles=le,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return oe.prototype.addStyles=function(){var te;this.toolboxStyleClass=this.styles.addClass(new pe("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 pe("toolbox_colors",`
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
`));var z=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new pe("toolbox-button-row",`
|
|
display: flex;
|
|
cursor: default;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new pe("toolbox-button-row_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new pe("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 pe("toolbox-panel-row_colors",`
|
|
background-color: `+((te=this.uiStyleSettings.toolboxBackgroundColor)!==null&&te!==void 0?te:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new pe("toolbox_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
padding: `+z+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new pe("toolbox-button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new pe("toolbox-active-button_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.styles.addRule(new Je("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new Je("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`))},oe.prototype.show=function(te){var z;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=te,this.uiContainer.className=this.toolboxStyleClass.name+" "+((z=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},oe.prototype.setPanelButtons=function(te){var z,re,le=this;this.panels=te,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((z=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((re=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&re!==void 0?re:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ne){var be;ne.uiStyleSettings=le.uiStyleSettings;var Ue=document.createElement("div");Ue.className=le.toolboxButtonStyleClass.name+" "+((be=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&be!==void 0?be:le.toolboxButtonStyleColorsClass.name),Ue.innerHTML=ne.icon,Ue.title=ne.title,Ue.addEventListener("click",function(){le.panelButtonClick(ne)}),le.panelButtons.push(Ue),le.buttonRow.appendChild(Ue)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},oe.prototype.panelButtonClick=function(te){var z=this,re=-1;if(te!==this.activePanel){re=this.panels.indexOf(te),this.panelRow.innerHTML="";var le=te.getUi();le.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(le),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=te}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){z.displayMode==="inline"?z.panelRow.style.display="none":z.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ne,be){var Ue,Dt;ne.className=z.toolboxButtonStyleClass.name+" "+(be===re?""+((Ue=z.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ue!==void 0?Ue:z.toolboxActiveButtonStyleColorsClass.name):""+((Dt=z.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Dt!==void 0?Dt:z.toolboxButtonStyleColorsClass.name))})},oe}(),Se=function(oe,te){this.title=oe,this.icon=te},Ee=function(oe){function te(z,re,le,ne){var be=oe.call(this,z,ne||'<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 be.colors=[],be.addTransparent=!1,be.colorBoxes=[],be.colors=re,be.currentColor=le,be.setCurrentColor=be.setCurrentColor.bind(be),be.getColorBox=be.getColorBox.bind(be),be}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");return re.style.overflow="hidden",re.style.whiteSpace="nowrap",this.colors.forEach(function(le){var ne=z.getColorBox(le);re.appendChild(ne),z.colorBoxes.push(ne)}),re},te.prototype.getColorBox=function(z){var re=this,le=this.uiStyleSettings.toolbarHeight/4,ne=this.uiStyleSettings.toolbarHeight-le,be=document.createElement("div");be.style.display="inline-block",be.style.boxSizing="content-box",be.style.width=ne-2+"px",be.style.height=ne-2+"px",be.style.padding="1px",be.style.marginRight="2px",be.style.marginBottom="2px",be.style.borderWidth="2px",be.style.borderStyle="solid",be.style.borderRadius=(ne+2)/2+"px",be.style.borderColor=z===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",be.addEventListener("click",function(){re.setCurrentColor(z,be)});var Ue=document.createElement("div");return Ue.style.display="inline-block",Ue.style.width=ne-2+"px",Ue.style.height=ne-2+"px",Ue.style.backgroundColor=z,Ue.style.borderRadius=ne/2+"px",z==="transparent"&&(Ue.style.fill=this.uiStyleSettings.toolboxAccentColor,Ue.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>`),be.appendChild(Ue),be},te.prototype.setCurrentColor=function(z,re){var le=this;this.currentColor=z,this.colorBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(z)},te}(Se),we=function(){function oe(te,z,re){this._state="new",this._isSelected=!1,this._container=te,this._overlayContainer=z,this.globalSettings=re,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(oe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),oe.prototype.ownsTarget=function(te){return!1},Object.defineProperty(oe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),oe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},oe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},oe.prototype.pointerDown=function(te,z){},oe.prototype.dblClick=function(te,z){},oe.prototype.manipulate=function(te){},oe.prototype.pointerUp=function(te){this.stateChanged()},oe.prototype.dispose=function(){},oe.prototype.addMarkerVisualToContainer=function(te){this.container.childNodes.length>0?this.container.insertBefore(te,this.container.childNodes[0]):this.container.appendChild(te)},oe.prototype.getState=function(){return{typeName:oe.typeName,state:this.state,notes:this.notes}},oe.prototype.restoreState=function(te){this._state=te.state,this.notes=te.notes},oe.prototype.scale=function(te,z){},oe.prototype.colorChanged=function(te){this.onColorChanged&&this.onColorChanged(te),this.stateChanged()},oe.prototype.fillColorChanged=function(te){this.onFillColorChanged&&this.onFillColorChanged(te),this.stateChanged()},oe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var te=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),te.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(te)&&this.onStateChanged(this)}},oe.typeName="MarkerBase",oe}(),Ve=function(){function oe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return oe.prototype.findGripByVisual=function(te){return this.topLeft.ownsTarget(te)?this.topLeft:this.topCenter.ownsTarget(te)?this.topCenter:this.topRight.ownsTarget(te)?this.topRight:this.centerLeft.ownsTarget(te)?this.centerLeft:this.centerRight.ownsTarget(te)?this.centerRight:this.bottomLeft.ownsTarget(te)?this.bottomLeft:this.bottomCenter.ownsTarget(te)?this.bottomCenter:this.bottomRight.ownsTarget(te)?this.bottomRight:void 0},oe}(),tt=function(){function oe(){this.GRIP_SIZE=10,this.visual=me.createGroup(),this.visual.appendChild(me.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(me.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return oe.prototype.ownsTarget=function(te){return te===this.visual||te===this.visual.childNodes[0]||te===this.visual.childNodes[1]},oe}(),nt=function(){function oe(){}return oe.toITransformMatrix=function(te){return{a:te.a,b:te.b,c:te.c,d:te.d,e:te.e,f:te.f}},oe.toSVGMatrix=function(te,z){return te.a=z.a,te.b=z.b,te.c=z.c,te.d=z.d,te.e=z.e,te.f=z.f,te},oe}(),it=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.left=0,ne.top=0,ne.width=0,ne.height=0,ne.defaultSize={x:50,y:20},ne.offsetX=0,ne.offsetY=0,ne.rotationAngle=0,ne.CB_DISTANCE=10,ne._suppressMarkerCreateEvent=!1,ne.container.transform.baseVal.appendItem(me.createTransform()),ne.setupControlBox(),ne}return je(te,oe),Object.defineProperty(te.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"visual",{get:function(){return this._visual},set:function(z){this._visual=z;var re=me.createTransform();this._visual.transform.baseVal.appendItem(re)},enumerable:!1,configurable:!0}),te.prototype.ownsTarget=function(z){return!!oe.prototype.ownsTarget.call(this,z)||!!(this.controlGrips.findGripByVisual(z)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(z))},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="new"&&(this.left=z.x,this.top=z.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var le=this.unrotatePoint(z);if(this.manipulationStartX=le.x,this.manipulationStartY=le.y,this.offsetX=le.x-this.left,this.offsetY=le.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(re),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(re)){this.activeGrip=this.rotatorGrip;var ne=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ne.x-this.width/2,this.top=ne.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var be=this.container.transform.baseVal.getItem(0);be.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(be,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},te.prototype.pointerUp=function(z){var re=this.state;oe.prototype.pointerUp.call(this,z),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(z),this._state="select",re==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},te.prototype.moveVisual=function(z){this.visual.style.transform="translate("+z.x+"px, "+z.y+"px)"},te.prototype.manipulate=function(z){var re=this.unrotatePoint(z);this.state==="creating"?this.resize(z):this.state==="move"?(this.left=this.manipulationStartLeft+(re.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(re.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(re):this.state==="rotate"&&this.rotate(z)},te.prototype.resize=function(z){var re=this.manipulationStartLeft,le=this.manipulationStartWidth,ne=this.manipulationStartTop,be=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:re=this.manipulationStartLeft+z.x-this.manipulationStartX,le=this.manipulationStartWidth+this.manipulationStartLeft-re;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:le=this.manipulationStartWidth+z.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ne=this.manipulationStartTop+z.y-this.manipulationStartY,be=this.manipulationStartHeight+this.manipulationStartTop-ne;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:be=this.manipulationStartHeight+z.y-this.manipulationStartY}le>=0?(this.left=re,this.width=le):(this.left=re+le,this.width=-le),be>=0?(this.top=ne,this.height=be):(this.top=ne+be,this.height=-be),this.setSize()},te.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},te.prototype.rotate=function(z){if(Math.abs(z.x-this.centerX)>.1){var re=Math.sign(z.x-this.centerX);this.rotationAngle=180*Math.atan((z.y-this.centerY)/(z.x-this.centerX))/Math.PI+90*re,this.applyRotation()}},te.prototype.applyRotation=function(){var z=this.container.transform.baseVal.getItem(0);z.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(z,0)},te.prototype.rotatePoint=function(z){if(this.rotationAngle===0)return z;var re=this.container.getCTM(),le=me.createPoint(z.x,z.y);return{x:(le=le.matrixTransform(re)).x,y:le.y}},te.prototype.unrotatePoint=function(z){if(this.rotationAngle===0)return z;var re=this.container.getCTM();re=re.inverse();var le=me.createPoint(z.x,z.y);return{x:(le=le.matrixTransform(re)).x,y:le.y}},te.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},te.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},te.prototype.setupControlBox=function(){this.controlBox=me.createGroup();var z=me.createTransform();z.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(z),this.container.appendChild(this.controlBox),this.controlRect=me.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=me.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 Ve,this.addControlGrips(),this.controlBox.style.display="none"},te.prototype.adjustControlBox=function(){var z=this.controlBox.transform.baseVal.getItem(0);z.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(z,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()},te.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()},te.prototype.createGrip=function(){var z=new tt;return z.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(z.visual),z},te.prototype.positionGrips=function(){var z=this.controlGrips.topLeft.GRIP_SIZE,re=-z/2,le=re,ne=(this.width+this.CB_DISTANCE)/2-z/2,be=(this.height+this.CB_DISTANCE)/2-z/2,Ue=this.height+this.CB_DISTANCE-z/2,Dt=this.width+this.CB_DISTANCE-z/2;this.positionGrip(this.controlGrips.topLeft.visual,re,le),this.positionGrip(this.controlGrips.topCenter.visual,ne,le),this.positionGrip(this.controlGrips.topRight.visual,Dt,le),this.positionGrip(this.controlGrips.centerLeft.visual,re,be),this.positionGrip(this.controlGrips.centerRight.visual,Dt,be),this.positionGrip(this.controlGrips.bottomLeft.visual,re,Ue),this.positionGrip(this.controlGrips.bottomCenter.visual,ne,Ue),this.positionGrip(this.controlGrips.bottomRight.visual,Dt,Ue),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ne,le-3*this.CB_DISTANCE)},te.prototype.positionGrip=function(z,re,le){var ne=z.transform.baseVal.getItem(0);ne.setTranslate(re,le),z.transform.baseVal.replaceItem(ne,0)},te.prototype.hideControlBox=function(){this.controlBox.style.display="none"},te.prototype.showControlBox=function(){this.controlBox.style.display=""},te.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:nt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:nt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},oe.prototype.getState.call(this))},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z);var re=z;this.left=re.left,this.top=re.top,this.width=re.width,this.height=re.height,this.rotationAngle=re.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(nt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,re.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(nt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,re.containerTransformMatrix))},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re);var le=this.rotatePoint({x:this.left,y:this.top}),ne=this.unrotatePoint({x:le.x*z,y:le.y*re});this.left=ne.x,this.top=ne.y,this.width=this.width*z,this.height=this.height*re,this.adjustControlBox()},te}(we),Ke=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual)},te.prototype.createVisual=function(){this.visual=me.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)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},te.prototype.manipulate=function(z){oe.prototype.manipulate.call(this,z)},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),this.setSize()},te.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},te.prototype.pointerUp=function(z){oe.prototype.pointerUp.call(this,z),this.setSize()},te.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},te.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},te.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},te.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this))},te.prototype.restoreState=function(z){var re=z;this.fillColor=re.fillColor,this.strokeColor=re.strokeColor,this.strokeWidth=re.strokeWidth,this.strokeDasharray=re.strokeDasharray,this.opacity=re.opacity,this.createVisual(),oe.prototype.restoreState.call(this,z),this.setSize()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.setSize()},te.title="Rectangle marker",te}(it),Xe=function(oe){function te(z,re,le,ne){var be=oe.call(this,z,ne||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return be.widths=[],be.widthBoxes=[],be.widths=re,be.currentWidth=le,be.setCurrentWidth=be.setCurrentWidth.bind(be),be}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");return re.style.display="flex",re.style.overflow="hidden",re.style.flexGrow="2",this.widths.forEach(function(le){var ne=document.createElement("div");ne.style.display="flex",ne.style.flexGrow="2",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=le===z.currentWidth?z.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){z.setCurrentWidth(le,ne)}),re.appendChild(ne);var be=document.createElement("div");be.innerText=le.toString(),be.style.marginRight="5px",ne.appendChild(be);var Ue=document.createElement("div");Ue.style.minHeight="20px",Ue.style.flexGrow="2",Ue.style.display="flex",Ue.style.alignItems="center";var Dt=document.createElement("hr");Dt.style.minWidth="20px",Dt.style.border="0px",Dt.style.borderTop=le+"px solid "+z.uiStyleSettings.toolboxColor,Dt.style.flexGrow="2",Ue.appendChild(Dt),ne.appendChild(Ue),z.widthBoxes.push(ne)}),re},te.prototype.setCurrentWidth=function(z,re){var le=this;this.currentWidth=z,this.widthBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},te}(Se),rt=function(oe){function te(z,re,le,ne){var be=oe.call(this,z,ne||'<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 be.styles=[],be.styleBoxes=[],be.styles=re,be.currentStyle=le,be.setCurrentStyle=be.setCurrentStyle.bind(be),be}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");return re.style.display="flex",re.style.overflow="hidden",re.style.flexGrow="2",this.styles.forEach(function(le){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/z.styles.length-5+"%",ne.style.borderColor=le===z.currentStyle?z.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){z.setCurrentStyle(le,ne)}),re.appendChild(ne);var be=document.createElement("div");be.style.minHeight="20px",be.style.flexGrow="2",be.style.overflow="hidden";var Ue=`<svg width="100" height="20">
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+z.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(le!==""?'stroke-dasharray="'+le+'"':"")+` />
|
|
</svg>`;be.innerHTML=Ue,ne.appendChild(be),z.styleBoxes.push(ne)}),re},te.prototype.setCurrentStyle=function(z,re){var le=this;this.currentStyle=z,this.styleBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},te}(Se),At=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.strokeColor=le.defaultColor,ne.strokeWidth=le.defaultStrokeWidth,ne.strokeDasharray=le.defaultStrokeDasharray,ne.strokePanel=new Ee("Line color",le.defaultColorSet,le.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new rt("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return je(te,oe),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=oe.prototype.getState.call(this);return z.typeName=te.typeName,z},te.typeName="FrameMarker",te.title="Frame marker",te.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',te}(Ke),Re=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Fe=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.x1=0,ne.y1=0,ne.x2=0,ne.y2=0,ne.defaultLength=50,ne.manipulationStartX=0,ne.manipulationStartY=0,ne.manipulationStartX1=0,ne.manipulationStartY1=0,ne.manipulationStartX2=0,ne.manipulationStartY2=0,ne.setupControlBox(),ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!!oe.prototype.ownsTarget.call(this,z)||!(!this.grip1.ownsTarget(z)&&!this.grip2.ownsTarget(z))},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.manipulationStartX=z.x,this.manipulationStartY=z.y,this.state==="new"&&(this.x1=z.x,this.y1=z.y,this.x2=z.x,this.y2=z.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(re)?this.activeGrip=this.grip1:this.grip2.ownsTarget(re)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},te.prototype.pointerUp=function(z){var re=this.state;oe.prototype.pointerUp.call(this,z),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(z),this._state="select",re==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},te.prototype.adjustVisual=function(){},te.prototype.manipulate=function(z){this.state==="creating"?this.resize(z):this.state==="move"?(this.x1=this.manipulationStartX1+z.x-this.manipulationStartX,this.y1=this.manipulationStartY1+z.y-this.manipulationStartY,this.x2=this.manipulationStartX2+z.x-this.manipulationStartX,this.y2=this.manipulationStartY2+z.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(z)},te.prototype.resize=function(z){switch(this.activeGrip){case this.grip1:this.x1=z.x,this.y1=z.y;break;case this.grip2:case void 0:this.x2=z.x,this.y2=z.y}this.adjustVisual(),this.adjustControlBox()},te.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},te.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},te.prototype.setupControlBox=function(){this.controlBox=me.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},te.prototype.adjustControlBox=function(){this.positionGrips()},te.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},te.prototype.createGrip=function(){var z=new tt;return z.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(z.visual),z},te.prototype.positionGrips=function(){var z=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-z/2,this.y1-z/2),this.positionGrip(this.grip2.visual,this.x2-z/2,this.y2-z/2)},te.prototype.positionGrip=function(z,re,le){var ne=z.transform.baseVal.getItem(0);ne.setTranslate(re,le),z.transform.baseVal.replaceItem(ne,0)},te.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},oe.prototype.getState.call(this))},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z);var re=z;this.x1=re.x1,this.y1=re.y1,this.x2=re.x2,this.y2=re.y2},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.x1=this.x1*z,this.y1=this.y1*re,this.x2=this.x2*z,this.y2=this.y2*re,this.adjustVisual(),this.adjustControlBox()},te}(we),ut=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.strokeColor=le.defaultColor,ne.strokeWidth=le.defaultStrokeWidth,ne.strokeDasharray=le.defaultStrokeDasharray,ne.strokePanel=new Ee("Line color",le.defaultColorSet,le.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new rt("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorLine&&z!==this.visibleLine)},te.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorLine=me.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=me.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)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},te.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()),me.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},te.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},te.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},te.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z);var re=z;this.strokeColor=re.strokeColor,this.strokeWidth=re.strokeWidth,this.strokeDasharray=re.strokeDasharray,this.createVisual(),this.adjustVisual()},te.typeName="LineMarker",te.title="Line marker",te.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',te}(Fe),Be=function(oe){function te(z,re,le,ne){var be=oe.call(this,z,ne||'<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 be.fonts=[],be.fontBoxes=[],be.fonts=re,be.currentFont=le,be.setCurrentFont=be.setCurrentFont.bind(be),be}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");return re.style.overflow="hidden",re.style.flexGrow="2",this.fonts.forEach(function(le){var ne=document.createElement("div");ne.style.display="inline-block",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/z.fonts.length-5+"%",ne.style.borderColor=le===z.currentFont?z.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){z.setCurrentFont(le,ne)}),re.appendChild(ne);var be=document.createElement("div");be.style.display="flex",be.style.minHeight="20px",be.style.flexGrow="2",be.style.fontFamily=le,be.style.overflow="hidden";var Ue=document.createElement("div");Ue.style.whiteSpace="nowrap",Ue.style.overflow="hidden",Ue.style.textOverflow="ellipsis",Ue.innerHTML="The quick brown fox jumps over the lazy dog",be.appendChild(Ue),ne.appendChild(be),z.fontBoxes.push(ne)}),re},te.prototype.setCurrentFont=function(z,re){var le=this;this.currentFont=z,this.fontBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},te}(Se),Ye=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.color="transparent",ne.padding=5,ne.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ne.text=ne.DEFAULT_TEXT,ne.isMoved=!1,ne.color=le.defaultColor,ne.fontFamily=le.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setColor=ne.setColor.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.renderText=ne.renderText.bind(ne),ne.sizeText=ne.sizeText.bind(ne),ne.textEditDivClicked=ne.textEditDivClicked.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.setSize=ne.setSize.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.colorPanel=new Ee("Color",le.defaultColorSet,le.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.fontFamilyPanel=new Be("Font",le.defaultFontFamilies,le.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne}return je(te,oe),te.prototype.ownsTarget=function(z){if(oe.prototype.ownsTarget.call(this,z)||z===this.visual||z===this.textElement||z===this.bgRectangle)return!0;var re=!1;return this.textElement.childNodes.forEach(function(le){le===z&&(re=!0)}),re},te.prototype.createVisual=function(){this.visual=me.createGroup(),this.bgRectangle=me.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=me.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},te.prototype.renderText=function(){var z=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(re){z.textElement.appendChild(me.createTSpan(re.trim()===""?" ":re.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},te.prototype.getTextScale=function(){var z=this.textElement.getBBox(),re=1;if(z.width>0&&z.height>0){var le=(1*this.width-this.width*this.padding*2/100)/z.width,ne=(1*this.height-this.height*this.padding*2/100)/z.height;re=Math.min(le,ne)}return re},te.prototype.getTextPosition=function(z){var re=this.textElement.getBBox(),le=0,ne=0;return re.width>0&&re.height>0&&(le=(this.width-re.width*z)/2,ne=this.height/2-re.height*z/2),{x:le,y:ne}},te.prototype.sizeText=function(){var z=this.textElement.getBBox(),re=this.getTextScale(),le=this.getTextPosition(re);le.y-=z.y*re,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+le.x+"px, "+le.y+"px) scale("+re+", "+re+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(le.x,le.y),this.textElement.transform.baseVal.getItem(1).setScale(re,re))},te.prototype.manipulate=function(z){oe.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),this.isMoved=!0,this.setSize(),this.sizeText()},te.prototype.setSize=function(){oe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},te.prototype.pointerUp=function(z){var re=this.state;re==="creating"&&(this._suppressMarkerCreateEvent=!0),oe.prototype.pointerUp.call(this,z),this.setSize(),(re==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},te.prototype.showTextEditor=function(){var z=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(re){re.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var re=Number.parseFloat(z.textEditor.style.fontSize);z.textEditor.clientWidth>=Number.parseInt(z.textEditor.style.maxWidth)&&re>.9;)re-=.1,z.textEditor.style.fontSize=Math.max(re,.9)+"em"}),this.textEditor.addEventListener("keyup",function(re){re.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(re){if(re.clipboardData){var le=re.clipboardData.getData("text"),ne=window.getSelection();if(!ne.rangeCount)return!1;ne.deleteFromDocument(),ne.getRangeAt(0).insertNode(document.createTextNode(le)),re.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){z.textEditDivClicked(z.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},te.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var z=this.getTextScale(),re=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),le=this.textElement.getBBox(),ne={x:le.width*z,y:le.height*z};re.x-=ne.x/2,re.y-=ne.y/2,this.textEditor.style.top=re.y+"px",this.textEditor.style.left=re.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-re.x+"px",this.textEditor.style.fontSize=Math.max(16*z,12)+"px",this.textElement.style.display="none"}},te.prototype.textEditDivClicked=function(z){this.text=z.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},te.prototype.select=function(){oe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},te.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),oe.prototype.deselect.call(this)},te.prototype.dblClick=function(z,re){oe.prototype.dblClick.call(this,z,re),this.showTextEditor()},te.prototype.setColor=function(z){this.textElement&&me.setAttributes(this.textElement,[["fill",z]]),this.color=z,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(z)},te.prototype.setFont=function(z){this.textElement&&me.setAttributes(this.textElement,[["font-family",z]]),this.fontFamily=z,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},te.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},te.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){var re=z;this.color=re.color,this.fontFamily=re.fontFamily,this.padding=re.padding,this.text=re.text,this.createVisual(),oe.prototype.restoreState.call(this,z),this.setSize()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.setSize(),this.sizeText(),this.positionTextEditor()},te.typeName="TextMarker",te.title="Text marker",te.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>',te}(it),Pe=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.color="transparent",ne.lineWidth=3,ne.drawing=!1,ne.pixelRatio=1,ne.color=le.defaultColor,ne.lineWidth=le.defaultStrokeWidth,ne.pixelRatio=le.freehandPixelRatio,ne.setColor=ne.setColor.bind(ne),ne.addCanvas=ne.addCanvas.bind(ne),ne.finishCreation=ne.finishCreation.bind(ne),ne.setLineWidth=ne.setLineWidth.bind(ne),ne.colorPanel=new Ee("Color",le.defaultColorSet,le.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.lineWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.lineWidthPanel.onWidthChanged=ne.setLineWidth,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.drawingImage)},te.prototype.createVisual=function(){this.visual=me.createGroup(),this.drawingImage=me.createImage(),this.visual.appendChild(this.drawingImage);var z=me.createTransform();this.visual.transform.baseVal.appendItem(z),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(z,re){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(z.x,z.y),this.drawing=!0):oe.prototype.pointerDown.call(this,z,re)},te.prototype.manipulate=function(z){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(z.x,z.y),this.canvasContext.stroke()):oe.prototype.manipulate.call(this,z)},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},te.prototype.pointerUp=function(z){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):oe.prototype.pointerUp.call(this,z)},te.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)},te.prototype.select=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.select.call(this)},te.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.deselect.call(this)},te.prototype.finishCreation=function(){for(var z=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),re=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],le=re[0],ne=re[1],be=re[2],Ue=re[3],Dt=!1,mt=0;mt<this.canvasElement.height;mt++)for(var ft=0;ft<this.canvasElement.width;ft++)z.data[mt*this.canvasElement.width*4+4*ft+3]>0&&(Dt=!0,mt<ne&&(ne=mt),ft<le&&(le=ft),mt>Ue&&(Ue=mt),ft>be&&(be=ft));if(Dt){this.left=le/this.pixelRatio,this.top=ne/this.pixelRatio,this.width=(be-le)/this.pixelRatio,this.height=(Ue-ne)/this.pixelRatio;var yt=document.createElement("canvas");yt.width=be-le,yt.height=Ue-ne,yt.getContext("2d").putImageData(this.canvasContext.getImageData(le,ne,be-le,Ue-ne),0,0),this.drawingImgUrl=yt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},te.prototype.setDrawingImage=function(){me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},te.prototype.setColor=function(z){this.color=z,this.colorChanged(z)},te.prototype.setLineWidth=function(z){this.lineWidth=z},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({drawingImgUrl:this.drawingImgUrl},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){this.createVisual(),oe.prototype.restoreState.call(this,z),this.drawingImgUrl=z.drawingImgUrl,this.setDrawingImage()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.setDrawingImage()},te.typeName="FreehandMarker",te.title="Freehand marker",te.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>',te}(it),_e=function(oe){function te(z,re,le){var ne=oe.call(this,z,le||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ne.typeBoxes=[],ne.currentType=re,ne.setCurrentType=ne.setCurrentType.bind(ne),ne}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");re.style.display="flex",re.style.overflow="hidden",re.style.flexGrow="2";for(var le=function(Ue){var Dt="both";switch(Ue){case 0:Dt="both";break;case 1:Dt="start";break;case 2:Dt="end";break;case 3:Dt="none"}var mt=document.createElement("div");if(mt.style.display="flex",mt.style.flexGrow="2",mt.style.alignItems="center",mt.style.justifyContent="space-between",mt.style.padding="5px",mt.style.borderWidth="2px",mt.style.borderStyle="solid",mt.style.borderColor=Dt===ne.currentType?ne.uiStyleSettings.toolboxAccentColor:"transparent",mt.addEventListener("click",function(){z.setCurrentType(Dt,mt)}),re.appendChild(mt),Dt==="both"||Dt==="start"){var ft=document.createElement("div");ft.style.display="flex",ft.style.alignItems="center",ft.style.minHeight="20px",ft.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="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,ft.style.marginLeft="5px",mt.appendChild(ft)}var yt=document.createElement("div");yt.style.display="flex",yt.style.alignItems="center",yt.style.minHeight="20px",yt.style.flexGrow="2";var Nt=document.createElement("hr");if(Nt.style.minWidth="20px",Nt.style.border="0px",Nt.style.borderTop="3px solid "+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee"),Nt.style.flexGrow="2",yt.appendChild(Nt),mt.appendChild(yt),Dt==="both"||Dt==="end"){var Ft=document.createElement("div");Ft.style.display="flex",Ft.style.alignItems="center",Ft.style.minHeight="20px",Ft.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="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,Ft.style.marginRight="5px",mt.appendChild(Ft)}ne.typeBoxes.push(mt)},ne=this,be=0;be<4;be++)le(be);return re},te.prototype.setCurrentType=function(z,re){var le=this;this.currentType=z,this.typeBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},te}(Se),Wt=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.arrowType="end",ne.arrowBaseHeight=10,ne.arrowBaseWidth=10,ne.getArrowPoints=ne.getArrowPoints.bind(ne),ne.setArrowType=ne.setArrowType.bind(ne),ne.arrowTypePanel=new _e("Arrow type","end"),ne.arrowTypePanel.onArrowTypeChanged=ne.setArrowType,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.arrow1&&z!==this.arrow2)},te.prototype.getArrowPoints=function(z,re){var le=this.arrowBaseWidth+2*this.strokeWidth,ne=this.arrowBaseHeight+2*this.strokeWidth;return z-le/2+","+(re+ne/2)+" "+z+","+(re-ne/2)+" "+(z+le/2)+","+(re+ne/2)},te.prototype.createTips=function(){this.arrow1=me.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=me.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow2)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="creating"&&this.createTips()},te.prototype.adjustVisual=function(){if(oe.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",me.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),me.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var z=0;Math.abs(this.x1-this.x2)>.1&&(z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var re=this.arrow1.transform.baseVal.getItem(0);re.setRotate(z,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(re,0);var le=this.arrow2.transform.baseVal.getItem(0);le.setRotate(z+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(le,0)}},te.prototype.setArrowType=function(z){this.arrowType=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({arrowType:this.arrowType},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z);var re=z;this.arrowType=re.arrowType,this.createTips(),this.adjustVisual()},te.typeName="ArrowMarker",te.title="Arrow marker",te.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',te}(ut),bt=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.fillColor=le.defaultFillColor,ne.strokeWidth=0,ne.fillPanel=new Ee("Color",le.defaultColorSet,le.defaultFillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne}return je(te,oe),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=oe.prototype.getState.call(this);return z.typeName=te.typeName,z},te.typeName="CoverMarker",te.title="Cover marker",te.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',te}(Ke),un=function(oe){function te(z,re,le,ne){var be=oe.call(this,z,ne||'<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 be.opacities=[],be.opacityBoxes=[],be.opacities=re,be.currentOpacity=le,be.setCurrentOpacity=be.setCurrentOpacity.bind(be),be}return je(te,oe),te.prototype.getUi=function(){var z=this,re=document.createElement("div");return re.style.display="flex",re.style.overflow="hidden",re.style.flexGrow="2",re.style.justifyContent="space-between",this.opacities.forEach(function(le){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="center",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=le===z.currentOpacity?z.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){z.setCurrentOpacity(le,ne)}),re.appendChild(ne);var be=document.createElement("div");be.innerText=100*le+"%",ne.appendChild(be),z.opacityBoxes.push(ne)}),re},te.prototype.setCurrentOpacity=function(z,re){var le=this;this.currentOpacity=z,this.opacityBoxes.forEach(function(ne){ne.style.borderColor=ne===re?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},te}(Se),Rt=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.setOpacity=ne.setOpacity.bind(ne),ne.fillColor=le.defaultHighlightColor,ne.strokeWidth=0,ne.opacity=le.defaultHighlightOpacity,ne.fillPanel=new Ee("Color",le.defaultColorSet,ne.fillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne.opacityPanel=new un("Opacity",le.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return je(te,oe),te.prototype.setOpacity=function(z){this.opacity=z,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=oe.prototype.getState.call(this);return z.typeName=te.typeName,z},te.typeName="HighlightMarker",te.title="Highlight marker",te.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>',te}(bt),ge='<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>',he='<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>',ct=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.bgColor="transparent",ne.tipPosition={x:0,y:0},ne.tipBase1Position={x:0,y:0},ne.tipBase2Position={x:0,y:0},ne.tipMoving=!1,ne.color=le.defaultStrokeColor,ne.bgColor=le.defaultFillColor,ne.fontFamily=le.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setBgColor=ne.setBgColor.bind(ne),ne.getTipPoints=ne.getTipPoints.bind(ne),ne.positionTip=ne.positionTip.bind(ne),ne.setTipPoints=ne.setTipPoints.bind(ne),ne.colorPanel=new Ee("Text color",le.defaultColorSet,ne.color,ge),ne.colorPanel.onColorChanged=ne.setColor,ne.bgColorPanel=new Ee("Fill color",le.defaultColorSet,ne.bgColor,he),ne.bgColorPanel.onColorChanged=ne.setBgColor,ne.fontFamilyPanel=new Be("Font",le.defaultFontFamilies,le.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.tipGrip=new tt,ne.tipGrip.visual.transform.baseVal.appendItem(me.createTransform()),ne.controlBox.appendChild(ne.tipGrip.visual),ne}return je(te,oe),te.prototype.ownsTarget=function(z){return oe.prototype.ownsTarget.call(this,z)||this.tipGrip.ownsTarget(z)||this.tip===z},te.prototype.createTip=function(){me.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=me.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},te.prototype.pointerDown=function(z,re){this.state==="new"&&oe.prototype.pointerDown.call(this,z,re),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(re)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):oe.prototype.pointerDown.call(this,z,re)},te.prototype.pointerUp=function(z){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,oe.prototype.pointerUp.call(this,z);else{var re=this.state==="creating";oe.prototype.pointerUp.call(this,z),this.setTipPoints(re),this.positionTip()}},te.prototype.manipulate=function(z){if(this.tipMoving){var re=this.unrotatePoint(z);this.tipPosition={x:re.x-this.manipulationStartLeft,y:re.y-this.manipulationStartTop},this.positionTip()}else oe.prototype.manipulate.call(this,z)},te.prototype.setBgColor=function(z){this.bgRectangle&&this.tip&&(me.setAttributes(this.bgRectangle,[["fill",z]]),me.setAttributes(this.tip,[["fill",z]])),this.bgColor=z,this.fillColorChanged(z)},te.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},te.prototype.setTipPoints=function(z){z===void 0&&(z=!1);var re=Math.min(this.height/2,15),le=this.height/5;z&&(this.tipPosition={x:re+le/2,y:this.height+20});var ne=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(le=this.width/5,re=Math.min(this.width/2,15),this.tipBase1Position={x:re,y:0},this.tipBase2Position={x:re+le,y:0}):(this.tipBase1Position={x:0,y:re},this.tipBase2Position={x:0,y:re+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(le=this.width/5,re=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-re-le,y:0},this.tipBase2Position={x:this.width-re,y:0}):(this.tipBase1Position={x:this.width,y:re},this.tipBase2Position={x:this.width,y:re+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ne<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(le=this.width/5,re=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-re-le,y:this.height},this.tipBase2Position={x:this.width-re,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-re-le},this.tipBase2Position={x:this.width,y:this.height-re}):ne<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(le=this.width/5,re=Math.min(this.width/2,15),this.tipBase1Position={x:re,y:this.height},this.tipBase2Position={x:re+le,y:this.height}):(this.tipBase1Position={x:0,y:this.height-re},this.tipBase2Position={x:0,y:this.height-re-le})},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),this.positionTip()},te.prototype.positionTip=function(){me.setAttributes(this.tip,[["points",this.getTipPoints()]]);var z=this.tipGrip.visual.transform.baseVal.getItem(0);z.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(z,0)},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),te.prototype.select=function(){this.positionTip(),oe.prototype.select.call(this)},te.prototype.getState=function(){var z=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){var re=z;this.bgColor=re.bgColor,this.tipPosition=re.tipPosition,oe.prototype.restoreState.call(this,z),this.createTip(),this.setTipPoints()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.tipPosition={x:this.tipPosition.x*z,y:this.tipPosition.y*re},this.positionTip()},te.typeName="CalloutMarker",te.title="Callout marker",te.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>',te}(Ye),Yt=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.strokeColor=le.defaultColor,ne.strokeWidth=le.defaultStrokeWidth,ne.strokeDasharray=le.defaultStrokeDasharray,ne.fillColor=le.defaultFillColor,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.setOpacity=ne.setOpacity.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.strokePanel=new Ee("Line color",ve(le.defaultColorSet,["transparent"]),le.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ee("Fill color",ve(le.defaultColorSet,["transparent"]),ne.fillColor,he),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new rt("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.opacityPanel=new un("Opacity",le.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual)},te.prototype.createVisual=function(){this.visual=me.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)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},te.prototype.manipulate=function(z){oe.prototype.manipulate.call(this,z)},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),this.setSize()},te.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},te.prototype.pointerUp=function(z){oe.prototype.pointerUp.call(this,z),this.setSize()},te.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},te.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},te.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},te.prototype.setOpacity=function(z){this.opacity=z,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){var re=z;this.fillColor=re.fillColor,this.strokeColor=re.strokeColor,this.strokeWidth=re.strokeWidth,this.strokeDasharray=re.strokeDasharray,this.opacity=re.opacity,this.createVisual(),oe.prototype.restoreState.call(this,z),this.setSize()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.setSize()},te.typeName="EllipseMarker",te.title="Ellipse marker",te.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>',te}(it),Ct=function(oe){function te(z,re,le){return oe.call(this,z,re,le)||this}return je(te,oe),Object.defineProperty(te.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.tip1&&z!==this.tip2)},te.prototype.createTips=function(){this.tip1=me.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(me.createTransform()),this.visual.appendChild(this.tip1),this.tip2=me.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(me.createTransform()),this.visual.appendChild(this.tip2)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.state==="creating"&&this.createTips()},te.prototype.adjustVisual=function(){if(oe.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(me.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()]]),me.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 z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),re=this.tip1.transform.baseVal.getItem(0);re.setRotate(z,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(re,0);var le=this.tip2.transform.baseVal.getItem(0);le.setRotate(z+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(le,0)}},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=oe.prototype.getState.call(this);return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z),this.createTips(),this.adjustVisual()},te.typeName="MeasurementMarker",te.title="Measurement marker",te.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>',te}(ut),Me=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.strokePanel.colors=le.defaultColorSet,ne.fillColor="transparent",ne}return je(te,oe),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=oe.prototype.getState.call(this);return z.typeName=te.typeName,z},te.typeName="EllipseFrameMarker",te.title="Ellipse frame marker",te.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>',te}(Yt),Qe=function(){function oe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),oe.prototype.addUndoStep=function(te){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(te)||(this.undoStack.push(te),JSON.stringify(this.lastRedoStep)!==JSON.stringify(te)&&this.redoStack.splice(0,this.redoStack.length))},oe.prototype.replaceLastUndoStep=function(te){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=te)},oe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},oe.prototype.undo=function(){if(this.undoStack.length>1){var te=this.undoStack.pop();return te!==void 0&&this.redoStack.push(te),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},oe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},oe}(),ot=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.curveX=0,ne.curveY=0,ne.manipulationStartCurveX=0,ne.manipulationStartCurveY=0,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.positionGrips=ne.positionGrips.bind(ne),ne.addControlGrips=ne.addControlGrips.bind(ne),ne.adjustVisual=ne.adjustVisual.bind(ne),ne.setupControlBox=ne.setupControlBox.bind(ne),ne.resize=ne.resize.bind(ne),ne.strokeColor=le.defaultColor,ne.strokeWidth=le.defaultStrokeWidth,ne.strokeDasharray=le.defaultStrokeDasharray,ne.strokePanel=new Ee("Line color",le.defaultColorSet,le.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new rt("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorCurve&&z!==this.visibleCurve&&!this.curveGrip.ownsTarget(z))},te.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},te.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorCurve=me.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=me.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)},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=z.x,this.curveY=z.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(re)&&(this.activeGrip=this.curveGrip,this._state="resize")},te.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),me.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},te.prototype.setupControlBox=function(){oe.prototype.setupControlBox.call(this),this.curveControlLine1=me.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=me.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)},te.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,oe.prototype.addControlGrips.call(this)},te.prototype.positionGrips=function(){oe.prototype.positionGrips.call(this);var z=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-z/2,this.curveY-z/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()))},te.prototype.manipulate=function(z){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+z.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+z.y-this.manipulationStartY),oe.prototype.manipulate.call(this,z)},te.prototype.resize=function(z){this.activeGrip===this.curveGrip&&(this.curveX=z.x,this.curveY=z.y),oe.prototype.resize.call(this,z),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},te.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},te.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},te.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual()},te.prototype.scale=function(z,re){this.curveX=this.curveX*z,this.curveY=this.curveY*re,oe.prototype.scale.call(this,z,re)},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},oe.prototype.getState.call(this));return z.typeName=te.typeName,z},te.prototype.restoreState=function(z){oe.prototype.restoreState.call(this,z);var re=z;this.strokeColor=re.strokeColor,this.strokeWidth=re.strokeWidth,this.strokeDasharray=re.strokeDasharray,this.curveX=re.curveX,this.curveY=re.curveY,this.createVisual(),this.adjustVisual()},te.typeName="CurveMarker",te.title="Curve marker",te.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>',te}(Fe),Kt=function(oe){function te(z,re,le){var ne=oe.call(this,z,re,le)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.textColor="transparent",ne.fontSize="1rem",ne.isMoved=!1,ne.captionText="Caption",ne.PADDING=5,ne.captionBoxWidth=0,ne.captionBoxHeight=0,ne.strokeColor=le.defaultColor,ne.strokeWidth=le.defaultStrokeWidth,ne.strokeDasharray=le.defaultStrokeDasharray,ne.fillColor=le.defaultFillColor,ne.textColor=le.defaultStrokeColor,ne.fontFamily=le.defaultFontFamily,ne.fontSize=le.defaultCaptionFontSize,ne.captionText=le.defaultCaptionText,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.sizeCaption=ne.sizeCaption.bind(ne),ne.setCaptionText=ne.setCaptionText.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.finishTextEditing=ne.finishTextEditing.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.setTextColor=ne.setTextColor.bind(ne),ne.strokePanel=new Ee("Line color",ve(le.defaultColorSet,["transparent"]),ne.strokeColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ee("Fill color",ve(le.defaultColorSet,["transparent"]),ne.fillColor,he),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new Xe("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new rt("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.fontFamilyPanel=new Be("Font",le.defaultFontFamilies,le.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.textColorPanel=new Ee("Text color",le.defaultColorSet,ne.textColor,ge),ne.textColorPanel.onColorChanged=ne.setTextColor,ne}return je(te,oe),te.prototype.ownsTarget=function(z){return!(!oe.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.frame&&z!==this.captionBg&&z!==this.captionElement)},te.prototype.createVisual=function(){this.visual=me.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=me.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=me.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=me.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()},te.prototype.setCaptionText=function(z){this.captionText=z,this.captionElement.textContent=this.captionText,this.sizeCaption()},te.prototype.pointerDown=function(z,re){oe.prototype.pointerDown.call(this,z,re),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},te.prototype.manipulate=function(z){oe.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},te.prototype.resize=function(z){oe.prototype.resize.call(this,z),this.setSize()},te.prototype.sizeCaption=function(){var z=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=z.width+2*this.PADDING,this.captionBoxHeight=z.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),me.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')"]]),me.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')"]])},te.prototype.showTextEditor=function(){var z=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(re){re.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(re){re.key==="Enter"&&z.finishTextEditing(z.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(re){re.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){z.finishTextEditing(z.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){z.finishTextEditing(z.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},te.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"))},te.prototype.finishTextEditing=function(z){this.setCaptionText(z.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},te.prototype.setFont=function(z){this.captionElement&&me.setAttributes(this.captionElement,[["font-family",z]]),this.fontFamily=z,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},te.prototype.setTextColor=function(z){this.captionElement&&me.setAttributes(this.captionElement,[["fill",z]]),this.textColor=z,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},te.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},te.prototype.pointerUp=function(z){oe.prototype.pointerUp.call(this,z),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},te.prototype.dblClick=function(z,re){oe.prototype.dblClick.call(this,z,re),this.showTextEditor()},te.prototype.setStrokeColor=function(z){this.strokeColor=z,this.frame&&me.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},te.prototype.setFillColor=function(z){this.fillColor=z,this.captionBg&&me.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},te.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.frame&&me.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.frame&&me.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var z=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},oe.prototype.getState.call(this));return z.typeName=this.typeName,z},te.prototype.restoreState=function(z){var re=z;this.fillColor=re.fillColor,this.strokeColor=re.strokeColor,this.strokeWidth=re.strokeWidth,this.strokeDasharray=re.strokeDasharray,this.textColor=re.textColor,this.fontFamily=re.fontFamily,this.captionText=re.captionText,this.fontSize=re.fontSize,this.createVisual(),oe.prototype.restoreState.call(this,z),this.setSize()},te.prototype.scale=function(z,re){oe.prototype.scale.call(this,z,re),this.setSize()},te.typeName="CaptionFrameMarker",te.title="Caption frame marker",te.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>',te}(it),Ge=function(){function oe(te,z){z===void 0&&(z=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=te,this.cancelable=z}return Object.defineProperty(oe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),oe.prototype.preventDefault=function(){this._defaultPrevented=!0},oe}(),st=function(oe){function te(z,re,le){var ne=oe.call(this,z,!1)||this;return ne.dataUrl=re,ne.state=le,ne}return je(te,oe),te}(Ge),xe=function(oe){function te(z,re,le){le===void 0&&(le=!1);var ne=oe.call(this,z,le)||this;return ne.marker=re,ne}return je(te,oe),te}(Ge),lt=function(){function oe(){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 oe.prototype.addEventListener=function(te,z){this[te].push(z)},oe.prototype.removeEventListener=function(te,z){var re=this[te].indexOf(z);re>-1&&this[te].splice(re,1)},oe}(),wt=function(){function oe(te){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Re,this._isOpen=!1,this.undoRedoManager=new Qe,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 lt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=oe.instanceCounter++,this.styles=new de(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=te,this.targetRoot=document.body,this.width=te.clientWidth,this.height=te.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(oe.prototype,"ALL_MARKER_TYPES",{get:function(){return[At,Pe,Wt,Ye,Me,Yt,Rt,ct,Ct,bt,ut,ot,Kt]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[At,Pe,Wt,Ye,Yt,Rt,ct]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[At,Pe,Wt,Ye,Rt]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(te){var z=this;this._availableMarkerTypes.splice(0),te.forEach(function(re){if(typeof re=="string"){var le=z.ALL_MARKER_TYPES.find(function(ne){return ne.typeName===re});le!==void 0&&z._availableMarkerTypes.push(le)}else z._availableMarkerTypes.push(re)})},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(te){this._zoomLevel=te,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(oe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),oe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ie.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},oe.prototype.show=function(){var te=this;this.styles.styleSheetRoot===void 0&&Ce.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ce.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(z){return z(new Ge(te))})},oe.prototype.render=function(){return De(this,void 0,void 0,function(){var te;return ze(this,function(z){switch(z.label){case 0:return this.setCurrentMarker(),(te=new He).naturalSize=this.renderAtNaturalSize,te.imageType=this.renderImageType,te.imageQuality=this.renderImageQuality,te.markersOnly=this.renderMarkersOnly,te.width=this.renderWidth,te.height=this.renderHeight,[4,te.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return z.sent(),[4,te.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,z.sent()]}})})},oe.prototype.close=function(te){var z=this;if(te===void 0&&(te=!1),this.isOpen){var re=!1;te||this.eventListeners.beforeclose.forEach(function(le){var ne=new Ge(z,!0);le(ne),ne.defaultPrevented&&(re=!0)}),re||(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(le){return le(new Ge(z))}),this.detachEvents(),this._isOpen=!1)}},oe.prototype.addMarkersToToolbar=function(){for(var te,z=[],re=0;re<arguments.length;re++)z[re]=arguments[re];(te=this._availableMarkerTypes).push.apply(te,z)},oe.prototype.addRenderEventListener=function(te){this.addEventListener("render",function(z){te(z.dataUrl,z.state)})},oe.prototype.removeRenderEventListener=function(te){},oe.prototype.addCloseEventListener=function(te){this.addEventListener("close",function(){te()})},oe.prototype.removeCloseEventListener=function(te){},oe.prototype.setupResizeObserver=function(){var te=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){te.resize(te.target.clientWidth,te.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return te.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},oe.prototype.onPopupTargetResize=function(){var te=1*this.target.clientWidth/this.target.clientHeight,z=this.editorCanvas.clientWidth/te>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*te:this.editorCanvas.clientWidth,re=z<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/te;this.resize(z,re)},oe.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},oe.prototype.resize=function(te,z){this._isResizing=!0;var re=te/this.imageWidth,le=z/this.imageHeight;this.imageWidth=Math.round(te),this.imageHeight=Math.round(z),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(re,le),this._isResizing=!1},oe.prototype.scaleMarkers=function(te,z){var re,le=this;this._currentMarker&&this._currentMarker instanceof Ye?this._currentMarker.scale(te,z):(re=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ne){ne!==le._currentMarker&&ne.scale(te,z)}),re!==void 0&&this.setCurrentMarker(re)},oe.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"},oe.prototype.setTopLeft=function(){var te=this.editingTarget.getBoundingClientRect(),z=this.editorCanvas.getBoundingClientRect();this.left=te.left-z.left,this.top=te.top-z.top},oe.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)},oe.prototype.addDefs=function(){for(var te,z=[],re=0;re<arguments.length;re++)z[re]=arguments[re];this.defs=me.createDefs(),this.addDefsToImage(),(te=this.defs).append.apply(te,z)},oe.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},oe.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)},oe.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},oe.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},oe.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)},oe.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},oe.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)},oe.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 te=document.createElement("a");te.href="https://markerjs.com/",te.target="_blank",te.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>',te.title="Powered by marker.js",te.style.display="grid",te.style.alignItems="center",te.style.justifyItems="center",te.style.padding="3px",te.style.width="20px",te.style.height="20px",this.logoUI.appendChild(te),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},oe.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")},oe.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"},oe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},oe.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 te=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=te+"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 at(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 Oe(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},oe.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},oe.prototype.removeMarker=function(te){this.markerImage.removeChild(te.container),this.markers.indexOf(te)>-1&&this.markers.splice(this.markers.indexOf(te),1),te.dispose()},oe.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())},oe.prototype.toolbarButtonClicked=function(te,z){if(te==="marker"&&z!==void 0)this.createNewMarker(z);else if(te==="action")switch(z){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()}},oe.prototype.deleteSelectedMarker=function(){var te=this;if(this._currentMarker!==void 0){var z=!1;if(this.eventListeners.markerbeforedelete.forEach(function(le){var ne=new xe(te,te._currentMarker,!0);le(ne),ne.defaultPrevented&&(z=!0)}),!z){var re=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(le){return le(new xe(te,re))})}}},oe.prototype.clear=function(){var te=this,z=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(be){var Ue=new xe(te,void 0,!0);be(Ue),Ue.defaultPrevented&&(z=!0)}),!z)){this.setCurrentMarker();for(var re=function(be){var Ue=le.markers[be];le.setCurrentMarker(le.markers[be]),le._currentMarker.dispose(),le.markerImage.removeChild(le._currentMarker.container),le.markers.splice(le.markers.indexOf(le._currentMarker),1),le.eventListeners.markerdelete.forEach(function(Dt){return Dt(new xe(te,Ue))})},le=this,ne=this.markers.length-1;ne>=0;ne--)re(ne);this.addUndoStep()}},Object.defineProperty(oe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),oe.prototype.showNotesEditor=function(){var te;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=(te=this._currentMarker.notes)!==null&&te!==void 0?te:"",this.overlayContainer.appendChild(this.notesArea))},oe.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)},oe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},oe.prototype.addUndoStep=function(){var te=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var z=this.getState(),re=this.undoRedoManager.getLastUndoStep();if(!re||re.width===z.width&&re.height===z.height){var le=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(z),le<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ne){return ne(new Ge(te))})}else this.undoRedoManager.replaceLastUndoStep(z),this.eventListeners.statechange.forEach(function(ne){return ne(new Ge(te))})}},oe.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},oe.prototype.undoStep=function(){var te=this,z=this.undoRedoManager.undo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(re){return re(new Ge(te))}))},oe.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},oe.prototype.redoStep=function(){var te=this,z=this.undoRedoManager.redo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(re){return re(new Ge(te))}))},oe.prototype.stepZoom=function(){var te=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=te<this.zoomSteps.length-1?this.zoomSteps[te+1]:this.zoomSteps[0]},oe.prototype.panTo=function(te){this.contentDiv.scrollBy({left:this.prevPanPoint.x-te.x,top:this.prevPanPoint.y-te.y}),this.prevPanPoint=te},oe.prototype.startRenderAndClose=function(){return De(this,void 0,void 0,function(){var te,z,re=this;return ze(this,function(le){switch(le.label){case 0:return[4,this.render()];case 1:return te=le.sent(),z=this.getState(),this.eventListeners.render.forEach(function(ne){return ne(new st(re,te,z))}),this.close(!0),[2]}})})},oe.prototype.getState=function(te){te===!0&&this.setCurrentMarker();var z={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(re){return z.markers.push(re.getState())}),z},oe.prototype.restoreState=function(te){var z=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);te.markers.forEach(function(re){var le=z._availableMarkerTypes.find(function(be){return be.typeName===re.typeName});if(le!==void 0){var ne=z.addNewMarker(le);ne.restoreState(re),z.markers.push(ne)}}),te.width&&te.height&&(te.width!==this.imageWidth||te.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/te.width,this.imageHeight/te.height),this.eventListeners.restorestate.forEach(function(re){return re(new Ge(z))})},oe.prototype.addNewMarker=function(te){var z=me.createGroup();return this.markerImage.appendChild(z),new te(z,this.overlayContainer,this.settings)},oe.prototype.createNewMarker=function(te){var z,re=this;(z=typeof te=="string"?this._availableMarkerTypes.find(function(le){return le.typeName===te}):te)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(z),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(z.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(le){return le(new xe(re,re._currentMarker))}))},oe.prototype.markerCreated=function(te){var z=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(te),this.setCurrentMarker(te),te instanceof Pe&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Pe):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(re){return re(new xe(z,z._currentMarker))})},oe.prototype.colorChanged=function(te){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=te,this.settings.defaultStrokeColor=te)},oe.prototype.fillColorChanged=function(te){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=te)},oe.prototype.markerStateChanged=function(te){var z=this;this.eventListeners.markerchange.forEach(function(re){return re(new xe(z,te))})},oe.prototype.setCurrentMarker=function(te){var z=this;this._currentMarker!==te&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(re){return re(new xe(z,z._currentMarker))})),this._currentMarker=te,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(re){return re(new xe(z,z._currentMarker))}))},oe.prototype.onPointerDown=function(te){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||te.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var z=this.markers.find(function(re){return re.ownsTarget(te.target)});z!==void 0?(this.setCurrentMarker(z),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(te.clientX,te.clientY),te.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:te.clientX,y:te.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(te.clientX,te.clientY))},oe.prototype.onDblClick=function(te){if(this._isFocused||this.focus(),this.mode==="select"){var z=this.markers.find(function(re){return re.ownsTarget(te.target)});z!==void 0&&z!==this._currentMarker&&this.setCurrentMarker(z),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(te.clientX,te.clientY),te.target):this.setCurrentMarker()}},oe.prototype.onPointerMove=function(te){this.touchPoints!==1&&te.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||te.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(te.clientX,te.clientY)):this.zoomLevel>1&&this.panTo({x:te.clientX,y:te.clientY}))},oe.prototype.onPointerUp=function(te){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(te.clientX,te.clientY)),this.isDragging=!1,this.addUndoStep()},oe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},oe.prototype.onKeyUp=function(te){this._currentMarker===void 0||this.notesArea!==void 0||te.key!=="Delete"&&te.key!=="Backspace"||this.deleteSelectedMarker()},oe.prototype.clientToLocalCoordinates=function(te,z){var re=this.markerImage.getBoundingClientRect();return{x:(te-re.left)/this.zoomLevel,y:(z-re.top)/this.zoomLevel}},oe.prototype.onWindowResize=function(){this.positionUI()},oe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var te=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=te+"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()},oe.prototype.addLicenseKey=function(te){Ie.addKey(te)},oe.prototype.addEventListener=function(te,z){this.eventListeners.addEventListener(te,z)},oe.prototype.removeEventListener=function(te,z){this.eventListeners.removeEventListener(te,z)},oe.prototype.renderState=function(te){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(te),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(oe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),oe.prototype.focus=function(){var te=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(z){return z(new Ge(te))}))},oe.prototype.blur=function(){var te=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(z){return z(new Ge(te))}))},oe.instanceCounter=0,oe}()},66042:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return Ye}});var ae=fe(98506),je=fe(16886),De=fe(43403),ze=fe(34280),ve=fe(59301),me=ve.createContext(null),Ie=ve.createContext({}),He=me,Ce=fe(52873),de=fe(67711),Je=fe(92310),pe=fe.n(Je),at=fe(77900),Oe=fe(10228),Se=fe(26112),Ee=fe(33346),we=fe(8654),Ve=["prefixCls","className","containerRef"],tt=function(_e){var Wt=_e.prefixCls,bt=_e.className,un=_e.containerRef,Rt=(0,Ee.Z)(_e,Ve),ge=ve.useContext(Ie),he=ge.panel,ct=(0,we.x1)(he,un);return ve.createElement("div",(0,de.Z)({className:pe()("".concat(Wt,"-content"),bt),role:"dialog",ref:ct},(0,Se.Z)(_e,{aria:!0}),{"aria-modal":"true"},Rt))},nt=tt,it=fe(48736);function Ke(Pe){return typeof Pe=="string"&&String(Number(Pe))===Pe?((0,it.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Pe)):Pe}function Xe(Pe){warning(!("wrapperClassName"in Pe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Pe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var rt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function At(Pe,_e){var Wt,bt,un,Rt=Pe.prefixCls,ge=Pe.open,he=Pe.placement,ct=Pe.inline,Yt=Pe.push,Ct=Pe.forceRender,Me=Pe.autoFocus,Qe=Pe.keyboard,ot=Pe.classNames,Kt=Pe.rootClassName,Ge=Pe.rootStyle,st=Pe.zIndex,xe=Pe.className,lt=Pe.id,wt=Pe.style,oe=Pe.motion,te=Pe.width,z=Pe.height,re=Pe.children,le=Pe.mask,ne=Pe.maskClosable,be=Pe.maskMotion,Ue=Pe.maskClassName,Dt=Pe.maskStyle,mt=Pe.afterOpenChange,ft=Pe.onClose,yt=Pe.onMouseEnter,Nt=Pe.onMouseOver,Ft=Pe.onMouseLeave,Zt=Pe.onClick,Xt=Pe.onKeyDown,kt=Pe.onKeyUp,rn=Pe.styles,Vt=Pe.drawerRender,an=ve.useRef(),et=ve.useRef(),cn=ve.useRef();ve.useImperativeHandle(_e,function(){return an.current});var zt=function(ti){var _t=ti.keyCode,ln=ti.shiftKey;switch(_t){case Oe.Z.TAB:{if(_t===Oe.Z.TAB){if(!ln&&document.activeElement===cn.current){var fn;(fn=et.current)===null||fn===void 0||fn.focus({preventScroll:!0})}else if(ln&&document.activeElement===et.current){var Ln;(Ln=cn.current)===null||Ln===void 0||Ln.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{ft&&Qe&&(ti.stopPropagation(),ft(ti));break}}};ve.useEffect(function(){if(ge&&Me){var Fn;(Fn=an.current)===null||Fn===void 0||Fn.focus({preventScroll:!0})}},[ge]);var jt=ve.useState(!1),sn=(0,je.Z)(jt,2),En=sn[0],tn=sn[1],gn=ve.useContext(He),Kn;typeof Yt=="boolean"?Kn=Yt?{}:{distance:0}:Kn=Yt||{};var en=(Wt=(bt=(un=Kn)===null||un===void 0?void 0:un.distance)!==null&&bt!==void 0?bt:gn==null?void 0:gn.pushDistance)!==null&&Wt!==void 0?Wt:180,$n=ve.useMemo(function(){return{pushDistance:en,push:function(){tn(!0)},pull:function(){tn(!1)}}},[en]);ve.useEffect(function(){if(ge){var Fn;gn==null||(Fn=gn.push)===null||Fn===void 0||Fn.call(gn)}else{var ti;gn==null||(ti=gn.pull)===null||ti===void 0||ti.call(gn)}},[ge]),ve.useEffect(function(){return function(){var Fn;gn==null||(Fn=gn.pull)===null||Fn===void 0||Fn.call(gn)}},[]);var yi=le&&ve.createElement(at.default,(0,de.Z)({key:"mask"},be,{visible:ge}),function(Fn,ti){var _t=Fn.className,ln=Fn.style;return ve.createElement("div",{className:pe()("".concat(Rt,"-mask"),_t,ot==null?void 0:ot.mask,Ue),style:(0,ae.Z)((0,ae.Z)((0,ae.Z)({},ln),Dt),rn==null?void 0:rn.mask),onClick:ne&&ge?ft:void 0,ref:ti})}),ei=typeof oe=="function"?oe(he):oe,Xn={};if(En&&en)switch(he){case"top":Xn.transform="translateY(".concat(en,"px)");break;case"bottom":Xn.transform="translateY(".concat(-en,"px)");break;case"left":Xn.transform="translateX(".concat(en,"px)");break;default:Xn.transform="translateX(".concat(-en,"px)");break}he==="left"||he==="right"?Xn.width=Ke(te):Xn.height=Ke(z);var Nn={onMouseEnter:yt,onMouseOver:Nt,onMouseLeave:Ft,onClick:Zt,onKeyDown:Xt,onKeyUp:kt},si=ve.createElement(at.default,(0,de.Z)({key:"panel"},ei,{visible:ge,forceRender:Ct,onVisibleChanged:function(ti){mt==null||mt(ti)},removeOnLeave:!1,leavedClassName:"".concat(Rt,"-content-wrapper-hidden")}),function(Fn,ti){var _t=Fn.className,ln=Fn.style,fn=ve.createElement(nt,(0,de.Z)({id:lt,containerRef:ti,prefixCls:Rt,className:pe()(xe,ot==null?void 0:ot.content),style:(0,ae.Z)((0,ae.Z)({},wt),rn==null?void 0:rn.content)},(0,Se.Z)(Pe,{aria:!0}),Nn),re);return ve.createElement("div",(0,de.Z)({className:pe()("".concat(Rt,"-content-wrapper"),ot==null?void 0:ot.wrapper,_t),style:(0,ae.Z)((0,ae.Z)((0,ae.Z)({},Xn),ln),rn==null?void 0:rn.wrapper)},(0,Se.Z)(Pe,{data:!0})),Vt?Vt(fn):fn)}),Li=(0,ae.Z)({},Ge);return st&&(Li.zIndex=st),ve.createElement(He.Provider,{value:$n},ve.createElement("div",{className:pe()(Rt,"".concat(Rt,"-").concat(he),Kt,(0,Ce.Z)((0,Ce.Z)({},"".concat(Rt,"-open"),ge),"".concat(Rt,"-inline"),ct)),style:Li,tabIndex:-1,ref:an,onKeyDown:zt},yi,ve.createElement("div",{tabIndex:0,ref:et,style:rt,"aria-hidden":"true","data-sentinel":"start"}),si,ve.createElement("div",{tabIndex:0,ref:cn,style:rt,"aria-hidden":"true","data-sentinel":"end"})))}var Re=ve.forwardRef(At),Fe=Re,ut=function(_e){var Wt=_e.open,bt=Wt===void 0?!1:Wt,un=_e.prefixCls,Rt=un===void 0?"rc-drawer":un,ge=_e.placement,he=ge===void 0?"right":ge,ct=_e.autoFocus,Yt=ct===void 0?!0:ct,Ct=_e.keyboard,Me=Ct===void 0?!0:Ct,Qe=_e.width,ot=Qe===void 0?378:Qe,Kt=_e.mask,Ge=Kt===void 0?!0:Kt,st=_e.maskClosable,xe=st===void 0?!0:st,lt=_e.getContainer,wt=_e.forceRender,oe=_e.afterOpenChange,te=_e.destroyOnClose,z=_e.onMouseEnter,re=_e.onMouseOver,le=_e.onMouseLeave,ne=_e.onClick,be=_e.onKeyDown,Ue=_e.onKeyUp,Dt=_e.panelRef,mt=ve.useState(!1),ft=(0,je.Z)(mt,2),yt=ft[0],Nt=ft[1],Ft=ve.useState(!1),Zt=(0,je.Z)(Ft,2),Xt=Zt[0],kt=Zt[1];(0,ze.Z)(function(){kt(!0)},[]);var rn=Xt?bt:!1,Vt=ve.useRef(),an=ve.useRef();(0,ze.Z)(function(){rn&&(an.current=document.activeElement)},[rn]);var et=function(En){var tn;if(Nt(En),oe==null||oe(En),!En&&an.current&&!((tn=Vt.current)!==null&&tn!==void 0&&tn.contains(an.current))){var gn;(gn=an.current)===null||gn===void 0||gn.focus({preventScroll:!0})}},cn=ve.useMemo(function(){return{panel:Dt}},[Dt]);if(!wt&&!yt&&!rn&&te)return null;var zt={onMouseEnter:z,onMouseOver:re,onMouseLeave:le,onClick:ne,onKeyDown:be,onKeyUp:Ue},jt=(0,ae.Z)((0,ae.Z)({},_e),{},{open:rn,prefixCls:Rt,placement:he,autoFocus:Yt,keyboard:Me,width:ot,mask:Ge,maskClosable:xe,inline:lt===!1,afterOpenChange:et,ref:Vt},zt);return ve.createElement(Ie.Provider,{value:cn},ve.createElement(De.Z,{open:rn||wt||yt,autoDestroy:!1,getContainer:lt,autoLock:Ge&&(rn||yt)},ve.createElement(Fe,jt)))},Be=ut,Ye=Be},6551:function(xt,Pt,fe){"use strict";fe.d(Pt,{ZP:function(){return Ie}});var ae=fe(16886),je=fe(59301),De=fe(47273),ze=0,ve=(0,De.Z)();function me(){var He;return ve?(He=ze,ze+=1):He="TEST_OR_SSR",He}function Ie(He){var Ce=je.useState(),de=(0,ae.Z)(Ce,2),Je=de[0],pe=de[1];return je.useEffect(function(){pe("rc_select_".concat(me()))},[]),He||Je}},37463:function(xt,Pt,fe){"use strict";fe.d(Pt,{Ac:function(){return et},Xo:function(){return zt},Wx:function(){return sn},ZP:function(){return Wn},lk:function(){return nt}});var ae=fe(67711),je=fe(15142),De=fe(52873),ze=fe(98506),ve=fe(16886),me=fe(33346),Ie=fe(26420),He=fe(18929),Ce=fe(48736),de=fe(59301),Je=fe(92310),pe=fe.n(Je),at=fe(34280),Oe=fe(49658),Se=fe(8654),Ee=function(Le){var Bt=Le.className,ht=Le.customizeIcon,Te=Le.customizeIconProps,dt=Le.children,Ut=Le.onMouseDown,Qt=Le.onClick,nn=typeof ht=="function"?ht(Te):ht;return de.createElement("span",{className:Bt,onMouseDown:function(Gt){Gt.preventDefault(),Ut==null||Ut(Gt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qt,"aria-hidden":!0},nn!==void 0?nn:de.createElement("span",{className:pe()(Bt.split(/\s+/).map(function(Ne){return"".concat(Ne,"-icon")}))},dt))},we=Ee,Ve=function(Le,Bt,ht,Te,dt){var Ut=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Qt=arguments.length>6?arguments[6]:void 0,nn=arguments.length>7?arguments[7]:void 0,Ne=de.useMemo(function(){if((0,Ie.Z)(Te)==="object")return Te.clearIcon;if(dt)return dt},[Te,dt]),Gt=de.useMemo(function(){return!!(!Ut&&Te&&(ht.length||Qt)&&!(nn==="combobox"&&Qt===""))},[Te,Ut,ht.length,Qt,nn]);return{allowClear:Gt,clearIcon:de.createElement(we,{className:"".concat(Le,"-clear"),onMouseDown:Bt,customizeIcon:Ne},"\xD7")}},tt=de.createContext(null);function nt(){return de.useContext(tt)}function it(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Le=de.useState(!1),Bt=(0,ve.Z)(Le,2),ht=Bt[0],Te=Bt[1],dt=de.useRef(null),Ut=function(){window.clearTimeout(dt.current)};de.useEffect(function(){return Ut},[]);var Qt=function(Ne,Gt){Ut(),dt.current=window.setTimeout(function(){Te(Ne),Gt&&Gt()},ke)};return[ht,Qt,Ut]}function Ke(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Le=de.useRef(null),Bt=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(Bt.current)}},[]);function ht(Te){(Te||Le.current===null)&&(Le.current=Te),window.clearTimeout(Bt.current),Bt.current=window.setTimeout(function(){Le.current=null},ke)}return[function(){return Le.current},ht]}function Xe(ke,Le,Bt,ht){var Te=de.useRef(null);Te.current={open:Le,triggerOpen:Bt,customizedTrigger:ht},de.useEffect(function(){function dt(Ut){var Qt;if(!((Qt=Te.current)!==null&&Qt!==void 0&&Qt.customizedTrigger)){var nn=Ut.target;nn.shadowRoot&&Ut.composed&&(nn=Ut.composedPath()[0]||nn),Te.current.open&&ke().filter(function(Ne){return Ne}).every(function(Ne){return!Ne.contains(nn)&&Ne!==nn})&&Te.current.triggerOpen(!1)}}return window.addEventListener("mousedown",dt),function(){return window.removeEventListener("mousedown",dt)}},[])}var rt=fe(10228);function At(ke){return ke&&![rt.Z.ESC,rt.Z.SHIFT,rt.Z.BACKSPACE,rt.Z.TAB,rt.Z.WIN_KEY,rt.Z.ALT,rt.Z.META,rt.Z.WIN_KEY_RIGHT,rt.Z.CTRL,rt.Z.SEMICOLON,rt.Z.EQUALS,rt.Z.CAPS_LOCK,rt.Z.CONTEXT_MENU,rt.Z.F1,rt.Z.F2,rt.Z.F3,rt.Z.F4,rt.Z.F5,rt.Z.F6,rt.Z.F7,rt.Z.F8,rt.Z.F9,rt.Z.F10,rt.Z.F11,rt.Z.F12].includes(ke)}var Re=fe(26112),Fe=fe(11780);function ut(ke,Le,Bt){var ht=(0,ze.Z)((0,ze.Z)({},ke),Bt?Le:{});return Object.keys(Le).forEach(function(Te){var dt=Le[Te];typeof dt=="function"&&(ht[Te]=function(){for(var Ut,Qt=arguments.length,nn=new Array(Qt),Ne=0;Ne<Qt;Ne++)nn[Ne]=arguments[Ne];return dt.apply(void 0,nn),(Ut=ke[Te])===null||Ut===void 0?void 0:Ut.call.apply(Ut,[ke].concat(nn))})}),ht}var Be=ut,Ye=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Pe=function(Le,Bt){var ht=Le.prefixCls,Te=Le.id,dt=Le.inputElement,Ut=Le.autoFocus,Qt=Le.autoComplete,nn=Le.editable,Ne=Le.activeDescendantId,Gt=Le.value,gt=Le.open,mn=Le.attrs,Ht=(0,me.Z)(Le,Ye),pn=dt||de.createElement("input",null),hn=pn,Cn=hn.ref,bn=hn.props;return(0,Ce.Kp)(!("maxLength"in pn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),pn=de.cloneElement(pn,(0,ze.Z)((0,ze.Z)((0,ze.Z)({type:"search"},Be(Ht,bn,!0)),{},{id:Te,ref:(0,Se.sQ)(Bt,Cn),autoComplete:Qt||"off",autoFocus:Ut,className:pe()("".concat(ht,"-selection-search-input"),bn==null?void 0:bn.className),role:"combobox","aria-expanded":gt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Te,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Te,"_list"),"aria-activedescendant":gt?Ne:void 0},mn),{},{value:nn?Gt:"",readOnly:!nn,unselectable:nn?null:"on",style:(0,ze.Z)((0,ze.Z)({},bn.style),{},{opacity:nn?null:0})})),pn},_e=de.forwardRef(Pe),Wt=_e;function bt(ke){return Array.isArray(ke)?ke:ke!==void 0?[ke]:[]}var un=typeof window!="undefined"&&window.document&&window.document.documentElement,Rt=un;function ge(ke){return ke!=null}function he(ke){return!ke&&ke!==0}function ct(ke){return["string","number"].includes((0,Ie.Z)(ke))}function Yt(ke){var Le=void 0;return ke&&(ct(ke.title)?Le=ke.title.toString():ct(ke.label)&&(Le=ke.label.toString())),Le}function Ct(ke,Le){Rt?de.useLayoutEffect(ke,Le):de.useEffect(ke,Le)}function Me(ke){var Le;return(Le=ke.key)!==null&&Le!==void 0?Le:ke.value}var Qe=function(Le){Le.preventDefault(),Le.stopPropagation()},ot=function(Le){var Bt=Le.id,ht=Le.prefixCls,Te=Le.values,dt=Le.open,Ut=Le.searchValue,Qt=Le.autoClearSearchValue,nn=Le.inputRef,Ne=Le.placeholder,Gt=Le.disabled,gt=Le.mode,mn=Le.showSearch,Ht=Le.autoFocus,pn=Le.autoComplete,hn=Le.activeDescendantId,Cn=Le.tabIndex,bn=Le.removeIcon,zn=Le.maxTagCount,Qn=Le.maxTagTextLength,Rn=Le.maxTagPlaceholder,ui=Rn===void 0?function(pt){return"+ ".concat(pt.length," ...")}:Rn,Bn=Le.tagRender,bi=Le.onToggleOpen,Ti=Le.onRemove,_n=Le.onInputChange,hi=Le.onInputPaste,Ai=Le.onInputKeyDown,fi=Le.onInputMouseDown,Gn=Le.onInputCompositionStart,Si=Le.onInputCompositionEnd,ii=Le.onInputBlur,ri=de.useRef(null),di=(0,de.useState)(0),Bi=(0,ve.Z)(di,2),pi=Bi[0],Jn=Bi[1],Hn=(0,de.useState)(!1),oi=(0,ve.Z)(Hn,2),Vi=oi[0],Di=oi[1],Ci="".concat(ht,"-selection"),ir=dt||gt==="multiple"&&Qt===!1||gt==="tags"?Ut:"",Ei=gt==="tags"||gt==="multiple"&&Qt===!1||mn&&(dt||Vi);Ct(function(){Jn(ri.current.scrollWidth)},[ir]);var lr=function($e,St,Tt,vn,wn){return de.createElement("span",{title:Yt($e),className:pe()("".concat(Ci,"-item"),(0,De.Z)({},"".concat(Ci,"-item-disabled"),Tt))},de.createElement("span",{className:"".concat(Ci,"-item-content")},St),vn&&de.createElement(we,{className:"".concat(Ci,"-item-remove"),onMouseDown:Qe,onClick:wn,customizeIcon:bn},"\xD7"))},_i=function($e,St,Tt,vn,wn,On){var jn=function(vi){Qe(vi),bi(!dt)};return de.createElement("span",{onMouseDown:jn},Bn({label:St,value:$e,disabled:Tt,closable:vn,onClose:wn,isMaxTag:!!On}))},Ii=function($e){var St=$e.disabled,Tt=$e.label,vn=$e.value,wn=!Gt&&!St,On=Tt;if(typeof Qn=="number"&&(typeof Tt=="string"||typeof Tt=="number")){var jn=String(On);jn.length>Qn&&(On="".concat(jn.slice(0,Qn),"..."))}var Zn=function(ai){ai&&ai.stopPropagation(),Ti($e)};return typeof Bn=="function"?_i(vn,On,St,wn,Zn):lr($e,On,St,wn,Zn)},Dn=function($e){if(!Te.length)return null;var St=typeof ui=="function"?ui($e):ui;return typeof Bn=="function"?_i(void 0,St,!1,!1,void 0,!0):lr({title:St},St,!1)},Lt=de.createElement("div",{className:"".concat(Ci,"-search"),style:{width:pi},onFocus:function(){Di(!0)},onBlur:function(){Di(!1)}},de.createElement(Wt,{ref:nn,open:dt,prefixCls:ht,id:Bt,inputElement:null,disabled:Gt,autoFocus:Ht,autoComplete:pn,editable:Ei,activeDescendantId:hn,value:ir,onKeyDown:Ai,onMouseDown:fi,onChange:_n,onPaste:hi,onCompositionStart:Gn,onCompositionEnd:Si,onBlur:ii,tabIndex:Cn,attrs:(0,Re.Z)(Le,!0)}),de.createElement("span",{ref:ri,className:"".concat(Ci,"-search-mirror"),"aria-hidden":!0},ir,"\xA0")),It=de.createElement(Fe.Z,{prefixCls:"".concat(Ci,"-overflow"),data:Te,renderItem:Ii,renderRest:Dn,suffix:Lt,itemKey:Me,maxCount:zn});return de.createElement("span",{className:"".concat(Ci,"-wrap")},It,!Te.length&&!ir&&de.createElement("span",{className:"".concat(Ci,"-placeholder")},Ne))},Kt=ot,Ge=function(Le){var Bt=Le.inputElement,ht=Le.prefixCls,Te=Le.id,dt=Le.inputRef,Ut=Le.disabled,Qt=Le.autoFocus,nn=Le.autoComplete,Ne=Le.activeDescendantId,Gt=Le.mode,gt=Le.open,mn=Le.values,Ht=Le.placeholder,pn=Le.tabIndex,hn=Le.showSearch,Cn=Le.searchValue,bn=Le.activeValue,zn=Le.maxLength,Qn=Le.onInputKeyDown,Rn=Le.onInputMouseDown,ui=Le.onInputChange,Bn=Le.onInputPaste,bi=Le.onInputCompositionStart,Ti=Le.onInputCompositionEnd,_n=Le.onInputBlur,hi=Le.title,Ai=de.useState(!1),fi=(0,ve.Z)(Ai,2),Gn=fi[0],Si=fi[1],ii=Gt==="combobox",ri=ii||hn,di=mn[0],Bi=Cn||"";ii&&bn&&!Gn&&(Bi=bn),de.useEffect(function(){ii&&Si(!1)},[ii,bn]);var pi=Gt!=="combobox"&&!gt&&!hn?!1:!!Bi,Jn=hi===void 0?Yt(di):hi,Hn=de.useMemo(function(){return di?null:de.createElement("span",{className:"".concat(ht,"-selection-placeholder"),style:pi?{visibility:"hidden"}:void 0},Ht)},[di,pi,Ht,ht]);return de.createElement("span",{className:"".concat(ht,"-selection-wrap")},de.createElement("span",{className:"".concat(ht,"-selection-search")},de.createElement(Wt,{ref:dt,prefixCls:ht,id:Te,open:gt,inputElement:Bt,disabled:Ut,autoFocus:Qt,autoComplete:nn,editable:ri,activeDescendantId:Ne,value:Bi,onKeyDown:Qn,onMouseDown:Rn,onChange:function(Vi){Si(!0),ui(Vi)},onPaste:Bn,onCompositionStart:bi,onCompositionEnd:Ti,onBlur:_n,tabIndex:pn,attrs:(0,Re.Z)(Le,!0),maxLength:ii?zn:void 0})),!ii&&di?de.createElement("span",{className:"".concat(ht,"-selection-item"),title:Jn,style:pi?{visibility:"hidden"}:void 0},di.label):null,Hn)},st=Ge,xe=function(Le,Bt){var ht=(0,de.useRef)(null),Te=(0,de.useRef)(!1),dt=Le.prefixCls,Ut=Le.open,Qt=Le.mode,nn=Le.showSearch,Ne=Le.tokenWithEnter,Gt=Le.disabled,gt=Le.prefix,mn=Le.autoClearSearchValue,Ht=Le.onSearch,pn=Le.onSearchSubmit,hn=Le.onToggleOpen,Cn=Le.onInputKeyDown,bn=Le.onInputBlur,zn=Le.domRef;de.useImperativeHandle(Bt,function(){return{focus:function(Jn){ht.current.focus(Jn)},blur:function(){ht.current.blur()}}});var Qn=Ke(0),Rn=(0,ve.Z)(Qn,2),ui=Rn[0],Bn=Rn[1],bi=function(Jn){var Hn=Jn.which,oi=ht.current instanceof HTMLTextAreaElement;!oi&&Ut&&(Hn===rt.Z.UP||Hn===rt.Z.DOWN)&&Jn.preventDefault(),Cn&&Cn(Jn),Hn===rt.Z.ENTER&&Qt==="tags"&&!Te.current&&!Ut&&(pn==null||pn(Jn.target.value)),!(oi&&!Ut&&~[rt.Z.UP,rt.Z.DOWN,rt.Z.LEFT,rt.Z.RIGHT].indexOf(Hn))&&At(Hn)&&hn(!0)},Ti=function(){Bn(!0)},_n=(0,de.useRef)(null),hi=function(Jn){Ht(Jn,!0,Te.current)!==!1&&hn(!0)},Ai=function(){Te.current=!0},fi=function(Jn){Te.current=!1,Qt!=="combobox"&&hi(Jn.target.value)},Gn=function(Jn){var Hn=Jn.target.value;if(Ne&&_n.current&&/[\r\n]/.test(_n.current)){var oi=_n.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Hn=Hn.replace(oi,_n.current)}_n.current=null,hi(Hn)},Si=function(Jn){var Hn=Jn.clipboardData,oi=Hn==null?void 0:Hn.getData("text");_n.current=oi||""},ii=function(Jn){var Hn=Jn.target;if(Hn!==ht.current){var oi=document.body.style.msTouchAction!==void 0;oi?setTimeout(function(){ht.current.focus()}):ht.current.focus()}},ri=function(Jn){var Hn=ui();Jn.target!==ht.current&&!Hn&&!(Qt==="combobox"&&Gt)&&Jn.preventDefault(),(Qt!=="combobox"&&(!nn||!Hn)||!Ut)&&(Ut&&mn!==!1&&Ht("",!0,!1),hn())},di={inputRef:ht,onInputKeyDown:bi,onInputMouseDown:Ti,onInputChange:Gn,onInputPaste:Si,onInputCompositionStart:Ai,onInputCompositionEnd:fi,onInputBlur:bn},Bi=Qt==="multiple"||Qt==="tags"?de.createElement(Kt,(0,ae.Z)({},Le,di)):de.createElement(st,(0,ae.Z)({},Le,di));return de.createElement("div",{ref:zn,className:"".concat(dt,"-selector"),onClick:ii,onMouseDown:ri},gt&&de.createElement("div",{className:"".concat(dt,"-prefix")},gt),Bi)},lt=de.forwardRef(xe),wt=lt,oe=fe(65030),te=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(Le){var Bt=Le===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"}}},re=function(Le,Bt){var ht=Le.prefixCls,Te=Le.disabled,dt=Le.visible,Ut=Le.children,Qt=Le.popupElement,nn=Le.animation,Ne=Le.transitionName,Gt=Le.dropdownStyle,gt=Le.dropdownClassName,mn=Le.direction,Ht=mn===void 0?"ltr":mn,pn=Le.placement,hn=Le.builtinPlacements,Cn=Le.dropdownMatchSelectWidth,bn=Le.dropdownRender,zn=Le.dropdownAlign,Qn=Le.getPopupContainer,Rn=Le.empty,ui=Le.getTriggerDOMNode,Bn=Le.onPopupVisibleChange,bi=Le.onPopupMouseEnter,Ti=(0,me.Z)(Le,te),_n="".concat(ht,"-dropdown"),hi=Qt;bn&&(hi=bn(Qt));var Ai=de.useMemo(function(){return hn||z(Cn)},[hn,Cn]),fi=nn?"".concat(_n,"-").concat(nn):Ne,Gn=typeof Cn=="number",Si=de.useMemo(function(){return Gn?null:Cn===!1?"minWidth":"width"},[Cn,Gn]),ii=Gt;Gn&&(ii=(0,ze.Z)((0,ze.Z)({},ii),{},{width:Cn}));var ri=de.useRef(null);return de.useImperativeHandle(Bt,function(){return{getPopupElement:function(){var Bi;return(Bi=ri.current)===null||Bi===void 0?void 0:Bi.popupElement}}}),de.createElement(oe.Z,(0,ae.Z)({},Ti,{showAction:Bn?["click"]:[],hideAction:Bn?["click"]:[],popupPlacement:pn||(Ht==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ai,prefixCls:_n,popupTransitionName:fi,popup:de.createElement("div",{onMouseEnter:bi},hi),ref:ri,stretch:Si,popupAlign:zn,popupVisible:dt,getPopupContainer:Qn,popupClassName:pe()(gt,(0,De.Z)({},"".concat(_n,"-empty"),Rn)),popupStyle:ii,getTriggerDOMNode:ui,onPopupVisibleChange:Bn}),Ut)},le=de.forwardRef(re),ne=le,be=fe(57879);function Ue(ke,Le){var Bt=ke.key,ht;return"value"in ke&&(ht=ke.value),Bt!=null?Bt:ht!==void 0?ht:"rc-index-key-".concat(Le)}function Dt(ke){return typeof ke!="undefined"&&!Number.isNaN(ke)}function mt(ke,Le){var Bt=ke||{},ht=Bt.label,Te=Bt.value,dt=Bt.options,Ut=Bt.groupLabel,Qt=ht||(Le?"children":"label");return{label:Qt,value:Te||"value",options:dt||"options",groupLabel:Ut||Qt}}function ft(ke){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=Le.fieldNames,ht=Le.childrenAsData,Te=[],dt=mt(Bt,!1),Ut=dt.label,Qt=dt.value,nn=dt.options,Ne=dt.groupLabel;function Gt(gt,mn){Array.isArray(gt)&>.forEach(function(Ht){if(mn||!(nn in Ht)){var pn=Ht[Qt];Te.push({key:Ue(Ht,Te.length),groupOption:mn,data:Ht,label:Ht[Ut],value:pn})}else{var hn=Ht[Ne];hn===void 0&&ht&&(hn=Ht.label),Te.push({key:Ue(Ht,Te.length),group:!0,data:Ht,label:hn}),Gt(Ht[nn],!0)}})}return Gt(ke,!1),Te}function yt(ke){var Le=(0,ze.Z)({},ke);return"props"in Le||Object.defineProperty(Le,"props",{get:function(){return(0,Ce.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Le}}),Le}var Nt=function(Le,Bt,ht){if(!Bt||!Bt.length)return null;var Te=!1,dt=function Qt(nn,Ne){var Gt=(0,be.Z)(Ne),gt=Gt[0],mn=Gt.slice(1);if(!gt)return[nn];var Ht=nn.split(gt);return Te=Te||Ht.length>1,Ht.reduce(function(pn,hn){return[].concat((0,je.Z)(pn),(0,je.Z)(Qt(hn,mn)))},[]).filter(Boolean)},Ut=dt(Le,Bt);return Te?typeof ht!="undefined"?Ut.slice(0,ht):Ut:null},Ft=de.createContext(null),Zt=Ft;function Xt(ke){var Le=ke.visible,Bt=ke.values;if(!Le)return null;var ht=50;return de.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Bt.slice(0,ht).map(function(Te){var dt=Te.label,Ut=Te.value;return["number","string"].includes((0,Ie.Z)(dt))?dt:Ut}).join(", ")),Bt.length>ht?", ...":null)}var kt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],rn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Vt=function(Le){return Le==="tags"||Le==="multiple"},an=de.forwardRef(function(ke,Le){var Bt,ht=ke.id,Te=ke.prefixCls,dt=ke.className,Ut=ke.showSearch,Qt=ke.tagRender,nn=ke.direction,Ne=ke.omitDomProps,Gt=ke.displayValues,gt=ke.onDisplayValuesChange,mn=ke.emptyOptions,Ht=ke.notFoundContent,pn=Ht===void 0?"Not Found":Ht,hn=ke.onClear,Cn=ke.mode,bn=ke.disabled,zn=ke.loading,Qn=ke.getInputElement,Rn=ke.getRawInputElement,ui=ke.open,Bn=ke.defaultOpen,bi=ke.onDropdownVisibleChange,Ti=ke.activeValue,_n=ke.onActiveValueChange,hi=ke.activeDescendantId,Ai=ke.searchValue,fi=ke.autoClearSearchValue,Gn=ke.onSearch,Si=ke.onSearchSplit,ii=ke.tokenSeparators,ri=ke.allowClear,di=ke.prefix,Bi=ke.suffixIcon,pi=ke.clearIcon,Jn=ke.OptionList,Hn=ke.animation,oi=ke.transitionName,Vi=ke.dropdownStyle,Di=ke.dropdownClassName,Ci=ke.dropdownMatchSelectWidth,ir=ke.dropdownRender,Ei=ke.dropdownAlign,lr=ke.placement,_i=ke.builtinPlacements,Ii=ke.getPopupContainer,Dn=ke.showAction,Lt=Dn===void 0?[]:Dn,It=ke.onFocus,pt=ke.onBlur,$e=ke.onKeyUp,St=ke.onKeyDown,Tt=ke.onMouseDown,vn=(0,me.Z)(ke,kt),wn=Vt(Cn),On=(Ut!==void 0?Ut:wn)||Cn==="combobox",jn=(0,ze.Z)({},vn);rn.forEach(function(qn){delete jn[qn]}),Ne==null||Ne.forEach(function(qn){delete jn[qn]});var Zn=de.useState(!1),vi=(0,ve.Z)(Zn,2),ai=vi[0],Oi=vi[1];de.useEffect(function(){Oi((0,Oe.Z)())},[]);var kr=de.useRef(null),rr=de.useRef(null),Ui=de.useRef(null),ur=de.useRef(null),wi=de.useRef(null),dr=de.useRef(!1),Mr=it(),gi=(0,ve.Z)(Mr,3),yr=gi[0],pr=gi[1],zr=gi[2];de.useImperativeHandle(Le,function(){var qn,In;return{focus:(qn=ur.current)===null||qn===void 0?void 0:qn.focus,blur:(In=ur.current)===null||In===void 0?void 0:In.blur,scrollTo:function(cr){var Yi;return(Yi=wi.current)===null||Yi===void 0?void 0:Yi.scrollTo(cr)},nativeElement:kr.current||rr.current}});var br=de.useMemo(function(){var qn;if(Cn!=="combobox")return Ai;var In=(qn=Gt[0])===null||qn===void 0?void 0:qn.value;return typeof In=="string"||typeof In=="number"?String(In):""},[Ai,Cn,Gt]),Hr=Cn==="combobox"&&typeof Qn=="function"&&Qn()||null,ki=typeof Rn=="function"&&Rn(),Tr=(0,Se.x1)(rr,ki==null||(Bt=ki.props)===null||Bt===void 0?void 0:Bt.ref),$r=de.useState(!1),eo=(0,ve.Z)($r,2),jo=eo[0],Xr=eo[1];(0,at.Z)(function(){Xr(!0)},[]);var Hi=(0,He.Z)(!1,{defaultValue:Bn,value:ui}),to=(0,ve.Z)(Hi,2),ao=to[0],Zr=to[1],Ki=jo?ao:!1,bo=!pn&&mn;(bn||bo&&Ki&&Cn==="combobox")&&(Ki=!1);var so=bo?!1:Ki,xn=de.useCallback(function(qn){var In=qn!==void 0?qn:!Ki;bn||(Zr(In),Ki!==In&&(bi==null||bi(In)))},[bn,Ki,Zr,bi]),Pn=de.useMemo(function(){return(ii||[]).some(function(qn){return[`
|
|
`,`\r
|
|
`].includes(qn)})},[ii]),Sn=de.useContext(Zt)||{},kn=Sn.maxCount,li=Sn.rawValues,Pi=function(In,ar,cr){if(!(wn&&Dt(kn)&&(li==null?void 0:li.size)>=kn)){var Yi=!0,Ji=In;_n==null||_n(null);var Gr=Nt(In,ii,Dt(kn)?kn-li.size:void 0),Nr=cr?null:Gr;return Cn!=="combobox"&&Nr&&(Ji="",Si==null||Si(Nr),xn(!1),Yi=!1),Gn&&br!==Ji&&Gn(Ji,{source:ar?"typing":"effect"}),Yi}},Vr=function(In){!In||!In.trim()||Gn(In,{source:"submit"})};de.useEffect(function(){!Ki&&!wn&&Cn!=="combobox"&&Pi("",!1,!1)},[Ki]),de.useEffect(function(){ao&&bn&&Zr(!1),bn&&!dr.current&&pr(!1)},[bn]);var vr=Ke(),or=(0,ve.Z)(vr,2),Gi=or[0],Wr=or[1],Qr=de.useRef(!1),Lr=function(In){var ar=Gi(),cr=In.key,Yi=cr==="Enter";if(Yi&&(Cn!=="combobox"&&In.preventDefault(),Ki||xn(!0)),Wr(!!br),cr==="Backspace"&&!ar&&wn&&!br&&Gt.length){for(var Ji=(0,je.Z)(Gt),Gr=null,Nr=Ji.length-1;Nr>=0;Nr-=1){var io=Ji[Nr];if(!io.disabled){Ji.splice(Nr,1),Gr=io;break}}Gr&>(Ji,{type:"remove",values:[Gr]})}for(var Br=arguments.length,Dr=new Array(Br>1?Br-1:0),Yr=1;Yr<Br;Yr++)Dr[Yr-1]=arguments[Yr];if(Ki&&(!Yi||!Qr.current)){var uo;Yi&&(Qr.current=!0),(uo=wi.current)===null||uo===void 0||uo.onKeyDown.apply(uo,[In].concat(Dr))}St==null||St.apply(void 0,[In].concat(Dr))},Jr=function(In){for(var ar=arguments.length,cr=new Array(ar>1?ar-1:0),Yi=1;Yi<ar;Yi++)cr[Yi-1]=arguments[Yi];if(Ki){var Ji;(Ji=wi.current)===null||Ji===void 0||Ji.onKeyUp.apply(Ji,[In].concat(cr))}In.key==="Enter"&&(Qr.current=!1),$e==null||$e.apply(void 0,[In].concat(cr))},no=function(In){var ar=Gt.filter(function(cr){return cr!==In});gt(ar,{type:"remove",values:[In]})},Ur=function(){Qr.current=!1},Do=de.useRef(!1),Ga=function(){pr(!0),bn||(It&&!Do.current&&It.apply(void 0,arguments),Lt.includes("focus")&&xn(!0)),Do.current=!0},ya=function(){dr.current=!0,pr(!1,function(){Do.current=!1,dr.current=!1,xn(!1)}),!bn&&(br&&(Cn==="tags"?Gn(br,{source:"submit"}):Cn==="multiple"&&Gn("",{source:"blur"})),pt&&pt.apply(void 0,arguments))},qr=[];de.useEffect(function(){return function(){qr.forEach(function(qn){return clearTimeout(qn)}),qr.splice(0,qr.length)}},[]);var lo=function(In){var ar,cr=In.target,Yi=(ar=Ui.current)===null||ar===void 0?void 0:ar.getPopupElement();if(Yi&&Yi.contains(cr)){var Ji=setTimeout(function(){var Br=qr.indexOf(Ji);if(Br!==-1&&qr.splice(Br,1),zr(),!ai&&!Yi.contains(document.activeElement)){var Dr;(Dr=ur.current)===null||Dr===void 0||Dr.focus()}});qr.push(Ji)}for(var Gr=arguments.length,Nr=new Array(Gr>1?Gr-1:0),io=1;io<Gr;io++)Nr[io-1]=arguments[io];Tt==null||Tt.apply(void 0,[In].concat(Nr))},Rr=de.useState({}),ba=(0,ve.Z)(Rr,2),wa=ba[1];function Ya(){wa({})}var Ca;ki&&(Ca=function(In){xn(In)}),Xe(function(){var qn;return[kr.current,(qn=Ui.current)===null||qn===void 0?void 0:qn.getPopupElement()]},so,xn,!!ki);var ja=de.useMemo(function(){return(0,ze.Z)((0,ze.Z)({},ke),{},{notFoundContent:pn,open:Ki,triggerOpen:so,id:ht,showSearch:On,multiple:wn,toggleOpen:xn})},[ke,pn,so,Ki,ht,On,wn,xn]),Ko=!!Bi||zn,Xo;Ko&&(Xo=de.createElement(we,{className:pe()("".concat(Te,"-arrow"),(0,De.Z)({},"".concat(Te,"-arrow-loading"),zn)),customizeIcon:Bi,customizeIconProps:{loading:zn,searchValue:br,open:Ki,focused:yr,showSearch:On}}));var wo=function(){var In;hn==null||hn(),(In=ur.current)===null||In===void 0||In.focus(),gt([],{type:"clear",values:Gt}),Pi("",!1,!1)},Qo=Ve(Te,wo,Gt,ri,pi,bn,br,Cn),xa=Qo.allowClear,Jo=Qo.clearIcon,Po=de.createElement(Jn,{ref:wi}),Aa=pe()(Te,dt,(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(Te,"-focused"),yr),"".concat(Te,"-multiple"),wn),"".concat(Te,"-single"),!wn),"".concat(Te,"-allow-clear"),ri),"".concat(Te,"-show-arrow"),Ko),"".concat(Te,"-disabled"),bn),"".concat(Te,"-loading"),zn),"".concat(Te,"-open"),Ki),"".concat(Te,"-customize-input"),Hr),"".concat(Te,"-show-search"),On)),Fo=de.createElement(ne,{ref:Ui,disabled:bn,prefixCls:Te,visible:so,popupElement:Po,animation:Hn,transitionName:oi,dropdownStyle:Vi,dropdownClassName:Di,direction:nn,dropdownMatchSelectWidth:Ci,dropdownRender:ir,dropdownAlign:Ei,placement:lr,builtinPlacements:_i,getPopupContainer:Ii,empty:mn,getTriggerDOMNode:function(In){return rr.current||In},onPopupVisibleChange:Ca,onPopupMouseEnter:Ya},ki?de.cloneElement(ki,{ref:Tr}):de.createElement(wt,(0,ae.Z)({},ke,{domRef:rr,prefixCls:Te,inputElement:Hr,ref:ur,id:ht,prefix:di,showSearch:On,autoClearSearchValue:fi,mode:Cn,activeDescendantId:hi,tagRender:Qt,values:Gt,open:Ki,onToggleOpen:xn,activeValue:Ti,searchValue:br,onSearch:Pi,onSearchSubmit:Vr,onRemove:no,tokenWithEnter:Pn,onInputBlur:Ur}))),wr;return ki?wr=Fo:wr=de.createElement("div",(0,ae.Z)({className:Aa},jn,{ref:kr,onMouseDown:lo,onKeyDown:Lr,onKeyUp:Jr,onFocus:Ga,onBlur:ya}),de.createElement(Xt,{visible:yr&&!Ki,values:Gt}),Fo,Xo,xa&&Jo),de.createElement(tt.Provider,{value:ja},wr)}),et=an,cn=function(){return null};cn.isSelectOptGroup=!0;var zt=cn,jt=function(){return null};jt.isSelectOption=!0;var sn=jt,En=fe(80547),tn=fe(2738),gn=fe(6790);function Kn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var en=["disabled","title","children","style","className"];function $n(ke){return typeof ke=="string"||typeof ke=="number"}var yi=function(Le,Bt){var ht=nt(),Te=ht.prefixCls,dt=ht.id,Ut=ht.open,Qt=ht.multiple,nn=ht.mode,Ne=ht.searchValue,Gt=ht.toggleOpen,gt=ht.notFoundContent,mn=ht.onPopupScroll,Ht=de.useContext(Zt),pn=Ht.maxCount,hn=Ht.flattenOptions,Cn=Ht.onActiveValue,bn=Ht.defaultActiveFirstOption,zn=Ht.onSelect,Qn=Ht.menuItemSelectedIcon,Rn=Ht.rawValues,ui=Ht.fieldNames,Bn=Ht.virtual,bi=Ht.direction,Ti=Ht.listHeight,_n=Ht.listItemHeight,hi=Ht.optionRender,Ai="".concat(Te,"-item"),fi=(0,En.Z)(function(){return hn},[Ut,hn],function(Dn,Lt){return Lt[0]&&Dn[1]!==Lt[1]}),Gn=de.useRef(null),Si=de.useMemo(function(){return Qt&&Dt(pn)&&(Rn==null?void 0:Rn.size)>=pn},[Qt,pn,Rn==null?void 0:Rn.size]),ii=function(Lt){Lt.preventDefault()},ri=function(Lt){var It;(It=Gn.current)===null||It===void 0||It.scrollTo(typeof Lt=="number"?{index:Lt}:Lt)},di=de.useCallback(function(Dn){return nn==="combobox"?!1:Rn.has(Dn)},[nn,(0,je.Z)(Rn).toString(),Rn.size]),Bi=function(Lt){for(var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,pt=fi.length,$e=0;$e<pt;$e+=1){var St=(Lt+$e*It+pt)%pt,Tt=fi[St]||{},vn=Tt.group,wn=Tt.data;if(!vn&&!(wn!=null&&wn.disabled)&&(di(wn.value)||!Si))return St}return-1},pi=de.useState(function(){return Bi(0)}),Jn=(0,ve.Z)(pi,2),Hn=Jn[0],oi=Jn[1],Vi=function(Lt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;oi(Lt);var pt={source:It?"keyboard":"mouse"},$e=fi[Lt];if(!$e){Cn(null,-1,pt);return}Cn($e.value,Lt,pt)};(0,de.useEffect)(function(){Vi(bn!==!1?Bi(0):-1)},[fi.length,Ne]);var Di=de.useCallback(function(Dn){return nn==="combobox"?String(Dn).toLowerCase()===Ne.toLowerCase():Rn.has(Dn)},[nn,Ne,(0,je.Z)(Rn).toString(),Rn.size]);(0,de.useEffect)(function(){var Dn=setTimeout(function(){if(!Qt&&Ut&&Rn.size===1){var It=Array.from(Rn)[0],pt=fi.findIndex(function($e){var St=$e.data;return Ne?String(St.value).startsWith(Ne):St.value===It});pt!==-1&&(Vi(pt),ri(pt))}});if(Ut){var Lt;(Lt=Gn.current)===null||Lt===void 0||Lt.scrollTo(void 0)}return function(){return clearTimeout(Dn)}},[Ut,Ne]);var Ci=function(Lt){Lt!==void 0&&zn(Lt,{selected:!Rn.has(Lt)}),Qt||Gt(!1)};if(de.useImperativeHandle(Bt,function(){return{onKeyDown:function(Lt){var It=Lt.which,pt=Lt.ctrlKey;switch(It){case rt.Z.N:case rt.Z.P:case rt.Z.UP:case rt.Z.DOWN:{var $e=0;if(It===rt.Z.UP?$e=-1:It===rt.Z.DOWN?$e=1:Kn()&&pt&&(It===rt.Z.N?$e=1:It===rt.Z.P&&($e=-1)),$e!==0){var St=Bi(Hn+$e,$e);ri(St),Vi(St,!0)}break}case rt.Z.TAB:case rt.Z.ENTER:{var Tt,vn=fi[Hn];vn&&!(vn!=null&&(Tt=vn.data)!==null&&Tt!==void 0&&Tt.disabled)&&!Si?Ci(vn.value):Ci(void 0),Ut&&Lt.preventDefault();break}case rt.Z.ESC:Gt(!1),Ut&&Lt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Lt){ri(Lt)}}}),fi.length===0)return de.createElement("div",{role:"listbox",id:"".concat(dt,"_list"),className:"".concat(Ai,"-empty"),onMouseDown:ii},gt);var ir=Object.keys(ui).map(function(Dn){return ui[Dn]}),Ei=function(Lt){return Lt.label};function lr(Dn,Lt){var It=Dn.group;return{role:It?"presentation":"option",id:"".concat(dt,"_list_").concat(Lt)}}var _i=function(Lt){var It=fi[Lt];if(!It)return null;var pt=It.data||{},$e=pt.value,St=It.group,Tt=(0,Re.Z)(pt,!0),vn=Ei(It);return It?de.createElement("div",(0,ae.Z)({"aria-label":typeof vn=="string"&&!St?vn:null},Tt,{key:Lt},lr(It,Lt),{"aria-selected":Di($e)}),$e):null},Ii={role:"listbox",id:"".concat(dt,"_list")};return de.createElement(de.Fragment,null,Bn&&de.createElement("div",(0,ae.Z)({},Ii,{style:{height:0,width:0,overflow:"hidden"}}),_i(Hn-1),_i(Hn),_i(Hn+1)),de.createElement(gn.Z,{itemKey:"key",ref:Gn,data:fi,height:Ti,itemHeight:_n,fullHeight:!1,onMouseDown:ii,onScroll:mn,virtual:Bn,direction:bi,innerProps:Bn?null:Ii},function(Dn,Lt){var It=Dn.group,pt=Dn.groupOption,$e=Dn.data,St=Dn.label,Tt=Dn.value,vn=$e.key;if(It){var wn,On=(wn=$e.title)!==null&&wn!==void 0?wn:$n(St)?St.toString():void 0;return de.createElement("div",{className:pe()(Ai,"".concat(Ai,"-group"),$e.className),title:On},St!==void 0?St:vn)}var jn=$e.disabled,Zn=$e.title,vi=$e.children,ai=$e.style,Oi=$e.className,kr=(0,me.Z)($e,en),rr=(0,tn.Z)(kr,ir),Ui=di(Tt),ur=jn||!Ui&&Si,wi="".concat(Ai,"-option"),dr=pe()(Ai,wi,Oi,(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(wi,"-grouped"),pt),"".concat(wi,"-active"),Hn===Lt&&!ur),"".concat(wi,"-disabled"),ur),"".concat(wi,"-selected"),Ui)),Mr=Ei(Dn),gi=!Qn||typeof Qn=="function"||Ui,yr=typeof Mr=="number"?Mr:Mr||Tt,pr=$n(yr)?yr.toString():void 0;return Zn!==void 0&&(pr=Zn),de.createElement("div",(0,ae.Z)({},(0,Re.Z)(rr),Bn?{}:lr(Dn,Lt),{"aria-selected":Di(Tt),className:dr,title:pr,onMouseMove:function(){Hn===Lt||ur||Vi(Lt)},onClick:function(){ur||Ci(Tt)},style:ai}),de.createElement("div",{className:"".concat(wi,"-content")},typeof hi=="function"?hi(Dn,{index:Lt}):yr),de.isValidElement(Qn)||Ui,gi&&de.createElement(we,{className:"".concat(Ai,"-option-state"),customizeIcon:Qn,customizeIconProps:{value:Tt,disabled:ur,isSelected:Ui}},Ui?"\u2713":null))}))},ei=de.forwardRef(yi),Xn=ei,Nn=function(ke,Le){var Bt=de.useRef({values:new Map,options:new Map}),ht=de.useMemo(function(){var dt=Bt.current,Ut=dt.values,Qt=dt.options,nn=ke.map(function(gt){if(gt.label===void 0){var mn;return(0,ze.Z)((0,ze.Z)({},gt),{},{label:(mn=Ut.get(gt.value))===null||mn===void 0?void 0:mn.label})}return gt}),Ne=new Map,Gt=new Map;return nn.forEach(function(gt){Ne.set(gt.value,gt),Gt.set(gt.value,Le.get(gt.value)||Qt.get(gt.value))}),Bt.current.values=Ne,Bt.current.options=Gt,nn},[ke,Le]),Te=de.useCallback(function(dt){return Le.get(dt)||Bt.current.options.get(dt)},[Le]);return[ht,Te]};function si(ke,Le){return bt(ke).join("").toUpperCase().includes(Le)}var Li=function(ke,Le,Bt,ht,Te){return de.useMemo(function(){if(!Bt||ht===!1)return ke;var dt=Le.options,Ut=Le.label,Qt=Le.value,nn=[],Ne=typeof ht=="function",Gt=Bt.toUpperCase(),gt=Ne?ht:function(Ht,pn){return Te?si(pn[Te],Gt):pn[dt]?si(pn[Ut!=="children"?Ut:"label"],Gt):si(pn[Qt],Gt)},mn=Ne?function(Ht){return yt(Ht)}:function(Ht){return Ht};return ke.forEach(function(Ht){if(Ht[dt]){var pn=gt(Bt,mn(Ht));if(pn)nn.push(Ht);else{var hn=Ht[dt].filter(function(Cn){return gt(Bt,mn(Cn))});hn.length&&nn.push((0,ze.Z)((0,ze.Z)({},Ht),{},(0,De.Z)({},dt,hn)))}return}gt(Bt,mn(Ht))&&nn.push(Ht)}),nn},[ke,ht,Te,Bt,Le])},Fn=fe(6551),ti=fe(11592),_t=["children","value"],ln=["children"];function fn(ke){var Le=ke,Bt=Le.key,ht=Le.props,Te=ht.children,dt=ht.value,Ut=(0,me.Z)(ht,_t);return(0,ze.Z)({key:Bt,value:dt!==void 0?dt:Bt,children:Te},Ut)}function Ln(ke){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ti.Z)(ke).map(function(Bt,ht){if(!de.isValidElement(Bt)||!Bt.type)return null;var Te=Bt,dt=Te.type.isSelectOptGroup,Ut=Te.key,Qt=Te.props,nn=Qt.children,Ne=(0,me.Z)(Qt,ln);return Le||!dt?fn(Bt):(0,ze.Z)((0,ze.Z)({key:"__RC_SELECT_GRP__".concat(Ut===null?ht:Ut,"__"),label:Ut},Ne),{},{options:Ln(nn)})}).filter(function(Bt){return Bt})}var Wi=function(Le,Bt,ht,Te,dt){return de.useMemo(function(){var Ut=Le,Qt=!Le;Qt&&(Ut=Ln(Bt));var nn=new Map,Ne=new Map,Gt=function(Ht,pn,hn){hn&&typeof hn=="string"&&Ht.set(pn[hn],pn)},gt=function mn(Ht){for(var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hn=0;hn<Ht.length;hn+=1){var Cn=Ht[hn];!Cn[ht.options]||pn?(nn.set(Cn[ht.value],Cn),Gt(Ne,Cn,ht.label),Gt(Ne,Cn,Te),Gt(Ne,Cn,dt)):mn(Cn[ht.options],!0)}};return gt(Ut),{options:Ut,valueOptions:nn,labelOptions:Ne}},[Le,Bt,ht,Te,dt])},Yn=Wi;function ni(ke){var Le=de.useRef();Le.current=ke;var Bt=de.useCallback(function(){return Le.current.apply(Le,arguments)},[]);return Bt}function Mi(ke){var Le=ke.mode,Bt=ke.options,ht=ke.children,Te=ke.backfill,dt=ke.allowClear,Ut=ke.placeholder,Qt=ke.getInputElement,nn=ke.showSearch,Ne=ke.onSearch,Gt=ke.defaultOpen,gt=ke.autoFocus,mn=ke.labelInValue,Ht=ke.value,pn=ke.inputValue,hn=ke.optionLabelProp,Cn=isMultiple(Le),bn=nn!==void 0?nn:Cn||Le==="combobox",zn=Bt||convertChildrenToData(ht);if(warning(Le!=="tags"||zn.every(function(Bn){return!Bn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Le==="tags"||Le==="combobox"){var Qn=zn.some(function(Bn){return Bn.options?Bn.options.some(function(bi){return typeof("value"in bi?bi.value:bi.key)=="number"}):typeof("value"in Bn?Bn.value:Bn.key)=="number"});warning(!Qn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Le!=="combobox"||!hn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Le==="combobox"||!Te,"`backfill` only works with `combobox` mode."),warning(Le==="combobox"||!Qt,"`getInputElement` only work with `combobox` mode."),noteOnce(Le!=="combobox"||!Qt||!dt||!Ut,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ne&&!bn&&Le!=="combobox"&&Le!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Gt||gt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ht!=null){var Rn=toArray(Ht);warning(!mn||Rn.every(function(Bn){return _typeof(Bn)==="object"&&("key"in Bn||"value"in Bn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Cn||Array.isArray(Ht),"`value` should be array when `mode` is `multiple` or `tags`")}if(ht){var ui=null;toNodeArray(ht).some(function(Bn){if(!React.isValidElement(Bn)||!Bn.type)return!1;var bi=Bn,Ti=bi.type;if(Ti.isSelectOption)return!1;if(Ti.isSelectOptGroup){var _n=toNodeArray(Bn.props.children).every(function(hi){return!React.isValidElement(hi)||!Bn.type||hi.type.isSelectOption?!0:(ui=hi.type,!1)});return!_n}return ui=Ti,!0}),ui&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ui.displayName||ui.name||ui,"`.")),warning(pn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ci(ke,Le){if(ke){var Bt=function ht(Te){for(var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ut=0;Ut<Te.length;Ut++){var Qt=Te[Ut];if(Qt[Le==null?void 0:Le.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!dt&&Array.isArray(Qt[Le==null?void 0:Le.options])&&ht(Qt[Le==null?void 0:Le.options],!0))break}};Bt(ke)}}var Tn=null,Un=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ni=["inputValue"];function Mt(ke){return!ke||(0,Ie.Z)(ke)!=="object"}var qe=de.forwardRef(function(ke,Le){var Bt=ke.id,ht=ke.mode,Te=ke.prefixCls,dt=Te===void 0?"rc-select":Te,Ut=ke.backfill,Qt=ke.fieldNames,nn=ke.inputValue,Ne=ke.searchValue,Gt=ke.onSearch,gt=ke.autoClearSearchValue,mn=gt===void 0?!0:gt,Ht=ke.onSelect,pn=ke.onDeselect,hn=ke.dropdownMatchSelectWidth,Cn=hn===void 0?!0:hn,bn=ke.filterOption,zn=ke.filterSort,Qn=ke.optionFilterProp,Rn=ke.optionLabelProp,ui=ke.options,Bn=ke.optionRender,bi=ke.children,Ti=ke.defaultActiveFirstOption,_n=ke.menuItemSelectedIcon,hi=ke.virtual,Ai=ke.direction,fi=ke.listHeight,Gn=fi===void 0?200:fi,Si=ke.listItemHeight,ii=Si===void 0?20:Si,ri=ke.labelRender,di=ke.value,Bi=ke.defaultValue,pi=ke.labelInValue,Jn=ke.onChange,Hn=ke.maxCount,oi=(0,me.Z)(ke,Un),Vi=(0,Fn.ZP)(Bt),Di=Vt(ht),Ci=!!(!ui&&bi),ir=de.useMemo(function(){return bn===void 0&&ht==="combobox"?!1:bn},[bn,ht]),Ei=de.useMemo(function(){return mt(Qt,Ci)},[JSON.stringify(Qt),Ci]),lr=(0,He.Z)("",{value:Ne!==void 0?Ne:nn,postState:function(Pn){return Pn||""}}),_i=(0,ve.Z)(lr,2),Ii=_i[0],Dn=_i[1],Lt=Yn(ui,bi,Ei,Qn,Rn),It=Lt.valueOptions,pt=Lt.labelOptions,$e=Lt.options,St=de.useCallback(function(xn){var Pn=bt(xn);return Pn.map(function(Sn){var kn,li,Pi,Vr,vr;if(Mt(Sn))kn=Sn;else{var or;Pi=Sn.key,li=Sn.label,kn=(or=Sn.value)!==null&&or!==void 0?or:Pi}var Gi=It.get(kn);if(Gi){var Wr;if(li===void 0&&(li=Gi==null?void 0:Gi[Rn||Ei.label]),Pi===void 0&&(Pi=(Wr=Gi==null?void 0:Gi.key)!==null&&Wr!==void 0?Wr:kn),Vr=Gi==null?void 0:Gi.disabled,vr=Gi==null?void 0:Gi.title,0)var Qr}return{label:li,value:kn,key:Pi,disabled:Vr,title:vr}})},[Ei,Rn,It]),Tt=(0,He.Z)(Bi,{value:di}),vn=(0,ve.Z)(Tt,2),wn=vn[0],On=vn[1],jn=de.useMemo(function(){var xn,Pn=Di&&wn===null?[]:wn,Sn=St(Pn);return ht==="combobox"&&he((xn=Sn[0])===null||xn===void 0?void 0:xn.value)?[]:Sn},[wn,St,ht,Di]),Zn=Nn(jn,It),vi=(0,ve.Z)(Zn,2),ai=vi[0],Oi=vi[1],kr=de.useMemo(function(){if(!ht&&ai.length===1){var xn=ai[0];if(xn.value===null&&(xn.label===null||xn.label===void 0))return[]}return ai.map(function(Pn){var Sn;return(0,ze.Z)((0,ze.Z)({},Pn),{},{label:(Sn=typeof ri=="function"?ri(Pn):Pn.label)!==null&&Sn!==void 0?Sn:Pn.value})})},[ht,ai,ri]),rr=de.useMemo(function(){return new Set(ai.map(function(xn){return xn.value}))},[ai]);de.useEffect(function(){if(ht==="combobox"){var xn,Pn=(xn=ai[0])===null||xn===void 0?void 0:xn.value;Dn(ge(Pn)?String(Pn):"")}},[ai]);var Ui=ni(function(xn,Pn){var Sn=Pn!=null?Pn:xn;return(0,De.Z)((0,De.Z)({},Ei.value,xn),Ei.label,Sn)}),ur=de.useMemo(function(){if(ht!=="tags")return $e;var xn=(0,je.Z)($e),Pn=function(kn){return It.has(kn)};return(0,je.Z)(ai).sort(function(Sn,kn){return Sn.value<kn.value?-1:1}).forEach(function(Sn){var kn=Sn.value;Pn(kn)||xn.push(Ui(kn,Sn.label))}),xn},[Ui,$e,It,ai,ht]),wi=Li(ur,Ei,Ii,ir,Qn),dr=de.useMemo(function(){return ht!=="tags"||!Ii||wi.some(function(xn){return xn[Qn||"value"]===Ii})||wi.some(function(xn){return xn[Ei.value]===Ii})?wi:[Ui(Ii)].concat((0,je.Z)(wi))},[Ui,Qn,ht,wi,Ii,Ei]),Mr=function xn(Pn){var Sn=(0,je.Z)(Pn).sort(function(kn,li){return zn(kn,li,{searchValue:Ii})});return Sn.map(function(kn){return Array.isArray(kn.options)?(0,ze.Z)((0,ze.Z)({},kn),{},{options:kn.options.length>0?xn(kn.options):kn.options}):kn})},gi=de.useMemo(function(){return zn?Mr(dr):dr},[dr,zn,Ii]),yr=de.useMemo(function(){return ft(gi,{fieldNames:Ei,childrenAsData:Ci})},[gi,Ei,Ci]),pr=function(Pn){var Sn=St(Pn);if(On(Sn),Jn&&(Sn.length!==ai.length||Sn.some(function(Pi,Vr){var vr;return((vr=ai[Vr])===null||vr===void 0?void 0:vr.value)!==(Pi==null?void 0:Pi.value)}))){var kn=pi?Sn:Sn.map(function(Pi){return Pi.value}),li=Sn.map(function(Pi){return yt(Oi(Pi.value))});Jn(Di?kn:kn[0],Di?li:li[0])}},zr=de.useState(null),br=(0,ve.Z)(zr,2),Hr=br[0],ki=br[1],Tr=de.useState(0),$r=(0,ve.Z)(Tr,2),eo=$r[0],jo=$r[1],Xr=Ti!==void 0?Ti:ht!=="combobox",Hi=de.useCallback(function(xn,Pn){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kn=Sn.source,li=kn===void 0?"keyboard":kn;jo(Pn),Ut&&ht==="combobox"&&xn!==null&&li==="keyboard"&&ki(String(xn))},[Ut,ht]),to=function(Pn,Sn,kn){var li=function(){var no,Ur=Oi(Pn);return[pi?{label:Ur==null?void 0:Ur[Ei.label],value:Pn,key:(no=Ur==null?void 0:Ur.key)!==null&&no!==void 0?no:Pn}:Pn,yt(Ur)]};if(Sn&&Ht){var Pi=li(),Vr=(0,ve.Z)(Pi,2),vr=Vr[0],or=Vr[1];Ht(vr,or)}else if(!Sn&&pn&&kn!=="clear"){var Gi=li(),Wr=(0,ve.Z)(Gi,2),Qr=Wr[0],Lr=Wr[1];pn(Qr,Lr)}},ao=ni(function(xn,Pn){var Sn,kn=Di?Pn.selected:!0;kn?Sn=Di?[].concat((0,je.Z)(ai),[xn]):[xn]:Sn=ai.filter(function(li){return li.value!==xn}),pr(Sn),to(xn,kn),ht==="combobox"?ki(""):(!Vt||mn)&&(Dn(""),ki(""))}),Zr=function(Pn,Sn){pr(Pn);var kn=Sn.type,li=Sn.values;(kn==="remove"||kn==="clear")&&li.forEach(function(Pi){to(Pi.value,!1,kn)})},Ki=function(Pn,Sn){if(Dn(Pn),ki(null),Sn.source==="submit"){var kn=(Pn||"").trim();if(kn){var li=Array.from(new Set([].concat((0,je.Z)(rr),[kn])));pr(li),to(kn,!0),Dn("")}return}Sn.source!=="blur"&&(ht==="combobox"&&pr(Pn),Gt==null||Gt(Pn))},bo=function(Pn){var Sn=Pn;ht!=="tags"&&(Sn=Pn.map(function(li){var Pi=pt.get(li);return Pi==null?void 0:Pi.value}).filter(function(li){return li!==void 0}));var kn=Array.from(new Set([].concat((0,je.Z)(rr),(0,je.Z)(Sn))));pr(kn),kn.forEach(function(li){to(li,!0)})},so=de.useMemo(function(){var xn=hi!==!1&&Cn!==!1;return(0,ze.Z)((0,ze.Z)({},Lt),{},{flattenOptions:yr,onActiveValue:Hi,defaultActiveFirstOption:Xr,onSelect:ao,menuItemSelectedIcon:_n,rawValues:rr,fieldNames:Ei,virtual:xn,direction:Ai,listHeight:Gn,listItemHeight:ii,childrenAsData:Ci,maxCount:Hn,optionRender:Bn})},[Hn,Lt,yr,Hi,Xr,ao,_n,rr,Ei,hi,Cn,Ai,Gn,ii,Ci,Bn]);return de.createElement(Zt.Provider,{value:so},de.createElement(et,(0,ae.Z)({},oi,{id:Vi,prefixCls:dt,ref:Le,omitDomProps:Ni,mode:ht,displayValues:kr,onDisplayValuesChange:Zr,direction:Ai,searchValue:Ii,onSearch:Ki,autoClearSearchValue:mn,onSearchSplit:bo,dropdownMatchSelectWidth:Cn,OptionList:Xn,emptyOptions:!yr.length,activeValue:Hr,activeDescendantId:"".concat(Vi,"_list_").concat(eo)})))}),$t=qe;$t.Option=sn,$t.OptGroup=zt;var Mn=$t,Wn=Mn},63158:function(xt,Pt,fe){"use strict";var ae=fe(67711),je=fe(52873),De=fe(16886),ze=fe(33346),ve=fe(59301),me=fe(92310),Ie=fe.n(me),He=fe(18929),Ce=fe(10228),de=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Je=ve.forwardRef(function(pe,at){var Oe,Se=pe.prefixCls,Ee=Se===void 0?"rc-switch":Se,we=pe.className,Ve=pe.checked,tt=pe.defaultChecked,nt=pe.disabled,it=pe.loadingIcon,Ke=pe.checkedChildren,Xe=pe.unCheckedChildren,rt=pe.onClick,At=pe.onChange,Re=pe.onKeyDown,Fe=(0,ze.Z)(pe,de),ut=(0,He.Z)(!1,{value:Ve,defaultValue:tt}),Be=(0,De.Z)(ut,2),Ye=Be[0],Pe=Be[1];function _e(Rt,ge){var he=Ye;return nt||(he=Rt,Pe(he),At==null||At(he,ge)),he}function Wt(Rt){Rt.which===Ce.Z.LEFT?_e(!1,Rt):Rt.which===Ce.Z.RIGHT&&_e(!0,Rt),Re==null||Re(Rt)}function bt(Rt){var ge=_e(!Ye,Rt);rt==null||rt(ge,Rt)}var un=Ie()(Ee,we,(Oe={},(0,je.Z)(Oe,"".concat(Ee,"-checked"),Ye),(0,je.Z)(Oe,"".concat(Ee,"-disabled"),nt),Oe));return ve.createElement("button",(0,ae.Z)({},Fe,{type:"button",role:"switch","aria-checked":Ye,disabled:nt,className:un,ref:at,onKeyDown:Wt,onClick:bt}),it,ve.createElement("span",{className:"".concat(Ee,"-inner")},ve.createElement("span",{className:"".concat(Ee,"-inner-checked")},Ke),ve.createElement("span",{className:"".concat(Ee,"-inner-unchecked")},Xe)))});Je.displayName="Switch",Pt.Z=Je},22711:function(xt,Pt,fe){"use strict";fe.r(Pt),fe.d(Pt,{ResizableTextArea:function(){return Be},default:function(){return Wt}});var ae=fe(67711),je=fe(52873),De=fe(98506),ze=fe(15142),ve=fe(16886),me=fe(33346),Ie=fe(92310),He=fe.n(Ie),Ce=fe(36901),de=fe(66003),Je=fe(30292),pe=fe(18929),at=fe(59301),Oe=fe(26420),Se=fe(29301),Ee=fe(34280),we=fe(16089),Ve=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important;
|
|
pointer-events: none !important;
|
|
`,tt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],nt={},it;function Ke(bt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=bt.getAttribute("id")||bt.getAttribute("data-reactid")||bt.getAttribute("name");if(un&&nt[Rt])return nt[Rt];var ge=window.getComputedStyle(bt),he=ge.getPropertyValue("box-sizing")||ge.getPropertyValue("-moz-box-sizing")||ge.getPropertyValue("-webkit-box-sizing"),ct=parseFloat(ge.getPropertyValue("padding-bottom"))+parseFloat(ge.getPropertyValue("padding-top")),Yt=parseFloat(ge.getPropertyValue("border-bottom-width"))+parseFloat(ge.getPropertyValue("border-top-width")),Ct=tt.map(function(Qe){return"".concat(Qe,":").concat(ge.getPropertyValue(Qe))}).join(";"),Me={sizingStyle:Ct,paddingSize:ct,borderSize:Yt,boxSizing:he};return un&&Rt&&(nt[Rt]=Me),Me}function Xe(bt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;it||(it=document.createElement("textarea"),it.setAttribute("tab-index","-1"),it.setAttribute("aria-hidden","true"),it.setAttribute("name","hiddenTextarea"),document.body.appendChild(it)),bt.getAttribute("wrap")?it.setAttribute("wrap",bt.getAttribute("wrap")):it.removeAttribute("wrap");var he=Ke(bt,un),ct=he.paddingSize,Yt=he.borderSize,Ct=he.boxSizing,Me=he.sizingStyle;it.setAttribute("style","".concat(Me,";").concat(Ve)),it.value=bt.value||bt.placeholder||"";var Qe=void 0,ot=void 0,Kt,Ge=it.scrollHeight;if(Ct==="border-box"?Ge+=Yt:Ct==="content-box"&&(Ge-=ct),Rt!==null||ge!==null){it.value=" ";var st=it.scrollHeight-ct;Rt!==null&&(Qe=st*Rt,Ct==="border-box"&&(Qe=Qe+ct+Yt),Ge=Math.max(Qe,Ge)),ge!==null&&(ot=st*ge,Ct==="border-box"&&(ot=ot+ct+Yt),Kt=Ge>ot?"":"hidden",Ge=Math.min(ot,Ge))}var xe={height:Ge,overflowY:Kt,resize:"none"};return Qe&&(xe.minHeight=Qe),ot&&(xe.maxHeight=ot),xe}var rt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],At=0,Re=1,Fe=2,ut=at.forwardRef(function(bt,un){var Rt=bt,ge=Rt.prefixCls,he=Rt.defaultValue,ct=Rt.value,Yt=Rt.autoSize,Ct=Rt.onResize,Me=Rt.className,Qe=Rt.style,ot=Rt.disabled,Kt=Rt.onChange,Ge=Rt.onInternalAutoSize,st=(0,me.Z)(Rt,rt),xe=(0,pe.Z)(he,{value:ct,postState:function(sn){return sn!=null?sn:""}}),lt=(0,ve.Z)(xe,2),wt=lt[0],oe=lt[1],te=function(sn){oe(sn.target.value),Kt==null||Kt(sn)},z=at.useRef();at.useImperativeHandle(un,function(){return{textArea:z.current}});var re=at.useMemo(function(){return Yt&&(0,Oe.Z)(Yt)==="object"?[Yt.minRows,Yt.maxRows]:[]},[Yt]),le=(0,ve.Z)(re,2),ne=le[0],be=le[1],Ue=!!Yt,Dt=function(){try{if(document.activeElement===z.current){var sn=z.current,En=sn.selectionStart,tn=sn.selectionEnd,gn=sn.scrollTop;z.current.setSelectionRange(En,tn),z.current.scrollTop=gn}}catch(Kn){}},mt=at.useState(Fe),ft=(0,ve.Z)(mt,2),yt=ft[0],Nt=ft[1],Ft=at.useState(),Zt=(0,ve.Z)(Ft,2),Xt=Zt[0],kt=Zt[1],rn=function(){Nt(At)};(0,Ee.Z)(function(){Ue&&rn()},[ct,ne,be,Ue]),(0,Ee.Z)(function(){if(yt===At)Nt(Re);else if(yt===Re){var jt=Xe(z.current,!1,ne,be);Nt(Fe),kt(jt)}else Dt()},[yt]);var Vt=at.useRef(),an=function(){we.Z.cancel(Vt.current)},et=function(sn){yt===Fe&&(Ct==null||Ct(sn),Yt&&(an(),Vt.current=(0,we.Z)(function(){rn()})))};at.useEffect(function(){return an},[]);var cn=Ue?Xt:null,zt=(0,De.Z)((0,De.Z)({},Qe),cn);return(yt===At||yt===Re)&&(zt.overflowY="hidden",zt.overflowX="hidden"),at.createElement(Se.Z,{onResize:et,disabled:!(Yt||Ct)},at.createElement("textarea",(0,ae.Z)({},st,{ref:z,style:zt,className:He()(ge,Me,(0,je.Z)({},"".concat(ge,"-disabled"),ot)),disabled:ot,value:wt,onChange:te})))}),Be=ut,Ye=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Pe=at.forwardRef(function(bt,un){var Rt,ge=bt.defaultValue,he=bt.value,ct=bt.onFocus,Yt=bt.onBlur,Ct=bt.onChange,Me=bt.allowClear,Qe=bt.maxLength,ot=bt.onCompositionStart,Kt=bt.onCompositionEnd,Ge=bt.suffix,st=bt.prefixCls,xe=st===void 0?"rc-textarea":st,lt=bt.showCount,wt=bt.count,oe=bt.className,te=bt.style,z=bt.disabled,re=bt.hidden,le=bt.classNames,ne=bt.styles,be=bt.onResize,Ue=bt.onClear,Dt=bt.onPressEnter,mt=bt.readOnly,ft=bt.autoSize,yt=bt.onKeyDown,Nt=(0,me.Z)(bt,Ye),Ft=(0,pe.Z)(ge,{value:he,defaultValue:ge}),Zt=(0,ve.Z)(Ft,2),Xt=Zt[0],kt=Zt[1],rn=Xt==null?"":String(Xt),Vt=at.useState(!1),an=(0,ve.Z)(Vt,2),et=an[0],cn=an[1],zt=at.useRef(!1),jt=at.useState(null),sn=(0,ve.Z)(jt,2),En=sn[0],tn=sn[1],gn=(0,at.useRef)(null),Kn=(0,at.useRef)(null),en=function(){var $t;return($t=Kn.current)===null||$t===void 0?void 0:$t.textArea},$n=function(){en().focus()};(0,at.useImperativeHandle)(un,function(){var qe;return{resizableTextArea:Kn.current,focus:$n,blur:function(){en().blur()},nativeElement:((qe=gn.current)===null||qe===void 0?void 0:qe.nativeElement)||en()}}),(0,at.useEffect)(function(){cn(function(qe){return!z&&qe})},[z]);var yi=at.useState(null),ei=(0,ve.Z)(yi,2),Xn=ei[0],Nn=ei[1];at.useEffect(function(){if(Xn){var qe;(qe=en()).setSelectionRange.apply(qe,(0,ze.Z)(Xn))}},[Xn]);var si=(0,de.Z)(wt,lt),Li=(Rt=si.max)!==null&&Rt!==void 0?Rt:Qe,Fn=Number(Li)>0,ti=si.strategy(rn),_t=!!Li&&ti>Li,ln=function($t,Mn){var Wn=Mn;!zt.current&&si.exceedFormatter&&si.max&&si.strategy(Mn)>si.max&&(Wn=si.exceedFormatter(Mn,{max:si.max}),Mn!==Wn&&Nn([en().selectionStart||0,en().selectionEnd||0])),kt(Wn),(0,Je.rJ)($t.currentTarget,$t,Ct,Wn)},fn=function($t){zt.current=!0,ot==null||ot($t)},Ln=function($t){zt.current=!1,ln($t,$t.currentTarget.value),Kt==null||Kt($t)},Wi=function($t){ln($t,$t.target.value)},Yn=function($t){$t.key==="Enter"&&Dt&&Dt($t),yt==null||yt($t)},ni=function($t){cn(!0),ct==null||ct($t)},Mi=function($t){cn(!1),Yt==null||Yt($t)},ci=function($t){kt(""),$n(),(0,Je.rJ)(en(),$t,Ct)},Tn=Ge,Un;si.show&&(si.showFormatter?Un=si.showFormatter({value:rn,count:ti,maxLength:Li}):Un="".concat(ti).concat(Fn?" / ".concat(Li):""),Tn=at.createElement(at.Fragment,null,Tn,at.createElement("span",{className:He()("".concat(xe,"-data-count"),le==null?void 0:le.count),style:ne==null?void 0:ne.count},Un)));var Ni=function($t){var Mn;be==null||be($t),(Mn=en())!==null&&Mn!==void 0&&Mn.style.height&&tn(!0)},Mt=!ft&&!lt&&!Me;return at.createElement(Ce.BaseInput,{ref:gn,value:rn,allowClear:Me,handleReset:ci,suffix:Tn,prefixCls:xe,classNames:(0,De.Z)((0,De.Z)({},le),{},{affixWrapper:He()(le==null?void 0:le.affixWrapper,(0,je.Z)((0,je.Z)({},"".concat(xe,"-show-count"),lt),"".concat(xe,"-textarea-allow-clear"),Me))}),disabled:z,focused:et,className:He()(oe,_t&&"".concat(xe,"-out-of-range")),style:(0,De.Z)((0,De.Z)({},te),En&&!Mt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Un=="string"?Un:void 0}},hidden:re,readOnly:mt,onClear:Ue},at.createElement(Be,(0,ae.Z)({},Nt,{autoSize:ft,maxLength:Qe,onKeyDown:Yn,onChange:Wi,onFocus:ni,onBlur:Mi,onCompositionStart:fn,onCompositionEnd:Ln,className:He()(le==null?void 0:le.textarea),style:(0,De.Z)((0,De.Z)({},ne==null?void 0:ne.textarea),{},{resize:te==null?void 0:te.resize}),disabled:z,prefixCls:xe,onResize:Ni,ref:Kn,readOnly:mt})))}),_e=Pe,Wt=_e},6790:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return wt}});var ae=fe(67711),je=fe(26420),De=fe(98506),ze=fe(52873),ve=fe(16886),me=fe(33346),Ie=fe(92310),He=fe.n(Ie),Ce=fe(29301),de=fe(70425),Je=fe(34280),pe=fe(59301),at=fe(4676),Oe=pe.forwardRef(function(oe,te){var z=oe.height,re=oe.offsetY,le=oe.offsetX,ne=oe.children,be=oe.prefixCls,Ue=oe.onInnerResize,Dt=oe.innerProps,mt=oe.rtl,ft=oe.extra,yt={},Nt={display:"flex",flexDirection:"column"};return re!==void 0&&(yt={height:z,position:"relative",overflow:"hidden"},Nt=(0,De.Z)((0,De.Z)({},Nt),{},(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({transform:"translateY(".concat(re,"px)")},mt?"marginRight":"marginLeft",-le),"position","absolute"),"left",0),"right",0),"top",0))),pe.createElement("div",{style:yt},pe.createElement(Ce.Z,{onResize:function(Zt){var Xt=Zt.offsetHeight;Xt&&Ue&&Ue()}},pe.createElement("div",(0,ae.Z)({style:Nt,className:He()((0,ze.Z)({},"".concat(be,"-holder-inner"),be)),ref:te},Dt),ne,ft)))});Oe.displayName="Filler";var Se=Oe;function Ee(oe){var te=oe.children,z=oe.setRef,re=pe.useCallback(function(le){z(le)},[]);return pe.cloneElement(te,{ref:re})}function we(oe,te,z,re,le,ne,be,Ue){var Dt=Ue.getKey;return oe.slice(te,z+1).map(function(mt,ft){var yt=te+ft,Nt=be(mt,yt,{style:{width:re},offsetX:le}),Ft=Dt(mt);return pe.createElement(Ee,{key:Ft,setRef:function(Xt){return ne(mt,Xt)}},Nt)})}function Ve(oe,te,z,re){var le=z-oe,ne=te-z,be=Math.min(le,ne)*2;if(re<=be){var Ue=Math.floor(re/2);return re%2?z+Ue+1:z-Ue}return le>ne?z-(re-ne):z+(re-le)}function tt(oe,te,z){var re=oe.length,le=te.length,ne,be;if(re===0&&le===0)return null;re<le?(ne=oe,be=te):(ne=te,be=oe);var Ue={__EMPTY_ITEM__:!0};function Dt(Zt){return Zt!==void 0?z(Zt):Ue}for(var mt=null,ft=Math.abs(re-le)!==1,yt=0;yt<be.length;yt+=1){var Nt=Dt(ne[yt]),Ft=Dt(be[yt]);if(Nt!==Ft){mt=yt,ft=ft||Nt!==Dt(be[yt+1]);break}}return mt===null?null:{index:mt,multiple:ft}}function nt(oe,te,z){var re=pe.useState(oe),le=(0,ve.Z)(re,2),ne=le[0],be=le[1],Ue=pe.useState(null),Dt=(0,ve.Z)(Ue,2),mt=Dt[0],ft=Dt[1];return pe.useEffect(function(){var yt=tt(ne||[],oe||[],te);(yt==null?void 0:yt.index)!==void 0&&(z==null||z(yt.index),ft(oe[yt.index])),be(oe)},[oe]),[mt]}var it=fe(16089),Ke=(typeof navigator=="undefined"?"undefined":(0,je.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Xe=Ke,rt=function(oe,te,z,re){var le=(0,pe.useRef)(!1),ne=(0,pe.useRef)(null);function be(){clearTimeout(ne.current),le.current=!0,ne.current=setTimeout(function(){le.current=!1},50)}var Ue=(0,pe.useRef)({top:oe,bottom:te,left:z,right:re});return Ue.current.top=oe,Ue.current.bottom=te,Ue.current.left=z,Ue.current.right=re,function(Dt,mt){var ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,yt=Dt?mt<0&&Ue.current.left||mt>0&&Ue.current.right:mt<0&&Ue.current.top||mt>0&&Ue.current.bottom;return ft&&yt?(clearTimeout(ne.current),le.current=!1):(!yt||le.current)&&be(),!le.current&&yt}};function At(oe,te,z,re,le,ne,be){var Ue=(0,pe.useRef)(0),Dt=(0,pe.useRef)(null),mt=(0,pe.useRef)(null),ft=(0,pe.useRef)(!1),yt=rt(te,z,re,le);function Nt(Vt,an){if(it.Z.cancel(Dt.current),!yt(!1,an)){var et=Vt;if(!et._virtualHandled)et._virtualHandled=!0;else return;Ue.current+=an,mt.current=an,Xe||et.preventDefault(),Dt.current=(0,it.Z)(function(){var cn=ft.current?10:1;be(Ue.current*cn,!1),Ue.current=0})}}function Ft(Vt,an){be(an,!0),Xe||Vt.preventDefault()}var Zt=(0,pe.useRef)(null),Xt=(0,pe.useRef)(null);function kt(Vt){if(oe){it.Z.cancel(Xt.current),Xt.current=(0,it.Z)(function(){Zt.current=null},2);var an=Vt.deltaX,et=Vt.deltaY,cn=Vt.shiftKey,zt=an,jt=et;(Zt.current==="sx"||!Zt.current&&cn&&et&&!an)&&(zt=et,jt=0,Zt.current="sx");var sn=Math.abs(zt),En=Math.abs(jt);Zt.current===null&&(Zt.current=ne&&sn>En?"x":"y"),Zt.current==="y"?Nt(Vt,jt):Ft(Vt,zt)}}function rn(Vt){oe&&(ft.current=Vt.detail===mt.current)}return[kt,rn]}function Re(oe,te,z,re){var le=pe.useMemo(function(){return[new Map,[]]},[oe,z.id,re]),ne=(0,ve.Z)(le,2),be=ne[0],Ue=ne[1],Dt=function(ft){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ft,Nt=be.get(ft),Ft=be.get(yt);if(Nt===void 0||Ft===void 0)for(var Zt=oe.length,Xt=Ue.length;Xt<Zt;Xt+=1){var kt,rn=oe[Xt],Vt=te(rn);be.set(Vt,Xt);var an=(kt=z.get(Vt))!==null&&kt!==void 0?kt:re;if(Ue[Xt]=(Ue[Xt-1]||0)+an,Vt===ft&&(Nt=Xt),Vt===yt&&(Ft=Xt),Nt!==void 0&&Ft!==void 0)break}return{top:Ue[Nt-1]||0,bottom:Ue[Ft]}};return Dt}var Fe=fe(42573),ut=fe(58698),Be=function(){function oe(){(0,Fe.Z)(this,oe),(0,ze.Z)(this,"maps",void 0),(0,ze.Z)(this,"id",0),(0,ze.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ut.Z)(oe,[{key:"set",value:function(z,re){this.diffRecords.set(z,this.maps[z]),this.maps[z]=re,this.id+=1}},{key:"get",value:function(z){return this.maps[z]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),oe}(),Ye=Be;function Pe(oe){var te=parseFloat(oe);return isNaN(te)?0:te}function _e(oe,te,z){var re=pe.useState(0),le=(0,ve.Z)(re,2),ne=le[0],be=le[1],Ue=(0,pe.useRef)(new Map),Dt=(0,pe.useRef)(new Ye),mt=(0,pe.useRef)(0);function ft(){mt.current+=1}function yt(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ft();var Zt=function(){var rn=!1;Ue.current.forEach(function(Vt,an){if(Vt&&Vt.offsetParent){var et=Vt.offsetHeight,cn=getComputedStyle(Vt),zt=cn.marginTop,jt=cn.marginBottom,sn=Pe(zt),En=Pe(jt),tn=et+sn+En;Dt.current.get(an)!==tn&&(Dt.current.set(an,tn),rn=!0)}}),rn&&be(function(Vt){return Vt+1})};if(Ft)Zt();else{mt.current+=1;var Xt=mt.current;Promise.resolve().then(function(){Xt===mt.current&&Zt()})}}function Nt(Ft,Zt){var Xt=oe(Ft),kt=Ue.current.get(Xt);Zt?(Ue.current.set(Xt,Zt),yt()):Ue.current.delete(Xt),!kt!=!Zt&&(Zt?te==null||te(Ft):z==null||z(Ft))}return(0,pe.useEffect)(function(){return ft},[]),[Nt,yt,Dt.current,ne]}var Wt=14/15;function bt(oe,te,z){var re=(0,pe.useRef)(!1),le=(0,pe.useRef)(0),ne=(0,pe.useRef)(0),be=(0,pe.useRef)(null),Ue=(0,pe.useRef)(null),Dt,mt=function(Ft){if(re.current){var Zt=Math.ceil(Ft.touches[0].pageX),Xt=Math.ceil(Ft.touches[0].pageY),kt=le.current-Zt,rn=ne.current-Xt,Vt=Math.abs(kt)>Math.abs(rn);Vt?le.current=Zt:ne.current=Xt;var an=z(Vt,Vt?kt:rn,!1,Ft);an&&Ft.preventDefault(),clearInterval(Ue.current),an&&(Ue.current=setInterval(function(){Vt?kt*=Wt:rn*=Wt;var et=Math.floor(Vt?kt:rn);(!z(Vt,et,!0)||Math.abs(et)<=.1)&&clearInterval(Ue.current)},16))}},ft=function(){re.current=!1,Dt()},yt=function(Ft){Dt(),Ft.touches.length===1&&!re.current&&(re.current=!0,le.current=Math.ceil(Ft.touches[0].pageX),ne.current=Math.ceil(Ft.touches[0].pageY),be.current=Ft.target,be.current.addEventListener("touchmove",mt,{passive:!1}),be.current.addEventListener("touchend",ft,{passive:!0}))};Dt=function(){be.current&&(be.current.removeEventListener("touchmove",mt),be.current.removeEventListener("touchend",ft))},(0,Je.Z)(function(){return oe&&te.current.addEventListener("touchstart",yt,{passive:!0}),function(){var Nt;(Nt=te.current)===null||Nt===void 0||Nt.removeEventListener("touchstart",yt),Dt(),clearInterval(Ue.current)}},[oe])}function un(oe){return Math.floor(Math.pow(oe,.5))}function Rt(oe,te){var z="touches"in oe?oe.touches[0]:oe;return z[te?"pageX":"pageY"]-window[te?"scrollX":"scrollY"]}function ge(oe,te,z){pe.useEffect(function(){var re=te.current;if(oe&&re){var le=!1,ne,be,Ue=function(){it.Z.cancel(ne)},Dt=function Nt(){Ue(),ne=(0,it.Z)(function(){z(be),Nt()})},mt=function(Ft){if(!(Ft.target.draggable||Ft.button!==0)){var Zt=Ft;Zt._virtualHandled||(Zt._virtualHandled=!0,le=!0)}},ft=function(){le=!1,Ue()},yt=function(Ft){if(le){var Zt=Rt(Ft,!1),Xt=re.getBoundingClientRect(),kt=Xt.top,rn=Xt.bottom;if(Zt<=kt){var Vt=kt-Zt;be=-un(Vt),Dt()}else if(Zt>=rn){var an=Zt-rn;be=un(an),Dt()}else Ue()}};return re.addEventListener("mousedown",mt),re.ownerDocument.addEventListener("mouseup",ft),re.ownerDocument.addEventListener("mousemove",yt),function(){re.removeEventListener("mousedown",mt),re.ownerDocument.removeEventListener("mouseup",ft),re.ownerDocument.removeEventListener("mousemove",yt),Ue()}}},[oe])}var he=10;function ct(oe,te,z,re,le,ne,be,Ue){var Dt=pe.useRef(),mt=pe.useState(null),ft=(0,ve.Z)(mt,2),yt=ft[0],Nt=ft[1];return(0,Je.Z)(function(){if(yt&&yt.times<he){if(!oe.current){Nt(function(si){return(0,De.Z)({},si)});return}ne();var Ft=yt.targetAlign,Zt=yt.originAlign,Xt=yt.index,kt=yt.offset,rn=oe.current.clientHeight,Vt=!1,an=Ft,et=null;if(rn){for(var cn=Ft||Zt,zt=0,jt=0,sn=0,En=Math.min(te.length-1,Xt),tn=0;tn<=En;tn+=1){var gn=le(te[tn]);jt=zt;var Kn=z.get(gn);sn=jt+(Kn===void 0?re:Kn),zt=sn}for(var en=cn==="top"?kt:rn-kt,$n=En;$n>=0;$n-=1){var yi=le(te[$n]),ei=z.get(yi);if(ei===void 0){Vt=!0;break}if(en-=ei,en<=0)break}switch(cn){case"top":et=jt-kt;break;case"bottom":et=sn-rn+kt;break;default:{var Xn=oe.current.scrollTop,Nn=Xn+rn;jt<Xn?an="top":sn>Nn&&(an="bottom")}}et!==null&&be(et),et!==yt.lastTop&&(Vt=!0)}Vt&&Nt((0,De.Z)((0,De.Z)({},yt),{},{times:yt.times+1,targetAlign:an,lastTop:et}))}},[yt,oe.current]),function(Ft){if(Ft==null){Ue();return}if(it.Z.cancel(Dt.current),typeof Ft=="number")be(Ft);else if(Ft&&(0,je.Z)(Ft)==="object"){var Zt,Xt=Ft.align;"index"in Ft?Zt=Ft.index:Zt=te.findIndex(function(Vt){return le(Vt)===Ft.key});var kt=Ft.offset,rn=kt===void 0?0:kt;Nt({times:0,index:Zt,offset:rn,originAlign:Xt})}}}var Yt=pe.forwardRef(function(oe,te){var z=oe.prefixCls,re=oe.rtl,le=oe.scrollOffset,ne=oe.scrollRange,be=oe.onStartMove,Ue=oe.onStopMove,Dt=oe.onScroll,mt=oe.horizontal,ft=oe.spinSize,yt=oe.containerSize,Nt=oe.style,Ft=oe.thumbStyle,Zt=oe.showScrollBar,Xt=pe.useState(!1),kt=(0,ve.Z)(Xt,2),rn=kt[0],Vt=kt[1],an=pe.useState(null),et=(0,ve.Z)(an,2),cn=et[0],zt=et[1],jt=pe.useState(null),sn=(0,ve.Z)(jt,2),En=sn[0],tn=sn[1],gn=!re,Kn=pe.useRef(),en=pe.useRef(),$n=pe.useState(Zt),yi=(0,ve.Z)($n,2),ei=yi[0],Xn=yi[1],Nn=pe.useRef(),si=function(){Zt===!0||Zt===!1||(clearTimeout(Nn.current),Xn(!0),Nn.current=setTimeout(function(){Xn(!1)},3e3))},Li=ne-yt||0,Fn=yt-ft||0,ti=pe.useMemo(function(){if(le===0||Li===0)return 0;var ci=le/Li;return ci*Fn},[le,Li,Fn]),_t=function(Tn){Tn.stopPropagation(),Tn.preventDefault()},ln=pe.useRef({top:ti,dragging:rn,pageY:cn,startTop:En});ln.current={top:ti,dragging:rn,pageY:cn,startTop:En};var fn=function(Tn){Vt(!0),zt(Rt(Tn,mt)),tn(ln.current.top),be(),Tn.stopPropagation(),Tn.preventDefault()};pe.useEffect(function(){var ci=function(Mt){Mt.preventDefault()},Tn=Kn.current,Un=en.current;return Tn.addEventListener("touchstart",ci,{passive:!1}),Un.addEventListener("touchstart",fn,{passive:!1}),function(){Tn.removeEventListener("touchstart",ci),Un.removeEventListener("touchstart",fn)}},[]);var Ln=pe.useRef();Ln.current=Li;var Wi=pe.useRef();Wi.current=Fn,pe.useEffect(function(){if(rn){var ci,Tn=function(Mt){var qe=ln.current,$t=qe.dragging,Mn=qe.pageY,Wn=qe.startTop;it.Z.cancel(ci);var ke=Kn.current.getBoundingClientRect(),Le=yt/(mt?ke.width:ke.height);if($t){var Bt=(Rt(Mt,mt)-Mn)*Le,ht=Wn;!gn&&mt?ht-=Bt:ht+=Bt;var Te=Ln.current,dt=Wi.current,Ut=dt?ht/dt:0,Qt=Math.ceil(Ut*Te);Qt=Math.max(Qt,0),Qt=Math.min(Qt,Te),ci=(0,it.Z)(function(){Dt(Qt,mt)})}},Un=function(){Vt(!1),Ue()};return window.addEventListener("mousemove",Tn,{passive:!0}),window.addEventListener("touchmove",Tn,{passive:!0}),window.addEventListener("mouseup",Un,{passive:!0}),window.addEventListener("touchend",Un,{passive:!0}),function(){window.removeEventListener("mousemove",Tn),window.removeEventListener("touchmove",Tn),window.removeEventListener("mouseup",Un),window.removeEventListener("touchend",Un),it.Z.cancel(ci)}}},[rn]),pe.useEffect(function(){return si(),function(){clearTimeout(Nn.current)}},[le]),pe.useImperativeHandle(te,function(){return{delayHidden:si}});var Yn="".concat(z,"-scrollbar"),ni={position:"absolute",visibility:ei?null:"hidden"},Mi={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return mt?(Object.assign(ni,{height:8,left:0,right:0,bottom:0}),Object.assign(Mi,(0,ze.Z)({height:"100%",width:ft},gn?"left":"right",ti))):(Object.assign(ni,(0,ze.Z)({width:8,top:0,bottom:0},gn?"right":"left",0)),Object.assign(Mi,{width:"100%",height:ft,top:ti})),pe.createElement("div",{ref:Kn,className:He()(Yn,(0,ze.Z)((0,ze.Z)((0,ze.Z)({},"".concat(Yn,"-horizontal"),mt),"".concat(Yn,"-vertical"),!mt),"".concat(Yn,"-visible"),ei)),style:(0,De.Z)((0,De.Z)({},ni),Nt),onMouseDown:_t,onMouseMove:si},pe.createElement("div",{ref:en,className:He()("".concat(Yn,"-thumb"),(0,ze.Z)({},"".concat(Yn,"-thumb-moving"),rn)),style:(0,De.Z)((0,De.Z)({},Mi),Ft),onMouseDown:fn}))}),Ct=Yt,Me=20;function Qe(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=oe/te*oe;return isNaN(z)&&(z=0),z=Math.max(z,Me),Math.floor(z)}var ot=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Kt=[],Ge={overflowY:"auto",overflowAnchor:"none"};function st(oe,te){var z=oe.prefixCls,re=z===void 0?"rc-virtual-list":z,le=oe.className,ne=oe.height,be=oe.itemHeight,Ue=oe.fullHeight,Dt=Ue===void 0?!0:Ue,mt=oe.style,ft=oe.data,yt=oe.children,Nt=oe.itemKey,Ft=oe.virtual,Zt=oe.direction,Xt=oe.scrollWidth,kt=oe.component,rn=kt===void 0?"div":kt,Vt=oe.onScroll,an=oe.onVirtualScroll,et=oe.onVisibleChange,cn=oe.innerProps,zt=oe.extraRender,jt=oe.styles,sn=oe.showScrollBar,En=sn===void 0?"optional":sn,tn=(0,me.Z)(oe,ot),gn=pe.useCallback(function(Lt){return typeof Nt=="function"?Nt(Lt):Lt==null?void 0:Lt[Nt]},[Nt]),Kn=_e(gn,null,null),en=(0,ve.Z)(Kn,4),$n=en[0],yi=en[1],ei=en[2],Xn=en[3],Nn=!!(Ft!==!1&&ne&&be),si=pe.useMemo(function(){return Object.values(ei.maps).reduce(function(Lt,It){return Lt+It},0)},[ei.id,ei.maps]),Li=Nn&&ft&&(Math.max(be*ft.length,si)>ne||!!Xt),Fn=Zt==="rtl",ti=He()(re,(0,ze.Z)({},"".concat(re,"-rtl"),Fn),le),_t=ft||Kt,ln=(0,pe.useRef)(),fn=(0,pe.useRef)(),Ln=(0,pe.useRef)(),Wi=(0,pe.useState)(0),Yn=(0,ve.Z)(Wi,2),ni=Yn[0],Mi=Yn[1],ci=(0,pe.useState)(0),Tn=(0,ve.Z)(ci,2),Un=Tn[0],Ni=Tn[1],Mt=(0,pe.useState)(!1),qe=(0,ve.Z)(Mt,2),$t=qe[0],Mn=qe[1],Wn=function(){Mn(!0)},ke=function(){Mn(!1)},Le={getKey:gn};function Bt(Lt){Mi(function(It){var pt;typeof Lt=="function"?pt=Lt(It):pt=Lt;var $e=Ti(pt);return ln.current.scrollTop=$e,$e})}var ht=(0,pe.useRef)({start:0,end:_t.length}),Te=(0,pe.useRef)(),dt=nt(_t,gn),Ut=(0,ve.Z)(dt,1),Qt=Ut[0];Te.current=Qt;var nn=pe.useMemo(function(){if(!Nn)return{scrollHeight:void 0,start:0,end:_t.length-1,offset:void 0};if(!Li){var Lt;return{scrollHeight:((Lt=fn.current)===null||Lt===void 0?void 0:Lt.offsetHeight)||0,start:0,end:_t.length-1,offset:void 0}}for(var It=0,pt,$e,St,Tt=_t.length,vn=0;vn<Tt;vn+=1){var wn=_t[vn],On=gn(wn),jn=ei.get(On),Zn=It+(jn===void 0?be:jn);Zn>=ni&&pt===void 0&&(pt=vn,$e=It),Zn>ni+ne&&St===void 0&&(St=vn),It=Zn}return pt===void 0&&(pt=0,$e=0,St=Math.ceil(ne/be)),St===void 0&&(St=_t.length-1),St=Math.min(St+1,_t.length-1),{scrollHeight:It,start:pt,end:St,offset:$e}},[Li,Nn,ni,_t,Xn,ne]),Ne=nn.scrollHeight,Gt=nn.start,gt=nn.end,mn=nn.offset;ht.current.start=Gt,ht.current.end=gt,pe.useLayoutEffect(function(){var Lt=ei.getRecord();if(Lt.size===1){var It=Array.from(Lt.keys())[0],pt=Lt.get(It),$e=_t[Gt];if($e&&pt===void 0){var St=gn($e);if(St===It){var Tt=ei.get(It),vn=Tt-be;Bt(function(wn){return wn+vn})}}}ei.resetRecord()},[Ne]);var Ht=pe.useState({width:0,height:ne}),pn=(0,ve.Z)(Ht,2),hn=pn[0],Cn=pn[1],bn=function(It){Cn({width:It.offsetWidth,height:It.offsetHeight})},zn=(0,pe.useRef)(),Qn=(0,pe.useRef)(),Rn=pe.useMemo(function(){return Qe(hn.width,Xt)},[hn.width,Xt]),ui=pe.useMemo(function(){return Qe(hn.height,Ne)},[hn.height,Ne]),Bn=Ne-ne,bi=(0,pe.useRef)(Bn);bi.current=Bn;function Ti(Lt){var It=Lt;return Number.isNaN(bi.current)||(It=Math.min(It,bi.current)),It=Math.max(It,0),It}var _n=ni<=0,hi=ni>=Bn,Ai=Un<=0,fi=Un>=Xt,Gn=rt(_n,hi,Ai,fi),Si=function(){return{x:Fn?-Un:Un,y:ni}},ii=(0,pe.useRef)(Si()),ri=(0,de.zX)(function(Lt){if(an){var It=(0,De.Z)((0,De.Z)({},Si()),Lt);(ii.current.x!==It.x||ii.current.y!==It.y)&&(an(It),ii.current=It)}});function di(Lt,It){var pt=Lt;It?((0,at.flushSync)(function(){Ni(pt)}),ri()):Bt(pt)}function Bi(Lt){var It=Lt.currentTarget.scrollTop;It!==ni&&Bt(It),Vt==null||Vt(Lt),ri()}var pi=function(It){var pt=It,$e=Xt?Xt-hn.width:0;return pt=Math.max(pt,0),pt=Math.min(pt,$e),pt},Jn=(0,de.zX)(function(Lt,It){It?((0,at.flushSync)(function(){Ni(function(pt){var $e=pt+(Fn?-Lt:Lt);return pi($e)})}),ri()):Bt(function(pt){var $e=pt+Lt;return $e})}),Hn=At(Nn,_n,hi,Ai,fi,!!Xt,Jn),oi=(0,ve.Z)(Hn,2),Vi=oi[0],Di=oi[1];bt(Nn,ln,function(Lt,It,pt,$e){var St=$e;return Gn(Lt,It,pt)?!1:!St||!St._virtualHandled?(St&&(St._virtualHandled=!0),Vi({preventDefault:function(){},deltaX:Lt?It:0,deltaY:Lt?0:It}),!0):!1}),ge(Li,ln,function(Lt){Bt(function(It){return It+Lt})}),(0,Je.Z)(function(){function Lt(pt){var $e=_n&&pt.detail<0,St=hi&&pt.detail>0;Nn&&!$e&&!St&&pt.preventDefault()}var It=ln.current;return It.addEventListener("wheel",Vi,{passive:!1}),It.addEventListener("DOMMouseScroll",Di,{passive:!0}),It.addEventListener("MozMousePixelScroll",Lt,{passive:!1}),function(){It.removeEventListener("wheel",Vi),It.removeEventListener("DOMMouseScroll",Di),It.removeEventListener("MozMousePixelScroll",Lt)}},[Nn,_n,hi]),(0,Je.Z)(function(){if(Xt){var Lt=pi(Un);Ni(Lt),ri({x:Lt})}},[hn.width,Xt]);var Ci=function(){var It,pt;(It=zn.current)===null||It===void 0||It.delayHidden(),(pt=Qn.current)===null||pt===void 0||pt.delayHidden()},ir=ct(ln,_t,ei,be,gn,function(){return yi(!0)},Bt,Ci);pe.useImperativeHandle(te,function(){return{nativeElement:Ln.current,getScrollInfo:Si,scrollTo:function(It){function pt($e){return $e&&(0,je.Z)($e)==="object"&&("left"in $e||"top"in $e)}pt(It)?(It.left!==void 0&&Ni(pi(It.left)),ir(It.top)):ir(It)}}}),(0,Je.Z)(function(){if(et){var Lt=_t.slice(Gt,gt+1);et(Lt,_t)}},[Gt,gt,_t]);var Ei=Re(_t,gn,ei,be),lr=zt==null?void 0:zt({start:Gt,end:gt,virtual:Li,offsetX:Un,offsetY:mn,rtl:Fn,getSize:Ei}),_i=we(_t,Gt,gt,Xt,Un,$n,yt,Le),Ii=null;ne&&(Ii=(0,De.Z)((0,ze.Z)({},Dt?"height":"maxHeight",ne),Ge),Nn&&(Ii.overflowY="hidden",Xt&&(Ii.overflowX="hidden"),$t&&(Ii.pointerEvents="none")));var Dn={};return Fn&&(Dn.dir="rtl"),pe.createElement("div",(0,ae.Z)({ref:Ln,style:(0,De.Z)((0,De.Z)({},mt),{},{position:"relative"}),className:ti},Dn,tn),pe.createElement(Ce.Z,{onResize:bn},pe.createElement(rn,{className:"".concat(re,"-holder"),style:Ii,ref:ln,onScroll:Bi,onMouseEnter:Ci},pe.createElement(Se,{prefixCls:re,height:Ne,offsetX:Un,offsetY:mn,scrollWidth:Xt,onInnerResize:yi,ref:fn,innerProps:cn,rtl:Fn,extra:lr},_i))),Li&&Ne>ne&&pe.createElement(Ct,{ref:zn,prefixCls:re,scrollOffset:ni,scrollRange:Ne,rtl:Fn,onScroll:di,onStartMove:Wn,onStopMove:ke,spinSize:ui,containerSize:hn.height,style:jt==null?void 0:jt.verticalScrollBar,thumbStyle:jt==null?void 0:jt.verticalScrollBarThumb,showScrollBar:En}),Li&&Xt>hn.width&&pe.createElement(Ct,{ref:Qn,prefixCls:re,scrollOffset:Un,scrollRange:Xt,rtl:Fn,onScroll:di,onStartMove:Wn,onStopMove:ke,spinSize:Rn,containerSize:hn.width,horizontal:!0,style:jt==null?void 0:jt.horizontalScrollBar,thumbStyle:jt==null?void 0:jt.horizontalScrollBarThumb,showScrollBar:En}))}var xe=pe.forwardRef(st);xe.displayName="List";var lt=xe,wt=lt},25510:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBY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2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje1HJ59iyyy7jL362iy7//4HbM899rQHH3jIDj/kkHAMwJ9uucWOOPLwEEczdcmpNmWJKSGe56Hnnrbnn3zSll1iKfvYHh+x/fbZz669/no76Scn2+lnnW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NQJ9St5JoXzvPArETuWcrOCzMcgIrdi0suHH6JAy2X7YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(xt,Pt,fe){"use strict";xt.exports=fe.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(xt){"use strict";xt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5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(xt,Pt,fe){"use strict";fe.d(Pt,{Z:function(){return He}});const ae=Ce=>typeof Ce=="object"&&Ce!=null&&Ce.nodeType===1,je=(Ce,de)=>(!de||Ce!=="hidden")&&Ce!=="visible"&&Ce!=="clip",De=(Ce,de)=>{if(Ce.clientHeight<Ce.scrollHeight||Ce.clientWidth<Ce.scrollWidth){const Je=getComputedStyle(Ce,null);return je(Je.overflowY,de)||je(Je.overflowX,de)||(pe=>{const at=(Oe=>{if(!Oe.ownerDocument||!Oe.ownerDocument.defaultView)return null;try{return Oe.ownerDocument.defaultView.frameElement}catch(Se){return null}})(pe);return!!at&&(at.clientHeight<pe.scrollHeight||at.clientWidth<pe.scrollWidth)})(Ce)}return!1},ze=(Ce,de,Je,pe,at,Oe,Se,Ee)=>Oe<Ce&&Se>de||Oe>Ce&&Se<de?0:Oe<=Ce&&Ee<=Je||Se>=de&&Ee>=Je?Oe-Ce-pe:Se>de&&Ee<Je||Oe<Ce&&Ee>Je?Se-de+at:0,ve=Ce=>{const de=Ce.parentElement;return de==null?Ce.getRootNode().host||null:de},me=(Ce,de)=>{var Je,pe,at,Oe;if(typeof document=="undefined")return[];const{scrollMode:Se,block:Ee,inline:we,boundary:Ve,skipOverflowHiddenElements:tt}=de,nt=typeof Ve=="function"?Ve:Ct=>Ct!==Ve;if(!ae(Ce))throw new TypeError("Invalid target");const it=document.scrollingElement||document.documentElement,Ke=[];let Xe=Ce;for(;ae(Xe)&&nt(Xe);){if(Xe=ve(Xe),Xe===it){Ke.push(Xe);break}Xe!=null&&Xe===document.body&&De(Xe)&&!De(document.documentElement)||Xe!=null&&De(Xe,tt)&&Ke.push(Xe)}const rt=(pe=(Je=window.visualViewport)==null?void 0:Je.width)!=null?pe:innerWidth,At=(Oe=(at=window.visualViewport)==null?void 0:at.height)!=null?Oe:innerHeight,{scrollX:Re,scrollY:Fe}=window,{height:ut,width:Be,top:Ye,right:Pe,bottom:_e,left:Wt}=Ce.getBoundingClientRect(),{top:bt,right:un,bottom:Rt,left:ge}=(Ct=>{const Me=window.getComputedStyle(Ct);return{top:parseFloat(Me.scrollMarginTop)||0,right:parseFloat(Me.scrollMarginRight)||0,bottom:parseFloat(Me.scrollMarginBottom)||0,left:parseFloat(Me.scrollMarginLeft)||0}})(Ce);let he=Ee==="start"||Ee==="nearest"?Ye-bt:Ee==="end"?_e+Rt:Ye+ut/2-bt+Rt,ct=we==="center"?Wt+Be/2-ge+un:we==="end"?Pe+un:Wt-ge;const Yt=[];for(let Ct=0;Ct<Ke.length;Ct++){const Me=Ke[Ct],{height:Qe,width:ot,top:Kt,right:Ge,bottom:st,left:xe}=Me.getBoundingClientRect();if(Se==="if-needed"&&Ye>=0&&Wt>=0&&_e<=At&&Pe<=rt&&(Me===it&&!De(Me)||Ye>=Kt&&_e<=st&&Wt>=xe&&Pe<=Ge))return Yt;const lt=getComputedStyle(Me),wt=parseInt(lt.borderLeftWidth,10),oe=parseInt(lt.borderTopWidth,10),te=parseInt(lt.borderRightWidth,10),z=parseInt(lt.borderBottomWidth,10);let re=0,le=0;const ne="offsetWidth"in Me?Me.offsetWidth-Me.clientWidth-wt-te:0,be="offsetHeight"in Me?Me.offsetHeight-Me.clientHeight-oe-z:0,Ue="offsetWidth"in Me?Me.offsetWidth===0?0:ot/Me.offsetWidth:0,Dt="offsetHeight"in Me?Me.offsetHeight===0?0:Qe/Me.offsetHeight:0;if(it===Me)re=Ee==="start"?he:Ee==="end"?he-At:Ee==="nearest"?ze(Fe,Fe+At,At,oe,z,Fe+he,Fe+he+ut,ut):he-At/2,le=we==="start"?ct:we==="center"?ct-rt/2:we==="end"?ct-rt:ze(Re,Re+rt,rt,wt,te,Re+ct,Re+ct+Be,Be),re=Math.max(0,re+Fe),le=Math.max(0,le+Re);else{re=Ee==="start"?he-Kt-oe:Ee==="end"?he-st+z+be:Ee==="nearest"?ze(Kt,st,Qe,oe,z+be,he,he+ut,ut):he-(Kt+Qe/2)+be/2,le=we==="start"?ct-xe-wt:we==="center"?ct-(xe+ot/2)+ne/2:we==="end"?ct-Ge+te+ne:ze(xe,Ge,ot,wt,te+ne,ct,ct+Be,Be);const{scrollLeft:mt,scrollTop:ft}=Me;re=Dt===0?0:Math.max(0,Math.min(ft+re/Dt,Me.scrollHeight-Qe/Dt+be)),le=Ue===0?0:Math.max(0,Math.min(mt+le/Ue,Me.scrollWidth-ot/Ue+ne)),he+=ft-re,ct+=mt-le}Yt.push({el:Me,top:re,left:le})}return Yt},Ie=Ce=>Ce===!1?{block:"end",inline:"nearest"}:(de=>de===Object(de)&&Object.keys(de).length!==0)(Ce)?Ce:{block:"start",inline:"nearest"};function He(Ce,de){if(!Ce.isConnected||!(at=>{let Oe=at;for(;Oe&&Oe.parentNode;){if(Oe.parentNode===document)return!0;Oe=Oe.parentNode instanceof ShadowRoot?Oe.parentNode.host:Oe.parentNode}return!1})(Ce))return;const Je=(at=>{const Oe=window.getComputedStyle(at);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(Ce);if((at=>typeof at=="object"&&typeof at.behavior=="function")(de))return de.behavior(me(Ce,de));const pe=typeof de=="boolean"||de==null?void 0:de.behavior;for(const{el:at,top:Oe,left:Se}of me(Ce,Ie(de))){const Ee=Oe-Je.top+Je.bottom,we=Se-Je.left+Je.right;at.scroll({top:Ee,left:we,behavior:pe})}}}}]);
|