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.
1106 lines
1.1 MiB
1106 lines
1.1 MiB
(self.webpackChunk=self.webpackChunk||[]).push([[9416],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(bn,cn){"use strict";cn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69063:function(bn,cn){"use strict";cn.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze"}},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 bn={},cn="5.0",se={},re=null,Ne=!1,Te=!1,Fe=null,Ee=!1,fe=null,Oe=null,Ce=0;Ce<arguments.length;Ce++){var Pe=arguments[Ce];if(Pe!==null)switch(typeof Pe){case"number":cn=Pe.toFixed(1);break;case"string":Pe.match(new RegExp("^[0-9]\\.[0-9]+$"))?cn=Pe:Fe=Pe;break;case"object":typeof Pe.is3D!="undefined"?re=Pe:se=Pe;break;case"boolean":Ne=Pe,Te=!0;break}}re===null&&(re={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},se.material_id!==void 0&&!Te&&(Ne=!0)),Fe!==null&&se.id===void 0&&(se.id=Fe);var oe="",nt="",ye=!1,Ke=null,Ie=null,Ye=null,He=!1,je=null,st=null,at=null,rt=null,ke=null;se.height!==void 0&&(se.height=Math.round(se.height)),se.width!==void 0&&(se.width=Math.round(se.width));var be=function(Xe){return parseFloat(Xe)>4?parseFloat(Xe):5};bn.setHTML5Codebase=function(Xe,Ct){Oe=Xe,qe(Xe,Ct)},bn.setJavaCodebase=bn.setJavaCodebaseVersion=bn.isCompiledInstalled=bn.setPreCompiledScriptPath=bn.setPreCompiledResourcePath=function(){},bn.setHTML5CodebaseVersion=function(Xe,Ct){var tt=parseFloat(Xe);if(tt!==NaN&&tt<5){console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead.");return}fe=Xe,he(Xe,Ct)},bn.getHTML5CodebaseVersion=function(){return Ie},bn.getParameters=function(){return se},bn.setFontsCSSURL=function(Xe){rt=Xe},bn.setGiacJSURL=function(Xe){},bn.setJNLPFile=function(Xe){oe=Xe},bn.setJNLPBaseDir=function(Xe){},bn.inject=function(){function Xe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ct="auto",tt=se.id,Ht,We=!1,yt=0;yt<arguments.length;yt++){var Qe=arguments[yt];typeof Qe=="string"?(Qe=Qe.toLowerCase(),Qe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ct=Qe:tt=arguments[yt]):typeof Qe=="boolean"?We=Qe:Qe instanceof HTMLElement&&(Ht=Qe)}Bt();function Bt(){if(!Ee){setTimeout(Bt,200);return}Ct=St(Ct);var bt=Ht||document.getElementById(tt);if(!bt){console.log("possibly bug on ajax loading? ");return}if(bn.removeExistingApplet(bt,!1),se.width===void 0&&bt.clientWidth&&(se.width=bt.clientWidth),se.height===void 0&&bt.clientHeight&&(se.height=bt.clientHeight),!(se.width&&se.height)&&Ct==="html5"&&(delete se.width,delete se.height),Ke=Ct,Ct==="screenshot")Re(bt,se);else{var ce=!1;se.hasOwnProperty("playButton")&&se.playButton||se.hasOwnProperty("clickToLoad")&&se.clickToLoad?ce=!0:se.hasOwnProperty("playButtonAutoDecide")&&se.playButtonAutoDecide&&(ce=(!Ve()||Xe())&&Ge()),ce?(Ke="screenshot",Rt(bt,se,We,Ct)):_e(bt,se,We)}}};function Ve(){try{return window.self!==window.top}catch(Xe){return!0}}function Ge(){return se.hasOwnProperty("screenshotGenerator")&&se.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}bn.getViews=function(){return re},bn.isJavaInstalled=function(){return!1};var ft=function(Xe){var Ct=function(yt){var Qe=JSON.parse(yt),Bt=function(ie){return ie.type=="G"||ie.type=="E"},bt=Qe.elements?Qe.elements.filter(Bt)[0]:Qe;if(!bt||!bt.url){tt();return}se.fileName=bt.url,ge(bt.settings||{}),re.is3D=!0;var ce="https://www.geogebra.org/images/";bn.setPreviewImage(je||bt.previewUrl,ce+"GeoGebra_loading.png",ce+"applet_play.png"),Xe()},tt=function(){se.onError&&se.onError(),Tt("Error: Fetching material (id "+se.material_id+") failed.",se)},Ht=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",We="/materials/"+se.material_id+"?scope=basic";Ae("https://"+Ht+"/api/proxy.php?path="+encodeURIComponent(We),Ct,tt)};function ge(Xe){var Ct=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(tt){Xe[tt]=!!Xe[tt]}),Ct.forEach(function(tt){se[tt]===void 0&&Xe[tt]!==void 0&&(se[tt]=Xe[tt])}),se.showToolBarHelp===void 0&&(se.showToolBarHelp=se.showToolBar)}function Ae(Xe,Ct,tt){var Ht=new XMLHttpRequest;Ht.open("GET",Xe),Ht.onload=function(){Ct(Ht.responseText)},Ht.onerror=tt,Ht.send()}bn.isHTML5Installed=function(){return!0},bn.getLoadedAppletType=function(){return Ke},bn.setPreviewImage=function(Xe,Ct,tt){je=Xe,st=Ct,at=tt},bn.removeExistingApplet=function(Xe,Ct){var tt;typeof Xe=="string"&&(Xe=document.getElementById(Xe)),Ke=null;var Ht=null;for(tt=0;tt<Xe.childNodes.length;tt++){var We=Xe.childNodes[tt],yt=We.className;yt==="applet_screenshot"?Ct?(We.style.display="block",Ke="screenshot"):We.style.display="none":yt!=="applet_scaler prerender"&&(Xe.removeChild(We),Ht=yt&&yt.indexOf("appletParameters")!=-1?We.id:null,tt--)}var Qe=se.id!==void 0?se.id:Ht,Bt=window[Qe];Bt&&typeof Bt.getBase64=="function"&&(Bt.remove(),window[Qe]=null)},bn.refreshHitPoints=function(){if(be(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Xe=bn.getAppletObject();return Xe&&typeof Xe.recalculateEnvironments=="function"?(Xe.recalculateEnvironments(),!0):!1},bn.startAnimation=function(){var Xe=bn.getAppletObject();return Xe&&typeof Xe.startAnimation=="function"?(Xe.startAnimation(),!0):!1},bn.stopAnimation=function(){var Xe=bn.getAppletObject();return Xe&&typeof Xe.stopAnimation=="function"?(Xe.stopAnimation(),!0):!1},bn.getAppletObject=function(){var Xe=se.id!==void 0?se.id:"ggbApplet";return window[Xe]},bn.resize=function(){};var ze=function(Xe,Ct,tt){var Ht=document.createElement("param");Ht.setAttribute("name",Ct),Ht.setAttribute("value",tt),Xe.appendChild(Ht)},Ze=function(Xe){return Xe&&Xe!=="false"},_e=function(Xe,Ct,tt){be(Ie)<=4.2&&(tt=!0);var Ht=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ie||ggbHTML5LoadedCodebaseIsWebSimple&&!He)&&(Ht=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var We=document.createElement("div");We.classList.add("appletParameters","notranslate");var yt=Ct.width,Qe=Ct.height;if(Ct.disableAutoScale=Ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ct.disableAutoScale,Ct.width!==void 0)if(be(Ie)<=4.4)Ze(Ct.showToolBar)&&(Ct.height-=7),Ze(Ct.showAlgebraInput)&&(Ct.height-=37),Ct.width<605&&Ze(Ct.showToolBar)&&(Ct.width=605,yt=605);else{var Bt=100;(Ze(Ct.showToolBar)||Ze(Ct.showMenuBar))&&(Ct.hasOwnProperty("customToolBar")&&(Ct.customToolbar=Ct.customToolBar),Bt=Ze(Ct.showMenuBar)?245:155),yt<Bt&&(Ct.width=Bt,yt=Bt)}We.style.border="none",We.style.display="inline-block";for(var bt in Ct)Ct.hasOwnProperty(bt)&&bt!=="appletOnLoad"&&We.setAttribute("data-param-"+bt,Ct[bt]);rt&&We.setAttribute("data-param-fontscssurl",rt),bn.resize=function(){GGBAppletUtils.responsiveResize(Xe,Ct)},window.addEventListener("resize",function(ot){bn.resize()});var ce=typeof Ct.appletOnLoad=="function"?Ct.appletOnLoad:function(){};if(!tt&&Ct.width!==void 0){Ct.hasOwnProperty("showSplash")||We.setAttribute("data-param-showSplash","false");var ie=Xe.querySelector(".applet_scaler.prerender"),z=ie!==null;if(z)var ee=ie.querySelector(".ggb_preview");else{var ee=mt(yt,Qe,Ct.borderColor,!1);ie=document.createElement("div"),ie.className="applet_scaler",ie.style.position="relative",ie.style.display="block",ie.style.width=yt+"px",ie.style.height=Qe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ie,"66%"),be(Ie)>=5?(Ct.appletOnLoad=function(ot){var vt=Xe.querySelector(".ggb_preview");vt&&vt.parentNode.removeChild(vt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ie),window.GGBT_wsf_view&&$(window).trigger("resize"),ce(ot)},z||ie.appendChild(ee)):We.appendChild(ee),ie.appendChild(We),z||Xe.appendChild(ie),setTimeout(function(){bn.resize()},1)}else{var ne=document.createElement("div");ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.appendChild(We),Xe.appendChild(ne),Ct.appletOnLoad=function(ot){bn.resize(),ce(ot)}}function te(ot,vt){vt&&typeof vt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ot,vt.appletOnLoad):renderGGBElement(ot),Tt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",vt)}function ue(ot,vt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ot,params:vt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(zt){te(zt.article,zt.params)}),html5AppletsToProcess=null)},be(Ie)<5&&(ot.className+=" geogebraweb")):te(ot,vt)}if(Ht){scriptLoadStarted=!0;for(var me=0;me<We.childNodes.length;me++){var Se=We.childNodes[me].tagName;Se==="TABLE"&&(We.removeChild(We.childNodes[me]),me--)}if(ggbHTML5LoadedScript!==null){var Dt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Dt!=null&&Dt.parentNode.removeChild(Dt)}var Ue=document.createElement("script"),$e=function(){ue(We,Ct)};Ue.src=nt+Ye,ggbHTML5LoadedCodebaseIsWebSimple=He,ggbHTML5LoadedCodebaseVersion=Ie,ggbHTML5LoadedScript=Ue.src,Tt("GeoGebra HTML5 codebase loaded: '"+nt+"'.",Ct),!Oe&&(!fe||fe=="5.0")?(He?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),$e()):nt.requirejs?__webpack_require__.e(981).then(function(){var ot=[__webpack_require__(60981)];$e.apply(null,ot)}.bind(this)).catch(__webpack_require__.oe):(Ue.onload=$e,Xe.appendChild(Ue))}else ue(We,Ct);Ct.height=Qe,Ct.width=yt},Re=function(Xe,Ct,tt){var Ht=mt(Ct.width,Ct.height,Ct.borderColor,tt),We=document.createElement("div");We.style.position="relative",We.style.display="block",We.style.width=Ct.width+"px",We.style.height=Ct.height+"px",We.className="applet_screenshot applet_scaler"+(tt?" applet_screenshot_play":""),We.appendChild(Ht);var yt=GGBAppletUtils.getScale(Ct,Xe,tt);tt?(Xe.appendChild(ht()),window.GGBT_wsf_view||(Xe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(We,"66%"),Xe.appendChild(We),yt!==1&&!isNaN(yt)&&(GGBAppletUtils.scaleElement(We,yt),We.style.width=Ct.width+"px",We.style.height=Ct.height+"px",We.parentNode.style.width=Ct.width*yt+"px",We.parentNode.style.height=Ct.height*yt+"px"),bn.resize=function(){Je(Xe,Ht,We,tt)},window.addEventListener("resize",function(Qe){bn.resize()}),bn.resize()};function Je(Xe,Ct,tt,Ht){if(Xe.contains(Ct)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Xe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Xe)}var We=GGBAppletUtils.getScale(se,Xe,Ht);tt.parentNode!==null&&(!isNaN(We)&&We!==1?(GGBAppletUtils.scaleElement(tt,We),tt.parentNode.style.width=se.width*We+"px",tt.parentNode.style.height=se.height*We+"px"):(GGBAppletUtils.scaleElement(tt,1),tt.parentNode.style.width=se.width+"px",tt.parentNode.style.height=se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Xe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}bn.onExitFullscreen=function(Xe,Ct){Ct.appendChild(Xe)};var Rt=function(Xe,Ct,tt,Ht){Re(Xe,Ct,!0);for(var We=function(){var Bt=[];for(Qe=0;Qe<Xe.childNodes.length;Qe++)Bt.push(Xe.childNodes[Qe]);if(window.GGBT_wsf_view){var bt=window.GGBT_wsf_view.renderFullScreen(Xe,Ct.id),ce=document.getElementById("fullscreencontainer"),ie=jQuery(Xe).find(".fullscreencontent");ie.length>0?(bt.remove(),ie.attr("id","fullscreencontent").show(),jQuery(ce).append(ie),window.dispatchEvent(new Event("resize"))):_e(bt,Ct,!1),window.GGBT_wsf_view.launchFullScreen(ce)}else Ke=Ht,_e(Xe,Ct,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qe<Bt.length;Qe++)Xe.removeChild(Bt[Qe])},yt=Xe.getElementsByClassName("ggb_preview_play"),Qe=0;Qe<yt.length;Qe++)yt[Qe].addEventListener("click",We,!1),yt[Qe].addEventListener("ontouchstart",We,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Xe),Ge()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ht=function(){var Xe=document.createElement("div");if(Xe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ct='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',tt=document.createElement("style");tt.styleSheet?tt.styleSheet.cssText=Ct:tt.appendChild(document.createTextNode(Ct)),document.getElementsByTagName("head")[0].appendChild(tt)}return Xe},mt=function(Xe,Ct,tt,Ht){var We=document.createElement("div");We.className="ggb_preview",We.style.position="absolute",We.style.zIndex="90",We.style.width=Xe-2+"px",We.style.height=Ct-2+"px",We.style.top="0px",We.style.left="0px",We.style.overflow="hidden",We.style.backgroundColor="white";var yt="lightgrey";tt!==void 0&&(tt==="none"?yt="transparent":yt=tt),We.style.border="1px solid "+yt;var Qe=document.createElement("img");if(Qe.style.position="relative",Qe.style.zIndex="1000",Qe.style.top="-1px",Qe.style.left="-1px",je!==null&&Qe.setAttribute("src",je),Qe.style.opacity=.7,st!==null){var Bt,bt,ce;if(!Ht){Bt=document.createElement("img"),Bt.style.position="absolute",Bt.style.zIndex="1001",Bt.style.opacity=1,Qe.style.opacity=.3,bt=360,bt>Xe/4*3&&(bt=Xe/4*3),ce=bt/5.8,Bt.setAttribute("src",st),Bt.setAttribute("width",bt),Bt.setAttribute("height",ce);var ie=(Xe-bt)/2,z=(Ct-ce)/2;Bt.style.left=ie+"px",Bt.style.top=z+"px",We.appendChild(Bt)}}return We.appendChild(Qe),We},St=function(Xe){return Xe=Xe.toLowerCase(),Xe==="html5"||Xe==="screenshot"?Xe:"html5"},xe=["web","webSimple","web3d","tablet","tablet3d","phone"],he=function(Xe,Ct){if(Ie=Xe,Ct){qe(Ie,!0);return}var tt=!Ne;if(tt){var Ht=be(Ie);!isNaN(Ht)&&Ht<4.4&&(tt=!1)}var We,yt;window.location.protocol.substr(0,4)==="http"?We=window.location.protocol:We="http:";var Qe=Ie.indexOf("//");Qe>0?yt=Ie:Qe===0?yt=We+Ie:yt="https://www.geogebra.org/apps/5.2.814.0/";for(var Bt in xe)if(Ie.slice(xe[Bt].length*-1)===xe[Bt]||Ie.slice((xe[Bt].length+1)*-1)===xe[Bt]+"/"){qe(yt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&tt&&!re.is3D&&!re.AV&&!re.SV&&!re.CV&&!re.EV2&&!re.CP&&!re.PC&&!re.DA&&!re.FI&&!re.PV&&!Ze(se.showToolBar)&&!Ze(se.showMenuBar)&&!Ze(se.showAlgebraInput)&&!Ze(se.enableRightClick)&&(!se.appName||se.appName=="classic")?yt+="webSimple/":yt+="web3d/",qe(yt,!1)},qe=function(Xe,Ct){if(Xe.requirejs){nt=Xe;return}Xe.slice(-1)!=="/"&&(Xe+="/"),nt=Xe,Ct===null&&(Ct=Xe.indexOf("http")===-1),ye=Ct,Ye="web.nocache.js",He=!1;var tt=nt.split("/");tt.length>1&&(!Ct&&tt[tt.length-2]==="webSimple"?(Ye="webSimple.nocache.js",He=!0):xe.indexOf(tt[tt.length-2])>=0&&(Ye=tt[tt.length-2]+".nocache.js")),tt=Xe.split("/"),Ie=tt[tt.length-3],Ie.substr(0,4)==="test"?Ie=Ie.substr(4,1)+"."+Ie.substr(5,1):(Ie.substr(0,3)==="war"||Ie.substr(0,4)==="beta")&&(Ie="5.0");var Ht=parseFloat(Ie);Ht!==NaN&&Ht<5&&Xe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ht+" is deprecated. Using version latest instead."),he("5.0",Ct))},Tt=function(Xe,Ct){window.console&&window.console.log&&(!Ct||typeof Ct.showLogging=="undefined"||Ct.showLogging&&Ct.showLogging!=="false")&&console.log(Xe)};se.material_id!==void 0?ft(Mt):Mt();function Mt(){var Xe=cn;fe!==null?Xe=fe:parseFloat(Xe)<5&&(Xe="5.0"),he(Xe,!1),Oe!==null&&qe(Oe,ye),Ee=!0}return bn},GGBAppletUtils=function(){"use strict";function bn(){return window.GGBT_wsf_edit!==void 0}function cn(Ee,fe){fe!=1?(Ee.style.transformOrigin="0% 0% 0px",Ee.style.webkitTransformOrigin="0% 0% 0px",Ee.style.transform="scale("+fe+","+fe+")",Ee.style.webkitTransform="scale("+fe+","+fe+")",Ee.style.maxWidth="initial",Ee.querySelector(".ggb_preview")!==null&&(Ee.querySelector(".ggb_preview").style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ee.style.transform="none",Ee.style.webkitTransform="none")}function se(Ee,fe,Oe,Ce,Pe,oe){var nt=null;if(oe!=null&&oe!="")for(var ye=Ee.parentNode;ye!=null;)if((" "+ye.className+" ").indexOf(" "+oe+" ")>-1){nt=ye;break}else ye=ye.parentNode;var Ke=0,Ie=0,Ye=0,He=0,je=0,st=0,at=0;if(nt)Ke=nt.offsetWidth,Ie=Math.max(Ce?nt.offsetWidth:0,nt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),Ie=Math.min(window.innerHeight,document.documentElement.clientHeight),Ye=Ke):(Ke=window.innerWidth,Ie=window.innerHeight,Ye=window.innerWidth),Ee){var rt=Ee.getBoundingClientRect();rt.left>0&&rt.left<=Ke&&(Pe===void 0||!Pe)&&(document.dir==="rtl"?(je=Ke-rt.width-rt.left,st=Ye<=480?10:30):(st=rt.left,je=Ye<=480?10:30),He=st+je)}if(Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ke=Ee.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(He=40,at=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He=0,at=40)}}return Ee&&((Oe===void 0||!Oe)&&fe>0&&fe+He<Ke?Ke=fe:Ke-=He,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Oe===void 0||!Oe)&&(Ie-=at)),{width:Ke,height:Ie}}function re(Ee,fe,Oe,Ce,Pe){if(Ee.isScreenshoGenerator)return 1;var oe=Ce!==void 0&&Ce,nt=Ee.noScaleMargin!=null&&Ee.noScaleMargin,ye=function(ke){return ke&&ke!=="false"},Ke=ye(Ee.autoHeight),Ie=se(fe,Ee.width,Oe,Ke,oe&&window.GGBT_wsf_view||nt,Pe),Ye=parseInt(Ie.width),He=Ee.width,je=Ee.height;if(He===void 0){var st=fe.querySelector(".appletParameters");st&&(He=st.offsetWidth,je=st.offsetHeight)}var at=Ye/He,rt=oe?1:Ie.height/je;return Oe!==void 0&&!Oe&&(at=Math.min(1,at),rt=Math.min(1,rt)),Math.min(at,rt)}function Ne(Ee,fe,Oe){var Ce=1,Pe,oe=!1;if(Ee.hasOwnProperty("allowUpscale")&&(oe=Ee.allowUpscale),Ee.hasOwnProperty("scale")&&(Ce=parseFloat(Ee.scale),(isNaN(Ce)||Ce===null||Ce===0)&&(Ce=1),Ce>1&&(oe=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(Ee.hasOwnProperty("disableAutoScale")&&Ee.disableAutoScale))Pe=re(Ee,fe,oe,Oe,Ee.scaleContainerClass);else return Ce;return oe&&(!Ee.hasOwnProperty("scale")||Ce===1)?Pe:Math.min(Ce,Pe)}function Te(Ee){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),Ce=Ee.getBoundingClientRect(),Pe=(fe-Ce.width)/2,oe=(Oe-Ce.height)/2;oe<0&&(oe=0),Ee.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Pe<40?Ee.style.left="40px":Ee.style.left=Pe+"px",Ee.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?Ee.style.top="40px":Ee.style.top=oe+"px",Ee.style.left=Pe+"px")}function Fe(Ee,fe){var Oe=Ee.querySelector(".appletParameters");if(Oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==Oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ee)}if(Oe.parentElement&&/fullscreen/.test(Oe.parentElement.className))return;var Ce=Ne(fe,Ee);bn()&&Oe.setAttribute("data-param-scale",Ce);for(var Pe=null,oe=0;oe<Ee.childNodes.length;oe++)if(Ee.childNodes[oe].className!==void 0&&Ee.childNodes[oe].className.match(/^applet_scaler/)){Pe=Ee.childNodes[oe];break}if(Pe!==null&&Pe.querySelector(".noscale")!==null)return;var nt=fe.id!==void 0?fe.id:"ggbApplet",ye=window[nt];(ye==null||!ye.recalculateEnvironments)&&Pe!==null&&!Pe.className.match(/fullscreen/)&&(Pe.parentNode.style.transform="",!isNaN(Ce)&&Ce!==1?(Pe.parentNode.style.width=fe.width*Ce+"px",Pe.parentNode.style.height=fe.height*Ce+"px",cn(Pe,Ce)):(cn(Pe,1),Pe.parentNode.style.width=fe.width+"px",Pe.parentNode.style.height=fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Te(Ee),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Oe).parents(".content-added-content"))}}return{responsiveResize:Fe,isFlexibleWorksheetEditor:bn,positionCenter:Te,getScale:Ne,scaleElement:cn}}();__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 bn=n.location.search;return bn.indexOf(J)!=-1||bn.indexOf(K)!=-1}function q(bn,cn){}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(bn){var cn=s[L].bindings;s[L].bindings=function(){for(var se=cn?cn():{},re=bn[webModule.__softPermutationId],Ne=O;Ne<re.length;Ne++){var Te=re[Ne];se[Te[O]]=Te[P]}return se}};var t;function u(){return v(),t}function v(){if(!t){var bn=o.createElement(Q);if(bn.id=L,bn.style.cssText=R+S,bn.tabIndex=-1,o.body.appendChild(bn),t=bn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var cn=document.compatMode==U?V:W;t.write(cn+X),t.close()}}}function w(bn){function cn(re){function Ne(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Te=Ne();if(Te){re();return}function Fe(){if(!Te){if(!Ne())return;Te=!0,re(),o.removeEventListener&&o.removeEventListener(Z,Fe,!1),Ee&&clearInterval(Ee)}}o.addEventListener&&o.addEventListener(Z,Fe,!1);var Ee=setInterval(function(){Fe()},$)}function se(re){var Ne=u(),Te=Ne.body,Fe=Ne.createElement(_);Fe.language=ab,Fe.crossOrigin=W,Fe.src=re,webModule.__errFn&&(Fe.onerror=function(){webModule.__errFn(L,new Error(bb+re))}),Te.appendChild(Fe)}cn(function(){se(bn)})}webModule.__startLoadingFragment=function(bn){return C(bn)},webModule.__installRunAsyncCode=function(bn){var cn=u(),se=cn.body,re=cn.createElement(_);re.language=ab,re.text=bn,se.appendChild(re),se.removeChild(re)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(bn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bn){var cn=c[bn];return cn==null?null:cn},r=d,webModule.__errFn=e}function B(){function bn(Ee){var fe=Ee.lastIndexOf(rb);fe==-1&&(fe=Ee.length);var Oe=Ee.indexOf(sb);Oe==-1&&(Oe=Ee.length);var Ce=Ee.lastIndexOf(tb,Math.min(Oe,fe));return Ce>=O?Ee.substring(O,Ce+P):W}function cn(Ee){if(!Ee.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=Ee+vb,Ee=bn(fe.src)}return Ee}function se(){var Ee=__gwt_getMetaProperty(wb);return Ee!=null?Ee:W}function re(){for(var Ee=o.getElementsByTagName(_),fe=O;fe<Ee.length;++fe)if(Ee[fe].src.indexOf(xb)!=-1)return bn(Ee[fe].src);return W}function Ne(){var Ee=o.getElementsByTagName(yb);return Ee.length>O?Ee[Ee.length-P].href:W}function Te(){var Ee=o.location;return Ee.href==Ee.protocol+zb+Ee.host+Ee.pathname+Ee.search+Ee.hash}var Fe=se();return Fe==W&&(Fe=re()),Fe==W&&(Fe=Ne()),Fe==W&&Te()&&(Fe=bn(o.location.href)),Fe=cn(Fe),Fe}function C(bn){return bn.match(/^\//)||bn.match(/^[a-zA-Z]+:\/\//)?bn:webModule.__moduleBase+bn}function D(){var bn=[],cn=O,se=[],re=[];function Ne(Ee){var fe=re[Ee](),Oe=se[Ee];if(fe in Oe)return fe;var Ce=[];for(var Pe in Oe)Ce[Oe[Pe]]=Pe;throw r&&r(Ee,Ce,fe),null}if(__gwt_isKnownPropertyValue=function(Ee,fe){return fe in se[Ee]},webModule.__getPropMap=function(){var Ee={};for(var fe in se)se.hasOwnProperty(fe)&&(Ee[fe]=Ne(fe));return Ee},webModule.__computePropValue=Ne,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Te;try{Te=Cb;var Fe=Te.indexOf(Db);Fe!=-1&&(cn=parseInt(Te.substring(Fe+P),$),Te=Te.substring(O,Fe))}catch(Ee){}return webModule.__softPermutationId=cn,C(Te+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(bn,cn,se){"use strict";se.d(cn,{Ax:function(){return Fe},Ds:function(){return Ee},KI:function(){return Oe},SI:function(){return Te},f1:function(){return Ne}});var re=se(90524);function Ne(Ce){let Pe=!0;if(Ce.length>0){for(let oe=0;oe<Ce.length;oe++)if(Ce[oe].compile_success==0||!Ce[oe].compile_success){Pe=!1;break}}else Pe=!1;return Pe}function Te(Ce,Pe=""){let oe=[];for(let nt=0;nt<Ce.length;nt++){let ye=Ce[nt],Ke=Pe?`${Pe}/${ye.name}`:`${ye.name}`;oe.push({title:ye.name,type:ye.type,isLeaf:ye.type!=="tree",key:Ke})}return oe}function Fe(Ce,Pe,oe){for(let nt=0;nt<Ce.length;nt++){let ye=Ce[nt];if(ye.key===Pe){ye.children=oe;break}ye.children&&Fe(ye.children,Pe,oe)}return Ce}function Ee(Ce,Pe,oe){let nt;return function(){let ye=this,Ke=arguments,Ie=function(){nt=null,oe||Ce.apply(ye,Ke)},Ye=oe&&!nt;clearTimeout(nt),nt=setTimeout(Ie,Pe),Ye&&Ce.apply(ye,Ke)}}const fe=!0,Oe=re.Z.API_SERVER},6077:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return nt}});var re=se(59301),Ne={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Te=se(92310),Fe=se.n(Te),Ee=se(29787),fe=se(2859),Oe=se(82093),Ce=se(49661),Pe=(ye,Ke,Ie)=>new Promise((Ye,He)=>{var je=rt=>{try{at(Ie.next(rt))}catch(ke){He(ke)}},st=rt=>{try{at(Ie.throw(rt))}catch(ke){He(ke)}},at=rt=>rt.done?Ye(rt.value):Promise.resolve(rt.value).then(je,st);at((Ie=Ie.apply(ye,Ke)).next())}),nt=({data:ye,className:Ke,fullWidth:Ie,style:Ye={},onClose:He,onOk:je,showFullTools:st,noAssociationId:at})=>{const rt=(0,re.useRef)(null),ke=(0,re.useRef)(null),be=(0,re.useRef)(null),Ve=(0,re.useRef)(null),[Ge,ft]=(0,re.useState)(!1),[ge,Ae]=(0,re.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,re.useEffect)(()=>(be.current||(be.current=document.createElement("style"),document.head.appendChild(be.current)),ye!=null&&ye.visible?(document.body.setAttribute("data-custom","y-hidden"),be.current.innerHTML=" html { overflow-y: hidden; }",ye!=null&&ye.src&&ze()):(document.body.removeAttribute("data-custom"),be.current&&(document.head.removeChild(be.current),be.current=null)),()=>{document.body.removeAttribute("data-custom"),be.current&&(document.head.removeChild(be.current),be.current=null)}),[ye==null?void 0:ye.visible]);const ze=()=>Pe(void 0,null,function*(){ft(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Je=yield(0,Ce.ZJ)(ye==null?void 0:ye.src);rt.current.src="",rt.current.src=Je,rt.current.onload=function(){Re()},ft(!1),Ae("")}),Ze=Je=>Pe(void 0,null,function*(){ft(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Rt=yield(0,Oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ye.title,file:Je.dataUrl}});Rt!=null&&Rt.id&&!at?(yield(0,Oe.ZP)(`/api/attachments/${ye.id}/add_subitem.json`,{method:"post",body:{subitem_id:Rt==null?void 0:Rt.id,settings:JSON.stringify(Je.state)}})).status===0&&je():Rt!=null&&Rt.id&&je(Rt),ft(!1),Ae("")}),_e=()=>{const Je=document.querySelector('a[href="https://markerjs.com/"]');Je&&Je.parentNode&&(Je.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(ht=>{const mt=document.querySelector(ht.name);mt&&mt.setAttribute("title",ht.title)})},Re=()=>{ke.current=new fe.hP(rt.current),ke.current.targetRoot=Ve.current,ke.current.addEventListener("render",Ze),ke.current.addEventListener("beforeclose",He),st&&(ke.current.availableMarkerTypes=ke.current.ALL_MARKER_TYPES,ke.current.uiStyleSettings.redoButtonVisible=!0,ke.current.uiStyleSettings.notesButtonVisible=!0,ke.current.uiStyleSettings.zoomButtonVisible=!0,ke.current.uiStyleSettings.zoomOutButtonVisible=!0,ke.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ke.current.uiStyleSettings,ke.current.show(),ye!=null&&ye.snapshotData&&ke.current.restoreState(ye.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return re.createElement(re.Fragment,null,(ye==null?void 0:ye.visible)&&re.createElement(Ee.Z,{spinning:Ge,tip:ge,style:{position:"absolute",width:"100vw"}},re.createElement("div",{ref:Ve,className:Fe()(Ne.imageDimensions,Ke,Ie?Ne.fullWidth:""),style:Ye},re.createElement("img",{className:Ne.img,ref:rt}))))}},88615:function(bn,cn,se){"use strict";var re=se(59301),Ne=se(77019),Te=se(5269),Fe=se(20554),Ee=se(99571),fe=se(38394),Oe=se(21697),Ce=se(48136),Pe=se(59301);const oe=(0,re.forwardRef)(({callback:nt,showSaveButton:ye,value:Ke=""},Ie)=>{const Ye=(0,re.useRef)(),He=[{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 "}]}]}],je=[{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}`}]}]}],st=ke=>{Ye.current.setValue(Ye.current.getValue()+" "+ke.value+" ")},at=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Pe.createElement(Ne.Z,{className:Oe.Z.lists,gutter:[10,10]},He.map((ke,be)=>Pe.createElement(Te.Z,{flex:"110px",className:Oe.Z.item},Pe.createElement("div",null,Pe.createElement(fe.Z,{value:`$$${ke.value}$$`}),ke.name),Pe.createElement("div",{className:Oe.Z.children},ke.children.map((Ve,Ge)=>Pe.createElement("div",{key:Ge},Pe.createElement("h1",null,Ve.name),Pe.createElement(Ne.Z,{gutter:[10,10]},Ve.data.map((ft,ge)=>Pe.createElement(Te.Z,{key:ge,onClick:()=>st(ft),className:Oe.Z.diamond},Pe.createElement(fe.Z,{value:"`$$"+ft.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Pe.createElement(Ne.Z,{className:Oe.Z.lists,gutter:[10,10]},je.map((ke,be)=>Pe.createElement(Te.Z,{flex:"110px",className:Oe.Z.item},Pe.createElement("div",null,Pe.createElement(fe.Z,{value:"`$$"+ke.value+"$$`"}),ke.name),Pe.createElement("div",{className:Oe.Z.children},ke.children.map((Ve,Ge)=>Pe.createElement("div",{key:Ge},Ve.name&&Pe.createElement("h1",null,Ve.name),Pe.createElement(Ne.Z,{gutter:[10,10]},Ve.data.map((ft,ge)=>Pe.createElement(Te.Z,{key:ge,onClick:()=>st(ft),className:Oe.Z.diamond},Pe.createElement(fe.Z,{value:"`$$"+ft.value+"$$`"}))))))))))}],rt=()=>{var ke=document.createElement("div");ke.innerHTML=Ye.current.getValue();var be=ke.innerText;return nt&&nt(be),be};return(0,re.useImperativeHandle)(Ie,()=>({getData:rt})),Pe.createElement("div",{className:Oe.Z.mathWrap},Pe.createElement(Fe.default,{defaultActiveKey:"1",items:at}),Pe.createElement("math-field",{locale:"zh_cn",className:Oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Ye,style:{width:800,marginTop:30,fontSize:18}},Ke||""),ye&&Pe.createElement("div",{className:Oe.Z.button},Pe.createElement(Ee.ZP,{size:"large",onClick:rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});cn.Z=oe},57884:function(bn,cn,se){"use strict";var re=se(59301),Ne=se(93314),Te=se(99571),Fe=Object.defineProperty,Ee=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,oe=(Ie,Ye,He)=>Ye in Ie?Fe(Ie,Ye,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ie[Ye]=He,nt=(Ie,Ye)=>{for(var He in Ye||(Ye={}))Ce.call(Ye,He)&&oe(Ie,He,Ye[He]);if(Oe)for(var He of Oe(Ye))Pe.call(Ye,He)&&oe(Ie,He,Ye[He]);return Ie},ye=(Ie,Ye)=>Ee(Ie,fe(Ye));const Ke=({img:Ie,buttonProps:Ye={},styles:He={},customText:je,ButtonText:st,ButtonClick:at,Buttonclass:rt,ButtonTwo:ke,imgStyles:be,loading:Ve=!1,className:Ge=""})=>re.createElement("section",{className:`tc animated fadeIn ${Ge}`,style:nt({color:"#999",margin:"100px auto",visibility:Ve?"hidden":"visible"},He)},re.createElement("img",{src:Ie||Ne,style:ye(nt({},be),{pointerEvents:"none",userSelect:"none"})}),re.createElement("p",{className:"mt20 font14"},je||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),st&&re.createElement(Te.ZP,nt({className:rt,onClick:at},Ye),st),ke&&ke);cn.Z=Ke},2748:function(bn,cn,se){"use strict";se.d(cn,{Q:function(){return fe}});var re=se(59301),Ne=se(82326),Te=se(47889),Fe=se(71051),Ee=se(59301),fe=(Ce=>(Ce[Ce.Number=1]="Number",Ce[Ce.Percent=2]="Percent",Ce))(fe||{});const Oe=({value:Ce,onChange:Pe,disabled:oe,hidePercentOption:nt=!1,percentType:ye="select"})=>{const Ke=(0,re.useMemo)(()=>nt?1:2,[nt]),[Ie,Ye]=(0,re.useState)(Ke);console.log(Ie);const He=st=>Ce.type===1?`${st}\u5206`:`${st}%`,je=(0,re.useCallback)(st=>{if(Ie===1){const at=st.replace("\u5206","");return isNaN(parseInt(at,10))?0:at}else return st.replace("%","")},[Ie]);return(0,re.useEffect)(()=>{Ye(Ce.type)},[Ce]),Ee.createElement("div",{style:{display:"flex",alignItems:"center"}},ye=="select"&&Ee.createElement(Ne.default,{size:"large",onChange:st=>{Ye(st),Pe({type:st,inputValue:st===1?5:20})},value:Ie||Ke,style:{width:100},options:nt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:oe}),ye=="radio"&&Ee.createElement(Te.ZP.Group,{size:"large",onChange:st=>{const at=st.target.value;Ye(at),Pe({type:at,inputValue:at===1?5:20})},value:Ie||Ke,disabled:oe},!nt&&Ee.createElement(Te.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Ee.createElement(Te.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ye=="radio"&&Ee.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Ce.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Ee.createElement(Fe.Z,{size:"large",disabled:oe,value:Ce.inputValue,style:{width:"120px"},parser:je,addonAfter:Ce.type===1?"\u5206":"%",max:Ie===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:st=>{Pe({type:Ie,inputValue:st})}}),ye=="radio"&&Ce.type==2&&Ee.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};cn.Z=Oe},41550:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return rt}});var re=se(59301),Ne={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Te=se(99571),Fe=se(70557),Ee=se(51124),fe=se(25399),Oe=se(49661),Ce=se(72664),Pe=se(57884),oe=se(90524),nt=se(14794),ye=se(59301),Ke=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,je=(ke,be,Ve)=>be in ke?Ke(ke,be,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ke[be]=Ve,st=(ke,be)=>{for(var Ve in be||(be={}))Ye.call(be,Ve)&&je(ke,Ve,be[Ve]);if(Ie)for(var Ve of Ie(be))He.call(be,Ve)&&je(ke,Ve,be[Ve]);return ke},at=(ke,be,Ve)=>new Promise((Ge,ft)=>{var ge=Ze=>{try{ze(Ve.next(Ze))}catch(_e){ft(_e)}},Ae=Ze=>{try{ze(Ve.throw(Ze))}catch(_e){ft(_e)}},ze=Ze=>Ze.done?Ge(Ze.value):Promise.resolve(Ze.value).then(ge,Ae);ze((Ve=Ve.apply(ke,be)).next())}),rt=({editOffice:ke="view",data:be,issaver:Ve,onSaver:Ge,theme:ft,type:ge,filename:Ae,monacoEditor:ze,className:Ze,style:_e,close:Re,onClose:Je,hasMask:Rt,disabledDownload:ht,onImgDimensions:mt,showNodata:St,recordInfo:xe})=>{const[he,qe]=(0,re.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Tt,Mt]=(0,re.useState)(""),[Xe,Ct]=(0,re.useState)(),tt=window.ENV==="build"?"/react/build":"",Ht=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,yt=10*(1024*1024),Qe=(0,re.useRef)();be!=null&&be.startsWith("/api")&&ge!=="txt"&&(be=oe.Z.API_SERVER+be);const Bt=ee=>ee.substring(ee.lastIndexOf("/")+1).split(".").pop();Ae&&ze&&(ze.filename=Ae),(0,re.useEffect)(()=>{var ee,ne;const te=(ne=(ee=document.cookie)==null?void 0:ee.replace(/\s/g,""))==null?void 0:ne.split(";");te==null||te.map(ue=>{let me=ue.split("=");me[0]==="_educoder_session"&&Mt(me[1])})},[]),(0,re.useEffect)(()=>{ge==="office"&&(be.indexOf("bigfilescdn.")>-1||be.indexOf("bigfiles1")>-1?Ct({url:be,fileType:Bt(be),model:be.indexOf("model=edit")?"edit":"view"}):ce())},[ge,be]);function bt(ee){return at(this,null,function*(){ee.data.type==="pdfdata"&&(Ge(ee.data.data),window.removeEventListener("message",bt,!1)),console.log("mess---:",ee.data)})}const ce=()=>at(void 0,null,function*(){console.log("data:",be);let ee=be;be.startsWith("http")||(ee=location.origin+ee);let ne=new URL(ee).pathname.split("/").pop();const te=yield(0,Ce.gJ)({attachment_id:ne});te.url=Ht+te.url,Ct(te)}),ie=()=>{if(be.startsWith("http")||be.startsWith("blob:")){z();return}(0,Oe.Sv)(Ae||"educoder",be,Ae)},z=()=>{xe&&(0,nt.fc)({id:xe==null?void 0:xe.id,watch_type:1,course_id:xe==null?void 0:xe.course_id}),(0,Oe.Nd)(Ae||"educoder",decodeURIComponent(be))};return ye.createElement("div",{style:st({},_e||{}),className:`${Rt&&Ne.bgBlack} ${ge?Ne.wrp:"hide"}`},Re&&ye.createElement("div",{className:Ne.close,ref:Qe},!!mt&&ye.createElement(fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Qe.current},ye.createElement("span",{onClick:()=>{Je(),mt()}},ye.createElement("i",{className:"icon-yulanpizhu"}))),!ht&&ye.createElement(fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Qe.current},ye.createElement("span",{onClick:z},ye.createElement("i",{className:"icon-quxiaozhiding"}))),Ve&&ye.createElement(fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Qe.current},ye.createElement("span",{className:"",onClick:()=>{const ee=document.getElementById("pdfiframe");window.addEventListener("message",bt,!1),setTimeout(()=>{ee.contentWindow.postMessage("getData","*")},300)}},ye.createElement("i",{className:"icon-baocun"}))),ye.createElement(fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Qe.current},ye.createElement("span",{className:"",onClick:()=>{Je()}},ye.createElement("i",{className:"icon-guanbi1"})))),ye.createElement("div",{className:`${Ne[Ze]} ${Ze} ${Ne.monaco} ${ge==="txt"?"show":"hide"}`},ge==="txt"&&ye.createElement(ye.Fragment,null,ye.createElement(Ee.ZP,st({},ze)))),ge==="audio"&&ye.createElement("audio",{src:`${(be==null?void 0:be.indexOf("http://"))>-1||(be==null?void 0:be.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${be}`,autoPlay:!0}),ge==="video"&&ye.createElement(ye.Fragment,null,(be==null?void 0:be.indexOf("http"))>-1?ye.createElement("video",{controls:!0,src:`${be}`,autoPlay:!0}):ye.createElement("video",{controls:!0,src:`data:video/mp4;base64,${be}`,autoPlay:!0})),ge==="office"&&Xe&&ye.createElement("iframe",{src:`${tt}/office.html?key=${Xe.key}&url=${btoa(Xe.url)}&callbackUrl=${Ht+(Xe.callbackUrl||"")}&fileType=${Xe.fileType}&title=${Xe.title||""}&model=${ke}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!ht}`}),ge==="html"&&ye.createElement("iframe",{src:be+"&disposition=inline"}),ge==="pdf"&&ye.createElement("iframe",{id:"pdfiframe",src:`${tt}/js/pdfview/index.html?filename=${Ae||"educoder.pdf"}&url=${encodeURIComponent(be)}&disabledDownload=${!!ht}&model=${ke}`}),ge==="image"&&ye.createElement("img",{src:`${(be==null?void 0:be.indexOf("http://"))>-1||(be==null?void 0:be.indexOf("https://"))>-1?"":"data:image/png;base64,"}${be}`}),(ge==="other"||ge==="download")&&ye.createElement(ye.Fragment,null,St?ye.createElement(Pe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ye.createElement(Te.ZP,{icon:ye.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ie,disabled:ht},"\u4E0B\u8F7D")}):ye.createElement(Te.ZP,{type:"primary",size:"middle",onClick:ie,disabled:ht},ye.createElement(Fe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ge==="flowChart"&&ye.createElement("div",{className:"embed"},ye.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${be||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},38394:function(bn,cn,se){"use strict";se.d(cn,{z:function(){return ze},Z:function(){return Ze}});var re=se(59301),Ne=se(88831),Te=se(90290),Fe=se(64018),Ee=se(81098),fe=se(90524),Oe=se(49661),Ce=se(15342),Pe=se(77736),oe=se(99571),nt=se(1012),ye=se(41550),Ke=se(59301),Ye=({html:_e})=>{const Re=(0,re.useRef)(null),Je=(0,re.useRef)(null),Rt=`.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,re.useEffect)(()=>{const ht=Re.current.attachShadow({mode:"open"});Je.current=document.createElement("div"),Je.current.className="markdown-body",Je.current.innerHTML=_e,ht.appendChild(Je.current);const mt=document.createElement("style");return mt.textContent=Rt,ht.appendChild(mt),()=>{ht.innerHTML=""}},[]),(0,re.useEffect)(()=>{Je.current&&(Je.current.innerHTML=_e)},[_e]),Ke.createElement("div",{ref:Re})};function He(_e){const Re=["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"],Je=new RegExp(`\\b(${Re.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return _e.replace(Je,"").trim()}var je={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},st=Object.defineProperty,at=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,be=(_e,Re,Je)=>Re in _e?st(_e,Re,{enumerable:!0,configurable:!0,writable:!0,value:Je}):_e[Re]=Je,Ve=(_e,Re)=>{for(var Je in Re||(Re={}))rt.call(Re,Je)&&be(_e,Je,Re[Je]);if(at)for(var Je of at(Re))ke.call(Re,Je)&&be(_e,Je,Re[Je]);return _e};const Ge="@\u2581\u2581@",ft="@\u2581@",ge=/<pre[^>]*>/g;function Ae(_e){let Re=document.createElement("div");return Re.innerHTML=_e,Re.childNodes.length===0?"":Re.childNodes[0].nodeValue}const ze=(_e,Re)=>{_e=_e||"";const Je=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Rt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ht=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,mt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Re?_e.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Je,(St,xe,he,qe,Tt,Mt,Xe)=>{const Ct=xe||qe||Mt,tt=he||Tt||Xe||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ct+tt+"&t="+(0,Oe.Jn)(Ct,Date.now())+(St.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(_e=_e.replace(mt,(St,xe,he,qe,Tt,Mt,Xe)=>{const Ct=xe||qe||Mt,tt=he||Tt||Xe||"?";return fe.Z.API_SERVER+"/attachments/download/"+Ct+tt+"&t="+(0,Oe.Jn)(Ct,Date.now())+(St.indexOf(")")>-1?")":"&")}).replace(Je,(St,xe,he,qe,Tt,Mt,Xe)=>{const Ct=xe||qe||Mt,tt=he||Tt||Xe||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ct+tt+"&t="+(0,Oe.Jn)(Ct,Date.now())+(St.indexOf(")")>-1?")":"&")}).replace(Rt,(St,xe,he,qe,Tt)=>{const Mt=xe||qe,Xe=he||Tt||"";return'"'+fe.Z.API_SERVER+"/api/attachments/"+Mt+Xe+Mt+Xe+"&t="+(0,Oe.Jn)(Mt,Date.now())}).replace(ht,(St,xe,he,qe,Tt)=>{const Mt=xe||qe,Xe=he||Tt||"";return"("+fe.Z.API_SERVER+"/files/uploads/"+Mt+Xe+Mt+Xe+"&t="+(0,Oe.Jn)(Mt,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,`
|
|
`),_e)};var Ze=({value:_e="",edit:Re=!1,className:Je,showTextOnly:Rt,showLines:ht,style:mt={},stylesPrev:St={},highlightKeywords:xe,showProgramFill:he,isProgramFill:qe,disabledFill:Tt=!1,programFillValue:Mt,openEditor:Xe=()=>{},onFillChange:Ct=We=>{},onFillBlur:tt=()=>{},onFillFocus:Ht=()=>{}})=>{let We=He(String(_e||""));const yt=(0,re.useRef)(),Qe=(0,re.useRef)(),[Bt,bt]=(0,re.useState)(""),[ce,ie]=(0,re.useState)("office"),[z,ee]=(0,re.useState)([]),ne=(0,re.useRef)("a"+(0,nt.Z)()),te={},ue=ct=>/<style[\s\S]*?>/i.test(ct||""),me=(ct,Ut,_t)=>{const gn=document.createElement(ct===ft?"input":"textarea");gn.style.width="100%",gn.style.height=ct===ft?"40px":"151px",gn.rows=5,gn.spellcheck=!1,gn.name="edu-program-fill",gn.placeholder="\u8BF7\u8F93\u5165",gn.dataset.id=Ut;const Mn=Object.keys(te).length;return te[Mn]=gn,`<span class="edu-program-fill-wrap ${ct===ft?"":"show"}" style="width:${ct===ft?"600px":"100%"}" title=${_t||""}><span>${gn.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Se(ct){return ct=ct.replace(/!\[.*?\]\(.*?\)/g,""),ct=ct.replace(/\[.*?\]\(.*?\)/g,""),ct=ct.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ct=ct.replace(/<embed.*?>/g,""),ct=ct.replace(/<img.*?>/g,""),ct=ct.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ct=ct.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ct=ct.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ct=ct.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ct}const Dt=ct=>!Rt&&ue(We)?ct:ct.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ut,_t){let gn=_t.replace(/(\n|\r)/g,"").split("}"),Mn=[];return gn.map(jn=>{jn!=""&&Mn.push(`.${ne.current} ${jn}`)}),`<style>${Mn.join("}")}</style>`}),Ue=(0,re.useMemo)(()=>{try{const gn=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Mn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,jn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,yn=/\(\/attachments\/download\//g;We=We.replace(yn,"("+fe.Z.API_SERVER+"/attachments/download/").replace(gn,"("+fe.Z.API_SERVER+"/api/attachments/").replace(Mn,'"'+fe.Z.API_SERVER+"/api/attachments/").replace(jn,'"'+fe.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,`
|
|
`),yt.current.style.display="none"}catch(gn){}if(he){let gn=-1;return We=We.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Mn,jn,yn){var Xn;return++gn,me(Mn,gn,(Xn=Mt==null?void 0:Mt[gn])==null?void 0:Xn.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Dt(We||"")}</pre>`}let ct=Dt(We);ct=(0,Te.ZP)(ct);const Ut=(0,Te.ez)();We.match(/\[TOC\]/)&&(ct=ct.replace("<p>[TOC]</p>",(0,Te.Qv)()),(0,Te.Iy)()),ct=ct.replace(/(__special_katext_id_\d+__)/g,(gn,Mn)=>{const{type:jn,expression:yn}=Ut[Mn];return(0,Ce.renderToString)(Ae(yn)||"",{displayMode:jn==="block",throwOnError:!1,output:"html"})}),ct=ct.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Te.AL)();const _t=document.createElement("div");if(_t.innerHTML=ct,Rt)return _t.innerText;if(xe){const gn=xe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return zt(_t,gn),_t.innerHTML}return setTimeout(()=>on(),500),_t.innerHTML},[We,xe]);(0,re.useEffect)(()=>{tn.current&&tn.current.querySelectorAll(["input","textarea"]).forEach(Ut=>{Ut.oninput=$e,Ut.onblur=ot,Ut.onfocus=vt})},[z]),(0,re.useEffect)(()=>{var ct,Ut,_t,gn,Mn;if(Mt!=null&&Mt.length)try{const jn=tn.current.querySelectorAll(".edu-program-fill-score"),yn=tn.current.querySelectorAll('[name="edu-program-fill"]');for(const[Xn,Qn]of yn.entries())Qn.value=((ct=Mt==null?void 0:Mt[Xn])==null?void 0:ct.value)||"",((Ut=Mt==null?void 0:Mt[Xn])==null?void 0:Ut.type)==="warning"?Qn.className="program-fill-warning":((_t=Mt==null?void 0:Mt[Xn])==null?void 0:_t.type)==="success"?Qn.className="program-fill-success":Qn.className="";for(const[Xn,Qn]of jn.entries())Qn.innerHTML=(gn=Mt==null?void 0:Mt[Xn])!=null&&gn.score?`${(Mn=Mt==null?void 0:Mt[Xn])==null?void 0:Mn.score}\u5206`:"";ee(Mt)}catch(jn){console.log(jn,"error")}},[Mt]);const $e=ct=>{z[ct.target.dataset.id]=z[ct.target.dataset.id]||{},z[ct.target.dataset.id].value=ct.target.value,ee([...z]),Ct(z,ct.target.dataset.id)},ot=ct=>{z[ct.target.dataset.id]=z[ct.target.dataset.id]||{},z[ct.target.dataset.id].value=ct.target.value,ee([...z]),tt(z,ct.target.dataset.id)},vt=ct=>{z[ct.target.dataset.id]=z[ct.target.dataset.id]||{},z[ct.target.dataset.id].value=ct.target.value,ee([...z]),Ht(z,ct.target.dataset.id)};function zt(ct,Ut){return ct.childNodes.forEach(_t=>{var gn;if(_t.childNodes.length>0)zt(_t,Ut);else if(_t.nodeName!=="IMG")if(_t.innerHTML)_t.innerHTML=(gn=_t.innerHTML)==null?void 0:gn.replace(new RegExp(Ut,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Mn=document.createElement("span");Mn.innerHTML=_t.textContent.replace(new RegExp(Ut,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),_t.replaceWith(Mn)}})}const tn=(0,re.useRef)();Te.jb.WebkitLineClamp=ht,ht&&(mt=Ve(Ve({},mt),Te.jb));function jt(ct){let Ut=ct.target;if(Ut.tagName.toUpperCase()==="A"){let _t=Ut.getAttribute("href");if(_t.indexOf("office")>-1)ct.preventDefault(),bt(_t),ie("office");else if(_t.indexOf("application/pdf")>-1)ct.preventDefault(),bt(_t),ie("pdf");else if(_t.indexOf("text/html")>-1)ct.preventDefault(),bt(_t),ie("html");else if(_t.startsWith("#")){ct.preventDefault();let gn=document.getElementById(_t.replace("#",""));gn&&gn.scrollIntoView(!0)}}}const on=()=>{var ct;const Ut=(ct=tn.current)==null?void 0:ct.querySelectorAll("video");Ut==null||Ut.forEach(_t=>{if(_t.oncontextmenu=()=>!1,_t.src.indexOf(".m3u8")>-1&&!_t.canPlayType("application/vnd.apple.mpegurl")){if(Ee.ZP.isSupported()){var gn=new Ee.ZP;gn.loadSource(_t.src),gn.attachMedia(_t)}}})};(0,re.useEffect)(()=>{if(tn.current&&Ue&&Ue.match(ge)&&window.PR.prettyPrint(),tn.current)return tn.current.addEventListener("click",jt),()=>{var ct;(ct=tn.current)==null||ct.removeEventListener("click",jt),(0,Te.AL)(),(0,Te.Iy)()}},[Ue,tn.current,jt]);const Jt=ct=>{ct.target.nodeName==="IMG"&&ct.target.className.indexOf("draw-flowchart")>-1?(yt.current.style.zIndex=1,yt.current.style.display="flex",yt.current.style.width=ct.target.clientWidth+"px",yt.current.style.height=ct.target.clientHeight+"px",yt.current.style.top=ct.target.offsetTop+"px",yt.current.style.left=ct.target.offsetLeft+"px",ct.target.id&&(Qe.current=ct.target.id)):yt.current.style.display="none"},Pt=()=>{yt.current.style.display="none"};return(0,re.useEffect)(()=>{var ct;const Ut=_t=>{_t.preventDefault(),_t.clipboardData.setData("text",window.getSelection().toString())};return(ct=tn.current)==null||ct.addEventListener("copy",Ut),()=>{var _t;(_t=tn.current)==null||_t.removeEventListener("copy",Ut)}},[tn.current]),re.createElement("div",{style:{position:"relative"},onMouseLeave:Pt},Rt&&re.createElement("div",{ref:tn,className:`${je.mdBody} `},Ue),!Rt&&!ue(Ue)&&re.createElement("div",{ref:tn,style:Ve({},mt),onMouseOver:Jt,className:`${Je||""} ${Tt?"disabled-fill":""} markdown-body ${je.mdBody} ${ne.current}`,dangerouslySetInnerHTML:{__html:Ue}}),!Rt&&ue(Ue)&&re.createElement(Ye,{html:Ue}),re.createElement("div",{ref:yt,className:`${je.button} ${Re?"":je.previewFlowChart}`},re.createElement(Pe.Z,null,re.createElement(oe.ZP,{onClick:()=>{Re?Xe(Qe.current):(bt(Qe.current),ie("flowChart"))}},Re?"\u7F16\u8F91":"\u9884\u89C8"))),re.createElement(ye.Z,{close:!0,data:Bt,type:Bt!=null&&Bt.length?ce:"",style:Ve({},St),onClose:()=>bt("")}))}},6681:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ce}});var re=se(59301),Ne={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Te=se(62957),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",fe=(Pe,oe,nt)=>new Promise((ye,Ke)=>{var Ie=je=>{try{He(nt.next(je))}catch(st){Ke(st)}},Ye=je=>{try{He(nt.throw(je))}catch(st){Ke(st)}},He=je=>je.done?ye(je.value):Promise.resolve(je.value).then(Ie,Ye);He((nt=nt.apply(Pe,oe)).next())}),Ce=({type:Pe,resdata:oe,onok:nt,oktext:ye,okloading:Ke})=>{const[Ie,Ye]=(0,re.useState)(!1),{can_copy_list:He,can_copy_num:je,challenge_type:st,course_data_list:at,no_copy_list:rt,no_copy_num:ke,no_use_list:be,no_use_num:Ve,repeat_shixun_num:Ge,student_count:ft,total_num:ge,use_num:Ae}=oe;let ze=je>0||Pe==="exercise";(0,re.useEffect)(()=>{(oe==null?void 0:oe.student_count)>0&&Ye(!0)},[oe]),console.log("---11",Ke),(0,re.useEffect)(()=>{Ke||Ye(!1)},[Ke]);const Ze=()=>{if(Pe==="exercise"&&st===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Pe==="exercise"&&st===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="shixun"&&st===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="shixun"&&st===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="subject"&&st===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="subject"&&st===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",re.createElement("span",{className:Ne.orangeColor},ft)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",re.createElement("span",{className:Ne.orangeColor},Ae)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="exercisepush")return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Pe==="shixunpush"&&st===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Pe==="shixunpush"&&st===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},ft),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",re.createElement("span",{className:Ne.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",re.createElement("span",{className:Ne.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},_e=()=>{if(Pe==="exercise"||Pe==="subject"||Pe==="exercisepush"||Pe==="shixunpush")return re.createElement("div",{style:{marginTop:20}},ke>0&&re.createElement("div",null,re.createElement("span",{className:Ne.flex},re.createElement("img",{src:Ee,style:{width:14}}),re.createElement("span",{className:Ne.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),re.createElement("div",{className:Ne.statusbody},Pe==="exercise"&&re.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",re.createElement("span",{className:Ne.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Pe==="subject"||Pe==="exercisepush")&&re.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&re.createElement("span",{className:Ne.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Pe==="shixunpush"&&re.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&re.createElement("span",{className:Ne.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),re.createElement("div",null,rt==null?void 0:rt.map((Re,Je)=>re.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},"\u300A",Re==null?void 0:Re.name,"\u300B",Je+1!==ke&&"\u3001"))))),je>0&&re.createElement("div",{style:{marginTop:20}},re.createElement("span",{className:Ne.flex},re.createElement("img",{src:Fe,style:{width:14}}),re.createElement("span",{className:Ne.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),re.createElement("div",{className:Ne.statusbody},Pe==="exercise"&&re.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Pe==="subject"||Pe==="exercisepush")&&re.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Pe==="shixunpush"&&re.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),re.createElement("div",null,He==null?void 0:He.map((Re,Je)=>re.createElement("a",{href:`/shixuns/${Re.identifier}/challenges`,target:"_blank"},"\u300A",Re==null?void 0:Re.name,"\u300B",Je+1!==je&&"\u3001"))))));if(Pe==="shixun")return re.createElement("div",{style:{marginTop:20}},je>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return re.createElement(Te.default,{open:Ie,onCancel:()=>{Ye(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ze&&"none"}},zIndex:1003,confirmLoading:Ke,okText:ze?ye:"\u6211\u77E5\u9053\u4E86",onOk:()=>fe(void 0,null,function*(){ze?yield nt([...He,...be]):Ye(!1)})},re.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ze(),_e()))}},44905:function(bn,cn,se){"use strict";se.d(cn,{h:function(){return ke}});var re=se(59301),Ne=se(82326),Te=se(28284),Fe=se(99571),Ee=se(89780),fe=se.n(Ee),Oe=se(66543),Ce=se(59598),Pe=Object.defineProperty,oe=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ye=(be,Ve,Ge)=>Ve in be?Pe(be,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):be[Ve]=Ge,He=(be,Ve)=>{for(var Ge in Ve||(Ve={}))Ke.call(Ve,Ge)&&Ye(be,Ge,Ve[Ge]);if(ye)for(var Ge of ye(Ve))Ie.call(Ve,Ge)&&Ye(be,Ge,Ve[Ge]);return be},je=(be,Ve)=>oe(be,nt(Ve));const st=Ne.default.Option,at={labelCol:{span:4},wrapperCol:{span:20}},rt={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"]};cn.Z=({callback:be,onCancel:Ve})=>{const[Ge,ft]=(0,re.useState)("python");function ge(ze){ft(rt[ze][1])}function Ae(ze){be(ze)}return re.createElement(Te.default,je(He({},at),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),re.createElement(Te.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},re.createElement(Ne.default,{getPopupContainer:ze=>ze.parentNode,onChange:ge},Object.keys(rt).map(ze=>re.createElement(st,{key:ze,value:ze},rt[ze][0])))),re.createElement(Te.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},re.createElement(ke,{mode:Ge})),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Fe.ZP,{type:"ghost",onClick:Ve},"\u53D6\u6D88")))};function ke({value:be,onChange:Ve,mode:Ge,options:ft={}}){const ge=(0,re.useRef)(),[Ae,ze]=(0,re.useState)();return(0,re.useEffect)(()=>{if(Ae){let Ze=function(_e){const Re=_e.getValue();Ve&&Ve(Re)};return Ae.on("change",Ze),()=>{Ae.off("change",Ze)}}},[Ae,Ve]),(0,re.useEffect)(()=>{Ae&&Ae.setOption("mode",Ge)},[Ae,Ge]),(0,re.useEffect)(()=>{Ae&&(be!==Ae.getValue()||be==="")&&setTimeout(()=>{Ae.setValue(be||"")},300)},[Ae,be]),(0,re.useEffect)(()=>{if(ge.current&&!Ae){const Ze=fe().fromTextArea(ge.current,He({mode:Ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ft));ze(Ze)}},[ge.current,Ae]),re.createElement("div",{className:"my-codemirror-container"},re.createElement("textarea",{ref:ge}))}},2978:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Qt}});var re=se(59301),Ne=se(89780),Te=se.n(Ne),Fe=se(76374),Ee=se(66543),fe=se(6313),Oe=se(25717),Ce=se(99498),Pe=se(25419),oe=se(67549),nt=se(38394),ye=({value:It="",className:Nt,showTextOnly:kt,showLines:mn,style:_n={}})=>{const Yn=(0,re.useMemo)(()=>"",[It]);return re.createElement(re.Fragment,null,re.createElement("div",{dangerouslySetInnerHTML:{__html:Yn}}))},Ke=Object.defineProperty,Ie=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,at=(It,Nt,kt)=>Nt in It?Ke(It,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):It[Nt]=kt,rt=(It,Nt)=>{for(var kt in Nt||(Nt={}))je.call(Nt,kt)&&at(It,kt,Nt[kt]);if(He)for(var kt of He(Nt))st.call(Nt,kt)&&at(It,kt,Nt[kt]);return It},ke=(It,Nt)=>Ie(It,Ye(Nt));let be=[{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 Ve({onActionCallback:It,title:Nt,icon:kt,actionName:mn,className:_n="",children:Yn}){function Hn(){It(mn)}return re.createElement("a",{title:Nt,className:_n,onClick:Hn},re.createElement("i",{className:`${kt}`}),Yn)}var Ge=({watch:It,showNullButton:Nt,showNullProgramButton:kt,onActionCallback:mn,fullScreen:_n,insertTemp:Yn,hidetoolBar:Hn,extraUse:rr})=>{const fr=[...be,{title:`${It?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${It?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!Hn&&fr.map((dr,Cr)=>re.createElement("li",{key:Cr},dr.actionName?re.createElement(Ve,ke(rt({},dr),{onActionCallback:mn})):re.createElement("span",{className:"v-line"}))),Nt?re.createElement("li",null,re.createElement(Ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:mn},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,kt?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(Ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:mn},re.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(Ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:mn},re.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Yn&&re.createElement("li",null,re.createElement(Ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Yn}`,onActionCallback:mn},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),rr&&re.createElement("li",null,rr),re.createElement("li",{className:"btn-full-screen"},re.createElement(Ve,{icon:`${_n?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:_n?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:mn})))},ft=se(75790),ge=se(28284),Ae=se(37568),ze=se(99571),Ze=Object.defineProperty,_e=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,mt=(It,Nt,kt)=>Nt in It?Ze(It,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):It[Nt]=kt,St=(It,Nt)=>{for(var kt in Nt||(Nt={}))Rt.call(Nt,kt)&&mt(It,kt,Nt[kt]);if(Je)for(var kt of Je(Nt))ht.call(Nt,kt)&&mt(It,kt,Nt[kt]);return It},xe=(It,Nt)=>_e(It,Re(Nt));const he={labelCol:{span:4},wrapperCol:{span:20}};var qe=({callback:It,onCancel:Nt})=>{function kt(mn){It(mn)}return re.createElement(ge.default,xe(St({},he),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:kt,style:{width:500}}),re.createElement(ge.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},re.createElement(Ae.default,null)),re.createElement(ge.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},re.createElement(Ae.default,null)),re.createElement("div",{className:"flex-container flex-end"},re.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(ze.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},Tt=se(44905),Mt=se(45596),Xe=se(62957),Ct=se(77019),tt=se(6077),Ht=se(59301),We=({callback:It,onCancel:Nt})=>{const kt=document.createElement("canvas"),mn=kt.getContext("2d");kt.width=1e3,kt.height=800,mn.fillStyle="#ffffff",mn.fillRect(0,0,kt.width,kt.height);const _n=kt.toDataURL("image/png");return Ht.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ht.createElement(Ct.Z,{style:{height:"100vh"}},Ht.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:_n,visible:!0,title:String(Date.now())},onOk:Yn=>{It({src:Yn.url})},onClose:Nt})))},yt=se(30641),Qe=se(5269),Bt=se(6767),bt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ce=se(59301),z=(0,re.forwardRef)(({onCancel:It,editImgId:Nt,callback:kt},mn)=>{let _n=(0,re.useRef)(),Yn=(0,re.useRef)(),Hn=(0,re.useRef)(),rr=(0,re.useRef)(!1);const fr=(0,re.useRef)(!1);console.log("ref:",mn);const[dr,Cr]=(0,re.useState)(0),[Tr,Ln]=(0,re.useState)("100vh");return(0,re.useEffect)(()=>{Cr(1)},[]),(0,re.useImperativeHandle)(mn,()=>({setHeight:Ln})),ce.createElement("div",{ref:fr,className:"body-overflow-initial"},ce.createElement(yt.Z,{width:"100vw",height:Tr,footer:null,closable:!0,placement:"bottom",open:!!dr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${bt.drawerWrap}`,onClose:()=>{window.saveDrawData($t=>{kt({src:`/api/attachments/${$t}`,id:$t})})},title:ce.createElement(Ct.Z,{align:"middle"},ce.createElement(Qe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Qe.Z,{onClick:()=>{Ln(Tr==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(Qe.Z,{onClick:()=>{window.saveDrawData($t=>{if($t===null){Bt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Bt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),kt({src:`/api/attachments/${$t}`,id:$t,disabledClose:!0})})}},ce.createElement(ze.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Nt||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Yn})))}),ee=se(90524),ne=se(47889),te=se(71051);const ue=ne.ZP.Group,me={margin:"0 8px"};var Se=({callback:It,onCancel:Nt})=>{function kt(mn){It(mn)}return re.createElement(ge.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:kt},re.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},re.createElement("span",{style:me},"\u5355\u5143\u683C\u6570\uFF1A"),re.createElement("span",{style:me},"\u884C\u6570"),re.createElement(ge.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},re.createElement(te.Z,null)),re.createElement("span",{style:me},"\u5217\u6570"),re.createElement(ge.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},re.createElement(te.Z,null))),re.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},re.createElement("span",{style:me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),re.createElement(ge.default.Item,{name:"align"},re.createElement(ue,null,re.createElement(ne.ZP,{value:"default"},re.createElement("i",{className:"fa fa-align-justify"})),re.createElement(ne.ZP,{value:"left"},re.createElement("i",{className:"fa fa-align-left"})),re.createElement(ne.ZP,{value:"center"},re.createElement("i",{className:"fa fa-align-center"})),re.createElement(ne.ZP,{value:"right"},re.createElement("i",{className:"fa fa-align-right"}))))),re.createElement("div",{className:"flex-container flex-end"},re.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(ze.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},Dt=se(71411),Ue=se(11081),$e=se.n(Ue),vt=(0,re.forwardRef)(({use3d:It,width:Nt,height:kt,callback:mn,showSaveButton:_n},Yn)=>{const Hn=(0,re.useRef)(),rr=(0,re.useRef)(),[fr,dr]=(0,re.useState)(!1),Cr=(0,re.useRef)({id:Hn,appName:"graphing",width:Nt||1e3,height:kt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,re.useEffect)(()=>{rr.current=new($e())(Cr.current,!0),window.onload=function(){rr.current.inject("applet_container")}},[]);const Tr=()=>{var Ln=window.ggbApplet.getPNGBase64(1,!0,72);return mn&&mn(Ln),Ln};return(0,re.useEffect)(()=>{Cr.current.appName=fr?"3D":"graphing",rr.current.inject("applet_container")},[fr]),(0,re.useEffect)(()=>{dr(It)},[It]),(0,re.useImperativeHandle)(Yn,()=>({getImgData:Tr})),re.createElement(re.Fragment,null,re.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Hn}),re.createElement(Ct.Z,{align:"middle"},re.createElement(Qe.Z,{flex:1},re.createElement(Dt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:fr,onChange:Ln=>dr(Ln)})),re.createElement(Qe.Z,null,re.createElement(ze.ZP,{size:"large",onClick:Tr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),zt=se(88615);const tn="link",jt="upload-image",on="add-flowchart",Jt="draw-image",Pt="add-flowchart",ct="code-block",Ut="add-table",_t="------------",gn={default:_t,left:`:${_t}`,center:`:${_t}:`,right:`${_t}:`};var Mn=se(17904);function jn(){}let yn=0;const Xn=1e4,Qn="\u2581",cr="@\u2581\u2581@",Br="@\u2581@",ar=`
|
|
**\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`,Lr=["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 Er(It){return/^\d+$/.test(It)?`${It}px`:It}const Ir=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Or={[Ir+"-B"]:"bold",[Ir+"-I"]:"italic"},Ft={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[ct]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[jt]:"\u6DFB\u52A0\u56FE\u7247",[Jt]:"\u6DFB\u52A0\u753B\u56FE",[on]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ut]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Qt=({defaultValue:It="",onChange:Nt,width:kt="100%",height:mn=400,miniToolbar:_n=!1,isFocus:Yn=!1,watch:Hn,insertTemp:rr,mode:fr="markdown",id:dr="markdown-editor-id",showResizeBar:Cr=!1,noStorage:Tr=!1,showNullButton:Ln=!1,showNullProgramButton:$t=!1,hidetoolBar:$n=!1,fullScreen:Zr=!1,onBlur:Rr,onCMBeforeChange:dt,onFullScreen:xt,className:Rn="",disablePaste:En=!1,disabled:Lt=!1,disabledFill:Sn=!1,placeholder:Zn="",values:zn="",extraUse:ir})=>{const[Kt,er]=(0,re.useState)(null),[Dn,Wr]=(0,re.useState)(It),[qn,Pr]=(0,re.useState)(Hn),[Nr,jr]=(0,re.useState)(Zr),[Vr,li]=(0,re.useState)(""),[Di,fi]=(0,re.useState)(0),[Li,ei]=(0,re.useState)(mn),[Mi,Wi]=(0,re.useState)(!1),[Fi,Ri]=(0,re.useState)(0),[Hi,Ti]=(0,re.useState)(0),ci=(0,re.useRef)(),ji=(0,re.useRef)(),Oi=(0,re.useRef)(),wr=(0,re.useRef)(),Yr=(0,re.useRef)(),si=(0,re.useRef)();(0,re.useEffect)(()=>{const At=window.scrollY||window.pageYOffset;Wr(zn),Kt==null||Kt.setValue(zn),window.scrollTo(0,At)},[zn]),(0,re.useEffect)(()=>{xt==null||xt(Nr)},[Nr]),(0,re.useEffect)(()=>{if(ci.current){let At=function(Wt,sn){var le;if(En){sn.preventDefault();return}const De=sn.clipboardData;if(De){const Be=De.types.toString(),Me=De.items;if(Be==="Files"||De.types.indexOf("Files")>-1){if(sn.preventDefault(),fr=="stex")return;try{let Le=Me[1];((le=Me[0])==null?void 0:le.kind)==="file"&&(Le=Me[0]);const it=Le.getAsFile(),ut=it.name.split(".").pop();(0,Mt.I)(it,wt=>{var nn,rn,Et;wt.id?((nn=it==null?void 0:it.type)==null?void 0:nn.indexOf("image"))>-1?gt.replaceSelection(`<img width="100%" src="/api/attachments/${wt.id}?type=${wt.content_type})" alt="" />`):((rn=it==null?void 0:it.type)==null?void 0:rn.indexOf("video"))>-1?gt.replaceSelection(`<video width="100%" controls src="/api/attachments/${wt.id}"></video>`):((Et=it==null?void 0:it.type)==null?void 0:Et.indexOf("pdf"))>-1?gt.replaceSelection(`<a href="/api/attachments/${wt.id}?type=${it.type}&disposition=inline" target="_blank">${it.name}</a>`):Lr.includes(ut)?gt.replaceSelection(`<a href="/api/attachments/${wt.id}?type=office&disposition=inline" target="_blank">${it.name}</a>`):gt.replaceSelection(`[${it.name}](/api/attachments/${wt.id}?type=${wt.content_type})`):(wt==null?void 0:wt.status)===401&&(document.location.href="/user/login")})}catch(Le){Bt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const gt=Te().fromTextArea(ci.current,{mode:fr,lineNumbers:!_n,lineWrapping:!0,value:It,autoCloseTags:!0,autoCloseBrackets:!0});return gt.on("keyup",function(Wt,sn){sn.keyCode===8&&(Wt.getValue()==""?gt.setOption("placeholder",Zn):gt.setOption("placeholder",null))}),gt.on("keydown",function(Wt,sn){if(sn.keyCode===8){var le=xi(Wt);le&&sn.preventDefault()}}),Yn&>.focus(),gt.on("paste",At),Lt&>.on("beforeChange",function(Wt,sn){(sn.origin==="paste"||sn.origin==="+input")&&sn.cancel()}),er(gt),()=>{gt.off("paste",At)}}},[]);const wi=(0,re.useCallback)(()=>{if(ji.current)try{}catch(At){console.log(At,"---- to set md editor body height")}},[Li,ji,Nr]);(0,re.useEffect)(()=>{function At(){let gt=new Fe.Z(Wt=>{for(let sn of Wt)(sn.target.offsetHeight>0||sn.target.offsetWidth>0)&&(wi(),Kt.setSize("100%","100%"),Kt.refresh())});return gt.observe(ci.current.parentElement),gt}if(Kt){const gt=At();return()=>{var Wt,sn;(Wt=ci.current)!=null&&Wt.parentElement&>.unobserve((sn=ci.current)==null?void 0:sn.parentElement)}}},[Kt,wi]),(0,re.useEffect)(()=>{if(Kt){let At=[];for(const[gt,Wt]of Object.entries(Or)){let sn={[gt]:()=>{Ei(Wt)}};At.push(sn),Kt.addKeyMap(sn)}return()=>{for(let gt of At)Kt.removeKeyMap(gt)}}},[Kt]),(0,re.useEffect)(()=>{Zr!==Nr&&jr(Zr)},[Zr]),(0,Mn.Z)(()=>{if(!Tr&&Di>0){let At=new Date().getTime(),gt=window.sessionStorage.getItem(dr);At>=Di+Xn&&(!gt||gt!==Dn)&&(window.sessionStorage.setItem(dr,Dn),Wi(!0))}},Xn),(0,re.useEffect)(()=>{Pr(Hn)},[Kt,Hn]),(0,re.useEffect)(()=>{Kt&&Yn&&Kt.focus()},[Kt,Yn]),(0,re.useEffect)(()=>{if(qn&&Kt){let At=function(Wt){let sn=Wt.target;if(wr.current){let le=sn.scrollTop/sn.scrollHeight;wr.current.scrollTop=wr.current.scrollHeight*le}};const gt=Kt.getScrollerElement();return gt.addEventListener("scroll",At),()=>{gt.removeEventListener("scroll",At)}}},[Kt,qn]),(0,re.useEffect)(()=>{if(Kt&&dt){let At=function(gt,Wt){dt(gt,Wt)};return Kt.on("beforeChange",At),()=>{Kt.off("beforeChange",At)}}},[Kt,dt]),(0,re.useEffect)(()=>{if(Kt&&Rr){let At=function(){Rr(Kt.getValue())};return Kt.on("blur",At),()=>{Kt.off("blur",At)}}},[Kt,Rr]);function xi(At,gt){var Wt=At.getDoc(),sn=Wt.getCursor(),le=Wt.getLine(sn.line),De=le.charAt(sn.ch-1),Be=le.lastIndexOf("@\u2581@",sn.ch),Me=le.lastIndexOf("@\u2581\u2581@",sn.ch),Le=Be>Me?Be:Me,it=Be>Me?3:4;if(cr.indexOf(De)===-1)return null;if(console.log("change1:",gt,At,le,sn,Le,Be,Me,De),Le>=0&&sn.ch-Le<5){var ut=Le+it;return Wt.replaceRange("",{line:sn.line,ch:Le},{line:sn.line,ch:ut}),{line:sn.line,ch:ut}}return null}(0,re.useEffect)(()=>{if(Kt){let At=function(gt,Wt){const sn=gt.getValue();Wr(sn),fi(new Date().getTime()),gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Nt&&($t?Nt(sn,Nn(sn)):Nt(sn))};return Kt.on("change",At),()=>{Kt.off("change",At)}}},[Kt,Nt]),(0,re.useEffect)(()=>{if(Kt)if(It==null)Kt.setValue(""),Wr("");else{const At=window.scrollY||window.pageYOffset;It!==Kt.getValue()&&(Kt.setValue(It),Wr(It),Kt.setCursor(Lt?1:Kt.lineCount(),0),window.scrollTo(0,At))}},[Kt,It]);const Ei=(0,re.useCallback)(At=>{const gt=Kt.getCursor(),Wt=Kt.getSelection();let sn=Wt.split(`
|
|
`);switch(At){case"bold":return Kt.replaceSelection("**"+Wt+"**"),Wt===""&&Kt.setCursor(gt.line,gt.ch+2),Kt.focus();case"italic":return Kt.replaceSelection("*"+Wt+"*"),Wt===""&&Kt.setCursor(gt.line,gt.ch+1),Kt.focus();case"code":return Kt.replaceSelection("`"+Wt+"`"),Wt===""&&Kt.setCursor(gt.line,gt.ch+1),Kt.focus();case"inline-latex":return li("inline-latex"),Kt.focus();case"latex":return Kt.replaceSelection("```latex\n"+Wt+"\n```"),Kt.setCursor(gt.line+1,Wt.length+1),Kt.focus();case"line-break":return Kt.replaceSelection(`<br/>
|
|
`),Kt.focus();case"list-ul":return Wt===""?Kt.replaceSelection("- "+Wt):Kt.replaceSelection(sn.map(le=>le===""?"":`- ${le}`).join(`
|
|
`)),Kt.focus();case"list-ol":return Wt===""?Kt.replaceSelection("1. "+Wt):Kt.replaceSelection(sn.map((le,De)=>le===""?"":`${De+1}. ${le}`).join(`
|
|
`)),Kt.focus();case"add-null-ch":return Wt===""&&Kt.setCursor(gt.line,gt.ch),Kt.replaceSelection(Qn),Kt.focus();case"add-signal":return Wt===""&&Kt.setCursor(gt.line,gt.ch),Kt.replaceSelection(Br),Kt.focus();case"add-multiple":return Wt===""&&Kt.setCursor(gt.line,gt.ch),Kt.replaceSelection(cr),Kt.focus();case"inster-template-1":return Wt===""&&Kt.setCursor(gt.line,gt.ch),Kt.replaceSelection(ar),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return Pr(!qn),Kt.focus();case"trigger-full-screen":return jr(!Nr),Kt.focus();case tn:li(tn);return;case ct:li(ct);return;case jt:li(jt);return;case Jt:li(Jt);return;case"maths-latex":li("maths-latex");return;case on:Yr.current="",sessionStorage.removeItem("file_id"),li(on);return;case Ut:li(Ut);return;default:throw new Error}},[Kt,qn,Nr]),Vi=(0,re.useCallback)((At,gt)=>{var Wt,sn,le,De,Be,Me;switch(At!=null&&At.disabledClose||li(""),Vr){case tn:const{title:nn,link:rn}=At;return Kt.replaceSelection(`[${nn}](${rn})`),Kt.focus();case ct:const{language:Et,content:dn}=At;return Kt.replaceSelection(["```"+Et,dn,"```"].join(`
|
|
`)),Kt.focus();case"maths-latex":for(var Le=atob(At),it=new Uint8Array(Le.length),ut=0;ut<Le.length;ut++)it[ut]=Le.charCodeAt(ut);var wt=new Blob([it],{type:"image/png"});(0,Mt.I)(wt,kn=>{kn.id?Kt.replaceSelection(``):(kn==null?void 0:kn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Kt.replaceSelection("`$$"+At+"$$`");break;case Pt:const{src:pn,alt:hn,id:ln}=At;if(!ln)return;Kt.getValue().indexOf(pn)===-1?Kt.replaceSelection(`<center><img id="${ln}" width="80%" src="${pn}" class="draw-flowchart" alt="${hn||""}" /></center>`):document.getElementById(ln).src=ee.Z.API_SERVER+pn+"?t="+Date.now();break;case jt:case Jt:const Vt=gt,Gt=(le=(sn=(Wt=Vt==null?void 0:Vt.name)==null?void 0:Wt.split("."))==null?void 0:sn.pop)==null?void 0:le.call(sn);return((De=Vt==null?void 0:Vt.type)==null?void 0:De.indexOf("image"))>-1||!(Vt!=null&&Vt.type)?Vt!=null&&Vt.align||Vt!=null&&Vt.width?Kt.replaceSelection(`<p style="text-align:${Vt.align||"initial"}"><img width="${Vt.width?Vt.width+"%":"initial"}" src="${pn}" alt="${hn||""}" /></p>`):Kt.replaceSelection(`<img width="100%" src="${pn}" alt="${hn||""}" />`):((Be=Vt==null?void 0:Vt.type)==null?void 0:Be.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${pn}"></video>`):((Me=Vt==null?void 0:Vt.type)==null?void 0:Me.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${pn}?type=${Vt.type}&disposition=inline" target="_blank">${Vt.name}</a>`):Lr.includes(Gt)?Kt.replaceSelection(`<a href="${pn}?type=office&disposition=inline" target="_blank">${Vt.name}</a>`):Kt.replaceSelection(`[${Vt.name}](${pn})`),Kt.focus();case Ut:const{row:en,col:wn,align:Cn}=At;let vn=`
|
|
`;for(let kn=0;kn<en;kn++){let Fn=[],Kn=[];for(let Dr=0;Dr<wn;Dr++)kn===1&&Kn.push(gn[Cn]),Fn.push(" ");kn===1&&(vn+=`| ${Kn.join(" | ")} |
|
|
`),vn+=`| ${Fn.join(wn===1?"":" | ")} |
|
|
`}return Kt.replaceSelection(vn+`
|
|
`),Kt.focus();default:throw new Error}},[Kt,Vr]),et=(0,re.useMemo)(()=>{switch(Vr){case tn:return re.createElement(qe,{callback:Vi,onCancel:Yt});case ct:return re.createElement(Tt.Z,{callback:Vi,onCancel:Yt});case jt:return re.createElement(Mt.Z,{callback:Vi,onCancel:Yt});case on:return re.createElement(z,{editImgId:Yr.current,callback:Vi,onCancel:Yt});case Ut:return re.createElement(Se,{callback:Vi,onCancel:Yt});case"maths-latex":return re.createElement(vt,{showSaveButton:!0,callback:Vi});case"inline-latex":return re.createElement(zt.Z,{showSaveButton:!0,callback:Vi});default:return null}},[Vr]);function Yt(){li("")}(0,re.useEffect)(()=>{if(Oi.current){let At=function(Be){le=!0,De=Be.pageY},gt=function(){le=!1},Wt=function(Be){if(le){let Me=Be.pageY-De;Me<0&&(Me=0),Me>300&&(Me=300);let Le=mn+Me+"px";ei(Le)}},sn=Oi.current,le=!1,De=0;return sn.addEventListener("mousedown",At),document.addEventListener("mousemove",Wt),document.addEventListener("mouseup",gt),()=>{sn.removeEventListener("mousedown",At),document.removeEventListener("mousemove",Wt),document.removeEventListener("mouseup",gt)}}},[Kt,Oi]),(0,re.useEffect)(()=>{ei(mn)},[mn]);const Zt=Er(kt),qt=Er(Li),fn={width:Zt,height:qt},xn=(0,re.useMemo)(()=>{if(Di){let At=new Date(Di),gt=At.getHours(),Wt=At.getMinutes(),sn=At.getSeconds();return gt=gt<10?"0"+gt:gt,Wt=Wt<10?"0"+Wt:Wt,sn=sn<10?"0"+sn:sn,`${gt}:${Wt}:${sn}`}return 0},[Di]),Nn=At=>{const gt=[];if($t){let Wt=-1;At=At.replace(/(@▁▁@|@▁@)/g,function(sn,le,De){gt.push({multiLine:sn!==Br})})}return gt};function Bn(){window.sessionStorage.removeItem(dr),Wi(!1),fi(0)}function An(){Wi(!1),fi(0),Kt.setValue(window.sessionStorage.getItem(dr))}(0,re.useEffect)(()=>{Ft[Vr]&&Vr!==Jt&&Vr!==on&&setTimeout(()=>{const At=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth/2-At.offsetWidth/2,Wt=window.innerHeight/2-At.offsetHeight/2;Ri(gt),Ti(Wt)},0)},[Vr]);const Ot=At=>{At.preventDefault();const gt=At.clientX-Fi,Wt=At.clientY-Hi;document.body.onmousemove=sn=>{let le=sn.clientX-gt,De=sn.clientY-Wt;const Be=document.getElementsByClassName("markdown-popup-form")[0],Me=window.innerWidth-Be.offsetWidth,Le=window.innerHeight-Be.offsetHeight;le=Math.max(0,Math.min(le,Me)),De=Math.max(0,Math.min(De,Le)),un(sn.clientX,sn.clientY,gt,Wt)&&(Ri(le),Ti(De))},document.body.onmouseup=function(){document.body.onmousemove=null}},un=(At,gt,Wt,sn)=>{const le=document.body.clientHeight,De=document.body.clientWidth;return At<20&&Wt>At||At>De-20&&Wt<At||gt<20&&sn>gt||gt>le-20&&sn<gt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return re.createElement(re.Fragment,null,re.createElement("div",{className:"markdown-editor-wrapper",ref:ji},re.createElement("div",{className:`markdown-editor-container ${Rn} ${qn?"on-preview":""} ${_n?"mini":""} ${Nr?"full-screen":""}`,style:fn},re.createElement(Ge,{insertTemp:rr,watch:qn,fullScreen:Nr,showNullButton:Ln,showNullProgramButton:$t,onActionCallback:Ei,hidetoolBar:$n,extraUse:ir}),re.createElement("div",{className:"markdown-editor-body"},re.createElement("div",{className:"codemirror-container"},re.createElement("textarea",{ref:ci,placeholder:Zn})),qn?re.createElement("div",{ref:wr,className:"preview-container"},fr==="stex"&&re.createElement(ye,{value:Dn}),fr!=="stex"&&re.createElement(nt.Z,{edit:!0,disabledFill:Sn,showProgramFill:$t,value:Dn,openEditor:At=>{var gt;Yr.current=At,(gt=si.current)==null||gt.setHeight("100vh"),setTimeout(()=>{li("add-flowchart")},150)}})):null))),Cr?re.createElement("a",{ref:Oi,className:"editor-resize"}):null,Vr===Jt&&re.createElement(We,{callback:Vi,onCancel:Yt}),Vr===on&&re.createElement(z,{ref:si,editImgId:Yr.current,callback:Vi,onCancel:Yt}),re.createElement(ft.Z,null,Ft[Vr]&&Vr!==Jt&&Vr!==on?re.createElement(Xe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Fi,top:Hi},title:re.createElement("div",{style:{cursor:"move"},onMouseDown:Ot},Ft[Vr]),open:!0,onCancel:Yt,footer:null,destroyOnClose:!0,width:Vr===on?"1200px":null,height:Vr===on?"80vh":null,className:"markdown-popup-form"},et):null))}},45596:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ve},I:function(){return ft}});var re=se(28284),Ne=se(6767),Te=se(37568),Fe=se(77736),Ee=se(71051),fe=se(47889),Oe=se(99571),Ce=se(67303),Pe=se(59301),oe=se(59301),nt=Object.defineProperty,ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,je=(ge,Ae,ze)=>Ae in ge?nt(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:ze}):ge[Ae]=ze,st=(ge,Ae)=>{for(var ze in Ae||(Ae={}))Ye.call(Ae,ze)&&je(ge,ze,Ae[ze]);if(Ie)for(var ze of Ie(Ae))He.call(Ae,ze)&&je(ge,ze,Ae[ze]);return ge},at=(ge,Ae)=>ye(ge,Ke(Ae));const{useForm:rt}=re.default,ke={width:280,marginRight:10},be={labelCol:{span:5},wrapperCol:{span:19}};var Ve=({callback:ge,onCancel:Ae})=>{const[ze]=rt();let Ze=(0,Pe.useRef)();function _e(Rt){Ze.current.width=ze.getFieldValue("width"),Ze.current.align=ze.getFieldValue("align"),ge(Rt,Ze.current)}function Re(Rt,ht){if(Rt.status===-1){Ne.ZP.error(Rt.message);return}ze.setFieldsValue({src:`/api/attachments/${Rt.id}`,type:ht.type})}function Je(Rt){let ht=Rt.target.files[0];Ze.current=ht,ft(ht,Re)}return oe.createElement(re.default,at(st({form:ze},be),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),oe.createElement(re.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(re.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Te.default,{style:ke})),oe.createElement(Ge,{onFileChange:Je}))),oe.createElement(re.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Te.default,{style:{width:264}})),oe.createElement(re.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(Fe.Z,null,oe.createElement(re.default.Item,{name:"width",style:{margin:0}},oe.createElement(Ee.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(re.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(fe.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"}]})),oe.createElement("aside",null,oe.createElement(re.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Oe.ZP,{type:"default",onClick:Ae},"\u53D6\u6D88"))))};function Ge({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function ft(ge,Ae){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let ze=new FormData;ze.append("editormd-image-file",ge),ze.append("file_param_name","editormd-image-file"),ze.append("byxhr","true");var Ze=new window.XMLHttpRequest;Ze.withCredentials=!0,Ze.addEventListener("load",function(_e){Ae(JSON.parse(_e.target.responseText),ge)},!1),Ze.addEventListener("error",function(_e){console.error(_e)},!1),Ze.open("POST",`${Ce.KI}/api/attachments.json`),Ze.send(ze)}},75790:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Te}});var re=se(59301),Ne=se(4676);class Te extends re.Component{constructor(Ee){super(Ee);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:Ee}=this.props;return(0,Ne.createPortal)(Ee,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(bn,cn,se){"use strict";se.d(cn,{SV:function(){return yt},ZP:function(){return We}});var re=se(59301),Ne=se(76374);const Te={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"]},Fe={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"]},Ee={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(`
|
|
`)}]},fe={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(`
|
|
`)}]},Oe={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 Ce=se(53184),Pe=se.n(Ce),oe=(Qe,Bt,bt)=>new Promise((ce,ie)=>{var z=te=>{try{ne(bt.next(te))}catch(ue){ie(ue)}},ee=te=>{try{ne(bt.throw(te))}catch(ue){ie(ue)}},ne=te=>te.done?ce(te.value):Promise.resolve(te.value).then(z,ee);ne((bt=bt.apply(Qe,Bt)).next())});const nt={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"]}},ye=(Qe,Bt,bt,ce)=>{const ie=Bt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:bt.lineNumber,endColumn:bt.column});return Array.from(new Set(ie.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:Qe.languages.CompletionItemKind.Text,insertText:ee,range:ce}))},Ke=(Qe,Bt,bt,ce)=>{Qe.languages.registerCompletionItemProvider(Bt,{provideCompletionItems(ie,z){const ee=ie.getWordUntilPosition(z),ne={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},te=ie.getLineContent(z.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ye(Qe,ie,z,ne),...bt.map(me=>({label:me,kind:Qe.languages.CompletionItemKind.Keyword,documentation:me,insertText:me,insertTextRules:Qe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ne})),...ce.map(me=>({label:me.label,kind:Qe.languages.CompletionItemKind.Snippet,documentation:me.content,insertText:te.startsWith("#")?me.content.replace(/#/,""):me.content,insertTextRules:Qe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ne}))]}}})};var Ie=Qe=>{nt.languages.forEach(Bt=>{Qe.languages.registerDocumentFormattingEditProvider(Bt,{provideDocumentFormattingEdits(bt){return oe(this,null,function*(){const ce=Pe()(bt.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:bt.getFullModelRange(),text:ce}]})}})}),Ke(Qe,"java",Fe.keywords,Fe.quickKey),Ke(Qe,"cpp",Ee.keywords,Ee.quickKey),Ke(Qe,"c",Te.keywords,[]),Ke(Qe,"python",fe.keywords,fe.quickKey),Ke(Qe,"scala",Oe.keywords,Oe.quickKey)};const Ye="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var He=Object.defineProperty,je=(Qe,Bt,bt)=>Bt in Qe?He(Qe,Bt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Qe[Bt]=bt,st=(Qe,Bt,bt)=>je(Qe,typeof Bt!="symbol"?Bt+"":Bt,bt);const at=class qs{constructor(Bt,bt,ce){this.placeholder=Bt,this.editor=bt,this.monaco=ce,bt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return qs.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)}};st(at,"ID","editor.widget.placeholderHint");var ke=at,be=se(96236),Ve=se(6767),Ge=se(25399),ft=se(89392),ge=se(33796),Ae=se(56102),ze=Object.defineProperty,Ze=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,ht=(Qe,Bt,bt)=>Bt in Qe?ze(Qe,Bt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):Qe[Bt]=bt,mt=(Qe,Bt)=>{for(var bt in Bt||(Bt={}))Je.call(Bt,bt)&&ht(Qe,bt,Bt[bt]);if(Re)for(var bt of Re(Bt))Rt.call(Bt,bt)&&ht(Qe,bt,Bt[bt]);return Qe},St=(Qe,Bt)=>Ze(Qe,_e(Bt)),xe=(Qe,Bt)=>{var bt={};for(var ce in Qe)Je.call(Qe,ce)&&Bt.indexOf(ce)<0&&(bt[ce]=Qe[ce]);if(Qe!=null&&Re)for(var ce of Re(Qe))Bt.indexOf(ce)<0&&Rt.call(Qe,ce)&&(bt[ce]=Qe[ce]);return bt},he=(Qe,Bt,bt)=>new Promise((ce,ie)=>{var z=te=>{try{ne(bt.next(te))}catch(ue){ie(ue)}},ee=te=>{try{ne(bt.throw(te))}catch(ue){ie(ue)}},ne=te=>te.done?ce(te.value):Promise.resolve(te.value).then(z,ee);ne((bt=bt.apply(Qe,Bt)).next())});function qe(Qe){return/^\d+$/.test(Qe)?`${Qe}px`:Qe}function Tt(){}let Mt=!1;const Xe={"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 Ct(Qe=[]){let Bt=Qe;if(Array.isArray(Qe)){for(let bt=0;bt<Qe.length;bt++){let ce=Xe[Qe[bt]];if(ce)return ce}return Bt[0]}return Xe[Bt]||Bt}let tt=null;const Ht=()=>he(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Qe){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Qe)}});var We=Qe=>{var Bt=Qe,{width:bt="100%",height:ce="100%",value:ie,language:z="javascript",style:ee={},options:ne={},overrideServices:te={},theme:ue="vs-dark",onEditBlur:me,isCopy:Se=!1,onSave:Dt,autoHeight:Ue=!1,forbidCopy:$e=!1,onChange:ot=Tt,editorDidMount:vt=Tt,onFocus:zt=Tt,onBreakPoint:tn=Tt,breakPointValue:jt=[],filename:on="educoder.txt",errorLine:Jt,errorContent:Pt="",highlightLine:ct,openBreakPoint:Ut=!1,placeholder:_t="",showMiniMap:gn=!0}=Bt,Mn=xe(Bt,["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 jn=(0,re.useRef)(),yn=(0,re.useRef)({}),Xn=(0,re.useRef)(),Qn=(0,re.useRef)(),cr=(0,re.useRef)([]),Br=(0,re.useRef)(!1),ar=(0,re.useRef)(),Lr=(0,re.useRef)(),Er=(0,re.useRef)(!1),[Wn,Ir]=(0,re.useState)(!1);function Or(){let Ln;return jn.current&&(Ln=new Ne.Z($t=>{for(let $n of $t)($n.target.offsetHeight>0||$n.target.offsetWidth>0)&&yn.current.instance.layout()}),Ln.observe(jn.current)),Ln}function Ft(){Ve.ZP.warning({content:decodeURIComponent(Ye),key:"monaco-editor-tip"})}const Qt=()=>{let Ln=yn.current.instance;if(ie!=null&&Ln&&Wn){const $t=Ln.getModel();$t&&ie!==$t.getValue()&&(Mt=!0,$t.setValue(ie),Ln.layout(),Mt=!1)}};(0,re.useEffect)(()=>{const Ln=ge.Z.subscribe("formatDocument",$t=>{var $n;let Zr=yn.current.instance;($n=Zr==null?void 0:Zr.getAction)==null||$n.call(Zr,"editor.action.formatDocument").run()});return window.updateMonacoValue=$t=>{ot($t)},Ln},[]),(0,re.useEffect)(()=>{var Ln;let $t=yn.current.instance;Qn.current&&clearTimeout(Qn.current),Qn.current=setTimeout(()=>{Qt()},500),ie&&(ie!=null&&ie.length)&&((Ln=$t==null?void 0:$t.updateOptions)==null||Ln.call($t,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ie.split(/\r\n|\r|\n/g).length))+3,5)}))},[ie,Wn,yn.current]),(0,re.useEffect)(()=>{if(Jt&&yn.current&&yn.current.instance){let $t=yn.current.instance;$t.changeViewZones(function($n){var Zr=document.createElement("div");Zr.style.padding="10px 20px",Zr.style.width="calc(100% - 20px)",Zr.className="my-error-line-wrp",Zr.innerHTML=Pt,$n.addZone({afterLineNumber:Jt||11,heightInLines:3,domNode:Zr})});var Ln={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}};$t.addOverlayWidget(Ln),$t.revealPositionInCenter({lineNumber:20,column:1})}},[Jt,yn.current,Wn]);const It=(Ln="",$t)=>{if(!Ln||Ln.trim()==="")return!0;const Zr=yn.current.instance.getModel().getLineTokens($t);let Rr=!1;for(let dt=0;dt<2;dt++)Zr.getStandardTokenType(dt)===1&&(Rr=!0);return Rr};(0,re.useEffect)(()=>{var Ln;const $t=(Ln=yn.current)==null?void 0:Ln.instance;if($t&&Wn&&$e){const $n=$t.onDidBlurEditorWidget(()=>{Er.current=!1}),Zr=$t.onDidFocusEditorText(()=>{Er.current=!0});return()=>{$n.dispose(),Zr.dispose()}}},[yn.current,Wn,$e]),(0,re.useEffect)(()=>{var Ln;if((Ln=yn.current)!=null&&Ln.instance&&Wn&&Ut){let $t=yn.current.instance,$n=$t.getModel();if(!$n)return;(()=>{var Kt;let er=[],Dn=[];const Wr=$n.getAllDecorations();for(let Pr of Wr)Pr.options.className==="highlighted-line"&&(er.push((Kt=Pr==null?void 0:Pr.range)==null?void 0:Kt.startLineNumber),Dn.push(Pr==null?void 0:Pr.id));if(ct===er[0])return;$n.deltaDecorations(Dn,[]);const qn=$n.getLineCount();ct&&ct<=qn&&($t.deltaDecorations([],[{range:new tt.Range(ct,1,ct,$n.getLineMaxColumn(ct)),options:{isWholeLine:!0,className:"highlighted-line"}}]),$t.revealLineInCenter(ct))})();const Rr=(Kt=!1)=>{var er;let Dn=[],Wr=[];const qn=$n.getAllDecorations();for(let Pr of qn)Pr.options.linesDecorationsClassName==="breakpoints-select"&&(Dn.push((er=Pr==null?void 0:Pr.range)==null?void 0:er.startLineNumber),Wr.push(Pr==null?void 0:Pr.id));if(Kt)return{lines:Dn,ids:Wr};tn(Dn)},dt=Kt=>he(void 0,null,function*(){let er={range:new tt.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield $n.deltaDecorations([],[er]),Rr()}),xt=Kt=>he(void 0,null,function*(){let er=[];const Dn=$t.getLineDecorations(Kt);for(let Wr of Dn)Wr.options.linesDecorationsClassName==="breakpoints-select"&&er.push(Wr.id);yield $n.deltaDecorations(er,[]),Rr()}),Rn=Kt=>{let er=$t.getLineDecorations(Kt);for(let Dn of er)if(Dn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ft.isEqual)(jt,Rr(!0).lines)){$n.deltaDecorations(Rr(!0).ids,[]);const Kt=jt.map(er=>({range:new tt.Range(er,1,er,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));$n.deltaDecorations([],Kt)}const En=$t.onDidChangeModelContent(Kt=>{let er=$t.getPosition();if(er){let Dn=er.lineNumber;clearTimeout(Lr.current),Lr.current=setTimeout(()=>{It($n.getLineContent(Dn),Dn)?xt(Dn):Rn(Dn)?(xt(Dn),dt(Dn)):Rr()},100)}}),Lt=$t.onMouseDown(Kt=>{var er,Dn,Wr;if(Kt.target.detail&&((Wr=(Dn=(er=Kt.target)==null?void 0:er.element)==null?void 0:Dn.className)!=null&&Wr.includes("line-numbers"))){let qn=Kt.target.position.lineNumber;if(It($n.getLineContent(qn),qn))return;Rn(qn)?xt(qn):dt(qn)}}),Sn=Kt=>{let er={range:new tt.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};cr.current=$t.deltaDecorations(cr.current,[er])},Zn=()=>{cr.current=$t.deltaDecorations(cr.current,[])},zn=$t.onMouseMove(Kt=>{var er,Dn,Wr;if(Zn(),Kt.target.detail&&((Wr=(Dn=(er=Kt.target)==null?void 0:er.element)==null?void 0:Dn.className)!=null&&Wr.includes("line-numbers"))){let qn=Kt.target.position.lineNumber;if(It($n.getLineContent(qn),qn))return;Sn(qn)}}),ir=$t.onMouseLeave(()=>{Zn()});return()=>{En.dispose(),Lt.dispose(),zn.dispose(),ir.dispose()}}},[yn.current,Wn,jt,ct,Ut,z]),(0,re.useEffect)(()=>{var Ln;(Ln=yn.current)!=null&&Ln.instance&&Ut&&yn.current.instance.setPosition({lineNumber:0,column:0})},[ct]);function Nt(){let Ln=yn.current.instance;if(Ln){const $t=Ln.getSelection(),$n=yn.current.pastePos||{},Zr=new tt.Range($n.startLineNumber||$t.endLineNumber,$n.startColumn||$t.endColumn,$n.endLineNumber||$t.endLineNumber,$n.endColumn||$t.endColumn);setTimeout(()=>{Ln.executeEdits("",[{range:Zr,text:""}])},300)}}function kt(Ln){(window.navigator.platform.match("Mac")?Ln.metaKey:Ln.ctrlKey)&&Ln.keyCode==83&&(Ln.preventDefault(),Dt())}const mn=()=>{if(Ue&&yn.current.instance){const Ln=yn.current.instance.getContentHeight();Cr(Ln<ce?ce:Ln)}else Cr(ce)};function _n(Ln){var $t=document.createEvent("MouseEvents");$t.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ln.dispatchEvent($t)}const Yn=Ln=>{if(!Er.current)return;const{keyCode:$t,ctrlKey:$n,metaKey:Zr,target:Rr,type:dt}=Ln;return(dt==="paste"||($t===67||$t===86)&&(Zr||$n))&&Rr.nodeName==="TEXTAREA"&&(Ft(),Ln.preventDefault()),!1};function Hn(Ln,$t){var $n=window.URL||window.webkitURL||window,Zr=new Blob([$t]),Rr=document.createElementNS("http://www.w3.org/1999/xhtml","a");Rr.href=$n.createObjectURL(Zr),Rr.download=Ln,_n(Rr)}(0,re.useEffect)(()=>{mn()},[mn]),(0,re.useEffect)(()=>{jn.current&&!Wn&&Promise.all([se.e(8909),se.e(5028)]).then(se.bind(se,71448)).then(Ln=>{try{tt=Ln,yn.current.instance=tt.editor.create(jn.current,{value:ie,language:Ct(z),theme:ue,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:gn||!1}},te);const $t=yn.current.instance;let Rr=[...be.BH._menuItems].find(En=>En[0]._debugName=="EditorContext")[1],dt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],xt=(En,Lt)=>{var Sn,Zn;let zn=En._first;do Lt.includes((Zn=(Sn=zn.element)==null?void 0:Sn.command)==null?void 0:Zn.id)&&En._remove(zn);while(zn=zn.next)};if(vt($t,tt),setTimeout(()=>{mn(),yn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Hn(on||"educoder.txt",$t.getValue())}})},500),yn.current.subscription=$t.onDidChangeModelContent(En=>{Br.current?clearTimeout(ar.current):(mn(),ot($t.getValue(),En)),ar.current=setTimeout(()=>{Br.current=!1},500)}),window.Monaco||Ie(tt,Ct(z)),$e&&(xt(Rr,dt),jn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yn),window.removeEventListener("paste",Yn),window.addEventListener("keydown",Yn),window.addEventListener("paste",Yn)),window.Monaco=tt,me&&$t.onDidBlurEditorWidget(()=>{me($t.getValue())}),zt&&$t.onDidFocusEditorText(()=>{$e&&Ht(),zt($t.getValue())}),$e){Ht();try{$t.onDidPaste(En=>{const Lt=$t.getSelection(),Sn=yn.current.pastePos||{},Zn=new tt.Range(Sn.startLineNumber||Lt.endLineNumber,Sn.startColumn||Lt.endColumn,Sn.endLineNumber||Lt.endLineNumber,Sn.endColumn||Lt.endColumn);$t.executeEdits("",[{range:En.range,text:""}])})}catch(En){}}let Rn=Or();return _t&&typeof _t=="string"&&new ke(_t,$t,tt),Ir(!0),()=>{const En=yn.current.instance;En.dispose();const Lt=En.getModel();Lt&&Lt.dispose(),yn.current.subscription&&yn.current.subscription.dispose(),Rn.unobserve(jn.current)}}catch($t){}})},[]),(0,re.useEffect)(()=>{if(yn.current.instance&&Wn)return document.addEventListener("keydown",kt,!1),()=>{document.removeEventListener("keydown",kt)}},[Dt,Wn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;if(Ln&&Wn){let $t=Ct(z);tt.editor.setModelLanguage(Ln.getModel(),$t)}},[z,Wn]),(0,re.useEffect)(()=>{yn.current.instance&&Wn&&tt.editor.setTheme(ue)},[ue,Wn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;Xn.current=ne,Ln&&Wn&&(Ln.updateOptions(mt({},ne)),setTimeout(()=>{Ln.getModel().updateOptions(mt({},ne))},200))},[JSON.stringify(ne),Wn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;Ln&&Wn&&Ln.layout()},[bt,ce,Wn]);const[rr,fr]=(0,re.useState)(qe(bt)),[dr,Cr]=(0,re.useState)(qe(ce)),Tr=St(mt({},ee),{width:rr,height:dr,position:"relative"});return re.createElement("div",{className:"my-monaco-editor",ref:jn,style:Tr},Se&&re.createElement(Ae.CopyToClipboard,{text:ie,onCopy:()=>Ve.ZP.success("\u590D\u5236\u6210\u529F")},re.createElement(Ge.Z,{title:"\u590D\u5236\u4EE3\u7801"},re.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},re.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function yt({width:Qe="100%",height:Bt="100%",original:bt,modified:ce,language:ie,options:z={}}){const ee=(0,re.useRef)(),[ne,te]=(0,re.useState)(null);function ue(Ue){let $e;return ee.current&&($e=new Ne.Z(ot=>{for(let vt of ot)(vt.target.offsetHeight>0||vt.target.offsetWidth>0)&&Ue.layout()}),$e.observe(ee.current)),$e}(0,re.useEffect)(()=>(ee.current&&Promise.all([se.e(8909),se.e(9404)]).then(se.bind(se,2550)).then(Ue=>{tt=Ue;const $e=tt.editor.createDiffEditor(ee.current,St(mt({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}));te($e);let ot=ue($e);return()=>{$e.dispose();const vt=$e.getModel();vt&&vt.dispose(),ot.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,re.useEffect)(()=>{ne&&ne.setModel({original:tt.editor.createModel(bt,ie),modified:tt.editor.createModel(ce,ie)})},[bt,ce,ie,ne]);const me=qe(Qe),Se=qe(Bt),Dt={width:me,height:Se};return re.createElement("div",{className:"my-diff-editor",ref:ee,style:Dt})}},929:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return ye}});var re={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Ne=se(29787),Te=se(25399),Fe=se(60242),Ee=se(92310),fe=se.n(Ee),Oe=se(49661),Ce=se(57884),Pe=se(34055),oe=se(59301),ye=({className:Ke,dataSource:Ie=[],col:Ye=4,right:He,bottom:je=23,precision:st=0,wrapWidth:at=1200,trackEventItems:rt,loading:ke,onRemove:be=()=>{},isCurrent:Ve=!0,showProgress:Ge=!1,showAlias:ft=!1})=>{const ge=Math.floor((at-(Ye-1)*He)/Ye),Ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return oe.createElement(Ne.Z,{spinning:ke},oe.createElement("div",{className:fe()(re.list,Ke)},!!(Ie!=null&&Ie.length)&&(Ie==null?void 0:Ie.map((ze,Ze)=>{var _e,Re,Je,Rt,ht,mt;const{name:St,id:xe,identifier:he,featured:qe,school_name:Tt,image_url:Mt,excellent:Xe,is_plan:Ct}=ze;return oe.createElement("div",{key:xe,className:Ve&&Ge?re.wrapisCurrent:re.wrap,style:{width:ge,marginRight:(1+Ze)%Ye===0?0:He+st,marginBottom:je}},oe.createElement("a",{className:re.li,onClick:tt=>{tt.preventDefault(),tt.stopPropagation(),rt&&(0,Oe.L9)([rt]),(0,Oe.xg)(`/paths/${he}`)}},oe.createElement("div",{className:re.img},oe.createElement("img",{className:re.cover,src:`${Mt}`}),Ve&&(0,Pe.bg)()&&(ze==null?void 0:ze.studying)&&oe.createElement("div",{className:`${re.movebq} user-path-items`,onClick:tt=>{tt.stopPropagation(),be(ze)}},oe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oe.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_e=ze==null?void 0:ze.subject_tags)==null?void 0:_e.map((tt,Ht)=>{var We,yt;if(Ht===0){const Bt=(We=Ae.find(bt=>bt.name==tt))==null?void 0:We.swimg;return oe.createElement("img",{className:re.sign,src:Bt,style:{left:"-4px"}})}const Qe=(yt=Ae.find(Bt=>Bt.name==tt))==null?void 0:yt.ptimg;return oe.createElement("img",{className:re.sign,src:Qe,style:{left:`${48+52*(Ht-1)+2*Ht}px`}})}),oe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ze==null?void 0:ze.excellent)&&oe.createElement("div",{className:re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oe.createElement("div",{className:re.name},oe.createElement(Te.Z,{title:ft&&(ze!=null&&ze.excellent_alias_name)?oe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${St}`,oe.createElement("br",null),oe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ze==null?void 0:ze.excellent_alias_name}`)):St},oe.createElement("span",{className:re.e},ft&&(ze==null?void 0:ze.excellent_alias_name)||St))),Ve&&Ge&&((Re=ze==null?void 0:ze.progress)==null?void 0:Re.all_score)!=0&&oe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},oe.createElement(Fe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Je=ze==null?void 0:ze.progress)==null?void 0:Je.my_score)/((Rt=ze==null?void 0:ze.progress)==null?void 0:Rt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(ht=ze==null?void 0:ze.progress)==null?void 0:ht.my_score,"/",(mt=ze==null?void 0:ze.progress)==null?void 0:mt.all_score),(!Ve||!Ge)&&oe.createElement(Te.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Tt}`},oe.createElement("div",{className:re.unit},oe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Tt)),(!Ve||!Ge)&&oe.createElement("div",{className:re.tags},oe.createElement("div",null,oe.createElement(Te.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oe.createElement("span",null,ze.stages_count))),oe.createElement(Te.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oe.createElement("span",null,ze.members_count)))))))})),!Ie.length&&oe.createElement(Ce.Z,null)))}},71360:function(bn,cn,se){"use strict";se.d(cn,{jL:function(){return Ee},w9:function(){return qe},QD:function(){return Jt},cQ:function(){return ht.Z},op:function(){return ot},O5:function(){return Qt},_b:function(){return Mn},t7:function(){return st},Gi:function(){return Ht},YG:function(){return Ct},qp:function(){return nt},vr:function(){return Ut},qE:function(){return tn},Je:function(){return ke},wb:function(){return Rt},cq:function(){return ce},tp:function(){return Ie}});var re=se(59301),Ne={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQ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j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ee=({dataSource:It=[],img:Nt,imgWidth:kt=346,title:mn,sunTitle:_n,bannerExtraContent:Yn})=>re.createElement("div",{className:Ne.banner},re.createElement("div",{className:Ne.content},re.createElement("aside",null,re.createElement("p",null,re.createElement("b",null,mn),re.createElement("span",null,_n)),It.length>0&&re.createElement("div",{className:Ne.btns},It.map((Hn,rr)=>re.createElement("div",{key:rr,onClick:Hn.click},Hn.name,Hn.sign?re.createElement("img",{src:Te,width:39}):null))),Yn),Nt&&re.createElement("img",{style:{marginTop:33,marginRight:38},src:Nt,width:kt}))),fe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Oe=se(92310),Ce=se.n(Oe),Pe=se(89392),nt=({dataSource:It=[],value:Nt,onChange:kt,onTitleChange:mn,className:_n,title:Yn,titleWidth:Hn=41,style:rr={},fontColor:fr="#6A7283",showCount:dr})=>{const[Cr,Tr]=(0,re.useState)(0),[Ln,$t]=(0,re.useState)(!1),$n=(0,re.useRef)(null),Zr=(0,re.useRef)(null);return(0,re.useEffect)(()=>{var Rr;It.length!==0&&(((Rr=$n==null?void 0:$n.current)==null?void 0:Rr.clientHeight)>97?Tr(1):Tr(0)),It.length===0&&Tr(0),$t(!1)},[It]),re.createElement("div",{className:Ce()(fe.row,_n),style:rr},re.createElement("div",{onClick:(0,Pe.throttle)(()=>mn==null?void 0:mn(),2e3),style:{width:Hn,marginTop:Ln?12:4},className:`${fe.title} ${mn?"current":""}`},Yn),re.createElement("div",{className:Ln?`${fe.tagsWrap} ${fe.tagsBorderWrap}`:fe.tagsWrap},re.createElement("div",{className:fe.bar,ref:Zr,style:Cr>0?{height:Cr===1?97:"auto",overflow:Cr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},re.createElement("div",{className:fe.tag,ref:$n},It==null?void 0:It.map(Rr=>re.createElement("span",{onClick:()=>kt(Rr.id),key:Rr.id,style:{color:fr},className:Nt===Rr.id?fe.active:""},re.createElement("span",{title:Rr.name,className:fe.name},Rr.name),!!dr&&re.createElement("span",{className:fe.num},Rr.count))))),!!Cr&&re.createElement(re.Fragment,null,Cr===1?re.createElement("div",{onClick:()=>{var Rr;Tr(2),((Rr=$n==null?void 0:$n.current)==null?void 0:Rr.clientHeight)>245?$t(!0):$t(!1)},className:fe.action},"\u5C55\u5F00",re.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):re.createElement("div",{onClick:()=>{Zr.current.scrollTop=0,Tr(1),$t(!1)},className:fe.action},"\u6536\u8D77",re.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ye={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ie=({dataSource:It=[],value:Nt,onChange:kt,className:mn,style:_n={}})=>re.createElement("div",{style:_n,className:Ce()(ye.tabs,mn)},It.map(Yn=>re.createElement("span",{onClick:()=>kt(Yn.id),className:Nt===Yn.id?ye.active:"",key:Yn.id},Yn.name))),Ye={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},He=se(37568),st=({dataSource:It=[],value:Nt="",onChange:kt,onInputChange:mn=()=>{},className:_n,style:Yn={},placeholder:Hn,allowClear:rr=!1})=>{var fr;const[dr,Cr]=(0,re.useState)(""),[Tr,Ln]=(0,re.useState)("");(0,re.useEffect)(()=>{var Zr;let Rr=Nt;(Zr=JSON.stringify(Nt))!=null&&Zr.includes("{")&&(Cr(Nt.id),Rr=Nt.value||"");try{Ln(decodeURIComponent(Rr||""))}catch(dt){Ln(decodeURIComponent(Rr||""))}},[Nt]);const $t=()=>{kt(encodeURIComponent(Tr),dr||null)},$n=Zr=>{Zr!==dr&&(Cr(Zr),kt(encodeURIComponent(Tr),Zr))};return re.createElement("div",{className:Ce()(Ye.input,_n),style:Yn},!!It.length&&re.createElement("div",{className:Ye.dropdown},re.createElement("div",{className:Ye.text},(fr=It.find(Zr=>Zr.id===dr))==null?void 0:fr.name,re.createElement("i",{className:"iconfont icon-zhankai4"}),re.createElement("b",{className:Ye.b1}),re.createElement("b",{className:Ye.b2})),re.createElement("div",{className:Ye.menu},It.map((Zr,Rr)=>re.createElement("div",{key:Rr,onClick:()=>$n(Zr.id)},Zr.name)))),re.createElement(He.default,{onPressEnter:$t,value:Tr,onChange:Zr=>{Ln(Zr.target.value),mn(encodeURIComponent(Zr.target.value),dr||null)},bordered:!1,placeholder:Hn}),re.createElement("i",{onClick:$t,className:"iconfont icon-sousuo9 font14 pl10 current"}))},at={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ke=({value:It,onChange:Nt,className:kt,total:mn,pageSize:_n,style:Yn={}})=>{const Hn=It<2,rr=It>=Math.ceil(mn/_n);return mn<=_n?re.createElement(re.Fragment,null):re.createElement("div",{className:Ce()(at.quickPager,kt),style:Yn},re.createElement("div",{onClick:()=>{Hn||Nt(It-1,"prev")},className:Hn?at.disabled:""},"\u4E0A\u4E00\u9875"),re.createElement("div",{onClick:()=>{rr||Nt(It+1,"next")},className:rr?at.disabled:""},"\u4E0B\u4E00\u9875"))},be={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ve=se(29787),Ge=se(25399),ft=se(58018),ge=se(90524),Ae=se(49661),ze=se(96908),Ze=se(57177),_e=se(81378),Re=se(57884),Rt=({className:It,dataSource:Nt=[],col:kt=4,right:mn,bottom:_n=23,precision:Yn=0,wrapWidth:Hn=1200,trackEventItems:rr,loading:fr})=>{const dr=Math.floor((Hn-(kt-1)*mn)/kt);return re.createElement(Ve.Z,{spinning:fr},re.createElement("div",{className:Ce()(be.list,It)},!!Nt.length&&Nt.map((Cr,Tr)=>{const{name:Ln,id:$t,identifier:$n,power:Zr,cover_image_id:Rr,pic:dt}=Cr;return re.createElement("div",{className:be.wrap,key:$t,style:{width:dr,marginRight:(1+Tr)%kt===0?0:mn+Yn,marginBottom:_n}},re.createElement("a",{target:"_blank",href:`/shixuns/${$n}/challenges`,className:be.li,onClick:xt=>{xt.preventDefault(),rr&&(0,Ae.L9)([rr]),Zr&&(0,Ae.xg)(`/shixuns/${$n}/challenges`)}},re.createElement("div",{className:be.img},re.createElement("img",{className:be.cover,src:`${dt}`}),Cr.is_jupyter&&re.createElement("img",{className:be.sign,src:ze}),Cr.is_jupyter_lab&&re.createElement("img",{className:be.sign,src:Ze}),Cr.is_unity_3d&&re.createElement("img",{className:be.sign,src:_e})),re.createElement("div",{className:be.name},re.createElement(Ge.Z,{title:Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:be.e},Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{className:be.tags},re.createElement(Ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),re.createElement("span",null,Cr.challenges_count))),!!Cr.myshixuns_count&&re.createElement(Ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),re.createElement("span",null,Cr.myshixuns_count))),re.createElement(Ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},re.createElement("span",null,re.createElement("span",null,Cr.level))),re.createElement("div",{className:be.rate},re.createElement(ft.Z,{allowHalf:!0,disabled:!0,defaultValue:Cr.score_info}),re.createElement("span",null,"\xA0",Cr.score_info?`${Cr.score_info}\u5206`:"5\u5206")))),!Zr&&re.createElement("div",{className:be.lockWrap},re.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Nt.length&&re.createElement(Re.Z,null)))},ht=se(929),mt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},St="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJa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Yn=0,wrapWidth:Hn=1200,trackEventItems:rr,loading:fr,handleVery:dr=()=>!0})=>{const Cr=Math.floor((Hn-(kt-1)*mn)/kt);return xe.createElement(Ve.Z,{spinning:fr},xe.createElement("div",{className:Ce()(mt.list,It)},!!Nt.length&&Nt.map((Tr,Ln)=>{const{subject_identifier:$t,id:$n,identifier:Zr,power:Rr}=Tr,dt=Tr.is_public!=0&&Tr.is_public;return xe.createElement("div",{className:mt.wrap,key:$n,style:{width:Cr,marginRight:(1+Ln)%kt===0?0:mn+Yn,marginBottom:_n}},xe.createElement("a",{className:mt.li,onClick:xt=>{xt.preventDefault(),dr(Tr==null?void 0:Tr.first_category_url)&&(rr&&(0,Ae.L9)([rr]),(0,Ae.xg)(Tr.first_category_url))}},xe.createElement("div",{className:mt.top},xe.createElement(Ge.Z,{title:Tr.name},xe.createElement("div",{className:mt.name},Tr.name)),xe.createElement("img",{className:mt.img,src:ge.Z.IMG_SERVER+"/images/"+Tr.avatar_url}),xe.createElement("div",{className:mt.text,title:Tr.creator},Tr.creator),$t&&xe.createElement("div",{className:mt.btns},xe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),xe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),dt&&xe.createElement("div",{className:mt.sign},"\u516C\u5F00")),xe.createElement("div",{className:mt.bottom},Tr.visits>0&&xe.createElement(Ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-liulanyan"}),xe.createElement("span",null,Tr.visits))),Tr.course_members_count>0&&xe.createElement(Ge.Z,{title:"\u6210\u5458",placement:"bottom"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan"}),Tr.course_members_count)),Tr.tasks_count>0&&xe.createElement(Ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zuoye"}),Tr.tasks_count)),Tr.is_end?xe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):xe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Tr.is_accessible&&xe.createElement("div",{className:mt.lockWrap},xe.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),xe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Nt.length&&xe.createElement(Re.Z,null)))},Tt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Mt=se(76560),Ct=({dataSource:It=[],value:Nt,onChange:kt,className:mn,style:_n={},tabBarExtraContent:Yn})=>re.createElement("div",{className:Ce()(Tt.tabs,mn),style:_n},re.createElement("div",{className:Tt.tabsWrap},It.map((Hn,rr)=>!(Hn!=null&&Hn.hide)&&re.createElement("aside",{className:Tt.tab,onClick:()=>{kt(Hn.id),Hn.link&&Mt.history.push(Hn.link)},key:rr},re.createElement("div",{className:Nt===Hn.id?Tt.active:""},Hn.name),(Hn==null?void 0:Hn.resetCount)==null&&(Hn==null?void 0:Hn.total)!==void 0&&re.createElement("span",null,"\uFF08",Hn==null?void 0:Hn.total,"\uFF09"),(Hn==null?void 0:Hn.resetCount)!==void 0&&(Hn==null?void 0:Hn.total)!==void 0&&re.createElement(Ge.Z,{title:(Hn==null?void 0:Hn.tip)!=null?Hn==null?void 0:Hn.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},Hn==null?void 0:Hn.resetCount),"/",re.createElement("span",null,Hn==null?void 0:Hn.total),"\uFF09"))))),re.createElement("div",{className:Tt.tabBar},Yn)),Ht=({className:It,style:Nt={},children:kt})=>re.createElement("div",{className:Ce()(It),style:Nt},kt),We={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},yt=se(75727),Qe=se(93041);const Bt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ce=({sortValue:It,dropValue:Nt,className:kt,onSort:mn,onDrop:_n,dataSource:Yn=Bt})=>{var Hn;return re.createElement("div",{className:Ce()(We.orderWrap,kt)},re.createElement(yt.Z,{dropdownRender:()=>re.createElement(Qe.default,null,Yn.map((rr,fr)=>re.createElement(Qe.default.Item,{key:fr,onClick:()=>_n(rr.id)},rr.name)))},re.createElement("span",{className:We.orderTextWrap},(Hn=Yn.find(rr=>Nt===rr.id))==null?void 0:Hn.name)),re.createElement("span",{className:We.orderIconWrap},re.createElement("span",{className:We.orderAsc},re.createElement("i",{className:It==="asc"?`iconfont icon-sanjiaoxing-up font12 ${We.cursorPointer} ${We.active}`:`iconfont icon-sanjiaoxing-up font12 ${We.cursorPointer}`,onClick:()=>mn(It==="asc"?"desc":"asc")})),re.createElement("span",{className:We.orderDesc},re.createElement("i",{className:It==="desc"?`iconfont icon-sanjiaoxing-down font12 ${We.cursorPointer} ${We.active}`:`iconfont icon-sanjiaoxing-down font12 ${We.cursorPointer}`,onClick:()=>mn(It==="asc"?"desc":"asc")}))))},ie={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},z=se(99571),ee=Object.defineProperty,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,me=(It,Nt,kt)=>Nt in It?ee(It,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):It[Nt]=kt,Se=(It,Nt)=>{for(var kt in Nt||(Nt={}))te.call(Nt,kt)&&me(It,kt,Nt[kt]);if(ne)for(var kt of ne(Nt))ue.call(Nt,kt)&&me(It,kt,Nt[kt]);return It},Dt=(It,Nt)=>{var kt={};for(var mn in It)te.call(It,mn)&&Nt.indexOf(mn)<0&&(kt[mn]=It[mn]);if(It!=null&&ne)for(var mn of ne(It))Nt.indexOf(mn)<0&&ue.call(It,mn)&&(kt[mn]=It[mn]);return kt},Ue=(It,Nt,kt)=>new Promise((mn,_n)=>{var Yn=fr=>{try{rr(kt.next(fr))}catch(dr){_n(dr)}},Hn=fr=>{try{rr(kt.throw(fr))}catch(dr){_n(dr)}},rr=fr=>fr.done?mn(fr.value):Promise.resolve(fr.value).then(Yn,Hn);rr((kt=kt.apply(It,Nt)).next())}),ot=It=>{var Nt=It,{className:kt,style:mn,children:_n,loading:Yn=!1,openLoading:Hn,onClick:rr=()=>{},size:fr="middle",shape:dr="round"}=Nt,Cr=Dt(Nt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Tr,Ln]=(0,re.useState)(!1);return re.createElement(z.ZP,Se({onClick:(0,Pe.throttle)($t=>Ue(void 0,null,function*(){Hn&&Ln(!0);try{yield rr($t)}catch($n){console.log("error",$n)}Hn&&Ln(!1)}),2e3,{leading:!0,trailing:!1}),className:Ce()(ie.btn,ie[`${fr}-${dr}`],kt),style:mn,size:fr,shape:dr,loading:Tr||Yn},Cr),_n)},vt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},tn=({className:It,style:Nt,children:kt=null,onClick:mn,title:_n})=>re.createElement("div",{className:Ce()(vt.head,It),style:Nt},re.createElement("span",{className:"primary-hover",onClick:mn},re.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),re.createElement("b",{title:_n},_n),re.createElement("div",{className:vt.node},kt)),jt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Jt=({confirmShow:It=!0,confirmTitle:Nt,confirmClick:kt,cancelShow:mn=!0,cancelTitle:_n,cancelClick:Yn,className:Hn,style:rr,confirmLoading:fr=!1})=>re.createElement("div",{className:Ce()(jt.btns,Hn),style:rr},It&&re.createElement(z.ZP,{loading:fr,onClick:kt,type:"primary",className:jt.confirm},Nt),mn&&re.createElement(z.ZP,{onClick:Yn,className:jt.cancel},_n)),Pt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ut=({className:It,style:Nt={},LeftContent:kt,children:mn,RightContent:_n})=>re.createElement("div",{className:Ce()(Pt.fixedBottom,It),style:Nt},re.createElement("div",{className:Pt.wrap},re.createElement("div",{className:Pt.left},kt),re.createElement("div",{className:Pt.center},mn),re.createElement("div",{className:Pt.right},_n))),_t={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Mn=({className:It,style:Nt={},dataSource:kt=[]})=>re.createElement("div",{className:Ce()(_t.crumbs,It),style:Nt},kt.map((mn,_n)=>_n<kt.length-1?re.createElement(re.Fragment,{key:_n},mn.path||mn.onClick?re.createElement("span",{className:_t.hover,onClick:mn!=null&&mn.onClick?mn.onClick:()=>Mt.history.push(mn.path)},mn.name):re.createElement("span",null,mn.name),re.createElement("span",null,"\xA0",">","\xA0")):re.createElement("span",{key:_n,style:{color:"#5F6368"}},mn.name))),jn=se(11938),yn=Object.defineProperty,Xn=Object.defineProperties,Qn=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,Lr=(It,Nt,kt)=>Nt in It?yn(It,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):It[Nt]=kt,Er=(It,Nt)=>{for(var kt in Nt||(Nt={}))Br.call(Nt,kt)&&Lr(It,kt,Nt[kt]);if(cr)for(var kt of cr(Nt))ar.call(Nt,kt)&&Lr(It,kt,Nt[kt]);return It},Wn=(It,Nt)=>Xn(It,Qn(Nt)),Ir=(It,Nt)=>{var kt={};for(var mn in It)Br.call(It,mn)&&Nt.indexOf(mn)<0&&(kt[mn]=It[mn]);if(It!=null&&cr)for(var mn of cr(It))Nt.indexOf(mn)<0&&ar.call(It,mn)&&(kt[mn]=It[mn]);return kt};const{Countdown:Or}=jn.default;var Qt=It=>{var Nt=It,{onChange:kt}=Nt,mn=Ir(Nt,["onChange"]);const[_n,Yn]=(0,re.useState)(null);(0,re.useEffect)(()=>{typeof _n=="number"&&_n>=0&&kt(_n)},[_n]);const Hn=rr=>{const fr=Math.floor(rr/1e3);Yn(fr)};return re.createElement(Or,Wn(Er({},mn),{onChange:Hn}))}},17904:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ne}});var re=se(59301);function Ne(Te,Fe){const Ee=(0,re.useRef)();(0,re.useEffect)(()=>{Ee.current=Te}),(0,re.useEffect)(()=>{function fe(){Ee.current()}if(Fe!==null){let Oe=setInterval(fe,Fe);return()=>clearInterval(Oe)}},[Fe])}},69577:function(bn,cn,se){"use strict";se.d(cn,{Q8:function(){return he},d0:function(){return qe},w6:function(){return xe}});var re=se(59301),Ne=se(16326),Te=se(82326),Fe=se(6767),Ee=se(62957),fe=se(47889),Oe=se(77019),Ce=se(5269),Pe=se(25399),oe=se(62673),nt=se(99571),ye=se(61186),Ke=se.n(ye),Ie=se(34055),Ye=se(82093),He=se(89392),je=se.n(He),st=se(49661),at=se(69063),rt=se(76560),ke=se(2748),be=se(23869),Ve=se(97202),Ge=se(6681),ft=se(67135),ge=se(59301),Ae=Object.defineProperty,ze=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Rt=(tt,Ht,We)=>Ht in tt?Ae(tt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:We}):tt[Ht]=We,ht=(tt,Ht)=>{for(var We in Ht||(Ht={}))Re.call(Ht,We)&&Rt(tt,We,Ht[We]);if(_e)for(var We of _e(Ht))Je.call(Ht,We)&&Rt(tt,We,Ht[We]);return tt},mt=(tt,Ht)=>ze(tt,Ze(Ht)),St=(tt,Ht,We)=>new Promise((yt,Qe)=>{var Bt=ie=>{try{ce(We.next(ie))}catch(z){Qe(z)}},bt=ie=>{try{ce(We.throw(ie))}catch(z){Qe(z)}},ce=ie=>ie.done?yt(ie.value):Promise.resolve(ie.value).then(Bt,bt);ce((We=We.apply(tt,Ht)).next())});function xe(tt,Ht){const We=[];for(let yt=tt;yt<Ht;yt++)We.push(yt);return We}const he=(tt,Ht,We)=>{const yt=tt<Ke()().startOf("day"),Qe=tt>Ke()(Ht).endOf("day"),Bt=tt<Ke()(We).startOf("day");return Ht?We?Ke()()<=Ke()(We)?Bt||Qe:yt||Qe:tt&&yt||Qe:We&&Ke()()<=Ke()(We)?Bt:yt},qe=(tt,Ht)=>{const We=parseInt(Ke()(tt).format("HH")),yt=parseInt(Ke()().format("HH")),Qe=parseInt(Ke()().format("mm"));if(!tt)return{disabledHours:()=>xe(0,yt),disabledMinutes:()=>xe(0,Qe)};if(Ht){const Bt=parseInt(Ke()(Ht).format("HH")),bt=parseInt(Ke()(Ht).format("mm"));return Ke()(tt).isSame(Ke()(Ht),"day")?{disabledHours:()=>xe(0,Bt),disabledMinutes:()=>We<=Bt?xe(0,bt):[]}:void 0}if(Ke()(tt).isSame(Ke()(),"day"))return{disabledHours:()=>xe(0,yt),disabledMinutes:()=>Ke()(tt).isSame(Ke()(),"hour")&&We<=yt?xe(0,Qe):[]}},Tt=(tt,Ht)=>tt==null?void 0:tt.map(We=>{var yt;return(yt=Ht==null?void 0:Ht.find(Qe=>Qe.value===We))==null?void 0:yt.id}),{RangePicker:Mt}=Ne.default,{Option:Xe}=Te.default,Ct=({shixunHomeworks:tt,loading:Ht,dispatch:We,classroomList:yt,user:Qe})=>{var Bt,bt,ce,ie,z,ee,ne,te,ue;const me=(0,rt.useParams)(),{workSetting:Se,workList:Dt,shixunWorkList:Ue,headerInfo:$e,changeData:ot}=tt,[vt,zt]=(0,re.useState)(!1),[tn,jt]=(0,re.useState)(!1);let[on,Jt]=(0,re.useState)([]),[Pt,ct]=(0,re.useState)([]),[Ut,_t]=(0,re.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ke.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[gn,Mn]=(0,re.useState)({}),[jn,yn]=(0,re.useState)({});(0,re.useEffect)(()=>()=>{Jt([])},[]),(0,re.useEffect)(()=>{zt(!(0,Ie.GJ)())},[(0,Ie.GJ)()]);const Xn=()=>{We({type:"shixunHomeworks/getWorkSetting",payload:ht({},me)})};(0,re.useEffect)(()=>{if(!(Se!=null&&Se.course_id))return;Object.keys(Ut).map(function(Qt){Ut[Qt]=Se[Qt]}),(!Ut.allow_late||!Ut.unified_late)&&(Ut.late_penalty=20,Ut.penalty_type=ke.Q.Percent),Ut.unified_setting||(Ut.unified_late=!1,Ut.unified_anonymous_comment=!1,Ut.unified_anonymous_appeal=!1),on=JSON.parse(JSON.stringify(Se.group_settings.map(Qt=>mt(ht({},Qt),{group_name:[Qt.group_name]})).filter(Qt=>Qt.publish_time!==null))),Pt=JSON.parse(JSON.stringify(Se.allow_late_settings.map(Qt=>mt(ht({},Qt),{group_name:[Qt.group_name]})).filter(Qt=>Qt.late_time!==null))),_t(ht({},Ut));const Ft=(0,st.QE)((on==null?void 0:on.length)>0?on:[]);Jt([...Ft]),(Pt==null?void 0:Pt.length)<=0?ct([{penalty_type:ke.Q.Percent,late_penalty:20}]):ct([...Pt])},[Se]);const Qn=()=>St(void 0,null,function*(){var Ft,Qt;if(((Ft=Qe==null?void 0:Qe.userInfo)==null?void 0:Ft.user_status)===2){(0,be.Rd)();return}const It=JSON.parse(JSON.stringify(Ut));if(It.challenge_settings.filter(kt=>!kt.hide),It.categoryId=me.categoryId,(Qt=It.challenge_settings)!=null&&Qt.every(kt=>!kt.checked)){Fe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(on),!Ut.unified_setting)on=on==null?void 0:on.map(kt=>{var mn;if(!kt.publish_time||!kt.end_time)throw Fe.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!kt.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return kt.group_name=typeof(kt==null?void 0:kt.group_name)=="string"?[kt==null?void 0:kt.group_name]:kt==null?void 0:kt.group_name,kt.group_id=(mn=Se.group_settings)==null?void 0:mn.filter(_n=>{var Yn;return(Yn=kt==null?void 0:kt.group_name)==null?void 0:Yn.includes(_n.group_name)}).map(_n=>_n.group_id||_n.id).toString().split(","),kt});else if(!Ut.publish_time||!Ut.end_time)throw Fe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(It.group_settings=on,Ut.allow_late)if(Ut.unified_late){if(Ut.late_penalty===null||Ut.late_penalty===void 0||Ut.late_penalty<0||Ut.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ut.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Pt=Pt==null?void 0:Pt.map(kt=>{var mn,_n;if(kt.late_penalty===null||kt.late_penalty===void 0||kt.late_penalty<0||kt.late_penalty>100)throw Fe.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!kt.late_time)throw Fe.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!kt.group_name)throw Fe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return kt.group_name=typeof(kt==null?void 0:kt.group_name)=="string"?[kt==null?void 0:kt.group_name]:kt==null?void 0:kt.group_name,kt.group_id=(_n=(mn=kt==null?void 0:kt.group_name)==null?void 0:mn.map(Yn=>{var Hn,rr;let fr=(rr=(Hn=Se.group_settings)==null?void 0:Hn.filter(dr=>(dr==null?void 0:dr.group_name)===Yn))==null?void 0:rr[0];return fr==null?void 0:fr.group_id}))==null?void 0:_n.toString().split(","),kt}),It.allow_late_settings=Pt;let Nt=yield(0,ft.Tr)({homework_common_ids:[parseInt(me.categoryId)],course_id:me.coursesId,type:"homework_common"});(Nt==null?void 0:Nt.student_count)===0?cr(It):(yn(It),Mn(Nt))}),cr=Ft=>{var Qt;if(Ft.total_score===null){Fe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ft!=null&&Ft.work_efficiency&&Ft.eff_score===null){Fe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const It=Ft.challenge_settings.reduce((mn,_n)=>mn+Number(_n.challenge_score),0);if((It==null?void 0:It.toFixed(10))!==((Qt=Ft.total_score-Ft.eff_score)==null?void 0:Qt.toFixed(10))){Fe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Ft.total_score}\u5206`);return}const Nt={shixun_evaluation:Ft.shixun_evaluation,challenge_settings:Ft.challenge_settings};let kt=()=>{var mn;const _n=()=>St(void 0,null,function*(){jt(!0),(yield(0,Ye.ZP)(`/api/homework_commons/${me.categoryId}/publish_setting.json`,{method:"post",body:ht({},Ft)})).status===0&&(Fe.ZP.success("\u66F4\u65B0\u6210\u529F"),Xn(),We({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:ht({},me)})),jt(!1)});!(0,He.isEqual)(ot,Nt)&&!((mn=$e==null?void 0:$e.homework_status)!=null&&mn.includes("\u672A\u53D1\u5E03"))?Ee.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:_n}):_n()};Se!=null&&Se.high_resources_consume&&!(Se!=null&&Se.high_resources_consume_permission)?We({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:me.coursesId,type:"shixun",type_id:me.categoryId,name:Se.homework_name,fn:()=>{kt()}}}):kt()},Br=(Ft,Qt,It="group_id")=>{var Nt;return Qt?Qt.find(kt=>kt[It]===Ft):(Nt=Se==null?void 0:Se.group_settings)==null?void 0:Nt.find(kt=>kt.group_id[0]===Ft)},ar=(Se==null?void 0:Se.allow_late)||(Se==null?void 0:Se.anonymous_comment),Lr=Ft=>{var Qt,It;const Nt=Br(Ft,Se==null?void 0:Se.allow_late_settings,"id"),kt=Br(Ft,Se==null?void 0:Se.anonymous_comment_settings),mn=Br(Ft);return(Se==null?void 0:Se.allow_late)&&Nt&&Ke()(Nt==null?void 0:Nt.late_time)<=Ke()()||(Se==null?void 0:Se.anonymous_comment)&&kt&&(kt==null?void 0:kt.evaluation_start)!==null||((It=(Ke()(mn==null?void 0:mn.end_time)<=Ke()()&&((Qt=Se==null?void 0:Se.allow_late_settings)==null?void 0:Qt.filter(_n=>_n.group_id.includes(Ft))))[0])==null?void 0:It.late_time)!=null},Er=(0,re.useMemo)(()=>(Se==null?void 0:Se.allow_late)||(Se==null?void 0:Se.all_group_late),[Se,$e]),Wn=Se==null?void 0:Se.anonymous_comment,Ir=Ft=>{if(!Ft)return!1;const Qt=Br(Ft,Se==null?void 0:Se.anonymous_comment_settings);return(Se==null?void 0:Se.anonymous_comment)&&Qt&&(Qt==null?void 0:Qt.evaluation_start)!==null},Or=(Ft,Qt)=>{var It,Nt,kt,mn,_n;Ft!=null&&Ft.group_id||(Ft.group_id=Tt(Ft==null?void 0:Ft.group_name,Se==null?void 0:Se.group_settings)),We({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Ft,index:Qt,rangePickerDisabled:(Nt=(It=Ft==null?void 0:Ft.group_id)==null?void 0:It[0])!=null&&Nt.publish_time?vt||(Ke()()<=Ke()((mn=Br((kt=Ft==null?void 0:Ft.group_id)==null?void 0:kt[0]))==null?void 0:mn.publish_time)?!1:[!0,Lr((_n=Ft==null?void 0:Ft.group_id)==null?void 0:_n[0])]):!1,disabledDate:Se==null?void 0:Se.course_end_date}})};return ge.createElement("section",{className:at.Z.form},ge.createElement("div",{className:at.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ge.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),ge.createElement("div",null,ge.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ge.createElement(fe.ZP.Group,{disabled:vt||!((Bt=$e==null?void 0:$e.homework_status)!=null&&Bt.includes("\u672A\u53D1\u5E03"))||(0,Ie.Rm)()&&!((bt=yt.AssistantObject.practice)!=null&&bt.can_publish),value:Ut.unified_setting,onChange:Ft=>{var Qt;if(!((Qt=$e==null?void 0:$e.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))){Fe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ut.unified_setting=!Ut.unified_setting,Ut.unified_setting||(Ut.unified_late=!1,ct([{late_penalty:5}])),_t(Object.assign({},Ut)),Ut.unified_setting===!1&&on==""){Jt(on.concat({}));return}Ut.unified_setting&&(Jt([]),ct([{late_penalty:5}]))}},ge.createElement(fe.ZP,{value:!0,disabled:vt||!(Se!=null&&Se.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ge.createElement(fe.ZP,{disabled:vt||!((ce=Se==null?void 0:Se.group_settings)!=null&&ce.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ie=Se==null?void 0:Se.group_settings)==null?void 0:ie.length)===0&&ge.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Ut.unified_setting&&ge.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ge.createElement(Oe.Z,{align:"middle"},ge.createElement(Ce.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ge.createElement(Ce.Z,{className:"ml10"},ge.createElement(Ne.default,{size:"large",disabled:vt||!((z=$e==null?void 0:$e.homework_status)!=null&&z.includes("\u672A\u53D1\u5E03")||(ee=$e==null?void 0:$e.homework_status)!=null&&ee.includes("\u672A\u5F00\u59CB"))||(0,Ie.Rm)()&&!((ne=yt.AssistantObject.practice)!=null&&ne.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Ft=>he(Ft,Se==null?void 0:Se.course_end_date),disabledTime:Ft=>qe(Ft),value:Ut.publish_time?Ke()(Ut.publish_time):"",onChange:(Ft,Qt)=>{Ut.publish_time=Qt,(Ut.end_time==""||!Ut.end_time)&&Ut.unified_setting&&(Ut.end_time=Ke()(Ft).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),_t(Object.assign({},Ut))}}))),ge.createElement(Oe.Z,{align:"middle",className:"pl30"},ge.createElement(Ce.Z,null,"\u622A\u6B62\u65F6\u95F4"),ge.createElement(Ce.Z,{className:"ml10"},ge.createElement(Ne.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ke()((0,st.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Se==null?void 0:Se.allow_late)&&(Se==null?void 0:Se.homework_status.includes("\u5DF2\u622A\u6B62"))||vt||(Se==null?void 0:Se.allow_late)&&Ke()()>=Ke()(Se==null?void 0:Se.end_time)||(0,Ie.Rm)()&&!((te=yt.AssistantObject.practice)!=null&&te.can_publish),disabledDate:Ft=>he(Ft,Se==null?void 0:Se.course_end_date,Ut.publish_time),disabledTime:Ft=>qe(Ft,Ut.publish_time),value:Ut.end_time?Ke()(Ut.end_time):"",onChange:(Ft,Qt)=>{Ut.end_time=Qt,_t(Object.assign({},Ut))}})))),!Ut.unified_setting&&(on==null?void 0:on.length)>0&&ge.createElement(Oe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},on&&on.map(function(Ft,Qt){var It,Nt,kt,mn,_n,Yn,Hn;return ge.createElement(Ce.Z,{span:24,key:Qt},ge.createElement(Oe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Qt==(on==null?void 0:on.length)-1?"0px":"10px"}},ge.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Qt+1),ge.createElement(Te.default,{disabled:vt||((It=$e==null?void 0:$e.homework_status)!=null&&It.includes("\u672A\u53D1\u5E03")&&Ft.id||Ke()()<Ke()(Ft==null?void 0:Ft.publish_time)?!1:!!(Ft!=null&&Ft.publish_time))||(0,Ie.Rm)()&&!((Nt=yt.AssistantObject.practice)!=null&&Nt.can_publish),mode:"multiple",className:at.Z.multiple_select,style:{width:"250px"},value:Ft.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:rr=>{var fr;if((0,Ie.Rm)()&&!((fr=yt.AssistantObject.practice)!=null&&fr.can_publish)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on[Qt].group_name=rr,on[Qt].group_id=Ft.group_id;const dr=(0,He.flattenDeep)(on.map(Tr=>Tr.group_name)),Cr=Pt.map(Tr=>{let Ln=(Tr==null?void 0:Tr.group_name)||[];return mt(ht({},Tr),{group_name:(0,He.remove)(Ln,$t=>dr.includes($t))})});ct(Cr),Jt(on.slice())},maxTagCount:4,maxTagPlaceholder:rr=>ge.createElement("div",{style:{cursor:"pointer"},onClick:()=>Or(Ft,Qt)},"+",rr==null?void 0:rr.length)},Se.group_settings&&Se.group_settings.map(function(rr){if(!on.map(dr=>dr.group_name).flat().includes(rr.group_name))return ge.createElement(Xe,{value:rr.group_name,key:rr.id},rr.group_name)})),ge.createElement("div",{className:"ml20"},ge.createElement(Mt,{size:"large",ranges:{\u6B64\u523B:[Ft.publish_time?Ke()(Ft.publish_time):Ke()(),Ke()()]},allowClear:!1,disabled:vt||(Ke()()<=Ke()((mn=Br((kt=Ft==null?void 0:Ft.group_id)==null?void 0:kt[0]))==null?void 0:mn.publish_time)?!1:[!0,Lr((_n=Ft==null?void 0:Ft.group_id)==null?void 0:_n[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:rr=>he(rr,Se==null?void 0:Se.course_end_date),disabledTime:rr=>qe(rr),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ke()((0,st.U6)(),"HH:mm"),Ke()((0,st.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Ft.publish_time?Ke()(Ft.publish_time):void 0,Ft.end_time?Ke()(Ft.end_time):void 0],onChange:(rr,fr)=>{var dr;if((0,Ie.Rm)()&&!((dr=yt.AssistantObject.practice)!=null&&dr.can_publish)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on[Qt].publish_time=fr[0],!Ft.end_time&&fr[0]?on[Qt].end_time=Ke()(fr[0]).add(7,"days"):on[Qt].end_time=fr[1],Jt([...on])},onCalendarChange:(rr,fr,dr)=>{if(fr!=null&&fr[0]&&!fr[1]){const Cr=Ke()(fr[0]).add(7,"days");on[Qt].publish_time=fr[0],on[Qt].end_time=Cr,Jt([...on])}}})),!vt&&ge.createElement("div",{style:{display:"flex",width:"50px"}},((Yn=Ft==null?void 0:Ft.group_id)==null?void 0:Yn.length)>1&&ge.createElement(Pe.Z,{title:"\u89C4\u5219\u62C6\u5206"},ge.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Or(Ft,Qt)})),on.length<((Hn=Se==null?void 0:Se.group_settings)==null?void 0:Hn.length)&&ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var rr;if((0,Ie.Rm)()&&!((rr=yt.AssistantObject.practice)!=null&&rr.can_publish)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt(on.concat({}))}}),((Ft==null?void 0:Ft.publish_time)&&Ke()()<Ke()(Ft==null?void 0:Ft.publish_time)||!(Ft!=null&&Ft.publish_time))&&Qt!=0&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const rr=(0,He.cloneDeep)(Pt);rr.forEach((fr,dr)=>{fr.group_name&&(fr.group_name=fr.group_name.filter(Cr=>{var Tr;return!((Tr=on[Qt].group_name)!=null&&Tr.includes(Cr))}))}),on=on.filter((fr,dr)=>Qt!==dr),ct(rr),Jt(on.slice()),setTimeout(()=>Jt(on.slice()),10)}}))))}))),ge.createElement(Oe.Z,null,ge.createElement(Ce.Z,null,ge.createElement("div",{className:at.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ge.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),ge.createElement(Ce.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ge.createElement(oe.default,{checked:Ut.allow_late,disabled:vt||Er,onChange:Ft=>{var Qt;if((0,Ie.Rm)()&&!((Qt=yt.AssistantObject.practice)!=null&&Qt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ft.target.checked&&Ee.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ge.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ge.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),ge.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ge.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Ut.allow_late=!Ut.allow_late,Pt==""&&ct([{late_penalty:5}]),_t(Object.assign({},Ut))}},ge.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Ut==null?void 0:Ut.allow_late)&&ge.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ge.createElement("div",{style:{display:"flex"}},ge.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ge.createElement(fe.ZP.Group,{style:{marginLeft:"20px"},disabled:vt||(Se==null?void 0:Se.anonymous_comment)||(Se==null?void 0:Se.allow_late),value:Ut.unified_late,onChange:Ft=>{var Qt;if((0,Ie.Rm)()&&!((Qt=yt.AssistantObject.practice)!=null&&Qt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut.unified_late=Ft.target.value,Pt==""&&!Ft.target.value&&ct([{penalty_type:ke.Q.Percent,late_penalty:20}]),_t(ht({},Ut))}},(Ut==null?void 0:Ut.unified_setting)&&ge.createElement(fe.ZP,{value:!0,disabled:!(Se!=null&&Se.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ue=Se==null?void 0:Se.group_settings)==null?void 0:ue.length)>0&&ge.createElement(fe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ut!=null&&Ut.unified_late?ge.createElement(ge.Fragment,null,ge.createElement(Oe.Z,{align:"middle",style:{marginTop:"10px"}},ge.createElement(Ce.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ge.createElement(Ce.Z,{className:"ml20"},ge.createElement(ke.Z,{disabled:vt||Wn,value:{type:Ut.penalty_type,inputValue:Ut.late_penalty},onChange:Ft=>{var Qt;if((0,Ie.Rm)()&&!((Qt=yt.AssistantObject.practice)!=null&&Qt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_t(mt(ht({},Ut),{late_penalty:Ft.inputValue,penalty_type:Ft.type}))}})),ge.createElement(Ce.Z,{flex:"1",className:"ml5"},ge.createElement("span",{className:"c-grey-c ml10"},Ut.penalty_type===ke.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),ge.createElement(Oe.Z,{align:"middle",style:{marginTop:"15px"}},ge.createElement(Ce.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(Ce.Z,{className:"ml20"},ge.createElement(Ne.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ke()((0,st.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:vt||Wn,value:Ut.late_time?Ke()(Ut.late_time):"",disabledDate:Ft=>he(Ft,Se==null?void 0:Se.course_end_date),onChange:(Ft,Qt)=>{var It;if((0,Ie.Rm)()&&!((It=yt.AssistantObject.practice)!=null&&It.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ut.late_time=Qt,_t(Object.assign({},Ut))}})))):Pt.map(function(Ft,Qt){var It;return ge.createElement(Ce.Z,{span:24,key:Qt},ge.createElement(Oe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ge.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Qt+1),ge.createElement(Te.default,{disabled:vt||!((It=$e==null?void 0:$e.homework_status)!=null&&It.includes("\u672A\u53D1\u5E03"))&&Ft.id||(Se==null?void 0:Se.anonymous_comment),mode:"multiple",className:at.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Ft.group_name=="string"?[Ft.group_name]:Ft.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Nt=>{var kt;if((0,Ie.Rm)()&&!((kt=yt.AssistantObject.practice)!=null&&kt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pt[Qt].group_name=Nt,Pt[Qt].group_id=Ft.group_id,ct(Pt.slice())}},Se.group_settings&&Se.group_settings.map(function(Nt){const kt=Pt.map(_n=>_n.group_name).flat(),mn=on.map(_n=>_n.group_name).flat();if(Ut!=null&&Ut.unified_setting){if(!kt.includes(Nt.group_name))return ge.createElement(Xe,{value:Nt.group_name,key:Nt.id},Nt.group_name)}else if(mn.includes(Nt.group_name)&&!kt.includes(Nt.group_name))return ge.createElement(Xe,{value:Nt.group_name,key:Nt.id},Nt.group_name)})),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ge.createElement(ke.Z,{disabled:vt||Ir(Ft.id),value:{type:Ft.penalty_type,inputValue:Ft.late_penalty},onChange:Nt=>{var kt;if((0,Ie.Rm)()&&!((kt=yt.AssistantObject.practice)!=null&&kt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pt[Qt].late_penalty=Nt.inputValue,Pt[Qt].penalty_type=Nt.type,ct([...Pt])}}),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(Ne.default,{size:"large",disabled:vt||Ir(Ft.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ke()((0,st.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Nt=>he(Nt,Se==null?void 0:Se.course_end_date),format:"YYYY-MM-DD HH:mm",value:Ft!=null&&Ft.late_time?Ke()(Ft.late_time):void 0,onChange:(Nt,kt)=>{var mn;if((0,Ie.Rm)()&&!((mn=yt.AssistantObject.practice)!=null&&mn.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pt[Qt].late_time=kt,ct([...Pt])}}),!vt&&ge.createElement("div",{style:{display:"flex",width:"50px"}},ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Nt;if((0,Ie.Rm)()&&!((Nt=yt.AssistantObject.practice)!=null&&Nt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ct(Pt.concat({penalty_type:ke.Q.Percent,late_penalty:20}))}}),Qt>0&&!Ft.id&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var Nt;if((0,Ie.Rm)()&&!((Nt=yt.AssistantObject.practice)!=null&&Nt.can_late)){Fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pt=Pt.filter((kt,mn)=>Qt!==mn),ct(Pt.slice()),setTimeout(()=>ct(Pt.slice()),10)}}))))})),!vt&&ge.createElement(ge.Fragment,null,ge.createElement(nt.ZP,{type:"primary",size:"large",loading:tn,style:{width:"138px",marginTop:"30px"},onClick:()=>Qn()},"\u4FDD\u5B58")),ge.createElement(Ve.Z,{onConfirm:(Ft,Qt)=>{on.splice(Ft,0,...Qt),on.splice(Ft+Qt.length,1);const It=(0,st.QE)([...on]);Jt([...It])}}),ge.createElement(Ge.Z,{resdata:gn,type:"shixun",okloading:tn,oktext:(gn==null?void 0:gn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Ft=>St(void 0,null,function*(){jt(!0);let Qt=yield(0,Ye.ZP)(`/api/courses/${me.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(me.categoryId)]}});jt(!1),(Qt==null?void 0:Qt.status)===0&&cr(jn)})}))};cn.ZP=(0,rt.connect)(({shixunHomeworks:tt,classroomList:Ht,loading:We,user:yt})=>({shixunHomeworks:tt,classroomList:Ht,loading:We.effects,user:yt}))(Ct)},97202:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return je}});var re=se(59301),Ne=se(76560),Te=se(16326),Fe=se(62957),Ee=se(37568),fe=se(6767),Oe=se(77019),Ce=se(5269),Pe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},oe=se(61186),nt=se.n(oe),ye=se(49661),Ke=se(57884),Ie=se(59301);const{RangePicker:Ye}=Te.default,He=({dispatch:st,classroomList:at,onConfirm:rt})=>{const[ke,be]=(0,re.useState)([]),[Ve,Ge]=(0,re.useState)([]),[ft,ge]=(0,re.useState)(""),[Ae,ze]=(0,re.useState)([!1,!1]);(0,re.useEffect)(()=>{var Re,Je,Rt,ht;if(at.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Re=at.actionTabs)==null?void 0:Re.rangePickerDisabled),(Je=at.actionTabs)!=null&&Je.rangePickerDisabled?ze((Rt=at.actionTabs)==null?void 0:Rt.rangePickerDisabled):ze([!1,!1]);let mt=at.actionTabs.data,St=(ht=mt==null?void 0:mt.group_name)==null?void 0:ht.map((xe,he)=>{var qe;return{group_id:mt==null?void 0:mt.group_id[he],group_name:mt==null?void 0:mt.group_name[he],is_admin:mt==null?void 0:mt.is_admin,end_time:mt==null?void 0:mt.end_time,publish_time:Array.isArray(mt==null?void 0:mt.publish_time)?(qe=mt==null?void 0:mt.publish_time)==null?void 0:qe[0]:mt==null?void 0:mt.publish_time}});St&&(be([...St]),Ge([...St]))}},[at.actionTabs]);const Ze=()=>{st({type:"classroomList/setActionTabs",payload:{}}),ge("")},_e=Re=>{if(Re){const Je=Ve==null?void 0:Ve.filter(Rt=>{var ht,mt;return(mt=(ht=Rt==null?void 0:Rt.group_name)==null?void 0:ht.toLowerCase())==null?void 0:mt.includes(Re==null?void 0:Re.toLowerCase())});be(Je)}else be(Ve)};return Ie.createElement(Fe.default,{width:980,title:Ie.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Ie.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Ie.createElement("span",{className:Pe.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Ie.createElement(Ee.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:ft,onChange:Re=>{ge(Re.target.value.trim()),_e(Re.target.value.trim())}})),centered:!0,maskClosable:!1,open:at.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ze(),onOk:()=>{var Re;if(Ve.some(Rt=>!Rt.end_time||!Rt.publish_time)){fe.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}rt((Re=at.actionTabs)==null?void 0:Re.index,Ve),Ze()}},Ie.createElement("div",{className:Pe.modal_con},Ie.createElement(Oe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ke==null?void 0:ke.length)>0?ke.map(function(Re,Je){return Ie.createElement(Ce.Z,{span:24,key:Je},Ie.createElement(Oe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Je==(ke==null?void 0:ke.length)-1?"0px":"10px"}},Ie.createElement("div",{className:Pe.multiple_select,title:Re==null?void 0:Re.group_name},Re==null?void 0:Re.group_name),Ie.createElement("div",{className:"ml20"},Ie.createElement(Ye,{size:"large",allowClear:!1,disabled:Ae,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Rt=>{var ht;return(0,ye.Q8)(Rt,(ht=at.actionTabs)==null?void 0:ht.disabledDate)},disabledTime:Rt=>(0,ye.d0)(Rt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[nt()((0,ye.U6)(),"HH:mm"),nt()((0,ye.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Re==null?void 0:Re.publish_time)&&[nt()(Re==null?void 0:Re.publish_time),Re!=null&&Re.end_time?nt()(Re==null?void 0:Re.end_time):void 0],onChange:(Rt,ht)=>{ke[Je].publish_time=ht[0],ke[Je].end_time=ht[1],be([...ke]),Ve.forEach(mt=>{mt.group_id===(Re==null?void 0:Re.group_id)&&(mt.publish_time=ht[0],mt.end_time=ht[1])}),Ge([...Ve])},onCalendarChange:(Rt,ht,mt)=>{if(ht!=null&&ht[0]&&!ht[1]){const St=nt()(ht[0]).add(7,"days");ke[Je].publish_time=ht[0],ke[Je].end_time=St,be([...ke]),Ve.forEach(xe=>{xe.group_id===(Re==null?void 0:Re.group_id)&&(xe.publish_time=ht[0],xe.end_time=St)}),Ge([...Ve])}}})),Ae[0]?Ie.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Ie.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ke.splice(Je,1),be([...ke]),Ve.forEach((Rt,ht)=>{Rt.group_id===(Re==null?void 0:Re.group_id)&&Ve.splice(ht,1)}),Ge([...Ve])}})))}):Ie.createElement(Ke.Z,null))))};var je=(0,Ne.connect)(({classroomList:st})=>({classroomList:st}))(He)},33878:function(bn,cn,se){"use strict";se.r(cn),se.d(cn,{default:function(){return te}});var re=se(59301),Ne=se(76560),Te=se(458),Fe=se(6767),Ee=se(14566),fe=se(25399),Oe=se(77019),Ce=se(49661),Pe=se(21981),oe=se(90524),nt=se(82093),ye=se(62957),Ke={flex_box_center:"flex_box_center___dejrx",flex_space_between:"flex_space_between___WBGxf",flex_box_vertical_center:"flex_box_vertical_center___OMTvG",flex_box_center_end:"flex_box_center_end___FHZRS",flex_box_column:"flex_box_column___cDBl4",File:"File___Vzzv4",deletfileIcon:"deletfileIcon___snNZ9",wrap:"wrap___eGzSn",row:"row___qfnoA",img:"img___Ftdlp"},Ie=se(71360),Ye=se(32855),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},je=He,st=se(7657),at=function(me,Se){return re.createElement(st.Z,(0,Ye.Z)({},me,{ref:Se,icon:je}))},rt=re.forwardRef(at),ke=rt,be=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ze=(ue,me,Se)=>me in ue?be(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ue[me]=Se,Ze=(ue,me)=>{for(var Se in me||(me={}))ge.call(me,Se)&&ze(ue,Se,me[Se]);if(ft)for(var Se of ft(me))Ae.call(me,Se)&&ze(ue,Se,me[Se]);return ue},_e=(ue,me)=>Ve(ue,Ge(me)),Re=(ue,me,Se)=>new Promise((Dt,Ue)=>{var $e=zt=>{try{vt(Se.next(zt))}catch(tn){Ue(tn)}},ot=zt=>{try{vt(Se.throw(zt))}catch(tn){Ue(tn)}},vt=zt=>zt.done?Dt(zt.value):Promise.resolve(zt.value).then($e,ot);vt((Se=Se.apply(ue,me)).next())}),Rt=({visible:ue,data:me,onClose:Se=()=>{},sendUrl:Dt})=>{var Ue,$e,ot;const[vt,zt]=(0,re.useState)([]),tn=vt.map(Jt=>{var Pt;return Jt.response?_e(Ze({},Jt),{linkProps:{download:!0},url:(Pt=Jt==null?void 0:Jt.response)==null?void 0:Pt.url}):Jt});(0,re.useEffect)(()=>{var Jt;ue&&zt(((Jt=me==null?void 0:me.attachments)==null?void 0:Jt.map(Pt=>({name:Pt.title,status:"done",linkProps:{download:!0},response:{id:Pt.id,url:Pt.url}})))||[])},[ue]);const jt={multiple:!0,withCredentials:!0,fileList:tn,beforeUpload:Jt=>Jt.size/1024/1024>150?(Fe.ZP.error(`\u300A${Jt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Ee.default.LIST_IGNORE):!0,itemRender:(Jt,Pt)=>{var ct;return re.createElement(Oe.Z,{wrap:!1,align:"middle",justify:"space-between",className:`ant-upload-list-item ant-upload-list-item-done ${Ke.File}`},re.createElement("a",{download:"download",onClick:Ut=>{var _t;console.log(Pt,"file"),Ut.preventDefault(),(0,Ce.Nd)("",`${oe.Z.API_SERVER}${(_t=Pt==null?void 0:Pt.url)==null?void 0:_t.replace("disposition=inline","")}`)},title:Pt==null?void 0:Pt.name,href:Pt.url},re.createElement(ke,{className:"mr10 c-grey-666"}),(0,Ce.tP)(Pt==null?void 0:Pt.name,35)),((ct=Pt==null?void 0:Pt.response)==null?void 0:ct.id)&&re.createElement("i",{className:`iconfont icon-shanchu14 font14 ${Ke.deletfileIcon}`,onClick:()=>Re(void 0,null,function*(){(yield on(tn==null?void 0:tn.filter(_t=>_t.response.id!=Pt.response.id))).status==0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),zt(tn==null?void 0:tn.filter(_t=>{var gn,Mn;return((gn=_t==null?void 0:_t.response)==null?void 0:gn.id)!=((Mn=Pt==null?void 0:Pt.response)==null?void 0:Mn.id)})))})}))},action:`${oe.Z.API_SERVER}/api/attachments.json`,onChange:Jt=>{const Pt=(0,Ce.uD)(Jt);zt(Pt),Pt.every(ct=>ct.status!=="uploading")&&on(Pt)}},on=Jt=>Re(void 0,null,function*(){const Pt=yield(0,nt.ZP)(Dt,{method:"post",body:{graduation_task_id:me.id,attachment_ids:Jt.filter(ct=>ct.status==="done").map(ct=>{var Ut;return(Ut=ct==null?void 0:ct.response)==null?void 0:Ut.id})}});return Pt.status,Pt});return re.createElement(ye.default,{centered:!0,destroyOnClose:!0,onCancel:Se,open:ue,footer:null,title:"\u4EFB\u52A1\u4E66\u8BE6\u60C5",width:620,className:"pb20",afterClose:()=>{zt([])}},re.createElement("div",{className:Ke.wrap},re.createElement("div",{className:Ke.row},re.createElement("div",null,"\u8BFE\u9898\u540D\u79F0"),re.createElement("div",{title:me.name},me.name)),re.createElement("div",{className:Ke.row},re.createElement("div",null,"\u6307\u5BFC\u8001\u5E08"),re.createElement("div",null,(Ue=me==null?void 0:me.teachers)!=null&&Ue.length?(ot=($e=me==null?void 0:me.teachers)==null?void 0:$e.map(Jt=>Jt.real_name))==null?void 0:ot.join("\u3001"):"--")),re.createElement("div",{className:Ke.row},re.createElement("div",null,"\u8BFE\u9898\u6765\u6E90"),re.createElement("div",null,me.source||"--")),re.createElement("div",{className:Ke.row},re.createElement("div",null,"\u9009\u9898\u5B66\u751F"),re.createElement("div",null,me.real_name||"--")),me.status===1&&re.createElement("div",{className:`${Ke.img} iconfont icon-yixiada`}),re.createElement(Ee.default,Ze({},jt),re.createElement(Oe.Z,{align:"middle",className:"mt10"},re.createElement(Ie.op,{style:{borderRadius:2}},re.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),re.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:Jt=>{Jt.stopPropagation()}},"\u4E0A\u4F20\u4EFB\u52A1\u4E66\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))),re.createElement("div",{style:{height:"20px"}})))},ht=Object.defineProperty,mt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,he=(ue,me,Se)=>me in ue?ht(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ue[me]=Se,qe=(ue,me)=>{for(var Se in me||(me={}))St.call(me,Se)&&he(ue,Se,me[Se]);if(mt)for(var Se of mt(me))xe.call(me,Se)&&he(ue,Se,me[Se]);return ue},Tt=(ue,me,Se)=>new Promise((Dt,Ue)=>{var $e=zt=>{try{vt(Se.next(zt))}catch(tn){Ue(tn)}},ot=zt=>{try{vt(Se.throw(zt))}catch(tn){Ue(tn)}},vt=zt=>zt.done?Dt(zt.value):Promise.resolve(zt.value).then($e,ot);vt((Se=Se.apply(ue,me)).next())});const Mt=({graduations:ue,dispatch:me})=>{var Se;const Dt=(0,Ne.useParams)(),[Ue,$e]=(0,re.useState)([]),[ot,vt]=(0,re.useState)({}),[zt,tn]=(0,re.useState)(!1),[jt,on]=(0,re.useState)(1),Jt=(0,re.useRef)(null),Pt=(0,re.useRef)([]),ct=(Se=location.pathname.split("/"))==null?void 0:Se[3],{menus:Ut}=ue,_t=Ut.find(Qn=>Qn.clazz===ct)||{},gn=`/api/graduations/${Dt.id}/graduation_stages/${_t==null?void 0:_t.id}/submit.json`,Mn={multiple:!0,withCredentials:!0,fileList:Ue,showUploadList:!1,beforeUpload:Qn=>Qn.size/1024/1024>150?(Fe.ZP.error(`\u300A${Qn.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Ee.default.LIST_IGNORE):!0,action:`${oe.Z.API_SERVER}/api/attachments.json`,onChange:Qn=>{me({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u4E0A\u4F20\u4E2D\uFF0C\u8BF7\u7A0D\u5019"}});const cr=(0,Ce.uD)(Qn);$e(cr),cr.every(Br=>Br.status!=="uploading")&&jn(cr)}},jn=Qn=>Tt(void 0,null,function*(){var cr;(yield(0,nt.ZP)(gn,{method:"post",body:{graduation_task_id:Jt.current,attachment_ids:(cr=Qn.filter(ar=>ar.status==="done").map(ar=>{var Lr;return(Lr=ar==null?void 0:ar.response)==null?void 0:Lr.id}))==null?void 0:cr.concat(Pt.current)}})).status===0&&(Fe.ZP.success("\u63D0\u4EA4\u6210\u529F"),on(jt+1)),$e([]),Jt.current=null,Pt.current=[],me({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})}),yn=[{id:"",name:"\u5168\u90E8"},{id:0,name:"\u672A\u4E0B\u8FBE"},{id:1,name:"\u5DF2\u4E0B\u8FBE"}],Xn=[{title:"\u8BFE\u9898\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:Qn=>re.createElement(fe.Z,{placement:"topLeft",title:Qn},re.createElement("span",{className:"c-grey-333"},Qn||"--"))},{title:"\u6307\u5BFC\u8001\u5E08",dataIndex:"teachers",width:156,ellipsis:!0,render:Qn=>{var cr;const Br=Qn!=null&&Qn.length?(cr=Qn==null?void 0:Qn.map(ar=>ar.real_name))==null?void 0:cr.join("\u3001"):"";return re.createElement(fe.Z,{placement:"topLeft",title:Br},re.createElement("span",{className:"c-grey-333"},Br||"--"))}},{title:"\u9009\u9898\u5B66\u751F",width:156,ellipsis:!0,dataIndex:"real_name",render:Qn=>re.createElement(fe.Z,{placement:"topLeft",title:Qn},re.createElement("span",{className:"c-black"},Qn||"--"))},{title:"\u6587\u6863",dataIndex:"attachments",width:156,ellipsis:{showTitle:!1},render:(Qn,cr)=>{var Br,ar;if(!(Qn!=null&&Qn.length))return"--";let Lr="";return Qn!=null&&Qn.length&&(Lr=(0,Ce.tP)((Br=Qn==null?void 0:Qn[0])==null?void 0:Br.title,6)),re.createElement(fe.Z,{placement:"topLeft",title:(ar=Qn==null?void 0:Qn[0])==null?void 0:ar.title},re.createElement("span",{onClick:()=>{var Er,Wn;(0,Ce.Nd)("",`${oe.Z.API_SERVER}${(Wn=(Er=Qn[0])==null?void 0:Er.url)==null?void 0:Wn.replace("disposition=inline","")}`)},className:"current",style:{color:"#3061D0"}},Lr))}},{title:"\u72B6\u6001",dataIndex:"status",width:90,render:Qn=>re.createElement(re.Fragment,null,Qn===0&&re.createElement("span",{className:"c-black"},"\u672A\u4E0B\u8FBE"),Qn===1&&re.createElement("span",{className:"c-black"},"\u5DF2\u4E0B\u8FBE"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",width:100,render:(Qn,cr)=>re.createElement(Oe.Z,{align:"middle",justify:"end"},re.createElement(Ee.default,qe({},Mn),re.createElement("span",{onClick:()=>{var Br;Jt.current=cr.id,Pt.current=(Br=cr==null?void 0:cr.attachments)==null?void 0:Br.map(ar=>ar.id)},className:"current font14 c-light-primary"},"\u63D0\u4EA4")),re.createElement("span",{onClick:()=>{tn(!0),vt(qe({},cr))},className:"current font14 c-light-primary ml20"},"\u8BE6\u60C5"))}];return re.createElement(re.Fragment,null,re.createElement(Pe.Z,{tags:yn,tagsTitle:"\u4E0B\u8FBE\u72B6\u6001",tagsTitleWidth:56,placeholder:"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0\u8FDB\u884C\u641C\u7D22",columns:Xn,updateKey:jt,inputWidth:222}),re.createElement(Rt,{visible:zt,data:ot,sendUrl:gn,onClose:()=>{tn(!1),vt({}),on(jt+1)}}))};var Xe=(0,Ne.connect)(({graduations:ue})=>({graduations:ue}))(Mt),Ct={flex_box_center:"flex_box_center___YhVJ8",flex_space_between:"flex_space_between___ZwNFf",flex_box_vertical_center:"flex_box_vertical_center___zVi38",flex_box_center_end:"flex_box_center_end___XiBd9",flex_box_column:"flex_box_column___wlJ_z",wrap:"wrap___btDZi",card:"card___ynWkb",title:"title___ZK2i5",teacherWrap:"teacherWrap___mwbsp",titleCol:"titleCol___Yw1us",head:"head___Eh7hH",rowWrap:"rowWrap___iqlIh",row:"row___ysuMF",name:"name___Vp5LK",btns:"btns___TQ4qx"},tt=se(62673),Ht=se(57884),We=se(74975),yt=se(41550),Qe=se(86129),Bt=se.n(Qe),bt=se(89392),ce=(ue,me,Se)=>new Promise((Dt,Ue)=>{var $e=zt=>{try{vt(Se.next(zt))}catch(tn){Ue(tn)}},ot=zt=>{try{vt(Se.throw(zt))}catch(tn){Ue(tn)}},vt=zt=>zt.done?Dt(zt.value):Promise.resolve(zt.value).then($e,ot);vt((Se=Se.apply(ue,me)).next())});const ie=({graduations:ue,dispatch:me})=>{var Se;const Dt=(0,Ne.useParams)(),[Ue,$e]=(0,re.useState)(!0),[ot,vt]=(0,re.useState)([{}]),[zt,tn]=(0,re.useState)([{}]),[jt,on]=(0,re.useState)([]),[Jt,Pt]=(0,re.useState)([]),[ct,Ut]=(0,re.useState)(0),_t=(0,re.useRef)(),{menus:gn,details:Mn}=ue,jn=gn.find(ar=>ar.clazz==="tasks")||{};(0,re.useEffect)(()=>{jn!=null&&jn.id&&yn()},[jn==null?void 0:jn.id]);const yn=()=>ce(void 0,null,function*(){var ar,Lr,Er,Wn,Ir,Or;$e(!0);const Ft=yield(0,nt.ZP)(`/api/graduations/${Dt.id}/graduation_stages/${jn==null?void 0:jn.id}.json`,{method:"get"});if(Ft.status===0){vt(((ar=Ft==null?void 0:Ft.data)==null?void 0:ar[0])||{}),on(((Er=(Lr=Ft==null?void 0:Ft.data)==null?void 0:Lr[0])==null?void 0:Er.attachments)||[]);let Qt=0;(0,bt.isEmpty)((Wn=Ft==null?void 0:Ft.data)==null?void 0:Wn[0])?Qt=1:((Or=(Ir=Ft==null?void 0:Ft.data)==null?void 0:Ir[0])==null?void 0:Or.status)===0&&(Qt=2),Ut(Qt)}$e(!1)}),Xn=(ar,Lr,Er)=>{let Wn=[];Er==="all"&&ar?Wn=jt.map(Ir=>Ir.id):Er!=="all"&&(ar?Wn=[...Jt,Lr]:Wn=Jt.filter(Ir=>Ir!==Lr)),Pt(Wn)},Qn=()=>{if(!Jt.length){Fe.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}const ar=jt.filter(Lr=>Jt.includes(Lr.id));Br((Mn==null?void 0:Mn.name)+"-\u4EFB\u52A1\u4E66",ar)},cr=ar=>ce(void 0,null,function*(){if(ar.file_type==="txt"){const Lr=yield(0,nt.ZP)(ar.url,{method:"get",headers:{"Content-Type":"application/xml"}});_t.current=Lr}tn({type:ar.file_type,content:oe.Z.API_SERVER+ar.url})}),Br=(ar,...Lr)=>ce(void 0,[ar,...Lr],function*(Er,Wn=[]){const Ir=Wn==null?void 0:Wn.filter(Nt=>Nt.url!="");if(Ir.length==0){Fe.ZP.warning("\u6682\u65E0\u4E0B\u8F7D\u6587\u4EF6");return}const Or=ye.default.info({width:500,icon:null,title:re.createElement("div",null,"\u6B63\u5728\u6279\u91CF\u5BFC\u51FA\u4EFB\u52A1\u6587\u4EF6,",re.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:re.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",re.createElement("span",{className:"c-blue"},0),"/",Ir.length),maskClosable:!1,className:Ct.modal,onOk:()=>{}}),Ft=new(Bt()),Qt=[],It=(Nt,kt)=>ce(void 0,null,function*(){try{const _n=yield(yield fetch(oe.Z.API_SERVER+Nt.url,{method:"get"})).blob(),Yn=(Hn,rr=0)=>ce(void 0,null,function*(){const fr=Hn.split(".");fr.pop();const dr=`${fr.join("")}(${rr}).${Hn.split(".").at(-1)}`;rr==0&&Qt.includes(Hn)||Qt.includes(dr)?Yn(Hn,rr+1):(Qt.push(rr==0?Hn:dr),Ft.file(rr==0?Hn:dr,_n))});yield Yn(Nt==null?void 0:Nt.title),Or.update({content:re.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",re.createElement("span",{className:"c-blue"},kt),"/",Ir.length)})}catch(mn){Fe.ZP.error(`${Nt==null?void 0:Nt.title}\u4E0B\u8F7D\u5931\u8D25\uFF0C\u539F\u56E0\uFF1A${mn}`)}});if(Ir.length>0){let Nt=0;for(let kt of Ir)yield It(kt,++Nt);Ft.generateAsync({type:"blob"}).then(kt=>{(0,Ce.FH)(Er,window.URL.createObjectURL(kt))})}Or.destroy()});return console.log(zt,"previewData"),re.createElement("div",{className:Ct.wrap},re.createElement(We.Z,{title:"\u4EFB\u52A1\u4E66",status:jn==null?void 0:jn.status,startAt:jn==null?void 0:jn.start_at,endAt:jn==null?void 0:jn.end_at}),re.createElement(Te.Z,{active:!0,loading:Ue},!!ct&&re.createElement(Ht.Z,{customText:ct===1?"\u5F53\u524D\u9636\u6BB5\u6682\u65F6\u65E0\u6CD5\u5F00\u542F\uFF0C\u8BF7\u5148\u5B8C\u6210\u4E4B\u524D\u9636\u6BB5\u7684\u4EFB\u52A1":"\u5F53\u524D\u8001\u5E08\u8FD8\u672A\u4E0B\u8FBE\u4EFB\u52A1\u4E66\u54E6"}),!ct&&re.createElement("div",{className:Ct.card},re.createElement(Oe.Z,{align:"middle"},re.createElement("span",{style:{color:"#5f6368"},className:"mr20 font14"},"\u8BFE\u9898\u540D\u79F0"),re.createElement(fe.Z,{title:ot==null?void 0:ot.name},re.createElement("span",{style:{color:"#333",fontSize:16}},(0,Ce.Pq)(ot==null?void 0:ot.name,59)))),re.createElement("div",{className:Ct.title},re.createElement("span",{style:{flexShrink:0,marginTop:4,color:"#5f6368"},className:"mr20"},"\u6307\u5BFC\u8001\u5E08"),re.createElement("div",{className:Ct.teacherWrap},(Se=ot==null?void 0:ot.teachers)==null?void 0:Se.map((ar,Lr)=>{var Er;return re.createElement("div",{key:Lr,className:Ct.titleCol},re.createElement("img",{width:28,height:28,style:{borderRadius:"50%"},src:`${(Er=oe.Z)==null?void 0:Er.IMG_SERVER}/images/${ar==null?void 0:ar.avatar_url}`}),re.createElement("span",{className:"c-grey-333 ml10 font16"},ar.real_name))}))),re.createElement("div",{className:Ct.head},re.createElement(tt.default,{onChange:ar=>Xn(ar.target.checked,null,"all"),checked:!!Jt.length&&Jt.length===jt.length,indeterminate:!!Jt.length&&Jt.length!==jt.length}),re.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u4E66"),!!(Jt!=null&&Jt.length)&&re.createElement("span",{onClick:Qn,style:{marginLeft:"auto"},className:"c-light-primary current"},re.createElement("i",{className:"iconfont icon-xiazai4 mr5 font14"}),"\u6279\u91CF\u4E0B\u8F7D")),re.createElement("div",{className:Ct.rowWrap},jt==null?void 0:jt.map(ar=>re.createElement("div",{key:ar.id,className:Ct.row},re.createElement(tt.default,{onChange:Lr=>Xn(Lr.target.checked,ar.id),checked:Jt.includes(ar.id)}),re.createElement("span",{className:Ct.name,title:ar.title},(0,Ce.tP)(ar.title,60)),re.createElement("span",{className:Ct.btns},re.createElement(fe.Z,{className:"mr20",title:"\u9884\u89C8"}," ",re.createElement("i",{onClick:()=>cr(ar),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})),re.createElement(fe.Z,{title:"\u4E0B\u8F7D"}," ",re.createElement("i",{onClick:()=>{var Lr;(0,Ce.Nd)("",`${oe.Z.API_SERVER}${(Lr=ar.url)==null?void 0:Lr.replace("disposition=inline","")}`)},className:"iconfont icon-xiazai4 c-light-primary current font14"})))))))),re.createElement(yt.Z,{close:!0,data:zt==null?void 0:zt.content,type:zt==null?void 0:zt.type,hasMask:!0,monacoEditor:{value:_t.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>{tn({content:"",type:""})}}))};var z=(0,Ne.connect)(({graduations:ue})=>({graduations:ue}))(ie),ee=se(34055);const ne=({graduations:ue,dispatch:me,loading:Se})=>re.createElement(Te.Z,{style:{margin:"20px 0 0 45px"},loading:Se.effects["graduations/getGraduationsDetails"]},(0,ee.tu)()?re.createElement(Xe,null):re.createElement(z,null));var te=(0,Ne.connect)(({loading:ue,graduations:me})=>({loading:ue,graduations:me}))(ne)},74975:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Pe}});var re=se(59301),Ne={flex_box_center:"flex_box_center___oGGi8",flex_space_between:"flex_space_between___e1At5",flex_box_vertical_center:"flex_box_vertical_center___K1Nl5",flex_box_center_end:"flex_box_center_end___IP1rf",flex_box_column:"flex_box_column____nxPW",title:"title___Ynb7w",time:"time___dxFRB"},Te=se(92310),Fe=se.n(Te),Ee=se(43907),fe=se(61186),Oe=se.n(fe),Pe=({className:oe,status:nt,style:ye={},startAt:Ke,endAt:Ie,title:Ye})=>re.createElement("div",{className:Fe()(Ne.title,oe),style:ye},re.createElement("b",null,Ye),re.createElement(Ee.Z,{className:"ml10",status:nt}),re.createElement("span",{className:Ne.time},re.createElement("span",null,"\u5F00\u542F\u65F6\u95F4",re.createElement("span",{className:"ml10"},Ke?Oe()(Ke).format("YYYY-MM-DD HH:mm"):"--")),re.createElement("span",{className:"ml30"},"\u622A\u6B62\u65F6\u95F4",re.createElement("span",{className:"ml10"},Ie?Oe()(Ie).format("YYYY-MM-DD HH:mm"):"--"))))},5874:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return ft}});var re=se(59301),Ne=se(6767),Te=se(14566),Fe=se(62957),Ee=se(77019),fe=se(16326),Oe={flex_box_center:"flex_box_center___cQ5Sl",flex_space_between:"flex_space_between___BU1Wl",flex_box_vertical_center:"flex_box_vertical_center___jBfz4",flex_box_center_end:"flex_box_center_end___mFYce",flex_box_column:"flex_box_column___jBfuW",wrap:"wrap___npJKs",label:"label___mSlLf"},Ce=se(90524),Pe=se(76560),oe=se(71360),nt=se(82093),ye=se(49661),Ke=se(2978),Ie=se(61186),Ye=se.n(Ie),He=se(69577),je=Object.defineProperty,st=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ke=(ge,Ae,ze)=>Ae in ge?je(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:ze}):ge[Ae]=ze,be=(ge,Ae)=>{for(var ze in Ae||(Ae={}))at.call(Ae,ze)&&ke(ge,ze,Ae[ze]);if(st)for(var ze of st(Ae))rt.call(Ae,ze)&&ke(ge,ze,Ae[ze]);return ge},Ve=(ge,Ae,ze)=>new Promise((Ze,_e)=>{var Re=ht=>{try{Rt(ze.next(ht))}catch(mt){_e(mt)}},Je=ht=>{try{Rt(ze.throw(ht))}catch(mt){_e(mt)}},Rt=ht=>ht.done?Ze(ht.value):Promise.resolve(ht.value).then(Re,Je);Rt((ze=ze.apply(ge,Ae)).next())}),ft=({visible:ge,data:Ae,onClose:ze=()=>{},onSuccess:Ze=()=>{}})=>{const[_e,Re]=(0,re.useState)([]),[Je,Rt]=(0,re.useState)(""),[ht,mt]=(0,re.useState)(""),[St,xe]=(0,re.useState)(""),[he,qe]=(0,re.useState)(!1),Tt=(0,Pe.useParams)();(0,re.useEffect)(()=>{var bt;ge&&(xe((Ae==null?void 0:Ae.description)||""),Rt((Ae==null?void 0:Ae.start_at)||""),mt((Ae==null?void 0:Ae.end_at)||""),Re(((bt=Ae==null?void 0:Ae.attachments)==null?void 0:bt.map(ce=>({name:ce.name||ce.title,status:"done",response:{id:ce.id}})))||[]))},[ge]);const Mt={multiple:!0,withCredentials:!0,fileList:_e,beforeUpload:bt=>bt.size/1024/1024>150?(Ne.ZP.error(`\u300A${bt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Te.default.LIST_IGNORE):!0,action:`${Ce.Z.API_SERVER}/api/attachments.json`,onChange(bt){Re((0,ye.uD)(bt))}},Xe=()=>Ve(void 0,null,function*(){if(!Je||!ht){Ne.ZP.warning(`\u8BF7\u9009\u62E9${We}`);return}qe(!0),console.log(_e,"fileList");const bt=yield(0,nt.ZP)(`/api/graduations/${Tt.id}/graduation_stages/${Ae.id}.json`,{method:"put",body:{start_at:Je,end_at:ht,description:St,attachment_ids:_e.map(ce=>{var ie;return(ie=ce==null?void 0:ce.response)==null?void 0:ie.id})}});if((bt==null?void 0:bt.status)===0){Ne.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,Pe.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:Tt==null?void 0:Tt.id}}),Ze();return}qe(!1)});console.log(Ae,"data");const Ct=[{name:"\u5B66\u751F\u9009\u9898",key:"student_selection",timeName:"\u5B66\u751F\u9009\u9898\u8D77\u6B62\u65F6\u95F4",width:460,text:"\u5728\u6B64\u65F6\u95F4\u5185\uFF0C\u5B66\u751F\u53EF\u81EA\u52A9\u64CD\u4F5C\u9009\u9898\u548C\u66F4\u6539\u9009\u9898"},{name:"\u4EFB\u52A1\u4E66",key:"tasks",width:460,timeName:"\u4EFB\u52A1\u4E66\u8D77\u6B62\u65F6\u95F4",text:""},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F00\u9898\u62A5\u544A\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u4E2D\u671F\u68C0\u67E5\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u8BBA\u6587\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u7B54\u8FA9\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u8BBA\u6587\u5B9A\u7A3F\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u5F52\u6863",key:"archives",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F52\u6863\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"}],tt=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],Ht=_e.some(bt=>!(bt!=null&&bt.response)),{timeName:We,text:yt,width:Qe,key:Bt}=(Ct==null?void 0:Ct.find(bt=>bt.key===(Ae==null?void 0:Ae.clazz)))||{};return re.createElement(Fe.default,{centered:!0,destroyOnClose:!0,confirmLoading:he,okButtonProps:{disabled:Ht},onCancel:ze,onOk:Xe,open:ge,title:`${Ae.name}\u8BBE\u7F6E`,width:Qe,afterClose:()=>{Re([]),Rt(""),xe(""),mt(""),qe(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},re.createElement("div",{className:Oe.wrap},re.createElement("div",{className:Oe.label},re.createElement("span",null,"*"),We),re.createElement(Ee.Z,{align:"middle",className:tt.includes(Bt)?"mb20":""},re.createElement(fe.default,{format:"YYYY-MM-DD HH:mm",value:Je?Ye()(Je):"",disabledDate:bt=>(0,He.Q8)(bt,"",Ae==null?void 0:Ae.disabled_time),disabledTime:bt=>(0,He.d0)(bt,Ae==null?void 0:Ae.disabled_time),showTime:{format:"HH:mm"},onChange:(bt,ce)=>{Rt(ce)}}),re.createElement("span",{className:"ml10 mr10"},"\u81F3"),re.createElement(fe.default,{format:"YYYY-MM-DD HH:mm",value:ht?Ye()(ht):"",disabledDate:bt=>(0,He.Q8)(bt,"",Ae==null?void 0:Ae.disabled_time),disabledTime:bt=>(0,He.d0)(bt,Ae==null?void 0:Ae.disabled_time),showTime:{format:"HH:mm"},onChange:(bt,ce)=>{mt(ce)}}),re.createElement("span",{className:`${Bt==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},yt)),tt.includes(Bt)&&re.createElement(re.Fragment,null,re.createElement("div",{className:Oe.label},"\u9636\u6BB5\u63CF\u8FF0"),re.createElement(Ke.Z,{height:140,defaultValue:St,onChange:bt=>{xe(bt)}}),re.createElement(Te.default,be({},Mt),re.createElement(Ee.Z,{align:"middle",className:"mt10"},re.createElement(oe.op,{style:{borderRadius:2}},re.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),re.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:bt=>{bt.stopPropagation()}},"\u4E0A\u4F20\u6B64\u9636\u6BB5\u7684\u6587\u6863\u6A21\u7248\u3001\u6279\u9605\u8981\u6C42\u7B49\u6587\u6863\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))))))}},43907:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return fe}});var re=se(59301),Ne={flex_box_center:"flex_box_center___Sswcw",flex_space_between:"flex_space_between___nBexI",flex_box_vertical_center:"flex_box_vertical_center___sPXvb",flex_box_center_end:"flex_box_center_end___c6nca",flex_box_column:"flex_box_column___Bq_gi",tag:"tag___NEywM"},Te=se(92310),Fe=se.n(Te),fe=({className:Oe,status:Ce})=>re.createElement(re.Fragment,null,Ce===0&&re.createElement("div",{className:Fe()(Ne.tag,Oe)},"\u672A\u5F00\u59CB"),Ce===1&&re.createElement("div",{className:Fe()(Ne.tag,Oe),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),Ce===2&&re.createElement("div",{className:Fe()(Ne.tag,Oe),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},21981:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ve}});var re=se(59301),Ne={flex_box_center:"flex_box_center___Q4rC9",flex_space_between:"flex_space_between___pzGZc",flex_box_vertical_center:"flex_box_vertical_center___DhNf8",flex_box_center_end:"flex_box_center_end___ALRjT",flex_box_column:"flex_box_column___p6z9Y",wrap:"wrap____H2XH"},Te=se(76560),Fe=se(77019),Ee=se(54172),fe=se(71360),Oe=se(74975),Ce=se(82093),Pe=se(5874),oe=se(57884),nt=se(49661),ye=Object.defineProperty,Ke=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,st=(Ge,ft,ge)=>ft in Ge?ye(Ge,ft,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ge[ft]=ge,at=(Ge,ft)=>{for(var ge in ft||(ft={}))He.call(ft,ge)&&st(Ge,ge,ft[ge]);if(Ye)for(var ge of Ye(ft))je.call(ft,ge)&&st(Ge,ge,ft[ge]);return Ge},rt=(Ge,ft)=>Ke(Ge,Ie(ft)),ke=(Ge,ft,ge)=>new Promise((Ae,ze)=>{var Ze=Je=>{try{Re(ge.next(Je))}catch(Rt){ze(Rt)}},_e=Je=>{try{Re(ge.throw(Je))}catch(Rt){ze(Rt)}},Re=Je=>Je.done?Ae(Je.value):Promise.resolve(Je.value).then(Ze,_e);Re((ge=ge.apply(Ge,ft)).next())});const be=({graduations:Ge,dispatch:ft,tags:ge,tagsTitle:Ae,tagsTitleWidth:ze,placeholder:Ze,columns:_e,updateKey:Re,inputWidth:Je=214})=>{var Rt,ht,mt;const St=(0,Te.useParams)(),[xe]=(0,Te.useSearchParams)(),[he,qe]=(0,re.useState)(!1),[Tt,Mt]=(0,re.useState)(0),[Xe,Ct]=(0,re.useState)([]),[tt,Ht]=(0,re.useState)(!1),{menus:We}=Ge,yt=(Rt=location.pathname.split("/"))==null?void 0:Rt[3],Qe=We.find(Se=>Se.clazz===yt)||{},Bt=We.find(Se=>Se.clazz===yt)||1,bt=xe!=null&&xe.get("state")?Number(xe==null?void 0:xe.get("state")):"",[ce,ie]=(0,re.useState)({keyword:"",status:bt,page:1,limit:20});(0,re.useEffect)(()=>{Qe!=null&&Qe.id&&z(ce)},[Qe==null?void 0:Qe.id,Re]);const z=Se=>ke(void 0,null,function*(){qe(!0);const Dt=yield(0,Ce.ZP)(`/api/graduations/${St.id}/graduation_stages/${Qe==null?void 0:Qe.id}.json`,{method:"get",params:Se});Dt.status===0&&(Ct((Dt==null?void 0:Dt.data)||[]),Mt(Dt==null?void 0:Dt.total_count)),qe(!1)}),ee=Se=>{ce.status=Se,ce.page=1,ie(ce),z(ce)},ne=Se=>{ce.keyword=Se,ce.page=1,ie(ce),z(ce)},te=(Se,Dt)=>{ce.page=Se,ce.limit=Dt,ie(ce),z(ce)},ue=[{name:"\u4EFB\u52A1\u4E66",key:"tasks",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"}],me=(ht=ue==null?void 0:ue.find(Se=>Se.key===(Qe==null?void 0:Qe.clazz)))==null?void 0:ht.notStartText;return re.createElement("div",{className:Ne.wrap},re.createElement(Oe.Z,{title:Qe==null?void 0:Qe.name,className:"mb10",status:Qe==null?void 0:Qe.status,startAt:Qe==null?void 0:Qe.start_at,endAt:Qe==null?void 0:Qe.end_at}),re.createElement(Fe.Z,{align:"middle",justify:"end",style:{height:66}},!!(Qe!=null&&Qe.status)&&re.createElement(Fe.Z,{align:"middle",style:{flex:1}},re.createElement(fe.qp,{title:Ae,value:ce.status,onChange:ee,dataSource:ge,className:"mt20",titleWidth:ze}),re.createElement(fe.t7,{style:{width:Je,marginLeft:"auto"},placeholder:Ze,value:ce.keyword,onChange:ne})),(0,nt.QB)(Qe==null?void 0:Qe.next_start_at)&&re.createElement(fe.op,{style:{marginLeft:15},onClick:()=>Ht(!0)},re.createElement("i",{className:"iconfont icon-anquanshezhi font14 mr5"}),Qe==null?void 0:Qe.name,"\u8BBE\u7F6E")),(Qe==null?void 0:Qe.status)===0&&re.createElement(oe.Z,{customText:me}),!!(Qe!=null&&Qe.status)&&re.createElement(Ee.default,{columns:_e,dataSource:Xe,loading:he,rowKey:"id",locale:{emptyText:re.createElement(oe.Z,null)},pagination:{current:ce.page,hideOnSinglePage:!Tt,showQuickJumper:!0,showSizeChanger:!0,pageSize:ce.limit,pageSizeOptions:["10","20","50","100","200"],total:Tt,size:"default",showTotal:nt.rU,onChange:te}}),re.createElement(Pe.Z,{visible:tt,data:rt(at({},Qe),{disabled_time:(mt=We==null?void 0:We[Bt-1])==null?void 0:mt.end_at}),onClose:()=>Ht(!1),onSuccess:()=>{Ht(!1)}}))};var Ve=(0,Te.connect)(({graduations:Ge})=>({graduations:Ge}))(be)},90290:function(bn,cn,se){"use strict";se.d(cn,{AL:function(){return ke},Iy:function(){return nt},Qv:function(){return Ie},ez:function(){return rt},jb:function(){return ye}});var re=se(32834),Ne=se.n(re),Te=se(11690),Fe=se.n(Te);let Ee=1;function fe(ge,Ae){const ze=ge.match(/^(\s+)(?:```)/);if(ze===null)return Ae;const Ze=ze[1];return Ae.split(`
|
|
`).map(_e=>{const Re=_e.match(/^\s+/);if(Re===null)return _e;const[Je]=Re;return Je.length>=Ze.length?_e.slice(Ze.length):_e}).join(`
|
|
`)}let Oe=[],Ce=["<ul>"];const Pe=new(Ne()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function nt(){Oe.length=0,Ce=["<ul>"]}const ye={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Ke(ge,Ae,ze,Ze){if(Ae>=ge.length||ge[Ae].level<=ze)return Ae;var _e=ge[Ae];Ze.push("<li><a href='#"+Ee+_e.anchor+"'>"+_e.text+"</a>"),Ae++;var Re=[];return Ae=Ke(ge,Ae,_e.level,Re),Re.length>0&&(Ze.push("<ul>"),Re.forEach(function(Je){Ze.push(Je)}),Ze.push("</ul>")),Ze.push("</li>"),Ae=Ke(ge,Ae,ze,Ze),Ae}function Ie(){return Ke(Oe,0,0,Ce),Ce.push("</ul>"),Ce.join("")}const Ye={heading(ge){const Ae=oe.exec(ge);if(Ee+=1,Ae)return{type:"heading",raw:Ae[0],depth:Ae[1].length,text:Ae[2]}},fences(ge){const Ae=this.rules.block.fences.exec(ge);if(Ae){const ze=Ae[0];let Ze=fe(ze,Ae[3]||"");const _e=Ae[2]?Ae[2].trim():Ae[2];if(["latex","katex","math"].indexOf(_e)>=0){const Re=st(),Je=Ze;Ze=Re,at[Re]={type:"block",expression:Je}}return{type:"code",raw:ze,lang:_e,text:Ze}}}},He=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let je=0;const st=()=>`__special_katext_id_${je++}__`;let at={};function rt(){return at}function ke(){je=0,at={}}function be(ge){return ge=ge.replace(He,(Ae,ze)=>{const Ze=st();return at[Ze]={type:"inline",expression:ze},Ze}),ge}const Ve=Pe.listitem;Pe.listitem=function(ge){return Ve(be(ge))};const Ge=Pe.paragraph;Pe.paragraph=function(ge){return Ge(be(ge))};const ft=Pe.tablecell;Pe.tablecell=function(ge,Ae){return ft(be(ge),Ae)},Pe.code=function(ge,Ae,ze){const Ze=(Ae||"").match(/\S*/)[0];return Ze?["latex","katex","math"].indexOf(Ze)>=0?`<p class='editormd-tex'>${ge}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ae}">${ze?ge:(0,Te.escape)(ge,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(ze?ge:(0,Te.escape)(ge,!0))+"</code></pre>"},Pe.heading=function(ge,Ae,ze){let Ze=this.options.headerPrefix+ze.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Oe.push({anchor:Ze,level:Ae,text:ge}),"<h"+Ae+' id="'+Ee+Ze+'">'+ge+"</h"+Ae+">"},Ne().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ne().use({tokenizer:Ye,renderer:Pe}),cn.ZP=Ne()},23869:function(bn,cn,se){"use strict";se.d(cn,{rX:function(){return be},pW:function(){return Ve},gy:function(){return Ge},xY:function(){return ke},O5:function(){return rt},hs:function(){return He},tJ:function(){return Ie},o1:function(){return Ye},Rd:function(){return at}});var re=se(76560),Ne=se(62957),Te=se(37285),Fe=se(6767),Ee=se(34055),fe=se(49661),Oe=se(87169),Ce=se(25510),Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhx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iHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",oe=se.p+"static/newqrcode.a8740efb.png",nt=se(32637),ye=se(59301),Ke=(ft,ge,Ae)=>new Promise((ze,Ze)=>{var _e=Rt=>{try{Je(Ae.next(Rt))}catch(ht){Ze(ht)}},Re=Rt=>{try{Je(Ae.throw(Rt))}catch(ht){Ze(ht)}},Je=Rt=>Rt.done?ze(Rt.value):Promise.resolve(Rt.value).then(_e,Re);Je((Ae=Ae.apply(ft,ge)).next())});const Ie=(ft,ge=!1,Ae=!1,ze="",Ze=!1)=>!!(Ye(ft)&&je(ft,ge,Ae,ze,Ze)),Ye=ft=>(0,Ee.bg)()?!0:(ft({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),He=ft=>{var ge,Ae,ze;const{user:Ze}=(0,re.getDvaApp)()._store.getState();(0,Ee.bg)()&&!((Ae=(ge=Ze==null?void 0:Ze.userInfo)==null?void 0:ge.course)!=null&&Ae.course_public)&&!((ze=Ze==null?void 0:Ze.userInfo)!=null&&ze.profile_completed)&&ft({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},je=(ft,ge=!1,Ae=!0,ze="",Ze=!1)=>{var _e;const{user:Re}=(0,re.getDvaApp)()._store.getState();return(_e=Re.userInfo)!=null&&_e.profile_completed?!0:(Ae?ft({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ze,isCurrentPage:Ze}}):Ne.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,fe.xg)("/account/profile/edit"),st()}}),!1)},st=()=>{Ne.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()}})},at=()=>{Ne.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ye.createElement("div",{style:{textAlign:"center"}},ye.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"),ye.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:nt}),ye.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},rt=()=>{var ft;const{user:ge}=(0,re.getDvaApp)()._store.getState();return(ft=ge.userInfo)!=null&&ft.professional_certification?!0:(Ne.default.confirm({title:"\u63D0\u793A",centered:!0,content:ye.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,fe.xg)("/account/certification")}}),!1)},ke=()=>(0,Ee.V9)()?!0:(Ne.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ye.createElement("div",{className:"tc",style:{marginLeft:-38}},ye.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ye.createElement("img",{src:oe,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),be=(ft,ge)=>ft?!0:(Ne.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ye.createElement("div",null,ye.createElement("p",null,ge||"\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"),ye.createElement("div",{style:{marginLeft:"110px"}},ye.createElement("img",{src:Pe,width:200}),ye.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,fe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Ve=ft=>{Ne.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ye.createElement("div",null,ye.createElement("div",null,ye.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"),ye.createElement(Te.Z,null),ye.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ye.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 ",ye.createElement("a",null,ft),"\u5929\u3002"),ye.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ye.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")),ye.createElement("div",{style:{textAlign:"center",marginTop:30}},ye.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ce,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Ge=(ft,ge="")=>{const{shixunsDetail:{detail:Ae}}=(0,re.getDvaApp)()._store.getState();if((Ae==null?void 0:Ae.public)===2||(Ae==null?void 0:Ae.public)===1||(Ae==null?void 0:Ae.shixun_status)===3){let ze="";return(Ae==null?void 0:Ae.public)===2&&(ze="\u5DF2\u516C\u5F00"),(Ae==null?void 0:Ae.public)===1&&(ze="\u5F85\u5BA1\u6838"),(Ae==null?void 0:Ae.shixun_status)===3&&(ze="\u5DF2\u5173\u95ED"),Ne.default.info({centered:!0,icon:ye.createElement(Oe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ye.createElement("div",{className:"tc",style:{marginLeft:-38}},ye.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ye.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ze,"\uFF0C",ge,"\u3002"),ye.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ye.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ce,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ae==null?void 0:Ae.shixun_status)===2?(Ne.default.confirm({centered:!0,icon:ye.createElement(Oe.Z,null),title:"\u63D0\u793A",content:ye.createElement("div",null,ye.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ge,"\u3002"),ye.createElement("br",null),ye.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:()=>{Ne.default.confirm({width:440,centered:!0,icon:ye.createElement(Oe.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:()=>Ke(void 0,null,function*(){(yield ft({type:"shixunsDetail/cancelRelease",payload:{id:Ae==null?void 0:Ae.identifier}})).status!==401&&(Fe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ft({type:"shixunsDetail/getShixunsDetail",payload:{id:Ae==null?void 0:Ae.identifier}}),ft({type:"practiceSetting/getCommonData",payload:{id:Ae==null?void 0:Ae.identifier}}))})})}}),!0):!1}},86251:function(bn,cn){"use strict";cn.byteLength=Oe,cn.toByteArray=Pe,cn.fromByteArray=ye;for(var se=[],re=[],Ne=typeof Uint8Array!="undefined"?Uint8Array:Array,Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fe=0,Ee=Te.length;Fe<Ee;++Fe)se[Fe]=Te[Fe],re[Te.charCodeAt(Fe)]=Fe;re[45]=62,re[95]=63;function fe(Ke){var Ie=Ke.length;if(Ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ye=Ke.indexOf("=");Ye===-1&&(Ye=Ie);var He=Ye===Ie?0:4-Ye%4;return[Ye,He]}function Oe(Ke){var Ie=fe(Ke),Ye=Ie[0],He=Ie[1];return(Ye+He)*3/4-He}function Ce(Ke,Ie,Ye){return(Ie+Ye)*3/4-Ye}function Pe(Ke){var Ie,Ye=fe(Ke),He=Ye[0],je=Ye[1],st=new Ne(Ce(Ke,He,je)),at=0,rt=je>0?He-4:He,ke;for(ke=0;ke<rt;ke+=4)Ie=re[Ke.charCodeAt(ke)]<<18|re[Ke.charCodeAt(ke+1)]<<12|re[Ke.charCodeAt(ke+2)]<<6|re[Ke.charCodeAt(ke+3)],st[at++]=Ie>>16&255,st[at++]=Ie>>8&255,st[at++]=Ie&255;return je===2&&(Ie=re[Ke.charCodeAt(ke)]<<2|re[Ke.charCodeAt(ke+1)]>>4,st[at++]=Ie&255),je===1&&(Ie=re[Ke.charCodeAt(ke)]<<10|re[Ke.charCodeAt(ke+1)]<<4|re[Ke.charCodeAt(ke+2)]>>2,st[at++]=Ie>>8&255,st[at++]=Ie&255),st}function oe(Ke){return se[Ke>>18&63]+se[Ke>>12&63]+se[Ke>>6&63]+se[Ke&63]}function nt(Ke,Ie,Ye){for(var He,je=[],st=Ie;st<Ye;st+=3)He=(Ke[st]<<16&16711680)+(Ke[st+1]<<8&65280)+(Ke[st+2]&255),je.push(oe(He));return je.join("")}function ye(Ke){for(var Ie,Ye=Ke.length,He=Ye%3,je=[],st=16383,at=0,rt=Ye-He;at<rt;at+=st)je.push(nt(Ke,at,at+st>rt?rt:at+st));return He===1?(Ie=Ke[Ye-1],je.push(se[Ie>>2]+se[Ie<<4&63]+"==")):He===2&&(Ie=(Ke[Ye-2]<<8)+Ke[Ye-1],je.push(se[Ie>>10]+se[Ie>>4&63]+se[Ie<<2&63]+"=")),je.join("")}},19208:function(bn,cn,se){"use strict";var re;var Ne=se(86251),Te=se(67467),Fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;cn.lW=Ce,re=at,cn.h2=50;var Ee=2147483647;re=Ee,Ce.TYPED_ARRAY_SUPPORT=fe(),!Ce.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function fe(){try{var z=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(z,ee),z.foo()===42}catch(ne){return!1}}Object.defineProperty(Ce.prototype,"parent",{enumerable:!0,get:function(){if(Ce.isBuffer(this))return this.buffer}}),Object.defineProperty(Ce.prototype,"offset",{enumerable:!0,get:function(){if(Ce.isBuffer(this))return this.byteOffset}});function Oe(z){if(z>Ee)throw new RangeError('The value "'+z+'" is invalid for option "size"');var ee=new Uint8Array(z);return Object.setPrototypeOf(ee,Ce.prototype),ee}function Ce(z,ee,ne){if(typeof z=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ye(z)}return Pe(z,ee,ne)}Ce.poolSize=8192;function Pe(z,ee,ne){if(typeof z=="string")return Ke(z,ee);if(ArrayBuffer.isView(z))return Ye(z);if(z==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z);if(bt(z,ArrayBuffer)||z&&bt(z.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(bt(z,SharedArrayBuffer)||z&&bt(z.buffer,SharedArrayBuffer)))return He(z,ee,ne);if(typeof z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var te=z.valueOf&&z.valueOf();if(te!=null&&te!==z)return Ce.from(te,ee,ne);var ue=je(z);if(ue)return ue;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof z[Symbol.toPrimitive]=="function")return Ce.from(z[Symbol.toPrimitive]("string"),ee,ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z)}Ce.from=function(z,ee,ne){return Pe(z,ee,ne)},Object.setPrototypeOf(Ce.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ce,Uint8Array);function oe(z){if(typeof z!="number")throw new TypeError('"size" argument must be of type number');if(z<0)throw new RangeError('The value "'+z+'" is invalid for option "size"')}function nt(z,ee,ne){return oe(z),z<=0?Oe(z):ee!==void 0?typeof ne=="string"?Oe(z).fill(ee,ne):Oe(z).fill(ee):Oe(z)}Ce.alloc=function(z,ee,ne){return nt(z,ee,ne)};function ye(z){return oe(z),Oe(z<0?0:st(z)|0)}Ce.allocUnsafe=function(z){return ye(z)},Ce.allocUnsafeSlow=function(z){return ye(z)};function Ke(z,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!Ce.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var ne=rt(z,ee)|0,te=Oe(ne),ue=te.write(z,ee);return ue!==ne&&(te=te.slice(0,ue)),te}function Ie(z){for(var ee=z.length<0?0:st(z.length)|0,ne=Oe(ee),te=0;te<ee;te+=1)ne[te]=z[te]&255;return ne}function Ye(z){if(bt(z,Uint8Array)){var ee=new Uint8Array(z);return He(ee.buffer,ee.byteOffset,ee.byteLength)}return Ie(z)}function He(z,ee,ne){if(ee<0||z.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(z.byteLength<ee+(ne||0))throw new RangeError('"length" is outside of buffer bounds');var te;return ee===void 0&&ne===void 0?te=new Uint8Array(z):ne===void 0?te=new Uint8Array(z,ee):te=new Uint8Array(z,ee,ne),Object.setPrototypeOf(te,Ce.prototype),te}function je(z){if(Ce.isBuffer(z)){var ee=st(z.length)|0,ne=Oe(ee);return ne.length===0||z.copy(ne,0,0,ee),ne}if(z.length!==void 0)return typeof z.length!="number"||ce(z.length)?Oe(0):Ie(z);if(z.type==="Buffer"&&Array.isArray(z.data))return Ie(z.data)}function st(z){if(z>=Ee)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ee.toString(16)+" bytes");return z|0}function at(z){return+z!=z&&(z=0),Ce.alloc(+z)}Ce.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==Ce.prototype},Ce.compare=function(ee,ne){if(bt(ee,Uint8Array)&&(ee=Ce.from(ee,ee.offset,ee.byteLength)),bt(ne,Uint8Array)&&(ne=Ce.from(ne,ne.offset,ne.byteLength)),!Ce.isBuffer(ee)||!Ce.isBuffer(ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===ne)return 0;for(var te=ee.length,ue=ne.length,me=0,Se=Math.min(te,ue);me<Se;++me)if(ee[me]!==ne[me]){te=ee[me],ue=ne[me];break}return te<ue?-1:ue<te?1:0},Ce.isEncoding=function(ee){switch(String(ee).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Ce.concat=function(ee,ne){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return Ce.alloc(0);var te;if(ne===void 0)for(ne=0,te=0;te<ee.length;++te)ne+=ee[te].length;var ue=Ce.allocUnsafe(ne),me=0;for(te=0;te<ee.length;++te){var Se=ee[te];if(bt(Se,Uint8Array))me+Se.length>ue.length?Ce.from(Se).copy(ue,me):Uint8Array.prototype.set.call(ue,Se,me);else if(Ce.isBuffer(Se))Se.copy(ue,me);else throw new TypeError('"list" argument must be an Array of Buffers');me+=Se.length}return ue};function rt(z,ee){if(Ce.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||bt(z,ArrayBuffer))return z.byteLength;if(typeof z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof z);var ne=z.length,te=arguments.length>2&&arguments[2]===!0;if(!te&&ne===0)return 0;for(var ue=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return ne;case"utf8":case"utf-8":return Ht(z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne*2;case"hex":return ne>>>1;case"base64":return Qe(z).length;default:if(ue)return te?-1:Ht(z).length;ee=(""+ee).toLowerCase(),ue=!0}}Ce.byteLength=rt;function ke(z,ee,ne){var te=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((ne===void 0||ne>this.length)&&(ne=this.length),ne<=0)||(ne>>>=0,ee>>>=0,ne<=ee))return"";for(z||(z="utf8");;)switch(z){case"hex":return St(this,ee,ne);case"utf8":case"utf-8":return Re(this,ee,ne);case"ascii":return ht(this,ee,ne);case"latin1":case"binary":return mt(this,ee,ne);case"base64":return _e(this,ee,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,ee,ne);default:if(te)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),te=!0}}Ce.prototype._isBuffer=!0;function be(z,ee,ne){var te=z[ee];z[ee]=z[ne],z[ne]=te}Ce.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ne=0;ne<ee;ne+=2)be(this,ne,ne+1);return this},Ce.prototype.swap32=function(){var ee=this.length;if(ee%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ne=0;ne<ee;ne+=4)be(this,ne,ne+3),be(this,ne+1,ne+2);return this},Ce.prototype.swap64=function(){var ee=this.length;if(ee%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ne=0;ne<ee;ne+=8)be(this,ne,ne+7),be(this,ne+1,ne+6),be(this,ne+2,ne+5),be(this,ne+3,ne+4);return this},Ce.prototype.toString=function(){var ee=this.length;return ee===0?"":arguments.length===0?Re(this,0,ee):ke.apply(this,arguments)},Ce.prototype.toLocaleString=Ce.prototype.toString,Ce.prototype.equals=function(ee){if(!Ce.isBuffer(ee))throw new TypeError("Argument must be a Buffer");return this===ee?!0:Ce.compare(this,ee)===0},Ce.prototype.inspect=function(){var ee="",ne=cn.h2;return ee=this.toString("hex",0,ne).replace(/(.{2})/g,"$1 ").trim(),this.length>ne&&(ee+=" ... "),"<Buffer "+ee+">"},Fe&&(Ce.prototype[Fe]=Ce.prototype.inspect),Ce.prototype.compare=function(ee,ne,te,ue,me){if(bt(ee,Uint8Array)&&(ee=Ce.from(ee,ee.offset,ee.byteLength)),!Ce.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(ne===void 0&&(ne=0),te===void 0&&(te=ee?ee.length:0),ue===void 0&&(ue=0),me===void 0&&(me=this.length),ne<0||te>ee.length||ue<0||me>this.length)throw new RangeError("out of range index");if(ue>=me&&ne>=te)return 0;if(ue>=me)return-1;if(ne>=te)return 1;if(ne>>>=0,te>>>=0,ue>>>=0,me>>>=0,this===ee)return 0;for(var Se=me-ue,Dt=te-ne,Ue=Math.min(Se,Dt),$e=this.slice(ue,me),ot=ee.slice(ne,te),vt=0;vt<Ue;++vt)if($e[vt]!==ot[vt]){Se=$e[vt],Dt=ot[vt];break}return Se<Dt?-1:Dt<Se?1:0};function Ve(z,ee,ne,te,ue){if(z.length===0)return-1;if(typeof ne=="string"?(te=ne,ne=0):ne>2147483647?ne=2147483647:ne<-2147483648&&(ne=-2147483648),ne=+ne,ce(ne)&&(ne=ue?0:z.length-1),ne<0&&(ne=z.length+ne),ne>=z.length){if(ue)return-1;ne=z.length-1}else if(ne<0)if(ue)ne=0;else return-1;if(typeof ee=="string"&&(ee=Ce.from(ee,te)),Ce.isBuffer(ee))return ee.length===0?-1:Ge(z,ee,ne,te,ue);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?ue?Uint8Array.prototype.indexOf.call(z,ee,ne):Uint8Array.prototype.lastIndexOf.call(z,ee,ne):Ge(z,[ee],ne,te,ue);throw new TypeError("val must be string, number or Buffer")}function Ge(z,ee,ne,te,ue){var me=1,Se=z.length,Dt=ee.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(z.length<2||ee.length<2)return-1;me=2,Se/=2,Dt/=2,ne/=2}function Ue(tn,jt){return me===1?tn[jt]:tn.readUInt16BE(jt*me)}var $e;if(ue){var ot=-1;for($e=ne;$e<Se;$e++)if(Ue(z,$e)===Ue(ee,ot===-1?0:$e-ot)){if(ot===-1&&(ot=$e),$e-ot+1===Dt)return ot*me}else ot!==-1&&($e-=$e-ot),ot=-1}else for(ne+Dt>Se&&(ne=Se-Dt),$e=ne;$e>=0;$e--){for(var vt=!0,zt=0;zt<Dt;zt++)if(Ue(z,$e+zt)!==Ue(ee,zt)){vt=!1;break}if(vt)return $e}return-1}Ce.prototype.includes=function(ee,ne,te){return this.indexOf(ee,ne,te)!==-1},Ce.prototype.indexOf=function(ee,ne,te){return Ve(this,ee,ne,te,!0)},Ce.prototype.lastIndexOf=function(ee,ne,te){return Ve(this,ee,ne,te,!1)};function ft(z,ee,ne,te){ne=Number(ne)||0;var ue=z.length-ne;te?(te=Number(te),te>ue&&(te=ue)):te=ue;var me=ee.length;te>me/2&&(te=me/2);for(var Se=0;Se<te;++Se){var Dt=parseInt(ee.substr(Se*2,2),16);if(ce(Dt))return Se;z[ne+Se]=Dt}return Se}function ge(z,ee,ne,te){return Bt(Ht(ee,z.length-ne),z,ne,te)}function Ae(z,ee,ne,te){return Bt(We(ee),z,ne,te)}function ze(z,ee,ne,te){return Bt(Qe(ee),z,ne,te)}function Ze(z,ee,ne,te){return Bt(yt(ee,z.length-ne),z,ne,te)}Ce.prototype.write=function(ee,ne,te,ue){if(ne===void 0)ue="utf8",te=this.length,ne=0;else if(te===void 0&&typeof ne=="string")ue=ne,te=this.length,ne=0;else if(isFinite(ne))ne=ne>>>0,isFinite(te)?(te=te>>>0,ue===void 0&&(ue="utf8")):(ue=te,te=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var me=this.length-ne;if((te===void 0||te>me)&&(te=me),ee.length>0&&(te<0||ne<0)||ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");ue||(ue="utf8");for(var Se=!1;;)switch(ue){case"hex":return ft(this,ee,ne,te);case"utf8":case"utf-8":return ge(this,ee,ne,te);case"ascii":case"latin1":case"binary":return Ae(this,ee,ne,te);case"base64":return ze(this,ee,ne,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,ee,ne,te);default:if(Se)throw new TypeError("Unknown encoding: "+ue);ue=(""+ue).toLowerCase(),Se=!0}},Ce.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _e(z,ee,ne){return ee===0&&ne===z.length?Ne.fromByteArray(z):Ne.fromByteArray(z.slice(ee,ne))}function Re(z,ee,ne){ne=Math.min(z.length,ne);for(var te=[],ue=ee;ue<ne;){var me=z[ue],Se=null,Dt=me>239?4:me>223?3:me>191?2:1;if(ue+Dt<=ne){var Ue,$e,ot,vt;switch(Dt){case 1:me<128&&(Se=me);break;case 2:Ue=z[ue+1],(Ue&192)===128&&(vt=(me&31)<<6|Ue&63,vt>127&&(Se=vt));break;case 3:Ue=z[ue+1],$e=z[ue+2],(Ue&192)===128&&($e&192)===128&&(vt=(me&15)<<12|(Ue&63)<<6|$e&63,vt>2047&&(vt<55296||vt>57343)&&(Se=vt));break;case 4:Ue=z[ue+1],$e=z[ue+2],ot=z[ue+3],(Ue&192)===128&&($e&192)===128&&(ot&192)===128&&(vt=(me&15)<<18|(Ue&63)<<12|($e&63)<<6|ot&63,vt>65535&&vt<1114112&&(Se=vt))}}Se===null?(Se=65533,Dt=1):Se>65535&&(Se-=65536,te.push(Se>>>10&1023|55296),Se=56320|Se&1023),te.push(Se),ue+=Dt}return Rt(te)}var Je=4096;function Rt(z){var ee=z.length;if(ee<=Je)return String.fromCharCode.apply(String,z);for(var ne="",te=0;te<ee;)ne+=String.fromCharCode.apply(String,z.slice(te,te+=Je));return ne}function ht(z,ee,ne){var te="";ne=Math.min(z.length,ne);for(var ue=ee;ue<ne;++ue)te+=String.fromCharCode(z[ue]&127);return te}function mt(z,ee,ne){var te="";ne=Math.min(z.length,ne);for(var ue=ee;ue<ne;++ue)te+=String.fromCharCode(z[ue]);return te}function St(z,ee,ne){var te=z.length;(!ee||ee<0)&&(ee=0),(!ne||ne<0||ne>te)&&(ne=te);for(var ue="",me=ee;me<ne;++me)ue+=ie[z[me]];return ue}function xe(z,ee,ne){for(var te=z.slice(ee,ne),ue="",me=0;me<te.length-1;me+=2)ue+=String.fromCharCode(te[me]+te[me+1]*256);return ue}Ce.prototype.slice=function(ee,ne){var te=this.length;ee=~~ee,ne=ne===void 0?te:~~ne,ee<0?(ee+=te,ee<0&&(ee=0)):ee>te&&(ee=te),ne<0?(ne+=te,ne<0&&(ne=0)):ne>te&&(ne=te),ne<ee&&(ne=ee);var ue=this.subarray(ee,ne);return Object.setPrototypeOf(ue,Ce.prototype),ue};function he(z,ee,ne){if(z%1!==0||z<0)throw new RangeError("offset is not uint");if(z+ee>ne)throw new RangeError("Trying to access beyond buffer length")}Ce.prototype.readUintLE=Ce.prototype.readUIntLE=function(ee,ne,te){ee=ee>>>0,ne=ne>>>0,te||he(ee,ne,this.length);for(var ue=this[ee],me=1,Se=0;++Se<ne&&(me*=256);)ue+=this[ee+Se]*me;return ue},Ce.prototype.readUintBE=Ce.prototype.readUIntBE=function(ee,ne,te){ee=ee>>>0,ne=ne>>>0,te||he(ee,ne,this.length);for(var ue=this[ee+--ne],me=1;ne>0&&(me*=256);)ue+=this[ee+--ne]*me;return ue},Ce.prototype.readUint8=Ce.prototype.readUInt8=function(ee,ne){return ee=ee>>>0,ne||he(ee,1,this.length),this[ee]},Ce.prototype.readUint16LE=Ce.prototype.readUInt16LE=function(ee,ne){return ee=ee>>>0,ne||he(ee,2,this.length),this[ee]|this[ee+1]<<8},Ce.prototype.readUint16BE=Ce.prototype.readUInt16BE=function(ee,ne){return ee=ee>>>0,ne||he(ee,2,this.length),this[ee]<<8|this[ee+1]},Ce.prototype.readUint32LE=Ce.prototype.readUInt32LE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},Ce.prototype.readUint32BE=Ce.prototype.readUInt32BE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},Ce.prototype.readIntLE=function(ee,ne,te){ee=ee>>>0,ne=ne>>>0,te||he(ee,ne,this.length);for(var ue=this[ee],me=1,Se=0;++Se<ne&&(me*=256);)ue+=this[ee+Se]*me;return me*=128,ue>=me&&(ue-=Math.pow(2,8*ne)),ue},Ce.prototype.readIntBE=function(ee,ne,te){ee=ee>>>0,ne=ne>>>0,te||he(ee,ne,this.length);for(var ue=ne,me=1,Se=this[ee+--ue];ue>0&&(me*=256);)Se+=this[ee+--ue]*me;return me*=128,Se>=me&&(Se-=Math.pow(2,8*ne)),Se},Ce.prototype.readInt8=function(ee,ne){return ee=ee>>>0,ne||he(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},Ce.prototype.readInt16LE=function(ee,ne){ee=ee>>>0,ne||he(ee,2,this.length);var te=this[ee]|this[ee+1]<<8;return te&32768?te|4294901760:te},Ce.prototype.readInt16BE=function(ee,ne){ee=ee>>>0,ne||he(ee,2,this.length);var te=this[ee+1]|this[ee]<<8;return te&32768?te|4294901760:te},Ce.prototype.readInt32LE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},Ce.prototype.readInt32BE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},Ce.prototype.readFloatLE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),Te.read(this,ee,!0,23,4)},Ce.prototype.readFloatBE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),Te.read(this,ee,!1,23,4)},Ce.prototype.readDoubleLE=function(ee,ne){return ee=ee>>>0,ne||he(ee,8,this.length),Te.read(this,ee,!0,52,8)},Ce.prototype.readDoubleBE=function(ee,ne){return ee=ee>>>0,ne||he(ee,8,this.length),Te.read(this,ee,!1,52,8)};function qe(z,ee,ne,te,ue,me){if(!Ce.isBuffer(z))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>ue||ee<me)throw new RangeError('"value" argument is out of bounds');if(ne+te>z.length)throw new RangeError("Index out of range")}Ce.prototype.writeUintLE=Ce.prototype.writeUIntLE=function(ee,ne,te,ue){if(ee=+ee,ne=ne>>>0,te=te>>>0,!ue){var me=Math.pow(2,8*te)-1;qe(this,ee,ne,te,me,0)}var Se=1,Dt=0;for(this[ne]=ee&255;++Dt<te&&(Se*=256);)this[ne+Dt]=ee/Se&255;return ne+te},Ce.prototype.writeUintBE=Ce.prototype.writeUIntBE=function(ee,ne,te,ue){if(ee=+ee,ne=ne>>>0,te=te>>>0,!ue){var me=Math.pow(2,8*te)-1;qe(this,ee,ne,te,me,0)}var Se=te-1,Dt=1;for(this[ne+Se]=ee&255;--Se>=0&&(Dt*=256);)this[ne+Se]=ee/Dt&255;return ne+te},Ce.prototype.writeUint8=Ce.prototype.writeUInt8=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,1,255,0),this[ne]=ee&255,ne+1},Ce.prototype.writeUint16LE=Ce.prototype.writeUInt16LE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,2,65535,0),this[ne]=ee&255,this[ne+1]=ee>>>8,ne+2},Ce.prototype.writeUint16BE=Ce.prototype.writeUInt16BE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,2,65535,0),this[ne]=ee>>>8,this[ne+1]=ee&255,ne+2},Ce.prototype.writeUint32LE=Ce.prototype.writeUInt32LE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,4,4294967295,0),this[ne+3]=ee>>>24,this[ne+2]=ee>>>16,this[ne+1]=ee>>>8,this[ne]=ee&255,ne+4},Ce.prototype.writeUint32BE=Ce.prototype.writeUInt32BE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,4,4294967295,0),this[ne]=ee>>>24,this[ne+1]=ee>>>16,this[ne+2]=ee>>>8,this[ne+3]=ee&255,ne+4},Ce.prototype.writeIntLE=function(ee,ne,te,ue){if(ee=+ee,ne=ne>>>0,!ue){var me=Math.pow(2,8*te-1);qe(this,ee,ne,te,me-1,-me)}var Se=0,Dt=1,Ue=0;for(this[ne]=ee&255;++Se<te&&(Dt*=256);)ee<0&&Ue===0&&this[ne+Se-1]!==0&&(Ue=1),this[ne+Se]=(ee/Dt>>0)-Ue&255;return ne+te},Ce.prototype.writeIntBE=function(ee,ne,te,ue){if(ee=+ee,ne=ne>>>0,!ue){var me=Math.pow(2,8*te-1);qe(this,ee,ne,te,me-1,-me)}var Se=te-1,Dt=1,Ue=0;for(this[ne+Se]=ee&255;--Se>=0&&(Dt*=256);)ee<0&&Ue===0&&this[ne+Se+1]!==0&&(Ue=1),this[ne+Se]=(ee/Dt>>0)-Ue&255;return ne+te},Ce.prototype.writeInt8=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,1,127,-128),ee<0&&(ee=255+ee+1),this[ne]=ee&255,ne+1},Ce.prototype.writeInt16LE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,2,32767,-32768),this[ne]=ee&255,this[ne+1]=ee>>>8,ne+2},Ce.prototype.writeInt16BE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,2,32767,-32768),this[ne]=ee>>>8,this[ne+1]=ee&255,ne+2},Ce.prototype.writeInt32LE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,4,2147483647,-2147483648),this[ne]=ee&255,this[ne+1]=ee>>>8,this[ne+2]=ee>>>16,this[ne+3]=ee>>>24,ne+4},Ce.prototype.writeInt32BE=function(ee,ne,te){return ee=+ee,ne=ne>>>0,te||qe(this,ee,ne,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[ne]=ee>>>24,this[ne+1]=ee>>>16,this[ne+2]=ee>>>8,this[ne+3]=ee&255,ne+4};function Tt(z,ee,ne,te,ue,me){if(ne+te>z.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("Index out of range")}function Mt(z,ee,ne,te,ue){return ee=+ee,ne=ne>>>0,ue||Tt(z,ee,ne,4,34028234663852886e22,-34028234663852886e22),Te.write(z,ee,ne,te,23,4),ne+4}Ce.prototype.writeFloatLE=function(ee,ne,te){return Mt(this,ee,ne,!0,te)},Ce.prototype.writeFloatBE=function(ee,ne,te){return Mt(this,ee,ne,!1,te)};function Xe(z,ee,ne,te,ue){return ee=+ee,ne=ne>>>0,ue||Tt(z,ee,ne,8,17976931348623157e292,-17976931348623157e292),Te.write(z,ee,ne,te,52,8),ne+8}Ce.prototype.writeDoubleLE=function(ee,ne,te){return Xe(this,ee,ne,!0,te)},Ce.prototype.writeDoubleBE=function(ee,ne,te){return Xe(this,ee,ne,!1,te)},Ce.prototype.copy=function(ee,ne,te,ue){if(!Ce.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(te||(te=0),!ue&&ue!==0&&(ue=this.length),ne>=ee.length&&(ne=ee.length),ne||(ne=0),ue>0&&ue<te&&(ue=te),ue===te||ee.length===0||this.length===0)return 0;if(ne<0)throw new RangeError("targetStart out of bounds");if(te<0||te>=this.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("sourceEnd out of bounds");ue>this.length&&(ue=this.length),ee.length-ne<ue-te&&(ue=ee.length-ne+te);var me=ue-te;return this===ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(ne,te,ue):Uint8Array.prototype.set.call(ee,this.subarray(te,ue),ne),me},Ce.prototype.fill=function(ee,ne,te,ue){if(typeof ee=="string"){if(typeof ne=="string"?(ue=ne,ne=0,te=this.length):typeof te=="string"&&(ue=te,te=this.length),ue!==void 0&&typeof ue!="string")throw new TypeError("encoding must be a string");if(typeof ue=="string"&&!Ce.isEncoding(ue))throw new TypeError("Unknown encoding: "+ue);if(ee.length===1){var me=ee.charCodeAt(0);(ue==="utf8"&&me<128||ue==="latin1")&&(ee=me)}}else typeof ee=="number"?ee=ee&255:typeof ee=="boolean"&&(ee=Number(ee));if(ne<0||this.length<ne||this.length<te)throw new RangeError("Out of range index");if(te<=ne)return this;ne=ne>>>0,te=te===void 0?this.length:te>>>0,ee||(ee=0);var Se;if(typeof ee=="number")for(Se=ne;Se<te;++Se)this[Se]=ee;else{var Dt=Ce.isBuffer(ee)?ee:Ce.from(ee,ue),Ue=Dt.length;if(Ue===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(Se=0;Se<te-ne;++Se)this[Se+ne]=Dt[Se%Ue]}return this};var Ct=/[^+/0-9A-Za-z-_]/g;function tt(z){if(z=z.split("=")[0],z=z.trim().replace(Ct,""),z.length<2)return"";for(;z.length%4!==0;)z=z+"=";return z}function Ht(z,ee){ee=ee||1/0;for(var ne,te=z.length,ue=null,me=[],Se=0;Se<te;++Se){if(ne=z.charCodeAt(Se),ne>55295&&ne<57344){if(!ue){if(ne>56319){(ee-=3)>-1&&me.push(239,191,189);continue}else if(Se+1===te){(ee-=3)>-1&&me.push(239,191,189);continue}ue=ne;continue}if(ne<56320){(ee-=3)>-1&&me.push(239,191,189),ue=ne;continue}ne=(ue-55296<<10|ne-56320)+65536}else ue&&(ee-=3)>-1&&me.push(239,191,189);if(ue=null,ne<128){if((ee-=1)<0)break;me.push(ne)}else if(ne<2048){if((ee-=2)<0)break;me.push(ne>>6|192,ne&63|128)}else if(ne<65536){if((ee-=3)<0)break;me.push(ne>>12|224,ne>>6&63|128,ne&63|128)}else if(ne<1114112){if((ee-=4)<0)break;me.push(ne>>18|240,ne>>12&63|128,ne>>6&63|128,ne&63|128)}else throw new Error("Invalid code point")}return me}function We(z){for(var ee=[],ne=0;ne<z.length;++ne)ee.push(z.charCodeAt(ne)&255);return ee}function yt(z,ee){for(var ne,te,ue,me=[],Se=0;Se<z.length&&!((ee-=2)<0);++Se)ne=z.charCodeAt(Se),te=ne>>8,ue=ne%256,me.push(ue),me.push(te);return me}function Qe(z){return Ne.toByteArray(tt(z))}function Bt(z,ee,ne,te){for(var ue=0;ue<te&&!(ue+ne>=ee.length||ue>=z.length);++ue)ee[ue+ne]=z[ue];return ue}function bt(z,ee){return z instanceof ee||z!=null&&z.constructor!=null&&z.constructor.name!=null&&z.constructor.name===ee.name}function ce(z){return z!==z}var ie=function(){for(var z="0123456789abcdef",ee=new Array(256),ne=0;ne<16;++ne)for(var te=ne*16,ue=0;ue<16;++ue)ee[te+ue]=z[ne]+z[ue];return ee}()},99498:function(bn,cn,se){(function(re){re(se(89780))})(function(re){re.defineOption("placeholder","",function(Ce,Pe,oe){var nt=oe&&oe!=re.Init;if(Pe&&!nt)Ce.on("blur",Ee),Ce.on("change",fe),Ce.on("swapDoc",fe),re.on(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose=function(){Fe(Ce)}),fe(Ce);else if(!Pe&&nt){Ce.off("blur",Ee),Ce.off("change",fe),Ce.off("swapDoc",fe),re.off(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose),Ne(Ce);var ye=Ce.getWrapperElement();ye.className=ye.className.replace(" CodeMirror-empty","")}Pe&&!Ce.hasFocus()&&Ee(Ce)});function Ne(Ce){Ce.state.placeholder&&(Ce.state.placeholder.parentNode.removeChild(Ce.state.placeholder),Ce.state.placeholder=null)}function Te(Ce){Ne(Ce);var Pe=Ce.state.placeholder=document.createElement("pre");Pe.style.cssText="height: 0; overflow: visible",Pe.style.direction=Ce.getOption("direction"),Pe.className="CodeMirror-placeholder CodeMirror-line-like";var oe=Ce.getOption("placeholder");typeof oe=="string"&&(oe=document.createTextNode(oe)),Pe.appendChild(oe),Ce.display.lineSpace.insertBefore(Pe,Ce.display.lineSpace.firstChild)}function Fe(Ce){setTimeout(function(){var Pe=!1,oe=Ce.getInputField();oe.nodeName=="TEXTAREA"?Pe=!oe.value:Ce.lineCount()==1&&(Pe=!/[^\u200b]/.test(oe.querySelector(".CodeMirror-line").textContent)),Pe?Te(Ce):Ne(Ce)},20)}function Ee(Ce){Oe(Ce)&&Te(Ce)}function fe(Ce){var Pe=Ce.getWrapperElement(),oe=Oe(Ce);Pe.className=Pe.className.replace(" CodeMirror-empty","")+(oe?" CodeMirror-empty":""),oe?Te(Ce):Ne(Ce)}function Oe(Ce){return Ce.lineCount()===1&&Ce.getLine(0)===""}})},25717:function(bn,cn,se){(function(re){re(se(89780))})(function(re){var Ne={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Te=re.Pos;re.defineOption("autoCloseBrackets",!1,function(Ye,He,je){je&&je!=re.Init&&(Ye.removeKeyMap(Ee),Ye.state.closeBrackets=null),He&&(fe(Fe(He,"pairs")),Ye.state.closeBrackets=He,Ye.addKeyMap(Ee))});function Fe(Ye,He){return He=="pairs"&&typeof Ye=="string"?Ye:typeof Ye=="object"&&Ye[He]!=null?Ye[He]:Ne[He]}var Ee={Backspace:Pe,Enter:oe};function fe(Ye){for(var He=0;He<Ye.length;He++){var je=Ye.charAt(He),st="'"+je+"'";Ee[st]||(Ee[st]=Oe(je))}}fe(Ne.pairs+"`");function Oe(Ye){return function(He){return ye(He,Ye)}}function Ce(Ye){var He=Ye.state.closeBrackets;if(!He||He.override)return He;var je=Ye.getModeAt(Ye.getCursor());return je.closeBrackets||He}function Pe(Ye){var He=Ce(Ye);if(!He||Ye.getOption("disableInput"))return re.Pass;for(var je=Fe(He,"pairs"),st=Ye.listSelections(),at=0;at<st.length;at++){if(!st[at].empty())return re.Pass;var rt=Ke(Ye,st[at].head);if(!rt||je.indexOf(rt)%2!=0)return re.Pass}for(var at=st.length-1;at>=0;at--){var ke=st[at].head;Ye.replaceRange("",Te(ke.line,ke.ch-1),Te(ke.line,ke.ch+1),"+delete")}}function oe(Ye){var He=Ce(Ye),je=He&&Fe(He,"explode");if(!je||Ye.getOption("disableInput"))return re.Pass;for(var st=Ye.listSelections(),at=0;at<st.length;at++){if(!st[at].empty())return re.Pass;var rt=Ke(Ye,st[at].head);if(!rt||je.indexOf(rt)%2!=0)return re.Pass}Ye.operation(function(){var ke=Ye.lineSeparator()||`
|
|
`;Ye.replaceSelection(ke+ke,null),Ye.execCommand("goCharLeft"),st=Ye.listSelections();for(var be=0;be<st.length;be++){var Ve=st[be].head.line;Ye.indentLine(Ve,null,!0),Ye.indentLine(Ve+1,null,!0)}})}function nt(Ye){var He=re.cmpPos(Ye.anchor,Ye.head)>0;return{anchor:new Te(Ye.anchor.line,Ye.anchor.ch+(He?-1:1)),head:new Te(Ye.head.line,Ye.head.ch+(He?1:-1))}}function ye(Ye,He){var je=Ce(Ye);if(!je||Ye.getOption("disableInput"))return re.Pass;var st=Fe(je,"pairs"),at=st.indexOf(He);if(at==-1)return re.Pass;for(var rt=Fe(je,"closeBefore"),ke=Fe(je,"triples"),be=st.charAt(at+1)==He,Ve=Ye.listSelections(),Ge=at%2==0,ft,ge=0;ge<Ve.length;ge++){var Ae=Ve[ge],ze=Ae.head,Ze,_e=Ye.getRange(ze,Te(ze.line,ze.ch+1));if(Ge&&!Ae.empty())Ze="surround";else if((be||!Ge)&&_e==He)be&&Ie(Ye,ze)?Ze="both":ke.indexOf(He)>=0&&Ye.getRange(ze,Te(ze.line,ze.ch+3))==He+He+He?Ze="skipThree":Ze="skip";else if(be&&ze.ch>1&&ke.indexOf(He)>=0&&Ye.getRange(Te(ze.line,ze.ch-2),ze)==He+He){if(ze.ch>2&&/\bstring/.test(Ye.getTokenTypeAt(Te(ze.line,ze.ch-2))))return re.Pass;Ze="addFour"}else if(be){var Re=ze.ch==0?" ":Ye.getRange(Te(ze.line,ze.ch-1),ze);if(!re.isWordChar(_e)&&Re!=He&&!re.isWordChar(Re))Ze="both";else return re.Pass}else if(Ge&&(_e.length===0||/\s/.test(_e)||rt.indexOf(_e)>-1))Ze="both";else return re.Pass;if(!ft)ft=Ze;else if(ft!=Ze)return re.Pass}var Je=at%2?st.charAt(at-1):He,Rt=at%2?He:st.charAt(at+1);Ye.operation(function(){if(ft=="skip")Ye.execCommand("goCharRight");else if(ft=="skipThree")for(var ht=0;ht<3;ht++)Ye.execCommand("goCharRight");else if(ft=="surround"){for(var mt=Ye.getSelections(),ht=0;ht<mt.length;ht++)mt[ht]=Je+mt[ht]+Rt;Ye.replaceSelections(mt,"around"),mt=Ye.listSelections().slice();for(var ht=0;ht<mt.length;ht++)mt[ht]=nt(mt[ht]);Ye.setSelections(mt)}else ft=="both"?(Ye.replaceSelection(Je+Rt,null),Ye.triggerElectric(Je+Rt),Ye.execCommand("goCharLeft")):ft=="addFour"&&(Ye.replaceSelection(Je+Je+Je+Je,"before"),Ye.execCommand("goCharRight"))})}function Ke(Ye,He){var je=Ye.getRange(Te(He.line,He.ch-1),Te(He.line,He.ch+1));return je.length==2?je:null}function Ie(Ye,He){var je=Ye.getTokenAt(Te(He.line,He.ch+1));return/\bstring/.test(je.type)&&je.start==He.ch&&(He.ch==0||!/\bstring/.test(Ye.getTokenTypeAt(He)))}})},6313:function(bn,cn,se){(function(re){re(se(89780),se(52730))})(function(re){re.defineOption("autoCloseTags",!1,function(Pe,oe,nt){if(nt!=re.Init&&nt&&Pe.removeKeyMap("autoCloseTags"),!!oe){var ye={name:"autoCloseTags"};(typeof oe!="object"||oe.whenClosing!==!1)&&(ye["'/'"]=function(Ke){return fe(Ke)}),(typeof oe!="object"||oe.whenOpening!==!1)&&(ye["'>'"]=function(Ke){return Fe(Ke)}),Pe.addKeyMap(ye)}});var Ne=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Te=["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 Fe(Pe){if(Pe.getOption("disableInput"))return re.Pass;for(var oe=Pe.listSelections(),nt=[],ye=Pe.getOption("autoCloseTags"),Ke=0;Ke<oe.length;Ke++){if(!oe[Ke].empty())return re.Pass;var Ie=oe[Ke].head,Ye=Pe.getTokenAt(Ie),He=re.innerMode(Pe.getMode(),Ye.state),je=He.state,st=He.mode.xmlCurrentTag&&He.mode.xmlCurrentTag(je),at=st&&st.name;if(!at)return re.Pass;var rt=He.mode.configuration=="html",ke=typeof ye=="object"&&ye.dontCloseTags||rt&&Ne,be=typeof ye=="object"&&ye.indentTags||rt&&Te;Ye.end>Ie.ch&&(at=at.slice(0,at.length-Ye.end+Ie.ch));var Ve=at.toLowerCase();if(!at||Ye.type=="string"&&(Ye.end!=Ie.ch||!/[\"\']/.test(Ye.string.charAt(Ye.string.length-1))||Ye.string.length==1)||Ye.type=="tag"&&st.close||Ye.string.indexOf("/")==Ie.ch-Ye.start-1||ke&&Oe(ke,Ve)>-1||Ce(Pe,He.mode.xmlCurrentContext&&He.mode.xmlCurrentContext(je)||[],at,Ie,!0))return re.Pass;var Ge=typeof ye=="object"&&ye.emptyTags;if(Ge&&Oe(Ge,at)>-1){nt[Ke]={text:"/>",newPos:re.Pos(Ie.line,Ie.ch+2)};continue}var ft=be&&Oe(be,Ve)>-1;nt[Ke]={indent:ft,text:">"+(ft?`
|
|
|
|
`:"")+"</"+at+">",newPos:ft?re.Pos(Ie.line+1,0):re.Pos(Ie.line,Ie.ch+1)}}for(var ge=typeof ye=="object"&&ye.dontIndentOnAutoClose,Ke=oe.length-1;Ke>=0;Ke--){var Ae=nt[Ke];Pe.replaceRange(Ae.text,oe[Ke].head,oe[Ke].anchor,"+insert");var ze=Pe.listSelections().slice(0);ze[Ke]={head:Ae.newPos,anchor:Ae.newPos},Pe.setSelections(ze),!ge&&Ae.indent&&(Pe.indentLine(Ae.newPos.line,null,!0),Pe.indentLine(Ae.newPos.line+1,null,!0))}}function Ee(Pe,oe){for(var nt=Pe.listSelections(),ye=[],Ke=oe?"/":"</",Ie=Pe.getOption("autoCloseTags"),Ye=typeof Ie=="object"&&Ie.dontIndentOnSlash,He=0;He<nt.length;He++){if(!nt[He].empty())return re.Pass;var je=nt[He].head,st=Pe.getTokenAt(je),at=re.innerMode(Pe.getMode(),st.state),rt=at.state;if(oe&&(st.type=="string"||st.string.charAt(0)!="<"||st.start!=je.ch-1))return re.Pass;var ke,be=at.mode.name!="xml"&&Pe.getMode().name=="htmlmixed";if(be&&at.mode.name=="javascript")ke=Ke+"script";else if(be&&at.mode.name=="css")ke=Ke+"style";else{var Ve=at.mode.xmlCurrentContext&&at.mode.xmlCurrentContext(rt);if(!Ve||Ve.length&&Ce(Pe,Ve,Ve[Ve.length-1],je))return re.Pass;ke=Ke+Ve[Ve.length-1]}Pe.getLine(je.line).charAt(st.end)!=">"&&(ke+=">"),ye[He]=ke}if(Pe.replaceSelections(ye),nt=Pe.listSelections(),!Ye)for(var He=0;He<nt.length;He++)(He==nt.length-1||nt[He].head.line<nt[He+1].head.line)&&Pe.indentLine(nt[He].head.line)}function fe(Pe){return Pe.getOption("disableInput")?re.Pass:Ee(Pe,!0)}re.commands.closeTag=function(Pe){return Ee(Pe)};function Oe(Pe,oe){if(Pe.indexOf)return Pe.indexOf(oe);for(var nt=0,ye=Pe.length;nt<ye;++nt)if(Pe[nt]==oe)return nt;return-1}function Ce(Pe,oe,nt,ye,Ke){if(!re.scanForClosingTag)return!1;var Ie=Math.min(Pe.lastLine()+1,ye.line+500),Ye=re.scanForClosingTag(Pe,ye,null,Ie);if(!Ye||Ye.tag!=nt)return!1;for(var He=Ke?1:0,je=oe.length-1;je>=0&&oe[je]==nt;je--)++He;ye=Ye.to;for(var je=1;je<He;je++){var st=re.scanForClosingTag(Pe,ye,null,Ie);if(!st||st.tag!=nt)return!1;ye=st.to}return!0}})},52730:function(bn,cn,se){(function(re){re(se(89780))})(function(re){"use strict";var Ne=re.Pos;function Te(je,st){return je.line-st.line||je.ch-st.ch}var Fe="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",Ee=Fe+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",fe=new RegExp("<(/?)(["+Fe+"]["+Ee+"]*)","g");function Oe(je,st,at,rt){this.line=st,this.ch=at,this.cm=je,this.text=je.getLine(st),this.min=rt?Math.max(rt.from,je.firstLine()):je.firstLine(),this.max=rt?Math.min(rt.to-1,je.lastLine()):je.lastLine()}function Ce(je,st){var at=je.cm.getTokenTypeAt(Ne(je.line,st));return at&&/\btag\b/.test(at)}function Pe(je){if(!(je.line>=je.max))return je.ch=0,je.text=je.cm.getLine(++je.line),!0}function oe(je){if(!(je.line<=je.min))return je.text=je.cm.getLine(--je.line),je.ch=je.text.length,!0}function nt(je){for(;;){var st=je.text.indexOf(">",je.ch);if(st==-1){if(Pe(je))continue;return}if(!Ce(je,st+1)){je.ch=st+1;continue}var at=je.text.lastIndexOf("/",st),rt=at>-1&&!/\S/.test(je.text.slice(at+1,st));return je.ch=st+1,rt?"selfClose":"regular"}}function ye(je){for(;;){var st=je.ch?je.text.lastIndexOf("<",je.ch-1):-1;if(st==-1){if(oe(je))continue;return}if(!Ce(je,st+1)){je.ch=st;continue}fe.lastIndex=st,je.ch=st;var at=fe.exec(je.text);if(at&&at.index==st)return at}}function Ke(je){for(;;){fe.lastIndex=je.ch;var st=fe.exec(je.text);if(!st){if(Pe(je))continue;return}if(!Ce(je,st.index+1)){je.ch=st.index+1;continue}return je.ch=st.index+st[0].length,st}}function Ie(je){for(;;){var st=je.ch?je.text.lastIndexOf(">",je.ch-1):-1;if(st==-1){if(oe(je))continue;return}if(!Ce(je,st+1)){je.ch=st;continue}var at=je.text.lastIndexOf("/",st),rt=at>-1&&!/\S/.test(je.text.slice(at+1,st));return je.ch=st+1,rt?"selfClose":"regular"}}function Ye(je,st){for(var at=[];;){var rt=Ke(je),ke,be=je.line,Ve=je.ch-(rt?rt[0].length:0);if(!rt||!(ke=nt(je)))return;if(ke!="selfClose")if(rt[1]){for(var Ge=at.length-1;Ge>=0;--Ge)if(at[Ge]==rt[2]){at.length=Ge;break}if(Ge<0&&(!st||st==rt[2]))return{tag:rt[2],from:Ne(be,Ve),to:Ne(je.line,je.ch)}}else at.push(rt[2])}}function He(je,st){for(var at=[];;){var rt=Ie(je);if(!rt)return;if(rt=="selfClose"){ye(je);continue}var ke=je.line,be=je.ch,Ve=ye(je);if(!Ve)return;if(Ve[1])at.push(Ve[2]);else{for(var Ge=at.length-1;Ge>=0;--Ge)if(at[Ge]==Ve[2]){at.length=Ge;break}if(Ge<0&&(!st||st==Ve[2]))return{tag:Ve[2],from:Ne(je.line,je.ch),to:Ne(ke,be)}}}}re.registerHelper("fold","xml",function(je,st){for(var at=new Oe(je,st.line,0);;){var rt=Ke(at);if(!rt||at.line!=st.line)return;var ke=nt(at);if(!ke)return;if(!rt[1]&&ke!="selfClose"){var be=Ne(at.line,at.ch),Ve=Ye(at,rt[2]);return Ve&&Te(Ve.from,be)>0?{from:be,to:Ve.from}:null}}}),re.findMatchingTag=function(je,st,at){var rt=new Oe(je,st.line,st.ch,at);if(!(rt.text.indexOf(">")==-1&&rt.text.indexOf("<")==-1)){var ke=nt(rt),be=ke&&Ne(rt.line,rt.ch),Ve=ke&&ye(rt);if(!(!ke||!Ve||Te(rt,st)>0)){var Ge={from:Ne(rt.line,rt.ch),to:be,tag:Ve[2]};return ke=="selfClose"?{open:Ge,close:null,at:"open"}:Ve[1]?{open:He(rt,Ve[2]),close:Ge,at:"close"}:(rt=new Oe(je,be.line,be.ch,at),{open:Ge,close:Ye(rt,Ve[2]),at:"open"})}}},re.findEnclosingTag=function(je,st,at,rt){for(var ke=new Oe(je,st.line,st.ch,at);;){var be=He(ke,rt);if(!be)break;var Ve=new Oe(je,st.line,st.ch,at),Ge=Ye(Ve,be.tag);if(Ge)return{open:be,close:Ge}}},re.scanForClosingTag=function(je,st,at,rt){var ke=new Oe(je,st.line,st.ch,rt?{from:0,to:rt}:null);return Ye(ke,at)}})},89780:function(bn){(function(cn,se){bn.exports=se()})(this,function(){"use strict";var cn=navigator.userAgent,se=navigator.platform,re=/gecko\/\d/i.test(cn),Ne=/MSIE \d/.test(cn),Te=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(cn),Fe=/Edge\/(\d+)/.exec(cn),Ee=Ne||Te||Fe,fe=Ee&&(Ne?document.documentMode||6:+(Fe||Te)[1]),Oe=!Fe&&/WebKit\//.test(cn),Ce=Oe&&/Qt\/\d+\.\d+/.test(cn),Pe=!Fe&&/Chrome\//.test(cn),oe=/Opera\//.test(cn),nt=/Apple Computer/.test(navigator.vendor),ye=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(cn),Ke=/PhantomJS/.test(cn),Ie=!Fe&&/AppleWebKit/.test(cn)&&/Mobile\/\w+/.test(cn),Ye=/Android/.test(cn),He=Ie||Ye||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(cn),je=Ie||/Mac/.test(se),st=/\bCrOS\b/.test(cn),at=/win/i.test(se),rt=oe&&cn.match(/Version\/(\d*\.\d*)/);rt&&(rt=Number(rt[1])),rt&&rt>=15&&(oe=!1,Oe=!0);var ke=je&&(Ce||oe&&(rt==null||rt<12.11)),be=re||Ee&&fe>=9;function Ve(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ge=function(a,y){var b=a.className,x=Ve(y).exec(b);if(x){var E=b.slice(x.index+x[0].length);a.className=b.slice(0,x.index)+(E?x[1]+E:"")}};function ft(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function ge(a,y){return ft(a).appendChild(y)}function Ae(a,y,b,x){var E=document.createElement(a);if(b&&(E.className=b),x&&(E.style.cssText=x),typeof y=="string")E.appendChild(document.createTextNode(y));else if(y)for(var ae=0;ae<y.length;++ae)E.appendChild(y[ae]);return E}function ze(a,y,b,x){var E=Ae(a,y,b,x);return E.setAttribute("role","presentation"),E}var Ze;document.createRange?Ze=function(a,y,b,x){var E=document.createRange();return E.setEnd(x||a,b),E.setStart(a,y),E}:Ze=function(a,y,b){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(E){return x}return x.collapse(!0),x.moveEnd("character",b),x.moveStart("character",y),x};function _e(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 Re(){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 Je(a,y){var b=a.className;Ve(y).test(b)||(a.className+=(b?" ":"")+y)}function Rt(a,y){for(var b=a.split(" "),x=0;x<b.length;x++)b[x]&&!Ve(b[x]).test(y)&&(y+=" "+b[x]);return y}var ht=function(a){a.select()};Ie?ht=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Ee&&(ht=function(a){try{a.select()}catch(y){}});function mt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function St(a,y,b){y||(y={});for(var x in a)a.hasOwnProperty(x)&&(b!==!1||!y.hasOwnProperty(x))&&(y[x]=a[x]);return y}function xe(a,y,b,x,E){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ae=x||0,de=E||0;;){var ve=a.indexOf(" ",ae);if(ve<0||ve>=y)return de+(y-ae);de+=ve-ae,de+=b-de%b,ae=ve+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=mt(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 b=+new Date+a;(!this.id||b<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=b)};function qe(a,y){for(var b=0;b<a.length;++b)if(a[b]==y)return b;return-1}var Tt=50,Mt={toString:function(){return"CodeMirror.Pass"}},Xe={scroll:!1},Ct={origin:"*mouse"},tt={origin:"+move"};function Ht(a,y,b){for(var x=0,E=0;;){var ae=a.indexOf(" ",x);ae==-1&&(ae=a.length);var de=ae-x;if(ae==a.length||E+de>=y)return x+Math.min(de,y-E);if(E+=ae-x,E+=b-E%b,x=ae+1,E>=y)return x}}var We=[""];function yt(a){for(;We.length<=a;)We.push(Qe(We)+" ");return We[a]}function Qe(a){return a[a.length-1]}function Bt(a,y){for(var b=[],x=0;x<a.length;x++)b[x]=y(a[x],x);return b}function bt(a,y,b){for(var x=0,E=b(y);x<a.length&&b(a[x])<=E;)x++;a.splice(x,0,y)}function ce(){}function ie(a,y){var b;return Object.create?b=Object.create(a):(ce.prototype=a,b=new ce),y&&St(y,b),b}var z=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||z.test(a))}function ne(a,y){return y?y.source.indexOf("\\w")>-1&&ee(a)?!0:y.test(a):ee(a)}function te(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var ue=/[\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 me(a){return a.charCodeAt(0)>=768&&ue.test(a)}function Se(a,y,b){for(;(b<0?y>0:y<a.length)&&me(a.charAt(y));)y+=b;return y}function Dt(a,y,b){for(var x=y>b?-1:1;;){if(y==b)return y;var E=(y+b)/2,ae=x<0?Math.ceil(E):Math.floor(E);if(ae==y)return a(ae)?y:b;a(ae)?b=ae:y=ae+x}}function Ue(a,y,b,x){if(!a)return x(y,b,"ltr",0);for(var E=!1,ae=0;ae<a.length;++ae){var de=a[ae];(de.from<b&&de.to>y||y==b&&de.to==y)&&(x(Math.max(de.from,y),Math.min(de.to,b),de.level==1?"rtl":"ltr",ae),E=!0)}E||x(y,b,"ltr")}var $e=null;function ot(a,y,b){var x;$e=null;for(var E=0;E<a.length;++E){var ae=a[E];if(ae.from<y&&ae.to>y)return E;ae.to==y&&(ae.from!=ae.to&&b=="before"?x=E:$e=E),ae.from==y&&(ae.from!=ae.to&&b!="before"?x=E:$e=E)}return x!=null?x:$e}var vt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function b(we){return we<=247?a.charAt(we):1424<=we&&we<=1524?"R":1536<=we&&we<=1785?y.charAt(we-1536):1774<=we&&we<=2220?"r":8192<=we&&we<=8203?"w":we==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,ae=/[LRr]/,de=/[Lb1n]/,ve=/[1n]/;function pe(we,lt,pt){this.level=we,this.from=lt,this.to=pt}return function(we,lt){var pt=lt=="ltr"?"L":"R";if(we.length==0||lt=="ltr"&&!x.test(we))return!1;for(var an=we.length,Xt=[],Pn=0;Pn<an;++Pn)Xt.push(b(we.charCodeAt(Pn)));for(var Un=0,ur=pt;Un<an;++Un){var Sr=Xt[Un];Sr=="m"?Xt[Un]=ur:ur=Sr}for(var zr=0,kr=pt;zr<an;++zr){var Xr=Xt[zr];Xr=="1"&&kr=="r"?Xt[zr]="n":ae.test(Xr)&&(kr=Xr,Xr=="r"&&(Xt[zr]="R"))}for(var oi=1,$r=Xt[0];oi<an-1;++oi){var Ii=Xt[oi];Ii=="+"&&$r=="1"&&Xt[oi+1]=="1"?Xt[oi]="1":Ii==","&&$r==Xt[oi+1]&&($r=="1"||$r=="n")&&(Xt[oi]=$r),$r=Ii}for(var na=0;na<an;++na){var Aa=Xt[na];if(Aa==",")Xt[na]="N";else if(Aa=="%"){var fa=void 0;for(fa=na+1;fa<an&&Xt[fa]=="%";++fa);for(var Ka=na&&Xt[na-1]=="!"||fa<an&&Xt[fa]=="1"?"1":"N",Oa=na;Oa<fa;++Oa)Xt[Oa]=Ka;na=fa-1}}for(var ga=0,Za=pt;ga<an;++ga){var Da=Xt[ga];Za=="L"&&Da=="1"?Xt[ga]="L":ae.test(Da)&&(Za=Da)}for(var ba=0;ba<an;++ba)if(E.test(Xt[ba])){var ya=void 0;for(ya=ba+1;ya<an&&E.test(Xt[ya]);++ya);for(var pa=(ba?Xt[ba-1]:pt)=="L",Wa=(ya<an?Xt[ya]:pt)=="L",Ko=pa==Wa?pa?"L":"R":pt,Bo=ba;Bo<ya;++Bo)Xt[Bo]=Ko;ba=ya-1}for(var Pa=[],ho,Sa=0;Sa<an;)if(de.test(Xt[Sa])){var Ul=Sa;for(++Sa;Sa<an&&de.test(Xt[Sa]);++Sa);Pa.push(new pe(0,Ul,Sa))}else{var xo=Sa,Po=Pa.length,Lo=lt=="rtl"?1:0;for(++Sa;Sa<an&&Xt[Sa]!="L";++Sa);for(var Ta=xo;Ta<Sa;)if(ve.test(Xt[Ta])){xo<Ta&&(Pa.splice(Po,0,new pe(1,xo,Ta)),Po+=Lo);var Vo=Ta;for(++Ta;Ta<Sa&&ve.test(Xt[Ta]);++Ta);Pa.splice(Po,0,new pe(2,Vo,Ta)),Po+=Lo,xo=Ta}else++Ta;xo<Sa&&Pa.splice(Po,0,new pe(1,xo,Sa))}return lt=="ltr"&&(Pa[0].level==1&&(ho=we.match(/^\s+/))&&(Pa[0].from=ho[0].length,Pa.unshift(new pe(0,0,ho[0].length))),Qe(Pa).level==1&&(ho=we.match(/\s+$/))&&(Qe(Pa).to-=ho[0].length,Pa.push(new pe(0,an-ho[0].length,an)))),lt=="rtl"?Pa.reverse():Pa}}();function zt(a,y){var b=a.order;return b==null&&(b=a.order=vt(a.text,y)),b}var tn=[],jt=function(a,y,b){if(a.addEventListener)a.addEventListener(y,b,!1);else if(a.attachEvent)a.attachEvent("on"+y,b);else{var x=a._handlers||(a._handlers={});x[y]=(x[y]||tn).concat(b)}};function on(a,y){return a._handlers&&a._handlers[y]||tn}function Jt(a,y,b){if(a.removeEventListener)a.removeEventListener(y,b,!1);else if(a.detachEvent)a.detachEvent("on"+y,b);else{var x=a._handlers,E=x&&x[y];if(E){var ae=qe(E,b);ae>-1&&(x[y]=E.slice(0,ae).concat(E.slice(ae+1)))}}}function Pt(a,y){var b=on(a,y);if(b.length)for(var x=Array.prototype.slice.call(arguments,2),E=0;E<b.length;++E)b[E].apply(null,x)}function ct(a,y,b){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Pt(a,b||y.type,a,y),yn(y)||y.codemirrorIgnore}function Ut(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var b=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<y.length;++x)qe(b,y[x])==-1&&b.push(y[x])}function _t(a,y){return on(a,y).length>0}function gn(a){a.prototype.on=function(y,b){jt(this,y,b)},a.prototype.off=function(y,b){Jt(this,y,b)}}function Mn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function jn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function yn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Xn(a){Mn(a),jn(a)}function Qn(a){return a.target||a.srcElement}function cr(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),je&&a.ctrlKey&&y==1&&(y=3),y}var Br=function(){if(Ee&&fe<9)return!1;var a=Ae("div");return"draggable"in a||"dragDrop"in a}(),ar;function Lr(a){if(ar==null){var y=Ae("span","\u200B");ge(a,Ae("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(ar=y.offsetWidth<=1&&y.offsetHeight>2&&!(Ee&&fe<8))}var b=ar?Ae("span","\u200B"):Ae("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return b.setAttribute("cm-text",""),b}var Er;function Wn(a){if(Er!=null)return Er;var y=ge(a,document.createTextNode("A\u062EA")),b=Ze(y,0,1).getBoundingClientRect(),x=Ze(y,1,2).getBoundingClientRect();return ft(a),!b||b.left==b.right?!1:Er=x.right-b.right<3}var Ir=`
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,b=[],x=a.length;y<=x;){var E=a.indexOf(`
|
|
`,y);E==-1&&(E=a.length);var ae=a.slice(y,a.charAt(E-1)=="\r"?E-1:E),de=ae.indexOf("\r");de!=-1?(b.push(ae.slice(0,de)),y+=de+1):(b.push(ae),y=E+1)}return b}:function(a){return a.split(/\r\n?|\n/)},Or=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(b){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Ft=function(){var a=Ae("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Qt=null;function It(a){if(Qt!=null)return Qt;var y=ge(a,Ae("span","x")),b=y.getBoundingClientRect(),x=Ze(y,0,1).getBoundingClientRect();return Qt=Math.abs(b.left-x.left)>1}var Nt={},kt={};function mn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Nt[a]=y}function _n(a,y){kt[a]=y}function Yn(a){if(typeof a=="string"&&kt.hasOwnProperty(a))a=kt[a];else if(a&&typeof a.name=="string"&&kt.hasOwnProperty(a.name)){var y=kt[a.name];typeof y=="string"&&(y={name:y}),a=ie(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 Hn(a,y){y=Yn(y);var b=Nt[y.name];if(!b)return Hn(a,"text/plain");var x=b(a,y);if(rr.hasOwnProperty(y.name)){var E=rr[y.name];for(var ae in E)E.hasOwnProperty(ae)&&(x.hasOwnProperty(ae)&&(x["_"+ae]=x[ae]),x[ae]=E[ae])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var de in y.modeProps)x[de]=y.modeProps[de];return x}var rr={};function fr(a,y){var b=rr.hasOwnProperty(a)?rr[a]:rr[a]={};St(y,b)}function dr(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var b={};for(var x in y){var E=y[x];E instanceof Array&&(E=E.concat([])),b[x]=E}return b}function Cr(a,y){for(var b;a.innerMode&&(b=a.innerMode(y),!(!b||b.mode==a));)y=b.state,a=b.mode;return b||{mode:a,state:y}}function Tr(a,y,b){return a.startState?a.startState(y,b):!0}var Ln=function(a,y,b){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=b};Ln.prototype.eol=function(){return this.pos>=this.string.length},Ln.prototype.sol=function(){return this.pos==this.lineStart},Ln.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ln.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ln.prototype.eat=function(a){var y=this.string.charAt(this.pos),b;if(typeof a=="string"?b=y==a:b=y&&(a.test?a.test(y):a(y)),b)return++this.pos,y},Ln.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Ln.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ln.prototype.skipToEnd=function(){this.pos=this.string.length},Ln.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Ln.prototype.backUp=function(a){this.pos-=a},Ln.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=xe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?xe(this.string,this.lineStart,this.tabSize):0)},Ln.prototype.indentation=function(){return xe(this.string,null,this.tabSize)-(this.lineStart?xe(this.string,this.lineStart,this.tabSize):0)},Ln.prototype.match=function(a,y,b){if(typeof a=="string"){var x=function(de){return b?de.toLowerCase():de},E=this.string.substr(this.pos,a.length);if(x(E)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var ae=this.string.slice(this.pos).match(a);return ae&&ae.index>0?null:(ae&&y!==!1&&(this.pos+=ae[0].length),ae)}},Ln.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ln.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Ln.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Ln.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function $t(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 b=a;!b.lines;)for(var x=0;;++x){var E=b.children[x],ae=E.chunkSize();if(y<ae){b=E;break}y-=ae}return b.lines[y]}function $n(a,y,b){var x=[],E=y.line;return a.iter(y.line,b.line+1,function(ae){var de=ae.text;E==b.line&&(de=de.slice(0,b.ch)),E==y.line&&(de=de.slice(y.ch)),x.push(de),++E}),x}function Zr(a,y,b){var x=[];return a.iter(y,b,function(E){x.push(E.text)}),x}function Rr(a,y){var b=y-a.height;if(b)for(var x=a;x;x=x.parent)x.height+=b}function dt(a){if(a.parent==null)return null;for(var y=a.parent,b=qe(y.lines,a),x=y.parent;x;y=x,x=x.parent)for(var E=0;x.children[E]!=y;++E)b+=x.children[E].chunkSize();return b+y.first}function xt(a,y){var b=a.first;e:do{for(var x=0;x<a.children.length;++x){var E=a.children[x],ae=E.height;if(y<ae){a=E;continue e}y-=ae,b+=E.chunkSize()}return b}while(!a.lines);for(var de=0;de<a.lines.length;++de){var ve=a.lines[de],pe=ve.height;if(y<pe)break;y-=pe}return b+de}function Rn(a,y){return y>=a.first&&y<a.first+a.size}function En(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Lt(a,y,b){if(b===void 0&&(b=null),!(this instanceof Lt))return new Lt(a,y,b);this.line=a,this.ch=y,this.sticky=b}function Sn(a,y){return a.line-y.line||a.ch-y.ch}function Zn(a,y){return a.sticky==y.sticky&&Sn(a,y)==0}function zn(a){return Lt(a.line,a.ch)}function ir(a,y){return Sn(a,y)<0?y:a}function Kt(a,y){return Sn(a,y)<0?a:y}function er(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Dn(a,y){if(y.line<a.first)return Lt(a.first,0);var b=a.first+a.size-1;return y.line>b?Lt(b,$t(a,b).text.length):Wr(y,$t(a,y.line).text.length)}function Wr(a,y){var b=a.ch;return b==null||b>y?Lt(a.line,y):b<0?Lt(a.line,0):a}function qn(a,y){for(var b=[],x=0;x<y.length;x++)b[x]=Dn(a,y[x]);return b}var Pr=function(a,y){this.state=a,this.lookAhead=y},Nr=function(a,y,b,x){this.state=y,this.doc=a,this.line=b,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Nr.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Nr.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}},Nr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nr.fromSaved=function(a,y,b){return y instanceof Pr?new Nr(a,dr(a.mode,y.state),b,y.lookAhead):new Nr(a,dr(a.mode,y),b)},Nr.prototype.save=function(a){var y=a!==!1?dr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Pr(y,this.maxLookAhead):y};function jr(a,y,b,x){var E=[a.state.modeGen],ae={};Fi(a,y.text,a.doc.mode,b,function(we,lt){return E.push(we,lt)},ae,x);for(var de=b.state,ve=function(we){b.baseTokens=E;var lt=a.state.overlays[we],pt=1,an=0;b.state=!0,Fi(a,y.text,lt.mode,b,function(Xt,Pn){for(var Un=pt;an<Xt;){var ur=E[pt];ur>Xt&&E.splice(pt,1,Xt,E[pt+1],ur),pt+=2,an=Math.min(Xt,ur)}if(Pn)if(lt.opaque)E.splice(Un,pt-Un,Xt,"overlay "+Pn),pt=Un+2;else for(;Un<pt;Un+=2){var Sr=E[Un+1];E[Un+1]=(Sr?Sr+" ":"")+"overlay "+Pn}},ae),b.state=de,b.baseTokens=null,b.baseTokenPos=1},pe=0;pe<a.state.overlays.length;++pe)ve(pe);return{styles:E,classes:ae.bgClass||ae.textClass?ae:null}}function Vr(a,y,b){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=li(a,dt(y)),E=y.text.length>a.options.maxHighlightLength&&dr(a.doc.mode,x.state),ae=jr(a,y,x);E&&(x.state=E),y.stateAfter=x.save(!E),y.styles=ae.styles,ae.classes?y.styleClasses=ae.classes:y.styleClasses&&(y.styleClasses=null),b===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function li(a,y,b){var x=a.doc,E=a.display;if(!x.mode.startState)return new Nr(x,!0,y);var ae=Ri(a,y,b),de=ae>x.first&&$t(x,ae-1).stateAfter,ve=de?Nr.fromSaved(x,de,ae):new Nr(x,Tr(x.mode),ae);return x.iter(ae,y,function(pe){Di(a,pe.text,ve);var we=ve.line;pe.stateAfter=we==y-1||we%5==0||we>=E.viewFrom&&we<E.viewTo?ve.save():null,ve.nextLine()}),b&&(x.modeFrontier=ve.line),ve}function Di(a,y,b,x){var E=a.doc.mode,ae=new Ln(y,a.options.tabSize,b);for(ae.start=ae.pos=x||0,y==""&&fi(E,b.state);!ae.eol();)Li(E,ae,b.state),ae.start=ae.pos}function fi(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var b=Cr(a,y);if(b.mode.blankLine)return b.mode.blankLine(b.state)}}function Li(a,y,b,x){for(var E=0;E<10;E++){x&&(x[0]=Cr(a,b).mode);var ae=a.token(y,b);if(y.pos>y.start)return ae}throw new Error("Mode "+a.name+" failed to advance stream.")}var ei=function(a,y,b){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=b};function Mi(a,y,b,x){var E=a.doc,ae=E.mode,de;y=Dn(E,y);var ve=$t(E,y.line),pe=li(a,y.line,b),we=new Ln(ve.text,a.options.tabSize,pe),lt;for(x&&(lt=[]);(x||we.pos<y.ch)&&!we.eol();)we.start=we.pos,de=Li(ae,we,pe.state),x&<.push(new ei(we,de,dr(E.mode,pe.state)));return x?lt:new ei(we,de,pe.state)}function Wi(a,y){if(a)for(;;){var b=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!b)break;a=a.slice(0,b.index)+a.slice(b.index+b[0].length);var x=b[1]?"bgClass":"textClass";y[x]==null?y[x]=b[2]:new RegExp("(?:^|\\s)"+b[2]+"(?:$|\\s)").test(y[x])||(y[x]+=" "+b[2])}return a}function Fi(a,y,b,x,E,ae,de){var ve=b.flattenSpans;ve==null&&(ve=a.options.flattenSpans);var pe=0,we=null,lt=new Ln(y,a.options.tabSize,x),pt,an=a.options.addModeClass&&[null];for(y==""&&Wi(fi(b,x.state),ae);!lt.eol();){if(lt.pos>a.options.maxHighlightLength?(ve=!1,de&&Di(a,y,x,lt.pos),lt.pos=y.length,pt=null):pt=Wi(Li(b,lt,x.state,an),ae),an){var Xt=an[0].name;Xt&&(pt="m-"+(pt?Xt+" "+pt:Xt))}if(!ve||we!=pt){for(;pe<lt.start;)pe=Math.min(lt.start,pe+5e3),E(pe,we);we=pt}lt.start=lt.pos}for(;pe<lt.pos;){var Pn=Math.min(lt.pos,pe+5e3);E(Pn,we),pe=Pn}}function Ri(a,y,b){for(var x,E,ae=a.doc,de=b?-1:y-(a.doc.mode.innerMode?1e3:100),ve=y;ve>de;--ve){if(ve<=ae.first)return ae.first;var pe=$t(ae,ve-1),we=pe.stateAfter;if(we&&(!b||ve+(we instanceof Pr?we.lookAhead:0)<=ae.modeFrontier))return ve;var lt=xe(pe.text,null,a.options.tabSize);(E==null||x>lt)&&(E=ve-1,x=lt)}return E}function Hi(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var b=a.first,x=y-1;x>b;x--){var E=$t(a,x).stateAfter;if(E&&(!(E instanceof Pr)||x+E.lookAhead<y)){b=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,b)}}var Ti=!1,ci=!1;function ji(){Ti=!0}function Oi(){ci=!0}function wr(a,y,b){this.marker=a,this.from=y,this.to=b}function Yr(a,y){if(a)for(var b=0;b<a.length;++b){var x=a[b];if(x.marker==y)return x}}function si(a,y){for(var b,x=0;x<a.length;++x)a[x]!=y&&(b||(b=[])).push(a[x]);return b}function wi(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function xi(a,y,b){var x;if(a)for(var E=0;E<a.length;++E){var ae=a[E],de=ae.marker,ve=ae.from==null||(de.inclusiveLeft?ae.from<=y:ae.from<y);if(ve||ae.from==y&&de.type=="bookmark"&&(!b||!ae.marker.insertLeft)){var pe=ae.to==null||(de.inclusiveRight?ae.to>=y:ae.to>y);(x||(x=[])).push(new wr(de,ae.from,pe?null:ae.to))}}return x}function Ei(a,y,b){var x;if(a)for(var E=0;E<a.length;++E){var ae=a[E],de=ae.marker,ve=ae.to==null||(de.inclusiveRight?ae.to>=y:ae.to>y);if(ve||ae.from==y&&de.type=="bookmark"&&(!b||ae.marker.insertLeft)){var pe=ae.from==null||(de.inclusiveLeft?ae.from<=y:ae.from<y);(x||(x=[])).push(new wr(de,pe?null:ae.from-y,ae.to==null?null:ae.to-y))}}return x}function Vi(a,y){if(y.full)return null;var b=Rn(a,y.from.line)&&$t(a,y.from.line).markedSpans,x=Rn(a,y.to.line)&&$t(a,y.to.line).markedSpans;if(!b&&!x)return null;var E=y.from.ch,ae=y.to.ch,de=Sn(y.from,y.to)==0,ve=xi(b,E,de),pe=Ei(x,ae,de),we=y.text.length==1,lt=Qe(y.text).length+(we?E:0);if(ve)for(var pt=0;pt<ve.length;++pt){var an=ve[pt];if(an.to==null){var Xt=Yr(pe,an.marker);Xt?we&&(an.to=Xt.to==null?null:Xt.to+lt):an.to=E}}if(pe)for(var Pn=0;Pn<pe.length;++Pn){var Un=pe[Pn];if(Un.to!=null&&(Un.to+=lt),Un.from==null){var ur=Yr(ve,Un.marker);ur||(Un.from=lt,we&&(ve||(ve=[])).push(Un))}else Un.from+=lt,we&&(ve||(ve=[])).push(Un)}ve&&(ve=et(ve)),pe&&pe!=ve&&(pe=et(pe));var Sr=[ve];if(!we){var zr=y.text.length-2,kr;if(zr>0&&ve)for(var Xr=0;Xr<ve.length;++Xr)ve[Xr].to==null&&(kr||(kr=[])).push(new wr(ve[Xr].marker,null,null));for(var oi=0;oi<zr;++oi)Sr.push(kr);Sr.push(pe)}return Sr}function et(a){for(var y=0;y<a.length;++y){var b=a[y];b.from!=null&&b.from==b.to&&b.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Yt(a,y,b){var x=null;if(a.iter(y.line,b.line+1,function(Xt){if(Xt.markedSpans)for(var Pn=0;Pn<Xt.markedSpans.length;++Pn){var Un=Xt.markedSpans[Pn].marker;Un.readOnly&&(!x||qe(x,Un)==-1)&&(x||(x=[])).push(Un)}}),!x)return null;for(var E=[{from:y,to:b}],ae=0;ae<x.length;++ae)for(var de=x[ae],ve=de.find(0),pe=0;pe<E.length;++pe){var we=E[pe];if(!(Sn(we.to,ve.from)<0||Sn(we.from,ve.to)>0)){var lt=[pe,1],pt=Sn(we.from,ve.from),an=Sn(we.to,ve.to);(pt<0||!de.inclusiveLeft&&!pt)&<.push({from:we.from,to:ve.from}),(an>0||!de.inclusiveRight&&!an)&<.push({from:ve.to,to:we.to}),E.splice.apply(E,lt),pe+=lt.length-3}}return E}function Zt(a){var y=a.markedSpans;if(y){for(var b=0;b<y.length;++b)y[b].marker.detachLine(a);a.markedSpans=null}}function qt(a,y){if(y){for(var b=0;b<y.length;++b)y[b].marker.attachLine(a);a.markedSpans=y}}function fn(a){return a.inclusiveLeft?-1:0}function xn(a){return a.inclusiveRight?1:0}function Nn(a,y){var b=a.lines.length-y.lines.length;if(b!=0)return b;var x=a.find(),E=y.find(),ae=Sn(x.from,E.from)||fn(a)-fn(y);if(ae)return-ae;var de=Sn(x.to,E.to)||xn(a)-xn(y);return de||y.id-a.id}function Bn(a,y){var b=ci&&a.markedSpans,x;if(b)for(var E=void 0,ae=0;ae<b.length;++ae)E=b[ae],E.marker.collapsed&&(y?E.from:E.to)==null&&(!x||Nn(x,E.marker)<0)&&(x=E.marker);return x}function An(a){return Bn(a,!0)}function Ot(a){return Bn(a,!1)}function un(a,y){var b=ci&&a.markedSpans,x;if(b)for(var E=0;E<b.length;++E){var ae=b[E];ae.marker.collapsed&&(ae.from==null||ae.from<y)&&(ae.to==null||ae.to>y)&&(!x||Nn(x,ae.marker)<0)&&(x=ae.marker)}return x}function At(a,y,b,x,E){var ae=$t(a,y),de=ci&&ae.markedSpans;if(de)for(var ve=0;ve<de.length;++ve){var pe=de[ve];if(pe.marker.collapsed){var we=pe.marker.find(0),lt=Sn(we.from,b)||fn(pe.marker)-fn(E),pt=Sn(we.to,x)||xn(pe.marker)-xn(E);if(!(lt>=0&&pt<=0||lt<=0&&pt>=0)&&(lt<=0&&(pe.marker.inclusiveRight&&E.inclusiveLeft?Sn(we.to,b)>=0:Sn(we.to,b)>0)||lt>=0&&(pe.marker.inclusiveRight&&E.inclusiveLeft?Sn(we.from,x)<=0:Sn(we.from,x)<0)))return!0}}}function gt(a){for(var y;y=An(a);)a=y.find(-1,!0).line;return a}function Wt(a){for(var y;y=Ot(a);)a=y.find(1,!0).line;return a}function sn(a){for(var y,b;y=Ot(a);)a=y.find(1,!0).line,(b||(b=[])).push(a);return b}function le(a,y){var b=$t(a,y),x=gt(b);return b==x?y:dt(x)}function De(a,y){if(y>a.lastLine())return y;var b=$t(a,y),x;if(!Be(a,b))return y;for(;x=Ot(b);)b=x.find(1,!0).line;return dt(b)+1}function Be(a,y){var b=ci&&y.markedSpans;if(b){for(var x=void 0,E=0;E<b.length;++E)if(x=b[E],!!x.marker.collapsed){if(x.from==null)return!0;if(!x.marker.widgetNode&&x.from==0&&x.marker.inclusiveLeft&&Me(a,y,x))return!0}}}function Me(a,y,b){if(b.to==null){var x=b.marker.find(1,!0);return Me(a,x.line,Yr(x.line.markedSpans,b.marker))}if(b.marker.inclusiveRight&&b.to==y.text.length)return!0;for(var E=void 0,ae=0;ae<y.markedSpans.length;++ae)if(E=y.markedSpans[ae],E.marker.collapsed&&!E.marker.widgetNode&&E.from==b.to&&(E.to==null||E.to!=b.from)&&(E.marker.inclusiveLeft||b.marker.inclusiveRight)&&Me(a,y,E))return!0}function Le(a){a=gt(a);for(var y=0,b=a.parent,x=0;x<b.lines.length;++x){var E=b.lines[x];if(E==a)break;y+=E.height}for(var ae=b.parent;ae;b=ae,ae=b.parent)for(var de=0;de<ae.children.length;++de){var ve=ae.children[de];if(ve==b)break;y+=ve.height}return y}function it(a){if(a.height==0)return 0;for(var y=a.text.length,b,x=a;b=An(x);){var E=b.find(0,!0);x=E.from.line,y+=E.from.ch-E.to.ch}for(x=a;b=Ot(x);){var ae=b.find(0,!0);y-=x.text.length-ae.from.ch,x=ae.to.line,y+=x.text.length-ae.to.ch}return y}function ut(a){var y=a.display,b=a.doc;y.maxLine=$t(b,b.first),y.maxLineLength=it(y.maxLine),y.maxLineChanged=!0,b.iter(function(x){var E=it(x);E>y.maxLineLength&&(y.maxLineLength=E,y.maxLine=x)})}var wt=function(a,y,b){this.text=a,qt(this,y),this.height=b?b(this):1};wt.prototype.lineNo=function(){return dt(this)},gn(wt);function nn(a,y,b,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Zt(a),qt(a,b);var E=x?x(a):1;E!=a.height&&Rr(a,E)}function rn(a){a.parent=null,Zt(a)}var Et={},dn={};function pn(a,y){if(!a||/^\s*$/.test(a))return null;var b=y.addModeClass?dn:Et;return b[a]||(b[a]=a.replace(/\S+/g,"cm-$&"))}function hn(a,y){var b=ze("span",null,null,Oe?"padding-right: .1px":null),x={pre:ze("pre",[b],"CodeMirror-line"),content:b,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 ae=E?y.rest[E-1]:y.line,de=void 0;x.pos=0,x.addToken=Vt,Wn(a.display.measure)&&(de=zt(ae,a.doc.direction))&&(x.addToken=en(x.addToken,de)),x.map=[];var ve=y!=a.display.externalMeasured&&dt(ae);Cn(ae,x,Vr(a,ae,ve)),ae.styleClasses&&(ae.styleClasses.bgClass&&(x.bgClass=Rt(ae.styleClasses.bgClass,x.bgClass||"")),ae.styleClasses.textClass&&(x.textClass=Rt(ae.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Lr(a.display.measure))),E==0?(y.measure.map=x.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(x.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Oe){var pe=x.content.lastChild;(/\bcm-tab\b/.test(pe.className)||pe.querySelector&&pe.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return Pt(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Rt(x.pre.className,x.textClass||"")),x}function ln(a){var y=Ae("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Vt(a,y,b,x,E,ae,de){if(y){var ve=a.splitSpaces?Gt(y,a.trailingSpace):y,pe=a.cm.state.specialChars,we=!1,lt;if(!pe.test(y))a.col+=y.length,lt=document.createTextNode(ve),a.map.push(a.pos,a.pos+y.length,lt),Ee&&fe<9&&(we=!0),a.pos+=y.length;else{lt=document.createDocumentFragment();for(var pt=0;;){pe.lastIndex=pt;var an=pe.exec(y),Xt=an?an.index-pt:y.length-pt;if(Xt){var Pn=document.createTextNode(ve.slice(pt,pt+Xt));Ee&&fe<9?lt.appendChild(Ae("span",[Pn])):lt.appendChild(Pn),a.map.push(a.pos,a.pos+Xt,Pn),a.col+=Xt,a.pos+=Xt}if(!an)break;pt+=Xt+1;var Un=void 0;if(an[0]==" "){var ur=a.cm.options.tabSize,Sr=ur-a.col%ur;Un=lt.appendChild(Ae("span",yt(Sr),"cm-tab")),Un.setAttribute("role","presentation"),Un.setAttribute("cm-text"," "),a.col+=Sr}else an[0]=="\r"||an[0]==`
|
|
`?(Un=lt.appendChild(Ae("span",an[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Un.setAttribute("cm-text",an[0]),a.col+=1):(Un=a.cm.options.specialCharPlaceholder(an[0]),Un.setAttribute("cm-text",an[0]),Ee&&fe<9?lt.appendChild(Ae("span",[Un])):lt.appendChild(Un),a.col+=1);a.map.push(a.pos,a.pos+1,Un),a.pos++}}if(a.trailingSpace=ve.charCodeAt(y.length-1)==32,b||x||E||we||ae||de){var zr=b||"";x&&(zr+=x),E&&(zr+=E);var kr=Ae("span",[lt],zr,ae);if(de)for(var Xr in de)de.hasOwnProperty(Xr)&&Xr!="style"&&Xr!="class"&&kr.setAttribute(Xr,de[Xr]);return a.content.appendChild(kr)}a.content.appendChild(lt)}}function Gt(a,y){if(a.length>1&&!/ /.test(a))return a;for(var b=y,x="",E=0;E<a.length;E++){var ae=a.charAt(E);ae==" "&&b&&(E==a.length-1||a.charCodeAt(E+1)==32)&&(ae="\xA0"),x+=ae,b=ae==" "}return x}function en(a,y){return function(b,x,E,ae,de,ve,pe){E=E?E+" cm-force-border":"cm-force-border";for(var we=b.pos,lt=we+x.length;;){for(var pt=void 0,an=0;an<y.length&&(pt=y[an],!(pt.to>we&&pt.from<=we));an++);if(pt.to>=lt)return a(b,x,E,ae,de,ve,pe);a(b,x.slice(0,pt.to-we),E,ae,null,ve,pe),ae=null,x=x.slice(pt.to-we),we=pt.to}}}function wn(a,y,b,x){var E=!x&&b.widgetNode;E&&a.map.push(a.pos,a.pos+y,E),!x&&a.cm.display.input.needsContentAttribute&&(E||(E=a.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",b.id)),E&&(a.cm.display.input.setUneditable(E),a.content.appendChild(E)),a.pos+=y,a.trailingSpace=!1}function Cn(a,y,b){var x=a.markedSpans,E=a.text,ae=0;if(!x){for(var de=1;de<b.length;de+=2)y.addToken(y,E.slice(ae,ae=b[de]),pn(b[de+1],y.cm.options));return}for(var ve=E.length,pe=0,we=1,lt="",pt,an,Xt=0,Pn,Un,ur,Sr,zr;;){if(Xt==pe){Pn=Un=ur=an="",zr=null,Sr=null,Xt=1/0;for(var kr=[],Xr=void 0,oi=0;oi<x.length;++oi){var $r=x[oi],Ii=$r.marker;if(Ii.type=="bookmark"&&$r.from==pe&&Ii.widgetNode)kr.push(Ii);else if($r.from<=pe&&($r.to==null||$r.to>pe||Ii.collapsed&&$r.to==pe&&$r.from==pe)){if($r.to!=null&&$r.to!=pe&&Xt>$r.to&&(Xt=$r.to,Un=""),Ii.className&&(Pn+=" "+Ii.className),Ii.css&&(an=(an?an+";":"")+Ii.css),Ii.startStyle&&$r.from==pe&&(ur+=" "+Ii.startStyle),Ii.endStyle&&$r.to==Xt&&(Xr||(Xr=[])).push(Ii.endStyle,$r.to),Ii.title&&((zr||(zr={})).title=Ii.title),Ii.attributes)for(var na in Ii.attributes)(zr||(zr={}))[na]=Ii.attributes[na];Ii.collapsed&&(!Sr||Nn(Sr.marker,Ii)<0)&&(Sr=$r)}else $r.from>pe&&Xt>$r.from&&(Xt=$r.from)}if(Xr)for(var Aa=0;Aa<Xr.length;Aa+=2)Xr[Aa+1]==Xt&&(Un+=" "+Xr[Aa]);if(!Sr||Sr.from==pe)for(var fa=0;fa<kr.length;++fa)wn(y,0,kr[fa]);if(Sr&&(Sr.from||0)==pe){if(wn(y,(Sr.to==null?ve+1:Sr.to)-pe,Sr.marker,Sr.from==null),Sr.to==null)return;Sr.to==pe&&(Sr=!1)}}if(pe>=ve)break;for(var Ka=Math.min(ve,Xt);;){if(lt){var Oa=pe+lt.length;if(!Sr){var ga=Oa>Ka?lt.slice(0,Ka-pe):lt;y.addToken(y,ga,pt?pt+Pn:Pn,ur,pe+ga.length==Xt?Un:"",an,zr)}if(Oa>=Ka){lt=lt.slice(Ka-pe),pe=Ka;break}pe=Oa,ur=""}lt=E.slice(ae,ae=b[we++]),pt=pn(b[we++],y.cm.options)}}}function vn(a,y,b){this.line=y,this.rest=sn(y),this.size=this.rest?dt(Qe(this.rest))-b+1:1,this.node=this.text=null,this.hidden=Be(a,y)}function kn(a,y,b){for(var x=[],E,ae=y;ae<b;ae=E){var de=new vn(a.doc,$t(a.doc,ae),ae);E=ae+de.size,x.push(de)}return x}var Fn=null;function Kn(a){Fn?Fn.ops.push(a):a.ownsGroup=Fn={ops:[a],delayedCallbacks:[]}}function Dr(a){var y=a.delayedCallbacks,b=0;do{for(;b<y.length;b++)y[b].call(null);for(var x=0;x<a.ops.length;x++){var E=a.ops[x];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(b<y.length)}function Ar(a,y){var b=a.ownsGroup;if(b)try{Dr(b)}finally{Fn=null,y(b)}}var Mr=null;function hr(a,y){var b=on(a,y);if(b.length){var x=Array.prototype.slice.call(arguments,2),E;Fn?E=Fn.delayedCallbacks:Mr?E=Mr:(E=Mr=[],setTimeout(vr,0));for(var ae=function(ve){E.push(function(){return b[ve].apply(null,x)})},de=0;de<b.length;++de)ae(de)}}function vr(){var a=Mr;Mr=null;for(var y=0;y<a.length;++y)a[y]()}function tr(a,y,b,x){for(var E=0;E<y.changes.length;E++){var ae=y.changes[E];ae=="text"?gr(a,y):ae=="gutter"?Jn(a,y,b,x):ae=="class"?On(a,y):ae=="widget"&&Gn(a,y,x)}y.changes=null}function yr(a){return a.node==a.text&&(a.node=Ae("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Ee&&fe<8&&(a.node.style.zIndex=2)),a.node}function or(a,y){var b=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(b&&(b+=" CodeMirror-linebackground"),y.background)b?y.background.className=b:(y.background.parentNode.removeChild(y.background),y.background=null);else if(b){var x=yr(y);y.background=x.insertBefore(Ae("div",null,b),x.firstChild),a.display.input.setUneditable(y.background)}}function pr(a,y){var b=a.display.externalMeasured;return b&&b.line==y.line?(a.display.externalMeasured=null,y.measure=b.measure,b.built):hn(a,y)}function gr(a,y){var b=y.text.className,x=pr(a,y);y.text==y.node&&(y.node=x.pre),y.text.parentNode.replaceChild(x.pre,y.text),y.text=x.pre,x.bgClass!=y.bgClass||x.textClass!=y.textClass?(y.bgClass=x.bgClass,y.textClass=x.textClass,On(a,y)):b&&(y.text.className=b)}function On(a,y){or(a,y),y.line.wrapClass?yr(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var b=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=b||""}function Jn(a,y,b,x){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=yr(y);y.gutterBackground=Ae("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px; width: "+x.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),E.insertBefore(y.gutterBackground,y.text)}var ae=y.line.gutterMarkers;if(a.options.lineNumbers||ae){var de=yr(y),ve=y.gutter=Ae("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(ve),de.insertBefore(ve,y.text),y.line.gutterClass&&(ve.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ae||!ae["CodeMirror-linenumbers"])&&(y.lineNumber=ve.appendChild(Ae("div",En(a.options,b),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ae)for(var pe=0;pe<a.display.gutterSpecs.length;++pe){var we=a.display.gutterSpecs[pe].className,lt=ae.hasOwnProperty(we)&&ae[we];lt&&ve.appendChild(Ae("div",[lt],"CodeMirror-gutter-elt","left: "+x.gutterLeft[we]+"px; width: "+x.gutterWidth[we]+"px"))}}}function Gn(a,y,b){y.alignable&&(y.alignable=null);for(var x=Ve("CodeMirror-linewidget"),E=y.node.firstChild,ae=void 0;E;E=ae)ae=E.nextSibling,x.test(E.className)&&y.node.removeChild(E);Tn(a,y,b)}function In(a,y,b,x){var E=pr(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),On(a,y),Jn(a,y,b,x),Tn(a,y,x),y.node}function Tn(a,y,b){if(nr(a,y.line,y,b,!0),y.rest)for(var x=0;x<y.rest.length;x++)nr(a,y.rest[x],y,b,!1)}function nr(a,y,b,x,E){if(y.widgets)for(var ae=yr(b),de=0,ve=y.widgets;de<ve.length;++de){var pe=ve[de],we=Ae("div",[pe.node],"CodeMirror-linewidget"+(pe.className?" "+pe.className:""));pe.handleMouseEvents||we.setAttribute("cm-ignore-events","true"),xr(pe,we,b,x),a.display.input.setUneditable(we),E&&pe.above?ae.insertBefore(we,b.gutter||b.text):ae.appendChild(we),hr(pe,"redraw")}}function xr(a,y,b,x){if(a.noHScroll){(b.alignable||(b.alignable=[])).push(y);var E=x.wrapperWidth;y.style.left=x.fixedPos+"px",a.coverGutter||(E-=x.gutterTotalWidth,y.style.paddingLeft=x.gutterTotalWidth+"px"),y.style.width=E+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-x.gutterTotalWidth+"px"))}function Hr(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!_e(document.body,a.node)){var b="position: relative;";a.coverGutter&&(b+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(b+="width: "+y.display.wrapper.clientWidth+"px;"),ge(y.display.measure,Ae("div",[a.node],null,b))}return a.height=a.node.parentNode.offsetHeight}function Ur(a,y){for(var b=Qn(y);b!=a.wrapper;b=b.parentNode)if(!b||b.nodeType==1&&b.getAttribute("cm-ignore-events")=="true"||b.parentNode==a.sizer&&b!=a.mover)return!0}function sr(a){return a.lineSpace.offsetTop}function Qr(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Gr(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=ge(a.measure,Ae("pre","x","CodeMirror-line-like")),b=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,x={left:parseInt(b.paddingLeft),right:parseInt(b.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function Kr(a){return Tt-a.display.nativeBarWidth}function ni(a){return a.display.scroller.clientWidth-Kr(a)-a.display.barWidth}function ti(a){return a.display.scroller.clientHeight-Kr(a)-a.display.barHeight}function hi(a,y,b){var x=a.options.lineWrapping,E=x&&ni(a);if(!y.measure.heights||x&&y.measure.width!=E){var ae=y.measure.heights=[];if(x){y.measure.width=E;for(var de=y.text.firstChild.getClientRects(),ve=0;ve<de.length-1;ve++){var pe=de[ve],we=de[ve+1];Math.abs(pe.bottom-we.bottom)>2&&ae.push((pe.bottom+we.top)/2-b.top)}}ae.push(b.bottom-b.top)}}function Jr(a,y,b){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;x<a.rest.length;x++)if(a.rest[x]==y)return{map:a.measure.maps[x],cache:a.measure.caches[x]};for(var E=0;E<a.rest.length;E++)if(dt(a.rest[E])>b)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function Zi(a,y){y=gt(y);var b=dt(y),x=a.display.externalMeasured=new vn(a.doc,y,b);x.lineN=b;var E=x.built=hn(a,x);return x.text=E.pre,ge(a.display.lineMeasure,E.pre),x}function ii(a,y,b,x){return Ai(a,ui(a,y),b,x)}function zi(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[ka(a,y)];var b=a.display.externalMeasured;if(b&&y>=b.lineN&&y<b.lineN+b.size)return b}function ui(a,y){var b=dt(y),x=zi(a,b);x&&!x.text?x=null:x&&x.changes&&(tr(a,x,b,ta(a)),a.curOp.forceUpdate=!0),x||(x=Zi(a,y));var E=Jr(x,y,b);return{line:y,view:x,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function Ai(a,y,b,x,E){y.before&&(b=-1);var ae=b+(x||""),de;return y.cache.hasOwnProperty(ae)?de=y.cache[ae]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(hi(a,y.view,y.rect),y.hasHeights=!0),de=Xi(a,y,b,x),de.bogus||(y.cache[ae]=de)),{left:de.left,right:de.right,top:E?de.rtop:de.top,bottom:E?de.rbottom:de.bottom}}var Ki={left:0,right:0,top:0,bottom:0};function ki(a,y,b){for(var x,E,ae,de,ve,pe,we=0;we<a.length;we+=3)if(ve=a[we],pe=a[we+1],y<ve?(E=0,ae=1,de="left"):y<pe?(E=y-ve,ae=E+1):(we==a.length-3||y==pe&&a[we+3]>y)&&(ae=pe-ve,E=ae-1,y>=pe&&(de="right")),E!=null){if(x=a[we+2],ve==pe&&b==(x.insertLeft?"left":"right")&&(de=b),b=="left"&&E==0)for(;we&&a[we-2]==a[we-3]&&a[we-1].insertLeft;)x=a[(we-=3)+2],de="left";if(b=="right"&&E==pe-ve)for(;we<a.length-3&&a[we+3]==a[we+4]&&!a[we+5].insertLeft;)x=a[(we+=3)+2],de="right";break}return{node:x,start:E,end:ae,collapse:de,coverStart:ve,coverEnd:pe}}function yi(a,y){var b=Ki;if(y=="left")for(var x=0;x<a.length&&(b=a[x]).left==b.right;x++);else for(var E=a.length-1;E>=0&&(b=a[E]).left==b.right;E--);return b}function Xi(a,y,b,x){var E=ki(y.map,b,x),ae=E.node,de=E.start,ve=E.end,pe=E.collapse,we;if(ae.nodeType==3){for(var lt=0;lt<4;lt++){for(;de&&me(y.line.text.charAt(E.coverStart+de));)--de;for(;E.coverStart+ve<E.coverEnd&&me(y.line.text.charAt(E.coverStart+ve));)++ve;if(Ee&&fe<9&&de==0&&ve==E.coverEnd-E.coverStart?we=ae.parentNode.getBoundingClientRect():we=yi(Ze(ae,de,ve).getClientRects(),x),we.left||we.right||de==0)break;ve=de,de=de-1,pe="right"}Ee&&fe<11&&(we=Ui(a.display.measure,we))}else{de>0&&(pe=x="right");var pt;a.options.lineWrapping&&(pt=ae.getClientRects()).length>1?we=pt[x=="right"?pt.length-1:0]:we=ae.getBoundingClientRect()}if(Ee&&fe<9&&!de&&(!we||!we.left&&!we.right)){var an=ae.parentNode.getClientRects()[0];an?we={left:an.left,right:an.left+la(a.display),top:an.top,bottom:an.bottom}:we=Ki}for(var Xt=we.top-y.rect.top,Pn=we.bottom-y.rect.top,Un=(Xt+Pn)/2,ur=y.view.measure.heights,Sr=0;Sr<ur.length-1&&!(Un<ur[Sr]);Sr++);var zr=Sr?ur[Sr-1]:0,kr=ur[Sr],Xr={left:(pe=="right"?we.right:we.left)-y.rect.left,right:(pe=="left"?we.left:we.right)-y.rect.left,top:zr,bottom:kr};return!we.left&&!we.right&&(Xr.bogus=!0),a.options.singleCursorHeightPerLine||(Xr.rtop=Xt,Xr.rbottom=Pn),Xr}function Ui(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!It(a))return y;var b=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*b,right:y.right*b,top:y.top*x,bottom:y.bottom*x}}function _i(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 bi(a){a.display.externalMeasure=null,ft(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)_i(a.display.view[y])}function ra(a){bi(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Ni(){return Pe&&Ye?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Si(){return Pe&&Ye?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Bi(a){var y=0;if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].above&&(y+=Hr(a.widgets[b]));return y}function qi(a,y,b,x,E){if(!E){var ae=Bi(y);b.top+=ae,b.bottom+=ae}if(x=="line")return b;x||(x="local");var de=Le(y);if(x=="local"?de+=sr(a.display):de-=a.display.viewOffset,x=="page"||x=="window"){var ve=a.display.lineSpace.getBoundingClientRect();de+=ve.top+(x=="window"?0:Si());var pe=ve.left+(x=="window"?0:Ni());b.left+=pe,b.right+=pe}return b.top+=de,b.bottom+=de,b}function ri(a,y,b){if(b=="div")return y;var x=y.left,E=y.top;if(b=="page")x-=Ni(),E-=Si();else if(b=="local"||!b){var ae=a.display.sizer.getBoundingClientRect();x+=ae.left,E+=ae.top}var de=a.display.lineSpace.getBoundingClientRect();return{left:x-de.left,top:E-de.top}}function $i(a,y,b,x,E){return x||(x=$t(a.doc,y.line)),qi(a,x,ii(a,x,y.ch,E),b)}function Fr(a,y,b,x,E,ae){x=x||$t(a.doc,y.line),E||(E=ui(a,x));function de(Pn,Un){var ur=Ai(a,E,Pn,Un?"right":"left",ae);return Un?ur.left=ur.right:ur.right=ur.left,qi(a,x,ur,b)}var ve=zt(x,a.doc.direction),pe=y.ch,we=y.sticky;if(pe>=x.text.length?(pe=x.text.length,we="before"):pe<=0&&(pe=0,we="after"),!ve)return de(we=="before"?pe-1:pe,we=="before");function lt(Pn,Un,ur){var Sr=ve[Un],zr=Sr.level==1;return de(ur?Pn-1:Pn,zr!=ur)}var pt=ot(ve,pe,we),an=$e,Xt=lt(pe,pt,we=="before");return an!=null&&(Xt.other=lt(pe,an,we!="before")),Xt}function Vn(a,y){var b=0;y=Dn(a.doc,y),a.options.lineWrapping||(b=la(a.display)*y.ch);var x=$t(a.doc,y.line),E=Le(x)+sr(a.display);return{left:b,right:b,top:E,bottom:E+x.height}}function br(a,y,b,x,E){var ae=Lt(a,y,b);return ae.xRel=E,x&&(ae.outside=x),ae}function lr(a,y,b){var x=a.doc;if(b+=a.display.viewOffset,b<0)return br(x.first,0,null,-1,-1);var E=xt(x,b),ae=x.first+x.size-1;if(E>ae)return br(x.first+x.size-1,$t(x,ae).text.length,null,1,1);y<0&&(y=0);for(var de=$t(x,E);;){var ve=Yi(a,de,E,y,b),pe=un(de,ve.ch+(ve.xRel>0||ve.outside>0?1:0));if(!pe)return ve;var we=pe.find(1);if(we.line==E)return we;de=$t(x,E=we.line)}}function mr(a,y,b,x){x-=Bi(y);var E=y.text.length,ae=Dt(function(de){return Ai(a,b,de-1).bottom<=x},E,0);return E=Dt(function(de){return Ai(a,b,de).top>x},ae,E),{begin:ae,end:E}}function vi(a,y,b,x){b||(b=ui(a,y));var E=qi(a,y,Ai(a,b,x),"line").top;return mr(a,y,b,E)}function Ci(a,y,b,x){return a.bottom<=b?!1:a.top>b?!0:(x?a.left:a.right)>y}function Yi(a,y,b,x,E){E-=Le(y);var ae=ui(a,y),de=Bi(y),ve=0,pe=y.text.length,we=!0,lt=zt(y,a.doc.direction);if(lt){var pt=(a.options.lineWrapping?aa:ia)(a,y,b,ae,lt,x,E);we=pt.level!=1,ve=we?pt.from:pt.to-1,pe=we?pt.to:pt.from-1}var an=null,Xt=null,Pn=Dt(function(oi){var $r=Ai(a,ae,oi);return $r.top+=de,$r.bottom+=de,Ci($r,x,E,!1)?($r.top<=E&&$r.left<=x&&(an=oi,Xt=$r),!0):!1},ve,pe),Un,ur,Sr=!1;if(Xt){var zr=x-Xt.left<Xt.right-x,kr=zr==we;Pn=an+(kr?0:1),ur=kr?"after":"before",Un=zr?Xt.left:Xt.right}else{!we&&(Pn==pe||Pn==ve)&&Pn++,ur=Pn==0?"after":Pn==y.text.length?"before":Ai(a,ae,Pn-(we?1:0)).bottom+de<=E==we?"after":"before";var Xr=Fr(a,Lt(b,Pn,ur),"line",y,ae);Un=Xr.left,Sr=E<Xr.top?-1:E>=Xr.bottom?1:0}return Pn=Se(y.text,Pn,1),br(b,Pn,ur,Sr,x-Un)}function ia(a,y,b,x,E,ae,de){var ve=Dt(function(pt){var an=E[pt],Xt=an.level!=1;return Ci(Fr(a,Lt(b,Xt?an.to:an.from,Xt?"before":"after"),"line",y,x),ae,de,!0)},0,E.length-1),pe=E[ve];if(ve>0){var we=pe.level!=1,lt=Fr(a,Lt(b,we?pe.from:pe.to,we?"after":"before"),"line",y,x);Ci(lt,ae,de,!0)&<.top>de&&(pe=E[ve-1])}return pe}function aa(a,y,b,x,E,ae,de){var ve=mr(a,y,x,de),pe=ve.begin,we=ve.end;/\s/.test(y.text.charAt(we-1))&&we--;for(var lt=null,pt=null,an=0;an<E.length;an++){var Xt=E[an];if(!(Xt.from>=we||Xt.to<=pe)){var Pn=Xt.level!=1,Un=Ai(a,x,Pn?Math.min(we,Xt.to)-1:Math.max(pe,Xt.from)).right,ur=Un<ae?ae-Un+1e9:Un-ae;(!lt||pt>ur)&&(lt=Xt,pt=ur)}}return lt||(lt=E[E.length-1]),lt.from<pe&&(lt={from:pe,to:lt.to,level:lt.level}),lt.to>we&&(lt={from:lt.from,to:we,level:lt.level}),lt}var Gi;function Qi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Gi==null){Gi=Ae("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Gi.appendChild(document.createTextNode("x")),Gi.appendChild(Ae("br"));Gi.appendChild(document.createTextNode("x"))}ge(a.measure,Gi);var b=Gi.offsetHeight/50;return b>3&&(a.cachedTextHeight=b),ft(a.measure),b||1}function la(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ae("span","xxxxxxxxxx"),b=Ae("pre",[y],"CodeMirror-line-like");ge(a.measure,b);var x=y.getBoundingClientRect(),E=(x.right-x.left)/10;return E>2&&(a.cachedCharWidth=E),E||10}function ta(a){for(var y=a.display,b={},x={},E=y.gutters.clientLeft,ae=y.gutters.firstChild,de=0;ae;ae=ae.nextSibling,++de){var ve=a.display.gutterSpecs[de].className;b[ve]=ae.offsetLeft+ae.clientLeft+E,x[ve]=ae.clientWidth}return{fixedPos:La(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:b,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function La(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Qa(a){var y=Qi(a.display),b=a.options.lineWrapping,x=b&&Math.max(5,a.display.scroller.clientWidth/la(a.display)-3);return function(E){if(Be(a.doc,E))return 0;var ae=0;if(E.widgets)for(var de=0;de<E.widgets.length;de++)E.widgets[de].height&&(ae+=E.widgets[de].height);return b?ae+(Math.ceil(E.text.length/x)||1)*y:ae+y}}function Na(a){var y=a.doc,b=Qa(a);y.iter(function(x){var E=b(x);E!=x.height&&Rr(x,E)})}function Fa(a,y,b,x){var E=a.display;if(!b&&Qn(y).getAttribute("cm-not-content")=="true")return null;var ae,de,ve=E.lineSpace.getBoundingClientRect();try{ae=y.clientX-ve.left,de=y.clientY-ve.top}catch(pt){return null}var pe=lr(a,ae,de),we;if(x&&pe.xRel>0&&(we=$t(a.doc,pe.line).text).length==pe.ch){var lt=xe(we,we.length,a.options.tabSize)-we.length;pe=Lt(pe.line,Math.max(0,Math.round((ae-Gr(a.display).left)/la(a.display))-lt))}return pe}function ka(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var b=a.display.view,x=0;x<b.length;x++)if(y-=b[x].size,y<0)return x}function ua(a,y,b,x){y==null&&(y=a.doc.first),b==null&&(b=a.doc.first+a.doc.size),x||(x=0);var E=a.display;if(x&&b<E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>y)&&(E.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=E.viewTo)ci&&le(a.doc,y)<E.viewTo&&xa(a);else if(b<=E.viewFrom)ci&&De(a.doc,b+x)>E.viewFrom?xa(a):(E.viewFrom+=x,E.viewTo+=x);else if(y<=E.viewFrom&&b>=E.viewTo)xa(a);else if(y<=E.viewFrom){var ae=ao(a,b,b+x,1);ae?(E.view=E.view.slice(ae.index),E.viewFrom=ae.lineN,E.viewTo+=x):xa(a)}else if(b>=E.viewTo){var de=ao(a,y,y,-1);de?(E.view=E.view.slice(0,de.index),E.viewTo=de.lineN):xa(a)}else{var ve=ao(a,y,y,-1),pe=ao(a,b,b+x,1);ve&&pe?(E.view=E.view.slice(0,ve.index).concat(kn(a,ve.lineN,pe.lineN)).concat(E.view.slice(pe.index)),E.viewTo+=x):xa(a)}var we=E.externalMeasured;we&&(b<we.lineN?we.lineN+=x:y<we.lineN+we.size&&(E.externalMeasured=null))}function Ca(a,y,b){a.curOp.viewChanged=!0;var x=a.display,E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size&&(x.externalMeasured=null),!(y<x.viewFrom||y>=x.viewTo)){var ae=x.view[ka(a,y)];if(ae.node!=null){var de=ae.changes||(ae.changes=[]);qe(de,b)==-1&&de.push(b)}}}function xa(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function ao(a,y,b,x){var E=ka(a,y),ae,de=a.display.view;if(!ci||b==a.doc.first+a.doc.size)return{index:E,lineN:b};for(var ve=a.display.viewFrom,pe=0;pe<E;pe++)ve+=de[pe].size;if(ve!=y){if(x>0){if(E==de.length-1)return null;ae=ve+de[E].size-y,E++}else ae=ve-y;y+=ae,b+=ae}for(;le(a.doc,b)!=b;){if(E==(x<0?0:de.length-1))return null;b+=x*de[E-(x<0?1:0)].size,E+=x}return{index:E,lineN:b}}function bo(a,y,b){var x=a.display,E=x.view;E.length==0||y>=x.viewTo||b<=x.viewFrom?(x.view=kn(a,y,b),x.viewFrom=y):(x.viewFrom>y?x.view=kn(a,y,x.viewFrom).concat(x.view):x.viewFrom<y&&(x.view=x.view.slice(ka(a,y))),x.viewFrom=y,x.viewTo<b?x.view=x.view.concat(kn(a,x.viewTo,b)):x.viewTo>b&&(x.view=x.view.slice(0,ka(a,b)))),x.viewTo=b}function vo(a){for(var y=a.display.view,b=0,x=0;x<y.length;x++){var E=y[x];!E.hidden&&(!E.node||E.changes)&&++b}return b}function Va(a){a.display.input.showSelection(a.display.input.prepareSelection())}function wo(a,y){y===void 0&&(y=!0);for(var b=a.doc,x={},E=x.cursors=document.createDocumentFragment(),ae=x.selection=document.createDocumentFragment(),de=0;de<b.sel.ranges.length;de++)if(!(!y&&de==b.sel.primIndex)){var ve=b.sel.ranges[de];if(!(ve.from().line>=a.display.viewTo||ve.to().line<a.display.viewFrom)){var pe=ve.empty();(pe||a.options.showCursorWhenSelecting)&&oo(a,ve.head,E),pe||lo(a,ve,ae)}}return x}function oo(a,y,b){var x=Fr(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=b.appendChild(Ae("div","\xA0","CodeMirror-cursor"));if(E.style.left=x.left+"px",E.style.top=x.top+"px",E.style.height=Math.max(0,x.bottom-x.top)*a.options.cursorHeight+"px",x.other){var ae=b.appendChild(Ae("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ae.style.display="",ae.style.left=x.other.left+"px",ae.style.top=x.other.top+"px",ae.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function wa(a,y){return a.top-y.top||a.left-y.left}function lo(a,y,b){var x=a.display,E=a.doc,ae=document.createDocumentFragment(),de=Gr(a.display),ve=de.left,pe=Math.max(x.sizerWidth,ni(a)-x.sizer.offsetLeft)-de.right,we=E.direction=="ltr";function lt(kr,Xr,oi,$r){Xr<0&&(Xr=0),Xr=Math.round(Xr),$r=Math.round($r),ae.appendChild(Ae("div",null,"CodeMirror-selected","position: absolute; left: "+kr+`px;
|
|
top: `+Xr+"px; width: "+(oi==null?pe-kr:oi)+`px;
|
|
height: `+($r-Xr)+"px"))}function pt(kr,Xr,oi){var $r=$t(E,kr),Ii=$r.text.length,na,Aa;function fa(ga,Za){return $i(a,Lt(kr,ga),"div",$r,Za)}function Ka(ga,Za,Da){var ba=vi(a,$r,null,ga),ya=Za=="ltr"==(Da=="after")?"left":"right",pa=Da=="after"?ba.begin:ba.end-(/\s/.test($r.text.charAt(ba.end-1))?2:1);return fa(pa,ya)[ya]}var Oa=zt($r,E.direction);return Ue(Oa,Xr||0,oi==null?Ii:oi,function(ga,Za,Da,ba){var ya=Da=="ltr",pa=fa(ga,ya?"left":"right"),Wa=fa(Za-1,ya?"right":"left"),Ko=Xr==null&&ga==0,Bo=oi==null&&Za==Ii,Pa=ba==0,ho=!Oa||ba==Oa.length-1;if(Wa.top-pa.top<=3){var Sa=(we?Ko:Bo)&&Pa,Ul=(we?Bo:Ko)&&ho,xo=Sa?ve:(ya?pa:Wa).left,Po=Ul?pe:(ya?Wa:pa).right;lt(xo,pa.top,Po-xo,pa.bottom)}else{var Lo,Ta,Vo,jl;ya?(Lo=we&&Ko&&Pa?ve:pa.left,Ta=we?pe:Ka(ga,Da,"before"),Vo=we?ve:Ka(Za,Da,"after"),jl=we&&Bo&&ho?pe:Wa.right):(Lo=we?Ka(ga,Da,"before"):ve,Ta=!we&&Ko&&Pa?pe:pa.right,Vo=!we&&Bo&&ho?ve:Wa.left,jl=we?Ka(Za,Da,"after"):pe),lt(Lo,pa.top,Ta-Lo,pa.bottom),pa.bottom<Wa.top&<(ve,pa.bottom,null,Wa.top),lt(Vo,Wa.top,jl-Vo,Wa.bottom)}(!na||wa(pa,na)<0)&&(na=pa),wa(Wa,na)<0&&(na=Wa),(!Aa||wa(pa,Aa)<0)&&(Aa=pa),wa(Wa,Aa)<0&&(Aa=Wa)}),{start:na,end:Aa}}var an=y.from(),Xt=y.to();if(an.line==Xt.line)pt(an.line,an.ch,Xt.ch);else{var Pn=$t(E,an.line),Un=$t(E,Xt.line),ur=gt(Pn)==gt(Un),Sr=pt(an.line,an.ch,ur?Pn.text.length+1:null).end,zr=pt(Xt.line,ur?0:null,Xt.ch).start;ur&&(Sr.top<zr.top-2?(lt(Sr.right,Sr.top,null,Sr.bottom),lt(ve,zr.top,zr.left,zr.bottom)):lt(Sr.right,Sr.top,zr.left-Sr.right,Sr.bottom)),Sr.bottom<zr.top&<(ve,Sr.bottom,null,zr.top)}b.appendChild(ae)}function Ma(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var b=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||Ha(a),y.cursorDiv.style.visibility=(b=!b)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function po(a){a.state.focused||(a.display.input.focus(),mo(a))}function so(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Ha(a))},100)}function mo(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Pt(a,"focus",a,y),a.state.focused=!0,Je(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Oe&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ma(a))}function Ha(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Pt(a,"blur",a,y),a.state.focused=!1,Ge(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function uo(a){for(var y=a.display,b=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var E=y.view[x],ae=a.options.lineWrapping,de=void 0,ve=0;if(!E.hidden){if(Ee&&fe<8){var pe=E.node.offsetTop+E.node.offsetHeight;de=pe-b,b=pe}else{var we=E.node.getBoundingClientRect();de=we.bottom-we.top,!ae&&E.text.firstChild&&(ve=E.text.firstChild.getBoundingClientRect().right-we.left-1)}var lt=E.line.height-de;if((lt>.005||lt<-.005)&&(Rr(E.line,de),eo(E.line),E.rest))for(var pt=0;pt<E.rest.length;pt++)eo(E.rest[pt]);if(ve>a.display.sizerWidth){var an=Math.ceil(ve/la(a.display));an>a.display.maxLineLength&&(a.display.maxLineLength=an,a.display.maxLine=E.line,a.display.maxLineChanged=!0)}}}}function eo(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var b=a.widgets[y],x=b.node.parentNode;x&&(b.height=x.offsetHeight)}}function Ea(a,y,b){var x=b&&b.top!=null?Math.max(0,b.top):a.scroller.scrollTop;x=Math.floor(x-sr(a));var E=b&&b.bottom!=null?b.bottom:x+a.wrapper.clientHeight,ae=xt(y,x),de=xt(y,E);if(b&&b.ensure){var ve=b.ensure.from.line,pe=b.ensure.to.line;ve<ae?(ae=ve,de=xt(y,Le($t(y,ve))+a.wrapper.clientHeight)):Math.min(pe,y.lastLine())>=de&&(ae=xt(y,Le($t(y,pe))-a.wrapper.clientHeight),de=pe)}return{from:ae,to:Math.max(de,ae+1)}}function Ja(a,y){if(!ct(a,"scrollCursorIntoView")){var b=a.display,x=b.sizer.getBoundingClientRect(),E=null;if(y.top+x.top<0?E=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(E=!1),E!=null&&!Ke){var ae=Ae("div","\u200B",null,`position: absolute;
|
|
top: `+(y.top-b.viewOffset-sr(a.display))+`px;
|
|
height: `+(y.bottom-y.top+Kr(a)+b.barHeight)+`px;
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ae),ae.scrollIntoView(E),a.display.lineSpace.removeChild(ae)}}}function _a(a,y,b,x){x==null&&(x=0);var E;!a.options.lineWrapping&&y==b&&(y=y.ch?Lt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,b=y.sticky=="before"?Lt(y.line,y.ch+1,"before"):y);for(var ae=0;ae<5;ae++){var de=!1,ve=Fr(a,y),pe=!b||b==y?ve:Fr(a,b);E={left:Math.min(ve.left,pe.left),top:Math.min(ve.top,pe.top)-x,right:Math.max(ve.left,pe.left),bottom:Math.max(ve.bottom,pe.bottom)+x};var we=to(a,E),lt=a.doc.scrollTop,pt=a.doc.scrollLeft;if(we.scrollTop!=null&&(Ua(a,we.scrollTop),Math.abs(a.doc.scrollTop-lt)>1&&(de=!0)),we.scrollLeft!=null&&(ja(a,we.scrollLeft),Math.abs(a.doc.scrollLeft-pt)>1&&(de=!0)),!de)break}return E}function co(a,y){var b=to(a,y);b.scrollTop!=null&&Ua(a,b.scrollTop),b.scrollLeft!=null&&ja(a,b.scrollLeft)}function to(a,y){var b=a.display,x=Qi(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:b.scroller.scrollTop,ae=ti(a),de={};y.bottom-y.top>ae&&(y.bottom=y.top+ae);var ve=a.doc.height+Qr(b),pe=y.top<x,we=y.bottom>ve-x;if(y.top<E)de.scrollTop=pe?0:y.top;else if(y.bottom>E+ae){var lt=Math.min(y.top,(we?ve:y.bottom)-ae);lt!=E&&(de.scrollTop=lt)}var pt=a.options.fixedGutter?0:b.gutters.offsetWidth,an=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:b.scroller.scrollLeft-pt,Xt=ni(a)-b.gutters.offsetWidth,Pn=y.right-y.left>Xt;return Pn&&(y.right=y.left+Xt),y.left<10?de.scrollLeft=0:y.left<an?de.scrollLeft=Math.max(0,y.left+pt-(Pn?0:10)):y.right>Xt+an-3&&(de.scrollLeft=y.right+(Pn?0:10)-Xt),de}function fo(a,y){y!=null&&(qa(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Ia(a){qa(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function no(a,y,b){(y!=null||b!=null)&&qa(a),y!=null&&(a.curOp.scrollLeft=y),b!=null&&(a.curOp.scrollTop=b)}function Eo(a,y){qa(a),a.curOp.scrollToPos=y}function qa(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var b=Vn(a,y.from),x=Vn(a,y.to);go(a,b,x,y.margin)}}function go(a,y,b,x){var E=to(a,{left:Math.min(y.left,b.left),top:Math.min(y.top,b.top)-x,right:Math.max(y.right,b.right),bottom:Math.max(y.bottom,b.bottom)+x});no(a,E.scrollLeft,E.scrollTop)}function Ua(a,y){Math.abs(a.doc.scrollTop-y)<2||(re||Sl(a,{top:y}),yo(a,y,!0),re&&Sl(a),va(a,100))}function yo(a,y,b){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!b)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function ja(a,y,b,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((b?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,Xl(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function pi(a){var y=a.display,b=y.gutters.offsetWidth,x=Math.round(a.doc.height+Qr(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?b:0,docHeight:x,scrollHeight:x+Kr(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:b}}var mi=function(a,y,b){this.cm=b;var x=this.vert=Ae("div",[Ae("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=Ae("div",[Ae("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=E.tabIndex=-1,a(x),a(E),jt(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),jt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ee&&fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};mi.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,b=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(b){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var E=a.viewHeight-(y?x: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=b?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var ae=a.viewWidth-a.barLeft-(b?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ae)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:b?x:0,bottom:y?x:0}},mi.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},mi.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},mi.prototype.zeroWidthHack=function(){var a=je&&!ye?"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},mi.prototype.enableZeroWidthBar=function(a,y,b){a.style.pointerEvents="auto";function x(){var E=a.getBoundingClientRect(),ae=b=="vert"?document.elementFromPoint(E.right-1,(E.top+E.bottom)/2):document.elementFromPoint((E.right+E.left)/2,E.bottom-1);ae!=a?a.style.pointerEvents="none":y.set(1e3,x)}y.set(1e3,x)},mi.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var oa=function(){};oa.prototype.update=function(){return{bottom:0,right:0}},oa.prototype.setScrollLeft=function(){},oa.prototype.setScrollTop=function(){},oa.prototype.clear=function(){};function ha(a,y){y||(y=pi(a));var b=a.display.barWidth,x=a.display.barHeight;da(a,y);for(var E=0;E<4&&b!=a.display.barWidth||x!=a.display.barHeight;E++)b!=a.display.barWidth&&a.options.lineWrapping&&uo(a),da(a,pi(a)),b=a.display.barWidth,x=a.display.barHeight}function da(a,y){var b=a.display,x=b.scrollbars.update(y);b.sizer.style.paddingRight=(b.barWidth=x.right)+"px",b.sizer.style.paddingBottom=(b.barHeight=x.bottom)+"px",b.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(b.scrollbarFiller.style.display="block",b.scrollbarFiller.style.height=x.bottom+"px",b.scrollbarFiller.style.width=x.right+"px"):b.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(b.gutterFiller.style.display="block",b.gutterFiller.style.height=x.bottom+"px",b.gutterFiller.style.width=y.gutterWidth+"px"):b.gutterFiller.style.display=""}var Ya={native:mi,null:oa};function za(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ge(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ya[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),jt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,b){b=="horizontal"?ja(a,y):Ua(a,y)},a),a.display.scrollbars.addClass&&Je(a.display.wrapper,a.display.scrollbars.addClass)}var di=0;function qr(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:++di},Kn(a.curOp)}function sa(a){var y=a.curOp;y&&Ar(y,function(b){for(var x=0;x<b.ops.length;x++)b.ops[x].cm.curOp=null;$a(b)})}function $a(a){for(var y=a.ops,b=0;b<y.length;b++)Mo(y[b]);for(var x=0;x<y.length;x++)xl(y[x]);for(var E=0;E<y.length;E++)bl(y[E]);for(var ae=0;ae<y.length;ae++)wl(y[ae]);for(var de=0;de<y.length;de++)Yl(y[de])}function Mo(a){var y=a.cm,b=y.display;$s(y),a.updateMaxLine&&ut(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<b.viewFrom||a.scrollToPos.to.line>=b.viewTo)||b.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new al(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function xl(a){a.updatedDisplay=a.mustUpdate&&Al(a.cm,a.update)}function bl(a){var y=a.cm,b=y.display;a.updatedDisplay&&uo(y),a.barMeasure=pi(y),b.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ii(y,b.maxLine,b.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(b.scroller.clientWidth,b.sizer.offsetLeft+a.adjustWidthTo+Kr(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,b.sizer.offsetLeft+a.adjustWidthTo-ni(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=b.input.prepareSelection())}function wl(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&ja(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var b=a.focus&&a.focus==Re();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,b),(a.updatedDisplay||a.startHeight!=y.doc.height)&&ha(y,a.barMeasure),a.updatedDisplay&&Dl(y,a.barMeasure),a.selectionChanged&&Ma(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),b&&po(a.cm)}function Yl(a){var y=a.cm,b=y.display,x=y.doc;if(a.updatedDisplay&&Gl(y,a.update),b.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(b.wheelStartX=b.wheelStartY=null),a.scrollTop!=null&&yo(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&ja(y,a.scrollLeft,!0,!0),a.scrollToPos){var E=_a(y,Dn(x,a.scrollToPos.from),Dn(x,a.scrollToPos.to),a.scrollToPos.margin);Ja(y,E)}var ae=a.maybeHiddenMarkers,de=a.maybeUnhiddenMarkers;if(ae)for(var ve=0;ve<ae.length;++ve)ae[ve].lines.length||Pt(ae[ve],"hide");if(de)for(var pe=0;pe<de.length;++pe)de[pe].lines.length&&Pt(de[pe],"unhide");b.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Pt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function gi(a,y){if(a.curOp)return y();qr(a);try{return y()}finally{sa(a)}}function _r(a,y){return function(){if(a.curOp)return y.apply(a,arguments);qr(a);try{return y.apply(a,arguments)}finally{sa(a)}}}function ai(a){return function(){if(this.curOp)return a.apply(this,arguments);qr(this);try{return a.apply(this,arguments)}finally{sa(this)}}}function Pi(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);qr(y);try{return a.apply(this,arguments)}finally{sa(y)}}}function va(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,mt(El,a))}function El(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var b=+new Date+a.options.workTime,x=li(a,y.highlightFrontier),E=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ae){if(x.line>=a.display.viewFrom){var de=ae.styles,ve=ae.text.length>a.options.maxHighlightLength?dr(y.mode,x.state):null,pe=jr(a,ae,x,!0);ve&&(x.state=ve),ae.styles=pe.styles;var we=ae.styleClasses,lt=pe.classes;lt?ae.styleClasses=lt:we&&(ae.styleClasses=null);for(var pt=!de||de.length!=ae.styles.length||we!=lt&&(!we||!lt||we.bgClass!=lt.bgClass||we.textClass!=lt.textClass),an=0;!pt&&an<de.length;++an)pt=de[an]!=ae.styles[an];pt&&E.push(x.line),ae.stateAfter=x.save(),x.nextLine()}else ae.text.length<=a.options.maxHighlightLength&&Di(a,ae.text,x),ae.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>b)return va(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),E.length&&gi(a,function(){for(var ae=0;ae<E.length;ae++)Ca(a,E[ae],"text")})}}var al=function(a,y,b){var x=a.display;this.viewport=y,this.visible=Ea(x,a.doc,y),this.editorIsHidden=!x.wrapper.offsetWidth,this.wrapperHeight=x.wrapper.clientHeight,this.wrapperWidth=x.wrapper.clientWidth,this.oldDisplayWidth=ni(a),this.force=b,this.dims=ta(a),this.events=[]};al.prototype.signal=function(a,y){_t(a,y)&&this.events.push(arguments)},al.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Pt.apply(null,this.events[a])};function $s(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=Kr(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Kr(a)+"px",y.scrollbarsClipped=!0)}function eu(a){if(a.hasFocus())return null;var y=Re();if(!y||!_e(a.display.lineDiv,y))return null;var b={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&_e(a.display.lineDiv,x.anchorNode)&&(b.anchorNode=x.anchorNode,b.anchorOffset=x.anchorOffset,b.focusNode=x.focusNode,b.focusOffset=x.focusOffset)}return b}function tu(a){if(!(!a||!a.activeElt||a.activeElt==Re())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&_e(document.body,a.anchorNode)&&_e(document.body,a.focusNode))){var y=window.getSelection(),b=document.createRange();b.setEnd(a.anchorNode,a.anchorOffset),b.collapse(!1),y.removeAllRanges(),y.addRange(b),y.extend(a.focusNode,a.focusOffset)}}function Al(a,y){var b=a.display,x=a.doc;if(y.editorIsHidden)return xa(a),!1;if(!y.force&&y.visible.from>=b.viewFrom&&y.visible.to<=b.viewTo&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo)&&b.renderedView==b.view&&vo(a)==0)return!1;Ql(a)&&(xa(a),y.dims=ta(a));var E=x.first+x.size,ae=Math.max(y.visible.from-a.options.viewportMargin,x.first),de=Math.min(E,y.visible.to+a.options.viewportMargin);b.viewFrom<ae&&ae-b.viewFrom<20&&(ae=Math.max(x.first,b.viewFrom)),b.viewTo>de&&b.viewTo-de<20&&(de=Math.min(E,b.viewTo)),ci&&(ae=le(a.doc,ae),de=De(a.doc,de));var ve=ae!=b.viewFrom||de!=b.viewTo||b.lastWrapHeight!=y.wrapperHeight||b.lastWrapWidth!=y.wrapperWidth;bo(a,ae,de),b.viewOffset=Le($t(a.doc,b.viewFrom)),a.display.mover.style.top=b.viewOffset+"px";var pe=vo(a);if(!ve&&pe==0&&!y.force&&b.renderedView==b.view&&(b.updateLineNumbers==null||b.updateLineNumbers>=b.viewTo))return!1;var we=eu(a);return pe>4&&(b.lineDiv.style.display="none"),nu(a,b.updateLineNumbers,y.dims),pe>4&&(b.lineDiv.style.display=""),b.renderedView=b.view,tu(we),ft(b.cursorDiv),ft(b.selectionDiv),b.gutters.style.height=b.sizer.style.minHeight=0,ve&&(b.lastWrapHeight=y.wrapperHeight,b.lastWrapWidth=y.wrapperWidth,va(a,400)),b.updateLineNumbers=null,!0}function Gl(a,y){for(var b=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==ni(a)){if(b&&b.top!=null&&(b={top:Math.min(a.doc.height+Qr(a.display)-ti(a),b.top)}),y.visible=Ea(a.display,a.doc,b),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=Ea(a.display,a.doc,b));if(!Al(a,y))break;uo(a);var E=pi(a);Va(a),ha(a,E),Dl(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 Sl(a,y){var b=new al(a,y);if(Al(a,b)){uo(a),Gl(a,b);var x=pi(a);Va(a),ha(a,x),Dl(a,x),b.finish()}}function nu(a,y,b){var x=a.display,E=a.options.lineNumbers,ae=x.lineDiv,de=ae.firstChild;function ve(Pn){var Un=Pn.nextSibling;return Oe&&je&&a.display.currentWheelTarget==Pn?Pn.style.display="none":Pn.parentNode.removeChild(Pn),Un}for(var pe=x.view,we=x.viewFrom,lt=0;lt<pe.length;lt++){var pt=pe[lt];if(!pt.hidden)if(!pt.node||pt.node.parentNode!=ae){var an=In(a,pt,we,b);ae.insertBefore(an,de)}else{for(;de!=pt.node;)de=ve(de);var Xt=E&&y!=null&&y<=we&&pt.lineNumber;pt.changes&&(qe(pt.changes,"gutter")>-1&&(Xt=!1),tr(a,pt,we,b)),Xt&&(ft(pt.lineNumber),pt.lineNumber.appendChild(document.createTextNode(En(a.options,we)))),de=pt.node.nextSibling}we+=pt.size}for(;de;)de=ve(de)}function kl(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function Dl(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+Kr(a)+"px"}function Xl(a){var y=a.display,b=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=La(y)-y.scroller.scrollLeft+a.doc.scrollLeft,E=y.gutters.offsetWidth,ae=x+"px",de=0;de<b.length;de++)if(!b[de].hidden){a.options.fixedGutter&&(b[de].gutter&&(b[de].gutter.style.left=ae),b[de].gutterBackground&&(b[de].gutterBackground.style.left=ae));var ve=b[de].alignable;if(ve)for(var pe=0;pe<ve.length;pe++)ve[pe].style.left=ae}a.options.fixedGutter&&(y.gutters.style.left=x+E+"px")}}function Ql(a){if(!a.options.lineNumbers)return!1;var y=a.doc,b=En(a.options,y.first+y.size-1),x=a.display;if(b.length!=x.lineNumChars){var E=x.measure.appendChild(Ae("div",[Ae("div",b)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ae=E.firstChild.offsetWidth,de=E.offsetWidth-ae;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(ae,x.lineGutter.offsetWidth-de)+1,x.lineNumWidth=x.lineNumInnerWidth+de,x.lineNumChars=x.lineNumInnerWidth?b.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",kl(a.display),!0}return!1}function Fl(a,y){for(var b=[],x=!1,E=0;E<a.length;E++){var ae=a[E],de=null;if(typeof ae!="string"&&(de=ae.style,ae=ae.className),ae=="CodeMirror-linenumbers")if(y)x=!0;else continue;b.push({className:ae,style:de})}return y&&!x&&b.push({className:"CodeMirror-linenumbers",style:null}),b}function Jl(a){var y=a.gutters,b=a.gutterSpecs;ft(y),a.lineGutter=null;for(var x=0;x<b.length;++x){var E=b[x],ae=E.className,de=E.style,ve=y.appendChild(Ae("div",null,"CodeMirror-gutter "+ae));de&&(ve.style.cssText=de),ae=="CodeMirror-linenumbers"&&(a.lineGutter=ve,ve.style.width=(a.lineNumWidth||1)+"px")}y.style.display=b.length?"":"none",kl(a)}function Uo(a){Jl(a.display),ua(a),Xl(a)}function ru(a,y,b,x){var E=this;this.input=b,E.scrollbarFiller=Ae("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=Ae("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=ze("div",null,"CodeMirror-code"),E.selectionDiv=Ae("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=Ae("div",null,"CodeMirror-cursors"),E.measure=Ae("div",null,"CodeMirror-measure"),E.lineMeasure=Ae("div",null,"CodeMirror-measure"),E.lineSpace=ze("div",[E.measure,E.lineMeasure,E.selectionDiv,E.cursorDiv,E.lineDiv],null,"position: relative; outline: none");var ae=ze("div",[E.lineSpace],"CodeMirror-lines");E.mover=Ae("div",[ae],null,"position: relative"),E.sizer=Ae("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=Ae("div",null,null,"position: absolute; height: "+Tt+"px; width: 1px;"),E.gutters=Ae("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=Ae("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=Ae("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),Ee&&fe<8&&(E.gutters.style.zIndex=-1,E.scroller.style.paddingRight=0),!Oe&&!(re&&He)&&(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=Fl(x.gutters,x.lineNumbers),Jl(E),b.init(E)}var ol=0,Ga=null;Ee?Ga=-.53:re?Ga=15:Pe?Ga=-.7:nt&&(Ga=-1/3);function _l(a){var y=a.wheelDeltaX,b=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),b==null&&a.detail&&a.axis==a.VERTICAL_AXIS?b=a.detail:b==null&&(b=a.wheelDelta),{x:y,y:b}}function iu(a){var y=_l(a);return y.x*=Ga,y.y*=Ga,y}function ql(a,y){var b=_l(y),x=b.x,E=b.y,ae=a.display,de=ae.scroller,ve=de.scrollWidth>de.clientWidth,pe=de.scrollHeight>de.clientHeight;if(x&&ve||E&&pe){if(E&&je&&Oe){e:for(var we=y.target,lt=ae.view;we!=de;we=we.parentNode)for(var pt=0;pt<lt.length;pt++)if(lt[pt].node==we){a.display.currentWheelTarget=we;break e}}if(x&&!re&&!oe&&Ga!=null){E&&pe&&Ua(a,Math.max(0,de.scrollTop+E*Ga)),ja(a,Math.max(0,de.scrollLeft+x*Ga)),(!E||E&&pe)&&Mn(y),ae.wheelStartX=null;return}if(E&&Ga!=null){var an=E*Ga,Xt=a.doc.scrollTop,Pn=Xt+ae.wrapper.clientHeight;an<0?Xt=Math.max(0,Xt+an-50):Pn=Math.min(a.doc.height,Pn+an+50),Sl(a,{top:Xt,bottom:Pn})}ol<20&&(ae.wheelStartX==null?(ae.wheelStartX=de.scrollLeft,ae.wheelStartY=de.scrollTop,ae.wheelDX=x,ae.wheelDY=E,setTimeout(function(){if(ae.wheelStartX!=null){var Un=de.scrollLeft-ae.wheelStartX,ur=de.scrollTop-ae.wheelStartY,Sr=ur&&ae.wheelDY&&ur/ae.wheelDY||Un&&ae.wheelDX&&Un/ae.wheelDX;ae.wheelStartX=ae.wheelStartY=null,Sr&&(Ga=(Ga*ol+Sr)/(ol+1),++ol)}},200)):(ae.wheelDX+=x,ae.wheelDY+=E))}}var Xa=function(a,y){this.ranges=a,this.primIndex=y};Xa.prototype.primary=function(){return this.ranges[this.primIndex]},Xa.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 b=this.ranges[y],x=a.ranges[y];if(!Zn(b.anchor,x.anchor)||!Zn(b.head,x.head))return!1}return!0},Xa.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Ji(zn(this.ranges[y].anchor),zn(this.ranges[y].head));return new Xa(a,this.primIndex)},Xa.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Xa.prototype.contains=function(a,y){y||(y=a);for(var b=0;b<this.ranges.length;b++){var x=this.ranges[b];if(Sn(y,x.from())>=0&&Sn(a,x.to())<=0)return b}return-1};var Ji=function(a,y){this.anchor=a,this.head=y};Ji.prototype.from=function(){return Kt(this.anchor,this.head)},Ji.prototype.to=function(){return ir(this.anchor,this.head)},Ji.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ro(a,y,b){var x=a&&a.options.selectionsMayTouch,E=y[b];y.sort(function(an,Xt){return Sn(an.from(),Xt.from())}),b=qe(y,E);for(var ae=1;ae<y.length;ae++){var de=y[ae],ve=y[ae-1],pe=Sn(ve.to(),de.from());if(x&&!de.empty()?pe>0:pe>=0){var we=Kt(ve.from(),de.from()),lt=ir(ve.to(),de.to()),pt=ve.empty()?de.from()==de.head:ve.from()==ve.head;ae<=b&&--b,y.splice(--ae,2,new Ji(pt?lt:we,pt?we:lt))}}return new Xa(y,b)}function Ao(a,y){return new Xa([new Ji(a,y||a)],0)}function So(a){return a.text?Lt(a.from.line+a.text.length-1,Qe(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function $l(a,y){if(Sn(a,y.from)<0)return a;if(Sn(a,y.to)<=0)return So(y);var b=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=So(y).ch-y.to.ch),Lt(b,x)}function Bl(a,y){for(var b=[],x=0;x<a.sel.ranges.length;x++){var E=a.sel.ranges[x];b.push(new Ji($l(E.anchor,y),$l(E.head,y)))}return ro(a.cm,b,a.sel.primIndex)}function es(a,y,b){return a.line==y.line?Lt(b.line,a.ch-y.ch+b.ch):Lt(b.line+(a.line-y.line),a.ch)}function au(a,y,b){for(var x=[],E=Lt(a.first,0),ae=E,de=0;de<y.length;de++){var ve=y[de],pe=es(ve.from,E,ae),we=es(So(ve),E,ae);if(E=ve.to,ae=we,b=="around"){var lt=a.sel.ranges[de],pt=Sn(lt.head,lt.anchor)<0;x[de]=new Ji(pt?we:pe,pt?pe:we)}else x[de]=new Ji(pe,pe)}return new Xa(x,a.sel.primIndex)}function Pl(a){a.doc.mode=Hn(a.options,a.doc.modeOption),jo(a)}function jo(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,va(a,100),a.state.modeGen++,a.curOp&&ua(a)}function ts(a,y){return y.from.ch==0&&y.to.ch==0&&Qe(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Ll(a,y,b,x){function E(zr){return b?b[zr]:null}function ae(zr,kr,Xr){nn(zr,kr,Xr,x),hr(zr,"change",zr,y)}function de(zr,kr){for(var Xr=[],oi=zr;oi<kr;++oi)Xr.push(new wt(we[oi],E(oi),x));return Xr}var ve=y.from,pe=y.to,we=y.text,lt=$t(a,ve.line),pt=$t(a,pe.line),an=Qe(we),Xt=E(we.length-1),Pn=pe.line-ve.line;if(y.full)a.insert(0,de(0,we.length)),a.remove(we.length,a.size-we.length);else if(ts(a,y)){var Un=de(0,we.length-1);ae(pt,pt.text,Xt),Pn&&a.remove(ve.line,Pn),Un.length&&a.insert(ve.line,Un)}else if(lt==pt)if(we.length==1)ae(lt,lt.text.slice(0,ve.ch)+an+lt.text.slice(pe.ch),Xt);else{var ur=de(1,we.length-1);ur.push(new wt(an+lt.text.slice(pe.ch),Xt,x)),ae(lt,lt.text.slice(0,ve.ch)+we[0],E(0)),a.insert(ve.line+1,ur)}else if(we.length==1)ae(lt,lt.text.slice(0,ve.ch)+we[0]+pt.text.slice(pe.ch),E(0)),a.remove(ve.line+1,Pn);else{ae(lt,lt.text.slice(0,ve.ch)+we[0],E(0)),ae(pt,an+pt.text.slice(pe.ch),Xt);var Sr=de(1,we.length-1);Pn>1&&a.remove(ve.line+1,Pn-1),a.insert(ve.line+1,Sr)}hr(a,"change",a,y)}function ko(a,y,b){function x(E,ae,de){if(E.linked)for(var ve=0;ve<E.linked.length;++ve){var pe=E.linked[ve];if(pe.doc!=ae){var we=de&&pe.sharedHist;b&&!we||(y(pe.doc,we),x(pe.doc,E,we))}}}x(a,null,!0)}function ns(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Na(a),Pl(a),rs(a),a.options.lineWrapping||ut(a),a.options.mode=y.modeOption,ua(a)}function rs(a){(a.doc.direction=="rtl"?Je:Ge)(a.display.lineDiv,"CodeMirror-rtl")}function ou(a){gi(a,function(){rs(a),ua(a)})}function ll(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 Ml(a,y){var b={from:zn(y.from),to:So(y),text:$n(a,y.from,y.to)};return os(a,b,y.from.line,y.to.line+1),ko(a,function(x){return os(x,b,y.from.line,y.to.line+1)},!0),b}function is(a){for(;a.length;){var y=Qe(a);if(y.ranges)a.pop();else break}}function lu(a,y){if(y)return is(a.done),Qe(a.done);if(a.done.length&&!Qe(a.done).ranges)return Qe(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Qe(a.done)}function as(a,y,b,x){var E=a.history;E.undone.length=0;var ae=+new Date,de,ve;if((E.lastOp==x||E.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&E.lastModTime>ae-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(de=lu(E,E.lastOp==x)))ve=Qe(de.changes),Sn(y.from,y.to)==0&&Sn(y.from,ve.to)==0?ve.to=So(y):de.changes.push(Ml(a,y));else{var pe=Qe(E.done);for((!pe||!pe.ranges)&&sl(a.sel,E.done),de={changes:[Ml(a,y)],generation:E.generation},E.done.push(de);E.done.length>E.undoDepth;)E.done.shift(),E.done[0].ranges||E.done.shift()}E.done.push(b),E.generation=++E.maxGeneration,E.lastModTime=E.lastSelTime=ae,E.lastOp=E.lastSelOp=x,E.lastOrigin=E.lastSelOrigin=y.origin,ve||Pt(a,"historyAdded")}function su(a,y,b,x){var E=y.charAt(0);return E=="*"||E=="+"&&b.ranges.length==x.ranges.length&&b.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uu(a,y,b,x){var E=a.history,ae=x&&x.origin;b==E.lastSelOp||ae&&E.lastSelOrigin==ae&&(E.lastModTime==E.lastSelTime&&E.lastOrigin==ae||su(a,ae,Qe(E.done),y))?E.done[E.done.length-1]=y:sl(y,E.done),E.lastSelTime=+new Date,E.lastSelOrigin=ae,E.lastSelOp=b,x&&x.clearRedo!==!1&&is(E.undone)}function sl(a,y){var b=Qe(y);b&&b.ranges&&b.equals(a)||y.push(a)}function os(a,y,b,x){var E=y["spans_"+a.id],ae=0;a.iter(Math.max(a.first,b),Math.min(a.first+a.size,x),function(de){de.markedSpans&&((E||(E=y["spans_"+a.id]={}))[ae]=de.markedSpans),++ae})}function cu(a){if(!a)return null;for(var y,b=0;b<a.length;++b)a[b].marker.explicitlyCleared?y||(y=a.slice(0,b)):y&&y.push(a[b]);return y?y.length?y:null:a}function du(a,y){var b=y["spans_"+a.id];if(!b)return null;for(var x=[],E=0;E<y.text.length;++E)x.push(cu(b[E]));return x}function ls(a,y){var b=du(a,y),x=Vi(a,y);if(!b)return x;if(!x)return b;for(var E=0;E<b.length;++E){var ae=b[E],de=x[E];if(ae&&de)e:for(var ve=0;ve<de.length;++ve){for(var pe=de[ve],we=0;we<ae.length;++we)if(ae[we].marker==pe.marker)continue e;ae.push(pe)}else de&&(b[E]=de)}return b}function To(a,y,b){for(var x=[],E=0;E<a.length;++E){var ae=a[E];if(ae.ranges){x.push(b?Xa.prototype.deepCopy.call(ae):ae);continue}var de=ae.changes,ve=[];x.push({changes:ve});for(var pe=0;pe<de.length;++pe){var we=de[pe],lt=void 0;if(ve.push({from:we.from,to:we.to,text:we.text}),y)for(var pt in we)(lt=pt.match(/^spans_(\d+)$/))&&qe(y,Number(lt[1]))>-1&&(Qe(ve)[pt]=we[pt],delete we[pt])}}return x}function Tl(a,y,b,x){if(x){var E=a.anchor;if(b){var ae=Sn(y,E)<0;ae!=Sn(b,E)<0?(E=y,y=b):ae!=Sn(y,b)<0&&(y=b)}return new Ji(E,y)}else return new Ji(b||y,y)}function ul(a,y,b,x,E){E==null&&(E=a.cm&&(a.cm.display.shift||a.extend)),Ba(a,new Xa([Tl(a.sel.primary(),y,b,E)],0),x)}function ss(a,y,b){for(var x=[],E=a.cm&&(a.cm.display.shift||a.extend),ae=0;ae<a.sel.ranges.length;ae++)x[ae]=Tl(a.sel.ranges[ae],y[ae],null,E);var de=ro(a.cm,x,a.sel.primIndex);Ba(a,de,b)}function Nl(a,y,b,x){var E=a.sel.ranges.slice(0);E[y]=b,Ba(a,ro(a.cm,E,a.sel.primIndex),x)}function us(a,y,b,x){Ba(a,Ao(y,b),x)}function fu(a,y,b){var x={ranges:y.ranges,update:function(E){this.ranges=[];for(var ae=0;ae<E.length;ae++)this.ranges[ae]=new Ji(Dn(a,E[ae].anchor),Dn(a,E[ae].head))},origin:b&&b.origin};return Pt(a,"beforeSelectionChange",a,x),a.cm&&Pt(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?ro(a.cm,x.ranges,x.ranges.length-1):y}function cs(a,y,b){var x=a.history.done,E=Qe(x);E&&E.ranges?(x[x.length-1]=y,cl(a,y,b)):Ba(a,y,b)}function Ba(a,y,b){cl(a,y,b),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,b)}function cl(a,y,b){(_t(a,"beforeSelectionChange")||a.cm&&_t(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,b));var x=b&&b.bias||(Sn(y.primary().head,a.sel.primary().head)<0?-1:1);ds(a,hs(a,y,x,!0)),!(b&&b.scroll===!1)&&a.cm&&Ia(a.cm)}function ds(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Ut(a.cm)),hr(a,"cursorActivity",a))}function fs(a){ds(a,hs(a,a.sel,null,!1))}function hs(a,y,b,x){for(var E,ae=0;ae<y.ranges.length;ae++){var de=y.ranges[ae],ve=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ae],pe=dl(a,de.anchor,ve&&ve.anchor,b,x),we=dl(a,de.head,ve&&ve.head,b,x);(E||pe!=de.anchor||we!=de.head)&&(E||(E=y.ranges.slice(0,ae)),E[ae]=new Ji(pe,we))}return E?ro(a.cm,E,y.primIndex):y}function No(a,y,b,x,E){var ae=$t(a,y.line);if(ae.markedSpans)for(var de=0;de<ae.markedSpans.length;++de){var ve=ae.markedSpans[de],pe=ve.marker,we="selectLeft"in pe?!pe.selectLeft:pe.inclusiveLeft,lt="selectRight"in pe?!pe.selectRight:pe.inclusiveRight;if((ve.from==null||(we?ve.from<=y.ch:ve.from<y.ch))&&(ve.to==null||(lt?ve.to>=y.ch:ve.to>y.ch))){if(E&&(Pt(pe,"beforeCursorEnter"),pe.explicitlyCleared))if(ae.markedSpans){--de;continue}else break;if(!pe.atomic)continue;if(b){var pt=pe.find(x<0?1:-1),an=void 0;if((x<0?lt:we)&&(pt=vs(a,pt,-x,pt&&pt.line==y.line?ae:null)),pt&&pt.line==y.line&&(an=Sn(pt,b))&&(x<0?an<0:an>0))return No(a,pt,y,x,E)}var Xt=pe.find(x<0?-1:1);return(x<0?we:lt)&&(Xt=vs(a,Xt,x,Xt.line==y.line?ae:null)),Xt?No(a,Xt,y,x,E):null}}return y}function dl(a,y,b,x,E){var ae=x||1,de=No(a,y,b,ae,E)||!E&&No(a,y,b,ae,!0)||No(a,y,b,-ae,E)||!E&&No(a,y,b,-ae,!0);return de||(a.cantEdit=!0,Lt(a.first,0))}function vs(a,y,b,x){return b<0&&y.ch==0?y.line>a.first?Dn(a,Lt(y.line-1)):null:b>0&&y.ch==(x||$t(a,y.line)).text.length?y.line<a.first+a.size-1?Lt(y.line+1,0):null:new Lt(y.line,y.ch+b)}function ps(a){a.setSelection(Lt(a.firstLine(),0),Lt(a.lastLine()),Xe)}function ms(a,y,b){var x={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return x.canceled=!0}};return b&&(x.update=function(E,ae,de,ve){E&&(x.from=Dn(a,E)),ae&&(x.to=Dn(a,ae)),de&&(x.text=de),ve!==void 0&&(x.origin=ve)}),Pt(a,"beforeChange",a,x),a.cm&&Pt(a.cm,"beforeChange",a.cm,x),x.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:x.from,to:x.to,text:x.text,origin:x.origin}}function Io(a,y,b){if(a.cm){if(!a.cm.curOp)return _r(a.cm,Io)(a,y,b);if(a.cm.state.suppressEdits)return}if(!((_t(a,"beforeChange")||a.cm&&_t(a.cm,"beforeChange"))&&(y=ms(a,y,!0),!y))){var x=Ti&&!b&&Yt(a,y.from,y.to);if(x)for(var E=x.length-1;E>=0;--E)gs(a,{from:x[E].from,to:x[E].to,text:E?[""]:y.text,origin:y.origin});else gs(a,y)}}function gs(a,y){if(!(y.text.length==1&&y.text[0]==""&&Sn(y.from,y.to)==0)){var b=Bl(a,y);as(a,y,b,a.cm?a.cm.curOp.id:NaN),Yo(a,y,b,Vi(a,y));var x=[];ko(a,function(E,ae){!ae&&qe(x,E.history)==-1&&(bs(E.history,y),x.push(E.history)),Yo(E,y,null,Vi(E,y))})}}function fl(a,y,b){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!b)){for(var E=a.history,ae,de=a.sel,ve=y=="undo"?E.done:E.undone,pe=y=="undo"?E.undone:E.done,we=0;we<ve.length&&(ae=ve[we],!(b?ae.ranges&&!ae.equals(a.sel):!ae.ranges));we++);if(we!=ve.length){for(E.lastOrigin=E.lastSelOrigin=null;;)if(ae=ve.pop(),ae.ranges){if(sl(ae,pe),b&&!ae.equals(a.sel)){Ba(a,ae,{clearRedo:!1});return}de=ae}else if(x){ve.push(ae);return}else break;var lt=[];sl(de,pe),pe.push({changes:lt,generation:E.generation}),E.generation=ae.generation||++E.maxGeneration;for(var pt=_t(a,"beforeChange")||a.cm&&_t(a.cm,"beforeChange"),an=function(Un){var ur=ae.changes[Un];if(ur.origin=y,pt&&!ms(a,ur,!1))return ve.length=0,{};lt.push(Ml(a,ur));var Sr=Un?Bl(a,ur):Qe(ve);Yo(a,ur,Sr,ls(a,ur)),!Un&&a.cm&&a.cm.scrollIntoView({from:ur.from,to:So(ur)});var zr=[];ko(a,function(kr,Xr){!Xr&&qe(zr,kr.history)==-1&&(bs(kr.history,ur),zr.push(kr.history)),Yo(kr,ur,null,ls(kr,ur))})},Xt=ae.changes.length-1;Xt>=0;--Xt){var Pn=an(Xt);if(Pn)return Pn.v}}}}function ys(a,y){if(y!=0&&(a.first+=y,a.sel=new Xa(Bt(a.sel.ranges,function(E){return new Ji(Lt(E.anchor.line+y,E.anchor.ch),Lt(E.head.line+y,E.head.ch))}),a.sel.primIndex),a.cm)){ua(a.cm,a.first,a.first-y,y);for(var b=a.cm.display,x=b.viewFrom;x<b.viewTo;x++)Ca(a.cm,x,"gutter")}}function Yo(a,y,b,x){if(a.cm&&!a.cm.curOp)return _r(a.cm,Yo)(a,y,b,x);if(y.to.line<a.first){ys(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);ys(a,E),y={from:Lt(a.first,0),to:Lt(y.to.line+E,y.to.ch),text:[Qe(y.text)],origin:y.origin}}var ae=a.lastLine();y.to.line>ae&&(y={from:y.from,to:Lt(ae,$t(a,ae).text.length),text:[y.text[0]],origin:y.origin}),y.removed=$n(a,y.from,y.to),b||(b=Bl(a,y)),a.cm?hu(a.cm,y,x):Ll(a,y,x),cl(a,b,Xe),a.cantEdit&&dl(a,Lt(a.firstLine(),0))&&(a.cantEdit=!1)}}function hu(a,y,b){var x=a.doc,E=a.display,ae=y.from,de=y.to,ve=!1,pe=ae.line;a.options.lineWrapping||(pe=dt(gt($t(x,ae.line))),x.iter(pe,de.line+1,function(Xt){if(Xt==E.maxLine)return ve=!0,!0})),x.sel.contains(y.from,y.to)>-1&&Ut(a),Ll(x,y,b,Qa(a)),a.options.lineWrapping||(x.iter(pe,ae.line+y.text.length,function(Xt){var Pn=it(Xt);Pn>E.maxLineLength&&(E.maxLine=Xt,E.maxLineLength=Pn,E.maxLineChanged=!0,ve=!1)}),ve&&(a.curOp.updateMaxLine=!0)),Hi(x,ae.line),va(a,400);var we=y.text.length-(de.line-ae.line)-1;y.full?ua(a):ae.line==de.line&&y.text.length==1&&!ts(a.doc,y)?Ca(a,ae.line,"text"):ua(a,ae.line,de.line+1,we);var lt=_t(a,"changes"),pt=_t(a,"change");if(pt||lt){var an={from:ae,to:de,text:y.text,removed:y.removed,origin:y.origin};pt&&hr(a,"change",a,an),lt&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(an)}a.display.selForContextMenu=null}function Ro(a,y,b,x,E){var ae;x||(x=b),Sn(x,b)<0&&(ae=[x,b],b=ae[0],x=ae[1]),typeof y=="string"&&(y=a.splitLines(y)),Io(a,{from:b,to:x,text:y,origin:E})}function Cs(a,y,b,x){b<a.line?a.line+=x:y<a.line&&(a.line=y,a.ch=0)}function xs(a,y,b,x){for(var E=0;E<a.length;++E){var ae=a[E],de=!0;if(ae.ranges){ae.copied||(ae=a[E]=ae.deepCopy(),ae.copied=!0);for(var ve=0;ve<ae.ranges.length;ve++)Cs(ae.ranges[ve].anchor,y,b,x),Cs(ae.ranges[ve].head,y,b,x);continue}for(var pe=0;pe<ae.changes.length;++pe){var we=ae.changes[pe];if(b<we.from.line)we.from=Lt(we.from.line+x,we.from.ch),we.to=Lt(we.to.line+x,we.to.ch);else if(y<=we.to.line){de=!1;break}}de||(a.splice(0,E+1),E=0)}}function bs(a,y){var b=y.from.line,x=y.to.line,E=y.text.length-(x-b)-1;xs(a.done,b,x,E),xs(a.undone,b,x,E)}function Go(a,y,b,x){var E=y,ae=y;return typeof y=="number"?ae=$t(a,er(a,y)):E=dt(y),E==null?null:(x(ae,E)&&a.cm&&Ca(a.cm,E,b),ae)}function Xo(a){this.lines=a,this.parent=null;for(var y=0,b=0;b<a.length;++b)a[b].parent=this,y+=a[b].height;this.height=y}Xo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var b=a,x=a+y;b<x;++b){var E=this.lines[b];this.height-=E.height,rn(E),hr(E,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,b){this.height+=b,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var x=0;x<y.length;++x)y[x].parent=this},iterN:function(a,y,b){for(var x=a+y;a<x;++a)if(b(this.lines[a]))return!0}};function Qo(a){this.children=a;for(var y=0,b=0,x=0;x<a.length;++x){var E=a[x];y+=E.chunkSize(),b+=E.height,E.parent=this}this.size=y,this.height=b,this.parent=null}Qo.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var b=0;b<this.children.length;++b){var x=this.children[b],E=x.chunkSize();if(a<E){var ae=Math.min(y,E-a),de=x.height;if(x.removeInner(a,ae),this.height-=de-x.height,E==ae&&(this.children.splice(b--,1),x.parent=null),(y-=ae)==0)break;a=0}else a-=E}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Xo))){var ve=[];this.collapse(ve),this.children=[new Xo(ve)],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,b){this.size+=y.length,this.height+=b;for(var x=0;x<this.children.length;++x){var E=this.children[x],ae=E.chunkSize();if(a<=ae){if(E.insertInner(a,y,b),E.lines&&E.lines.length>50){for(var de=E.lines.length%25+25,ve=de;ve<E.lines.length;){var pe=new Xo(E.lines.slice(ve,ve+=25));E.height-=pe.height,this.children.splice(++x,0,pe),pe.parent=this}E.lines=E.lines.slice(0,de),this.maybeSpill()}break}a-=ae}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),b=new Qo(y);if(a.parent){a.size-=b.size,a.height-=b.height;var E=qe(a.parent.children,a);a.parent.children.splice(E+1,0,b)}else{var x=new Qo(a.children);x.parent=a,a.children=[x,b],a=x}b.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,b){for(var x=0;x<this.children.length;++x){var E=this.children[x],ae=E.chunkSize();if(a<ae){var de=Math.min(y,ae-a);if(E.iterN(a,de,b))return!0;if((y-=de)==0)break;a=0}else a-=ae}}};var Jo=function(a,y,b){if(b)for(var x in b)b.hasOwnProperty(x)&&(this[x]=b[x]);this.doc=a,this.node=y};Jo.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,b=this.line,x=dt(b);if(!(x==null||!y)){for(var E=0;E<y.length;++E)y[E]==this&&y.splice(E--,1);y.length||(b.widgets=null);var ae=Hr(this);Rr(b,Math.max(0,b.height-ae)),a&&(gi(a,function(){ws(a,b,-ae),Ca(a,x,"widget")}),hr(a,"lineWidgetCleared",a,this,x))}},Jo.prototype.changed=function(){var a=this,y=this.height,b=this.doc.cm,x=this.line;this.height=null;var E=Hr(this)-y;E&&(Be(this.doc,x)||Rr(x,x.height+E),b&&gi(b,function(){b.curOp.forceUpdate=!0,ws(b,x,E),hr(b,"lineWidgetChanged",b,a,dt(x))}))},gn(Jo);function ws(a,y,b){Le(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&fo(a,b)}function vu(a,y,b,x){var E=new Jo(a,b,x),ae=a.cm;return ae&&E.noHScroll&&(ae.display.alignWidgets=!0),Go(a,y,"widget",function(de){var ve=de.widgets||(de.widgets=[]);if(E.insertAt==null?ve.push(E):ve.splice(Math.min(ve.length-1,Math.max(0,E.insertAt)),0,E),E.line=de,ae&&!Be(a,de)){var pe=Le(de)<a.scrollTop;Rr(de,de.height+Hr(E)),pe&&fo(ae,E.height),ae.curOp.forceUpdate=!0}return!0}),ae&&hr(ae,"lineWidgetAdded",ae,E,typeof y=="number"?y:dt(y)),E}var Es=0,Do=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Es};Do.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&qr(a),_t(this,"clear")){var b=this.find();b&&hr(this,"clear",b.from,b.to)}for(var x=null,E=null,ae=0;ae<this.lines.length;++ae){var de=this.lines[ae],ve=Yr(de.markedSpans,this);a&&!this.collapsed?Ca(a,dt(de),"text"):a&&(ve.to!=null&&(E=dt(de)),ve.from!=null&&(x=dt(de))),de.markedSpans=si(de.markedSpans,ve),ve.from==null&&this.collapsed&&!Be(this.doc,de)&&a&&Rr(de,Qi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var pe=0;pe<this.lines.length;++pe){var we=gt(this.lines[pe]),lt=it(we);lt>a.display.maxLineLength&&(a.display.maxLine=we,a.display.maxLineLength=lt,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&ua(a,x,E+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&fs(a.doc)),a&&hr(a,"markerCleared",a,this,x,E),y&&sa(a),this.parent&&this.parent.clear()}},Do.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var b,x,E=0;E<this.lines.length;++E){var ae=this.lines[E],de=Yr(ae.markedSpans,this);if(de.from!=null&&(b=Lt(y?ae:dt(ae),de.from),a==-1))return b;if(de.to!=null&&(x=Lt(y?ae:dt(ae),de.to),a==1))return x}return b&&{from:b,to:x}},Do.prototype.changed=function(){var a=this,y=this.find(-1,!0),b=this,x=this.doc.cm;!y||!x||gi(x,function(){var E=y.line,ae=dt(y.line),de=zi(x,ae);if(de&&(_i(de),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!Be(b.doc,E)&&b.height!=null){var ve=b.height;b.height=null;var pe=Hr(b)-ve;pe&&Rr(E,E.height+pe)}hr(x,"markerChanged",x,a)})},Do.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||qe(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Do.prototype.detachLine=function(a){if(this.lines.splice(qe(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},gn(Do);function Oo(a,y,b,x,E){if(x&&x.shared)return pu(a,y,b,x,E);if(a.cm&&!a.cm.curOp)return _r(a.cm,Oo)(a,y,b,x,E);var ae=new Do(a,E),de=Sn(y,b);if(x&&St(x,ae,!1),de>0||de==0&&ae.clearWhenEmpty!==!1)return ae;if(ae.replacedWith&&(ae.collapsed=!0,ae.widgetNode=ze("span",[ae.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||ae.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(ae.widgetNode.insertLeft=!0)),ae.collapsed){if(At(a,y.line,y,b,ae)||y.line!=b.line&&At(a,b.line,y,b,ae))throw new Error("Inserting collapsed marker partially overlapping an existing one");Oi()}ae.addToHistory&&as(a,{from:y,to:b,origin:"markText"},a.sel,NaN);var ve=y.line,pe=a.cm,we;if(a.iter(ve,b.line+1,function(pt){pe&&ae.collapsed&&!pe.options.lineWrapping&>(pt)==pe.display.maxLine&&(we=!0),ae.collapsed&&ve!=y.line&&Rr(pt,0),wi(pt,new wr(ae,ve==y.line?y.ch:null,ve==b.line?b.ch:null)),++ve}),ae.collapsed&&a.iter(y.line,b.line+1,function(pt){Be(a,pt)&&Rr(pt,0)}),ae.clearOnEnter&&jt(ae,"beforeCursorEnter",function(){return ae.clear()}),ae.readOnly&&(ji(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ae.collapsed&&(ae.id=++Es,ae.atomic=!0),pe){if(we&&(pe.curOp.updateMaxLine=!0),ae.collapsed)ua(pe,y.line,b.line+1);else if(ae.className||ae.startStyle||ae.endStyle||ae.css||ae.attributes||ae.title)for(var lt=y.line;lt<=b.line;lt++)Ca(pe,lt,"text");ae.atomic&&fs(pe.doc),hr(pe,"markerAdded",pe,ae)}return ae}var _o=function(a,y){this.markers=a,this.primary=y;for(var b=0;b<a.length;++b)a[b].parent=this};_o.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();hr(this,"clear")}},_o.prototype.find=function(a,y){return this.primary.find(a,y)},gn(_o);function pu(a,y,b,x,E){x=St(x),x.shared=!1;var ae=[Oo(a,y,b,x,E)],de=ae[0],ve=x.widgetNode;return ko(a,function(pe){ve&&(x.widgetNode=ve.cloneNode(!0)),ae.push(Oo(pe,Dn(pe,y),Dn(pe,b),x,E));for(var we=0;we<pe.linked.length;++we)if(pe.linked[we].isParent)return;de=Qe(ae)}),new _o(ae,de)}function As(a){return a.findMarks(Lt(a.first,0),a.clipPos(Lt(a.lastLine())),function(y){return y.parent})}function mu(a,y){for(var b=0;b<y.length;b++){var x=y[b],E=x.find(),ae=a.clipPos(E.from),de=a.clipPos(E.to);if(Sn(ae,de)){var ve=Oo(a,ae,de,x.primary,x.primary.type);x.markers.push(ve),ve.parent=x}}}function gu(a){for(var y=function(x){var E=a[x],ae=[E.primary.doc];ko(E.primary.doc,function(pe){return ae.push(pe)});for(var de=0;de<E.markers.length;de++){var ve=E.markers[de];qe(ae,ve.doc)==-1&&(ve.parent=null,E.markers.splice(de--,1))}},b=0;b<a.length;b++)y(b)}var yu=0,Ra=function(a,y,b,x,E){if(!(this instanceof Ra))return new Ra(a,y,b,x,E);b==null&&(b=0),Qo.call(this,[new Xo([new wt("",null)])]),this.first=b,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=b;var ae=Lt(b,0);this.sel=Ao(ae),this.history=new ll(null),this.id=++yu,this.modeOption=y,this.lineSep=x,this.direction=E=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Ll(this,{from:ae,to:ae,text:a}),Ba(this,Ao(ae),Xe)};Ra.prototype=ie(Qo.prototype,{constructor:Ra,iter:function(a,y,b){b?this.iterN(a-this.first,y-a,b):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var b=0,x=0;x<y.length;++x)b+=y[x].height;this.insertInner(a-this.first,y,b)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=Zr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:Pi(function(a){var y=Lt(this.first,0),b=this.first+this.size-1;Io(this,{from:y,to:Lt(b,$t(this,b).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&no(this.cm,0,0),Ba(this,Ao(y),Xe)}),replaceRange:function(a,y,b,x){y=Dn(this,y),b=b?Dn(this,b):y,Ro(this,a,y,b,x)},getRange:function(a,y,b){var x=$n(this,Dn(this,a),Dn(this,y));return b===!1?x:x.join(b||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Rn(this,a))return $t(this,a)},getLineNumber:function(a){return dt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=$t(this,a)),gt(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Dn(this,a)},getCursor:function(a){var y=this.sel.primary(),b;return a==null||a=="head"?b=y.head:a=="anchor"?b=y.anchor:a=="end"||a=="to"||a===!1?b=y.to():b=y.from(),b},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Pi(function(a,y,b){us(this,Dn(this,typeof a=="number"?Lt(a,y||0):a),null,b)}),setSelection:Pi(function(a,y,b){us(this,Dn(this,a),Dn(this,y||a),b)}),extendSelection:Pi(function(a,y,b){ul(this,Dn(this,a),y&&Dn(this,y),b)}),extendSelections:Pi(function(a,y){ss(this,qn(this,a),y)}),extendSelectionsBy:Pi(function(a,y){var b=Bt(this.sel.ranges,a);ss(this,qn(this,b),y)}),setSelections:Pi(function(a,y,b){if(a.length){for(var x=[],E=0;E<a.length;E++)x[E]=new Ji(Dn(this,a[E].anchor),Dn(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),Ba(this,ro(this.cm,x,y),b)}}),addSelection:Pi(function(a,y,b){var x=this.sel.ranges.slice(0);x.push(new Ji(Dn(this,a),Dn(this,y||a))),Ba(this,ro(this.cm,x,x.length-1),b)}),getSelection:function(a){for(var y=this.sel.ranges,b,x=0;x<y.length;x++){var E=$n(this,y[x].from(),y[x].to());b=b?b.concat(E):E}return a===!1?b:b.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],b=this.sel.ranges,x=0;x<b.length;x++){var E=$n(this,b[x].from(),b[x].to());a!==!1&&(E=E.join(a||this.lineSeparator())),y[x]=E}return y},replaceSelection:function(a,y,b){for(var x=[],E=0;E<this.sel.ranges.length;E++)x[E]=a;this.replaceSelections(x,y,b||"+input")},replaceSelections:Pi(function(a,y,b){for(var x=[],E=this.sel,ae=0;ae<E.ranges.length;ae++){var de=E.ranges[ae];x[ae]={from:de.from(),to:de.to(),text:this.splitLines(a[ae]),origin:b}}for(var ve=y&&y!="end"&&au(this,x,y),pe=x.length-1;pe>=0;pe--)Io(this,x[pe]);ve?cs(this,ve):this.cm&&Ia(this.cm)}),undo:Pi(function(){fl(this,"undo")}),redo:Pi(function(){fl(this,"redo")}),undoSelection:Pi(function(){fl(this,"undo",!0)}),redoSelection:Pi(function(){fl(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,b=0,x=0;x<a.done.length;x++)a.done[x].ranges||++y;for(var E=0;E<a.undone.length;E++)a.undone[E].ranges||++b;return{undo:y,redo:b}},clearHistory:function(){var a=this;this.history=new ll(this.history.maxGeneration),ko(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:To(this.history.done),undone:To(this.history.undone)}},setHistory:function(a){var y=this.history=new ll(this.history.maxGeneration);y.done=To(a.done.slice(0),null,!0),y.undone=To(a.undone.slice(0),null,!0)},setGutterMarker:Pi(function(a,y,b){return Go(this,a,"gutter",function(x){var E=x.gutterMarkers||(x.gutterMarkers={});return E[y]=b,!b&&te(E)&&(x.gutterMarkers=null),!0})}),clearGutter:Pi(function(a){var y=this;this.iter(function(b){b.gutterMarkers&&b.gutterMarkers[a]&&Go(y,b,"gutter",function(){return b.gutterMarkers[a]=null,te(b.gutterMarkers)&&(b.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Rn(this,a)||(y=a,a=$t(this,a),!a))return null}else if(y=dt(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:Pi(function(a,y,b){return Go(this,a,y=="gutter"?"gutter":"class",function(x){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!x[E])x[E]=b;else{if(Ve(b).test(x[E]))return!1;x[E]+=" "+b}return!0})}),removeLineClass:Pi(function(a,y,b){return Go(this,a,y=="gutter"?"gutter":"class",function(x){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ae=x[E];if(ae)if(b==null)x[E]=null;else{var de=ae.match(Ve(b));if(!de)return!1;var ve=de.index+de[0].length;x[E]=ae.slice(0,de.index)+(!de.index||ve==ae.length?"":" ")+ae.slice(ve)||null}else return!1;return!0})}),addLineWidget:Pi(function(a,y,b){return vu(this,a,y,b)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,b){return Oo(this,Dn(this,a),Dn(this,y),b,b&&b.type||"range")},setBookmark:function(a,y){var b={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Dn(this,a),Oo(this,a,a,b,"bookmark")},findMarksAt:function(a){a=Dn(this,a);var y=[],b=$t(this,a.line).markedSpans;if(b)for(var x=0;x<b.length;++x){var E=b[x];(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,b){a=Dn(this,a),y=Dn(this,y);var x=[],E=a.line;return this.iter(a.line,y.line+1,function(ae){var de=ae.markedSpans;if(de)for(var ve=0;ve<de.length;ve++){var pe=de[ve];!(pe.to!=null&&E==a.line&&a.ch>=pe.to||pe.from==null&&E!=a.line||pe.from!=null&&E==y.line&&pe.from>=y.ch)&&(!b||b(pe.marker))&&x.push(pe.marker.parent||pe.marker)}++E}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var b=y.markedSpans;if(b)for(var x=0;x<b.length;++x)b[x].from!=null&&a.push(b[x].marker)}),a},posFromIndex:function(a){var y,b=this.first,x=this.lineSeparator().length;return this.iter(function(E){var ae=E.text.length+x;if(ae>a)return y=a,!0;a-=ae,++b}),Dn(this,Lt(b,y))},indexFromPos:function(a){a=Dn(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var b=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){y+=x.text.length+b}),y},copy:function(a){var y=new Ra(Zr(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,b=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<b&&(b=a.to);var x=new Ra(Zr(this,y,b),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(x.history=this.history),(this.linked||(this.linked=[])).push({doc:x,sharedHist:a.sharedHist}),x.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],mu(x,As(this)),x},unlinkDoc:function(a){if(a instanceof ca&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var b=this.linked[y];if(b.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),gu(As(this));break}}if(a.history==this.history){var x=[a.id];ko(a,function(E){return x.push(E.id)},!0),a.history=new ll(null),a.history.done=To(this.history.done,x),a.history.undone=To(this.history.undone,x)}},iterLinkedDocs:function(a){ko(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Ir(a)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:Pi(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&ou(this.cm))})}),Ra.prototype.eachLine=Ra.prototype.iter;var Ss=0;function Cu(a){var y=this;if(ks(y),!(ct(y,a)||Ur(y.display,a))){Mn(a),Ee&&(Ss=+new Date);var b=Fa(y,a,!0),x=a.dataTransfer.files;if(!(!b||y.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var E=x.length,ae=Array(E),de=0,ve=function(){++de==E&&_r(y,function(){b=Dn(y.doc,b);var Xt={from:b,to:b,text:y.doc.splitLines(ae.filter(function(Pn){return Pn!=null}).join(y.doc.lineSeparator())),origin:"paste"};Io(y.doc,Xt),cs(y.doc,Ao(Dn(y.doc,b),Dn(y.doc,So(Xt))))})()},pe=function(Xt,Pn){if(y.options.allowDropFileTypes&&qe(y.options.allowDropFileTypes,Xt.type)==-1){ve();return}var Un=new FileReader;Un.onerror=function(){return ve()},Un.onload=function(){var ur=Un.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ur)){ve();return}ae[Pn]=ur,ve()},Un.readAsText(Xt)},we=0;we<x.length;we++)pe(x[we],we);else{if(y.state.draggingText&&y.doc.sel.contains(b)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var lt=a.dataTransfer.getData("Text");if(lt){var pt;if(y.state.draggingText&&!y.state.draggingText.copy&&(pt=y.listSelections()),cl(y.doc,Ao(b,b)),pt)for(var an=0;an<pt.length;++an)Ro(y.doc,"",pt[an].anchor,pt[an].head,"drag");y.replaceSelection(lt,"around","paste"),y.display.input.focus()}}catch(Xt){}}}}function xu(a,y){if(Ee&&(!a.state.draggingText||+new Date-Ss<100)){Xn(y);return}if(!(ct(a,y)||Ur(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!nt)){var b=Ae("img",null,null,"position: fixed; left: 0; top: 0;");b.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",oe&&(b.width=b.height=1,a.display.wrapper.appendChild(b),b._top=b.offsetTop),y.dataTransfer.setDragImage(b,0,0),oe&&b.parentNode.removeChild(b)}}function bu(a,y){var b=Fa(a,y);if(b){var x=document.createDocumentFragment();oo(a,b,x),a.display.dragCursor||(a.display.dragCursor=Ae("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),ge(a.display.dragCursor,x)}}function ks(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Ds(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),b=[],x=0;x<y.length;x++){var E=y[x].CodeMirror;E&&b.push(E)}b.length&&b[0].operation(function(){for(var ae=0;ae<b.length;ae++)a(b[ae])})}}var Fs=!1;function wu(){Fs||(Eu(),Fs=!0)}function Eu(){var a;jt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Ds(Au)},100))}),jt(window,"blur",function(){return Ds(Ha)})}function Au(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var Fo={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"},qo=0;qo<10;qo++)Fo[qo+48]=Fo[qo+96]=String(qo);for(var hl=65;hl<=90;hl++)Fo[hl]=String.fromCharCode(hl);for(var $o=1;$o<=12;$o++)Fo[$o+111]=Fo[$o+63235]="F"+$o;var Co={};Co.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"},Co.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"},Co.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"},Co.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"]},Co.default=je?Co.macDefault:Co.pcDefault;function Su(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var b,x,E,ae,de=0;de<y.length-1;de++){var ve=y[de];if(/^(cmd|meta|m)$/i.test(ve))ae=!0;else if(/^a(lt)?$/i.test(ve))b=!0;else if(/^(c|ctrl|control)$/i.test(ve))x=!0;else if(/^s(hift)?$/i.test(ve))E=!0;else throw new Error("Unrecognized modifier name: "+ve)}return b&&(a="Alt-"+a),x&&(a="Ctrl-"+a),ae&&(a="Cmd-"+a),E&&(a="Shift-"+a),a}function ku(a){var y={};for(var b in a)if(a.hasOwnProperty(b)){var x=a[b];if(/^(name|fallthrough|(de|at)tach)$/.test(b))continue;if(x=="..."){delete a[b];continue}for(var E=Bt(b.split(" "),Su),ae=0;ae<E.length;ae++){var de=void 0,ve=void 0;ae==E.length-1?(ve=E.join(" "),de=x):(ve=E.slice(0,ae+1).join(" "),de="...");var pe=y[ve];if(!pe)y[ve]=de;else if(pe!=de)throw new Error("Inconsistent bindings for "+ve)}delete a[b]}for(var we in y)a[we]=y[we];return a}function Zo(a,y,b,x){y=vl(y);var E=y.call?y.call(a,x):y[a];if(E===!1)return"nothing";if(E==="...")return"multi";if(E!=null&&b(E))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Zo(a,y.fallthrough,b,x);for(var ae=0;ae<y.fallthrough.length;ae++){var de=Zo(a,y.fallthrough[ae],b,x);if(de)return de}}}function Bs(a){var y=typeof a=="string"?a:Fo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Ps(a,y,b){var x=a;return y.altKey&&x!="Alt"&&(a="Alt-"+a),(ke?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(ke?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!b&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function Ls(a,y){if(oe&&a.keyCode==34&&a.char)return!1;var b=Fo[a.keyCode];return b==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(b=a.code),Ps(b,a,y))}function vl(a){return typeof a=="string"?Co[a]:a}function Wo(a,y){for(var b=a.doc.sel.ranges,x=[],E=0;E<b.length;E++){for(var ae=y(b[E]);x.length&&Sn(ae.from,Qe(x).to)<=0;){var de=x.pop();if(Sn(de.from,ae.from)<0){ae.from=de.from;break}}x.push(ae)}gi(a,function(){for(var ve=x.length-1;ve>=0;ve--)Ro(a.doc,"",x[ve].from,x[ve].to,"+delete");Ia(a)})}function Il(a,y,b){var x=Se(a.text,y+b,b);return x<0||x>a.text.length?null:x}function Rl(a,y,b){var x=Il(a,y.ch,b);return x==null?null:new Lt(y.line,x,b<0?"after":"before")}function Ol(a,y,b,x,E){if(a){y.doc.direction=="rtl"&&(E=-E);var ae=zt(b,y.doc.direction);if(ae){var de=E<0?Qe(ae):ae[0],ve=E<0==(de.level==1),pe=ve?"after":"before",we;if(de.level>0||y.doc.direction=="rtl"){var lt=ui(y,b);we=E<0?b.text.length-1:0;var pt=Ai(y,lt,we).top;we=Dt(function(an){return Ai(y,lt,an).top==pt},E<0==(de.level==1)?de.from:de.to-1,we),pe=="before"&&(we=Il(b,we,1))}else we=E<0?de.to:de.from;return new Lt(x,we,pe)}}return new Lt(x,E<0?b.text.length:0,E<0?"before":"after")}function Du(a,y,b,x){var E=zt(y,a.doc.direction);if(!E)return Rl(y,b,x);b.ch>=y.text.length?(b.ch=y.text.length,b.sticky="before"):b.ch<=0&&(b.ch=0,b.sticky="after");var ae=ot(E,b.ch,b.sticky),de=E[ae];if(a.doc.direction=="ltr"&&de.level%2==0&&(x>0?de.to>b.ch:de.from<b.ch))return Rl(y,b,x);var ve=function(Sr,zr){return Il(y,Sr instanceof Lt?Sr.ch:Sr,zr)},pe,we=function(Sr){return a.options.lineWrapping?(pe=pe||ui(a,y),vi(a,y,pe,Sr)):{begin:0,end:y.text.length}},lt=we(b.sticky=="before"?ve(b,-1):b.ch);if(a.doc.direction=="rtl"||de.level==1){var pt=de.level==1==x<0,an=ve(b,pt?1:-1);if(an!=null&&(pt?an<=de.to&&an<=lt.end:an>=de.from&&an>=lt.begin)){var Xt=pt?"before":"after";return new Lt(b.line,an,Xt)}}var Pn=function(Sr,zr,kr){for(var Xr=function(na,Aa){return Aa?new Lt(b.line,ve(na,1),"before"):new Lt(b.line,na,"after")};Sr>=0&&Sr<E.length;Sr+=zr){var oi=E[Sr],$r=zr>0==(oi.level!=1),Ii=$r?kr.begin:ve(kr.end,-1);if(oi.from<=Ii&&Ii<oi.to||(Ii=$r?oi.from:ve(oi.to,-1),kr.begin<=Ii&&Ii<kr.end))return Xr(Ii,$r)}},Un=Pn(ae+x,x,lt);if(Un)return Un;var ur=x>0?lt.end:ve(lt.begin,-1);return ur!=null&&!(x>0&&ur==y.text.length)&&(Un=Pn(x>0?0:E.length-1,x,we(ur)),Un)?Un:null}var el={selectAll:ps,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Xe)},killLine:function(a){return Wo(a,function(y){if(y.empty()){var b=$t(a.doc,y.head.line).text.length;return y.head.ch==b&&y.head.line<a.lastLine()?{from:y.head,to:Lt(y.head.line+1,0)}:{from:y.head,to:Lt(y.head.line,b)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Wo(a,function(y){return{from:Lt(y.from().line,0),to:Dn(a.doc,Lt(y.to().line+1,0))}})},delLineLeft:function(a){return Wo(a,function(y){return{from:Lt(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Wo(a,function(y){var b=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:b},"div");return{from:x,to:y.from()}})},delWrappedLineRight:function(a){return Wo(a,function(y){var b=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:b},"div");return{from:y.from(),to:x}})},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(Lt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Lt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return Ms(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return Ts(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Fu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var b=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:b},"div")},tt)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var b=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:b},"div")},tt)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var b=a.cursorCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:b},"div");return x.ch<a.getLine(x.line).search(/\S/)?Ts(a,y.head):x},tt)},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=[],b=a.listSelections(),x=a.options.tabSize,E=0;E<b.length;E++){var ae=b[E].from(),de=xe(a.getLine(ae.line),ae.ch,x);y.push(yt(x-de%x))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return gi(a,function(){for(var y=a.listSelections(),b=[],x=0;x<y.length;x++)if(y[x].empty()){var E=y[x].head,ae=$t(a.doc,E.line).text;if(ae){if(E.ch==ae.length&&(E=new Lt(E.line,E.ch-1)),E.ch>0)E=new Lt(E.line,E.ch+1),a.replaceRange(ae.charAt(E.ch-1)+ae.charAt(E.ch-2),Lt(E.line,E.ch-2),E,"+transpose");else if(E.line>a.doc.first){var de=$t(a.doc,E.line-1).text;de&&(E=new Lt(E.line,1),a.replaceRange(ae.charAt(0)+a.doc.lineSeparator()+de.charAt(de.length-1),Lt(E.line-1,de.length-1),E,"+transpose"))}}b.push(new Ji(E,E))}a.setSelections(b)})},newlineAndIndent:function(a){return gi(a,function(){for(var y=a.listSelections(),b=y.length-1;b>=0;b--)a.replaceRange(a.doc.lineSeparator(),y[b].anchor,y[b].head,"+input");y=a.listSelections();for(var x=0;x<y.length;x++)a.indentLine(y[x].from().line,null,!0);Ia(a)})},openLine:function(a){return a.replaceSelection(`
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function Ms(a,y){var b=$t(a.doc,y),x=gt(b);return x!=b&&(y=dt(x)),Ol(!0,a,x,y,1)}function Fu(a,y){var b=$t(a.doc,y),x=Wt(b);return x!=b&&(y=dt(x)),Ol(!0,a,b,y,-1)}function Ts(a,y){var b=Ms(a,y.line),x=$t(a.doc,b.line),E=zt(x,a.doc.direction);if(!E||E[0].level==0){var ae=Math.max(b.ch,x.text.search(/\S/)),de=y.line==b.line&&y.ch<=ae&&y.ch;return Lt(b.line,de?0:ae,b.sticky)}return b}function pl(a,y,b){if(typeof y=="string"&&(y=el[y],!y))return!1;a.display.input.ensurePolled();var x=a.display.shift,E=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),b&&(a.display.shift=!1),E=y(a)!=Mt}finally{a.display.shift=x,a.state.suppressEdits=!1}return E}function Bu(a,y,b){for(var x=0;x<a.state.keyMaps.length;x++){var E=Zo(y,a.state.keyMaps[x],b,a);if(E)return E}return a.options.extraKeys&&Zo(y,a.options.extraKeys,b,a)||Zo(y,a.options.keyMap,b,a)}var Pu=new he;function tl(a,y,b,x){var E=a.state.keySeq;if(E){if(Bs(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())}),Ns(a,E+" "+y,b,x))return!0}return Ns(a,y,b,x)}function Ns(a,y,b,x){var E=Bu(a,y,x);return E=="multi"&&(a.state.keySeq=y),E=="handled"&&hr(a,"keyHandled",a,y,b),(E=="handled"||E=="multi")&&(Mn(b),Ma(a)),!!E}function Is(a,y){var b=Ls(y,!0);return b?y.shiftKey&&!a.state.keySeq?tl(a,"Shift-"+b,y,function(x){return pl(a,x,!0)})||tl(a,b,y,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return pl(a,x)}):tl(a,b,y,function(x){return pl(a,x)}):!1}function Lu(a,y,b){return tl(a,"'"+b+"'",y,function(x){return pl(a,x,!0)})}var Zl=null;function Rs(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Re(),!ct(y,a))){Ee&&fe<11&&a.keyCode==27&&(a.returnValue=!1);var b=a.keyCode;y.display.shift=b==16||a.shiftKey;var x=Is(y,a);oe&&(Zl=x?b:null,!x&&b==88&&!Ft&&(je?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),re&&!je&&!x&&b==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),b==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Mu(y)}}function Mu(a){var y=a.display.lineDiv;Je(y,"CodeMirror-crosshair");function b(x){(x.keyCode==18||!x.altKey)&&(Ge(y,"CodeMirror-crosshair"),Jt(document,"keyup",b),Jt(document,"mouseover",b))}jt(document,"keyup",b),jt(document,"mouseover",b)}function Os(a){a.keyCode==16&&(this.doc.sel.shift=!1),ct(this,a)}function Zs(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Ur(y.display,a)||ct(y,a)||a.ctrlKey&&!a.altKey||je&&a.metaKey)){var b=a.keyCode,x=a.charCode;if(oe&&b==Zl){Zl=null,Mn(a);return}if(!(oe&&(!a.which||a.which<10)&&Is(y,a))){var E=String.fromCharCode(x==null?b:x);E!="\b"&&(Lu(y,a,E)||y.display.input.onKeyPress(a))}}}var Tu=400,Wl=function(a,y,b){this.time=a,this.pos=y,this.button=b};Wl.prototype.compare=function(a,y,b){return this.time+Tu>a&&Sn(y,this.pos)==0&&b==this.button};var nl,rl;function Nu(a,y){var b=+new Date;return rl&&rl.compare(b,a,y)?(nl=rl=null,"triple"):nl&&nl.compare(b,a,y)?(rl=new Wl(b,a,y),nl=null,"double"):(nl=new Wl(b,a,y),rl=null,"single")}function Ws(a){var y=this,b=y.display;if(!(ct(y,a)||b.activeTouch&&b.input.supportsTouch())){if(b.input.ensurePolled(),b.shift=a.shiftKey,Ur(b,a)){Oe||(b.scroller.draggable=!1,setTimeout(function(){return b.scroller.draggable=!0},100));return}if(!Hl(y,a)){var x=Fa(y,a),E=cr(a),ae=x?Nu(x,E):"single";window.focus(),E==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Iu(y,E,x,ae,a))&&(E==1?x?Ou(y,x,ae,a):Qn(a)==b.scroller&&Mn(a):E==2?(x&&ul(y.doc,x),setTimeout(function(){return b.input.focus()},20)):E==3&&(be?y.display.input.onContextMenu(a):so(y)))}}}function Iu(a,y,b,x,E){var ae="Click";return x=="double"?ae="Double"+ae:x=="triple"&&(ae="Triple"+ae),ae=(y==1?"Left":y==2?"Middle":"Right")+ae,tl(a,Ps(ae,E),E,function(de){if(typeof de=="string"&&(de=el[de]),!de)return!1;var ve=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ve=de(a,b)!=Mt}finally{a.state.suppressEdits=!1}return ve})}function Ru(a,y,b){var x=a.getOption("configureMouse"),E=x?x(a,y,b):{};if(E.unit==null){var ae=st?b.shiftKey&&b.metaKey:b.altKey;E.unit=ae?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(E.extend==null||a.doc.extend)&&(E.extend=a.doc.extend||b.shiftKey),E.addNew==null&&(E.addNew=je?b.metaKey:b.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(je?b.altKey:b.ctrlKey)),E}function Ou(a,y,b,x){Ee?setTimeout(mt(po,a),0):a.curOp.focus=Re();var E=Ru(a,b,x),ae=a.doc.sel,de;a.options.dragDrop&&Br&&!a.isReadOnly()&&b=="single"&&(de=ae.contains(y))>-1&&(Sn((de=ae.ranges[de]).from(),y)<0||y.xRel>0)&&(Sn(de.to(),y)>0||y.xRel<0)?Zu(a,x,y,E):Wu(a,x,y,E)}function Zu(a,y,b,x){var E=a.display,ae=!1,de=_r(a,function(we){Oe&&(E.scroller.draggable=!1),a.state.draggingText=!1,Jt(E.wrapper.ownerDocument,"mouseup",de),Jt(E.wrapper.ownerDocument,"mousemove",ve),Jt(E.scroller,"dragstart",pe),Jt(E.scroller,"drop",de),ae||(Mn(we),x.addNew||ul(a.doc,b,null,null,x.extend),Oe&&!nt||Ee&&fe==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),ve=function(we){ae=ae||Math.abs(y.clientX-we.clientX)+Math.abs(y.clientY-we.clientY)>=10},pe=function(){return ae=!0};Oe&&(E.scroller.draggable=!0),a.state.draggingText=de,de.copy=!x.moveOnDrag,E.scroller.dragDrop&&E.scroller.dragDrop(),jt(E.wrapper.ownerDocument,"mouseup",de),jt(E.wrapper.ownerDocument,"mousemove",ve),jt(E.scroller,"dragstart",pe),jt(E.scroller,"drop",de),so(a),setTimeout(function(){return E.input.focus()},20)}function Hs(a,y,b){if(b=="char")return new Ji(y,y);if(b=="word")return a.findWordAt(y);if(b=="line")return new Ji(Lt(y.line,0),Dn(a.doc,Lt(y.line+1,0)));var x=b(a,y);return new Ji(x.from,x.to)}function Wu(a,y,b,x){var E=a.display,ae=a.doc;Mn(y);var de,ve,pe=ae.sel,we=pe.ranges;if(x.addNew&&!x.extend?(ve=ae.sel.contains(b),ve>-1?de=we[ve]:de=new Ji(b,b)):(de=ae.sel.primary(),ve=ae.sel.primIndex),x.unit=="rectangle")x.addNew||(de=new Ji(b,b)),b=Fa(a,y,!0,!0),ve=-1;else{var lt=Hs(a,b,x.unit);x.extend?de=Tl(de,lt.anchor,lt.head,x.extend):de=lt}x.addNew?ve==-1?(ve=we.length,Ba(ae,ro(a,we.concat([de]),ve),{scroll:!1,origin:"*mouse"})):we.length>1&&we[ve].empty()&&x.unit=="char"&&!x.extend?(Ba(ae,ro(a,we.slice(0,ve).concat(we.slice(ve+1)),0),{scroll:!1,origin:"*mouse"}),pe=ae.sel):Nl(ae,ve,de,Ct):(ve=0,Ba(ae,new Xa([de],0),Ct),pe=ae.sel);var pt=b;function an(kr){if(Sn(pt,kr)!=0)if(pt=kr,x.unit=="rectangle"){for(var Xr=[],oi=a.options.tabSize,$r=xe($t(ae,b.line).text,b.ch,oi),Ii=xe($t(ae,kr.line).text,kr.ch,oi),na=Math.min($r,Ii),Aa=Math.max($r,Ii),fa=Math.min(b.line,kr.line),Ka=Math.min(a.lastLine(),Math.max(b.line,kr.line));fa<=Ka;fa++){var Oa=$t(ae,fa).text,ga=Ht(Oa,na,oi);na==Aa?Xr.push(new Ji(Lt(fa,ga),Lt(fa,ga))):Oa.length>ga&&Xr.push(new Ji(Lt(fa,ga),Lt(fa,Ht(Oa,Aa,oi))))}Xr.length||Xr.push(new Ji(b,b)),Ba(ae,ro(a,pe.ranges.slice(0,ve).concat(Xr),ve),{origin:"*mouse",scroll:!1}),a.scrollIntoView(kr)}else{var Za=de,Da=Hs(a,kr,x.unit),ba=Za.anchor,ya;Sn(Da.anchor,ba)>0?(ya=Da.head,ba=Kt(Za.from(),Da.anchor)):(ya=Da.anchor,ba=ir(Za.to(),Da.head));var pa=pe.ranges.slice(0);pa[ve]=Hu(a,new Ji(Dn(ae,ba),ya)),Ba(ae,ro(a,pa,ve),Ct)}}var Xt=E.wrapper.getBoundingClientRect(),Pn=0;function Un(kr){var Xr=++Pn,oi=Fa(a,kr,!0,x.unit=="rectangle");if(oi)if(Sn(oi,pt)!=0){a.curOp.focus=Re(),an(oi);var $r=Ea(E,ae);(oi.line>=$r.to||oi.line<$r.from)&&setTimeout(_r(a,function(){Pn==Xr&&Un(kr)}),150)}else{var Ii=kr.clientY<Xt.top?-20:kr.clientY>Xt.bottom?20:0;Ii&&setTimeout(_r(a,function(){Pn==Xr&&(E.scroller.scrollTop+=Ii,Un(kr))}),50)}}function ur(kr){a.state.selectingText=!1,Pn=1/0,kr&&(Mn(kr),E.input.focus()),Jt(E.wrapper.ownerDocument,"mousemove",Sr),Jt(E.wrapper.ownerDocument,"mouseup",zr),ae.history.lastSelOrigin=null}var Sr=_r(a,function(kr){kr.buttons===0||!cr(kr)?ur(kr):Un(kr)}),zr=_r(a,ur);a.state.selectingText=zr,jt(E.wrapper.ownerDocument,"mousemove",Sr),jt(E.wrapper.ownerDocument,"mouseup",zr)}function Hu(a,y){var b=y.anchor,x=y.head,E=$t(a.doc,b.line);if(Sn(b,x)==0&&b.sticky==x.sticky)return y;var ae=zt(E);if(!ae)return y;var de=ot(ae,b.ch,b.sticky),ve=ae[de];if(ve.from!=b.ch&&ve.to!=b.ch)return y;var pe=de+(ve.from==b.ch==(ve.level!=1)?0:1);if(pe==0||pe==ae.length)return y;var we;if(x.line!=b.line)we=(x.line-b.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var lt=ot(ae,x.ch,x.sticky),pt=lt-de||(x.ch-b.ch)*(ve.level==1?-1:1);lt==pe-1||lt==pe?we=pt<0:we=pt>0}var an=ae[pe+(we?-1:0)],Xt=we==(an.level==1),Pn=Xt?an.from:an.to,Un=Xt?"after":"before";return b.ch==Pn&&b.sticky==Un?y:new Ji(new Lt(b.line,Pn,Un),x)}function zs(a,y,b,x){var E,ae;if(y.touches)E=y.touches[0].clientX,ae=y.touches[0].clientY;else try{E=y.clientX,ae=y.clientY}catch(an){return!1}if(E>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Mn(y);var de=a.display,ve=de.lineDiv.getBoundingClientRect();if(ae>ve.bottom||!_t(a,b))return yn(y);ae-=ve.top-de.viewOffset;for(var pe=0;pe<a.display.gutterSpecs.length;++pe){var we=de.gutters.childNodes[pe];if(we&&we.getBoundingClientRect().right>=E){var lt=xt(a.doc,ae),pt=a.display.gutterSpecs[pe];return Pt(a,b,a,lt,pt.className,y),yn(y)}}}function Hl(a,y){return zs(a,y,"gutterClick",!0)}function Ks(a,y){Ur(a.display,y)||zu(a,y)||ct(a,y,"contextmenu")||be||a.display.input.onContextMenu(y)}function zu(a,y){return _t(a,"gutterContextMenu")?zs(a,y,"gutterContextMenu",!1):!1}function Vs(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ra(a)}var Ho={toString:function(){return"CodeMirror.Init"}},Us={},ml={};function Ku(a){var y=a.optionHandlers;function b(x,E,ae,de){a.defaults[x]=E,ae&&(y[x]=de?function(ve,pe,we){we!=Ho&&ae(ve,pe,we)}:ae)}a.defineOption=b,a.Init=Ho,b("value","",function(x,E){return x.setValue(E)},!0),b("mode",null,function(x,E){x.doc.modeOption=E,Pl(x)},!0),b("indentUnit",2,Pl,!0),b("indentWithTabs",!1),b("smartIndent",!0),b("tabSize",4,function(x){jo(x),ra(x),ua(x)},!0),b("lineSeparator",null,function(x,E){if(x.doc.lineSep=E,!!E){var ae=[],de=x.doc.first;x.doc.iter(function(pe){for(var we=0;;){var lt=pe.text.indexOf(E,we);if(lt==-1)break;we=lt+E.length,ae.push(Lt(de,lt))}de++});for(var ve=ae.length-1;ve>=0;ve--)Ro(x.doc,E,ae[ve],Lt(ae[ve].line,ae[ve].ch+E.length))}}),b("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,E,ae){x.state.specialChars=new RegExp(E.source+(E.test(" ")?"":"| "),"g"),ae!=Ho&&x.refresh()}),b("specialCharPlaceholder",ln,function(x){return x.refresh()},!0),b("electricChars",!0),b("inputStyle",He?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),b("spellcheck",!1,function(x,E){return x.getInputField().spellcheck=E},!0),b("autocorrect",!1,function(x,E){return x.getInputField().autocorrect=E},!0),b("autocapitalize",!1,function(x,E){return x.getInputField().autocapitalize=E},!0),b("rtlMoveVisually",!at),b("wholeLineUpdateBefore",!0),b("theme","default",function(x){Vs(x),Uo(x)},!0),b("keyMap","default",function(x,E,ae){var de=vl(E),ve=ae!=Ho&&vl(ae);ve&&ve.detach&&ve.detach(x,de),de.attach&&de.attach(x,ve||null)}),b("extraKeys",null),b("configureMouse",null),b("lineWrapping",!1,Uu,!0),b("gutters",[],function(x,E){x.display.gutterSpecs=Fl(E,x.options.lineNumbers),Uo(x)},!0),b("fixedGutter",!0,function(x,E){x.display.gutters.style.left=E?La(x.display)+"px":"0",x.refresh()},!0),b("coverGutterNextToScrollbar",!1,function(x){return ha(x)},!0),b("scrollbarStyle","native",function(x){za(x),ha(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),b("lineNumbers",!1,function(x,E){x.display.gutterSpecs=Fl(x.options.gutters,E),Uo(x)},!0),b("firstLineNumber",1,Uo,!0),b("lineNumberFormatter",function(x){return x},Uo,!0),b("showCursorWhenSelecting",!1,Va,!0),b("resetSelectionOnContextMenu",!0),b("lineWiseCopyCut",!0),b("pasteLinesPerSelection",!0),b("selectionsMayTouch",!1),b("readOnly",!1,function(x,E){E=="nocursor"&&(Ha(x),x.display.input.blur()),x.display.input.readOnlyChanged(E)}),b("screenReaderLabel",null,function(x,E){E=E===""?null:E,x.display.input.screenReaderLabelChanged(E)}),b("disableInput",!1,function(x,E){E||x.display.input.reset()},!0),b("dragDrop",!0,Vu),b("allowDropFileTypes",null),b("cursorBlinkRate",530),b("cursorScrollMargin",0),b("cursorHeight",1,Va,!0),b("singleCursorHeightPerLine",!0,Va,!0),b("workTime",100),b("workDelay",100),b("flattenSpans",!0,jo,!0),b("addModeClass",!1,jo,!0),b("pollInterval",100),b("undoDepth",200,function(x,E){return x.doc.history.undoDepth=E}),b("historyEventDelay",1250),b("viewportMargin",10,function(x){return x.refresh()},!0),b("maxHighlightLength",1e4,jo,!0),b("moveInputWithCursor",!0,function(x,E){E||x.display.input.resetPosition()}),b("tabindex",null,function(x,E){return x.display.input.getField().tabIndex=E||""}),b("autofocus",null),b("direction","ltr",function(x,E){return x.doc.setDirection(E)},!0),b("phrases",null)}function Vu(a,y,b){var x=b&&b!=Ho;if(!y!=!x){var E=a.display.dragFunctions,ae=y?jt:Jt;ae(a.display.scroller,"dragstart",E.start),ae(a.display.scroller,"dragenter",E.enter),ae(a.display.scroller,"dragover",E.over),ae(a.display.scroller,"dragleave",E.leave),ae(a.display.scroller,"drop",E.drop)}}function Uu(a){a.options.lineWrapping?(Je(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ge(a.display.wrapper,"CodeMirror-wrap"),ut(a)),Na(a),ua(a),ra(a),setTimeout(function(){return ha(a)},100)}function ca(a,y){var b=this;if(!(this instanceof ca))return new ca(a,y);this.options=y=y?St(y):{},St(Us,y,!1);var x=y.value;typeof x=="string"?x=new Ra(x,y.mode,null,y.lineSeparator,y.direction):y.mode&&(x.modeOption=y.mode),this.doc=x;var E=new ca.inputStyles[y.inputStyle](this),ae=this.display=new ru(a,x,E,y);ae.wrapper.CodeMirror=this,Vs(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),za(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&&!He&&ae.input.focus(),Ee&&fe<11&&setTimeout(function(){return b.display.input.reset(!0)},20),ju(this),wu(),qr(this),this.curOp.forceUpdate=!0,ns(this,x),y.autofocus&&!He||this.hasFocus()?setTimeout(function(){b.hasFocus()&&!b.state.focused&&mo(b)},20):Ha(this);for(var de in ml)ml.hasOwnProperty(de)&&ml[de](this,y[de],Ho);Ql(this),y.finishInit&&y.finishInit(this);for(var ve=0;ve<zl.length;++ve)zl[ve](this);sa(this),Oe&&y.lineWrapping&&getComputedStyle(ae.lineDiv).textRendering=="optimizelegibility"&&(ae.lineDiv.style.textRendering="auto")}ca.defaults=Us,ca.optionHandlers=ml;function ju(a){var y=a.display;jt(y.scroller,"mousedown",_r(a,Ws)),Ee&&fe<11?jt(y.scroller,"dblclick",_r(a,function(pe){if(!ct(a,pe)){var we=Fa(a,pe);if(!(!we||Hl(a,pe)||Ur(a.display,pe))){Mn(pe);var lt=a.findWordAt(we);ul(a.doc,lt.anchor,lt.head)}}})):jt(y.scroller,"dblclick",function(pe){return ct(a,pe)||Mn(pe)}),jt(y.scroller,"contextmenu",function(pe){return Ks(a,pe)}),jt(y.input.getField(),"contextmenu",function(pe){y.scroller.contains(pe.target)||Ks(a,pe)});var b,x={end:0};function E(){y.activeTouch&&(b=setTimeout(function(){return y.activeTouch=null},1e3),x=y.activeTouch,x.end=+new Date)}function ae(pe){if(pe.touches.length!=1)return!1;var we=pe.touches[0];return we.radiusX<=1&&we.radiusY<=1}function de(pe,we){if(we.left==null)return!0;var lt=we.left-pe.left,pt=we.top-pe.top;return lt*lt+pt*pt>20*20}jt(y.scroller,"touchstart",function(pe){if(!ct(a,pe)&&!ae(pe)&&!Hl(a,pe)){y.input.ensurePolled(),clearTimeout(b);var we=+new Date;y.activeTouch={start:we,moved:!1,prev:we-x.end<=300?x:null},pe.touches.length==1&&(y.activeTouch.left=pe.touches[0].pageX,y.activeTouch.top=pe.touches[0].pageY)}}),jt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),jt(y.scroller,"touchend",function(pe){var we=y.activeTouch;if(we&&!Ur(y,pe)&&we.left!=null&&!we.moved&&new Date-we.start<300){var lt=a.coordsChar(y.activeTouch,"page"),pt;!we.prev||de(we,we.prev)?pt=new Ji(lt,lt):!we.prev.prev||de(we,we.prev.prev)?pt=a.findWordAt(lt):pt=new Ji(Lt(lt.line,0),Dn(a.doc,Lt(lt.line+1,0))),a.setSelection(pt.anchor,pt.head),a.focus(),Mn(pe)}E()}),jt(y.scroller,"touchcancel",E),jt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Ua(a,y.scroller.scrollTop),ja(a,y.scroller.scrollLeft,!0),Pt(a,"scroll",a))}),jt(y.scroller,"mousewheel",function(pe){return ql(a,pe)}),jt(y.scroller,"DOMMouseScroll",function(pe){return ql(a,pe)}),jt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(pe){ct(a,pe)||Xn(pe)},over:function(pe){ct(a,pe)||(bu(a,pe),Xn(pe))},start:function(pe){return xu(a,pe)},drop:_r(a,Cu),leave:function(pe){ct(a,pe)||ks(a)}};var ve=y.input.getField();jt(ve,"keyup",function(pe){return Os.call(a,pe)}),jt(ve,"keydown",_r(a,Rs)),jt(ve,"keypress",_r(a,Zs)),jt(ve,"focus",function(pe){return mo(a,pe)}),jt(ve,"blur",function(pe){return Ha(a,pe)})}var zl=[];ca.defineInitHook=function(a){return zl.push(a)};function il(a,y,b,x){var E=a.doc,ae;b==null&&(b="add"),b=="smart"&&(E.mode.indent?ae=li(a,y).state:b="prev");var de=a.options.tabSize,ve=$t(E,y),pe=xe(ve.text,null,de);ve.stateAfter&&(ve.stateAfter=null);var we=ve.text.match(/^\s*/)[0],lt;if(!x&&!/\S/.test(ve.text))lt=0,b="not";else if(b=="smart"&&(lt=E.mode.indent(ae,ve.text.slice(we.length),ve.text),lt==Mt||lt>150)){if(!x)return;b="prev"}b=="prev"?y>E.first?lt=xe($t(E,y-1).text,null,de):lt=0:b=="add"?lt=pe+a.options.indentUnit:b=="subtract"?lt=pe-a.options.indentUnit:typeof b=="number"&&(lt=pe+b),lt=Math.max(0,lt);var pt="",an=0;if(a.options.indentWithTabs)for(var Xt=Math.floor(lt/de);Xt;--Xt)an+=de,pt+=" ";if(an<lt&&(pt+=yt(lt-an)),pt!=we)return Ro(E,pt,Lt(y,0),Lt(y,we.length),"+input"),ve.stateAfter=null,!0;for(var Pn=0;Pn<E.sel.ranges.length;Pn++){var Un=E.sel.ranges[Pn];if(Un.head.line==y&&Un.head.ch<we.length){var ur=Lt(y,we.length);Nl(E,Pn,new Ji(ur,ur));break}}}var io=null;function gl(a){io=a}function Kl(a,y,b,x,E){var ae=a.doc;a.display.shift=!1,x||(x=ae.sel);var de=+new Date-200,ve=E=="paste"||a.state.pasteIncoming>de,pe=Ir(y),we=null;if(ve&&x.ranges.length>1)if(io&&io.text.join(`
|
|
`)==y){if(x.ranges.length%io.text.length==0){we=[];for(var lt=0;lt<io.text.length;lt++)we.push(ae.splitLines(io.text[lt]))}}else pe.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(we=Bt(pe,function(Sr){return[Sr]}));for(var pt=a.curOp.updateInput,an=x.ranges.length-1;an>=0;an--){var Xt=x.ranges[an],Pn=Xt.from(),Un=Xt.to();Xt.empty()&&(b&&b>0?Pn=Lt(Pn.line,Pn.ch-b):a.state.overwrite&&!ve?Un=Lt(Un.line,Math.min($t(ae,Un.line).text.length,Un.ch+Qe(pe).length)):ve&&io&&io.lineWise&&io.text.join(`
|
|
`)==pe.join(`
|
|
`)&&(Pn=Un=Lt(Pn.line,0)));var ur={from:Pn,to:Un,text:we?we[an%we.length]:pe,origin:E||(ve?"paste":a.state.cutIncoming>de?"cut":"+input")};Io(a.doc,ur),hr(a,"inputRead",a,ur)}y&&!ve&&Ys(a,y),Ia(a),a.curOp.updateInput<2&&(a.curOp.updateInput=pt),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function js(a,y){var b=a.clipboardData&&a.clipboardData.getData("Text");if(b)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&gi(y,function(){return Kl(y,b,0,null,"paste")}),!0}function Ys(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var b=a.doc.sel,x=b.ranges.length-1;x>=0;x--){var E=b.ranges[x];if(!(E.head.ch>100||x&&b.ranges[x-1].head.line==E.head.line)){var ae=a.getModeAt(E.head),de=!1;if(ae.electricChars){for(var ve=0;ve<ae.electricChars.length;ve++)if(y.indexOf(ae.electricChars.charAt(ve))>-1){de=il(a,E.head.line,"smart");break}}else ae.electricInput&&ae.electricInput.test($t(a.doc,E.head.line).text.slice(0,E.head.ch))&&(de=il(a,E.head.line,"smart"));de&&hr(a,"electricInput",a,E.head.line)}}}function Gs(a){for(var y=[],b=[],x=0;x<a.doc.sel.ranges.length;x++){var E=a.doc.sel.ranges[x].head.line,ae={anchor:Lt(E,0),head:Lt(E+1,0)};b.push(ae),y.push(a.getRange(ae.anchor,ae.head))}return{text:y,ranges:b}}function Xs(a,y,b,x){a.setAttribute("autocorrect",b?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!y)}function Qs(){var a=Ae("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ae("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Oe?a.style.width="1000px":a.setAttribute("wrap","off"),Ie&&(a.style.border="1px solid black"),Xs(a),y}function Yu(a){var y=a.optionHandlers,b=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,E){var ae=this.options,de=ae[x];ae[x]==E&&x!="mode"||(ae[x]=E,y.hasOwnProperty(x)&&_r(this,y[x])(this,E,de),Pt(this,"optionChange",this,x))},getOption:function(x){return this.options[x]},getDoc:function(){return this.doc},addKeyMap:function(x,E){this.state.keyMaps[E?"push":"unshift"](vl(x))},removeKeyMap:function(x){for(var E=this.state.keyMaps,ae=0;ae<E.length;++ae)if(E[ae]==x||E[ae].name==x)return E.splice(ae,1),!0},addOverlay:ai(function(x,E){var ae=x.token?x:a.getMode(this.options,x);if(ae.startState)throw new Error("Overlays may not be stateful.");bt(this.state.overlays,{mode:ae,modeSpec:x,opaque:E&&E.opaque,priority:E&&E.priority||0},function(de){return de.priority}),this.state.modeGen++,ua(this)}),removeOverlay:ai(function(x){for(var E=this.state.overlays,ae=0;ae<E.length;++ae){var de=E[ae].modeSpec;if(de==x||typeof x=="string"&&de.name==x){E.splice(ae,1),this.state.modeGen++,ua(this);return}}}),indentLine:ai(function(x,E,ae){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Rn(this.doc,x)&&il(this,x,E,ae)}),indentSelection:ai(function(x){for(var E=this.doc.sel.ranges,ae=-1,de=0;de<E.length;de++){var ve=E[de];if(ve.empty())ve.head.line>ae&&(il(this,ve.head.line,x,!0),ae=ve.head.line,de==this.doc.sel.primIndex&&Ia(this));else{var pe=ve.from(),we=ve.to(),lt=Math.max(ae,pe.line);ae=Math.min(this.lastLine(),we.line-(we.ch?0:1))+1;for(var pt=lt;pt<ae;++pt)il(this,pt,x);var an=this.doc.sel.ranges;pe.ch==0&&E.length==an.length&&an[de].from().ch>0&&Nl(this.doc,de,new Ji(pe,an[de].to()),Xe)}}}),getTokenAt:function(x,E){return Mi(this,x,E)},getLineTokens:function(x,E){return Mi(this,Lt(x),E,!0)},getTokenTypeAt:function(x){x=Dn(this.doc,x);var E=Vr(this,$t(this.doc,x.line)),ae=0,de=(E.length-1)/2,ve=x.ch,pe;if(ve==0)pe=E[2];else for(;;){var we=ae+de>>1;if((we?E[we*2-1]:0)>=ve)de=we;else if(E[we*2+1]<ve)ae=we+1;else{pe=E[we*2+2];break}}var lt=pe?pe.indexOf("overlay "):-1;return lt<0?pe:lt==0?null:pe.slice(0,lt-1)},getModeAt:function(x){var E=this.doc.mode;return E.innerMode?a.innerMode(E,this.getTokenAt(x).state).mode:E},getHelper:function(x,E){return this.getHelpers(x,E)[0]},getHelpers:function(x,E){var ae=[];if(!b.hasOwnProperty(E))return ae;var de=b[E],ve=this.getModeAt(x);if(typeof ve[E]=="string")de[ve[E]]&&ae.push(de[ve[E]]);else if(ve[E])for(var pe=0;pe<ve[E].length;pe++){var we=de[ve[E][pe]];we&&ae.push(we)}else ve.helperType&&de[ve.helperType]?ae.push(de[ve.helperType]):de[ve.name]&&ae.push(de[ve.name]);for(var lt=0;lt<de._global.length;lt++){var pt=de._global[lt];pt.pred(ve,this)&&qe(ae,pt.val)==-1&&ae.push(pt.val)}return ae},getStateAfter:function(x,E){var ae=this.doc;return x=er(ae,x==null?ae.first+ae.size-1:x),li(this,x+1,E).state},cursorCoords:function(x,E){var ae,de=this.doc.sel.primary();return x==null?ae=de.head:typeof x=="object"?ae=Dn(this.doc,x):ae=x?de.from():de.to(),Fr(this,ae,E||"page")},charCoords:function(x,E){return $i(this,Dn(this.doc,x),E||"page")},coordsChar:function(x,E){return x=ri(this,x,E||"page"),lr(this,x.left,x.top)},lineAtHeight:function(x,E){return x=ri(this,{top:x,left:0},E||"page").top,xt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,E,ae){var de=!1,ve;if(typeof x=="number"){var pe=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>pe&&(x=pe,de=!0),ve=$t(this.doc,x)}else ve=x;return qi(this,ve,{top:0,left:0},E||"page",ae||de).top+(de?this.doc.height-Le(ve):0)},defaultTextHeight:function(){return Qi(this.display)},defaultCharWidth:function(){return la(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,E,ae,de,ve){var pe=this.display;x=Fr(this,Dn(this.doc,x));var we=x.bottom,lt=x.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),pe.sizer.appendChild(E),de=="over")we=x.top;else if(de=="above"||de=="near"){var pt=Math.max(pe.wrapper.clientHeight,this.doc.height),an=Math.max(pe.sizer.clientWidth,pe.lineSpace.clientWidth);(de=="above"||x.bottom+E.offsetHeight>pt)&&x.top>E.offsetHeight?we=x.top-E.offsetHeight:x.bottom+E.offsetHeight<=pt&&(we=x.bottom),lt+E.offsetWidth>an&&(lt=an-E.offsetWidth)}E.style.top=we+"px",E.style.left=E.style.right="",ve=="right"?(lt=pe.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(ve=="left"?lt=0:ve=="middle"&&(lt=(pe.sizer.clientWidth-E.offsetWidth)/2),E.style.left=lt+"px"),ae&&co(this,{left:lt,top:we,right:lt+E.offsetWidth,bottom:we+E.offsetHeight})},triggerOnKeyDown:ai(Rs),triggerOnKeyPress:ai(Zs),triggerOnKeyUp:Os,triggerOnMouseDown:ai(Ws),execCommand:function(x){if(el.hasOwnProperty(x))return el[x].call(null,this)},triggerElectric:ai(function(x){Ys(this,x)}),findPosH:function(x,E,ae,de){var ve=1;E<0&&(ve=-1,E=-E);for(var pe=Dn(this.doc,x),we=0;we<E&&(pe=Vl(this.doc,pe,ve,ae,de),!pe.hitSide);++we);return pe},moveH:ai(function(x,E){var ae=this;this.extendSelectionsBy(function(de){return ae.display.shift||ae.doc.extend||de.empty()?Vl(ae.doc,de.head,x,E,ae.options.rtlMoveVisually):x<0?de.from():de.to()},tt)}),deleteH:ai(function(x,E){var ae=this.doc.sel,de=this.doc;ae.somethingSelected()?de.replaceSelection("",null,"+delete"):Wo(this,function(ve){var pe=Vl(de,ve.head,x,E,!1);return x<0?{from:pe,to:ve.head}:{from:ve.head,to:pe}})}),findPosV:function(x,E,ae,de){var ve=1,pe=de;E<0&&(ve=-1,E=-E);for(var we=Dn(this.doc,x),lt=0;lt<E;++lt){var pt=Fr(this,we,"div");if(pe==null?pe=pt.left:pt.left=pe,we=Js(this,pt,ve,ae),we.hitSide)break}return we},moveV:ai(function(x,E){var ae=this,de=this.doc,ve=[],pe=!this.display.shift&&!de.extend&&de.sel.somethingSelected();if(de.extendSelectionsBy(function(lt){if(pe)return x<0?lt.from():lt.to();var pt=Fr(ae,lt.head,"div");lt.goalColumn!=null&&(pt.left=lt.goalColumn),ve.push(pt.left);var an=Js(ae,pt,x,E);return E=="page"&<==de.sel.primary()&&fo(ae,$i(ae,an,"div").top-pt.top),an},tt),ve.length)for(var we=0;we<de.sel.ranges.length;we++)de.sel.ranges[we].goalColumn=ve[we]}),findWordAt:function(x){var E=this.doc,ae=$t(E,x.line).text,de=x.ch,ve=x.ch;if(ae){var pe=this.getHelper(x,"wordChars");(x.sticky=="before"||ve==ae.length)&&de?--de:++ve;for(var we=ae.charAt(de),lt=ne(we,pe)?function(pt){return ne(pt,pe)}:/\s/.test(we)?function(pt){return/\s/.test(pt)}:function(pt){return!/\s/.test(pt)&&!ne(pt)};de>0&<(ae.charAt(de-1));)--de;for(;ve<ae.length&<(ae.charAt(ve));)++ve}return new Ji(Lt(x.line,de),Lt(x.line,ve))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Je(this.display.cursorDiv,"CodeMirror-overwrite"):Ge(this.display.cursorDiv,"CodeMirror-overwrite"),Pt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Re()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ai(function(x,E){no(this,x,E)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-Kr(this)-this.display.barHeight,width:x.scrollWidth-Kr(this)-this.display.barWidth,clientHeight:ti(this),clientWidth:ni(this)}},scrollIntoView:ai(function(x,E){x==null?(x={from:this.doc.sel.primary().head,to:null},E==null&&(E=this.options.cursorScrollMargin)):typeof x=="number"?x={from:Lt(x,0),to:null}:x.from==null&&(x={from:x,to:null}),x.to||(x.to=x.from),x.margin=E||0,x.from.line!=null?Eo(this,x):go(this,x.from,x.to,x.margin)}),setSize:ai(function(x,E){var ae=this,de=function(pe){return typeof pe=="number"||/^\d+$/.test(String(pe))?pe+"px":pe};x!=null&&(this.display.wrapper.style.width=de(x)),E!=null&&(this.display.wrapper.style.height=de(E)),this.options.lineWrapping&&bi(this);var ve=this.display.viewFrom;this.doc.iter(ve,this.display.viewTo,function(pe){if(pe.widgets){for(var we=0;we<pe.widgets.length;we++)if(pe.widgets[we].noHScroll){Ca(ae,ve,"widget");break}}++ve}),this.curOp.forceUpdate=!0,Pt(this,"refresh",this)}),operation:function(x){return gi(this,x)},startOperation:function(){return qr(this)},endOperation:function(){return sa(this)},refresh:ai(function(){var x=this.display.cachedTextHeight;ua(this),this.curOp.forceUpdate=!0,ra(this),no(this,this.doc.scrollLeft,this.doc.scrollTop),kl(this.display),(x==null||Math.abs(x-Qi(this.display))>.5||this.options.lineWrapping)&&Na(this),Pt(this,"refresh",this)}),swapDoc:ai(function(x){var E=this.doc;return E.cm=null,this.state.selectingText&&this.state.selectingText(),ns(this,x),ra(this),this.display.input.reset(),no(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,hr(this,"swapDoc",this,E),E}),phrase:function(x){var E=this.options.phrases;return E&&Object.prototype.hasOwnProperty.call(E,x)?E[x]:x},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}},gn(a),a.registerHelper=function(x,E,ae){b.hasOwnProperty(x)||(b[x]=a[x]={_global:[]}),b[x][E]=ae},a.registerGlobalHelper=function(x,E,ae,de){a.registerHelper(x,E,de),b[x]._global.push({pred:ae,val:de})}}function Vl(a,y,b,x,E){var ae=y,de=b,ve=$t(a,y.line),pe=E&&a.direction=="rtl"?-b:b;function we(){var zr=y.line+pe;return zr<a.first||zr>=a.first+a.size?!1:(y=new Lt(zr,y.ch,y.sticky),ve=$t(a,zr))}function lt(zr){var kr;if(x=="codepoint"){var Xr=ve.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(Xr)?kr=null:kr=new Lt(y.line,Math.max(0,Math.min(ve.text.length,y.ch+b*(Xr>=55296&&Xr<56320?2:1))),-b)}else E?kr=Du(a.cm,ve,y,b):kr=Rl(ve,y,b);if(kr==null)if(!zr&&we())y=Ol(E,a.cm,ve,y.line,pe);else return!1;else y=kr;return!0}if(x=="char"||x=="codepoint")lt();else if(x=="column")lt(!0);else if(x=="word"||x=="group")for(var pt=null,an=x=="group",Xt=a.cm&&a.cm.getHelper(y,"wordChars"),Pn=!0;!(b<0&&!lt(!Pn));Pn=!1){var Un=ve.text.charAt(y.ch)||`
|
|
`,ur=ne(Un,Xt)?"w":an&&Un==`
|
|
`?"n":!an||/\s/.test(Un)?null:"p";if(an&&!Pn&&!ur&&(ur="s"),pt&&pt!=ur){b<0&&(b=1,lt(),y.sticky="after");break}if(ur&&(pt=ur),b>0&&!lt(!Pn))break}var Sr=dl(a,y,ae,de,!0);return Zn(ae,Sr)&&(Sr.hitSide=!0),Sr}function Js(a,y,b,x){var E=a.doc,ae=y.left,de;if(x=="page"){var ve=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),pe=Math.max(ve-.5*Qi(a.display),3);de=(b>0?y.bottom:y.top)+b*pe}else x=="line"&&(de=b>0?y.bottom+3:y.top-3);for(var we;we=lr(a,ae,de),!!we.outside;){if(b<0?de<=0:de>=E.height){we.hitSide=!0;break}de+=b*5}return we}var ea=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};ea.prototype.init=function(a){var y=this,b=this,x=b.cm,E=b.div=a.lineDiv;Xs(E,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function ae(ve){for(var pe=ve.target;pe;pe=pe.parentNode){if(pe==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(pe.className))break}return!1}jt(E,"paste",function(ve){!ae(ve)||ct(x,ve)||js(ve,x)||fe<=11&&setTimeout(_r(x,function(){return y.updateFromDOM()}),20)}),jt(E,"compositionstart",function(ve){y.composing={data:ve.data,done:!1}}),jt(E,"compositionupdate",function(ve){y.composing||(y.composing={data:ve.data,done:!1})}),jt(E,"compositionend",function(ve){y.composing&&(ve.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),jt(E,"touchstart",function(){return b.forceCompositionEnd()}),jt(E,"input",function(){y.composing||y.readFromDOMSoon()});function de(ve){if(!(!ae(ve)||ct(x,ve))){if(x.somethingSelected())gl({lineWise:!1,text:x.getSelections()}),ve.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var pe=Gs(x);gl({lineWise:!0,text:pe.text}),ve.type=="cut"&&x.operation(function(){x.setSelections(pe.ranges,0,Xe),x.replaceSelection("",null,"cut")})}else return;if(ve.clipboardData){ve.clipboardData.clearData();var we=io.text.join(`
|
|
`);if(ve.clipboardData.setData("Text",we),ve.clipboardData.getData("Text")==we){ve.preventDefault();return}}var lt=Qs(),pt=lt.firstChild;x.display.lineSpace.insertBefore(lt,x.display.lineSpace.firstChild),pt.value=io.text.join(`
|
|
`);var an=document.activeElement;ht(pt),setTimeout(function(){x.display.lineSpace.removeChild(lt),an.focus(),an==E&&b.showPrimarySelection()},50)}}jt(E,"copy",de),jt(E,"cut",de)},ea.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},ea.prototype.prepareSelection=function(){var a=wo(this.cm,!1);return a.focus=document.activeElement==this.div,a},ea.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},ea.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ea.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,b=y.doc.sel.primary(),x=b.from(),E=b.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||E.line<y.display.viewFrom){a.removeAllRanges();return}var ae=yl(y,a.anchorNode,a.anchorOffset),de=yl(y,a.focusNode,a.focusOffset);if(!(ae&&!ae.bad&&de&&!de.bad&&Sn(Kt(ae,de),x)==0&&Sn(ir(ae,de),E)==0)){var ve=y.display.view,pe=x.line>=y.display.viewFrom&&_s(y,x)||{node:ve[0].measure.map[2],offset:0},we=E.line<y.display.viewTo&&_s(y,E);if(!we){var lt=ve[ve.length-1].measure,pt=lt.maps?lt.maps[lt.maps.length-1]:lt.map;we={node:pt[pt.length-1],offset:pt[pt.length-2]-pt[pt.length-3]}}if(!pe||!we){a.removeAllRanges();return}var an=a.rangeCount&&a.getRangeAt(0),Xt;try{Xt=Ze(pe.node,pe.offset,we.offset,we.node)}catch(Pn){}Xt&&(!re&&y.state.focused?(a.collapse(pe.node,pe.offset),Xt.collapsed||(a.removeAllRanges(),a.addRange(Xt))):(a.removeAllRanges(),a.addRange(Xt)),an&&a.anchorNode==null?a.addRange(an):re&&this.startGracePeriod()),this.rememberSelection()}},ea.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)},ea.prototype.showMultipleSelections=function(a){ge(this.cm.display.cursorDiv,a.cursors),ge(this.cm.display.selectionDiv,a.selection)},ea.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},ea.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return _e(this.div,y)},ea.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ea.prototype.blur=function(){this.div.blur()},ea.prototype.getField=function(){return this.div},ea.prototype.supportsTouch=function(){return!0},ea.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():gi(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)},ea.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},ea.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Ye&&Pe&&this.cm.display.gutterSpecs.length&&Gu(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var b=yl(y,a.anchorNode,a.anchorOffset),x=yl(y,a.focusNode,a.focusOffset);b&&x&&gi(y,function(){Ba(y.doc,Ao(b,x),Xe),(b.bad||x.bad)&&(y.curOp.selectionChanged=!0)})}}},ea.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,b=a.doc.sel.primary(),x=b.from(),E=b.to();if(x.ch==0&&x.line>a.firstLine()&&(x=Lt(x.line-1,$t(a.doc,x.line-1).length)),E.ch==$t(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=Lt(E.line+1,0)),x.line<y.viewFrom||E.line>y.viewTo-1)return!1;var ae,de,ve;x.line==y.viewFrom||(ae=ka(a,x.line))==0?(de=dt(y.view[0].line),ve=y.view[0].node):(de=dt(y.view[ae].line),ve=y.view[ae-1].node.nextSibling);var pe=ka(a,E.line),we,lt;if(pe==y.view.length-1?(we=y.viewTo-1,lt=y.lineDiv.lastChild):(we=dt(y.view[pe+1].line)-1,lt=y.view[pe+1].node.previousSibling),!ve)return!1;for(var pt=a.doc.splitLines(Xu(a,ve,lt,de,we)),an=$n(a.doc,Lt(de,0),Lt(we,$t(a.doc,we).text.length));pt.length>1&&an.length>1;)if(Qe(pt)==Qe(an))pt.pop(),an.pop(),we--;else if(pt[0]==an[0])pt.shift(),an.shift(),de++;else break;for(var Xt=0,Pn=0,Un=pt[0],ur=an[0],Sr=Math.min(Un.length,ur.length);Xt<Sr&&Un.charCodeAt(Xt)==ur.charCodeAt(Xt);)++Xt;for(var zr=Qe(pt),kr=Qe(an),Xr=Math.min(zr.length-(pt.length==1?Xt:0),kr.length-(an.length==1?Xt:0));Pn<Xr&&zr.charCodeAt(zr.length-Pn-1)==kr.charCodeAt(kr.length-Pn-1);)++Pn;if(pt.length==1&&an.length==1&&de==x.line)for(;Xt&&Xt>x.ch&&zr.charCodeAt(zr.length-Pn-1)==kr.charCodeAt(kr.length-Pn-1);)Xt--,Pn++;pt[pt.length-1]=zr.slice(0,zr.length-Pn).replace(/^\u200b+/,""),pt[0]=pt[0].slice(Xt).replace(/\u200b+$/,"");var oi=Lt(de,Xt),$r=Lt(we,an.length?Qe(an).length-Pn:0);if(pt.length>1||pt[0]||Sn(oi,$r))return Ro(a.doc,pt,oi,$r,"+input"),!0},ea.prototype.ensurePolled=function(){this.forceCompositionEnd()},ea.prototype.reset=function(){this.forceCompositionEnd()},ea.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ea.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))},ea.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&gi(this.cm,function(){return ua(a.cm)})},ea.prototype.setUneditable=function(a){a.contentEditable="false"},ea.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||_r(this.cm,Kl)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},ea.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},ea.prototype.onContextMenu=function(){},ea.prototype.resetPosition=function(){},ea.prototype.needsContentAttribute=!0;function _s(a,y){var b=zi(a,y.line);if(!b||b.hidden)return null;var x=$t(a.doc,y.line),E=Jr(b,x,y.line),ae=zt(x,a.doc.direction),de="left";if(ae){var ve=ot(ae,y.ch);de=ve%2?"right":"left"}var pe=ki(E.map,y.ch,de);return pe.offset=pe.collapse=="right"?pe.end:pe.start,pe}function Gu(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function zo(a,y){return y&&(a.bad=!0),a}function Xu(a,y,b,x,E){var ae="",de=!1,ve=a.doc.lineSeparator(),pe=!1;function we(Xt){return function(Pn){return Pn.id==Xt}}function lt(){de&&(ae+=ve,pe&&(ae+=ve),de=pe=!1)}function pt(Xt){Xt&&(lt(),ae+=Xt)}function an(Xt){if(Xt.nodeType==1){var Pn=Xt.getAttribute("cm-text");if(Pn){pt(Pn);return}var Un=Xt.getAttribute("cm-marker"),ur;if(Un){var Sr=a.findMarks(Lt(x,0),Lt(E+1,0),we(+Un));Sr.length&&(ur=Sr[0].find(0))&&pt($n(a.doc,ur.from,ur.to).join(ve));return}if(Xt.getAttribute("contenteditable")=="false")return;var zr=/^(pre|div|p|li|table|br)$/i.test(Xt.nodeName);if(!/^br$/i.test(Xt.nodeName)&&Xt.textContent.length==0)return;zr&<();for(var kr=0;kr<Xt.childNodes.length;kr++)an(Xt.childNodes[kr]);/^(pre|p)$/i.test(Xt.nodeName)&&(pe=!0),zr&&(de=!0)}else Xt.nodeType==3&&pt(Xt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;an(y),y!=b;)y=y.nextSibling,pe=!1;return ae}function yl(a,y,b){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[b],!x)return zo(a.clipPos(Lt(a.display.viewTo-1)),!0);y=null,b=0}else for(x=y;;x=x.parentNode){if(!x||x==a.display.lineDiv)return null;if(x.parentNode&&x.parentNode==a.display.lineDiv)break}for(var E=0;E<a.display.view.length;E++){var ae=a.display.view[E];if(ae.node==x)return Qu(ae,y,b)}}function Qu(a,y,b){var x=a.text.firstChild,E=!1;if(!y||!_e(x,y))return zo(Lt(dt(a.line),0),!0);if(y==x&&(E=!0,y=x.childNodes[b],b=0,!y)){var ae=a.rest?Qe(a.rest):a.line;return zo(Lt(dt(ae),ae.text.length),E)}var de=y.nodeType==3?y:null,ve=y;for(!de&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(de=y.firstChild,b&&(b=de.nodeValue.length));ve.parentNode!=x;)ve=ve.parentNode;var pe=a.measure,we=pe.maps;function lt(ur,Sr,zr){for(var kr=-1;kr<(we?we.length:0);kr++)for(var Xr=kr<0?pe.map:we[kr],oi=0;oi<Xr.length;oi+=3){var $r=Xr[oi+2];if($r==ur||$r==Sr){var Ii=dt(kr<0?a.line:a.rest[kr]),na=Xr[oi]+zr;return(zr<0||$r!=ur)&&(na=Xr[oi+(zr?1:0)]),Lt(Ii,na)}}}var pt=lt(de,ve,b);if(pt)return zo(pt,E);for(var an=ve.nextSibling,Xt=de?de.nodeValue.length-b:0;an;an=an.nextSibling){if(pt=lt(an,an.firstChild,0),pt)return zo(Lt(pt.line,pt.ch-Xt),E);Xt+=an.textContent.length}for(var Pn=ve.previousSibling,Un=b;Pn;Pn=Pn.previousSibling){if(pt=lt(Pn,Pn.firstChild,-1),pt)return zo(Lt(pt.line,pt.ch+Un),E);Un+=Pn.textContent.length}}var ma=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new he,this.hasSelection=!1,this.composing=null};ma.prototype.init=function(a){var y=this,b=this,x=this.cm;this.createField(a);var E=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Ie&&(E.style.width="0px"),jt(E,"input",function(){Ee&&fe>=9&&y.hasSelection&&(y.hasSelection=null),b.poll()}),jt(E,"paste",function(de){ct(x,de)||js(de,x)||(x.state.pasteIncoming=+new Date,b.fastPoll())});function ae(de){if(!ct(x,de)){if(x.somethingSelected())gl({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var ve=Gs(x);gl({lineWise:!0,text:ve.text}),de.type=="cut"?x.setSelections(ve.ranges,null,Xe):(b.prevInput="",E.value=ve.text.join(`
|
|
`),ht(E))}else return;de.type=="cut"&&(x.state.cutIncoming=+new Date)}}jt(E,"cut",ae),jt(E,"copy",ae),jt(a.scroller,"paste",function(de){if(!(Ur(a,de)||ct(x,de))){if(!E.dispatchEvent){x.state.pasteIncoming=+new Date,b.focus();return}var ve=new Event("paste");ve.clipboardData=de.clipboardData,E.dispatchEvent(ve)}}),jt(a.lineSpace,"selectstart",function(de){Ur(a,de)||Mn(de)}),jt(E,"compositionstart",function(){var de=x.getCursor("from");b.composing&&b.composing.range.clear(),b.composing={start:de,range:x.markText(de,x.getCursor("to"),{className:"CodeMirror-composing"})}}),jt(E,"compositionend",function(){b.composing&&(b.poll(),b.composing.range.clear(),b.composing=null)})},ma.prototype.createField=function(a){this.wrapper=Qs(),this.textarea=this.wrapper.firstChild},ma.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ma.prototype.prepareSelection=function(){var a=this.cm,y=a.display,b=a.doc,x=wo(a);if(a.options.moveInputWithCursor){var E=Fr(a,b.sel.primary().head,"div"),ae=y.wrapper.getBoundingClientRect(),de=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,E.top+de.top-ae.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,E.left+de.left-ae.left))}return x},ma.prototype.showSelection=function(a){var y=this.cm,b=y.display;ge(b.cursorDiv,a.cursors),ge(b.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ma.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var b=y.getSelection();this.textarea.value=b,y.state.focused&&ht(this.textarea),Ee&&fe>=9&&(this.hasSelection=b)}else a||(this.prevInput=this.textarea.value="",Ee&&fe>=9&&(this.hasSelection=null))}},ma.prototype.getField=function(){return this.textarea},ma.prototype.supportsTouch=function(){return!1},ma.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!He||Re()!=this.textarea))try{this.textarea.focus()}catch(a){}},ma.prototype.blur=function(){this.textarea.blur()},ma.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ma.prototype.receivedFocus=function(){this.slowPoll()},ma.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ma.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function b(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,b)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,b)},ma.prototype.poll=function(){var a=this,y=this.cm,b=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||Or(b)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var E=b.value;if(E==x&&!y.somethingSelected())return!1;if(Ee&&fe>=9&&this.hasSelection===E||je&&/[\uf700-\uf7ff]/.test(E))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ae=E.charCodeAt(0);if(ae==8203&&!x&&(x="\u200B"),ae==8666)return this.reset(),this.cm.execCommand("undo")}for(var de=0,ve=Math.min(x.length,E.length);de<ve&&x.charCodeAt(de)==E.charCodeAt(de);)++de;return gi(y,function(){Kl(y,E.slice(de),x.length-de,null,a.composing?"*compose":null),E.length>1e3||E.indexOf(`
|
|
`)>-1?b.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},ma.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ma.prototype.onKeyPress=function(){Ee&&fe>=9&&(this.hasSelection=null),this.fastPoll()},ma.prototype.onContextMenu=function(a){var y=this,b=y.cm,x=b.display,E=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ae=Fa(b,a),de=x.scroller.scrollTop;if(!ae||oe)return;var ve=b.options.resetSelectionOnContextMenu;ve&&b.doc.sel.contains(ae)==-1&&_r(b,Ba)(b.doc,Ao(ae),Xe);var pe=E.style.cssText,we=y.wrapper.style.cssText,lt=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
top: `+(a.clientY-lt.top-5)+"px; left: "+(a.clientX-lt.left-5)+`px;
|
|
z-index: 1000; background: `+(Ee?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var pt;Oe&&(pt=window.scrollY),x.input.focus(),Oe&&window.scrollTo(null,pt),x.input.reset(),b.somethingSelected()||(E.value=y.prevInput=" "),y.contextMenuPending=Xt,x.selForContextMenu=b.doc.sel,clearTimeout(x.detectingSelectAll);function an(){if(E.selectionStart!=null){var Un=b.somethingSelected(),ur="\u200B"+(Un?E.value:"");E.value="\u21DA",E.value=ur,y.prevInput=Un?"":"\u200B",E.selectionStart=1,E.selectionEnd=ur.length,x.selForContextMenu=b.doc.sel}}function Xt(){if(y.contextMenuPending==Xt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=we,E.style.cssText=pe,Ee&&fe<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=de),E.selectionStart!=null)){(!Ee||Ee&&fe<9)&&an();var Un=0,ur=function(){x.selForContextMenu==b.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?_r(b,ps)(b):Un++<10?x.detectingSelectAll=setTimeout(ur,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(ur,200)}}if(Ee&&fe>=9&&an(),be){Xn(a);var Pn=function(){Jt(window,"mouseup",Pn),setTimeout(Xt,20)};jt(window,"mouseup",Pn)}else setTimeout(Xt,50)},ma.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ma.prototype.setUneditable=function(){},ma.prototype.needsContentAttribute=!1;function Ju(a,y){if(y=y?St(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 b=Re();y.autofocus=b==a||a.getAttribute("autofocus")!=null&&b==document.body}function x(){a.value=ve.getValue()}var E;if(a.form&&(jt(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var ae=a.form;E=ae.submit;try{var de=ae.submit=function(){x(),ae.submit=E,ae.submit(),ae.submit=de}}catch(pe){}}y.finishInit=function(pe){pe.save=x,pe.getTextArea=function(){return a},pe.toTextArea=function(){pe.toTextArea=isNaN,x(),a.parentNode.removeChild(pe.getWrapperElement()),a.style.display="",a.form&&(Jt(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=E))}},a.style.display="none";var ve=ca(function(pe){return a.parentNode.insertBefore(pe,a.nextSibling)},y);return ve}function _u(a){a.off=Jt,a.on=jt,a.wheelEventPixels=iu,a.Doc=Ra,a.splitLines=Ir,a.countColumn=xe,a.findColumn=Ht,a.isWordChar=ee,a.Pass=Mt,a.signal=Pt,a.Line=wt,a.changeEnd=So,a.scrollbarModel=Ya,a.Pos=Lt,a.cmpPos=Sn,a.modes=Nt,a.mimeModes=kt,a.resolveMode=Yn,a.getMode=Hn,a.modeExtensions=rr,a.extendMode=fr,a.copyState=dr,a.startState=Tr,a.innerMode=Cr,a.commands=el,a.keyMap=Co,a.keyName=Ls,a.isModifierKey=Bs,a.lookupKey=Zo,a.normalizeKeyMap=ku,a.StringStream=Ln,a.SharedTextMarker=_o,a.TextMarker=Do,a.LineWidget=Jo,a.e_preventDefault=Mn,a.e_stopPropagation=jn,a.e_stop=Xn,a.addClass=Je,a.contains=_e,a.rmClass=Ge,a.keyNames=Fo}Ku(ca),Yu(ca);var qu="iter insert remove copy getEditor constructor".split(" ");for(var Cl in Ra.prototype)Ra.prototype.hasOwnProperty(Cl)&&qe(qu,Cl)<0&&(ca.prototype[Cl]=function(a){return function(){return a.apply(this.doc,arguments)}}(Ra.prototype[Cl]));return gn(Ra),ca.inputStyles={textarea:ma,contenteditable:ea},ca.defineMode=function(a){!ca.defaults.mode&&a!="null"&&(ca.defaults.mode=a),mn.apply(this,arguments)},ca.defineMIME=_n,ca.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),ca.defineMIME("text/plain","null"),ca.defineExtension=function(a,y){ca.prototype[a]=y},ca.defineDocExtension=function(a,y){Ra.prototype[a]=y},ca.fromTextArea=Ju,_u(ca),ca.version="5.58.2",ca})},25419:function(bn,cn,se){(function(re){re(se(89780),se(15525),se(98101))})(function(re){"use strict";re.defineMode("markdown",function(Ne,Te){var Fe=re.getMode(Ne,"text/html"),Ee=Fe.name=="null";function fe(xe){if(re.findModeByName){var he=re.findModeByName(xe);he&&(xe=he.mime||he.mimes[0])}var qe=re.getMode(Ne,xe);return qe.name=="null"?null:qe}Te.highlightFormatting===void 0&&(Te.highlightFormatting=!1),Te.maxBlockquoteDepth===void 0&&(Te.maxBlockquoteDepth=0),Te.taskLists===void 0&&(Te.taskLists=!1),Te.strikethrough===void 0&&(Te.strikethrough=!1),Te.emoji===void 0&&(Te.emoji=!1),Te.fencedCodeBlockHighlighting===void 0&&(Te.fencedCodeBlockHighlighting=!0),Te.fencedCodeBlockDefaultMode===void 0&&(Te.fencedCodeBlockDefaultMode="text/plain"),Te.xml===void 0&&(Te.xml=!0),Te.tokenTypeOverrides===void 0&&(Te.tokenTypeOverrides={});var Oe={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ce in Oe)Oe.hasOwnProperty(Ce)&&Te.tokenTypeOverrides[Ce]&&(Oe[Ce]=Te.tokenTypeOverrides[Ce]);var Pe=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,nt=/^\[(x| )\](?=\s)/i,ye=Te.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ke=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ie=/^[^#!\[\]*_\\<>` "'(~:]+/,Ye=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,He=/^\s*\[[^\]]+?\]:.*$/,je=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,st=" ";function at(xe,he,qe){return he.f=he.inline=qe,qe(xe,he)}function rt(xe,he,qe){return he.f=he.block=qe,qe(xe,he)}function ke(xe){return!xe||!/\S/.test(xe.string)}function be(xe){if(xe.linkTitle=!1,xe.linkHref=!1,xe.linkText=!1,xe.em=!1,xe.strong=!1,xe.strikethrough=!1,xe.quote=0,xe.indentedCode=!1,xe.f==Ge){var he=Ee;if(!he){var qe=re.innerMode(Fe,xe.htmlState);he=qe.mode.name=="xml"&&qe.state.tagStart===null&&!qe.state.context&&qe.state.tokenize.isInText}he&&(xe.f=ze,xe.block=Ve,xe.htmlState=null)}return xe.trailingSpace=0,xe.trailingSpaceNewLine=!1,xe.prevLine=xe.thisLine,xe.thisLine={stream:null},null}function Ve(xe,he){var qe=xe.column()===he.indentation,Tt=ke(he.prevLine.stream),Mt=he.indentedCode,Xe=he.prevLine.hr,Ct=he.list!==!1,tt=(he.listStack[he.listStack.length-1]||0)+3;he.indentedCode=!1;var Ht=he.indentation;if(he.indentationDiff===null&&(he.indentationDiff=he.indentation,Ct)){for(he.list=null;Ht<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=Ht-he.listStack[he.listStack.length-1])}var We=!Tt&&!Xe&&!he.prevLine.header&&(!Ct||!Mt)&&!he.prevLine.fencedCodeEnd,yt=(he.list===!1||Xe||Tt)&&he.indentation<=tt&&xe.match(Pe),Qe=null;if(he.indentationDiff>=4&&(Mt||he.prevLine.fencedCodeEnd||he.prevLine.header||Tt))return xe.skipToEnd(),he.indentedCode=!0,Oe.code;if(xe.eatSpace())return null;if(qe&&he.indentation<=tt&&(Qe=xe.match(ye))&&Qe[1].length<=6)return he.quote=0,he.header=Qe[1].length,he.thisLine.header=!0,Te.highlightFormatting&&(he.formatting="header"),he.f=he.inline,ge(he);if(he.indentation<=tt&&xe.eat(">"))return he.quote=qe?1:he.quote+1,Te.highlightFormatting&&(he.formatting="quote"),xe.eatSpace(),ge(he);if(!yt&&!he.setext&&qe&&he.indentation<=tt&&(Qe=xe.match(oe))){var Bt=Qe[1]?"ol":"ul";return he.indentation=Ht+xe.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,Te.taskLists&&xe.match(nt,!1)&&(he.taskList=!0),he.f=he.inline,Te.highlightFormatting&&(he.formatting=["list","list-"+Bt]),ge(he)}else{if(qe&&he.indentation<=tt&&(Qe=xe.match(Ye,!0)))return he.quote=0,he.fencedEndRE=new RegExp(Qe[1]+"+ *$"),he.localMode=Te.fencedCodeBlockHighlighting&&fe(Qe[2]||Te.fencedCodeBlockDefaultMode),he.localMode&&(he.localState=re.startState(he.localMode)),he.f=he.block=ft,Te.highlightFormatting&&(he.formatting="code-block"),he.code=-1,ge(he);if(he.setext||(!We||!Ct)&&!he.quote&&he.list===!1&&!he.code&&!yt&&!He.test(xe.string)&&(Qe=xe.lookAhead(1))&&(Qe=Qe.match(Ke)))return he.setext?(he.header=he.setext,he.setext=0,xe.skipToEnd(),Te.highlightFormatting&&(he.formatting="header")):(he.header=Qe[0].charAt(0)=="="?1:2,he.setext=he.header),he.thisLine.header=!0,he.f=he.inline,ge(he);if(yt)return xe.skipToEnd(),he.hr=!0,he.thisLine.hr=!0,Oe.hr;if(xe.peek()==="[")return at(xe,he,Rt)}return at(xe,he,he.inline)}function Ge(xe,he){var qe=Fe.token(xe,he.htmlState);if(!Ee){var Tt=re.innerMode(Fe,he.htmlState);(Tt.mode.name=="xml"&&Tt.state.tagStart===null&&!Tt.state.context&&Tt.state.tokenize.isInText||he.md_inside&&xe.current().indexOf(">")>-1)&&(he.f=ze,he.block=Ve,he.htmlState=null)}return qe}function ft(xe,he){var qe=he.listStack[he.listStack.length-1]||0,Tt=he.indentation<qe,Mt=qe+3;if(he.fencedEndRE&&he.indentation<=Mt&&(Tt||xe.match(he.fencedEndRE))){Te.highlightFormatting&&(he.formatting="code-block");var Xe;return Tt||(Xe=ge(he)),he.localMode=he.localState=null,he.block=Ve,he.f=ze,he.fencedEndRE=null,he.code=0,he.thisLine.fencedCodeEnd=!0,Tt?rt(xe,he,he.block):Xe}else return he.localMode?he.localMode.token(xe,he.localState):(xe.skipToEnd(),Oe.code)}function ge(xe){var he=[];if(xe.formatting){he.push(Oe.formatting),typeof xe.formatting=="string"&&(xe.formatting=[xe.formatting]);for(var qe=0;qe<xe.formatting.length;qe++)he.push(Oe.formatting+"-"+xe.formatting[qe]),xe.formatting[qe]==="header"&&he.push(Oe.formatting+"-"+xe.formatting[qe]+"-"+xe.header),xe.formatting[qe]==="quote"&&(!Te.maxBlockquoteDepth||Te.maxBlockquoteDepth>=xe.quote?he.push(Oe.formatting+"-"+xe.formatting[qe]+"-"+xe.quote):he.push("error"))}if(xe.taskOpen)return he.push("meta"),he.length?he.join(" "):null;if(xe.taskClosed)return he.push("property"),he.length?he.join(" "):null;if(xe.linkHref?he.push(Oe.linkHref,"url"):(xe.strong&&he.push(Oe.strong),xe.em&&he.push(Oe.em),xe.strikethrough&&he.push(Oe.strikethrough),xe.emoji&&he.push(Oe.emoji),xe.linkText&&he.push(Oe.linkText),xe.code&&he.push(Oe.code),xe.image&&he.push(Oe.image),xe.imageAltText&&he.push(Oe.imageAltText,"link"),xe.imageMarker&&he.push(Oe.imageMarker)),xe.header&&he.push(Oe.header,Oe.header+"-"+xe.header),xe.quote&&(he.push(Oe.quote),!Te.maxBlockquoteDepth||Te.maxBlockquoteDepth>=xe.quote?he.push(Oe.quote+"-"+xe.quote):he.push(Oe.quote+"-"+Te.maxBlockquoteDepth)),xe.list!==!1){var Tt=(xe.listStack.length-1)%3;Tt?Tt===1?he.push(Oe.list2):he.push(Oe.list3):he.push(Oe.list1)}return xe.trailingSpaceNewLine?he.push("trailing-space-new-line"):xe.trailingSpace&&he.push("trailing-space-"+(xe.trailingSpace%2?"a":"b")),he.length?he.join(" "):null}function Ae(xe,he){if(xe.match(Ie,!0))return ge(he)}function ze(xe,he){var qe=he.text(xe,he);if(typeof qe!="undefined")return qe;if(he.list)return he.list=null,ge(he);if(he.taskList){var Tt=xe.match(nt,!0)[1]===" ";return Tt?he.taskOpen=!0:he.taskClosed=!0,Te.highlightFormatting&&(he.formatting="task"),he.taskList=!1,ge(he)}if(he.taskOpen=!1,he.taskClosed=!1,he.header&&xe.match(/^#+$/,!0))return Te.highlightFormatting&&(he.formatting="header"),ge(he);var Mt=xe.next();if(he.linkTitle){he.linkTitle=!1;var Xe=Mt;Mt==="("&&(Xe=")"),Xe=(Xe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ct="^\\s*(?:[^"+Xe+"\\\\]+|\\\\\\\\|\\\\.)"+Xe;if(xe.match(new RegExp(Ct),!0))return Oe.linkHref}if(Mt==="`"){var tt=he.formatting;Te.highlightFormatting&&(he.formatting="code"),xe.eatWhile("`");var Ht=xe.current().length;if(he.code==0&&(!he.quote||Ht==1))return he.code=Ht,ge(he);if(Ht==he.code){var We=ge(he);return he.code=0,We}else return he.formatting=tt,ge(he)}else if(he.code)return ge(he);if(Mt==="\\"&&(xe.next(),Te.highlightFormatting)){var yt=ge(he),Qe=Oe.formatting+"-escape";return yt?yt+" "+Qe:Qe}if(Mt==="!"&&xe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return he.imageMarker=!0,he.image=!0,Te.highlightFormatting&&(he.formatting="image"),ge(he);if(Mt==="["&&he.imageMarker&&xe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return he.imageMarker=!1,he.imageAltText=!0,Te.highlightFormatting&&(he.formatting="image"),ge(he);if(Mt==="]"&&he.imageAltText){Te.highlightFormatting&&(he.formatting="image");var yt=ge(he);return he.imageAltText=!1,he.image=!1,he.inline=he.f=_e,yt}if(Mt==="["&&!he.image)return he.linkText&&xe.match(/^.*?\]/)||(he.linkText=!0,Te.highlightFormatting&&(he.formatting="link")),ge(he);if(Mt==="]"&&he.linkText){Te.highlightFormatting&&(he.formatting="link");var yt=ge(he);return he.linkText=!1,he.inline=he.f=xe.match(/\(.*?\)| ?\[.*?\]/,!1)?_e:ze,yt}if(Mt==="<"&&xe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=Ze,Te.highlightFormatting&&(he.formatting="link");var yt=ge(he);return yt?yt+=" ":yt="",yt+Oe.linkInline}if(Mt==="<"&&xe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=Ze,Te.highlightFormatting&&(he.formatting="link");var yt=ge(he);return yt?yt+=" ":yt="",yt+Oe.linkEmail}if(Te.xml&&Mt==="<"&&xe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Bt=xe.string.indexOf(">",xe.pos);if(Bt!=-1){var bt=xe.string.substring(xe.start,Bt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(bt)&&(he.md_inside=!0)}return xe.backUp(1),he.htmlState=re.startState(Fe),rt(xe,he,Ge)}if(Te.xml&&Mt==="<"&&xe.match(/^\/\w*?>/))return he.md_inside=!1,"tag";if(Mt==="*"||Mt==="_"){for(var ce=1,ie=xe.pos==1?" ":xe.string.charAt(xe.pos-2);ce<3&&xe.eat(Mt);)ce++;var z=xe.peek()||" ",ee=!/\s/.test(z)&&(!je.test(z)||/\s/.test(ie)||je.test(ie)),ne=!/\s/.test(ie)&&(!je.test(ie)||/\s/.test(z)||je.test(z)),te=null,ue=null;if(ce%2&&(!he.em&&ee&&(Mt==="*"||!ne||je.test(ie))?te=!0:he.em==Mt&&ne&&(Mt==="*"||!ee||je.test(z))&&(te=!1)),ce>1&&(!he.strong&&ee&&(Mt==="*"||!ne||je.test(ie))?ue=!0:he.strong==Mt&&ne&&(Mt==="*"||!ee||je.test(z))&&(ue=!1)),ue!=null||te!=null){Te.highlightFormatting&&(he.formatting=te==null?"strong":ue==null?"em":"strong em"),te===!0&&(he.em=Mt),ue===!0&&(he.strong=Mt);var We=ge(he);return te===!1&&(he.em=!1),ue===!1&&(he.strong=!1),We}}else if(Mt===" "&&(xe.eat("*")||xe.eat("_"))){if(xe.peek()===" ")return ge(he);xe.backUp(1)}if(Te.strikethrough){if(Mt==="~"&&xe.eatWhile(Mt)){if(he.strikethrough){Te.highlightFormatting&&(he.formatting="strikethrough");var We=ge(he);return he.strikethrough=!1,We}else if(xe.match(/^[^\s]/,!1))return he.strikethrough=!0,Te.highlightFormatting&&(he.formatting="strikethrough"),ge(he)}else if(Mt===" "&&xe.match(/^~~/,!0)){if(xe.peek()===" ")return ge(he);xe.backUp(2)}}if(Te.emoji&&Mt===":"&&xe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){he.emoji=!0,Te.highlightFormatting&&(he.formatting="emoji");var me=ge(he);return he.emoji=!1,me}return Mt===" "&&(xe.match(/^ +$/,!1)?he.trailingSpace++:he.trailingSpace&&(he.trailingSpaceNewLine=!0)),ge(he)}function Ze(xe,he){var qe=xe.next();if(qe===">"){he.f=he.inline=ze,Te.highlightFormatting&&(he.formatting="link");var Tt=ge(he);return Tt?Tt+=" ":Tt="",Tt+Oe.linkInline}return xe.match(/^[^>]+/,!0),Oe.linkInline}function _e(xe,he){if(xe.eatSpace())return null;var qe=xe.next();return qe==="("||qe==="["?(he.f=he.inline=Je(qe==="("?")":"]"),Te.highlightFormatting&&(he.formatting="link-string"),he.linkHref=!0,ge(he)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Je(xe){return function(he,qe){var Tt=he.next();if(Tt===xe){qe.f=qe.inline=ze,Te.highlightFormatting&&(qe.formatting="link-string");var Mt=ge(qe);return qe.linkHref=!1,Mt}return he.match(Re[xe]),qe.linkHref=!0,ge(qe)}}function Rt(xe,he){return xe.match(/^([^\]\\]|\\.)*\]:/,!1)?(he.f=ht,xe.next(),Te.highlightFormatting&&(he.formatting="link"),he.linkText=!0,ge(he)):at(xe,he,ze)}function ht(xe,he){if(xe.match(/^\]:/,!0)){he.f=he.inline=mt,Te.highlightFormatting&&(he.formatting="link");var qe=ge(he);return he.linkText=!1,qe}return xe.match(/^([^\]\\]|\\.)+/,!0),Oe.linkText}function mt(xe,he){return xe.eatSpace()?null:(xe.match(/^[^\s]+/,!0),xe.peek()===void 0?he.linkTitle=!0:xe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),he.f=he.inline=ze,Oe.linkHref+" url")}var St={startState:function(){return{f:Ve,prevLine:{stream:null},thisLine:{stream:null},block:Ve,htmlState:null,indentation:0,inline:ze,text:Ae,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(xe){return{f:xe.f,prevLine:xe.prevLine,thisLine:xe.thisLine,block:xe.block,htmlState:xe.htmlState&&re.copyState(Fe,xe.htmlState),indentation:xe.indentation,localMode:xe.localMode,localState:xe.localMode?re.copyState(xe.localMode,xe.localState):null,inline:xe.inline,text:xe.text,formatting:!1,linkText:xe.linkText,linkTitle:xe.linkTitle,linkHref:xe.linkHref,code:xe.code,em:xe.em,strong:xe.strong,strikethrough:xe.strikethrough,emoji:xe.emoji,header:xe.header,setext:xe.setext,hr:xe.hr,taskList:xe.taskList,list:xe.list,listStack:xe.listStack.slice(0),quote:xe.quote,indentedCode:xe.indentedCode,trailingSpace:xe.trailingSpace,trailingSpaceNewLine:xe.trailingSpaceNewLine,md_inside:xe.md_inside,fencedEndRE:xe.fencedEndRE}},token:function(xe,he){if(he.formatting=!1,xe!=he.thisLine.stream){if(he.header=0,he.hr=!1,xe.match(/^\s*$/,!0))return be(he),null;if(he.prevLine=he.thisLine,he.thisLine={stream:xe},he.taskList=!1,he.trailingSpace=0,he.trailingSpaceNewLine=!1,!he.localState&&(he.f=he.block,he.f!=Ge)){var qe=xe.match(/^\s*/,!0)[0].replace(/\t/g,st).length;if(he.indentation=qe,he.indentationDiff=null,qe>0)return null}}return he.f(xe,he)},innerMode:function(xe){return xe.block==Ge?{state:xe.htmlState,mode:Fe}:xe.localState?{state:xe.localState,mode:xe.localMode}:{state:xe,mode:St}},indent:function(xe,he,qe){return xe.block==Ge&&Fe.indent?Fe.indent(xe.htmlState,he,qe):xe.localState&&xe.localMode.indent?xe.localMode.indent(xe.localState,he,qe):re.Pass},blankLine:be,getType:ge,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return St},"xml"),re.defineMIME("text/markdown","markdown"),re.defineMIME("text/x-markdown","markdown")})},98101:function(bn,cn,se){(function(re){re(se(89780))})(function(re){"use strict";re.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Ne=0;Ne<re.modeInfo.length;Ne++){var Te=re.modeInfo[Ne];Te.mimes&&(Te.mime=Te.mimes[0])}re.findModeByMIME=function(Fe){Fe=Fe.toLowerCase();for(var Ee=0;Ee<re.modeInfo.length;Ee++){var fe=re.modeInfo[Ee];if(fe.mime==Fe)return fe;if(fe.mimes){for(var Oe=0;Oe<fe.mimes.length;Oe++)if(fe.mimes[Oe]==Fe)return fe}}if(/\+xml$/.test(Fe))return re.findModeByMIME("application/xml");if(/\+json$/.test(Fe))return re.findModeByMIME("application/json")},re.findModeByExtension=function(Fe){Fe=Fe.toLowerCase();for(var Ee=0;Ee<re.modeInfo.length;Ee++){var fe=re.modeInfo[Ee];if(fe.ext){for(var Oe=0;Oe<fe.ext.length;Oe++)if(fe.ext[Oe]==Fe)return fe}}},re.findModeByFileName=function(Fe){for(var Ee=0;Ee<re.modeInfo.length;Ee++){var fe=re.modeInfo[Ee];if(fe.file&&fe.file.test(Fe))return fe}var Oe=Fe.lastIndexOf("."),Ce=Oe>-1&&Fe.substring(Oe+1,Fe.length);if(Ce)return re.findModeByExtension(Ce)},re.findModeByName=function(Fe){Fe=Fe.toLowerCase();for(var Ee=0;Ee<re.modeInfo.length;Ee++){var fe=re.modeInfo[Ee];if(fe.name.toLowerCase()==Fe)return fe;if(fe.alias){for(var Oe=0;Oe<fe.alias.length;Oe++)if(fe.alias[Oe].toLowerCase()==Fe)return fe}}}})},67549:function(bn,cn,se){(function(re){re(se(89780))})(function(re){"use strict";re.defineMode("stex",function(Ne,Te){"use strict";function Fe(Ie,Ye){Ie.cmdState.push(Ye)}function Ee(Ie){return Ie.cmdState.length>0?Ie.cmdState[Ie.cmdState.length-1]:null}function fe(Ie){var Ye=Ie.cmdState.pop();Ye&&Ye.closeBracket()}function Oe(Ie){for(var Ye=Ie.cmdState,He=Ye.length-1;He>=0;He--){var je=Ye[He];if(je.name!="DEFAULT")return je}return{styleIdentifier:function(){return null}}}function Ce(Ie,Ye,He){return function(){this.name=Ie,this.bracketNo=0,this.style=Ye,this.styles=He,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Pe={};Pe.importmodule=Ce("importmodule","tag",["string","builtin"]),Pe.documentclass=Ce("documentclass","tag",["","atom"]),Pe.usepackage=Ce("usepackage","tag",["atom"]),Pe.begin=Ce("begin","tag",["atom"]),Pe.end=Ce("end","tag",["atom"]),Pe.label=Ce("label","tag",["atom"]),Pe.ref=Ce("ref","tag",["atom"]),Pe.eqref=Ce("eqref","tag",["atom"]),Pe.cite=Ce("cite","tag",["atom"]),Pe.bibitem=Ce("bibitem","tag",["atom"]),Pe.Bibitem=Ce("Bibitem","tag",["atom"]),Pe.RBibitem=Ce("RBibitem","tag",["atom"]),Pe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Ie,Ye){Ie.f=Ye}function nt(Ie,Ye){var He;if(Ie.match(/^\\[a-zA-Z@]+/)){var je=Ie.current().slice(1);return He=Pe.hasOwnProperty(je)?Pe[je]:Pe.DEFAULT,He=new He,Fe(Ye,He),oe(Ye,Ke),He.style}if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/\\]/))return"tag";if(Ie.match("\\["))return oe(Ye,function(at,rt){return ye(at,rt,"\\]")}),"keyword";if(Ie.match("\\("))return oe(Ye,function(at,rt){return ye(at,rt,"\\)")}),"keyword";if(Ie.match("$$"))return oe(Ye,function(at,rt){return ye(at,rt,"$$")}),"keyword";if(Ie.match("$"))return oe(Ye,function(at,rt){return ye(at,rt,"$")}),"keyword";var st=Ie.next();if(st=="%")return Ie.skipToEnd(),"comment";if(st=="}"||st=="]"){if(He=Ee(Ye),He)He.closeBracket(st),oe(Ye,Ke);else return"error";return"bracket"}else return st=="{"||st=="["?(He=Pe.DEFAULT,He=new He,Fe(Ye,He),"bracket"):/\d/.test(st)?(Ie.eatWhile(/[\w.%]/),"atom"):(Ie.eatWhile(/[\w\-_]/),He=Oe(Ye),He.name=="begin"&&(He.argument=Ie.current()),He.styleIdentifier())}function ye(Ie,Ye,He){if(Ie.eatSpace())return null;if(He&&Ie.match(He))return oe(Ye,nt),"keyword";if(Ie.match(/^\\[a-zA-Z@]+/))return"tag";if(Ie.match(/^[a-zA-Z]+/))return"variable-2";if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/]/)||Ie.match(/^[\^_&]/))return"tag";if(Ie.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ie.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var je=Ie.next();return je=="{"||je=="}"||je=="["||je=="]"||je=="("||je==")"?"bracket":je=="%"?(Ie.skipToEnd(),"comment"):"error"}function Ke(Ie,Ye){var He=Ie.peek(),je;return He=="{"||He=="["?(je=Ee(Ye),je.openBracket(He),Ie.eat(He),oe(Ye,nt),"bracket"):/[ \t\r]/.test(He)?(Ie.eat(He),null):(oe(Ye,nt),fe(Ye),nt(Ie,Ye))}return{startState:function(){var Ie=Te.inMathMode?function(Ye,He){return ye(Ye,He)}:nt;return{cmdState:[],f:Ie}},copyState:function(Ie){return{cmdState:Ie.cmdState.slice(),f:Ie.f}},token:function(Ie,Ye){return Ye.f(Ie,Ye)},blankLine:function(Ie){Ie.f=nt,Ie.cmdState.length=0},lineComment:"%"}}),re.defineMIME("text/x-stex","stex"),re.defineMIME("text/x-latex","stex")})},15525:function(bn,cn,se){(function(re){re(se(89780))})(function(re){"use strict";var Ne={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},Te={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};re.defineMode("xml",function(Fe,Ee){var fe=Fe.indentUnit,Oe={},Ce=Ee.htmlMode?Ne:Te;for(var Pe in Ce)Oe[Pe]=Ce[Pe];for(var Pe in Ee)Oe[Pe]=Ee[Pe];var oe,nt;function ye(Ze,_e){function Re(ht){return _e.tokenize=ht,ht(Ze,_e)}var Je=Ze.next();if(Je=="<")return Ze.eat("!")?Ze.eat("[")?Ze.match("CDATA[")?Re(Ye("atom","]]>")):null:Ze.match("--")?Re(Ye("comment","-->")):Ze.match("DOCTYPE",!0,!0)?(Ze.eatWhile(/[\w\._\-]/),Re(He(1))):null:Ze.eat("?")?(Ze.eatWhile(/[\w\._\-]/),_e.tokenize=Ye("meta","?>"),"meta"):(oe=Ze.eat("/")?"closeTag":"openTag",_e.tokenize=Ke,"tag bracket");if(Je=="&"){var Rt;return Ze.eat("#")?Ze.eat("x")?Rt=Ze.eatWhile(/[a-fA-F\d]/)&&Ze.eat(";"):Rt=Ze.eatWhile(/[\d]/)&&Ze.eat(";"):Rt=Ze.eatWhile(/[\w\.\-:]/)&&Ze.eat(";"),Rt?"atom":"error"}else return Ze.eatWhile(/[^&<]/),null}ye.isInText=!0;function Ke(Ze,_e){var Re=Ze.next();if(Re==">"||Re=="/"&&Ze.eat(">"))return _e.tokenize=ye,oe=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return oe="equals",null;if(Re=="<"){_e.tokenize=ye,_e.state=rt,_e.tagName=_e.tagStart=null;var Je=_e.tokenize(Ze,_e);return Je?Je+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(_e.tokenize=Ie(Re),_e.stringStartCol=Ze.column(),_e.tokenize(Ze,_e)):(Ze.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ie(Ze){var _e=function(Re,Je){for(;!Re.eol();)if(Re.next()==Ze){Je.tokenize=Ke;break}return"string"};return _e.isInAttribute=!0,_e}function Ye(Ze,_e){return function(Re,Je){for(;!Re.eol();){if(Re.match(_e)){Je.tokenize=ye;break}Re.next()}return Ze}}function He(Ze){return function(_e,Re){for(var Je;(Je=_e.next())!=null;){if(Je=="<")return Re.tokenize=He(Ze+1),Re.tokenize(_e,Re);if(Je==">")if(Ze==1){Re.tokenize=ye;break}else return Re.tokenize=He(Ze-1),Re.tokenize(_e,Re)}return"meta"}}function je(Ze,_e,Re){this.prev=Ze.context,this.tagName=_e,this.indent=Ze.indented,this.startOfLine=Re,(Oe.doNotIndent.hasOwnProperty(_e)||Ze.context&&Ze.context.noIndent)&&(this.noIndent=!0)}function st(Ze){Ze.context&&(Ze.context=Ze.context.prev)}function at(Ze,_e){for(var Re;;){if(!Ze.context||(Re=Ze.context.tagName,!Oe.contextGrabbers.hasOwnProperty(Re)||!Oe.contextGrabbers[Re].hasOwnProperty(_e)))return;st(Ze)}}function rt(Ze,_e,Re){return Ze=="openTag"?(Re.tagStart=_e.column(),ke):Ze=="closeTag"?be:rt}function ke(Ze,_e,Re){return Ze=="word"?(Re.tagName=_e.current(),nt="tag",ft):Oe.allowMissingTagName&&Ze=="endTag"?(nt="tag bracket",ft(Ze,_e,Re)):(nt="error",ke)}function be(Ze,_e,Re){if(Ze=="word"){var Je=_e.current();return Re.context&&Re.context.tagName!=Je&&Oe.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&st(Re),Re.context&&Re.context.tagName==Je||Oe.matchClosing===!1?(nt="tag",Ve):(nt="tag error",Ge)}else return Oe.allowMissingTagName&&Ze=="endTag"?(nt="tag bracket",Ve(Ze,_e,Re)):(nt="error",Ge)}function Ve(Ze,_e,Re){return Ze!="endTag"?(nt="error",Ve):(st(Re),rt)}function Ge(Ze,_e,Re){return nt="error",Ve(Ze,_e,Re)}function ft(Ze,_e,Re){if(Ze=="word")return nt="attribute",ge;if(Ze=="endTag"||Ze=="selfcloseTag"){var Je=Re.tagName,Rt=Re.tagStart;return Re.tagName=Re.tagStart=null,Ze=="selfcloseTag"||Oe.autoSelfClosers.hasOwnProperty(Je)?at(Re,Je):(at(Re,Je),Re.context=new je(Re,Je,Rt==Re.indented)),rt}return nt="error",ft}function ge(Ze,_e,Re){return Ze=="equals"?Ae:(Oe.allowMissing||(nt="error"),ft(Ze,_e,Re))}function Ae(Ze,_e,Re){return Ze=="string"?ze:Ze=="word"&&Oe.allowUnquoted?(nt="string",ft):(nt="error",ft(Ze,_e,Re))}function ze(Ze,_e,Re){return Ze=="string"?ze:ft(Ze,_e,Re)}return{startState:function(Ze){var _e={tokenize:ye,state:rt,indented:Ze||0,tagName:null,tagStart:null,context:null};return Ze!=null&&(_e.baseIndent=Ze),_e},token:function(Ze,_e){if(!_e.tagName&&Ze.sol()&&(_e.indented=Ze.indentation()),Ze.eatSpace())return null;oe=null;var Re=_e.tokenize(Ze,_e);return(Re||oe)&&Re!="comment"&&(nt=null,_e.state=_e.state(oe||Re,Ze,_e),nt&&(Re=nt=="error"?Re+" error":nt)),Re},indent:function(Ze,_e,Re){var Je=Ze.context;if(Ze.tokenize.isInAttribute)return Ze.tagStart==Ze.indented?Ze.stringStartCol+1:Ze.indented+fe;if(Je&&Je.noIndent)return re.Pass;if(Ze.tokenize!=Ke&&Ze.tokenize!=ye)return Re?Re.match(/^(\s*)/)[0].length:0;if(Ze.tagName)return Oe.multilineTagIndentPastTag!==!1?Ze.tagStart+Ze.tagName.length+2:Ze.tagStart+fe*(Oe.multilineTagIndentFactor||1);if(Oe.alignCDATA&&/<!\[CDATA\[/.test(_e))return 0;var Rt=_e&&/^<(\/)?([\w_:\.-]*)/.exec(_e);if(Rt&&Rt[1])for(;Je;)if(Je.tagName==Rt[2]){Je=Je.prev;break}else if(Oe.implicitlyClosed.hasOwnProperty(Je.tagName))Je=Je.prev;else break;else if(Rt)for(;Je;){var ht=Oe.contextGrabbers[Je.tagName];if(ht&&ht.hasOwnProperty(Rt[2]))Je=Je.prev;else break}for(;Je&&Je.prev&&!Je.startOfLine;)Je=Je.prev;return Je?Je.indent+fe:Ze.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Oe.htmlMode?"html":"xml",helperType:Oe.htmlMode?"html":"xml",skipAttribute:function(Ze){Ze.state==Ae&&(Ze.state=ft)},xmlCurrentTag:function(Ze){return Ze.tagName?{name:Ze.tagName,close:Ze.type=="closeTag"}:null},xmlCurrentContext:function(Ze){for(var _e=[],Re=Ze.context;Re;Re=Re.prev)Re.tagName&&_e.push(Re.tagName);return _e.reverse()}}}),re.defineMIME("text/xml","xml"),re.defineMIME("application/xml","xml"),re.mimeModes.hasOwnProperty("text/html")||re.defineMIME("text/html",{name:"xml",htmlMode:!0})})},67467:function(bn,cn){cn.read=function(se,re,Ne,Te,Fe){var Ee,fe,Oe=Fe*8-Te-1,Ce=(1<<Oe)-1,Pe=Ce>>1,oe=-7,nt=Ne?Fe-1:0,ye=Ne?-1:1,Ke=se[re+nt];for(nt+=ye,Ee=Ke&(1<<-oe)-1,Ke>>=-oe,oe+=Oe;oe>0;Ee=Ee*256+se[re+nt],nt+=ye,oe-=8);for(fe=Ee&(1<<-oe)-1,Ee>>=-oe,oe+=Te;oe>0;fe=fe*256+se[re+nt],nt+=ye,oe-=8);if(Ee===0)Ee=1-Pe;else{if(Ee===Ce)return fe?NaN:(Ke?-1:1)*(1/0);fe=fe+Math.pow(2,Te),Ee=Ee-Pe}return(Ke?-1:1)*fe*Math.pow(2,Ee-Te)},cn.write=function(se,re,Ne,Te,Fe,Ee){var fe,Oe,Ce,Pe=Ee*8-Fe-1,oe=(1<<Pe)-1,nt=oe>>1,ye=Fe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ke=Te?0:Ee-1,Ie=Te?1:-1,Ye=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(Oe=isNaN(re)?1:0,fe=oe):(fe=Math.floor(Math.log(re)/Math.LN2),re*(Ce=Math.pow(2,-fe))<1&&(fe--,Ce*=2),fe+nt>=1?re+=ye/Ce:re+=ye*Math.pow(2,1-nt),re*Ce>=2&&(fe++,Ce/=2),fe+nt>=oe?(Oe=0,fe=oe):fe+nt>=1?(Oe=(re*Ce-1)*Math.pow(2,Fe),fe=fe+nt):(Oe=re*Math.pow(2,nt-1)*Math.pow(2,Fe),fe=0));Fe>=8;se[Ne+Ke]=Oe&255,Ke+=Ie,Oe/=256,Fe-=8);for(fe=fe<<Fe|Oe,Pe+=Fe;Pe>0;se[Ne+Ke]=fe&255,Ke+=Ie,fe/=256,Pe-=8);se[Ne+Ke-Ie]|=Ye*128}},2859:function(bn,cn,se){"use strict";se.d(cn,{hP:function(){return bt}});var re=function(ce,ie){return(re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ee){z.__proto__=ee}||function(z,ee){for(var ne in ee)Object.prototype.hasOwnProperty.call(ee,ne)&&(z[ne]=ee[ne])})(ce,ie)};function Ne(ce,ie){function z(){this.constructor=ce}re(ce,ie),ce.prototype=ie===null?Object.create(ie):(z.prototype=ie.prototype,new z)}function Te(ce,ie,z,ee){return new(z||(z=Promise))(function(ne,te){function ue(Dt){try{Se(ee.next(Dt))}catch(Ue){te(Ue)}}function me(Dt){try{Se(ee.throw(Dt))}catch(Ue){te(Ue)}}function Se(Dt){var Ue;Dt.done?ne(Dt.value):(Ue=Dt.value,Ue instanceof z?Ue:new z(function($e){$e(Ue)})).then(ue,me)}Se((ee=ee.apply(ce,ie||[])).next())})}function Fe(ce,ie){var z,ee,ne,te,ue={label:0,sent:function(){if(1&ne[0])throw ne[1];return ne[1]},trys:[],ops:[]};return te={next:me(0),throw:me(1),return:me(2)},typeof Symbol=="function"&&(te[Symbol.iterator]=function(){return this}),te;function me(Se){return function(Dt){return function(Ue){if(z)throw new TypeError("Generator is already executing.");for(;ue;)try{if(z=1,ee&&(ne=2&Ue[0]?ee.return:Ue[0]?ee.throw||((ne=ee.return)&&ne.call(ee),0):ee.next)&&!(ne=ne.call(ee,Ue[1])).done)return ne;switch(ee=0,ne&&(Ue=[2&Ue[0],ne.value]),Ue[0]){case 0:case 1:ne=Ue;break;case 4:return ue.label++,{value:Ue[1],done:!1};case 5:ue.label++,ee=Ue[1],Ue=[0];continue;case 7:Ue=ue.ops.pop(),ue.trys.pop();continue;default:if(ne=ue.trys,!((ne=ne.length>0&&ne[ne.length-1])||Ue[0]!==6&&Ue[0]!==2)){ue=0;continue}if(Ue[0]===3&&(!ne||Ue[1]>ne[0]&&Ue[1]<ne[3])){ue.label=Ue[1];break}if(Ue[0]===6&&ue.label<ne[1]){ue.label=ne[1],ne=Ue;break}if(ne&&ue.label<ne[2]){ue.label=ne[2],ue.ops.push(Ue);break}ne[2]&&ue.ops.pop(),ue.trys.pop();continue}Ue=ie.call(ce,ue)}catch($e){Ue=[6,$e],ee=0}finally{z=ne=0}if(5&Ue[0])throw Ue[1];return{value:Ue[0]?Ue[1]:void 0,done:!0}}([Se,Dt])}}}function Ee(){for(var ce=0,ie=0,z=arguments.length;ie<z;ie++)ce+=arguments[ie].length;var ee=Array(ce),ne=0;for(ie=0;ie<z;ie++)for(var te=arguments[ie],ue=0,me=te.length;ue<me;ue++,ne++)ee[ne]=te[ue];return ee}var fe=function(){function ce(){}return ce.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ce.setAttributes=function(ie,z){for(var ee=0,ne=z;ee<ne.length;ee++){var te=ne[ee],ue=te[0],me=te[1];ie.setAttribute(ue,me)}},ce.createRect=function(ie,z,ee){var ne=document.createElementNS("http://www.w3.org/2000/svg","rect");return ne.setAttribute("width",ie.toString()),ne.setAttribute("height",z.toString()),ee&&ce.setAttributes(ne,ee),ne},ce.createLine=function(ie,z,ee,ne,te){var ue=document.createElementNS("http://www.w3.org/2000/svg","line");return ue.setAttribute("x1",ie.toString()),ue.setAttribute("y1",z.toString()),ue.setAttribute("x2",ee.toString()),ue.setAttribute("y2",ne.toString()),te&&ce.setAttributes(ue,te),ue},ce.createPolygon=function(ie,z){var ee=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ee.setAttribute("points",ie),z&&ce.setAttributes(ee,z),ee},ce.createCircle=function(ie,z){var ee=document.createElementNS("http://www.w3.org/2000/svg","circle");return ee.setAttribute("cx",(ie/2).toString()),ee.setAttribute("cy",(ie/2).toString()),ee.setAttribute("r",ie.toString()),z&&ce.setAttributes(ee,z),ee},ce.createEllipse=function(ie,z,ee){var ne=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return ne.setAttribute("cx",(ie/2).toString()),ne.setAttribute("cy",(z/2).toString()),ne.setAttribute("rx",(ie/2).toString()),ne.setAttribute("ry",(z/2).toString()),ee&&ce.setAttributes(ne,ee),ne},ce.createGroup=function(ie){var z=document.createElementNS("http://www.w3.org/2000/svg","g");return ie&&ce.setAttributes(z,ie),z},ce.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ce.createMarker=function(ie,z,ee,ne,te,ue,me){var Se=document.createElementNS("http://www.w3.org/2000/svg","marker");return ce.setAttributes(Se,[["id",ie],["orient",z],["markerWidth",ee.toString()],["markerHeight",ne.toString()],["refX",te.toString()],["refY",ue.toString()]]),Se.appendChild(me),Se},ce.createText=function(ie){var z=document.createElementNS("http://www.w3.org/2000/svg","text");return z.setAttribute("x","0"),z.setAttribute("y","0"),ie&&ce.setAttributes(z,ie),z},ce.createTSpan=function(ie,z){var ee=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ee.textContent=ie,z&&ce.setAttributes(ee,z),ee},ce.createImage=function(ie){var z=document.createElementNS("http://www.w3.org/2000/svg","image");return ie&&ce.setAttributes(z,ie),z},ce.createPoint=function(ie,z){var ee=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ee.x=ie,ee.y=z,ee},ce.createPath=function(ie,z){var ee=document.createElementNS("http://www.w3.org/2000/svg","path");return ee.setAttribute("d",ie),z&&ce.setAttributes(ee,z),ee},ce}(),Oe=function(){function ce(){}return ce.addKey=function(ie){ce.key=ie},Object.defineProperty(ce,"isLicensed",{get:function(){return!!ce.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ce.key)},enumerable:!1,configurable:!0}),ce}(),Ce=function(){function ce(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ce.prototype.rasterize=function(ie,z,ee){var ne=this;return new Promise(function(te){var ue=ee!==void 0?ee:document.createElement("canvas");ie===null&&(ne.markersOnly=!0,ne.naturalSize=!1);var me=document.createElementNS("http://www.w3.org/2000/svg","svg");me.setAttribute("xmlns","http://www.w3.org/2000/svg"),me.setAttribute("width",z.width.baseVal.valueAsString),me.setAttribute("height",z.height.baseVal.valueAsString),me.setAttribute("viewBox","0 0 "+z.viewBox.baseVal.width.toString()+" "+z.viewBox.baseVal.height.toString()),me.innerHTML=z.innerHTML,ne.naturalSize===!0?(me.width.baseVal.value=ie.naturalWidth,me.height.baseVal.value=ie.naturalHeight):ne.width!==void 0&&ne.height!==void 0&&(me.width.baseVal.value=ne.width,me.height.baseVal.value=ne.height),ue.width=me.width.baseVal.value,ue.height=me.height.baseVal.value;var Se=me.outerHTML,Dt=ue.getContext("2d");ne.markersOnly!==!0&&Dt.drawImage(ie,0,0,ue.width,ue.height);var Ue=window.URL,$e=new Image(ue.width,ue.height);$e.setAttribute("crossOrigin","anonymous");var ot=new Blob([Se],{type:"image/svg+xml"}),vt=Ue.createObjectURL(ot);$e.onload=function(){Dt.drawImage($e,0,0),Ue.revokeObjectURL(vt);var zt=ue.toDataURL(ne.imageType,ne.imageQuality);te(zt)},$e.src=vt})},ce}(),Pe=function(){},oe=function(){function ce(ie){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ie+"_"}return Object.defineProperty(ce.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ce.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(ce.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ce.prototype.addClass=function(ie){return this.styleSheet===void 0&&this.addStyleSheet(),ie.name=""+this.classNamePrefix+ie.localName,this.classes.push(ie),this.styleSheet.sheet.insertRule("."+ie.name+" {"+ie.style+"}",this.styleSheet.sheet.cssRules.length),ie},ce.prototype.addRule=function(ie){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ie),this.styleSheet.sheet.insertRule(ie.selector+" {"+ie.style+"}",this.styleSheet.sheet.cssRules.length)},ce.prototype.addStyleSheet=function(){var ie;this.styleSheet=document.createElement("style"),((ie=this.styleSheetRoot)!==null&&ie!==void 0?ie:document.head).appendChild(this.styleSheet),this.addRule(new nt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new nt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
`)),this.addRule(new nt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
`)),this.addClass(new ye("fade_in",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
`)),this.addClass(new ye("fade_out",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
`))},ce.prototype.removeStyleSheet=function(){var ie;this.styleSheet&&(((ie=this.styleSheetRoot)!==null&&ie!==void 0?ie:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ce}(),nt=function(ce,ie){this.selector=ce,this.style=ie},ye=function(ce,ie){this.localName=ce,this.style=ie},Ke=function(){function ce(ie,z,ee,ne,te){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ie,this.displayMode=z,this.markerItems=ee,this.uiStyleSettings=ne,this.styles=te,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ce.prototype.show=function(ie){var z=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ie,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ee=document.createElement("div");ee.className=this.toolbarBlockStyleClass.name,ee.style.whiteSpace="nowrap",this.uiContainer.appendChild(ee),this.addActionButton(ee,'<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(ee,'<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(ee,'<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(ee,'<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(ee,'<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(ee,'<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(ee,'<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(ee,'<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(te){var ue=document.createElement("div");ue.className=""+z.toolbarButtonStyleClass.name,ue.setAttribute("data-type-name",te.typeName),ue.innerHTML=te.icon,ue.addEventListener("click",function(){z.markerToolbarButtonClicked(ue,te)}),z.buttons.push(ue),z.markerButtons.push(ue)}),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 ne=document.createElement("div");ne.className=this.toolbarBlockStyleClass.name,ne.style.whiteSpace="nowrap",ne.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ne),this.addActionButton(ne,'<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(ne,'<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()},ce.prototype.addButtonClickListener=function(ie){this.buttonClickListeners.push(ie)},ce.prototype.removeButtonClickListener=function(ie){this.buttonClickListeners.indexOf(ie)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ie),1)},ce.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ce.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ie=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<ie||z===ie&&this.markerButtons.length-1===ie?this.markerButtonBlock.appendChild(this.markerButtons[z]):(z===ie&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[z]))}},ce.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")},ce.prototype.resetButtonStyles=function(){var ie=this;this.buttons.forEach(function(z){z.className=z.className.replace(ie.uiStyleSettings.toolbarButtonStyleColorsClassName?ie.uiStyleSettings.toolbarButtonStyleColorsClassName:ie.toolbarButtonStyleColorsClass.name,"").trim(),z.className=z.className.replace(ie.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ie.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ie.toolbarActiveButtonStyleColorsClass.name,"").trim(),z.className+=" "+(ie.uiStyleSettings.toolbarButtonStyleColorsClassName?ie.uiStyleSettings.toolbarButtonStyleColorsClassName:ie.toolbarButtonStyleColorsClass.name)})},ce.prototype.addActionButton=function(ie,z,ee){var ne=this,te=document.createElement("div");switch(te.className=""+this.toolbarButtonStyleClass.name,te.innerHTML=z,te.setAttribute("data-action",ee),te.addEventListener("click",function(){ne.actionToolbarButtonClicked(te,ee)}),ee){case"select":te.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":te.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":te.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":te.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":te.style.fill=this.uiStyleSettings.closeButtonColor}ie.appendChild(te),this.buttons.push(te)},ce.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ye("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 ye("toolbar_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ye("toolbar-block",`
|
|
display: inline-block;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ye("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 ye("toolbar-overflow-block_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ye("toolbar_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
|
|
padding: `+ie+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ye("toolbar_button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ye("toolbar_active_button",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new nt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`)),this.styles.addRule(new nt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`))},ce.prototype.markerToolbarButtonClicked=function(ie,z){this.setActiveButton(ie),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ee){return ee("marker",z)}),this.markerButtonOverflowBlock.style.display="none"},ce.prototype.actionToolbarButtonClicked=function(ie,z){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ee){return ee("action",z)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ce.prototype.setActiveButton=function(ie){this.resetButtonStyles(),ie.className=ie.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ie.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ce.prototype.setActiveMarkerButton=function(ie){var z=this.markerButtons.find(function(ee){return ee.getAttribute("data-type-name")===ie});z&&this.setActiveButton(z)},ce.prototype.setCurrentMarker=function(ie){var z=this;this.currentMarker=ie,this.buttons.filter(function(ee){return/delete|notes/.test(ee.getAttribute("data-action"))}).forEach(function(ee){z.currentMarker===void 0?(ee.style.fillOpacity="0.4",ee.style.pointerEvents="none"):(ee.style.fillOpacity="1",ee.style.pointerEvents="all")})},ce}(),Ie=function(){function ce(ie,z,ee,ne){this.panels=[],this.panelButtons=[],this.markerjsContainer=ie,this.displayMode=z,this.uiStyleSettings=ee,this.styles=ne,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ce.prototype.addStyles=function(){var ie;this.toolboxStyleClass=this.styles.addClass(new ye("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 ye("toolbox_colors",`
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
`));var z=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ye("toolbox-button-row",`
|
|
display: flex;
|
|
cursor: default;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ye("toolbox-button-row_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ye("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 ye("toolbox-panel-row_colors",`
|
|
background-color: `+((ie=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ie!==void 0?ie:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ye("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 ye("toolbox-button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ye("toolbox-active-button_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.styles.addRule(new nt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new nt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`))},ce.prototype.show=function(ie){var z;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ie,this.uiContainer.className=this.toolboxStyleClass.name+" "+((z=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ce.prototype.setPanelButtons=function(ie){var z,ee,ne=this;this.panels=ie,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+" "+((ee=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(te){var ue;te.uiStyleSettings=ne.uiStyleSettings;var me=document.createElement("div");me.className=ne.toolboxButtonStyleClass.name+" "+((ue=ne.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ue!==void 0?ue:ne.toolboxButtonStyleColorsClass.name),me.innerHTML=te.icon,me.title=te.title,me.addEventListener("click",function(){ne.panelButtonClick(te)}),ne.panelButtons.push(me),ne.buttonRow.appendChild(me)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ce.prototype.panelButtonClick=function(ie){var z=this,ee=-1;if(ie!==this.activePanel){ee=this.panels.indexOf(ie),this.panelRow.innerHTML="";var ne=ie.getUi();ne.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ne),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=ie}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(te,ue){var me,Se;te.className=z.toolboxButtonStyleClass.name+" "+(ue===ee?""+((me=z.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&me!==void 0?me:z.toolboxActiveButtonStyleColorsClass.name):""+((Se=z.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Se!==void 0?Se:z.toolboxButtonStyleColorsClass.name))})},ce}(),Ye=function(ce,ie){this.title=ce,this.icon=ie},He=function(ce){function ie(z,ee,ne,te){var ue=ce.call(this,z,te||'<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 ue.colors=[],ue.addTransparent=!1,ue.colorBoxes=[],ue.colors=ee,ue.currentColor=ne,ue.setCurrentColor=ue.setCurrentColor.bind(ue),ue.getColorBox=ue.getColorBox.bind(ue),ue}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");return ee.style.overflow="hidden",ee.style.whiteSpace="nowrap",this.colors.forEach(function(ne){var te=z.getColorBox(ne);ee.appendChild(te),z.colorBoxes.push(te)}),ee},ie.prototype.getColorBox=function(z){var ee=this,ne=this.uiStyleSettings.toolbarHeight/4,te=this.uiStyleSettings.toolbarHeight-ne,ue=document.createElement("div");ue.style.display="inline-block",ue.style.boxSizing="content-box",ue.style.width=te-2+"px",ue.style.height=te-2+"px",ue.style.padding="1px",ue.style.marginRight="2px",ue.style.marginBottom="2px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderRadius=(te+2)/2+"px",ue.style.borderColor=z===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){ee.setCurrentColor(z,ue)});var me=document.createElement("div");return me.style.display="inline-block",me.style.width=te-2+"px",me.style.height=te-2+"px",me.style.backgroundColor=z,me.style.borderRadius=te/2+"px",z==="transparent"&&(me.style.fill=this.uiStyleSettings.toolboxAccentColor,me.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>`),ue.appendChild(me),ue},ie.prototype.setCurrentColor=function(z,ee){var ne=this;this.currentColor=z,this.colorBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(z)},ie}(Ye),je=function(){function ce(ie,z,ee){this._state="new",this._isSelected=!1,this._container=ie,this._overlayContainer=z,this.globalSettings=ee,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ce.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ie){return!1},Object.defineProperty(ce.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ce.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ce.prototype.pointerDown=function(ie,z){},ce.prototype.dblClick=function(ie,z){},ce.prototype.manipulate=function(ie){},ce.prototype.pointerUp=function(ie){this.stateChanged()},ce.prototype.dispose=function(){},ce.prototype.addMarkerVisualToContainer=function(ie){this.container.childNodes.length>0?this.container.insertBefore(ie,this.container.childNodes[0]):this.container.appendChild(ie)},ce.prototype.getState=function(){return{typeName:ce.typeName,state:this.state,notes:this.notes}},ce.prototype.restoreState=function(ie){this._state=ie.state,this.notes=ie.notes},ce.prototype.scale=function(ie,z){},ce.prototype.colorChanged=function(ie){this.onColorChanged&&this.onColorChanged(ie),this.stateChanged()},ce.prototype.fillColorChanged=function(ie){this.onFillColorChanged&&this.onFillColorChanged(ie),this.stateChanged()},ce.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ie=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ie.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ie)&&this.onStateChanged(this)}},ce.typeName="MarkerBase",ce}(),st=function(){function ce(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ce.prototype.findGripByVisual=function(ie){return this.topLeft.ownsTarget(ie)?this.topLeft:this.topCenter.ownsTarget(ie)?this.topCenter:this.topRight.ownsTarget(ie)?this.topRight:this.centerLeft.ownsTarget(ie)?this.centerLeft:this.centerRight.ownsTarget(ie)?this.centerRight:this.bottomLeft.ownsTarget(ie)?this.bottomLeft:this.bottomCenter.ownsTarget(ie)?this.bottomCenter:this.bottomRight.ownsTarget(ie)?this.bottomRight:void 0},ce}(),at=function(){function ce(){this.GRIP_SIZE=10,this.visual=fe.createGroup(),this.visual.appendChild(fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ce.prototype.ownsTarget=function(ie){return ie===this.visual||ie===this.visual.childNodes[0]||ie===this.visual.childNodes[1]},ce}(),rt=function(){function ce(){}return ce.toITransformMatrix=function(ie){return{a:ie.a,b:ie.b,c:ie.c,d:ie.d,e:ie.e,f:ie.f}},ce.toSVGMatrix=function(ie,z){return ie.a=z.a,ie.b=z.b,ie.c=z.c,ie.d=z.d,ie.e=z.e,ie.f=z.f,ie},ce}(),ke=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.left=0,te.top=0,te.width=0,te.height=0,te.defaultSize={x:50,y:20},te.offsetX=0,te.offsetY=0,te.rotationAngle=0,te.CB_DISTANCE=10,te._suppressMarkerCreateEvent=!1,te.container.transform.baseVal.appendItem(fe.createTransform()),te.setupControlBox(),te}return Ne(ie,ce),Object.defineProperty(ie.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"visual",{get:function(){return this._visual},set:function(z){this._visual=z;var ee=fe.createTransform();this._visual.transform.baseVal.appendItem(ee)},enumerable:!1,configurable:!0}),ie.prototype.ownsTarget=function(z){return!!ce.prototype.ownsTarget.call(this,z)||!!(this.controlGrips.findGripByVisual(z)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(z))},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),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 ne=this.unrotatePoint(z);if(this.manipulationStartX=ne.x,this.manipulationStartY=ne.y,this.offsetX=ne.x-this.left,this.offsetY=ne.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ee),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ee)){this.activeGrip=this.rotatorGrip;var te=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=te.x-this.width/2,this.top=te.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ie.prototype.pointerUp=function(z){var ee=this.state;ce.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",ee==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ie.prototype.moveVisual=function(z){this.visual.style.transform="translate("+z.x+"px, "+z.y+"px)"},ie.prototype.manipulate=function(z){var ee=this.unrotatePoint(z);this.state==="creating"?this.resize(z):this.state==="move"?(this.left=this.manipulationStartLeft+(ee.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ee.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ee):this.state==="rotate"&&this.rotate(z)},ie.prototype.resize=function(z){var ee=this.manipulationStartLeft,ne=this.manipulationStartWidth,te=this.manipulationStartTop,ue=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ee=this.manipulationStartLeft+z.x-this.manipulationStartX,ne=this.manipulationStartWidth+this.manipulationStartLeft-ee;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ne=this.manipulationStartWidth+z.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:te=this.manipulationStartTop+z.y-this.manipulationStartY,ue=this.manipulationStartHeight+this.manipulationStartTop-te;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ue=this.manipulationStartHeight+z.y-this.manipulationStartY}ne>=0?(this.left=ee,this.width=ne):(this.left=ee+ne,this.width=-ne),ue>=0?(this.top=te,this.height=ue):(this.top=te+ue,this.height=-ue),this.setSize()},ie.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ie.prototype.rotate=function(z){if(Math.abs(z.x-this.centerX)>.1){var ee=Math.sign(z.x-this.centerX);this.rotationAngle=180*Math.atan((z.y-this.centerY)/(z.x-this.centerX))/Math.PI+90*ee,this.applyRotation()}},ie.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)},ie.prototype.rotatePoint=function(z){if(this.rotationAngle===0)return z;var ee=this.container.getCTM(),ne=fe.createPoint(z.x,z.y);return{x:(ne=ne.matrixTransform(ee)).x,y:ne.y}},ie.prototype.unrotatePoint=function(z){if(this.rotationAngle===0)return z;var ee=this.container.getCTM();ee=ee.inverse();var ne=fe.createPoint(z.x,z.y);return{x:(ne=ne.matrixTransform(ee)).x,y:ne.y}},ie.prototype.select=function(){ce.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ie.prototype.deselect=function(){ce.prototype.deselect.call(this),this.controlBox.style.display="none"},ie.prototype.setupControlBox=function(){this.controlBox=fe.createGroup();var z=fe.createTransform();z.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(z),this.container.appendChild(this.controlBox),this.controlRect=fe.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=fe.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 st,this.addControlGrips(),this.controlBox.style.display="none"},ie.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()},ie.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()},ie.prototype.createGrip=function(){var z=new at;return z.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(z.visual),z},ie.prototype.positionGrips=function(){var z=this.controlGrips.topLeft.GRIP_SIZE,ee=-z/2,ne=ee,te=(this.width+this.CB_DISTANCE)/2-z/2,ue=(this.height+this.CB_DISTANCE)/2-z/2,me=this.height+this.CB_DISTANCE-z/2,Se=this.width+this.CB_DISTANCE-z/2;this.positionGrip(this.controlGrips.topLeft.visual,ee,ne),this.positionGrip(this.controlGrips.topCenter.visual,te,ne),this.positionGrip(this.controlGrips.topRight.visual,Se,ne),this.positionGrip(this.controlGrips.centerLeft.visual,ee,ue),this.positionGrip(this.controlGrips.centerRight.visual,Se,ue),this.positionGrip(this.controlGrips.bottomLeft.visual,ee,me),this.positionGrip(this.controlGrips.bottomCenter.visual,te,me),this.positionGrip(this.controlGrips.bottomRight.visual,Se,me),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,te,ne-3*this.CB_DISTANCE)},ie.prototype.positionGrip=function(z,ee,ne){var te=z.transform.baseVal.getItem(0);te.setTranslate(ee,ne),z.transform.baseVal.replaceItem(te,0)},ie.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ie.prototype.showControlBox=function(){this.controlBox.style.display=""},ie.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:rt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:rt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ce.prototype.getState.call(this))},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z);var ee=z;this.left=ee.left,this.top=ee.top,this.width=ee.width,this.height=ee.height,this.rotationAngle=ee.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(rt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ee.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(rt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ee.containerTransformMatrix))},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee);var ne=this.rotatePoint({x:this.left,y:this.top}),te=this.unrotatePoint({x:ne.x*z,y:ne.y*ee});this.left=te.x,this.top=te.y,this.width=this.width*z,this.height=this.height*ee,this.adjustControlBox()},ie}(je),be=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.fillColor="transparent",te.strokeColor="transparent",te.strokeWidth=0,te.strokeDasharray="",te.opacity=1,te.setStrokeColor=te.setStrokeColor.bind(te),te.setFillColor=te.setFillColor.bind(te),te.setStrokeWidth=te.setStrokeWidth.bind(te),te.setStrokeDasharray=te.setStrokeDasharray.bind(te),te.createVisual=te.createVisual.bind(te),te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ie.prototype.createVisual=function(){this.visual=fe.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)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ie.prototype.manipulate=function(z){ce.prototype.manipulate.call(this,z)},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),this.setSize()},ie.prototype.setSize=function(){ce.prototype.setSize.call(this),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ie.prototype.pointerUp=function(z){ce.prototype.pointerUp.call(this,z),this.setSize()},ie.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ie.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ie.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ie.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ie.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ce.prototype.getState.call(this))},ie.prototype.restoreState=function(z){var ee=z;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.opacity=ee.opacity,this.createVisual(),ce.prototype.restoreState.call(this,z),this.setSize()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.setSize()},ie.title="Rectangle marker",ie}(ke),Ve=function(ce){function ie(z,ee,ne,te){var ue=ce.call(this,z,te||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ue.widths=[],ue.widthBoxes=[],ue.widths=ee,ue.currentWidth=ne,ue.setCurrentWidth=ue.setCurrentWidth.bind(ue),ue}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",this.widths.forEach(function(ne){var te=document.createElement("div");te.style.display="flex",te.style.flexGrow="2",te.style.alignItems="center",te.style.justifyContent="space-between",te.style.padding="5px",te.style.borderWidth="2px",te.style.borderStyle="solid",te.style.borderColor=ne===z.currentWidth?z.uiStyleSettings.toolboxAccentColor:"transparent",te.addEventListener("click",function(){z.setCurrentWidth(ne,te)}),ee.appendChild(te);var ue=document.createElement("div");ue.innerText=ne.toString(),ue.style.marginRight="5px",te.appendChild(ue);var me=document.createElement("div");me.style.minHeight="20px",me.style.flexGrow="2",me.style.display="flex",me.style.alignItems="center";var Se=document.createElement("hr");Se.style.minWidth="20px",Se.style.border="0px",Se.style.borderTop=ne+"px solid "+z.uiStyleSettings.toolboxColor,Se.style.flexGrow="2",me.appendChild(Se),te.appendChild(me),z.widthBoxes.push(te)}),ee},ie.prototype.setCurrentWidth=function(z,ee){var ne=this;this.currentWidth=z,this.widthBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ie}(Ye),Ge=function(ce){function ie(z,ee,ne,te){var ue=ce.call(this,z,te||'<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 ue.styles=[],ue.styleBoxes=[],ue.styles=ee,ue.currentStyle=ne,ue.setCurrentStyle=ue.setCurrentStyle.bind(ue),ue}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",this.styles.forEach(function(ne){var te=document.createElement("div");te.style.display="flex",te.style.alignItems="center",te.style.justifyContent="space-between",te.style.padding="5px",te.style.borderWidth="2px",te.style.borderStyle="solid",te.style.overflow="hidden",te.style.maxWidth=100/z.styles.length-5+"%",te.style.borderColor=ne===z.currentStyle?z.uiStyleSettings.toolboxAccentColor:"transparent",te.addEventListener("click",function(){z.setCurrentStyle(ne,te)}),ee.appendChild(te);var ue=document.createElement("div");ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.overflow="hidden";var me=`<svg width="100" height="20">
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+z.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(ne!==""?'stroke-dasharray="'+ne+'"':"")+` />
|
|
</svg>`;ue.innerHTML=me,te.appendChild(ue),z.styleBoxes.push(te)}),ee},ie.prototype.setCurrentStyle=function(z,ee){var ne=this;this.currentStyle=z,this.styleBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ie}(Ye),ft=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.strokeColor=ne.defaultColor,te.strokeWidth=ne.defaultStrokeWidth,te.strokeDasharray=ne.defaultStrokeDasharray,te.strokePanel=new He("Line color",ne.defaultColorSet,ne.defaultColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.strokeWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ge("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te}return Ne(ie,ce),Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=ce.prototype.getState.call(this);return z.typeName=ie.typeName,z},ie.typeName="FrameMarker",ie.title="Frame marker",ie.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ie}(be),ge=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"},Ae=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.x1=0,te.y1=0,te.x2=0,te.y2=0,te.defaultLength=50,te.manipulationStartX=0,te.manipulationStartY=0,te.manipulationStartX1=0,te.manipulationStartY1=0,te.manipulationStartX2=0,te.manipulationStartY2=0,te.setupControlBox(),te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!!ce.prototype.ownsTarget.call(this,z)||!(!this.grip1.ownsTarget(z)&&!this.grip2.ownsTarget(z))},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),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(ee)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ee)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ie.prototype.pointerUp=function(z){var ee=this.state;ce.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",ee==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ie.prototype.adjustVisual=function(){},ie.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)},ie.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()},ie.prototype.select=function(){ce.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ie.prototype.deselect=function(){ce.prototype.deselect.call(this),this.controlBox.style.display="none"},ie.prototype.setupControlBox=function(){this.controlBox=fe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ie.prototype.adjustControlBox=function(){this.positionGrips()},ie.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ie.prototype.createGrip=function(){var z=new at;return z.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(z.visual),z},ie.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)},ie.prototype.positionGrip=function(z,ee,ne){var te=z.transform.baseVal.getItem(0);te.setTranslate(ee,ne),z.transform.baseVal.replaceItem(te,0)},ie.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ce.prototype.getState.call(this))},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z);var ee=z;this.x1=ee.x1,this.y1=ee.y1,this.x2=ee.x2,this.y2=ee.y2},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.x1=this.x1*z,this.y1=this.y1*ee,this.x2=this.x2*z,this.y2=this.y2*ee,this.adjustVisual(),this.adjustControlBox()},ie}(je),ze=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.strokeColor="transparent",te.strokeWidth=0,te.strokeDasharray="",te.setStrokeColor=te.setStrokeColor.bind(te),te.setStrokeWidth=te.setStrokeWidth.bind(te),te.setStrokeDasharray=te.setStrokeDasharray.bind(te),te.strokeColor=ne.defaultColor,te.strokeWidth=ne.defaultStrokeWidth,te.strokeDasharray=ne.defaultStrokeDasharray,te.strokePanel=new He("Line color",ne.defaultColorSet,ne.defaultColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.strokeWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ge("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorLine&&z!==this.visibleLine)},ie.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=fe.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)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ie.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()),fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ie.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ie.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ie.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z);var ee=z;this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.createVisual(),this.adjustVisual()},ie.typeName="LineMarker",ie.title="Line marker",ie.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ie}(Ae),Ze=function(ce){function ie(z,ee,ne,te){var ue=ce.call(this,z,te||'<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 ue.fonts=[],ue.fontBoxes=[],ue.fonts=ee,ue.currentFont=ne,ue.setCurrentFont=ue.setCurrentFont.bind(ue),ue}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");return ee.style.overflow="hidden",ee.style.flexGrow="2",this.fonts.forEach(function(ne){var te=document.createElement("div");te.style.display="inline-block",te.style.alignItems="center",te.style.justifyContent="space-between",te.style.padding="5px",te.style.borderWidth="2px",te.style.borderStyle="solid",te.style.overflow="hidden",te.style.maxWidth=100/z.fonts.length-5+"%",te.style.borderColor=ne===z.currentFont?z.uiStyleSettings.toolboxAccentColor:"transparent",te.addEventListener("click",function(){z.setCurrentFont(ne,te)}),ee.appendChild(te);var ue=document.createElement("div");ue.style.display="flex",ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.fontFamily=ne,ue.style.overflow="hidden";var me=document.createElement("div");me.style.whiteSpace="nowrap",me.style.overflow="hidden",me.style.textOverflow="ellipsis",me.innerHTML="The quick brown fox jumps over the lazy dog",ue.appendChild(me),te.appendChild(ue),z.fontBoxes.push(te)}),ee},ie.prototype.setCurrentFont=function(z,ee){var ne=this;this.currentFont=z,this.fontBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ie}(Ye),_e=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.color="transparent",te.padding=5,te.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",te.text=te.DEFAULT_TEXT,te.isMoved=!1,te.color=ne.defaultColor,te.fontFamily=ne.defaultFontFamily,te.defaultSize={x:100,y:30},te.setColor=te.setColor.bind(te),te.setFont=te.setFont.bind(te),te.renderText=te.renderText.bind(te),te.sizeText=te.sizeText.bind(te),te.textEditDivClicked=te.textEditDivClicked.bind(te),te.showTextEditor=te.showTextEditor.bind(te),te.setSize=te.setSize.bind(te),te.positionTextEditor=te.positionTextEditor.bind(te),te.colorPanel=new He("Color",ne.defaultColorSet,ne.defaultColor),te.colorPanel.onColorChanged=te.setColor,te.fontFamilyPanel=new Ze("Font",ne.defaultFontFamilies,ne.defaultFontFamily),te.fontFamilyPanel.onFontChanged=te.setFont,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){if(ce.prototype.ownsTarget.call(this,z)||z===this.visual||z===this.textElement||z===this.bgRectangle)return!0;var ee=!1;return this.textElement.childNodes.forEach(function(ne){ne===z&&(ee=!0)}),ee},ie.prototype.createVisual=function(){this.visual=fe.createGroup(),this.bgRectangle=fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ie.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(ee){z.textElement.appendChild(fe.createTSpan(ee.trim()===""?" ":ee.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ie.prototype.getTextScale=function(){var z=this.textElement.getBBox(),ee=1;if(z.width>0&&z.height>0){var ne=(1*this.width-this.width*this.padding*2/100)/z.width,te=(1*this.height-this.height*this.padding*2/100)/z.height;ee=Math.min(ne,te)}return ee},ie.prototype.getTextPosition=function(z){var ee=this.textElement.getBBox(),ne=0,te=0;return ee.width>0&&ee.height>0&&(ne=(this.width-ee.width*z)/2,te=this.height/2-ee.height*z/2),{x:ne,y:te}},ie.prototype.sizeText=function(){var z=this.textElement.getBBox(),ee=this.getTextScale(),ne=this.getTextPosition(ee);ne.y-=z.y*ee,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ne.x+"px, "+ne.y+"px) scale("+ee+", "+ee+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ne.x,ne.y),this.textElement.transform.baseVal.getItem(1).setScale(ee,ee))},ie.prototype.manipulate=function(z){ce.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)},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),this.isMoved=!0,this.setSize(),this.sizeText()},ie.prototype.setSize=function(){ce.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ie.prototype.pointerUp=function(z){var ee=this.state;ee==="creating"&&(this._suppressMarkerCreateEvent=!0),ce.prototype.pointerUp.call(this,z),this.setSize(),(ee==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ie.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(ee){ee.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ee=Number.parseFloat(z.textEditor.style.fontSize);z.textEditor.clientWidth>=Number.parseInt(z.textEditor.style.maxWidth)&&ee>.9;)ee-=.1,z.textEditor.style.fontSize=Math.max(ee,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ee){ee.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ee){if(ee.clipboardData){var ne=ee.clipboardData.getData("text"),te=window.getSelection();if(!te.rangeCount)return!1;te.deleteFromDocument(),te.getRangeAt(0).insertNode(document.createTextNode(ne)),ee.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")},ie.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var z=this.getTextScale(),ee=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ne=this.textElement.getBBox(),te={x:ne.width*z,y:ne.height*z};ee.x-=te.x/2,ee.y-=te.y/2,this.textEditor.style.top=ee.y+"px",this.textEditor.style.left=ee.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ee.x+"px",this.textEditor.style.fontSize=Math.max(16*z,12)+"px",this.textElement.style.display="none"}},ie.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()},ie.prototype.select=function(){ce.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ie.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ce.prototype.deselect.call(this)},ie.prototype.dblClick=function(z,ee){ce.prototype.dblClick.call(this,z,ee),this.showTextEditor()},ie.prototype.setColor=function(z){this.textElement&&fe.setAttributes(this.textElement,[["fill",z]]),this.color=z,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(z)},ie.prototype.setFont=function(z){this.textElement&&fe.setAttributes(this.textElement,[["font-family",z]]),this.fontFamily=z,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ie.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ie.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){var ee=z;this.color=ee.color,this.fontFamily=ee.fontFamily,this.padding=ee.padding,this.text=ee.text,this.createVisual(),ce.prototype.restoreState.call(this,z),this.setSize()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.setSize(),this.sizeText(),this.positionTextEditor()},ie.typeName="TextMarker",ie.title="Text marker",ie.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>',ie}(ke),Re=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.color="transparent",te.lineWidth=3,te.drawing=!1,te.pixelRatio=1,te.color=ne.defaultColor,te.lineWidth=ne.defaultStrokeWidth,te.pixelRatio=ne.freehandPixelRatio,te.setColor=te.setColor.bind(te),te.addCanvas=te.addCanvas.bind(te),te.finishCreation=te.finishCreation.bind(te),te.setLineWidth=te.setLineWidth.bind(te),te.colorPanel=new He("Color",ne.defaultColorSet,ne.defaultColor),te.colorPanel.onColorChanged=te.setColor,te.lineWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.lineWidthPanel.onWidthChanged=te.setLineWidth,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.drawingImage)},ie.prototype.createVisual=function(){this.visual=fe.createGroup(),this.drawingImage=fe.createImage(),this.visual.appendChild(this.drawingImage);var z=fe.createTransform();this.visual.transform.baseVal.appendItem(z),this.addMarkerVisualToContainer(this.visual)},ie.prototype.pointerDown=function(z,ee){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):ce.prototype.pointerDown.call(this,z,ee)},ie.prototype.manipulate=function(z){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(z.x,z.y),this.canvasContext.stroke()):ce.prototype.manipulate.call(this,z)},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ie.prototype.pointerUp=function(z){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ce.prototype.pointerUp.call(this,z)},ie.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)},ie.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ce.prototype.select.call(this)},ie.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ce.prototype.deselect.call(this)},ie.prototype.finishCreation=function(){for(var z=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ee=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ne=ee[0],te=ee[1],ue=ee[2],me=ee[3],Se=!1,Dt=0;Dt<this.canvasElement.height;Dt++)for(var Ue=0;Ue<this.canvasElement.width;Ue++)z.data[Dt*this.canvasElement.width*4+4*Ue+3]>0&&(Se=!0,Dt<te&&(te=Dt),Ue<ne&&(ne=Ue),Dt>me&&(me=Dt),Ue>ue&&(ue=Ue));if(Se){this.left=ne/this.pixelRatio,this.top=te/this.pixelRatio,this.width=(ue-ne)/this.pixelRatio,this.height=(me-te)/this.pixelRatio;var $e=document.createElement("canvas");$e.width=ue-ne,$e.height=me-te,$e.getContext("2d").putImageData(this.canvasContext.getImageData(ne,te,ue-ne,me-te),0,0),this.drawingImgUrl=$e.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ie.prototype.setDrawingImage=function(){fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ie.prototype.setColor=function(z){this.color=z,this.colorChanged(z)},ie.prototype.setLineWidth=function(z){this.lineWidth=z},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({drawingImgUrl:this.drawingImgUrl},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){this.createVisual(),ce.prototype.restoreState.call(this,z),this.drawingImgUrl=z.drawingImgUrl,this.setDrawingImage()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.setDrawingImage()},ie.typeName="FreehandMarker",ie.title="Freehand marker",ie.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>',ie}(ke),Je=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ne||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return te.typeBoxes=[],te.currentType=ee,te.setCurrentType=te.setCurrentType.bind(te),te}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2";for(var ne=function(me){var Se="both";switch(me){case 0:Se="both";break;case 1:Se="start";break;case 2:Se="end";break;case 3:Se="none"}var Dt=document.createElement("div");if(Dt.style.display="flex",Dt.style.flexGrow="2",Dt.style.alignItems="center",Dt.style.justifyContent="space-between",Dt.style.padding="5px",Dt.style.borderWidth="2px",Dt.style.borderStyle="solid",Dt.style.borderColor=Se===te.currentType?te.uiStyleSettings.toolboxAccentColor:"transparent",Dt.addEventListener("click",function(){z.setCurrentType(Se,Dt)}),ee.appendChild(Dt),Se==="both"||Se==="start"){var Ue=document.createElement("div");Ue.style.display="flex",Ue.style.alignItems="center",Ue.style.minHeight="20px",Ue.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="`+(te.uiStyleSettings!==void 0?te.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,Ue.style.marginLeft="5px",Dt.appendChild(Ue)}var $e=document.createElement("div");$e.style.display="flex",$e.style.alignItems="center",$e.style.minHeight="20px",$e.style.flexGrow="2";var ot=document.createElement("hr");if(ot.style.minWidth="20px",ot.style.border="0px",ot.style.borderTop="3px solid "+(te.uiStyleSettings!==void 0?te.uiStyleSettings.toolboxColor:"#eeeeee"),ot.style.flexGrow="2",$e.appendChild(ot),Dt.appendChild($e),Se==="both"||Se==="end"){var vt=document.createElement("div");vt.style.display="flex",vt.style.alignItems="center",vt.style.minHeight="20px",vt.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="`+(te.uiStyleSettings!==void 0?te.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,vt.style.marginRight="5px",Dt.appendChild(vt)}te.typeBoxes.push(Dt)},te=this,ue=0;ue<4;ue++)ne(ue);return ee},ie.prototype.setCurrentType=function(z,ee){var ne=this;this.currentType=z,this.typeBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ie}(Ye),Rt=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.arrowType="end",te.arrowBaseHeight=10,te.arrowBaseWidth=10,te.getArrowPoints=te.getArrowPoints.bind(te),te.setArrowType=te.setArrowType.bind(te),te.arrowTypePanel=new Je("Arrow type","end"),te.arrowTypePanel.onArrowTypeChanged=te.setArrowType,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.arrow1&&z!==this.arrow2)},ie.prototype.getArrowPoints=function(z,ee){var ne=this.arrowBaseWidth+2*this.strokeWidth,te=this.arrowBaseHeight+2*this.strokeWidth;return z-ne/2+","+(ee+te/2)+" "+z+","+(ee-te/2)+" "+(z+ne/2)+","+(ee+te/2)},ie.prototype.createTips=function(){this.arrow1=fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow2)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.state==="creating"&&this.createTips()},ie.prototype.adjustVisual=function(){if(ce.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",fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),fe.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 ee=this.arrow1.transform.baseVal.getItem(0);ee.setRotate(z,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ee,0);var ne=this.arrow2.transform.baseVal.getItem(0);ne.setRotate(z+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ne,0)}},ie.prototype.setArrowType=function(z){this.arrowType=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({arrowType:this.arrowType},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z);var ee=z;this.arrowType=ee.arrowType,this.createTips(),this.adjustVisual()},ie.typeName="ArrowMarker",ie.title="Arrow marker",ie.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ie}(ze),ht=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.fillColor=ne.defaultFillColor,te.strokeWidth=0,te.fillPanel=new He("Color",ne.defaultColorSet,ne.defaultFillColor),te.fillPanel.onColorChanged=te.setFillColor,te}return Ne(ie,ce),Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=ce.prototype.getState.call(this);return z.typeName=ie.typeName,z},ie.typeName="CoverMarker",ie.title="Cover marker",ie.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ie}(be),mt=function(ce){function ie(z,ee,ne,te){var ue=ce.call(this,z,te||'<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 ue.opacities=[],ue.opacityBoxes=[],ue.opacities=ee,ue.currentOpacity=ne,ue.setCurrentOpacity=ue.setCurrentOpacity.bind(ue),ue}return Ne(ie,ce),ie.prototype.getUi=function(){var z=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",ee.style.justifyContent="space-between",this.opacities.forEach(function(ne){var te=document.createElement("div");te.style.display="flex",te.style.alignItems="center",te.style.justifyContent="center",te.style.padding="5px",te.style.borderWidth="2px",te.style.borderStyle="solid",te.style.borderColor=ne===z.currentOpacity?z.uiStyleSettings.toolboxAccentColor:"transparent",te.addEventListener("click",function(){z.setCurrentOpacity(ne,te)}),ee.appendChild(te);var ue=document.createElement("div");ue.innerText=100*ne+"%",te.appendChild(ue),z.opacityBoxes.push(te)}),ee},ie.prototype.setCurrentOpacity=function(z,ee){var ne=this;this.currentOpacity=z,this.opacityBoxes.forEach(function(te){te.style.borderColor=te===ee?ne.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ie}(Ye),St=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.setOpacity=te.setOpacity.bind(te),te.fillColor=ne.defaultHighlightColor,te.strokeWidth=0,te.opacity=ne.defaultHighlightOpacity,te.fillPanel=new He("Color",ne.defaultColorSet,te.fillColor),te.fillPanel.onColorChanged=te.setFillColor,te.opacityPanel=new mt("Opacity",ne.defaultOpacitySteps,te.opacity),te.opacityPanel.onOpacityChanged=te.setOpacity,te}return Ne(ie,ce),ie.prototype.setOpacity=function(z){this.opacity=z,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=ce.prototype.getState.call(this);return z.typeName=ie.typeName,z},ie.typeName="HighlightMarker",ie.title="Highlight marker",ie.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>',ie}(ht),xe='<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>',qe=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.bgColor="transparent",te.tipPosition={x:0,y:0},te.tipBase1Position={x:0,y:0},te.tipBase2Position={x:0,y:0},te.tipMoving=!1,te.color=ne.defaultStrokeColor,te.bgColor=ne.defaultFillColor,te.fontFamily=ne.defaultFontFamily,te.defaultSize={x:100,y:30},te.setBgColor=te.setBgColor.bind(te),te.getTipPoints=te.getTipPoints.bind(te),te.positionTip=te.positionTip.bind(te),te.setTipPoints=te.setTipPoints.bind(te),te.colorPanel=new He("Text color",ne.defaultColorSet,te.color,xe),te.colorPanel.onColorChanged=te.setColor,te.bgColorPanel=new He("Fill color",ne.defaultColorSet,te.bgColor,he),te.bgColorPanel.onColorChanged=te.setBgColor,te.fontFamilyPanel=new Ze("Font",ne.defaultFontFamilies,ne.defaultFontFamily),te.fontFamilyPanel.onFontChanged=te.setFont,te.tipGrip=new at,te.tipGrip.visual.transform.baseVal.appendItem(fe.createTransform()),te.controlBox.appendChild(te.tipGrip.visual),te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return ce.prototype.ownsTarget.call(this,z)||this.tipGrip.ownsTarget(z)||this.tip===z},ie.prototype.createTip=function(){fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ie.prototype.pointerDown=function(z,ee){this.state==="new"&&ce.prototype.pointerDown.call(this,z,ee),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ee)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ce.prototype.pointerDown.call(this,z,ee)},ie.prototype.pointerUp=function(z){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ce.prototype.pointerUp.call(this,z);else{var ee=this.state==="creating";ce.prototype.pointerUp.call(this,z),this.setTipPoints(ee),this.positionTip()}},ie.prototype.manipulate=function(z){if(this.tipMoving){var ee=this.unrotatePoint(z);this.tipPosition={x:ee.x-this.manipulationStartLeft,y:ee.y-this.manipulationStartTop},this.positionTip()}else ce.prototype.manipulate.call(this,z)},ie.prototype.setBgColor=function(z){this.bgRectangle&&this.tip&&(fe.setAttributes(this.bgRectangle,[["fill",z]]),fe.setAttributes(this.tip,[["fill",z]])),this.bgColor=z,this.fillColorChanged(z)},ie.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},ie.prototype.setTipPoints=function(z){z===void 0&&(z=!1);var ee=Math.min(this.height/2,15),ne=this.height/5;z&&(this.tipPosition={x:ee+ne/2,y:this.height+20});var te=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?te<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(ne=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:0},this.tipBase2Position={x:ee+ne,y:0}):(this.tipBase1Position={x:0,y:ee},this.tipBase2Position={x:0,y:ee+ne}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?te<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(ne=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-ne,y:0},this.tipBase2Position={x:this.width-ee,y:0}):(this.tipBase1Position={x:this.width,y:ee},this.tipBase2Position={x:this.width,y:ee+ne}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?te<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(ne=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-ne,y:this.height},this.tipBase2Position={x:this.width-ee,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ee-ne},this.tipBase2Position={x:this.width,y:this.height-ee}):te<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(ne=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:this.height},this.tipBase2Position={x:ee+ne,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ee},this.tipBase2Position={x:0,y:this.height-ee-ne})},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),this.positionTip()},ie.prototype.positionTip=function(){fe.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(ie.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ie.prototype.select=function(){this.positionTip(),ce.prototype.select.call(this)},ie.prototype.getState=function(){var z=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){var ee=z;this.bgColor=ee.bgColor,this.tipPosition=ee.tipPosition,ce.prototype.restoreState.call(this,z),this.createTip(),this.setTipPoints()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.tipPosition={x:this.tipPosition.x*z,y:this.tipPosition.y*ee},this.positionTip()},ie.typeName="CalloutMarker",ie.title="Callout marker",ie.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>',ie}(_e),Tt=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.fillColor="transparent",te.strokeColor="transparent",te.strokeWidth=0,te.strokeDasharray="",te.opacity=1,te.strokeColor=ne.defaultColor,te.strokeWidth=ne.defaultStrokeWidth,te.strokeDasharray=ne.defaultStrokeDasharray,te.fillColor=ne.defaultFillColor,te.setStrokeColor=te.setStrokeColor.bind(te),te.setFillColor=te.setFillColor.bind(te),te.setStrokeWidth=te.setStrokeWidth.bind(te),te.setStrokeDasharray=te.setStrokeDasharray.bind(te),te.setOpacity=te.setOpacity.bind(te),te.createVisual=te.createVisual.bind(te),te.strokePanel=new He("Line color",Ee(ne.defaultColorSet,["transparent"]),ne.defaultColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.fillPanel=new He("Fill color",Ee(ne.defaultColorSet,["transparent"]),te.fillColor,he),te.fillPanel.onColorChanged=te.setFillColor,te.strokeWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ge("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te.opacityPanel=new mt("Opacity",ne.defaultOpacitySteps,te.opacity),te.opacityPanel.onOpacityChanged=te.setOpacity,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ie.prototype.createVisual=function(){this.visual=fe.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)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ie.prototype.manipulate=function(z){ce.prototype.manipulate.call(this,z)},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),this.setSize()},ie.prototype.setSize=function(){ce.prototype.setSize.call(this),fe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ie.prototype.pointerUp=function(z){ce.prototype.pointerUp.call(this,z),this.setSize()},ie.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ie.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ie.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ie.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ie.prototype.setOpacity=function(z){this.opacity=z,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){var ee=z;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.opacity=ee.opacity,this.createVisual(),ce.prototype.restoreState.call(this,z),this.setSize()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.setSize()},ie.typeName="EllipseMarker",ie.title="Ellipse marker",ie.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>',ie}(ke),Mt=function(ce){function ie(z,ee,ne){return ce.call(this,z,ee,ne)||this}return Ne(ie,ce),Object.defineProperty(ie.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.tip1&&z!==this.tip2)},ie.prototype.createTips=function(){this.tip1=fe.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(fe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=fe.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(fe.createTransform()),this.visual.appendChild(this.tip2)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.state==="creating"&&this.createTips()},ie.prototype.adjustVisual=function(){if(ce.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(fe.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()]]),fe.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),ee=this.tip1.transform.baseVal.getItem(0);ee.setRotate(z,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ee,0);var ne=this.tip2.transform.baseVal.getItem(0);ne.setRotate(z+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ne,0)}},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=ce.prototype.getState.call(this);return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z),this.createTips(),this.adjustVisual()},ie.typeName="MeasurementMarker",ie.title="Measurement marker",ie.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>',ie}(ze),Xe=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.strokePanel.colors=ne.defaultColorSet,te.fillColor="transparent",te}return Ne(ie,ce),Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=ce.prototype.getState.call(this);return z.typeName=ie.typeName,z},ie.typeName="EllipseFrameMarker",ie.title="Ellipse frame marker",ie.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>',ie}(Tt),Ct=function(){function ce(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ce.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ce.prototype.addUndoStep=function(ie){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ie)||(this.undoStack.push(ie),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ie)&&this.redoStack.splice(0,this.redoStack.length))},ce.prototype.replaceLastUndoStep=function(ie){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ie)},ce.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ce.prototype.undo=function(){if(this.undoStack.length>1){var ie=this.undoStack.pop();return ie!==void 0&&this.redoStack.push(ie),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ce.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ce}(),tt=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.strokeColor="transparent",te.strokeWidth=0,te.strokeDasharray="",te.curveX=0,te.curveY=0,te.manipulationStartCurveX=0,te.manipulationStartCurveY=0,te.setStrokeColor=te.setStrokeColor.bind(te),te.setStrokeWidth=te.setStrokeWidth.bind(te),te.setStrokeDasharray=te.setStrokeDasharray.bind(te),te.positionGrips=te.positionGrips.bind(te),te.addControlGrips=te.addControlGrips.bind(te),te.adjustVisual=te.adjustVisual.bind(te),te.setupControlBox=te.setupControlBox.bind(te),te.resize=te.resize.bind(te),te.strokeColor=ne.defaultColor,te.strokeWidth=ne.defaultStrokeWidth,te.strokeDasharray=ne.defaultStrokeDasharray,te.strokePanel=new He("Line color",ne.defaultColorSet,ne.defaultColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.strokeWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ge("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorCurve&&z!==this.visibleCurve&&!this.curveGrip.ownsTarget(z))},ie.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ie.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorCurve=fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=fe.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)},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),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(ee)&&(this.activeGrip=this.curveGrip,this._state="resize")},ie.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ie.prototype.setupControlBox=function(){ce.prototype.setupControlBox.call(this),this.curveControlLine1=fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=fe.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)},ie.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ce.prototype.addControlGrips.call(this)},ie.prototype.positionGrips=function(){ce.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()))},ie.prototype.manipulate=function(z){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+z.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+z.y-this.manipulationStartY),ce.prototype.manipulate.call(this,z)},ie.prototype.resize=function(z){this.activeGrip===this.curveGrip&&(this.curveX=z.x,this.curveY=z.y),ce.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)},ie.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ie.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ie.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual()},ie.prototype.scale=function(z,ee){this.curveX=this.curveX*z,this.curveY=this.curveY*ee,ce.prototype.scale.call(this,z,ee)},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ie.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ce.prototype.getState.call(this));return z.typeName=ie.typeName,z},ie.prototype.restoreState=function(z){ce.prototype.restoreState.call(this,z);var ee=z;this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.curveX=ee.curveX,this.curveY=ee.curveY,this.createVisual(),this.adjustVisual()},ie.typeName="CurveMarker",ie.title="Curve marker",ie.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>',ie}(Ae),Ht=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,ee,ne)||this;return te.fillColor="transparent",te.strokeColor="transparent",te.strokeWidth=0,te.strokeDasharray="",te.textColor="transparent",te.fontSize="1rem",te.isMoved=!1,te.captionText="Caption",te.PADDING=5,te.captionBoxWidth=0,te.captionBoxHeight=0,te.strokeColor=ne.defaultColor,te.strokeWidth=ne.defaultStrokeWidth,te.strokeDasharray=ne.defaultStrokeDasharray,te.fillColor=ne.defaultFillColor,te.textColor=ne.defaultStrokeColor,te.fontFamily=ne.defaultFontFamily,te.fontSize=ne.defaultCaptionFontSize,te.captionText=ne.defaultCaptionText,te.setStrokeColor=te.setStrokeColor.bind(te),te.setFillColor=te.setFillColor.bind(te),te.setStrokeWidth=te.setStrokeWidth.bind(te),te.setStrokeDasharray=te.setStrokeDasharray.bind(te),te.createVisual=te.createVisual.bind(te),te.sizeCaption=te.sizeCaption.bind(te),te.setCaptionText=te.setCaptionText.bind(te),te.showTextEditor=te.showTextEditor.bind(te),te.positionTextEditor=te.positionTextEditor.bind(te),te.finishTextEditing=te.finishTextEditing.bind(te),te.setFont=te.setFont.bind(te),te.setTextColor=te.setTextColor.bind(te),te.strokePanel=new He("Line color",Ee(ne.defaultColorSet,["transparent"]),te.strokeColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.fillPanel=new He("Fill color",Ee(ne.defaultColorSet,["transparent"]),te.fillColor,he),te.fillPanel.onColorChanged=te.setFillColor,te.strokeWidthPanel=new Ve("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ge("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te.fontFamilyPanel=new Ze("Font",ne.defaultFontFamilies,ne.defaultFontFamily),te.fontFamilyPanel.onFontChanged=te.setFont,te.textColorPanel=new He("Text color",ne.defaultColorSet,te.textColor,xe),te.textColorPanel.onColorChanged=te.setTextColor,te}return Ne(ie,ce),ie.prototype.ownsTarget=function(z){return!(!ce.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.frame&&z!==this.captionBg&&z!==this.captionElement)},ie.prototype.createVisual=function(){this.visual=fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=fe.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=fe.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()},ie.prototype.setCaptionText=function(z){this.captionText=z,this.captionElement.textContent=this.captionText,this.sizeCaption()},ie.prototype.pointerDown=function(z,ee){ce.prototype.pointerDown.call(this,z,ee),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ie.prototype.manipulate=function(z){ce.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)},ie.prototype.resize=function(z){ce.prototype.resize.call(this,z),this.setSize()},ie.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),fe.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')"]]),fe.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')"]])},ie.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(ee){ee.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ee){ee.key==="Enter"&&z.finishTextEditing(z.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ee){ee.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()},ie.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"))},ie.prototype.finishTextEditing=function(z){this.setCaptionText(z.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ie.prototype.setFont=function(z){this.captionElement&&fe.setAttributes(this.captionElement,[["font-family",z]]),this.fontFamily=z,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ie.prototype.setTextColor=function(z){this.captionElement&&fe.setAttributes(this.captionElement,[["fill",z]]),this.textColor=z,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ie.prototype.setSize=function(){ce.prototype.setSize.call(this),fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ie.prototype.pointerUp=function(z){ce.prototype.pointerUp.call(this,z),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ie.prototype.dblClick=function(z,ee){ce.prototype.dblClick.call(this,z,ee),this.showTextEditor()},ie.prototype.setStrokeColor=function(z){this.strokeColor=z,this.frame&&fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ie.prototype.setFillColor=function(z){this.fillColor=z,this.captionBg&&fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ie.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.frame&&fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ie.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.frame&&fe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ie.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ie.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},ce.prototype.getState.call(this));return z.typeName=this.typeName,z},ie.prototype.restoreState=function(z){var ee=z;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.textColor=ee.textColor,this.fontFamily=ee.fontFamily,this.captionText=ee.captionText,this.fontSize=ee.fontSize,this.createVisual(),ce.prototype.restoreState.call(this,z),this.setSize()},ie.prototype.scale=function(z,ee){ce.prototype.scale.call(this,z,ee),this.setSize()},ie.typeName="CaptionFrameMarker",ie.title="Caption frame marker",ie.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>',ie}(ke),We=function(){function ce(ie,z){z===void 0&&(z=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ie,this.cancelable=z}return Object.defineProperty(ce.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ce.prototype.preventDefault=function(){this._defaultPrevented=!0},ce}(),yt=function(ce){function ie(z,ee,ne){var te=ce.call(this,z,!1)||this;return te.dataUrl=ee,te.state=ne,te}return Ne(ie,ce),ie}(We),Qe=function(ce){function ie(z,ee,ne){ne===void 0&&(ne=!1);var te=ce.call(this,z,ne)||this;return te.marker=ee,te}return Ne(ie,ce),ie}(We),Bt=function(){function ce(){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 ce.prototype.addEventListener=function(ie,z){this[ie].push(z)},ce.prototype.removeEventListener=function(ie,z){var ee=this[ie].indexOf(z);ee>-1&&this[ie].splice(ee,1)},ce}(),bt=function(){function ce(ie){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ge,this._isOpen=!1,this.undoRedoManager=new Ct,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Bt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ce.instanceCounter++,this.styles=new oe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ie,this.targetRoot=document.body,this.width=ie.clientWidth,this.height=ie.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(ce.prototype,"ALL_MARKER_TYPES",{get:function(){return[ft,Re,Rt,_e,Xe,Tt,St,qe,Mt,ht,ze,tt,Ht]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[ft,Re,Rt,_e,Tt,St,qe]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"BASIC_MARKER_TYPES",{get:function(){return[ft,Re,Rt,_e,St]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ie){var z=this;this._availableMarkerTypes.splice(0),ie.forEach(function(ee){if(typeof ee=="string"){var ne=z.ALL_MARKER_TYPES.find(function(te){return te.typeName===ee});ne!==void 0&&z._availableMarkerTypes.push(ne)}else z._availableMarkerTypes.push(ee)})},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ie){this._zoomLevel=ie,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(ce.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ce.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Oe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ce.prototype.show=function(){var ie=this;this.styles.styleSheetRoot===void 0&&Pe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Pe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(z){return z(new We(ie))})},ce.prototype.render=function(){return Te(this,void 0,void 0,function(){var ie;return Fe(this,function(z){switch(z.label){case 0:return this.setCurrentMarker(),(ie=new Ce).naturalSize=this.renderAtNaturalSize,ie.imageType=this.renderImageType,ie.imageQuality=this.renderImageQuality,ie.markersOnly=this.renderMarkersOnly,ie.width=this.renderWidth,ie.height=this.renderHeight,[4,ie.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return z.sent(),[4,ie.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,z.sent()]}})})},ce.prototype.close=function(ie){var z=this;if(ie===void 0&&(ie=!1),this.isOpen){var ee=!1;ie||this.eventListeners.beforeclose.forEach(function(ne){var te=new We(z,!0);ne(te),te.defaultPrevented&&(ee=!0)}),ee||(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(ne){return ne(new We(z))}),this.detachEvents(),this._isOpen=!1)}},ce.prototype.addMarkersToToolbar=function(){for(var ie,z=[],ee=0;ee<arguments.length;ee++)z[ee]=arguments[ee];(ie=this._availableMarkerTypes).push.apply(ie,z)},ce.prototype.addRenderEventListener=function(ie){this.addEventListener("render",function(z){ie(z.dataUrl,z.state)})},ce.prototype.removeRenderEventListener=function(ie){},ce.prototype.addCloseEventListener=function(ie){this.addEventListener("close",function(){ie()})},ce.prototype.removeCloseEventListener=function(ie){},ce.prototype.setupResizeObserver=function(){var ie=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ie.resize(ie.target.clientWidth,ie.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ie.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ce.prototype.onPopupTargetResize=function(){var ie=1*this.target.clientWidth/this.target.clientHeight,z=this.editorCanvas.clientWidth/ie>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ie:this.editorCanvas.clientWidth,ee=z<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ie;this.resize(z,ee)},ce.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ce.prototype.resize=function(ie,z){this._isResizing=!0;var ee=ie/this.imageWidth,ne=z/this.imageHeight;this.imageWidth=Math.round(ie),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(ee,ne),this._isResizing=!1},ce.prototype.scaleMarkers=function(ie,z){var ee,ne=this;this._currentMarker&&this._currentMarker instanceof _e?this._currentMarker.scale(ie,z):(ee=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(te){te!==ne._currentMarker&&te.scale(ie,z)}),ee!==void 0&&this.setCurrentMarker(ee)},ce.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"},ce.prototype.setTopLeft=function(){var ie=this.editingTarget.getBoundingClientRect(),z=this.editorCanvas.getBoundingClientRect();this.left=ie.left-z.left,this.top=ie.top-z.top},ce.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)},ce.prototype.addDefs=function(){for(var ie,z=[],ee=0;ee<arguments.length;ee++)z[ee]=arguments[ee];this.defs=fe.createDefs(),this.addDefsToImage(),(ie=this.defs).append.apply(ie,z)},ce.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ce.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)},ce.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ce.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ce.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)},ce.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ce.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)},ce.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 ie=document.createElement("a");ie.href="https://markerjs.com/",ie.target="_blank",ie.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>',ie.title="Powered by marker.js",ie.style.display="grid",ie.style.alignItems="center",ie.style.justifyItems="center",ie.style.padding="3px",ie.style.width="20px",ie.style.height="20px",this.logoUI.appendChild(ie),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ce.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")},ce.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"},ce.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ce.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 ie=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=ie+"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 Ke(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 Ie(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ce.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ce.prototype.removeMarker=function(ie){this.markerImage.removeChild(ie.container),this.markers.indexOf(ie)>-1&&this.markers.splice(this.markers.indexOf(ie),1),ie.dispose()},ce.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())},ce.prototype.toolbarButtonClicked=function(ie,z){if(ie==="marker"&&z!==void 0)this.createNewMarker(z);else if(ie==="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()}},ce.prototype.deleteSelectedMarker=function(){var ie=this;if(this._currentMarker!==void 0){var z=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ne){var te=new Qe(ie,ie._currentMarker,!0);ne(te),te.defaultPrevented&&(z=!0)}),!z){var ee=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(ne){return ne(new Qe(ie,ee))})}}},ce.prototype.clear=function(){var ie=this,z=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(ue){var me=new Qe(ie,void 0,!0);ue(me),me.defaultPrevented&&(z=!0)}),!z)){this.setCurrentMarker();for(var ee=function(ue){var me=ne.markers[ue];ne.setCurrentMarker(ne.markers[ue]),ne._currentMarker.dispose(),ne.markerImage.removeChild(ne._currentMarker.container),ne.markers.splice(ne.markers.indexOf(ne._currentMarker),1),ne.eventListeners.markerdelete.forEach(function(Se){return Se(new Qe(ie,me))})},ne=this,te=this.markers.length-1;te>=0;te--)ee(te);this.addUndoStep()}},Object.defineProperty(ce.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ce.prototype.showNotesEditor=function(){var ie;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=(ie=this._currentMarker.notes)!==null&&ie!==void 0?ie:"",this.overlayContainer.appendChild(this.notesArea))},ce.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)},ce.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ce.prototype.addUndoStep=function(){var ie=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var z=this.getState(),ee=this.undoRedoManager.getLastUndoStep();if(!ee||ee.width===z.width&&ee.height===z.height){var ne=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(z),ne<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(te){return te(new We(ie))})}else this.undoRedoManager.replaceLastUndoStep(z),this.eventListeners.statechange.forEach(function(te){return te(new We(ie))})}},ce.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ce.prototype.undoStep=function(){var ie=this,z=this.undoRedoManager.undo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ee){return ee(new We(ie))}))},ce.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ce.prototype.redoStep=function(){var ie=this,z=this.undoRedoManager.redo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ee){return ee(new We(ie))}))},ce.prototype.stepZoom=function(){var ie=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ie<this.zoomSteps.length-1?this.zoomSteps[ie+1]:this.zoomSteps[0]},ce.prototype.panTo=function(ie){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ie.x,top:this.prevPanPoint.y-ie.y}),this.prevPanPoint=ie},ce.prototype.startRenderAndClose=function(){return Te(this,void 0,void 0,function(){var ie,z,ee=this;return Fe(this,function(ne){switch(ne.label){case 0:return[4,this.render()];case 1:return ie=ne.sent(),z=this.getState(),this.eventListeners.render.forEach(function(te){return te(new yt(ee,ie,z))}),this.close(!0),[2]}})})},ce.prototype.getState=function(ie){ie===!0&&this.setCurrentMarker();var z={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ee){return z.markers.push(ee.getState())}),z},ce.prototype.restoreState=function(ie){var z=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ie.markers.forEach(function(ee){var ne=z._availableMarkerTypes.find(function(ue){return ue.typeName===ee.typeName});if(ne!==void 0){var te=z.addNewMarker(ne);te.restoreState(ee),z.markers.push(te)}}),ie.width&&ie.height&&(ie.width!==this.imageWidth||ie.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ie.width,this.imageHeight/ie.height),this.eventListeners.restorestate.forEach(function(ee){return ee(new We(z))})},ce.prototype.addNewMarker=function(ie){var z=fe.createGroup();return this.markerImage.appendChild(z),new ie(z,this.overlayContainer,this.settings)},ce.prototype.createNewMarker=function(ie){var z,ee=this;(z=typeof ie=="string"?this._availableMarkerTypes.find(function(ne){return ne.typeName===ie}):ie)&&(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(ne){return ne(new Qe(ee,ee._currentMarker))}))},ce.prototype.markerCreated=function(ie){var z=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ie),this.setCurrentMarker(ie),ie instanceof Re&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Re):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ee){return ee(new Qe(z,z._currentMarker))})},ce.prototype.colorChanged=function(ie){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ie,this.settings.defaultStrokeColor=ie)},ce.prototype.fillColorChanged=function(ie){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ie)},ce.prototype.markerStateChanged=function(ie){var z=this;this.eventListeners.markerchange.forEach(function(ee){return ee(new Qe(z,ie))})},ce.prototype.setCurrentMarker=function(ie){var z=this;this._currentMarker!==ie&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ee){return ee(new Qe(z,z._currentMarker))})),this._currentMarker=ie,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(ee){return ee(new Qe(z,z._currentMarker))}))},ce.prototype.onPointerDown=function(ie){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ie.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(ee){return ee.ownsTarget(ie.target)});z!==void 0?(this.setCurrentMarker(z),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ie.clientX,ie.clientY),ie.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ie.clientX,y:ie.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ie.clientX,ie.clientY))},ce.prototype.onDblClick=function(ie){if(this._isFocused||this.focus(),this.mode==="select"){var z=this.markers.find(function(ee){return ee.ownsTarget(ie.target)});z!==void 0&&z!==this._currentMarker&&this.setCurrentMarker(z),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ie.clientX,ie.clientY),ie.target):this.setCurrentMarker()}},ce.prototype.onPointerMove=function(ie){this.touchPoints!==1&&ie.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ie.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ie.clientX,ie.clientY)):this.zoomLevel>1&&this.panTo({x:ie.clientX,y:ie.clientY}))},ce.prototype.onPointerUp=function(ie){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ie.clientX,ie.clientY)),this.isDragging=!1,this.addUndoStep()},ce.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ce.prototype.onKeyUp=function(ie){this._currentMarker===void 0||this.notesArea!==void 0||ie.key!=="Delete"&&ie.key!=="Backspace"||this.deleteSelectedMarker()},ce.prototype.clientToLocalCoordinates=function(ie,z){var ee=this.markerImage.getBoundingClientRect();return{x:(ie-ee.left)/this.zoomLevel,y:(z-ee.top)/this.zoomLevel}},ce.prototype.onWindowResize=function(){this.positionUI()},ce.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ie=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ie+"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()},ce.prototype.addLicenseKey=function(ie){Oe.addKey(ie)},ce.prototype.addEventListener=function(ie,z){this.eventListeners.addEventListener(ie,z)},ce.prototype.removeEventListener=function(ie,z){this.eventListeners.removeEventListener(ie,z)},ce.prototype.renderState=function(ie){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ie),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ce.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ce.prototype.focus=function(){var ie=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 We(ie))}))},ce.prototype.blur=function(){var ie=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(z){return z(new We(ie))}))},ce.instanceCounter=0,ce}()},66042:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return _e}});var re=se(27247),Ne=se(11913),Te=se(43403),Fe=se(34280),Ee=se(59301),fe=Ee.createContext(null),Oe=Ee.createContext({}),Ce=fe,Pe=se(74430),oe=se(32855),nt=se(92310),ye=se.n(nt),Ke=se(77900),Ie=se(10228),Ye=se(26112),He=se(43079),je=se(8654),st=["prefixCls","className","containerRef"],at=function(Je){var Rt=Je.prefixCls,ht=Je.className,mt=Je.containerRef,St=(0,He.Z)(Je,st),xe=Ee.useContext(Oe),he=xe.panel,qe=(0,je.x1)(he,mt);return Ee.createElement("div",(0,oe.Z)({className:ye()("".concat(Rt,"-content"),ht),role:"dialog",ref:qe},(0,Ye.Z)(Je,{aria:!0}),{"aria-modal":"true"},St))},rt=at,ke=se(48736);function be(Re){return typeof Re=="string"&&String(Number(Re))===Re?((0,ke.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Re)):Re}function Ve(Re){warning(!("wrapperClassName"in Re),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Re.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ge={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ft(Re,Je){var Rt,ht,mt,St=Re.prefixCls,xe=Re.open,he=Re.placement,qe=Re.inline,Tt=Re.push,Mt=Re.forceRender,Xe=Re.autoFocus,Ct=Re.keyboard,tt=Re.classNames,Ht=Re.rootClassName,We=Re.rootStyle,yt=Re.zIndex,Qe=Re.className,Bt=Re.id,bt=Re.style,ce=Re.motion,ie=Re.width,z=Re.height,ee=Re.children,ne=Re.mask,te=Re.maskClosable,ue=Re.maskMotion,me=Re.maskClassName,Se=Re.maskStyle,Dt=Re.afterOpenChange,Ue=Re.onClose,$e=Re.onMouseEnter,ot=Re.onMouseOver,vt=Re.onMouseLeave,zt=Re.onClick,tn=Re.onKeyDown,jt=Re.onKeyUp,on=Re.styles,Jt=Re.drawerRender,Pt=Ee.useRef(),ct=Ee.useRef(),Ut=Ee.useRef();Ee.useImperativeHandle(Je,function(){return Pt.current});var _t=function(Qt){var It=Qt.keyCode,Nt=Qt.shiftKey;switch(It){case Ie.Z.TAB:{if(It===Ie.Z.TAB){if(!Nt&&document.activeElement===Ut.current){var kt;(kt=ct.current)===null||kt===void 0||kt.focus({preventScroll:!0})}else if(Nt&&document.activeElement===ct.current){var mn;(mn=Ut.current)===null||mn===void 0||mn.focus({preventScroll:!0})}}break}case Ie.Z.ESC:{Ue&&Ct&&(Qt.stopPropagation(),Ue(Qt));break}}};Ee.useEffect(function(){if(xe&&Xe){var Ft;(Ft=Pt.current)===null||Ft===void 0||Ft.focus({preventScroll:!0})}},[xe]);var gn=Ee.useState(!1),Mn=(0,Ne.Z)(gn,2),jn=Mn[0],yn=Mn[1],Xn=Ee.useContext(Ce),Qn;typeof Tt=="boolean"?Qn=Tt?{}:{distance:0}:Qn=Tt||{};var cr=(Rt=(ht=(mt=Qn)===null||mt===void 0?void 0:mt.distance)!==null&&ht!==void 0?ht:Xn==null?void 0:Xn.pushDistance)!==null&&Rt!==void 0?Rt:180,Br=Ee.useMemo(function(){return{pushDistance:cr,push:function(){yn(!0)},pull:function(){yn(!1)}}},[cr]);Ee.useEffect(function(){if(xe){var Ft;Xn==null||(Ft=Xn.push)===null||Ft===void 0||Ft.call(Xn)}else{var Qt;Xn==null||(Qt=Xn.pull)===null||Qt===void 0||Qt.call(Xn)}},[xe]),Ee.useEffect(function(){return function(){var Ft;Xn==null||(Ft=Xn.pull)===null||Ft===void 0||Ft.call(Xn)}},[]);var ar=ne&&Ee.createElement(Ke.default,(0,oe.Z)({key:"mask"},ue,{visible:xe}),function(Ft,Qt){var It=Ft.className,Nt=Ft.style;return Ee.createElement("div",{className:ye()("".concat(St,"-mask"),It,tt==null?void 0:tt.mask,me),style:(0,re.Z)((0,re.Z)((0,re.Z)({},Nt),Se),on==null?void 0:on.mask),onClick:te&&xe?Ue:void 0,ref:Qt})}),Lr=typeof ce=="function"?ce(he):ce,Er={};if(jn&&cr)switch(he){case"top":Er.transform="translateY(".concat(cr,"px)");break;case"bottom":Er.transform="translateY(".concat(-cr,"px)");break;case"left":Er.transform="translateX(".concat(cr,"px)");break;default:Er.transform="translateX(".concat(-cr,"px)");break}he==="left"||he==="right"?Er.width=be(ie):Er.height=be(z);var Wn={onMouseEnter:$e,onMouseOver:ot,onMouseLeave:vt,onClick:zt,onKeyDown:tn,onKeyUp:jt},Ir=Ee.createElement(Ke.default,(0,oe.Z)({key:"panel"},Lr,{visible:xe,forceRender:Mt,onVisibleChanged:function(Qt){Dt==null||Dt(Qt)},removeOnLeave:!1,leavedClassName:"".concat(St,"-content-wrapper-hidden")}),function(Ft,Qt){var It=Ft.className,Nt=Ft.style,kt=Ee.createElement(rt,(0,oe.Z)({id:Bt,containerRef:Qt,prefixCls:St,className:ye()(Qe,tt==null?void 0:tt.content),style:(0,re.Z)((0,re.Z)({},bt),on==null?void 0:on.content)},(0,Ye.Z)(Re,{aria:!0}),Wn),ee);return Ee.createElement("div",(0,oe.Z)({className:ye()("".concat(St,"-content-wrapper"),tt==null?void 0:tt.wrapper,It),style:(0,re.Z)((0,re.Z)((0,re.Z)({},Er),Nt),on==null?void 0:on.wrapper)},(0,Ye.Z)(Re,{data:!0})),Jt?Jt(kt):kt)}),Or=(0,re.Z)({},We);return yt&&(Or.zIndex=yt),Ee.createElement(Ce.Provider,{value:Br},Ee.createElement("div",{className:ye()(St,"".concat(St,"-").concat(he),Ht,(0,Pe.Z)((0,Pe.Z)({},"".concat(St,"-open"),xe),"".concat(St,"-inline"),qe)),style:Or,tabIndex:-1,ref:Pt,onKeyDown:_t},ar,Ee.createElement("div",{tabIndex:0,ref:ct,style:Ge,"aria-hidden":"true","data-sentinel":"start"}),Ir,Ee.createElement("div",{tabIndex:0,ref:Ut,style:Ge,"aria-hidden":"true","data-sentinel":"end"})))}var ge=Ee.forwardRef(ft),Ae=ge,ze=function(Je){var Rt=Je.open,ht=Rt===void 0?!1:Rt,mt=Je.prefixCls,St=mt===void 0?"rc-drawer":mt,xe=Je.placement,he=xe===void 0?"right":xe,qe=Je.autoFocus,Tt=qe===void 0?!0:qe,Mt=Je.keyboard,Xe=Mt===void 0?!0:Mt,Ct=Je.width,tt=Ct===void 0?378:Ct,Ht=Je.mask,We=Ht===void 0?!0:Ht,yt=Je.maskClosable,Qe=yt===void 0?!0:yt,Bt=Je.getContainer,bt=Je.forceRender,ce=Je.afterOpenChange,ie=Je.destroyOnClose,z=Je.onMouseEnter,ee=Je.onMouseOver,ne=Je.onMouseLeave,te=Je.onClick,ue=Je.onKeyDown,me=Je.onKeyUp,Se=Je.panelRef,Dt=Ee.useState(!1),Ue=(0,Ne.Z)(Dt,2),$e=Ue[0],ot=Ue[1],vt=Ee.useState(!1),zt=(0,Ne.Z)(vt,2),tn=zt[0],jt=zt[1];(0,Fe.Z)(function(){jt(!0)},[]);var on=tn?ht:!1,Jt=Ee.useRef(),Pt=Ee.useRef();(0,Fe.Z)(function(){on&&(Pt.current=document.activeElement)},[on]);var ct=function(jn){var yn;if(ot(jn),ce==null||ce(jn),!jn&&Pt.current&&!((yn=Jt.current)!==null&&yn!==void 0&&yn.contains(Pt.current))){var Xn;(Xn=Pt.current)===null||Xn===void 0||Xn.focus({preventScroll:!0})}},Ut=Ee.useMemo(function(){return{panel:Se}},[Se]);if(!bt&&!$e&&!on&&ie)return null;var _t={onMouseEnter:z,onMouseOver:ee,onMouseLeave:ne,onClick:te,onKeyDown:ue,onKeyUp:me},gn=(0,re.Z)((0,re.Z)({},Je),{},{open:on,prefixCls:St,placement:he,autoFocus:Tt,keyboard:Xe,width:tt,mask:We,maskClosable:Qe,inline:Bt===!1,afterOpenChange:ct,ref:Jt},_t);return Ee.createElement(Oe.Provider,{value:Ut},Ee.createElement(Te.Z,{open:on||bt||$e,autoDestroy:!1,getContainer:Bt,autoLock:We&&(on||$e)},Ee.createElement(Ae,gn)))},Ze=ze,_e=Ze},23425:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ge}});var re=se(74430),Ne=se(32855),Te=se(34666),Fe=se(27247),Ee=se(11913),fe=se(92310),Oe=se.n(fe),Ce=se(18929),Pe=se(10228),oe=se(26112),nt=se(48736),ye=se(59301),Ke=se(17119),Ie=[10,20,50,100],Ye=function(ge){var Ae=ge.pageSizeOptions,ze=Ae===void 0?Ie:Ae,Ze=ge.locale,_e=ge.changeSize,Re=ge.pageSize,Je=ge.goButton,Rt=ge.quickGo,ht=ge.rootPrefixCls,mt=ge.disabled,St=ge.buildOptionText,xe=ge.showSizeChanger,he=ge.sizeChangerRender,qe=ye.useState(""),Tt=(0,Ee.Z)(qe,2),Mt=Tt[0],Xe=Tt[1],Ct=function(){return!Mt||Number.isNaN(Mt)?void 0:Number(Mt)},tt=typeof St=="function"?St:function(z){return"".concat(z," ").concat(Ze.items_per_page)},Ht=function(ee){Xe(ee.target.value)},We=function(ee){Je||Mt===""||(Xe(""),!(ee.relatedTarget&&(ee.relatedTarget.className.indexOf("".concat(ht,"-item-link"))>=0||ee.relatedTarget.className.indexOf("".concat(ht,"-item"))>=0))&&(Rt==null||Rt(Ct())))},yt=function(ee){Mt!==""&&(ee.keyCode===Pe.Z.ENTER||ee.type==="click")&&(Xe(""),Rt==null||Rt(Ct()))},Qe=function(){return ze.some(function(ee){return ee.toString()===Re.toString()})?ze:ze.concat([Re]).sort(function(ee,ne){var te=Number.isNaN(Number(ee))?0:Number(ee),ue=Number.isNaN(Number(ne))?0:Number(ne);return te-ue})},Bt="".concat(ht,"-options");if(!xe&&!Rt)return null;var bt=null,ce=null,ie=null;return xe&&he&&(bt=he({disabled:mt,size:Re,onSizeChange:function(ee){_e==null||_e(Number(ee))},"aria-label":Ze.page_size,className:"".concat(Bt,"-size-changer"),options:Qe().map(function(z){return{label:tt(z),value:z}})})),Rt&&(Je&&(ie=typeof Je=="boolean"?ye.createElement("button",{type:"button",onClick:yt,onKeyUp:yt,disabled:mt,className:"".concat(Bt,"-quick-jumper-button")},Ze.jump_to_confirm):ye.createElement("span",{onClick:yt,onKeyUp:yt},Je)),ce=ye.createElement("div",{className:"".concat(Bt,"-quick-jumper")},Ze.jump_to,ye.createElement("input",{disabled:mt,type:"text",value:Mt,onChange:Ht,onKeyUp:yt,onBlur:We,"aria-label":Ze.page}),Ze.page,ie)),ye.createElement("li",{className:Bt},bt,ce)},He=Ye,je=function(ge){var Ae=ge.rootPrefixCls,ze=ge.page,Ze=ge.active,_e=ge.className,Re=ge.showTitle,Je=ge.onClick,Rt=ge.onKeyPress,ht=ge.itemRender,mt="".concat(Ae,"-item"),St=Oe()(mt,"".concat(mt,"-").concat(ze),(0,re.Z)((0,re.Z)({},"".concat(mt,"-active"),Ze),"".concat(mt,"-disabled"),!ze),_e),xe=function(){Je(ze)},he=function(Mt){Rt(Mt,Je,ze)},qe=ht(ze,"page",ye.createElement("a",{rel:"nofollow"},ze));return qe?ye.createElement("li",{title:Re?String(ze):null,className:St,onClick:xe,onKeyDown:he,tabIndex:0},qe):null},st=je,at=function(ge,Ae,ze){return ze};function rt(){}function ke(ft){var ge=Number(ft);return typeof ge=="number"&&!Number.isNaN(ge)&&isFinite(ge)&&Math.floor(ge)===ge}function be(ft,ge,Ae){var ze=typeof ft=="undefined"?ge:ft;return Math.floor((Ae-1)/ze)+1}var Ve=function(ge){var Ae=ge.prefixCls,ze=Ae===void 0?"rc-pagination":Ae,Ze=ge.selectPrefixCls,_e=Ze===void 0?"rc-select":Ze,Re=ge.className,Je=ge.current,Rt=ge.defaultCurrent,ht=Rt===void 0?1:Rt,mt=ge.total,St=mt===void 0?0:mt,xe=ge.pageSize,he=ge.defaultPageSize,qe=he===void 0?10:he,Tt=ge.onChange,Mt=Tt===void 0?rt:Tt,Xe=ge.hideOnSinglePage,Ct=ge.align,tt=ge.showPrevNextJumpers,Ht=tt===void 0?!0:tt,We=ge.showQuickJumper,yt=ge.showLessItems,Qe=ge.showTitle,Bt=Qe===void 0?!0:Qe,bt=ge.onShowSizeChange,ce=bt===void 0?rt:bt,ie=ge.locale,z=ie===void 0?Ke.Z:ie,ee=ge.style,ne=ge.totalBoundaryShowSizeChanger,te=ne===void 0?50:ne,ue=ge.disabled,me=ge.simple,Se=ge.showTotal,Dt=ge.showSizeChanger,Ue=Dt===void 0?St>te:Dt,$e=ge.sizeChangerRender,ot=ge.pageSizeOptions,vt=ge.itemRender,zt=vt===void 0?at:vt,tn=ge.jumpPrevIcon,jt=ge.jumpNextIcon,on=ge.prevIcon,Jt=ge.nextIcon,Pt=ye.useRef(null),ct=(0,Ce.Z)(10,{value:xe,defaultValue:qe}),Ut=(0,Ee.Z)(ct,2),_t=Ut[0],gn=Ut[1],Mn=(0,Ce.Z)(1,{value:Je,defaultValue:ht,postState:function(Yr){return Math.max(1,Math.min(Yr,be(void 0,_t,St)))}}),jn=(0,Ee.Z)(Mn,2),yn=jn[0],Xn=jn[1],Qn=ye.useState(yn),cr=(0,Ee.Z)(Qn,2),Br=cr[0],ar=cr[1];(0,ye.useEffect)(function(){ar(yn)},[yn]);var Lr=Mt!==rt,Er="current"in ge,Wn=Math.max(1,yn-(yt?3:5)),Ir=Math.min(be(void 0,_t,St),yn+(yt?3:5));function Or(wr,Yr){var si=wr||ye.createElement("button",{type:"button","aria-label":Yr,className:"".concat(ze,"-item-link")});return typeof wr=="function"&&(si=ye.createElement(wr,(0,Fe.Z)({},ge))),si}function Ft(wr){var Yr=wr.target.value,si=be(void 0,_t,St),wi;return Yr===""?wi=Yr:Number.isNaN(Number(Yr))?wi=Br:Yr>=si?wi=si:wi=Number(Yr),wi}function Qt(wr){return ke(wr)&&wr!==yn&&ke(St)&&St>0}var It=St>_t?We:!1;function Nt(wr){(wr.keyCode===Pe.Z.UP||wr.keyCode===Pe.Z.DOWN)&&wr.preventDefault()}function kt(wr){var Yr=Ft(wr);switch(Yr!==Br&&ar(Yr),wr.keyCode){case Pe.Z.ENTER:Yn(Yr);break;case Pe.Z.UP:Yn(Yr-1);break;case Pe.Z.DOWN:Yn(Yr+1);break;default:break}}function mn(wr){Yn(Ft(wr))}function _n(wr){var Yr=be(wr,_t,St),si=yn>Yr&&Yr!==0?Yr:yn;gn(wr),ar(si),ce==null||ce(yn,wr),Xn(si),Mt==null||Mt(si,wr)}function Yn(wr){if(Qt(wr)&&!ue){var Yr=be(void 0,_t,St),si=wr;return wr>Yr?si=Yr:wr<1&&(si=1),si!==Br&&ar(si),Xn(si),Mt==null||Mt(si,_t),si}return yn}var Hn=yn>1,rr=yn<be(void 0,_t,St);function fr(){Hn&&Yn(yn-1)}function dr(){rr&&Yn(yn+1)}function Cr(){Yn(Wn)}function Tr(){Yn(Ir)}function Ln(wr,Yr){if(wr.key==="Enter"||wr.charCode===Pe.Z.ENTER||wr.keyCode===Pe.Z.ENTER){for(var si=arguments.length,wi=new Array(si>2?si-2:0),xi=2;xi<si;xi++)wi[xi-2]=arguments[xi];Yr.apply(void 0,wi)}}function $t(wr){Ln(wr,fr)}function $n(wr){Ln(wr,dr)}function Zr(wr){Ln(wr,Cr)}function Rr(wr){Ln(wr,Tr)}function dt(wr){var Yr=zt(wr,"prev",Or(on,"prev page"));return ye.isValidElement(Yr)?ye.cloneElement(Yr,{disabled:!Hn}):Yr}function xt(wr){var Yr=zt(wr,"next",Or(Jt,"next page"));return ye.isValidElement(Yr)?ye.cloneElement(Yr,{disabled:!rr}):Yr}function Rn(wr){(wr.type==="click"||wr.keyCode===Pe.Z.ENTER)&&Yn(Br)}var En=null,Lt=(0,oe.Z)(ge,{aria:!0,data:!0}),Sn=Se&&ye.createElement("li",{className:"".concat(ze,"-total-text")},Se(St,[St===0?0:(yn-1)*_t+1,yn*_t>St?St:yn*_t])),Zn=null,zn=be(void 0,_t,St);if(Xe&&St<=_t)return null;var ir=[],Kt={rootPrefixCls:ze,onClick:Yn,onKeyPress:Ln,showTitle:Bt,itemRender:zt,page:-1},er=yn-1>0?yn-1:0,Dn=yn+1<zn?yn+1:zn,Wr=We&&We.goButton,qn=(0,Te.Z)(me)==="object"?me.readOnly:!me,Pr=Wr,Nr=null;me&&(Wr&&(typeof Wr=="boolean"?Pr=ye.createElement("button",{type:"button",onClick:Rn,onKeyUp:Rn},z.jump_to_confirm):Pr=ye.createElement("span",{onClick:Rn,onKeyUp:Rn},Wr),Pr=ye.createElement("li",{title:Bt?"".concat(z.jump_to).concat(yn,"/").concat(zn):null,className:"".concat(ze,"-simple-pager")},Pr)),Nr=ye.createElement("li",{title:Bt?"".concat(yn,"/").concat(zn):null,className:"".concat(ze,"-simple-pager")},qn?Br:ye.createElement("input",{type:"text","aria-label":z.jump_to,value:Br,disabled:ue,onKeyDown:Nt,onKeyUp:kt,onChange:kt,onBlur:mn,size:3}),ye.createElement("span",{className:"".concat(ze,"-slash")},"/"),zn));var jr=yt?1:2;if(zn<=3+jr*2){zn||ir.push(ye.createElement(st,(0,Ne.Z)({},Kt,{key:"noPager",page:1,className:"".concat(ze,"-item-disabled")})));for(var Vr=1;Vr<=zn;Vr+=1)ir.push(ye.createElement(st,(0,Ne.Z)({},Kt,{key:Vr,page:Vr,active:yn===Vr})))}else{var li=yt?z.prev_3:z.prev_5,Di=yt?z.next_3:z.next_5,fi=zt(Wn,"jump-prev",Or(tn,"prev page")),Li=zt(Ir,"jump-next",Or(jt,"next page"));Ht&&(En=fi?ye.createElement("li",{title:Bt?li:null,key:"prev",onClick:Cr,tabIndex:0,onKeyDown:Zr,className:Oe()("".concat(ze,"-jump-prev"),(0,re.Z)({},"".concat(ze,"-jump-prev-custom-icon"),!!tn))},fi):null,Zn=Li?ye.createElement("li",{title:Bt?Di:null,key:"next",onClick:Tr,tabIndex:0,onKeyDown:Rr,className:Oe()("".concat(ze,"-jump-next"),(0,re.Z)({},"".concat(ze,"-jump-next-custom-icon"),!!jt))},Li):null);var ei=Math.max(1,yn-jr),Mi=Math.min(yn+jr,zn);yn-1<=jr&&(Mi=1+jr*2),zn-yn<=jr&&(ei=zn-jr*2);for(var Wi=ei;Wi<=Mi;Wi+=1)ir.push(ye.createElement(st,(0,Ne.Z)({},Kt,{key:Wi,page:Wi,active:yn===Wi})));if(yn-1>=jr*2&&yn!==3&&(ir[0]=ye.cloneElement(ir[0],{className:Oe()("".concat(ze,"-item-after-jump-prev"),ir[0].props.className)}),ir.unshift(En)),zn-yn>=jr*2&&yn!==zn-2){var Fi=ir[ir.length-1];ir[ir.length-1]=ye.cloneElement(Fi,{className:Oe()("".concat(ze,"-item-before-jump-next"),Fi.props.className)}),ir.push(Zn)}ei!==1&&ir.unshift(ye.createElement(st,(0,Ne.Z)({},Kt,{key:1,page:1}))),Mi!==zn&&ir.push(ye.createElement(st,(0,Ne.Z)({},Kt,{key:zn,page:zn})))}var Ri=dt(er);if(Ri){var Hi=!Hn||!zn;Ri=ye.createElement("li",{title:Bt?z.prev_page:null,onClick:fr,tabIndex:Hi?null:0,onKeyDown:$t,className:Oe()("".concat(ze,"-prev"),(0,re.Z)({},"".concat(ze,"-disabled"),Hi)),"aria-disabled":Hi},Ri)}var Ti=xt(Dn);if(Ti){var ci,ji;me?(ci=!rr,ji=Hn?0:null):(ci=!rr||!zn,ji=ci?null:0),Ti=ye.createElement("li",{title:Bt?z.next_page:null,onClick:dr,tabIndex:ji,onKeyDown:$n,className:Oe()("".concat(ze,"-next"),(0,re.Z)({},"".concat(ze,"-disabled"),ci)),"aria-disabled":ci},Ti)}var Oi=Oe()(ze,Re,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(ze,"-start"),Ct==="start"),"".concat(ze,"-center"),Ct==="center"),"".concat(ze,"-end"),Ct==="end"),"".concat(ze,"-simple"),me),"".concat(ze,"-disabled"),ue));return ye.createElement("ul",(0,Ne.Z)({className:Oi,style:ee,ref:Pt},Lt),Sn,Ri,me?Nr:ir,Ti,ye.createElement(He,{locale:z,rootPrefixCls:ze,disabled:ue,selectPrefixCls:_e,changeSize:_n,pageSize:_t,pageSizeOptions:ot,quickGo:It?Yn:null,goButton:Pr,showSizeChanger:Ue,sizeChangerRender:$e}))},Ge=Ve},48365:function(bn,cn,se){"use strict";var re=se(61186),Ne=se.n(re),Te=se(90111),Fe=se.n(Te),Ee=se(58319),fe=se.n(Ee),Oe=se(23250),Ce=se.n(Oe),Pe=se(74959),oe=se.n(Pe),nt=se(10238),ye=se.n(nt),Ke=se(33656),Ie=se.n(Ke);Ne().extend(Ie()),Ne().extend(ye()),Ne().extend(Fe()),Ne().extend(fe()),Ne().extend(Ce()),Ne().extend(oe()),Ne().extend(function(at,rt){var ke=rt.prototype,be=ke.format;ke.format=function(Ge){var ft=(Ge||"").replace("Wo","wo");return be.bind(this)(ft)}});var Ye={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},He=function(rt){var ke=Ye[rt];return ke||rt.split("_")[0]},je=function(){},st={getNow:function(){var rt=Ne()();return typeof rt.tz=="function"?rt.tz():rt},getFixedDate:function(rt){return Ne()(rt,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(rt){return rt.endOf("month")},getWeekDay:function(rt){var ke=rt.locale("en");return ke.weekday()+ke.localeData().firstDayOfWeek()},getYear:function(rt){return rt.year()},getMonth:function(rt){return rt.month()},getDate:function(rt){return rt.date()},getHour:function(rt){return rt.hour()},getMinute:function(rt){return rt.minute()},getSecond:function(rt){return rt.second()},getMillisecond:function(rt){return rt.millisecond()},addYear:function(rt,ke){return rt.add(ke,"year")},addMonth:function(rt,ke){return rt.add(ke,"month")},addDate:function(rt,ke){return rt.add(ke,"day")},setYear:function(rt,ke){return rt.year(ke)},setMonth:function(rt,ke){return rt.month(ke)},setDate:function(rt,ke){return rt.date(ke)},setHour:function(rt,ke){return rt.hour(ke)},setMinute:function(rt,ke){return rt.minute(ke)},setSecond:function(rt,ke){return rt.second(ke)},setMillisecond:function(rt,ke){return rt.millisecond(ke)},isAfter:function(rt,ke){return rt.isAfter(ke)},isValidate:function(rt){return rt.isValid()},locale:{getWeekFirstDay:function(rt){return Ne()().locale(He(rt)).localeData().firstDayOfWeek()},getWeekFirstDate:function(rt,ke){return ke.locale(He(rt)).weekday(0)},getWeek:function(rt,ke){return ke.locale(He(rt)).week()},getShortWeekDays:function(rt){return Ne()().locale(He(rt)).localeData().weekdaysMin()},getShortMonths:function(rt){return Ne()().locale(He(rt)).localeData().monthsShort()},format:function(rt,ke,be){return ke.locale(He(rt)).format(be)},parse:function(rt,ke,be){for(var Ve=He(rt),Ge=0;Ge<be.length;Ge+=1){var ft=be[Ge],ge=ke;if(ft.includes("wo")||ft.includes("Wo")){for(var Ae=ge.split("-")[0],ze=ge.split("-")[1],Ze=Ne()(Ae,"YYYY").startOf("year").locale(Ve),_e=0;_e<=52;_e+=1){var Re=Ze.add(_e,"week");if(Re.format("Wo")===ze)return Re}return je(),null}var Je=Ne()(ge,ft,!0).locale(Ve);if(Je.isValid())return Je}return ke&&je(),null}}};cn.Z=st},8571:function(bn,cn,se){"use strict";se.d(cn,{Sq:function(){return fn},ZP:function(){return sn}});var re=se(32855),Ne=se(3300),Te=se(27247),Fe=se(11913),Ee=se(70425),fe=se(34280),Oe=se(2738),Ce=se(26112),Pe=se(48736),oe=se(59301),nt=se(74430),ye=se(65030),Ke=se(92310),Ie=se.n(Ke);function Ye(le,De){return le!==void 0?le:De?"bottomRight":"bottomLeft"}var He=oe.createContext(null),je=He,st={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function at(le){var De=le.popupElement,Be=le.popupStyle,Me=le.popupClassName,Le=le.popupAlign,it=le.transitionName,ut=le.getPopupContainer,wt=le.children,nn=le.range,rn=le.placement,Et=le.builtinPlacements,dn=Et===void 0?st:Et,pn=le.direction,hn=le.visible,ln=le.onClose,Vt=oe.useContext(je),Gt=Vt.prefixCls,en="".concat(Gt,"-dropdown"),wn=Ye(rn,pn==="rtl");return oe.createElement(ye.Z,{showAction:[],hideAction:["click"],popupPlacement:wn,builtinPlacements:dn,prefixCls:en,popupTransitionName:it,popup:De,popupAlign:Le,popupVisible:hn,popupClassName:Ie()(Me,(0,nt.Z)((0,nt.Z)({},"".concat(en,"-range"),nn),"".concat(en,"-rtl"),pn==="rtl")),popupStyle:Be,stretch:"minWidth",getPopupContainer:ut,onPopupVisibleChange:function(vn){vn||ln()}},wt)}var rt=at;function ke(le,De){for(var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Me=String(le);Me.length<De;)Me="".concat(Be).concat(Me);return Me}function be(le){return le==null?[]:Array.isArray(le)?le:[le]}function Ve(le,De,Be){var Me=(0,Ne.Z)(le);return Me[De]=Be,Me}function Ge(le,De){var Be={},Me=De||Object.keys(le);return Me.forEach(function(Le){le[Le]!==void 0&&(Be[Le]=le[Le])}),Be}function ft(le,De,Be){if(Be)return Be;switch(le){case"time":return De.fieldTimeFormat;case"datetime":return De.fieldDateTimeFormat;case"month":return De.fieldMonthFormat;case"year":return De.fieldYearFormat;case"quarter":return De.fieldQuarterFormat;case"week":return De.fieldWeekFormat;default:return De.fieldDateFormat}}function ge(le,De,Be){var Me=Be!==void 0?Be:De[De.length-1],Le=De.find(function(it){return le[it]});return Me!==Le?le[Le]:void 0}function Ae(le){return Ge(le,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function ze(le,De,Be,Me){var Le=oe.useMemo(function(){return le||function(ut,wt){var nn=ut;return De&&wt.type==="date"?De(nn,wt.today):Be&&wt.type==="month"?Be(nn,wt.locale):wt.originNode}},[le,Be,De]),it=oe.useCallback(function(ut,wt){return Le(ut,(0,Te.Z)((0,Te.Z)({},wt),{},{range:Me}))},[Le,Me]);return it}function Ze(le,De){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Me=oe.useState([!1,!1]),Le=(0,Fe.Z)(Me,2),it=Le[0],ut=Le[1],wt=function(Et,dn){ut(function(pn){return Ve(pn,dn,Et)})},nn=oe.useMemo(function(){return it.map(function(rn,Et){if(rn)return!0;var dn=le[Et];return dn?!!(!Be[Et]&&!dn||dn&&De(dn,{activeIndex:Et})):!1})},[le,it,De,Be]);return[nn,wt]}function _e(le,De,Be,Me,Le){var it="",ut=[];return le&&ut.push(Le?"hh":"HH"),De&&ut.push("mm"),Be&&ut.push("ss"),it=ut.join(":"),Me&&(it+=".SSS"),Le&&(it+=" A"),it}function Re(le,De,Be,Me,Le,it){var ut=le.fieldDateTimeFormat,wt=le.fieldDateFormat,nn=le.fieldTimeFormat,rn=le.fieldMonthFormat,Et=le.fieldYearFormat,dn=le.fieldWeekFormat,pn=le.fieldQuarterFormat,hn=le.yearFormat,ln=le.cellYearFormat,Vt=le.cellQuarterFormat,Gt=le.dayFormat,en=le.cellDateFormat,wn=_e(De,Be,Me,Le,it);return(0,Te.Z)((0,Te.Z)({},le),{},{fieldDateTimeFormat:ut||"YYYY-MM-DD ".concat(wn),fieldDateFormat:wt||"YYYY-MM-DD",fieldTimeFormat:nn||wn,fieldMonthFormat:rn||"YYYY-MM",fieldYearFormat:Et||"YYYY",fieldWeekFormat:dn||"gggg-wo",fieldQuarterFormat:pn||"YYYY-[Q]Q",yearFormat:hn||"YYYY",cellYearFormat:ln||"YYYY",cellQuarterFormat:Vt||"[Q]Q",cellDateFormat:en||Gt||"D"})}function Je(le,De){var Be=De.showHour,Me=De.showMinute,Le=De.showSecond,it=De.showMillisecond,ut=De.use12Hours;return oe.useMemo(function(){return Re(le,Be,Me,Le,it,ut)},[le,Be,Me,Le,it,ut])}var Rt=se(34666);function ht(le,De,Be){return Be!=null?Be:De.some(function(Me){return le.includes(Me)})}var mt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function St(le){var De=Ge(le,mt),Be=le.format,Me=le.picker,Le=null;return Be&&(Le=Be,Array.isArray(Le)&&(Le=Le[0]),Le=(0,Rt.Z)(Le)==="object"?Le.format:Le),Me==="time"&&(De.format=Le),[De,Le]}function xe(le){return le&&typeof le=="string"}function he(le,De,Be,Me){return[le,De,Be,Me].some(function(Le){return Le!==void 0})}function qe(le,De,Be,Me,Le){var it=De,ut=Be,wt=Me;if(!le&&!it&&!ut&&!wt&&!Le)it=!0,ut=!0,wt=!0;else if(le){var nn,rn,Et,dn=[it,ut,wt].some(function(ln){return ln===!1}),pn=[it,ut,wt].some(function(ln){return ln===!0}),hn=dn?!0:!pn;it=(nn=it)!==null&&nn!==void 0?nn:hn,ut=(rn=ut)!==null&&rn!==void 0?rn:hn,wt=(Et=wt)!==null&&Et!==void 0?Et:hn}return[it,ut,wt,Le]}function Tt(le){var De=le.showTime,Be=St(le),Me=(0,Fe.Z)(Be,2),Le=Me[0],it=Me[1],ut=De&&(0,Rt.Z)(De)==="object"?De:{},wt=(0,Te.Z)((0,Te.Z)({defaultOpenValue:ut.defaultOpenValue||ut.defaultValue},Le),ut),nn=wt.showMillisecond,rn=wt.showHour,Et=wt.showMinute,dn=wt.showSecond,pn=he(rn,Et,dn,nn),hn=qe(pn,rn,Et,dn,nn),ln=(0,Fe.Z)(hn,3);return rn=ln[0],Et=ln[1],dn=ln[2],[wt,(0,Te.Z)((0,Te.Z)({},wt),{},{showHour:rn,showMinute:Et,showSecond:dn,showMillisecond:nn}),wt.format,it]}function Mt(le,De,Be,Me,Le){var it=le==="time";if(le==="datetime"||it){for(var ut=Me,wt=ft(le,Le,null),nn=wt,rn=[De,Be],Et=0;Et<rn.length;Et+=1){var dn=be(rn[Et])[0];if(xe(dn)){nn=dn;break}}var pn=ut.showHour,hn=ut.showMinute,ln=ut.showSecond,Vt=ut.showMillisecond,Gt=ut.use12Hours,en=ht(nn,["a","A","LT","LLL","LTS"],Gt),wn=he(pn,hn,ln,Vt);wn||(pn=ht(nn,["H","h","k","LT","LLL"]),hn=ht(nn,["m","LT","LLL"]),ln=ht(nn,["s","LTS"]),Vt=ht(nn,["SSS"]));var Cn=qe(wn,pn,hn,ln,Vt),vn=(0,Fe.Z)(Cn,3);pn=vn[0],hn=vn[1],ln=vn[2];var kn=De||_e(pn,hn,ln,Vt,en);return(0,Te.Z)((0,Te.Z)({},ut),{},{format:kn,showHour:pn,showMinute:hn,showSecond:ln,showMillisecond:Vt,use12Hours:en})}return null}function Xe(le,De,Be){if(De===!1)return null;var Me=De&&(0,Rt.Z)(De)==="object"?De:{};return Me.clearIcon||Be||oe.createElement("span",{className:"".concat(le,"-clear-btn")})}var Ct=7;function tt(le,De,Be){return!le&&!De||le===De?!0:!le||!De?!1:Be()}function Ht(le,De,Be){return tt(De,Be,function(){var Me=Math.floor(le.getYear(De)/10),Le=Math.floor(le.getYear(Be)/10);return Me===Le})}function We(le,De,Be){return tt(De,Be,function(){return le.getYear(De)===le.getYear(Be)})}function yt(le,De){var Be=Math.floor(le.getMonth(De)/3);return Be+1}function Qe(le,De,Be){return tt(De,Be,function(){return We(le,De,Be)&&yt(le,De)===yt(le,Be)})}function Bt(le,De,Be){return tt(De,Be,function(){return We(le,De,Be)&&le.getMonth(De)===le.getMonth(Be)})}function bt(le,De,Be){return tt(De,Be,function(){return We(le,De,Be)&&Bt(le,De,Be)&&le.getDate(De)===le.getDate(Be)})}function ce(le,De,Be){return tt(De,Be,function(){return le.getHour(De)===le.getHour(Be)&&le.getMinute(De)===le.getMinute(Be)&&le.getSecond(De)===le.getSecond(Be)})}function ie(le,De,Be){return tt(De,Be,function(){return bt(le,De,Be)&&ce(le,De,Be)&&le.getMillisecond(De)===le.getMillisecond(Be)})}function z(le,De,Be,Me){return tt(Be,Me,function(){var Le=le.locale.getWeekFirstDate(De,Be),it=le.locale.getWeekFirstDate(De,Me);return We(le,Le,it)&&le.locale.getWeek(De,Be)===le.locale.getWeek(De,Me)})}function ee(le,De,Be,Me,Le){switch(Le){case"date":return bt(le,Be,Me);case"week":return z(le,De.locale,Be,Me);case"month":return Bt(le,Be,Me);case"quarter":return Qe(le,Be,Me);case"year":return We(le,Be,Me);case"decade":return Ht(le,Be,Me);case"time":return ce(le,Be,Me);default:return ie(le,Be,Me)}}function ne(le,De,Be,Me){return!De||!Be||!Me?!1:le.isAfter(Me,De)&&le.isAfter(Be,Me)}function te(le,De,Be,Me,Le){return ee(le,De,Be,Me,Le)?!0:le.isAfter(Be,Me)}function ue(le,De,Be){var Me=De.locale.getWeekFirstDay(le),Le=De.setDate(Be,1),it=De.getWeekDay(Le),ut=De.addDate(Le,Me-it);return De.getMonth(ut)===De.getMonth(Be)&&De.getDate(ut)>1&&(ut=De.addDate(ut,-7)),ut}function me(le,De){var Be=De.generateConfig,Me=De.locale,Le=De.format;return le?typeof Le=="function"?Le(le):Be.locale.format(Me.locale,le,Le):""}function Se(le,De,Be){var Me=De,Le=["getHour","getMinute","getSecond","getMillisecond"],it=["setHour","setMinute","setSecond","setMillisecond"];return it.forEach(function(ut,wt){Be?Me=le[ut](Me,le[Le[wt]](Be)):Me=le[ut](Me,0)}),Me}function Dt(le,De,Be,Me,Le){var it=(0,Ee.zX)(function(ut,wt){return!!(Be&&Be(ut,wt)||Me&&le.isAfter(Me,ut)&&!ee(le,De,Me,ut,wt.type)||Le&&le.isAfter(ut,Le)&&!ee(le,De,Le,ut,wt.type))});return it}function Ue(le,De,Be){return oe.useMemo(function(){var Me=ft(le,De,Be),Le=be(Me),it=Le[0],ut=(0,Rt.Z)(it)==="object"&&it.type==="mask"?it.format:null;return[Le.map(function(wt){return typeof wt=="string"||typeof wt=="function"?wt:wt.format}),ut]},[le,De,Be])}function $e(le,De,Be){return typeof le[0]=="function"||Be?!0:De}function ot(le,De,Be,Me){var Le=(0,Ee.zX)(function(it,ut){var wt=(0,Te.Z)({type:De},ut);if(delete wt.activeIndex,!le.isValidate(it)||Be&&Be(it,wt))return!0;if((De==="date"||De==="time")&&Me){var nn,rn=ut&&ut.activeIndex===1?"end":"start",Et=((nn=Me.disabledTime)===null||nn===void 0?void 0:nn.call(Me,it,rn,{from:wt.from}))||{},dn=Et.disabledHours,pn=Et.disabledMinutes,hn=Et.disabledSeconds,ln=Et.disabledMilliseconds,Vt=Me.disabledHours,Gt=Me.disabledMinutes,en=Me.disabledSeconds,wn=dn||Vt,Cn=pn||Gt,vn=hn||en,kn=le.getHour(it),Fn=le.getMinute(it),Kn=le.getSecond(it),Dr=le.getMillisecond(it);if(wn&&wn().includes(kn)||Cn&&Cn(kn).includes(Fn)||vn&&vn(kn,Fn).includes(Kn)||ln&&ln(kn,Fn,Kn).includes(Dr))return!0}return!1});return Le}function vt(le){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be=oe.useMemo(function(){var Me=le&&be(le);return De&&Me&&(Me[1]=Me[1]||Me[0]),Me},[le,De]);return Be}function zt(le,De){var Be=le.generateConfig,Me=le.locale,Le=le.picker,it=Le===void 0?"date":Le,ut=le.prefixCls,wt=ut===void 0?"rc-picker":ut,nn=le.styles,rn=nn===void 0?{}:nn,Et=le.classNames,dn=Et===void 0?{}:Et,pn=le.order,hn=pn===void 0?!0:pn,ln=le.components,Vt=ln===void 0?{}:ln,Gt=le.inputRender,en=le.allowClear,wn=le.clearIcon,Cn=le.needConfirm,vn=le.multiple,kn=le.format,Fn=le.inputReadOnly,Kn=le.disabledDate,Dr=le.minDate,Ar=le.maxDate,Mr=le.showTime,hr=le.value,vr=le.defaultValue,tr=le.pickerValue,yr=le.defaultPickerValue,or=vt(hr),pr=vt(vr),gr=vt(tr),On=vt(yr),Jn=it==="date"&&Mr?"datetime":it,Gn=Jn==="time"||Jn==="datetime",In=Gn||vn,Tn=Cn!=null?Cn:Gn,nr=Tt(le),xr=(0,Fe.Z)(nr,4),Hr=xr[0],Ur=xr[1],sr=xr[2],Qr=xr[3],Gr=Je(Me,Ur),Kr=oe.useMemo(function(){return Mt(Jn,sr,Qr,Hr,Gr)},[Jn,sr,Qr,Hr,Gr]),ni=oe.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},le),{},{prefixCls:wt,locale:Gr,picker:it,styles:rn,classNames:dn,order:hn,components:(0,Te.Z)({input:Gt},Vt),clearIcon:Xe(wt,en,wn),showTime:Kr,value:or,defaultValue:pr,pickerValue:gr,defaultPickerValue:On},De==null?void 0:De())},[le]),ti=Ue(Jn,Gr,kn),hi=(0,Fe.Z)(ti,2),Jr=hi[0],Zi=hi[1],ii=$e(Jr,Fn,vn),zi=Dt(Be,Me,Kn,Dr,Ar),ui=ot(Be,it,zi,Kr),Ai=oe.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},ni),{},{needConfirm:Tn,inputReadOnly:ii,disabledDate:zi})},[ni,Tn,ii,zi]);return[Ai,Jn,In,Jr,Zi,ui]}var tn=se(16089);function jt(le,De,Be){var Me=(0,Ee.C8)(De,{value:le}),Le=(0,Fe.Z)(Me,2),it=Le[0],ut=Le[1],wt=oe.useRef(le),nn=oe.useRef(),rn=function(){tn.Z.cancel(nn.current)},Et=(0,Ee.zX)(function(){ut(wt.current),Be&&it!==wt.current&&Be(wt.current)}),dn=(0,Ee.zX)(function(pn,hn){rn(),wt.current=pn,pn||hn?Et():nn.current=(0,tn.Z)(Et)});return oe.useEffect(function(){return rn},[]),[it,dn]}function on(le,De){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Me=arguments.length>3?arguments[3]:void 0,Le=Be.every(function(Et){return Et})?!1:le,it=jt(Le,De||!1,Me),ut=(0,Fe.Z)(it,2),wt=ut[0],nn=ut[1];function rn(Et){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!dn.inherit||wt)&&nn(Et,dn.force)}return[wt,rn]}function Jt(le){var De=oe.useRef();return oe.useImperativeHandle(le,function(){var Be;return{nativeElement:(Be=De.current)===null||Be===void 0?void 0:Be.nativeElement,focus:function(Le){var it;(it=De.current)===null||it===void 0||it.focus(Le)},blur:function(){var Le;(Le=De.current)===null||Le===void 0||Le.blur()}}}),De}function Pt(le,De){return oe.useMemo(function(){return le||(De?((0,Pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(De).map(function(Be){var Me=(0,Fe.Z)(Be,2),Le=Me[0],it=Me[1];return{label:Le,value:it}})):[])},[le,De])}function ct(le,De){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Me=oe.useRef(De);Me.current=De,(0,fe.o)(function(){if(le)Me.current(le);else{var Le=(0,tn.Z)(function(){Me.current(le)},Be);return function(){tn.Z.cancel(Le)}}},[le])}function Ut(le){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Me=oe.useState(0),Le=(0,Fe.Z)(Me,2),it=Le[0],ut=Le[1],wt=oe.useState(!1),nn=(0,Fe.Z)(wt,2),rn=nn[0],Et=nn[1],dn=oe.useRef([]),pn=oe.useRef(null),hn=oe.useRef(null),ln=function(vn){pn.current=vn},Vt=function(vn){return pn.current===vn},Gt=function(vn){Et(vn)},en=function(vn){return vn&&(hn.current=vn),hn.current},wn=function(vn){var kn=dn.current,Fn=new Set(kn.filter(function(Dr){return vn[Dr]||De[Dr]})),Kn=kn[kn.length-1]===0?1:0;return Fn.size>=2||le[Kn]?null:Kn};return ct(rn||Be,function(){rn||(dn.current=[],ln(null))}),oe.useEffect(function(){rn&&dn.current.push(it)},[rn,it]),[rn,Gt,en,it,ut,wn,dn.current,ln,Vt]}function _t(le,De,Be,Me,Le,it){var ut=Be[Be.length-1],wt=function(rn,Et){var dn=(0,Fe.Z)(le,2),pn=dn[0],hn=dn[1],ln=(0,Te.Z)((0,Te.Z)({},Et),{},{from:ge(le,Be)});return ut===1&&De[0]&&pn&&!ee(Me,Le,pn,rn,ln.type)&&Me.isAfter(pn,rn)||ut===0&&De[1]&&hn&&!ee(Me,Le,hn,rn,ln.type)&&Me.isAfter(rn,hn)?!0:it==null?void 0:it(rn,ln)};return wt}function gn(le,De,Be,Me){switch(De){case"date":case"week":return le.addMonth(Be,Me);case"month":case"quarter":return le.addYear(Be,Me);case"year":return le.addYear(Be,Me*10);case"decade":return le.addYear(Be,Me*100);default:return Be}}var Mn=[];function jn(le,De,Be,Me,Le,it,ut,wt){var nn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Mn,rn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Mn,Et=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Mn,dn=arguments.length>11?arguments[11]:void 0,pn=arguments.length>12?arguments[12]:void 0,hn=arguments.length>13?arguments[13]:void 0,ln=ut==="time",Vt=it||0,Gt=function(gr){var On=le.getNow();return ln&&(On=Se(le,On)),nn[gr]||Be[gr]||On},en=(0,Fe.Z)(rn,2),wn=en[0],Cn=en[1],vn=(0,Ee.C8)(function(){return Gt(0)},{value:wn}),kn=(0,Fe.Z)(vn,2),Fn=kn[0],Kn=kn[1],Dr=(0,Ee.C8)(function(){return Gt(1)},{value:Cn}),Ar=(0,Fe.Z)(Dr,2),Mr=Ar[0],hr=Ar[1],vr=oe.useMemo(function(){var pr=[Fn,Mr][Vt];return ln?pr:Se(le,pr,Et[Vt])},[ln,Fn,Mr,Vt,le,Et]),tr=function(gr){var On=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",Jn=[Kn,hr][Vt];Jn(gr);var Gn=[Fn,Mr];Gn[Vt]=gr,dn&&(!ee(le,De,Fn,Gn[0],ut)||!ee(le,De,Mr,Gn[1],ut))&&dn(Gn,{source:On,range:Vt===1?"end":"start",mode:Me})},yr=function(gr,On){if(wt){var Jn={date:"month",week:"month",month:"year",quarter:"year"},Gn=Jn[ut];if(Gn&&!ee(le,De,gr,On,Gn))return gn(le,ut,On,-1);if(ut==="year"&&gr){var In=Math.floor(le.getYear(gr)/10),Tn=Math.floor(le.getYear(On)/10);if(In!==Tn)return gn(le,ut,On,-1)}}return On},or=oe.useRef(null);return(0,fe.Z)(function(){if(Le&&!nn[Vt]){var pr=ln?null:le.getNow();if(or.current!==null&&or.current!==Vt?pr=[Fn,Mr][Vt^1]:Be[Vt]?pr=Vt===0?Be[0]:yr(Be[0],Be[1]):Be[Vt^1]&&(pr=Be[Vt^1]),pr){pn&&le.isAfter(pn,pr)&&(pr=pn);var gr=wt?gn(le,ut,pr,1):pr;hn&&le.isAfter(gr,hn)&&(pr=wt?gn(le,ut,hn,-1):hn),tr(pr,"reset")}}},[Le,Vt,Be[Vt]]),oe.useEffect(function(){Le?or.current=Vt:or.current=null},[Le,Vt]),(0,fe.Z)(function(){Le&&nn&&nn[Vt]&&tr(nn[Vt],"reset")},[Le,Vt]),[vr,tr]}function yn(le,De){var Be=oe.useRef(le),Me=oe.useState({}),Le=(0,Fe.Z)(Me,2),it=Le[1],ut=function(rn){return rn&&De!==void 0?De:Be.current},wt=function(rn){Be.current=rn,it({})};return[ut,wt,ut(!0)]}var Xn=[];function Qn(le,De,Be){var Me=function(ut){return ut.map(function(wt){return me(wt,{generateConfig:le,locale:De,format:Be[0]})})},Le=function(ut,wt){for(var nn=Math.max(ut.length,wt.length),rn=-1,Et=0;Et<nn;Et+=1){var dn=ut[Et]||null,pn=wt[Et]||null;if(dn!==pn&&!ie(le,dn,pn)){rn=Et;break}}return[rn<0,rn!==0]};return[Me,Le]}function cr(le,De){return(0,Ne.Z)(le).sort(function(Be,Me){return De.isAfter(Be,Me)?1:-1})}function Br(le){var De=yn(le),Be=(0,Fe.Z)(De,2),Me=Be[0],Le=Be[1],it=(0,Ee.zX)(function(){Le(le)});return oe.useEffect(function(){it()},[le]),[Me,Le]}function ar(le,De,Be,Me,Le,it,ut,wt,nn){var rn=(0,Ee.C8)(it,{value:ut}),Et=(0,Fe.Z)(rn,2),dn=Et[0],pn=Et[1],hn=dn||Xn,ln=Br(hn),Vt=(0,Fe.Z)(ln,2),Gt=Vt[0],en=Vt[1],wn=Qn(le,De,Be),Cn=(0,Fe.Z)(wn,2),vn=Cn[0],kn=Cn[1],Fn=(0,Ee.zX)(function(Dr){var Ar=(0,Ne.Z)(Dr);if(Me)for(var Mr=0;Mr<2;Mr+=1)Ar[Mr]=Ar[Mr]||null;else Le&&(Ar=cr(Ar.filter(function(pr){return pr}),le));var hr=kn(Gt(),Ar),vr=(0,Fe.Z)(hr,2),tr=vr[0],yr=vr[1];if(!tr&&(en(Ar),wt)){var or=vn(Ar);wt(Ar,or,{range:yr?"end":"start"})}}),Kn=function(){nn&&nn(Gt())};return[hn,pn,Gt,Fn,Kn]}function Lr(le,De,Be,Me,Le,it,ut,wt,nn,rn){var Et=le.generateConfig,dn=le.locale,pn=le.picker,hn=le.onChange,ln=le.allowEmpty,Vt=le.order,Gt=it.some(function(tr){return tr})?!1:Vt,en=Qn(Et,dn,ut),wn=(0,Fe.Z)(en,2),Cn=wn[0],vn=wn[1],kn=yn(De),Fn=(0,Fe.Z)(kn,2),Kn=Fn[0],Dr=Fn[1],Ar=(0,Ee.zX)(function(){Dr(De)});oe.useEffect(function(){Ar()},[De]);var Mr=(0,Ee.zX)(function(tr){var yr=tr===null,or=(0,Ne.Z)(tr||Kn());if(yr)for(var pr=Math.max(it.length,or.length),gr=0;gr<pr;gr+=1)it[gr]||(or[gr]=null);Gt&&or[0]&&or[1]&&(or=cr(or,Et)),Le(or);var On=or,Jn=(0,Fe.Z)(On,2),Gn=Jn[0],In=Jn[1],Tn=!Gn,nr=!In,xr=ln?(!Tn||ln[0])&&(!nr||ln[1]):!0,Hr=!Vt||Tn||nr||ee(Et,dn,Gn,In,pn)||Et.isAfter(In,Gn),Ur=(it[0]||!Gn||!rn(Gn,{activeIndex:0}))&&(it[1]||!In||!rn(In,{from:Gn,activeIndex:1})),sr=yr||xr&&Hr&&Ur;if(sr){Be(or);var Qr=vn(or,De),Gr=(0,Fe.Z)(Qr,1),Kr=Gr[0];hn&&!Kr&&hn(yr&&or.every(function(ni){return!ni})?null:or,Cn(or))}return sr}),hr=(0,Ee.zX)(function(tr,yr){var or=Ve(Kn(),tr,Me()[tr]);Dr(or),yr&&Mr()}),vr=!wt&&!nn;return ct(!vr,function(){vr&&(Mr(),Le(De),Ar())},2),[hr,Mr]}function Er(le,De,Be,Me,Le){return De!=="date"&&De!=="time"?!1:Be!==void 0?Be:Me!==void 0?Me:!Le&&(le==="date"||le==="time")}var Wn=se(29301);function Ir(le,De,Be,Me,Le,it){var ut=le;function wt(dn,pn,hn){var ln=it[dn](ut),Vt=hn.find(function(Cn){return Cn.value===ln});if(!Vt||Vt.disabled){var Gt=hn.filter(function(Cn){return!Cn.disabled}),en=(0,Ne.Z)(Gt).reverse(),wn=en.find(function(Cn){return Cn.value<=ln})||Gt[0];wn&&(ln=wn.value,ut=it[pn](ut,ln))}return ln}var nn=wt("getHour","setHour",De()),rn=wt("getMinute","setMinute",Be(nn)),Et=wt("getSecond","setSecond",Me(nn,rn));return wt("getMillisecond","setMillisecond",Le(nn,rn,Et)),ut}function Or(){return[]}function Ft(le,De){for(var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Le=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],it=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,ut=[],wt=Be>=1?Be|0:1,nn=le;nn<=De;nn+=wt){var rn=Le.includes(nn);(!rn||!Me)&&ut.push({label:ke(nn,it),value:nn,disabled:rn})}return ut}function Qt(le){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Be=arguments.length>2?arguments[2]:void 0,Me=De||{},Le=Me.use12Hours,it=Me.hourStep,ut=it===void 0?1:it,wt=Me.minuteStep,nn=wt===void 0?1:wt,rn=Me.secondStep,Et=rn===void 0?1:rn,dn=Me.millisecondStep,pn=dn===void 0?100:dn,hn=Me.hideDisabledOptions,ln=Me.disabledTime,Vt=Me.disabledHours,Gt=Me.disabledMinutes,en=Me.disabledSeconds,wn=oe.useMemo(function(){return Be||le.getNow()},[Be,le]);if(0)var Cn,vn,kn;var Fn=oe.useCallback(function(In){var Tn=(ln==null?void 0:ln(In))||{};return[Tn.disabledHours||Vt||Or,Tn.disabledMinutes||Gt||Or,Tn.disabledSeconds||en||Or,Tn.disabledMilliseconds||Or]},[ln,Vt,Gt,en]),Kn=oe.useMemo(function(){return Fn(wn)},[wn,Fn]),Dr=(0,Fe.Z)(Kn,4),Ar=Dr[0],Mr=Dr[1],hr=Dr[2],vr=Dr[3],tr=oe.useCallback(function(In,Tn,nr,xr){var Hr=Ft(0,23,ut,hn,In()),Ur=Le?Hr.map(function(Kr){return(0,Te.Z)((0,Te.Z)({},Kr),{},{label:ke(Kr.value%12||12,2)})}):Hr,sr=function(ni){return Ft(0,59,nn,hn,Tn(ni))},Qr=function(ni,ti){return Ft(0,59,Et,hn,nr(ni,ti))},Gr=function(ni,ti,hi){return Ft(0,999,pn,hn,xr(ni,ti,hi),3)};return[Ur,sr,Qr,Gr]},[hn,ut,Le,pn,nn,Et]),yr=oe.useMemo(function(){return tr(Ar,Mr,hr,vr)},[tr,Ar,Mr,hr,vr]),or=(0,Fe.Z)(yr,4),pr=or[0],gr=or[1],On=or[2],Jn=or[3],Gn=function(Tn,nr){var xr=function(){return pr},Hr=gr,Ur=On,sr=Jn;if(nr){var Qr=Fn(nr),Gr=(0,Fe.Z)(Qr,4),Kr=Gr[0],ni=Gr[1],ti=Gr[2],hi=Gr[3],Jr=tr(Kr,ni,ti,hi),Zi=(0,Fe.Z)(Jr,4),ii=Zi[0],zi=Zi[1],ui=Zi[2],Ai=Zi[3];xr=function(){return ii},Hr=zi,Ur=ui,sr=Ai}var Ki=Ir(Tn,xr,Hr,Ur,sr,le);return Ki};return[Gn,pr,gr,On,Jn]}function It(le){var De=le.mode,Be=le.internalMode,Me=le.renderExtraFooter,Le=le.showNow,it=le.showTime,ut=le.onSubmit,wt=le.onNow,nn=le.invalid,rn=le.needConfirm,Et=le.generateConfig,dn=le.disabledDate,pn=oe.useContext(je),hn=pn.prefixCls,ln=pn.locale,Vt=pn.button,Gt=Vt===void 0?"button":Vt,en=Et.getNow(),wn=Qt(Et,it,en),Cn=(0,Fe.Z)(wn,1),vn=Cn[0],kn=Me==null?void 0:Me(De),Fn=dn(en,{type:De}),Kn=function(){if(!Fn){var yr=vn(en);wt(yr)}},Dr="".concat(hn,"-now"),Ar="".concat(Dr,"-btn"),Mr=Le&&oe.createElement("li",{className:Dr},oe.createElement("a",{className:Ie()(Ar,Fn&&"".concat(Ar,"-disabled")),"aria-disabled":Fn,onClick:Kn},Be==="date"?ln.today:ln.now)),hr=rn&&oe.createElement("li",{className:"".concat(hn,"-ok")},oe.createElement(Gt,{disabled:nn,onClick:ut},ln.ok)),vr=(Mr||hr)&&oe.createElement("ul",{className:"".concat(hn,"-ranges")},Mr,hr);return!kn&&!vr?null:oe.createElement("div",{className:"".concat(hn,"-footer")},kn&&oe.createElement("div",{className:"".concat(hn,"-footer-extra")},kn),vr)}function Nt(le,De,Be){function Me(Le,it){var ut=Le.findIndex(function(nn){return ee(le,De,nn,it,Be)});if(ut===-1)return[].concat((0,Ne.Z)(Le),[it]);var wt=(0,Ne.Z)(Le);return wt.splice(ut,1),wt}return Me}var kt=oe.createContext(null);function mn(){return oe.useContext(kt)}function _n(le,De){var Be=le.prefixCls,Me=le.generateConfig,Le=le.locale,it=le.disabledDate,ut=le.minDate,wt=le.maxDate,nn=le.cellRender,rn=le.hoverValue,Et=le.hoverRangeValue,dn=le.onHover,pn=le.values,hn=le.pickerValue,ln=le.onSelect,Vt=le.prevIcon,Gt=le.nextIcon,en=le.superPrevIcon,wn=le.superNextIcon,Cn=Me.getNow(),vn={now:Cn,values:pn,pickerValue:hn,prefixCls:Be,disabledDate:it,minDate:ut,maxDate:wt,cellRender:nn,hoverValue:rn,hoverRangeValue:Et,onHover:dn,locale:Le,generateConfig:Me,onSelect:ln,panelType:De,prevIcon:Vt,nextIcon:Gt,superPrevIcon:en,superNextIcon:wn};return[vn,Cn]}var Yn=oe.createContext({});function Hn(le){for(var De=le.rowNum,Be=le.colNum,Me=le.baseDate,Le=le.getCellDate,it=le.prefixColumn,ut=le.rowClassName,wt=le.titleFormat,nn=le.getCellText,rn=le.getCellClassName,Et=le.headerCells,dn=le.cellSelection,pn=dn===void 0?!0:dn,hn=le.disabledDate,ln=mn(),Vt=ln.prefixCls,Gt=ln.panelType,en=ln.now,wn=ln.disabledDate,Cn=ln.cellRender,vn=ln.onHover,kn=ln.hoverValue,Fn=ln.hoverRangeValue,Kn=ln.generateConfig,Dr=ln.values,Ar=ln.locale,Mr=ln.onSelect,hr=hn||wn,vr="".concat(Vt,"-cell"),tr=oe.useContext(Yn),yr=tr.onCellDblClick,or=function(nr){return Dr.some(function(xr){return xr&&ee(Kn,Ar,nr,xr,Gt)})},pr=[],gr=0;gr<De;gr+=1){for(var On=[],Jn=void 0,Gn=function(){var nr=gr*Be+In,xr=Le(Me,nr),Hr=hr==null?void 0:hr(xr,{type:Gt});In===0&&(Jn=xr,it&&On.push(it(Jn)));var Ur=!1,sr=!1,Qr=!1;if(pn&&Fn){var Gr=(0,Fe.Z)(Fn,2),Kr=Gr[0],ni=Gr[1];Ur=ne(Kn,Kr,ni,xr),sr=ee(Kn,Ar,xr,Kr,Gt),Qr=ee(Kn,Ar,xr,ni,Gt)}var ti=wt?me(xr,{locale:Ar,format:wt,generateConfig:Kn}):void 0,hi=oe.createElement("div",{className:"".concat(vr,"-inner")},nn(xr));On.push(oe.createElement("td",{key:In,title:ti,className:Ie()(vr,(0,Te.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(vr,"-disabled"),Hr),"".concat(vr,"-hover"),(kn||[]).some(function(Jr){return ee(Kn,Ar,xr,Jr,Gt)})),"".concat(vr,"-in-range"),Ur&&!sr&&!Qr),"".concat(vr,"-range-start"),sr),"".concat(vr,"-range-end"),Qr),"".concat(Vt,"-cell-selected"),!Fn&&Gt!=="week"&&or(xr)),rn(xr))),onClick:function(){Hr||Mr(xr)},onDoubleClick:function(){!Hr&&yr&&yr()},onMouseEnter:function(){Hr||vn==null||vn(xr)},onMouseLeave:function(){Hr||vn==null||vn(null)}},Cn?Cn(xr,{prefixCls:Vt,originNode:hi,today:en,type:Gt,locale:Ar}):hi))},In=0;In<Be;In+=1)Gn();pr.push(oe.createElement("tr",{key:gr,className:ut==null?void 0:ut(Jn)},On))}return oe.createElement("div",{className:"".concat(Vt,"-body")},oe.createElement("table",{className:"".concat(Vt,"-content")},Et&&oe.createElement("thead",null,oe.createElement("tr",null,Et)),oe.createElement("tbody",null,pr)))}var rr={visibility:"hidden"};function fr(le){var De=le.offset,Be=le.superOffset,Me=le.onChange,Le=le.getStart,it=le.getEnd,ut=le.children,wt=mn(),nn=wt.prefixCls,rn=wt.prevIcon,Et=rn===void 0?"\u2039":rn,dn=wt.nextIcon,pn=dn===void 0?"\u203A":dn,hn=wt.superPrevIcon,ln=hn===void 0?"\xAB":hn,Vt=wt.superNextIcon,Gt=Vt===void 0?"\xBB":Vt,en=wt.minDate,wn=wt.maxDate,Cn=wt.generateConfig,vn=wt.locale,kn=wt.pickerValue,Fn=wt.panelType,Kn="".concat(nn,"-header"),Dr=oe.useContext(Yn),Ar=Dr.hidePrev,Mr=Dr.hideNext,hr=Dr.hideHeader,vr=oe.useMemo(function(){if(!en||!De||!it)return!1;var Tn=it(De(-1,kn));return!te(Cn,vn,Tn,en,Fn)},[en,De,kn,it,Cn,vn,Fn]),tr=oe.useMemo(function(){if(!en||!Be||!it)return!1;var Tn=it(Be(-1,kn));return!te(Cn,vn,Tn,en,Fn)},[en,Be,kn,it,Cn,vn,Fn]),yr=oe.useMemo(function(){if(!wn||!De||!Le)return!1;var Tn=Le(De(1,kn));return!te(Cn,vn,wn,Tn,Fn)},[wn,De,kn,Le,Cn,vn,Fn]),or=oe.useMemo(function(){if(!wn||!Be||!Le)return!1;var Tn=Le(Be(1,kn));return!te(Cn,vn,wn,Tn,Fn)},[wn,Be,kn,Le,Cn,vn,Fn]),pr=function(nr){De&&Me(De(nr,kn))},gr=function(nr){Be&&Me(Be(nr,kn))};if(hr)return null;var On="".concat(Kn,"-prev-btn"),Jn="".concat(Kn,"-next-btn"),Gn="".concat(Kn,"-super-prev-btn"),In="".concat(Kn,"-super-next-btn");return oe.createElement("div",{className:Kn},Be&&oe.createElement("button",{type:"button","aria-label":vn.previousYear,onClick:function(){return gr(-1)},tabIndex:-1,className:Ie()(Gn,tr&&"".concat(Gn,"-disabled")),disabled:tr,style:Ar?rr:{}},ln),De&&oe.createElement("button",{type:"button","aria-label":vn.previousMonth,onClick:function(){return pr(-1)},tabIndex:-1,className:Ie()(On,vr&&"".concat(On,"-disabled")),disabled:vr,style:Ar?rr:{}},Et),oe.createElement("div",{className:"".concat(Kn,"-view")},ut),De&&oe.createElement("button",{type:"button","aria-label":vn.nextMonth,onClick:function(){return pr(1)},tabIndex:-1,className:Ie()(Jn,yr&&"".concat(Jn,"-disabled")),disabled:yr,style:Mr?rr:{}},pn),Be&&oe.createElement("button",{type:"button","aria-label":vn.nextYear,onClick:function(){return gr(1)},tabIndex:-1,className:Ie()(In,or&&"".concat(In,"-disabled")),disabled:or,style:Mr?rr:{}},Gt))}var dr=fr;function Cr(le){var De=le.prefixCls,Be=le.panelName,Me=Be===void 0?"date":Be,Le=le.locale,it=le.generateConfig,ut=le.pickerValue,wt=le.onPickerValueChange,nn=le.onModeChange,rn=le.mode,Et=rn===void 0?"date":rn,dn=le.disabledDate,pn=le.onSelect,hn=le.onHover,ln=le.showWeek,Vt="".concat(De,"-").concat(Me,"-panel"),Gt="".concat(De,"-cell"),en=Et==="week",wn=_n(le,Et),Cn=(0,Fe.Z)(wn,2),vn=Cn[0],kn=Cn[1],Fn=it.locale.getWeekFirstDay(Le.locale),Kn=it.setDate(ut,1),Dr=ue(Le.locale,it,Kn),Ar=it.getMonth(ut),Mr=ln===void 0?en:ln,hr=Mr?function(Tn){var nr=dn==null?void 0:dn(Tn,{type:"week"});return oe.createElement("td",{key:"week",className:Ie()(Gt,"".concat(Gt,"-week"),(0,nt.Z)({},"".concat(Gt,"-disabled"),nr)),onClick:function(){nr||pn(Tn)},onMouseEnter:function(){nr||hn==null||hn(Tn)},onMouseLeave:function(){nr||hn==null||hn(null)}},oe.createElement("div",{className:"".concat(Gt,"-inner")},it.locale.getWeek(Le.locale,Tn)))}:null,vr=[],tr=Le.shortWeekDays||(it.locale.getShortWeekDays?it.locale.getShortWeekDays(Le.locale):[]);hr&&vr.push(oe.createElement("th",{key:"empty"},oe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Le.week)));for(var yr=0;yr<Ct;yr+=1)vr.push(oe.createElement("th",{key:yr},tr[(yr+Fn)%Ct]));var or=function(nr,xr){return it.addDate(nr,xr)},pr=function(nr){return me(nr,{locale:Le,format:Le.cellDateFormat,generateConfig:it})},gr=function(nr){var xr=(0,nt.Z)((0,nt.Z)({},"".concat(De,"-cell-in-view"),Bt(it,nr,ut)),"".concat(De,"-cell-today"),bt(it,nr,kn));return xr},On=Le.shortMonths||(it.locale.getShortMonths?it.locale.getShortMonths(Le.locale):[]),Jn=oe.createElement("button",{type:"button","aria-label":Le.yearSelect,key:"year",onClick:function(){nn("year",ut)},tabIndex:-1,className:"".concat(De,"-year-btn")},me(ut,{locale:Le,format:Le.yearFormat,generateConfig:it})),Gn=oe.createElement("button",{type:"button","aria-label":Le.monthSelect,key:"month",onClick:function(){nn("month",ut)},tabIndex:-1,className:"".concat(De,"-month-btn")},Le.monthFormat?me(ut,{locale:Le,format:Le.monthFormat,generateConfig:it}):On[Ar]),In=Le.monthBeforeYear?[Gn,Jn]:[Jn,Gn];return oe.createElement(kt.Provider,{value:vn},oe.createElement("div",{className:Ie()(Vt,ln&&"".concat(Vt,"-show-week"))},oe.createElement(dr,{offset:function(nr){return it.addMonth(ut,nr)},superOffset:function(nr){return it.addYear(ut,nr)},onChange:wt,getStart:function(nr){return it.setDate(nr,1)},getEnd:function(nr){var xr=it.setDate(nr,1);return xr=it.addMonth(xr,1),it.addDate(xr,-1)}},In),oe.createElement(Hn,(0,re.Z)({titleFormat:Le.fieldDateFormat},le,{colNum:Ct,rowNum:6,baseDate:Dr,headerCells:vr,getCellDate:or,getCellText:pr,getCellClassName:gr,prefixColumn:hr,cellSelection:!en}))))}var Tr=se(29194),Ln=1/3;function $t(le,De){var Be=oe.useRef(!1),Me=oe.useRef(null),Le=oe.useRef(null),it=function(){return Be.current},ut=function(){tn.Z.cancel(Me.current),Be.current=!1},wt=oe.useRef(),nn=function(){var dn=le.current;if(Le.current=null,wt.current=0,dn){var pn=dn.querySelector('[data-value="'.concat(De,'"]')),hn=dn.querySelector("li"),ln=function Vt(){ut(),Be.current=!0,wt.current+=1;var Gt=dn.scrollTop,en=hn.offsetTop,wn=pn.offsetTop,Cn=wn-en;if(wn===0&&pn!==hn||!(0,Tr.Z)(dn)){wt.current<=5&&(Me.current=(0,tn.Z)(Vt));return}var vn=Gt+(Cn-Gt)*Ln,kn=Math.abs(Cn-vn);if(Le.current!==null&&Le.current<kn){ut();return}if(Le.current=kn,kn<=1){dn.scrollTop=Cn,ut();return}dn.scrollTop=vn,Me.current=(0,tn.Z)(Vt)};pn&&hn&&ln()}},rn=(0,Ee.zX)(nn);return[rn,ut,it]}var $n=300;function Zr(le){return le.map(function(De){var Be=De.value,Me=De.label,Le=De.disabled;return[Be,Me,Le].join(",")}).join(";")}function Rr(le){var De=le.units,Be=le.value,Me=le.optionalValue,Le=le.type,it=le.onChange,ut=le.onHover,wt=le.onDblClick,nn=le.changeOnScroll,rn=mn(),Et=rn.prefixCls,dn=rn.cellRender,pn=rn.now,hn=rn.locale,ln="".concat(Et,"-time-panel"),Vt="".concat(Et,"-time-panel-cell"),Gt=oe.useRef(null),en=oe.useRef(),wn=function(){clearTimeout(en.current)},Cn=$t(Gt,Be!=null?Be:Me),vn=(0,Fe.Z)(Cn,3),kn=vn[0],Fn=vn[1],Kn=vn[2];(0,fe.Z)(function(){return kn(),wn(),function(){Fn(),wn()}},[Be,Me,Zr(De)]);var Dr=function(hr){wn();var vr=hr.target;!Kn()&&nn&&(en.current=setTimeout(function(){var tr=Gt.current,yr=tr.querySelector("li").offsetTop,or=Array.from(tr.querySelectorAll("li")),pr=or.map(function(In){return In.offsetTop-yr}),gr=pr.map(function(In,Tn){return De[Tn].disabled?Number.MAX_SAFE_INTEGER:Math.abs(In-vr.scrollTop)}),On=Math.min.apply(Math,(0,Ne.Z)(gr)),Jn=gr.findIndex(function(In){return In===On}),Gn=De[Jn];Gn&&!Gn.disabled&&it(Gn.value)},$n))},Ar="".concat(ln,"-column");return oe.createElement("ul",{className:Ar,ref:Gt,"data-type":Le,onScroll:Dr},De.map(function(Mr){var hr=Mr.label,vr=Mr.value,tr=Mr.disabled,yr=oe.createElement("div",{className:"".concat(Vt,"-inner")},hr);return oe.createElement("li",{key:vr,className:Ie()(Vt,(0,nt.Z)((0,nt.Z)({},"".concat(Vt,"-selected"),Be===vr),"".concat(Vt,"-disabled"),tr)),onClick:function(){tr||it(vr)},onDoubleClick:function(){!tr&&wt&&wt()},onMouseEnter:function(){ut(vr)},onMouseLeave:function(){ut(null)},"data-value":vr},dn?dn(vr,{prefixCls:Et,originNode:yr,today:pn,type:"time",subType:Le,locale:hn}):yr)}))}function dt(le){return le<12}function xt(le){var De=le.showHour,Be=le.showMinute,Me=le.showSecond,Le=le.showMillisecond,it=le.use12Hours,ut=le.changeOnScroll,wt=mn(),nn=wt.prefixCls,rn=wt.values,Et=wt.generateConfig,dn=wt.locale,pn=wt.onSelect,hn=wt.onHover,ln=hn===void 0?function(){}:hn,Vt=wt.pickerValue,Gt=(rn==null?void 0:rn[0])||null,en=oe.useContext(Yn),wn=en.onCellDblClick,Cn=Qt(Et,le,Gt),vn=(0,Fe.Z)(Cn,5),kn=vn[0],Fn=vn[1],Kn=vn[2],Dr=vn[3],Ar=vn[4],Mr=function(mr){var vi=Gt&&Et[mr](Gt),Ci=Vt&&Et[mr](Vt);return[vi,Ci]},hr=Mr("getHour"),vr=(0,Fe.Z)(hr,2),tr=vr[0],yr=vr[1],or=Mr("getMinute"),pr=(0,Fe.Z)(or,2),gr=pr[0],On=pr[1],Jn=Mr("getSecond"),Gn=(0,Fe.Z)(Jn,2),In=Gn[0],Tn=Gn[1],nr=Mr("getMillisecond"),xr=(0,Fe.Z)(nr,2),Hr=xr[0],Ur=xr[1],sr=tr===null?null:dt(tr)?"am":"pm",Qr=oe.useMemo(function(){return it?dt(tr)?Fn.filter(function(lr){return dt(lr.value)}):Fn.filter(function(lr){return!dt(lr.value)}):Fn},[tr,Fn,it]),Gr=function(mr,vi){var Ci,Yi=mr.filter(function(ia){return!ia.disabled});return vi!=null?vi:Yi==null||(Ci=Yi[0])===null||Ci===void 0?void 0:Ci.value},Kr=Gr(Fn,tr),ni=oe.useMemo(function(){return Kn(Kr)},[Kn,Kr]),ti=Gr(ni,gr),hi=oe.useMemo(function(){return Dr(Kr,ti)},[Dr,Kr,ti]),Jr=Gr(hi,In),Zi=oe.useMemo(function(){return Ar(Kr,ti,Jr)},[Ar,Kr,ti,Jr]),ii=Gr(Zi,Hr),zi=oe.useMemo(function(){if(!it)return[];var lr=Et.getNow(),mr=Et.setHour(lr,6),vi=Et.setHour(lr,18),Ci=function(ia,aa){var Gi=dn.cellMeridiemFormat;return Gi?me(ia,{generateConfig:Et,locale:dn,format:Gi}):aa};return[{label:Ci(mr,"AM"),value:"am",disabled:Fn.every(function(Yi){return Yi.disabled||!dt(Yi.value)})},{label:Ci(vi,"PM"),value:"pm",disabled:Fn.every(function(Yi){return Yi.disabled||dt(Yi.value)})}]},[Fn,it,Et,dn]),ui=function(mr){var vi=kn(mr);pn(vi)},Ai=oe.useMemo(function(){var lr=Gt||Vt||Et.getNow(),mr=function(Ci){return Ci!=null};return mr(tr)?(lr=Et.setHour(lr,tr),lr=Et.setMinute(lr,gr),lr=Et.setSecond(lr,In),lr=Et.setMillisecond(lr,Hr)):mr(yr)?(lr=Et.setHour(lr,yr),lr=Et.setMinute(lr,On),lr=Et.setSecond(lr,Tn),lr=Et.setMillisecond(lr,Ur)):mr(Kr)&&(lr=Et.setHour(lr,Kr),lr=Et.setMinute(lr,ti),lr=Et.setSecond(lr,Jr),lr=Et.setMillisecond(lr,ii)),lr},[Gt,Vt,tr,gr,In,Hr,Kr,ti,Jr,ii,yr,On,Tn,Ur,Et]),Ki=function(mr,vi){return mr===null?null:Et[vi](Ai,mr)},ki=function(mr){return Ki(mr,"setHour")},yi=function(mr){return Ki(mr,"setMinute")},Xi=function(mr){return Ki(mr,"setSecond")},Ui=function(mr){return Ki(mr,"setMillisecond")},_i=function(mr){return mr===null?null:mr==="am"&&!dt(tr)?Et.setHour(Ai,tr-12):mr==="pm"&&dt(tr)?Et.setHour(Ai,tr+12):Ai},bi=function(mr){ui(ki(mr))},ra=function(mr){ui(yi(mr))},Ni=function(mr){ui(Xi(mr))},Si=function(mr){ui(Ui(mr))},Bi=function(mr){ui(_i(mr))},qi=function(mr){ln(ki(mr))},ri=function(mr){ln(yi(mr))},$i=function(mr){ln(Xi(mr))},Fr=function(mr){ln(Ui(mr))},Vn=function(mr){ln(_i(mr))},br={onDblClick:wn,changeOnScroll:ut};return oe.createElement("div",{className:"".concat(nn,"-content")},De&&oe.createElement(Rr,(0,re.Z)({units:Qr,value:tr,optionalValue:yr,type:"hour",onChange:bi,onHover:qi},br)),Be&&oe.createElement(Rr,(0,re.Z)({units:ni,value:gr,optionalValue:On,type:"minute",onChange:ra,onHover:ri},br)),Me&&oe.createElement(Rr,(0,re.Z)({units:hi,value:In,optionalValue:Tn,type:"second",onChange:Ni,onHover:$i},br)),Le&&oe.createElement(Rr,(0,re.Z)({units:Zi,value:Hr,optionalValue:Ur,type:"millisecond",onChange:Si,onHover:Fr},br)),it&&oe.createElement(Rr,(0,re.Z)({units:zi,value:sr,type:"meridiem",onChange:Bi,onHover:Vn},br)))}function Rn(le){var De=le.prefixCls,Be=le.value,Me=le.locale,Le=le.generateConfig,it=le.showTime,ut=it||{},wt=ut.format,nn="".concat(De,"-time-panel"),rn=_n(le,"time"),Et=(0,Fe.Z)(rn,1),dn=Et[0];return oe.createElement(kt.Provider,{value:dn},oe.createElement("div",{className:Ie()(nn)},oe.createElement(dr,null,Be?me(Be,{locale:Me,format:wt,generateConfig:Le}):"\xA0"),oe.createElement(xt,it)))}function En(le){var De=le.prefixCls,Be=le.generateConfig,Me=le.showTime,Le=le.onSelect,it=le.value,ut=le.pickerValue,wt=le.onHover,nn="".concat(De,"-datetime-panel"),rn=Qt(Be,Me),Et=(0,Fe.Z)(rn,1),dn=Et[0],pn=function(Gt){return it?Se(Be,Gt,it):Se(Be,Gt,ut)},hn=function(Gt){wt==null||wt(Gt&&pn(Gt))},ln=function(Gt){var en=pn(Gt);Le(dn(en,en))};return oe.createElement("div",{className:nn},oe.createElement(Cr,(0,re.Z)({},le,{onSelect:ln,onHover:hn})),oe.createElement(Rn,le))}function Lt(le){var De=le.prefixCls,Be=le.locale,Me=le.generateConfig,Le=le.pickerValue,it=le.disabledDate,ut=le.onPickerValueChange,wt="".concat(De,"-decade-panel"),nn=_n(le,"decade"),rn=(0,Fe.Z)(nn,1),Et=rn[0],dn=function(Fn){var Kn=Math.floor(Me.getYear(Fn)/100)*100;return Me.setYear(Fn,Kn)},pn=function(Fn){var Kn=dn(Fn);return Me.addYear(Kn,99)},hn=dn(Le),ln=pn(Le),Vt=Me.addYear(hn,-10),Gt=function(Fn,Kn){return Me.addYear(Fn,Kn*10)},en=function(Fn){var Kn=Be.cellYearFormat,Dr=me(Fn,{locale:Be,format:Kn,generateConfig:Me}),Ar=me(Me.addYear(Fn,9),{locale:Be,format:Kn,generateConfig:Me});return"".concat(Dr,"-").concat(Ar)},wn=function(Fn){return(0,nt.Z)({},"".concat(De,"-cell-in-view"),Ht(Me,Fn,hn)||Ht(Me,Fn,ln)||ne(Me,hn,ln,Fn))},Cn=it?function(kn,Fn){var Kn=Me.setDate(kn,1),Dr=Me.setMonth(Kn,0),Ar=Me.setYear(Dr,Math.floor(Me.getYear(Dr)/10)*10),Mr=Me.addYear(Ar,10),hr=Me.addDate(Mr,-1);return it(Ar,Fn)&&it(hr,Fn)}:null,vn="".concat(me(hn,{locale:Be,format:Be.yearFormat,generateConfig:Me}),"-").concat(me(ln,{locale:Be,format:Be.yearFormat,generateConfig:Me}));return oe.createElement(kt.Provider,{value:Et},oe.createElement("div",{className:wt},oe.createElement(dr,{superOffset:function(Fn){return Me.addYear(Le,Fn*100)},onChange:ut,getStart:dn,getEnd:pn},vn),oe.createElement(Hn,(0,re.Z)({},le,{disabledDate:Cn,colNum:3,rowNum:4,baseDate:Vt,getCellDate:Gt,getCellText:en,getCellClassName:wn}))))}function Sn(le){var De=le.prefixCls,Be=le.locale,Me=le.generateConfig,Le=le.pickerValue,it=le.disabledDate,ut=le.onPickerValueChange,wt=le.onModeChange,nn="".concat(De,"-month-panel"),rn=_n(le,"month"),Et=(0,Fe.Z)(rn,1),dn=Et[0],pn=Me.setMonth(Le,0),hn=Be.shortMonths||(Me.locale.getShortMonths?Me.locale.getShortMonths(Be.locale):[]),ln=function(vn,kn){return Me.addMonth(vn,kn)},Vt=function(vn){var kn=Me.getMonth(vn);return Be.monthFormat?me(vn,{locale:Be,format:Be.monthFormat,generateConfig:Me}):hn[kn]},Gt=function(){return(0,nt.Z)({},"".concat(De,"-cell-in-view"),!0)},en=it?function(Cn,vn){var kn=Me.setDate(Cn,1),Fn=Me.setMonth(kn,Me.getMonth(kn)+1),Kn=Me.addDate(Fn,-1);return it(kn,vn)&&it(Kn,vn)}:null,wn=oe.createElement("button",{type:"button",key:"year","aria-label":Be.yearSelect,onClick:function(){wt("year")},tabIndex:-1,className:"".concat(De,"-year-btn")},me(Le,{locale:Be,format:Be.yearFormat,generateConfig:Me}));return oe.createElement(kt.Provider,{value:dn},oe.createElement("div",{className:nn},oe.createElement(dr,{superOffset:function(vn){return Me.addYear(Le,vn)},onChange:ut,getStart:function(vn){return Me.setMonth(vn,0)},getEnd:function(vn){return Me.setMonth(vn,11)}},wn),oe.createElement(Hn,(0,re.Z)({},le,{disabledDate:en,titleFormat:Be.fieldMonthFormat,colNum:3,rowNum:4,baseDate:pn,getCellDate:ln,getCellText:Vt,getCellClassName:Gt}))))}function Zn(le){var De=le.prefixCls,Be=le.locale,Me=le.generateConfig,Le=le.pickerValue,it=le.onPickerValueChange,ut=le.onModeChange,wt="".concat(De,"-quarter-panel"),nn=_n(le,"quarter"),rn=(0,Fe.Z)(nn,1),Et=rn[0],dn=Me.setMonth(Le,0),pn=function(en,wn){return Me.addMonth(en,wn*3)},hn=function(en){return me(en,{locale:Be,format:Be.cellQuarterFormat,generateConfig:Me})},ln=function(){return(0,nt.Z)({},"".concat(De,"-cell-in-view"),!0)},Vt=oe.createElement("button",{type:"button",key:"year","aria-label":Be.yearSelect,onClick:function(){ut("year")},tabIndex:-1,className:"".concat(De,"-year-btn")},me(Le,{locale:Be,format:Be.yearFormat,generateConfig:Me}));return oe.createElement(kt.Provider,{value:Et},oe.createElement("div",{className:wt},oe.createElement(dr,{superOffset:function(en){return Me.addYear(Le,en)},onChange:it,getStart:function(en){return Me.setMonth(en,0)},getEnd:function(en){return Me.setMonth(en,11)}},Vt),oe.createElement(Hn,(0,re.Z)({},le,{titleFormat:Be.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:dn,getCellDate:pn,getCellText:hn,getCellClassName:ln}))))}function zn(le){var De=le.prefixCls,Be=le.generateConfig,Me=le.locale,Le=le.value,it=le.hoverValue,ut=le.hoverRangeValue,wt=Me.locale,nn="".concat(De,"-week-panel-row"),rn=function(dn){var pn={};if(ut){var hn=(0,Fe.Z)(ut,2),ln=hn[0],Vt=hn[1],Gt=z(Be,wt,ln,dn),en=z(Be,wt,Vt,dn);pn["".concat(nn,"-range-start")]=Gt,pn["".concat(nn,"-range-end")]=en,pn["".concat(nn,"-range-hover")]=!Gt&&!en&&ne(Be,ln,Vt,dn)}return it&&(pn["".concat(nn,"-hover")]=it.some(function(wn){return z(Be,wt,dn,wn)})),Ie()(nn,(0,nt.Z)({},"".concat(nn,"-selected"),!ut&&z(Be,wt,Le,dn)),pn)};return oe.createElement(Cr,(0,re.Z)({},le,{mode:"week",panelName:"week",rowClassName:rn}))}function ir(le){var De=le.prefixCls,Be=le.locale,Me=le.generateConfig,Le=le.pickerValue,it=le.disabledDate,ut=le.onPickerValueChange,wt=le.onModeChange,nn="".concat(De,"-year-panel"),rn=_n(le,"year"),Et=(0,Fe.Z)(rn,1),dn=Et[0],pn=function(Kn){var Dr=Math.floor(Me.getYear(Kn)/10)*10;return Me.setYear(Kn,Dr)},hn=function(Kn){var Dr=pn(Kn);return Me.addYear(Dr,9)},ln=pn(Le),Vt=hn(Le),Gt=Me.addYear(ln,-1),en=function(Kn,Dr){return Me.addYear(Kn,Dr)},wn=function(Kn){return me(Kn,{locale:Be,format:Be.cellYearFormat,generateConfig:Me})},Cn=function(Kn){return(0,nt.Z)({},"".concat(De,"-cell-in-view"),We(Me,Kn,ln)||We(Me,Kn,Vt)||ne(Me,ln,Vt,Kn))},vn=it?function(Fn,Kn){var Dr=Me.setMonth(Fn,0),Ar=Me.setDate(Dr,1),Mr=Me.addYear(Ar,1),hr=Me.addDate(Mr,-1);return it(Ar,Kn)&&it(hr,Kn)}:null,kn=oe.createElement("button",{type:"button",key:"decade","aria-label":Be.decadeSelect,onClick:function(){wt("decade")},tabIndex:-1,className:"".concat(De,"-decade-btn")},me(ln,{locale:Be,format:Be.yearFormat,generateConfig:Me}),"-",me(Vt,{locale:Be,format:Be.yearFormat,generateConfig:Me}));return oe.createElement(kt.Provider,{value:dn},oe.createElement("div",{className:nn},oe.createElement(dr,{superOffset:function(Kn){return Me.addYear(Le,Kn*10)},onChange:ut,getStart:pn,getEnd:hn},kn),oe.createElement(Hn,(0,re.Z)({},le,{disabledDate:vn,titleFormat:Be.fieldYearFormat,colNum:3,rowNum:4,baseDate:Gt,getCellDate:en,getCellText:wn,getCellClassName:Cn}))))}var Kt={date:Cr,datetime:En,week:zn,month:Sn,quarter:Zn,year:ir,decade:Lt,time:Rn};function er(le,De){var Be,Me=le.locale,Le=le.generateConfig,it=le.direction,ut=le.prefixCls,wt=le.tabIndex,nn=wt===void 0?0:wt,rn=le.multiple,Et=le.defaultValue,dn=le.value,pn=le.onChange,hn=le.onSelect,ln=le.defaultPickerValue,Vt=le.pickerValue,Gt=le.onPickerValueChange,en=le.mode,wn=le.onPanelChange,Cn=le.picker,vn=Cn===void 0?"date":Cn,kn=le.showTime,Fn=le.hoverValue,Kn=le.hoverRangeValue,Dr=le.cellRender,Ar=le.dateRender,Mr=le.monthCellRender,hr=le.components,vr=hr===void 0?{}:hr,tr=le.hideHeader,yr=((Be=oe.useContext(je))===null||Be===void 0?void 0:Be.prefixCls)||ut||"rc-picker",or=oe.useRef();oe.useImperativeHandle(De,function(){return{nativeElement:or.current}});var pr=Tt(le),gr=(0,Fe.Z)(pr,4),On=gr[0],Jn=gr[1],Gn=gr[2],In=gr[3],Tn=Je(Me,Jn),nr=vn==="date"&&kn?"datetime":vn,xr=oe.useMemo(function(){return Mt(nr,Gn,In,On,Tn)},[nr,Gn,In,On,Tn]),Hr=Le.getNow(),Ur=(0,Ee.C8)(vn,{value:en,postState:function(Vn){return Vn||"date"}}),sr=(0,Fe.Z)(Ur,2),Qr=sr[0],Gr=sr[1],Kr=Qr==="date"&&xr?"datetime":Qr,ni=Nt(Le,Me,nr),ti=(0,Ee.C8)(Et,{value:dn}),hi=(0,Fe.Z)(ti,2),Jr=hi[0],Zi=hi[1],ii=oe.useMemo(function(){var Fr=be(Jr).filter(function(Vn){return Vn});return rn?Fr:Fr.slice(0,1)},[Jr,rn]),zi=(0,Ee.zX)(function(Fr){Zi(Fr),pn&&(Fr===null||ii.length!==Fr.length||ii.some(function(Vn,br){return!ee(Le,Me,Vn,Fr[br],nr)}))&&(pn==null||pn(rn?Fr:Fr[0]))}),ui=(0,Ee.zX)(function(Fr){if(hn==null||hn(Fr),Qr===vn){var Vn=rn?ni(ii,Fr):[Fr];zi(Vn)}}),Ai=(0,Ee.C8)(ln||ii[0]||Hr,{value:Vt}),Ki=(0,Fe.Z)(Ai,2),ki=Ki[0],yi=Ki[1];oe.useEffect(function(){ii[0]&&!Vt&&yi(ii[0])},[ii[0]]);var Xi=function(Vn,br){wn==null||wn(Vn||Vt,br||Qr)},Ui=function(Vn){var br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;yi(Vn),Gt==null||Gt(Vn),br&&Xi(Vn)},_i=function(Vn,br){Gr(Vn),br&&Ui(br),Xi(br,Vn)},bi=function(Vn){if(ui(Vn),Ui(Vn),Qr!==vn){var br=["decade","year"],lr=[].concat(br,["month"]),mr={quarter:[].concat(br,["quarter"]),week:[].concat((0,Ne.Z)(lr),["week"]),date:[].concat((0,Ne.Z)(lr),["date"])},vi=mr[vn]||lr,Ci=vi.indexOf(Qr),Yi=vi[Ci+1];Yi&&_i(Yi,Vn)}},ra=oe.useMemo(function(){var Fr,Vn;if(Array.isArray(Kn)){var br=(0,Fe.Z)(Kn,2);Fr=br[0],Vn=br[1]}else Fr=Kn;return!Fr&&!Vn?null:(Fr=Fr||Vn,Vn=Vn||Fr,Le.isAfter(Fr,Vn)?[Vn,Fr]:[Fr,Vn])},[Kn,Le]),Ni=ze(Dr,Ar,Mr),Si=vr[Kr]||Kt[Kr]||Cr,Bi=oe.useContext(Yn),qi=oe.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},Bi),{},{hideHeader:tr})},[Bi,tr]),ri="".concat(yr,"-panel"),$i=Ge(le,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return oe.createElement(Yn.Provider,{value:qi},oe.createElement("div",{ref:or,tabIndex:nn,className:Ie()(ri,(0,nt.Z)({},"".concat(ri,"-rtl"),it==="rtl"))},oe.createElement(Si,(0,re.Z)({},$i,{showTime:xr,prefixCls:yr,locale:Tn,generateConfig:Le,onModeChange:_i,pickerValue:ki,onPickerValueChange:function(Vn){Ui(Vn,!0)},value:ii[0],onSelect:bi,values:ii,cellRender:Ni,hoverRangeValue:ra,hoverValue:Fn}))))}var Dn=oe.memo(oe.forwardRef(er)),Wr=Dn;function qn(le){var De=le.picker,Be=le.multiplePanel,Me=le.pickerValue,Le=le.onPickerValueChange,it=le.needConfirm,ut=le.onSubmit,wt=le.range,nn=le.hoverValue,rn=oe.useContext(je),Et=rn.prefixCls,dn=rn.generateConfig,pn=oe.useCallback(function(wn,Cn){return gn(dn,De,wn,Cn)},[dn,De]),hn=oe.useMemo(function(){return pn(Me,1)},[Me,pn]),ln=function(Cn){Le(pn(Cn,-1))},Vt={onCellDblClick:function(){it&&ut()}},Gt=De==="time",en=(0,Te.Z)((0,Te.Z)({},le),{},{hoverValue:null,hoverRangeValue:null,hideHeader:Gt});return wt?en.hoverRangeValue=nn:en.hoverValue=nn,Be?oe.createElement("div",{className:"".concat(Et,"-panels")},oe.createElement(Yn.Provider,{value:(0,Te.Z)((0,Te.Z)({},Vt),{},{hideNext:!0})},oe.createElement(Wr,en)),oe.createElement(Yn.Provider,{value:(0,Te.Z)((0,Te.Z)({},Vt),{},{hidePrev:!0})},oe.createElement(Wr,(0,re.Z)({},en,{pickerValue:hn,onPickerValueChange:ln})))):oe.createElement(Yn.Provider,{value:(0,Te.Z)({},Vt)},oe.createElement(Wr,en))}function Pr(le){return typeof le=="function"?le():le}function Nr(le){var De=le.prefixCls,Be=le.presets,Me=le.onClick,Le=le.onHover;return Be.length?oe.createElement("div",{className:"".concat(De,"-presets")},oe.createElement("ul",null,Be.map(function(it,ut){var wt=it.label,nn=it.value;return oe.createElement("li",{key:ut,onClick:function(){Me(Pr(nn))},onMouseEnter:function(){Le(Pr(nn))},onMouseLeave:function(){Le(null)}},wt)}))):null}function jr(le){var De=le.panelRender,Be=le.internalMode,Me=le.picker,Le=le.showNow,it=le.range,ut=le.multiple,wt=le.activeInfo,nn=wt===void 0?[0,0,0]:wt,rn=le.presets,Et=le.onPresetHover,dn=le.onPresetSubmit,pn=le.onFocus,hn=le.onBlur,ln=le.onPanelMouseDown,Vt=le.direction,Gt=le.value,en=le.onSelect,wn=le.isInvalid,Cn=le.defaultOpenValue,vn=le.onOk,kn=le.onSubmit,Fn=oe.useContext(je),Kn=Fn.prefixCls,Dr="".concat(Kn,"-panel"),Ar=Vt==="rtl",Mr=oe.useRef(null),hr=oe.useRef(null),vr=oe.useState(0),tr=(0,Fe.Z)(vr,2),yr=tr[0],or=tr[1],pr=oe.useState(0),gr=(0,Fe.Z)(pr,2),On=gr[0],Jn=gr[1],Gn=oe.useState(0),In=(0,Fe.Z)(Gn,2),Tn=In[0],nr=In[1],xr=function(bi){bi.width&&or(bi.width)},Hr=(0,Fe.Z)(nn,3),Ur=Hr[0],sr=Hr[1],Qr=Hr[2],Gr=oe.useState(0),Kr=(0,Fe.Z)(Gr,2),ni=Kr[0],ti=Kr[1];oe.useEffect(function(){ti(10)},[Ur]),oe.useEffect(function(){if(it&&hr.current){var _i,bi=((_i=Mr.current)===null||_i===void 0?void 0:_i.offsetWidth)||0,ra=hr.current.getBoundingClientRect();if(!ra.height||ra.right<0){ti(function(qi){return Math.max(0,qi-1)});return}var Ni=(Ar?sr-bi:Ur)-ra.left;if(nr(Ni),yr&&yr<Qr){var Si=Ar?ra.right-(sr-bi+yr):Ur+bi-ra.left-yr,Bi=Math.max(0,Si);Jn(Bi)}else Jn(0)}},[ni,Ar,yr,Ur,sr,Qr,it]);function hi(_i){return _i.filter(function(bi){return bi})}var Jr=oe.useMemo(function(){return hi(be(Gt))},[Gt]),Zi=Me==="time"&&!Jr.length,ii=oe.useMemo(function(){return Zi?hi([Cn]):Jr},[Zi,Jr,Cn]),zi=Zi?Cn:Jr,ui=oe.useMemo(function(){return ii.length?ii.some(function(_i){return wn(_i)}):!0},[ii,wn]),Ai=function(){Zi&&en(Cn),vn(),kn()},Ki=oe.createElement("div",{className:"".concat(Kn,"-panel-layout")},oe.createElement(Nr,{prefixCls:Kn,presets:rn,onClick:dn,onHover:Et}),oe.createElement("div",null,oe.createElement(qn,(0,re.Z)({},le,{value:zi})),oe.createElement(It,(0,re.Z)({},le,{showNow:ut?!1:Le,invalid:ui,onSubmit:Ai}))));De&&(Ki=De(Ki));var ki="".concat(Dr,"-container"),yi="marginLeft",Xi="marginRight",Ui=oe.createElement("div",{onMouseDown:ln,tabIndex:-1,className:Ie()(ki,"".concat(Kn,"-").concat(Be,"-panel-container")),style:(0,nt.Z)((0,nt.Z)({},Ar?Xi:yi,On),Ar?yi:Xi,"auto"),onFocus:pn,onBlur:hn},Ki);return it&&(Ui=oe.createElement("div",{onMouseDown:ln,ref:hr,className:Ie()("".concat(Kn,"-range-wrapper"),"".concat(Kn,"-").concat(Me,"-range-wrapper"))},oe.createElement("div",{ref:Mr,className:"".concat(Kn,"-range-arrow"),style:{left:Tn}}),oe.createElement(Wn.Z,{onResize:xr},Ui))),Ui}var Vr=se(43079);function li(le,De){var Be=le.format,Me=le.maskFormat,Le=le.generateConfig,it=le.locale,ut=le.preserveInvalidOnBlur,wt=le.inputReadOnly,nn=le.required,rn=le["aria-required"],Et=le.onSubmit,dn=le.onFocus,pn=le.onBlur,hn=le.onInputChange,ln=le.onInvalid,Vt=le.open,Gt=le.onOpenChange,en=le.onKeyDown,wn=le.onChange,Cn=le.activeHelp,vn=le.name,kn=le.autoComplete,Fn=le.id,Kn=le.value,Dr=le.invalid,Ar=le.placeholder,Mr=le.disabled,hr=le.activeIndex,vr=le.allHelp,tr=le.picker,yr=function(Tn,nr){var xr=Le.locale.parse(it.locale,Tn,[nr]);return xr&&Le.isValidate(xr)?xr:null},or=Be[0],pr=oe.useCallback(function(In){return me(In,{locale:it,format:or,generateConfig:Le})},[it,Le,or]),gr=oe.useMemo(function(){return Kn.map(pr)},[Kn,pr]),On=oe.useMemo(function(){var In=tr==="time"?8:10,Tn=typeof or=="function"?or(Le.getNow()).length:or.length;return Math.max(In,Tn)+2},[or,tr,Le]),Jn=function(Tn){for(var nr=0;nr<Be.length;nr+=1){var xr=Be[nr];if(typeof xr=="string"){var Hr=yr(Tn,xr);if(Hr)return Hr}}return!1},Gn=function(Tn){function nr(Ur){return Tn!==void 0?Ur[Tn]:Ur}var xr=(0,Ce.Z)(le,{aria:!0,data:!0}),Hr=(0,Te.Z)((0,Te.Z)({},xr),{},{format:Me,validateFormat:function(sr){return!!Jn(sr)},preserveInvalidOnBlur:ut,readOnly:wt,required:nn,"aria-required":rn,name:vn,autoComplete:kn,size:On,id:nr(Fn),value:nr(gr)||"",invalid:nr(Dr),placeholder:nr(Ar),active:hr===Tn,helped:vr||Cn&&hr===Tn,disabled:nr(Mr),onFocus:function(sr){dn(sr,Tn)},onBlur:function(sr){pn(sr,Tn)},onSubmit:Et,onChange:function(sr){hn();var Qr=Jn(sr);if(Qr){ln(!1,Tn),wn(Qr,Tn);return}ln(!!sr,Tn)},onHelp:function(){Gt(!0,{index:Tn})},onKeyDown:function(sr){var Qr=!1;if(en==null||en(sr,function(){Qr=!0}),!sr.defaultPrevented&&!Qr)switch(sr.key){case"Escape":Gt(!1,{index:Tn});break;case"Enter":Vt||Gt(!0);break}}},De==null?void 0:De({valueTexts:gr}));return Object.keys(Hr).forEach(function(Ur){Hr[Ur]===void 0&&delete Hr[Ur]}),Hr};return[Gn,pr]}var Di=["onMouseEnter","onMouseLeave"];function fi(le){return oe.useMemo(function(){return Ge(le,Di)},[le])}var Li=["icon","type"],ei=["onClear"];function Mi(le){var De=le.icon,Be=le.type,Me=(0,Vr.Z)(le,Li),Le=oe.useContext(je),it=Le.prefixCls;return De?oe.createElement("span",(0,re.Z)({className:"".concat(it,"-").concat(Be)},Me),De):null}function Wi(le){var De=le.onClear,Be=(0,Vr.Z)(le,ei);return oe.createElement(Mi,(0,re.Z)({},Be,{type:"clear",role:"button",onMouseDown:function(Le){Le.preventDefault()},onClick:function(Le){Le.stopPropagation(),De()}}))}var Fi=se(33377),Ri=se(93912),Hi=["YYYY","MM","DD","HH","mm","ss","SSS"],Ti="\u9867",ci=function(){function le(De){(0,Fi.Z)(this,le),(0,nt.Z)(this,"format",void 0),(0,nt.Z)(this,"maskFormat",void 0),(0,nt.Z)(this,"cells",void 0),(0,nt.Z)(this,"maskCells",void 0),this.format=De;var Be=Hi.map(function(wt){return"(".concat(wt,")")}).join("|"),Me=new RegExp(Be,"g");this.maskFormat=De.replace(Me,function(wt){return Ti.repeat(wt.length)});var Le=new RegExp("(".concat(Hi.join("|"),")")),it=(De.split(Le)||[]).filter(function(wt){return wt}),ut=0;this.cells=it.map(function(wt){var nn=Hi.includes(wt),rn=ut,Et=ut+wt.length;return ut=Et,{text:wt,mask:nn,start:rn,end:Et}}),this.maskCells=this.cells.filter(function(wt){return wt.mask})}return(0,Ri.Z)(le,[{key:"getSelection",value:function(Be){var Me=this.maskCells[Be]||{},Le=Me.start,it=Me.end;return[Le||0,it||0]}},{key:"match",value:function(Be){for(var Me=0;Me<this.maskFormat.length;Me+=1){var Le=this.maskFormat[Me],it=Be[Me];if(!it||Le!==Ti&&Le!==it)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Be){for(var Me=Number.MAX_SAFE_INTEGER,Le=0,it=0;it<this.maskCells.length;it+=1){var ut=this.maskCells[it],wt=ut.start,nn=ut.end;if(Be>=wt&&Be<=nn)return it;var rn=Math.min(Math.abs(Be-wt),Math.abs(Be-nn));rn<Me&&(Me=rn,Le=it)}return Le}}]),le}();function ji(le){var De={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return De[le]}var Oi=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],wr=oe.forwardRef(function(le,De){var Be=le.active,Me=le.showActiveCls,Le=Me===void 0?!0:Me,it=le.suffixIcon,ut=le.format,wt=le.validateFormat,nn=le.onChange,rn=le.onInput,Et=le.helped,dn=le.onHelp,pn=le.onSubmit,hn=le.onKeyDown,ln=le.preserveInvalidOnBlur,Vt=ln===void 0?!1:ln,Gt=le.invalid,en=le.clearIcon,wn=(0,Vr.Z)(le,Oi),Cn=le.value,vn=le.onFocus,kn=le.onBlur,Fn=le.onMouseUp,Kn=oe.useContext(je),Dr=Kn.prefixCls,Ar=Kn.input,Mr=Ar===void 0?"input":Ar,hr="".concat(Dr,"-input"),vr=oe.useState(!1),tr=(0,Fe.Z)(vr,2),yr=tr[0],or=tr[1],pr=oe.useState(Cn),gr=(0,Fe.Z)(pr,2),On=gr[0],Jn=gr[1],Gn=oe.useState(""),In=(0,Fe.Z)(Gn,2),Tn=In[0],nr=In[1],xr=oe.useState(null),Hr=(0,Fe.Z)(xr,2),Ur=Hr[0],sr=Hr[1],Qr=oe.useState(null),Gr=(0,Fe.Z)(Qr,2),Kr=Gr[0],ni=Gr[1],ti=On||"";oe.useEffect(function(){Jn(Cn)},[Cn]);var hi=oe.useRef(),Jr=oe.useRef();oe.useImperativeHandle(De,function(){return{nativeElement:hi.current,inputElement:Jr.current,focus:function(Vn){Jr.current.focus(Vn)},blur:function(){Jr.current.blur()}}});var Zi=oe.useMemo(function(){return new ci(ut||"")},[ut]),ii=oe.useMemo(function(){return Et?[0,0]:Zi.getSelection(Ur)},[Zi,Ur,Et]),zi=(0,Fe.Z)(ii,2),ui=zi[0],Ai=zi[1],Ki=function(Vn){Vn&&Vn!==ut&&Vn!==Cn&&dn()},ki=(0,Ee.zX)(function(Fr){wt(Fr)&&nn(Fr),Jn(Fr),Ki(Fr)}),yi=function(Vn){if(!ut){var br=Vn.target.value;Ki(br),Jn(br),nn(br)}},Xi=function(Vn){var br=Vn.clipboardData.getData("text");wt(br)&&ki(br)},Ui=oe.useRef(!1),_i=function(){Ui.current=!0},bi=function(Vn){var br=Vn.target,lr=br.selectionStart,mr=Zi.getMaskCellIndex(lr);sr(mr),ni({}),Fn==null||Fn(Vn),Ui.current=!1},ra=function(Vn){or(!0),sr(0),nr(""),vn(Vn)},Ni=function(Vn){kn(Vn)},Si=function(Vn){or(!1),Ni(Vn)};ct(Be,function(){!Be&&!Vt&&Jn(Cn)});var Bi=function(Vn){Vn.key==="Enter"&&wt(ti)&&pn(),hn==null||hn(Vn)},qi=function(Vn){Bi(Vn);var br=Vn.key,lr=null,mr=null,vi=Ai-ui,Ci=ut.slice(ui,Ai),Yi=function(Qi){sr(function(la){var ta=la+Qi;return ta=Math.max(ta,0),ta=Math.min(ta,Zi.size()-1),ta})},ia=function(Qi){var la=ji(Ci),ta=(0,Fe.Z)(la,3),La=ta[0],Qa=ta[1],Na=ta[2],Fa=ti.slice(ui,Ai),ka=Number(Fa);if(isNaN(ka))return String(Na||(Qi>0?La:Qa));var ua=ka+Qi,Ca=Qa-La+1;return String(La+(Ca+ua-La)%Ca)};switch(br){case"Backspace":case"Delete":lr="",mr=Ci;break;case"ArrowLeft":lr="",Yi(-1);break;case"ArrowRight":lr="",Yi(1);break;case"ArrowUp":lr="",mr=ia(1);break;case"ArrowDown":lr="",mr=ia(-1);break;default:isNaN(Number(br))||(lr=Tn+br,mr=lr);break}if(lr!==null&&(nr(lr),lr.length>=vi&&(Yi(1),nr(""))),mr!==null){var aa=ti.slice(0,ui)+ke(mr,vi)+ti.slice(Ai);ki(aa.slice(0,ut.length))}ni({})},ri=oe.useRef();(0,fe.Z)(function(){if(!(!yr||!ut||Ui.current)){if(!Zi.match(ti)){ki(ut);return}return Jr.current.setSelectionRange(ui,Ai),ri.current=(0,tn.Z)(function(){Jr.current.setSelectionRange(ui,Ai)}),function(){tn.Z.cancel(ri.current)}}},[Zi,ut,yr,ti,Ur,ui,Ai,Kr,ki]);var $i=ut?{onFocus:ra,onBlur:Si,onKeyDown:qi,onMouseDown:_i,onMouseUp:bi,onPaste:Xi}:{};return oe.createElement("div",{ref:hi,className:Ie()(hr,(0,nt.Z)((0,nt.Z)({},"".concat(hr,"-active"),Be&&Le),"".concat(hr,"-placeholder"),Et))},oe.createElement(Mr,(0,re.Z)({ref:Jr,"aria-invalid":Gt,autoComplete:"off"},wn,{onKeyDown:Bi,onBlur:Ni},$i,{value:ti,onChange:yi})),oe.createElement(Mi,{type:"suffix",icon:it}),en)}),Yr=wr,si=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],wi=["index"];function xi(le,De){var Be=le.id,Me=le.prefix,Le=le.clearIcon,it=le.suffixIcon,ut=le.separator,wt=ut===void 0?"~":ut,nn=le.activeIndex,rn=le.activeHelp,Et=le.allHelp,dn=le.focused,pn=le.onFocus,hn=le.onBlur,ln=le.onKeyDown,Vt=le.locale,Gt=le.generateConfig,en=le.placeholder,wn=le.className,Cn=le.style,vn=le.onClick,kn=le.onClear,Fn=le.value,Kn=le.onChange,Dr=le.onSubmit,Ar=le.onInputChange,Mr=le.format,hr=le.maskFormat,vr=le.preserveInvalidOnBlur,tr=le.onInvalid,yr=le.disabled,or=le.invalid,pr=le.inputReadOnly,gr=le.direction,On=le.onOpenChange,Jn=le.onActiveInfo,Gn=le.placement,In=le.onMouseDown,Tn=le.required,nr=le["aria-required"],xr=le.autoFocus,Hr=le.tabIndex,Ur=(0,Vr.Z)(le,si),sr=gr==="rtl",Qr=oe.useContext(je),Gr=Qr.prefixCls,Kr=oe.useMemo(function(){if(typeof Be=="string")return[Be];var Ni=Be||{};return[Ni.start,Ni.end]},[Be]),ni=oe.useRef(),ti=oe.useRef(),hi=oe.useRef(),Jr=function(Si){var Bi;return(Bi=[ti,hi][Si])===null||Bi===void 0?void 0:Bi.current};oe.useImperativeHandle(De,function(){return{nativeElement:ni.current,focus:function(Si){if((0,Rt.Z)(Si)==="object"){var Bi,qi=Si||{},ri=qi.index,$i=ri===void 0?0:ri,Fr=(0,Vr.Z)(qi,wi);(Bi=Jr($i))===null||Bi===void 0||Bi.focus(Fr)}else{var Vn;(Vn=Jr(Si!=null?Si:0))===null||Vn===void 0||Vn.focus()}},blur:function(){var Si,Bi;(Si=Jr(0))===null||Si===void 0||Si.blur(),(Bi=Jr(1))===null||Bi===void 0||Bi.blur()}}});var Zi=fi(Ur),ii=oe.useMemo(function(){return Array.isArray(en)?en:[en,en]},[en]),zi=li((0,Te.Z)((0,Te.Z)({},le),{},{id:Kr,placeholder:ii})),ui=(0,Fe.Z)(zi,1),Ai=ui[0],Ki=oe.useState({position:"absolute",width:0}),ki=(0,Fe.Z)(Ki,2),yi=ki[0],Xi=ki[1],Ui=(0,Ee.zX)(function(){var Ni=Jr(nn);if(Ni){var Si=Ni.nativeElement.getBoundingClientRect(),Bi=ni.current.getBoundingClientRect(),qi=Si.left-Bi.left;Xi(function(ri){return(0,Te.Z)((0,Te.Z)({},ri),{},{width:Si.width,left:qi})}),Jn([Si.left,Si.right,Bi.width])}});oe.useEffect(function(){Ui()},[nn]);var _i=Le&&(Fn[0]&&!yr[0]||Fn[1]&&!yr[1]),bi=xr&&!yr[0],ra=xr&&!bi&&!yr[1];return oe.createElement(Wn.Z,{onResize:Ui},oe.createElement("div",(0,re.Z)({},Zi,{className:Ie()(Gr,"".concat(Gr,"-range"),(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(Gr,"-focused"),dn),"".concat(Gr,"-disabled"),yr.every(function(Ni){return Ni})),"".concat(Gr,"-invalid"),or.some(function(Ni){return Ni})),"".concat(Gr,"-rtl"),sr),wn),style:Cn,ref:ni,onClick:vn,onMouseDown:function(Si){var Bi=Si.target;Bi!==ti.current.inputElement&&Bi!==hi.current.inputElement&&Si.preventDefault(),In==null||In(Si)}}),Me&&oe.createElement("div",{className:"".concat(Gr,"-prefix")},Me),oe.createElement(Yr,(0,re.Z)({ref:ti},Ai(0),{autoFocus:bi,tabIndex:Hr,"date-range":"start"})),oe.createElement("div",{className:"".concat(Gr,"-range-separator")},wt),oe.createElement(Yr,(0,re.Z)({ref:hi},Ai(1),{autoFocus:ra,tabIndex:Hr,"date-range":"end"})),oe.createElement("div",{className:"".concat(Gr,"-active-bar"),style:yi}),oe.createElement(Mi,{type:"suffix",icon:it}),_i&&oe.createElement(Wi,{icon:Le,onClear:kn})))}var Ei=oe.forwardRef(xi),Vi=Ei;function et(le,De){var Be=le!=null?le:De;return Array.isArray(Be)?Be:[Be,Be]}function Yt(le){return le===1?"end":"start"}function Zt(le,De){var Be=zt(le,function(){var gi=le.disabled,_r=le.allowEmpty,ai=et(gi,!1),Pi=et(_r,!1);return{disabled:ai,allowEmpty:Pi}}),Me=(0,Fe.Z)(Be,6),Le=Me[0],it=Me[1],ut=Me[2],wt=Me[3],nn=Me[4],rn=Me[5],Et=Le.prefixCls,dn=Le.styles,pn=Le.classNames,hn=Le.defaultValue,ln=Le.value,Vt=Le.needConfirm,Gt=Le.onKeyDown,en=Le.disabled,wn=Le.allowEmpty,Cn=Le.disabledDate,vn=Le.minDate,kn=Le.maxDate,Fn=Le.defaultOpen,Kn=Le.open,Dr=Le.onOpenChange,Ar=Le.locale,Mr=Le.generateConfig,hr=Le.picker,vr=Le.showNow,tr=Le.showToday,yr=Le.showTime,or=Le.mode,pr=Le.onPanelChange,gr=Le.onCalendarChange,On=Le.onOk,Jn=Le.defaultPickerValue,Gn=Le.pickerValue,In=Le.onPickerValueChange,Tn=Le.inputReadOnly,nr=Le.suffixIcon,xr=Le.onFocus,Hr=Le.onBlur,Ur=Le.presets,sr=Le.ranges,Qr=Le.components,Gr=Le.cellRender,Kr=Le.dateRender,ni=Le.monthCellRender,ti=Le.onClick,hi=Jt(De),Jr=on(Kn,Fn,en,Dr),Zi=(0,Fe.Z)(Jr,2),ii=Zi[0],zi=Zi[1],ui=function(_r,ai){(en.some(function(Pi){return!Pi})||!_r)&&zi(_r,ai)},Ai=ar(Mr,Ar,wt,!0,!1,hn,ln,gr,On),Ki=(0,Fe.Z)(Ai,5),ki=Ki[0],yi=Ki[1],Xi=Ki[2],Ui=Ki[3],_i=Ki[4],bi=Xi(),ra=Ut(en,wn,ii),Ni=(0,Fe.Z)(ra,9),Si=Ni[0],Bi=Ni[1],qi=Ni[2],ri=Ni[3],$i=Ni[4],Fr=Ni[5],Vn=Ni[6],br=Ni[7],lr=Ni[8],mr=function(_r,ai){Bi(!0),xr==null||xr(_r,{range:Yt(ai!=null?ai:ri)})},vi=function(_r,ai){Bi(!1),Hr==null||Hr(_r,{range:Yt(ai!=null?ai:ri)})},Ci=oe.useMemo(function(){if(!yr)return null;var gi=yr.disabledTime,_r=gi?function(ai){var Pi=Yt(ri),va=ge(bi,Vn,ri);return gi(ai,Pi,{from:va})}:void 0;return(0,Te.Z)((0,Te.Z)({},yr),{},{disabledTime:_r})},[yr,ri,bi,Vn]),Yi=(0,Ee.C8)([hr,hr],{value:or}),ia=(0,Fe.Z)(Yi,2),aa=ia[0],Gi=ia[1],Qi=aa[ri]||hr,la=Qi==="date"&&Ci?"datetime":Qi,ta=la===hr&&la!=="time",La=Er(hr,Qi,vr,tr,!0),Qa=Lr(Le,ki,yi,Xi,Ui,en,wt,Si,ii,rn),Na=(0,Fe.Z)(Qa,2),Fa=Na[0],ka=Na[1],ua=_t(bi,en,Vn,Mr,Ar,Cn),Ca=Ze(bi,rn,wn),xa=(0,Fe.Z)(Ca,2),ao=xa[0],bo=xa[1],vo=jn(Mr,Ar,bi,aa,ii,ri,it,ta,Jn,Gn,Ci==null?void 0:Ci.defaultOpenValue,In,vn,kn),Va=(0,Fe.Z)(vo,2),wo=Va[0],oo=Va[1],wa=(0,Ee.zX)(function(gi,_r,ai){var Pi=Ve(aa,ri,_r);if((Pi[0]!==aa[0]||Pi[1]!==aa[1])&&Gi(Pi),pr&&ai!==!1){var va=(0,Ne.Z)(bi);gi&&(va[ri]=gi),pr(va,Pi)}}),lo=function(_r,ai){return Ve(bi,ai,_r)},Ma=function(_r,ai){var Pi=bi;_r&&(Pi=lo(_r,ri)),br(ri);var va=Fr(Pi);Ui(Pi),Fa(ri,va===null),va===null?ui(!1,{force:!0}):ai||hi.current.focus({index:va})},po=function(_r){var ai,Pi=_r.target.getRootNode();if(!hi.current.nativeElement.contains((ai=Pi.activeElement)!==null&&ai!==void 0?ai:document.activeElement)){var va=en.findIndex(function(El){return!El});va>=0&&hi.current.focus({index:va})}ui(!0),ti==null||ti(_r)},so=function(){ka(null),ui(!1,{force:!0})},mo=oe.useState(null),Ha=(0,Fe.Z)(mo,2),uo=Ha[0],eo=Ha[1],Ea=oe.useState(null),Ja=(0,Fe.Z)(Ea,2),_a=Ja[0],co=Ja[1],to=oe.useMemo(function(){return _a||bi},[bi,_a]);oe.useEffect(function(){ii||co(null)},[ii]);var fo=oe.useState([0,0,0]),Ia=(0,Fe.Z)(fo,2),no=Ia[0],Eo=Ia[1],qa=Pt(Ur,sr),go=function(_r){co(_r),eo("preset")},Ua=function(_r){var ai=ka(_r);ai&&ui(!1,{force:!0})},yo=function(_r){Ma(_r)},ja=function(_r){co(_r?lo(_r,ri):null),eo("cell")},pi=function(_r){ui(!0),mr(_r)},mi=function(){qi("panel")},oa=function(_r){var ai=Ve(bi,ri,_r);Ui(ai),!Vt&&!ut&&it===la&&Ma(_r)},ha=function(){ui(!1)},da=ze(Gr,Kr,ni,Yt(ri)),Ya=bi[ri]||null,za=(0,Ee.zX)(function(gi){return rn(gi,{activeIndex:ri})}),di=oe.useMemo(function(){var gi=(0,Ce.Z)(Le,!1),_r=(0,Oe.Z)(Le,[].concat((0,Ne.Z)(Object.keys(gi)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return _r},[Le]),qr=oe.createElement(jr,(0,re.Z)({},di,{showNow:La,showTime:Ci,range:!0,multiplePanel:ta,activeInfo:no,disabledDate:ua,onFocus:pi,onBlur:vi,onPanelMouseDown:mi,picker:hr,mode:Qi,internalMode:la,onPanelChange:wa,format:nn,value:Ya,isInvalid:za,onChange:null,onSelect:oa,pickerValue:wo,defaultOpenValue:be(yr==null?void 0:yr.defaultOpenValue)[ri],onPickerValueChange:oo,hoverValue:to,onHover:ja,needConfirm:Vt,onSubmit:Ma,onOk:_i,presets:qa,onPresetHover:go,onPresetSubmit:Ua,onNow:yo,cellRender:da})),sa=function(_r,ai){var Pi=lo(_r,ai);Ui(Pi)},$a=function(){qi("input")},Mo=function(_r,ai){var Pi=Vn.length,va=Vn[Pi-1];if(Pi&&va!==ai&&Vt&&!wn[va]&&!lr(va)&&bi[va]){hi.current.focus({index:va});return}qi("input"),ui(!0,{inherit:!0}),ri!==ai&&ii&&!Vt&&ut&&Ma(null,!0),$i(ai),mr(_r,ai)},xl=function(_r,ai){if(ui(!1),!Vt&&qi()==="input"){var Pi=Fr(bi);Fa(ri,Pi===null)}vi(_r,ai)},bl=function(_r,ai){_r.key==="Tab"&&Ma(null,!0),Gt==null||Gt(_r,ai)},wl=oe.useMemo(function(){return{prefixCls:Et,locale:Ar,generateConfig:Mr,button:Qr.button,input:Qr.input}},[Et,Ar,Mr,Qr.button,Qr.input]);if((0,fe.Z)(function(){ii&&ri!==void 0&&wa(null,hr,!1)},[ii,ri,hr]),(0,fe.Z)(function(){var gi=qi();!ii&&gi==="input"&&(ui(!1),Ma(null,!0)),!ii&&ut&&!Vt&&gi==="panel"&&(ui(!0),Ma())},[ii]),0)var Yl;return oe.createElement(je.Provider,{value:wl},oe.createElement(rt,(0,re.Z)({},Ae(Le),{popupElement:qr,popupStyle:dn.popup,popupClassName:pn.popup,visible:ii,onClose:ha,range:!0}),oe.createElement(Vi,(0,re.Z)({},Le,{ref:hi,suffixIcon:nr,activeIndex:Si||ii?ri:null,activeHelp:!!_a,allHelp:!!_a&&uo==="preset",focused:Si,onFocus:Mo,onBlur:xl,onKeyDown:bl,onSubmit:Ma,value:to,maskFormat:nn,onChange:sa,onInputChange:$a,format:wt,inputReadOnly:Tn,disabled:en,open:ii,onOpenChange:ui,onClick:po,onClear:so,invalid:ao,onInvalid:bo,onActiveInfo:Eo}))))}var qt=oe.forwardRef(Zt),fn=qt,xn=se(11780);function Nn(le){var De=le.prefixCls,Be=le.value,Me=le.onRemove,Le=le.removeIcon,it=Le===void 0?"\xD7":Le,ut=le.formatDate,wt=le.disabled,nn=le.maxTagCount,rn=le.placeholder,Et="".concat(De,"-selector"),dn="".concat(De,"-selection"),pn="".concat(dn,"-overflow");function hn(Gt,en){return oe.createElement("span",{className:Ie()("".concat(dn,"-item")),title:typeof Gt=="string"?Gt:null},oe.createElement("span",{className:"".concat(dn,"-item-content")},Gt),!wt&&en&&oe.createElement("span",{onMouseDown:function(Cn){Cn.preventDefault()},onClick:en,className:"".concat(dn,"-item-remove")},it))}function ln(Gt){var en=ut(Gt),wn=function(vn){vn&&vn.stopPropagation(),Me(Gt)};return hn(en,wn)}function Vt(Gt){var en="+ ".concat(Gt.length," ...");return hn(en)}return oe.createElement("div",{className:Et},oe.createElement(xn.Z,{prefixCls:pn,data:Be,renderItem:ln,renderRest:Vt,itemKey:function(en){return ut(en)},maxCount:nn}),!Be.length&&oe.createElement("span",{className:"".concat(De,"-selection-placeholder")},rn))}var Bn=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function An(le,De){var Be=le.id,Me=le.open,Le=le.prefix,it=le.clearIcon,ut=le.suffixIcon,wt=le.activeHelp,nn=le.allHelp,rn=le.focused,Et=le.onFocus,dn=le.onBlur,pn=le.onKeyDown,hn=le.locale,ln=le.generateConfig,Vt=le.placeholder,Gt=le.className,en=le.style,wn=le.onClick,Cn=le.onClear,vn=le.internalPicker,kn=le.value,Fn=le.onChange,Kn=le.onSubmit,Dr=le.onInputChange,Ar=le.multiple,Mr=le.maxTagCount,hr=le.format,vr=le.maskFormat,tr=le.preserveInvalidOnBlur,yr=le.onInvalid,or=le.disabled,pr=le.invalid,gr=le.inputReadOnly,On=le.direction,Jn=le.onOpenChange,Gn=le.onMouseDown,In=le.required,Tn=le["aria-required"],nr=le.autoFocus,xr=le.tabIndex,Hr=le.removeIcon,Ur=(0,Vr.Z)(le,Bn),sr=On==="rtl",Qr=oe.useContext(je),Gr=Qr.prefixCls,Kr=oe.useRef(),ni=oe.useRef();oe.useImperativeHandle(De,function(){return{nativeElement:Kr.current,focus:function(yi){var Xi;(Xi=ni.current)===null||Xi===void 0||Xi.focus(yi)},blur:function(){var yi;(yi=ni.current)===null||yi===void 0||yi.blur()}}});var ti=fi(Ur),hi=function(yi){Fn([yi])},Jr=function(yi){var Xi=kn.filter(function(Ui){return Ui&&!ee(ln,hn,Ui,yi,vn)});Fn(Xi),Me||Kn()},Zi=li((0,Te.Z)((0,Te.Z)({},le),{},{onChange:hi}),function(ki){var yi=ki.valueTexts;return{value:yi[0]||"",active:rn}}),ii=(0,Fe.Z)(Zi,2),zi=ii[0],ui=ii[1],Ai=!!(it&&kn.length&&!or),Ki=Ar?oe.createElement(oe.Fragment,null,oe.createElement(Nn,{prefixCls:Gr,value:kn,onRemove:Jr,formatDate:ui,maxTagCount:Mr,disabled:or,removeIcon:Hr,placeholder:Vt}),oe.createElement("input",{className:"".concat(Gr,"-multiple-input"),value:kn.map(ui).join(","),ref:ni,readOnly:!0,autoFocus:nr,tabIndex:xr}),oe.createElement(Mi,{type:"suffix",icon:ut}),Ai&&oe.createElement(Wi,{icon:it,onClear:Cn})):oe.createElement(Yr,(0,re.Z)({ref:ni},zi(),{autoFocus:nr,tabIndex:xr,suffixIcon:ut,clearIcon:Ai&&oe.createElement(Wi,{icon:it,onClear:Cn}),showActiveCls:!1}));return oe.createElement("div",(0,re.Z)({},ti,{className:Ie()(Gr,(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(Gr,"-multiple"),Ar),"".concat(Gr,"-focused"),rn),"".concat(Gr,"-disabled"),or),"".concat(Gr,"-invalid"),pr),"".concat(Gr,"-rtl"),sr),Gt),style:en,ref:Kr,onClick:wn,onMouseDown:function(yi){var Xi,Ui=yi.target;Ui!==((Xi=ni.current)===null||Xi===void 0?void 0:Xi.inputElement)&&yi.preventDefault(),Gn==null||Gn(yi)}}),Le&&oe.createElement("div",{className:"".concat(Gr,"-prefix")},Le),Ki)}var Ot=oe.forwardRef(An),un=Ot;function At(le,De){var Be=zt(le),Me=(0,Fe.Z)(Be,6),Le=Me[0],it=Me[1],ut=Me[2],wt=Me[3],nn=Me[4],rn=Me[5],Et=Le,dn=Et.prefixCls,pn=Et.styles,hn=Et.classNames,ln=Et.order,Vt=Et.defaultValue,Gt=Et.value,en=Et.needConfirm,wn=Et.onChange,Cn=Et.onKeyDown,vn=Et.disabled,kn=Et.disabledDate,Fn=Et.minDate,Kn=Et.maxDate,Dr=Et.defaultOpen,Ar=Et.open,Mr=Et.onOpenChange,hr=Et.locale,vr=Et.generateConfig,tr=Et.picker,yr=Et.showNow,or=Et.showToday,pr=Et.showTime,gr=Et.mode,On=Et.onPanelChange,Jn=Et.onCalendarChange,Gn=Et.onOk,In=Et.multiple,Tn=Et.defaultPickerValue,nr=Et.pickerValue,xr=Et.onPickerValueChange,Hr=Et.inputReadOnly,Ur=Et.suffixIcon,sr=Et.removeIcon,Qr=Et.onFocus,Gr=Et.onBlur,Kr=Et.presets,ni=Et.components,ti=Et.cellRender,hi=Et.dateRender,Jr=Et.monthCellRender,Zi=Et.onClick,ii=Jt(De);function zi(di){return di===null?null:In?di:di[0]}var ui=Nt(vr,hr,it),Ai=on(Ar,Dr,[vn],Mr),Ki=(0,Fe.Z)(Ai,2),ki=Ki[0],yi=Ki[1],Xi=function(qr,sa,$a){if(Jn){var Mo=(0,Te.Z)({},$a);delete Mo.range,Jn(zi(qr),zi(sa),Mo)}},Ui=function(qr){Gn==null||Gn(zi(qr))},_i=ar(vr,hr,wt,!1,ln,Vt,Gt,Xi,Ui),bi=(0,Fe.Z)(_i,5),ra=bi[0],Ni=bi[1],Si=bi[2],Bi=bi[3],qi=bi[4],ri=Si(),$i=Ut([vn]),Fr=(0,Fe.Z)($i,4),Vn=Fr[0],br=Fr[1],lr=Fr[2],mr=Fr[3],vi=function(qr){br(!0),Qr==null||Qr(qr,{})},Ci=function(qr){br(!1),Gr==null||Gr(qr,{})},Yi=(0,Ee.C8)(tr,{value:gr}),ia=(0,Fe.Z)(Yi,2),aa=ia[0],Gi=ia[1],Qi=aa==="date"&&pr?"datetime":aa,la=Er(tr,aa,yr,or),ta=wn&&function(di,qr){wn(zi(di),zi(qr))},La=Lr((0,Te.Z)((0,Te.Z)({},Le),{},{onChange:ta}),ra,Ni,Si,Bi,[],wt,Vn,ki,rn),Qa=(0,Fe.Z)(La,2),Na=Qa[1],Fa=Ze(ri,rn),ka=(0,Fe.Z)(Fa,2),ua=ka[0],Ca=ka[1],xa=oe.useMemo(function(){return ua.some(function(di){return di})},[ua]),ao=function(qr,sa){if(xr){var $a=(0,Te.Z)((0,Te.Z)({},sa),{},{mode:sa.mode[0]});delete $a.range,xr(qr[0],$a)}},bo=jn(vr,hr,ri,[aa],ki,mr,it,!1,Tn,nr,be(pr==null?void 0:pr.defaultOpenValue),ao,Fn,Kn),vo=(0,Fe.Z)(bo,2),Va=vo[0],wo=vo[1],oo=(0,Ee.zX)(function(di,qr,sa){if(Gi(qr),On&&sa!==!1){var $a=di||ri[ri.length-1];On($a,qr)}}),wa=function(){Na(Si()),yi(!1,{force:!0})},lo=function(qr){!vn&&!ii.current.nativeElement.contains(document.activeElement)&&ii.current.focus(),yi(!0),Zi==null||Zi(qr)},Ma=function(){Na(null),yi(!1,{force:!0})},po=oe.useState(null),so=(0,Fe.Z)(po,2),mo=so[0],Ha=so[1],uo=oe.useState(null),eo=(0,Fe.Z)(uo,2),Ea=eo[0],Ja=eo[1],_a=oe.useMemo(function(){var di=[Ea].concat((0,Ne.Z)(ri)).filter(function(qr){return qr});return In?di:di.slice(0,1)},[ri,Ea,In]),co=oe.useMemo(function(){return!In&&Ea?[Ea]:ri.filter(function(di){return di})},[ri,Ea,In]);oe.useEffect(function(){ki||Ja(null)},[ki]);var to=Pt(Kr),fo=function(qr){Ja(qr),Ha("preset")},Ia=function(qr){var sa=In?ui(Si(),qr):[qr],$a=Na(sa);$a&&!In&&yi(!1,{force:!0})},no=function(qr){Ia(qr)},Eo=function(qr){Ja(qr),Ha("cell")},qa=function(qr){yi(!0),vi(qr)},go=function(qr){if(lr("panel"),!(In&&Qi!==tr)){var sa=In?ui(Si(),qr):[qr];Bi(sa),!en&&!ut&&it===Qi&&wa()}},Ua=function(){yi(!1)},yo=ze(ti,hi,Jr),ja=oe.useMemo(function(){var di=(0,Ce.Z)(Le,!1),qr=(0,Oe.Z)(Le,[].concat((0,Ne.Z)(Object.keys(di)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Te.Z)((0,Te.Z)({},qr),{},{multiple:Le.multiple})},[Le]),pi=oe.createElement(jr,(0,re.Z)({},ja,{showNow:la,showTime:pr,disabledDate:kn,onFocus:qa,onBlur:Ci,picker:tr,mode:aa,internalMode:Qi,onPanelChange:oo,format:nn,value:ri,isInvalid:rn,onChange:null,onSelect:go,pickerValue:Va,defaultOpenValue:pr==null?void 0:pr.defaultOpenValue,onPickerValueChange:wo,hoverValue:_a,onHover:Eo,needConfirm:en,onSubmit:wa,onOk:qi,presets:to,onPresetHover:fo,onPresetSubmit:Ia,onNow:no,cellRender:yo})),mi=function(qr){Bi(qr)},oa=function(){lr("input")},ha=function(qr){lr("input"),yi(!0,{inherit:!0}),vi(qr)},da=function(qr){yi(!1),Ci(qr)},Ya=function(qr,sa){qr.key==="Tab"&&wa(),Cn==null||Cn(qr,sa)},za=oe.useMemo(function(){return{prefixCls:dn,locale:hr,generateConfig:vr,button:ni.button,input:ni.input}},[dn,hr,vr,ni.button,ni.input]);return(0,fe.Z)(function(){ki&&mr!==void 0&&oo(null,tr,!1)},[ki,mr,tr]),(0,fe.Z)(function(){var di=lr();!ki&&di==="input"&&(yi(!1),wa()),!ki&&ut&&!en&&di==="panel"&&wa()},[ki]),oe.createElement(je.Provider,{value:za},oe.createElement(rt,(0,re.Z)({},Ae(Le),{popupElement:pi,popupStyle:pn.popup,popupClassName:hn.popup,visible:ki,onClose:Ua}),oe.createElement(un,(0,re.Z)({},Le,{ref:ii,suffixIcon:Ur,removeIcon:sr,activeHelp:!!Ea,allHelp:!!Ea&&mo==="preset",focused:Vn,onFocus:ha,onBlur:da,onKeyDown:Ya,onSubmit:wa,value:co,maskFormat:nn,onChange:mi,onInputChange:oa,internalPicker:it,format:wt,inputReadOnly:Hr,disabled:vn,open:ki,onOpenChange:yi,onClick:lo,onClear:Ma,invalid:xa,onInvalid:function(qr){Ca(qr,0)}}))))}var gt=oe.forwardRef(At),Wt=gt,sn=Wt},25930:function(bn,cn,se){"use strict";se.d(cn,{Cd:function(){return ze}});var re=se(32855),Ne=se(27247),Te=se(43079),Fe=se(59301),Ee=se(92310),fe=se.n(Ee),Oe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ce=function(){var Re=(0,Fe.useRef)([]),Je=(0,Fe.useRef)(null);return(0,Fe.useEffect)(function(){var Rt=Date.now(),ht=!1;Re.current.forEach(function(mt){if(mt){ht=!0;var St=mt.style;St.transitionDuration=".3s, .3s, .3s, .06s",Je.current&&Rt-Je.current<100&&(St.transitionDuration="0s, 0s")}}),ht&&(Je.current=Date.now())}),Re.current},Pe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],oe=function(Re){var Je=(0,Ne.Z)((0,Ne.Z)({},Oe),Re),Rt=Je.className,ht=Je.percent,mt=Je.prefixCls,St=Je.strokeColor,xe=Je.strokeLinecap,he=Je.strokeWidth,qe=Je.style,Tt=Je.trailColor,Mt=Je.trailWidth,Xe=Je.transition,Ct=(0,Te.Z)(Je,Pe);delete Ct.gapPosition;var tt=Array.isArray(ht)?ht:[ht],Ht=Array.isArray(St)?St:[St],We=Ce(),yt=he/2,Qe=100-he/2,Bt="M ".concat(xe==="round"?yt:0,",").concat(yt,`
|
|
L `).concat(xe==="round"?Qe:100,",").concat(yt),bt="0 0 100 ".concat(he),ce=0;return Fe.createElement("svg",(0,re.Z)({className:fe()("".concat(mt,"-line"),Rt),viewBox:bt,preserveAspectRatio:"none",style:qe},Ct),Fe.createElement("path",{className:"".concat(mt,"-line-trail"),d:Bt,strokeLinecap:xe,stroke:Tt,strokeWidth:Mt||he,fillOpacity:"0"}),tt.map(function(ie,z){var ee=1;switch(xe){case"round":ee=1-he/100;break;case"square":ee=1-he/2/100;break;default:ee=1;break}var ne={strokeDasharray:"".concat(ie*ee,"px, 100px"),strokeDashoffset:"-".concat(ce,"px"),transition:Xe||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},te=Ht[z]||Ht[Ht.length-1];return ce+=ie,Fe.createElement("path",{key:z,className:"".concat(mt,"-line-path"),d:Bt,strokeLinecap:xe,stroke:te,strokeWidth:he,fillOpacity:"0",ref:function(me){We[z]=me},style:ne})}))},nt=oe,ye=se(34666),Ke=se(11913),Ie=se(47273),Ye=0,He=(0,Ie.Z)();function je(){var _e;return He?(_e=Ye,Ye+=1):_e="TEST_OR_SSR",_e}var st=function(_e){var Re=Fe.useState(),Je=(0,Ke.Z)(Re,2),Rt=Je[0],ht=Je[1];return Fe.useEffect(function(){ht("rc_progress_".concat(je()))},[]),_e||Rt},at=function(Re){var Je=Re.bg,Rt=Re.children;return Fe.createElement("div",{style:{width:"100%",height:"100%",background:Je}},Rt)};function rt(_e,Re){return Object.keys(_e).map(function(Je){var Rt=parseFloat(Je),ht="".concat(Math.floor(Rt*Re),"%");return"".concat(_e[Je]," ").concat(ht)})}var ke=Fe.forwardRef(function(_e,Re){var Je=_e.prefixCls,Rt=_e.color,ht=_e.gradientId,mt=_e.radius,St=_e.style,xe=_e.ptg,he=_e.strokeLinecap,qe=_e.strokeWidth,Tt=_e.size,Mt=_e.gapDegree,Xe=Rt&&(0,ye.Z)(Rt)==="object",Ct=Xe?"#FFF":void 0,tt=Tt/2,Ht=Fe.createElement("circle",{className:"".concat(Je,"-circle-path"),r:mt,cx:tt,cy:tt,stroke:Ct,strokeLinecap:he,strokeWidth:qe,opacity:xe===0?0:1,style:St,ref:Re});if(!Xe)return Ht;var We="".concat(ht,"-conic"),yt=Mt?"".concat(180+Mt/2,"deg"):"0deg",Qe=rt(Rt,(360-Mt)/360),Bt=rt(Rt,1),bt="conic-gradient(from ".concat(yt,", ").concat(Qe.join(", "),")"),ce="linear-gradient(to ".concat(Mt?"bottom":"top",", ").concat(Bt.join(", "),")");return Fe.createElement(Fe.Fragment,null,Fe.createElement("mask",{id:We},Ht),Fe.createElement("foreignObject",{x:0,y:0,width:Tt,height:Tt,mask:"url(#".concat(We,")")},Fe.createElement(at,{bg:ce},Fe.createElement(at,{bg:bt}))))}),be=ke,Ve=100,Ge=function(Re,Je,Rt,ht,mt,St,xe,he,qe,Tt){var Mt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Xe=Rt/100*360*((360-St)/360),Ct=St===0?0:{bottom:0,top:180,left:90,right:-90}[xe],tt=(100-ht)/100*Je;qe==="round"&&ht!==100&&(tt+=Tt/2,tt>=Je&&(tt=Je-.01));var Ht=Ve/2;return{stroke:typeof he=="string"?he:void 0,strokeDasharray:"".concat(Je,"px ").concat(Re),strokeDashoffset:tt+Mt,transform:"rotate(".concat(mt+Xe+Ct,"deg)"),transformOrigin:"".concat(Ht,"px ").concat(Ht,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},ft=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ge(_e){var Re=_e!=null?_e:[];return Array.isArray(Re)?Re:[Re]}var Ae=function(Re){var Je=(0,Ne.Z)((0,Ne.Z)({},Oe),Re),Rt=Je.id,ht=Je.prefixCls,mt=Je.steps,St=Je.strokeWidth,xe=Je.trailWidth,he=Je.gapDegree,qe=he===void 0?0:he,Tt=Je.gapPosition,Mt=Je.trailColor,Xe=Je.strokeLinecap,Ct=Je.style,tt=Je.className,Ht=Je.strokeColor,We=Je.percent,yt=(0,Te.Z)(Je,ft),Qe=Ve/2,Bt=st(Rt),bt="".concat(Bt,"-gradient"),ce=Qe-St/2,ie=Math.PI*2*ce,z=qe>0?90+qe/2:-90,ee=ie*((360-qe)/360),ne=(0,ye.Z)(mt)==="object"?mt:{count:mt,gap:2},te=ne.count,ue=ne.gap,me=ge(We),Se=ge(Ht),Dt=Se.find(function(jt){return jt&&(0,ye.Z)(jt)==="object"}),Ue=Dt&&(0,ye.Z)(Dt)==="object",$e=Ue?"butt":Xe,ot=Ge(ie,ee,0,100,z,qe,Tt,Mt,$e,St),vt=Ce(),zt=function(){var on=0;return me.map(function(Jt,Pt){var ct=Se[Pt]||Se[Se.length-1],Ut=Ge(ie,ee,on,Jt,z,qe,Tt,ct,$e,St);return on+=Jt,Fe.createElement(be,{key:Pt,color:ct,ptg:Jt,radius:ce,prefixCls:ht,gradientId:bt,style:Ut,strokeLinecap:$e,strokeWidth:St,gapDegree:qe,ref:function(gn){vt[Pt]=gn},size:Ve})}).reverse()},tn=function(){var on=Math.round(te*(me[0]/100)),Jt=100/te,Pt=0;return new Array(te).fill(null).map(function(ct,Ut){var _t=Ut<=on-1?Se[0]:Mt,gn=_t&&(0,ye.Z)(_t)==="object"?"url(#".concat(bt,")"):void 0,Mn=Ge(ie,ee,Pt,Jt,z,qe,Tt,_t,"butt",St,ue);return Pt+=(ee-Mn.strokeDashoffset+ue)*100/ee,Fe.createElement("circle",{key:Ut,className:"".concat(ht,"-circle-path"),r:ce,cx:Qe,cy:Qe,stroke:gn,strokeWidth:St,opacity:1,style:Mn,ref:function(yn){vt[Ut]=yn}})})};return Fe.createElement("svg",(0,re.Z)({className:fe()("".concat(ht,"-circle"),tt),viewBox:"0 0 ".concat(Ve," ").concat(Ve),style:Ct,id:Rt,role:"presentation"},yt),!te&&Fe.createElement("circle",{className:"".concat(ht,"-circle-trail"),r:ce,cx:Qe,cy:Qe,stroke:Mt,strokeLinecap:$e,strokeWidth:xe||St,style:ot}),te?tn():zt())},ze=Ae,Ze={Line:nt,Circle:ze}},738:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return rt}});var re=se(32855),Ne=se(74430),Te=se(11913),Fe=se(43079),Ee=se(92310),fe=se.n(Ee),Oe=se(18929),Ce=se(10228),Pe=se(26112),oe=se(59301);function nt(ke,be){var Ve=ke.disabled,Ge=ke.prefixCls,ft=ke.character,ge=ke.characterRender,Ae=ke.index,ze=ke.count,Ze=ke.value,_e=ke.allowHalf,Re=ke.focused,Je=ke.onHover,Rt=ke.onClick,ht=function(Xe){Je(Xe,Ae)},mt=function(Xe){Rt(Xe,Ae)},St=function(Xe){Xe.keyCode===Ce.Z.ENTER&&Rt(Xe,Ae)},xe=Ae+1,he=new Set([Ge]);Ze===0&&Ae===0&&Re?he.add("".concat(Ge,"-focused")):_e&&Ze+.5>=xe&&Ze<xe?(he.add("".concat(Ge,"-half")),he.add("".concat(Ge,"-active")),Re&&he.add("".concat(Ge,"-focused"))):(xe<=Ze?he.add("".concat(Ge,"-full")):he.add("".concat(Ge,"-zero")),xe===Ze&&Re&&he.add("".concat(Ge,"-focused")));var qe=typeof ft=="function"?ft(ke):ft,Tt=oe.createElement("li",{className:fe()(Array.from(he)),ref:be},oe.createElement("div",{onClick:Ve?null:mt,onKeyDown:Ve?null:St,onMouseMove:Ve?null:ht,role:"radio","aria-checked":Ze>Ae?"true":"false","aria-posinset":Ae+1,"aria-setsize":ze,tabIndex:Ve?-1:0},oe.createElement("div",{className:"".concat(Ge,"-first")},qe),oe.createElement("div",{className:"".concat(Ge,"-second")},qe)));return ge&&(Tt=ge(Tt,ke)),Tt}var ye=oe.forwardRef(nt);function Ke(){var ke=oe.useRef({});function be(Ge){return ke.current[Ge]}function Ve(Ge){return function(ft){ke.current[Ge]=ft}}return[be,Ve]}function Ie(ke){var be=ke.pageXOffset,Ve="scrollLeft";if(typeof be!="number"){var Ge=ke.document;be=Ge.documentElement[Ve],typeof be!="number"&&(be=Ge.body[Ve])}return be}function Ye(ke){var be,Ve,Ge=ke.ownerDocument,ft=Ge.body,ge=Ge&&Ge.documentElement,Ae=ke.getBoundingClientRect();return be=Ae.left,Ve=Ae.top,be-=ge.clientLeft||ft.clientLeft||0,Ve-=ge.clientTop||ft.clientTop||0,{left:be,top:Ve}}function He(ke){var be=Ye(ke),Ve=ke.ownerDocument,Ge=Ve.defaultView||Ve.parentWindow;return be.left+=Ie(Ge),be.left}var je=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function st(ke,be){var Ve=ke.prefixCls,Ge=Ve===void 0?"rc-rate":Ve,ft=ke.className,ge=ke.defaultValue,Ae=ke.value,ze=ke.count,Ze=ze===void 0?5:ze,_e=ke.allowHalf,Re=_e===void 0?!1:_e,Je=ke.allowClear,Rt=Je===void 0?!0:Je,ht=ke.keyboard,mt=ht===void 0?!0:ht,St=ke.character,xe=St===void 0?"\u2605":St,he=ke.characterRender,qe=ke.disabled,Tt=ke.direction,Mt=Tt===void 0?"ltr":Tt,Xe=ke.tabIndex,Ct=Xe===void 0?0:Xe,tt=ke.autoFocus,Ht=ke.onHoverChange,We=ke.onChange,yt=ke.onFocus,Qe=ke.onBlur,Bt=ke.onKeyDown,bt=ke.onMouseLeave,ce=(0,Fe.Z)(ke,je),ie=Ke(),z=(0,Te.Z)(ie,2),ee=z[0],ne=z[1],te=oe.useRef(null),ue=function(){if(!qe){var Wn;(Wn=te.current)===null||Wn===void 0||Wn.focus()}};oe.useImperativeHandle(be,function(){return{focus:ue,blur:function(){if(!qe){var Wn;(Wn=te.current)===null||Wn===void 0||Wn.blur()}}}});var me=(0,Oe.Z)(ge||0,{value:Ae}),Se=(0,Te.Z)(me,2),Dt=Se[0],Ue=Se[1],$e=(0,Oe.Z)(null),ot=(0,Te.Z)($e,2),vt=ot[0],zt=ot[1],tn=function(Wn,Ir){var Or=Mt==="rtl",Ft=Wn+1;if(Re){var Qt=ee(Wn),It=He(Qt),Nt=Qt.clientWidth;(Or&&Ir-It>Nt/2||!Or&&Ir-It<Nt/2)&&(Ft-=.5)}return Ft},jt=function(Wn){Ue(Wn),We==null||We(Wn)},on=oe.useState(!1),Jt=(0,Te.Z)(on,2),Pt=Jt[0],ct=Jt[1],Ut=function(){ct(!0),yt==null||yt()},_t=function(){ct(!1),Qe==null||Qe()},gn=oe.useState(null),Mn=(0,Te.Z)(gn,2),jn=Mn[0],yn=Mn[1],Xn=function(Wn,Ir){var Or=tn(Ir,Wn.pageX);Or!==vt&&(yn(Or),zt(null)),Ht==null||Ht(Or)},Qn=function(Wn){qe||(yn(null),zt(null),Ht==null||Ht(void 0)),Wn&&(bt==null||bt(Wn))},cr=function(Wn,Ir){var Or=tn(Ir,Wn.pageX),Ft=!1;Rt&&(Ft=Or===Dt),Qn(),jt(Ft?0:Or),zt(Ft?Or:null)},Br=function(Wn){var Ir=Wn.keyCode,Or=Mt==="rtl",Ft=Re?.5:1;mt&&(Ir===Ce.Z.RIGHT&&Dt<Ze&&!Or?(jt(Dt+Ft),Wn.preventDefault()):Ir===Ce.Z.LEFT&&Dt>0&&!Or||Ir===Ce.Z.RIGHT&&Dt>0&&Or?(jt(Dt-Ft),Wn.preventDefault()):Ir===Ce.Z.LEFT&&Dt<Ze&&Or&&(jt(Dt+Ft),Wn.preventDefault())),Bt==null||Bt(Wn)};oe.useEffect(function(){tt&&!qe&&ue()},[]);var ar=new Array(Ze).fill(0).map(function(Er,Wn){return oe.createElement(ye,{ref:ne(Wn),index:Wn,count:Ze,disabled:qe,prefixCls:"".concat(Ge,"-star"),allowHalf:Re,value:jn===null?Dt:jn,onClick:cr,onHover:Xn,key:Er||Wn,character:xe,characterRender:he,focused:Pt})}),Lr=fe()(Ge,ft,(0,Ne.Z)((0,Ne.Z)({},"".concat(Ge,"-disabled"),qe),"".concat(Ge,"-rtl"),Mt==="rtl"));return oe.createElement("ul",(0,re.Z)({className:Lr,onMouseLeave:Qn,tabIndex:qe?-1:Ct,onFocus:qe?null:Ut,onBlur:qe?null:_t,onKeyDown:qe?null:Br,ref:te},(0,Pe.Z)(ce,{aria:!0,data:!0,attr:!0})),ar)}var at=oe.forwardRef(st),rt=at},6551:function(bn,cn,se){"use strict";se.d(cn,{ZP:function(){return Oe}});var re=se(11913),Ne=se(59301),Te=se(47273),Fe=0,Ee=(0,Te.Z)();function fe(){var Ce;return Ee?(Ce=Fe,Fe+=1):Ce="TEST_OR_SSR",Ce}function Oe(Ce){var Pe=Ne.useState(),oe=(0,re.Z)(Pe,2),nt=oe[0],ye=oe[1];return Ne.useEffect(function(){ye("rc_select_".concat(fe()))},[]),Ce||nt}},37463:function(bn,cn,se){"use strict";se.d(cn,{Ac:function(){return ct},Xo:function(){return _t},Wx:function(){return Mn},ZP:function(){return Rr},lk:function(){return rt}});var re=se(32855),Ne=se(3300),Te=se(74430),Fe=se(27247),Ee=se(11913),fe=se(43079),Oe=se(34666),Ce=se(18929),Pe=se(48736),oe=se(59301),nt=se(92310),ye=se.n(nt),Ke=se(34280),Ie=se(49658),Ye=se(8654),He=function(xt){var Rn=xt.className,En=xt.customizeIcon,Lt=xt.customizeIconProps,Sn=xt.children,Zn=xt.onMouseDown,zn=xt.onClick,ir=typeof En=="function"?En(Lt):En;return oe.createElement("span",{className:Rn,onMouseDown:function(er){er.preventDefault(),Zn==null||Zn(er)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:zn,"aria-hidden":!0},ir!==void 0?ir:oe.createElement("span",{className:ye()(Rn.split(/\s+/).map(function(Kt){return"".concat(Kt,"-icon")}))},Sn))},je=He,st=function(xt,Rn,En,Lt,Sn){var Zn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,zn=arguments.length>6?arguments[6]:void 0,ir=arguments.length>7?arguments[7]:void 0,Kt=oe.useMemo(function(){if((0,Oe.Z)(Lt)==="object")return Lt.clearIcon;if(Sn)return Sn},[Lt,Sn]),er=oe.useMemo(function(){return!!(!Zn&&Lt&&(En.length||zn)&&!(ir==="combobox"&&zn===""))},[Lt,Zn,En.length,zn,ir]);return{allowClear:er,clearIcon:oe.createElement(je,{className:"".concat(xt,"-clear"),onMouseDown:Rn,customizeIcon:Kt},"\xD7")}},at=oe.createContext(null);function rt(){return oe.useContext(at)}function ke(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,xt=oe.useState(!1),Rn=(0,Ee.Z)(xt,2),En=Rn[0],Lt=Rn[1],Sn=oe.useRef(null),Zn=function(){window.clearTimeout(Sn.current)};oe.useEffect(function(){return Zn},[]);var zn=function(Kt,er){Zn(),Sn.current=window.setTimeout(function(){Lt(Kt),er&&er()},dt)};return[En,zn,Zn]}function be(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,xt=oe.useRef(null),Rn=oe.useRef(null);oe.useEffect(function(){return function(){window.clearTimeout(Rn.current)}},[]);function En(Lt){(Lt||xt.current===null)&&(xt.current=Lt),window.clearTimeout(Rn.current),Rn.current=window.setTimeout(function(){xt.current=null},dt)}return[function(){return xt.current},En]}function Ve(dt,xt,Rn,En){var Lt=oe.useRef(null);Lt.current={open:xt,triggerOpen:Rn,customizedTrigger:En},oe.useEffect(function(){function Sn(Zn){var zn;if(!((zn=Lt.current)!==null&&zn!==void 0&&zn.customizedTrigger)){var ir=Zn.target;ir.shadowRoot&&Zn.composed&&(ir=Zn.composedPath()[0]||ir),Lt.current.open&&dt().filter(function(Kt){return Kt}).every(function(Kt){return!Kt.contains(ir)&&Kt!==ir})&&Lt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Sn),function(){return window.removeEventListener("mousedown",Sn)}},[])}var Ge=se(10228);function ft(dt){return dt&&![Ge.Z.ESC,Ge.Z.SHIFT,Ge.Z.BACKSPACE,Ge.Z.TAB,Ge.Z.WIN_KEY,Ge.Z.ALT,Ge.Z.META,Ge.Z.WIN_KEY_RIGHT,Ge.Z.CTRL,Ge.Z.SEMICOLON,Ge.Z.EQUALS,Ge.Z.CAPS_LOCK,Ge.Z.CONTEXT_MENU,Ge.Z.F1,Ge.Z.F2,Ge.Z.F3,Ge.Z.F4,Ge.Z.F5,Ge.Z.F6,Ge.Z.F7,Ge.Z.F8,Ge.Z.F9,Ge.Z.F10,Ge.Z.F11,Ge.Z.F12].includes(dt)}var ge=se(26112),Ae=se(11780);function ze(dt,xt,Rn){var En=(0,Fe.Z)((0,Fe.Z)({},dt),Rn?xt:{});return Object.keys(xt).forEach(function(Lt){var Sn=xt[Lt];typeof Sn=="function"&&(En[Lt]=function(){for(var Zn,zn=arguments.length,ir=new Array(zn),Kt=0;Kt<zn;Kt++)ir[Kt]=arguments[Kt];return Sn.apply(void 0,ir),(Zn=dt[Lt])===null||Zn===void 0?void 0:Zn.call.apply(Zn,[dt].concat(ir))})}),En}var Ze=ze,_e=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Re=function(xt,Rn){var En=xt.prefixCls,Lt=xt.id,Sn=xt.inputElement,Zn=xt.autoFocus,zn=xt.autoComplete,ir=xt.editable,Kt=xt.activeDescendantId,er=xt.value,Dn=xt.open,Wr=xt.attrs,qn=(0,fe.Z)(xt,_e),Pr=Sn||oe.createElement("input",null),Nr=Pr,jr=Nr.ref,Vr=Nr.props;return(0,Pe.Kp)(!("maxLength"in Pr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Pr=oe.cloneElement(Pr,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({type:"search"},Ze(qn,Vr,!0)),{},{id:Lt,ref:(0,Ye.sQ)(Rn,jr),autoComplete:zn||"off",autoFocus:Zn,className:ye()("".concat(En,"-selection-search-input"),Vr==null?void 0:Vr.className),role:"combobox","aria-expanded":Dn||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Lt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Lt,"_list"),"aria-activedescendant":Dn?Kt:void 0},Wr),{},{value:ir?er:"",readOnly:!ir,unselectable:ir?null:"on",style:(0,Fe.Z)((0,Fe.Z)({},Vr.style),{},{opacity:ir?null:0})})),Pr},Je=oe.forwardRef(Re),Rt=Je;function ht(dt){return Array.isArray(dt)?dt:dt!==void 0?[dt]:[]}var mt=typeof window!="undefined"&&window.document&&window.document.documentElement,St=mt;function xe(dt){return dt!=null}function he(dt){return!dt&&dt!==0}function qe(dt){return["string","number"].includes((0,Oe.Z)(dt))}function Tt(dt){var xt=void 0;return dt&&(qe(dt.title)?xt=dt.title.toString():qe(dt.label)&&(xt=dt.label.toString())),xt}function Mt(dt,xt){St?oe.useLayoutEffect(dt,xt):oe.useEffect(dt,xt)}function Xe(dt){var xt;return(xt=dt.key)!==null&&xt!==void 0?xt:dt.value}var Ct=function(xt){xt.preventDefault(),xt.stopPropagation()},tt=function(xt){var Rn=xt.id,En=xt.prefixCls,Lt=xt.values,Sn=xt.open,Zn=xt.searchValue,zn=xt.autoClearSearchValue,ir=xt.inputRef,Kt=xt.placeholder,er=xt.disabled,Dn=xt.mode,Wr=xt.showSearch,qn=xt.autoFocus,Pr=xt.autoComplete,Nr=xt.activeDescendantId,jr=xt.tabIndex,Vr=xt.removeIcon,li=xt.maxTagCount,Di=xt.maxTagTextLength,fi=xt.maxTagPlaceholder,Li=fi===void 0?function(At){return"+ ".concat(At.length," ...")}:fi,ei=xt.tagRender,Mi=xt.onToggleOpen,Wi=xt.onRemove,Fi=xt.onInputChange,Ri=xt.onInputPaste,Hi=xt.onInputKeyDown,Ti=xt.onInputMouseDown,ci=xt.onInputCompositionStart,ji=xt.onInputCompositionEnd,Oi=xt.onInputBlur,wr=oe.useRef(null),Yr=(0,oe.useState)(0),si=(0,Ee.Z)(Yr,2),wi=si[0],xi=si[1],Ei=(0,oe.useState)(!1),Vi=(0,Ee.Z)(Ei,2),et=Vi[0],Yt=Vi[1],Zt="".concat(En,"-selection"),qt=Sn||Dn==="multiple"&&zn===!1||Dn==="tags"?Zn:"",fn=Dn==="tags"||Dn==="multiple"&&zn===!1||Wr&&(Sn||et);Mt(function(){xi(wr.current.scrollWidth)},[qt]);var xn=function(gt,Wt,sn,le,De){return oe.createElement("span",{title:Tt(gt),className:ye()("".concat(Zt,"-item"),(0,Te.Z)({},"".concat(Zt,"-item-disabled"),sn))},oe.createElement("span",{className:"".concat(Zt,"-item-content")},Wt),le&&oe.createElement(je,{className:"".concat(Zt,"-item-remove"),onMouseDown:Ct,onClick:De,customizeIcon:Vr},"\xD7"))},Nn=function(gt,Wt,sn,le,De,Be){var Me=function(it){Ct(it),Mi(!Sn)};return oe.createElement("span",{onMouseDown:Me},ei({label:Wt,value:gt,disabled:sn,closable:le,onClose:De,isMaxTag:!!Be}))},Bn=function(gt){var Wt=gt.disabled,sn=gt.label,le=gt.value,De=!er&&!Wt,Be=sn;if(typeof Di=="number"&&(typeof sn=="string"||typeof sn=="number")){var Me=String(Be);Me.length>Di&&(Be="".concat(Me.slice(0,Di),"..."))}var Le=function(ut){ut&&ut.stopPropagation(),Wi(gt)};return typeof ei=="function"?Nn(le,Be,Wt,De,Le):xn(gt,Be,Wt,De,Le)},An=function(gt){if(!Lt.length)return null;var Wt=typeof Li=="function"?Li(gt):Li;return typeof ei=="function"?Nn(void 0,Wt,!1,!1,void 0,!0):xn({title:Wt},Wt,!1)},Ot=oe.createElement("div",{className:"".concat(Zt,"-search"),style:{width:wi},onFocus:function(){Yt(!0)},onBlur:function(){Yt(!1)}},oe.createElement(Rt,{ref:ir,open:Sn,prefixCls:En,id:Rn,inputElement:null,disabled:er,autoFocus:qn,autoComplete:Pr,editable:fn,activeDescendantId:Nr,value:qt,onKeyDown:Hi,onMouseDown:Ti,onChange:Fi,onPaste:Ri,onCompositionStart:ci,onCompositionEnd:ji,onBlur:Oi,tabIndex:jr,attrs:(0,ge.Z)(xt,!0)}),oe.createElement("span",{ref:wr,className:"".concat(Zt,"-search-mirror"),"aria-hidden":!0},qt,"\xA0")),un=oe.createElement(Ae.Z,{prefixCls:"".concat(Zt,"-overflow"),data:Lt,renderItem:Bn,renderRest:An,suffix:Ot,itemKey:Xe,maxCount:li});return oe.createElement("span",{className:"".concat(Zt,"-wrap")},un,!Lt.length&&!qt&&oe.createElement("span",{className:"".concat(Zt,"-placeholder")},Kt))},Ht=tt,We=function(xt){var Rn=xt.inputElement,En=xt.prefixCls,Lt=xt.id,Sn=xt.inputRef,Zn=xt.disabled,zn=xt.autoFocus,ir=xt.autoComplete,Kt=xt.activeDescendantId,er=xt.mode,Dn=xt.open,Wr=xt.values,qn=xt.placeholder,Pr=xt.tabIndex,Nr=xt.showSearch,jr=xt.searchValue,Vr=xt.activeValue,li=xt.maxLength,Di=xt.onInputKeyDown,fi=xt.onInputMouseDown,Li=xt.onInputChange,ei=xt.onInputPaste,Mi=xt.onInputCompositionStart,Wi=xt.onInputCompositionEnd,Fi=xt.onInputBlur,Ri=xt.title,Hi=oe.useState(!1),Ti=(0,Ee.Z)(Hi,2),ci=Ti[0],ji=Ti[1],Oi=er==="combobox",wr=Oi||Nr,Yr=Wr[0],si=jr||"";Oi&&Vr&&!ci&&(si=Vr),oe.useEffect(function(){Oi&&ji(!1)},[Oi,Vr]);var wi=er!=="combobox"&&!Dn&&!Nr?!1:!!si,xi=Ri===void 0?Tt(Yr):Ri,Ei=oe.useMemo(function(){return Yr?null:oe.createElement("span",{className:"".concat(En,"-selection-placeholder"),style:wi?{visibility:"hidden"}:void 0},qn)},[Yr,wi,qn,En]);return oe.createElement("span",{className:"".concat(En,"-selection-wrap")},oe.createElement("span",{className:"".concat(En,"-selection-search")},oe.createElement(Rt,{ref:Sn,prefixCls:En,id:Lt,open:Dn,inputElement:Rn,disabled:Zn,autoFocus:zn,autoComplete:ir,editable:wr,activeDescendantId:Kt,value:si,onKeyDown:Di,onMouseDown:fi,onChange:function(et){ji(!0),Li(et)},onPaste:ei,onCompositionStart:Mi,onCompositionEnd:Wi,onBlur:Fi,tabIndex:Pr,attrs:(0,ge.Z)(xt,!0),maxLength:Oi?li:void 0})),!Oi&&Yr?oe.createElement("span",{className:"".concat(En,"-selection-item"),title:xi,style:wi?{visibility:"hidden"}:void 0},Yr.label):null,Ei)},yt=We,Qe=function(xt,Rn){var En=(0,oe.useRef)(null),Lt=(0,oe.useRef)(!1),Sn=xt.prefixCls,Zn=xt.open,zn=xt.mode,ir=xt.showSearch,Kt=xt.tokenWithEnter,er=xt.disabled,Dn=xt.prefix,Wr=xt.autoClearSearchValue,qn=xt.onSearch,Pr=xt.onSearchSubmit,Nr=xt.onToggleOpen,jr=xt.onInputKeyDown,Vr=xt.onInputBlur,li=xt.domRef;oe.useImperativeHandle(Rn,function(){return{focus:function(xi){En.current.focus(xi)},blur:function(){En.current.blur()}}});var Di=be(0),fi=(0,Ee.Z)(Di,2),Li=fi[0],ei=fi[1],Mi=function(xi){var Ei=xi.which,Vi=En.current instanceof HTMLTextAreaElement;!Vi&&Zn&&(Ei===Ge.Z.UP||Ei===Ge.Z.DOWN)&&xi.preventDefault(),jr&&jr(xi),Ei===Ge.Z.ENTER&&zn==="tags"&&!Lt.current&&!Zn&&(Pr==null||Pr(xi.target.value)),!(Vi&&!Zn&&~[Ge.Z.UP,Ge.Z.DOWN,Ge.Z.LEFT,Ge.Z.RIGHT].indexOf(Ei))&&ft(Ei)&&Nr(!0)},Wi=function(){ei(!0)},Fi=(0,oe.useRef)(null),Ri=function(xi){qn(xi,!0,Lt.current)!==!1&&Nr(!0)},Hi=function(){Lt.current=!0},Ti=function(xi){Lt.current=!1,zn!=="combobox"&&Ri(xi.target.value)},ci=function(xi){var Ei=xi.target.value;if(Kt&&Fi.current&&/[\r\n]/.test(Fi.current)){var Vi=Fi.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ei=Ei.replace(Vi,Fi.current)}Fi.current=null,Ri(Ei)},ji=function(xi){var Ei=xi.clipboardData,Vi=Ei==null?void 0:Ei.getData("text");Fi.current=Vi||""},Oi=function(xi){var Ei=xi.target;if(Ei!==En.current){var Vi=document.body.style.msTouchAction!==void 0;Vi?setTimeout(function(){En.current.focus()}):En.current.focus()}},wr=function(xi){var Ei=Li();xi.target!==En.current&&!Ei&&!(zn==="combobox"&&er)&&xi.preventDefault(),(zn!=="combobox"&&(!ir||!Ei)||!Zn)&&(Zn&&Wr!==!1&&qn("",!0,!1),Nr())},Yr={inputRef:En,onInputKeyDown:Mi,onInputMouseDown:Wi,onInputChange:ci,onInputPaste:ji,onInputCompositionStart:Hi,onInputCompositionEnd:Ti,onInputBlur:Vr},si=zn==="multiple"||zn==="tags"?oe.createElement(Ht,(0,re.Z)({},xt,Yr)):oe.createElement(yt,(0,re.Z)({},xt,Yr));return oe.createElement("div",{ref:li,className:"".concat(Sn,"-selector"),onClick:Oi,onMouseDown:wr},Dn&&oe.createElement("div",{className:"".concat(Sn,"-prefix")},Dn),si)},Bt=oe.forwardRef(Qe),bt=Bt,ce=se(65030),ie=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(xt){var Rn=xt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Rn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Rn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Rn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Rn,adjustY:1},htmlRegion:"scroll"}}},ee=function(xt,Rn){var En=xt.prefixCls,Lt=xt.disabled,Sn=xt.visible,Zn=xt.children,zn=xt.popupElement,ir=xt.animation,Kt=xt.transitionName,er=xt.dropdownStyle,Dn=xt.dropdownClassName,Wr=xt.direction,qn=Wr===void 0?"ltr":Wr,Pr=xt.placement,Nr=xt.builtinPlacements,jr=xt.dropdownMatchSelectWidth,Vr=xt.dropdownRender,li=xt.dropdownAlign,Di=xt.getPopupContainer,fi=xt.empty,Li=xt.getTriggerDOMNode,ei=xt.onPopupVisibleChange,Mi=xt.onPopupMouseEnter,Wi=(0,fe.Z)(xt,ie),Fi="".concat(En,"-dropdown"),Ri=zn;Vr&&(Ri=Vr(zn));var Hi=oe.useMemo(function(){return Nr||z(jr)},[Nr,jr]),Ti=ir?"".concat(Fi,"-").concat(ir):Kt,ci=typeof jr=="number",ji=oe.useMemo(function(){return ci?null:jr===!1?"minWidth":"width"},[jr,ci]),Oi=er;ci&&(Oi=(0,Fe.Z)((0,Fe.Z)({},Oi),{},{width:jr}));var wr=oe.useRef(null);return oe.useImperativeHandle(Rn,function(){return{getPopupElement:function(){var si;return(si=wr.current)===null||si===void 0?void 0:si.popupElement}}}),oe.createElement(ce.Z,(0,re.Z)({},Wi,{showAction:ei?["click"]:[],hideAction:ei?["click"]:[],popupPlacement:Pr||(qn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Hi,prefixCls:Fi,popupTransitionName:Ti,popup:oe.createElement("div",{onMouseEnter:Mi},Ri),ref:wr,stretch:ji,popupAlign:li,popupVisible:Sn,getPopupContainer:Di,popupClassName:ye()(Dn,(0,Te.Z)({},"".concat(Fi,"-empty"),fi)),popupStyle:Oi,getTriggerDOMNode:Li,onPopupVisibleChange:ei}),Zn)},ne=oe.forwardRef(ee),te=ne,ue=se(40954);function me(dt,xt){var Rn=dt.key,En;return"value"in dt&&(En=dt.value),Rn!=null?Rn:En!==void 0?En:"rc-index-key-".concat(xt)}function Se(dt){return typeof dt!="undefined"&&!Number.isNaN(dt)}function Dt(dt,xt){var Rn=dt||{},En=Rn.label,Lt=Rn.value,Sn=Rn.options,Zn=Rn.groupLabel,zn=En||(xt?"children":"label");return{label:zn,value:Lt||"value",options:Sn||"options",groupLabel:Zn||zn}}function Ue(dt){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rn=xt.fieldNames,En=xt.childrenAsData,Lt=[],Sn=Dt(Rn,!1),Zn=Sn.label,zn=Sn.value,ir=Sn.options,Kt=Sn.groupLabel;function er(Dn,Wr){Array.isArray(Dn)&&Dn.forEach(function(qn){if(Wr||!(ir in qn)){var Pr=qn[zn];Lt.push({key:me(qn,Lt.length),groupOption:Wr,data:qn,label:qn[Zn],value:Pr})}else{var Nr=qn[Kt];Nr===void 0&&En&&(Nr=qn.label),Lt.push({key:me(qn,Lt.length),group:!0,data:qn,label:Nr}),er(qn[ir],!0)}})}return er(dt,!1),Lt}function $e(dt){var xt=(0,Fe.Z)({},dt);return"props"in xt||Object.defineProperty(xt,"props",{get:function(){return(0,Pe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),xt}}),xt}var ot=function(xt,Rn,En){if(!Rn||!Rn.length)return null;var Lt=!1,Sn=function zn(ir,Kt){var er=(0,ue.Z)(Kt),Dn=er[0],Wr=er.slice(1);if(!Dn)return[ir];var qn=ir.split(Dn);return Lt=Lt||qn.length>1,qn.reduce(function(Pr,Nr){return[].concat((0,Ne.Z)(Pr),(0,Ne.Z)(zn(Nr,Wr)))},[]).filter(Boolean)},Zn=Sn(xt,Rn);return Lt?typeof En!="undefined"?Zn.slice(0,En):Zn:null},vt=oe.createContext(null),zt=vt;function tn(dt){var xt=dt.visible,Rn=dt.values;if(!xt)return null;var En=50;return oe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Rn.slice(0,En).map(function(Lt){var Sn=Lt.label,Zn=Lt.value;return["number","string"].includes((0,Oe.Z)(Sn))?Sn:Zn}).join(", ")),Rn.length>En?", ...":null)}var jt=["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"],on=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Jt=function(xt){return xt==="tags"||xt==="multiple"},Pt=oe.forwardRef(function(dt,xt){var Rn,En=dt.id,Lt=dt.prefixCls,Sn=dt.className,Zn=dt.showSearch,zn=dt.tagRender,ir=dt.direction,Kt=dt.omitDomProps,er=dt.displayValues,Dn=dt.onDisplayValuesChange,Wr=dt.emptyOptions,qn=dt.notFoundContent,Pr=qn===void 0?"Not Found":qn,Nr=dt.onClear,jr=dt.mode,Vr=dt.disabled,li=dt.loading,Di=dt.getInputElement,fi=dt.getRawInputElement,Li=dt.open,ei=dt.defaultOpen,Mi=dt.onDropdownVisibleChange,Wi=dt.activeValue,Fi=dt.onActiveValueChange,Ri=dt.activeDescendantId,Hi=dt.searchValue,Ti=dt.autoClearSearchValue,ci=dt.onSearch,ji=dt.onSearchSplit,Oi=dt.tokenSeparators,wr=dt.allowClear,Yr=dt.prefix,si=dt.suffixIcon,wi=dt.clearIcon,xi=dt.OptionList,Ei=dt.animation,Vi=dt.transitionName,et=dt.dropdownStyle,Yt=dt.dropdownClassName,Zt=dt.dropdownMatchSelectWidth,qt=dt.dropdownRender,fn=dt.dropdownAlign,xn=dt.placement,Nn=dt.builtinPlacements,Bn=dt.getPopupContainer,An=dt.showAction,Ot=An===void 0?[]:An,un=dt.onFocus,At=dt.onBlur,gt=dt.onKeyUp,Wt=dt.onKeyDown,sn=dt.onMouseDown,le=(0,fe.Z)(dt,jt),De=Jt(jr),Be=(Zn!==void 0?Zn:De)||jr==="combobox",Me=(0,Fe.Z)({},le);on.forEach(function(Vn){delete Me[Vn]}),Kt==null||Kt.forEach(function(Vn){delete Me[Vn]});var Le=oe.useState(!1),it=(0,Ee.Z)(Le,2),ut=it[0],wt=it[1];oe.useEffect(function(){wt((0,Ie.Z)())},[]);var nn=oe.useRef(null),rn=oe.useRef(null),Et=oe.useRef(null),dn=oe.useRef(null),pn=oe.useRef(null),hn=oe.useRef(!1),ln=ke(),Vt=(0,Ee.Z)(ln,3),Gt=Vt[0],en=Vt[1],wn=Vt[2];oe.useImperativeHandle(xt,function(){var Vn,br;return{focus:(Vn=dn.current)===null||Vn===void 0?void 0:Vn.focus,blur:(br=dn.current)===null||br===void 0?void 0:br.blur,scrollTo:function(mr){var vi;return(vi=pn.current)===null||vi===void 0?void 0:vi.scrollTo(mr)},nativeElement:nn.current||rn.current}});var Cn=oe.useMemo(function(){var Vn;if(jr!=="combobox")return Hi;var br=(Vn=er[0])===null||Vn===void 0?void 0:Vn.value;return typeof br=="string"||typeof br=="number"?String(br):""},[Hi,jr,er]),vn=jr==="combobox"&&typeof Di=="function"&&Di()||null,kn=typeof fi=="function"&&fi(),Fn=(0,Ye.x1)(rn,kn==null||(Rn=kn.props)===null||Rn===void 0?void 0:Rn.ref),Kn=oe.useState(!1),Dr=(0,Ee.Z)(Kn,2),Ar=Dr[0],Mr=Dr[1];(0,Ke.Z)(function(){Mr(!0)},[]);var hr=(0,Ce.Z)(!1,{defaultValue:ei,value:Li}),vr=(0,Ee.Z)(hr,2),tr=vr[0],yr=vr[1],or=Ar?tr:!1,pr=!Pr&&Wr;(Vr||pr&&or&&jr==="combobox")&&(or=!1);var gr=pr?!1:or,On=oe.useCallback(function(Vn){var br=Vn!==void 0?Vn:!or;Vr||(yr(br),or!==br&&(Mi==null||Mi(br)))},[Vr,or,yr,Mi]),Jn=oe.useMemo(function(){return(Oi||[]).some(function(Vn){return[`
|
|
`,`\r
|
|
`].includes(Vn)})},[Oi]),Gn=oe.useContext(zt)||{},In=Gn.maxCount,Tn=Gn.rawValues,nr=function(br,lr,mr){if(!(De&&Se(In)&&(Tn==null?void 0:Tn.size)>=In)){var vi=!0,Ci=br;Fi==null||Fi(null);var Yi=ot(br,Oi,Se(In)?In-Tn.size:void 0),ia=mr?null:Yi;return jr!=="combobox"&&ia&&(Ci="",ji==null||ji(ia),On(!1),vi=!1),ci&&Cn!==Ci&&ci(Ci,{source:lr?"typing":"effect"}),vi}},xr=function(br){!br||!br.trim()||ci(br,{source:"submit"})};oe.useEffect(function(){!or&&!De&&jr!=="combobox"&&nr("",!1,!1)},[or]),oe.useEffect(function(){tr&&Vr&&yr(!1),Vr&&!hn.current&&en(!1)},[Vr]);var Hr=be(),Ur=(0,Ee.Z)(Hr,2),sr=Ur[0],Qr=Ur[1],Gr=oe.useRef(!1),Kr=function(br){var lr=sr(),mr=br.key,vi=mr==="Enter";if(vi&&(jr!=="combobox"&&br.preventDefault(),or||On(!0)),Qr(!!Cn),mr==="Backspace"&&!lr&&De&&!Cn&&er.length){for(var Ci=(0,Ne.Z)(er),Yi=null,ia=Ci.length-1;ia>=0;ia-=1){var aa=Ci[ia];if(!aa.disabled){Ci.splice(ia,1),Yi=aa;break}}Yi&&Dn(Ci,{type:"remove",values:[Yi]})}for(var Gi=arguments.length,Qi=new Array(Gi>1?Gi-1:0),la=1;la<Gi;la++)Qi[la-1]=arguments[la];if(or&&(!vi||!Gr.current)){var ta;vi&&(Gr.current=!0),(ta=pn.current)===null||ta===void 0||ta.onKeyDown.apply(ta,[br].concat(Qi))}Wt==null||Wt.apply(void 0,[br].concat(Qi))},ni=function(br){for(var lr=arguments.length,mr=new Array(lr>1?lr-1:0),vi=1;vi<lr;vi++)mr[vi-1]=arguments[vi];if(or){var Ci;(Ci=pn.current)===null||Ci===void 0||Ci.onKeyUp.apply(Ci,[br].concat(mr))}br.key==="Enter"&&(Gr.current=!1),gt==null||gt.apply(void 0,[br].concat(mr))},ti=function(br){var lr=er.filter(function(mr){return mr!==br});Dn(lr,{type:"remove",values:[br]})},hi=function(){Gr.current=!1},Jr=oe.useRef(!1),Zi=function(){en(!0),Vr||(un&&!Jr.current&&un.apply(void 0,arguments),Ot.includes("focus")&&On(!0)),Jr.current=!0},ii=function(){hn.current=!0,en(!1,function(){Jr.current=!1,hn.current=!1,On(!1)}),!Vr&&(Cn&&(jr==="tags"?ci(Cn,{source:"submit"}):jr==="multiple"&&ci("",{source:"blur"})),At&&At.apply(void 0,arguments))},zi=[];oe.useEffect(function(){return function(){zi.forEach(function(Vn){return clearTimeout(Vn)}),zi.splice(0,zi.length)}},[]);var ui=function(br){var lr,mr=br.target,vi=(lr=Et.current)===null||lr===void 0?void 0:lr.getPopupElement();if(vi&&vi.contains(mr)){var Ci=setTimeout(function(){var Gi=zi.indexOf(Ci);if(Gi!==-1&&zi.splice(Gi,1),wn(),!ut&&!vi.contains(document.activeElement)){var Qi;(Qi=dn.current)===null||Qi===void 0||Qi.focus()}});zi.push(Ci)}for(var Yi=arguments.length,ia=new Array(Yi>1?Yi-1:0),aa=1;aa<Yi;aa++)ia[aa-1]=arguments[aa];sn==null||sn.apply(void 0,[br].concat(ia))},Ai=oe.useState({}),Ki=(0,Ee.Z)(Ai,2),ki=Ki[1];function yi(){ki({})}var Xi;kn&&(Xi=function(br){On(br)}),Ve(function(){var Vn;return[nn.current,(Vn=Et.current)===null||Vn===void 0?void 0:Vn.getPopupElement()]},gr,On,!!kn);var Ui=oe.useMemo(function(){return(0,Fe.Z)((0,Fe.Z)({},dt),{},{notFoundContent:Pr,open:or,triggerOpen:gr,id:En,showSearch:Be,multiple:De,toggleOpen:On})},[dt,Pr,gr,or,En,Be,De,On]),_i=!!si||li,bi;_i&&(bi=oe.createElement(je,{className:ye()("".concat(Lt,"-arrow"),(0,Te.Z)({},"".concat(Lt,"-arrow-loading"),li)),customizeIcon:si,customizeIconProps:{loading:li,searchValue:Cn,open:or,focused:Gt,showSearch:Be}}));var ra=function(){var br;Nr==null||Nr(),(br=dn.current)===null||br===void 0||br.focus(),Dn([],{type:"clear",values:er}),nr("",!1,!1)},Ni=st(Lt,ra,er,wr,wi,Vr,Cn,jr),Si=Ni.allowClear,Bi=Ni.clearIcon,qi=oe.createElement(xi,{ref:pn}),ri=ye()(Lt,Sn,(0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(Lt,"-focused"),Gt),"".concat(Lt,"-multiple"),De),"".concat(Lt,"-single"),!De),"".concat(Lt,"-allow-clear"),wr),"".concat(Lt,"-show-arrow"),_i),"".concat(Lt,"-disabled"),Vr),"".concat(Lt,"-loading"),li),"".concat(Lt,"-open"),or),"".concat(Lt,"-customize-input"),vn),"".concat(Lt,"-show-search"),Be)),$i=oe.createElement(te,{ref:Et,disabled:Vr,prefixCls:Lt,visible:gr,popupElement:qi,animation:Ei,transitionName:Vi,dropdownStyle:et,dropdownClassName:Yt,direction:ir,dropdownMatchSelectWidth:Zt,dropdownRender:qt,dropdownAlign:fn,placement:xn,builtinPlacements:Nn,getPopupContainer:Bn,empty:Wr,getTriggerDOMNode:function(br){return rn.current||br},onPopupVisibleChange:Xi,onPopupMouseEnter:yi},kn?oe.cloneElement(kn,{ref:Fn}):oe.createElement(bt,(0,re.Z)({},dt,{domRef:rn,prefixCls:Lt,inputElement:vn,ref:dn,id:En,prefix:Yr,showSearch:Be,autoClearSearchValue:Ti,mode:jr,activeDescendantId:Ri,tagRender:zn,values:er,open:or,onToggleOpen:On,activeValue:Wi,searchValue:Cn,onSearch:nr,onSearchSubmit:xr,onRemove:ti,tokenWithEnter:Jn,onInputBlur:hi}))),Fr;return kn?Fr=$i:Fr=oe.createElement("div",(0,re.Z)({className:ri},Me,{ref:nn,onMouseDown:ui,onKeyDown:Kr,onKeyUp:ni,onFocus:Zi,onBlur:ii}),oe.createElement(tn,{visible:Gt&&!or,values:er}),$i,bi,Si&&Bi),oe.createElement(at.Provider,{value:Ui},Fr)}),ct=Pt,Ut=function(){return null};Ut.isSelectOptGroup=!0;var _t=Ut,gn=function(){return null};gn.isSelectOption=!0;var Mn=gn,jn=se(80547),yn=se(2738),Xn=se(6790);function Qn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var cr=["disabled","title","children","style","className"];function Br(dt){return typeof dt=="string"||typeof dt=="number"}var ar=function(xt,Rn){var En=rt(),Lt=En.prefixCls,Sn=En.id,Zn=En.open,zn=En.multiple,ir=En.mode,Kt=En.searchValue,er=En.toggleOpen,Dn=En.notFoundContent,Wr=En.onPopupScroll,qn=oe.useContext(zt),Pr=qn.maxCount,Nr=qn.flattenOptions,jr=qn.onActiveValue,Vr=qn.defaultActiveFirstOption,li=qn.onSelect,Di=qn.menuItemSelectedIcon,fi=qn.rawValues,Li=qn.fieldNames,ei=qn.virtual,Mi=qn.direction,Wi=qn.listHeight,Fi=qn.listItemHeight,Ri=qn.optionRender,Hi="".concat(Lt,"-item"),Ti=(0,jn.Z)(function(){return Nr},[Zn,Nr],function(An,Ot){return Ot[0]&&An[1]!==Ot[1]}),ci=oe.useRef(null),ji=oe.useMemo(function(){return zn&&Se(Pr)&&(fi==null?void 0:fi.size)>=Pr},[zn,Pr,fi==null?void 0:fi.size]),Oi=function(Ot){Ot.preventDefault()},wr=function(Ot){var un;(un=ci.current)===null||un===void 0||un.scrollTo(typeof Ot=="number"?{index:Ot}:Ot)},Yr=oe.useCallback(function(An){return ir==="combobox"?!1:fi.has(An)},[ir,(0,Ne.Z)(fi).toString(),fi.size]),si=function(Ot){for(var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,At=Ti.length,gt=0;gt<At;gt+=1){var Wt=(Ot+gt*un+At)%At,sn=Ti[Wt]||{},le=sn.group,De=sn.data;if(!le&&!(De!=null&&De.disabled)&&(Yr(De.value)||!ji))return Wt}return-1},wi=oe.useState(function(){return si(0)}),xi=(0,Ee.Z)(wi,2),Ei=xi[0],Vi=xi[1],et=function(Ot){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Vi(Ot);var At={source:un?"keyboard":"mouse"},gt=Ti[Ot];if(!gt){jr(null,-1,At);return}jr(gt.value,Ot,At)};(0,oe.useEffect)(function(){et(Vr!==!1?si(0):-1)},[Ti.length,Kt]);var Yt=oe.useCallback(function(An){return ir==="combobox"?String(An).toLowerCase()===Kt.toLowerCase():fi.has(An)},[ir,Kt,(0,Ne.Z)(fi).toString(),fi.size]);(0,oe.useEffect)(function(){var An=setTimeout(function(){if(!zn&&Zn&&fi.size===1){var un=Array.from(fi)[0],At=Ti.findIndex(function(gt){var Wt=gt.data;return Kt?String(Wt.value).startsWith(Kt):Wt.value===un});At!==-1&&(et(At),wr(At))}});if(Zn){var Ot;(Ot=ci.current)===null||Ot===void 0||Ot.scrollTo(void 0)}return function(){return clearTimeout(An)}},[Zn,Kt]);var Zt=function(Ot){Ot!==void 0&&li(Ot,{selected:!fi.has(Ot)}),zn||er(!1)};if(oe.useImperativeHandle(Rn,function(){return{onKeyDown:function(Ot){var un=Ot.which,At=Ot.ctrlKey;switch(un){case Ge.Z.N:case Ge.Z.P:case Ge.Z.UP:case Ge.Z.DOWN:{var gt=0;if(un===Ge.Z.UP?gt=-1:un===Ge.Z.DOWN?gt=1:Qn()&&At&&(un===Ge.Z.N?gt=1:un===Ge.Z.P&&(gt=-1)),gt!==0){var Wt=si(Ei+gt,gt);wr(Wt),et(Wt,!0)}break}case Ge.Z.TAB:case Ge.Z.ENTER:{var sn,le=Ti[Ei];le&&!(le!=null&&(sn=le.data)!==null&&sn!==void 0&&sn.disabled)&&!ji?Zt(le.value):Zt(void 0),Zn&&Ot.preventDefault();break}case Ge.Z.ESC:er(!1),Zn&&Ot.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ot){wr(Ot)}}}),Ti.length===0)return oe.createElement("div",{role:"listbox",id:"".concat(Sn,"_list"),className:"".concat(Hi,"-empty"),onMouseDown:Oi},Dn);var qt=Object.keys(Li).map(function(An){return Li[An]}),fn=function(Ot){return Ot.label};function xn(An,Ot){var un=An.group;return{role:un?"presentation":"option",id:"".concat(Sn,"_list_").concat(Ot)}}var Nn=function(Ot){var un=Ti[Ot];if(!un)return null;var At=un.data||{},gt=At.value,Wt=un.group,sn=(0,ge.Z)(At,!0),le=fn(un);return un?oe.createElement("div",(0,re.Z)({"aria-label":typeof le=="string"&&!Wt?le:null},sn,{key:Ot},xn(un,Ot),{"aria-selected":Yt(gt)}),gt):null},Bn={role:"listbox",id:"".concat(Sn,"_list")};return oe.createElement(oe.Fragment,null,ei&&oe.createElement("div",(0,re.Z)({},Bn,{style:{height:0,width:0,overflow:"hidden"}}),Nn(Ei-1),Nn(Ei),Nn(Ei+1)),oe.createElement(Xn.Z,{itemKey:"key",ref:ci,data:Ti,height:Wi,itemHeight:Fi,fullHeight:!1,onMouseDown:Oi,onScroll:Wr,virtual:ei,direction:Mi,innerProps:ei?null:Bn},function(An,Ot){var un=An.group,At=An.groupOption,gt=An.data,Wt=An.label,sn=An.value,le=gt.key;if(un){var De,Be=(De=gt.title)!==null&&De!==void 0?De:Br(Wt)?Wt.toString():void 0;return oe.createElement("div",{className:ye()(Hi,"".concat(Hi,"-group"),gt.className),title:Be},Wt!==void 0?Wt:le)}var Me=gt.disabled,Le=gt.title,it=gt.children,ut=gt.style,wt=gt.className,nn=(0,fe.Z)(gt,cr),rn=(0,yn.Z)(nn,qt),Et=Yr(sn),dn=Me||!Et&&ji,pn="".concat(Hi,"-option"),hn=ye()(Hi,pn,wt,(0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(pn,"-grouped"),At),"".concat(pn,"-active"),Ei===Ot&&!dn),"".concat(pn,"-disabled"),dn),"".concat(pn,"-selected"),Et)),ln=fn(An),Vt=!Di||typeof Di=="function"||Et,Gt=typeof ln=="number"?ln:ln||sn,en=Br(Gt)?Gt.toString():void 0;return Le!==void 0&&(en=Le),oe.createElement("div",(0,re.Z)({},(0,ge.Z)(rn),ei?{}:xn(An,Ot),{"aria-selected":Yt(sn),className:hn,title:en,onMouseMove:function(){Ei===Ot||dn||et(Ot)},onClick:function(){dn||Zt(sn)},style:ut}),oe.createElement("div",{className:"".concat(pn,"-content")},typeof Ri=="function"?Ri(An,{index:Ot}):Gt),oe.isValidElement(Di)||Et,Vt&&oe.createElement(je,{className:"".concat(Hi,"-option-state"),customizeIcon:Di,customizeIconProps:{value:sn,disabled:dn,isSelected:Et}},Et?"\u2713":null))}))},Lr=oe.forwardRef(ar),Er=Lr,Wn=function(dt,xt){var Rn=oe.useRef({values:new Map,options:new Map}),En=oe.useMemo(function(){var Sn=Rn.current,Zn=Sn.values,zn=Sn.options,ir=dt.map(function(Dn){if(Dn.label===void 0){var Wr;return(0,Fe.Z)((0,Fe.Z)({},Dn),{},{label:(Wr=Zn.get(Dn.value))===null||Wr===void 0?void 0:Wr.label})}return Dn}),Kt=new Map,er=new Map;return ir.forEach(function(Dn){Kt.set(Dn.value,Dn),er.set(Dn.value,xt.get(Dn.value)||zn.get(Dn.value))}),Rn.current.values=Kt,Rn.current.options=er,ir},[dt,xt]),Lt=oe.useCallback(function(Sn){return xt.get(Sn)||Rn.current.options.get(Sn)},[xt]);return[En,Lt]};function Ir(dt,xt){return ht(dt).join("").toUpperCase().includes(xt)}var Or=function(dt,xt,Rn,En,Lt){return oe.useMemo(function(){if(!Rn||En===!1)return dt;var Sn=xt.options,Zn=xt.label,zn=xt.value,ir=[],Kt=typeof En=="function",er=Rn.toUpperCase(),Dn=Kt?En:function(qn,Pr){return Lt?Ir(Pr[Lt],er):Pr[Sn]?Ir(Pr[Zn!=="children"?Zn:"label"],er):Ir(Pr[zn],er)},Wr=Kt?function(qn){return $e(qn)}:function(qn){return qn};return dt.forEach(function(qn){if(qn[Sn]){var Pr=Dn(Rn,Wr(qn));if(Pr)ir.push(qn);else{var Nr=qn[Sn].filter(function(jr){return Dn(Rn,Wr(jr))});Nr.length&&ir.push((0,Fe.Z)((0,Fe.Z)({},qn),{},(0,Te.Z)({},Sn,Nr)))}return}Dn(Rn,Wr(qn))&&ir.push(qn)}),ir},[dt,En,Lt,Rn,xt])},Ft=se(6551),Qt=se(11592),It=["children","value"],Nt=["children"];function kt(dt){var xt=dt,Rn=xt.key,En=xt.props,Lt=En.children,Sn=En.value,Zn=(0,fe.Z)(En,It);return(0,Fe.Z)({key:Rn,value:Sn!==void 0?Sn:Rn,children:Lt},Zn)}function mn(dt){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Qt.Z)(dt).map(function(Rn,En){if(!oe.isValidElement(Rn)||!Rn.type)return null;var Lt=Rn,Sn=Lt.type.isSelectOptGroup,Zn=Lt.key,zn=Lt.props,ir=zn.children,Kt=(0,fe.Z)(zn,Nt);return xt||!Sn?kt(Rn):(0,Fe.Z)((0,Fe.Z)({key:"__RC_SELECT_GRP__".concat(Zn===null?En:Zn,"__"),label:Zn},Kt),{},{options:mn(ir)})}).filter(function(Rn){return Rn})}var _n=function(xt,Rn,En,Lt,Sn){return oe.useMemo(function(){var Zn=xt,zn=!xt;zn&&(Zn=mn(Rn));var ir=new Map,Kt=new Map,er=function(qn,Pr,Nr){Nr&&typeof Nr=="string"&&qn.set(Pr[Nr],Pr)},Dn=function Wr(qn){for(var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nr=0;Nr<qn.length;Nr+=1){var jr=qn[Nr];!jr[En.options]||Pr?(ir.set(jr[En.value],jr),er(Kt,jr,En.label),er(Kt,jr,Lt),er(Kt,jr,Sn)):Wr(jr[En.options],!0)}};return Dn(Zn),{options:Zn,valueOptions:ir,labelOptions:Kt}},[xt,Rn,En,Lt,Sn])},Yn=_n;function Hn(dt){var xt=oe.useRef();xt.current=dt;var Rn=oe.useCallback(function(){return xt.current.apply(xt,arguments)},[]);return Rn}function rr(dt){var xt=dt.mode,Rn=dt.options,En=dt.children,Lt=dt.backfill,Sn=dt.allowClear,Zn=dt.placeholder,zn=dt.getInputElement,ir=dt.showSearch,Kt=dt.onSearch,er=dt.defaultOpen,Dn=dt.autoFocus,Wr=dt.labelInValue,qn=dt.value,Pr=dt.inputValue,Nr=dt.optionLabelProp,jr=isMultiple(xt),Vr=ir!==void 0?ir:jr||xt==="combobox",li=Rn||convertChildrenToData(En);if(warning(xt!=="tags"||li.every(function(ei){return!ei.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),xt==="tags"||xt==="combobox"){var Di=li.some(function(ei){return ei.options?ei.options.some(function(Mi){return typeof("value"in Mi?Mi.value:Mi.key)=="number"}):typeof("value"in ei?ei.value:ei.key)=="number"});warning(!Di,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(xt!=="combobox"||!Nr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(xt==="combobox"||!Lt,"`backfill` only works with `combobox` mode."),warning(xt==="combobox"||!zn,"`getInputElement` only work with `combobox` mode."),noteOnce(xt!=="combobox"||!zn||!Sn||!Zn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Kt&&!Vr&&xt!=="combobox"&&xt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!er||Dn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),qn!=null){var fi=toArray(qn);warning(!Wr||fi.every(function(ei){return _typeof(ei)==="object"&&("key"in ei||"value"in ei)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!jr||Array.isArray(qn),"`value` should be array when `mode` is `multiple` or `tags`")}if(En){var Li=null;toNodeArray(En).some(function(ei){if(!React.isValidElement(ei)||!ei.type)return!1;var Mi=ei,Wi=Mi.type;if(Wi.isSelectOption)return!1;if(Wi.isSelectOptGroup){var Fi=toNodeArray(ei.props.children).every(function(Ri){return!React.isValidElement(Ri)||!ei.type||Ri.type.isSelectOption?!0:(Li=Ri.type,!1)});return!Fi}return Li=Wi,!0}),Li&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Li.displayName||Li.name||Li,"`.")),warning(Pr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function fr(dt,xt){if(dt){var Rn=function En(Lt){for(var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zn=0;Zn<Lt.length;Zn++){var zn=Lt[Zn];if(zn[xt==null?void 0:xt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Sn&&Array.isArray(zn[xt==null?void 0:xt.options])&&En(zn[xt==null?void 0:xt.options],!0))break}};Rn(dt)}}var dr=null,Cr=["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"],Tr=["inputValue"];function Ln(dt){return!dt||(0,Oe.Z)(dt)!=="object"}var $t=oe.forwardRef(function(dt,xt){var Rn=dt.id,En=dt.mode,Lt=dt.prefixCls,Sn=Lt===void 0?"rc-select":Lt,Zn=dt.backfill,zn=dt.fieldNames,ir=dt.inputValue,Kt=dt.searchValue,er=dt.onSearch,Dn=dt.autoClearSearchValue,Wr=Dn===void 0?!0:Dn,qn=dt.onSelect,Pr=dt.onDeselect,Nr=dt.dropdownMatchSelectWidth,jr=Nr===void 0?!0:Nr,Vr=dt.filterOption,li=dt.filterSort,Di=dt.optionFilterProp,fi=dt.optionLabelProp,Li=dt.options,ei=dt.optionRender,Mi=dt.children,Wi=dt.defaultActiveFirstOption,Fi=dt.menuItemSelectedIcon,Ri=dt.virtual,Hi=dt.direction,Ti=dt.listHeight,ci=Ti===void 0?200:Ti,ji=dt.listItemHeight,Oi=ji===void 0?20:ji,wr=dt.labelRender,Yr=dt.value,si=dt.defaultValue,wi=dt.labelInValue,xi=dt.onChange,Ei=dt.maxCount,Vi=(0,fe.Z)(dt,Cr),et=(0,Ft.ZP)(Rn),Yt=Jt(En),Zt=!!(!Li&&Mi),qt=oe.useMemo(function(){return Vr===void 0&&En==="combobox"?!1:Vr},[Vr,En]),fn=oe.useMemo(function(){return Dt(zn,Zt)},[JSON.stringify(zn),Zt]),xn=(0,Ce.Z)("",{value:Kt!==void 0?Kt:ir,postState:function(Jn){return Jn||""}}),Nn=(0,Ee.Z)(xn,2),Bn=Nn[0],An=Nn[1],Ot=Yn(Li,Mi,fn,Di,fi),un=Ot.valueOptions,At=Ot.labelOptions,gt=Ot.options,Wt=oe.useCallback(function(On){var Jn=ht(On);return Jn.map(function(Gn){var In,Tn,nr,xr,Hr;if(Ln(Gn))In=Gn;else{var Ur;nr=Gn.key,Tn=Gn.label,In=(Ur=Gn.value)!==null&&Ur!==void 0?Ur:nr}var sr=un.get(In);if(sr){var Qr;if(Tn===void 0&&(Tn=sr==null?void 0:sr[fi||fn.label]),nr===void 0&&(nr=(Qr=sr==null?void 0:sr.key)!==null&&Qr!==void 0?Qr:In),xr=sr==null?void 0:sr.disabled,Hr=sr==null?void 0:sr.title,0)var Gr}return{label:Tn,value:In,key:nr,disabled:xr,title:Hr}})},[fn,fi,un]),sn=(0,Ce.Z)(si,{value:Yr}),le=(0,Ee.Z)(sn,2),De=le[0],Be=le[1],Me=oe.useMemo(function(){var On,Jn=Yt&&De===null?[]:De,Gn=Wt(Jn);return En==="combobox"&&he((On=Gn[0])===null||On===void 0?void 0:On.value)?[]:Gn},[De,Wt,En,Yt]),Le=Wn(Me,un),it=(0,Ee.Z)(Le,2),ut=it[0],wt=it[1],nn=oe.useMemo(function(){if(!En&&ut.length===1){var On=ut[0];if(On.value===null&&(On.label===null||On.label===void 0))return[]}return ut.map(function(Jn){var Gn;return(0,Fe.Z)((0,Fe.Z)({},Jn),{},{label:(Gn=typeof wr=="function"?wr(Jn):Jn.label)!==null&&Gn!==void 0?Gn:Jn.value})})},[En,ut,wr]),rn=oe.useMemo(function(){return new Set(ut.map(function(On){return On.value}))},[ut]);oe.useEffect(function(){if(En==="combobox"){var On,Jn=(On=ut[0])===null||On===void 0?void 0:On.value;An(xe(Jn)?String(Jn):"")}},[ut]);var Et=Hn(function(On,Jn){var Gn=Jn!=null?Jn:On;return(0,Te.Z)((0,Te.Z)({},fn.value,On),fn.label,Gn)}),dn=oe.useMemo(function(){if(En!=="tags")return gt;var On=(0,Ne.Z)(gt),Jn=function(In){return un.has(In)};return(0,Ne.Z)(ut).sort(function(Gn,In){return Gn.value<In.value?-1:1}).forEach(function(Gn){var In=Gn.value;Jn(In)||On.push(Et(In,Gn.label))}),On},[Et,gt,un,ut,En]),pn=Or(dn,fn,Bn,qt,Di),hn=oe.useMemo(function(){return En!=="tags"||!Bn||pn.some(function(On){return On[Di||"value"]===Bn})||pn.some(function(On){return On[fn.value]===Bn})?pn:[Et(Bn)].concat((0,Ne.Z)(pn))},[Et,Di,En,pn,Bn,fn]),ln=function On(Jn){var Gn=(0,Ne.Z)(Jn).sort(function(In,Tn){return li(In,Tn,{searchValue:Bn})});return Gn.map(function(In){return Array.isArray(In.options)?(0,Fe.Z)((0,Fe.Z)({},In),{},{options:In.options.length>0?On(In.options):In.options}):In})},Vt=oe.useMemo(function(){return li?ln(hn):hn},[hn,li,Bn]),Gt=oe.useMemo(function(){return Ue(Vt,{fieldNames:fn,childrenAsData:Zt})},[Vt,fn,Zt]),en=function(Jn){var Gn=Wt(Jn);if(Be(Gn),xi&&(Gn.length!==ut.length||Gn.some(function(nr,xr){var Hr;return((Hr=ut[xr])===null||Hr===void 0?void 0:Hr.value)!==(nr==null?void 0:nr.value)}))){var In=wi?Gn:Gn.map(function(nr){return nr.value}),Tn=Gn.map(function(nr){return $e(wt(nr.value))});xi(Yt?In:In[0],Yt?Tn:Tn[0])}},wn=oe.useState(null),Cn=(0,Ee.Z)(wn,2),vn=Cn[0],kn=Cn[1],Fn=oe.useState(0),Kn=(0,Ee.Z)(Fn,2),Dr=Kn[0],Ar=Kn[1],Mr=Wi!==void 0?Wi:En!=="combobox",hr=oe.useCallback(function(On,Jn){var Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},In=Gn.source,Tn=In===void 0?"keyboard":In;Ar(Jn),Zn&&En==="combobox"&&On!==null&&Tn==="keyboard"&&kn(String(On))},[Zn,En]),vr=function(Jn,Gn,In){var Tn=function(){var ti,hi=wt(Jn);return[wi?{label:hi==null?void 0:hi[fn.label],value:Jn,key:(ti=hi==null?void 0:hi.key)!==null&&ti!==void 0?ti:Jn}:Jn,$e(hi)]};if(Gn&&qn){var nr=Tn(),xr=(0,Ee.Z)(nr,2),Hr=xr[0],Ur=xr[1];qn(Hr,Ur)}else if(!Gn&&Pr&&In!=="clear"){var sr=Tn(),Qr=(0,Ee.Z)(sr,2),Gr=Qr[0],Kr=Qr[1];Pr(Gr,Kr)}},tr=Hn(function(On,Jn){var Gn,In=Yt?Jn.selected:!0;In?Gn=Yt?[].concat((0,Ne.Z)(ut),[On]):[On]:Gn=ut.filter(function(Tn){return Tn.value!==On}),en(Gn),vr(On,In),En==="combobox"?kn(""):(!Jt||Wr)&&(An(""),kn(""))}),yr=function(Jn,Gn){en(Jn);var In=Gn.type,Tn=Gn.values;(In==="remove"||In==="clear")&&Tn.forEach(function(nr){vr(nr.value,!1,In)})},or=function(Jn,Gn){if(An(Jn),kn(null),Gn.source==="submit"){var In=(Jn||"").trim();if(In){var Tn=Array.from(new Set([].concat((0,Ne.Z)(rn),[In])));en(Tn),vr(In,!0),An("")}return}Gn.source!=="blur"&&(En==="combobox"&&en(Jn),er==null||er(Jn))},pr=function(Jn){var Gn=Jn;En!=="tags"&&(Gn=Jn.map(function(Tn){var nr=At.get(Tn);return nr==null?void 0:nr.value}).filter(function(Tn){return Tn!==void 0}));var In=Array.from(new Set([].concat((0,Ne.Z)(rn),(0,Ne.Z)(Gn))));en(In),In.forEach(function(Tn){vr(Tn,!0)})},gr=oe.useMemo(function(){var On=Ri!==!1&&jr!==!1;return(0,Fe.Z)((0,Fe.Z)({},Ot),{},{flattenOptions:Gt,onActiveValue:hr,defaultActiveFirstOption:Mr,onSelect:tr,menuItemSelectedIcon:Fi,rawValues:rn,fieldNames:fn,virtual:On,direction:Hi,listHeight:ci,listItemHeight:Oi,childrenAsData:Zt,maxCount:Ei,optionRender:ei})},[Ei,Ot,Gt,hr,Mr,tr,Fi,rn,fn,Ri,jr,Hi,ci,Oi,Zt,ei]);return oe.createElement(zt.Provider,{value:gr},oe.createElement(ct,(0,re.Z)({},Vi,{id:et,prefixCls:Sn,ref:xt,omitDomProps:Tr,mode:En,displayValues:nn,onDisplayValuesChange:yr,direction:Hi,searchValue:Bn,onSearch:or,autoClearSearchValue:Wr,onSearchSplit:pr,dropdownMatchSelectWidth:jr,OptionList:Er,emptyOptions:!Gt.length,activeValue:vn,activeDescendantId:"".concat(et,"_list_").concat(Dr)})))}),$n=$t;$n.Option=Mn,$n.OptGroup=_t;var Zr=$n,Rr=Zr},63158:function(bn,cn,se){"use strict";var re=se(32855),Ne=se(74430),Te=se(11913),Fe=se(43079),Ee=se(59301),fe=se(92310),Oe=se.n(fe),Ce=se(18929),Pe=se(10228),oe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],nt=Ee.forwardRef(function(ye,Ke){var Ie,Ye=ye.prefixCls,He=Ye===void 0?"rc-switch":Ye,je=ye.className,st=ye.checked,at=ye.defaultChecked,rt=ye.disabled,ke=ye.loadingIcon,be=ye.checkedChildren,Ve=ye.unCheckedChildren,Ge=ye.onClick,ft=ye.onChange,ge=ye.onKeyDown,Ae=(0,Fe.Z)(ye,oe),ze=(0,Ce.Z)(!1,{value:st,defaultValue:at}),Ze=(0,Te.Z)(ze,2),_e=Ze[0],Re=Ze[1];function Je(St,xe){var he=_e;return rt||(he=St,Re(he),ft==null||ft(he,xe)),he}function Rt(St){St.which===Pe.Z.LEFT?Je(!1,St):St.which===Pe.Z.RIGHT&&Je(!0,St),ge==null||ge(St)}function ht(St){var xe=Je(!_e,St);Ge==null||Ge(xe,St)}var mt=Oe()(He,je,(Ie={},(0,Ne.Z)(Ie,"".concat(He,"-checked"),_e),(0,Ne.Z)(Ie,"".concat(He,"-disabled"),rt),Ie));return Ee.createElement("button",(0,re.Z)({},Ae,{type:"button",role:"switch","aria-checked":_e,disabled:rt,className:mt,ref:Ke,onKeyDown:Rt,onClick:ht}),ke,Ee.createElement("span",{className:"".concat(He,"-inner")},Ee.createElement("span",{className:"".concat(He,"-inner-checked")},be),Ee.createElement("span",{className:"".concat(He,"-inner-unchecked")},Ve)))});nt.displayName="Switch",cn.Z=nt},86351:function(bn,cn,se){"use strict";se.d(cn,{R:function(){return Ne},w:function(){return re}});var re={},Ne="rc-table-internal-hook"},97347:function(bn,cn,se){"use strict";se.d(cn,{L:function(){return He},Z:function(){return ke}});var re=se(11913),Ne=se(74430),Te=se(3300),Fe=se(34666),Ee=se(27247),fe=se(43079),Oe=se(11592),Ce=se(48736),Pe=se(59301),oe=se(86351),nt=se(54451);function ye(be){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ve=="number"?Ve:Ve.endsWith("%")?be*parseFloat(Ve)/100:null}function Ke(be,Ve,Ge){return Pe.useMemo(function(){if(Ve&&Ve>0){var ft=0,ge=0;be.forEach(function(ht){var mt=ye(Ve,ht.width);mt?ft+=mt:ge+=1});var Ae=Math.max(Ve,Ge),ze=Math.max(Ae-ft,ge),Ze=ge,_e=ze/ge,Re=0,Je=be.map(function(ht){var mt=(0,Ee.Z)({},ht),St=ye(Ve,mt.width);if(St)mt.width=St;else{var xe=Math.floor(_e);mt.width=Ze===1?ze:xe,ze-=xe,Ze-=1}return Re+=mt.width,mt});if(Re<Ae){var Rt=Ae/Re;ze=Ae,Je.forEach(function(ht,mt){var St=Math.floor(ht.width*Rt);ht.width=mt===Je.length-1?ze:St,ze-=St})}return[Je,Math.max(Re,Ae)]}return[be,Ve]},[be,Ve,Ge])}var Ie=["children"],Ye=["fixed"];function He(be){return(0,Oe.Z)(be).filter(function(Ve){return Pe.isValidElement(Ve)}).map(function(Ve){var Ge=Ve.key,ft=Ve.props,ge=ft.children,Ae=(0,fe.Z)(ft,Ie),ze=(0,Ee.Z)({key:Ge},Ae);return ge&&(ze.children=He(ge)),ze})}function je(be){return be.filter(function(Ve){return Ve&&(0,Fe.Z)(Ve)==="object"&&!Ve.hidden}).map(function(Ve){var Ge=Ve.children;return Ge&&Ge.length>0?(0,Ee.Z)((0,Ee.Z)({},Ve),{},{children:je(Ge)}):Ve})}function st(be){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return be.filter(function(Ge){return Ge&&(0,Fe.Z)(Ge)==="object"}).reduce(function(Ge,ft,ge){var Ae=ft.fixed,ze=Ae===!0?"left":Ae,Ze="".concat(Ve,"-").concat(ge),_e=ft.children;return _e&&_e.length>0?[].concat((0,Te.Z)(Ge),(0,Te.Z)(st(_e,Ze).map(function(Re){return(0,Ee.Z)({fixed:ze},Re)}))):[].concat((0,Te.Z)(Ge),[(0,Ee.Z)((0,Ee.Z)({key:Ze},ft),{},{fixed:ze})])},[])}function at(be){return be.map(function(Ve){var Ge=Ve.fixed,ft=(0,fe.Z)(Ve,Ye),ge=Ge;return Ge==="left"?ge="right":Ge==="right"&&(ge="left"),(0,Ee.Z)({fixed:ge},ft)})}function rt(be,Ve){var Ge=be.prefixCls,ft=be.columns,ge=be.children,Ae=be.expandable,ze=be.expandedKeys,Ze=be.columnTitle,_e=be.getRowKey,Re=be.onTriggerExpand,Je=be.expandIcon,Rt=be.rowExpandable,ht=be.expandIconColumnIndex,mt=be.direction,St=be.expandRowByClick,xe=be.columnWidth,he=be.fixed,qe=be.scrollWidth,Tt=be.clientWidth,Mt=Pe.useMemo(function(){var bt=ft||He(ge)||[];return je(bt.slice())},[ft,ge]),Xe=Pe.useMemo(function(){if(Ae){var bt=Mt.slice();if(!bt.includes(oe.w)){var ce=ht||0;ce>=0&&(ce||he==="left"||!he)&&bt.splice(ce,0,oe.w),he==="right"&&bt.splice(Mt.length,0,oe.w)}var ie=bt.indexOf(oe.w);bt=bt.filter(function(te,ue){return te!==oe.w||ue===ie});var z=Mt[ie],ee;he?ee=he:ee=z?z.fixed:null;var ne=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},nt.v,{className:"".concat(Ge,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ze),"fixed",ee),"className","".concat(Ge,"-row-expand-icon-cell")),"width",xe),"render",function(ue,me,Se){var Dt=_e(me,Se),Ue=ze.has(Dt),$e=Rt?Rt(me):!0,ot=Je({prefixCls:Ge,expanded:Ue,expandable:$e,record:me,onExpand:Re});return St?Pe.createElement("span",{onClick:function(zt){return zt.stopPropagation()}},ot):ot});return bt.map(function(te){return te===oe.w?ne:te})}return Mt.filter(function(te){return te!==oe.w})},[Ae,Mt,_e,ze,Je,mt]),Ct=Pe.useMemo(function(){var bt=Xe;return Ve&&(bt=Ve(bt)),bt.length||(bt=[{render:function(){return null}}]),bt},[Ve,Xe,mt]),tt=Pe.useMemo(function(){return mt==="rtl"?at(st(Ct)):st(Ct)},[Ct,mt,qe]),Ht=Pe.useMemo(function(){for(var bt=-1,ce=tt.length-1;ce>=0;ce-=1){var ie=tt[ce].fixed;if(ie==="left"||ie===!0){bt=ce;break}}if(bt>=0)for(var z=0;z<=bt;z+=1){var ee=tt[z].fixed;if(ee!=="left"&&ee!==!0)return!0}var ne=tt.findIndex(function(me){var Se=me.fixed;return Se==="right"});if(ne>=0)for(var te=ne;te<tt.length;te+=1){var ue=tt[te].fixed;if(ue!=="right")return!0}return!1},[tt]),We=Ke(tt,qe,Tt),yt=(0,re.Z)(We,2),Qe=yt[0],Bt=yt[1];return[Ct,Qe,Bt,Ht]}var ke=rt},4030:function(bn,cn,se){"use strict";se.d(cn,{w2:function(){return re.w},vP:function(){return Br.v},RQ:function(){return re.R},ER:function(){return Dt},Q$:function(){return Vr},TN:function(){return xi}});var re=se(86351),Ne=se(11913),Te=se(6089),Fe=se(34280),Ee=se(13697),fe=se(59301),Oe=se(4676);function Ce(et){var Yt=fe.createContext(void 0),Zt=function(fn){var xn=fn.value,Nn=fn.children,Bn=fe.useRef(xn);Bn.current=xn;var An=fe.useState(function(){return{getValue:function(){return Bn.current},listeners:new Set}}),Ot=(0,Ne.Z)(An,1),un=Ot[0];return(0,Fe.Z)(function(){(0,Oe.unstable_batchedUpdates)(function(){un.listeners.forEach(function(At){At(xn)})})},[xn]),fe.createElement(Yt.Provider,{value:un},Nn)};return{Context:Yt,Provider:Zt,defaultValue:et}}function Pe(et,Yt){var Zt=(0,Te.Z)(typeof Yt=="function"?Yt:function(At){if(Yt===void 0)return At;if(!Array.isArray(Yt))return At[Yt];var gt={};return Yt.forEach(function(Wt){gt[Wt]=At[Wt]}),gt}),qt=fe.useContext(et==null?void 0:et.Context),fn=qt||{},xn=fn.listeners,Nn=fn.getValue,Bn=fe.useRef();Bn.current=Zt(qt?Nn():et==null?void 0:et.defaultValue);var An=fe.useState({}),Ot=(0,Ne.Z)(An,2),un=Ot[1];return(0,Fe.Z)(function(){if(!qt)return;function At(gt){var Wt=Zt(gt);(0,Ee.Z)(Bn.current,Wt,!0)||un({})}return xn.add(At),function(){xn.delete(At)}},[qt]),Bn.current}var oe=se(32855),nt=se(8654);function ye(){var et=fe.createContext(null);function Yt(){return fe.useContext(et)}function Zt(fn,xn){var Nn=(0,nt.Yr)(fn),Bn=function(Ot,un){var At=Nn?{ref:un}:{},gt=fe.useRef(0),Wt=fe.useRef(Ot),sn=Yt();return sn!==null?fe.createElement(fn,(0,oe.Z)({},Ot,At)):((!xn||xn(Wt.current,Ot))&&(gt.current+=1),Wt.current=Ot,fe.createElement(et.Provider,{value:gt.current},fe.createElement(fn,(0,oe.Z)({},Ot,At))))};return Nn?fe.forwardRef(Bn):Bn}function qt(fn,xn){var Nn=(0,nt.Yr)(fn),Bn=function(Ot,un){var At=Nn?{ref:un}:{};return Yt(),fe.createElement(fn,(0,oe.Z)({},Ot,At))};return Nn?fe.memo(fe.forwardRef(Bn),xn):fe.memo(Bn,xn)}return{makeImmutable:Zt,responseImmutable:qt,useImmutableMark:Yt}}var Ke=ye(),Ie=Ke.makeImmutable,Ye=Ke.responseImmutable,He=Ke.useImmutableMark,je=ye(),st=je.makeImmutable,at=je.responseImmutable,rt=je.useImmutableMark,ke=Ce(),be=ke;function Ve(et,Yt){var Zt=React.useRef(0);Zt.current+=1;var qt=React.useRef(et),fn=[];Object.keys(et||{}).map(function(Nn){var Bn;(et==null?void 0:et[Nn])!==((Bn=qt.current)===null||Bn===void 0?void 0:Bn[Nn])&&fn.push(Nn)}),qt.current=et;var xn=React.useRef([]);return fn.length&&(xn.current=fn),React.useDebugValue(Zt.current),React.useDebugValue(xn.current.join(", ")),Yt&&console.log("".concat(Yt,":"),Zt.current,xn.current),Zt.current}var Ge=null,ft=null,ge=se(34666),Ae=se(27247),ze=se(74430),Ze=se(92310),_e=se.n(Ze),Re=se(80547),Je=se(97938),Rt=se(48736),ht=fe.createContext({renderWithProps:!1}),mt=ht,St="RC_TABLE_KEY";function xe(et){return et==null?[]:Array.isArray(et)?et:[et]}function he(et){var Yt=[],Zt={};return et.forEach(function(qt){for(var fn=qt||{},xn=fn.key,Nn=fn.dataIndex,Bn=xn||xe(Nn).join("-")||St;Zt[Bn];)Bn="".concat(Bn,"_next");Zt[Bn]=!0,Yt.push(Bn)}),Yt}function qe(et){return et!=null}function Tt(et){return typeof et=="number"&&!Number.isNaN(et)}function Mt(et){return et&&(0,ge.Z)(et)==="object"&&!Array.isArray(et)&&!fe.isValidElement(et)}function Xe(et,Yt,Zt,qt,fn,xn){var Nn=fe.useContext(mt),Bn=rt(),An=(0,Re.Z)(function(){if(qe(qt))return[qt];var Ot=Yt==null||Yt===""?[]:Array.isArray(Yt)?Yt:[Yt],un=(0,Je.Z)(et,Ot),At=un,gt=void 0;if(fn){var Wt=fn(un,et,Zt);Mt(Wt)?(At=Wt.children,gt=Wt.props,Nn.renderWithProps=!0):At=Wt}return[At,gt]},[Bn,et,qt,Yt,fn,Zt],function(Ot,un){if(xn){var At=(0,Ne.Z)(Ot,2),gt=At[1],Wt=(0,Ne.Z)(un,2),sn=Wt[1];return xn(sn,gt)}return Nn.renderWithProps?!0:!(0,Ee.Z)(Ot,un,!0)});return An}function Ct(et,Yt,Zt,qt){var fn=et+Yt-1;return et<=qt&&fn>=Zt}function tt(et,Yt){return Pe(be,function(Zt){var qt=Ct(et,Yt||1,Zt.hoverStartRow,Zt.hoverEndRow);return[qt,Zt.onHover]})}var Ht=se(70425),We=function(Yt){var Zt=Yt.ellipsis,qt=Yt.rowType,fn=Yt.children,xn,Nn=Zt===!0?{showTitle:!0}:Zt;return Nn&&(Nn.showTitle||qt==="header")&&(typeof fn=="string"||typeof fn=="number"?xn=fn.toString():fe.isValidElement(fn)&&typeof fn.props.children=="string"&&(xn=fn.props.children)),xn};function yt(et){var Yt,Zt,qt,fn,xn,Nn,Bn,An,Ot=et.component,un=et.children,At=et.ellipsis,gt=et.scope,Wt=et.prefixCls,sn=et.className,le=et.align,De=et.record,Be=et.render,Me=et.dataIndex,Le=et.renderIndex,it=et.shouldCellUpdate,ut=et.index,wt=et.rowType,nn=et.colSpan,rn=et.rowSpan,Et=et.fixLeft,dn=et.fixRight,pn=et.firstFixLeft,hn=et.lastFixLeft,ln=et.firstFixRight,Vt=et.lastFixRight,Gt=et.appendNode,en=et.additionalProps,wn=en===void 0?{}:en,Cn=et.isSticky,vn="".concat(Wt,"-cell"),kn=Pe(be,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Fn=kn.supportSticky,Kn=kn.allColumnsFixedLeft,Dr=kn.rowHoverable,Ar=Xe(De,Me,Le,un,Be,it),Mr=(0,Ne.Z)(Ar,2),hr=Mr[0],vr=Mr[1],tr={},yr=typeof Et=="number"&&Fn,or=typeof dn=="number"&&Fn;yr&&(tr.position="sticky",tr.left=Et),or&&(tr.position="sticky",tr.right=dn);var pr=(Yt=(Zt=(qt=vr==null?void 0:vr.colSpan)!==null&&qt!==void 0?qt:wn.colSpan)!==null&&Zt!==void 0?Zt:nn)!==null&&Yt!==void 0?Yt:1,gr=(fn=(xn=(Nn=vr==null?void 0:vr.rowSpan)!==null&&Nn!==void 0?Nn:wn.rowSpan)!==null&&xn!==void 0?xn:rn)!==null&&fn!==void 0?fn:1,On=tt(ut,gr),Jn=(0,Ne.Z)(On,2),Gn=Jn[0],In=Jn[1],Tn=(0,Ht.zX)(function(Gr){var Kr;De&&In(ut,ut+gr-1),wn==null||(Kr=wn.onMouseEnter)===null||Kr===void 0||Kr.call(wn,Gr)}),nr=(0,Ht.zX)(function(Gr){var Kr;De&&In(-1,-1),wn==null||(Kr=wn.onMouseLeave)===null||Kr===void 0||Kr.call(wn,Gr)});if(pr===0||gr===0)return null;var xr=(Bn=wn.title)!==null&&Bn!==void 0?Bn:We({rowType:wt,ellipsis:At,children:hr}),Hr=_e()(vn,sn,(An={},(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)(An,"".concat(vn,"-fix-left"),yr&&Fn),"".concat(vn,"-fix-left-first"),pn&&Fn),"".concat(vn,"-fix-left-last"),hn&&Fn),"".concat(vn,"-fix-left-all"),hn&&Kn&&Fn),"".concat(vn,"-fix-right"),or&&Fn),"".concat(vn,"-fix-right-first"),ln&&Fn),"".concat(vn,"-fix-right-last"),Vt&&Fn),"".concat(vn,"-ellipsis"),At),"".concat(vn,"-with-append"),Gt),"".concat(vn,"-fix-sticky"),(yr||or)&&Cn&&Fn),(0,ze.Z)(An,"".concat(vn,"-row-hover"),!vr&&Gn)),wn.className,vr==null?void 0:vr.className),Ur={};le&&(Ur.textAlign=le);var sr=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},vr==null?void 0:vr.style),tr),Ur),wn.style),Qr=hr;return(0,ge.Z)(Qr)==="object"&&!Array.isArray(Qr)&&!fe.isValidElement(Qr)&&(Qr=null),At&&(hn||ln)&&(Qr=fe.createElement("span",{className:"".concat(vn,"-content")},Qr)),fe.createElement(Ot,(0,oe.Z)({},vr,wn,{className:Hr,style:sr,title:xr,scope:gt,onMouseEnter:Dr?Tn:void 0,onMouseLeave:Dr?nr:void 0,colSpan:pr!==1?pr:null,rowSpan:gr!==1?gr:null}),Gt,Qr)}var Qe=fe.memo(yt);function Bt(et,Yt,Zt,qt,fn){var xn=Zt[et]||{},Nn=Zt[Yt]||{},Bn,An;xn.fixed==="left"?Bn=qt.left[fn==="rtl"?Yt:et]:Nn.fixed==="right"&&(An=qt.right[fn==="rtl"?et:Yt]);var Ot=!1,un=!1,At=!1,gt=!1,Wt=Zt[Yt+1],sn=Zt[et-1],le=Wt&&!Wt.fixed||sn&&!sn.fixed||Zt.every(function(it){return it.fixed==="left"});if(fn==="rtl"){if(Bn!==void 0){var De=sn&&sn.fixed==="left";gt=!De&&le}else if(An!==void 0){var Be=Wt&&Wt.fixed==="right";At=!Be&&le}}else if(Bn!==void 0){var Me=Wt&&Wt.fixed==="left";Ot=!Me&&le}else if(An!==void 0){var Le=sn&&sn.fixed==="right";un=!Le&&le}return{fixLeft:Bn,fixRight:An,lastFixLeft:Ot,firstFixRight:un,lastFixRight:At,firstFixLeft:gt,isSticky:qt.isSticky}}var bt=fe.createContext({}),ce=bt;function ie(et){var Yt=et.className,Zt=et.index,qt=et.children,fn=et.colSpan,xn=fn===void 0?1:fn,Nn=et.rowSpan,Bn=et.align,An=Pe(be,["prefixCls","direction"]),Ot=An.prefixCls,un=An.direction,At=fe.useContext(ce),gt=At.scrollColumnIndex,Wt=At.stickyOffsets,sn=At.flattenColumns,le=Zt+xn-1,De=le+1===gt?xn+1:xn,Be=Bt(Zt,Zt+De-1,sn,Wt,un);return fe.createElement(Qe,(0,oe.Z)({className:Yt,index:Zt,component:"td",prefixCls:Ot,record:null,dataIndex:null,align:Bn,colSpan:De,rowSpan:Nn,render:function(){return qt}},Be))}var z=se(43079),ee=["children"];function ne(et){var Yt=et.children,Zt=(0,z.Z)(et,ee);return fe.createElement("tr",Zt,Yt)}function te(et){var Yt=et.children;return Yt}te.Row=ne,te.Cell=ie;var ue=te;function me(et){var Yt=et.children,Zt=et.stickyOffsets,qt=et.flattenColumns,fn=Pe(be,"prefixCls"),xn=qt.length-1,Nn=qt[xn],Bn=fe.useMemo(function(){return{stickyOffsets:Zt,flattenColumns:qt,scrollColumnIndex:Nn!=null&&Nn.scrollbar?xn:null}},[Nn,qt,xn,Zt]);return fe.createElement(ce.Provider,{value:Bn},fe.createElement("tfoot",{className:"".concat(fn,"-summary")},Yt))}var Se=at(me),Dt=ue,Ue=se(29301),$e=se(24514),ot=se(75152),vt=se(26112);function zt(et,Yt,Zt,qt,fn,xn,Nn){et.push({record:Yt,indent:Zt,index:Nn});var Bn=xn(Yt),An=fn==null?void 0:fn.has(Bn);if(Yt&&Array.isArray(Yt[qt])&&An)for(var Ot=0;Ot<Yt[qt].length;Ot+=1)zt(et,Yt[qt][Ot],Zt+1,qt,fn,xn,Ot)}function tn(et,Yt,Zt,qt){var fn=fe.useMemo(function(){if(Zt!=null&&Zt.size){for(var xn=[],Nn=0;Nn<(et==null?void 0:et.length);Nn+=1){var Bn=et[Nn];zt(xn,Bn,0,Yt,Zt,qt,Nn)}return xn}return et==null?void 0:et.map(function(An,Ot){return{record:An,indent:0,index:Ot}})},[et,Yt,Zt,qt]);return fn}function jt(et,Yt,Zt,qt){var fn=Pe(be,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),xn=fn.flattenColumns,Nn=fn.expandableType,Bn=fn.expandedKeys,An=fn.childrenColumnName,Ot=fn.onTriggerExpand,un=fn.rowExpandable,At=fn.onRow,gt=fn.expandRowByClick,Wt=fn.rowClassName,sn=Nn==="nest",le=Nn==="row"&&(!un||un(et)),De=le||sn,Be=Bn&&Bn.has(Yt),Me=An&&et&&et[An],Le=(0,Ht.zX)(Ot),it=At==null?void 0:At(et,Zt),ut=it==null?void 0:it.onClick,wt=function(dn){gt&&De&&Ot(et,dn);for(var pn=arguments.length,hn=new Array(pn>1?pn-1:0),ln=1;ln<pn;ln++)hn[ln-1]=arguments[ln];ut==null||ut.apply(void 0,[dn].concat(hn))},nn;typeof Wt=="string"?nn=Wt:typeof Wt=="function"&&(nn=Wt(et,Zt,qt));var rn=he(xn);return(0,Ae.Z)((0,Ae.Z)({},fn),{},{columnsKey:rn,nestExpandable:sn,expanded:Be,hasNestChildren:Me,record:et,onTriggerExpand:Le,rowSupportExpand:le,expandable:De,rowProps:(0,Ae.Z)((0,Ae.Z)({},it),{},{className:_e()(nn,it==null?void 0:it.className),onClick:wt})})}function on(et){var Yt=et.prefixCls,Zt=et.children,qt=et.component,fn=et.cellComponent,xn=et.className,Nn=et.expanded,Bn=et.colSpan,An=et.isEmpty,Ot=Pe(be,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),un=Ot.scrollbarSize,At=Ot.fixHeader,gt=Ot.fixColumn,Wt=Ot.componentWidth,sn=Ot.horizonScroll,le=Zt;return(An?sn&&Wt:gt)&&(le=fe.createElement("div",{style:{width:Wt-(At&&!An?un:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Yt,"-expanded-row-fixed")},le)),fe.createElement(qt,{className:xn,style:{display:Nn?null:"none"}},fe.createElement(Qe,{component:fn,prefixCls:Yt,colSpan:Bn},le))}var Jt=on;function Pt(et){var Yt=et.prefixCls,Zt=et.record,qt=et.onExpand,fn=et.expanded,xn=et.expandable,Nn="".concat(Yt,"-row-expand-icon");if(!xn)return fe.createElement("span",{className:_e()(Nn,"".concat(Yt,"-row-spaced"))});var Bn=function(Ot){qt(Zt,Ot),Ot.stopPropagation()};return fe.createElement("span",{className:_e()(Nn,(0,ze.Z)((0,ze.Z)({},"".concat(Yt,"-row-expanded"),fn),"".concat(Yt,"-row-collapsed"),!fn)),onClick:Bn})}function ct(et,Yt,Zt){var qt=[];function fn(xn){(xn||[]).forEach(function(Nn,Bn){qt.push(Yt(Nn,Bn)),fn(Nn[Zt])})}return fn(et),qt}function Ut(et,Yt,Zt,qt){return typeof et=="string"?et:typeof et=="function"?et(Yt,Zt,qt):""}function _t(et,Yt,Zt,qt,fn){var xn=et.record,Nn=et.prefixCls,Bn=et.columnsKey,An=et.fixedInfoList,Ot=et.expandIconColumnIndex,un=et.nestExpandable,At=et.indentSize,gt=et.expandIcon,Wt=et.expanded,sn=et.hasNestChildren,le=et.onTriggerExpand,De=Bn[Zt],Be=An[Zt],Me;Zt===(Ot||0)&&un&&(Me=fe.createElement(fe.Fragment,null,fe.createElement("span",{style:{paddingLeft:"".concat(At*qt,"px")},className:"".concat(Nn,"-row-indent indent-level-").concat(qt)}),gt({prefixCls:Nn,expanded:Wt,expandable:sn,record:xn,onExpand:le})));var Le;return Yt.onCell&&(Le=Yt.onCell(xn,fn)),{key:De,fixedInfo:Be,appendCellNode:Me,additionalCellProps:Le||{}}}function gn(et){var Yt=et.className,Zt=et.style,qt=et.record,fn=et.index,xn=et.renderIndex,Nn=et.rowKey,Bn=et.indent,An=Bn===void 0?0:Bn,Ot=et.rowComponent,un=et.cellComponent,At=et.scopeCellComponent,gt=jt(qt,Nn,fn,An),Wt=gt.prefixCls,sn=gt.flattenColumns,le=gt.expandedRowClassName,De=gt.expandedRowRender,Be=gt.rowProps,Me=gt.expanded,Le=gt.rowSupportExpand,it=fe.useRef(!1);it.current||(it.current=Me);var ut=Ut(le,qt,fn,An),wt=fe.createElement(Ot,(0,oe.Z)({},Be,{"data-row-key":Nn,className:_e()(Yt,"".concat(Wt,"-row"),"".concat(Wt,"-row-level-").concat(An),Be==null?void 0:Be.className,(0,ze.Z)({},ut,An>=1)),style:(0,Ae.Z)((0,Ae.Z)({},Zt),Be==null?void 0:Be.style)}),sn.map(function(Et,dn){var pn=Et.render,hn=Et.dataIndex,ln=Et.className,Vt=_t(gt,Et,dn,An,fn),Gt=Vt.key,en=Vt.fixedInfo,wn=Vt.appendCellNode,Cn=Vt.additionalCellProps;return fe.createElement(Qe,(0,oe.Z)({className:ln,ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:Et.rowScope?At:un,prefixCls:Wt,key:Gt,record:qt,index:fn,renderIndex:xn,dataIndex:hn,render:pn,shouldCellUpdate:Et.shouldCellUpdate},en,{appendNode:wn,additionalProps:Cn}))})),nn;if(Le&&(it.current||Me)){var rn=De(qt,fn,An+1,Me);nn=fe.createElement(Jt,{expanded:Me,className:_e()("".concat(Wt,"-expanded-row"),"".concat(Wt,"-expanded-row-level-").concat(An+1),ut),prefixCls:Wt,component:Ot,cellComponent:un,colSpan:sn.length,isEmpty:!1},rn)}return fe.createElement(fe.Fragment,null,wt,nn)}var Mn=at(gn);function jn(et){var Yt=et.columnKey,Zt=et.onColumnResize,qt=fe.useRef();return(0,Fe.Z)(function(){qt.current&&Zt(Yt,qt.current.offsetWidth)},[]),fe.createElement(Ue.Z,{data:Yt},fe.createElement("td",{ref:qt,style:{padding:0,border:0,height:0}},fe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var yn=se(29194);function Xn(et){var Yt=et.prefixCls,Zt=et.columnsKey,qt=et.onColumnResize,fn=fe.useRef(null);return fe.createElement("tr",{"aria-hidden":"true",className:"".concat(Yt,"-measure-row"),style:{height:0,fontSize:0},ref:fn},fe.createElement(Ue.Z.Collection,{onBatchResize:function(Nn){(0,yn.Z)(fn.current)&&Nn.forEach(function(Bn){var An=Bn.data,Ot=Bn.size;qt(An,Ot.offsetWidth)})}},Zt.map(function(xn){return fe.createElement(jn,{key:xn,columnKey:xn,onColumnResize:qt})})))}function Qn(et){var Yt=et.data,Zt=et.measureColumnWidth,qt=Pe(be,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),fn=qt.prefixCls,xn=qt.getComponent,Nn=qt.onColumnResize,Bn=qt.flattenColumns,An=qt.getRowKey,Ot=qt.expandedKeys,un=qt.childrenColumnName,At=qt.emptyNode,gt=tn(Yt,un,Ot,An),Wt=fe.useRef({renderWithProps:!1}),sn=xn(["body","wrapper"],"tbody"),le=xn(["body","row"],"tr"),De=xn(["body","cell"],"td"),Be=xn(["body","cell"],"th"),Me;Yt.length?Me=gt.map(function(it,ut){var wt=it.record,nn=it.indent,rn=it.index,Et=An(wt,ut);return fe.createElement(Mn,{key:Et,rowKey:Et,record:wt,index:ut,renderIndex:rn,rowComponent:le,cellComponent:De,scopeCellComponent:Be,indent:nn})}):Me=fe.createElement(Jt,{expanded:!0,className:"".concat(fn,"-placeholder"),prefixCls:fn,component:le,cellComponent:De,colSpan:Bn.length,isEmpty:!0},At);var Le=he(Bn);return fe.createElement(mt.Provider,{value:Wt.current},fe.createElement(sn,{className:"".concat(fn,"-tbody")},Zt&&fe.createElement(Xn,{prefixCls:fn,columnsKey:Le,onColumnResize:Nn}),Me))}var cr=at(Qn),Br=se(54451),ar=["columnType"];function Lr(et){for(var Yt=et.colWidths,Zt=et.columns,qt=et.columCount,fn=Pe(be,["tableLayout"]),xn=fn.tableLayout,Nn=[],Bn=qt||Zt.length,An=!1,Ot=Bn-1;Ot>=0;Ot-=1){var un=Yt[Ot],At=Zt&&Zt[Ot],gt=void 0,Wt=void 0;if(At&&(gt=At[Br.v],xn==="auto"&&(Wt=At.minWidth)),un||Wt||gt||An){var sn=gt||{},le=sn.columnType,De=(0,z.Z)(sn,ar);Nn.unshift(fe.createElement("col",(0,oe.Z)({key:Ot,style:{width:un,minWidth:Wt}},De))),An=!0}}return fe.createElement("colgroup",null,Nn)}var Er=Lr,Wn=se(3300),Ir=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Or(et,Yt){return(0,fe.useMemo)(function(){for(var Zt=[],qt=0;qt<Yt;qt+=1){var fn=et[qt];if(fn!==void 0)Zt[qt]=fn;else return null}return Zt},[et.join("_"),Yt])}var Ft=fe.forwardRef(function(et,Yt){var Zt=et.className,qt=et.noData,fn=et.columns,xn=et.flattenColumns,Nn=et.colWidths,Bn=et.columCount,An=et.stickyOffsets,Ot=et.direction,un=et.fixHeader,At=et.stickyTopOffset,gt=et.stickyBottomOffset,Wt=et.stickyClassName,sn=et.onScroll,le=et.maxContentScroll,De=et.children,Be=(0,z.Z)(et,Ir),Me=Pe(be,["prefixCls","scrollbarSize","isSticky","getComponent"]),Le=Me.prefixCls,it=Me.scrollbarSize,ut=Me.isSticky,wt=Me.getComponent,nn=wt(["header","table"],"table"),rn=ut&&!un?0:it,Et=fe.useRef(null),dn=fe.useCallback(function(Cn){(0,nt.mH)(Yt,Cn),(0,nt.mH)(Et,Cn)},[]);fe.useEffect(function(){var Cn;function vn(kn){var Fn=kn,Kn=Fn.currentTarget,Dr=Fn.deltaX;Dr&&(sn({currentTarget:Kn,scrollLeft:Kn.scrollLeft+Dr}),kn.preventDefault())}return(Cn=Et.current)===null||Cn===void 0||Cn.addEventListener("wheel",vn,{passive:!1}),function(){var kn;(kn=Et.current)===null||kn===void 0||kn.removeEventListener("wheel",vn)}},[]);var pn=fe.useMemo(function(){return xn.every(function(Cn){return Cn.width})},[xn]),hn=xn[xn.length-1],ln={fixed:hn?hn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Le,"-cell-scrollbar")}}},Vt=(0,fe.useMemo)(function(){return rn?[].concat((0,Wn.Z)(fn),[ln]):fn},[rn,fn]),Gt=(0,fe.useMemo)(function(){return rn?[].concat((0,Wn.Z)(xn),[ln]):xn},[rn,xn]),en=(0,fe.useMemo)(function(){var Cn=An.right,vn=An.left;return(0,Ae.Z)((0,Ae.Z)({},An),{},{left:Ot==="rtl"?[].concat((0,Wn.Z)(vn.map(function(kn){return kn+rn})),[0]):vn,right:Ot==="rtl"?Cn:[].concat((0,Wn.Z)(Cn.map(function(kn){return kn+rn})),[0]),isSticky:ut})},[rn,An,ut]),wn=Or(Nn,Bn);return fe.createElement("div",{style:(0,Ae.Z)({overflow:"hidden"},ut?{top:At,bottom:gt}:{}),ref:dn,className:_e()(Zt,(0,ze.Z)({},Wt,!!Wt))},fe.createElement(nn,{style:{tableLayout:"fixed",visibility:qt||wn?null:"hidden"}},(!qt||!le||pn)&&fe.createElement(Er,{colWidths:wn?[].concat((0,Wn.Z)(wn),[rn]):[],columCount:Bn+1,columns:Gt}),De((0,Ae.Z)((0,Ae.Z)({},Be),{},{stickyOffsets:en,columns:Vt,flattenColumns:Gt}))))}),Qt=fe.memo(Ft),It=function(Yt){var Zt=Yt.cells,qt=Yt.stickyOffsets,fn=Yt.flattenColumns,xn=Yt.rowComponent,Nn=Yt.cellComponent,Bn=Yt.onHeaderRow,An=Yt.index,Ot=Pe(be,["prefixCls","direction"]),un=Ot.prefixCls,At=Ot.direction,gt;Bn&&(gt=Bn(Zt.map(function(sn){return sn.column}),An));var Wt=he(Zt.map(function(sn){return sn.column}));return fe.createElement(xn,gt,Zt.map(function(sn,le){var De=sn.column,Be=Bt(sn.colStart,sn.colEnd,fn,qt,At),Me;return De&&De.onHeaderCell&&(Me=sn.column.onHeaderCell(De)),fe.createElement(Qe,(0,oe.Z)({},sn,{scope:De.title?sn.colSpan>1?"colgroup":"col":null,ellipsis:De.ellipsis,align:De.align,component:Nn,prefixCls:un,key:Wt[le]},Be,{additionalProps:Me,rowType:"header"}))}))},Nt=It;function kt(et){var Yt=[];function Zt(Nn,Bn){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Yt[An]=Yt[An]||[];var Ot=Bn,un=Nn.filter(Boolean).map(function(At){var gt={key:At.key,className:At.className||"",children:At.title,column:At,colStart:Ot},Wt=1,sn=At.children;return sn&&sn.length>0&&(Wt=Zt(sn,Ot,An+1).reduce(function(le,De){return le+De},0),gt.hasSubColumns=!0),"colSpan"in At&&(Wt=At.colSpan),"rowSpan"in At&&(gt.rowSpan=At.rowSpan),gt.colSpan=Wt,gt.colEnd=gt.colStart+Wt-1,Yt[An].push(gt),Ot+=Wt,Wt});return un}Zt(et,0);for(var qt=Yt.length,fn=function(Bn){Yt[Bn].forEach(function(An){!("rowSpan"in An)&&!An.hasSubColumns&&(An.rowSpan=qt-Bn)})},xn=0;xn<qt;xn+=1)fn(xn);return Yt}var mn=function(Yt){var Zt=Yt.stickyOffsets,qt=Yt.columns,fn=Yt.flattenColumns,xn=Yt.onHeaderRow,Nn=Pe(be,["prefixCls","getComponent"]),Bn=Nn.prefixCls,An=Nn.getComponent,Ot=fe.useMemo(function(){return kt(qt)},[qt]),un=An(["header","wrapper"],"thead"),At=An(["header","row"],"tr"),gt=An(["header","cell"],"th");return fe.createElement(un,{className:"".concat(Bn,"-thead")},Ot.map(function(Wt,sn){var le=fe.createElement(Nt,{key:sn,flattenColumns:fn,cells:Wt,stickyOffsets:Zt,rowComponent:At,cellComponent:gt,onHeaderRow:xn,index:sn});return le}))},_n=at(mn),Yn=se(97347);function Hn(et,Yt,Zt){var qt=(0,Br.g)(et),fn=qt.expandIcon,xn=qt.expandedRowKeys,Nn=qt.defaultExpandedRowKeys,Bn=qt.defaultExpandAllRows,An=qt.expandedRowRender,Ot=qt.onExpand,un=qt.onExpandedRowsChange,At=qt.childrenColumnName,gt=fn||Pt,Wt=At||"children",sn=fe.useMemo(function(){return An?"row":et.expandable&&et.internalHooks===re.R&&et.expandable.__PARENT_RENDER_ICON__||Yt.some(function(ut){return ut&&(0,ge.Z)(ut)==="object"&&ut[Wt]})?"nest":!1},[!!An,Yt]),le=fe.useState(function(){return Nn||(Bn?ct(Yt,Zt,Wt):[])}),De=(0,Ne.Z)(le,2),Be=De[0],Me=De[1],Le=fe.useMemo(function(){return new Set(xn||Be||[])},[xn,Be]),it=fe.useCallback(function(ut){var wt=Zt(ut,Yt.indexOf(ut)),nn,rn=Le.has(wt);rn?(Le.delete(wt),nn=(0,Wn.Z)(Le)):nn=[].concat((0,Wn.Z)(Le),[wt]),Me(nn),Ot&&Ot(!rn,ut),un&&un(nn)},[Zt,Le,Yt,Ot,un]);return[qt,sn,Le,gt,Wt,it]}function rr(et,Yt,Zt){var qt=et.map(function(fn,xn){return Bt(xn,xn,et,Yt,Zt)});return(0,Re.Z)(function(){return qt},[qt],function(fn,xn){return!(0,Ee.Z)(fn,xn)})}function fr(et){var Yt=(0,fe.useRef)(et),Zt=(0,fe.useState)({}),qt=(0,Ne.Z)(Zt,2),fn=qt[1],xn=(0,fe.useRef)(null),Nn=(0,fe.useRef)([]);function Bn(An){Nn.current.push(An);var Ot=Promise.resolve();xn.current=Ot,Ot.then(function(){if(xn.current===Ot){var un=Nn.current,At=Yt.current;Nn.current=[],un.forEach(function(gt){Yt.current=gt(Yt.current)}),xn.current=null,At!==Yt.current&&fn({})}})}return(0,fe.useEffect)(function(){return function(){xn.current=null}},[]),[Yt.current,Bn]}function dr(et){var Yt=(0,fe.useRef)(et||null),Zt=(0,fe.useRef)();function qt(){window.clearTimeout(Zt.current)}function fn(Nn){Yt.current=Nn,qt(),Zt.current=window.setTimeout(function(){Yt.current=null,Zt.current=void 0},100)}function xn(){return Yt.current}return(0,fe.useEffect)(function(){return qt},[]),[fn,xn]}function Cr(){var et=fe.useState(-1),Yt=(0,Ne.Z)(et,2),Zt=Yt[0],qt=Yt[1],fn=fe.useState(-1),xn=(0,Ne.Z)(fn,2),Nn=xn[0],Bn=xn[1],An=fe.useCallback(function(Ot,un){qt(Ot),Bn(un)},[]);return[Zt,Nn,An]}var Tr=se(47273),Ln=(0,Tr.Z)()?window:null;function $t(et,Yt){var Zt=(0,ge.Z)(et)==="object"?et:{},qt=Zt.offsetHeader,fn=qt===void 0?0:qt,xn=Zt.offsetSummary,Nn=xn===void 0?0:xn,Bn=Zt.offsetScroll,An=Bn===void 0?0:Bn,Ot=Zt.getContainer,un=Ot===void 0?function(){return Ln}:Ot,At=un()||Ln,gt=!!et;return fe.useMemo(function(){return{isSticky:gt,stickyClassName:gt?"".concat(Yt,"-sticky-holder"):"",offsetHeader:fn,offsetSummary:Nn,offsetScroll:An,container:At}},[gt,An,fn,Nn,Yt,At])}function $n(et,Yt,Zt){var qt=(0,fe.useMemo)(function(){var fn=Yt.length,xn=function(Ot,un,At){for(var gt=[],Wt=0,sn=Ot;sn!==un;sn+=At)gt.push(Wt),Yt[sn].fixed&&(Wt+=et[sn]||0);return gt},Nn=xn(0,fn,1),Bn=xn(fn-1,-1,-1).reverse();return Zt==="rtl"?{left:Bn,right:Nn}:{left:Nn,right:Bn}},[et,Yt,Zt]);return qt}var Zr=$n;function Rr(et){var Yt=et.className,Zt=et.children;return fe.createElement("div",{className:Yt},Zt)}var dt=Rr,xt=se(8224),Rn=se(16089),En=se(76846);function Lt(et){var Yt=(0,En.bn)(et),Zt=Yt.getBoundingClientRect(),qt=document.documentElement;return{left:Zt.left+(window.pageXOffset||qt.scrollLeft)-(qt.clientLeft||document.body.clientLeft||0),top:Zt.top+(window.pageYOffset||qt.scrollTop)-(qt.clientTop||document.body.clientTop||0)}}var Sn=function(Yt,Zt){var qt,fn,xn=Yt.scrollBodyRef,Nn=Yt.onScroll,Bn=Yt.offsetScroll,An=Yt.container,Ot=Yt.direction,un=Pe(be,"prefixCls"),At=((qt=xn.current)===null||qt===void 0?void 0:qt.scrollWidth)||0,gt=((fn=xn.current)===null||fn===void 0?void 0:fn.clientWidth)||0,Wt=At&>*(gt/At),sn=fe.useRef(),le=fr({scrollLeft:0,isHiddenScrollBar:!0}),De=(0,Ne.Z)(le,2),Be=De[0],Me=De[1],Le=fe.useRef({delta:0,x:0}),it=fe.useState(!1),ut=(0,Ne.Z)(it,2),wt=ut[0],nn=ut[1],rn=fe.useRef(null);fe.useEffect(function(){return function(){Rn.Z.cancel(rn.current)}},[]);var Et=function(){nn(!1)},dn=function(Gt){Gt.persist(),Le.current.delta=Gt.pageX-Be.scrollLeft,Le.current.x=0,nn(!0),Gt.preventDefault()},pn=function(Gt){var en,wn=Gt||((en=window)===null||en===void 0?void 0:en.event),Cn=wn.buttons;if(!wt||Cn===0){wt&&nn(!1);return}var vn=Le.current.x+Gt.pageX-Le.current.x-Le.current.delta,kn=Ot==="rtl";vn=Math.max(kn?Wt-gt:0,Math.min(kn?0:gt-Wt,vn));var Fn=!kn||Math.abs(vn)+Math.abs(Wt)<gt;Fn&&(Nn({scrollLeft:vn/gt*(At+2)}),Le.current.x=Gt.pageX)},hn=function(){Rn.Z.cancel(rn.current),rn.current=(0,Rn.Z)(function(){if(xn.current){var Gt=Lt(xn.current).top,en=Gt+xn.current.offsetHeight,wn=An===window?document.documentElement.scrollTop+window.innerHeight:Lt(An).top+An.clientHeight;en-(0,ot.Z)()<=wn||Gt>=wn-Bn?Me(function(Cn){return(0,Ae.Z)((0,Ae.Z)({},Cn),{},{isHiddenScrollBar:!0})}):Me(function(Cn){return(0,Ae.Z)((0,Ae.Z)({},Cn),{},{isHiddenScrollBar:!1})})}})},ln=function(Gt){Me(function(en){return(0,Ae.Z)((0,Ae.Z)({},en),{},{scrollLeft:Gt/At*gt||0})})};return fe.useImperativeHandle(Zt,function(){return{setScrollLeft:ln,checkScrollBarVisible:hn}}),fe.useEffect(function(){var Vt=(0,xt.Z)(document.body,"mouseup",Et,!1),Gt=(0,xt.Z)(document.body,"mousemove",pn,!1);return hn(),function(){Vt.remove(),Gt.remove()}},[Wt,wt]),fe.useEffect(function(){if(xn.current){for(var Vt=[],Gt=(0,En.bn)(xn.current);Gt;)Vt.push(Gt),Gt=Gt.parentElement;return Vt.forEach(function(en){return en.addEventListener("scroll",hn,!1)}),window.addEventListener("resize",hn,!1),window.addEventListener("scroll",hn,!1),An.addEventListener("scroll",hn,!1),function(){Vt.forEach(function(en){return en.removeEventListener("scroll",hn)}),window.removeEventListener("resize",hn),window.removeEventListener("scroll",hn),An.removeEventListener("scroll",hn)}}},[An]),fe.useEffect(function(){Be.isHiddenScrollBar||Me(function(Vt){var Gt=xn.current;return Gt?(0,Ae.Z)((0,Ae.Z)({},Vt),{},{scrollLeft:Gt.scrollLeft/Gt.scrollWidth*Gt.clientWidth}):Vt})},[Be.isHiddenScrollBar]),At<=gt||!Wt||Be.isHiddenScrollBar?null:fe.createElement("div",{style:{height:(0,ot.Z)(),width:gt,bottom:Bn},className:"".concat(un,"-sticky-scroll")},fe.createElement("div",{onMouseDown:dn,ref:sn,className:_e()("".concat(un,"-sticky-scroll-bar"),(0,ze.Z)({},"".concat(un,"-sticky-scroll-bar-active"),wt)),style:{width:"".concat(Wt,"px"),transform:"translate3d(".concat(Be.scrollLeft,"px, 0, 0)")}}))},Zn=fe.forwardRef(Sn);function zn(et){return null}var ir=zn;function Kt(et){return null}var er=Kt,Dn="rc-table",Wr=[],qn={};function Pr(){return"No Data"}function Nr(et,Yt){var Zt=(0,Ae.Z)({rowKey:"key",prefixCls:Dn,emptyText:Pr},et),qt=Zt.prefixCls,fn=Zt.className,xn=Zt.rowClassName,Nn=Zt.style,Bn=Zt.data,An=Zt.rowKey,Ot=Zt.scroll,un=Zt.tableLayout,At=Zt.direction,gt=Zt.title,Wt=Zt.footer,sn=Zt.summary,le=Zt.caption,De=Zt.id,Be=Zt.showHeader,Me=Zt.components,Le=Zt.emptyText,it=Zt.onRow,ut=Zt.onHeaderRow,wt=Zt.onScroll,nn=Zt.internalHooks,rn=Zt.transformColumns,Et=Zt.internalRefs,dn=Zt.tailor,pn=Zt.getContainerWidth,hn=Zt.sticky,ln=Zt.rowHoverable,Vt=ln===void 0?!0:ln,Gt=Bn||Wr,en=!!Gt.length,wn=nn===re.R,Cn=fe.useCallback(function(pi,mi){return(0,Je.Z)(Me,pi)||mi},[Me]),vn=fe.useMemo(function(){return typeof An=="function"?An:function(pi){var mi=pi&&pi[An];return mi}},[An]),kn=Cn(["body"]),Fn=Cr(),Kn=(0,Ne.Z)(Fn,3),Dr=Kn[0],Ar=Kn[1],Mr=Kn[2],hr=Hn(Zt,Gt,vn),vr=(0,Ne.Z)(hr,6),tr=vr[0],yr=vr[1],or=vr[2],pr=vr[3],gr=vr[4],On=vr[5],Jn=Ot==null?void 0:Ot.x,Gn=fe.useState(0),In=(0,Ne.Z)(Gn,2),Tn=In[0],nr=In[1],xr=(0,Yn.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Zt),tr),{},{expandable:!!tr.expandedRowRender,columnTitle:tr.columnTitle,expandedKeys:or,getRowKey:vn,onTriggerExpand:On,expandIcon:pr,expandIconColumnIndex:tr.expandIconColumnIndex,direction:At,scrollWidth:wn&&dn&&typeof Jn=="number"?Jn:null,clientWidth:Tn}),wn?rn:null),Hr=(0,Ne.Z)(xr,4),Ur=Hr[0],sr=Hr[1],Qr=Hr[2],Gr=Hr[3],Kr=Qr!=null?Qr:Jn,ni=fe.useMemo(function(){return{columns:Ur,flattenColumns:sr}},[Ur,sr]),ti=fe.useRef(),hi=fe.useRef(),Jr=fe.useRef(),Zi=fe.useRef();fe.useImperativeHandle(Yt,function(){return{nativeElement:ti.current,scrollTo:function(mi){var oa;if(Jr.current instanceof HTMLElement){var ha=mi.index,da=mi.top,Ya=mi.key;if(Tt(da)){var za;(za=Jr.current)===null||za===void 0||za.scrollTo({top:da})}else{var di,qr=Ya!=null?Ya:vn(Gt[ha]);(di=Jr.current.querySelector('[data-row-key="'.concat(qr,'"]')))===null||di===void 0||di.scrollIntoView()}}else(oa=Jr.current)!==null&&oa!==void 0&&oa.scrollTo&&Jr.current.scrollTo(mi)}}});var ii=fe.useRef(),zi=fe.useState(!1),ui=(0,Ne.Z)(zi,2),Ai=ui[0],Ki=ui[1],ki=fe.useState(!1),yi=(0,Ne.Z)(ki,2),Xi=yi[0],Ui=yi[1],_i=fe.useState(new Map),bi=(0,Ne.Z)(_i,2),ra=bi[0],Ni=bi[1],Si=he(sr),Bi=Si.map(function(pi){return ra.get(pi)}),qi=fe.useMemo(function(){return Bi},[Bi.join("_")]),ri=Zr(qi,sr,At),$i=Ot&&qe(Ot.y),Fr=Ot&&qe(Kr)||!!tr.fixed,Vn=Fr&&sr.some(function(pi){var mi=pi.fixed;return mi}),br=fe.useRef(),lr=$t(hn,qt),mr=lr.isSticky,vi=lr.offsetHeader,Ci=lr.offsetSummary,Yi=lr.offsetScroll,ia=lr.stickyClassName,aa=lr.container,Gi=fe.useMemo(function(){return sn==null?void 0:sn(Gt)},[sn,Gt]),Qi=($i||mr)&&fe.isValidElement(Gi)&&Gi.type===ue&&Gi.props.fixed,la,ta,La;$i&&(ta={overflowY:en?"scroll":"auto",maxHeight:Ot.y}),Fr&&(la={overflowX:"auto"},$i||(ta={overflowY:"hidden"}),La={width:Kr===!0?"auto":Kr,minWidth:"100%"});var Qa=fe.useCallback(function(pi,mi){Ni(function(oa){if(oa.get(pi)!==mi){var ha=new Map(oa);return ha.set(pi,mi),ha}return oa})},[]),Na=dr(null),Fa=(0,Ne.Z)(Na,2),ka=Fa[0],ua=Fa[1];function Ca(pi,mi){mi&&(typeof mi=="function"?mi(pi):mi.scrollLeft!==pi&&(mi.scrollLeft=pi,mi.scrollLeft!==pi&&setTimeout(function(){mi.scrollLeft=pi},0)))}var xa=(0,Te.Z)(function(pi){var mi=pi.currentTarget,oa=pi.scrollLeft,ha=At==="rtl",da=typeof oa=="number"?oa:mi.scrollLeft,Ya=mi||qn;if(!ua()||ua()===Ya){var za;ka(Ya),Ca(da,hi.current),Ca(da,Jr.current),Ca(da,ii.current),Ca(da,(za=br.current)===null||za===void 0?void 0:za.setScrollLeft)}var di=mi||hi.current;if(di){var qr=wn&&dn&&typeof Kr=="number"?Kr:di.scrollWidth,sa=di.clientWidth;if(qr===sa){Ki(!1),Ui(!1);return}ha?(Ki(-da<qr-sa),Ui(-da>0)):(Ki(da>0),Ui(da<qr-sa))}}),ao=(0,Te.Z)(function(pi){xa(pi),wt==null||wt(pi)}),bo=function(){if(Fr&&Jr.current){var mi;xa({currentTarget:(0,En.bn)(Jr.current),scrollLeft:(mi=Jr.current)===null||mi===void 0?void 0:mi.scrollLeft})}else Ki(!1),Ui(!1)},vo=function(mi){var oa,ha=mi.width;(oa=br.current)===null||oa===void 0||oa.checkScrollBarVisible();var da=ti.current?ti.current.offsetWidth:ha;wn&&pn&&ti.current&&(da=pn(ti.current,da)||da),da!==Tn&&(bo(),nr(da))},Va=fe.useRef(!1);fe.useEffect(function(){Va.current&&bo()},[Fr,Bn,Ur.length]),fe.useEffect(function(){Va.current=!0},[]);var wo=fe.useState(0),oo=(0,Ne.Z)(wo,2),wa=oo[0],lo=oo[1],Ma=fe.useState(!0),po=(0,Ne.Z)(Ma,2),so=po[0],mo=po[1];(0,Fe.Z)(function(){(!dn||!wn)&&(Jr.current instanceof Element?lo((0,ot.o)(Jr.current).width):lo((0,ot.o)(Zi.current).width)),mo((0,$e.G)("position","sticky"))},[]),fe.useEffect(function(){wn&&Et&&(Et.body.current=Jr.current)});var Ha=fe.useCallback(function(pi){return fe.createElement(fe.Fragment,null,fe.createElement(_n,pi),Qi==="top"&&fe.createElement(Se,pi,Gi))},[Qi,Gi]),uo=fe.useCallback(function(pi){return fe.createElement(Se,pi,Gi)},[Gi]),eo=Cn(["table"],"table"),Ea=fe.useMemo(function(){return un||(Vn?Kr==="max-content"?"auto":"fixed":$i||mr||sr.some(function(pi){var mi=pi.ellipsis;return mi})?"fixed":"auto")},[$i,Vn,sr,un,mr]),Ja,_a={colWidths:qi,columCount:sr.length,stickyOffsets:ri,onHeaderRow:ut,fixHeader:$i,scroll:Ot},co=fe.useMemo(function(){return en?null:typeof Le=="function"?Le():Le},[en,Le]),to=fe.createElement(cr,{data:Gt,measureColumnWidth:$i||Fr||mr}),fo=fe.createElement(Er,{colWidths:sr.map(function(pi){var mi=pi.width;return mi}),columns:sr}),Ia=le!=null?fe.createElement("caption",{className:"".concat(qt,"-caption")},le):void 0,no=(0,vt.Z)(Zt,{data:!0}),Eo=(0,vt.Z)(Zt,{aria:!0});if($i||mr){var qa;typeof kn=="function"?(qa=kn(Gt,{scrollbarSize:wa,ref:Jr,onScroll:xa}),_a.colWidths=sr.map(function(pi,mi){var oa=pi.width,ha=mi===sr.length-1?oa-wa:oa;return typeof ha=="number"&&!Number.isNaN(ha)?ha:0})):qa=fe.createElement("div",{style:(0,Ae.Z)((0,Ae.Z)({},la),ta),onScroll:ao,ref:Jr,className:_e()("".concat(qt,"-body"))},fe.createElement(eo,(0,oe.Z)({style:(0,Ae.Z)((0,Ae.Z)({},La),{},{tableLayout:Ea})},Eo),Ia,fo,to,!Qi&&Gi&&fe.createElement(Se,{stickyOffsets:ri,flattenColumns:sr},Gi)));var go=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({noData:!Gt.length,maxContentScroll:Fr&&Kr==="max-content"},_a),ni),{},{direction:At,stickyClassName:ia,onScroll:xa});Ja=fe.createElement(fe.Fragment,null,Be!==!1&&fe.createElement(Qt,(0,oe.Z)({},go,{stickyTopOffset:vi,className:"".concat(qt,"-header"),ref:hi}),Ha),qa,Qi&&Qi!=="top"&&fe.createElement(Qt,(0,oe.Z)({},go,{stickyBottomOffset:Ci,className:"".concat(qt,"-summary"),ref:ii}),uo),mr&&Jr.current&&Jr.current instanceof Element&&fe.createElement(Zn,{ref:br,offsetScroll:Yi,scrollBodyRef:Jr,onScroll:xa,container:aa,direction:At}))}else Ja=fe.createElement("div",{style:(0,Ae.Z)((0,Ae.Z)({},la),ta),className:_e()("".concat(qt,"-content")),onScroll:xa,ref:Jr},fe.createElement(eo,(0,oe.Z)({style:(0,Ae.Z)((0,Ae.Z)({},La),{},{tableLayout:Ea})},Eo),Ia,fo,Be!==!1&&fe.createElement(_n,(0,oe.Z)({},_a,ni)),to,Gi&&fe.createElement(Se,{stickyOffsets:ri,flattenColumns:sr},Gi)));var Ua=fe.createElement("div",(0,oe.Z)({className:_e()(qt,fn,(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},"".concat(qt,"-rtl"),At==="rtl"),"".concat(qt,"-ping-left"),Ai),"".concat(qt,"-ping-right"),Xi),"".concat(qt,"-layout-fixed"),un==="fixed"),"".concat(qt,"-fixed-header"),$i),"".concat(qt,"-fixed-column"),Vn),"".concat(qt,"-fixed-column-gapped"),Vn&&Gr),"".concat(qt,"-scroll-horizontal"),Fr),"".concat(qt,"-has-fix-left"),sr[0]&&sr[0].fixed),"".concat(qt,"-has-fix-right"),sr[sr.length-1]&&sr[sr.length-1].fixed==="right")),style:Nn,id:De,ref:ti},no),gt&&fe.createElement(dt,{className:"".concat(qt,"-title")},gt(Gt)),fe.createElement("div",{ref:Zi,className:"".concat(qt,"-container")},Ja),Wt&&fe.createElement(dt,{className:"".concat(qt,"-footer")},Wt(Gt)));Fr&&(Ua=fe.createElement(Ue.Z,{onResize:vo},Ua));var yo=rr(sr,ri,At),ja=fe.useMemo(function(){return{scrollX:Kr,prefixCls:qt,getComponent:Cn,scrollbarSize:wa,direction:At,fixedInfoList:yo,isSticky:mr,supportSticky:so,componentWidth:Tn,fixHeader:$i,fixColumn:Vn,horizonScroll:Fr,tableLayout:Ea,rowClassName:xn,expandedRowClassName:tr.expandedRowClassName,expandIcon:pr,expandableType:yr,expandRowByClick:tr.expandRowByClick,expandedRowRender:tr.expandedRowRender,onTriggerExpand:On,expandIconColumnIndex:tr.expandIconColumnIndex,indentSize:tr.indentSize,allColumnsFixedLeft:sr.every(function(pi){return pi.fixed==="left"}),emptyNode:co,columns:Ur,flattenColumns:sr,onColumnResize:Qa,hoverStartRow:Dr,hoverEndRow:Ar,onHover:Mr,rowExpandable:tr.rowExpandable,onRow:it,getRowKey:vn,expandedKeys:or,childrenColumnName:gr,rowHoverable:Vt}},[Kr,qt,Cn,wa,At,yo,mr,so,Tn,$i,Vn,Fr,Ea,xn,tr.expandedRowClassName,pr,yr,tr.expandRowByClick,tr.expandedRowRender,On,tr.expandIconColumnIndex,tr.indentSize,co,Ur,sr,Qa,Dr,Ar,Mr,tr.rowExpandable,it,vn,or,gr,Vt]);return fe.createElement(be.Provider,{value:ja},Ua)}var jr=fe.forwardRef(Nr);function Vr(et){return st(jr,et)}var li=Vr();li.EXPAND_COLUMN=re.w,li.INTERNAL_HOOKS=re.R,li.Column=ir,li.ColumnGroup=er,li.Summary=Dt;var Di=li,fi=se(6790),Li=Ce(null),ei=Ce(null);function Mi(et,Yt,Zt){var qt=Yt||1;return Zt[et+qt]-(Zt[et]||0)}function Wi(et){var Yt=et.rowInfo,Zt=et.column,qt=et.colIndex,fn=et.indent,xn=et.index,Nn=et.component,Bn=et.renderIndex,An=et.record,Ot=et.style,un=et.className,At=et.inverse,gt=et.getHeight,Wt=Zt.render,sn=Zt.dataIndex,le=Zt.className,De=Zt.width,Be=Pe(ei,["columnsOffset"]),Me=Be.columnsOffset,Le=_t(Yt,Zt,qt,fn,xn),it=Le.key,ut=Le.fixedInfo,wt=Le.appendCellNode,nn=Le.additionalCellProps,rn=nn.style,Et=nn.colSpan,dn=Et===void 0?1:Et,pn=nn.rowSpan,hn=pn===void 0?1:pn,ln=qt-1,Vt=Mi(ln,dn,Me),Gt=dn>1?De-Vt:0,en=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},rn),Ot),{},{flex:"0 0 ".concat(Vt,"px"),width:"".concat(Vt,"px"),marginRight:Gt,pointerEvents:"auto"}),wn=fe.useMemo(function(){return At?hn<=1:dn===0||hn===0||hn>1},[hn,dn,At]);wn?en.visibility="hidden":At&&(en.height=gt==null?void 0:gt(hn));var Cn=wn?function(){return null}:Wt,vn={};return(hn===0||dn===0)&&(vn.rowSpan=1,vn.colSpan=1),fe.createElement(Qe,(0,oe.Z)({className:_e()(le,un),ellipsis:Zt.ellipsis,align:Zt.align,scope:Zt.rowScope,component:Nn,prefixCls:Yt.prefixCls,key:it,record:An,index:xn,renderIndex:Bn,dataIndex:sn,render:Cn,shouldCellUpdate:Zt.shouldCellUpdate},ut,{appendNode:wt,additionalProps:(0,Ae.Z)((0,Ae.Z)({},nn),{},{style:en},vn)}))}var Fi=Wi,Ri=["data","index","className","rowKey","style","extra","getHeight"],Hi=fe.forwardRef(function(et,Yt){var Zt=et.data,qt=et.index,fn=et.className,xn=et.rowKey,Nn=et.style,Bn=et.extra,An=et.getHeight,Ot=(0,z.Z)(et,Ri),un=Zt.record,At=Zt.indent,gt=Zt.index,Wt=Pe(be,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),sn=Wt.scrollX,le=Wt.flattenColumns,De=Wt.prefixCls,Be=Wt.fixColumn,Me=Wt.componentWidth,Le=Pe(Li,["getComponent"]),it=Le.getComponent,ut=jt(un,xn,qt,At),wt=it(["body","row"],"div"),nn=it(["body","cell"],"div"),rn=ut.rowSupportExpand,Et=ut.expanded,dn=ut.rowProps,pn=ut.expandedRowRender,hn=ut.expandedRowClassName,ln;if(rn&&Et){var Vt=pn(un,qt,At+1,Et),Gt=Ut(hn,un,qt,At),en={};Be&&(en={style:(0,ze.Z)({},"--virtual-width","".concat(Me,"px"))});var wn="".concat(De,"-expanded-row-cell");ln=fe.createElement(wt,{className:_e()("".concat(De,"-expanded-row"),"".concat(De,"-expanded-row-level-").concat(At+1),Gt)},fe.createElement(Qe,{component:nn,prefixCls:De,className:_e()(wn,(0,ze.Z)({},"".concat(wn,"-fixed"),Be)),additionalProps:en},Vt))}var Cn=(0,Ae.Z)((0,Ae.Z)({},Nn),{},{width:sn});Bn&&(Cn.position="absolute",Cn.pointerEvents="none");var vn=fe.createElement(wt,(0,oe.Z)({},dn,Ot,{"data-row-key":xn,ref:rn?null:Yt,className:_e()(fn,"".concat(De,"-row"),dn==null?void 0:dn.className,(0,ze.Z)({},"".concat(De,"-row-extra"),Bn)),style:(0,Ae.Z)((0,Ae.Z)({},Cn),dn==null?void 0:dn.style)}),le.map(function(kn,Fn){return fe.createElement(Fi,{key:Fn,component:nn,rowInfo:ut,column:kn,colIndex:Fn,indent:At,index:qt,renderIndex:gt,record:un,inverse:Bn,getHeight:An})}));return rn?fe.createElement("div",{ref:Yt},vn,ln):vn}),Ti=at(Hi),ci=Ti,ji=fe.forwardRef(function(et,Yt){var Zt=et.data,qt=et.onScroll,fn=Pe(be,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),xn=fn.flattenColumns,Nn=fn.onColumnResize,Bn=fn.getRowKey,An=fn.expandedKeys,Ot=fn.prefixCls,un=fn.childrenColumnName,At=fn.scrollX,gt=fn.direction,Wt=Pe(Li),sn=Wt.sticky,le=Wt.scrollY,De=Wt.listItemHeight,Be=Wt.getComponent,Me=Wt.onScroll,Le=fe.useRef(),it=tn(Zt,un,An,Bn),ut=fe.useMemo(function(){var ln=0;return xn.map(function(Vt){var Gt=Vt.width,en=Vt.key;return ln+=Gt,[en,Gt,ln]})},[xn]),wt=fe.useMemo(function(){return ut.map(function(ln){return ln[2]})},[ut]);fe.useEffect(function(){ut.forEach(function(ln){var Vt=(0,Ne.Z)(ln,2),Gt=Vt[0],en=Vt[1];Nn(Gt,en)})},[ut]),fe.useImperativeHandle(Yt,function(){var ln,Vt={scrollTo:function(en){var wn;(wn=Le.current)===null||wn===void 0||wn.scrollTo(en)},nativeElement:(ln=Le.current)===null||ln===void 0?void 0:ln.nativeElement};return Object.defineProperty(Vt,"scrollLeft",{get:function(){var en;return((en=Le.current)===null||en===void 0?void 0:en.getScrollInfo().x)||0},set:function(en){var wn;(wn=Le.current)===null||wn===void 0||wn.scrollTo({left:en})}}),Vt});var nn=function(Vt,Gt){var en,wn=(en=it[Gt])===null||en===void 0?void 0:en.record,Cn=Vt.onCell;if(Cn){var vn,kn=Cn(wn,Gt);return(vn=kn==null?void 0:kn.rowSpan)!==null&&vn!==void 0?vn:1}return 1},rn=function(Vt){var Gt=Vt.start,en=Vt.end,wn=Vt.getSize,Cn=Vt.offsetY;if(en<0)return null;for(var vn=xn.filter(function(pr){return nn(pr,Gt)===0}),kn=Gt,Fn=function(gr){if(vn=vn.filter(function(On){return nn(On,gr)===0}),!vn.length)return kn=gr,1},Kn=Gt;Kn>=0&&!Fn(Kn);Kn-=1);for(var Dr=xn.filter(function(pr){return nn(pr,en)!==1}),Ar=en,Mr=function(gr){if(Dr=Dr.filter(function(On){return nn(On,gr)!==1}),!Dr.length)return Ar=Math.max(gr-1,en),1},hr=en;hr<it.length&&!Mr(hr);hr+=1);for(var vr=[],tr=function(gr){var On=it[gr];if(!On)return 1;xn.some(function(Jn){return nn(Jn,gr)>1})&&vr.push(gr)},yr=kn;yr<=Ar;yr+=1)tr(yr);var or=vr.map(function(pr){var gr=it[pr],On=Bn(gr.record,pr),Jn=function(Tn){var nr=pr+Tn-1,xr=Bn(it[nr].record,nr),Hr=wn(On,xr);return Hr.bottom-Hr.top},Gn=wn(On);return fe.createElement(ci,{key:pr,data:gr,rowKey:On,index:pr,style:{top:-Cn+Gn.top},extra:!0,getHeight:Jn})});return or},Et=fe.useMemo(function(){return{columnsOffset:wt}},[wt]),dn="".concat(Ot,"-tbody"),pn=Be(["body","wrapper"]),hn={};return sn&&(hn.position="sticky",hn.bottom=0,(0,ge.Z)(sn)==="object"&&sn.offsetScroll&&(hn.bottom=sn.offsetScroll)),fe.createElement(ei.Provider,{value:Et},fe.createElement(fi.Z,{fullHeight:!1,ref:Le,prefixCls:"".concat(dn,"-virtual"),styles:{horizontalScrollBar:hn},className:dn,height:le,itemHeight:De||24,data:it,itemKey:function(Vt){return Bn(Vt.record)},component:pn,scrollWidth:At,direction:gt,onVirtualScroll:function(Vt){var Gt,en=Vt.x;qt({currentTarget:(Gt=Le.current)===null||Gt===void 0?void 0:Gt.nativeElement,scrollLeft:en})},onScroll:Me,extraRender:rn},function(ln,Vt,Gt){var en=Bn(ln.record,Vt);return fe.createElement(ci,{data:ln,rowKey:en,index:Vt,style:Gt.style})}))}),Oi=at(ji),wr=Oi,Yr=function(Yt,Zt){var qt=Zt.ref,fn=Zt.onScroll;return fe.createElement(wr,{ref:qt,data:Yt,onScroll:fn})};function si(et,Yt){var Zt=et.data,qt=et.columns,fn=et.scroll,xn=et.sticky,Nn=et.prefixCls,Bn=Nn===void 0?Dn:Nn,An=et.className,Ot=et.listItemHeight,un=et.components,At=et.onScroll,gt=fn||{},Wt=gt.x,sn=gt.y;typeof Wt!="number"&&(Wt=1),typeof sn!="number"&&(sn=500);var le=(0,Ht.zX)(function(Me,Le){return(0,Je.Z)(un,Me)||Le}),De=(0,Ht.zX)(At),Be=fe.useMemo(function(){return{sticky:xn,scrollY:sn,listItemHeight:Ot,getComponent:le,onScroll:De}},[xn,sn,Ot,le,De]);return fe.createElement(Li.Provider,{value:Be},fe.createElement(Di,(0,oe.Z)({},et,{className:_e()(An,"".concat(Bn,"-virtual")),scroll:(0,Ae.Z)((0,Ae.Z)({},fn),{},{x:Wt}),components:(0,Ae.Z)((0,Ae.Z)({},un),{},{body:Zt!=null&&Zt.length?Yr:void 0}),columns:qt,internalHooks:re.R,tailor:!0,ref:Yt})))}var wi=fe.forwardRef(si);function xi(et){return st(wi,et)}var Ei=xi(),Vi=null},54451:function(bn,cn,se){"use strict";se.d(cn,{g:function(){return fe},v:function(){return Ee}});var re=se(27247),Ne=se(43079),Te=se(48736),Fe=["expandable"],Ee="RC_TABLE_INTERNAL_COL_DEFINE";function fe(Oe){var Ce=Oe.expandable,Pe=(0,Ne.Z)(Oe,Fe),oe;return"expandable"in Oe?oe=(0,re.Z)((0,re.Z)({},Pe),Ce):oe=Pe,oe.showExpandColumn===!1&&(oe.expandIconColumnIndex=-1),oe}},22711:function(bn,cn,se){"use strict";se.r(cn),se.d(cn,{ResizableTextArea:function(){return Ze},default:function(){return Rt}});var re=se(32855),Ne=se(74430),Te=se(27247),Fe=se(3300),Ee=se(11913),fe=se(43079),Oe=se(92310),Ce=se.n(Oe),Pe=se(36901),oe=se(66003),nt=se(30292),ye=se(18929),Ke=se(59301),Ie=se(34666),Ye=se(29301),He=se(34280),je=se(16089),st=`
|
|
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;
|
|
`,at=["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"],rt={},ke;function be(ht){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St=ht.getAttribute("id")||ht.getAttribute("data-reactid")||ht.getAttribute("name");if(mt&&rt[St])return rt[St];var xe=window.getComputedStyle(ht),he=xe.getPropertyValue("box-sizing")||xe.getPropertyValue("-moz-box-sizing")||xe.getPropertyValue("-webkit-box-sizing"),qe=parseFloat(xe.getPropertyValue("padding-bottom"))+parseFloat(xe.getPropertyValue("padding-top")),Tt=parseFloat(xe.getPropertyValue("border-bottom-width"))+parseFloat(xe.getPropertyValue("border-top-width")),Mt=at.map(function(Ct){return"".concat(Ct,":").concat(xe.getPropertyValue(Ct))}).join(";"),Xe={sizingStyle:Mt,paddingSize:qe,borderSize:Tt,boxSizing:he};return mt&&St&&(rt[St]=Xe),Xe}function Ve(ht){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ke||(ke=document.createElement("textarea"),ke.setAttribute("tab-index","-1"),ke.setAttribute("aria-hidden","true"),ke.setAttribute("name","hiddenTextarea"),document.body.appendChild(ke)),ht.getAttribute("wrap")?ke.setAttribute("wrap",ht.getAttribute("wrap")):ke.removeAttribute("wrap");var he=be(ht,mt),qe=he.paddingSize,Tt=he.borderSize,Mt=he.boxSizing,Xe=he.sizingStyle;ke.setAttribute("style","".concat(Xe,";").concat(st)),ke.value=ht.value||ht.placeholder||"";var Ct=void 0,tt=void 0,Ht,We=ke.scrollHeight;if(Mt==="border-box"?We+=Tt:Mt==="content-box"&&(We-=qe),St!==null||xe!==null){ke.value=" ";var yt=ke.scrollHeight-qe;St!==null&&(Ct=yt*St,Mt==="border-box"&&(Ct=Ct+qe+Tt),We=Math.max(Ct,We)),xe!==null&&(tt=yt*xe,Mt==="border-box"&&(tt=tt+qe+Tt),Ht=We>tt?"":"hidden",We=Math.min(tt,We))}var Qe={height:We,overflowY:Ht,resize:"none"};return Ct&&(Qe.minHeight=Ct),tt&&(Qe.maxHeight=tt),Qe}var Ge=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],ft=0,ge=1,Ae=2,ze=Ke.forwardRef(function(ht,mt){var St=ht,xe=St.prefixCls,he=St.defaultValue,qe=St.value,Tt=St.autoSize,Mt=St.onResize,Xe=St.className,Ct=St.style,tt=St.disabled,Ht=St.onChange,We=St.onInternalAutoSize,yt=(0,fe.Z)(St,Ge),Qe=(0,ye.Z)(he,{value:qe,postState:function(Mn){return Mn!=null?Mn:""}}),Bt=(0,Ee.Z)(Qe,2),bt=Bt[0],ce=Bt[1],ie=function(Mn){ce(Mn.target.value),Ht==null||Ht(Mn)},z=Ke.useRef();Ke.useImperativeHandle(mt,function(){return{textArea:z.current}});var ee=Ke.useMemo(function(){return Tt&&(0,Ie.Z)(Tt)==="object"?[Tt.minRows,Tt.maxRows]:[]},[Tt]),ne=(0,Ee.Z)(ee,2),te=ne[0],ue=ne[1],me=!!Tt,Se=function(){try{if(document.activeElement===z.current){var Mn=z.current,jn=Mn.selectionStart,yn=Mn.selectionEnd,Xn=Mn.scrollTop;z.current.setSelectionRange(jn,yn),z.current.scrollTop=Xn}}catch(Qn){}},Dt=Ke.useState(Ae),Ue=(0,Ee.Z)(Dt,2),$e=Ue[0],ot=Ue[1],vt=Ke.useState(),zt=(0,Ee.Z)(vt,2),tn=zt[0],jt=zt[1],on=function(){ot(ft)};(0,He.Z)(function(){me&&on()},[qe,te,ue,me]),(0,He.Z)(function(){if($e===ft)ot(ge);else if($e===ge){var gn=Ve(z.current,!1,te,ue);ot(Ae),jt(gn)}else Se()},[$e]);var Jt=Ke.useRef(),Pt=function(){je.Z.cancel(Jt.current)},ct=function(Mn){$e===Ae&&(Mt==null||Mt(Mn),Tt&&(Pt(),Jt.current=(0,je.Z)(function(){on()})))};Ke.useEffect(function(){return Pt},[]);var Ut=me?tn:null,_t=(0,Te.Z)((0,Te.Z)({},Ct),Ut);return($e===ft||$e===ge)&&(_t.overflowY="hidden",_t.overflowX="hidden"),Ke.createElement(Ye.Z,{onResize:ct,disabled:!(Tt||Mt)},Ke.createElement("textarea",(0,re.Z)({},yt,{ref:z,style:_t,className:Ce()(xe,Xe,(0,Ne.Z)({},"".concat(xe,"-disabled"),tt)),disabled:tt,value:bt,onChange:ie})))}),Ze=ze,_e=["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"],Re=Ke.forwardRef(function(ht,mt){var St,xe=ht.defaultValue,he=ht.value,qe=ht.onFocus,Tt=ht.onBlur,Mt=ht.onChange,Xe=ht.allowClear,Ct=ht.maxLength,tt=ht.onCompositionStart,Ht=ht.onCompositionEnd,We=ht.suffix,yt=ht.prefixCls,Qe=yt===void 0?"rc-textarea":yt,Bt=ht.showCount,bt=ht.count,ce=ht.className,ie=ht.style,z=ht.disabled,ee=ht.hidden,ne=ht.classNames,te=ht.styles,ue=ht.onResize,me=ht.onClear,Se=ht.onPressEnter,Dt=ht.readOnly,Ue=ht.autoSize,$e=ht.onKeyDown,ot=(0,fe.Z)(ht,_e),vt=(0,ye.Z)(xe,{value:he,defaultValue:xe}),zt=(0,Ee.Z)(vt,2),tn=zt[0],jt=zt[1],on=tn==null?"":String(tn),Jt=Ke.useState(!1),Pt=(0,Ee.Z)(Jt,2),ct=Pt[0],Ut=Pt[1],_t=Ke.useRef(!1),gn=Ke.useState(null),Mn=(0,Ee.Z)(gn,2),jn=Mn[0],yn=Mn[1],Xn=(0,Ke.useRef)(null),Qn=(0,Ke.useRef)(null),cr=function(){var $n;return($n=Qn.current)===null||$n===void 0?void 0:$n.textArea},Br=function(){cr().focus()};(0,Ke.useImperativeHandle)(mt,function(){var $t;return{resizableTextArea:Qn.current,focus:Br,blur:function(){cr().blur()},nativeElement:(($t=Xn.current)===null||$t===void 0?void 0:$t.nativeElement)||cr()}}),(0,Ke.useEffect)(function(){Ut(function($t){return!z&&$t})},[z]);var ar=Ke.useState(null),Lr=(0,Ee.Z)(ar,2),Er=Lr[0],Wn=Lr[1];Ke.useEffect(function(){if(Er){var $t;($t=cr()).setSelectionRange.apply($t,(0,Fe.Z)(Er))}},[Er]);var Ir=(0,oe.Z)(bt,Bt),Or=(St=Ir.max)!==null&&St!==void 0?St:Ct,Ft=Number(Or)>0,Qt=Ir.strategy(on),It=!!Or&&Qt>Or,Nt=function($n,Zr){var Rr=Zr;!_t.current&&Ir.exceedFormatter&&Ir.max&&Ir.strategy(Zr)>Ir.max&&(Rr=Ir.exceedFormatter(Zr,{max:Ir.max}),Zr!==Rr&&Wn([cr().selectionStart||0,cr().selectionEnd||0])),jt(Rr),(0,nt.rJ)($n.currentTarget,$n,Mt,Rr)},kt=function($n){_t.current=!0,tt==null||tt($n)},mn=function($n){_t.current=!1,Nt($n,$n.currentTarget.value),Ht==null||Ht($n)},_n=function($n){Nt($n,$n.target.value)},Yn=function($n){$n.key==="Enter"&&Se&&Se($n),$e==null||$e($n)},Hn=function($n){Ut(!0),qe==null||qe($n)},rr=function($n){Ut(!1),Tt==null||Tt($n)},fr=function($n){jt(""),Br(),(0,nt.rJ)(cr(),$n,Mt)},dr=We,Cr;Ir.show&&(Ir.showFormatter?Cr=Ir.showFormatter({value:on,count:Qt,maxLength:Or}):Cr="".concat(Qt).concat(Ft?" / ".concat(Or):""),dr=Ke.createElement(Ke.Fragment,null,dr,Ke.createElement("span",{className:Ce()("".concat(Qe,"-data-count"),ne==null?void 0:ne.count),style:te==null?void 0:te.count},Cr)));var Tr=function($n){var Zr;ue==null||ue($n),(Zr=cr())!==null&&Zr!==void 0&&Zr.style.height&&yn(!0)},Ln=!Ue&&!Bt&&!Xe;return Ke.createElement(Pe.BaseInput,{ref:Xn,value:on,allowClear:Xe,handleReset:fr,suffix:dr,prefixCls:Qe,classNames:(0,Te.Z)((0,Te.Z)({},ne),{},{affixWrapper:Ce()(ne==null?void 0:ne.affixWrapper,(0,Ne.Z)((0,Ne.Z)({},"".concat(Qe,"-show-count"),Bt),"".concat(Qe,"-textarea-allow-clear"),Xe))}),disabled:z,focused:ct,className:Ce()(ce,It&&"".concat(Qe,"-out-of-range")),style:(0,Te.Z)((0,Te.Z)({},ie),jn&&!Ln?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Cr=="string"?Cr:void 0}},hidden:ee,readOnly:Dt,onClear:me},Ke.createElement(Ze,(0,re.Z)({},ot,{autoSize:Ue,maxLength:Ct,onKeyDown:Yn,onChange:_n,onFocus:Hn,onBlur:rr,onCompositionStart:kt,onCompositionEnd:mn,className:Ce()(ne==null?void 0:ne.textarea),style:(0,Te.Z)((0,Te.Z)({},te==null?void 0:te.textarea),{},{resize:ie==null?void 0:ie.resize}),disabled:z,prefixCls:Qe,onResize:Tr,ref:Qn,readOnly:Dt})))}),Je=Re,Rt=Je},639:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return rt}});var re=se(32855),Ne=se(74430),Te=se(27247),Fe=se(11913),Ee=se(43079),fe=se(59301),Oe=se(92310),Ce=se.n(Oe),Pe=se(26112),oe=se(30699),nt=function(be){for(var Ve=be.prefixCls,Ge=be.level,ft=be.isStart,ge=be.isEnd,Ae="".concat(Ve,"-indent-unit"),ze=[],Ze=0;Ze<Ge;Ze+=1)ze.push(fe.createElement("span",{key:Ze,className:Ce()(Ae,(0,Ne.Z)((0,Ne.Z)({},"".concat(Ae,"-start"),ft[Ze]),"".concat(Ae,"-end"),ge[Ze]))}));return fe.createElement("span",{"aria-hidden":"true",className:"".concat(Ve,"-indent")},ze)},ye=fe.memo(nt),Ke=se(65065),Ie=se(34061),Ye=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],He="open",je="close",st="---",at=function(be){var Ve,Ge,ft,ge=be.eventKey,Ae=be.className,ze=be.style,Ze=be.dragOver,_e=be.dragOverGapTop,Re=be.dragOverGapBottom,Je=be.isLeaf,Rt=be.isStart,ht=be.isEnd,mt=be.expanded,St=be.selected,xe=be.checked,he=be.halfChecked,qe=be.loading,Tt=be.domRef,Mt=be.active,Xe=be.data,Ct=be.onMouseMove,tt=be.selectable,Ht=(0,Ee.Z)(be,Ye),We=fe.useContext(oe.k),yt=fe.useContext(oe.y),Qe=fe.useRef(null),Bt=fe.useState(!1),bt=(0,Fe.Z)(Bt,2),ce=bt[0],ie=bt[1],z=!!(We.disabled||be.disabled||(Ve=yt.nodeDisabled)!==null&&Ve!==void 0&&Ve.call(yt,Xe)),ee=fe.useMemo(function(){return!We.checkable||be.checkable===!1?!1:We.checkable},[We.checkable,be.checkable]),ne=function(Qt){z||We.onNodeSelect(Qt,(0,Ie.F)(be))},te=function(Qt){z||!ee||be.disableCheckbox||We.onNodeCheck(Qt,(0,Ie.F)(be),!xe)},ue=fe.useMemo(function(){return typeof tt=="boolean"?tt:We.selectable},[tt,We.selectable]),me=function(Qt){We.onNodeClick(Qt,(0,Ie.F)(be)),ue?ne(Qt):te(Qt)},Se=function(Qt){We.onNodeDoubleClick(Qt,(0,Ie.F)(be))},Dt=function(Qt){We.onNodeMouseEnter(Qt,(0,Ie.F)(be))},Ue=function(Qt){We.onNodeMouseLeave(Qt,(0,Ie.F)(be))},$e=function(Qt){We.onNodeContextMenu(Qt,(0,Ie.F)(be))},ot=fe.useMemo(function(){return!!(We.draggable&&(!We.draggable.nodeDraggable||We.draggable.nodeDraggable(Xe)))},[We.draggable,Xe]),vt=function(Qt){Qt.stopPropagation(),ie(!0),We.onNodeDragStart(Qt,be);try{Qt.dataTransfer.setData("text/plain","")}catch(It){}},zt=function(Qt){Qt.preventDefault(),Qt.stopPropagation(),We.onNodeDragEnter(Qt,be)},tn=function(Qt){Qt.preventDefault(),Qt.stopPropagation(),We.onNodeDragOver(Qt,be)},jt=function(Qt){Qt.stopPropagation(),We.onNodeDragLeave(Qt,be)},on=function(Qt){Qt.stopPropagation(),ie(!1),We.onNodeDragEnd(Qt,be)},Jt=function(Qt){Qt.preventDefault(),Qt.stopPropagation(),ie(!1),We.onNodeDrop(Qt,be)},Pt=function(Qt){qe||We.onNodeExpand(Qt,(0,Ie.F)(be))},ct=fe.useMemo(function(){var Ft=(0,Ke.Z)(We.keyEntities,ge)||{},Qt=Ft.children;return!!(Qt||[]).length},[We.keyEntities,ge]),Ut=fe.useMemo(function(){return Je===!1?!1:Je||!We.loadData&&!ct||We.loadData&&be.loaded&&!ct},[Je,We.loadData,ct,be.loaded]);fe.useEffect(function(){qe||typeof We.loadData=="function"&&mt&&!Ut&&!be.loaded&&We.onNodeLoad((0,Ie.F)(be))},[qe,We.loadData,We.onNodeLoad,mt,Ut,be]);var _t=fe.useMemo(function(){var Ft;return(Ft=We.draggable)!==null&&Ft!==void 0&&Ft.icon?fe.createElement("span",{className:"".concat(We.prefixCls,"-draggable-icon")},We.draggable.icon):null},[We.draggable]),gn=function(Qt){var It=be.switcherIcon||We.switcherIcon;return typeof It=="function"?It((0,Te.Z)((0,Te.Z)({},be),{},{isLeaf:Qt})):It},Mn=function(){if(Ut){var Qt=gn(!0);return Qt!==!1?fe.createElement("span",{className:Ce()("".concat(We.prefixCls,"-switcher"),"".concat(We.prefixCls,"-switcher-noop"))},Qt):null}var It=gn(!1);return It!==!1?fe.createElement("span",{onClick:Pt,className:Ce()("".concat(We.prefixCls,"-switcher"),"".concat(We.prefixCls,"-switcher_").concat(mt?He:je))},It):null},jn=fe.useMemo(function(){if(!ee)return null;var Ft=typeof ee!="boolean"?ee:null;return fe.createElement("span",{className:Ce()("".concat(We.prefixCls,"-checkbox"),(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},"".concat(We.prefixCls,"-checkbox-checked"),xe),"".concat(We.prefixCls,"-checkbox-indeterminate"),!xe&&he),"".concat(We.prefixCls,"-checkbox-disabled"),z||be.disableCheckbox)),onClick:te,role:"checkbox","aria-checked":he?"mixed":xe,"aria-disabled":z||be.disableCheckbox,"aria-label":"Select ".concat(typeof be.title=="string"?be.title:"tree node")},Ft)},[ee,xe,he,z,be.disableCheckbox,be.title]),yn=fe.useMemo(function(){return Ut?null:mt?He:je},[Ut,mt]),Xn=fe.useMemo(function(){return fe.createElement("span",{className:Ce()("".concat(We.prefixCls,"-iconEle"),"".concat(We.prefixCls,"-icon__").concat(yn||"docu"),(0,Ne.Z)({},"".concat(We.prefixCls,"-icon_loading"),qe))})},[We.prefixCls,yn,qe]),Qn=fe.useMemo(function(){var Ft=!!We.draggable,Qt=!be.disabled&&Ft&&We.dragOverNodeKey===ge;return Qt?We.dropIndicatorRender({dropPosition:We.dropPosition,dropLevelOffset:We.dropLevelOffset,indent:We.indent,prefixCls:We.prefixCls,direction:We.direction}):null},[We.dropPosition,We.dropLevelOffset,We.indent,We.prefixCls,We.direction,We.draggable,We.dragOverNodeKey,We.dropIndicatorRender]),cr=fe.useMemo(function(){var Ft=be.title,Qt=Ft===void 0?st:Ft,It="".concat(We.prefixCls,"-node-content-wrapper"),Nt;if(We.showIcon){var kt=be.icon||We.icon;Nt=kt?fe.createElement("span",{className:Ce()("".concat(We.prefixCls,"-iconEle"),"".concat(We.prefixCls,"-icon__customize"))},typeof kt=="function"?kt(be):kt):Xn}else We.loadData&&qe&&(Nt=Xn);var mn;return typeof Qt=="function"?mn=Qt(Xe):We.titleRender?mn=We.titleRender(Xe):mn=Qt,fe.createElement("span",{ref:Qe,title:typeof Qt=="string"?Qt:"",className:Ce()(It,"".concat(It,"-").concat(yn||"normal"),(0,Ne.Z)({},"".concat(We.prefixCls,"-node-selected"),!z&&(St||ce))),onMouseEnter:Dt,onMouseLeave:Ue,onContextMenu:$e,onClick:me,onDoubleClick:Se},Nt,fe.createElement("span",{className:"".concat(We.prefixCls,"-title")},mn),Qn)},[We.prefixCls,We.showIcon,be,We.icon,Xn,We.titleRender,Xe,yn,Dt,Ue,$e,me,Se]),Br=(0,Pe.Z)(Ht,{aria:!0,data:!0}),ar=(0,Ke.Z)(We.keyEntities,ge)||{},Lr=ar.level,Er=ht[ht.length-1],Wn=!z&&ot,Ir=We.draggingNodeKey===ge,Or=tt!==void 0?{"aria-selected":!!tt}:void 0;return fe.createElement("div",(0,re.Z)({ref:Tt,role:"treeitem","aria-expanded":Je?void 0:mt,className:Ce()(Ae,"".concat(We.prefixCls,"-treenode"),(ft={},(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)(ft,"".concat(We.prefixCls,"-treenode-disabled"),z),"".concat(We.prefixCls,"-treenode-switcher-").concat(mt?"open":"close"),!Je),"".concat(We.prefixCls,"-treenode-checkbox-checked"),xe),"".concat(We.prefixCls,"-treenode-checkbox-indeterminate"),he),"".concat(We.prefixCls,"-treenode-selected"),St),"".concat(We.prefixCls,"-treenode-loading"),qe),"".concat(We.prefixCls,"-treenode-active"),Mt),"".concat(We.prefixCls,"-treenode-leaf-last"),Er),"".concat(We.prefixCls,"-treenode-draggable"),ot),"dragging",Ir),(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)(ft,"drop-target",We.dropTargetKey===ge),"drop-container",We.dropContainerKey===ge),"drag-over",!z&&Ze),"drag-over-gap-top",!z&&_e),"drag-over-gap-bottom",!z&&Re),"filter-node",(Ge=We.filterTreeNode)===null||Ge===void 0?void 0:Ge.call(We,(0,Ie.F)(be))),"".concat(We.prefixCls,"-treenode-leaf"),Ut))),style:ze,draggable:Wn,onDragStart:Wn?vt:void 0,onDragEnter:ot?zt:void 0,onDragOver:ot?tn:void 0,onDragLeave:ot?jt:void 0,onDrop:ot?Jt:void 0,onDragEnd:ot?on:void 0,onMouseMove:Ct},Or,Br),fe.createElement(ye,{prefixCls:We.prefixCls,level:Lr,isStart:Rt,isEnd:ht}),_t,Mn(),jn,cr)};at.isTreeNode=1;var rt=at},30699:function(bn,cn,se){"use strict";se.d(cn,{k:function(){return Ne},y:function(){return Te}});var re=se(59301),Ne=re.createContext(null),Te=re.createContext({})},89149:function(bn,cn,se){"use strict";se.d(cn,{OF:function(){return ge.Z},y6:function(){return je.y},ZP:function(){return z}});var re=se(32855),Ne=se(34666),Te=se(27247),Fe=se(3300),Ee=se(33377),fe=se(93912),Oe=se(83383),Ce=se(18881),Pe=se(85461),oe=se(74430),nt=se(92310),ye=se.n(nt),Ke=se(10228),Ie=se(26112),Ye=se(48736),He=se(59301),je=se(30699),st=function(ne){var te=ne.dropPosition,ue=ne.dropLevelOffset,me=ne.indent,Se={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(te){case-1:Se.top=0,Se.left=-ue*me;break;case 1:Se.bottom=0,Se.left=-ue*me;break;case 0:Se.bottom=0,Se.left=me;break}return He.createElement("div",{style:Se})},at=st;function rt(ee){if(ee==null)throw new TypeError("Cannot destructure "+ee)}var ke=se(11913),be=se(43079),Ve=se(34280),Ge=se(6790),ft=se(77900),ge=se(639);function Ae(ee,ne){var te=He.useState(!1),ue=(0,ke.Z)(te,2),me=ue[0],Se=ue[1];(0,Ve.Z)(function(){if(me)return ee(),function(){ne()}},[me]),(0,Ve.Z)(function(){return Se(!0),function(){Se(!1)}},[])}var ze=Ae,Ze=se(34061),_e=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Re=He.forwardRef(function(ee,ne){var te=ee.className,ue=ee.style,me=ee.motion,Se=ee.motionNodes,Dt=ee.motionType,Ue=ee.onMotionStart,$e=ee.onMotionEnd,ot=ee.active,vt=ee.treeNodeRequiredProps,zt=(0,be.Z)(ee,_e),tn=He.useState(!0),jt=(0,ke.Z)(tn,2),on=jt[0],Jt=jt[1],Pt=He.useContext(je.k),ct=Pt.prefixCls,Ut=Se&&Dt!=="hide";(0,Ve.Z)(function(){Se&&Ut!==on&&Jt(Ut)},[Se]);var _t=function(){Se&&Ue()},gn=He.useRef(!1),Mn=function(){Se&&!gn.current&&(gn.current=!0,$e())};ze(_t,Mn);var jn=function(Xn){Ut===Xn&&Mn()};return Se?He.createElement(ft.default,(0,re.Z)({ref:ne,visible:on},me,{motionAppear:Dt==="show",onVisibleChanged:jn}),function(yn,Xn){var Qn=yn.className,cr=yn.style;return He.createElement("div",{ref:Xn,className:ye()("".concat(ct,"-treenode-motion"),Qn),style:cr},Se.map(function(Br){var ar=Object.assign({},(rt(Br.data),Br.data)),Lr=Br.title,Er=Br.key,Wn=Br.isStart,Ir=Br.isEnd;delete ar.children;var Or=(0,Ze.H8)(Er,vt);return He.createElement(ge.Z,(0,re.Z)({},ar,Or,{title:Lr,active:ot,data:Br.data,key:Er,isStart:Wn,isEnd:Ir}))}))}):He.createElement(ge.Z,(0,re.Z)({domRef:ne,className:te,style:ue},zt,{active:ot}))}),Je=Re;function Rt(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],te=ee.length,ue=ne.length;if(Math.abs(te-ue)!==1)return{add:!1,key:null};function me(Se,Dt){var Ue=new Map;Se.forEach(function(ot){Ue.set(ot,!0)});var $e=Dt.filter(function(ot){return!Ue.has(ot)});return $e.length===1?$e[0]:null}return te<ue?{add:!0,key:me(ee,ne)}:{add:!1,key:me(ne,ee)}}function ht(ee,ne,te){var ue=ee.findIndex(function(Ue){return Ue.key===te}),me=ee[ue+1],Se=ne.findIndex(function(Ue){return Ue.key===te});if(me){var Dt=ne.findIndex(function(Ue){return Ue.key===me.key});return ne.slice(Se+1,Dt)}return ne.slice(Se+1)}var mt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},xe=function(){},he="RC_TREE_MOTION_".concat(Math.random()),qe={key:he},Tt={key:he,level:0,index:0,pos:"0",node:qe,nodes:[qe]},Mt={parent:null,children:[],pos:Tt.pos,data:qe,title:null,key:he,isStart:[],isEnd:[]};function Xe(ee,ne,te,ue){return ne===!1||!te?ee:ee.slice(0,Math.ceil(te/ue)+1)}function Ct(ee){var ne=ee.key,te=ee.pos;return(0,Ze.km)(ne,te)}function tt(ee){for(var ne=String(ee.data.key),te=ee;te.parent;)te=te.parent,ne="".concat(te.data.key," > ").concat(ne);return ne}var Ht=He.forwardRef(function(ee,ne){var te=ee.prefixCls,ue=ee.data,me=ee.selectable,Se=ee.checkable,Dt=ee.expandedKeys,Ue=ee.selectedKeys,$e=ee.checkedKeys,ot=ee.loadedKeys,vt=ee.loadingKeys,zt=ee.halfCheckedKeys,tn=ee.keyEntities,jt=ee.disabled,on=ee.dragging,Jt=ee.dragOverNodeKey,Pt=ee.dropPosition,ct=ee.motion,Ut=ee.height,_t=ee.itemHeight,gn=ee.virtual,Mn=ee.scrollWidth,jn=ee.focusable,yn=ee.activeItem,Xn=ee.focused,Qn=ee.tabIndex,cr=ee.onKeyDown,Br=ee.onFocus,ar=ee.onBlur,Lr=ee.onActiveChange,Er=ee.onListChangeStart,Wn=ee.onListChangeEnd,Ir=(0,be.Z)(ee,mt),Or=He.useRef(null),Ft=He.useRef(null);He.useImperativeHandle(ne,function(){return{scrollTo:function(zn){Or.current.scrollTo(zn)},getIndentWidth:function(){return Ft.current.offsetWidth}}});var Qt=He.useState(Dt),It=(0,ke.Z)(Qt,2),Nt=It[0],kt=It[1],mn=He.useState(ue),_n=(0,ke.Z)(mn,2),Yn=_n[0],Hn=_n[1],rr=He.useState(ue),fr=(0,ke.Z)(rr,2),dr=fr[0],Cr=fr[1],Tr=He.useState([]),Ln=(0,ke.Z)(Tr,2),$t=Ln[0],$n=Ln[1],Zr=He.useState(null),Rr=(0,ke.Z)(Zr,2),dt=Rr[0],xt=Rr[1],Rn=He.useRef(ue);Rn.current=ue;function En(){var Zn=Rn.current;Hn(Zn),Cr(Zn),$n([]),xt(null),Wn()}(0,Ve.Z)(function(){kt(Dt);var Zn=Rt(Nt,Dt);if(Zn.key!==null)if(Zn.add){var zn=Yn.findIndex(function(qn){var Pr=qn.key;return Pr===Zn.key}),ir=Xe(ht(Yn,ue,Zn.key),gn,Ut,_t),Kt=Yn.slice();Kt.splice(zn+1,0,Mt),Cr(Kt),$n(ir),xt("show")}else{var er=ue.findIndex(function(qn){var Pr=qn.key;return Pr===Zn.key}),Dn=Xe(ht(ue,Yn,Zn.key),gn,Ut,_t),Wr=ue.slice();Wr.splice(er+1,0,Mt),Cr(Wr),$n(Dn),xt("hide")}else Yn!==ue&&(Hn(ue),Cr(ue))},[Dt,ue]),He.useEffect(function(){on||En()},[on]);var Lt=ct?dr:ue,Sn={expandedKeys:Dt,selectedKeys:Ue,loadedKeys:ot,loadingKeys:vt,checkedKeys:$e,halfCheckedKeys:zt,dragOverNodeKey:Jt,dropPosition:Pt,keyEntities:tn};return He.createElement(He.Fragment,null,Xn&&yn&&He.createElement("span",{style:St,"aria-live":"assertive"},tt(yn)),He.createElement("div",null,He.createElement("input",{style:St,disabled:jn===!1||jt,tabIndex:jn!==!1?Qn:null,onKeyDown:cr,onFocus:Br,onBlur:ar,value:"",onChange:xe,"aria-label":"for screen reader"})),He.createElement("div",{className:"".concat(te,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},He.createElement("div",{className:"".concat(te,"-indent")},He.createElement("div",{ref:Ft,className:"".concat(te,"-indent-unit")}))),He.createElement(Ge.Z,(0,re.Z)({},Ir,{data:Lt,itemKey:Ct,height:Ut,fullHeight:!1,virtual:gn,itemHeight:_t,scrollWidth:Mn,prefixCls:"".concat(te,"-list"),ref:Or,role:"tree",onVisibleChange:function(zn){zn.every(function(ir){return Ct(ir)!==he})&&En()}}),function(Zn){var zn=Zn.pos,ir=Object.assign({},(rt(Zn.data),Zn.data)),Kt=Zn.title,er=Zn.key,Dn=Zn.isStart,Wr=Zn.isEnd,qn=(0,Ze.km)(er,zn);delete ir.key,delete ir.children;var Pr=(0,Ze.H8)(qn,Sn);return He.createElement(Je,(0,re.Z)({},ir,Pr,{title:Kt,active:!!yn&&er===yn.key,pos:zn,data:Zn.data,isStart:Dn,isEnd:Wr,motion:ct,motionNodes:er===he?$t:null,motionType:dt,onMotionStart:Er,onMotionEnd:En,treeNodeRequiredProps:Sn,onMouseMove:function(){Lr(null)}}))}))}),We=Ht,yt=se(82661),Qe=se(34643),Bt=se(65065),bt=10,ce=function(ee){(0,Ce.Z)(te,ee);var ne=(0,Pe.Z)(te);function te(){var ue;(0,Ee.Z)(this,te);for(var me=arguments.length,Se=new Array(me),Dt=0;Dt<me;Dt++)Se[Dt]=arguments[Dt];return ue=ne.call.apply(ne,[this].concat(Se)),(0,oe.Z)((0,Oe.Z)(ue),"destroyed",!1),(0,oe.Z)((0,Oe.Z)(ue),"delayedDragEnterLogic",void 0),(0,oe.Z)((0,Oe.Z)(ue),"loadingRetryTimes",{}),(0,oe.Z)((0,Oe.Z)(ue),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ze.w$)()}),(0,oe.Z)((0,Oe.Z)(ue),"dragStartMousePosition",null),(0,oe.Z)((0,Oe.Z)(ue),"dragNodeProps",null),(0,oe.Z)((0,Oe.Z)(ue),"currentMouseOverDroppableNodeKey",null),(0,oe.Z)((0,Oe.Z)(ue),"listRef",He.createRef()),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDragStart",function(Ue,$e){var ot=ue.state,vt=ot.expandedKeys,zt=ot.keyEntities,tn=ue.props.onDragStart,jt=$e.eventKey;ue.dragNodeProps=$e,ue.dragStartMousePosition={x:Ue.clientX,y:Ue.clientY};var on=(0,yt._5)(vt,jt);ue.setState({draggingNodeKey:jt,dragChildrenKeys:(0,yt.wA)(jt,zt),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys(on),window.addEventListener("dragend",ue.onWindowDragEnd),tn==null||tn({event:Ue,node:(0,Ze.F)($e)})}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDragEnter",function(Ue,$e){var ot=ue.state,vt=ot.expandedKeys,zt=ot.keyEntities,tn=ot.dragChildrenKeys,jt=ot.flattenNodes,on=ot.indent,Jt=ue.props,Pt=Jt.onDragEnter,ct=Jt.onExpand,Ut=Jt.allowDrop,_t=Jt.direction,gn=$e.pos,Mn=$e.eventKey;if(ue.currentMouseOverDroppableNodeKey!==Mn&&(ue.currentMouseOverDroppableNodeKey=Mn),!ue.dragNodeProps){ue.resetDragState();return}var jn=(0,yt.OM)(Ue,ue.dragNodeProps,$e,on,ue.dragStartMousePosition,Ut,jt,zt,vt,_t),yn=jn.dropPosition,Xn=jn.dropLevelOffset,Qn=jn.dropTargetKey,cr=jn.dropContainerKey,Br=jn.dropTargetPos,ar=jn.dropAllowed,Lr=jn.dragOverNodeKey;if(tn.includes(Qn)||!ar){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(Er){clearTimeout(ue.delayedDragEnterLogic[Er])}),ue.dragNodeProps.eventKey!==$e.eventKey&&(Ue.persist(),ue.delayedDragEnterLogic[gn]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var Er=(0,Fe.Z)(vt),Wn=(0,Bt.Z)(zt,$e.eventKey);Wn&&(Wn.children||[]).length&&(Er=(0,yt.L0)(vt,$e.eventKey)),ue.props.hasOwnProperty("expandedKeys")||ue.setExpandedKeys(Er),ct==null||ct(Er,{node:(0,Ze.F)($e),expanded:!0,nativeEvent:Ue.nativeEvent})}},800)),ue.dragNodeProps.eventKey===Qn&&Xn===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:Lr,dropPosition:yn,dropLevelOffset:Xn,dropTargetKey:Qn,dropContainerKey:cr,dropTargetPos:Br,dropAllowed:ar}),Pt==null||Pt({event:Ue,node:(0,Ze.F)($e),expandedKeys:vt})}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDragOver",function(Ue,$e){var ot=ue.state,vt=ot.dragChildrenKeys,zt=ot.flattenNodes,tn=ot.keyEntities,jt=ot.expandedKeys,on=ot.indent,Jt=ue.props,Pt=Jt.onDragOver,ct=Jt.allowDrop,Ut=Jt.direction;if(ue.dragNodeProps){var _t=(0,yt.OM)(Ue,ue.dragNodeProps,$e,on,ue.dragStartMousePosition,ct,zt,tn,jt,Ut),gn=_t.dropPosition,Mn=_t.dropLevelOffset,jn=_t.dropTargetKey,yn=_t.dropContainerKey,Xn=_t.dropTargetPos,Qn=_t.dropAllowed,cr=_t.dragOverNodeKey;vt.includes(jn)||!Qn||(ue.dragNodeProps.eventKey===jn&&Mn===0?ue.state.dropPosition===null&&ue.state.dropLevelOffset===null&&ue.state.dropTargetKey===null&&ue.state.dropContainerKey===null&&ue.state.dropTargetPos===null&&ue.state.dropAllowed===!1&&ue.state.dragOverNodeKey===null||ue.resetDragState():gn===ue.state.dropPosition&&Mn===ue.state.dropLevelOffset&&jn===ue.state.dropTargetKey&&yn===ue.state.dropContainerKey&&Xn===ue.state.dropTargetPos&&Qn===ue.state.dropAllowed&&cr===ue.state.dragOverNodeKey||ue.setState({dropPosition:gn,dropLevelOffset:Mn,dropTargetKey:jn,dropContainerKey:yn,dropTargetPos:Xn,dropAllowed:Qn,dragOverNodeKey:cr}),Pt==null||Pt({event:Ue,node:(0,Ze.F)($e)}))}}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDragLeave",function(Ue,$e){ue.currentMouseOverDroppableNodeKey===$e.eventKey&&!Ue.currentTarget.contains(Ue.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var ot=ue.props.onDragLeave;ot==null||ot({event:Ue,node:(0,Ze.F)($e)})}),(0,oe.Z)((0,Oe.Z)(ue),"onWindowDragEnd",function(Ue){ue.onNodeDragEnd(Ue,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDragEnd",function(Ue,$e){var ot=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),ot==null||ot({event:Ue,node:(0,Ze.F)($e)}),ue.dragNodeProps=null,window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDrop",function(Ue,$e){var ot,vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,zt=ue.state,tn=zt.dragChildrenKeys,jt=zt.dropPosition,on=zt.dropTargetKey,Jt=zt.dropTargetPos,Pt=zt.dropAllowed;if(Pt){var ct=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),on!==null){var Ut=(0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(on,ue.getTreeNodeRequiredProps())),{},{active:((ot=ue.getActiveItem())===null||ot===void 0?void 0:ot.key)===on,data:(0,Bt.Z)(ue.state.keyEntities,on).node}),_t=tn.includes(on);(0,Ye.ZP)(!_t,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var gn=(0,yt.yx)(Jt),Mn={event:Ue,node:(0,Ze.F)(Ut),dragNode:ue.dragNodeProps?(0,Ze.F)(ue.dragNodeProps):null,dragNodesKeys:[ue.dragNodeProps.eventKey].concat(tn),dropToGap:jt!==0,dropPosition:jt+Number(gn[gn.length-1])};vt||ct==null||ct(Mn),ue.dragNodeProps=null}}}),(0,oe.Z)((0,Oe.Z)(ue),"cleanDragState",function(){var Ue=ue.state.draggingNodeKey;Ue!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null}),(0,oe.Z)((0,Oe.Z)(ue),"triggerExpandActionExpand",function(Ue,$e){var ot=ue.state,vt=ot.expandedKeys,zt=ot.flattenNodes,tn=$e.expanded,jt=$e.key,on=$e.isLeaf;if(!(on||Ue.shiftKey||Ue.metaKey||Ue.ctrlKey)){var Jt=zt.filter(function(ct){return ct.key===jt})[0],Pt=(0,Ze.F)((0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(jt,ue.getTreeNodeRequiredProps())),{},{data:Jt.data}));ue.setExpandedKeys(tn?(0,yt._5)(vt,jt):(0,yt.L0)(vt,jt)),ue.onNodeExpand(Ue,Pt)}}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeClick",function(Ue,$e){var ot=ue.props,vt=ot.onClick,zt=ot.expandAction;zt==="click"&&ue.triggerExpandActionExpand(Ue,$e),vt==null||vt(Ue,$e)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeDoubleClick",function(Ue,$e){var ot=ue.props,vt=ot.onDoubleClick,zt=ot.expandAction;zt==="doubleClick"&&ue.triggerExpandActionExpand(Ue,$e),vt==null||vt(Ue,$e)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeSelect",function(Ue,$e){var ot=ue.state.selectedKeys,vt=ue.state,zt=vt.keyEntities,tn=vt.fieldNames,jt=ue.props,on=jt.onSelect,Jt=jt.multiple,Pt=$e.selected,ct=$e[tn.key],Ut=!Pt;Ut?Jt?ot=(0,yt.L0)(ot,ct):ot=[ct]:ot=(0,yt._5)(ot,ct);var _t=ot.map(function(gn){var Mn=(0,Bt.Z)(zt,gn);return Mn?Mn.node:null}).filter(Boolean);ue.setUncontrolledState({selectedKeys:ot}),on==null||on(ot,{event:"select",selected:Ut,node:$e,selectedNodes:_t,nativeEvent:Ue.nativeEvent})}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeCheck",function(Ue,$e,ot){var vt=ue.state,zt=vt.keyEntities,tn=vt.checkedKeys,jt=vt.halfCheckedKeys,on=ue.props,Jt=on.checkStrictly,Pt=on.onCheck,ct=$e.key,Ut,_t={event:"check",node:$e,checked:ot,nativeEvent:Ue.nativeEvent};if(Jt){var gn=ot?(0,yt.L0)(tn,ct):(0,yt._5)(tn,ct),Mn=(0,yt._5)(jt,ct);Ut={checked:gn,halfChecked:Mn},_t.checkedNodes=gn.map(function(Br){return(0,Bt.Z)(zt,Br)}).filter(Boolean).map(function(Br){return Br.node}),ue.setUncontrolledState({checkedKeys:gn})}else{var jn=(0,Qe.S)([].concat((0,Fe.Z)(tn),[ct]),!0,zt),yn=jn.checkedKeys,Xn=jn.halfCheckedKeys;if(!ot){var Qn=new Set(yn);Qn.delete(ct);var cr=(0,Qe.S)(Array.from(Qn),{checked:!1,halfCheckedKeys:Xn},zt);yn=cr.checkedKeys,Xn=cr.halfCheckedKeys}Ut=yn,_t.checkedNodes=[],_t.checkedNodesPositions=[],_t.halfCheckedKeys=Xn,yn.forEach(function(Br){var ar=(0,Bt.Z)(zt,Br);if(ar){var Lr=ar.node,Er=ar.pos;_t.checkedNodes.push(Lr),_t.checkedNodesPositions.push({node:Lr,pos:Er})}}),ue.setUncontrolledState({checkedKeys:yn},!1,{halfCheckedKeys:Xn})}Pt==null||Pt(Ut,_t)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeLoad",function(Ue){var $e,ot=Ue.key,vt=ue.state.keyEntities,zt=(0,Bt.Z)(vt,ot);if(!(zt!=null&&($e=zt.children)!==null&&$e!==void 0&&$e.length)){var tn=new Promise(function(jt,on){ue.setState(function(Jt){var Pt=Jt.loadedKeys,ct=Pt===void 0?[]:Pt,Ut=Jt.loadingKeys,_t=Ut===void 0?[]:Ut,gn=ue.props,Mn=gn.loadData,jn=gn.onLoad;if(!Mn||ct.includes(ot)||_t.includes(ot))return null;var yn=Mn(Ue);return yn.then(function(){var Xn=ue.state.loadedKeys,Qn=(0,yt.L0)(Xn,ot);jn==null||jn(Qn,{event:"load",node:Ue}),ue.setUncontrolledState({loadedKeys:Qn}),ue.setState(function(cr){return{loadingKeys:(0,yt._5)(cr.loadingKeys,ot)}}),jt()}).catch(function(Xn){if(ue.setState(function(cr){return{loadingKeys:(0,yt._5)(cr.loadingKeys,ot)}}),ue.loadingRetryTimes[ot]=(ue.loadingRetryTimes[ot]||0)+1,ue.loadingRetryTimes[ot]>=bt){var Qn=ue.state.loadedKeys;(0,Ye.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:(0,yt.L0)(Qn,ot)}),jt()}on(Xn)}),{loadingKeys:(0,yt.L0)(_t,ot)}})});return tn.catch(function(){}),tn}}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeMouseEnter",function(Ue,$e){var ot=ue.props.onMouseEnter;ot==null||ot({event:Ue,node:$e})}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeMouseLeave",function(Ue,$e){var ot=ue.props.onMouseLeave;ot==null||ot({event:Ue,node:$e})}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeContextMenu",function(Ue,$e){var ot=ue.props.onRightClick;ot&&(Ue.preventDefault(),ot({event:Ue,node:$e}))}),(0,oe.Z)((0,Oe.Z)(ue),"onFocus",function(){var Ue=ue.props.onFocus;ue.setState({focused:!0});for(var $e=arguments.length,ot=new Array($e),vt=0;vt<$e;vt++)ot[vt]=arguments[vt];Ue==null||Ue.apply(void 0,ot)}),(0,oe.Z)((0,Oe.Z)(ue),"onBlur",function(){var Ue=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var $e=arguments.length,ot=new Array($e),vt=0;vt<$e;vt++)ot[vt]=arguments[vt];Ue==null||Ue.apply(void 0,ot)}),(0,oe.Z)((0,Oe.Z)(ue),"getTreeNodeRequiredProps",function(){var Ue=ue.state,$e=Ue.expandedKeys,ot=Ue.selectedKeys,vt=Ue.loadedKeys,zt=Ue.loadingKeys,tn=Ue.checkedKeys,jt=Ue.halfCheckedKeys,on=Ue.dragOverNodeKey,Jt=Ue.dropPosition,Pt=Ue.keyEntities;return{expandedKeys:$e||[],selectedKeys:ot||[],loadedKeys:vt||[],loadingKeys:zt||[],checkedKeys:tn||[],halfCheckedKeys:jt||[],dragOverNodeKey:on,dropPosition:Jt,keyEntities:Pt}}),(0,oe.Z)((0,Oe.Z)(ue),"setExpandedKeys",function(Ue){var $e=ue.state,ot=$e.treeData,vt=$e.fieldNames,zt=(0,Ze.oH)(ot,Ue,vt);ue.setUncontrolledState({expandedKeys:Ue,flattenNodes:zt},!0)}),(0,oe.Z)((0,Oe.Z)(ue),"onNodeExpand",function(Ue,$e){var ot=ue.state.expandedKeys,vt=ue.state,zt=vt.listChanging,tn=vt.fieldNames,jt=ue.props,on=jt.onExpand,Jt=jt.loadData,Pt=$e.expanded,ct=$e[tn.key];if(!zt){var Ut=ot.includes(ct),_t=!Pt;if((0,Ye.ZP)(Pt&&Ut||!Pt&&!Ut,"Expand state not sync with index check"),ot=_t?(0,yt.L0)(ot,ct):(0,yt._5)(ot,ct),ue.setExpandedKeys(ot),on==null||on(ot,{node:$e,expanded:_t,nativeEvent:Ue.nativeEvent}),_t&&Jt){var gn=ue.onNodeLoad($e);gn&&gn.then(function(){var Mn=(0,Ze.oH)(ue.state.treeData,ot,tn);ue.setUncontrolledState({flattenNodes:Mn})}).catch(function(){var Mn=ue.state.expandedKeys,jn=(0,yt._5)(Mn,ct);ue.setExpandedKeys(jn)})}}}),(0,oe.Z)((0,Oe.Z)(ue),"onListChangeStart",function(){ue.setUncontrolledState({listChanging:!0})}),(0,oe.Z)((0,Oe.Z)(ue),"onListChangeEnd",function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})}),(0,oe.Z)((0,Oe.Z)(ue),"onActiveChange",function(Ue){var $e=ue.state.activeKey,ot=ue.props,vt=ot.onActiveChange,zt=ot.itemScrollOffset,tn=zt===void 0?0:zt;$e!==Ue&&(ue.setState({activeKey:Ue}),Ue!==null&&ue.scrollTo({key:Ue,offset:tn}),vt==null||vt(Ue))}),(0,oe.Z)((0,Oe.Z)(ue),"getActiveItem",function(){var Ue=ue.state,$e=Ue.activeKey,ot=Ue.flattenNodes;return $e===null?null:ot.find(function(vt){var zt=vt.key;return zt===$e})||null}),(0,oe.Z)((0,Oe.Z)(ue),"offsetActiveKey",function(Ue){var $e=ue.state,ot=$e.flattenNodes,vt=$e.activeKey,zt=ot.findIndex(function(on){var Jt=on.key;return Jt===vt});zt===-1&&Ue<0&&(zt=ot.length),zt=(zt+Ue+ot.length)%ot.length;var tn=ot[zt];if(tn){var jt=tn.key;ue.onActiveChange(jt)}else ue.onActiveChange(null)}),(0,oe.Z)((0,Oe.Z)(ue),"onKeyDown",function(Ue){var $e=ue.state,ot=$e.activeKey,vt=$e.expandedKeys,zt=$e.checkedKeys,tn=$e.fieldNames,jt=ue.props,on=jt.onKeyDown,Jt=jt.checkable,Pt=jt.selectable;switch(Ue.which){case Ke.Z.UP:{ue.offsetActiveKey(-1),Ue.preventDefault();break}case Ke.Z.DOWN:{ue.offsetActiveKey(1),Ue.preventDefault();break}}var ct=ue.getActiveItem();if(ct&&ct.data){var Ut=ue.getTreeNodeRequiredProps(),_t=ct.data.isLeaf===!1||!!(ct.data[tn.children]||[]).length,gn=(0,Ze.F)((0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(ot,Ut)),{},{data:ct.data,active:!0}));switch(Ue.which){case Ke.Z.LEFT:{_t&&vt.includes(ot)?ue.onNodeExpand({},gn):ct.parent&&ue.onActiveChange(ct.parent.key),Ue.preventDefault();break}case Ke.Z.RIGHT:{_t&&!vt.includes(ot)?ue.onNodeExpand({},gn):ct.children&&ct.children.length&&ue.onActiveChange(ct.children[0].key),Ue.preventDefault();break}case Ke.Z.ENTER:case Ke.Z.SPACE:{Jt&&!gn.disabled&&gn.checkable!==!1&&!gn.disableCheckbox?ue.onNodeCheck({},gn,!zt.includes(ot)):!Jt&&Pt&&!gn.disabled&&gn.selectable!==!1&&ue.onNodeSelect({},gn);break}}}on==null||on(Ue)}),(0,oe.Z)((0,Oe.Z)(ue),"setUncontrolledState",function(Ue){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var vt=!1,zt=!0,tn={};Object.keys(Ue).forEach(function(jt){if(ue.props.hasOwnProperty(jt)){zt=!1;return}vt=!0,tn[jt]=Ue[jt]}),vt&&(!$e||zt)&&ue.setState((0,Te.Z)((0,Te.Z)({},tn),ot))}}),(0,oe.Z)((0,Oe.Z)(ue),"scrollTo",function(Ue){ue.listRef.current.scrollTo(Ue)}),ue}return(0,fe.Z)(te,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var me=this.props,Se=me.activeKey,Dt=me.itemScrollOffset,Ue=Dt===void 0?0:Dt;Se!==void 0&&Se!==this.state.activeKey&&(this.setState({activeKey:Se}),Se!==null&&this.scrollTo({key:Se,offset:Ue}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var me=this.state,Se=me.focused,Dt=me.flattenNodes,Ue=me.keyEntities,$e=me.draggingNodeKey,ot=me.activeKey,vt=me.dropLevelOffset,zt=me.dropContainerKey,tn=me.dropTargetKey,jt=me.dropPosition,on=me.dragOverNodeKey,Jt=me.indent,Pt=this.props,ct=Pt.prefixCls,Ut=Pt.className,_t=Pt.style,gn=Pt.showLine,Mn=Pt.focusable,jn=Pt.tabIndex,yn=jn===void 0?0:jn,Xn=Pt.selectable,Qn=Pt.showIcon,cr=Pt.icon,Br=Pt.switcherIcon,ar=Pt.draggable,Lr=Pt.checkable,Er=Pt.checkStrictly,Wn=Pt.disabled,Ir=Pt.motion,Or=Pt.loadData,Ft=Pt.filterTreeNode,Qt=Pt.height,It=Pt.itemHeight,Nt=Pt.scrollWidth,kt=Pt.virtual,mn=Pt.titleRender,_n=Pt.dropIndicatorRender,Yn=Pt.onContextMenu,Hn=Pt.onScroll,rr=Pt.direction,fr=Pt.rootClassName,dr=Pt.rootStyle,Cr=(0,Ie.Z)(this.props,{aria:!0,data:!0}),Tr;ar&&((0,Ne.Z)(ar)==="object"?Tr=ar:typeof ar=="function"?Tr={nodeDraggable:ar}:Tr={});var Ln={prefixCls:ct,selectable:Xn,showIcon:Qn,icon:cr,switcherIcon:Br,draggable:Tr,draggingNodeKey:$e,checkable:Lr,checkStrictly:Er,disabled:Wn,keyEntities:Ue,dropLevelOffset:vt,dropContainerKey:zt,dropTargetKey:tn,dropPosition:jt,dragOverNodeKey:on,indent:Jt,direction:rr,dropIndicatorRender:_n,loadData:Or,filterTreeNode:Ft,titleRender:mn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return He.createElement(je.k.Provider,{value:Ln},He.createElement("div",{className:ye()(ct,Ut,fr,(0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(ct,"-show-line"),gn),"".concat(ct,"-focused"),Se),"".concat(ct,"-active-focused"),ot!==null)),style:dr},He.createElement(We,(0,re.Z)({ref:this.listRef,prefixCls:ct,style:_t,data:Dt,disabled:Wn,selectable:Xn,checkable:!!Lr,motion:Ir,dragging:$e!==null,height:Qt,itemHeight:It,virtual:kt,focusable:Mn,focused:Se,tabIndex:yn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Yn,onScroll:Hn,scrollWidth:Nt},this.getTreeNodeRequiredProps(),Cr))))}}],[{key:"getDerivedStateFromProps",value:function(me,Se){var Dt=Se.prevProps,Ue={prevProps:me};function $e(yn){return!Dt&&me.hasOwnProperty(yn)||Dt&&Dt[yn]!==me[yn]}var ot,vt=Se.fieldNames;if($e("fieldNames")&&(vt=(0,Ze.w$)(me.fieldNames),Ue.fieldNames=vt),$e("treeData")?ot=me.treeData:$e("children")&&((0,Ye.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ot=(0,Ze.zn)(me.children)),ot){Ue.treeData=ot;var zt=(0,Ze.I8)(ot,{fieldNames:vt});Ue.keyEntities=(0,Te.Z)((0,oe.Z)({},he,Tt),zt.keyEntities)}var tn=Ue.keyEntities||Se.keyEntities;if($e("expandedKeys")||Dt&&$e("autoExpandParent"))Ue.expandedKeys=me.autoExpandParent||!Dt&&me.defaultExpandParent?(0,yt.r7)(me.expandedKeys,tn):me.expandedKeys;else if(!Dt&&me.defaultExpandAll){var jt=(0,Te.Z)({},tn);delete jt[he];var on=[];Object.keys(jt).forEach(function(yn){var Xn=jt[yn];Xn.children&&Xn.children.length&&on.push(Xn.key)}),Ue.expandedKeys=on}else!Dt&&me.defaultExpandedKeys&&(Ue.expandedKeys=me.autoExpandParent||me.defaultExpandParent?(0,yt.r7)(me.defaultExpandedKeys,tn):me.defaultExpandedKeys);if(Ue.expandedKeys||delete Ue.expandedKeys,ot||Ue.expandedKeys){var Jt=(0,Ze.oH)(ot||Se.treeData,Ue.expandedKeys||Se.expandedKeys,vt);Ue.flattenNodes=Jt}if(me.selectable&&($e("selectedKeys")?Ue.selectedKeys=(0,yt.BT)(me.selectedKeys,me):!Dt&&me.defaultSelectedKeys&&(Ue.selectedKeys=(0,yt.BT)(me.defaultSelectedKeys,me))),me.checkable){var Pt;if($e("checkedKeys")?Pt=(0,yt.E6)(me.checkedKeys)||{}:!Dt&&me.defaultCheckedKeys?Pt=(0,yt.E6)(me.defaultCheckedKeys)||{}:ot&&(Pt=(0,yt.E6)(me.checkedKeys)||{checkedKeys:Se.checkedKeys,halfCheckedKeys:Se.halfCheckedKeys}),Pt){var ct=Pt,Ut=ct.checkedKeys,_t=Ut===void 0?[]:Ut,gn=ct.halfCheckedKeys,Mn=gn===void 0?[]:gn;if(!me.checkStrictly){var jn=(0,Qe.S)(_t,!0,tn);_t=jn.checkedKeys,Mn=jn.halfCheckedKeys}Ue.checkedKeys=_t,Ue.halfCheckedKeys=Mn}}return $e("loadedKeys")&&(Ue.loadedKeys=me.loadedKeys),Ue}}]),te}(He.Component);(0,oe.Z)(ce,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:at,allowDrop:function(){return!0},expandAction:!1}),(0,oe.Z)(ce,"TreeNode",ge.Z);var ie=ce,z=ie},82661:function(bn,cn,se){"use strict";se.d(cn,{BT:function(){return He},E6:function(){return at},L0:function(){return oe},OM:function(){return Ye},_5:function(){return Pe},r7:function(){return rt},wA:function(){return ye},yx:function(){return nt}});var re=se(3300),Ne=se(34666),Te=se(48736),Fe=se(59301),Ee=se(639),fe=se(65065),Oe=se(34061),Ce=null;function Pe(ke,be){if(!ke)return[];var Ve=ke.slice(),Ge=Ve.indexOf(be);return Ge>=0&&Ve.splice(Ge,1),Ve}function oe(ke,be){var Ve=(ke||[]).slice();return Ve.indexOf(be)===-1&&Ve.push(be),Ve}function nt(ke){return ke.split("-")}function ye(ke,be){var Ve=[],Ge=(0,fe.Z)(be,ke);function ft(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ge.forEach(function(Ae){var ze=Ae.key,Ze=Ae.children;Ve.push(ze),ft(Ze)})}return ft(Ge.children),Ve}function Ke(ke){if(ke.parent){var be=nt(ke.pos);return Number(be[be.length-1])===ke.parent.children.length-1}return!1}function Ie(ke){var be=nt(ke.pos);return Number(be[be.length-1])===0}function Ye(ke,be,Ve,Ge,ft,ge,Ae,ze,Ze,_e){var Re,Je=ke.clientX,Rt=ke.clientY,ht=ke.target.getBoundingClientRect(),mt=ht.top,St=ht.height,xe=(_e==="rtl"?-1:1)*(((ft==null?void 0:ft.x)||0)-Je),he=(xe-12)/Ge,qe=Ze.filter(function(z){var ee;return(ee=ze[z])===null||ee===void 0||(ee=ee.children)===null||ee===void 0?void 0:ee.length}),Tt=(0,fe.Z)(ze,Ve.eventKey);if(Rt<mt+St/2){var Mt=Ae.findIndex(function(z){return z.key===Tt.key}),Xe=Mt<=0?0:Mt-1,Ct=Ae[Xe].key;Tt=(0,fe.Z)(ze,Ct)}var tt=Tt.key,Ht=Tt,We=Tt.key,yt=0,Qe=0;if(!qe.includes(tt))for(var Bt=0;Bt<he&&Ke(Tt);Bt+=1)Tt=Tt.parent,Qe+=1;var bt=be.data,ce=Tt.node,ie=!0;return Ie(Tt)&&Tt.level===0&&Rt<mt+St/2&&ge({dragNode:bt,dropNode:ce,dropPosition:-1})&&Tt.key===Ve.eventKey?yt=-1:(Ht.children||[]).length&&qe.includes(We)?ge({dragNode:bt,dropNode:ce,dropPosition:0})?yt=0:ie=!1:Qe===0?he>-1.5?ge({dragNode:bt,dropNode:ce,dropPosition:1})?yt=1:ie=!1:ge({dragNode:bt,dropNode:ce,dropPosition:0})?yt=0:ge({dragNode:bt,dropNode:ce,dropPosition:1})?yt=1:ie=!1:ge({dragNode:bt,dropNode:ce,dropPosition:1})?yt=1:ie=!1,{dropPosition:yt,dropLevelOffset:Qe,dropTargetKey:Tt.key,dropTargetPos:Tt.pos,dragOverNodeKey:We,dropContainerKey:yt===0?null:((Re=Tt.parent)===null||Re===void 0?void 0:Re.key)||null,dropAllowed:ie}}function He(ke,be){if(ke){var Ve=be.multiple;return Ve?ke.slice():ke.length?[ke[0]]:ke}}var je=function(be){return be};function st(ke,be){if(!ke)return[];var Ve=be||{},Ge=Ve.processProps,ft=Ge===void 0?je:Ge,ge=Array.isArray(ke)?ke:[ke];return ge.map(function(Ae){var ze=Ae.children,Ze=_objectWithoutProperties(Ae,Ce),_e=st(ze,be);return React.createElement(TreeNode,_extends({key:Ze.key},ft(Ze)),_e)})}function at(ke){if(!ke)return null;var be;if(Array.isArray(ke))be={checkedKeys:ke,halfCheckedKeys:void 0};else if((0,Ne.Z)(ke)==="object")be={checkedKeys:ke.checked||void 0,halfCheckedKeys:ke.halfChecked||void 0};else return(0,Te.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return be}function rt(ke,be){var Ve=new Set;function Ge(ft){if(!Ve.has(ft)){var ge=(0,fe.Z)(be,ft);if(ge){Ve.add(ft);var Ae=ge.parent,ze=ge.node;ze.disabled||Ae&&Ge(Ae.key)}}}return(ke||[]).forEach(function(ft){Ge(ft)}),(0,re.Z)(Ve)}},34643:function(bn,cn,se){"use strict";se.d(cn,{S:function(){return Oe}});var re=se(48736),Ne=se(65065);function Te(Ce,Pe){var oe=new Set;return Ce.forEach(function(nt){Pe.has(nt)||oe.add(nt)}),oe}function Fe(Ce){var Pe=Ce||{},oe=Pe.disabled,nt=Pe.disableCheckbox,ye=Pe.checkable;return!!(oe||nt)||ye===!1}function Ee(Ce,Pe,oe,nt){for(var ye=new Set(Ce),Ke=new Set,Ie=0;Ie<=oe;Ie+=1){var Ye=Pe.get(Ie)||new Set;Ye.forEach(function(at){var rt=at.key,ke=at.node,be=at.children,Ve=be===void 0?[]:be;ye.has(rt)&&!nt(ke)&&Ve.filter(function(Ge){return!nt(Ge.node)}).forEach(function(Ge){ye.add(Ge.key)})})}for(var He=new Set,je=oe;je>=0;je-=1){var st=Pe.get(je)||new Set;st.forEach(function(at){var rt=at.parent,ke=at.node;if(!(nt(ke)||!at.parent||He.has(at.parent.key))){if(nt(at.parent.node)){He.add(rt.key);return}var be=!0,Ve=!1;(rt.children||[]).filter(function(Ge){return!nt(Ge.node)}).forEach(function(Ge){var ft=Ge.key,ge=ye.has(ft);be&&!ge&&(be=!1),!Ve&&(ge||Ke.has(ft))&&(Ve=!0)}),be&&ye.add(rt.key),Ve&&Ke.add(rt.key),He.add(rt.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(Te(Ke,ye))}}function fe(Ce,Pe,oe,nt,ye){for(var Ke=new Set(Ce),Ie=new Set(Pe),Ye=0;Ye<=nt;Ye+=1){var He=oe.get(Ye)||new Set;He.forEach(function(rt){var ke=rt.key,be=rt.node,Ve=rt.children,Ge=Ve===void 0?[]:Ve;!Ke.has(ke)&&!Ie.has(ke)&&!ye(be)&&Ge.filter(function(ft){return!ye(ft.node)}).forEach(function(ft){Ke.delete(ft.key)})})}Ie=new Set;for(var je=new Set,st=nt;st>=0;st-=1){var at=oe.get(st)||new Set;at.forEach(function(rt){var ke=rt.parent,be=rt.node;if(!(ye(be)||!rt.parent||je.has(rt.parent.key))){if(ye(rt.parent.node)){je.add(ke.key);return}var Ve=!0,Ge=!1;(ke.children||[]).filter(function(ft){return!ye(ft.node)}).forEach(function(ft){var ge=ft.key,Ae=Ke.has(ge);Ve&&!Ae&&(Ve=!1),!Ge&&(Ae||Ie.has(ge))&&(Ge=!0)}),Ve||Ke.delete(ke.key),Ge&&Ie.add(ke.key),je.add(ke.key)}})}return{checkedKeys:Array.from(Ke),halfCheckedKeys:Array.from(Te(Ie,Ke))}}function Oe(Ce,Pe,oe,nt){var ye=[],Ke;nt?Ke=nt:Ke=Fe;var Ie=new Set(Ce.filter(function(st){var at=!!(0,Ne.Z)(oe,st);return at||ye.push(st),at})),Ye=new Map,He=0;Object.keys(oe).forEach(function(st){var at=oe[st],rt=at.level,ke=Ye.get(rt);ke||(ke=new Set,Ye.set(rt,ke)),ke.add(at),He=Math.max(He,rt)}),(0,re.ZP)(!ye.length,"Tree missing follow keys: ".concat(ye.slice(0,100).map(function(st){return"'".concat(st,"'")}).join(", ")));var je;return Pe===!0?je=Ee(Ie,Ye,He,Ke):je=fe(Ie,Pe.halfCheckedKeys,Ye,He,Ke),je}},65065:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return re}});function re(Ne,Te){return Ne[Te]}},34061:function(bn,cn,se){"use strict";se.d(cn,{F:function(){return rt},H8:function(){return at},I8:function(){return st},km:function(){return ye},oH:function(){return He},w$:function(){return Ke},zn:function(){return Ye}});var re=se(34666),Ne=se(3300),Te=se(27247),Fe=se(43079),Ee=se(11592),fe=se(2738),Oe=se(48736),Ce=se(65065),Pe=["children"];function oe(ke,be){return"".concat(ke,"-").concat(be)}function nt(ke){return ke&&ke.type&&ke.type.isTreeNode}function ye(ke,be){return ke!=null?ke:be}function Ke(ke){var be=ke||{},Ve=be.title,Ge=be._title,ft=be.key,ge=be.children,Ae=Ve||"title";return{title:Ae,_title:Ge||[Ae],key:ft||"key",children:ge||"children"}}function Ie(ke,be){var Ve=new Map;function Ge(ft){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ft||[]).forEach(function(Ae){var ze=Ae[be.key],Ze=Ae[be.children];warning(ze!=null,"Tree node must have a certain key: [".concat(ge).concat(ze,"]"));var _e=String(ze);warning(!Ve.has(_e)||ze===null||ze===void 0,"Same 'key' exist in the Tree: ".concat(_e)),Ve.set(_e,!0),Ge(Ze,"".concat(ge).concat(_e," > "))})}Ge(ke)}function Ye(ke){function be(Ve){var Ge=(0,Ee.Z)(Ve);return Ge.map(function(ft){if(!nt(ft))return(0,Oe.ZP)(!ft,"Tree/TreeNode can only accept TreeNode as children."),null;var ge=ft.key,Ae=ft.props,ze=Ae.children,Ze=(0,Fe.Z)(Ae,Pe),_e=(0,Te.Z)({key:ge},Ze),Re=be(ze);return Re.length&&(_e.children=Re),_e}).filter(function(ft){return ft})}return be(ke)}function He(ke,be,Ve){var Ge=Ke(Ve),ft=Ge._title,ge=Ge.key,Ae=Ge.children,ze=new Set(be===!0?[]:be),Ze=[];function _e(Re){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Re.map(function(Rt,ht){for(var mt=oe(Je?Je.pos:"0",ht),St=ye(Rt[ge],mt),xe,he=0;he<ft.length;he+=1){var qe=ft[he];if(Rt[qe]!==void 0){xe=Rt[qe];break}}var Tt=Object.assign((0,fe.Z)(Rt,[].concat((0,Ne.Z)(ft),[ge,Ae])),{title:xe,key:St,parent:Je,pos:mt,children:null,data:Rt,isStart:[].concat((0,Ne.Z)(Je?Je.isStart:[]),[ht===0]),isEnd:[].concat((0,Ne.Z)(Je?Je.isEnd:[]),[ht===Re.length-1])});return Ze.push(Tt),be===!0||ze.has(St)?Tt.children=_e(Rt[Ae]||[],Tt):Tt.children=[],Tt})}return _e(ke),Ze}function je(ke,be,Ve){var Ge={};(0,re.Z)(Ve)==="object"?Ge=Ve:Ge={externalGetKey:Ve},Ge=Ge||{};var ft=Ge,ge=ft.childrenPropName,Ae=ft.externalGetKey,ze=ft.fieldNames,Ze=Ke(ze),_e=Ze.key,Re=Ze.children,Je=ge||Re,Rt;Ae?typeof Ae=="string"?Rt=function(St){return St[Ae]}:typeof Ae=="function"&&(Rt=function(St){return Ae(St)}):Rt=function(St,xe){return ye(St[_e],xe)};function ht(mt,St,xe,he){var qe=mt?mt[Je]:ke,Tt=mt?oe(xe.pos,St):"0",Mt=mt?[].concat((0,Ne.Z)(he),[mt]):[];if(mt){var Xe=Rt(mt,Tt),Ct={node:mt,index:St,pos:Tt,key:Xe,parentPos:xe.node?xe.pos:null,level:xe.level+1,nodes:Mt};be(Ct)}qe&&qe.forEach(function(tt,Ht){ht(tt,Ht,{node:mt,pos:Tt,level:xe?xe.level+1:-1},Mt)})}ht(null)}function st(ke){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ve=be.initWrapper,Ge=be.processEntity,ft=be.onProcessFinished,ge=be.externalGetKey,Ae=be.childrenPropName,ze=be.fieldNames,Ze=arguments.length>2?arguments[2]:void 0,_e=ge||Ze,Re={},Je={},Rt={posEntities:Re,keyEntities:Je};return Ve&&(Rt=Ve(Rt)||Rt),je(ke,function(ht){var mt=ht.node,St=ht.index,xe=ht.pos,he=ht.key,qe=ht.parentPos,Tt=ht.level,Mt=ht.nodes,Xe={node:mt,nodes:Mt,index:St,key:he,pos:xe,level:Tt},Ct=ye(he,xe);Re[xe]=Xe,Je[Ct]=Xe,Xe.parent=Re[qe],Xe.parent&&(Xe.parent.children=Xe.parent.children||[],Xe.parent.children.push(Xe)),Ge&&Ge(Xe,Rt)},{externalGetKey:_e,childrenPropName:Ae,fieldNames:ze}),ft&&ft(Rt),Rt}function at(ke,be){var Ve=be.expandedKeys,Ge=be.selectedKeys,ft=be.loadedKeys,ge=be.loadingKeys,Ae=be.checkedKeys,ze=be.halfCheckedKeys,Ze=be.dragOverNodeKey,_e=be.dropPosition,Re=be.keyEntities,Je=(0,Ce.Z)(Re,ke),Rt={eventKey:ke,expanded:Ve.indexOf(ke)!==-1,selected:Ge.indexOf(ke)!==-1,loaded:ft.indexOf(ke)!==-1,loading:ge.indexOf(ke)!==-1,checked:Ae.indexOf(ke)!==-1,halfChecked:ze.indexOf(ke)!==-1,pos:String(Je?Je.pos:""),dragOver:Ze===ke&&_e===0,dragOverGapTop:Ze===ke&&_e===-1,dragOverGapBottom:Ze===ke&&_e===1};return Rt}function rt(ke){var be=ke.data,Ve=ke.expanded,Ge=ke.selected,ft=ke.checked,ge=ke.loaded,Ae=ke.loading,ze=ke.halfChecked,Ze=ke.dragOver,_e=ke.dragOverGapTop,Re=ke.dragOverGapBottom,Je=ke.pos,Rt=ke.active,ht=ke.eventKey,mt=(0,Te.Z)((0,Te.Z)({},be),{},{expanded:Ve,selected:Ge,checked:ft,loaded:ge,loading:Ae,halfChecked:ze,dragOver:Ze,dragOverGapTop:_e,dragOverGapBottom:Re,pos:Je,active:Rt,key:ht});return"props"in mt||Object.defineProperty(mt,"props",{get:function(){return(0,Oe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ke}}),mt}},90472:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return ht}});var re=se(32855),Ne=se(33377),Te=se(93912),Fe=se(83383),Ee=se(18881),fe=se(85461),Oe=se(74430),Ce=se(59301),Pe=se(27247),oe=se(43079),nt=se(34666),ye=se(13932),Ke=se(68702),Ie=se(3300),Ye=se(92310),He=se.n(Ye),je=se(26112),st=se(48736),at=function(mt,St){if(mt&&St){var xe=Array.isArray(St)?St:St.split(","),he=mt.name||"",qe=mt.type||"",Tt=qe.replace(/\/.*$/,"");return xe.some(function(Mt){var Xe=Mt.trim();if(/^\*(\/\*)?$/.test(Mt))return!0;if(Xe.charAt(0)==="."){var Ct=he.toLowerCase(),tt=Xe.toLowerCase(),Ht=[tt];return(tt===".jpg"||tt===".jpeg")&&(Ht=[".jpg",".jpeg"]),Ht.some(function(We){return Ct.endsWith(We)})}return/\/\*$/.test(Xe)?Tt===Xe.replace(/\/.*$/,""):qe===Xe?!0:/^\w+$/.test(Xe)?((0,st.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Xe,"'.Skip for check.")),!0):!1})}return!0};function rt(mt,St){var xe="cannot ".concat(mt.method," ").concat(mt.action," ").concat(St.status,"'"),he=new Error(xe);return he.status=St.status,he.method=mt.method,he.url=mt.action,he}function ke(mt){var St=mt.responseText||mt.response;if(!St)return St;try{return JSON.parse(St)}catch(xe){return St}}function be(mt){var St=new XMLHttpRequest;mt.onProgress&&St.upload&&(St.upload.onprogress=function(Tt){Tt.total>0&&(Tt.percent=Tt.loaded/Tt.total*100),mt.onProgress(Tt)});var xe=new FormData;mt.data&&Object.keys(mt.data).forEach(function(qe){var Tt=mt.data[qe];if(Array.isArray(Tt)){Tt.forEach(function(Mt){xe.append("".concat(qe,"[]"),Mt)});return}xe.append(qe,Tt)}),mt.file instanceof Blob?xe.append(mt.filename,mt.file,mt.file.name):xe.append(mt.filename,mt.file),St.onerror=function(Tt){mt.onError(Tt)},St.onload=function(){return St.status<200||St.status>=300?mt.onError(rt(mt,St),ke(St)):mt.onSuccess(ke(St),St)},St.open(mt.method,mt.action,!0),mt.withCredentials&&"withCredentials"in St&&(St.withCredentials=!0);var he=mt.headers||{};return he["X-Requested-With"]!==null&&St.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(he).forEach(function(qe){he[qe]!==null&&St.setRequestHeader(qe,he[qe])}),St.send(xe),{abort:function(){St.abort()}}}var Ve=function(){var mt=(0,Ke.Z)((0,ye.Z)().mark(function St(xe,he){var qe,Tt,Mt,Xe,Ct,tt,Ht,We;return(0,ye.Z)().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:tt=function(){return tt=(0,Ke.Z)((0,ye.Z)().mark(function bt(ce){return(0,ye.Z)().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.abrupt("return",new Promise(function(ee){ce.file(function(ne){he(ne)?(ce.fullPath&&!ne.webkitRelativePath&&(Object.defineProperties(ne,{webkitRelativePath:{writable:!0}}),ne.webkitRelativePath=ce.fullPath.replace(/^\//,""),Object.defineProperties(ne,{webkitRelativePath:{writable:!1}})),ee(ne)):ee(null)})}));case 1:case"end":return z.stop()}},bt)})),tt.apply(this,arguments)},Ct=function(bt){return tt.apply(this,arguments)},Xe=function(){return Xe=(0,Ke.Z)((0,ye.Z)().mark(function bt(ce){var ie,z,ee,ne,te;return(0,ye.Z)().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:ie=ce.createReader(),z=[];case 2:return me.next=5,new Promise(function(Se){ie.readEntries(Se,function(){return Se([])})});case 5:if(ee=me.sent,ne=ee.length,ne){me.next=9;break}return me.abrupt("break",12);case 9:for(te=0;te<ne;te++)z.push(ee[te]);me.next=2;break;case 12:return me.abrupt("return",z);case 13:case"end":return me.stop()}},bt)})),Xe.apply(this,arguments)},Mt=function(bt){return Xe.apply(this,arguments)},qe=[],Tt=[],xe.forEach(function(Bt){return Tt.push(Bt.webkitGetAsEntry())}),Ht=function(){var Bt=(0,Ke.Z)((0,ye.Z)().mark(function bt(ce,ie){var z,ee;return(0,ye.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(ce){te.next=2;break}return te.abrupt("return");case 2:if(ce.path=ie||"",!ce.isFile){te.next=10;break}return te.next=6,Ct(ce);case 6:z=te.sent,z&&qe.push(z),te.next=15;break;case 10:if(!ce.isDirectory){te.next=15;break}return te.next=13,Mt(ce);case 13:ee=te.sent,Tt.push.apply(Tt,(0,Ie.Z)(ee));case 15:case"end":return te.stop()}},bt)}));return function(ce,ie){return Bt.apply(this,arguments)}}(),We=0;case 9:if(!(We<Tt.length)){Qe.next=15;break}return Qe.next=12,Ht(Tt[We]);case 12:We++,Qe.next=9;break;case 15:return Qe.abrupt("return",qe);case 16:case"end":return Qe.stop()}},St)}));return function(xe,he){return mt.apply(this,arguments)}}(),Ge=Ve,ft=+new Date,ge=0;function Ae(){return"rc-upload-".concat(ft,"-").concat(++ge)}var ze=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ze=function(mt){(0,Ee.Z)(xe,mt);var St=(0,fe.Z)(xe);function xe(){var he;(0,Ne.Z)(this,xe);for(var qe=arguments.length,Tt=new Array(qe),Mt=0;Mt<qe;Mt++)Tt[Mt]=arguments[Mt];return he=St.call.apply(St,[this].concat(Tt)),(0,Oe.Z)((0,Fe.Z)(he),"state",{uid:Ae()}),(0,Oe.Z)((0,Fe.Z)(he),"reqs",{}),(0,Oe.Z)((0,Fe.Z)(he),"fileInput",void 0),(0,Oe.Z)((0,Fe.Z)(he),"_isMounted",void 0),(0,Oe.Z)((0,Fe.Z)(he),"onChange",function(Xe){var Ct=he.props,tt=Ct.accept,Ht=Ct.directory,We=Xe.target.files,yt=(0,Ie.Z)(We).filter(function(Qe){return!Ht||at(Qe,tt)});he.uploadFiles(yt),he.reset()}),(0,Oe.Z)((0,Fe.Z)(he),"onClick",function(Xe){var Ct=he.fileInput;if(Ct){var tt=Xe.target,Ht=he.props.onClick;if(tt&&tt.tagName==="BUTTON"){var We=Ct.parentNode;We.focus(),tt.blur()}Ct.click(),Ht&&Ht(Xe)}}),(0,Oe.Z)((0,Fe.Z)(he),"onKeyDown",function(Xe){Xe.key==="Enter"&&he.onClick(Xe)}),(0,Oe.Z)((0,Fe.Z)(he),"onFileDrop",function(){var Xe=(0,Ke.Z)((0,ye.Z)().mark(function Ct(tt){var Ht,We,yt;return(0,ye.Z)().wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:if(Ht=he.props.multiple,tt.preventDefault(),tt.type!=="dragover"){Bt.next=4;break}return Bt.abrupt("return");case 4:if(!he.props.directory){Bt.next=11;break}return Bt.next=7,Ge(Array.prototype.slice.call(tt.dataTransfer.items),function(bt){return at(bt,he.props.accept)});case 7:We=Bt.sent,he.uploadFiles(We),Bt.next=14;break;case 11:yt=(0,Ie.Z)(tt.dataTransfer.files).filter(function(bt){return at(bt,he.props.accept)}),Ht===!1&&(yt=yt.slice(0,1)),he.uploadFiles(yt);case 14:case"end":return Bt.stop()}},Ct)}));return function(Ct){return Xe.apply(this,arguments)}}()),(0,Oe.Z)((0,Fe.Z)(he),"uploadFiles",function(Xe){var Ct=(0,Ie.Z)(Xe),tt=Ct.map(function(Ht){return Ht.uid=Ae(),he.processFile(Ht,Ct)});Promise.all(tt).then(function(Ht){var We=he.props.onBatchStart;We==null||We(Ht.map(function(yt){var Qe=yt.origin,Bt=yt.parsedFile;return{file:Qe,parsedFile:Bt}})),Ht.filter(function(yt){return yt.parsedFile!==null}).forEach(function(yt){he.post(yt)})})}),(0,Oe.Z)((0,Fe.Z)(he),"processFile",function(){var Xe=(0,Ke.Z)((0,ye.Z)().mark(function Ct(tt,Ht){var We,yt,Qe,Bt,bt,ce,ie,z,ee;return(0,ye.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(We=he.props.beforeUpload,yt=tt,!We){te.next=14;break}return te.prev=3,te.next=6,We(tt,Ht);case 6:yt=te.sent,te.next=12;break;case 9:te.prev=9,te.t0=te.catch(3),yt=!1;case 12:if(yt!==!1){te.next=14;break}return te.abrupt("return",{origin:tt,parsedFile:null,action:null,data:null});case 14:if(Qe=he.props.action,typeof Qe!="function"){te.next=21;break}return te.next=18,Qe(tt);case 18:Bt=te.sent,te.next=22;break;case 21:Bt=Qe;case 22:if(bt=he.props.data,typeof bt!="function"){te.next=29;break}return te.next=26,bt(tt);case 26:ce=te.sent,te.next=30;break;case 29:ce=bt;case 30:return ie=((0,nt.Z)(yt)==="object"||typeof yt=="string")&&yt?yt:tt,ie instanceof File?z=ie:z=new File([ie],tt.name,{type:tt.type}),ee=z,ee.uid=tt.uid,te.abrupt("return",{origin:tt,data:ce,parsedFile:ee,action:Bt});case 35:case"end":return te.stop()}},Ct,null,[[3,9]])}));return function(Ct,tt){return Xe.apply(this,arguments)}}()),(0,Oe.Z)((0,Fe.Z)(he),"saveFileInput",function(Xe){he.fileInput=Xe}),he}return(0,Te.Z)(xe,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(qe){var Tt=this,Mt=qe.data,Xe=qe.origin,Ct=qe.action,tt=qe.parsedFile;if(this._isMounted){var Ht=this.props,We=Ht.onStart,yt=Ht.customRequest,Qe=Ht.name,Bt=Ht.headers,bt=Ht.withCredentials,ce=Ht.method,ie=Xe.uid,z=yt||be,ee={action:Ct,filename:Qe,data:Mt,file:tt,headers:Bt,withCredentials:bt,method:ce||"post",onProgress:function(te){var ue=Tt.props.onProgress;ue==null||ue(te,tt)},onSuccess:function(te,ue){var me=Tt.props.onSuccess;me==null||me(te,tt,ue),delete Tt.reqs[ie]},onError:function(te,ue){var me=Tt.props.onError;me==null||me(te,ue,tt),delete Tt.reqs[ie]}};We(Xe),this.reqs[ie]=z(ee)}}},{key:"reset",value:function(){this.setState({uid:Ae()})}},{key:"abort",value:function(qe){var Tt=this.reqs;if(qe){var Mt=qe.uid?qe.uid:qe;Tt[Mt]&&Tt[Mt].abort&&Tt[Mt].abort(),delete Tt[Mt]}else Object.keys(Tt).forEach(function(Xe){Tt[Xe]&&Tt[Xe].abort&&Tt[Xe].abort(),delete Tt[Xe]})}},{key:"render",value:function(){var qe=this.props,Tt=qe.component,Mt=qe.prefixCls,Xe=qe.className,Ct=qe.classNames,tt=Ct===void 0?{}:Ct,Ht=qe.disabled,We=qe.id,yt=qe.name,Qe=qe.style,Bt=qe.styles,bt=Bt===void 0?{}:Bt,ce=qe.multiple,ie=qe.accept,z=qe.capture,ee=qe.children,ne=qe.directory,te=qe.openFileDialogOnClick,ue=qe.onMouseEnter,me=qe.onMouseLeave,Se=qe.hasControlInside,Dt=(0,oe.Z)(qe,ze),Ue=He()((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Mt,!0),"".concat(Mt,"-disabled"),Ht),Xe,Xe)),$e=ne?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ot=Ht?{}:{onClick:te?this.onClick:function(){},onKeyDown:te?this.onKeyDown:function(){},onMouseEnter:ue,onMouseLeave:me,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Se?void 0:"0"};return Ce.createElement(Tt,(0,re.Z)({},ot,{className:Ue,role:Se?void 0:"button",style:Qe}),Ce.createElement("input",(0,re.Z)({},(0,je.Z)(Dt,{aria:!0,data:!0}),{id:We,name:yt,disabled:Ht,type:"file",ref:this.saveFileInput,onClick:function(zt){return zt.stopPropagation()},key:this.state.uid,style:(0,Pe.Z)({display:"none"},bt.input),className:tt.input,accept:ie},$e,{multiple:ce,onChange:this.onChange},z!=null?{capture:z}:{})),ee)}}]),xe}(Ce.Component),_e=Ze;function Re(){}var Je=function(mt){(0,Ee.Z)(xe,mt);var St=(0,fe.Z)(xe);function xe(){var he;(0,Ne.Z)(this,xe);for(var qe=arguments.length,Tt=new Array(qe),Mt=0;Mt<qe;Mt++)Tt[Mt]=arguments[Mt];return he=St.call.apply(St,[this].concat(Tt)),(0,Oe.Z)((0,Fe.Z)(he),"uploader",void 0),(0,Oe.Z)((0,Fe.Z)(he),"saveUploader",function(Xe){he.uploader=Xe}),he}return(0,Te.Z)(xe,[{key:"abort",value:function(qe){this.uploader.abort(qe)}},{key:"render",value:function(){return Ce.createElement(_e,(0,re.Z)({},this.props,{ref:this.saveUploader}))}}]),xe}(Ce.Component);(0,Oe.Z)(Je,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Re,onError:Re,onSuccess:Re,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Rt=Je,ht=Rt},8224:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ne}});var re=se(4676);function Ne(Te,Fe,Ee,fe){var Oe=re.unstable_batchedUpdates?function(Pe){re.unstable_batchedUpdates(Ee,Pe)}:Ee;return Te!=null&&Te.addEventListener&&Te.addEventListener(Fe,Oe,fe),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(Fe,Oe,fe)}}}},24514:function(bn,cn,se){"use strict";se.d(cn,{G:function(){return Fe}});var re=se(47273),Ne=function(fe){if((0,re.Z)()&&window.document.documentElement){var Oe=Array.isArray(fe)?fe:[fe],Ce=window.document.documentElement;return Oe.some(function(Pe){return Pe in Ce.style})}return!1},Te=function(fe,Oe){if(!Ne(fe))return!1;var Ce=document.createElement("div"),Pe=Ce.style[fe];return Ce.style[fe]=Oe,Ce.style[fe]!==Pe};function Fe(Ee,fe){return!Array.isArray(Ee)&&fe!==void 0?Te(Ee,fe):Ne(Ee)}},6790:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return bt}});var re=se(32855),Ne=se(34666),Te=se(27247),Fe=se(74430),Ee=se(11913),fe=se(43079),Oe=se(92310),Ce=se.n(Oe),Pe=se(29301),oe=se(70425),nt=se(34280),ye=se(59301),Ke=se(4676),Ie=ye.forwardRef(function(ce,ie){var z=ce.height,ee=ce.offsetY,ne=ce.offsetX,te=ce.children,ue=ce.prefixCls,me=ce.onInnerResize,Se=ce.innerProps,Dt=ce.rtl,Ue=ce.extra,$e={},ot={display:"flex",flexDirection:"column"};return ee!==void 0&&($e={height:z,position:"relative",overflow:"hidden"},ot=(0,Te.Z)((0,Te.Z)({},ot),{},(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({transform:"translateY(".concat(ee,"px)")},Dt?"marginRight":"marginLeft",-ne),"position","absolute"),"left",0),"right",0),"top",0))),ye.createElement("div",{style:$e},ye.createElement(Pe.Z,{onResize:function(zt){var tn=zt.offsetHeight;tn&&me&&me()}},ye.createElement("div",(0,re.Z)({style:ot,className:Ce()((0,Fe.Z)({},"".concat(ue,"-holder-inner"),ue)),ref:ie},Se),te,Ue)))});Ie.displayName="Filler";var Ye=Ie;function He(ce){var ie=ce.children,z=ce.setRef,ee=ye.useCallback(function(ne){z(ne)},[]);return ye.cloneElement(ie,{ref:ee})}function je(ce,ie,z,ee,ne,te,ue,me){var Se=me.getKey;return ce.slice(ie,z+1).map(function(Dt,Ue){var $e=ie+Ue,ot=ue(Dt,$e,{style:{width:ee},offsetX:ne}),vt=Se(Dt);return ye.createElement(He,{key:vt,setRef:function(tn){return te(Dt,tn)}},ot)})}function st(ce,ie,z,ee){var ne=z-ce,te=ie-z,ue=Math.min(ne,te)*2;if(ee<=ue){var me=Math.floor(ee/2);return ee%2?z+me+1:z-me}return ne>te?z-(ee-te):z+(ee-ne)}function at(ce,ie,z){var ee=ce.length,ne=ie.length,te,ue;if(ee===0&&ne===0)return null;ee<ne?(te=ce,ue=ie):(te=ie,ue=ce);var me={__EMPTY_ITEM__:!0};function Se(zt){return zt!==void 0?z(zt):me}for(var Dt=null,Ue=Math.abs(ee-ne)!==1,$e=0;$e<ue.length;$e+=1){var ot=Se(te[$e]),vt=Se(ue[$e]);if(ot!==vt){Dt=$e,Ue=Ue||ot!==Se(ue[$e+1]);break}}return Dt===null?null:{index:Dt,multiple:Ue}}function rt(ce,ie,z){var ee=ye.useState(ce),ne=(0,Ee.Z)(ee,2),te=ne[0],ue=ne[1],me=ye.useState(null),Se=(0,Ee.Z)(me,2),Dt=Se[0],Ue=Se[1];return ye.useEffect(function(){var $e=at(te||[],ce||[],ie);($e==null?void 0:$e.index)!==void 0&&(z==null||z($e.index),Ue(ce[$e.index])),ue(ce)},[ce]),[Dt]}var ke=se(16089),be=(typeof navigator=="undefined"?"undefined":(0,Ne.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ve=be,Ge=function(ce,ie,z,ee){var ne=(0,ye.useRef)(!1),te=(0,ye.useRef)(null);function ue(){clearTimeout(te.current),ne.current=!0,te.current=setTimeout(function(){ne.current=!1},50)}var me=(0,ye.useRef)({top:ce,bottom:ie,left:z,right:ee});return me.current.top=ce,me.current.bottom=ie,me.current.left=z,me.current.right=ee,function(Se,Dt){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$e=Se?Dt<0&&me.current.left||Dt>0&&me.current.right:Dt<0&&me.current.top||Dt>0&&me.current.bottom;return Ue&&$e?(clearTimeout(te.current),ne.current=!1):(!$e||ne.current)&&ue(),!ne.current&&$e}};function ft(ce,ie,z,ee,ne,te,ue){var me=(0,ye.useRef)(0),Se=(0,ye.useRef)(null),Dt=(0,ye.useRef)(null),Ue=(0,ye.useRef)(!1),$e=Ge(ie,z,ee,ne);function ot(Jt,Pt){if(ke.Z.cancel(Se.current),!$e(!1,Pt)){var ct=Jt;if(!ct._virtualHandled)ct._virtualHandled=!0;else return;me.current+=Pt,Dt.current=Pt,Ve||ct.preventDefault(),Se.current=(0,ke.Z)(function(){var Ut=Ue.current?10:1;ue(me.current*Ut,!1),me.current=0})}}function vt(Jt,Pt){ue(Pt,!0),Ve||Jt.preventDefault()}var zt=(0,ye.useRef)(null),tn=(0,ye.useRef)(null);function jt(Jt){if(ce){ke.Z.cancel(tn.current),tn.current=(0,ke.Z)(function(){zt.current=null},2);var Pt=Jt.deltaX,ct=Jt.deltaY,Ut=Jt.shiftKey,_t=Pt,gn=ct;(zt.current==="sx"||!zt.current&&Ut&&ct&&!Pt)&&(_t=ct,gn=0,zt.current="sx");var Mn=Math.abs(_t),jn=Math.abs(gn);zt.current===null&&(zt.current=te&&Mn>jn?"x":"y"),zt.current==="y"?ot(Jt,gn):vt(Jt,_t)}}function on(Jt){ce&&(Ue.current=Jt.detail===Dt.current)}return[jt,on]}function ge(ce,ie,z,ee){var ne=ye.useMemo(function(){return[new Map,[]]},[ce,z.id,ee]),te=(0,Ee.Z)(ne,2),ue=te[0],me=te[1],Se=function(Ue){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue,ot=ue.get(Ue),vt=ue.get($e);if(ot===void 0||vt===void 0)for(var zt=ce.length,tn=me.length;tn<zt;tn+=1){var jt,on=ce[tn],Jt=ie(on);ue.set(Jt,tn);var Pt=(jt=z.get(Jt))!==null&&jt!==void 0?jt:ee;if(me[tn]=(me[tn-1]||0)+Pt,Jt===Ue&&(ot=tn),Jt===$e&&(vt=tn),ot!==void 0&&vt!==void 0)break}return{top:me[ot-1]||0,bottom:me[vt]}};return Se}var Ae=se(33377),ze=se(93912),Ze=function(){function ce(){(0,Ae.Z)(this,ce),(0,Fe.Z)(this,"maps",void 0),(0,Fe.Z)(this,"id",0),(0,Fe.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ze.Z)(ce,[{key:"set",value:function(z,ee){this.diffRecords.set(z,this.maps[z]),this.maps[z]=ee,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}}]),ce}(),_e=Ze;function Re(ce){var ie=parseFloat(ce);return isNaN(ie)?0:ie}function Je(ce,ie,z){var ee=ye.useState(0),ne=(0,Ee.Z)(ee,2),te=ne[0],ue=ne[1],me=(0,ye.useRef)(new Map),Se=(0,ye.useRef)(new _e),Dt=(0,ye.useRef)(0);function Ue(){Dt.current+=1}function $e(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ue();var zt=function(){var on=!1;me.current.forEach(function(Jt,Pt){if(Jt&&Jt.offsetParent){var ct=Jt.offsetHeight,Ut=getComputedStyle(Jt),_t=Ut.marginTop,gn=Ut.marginBottom,Mn=Re(_t),jn=Re(gn),yn=ct+Mn+jn;Se.current.get(Pt)!==yn&&(Se.current.set(Pt,yn),on=!0)}}),on&&ue(function(Jt){return Jt+1})};if(vt)zt();else{Dt.current+=1;var tn=Dt.current;Promise.resolve().then(function(){tn===Dt.current&&zt()})}}function ot(vt,zt){var tn=ce(vt),jt=me.current.get(tn);zt?(me.current.set(tn,zt),$e()):me.current.delete(tn),!jt!=!zt&&(zt?ie==null||ie(vt):z==null||z(vt))}return(0,ye.useEffect)(function(){return Ue},[]),[ot,$e,Se.current,te]}var Rt=14/15;function ht(ce,ie,z){var ee=(0,ye.useRef)(!1),ne=(0,ye.useRef)(0),te=(0,ye.useRef)(0),ue=(0,ye.useRef)(null),me=(0,ye.useRef)(null),Se,Dt=function(vt){if(ee.current){var zt=Math.ceil(vt.touches[0].pageX),tn=Math.ceil(vt.touches[0].pageY),jt=ne.current-zt,on=te.current-tn,Jt=Math.abs(jt)>Math.abs(on);Jt?ne.current=zt:te.current=tn;var Pt=z(Jt,Jt?jt:on,!1,vt);Pt&&vt.preventDefault(),clearInterval(me.current),Pt&&(me.current=setInterval(function(){Jt?jt*=Rt:on*=Rt;var ct=Math.floor(Jt?jt:on);(!z(Jt,ct,!0)||Math.abs(ct)<=.1)&&clearInterval(me.current)},16))}},Ue=function(){ee.current=!1,Se()},$e=function(vt){Se(),vt.touches.length===1&&!ee.current&&(ee.current=!0,ne.current=Math.ceil(vt.touches[0].pageX),te.current=Math.ceil(vt.touches[0].pageY),ue.current=vt.target,ue.current.addEventListener("touchmove",Dt,{passive:!1}),ue.current.addEventListener("touchend",Ue,{passive:!0}))};Se=function(){ue.current&&(ue.current.removeEventListener("touchmove",Dt),ue.current.removeEventListener("touchend",Ue))},(0,nt.Z)(function(){return ce&&ie.current.addEventListener("touchstart",$e,{passive:!0}),function(){var ot;(ot=ie.current)===null||ot===void 0||ot.removeEventListener("touchstart",$e),Se(),clearInterval(me.current)}},[ce])}function mt(ce){return Math.floor(Math.pow(ce,.5))}function St(ce,ie){var z="touches"in ce?ce.touches[0]:ce;return z[ie?"pageX":"pageY"]-window[ie?"scrollX":"scrollY"]}function xe(ce,ie,z){ye.useEffect(function(){var ee=ie.current;if(ce&&ee){var ne=!1,te,ue,me=function(){ke.Z.cancel(te)},Se=function ot(){me(),te=(0,ke.Z)(function(){z(ue),ot()})},Dt=function(vt){if(!(vt.target.draggable||vt.button!==0)){var zt=vt;zt._virtualHandled||(zt._virtualHandled=!0,ne=!0)}},Ue=function(){ne=!1,me()},$e=function(vt){if(ne){var zt=St(vt,!1),tn=ee.getBoundingClientRect(),jt=tn.top,on=tn.bottom;if(zt<=jt){var Jt=jt-zt;ue=-mt(Jt),Se()}else if(zt>=on){var Pt=zt-on;ue=mt(Pt),Se()}else me()}};return ee.addEventListener("mousedown",Dt),ee.ownerDocument.addEventListener("mouseup",Ue),ee.ownerDocument.addEventListener("mousemove",$e),function(){ee.removeEventListener("mousedown",Dt),ee.ownerDocument.removeEventListener("mouseup",Ue),ee.ownerDocument.removeEventListener("mousemove",$e),me()}}},[ce])}var he=10;function qe(ce,ie,z,ee,ne,te,ue,me){var Se=ye.useRef(),Dt=ye.useState(null),Ue=(0,Ee.Z)(Dt,2),$e=Ue[0],ot=Ue[1];return(0,nt.Z)(function(){if($e&&$e.times<he){if(!ce.current){ot(function(Ir){return(0,Te.Z)({},Ir)});return}te();var vt=$e.targetAlign,zt=$e.originAlign,tn=$e.index,jt=$e.offset,on=ce.current.clientHeight,Jt=!1,Pt=vt,ct=null;if(on){for(var Ut=vt||zt,_t=0,gn=0,Mn=0,jn=Math.min(ie.length-1,tn),yn=0;yn<=jn;yn+=1){var Xn=ne(ie[yn]);gn=_t;var Qn=z.get(Xn);Mn=gn+(Qn===void 0?ee:Qn),_t=Mn}for(var cr=Ut==="top"?jt:on-jt,Br=jn;Br>=0;Br-=1){var ar=ne(ie[Br]),Lr=z.get(ar);if(Lr===void 0){Jt=!0;break}if(cr-=Lr,cr<=0)break}switch(Ut){case"top":ct=gn-jt;break;case"bottom":ct=Mn-on+jt;break;default:{var Er=ce.current.scrollTop,Wn=Er+on;gn<Er?Pt="top":Mn>Wn&&(Pt="bottom")}}ct!==null&&ue(ct),ct!==$e.lastTop&&(Jt=!0)}Jt&&ot((0,Te.Z)((0,Te.Z)({},$e),{},{times:$e.times+1,targetAlign:Pt,lastTop:ct}))}},[$e,ce.current]),function(vt){if(vt==null){me();return}if(ke.Z.cancel(Se.current),typeof vt=="number")ue(vt);else if(vt&&(0,Ne.Z)(vt)==="object"){var zt,tn=vt.align;"index"in vt?zt=vt.index:zt=ie.findIndex(function(Jt){return ne(Jt)===vt.key});var jt=vt.offset,on=jt===void 0?0:jt;ot({times:0,index:zt,offset:on,originAlign:tn})}}}var Tt=ye.forwardRef(function(ce,ie){var z=ce.prefixCls,ee=ce.rtl,ne=ce.scrollOffset,te=ce.scrollRange,ue=ce.onStartMove,me=ce.onStopMove,Se=ce.onScroll,Dt=ce.horizontal,Ue=ce.spinSize,$e=ce.containerSize,ot=ce.style,vt=ce.thumbStyle,zt=ce.showScrollBar,tn=ye.useState(!1),jt=(0,Ee.Z)(tn,2),on=jt[0],Jt=jt[1],Pt=ye.useState(null),ct=(0,Ee.Z)(Pt,2),Ut=ct[0],_t=ct[1],gn=ye.useState(null),Mn=(0,Ee.Z)(gn,2),jn=Mn[0],yn=Mn[1],Xn=!ee,Qn=ye.useRef(),cr=ye.useRef(),Br=ye.useState(zt),ar=(0,Ee.Z)(Br,2),Lr=ar[0],Er=ar[1],Wn=ye.useRef(),Ir=function(){zt===!0||zt===!1||(clearTimeout(Wn.current),Er(!0),Wn.current=setTimeout(function(){Er(!1)},3e3))},Or=te-$e||0,Ft=$e-Ue||0,Qt=ye.useMemo(function(){if(ne===0||Or===0)return 0;var fr=ne/Or;return fr*Ft},[ne,Or,Ft]),It=function(dr){dr.stopPropagation(),dr.preventDefault()},Nt=ye.useRef({top:Qt,dragging:on,pageY:Ut,startTop:jn});Nt.current={top:Qt,dragging:on,pageY:Ut,startTop:jn};var kt=function(dr){Jt(!0),_t(St(dr,Dt)),yn(Nt.current.top),ue(),dr.stopPropagation(),dr.preventDefault()};ye.useEffect(function(){var fr=function(Ln){Ln.preventDefault()},dr=Qn.current,Cr=cr.current;return dr.addEventListener("touchstart",fr,{passive:!1}),Cr.addEventListener("touchstart",kt,{passive:!1}),function(){dr.removeEventListener("touchstart",fr),Cr.removeEventListener("touchstart",kt)}},[]);var mn=ye.useRef();mn.current=Or;var _n=ye.useRef();_n.current=Ft,ye.useEffect(function(){if(on){var fr,dr=function(Ln){var $t=Nt.current,$n=$t.dragging,Zr=$t.pageY,Rr=$t.startTop;ke.Z.cancel(fr);var dt=Qn.current.getBoundingClientRect(),xt=$e/(Dt?dt.width:dt.height);if($n){var Rn=(St(Ln,Dt)-Zr)*xt,En=Rr;!Xn&&Dt?En-=Rn:En+=Rn;var Lt=mn.current,Sn=_n.current,Zn=Sn?En/Sn:0,zn=Math.ceil(Zn*Lt);zn=Math.max(zn,0),zn=Math.min(zn,Lt),fr=(0,ke.Z)(function(){Se(zn,Dt)})}},Cr=function(){Jt(!1),me()};return window.addEventListener("mousemove",dr,{passive:!0}),window.addEventListener("touchmove",dr,{passive:!0}),window.addEventListener("mouseup",Cr,{passive:!0}),window.addEventListener("touchend",Cr,{passive:!0}),function(){window.removeEventListener("mousemove",dr),window.removeEventListener("touchmove",dr),window.removeEventListener("mouseup",Cr),window.removeEventListener("touchend",Cr),ke.Z.cancel(fr)}}},[on]),ye.useEffect(function(){return Ir(),function(){clearTimeout(Wn.current)}},[ne]),ye.useImperativeHandle(ie,function(){return{delayHidden:Ir}});var Yn="".concat(z,"-scrollbar"),Hn={position:"absolute",visibility:Lr?null:"hidden"},rr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Dt?(Object.assign(Hn,{height:8,left:0,right:0,bottom:0}),Object.assign(rr,(0,Fe.Z)({height:"100%",width:Ue},Xn?"left":"right",Qt))):(Object.assign(Hn,(0,Fe.Z)({width:8,top:0,bottom:0},Xn?"right":"left",0)),Object.assign(rr,{width:"100%",height:Ue,top:Qt})),ye.createElement("div",{ref:Qn,className:Ce()(Yn,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},"".concat(Yn,"-horizontal"),Dt),"".concat(Yn,"-vertical"),!Dt),"".concat(Yn,"-visible"),Lr)),style:(0,Te.Z)((0,Te.Z)({},Hn),ot),onMouseDown:It,onMouseMove:Ir},ye.createElement("div",{ref:cr,className:Ce()("".concat(Yn,"-thumb"),(0,Fe.Z)({},"".concat(Yn,"-thumb-moving"),on)),style:(0,Te.Z)((0,Te.Z)({},rr),vt),onMouseDown:kt}))}),Mt=Tt,Xe=20;function Ct(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=ce/ie*ce;return isNaN(z)&&(z=0),z=Math.max(z,Xe),Math.floor(z)}var tt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ht=[],We={overflowY:"auto",overflowAnchor:"none"};function yt(ce,ie){var z=ce.prefixCls,ee=z===void 0?"rc-virtual-list":z,ne=ce.className,te=ce.height,ue=ce.itemHeight,me=ce.fullHeight,Se=me===void 0?!0:me,Dt=ce.style,Ue=ce.data,$e=ce.children,ot=ce.itemKey,vt=ce.virtual,zt=ce.direction,tn=ce.scrollWidth,jt=ce.component,on=jt===void 0?"div":jt,Jt=ce.onScroll,Pt=ce.onVirtualScroll,ct=ce.onVisibleChange,Ut=ce.innerProps,_t=ce.extraRender,gn=ce.styles,Mn=ce.showScrollBar,jn=Mn===void 0?"optional":Mn,yn=(0,fe.Z)(ce,tt),Xn=ye.useCallback(function(Ot){return typeof ot=="function"?ot(Ot):Ot==null?void 0:Ot[ot]},[ot]),Qn=Je(Xn,null,null),cr=(0,Ee.Z)(Qn,4),Br=cr[0],ar=cr[1],Lr=cr[2],Er=cr[3],Wn=!!(vt!==!1&&te&&ue),Ir=ye.useMemo(function(){return Object.values(Lr.maps).reduce(function(Ot,un){return Ot+un},0)},[Lr.id,Lr.maps]),Or=Wn&&Ue&&(Math.max(ue*Ue.length,Ir)>te||!!tn),Ft=zt==="rtl",Qt=Ce()(ee,(0,Fe.Z)({},"".concat(ee,"-rtl"),Ft),ne),It=Ue||Ht,Nt=(0,ye.useRef)(),kt=(0,ye.useRef)(),mn=(0,ye.useRef)(),_n=(0,ye.useState)(0),Yn=(0,Ee.Z)(_n,2),Hn=Yn[0],rr=Yn[1],fr=(0,ye.useState)(0),dr=(0,Ee.Z)(fr,2),Cr=dr[0],Tr=dr[1],Ln=(0,ye.useState)(!1),$t=(0,Ee.Z)(Ln,2),$n=$t[0],Zr=$t[1],Rr=function(){Zr(!0)},dt=function(){Zr(!1)},xt={getKey:Xn};function Rn(Ot){rr(function(un){var At;typeof Ot=="function"?At=Ot(un):At=Ot;var gt=Wi(At);return Nt.current.scrollTop=gt,gt})}var En=(0,ye.useRef)({start:0,end:It.length}),Lt=(0,ye.useRef)(),Sn=rt(It,Xn),Zn=(0,Ee.Z)(Sn,1),zn=Zn[0];Lt.current=zn;var ir=ye.useMemo(function(){if(!Wn)return{scrollHeight:void 0,start:0,end:It.length-1,offset:void 0};if(!Or){var Ot;return{scrollHeight:((Ot=kt.current)===null||Ot===void 0?void 0:Ot.offsetHeight)||0,start:0,end:It.length-1,offset:void 0}}for(var un=0,At,gt,Wt,sn=It.length,le=0;le<sn;le+=1){var De=It[le],Be=Xn(De),Me=Lr.get(Be),Le=un+(Me===void 0?ue:Me);Le>=Hn&&At===void 0&&(At=le,gt=un),Le>Hn+te&&Wt===void 0&&(Wt=le),un=Le}return At===void 0&&(At=0,gt=0,Wt=Math.ceil(te/ue)),Wt===void 0&&(Wt=It.length-1),Wt=Math.min(Wt+1,It.length-1),{scrollHeight:un,start:At,end:Wt,offset:gt}},[Or,Wn,Hn,It,Er,te]),Kt=ir.scrollHeight,er=ir.start,Dn=ir.end,Wr=ir.offset;En.current.start=er,En.current.end=Dn,ye.useLayoutEffect(function(){var Ot=Lr.getRecord();if(Ot.size===1){var un=Array.from(Ot.keys())[0],At=Ot.get(un),gt=It[er];if(gt&&At===void 0){var Wt=Xn(gt);if(Wt===un){var sn=Lr.get(un),le=sn-ue;Rn(function(De){return De+le})}}}Lr.resetRecord()},[Kt]);var qn=ye.useState({width:0,height:te}),Pr=(0,Ee.Z)(qn,2),Nr=Pr[0],jr=Pr[1],Vr=function(un){jr({width:un.offsetWidth,height:un.offsetHeight})},li=(0,ye.useRef)(),Di=(0,ye.useRef)(),fi=ye.useMemo(function(){return Ct(Nr.width,tn)},[Nr.width,tn]),Li=ye.useMemo(function(){return Ct(Nr.height,Kt)},[Nr.height,Kt]),ei=Kt-te,Mi=(0,ye.useRef)(ei);Mi.current=ei;function Wi(Ot){var un=Ot;return Number.isNaN(Mi.current)||(un=Math.min(un,Mi.current)),un=Math.max(un,0),un}var Fi=Hn<=0,Ri=Hn>=ei,Hi=Cr<=0,Ti=Cr>=tn,ci=Ge(Fi,Ri,Hi,Ti),ji=function(){return{x:Ft?-Cr:Cr,y:Hn}},Oi=(0,ye.useRef)(ji()),wr=(0,oe.zX)(function(Ot){if(Pt){var un=(0,Te.Z)((0,Te.Z)({},ji()),Ot);(Oi.current.x!==un.x||Oi.current.y!==un.y)&&(Pt(un),Oi.current=un)}});function Yr(Ot,un){var At=Ot;un?((0,Ke.flushSync)(function(){Tr(At)}),wr()):Rn(At)}function si(Ot){var un=Ot.currentTarget.scrollTop;un!==Hn&&Rn(un),Jt==null||Jt(Ot),wr()}var wi=function(un){var At=un,gt=tn?tn-Nr.width:0;return At=Math.max(At,0),At=Math.min(At,gt),At},xi=(0,oe.zX)(function(Ot,un){un?((0,Ke.flushSync)(function(){Tr(function(At){var gt=At+(Ft?-Ot:Ot);return wi(gt)})}),wr()):Rn(function(At){var gt=At+Ot;return gt})}),Ei=ft(Wn,Fi,Ri,Hi,Ti,!!tn,xi),Vi=(0,Ee.Z)(Ei,2),et=Vi[0],Yt=Vi[1];ht(Wn,Nt,function(Ot,un,At,gt){var Wt=gt;return ci(Ot,un,At)?!1:!Wt||!Wt._virtualHandled?(Wt&&(Wt._virtualHandled=!0),et({preventDefault:function(){},deltaX:Ot?un:0,deltaY:Ot?0:un}),!0):!1}),xe(Or,Nt,function(Ot){Rn(function(un){return un+Ot})}),(0,nt.Z)(function(){function Ot(At){var gt=Fi&&At.detail<0,Wt=Ri&&At.detail>0;Wn&&!gt&&!Wt&&At.preventDefault()}var un=Nt.current;return un.addEventListener("wheel",et,{passive:!1}),un.addEventListener("DOMMouseScroll",Yt,{passive:!0}),un.addEventListener("MozMousePixelScroll",Ot,{passive:!1}),function(){un.removeEventListener("wheel",et),un.removeEventListener("DOMMouseScroll",Yt),un.removeEventListener("MozMousePixelScroll",Ot)}},[Wn,Fi,Ri]),(0,nt.Z)(function(){if(tn){var Ot=wi(Cr);Tr(Ot),wr({x:Ot})}},[Nr.width,tn]);var Zt=function(){var un,At;(un=li.current)===null||un===void 0||un.delayHidden(),(At=Di.current)===null||At===void 0||At.delayHidden()},qt=qe(Nt,It,Lr,ue,Xn,function(){return ar(!0)},Rn,Zt);ye.useImperativeHandle(ie,function(){return{nativeElement:mn.current,getScrollInfo:ji,scrollTo:function(un){function At(gt){return gt&&(0,Ne.Z)(gt)==="object"&&("left"in gt||"top"in gt)}At(un)?(un.left!==void 0&&Tr(wi(un.left)),qt(un.top)):qt(un)}}}),(0,nt.Z)(function(){if(ct){var Ot=It.slice(er,Dn+1);ct(Ot,It)}},[er,Dn,It]);var fn=ge(It,Xn,Lr,ue),xn=_t==null?void 0:_t({start:er,end:Dn,virtual:Or,offsetX:Cr,offsetY:Wr,rtl:Ft,getSize:fn}),Nn=je(It,er,Dn,tn,Cr,Br,$e,xt),Bn=null;te&&(Bn=(0,Te.Z)((0,Fe.Z)({},Se?"height":"maxHeight",te),We),Wn&&(Bn.overflowY="hidden",tn&&(Bn.overflowX="hidden"),$n&&(Bn.pointerEvents="none")));var An={};return Ft&&(An.dir="rtl"),ye.createElement("div",(0,re.Z)({ref:mn,style:(0,Te.Z)((0,Te.Z)({},Dt),{},{position:"relative"}),className:Qt},An,yn),ye.createElement(Pe.Z,{onResize:Vr},ye.createElement(on,{className:"".concat(ee,"-holder"),style:Bn,ref:Nt,onScroll:si,onMouseEnter:Zt},ye.createElement(Ye,{prefixCls:ee,height:Kt,offsetX:Cr,offsetY:Wr,scrollWidth:tn,onInnerResize:ar,ref:kt,innerProps:Ut,rtl:Ft,extra:xn},Nn))),Or&&Kt>te&&ye.createElement(Mt,{ref:li,prefixCls:ee,scrollOffset:Hn,scrollRange:Kt,rtl:Ft,onScroll:Yr,onStartMove:Rr,onStopMove:dt,spinSize:Li,containerSize:Nr.height,style:gn==null?void 0:gn.verticalScrollBar,thumbStyle:gn==null?void 0:gn.verticalScrollBarThumb,showScrollBar:jn}),Or&&tn>Nr.width&&ye.createElement(Mt,{ref:Di,prefixCls:ee,scrollOffset:Cr,scrollRange:tn,rtl:Ft,onScroll:Yr,onStartMove:Rr,onStopMove:dt,spinSize:fi,containerSize:Nr.width,horizontal:!0,style:gn==null?void 0:gn.horizontalScrollBar,thumbStyle:gn==null?void 0:gn.horizontalScrollBarThumb,showScrollBar:jn}))}var Qe=ye.forwardRef(yt);Qe.displayName="List";var Bt=Qe,bt=Bt},25510:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7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22xnR197Ddt2rrr2uxZs23s+LEBsLBbJ8Szjhphs+bOC5YO3FOvvPyy/ebMM+zggw6y5595zsaMHm2LTppgL7/wYtiQvOOu/2jv/cAH7P27vc/m2Ov2u4vOtyuuuNyO+eY3bez4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+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+/att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MgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(bn,cn,se){"use strict";bn.exports=se.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2L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iHVtSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(bn,cn,se){"use strict";se.d(cn,{Z:function(){return Ce}});const re=Pe=>typeof Pe=="object"&&Pe!=null&&Pe.nodeType===1,Ne=(Pe,oe)=>(!oe||Pe!=="hidden")&&Pe!=="visible"&&Pe!=="clip",Te=(Pe,oe)=>{if(Pe.clientHeight<Pe.scrollHeight||Pe.clientWidth<Pe.scrollWidth){const nt=getComputedStyle(Pe,null);return Ne(nt.overflowY,oe)||Ne(nt.overflowX,oe)||(ye=>{const Ke=(Ie=>{if(!Ie.ownerDocument||!Ie.ownerDocument.defaultView)return null;try{return Ie.ownerDocument.defaultView.frameElement}catch(Ye){return null}})(ye);return!!Ke&&(Ke.clientHeight<ye.scrollHeight||Ke.clientWidth<ye.scrollWidth)})(Pe)}return!1},Fe=(Pe,oe,nt,ye,Ke,Ie,Ye,He)=>Ie<Pe&&Ye>oe||Ie>Pe&&Ye<oe?0:Ie<=Pe&&He<=nt||Ye>=oe&&He>=nt?Ie-Pe-ye:Ye>oe&&He<nt||Ie<Pe&&He>nt?Ye-oe+Ke:0,Ee=Pe=>{const oe=Pe.parentElement;return oe==null?Pe.getRootNode().host||null:oe},fe=(Pe,oe)=>{var nt,ye,Ke,Ie;if(typeof document=="undefined")return[];const{scrollMode:Ye,block:He,inline:je,boundary:st,skipOverflowHiddenElements:at}=oe,rt=typeof st=="function"?st:Mt=>Mt!==st;if(!re(Pe))throw new TypeError("Invalid target");const ke=document.scrollingElement||document.documentElement,be=[];let Ve=Pe;for(;re(Ve)&&rt(Ve);){if(Ve=Ee(Ve),Ve===ke){be.push(Ve);break}Ve!=null&&Ve===document.body&&Te(Ve)&&!Te(document.documentElement)||Ve!=null&&Te(Ve,at)&&be.push(Ve)}const Ge=(ye=(nt=window.visualViewport)==null?void 0:nt.width)!=null?ye:innerWidth,ft=(Ie=(Ke=window.visualViewport)==null?void 0:Ke.height)!=null?Ie:innerHeight,{scrollX:ge,scrollY:Ae}=window,{height:ze,width:Ze,top:_e,right:Re,bottom:Je,left:Rt}=Pe.getBoundingClientRect(),{top:ht,right:mt,bottom:St,left:xe}=(Mt=>{const Xe=window.getComputedStyle(Mt);return{top:parseFloat(Xe.scrollMarginTop)||0,right:parseFloat(Xe.scrollMarginRight)||0,bottom:parseFloat(Xe.scrollMarginBottom)||0,left:parseFloat(Xe.scrollMarginLeft)||0}})(Pe);let he=He==="start"||He==="nearest"?_e-ht:He==="end"?Je+St:_e+ze/2-ht+St,qe=je==="center"?Rt+Ze/2-xe+mt:je==="end"?Re+mt:Rt-xe;const Tt=[];for(let Mt=0;Mt<be.length;Mt++){const Xe=be[Mt],{height:Ct,width:tt,top:Ht,right:We,bottom:yt,left:Qe}=Xe.getBoundingClientRect();if(Ye==="if-needed"&&_e>=0&&Rt>=0&&Je<=ft&&Re<=Ge&&(Xe===ke&&!Te(Xe)||_e>=Ht&&Je<=yt&&Rt>=Qe&&Re<=We))return Tt;const Bt=getComputedStyle(Xe),bt=parseInt(Bt.borderLeftWidth,10),ce=parseInt(Bt.borderTopWidth,10),ie=parseInt(Bt.borderRightWidth,10),z=parseInt(Bt.borderBottomWidth,10);let ee=0,ne=0;const te="offsetWidth"in Xe?Xe.offsetWidth-Xe.clientWidth-bt-ie:0,ue="offsetHeight"in Xe?Xe.offsetHeight-Xe.clientHeight-ce-z:0,me="offsetWidth"in Xe?Xe.offsetWidth===0?0:tt/Xe.offsetWidth:0,Se="offsetHeight"in Xe?Xe.offsetHeight===0?0:Ct/Xe.offsetHeight:0;if(ke===Xe)ee=He==="start"?he:He==="end"?he-ft:He==="nearest"?Fe(Ae,Ae+ft,ft,ce,z,Ae+he,Ae+he+ze,ze):he-ft/2,ne=je==="start"?qe:je==="center"?qe-Ge/2:je==="end"?qe-Ge:Fe(ge,ge+Ge,Ge,bt,ie,ge+qe,ge+qe+Ze,Ze),ee=Math.max(0,ee+Ae),ne=Math.max(0,ne+ge);else{ee=He==="start"?he-Ht-ce:He==="end"?he-yt+z+ue:He==="nearest"?Fe(Ht,yt,Ct,ce,z+ue,he,he+ze,ze):he-(Ht+Ct/2)+ue/2,ne=je==="start"?qe-Qe-bt:je==="center"?qe-(Qe+tt/2)+te/2:je==="end"?qe-We+ie+te:Fe(Qe,We,tt,bt,ie+te,qe,qe+Ze,Ze);const{scrollLeft:Dt,scrollTop:Ue}=Xe;ee=Se===0?0:Math.max(0,Math.min(Ue+ee/Se,Xe.scrollHeight-Ct/Se+ue)),ne=me===0?0:Math.max(0,Math.min(Dt+ne/me,Xe.scrollWidth-tt/me+te)),he+=Ue-ee,qe+=Dt-ne}Tt.push({el:Xe,top:ee,left:ne})}return Tt},Oe=Pe=>Pe===!1?{block:"end",inline:"nearest"}:(oe=>oe===Object(oe)&&Object.keys(oe).length!==0)(Pe)?Pe:{block:"start",inline:"nearest"};function Ce(Pe,oe){if(!Pe.isConnected||!(Ke=>{let Ie=Ke;for(;Ie&&Ie.parentNode;){if(Ie.parentNode===document)return!0;Ie=Ie.parentNode instanceof ShadowRoot?Ie.parentNode.host:Ie.parentNode}return!1})(Pe))return;const nt=(Ke=>{const Ie=window.getComputedStyle(Ke);return{top:parseFloat(Ie.scrollMarginTop)||0,right:parseFloat(Ie.scrollMarginRight)||0,bottom:parseFloat(Ie.scrollMarginBottom)||0,left:parseFloat(Ie.scrollMarginLeft)||0}})(Pe);if((Ke=>typeof Ke=="object"&&typeof Ke.behavior=="function")(oe))return oe.behavior(fe(Pe,oe));const ye=typeof oe=="boolean"||oe==null?void 0:oe.behavior;for(const{el:Ke,top:Ie,left:Ye}of fe(Pe,Oe(oe))){const He=Ie-nt.top+nt.bottom,je=Ye-nt.left+nt.right;Ke.scroll({top:He,left:je,behavior:ye})}}}}]);
|