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

1106 lines
1.1 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[9416],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(wn,un){"use strict";un.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69063:function(wn,un){"use strict";un.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 wn={},un="5.0",se={},re=null,Ne=!1,Te=!1,Be=null,Se=!1,fe=null,Oe=null,be=0;be<arguments.length;be++){var Pe=arguments[be];if(Pe!==null)switch(typeof Pe){case"number":un=Pe.toFixed(1);break;case"string":Pe.match(new RegExp("^[0-9]\\.[0-9]+$"))?un=Pe:Be=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)),Be!==null&&se.id===void 0&&(se.id=Be);var le="",nt="",ye=!1,Ke=null,Ie=null,Ye=null,He=!1,Ve=null,ut=null,at=null,rt=null,Fe=null;se.height!==void 0&&(se.height=Math.round(se.height)),se.width!==void 0&&(se.width=Math.round(se.width));var Ee=function(Xe){return parseFloat(Xe)>4?parseFloat(Xe):5};wn.setHTML5Codebase=function(Xe,bt){Oe=Xe,qe(Xe,bt)},wn.setJavaCodebase=wn.setJavaCodebaseVersion=wn.isCompiledInstalled=wn.setPreCompiledScriptPath=wn.setPreCompiledResourcePath=function(){},wn.setHTML5CodebaseVersion=function(Xe,bt){var $e=parseFloat(Xe);if($e!==NaN&&$e<5){console.log("The GeoGebra HTML5 codebase version "+$e+" is deprecated. Using version latest instead.");return}fe=Xe,he(Xe,bt)},wn.getHTML5CodebaseVersion=function(){return Ie},wn.getParameters=function(){return se},wn.setFontsCSSURL=function(Xe){rt=Xe},wn.setGiacJSURL=function(Xe){},wn.setJNLPFile=function(Xe){le=Xe},wn.setJNLPBaseDir=function(Xe){},wn.inject=function(){function Xe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var bt="auto",$e=se.id,Ot,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)$/)?bt=Qe:$e=arguments[yt]):typeof Qe=="boolean"?We=Qe:Qe instanceof HTMLElement&&(Ot=Qe)}Ft();function Ft(){if(!Se){setTimeout(Ft,200);return}bt=At(bt);var wt=Ot||document.getElementById($e);if(!wt){console.log("possibly bug on ajax loading? ");return}if(wn.removeExistingApplet(wt,!1),se.width===void 0&&wt.clientWidth&&(se.width=wt.clientWidth),se.height===void 0&&wt.clientHeight&&(se.height=wt.clientHeight),!(se.width&&se.height)&&bt==="html5"&&(delete se.width,delete se.height),Ke=bt,bt==="screenshot")Re(wt,se);else{var ce=!1;se.hasOwnProperty("playButton")&&se.playButton||se.hasOwnProperty("clickToLoad")&&se.clickToLoad?ce=!0:se.hasOwnProperty("playButtonAutoDecide")&&se.playButtonAutoDecide&&(ce=(!Ge()||Xe())&&Ue()),ce?(Ke="screenshot",Nt(wt,se,We,bt)):_e(wt,se,We)}}};function Ge(){try{return window.self!==window.top}catch(Xe){return!0}}function Ue(){return se.hasOwnProperty("screenshotGenerator")&&se.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}wn.getViews=function(){return re},wn.isJavaInstalled=function(){return!1};var dt=function(Xe){var bt=function(yt){var Qe=JSON.parse(yt),Ft=function(ie){return ie.type=="G"||ie.type=="E"},wt=Qe.elements?Qe.elements.filter(Ft)[0]:Qe;if(!wt||!wt.url){$e();return}se.fileName=wt.url,ge(wt.settings||{}),re.is3D=!0;var ce="https://www.geogebra.org/images/";wn.setPreviewImage(Ve||wt.previewUrl,ce+"GeoGebra_loading.png",ce+"applet_play.png"),Xe()},$e=function(){se.onError&&se.onError(),Lt("Error: Fetching material (id "+se.material_id+") failed.",se)},Ot=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",We="/materials/"+se.material_id+"?scope=basic";ke("https://"+Ot+"/api/proxy.php?path="+encodeURIComponent(We),bt,$e)};function ge(Xe){var bt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function($e){Xe[$e]=!!Xe[$e]}),bt.forEach(function($e){se[$e]===void 0&&Xe[$e]!==void 0&&(se[$e]=Xe[$e])}),se.showToolBarHelp===void 0&&(se.showToolBarHelp=se.showToolBar)}function ke(Xe,bt,$e){var Ot=new XMLHttpRequest;Ot.open("GET",Xe),Ot.onload=function(){bt(Ot.responseText)},Ot.onerror=$e,Ot.send()}wn.isHTML5Installed=function(){return!0},wn.getLoadedAppletType=function(){return Ke},wn.setPreviewImage=function(Xe,bt,$e){Ve=Xe,ut=bt,at=$e},wn.removeExistingApplet=function(Xe,bt){var $e;typeof Xe=="string"&&(Xe=document.getElementById(Xe)),Ke=null;var Ot=null;for($e=0;$e<Xe.childNodes.length;$e++){var We=Xe.childNodes[$e],yt=We.className;yt==="applet_screenshot"?bt?(We.style.display="block",Ke="screenshot"):We.style.display="none":yt!=="applet_scaler prerender"&&(Xe.removeChild(We),Ot=yt&&yt.indexOf("appletParameters")!=-1?We.id:null,$e--)}var Qe=se.id!==void 0?se.id:Ot,Ft=window[Qe];Ft&&typeof Ft.getBase64=="function"&&(Ft.remove(),window[Qe]=null)},wn.refreshHitPoints=function(){if(Ee(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Xe=wn.getAppletObject();return Xe&&typeof Xe.recalculateEnvironments=="function"?(Xe.recalculateEnvironments(),!0):!1},wn.startAnimation=function(){var Xe=wn.getAppletObject();return Xe&&typeof Xe.startAnimation=="function"?(Xe.startAnimation(),!0):!1},wn.stopAnimation=function(){var Xe=wn.getAppletObject();return Xe&&typeof Xe.stopAnimation=="function"?(Xe.stopAnimation(),!0):!1},wn.getAppletObject=function(){var Xe=se.id!==void 0?se.id:"ggbApplet";return window[Xe]},wn.resize=function(){};var ze=function(Xe,bt,$e){var Ot=document.createElement("param");Ot.setAttribute("name",bt),Ot.setAttribute("value",$e),Xe.appendChild(Ot)},Ze=function(Xe){return Xe&&Xe!=="false"},_e=function(Xe,bt,$e){Ee(Ie)<=4.2&&($e=!0);var Ot=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ie||ggbHTML5LoadedCodebaseIsWebSimple&&!He)&&(Ot=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var We=document.createElement("div");We.classList.add("appletParameters","notranslate");var yt=bt.width,Qe=bt.height;if(bt.disableAutoScale=bt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():bt.disableAutoScale,bt.width!==void 0)if(Ee(Ie)<=4.4)Ze(bt.showToolBar)&&(bt.height-=7),Ze(bt.showAlgebraInput)&&(bt.height-=37),bt.width<605&&Ze(bt.showToolBar)&&(bt.width=605,yt=605);else{var Ft=100;(Ze(bt.showToolBar)||Ze(bt.showMenuBar))&&(bt.hasOwnProperty("customToolBar")&&(bt.customToolbar=bt.customToolBar),Ft=Ze(bt.showMenuBar)?245:155),yt<Ft&&(bt.width=Ft,yt=Ft)}We.style.border="none",We.style.display="inline-block";for(var wt in bt)bt.hasOwnProperty(wt)&&wt!=="appletOnLoad"&&We.setAttribute("data-param-"+wt,bt[wt]);rt&&We.setAttribute("data-param-fontscssurl",rt),wn.resize=function(){GGBAppletUtils.responsiveResize(Xe,bt)},window.addEventListener("resize",function(lt){wn.resize()});var ce=typeof bt.appletOnLoad=="function"?bt.appletOnLoad:function(){};if(!$e&&bt.width!==void 0){bt.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=gt(yt,Qe,bt.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%"),Ee(Ie)>=5?(bt.appletOnLoad=function(lt){var mt=Xe.querySelector(".ggb_preview");mt&&mt.parentNode.removeChild(mt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ie),window.GGBT_wsf_view&&$(window).trigger("resize"),ce(lt)},z||ie.appendChild(ee)):We.appendChild(ee),ie.appendChild(We),z||Xe.appendChild(ie),setTimeout(function(){wn.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),bt.appletOnLoad=function(lt){wn.resize(),ce(lt)}}function te(lt,mt){mt&&typeof mt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,mt.appletOnLoad):renderGGBElement(lt),Lt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",mt)}function ue(lt,mt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:mt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Rt){te(Rt.article,Rt.params)}),html5AppletsToProcess=null)},Ee(Ie)<5&&(lt.className+=" geogebraweb")):te(lt,mt)}if(Ot){scriptLoadStarted=!0;for(var me=0;me<We.childNodes.length;me++){var De=We.childNodes[me].tagName;De==="TABLE"&&(We.removeChild(We.childNodes[me]),me--)}if(ggbHTML5LoadedScript!==null){var St=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');St!=null&&St.parentNode.removeChild(St)}var je=document.createElement("script"),et=function(){ue(We,bt)};je.src=nt+Ye,ggbHTML5LoadedCodebaseIsWebSimple=He,ggbHTML5LoadedCodebaseVersion=Ie,ggbHTML5LoadedScript=je.src,Lt("GeoGebra HTML5 codebase loaded: '"+nt+"'.",bt),!Oe&&(!fe||fe=="5.0")?(He?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),et()):nt.requirejs?__webpack_require__.e(981).then(function(){var lt=[__webpack_require__(60981)];et.apply(null,lt)}.bind(this)).catch(__webpack_require__.oe):(je.onload=et,Xe.appendChild(je))}else ue(We,bt);bt.height=Qe,bt.width=yt},Re=function(Xe,bt,$e){var Ot=gt(bt.width,bt.height,bt.borderColor,$e),We=document.createElement("div");We.style.position="relative",We.style.display="block",We.style.width=bt.width+"px",We.style.height=bt.height+"px",We.className="applet_screenshot applet_scaler"+($e?" applet_screenshot_play":""),We.appendChild(Ot);var yt=GGBAppletUtils.getScale(bt,Xe,$e);$e?(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=bt.width+"px",We.style.height=bt.height+"px",We.parentNode.style.width=bt.width*yt+"px",We.parentNode.style.height=bt.height*yt+"px"),wn.resize=function(){Je(Xe,Ot,We,$e)},window.addEventListener("resize",function(Qe){wn.resize()}),wn.resize()};function Je(Xe,bt,$e,Ot){if(Xe.contains(bt)){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,Ot);$e.parentNode!==null&&(!isNaN(We)&&We!==1?(GGBAppletUtils.scaleElement($e,We),$e.parentNode.style.width=se.width*We+"px",$e.parentNode.style.height=se.height*We+"px"):(GGBAppletUtils.scaleElement($e,1),$e.parentNode.style.width=se.width+"px",$e.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()}}wn.onExitFullscreen=function(Xe,bt){bt.appendChild(Xe)};var Nt=function(Xe,bt,$e,Ot){Re(Xe,bt,!0);for(var We=function(){var Ft=[];for(Qe=0;Qe<Xe.childNodes.length;Qe++)Ft.push(Xe.childNodes[Qe]);if(window.GGBT_wsf_view){var wt=window.GGBT_wsf_view.renderFullScreen(Xe,bt.id),ce=document.getElementById("fullscreencontainer"),ie=jQuery(Xe).find(".fullscreencontent");ie.length>0?(wt.remove(),ie.attr("id","fullscreencontent").show(),jQuery(ce).append(ie),window.dispatchEvent(new Event("resize"))):_e(wt,bt,!1),window.GGBT_wsf_view.launchFullScreen(ce)}else Ke=Ot,_e(Xe,bt,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qe<Ft.length;Qe++)Xe.removeChild(Ft[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),Ue()&&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 bt='.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");}',$e=document.createElement("style");$e.styleSheet?$e.styleSheet.cssText=bt:$e.appendChild(document.createTextNode(bt)),document.getElementsByTagName("head")[0].appendChild($e)}return Xe},gt=function(Xe,bt,$e,Ot){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=bt-2+"px",We.style.top="0px",We.style.left="0px",We.style.overflow="hidden",We.style.backgroundColor="white";var yt="lightgrey";$e!==void 0&&($e==="none"?yt="transparent":yt=$e),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",Ve!==null&&Qe.setAttribute("src",Ve),Qe.style.opacity=.7,ut!==null){var Ft,wt,ce;if(!Ot){Ft=document.createElement("img"),Ft.style.position="absolute",Ft.style.zIndex="1001",Ft.style.opacity=1,Qe.style.opacity=.3,wt=360,wt>Xe/4*3&&(wt=Xe/4*3),ce=wt/5.8,Ft.setAttribute("src",ut),Ft.setAttribute("width",wt),Ft.setAttribute("height",ce);var ie=(Xe-wt)/2,z=(bt-ce)/2;Ft.style.left=ie+"px",Ft.style.top=z+"px",We.appendChild(Ft)}}return We.appendChild(Qe),We},At=function(Xe){return Xe=Xe.toLowerCase(),Xe==="html5"||Xe==="screenshot"?Xe:"html5"},we=["web","webSimple","web3d","tablet","tablet3d","phone"],he=function(Xe,bt){if(Ie=Xe,bt){qe(Ie,!0);return}var $e=!Ne;if($e){var Ot=Ee(Ie);!isNaN(Ot)&&Ot<4.4&&($e=!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 Ft in we)if(Ie.slice(we[Ft].length*-1)===we[Ft]||Ie.slice((we[Ft].length+1)*-1)===we[Ft]+"/"){qe(yt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&$e&&!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,bt){if(Xe.requirejs){nt=Xe;return}Xe.slice(-1)!=="/"&&(Xe+="/"),nt=Xe,bt===null&&(bt=Xe.indexOf("http")===-1),ye=bt,Ye="web.nocache.js",He=!1;var $e=nt.split("/");$e.length>1&&(!bt&&$e[$e.length-2]==="webSimple"?(Ye="webSimple.nocache.js",He=!0):we.indexOf($e[$e.length-2])>=0&&(Ye=$e[$e.length-2]+".nocache.js")),$e=Xe.split("/"),Ie=$e[$e.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 Ot=parseFloat(Ie);Ot!==NaN&&Ot<5&&Xe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ot+" is deprecated. Using version latest instead."),he("5.0",bt))},Lt=function(Xe,bt){window.console&&window.console.log&&(!bt||typeof bt.showLogging=="undefined"||bt.showLogging&&bt.showLogging!=="false")&&console.log(Xe)};se.material_id!==void 0?dt(Tt):Tt();function Tt(){var Xe=un;fe!==null?Xe=fe:parseFloat(Xe)<5&&(Xe="5.0"),he(Xe,!1),Oe!==null&&qe(Oe,ye),Se=!0}return wn},GGBAppletUtils=function(){"use strict";function wn(){return window.GGBT_wsf_edit!==void 0}function un(Se,fe){fe!=1?(Se.style.transformOrigin="0% 0% 0px",Se.style.webkitTransformOrigin="0% 0% 0px",Se.style.transform="scale("+fe+","+fe+")",Se.style.webkitTransform="scale("+fe+","+fe+")",Se.style.maxWidth="initial",Se.querySelector(".ggb_preview")!==null&&(Se.querySelector(".ggb_preview").style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Se.style.transform="none",Se.style.webkitTransform="none")}function se(Se,fe,Oe,be,Pe,le){var nt=null;if(le!=null&&le!="")for(var ye=Se.parentNode;ye!=null;)if((" "+ye.className+" ").indexOf(" "+le+" ")>-1){nt=ye;break}else ye=ye.parentNode;var Ke=0,Ie=0,Ye=0,He=0,Ve=0,ut=0,at=0;if(nt)Ke=nt.offsetWidth,Ie=Math.max(be?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),Se){var rt=Se.getBoundingClientRect();rt.left>0&&rt.left<=Ke&&(Pe===void 0||!Pe)&&(document.dir==="rtl"?(Ve=Ke-rt.width-rt.left,ut=Ye<=480?10:30):(ut=rt.left,Ve=Ye<=480?10:30),He=ut+Ve)}if(Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Fe=Se.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(He=40,at=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He=0,at=40)}}return Se&&((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(Se,fe,Oe,be,Pe){if(Se.isScreenshoGenerator)return 1;var le=be!==void 0&&be,nt=Se.noScaleMargin!=null&&Se.noScaleMargin,ye=function(Fe){return Fe&&Fe!=="false"},Ke=ye(Se.autoHeight),Ie=se(fe,Se.width,Oe,Ke,le&&window.GGBT_wsf_view||nt,Pe),Ye=parseInt(Ie.width),He=Se.width,Ve=Se.height;if(He===void 0){var ut=fe.querySelector(".appletParameters");ut&&(He=ut.offsetWidth,Ve=ut.offsetHeight)}var at=Ye/He,rt=le?1:Ie.height/Ve;return Oe!==void 0&&!Oe&&(at=Math.min(1,at),rt=Math.min(1,rt)),Math.min(at,rt)}function Ne(Se,fe,Oe){var be=1,Pe,le=!1;if(Se.hasOwnProperty("allowUpscale")&&(le=Se.allowUpscale),Se.hasOwnProperty("scale")&&(be=parseFloat(Se.scale),(isNaN(be)||be===null||be===0)&&(be=1),be>1&&(le=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(Se.hasOwnProperty("disableAutoScale")&&Se.disableAutoScale))Pe=re(Se,fe,le,Oe,Se.scaleContainerClass);else return be;return le&&(!Se.hasOwnProperty("scale")||be===1)?Pe:Math.min(be,Pe)}function Te(Se){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),be=Se.getBoundingClientRect(),Pe=(fe-be.width)/2,le=(Oe-be.height)/2;le<0&&(le=0),Se.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Pe<40?Se.style.left="40px":Se.style.left=Pe+"px",Se.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?Se.style.top="40px":Se.style.top=le+"px",Se.style.left=Pe+"px")}function Be(Se,fe){var Oe=Se.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(Se)}if(Oe.parentElement&&/fullscreen/.test(Oe.parentElement.className))return;var be=Ne(fe,Se);wn()&&Oe.setAttribute("data-param-scale",be);for(var Pe=null,le=0;le<Se.childNodes.length;le++)if(Se.childNodes[le].className!==void 0&&Se.childNodes[le].className.match(/^applet_scaler/)){Pe=Se.childNodes[le];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(be)&&be!==1?(Pe.parentNode.style.width=fe.width*be+"px",Pe.parentNode.style.height=fe.height*be+"px",un(Pe,be)):(un(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(Se),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Oe).parents(".content-added-content"))}}return{responsiveResize:Be,isFlexibleWorksheetEditor:wn,positionCenter:Te,getScale:Ne,scaleElement:un}}();__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 wn=n.location.search;return wn.indexOf(J)!=-1||wn.indexOf(K)!=-1}function q(wn,un){}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(wn){var un=s[L].bindings;s[L].bindings=function(){for(var se=un?un():{},re=wn[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 wn=o.createElement(Q);if(wn.id=L,wn.style.cssText=R+S,wn.tabIndex=-1,o.body.appendChild(wn),t=wn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var un=document.compatMode==U?V:W;t.write(un+X),t.close()}}}function w(wn){function un(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 Be(){if(!Te){if(!Ne())return;Te=!0,re(),o.removeEventListener&&o.removeEventListener(Z,Be,!1),Se&&clearInterval(Se)}}o.addEventListener&&o.addEventListener(Z,Be,!1);var Se=setInterval(function(){Be()},$)}function se(re){var Ne=u(),Te=Ne.body,Be=Ne.createElement(_);Be.language=ab,Be.crossOrigin=W,Be.src=re,webModule.__errFn&&(Be.onerror=function(){webModule.__errFn(L,new Error(bb+re))}),Te.appendChild(Be)}un(function(){se(wn)})}webModule.__startLoadingFragment=function(wn){return C(wn)},webModule.__installRunAsyncCode=function(wn){var un=u(),se=un.body,re=un.createElement(_);re.language=ab,re.text=wn,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(wn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(wn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(wn){var un=c[wn];return un==null?null:un},r=d,webModule.__errFn=e}function B(){function wn(Se){var fe=Se.lastIndexOf(rb);fe==-1&&(fe=Se.length);var Oe=Se.indexOf(sb);Oe==-1&&(Oe=Se.length);var be=Se.lastIndexOf(tb,Math.min(Oe,fe));return be>=O?Se.substring(O,be+P):W}function un(Se){if(!Se.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=Se+vb,Se=wn(fe.src)}return Se}function se(){var Se=__gwt_getMetaProperty(wb);return Se!=null?Se:W}function re(){for(var Se=o.getElementsByTagName(_),fe=O;fe<Se.length;++fe)if(Se[fe].src.indexOf(xb)!=-1)return wn(Se[fe].src);return W}function Ne(){var Se=o.getElementsByTagName(yb);return Se.length>O?Se[Se.length-P].href:W}function Te(){var Se=o.location;return Se.href==Se.protocol+zb+Se.host+Se.pathname+Se.search+Se.hash}var Be=se();return Be==W&&(Be=re()),Be==W&&(Be=Ne()),Be==W&&Te()&&(Be=wn(o.location.href)),Be=un(Be),Be}function C(wn){return wn.match(/^\//)||wn.match(/^[a-zA-Z]+:\/\//)?wn:webModule.__moduleBase+wn}function D(){var wn=[],un=O,se=[],re=[];function Ne(Se){var fe=re[Se](),Oe=se[Se];if(fe in Oe)return fe;var be=[];for(var Pe in Oe)be[Oe[Pe]]=Pe;throw r&&r(Se,be,fe),null}if(__gwt_isKnownPropertyValue=function(Se,fe){return fe in se[Se]},webModule.__getPropMap=function(){var Se={};for(var fe in se)se.hasOwnProperty(fe)&&(Se[fe]=Ne(fe));return Se},webModule.__computePropValue=Ne,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Te;try{Te=Cb;var Be=Te.indexOf(Db);Be!=-1&&(un=parseInt(Te.substring(Be+P),$),Te=Te.substring(O,Be))}catch(Se){}return webModule.__softPermutationId=un,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(wn,un,se){"use strict";se.d(un,{Ax:function(){return Be},Ds:function(){return Se},KI:function(){return Oe},SI:function(){return Te},f1:function(){return Ne}});var re=se(90524);function Ne(be){let Pe=!0;if(be.length>0){for(let le=0;le<be.length;le++)if(be[le].compile_success==0||!be[le].compile_success){Pe=!1;break}}else Pe=!1;return Pe}function Te(be,Pe=""){let le=[];for(let nt=0;nt<be.length;nt++){let ye=be[nt],Ke=Pe?`${Pe}/${ye.name}`:`${ye.name}`;le.push({title:ye.name,type:ye.type,isLeaf:ye.type!=="tree",key:Ke})}return le}function Be(be,Pe,le){for(let nt=0;nt<be.length;nt++){let ye=be[nt];if(ye.key===Pe){ye.children=le;break}ye.children&&Be(ye.children,Pe,le)}return be}function Se(be,Pe,le){let nt;return function(){let ye=this,Ke=arguments,Ie=function(){nt=null,le||be.apply(ye,Ke)},Ye=le&&!nt;clearTimeout(nt),nt=setTimeout(Ie,Pe),Ye&&be.apply(ye,Ke)}}const fe=!0,Oe=re.Z.API_SERVER},6077:function(wn,un,se){"use strict";se.d(un,{Z:function(){return nt}});var re=se(59301),Ne={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Te=se(92310),Be=se.n(Te),Se=se(29787),fe=se(2859),Oe=se(82093),be=se(49661),Pe=(ye,Ke,Ie)=>new Promise((Ye,He)=>{var Ve=rt=>{try{at(Ie.next(rt))}catch(Fe){He(Fe)}},ut=rt=>{try{at(Ie.throw(rt))}catch(Fe){He(Fe)}},at=rt=>rt.done?Ye(rt.value):Promise.resolve(rt.value).then(Ve,ut);at((Ie=Ie.apply(ye,Ke)).next())}),nt=({data:ye,className:Ke,fullWidth:Ie,style:Ye={},onClose:He,onOk:Ve,showFullTools:ut,noAssociationId:at})=>{const rt=(0,re.useRef)(null),Fe=(0,re.useRef)(null),Ee=(0,re.useRef)(null),Ge=(0,re.useRef)(null),[Ue,dt]=(0,re.useState)(!1),[ge,ke]=(0,re.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,re.useEffect)(()=>(Ee.current||(Ee.current=document.createElement("style"),document.head.appendChild(Ee.current)),ye!=null&&ye.visible?(document.body.setAttribute("data-custom","y-hidden"),Ee.current.innerHTML=" html { overflow-y: hidden; }",ye!=null&&ye.src&&ze()):(document.body.removeAttribute("data-custom"),Ee.current&&(document.head.removeChild(Ee.current),Ee.current=null)),()=>{document.body.removeAttribute("data-custom"),Ee.current&&(document.head.removeChild(Ee.current),Ee.current=null)}),[ye==null?void 0:ye.visible]);const ze=()=>Pe(void 0,null,function*(){dt(!0),ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Je=yield(0,be.ZJ)(ye==null?void 0:ye.src);rt.current.src="",rt.current.src=Je,rt.current.onload=function(){Re()},dt(!1),ke("")}),Ze=Je=>Pe(void 0,null,function*(){dt(!0),ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Nt=yield(0,Oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ye.title,file:Je.dataUrl}});Nt!=null&&Nt.id&&!at?(yield(0,Oe.ZP)(`/api/attachments/${ye.id}/add_subitem.json`,{method:"post",body:{subitem_id:Nt==null?void 0:Nt.id,settings:JSON.stringify(Je.state)}})).status===0&&Ve():Nt!=null&&Nt.id&&Ve(Nt),dt(!1),ke("")}),_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 gt=document.querySelector(ht.name);gt&&gt.setAttribute("title",ht.title)})},Re=()=>{Fe.current=new fe.hP(rt.current),Fe.current.targetRoot=Ge.current,Fe.current.addEventListener("render",Ze),Fe.current.addEventListener("beforeclose",He),ut&&(Fe.current.availableMarkerTypes=Fe.current.ALL_MARKER_TYPES,Fe.current.uiStyleSettings.redoButtonVisible=!0,Fe.current.uiStyleSettings.notesButtonVisible=!0,Fe.current.uiStyleSettings.zoomButtonVisible=!0,Fe.current.uiStyleSettings.zoomOutButtonVisible=!0,Fe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Fe.current.uiStyleSettings,Fe.current.show(),ye!=null&&ye.snapshotData&&Fe.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(Se.Z,{spinning:Ue,tip:ge,style:{position:"absolute",width:"100vw"}},re.createElement("div",{ref:Ge,className:Be()(Ne.imageDimensions,Ke,Ie?Ne.fullWidth:""),style:Ye},re.createElement("img",{className:Ne.img,ref:rt}))))}},88615:function(wn,un,se){"use strict";var re=se(59301),Ne=se(77019),Te=se(5269),Be=se(20554),Se=se(99571),fe=se(38394),Oe=se(21697),be=se(48136),Pe=se(59301);const le=(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 "}]}]}],Ve=[{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}`}]}]}],ut=Fe=>{Ye.current.setValue(Ye.current.getValue()+" "+Fe.value+" ")},at=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Pe.createElement(Ne.Z,{className:Oe.Z.lists,gutter:[10,10]},He.map((Fe,Ee)=>Pe.createElement(Te.Z,{flex:"110px",className:Oe.Z.item},Pe.createElement("div",null,Pe.createElement(fe.Z,{value:`$$${Fe.value}$$`}),Fe.name),Pe.createElement("div",{className:Oe.Z.children},Fe.children.map((Ge,Ue)=>Pe.createElement("div",{key:Ue},Pe.createElement("h1",null,Ge.name),Pe.createElement(Ne.Z,{gutter:[10,10]},Ge.data.map((dt,ge)=>Pe.createElement(Te.Z,{key:ge,onClick:()=>ut(dt),className:Oe.Z.diamond},Pe.createElement(fe.Z,{value:"`$$"+dt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Pe.createElement(Ne.Z,{className:Oe.Z.lists,gutter:[10,10]},Ve.map((Fe,Ee)=>Pe.createElement(Te.Z,{flex:"110px",className:Oe.Z.item},Pe.createElement("div",null,Pe.createElement(fe.Z,{value:"`$$"+Fe.value+"$$`"}),Fe.name),Pe.createElement("div",{className:Oe.Z.children},Fe.children.map((Ge,Ue)=>Pe.createElement("div",{key:Ue},Ge.name&&Pe.createElement("h1",null,Ge.name),Pe.createElement(Ne.Z,{gutter:[10,10]},Ge.data.map((dt,ge)=>Pe.createElement(Te.Z,{key:ge,onClick:()=>ut(dt),className:Oe.Z.diamond},Pe.createElement(fe.Z,{value:"`$$"+dt.value+"$$`"}))))))))))}],rt=()=>{var Fe=document.createElement("div");Fe.innerHTML=Ye.current.getValue();var Ee=Fe.innerText;return nt&&nt(Ee),Ee};return(0,re.useImperativeHandle)(Ie,()=>({getData:rt})),Pe.createElement("div",{className:Oe.Z.mathWrap},Pe.createElement(Be.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(Se.ZP,{size:"large",onClick:rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});un.Z=le},57884:function(wn,un,se){"use strict";var re=se(59301),Ne=se(93314),Te=se(99571),Be=Object.defineProperty,Se=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,le=(Ie,Ye,He)=>Ye in Ie?Be(Ie,Ye,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ie[Ye]=He,nt=(Ie,Ye)=>{for(var He in Ye||(Ye={}))be.call(Ye,He)&&le(Ie,He,Ye[He]);if(Oe)for(var He of Oe(Ye))Pe.call(Ye,He)&&le(Ie,He,Ye[He]);return Ie},ye=(Ie,Ye)=>Se(Ie,fe(Ye));const Ke=({img:Ie,buttonProps:Ye={},styles:He={},customText:Ve,ButtonText:ut,ButtonClick:at,Buttonclass:rt,ButtonTwo:Fe,imgStyles:Ee,loading:Ge=!1,className:Ue=""})=>re.createElement("section",{className:`tc animated fadeIn ${Ue}`,style:nt({color:"#999",margin:"100px auto",visibility:Ge?"hidden":"visible"},He)},re.createElement("img",{src:Ie||Ne,style:ye(nt({},Ee),{pointerEvents:"none",userSelect:"none"})}),re.createElement("p",{className:"mt20 font14"},Ve||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ut&&re.createElement(Te.ZP,nt({className:rt,onClick:at},Ye),ut),Fe&&Fe);un.Z=Ke},2748:function(wn,un,se){"use strict";se.d(un,{Q:function(){return fe}});var re=se(59301),Ne=se(82326),Te=se(47889),Be=se(71051),Se=se(59301),fe=(be=>(be[be.Number=1]="Number",be[be.Percent=2]="Percent",be))(fe||{});const Oe=({value:be,onChange:Pe,disabled:le,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=ut=>be.type===1?`${ut}\u5206`:`${ut}%`,Ve=(0,re.useCallback)(ut=>{if(Ie===1){const at=ut.replace("\u5206","");return isNaN(parseInt(at,10))?0:at}else return ut.replace("%","")},[Ie]);return(0,re.useEffect)(()=>{Ye(be.type)},[be]),Se.createElement("div",{style:{display:"flex",alignItems:"center"}},ye=="select"&&Se.createElement(Ne.default,{size:"large",onChange:ut=>{Ye(ut),Pe({type:ut,inputValue:ut===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:le}),ye=="radio"&&Se.createElement(Te.ZP.Group,{size:"large",onChange:ut=>{const at=ut.target.value;Ye(at),Pe({type:at,inputValue:at===1?5:20})},value:Ie||Ke,disabled:le},!nt&&Se.createElement(Te.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Se.createElement(Te.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ye=="radio"&&Se.createElement("div",{style:{marginRight:"10px",color:"#000000"}},be.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Se.createElement(Be.Z,{size:"large",disabled:le,value:be.inputValue,style:{width:"120px"},parser:Ve,addonAfter:be.type===1?"\u5206":"%",max:Ie===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ut=>{Pe({type:Ie,inputValue:ut})}}),ye=="radio"&&be.type==2&&Se.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};un.Z=Oe},41550:function(wn,un,se){"use strict";se.d(un,{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),Be=se(70557),Se=se(51124),fe=se(25399),Oe=se(49661),be=se(72664),Pe=se(57884),le=se(90524),nt=se(14794),ye=se(59301),Ke=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ve=(Fe,Ee,Ge)=>Ee in Fe?Ke(Fe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Fe[Ee]=Ge,ut=(Fe,Ee)=>{for(var Ge in Ee||(Ee={}))Ye.call(Ee,Ge)&&Ve(Fe,Ge,Ee[Ge]);if(Ie)for(var Ge of Ie(Ee))He.call(Ee,Ge)&&Ve(Fe,Ge,Ee[Ge]);return Fe},at=(Fe,Ee,Ge)=>new Promise((Ue,dt)=>{var ge=Ze=>{try{ze(Ge.next(Ze))}catch(_e){dt(_e)}},ke=Ze=>{try{ze(Ge.throw(Ze))}catch(_e){dt(_e)}},ze=Ze=>Ze.done?Ue(Ze.value):Promise.resolve(Ze.value).then(ge,ke);ze((Ge=Ge.apply(Fe,Ee)).next())}),rt=({editOffice:Fe="view",data:Ee,issaver:Ge,onSaver:Ue,theme:dt,type:ge,filename:ke,monacoEditor:ze,className:Ze,style:_e,close:Re,onClose:Je,hasMask:Nt,disabledDownload:ht,onImgDimensions:gt,showNodata:At,recordInfo:we})=>{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"),[Lt,Tt]=(0,re.useState)(""),[Xe,bt]=(0,re.useState)(),$e=window.ENV==="build"?"/react/build":"",Ot=location.host.startsWith("localhost")?le.Z.PROXY_SERVER:le.Z.API_SERVER,yt=10*(1024*1024),Qe=(0,re.useRef)();Ee!=null&&Ee.startsWith("/api")&&ge!=="txt"&&(Ee=le.Z.API_SERVER+Ee);const Ft=ee=>ee.substring(ee.lastIndexOf("/")+1).split(".").pop();ke&&ze&&(ze.filename=ke),(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"&&Tt(me[1])})},[]),(0,re.useEffect)(()=>{ge==="office"&&(Ee.indexOf("bigfilescdn.")>-1||Ee.indexOf("bigfiles1")>-1?bt({url:Ee,fileType:Ft(Ee),model:Ee.indexOf("model=edit")?"edit":"view"}):ce())},[ge,Ee]);function wt(ee){return at(this,null,function*(){ee.data.type==="pdfdata"&&(Ue(ee.data.data),window.removeEventListener("message",wt,!1)),console.log("mess---:",ee.data)})}const ce=()=>at(void 0,null,function*(){console.log("data:",Ee);let ee=Ee;Ee.startsWith("http")||(ee=location.origin+ee);let ne=new URL(ee).pathname.split("/").pop();const te=yield(0,be.gJ)({attachment_id:ne});te.url=Ot+te.url,bt(te)}),ie=()=>{if(Ee.startsWith("http")||Ee.startsWith("blob:")){z();return}(0,Oe.Sv)(ke||"educoder",Ee,ke)},z=()=>{we&&(0,nt.fc)({id:we==null?void 0:we.id,watch_type:1,course_id:we==null?void 0:we.course_id}),(0,Oe.Nd)(ke||"educoder",decodeURIComponent(Ee))};return ye.createElement("div",{style:ut({},_e||{}),className:`${Nt&&Ne.bgBlack} ${ge?Ne.wrp:"hide"}`},Re&&ye.createElement("div",{className:Ne.close,ref:Qe},!!gt&&ye.createElement(fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Qe.current},ye.createElement("span",{onClick:()=>{Je(),gt()}},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"}))),Ge&&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",wt,!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(Se.ZP,ut({},ze)))),ge==="audio"&&ye.createElement("audio",{src:`${(Ee==null?void 0:Ee.indexOf("http://"))>-1||(Ee==null?void 0:Ee.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Ee}`,autoPlay:!0}),ge==="video"&&ye.createElement(ye.Fragment,null,(Ee==null?void 0:Ee.indexOf("http"))>-1?ye.createElement("video",{controls:!0,src:`${Ee}`,autoPlay:!0}):ye.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Ee}`,autoPlay:!0})),ge==="office"&&Xe&&ye.createElement("iframe",{src:`${$e}/office.html?key=${Xe.key}&url=${btoa(Xe.url)}&callbackUrl=${Ot+(Xe.callbackUrl||"")}&fileType=${Xe.fileType}&title=${Xe.title||""}&model=${Fe}&officeServer=${le.Z.ONLYOFFICE}&disabledDownload=${!!ht}`}),ge==="html"&&ye.createElement("iframe",{src:Ee+"&disposition=inline"}),ge==="pdf"&&ye.createElement("iframe",{id:"pdfiframe",src:`${$e}/js/pdfview/index.html?filename=${ke||"educoder.pdf"}&url=${encodeURIComponent(Ee)}&disabledDownload=${!!ht}&model=${Fe}`}),ge==="image"&&ye.createElement("img",{src:`${(Ee==null?void 0:Ee.indexOf("http://"))>-1||(Ee==null?void 0:Ee.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Ee}`}),(ge==="other"||ge==="download")&&ye.createElement(ye.Fragment,null,At?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(Be.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ge==="flowChart"&&ye.createElement("div",{className:"embed"},ye.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Ee||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},38394:function(wn,un,se){"use strict";se.d(un,{z:function(){return ze},Z:function(){return Ze}});var re=se(59301),Ne=se(88831),Te=se(90290),Be=se(64018),Se=se(68535),fe=se(90524),Oe=se(49661),be=se(15342),Pe=se(77736),le=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),Nt=`.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 gt=document.createElement("style");return gt.textContent=Nt,ht.appendChild(gt),()=>{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 Ve={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},ut=Object.defineProperty,at=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Ee=(_e,Re,Je)=>Re in _e?ut(_e,Re,{enumerable:!0,configurable:!0,writable:!0,value:Je}):_e[Re]=Je,Ge=(_e,Re)=>{for(var Je in Re||(Re={}))rt.call(Re,Je)&&Ee(_e,Je,Re[Je]);if(at)for(var Je of at(Re))Fe.call(Re,Je)&&Ee(_e,Je,Re[Je]);return _e};const Ue="@\u2581\u2581@",dt="@\u2581@",ge=/<pre[^>]*>/g;function ke(_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,Nt=/\"(?: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,gt=/(?: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,(At,we,he,qe,Lt,Tt,Xe)=>{const bt=we||qe||Tt,$e=he||Lt||Xe||"?";return fe.Z.API_SERVER+"/api/attachments/"+bt+$e+"&t="+(0,Oe.Jn)(bt,Date.now())+(At.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(_e=_e.replace(gt,(At,we,he,qe,Lt,Tt,Xe)=>{const bt=we||qe||Tt,$e=he||Lt||Xe||"?";return fe.Z.API_SERVER+"/attachments/download/"+bt+$e+"&t="+(0,Oe.Jn)(bt,Date.now())+(At.indexOf(")")>-1?")":"&")}).replace(Je,(At,we,he,qe,Lt,Tt,Xe)=>{const bt=we||qe||Tt,$e=he||Lt||Xe||"?";return fe.Z.API_SERVER+"/api/attachments/"+bt+$e+"&t="+(0,Oe.Jn)(bt,Date.now())+(At.indexOf(")")>-1?")":"&")}).replace(Nt,(At,we,he,qe,Lt)=>{const Tt=we||qe,Xe=he||Lt||"";return'"'+fe.Z.API_SERVER+"/api/attachments/"+Tt+Xe+Tt+Xe+"&t="+(0,Oe.Jn)(Tt,Date.now())}).replace(ht,(At,we,he,qe,Lt)=>{const Tt=we||qe,Xe=he||Lt||"";return"("+fe.Z.API_SERVER+"/files/uploads/"+Tt+Xe+Tt+Xe+"&t="+(0,Oe.Jn)(Tt,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:Nt,showLines:ht,style:gt={},stylesPrev:At={},highlightKeywords:we,showProgramFill:he,isProgramFill:qe,disabledFill:Lt=!1,programFillValue:Tt,openEditor:Xe=()=>{},onFillChange:bt=We=>{},onFillBlur:$e=()=>{},onFillFocus:Ot=()=>{}})=>{let We=He(String(_e||""));const yt=(0,re.useRef)(),Qe=(0,re.useRef)(),[Ft,wt]=(0,re.useState)(""),[ce,ie]=(0,re.useState)("office"),[z,ee]=(0,re.useState)([]),ne=(0,re.useRef)("a"+(0,nt.Z)()),te={},ue=ft=>/<style[\s\S]*?>/i.test(ft||""),me=(ft,Zt,Yt)=>{const mn=document.createElement(ft===dt?"input":"textarea");mn.style.width="100%",mn.style.height=ft===dt?"40px":"151px",mn.rows=5,mn.spellcheck=!1,mn.name="edu-program-fill",mn.placeholder="\u8BF7\u8F93\u5165",mn.dataset.id=Zt;const Mn=Object.keys(te).length;return te[Mn]=mn,`<span class="edu-program-fill-wrap ${ft===dt?"":"show"}" style="width:${ft===dt?"600px":"100%"}" title=${Yt||""}><span>${mn.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function De(ft){return ft=ft.replace(/!\[.*?\]\(.*?\)/g,""),ft=ft.replace(/\[.*?\]\(.*?\)/g,""),ft=ft.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ft=ft.replace(/<embed.*?>/g,""),ft=ft.replace(/<img.*?>/g,""),ft=ft.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ft=ft.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ft=ft.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ft=ft.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ft}const St=ft=>!Nt&&ue(We)?ft:ft.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Zt,Yt){let mn=Yt.replace(/(\n|\r)/g,"").split("}"),Mn=[];return mn.map(Gn=>{Gn!=""&&Mn.push(`.${ne.current} ${Gn}`)}),`<style>${Mn.join("}")}</style>`}),je=(0,re.useMemo)(()=>{try{const mn=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Mn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Gn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,yn=/\(\/attachments\/download\//g;We=We.replace(yn,"("+fe.Z.API_SERVER+"/attachments/download/").replace(mn,"("+fe.Z.API_SERVER+"/api/attachments/").replace(Mn,'"'+fe.Z.API_SERVER+"/api/attachments/").replace(Gn,'"'+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(mn){}if(he){let mn=-1;return We=We.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Mn,Gn,yn){var qn;return++mn,me(Mn,mn,(qn=Tt==null?void 0:Tt[mn])==null?void 0:qn.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${St(We||"")}</pre>`}let ft=St(We);ft=(0,Te.ZP)(ft);const Zt=(0,Te.ez)();We.match(/\[TOC\]/)&&(ft=ft.replace("<p>[TOC]</p>",(0,Te.Qv)()),(0,Te.Iy)()),ft=ft.replace(/(__special_katext_id_\d+__)/g,(mn,Mn)=>{const{type:Gn,expression:yn}=Zt[Mn];return(0,be.renderToString)(ke(yn)||"",{displayMode:Gn==="block",throwOnError:!1,output:"html"})}),ft=ft.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Te.AL)();const Yt=document.createElement("div");if(Yt.innerHTML=ft,Nt)return Yt.innerText;if(we){const mn=we.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Rt(Yt,mn),Yt.innerHTML}return setTimeout(()=>nn(),500),Yt.innerHTML},[We,we]);(0,re.useEffect)(()=>{qt.current&&qt.current.querySelectorAll(["input","textarea"]).forEach(Zt=>{Zt.oninput=et,Zt.onblur=lt,Zt.onfocus=mt})},[z]),(0,re.useEffect)(()=>{var ft,Zt,Yt,mn,Mn;if(Tt!=null&&Tt.length)try{const Gn=qt.current.querySelectorAll(".edu-program-fill-score"),yn=qt.current.querySelectorAll('[name="edu-program-fill"]');for(const[qn,$n]of yn.entries())$n.value=((ft=Tt==null?void 0:Tt[qn])==null?void 0:ft.value)||"",((Zt=Tt==null?void 0:Tt[qn])==null?void 0:Zt.type)==="warning"?$n.className="program-fill-warning":((Yt=Tt==null?void 0:Tt[qn])==null?void 0:Yt.type)==="success"?$n.className="program-fill-success":$n.className="";for(const[qn,$n]of Gn.entries())$n.innerHTML=(mn=Tt==null?void 0:Tt[qn])!=null&&mn.score?`${(Mn=Tt==null?void 0:Tt[qn])==null?void 0:Mn.score}\u5206`:"";ee(Tt)}catch(Gn){console.log(Gn,"error")}},[Tt]);const et=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ee([...z]),bt(z,ft.target.dataset.id)},lt=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ee([...z]),$e(z,ft.target.dataset.id)},mt=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ee([...z]),Ot(z,ft.target.dataset.id)};function Rt(ft,Zt){return ft.childNodes.forEach(Yt=>{var mn;if(Yt.childNodes.length>0)Rt(Yt,Zt);else if(Yt.nodeName!=="IMG")if(Yt.innerHTML)Yt.innerHTML=(mn=Yt.innerHTML)==null?void 0:mn.replace(new RegExp(Zt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Mn=document.createElement("span");Mn.innerHTML=Yt.textContent.replace(new RegExp(Zt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Yt.replaceWith(Mn)}})}const qt=(0,re.useRef)();Te.jb.WebkitLineClamp=ht,ht&&(gt=Ge(Ge({},gt),Te.jb));function Wt(ft){let Zt=ft.target;if(Zt.tagName.toUpperCase()==="A"){let Yt=Zt.getAttribute("href");if(Yt.indexOf("office")>-1)ft.preventDefault(),wt(Yt),ie("office");else if(Yt.indexOf("application/pdf")>-1)ft.preventDefault(),wt(Yt),ie("pdf");else if(Yt.indexOf("text/html")>-1)ft.preventDefault(),wt(Yt),ie("html");else if(Yt.startsWith("#")){ft.preventDefault();let mn=document.getElementById(Yt.replace("#",""));mn&&mn.scrollIntoView(!0)}}}const nn=()=>{var ft;const Zt=(ft=qt.current)==null?void 0:ft.querySelectorAll("video");Zt==null||Zt.forEach(Yt=>{if(Yt.oncontextmenu=()=>!1,Yt.src.indexOf(".m3u8")>-1&&!Yt.canPlayType("application/vnd.apple.mpegurl")){if(Se.ZP.isSupported()){var mn=new Se.ZP;mn.loadSource(Yt.src),mn.attachMedia(Yt)}}})};(0,re.useEffect)(()=>{if(qt.current&&je&&je.match(ge)&&window.PR.prettyPrint(),qt.current)return qt.current.addEventListener("click",Wt),()=>{var ft;(ft=qt.current)==null||ft.removeEventListener("click",Wt),(0,Te.AL)(),(0,Te.Iy)()}},[je,qt.current,Wt]);const Ut=ft=>{ft.target.nodeName==="IMG"&&ft.target.className.indexOf("draw-flowchart")>-1?(yt.current.style.zIndex=1,yt.current.style.display="flex",yt.current.style.width=ft.target.clientWidth+"px",yt.current.style.height=ft.target.clientHeight+"px",yt.current.style.top=ft.target.offsetTop+"px",yt.current.style.left=ft.target.offsetLeft+"px",ft.target.id&&(Qe.current=ft.target.id)):yt.current.style.display="none"},Dt=()=>{yt.current.style.display="none"};return(0,re.useEffect)(()=>{var ft;const Zt=Yt=>{Yt.preventDefault(),Yt.clipboardData.setData("text",window.getSelection().toString())};return(ft=qt.current)==null||ft.addEventListener("copy",Zt),()=>{var Yt;(Yt=qt.current)==null||Yt.removeEventListener("copy",Zt)}},[qt.current]),re.createElement("div",{style:{position:"relative"},onMouseLeave:Dt},Nt&&re.createElement("div",{ref:qt,className:`${Ve.mdBody} `},je),!Nt&&!ue(je)&&re.createElement("div",{ref:qt,style:Ge({},gt),onMouseOver:Ut,className:`${Je||""} ${Lt?"disabled-fill":""} markdown-body ${Ve.mdBody} ${ne.current}`,dangerouslySetInnerHTML:{__html:je}}),!Nt&&ue(je)&&re.createElement(Ye,{html:je}),re.createElement("div",{ref:yt,className:`${Ve.button} ${Re?"":Ve.previewFlowChart}`},re.createElement(Pe.Z,null,re.createElement(le.ZP,{onClick:()=>{Re?Xe(Qe.current):(wt(Qe.current),ie("flowChart"))}},Re?"\u7F16\u8F91":"\u9884\u89C8"))),re.createElement(ye.Z,{close:!0,data:Ft,type:Ft!=null&&Ft.length?ce:"",style:Ge({},At),onClose:()=>wt("")}))}},6681:function(wn,un,se){"use strict";se.d(un,{Z:function(){return be}});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),Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Se="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,le,nt)=>new Promise((ye,Ke)=>{var Ie=Ve=>{try{He(nt.next(Ve))}catch(ut){Ke(ut)}},Ye=Ve=>{try{He(nt.throw(Ve))}catch(ut){Ke(ut)}},He=Ve=>Ve.done?ye(Ve.value):Promise.resolve(Ve.value).then(Ie,Ye);He((nt=nt.apply(Pe,le)).next())}),be=({type:Pe,resdata:le,onok:nt,oktext:ye,okloading:Ke})=>{const[Ie,Ye]=(0,re.useState)(!1),{can_copy_list:He,can_copy_num:Ve,challenge_type:ut,course_data_list:at,no_copy_list:rt,no_copy_num:Fe,no_use_list:Ee,no_use_num:Ge,repeat_shixun_num:Ue,student_count:dt,total_num:ge,use_num:ke}=le;let ze=Ve>0||Pe==="exercise";(0,re.useEffect)(()=>{(le==null?void 0:le.student_count)>0&&Ye(!0)},[le]),console.log("---11",Ke),(0,re.useEffect)(()=>{Ke||Ye(!1)},[Ke]);const Ze=()=>{if(Pe==="exercise"&&ut===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},ke),"\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"&&ut===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},ke),"\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"&&ut===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\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"&&ut===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\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"&&ut===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},ke),"\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"&&ut===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",re.createElement("span",{className:Ne.orangeColor},dt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",re.createElement("span",{className:Ne.orangeColor},ke)," \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},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},ke),"\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"&&ut===1)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",re.createElement("span",{className:Ne.orangeColor},ke),"\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"&&ut===2)return re.createElement(re.Fragment,null,"\u8BFE\u5802\u5185\u6709",re.createElement("span",{className:Ne.orangeColor},dt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",re.createElement("span",{className:Ne.orangeColor},ke),"\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}},Fe>0&&re.createElement("div",null,re.createElement("span",{className:Ne.flex},re.createElement("img",{src:Se,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!==Fe&&"\u3001"))))),Ve>0&&re.createElement("div",{style:{marginTop:20}},re.createElement("span",{className:Ne.flex},re.createElement("img",{src:Be,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!==Ve&&"\u3001"))))));if(Pe==="shixun")return re.createElement("div",{style:{marginTop:20}},Ve>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,...Ee]):Ye(!1)})},re.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ze(),_e()))}},44905:function(wn,un,se){"use strict";se.d(un,{h:function(){return Fe}});var re=se(59301),Ne=se(82326),Te=se(28284),Be=se(99571),Se=se(89780),fe=se.n(Se),Oe=se(66543),be=se(59598),Pe=Object.defineProperty,le=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ye=(Ee,Ge,Ue)=>Ge in Ee?Pe(Ee,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ee[Ge]=Ue,He=(Ee,Ge)=>{for(var Ue in Ge||(Ge={}))Ke.call(Ge,Ue)&&Ye(Ee,Ue,Ge[Ue]);if(ye)for(var Ue of ye(Ge))Ie.call(Ge,Ue)&&Ye(Ee,Ue,Ge[Ue]);return Ee},Ve=(Ee,Ge)=>le(Ee,nt(Ge));const ut=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"]};un.Z=({callback:Ee,onCancel:Ge})=>{const[Ue,dt]=(0,re.useState)("python");function ge(ze){dt(rt[ze][1])}function ke(ze){Ee(ze)}return re.createElement(Te.default,Ve(He({},at),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ke,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(ut,{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(Fe,{mode:Ue})),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Be.ZP,{type:"ghost",onClick:Ge},"\u53D6\u6D88")))};function Fe({value:Ee,onChange:Ge,mode:Ue,options:dt={}}){const ge=(0,re.useRef)(),[ke,ze]=(0,re.useState)();return(0,re.useEffect)(()=>{if(ke){let Ze=function(_e){const Re=_e.getValue();Ge&&Ge(Re)};return ke.on("change",Ze),()=>{ke.off("change",Ze)}}},[ke,Ge]),(0,re.useEffect)(()=>{ke&&ke.setOption("mode",Ue)},[ke,Ue]),(0,re.useEffect)(()=>{ke&&(Ee!==ke.getValue()||Ee==="")&&setTimeout(()=>{ke.setValue(Ee||"")},300)},[ke,Ee]),(0,re.useEffect)(()=>{if(ge.current&&!ke){const Ze=fe().fromTextArea(ge.current,He({mode:Ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},dt));ze(Ze)}},[ge.current,ke]),re.createElement("div",{className:"my-codemirror-container"},re.createElement("textarea",{ref:ge}))}},2978:function(wn,un,se){"use strict";se.d(un,{Z:function(){return cn}});var re=se(59301),Ne=se(76560),Te=se(89780),Be=se.n(Te),Se=se(76374),fe=se(66543),Oe=se(6313),be=se(25717),Pe=se(99498),le=se(25419),nt=se(67549),ye=se(38394),Ke=({value:Et="",className:en,showTextOnly:kn,showLines:On,style:zn={}})=>{const Qn=(0,re.useMemo)(()=>"",[Et]);return re.createElement(re.Fragment,null,re.createElement("div",{dangerouslySetInnerHTML:{__html:Qn}}))},Ie=Object.defineProperty,Ye=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,rt=(Et,en,kn)=>en in Et?Ie(Et,en,{enumerable:!0,configurable:!0,writable:!0,value:kn}):Et[en]=kn,Fe=(Et,en)=>{for(var kn in en||(en={}))ut.call(en,kn)&&rt(Et,kn,en[kn]);if(Ve)for(var kn of Ve(en))at.call(en,kn)&&rt(Et,kn,en[kn]);return Et},Ee=(Et,en)=>Ye(Et,He(en));let Ge=[{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 Ue({onActionCallback:Et,title:en,icon:kn,actionName:On,className:zn="",children:Qn}){function fr(){Et(On)}return re.createElement("a",{title:en,className:zn,onClick:fr},re.createElement("i",{className:`${kn}`}),Qn)}var dt=({watch:Et,showNullButton:en,showNullProgramButton:kn,onActionCallback:On,fullScreen:zn,insertTemp:Qn,hidetoolBar:fr,extraUse:hr})=>{const pr=[...Ge,{title:`${Et?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Et?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!fr&&pr.map((Ar,Ln)=>re.createElement("li",{key:Ln},Ar.actionName?re.createElement(Ue,Ee(Fe({},Ar),{onActionCallback:On})):re.createElement("span",{className:"v-line"}))),en?re.createElement("li",null,re.createElement(Ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:On},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,kn?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(Ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:On},re.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(Ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:On},re.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Qn&&re.createElement("li",null,re.createElement(Ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qn}`,onActionCallback:On},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),hr&&re.createElement("li",null,hr),re.createElement("li",{className:"btn-full-screen"},re.createElement(Ue,{icon:`${zn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:zn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:On})))},ge=se(75790),ke=se(28284),ze=se(37568),Ze=se(99571),_e=Object.defineProperty,Re=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,At=(Et,en,kn)=>en in Et?_e(Et,en,{enumerable:!0,configurable:!0,writable:!0,value:kn}):Et[en]=kn,we=(Et,en)=>{for(var kn in en||(en={}))ht.call(en,kn)&&At(Et,kn,en[kn]);if(Nt)for(var kn of Nt(en))gt.call(en,kn)&&At(Et,kn,en[kn]);return Et},he=(Et,en)=>Re(Et,Je(en));const qe={labelCol:{span:4},wrapperCol:{span:20}};var Lt=({callback:Et,onCancel:en})=>{function kn(On){Et(On)}return re.createElement(ke.default,he(we({},qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:kn,style:{width:500}}),re.createElement(ke.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},re.createElement(ze.default,null)),re.createElement(ke.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},re.createElement(ze.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:en},"\u53D6\u6D88")))},Tt=se(44905),Xe=se(45596),bt=se(62957),$e=se(77019),Ot=se(6077),We=se(59301),yt=({callback:Et,onCancel:en})=>{const kn=document.createElement("canvas"),On=kn.getContext("2d");kn.width=1e3,kn.height=800,On.fillStyle="#ffffff",On.fillRect(0,0,kn.width,kn.height);const zn=kn.toDataURL("image/png");return We.createElement(bt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},We.createElement($e.Z,{style:{height:"100vh"}},We.createElement(Ot.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:zn,visible:!0,title:String(Date.now())},onOk:Qn=>{Et({src:Qn.url})},onClose:en})))},Qe=se(30641),Ft=se(5269),wt=se(6767),ce={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ie=se(59301),ee=(0,re.forwardRef)(({onCancel:Et,editImgId:en,callback:kn},On)=>{let zn=(0,re.useRef)(),Qn=(0,re.useRef)(),fr=(0,re.useRef)(),hr=(0,re.useRef)(!1);const pr=(0,re.useRef)(!1);console.log("ref:",On);const[Ar,Ln]=(0,re.useState)(0),[_t,Xn]=(0,re.useState)("100vh");return(0,re.useEffect)(()=>{Ln(1)},[]),(0,re.useImperativeHandle)(On,()=>({setHeight:Xn})),ie.createElement("div",{ref:pr,className:"body-overflow-initial"},ie.createElement(Qe.Z,{width:"100vw",height:_t,footer:null,closable:!0,placement:"bottom",open:!!Ar,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ce.drawerWrap}`,onClose:()=>{window.saveDrawData(Nr=>{kn({src:`/api/attachments/${Nr}`,id:Nr})})},title:ie.createElement($e.Z,{align:"middle"},ie.createElement(Ft.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ie.createElement(Ft.Z,{onClick:()=>{Xn(_t==="60px"?"100vh":"60px")}},ie.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ie.createElement(Ft.Z,{onClick:()=>{window.saveDrawData(Nr=>{if(Nr===null){wt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}wt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),kn({src:`/api/attachments/${Nr}`,id:Nr,disabledClose:!0})})}},ie.createElement(Ze.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ie.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${en||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Qn})))}),ne=se(90524),te=se(47889),ue=se(71051);const me=te.ZP.Group,De={margin:"0 8px"};var St=({callback:Et,onCancel:en})=>{function kn(On){Et(On)}return re.createElement(ke.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:kn},re.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},re.createElement("span",{style:De},"\u5355\u5143\u683C\u6570\uFF1A"),re.createElement("span",{style:De},"\u884C\u6570"),re.createElement(ke.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},re.createElement(ue.Z,null)),re.createElement("span",{style:De},"\u5217\u6570"),re.createElement(ke.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},re.createElement(ue.Z,null))),re.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},re.createElement("span",{style:De},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),re.createElement(ke.default.Item,{name:"align"},re.createElement(me,null,re.createElement(te.ZP,{value:"default"},re.createElement("i",{className:"fa fa-align-justify"})),re.createElement(te.ZP,{value:"left"},re.createElement("i",{className:"fa fa-align-left"})),re.createElement(te.ZP,{value:"center"},re.createElement("i",{className:"fa fa-align-center"})),re.createElement(te.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:en},"\u53D6\u6D88")))},je=se(71411),et=se(11081),lt=se.n(et),Rt=(0,re.forwardRef)(({use3d:Et,width:en,height:kn,callback:On,showSaveButton:zn},Qn)=>{const fr=(0,re.useRef)(),hr=(0,re.useRef)(),[pr,Ar]=(0,re.useState)(!1),Ln=(0,re.useRef)({id:fr,appName:"graphing",width:en||1e3,height:kn||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)(()=>{hr.current=new(lt())(Ln.current,!0),window.onload=function(){hr.current.inject("applet_container")}},[]);const _t=()=>{var Xn=window.ggbApplet.getPNGBase64(1,!0,72);return On&&On(Xn),Xn};return(0,re.useEffect)(()=>{Ln.current.appName=pr?"3D":"graphing",hr.current.inject("applet_container")},[pr]),(0,re.useEffect)(()=>{Ar(Et)},[Et]),(0,re.useImperativeHandle)(Qn,()=>({getImgData:_t})),re.createElement(re.Fragment,null,re.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:fr}),re.createElement($e.Z,{align:"middle"},re.createElement(Ft.Z,{flex:1},re.createElement(je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:pr,onChange:Xn=>Ar(Xn)})),re.createElement(Ft.Z,null,re.createElement(Ze.ZP,{size:"large",onClick:_t,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),qt=se(88615);const Wt="link",nn="upload-image",Ut="add-flowchart",Dt="draw-image",ft="add-flowchart",Zt="code-block",Yt="add-table",mn="------------",Mn={default:mn,left:`:${mn}`,center:`:${mn}:`,right:`${mn}:`};var Gn=se(17904),yn=se(49661);function qn(){}let $n=0;const dr=1e4,Mr="\u2581",ar="@\u2581\u2581@",Tr="@\u2581@",Pr=`
**\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`,Hn=["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 Rr(Et){return/^\d+$/.test(Et)?`${Et}px`:Et}const Bt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",jt={[Bt+"-B"]:"bold",[Bt+"-I"]:"italic"},dn={[Wt]:"\u6DFB\u52A0\u94FE\u63A5",[Zt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[nn]:"\u6DFB\u52A0\u56FE\u7247",[Dt]:"\u6DFB\u52A0\u753B\u56FE",[Ut]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Yt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cn=({defaultValue:Et="",onChange:en,width:kn="100%",height:On=400,miniToolbar:zn=!1,isFocus:Qn=!1,watch:fr,insertTemp:hr,mode:pr="markdown",id:Ar="markdown-editor-id",showResizeBar:Ln=!1,noStorage:_t=!1,showNullButton:Xn=!1,showNullProgramButton:Nr=!1,hidetoolBar:Hr=!1,fullScreen:ct=!1,onBlur:Ct,onCMBeforeChange:Tn,onFullScreen:En,className:Pt="",disablePaste:Sn=!1,disabled:Wn=!1,disabledFill:Vn=!1,placeholder:er="",values:Un="",extraUse:tr})=>{const[kt,Vr]=(0,re.useState)(null),[ir,Sr]=(0,re.useState)(Et),[Ir,Ur]=(0,re.useState)(fr),[Jr,Ai]=(0,re.useState)(ct),[ui,ei]=(0,re.useState)(""),[Si,ti]=(0,re.useState)(0),[Fi,Ki]=(0,re.useState)(On),[Oi,Ti]=(0,re.useState)(!1),[Wi,Ni]=(0,re.useState)(0),[gi,Ui]=(0,re.useState)(0),Pi=(0,re.useRef)(),kr=(0,re.useRef)(),jr=(0,re.useRef)(),ri=(0,re.useRef)(),bi=(0,re.useRef)(),yi=(0,re.useRef)(),Ei=(0,Ne.useDispatch)();(0,re.useEffect)(()=>{const rn=window.scrollY||window.pageYOffset;Sr(Un),kt==null||kt.setValue(Un),window.scrollTo(0,rn)},[Un]),(0,re.useEffect)(()=>{En==null||En(Jr)},[Jr]),(0,re.useEffect)(()=>{if(Pi.current){let rn=function(xe,Ce){var Le;if(Sn){Ce.preventDefault();return}const Me=Ce.clipboardData;if(Me){const it=Me.types.toString(),ot=Me.items;if(it==="Files"||Me.types.indexOf("Files")>-1){if(Ce.preventDefault(),pr=="stex")return;try{let vt=ot[1];((Le=ot[0])==null?void 0:Le.kind)==="file"&&(vt=ot[0]);const Ht=vt.getAsFile(),Xt=Ht.name.split(".").pop();(0,Xe.I)(Ht,xt=>{var an,gn,hn;xt.id?((an=Ht==null?void 0:Ht.type)==null?void 0:an.indexOf("image"))>-1?oe.replaceSelection(`<img width="100%" src="/api/attachments/${xt.id}?type=${xt.content_type})" alt="" />`):((gn=Ht==null?void 0:Ht.type)==null?void 0:gn.indexOf("video"))>-1?oe.replaceSelection(`<video width="100%" controls src="/api/attachments/${xt.id}"></video>`):((hn=Ht==null?void 0:Ht.type)==null?void 0:hn.indexOf("pdf"))>-1?oe.replaceSelection(`<a href="/api/attachments/${xt.id}?type=${Ht.type}&disposition=inline" target="_blank">${Ht.name}</a>`):Hn.includes(Xt)?oe.replaceSelection(`<a href="/api/attachments/${xt.id}?type=office&disposition=inline" target="_blank">${Ht.name}</a>`):oe.replaceSelection(`[${Ht.name}](/api/attachments/${xt.id}?type=${xt.content_type})`):(xt==null?void 0:xt.status)===401&&(document.location.href="/user/login")})}catch(vt){wt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const oe=Be().fromTextArea(Pi.current,{mode:pr,lineNumbers:!zn,lineWrapping:!0,value:Et,autoCloseTags:!0,autoCloseBrackets:!0});return oe.on("keyup",function(xe,Ce){Ce.keyCode===8&&(xe.getValue()==""?oe.setOption("placeholder",er):oe.setOption("placeholder",null))}),oe.on("keydown",function(xe,Ce){if(Ce.keyCode===8){var Le=tt(xe);Le&&Ce.preventDefault()}}),Qn&&oe.focus(),oe.on("paste",rn),Wn&&oe.on("beforeChange",function(xe,Ce){(Ce.origin==="paste"||Ce.origin==="+input")&&Ce.cancel()}),Vr(oe),()=>{oe.off("paste",rn)}}},[]);const Ji=(0,re.useCallback)(()=>{if(kr.current)try{}catch(rn){console.log(rn,"---- to set md editor body height")}},[Fi,kr,Jr]);(0,re.useEffect)(()=>{function rn(){let oe=new Se.Z(xe=>{for(let Ce of xe)(Ce.target.offsetHeight>0||Ce.target.offsetWidth>0)&&(Ji(),kt.setSize("100%","100%"),kt.refresh())});return oe.observe(Pi.current.parentElement),oe}if(kt){const oe=rn();return()=>{var xe,Ce;(xe=Pi.current)!=null&&xe.parentElement&&oe.unobserve((Ce=Pi.current)==null?void 0:Ce.parentElement)}}},[kt,Ji]),(0,re.useEffect)(()=>{if(kt){let rn=[];for(const[oe,xe]of Object.entries(jt)){let Ce={[oe]:()=>{Kt(xe)}};rn.push(Ce),kt.addKeyMap(Ce)}return()=>{for(let oe of rn)kt.removeKeyMap(oe)}}},[kt]),(0,re.useEffect)(()=>{ct!==Jr&&Ai(ct)},[ct]),(0,Gn.Z)(()=>{if(!_t&&Si>0){let rn=new Date().getTime(),oe=window.sessionStorage.getItem(Ar);rn>=Si+dr&&(!oe||oe!==ir)&&(window.sessionStorage.setItem(Ar,ir),Ti(!0))}},dr),(0,re.useEffect)(()=>{Ur(fr)},[kt,fr]),(0,re.useEffect)(()=>{kt&&Qn&&kt.focus()},[kt,Qn]),(0,re.useEffect)(()=>{if(Ir&&kt){let rn=function(xe){let Ce=xe.target;if(ri.current){let Le=Ce.scrollTop/Ce.scrollHeight;ri.current.scrollTop=ri.current.scrollHeight*Le}};const oe=kt.getScrollerElement();return oe.addEventListener("scroll",rn),()=>{oe.removeEventListener("scroll",rn)}}},[kt,Ir]),(0,re.useEffect)(()=>{if(kt&&Tn){let rn=function(oe,xe){Tn(oe,xe)};return kt.on("beforeChange",rn),()=>{kt.off("beforeChange",rn)}}},[kt,Tn]),(0,re.useEffect)(()=>{if(kt&&Ct){let rn=function(){Ct(kt.getValue())};return kt.on("blur",rn),()=>{kt.off("blur",rn)}}},[kt,Ct]);function tt(rn,oe){var xe=rn.getDoc(),Ce=xe.getCursor(),Le=xe.getLine(Ce.line),Me=Le.charAt(Ce.ch-1),it=Le.lastIndexOf("@\u2581@",Ce.ch),ot=Le.lastIndexOf("@\u2581\u2581@",Ce.ch),vt=it>ot?it:ot,Ht=it>ot?3:4;if(ar.indexOf(Me)===-1)return null;if(console.log("change1:",oe,rn,Le,Ce,vt,it,ot,Me),vt>=0&&Ce.ch-vt<5){var Xt=vt+Ht;return xe.replaceRange("",{line:Ce.line,ch:vt},{line:Ce.line,ch:Xt}),{line:Ce.line,ch:Xt}}return null}(0,re.useEffect)(()=>{if(kt){let rn=function(oe,xe){const Ce=oe.getValue();Sr(Ce),ti(new Date().getTime()),oe.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),en&&(Nr?en(Ce,It(Ce)):en(Ce))};return kt.on("change",rn),()=>{kt.off("change",rn)}}},[kt,en]),(0,re.useEffect)(()=>{if(kt)if(Et==null)kt.setValue(""),Sr("");else{const rn=window.scrollY||window.pageYOffset;Et!==kt.getValue()&&(kt.setValue(Et),Sr(Et),kt.setCursor(Wn?1:kt.lineCount(),0),window.scrollTo(0,rn))}},[kt,Et]);const Kt=(0,re.useCallback)(rn=>{const oe=kt.getCursor(),xe=kt.getSelection();let Ce=xe.split(`
`);switch(rn){case"bold":return kt.replaceSelection("**"+xe+"**"),xe===""&&kt.setCursor(oe.line,oe.ch+2),kt.focus();case"italic":return kt.replaceSelection("*"+xe+"*"),xe===""&&kt.setCursor(oe.line,oe.ch+1),kt.focus();case"code":return kt.replaceSelection("`"+xe+"`"),xe===""&&kt.setCursor(oe.line,oe.ch+1),kt.focus();case"inline-latex":return(0,yn.Ye)(Ei)?void 0:(ei("inline-latex"),kt.focus());case"latex":return kt.replaceSelection("```latex\n"+xe+"\n```"),kt.setCursor(oe.line+1,xe.length+1),kt.focus();case"line-break":return kt.replaceSelection(`<br/>
`),kt.focus();case"list-ul":return xe===""?kt.replaceSelection("- "+xe):kt.replaceSelection(Ce.map(Le=>Le===""?"":`- ${Le}`).join(`
`)),kt.focus();case"list-ol":return xe===""?kt.replaceSelection("1. "+xe):kt.replaceSelection(Ce.map((Le,Me)=>Le===""?"":`${Me+1}. ${Le}`).join(`
`)),kt.focus();case"add-null-ch":return xe===""&&kt.setCursor(oe.line,oe.ch),kt.replaceSelection(Mr),kt.focus();case"add-signal":return xe===""&&kt.setCursor(oe.line,oe.ch),kt.replaceSelection(Tr),kt.focus();case"add-multiple":return xe===""&&kt.setCursor(oe.line,oe.ch),kt.replaceSelection(ar),kt.focus();case"inster-template-1":return xe===""&&kt.setCursor(oe.line,oe.ch),kt.replaceSelection(Pr),kt.focus();case"eraser":return kt.setValue(""),kt.focus();case"trigger-watch":return Ur(!Ir),kt.focus();case"trigger-full-screen":return Ai(!Jr),kt.focus();case Wt:ei(Wt);return;case Zt:ei(Zt);return;case nn:ei(nn);return;case Dt:ei(Dt);return;case"maths-latex":if((0,yn.Ye)(Ei))return;ei("maths-latex");return;case Ut:bi.current="",sessionStorage.removeItem("file_id"),ei(Ut);return;case Yt:ei(Yt);return;default:throw new Error}},[kt,Ir,Jr]),Mt=(0,re.useCallback)((rn,oe)=>{var xe,Ce,Le,Me,it,ot;rn!=null&&rn.disabledClose||ei("");const{src:vt,alt:Ht,id:Xt}=rn||{};switch(ui){case Wt:const{title:on,link:Jt}=rn;return kt.replaceSelection(`[${on}](${Jt})`),kt.focus();case Zt:const{language:zt,content:Qt}=rn;return kt.replaceSelection(["```"+zt,Qt,"```"].join(`
`)),kt.focus();case"maths-latex":for(var xt=atob(rn),an=new Uint8Array(xt.length),gn=0;gn<xt.length;gn++)an[gn]=xt.charCodeAt(gn);var hn=new Blob([an],{type:"image/png"});(0,Xe.I)(hn,mr=>{mr.id?kt.replaceSelection(`![,](/api/attachments/${mr.id}?type=${mr.content_type})`):(mr==null?void 0:mr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,yn.Ye)(Ei))return;kt.replaceSelection("`$$"+rn+"$$`");break;case ft:if(!Xt)return;kt.getValue().indexOf(vt)===-1?kt.replaceSelection(`<center><img id="${Xt}" width="80%" src="${vt}" class="draw-flowchart" alt="${Ht||""}" /></center>`):document.getElementById(Xt).src=ne.Z.API_SERVER+vt+"?t="+Date.now();break;case nn:case Dt:const vn=oe,xn=(Le=(Ce=(xe=vn==null?void 0:vn.name)==null?void 0:xe.split("."))==null?void 0:Ce.pop)==null?void 0:Le.call(Ce);return((Me=vn==null?void 0:vn.type)==null?void 0:Me.indexOf("image"))>-1||!(vn!=null&&vn.type)?vn!=null&&vn.align||vn!=null&&vn.width?kt.replaceSelection(`<p style="text-align:${vn.align||"initial"}"><img width="${vn.width?vn.width+"%":"initial"}" src="${vt}" alt="${Ht||""}" /></p>`):kt.replaceSelection(`<img width="100%" src="${vt}" alt="${Ht||""}" />`):((it=vn==null?void 0:vn.type)==null?void 0:it.indexOf("video"))>-1?kt.replaceSelection(`<video width="100%" controls src="${vt}"></video>`):((ot=vn==null?void 0:vn.type)==null?void 0:ot.indexOf("pdf"))>-1?kt.replaceSelection(`<a href="${vt}?type=${vn.type}&disposition=inline" target="_blank">${vn.name}</a>`):Hn.includes(xn)?kt.replaceSelection(`<a href="${vt}?type=office&disposition=inline" target="_blank">${vn.name}</a>`):kt.replaceSelection(`[${vn.name}](${vt})`),kt.focus();case Yt:const{row:pn,col:Bn,align:Fn}=rn;let Kn=`
`;for(let mr=0;mr<pn;mr++){let br=[],Dr=[];for(let sr=0;sr<Bn;sr++)mr===1&&Dr.push(Mn[Fn]),br.push(" ");mr===1&&(Kn+=`| ${Dr.join(" | ")} |
`),Kn+=`| ${br.join(Bn===1?"":" | ")} |
`}return kt.replaceSelection(Kn+`
`),kt.focus();default:throw new Error}},[kt,ui]),Gt=(0,re.useMemo)(()=>{switch(ui){case Wt:return re.createElement(Lt,{callback:Mt,onCancel:tn});case Zt:return re.createElement(Tt.Z,{callback:Mt,onCancel:tn});case nn:return re.createElement(Xe.Z,{callback:Mt,onCancel:tn});case Ut:return re.createElement(ee,{editImgId:bi.current,callback:Mt,onCancel:tn});case Yt:return re.createElement(St,{callback:Mt,onCancel:tn});case"maths-latex":return re.createElement(Rt,{showSaveButton:!0,callback:Mt});case"inline-latex":return re.createElement(qt.Z,{showSaveButton:!0,callback:Mt});default:return null}},[ui]);function tn(){ei("")}(0,re.useEffect)(()=>{if(jr.current){let rn=function(it){Le=!0,Me=it.pageY},oe=function(){Le=!1},xe=function(it){if(Le){let ot=it.pageY-Me;ot<0&&(ot=0),ot>300&&(ot=300);let vt=On+ot+"px";Ki(vt)}},Ce=jr.current,Le=!1,Me=0;return Ce.addEventListener("mousedown",rn),document.addEventListener("mousemove",xe),document.addEventListener("mouseup",oe),()=>{Ce.removeEventListener("mousedown",rn),document.removeEventListener("mousemove",xe),document.removeEventListener("mouseup",oe)}}},[kt,jr]),(0,re.useEffect)(()=>{Ki(On)},[On]);const Cn=Rr(kn),In=Rr(Fi),Dn={width:Cn,height:In},An=(0,re.useMemo)(()=>{if(Si){let rn=new Date(Si),oe=rn.getHours(),xe=rn.getMinutes(),Ce=rn.getSeconds();return oe=oe<10?"0"+oe:oe,xe=xe<10?"0"+xe:xe,Ce=Ce<10?"0"+Ce:Ce,`${oe}:${xe}:${Ce}`}return 0},[Si]),It=rn=>{const oe=[];if(Nr){let xe=-1;rn=rn.replace(/(@▁▁@|@▁@)/g,function(Ce,Le,Me){oe.push({multiLine:Ce!==Tr})})}return oe};function ln(){window.sessionStorage.removeItem(Ar),Ti(!1),ti(0)}function fn(){Ti(!1),ti(0),kt.setValue(window.sessionStorage.getItem(Ar))}(0,re.useEffect)(()=>{dn[ui]&&ui!==Dt&&ui!==Ut&&setTimeout(()=>{const rn=document.getElementsByClassName("markdown-popup-form")[0],oe=window.innerWidth/2-rn.offsetWidth/2,xe=window.innerHeight/2-rn.offsetHeight/2;Ni(oe),Ui(xe)},0)},[ui]);const sn=rn=>{rn.preventDefault();const oe=rn.clientX-Wi,xe=rn.clientY-gi;document.body.onmousemove=Ce=>{let Le=Ce.clientX-oe,Me=Ce.clientY-xe;const it=document.getElementsByClassName("markdown-popup-form")[0],ot=window.innerWidth-it.offsetWidth,vt=window.innerHeight-it.offsetHeight;Le=Math.max(0,Math.min(Le,ot)),Me=Math.max(0,Math.min(Me,vt)),bn(Ce.clientX,Ce.clientY,oe,xe)&&(Ni(Le),Ui(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},bn=(rn,oe,xe,Ce)=>{const Le=document.body.clientHeight,Me=document.body.clientWidth;return rn<20&&xe>rn||rn>Me-20&&xe<rn||oe<20&&Ce>oe||oe>Le-20&&Ce<oe?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return re.createElement(re.Fragment,null,re.createElement("div",{className:"markdown-editor-wrapper",ref:kr},re.createElement("div",{className:`markdown-editor-container ${Pt} ${Ir?"on-preview":""} ${zn?"mini":""} ${Jr?"full-screen":""}`,style:Dn},re.createElement(dt,{insertTemp:hr,watch:Ir,fullScreen:Jr,showNullButton:Xn,showNullProgramButton:Nr,onActionCallback:Kt,hidetoolBar:Hr,extraUse:tr}),re.createElement("div",{className:"markdown-editor-body"},re.createElement("div",{className:"codemirror-container"},re.createElement("textarea",{ref:Pi,placeholder:er})),Ir?re.createElement("div",{ref:ri,className:"preview-container"},pr==="stex"&&re.createElement(Ke,{value:ir}),pr!=="stex"&&re.createElement(ye.Z,{edit:!0,disabledFill:Vn,showProgramFill:Nr,value:ir,openEditor:rn=>{var oe;bi.current=rn,(oe=yi.current)==null||oe.setHeight("100vh"),setTimeout(()=>{ei("add-flowchart")},150)}})):null))),Ln?re.createElement("a",{ref:jr,className:"editor-resize"}):null,ui===Dt&&re.createElement(yt,{callback:Mt,onCancel:tn}),ui===Ut&&re.createElement(ee,{ref:yi,editImgId:bi.current,callback:Mt,onCancel:tn}),re.createElement(ge.Z,null,dn[ui]&&ui!==Dt&&ui!==Ut?re.createElement(bt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Wi,top:gi},title:re.createElement("div",{style:{cursor:"move"},onMouseDown:sn},dn[ui]),open:!0,onCancel:tn,footer:null,destroyOnClose:!0,width:ui===Ut?"1200px":null,height:ui===Ut?"80vh":null,className:"markdown-popup-form"},Gt):null))}},45596:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ge},I:function(){return dt}});var re=se(28284),Ne=se(6767),Te=se(37568),Be=se(77736),Se=se(71051),fe=se(47889),Oe=se(99571),be=se(67303),Pe=se(59301),le=se(59301),nt=Object.defineProperty,ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ve=(ge,ke,ze)=>ke in ge?nt(ge,ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):ge[ke]=ze,ut=(ge,ke)=>{for(var ze in ke||(ke={}))Ye.call(ke,ze)&&Ve(ge,ze,ke[ze]);if(Ie)for(var ze of Ie(ke))He.call(ke,ze)&&Ve(ge,ze,ke[ze]);return ge},at=(ge,ke)=>ye(ge,Ke(ke));const{useForm:rt}=re.default,Fe={width:280,marginRight:10},Ee={labelCol:{span:5},wrapperCol:{span:19}};var Ge=({callback:ge,onCancel:ke})=>{const[ze]=rt();let Ze=(0,Pe.useRef)();function _e(Nt){Ze.current.width=ze.getFieldValue("width"),Ze.current.align=ze.getFieldValue("align"),ge(Nt,Ze.current)}function Re(Nt,ht){if(Nt.status===-1){Ne.ZP.error(Nt.message);return}ze.setFieldsValue({src:`/api/attachments/${Nt.id}`,type:ht.type})}function Je(Nt){let ht=Nt.target.files[0];Ze.current=ht,dt(ht,Re)}return le.createElement(re.default,at(ut({form:ze},Ee),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),le.createElement(re.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},le.createElement("div",{className:"flex-container"},le.createElement(re.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},le.createElement(Te.default,{style:Fe})),le.createElement(Ue,{onFileChange:Je}))),le.createElement(re.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},le.createElement(Te.default,{style:{width:264}})),le.createElement(re.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},le.createElement(Be.Z,null,le.createElement(re.default.Item,{name:"width",style:{margin:0}},le.createElement(Se.Z,{style:{width:264}})),le.createElement("span",{className:"ml8"},"%"))),le.createElement(re.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},le.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"}]})),le.createElement("aside",null,le.createElement(re.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},le.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Oe.ZP,{type:"default",onClick:ke},"\u53D6\u6D88"))))};function Ue({onFileChange:ge}){return le.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",le.createElement("input",{type:"file",onChange:ge}))}function dt(ge,ke){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){ke(JSON.parse(_e.target.responseText),ge)},!1),Ze.addEventListener("error",function(_e){console.error(_e)},!1),Ze.open("POST",`${be.KI}/api/attachments.json`),Ze.send(ze)}},75790:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Te}});var re=se(59301),Ne=se(4676);class Te extends re.Component{constructor(Se){super(Se);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:Se}=this.props;return(0,Ne.createPortal)(Se,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(wn,un,se){"use strict";se.d(un,{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"]},Be={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"]},Se={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 be=se(53184),Pe=se.n(be),le=(Qe,Ft,wt)=>new Promise((ce,ie)=>{var z=te=>{try{ne(wt.next(te))}catch(ue){ie(ue)}},ee=te=>{try{ne(wt.throw(te))}catch(ue){ie(ue)}},ne=te=>te.done?ce(te.value):Promise.resolve(te.value).then(z,ee);ne((wt=wt.apply(Qe,Ft)).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,Ft,wt,ce)=>{const ie=Ft.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:wt.lineNumber,endColumn:wt.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,Ft,wt,ce)=>{Qe.languages.registerCompletionItemProvider(Ft,{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),...wt.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(Ft=>{Qe.languages.registerDocumentFormattingEditProvider(Ft,{provideDocumentFormattingEdits(wt){return le(this,null,function*(){const ce=Pe()(wt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:wt.getFullModelRange(),text:ce}]})}})}),Ke(Qe,"java",Be.keywords,Be.quickKey),Ke(Qe,"cpp",Se.keywords,Se.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,Ve=(Qe,Ft,wt)=>Ft in Qe?He(Qe,Ft,{enumerable:!0,configurable:!0,writable:!0,value:wt}):Qe[Ft]=wt,ut=(Qe,Ft,wt)=>Ve(Qe,typeof Ft!="symbol"?Ft+"":Ft,wt);const at=class qs{constructor(Ft,wt,ce){this.placeholder=Ft,this.editor=wt,this.monaco=ce,wt.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)}};ut(at,"ID","editor.widget.placeholderHint");var Fe=at,Ee=se(96236),Ge=se(6767),Ue=se(25399),dt=se(89392),ge=se(33796),ke=se(56102),ze=Object.defineProperty,Ze=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,ht=(Qe,Ft,wt)=>Ft in Qe?ze(Qe,Ft,{enumerable:!0,configurable:!0,writable:!0,value:wt}):Qe[Ft]=wt,gt=(Qe,Ft)=>{for(var wt in Ft||(Ft={}))Je.call(Ft,wt)&&ht(Qe,wt,Ft[wt]);if(Re)for(var wt of Re(Ft))Nt.call(Ft,wt)&&ht(Qe,wt,Ft[wt]);return Qe},At=(Qe,Ft)=>Ze(Qe,_e(Ft)),we=(Qe,Ft)=>{var wt={};for(var ce in Qe)Je.call(Qe,ce)&&Ft.indexOf(ce)<0&&(wt[ce]=Qe[ce]);if(Qe!=null&&Re)for(var ce of Re(Qe))Ft.indexOf(ce)<0&&Nt.call(Qe,ce)&&(wt[ce]=Qe[ce]);return wt},he=(Qe,Ft,wt)=>new Promise((ce,ie)=>{var z=te=>{try{ne(wt.next(te))}catch(ue){ie(ue)}},ee=te=>{try{ne(wt.throw(te))}catch(ue){ie(ue)}},ne=te=>te.done?ce(te.value):Promise.resolve(te.value).then(z,ee);ne((wt=wt.apply(Qe,Ft)).next())});function qe(Qe){return/^\d+$/.test(Qe)?`${Qe}px`:Qe}function Lt(){}let Tt=!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 bt(Qe=[]){let Ft=Qe;if(Array.isArray(Qe)){for(let wt=0;wt<Qe.length;wt++){let ce=Xe[Qe[wt]];if(ce)return ce}return Ft[0]}return Xe[Ft]||Ft}let $e=null;const Ot=()=>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 Ft=Qe,{width:wt="100%",height:ce="100%",value:ie,language:z="javascript",style:ee={},options:ne={},overrideServices:te={},theme:ue="vs-dark",onEditBlur:me,isCopy:De=!1,onSave:St,autoHeight:je=!1,forbidCopy:et=!1,onChange:lt=Lt,editorDidMount:mt=Lt,onFocus:Rt=Lt,onBreakPoint:qt=Lt,breakPointValue:Wt=[],filename:nn="educoder.txt",errorLine:Ut,errorContent:Dt="",highlightLine:ft,openBreakPoint:Zt=!1,placeholder:Yt="",showMiniMap:mn=!0}=Ft,Mn=we(Ft,["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 Gn=(0,re.useRef)(),yn=(0,re.useRef)({}),qn=(0,re.useRef)(),$n=(0,re.useRef)(),dr=(0,re.useRef)([]),Mr=(0,re.useRef)(!1),ar=(0,re.useRef)(),Tr=(0,re.useRef)(),Pr=(0,re.useRef)(!1),[Hn,Rr]=(0,re.useState)(!1);function Wr(){let Ln;return Gn.current&&(Ln=new Ne.Z(_t=>{for(let Xn of _t)(Xn.target.offsetHeight>0||Xn.target.offsetWidth>0)&&yn.current.instance.layout()}),Ln.observe(Gn.current)),Ln}function Bt(){Ge.ZP.warning({content:decodeURIComponent(Ye),key:"monaco-editor-tip"})}const jt=()=>{let Ln=yn.current.instance;if(ie!=null&&Ln&&Hn){const _t=Ln.getModel();_t&&ie!==_t.getValue()&&(Tt=!0,_t.setValue(ie),Ln.layout(),Tt=!1)}};(0,re.useEffect)(()=>{const Ln=ge.Z.subscribe("formatDocument",_t=>{var Xn;let Nr=yn.current.instance;(Xn=Nr==null?void 0:Nr.getAction)==null||Xn.call(Nr,"editor.action.formatDocument").run()});return window.updateMonacoValue=_t=>{lt(_t)},Ln},[]),(0,re.useEffect)(()=>{var Ln;let _t=yn.current.instance;$n.current&&clearTimeout($n.current),$n.current=setTimeout(()=>{jt()},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,Hn,yn.current]),(0,re.useEffect)(()=>{if(Ut&&yn.current&&yn.current.instance){let _t=yn.current.instance;_t.changeViewZones(function(Xn){var Nr=document.createElement("div");Nr.style.padding="10px 20px",Nr.style.width="calc(100% - 20px)",Nr.className="my-error-line-wrp",Nr.innerHTML=Dt,Xn.addZone({afterLineNumber:Ut||11,heightInLines:3,domNode:Nr})});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})}},[Ut,yn.current,Hn]);const dn=(Ln="",_t)=>{if(!Ln||Ln.trim()==="")return!0;const Nr=yn.current.instance.getModel().getLineTokens(_t);let Hr=!1;for(let ct=0;ct<2;ct++)Nr.getStandardTokenType(ct)===1&&(Hr=!0);return Hr};(0,re.useEffect)(()=>{var Ln;const _t=(Ln=yn.current)==null?void 0:Ln.instance;if(_t&&Hn&&et){const Xn=_t.onDidBlurEditorWidget(()=>{Pr.current=!1}),Nr=_t.onDidFocusEditorText(()=>{Pr.current=!0});return()=>{Xn.dispose(),Nr.dispose()}}},[yn.current,Hn,et]),(0,re.useEffect)(()=>{var Ln;if((Ln=yn.current)!=null&&Ln.instance&&Hn&&Zt){let _t=yn.current.instance,Xn=_t.getModel();if(!Xn)return;(()=>{var Un;let tr=[],kt=[];const Vr=Xn.getAllDecorations();for(let Sr of Vr)Sr.options.className==="highlighted-line"&&(tr.push((Un=Sr==null?void 0:Sr.range)==null?void 0:Un.startLineNumber),kt.push(Sr==null?void 0:Sr.id));if(ft===tr[0])return;Xn.deltaDecorations(kt,[]);const ir=Xn.getLineCount();ft&&ft<=ir&&(_t.deltaDecorations([],[{range:new $e.Range(ft,1,ft,Xn.getLineMaxColumn(ft)),options:{isWholeLine:!0,className:"highlighted-line"}}]),_t.revealLineInCenter(ft))})();const Hr=(Un=!1)=>{var tr;let kt=[],Vr=[];const ir=Xn.getAllDecorations();for(let Sr of ir)Sr.options.linesDecorationsClassName==="breakpoints-select"&&(kt.push((tr=Sr==null?void 0:Sr.range)==null?void 0:tr.startLineNumber),Vr.push(Sr==null?void 0:Sr.id));if(Un)return{lines:kt,ids:Vr};qt(kt)},ct=Un=>he(void 0,null,function*(){let tr={range:new $e.Range(Un,1,Un,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Xn.deltaDecorations([],[tr]),Hr()}),Ct=Un=>he(void 0,null,function*(){let tr=[];const kt=_t.getLineDecorations(Un);for(let Vr of kt)Vr.options.linesDecorationsClassName==="breakpoints-select"&&tr.push(Vr.id);yield Xn.deltaDecorations(tr,[]),Hr()}),Tn=Un=>{let tr=_t.getLineDecorations(Un);for(let kt of tr)if(kt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,dt.isEqual)(Wt,Hr(!0).lines)){Xn.deltaDecorations(Hr(!0).ids,[]);const Un=Wt.map(tr=>({range:new $e.Range(tr,1,tr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Xn.deltaDecorations([],Un)}const En=_t.onDidChangeModelContent(Un=>{let tr=_t.getPosition();if(tr){let kt=tr.lineNumber;clearTimeout(Tr.current),Tr.current=setTimeout(()=>{dn(Xn.getLineContent(kt),kt)?Ct(kt):Tn(kt)?(Ct(kt),ct(kt)):Hr()},100)}}),Pt=_t.onMouseDown(Un=>{var tr,kt,Vr;if(Un.target.detail&&((Vr=(kt=(tr=Un.target)==null?void 0:tr.element)==null?void 0:kt.className)!=null&&Vr.includes("line-numbers"))){let ir=Un.target.position.lineNumber;if(dn(Xn.getLineContent(ir),ir))return;Tn(ir)?Ct(ir):ct(ir)}}),Sn=Un=>{let tr={range:new $e.Range(Un,1,Un,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};dr.current=_t.deltaDecorations(dr.current,[tr])},Wn=()=>{dr.current=_t.deltaDecorations(dr.current,[])},Vn=_t.onMouseMove(Un=>{var tr,kt,Vr;if(Wn(),Un.target.detail&&((Vr=(kt=(tr=Un.target)==null?void 0:tr.element)==null?void 0:kt.className)!=null&&Vr.includes("line-numbers"))){let ir=Un.target.position.lineNumber;if(dn(Xn.getLineContent(ir),ir))return;Sn(ir)}}),er=_t.onMouseLeave(()=>{Wn()});return()=>{En.dispose(),Pt.dispose(),Vn.dispose(),er.dispose()}}},[yn.current,Hn,Wt,ft,Zt,z]),(0,re.useEffect)(()=>{var Ln;(Ln=yn.current)!=null&&Ln.instance&&Zt&&yn.current.instance.setPosition({lineNumber:0,column:0})},[ft]);function cn(){let Ln=yn.current.instance;if(Ln){const _t=Ln.getSelection(),Xn=yn.current.pastePos||{},Nr=new $e.Range(Xn.startLineNumber||_t.endLineNumber,Xn.startColumn||_t.endColumn,Xn.endLineNumber||_t.endLineNumber,Xn.endColumn||_t.endColumn);setTimeout(()=>{Ln.executeEdits("",[{range:Nr,text:""}])},300)}}function Et(Ln){(window.navigator.platform.match("Mac")?Ln.metaKey:Ln.ctrlKey)&&Ln.keyCode==83&&(Ln.preventDefault(),St())}const en=()=>{if(je&&yn.current.instance){const Ln=yn.current.instance.getContentHeight();pr(Ln<ce?ce:Ln)}else pr(ce)};function kn(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 On=Ln=>{if(!Pr.current)return;const{keyCode:_t,ctrlKey:Xn,metaKey:Nr,target:Hr,type:ct}=Ln;return(ct==="paste"||(_t===67||_t===86)&&(Nr||Xn))&&Hr.nodeName==="TEXTAREA"&&(Bt(),Ln.preventDefault()),!1};function zn(Ln,_t){var Xn=window.URL||window.webkitURL||window,Nr=new Blob([_t]),Hr=document.createElementNS("http://www.w3.org/1999/xhtml","a");Hr.href=Xn.createObjectURL(Nr),Hr.download=Ln,kn(Hr)}(0,re.useEffect)(()=>{en()},[en]),(0,re.useEffect)(()=>{Gn.current&&!Hn&&Promise.all([se.e(8909),se.e(5028)]).then(se.bind(se,71448)).then(Ln=>{try{$e=Ln,yn.current.instance=$e.editor.create(Gn.current,{value:ie,language:bt(z),theme:ue,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:mn||!1}},te);const _t=yn.current.instance;let Hr=[...Ee.BH._menuItems].find(En=>En[0]._debugName=="EditorContext")[1],ct=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ct=(En,Pt)=>{var Sn,Wn;let Vn=En._first;do Pt.includes((Wn=(Sn=Vn.element)==null?void 0:Sn.command)==null?void 0:Wn.id)&&En._remove(Vn);while(Vn=Vn.next)};if(mt(_t,$e),setTimeout(()=>{en(),yn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{zn(nn||"educoder.txt",_t.getValue())}})},500),yn.current.subscription=_t.onDidChangeModelContent(En=>{Mr.current?clearTimeout(ar.current):(en(),lt(_t.getValue(),En)),ar.current=setTimeout(()=>{Mr.current=!1},500)}),window.Monaco||Ie($e,bt(z)),et&&(Ct(Hr,ct),Gn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",On),window.removeEventListener("paste",On),window.addEventListener("keydown",On),window.addEventListener("paste",On)),window.Monaco=$e,me&&_t.onDidBlurEditorWidget(()=>{me(_t.getValue())}),Rt&&_t.onDidFocusEditorText(()=>{et&&Ot(),Rt(_t.getValue())}),et){Ot();try{_t.onDidPaste(En=>{const Pt=_t.getSelection(),Sn=yn.current.pastePos||{},Wn=new $e.Range(Sn.startLineNumber||Pt.endLineNumber,Sn.startColumn||Pt.endColumn,Sn.endLineNumber||Pt.endLineNumber,Sn.endColumn||Pt.endColumn);_t.executeEdits("",[{range:En.range,text:""}])})}catch(En){}}let Tn=Wr();return Yt&&typeof Yt=="string"&&new Fe(Yt,_t,$e),Rr(!0),()=>{const En=yn.current.instance;En.dispose();const Pt=En.getModel();Pt&&Pt.dispose(),yn.current.subscription&&yn.current.subscription.dispose(),Tn.unobserve(Gn.current)}}catch(_t){}})},[]),(0,re.useEffect)(()=>{if(yn.current.instance&&Hn)return document.addEventListener("keydown",Et,!1),()=>{document.removeEventListener("keydown",Et)}},[St,Hn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;if(Ln&&Hn){let _t=bt(z);$e.editor.setModelLanguage(Ln.getModel(),_t)}},[z,Hn]),(0,re.useEffect)(()=>{yn.current.instance&&Hn&&$e.editor.setTheme(ue)},[ue,Hn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;qn.current=ne,Ln&&Hn&&(Ln.updateOptions(gt({},ne)),setTimeout(()=>{Ln.getModel().updateOptions(gt({},ne))},200))},[JSON.stringify(ne),Hn]),(0,re.useEffect)(()=>{let Ln=yn.current.instance;Ln&&Hn&&Ln.layout()},[wt,ce,Hn]);const[Qn,fr]=(0,re.useState)(qe(wt)),[hr,pr]=(0,re.useState)(qe(ce)),Ar=At(gt({},ee),{width:Qn,height:hr,position:"relative"});return re.createElement("div",{className:"my-monaco-editor",ref:Gn,style:Ar},De&&re.createElement(ke.CopyToClipboard,{text:ie,onCopy:()=>Ge.ZP.success("\u590D\u5236\u6210\u529F")},re.createElement(Ue.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:Ft="100%",original:wt,modified:ce,language:ie,options:z={}}){const ee=(0,re.useRef)(),[ne,te]=(0,re.useState)(null);function ue(je){let et;return ee.current&&(et=new Ne.Z(lt=>{for(let mt of lt)(mt.target.offsetHeight>0||mt.target.offsetWidth>0)&&je.layout()}),et.observe(ee.current)),et}(0,re.useEffect)(()=>(ee.current&&Promise.all([se.e(8909),se.e(9404)]).then(se.bind(se,2550)).then(je=>{$e=je;const et=$e.editor.createDiffEditor(ee.current,At(gt({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(et);let lt=ue(et);return()=>{et.dispose();const mt=et.getModel();mt&&mt.dispose(),lt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,re.useEffect)(()=>{ne&&ne.setModel({original:$e.editor.createModel(wt,ie),modified:$e.editor.createModel(ce,ie)})},[wt,ce,ie,ne]);const me=qe(Qe),De=qe(Ft),St={width:me,height:De};return re.createElement("div",{className:"my-diff-editor",ref:ee,style:St})}},929:function(wn,un,se){"use strict";se.d(un,{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),Be=se(60242),Se=se(92310),fe=se.n(Se),Oe=se(49661),be=se(57884),Pe=se(34055),le=se(59301),ye=({className:Ke,dataSource:Ie=[],col:Ye=4,right:He,bottom:Ve=23,precision:ut=0,wrapWidth:at=1200,trackEventItems:rt,loading:Fe,onRemove:Ee=()=>{},isCurrent:Ge=!0,showProgress:Ue=!1,showAlias:dt=!1})=>{const ge=Math.floor((at-(Ye-1)*He)/Ye),ke=[{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 le.createElement(Ne.Z,{spinning:Fe},le.createElement("div",{className:fe()(re.list,Ke)},!!(Ie!=null&&Ie.length)&&(Ie==null?void 0:Ie.map((ze,Ze)=>{var _e,Re,Je,Nt,ht,gt;const{name:At,id:we,identifier:he,featured:qe,school_name:Lt,image_url:Tt,excellent:Xe,is_plan:bt}=ze;return le.createElement("div",{key:we,className:Ge&&Ue?re.wrapisCurrent:re.wrap,style:{width:ge,marginRight:(1+Ze)%Ye===0?0:He+ut,marginBottom:Ve}},le.createElement("a",{className:re.li,onClick:$e=>{$e.preventDefault(),$e.stopPropagation(),rt&&(0,Oe.L9)([rt]),(0,Oe.xg)(`/paths/${he}`)}},le.createElement("div",{className:re.img},le.createElement("img",{className:re.cover,src:`${Tt}`}),Ge&&(0,Pe.bg)()&&(ze==null?void 0:ze.studying)&&le.createElement("div",{className:`${re.movebq} user-path-items`,onClick:$e=>{$e.stopPropagation(),Ee(ze)}},le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_e=ze==null?void 0:ze.subject_tags)==null?void 0:_e.map(($e,Ot)=>{var We,yt;if(Ot===0){const Ft=(We=ke.find(wt=>wt.name==$e))==null?void 0:We.swimg;return le.createElement("img",{className:re.sign,src:Ft,style:{left:"-4px"}})}const Qe=(yt=ke.find(Ft=>Ft.name==$e))==null?void 0:yt.ptimg;return le.createElement("img",{className:re.sign,src:Qe,style:{left:`${48+52*(Ot-1)+2*Ot}px`}})}),le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ze==null?void 0:ze.excellent)&&le.createElement("div",{className:re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:re.name},le.createElement(Te.Z,{title:dt&&(ze!=null&&ze.excellent_alias_name)?le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${At}`,le.createElement("br",null),le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ze==null?void 0:ze.excellent_alias_name}`)):At},le.createElement("span",{className:re.e},dt&&(ze==null?void 0:ze.excellent_alias_name)||At))),Ge&&Ue&&((Re=ze==null?void 0:ze.progress)==null?void 0:Re.all_score)!=0&&le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},le.createElement(Be.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Je=ze==null?void 0:ze.progress)==null?void 0:Je.my_score)/((Nt=ze==null?void 0:ze.progress)==null?void 0:Nt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(ht=ze==null?void 0:ze.progress)==null?void 0:ht.my_score,"/",(gt=ze==null?void 0:ze.progress)==null?void 0:gt.all_score),(!Ge||!Ue)&&le.createElement(Te.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Lt}`},le.createElement("div",{className:re.unit},le.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Lt)),(!Ge||!Ue)&&le.createElement("div",{className:re.tags},le.createElement("div",null,le.createElement(Te.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),le.createElement("span",null,ze.stages_count))),le.createElement(Te.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),le.createElement("span",null,ze.members_count)))))))})),!Ie.length&&le.createElement(be.Z,null)))}},71360:function(wn,un,se){"use strict";se.d(un,{jL:function(){return Se},w9:function(){return qe},QD:function(){return Ut},cQ:function(){return ht.Z},op:function(){return lt},O5:function(){return jt},_b:function(){return Mn},t7:function(){return ut},Gi:function(){return Ot},YG:function(){return bt},qp:function(){return nt},vr:function(){return Zt},qE:function(){return qt},Je:function(){return Fe},wb:function(){return Nt},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,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREF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d/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Se=({dataSource:dn=[],img:cn,imgWidth:Et=346,title:en,sunTitle:kn,bannerExtraContent:On})=>re.createElement("div",{className:Ne.banner},re.createElement("div",{className:Ne.content},re.createElement("aside",null,re.createElement("p",null,re.createElement("b",null,en),re.createElement("span",null,kn)),dn.length>0&&re.createElement("div",{className:Ne.btns},dn.map((zn,Qn)=>re.createElement("div",{key:Qn,onClick:zn.click},zn.name,zn.sign?re.createElement("img",{src:Te,width:39}):null))),On),cn&&re.createElement("img",{style:{marginTop:33,marginRight:38},src:cn,width:Et}))),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),be=se.n(Oe),Pe=se(89392),nt=({dataSource:dn=[],value:cn,onChange:Et,onTitleChange:en,className:kn,title:On,titleWidth:zn=41,style:Qn={},fontColor:fr="#6A7283",showCount:hr})=>{const[pr,Ar]=(0,re.useState)(0),[Ln,_t]=(0,re.useState)(!1),Xn=(0,re.useRef)(null),Nr=(0,re.useRef)(null);return(0,re.useEffect)(()=>{var Hr;dn.length!==0&&(((Hr=Xn==null?void 0:Xn.current)==null?void 0:Hr.clientHeight)>97?Ar(1):Ar(0)),dn.length===0&&Ar(0),_t(!1)},[dn]),re.createElement("div",{className:be()(fe.row,kn),style:Qn},re.createElement("div",{onClick:(0,Pe.throttle)(()=>en==null?void 0:en(),2e3),style:{width:zn,marginTop:Ln?12:4},className:`${fe.title} ${en?"current":""}`},On),re.createElement("div",{className:Ln?`${fe.tagsWrap} ${fe.tagsBorderWrap}`:fe.tagsWrap},re.createElement("div",{className:fe.bar,ref:Nr,style:pr>0?{height:pr===1?97:"auto",overflow:pr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},re.createElement("div",{className:fe.tag,ref:Xn},dn==null?void 0:dn.map(Hr=>re.createElement("span",{onClick:()=>Et(Hr.id),key:Hr.id,style:{color:fr},className:cn===Hr.id?fe.active:""},re.createElement("span",{title:Hr.name,className:fe.name},Hr.name),!!hr&&re.createElement("span",{className:fe.num},Hr.count))))),!!pr&&re.createElement(re.Fragment,null,pr===1?re.createElement("div",{onClick:()=>{var Hr;Ar(2),((Hr=Xn==null?void 0:Xn.current)==null?void 0:Hr.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:()=>{Nr.current.scrollTop=0,Ar(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:dn=[],value:cn,onChange:Et,className:en,style:kn={}})=>re.createElement("div",{style:kn,className:be()(ye.tabs,en)},dn.map(On=>re.createElement("span",{onClick:()=>Et(On.id),className:cn===On.id?ye.active:"",key:On.id},On.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),ut=({dataSource:dn=[],value:cn="",onChange:Et,onInputChange:en=()=>{},className:kn,style:On={},placeholder:zn,allowClear:Qn=!1})=>{var fr;const[hr,pr]=(0,re.useState)(""),[Ar,Ln]=(0,re.useState)("");(0,re.useEffect)(()=>{var Nr;let Hr=cn;(Nr=JSON.stringify(cn))!=null&&Nr.includes("{")&&(pr(cn.id),Hr=cn.value||"");try{Ln(decodeURIComponent(Hr||""))}catch(ct){Ln(decodeURIComponent(Hr||""))}},[cn]);const _t=()=>{Et(encodeURIComponent(Ar),hr||null)},Xn=Nr=>{Nr!==hr&&(pr(Nr),Et(encodeURIComponent(Ar),Nr))};return re.createElement("div",{className:be()(Ye.input,kn),style:On},!!dn.length&&re.createElement("div",{className:Ye.dropdown},re.createElement("div",{className:Ye.text},(fr=dn.find(Nr=>Nr.id===hr))==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},dn.map((Nr,Hr)=>re.createElement("div",{key:Hr,onClick:()=>Xn(Nr.id)},Nr.name)))),re.createElement(He.default,{onPressEnter:_t,value:Ar,onChange:Nr=>{Ln(Nr.target.value),en(encodeURIComponent(Nr.target.value),hr||null)},placeholder:zn,variant:"borderless",allowClear:Qn,onClear:()=>Et("",hr||null)}),re.createElement("i",{onClick:_t,className:"iconfont icon-sousuo9 font14 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"},Fe=({value:dn,onChange:cn,className:Et,total:en,pageSize:kn,style:On={}})=>{const zn=dn<2,Qn=dn>=Math.ceil(en/kn);return en<=kn?re.createElement(re.Fragment,null):re.createElement("div",{className:be()(at.quickPager,Et),style:On},re.createElement("div",{onClick:()=>{zn||cn(dn-1,"prev")},className:zn?at.disabled:""},"\u4E0A\u4E00\u9875"),re.createElement("div",{onClick:()=>{Qn||cn(dn+1,"next")},className:Qn?at.disabled:""},"\u4E0B\u4E00\u9875"))},Ee={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"},Ge=se(29787),Ue=se(25399),dt=se(58018),ge=se(90524),ke=se(49661),ze=se(96908),Ze=se(57177),_e=se(81378),Re=se(57884),Nt=({className:dn,dataSource:cn=[],col:Et=4,right:en,bottom:kn=23,precision:On=0,wrapWidth:zn=1200,trackEventItems:Qn,loading:fr})=>{const hr=Math.floor((zn-(Et-1)*en)/Et);return re.createElement(Ge.Z,{spinning:fr},re.createElement("div",{className:be()(Ee.list,dn)},!!cn.length&&cn.map((pr,Ar)=>{const{name:Ln,id:_t,identifier:Xn,power:Nr,cover_image_id:Hr,pic:ct}=pr;return re.createElement("div",{className:Ee.wrap,key:_t,style:{width:hr,marginRight:(1+Ar)%Et===0?0:en+On,marginBottom:kn}},re.createElement("a",{target:"_blank",href:`/shixuns/${Xn}/challenges`,className:Ee.li,onClick:Ct=>{Ct.preventDefault(),Qn&&(0,ke.L9)([Qn]),Nr&&(0,ke.xg)(`/shixuns/${Xn}/challenges`)}},re.createElement("div",{className:Ee.img},re.createElement("img",{className:Ee.cover,src:`${ct}`}),pr.is_jupyter&&re.createElement("img",{className:Ee.sign,src:ze}),pr.is_jupyter_lab&&re.createElement("img",{className:Ee.sign,src:Ze}),pr.is_unity_3d&&re.createElement("img",{className:Ee.sign,src:_e})),re.createElement("div",{className:Ee.name},re.createElement(Ue.Z,{title:Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:Ee.e},Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{className:Ee.tags},re.createElement(Ue.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),re.createElement("span",null,pr.challenges_count))),!!pr.myshixuns_count&&re.createElement(Ue.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,pr.myshixuns_count))),re.createElement(Ue.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},re.createElement("span",null,re.createElement("span",null,pr.level))),re.createElement("div",{className:Ee.rate},re.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:pr.score_info}),re.createElement("span",null,"\xA0",pr.score_info?`${pr.score_info}\u5206`:"5\u5206")))),!Nr&&re.createElement("div",{className:Ee.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")))}),!cn.length&&re.createElement(Re.Z,null)))},ht=se(929),gt={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"},At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6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Xvbx/3Bccpan8cseAAAAAElFTkSuQmCC",we=se(59301),qe=({className:dn,dataSource:cn=[],col:Et=4,right:en,bottom:kn=23,precision:On=0,wrapWidth:zn=1200,trackEventItems:Qn,loading:fr,handleVery:hr=()=>!0})=>{const pr=Math.floor((zn-(Et-1)*en)/Et);return we.createElement(Ge.Z,{spinning:fr},we.createElement("div",{className:be()(gt.list,dn)},!!cn.length&&cn.map((Ar,Ln)=>{const{subject_identifier:_t,id:Xn,identifier:Nr,power:Hr}=Ar,ct=Ar.is_public!=0&&Ar.is_public;return we.createElement("div",{className:gt.wrap,key:Xn,style:{width:pr,marginRight:(1+Ln)%Et===0?0:en+On,marginBottom:kn}},we.createElement("a",{className:gt.li,onClick:Ct=>{Ct.preventDefault(),hr(Ar==null?void 0:Ar.first_category_url)&&(Qn&&(0,ke.L9)([Qn]),(0,ke.xg)(Ar.first_category_url))}},we.createElement("div",{className:gt.top},we.createElement(Ue.Z,{title:Ar.name},we.createElement("div",{className:gt.name},Ar.name)),we.createElement("img",{className:gt.img,src:ge.Z.IMG_SERVER+"/images/"+Ar.avatar_url}),we.createElement("div",{className:gt.text,title:Ar.creator},Ar.creator),_t&&we.createElement("div",{className:gt.btns},we.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),we.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ct&&we.createElement("div",{className:gt.sign},"\u516C\u5F00")),we.createElement("div",{className:gt.bottom},Ar.visits>0&&we.createElement(Ue.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-liulanyan"}),we.createElement("span",null,Ar.visits))),Ar.course_members_count>0&&we.createElement(Ue.Z,{title:"\u6210\u5458",placement:"bottom"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-chengyuan"}),Ar.course_members_count)),Ar.tasks_count>0&&we.createElement(Ue.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-zuoye"}),Ar.tasks_count)),Ar.is_end?we.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):we.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ar.is_accessible&&we.createElement("div",{className:gt.lockWrap},we.createElement("img",{src:`${ge.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),we.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&we.createElement(Re.Z,null)))},Lt={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"},Tt=se(76560),bt=({dataSource:dn=[],value:cn,onChange:Et,className:en,style:kn={},tabBarExtraContent:On})=>re.createElement("div",{className:be()(Lt.tabs,en),style:kn},re.createElement("div",{className:Lt.tabsWrap},dn.map((zn,Qn)=>!(zn!=null&&zn.hide)&&re.createElement("aside",{className:Lt.tab,onClick:()=>{Et(zn.id),zn.link&&Tt.history.push(zn.link)},key:Qn},re.createElement("div",{className:cn===zn.id?Lt.active:""},zn.name),(zn==null?void 0:zn.resetCount)==null&&(zn==null?void 0:zn.total)!==void 0&&re.createElement("span",null,"\uFF08",zn==null?void 0:zn.total,"\uFF09"),(zn==null?void 0:zn.resetCount)!==void 0&&(zn==null?void 0:zn.total)!==void 0&&re.createElement(Ue.Z,{title:(zn==null?void 0:zn.tip)!=null?zn==null?void 0:zn.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},zn==null?void 0:zn.resetCount),"/",re.createElement("span",null,zn==null?void 0:zn.total),"\uFF09"))))),re.createElement("div",{className:Lt.tabBar},On)),Ot=({className:dn,style:cn={},children:Et})=>re.createElement("div",{className:be()(dn),style:cn},Et),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 Ft=[{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:dn,dropValue:cn,className:Et,onSort:en,onDrop:kn,dataSource:On=Ft})=>{var zn;return re.createElement("div",{className:be()(We.orderWrap,Et)},re.createElement(yt.Z,{dropdownRender:()=>re.createElement(Qe.default,null,On.map((Qn,fr)=>re.createElement(Qe.default.Item,{key:fr,onClick:()=>kn(Qn.id)},Qn.name)))},re.createElement("span",{className:We.orderTextWrap},(zn=On.find(Qn=>cn===Qn.id))==null?void 0:zn.name)),re.createElement("span",{className:We.orderIconWrap},re.createElement("span",{className:We.orderAsc},re.createElement("i",{className:dn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${We.cursorPointer} ${We.active}`:`iconfont icon-sanjiaoxing-up font12 ${We.cursorPointer}`,onClick:()=>en(dn==="asc"?"desc":"asc")})),re.createElement("span",{className:We.orderDesc},re.createElement("i",{className:dn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${We.cursorPointer} ${We.active}`:`iconfont icon-sanjiaoxing-down font12 ${We.cursorPointer}`,onClick:()=>en(dn==="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=(dn,cn,Et)=>cn in dn?ee(dn,cn,{enumerable:!0,configurable:!0,writable:!0,value:Et}):dn[cn]=Et,De=(dn,cn)=>{for(var Et in cn||(cn={}))te.call(cn,Et)&&me(dn,Et,cn[Et]);if(ne)for(var Et of ne(cn))ue.call(cn,Et)&&me(dn,Et,cn[Et]);return dn},St=(dn,cn)=>{var Et={};for(var en in dn)te.call(dn,en)&&cn.indexOf(en)<0&&(Et[en]=dn[en]);if(dn!=null&&ne)for(var en of ne(dn))cn.indexOf(en)<0&&ue.call(dn,en)&&(Et[en]=dn[en]);return Et},je=(dn,cn,Et)=>new Promise((en,kn)=>{var On=fr=>{try{Qn(Et.next(fr))}catch(hr){kn(hr)}},zn=fr=>{try{Qn(Et.throw(fr))}catch(hr){kn(hr)}},Qn=fr=>fr.done?en(fr.value):Promise.resolve(fr.value).then(On,zn);Qn((Et=Et.apply(dn,cn)).next())}),lt=dn=>{var cn=dn,{className:Et,style:en,children:kn,loading:On=!1,openLoading:zn,onClick:Qn=()=>{},size:fr="middle",shape:hr="round"}=cn,pr=St(cn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ar,Ln]=(0,re.useState)(!1);return re.createElement(z.ZP,De({onClick:(0,Pe.throttle)(_t=>je(void 0,null,function*(){zn&&Ln(!0);try{yield Qn(_t)}catch(Xn){console.log("error",Xn)}zn&&Ln(!1)}),2e3,{leading:!0,trailing:!1}),className:be()(ie.btn,ie[`${fr}-${hr}`],Et),style:en,size:fr,shape:hr,loading:Ar||On},pr),kn)},mt={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"},qt=({className:dn,style:cn,children:Et=null,onClick:en,title:kn})=>re.createElement("div",{className:be()(mt.head,dn),style:cn},re.createElement("span",{className:"primary-hover",onClick:en},re.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),re.createElement("b",{title:kn},kn),re.createElement("div",{className:mt.node},Et)),Wt={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"},Ut=({confirmShow:dn=!0,confirmTitle:cn,confirmClick:Et,cancelShow:en=!0,cancelTitle:kn,cancelClick:On,className:zn,style:Qn,confirmLoading:fr=!1})=>re.createElement("div",{className:be()(Wt.btns,zn),style:Qn},dn&&re.createElement(z.ZP,{loading:fr,onClick:Et,type:"primary",className:Wt.confirm},cn),en&&re.createElement(z.ZP,{onClick:On,className:Wt.cancel},kn)),Dt={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"},Zt=({className:dn,style:cn={},LeftContent:Et,children:en,RightContent:kn})=>re.createElement("div",{className:be()(Dt.fixedBottom,dn),style:cn},re.createElement("div",{className:Dt.wrap},re.createElement("div",{className:Dt.left},Et),re.createElement("div",{className:Dt.center},en),re.createElement("div",{className:Dt.right},kn))),Yt={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:dn,style:cn={},dataSource:Et=[]})=>re.createElement("div",{className:be()(Yt.crumbs,dn),style:cn},Et.map((en,kn)=>kn<Et.length-1?re.createElement(re.Fragment,{key:kn},en.path||en.onClick?re.createElement("span",{className:Yt.hover,onClick:en!=null&&en.onClick?en.onClick:()=>Tt.history.push(en.path)},en.name):re.createElement("span",null,en.name),re.createElement("span",null,"\xA0",">","\xA0")):re.createElement("span",{key:kn,style:{color:"#5F6368"}},en.name))),Gn=se(11938),yn=Object.defineProperty,qn=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,dr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,Tr=(dn,cn,Et)=>cn in dn?yn(dn,cn,{enumerable:!0,configurable:!0,writable:!0,value:Et}):dn[cn]=Et,Pr=(dn,cn)=>{for(var Et in cn||(cn={}))Mr.call(cn,Et)&&Tr(dn,Et,cn[Et]);if(dr)for(var Et of dr(cn))ar.call(cn,Et)&&Tr(dn,Et,cn[Et]);return dn},Hn=(dn,cn)=>qn(dn,$n(cn)),Rr=(dn,cn)=>{var Et={};for(var en in dn)Mr.call(dn,en)&&cn.indexOf(en)<0&&(Et[en]=dn[en]);if(dn!=null&&dr)for(var en of dr(dn))cn.indexOf(en)<0&&ar.call(dn,en)&&(Et[en]=dn[en]);return Et};const{Countdown:Wr}=Gn.default;var jt=dn=>{var cn=dn,{onChange:Et}=cn,en=Rr(cn,["onChange"]);const[kn,On]=(0,re.useState)(null);(0,re.useEffect)(()=>{typeof kn=="number"&&kn>=0&&Et(kn)},[kn]);const zn=Qn=>{const fr=Math.floor(Qn/1e3);On(fr)};return re.createElement(Wr,Hn(Pr({},en),{onChange:zn}))}},17904:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ne}});var re=se(59301);function Ne(Te,Be){const Se=(0,re.useRef)();(0,re.useEffect)(()=>{Se.current=Te}),(0,re.useEffect)(()=>{function fe(){Se.current()}if(Be!==null){let Oe=setInterval(fe,Be);return()=>clearInterval(Oe)}},[Be])}},69577:function(wn,un,se){"use strict";se.d(un,{Q8:function(){return he},d0:function(){return qe},w6:function(){return we}});var re=se(59301),Ne=se(16326),Te=se(82326),Be=se(6767),Se=se(62957),fe=se(47889),Oe=se(77019),be=se(5269),Pe=se(25399),le=se(62673),nt=se(99571),ye=se(56656),Ke=se.n(ye),Ie=se(34055),Ye=se(82093),He=se(89392),Ve=se.n(He),ut=se(49661),at=se(69063),rt=se(76560),Fe=se(2748),Ee=se(23869),Ge=se(97202),Ue=se(6681),dt=se(67135),ge=se(59301),ke=Object.defineProperty,ze=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Nt=($e,Ot,We)=>Ot in $e?ke($e,Ot,{enumerable:!0,configurable:!0,writable:!0,value:We}):$e[Ot]=We,ht=($e,Ot)=>{for(var We in Ot||(Ot={}))Re.call(Ot,We)&&Nt($e,We,Ot[We]);if(_e)for(var We of _e(Ot))Je.call(Ot,We)&&Nt($e,We,Ot[We]);return $e},gt=($e,Ot)=>ze($e,Ze(Ot)),At=($e,Ot,We)=>new Promise((yt,Qe)=>{var Ft=ie=>{try{ce(We.next(ie))}catch(z){Qe(z)}},wt=ie=>{try{ce(We.throw(ie))}catch(z){Qe(z)}},ce=ie=>ie.done?yt(ie.value):Promise.resolve(ie.value).then(Ft,wt);ce((We=We.apply($e,Ot)).next())});function we($e,Ot){const We=[];for(let yt=$e;yt<Ot;yt++)We.push(yt);return We}const he=($e,Ot,We)=>{const yt=$e<Ke()().startOf("day"),Qe=$e>Ke()(Ot).endOf("day"),Ft=$e<Ke()(We).startOf("day");return Ot?We?Ke()()<=Ke()(We)?Ft||Qe:yt||Qe:$e&&yt||Qe:We&&Ke()()<=Ke()(We)?Ft:yt},qe=($e,Ot)=>{const We=parseInt(Ke()($e).format("HH")),yt=parseInt(Ke()().format("HH")),Qe=parseInt(Ke()().format("mm"));if(!$e)return{disabledHours:()=>we(0,yt),disabledMinutes:()=>we(0,Qe)};if(Ot){const Ft=parseInt(Ke()(Ot).format("HH")),wt=parseInt(Ke()(Ot).format("mm"));return Ke()($e).isSame(Ke()(Ot),"day")?{disabledHours:()=>we(0,Ft),disabledMinutes:()=>We<=Ft?we(0,wt):[]}:void 0}if(Ke()($e).isSame(Ke()(),"day"))return{disabledHours:()=>we(0,yt),disabledMinutes:()=>Ke()($e).isSame(Ke()(),"hour")&&We<=yt?we(0,Qe):[]}},Lt=($e,Ot)=>$e==null?void 0:$e.map(We=>{var yt;return(yt=Ot==null?void 0:Ot.find(Qe=>Qe.value===We))==null?void 0:yt.id}),{RangePicker:Tt}=Ne.default,{Option:Xe}=Te.default,bt=({shixunHomeworks:$e,loading:Ot,dispatch:We,classroomList:yt,user:Qe})=>{var Ft,wt,ce,ie,z,ee,ne,te,ue;const me=(0,rt.useParams)(),{workSetting:De,workList:St,shixunWorkList:je,headerInfo:et,changeData:lt}=$e,[mt,Rt]=(0,re.useState)(!1),[qt,Wt]=(0,re.useState)(!1);let[nn,Ut]=(0,re.useState)([]),[Dt,ft]=(0,re.useState)([]),[Zt,Yt]=(0,re.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Fe.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[mn,Mn]=(0,re.useState)({}),[Gn,yn]=(0,re.useState)({});(0,re.useEffect)(()=>()=>{Ut([])},[]),(0,re.useEffect)(()=>{Rt(!(0,Ie.GJ)())},[(0,Ie.GJ)()]);const qn=()=>{We({type:"shixunHomeworks/getWorkSetting",payload:ht({},me)})};(0,re.useEffect)(()=>{if(!(De!=null&&De.course_id))return;Object.keys(Zt).map(function(jt){Zt[jt]=De[jt]}),(!Zt.allow_late||!Zt.unified_late)&&(Zt.late_penalty=20,Zt.penalty_type=Fe.Q.Percent),Zt.unified_setting||(Zt.unified_late=!1,Zt.unified_anonymous_comment=!1,Zt.unified_anonymous_appeal=!1),nn=JSON.parse(JSON.stringify(De.group_settings.map(jt=>gt(ht({},jt),{group_name:[jt.group_name]})).filter(jt=>jt.publish_time!==null))),Dt=JSON.parse(JSON.stringify(De.allow_late_settings.map(jt=>gt(ht({},jt),{group_name:[jt.group_name]})).filter(jt=>jt.late_time!==null))),Yt(ht({},Zt));const Bt=(0,ut.QE)((nn==null?void 0:nn.length)>0?nn:[]);Ut([...Bt]),(Dt==null?void 0:Dt.length)<=0?ft([{penalty_type:Fe.Q.Percent,late_penalty:20}]):ft([...Dt])},[De]);const $n=()=>At(void 0,null,function*(){var Bt,jt;if(((Bt=Qe==null?void 0:Qe.userInfo)==null?void 0:Bt.user_status)===2){(0,Ee.Rd)();return}const dn=JSON.parse(JSON.stringify(Zt));if(dn.challenge_settings.filter(Et=>!Et.hide),dn.categoryId=me.categoryId,(jt=dn.challenge_settings)!=null&&jt.every(Et=>!Et.checked)){Be.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(nn),!Zt.unified_setting)nn=nn==null?void 0:nn.map(Et=>{var en;if(!Et.publish_time||!Et.end_time)throw Be.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(!Et.group_name)throw Be.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Et.group_name=typeof(Et==null?void 0:Et.group_name)=="string"?[Et==null?void 0:Et.group_name]:Et==null?void 0:Et.group_name,Et.group_id=(en=De.group_settings)==null?void 0:en.filter(kn=>{var On;return(On=Et==null?void 0:Et.group_name)==null?void 0:On.includes(kn.group_name)}).map(kn=>kn.group_id||kn.id).toString().split(","),Et});else if(!Zt.publish_time||!Zt.end_time)throw Be.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(dn.group_settings=nn,Zt.allow_late)if(Zt.unified_late){if(Zt.late_penalty===null||Zt.late_penalty===void 0||Zt.late_penalty<0||Zt.late_penalty>100)throw Be.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(!Zt.late_time)throw Be.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 Dt=Dt==null?void 0:Dt.map(Et=>{var en,kn;if(Et.late_penalty===null||Et.late_penalty===void 0||Et.late_penalty<0||Et.late_penalty>100)throw Be.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(!Et.late_time)throw Be.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(!Et.group_name)throw Be.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Et.group_name=typeof(Et==null?void 0:Et.group_name)=="string"?[Et==null?void 0:Et.group_name]:Et==null?void 0:Et.group_name,Et.group_id=(kn=(en=Et==null?void 0:Et.group_name)==null?void 0:en.map(On=>{var zn,Qn;let fr=(Qn=(zn=De.group_settings)==null?void 0:zn.filter(hr=>(hr==null?void 0:hr.group_name)===On))==null?void 0:Qn[0];return fr==null?void 0:fr.group_id}))==null?void 0:kn.toString().split(","),Et}),dn.allow_late_settings=Dt;let cn=yield(0,dt.Tr)({homework_common_ids:[parseInt(me.categoryId)],course_id:me.coursesId,type:"homework_common"});(cn==null?void 0:cn.student_count)===0?dr(dn):(yn(dn),Mn(cn))}),dr=Bt=>{var jt;if(Bt.total_score===null){Be.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Bt!=null&&Bt.work_efficiency&&Bt.eff_score===null){Be.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const dn=Bt.challenge_settings.reduce((en,kn)=>en+Number(kn.challenge_score),0);if((dn==null?void 0:dn.toFixed(10))!==((jt=Bt.total_score-Bt.eff_score)==null?void 0:jt.toFixed(10))){Be.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Bt.total_score}\u5206`);return}const cn={shixun_evaluation:Bt.shixun_evaluation,challenge_settings:Bt.challenge_settings};let Et=()=>{var en;const kn=()=>At(void 0,null,function*(){Wt(!0),(yield(0,Ye.ZP)(`/api/homework_commons/${me.categoryId}/publish_setting.json`,{method:"post",body:ht({},Bt)})).status===0&&(Be.ZP.success("\u66F4\u65B0\u6210\u529F"),qn(),We({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:ht({},me)})),Wt(!1)});!(0,He.isEqual)(lt,cn)&&!((en=et==null?void 0:et.homework_status)!=null&&en.includes("\u672A\u53D1\u5E03"))?Se.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:kn}):kn()};De!=null&&De.high_resources_consume&&!(De!=null&&De.high_resources_consume_permission)?We({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:me.coursesId,type:"shixun",type_id:me.categoryId,name:De.homework_name,fn:()=>{Et()}}}):Et()},Mr=(Bt,jt,dn="group_id")=>{var cn;return jt?jt.find(Et=>Et[dn]===Bt):(cn=De==null?void 0:De.group_settings)==null?void 0:cn.find(Et=>Et.group_id[0]===Bt)},ar=(De==null?void 0:De.allow_late)||(De==null?void 0:De.anonymous_comment),Tr=Bt=>{var jt,dn;const cn=Mr(Bt,De==null?void 0:De.allow_late_settings,"id"),Et=Mr(Bt,De==null?void 0:De.anonymous_comment_settings),en=Mr(Bt);return(De==null?void 0:De.allow_late)&&cn&&Ke()(cn==null?void 0:cn.late_time)<=Ke()()||(De==null?void 0:De.anonymous_comment)&&Et&&(Et==null?void 0:Et.evaluation_start)!==null||((dn=(Ke()(en==null?void 0:en.end_time)<=Ke()()&&((jt=De==null?void 0:De.allow_late_settings)==null?void 0:jt.filter(kn=>kn.group_id.includes(Bt))))[0])==null?void 0:dn.late_time)!=null},Pr=(0,re.useMemo)(()=>(De==null?void 0:De.allow_late)||(De==null?void 0:De.all_group_late),[De,et]),Hn=De==null?void 0:De.anonymous_comment,Rr=Bt=>{if(!Bt)return!1;const jt=Mr(Bt,De==null?void 0:De.anonymous_comment_settings);return(De==null?void 0:De.anonymous_comment)&&jt&&(jt==null?void 0:jt.evaluation_start)!==null},Wr=(Bt,jt)=>{var dn,cn,Et,en,kn;Bt!=null&&Bt.group_id||(Bt.group_id=Lt(Bt==null?void 0:Bt.group_name,De==null?void 0:De.group_settings)),We({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Bt,index:jt,rangePickerDisabled:(cn=(dn=Bt==null?void 0:Bt.group_id)==null?void 0:dn[0])!=null&&cn.publish_time?mt||(Ke()()<=Ke()((en=Mr((Et=Bt==null?void 0:Bt.group_id)==null?void 0:Et[0]))==null?void 0:en.publish_time)?!1:[!0,Tr((kn=Bt==null?void 0:Bt.group_id)==null?void 0:kn[0])]):!1,disabledDate:De==null?void 0:De.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:mt||!((Ft=et==null?void 0:et.homework_status)!=null&&Ft.includes("\u672A\u53D1\u5E03"))||(0,Ie.Rm)()&&!((wt=yt.AssistantObject.practice)!=null&&wt.can_publish),value:Zt.unified_setting,onChange:Bt=>{var jt;if(!((jt=et==null?void 0:et.homework_status)!=null&&jt.includes("\u672A\u53D1\u5E03"))){Be.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Zt.unified_setting=!Zt.unified_setting,Zt.unified_setting||(Zt.unified_late=!1,ft([{late_penalty:5}])),Yt(Object.assign({},Zt)),Zt.unified_setting===!1&&nn==""){Ut(nn.concat({}));return}Zt.unified_setting&&(Ut([]),ft([{late_penalty:5}]))}},ge.createElement(fe.ZP,{value:!0,disabled:mt||!(De!=null&&De.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ge.createElement(fe.ZP,{disabled:mt||!((ce=De==null?void 0:De.group_settings)!=null&&ce.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ie=De==null?void 0:De.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")),Zt.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(be.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ge.createElement(be.Z,{className:"ml10"},ge.createElement(Ne.default,{size:"large",disabled:mt||!((z=et==null?void 0:et.homework_status)!=null&&z.includes("\u672A\u53D1\u5E03")||(ee=et==null?void 0:et.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:Bt=>he(Bt,De==null?void 0:De.course_end_date),disabledTime:Bt=>qe(Bt),value:Zt.publish_time?Ke()(Zt.publish_time):"",onChange:(Bt,jt)=>{Zt.publish_time=jt,(Zt.end_time==""||!Zt.end_time)&&Zt.unified_setting&&(Zt.end_time=Ke()(Bt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Yt(Object.assign({},Zt))}}))),ge.createElement(Oe.Z,{align:"middle",className:"pl30"},ge.createElement(be.Z,null,"\u622A\u6B62\u65F6\u95F4"),ge.createElement(be.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,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(De==null?void 0:De.allow_late)&&(De==null?void 0:De.homework_status.includes("\u5DF2\u622A\u6B62"))||mt||(De==null?void 0:De.allow_late)&&Ke()()>=Ke()(De==null?void 0:De.end_time)||(0,Ie.Rm)()&&!((te=yt.AssistantObject.practice)!=null&&te.can_publish),disabledDate:Bt=>he(Bt,De==null?void 0:De.course_end_date,Zt.publish_time),disabledTime:Bt=>qe(Bt,Zt.publish_time),value:Zt.end_time?Ke()(Zt.end_time):"",onChange:(Bt,jt)=>{Zt.end_time=jt,Yt(Object.assign({},Zt))}})))),!Zt.unified_setting&&(nn==null?void 0:nn.length)>0&&ge.createElement(Oe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},nn&&nn.map(function(Bt,jt){var dn,cn,Et,en,kn,On,zn;return ge.createElement(be.Z,{span:24,key:jt},ge.createElement(Oe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:jt==(nn==null?void 0:nn.length)-1?"0px":"10px"}},ge.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",jt+1),ge.createElement(Te.default,{disabled:mt||((dn=et==null?void 0:et.homework_status)!=null&&dn.includes("\u672A\u53D1\u5E03")&&Bt.id||Ke()()<Ke()(Bt==null?void 0:Bt.publish_time)?!1:!!(Bt!=null&&Bt.publish_time))||(0,Ie.Rm)()&&!((cn=yt.AssistantObject.practice)!=null&&cn.can_publish),mode:"multiple",className:at.Z.multiple_select,style:{width:"250px"},value:Bt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Qn=>{var fr;if((0,Ie.Rm)()&&!((fr=yt.AssistantObject.practice)!=null&&fr.can_publish)){Be.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}nn[jt].group_name=Qn,nn[jt].group_id=Bt.group_id;const hr=(0,He.flattenDeep)(nn.map(Ar=>Ar.group_name)),pr=Dt.map(Ar=>{let Ln=(Ar==null?void 0:Ar.group_name)||[];return gt(ht({},Ar),{group_name:(0,He.remove)(Ln,_t=>hr.includes(_t))})});ft(pr),Ut(nn.slice())},maxTagCount:4,maxTagPlaceholder:Qn=>ge.createElement("div",{style:{cursor:"pointer"},onClick:()=>Wr(Bt,jt)},"+",Qn==null?void 0:Qn.length)},De.group_settings&&De.group_settings.map(function(Qn){if(!nn.map(hr=>hr.group_name).flat().includes(Qn.group_name))return ge.createElement(Xe,{value:Qn.group_name,key:Qn.id},Qn.group_name)})),ge.createElement("div",{className:"ml20"},ge.createElement(Tt,{size:"large",ranges:{\u6B64\u523B:[Bt.publish_time?Ke()(Bt.publish_time):Ke()(),Ke()()]},allowClear:!1,disabled:mt||(Ke()()<=Ke()((en=Mr((Et=Bt==null?void 0:Bt.group_id)==null?void 0:Et[0]))==null?void 0:en.publish_time)?!1:[!0,Tr((kn=Bt==null?void 0:Bt.group_id)==null?void 0:kn[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:Qn=>he(Qn,De==null?void 0:De.course_end_date),disabledTime:Qn=>qe(Qn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ke()((0,ut.U6)(),"HH:mm"),Ke()((0,ut.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Bt.publish_time?Ke()(Bt.publish_time):void 0,Bt.end_time?Ke()(Bt.end_time):void 0],onChange:(Qn,fr)=>{var hr;if((0,Ie.Rm)()&&!((hr=yt.AssistantObject.practice)!=null&&hr.can_publish)){Be.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}nn[jt].publish_time=fr[0],!Bt.end_time&&fr[0]?nn[jt].end_time=Ke()(fr[0]).add(7,"days"):nn[jt].end_time=fr[1],Ut([...nn])},onCalendarChange:(Qn,fr,hr)=>{if(fr!=null&&fr[0]&&!fr[1]){const pr=Ke()(fr[0]).add(7,"days");nn[jt].publish_time=fr[0],nn[jt].end_time=pr,Ut([...nn])}}})),!mt&&ge.createElement("div",{style:{display:"flex",width:"50px"}},((On=Bt==null?void 0:Bt.group_id)==null?void 0:On.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:()=>Wr(Bt,jt)})),nn.length<((zn=De==null?void 0:De.group_settings)==null?void 0:zn.length)&&ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Qn;if((0,Ie.Rm)()&&!((Qn=yt.AssistantObject.practice)!=null&&Qn.can_publish)){Be.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(nn.concat({}))}}),((Bt==null?void 0:Bt.publish_time)&&Ke()()<Ke()(Bt==null?void 0:Bt.publish_time)||!(Bt!=null&&Bt.publish_time))&&jt!=0&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Qn=(0,He.cloneDeep)(Dt);Qn.forEach((fr,hr)=>{fr.group_name&&(fr.group_name=fr.group_name.filter(pr=>{var Ar;return!((Ar=nn[jt].group_name)!=null&&Ar.includes(pr))}))}),nn=nn.filter((fr,hr)=>jt!==hr),ft(Qn),Ut(nn.slice()),setTimeout(()=>Ut(nn.slice()),10)}}))))}))),ge.createElement(Oe.Z,null,ge.createElement(be.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(be.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ge.createElement(le.default,{checked:Zt.allow_late,disabled:mt||Pr,onChange:Bt=>{var jt;if((0,Ie.Rm)()&&!((jt=yt.AssistantObject.practice)!=null&&jt.can_late)){Be.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}Bt.target.checked&&Se.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"))}),Zt.allow_late=!Zt.allow_late,Dt==""&&ft([{late_penalty:5}]),Yt(Object.assign({},Zt))}},ge.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Zt==null?void 0:Zt.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:mt||(De==null?void 0:De.anonymous_comment)||(De==null?void 0:De.allow_late),value:Zt.unified_late,onChange:Bt=>{var jt;if((0,Ie.Rm)()&&!((jt=yt.AssistantObject.practice)!=null&&jt.can_late)){Be.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}Zt.unified_late=Bt.target.value,Dt==""&&!Bt.target.value&&ft([{penalty_type:Fe.Q.Percent,late_penalty:20}]),Yt(ht({},Zt))}},(Zt==null?void 0:Zt.unified_setting)&&ge.createElement(fe.ZP,{value:!0,disabled:!(De!=null&&De.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ue=De==null?void 0:De.group_settings)==null?void 0:ue.length)>0&&ge.createElement(fe.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Zt!=null&&Zt.unified_late?ge.createElement(ge.Fragment,null,ge.createElement(Oe.Z,{align:"middle",style:{marginTop:"10px"}},ge.createElement(be.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ge.createElement(be.Z,{className:"ml20"},ge.createElement(Fe.Z,{disabled:mt||Hn,value:{type:Zt.penalty_type,inputValue:Zt.late_penalty},onChange:Bt=>{var jt;if((0,Ie.Rm)()&&!((jt=yt.AssistantObject.practice)!=null&&jt.can_late)){Be.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}Yt(gt(ht({},Zt),{late_penalty:Bt.inputValue,penalty_type:Bt.type}))}})),ge.createElement(be.Z,{flex:"1",className:"ml5"},ge.createElement("span",{className:"c-grey-c ml10"},Zt.penalty_type===Fe.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(be.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(be.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,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:mt||Hn,value:Zt.late_time?Ke()(Zt.late_time):"",disabledDate:Bt=>he(Bt,De==null?void 0:De.course_end_date),onChange:(Bt,jt)=>{var dn;if((0,Ie.Rm)()&&!((dn=yt.AssistantObject.practice)!=null&&dn.can_late)){Be.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}Zt.late_time=jt,Yt(Object.assign({},Zt))}})))):Dt.map(function(Bt,jt){var dn;return ge.createElement(be.Z,{span:24,key:jt},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",jt+1),ge.createElement(Te.default,{disabled:mt||!((dn=et==null?void 0:et.homework_status)!=null&&dn.includes("\u672A\u53D1\u5E03"))&&Bt.id||(De==null?void 0:De.anonymous_comment),mode:"multiple",className:at.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Bt.group_name=="string"?[Bt.group_name]:Bt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:cn=>{var Et;if((0,Ie.Rm)()&&!((Et=yt.AssistantObject.practice)!=null&&Et.can_late)){Be.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}Dt[jt].group_name=cn,Dt[jt].group_id=Bt.group_id,ft(Dt.slice())}},De.group_settings&&De.group_settings.map(function(cn){const Et=Dt.map(kn=>kn.group_name).flat(),en=nn.map(kn=>kn.group_name).flat();if(Zt!=null&&Zt.unified_setting){if(!Et.includes(cn.group_name))return ge.createElement(Xe,{value:cn.group_name,key:cn.id},cn.group_name)}else if(en.includes(cn.group_name)&&!Et.includes(cn.group_name))return ge.createElement(Xe,{value:cn.group_name,key:cn.id},cn.group_name)})),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ge.createElement(Fe.Z,{disabled:mt||Rr(Bt.id),value:{type:Bt.penalty_type,inputValue:Bt.late_penalty},onChange:cn=>{var Et;if((0,Ie.Rm)()&&!((Et=yt.AssistantObject.practice)!=null&&Et.can_late)){Be.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}Dt[jt].late_penalty=cn.inputValue,Dt[jt].penalty_type=cn.type,ft([...Dt])}}),ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ge.createElement(Ne.default,{size:"large",disabled:mt||Rr(Bt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ke()((0,ut.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:cn=>he(cn,De==null?void 0:De.course_end_date),format:"YYYY-MM-DD HH:mm",value:Bt!=null&&Bt.late_time?Ke()(Bt.late_time):void 0,onChange:(cn,Et)=>{var en;if((0,Ie.Rm)()&&!((en=yt.AssistantObject.practice)!=null&&en.can_late)){Be.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}Dt[jt].late_time=Et,ft([...Dt])}}),!mt&&ge.createElement("div",{style:{display:"flex",width:"50px"}},ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var cn;if((0,Ie.Rm)()&&!((cn=yt.AssistantObject.practice)!=null&&cn.can_late)){Be.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(Dt.concat({penalty_type:Fe.Q.Percent,late_penalty:20}))}}),jt>0&&!Bt.id&&ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var cn;if((0,Ie.Rm)()&&!((cn=yt.AssistantObject.practice)!=null&&cn.can_late)){Be.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}Dt=Dt.filter((Et,en)=>jt!==en),ft(Dt.slice()),setTimeout(()=>ft(Dt.slice()),10)}}))))})),!mt&&ge.createElement(ge.Fragment,null,ge.createElement(nt.ZP,{type:"primary",size:"large",loading:qt,style:{width:"138px",marginTop:"30px"},onClick:()=>$n()},"\u4FDD\u5B58")),ge.createElement(Ge.Z,{onConfirm:(Bt,jt)=>{nn.splice(Bt,0,...jt),nn.splice(Bt+jt.length,1);const dn=(0,ut.QE)([...nn]);Ut([...dn])}}),ge.createElement(Ue.Z,{resdata:mn,type:"shixun",okloading:qt,oktext:(mn==null?void 0:mn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Bt=>At(void 0,null,function*(){Wt(!0);let jt=yield(0,Ye.ZP)(`/api/courses/${me.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(me.categoryId)]}});Wt(!1),(jt==null?void 0:jt.status)===0&&dr(Gn)})}))};un.ZP=(0,rt.connect)(({shixunHomeworks:$e,classroomList:Ot,loading:We,user:yt})=>({shixunHomeworks:$e,classroomList:Ot,loading:We.effects,user:yt}))(bt)},97202:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ve}});var re=se(59301),Ne=se(76560),Te=se(16326),Be=se(62957),Se=se(37568),fe=se(6767),Oe=se(77019),be=se(5269),Pe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},le=se(56656),nt=se.n(le),ye=se(49661),Ke=se(57884),Ie=se(59301);const{RangePicker:Ye}=Te.default,He=({dispatch:ut,classroomList:at,onConfirm:rt})=>{const[Fe,Ee]=(0,re.useState)([]),[Ge,Ue]=(0,re.useState)([]),[dt,ge]=(0,re.useState)(""),[ke,ze]=(0,re.useState)([!1,!1]);(0,re.useEffect)(()=>{var Re,Je,Nt,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((Nt=at.actionTabs)==null?void 0:Nt.rangePickerDisabled):ze([!1,!1]);let gt=at.actionTabs.data,At=(ht=gt==null?void 0:gt.group_name)==null?void 0:ht.map((we,he)=>{var qe;return{group_id:gt==null?void 0:gt.group_id[he],group_name:gt==null?void 0:gt.group_name[he],is_admin:gt==null?void 0:gt.is_admin,end_time:gt==null?void 0:gt.end_time,publish_time:Array.isArray(gt==null?void 0:gt.publish_time)?(qe=gt==null?void 0:gt.publish_time)==null?void 0:qe[0]:gt==null?void 0:gt.publish_time}});At&&(Ee([...At]),Ue([...At]))}},[at.actionTabs]);const Ze=()=>{ut({type:"classroomList/setActionTabs",payload:{}}),ge("")},_e=Re=>{if(Re){const Je=Ge==null?void 0:Ge.filter(Nt=>{var ht,gt;return(gt=(ht=Nt==null?void 0:Nt.group_name)==null?void 0:ht.toLowerCase())==null?void 0:gt.includes(Re==null?void 0:Re.toLowerCase())});Ee(Je)}else Ee(Ge)};return Ie.createElement(Be.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(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:dt,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(Ge.some(Nt=>!Nt.end_time||!Nt.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,Ge),Ze()}},Ie.createElement("div",{className:Pe.modal_con},Ie.createElement(Oe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(Fe==null?void 0:Fe.length)>0?Fe.map(function(Re,Je){return Ie.createElement(be.Z,{span:24,key:Je},Ie.createElement(Oe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Je==(Fe==null?void 0:Fe.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:ke,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:Nt=>{var ht;return(0,ye.Q8)(Nt,(ht=at.actionTabs)==null?void 0:ht.disabledDate)},disabledTime:Nt=>(0,ye.d0)(Nt),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:(Nt,ht)=>{Fe[Je].publish_time=ht[0],Fe[Je].end_time=ht[1],Ee([...Fe]),Ge.forEach(gt=>{gt.group_id===(Re==null?void 0:Re.group_id)&&(gt.publish_time=ht[0],gt.end_time=ht[1])}),Ue([...Ge])},onCalendarChange:(Nt,ht,gt)=>{if(ht!=null&&ht[0]&&!ht[1]){const At=nt()(ht[0]).add(7,"days");Fe[Je].publish_time=ht[0],Fe[Je].end_time=At,Ee([...Fe]),Ge.forEach(we=>{we.group_id===(Re==null?void 0:Re.group_id)&&(we.publish_time=ht[0],we.end_time=At)}),Ue([...Ge])}}})),ke[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:()=>{Fe.splice(Je,1),Ee([...Fe]),Ge.forEach((Nt,ht)=>{Nt.group_id===(Re==null?void 0:Re.group_id)&&Ge.splice(ht,1)}),Ue([...Ge])}})))}):Ie.createElement(Ke.Z,null))))};var Ve=(0,Ne.connect)(({classroomList:ut})=>({classroomList:ut}))(He)},33878:function(wn,un,se){"use strict";se.r(un),se.d(un,{default:function(){return te}});var re=se(59301),Ne=se(76560),Te=se(458),Be=se(6767),Se=se(14566),fe=se(25399),Oe=se(77019),be=se(49661),Pe=se(21981),le=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"},Ve=He,ut=se(7657),at=function(me,De){return re.createElement(ut.Z,(0,Ye.Z)({},me,{ref:De,icon:Ve}))},rt=re.forwardRef(at),Fe=rt,Ee=Object.defineProperty,Ge=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(ue,me,De)=>me in ue?Ee(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:De}):ue[me]=De,Ze=(ue,me)=>{for(var De in me||(me={}))ge.call(me,De)&&ze(ue,De,me[De]);if(dt)for(var De of dt(me))ke.call(me,De)&&ze(ue,De,me[De]);return ue},_e=(ue,me)=>Ge(ue,Ue(me)),Re=(ue,me,De)=>new Promise((St,je)=>{var et=Rt=>{try{mt(De.next(Rt))}catch(qt){je(qt)}},lt=Rt=>{try{mt(De.throw(Rt))}catch(qt){je(qt)}},mt=Rt=>Rt.done?St(Rt.value):Promise.resolve(Rt.value).then(et,lt);mt((De=De.apply(ue,me)).next())}),Nt=({visible:ue,data:me,onClose:De=()=>{},sendUrl:St})=>{var je,et,lt;const[mt,Rt]=(0,re.useState)([]),qt=mt.map(Ut=>{var Dt;return Ut.response?_e(Ze({},Ut),{linkProps:{download:!0},url:(Dt=Ut==null?void 0:Ut.response)==null?void 0:Dt.url}):Ut});(0,re.useEffect)(()=>{var Ut;ue&&Rt(((Ut=me==null?void 0:me.attachments)==null?void 0:Ut.map(Dt=>({name:Dt.title,status:"done",linkProps:{download:!0},response:{id:Dt.id,url:Dt.url}})))||[])},[ue]);const Wt={multiple:!0,withCredentials:!0,fileList:qt,beforeUpload:Ut=>Ut.size/1024/1024>150?(Be.ZP.error(`\u300A${Ut.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Se.default.LIST_IGNORE):!0,itemRender:(Ut,Dt)=>{var ft;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:Zt=>{var Yt;console.log(Dt,"file"),Zt.preventDefault(),(0,be.Nd)("",`${le.Z.API_SERVER}${(Yt=Dt==null?void 0:Dt.url)==null?void 0:Yt.replace("disposition=inline","")}`)},title:Dt==null?void 0:Dt.name,href:Dt.url},re.createElement(Fe,{className:"mr10 c-grey-666"}),(0,be.tP)(Dt==null?void 0:Dt.name,35)),((ft=Dt==null?void 0:Dt.response)==null?void 0:ft.id)&&re.createElement("i",{className:`iconfont icon-shanchu14 font14 ${Ke.deletfileIcon}`,onClick:()=>Re(void 0,null,function*(){(yield nn(qt==null?void 0:qt.filter(Yt=>Yt.response.id!=Dt.response.id))).status==0&&(Be.ZP.success("\u5220\u9664\u6210\u529F"),Rt(qt==null?void 0:qt.filter(Yt=>{var mn,Mn;return((mn=Yt==null?void 0:Yt.response)==null?void 0:mn.id)!=((Mn=Dt==null?void 0:Dt.response)==null?void 0:Mn.id)})))})}))},action:`${le.Z.API_SERVER}/api/attachments.json`,onChange:Ut=>{const Dt=(0,be.uD)(Ut);Rt(Dt),Dt.every(ft=>ft.status!=="uploading")&&nn(Dt)}},nn=Ut=>Re(void 0,null,function*(){const Dt=yield(0,nt.ZP)(St,{method:"post",body:{graduation_task_id:me.id,attachment_ids:Ut.filter(ft=>ft.status==="done").map(ft=>{var Zt;return(Zt=ft==null?void 0:ft.response)==null?void 0:Zt.id})}});return Dt.status,Dt});return re.createElement(ye.default,{centered:!0,destroyOnClose:!0,onCancel:De,open:ue,footer:null,title:"\u4EFB\u52A1\u4E66\u8BE6\u60C5",width:620,className:"pb20",afterClose:()=>{Rt([])}},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,(je=me==null?void 0:me.teachers)!=null&&je.length?(lt=(et=me==null?void 0:me.teachers)==null?void 0:et.map(Ut=>Ut.real_name))==null?void 0:lt.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(Se.default,Ze({},Wt),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:Ut=>{Ut.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,gt=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,he=(ue,me,De)=>me in ue?ht(ue,me,{enumerable:!0,configurable:!0,writable:!0,value:De}):ue[me]=De,qe=(ue,me)=>{for(var De in me||(me={}))At.call(me,De)&&he(ue,De,me[De]);if(gt)for(var De of gt(me))we.call(me,De)&&he(ue,De,me[De]);return ue},Lt=(ue,me,De)=>new Promise((St,je)=>{var et=Rt=>{try{mt(De.next(Rt))}catch(qt){je(qt)}},lt=Rt=>{try{mt(De.throw(Rt))}catch(qt){je(qt)}},mt=Rt=>Rt.done?St(Rt.value):Promise.resolve(Rt.value).then(et,lt);mt((De=De.apply(ue,me)).next())});const Tt=({graduations:ue,dispatch:me})=>{var De;const St=(0,Ne.useParams)(),[je,et]=(0,re.useState)([]),[lt,mt]=(0,re.useState)({}),[Rt,qt]=(0,re.useState)(!1),[Wt,nn]=(0,re.useState)(1),Ut=(0,re.useRef)(null),Dt=(0,re.useRef)([]),ft=(De=location.pathname.split("/"))==null?void 0:De[3],{menus:Zt}=ue,Yt=Zt.find($n=>$n.clazz===ft)||{},mn=`/api/graduations/${St.id}/graduation_stages/${Yt==null?void 0:Yt.id}/submit.json`,Mn={multiple:!0,withCredentials:!0,fileList:je,showUploadList:!1,beforeUpload:$n=>$n.size/1024/1024>150?(Be.ZP.error(`\u300A${$n.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Se.default.LIST_IGNORE):!0,action:`${le.Z.API_SERVER}/api/attachments.json`,onChange:$n=>{me({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u4E0A\u4F20\u4E2D\uFF0C\u8BF7\u7A0D\u5019"}});const dr=(0,be.uD)($n);et(dr),dr.every(Mr=>Mr.status!=="uploading")&&Gn(dr)}},Gn=$n=>Lt(void 0,null,function*(){var dr;(yield(0,nt.ZP)(mn,{method:"post",body:{graduation_task_id:Ut.current,attachment_ids:(dr=$n.filter(ar=>ar.status==="done").map(ar=>{var Tr;return(Tr=ar==null?void 0:ar.response)==null?void 0:Tr.id}))==null?void 0:dr.concat(Dt.current)}})).status===0&&(Be.ZP.success("\u63D0\u4EA4\u6210\u529F"),nn(Wt+1)),et([]),Ut.current=null,Dt.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"}],qn=[{title:"\u8BFE\u9898\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:$n=>re.createElement(fe.Z,{placement:"topLeft",title:$n},re.createElement("span",{className:"c-grey-333"},$n||"--"))},{title:"\u6307\u5BFC\u8001\u5E08",dataIndex:"teachers",width:156,ellipsis:!0,render:$n=>{var dr;const Mr=$n!=null&&$n.length?(dr=$n==null?void 0:$n.map(ar=>ar.real_name))==null?void 0:dr.join("\u3001"):"";return re.createElement(fe.Z,{placement:"topLeft",title:Mr},re.createElement("span",{className:"c-grey-333"},Mr||"--"))}},{title:"\u9009\u9898\u5B66\u751F",width:156,ellipsis:!0,dataIndex:"real_name",render:$n=>re.createElement(fe.Z,{placement:"topLeft",title:$n},re.createElement("span",{className:"c-black"},$n||"--"))},{title:"\u6587\u6863",dataIndex:"attachments",width:156,ellipsis:{showTitle:!1},render:($n,dr)=>{var Mr,ar;if(!($n!=null&&$n.length))return"--";let Tr="";return $n!=null&&$n.length&&(Tr=(0,be.tP)((Mr=$n==null?void 0:$n[0])==null?void 0:Mr.title,6)),re.createElement(fe.Z,{placement:"topLeft",title:(ar=$n==null?void 0:$n[0])==null?void 0:ar.title},re.createElement("span",{onClick:()=>{var Pr,Hn;(0,be.Nd)("",`${le.Z.API_SERVER}${(Hn=(Pr=$n[0])==null?void 0:Pr.url)==null?void 0:Hn.replace("disposition=inline","")}`)},className:"current",style:{color:"#3061D0"}},Tr))}},{title:"\u72B6\u6001",dataIndex:"status",width:90,render:$n=>re.createElement(re.Fragment,null,$n===0&&re.createElement("span",{className:"c-black"},"\u672A\u4E0B\u8FBE"),$n===1&&re.createElement("span",{className:"c-black"},"\u5DF2\u4E0B\u8FBE"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",width:100,render:($n,dr)=>re.createElement(Oe.Z,{align:"middle",justify:"end"},re.createElement(Se.default,qe({},Mn),re.createElement("span",{onClick:()=>{var Mr;Ut.current=dr.id,Dt.current=(Mr=dr==null?void 0:dr.attachments)==null?void 0:Mr.map(ar=>ar.id)},className:"current font14 c-light-primary"},"\u63D0\u4EA4")),re.createElement("span",{onClick:()=>{qt(!0),mt(qe({},dr))},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:qn,updateKey:Wt,inputWidth:222}),re.createElement(Nt,{visible:Rt,data:lt,sendUrl:mn,onClose:()=>{qt(!1),mt({}),nn(Wt+1)}}))};var Xe=(0,Ne.connect)(({graduations:ue})=>({graduations:ue}))(Tt),bt={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"},$e=se(62673),Ot=se(57884),We=se(74975),yt=se(41550),Qe=se(86129),Ft=se.n(Qe),wt=se(89392),ce=(ue,me,De)=>new Promise((St,je)=>{var et=Rt=>{try{mt(De.next(Rt))}catch(qt){je(qt)}},lt=Rt=>{try{mt(De.throw(Rt))}catch(qt){je(qt)}},mt=Rt=>Rt.done?St(Rt.value):Promise.resolve(Rt.value).then(et,lt);mt((De=De.apply(ue,me)).next())});const ie=({graduations:ue,dispatch:me})=>{var De;const St=(0,Ne.useParams)(),[je,et]=(0,re.useState)(!0),[lt,mt]=(0,re.useState)([{}]),[Rt,qt]=(0,re.useState)([{}]),[Wt,nn]=(0,re.useState)([]),[Ut,Dt]=(0,re.useState)([]),[ft,Zt]=(0,re.useState)(0),Yt=(0,re.useRef)(),{menus:mn,details:Mn}=ue,Gn=mn.find(ar=>ar.clazz==="tasks")||{};(0,re.useEffect)(()=>{Gn!=null&&Gn.id&&yn()},[Gn==null?void 0:Gn.id]);const yn=()=>ce(void 0,null,function*(){var ar,Tr,Pr,Hn,Rr,Wr;et(!0);const Bt=yield(0,nt.ZP)(`/api/graduations/${St.id}/graduation_stages/${Gn==null?void 0:Gn.id}.json`,{method:"get"});if(Bt.status===0){mt(((ar=Bt==null?void 0:Bt.data)==null?void 0:ar[0])||{}),nn(((Pr=(Tr=Bt==null?void 0:Bt.data)==null?void 0:Tr[0])==null?void 0:Pr.attachments)||[]);let jt=0;(0,wt.isEmpty)((Hn=Bt==null?void 0:Bt.data)==null?void 0:Hn[0])?jt=1:((Wr=(Rr=Bt==null?void 0:Bt.data)==null?void 0:Rr[0])==null?void 0:Wr.status)===0&&(jt=2),Zt(jt)}et(!1)}),qn=(ar,Tr,Pr)=>{let Hn=[];Pr==="all"&&ar?Hn=Wt.map(Rr=>Rr.id):Pr!=="all"&&(ar?Hn=[...Ut,Tr]:Hn=Ut.filter(Rr=>Rr!==Tr)),Dt(Hn)},$n=()=>{if(!Ut.length){Be.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}const ar=Wt.filter(Tr=>Ut.includes(Tr.id));Mr((Mn==null?void 0:Mn.name)+"-\u4EFB\u52A1\u4E66",ar)},dr=ar=>ce(void 0,null,function*(){if(ar.file_type==="txt"){const Tr=yield(0,nt.ZP)(ar.url,{method:"get",headers:{"Content-Type":"application/xml"}});Yt.current=Tr}qt({type:ar.file_type,content:le.Z.API_SERVER+ar.url})}),Mr=(ar,...Tr)=>ce(void 0,[ar,...Tr],function*(Pr,Hn=[]){const Rr=Hn==null?void 0:Hn.filter(cn=>cn.url!="");if(Rr.length==0){Be.ZP.warning("\u6682\u65E0\u4E0B\u8F7D\u6587\u4EF6");return}const Wr=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),"/",Rr.length),maskClosable:!1,className:bt.modal,onOk:()=>{}}),Bt=new(Ft()),jt=[],dn=(cn,Et)=>ce(void 0,null,function*(){try{const kn=yield(yield fetch(le.Z.API_SERVER+cn.url,{method:"get"})).blob(),On=(zn,Qn=0)=>ce(void 0,null,function*(){const fr=zn.split(".");fr.pop();const hr=`${fr.join("")}(${Qn}).${zn.split(".").at(-1)}`;Qn==0&&jt.includes(zn)||jt.includes(hr)?On(zn,Qn+1):(jt.push(Qn==0?zn:hr),Bt.file(Qn==0?zn:hr,kn))});yield On(cn==null?void 0:cn.title),Wr.update({content:re.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",re.createElement("span",{className:"c-blue"},Et),"/",Rr.length)})}catch(en){Be.ZP.error(`${cn==null?void 0:cn.title}\u4E0B\u8F7D\u5931\u8D25\uFF0C\u539F\u56E0\uFF1A${en}`)}});if(Rr.length>0){let cn=0;for(let Et of Rr)yield dn(Et,++cn);Bt.generateAsync({type:"blob"}).then(Et=>{(0,be.FH)(Pr,window.URL.createObjectURL(Et))})}Wr.destroy()});return console.log(Rt,"previewData"),re.createElement("div",{className:bt.wrap},re.createElement(We.Z,{title:"\u4EFB\u52A1\u4E66",status:Gn==null?void 0:Gn.status,startAt:Gn==null?void 0:Gn.start_at,endAt:Gn==null?void 0:Gn.end_at}),re.createElement(Te.Z,{active:!0,loading:je},!!ft&&re.createElement(Ot.Z,{customText:ft===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"}),!ft&&re.createElement("div",{className:bt.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:lt==null?void 0:lt.name},re.createElement("span",{style:{color:"#333",fontSize:16}},(0,be.Pq)(lt==null?void 0:lt.name,59)))),re.createElement("div",{className:bt.title},re.createElement("span",{style:{flexShrink:0,marginTop:4,color:"#5f6368"},className:"mr20"},"\u6307\u5BFC\u8001\u5E08"),re.createElement("div",{className:bt.teacherWrap},(De=lt==null?void 0:lt.teachers)==null?void 0:De.map((ar,Tr)=>{var Pr;return re.createElement("div",{key:Tr,className:bt.titleCol},re.createElement("img",{width:28,height:28,style:{borderRadius:"50%"},src:`${(Pr=le.Z)==null?void 0:Pr.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:bt.head},re.createElement($e.default,{onChange:ar=>qn(ar.target.checked,null,"all"),checked:!!Ut.length&&Ut.length===Wt.length,indeterminate:!!Ut.length&&Ut.length!==Wt.length}),re.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u4E66"),!!(Ut!=null&&Ut.length)&&re.createElement("span",{onClick:$n,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:bt.rowWrap},Wt==null?void 0:Wt.map(ar=>re.createElement("div",{key:ar.id,className:bt.row},re.createElement($e.default,{onChange:Tr=>qn(Tr.target.checked,ar.id),checked:Ut.includes(ar.id)}),re.createElement("span",{className:bt.name,title:ar.title},(0,be.tP)(ar.title,60)),re.createElement("span",{className:bt.btns},re.createElement(fe.Z,{className:"mr20",title:"\u9884\u89C8"}," ",re.createElement("i",{onClick:()=>dr(ar),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})),re.createElement(fe.Z,{title:"\u4E0B\u8F7D"}," ",re.createElement("i",{onClick:()=>{var Tr;(0,be.Nd)("",`${le.Z.API_SERVER}${(Tr=ar.url)==null?void 0:Tr.replace("disposition=inline","")}`)},className:"iconfont icon-xiazai4 c-light-primary current font14"})))))))),re.createElement(yt.Z,{close:!0,data:Rt==null?void 0:Rt.content,type:Rt==null?void 0:Rt.type,hasMask:!0,monacoEditor:{value:Yt.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>{qt({content:"",type:""})}}))};var z=(0,Ne.connect)(({graduations:ue})=>({graduations:ue}))(ie),ee=se(34055);const ne=({graduations:ue,dispatch:me,loading:De})=>re.createElement(Te.Z,{style:{margin:"20px 0 0 45px"},loading:De.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(wn,un,se){"use strict";se.d(un,{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),Be=se.n(Te),Se=se(43907),fe=se(56656),Oe=se.n(fe),Pe=({className:le,status:nt,style:ye={},startAt:Ke,endAt:Ie,title:Ye})=>re.createElement("div",{className:Be()(Ne.title,le),style:ye},re.createElement("b",null,Ye),re.createElement(Se.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(wn,un,se){"use strict";se.d(un,{Z:function(){return dt}});var re=se(59301),Ne=se(6767),Te=se(14566),Be=se(62957),Se=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"},be=se(90524),Pe=se(76560),le=se(71360),nt=se(82093),ye=se(49661),Ke=se(2978),Ie=se(56656),Ye=se.n(Ie),He=se(69577),Ve=Object.defineProperty,ut=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Fe=(ge,ke,ze)=>ke in ge?Ve(ge,ke,{enumerable:!0,configurable:!0,writable:!0,value:ze}):ge[ke]=ze,Ee=(ge,ke)=>{for(var ze in ke||(ke={}))at.call(ke,ze)&&Fe(ge,ze,ke[ze]);if(ut)for(var ze of ut(ke))rt.call(ke,ze)&&Fe(ge,ze,ke[ze]);return ge},Ge=(ge,ke,ze)=>new Promise((Ze,_e)=>{var Re=ht=>{try{Nt(ze.next(ht))}catch(gt){_e(gt)}},Je=ht=>{try{Nt(ze.throw(ht))}catch(gt){_e(gt)}},Nt=ht=>ht.done?Ze(ht.value):Promise.resolve(ht.value).then(Re,Je);Nt((ze=ze.apply(ge,ke)).next())}),dt=({visible:ge,data:ke,onClose:ze=()=>{},onSuccess:Ze=()=>{}})=>{const[_e,Re]=(0,re.useState)([]),[Je,Nt]=(0,re.useState)(""),[ht,gt]=(0,re.useState)(""),[At,we]=(0,re.useState)(""),[he,qe]=(0,re.useState)(!1),Lt=(0,Pe.useParams)();(0,re.useEffect)(()=>{var wt;ge&&(we((ke==null?void 0:ke.description)||""),Nt((ke==null?void 0:ke.start_at)||""),gt((ke==null?void 0:ke.end_at)||""),Re(((wt=ke==null?void 0:ke.attachments)==null?void 0:wt.map(ce=>({name:ce.name||ce.title,status:"done",response:{id:ce.id}})))||[]))},[ge]);const Tt={multiple:!0,withCredentials:!0,fileList:_e,beforeUpload:wt=>wt.size/1024/1024>150?(Ne.ZP.error(`\u300A${wt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Te.default.LIST_IGNORE):!0,action:`${be.Z.API_SERVER}/api/attachments.json`,onChange(wt){Re((0,ye.uD)(wt))}},Xe=()=>Ge(void 0,null,function*(){if(!Je||!ht){Ne.ZP.warning(`\u8BF7\u9009\u62E9${We}`);return}qe(!0),console.log(_e,"fileList");const wt=yield(0,nt.ZP)(`/api/graduations/${Lt.id}/graduation_stages/${ke.id}.json`,{method:"put",body:{start_at:Je,end_at:ht,description:At,attachment_ids:_e.map(ce=>{var ie;return(ie=ce==null?void 0:ce.response)==null?void 0:ie.id})}});if((wt==null?void 0:wt.status)===0){Ne.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,Pe.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:Lt==null?void 0:Lt.id}}),Ze();return}qe(!1)});console.log(ke,"data");const bt=[{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"}],$e=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],Ot=_e.some(wt=>!(wt!=null&&wt.response)),{timeName:We,text:yt,width:Qe,key:Ft}=(bt==null?void 0:bt.find(wt=>wt.key===(ke==null?void 0:ke.clazz)))||{};return re.createElement(Be.default,{centered:!0,destroyOnClose:!0,confirmLoading:he,okButtonProps:{disabled:Ot},onCancel:ze,onOk:Xe,open:ge,title:`${ke.name}\u8BBE\u7F6E`,width:Qe,afterClose:()=>{Re([]),Nt(""),we(""),gt(""),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(Se.Z,{align:"middle",className:$e.includes(Ft)?"mb20":""},re.createElement(fe.default,{format:"YYYY-MM-DD HH:mm",value:Je?Ye()(Je):"",disabledDate:wt=>(0,He.Q8)(wt,"",ke==null?void 0:ke.disabled_time),disabledTime:wt=>(0,He.d0)(wt,ke==null?void 0:ke.disabled_time),showTime:{format:"HH:mm"},onChange:(wt,ce)=>{Nt(ce)}}),re.createElement("span",{className:"ml10 mr10"},"\u81F3"),re.createElement(fe.default,{format:"YYYY-MM-DD HH:mm",value:ht?Ye()(ht):"",disabledDate:wt=>(0,He.Q8)(wt,"",ke==null?void 0:ke.disabled_time),disabledTime:wt=>(0,He.d0)(wt,ke==null?void 0:ke.disabled_time),showTime:{format:"HH:mm"},onChange:(wt,ce)=>{gt(ce)}}),re.createElement("span",{className:`${Ft==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},yt)),$e.includes(Ft)&&re.createElement(re.Fragment,null,re.createElement("div",{className:Oe.label},"\u9636\u6BB5\u63CF\u8FF0"),re.createElement(Ke.Z,{height:140,defaultValue:At,onChange:wt=>{we(wt)}}),re.createElement(Te.default,Ee({},Tt),re.createElement(Se.Z,{align:"middle",className:"mt10"},re.createElement(le.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:wt=>{wt.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(wn,un,se){"use strict";se.d(un,{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),Be=se.n(Te),fe=({className:Oe,status:be})=>re.createElement(re.Fragment,null,be===0&&re.createElement("div",{className:Be()(Ne.tag,Oe)},"\u672A\u5F00\u59CB"),be===1&&re.createElement("div",{className:Be()(Ne.tag,Oe),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),be===2&&re.createElement("div",{className:Be()(Ne.tag,Oe),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},21981:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ge}});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),Be=se(77019),Se=se(54172),fe=se(71360),Oe=se(74975),be=se(82093),Pe=se(5874),le=se(57884),nt=se(49661),ye=Object.defineProperty,Ke=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,ut=(Ue,dt,ge)=>dt in Ue?ye(Ue,dt,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[dt]=ge,at=(Ue,dt)=>{for(var ge in dt||(dt={}))He.call(dt,ge)&&ut(Ue,ge,dt[ge]);if(Ye)for(var ge of Ye(dt))Ve.call(dt,ge)&&ut(Ue,ge,dt[ge]);return Ue},rt=(Ue,dt)=>Ke(Ue,Ie(dt)),Fe=(Ue,dt,ge)=>new Promise((ke,ze)=>{var Ze=Je=>{try{Re(ge.next(Je))}catch(Nt){ze(Nt)}},_e=Je=>{try{Re(ge.throw(Je))}catch(Nt){ze(Nt)}},Re=Je=>Je.done?ke(Je.value):Promise.resolve(Je.value).then(Ze,_e);Re((ge=ge.apply(Ue,dt)).next())});const Ee=({graduations:Ue,dispatch:dt,tags:ge,tagsTitle:ke,tagsTitleWidth:ze,placeholder:Ze,columns:_e,updateKey:Re,inputWidth:Je=214})=>{var Nt,ht,gt;const At=(0,Te.useParams)(),[we]=(0,Te.useSearchParams)(),[he,qe]=(0,re.useState)(!1),[Lt,Tt]=(0,re.useState)(0),[Xe,bt]=(0,re.useState)([]),[$e,Ot]=(0,re.useState)(!1),{menus:We}=Ue,yt=(Nt=location.pathname.split("/"))==null?void 0:Nt[3],Qe=We.find(De=>De.clazz===yt)||{},Ft=We.find(De=>De.clazz===yt)||1,wt=we!=null&&we.get("state")?Number(we==null?void 0:we.get("state")):"",[ce,ie]=(0,re.useState)({keyword:"",status:wt,page:1,limit:20});(0,re.useEffect)(()=>{Qe!=null&&Qe.id&&z(ce)},[Qe==null?void 0:Qe.id,Re]);const z=De=>Fe(void 0,null,function*(){qe(!0);const St=yield(0,be.ZP)(`/api/graduations/${At.id}/graduation_stages/${Qe==null?void 0:Qe.id}.json`,{method:"get",params:De});St.status===0&&(bt((St==null?void 0:St.data)||[]),Tt(St==null?void 0:St.total_count)),qe(!1)}),ee=De=>{ce.status=De,ce.page=1,ie(ce),z(ce)},ne=De=>{ce.keyword=De,ce.page=1,ie(ce),z(ce)},te=(De,St)=>{ce.page=De,ce.limit=St,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(De=>De.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(Be.Z,{align:"middle",justify:"end",style:{height:66}},!!(Qe!=null&&Qe.status)&&re.createElement(Be.Z,{align:"middle",style:{flex:1}},re.createElement(fe.qp,{title:ke,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:()=>Ot(!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(le.Z,{customText:me}),!!(Qe!=null&&Qe.status)&&re.createElement(Se.default,{columns:_e,dataSource:Xe,loading:he,rowKey:"id",locale:{emptyText:re.createElement(le.Z,null)},pagination:{current:ce.page,hideOnSinglePage:!Lt,showQuickJumper:!0,showSizeChanger:!0,pageSize:ce.limit,pageSizeOptions:["10","20","50","100","200"],total:Lt,size:"default",showTotal:nt.rU,onChange:te}}),re.createElement(Pe.Z,{visible:$e,data:rt(at({},Qe),{disabled_time:(gt=We==null?void 0:We[Ft-1])==null?void 0:gt.end_at}),onClose:()=>Ot(!1),onSuccess:()=>{Ot(!1)}}))};var Ge=(0,Te.connect)(({graduations:Ue})=>({graduations:Ue}))(Ee)},90290:function(wn,un,se){"use strict";se.d(un,{AL:function(){return Fe},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),Be=se.n(Te);let Se=1;function fe(ge,ke){const ze=ge.match(/^(\s+)(?:```)/);if(ze===null)return ke;const Ze=ze[1];return ke.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=[],be=["<ul>"];const Pe=new(Ne()).Renderer,le=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function nt(){Oe.length=0,be=["<ul>"]}const ye={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Ke(ge,ke,ze,Ze){if(ke>=ge.length||ge[ke].level<=ze)return ke;var _e=ge[ke];Ze.push("<li><a href='#"+Se+_e.anchor+"'>"+_e.text+"</a>"),ke++;var Re=[];return ke=Ke(ge,ke,_e.level,Re),Re.length>0&&(Ze.push("<ul>"),Re.forEach(function(Je){Ze.push(Je)}),Ze.push("</ul>")),Ze.push("</li>"),ke=Ke(ge,ke,ze,Ze),ke}function Ie(){return Ke(Oe,0,0,be),be.push("</ul>"),be.join("")}const Ye={heading(ge){const ke=le.exec(ge);if(Se+=1,ke)return{type:"heading",raw:ke[0],depth:ke[1].length,text:ke[2]}},fences(ge){const ke=this.rules.block.fences.exec(ge);if(ke){const ze=ke[0];let Ze=fe(ze,ke[3]||"");const _e=ke[2]?ke[2].trim():ke[2];if(["latex","katex","math"].indexOf(_e)>=0){const Re=ut(),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 Ve=0;const ut=()=>`__special_katext_id_${Ve++}__`;let at={};function rt(){return at}function Fe(){Ve=0,at={}}function Ee(ge){return ge=ge.replace(He,(ke,ze)=>{const Ze=ut();return at[Ze]={type:"inline",expression:ze},Ze}),ge}const Ge=Pe.listitem;Pe.listitem=function(ge){return Ge(Ee(ge))};const Ue=Pe.paragraph;Pe.paragraph=function(ge){return Ue(Ee(ge))};const dt=Pe.tablecell;Pe.tablecell=function(ge,ke){return dt(Ee(ge),ke)},Pe.code=function(ge,ke,ze){const Ze=(ke||"").match(/\S*/)[0];return Ze?["latex","katex","math"].indexOf(Ze)>=0?`<p class='editormd-tex'>${ge}</p>`:`<pre class="prettyprint linenums"><code class="language-${ke}">${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,ke,ze){let Ze=this.options.headerPrefix+ze.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Oe.push({anchor:Ze,level:ke,text:ge}),"<h"+ke+' id="'+Se+Ze+'">'+ge+"</h"+ke+">"},Ne().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ne().use({tokenizer:Ye,renderer:Pe}),un.ZP=Ne()},23869:function(wn,un,se){"use strict";se.d(un,{rX:function(){return Ee},pW:function(){return Ge},gy:function(){return Ue},xY:function(){return Fe},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),Be=se(6767),Se=se(34055),fe=se(49661),Oe=se(87169),be=se(25510),Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6m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ARh7VGkxytjyAyQ1ZcdvYtjoEVgyAoDLbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",le=se.p+"static/newqrcode.a8740efb.png",nt=se(32637),ye=se(59301),Ke=(dt,ge,ke)=>new Promise((ze,Ze)=>{var _e=Nt=>{try{Je(ke.next(Nt))}catch(ht){Ze(ht)}},Re=Nt=>{try{Je(ke.throw(Nt))}catch(ht){Ze(ht)}},Je=Nt=>Nt.done?ze(Nt.value):Promise.resolve(Nt.value).then(_e,Re);Je((ke=ke.apply(dt,ge)).next())});const Ie=(dt,ge=!1,ke=!1,ze="",Ze=!1)=>!!(Ye(dt)&&Ve(dt,ge,ke,ze,Ze)),Ye=dt=>(0,Se.bg)()?!0:(dt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),He=dt=>{var ge,ke,ze;const{user:Ze}=(0,re.getDvaApp)()._store.getState();(0,Se.bg)()&&!((ke=(ge=Ze==null?void 0:Ze.userInfo)==null?void 0:ge.course)!=null&&ke.course_public)&&!((ze=Ze==null?void 0:Ze.userInfo)!=null&&ze.profile_completed)&&dt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Ve=(dt,ge=!1,ke=!0,ze="",Ze=!1)=>{var _e;const{user:Re}=(0,re.getDvaApp)()._store.getState();return(_e=Re.userInfo)!=null&&_e.profile_completed?!0:(ke?dt({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"),ut()}}),!1)},ut=()=>{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 dt;const{user:ge}=(0,re.getDvaApp)()._store.getState();return(dt=ge.userInfo)!=null&&dt.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)},Fe=()=>(0,Se.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:le,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Ee=(dt,ge)=>dt?!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),Ge=dt=>{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,dt),"\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:be,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Ue=(dt,ge="")=>{const{shixunsDetail:{detail:ke}}=(0,re.getDvaApp)()._store.getState();if((ke==null?void 0:ke.public)===2||(ke==null?void 0:ke.public)===1||(ke==null?void 0:ke.shixun_status)===3){let ze="";return(ke==null?void 0:ke.public)===2&&(ze="\u5DF2\u516C\u5F00"),(ke==null?void 0:ke.public)===1&&(ze="\u5F85\u5BA1\u6838"),(ke==null?void 0:ke.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:be,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ke==null?void 0:ke.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 dt({type:"shixunsDetail/cancelRelease",payload:{id:ke==null?void 0:ke.identifier}})).status!==401&&(Be.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),dt({type:"shixunsDetail/getShixunsDetail",payload:{id:ke==null?void 0:ke.identifier}}),dt({type:"practiceSetting/getCommonData",payload:{id:ke==null?void 0:ke.identifier}}))})})}}),!0):!1}},86251:function(wn,un){"use strict";un.byteLength=Oe,un.toByteArray=Pe,un.fromByteArray=ye;for(var se=[],re=[],Ne=typeof Uint8Array!="undefined"?Uint8Array:Array,Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Be=0,Se=Te.length;Be<Se;++Be)se[Be]=Te[Be],re[Te.charCodeAt(Be)]=Be;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 be(Ke,Ie,Ye){return(Ie+Ye)*3/4-Ye}function Pe(Ke){var Ie,Ye=fe(Ke),He=Ye[0],Ve=Ye[1],ut=new Ne(be(Ke,He,Ve)),at=0,rt=Ve>0?He-4:He,Fe;for(Fe=0;Fe<rt;Fe+=4)Ie=re[Ke.charCodeAt(Fe)]<<18|re[Ke.charCodeAt(Fe+1)]<<12|re[Ke.charCodeAt(Fe+2)]<<6|re[Ke.charCodeAt(Fe+3)],ut[at++]=Ie>>16&255,ut[at++]=Ie>>8&255,ut[at++]=Ie&255;return Ve===2&&(Ie=re[Ke.charCodeAt(Fe)]<<2|re[Ke.charCodeAt(Fe+1)]>>4,ut[at++]=Ie&255),Ve===1&&(Ie=re[Ke.charCodeAt(Fe)]<<10|re[Ke.charCodeAt(Fe+1)]<<4|re[Ke.charCodeAt(Fe+2)]>>2,ut[at++]=Ie>>8&255,ut[at++]=Ie&255),ut}function le(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,Ve=[],ut=Ie;ut<Ye;ut+=3)He=(Ke[ut]<<16&16711680)+(Ke[ut+1]<<8&65280)+(Ke[ut+2]&255),Ve.push(le(He));return Ve.join("")}function ye(Ke){for(var Ie,Ye=Ke.length,He=Ye%3,Ve=[],ut=16383,at=0,rt=Ye-He;at<rt;at+=ut)Ve.push(nt(Ke,at,at+ut>rt?rt:at+ut));return He===1?(Ie=Ke[Ye-1],Ve.push(se[Ie>>2]+se[Ie<<4&63]+"==")):He===2&&(Ie=(Ke[Ye-2]<<8)+Ke[Ye-1],Ve.push(se[Ie>>10]+se[Ie>>4&63]+se[Ie<<2&63]+"=")),Ve.join("")}},19208:function(wn,un,se){"use strict";var re;var Ne=se(86251),Te=se(67467),Be=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;un.lW=be,re=at,un.h2=50;var Se=2147483647;re=Se,be.TYPED_ARRAY_SUPPORT=fe(),!be.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(be.prototype,"parent",{enumerable:!0,get:function(){if(be.isBuffer(this))return this.buffer}}),Object.defineProperty(be.prototype,"offset",{enumerable:!0,get:function(){if(be.isBuffer(this))return this.byteOffset}});function Oe(z){if(z>Se)throw new RangeError('The value "'+z+'" is invalid for option "size"');var ee=new Uint8Array(z);return Object.setPrototypeOf(ee,be.prototype),ee}function be(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)}be.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(wt(z,ArrayBuffer)||z&&wt(z.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(wt(z,SharedArrayBuffer)||z&&wt(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 be.from(te,ee,ne);var ue=Ve(z);if(ue)return ue;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof z[Symbol.toPrimitive]=="function")return be.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)}be.from=function(z,ee,ne){return Pe(z,ee,ne)},Object.setPrototypeOf(be.prototype,Uint8Array.prototype),Object.setPrototypeOf(be,Uint8Array);function le(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 le(z),z<=0?Oe(z):ee!==void 0?typeof ne=="string"?Oe(z).fill(ee,ne):Oe(z).fill(ee):Oe(z)}be.alloc=function(z,ee,ne){return nt(z,ee,ne)};function ye(z){return le(z),Oe(z<0?0:ut(z)|0)}be.allocUnsafe=function(z){return ye(z)},be.allocUnsafeSlow=function(z){return ye(z)};function Ke(z,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!be.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:ut(z.length)|0,ne=Oe(ee),te=0;te<ee;te+=1)ne[te]=z[te]&255;return ne}function Ye(z){if(wt(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,be.prototype),te}function Ve(z){if(be.isBuffer(z)){var ee=ut(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 ut(z){if(z>=Se)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Se.toString(16)+" bytes");return z|0}function at(z){return+z!=z&&(z=0),be.alloc(+z)}be.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==be.prototype},be.compare=function(ee,ne){if(wt(ee,Uint8Array)&&(ee=be.from(ee,ee.offset,ee.byteLength)),wt(ne,Uint8Array)&&(ne=be.from(ne,ne.offset,ne.byteLength)),!be.isBuffer(ee)||!be.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,De=Math.min(te,ue);me<De;++me)if(ee[me]!==ne[me]){te=ee[me],ue=ne[me];break}return te<ue?-1:ue<te?1:0},be.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}},be.concat=function(ee,ne){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return be.alloc(0);var te;if(ne===void 0)for(ne=0,te=0;te<ee.length;++te)ne+=ee[te].length;var ue=be.allocUnsafe(ne),me=0;for(te=0;te<ee.length;++te){var De=ee[te];if(wt(De,Uint8Array))me+De.length>ue.length?be.from(De).copy(ue,me):Uint8Array.prototype.set.call(ue,De,me);else if(be.isBuffer(De))De.copy(ue,me);else throw new TypeError('"list" argument must be an Array of Buffers');me+=De.length}return ue};function rt(z,ee){if(be.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||wt(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 Ot(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:Ot(z).length;ee=(""+ee).toLowerCase(),ue=!0}}be.byteLength=rt;function Fe(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 At(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 gt(this,ee,ne);case"base64":return _e(this,ee,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,ee,ne);default:if(te)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),te=!0}}be.prototype._isBuffer=!0;function Ee(z,ee,ne){var te=z[ee];z[ee]=z[ne],z[ne]=te}be.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)Ee(this,ne,ne+1);return this},be.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)Ee(this,ne,ne+3),Ee(this,ne+1,ne+2);return this},be.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)Ee(this,ne,ne+7),Ee(this,ne+1,ne+6),Ee(this,ne+2,ne+5),Ee(this,ne+3,ne+4);return this},be.prototype.toString=function(){var ee=this.length;return ee===0?"":arguments.length===0?Re(this,0,ee):Fe.apply(this,arguments)},be.prototype.toLocaleString=be.prototype.toString,be.prototype.equals=function(ee){if(!be.isBuffer(ee))throw new TypeError("Argument must be a Buffer");return this===ee?!0:be.compare(this,ee)===0},be.prototype.inspect=function(){var ee="",ne=un.h2;return ee=this.toString("hex",0,ne).replace(/(.{2})/g,"$1 ").trim(),this.length>ne&&(ee+=" ... "),"<Buffer "+ee+">"},Be&&(be.prototype[Be]=be.prototype.inspect),be.prototype.compare=function(ee,ne,te,ue,me){if(wt(ee,Uint8Array)&&(ee=be.from(ee,ee.offset,ee.byteLength)),!be.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 De=me-ue,St=te-ne,je=Math.min(De,St),et=this.slice(ue,me),lt=ee.slice(ne,te),mt=0;mt<je;++mt)if(et[mt]!==lt[mt]){De=et[mt],St=lt[mt];break}return De<St?-1:St<De?1:0};function Ge(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=be.from(ee,te)),be.isBuffer(ee))return ee.length===0?-1:Ue(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):Ue(z,[ee],ne,te,ue);throw new TypeError("val must be string, number or Buffer")}function Ue(z,ee,ne,te,ue){var me=1,De=z.length,St=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,De/=2,St/=2,ne/=2}function je(qt,Wt){return me===1?qt[Wt]:qt.readUInt16BE(Wt*me)}var et;if(ue){var lt=-1;for(et=ne;et<De;et++)if(je(z,et)===je(ee,lt===-1?0:et-lt)){if(lt===-1&&(lt=et),et-lt+1===St)return lt*me}else lt!==-1&&(et-=et-lt),lt=-1}else for(ne+St>De&&(ne=De-St),et=ne;et>=0;et--){for(var mt=!0,Rt=0;Rt<St;Rt++)if(je(z,et+Rt)!==je(ee,Rt)){mt=!1;break}if(mt)return et}return-1}be.prototype.includes=function(ee,ne,te){return this.indexOf(ee,ne,te)!==-1},be.prototype.indexOf=function(ee,ne,te){return Ge(this,ee,ne,te,!0)},be.prototype.lastIndexOf=function(ee,ne,te){return Ge(this,ee,ne,te,!1)};function dt(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 De=0;De<te;++De){var St=parseInt(ee.substr(De*2,2),16);if(ce(St))return De;z[ne+De]=St}return De}function ge(z,ee,ne,te){return Ft(Ot(ee,z.length-ne),z,ne,te)}function ke(z,ee,ne,te){return Ft(We(ee),z,ne,te)}function ze(z,ee,ne,te){return Ft(Qe(ee),z,ne,te)}function Ze(z,ee,ne,te){return Ft(yt(ee,z.length-ne),z,ne,te)}be.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 De=!1;;)switch(ue){case"hex":return dt(this,ee,ne,te);case"utf8":case"utf-8":return ge(this,ee,ne,te);case"ascii":case"latin1":case"binary":return ke(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(De)throw new TypeError("Unknown encoding: "+ue);ue=(""+ue).toLowerCase(),De=!0}},be.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],De=null,St=me>239?4:me>223?3:me>191?2:1;if(ue+St<=ne){var je,et,lt,mt;switch(St){case 1:me<128&&(De=me);break;case 2:je=z[ue+1],(je&192)===128&&(mt=(me&31)<<6|je&63,mt>127&&(De=mt));break;case 3:je=z[ue+1],et=z[ue+2],(je&192)===128&&(et&192)===128&&(mt=(me&15)<<12|(je&63)<<6|et&63,mt>2047&&(mt<55296||mt>57343)&&(De=mt));break;case 4:je=z[ue+1],et=z[ue+2],lt=z[ue+3],(je&192)===128&&(et&192)===128&&(lt&192)===128&&(mt=(me&15)<<18|(je&63)<<12|(et&63)<<6|lt&63,mt>65535&&mt<1114112&&(De=mt))}}De===null?(De=65533,St=1):De>65535&&(De-=65536,te.push(De>>>10&1023|55296),De=56320|De&1023),te.push(De),ue+=St}return Nt(te)}var Je=4096;function Nt(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 gt(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 At(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 we(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}be.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,be.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")}be.prototype.readUintLE=be.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,De=0;++De<ne&&(me*=256);)ue+=this[ee+De]*me;return ue},be.prototype.readUintBE=be.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},be.prototype.readUint8=be.prototype.readUInt8=function(ee,ne){return ee=ee>>>0,ne||he(ee,1,this.length),this[ee]},be.prototype.readUint16LE=be.prototype.readUInt16LE=function(ee,ne){return ee=ee>>>0,ne||he(ee,2,this.length),this[ee]|this[ee+1]<<8},be.prototype.readUint16BE=be.prototype.readUInt16BE=function(ee,ne){return ee=ee>>>0,ne||he(ee,2,this.length),this[ee]<<8|this[ee+1]},be.prototype.readUint32LE=be.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},be.prototype.readUint32BE=be.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])},be.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,De=0;++De<ne&&(me*=256);)ue+=this[ee+De]*me;return me*=128,ue>=me&&(ue-=Math.pow(2,8*ne)),ue},be.prototype.readIntBE=function(ee,ne,te){ee=ee>>>0,ne=ne>>>0,te||he(ee,ne,this.length);for(var ue=ne,me=1,De=this[ee+--ue];ue>0&&(me*=256);)De+=this[ee+--ue]*me;return me*=128,De>=me&&(De-=Math.pow(2,8*ne)),De},be.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]},be.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},be.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},be.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},be.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]},be.prototype.readFloatLE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),Te.read(this,ee,!0,23,4)},be.prototype.readFloatBE=function(ee,ne){return ee=ee>>>0,ne||he(ee,4,this.length),Te.read(this,ee,!1,23,4)},be.prototype.readDoubleLE=function(ee,ne){return ee=ee>>>0,ne||he(ee,8,this.length),Te.read(this,ee,!0,52,8)},be.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(!be.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")}be.prototype.writeUintLE=be.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 De=1,St=0;for(this[ne]=ee&255;++St<te&&(De*=256);)this[ne+St]=ee/De&255;return ne+te},be.prototype.writeUintBE=be.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 De=te-1,St=1;for(this[ne+De]=ee&255;--De>=0&&(St*=256);)this[ne+De]=ee/St&255;return ne+te},be.prototype.writeUint8=be.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},be.prototype.writeUint16LE=be.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},be.prototype.writeUint16BE=be.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},be.prototype.writeUint32LE=be.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},be.prototype.writeUint32BE=be.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},be.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 De=0,St=1,je=0;for(this[ne]=ee&255;++De<te&&(St*=256);)ee<0&&je===0&&this[ne+De-1]!==0&&(je=1),this[ne+De]=(ee/St>>0)-je&255;return ne+te},be.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 De=te-1,St=1,je=0;for(this[ne+De]=ee&255;--De>=0&&(St*=256);)ee<0&&je===0&&this[ne+De+1]!==0&&(je=1),this[ne+De]=(ee/St>>0)-je&255;return ne+te},be.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},be.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},be.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},be.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},be.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 Lt(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 Tt(z,ee,ne,te,ue){return ee=+ee,ne=ne>>>0,ue||Lt(z,ee,ne,4,34028234663852886e22,-34028234663852886e22),Te.write(z,ee,ne,te,23,4),ne+4}be.prototype.writeFloatLE=function(ee,ne,te){return Tt(this,ee,ne,!0,te)},be.prototype.writeFloatBE=function(ee,ne,te){return Tt(this,ee,ne,!1,te)};function Xe(z,ee,ne,te,ue){return ee=+ee,ne=ne>>>0,ue||Lt(z,ee,ne,8,17976931348623157e292,-17976931348623157e292),Te.write(z,ee,ne,te,52,8),ne+8}be.prototype.writeDoubleLE=function(ee,ne,te){return Xe(this,ee,ne,!0,te)},be.prototype.writeDoubleBE=function(ee,ne,te){return Xe(this,ee,ne,!1,te)},be.prototype.copy=function(ee,ne,te,ue){if(!be.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},be.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"&&!be.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 De;if(typeof ee=="number")for(De=ne;De<te;++De)this[De]=ee;else{var St=be.isBuffer(ee)?ee:be.from(ee,ue),je=St.length;if(je===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(De=0;De<te-ne;++De)this[De+ne]=St[De%je]}return this};var bt=/[^+/0-9A-Za-z-_]/g;function $e(z){if(z=z.split("=")[0],z=z.trim().replace(bt,""),z.length<2)return"";for(;z.length%4!==0;)z=z+"=";return z}function Ot(z,ee){ee=ee||1/0;for(var ne,te=z.length,ue=null,me=[],De=0;De<te;++De){if(ne=z.charCodeAt(De),ne>55295&&ne<57344){if(!ue){if(ne>56319){(ee-=3)>-1&&me.push(239,191,189);continue}else if(De+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=[],De=0;De<z.length&&!((ee-=2)<0);++De)ne=z.charCodeAt(De),te=ne>>8,ue=ne%256,me.push(ue),me.push(te);return me}function Qe(z){return Ne.toByteArray($e(z))}function Ft(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 wt(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(wn,un,se){(function(re){re(se(89780))})(function(re){re.defineOption("placeholder","",function(be,Pe,le){var nt=le&&le!=re.Init;if(Pe&&!nt)be.on("blur",Se),be.on("change",fe),be.on("swapDoc",fe),re.on(be.getInputField(),"compositionupdate",be.state.placeholderCompose=function(){Be(be)}),fe(be);else if(!Pe&&nt){be.off("blur",Se),be.off("change",fe),be.off("swapDoc",fe),re.off(be.getInputField(),"compositionupdate",be.state.placeholderCompose),Ne(be);var ye=be.getWrapperElement();ye.className=ye.className.replace(" CodeMirror-empty","")}Pe&&!be.hasFocus()&&Se(be)});function Ne(be){be.state.placeholder&&(be.state.placeholder.parentNode.removeChild(be.state.placeholder),be.state.placeholder=null)}function Te(be){Ne(be);var Pe=be.state.placeholder=document.createElement("pre");Pe.style.cssText="height: 0; overflow: visible",Pe.style.direction=be.getOption("direction"),Pe.className="CodeMirror-placeholder CodeMirror-line-like";var le=be.getOption("placeholder");typeof le=="string"&&(le=document.createTextNode(le)),Pe.appendChild(le),be.display.lineSpace.insertBefore(Pe,be.display.lineSpace.firstChild)}function Be(be){setTimeout(function(){var Pe=!1,le=be.getInputField();le.nodeName=="TEXTAREA"?Pe=!le.value:be.lineCount()==1&&(Pe=!/[^\u200b]/.test(le.querySelector(".CodeMirror-line").textContent)),Pe?Te(be):Ne(be)},20)}function Se(be){Oe(be)&&Te(be)}function fe(be){var Pe=be.getWrapperElement(),le=Oe(be);Pe.className=Pe.className.replace(" CodeMirror-empty","")+(le?" CodeMirror-empty":""),le?Te(be):Ne(be)}function Oe(be){return be.lineCount()===1&&be.getLine(0)===""}})},25717:function(wn,un,se){(function(re){re(se(89780))})(function(re){var Ne={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Te=re.Pos;re.defineOption("autoCloseBrackets",!1,function(Ye,He,Ve){Ve&&Ve!=re.Init&&(Ye.removeKeyMap(Se),Ye.state.closeBrackets=null),He&&(fe(Be(He,"pairs")),Ye.state.closeBrackets=He,Ye.addKeyMap(Se))});function Be(Ye,He){return He=="pairs"&&typeof Ye=="string"?Ye:typeof Ye=="object"&&Ye[He]!=null?Ye[He]:Ne[He]}var Se={Backspace:Pe,Enter:le};function fe(Ye){for(var He=0;He<Ye.length;He++){var Ve=Ye.charAt(He),ut="'"+Ve+"'";Se[ut]||(Se[ut]=Oe(Ve))}}fe(Ne.pairs+"`");function Oe(Ye){return function(He){return ye(He,Ye)}}function be(Ye){var He=Ye.state.closeBrackets;if(!He||He.override)return He;var Ve=Ye.getModeAt(Ye.getCursor());return Ve.closeBrackets||He}function Pe(Ye){var He=be(Ye);if(!He||Ye.getOption("disableInput"))return re.Pass;for(var Ve=Be(He,"pairs"),ut=Ye.listSelections(),at=0;at<ut.length;at++){if(!ut[at].empty())return re.Pass;var rt=Ke(Ye,ut[at].head);if(!rt||Ve.indexOf(rt)%2!=0)return re.Pass}for(var at=ut.length-1;at>=0;at--){var Fe=ut[at].head;Ye.replaceRange("",Te(Fe.line,Fe.ch-1),Te(Fe.line,Fe.ch+1),"+delete")}}function le(Ye){var He=be(Ye),Ve=He&&Be(He,"explode");if(!Ve||Ye.getOption("disableInput"))return re.Pass;for(var ut=Ye.listSelections(),at=0;at<ut.length;at++){if(!ut[at].empty())return re.Pass;var rt=Ke(Ye,ut[at].head);if(!rt||Ve.indexOf(rt)%2!=0)return re.Pass}Ye.operation(function(){var Fe=Ye.lineSeparator()||`
`;Ye.replaceSelection(Fe+Fe,null),Ye.execCommand("goCharLeft"),ut=Ye.listSelections();for(var Ee=0;Ee<ut.length;Ee++){var Ge=ut[Ee].head.line;Ye.indentLine(Ge,null,!0),Ye.indentLine(Ge+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 Ve=be(Ye);if(!Ve||Ye.getOption("disableInput"))return re.Pass;var ut=Be(Ve,"pairs"),at=ut.indexOf(He);if(at==-1)return re.Pass;for(var rt=Be(Ve,"closeBefore"),Fe=Be(Ve,"triples"),Ee=ut.charAt(at+1)==He,Ge=Ye.listSelections(),Ue=at%2==0,dt,ge=0;ge<Ge.length;ge++){var ke=Ge[ge],ze=ke.head,Ze,_e=Ye.getRange(ze,Te(ze.line,ze.ch+1));if(Ue&&!ke.empty())Ze="surround";else if((Ee||!Ue)&&_e==He)Ee&&Ie(Ye,ze)?Ze="both":Fe.indexOf(He)>=0&&Ye.getRange(ze,Te(ze.line,ze.ch+3))==He+He+He?Ze="skipThree":Ze="skip";else if(Ee&&ze.ch>1&&Fe.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(Ee){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(Ue&&(_e.length===0||/\s/.test(_e)||rt.indexOf(_e)>-1))Ze="both";else return re.Pass;if(!dt)dt=Ze;else if(dt!=Ze)return re.Pass}var Je=at%2?ut.charAt(at-1):He,Nt=at%2?He:ut.charAt(at+1);Ye.operation(function(){if(dt=="skip")Ye.execCommand("goCharRight");else if(dt=="skipThree")for(var ht=0;ht<3;ht++)Ye.execCommand("goCharRight");else if(dt=="surround"){for(var gt=Ye.getSelections(),ht=0;ht<gt.length;ht++)gt[ht]=Je+gt[ht]+Nt;Ye.replaceSelections(gt,"around"),gt=Ye.listSelections().slice();for(var ht=0;ht<gt.length;ht++)gt[ht]=nt(gt[ht]);Ye.setSelections(gt)}else dt=="both"?(Ye.replaceSelection(Je+Nt,null),Ye.triggerElectric(Je+Nt),Ye.execCommand("goCharLeft")):dt=="addFour"&&(Ye.replaceSelection(Je+Je+Je+Je,"before"),Ye.execCommand("goCharRight"))})}function Ke(Ye,He){var Ve=Ye.getRange(Te(He.line,He.ch-1),Te(He.line,He.ch+1));return Ve.length==2?Ve:null}function Ie(Ye,He){var Ve=Ye.getTokenAt(Te(He.line,He.ch+1));return/\bstring/.test(Ve.type)&&Ve.start==He.ch&&(He.ch==0||!/\bstring/.test(Ye.getTokenTypeAt(He)))}})},6313:function(wn,un,se){(function(re){re(se(89780),se(52730))})(function(re){re.defineOption("autoCloseTags",!1,function(Pe,le,nt){if(nt!=re.Init&&nt&&Pe.removeKeyMap("autoCloseTags"),!!le){var ye={name:"autoCloseTags"};(typeof le!="object"||le.whenClosing!==!1)&&(ye["'/'"]=function(Ke){return fe(Ke)}),(typeof le!="object"||le.whenOpening!==!1)&&(ye["'>'"]=function(Ke){return Be(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 Be(Pe){if(Pe.getOption("disableInput"))return re.Pass;for(var le=Pe.listSelections(),nt=[],ye=Pe.getOption("autoCloseTags"),Ke=0;Ke<le.length;Ke++){if(!le[Ke].empty())return re.Pass;var Ie=le[Ke].head,Ye=Pe.getTokenAt(Ie),He=re.innerMode(Pe.getMode(),Ye.state),Ve=He.state,ut=He.mode.xmlCurrentTag&&He.mode.xmlCurrentTag(Ve),at=ut&&ut.name;if(!at)return re.Pass;var rt=He.mode.configuration=="html",Fe=typeof ye=="object"&&ye.dontCloseTags||rt&&Ne,Ee=typeof ye=="object"&&ye.indentTags||rt&&Te;Ye.end>Ie.ch&&(at=at.slice(0,at.length-Ye.end+Ie.ch));var Ge=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"&&ut.close||Ye.string.indexOf("/")==Ie.ch-Ye.start-1||Fe&&Oe(Fe,Ge)>-1||be(Pe,He.mode.xmlCurrentContext&&He.mode.xmlCurrentContext(Ve)||[],at,Ie,!0))return re.Pass;var Ue=typeof ye=="object"&&ye.emptyTags;if(Ue&&Oe(Ue,at)>-1){nt[Ke]={text:"/>",newPos:re.Pos(Ie.line,Ie.ch+2)};continue}var dt=Ee&&Oe(Ee,Ge)>-1;nt[Ke]={indent:dt,text:">"+(dt?`
`:"")+"</"+at+">",newPos:dt?re.Pos(Ie.line+1,0):re.Pos(Ie.line,Ie.ch+1)}}for(var ge=typeof ye=="object"&&ye.dontIndentOnAutoClose,Ke=le.length-1;Ke>=0;Ke--){var ke=nt[Ke];Pe.replaceRange(ke.text,le[Ke].head,le[Ke].anchor,"+insert");var ze=Pe.listSelections().slice(0);ze[Ke]={head:ke.newPos,anchor:ke.newPos},Pe.setSelections(ze),!ge&&ke.indent&&(Pe.indentLine(ke.newPos.line,null,!0),Pe.indentLine(ke.newPos.line+1,null,!0))}}function Se(Pe,le){for(var nt=Pe.listSelections(),ye=[],Ke=le?"/":"</",Ie=Pe.getOption("autoCloseTags"),Ye=typeof Ie=="object"&&Ie.dontIndentOnSlash,He=0;He<nt.length;He++){if(!nt[He].empty())return re.Pass;var Ve=nt[He].head,ut=Pe.getTokenAt(Ve),at=re.innerMode(Pe.getMode(),ut.state),rt=at.state;if(le&&(ut.type=="string"||ut.string.charAt(0)!="<"||ut.start!=Ve.ch-1))return re.Pass;var Fe,Ee=at.mode.name!="xml"&&Pe.getMode().name=="htmlmixed";if(Ee&&at.mode.name=="javascript")Fe=Ke+"script";else if(Ee&&at.mode.name=="css")Fe=Ke+"style";else{var Ge=at.mode.xmlCurrentContext&&at.mode.xmlCurrentContext(rt);if(!Ge||Ge.length&&be(Pe,Ge,Ge[Ge.length-1],Ve))return re.Pass;Fe=Ke+Ge[Ge.length-1]}Pe.getLine(Ve.line).charAt(ut.end)!=">"&&(Fe+=">"),ye[He]=Fe}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:Se(Pe,!0)}re.commands.closeTag=function(Pe){return Se(Pe)};function Oe(Pe,le){if(Pe.indexOf)return Pe.indexOf(le);for(var nt=0,ye=Pe.length;nt<ye;++nt)if(Pe[nt]==le)return nt;return-1}function be(Pe,le,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,Ve=le.length-1;Ve>=0&&le[Ve]==nt;Ve--)++He;ye=Ye.to;for(var Ve=1;Ve<He;Ve++){var ut=re.scanForClosingTag(Pe,ye,null,Ie);if(!ut||ut.tag!=nt)return!1;ye=ut.to}return!0}})},52730:function(wn,un,se){(function(re){re(se(89780))})(function(re){"use strict";var Ne=re.Pos;function Te(Ve,ut){return Ve.line-ut.line||Ve.ch-ut.ch}var Be="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",Se=Be+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",fe=new RegExp("<(/?)(["+Be+"]["+Se+"]*)","g");function Oe(Ve,ut,at,rt){this.line=ut,this.ch=at,this.cm=Ve,this.text=Ve.getLine(ut),this.min=rt?Math.max(rt.from,Ve.firstLine()):Ve.firstLine(),this.max=rt?Math.min(rt.to-1,Ve.lastLine()):Ve.lastLine()}function be(Ve,ut){var at=Ve.cm.getTokenTypeAt(Ne(Ve.line,ut));return at&&/\btag\b/.test(at)}function Pe(Ve){if(!(Ve.line>=Ve.max))return Ve.ch=0,Ve.text=Ve.cm.getLine(++Ve.line),!0}function le(Ve){if(!(Ve.line<=Ve.min))return Ve.text=Ve.cm.getLine(--Ve.line),Ve.ch=Ve.text.length,!0}function nt(Ve){for(;;){var ut=Ve.text.indexOf(">",Ve.ch);if(ut==-1){if(Pe(Ve))continue;return}if(!be(Ve,ut+1)){Ve.ch=ut+1;continue}var at=Ve.text.lastIndexOf("/",ut),rt=at>-1&&!/\S/.test(Ve.text.slice(at+1,ut));return Ve.ch=ut+1,rt?"selfClose":"regular"}}function ye(Ve){for(;;){var ut=Ve.ch?Ve.text.lastIndexOf("<",Ve.ch-1):-1;if(ut==-1){if(le(Ve))continue;return}if(!be(Ve,ut+1)){Ve.ch=ut;continue}fe.lastIndex=ut,Ve.ch=ut;var at=fe.exec(Ve.text);if(at&&at.index==ut)return at}}function Ke(Ve){for(;;){fe.lastIndex=Ve.ch;var ut=fe.exec(Ve.text);if(!ut){if(Pe(Ve))continue;return}if(!be(Ve,ut.index+1)){Ve.ch=ut.index+1;continue}return Ve.ch=ut.index+ut[0].length,ut}}function Ie(Ve){for(;;){var ut=Ve.ch?Ve.text.lastIndexOf(">",Ve.ch-1):-1;if(ut==-1){if(le(Ve))continue;return}if(!be(Ve,ut+1)){Ve.ch=ut;continue}var at=Ve.text.lastIndexOf("/",ut),rt=at>-1&&!/\S/.test(Ve.text.slice(at+1,ut));return Ve.ch=ut+1,rt?"selfClose":"regular"}}function Ye(Ve,ut){for(var at=[];;){var rt=Ke(Ve),Fe,Ee=Ve.line,Ge=Ve.ch-(rt?rt[0].length:0);if(!rt||!(Fe=nt(Ve)))return;if(Fe!="selfClose")if(rt[1]){for(var Ue=at.length-1;Ue>=0;--Ue)if(at[Ue]==rt[2]){at.length=Ue;break}if(Ue<0&&(!ut||ut==rt[2]))return{tag:rt[2],from:Ne(Ee,Ge),to:Ne(Ve.line,Ve.ch)}}else at.push(rt[2])}}function He(Ve,ut){for(var at=[];;){var rt=Ie(Ve);if(!rt)return;if(rt=="selfClose"){ye(Ve);continue}var Fe=Ve.line,Ee=Ve.ch,Ge=ye(Ve);if(!Ge)return;if(Ge[1])at.push(Ge[2]);else{for(var Ue=at.length-1;Ue>=0;--Ue)if(at[Ue]==Ge[2]){at.length=Ue;break}if(Ue<0&&(!ut||ut==Ge[2]))return{tag:Ge[2],from:Ne(Ve.line,Ve.ch),to:Ne(Fe,Ee)}}}}re.registerHelper("fold","xml",function(Ve,ut){for(var at=new Oe(Ve,ut.line,0);;){var rt=Ke(at);if(!rt||at.line!=ut.line)return;var Fe=nt(at);if(!Fe)return;if(!rt[1]&&Fe!="selfClose"){var Ee=Ne(at.line,at.ch),Ge=Ye(at,rt[2]);return Ge&&Te(Ge.from,Ee)>0?{from:Ee,to:Ge.from}:null}}}),re.findMatchingTag=function(Ve,ut,at){var rt=new Oe(Ve,ut.line,ut.ch,at);if(!(rt.text.indexOf(">")==-1&&rt.text.indexOf("<")==-1)){var Fe=nt(rt),Ee=Fe&&Ne(rt.line,rt.ch),Ge=Fe&&ye(rt);if(!(!Fe||!Ge||Te(rt,ut)>0)){var Ue={from:Ne(rt.line,rt.ch),to:Ee,tag:Ge[2]};return Fe=="selfClose"?{open:Ue,close:null,at:"open"}:Ge[1]?{open:He(rt,Ge[2]),close:Ue,at:"close"}:(rt=new Oe(Ve,Ee.line,Ee.ch,at),{open:Ue,close:Ye(rt,Ge[2]),at:"open"})}}},re.findEnclosingTag=function(Ve,ut,at,rt){for(var Fe=new Oe(Ve,ut.line,ut.ch,at);;){var Ee=He(Fe,rt);if(!Ee)break;var Ge=new Oe(Ve,ut.line,ut.ch,at),Ue=Ye(Ge,Ee.tag);if(Ue)return{open:Ee,close:Ue}}},re.scanForClosingTag=function(Ve,ut,at,rt){var Fe=new Oe(Ve,ut.line,ut.ch,rt?{from:0,to:rt}:null);return Ye(Fe,at)}})},89780:function(wn){(function(un,se){wn.exports=se()})(this,function(){"use strict";var un=navigator.userAgent,se=navigator.platform,re=/gecko\/\d/i.test(un),Ne=/MSIE \d/.test(un),Te=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(un),Be=/Edge\/(\d+)/.exec(un),Se=Ne||Te||Be,fe=Se&&(Ne?document.documentMode||6:+(Be||Te)[1]),Oe=!Be&&/WebKit\//.test(un),be=Oe&&/Qt\/\d+\.\d+/.test(un),Pe=!Be&&/Chrome\//.test(un),le=/Opera\//.test(un),nt=/Apple Computer/.test(navigator.vendor),ye=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(un),Ke=/PhantomJS/.test(un),Ie=!Be&&/AppleWebKit/.test(un)&&/Mobile\/\w+/.test(un),Ye=/Android/.test(un),He=Ie||Ye||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(un),Ve=Ie||/Mac/.test(se),ut=/\bCrOS\b/.test(un),at=/win/i.test(se),rt=le&&un.match(/Version\/(\d*\.\d*)/);rt&&(rt=Number(rt[1])),rt&&rt>=15&&(le=!1,Oe=!0);var Fe=Ve&&(be||le&&(rt==null||rt<12.11)),Ee=re||Se&&fe>=9;function Ge(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ue=function(a,y){var b=a.className,x=Ge(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 dt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function ge(a,y){return dt(a).appendChild(y)}function ke(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=ke(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;Ge(y).test(b)||(a.className+=(b?" ":"")+y)}function Nt(a,y){for(var b=a.split(" "),x=0;x<b.length;x++)b[x]&&!Ge(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}:Se&&(ht=function(a){try{a.select()}catch(y){}});function gt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function At(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 we(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=gt(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 Lt=50,Tt={toString:function(){return"CodeMirror.Pass"}},Xe={scroll:!1},bt={origin:"*mouse"},$e={origin:"+move"};function Ot(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 Ft(a,y){for(var b=[],x=0;x<a.length;x++)b[x]=y(a[x],x);return b}function wt(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&&At(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 De(a,y,b){for(;(b<0?y>0:y<a.length)&&me(a.charAt(y));)y+=b;return y}function St(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 je(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 et=null;function lt(a,y,b){var x;et=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:et=E),ae.from==y&&(ae.from!=ae.to&&b!="before"?x=E:et=E)}return x!=null?x:et}var mt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function b(Ae){return Ae<=247?a.charAt(Ae):1424<=Ae&&Ae<=1524?"R":1536<=Ae&&Ae<=1785?y.charAt(Ae-1536):1774<=Ae&&Ae<=2220?"r":8192<=Ae&&Ae<=8203?"w":Ae==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,ae=/[LRr]/,de=/[Lb1n]/,ve=/[1n]/;function pe(Ae,st,pt){this.level=Ae,this.from=st,this.to=pt}return function(Ae,st){var pt=st=="ltr"?"L":"R";if(Ae.length==0||st=="ltr"&&!x.test(Ae))return!1;for(var $t=Ae.length,Vt=[],Pn=0;Pn<$t;++Pn)Vt.push(b(Ae.charCodeAt(Pn)));for(var Yn=0,cr=pt;Yn<$t;++Yn){var Fr=Vt[Yn];Fr=="m"?Vt[Yn]=cr:cr=Fr}for(var Zr=0,Br=pt;Zr<$t;++Zr){var Gr=Vt[Zr];Gr=="1"&&Br=="r"?Vt[Zr]="n":ae.test(Gr)&&(Br=Gr,Gr=="r"&&(Vt[Zr]="R"))}for(var si=1,$r=Vt[0];si<$t-1;++si){var Ri=Vt[si];Ri=="+"&&$r=="1"&&Vt[si+1]=="1"?Vt[si]="1":Ri==","&&$r==Vt[si+1]&&($r=="1"||$r=="n")&&(Vt[si]=$r),$r=Ri}for(var na=0;na<$t;++na){var Aa=Vt[na];if(Aa==",")Vt[na]="N";else if(Aa=="%"){var fa=void 0;for(fa=na+1;fa<$t&&Vt[fa]=="%";++fa);for(var Ka=na&&Vt[na-1]=="!"||fa<$t&&Vt[fa]=="1"?"1":"N",Oa=na;Oa<fa;++Oa)Vt[Oa]=Ka;na=fa-1}}for(var ga=0,Za=pt;ga<$t;++ga){var Da=Vt[ga];Za=="L"&&Da=="1"?Vt[ga]="L":ae.test(Da)&&(Za=Da)}for(var ba=0;ba<$t;++ba)if(E.test(Vt[ba])){var ya=void 0;for(ya=ba+1;ya<$t&&E.test(Vt[ya]);++ya);for(var pa=(ba?Vt[ba-1]:pt)=="L",Wa=(ya<$t?Vt[ya]:pt)=="L",Ko=pa==Wa?pa?"L":"R":pt,Bo=ba;Bo<ya;++Bo)Vt[Bo]=Ko;ba=ya-1}for(var Pa=[],ho,Sa=0;Sa<$t;)if(de.test(Vt[Sa])){var Ul=Sa;for(++Sa;Sa<$t&&de.test(Vt[Sa]);++Sa);Pa.push(new pe(0,Ul,Sa))}else{var xo=Sa,Po=Pa.length,Lo=st=="rtl"?1:0;for(++Sa;Sa<$t&&Vt[Sa]!="L";++Sa);for(var Ta=xo;Ta<Sa;)if(ve.test(Vt[Ta])){xo<Ta&&(Pa.splice(Po,0,new pe(1,xo,Ta)),Po+=Lo);var Vo=Ta;for(++Ta;Ta<Sa&&ve.test(Vt[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 st=="ltr"&&(Pa[0].level==1&&(ho=Ae.match(/^\s+/))&&(Pa[0].from=ho[0].length,Pa.unshift(new pe(0,0,ho[0].length))),Qe(Pa).level==1&&(ho=Ae.match(/\s+$/))&&(Qe(Pa).to-=ho[0].length,Pa.push(new pe(0,$t-ho[0].length,$t)))),st=="rtl"?Pa.reverse():Pa}}();function Rt(a,y){var b=a.order;return b==null&&(b=a.order=mt(a.text,y)),b}var qt=[],Wt=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]||qt).concat(b)}};function nn(a,y){return a._handlers&&a._handlers[y]||qt}function Ut(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 Dt(a,y){var b=nn(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 ft(a,y,b){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Dt(a,b||y.type,a,y),yn(y)||y.codemirrorIgnore}function Zt(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 Yt(a,y){return nn(a,y).length>0}function mn(a){a.prototype.on=function(y,b){Wt(this,y,b)},a.prototype.off=function(y,b){Ut(this,y,b)}}function Mn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Gn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function yn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function qn(a){Mn(a),Gn(a)}function $n(a){return a.target||a.srcElement}function dr(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Ve&&a.ctrlKey&&y==1&&(y=3),y}var Mr=function(){if(Se&&fe<9)return!1;var a=ke("div");return"draggable"in a||"dragDrop"in a}(),ar;function Tr(a){if(ar==null){var y=ke("span","\u200B");ge(a,ke("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(ar=y.offsetWidth<=1&&y.offsetHeight>2&&!(Se&&fe<8))}var b=ar?ke("span","\u200B"):ke("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return b.setAttribute("cm-text",""),b}var Pr;function Hn(a){if(Pr!=null)return Pr;var y=ge(a,document.createTextNode("A\u062EA")),b=Ze(y,0,1).getBoundingClientRect(),x=Ze(y,1,2).getBoundingClientRect();return dt(a),!b||b.left==b.right?!1:Pr=x.right-b.right<3}var Rr=`
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/)},Wr=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},Bt=function(){var a=ke("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),jt=null;function dn(a){if(jt!=null)return jt;var y=ge(a,ke("span","x")),b=y.getBoundingClientRect(),x=Ze(y,0,1).getBoundingClientRect();return jt=Math.abs(b.left-x.left)>1}var cn={},Et={};function en(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),cn[a]=y}function kn(a,y){Et[a]=y}function On(a){if(typeof a=="string"&&Et.hasOwnProperty(a))a=Et[a];else if(a&&typeof a.name=="string"&&Et.hasOwnProperty(a.name)){var y=Et[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 On("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return On("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function zn(a,y){y=On(y);var b=cn[y.name];if(!b)return zn(a,"text/plain");var x=b(a,y);if(Qn.hasOwnProperty(y.name)){var E=Qn[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 Qn={};function fr(a,y){var b=Qn.hasOwnProperty(a)?Qn[a]:Qn[a]={};At(y,b)}function hr(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 pr(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 Ar(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=we(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?we(this.string,this.lineStart,this.tabSize):0)},Ln.prototype.indentation=function(){return we(this.string,null,this.tabSize)-(this.lineStart?we(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 Xn(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 Nr(a,y,b){var x=[];return a.iter(y,b,function(E){x.push(E.text)}),x}function Hr(a,y){var b=y-a.height;if(b)for(var x=a;x;x=x.parent)x.height+=b}function ct(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 Ct(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 Tn(a,y){return y>=a.first&&y<a.first+a.size}function En(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Pt(a,y,b){if(b===void 0&&(b=null),!(this instanceof Pt))return new Pt(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 Wn(a,y){return a.sticky==y.sticky&&Sn(a,y)==0}function Vn(a){return Pt(a.line,a.ch)}function er(a,y){return Sn(a,y)<0?y:a}function Un(a,y){return Sn(a,y)<0?a:y}function tr(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function kt(a,y){if(y.line<a.first)return Pt(a.first,0);var b=a.first+a.size-1;return y.line>b?Pt(b,_t(a,b).text.length):Vr(y,_t(a,y.line).text.length)}function Vr(a,y){var b=a.ch;return b==null||b>y?Pt(a.line,y):b<0?Pt(a.line,0):a}function ir(a,y){for(var b=[],x=0;x<y.length;x++)b[x]=kt(a,y[x]);return b}var Sr=function(a,y){this.state=a,this.lookAhead=y},Ir=function(a,y,b,x){this.state=y,this.doc=a,this.line=b,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Ir.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Ir.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}},Ir.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ir.fromSaved=function(a,y,b){return y instanceof Sr?new Ir(a,hr(a.mode,y.state),b,y.lookAhead):new Ir(a,hr(a.mode,y),b)},Ir.prototype.save=function(a){var y=a!==!1?hr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Sr(y,this.maxLookAhead):y};function Ur(a,y,b,x){var E=[a.state.modeGen],ae={};Oi(a,y.text,a.doc.mode,b,function(Ae,st){return E.push(Ae,st)},ae,x);for(var de=b.state,ve=function(Ae){b.baseTokens=E;var st=a.state.overlays[Ae],pt=1,$t=0;b.state=!0,Oi(a,y.text,st.mode,b,function(Vt,Pn){for(var Yn=pt;$t<Vt;){var cr=E[pt];cr>Vt&&E.splice(pt,1,Vt,E[pt+1],cr),pt+=2,$t=Math.min(Vt,cr)}if(Pn)if(st.opaque)E.splice(Yn,pt-Yn,Vt,"overlay "+Pn),pt=Yn+2;else for(;Yn<pt;Yn+=2){var Fr=E[Yn+1];E[Yn+1]=(Fr?Fr+" ":"")+"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 Jr(a,y,b){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=Ai(a,ct(y)),E=y.text.length>a.options.maxHighlightLength&&hr(a.doc.mode,x.state),ae=Ur(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 Ai(a,y,b){var x=a.doc,E=a.display;if(!x.mode.startState)return new Ir(x,!0,y);var ae=Ti(a,y,b),de=ae>x.first&&_t(x,ae-1).stateAfter,ve=de?Ir.fromSaved(x,de,ae):new Ir(x,Ar(x.mode),ae);return x.iter(ae,y,function(pe){ui(a,pe.text,ve);var Ae=ve.line;pe.stateAfter=Ae==y-1||Ae%5==0||Ae>=E.viewFrom&&Ae<E.viewTo?ve.save():null,ve.nextLine()}),b&&(x.modeFrontier=ve.line),ve}function ui(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==""&&ei(E,b.state);!ae.eol();)Si(E,ae,b.state),ae.start=ae.pos}function ei(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var b=pr(a,y);if(b.mode.blankLine)return b.mode.blankLine(b.state)}}function Si(a,y,b,x){for(var E=0;E<10;E++){x&&(x[0]=pr(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 ti=function(a,y,b){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=b};function Fi(a,y,b,x){var E=a.doc,ae=E.mode,de;y=kt(E,y);var ve=_t(E,y.line),pe=Ai(a,y.line,b),Ae=new Ln(ve.text,a.options.tabSize,pe),st;for(x&&(st=[]);(x||Ae.pos<y.ch)&&!Ae.eol();)Ae.start=Ae.pos,de=Si(ae,Ae,pe.state),x&&st.push(new ti(Ae,de,hr(E.mode,pe.state)));return x?st:new ti(Ae,de,pe.state)}function Ki(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 Oi(a,y,b,x,E,ae,de){var ve=b.flattenSpans;ve==null&&(ve=a.options.flattenSpans);var pe=0,Ae=null,st=new Ln(y,a.options.tabSize,x),pt,$t=a.options.addModeClass&&[null];for(y==""&&Ki(ei(b,x.state),ae);!st.eol();){if(st.pos>a.options.maxHighlightLength?(ve=!1,de&&ui(a,y,x,st.pos),st.pos=y.length,pt=null):pt=Ki(Si(b,st,x.state,$t),ae),$t){var Vt=$t[0].name;Vt&&(pt="m-"+(pt?Vt+" "+pt:Vt))}if(!ve||Ae!=pt){for(;pe<st.start;)pe=Math.min(st.start,pe+5e3),E(pe,Ae);Ae=pt}st.start=st.pos}for(;pe<st.pos;){var Pn=Math.min(st.pos,pe+5e3);E(Pn,Ae),pe=Pn}}function Ti(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),Ae=pe.stateAfter;if(Ae&&(!b||ve+(Ae instanceof Sr?Ae.lookAhead:0)<=ae.modeFrontier))return ve;var st=we(pe.text,null,a.options.tabSize);(E==null||x>st)&&(E=ve-1,x=st)}return E}function Wi(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 Sr)||x+E.lookAhead<y)){b=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,b)}}var Ni=!1,gi=!1;function Ui(){Ni=!0}function Pi(){gi=!0}function kr(a,y,b){this.marker=a,this.from=y,this.to=b}function jr(a,y){if(a)for(var b=0;b<a.length;++b){var x=a[b];if(x.marker==y)return x}}function ri(a,y){for(var b,x=0;x<a.length;++x)a[x]!=y&&(b||(b=[])).push(a[x]);return b}function bi(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function yi(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 kr(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 kr(de,pe?null:ae.from-y,ae.to==null?null:ae.to-y))}}return x}function Ji(a,y){if(y.full)return null;var b=Tn(a,y.from.line)&&_t(a,y.from.line).markedSpans,x=Tn(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=yi(b,E,de),pe=Ei(x,ae,de),Ae=y.text.length==1,st=Qe(y.text).length+(Ae?E:0);if(ve)for(var pt=0;pt<ve.length;++pt){var $t=ve[pt];if($t.to==null){var Vt=jr(pe,$t.marker);Vt?Ae&&($t.to=Vt.to==null?null:Vt.to+st):$t.to=E}}if(pe)for(var Pn=0;Pn<pe.length;++Pn){var Yn=pe[Pn];if(Yn.to!=null&&(Yn.to+=st),Yn.from==null){var cr=jr(ve,Yn.marker);cr||(Yn.from=st,Ae&&(ve||(ve=[])).push(Yn))}else Yn.from+=st,Ae&&(ve||(ve=[])).push(Yn)}ve&&(ve=tt(ve)),pe&&pe!=ve&&(pe=tt(pe));var Fr=[ve];if(!Ae){var Zr=y.text.length-2,Br;if(Zr>0&&ve)for(var Gr=0;Gr<ve.length;++Gr)ve[Gr].to==null&&(Br||(Br=[])).push(new kr(ve[Gr].marker,null,null));for(var si=0;si<Zr;++si)Fr.push(Br);Fr.push(pe)}return Fr}function tt(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 Kt(a,y,b){var x=null;if(a.iter(y.line,b.line+1,function(Vt){if(Vt.markedSpans)for(var Pn=0;Pn<Vt.markedSpans.length;++Pn){var Yn=Vt.markedSpans[Pn].marker;Yn.readOnly&&(!x||qe(x,Yn)==-1)&&(x||(x=[])).push(Yn)}}),!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 Ae=E[pe];if(!(Sn(Ae.to,ve.from)<0||Sn(Ae.from,ve.to)>0)){var st=[pe,1],pt=Sn(Ae.from,ve.from),$t=Sn(Ae.to,ve.to);(pt<0||!de.inclusiveLeft&&!pt)&&st.push({from:Ae.from,to:ve.from}),($t>0||!de.inclusiveRight&&!$t)&&st.push({from:ve.to,to:Ae.to}),E.splice.apply(E,st),pe+=st.length-3}}return E}function Mt(a){var y=a.markedSpans;if(y){for(var b=0;b<y.length;++b)y[b].marker.detachLine(a);a.markedSpans=null}}function Gt(a,y){if(y){for(var b=0;b<y.length;++b)y[b].marker.attachLine(a);a.markedSpans=y}}function tn(a){return a.inclusiveLeft?-1:0}function Cn(a){return a.inclusiveRight?1:0}function In(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)||tn(a)-tn(y);if(ae)return-ae;var de=Sn(x.to,E.to)||Cn(a)-Cn(y);return de||y.id-a.id}function Dn(a,y){var b=gi&&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||In(x,E.marker)<0)&&(x=E.marker);return x}function An(a){return Dn(a,!0)}function It(a){return Dn(a,!1)}function ln(a,y){var b=gi&&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||In(x,ae.marker)<0)&&(x=ae.marker)}return x}function fn(a,y,b,x,E){var ae=_t(a,y),de=gi&&ae.markedSpans;if(de)for(var ve=0;ve<de.length;++ve){var pe=de[ve];if(pe.marker.collapsed){var Ae=pe.marker.find(0),st=Sn(Ae.from,b)||tn(pe.marker)-tn(E),pt=Sn(Ae.to,x)||Cn(pe.marker)-Cn(E);if(!(st>=0&&pt<=0||st<=0&&pt>=0)&&(st<=0&&(pe.marker.inclusiveRight&&E.inclusiveLeft?Sn(Ae.to,b)>=0:Sn(Ae.to,b)>0)||st>=0&&(pe.marker.inclusiveRight&&E.inclusiveLeft?Sn(Ae.from,x)<=0:Sn(Ae.from,x)<0)))return!0}}}function sn(a){for(var y;y=An(a);)a=y.find(-1,!0).line;return a}function bn(a){for(var y;y=It(a);)a=y.find(1,!0).line;return a}function rn(a){for(var y,b;y=It(a);)a=y.find(1,!0).line,(b||(b=[])).push(a);return b}function oe(a,y){var b=_t(a,y),x=sn(b);return b==x?y:ct(x)}function xe(a,y){if(y>a.lastLine())return y;var b=_t(a,y),x;if(!Ce(a,b))return y;for(;x=It(b);)b=x.find(1,!0).line;return ct(b)+1}function Ce(a,y){var b=gi&&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&&Le(a,y,x))return!0}}}function Le(a,y,b){if(b.to==null){var x=b.marker.find(1,!0);return Le(a,x.line,jr(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)&&Le(a,y,E))return!0}function Me(a){a=sn(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=It(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 ot(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 vt=function(a,y,b){this.text=a,Gt(this,y),this.height=b?b(this):1};vt.prototype.lineNo=function(){return ct(this)},mn(vt);function Ht(a,y,b,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Mt(a),Gt(a,b);var E=x?x(a):1;E!=a.height&&Hr(a,E)}function Xt(a){a.parent=null,Mt(a)}var xt={},an={};function gn(a,y){if(!a||/^\s*$/.test(a))return null;var b=y.addModeClass?an:xt;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=Jt,Hn(a.display.measure)&&(de=Rt(ae,a.doc.direction))&&(x.addToken=Qt(x.addToken,de)),x.map=[];var ve=y!=a.display.externalMeasured&&ct(ae);xn(ae,x,Jr(a,ae,ve)),ae.styleClasses&&(ae.styleClasses.bgClass&&(x.bgClass=Nt(ae.styleClasses.bgClass,x.bgClass||"")),ae.styleClasses.textClass&&(x.textClass=Nt(ae.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Tr(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 Dt(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Nt(x.pre.className,x.textClass||"")),x}function on(a){var y=ke("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Jt(a,y,b,x,E,ae,de){if(y){var ve=a.splitSpaces?zt(y,a.trailingSpace):y,pe=a.cm.state.specialChars,Ae=!1,st;if(!pe.test(y))a.col+=y.length,st=document.createTextNode(ve),a.map.push(a.pos,a.pos+y.length,st),Se&&fe<9&&(Ae=!0),a.pos+=y.length;else{st=document.createDocumentFragment();for(var pt=0;;){pe.lastIndex=pt;var $t=pe.exec(y),Vt=$t?$t.index-pt:y.length-pt;if(Vt){var Pn=document.createTextNode(ve.slice(pt,pt+Vt));Se&&fe<9?st.appendChild(ke("span",[Pn])):st.appendChild(Pn),a.map.push(a.pos,a.pos+Vt,Pn),a.col+=Vt,a.pos+=Vt}if(!$t)break;pt+=Vt+1;var Yn=void 0;if($t[0]==" "){var cr=a.cm.options.tabSize,Fr=cr-a.col%cr;Yn=st.appendChild(ke("span",yt(Fr),"cm-tab")),Yn.setAttribute("role","presentation"),Yn.setAttribute("cm-text"," "),a.col+=Fr}else $t[0]=="\r"||$t[0]==`
`?(Yn=st.appendChild(ke("span",$t[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Yn.setAttribute("cm-text",$t[0]),a.col+=1):(Yn=a.cm.options.specialCharPlaceholder($t[0]),Yn.setAttribute("cm-text",$t[0]),Se&&fe<9?st.appendChild(ke("span",[Yn])):st.appendChild(Yn),a.col+=1);a.map.push(a.pos,a.pos+1,Yn),a.pos++}}if(a.trailingSpace=ve.charCodeAt(y.length-1)==32,b||x||E||Ae||ae||de){var Zr=b||"";x&&(Zr+=x),E&&(Zr+=E);var Br=ke("span",[st],Zr,ae);if(de)for(var Gr in de)de.hasOwnProperty(Gr)&&Gr!="style"&&Gr!="class"&&Br.setAttribute(Gr,de[Gr]);return a.content.appendChild(Br)}a.content.appendChild(st)}}function zt(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 Qt(a,y){return function(b,x,E,ae,de,ve,pe){E=E?E+" cm-force-border":"cm-force-border";for(var Ae=b.pos,st=Ae+x.length;;){for(var pt=void 0,$t=0;$t<y.length&&(pt=y[$t],!(pt.to>Ae&&pt.from<=Ae));$t++);if(pt.to>=st)return a(b,x,E,ae,de,ve,pe);a(b,x.slice(0,pt.to-Ae),E,ae,null,ve,pe),ae=null,x=x.slice(pt.to-Ae),Ae=pt.to}}}function vn(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 xn(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]),gn(b[de+1],y.cm.options));return}for(var ve=E.length,pe=0,Ae=1,st="",pt,$t,Vt=0,Pn,Yn,cr,Fr,Zr;;){if(Vt==pe){Pn=Yn=cr=$t="",Zr=null,Fr=null,Vt=1/0;for(var Br=[],Gr=void 0,si=0;si<x.length;++si){var $r=x[si],Ri=$r.marker;if(Ri.type=="bookmark"&&$r.from==pe&&Ri.widgetNode)Br.push(Ri);else if($r.from<=pe&&($r.to==null||$r.to>pe||Ri.collapsed&&$r.to==pe&&$r.from==pe)){if($r.to!=null&&$r.to!=pe&&Vt>$r.to&&(Vt=$r.to,Yn=""),Ri.className&&(Pn+=" "+Ri.className),Ri.css&&($t=($t?$t+";":"")+Ri.css),Ri.startStyle&&$r.from==pe&&(cr+=" "+Ri.startStyle),Ri.endStyle&&$r.to==Vt&&(Gr||(Gr=[])).push(Ri.endStyle,$r.to),Ri.title&&((Zr||(Zr={})).title=Ri.title),Ri.attributes)for(var na in Ri.attributes)(Zr||(Zr={}))[na]=Ri.attributes[na];Ri.collapsed&&(!Fr||In(Fr.marker,Ri)<0)&&(Fr=$r)}else $r.from>pe&&Vt>$r.from&&(Vt=$r.from)}if(Gr)for(var Aa=0;Aa<Gr.length;Aa+=2)Gr[Aa+1]==Vt&&(Yn+=" "+Gr[Aa]);if(!Fr||Fr.from==pe)for(var fa=0;fa<Br.length;++fa)vn(y,0,Br[fa]);if(Fr&&(Fr.from||0)==pe){if(vn(y,(Fr.to==null?ve+1:Fr.to)-pe,Fr.marker,Fr.from==null),Fr.to==null)return;Fr.to==pe&&(Fr=!1)}}if(pe>=ve)break;for(var Ka=Math.min(ve,Vt);;){if(st){var Oa=pe+st.length;if(!Fr){var ga=Oa>Ka?st.slice(0,Ka-pe):st;y.addToken(y,ga,pt?pt+Pn:Pn,cr,pe+ga.length==Vt?Yn:"",$t,Zr)}if(Oa>=Ka){st=st.slice(Ka-pe),pe=Ka;break}pe=Oa,cr=""}st=E.slice(ae,ae=b[Ae++]),pt=gn(b[Ae++],y.cm.options)}}}function pn(a,y,b){this.line=y,this.rest=rn(y),this.size=this.rest?ct(Qe(this.rest))-b+1:1,this.node=this.text=null,this.hidden=Ce(a,y)}function Bn(a,y,b){for(var x=[],E,ae=y;ae<b;ae=E){var de=new pn(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 mr(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 br(a,y){var b=a.ownsGroup;if(b)try{mr(b)}finally{Fn=null,y(b)}}var Dr=null;function sr(a,y){var b=nn(a,y);if(b.length){var x=Array.prototype.slice.call(arguments,2),E;Fn?E=Fn.delayedCallbacks:Dr?E=Dr:(E=Dr=[],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=Dr;Dr=null;for(var y=0;y<a.length;++y)a[y]()}function nr(a,y,b,x){for(var E=0;E<y.changes.length;E++){var ae=y.changes[E];ae=="text"?Cr(a,y):ae=="gutter"?_n(a,y,b,x):ae=="class"?Zn(a,y):ae=="widget"&&Jn(a,y,x)}y.changes=null}function xr(a){return a.node==a.text&&(a.node=ke("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Se&&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=xr(y);y.background=x.insertBefore(ke("div",null,b),x.firstChild),a.display.input.setUneditable(y.background)}}function gr(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 Cr(a,y){var b=y.text.className,x=gr(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,Zn(a,y)):b&&(y.text.className=b)}function Zn(a,y){or(a,y),y.line.wrapClass?xr(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 _n(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=xr(y);y.gutterBackground=ke("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=xr(y),ve=y.gutter=ke("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(ke("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 Ae=a.display.gutterSpecs[pe].className,st=ae.hasOwnProperty(Ae)&&ae[Ae];st&&ve.appendChild(ke("div",[st],"CodeMirror-gutter-elt","left: "+x.gutterLeft[Ae]+"px; width: "+x.gutterWidth[Ae]+"px"))}}}function Jn(a,y,b){y.alignable&&(y.alignable=null);for(var x=Ge("CodeMirror-linewidget"),E=y.node.firstChild,ae=void 0;E;E=ae)ae=E.nextSibling,x.test(E.className)&&y.node.removeChild(E);Nn(a,y,b)}function Rn(a,y,b,x){var E=gr(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),Zn(a,y),_n(a,y,b,x),Nn(a,y,x),y.node}function Nn(a,y,b){if(rr(a,y.line,y,b,!0),y.rest)for(var x=0;x<y.rest.length;x++)rr(a,y.rest[x],y,b,!1)}function rr(a,y,b,x,E){if(y.widgets)for(var ae=xr(b),de=0,ve=y.widgets;de<ve.length;++de){var pe=ve[de],Ae=ke("div",[pe.node],"CodeMirror-linewidget"+(pe.className?" "+pe.className:""));pe.handleMouseEvents||Ae.setAttribute("cm-ignore-events","true"),wr(pe,Ae,b,x),a.display.input.setUneditable(Ae),E&&pe.above?ae.insertBefore(Ae,b.gutter||b.text):ae.appendChild(Ae),sr(pe,"redraw")}}function wr(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 Or(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,ke("div",[a.node],null,b))}return a.height=a.node.parentNode.offsetHeight}function Kr(a,y){for(var b=$n(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 ur(a){return a.lineSpace.offsetTop}function Xr(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Yr(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=ge(a.measure,ke("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 zr(a){return Lt-a.display.nativeBarWidth}function ii(a){return a.display.scroller.clientWidth-zr(a)-a.display.barWidth}function ni(a){return a.display.scroller.clientHeight-zr(a)-a.display.barHeight}function fi(a,y,b){var x=a.options.lineWrapping,E=x&&ii(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],Ae=de[ve+1];Math.abs(pe.bottom-Ae.bottom)>2&&ae.push((pe.bottom+Ae.top)/2-b.top)}}ae.push(b.bottom-b.top)}}function Qr(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(ct(a.rest[E])>b)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function Zi(a,y){y=sn(y);var b=ct(y),x=a.display.externalMeasured=new pn(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 oi(a,y,b,x){return ki(a,ci(a,y),b,x)}function Hi(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 ci(a,y){var b=ct(y),x=Hi(a,b);x&&!x.text?x=null:x&&x.changes&&(nr(a,x,b,ta(a)),a.curOp.forceUpdate=!0),x||(x=Zi(a,y));var E=Qr(x,y,b);return{line:y,view:x,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function ki(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||(fi(a,y.view,y.rect),y.hasHeights=!0),de=Gi(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 zi={left:0,right:0,top:0,bottom:0};function Bi(a,y,b){for(var x,E,ae,de,ve,pe,Ae=0;Ae<a.length;Ae+=3)if(ve=a[Ae],pe=a[Ae+1],y<ve?(E=0,ae=1,de="left"):y<pe?(E=y-ve,ae=E+1):(Ae==a.length-3||y==pe&&a[Ae+3]>y)&&(ae=pe-ve,E=ae-1,y>=pe&&(de="right")),E!=null){if(x=a[Ae+2],ve==pe&&b==(x.insertLeft?"left":"right")&&(de=b),b=="left"&&E==0)for(;Ae&&a[Ae-2]==a[Ae-3]&&a[Ae-1].insertLeft;)x=a[(Ae-=3)+2],de="left";if(b=="right"&&E==pe-ve)for(;Ae<a.length-3&&a[Ae+3]==a[Ae+4]&&!a[Ae+5].insertLeft;)x=a[(Ae+=3)+2],de="right";break}return{node:x,start:E,end:ae,collapse:de,coverStart:ve,coverEnd:pe}}function Ci(a,y){var b=zi;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 Gi(a,y,b,x){var E=Bi(y.map,b,x),ae=E.node,de=E.start,ve=E.end,pe=E.collapse,Ae;if(ae.nodeType==3){for(var st=0;st<4;st++){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(Se&&fe<9&&de==0&&ve==E.coverEnd-E.coverStart?Ae=ae.parentNode.getBoundingClientRect():Ae=Ci(Ze(ae,de,ve).getClientRects(),x),Ae.left||Ae.right||de==0)break;ve=de,de=de-1,pe="right"}Se&&fe<11&&(Ae=Vi(a.display.measure,Ae))}else{de>0&&(pe=x="right");var pt;a.options.lineWrapping&&(pt=ae.getClientRects()).length>1?Ae=pt[x=="right"?pt.length-1:0]:Ae=ae.getBoundingClientRect()}if(Se&&fe<9&&!de&&(!Ae||!Ae.left&&!Ae.right)){var $t=ae.parentNode.getClientRects()[0];$t?Ae={left:$t.left,right:$t.left+la(a.display),top:$t.top,bottom:$t.bottom}:Ae=zi}for(var Vt=Ae.top-y.rect.top,Pn=Ae.bottom-y.rect.top,Yn=(Vt+Pn)/2,cr=y.view.measure.heights,Fr=0;Fr<cr.length-1&&!(Yn<cr[Fr]);Fr++);var Zr=Fr?cr[Fr-1]:0,Br=cr[Fr],Gr={left:(pe=="right"?Ae.right:Ae.left)-y.rect.left,right:(pe=="left"?Ae.left:Ae.right)-y.rect.left,top:Zr,bottom:Br};return!Ae.left&&!Ae.right&&(Gr.bogus=!0),a.options.singleCursorHeightPerLine||(Gr.rtop=Vt,Gr.rbottom=Pn),Gr}function Vi(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!dn(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 wi(a){a.display.externalMeasure=null,dt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)_i(a.display.view[y])}function ra(a){wi(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Ii(){return Pe&&Ye?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Di(){return Pe&&Ye?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Li(a){var y=0;if(a.widgets)for(var b=0;b<a.widgets.length;++b)a.widgets[b].above&&(y+=Or(a.widgets[b]));return y}function qi(a,y,b,x,E){if(!E){var ae=Li(y);b.top+=ae,b.bottom+=ae}if(x=="line")return b;x||(x="local");var de=Me(y);if(x=="local"?de+=ur(a.display):de-=a.display.viewOffset,x=="page"||x=="window"){var ve=a.display.lineSpace.getBoundingClientRect();de+=ve.top+(x=="window"?0:Di());var pe=ve.left+(x=="window"?0:Ii());b.left+=pe,b.right+=pe}return b.top+=de,b.bottom+=de,b}function ai(a,y,b){if(b=="div")return y;var x=y.left,E=y.top;if(b=="page")x-=Ii(),E-=Di();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,oi(a,x,y.ch,E),b)}function Lr(a,y,b,x,E,ae){x=x||_t(a.doc,y.line),E||(E=ci(a,x));function de(Pn,Yn){var cr=ki(a,E,Pn,Yn?"right":"left",ae);return Yn?cr.left=cr.right:cr.right=cr.left,qi(a,x,cr,b)}var ve=Rt(x,a.doc.direction),pe=y.ch,Ae=y.sticky;if(pe>=x.text.length?(pe=x.text.length,Ae="before"):pe<=0&&(pe=0,Ae="after"),!ve)return de(Ae=="before"?pe-1:pe,Ae=="before");function st(Pn,Yn,cr){var Fr=ve[Yn],Zr=Fr.level==1;return de(cr?Pn-1:Pn,Zr!=cr)}var pt=lt(ve,pe,Ae),$t=et,Vt=st(pe,pt,Ae=="before");return $t!=null&&(Vt.other=st(pe,$t,Ae!="before")),Vt}function jn(a,y){var b=0;y=kt(a.doc,y),a.options.lineWrapping||(b=la(a.display)*y.ch);var x=_t(a.doc,y.line),E=Me(x)+ur(a.display);return{left:b,right:b,top:E,bottom:E+x.height}}function Er(a,y,b,x,E){var ae=Pt(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 Er(x.first,0,null,-1,-1);var E=Ct(x,b),ae=x.first+x.size-1;if(E>ae)return Er(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=ji(a,de,E,y,b),pe=ln(de,ve.ch+(ve.xRel>0||ve.outside>0?1:0));if(!pe)return ve;var Ae=pe.find(1);if(Ae.line==E)return Ae;de=_t(x,E=Ae.line)}}function yr(a,y,b,x){x-=Li(y);var E=y.text.length,ae=St(function(de){return ki(a,b,de-1).bottom<=x},E,0);return E=St(function(de){return ki(a,b,de).top>x},ae,E),{begin:ae,end:E}}function hi(a,y,b,x){b||(b=ci(a,y));var E=qi(a,y,ki(a,b,x),"line").top;return yr(a,y,b,E)}function xi(a,y,b,x){return a.bottom<=b?!1:a.top>b?!0:(x?a.left:a.right)>y}function ji(a,y,b,x,E){E-=Me(y);var ae=ci(a,y),de=Li(y),ve=0,pe=y.text.length,Ae=!0,st=Rt(y,a.doc.direction);if(st){var pt=(a.options.lineWrapping?aa:ia)(a,y,b,ae,st,x,E);Ae=pt.level!=1,ve=Ae?pt.from:pt.to-1,pe=Ae?pt.to:pt.from-1}var $t=null,Vt=null,Pn=St(function(si){var $r=ki(a,ae,si);return $r.top+=de,$r.bottom+=de,xi($r,x,E,!1)?($r.top<=E&&$r.left<=x&&($t=si,Vt=$r),!0):!1},ve,pe),Yn,cr,Fr=!1;if(Vt){var Zr=x-Vt.left<Vt.right-x,Br=Zr==Ae;Pn=$t+(Br?0:1),cr=Br?"after":"before",Yn=Zr?Vt.left:Vt.right}else{!Ae&&(Pn==pe||Pn==ve)&&Pn++,cr=Pn==0?"after":Pn==y.text.length?"before":ki(a,ae,Pn-(Ae?1:0)).bottom+de<=E==Ae?"after":"before";var Gr=Lr(a,Pt(b,Pn,cr),"line",y,ae);Yn=Gr.left,Fr=E<Gr.top?-1:E>=Gr.bottom?1:0}return Pn=De(y.text,Pn,1),Er(b,Pn,cr,Fr,x-Yn)}function ia(a,y,b,x,E,ae,de){var ve=St(function(pt){var $t=E[pt],Vt=$t.level!=1;return xi(Lr(a,Pt(b,Vt?$t.to:$t.from,Vt?"before":"after"),"line",y,x),ae,de,!0)},0,E.length-1),pe=E[ve];if(ve>0){var Ae=pe.level!=1,st=Lr(a,Pt(b,Ae?pe.from:pe.to,Ae?"after":"before"),"line",y,x);xi(st,ae,de,!0)&&st.top>de&&(pe=E[ve-1])}return pe}function aa(a,y,b,x,E,ae,de){var ve=yr(a,y,x,de),pe=ve.begin,Ae=ve.end;/\s/.test(y.text.charAt(Ae-1))&&Ae--;for(var st=null,pt=null,$t=0;$t<E.length;$t++){var Vt=E[$t];if(!(Vt.from>=Ae||Vt.to<=pe)){var Pn=Vt.level!=1,Yn=ki(a,x,Pn?Math.min(Ae,Vt.to)-1:Math.max(pe,Vt.from)).right,cr=Yn<ae?ae-Yn+1e9:Yn-ae;(!st||pt>cr)&&(st=Vt,pt=cr)}}return st||(st=E[E.length-1]),st.from<pe&&(st={from:pe,to:st.to,level:st.level}),st.to>Ae&&(st={from:st.from,to:Ae,level:st.level}),st}var Yi;function Xi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Yi==null){Yi=ke("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Yi.appendChild(document.createTextNode("x")),Yi.appendChild(ke("br"));Yi.appendChild(document.createTextNode("x"))}ge(a.measure,Yi);var b=Yi.offsetHeight/50;return b>3&&(a.cachedTextHeight=b),dt(a.measure),b||1}function la(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=ke("span","xxxxxxxxxx"),b=ke("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=Xi(a.display),b=a.options.lineWrapping,x=b&&Math.max(5,a.display.scroller.clientWidth/la(a.display)-3);return function(E){if(Ce(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&&Hr(x,E)})}function Fa(a,y,b,x){var E=a.display;if(!b&&$n(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),Ae;if(x&&pe.xRel>0&&(Ae=_t(a.doc,pe.line).text).length==pe.ch){var st=we(Ae,Ae.length,a.options.tabSize)-Ae.length;pe=Pt(pe.line,Math.max(0,Math.round((ae-Yr(a.display).left)/la(a.display))-st))}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)gi&&oe(a.doc,y)<E.viewTo&&xa(a);else if(b<=E.viewFrom)gi&&xe(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(Bn(a,ve.lineN,pe.lineN)).concat(E.view.slice(pe.index)),E.viewTo+=x):xa(a)}var Ae=E.externalMeasured;Ae&&(b<Ae.lineN?Ae.lineN+=x:y<Ae.lineN+Ae.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(!gi||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(;oe(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=Bn(a,y,b),x.viewFrom=y):(x.viewFrom>y?x.view=Bn(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(Bn(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=Lr(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=b.appendChild(ke("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(ke("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=Yr(a.display),ve=de.left,pe=Math.max(x.sizerWidth,ii(a)-x.sizer.offsetLeft)-de.right,Ae=E.direction=="ltr";function st(Br,Gr,si,$r){Gr<0&&(Gr=0),Gr=Math.round(Gr),$r=Math.round($r),ae.appendChild(ke("div",null,"CodeMirror-selected","position: absolute; left: "+Br+`px;
top: `+Gr+"px; width: "+(si==null?pe-Br:si)+`px;
height: `+($r-Gr)+"px"))}function pt(Br,Gr,si){var $r=_t(E,Br),Ri=$r.text.length,na,Aa;function fa(ga,Za){return $i(a,Pt(Br,ga),"div",$r,Za)}function Ka(ga,Za,Da){var ba=hi(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=Rt($r,E.direction);return je(Oa,Gr||0,si==null?Ri:si,function(ga,Za,Da,ba){var ya=Da=="ltr",pa=fa(ga,ya?"left":"right"),Wa=fa(Za-1,ya?"right":"left"),Ko=Gr==null&&ga==0,Bo=si==null&&Za==Ri,Pa=ba==0,ho=!Oa||ba==Oa.length-1;if(Wa.top-pa.top<=3){var Sa=(Ae?Ko:Bo)&&Pa,Ul=(Ae?Bo:Ko)&&ho,xo=Sa?ve:(ya?pa:Wa).left,Po=Ul?pe:(ya?Wa:pa).right;st(xo,pa.top,Po-xo,pa.bottom)}else{var Lo,Ta,Vo,jl;ya?(Lo=Ae&&Ko&&Pa?ve:pa.left,Ta=Ae?pe:Ka(ga,Da,"before"),Vo=Ae?ve:Ka(Za,Da,"after"),jl=Ae&&Bo&&ho?pe:Wa.right):(Lo=Ae?Ka(ga,Da,"before"):ve,Ta=!Ae&&Ko&&Pa?pe:pa.right,Vo=!Ae&&Bo&&ho?ve:Wa.left,jl=Ae?Ka(Za,Da,"after"):pe),st(Lo,pa.top,Ta-Lo,pa.bottom),pa.bottom<Wa.top&&st(ve,pa.bottom,null,Wa.top),st(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 $t=y.from(),Vt=y.to();if($t.line==Vt.line)pt($t.line,$t.ch,Vt.ch);else{var Pn=_t(E,$t.line),Yn=_t(E,Vt.line),cr=sn(Pn)==sn(Yn),Fr=pt($t.line,$t.ch,cr?Pn.text.length+1:null).end,Zr=pt(Vt.line,cr?0:null,Vt.ch).start;cr&&(Fr.top<Zr.top-2?(st(Fr.right,Fr.top,null,Fr.bottom),st(ve,Zr.top,Zr.left,Zr.bottom)):st(Fr.right,Fr.top,Zr.left-Fr.right,Fr.bottom)),Fr.bottom<Zr.top&&st(ve,Fr.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||(Dt(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&&(Dt(a,"blur",a,y),a.state.focused=!1,Ue(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(Se&&fe<8){var pe=E.node.offsetTop+E.node.offsetHeight;de=pe-b,b=pe}else{var Ae=E.node.getBoundingClientRect();de=Ae.bottom-Ae.top,!ae&&E.text.firstChild&&(ve=E.text.firstChild.getBoundingClientRect().right-Ae.left-1)}var st=E.line.height-de;if((st>.005||st<-.005)&&(Hr(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 $t=Math.ceil(ve/la(a.display));$t>a.display.maxLineLength&&(a.display.maxLineLength=$t,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-ur(a));var E=b&&b.bottom!=null?b.bottom:x+a.wrapper.clientHeight,ae=Ct(y,x),de=Ct(y,E);if(b&&b.ensure){var ve=b.ensure.from.line,pe=b.ensure.to.line;ve<ae?(ae=ve,de=Ct(y,Me(_t(y,ve))+a.wrapper.clientHeight)):Math.min(pe,y.lastLine())>=de&&(ae=Ct(y,Me(_t(y,pe))-a.wrapper.clientHeight),de=pe)}return{from:ae,to:Math.max(de,ae+1)}}function Ja(a,y){if(!ft(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=ke("div","\u200B",null,`position: absolute;
top: `+(y.top-b.viewOffset-ur(a.display))+`px;
height: `+(y.bottom-y.top+zr(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?Pt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,b=y.sticky=="before"?Pt(y.line,y.ch+1,"before"):y);for(var ae=0;ae<5;ae++){var de=!1,ve=Lr(a,y),pe=!b||b==y?ve:Lr(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 Ae=to(a,E),st=a.doc.scrollTop,pt=a.doc.scrollLeft;if(Ae.scrollTop!=null&&(Ua(a,Ae.scrollTop),Math.abs(a.doc.scrollTop-st)>1&&(de=!0)),Ae.scrollLeft!=null&&(ja(a,Ae.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=Xi(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:b.scroller.scrollTop,ae=ni(a),de={};y.bottom-y.top>ae&&(y.bottom=y.top+ae);var ve=a.doc.height+Xr(b),pe=y.top<x,Ae=y.bottom>ve-x;if(y.top<E)de.scrollTop=pe?0:y.top;else if(y.bottom>E+ae){var st=Math.min(y.top,(Ae?ve:y.bottom)-ae);st!=E&&(de.scrollTop=st)}var pt=a.options.fixedGutter?0:b.gutters.offsetWidth,$t=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:b.scroller.scrollLeft-pt,Vt=ii(a)-b.gutters.offsetWidth,Pn=y.right-y.left>Vt;return Pn&&(y.right=y.left+Vt),y.left<10?de.scrollLeft=0:y.left<$t?de.scrollLeft=Math.max(0,y.left+pt-(Pn?0:10)):y.right>Vt+$t-3&&(de.scrollLeft=y.right+(Pn?0:10)-Vt),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=jn(a,y.from),x=jn(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 vi(a){var y=a.display,b=y.gutters.offsetWidth,x=Math.round(a.doc.height+Xr(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+zr(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:b}}var pi=function(a,y,b){this.cm=b;var x=this.vert=ke("div",[ke("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=ke("div",[ke("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=E.tabIndex=-1,a(x),a(E),Wt(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),Wt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Se&&fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};pi.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}},pi.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},pi.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},pi.prototype.zeroWidthHack=function(){var a=Ve&&!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},pi.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)},pi.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=vi(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,vi(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:pi,null:oa};function za(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ue(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),Wt(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&&br(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&&ot(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=vi(y),b.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=oi(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+zr(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,b.sizer.offsetLeft+a.adjustWidthTo-ii(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,kt(x,a.scrollToPos.from),kt(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||Dt(ae[ve],"hide");if(de)for(var pe=0;pe<de.length;++pe)de[pe].lines.length&&Dt(de[pe],"unhide");b.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Dt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function mi(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 li(a){return function(){if(this.curOp)return a.apply(this,arguments);qr(this);try{return a.apply(this,arguments)}finally{sa(this)}}}function Mi(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,gt(El,a))}function El(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var b=+new Date+a.options.workTime,x=Ai(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?hr(y.mode,x.state):null,pe=Ur(a,ae,x,!0);ve&&(x.state=ve),ae.styles=pe.styles;var Ae=ae.styleClasses,st=pe.classes;st?ae.styleClasses=st:Ae&&(ae.styleClasses=null);for(var pt=!de||de.length!=ae.styles.length||Ae!=st&&(!Ae||!st||Ae.bgClass!=st.bgClass||Ae.textClass!=st.textClass),$t=0;!pt&&$t<de.length;++$t)pt=de[$t]!=ae.styles[$t];pt&&E.push(x.line),ae.stateAfter=x.save(),x.nextLine()}else ae.text.length<=a.options.maxHighlightLength&&ui(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&&mi(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=ii(a),this.force=b,this.dims=ta(a),this.events=[]};al.prototype.signal=function(a,y){Yt(a,y)&&this.events.push(arguments)},al.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Dt.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=zr(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=zr(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)),gi&&(ae=oe(a.doc,ae),de=xe(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=Me(_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 Ae=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(Ae),dt(b.cursorDiv),dt(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==ii(a)){if(b&&b.top!=null&&(b={top:Math.min(a.doc.height+Xr(a.display)-ni(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=vi(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=vi(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 Yn=Pn.nextSibling;return Oe&&Ve&&a.display.currentWheelTarget==Pn?Pn.style.display="none":Pn.parentNode.removeChild(Pn),Yn}for(var pe=x.view,Ae=x.viewFrom,st=0;st<pe.length;st++){var pt=pe[st];if(!pt.hidden)if(!pt.node||pt.node.parentNode!=ae){var $t=Rn(a,pt,Ae,b);ae.insertBefore($t,de)}else{for(;de!=pt.node;)de=ve(de);var Vt=E&&y!=null&&y<=Ae&&pt.lineNumber;pt.changes&&(qe(pt.changes,"gutter")>-1&&(Vt=!1),nr(a,pt,Ae,b)),Vt&&(dt(pt.lineNumber),pt.lineNumber.appendChild(document.createTextNode(En(a.options,Ae)))),de=pt.node.nextSibling}Ae+=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+zr(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(ke("div",[ke("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;dt(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(ke("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=ke("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=ke("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=ze("div",null,"CodeMirror-code"),E.selectionDiv=ke("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=ke("div",null,"CodeMirror-cursors"),E.measure=ke("div",null,"CodeMirror-measure"),E.lineMeasure=ke("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=ke("div",[ae],null,"position: relative"),E.sizer=ke("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=ke("div",null,null,"position: absolute; height: "+Lt+"px; width: 1px;"),E.gutters=ke("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=ke("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=ke("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),Se&&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;Se?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&&Ve&&Oe){e:for(var Ae=y.target,st=ae.view;Ae!=de;Ae=Ae.parentNode)for(var pt=0;pt<st.length;pt++)if(st[pt].node==Ae){a.display.currentWheelTarget=Ae;break e}}if(x&&!re&&!le&&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 $t=E*Ga,Vt=a.doc.scrollTop,Pn=Vt+ae.wrapper.clientHeight;$t<0?Vt=Math.max(0,Vt+$t-50):Pn=Math.min(a.doc.height,Pn+$t+50),Sl(a,{top:Vt,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 Yn=de.scrollLeft-ae.wheelStartX,cr=de.scrollTop-ae.wheelStartY,Fr=cr&&ae.wheelDY&&cr/ae.wheelDY||Yn&&ae.wheelDX&&Yn/ae.wheelDX;ae.wheelStartX=ae.wheelStartY=null,Fr&&(Ga=(Ga*ol+Fr)/(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(!Wn(b.anchor,x.anchor)||!Wn(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 Qi(Vn(this.ranges[y].anchor),Vn(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 Qi=function(a,y){this.anchor=a,this.head=y};Qi.prototype.from=function(){return Un(this.anchor,this.head)},Qi.prototype.to=function(){return er(this.anchor,this.head)},Qi.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($t,Vt){return Sn($t.from(),Vt.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 Ae=Un(ve.from(),de.from()),st=er(ve.to(),de.to()),pt=ve.empty()?de.from()==de.head:ve.from()==ve.head;ae<=b&&--b,y.splice(--ae,2,new Qi(pt?st:Ae,pt?Ae:st))}}return new Xa(y,b)}function Ao(a,y){return new Xa([new Qi(a,y||a)],0)}function So(a){return a.text?Pt(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),Pt(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 Qi($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?Pt(b.line,a.ch-y.ch+b.ch):Pt(b.line+(a.line-y.line),a.ch)}function au(a,y,b){for(var x=[],E=Pt(a.first,0),ae=E,de=0;de<y.length;de++){var ve=y[de],pe=es(ve.from,E,ae),Ae=es(So(ve),E,ae);if(E=ve.to,ae=Ae,b=="around"){var st=a.sel.ranges[de],pt=Sn(st.head,st.anchor)<0;x[de]=new Qi(pt?Ae:pe,pt?pe:Ae)}else x[de]=new Qi(pe,pe)}return new Xa(x,a.sel.primIndex)}function Pl(a){a.doc.mode=zn(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,Br,Gr){Ht(Zr,Br,Gr,x),sr(Zr,"change",Zr,y)}function de(Zr,Br){for(var Gr=[],si=Zr;si<Br;++si)Gr.push(new vt(Ae[si],E(si),x));return Gr}var ve=y.from,pe=y.to,Ae=y.text,st=_t(a,ve.line),pt=_t(a,pe.line),$t=Qe(Ae),Vt=E(Ae.length-1),Pn=pe.line-ve.line;if(y.full)a.insert(0,de(0,Ae.length)),a.remove(Ae.length,a.size-Ae.length);else if(ts(a,y)){var Yn=de(0,Ae.length-1);ae(pt,pt.text,Vt),Pn&&a.remove(ve.line,Pn),Yn.length&&a.insert(ve.line,Yn)}else if(st==pt)if(Ae.length==1)ae(st,st.text.slice(0,ve.ch)+$t+st.text.slice(pe.ch),Vt);else{var cr=de(1,Ae.length-1);cr.push(new vt($t+st.text.slice(pe.ch),Vt,x)),ae(st,st.text.slice(0,ve.ch)+Ae[0],E(0)),a.insert(ve.line+1,cr)}else if(Ae.length==1)ae(st,st.text.slice(0,ve.ch)+Ae[0]+pt.text.slice(pe.ch),E(0)),a.remove(ve.line+1,Pn);else{ae(st,st.text.slice(0,ve.ch)+Ae[0],E(0)),ae(pt,$t+pt.text.slice(pe.ch),Vt);var Fr=de(1,Ae.length-1);Pn>1&&a.remove(ve.line+1,Pn-1),a.insert(ve.line+1,Fr)}sr(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 Ae=de&&pe.sharedHist;b&&!Ae||(y(pe.doc,Ae),x(pe.doc,E,Ae))}}}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||ot(a),a.options.mode=y.modeOption,ua(a)}function rs(a){(a.doc.direction=="rtl"?Je:Ue)(a.display.lineDiv,"CodeMirror-rtl")}function ou(a){mi(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:Vn(y.from),to:So(y),text:Xn(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||Dt(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=Ji(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],Ae=0;Ae<ae.length;++Ae)if(ae[Ae].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 Ae=de[pe],st=void 0;if(ve.push({from:Ae.from,to:Ae.to,text:Ae.text}),y)for(var pt in Ae)(st=pt.match(/^spans_(\d+)$/))&&qe(y,Number(st[1]))>-1&&(Qe(ve)[pt]=Ae[pt],delete Ae[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 Qi(E,y)}else return new Qi(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 Qi(kt(a,E[ae].anchor),kt(a,E[ae].head))},origin:b&&b.origin};return Dt(a,"beforeSelectionChange",a,x),a.cm&&Dt(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){(Yt(a,"beforeSelectionChange")||a.cm&&Yt(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,Zt(a.cm)),sr(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),Ae=dl(a,de.head,ve&&ve.head,b,x);(E||pe!=de.anchor||Ae!=de.head)&&(E||(E=y.ranges.slice(0,ae)),E[ae]=new Qi(pe,Ae))}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,Ae="selectLeft"in pe?!pe.selectLeft:pe.inclusiveLeft,st="selectRight"in pe?!pe.selectRight:pe.inclusiveRight;if((ve.from==null||(Ae?ve.from<=y.ch:ve.from<y.ch))&&(ve.to==null||(st?ve.to>=y.ch:ve.to>y.ch))){if(E&&(Dt(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),$t=void 0;if((x<0?st:Ae)&&(pt=vs(a,pt,-x,pt&&pt.line==y.line?ae:null)),pt&&pt.line==y.line&&($t=Sn(pt,b))&&(x<0?$t<0:$t>0))return No(a,pt,y,x,E)}var Vt=pe.find(x<0?-1:1);return(x<0?Ae:st)&&(Vt=vs(a,Vt,x,Vt.line==y.line?ae:null)),Vt?No(a,Vt,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,Pt(a.first,0))}function vs(a,y,b,x){return b<0&&y.ch==0?y.line>a.first?kt(a,Pt(y.line-1)):null:b>0&&y.ch==(x||_t(a,y.line)).text.length?y.line<a.first+a.size-1?Pt(y.line+1,0):null:new Pt(y.line,y.ch+b)}function ps(a){a.setSelection(Pt(a.firstLine(),0),Pt(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=kt(a,E)),ae&&(x.to=kt(a,ae)),de&&(x.text=de),ve!==void 0&&(x.origin=ve)}),Dt(a,"beforeChange",a,x),a.cm&&Dt(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(!((Yt(a,"beforeChange")||a.cm&&Yt(a.cm,"beforeChange"))&&(y=ms(a,y,!0),!y))){var x=Ni&&!b&&Kt(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,Ji(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,Ji(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,Ae=0;Ae<ve.length&&(ae=ve[Ae],!(b?ae.ranges&&!ae.equals(a.sel):!ae.ranges));Ae++);if(Ae!=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 st=[];sl(de,pe),pe.push({changes:st,generation:E.generation}),E.generation=ae.generation||++E.maxGeneration;for(var pt=Yt(a,"beforeChange")||a.cm&&Yt(a.cm,"beforeChange"),$t=function(Yn){var cr=ae.changes[Yn];if(cr.origin=y,pt&&!ms(a,cr,!1))return ve.length=0,{};st.push(Ml(a,cr));var Fr=Yn?Bl(a,cr):Qe(ve);Yo(a,cr,Fr,ls(a,cr)),!Yn&&a.cm&&a.cm.scrollIntoView({from:cr.from,to:So(cr)});var Zr=[];ko(a,function(Br,Gr){!Gr&&qe(Zr,Br.history)==-1&&(bs(Br.history,cr),Zr.push(Br.history)),Yo(Br,cr,null,ls(Br,cr))})},Vt=ae.changes.length-1;Vt>=0;--Vt){var Pn=$t(Vt);if(Pn)return Pn.v}}}}function ys(a,y){if(y!=0&&(a.first+=y,a.sel=new Xa(Ft(a.sel.ranges,function(E){return new Qi(Pt(E.anchor.line+y,E.anchor.ch),Pt(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:Pt(a.first,0),to:Pt(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:Pt(ae,_t(a,ae).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Xn(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,Pt(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=ct(sn(_t(x,ae.line))),x.iter(pe,de.line+1,function(Vt){if(Vt==E.maxLine)return ve=!0,!0})),x.sel.contains(y.from,y.to)>-1&&Zt(a),Ll(x,y,b,Qa(a)),a.options.lineWrapping||(x.iter(pe,ae.line+y.text.length,function(Vt){var Pn=it(Vt);Pn>E.maxLineLength&&(E.maxLine=Vt,E.maxLineLength=Pn,E.maxLineChanged=!0,ve=!1)}),ve&&(a.curOp.updateMaxLine=!0)),Wi(x,ae.line),va(a,400);var Ae=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,Ae);var st=Yt(a,"changes"),pt=Yt(a,"change");if(pt||st){var $t={from:ae,to:de,text:y.text,removed:y.removed,origin:y.origin};pt&&sr(a,"change",a,$t),st&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push($t)}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 Ae=ae.changes[pe];if(b<Ae.from.line)Ae.from=Pt(Ae.from.line+x,Ae.from.ch),Ae.to=Pt(Ae.to.line+x,Ae.to.ch);else if(y<=Ae.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,tr(a,y)):E=ct(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,Xt(E),sr(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=ct(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=Or(this);Hr(b,Math.max(0,b.height-ae)),a&&(mi(a,function(){ws(a,b,-ae),Ca(a,x,"widget")}),sr(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=Or(this)-y;E&&(Ce(this.doc,x)||Hr(x,x.height+E),b&&mi(b,function(){b.curOp.forceUpdate=!0,ws(b,x,E),sr(b,"lineWidgetChanged",b,a,ct(x))}))},mn(Jo);function ws(a,y,b){Me(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&&!Ce(a,de)){var pe=Me(de)<a.scrollTop;Hr(de,de.height+Or(E)),pe&&fo(ae,E.height),ae.curOp.forceUpdate=!0}return!0}),ae&&sr(ae,"lineWidgetAdded",ae,E,typeof y=="number"?y:ct(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),Yt(this,"clear")){var b=this.find();b&&sr(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=jr(de.markedSpans,this);a&&!this.collapsed?Ca(a,ct(de),"text"):a&&(ve.to!=null&&(E=ct(de)),ve.from!=null&&(x=ct(de))),de.markedSpans=ri(de.markedSpans,ve),ve.from==null&&this.collapsed&&!Ce(this.doc,de)&&a&&Hr(de,Xi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var pe=0;pe<this.lines.length;++pe){var Ae=sn(this.lines[pe]),st=it(Ae);st>a.display.maxLineLength&&(a.display.maxLine=Ae,a.display.maxLineLength=st,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&&sr(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=jr(ae.markedSpans,this);if(de.from!=null&&(b=Pt(y?ae:ct(ae),de.from),a==-1))return b;if(de.to!=null&&(x=Pt(y?ae:ct(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||mi(x,function(){var E=y.line,ae=ct(y.line),de=Hi(x,ae);if(de&&(_i(de),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!Ce(b.doc,E)&&b.height!=null){var ve=b.height;b.height=null;var pe=Or(b)-ve;pe&&Hr(E,E.height+pe)}sr(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)}},mn(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&&At(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(fn(a,y.line,y,b,ae)||y.line!=b.line&&fn(a,b.line,y,b,ae))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pi()}ae.addToHistory&&as(a,{from:y,to:b,origin:"markText"},a.sel,NaN);var ve=y.line,pe=a.cm,Ae;if(a.iter(ve,b.line+1,function(pt){pe&&ae.collapsed&&!pe.options.lineWrapping&&sn(pt)==pe.display.maxLine&&(Ae=!0),ae.collapsed&&ve!=y.line&&Hr(pt,0),bi(pt,new kr(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){Ce(a,pt)&&Hr(pt,0)}),ae.clearOnEnter&&Wt(ae,"beforeCursorEnter",function(){return ae.clear()}),ae.readOnly&&(Ui(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ae.collapsed&&(ae.id=++Es,ae.atomic=!0),pe){if(Ae&&(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 st=y.line;st<=b.line;st++)Ca(pe,st,"text");ae.atomic&&fs(pe.doc),sr(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();sr(this,"clear")}},_o.prototype.find=function(a,y){return this.primary.find(a,y)},mn(_o);function pu(a,y,b,x,E){x=At(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,kt(pe,y),kt(pe,b),x,E));for(var Ae=0;Ae<pe.linked.length;++Ae)if(pe.linked[Ae].isParent)return;de=Qe(ae)}),new _o(ae,de)}function As(a){return a.findMarks(Pt(a.first,0),a.clipPos(Pt(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 vt("",null)])]),this.first=b,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=b;var ae=Pt(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=Nr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:Mi(function(a){var y=Pt(this.first,0),b=this.first+this.size-1;Io(this,{from:y,to:Pt(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=kt(this,y),b=b?kt(this,b):y,Ro(this,a,y,b,x)},getRange:function(a,y,b){var x=Xn(this,kt(this,a),kt(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(Tn(this,a))return _t(this,a)},getLineNumber:function(a){return ct(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=_t(this,a)),sn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return kt(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:Mi(function(a,y,b){us(this,kt(this,typeof a=="number"?Pt(a,y||0):a),null,b)}),setSelection:Mi(function(a,y,b){us(this,kt(this,a),kt(this,y||a),b)}),extendSelection:Mi(function(a,y,b){ul(this,kt(this,a),y&&kt(this,y),b)}),extendSelections:Mi(function(a,y){ss(this,ir(this,a),y)}),extendSelectionsBy:Mi(function(a,y){var b=Ft(this.sel.ranges,a);ss(this,ir(this,b),y)}),setSelections:Mi(function(a,y,b){if(a.length){for(var x=[],E=0;E<a.length;E++)x[E]=new Qi(kt(this,a[E].anchor),kt(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),Ba(this,ro(this.cm,x,y),b)}}),addSelection:Mi(function(a,y,b){var x=this.sel.ranges.slice(0);x.push(new Qi(kt(this,a),kt(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=Xn(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=Xn(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:Mi(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:Mi(function(){fl(this,"undo")}),redo:Mi(function(){fl(this,"redo")}),undoSelection:Mi(function(){fl(this,"undo",!0)}),redoSelection:Mi(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:Mi(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:Mi(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(!Tn(this,a)||(y=a,a=_t(this,a),!a))return null}else if(y=ct(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:Mi(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(Ge(b).test(x[E]))return!1;x[E]+=" "+b}return!0})}),removeLineClass:Mi(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(Ge(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:Mi(function(a,y,b){return vu(this,a,y,b)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,b){return Oo(this,kt(this,a),kt(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=kt(this,a),Oo(this,a,a,b,"bookmark")},findMarksAt:function(a){a=kt(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=kt(this,a),y=kt(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}),kt(this,Pt(b,y))},indexFromPos:function(a){a=kt(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(Nr(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(Nr(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):Rr(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Mi(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),!(ft(y,a)||Kr(y.display,a))){Mn(a),Se&&(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=kt(y.doc,b);var Vt={from:b,to:b,text:y.doc.splitLines(ae.filter(function(Pn){return Pn!=null}).join(y.doc.lineSeparator())),origin:"paste"};Io(y.doc,Vt),cs(y.doc,Ao(kt(y.doc,b),kt(y.doc,So(Vt))))})()},pe=function(Vt,Pn){if(y.options.allowDropFileTypes&&qe(y.options.allowDropFileTypes,Vt.type)==-1){ve();return}var Yn=new FileReader;Yn.onerror=function(){return ve()},Yn.onload=function(){var cr=Yn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(cr)){ve();return}ae[Pn]=cr,ve()},Yn.readAsText(Vt)},Ae=0;Ae<x.length;Ae++)pe(x[Ae],Ae);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 st=a.dataTransfer.getData("Text");if(st){var pt;if(y.state.draggingText&&!y.state.draggingText.copy&&(pt=y.listSelections()),cl(y.doc,Ao(b,b)),pt)for(var $t=0;$t<pt.length;++$t)Ro(y.doc,"",pt[$t].anchor,pt[$t].head,"drag");y.replaceSelection(st,"around","paste"),y.display.input.focus()}}catch(Vt){}}}}function xu(a,y){if(Se&&(!a.state.draggingText||+new Date-Ss<100)){qn(y);return}if(!(ft(a,y)||Kr(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!nt)){var b=ke("img",null,null,"position: fixed; left: 0; top: 0;");b.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",le&&(b.width=b.height=1,a.display.wrapper.appendChild(b),b._top=b.offsetTop),y.dataTransfer.setDragImage(b,0,0),le&&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=ke("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;Wt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Ds(Au)},100))}),Wt(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=Ve?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=Ft(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 Ae in y)a[Ae]=y[Ae];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),(Fe?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(Fe?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!b&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function Ls(a,y){if(le&&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)}mi(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=De(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 Pt(y.line,x,b<0?"after":"before")}function Ol(a,y,b,x,E){if(a){y.doc.direction=="rtl"&&(E=-E);var ae=Rt(b,y.doc.direction);if(ae){var de=E<0?Qe(ae):ae[0],ve=E<0==(de.level==1),pe=ve?"after":"before",Ae;if(de.level>0||y.doc.direction=="rtl"){var st=ci(y,b);Ae=E<0?b.text.length-1:0;var pt=ki(y,st,Ae).top;Ae=St(function($t){return ki(y,st,$t).top==pt},E<0==(de.level==1)?de.from:de.to-1,Ae),pe=="before"&&(Ae=Il(b,Ae,1))}else Ae=E<0?de.to:de.from;return new Pt(x,Ae,pe)}}return new Pt(x,E<0?b.text.length:0,E<0?"before":"after")}function Du(a,y,b,x){var E=Rt(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=lt(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(Fr,Zr){return Il(y,Fr instanceof Pt?Fr.ch:Fr,Zr)},pe,Ae=function(Fr){return a.options.lineWrapping?(pe=pe||ci(a,y),hi(a,y,pe,Fr)):{begin:0,end:y.text.length}},st=Ae(b.sticky=="before"?ve(b,-1):b.ch);if(a.doc.direction=="rtl"||de.level==1){var pt=de.level==1==x<0,$t=ve(b,pt?1:-1);if($t!=null&&(pt?$t<=de.to&&$t<=st.end:$t>=de.from&&$t>=st.begin)){var Vt=pt?"before":"after";return new Pt(b.line,$t,Vt)}}var Pn=function(Fr,Zr,Br){for(var Gr=function(na,Aa){return Aa?new Pt(b.line,ve(na,1),"before"):new Pt(b.line,na,"after")};Fr>=0&&Fr<E.length;Fr+=Zr){var si=E[Fr],$r=Zr>0==(si.level!=1),Ri=$r?Br.begin:ve(Br.end,-1);if(si.from<=Ri&&Ri<si.to||(Ri=$r?si.from:ve(si.to,-1),Br.begin<=Ri&&Ri<Br.end))return Gr(Ri,$r)}},Yn=Pn(ae+x,x,st);if(Yn)return Yn;var cr=x>0?st.end:ve(st.begin,-1);return cr!=null&&!(x>0&&cr==y.text.length)&&(Yn=Pn(x>0?0:E.length-1,x,Ae(cr)),Yn)?Yn: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:Pt(y.head.line+1,0)}:{from:y.head,to:Pt(y.head.line,b)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Wo(a,function(y){return{from:Pt(y.from().line,0),to:kt(a.doc,Pt(y.to().line+1,0))}})},delLineLeft:function(a){return Wo(a,function(y){return{from:Pt(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(Pt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Pt(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")},$e)},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")},$e)},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},$e)},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=we(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 mi(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 Pt(E.line,E.ch-1)),E.ch>0)E=new Pt(E.line,E.ch+1),a.replaceRange(ae.charAt(E.ch-1)+ae.charAt(E.ch-2),Pt(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 Pt(E.line,1),a.replaceRange(ae.charAt(0)+a.doc.lineSeparator()+de.charAt(de.length-1),Pt(E.line-1,de.length-1),E,"+transpose"))}}b.push(new Qi(E,E))}a.setSelections(b)})},newlineAndIndent:function(a){return mi(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=sn(b);return x!=b&&(y=ct(x)),Ol(!0,a,x,y,1)}function Fu(a,y){var b=_t(a.doc,y),x=bn(b);return x!=b&&(y=ct(x)),Ol(!0,a,b,y,-1)}function Ts(a,y){var b=Ms(a,y.line),x=_t(a.doc,b.line),E=Rt(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 Pt(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)!=Tt}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"&&sr(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(),!ft(y,a))){Se&&fe<11&&a.keyCode==27&&(a.returnValue=!1);var b=a.keyCode;y.display.shift=b==16||a.shiftKey;var x=Is(y,a);le&&(Zl=x?b:null,!x&&b==88&&!Bt&&(Ve?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),re&&!Ve&&!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)&&(Ue(y,"CodeMirror-crosshair"),Ut(document,"keyup",b),Ut(document,"mouseover",b))}Wt(document,"keyup",b),Wt(document,"mouseover",b)}function Os(a){a.keyCode==16&&(this.doc.sel.shift=!1),ft(this,a)}function Zs(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Kr(y.display,a)||ft(y,a)||a.ctrlKey&&!a.altKey||Ve&&a.metaKey)){var b=a.keyCode,x=a.charCode;if(le&&b==Zl){Zl=null,Mn(a);return}if(!(le&&(!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(!(ft(y,a)||b.activeTouch&&b.input.supportsTouch())){if(b.input.ensurePolled(),b.shift=a.shiftKey,Kr(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=dr(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):$n(a)==b.scroller&&Mn(a):E==2?(x&&ul(y.doc,x),setTimeout(function(){return b.input.focus()},20)):E==3&&(Ee?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)!=Tt}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=ut?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=Ve?b.metaKey:b.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Ve?b.altKey:b.ctrlKey)),E}function Ou(a,y,b,x){Se?setTimeout(gt(po,a),0):a.curOp.focus=Re();var E=Ru(a,b,x),ae=a.doc.sel,de;a.options.dragDrop&&Mr&&!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(Ae){Oe&&(E.scroller.draggable=!1),a.state.draggingText=!1,Ut(E.wrapper.ownerDocument,"mouseup",de),Ut(E.wrapper.ownerDocument,"mousemove",ve),Ut(E.scroller,"dragstart",pe),Ut(E.scroller,"drop",de),ae||(Mn(Ae),x.addNew||ul(a.doc,b,null,null,x.extend),Oe&&!nt||Se&&fe==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),ve=function(Ae){ae=ae||Math.abs(y.clientX-Ae.clientX)+Math.abs(y.clientY-Ae.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(),Wt(E.wrapper.ownerDocument,"mouseup",de),Wt(E.wrapper.ownerDocument,"mousemove",ve),Wt(E.scroller,"dragstart",pe),Wt(E.scroller,"drop",de),so(a),setTimeout(function(){return E.input.focus()},20)}function Hs(a,y,b){if(b=="char")return new Qi(y,y);if(b=="word")return a.findWordAt(y);if(b=="line")return new Qi(Pt(y.line,0),kt(a.doc,Pt(y.line+1,0)));var x=b(a,y);return new Qi(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,Ae=pe.ranges;if(x.addNew&&!x.extend?(ve=ae.sel.contains(b),ve>-1?de=Ae[ve]:de=new Qi(b,b)):(de=ae.sel.primary(),ve=ae.sel.primIndex),x.unit=="rectangle")x.addNew||(de=new Qi(b,b)),b=Fa(a,y,!0,!0),ve=-1;else{var st=Hs(a,b,x.unit);x.extend?de=Tl(de,st.anchor,st.head,x.extend):de=st}x.addNew?ve==-1?(ve=Ae.length,Ba(ae,ro(a,Ae.concat([de]),ve),{scroll:!1,origin:"*mouse"})):Ae.length>1&&Ae[ve].empty()&&x.unit=="char"&&!x.extend?(Ba(ae,ro(a,Ae.slice(0,ve).concat(Ae.slice(ve+1)),0),{scroll:!1,origin:"*mouse"}),pe=ae.sel):Nl(ae,ve,de,bt):(ve=0,Ba(ae,new Xa([de],0),bt),pe=ae.sel);var pt=b;function $t(Br){if(Sn(pt,Br)!=0)if(pt=Br,x.unit=="rectangle"){for(var Gr=[],si=a.options.tabSize,$r=we(_t(ae,b.line).text,b.ch,si),Ri=we(_t(ae,Br.line).text,Br.ch,si),na=Math.min($r,Ri),Aa=Math.max($r,Ri),fa=Math.min(b.line,Br.line),Ka=Math.min(a.lastLine(),Math.max(b.line,Br.line));fa<=Ka;fa++){var Oa=_t(ae,fa).text,ga=Ot(Oa,na,si);na==Aa?Gr.push(new Qi(Pt(fa,ga),Pt(fa,ga))):Oa.length>ga&&Gr.push(new Qi(Pt(fa,ga),Pt(fa,Ot(Oa,Aa,si))))}Gr.length||Gr.push(new Qi(b,b)),Ba(ae,ro(a,pe.ranges.slice(0,ve).concat(Gr),ve),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Br)}else{var Za=de,Da=Hs(a,Br,x.unit),ba=Za.anchor,ya;Sn(Da.anchor,ba)>0?(ya=Da.head,ba=Un(Za.from(),Da.anchor)):(ya=Da.anchor,ba=er(Za.to(),Da.head));var pa=pe.ranges.slice(0);pa[ve]=Hu(a,new Qi(kt(ae,ba),ya)),Ba(ae,ro(a,pa,ve),bt)}}var Vt=E.wrapper.getBoundingClientRect(),Pn=0;function Yn(Br){var Gr=++Pn,si=Fa(a,Br,!0,x.unit=="rectangle");if(si)if(Sn(si,pt)!=0){a.curOp.focus=Re(),$t(si);var $r=Ea(E,ae);(si.line>=$r.to||si.line<$r.from)&&setTimeout(_r(a,function(){Pn==Gr&&Yn(Br)}),150)}else{var Ri=Br.clientY<Vt.top?-20:Br.clientY>Vt.bottom?20:0;Ri&&setTimeout(_r(a,function(){Pn==Gr&&(E.scroller.scrollTop+=Ri,Yn(Br))}),50)}}function cr(Br){a.state.selectingText=!1,Pn=1/0,Br&&(Mn(Br),E.input.focus()),Ut(E.wrapper.ownerDocument,"mousemove",Fr),Ut(E.wrapper.ownerDocument,"mouseup",Zr),ae.history.lastSelOrigin=null}var Fr=_r(a,function(Br){Br.buttons===0||!dr(Br)?cr(Br):Yn(Br)}),Zr=_r(a,cr);a.state.selectingText=Zr,Wt(E.wrapper.ownerDocument,"mousemove",Fr),Wt(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=Rt(E);if(!ae)return y;var de=lt(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 Ae;if(x.line!=b.line)Ae=(x.line-b.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var st=lt(ae,x.ch,x.sticky),pt=st-de||(x.ch-b.ch)*(ve.level==1?-1:1);st==pe-1||st==pe?Ae=pt<0:Ae=pt>0}var $t=ae[pe+(Ae?-1:0)],Vt=Ae==($t.level==1),Pn=Vt?$t.from:$t.to,Yn=Vt?"after":"before";return b.ch==Pn&&b.sticky==Yn?y:new Qi(new Pt(b.line,Pn,Yn),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($t){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||!Yt(a,b))return yn(y);ae-=ve.top-de.viewOffset;for(var pe=0;pe<a.display.gutterSpecs.length;++pe){var Ae=de.gutters.childNodes[pe];if(Ae&&Ae.getBoundingClientRect().right>=E){var st=Ct(a.doc,ae),pt=a.display.gutterSpecs[pe];return Dt(a,b,a,st,pt.className,y),yn(y)}}}function Hl(a,y){return zs(a,y,"gutterClick",!0)}function Ks(a,y){Kr(a.display,y)||zu(a,y)||ft(a,y,"contextmenu")||Ee||a.display.input.onContextMenu(y)}function zu(a,y){return Yt(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,Ae){Ae!=Ho&&ae(ve,pe,Ae)}: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 Ae=0;;){var st=pe.text.indexOf(E,Ae);if(st==-1)break;Ae=st+E.length,ae.push(Pt(de,st))}de++});for(var ve=ae.length-1;ve>=0;ve--)Ro(x.doc,E,ae[ve],Pt(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",on,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?Wt:Ut;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):(Ue(a.display.wrapper,"CodeMirror-wrap"),ot(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?At(y):{},At(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(),Se&&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;Wt(y.scroller,"mousedown",_r(a,Ws)),Se&&fe<11?Wt(y.scroller,"dblclick",_r(a,function(pe){if(!ft(a,pe)){var Ae=Fa(a,pe);if(!(!Ae||Hl(a,pe)||Kr(a.display,pe))){Mn(pe);var st=a.findWordAt(Ae);ul(a.doc,st.anchor,st.head)}}})):Wt(y.scroller,"dblclick",function(pe){return ft(a,pe)||Mn(pe)}),Wt(y.scroller,"contextmenu",function(pe){return Ks(a,pe)}),Wt(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 Ae=pe.touches[0];return Ae.radiusX<=1&&Ae.radiusY<=1}function de(pe,Ae){if(Ae.left==null)return!0;var st=Ae.left-pe.left,pt=Ae.top-pe.top;return st*st+pt*pt>20*20}Wt(y.scroller,"touchstart",function(pe){if(!ft(a,pe)&&!ae(pe)&&!Hl(a,pe)){y.input.ensurePolled(),clearTimeout(b);var Ae=+new Date;y.activeTouch={start:Ae,moved:!1,prev:Ae-x.end<=300?x:null},pe.touches.length==1&&(y.activeTouch.left=pe.touches[0].pageX,y.activeTouch.top=pe.touches[0].pageY)}}),Wt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Wt(y.scroller,"touchend",function(pe){var Ae=y.activeTouch;if(Ae&&!Kr(y,pe)&&Ae.left!=null&&!Ae.moved&&new Date-Ae.start<300){var st=a.coordsChar(y.activeTouch,"page"),pt;!Ae.prev||de(Ae,Ae.prev)?pt=new Qi(st,st):!Ae.prev.prev||de(Ae,Ae.prev.prev)?pt=a.findWordAt(st):pt=new Qi(Pt(st.line,0),kt(a.doc,Pt(st.line+1,0))),a.setSelection(pt.anchor,pt.head),a.focus(),Mn(pe)}E()}),Wt(y.scroller,"touchcancel",E),Wt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Ua(a,y.scroller.scrollTop),ja(a,y.scroller.scrollLeft,!0),Dt(a,"scroll",a))}),Wt(y.scroller,"mousewheel",function(pe){return ql(a,pe)}),Wt(y.scroller,"DOMMouseScroll",function(pe){return ql(a,pe)}),Wt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(pe){ft(a,pe)||qn(pe)},over:function(pe){ft(a,pe)||(bu(a,pe),qn(pe))},start:function(pe){return xu(a,pe)},drop:_r(a,Cu),leave:function(pe){ft(a,pe)||ks(a)}};var ve=y.input.getField();Wt(ve,"keyup",function(pe){return Os.call(a,pe)}),Wt(ve,"keydown",_r(a,Rs)),Wt(ve,"keypress",_r(a,Zs)),Wt(ve,"focus",function(pe){return mo(a,pe)}),Wt(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=Ai(a,y).state:b="prev");var de=a.options.tabSize,ve=_t(E,y),pe=we(ve.text,null,de);ve.stateAfter&&(ve.stateAfter=null);var Ae=ve.text.match(/^\s*/)[0],st;if(!x&&!/\S/.test(ve.text))st=0,b="not";else if(b=="smart"&&(st=E.mode.indent(ae,ve.text.slice(Ae.length),ve.text),st==Tt||st>150)){if(!x)return;b="prev"}b=="prev"?y>E.first?st=we(_t(E,y-1).text,null,de):st=0:b=="add"?st=pe+a.options.indentUnit:b=="subtract"?st=pe-a.options.indentUnit:typeof b=="number"&&(st=pe+b),st=Math.max(0,st);var pt="",$t=0;if(a.options.indentWithTabs)for(var Vt=Math.floor(st/de);Vt;--Vt)$t+=de,pt+=" ";if($t<st&&(pt+=yt(st-$t)),pt!=Ae)return Ro(E,pt,Pt(y,0),Pt(y,Ae.length),"+input"),ve.stateAfter=null,!0;for(var Pn=0;Pn<E.sel.ranges.length;Pn++){var Yn=E.sel.ranges[Pn];if(Yn.head.line==y&&Yn.head.ch<Ae.length){var cr=Pt(y,Ae.length);Nl(E,Pn,new Qi(cr,cr));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=Rr(y),Ae=null;if(ve&&x.ranges.length>1)if(io&&io.text.join(`
`)==y){if(x.ranges.length%io.text.length==0){Ae=[];for(var st=0;st<io.text.length;st++)Ae.push(ae.splitLines(io.text[st]))}}else pe.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(Ae=Ft(pe,function(Fr){return[Fr]}));for(var pt=a.curOp.updateInput,$t=x.ranges.length-1;$t>=0;$t--){var Vt=x.ranges[$t],Pn=Vt.from(),Yn=Vt.to();Vt.empty()&&(b&&b>0?Pn=Pt(Pn.line,Pn.ch-b):a.state.overwrite&&!ve?Yn=Pt(Yn.line,Math.min(_t(ae,Yn.line).text.length,Yn.ch+Qe(pe).length)):ve&&io&&io.lineWise&&io.text.join(`
`)==pe.join(`
`)&&(Pn=Yn=Pt(Pn.line,0)));var cr={from:Pn,to:Yn,text:Ae?Ae[$t%Ae.length]:pe,origin:E||(ve?"paste":a.state.cutIncoming>de?"cut":"+input")};Io(a.doc,cr),sr(a,"inputRead",a,cr)}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&&mi(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&&sr(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:Pt(E,0),head:Pt(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=ke("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=ke("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),Dt(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:li(function(x,E){var ae=x.token?x:a.getMode(this.options,x);if(ae.startState)throw new Error("Overlays may not be stateful.");wt(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:li(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:li(function(x,E,ae){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Tn(this.doc,x)&&il(this,x,E,ae)}),indentSelection:li(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(),Ae=ve.to(),st=Math.max(ae,pe.line);ae=Math.min(this.lastLine(),Ae.line-(Ae.ch?0:1))+1;for(var pt=st;pt<ae;++pt)il(this,pt,x);var $t=this.doc.sel.ranges;pe.ch==0&&E.length==$t.length&&$t[de].from().ch>0&&Nl(this.doc,de,new Qi(pe,$t[de].to()),Xe)}}}),getTokenAt:function(x,E){return Fi(this,x,E)},getLineTokens:function(x,E){return Fi(this,Pt(x),E,!0)},getTokenTypeAt:function(x){x=kt(this.doc,x);var E=Jr(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 Ae=ae+de>>1;if((Ae?E[Ae*2-1]:0)>=ve)de=Ae;else if(E[Ae*2+1]<ve)ae=Ae+1;else{pe=E[Ae*2+2];break}}var st=pe?pe.indexOf("overlay "):-1;return st<0?pe:st==0?null:pe.slice(0,st-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 Ae=de[ve[E][pe]];Ae&&ae.push(Ae)}else ve.helperType&&de[ve.helperType]?ae.push(de[ve.helperType]):de[ve.name]&&ae.push(de[ve.name]);for(var st=0;st<de._global.length;st++){var pt=de._global[st];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=tr(ae,x==null?ae.first+ae.size-1:x),Ai(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=kt(this.doc,x):ae=x?de.from():de.to(),Lr(this,ae,E||"page")},charCoords:function(x,E){return $i(this,kt(this.doc,x),E||"page")},coordsChar:function(x,E){return x=ai(this,x,E||"page"),lr(this,x.left,x.top)},lineAtHeight:function(x,E){return x=ai(this,{top:x,left:0},E||"page").top,Ct(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-Me(ve):0)},defaultTextHeight:function(){return Xi(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=Lr(this,kt(this.doc,x));var Ae=x.bottom,st=x.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),pe.sizer.appendChild(E),de=="over")Ae=x.top;else if(de=="above"||de=="near"){var pt=Math.max(pe.wrapper.clientHeight,this.doc.height),$t=Math.max(pe.sizer.clientWidth,pe.lineSpace.clientWidth);(de=="above"||x.bottom+E.offsetHeight>pt)&&x.top>E.offsetHeight?Ae=x.top-E.offsetHeight:x.bottom+E.offsetHeight<=pt&&(Ae=x.bottom),st+E.offsetWidth>$t&&(st=$t-E.offsetWidth)}E.style.top=Ae+"px",E.style.left=E.style.right="",ve=="right"?(st=pe.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(ve=="left"?st=0:ve=="middle"&&(st=(pe.sizer.clientWidth-E.offsetWidth)/2),E.style.left=st+"px"),ae&&co(this,{left:st,top:Ae,right:st+E.offsetWidth,bottom:Ae+E.offsetHeight})},triggerOnKeyDown:li(Rs),triggerOnKeyPress:li(Zs),triggerOnKeyUp:Os,triggerOnMouseDown:li(Ws),execCommand:function(x){if(el.hasOwnProperty(x))return el[x].call(null,this)},triggerElectric:li(function(x){Ys(this,x)}),findPosH:function(x,E,ae,de){var ve=1;E<0&&(ve=-1,E=-E);for(var pe=kt(this.doc,x),Ae=0;Ae<E&&(pe=Vl(this.doc,pe,ve,ae,de),!pe.hitSide);++Ae);return pe},moveH:li(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()},$e)}),deleteH:li(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 Ae=kt(this.doc,x),st=0;st<E;++st){var pt=Lr(this,Ae,"div");if(pe==null?pe=pt.left:pt.left=pe,Ae=Js(this,pt,ve,ae),Ae.hitSide)break}return Ae},moveV:li(function(x,E){var ae=this,de=this.doc,ve=[],pe=!this.display.shift&&!de.extend&&de.sel.somethingSelected();if(de.extendSelectionsBy(function(st){if(pe)return x<0?st.from():st.to();var pt=Lr(ae,st.head,"div");st.goalColumn!=null&&(pt.left=st.goalColumn),ve.push(pt.left);var $t=Js(ae,pt,x,E);return E=="page"&&st==de.sel.primary()&&fo(ae,$i(ae,$t,"div").top-pt.top),$t},$e),ve.length)for(var Ae=0;Ae<de.sel.ranges.length;Ae++)de.sel.ranges[Ae].goalColumn=ve[Ae]}),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 Ae=ae.charAt(de),st=ne(Ae,pe)?function(pt){return ne(pt,pe)}:/\s/.test(Ae)?function(pt){return/\s/.test(pt)}:function(pt){return!/\s/.test(pt)&&!ne(pt)};de>0&&st(ae.charAt(de-1));)--de;for(;ve<ae.length&&st(ae.charAt(ve));)++ve}return new Qi(Pt(x.line,de),Pt(x.line,ve))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Je(this.display.cursorDiv,"CodeMirror-overwrite"):Ue(this.display.cursorDiv,"CodeMirror-overwrite"),Dt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Re()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:li(function(x,E){no(this,x,E)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-zr(this)-this.display.barHeight,width:x.scrollWidth-zr(this)-this.display.barWidth,clientHeight:ni(this),clientWidth:ii(this)}},scrollIntoView:li(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:Pt(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:li(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&&wi(this);var ve=this.display.viewFrom;this.doc.iter(ve,this.display.viewTo,function(pe){if(pe.widgets){for(var Ae=0;Ae<pe.widgets.length;Ae++)if(pe.widgets[Ae].noHScroll){Ca(ae,ve,"widget");break}}++ve}),this.curOp.forceUpdate=!0,Dt(this,"refresh",this)}),operation:function(x){return mi(this,x)},startOperation:function(){return qr(this)},endOperation:function(){return sa(this)},refresh:li(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-Xi(this.display))>.5||this.options.lineWrapping)&&Na(this),Dt(this,"refresh",this)}),swapDoc:li(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,sr(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}},mn(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 Ae(){var Zr=y.line+pe;return Zr<a.first||Zr>=a.first+a.size?!1:(y=new Pt(Zr,y.ch,y.sticky),ve=_t(a,Zr))}function st(Zr){var Br;if(x=="codepoint"){var Gr=ve.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(Gr)?Br=null:Br=new Pt(y.line,Math.max(0,Math.min(ve.text.length,y.ch+b*(Gr>=55296&&Gr<56320?2:1))),-b)}else E?Br=Du(a.cm,ve,y,b):Br=Rl(ve,y,b);if(Br==null)if(!Zr&&Ae())y=Ol(E,a.cm,ve,y.line,pe);else return!1;else y=Br;return!0}if(x=="char"||x=="codepoint")st();else if(x=="column")st(!0);else if(x=="word"||x=="group")for(var pt=null,$t=x=="group",Vt=a.cm&&a.cm.getHelper(y,"wordChars"),Pn=!0;!(b<0&&!st(!Pn));Pn=!1){var Yn=ve.text.charAt(y.ch)||`
`,cr=ne(Yn,Vt)?"w":$t&&Yn==`
`?"n":!$t||/\s/.test(Yn)?null:"p";if($t&&!Pn&&!cr&&(cr="s"),pt&&pt!=cr){b<0&&(b=1,st(),y.sticky="after");break}if(cr&&(pt=cr),b>0&&!st(!Pn))break}var Fr=dl(a,y,ae,de,!0);return Wn(ae,Fr)&&(Fr.hitSide=!0),Fr}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*Xi(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 Ae;Ae=lr(a,ae,de),!!Ae.outside;){if(b<0?de<=0:de>=E.height){Ae.hitSide=!0;break}de+=b*5}return Ae}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}Wt(E,"paste",function(ve){!ae(ve)||ft(x,ve)||js(ve,x)||fe<=11&&setTimeout(_r(x,function(){return y.updateFromDOM()}),20)}),Wt(E,"compositionstart",function(ve){y.composing={data:ve.data,done:!1}}),Wt(E,"compositionupdate",function(ve){y.composing||(y.composing={data:ve.data,done:!1})}),Wt(E,"compositionend",function(ve){y.composing&&(ve.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Wt(E,"touchstart",function(){return b.forceCompositionEnd()}),Wt(E,"input",function(){y.composing||y.readFromDOMSoon()});function de(ve){if(!(!ae(ve)||ft(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 Ae=io.text.join(`
`);if(ve.clipboardData.setData("Text",Ae),ve.clipboardData.getData("Text")==Ae){ve.preventDefault();return}}var st=Qs(),pt=st.firstChild;x.display.lineSpace.insertBefore(st,x.display.lineSpace.firstChild),pt.value=io.text.join(`
`);var $t=document.activeElement;ht(pt),setTimeout(function(){x.display.lineSpace.removeChild(st),$t.focus(),$t==E&&b.showPrimarySelection()},50)}}Wt(E,"copy",de),Wt(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(Un(ae,de),x)==0&&Sn(er(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},Ae=E.line<y.display.viewTo&&_s(y,E);if(!Ae){var st=ve[ve.length-1].measure,pt=st.maps?st.maps[st.maps.length-1]:st.map;Ae={node:pt[pt.length-1],offset:pt[pt.length-2]-pt[pt.length-3]}}if(!pe||!Ae){a.removeAllRanges();return}var $t=a.rangeCount&&a.getRangeAt(0),Vt;try{Vt=Ze(pe.node,pe.offset,Ae.offset,Ae.node)}catch(Pn){}Vt&&(!re&&y.state.focused?(a.collapse(pe.node,pe.offset),Vt.collapsed||(a.removeAllRanges(),a.addRange(Vt))):(a.removeAllRanges(),a.addRange(Vt)),$t&&a.anchorNode==null?a.addRange($t):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():mi(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&&mi(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=Pt(x.line-1,_t(a.doc,x.line-1).length)),E.ch==_t(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=Pt(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=ct(y.view[0].line),ve=y.view[0].node):(de=ct(y.view[ae].line),ve=y.view[ae-1].node.nextSibling);var pe=ka(a,E.line),Ae,st;if(pe==y.view.length-1?(Ae=y.viewTo-1,st=y.lineDiv.lastChild):(Ae=ct(y.view[pe+1].line)-1,st=y.view[pe+1].node.previousSibling),!ve)return!1;for(var pt=a.doc.splitLines(Xu(a,ve,st,de,Ae)),$t=Xn(a.doc,Pt(de,0),Pt(Ae,_t(a.doc,Ae).text.length));pt.length>1&&$t.length>1;)if(Qe(pt)==Qe($t))pt.pop(),$t.pop(),Ae--;else if(pt[0]==$t[0])pt.shift(),$t.shift(),de++;else break;for(var Vt=0,Pn=0,Yn=pt[0],cr=$t[0],Fr=Math.min(Yn.length,cr.length);Vt<Fr&&Yn.charCodeAt(Vt)==cr.charCodeAt(Vt);)++Vt;for(var Zr=Qe(pt),Br=Qe($t),Gr=Math.min(Zr.length-(pt.length==1?Vt:0),Br.length-($t.length==1?Vt:0));Pn<Gr&&Zr.charCodeAt(Zr.length-Pn-1)==Br.charCodeAt(Br.length-Pn-1);)++Pn;if(pt.length==1&&$t.length==1&&de==x.line)for(;Vt&&Vt>x.ch&&Zr.charCodeAt(Zr.length-Pn-1)==Br.charCodeAt(Br.length-Pn-1);)Vt--,Pn++;pt[pt.length-1]=Zr.slice(0,Zr.length-Pn).replace(/^\u200b+/,""),pt[0]=pt[0].slice(Vt).replace(/\u200b+$/,"");var si=Pt(de,Vt),$r=Pt(Ae,$t.length?Qe($t).length-Pn:0);if(pt.length>1||pt[0]||Sn(si,$r))return Ro(a.doc,pt,si,$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())&&mi(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=Hi(a,y.line);if(!b||b.hidden)return null;var x=_t(a.doc,y.line),E=Qr(b,x,y.line),ae=Rt(x,a.doc.direction),de="left";if(ae){var ve=lt(ae,y.ch);de=ve%2?"right":"left"}var pe=Bi(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 Ae(Vt){return function(Pn){return Pn.id==Vt}}function st(){de&&(ae+=ve,pe&&(ae+=ve),de=pe=!1)}function pt(Vt){Vt&&(st(),ae+=Vt)}function $t(Vt){if(Vt.nodeType==1){var Pn=Vt.getAttribute("cm-text");if(Pn){pt(Pn);return}var Yn=Vt.getAttribute("cm-marker"),cr;if(Yn){var Fr=a.findMarks(Pt(x,0),Pt(E+1,0),Ae(+Yn));Fr.length&&(cr=Fr[0].find(0))&&pt(Xn(a.doc,cr.from,cr.to).join(ve));return}if(Vt.getAttribute("contenteditable")=="false")return;var Zr=/^(pre|div|p|li|table|br)$/i.test(Vt.nodeName);if(!/^br$/i.test(Vt.nodeName)&&Vt.textContent.length==0)return;Zr&&st();for(var Br=0;Br<Vt.childNodes.length;Br++)$t(Vt.childNodes[Br]);/^(pre|p)$/i.test(Vt.nodeName)&&(pe=!0),Zr&&(de=!0)}else Vt.nodeType==3&&pt(Vt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;$t(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(Pt(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(Pt(ct(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(Pt(ct(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,Ae=pe.maps;function st(cr,Fr,Zr){for(var Br=-1;Br<(Ae?Ae.length:0);Br++)for(var Gr=Br<0?pe.map:Ae[Br],si=0;si<Gr.length;si+=3){var $r=Gr[si+2];if($r==cr||$r==Fr){var Ri=ct(Br<0?a.line:a.rest[Br]),na=Gr[si]+Zr;return(Zr<0||$r!=cr)&&(na=Gr[si+(Zr?1:0)]),Pt(Ri,na)}}}var pt=st(de,ve,b);if(pt)return zo(pt,E);for(var $t=ve.nextSibling,Vt=de?de.nodeValue.length-b:0;$t;$t=$t.nextSibling){if(pt=st($t,$t.firstChild,0),pt)return zo(Pt(pt.line,pt.ch-Vt),E);Vt+=$t.textContent.length}for(var Pn=ve.previousSibling,Yn=b;Pn;Pn=Pn.previousSibling){if(pt=st(Pn,Pn.firstChild,-1),pt)return zo(Pt(pt.line,pt.ch+Yn),E);Yn+=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"),Wt(E,"input",function(){Se&&fe>=9&&y.hasSelection&&(y.hasSelection=null),b.poll()}),Wt(E,"paste",function(de){ft(x,de)||js(de,x)||(x.state.pasteIncoming=+new Date,b.fastPoll())});function ae(de){if(!ft(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)}}Wt(E,"cut",ae),Wt(E,"copy",ae),Wt(a.scroller,"paste",function(de){if(!(Kr(a,de)||ft(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)}}),Wt(a.lineSpace,"selectstart",function(de){Kr(a,de)||Mn(de)}),Wt(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"})}}),Wt(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=Lr(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),Se&&fe>=9&&(this.hasSelection=b)}else a||(this.prevInput=this.textarea.value="",Se&&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||Wr(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(Se&&fe>=9&&this.hasSelection===E||Ve&&/[\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 mi(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(){Se&&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||le)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,Ae=y.wrapper.style.cssText,st=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-st.top-5)+"px; left: "+(a.clientX-st.left-5)+`px;
z-index: 1000; background: `+(Se?"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=Vt,x.selForContextMenu=b.doc.sel,clearTimeout(x.detectingSelectAll);function $t(){if(E.selectionStart!=null){var Yn=b.somethingSelected(),cr="\u200B"+(Yn?E.value:"");E.value="\u21DA",E.value=cr,y.prevInput=Yn?"":"\u200B",E.selectionStart=1,E.selectionEnd=cr.length,x.selForContextMenu=b.doc.sel}}function Vt(){if(y.contextMenuPending==Vt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=Ae,E.style.cssText=pe,Se&&fe<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=de),E.selectionStart!=null)){(!Se||Se&&fe<9)&&$t();var Yn=0,cr=function(){x.selForContextMenu==b.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?_r(b,ps)(b):Yn++<10?x.detectingSelectAll=setTimeout(cr,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(cr,200)}}if(Se&&fe>=9&&$t(),Ee){qn(a);var Pn=function(){Ut(window,"mouseup",Pn),setTimeout(Vt,20)};Wt(window,"mouseup",Pn)}else setTimeout(Vt,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?At(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&&(Wt(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&&(Ut(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=Ut,a.on=Wt,a.wheelEventPixels=iu,a.Doc=Ra,a.splitLines=Rr,a.countColumn=we,a.findColumn=Ot,a.isWordChar=ee,a.Pass=Tt,a.signal=Dt,a.Line=vt,a.changeEnd=So,a.scrollbarModel=Ya,a.Pos=Pt,a.cmpPos=Sn,a.modes=cn,a.mimeModes=Et,a.resolveMode=On,a.getMode=zn,a.modeExtensions=Qn,a.extendMode=fr,a.copyState=hr,a.startState=Ar,a.innerMode=pr,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=Gn,a.e_stop=qn,a.addClass=Je,a.contains=_e,a.rmClass=Ue,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 mn(Ra),ca.inputStyles={textarea:ma,contenteditable:ea},ca.defineMode=function(a){!ca.defaults.mode&&a!="null"&&(ca.defaults.mode=a),en.apply(this,arguments)},ca.defineMIME=kn,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(wn,un,se){(function(re){re(se(89780),se(15525),se(98101))})(function(re){"use strict";re.defineMode("markdown",function(Ne,Te){var Be=re.getMode(Ne,"text/html"),Se=Be.name=="null";function fe(we){if(re.findModeByName){var he=re.findModeByName(we);he&&(we=he.mime||he.mimes[0])}var qe=re.getMode(Ne,we);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 be in Oe)Oe.hasOwnProperty(be)&&Te.tokenTypeOverrides[be]&&(Oe[be]=Te.tokenTypeOverrides[be]);var Pe=/^([*\-_])(?:\s*\1){2,}\s*$/,le=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,nt=/^\[(x| )\](?=\s)/i,ye=Te.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ke=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ie=/^[^#!\[\]*_\\<>` "'(~:]+/,Ye=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,He=/^\s*\[[^\]]+?\]:.*$/,Ve=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,ut=" ";function at(we,he,qe){return he.f=he.inline=qe,qe(we,he)}function rt(we,he,qe){return he.f=he.block=qe,qe(we,he)}function Fe(we){return!we||!/\S/.test(we.string)}function Ee(we){if(we.linkTitle=!1,we.linkHref=!1,we.linkText=!1,we.em=!1,we.strong=!1,we.strikethrough=!1,we.quote=0,we.indentedCode=!1,we.f==Ue){var he=Se;if(!he){var qe=re.innerMode(Be,we.htmlState);he=qe.mode.name=="xml"&&qe.state.tagStart===null&&!qe.state.context&&qe.state.tokenize.isInText}he&&(we.f=ze,we.block=Ge,we.htmlState=null)}return we.trailingSpace=0,we.trailingSpaceNewLine=!1,we.prevLine=we.thisLine,we.thisLine={stream:null},null}function Ge(we,he){var qe=we.column()===he.indentation,Lt=Fe(he.prevLine.stream),Tt=he.indentedCode,Xe=he.prevLine.hr,bt=he.list!==!1,$e=(he.listStack[he.listStack.length-1]||0)+3;he.indentedCode=!1;var Ot=he.indentation;if(he.indentationDiff===null&&(he.indentationDiff=he.indentation,bt)){for(he.list=null;Ot<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=Ot-he.listStack[he.listStack.length-1])}var We=!Lt&&!Xe&&!he.prevLine.header&&(!bt||!Tt)&&!he.prevLine.fencedCodeEnd,yt=(he.list===!1||Xe||Lt)&&he.indentation<=$e&&we.match(Pe),Qe=null;if(he.indentationDiff>=4&&(Tt||he.prevLine.fencedCodeEnd||he.prevLine.header||Lt))return we.skipToEnd(),he.indentedCode=!0,Oe.code;if(we.eatSpace())return null;if(qe&&he.indentation<=$e&&(Qe=we.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<=$e&&we.eat(">"))return he.quote=qe?1:he.quote+1,Te.highlightFormatting&&(he.formatting="quote"),we.eatSpace(),ge(he);if(!yt&&!he.setext&&qe&&he.indentation<=$e&&(Qe=we.match(le))){var Ft=Qe[1]?"ol":"ul";return he.indentation=Ot+we.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&&we.match(nt,!1)&&(he.taskList=!0),he.f=he.inline,Te.highlightFormatting&&(he.formatting=["list","list-"+Ft]),ge(he)}else{if(qe&&he.indentation<=$e&&(Qe=we.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=dt,Te.highlightFormatting&&(he.formatting="code-block"),he.code=-1,ge(he);if(he.setext||(!We||!bt)&&!he.quote&&he.list===!1&&!he.code&&!yt&&!He.test(we.string)&&(Qe=we.lookAhead(1))&&(Qe=Qe.match(Ke)))return he.setext?(he.header=he.setext,he.setext=0,we.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 we.skipToEnd(),he.hr=!0,he.thisLine.hr=!0,Oe.hr;if(we.peek()==="[")return at(we,he,Nt)}return at(we,he,he.inline)}function Ue(we,he){var qe=Be.token(we,he.htmlState);if(!Se){var Lt=re.innerMode(Be,he.htmlState);(Lt.mode.name=="xml"&&Lt.state.tagStart===null&&!Lt.state.context&&Lt.state.tokenize.isInText||he.md_inside&&we.current().indexOf(">")>-1)&&(he.f=ze,he.block=Ge,he.htmlState=null)}return qe}function dt(we,he){var qe=he.listStack[he.listStack.length-1]||0,Lt=he.indentation<qe,Tt=qe+3;if(he.fencedEndRE&&he.indentation<=Tt&&(Lt||we.match(he.fencedEndRE))){Te.highlightFormatting&&(he.formatting="code-block");var Xe;return Lt||(Xe=ge(he)),he.localMode=he.localState=null,he.block=Ge,he.f=ze,he.fencedEndRE=null,he.code=0,he.thisLine.fencedCodeEnd=!0,Lt?rt(we,he,he.block):Xe}else return he.localMode?he.localMode.token(we,he.localState):(we.skipToEnd(),Oe.code)}function ge(we){var he=[];if(we.formatting){he.push(Oe.formatting),typeof we.formatting=="string"&&(we.formatting=[we.formatting]);for(var qe=0;qe<we.formatting.length;qe++)he.push(Oe.formatting+"-"+we.formatting[qe]),we.formatting[qe]==="header"&&he.push(Oe.formatting+"-"+we.formatting[qe]+"-"+we.header),we.formatting[qe]==="quote"&&(!Te.maxBlockquoteDepth||Te.maxBlockquoteDepth>=we.quote?he.push(Oe.formatting+"-"+we.formatting[qe]+"-"+we.quote):he.push("error"))}if(we.taskOpen)return he.push("meta"),he.length?he.join(" "):null;if(we.taskClosed)return he.push("property"),he.length?he.join(" "):null;if(we.linkHref?he.push(Oe.linkHref,"url"):(we.strong&&he.push(Oe.strong),we.em&&he.push(Oe.em),we.strikethrough&&he.push(Oe.strikethrough),we.emoji&&he.push(Oe.emoji),we.linkText&&he.push(Oe.linkText),we.code&&he.push(Oe.code),we.image&&he.push(Oe.image),we.imageAltText&&he.push(Oe.imageAltText,"link"),we.imageMarker&&he.push(Oe.imageMarker)),we.header&&he.push(Oe.header,Oe.header+"-"+we.header),we.quote&&(he.push(Oe.quote),!Te.maxBlockquoteDepth||Te.maxBlockquoteDepth>=we.quote?he.push(Oe.quote+"-"+we.quote):he.push(Oe.quote+"-"+Te.maxBlockquoteDepth)),we.list!==!1){var Lt=(we.listStack.length-1)%3;Lt?Lt===1?he.push(Oe.list2):he.push(Oe.list3):he.push(Oe.list1)}return we.trailingSpaceNewLine?he.push("trailing-space-new-line"):we.trailingSpace&&he.push("trailing-space-"+(we.trailingSpace%2?"a":"b")),he.length?he.join(" "):null}function ke(we,he){if(we.match(Ie,!0))return ge(he)}function ze(we,he){var qe=he.text(we,he);if(typeof qe!="undefined")return qe;if(he.list)return he.list=null,ge(he);if(he.taskList){var Lt=we.match(nt,!0)[1]===" ";return Lt?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&&we.match(/^#+$/,!0))return Te.highlightFormatting&&(he.formatting="header"),ge(he);var Tt=we.next();if(he.linkTitle){he.linkTitle=!1;var Xe=Tt;Tt==="("&&(Xe=")"),Xe=(Xe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var bt="^\\s*(?:[^"+Xe+"\\\\]+|\\\\\\\\|\\\\.)"+Xe;if(we.match(new RegExp(bt),!0))return Oe.linkHref}if(Tt==="`"){var $e=he.formatting;Te.highlightFormatting&&(he.formatting="code"),we.eatWhile("`");var Ot=we.current().length;if(he.code==0&&(!he.quote||Ot==1))return he.code=Ot,ge(he);if(Ot==he.code){var We=ge(he);return he.code=0,We}else return he.formatting=$e,ge(he)}else if(he.code)return ge(he);if(Tt==="\\"&&(we.next(),Te.highlightFormatting)){var yt=ge(he),Qe=Oe.formatting+"-escape";return yt?yt+" "+Qe:Qe}if(Tt==="!"&&we.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return he.imageMarker=!0,he.image=!0,Te.highlightFormatting&&(he.formatting="image"),ge(he);if(Tt==="["&&he.imageMarker&&we.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return he.imageMarker=!1,he.imageAltText=!0,Te.highlightFormatting&&(he.formatting="image"),ge(he);if(Tt==="]"&&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(Tt==="["&&!he.image)return he.linkText&&we.match(/^.*?\]/)||(he.linkText=!0,Te.highlightFormatting&&(he.formatting="link")),ge(he);if(Tt==="]"&&he.linkText){Te.highlightFormatting&&(he.formatting="link");var yt=ge(he);return he.linkText=!1,he.inline=he.f=we.match(/\(.*?\)| ?\[.*?\]/,!1)?_e:ze,yt}if(Tt==="<"&&we.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(Tt==="<"&&we.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&&Tt==="<"&&we.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ft=we.string.indexOf(">",we.pos);if(Ft!=-1){var wt=we.string.substring(we.start,Ft);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(wt)&&(he.md_inside=!0)}return we.backUp(1),he.htmlState=re.startState(Be),rt(we,he,Ue)}if(Te.xml&&Tt==="<"&&we.match(/^\/\w*?>/))return he.md_inside=!1,"tag";if(Tt==="*"||Tt==="_"){for(var ce=1,ie=we.pos==1?" ":we.string.charAt(we.pos-2);ce<3&&we.eat(Tt);)ce++;var z=we.peek()||" ",ee=!/\s/.test(z)&&(!Ve.test(z)||/\s/.test(ie)||Ve.test(ie)),ne=!/\s/.test(ie)&&(!Ve.test(ie)||/\s/.test(z)||Ve.test(z)),te=null,ue=null;if(ce%2&&(!he.em&&ee&&(Tt==="*"||!ne||Ve.test(ie))?te=!0:he.em==Tt&&ne&&(Tt==="*"||!ee||Ve.test(z))&&(te=!1)),ce>1&&(!he.strong&&ee&&(Tt==="*"||!ne||Ve.test(ie))?ue=!0:he.strong==Tt&&ne&&(Tt==="*"||!ee||Ve.test(z))&&(ue=!1)),ue!=null||te!=null){Te.highlightFormatting&&(he.formatting=te==null?"strong":ue==null?"em":"strong em"),te===!0&&(he.em=Tt),ue===!0&&(he.strong=Tt);var We=ge(he);return te===!1&&(he.em=!1),ue===!1&&(he.strong=!1),We}}else if(Tt===" "&&(we.eat("*")||we.eat("_"))){if(we.peek()===" ")return ge(he);we.backUp(1)}if(Te.strikethrough){if(Tt==="~"&&we.eatWhile(Tt)){if(he.strikethrough){Te.highlightFormatting&&(he.formatting="strikethrough");var We=ge(he);return he.strikethrough=!1,We}else if(we.match(/^[^\s]/,!1))return he.strikethrough=!0,Te.highlightFormatting&&(he.formatting="strikethrough"),ge(he)}else if(Tt===" "&&we.match(/^~~/,!0)){if(we.peek()===" ")return ge(he);we.backUp(2)}}if(Te.emoji&&Tt===":"&&we.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 Tt===" "&&(we.match(/^ +$/,!1)?he.trailingSpace++:he.trailingSpace&&(he.trailingSpaceNewLine=!0)),ge(he)}function Ze(we,he){var qe=we.next();if(qe===">"){he.f=he.inline=ze,Te.highlightFormatting&&(he.formatting="link");var Lt=ge(he);return Lt?Lt+=" ":Lt="",Lt+Oe.linkInline}return we.match(/^[^>]+/,!0),Oe.linkInline}function _e(we,he){if(we.eatSpace())return null;var qe=we.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(we){return function(he,qe){var Lt=he.next();if(Lt===we){qe.f=qe.inline=ze,Te.highlightFormatting&&(qe.formatting="link-string");var Tt=ge(qe);return qe.linkHref=!1,Tt}return he.match(Re[we]),qe.linkHref=!0,ge(qe)}}function Nt(we,he){return we.match(/^([^\]\\]|\\.)*\]:/,!1)?(he.f=ht,we.next(),Te.highlightFormatting&&(he.formatting="link"),he.linkText=!0,ge(he)):at(we,he,ze)}function ht(we,he){if(we.match(/^\]:/,!0)){he.f=he.inline=gt,Te.highlightFormatting&&(he.formatting="link");var qe=ge(he);return he.linkText=!1,qe}return we.match(/^([^\]\\]|\\.)+/,!0),Oe.linkText}function gt(we,he){return we.eatSpace()?null:(we.match(/^[^\s]+/,!0),we.peek()===void 0?he.linkTitle=!0:we.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),he.f=he.inline=ze,Oe.linkHref+" url")}var At={startState:function(){return{f:Ge,prevLine:{stream:null},thisLine:{stream:null},block:Ge,htmlState:null,indentation:0,inline:ze,text:ke,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(we){return{f:we.f,prevLine:we.prevLine,thisLine:we.thisLine,block:we.block,htmlState:we.htmlState&&re.copyState(Be,we.htmlState),indentation:we.indentation,localMode:we.localMode,localState:we.localMode?re.copyState(we.localMode,we.localState):null,inline:we.inline,text:we.text,formatting:!1,linkText:we.linkText,linkTitle:we.linkTitle,linkHref:we.linkHref,code:we.code,em:we.em,strong:we.strong,strikethrough:we.strikethrough,emoji:we.emoji,header:we.header,setext:we.setext,hr:we.hr,taskList:we.taskList,list:we.list,listStack:we.listStack.slice(0),quote:we.quote,indentedCode:we.indentedCode,trailingSpace:we.trailingSpace,trailingSpaceNewLine:we.trailingSpaceNewLine,md_inside:we.md_inside,fencedEndRE:we.fencedEndRE}},token:function(we,he){if(he.formatting=!1,we!=he.thisLine.stream){if(he.header=0,he.hr=!1,we.match(/^\s*$/,!0))return Ee(he),null;if(he.prevLine=he.thisLine,he.thisLine={stream:we},he.taskList=!1,he.trailingSpace=0,he.trailingSpaceNewLine=!1,!he.localState&&(he.f=he.block,he.f!=Ue)){var qe=we.match(/^\s*/,!0)[0].replace(/\t/g,ut).length;if(he.indentation=qe,he.indentationDiff=null,qe>0)return null}}return he.f(we,he)},innerMode:function(we){return we.block==Ue?{state:we.htmlState,mode:Be}:we.localState?{state:we.localState,mode:we.localMode}:{state:we,mode:At}},indent:function(we,he,qe){return we.block==Ue&&Be.indent?Be.indent(we.htmlState,he,qe):we.localState&&we.localMode.indent?we.localMode.indent(we.localState,he,qe):re.Pass},blankLine:Ee,getType:ge,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return At},"xml"),re.defineMIME("text/markdown","markdown"),re.defineMIME("text/x-markdown","markdown")})},98101:function(wn,un,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(Be){Be=Be.toLowerCase();for(var Se=0;Se<re.modeInfo.length;Se++){var fe=re.modeInfo[Se];if(fe.mime==Be)return fe;if(fe.mimes){for(var Oe=0;Oe<fe.mimes.length;Oe++)if(fe.mimes[Oe]==Be)return fe}}if(/\+xml$/.test(Be))return re.findModeByMIME("application/xml");if(/\+json$/.test(Be))return re.findModeByMIME("application/json")},re.findModeByExtension=function(Be){Be=Be.toLowerCase();for(var Se=0;Se<re.modeInfo.length;Se++){var fe=re.modeInfo[Se];if(fe.ext){for(var Oe=0;Oe<fe.ext.length;Oe++)if(fe.ext[Oe]==Be)return fe}}},re.findModeByFileName=function(Be){for(var Se=0;Se<re.modeInfo.length;Se++){var fe=re.modeInfo[Se];if(fe.file&&fe.file.test(Be))return fe}var Oe=Be.lastIndexOf("."),be=Oe>-1&&Be.substring(Oe+1,Be.length);if(be)return re.findModeByExtension(be)},re.findModeByName=function(Be){Be=Be.toLowerCase();for(var Se=0;Se<re.modeInfo.length;Se++){var fe=re.modeInfo[Se];if(fe.name.toLowerCase()==Be)return fe;if(fe.alias){for(var Oe=0;Oe<fe.alias.length;Oe++)if(fe.alias[Oe].toLowerCase()==Be)return fe}}}})},67549:function(wn,un,se){(function(re){re(se(89780))})(function(re){"use strict";re.defineMode("stex",function(Ne,Te){"use strict";function Be(Ie,Ye){Ie.cmdState.push(Ye)}function Se(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 Ve=Ye[He];if(Ve.name!="DEFAULT")return Ve}return{styleIdentifier:function(){return null}}}function be(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=be("importmodule","tag",["string","builtin"]),Pe.documentclass=be("documentclass","tag",["","atom"]),Pe.usepackage=be("usepackage","tag",["atom"]),Pe.begin=be("begin","tag",["atom"]),Pe.end=be("end","tag",["atom"]),Pe.label=be("label","tag",["atom"]),Pe.ref=be("ref","tag",["atom"]),Pe.eqref=be("eqref","tag",["atom"]),Pe.cite=be("cite","tag",["atom"]),Pe.bibitem=be("bibitem","tag",["atom"]),Pe.Bibitem=be("Bibitem","tag",["atom"]),Pe.RBibitem=be("RBibitem","tag",["atom"]),Pe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function le(Ie,Ye){Ie.f=Ye}function nt(Ie,Ye){var He;if(Ie.match(/^\\[a-zA-Z@]+/)){var Ve=Ie.current().slice(1);return He=Pe.hasOwnProperty(Ve)?Pe[Ve]:Pe.DEFAULT,He=new He,Be(Ye,He),le(Ye,Ke),He.style}if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/\\]/))return"tag";if(Ie.match("\\["))return le(Ye,function(at,rt){return ye(at,rt,"\\]")}),"keyword";if(Ie.match("\\("))return le(Ye,function(at,rt){return ye(at,rt,"\\)")}),"keyword";if(Ie.match("$$"))return le(Ye,function(at,rt){return ye(at,rt,"$$")}),"keyword";if(Ie.match("$"))return le(Ye,function(at,rt){return ye(at,rt,"$")}),"keyword";var ut=Ie.next();if(ut=="%")return Ie.skipToEnd(),"comment";if(ut=="}"||ut=="]"){if(He=Se(Ye),He)He.closeBracket(ut),le(Ye,Ke);else return"error";return"bracket"}else return ut=="{"||ut=="["?(He=Pe.DEFAULT,He=new He,Be(Ye,He),"bracket"):/\d/.test(ut)?(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 le(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 Ve=Ie.next();return Ve=="{"||Ve=="}"||Ve=="["||Ve=="]"||Ve=="("||Ve==")"?"bracket":Ve=="%"?(Ie.skipToEnd(),"comment"):"error"}function Ke(Ie,Ye){var He=Ie.peek(),Ve;return He=="{"||He=="["?(Ve=Se(Ye),Ve.openBracket(He),Ie.eat(He),le(Ye,nt),"bracket"):/[ \t\r]/.test(He)?(Ie.eat(He),null):(le(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(wn,un,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(Be,Se){var fe=Be.indentUnit,Oe={},be=Se.htmlMode?Ne:Te;for(var Pe in be)Oe[Pe]=be[Pe];for(var Pe in Se)Oe[Pe]=Se[Pe];var le,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"):(le=Ze.eat("/")?"closeTag":"openTag",_e.tokenize=Ke,"tag bracket");if(Je=="&"){var Nt;return Ze.eat("#")?Ze.eat("x")?Nt=Ze.eatWhile(/[a-fA-F\d]/)&&Ze.eat(";"):Nt=Ze.eatWhile(/[\d]/)&&Ze.eat(";"):Nt=Ze.eatWhile(/[\w\.\-:]/)&&Ze.eat(";"),Nt?"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,le=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return le="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 Ve(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 ut(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;ut(Ze)}}function rt(Ze,_e,Re){return Ze=="openTag"?(Re.tagStart=_e.column(),Fe):Ze=="closeTag"?Ee:rt}function Fe(Ze,_e,Re){return Ze=="word"?(Re.tagName=_e.current(),nt="tag",dt):Oe.allowMissingTagName&&Ze=="endTag"?(nt="tag bracket",dt(Ze,_e,Re)):(nt="error",Fe)}function Ee(Ze,_e,Re){if(Ze=="word"){var Je=_e.current();return Re.context&&Re.context.tagName!=Je&&Oe.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&ut(Re),Re.context&&Re.context.tagName==Je||Oe.matchClosing===!1?(nt="tag",Ge):(nt="tag error",Ue)}else return Oe.allowMissingTagName&&Ze=="endTag"?(nt="tag bracket",Ge(Ze,_e,Re)):(nt="error",Ue)}function Ge(Ze,_e,Re){return Ze!="endTag"?(nt="error",Ge):(ut(Re),rt)}function Ue(Ze,_e,Re){return nt="error",Ge(Ze,_e,Re)}function dt(Ze,_e,Re){if(Ze=="word")return nt="attribute",ge;if(Ze=="endTag"||Ze=="selfcloseTag"){var Je=Re.tagName,Nt=Re.tagStart;return Re.tagName=Re.tagStart=null,Ze=="selfcloseTag"||Oe.autoSelfClosers.hasOwnProperty(Je)?at(Re,Je):(at(Re,Je),Re.context=new Ve(Re,Je,Nt==Re.indented)),rt}return nt="error",dt}function ge(Ze,_e,Re){return Ze=="equals"?ke:(Oe.allowMissing||(nt="error"),dt(Ze,_e,Re))}function ke(Ze,_e,Re){return Ze=="string"?ze:Ze=="word"&&Oe.allowUnquoted?(nt="string",dt):(nt="error",dt(Ze,_e,Re))}function ze(Ze,_e,Re){return Ze=="string"?ze:dt(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;le=null;var Re=_e.tokenize(Ze,_e);return(Re||le)&&Re!="comment"&&(nt=null,_e.state=_e.state(le||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 Nt=_e&&/^<(\/)?([\w_:\.-]*)/.exec(_e);if(Nt&&Nt[1])for(;Je;)if(Je.tagName==Nt[2]){Je=Je.prev;break}else if(Oe.implicitlyClosed.hasOwnProperty(Je.tagName))Je=Je.prev;else break;else if(Nt)for(;Je;){var ht=Oe.contextGrabbers[Je.tagName];if(ht&&ht.hasOwnProperty(Nt[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==ke&&(Ze.state=dt)},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(wn,un){un.read=function(se,re,Ne,Te,Be){var Se,fe,Oe=Be*8-Te-1,be=(1<<Oe)-1,Pe=be>>1,le=-7,nt=Ne?Be-1:0,ye=Ne?-1:1,Ke=se[re+nt];for(nt+=ye,Se=Ke&(1<<-le)-1,Ke>>=-le,le+=Oe;le>0;Se=Se*256+se[re+nt],nt+=ye,le-=8);for(fe=Se&(1<<-le)-1,Se>>=-le,le+=Te;le>0;fe=fe*256+se[re+nt],nt+=ye,le-=8);if(Se===0)Se=1-Pe;else{if(Se===be)return fe?NaN:(Ke?-1:1)*(1/0);fe=fe+Math.pow(2,Te),Se=Se-Pe}return(Ke?-1:1)*fe*Math.pow(2,Se-Te)},un.write=function(se,re,Ne,Te,Be,Se){var fe,Oe,be,Pe=Se*8-Be-1,le=(1<<Pe)-1,nt=le>>1,ye=Be===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ke=Te?0:Se-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=le):(fe=Math.floor(Math.log(re)/Math.LN2),re*(be=Math.pow(2,-fe))<1&&(fe--,be*=2),fe+nt>=1?re+=ye/be:re+=ye*Math.pow(2,1-nt),re*be>=2&&(fe++,be/=2),fe+nt>=le?(Oe=0,fe=le):fe+nt>=1?(Oe=(re*be-1)*Math.pow(2,Be),fe=fe+nt):(Oe=re*Math.pow(2,nt-1)*Math.pow(2,Be),fe=0));Be>=8;se[Ne+Ke]=Oe&255,Ke+=Ie,Oe/=256,Be-=8);for(fe=fe<<Be|Oe,Pe+=Be;Pe>0;se[Ne+Ke]=fe&255,Ke+=Ie,fe/=256,Pe-=8);se[Ne+Ke-Ie]|=Ye*128}},2859:function(wn,un,se){"use strict";se.d(un,{hP:function(){return wt}});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(St){try{De(ee.next(St))}catch(je){te(je)}}function me(St){try{De(ee.throw(St))}catch(je){te(je)}}function De(St){var je;St.done?ne(St.value):(je=St.value,je instanceof z?je:new z(function(et){et(je)})).then(ue,me)}De((ee=ee.apply(ce,ie||[])).next())})}function Be(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(De){return function(St){return function(je){if(z)throw new TypeError("Generator is already executing.");for(;ue;)try{if(z=1,ee&&(ne=2&je[0]?ee.return:je[0]?ee.throw||((ne=ee.return)&&ne.call(ee),0):ee.next)&&!(ne=ne.call(ee,je[1])).done)return ne;switch(ee=0,ne&&(je=[2&je[0],ne.value]),je[0]){case 0:case 1:ne=je;break;case 4:return ue.label++,{value:je[1],done:!1};case 5:ue.label++,ee=je[1],je=[0];continue;case 7:je=ue.ops.pop(),ue.trys.pop();continue;default:if(ne=ue.trys,!((ne=ne.length>0&&ne[ne.length-1])||je[0]!==6&&je[0]!==2)){ue=0;continue}if(je[0]===3&&(!ne||je[1]>ne[0]&&je[1]<ne[3])){ue.label=je[1];break}if(je[0]===6&&ue.label<ne[1]){ue.label=ne[1],ne=je;break}if(ne&&ue.label<ne[2]){ue.label=ne[2],ue.ops.push(je);break}ne[2]&&ue.ops.pop(),ue.trys.pop();continue}je=ie.call(ce,ue)}catch(et){je=[6,et],ee=0}finally{z=ne=0}if(5&je[0])throw je[1];return{value:je[0]?je[1]:void 0,done:!0}}([De,St])}}}function Se(){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 De=document.createElementNS("http://www.w3.org/2000/svg","marker");return ce.setAttributes(De,[["id",ie],["orient",z],["markerWidth",ee.toString()],["markerHeight",ne.toString()],["refX",te.toString()],["refY",ue.toString()]]),De.appendChild(me),De},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}(),be=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 De=me.outerHTML,St=ue.getContext("2d");ne.markersOnly!==!0&&St.drawImage(ie,0,0,ue.width,ue.height);var je=window.URL,et=new Image(ue.width,ue.height);et.setAttribute("crossOrigin","anonymous");var lt=new Blob([De],{type:"image/svg+xml"}),mt=je.createObjectURL(lt);et.onload=function(){St.drawImage(et,0,0),je.revokeObjectURL(mt);var Rt=ue.toDataURL(ne.imageType,ne.imageQuality);te(Rt)},et.src=mt})},ce}(),Pe=function(){},le=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,De;te.className=z.toolboxButtonStyleClass.name+" "+(ue===ee?""+((me=z.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&me!==void 0?me:z.toolboxActiveButtonStyleColorsClass.name):""+((De=z.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&De!==void 0?De: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),Ve=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}(),ut=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}(),Fe=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 ut,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,De=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,De,ne),this.positionGrip(this.controlGrips.centerLeft.visual,ee,ue),this.positionGrip(this.controlGrips.centerRight.visual,De,ue),this.positionGrip(this.controlGrips.bottomLeft.visual,ee,me),this.positionGrip(this.controlGrips.bottomCenter.visual,te,me),this.positionGrip(this.controlGrips.bottomRight.visual,De,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}(Ve),Ee=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}(Fe),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 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 De=document.createElement("hr");De.style.minWidth="20px",De.style.border="0px",De.style.borderTop=ne+"px solid "+z.uiStyleSettings.toolboxColor,De.style.flexGrow="2",me.appendChild(De),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),Ue=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),dt=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 Ge("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ue("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}(Ee),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"},ke=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}(Ve),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 Ge("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ue("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}(ke),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}(Fe),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 Ge("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],De=!1,St=0;St<this.canvasElement.height;St++)for(var je=0;je<this.canvasElement.width;je++)z.data[St*this.canvasElement.width*4+4*je+3]>0&&(De=!0,St<te&&(te=St),je<ne&&(ne=je),St>me&&(me=St),je>ue&&(ue=je));if(De){this.left=ne/this.pixelRatio,this.top=te/this.pixelRatio,this.width=(ue-ne)/this.pixelRatio,this.height=(me-te)/this.pixelRatio;var et=document.createElement("canvas");et.width=ue-ne,et.height=me-te,et.getContext("2d").putImageData(this.canvasContext.getImageData(ne,te,ue-ne,me-te),0,0),this.drawingImgUrl=et.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}(Fe),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 De="both";switch(me){case 0:De="both";break;case 1:De="start";break;case 2:De="end";break;case 3:De="none"}var St=document.createElement("div");if(St.style.display="flex",St.style.flexGrow="2",St.style.alignItems="center",St.style.justifyContent="space-between",St.style.padding="5px",St.style.borderWidth="2px",St.style.borderStyle="solid",St.style.borderColor=De===te.currentType?te.uiStyleSettings.toolboxAccentColor:"transparent",St.addEventListener("click",function(){z.setCurrentType(De,St)}),ee.appendChild(St),De==="both"||De==="start"){var je=document.createElement("div");je.style.display="flex",je.style.alignItems="center",je.style.minHeight="20px",je.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>`,je.style.marginLeft="5px",St.appendChild(je)}var et=document.createElement("div");et.style.display="flex",et.style.alignItems="center",et.style.minHeight="20px",et.style.flexGrow="2";var lt=document.createElement("hr");if(lt.style.minWidth="20px",lt.style.border="0px",lt.style.borderTop="3px solid "+(te.uiStyleSettings!==void 0?te.uiStyleSettings.toolboxColor:"#eeeeee"),lt.style.flexGrow="2",et.appendChild(lt),St.appendChild(et),De==="both"||De==="end"){var mt=document.createElement("div");mt.style.display="flex",mt.style.alignItems="center",mt.style.minHeight="20px",mt.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>`,mt.style.marginRight="5px",St.appendChild(mt)}te.typeBoxes.push(St)},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),Nt=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}(Ee),gt=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),At=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 gt("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),we='<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,we),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),Lt=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",Se(ne.defaultColorSet,["transparent"]),ne.defaultColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.fillPanel=new He("Fill color",Se(ne.defaultColorSet,["transparent"]),te.fillColor,he),te.fillPanel.onColorChanged=te.setFillColor,te.strokeWidthPanel=new Ge("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ue("Line style",ne.defaultStrokeDasharrays,ne.defaultStrokeDasharray),te.strokeStylePanel.onStyleChanged=te.setStrokeDasharray,te.opacityPanel=new gt("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}(Fe),Tt=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}(Lt),bt=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}(),$e=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 Ge("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ue("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}(ke),Ot=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",Se(ne.defaultColorSet,["transparent"]),te.strokeColor),te.strokePanel.onColorChanged=te.setStrokeColor,te.fillPanel=new He("Fill color",Se(ne.defaultColorSet,["transparent"]),te.fillColor,he),te.fillPanel.onColorChanged=te.setFillColor,te.strokeWidthPanel=new Ge("Line width",ne.defaultStrokeWidths,ne.defaultStrokeWidth),te.strokeWidthPanel.onWidthChanged=te.setStrokeWidth,te.strokeStylePanel=new Ue("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,we),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}(Fe),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),Ft=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}(),wt=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 bt,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 Ft,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ce.instanceCounter++,this.styles=new le(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[dt,Re,Nt,_e,Xe,Lt,At,qe,Tt,ht,ze,$e,Ot]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[dt,Re,Nt,_e,Lt,At,qe]},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"BASIC_MARKER_TYPES",{get:function(){return[dt,Re,Nt,_e,At]},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 Be(this,function(z){switch(z.label){case 0:return this.setCurrentMarker(),(ie=new be).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(De){return De(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 Be(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(wn,un,se){"use strict";se.d(un,{Z:function(){return _e}});var re=se(27247),Ne=se(11913),Te=se(43403),Be=se(34280),Se=se(59301),fe=Se.createContext(null),Oe=Se.createContext({}),be=fe,Pe=se(74430),le=se(32855),nt=se(92310),ye=se.n(nt),Ke=se(77900),Ie=se(10228),Ye=se(26112),He=se(43079),Ve=se(8654),ut=["prefixCls","className","containerRef"],at=function(Je){var Nt=Je.prefixCls,ht=Je.className,gt=Je.containerRef,At=(0,He.Z)(Je,ut),we=Se.useContext(Oe),he=we.panel,qe=(0,Ve.x1)(he,gt);return Se.createElement("div",(0,le.Z)({className:ye()("".concat(Nt,"-content"),ht),role:"dialog",ref:qe},(0,Ye.Z)(Je,{aria:!0}),{"aria-modal":"true"},At))},rt=at,Fe=se(48736);function Ee(Re){return typeof Re=="string"&&String(Number(Re))===Re?((0,Fe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Re)):Re}function Ge(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 Ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function dt(Re,Je){var Nt,ht,gt,At=Re.prefixCls,we=Re.open,he=Re.placement,qe=Re.inline,Lt=Re.push,Tt=Re.forceRender,Xe=Re.autoFocus,bt=Re.keyboard,$e=Re.classNames,Ot=Re.rootClassName,We=Re.rootStyle,yt=Re.zIndex,Qe=Re.className,Ft=Re.id,wt=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,De=Re.maskStyle,St=Re.afterOpenChange,je=Re.onClose,et=Re.onMouseEnter,lt=Re.onMouseOver,mt=Re.onMouseLeave,Rt=Re.onClick,qt=Re.onKeyDown,Wt=Re.onKeyUp,nn=Re.styles,Ut=Re.drawerRender,Dt=Se.useRef(),ft=Se.useRef(),Zt=Se.useRef();Se.useImperativeHandle(Je,function(){return Dt.current});var Yt=function(jt){var dn=jt.keyCode,cn=jt.shiftKey;switch(dn){case Ie.Z.TAB:{if(dn===Ie.Z.TAB){if(!cn&&document.activeElement===Zt.current){var Et;(Et=ft.current)===null||Et===void 0||Et.focus({preventScroll:!0})}else if(cn&&document.activeElement===ft.current){var en;(en=Zt.current)===null||en===void 0||en.focus({preventScroll:!0})}}break}case Ie.Z.ESC:{je&&bt&&(jt.stopPropagation(),je(jt));break}}};Se.useEffect(function(){if(we&&Xe){var Bt;(Bt=Dt.current)===null||Bt===void 0||Bt.focus({preventScroll:!0})}},[we]);var mn=Se.useState(!1),Mn=(0,Ne.Z)(mn,2),Gn=Mn[0],yn=Mn[1],qn=Se.useContext(be),$n;typeof Lt=="boolean"?$n=Lt?{}:{distance:0}:$n=Lt||{};var dr=(Nt=(ht=(gt=$n)===null||gt===void 0?void 0:gt.distance)!==null&&ht!==void 0?ht:qn==null?void 0:qn.pushDistance)!==null&&Nt!==void 0?Nt:180,Mr=Se.useMemo(function(){return{pushDistance:dr,push:function(){yn(!0)},pull:function(){yn(!1)}}},[dr]);Se.useEffect(function(){if(we){var Bt;qn==null||(Bt=qn.push)===null||Bt===void 0||Bt.call(qn)}else{var jt;qn==null||(jt=qn.pull)===null||jt===void 0||jt.call(qn)}},[we]),Se.useEffect(function(){return function(){var Bt;qn==null||(Bt=qn.pull)===null||Bt===void 0||Bt.call(qn)}},[]);var ar=ne&&Se.createElement(Ke.default,(0,le.Z)({key:"mask"},ue,{visible:we}),function(Bt,jt){var dn=Bt.className,cn=Bt.style;return Se.createElement("div",{className:ye()("".concat(At,"-mask"),dn,$e==null?void 0:$e.mask,me),style:(0,re.Z)((0,re.Z)((0,re.Z)({},cn),De),nn==null?void 0:nn.mask),onClick:te&&we?je:void 0,ref:jt})}),Tr=typeof ce=="function"?ce(he):ce,Pr={};if(Gn&&dr)switch(he){case"top":Pr.transform="translateY(".concat(dr,"px)");break;case"bottom":Pr.transform="translateY(".concat(-dr,"px)");break;case"left":Pr.transform="translateX(".concat(dr,"px)");break;default:Pr.transform="translateX(".concat(-dr,"px)");break}he==="left"||he==="right"?Pr.width=Ee(ie):Pr.height=Ee(z);var Hn={onMouseEnter:et,onMouseOver:lt,onMouseLeave:mt,onClick:Rt,onKeyDown:qt,onKeyUp:Wt},Rr=Se.createElement(Ke.default,(0,le.Z)({key:"panel"},Tr,{visible:we,forceRender:Tt,onVisibleChanged:function(jt){St==null||St(jt)},removeOnLeave:!1,leavedClassName:"".concat(At,"-content-wrapper-hidden")}),function(Bt,jt){var dn=Bt.className,cn=Bt.style,Et=Se.createElement(rt,(0,le.Z)({id:Ft,containerRef:jt,prefixCls:At,className:ye()(Qe,$e==null?void 0:$e.content),style:(0,re.Z)((0,re.Z)({},wt),nn==null?void 0:nn.content)},(0,Ye.Z)(Re,{aria:!0}),Hn),ee);return Se.createElement("div",(0,le.Z)({className:ye()("".concat(At,"-content-wrapper"),$e==null?void 0:$e.wrapper,dn),style:(0,re.Z)((0,re.Z)((0,re.Z)({},Pr),cn),nn==null?void 0:nn.wrapper)},(0,Ye.Z)(Re,{data:!0})),Ut?Ut(Et):Et)}),Wr=(0,re.Z)({},We);return yt&&(Wr.zIndex=yt),Se.createElement(be.Provider,{value:Mr},Se.createElement("div",{className:ye()(At,"".concat(At,"-").concat(he),Ot,(0,Pe.Z)((0,Pe.Z)({},"".concat(At,"-open"),we),"".concat(At,"-inline"),qe)),style:Wr,tabIndex:-1,ref:Dt,onKeyDown:Yt},ar,Se.createElement("div",{tabIndex:0,ref:ft,style:Ue,"aria-hidden":"true","data-sentinel":"start"}),Rr,Se.createElement("div",{tabIndex:0,ref:Zt,style:Ue,"aria-hidden":"true","data-sentinel":"end"})))}var ge=Se.forwardRef(dt),ke=ge,ze=function(Je){var Nt=Je.open,ht=Nt===void 0?!1:Nt,gt=Je.prefixCls,At=gt===void 0?"rc-drawer":gt,we=Je.placement,he=we===void 0?"right":we,qe=Je.autoFocus,Lt=qe===void 0?!0:qe,Tt=Je.keyboard,Xe=Tt===void 0?!0:Tt,bt=Je.width,$e=bt===void 0?378:bt,Ot=Je.mask,We=Ot===void 0?!0:Ot,yt=Je.maskClosable,Qe=yt===void 0?!0:yt,Ft=Je.getContainer,wt=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,De=Je.panelRef,St=Se.useState(!1),je=(0,Ne.Z)(St,2),et=je[0],lt=je[1],mt=Se.useState(!1),Rt=(0,Ne.Z)(mt,2),qt=Rt[0],Wt=Rt[1];(0,Be.Z)(function(){Wt(!0)},[]);var nn=qt?ht:!1,Ut=Se.useRef(),Dt=Se.useRef();(0,Be.Z)(function(){nn&&(Dt.current=document.activeElement)},[nn]);var ft=function(Gn){var yn;if(lt(Gn),ce==null||ce(Gn),!Gn&&Dt.current&&!((yn=Ut.current)!==null&&yn!==void 0&&yn.contains(Dt.current))){var qn;(qn=Dt.current)===null||qn===void 0||qn.focus({preventScroll:!0})}},Zt=Se.useMemo(function(){return{panel:De}},[De]);if(!wt&&!et&&!nn&&ie)return null;var Yt={onMouseEnter:z,onMouseOver:ee,onMouseLeave:ne,onClick:te,onKeyDown:ue,onKeyUp:me},mn=(0,re.Z)((0,re.Z)({},Je),{},{open:nn,prefixCls:At,placement:he,autoFocus:Lt,keyboard:Xe,width:$e,mask:We,maskClosable:Qe,inline:Ft===!1,afterOpenChange:ft,ref:Ut},Yt);return Se.createElement(Oe.Provider,{value:Zt},Se.createElement(Te.Z,{open:nn||wt||et,autoDestroy:!1,getContainer:Ft,autoLock:We&&(nn||et)},Se.createElement(ke,mn)))},Ze=ze,_e=Ze},23425:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ue}});var re=se(74430),Ne=se(32855),Te=se(34666),Be=se(27247),Se=se(11913),fe=se(92310),Oe=se.n(fe),be=se(18929),Pe=se(10228),le=se(26112),nt=se(48736),ye=se(59301),Ke=se(17119),Ie=[10,20,50,100],Ye=function(ge){var ke=ge.pageSizeOptions,ze=ke===void 0?Ie:ke,Ze=ge.locale,_e=ge.changeSize,Re=ge.pageSize,Je=ge.goButton,Nt=ge.quickGo,ht=ge.rootPrefixCls,gt=ge.disabled,At=ge.buildOptionText,we=ge.showSizeChanger,he=ge.sizeChangerRender,qe=ye.useState(""),Lt=(0,Se.Z)(qe,2),Tt=Lt[0],Xe=Lt[1],bt=function(){return!Tt||Number.isNaN(Tt)?void 0:Number(Tt)},$e=typeof At=="function"?At:function(z){return"".concat(z," ").concat(Ze.items_per_page)},Ot=function(ee){Xe(ee.target.value)},We=function(ee){Je||Tt===""||(Xe(""),!(ee.relatedTarget&&(ee.relatedTarget.className.indexOf("".concat(ht,"-item-link"))>=0||ee.relatedTarget.className.indexOf("".concat(ht,"-item"))>=0))&&(Nt==null||Nt(bt())))},yt=function(ee){Tt!==""&&(ee.keyCode===Pe.Z.ENTER||ee.type==="click")&&(Xe(""),Nt==null||Nt(bt()))},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})},Ft="".concat(ht,"-options");if(!we&&!Nt)return null;var wt=null,ce=null,ie=null;return we&&he&&(wt=he({disabled:gt,size:Re,onSizeChange:function(ee){_e==null||_e(Number(ee))},"aria-label":Ze.page_size,className:"".concat(Ft,"-size-changer"),options:Qe().map(function(z){return{label:$e(z),value:z}})})),Nt&&(Je&&(ie=typeof Je=="boolean"?ye.createElement("button",{type:"button",onClick:yt,onKeyUp:yt,disabled:gt,className:"".concat(Ft,"-quick-jumper-button")},Ze.jump_to_confirm):ye.createElement("span",{onClick:yt,onKeyUp:yt},Je)),ce=ye.createElement("div",{className:"".concat(Ft,"-quick-jumper")},Ze.jump_to,ye.createElement("input",{disabled:gt,type:"text",value:Tt,onChange:Ot,onKeyUp:yt,onBlur:We,"aria-label":Ze.page}),Ze.page,ie)),ye.createElement("li",{className:Ft},wt,ce)},He=Ye,Ve=function(ge){var ke=ge.rootPrefixCls,ze=ge.page,Ze=ge.active,_e=ge.className,Re=ge.showTitle,Je=ge.onClick,Nt=ge.onKeyPress,ht=ge.itemRender,gt="".concat(ke,"-item"),At=Oe()(gt,"".concat(gt,"-").concat(ze),(0,re.Z)((0,re.Z)({},"".concat(gt,"-active"),Ze),"".concat(gt,"-disabled"),!ze),_e),we=function(){Je(ze)},he=function(Tt){Nt(Tt,Je,ze)},qe=ht(ze,"page",ye.createElement("a",{rel:"nofollow"},ze));return qe?ye.createElement("li",{title:Re?String(ze):null,className:At,onClick:we,onKeyDown:he,tabIndex:0},qe):null},ut=Ve,at=function(ge,ke,ze){return ze};function rt(){}function Fe(dt){var ge=Number(dt);return typeof ge=="number"&&!Number.isNaN(ge)&&isFinite(ge)&&Math.floor(ge)===ge}function Ee(dt,ge,ke){var ze=typeof dt=="undefined"?ge:dt;return Math.floor((ke-1)/ze)+1}var Ge=function(ge){var ke=ge.prefixCls,ze=ke===void 0?"rc-pagination":ke,Ze=ge.selectPrefixCls,_e=Ze===void 0?"rc-select":Ze,Re=ge.className,Je=ge.current,Nt=ge.defaultCurrent,ht=Nt===void 0?1:Nt,gt=ge.total,At=gt===void 0?0:gt,we=ge.pageSize,he=ge.defaultPageSize,qe=he===void 0?10:he,Lt=ge.onChange,Tt=Lt===void 0?rt:Lt,Xe=ge.hideOnSinglePage,bt=ge.align,$e=ge.showPrevNextJumpers,Ot=$e===void 0?!0:$e,We=ge.showQuickJumper,yt=ge.showLessItems,Qe=ge.showTitle,Ft=Qe===void 0?!0:Qe,wt=ge.onShowSizeChange,ce=wt===void 0?rt:wt,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,De=ge.showTotal,St=ge.showSizeChanger,je=St===void 0?At>te:St,et=ge.sizeChangerRender,lt=ge.pageSizeOptions,mt=ge.itemRender,Rt=mt===void 0?at:mt,qt=ge.jumpPrevIcon,Wt=ge.jumpNextIcon,nn=ge.prevIcon,Ut=ge.nextIcon,Dt=ye.useRef(null),ft=(0,be.Z)(10,{value:we,defaultValue:qe}),Zt=(0,Se.Z)(ft,2),Yt=Zt[0],mn=Zt[1],Mn=(0,be.Z)(1,{value:Je,defaultValue:ht,postState:function(jr){return Math.max(1,Math.min(jr,Ee(void 0,Yt,At)))}}),Gn=(0,Se.Z)(Mn,2),yn=Gn[0],qn=Gn[1],$n=ye.useState(yn),dr=(0,Se.Z)($n,2),Mr=dr[0],ar=dr[1];(0,ye.useEffect)(function(){ar(yn)},[yn]);var Tr=Tt!==rt,Pr="current"in ge,Hn=Math.max(1,yn-(yt?3:5)),Rr=Math.min(Ee(void 0,Yt,At),yn+(yt?3:5));function Wr(kr,jr){var ri=kr||ye.createElement("button",{type:"button","aria-label":jr,className:"".concat(ze,"-item-link")});return typeof kr=="function"&&(ri=ye.createElement(kr,(0,Be.Z)({},ge))),ri}function Bt(kr){var jr=kr.target.value,ri=Ee(void 0,Yt,At),bi;return jr===""?bi=jr:Number.isNaN(Number(jr))?bi=Mr:jr>=ri?bi=ri:bi=Number(jr),bi}function jt(kr){return Fe(kr)&&kr!==yn&&Fe(At)&&At>0}var dn=At>Yt?We:!1;function cn(kr){(kr.keyCode===Pe.Z.UP||kr.keyCode===Pe.Z.DOWN)&&kr.preventDefault()}function Et(kr){var jr=Bt(kr);switch(jr!==Mr&&ar(jr),kr.keyCode){case Pe.Z.ENTER:On(jr);break;case Pe.Z.UP:On(jr-1);break;case Pe.Z.DOWN:On(jr+1);break;default:break}}function en(kr){On(Bt(kr))}function kn(kr){var jr=Ee(kr,Yt,At),ri=yn>jr&&jr!==0?jr:yn;mn(kr),ar(ri),ce==null||ce(yn,kr),qn(ri),Tt==null||Tt(ri,kr)}function On(kr){if(jt(kr)&&!ue){var jr=Ee(void 0,Yt,At),ri=kr;return kr>jr?ri=jr:kr<1&&(ri=1),ri!==Mr&&ar(ri),qn(ri),Tt==null||Tt(ri,Yt),ri}return yn}var zn=yn>1,Qn=yn<Ee(void 0,Yt,At);function fr(){zn&&On(yn-1)}function hr(){Qn&&On(yn+1)}function pr(){On(Hn)}function Ar(){On(Rr)}function Ln(kr,jr){if(kr.key==="Enter"||kr.charCode===Pe.Z.ENTER||kr.keyCode===Pe.Z.ENTER){for(var ri=arguments.length,bi=new Array(ri>2?ri-2:0),yi=2;yi<ri;yi++)bi[yi-2]=arguments[yi];jr.apply(void 0,bi)}}function _t(kr){Ln(kr,fr)}function Xn(kr){Ln(kr,hr)}function Nr(kr){Ln(kr,pr)}function Hr(kr){Ln(kr,Ar)}function ct(kr){var jr=Rt(kr,"prev",Wr(nn,"prev page"));return ye.isValidElement(jr)?ye.cloneElement(jr,{disabled:!zn}):jr}function Ct(kr){var jr=Rt(kr,"next",Wr(Ut,"next page"));return ye.isValidElement(jr)?ye.cloneElement(jr,{disabled:!Qn}):jr}function Tn(kr){(kr.type==="click"||kr.keyCode===Pe.Z.ENTER)&&On(Mr)}var En=null,Pt=(0,le.Z)(ge,{aria:!0,data:!0}),Sn=De&&ye.createElement("li",{className:"".concat(ze,"-total-text")},De(At,[At===0?0:(yn-1)*Yt+1,yn*Yt>At?At:yn*Yt])),Wn=null,Vn=Ee(void 0,Yt,At);if(Xe&&At<=Yt)return null;var er=[],Un={rootPrefixCls:ze,onClick:On,onKeyPress:Ln,showTitle:Ft,itemRender:Rt,page:-1},tr=yn-1>0?yn-1:0,kt=yn+1<Vn?yn+1:Vn,Vr=We&&We.goButton,ir=(0,Te.Z)(me)==="object"?me.readOnly:!me,Sr=Vr,Ir=null;me&&(Vr&&(typeof Vr=="boolean"?Sr=ye.createElement("button",{type:"button",onClick:Tn,onKeyUp:Tn},z.jump_to_confirm):Sr=ye.createElement("span",{onClick:Tn,onKeyUp:Tn},Vr),Sr=ye.createElement("li",{title:Ft?"".concat(z.jump_to).concat(yn,"/").concat(Vn):null,className:"".concat(ze,"-simple-pager")},Sr)),Ir=ye.createElement("li",{title:Ft?"".concat(yn,"/").concat(Vn):null,className:"".concat(ze,"-simple-pager")},ir?Mr:ye.createElement("input",{type:"text","aria-label":z.jump_to,value:Mr,disabled:ue,onKeyDown:cn,onKeyUp:Et,onChange:Et,onBlur:en,size:3}),ye.createElement("span",{className:"".concat(ze,"-slash")},"/"),Vn));var Ur=yt?1:2;if(Vn<=3+Ur*2){Vn||er.push(ye.createElement(ut,(0,Ne.Z)({},Un,{key:"noPager",page:1,className:"".concat(ze,"-item-disabled")})));for(var Jr=1;Jr<=Vn;Jr+=1)er.push(ye.createElement(ut,(0,Ne.Z)({},Un,{key:Jr,page:Jr,active:yn===Jr})))}else{var Ai=yt?z.prev_3:z.prev_5,ui=yt?z.next_3:z.next_5,ei=Rt(Hn,"jump-prev",Wr(qt,"prev page")),Si=Rt(Rr,"jump-next",Wr(Wt,"next page"));Ot&&(En=ei?ye.createElement("li",{title:Ft?Ai:null,key:"prev",onClick:pr,tabIndex:0,onKeyDown:Nr,className:Oe()("".concat(ze,"-jump-prev"),(0,re.Z)({},"".concat(ze,"-jump-prev-custom-icon"),!!qt))},ei):null,Wn=Si?ye.createElement("li",{title:Ft?ui:null,key:"next",onClick:Ar,tabIndex:0,onKeyDown:Hr,className:Oe()("".concat(ze,"-jump-next"),(0,re.Z)({},"".concat(ze,"-jump-next-custom-icon"),!!Wt))},Si):null);var ti=Math.max(1,yn-Ur),Fi=Math.min(yn+Ur,Vn);yn-1<=Ur&&(Fi=1+Ur*2),Vn-yn<=Ur&&(ti=Vn-Ur*2);for(var Ki=ti;Ki<=Fi;Ki+=1)er.push(ye.createElement(ut,(0,Ne.Z)({},Un,{key:Ki,page:Ki,active:yn===Ki})));if(yn-1>=Ur*2&&yn!==3&&(er[0]=ye.cloneElement(er[0],{className:Oe()("".concat(ze,"-item-after-jump-prev"),er[0].props.className)}),er.unshift(En)),Vn-yn>=Ur*2&&yn!==Vn-2){var Oi=er[er.length-1];er[er.length-1]=ye.cloneElement(Oi,{className:Oe()("".concat(ze,"-item-before-jump-next"),Oi.props.className)}),er.push(Wn)}ti!==1&&er.unshift(ye.createElement(ut,(0,Ne.Z)({},Un,{key:1,page:1}))),Fi!==Vn&&er.push(ye.createElement(ut,(0,Ne.Z)({},Un,{key:Vn,page:Vn})))}var Ti=ct(tr);if(Ti){var Wi=!zn||!Vn;Ti=ye.createElement("li",{title:Ft?z.prev_page:null,onClick:fr,tabIndex:Wi?null:0,onKeyDown:_t,className:Oe()("".concat(ze,"-prev"),(0,re.Z)({},"".concat(ze,"-disabled"),Wi)),"aria-disabled":Wi},Ti)}var Ni=Ct(kt);if(Ni){var gi,Ui;me?(gi=!Qn,Ui=zn?0:null):(gi=!Qn||!Vn,Ui=gi?null:0),Ni=ye.createElement("li",{title:Ft?z.next_page:null,onClick:hr,tabIndex:Ui,onKeyDown:Xn,className:Oe()("".concat(ze,"-next"),(0,re.Z)({},"".concat(ze,"-disabled"),gi)),"aria-disabled":gi},Ni)}var Pi=Oe()(ze,Re,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(ze,"-start"),bt==="start"),"".concat(ze,"-center"),bt==="center"),"".concat(ze,"-end"),bt==="end"),"".concat(ze,"-simple"),me),"".concat(ze,"-disabled"),ue));return ye.createElement("ul",(0,Ne.Z)({className:Pi,style:ee,ref:Dt},Pt),Sn,Ti,me?Ir:er,Ni,ye.createElement(He,{locale:z,rootPrefixCls:ze,disabled:ue,selectPrefixCls:_e,changeSize:kn,pageSize:Yt,pageSizeOptions:lt,quickGo:dn?On:null,goButton:Sr,showSizeChanger:je,sizeChangerRender:et}))},Ue=Ge},48365:function(wn,un,se){"use strict";var re=se(56656),Ne=se.n(re),Te=se(27112),Be=se.n(Te),Se=se(54449),fe=se.n(Se),Oe=se(53501),be=se.n(Oe),Pe=se(36867),le=se.n(Pe),nt=se(71912),ye=se.n(nt),Ke=se(48228),Ie=se.n(Ke);Ne().extend(Ie()),Ne().extend(ye()),Ne().extend(Be()),Ne().extend(fe()),Ne().extend(be()),Ne().extend(le()),Ne().extend(function(at,rt){var Fe=rt.prototype,Ee=Fe.format;Fe.format=function(Ue){var dt=(Ue||"").replace("Wo","wo");return Ee.bind(this)(dt)}});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 Fe=Ye[rt];return Fe||rt.split("_")[0]},Ve=function(){},ut={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 Fe=rt.locale("en");return Fe.weekday()+Fe.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,Fe){return rt.add(Fe,"year")},addMonth:function(rt,Fe){return rt.add(Fe,"month")},addDate:function(rt,Fe){return rt.add(Fe,"day")},setYear:function(rt,Fe){return rt.year(Fe)},setMonth:function(rt,Fe){return rt.month(Fe)},setDate:function(rt,Fe){return rt.date(Fe)},setHour:function(rt,Fe){return rt.hour(Fe)},setMinute:function(rt,Fe){return rt.minute(Fe)},setSecond:function(rt,Fe){return rt.second(Fe)},setMillisecond:function(rt,Fe){return rt.millisecond(Fe)},isAfter:function(rt,Fe){return rt.isAfter(Fe)},isValidate:function(rt){return rt.isValid()},locale:{getWeekFirstDay:function(rt){return Ne()().locale(He(rt)).localeData().firstDayOfWeek()},getWeekFirstDate:function(rt,Fe){return Fe.locale(He(rt)).weekday(0)},getWeek:function(rt,Fe){return Fe.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,Fe,Ee){return Fe.locale(He(rt)).format(Ee)},parse:function(rt,Fe,Ee){for(var Ge=He(rt),Ue=0;Ue<Ee.length;Ue+=1){var dt=Ee[Ue],ge=Fe;if(dt.includes("wo")||dt.includes("Wo")){for(var ke=ge.split("-")[0],ze=ge.split("-")[1],Ze=Ne()(ke,"YYYY").startOf("year").locale(Ge),_e=0;_e<=52;_e+=1){var Re=Ze.add(_e,"week");if(Re.format("Wo")===ze)return Re}return Ve(),null}var Je=Ne()(ge,dt,!0).locale(Ge);if(Je.isValid())return Je}return Fe&&Ve(),null}}};un.Z=ut},8571:function(wn,un,se){"use strict";se.d(un,{Sq:function(){return tn},ZP:function(){return rn}});var re=se(32855),Ne=se(3300),Te=se(27247),Be=se(11913),Se=se(70425),fe=se(34280),Oe=se(2738),be=se(26112),Pe=se(48736),le=se(59301),nt=se(74430),ye=se(65030),Ke=se(92310),Ie=se.n(Ke);function Ye(oe,xe){return oe!==void 0?oe:xe?"bottomRight":"bottomLeft"}var He=le.createContext(null),Ve=He,ut={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(oe){var xe=oe.popupElement,Ce=oe.popupStyle,Le=oe.popupClassName,Me=oe.popupAlign,it=oe.transitionName,ot=oe.getPopupContainer,vt=oe.children,Ht=oe.range,Xt=oe.placement,xt=oe.builtinPlacements,an=xt===void 0?ut:xt,gn=oe.direction,hn=oe.visible,on=oe.onClose,Jt=le.useContext(Ve),zt=Jt.prefixCls,Qt="".concat(zt,"-dropdown"),vn=Ye(Xt,gn==="rtl");return le.createElement(ye.Z,{showAction:[],hideAction:["click"],popupPlacement:vn,builtinPlacements:an,prefixCls:Qt,popupTransitionName:it,popup:xe,popupAlign:Me,popupVisible:hn,popupClassName:Ie()(Le,(0,nt.Z)((0,nt.Z)({},"".concat(Qt,"-range"),Ht),"".concat(Qt,"-rtl"),gn==="rtl")),popupStyle:Ce,stretch:"minWidth",getPopupContainer:ot,onPopupVisibleChange:function(pn){pn||on()}},vt)}var rt=at;function Fe(oe,xe){for(var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Le=String(oe);Le.length<xe;)Le="".concat(Ce).concat(Le);return Le}function Ee(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function Ge(oe,xe,Ce){var Le=(0,Ne.Z)(oe);return Le[xe]=Ce,Le}function Ue(oe,xe){var Ce={},Le=xe||Object.keys(oe);return Le.forEach(function(Me){oe[Me]!==void 0&&(Ce[Me]=oe[Me])}),Ce}function dt(oe,xe,Ce){if(Ce)return Ce;switch(oe){case"time":return xe.fieldTimeFormat;case"datetime":return xe.fieldDateTimeFormat;case"month":return xe.fieldMonthFormat;case"year":return xe.fieldYearFormat;case"quarter":return xe.fieldQuarterFormat;case"week":return xe.fieldWeekFormat;default:return xe.fieldDateFormat}}function ge(oe,xe,Ce){var Le=Ce!==void 0?Ce:xe[xe.length-1],Me=xe.find(function(it){return oe[it]});return Le!==Me?oe[Me]:void 0}function ke(oe){return Ue(oe,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function ze(oe,xe,Ce,Le){var Me=le.useMemo(function(){return oe||function(ot,vt){var Ht=ot;return xe&&vt.type==="date"?xe(Ht,vt.today):Ce&&vt.type==="month"?Ce(Ht,vt.locale):vt.originNode}},[oe,Ce,xe]),it=le.useCallback(function(ot,vt){return Me(ot,(0,Te.Z)((0,Te.Z)({},vt),{},{range:Le}))},[Me,Le]);return it}function Ze(oe,xe){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Le=le.useState([!1,!1]),Me=(0,Be.Z)(Le,2),it=Me[0],ot=Me[1],vt=function(xt,an){ot(function(gn){return Ge(gn,an,xt)})},Ht=le.useMemo(function(){return it.map(function(Xt,xt){if(Xt)return!0;var an=oe[xt];return an?!!(!Ce[xt]&&!an||an&&xe(an,{activeIndex:xt})):!1})},[oe,it,xe,Ce]);return[Ht,vt]}function _e(oe,xe,Ce,Le,Me){var it="",ot=[];return oe&&ot.push(Me?"hh":"HH"),xe&&ot.push("mm"),Ce&&ot.push("ss"),it=ot.join(":"),Le&&(it+=".SSS"),Me&&(it+=" A"),it}function Re(oe,xe,Ce,Le,Me,it){var ot=oe.fieldDateTimeFormat,vt=oe.fieldDateFormat,Ht=oe.fieldTimeFormat,Xt=oe.fieldMonthFormat,xt=oe.fieldYearFormat,an=oe.fieldWeekFormat,gn=oe.fieldQuarterFormat,hn=oe.yearFormat,on=oe.cellYearFormat,Jt=oe.cellQuarterFormat,zt=oe.dayFormat,Qt=oe.cellDateFormat,vn=_e(xe,Ce,Le,Me,it);return(0,Te.Z)((0,Te.Z)({},oe),{},{fieldDateTimeFormat:ot||"YYYY-MM-DD ".concat(vn),fieldDateFormat:vt||"YYYY-MM-DD",fieldTimeFormat:Ht||vn,fieldMonthFormat:Xt||"YYYY-MM",fieldYearFormat:xt||"YYYY",fieldWeekFormat:an||"gggg-wo",fieldQuarterFormat:gn||"YYYY-[Q]Q",yearFormat:hn||"YYYY",cellYearFormat:on||"YYYY",cellQuarterFormat:Jt||"[Q]Q",cellDateFormat:Qt||zt||"D"})}function Je(oe,xe){var Ce=xe.showHour,Le=xe.showMinute,Me=xe.showSecond,it=xe.showMillisecond,ot=xe.use12Hours;return le.useMemo(function(){return Re(oe,Ce,Le,Me,it,ot)},[oe,Ce,Le,Me,it,ot])}var Nt=se(34666);function ht(oe,xe,Ce){return Ce!=null?Ce:xe.some(function(Le){return oe.includes(Le)})}var gt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function At(oe){var xe=Ue(oe,gt),Ce=oe.format,Le=oe.picker,Me=null;return Ce&&(Me=Ce,Array.isArray(Me)&&(Me=Me[0]),Me=(0,Nt.Z)(Me)==="object"?Me.format:Me),Le==="time"&&(xe.format=Me),[xe,Me]}function we(oe){return oe&&typeof oe=="string"}function he(oe,xe,Ce,Le){return[oe,xe,Ce,Le].some(function(Me){return Me!==void 0})}function qe(oe,xe,Ce,Le,Me){var it=xe,ot=Ce,vt=Le;if(!oe&&!it&&!ot&&!vt&&!Me)it=!0,ot=!0,vt=!0;else if(oe){var Ht,Xt,xt,an=[it,ot,vt].some(function(on){return on===!1}),gn=[it,ot,vt].some(function(on){return on===!0}),hn=an?!0:!gn;it=(Ht=it)!==null&&Ht!==void 0?Ht:hn,ot=(Xt=ot)!==null&&Xt!==void 0?Xt:hn,vt=(xt=vt)!==null&&xt!==void 0?xt:hn}return[it,ot,vt,Me]}function Lt(oe){var xe=oe.showTime,Ce=At(oe),Le=(0,Be.Z)(Ce,2),Me=Le[0],it=Le[1],ot=xe&&(0,Nt.Z)(xe)==="object"?xe:{},vt=(0,Te.Z)((0,Te.Z)({defaultOpenValue:ot.defaultOpenValue||ot.defaultValue},Me),ot),Ht=vt.showMillisecond,Xt=vt.showHour,xt=vt.showMinute,an=vt.showSecond,gn=he(Xt,xt,an,Ht),hn=qe(gn,Xt,xt,an,Ht),on=(0,Be.Z)(hn,3);return Xt=on[0],xt=on[1],an=on[2],[vt,(0,Te.Z)((0,Te.Z)({},vt),{},{showHour:Xt,showMinute:xt,showSecond:an,showMillisecond:Ht}),vt.format,it]}function Tt(oe,xe,Ce,Le,Me){var it=oe==="time";if(oe==="datetime"||it){for(var ot=Le,vt=dt(oe,Me,null),Ht=vt,Xt=[xe,Ce],xt=0;xt<Xt.length;xt+=1){var an=Ee(Xt[xt])[0];if(we(an)){Ht=an;break}}var gn=ot.showHour,hn=ot.showMinute,on=ot.showSecond,Jt=ot.showMillisecond,zt=ot.use12Hours,Qt=ht(Ht,["a","A","LT","LLL","LTS"],zt),vn=he(gn,hn,on,Jt);vn||(gn=ht(Ht,["H","h","k","LT","LLL"]),hn=ht(Ht,["m","LT","LLL"]),on=ht(Ht,["s","LTS"]),Jt=ht(Ht,["SSS"]));var xn=qe(vn,gn,hn,on,Jt),pn=(0,Be.Z)(xn,3);gn=pn[0],hn=pn[1],on=pn[2];var Bn=xe||_e(gn,hn,on,Jt,Qt);return(0,Te.Z)((0,Te.Z)({},ot),{},{format:Bn,showHour:gn,showMinute:hn,showSecond:on,showMillisecond:Jt,use12Hours:Qt})}return null}function Xe(oe,xe,Ce){if(xe===!1)return null;var Le=xe&&(0,Nt.Z)(xe)==="object"?xe:{};return Le.clearIcon||Ce||le.createElement("span",{className:"".concat(oe,"-clear-btn")})}var bt=7;function $e(oe,xe,Ce){return!oe&&!xe||oe===xe?!0:!oe||!xe?!1:Ce()}function Ot(oe,xe,Ce){return $e(xe,Ce,function(){var Le=Math.floor(oe.getYear(xe)/10),Me=Math.floor(oe.getYear(Ce)/10);return Le===Me})}function We(oe,xe,Ce){return $e(xe,Ce,function(){return oe.getYear(xe)===oe.getYear(Ce)})}function yt(oe,xe){var Ce=Math.floor(oe.getMonth(xe)/3);return Ce+1}function Qe(oe,xe,Ce){return $e(xe,Ce,function(){return We(oe,xe,Ce)&&yt(oe,xe)===yt(oe,Ce)})}function Ft(oe,xe,Ce){return $e(xe,Ce,function(){return We(oe,xe,Ce)&&oe.getMonth(xe)===oe.getMonth(Ce)})}function wt(oe,xe,Ce){return $e(xe,Ce,function(){return We(oe,xe,Ce)&&Ft(oe,xe,Ce)&&oe.getDate(xe)===oe.getDate(Ce)})}function ce(oe,xe,Ce){return $e(xe,Ce,function(){return oe.getHour(xe)===oe.getHour(Ce)&&oe.getMinute(xe)===oe.getMinute(Ce)&&oe.getSecond(xe)===oe.getSecond(Ce)})}function ie(oe,xe,Ce){return $e(xe,Ce,function(){return wt(oe,xe,Ce)&&ce(oe,xe,Ce)&&oe.getMillisecond(xe)===oe.getMillisecond(Ce)})}function z(oe,xe,Ce,Le){return $e(Ce,Le,function(){var Me=oe.locale.getWeekFirstDate(xe,Ce),it=oe.locale.getWeekFirstDate(xe,Le);return We(oe,Me,it)&&oe.locale.getWeek(xe,Ce)===oe.locale.getWeek(xe,Le)})}function ee(oe,xe,Ce,Le,Me){switch(Me){case"date":return wt(oe,Ce,Le);case"week":return z(oe,xe.locale,Ce,Le);case"month":return Ft(oe,Ce,Le);case"quarter":return Qe(oe,Ce,Le);case"year":return We(oe,Ce,Le);case"decade":return Ot(oe,Ce,Le);case"time":return ce(oe,Ce,Le);default:return ie(oe,Ce,Le)}}function ne(oe,xe,Ce,Le){return!xe||!Ce||!Le?!1:oe.isAfter(Le,xe)&&oe.isAfter(Ce,Le)}function te(oe,xe,Ce,Le,Me){return ee(oe,xe,Ce,Le,Me)?!0:oe.isAfter(Ce,Le)}function ue(oe,xe,Ce){var Le=xe.locale.getWeekFirstDay(oe),Me=xe.setDate(Ce,1),it=xe.getWeekDay(Me),ot=xe.addDate(Me,Le-it);return xe.getMonth(ot)===xe.getMonth(Ce)&&xe.getDate(ot)>1&&(ot=xe.addDate(ot,-7)),ot}function me(oe,xe){var Ce=xe.generateConfig,Le=xe.locale,Me=xe.format;return oe?typeof Me=="function"?Me(oe):Ce.locale.format(Le.locale,oe,Me):""}function De(oe,xe,Ce){var Le=xe,Me=["getHour","getMinute","getSecond","getMillisecond"],it=["setHour","setMinute","setSecond","setMillisecond"];return it.forEach(function(ot,vt){Ce?Le=oe[ot](Le,oe[Me[vt]](Ce)):Le=oe[ot](Le,0)}),Le}function St(oe,xe,Ce,Le,Me){var it=(0,Se.zX)(function(ot,vt){return!!(Ce&&Ce(ot,vt)||Le&&oe.isAfter(Le,ot)&&!ee(oe,xe,Le,ot,vt.type)||Me&&oe.isAfter(ot,Me)&&!ee(oe,xe,Me,ot,vt.type))});return it}function je(oe,xe,Ce){return le.useMemo(function(){var Le=dt(oe,xe,Ce),Me=Ee(Le),it=Me[0],ot=(0,Nt.Z)(it)==="object"&&it.type==="mask"?it.format:null;return[Me.map(function(vt){return typeof vt=="string"||typeof vt=="function"?vt:vt.format}),ot]},[oe,xe,Ce])}function et(oe,xe,Ce){return typeof oe[0]=="function"||Ce?!0:xe}function lt(oe,xe,Ce,Le){var Me=(0,Se.zX)(function(it,ot){var vt=(0,Te.Z)({type:xe},ot);if(delete vt.activeIndex,!oe.isValidate(it)||Ce&&Ce(it,vt))return!0;if((xe==="date"||xe==="time")&&Le){var Ht,Xt=ot&&ot.activeIndex===1?"end":"start",xt=((Ht=Le.disabledTime)===null||Ht===void 0?void 0:Ht.call(Le,it,Xt,{from:vt.from}))||{},an=xt.disabledHours,gn=xt.disabledMinutes,hn=xt.disabledSeconds,on=xt.disabledMilliseconds,Jt=Le.disabledHours,zt=Le.disabledMinutes,Qt=Le.disabledSeconds,vn=an||Jt,xn=gn||zt,pn=hn||Qt,Bn=oe.getHour(it),Fn=oe.getMinute(it),Kn=oe.getSecond(it),mr=oe.getMillisecond(it);if(vn&&vn().includes(Bn)||xn&&xn(Bn).includes(Fn)||pn&&pn(Bn,Fn).includes(Kn)||on&&on(Bn,Fn,Kn).includes(mr))return!0}return!1});return Me}function mt(oe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=le.useMemo(function(){var Le=oe&&Ee(oe);return xe&&Le&&(Le[1]=Le[1]||Le[0]),Le},[oe,xe]);return Ce}function Rt(oe,xe){var Ce=oe.generateConfig,Le=oe.locale,Me=oe.picker,it=Me===void 0?"date":Me,ot=oe.prefixCls,vt=ot===void 0?"rc-picker":ot,Ht=oe.styles,Xt=Ht===void 0?{}:Ht,xt=oe.classNames,an=xt===void 0?{}:xt,gn=oe.order,hn=gn===void 0?!0:gn,on=oe.components,Jt=on===void 0?{}:on,zt=oe.inputRender,Qt=oe.allowClear,vn=oe.clearIcon,xn=oe.needConfirm,pn=oe.multiple,Bn=oe.format,Fn=oe.inputReadOnly,Kn=oe.disabledDate,mr=oe.minDate,br=oe.maxDate,Dr=oe.showTime,sr=oe.value,vr=oe.defaultValue,nr=oe.pickerValue,xr=oe.defaultPickerValue,or=mt(sr),gr=mt(vr),Cr=mt(nr),Zn=mt(xr),_n=it==="date"&&Dr?"datetime":it,Jn=_n==="time"||_n==="datetime",Rn=Jn||pn,Nn=xn!=null?xn:Jn,rr=Lt(oe),wr=(0,Be.Z)(rr,4),Or=wr[0],Kr=wr[1],ur=wr[2],Xr=wr[3],Yr=Je(Le,Kr),zr=le.useMemo(function(){return Tt(_n,ur,Xr,Or,Yr)},[_n,ur,Xr,Or,Yr]),ii=le.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},oe),{},{prefixCls:vt,locale:Yr,picker:it,styles:Xt,classNames:an,order:hn,components:(0,Te.Z)({input:zt},Jt),clearIcon:Xe(vt,Qt,vn),showTime:zr,value:or,defaultValue:gr,pickerValue:Cr,defaultPickerValue:Zn},xe==null?void 0:xe())},[oe]),ni=je(_n,Yr,Bn),fi=(0,Be.Z)(ni,2),Qr=fi[0],Zi=fi[1],oi=et(Qr,Fn,pn),Hi=St(Ce,Le,Kn,mr,br),ci=lt(Ce,it,Hi,zr),ki=le.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},ii),{},{needConfirm:Nn,inputReadOnly:oi,disabledDate:Hi})},[ii,Nn,oi,Hi]);return[ki,_n,Rn,Qr,Zi,ci]}var qt=se(16089);function Wt(oe,xe,Ce){var Le=(0,Se.C8)(xe,{value:oe}),Me=(0,Be.Z)(Le,2),it=Me[0],ot=Me[1],vt=le.useRef(oe),Ht=le.useRef(),Xt=function(){qt.Z.cancel(Ht.current)},xt=(0,Se.zX)(function(){ot(vt.current),Ce&&it!==vt.current&&Ce(vt.current)}),an=(0,Se.zX)(function(gn,hn){Xt(),vt.current=gn,gn||hn?xt():Ht.current=(0,qt.Z)(xt)});return le.useEffect(function(){return Xt},[]),[it,an]}function nn(oe,xe){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Le=arguments.length>3?arguments[3]:void 0,Me=Ce.every(function(xt){return xt})?!1:oe,it=Wt(Me,xe||!1,Le),ot=(0,Be.Z)(it,2),vt=ot[0],Ht=ot[1];function Xt(xt){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!an.inherit||vt)&&Ht(xt,an.force)}return[vt,Xt]}function Ut(oe){var xe=le.useRef();return le.useImperativeHandle(oe,function(){var Ce;return{nativeElement:(Ce=xe.current)===null||Ce===void 0?void 0:Ce.nativeElement,focus:function(Me){var it;(it=xe.current)===null||it===void 0||it.focus(Me)},blur:function(){var Me;(Me=xe.current)===null||Me===void 0||Me.blur()}}}),xe}function Dt(oe,xe){return le.useMemo(function(){return oe||(xe?((0,Pe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(xe).map(function(Ce){var Le=(0,Be.Z)(Ce,2),Me=Le[0],it=Le[1];return{label:Me,value:it}})):[])},[oe,xe])}function ft(oe,xe){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Le=le.useRef(xe);Le.current=xe,(0,fe.o)(function(){if(oe)Le.current(oe);else{var Me=(0,qt.Z)(function(){Le.current(oe)},Ce);return function(){qt.Z.cancel(Me)}}},[oe])}function Zt(oe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Le=le.useState(0),Me=(0,Be.Z)(Le,2),it=Me[0],ot=Me[1],vt=le.useState(!1),Ht=(0,Be.Z)(vt,2),Xt=Ht[0],xt=Ht[1],an=le.useRef([]),gn=le.useRef(null),hn=le.useRef(null),on=function(pn){gn.current=pn},Jt=function(pn){return gn.current===pn},zt=function(pn){xt(pn)},Qt=function(pn){return pn&&(hn.current=pn),hn.current},vn=function(pn){var Bn=an.current,Fn=new Set(Bn.filter(function(mr){return pn[mr]||xe[mr]})),Kn=Bn[Bn.length-1]===0?1:0;return Fn.size>=2||oe[Kn]?null:Kn};return ft(Xt||Ce,function(){Xt||(an.current=[],on(null))}),le.useEffect(function(){Xt&&an.current.push(it)},[Xt,it]),[Xt,zt,Qt,it,ot,vn,an.current,on,Jt]}function Yt(oe,xe,Ce,Le,Me,it){var ot=Ce[Ce.length-1],vt=function(Xt,xt){var an=(0,Be.Z)(oe,2),gn=an[0],hn=an[1],on=(0,Te.Z)((0,Te.Z)({},xt),{},{from:ge(oe,Ce)});return ot===1&&xe[0]&&gn&&!ee(Le,Me,gn,Xt,on.type)&&Le.isAfter(gn,Xt)||ot===0&&xe[1]&&hn&&!ee(Le,Me,hn,Xt,on.type)&&Le.isAfter(Xt,hn)?!0:it==null?void 0:it(Xt,on)};return vt}function mn(oe,xe,Ce,Le){switch(xe){case"date":case"week":return oe.addMonth(Ce,Le);case"month":case"quarter":return oe.addYear(Ce,Le);case"year":return oe.addYear(Ce,Le*10);case"decade":return oe.addYear(Ce,Le*100);default:return Ce}}var Mn=[];function Gn(oe,xe,Ce,Le,Me,it,ot,vt){var Ht=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Mn,Xt=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Mn,xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Mn,an=arguments.length>11?arguments[11]:void 0,gn=arguments.length>12?arguments[12]:void 0,hn=arguments.length>13?arguments[13]:void 0,on=ot==="time",Jt=it||0,zt=function(Cr){var Zn=oe.getNow();return on&&(Zn=De(oe,Zn)),Ht[Cr]||Ce[Cr]||Zn},Qt=(0,Be.Z)(Xt,2),vn=Qt[0],xn=Qt[1],pn=(0,Se.C8)(function(){return zt(0)},{value:vn}),Bn=(0,Be.Z)(pn,2),Fn=Bn[0],Kn=Bn[1],mr=(0,Se.C8)(function(){return zt(1)},{value:xn}),br=(0,Be.Z)(mr,2),Dr=br[0],sr=br[1],vr=le.useMemo(function(){var gr=[Fn,Dr][Jt];return on?gr:De(oe,gr,xt[Jt])},[on,Fn,Dr,Jt,oe,xt]),nr=function(Cr){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",_n=[Kn,sr][Jt];_n(Cr);var Jn=[Fn,Dr];Jn[Jt]=Cr,an&&(!ee(oe,xe,Fn,Jn[0],ot)||!ee(oe,xe,Dr,Jn[1],ot))&&an(Jn,{source:Zn,range:Jt===1?"end":"start",mode:Le})},xr=function(Cr,Zn){if(vt){var _n={date:"month",week:"month",month:"year",quarter:"year"},Jn=_n[ot];if(Jn&&!ee(oe,xe,Cr,Zn,Jn))return mn(oe,ot,Zn,-1);if(ot==="year"&&Cr){var Rn=Math.floor(oe.getYear(Cr)/10),Nn=Math.floor(oe.getYear(Zn)/10);if(Rn!==Nn)return mn(oe,ot,Zn,-1)}}return Zn},or=le.useRef(null);return(0,fe.Z)(function(){if(Me&&!Ht[Jt]){var gr=on?null:oe.getNow();if(or.current!==null&&or.current!==Jt?gr=[Fn,Dr][Jt^1]:Ce[Jt]?gr=Jt===0?Ce[0]:xr(Ce[0],Ce[1]):Ce[Jt^1]&&(gr=Ce[Jt^1]),gr){gn&&oe.isAfter(gn,gr)&&(gr=gn);var Cr=vt?mn(oe,ot,gr,1):gr;hn&&oe.isAfter(Cr,hn)&&(gr=vt?mn(oe,ot,hn,-1):hn),nr(gr,"reset")}}},[Me,Jt,Ce[Jt]]),le.useEffect(function(){Me?or.current=Jt:or.current=null},[Me,Jt]),(0,fe.Z)(function(){Me&&Ht&&Ht[Jt]&&nr(Ht[Jt],"reset")},[Me,Jt]),[vr,nr]}function yn(oe,xe){var Ce=le.useRef(oe),Le=le.useState({}),Me=(0,Be.Z)(Le,2),it=Me[1],ot=function(Xt){return Xt&&xe!==void 0?xe:Ce.current},vt=function(Xt){Ce.current=Xt,it({})};return[ot,vt,ot(!0)]}var qn=[];function $n(oe,xe,Ce){var Le=function(ot){return ot.map(function(vt){return me(vt,{generateConfig:oe,locale:xe,format:Ce[0]})})},Me=function(ot,vt){for(var Ht=Math.max(ot.length,vt.length),Xt=-1,xt=0;xt<Ht;xt+=1){var an=ot[xt]||null,gn=vt[xt]||null;if(an!==gn&&!ie(oe,an,gn)){Xt=xt;break}}return[Xt<0,Xt!==0]};return[Le,Me]}function dr(oe,xe){return(0,Ne.Z)(oe).sort(function(Ce,Le){return xe.isAfter(Ce,Le)?1:-1})}function Mr(oe){var xe=yn(oe),Ce=(0,Be.Z)(xe,2),Le=Ce[0],Me=Ce[1],it=(0,Se.zX)(function(){Me(oe)});return le.useEffect(function(){it()},[oe]),[Le,Me]}function ar(oe,xe,Ce,Le,Me,it,ot,vt,Ht){var Xt=(0,Se.C8)(it,{value:ot}),xt=(0,Be.Z)(Xt,2),an=xt[0],gn=xt[1],hn=an||qn,on=Mr(hn),Jt=(0,Be.Z)(on,2),zt=Jt[0],Qt=Jt[1],vn=$n(oe,xe,Ce),xn=(0,Be.Z)(vn,2),pn=xn[0],Bn=xn[1],Fn=(0,Se.zX)(function(mr){var br=(0,Ne.Z)(mr);if(Le)for(var Dr=0;Dr<2;Dr+=1)br[Dr]=br[Dr]||null;else Me&&(br=dr(br.filter(function(gr){return gr}),oe));var sr=Bn(zt(),br),vr=(0,Be.Z)(sr,2),nr=vr[0],xr=vr[1];if(!nr&&(Qt(br),vt)){var or=pn(br);vt(br,or,{range:xr?"end":"start"})}}),Kn=function(){Ht&&Ht(zt())};return[hn,gn,zt,Fn,Kn]}function Tr(oe,xe,Ce,Le,Me,it,ot,vt,Ht,Xt){var xt=oe.generateConfig,an=oe.locale,gn=oe.picker,hn=oe.onChange,on=oe.allowEmpty,Jt=oe.order,zt=it.some(function(nr){return nr})?!1:Jt,Qt=$n(xt,an,ot),vn=(0,Be.Z)(Qt,2),xn=vn[0],pn=vn[1],Bn=yn(xe),Fn=(0,Be.Z)(Bn,2),Kn=Fn[0],mr=Fn[1],br=(0,Se.zX)(function(){mr(xe)});le.useEffect(function(){br()},[xe]);var Dr=(0,Se.zX)(function(nr){var xr=nr===null,or=(0,Ne.Z)(nr||Kn());if(xr)for(var gr=Math.max(it.length,or.length),Cr=0;Cr<gr;Cr+=1)it[Cr]||(or[Cr]=null);zt&&or[0]&&or[1]&&(or=dr(or,xt)),Me(or);var Zn=or,_n=(0,Be.Z)(Zn,2),Jn=_n[0],Rn=_n[1],Nn=!Jn,rr=!Rn,wr=on?(!Nn||on[0])&&(!rr||on[1]):!0,Or=!Jt||Nn||rr||ee(xt,an,Jn,Rn,gn)||xt.isAfter(Rn,Jn),Kr=(it[0]||!Jn||!Xt(Jn,{activeIndex:0}))&&(it[1]||!Rn||!Xt(Rn,{from:Jn,activeIndex:1})),ur=xr||wr&&Or&&Kr;if(ur){Ce(or);var Xr=pn(or,xe),Yr=(0,Be.Z)(Xr,1),zr=Yr[0];hn&&!zr&&hn(xr&&or.every(function(ii){return!ii})?null:or,xn(or))}return ur}),sr=(0,Se.zX)(function(nr,xr){var or=Ge(Kn(),nr,Le()[nr]);mr(or),xr&&Dr()}),vr=!vt&&!Ht;return ft(!vr,function(){vr&&(Dr(),Me(xe),br())},2),[sr,Dr]}function Pr(oe,xe,Ce,Le,Me){return xe!=="date"&&xe!=="time"?!1:Ce!==void 0?Ce:Le!==void 0?Le:!Me&&(oe==="date"||oe==="time")}var Hn=se(29301);function Rr(oe,xe,Ce,Le,Me,it){var ot=oe;function vt(an,gn,hn){var on=it[an](ot),Jt=hn.find(function(xn){return xn.value===on});if(!Jt||Jt.disabled){var zt=hn.filter(function(xn){return!xn.disabled}),Qt=(0,Ne.Z)(zt).reverse(),vn=Qt.find(function(xn){return xn.value<=on})||zt[0];vn&&(on=vn.value,ot=it[gn](ot,on))}return on}var Ht=vt("getHour","setHour",xe()),Xt=vt("getMinute","setMinute",Ce(Ht)),xt=vt("getSecond","setSecond",Le(Ht,Xt));return vt("getMillisecond","setMillisecond",Me(Ht,Xt,xt)),ot}function Wr(){return[]}function Bt(oe,xe){for(var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Me=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],it=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,ot=[],vt=Ce>=1?Ce|0:1,Ht=oe;Ht<=xe;Ht+=vt){var Xt=Me.includes(Ht);(!Xt||!Le)&&ot.push({label:Fe(Ht,it),value:Ht,disabled:Xt})}return ot}function jt(oe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=arguments.length>2?arguments[2]:void 0,Le=xe||{},Me=Le.use12Hours,it=Le.hourStep,ot=it===void 0?1:it,vt=Le.minuteStep,Ht=vt===void 0?1:vt,Xt=Le.secondStep,xt=Xt===void 0?1:Xt,an=Le.millisecondStep,gn=an===void 0?100:an,hn=Le.hideDisabledOptions,on=Le.disabledTime,Jt=Le.disabledHours,zt=Le.disabledMinutes,Qt=Le.disabledSeconds,vn=le.useMemo(function(){return Ce||oe.getNow()},[Ce,oe]);if(0)var xn,pn,Bn;var Fn=le.useCallback(function(Rn){var Nn=(on==null?void 0:on(Rn))||{};return[Nn.disabledHours||Jt||Wr,Nn.disabledMinutes||zt||Wr,Nn.disabledSeconds||Qt||Wr,Nn.disabledMilliseconds||Wr]},[on,Jt,zt,Qt]),Kn=le.useMemo(function(){return Fn(vn)},[vn,Fn]),mr=(0,Be.Z)(Kn,4),br=mr[0],Dr=mr[1],sr=mr[2],vr=mr[3],nr=le.useCallback(function(Rn,Nn,rr,wr){var Or=Bt(0,23,ot,hn,Rn()),Kr=Me?Or.map(function(zr){return(0,Te.Z)((0,Te.Z)({},zr),{},{label:Fe(zr.value%12||12,2)})}):Or,ur=function(ii){return Bt(0,59,Ht,hn,Nn(ii))},Xr=function(ii,ni){return Bt(0,59,xt,hn,rr(ii,ni))},Yr=function(ii,ni,fi){return Bt(0,999,gn,hn,wr(ii,ni,fi),3)};return[Kr,ur,Xr,Yr]},[hn,ot,Me,gn,Ht,xt]),xr=le.useMemo(function(){return nr(br,Dr,sr,vr)},[nr,br,Dr,sr,vr]),or=(0,Be.Z)(xr,4),gr=or[0],Cr=or[1],Zn=or[2],_n=or[3],Jn=function(Nn,rr){var wr=function(){return gr},Or=Cr,Kr=Zn,ur=_n;if(rr){var Xr=Fn(rr),Yr=(0,Be.Z)(Xr,4),zr=Yr[0],ii=Yr[1],ni=Yr[2],fi=Yr[3],Qr=nr(zr,ii,ni,fi),Zi=(0,Be.Z)(Qr,4),oi=Zi[0],Hi=Zi[1],ci=Zi[2],ki=Zi[3];wr=function(){return oi},Or=Hi,Kr=ci,ur=ki}var zi=Rr(Nn,wr,Or,Kr,ur,oe);return zi};return[Jn,gr,Cr,Zn,_n]}function dn(oe){var xe=oe.mode,Ce=oe.internalMode,Le=oe.renderExtraFooter,Me=oe.showNow,it=oe.showTime,ot=oe.onSubmit,vt=oe.onNow,Ht=oe.invalid,Xt=oe.needConfirm,xt=oe.generateConfig,an=oe.disabledDate,gn=le.useContext(Ve),hn=gn.prefixCls,on=gn.locale,Jt=gn.button,zt=Jt===void 0?"button":Jt,Qt=xt.getNow(),vn=jt(xt,it,Qt),xn=(0,Be.Z)(vn,1),pn=xn[0],Bn=Le==null?void 0:Le(xe),Fn=an(Qt,{type:xe}),Kn=function(){if(!Fn){var xr=pn(Qt);vt(xr)}},mr="".concat(hn,"-now"),br="".concat(mr,"-btn"),Dr=Me&&le.createElement("li",{className:mr},le.createElement("a",{className:Ie()(br,Fn&&"".concat(br,"-disabled")),"aria-disabled":Fn,onClick:Kn},Ce==="date"?on.today:on.now)),sr=Xt&&le.createElement("li",{className:"".concat(hn,"-ok")},le.createElement(zt,{disabled:Ht,onClick:ot},on.ok)),vr=(Dr||sr)&&le.createElement("ul",{className:"".concat(hn,"-ranges")},Dr,sr);return!Bn&&!vr?null:le.createElement("div",{className:"".concat(hn,"-footer")},Bn&&le.createElement("div",{className:"".concat(hn,"-footer-extra")},Bn),vr)}function cn(oe,xe,Ce){function Le(Me,it){var ot=Me.findIndex(function(Ht){return ee(oe,xe,Ht,it,Ce)});if(ot===-1)return[].concat((0,Ne.Z)(Me),[it]);var vt=(0,Ne.Z)(Me);return vt.splice(ot,1),vt}return Le}var Et=le.createContext(null);function en(){return le.useContext(Et)}function kn(oe,xe){var Ce=oe.prefixCls,Le=oe.generateConfig,Me=oe.locale,it=oe.disabledDate,ot=oe.minDate,vt=oe.maxDate,Ht=oe.cellRender,Xt=oe.hoverValue,xt=oe.hoverRangeValue,an=oe.onHover,gn=oe.values,hn=oe.pickerValue,on=oe.onSelect,Jt=oe.prevIcon,zt=oe.nextIcon,Qt=oe.superPrevIcon,vn=oe.superNextIcon,xn=Le.getNow(),pn={now:xn,values:gn,pickerValue:hn,prefixCls:Ce,disabledDate:it,minDate:ot,maxDate:vt,cellRender:Ht,hoverValue:Xt,hoverRangeValue:xt,onHover:an,locale:Me,generateConfig:Le,onSelect:on,panelType:xe,prevIcon:Jt,nextIcon:zt,superPrevIcon:Qt,superNextIcon:vn};return[pn,xn]}var On=le.createContext({});function zn(oe){for(var xe=oe.rowNum,Ce=oe.colNum,Le=oe.baseDate,Me=oe.getCellDate,it=oe.prefixColumn,ot=oe.rowClassName,vt=oe.titleFormat,Ht=oe.getCellText,Xt=oe.getCellClassName,xt=oe.headerCells,an=oe.cellSelection,gn=an===void 0?!0:an,hn=oe.disabledDate,on=en(),Jt=on.prefixCls,zt=on.panelType,Qt=on.now,vn=on.disabledDate,xn=on.cellRender,pn=on.onHover,Bn=on.hoverValue,Fn=on.hoverRangeValue,Kn=on.generateConfig,mr=on.values,br=on.locale,Dr=on.onSelect,sr=hn||vn,vr="".concat(Jt,"-cell"),nr=le.useContext(On),xr=nr.onCellDblClick,or=function(rr){return mr.some(function(wr){return wr&&ee(Kn,br,rr,wr,zt)})},gr=[],Cr=0;Cr<xe;Cr+=1){for(var Zn=[],_n=void 0,Jn=function(){var rr=Cr*Ce+Rn,wr=Me(Le,rr),Or=sr==null?void 0:sr(wr,{type:zt});Rn===0&&(_n=wr,it&&Zn.push(it(_n)));var Kr=!1,ur=!1,Xr=!1;if(gn&&Fn){var Yr=(0,Be.Z)(Fn,2),zr=Yr[0],ii=Yr[1];Kr=ne(Kn,zr,ii,wr),ur=ee(Kn,br,wr,zr,zt),Xr=ee(Kn,br,wr,ii,zt)}var ni=vt?me(wr,{locale:br,format:vt,generateConfig:Kn}):void 0,fi=le.createElement("div",{className:"".concat(vr,"-inner")},Ht(wr));Zn.push(le.createElement("td",{key:Rn,title:ni,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"),Or),"".concat(vr,"-hover"),(Bn||[]).some(function(Qr){return ee(Kn,br,wr,Qr,zt)})),"".concat(vr,"-in-range"),Kr&&!ur&&!Xr),"".concat(vr,"-range-start"),ur),"".concat(vr,"-range-end"),Xr),"".concat(Jt,"-cell-selected"),!Fn&&zt!=="week"&&or(wr)),Xt(wr))),onClick:function(){Or||Dr(wr)},onDoubleClick:function(){!Or&&xr&&xr()},onMouseEnter:function(){Or||pn==null||pn(wr)},onMouseLeave:function(){Or||pn==null||pn(null)}},xn?xn(wr,{prefixCls:Jt,originNode:fi,today:Qt,type:zt,locale:br}):fi))},Rn=0;Rn<Ce;Rn+=1)Jn();gr.push(le.createElement("tr",{key:Cr,className:ot==null?void 0:ot(_n)},Zn))}return le.createElement("div",{className:"".concat(Jt,"-body")},le.createElement("table",{className:"".concat(Jt,"-content")},xt&&le.createElement("thead",null,le.createElement("tr",null,xt)),le.createElement("tbody",null,gr)))}var Qn={visibility:"hidden"};function fr(oe){var xe=oe.offset,Ce=oe.superOffset,Le=oe.onChange,Me=oe.getStart,it=oe.getEnd,ot=oe.children,vt=en(),Ht=vt.prefixCls,Xt=vt.prevIcon,xt=Xt===void 0?"\u2039":Xt,an=vt.nextIcon,gn=an===void 0?"\u203A":an,hn=vt.superPrevIcon,on=hn===void 0?"\xAB":hn,Jt=vt.superNextIcon,zt=Jt===void 0?"\xBB":Jt,Qt=vt.minDate,vn=vt.maxDate,xn=vt.generateConfig,pn=vt.locale,Bn=vt.pickerValue,Fn=vt.panelType,Kn="".concat(Ht,"-header"),mr=le.useContext(On),br=mr.hidePrev,Dr=mr.hideNext,sr=mr.hideHeader,vr=le.useMemo(function(){if(!Qt||!xe||!it)return!1;var Nn=it(xe(-1,Bn));return!te(xn,pn,Nn,Qt,Fn)},[Qt,xe,Bn,it,xn,pn,Fn]),nr=le.useMemo(function(){if(!Qt||!Ce||!it)return!1;var Nn=it(Ce(-1,Bn));return!te(xn,pn,Nn,Qt,Fn)},[Qt,Ce,Bn,it,xn,pn,Fn]),xr=le.useMemo(function(){if(!vn||!xe||!Me)return!1;var Nn=Me(xe(1,Bn));return!te(xn,pn,vn,Nn,Fn)},[vn,xe,Bn,Me,xn,pn,Fn]),or=le.useMemo(function(){if(!vn||!Ce||!Me)return!1;var Nn=Me(Ce(1,Bn));return!te(xn,pn,vn,Nn,Fn)},[vn,Ce,Bn,Me,xn,pn,Fn]),gr=function(rr){xe&&Le(xe(rr,Bn))},Cr=function(rr){Ce&&Le(Ce(rr,Bn))};if(sr)return null;var Zn="".concat(Kn,"-prev-btn"),_n="".concat(Kn,"-next-btn"),Jn="".concat(Kn,"-super-prev-btn"),Rn="".concat(Kn,"-super-next-btn");return le.createElement("div",{className:Kn},Ce&&le.createElement("button",{type:"button","aria-label":pn.previousYear,onClick:function(){return Cr(-1)},tabIndex:-1,className:Ie()(Jn,nr&&"".concat(Jn,"-disabled")),disabled:nr,style:br?Qn:{}},on),xe&&le.createElement("button",{type:"button","aria-label":pn.previousMonth,onClick:function(){return gr(-1)},tabIndex:-1,className:Ie()(Zn,vr&&"".concat(Zn,"-disabled")),disabled:vr,style:br?Qn:{}},xt),le.createElement("div",{className:"".concat(Kn,"-view")},ot),xe&&le.createElement("button",{type:"button","aria-label":pn.nextMonth,onClick:function(){return gr(1)},tabIndex:-1,className:Ie()(_n,xr&&"".concat(_n,"-disabled")),disabled:xr,style:Dr?Qn:{}},gn),Ce&&le.createElement("button",{type:"button","aria-label":pn.nextYear,onClick:function(){return Cr(1)},tabIndex:-1,className:Ie()(Rn,or&&"".concat(Rn,"-disabled")),disabled:or,style:Dr?Qn:{}},zt))}var hr=fr;function pr(oe){var xe=oe.prefixCls,Ce=oe.panelName,Le=Ce===void 0?"date":Ce,Me=oe.locale,it=oe.generateConfig,ot=oe.pickerValue,vt=oe.onPickerValueChange,Ht=oe.onModeChange,Xt=oe.mode,xt=Xt===void 0?"date":Xt,an=oe.disabledDate,gn=oe.onSelect,hn=oe.onHover,on=oe.showWeek,Jt="".concat(xe,"-").concat(Le,"-panel"),zt="".concat(xe,"-cell"),Qt=xt==="week",vn=kn(oe,xt),xn=(0,Be.Z)(vn,2),pn=xn[0],Bn=xn[1],Fn=it.locale.getWeekFirstDay(Me.locale),Kn=it.setDate(ot,1),mr=ue(Me.locale,it,Kn),br=it.getMonth(ot),Dr=on===void 0?Qt:on,sr=Dr?function(Nn){var rr=an==null?void 0:an(Nn,{type:"week"});return le.createElement("td",{key:"week",className:Ie()(zt,"".concat(zt,"-week"),(0,nt.Z)({},"".concat(zt,"-disabled"),rr)),onClick:function(){rr||gn(Nn)},onMouseEnter:function(){rr||hn==null||hn(Nn)},onMouseLeave:function(){rr||hn==null||hn(null)}},le.createElement("div",{className:"".concat(zt,"-inner")},it.locale.getWeek(Me.locale,Nn)))}:null,vr=[],nr=Me.shortWeekDays||(it.locale.getShortWeekDays?it.locale.getShortWeekDays(Me.locale):[]);sr&&vr.push(le.createElement("th",{key:"empty"},le.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Me.week)));for(var xr=0;xr<bt;xr+=1)vr.push(le.createElement("th",{key:xr},nr[(xr+Fn)%bt]));var or=function(rr,wr){return it.addDate(rr,wr)},gr=function(rr){return me(rr,{locale:Me,format:Me.cellDateFormat,generateConfig:it})},Cr=function(rr){var wr=(0,nt.Z)((0,nt.Z)({},"".concat(xe,"-cell-in-view"),Ft(it,rr,ot)),"".concat(xe,"-cell-today"),wt(it,rr,Bn));return wr},Zn=Me.shortMonths||(it.locale.getShortMonths?it.locale.getShortMonths(Me.locale):[]),_n=le.createElement("button",{type:"button","aria-label":Me.yearSelect,key:"year",onClick:function(){Ht("year",ot)},tabIndex:-1,className:"".concat(xe,"-year-btn")},me(ot,{locale:Me,format:Me.yearFormat,generateConfig:it})),Jn=le.createElement("button",{type:"button","aria-label":Me.monthSelect,key:"month",onClick:function(){Ht("month",ot)},tabIndex:-1,className:"".concat(xe,"-month-btn")},Me.monthFormat?me(ot,{locale:Me,format:Me.monthFormat,generateConfig:it}):Zn[br]),Rn=Me.monthBeforeYear?[Jn,_n]:[_n,Jn];return le.createElement(Et.Provider,{value:pn},le.createElement("div",{className:Ie()(Jt,on&&"".concat(Jt,"-show-week"))},le.createElement(hr,{offset:function(rr){return it.addMonth(ot,rr)},superOffset:function(rr){return it.addYear(ot,rr)},onChange:vt,getStart:function(rr){return it.setDate(rr,1)},getEnd:function(rr){var wr=it.setDate(rr,1);return wr=it.addMonth(wr,1),it.addDate(wr,-1)}},Rn),le.createElement(zn,(0,re.Z)({titleFormat:Me.fieldDateFormat},oe,{colNum:bt,rowNum:6,baseDate:mr,headerCells:vr,getCellDate:or,getCellText:gr,getCellClassName:Cr,prefixColumn:sr,cellSelection:!Qt}))))}var Ar=se(29194),Ln=1/3;function _t(oe,xe){var Ce=le.useRef(!1),Le=le.useRef(null),Me=le.useRef(null),it=function(){return Ce.current},ot=function(){qt.Z.cancel(Le.current),Ce.current=!1},vt=le.useRef(),Ht=function(){var an=oe.current;if(Me.current=null,vt.current=0,an){var gn=an.querySelector('[data-value="'.concat(xe,'"]')),hn=an.querySelector("li"),on=function Jt(){ot(),Ce.current=!0,vt.current+=1;var zt=an.scrollTop,Qt=hn.offsetTop,vn=gn.offsetTop,xn=vn-Qt;if(vn===0&&gn!==hn||!(0,Ar.Z)(an)){vt.current<=5&&(Le.current=(0,qt.Z)(Jt));return}var pn=zt+(xn-zt)*Ln,Bn=Math.abs(xn-pn);if(Me.current!==null&&Me.current<Bn){ot();return}if(Me.current=Bn,Bn<=1){an.scrollTop=xn,ot();return}an.scrollTop=pn,Le.current=(0,qt.Z)(Jt)};gn&&hn&&on()}},Xt=(0,Se.zX)(Ht);return[Xt,ot,it]}var Xn=300;function Nr(oe){return oe.map(function(xe){var Ce=xe.value,Le=xe.label,Me=xe.disabled;return[Ce,Le,Me].join(",")}).join(";")}function Hr(oe){var xe=oe.units,Ce=oe.value,Le=oe.optionalValue,Me=oe.type,it=oe.onChange,ot=oe.onHover,vt=oe.onDblClick,Ht=oe.changeOnScroll,Xt=en(),xt=Xt.prefixCls,an=Xt.cellRender,gn=Xt.now,hn=Xt.locale,on="".concat(xt,"-time-panel"),Jt="".concat(xt,"-time-panel-cell"),zt=le.useRef(null),Qt=le.useRef(),vn=function(){clearTimeout(Qt.current)},xn=_t(zt,Ce!=null?Ce:Le),pn=(0,Be.Z)(xn,3),Bn=pn[0],Fn=pn[1],Kn=pn[2];(0,fe.Z)(function(){return Bn(),vn(),function(){Fn(),vn()}},[Ce,Le,Nr(xe)]);var mr=function(sr){vn();var vr=sr.target;!Kn()&&Ht&&(Qt.current=setTimeout(function(){var nr=zt.current,xr=nr.querySelector("li").offsetTop,or=Array.from(nr.querySelectorAll("li")),gr=or.map(function(Rn){return Rn.offsetTop-xr}),Cr=gr.map(function(Rn,Nn){return xe[Nn].disabled?Number.MAX_SAFE_INTEGER:Math.abs(Rn-vr.scrollTop)}),Zn=Math.min.apply(Math,(0,Ne.Z)(Cr)),_n=Cr.findIndex(function(Rn){return Rn===Zn}),Jn=xe[_n];Jn&&!Jn.disabled&&it(Jn.value)},Xn))},br="".concat(on,"-column");return le.createElement("ul",{className:br,ref:zt,"data-type":Me,onScroll:mr},xe.map(function(Dr){var sr=Dr.label,vr=Dr.value,nr=Dr.disabled,xr=le.createElement("div",{className:"".concat(Jt,"-inner")},sr);return le.createElement("li",{key:vr,className:Ie()(Jt,(0,nt.Z)((0,nt.Z)({},"".concat(Jt,"-selected"),Ce===vr),"".concat(Jt,"-disabled"),nr)),onClick:function(){nr||it(vr)},onDoubleClick:function(){!nr&&vt&&vt()},onMouseEnter:function(){ot(vr)},onMouseLeave:function(){ot(null)},"data-value":vr},an?an(vr,{prefixCls:xt,originNode:xr,today:gn,type:"time",subType:Me,locale:hn}):xr)}))}function ct(oe){return oe<12}function Ct(oe){var xe=oe.showHour,Ce=oe.showMinute,Le=oe.showSecond,Me=oe.showMillisecond,it=oe.use12Hours,ot=oe.changeOnScroll,vt=en(),Ht=vt.prefixCls,Xt=vt.values,xt=vt.generateConfig,an=vt.locale,gn=vt.onSelect,hn=vt.onHover,on=hn===void 0?function(){}:hn,Jt=vt.pickerValue,zt=(Xt==null?void 0:Xt[0])||null,Qt=le.useContext(On),vn=Qt.onCellDblClick,xn=jt(xt,oe,zt),pn=(0,Be.Z)(xn,5),Bn=pn[0],Fn=pn[1],Kn=pn[2],mr=pn[3],br=pn[4],Dr=function(yr){var hi=zt&&xt[yr](zt),xi=Jt&&xt[yr](Jt);return[hi,xi]},sr=Dr("getHour"),vr=(0,Be.Z)(sr,2),nr=vr[0],xr=vr[1],or=Dr("getMinute"),gr=(0,Be.Z)(or,2),Cr=gr[0],Zn=gr[1],_n=Dr("getSecond"),Jn=(0,Be.Z)(_n,2),Rn=Jn[0],Nn=Jn[1],rr=Dr("getMillisecond"),wr=(0,Be.Z)(rr,2),Or=wr[0],Kr=wr[1],ur=nr===null?null:ct(nr)?"am":"pm",Xr=le.useMemo(function(){return it?ct(nr)?Fn.filter(function(lr){return ct(lr.value)}):Fn.filter(function(lr){return!ct(lr.value)}):Fn},[nr,Fn,it]),Yr=function(yr,hi){var xi,ji=yr.filter(function(ia){return!ia.disabled});return hi!=null?hi:ji==null||(xi=ji[0])===null||xi===void 0?void 0:xi.value},zr=Yr(Fn,nr),ii=le.useMemo(function(){return Kn(zr)},[Kn,zr]),ni=Yr(ii,Cr),fi=le.useMemo(function(){return mr(zr,ni)},[mr,zr,ni]),Qr=Yr(fi,Rn),Zi=le.useMemo(function(){return br(zr,ni,Qr)},[br,zr,ni,Qr]),oi=Yr(Zi,Or),Hi=le.useMemo(function(){if(!it)return[];var lr=xt.getNow(),yr=xt.setHour(lr,6),hi=xt.setHour(lr,18),xi=function(ia,aa){var Yi=an.cellMeridiemFormat;return Yi?me(ia,{generateConfig:xt,locale:an,format:Yi}):aa};return[{label:xi(yr,"AM"),value:"am",disabled:Fn.every(function(ji){return ji.disabled||!ct(ji.value)})},{label:xi(hi,"PM"),value:"pm",disabled:Fn.every(function(ji){return ji.disabled||ct(ji.value)})}]},[Fn,it,xt,an]),ci=function(yr){var hi=Bn(yr);gn(hi)},ki=le.useMemo(function(){var lr=zt||Jt||xt.getNow(),yr=function(xi){return xi!=null};return yr(nr)?(lr=xt.setHour(lr,nr),lr=xt.setMinute(lr,Cr),lr=xt.setSecond(lr,Rn),lr=xt.setMillisecond(lr,Or)):yr(xr)?(lr=xt.setHour(lr,xr),lr=xt.setMinute(lr,Zn),lr=xt.setSecond(lr,Nn),lr=xt.setMillisecond(lr,Kr)):yr(zr)&&(lr=xt.setHour(lr,zr),lr=xt.setMinute(lr,ni),lr=xt.setSecond(lr,Qr),lr=xt.setMillisecond(lr,oi)),lr},[zt,Jt,nr,Cr,Rn,Or,zr,ni,Qr,oi,xr,Zn,Nn,Kr,xt]),zi=function(yr,hi){return yr===null?null:xt[hi](ki,yr)},Bi=function(yr){return zi(yr,"setHour")},Ci=function(yr){return zi(yr,"setMinute")},Gi=function(yr){return zi(yr,"setSecond")},Vi=function(yr){return zi(yr,"setMillisecond")},_i=function(yr){return yr===null?null:yr==="am"&&!ct(nr)?xt.setHour(ki,nr-12):yr==="pm"&&ct(nr)?xt.setHour(ki,nr+12):ki},wi=function(yr){ci(Bi(yr))},ra=function(yr){ci(Ci(yr))},Ii=function(yr){ci(Gi(yr))},Di=function(yr){ci(Vi(yr))},Li=function(yr){ci(_i(yr))},qi=function(yr){on(Bi(yr))},ai=function(yr){on(Ci(yr))},$i=function(yr){on(Gi(yr))},Lr=function(yr){on(Vi(yr))},jn=function(yr){on(_i(yr))},Er={onDblClick:vn,changeOnScroll:ot};return le.createElement("div",{className:"".concat(Ht,"-content")},xe&&le.createElement(Hr,(0,re.Z)({units:Xr,value:nr,optionalValue:xr,type:"hour",onChange:wi,onHover:qi},Er)),Ce&&le.createElement(Hr,(0,re.Z)({units:ii,value:Cr,optionalValue:Zn,type:"minute",onChange:ra,onHover:ai},Er)),Le&&le.createElement(Hr,(0,re.Z)({units:fi,value:Rn,optionalValue:Nn,type:"second",onChange:Ii,onHover:$i},Er)),Me&&le.createElement(Hr,(0,re.Z)({units:Zi,value:Or,optionalValue:Kr,type:"millisecond",onChange:Di,onHover:Lr},Er)),it&&le.createElement(Hr,(0,re.Z)({units:Hi,value:ur,type:"meridiem",onChange:Li,onHover:jn},Er)))}function Tn(oe){var xe=oe.prefixCls,Ce=oe.value,Le=oe.locale,Me=oe.generateConfig,it=oe.showTime,ot=it||{},vt=ot.format,Ht="".concat(xe,"-time-panel"),Xt=kn(oe,"time"),xt=(0,Be.Z)(Xt,1),an=xt[0];return le.createElement(Et.Provider,{value:an},le.createElement("div",{className:Ie()(Ht)},le.createElement(hr,null,Ce?me(Ce,{locale:Le,format:vt,generateConfig:Me}):"\xA0"),le.createElement(Ct,it)))}function En(oe){var xe=oe.prefixCls,Ce=oe.generateConfig,Le=oe.showTime,Me=oe.onSelect,it=oe.value,ot=oe.pickerValue,vt=oe.onHover,Ht="".concat(xe,"-datetime-panel"),Xt=jt(Ce,Le),xt=(0,Be.Z)(Xt,1),an=xt[0],gn=function(zt){return it?De(Ce,zt,it):De(Ce,zt,ot)},hn=function(zt){vt==null||vt(zt&&gn(zt))},on=function(zt){var Qt=gn(zt);Me(an(Qt,Qt))};return le.createElement("div",{className:Ht},le.createElement(pr,(0,re.Z)({},oe,{onSelect:on,onHover:hn})),le.createElement(Tn,oe))}function Pt(oe){var xe=oe.prefixCls,Ce=oe.locale,Le=oe.generateConfig,Me=oe.pickerValue,it=oe.disabledDate,ot=oe.onPickerValueChange,vt="".concat(xe,"-decade-panel"),Ht=kn(oe,"decade"),Xt=(0,Be.Z)(Ht,1),xt=Xt[0],an=function(Fn){var Kn=Math.floor(Le.getYear(Fn)/100)*100;return Le.setYear(Fn,Kn)},gn=function(Fn){var Kn=an(Fn);return Le.addYear(Kn,99)},hn=an(Me),on=gn(Me),Jt=Le.addYear(hn,-10),zt=function(Fn,Kn){return Le.addYear(Fn,Kn*10)},Qt=function(Fn){var Kn=Ce.cellYearFormat,mr=me(Fn,{locale:Ce,format:Kn,generateConfig:Le}),br=me(Le.addYear(Fn,9),{locale:Ce,format:Kn,generateConfig:Le});return"".concat(mr,"-").concat(br)},vn=function(Fn){return(0,nt.Z)({},"".concat(xe,"-cell-in-view"),Ot(Le,Fn,hn)||Ot(Le,Fn,on)||ne(Le,hn,on,Fn))},xn=it?function(Bn,Fn){var Kn=Le.setDate(Bn,1),mr=Le.setMonth(Kn,0),br=Le.setYear(mr,Math.floor(Le.getYear(mr)/10)*10),Dr=Le.addYear(br,10),sr=Le.addDate(Dr,-1);return it(br,Fn)&&it(sr,Fn)}:null,pn="".concat(me(hn,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}),"-").concat(me(on,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}));return le.createElement(Et.Provider,{value:xt},le.createElement("div",{className:vt},le.createElement(hr,{superOffset:function(Fn){return Le.addYear(Me,Fn*100)},onChange:ot,getStart:an,getEnd:gn},pn),le.createElement(zn,(0,re.Z)({},oe,{disabledDate:xn,colNum:3,rowNum:4,baseDate:Jt,getCellDate:zt,getCellText:Qt,getCellClassName:vn}))))}function Sn(oe){var xe=oe.prefixCls,Ce=oe.locale,Le=oe.generateConfig,Me=oe.pickerValue,it=oe.disabledDate,ot=oe.onPickerValueChange,vt=oe.onModeChange,Ht="".concat(xe,"-month-panel"),Xt=kn(oe,"month"),xt=(0,Be.Z)(Xt,1),an=xt[0],gn=Le.setMonth(Me,0),hn=Ce.shortMonths||(Le.locale.getShortMonths?Le.locale.getShortMonths(Ce.locale):[]),on=function(pn,Bn){return Le.addMonth(pn,Bn)},Jt=function(pn){var Bn=Le.getMonth(pn);return Ce.monthFormat?me(pn,{locale:Ce,format:Ce.monthFormat,generateConfig:Le}):hn[Bn]},zt=function(){return(0,nt.Z)({},"".concat(xe,"-cell-in-view"),!0)},Qt=it?function(xn,pn){var Bn=Le.setDate(xn,1),Fn=Le.setMonth(Bn,Le.getMonth(Bn)+1),Kn=Le.addDate(Fn,-1);return it(Bn,pn)&&it(Kn,pn)}:null,vn=le.createElement("button",{type:"button",key:"year","aria-label":Ce.yearSelect,onClick:function(){vt("year")},tabIndex:-1,className:"".concat(xe,"-year-btn")},me(Me,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}));return le.createElement(Et.Provider,{value:an},le.createElement("div",{className:Ht},le.createElement(hr,{superOffset:function(pn){return Le.addYear(Me,pn)},onChange:ot,getStart:function(pn){return Le.setMonth(pn,0)},getEnd:function(pn){return Le.setMonth(pn,11)}},vn),le.createElement(zn,(0,re.Z)({},oe,{disabledDate:Qt,titleFormat:Ce.fieldMonthFormat,colNum:3,rowNum:4,baseDate:gn,getCellDate:on,getCellText:Jt,getCellClassName:zt}))))}function Wn(oe){var xe=oe.prefixCls,Ce=oe.locale,Le=oe.generateConfig,Me=oe.pickerValue,it=oe.onPickerValueChange,ot=oe.onModeChange,vt="".concat(xe,"-quarter-panel"),Ht=kn(oe,"quarter"),Xt=(0,Be.Z)(Ht,1),xt=Xt[0],an=Le.setMonth(Me,0),gn=function(Qt,vn){return Le.addMonth(Qt,vn*3)},hn=function(Qt){return me(Qt,{locale:Ce,format:Ce.cellQuarterFormat,generateConfig:Le})},on=function(){return(0,nt.Z)({},"".concat(xe,"-cell-in-view"),!0)},Jt=le.createElement("button",{type:"button",key:"year","aria-label":Ce.yearSelect,onClick:function(){ot("year")},tabIndex:-1,className:"".concat(xe,"-year-btn")},me(Me,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}));return le.createElement(Et.Provider,{value:xt},le.createElement("div",{className:vt},le.createElement(hr,{superOffset:function(Qt){return Le.addYear(Me,Qt)},onChange:it,getStart:function(Qt){return Le.setMonth(Qt,0)},getEnd:function(Qt){return Le.setMonth(Qt,11)}},Jt),le.createElement(zn,(0,re.Z)({},oe,{titleFormat:Ce.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:an,getCellDate:gn,getCellText:hn,getCellClassName:on}))))}function Vn(oe){var xe=oe.prefixCls,Ce=oe.generateConfig,Le=oe.locale,Me=oe.value,it=oe.hoverValue,ot=oe.hoverRangeValue,vt=Le.locale,Ht="".concat(xe,"-week-panel-row"),Xt=function(an){var gn={};if(ot){var hn=(0,Be.Z)(ot,2),on=hn[0],Jt=hn[1],zt=z(Ce,vt,on,an),Qt=z(Ce,vt,Jt,an);gn["".concat(Ht,"-range-start")]=zt,gn["".concat(Ht,"-range-end")]=Qt,gn["".concat(Ht,"-range-hover")]=!zt&&!Qt&&ne(Ce,on,Jt,an)}return it&&(gn["".concat(Ht,"-hover")]=it.some(function(vn){return z(Ce,vt,an,vn)})),Ie()(Ht,(0,nt.Z)({},"".concat(Ht,"-selected"),!ot&&z(Ce,vt,Me,an)),gn)};return le.createElement(pr,(0,re.Z)({},oe,{mode:"week",panelName:"week",rowClassName:Xt}))}function er(oe){var xe=oe.prefixCls,Ce=oe.locale,Le=oe.generateConfig,Me=oe.pickerValue,it=oe.disabledDate,ot=oe.onPickerValueChange,vt=oe.onModeChange,Ht="".concat(xe,"-year-panel"),Xt=kn(oe,"year"),xt=(0,Be.Z)(Xt,1),an=xt[0],gn=function(Kn){var mr=Math.floor(Le.getYear(Kn)/10)*10;return Le.setYear(Kn,mr)},hn=function(Kn){var mr=gn(Kn);return Le.addYear(mr,9)},on=gn(Me),Jt=hn(Me),zt=Le.addYear(on,-1),Qt=function(Kn,mr){return Le.addYear(Kn,mr)},vn=function(Kn){return me(Kn,{locale:Ce,format:Ce.cellYearFormat,generateConfig:Le})},xn=function(Kn){return(0,nt.Z)({},"".concat(xe,"-cell-in-view"),We(Le,Kn,on)||We(Le,Kn,Jt)||ne(Le,on,Jt,Kn))},pn=it?function(Fn,Kn){var mr=Le.setMonth(Fn,0),br=Le.setDate(mr,1),Dr=Le.addYear(br,1),sr=Le.addDate(Dr,-1);return it(br,Kn)&&it(sr,Kn)}:null,Bn=le.createElement("button",{type:"button",key:"decade","aria-label":Ce.decadeSelect,onClick:function(){vt("decade")},tabIndex:-1,className:"".concat(xe,"-decade-btn")},me(on,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}),"-",me(Jt,{locale:Ce,format:Ce.yearFormat,generateConfig:Le}));return le.createElement(Et.Provider,{value:an},le.createElement("div",{className:Ht},le.createElement(hr,{superOffset:function(Kn){return Le.addYear(Me,Kn*10)},onChange:ot,getStart:gn,getEnd:hn},Bn),le.createElement(zn,(0,re.Z)({},oe,{disabledDate:pn,titleFormat:Ce.fieldYearFormat,colNum:3,rowNum:4,baseDate:zt,getCellDate:Qt,getCellText:vn,getCellClassName:xn}))))}var Un={date:pr,datetime:En,week:Vn,month:Sn,quarter:Wn,year:er,decade:Pt,time:Tn};function tr(oe,xe){var Ce,Le=oe.locale,Me=oe.generateConfig,it=oe.direction,ot=oe.prefixCls,vt=oe.tabIndex,Ht=vt===void 0?0:vt,Xt=oe.multiple,xt=oe.defaultValue,an=oe.value,gn=oe.onChange,hn=oe.onSelect,on=oe.defaultPickerValue,Jt=oe.pickerValue,zt=oe.onPickerValueChange,Qt=oe.mode,vn=oe.onPanelChange,xn=oe.picker,pn=xn===void 0?"date":xn,Bn=oe.showTime,Fn=oe.hoverValue,Kn=oe.hoverRangeValue,mr=oe.cellRender,br=oe.dateRender,Dr=oe.monthCellRender,sr=oe.components,vr=sr===void 0?{}:sr,nr=oe.hideHeader,xr=((Ce=le.useContext(Ve))===null||Ce===void 0?void 0:Ce.prefixCls)||ot||"rc-picker",or=le.useRef();le.useImperativeHandle(xe,function(){return{nativeElement:or.current}});var gr=Lt(oe),Cr=(0,Be.Z)(gr,4),Zn=Cr[0],_n=Cr[1],Jn=Cr[2],Rn=Cr[3],Nn=Je(Le,_n),rr=pn==="date"&&Bn?"datetime":pn,wr=le.useMemo(function(){return Tt(rr,Jn,Rn,Zn,Nn)},[rr,Jn,Rn,Zn,Nn]),Or=Me.getNow(),Kr=(0,Se.C8)(pn,{value:Qt,postState:function(jn){return jn||"date"}}),ur=(0,Be.Z)(Kr,2),Xr=ur[0],Yr=ur[1],zr=Xr==="date"&&wr?"datetime":Xr,ii=cn(Me,Le,rr),ni=(0,Se.C8)(xt,{value:an}),fi=(0,Be.Z)(ni,2),Qr=fi[0],Zi=fi[1],oi=le.useMemo(function(){var Lr=Ee(Qr).filter(function(jn){return jn});return Xt?Lr:Lr.slice(0,1)},[Qr,Xt]),Hi=(0,Se.zX)(function(Lr){Zi(Lr),gn&&(Lr===null||oi.length!==Lr.length||oi.some(function(jn,Er){return!ee(Me,Le,jn,Lr[Er],rr)}))&&(gn==null||gn(Xt?Lr:Lr[0]))}),ci=(0,Se.zX)(function(Lr){if(hn==null||hn(Lr),Xr===pn){var jn=Xt?ii(oi,Lr):[Lr];Hi(jn)}}),ki=(0,Se.C8)(on||oi[0]||Or,{value:Jt}),zi=(0,Be.Z)(ki,2),Bi=zi[0],Ci=zi[1];le.useEffect(function(){oi[0]&&!Jt&&Ci(oi[0])},[oi[0]]);var Gi=function(jn,Er){vn==null||vn(jn||Jt,Er||Xr)},Vi=function(jn){var Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ci(jn),zt==null||zt(jn),Er&&Gi(jn)},_i=function(jn,Er){Yr(jn),Er&&Vi(Er),Gi(Er,jn)},wi=function(jn){if(ci(jn),Vi(jn),Xr!==pn){var Er=["decade","year"],lr=[].concat(Er,["month"]),yr={quarter:[].concat(Er,["quarter"]),week:[].concat((0,Ne.Z)(lr),["week"]),date:[].concat((0,Ne.Z)(lr),["date"])},hi=yr[pn]||lr,xi=hi.indexOf(Xr),ji=hi[xi+1];ji&&_i(ji,jn)}},ra=le.useMemo(function(){var Lr,jn;if(Array.isArray(Kn)){var Er=(0,Be.Z)(Kn,2);Lr=Er[0],jn=Er[1]}else Lr=Kn;return!Lr&&!jn?null:(Lr=Lr||jn,jn=jn||Lr,Me.isAfter(Lr,jn)?[jn,Lr]:[Lr,jn])},[Kn,Me]),Ii=ze(mr,br,Dr),Di=vr[zr]||Un[zr]||pr,Li=le.useContext(On),qi=le.useMemo(function(){return(0,Te.Z)((0,Te.Z)({},Li),{},{hideHeader:nr})},[Li,nr]),ai="".concat(xr,"-panel"),$i=Ue(oe,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return le.createElement(On.Provider,{value:qi},le.createElement("div",{ref:or,tabIndex:Ht,className:Ie()(ai,(0,nt.Z)({},"".concat(ai,"-rtl"),it==="rtl"))},le.createElement(Di,(0,re.Z)({},$i,{showTime:wr,prefixCls:xr,locale:Nn,generateConfig:Me,onModeChange:_i,pickerValue:Bi,onPickerValueChange:function(jn){Vi(jn,!0)},value:oi[0],onSelect:wi,values:oi,cellRender:Ii,hoverRangeValue:ra,hoverValue:Fn}))))}var kt=le.memo(le.forwardRef(tr)),Vr=kt;function ir(oe){var xe=oe.picker,Ce=oe.multiplePanel,Le=oe.pickerValue,Me=oe.onPickerValueChange,it=oe.needConfirm,ot=oe.onSubmit,vt=oe.range,Ht=oe.hoverValue,Xt=le.useContext(Ve),xt=Xt.prefixCls,an=Xt.generateConfig,gn=le.useCallback(function(vn,xn){return mn(an,xe,vn,xn)},[an,xe]),hn=le.useMemo(function(){return gn(Le,1)},[Le,gn]),on=function(xn){Me(gn(xn,-1))},Jt={onCellDblClick:function(){it&&ot()}},zt=xe==="time",Qt=(0,Te.Z)((0,Te.Z)({},oe),{},{hoverValue:null,hoverRangeValue:null,hideHeader:zt});return vt?Qt.hoverRangeValue=Ht:Qt.hoverValue=Ht,Ce?le.createElement("div",{className:"".concat(xt,"-panels")},le.createElement(On.Provider,{value:(0,Te.Z)((0,Te.Z)({},Jt),{},{hideNext:!0})},le.createElement(Vr,Qt)),le.createElement(On.Provider,{value:(0,Te.Z)((0,Te.Z)({},Jt),{},{hidePrev:!0})},le.createElement(Vr,(0,re.Z)({},Qt,{pickerValue:hn,onPickerValueChange:on})))):le.createElement(On.Provider,{value:(0,Te.Z)({},Jt)},le.createElement(Vr,Qt))}function Sr(oe){return typeof oe=="function"?oe():oe}function Ir(oe){var xe=oe.prefixCls,Ce=oe.presets,Le=oe.onClick,Me=oe.onHover;return Ce.length?le.createElement("div",{className:"".concat(xe,"-presets")},le.createElement("ul",null,Ce.map(function(it,ot){var vt=it.label,Ht=it.value;return le.createElement("li",{key:ot,onClick:function(){Le(Sr(Ht))},onMouseEnter:function(){Me(Sr(Ht))},onMouseLeave:function(){Me(null)}},vt)}))):null}function Ur(oe){var xe=oe.panelRender,Ce=oe.internalMode,Le=oe.picker,Me=oe.showNow,it=oe.range,ot=oe.multiple,vt=oe.activeInfo,Ht=vt===void 0?[0,0,0]:vt,Xt=oe.presets,xt=oe.onPresetHover,an=oe.onPresetSubmit,gn=oe.onFocus,hn=oe.onBlur,on=oe.onPanelMouseDown,Jt=oe.direction,zt=oe.value,Qt=oe.onSelect,vn=oe.isInvalid,xn=oe.defaultOpenValue,pn=oe.onOk,Bn=oe.onSubmit,Fn=le.useContext(Ve),Kn=Fn.prefixCls,mr="".concat(Kn,"-panel"),br=Jt==="rtl",Dr=le.useRef(null),sr=le.useRef(null),vr=le.useState(0),nr=(0,Be.Z)(vr,2),xr=nr[0],or=nr[1],gr=le.useState(0),Cr=(0,Be.Z)(gr,2),Zn=Cr[0],_n=Cr[1],Jn=le.useState(0),Rn=(0,Be.Z)(Jn,2),Nn=Rn[0],rr=Rn[1],wr=function(wi){wi.width&&or(wi.width)},Or=(0,Be.Z)(Ht,3),Kr=Or[0],ur=Or[1],Xr=Or[2],Yr=le.useState(0),zr=(0,Be.Z)(Yr,2),ii=zr[0],ni=zr[1];le.useEffect(function(){ni(10)},[Kr]),le.useEffect(function(){if(it&&sr.current){var _i,wi=((_i=Dr.current)===null||_i===void 0?void 0:_i.offsetWidth)||0,ra=sr.current.getBoundingClientRect();if(!ra.height||ra.right<0){ni(function(qi){return Math.max(0,qi-1)});return}var Ii=(br?ur-wi:Kr)-ra.left;if(rr(Ii),xr&&xr<Xr){var Di=br?ra.right-(ur-wi+xr):Kr+wi-ra.left-xr,Li=Math.max(0,Di);_n(Li)}else _n(0)}},[ii,br,xr,Kr,ur,Xr,it]);function fi(_i){return _i.filter(function(wi){return wi})}var Qr=le.useMemo(function(){return fi(Ee(zt))},[zt]),Zi=Le==="time"&&!Qr.length,oi=le.useMemo(function(){return Zi?fi([xn]):Qr},[Zi,Qr,xn]),Hi=Zi?xn:Qr,ci=le.useMemo(function(){return oi.length?oi.some(function(_i){return vn(_i)}):!0},[oi,vn]),ki=function(){Zi&&Qt(xn),pn(),Bn()},zi=le.createElement("div",{className:"".concat(Kn,"-panel-layout")},le.createElement(Ir,{prefixCls:Kn,presets:Xt,onClick:an,onHover:xt}),le.createElement("div",null,le.createElement(ir,(0,re.Z)({},oe,{value:Hi})),le.createElement(dn,(0,re.Z)({},oe,{showNow:ot?!1:Me,invalid:ci,onSubmit:ki}))));xe&&(zi=xe(zi));var Bi="".concat(mr,"-container"),Ci="marginLeft",Gi="marginRight",Vi=le.createElement("div",{onMouseDown:on,tabIndex:-1,className:Ie()(Bi,"".concat(Kn,"-").concat(Ce,"-panel-container")),style:(0,nt.Z)((0,nt.Z)({},br?Gi:Ci,Zn),br?Ci:Gi,"auto"),onFocus:gn,onBlur:hn},zi);return it&&(Vi=le.createElement("div",{onMouseDown:on,ref:sr,className:Ie()("".concat(Kn,"-range-wrapper"),"".concat(Kn,"-").concat(Le,"-range-wrapper"))},le.createElement("div",{ref:Dr,className:"".concat(Kn,"-range-arrow"),style:{left:Nn}}),le.createElement(Hn.Z,{onResize:wr},Vi))),Vi}var Jr=se(43079);function Ai(oe,xe){var Ce=oe.format,Le=oe.maskFormat,Me=oe.generateConfig,it=oe.locale,ot=oe.preserveInvalidOnBlur,vt=oe.inputReadOnly,Ht=oe.required,Xt=oe["aria-required"],xt=oe.onSubmit,an=oe.onFocus,gn=oe.onBlur,hn=oe.onInputChange,on=oe.onInvalid,Jt=oe.open,zt=oe.onOpenChange,Qt=oe.onKeyDown,vn=oe.onChange,xn=oe.activeHelp,pn=oe.name,Bn=oe.autoComplete,Fn=oe.id,Kn=oe.value,mr=oe.invalid,br=oe.placeholder,Dr=oe.disabled,sr=oe.activeIndex,vr=oe.allHelp,nr=oe.picker,xr=function(Nn,rr){var wr=Me.locale.parse(it.locale,Nn,[rr]);return wr&&Me.isValidate(wr)?wr:null},or=Ce[0],gr=le.useCallback(function(Rn){return me(Rn,{locale:it,format:or,generateConfig:Me})},[it,Me,or]),Cr=le.useMemo(function(){return Kn.map(gr)},[Kn,gr]),Zn=le.useMemo(function(){var Rn=nr==="time"?8:10,Nn=typeof or=="function"?or(Me.getNow()).length:or.length;return Math.max(Rn,Nn)+2},[or,nr,Me]),_n=function(Nn){for(var rr=0;rr<Ce.length;rr+=1){var wr=Ce[rr];if(typeof wr=="string"){var Or=xr(Nn,wr);if(Or)return Or}}return!1},Jn=function(Nn){function rr(Kr){return Nn!==void 0?Kr[Nn]:Kr}var wr=(0,be.Z)(oe,{aria:!0,data:!0}),Or=(0,Te.Z)((0,Te.Z)({},wr),{},{format:Le,validateFormat:function(ur){return!!_n(ur)},preserveInvalidOnBlur:ot,readOnly:vt,required:Ht,"aria-required":Xt,name:pn,autoComplete:Bn,size:Zn,id:rr(Fn),value:rr(Cr)||"",invalid:rr(mr),placeholder:rr(br),active:sr===Nn,helped:vr||xn&&sr===Nn,disabled:rr(Dr),onFocus:function(ur){an(ur,Nn)},onBlur:function(ur){gn(ur,Nn)},onSubmit:xt,onChange:function(ur){hn();var Xr=_n(ur);if(Xr){on(!1,Nn),vn(Xr,Nn);return}on(!!ur,Nn)},onHelp:function(){zt(!0,{index:Nn})},onKeyDown:function(ur){var Xr=!1;if(Qt==null||Qt(ur,function(){Xr=!0}),!ur.defaultPrevented&&!Xr)switch(ur.key){case"Escape":zt(!1,{index:Nn});break;case"Enter":Jt||zt(!0);break}}},xe==null?void 0:xe({valueTexts:Cr}));return Object.keys(Or).forEach(function(Kr){Or[Kr]===void 0&&delete Or[Kr]}),Or};return[Jn,gr]}var ui=["onMouseEnter","onMouseLeave"];function ei(oe){return le.useMemo(function(){return Ue(oe,ui)},[oe])}var Si=["icon","type"],ti=["onClear"];function Fi(oe){var xe=oe.icon,Ce=oe.type,Le=(0,Jr.Z)(oe,Si),Me=le.useContext(Ve),it=Me.prefixCls;return xe?le.createElement("span",(0,re.Z)({className:"".concat(it,"-").concat(Ce)},Le),xe):null}function Ki(oe){var xe=oe.onClear,Ce=(0,Jr.Z)(oe,ti);return le.createElement(Fi,(0,re.Z)({},Ce,{type:"clear",role:"button",onMouseDown:function(Me){Me.preventDefault()},onClick:function(Me){Me.stopPropagation(),xe()}}))}var Oi=se(33377),Ti=se(93912),Wi=["YYYY","MM","DD","HH","mm","ss","SSS"],Ni="\u9867",gi=function(){function oe(xe){(0,Oi.Z)(this,oe),(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=xe;var Ce=Wi.map(function(vt){return"(".concat(vt,")")}).join("|"),Le=new RegExp(Ce,"g");this.maskFormat=xe.replace(Le,function(vt){return Ni.repeat(vt.length)});var Me=new RegExp("(".concat(Wi.join("|"),")")),it=(xe.split(Me)||[]).filter(function(vt){return vt}),ot=0;this.cells=it.map(function(vt){var Ht=Wi.includes(vt),Xt=ot,xt=ot+vt.length;return ot=xt,{text:vt,mask:Ht,start:Xt,end:xt}}),this.maskCells=this.cells.filter(function(vt){return vt.mask})}return(0,Ti.Z)(oe,[{key:"getSelection",value:function(Ce){var Le=this.maskCells[Ce]||{},Me=Le.start,it=Le.end;return[Me||0,it||0]}},{key:"match",value:function(Ce){for(var Le=0;Le<this.maskFormat.length;Le+=1){var Me=this.maskFormat[Le],it=Ce[Le];if(!it||Me!==Ni&&Me!==it)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Ce){for(var Le=Number.MAX_SAFE_INTEGER,Me=0,it=0;it<this.maskCells.length;it+=1){var ot=this.maskCells[it],vt=ot.start,Ht=ot.end;if(Ce>=vt&&Ce<=Ht)return it;var Xt=Math.min(Math.abs(Ce-vt),Math.abs(Ce-Ht));Xt<Le&&(Le=Xt,Me=it)}return Me}}]),oe}();function Ui(oe){var xe={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 xe[oe]}var Pi=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],kr=le.forwardRef(function(oe,xe){var Ce=oe.active,Le=oe.showActiveCls,Me=Le===void 0?!0:Le,it=oe.suffixIcon,ot=oe.format,vt=oe.validateFormat,Ht=oe.onChange,Xt=oe.onInput,xt=oe.helped,an=oe.onHelp,gn=oe.onSubmit,hn=oe.onKeyDown,on=oe.preserveInvalidOnBlur,Jt=on===void 0?!1:on,zt=oe.invalid,Qt=oe.clearIcon,vn=(0,Jr.Z)(oe,Pi),xn=oe.value,pn=oe.onFocus,Bn=oe.onBlur,Fn=oe.onMouseUp,Kn=le.useContext(Ve),mr=Kn.prefixCls,br=Kn.input,Dr=br===void 0?"input":br,sr="".concat(mr,"-input"),vr=le.useState(!1),nr=(0,Be.Z)(vr,2),xr=nr[0],or=nr[1],gr=le.useState(xn),Cr=(0,Be.Z)(gr,2),Zn=Cr[0],_n=Cr[1],Jn=le.useState(""),Rn=(0,Be.Z)(Jn,2),Nn=Rn[0],rr=Rn[1],wr=le.useState(null),Or=(0,Be.Z)(wr,2),Kr=Or[0],ur=Or[1],Xr=le.useState(null),Yr=(0,Be.Z)(Xr,2),zr=Yr[0],ii=Yr[1],ni=Zn||"";le.useEffect(function(){_n(xn)},[xn]);var fi=le.useRef(),Qr=le.useRef();le.useImperativeHandle(xe,function(){return{nativeElement:fi.current,inputElement:Qr.current,focus:function(jn){Qr.current.focus(jn)},blur:function(){Qr.current.blur()}}});var Zi=le.useMemo(function(){return new gi(ot||"")},[ot]),oi=le.useMemo(function(){return xt?[0,0]:Zi.getSelection(Kr)},[Zi,Kr,xt]),Hi=(0,Be.Z)(oi,2),ci=Hi[0],ki=Hi[1],zi=function(jn){jn&&jn!==ot&&jn!==xn&&an()},Bi=(0,Se.zX)(function(Lr){vt(Lr)&&Ht(Lr),_n(Lr),zi(Lr)}),Ci=function(jn){if(!ot){var Er=jn.target.value;zi(Er),_n(Er),Ht(Er)}},Gi=function(jn){var Er=jn.clipboardData.getData("text");vt(Er)&&Bi(Er)},Vi=le.useRef(!1),_i=function(){Vi.current=!0},wi=function(jn){var Er=jn.target,lr=Er.selectionStart,yr=Zi.getMaskCellIndex(lr);ur(yr),ii({}),Fn==null||Fn(jn),Vi.current=!1},ra=function(jn){or(!0),ur(0),rr(""),pn(jn)},Ii=function(jn){Bn(jn)},Di=function(jn){or(!1),Ii(jn)};ft(Ce,function(){!Ce&&!Jt&&_n(xn)});var Li=function(jn){jn.key==="Enter"&&vt(ni)&&gn(),hn==null||hn(jn)},qi=function(jn){Li(jn);var Er=jn.key,lr=null,yr=null,hi=ki-ci,xi=ot.slice(ci,ki),ji=function(Xi){ur(function(la){var ta=la+Xi;return ta=Math.max(ta,0),ta=Math.min(ta,Zi.size()-1),ta})},ia=function(Xi){var la=Ui(xi),ta=(0,Be.Z)(la,3),La=ta[0],Qa=ta[1],Na=ta[2],Fa=ni.slice(ci,ki),ka=Number(Fa);if(isNaN(ka))return String(Na||(Xi>0?La:Qa));var ua=ka+Xi,Ca=Qa-La+1;return String(La+(Ca+ua-La)%Ca)};switch(Er){case"Backspace":case"Delete":lr="",yr=xi;break;case"ArrowLeft":lr="",ji(-1);break;case"ArrowRight":lr="",ji(1);break;case"ArrowUp":lr="",yr=ia(1);break;case"ArrowDown":lr="",yr=ia(-1);break;default:isNaN(Number(Er))||(lr=Nn+Er,yr=lr);break}if(lr!==null&&(rr(lr),lr.length>=hi&&(ji(1),rr(""))),yr!==null){var aa=ni.slice(0,ci)+Fe(yr,hi)+ni.slice(ki);Bi(aa.slice(0,ot.length))}ii({})},ai=le.useRef();(0,fe.Z)(function(){if(!(!xr||!ot||Vi.current)){if(!Zi.match(ni)){Bi(ot);return}return Qr.current.setSelectionRange(ci,ki),ai.current=(0,qt.Z)(function(){Qr.current.setSelectionRange(ci,ki)}),function(){qt.Z.cancel(ai.current)}}},[Zi,ot,xr,ni,Kr,ci,ki,zr,Bi]);var $i=ot?{onFocus:ra,onBlur:Di,onKeyDown:qi,onMouseDown:_i,onMouseUp:wi,onPaste:Gi}:{};return le.createElement("div",{ref:fi,className:Ie()(sr,(0,nt.Z)((0,nt.Z)({},"".concat(sr,"-active"),Ce&&Me),"".concat(sr,"-placeholder"),xt))},le.createElement(Dr,(0,re.Z)({ref:Qr,"aria-invalid":zt,autoComplete:"off"},vn,{onKeyDown:Li,onBlur:Ii},$i,{value:ni,onChange:Ci})),le.createElement(Fi,{type:"suffix",icon:it}),Qt)}),jr=kr,ri=["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"],bi=["index"];function yi(oe,xe){var Ce=oe.id,Le=oe.prefix,Me=oe.clearIcon,it=oe.suffixIcon,ot=oe.separator,vt=ot===void 0?"~":ot,Ht=oe.activeIndex,Xt=oe.activeHelp,xt=oe.allHelp,an=oe.focused,gn=oe.onFocus,hn=oe.onBlur,on=oe.onKeyDown,Jt=oe.locale,zt=oe.generateConfig,Qt=oe.placeholder,vn=oe.className,xn=oe.style,pn=oe.onClick,Bn=oe.onClear,Fn=oe.value,Kn=oe.onChange,mr=oe.onSubmit,br=oe.onInputChange,Dr=oe.format,sr=oe.maskFormat,vr=oe.preserveInvalidOnBlur,nr=oe.onInvalid,xr=oe.disabled,or=oe.invalid,gr=oe.inputReadOnly,Cr=oe.direction,Zn=oe.onOpenChange,_n=oe.onActiveInfo,Jn=oe.placement,Rn=oe.onMouseDown,Nn=oe.required,rr=oe["aria-required"],wr=oe.autoFocus,Or=oe.tabIndex,Kr=(0,Jr.Z)(oe,ri),ur=Cr==="rtl",Xr=le.useContext(Ve),Yr=Xr.prefixCls,zr=le.useMemo(function(){if(typeof Ce=="string")return[Ce];var Ii=Ce||{};return[Ii.start,Ii.end]},[Ce]),ii=le.useRef(),ni=le.useRef(),fi=le.useRef(),Qr=function(Di){var Li;return(Li=[ni,fi][Di])===null||Li===void 0?void 0:Li.current};le.useImperativeHandle(xe,function(){return{nativeElement:ii.current,focus:function(Di){if((0,Nt.Z)(Di)==="object"){var Li,qi=Di||{},ai=qi.index,$i=ai===void 0?0:ai,Lr=(0,Jr.Z)(qi,bi);(Li=Qr($i))===null||Li===void 0||Li.focus(Lr)}else{var jn;(jn=Qr(Di!=null?Di:0))===null||jn===void 0||jn.focus()}},blur:function(){var Di,Li;(Di=Qr(0))===null||Di===void 0||Di.blur(),(Li=Qr(1))===null||Li===void 0||Li.blur()}}});var Zi=ei(Kr),oi=le.useMemo(function(){return Array.isArray(Qt)?Qt:[Qt,Qt]},[Qt]),Hi=Ai((0,Te.Z)((0,Te.Z)({},oe),{},{id:zr,placeholder:oi})),ci=(0,Be.Z)(Hi,1),ki=ci[0],zi=le.useState({position:"absolute",width:0}),Bi=(0,Be.Z)(zi,2),Ci=Bi[0],Gi=Bi[1],Vi=(0,Se.zX)(function(){var Ii=Qr(Ht);if(Ii){var Di=Ii.nativeElement.getBoundingClientRect(),Li=ii.current.getBoundingClientRect(),qi=Di.left-Li.left;Gi(function(ai){return(0,Te.Z)((0,Te.Z)({},ai),{},{width:Di.width,left:qi})}),_n([Di.left,Di.right,Li.width])}});le.useEffect(function(){Vi()},[Ht]);var _i=Me&&(Fn[0]&&!xr[0]||Fn[1]&&!xr[1]),wi=wr&&!xr[0],ra=wr&&!wi&&!xr[1];return le.createElement(Hn.Z,{onResize:Vi},le.createElement("div",(0,re.Z)({},Zi,{className:Ie()(Yr,"".concat(Yr,"-range"),(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(Yr,"-focused"),an),"".concat(Yr,"-disabled"),xr.every(function(Ii){return Ii})),"".concat(Yr,"-invalid"),or.some(function(Ii){return Ii})),"".concat(Yr,"-rtl"),ur),vn),style:xn,ref:ii,onClick:pn,onMouseDown:function(Di){var Li=Di.target;Li!==ni.current.inputElement&&Li!==fi.current.inputElement&&Di.preventDefault(),Rn==null||Rn(Di)}}),Le&&le.createElement("div",{className:"".concat(Yr,"-prefix")},Le),le.createElement(jr,(0,re.Z)({ref:ni},ki(0),{autoFocus:wi,tabIndex:Or,"date-range":"start"})),le.createElement("div",{className:"".concat(Yr,"-range-separator")},vt),le.createElement(jr,(0,re.Z)({ref:fi},ki(1),{autoFocus:ra,tabIndex:Or,"date-range":"end"})),le.createElement("div",{className:"".concat(Yr,"-active-bar"),style:Ci}),le.createElement(Fi,{type:"suffix",icon:it}),_i&&le.createElement(Ki,{icon:Me,onClear:Bn})))}var Ei=le.forwardRef(yi),Ji=Ei;function tt(oe,xe){var Ce=oe!=null?oe:xe;return Array.isArray(Ce)?Ce:[Ce,Ce]}function Kt(oe){return oe===1?"end":"start"}function Mt(oe,xe){var Ce=Rt(oe,function(){var mi=oe.disabled,_r=oe.allowEmpty,li=tt(mi,!1),Mi=tt(_r,!1);return{disabled:li,allowEmpty:Mi}}),Le=(0,Be.Z)(Ce,6),Me=Le[0],it=Le[1],ot=Le[2],vt=Le[3],Ht=Le[4],Xt=Le[5],xt=Me.prefixCls,an=Me.styles,gn=Me.classNames,hn=Me.defaultValue,on=Me.value,Jt=Me.needConfirm,zt=Me.onKeyDown,Qt=Me.disabled,vn=Me.allowEmpty,xn=Me.disabledDate,pn=Me.minDate,Bn=Me.maxDate,Fn=Me.defaultOpen,Kn=Me.open,mr=Me.onOpenChange,br=Me.locale,Dr=Me.generateConfig,sr=Me.picker,vr=Me.showNow,nr=Me.showToday,xr=Me.showTime,or=Me.mode,gr=Me.onPanelChange,Cr=Me.onCalendarChange,Zn=Me.onOk,_n=Me.defaultPickerValue,Jn=Me.pickerValue,Rn=Me.onPickerValueChange,Nn=Me.inputReadOnly,rr=Me.suffixIcon,wr=Me.onFocus,Or=Me.onBlur,Kr=Me.presets,ur=Me.ranges,Xr=Me.components,Yr=Me.cellRender,zr=Me.dateRender,ii=Me.monthCellRender,ni=Me.onClick,fi=Ut(xe),Qr=nn(Kn,Fn,Qt,mr),Zi=(0,Be.Z)(Qr,2),oi=Zi[0],Hi=Zi[1],ci=function(_r,li){(Qt.some(function(Mi){return!Mi})||!_r)&&Hi(_r,li)},ki=ar(Dr,br,vt,!0,!1,hn,on,Cr,Zn),zi=(0,Be.Z)(ki,5),Bi=zi[0],Ci=zi[1],Gi=zi[2],Vi=zi[3],_i=zi[4],wi=Gi(),ra=Zt(Qt,vn,oi),Ii=(0,Be.Z)(ra,9),Di=Ii[0],Li=Ii[1],qi=Ii[2],ai=Ii[3],$i=Ii[4],Lr=Ii[5],jn=Ii[6],Er=Ii[7],lr=Ii[8],yr=function(_r,li){Li(!0),wr==null||wr(_r,{range:Kt(li!=null?li:ai)})},hi=function(_r,li){Li(!1),Or==null||Or(_r,{range:Kt(li!=null?li:ai)})},xi=le.useMemo(function(){if(!xr)return null;var mi=xr.disabledTime,_r=mi?function(li){var Mi=Kt(ai),va=ge(wi,jn,ai);return mi(li,Mi,{from:va})}:void 0;return(0,Te.Z)((0,Te.Z)({},xr),{},{disabledTime:_r})},[xr,ai,wi,jn]),ji=(0,Se.C8)([sr,sr],{value:or}),ia=(0,Be.Z)(ji,2),aa=ia[0],Yi=ia[1],Xi=aa[ai]||sr,la=Xi==="date"&&xi?"datetime":Xi,ta=la===sr&&la!=="time",La=Pr(sr,Xi,vr,nr,!0),Qa=Tr(Me,Bi,Ci,Gi,Vi,Qt,vt,Di,oi,Xt),Na=(0,Be.Z)(Qa,2),Fa=Na[0],ka=Na[1],ua=Yt(wi,Qt,jn,Dr,br,xn),Ca=Ze(wi,Xt,vn),xa=(0,Be.Z)(Ca,2),ao=xa[0],bo=xa[1],vo=Gn(Dr,br,wi,aa,oi,ai,it,ta,_n,Jn,xi==null?void 0:xi.defaultOpenValue,Rn,pn,Bn),Va=(0,Be.Z)(vo,2),wo=Va[0],oo=Va[1],wa=(0,Se.zX)(function(mi,_r,li){var Mi=Ge(aa,ai,_r);if((Mi[0]!==aa[0]||Mi[1]!==aa[1])&&Yi(Mi),gr&&li!==!1){var va=(0,Ne.Z)(wi);mi&&(va[ai]=mi),gr(va,Mi)}}),lo=function(_r,li){return Ge(wi,li,_r)},Ma=function(_r,li){var Mi=wi;_r&&(Mi=lo(_r,ai)),Er(ai);var va=Lr(Mi);Vi(Mi),Fa(ai,va===null),va===null?ci(!1,{force:!0}):li||fi.current.focus({index:va})},po=function(_r){var li,Mi=_r.target.getRootNode();if(!fi.current.nativeElement.contains((li=Mi.activeElement)!==null&&li!==void 0?li:document.activeElement)){var va=Qt.findIndex(function(El){return!El});va>=0&&fi.current.focus({index:va})}ci(!0),ni==null||ni(_r)},so=function(){ka(null),ci(!1,{force:!0})},mo=le.useState(null),Ha=(0,Be.Z)(mo,2),uo=Ha[0],eo=Ha[1],Ea=le.useState(null),Ja=(0,Be.Z)(Ea,2),_a=Ja[0],co=Ja[1],to=le.useMemo(function(){return _a||wi},[wi,_a]);le.useEffect(function(){oi||co(null)},[oi]);var fo=le.useState([0,0,0]),Ia=(0,Be.Z)(fo,2),no=Ia[0],Eo=Ia[1],qa=Dt(Kr,ur),go=function(_r){co(_r),eo("preset")},Ua=function(_r){var li=ka(_r);li&&ci(!1,{force:!0})},yo=function(_r){Ma(_r)},ja=function(_r){co(_r?lo(_r,ai):null),eo("cell")},vi=function(_r){ci(!0),yr(_r)},pi=function(){qi("panel")},oa=function(_r){var li=Ge(wi,ai,_r);Vi(li),!Jt&&!ot&&it===la&&Ma(_r)},ha=function(){ci(!1)},da=ze(Yr,zr,ii,Kt(ai)),Ya=wi[ai]||null,za=(0,Se.zX)(function(mi){return Xt(mi,{activeIndex:ai})}),di=le.useMemo(function(){var mi=(0,be.Z)(Me,!1),_r=(0,Oe.Z)(Me,[].concat((0,Ne.Z)(Object.keys(mi)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return _r},[Me]),qr=le.createElement(Ur,(0,re.Z)({},di,{showNow:La,showTime:xi,range:!0,multiplePanel:ta,activeInfo:no,disabledDate:ua,onFocus:vi,onBlur:hi,onPanelMouseDown:pi,picker:sr,mode:Xi,internalMode:la,onPanelChange:wa,format:Ht,value:Ya,isInvalid:za,onChange:null,onSelect:oa,pickerValue:wo,defaultOpenValue:Ee(xr==null?void 0:xr.defaultOpenValue)[ai],onPickerValueChange:oo,hoverValue:to,onHover:ja,needConfirm:Jt,onSubmit:Ma,onOk:_i,presets:qa,onPresetHover:go,onPresetSubmit:Ua,onNow:yo,cellRender:da})),sa=function(_r,li){var Mi=lo(_r,li);Vi(Mi)},$a=function(){qi("input")},Mo=function(_r,li){var Mi=jn.length,va=jn[Mi-1];if(Mi&&va!==li&&Jt&&!vn[va]&&!lr(va)&&wi[va]){fi.current.focus({index:va});return}qi("input"),ci(!0,{inherit:!0}),ai!==li&&oi&&!Jt&&ot&&Ma(null,!0),$i(li),yr(_r,li)},xl=function(_r,li){if(ci(!1),!Jt&&qi()==="input"){var Mi=Lr(wi);Fa(ai,Mi===null)}hi(_r,li)},bl=function(_r,li){_r.key==="Tab"&&Ma(null,!0),zt==null||zt(_r,li)},wl=le.useMemo(function(){return{prefixCls:xt,locale:br,generateConfig:Dr,button:Xr.button,input:Xr.input}},[xt,br,Dr,Xr.button,Xr.input]);if((0,fe.Z)(function(){oi&&ai!==void 0&&wa(null,sr,!1)},[oi,ai,sr]),(0,fe.Z)(function(){var mi=qi();!oi&&mi==="input"&&(ci(!1),Ma(null,!0)),!oi&&ot&&!Jt&&mi==="panel"&&(ci(!0),Ma())},[oi]),0)var Yl;return le.createElement(Ve.Provider,{value:wl},le.createElement(rt,(0,re.Z)({},ke(Me),{popupElement:qr,popupStyle:an.popup,popupClassName:gn.popup,visible:oi,onClose:ha,range:!0}),le.createElement(Ji,(0,re.Z)({},Me,{ref:fi,suffixIcon:rr,activeIndex:Di||oi?ai:null,activeHelp:!!_a,allHelp:!!_a&&uo==="preset",focused:Di,onFocus:Mo,onBlur:xl,onKeyDown:bl,onSubmit:Ma,value:to,maskFormat:Ht,onChange:sa,onInputChange:$a,format:vt,inputReadOnly:Nn,disabled:Qt,open:oi,onOpenChange:ci,onClick:po,onClear:so,invalid:ao,onInvalid:bo,onActiveInfo:Eo}))))}var Gt=le.forwardRef(Mt),tn=Gt,Cn=se(11780);function In(oe){var xe=oe.prefixCls,Ce=oe.value,Le=oe.onRemove,Me=oe.removeIcon,it=Me===void 0?"\xD7":Me,ot=oe.formatDate,vt=oe.disabled,Ht=oe.maxTagCount,Xt=oe.placeholder,xt="".concat(xe,"-selector"),an="".concat(xe,"-selection"),gn="".concat(an,"-overflow");function hn(zt,Qt){return le.createElement("span",{className:Ie()("".concat(an,"-item")),title:typeof zt=="string"?zt:null},le.createElement("span",{className:"".concat(an,"-item-content")},zt),!vt&&Qt&&le.createElement("span",{onMouseDown:function(xn){xn.preventDefault()},onClick:Qt,className:"".concat(an,"-item-remove")},it))}function on(zt){var Qt=ot(zt),vn=function(pn){pn&&pn.stopPropagation(),Le(zt)};return hn(Qt,vn)}function Jt(zt){var Qt="+ ".concat(zt.length," ...");return hn(Qt)}return le.createElement("div",{className:xt},le.createElement(Cn.Z,{prefixCls:gn,data:Ce,renderItem:on,renderRest:Jt,itemKey:function(Qt){return ot(Qt)},maxCount:Ht}),!Ce.length&&le.createElement("span",{className:"".concat(xe,"-selection-placeholder")},Xt))}var Dn=["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(oe,xe){var Ce=oe.id,Le=oe.open,Me=oe.prefix,it=oe.clearIcon,ot=oe.suffixIcon,vt=oe.activeHelp,Ht=oe.allHelp,Xt=oe.focused,xt=oe.onFocus,an=oe.onBlur,gn=oe.onKeyDown,hn=oe.locale,on=oe.generateConfig,Jt=oe.placeholder,zt=oe.className,Qt=oe.style,vn=oe.onClick,xn=oe.onClear,pn=oe.internalPicker,Bn=oe.value,Fn=oe.onChange,Kn=oe.onSubmit,mr=oe.onInputChange,br=oe.multiple,Dr=oe.maxTagCount,sr=oe.format,vr=oe.maskFormat,nr=oe.preserveInvalidOnBlur,xr=oe.onInvalid,or=oe.disabled,gr=oe.invalid,Cr=oe.inputReadOnly,Zn=oe.direction,_n=oe.onOpenChange,Jn=oe.onMouseDown,Rn=oe.required,Nn=oe["aria-required"],rr=oe.autoFocus,wr=oe.tabIndex,Or=oe.removeIcon,Kr=(0,Jr.Z)(oe,Dn),ur=Zn==="rtl",Xr=le.useContext(Ve),Yr=Xr.prefixCls,zr=le.useRef(),ii=le.useRef();le.useImperativeHandle(xe,function(){return{nativeElement:zr.current,focus:function(Ci){var Gi;(Gi=ii.current)===null||Gi===void 0||Gi.focus(Ci)},blur:function(){var Ci;(Ci=ii.current)===null||Ci===void 0||Ci.blur()}}});var ni=ei(Kr),fi=function(Ci){Fn([Ci])},Qr=function(Ci){var Gi=Bn.filter(function(Vi){return Vi&&!ee(on,hn,Vi,Ci,pn)});Fn(Gi),Le||Kn()},Zi=Ai((0,Te.Z)((0,Te.Z)({},oe),{},{onChange:fi}),function(Bi){var Ci=Bi.valueTexts;return{value:Ci[0]||"",active:Xt}}),oi=(0,Be.Z)(Zi,2),Hi=oi[0],ci=oi[1],ki=!!(it&&Bn.length&&!or),zi=br?le.createElement(le.Fragment,null,le.createElement(In,{prefixCls:Yr,value:Bn,onRemove:Qr,formatDate:ci,maxTagCount:Dr,disabled:or,removeIcon:Or,placeholder:Jt}),le.createElement("input",{className:"".concat(Yr,"-multiple-input"),value:Bn.map(ci).join(","),ref:ii,readOnly:!0,autoFocus:rr,tabIndex:wr}),le.createElement(Fi,{type:"suffix",icon:ot}),ki&&le.createElement(Ki,{icon:it,onClear:xn})):le.createElement(jr,(0,re.Z)({ref:ii},Hi(),{autoFocus:rr,tabIndex:wr,suffixIcon:ot,clearIcon:ki&&le.createElement(Ki,{icon:it,onClear:xn}),showActiveCls:!1}));return le.createElement("div",(0,re.Z)({},ni,{className:Ie()(Yr,(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(Yr,"-multiple"),br),"".concat(Yr,"-focused"),Xt),"".concat(Yr,"-disabled"),or),"".concat(Yr,"-invalid"),gr),"".concat(Yr,"-rtl"),ur),zt),style:Qt,ref:zr,onClick:vn,onMouseDown:function(Ci){var Gi,Vi=Ci.target;Vi!==((Gi=ii.current)===null||Gi===void 0?void 0:Gi.inputElement)&&Ci.preventDefault(),Jn==null||Jn(Ci)}}),Me&&le.createElement("div",{className:"".concat(Yr,"-prefix")},Me),zi)}var It=le.forwardRef(An),ln=It;function fn(oe,xe){var Ce=Rt(oe),Le=(0,Be.Z)(Ce,6),Me=Le[0],it=Le[1],ot=Le[2],vt=Le[3],Ht=Le[4],Xt=Le[5],xt=Me,an=xt.prefixCls,gn=xt.styles,hn=xt.classNames,on=xt.order,Jt=xt.defaultValue,zt=xt.value,Qt=xt.needConfirm,vn=xt.onChange,xn=xt.onKeyDown,pn=xt.disabled,Bn=xt.disabledDate,Fn=xt.minDate,Kn=xt.maxDate,mr=xt.defaultOpen,br=xt.open,Dr=xt.onOpenChange,sr=xt.locale,vr=xt.generateConfig,nr=xt.picker,xr=xt.showNow,or=xt.showToday,gr=xt.showTime,Cr=xt.mode,Zn=xt.onPanelChange,_n=xt.onCalendarChange,Jn=xt.onOk,Rn=xt.multiple,Nn=xt.defaultPickerValue,rr=xt.pickerValue,wr=xt.onPickerValueChange,Or=xt.inputReadOnly,Kr=xt.suffixIcon,ur=xt.removeIcon,Xr=xt.onFocus,Yr=xt.onBlur,zr=xt.presets,ii=xt.components,ni=xt.cellRender,fi=xt.dateRender,Qr=xt.monthCellRender,Zi=xt.onClick,oi=Ut(xe);function Hi(di){return di===null?null:Rn?di:di[0]}var ci=cn(vr,sr,it),ki=nn(br,mr,[pn],Dr),zi=(0,Be.Z)(ki,2),Bi=zi[0],Ci=zi[1],Gi=function(qr,sa,$a){if(_n){var Mo=(0,Te.Z)({},$a);delete Mo.range,_n(Hi(qr),Hi(sa),Mo)}},Vi=function(qr){Jn==null||Jn(Hi(qr))},_i=ar(vr,sr,vt,!1,on,Jt,zt,Gi,Vi),wi=(0,Be.Z)(_i,5),ra=wi[0],Ii=wi[1],Di=wi[2],Li=wi[3],qi=wi[4],ai=Di(),$i=Zt([pn]),Lr=(0,Be.Z)($i,4),jn=Lr[0],Er=Lr[1],lr=Lr[2],yr=Lr[3],hi=function(qr){Er(!0),Xr==null||Xr(qr,{})},xi=function(qr){Er(!1),Yr==null||Yr(qr,{})},ji=(0,Se.C8)(nr,{value:Cr}),ia=(0,Be.Z)(ji,2),aa=ia[0],Yi=ia[1],Xi=aa==="date"&&gr?"datetime":aa,la=Pr(nr,aa,xr,or),ta=vn&&function(di,qr){vn(Hi(di),Hi(qr))},La=Tr((0,Te.Z)((0,Te.Z)({},Me),{},{onChange:ta}),ra,Ii,Di,Li,[],vt,jn,Bi,Xt),Qa=(0,Be.Z)(La,2),Na=Qa[1],Fa=Ze(ai,Xt),ka=(0,Be.Z)(Fa,2),ua=ka[0],Ca=ka[1],xa=le.useMemo(function(){return ua.some(function(di){return di})},[ua]),ao=function(qr,sa){if(wr){var $a=(0,Te.Z)((0,Te.Z)({},sa),{},{mode:sa.mode[0]});delete $a.range,wr(qr[0],$a)}},bo=Gn(vr,sr,ai,[aa],Bi,yr,it,!1,Nn,rr,Ee(gr==null?void 0:gr.defaultOpenValue),ao,Fn,Kn),vo=(0,Be.Z)(bo,2),Va=vo[0],wo=vo[1],oo=(0,Se.zX)(function(di,qr,sa){if(Yi(qr),Zn&&sa!==!1){var $a=di||ai[ai.length-1];Zn($a,qr)}}),wa=function(){Na(Di()),Ci(!1,{force:!0})},lo=function(qr){!pn&&!oi.current.nativeElement.contains(document.activeElement)&&oi.current.focus(),Ci(!0),Zi==null||Zi(qr)},Ma=function(){Na(null),Ci(!1,{force:!0})},po=le.useState(null),so=(0,Be.Z)(po,2),mo=so[0],Ha=so[1],uo=le.useState(null),eo=(0,Be.Z)(uo,2),Ea=eo[0],Ja=eo[1],_a=le.useMemo(function(){var di=[Ea].concat((0,Ne.Z)(ai)).filter(function(qr){return qr});return Rn?di:di.slice(0,1)},[ai,Ea,Rn]),co=le.useMemo(function(){return!Rn&&Ea?[Ea]:ai.filter(function(di){return di})},[ai,Ea,Rn]);le.useEffect(function(){Bi||Ja(null)},[Bi]);var to=Dt(zr),fo=function(qr){Ja(qr),Ha("preset")},Ia=function(qr){var sa=Rn?ci(Di(),qr):[qr],$a=Na(sa);$a&&!Rn&&Ci(!1,{force:!0})},no=function(qr){Ia(qr)},Eo=function(qr){Ja(qr),Ha("cell")},qa=function(qr){Ci(!0),hi(qr)},go=function(qr){if(lr("panel"),!(Rn&&Xi!==nr)){var sa=Rn?ci(Di(),qr):[qr];Li(sa),!Qt&&!ot&&it===Xi&&wa()}},Ua=function(){Ci(!1)},yo=ze(ni,fi,Qr),ja=le.useMemo(function(){var di=(0,be.Z)(Me,!1),qr=(0,Oe.Z)(Me,[].concat((0,Ne.Z)(Object.keys(di)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Te.Z)((0,Te.Z)({},qr),{},{multiple:Me.multiple})},[Me]),vi=le.createElement(Ur,(0,re.Z)({},ja,{showNow:la,showTime:gr,disabledDate:Bn,onFocus:qa,onBlur:xi,picker:nr,mode:aa,internalMode:Xi,onPanelChange:oo,format:Ht,value:ai,isInvalid:Xt,onChange:null,onSelect:go,pickerValue:Va,defaultOpenValue:gr==null?void 0:gr.defaultOpenValue,onPickerValueChange:wo,hoverValue:_a,onHover:Eo,needConfirm:Qt,onSubmit:wa,onOk:qi,presets:to,onPresetHover:fo,onPresetSubmit:Ia,onNow:no,cellRender:yo})),pi=function(qr){Li(qr)},oa=function(){lr("input")},ha=function(qr){lr("input"),Ci(!0,{inherit:!0}),hi(qr)},da=function(qr){Ci(!1),xi(qr)},Ya=function(qr,sa){qr.key==="Tab"&&wa(),xn==null||xn(qr,sa)},za=le.useMemo(function(){return{prefixCls:an,locale:sr,generateConfig:vr,button:ii.button,input:ii.input}},[an,sr,vr,ii.button,ii.input]);return(0,fe.Z)(function(){Bi&&yr!==void 0&&oo(null,nr,!1)},[Bi,yr,nr]),(0,fe.Z)(function(){var di=lr();!Bi&&di==="input"&&(Ci(!1),wa()),!Bi&&ot&&!Qt&&di==="panel"&&wa()},[Bi]),le.createElement(Ve.Provider,{value:za},le.createElement(rt,(0,re.Z)({},ke(Me),{popupElement:vi,popupStyle:gn.popup,popupClassName:hn.popup,visible:Bi,onClose:Ua}),le.createElement(ln,(0,re.Z)({},Me,{ref:oi,suffixIcon:Kr,removeIcon:ur,activeHelp:!!Ea,allHelp:!!Ea&&mo==="preset",focused:jn,onFocus:ha,onBlur:da,onKeyDown:Ya,onSubmit:wa,value:co,maskFormat:Ht,onChange:pi,onInputChange:oa,internalPicker:it,format:vt,inputReadOnly:Or,disabled:pn,open:Bi,onOpenChange:Ci,onClick:lo,onClear:Ma,invalid:xa,onInvalid:function(qr){Ca(qr,0)}}))))}var sn=le.forwardRef(fn),bn=sn,rn=bn},25930:function(wn,un,se){"use strict";se.d(un,{Cd:function(){return ze}});var re=se(32855),Ne=se(27247),Te=se(43079),Be=se(59301),Se=se(92310),fe=se.n(Se),Oe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},be=function(){var Re=(0,Be.useRef)([]),Je=(0,Be.useRef)(null);return(0,Be.useEffect)(function(){var Nt=Date.now(),ht=!1;Re.current.forEach(function(gt){if(gt){ht=!0;var At=gt.style;At.transitionDuration=".3s, .3s, .3s, .06s",Je.current&&Nt-Je.current<100&&(At.transitionDuration="0s, 0s")}}),ht&&(Je.current=Date.now())}),Re.current},Pe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],le=function(Re){var Je=(0,Ne.Z)((0,Ne.Z)({},Oe),Re),Nt=Je.className,ht=Je.percent,gt=Je.prefixCls,At=Je.strokeColor,we=Je.strokeLinecap,he=Je.strokeWidth,qe=Je.style,Lt=Je.trailColor,Tt=Je.trailWidth,Xe=Je.transition,bt=(0,Te.Z)(Je,Pe);delete bt.gapPosition;var $e=Array.isArray(ht)?ht:[ht],Ot=Array.isArray(At)?At:[At],We=be(),yt=he/2,Qe=100-he/2,Ft="M ".concat(we==="round"?yt:0,",").concat(yt,`
L `).concat(we==="round"?Qe:100,",").concat(yt),wt="0 0 100 ".concat(he),ce=0;return Be.createElement("svg",(0,re.Z)({className:fe()("".concat(gt,"-line"),Nt),viewBox:wt,preserveAspectRatio:"none",style:qe},bt),Be.createElement("path",{className:"".concat(gt,"-line-trail"),d:Ft,strokeLinecap:we,stroke:Lt,strokeWidth:Tt||he,fillOpacity:"0"}),$e.map(function(ie,z){var ee=1;switch(we){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=Ot[z]||Ot[Ot.length-1];return ce+=ie,Be.createElement("path",{key:z,className:"".concat(gt,"-line-path"),d:Ft,strokeLinecap:we,stroke:te,strokeWidth:he,fillOpacity:"0",ref:function(me){We[z]=me},style:ne})}))},nt=le,ye=se(34666),Ke=se(11913),Ie=se(47273),Ye=0,He=(0,Ie.Z)();function Ve(){var _e;return He?(_e=Ye,Ye+=1):_e="TEST_OR_SSR",_e}var ut=function(_e){var Re=Be.useState(),Je=(0,Ke.Z)(Re,2),Nt=Je[0],ht=Je[1];return Be.useEffect(function(){ht("rc_progress_".concat(Ve()))},[]),_e||Nt},at=function(Re){var Je=Re.bg,Nt=Re.children;return Be.createElement("div",{style:{width:"100%",height:"100%",background:Je}},Nt)};function rt(_e,Re){return Object.keys(_e).map(function(Je){var Nt=parseFloat(Je),ht="".concat(Math.floor(Nt*Re),"%");return"".concat(_e[Je]," ").concat(ht)})}var Fe=Be.forwardRef(function(_e,Re){var Je=_e.prefixCls,Nt=_e.color,ht=_e.gradientId,gt=_e.radius,At=_e.style,we=_e.ptg,he=_e.strokeLinecap,qe=_e.strokeWidth,Lt=_e.size,Tt=_e.gapDegree,Xe=Nt&&(0,ye.Z)(Nt)==="object",bt=Xe?"#FFF":void 0,$e=Lt/2,Ot=Be.createElement("circle",{className:"".concat(Je,"-circle-path"),r:gt,cx:$e,cy:$e,stroke:bt,strokeLinecap:he,strokeWidth:qe,opacity:we===0?0:1,style:At,ref:Re});if(!Xe)return Ot;var We="".concat(ht,"-conic"),yt=Tt?"".concat(180+Tt/2,"deg"):"0deg",Qe=rt(Nt,(360-Tt)/360),Ft=rt(Nt,1),wt="conic-gradient(from ".concat(yt,", ").concat(Qe.join(", "),")"),ce="linear-gradient(to ".concat(Tt?"bottom":"top",", ").concat(Ft.join(", "),")");return Be.createElement(Be.Fragment,null,Be.createElement("mask",{id:We},Ot),Be.createElement("foreignObject",{x:0,y:0,width:Lt,height:Lt,mask:"url(#".concat(We,")")},Be.createElement(at,{bg:ce},Be.createElement(at,{bg:wt}))))}),Ee=Fe,Ge=100,Ue=function(Re,Je,Nt,ht,gt,At,we,he,qe,Lt){var Tt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Xe=Nt/100*360*((360-At)/360),bt=At===0?0:{bottom:0,top:180,left:90,right:-90}[we],$e=(100-ht)/100*Je;qe==="round"&&ht!==100&&($e+=Lt/2,$e>=Je&&($e=Je-.01));var Ot=Ge/2;return{stroke:typeof he=="string"?he:void 0,strokeDasharray:"".concat(Je,"px ").concat(Re),strokeDashoffset:$e+Tt,transform:"rotate(".concat(gt+Xe+bt,"deg)"),transformOrigin:"".concat(Ot,"px ").concat(Ot,"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}},dt=["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 ke=function(Re){var Je=(0,Ne.Z)((0,Ne.Z)({},Oe),Re),Nt=Je.id,ht=Je.prefixCls,gt=Je.steps,At=Je.strokeWidth,we=Je.trailWidth,he=Je.gapDegree,qe=he===void 0?0:he,Lt=Je.gapPosition,Tt=Je.trailColor,Xe=Je.strokeLinecap,bt=Je.style,$e=Je.className,Ot=Je.strokeColor,We=Je.percent,yt=(0,Te.Z)(Je,dt),Qe=Ge/2,Ft=ut(Nt),wt="".concat(Ft,"-gradient"),ce=Qe-At/2,ie=Math.PI*2*ce,z=qe>0?90+qe/2:-90,ee=ie*((360-qe)/360),ne=(0,ye.Z)(gt)==="object"?gt:{count:gt,gap:2},te=ne.count,ue=ne.gap,me=ge(We),De=ge(Ot),St=De.find(function(Wt){return Wt&&(0,ye.Z)(Wt)==="object"}),je=St&&(0,ye.Z)(St)==="object",et=je?"butt":Xe,lt=Ue(ie,ee,0,100,z,qe,Lt,Tt,et,At),mt=be(),Rt=function(){var nn=0;return me.map(function(Ut,Dt){var ft=De[Dt]||De[De.length-1],Zt=Ue(ie,ee,nn,Ut,z,qe,Lt,ft,et,At);return nn+=Ut,Be.createElement(Ee,{key:Dt,color:ft,ptg:Ut,radius:ce,prefixCls:ht,gradientId:wt,style:Zt,strokeLinecap:et,strokeWidth:At,gapDegree:qe,ref:function(mn){mt[Dt]=mn},size:Ge})}).reverse()},qt=function(){var nn=Math.round(te*(me[0]/100)),Ut=100/te,Dt=0;return new Array(te).fill(null).map(function(ft,Zt){var Yt=Zt<=nn-1?De[0]:Tt,mn=Yt&&(0,ye.Z)(Yt)==="object"?"url(#".concat(wt,")"):void 0,Mn=Ue(ie,ee,Dt,Ut,z,qe,Lt,Yt,"butt",At,ue);return Dt+=(ee-Mn.strokeDashoffset+ue)*100/ee,Be.createElement("circle",{key:Zt,className:"".concat(ht,"-circle-path"),r:ce,cx:Qe,cy:Qe,stroke:mn,strokeWidth:At,opacity:1,style:Mn,ref:function(yn){mt[Zt]=yn}})})};return Be.createElement("svg",(0,re.Z)({className:fe()("".concat(ht,"-circle"),$e),viewBox:"0 0 ".concat(Ge," ").concat(Ge),style:bt,id:Nt,role:"presentation"},yt),!te&&Be.createElement("circle",{className:"".concat(ht,"-circle-trail"),r:ce,cx:Qe,cy:Qe,stroke:Tt,strokeLinecap:et,strokeWidth:we||At,style:lt}),te?qt():Rt())},ze=ke,Ze={Line:nt,Circle:ze}},738:function(wn,un,se){"use strict";se.d(un,{Z:function(){return rt}});var re=se(32855),Ne=se(74430),Te=se(11913),Be=se(43079),Se=se(92310),fe=se.n(Se),Oe=se(18929),be=se(10228),Pe=se(26112),le=se(59301);function nt(Fe,Ee){var Ge=Fe.disabled,Ue=Fe.prefixCls,dt=Fe.character,ge=Fe.characterRender,ke=Fe.index,ze=Fe.count,Ze=Fe.value,_e=Fe.allowHalf,Re=Fe.focused,Je=Fe.onHover,Nt=Fe.onClick,ht=function(Xe){Je(Xe,ke)},gt=function(Xe){Nt(Xe,ke)},At=function(Xe){Xe.keyCode===be.Z.ENTER&&Nt(Xe,ke)},we=ke+1,he=new Set([Ue]);Ze===0&&ke===0&&Re?he.add("".concat(Ue,"-focused")):_e&&Ze+.5>=we&&Ze<we?(he.add("".concat(Ue,"-half")),he.add("".concat(Ue,"-active")),Re&&he.add("".concat(Ue,"-focused"))):(we<=Ze?he.add("".concat(Ue,"-full")):he.add("".concat(Ue,"-zero")),we===Ze&&Re&&he.add("".concat(Ue,"-focused")));var qe=typeof dt=="function"?dt(Fe):dt,Lt=le.createElement("li",{className:fe()(Array.from(he)),ref:Ee},le.createElement("div",{onClick:Ge?null:gt,onKeyDown:Ge?null:At,onMouseMove:Ge?null:ht,role:"radio","aria-checked":Ze>ke?"true":"false","aria-posinset":ke+1,"aria-setsize":ze,tabIndex:Ge?-1:0},le.createElement("div",{className:"".concat(Ue,"-first")},qe),le.createElement("div",{className:"".concat(Ue,"-second")},qe)));return ge&&(Lt=ge(Lt,Fe)),Lt}var ye=le.forwardRef(nt);function Ke(){var Fe=le.useRef({});function Ee(Ue){return Fe.current[Ue]}function Ge(Ue){return function(dt){Fe.current[Ue]=dt}}return[Ee,Ge]}function Ie(Fe){var Ee=Fe.pageXOffset,Ge="scrollLeft";if(typeof Ee!="number"){var Ue=Fe.document;Ee=Ue.documentElement[Ge],typeof Ee!="number"&&(Ee=Ue.body[Ge])}return Ee}function Ye(Fe){var Ee,Ge,Ue=Fe.ownerDocument,dt=Ue.body,ge=Ue&&Ue.documentElement,ke=Fe.getBoundingClientRect();return Ee=ke.left,Ge=ke.top,Ee-=ge.clientLeft||dt.clientLeft||0,Ge-=ge.clientTop||dt.clientTop||0,{left:Ee,top:Ge}}function He(Fe){var Ee=Ye(Fe),Ge=Fe.ownerDocument,Ue=Ge.defaultView||Ge.parentWindow;return Ee.left+=Ie(Ue),Ee.left}var Ve=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ut(Fe,Ee){var Ge=Fe.prefixCls,Ue=Ge===void 0?"rc-rate":Ge,dt=Fe.className,ge=Fe.defaultValue,ke=Fe.value,ze=Fe.count,Ze=ze===void 0?5:ze,_e=Fe.allowHalf,Re=_e===void 0?!1:_e,Je=Fe.allowClear,Nt=Je===void 0?!0:Je,ht=Fe.keyboard,gt=ht===void 0?!0:ht,At=Fe.character,we=At===void 0?"\u2605":At,he=Fe.characterRender,qe=Fe.disabled,Lt=Fe.direction,Tt=Lt===void 0?"ltr":Lt,Xe=Fe.tabIndex,bt=Xe===void 0?0:Xe,$e=Fe.autoFocus,Ot=Fe.onHoverChange,We=Fe.onChange,yt=Fe.onFocus,Qe=Fe.onBlur,Ft=Fe.onKeyDown,wt=Fe.onMouseLeave,ce=(0,Be.Z)(Fe,Ve),ie=Ke(),z=(0,Te.Z)(ie,2),ee=z[0],ne=z[1],te=le.useRef(null),ue=function(){if(!qe){var Hn;(Hn=te.current)===null||Hn===void 0||Hn.focus()}};le.useImperativeHandle(Ee,function(){return{focus:ue,blur:function(){if(!qe){var Hn;(Hn=te.current)===null||Hn===void 0||Hn.blur()}}}});var me=(0,Oe.Z)(ge||0,{value:ke}),De=(0,Te.Z)(me,2),St=De[0],je=De[1],et=(0,Oe.Z)(null),lt=(0,Te.Z)(et,2),mt=lt[0],Rt=lt[1],qt=function(Hn,Rr){var Wr=Tt==="rtl",Bt=Hn+1;if(Re){var jt=ee(Hn),dn=He(jt),cn=jt.clientWidth;(Wr&&Rr-dn>cn/2||!Wr&&Rr-dn<cn/2)&&(Bt-=.5)}return Bt},Wt=function(Hn){je(Hn),We==null||We(Hn)},nn=le.useState(!1),Ut=(0,Te.Z)(nn,2),Dt=Ut[0],ft=Ut[1],Zt=function(){ft(!0),yt==null||yt()},Yt=function(){ft(!1),Qe==null||Qe()},mn=le.useState(null),Mn=(0,Te.Z)(mn,2),Gn=Mn[0],yn=Mn[1],qn=function(Hn,Rr){var Wr=qt(Rr,Hn.pageX);Wr!==mt&&(yn(Wr),Rt(null)),Ot==null||Ot(Wr)},$n=function(Hn){qe||(yn(null),Rt(null),Ot==null||Ot(void 0)),Hn&&(wt==null||wt(Hn))},dr=function(Hn,Rr){var Wr=qt(Rr,Hn.pageX),Bt=!1;Nt&&(Bt=Wr===St),$n(),Wt(Bt?0:Wr),Rt(Bt?Wr:null)},Mr=function(Hn){var Rr=Hn.keyCode,Wr=Tt==="rtl",Bt=Re?.5:1;gt&&(Rr===be.Z.RIGHT&&St<Ze&&!Wr?(Wt(St+Bt),Hn.preventDefault()):Rr===be.Z.LEFT&&St>0&&!Wr||Rr===be.Z.RIGHT&&St>0&&Wr?(Wt(St-Bt),Hn.preventDefault()):Rr===be.Z.LEFT&&St<Ze&&Wr&&(Wt(St+Bt),Hn.preventDefault())),Ft==null||Ft(Hn)};le.useEffect(function(){$e&&!qe&&ue()},[]);var ar=new Array(Ze).fill(0).map(function(Pr,Hn){return le.createElement(ye,{ref:ne(Hn),index:Hn,count:Ze,disabled:qe,prefixCls:"".concat(Ue,"-star"),allowHalf:Re,value:Gn===null?St:Gn,onClick:dr,onHover:qn,key:Pr||Hn,character:we,characterRender:he,focused:Dt})}),Tr=fe()(Ue,dt,(0,Ne.Z)((0,Ne.Z)({},"".concat(Ue,"-disabled"),qe),"".concat(Ue,"-rtl"),Tt==="rtl"));return le.createElement("ul",(0,re.Z)({className:Tr,onMouseLeave:$n,tabIndex:qe?-1:bt,onFocus:qe?null:Zt,onBlur:qe?null:Yt,onKeyDown:qe?null:Mr,ref:te},(0,Pe.Z)(ce,{aria:!0,data:!0,attr:!0})),ar)}var at=le.forwardRef(ut),rt=at},6551:function(wn,un,se){"use strict";se.d(un,{ZP:function(){return Oe}});var re=se(11913),Ne=se(59301),Te=se(47273),Be=0,Se=(0,Te.Z)();function fe(){var be;return Se?(be=Be,Be+=1):be="TEST_OR_SSR",be}function Oe(be){var Pe=Ne.useState(),le=(0,re.Z)(Pe,2),nt=le[0],ye=le[1];return Ne.useEffect(function(){ye("rc_select_".concat(fe()))},[]),be||nt}},37463:function(wn,un,se){"use strict";se.d(un,{Ac:function(){return ft},Xo:function(){return Yt},Wx:function(){return Mn},ZP:function(){return Hr},lk:function(){return rt}});var re=se(32855),Ne=se(3300),Te=se(74430),Be=se(27247),Se=se(11913),fe=se(43079),Oe=se(34666),be=se(18929),Pe=se(48736),le=se(59301),nt=se(92310),ye=se.n(nt),Ke=se(34280),Ie=se(49658),Ye=se(8654),He=function(Ct){var Tn=Ct.className,En=Ct.customizeIcon,Pt=Ct.customizeIconProps,Sn=Ct.children,Wn=Ct.onMouseDown,Vn=Ct.onClick,er=typeof En=="function"?En(Pt):En;return le.createElement("span",{className:Tn,onMouseDown:function(tr){tr.preventDefault(),Wn==null||Wn(tr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Vn,"aria-hidden":!0},er!==void 0?er:le.createElement("span",{className:ye()(Tn.split(/\s+/).map(function(Un){return"".concat(Un,"-icon")}))},Sn))},Ve=He,ut=function(Ct,Tn,En,Pt,Sn){var Wn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Vn=arguments.length>6?arguments[6]:void 0,er=arguments.length>7?arguments[7]:void 0,Un=le.useMemo(function(){if((0,Oe.Z)(Pt)==="object")return Pt.clearIcon;if(Sn)return Sn},[Pt,Sn]),tr=le.useMemo(function(){return!!(!Wn&&Pt&&(En.length||Vn)&&!(er==="combobox"&&Vn===""))},[Pt,Wn,En.length,Vn,er]);return{allowClear:tr,clearIcon:le.createElement(Ve,{className:"".concat(Ct,"-clear"),onMouseDown:Tn,customizeIcon:Un},"\xD7")}},at=le.createContext(null);function rt(){return le.useContext(at)}function Fe(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ct=le.useState(!1),Tn=(0,Se.Z)(Ct,2),En=Tn[0],Pt=Tn[1],Sn=le.useRef(null),Wn=function(){window.clearTimeout(Sn.current)};le.useEffect(function(){return Wn},[]);var Vn=function(Un,tr){Wn(),Sn.current=window.setTimeout(function(){Pt(Un),tr&&tr()},ct)};return[En,Vn,Wn]}function Ee(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ct=le.useRef(null),Tn=le.useRef(null);le.useEffect(function(){return function(){window.clearTimeout(Tn.current)}},[]);function En(Pt){(Pt||Ct.current===null)&&(Ct.current=Pt),window.clearTimeout(Tn.current),Tn.current=window.setTimeout(function(){Ct.current=null},ct)}return[function(){return Ct.current},En]}function Ge(ct,Ct,Tn,En){var Pt=le.useRef(null);Pt.current={open:Ct,triggerOpen:Tn,customizedTrigger:En},le.useEffect(function(){function Sn(Wn){var Vn;if(!((Vn=Pt.current)!==null&&Vn!==void 0&&Vn.customizedTrigger)){var er=Wn.target;er.shadowRoot&&Wn.composed&&(er=Wn.composedPath()[0]||er),Pt.current.open&&ct().filter(function(Un){return Un}).every(function(Un){return!Un.contains(er)&&Un!==er})&&Pt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Sn),function(){return window.removeEventListener("mousedown",Sn)}},[])}var Ue=se(10228);function dt(ct){return ct&&![Ue.Z.ESC,Ue.Z.SHIFT,Ue.Z.BACKSPACE,Ue.Z.TAB,Ue.Z.WIN_KEY,Ue.Z.ALT,Ue.Z.META,Ue.Z.WIN_KEY_RIGHT,Ue.Z.CTRL,Ue.Z.SEMICOLON,Ue.Z.EQUALS,Ue.Z.CAPS_LOCK,Ue.Z.CONTEXT_MENU,Ue.Z.F1,Ue.Z.F2,Ue.Z.F3,Ue.Z.F4,Ue.Z.F5,Ue.Z.F6,Ue.Z.F7,Ue.Z.F8,Ue.Z.F9,Ue.Z.F10,Ue.Z.F11,Ue.Z.F12].includes(ct)}var ge=se(26112),ke=se(11780);function ze(ct,Ct,Tn){var En=(0,Be.Z)((0,Be.Z)({},ct),Tn?Ct:{});return Object.keys(Ct).forEach(function(Pt){var Sn=Ct[Pt];typeof Sn=="function"&&(En[Pt]=function(){for(var Wn,Vn=arguments.length,er=new Array(Vn),Un=0;Un<Vn;Un++)er[Un]=arguments[Un];return Sn.apply(void 0,er),(Wn=ct[Pt])===null||Wn===void 0?void 0:Wn.call.apply(Wn,[ct].concat(er))})}),En}var Ze=ze,_e=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Re=function(Ct,Tn){var En=Ct.prefixCls,Pt=Ct.id,Sn=Ct.inputElement,Wn=Ct.autoFocus,Vn=Ct.autoComplete,er=Ct.editable,Un=Ct.activeDescendantId,tr=Ct.value,kt=Ct.open,Vr=Ct.attrs,ir=(0,fe.Z)(Ct,_e),Sr=Sn||le.createElement("input",null),Ir=Sr,Ur=Ir.ref,Jr=Ir.props;return(0,Pe.Kp)(!("maxLength"in Sr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Sr=le.cloneElement(Sr,(0,Be.Z)((0,Be.Z)((0,Be.Z)({type:"search"},Ze(ir,Jr,!0)),{},{id:Pt,ref:(0,Ye.sQ)(Tn,Ur),autoComplete:Vn||"off",autoFocus:Wn,className:ye()("".concat(En,"-selection-search-input"),Jr==null?void 0:Jr.className),role:"combobox","aria-expanded":kt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Pt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Pt,"_list"),"aria-activedescendant":kt?Un:void 0},Vr),{},{value:er?tr:"",readOnly:!er,unselectable:er?null:"on",style:(0,Be.Z)((0,Be.Z)({},Jr.style),{},{opacity:er?null:0})})),Sr},Je=le.forwardRef(Re),Nt=Je;function ht(ct){return Array.isArray(ct)?ct:ct!==void 0?[ct]:[]}var gt=typeof window!="undefined"&&window.document&&window.document.documentElement,At=gt;function we(ct){return ct!=null}function he(ct){return!ct&&ct!==0}function qe(ct){return["string","number"].includes((0,Oe.Z)(ct))}function Lt(ct){var Ct=void 0;return ct&&(qe(ct.title)?Ct=ct.title.toString():qe(ct.label)&&(Ct=ct.label.toString())),Ct}function Tt(ct,Ct){At?le.useLayoutEffect(ct,Ct):le.useEffect(ct,Ct)}function Xe(ct){var Ct;return(Ct=ct.key)!==null&&Ct!==void 0?Ct:ct.value}var bt=function(Ct){Ct.preventDefault(),Ct.stopPropagation()},$e=function(Ct){var Tn=Ct.id,En=Ct.prefixCls,Pt=Ct.values,Sn=Ct.open,Wn=Ct.searchValue,Vn=Ct.autoClearSearchValue,er=Ct.inputRef,Un=Ct.placeholder,tr=Ct.disabled,kt=Ct.mode,Vr=Ct.showSearch,ir=Ct.autoFocus,Sr=Ct.autoComplete,Ir=Ct.activeDescendantId,Ur=Ct.tabIndex,Jr=Ct.removeIcon,Ai=Ct.maxTagCount,ui=Ct.maxTagTextLength,ei=Ct.maxTagPlaceholder,Si=ei===void 0?function(fn){return"+ ".concat(fn.length," ...")}:ei,ti=Ct.tagRender,Fi=Ct.onToggleOpen,Ki=Ct.onRemove,Oi=Ct.onInputChange,Ti=Ct.onInputPaste,Wi=Ct.onInputKeyDown,Ni=Ct.onInputMouseDown,gi=Ct.onInputCompositionStart,Ui=Ct.onInputCompositionEnd,Pi=Ct.onInputBlur,kr=le.useRef(null),jr=(0,le.useState)(0),ri=(0,Se.Z)(jr,2),bi=ri[0],yi=ri[1],Ei=(0,le.useState)(!1),Ji=(0,Se.Z)(Ei,2),tt=Ji[0],Kt=Ji[1],Mt="".concat(En,"-selection"),Gt=Sn||kt==="multiple"&&Vn===!1||kt==="tags"?Wn:"",tn=kt==="tags"||kt==="multiple"&&Vn===!1||Vr&&(Sn||tt);Tt(function(){yi(kr.current.scrollWidth)},[Gt]);var Cn=function(sn,bn,rn,oe,xe){return le.createElement("span",{title:Lt(sn),className:ye()("".concat(Mt,"-item"),(0,Te.Z)({},"".concat(Mt,"-item-disabled"),rn))},le.createElement("span",{className:"".concat(Mt,"-item-content")},bn),oe&&le.createElement(Ve,{className:"".concat(Mt,"-item-remove"),onMouseDown:bt,onClick:xe,customizeIcon:Jr},"\xD7"))},In=function(sn,bn,rn,oe,xe,Ce){var Le=function(it){bt(it),Fi(!Sn)};return le.createElement("span",{onMouseDown:Le},ti({label:bn,value:sn,disabled:rn,closable:oe,onClose:xe,isMaxTag:!!Ce}))},Dn=function(sn){var bn=sn.disabled,rn=sn.label,oe=sn.value,xe=!tr&&!bn,Ce=rn;if(typeof ui=="number"&&(typeof rn=="string"||typeof rn=="number")){var Le=String(Ce);Le.length>ui&&(Ce="".concat(Le.slice(0,ui),"..."))}var Me=function(ot){ot&&ot.stopPropagation(),Ki(sn)};return typeof ti=="function"?In(oe,Ce,bn,xe,Me):Cn(sn,Ce,bn,xe,Me)},An=function(sn){if(!Pt.length)return null;var bn=typeof Si=="function"?Si(sn):Si;return typeof ti=="function"?In(void 0,bn,!1,!1,void 0,!0):Cn({title:bn},bn,!1)},It=le.createElement("div",{className:"".concat(Mt,"-search"),style:{width:bi},onFocus:function(){Kt(!0)},onBlur:function(){Kt(!1)}},le.createElement(Nt,{ref:er,open:Sn,prefixCls:En,id:Tn,inputElement:null,disabled:tr,autoFocus:ir,autoComplete:Sr,editable:tn,activeDescendantId:Ir,value:Gt,onKeyDown:Wi,onMouseDown:Ni,onChange:Oi,onPaste:Ti,onCompositionStart:gi,onCompositionEnd:Ui,onBlur:Pi,tabIndex:Ur,attrs:(0,ge.Z)(Ct,!0)}),le.createElement("span",{ref:kr,className:"".concat(Mt,"-search-mirror"),"aria-hidden":!0},Gt,"\xA0")),ln=le.createElement(ke.Z,{prefixCls:"".concat(Mt,"-overflow"),data:Pt,renderItem:Dn,renderRest:An,suffix:It,itemKey:Xe,maxCount:Ai});return le.createElement("span",{className:"".concat(Mt,"-wrap")},ln,!Pt.length&&!Gt&&le.createElement("span",{className:"".concat(Mt,"-placeholder")},Un))},Ot=$e,We=function(Ct){var Tn=Ct.inputElement,En=Ct.prefixCls,Pt=Ct.id,Sn=Ct.inputRef,Wn=Ct.disabled,Vn=Ct.autoFocus,er=Ct.autoComplete,Un=Ct.activeDescendantId,tr=Ct.mode,kt=Ct.open,Vr=Ct.values,ir=Ct.placeholder,Sr=Ct.tabIndex,Ir=Ct.showSearch,Ur=Ct.searchValue,Jr=Ct.activeValue,Ai=Ct.maxLength,ui=Ct.onInputKeyDown,ei=Ct.onInputMouseDown,Si=Ct.onInputChange,ti=Ct.onInputPaste,Fi=Ct.onInputCompositionStart,Ki=Ct.onInputCompositionEnd,Oi=Ct.onInputBlur,Ti=Ct.title,Wi=le.useState(!1),Ni=(0,Se.Z)(Wi,2),gi=Ni[0],Ui=Ni[1],Pi=tr==="combobox",kr=Pi||Ir,jr=Vr[0],ri=Ur||"";Pi&&Jr&&!gi&&(ri=Jr),le.useEffect(function(){Pi&&Ui(!1)},[Pi,Jr]);var bi=tr!=="combobox"&&!kt&&!Ir?!1:!!ri,yi=Ti===void 0?Lt(jr):Ti,Ei=le.useMemo(function(){return jr?null:le.createElement("span",{className:"".concat(En,"-selection-placeholder"),style:bi?{visibility:"hidden"}:void 0},ir)},[jr,bi,ir,En]);return le.createElement("span",{className:"".concat(En,"-selection-wrap")},le.createElement("span",{className:"".concat(En,"-selection-search")},le.createElement(Nt,{ref:Sn,prefixCls:En,id:Pt,open:kt,inputElement:Tn,disabled:Wn,autoFocus:Vn,autoComplete:er,editable:kr,activeDescendantId:Un,value:ri,onKeyDown:ui,onMouseDown:ei,onChange:function(tt){Ui(!0),Si(tt)},onPaste:ti,onCompositionStart:Fi,onCompositionEnd:Ki,onBlur:Oi,tabIndex:Sr,attrs:(0,ge.Z)(Ct,!0),maxLength:Pi?Ai:void 0})),!Pi&&jr?le.createElement("span",{className:"".concat(En,"-selection-item"),title:yi,style:bi?{visibility:"hidden"}:void 0},jr.label):null,Ei)},yt=We,Qe=function(Ct,Tn){var En=(0,le.useRef)(null),Pt=(0,le.useRef)(!1),Sn=Ct.prefixCls,Wn=Ct.open,Vn=Ct.mode,er=Ct.showSearch,Un=Ct.tokenWithEnter,tr=Ct.disabled,kt=Ct.prefix,Vr=Ct.autoClearSearchValue,ir=Ct.onSearch,Sr=Ct.onSearchSubmit,Ir=Ct.onToggleOpen,Ur=Ct.onInputKeyDown,Jr=Ct.onInputBlur,Ai=Ct.domRef;le.useImperativeHandle(Tn,function(){return{focus:function(yi){En.current.focus(yi)},blur:function(){En.current.blur()}}});var ui=Ee(0),ei=(0,Se.Z)(ui,2),Si=ei[0],ti=ei[1],Fi=function(yi){var Ei=yi.which,Ji=En.current instanceof HTMLTextAreaElement;!Ji&&Wn&&(Ei===Ue.Z.UP||Ei===Ue.Z.DOWN)&&yi.preventDefault(),Ur&&Ur(yi),Ei===Ue.Z.ENTER&&Vn==="tags"&&!Pt.current&&!Wn&&(Sr==null||Sr(yi.target.value)),!(Ji&&!Wn&&~[Ue.Z.UP,Ue.Z.DOWN,Ue.Z.LEFT,Ue.Z.RIGHT].indexOf(Ei))&&dt(Ei)&&Ir(!0)},Ki=function(){ti(!0)},Oi=(0,le.useRef)(null),Ti=function(yi){ir(yi,!0,Pt.current)!==!1&&Ir(!0)},Wi=function(){Pt.current=!0},Ni=function(yi){Pt.current=!1,Vn!=="combobox"&&Ti(yi.target.value)},gi=function(yi){var Ei=yi.target.value;if(Un&&Oi.current&&/[\r\n]/.test(Oi.current)){var Ji=Oi.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ei=Ei.replace(Ji,Oi.current)}Oi.current=null,Ti(Ei)},Ui=function(yi){var Ei=yi.clipboardData,Ji=Ei==null?void 0:Ei.getData("text");Oi.current=Ji||""},Pi=function(yi){var Ei=yi.target;if(Ei!==En.current){var Ji=document.body.style.msTouchAction!==void 0;Ji?setTimeout(function(){En.current.focus()}):En.current.focus()}},kr=function(yi){var Ei=Si();yi.target!==En.current&&!Ei&&!(Vn==="combobox"&&tr)&&yi.preventDefault(),(Vn!=="combobox"&&(!er||!Ei)||!Wn)&&(Wn&&Vr!==!1&&ir("",!0,!1),Ir())},jr={inputRef:En,onInputKeyDown:Fi,onInputMouseDown:Ki,onInputChange:gi,onInputPaste:Ui,onInputCompositionStart:Wi,onInputCompositionEnd:Ni,onInputBlur:Jr},ri=Vn==="multiple"||Vn==="tags"?le.createElement(Ot,(0,re.Z)({},Ct,jr)):le.createElement(yt,(0,re.Z)({},Ct,jr));return le.createElement("div",{ref:Ai,className:"".concat(Sn,"-selector"),onClick:Pi,onMouseDown:kr},kt&&le.createElement("div",{className:"".concat(Sn,"-prefix")},kt),ri)},Ft=le.forwardRef(Qe),wt=Ft,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(Ct){var Tn=Ct===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Tn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Tn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Tn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Tn,adjustY:1},htmlRegion:"scroll"}}},ee=function(Ct,Tn){var En=Ct.prefixCls,Pt=Ct.disabled,Sn=Ct.visible,Wn=Ct.children,Vn=Ct.popupElement,er=Ct.animation,Un=Ct.transitionName,tr=Ct.dropdownStyle,kt=Ct.dropdownClassName,Vr=Ct.direction,ir=Vr===void 0?"ltr":Vr,Sr=Ct.placement,Ir=Ct.builtinPlacements,Ur=Ct.dropdownMatchSelectWidth,Jr=Ct.dropdownRender,Ai=Ct.dropdownAlign,ui=Ct.getPopupContainer,ei=Ct.empty,Si=Ct.getTriggerDOMNode,ti=Ct.onPopupVisibleChange,Fi=Ct.onPopupMouseEnter,Ki=(0,fe.Z)(Ct,ie),Oi="".concat(En,"-dropdown"),Ti=Vn;Jr&&(Ti=Jr(Vn));var Wi=le.useMemo(function(){return Ir||z(Ur)},[Ir,Ur]),Ni=er?"".concat(Oi,"-").concat(er):Un,gi=typeof Ur=="number",Ui=le.useMemo(function(){return gi?null:Ur===!1?"minWidth":"width"},[Ur,gi]),Pi=tr;gi&&(Pi=(0,Be.Z)((0,Be.Z)({},Pi),{},{width:Ur}));var kr=le.useRef(null);return le.useImperativeHandle(Tn,function(){return{getPopupElement:function(){var ri;return(ri=kr.current)===null||ri===void 0?void 0:ri.popupElement}}}),le.createElement(ce.Z,(0,re.Z)({},Ki,{showAction:ti?["click"]:[],hideAction:ti?["click"]:[],popupPlacement:Sr||(ir==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Wi,prefixCls:Oi,popupTransitionName:Ni,popup:le.createElement("div",{onMouseEnter:Fi},Ti),ref:kr,stretch:Ui,popupAlign:Ai,popupVisible:Sn,getPopupContainer:ui,popupClassName:ye()(kt,(0,Te.Z)({},"".concat(Oi,"-empty"),ei)),popupStyle:Pi,getTriggerDOMNode:Si,onPopupVisibleChange:ti}),Wn)},ne=le.forwardRef(ee),te=ne,ue=se(40954);function me(ct,Ct){var Tn=ct.key,En;return"value"in ct&&(En=ct.value),Tn!=null?Tn:En!==void 0?En:"rc-index-key-".concat(Ct)}function De(ct){return typeof ct!="undefined"&&!Number.isNaN(ct)}function St(ct,Ct){var Tn=ct||{},En=Tn.label,Pt=Tn.value,Sn=Tn.options,Wn=Tn.groupLabel,Vn=En||(Ct?"children":"label");return{label:Vn,value:Pt||"value",options:Sn||"options",groupLabel:Wn||Vn}}function je(ct){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Tn=Ct.fieldNames,En=Ct.childrenAsData,Pt=[],Sn=St(Tn,!1),Wn=Sn.label,Vn=Sn.value,er=Sn.options,Un=Sn.groupLabel;function tr(kt,Vr){Array.isArray(kt)&&kt.forEach(function(ir){if(Vr||!(er in ir)){var Sr=ir[Vn];Pt.push({key:me(ir,Pt.length),groupOption:Vr,data:ir,label:ir[Wn],value:Sr})}else{var Ir=ir[Un];Ir===void 0&&En&&(Ir=ir.label),Pt.push({key:me(ir,Pt.length),group:!0,data:ir,label:Ir}),tr(ir[er],!0)}})}return tr(ct,!1),Pt}function et(ct){var Ct=(0,Be.Z)({},ct);return"props"in Ct||Object.defineProperty(Ct,"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`."),Ct}}),Ct}var lt=function(Ct,Tn,En){if(!Tn||!Tn.length)return null;var Pt=!1,Sn=function Vn(er,Un){var tr=(0,ue.Z)(Un),kt=tr[0],Vr=tr.slice(1);if(!kt)return[er];var ir=er.split(kt);return Pt=Pt||ir.length>1,ir.reduce(function(Sr,Ir){return[].concat((0,Ne.Z)(Sr),(0,Ne.Z)(Vn(Ir,Vr)))},[]).filter(Boolean)},Wn=Sn(Ct,Tn);return Pt?typeof En!="undefined"?Wn.slice(0,En):Wn:null},mt=le.createContext(null),Rt=mt;function qt(ct){var Ct=ct.visible,Tn=ct.values;if(!Ct)return null;var En=50;return le.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Tn.slice(0,En).map(function(Pt){var Sn=Pt.label,Wn=Pt.value;return["number","string"].includes((0,Oe.Z)(Sn))?Sn:Wn}).join(", ")),Tn.length>En?", ...":null)}var Wt=["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"],nn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ut=function(Ct){return Ct==="tags"||Ct==="multiple"},Dt=le.forwardRef(function(ct,Ct){var Tn,En=ct.id,Pt=ct.prefixCls,Sn=ct.className,Wn=ct.showSearch,Vn=ct.tagRender,er=ct.direction,Un=ct.omitDomProps,tr=ct.displayValues,kt=ct.onDisplayValuesChange,Vr=ct.emptyOptions,ir=ct.notFoundContent,Sr=ir===void 0?"Not Found":ir,Ir=ct.onClear,Ur=ct.mode,Jr=ct.disabled,Ai=ct.loading,ui=ct.getInputElement,ei=ct.getRawInputElement,Si=ct.open,ti=ct.defaultOpen,Fi=ct.onDropdownVisibleChange,Ki=ct.activeValue,Oi=ct.onActiveValueChange,Ti=ct.activeDescendantId,Wi=ct.searchValue,Ni=ct.autoClearSearchValue,gi=ct.onSearch,Ui=ct.onSearchSplit,Pi=ct.tokenSeparators,kr=ct.allowClear,jr=ct.prefix,ri=ct.suffixIcon,bi=ct.clearIcon,yi=ct.OptionList,Ei=ct.animation,Ji=ct.transitionName,tt=ct.dropdownStyle,Kt=ct.dropdownClassName,Mt=ct.dropdownMatchSelectWidth,Gt=ct.dropdownRender,tn=ct.dropdownAlign,Cn=ct.placement,In=ct.builtinPlacements,Dn=ct.getPopupContainer,An=ct.showAction,It=An===void 0?[]:An,ln=ct.onFocus,fn=ct.onBlur,sn=ct.onKeyUp,bn=ct.onKeyDown,rn=ct.onMouseDown,oe=(0,fe.Z)(ct,Wt),xe=Ut(Ur),Ce=(Wn!==void 0?Wn:xe)||Ur==="combobox",Le=(0,Be.Z)({},oe);nn.forEach(function(jn){delete Le[jn]}),Un==null||Un.forEach(function(jn){delete Le[jn]});var Me=le.useState(!1),it=(0,Se.Z)(Me,2),ot=it[0],vt=it[1];le.useEffect(function(){vt((0,Ie.Z)())},[]);var Ht=le.useRef(null),Xt=le.useRef(null),xt=le.useRef(null),an=le.useRef(null),gn=le.useRef(null),hn=le.useRef(!1),on=Fe(),Jt=(0,Se.Z)(on,3),zt=Jt[0],Qt=Jt[1],vn=Jt[2];le.useImperativeHandle(Ct,function(){var jn,Er;return{focus:(jn=an.current)===null||jn===void 0?void 0:jn.focus,blur:(Er=an.current)===null||Er===void 0?void 0:Er.blur,scrollTo:function(yr){var hi;return(hi=gn.current)===null||hi===void 0?void 0:hi.scrollTo(yr)},nativeElement:Ht.current||Xt.current}});var xn=le.useMemo(function(){var jn;if(Ur!=="combobox")return Wi;var Er=(jn=tr[0])===null||jn===void 0?void 0:jn.value;return typeof Er=="string"||typeof Er=="number"?String(Er):""},[Wi,Ur,tr]),pn=Ur==="combobox"&&typeof ui=="function"&&ui()||null,Bn=typeof ei=="function"&&ei(),Fn=(0,Ye.x1)(Xt,Bn==null||(Tn=Bn.props)===null||Tn===void 0?void 0:Tn.ref),Kn=le.useState(!1),mr=(0,Se.Z)(Kn,2),br=mr[0],Dr=mr[1];(0,Ke.Z)(function(){Dr(!0)},[]);var sr=(0,be.Z)(!1,{defaultValue:ti,value:Si}),vr=(0,Se.Z)(sr,2),nr=vr[0],xr=vr[1],or=br?nr:!1,gr=!Sr&&Vr;(Jr||gr&&or&&Ur==="combobox")&&(or=!1);var Cr=gr?!1:or,Zn=le.useCallback(function(jn){var Er=jn!==void 0?jn:!or;Jr||(xr(Er),or!==Er&&(Fi==null||Fi(Er)))},[Jr,or,xr,Fi]),_n=le.useMemo(function(){return(Pi||[]).some(function(jn){return[`
`,`\r
`].includes(jn)})},[Pi]),Jn=le.useContext(Rt)||{},Rn=Jn.maxCount,Nn=Jn.rawValues,rr=function(Er,lr,yr){if(!(xe&&De(Rn)&&(Nn==null?void 0:Nn.size)>=Rn)){var hi=!0,xi=Er;Oi==null||Oi(null);var ji=lt(Er,Pi,De(Rn)?Rn-Nn.size:void 0),ia=yr?null:ji;return Ur!=="combobox"&&ia&&(xi="",Ui==null||Ui(ia),Zn(!1),hi=!1),gi&&xn!==xi&&gi(xi,{source:lr?"typing":"effect"}),hi}},wr=function(Er){!Er||!Er.trim()||gi(Er,{source:"submit"})};le.useEffect(function(){!or&&!xe&&Ur!=="combobox"&&rr("",!1,!1)},[or]),le.useEffect(function(){nr&&Jr&&xr(!1),Jr&&!hn.current&&Qt(!1)},[Jr]);var Or=Ee(),Kr=(0,Se.Z)(Or,2),ur=Kr[0],Xr=Kr[1],Yr=le.useRef(!1),zr=function(Er){var lr=ur(),yr=Er.key,hi=yr==="Enter";if(hi&&(Ur!=="combobox"&&Er.preventDefault(),or||Zn(!0)),Xr(!!xn),yr==="Backspace"&&!lr&&xe&&!xn&&tr.length){for(var xi=(0,Ne.Z)(tr),ji=null,ia=xi.length-1;ia>=0;ia-=1){var aa=xi[ia];if(!aa.disabled){xi.splice(ia,1),ji=aa;break}}ji&&kt(xi,{type:"remove",values:[ji]})}for(var Yi=arguments.length,Xi=new Array(Yi>1?Yi-1:0),la=1;la<Yi;la++)Xi[la-1]=arguments[la];if(or&&(!hi||!Yr.current)){var ta;hi&&(Yr.current=!0),(ta=gn.current)===null||ta===void 0||ta.onKeyDown.apply(ta,[Er].concat(Xi))}bn==null||bn.apply(void 0,[Er].concat(Xi))},ii=function(Er){for(var lr=arguments.length,yr=new Array(lr>1?lr-1:0),hi=1;hi<lr;hi++)yr[hi-1]=arguments[hi];if(or){var xi;(xi=gn.current)===null||xi===void 0||xi.onKeyUp.apply(xi,[Er].concat(yr))}Er.key==="Enter"&&(Yr.current=!1),sn==null||sn.apply(void 0,[Er].concat(yr))},ni=function(Er){var lr=tr.filter(function(yr){return yr!==Er});kt(lr,{type:"remove",values:[Er]})},fi=function(){Yr.current=!1},Qr=le.useRef(!1),Zi=function(){Qt(!0),Jr||(ln&&!Qr.current&&ln.apply(void 0,arguments),It.includes("focus")&&Zn(!0)),Qr.current=!0},oi=function(){hn.current=!0,Qt(!1,function(){Qr.current=!1,hn.current=!1,Zn(!1)}),!Jr&&(xn&&(Ur==="tags"?gi(xn,{source:"submit"}):Ur==="multiple"&&gi("",{source:"blur"})),fn&&fn.apply(void 0,arguments))},Hi=[];le.useEffect(function(){return function(){Hi.forEach(function(jn){return clearTimeout(jn)}),Hi.splice(0,Hi.length)}},[]);var ci=function(Er){var lr,yr=Er.target,hi=(lr=xt.current)===null||lr===void 0?void 0:lr.getPopupElement();if(hi&&hi.contains(yr)){var xi=setTimeout(function(){var Yi=Hi.indexOf(xi);if(Yi!==-1&&Hi.splice(Yi,1),vn(),!ot&&!hi.contains(document.activeElement)){var Xi;(Xi=an.current)===null||Xi===void 0||Xi.focus()}});Hi.push(xi)}for(var ji=arguments.length,ia=new Array(ji>1?ji-1:0),aa=1;aa<ji;aa++)ia[aa-1]=arguments[aa];rn==null||rn.apply(void 0,[Er].concat(ia))},ki=le.useState({}),zi=(0,Se.Z)(ki,2),Bi=zi[1];function Ci(){Bi({})}var Gi;Bn&&(Gi=function(Er){Zn(Er)}),Ge(function(){var jn;return[Ht.current,(jn=xt.current)===null||jn===void 0?void 0:jn.getPopupElement()]},Cr,Zn,!!Bn);var Vi=le.useMemo(function(){return(0,Be.Z)((0,Be.Z)({},ct),{},{notFoundContent:Sr,open:or,triggerOpen:Cr,id:En,showSearch:Ce,multiple:xe,toggleOpen:Zn})},[ct,Sr,Cr,or,En,Ce,xe,Zn]),_i=!!ri||Ai,wi;_i&&(wi=le.createElement(Ve,{className:ye()("".concat(Pt,"-arrow"),(0,Te.Z)({},"".concat(Pt,"-arrow-loading"),Ai)),customizeIcon:ri,customizeIconProps:{loading:Ai,searchValue:xn,open:or,focused:zt,showSearch:Ce}}));var ra=function(){var Er;Ir==null||Ir(),(Er=an.current)===null||Er===void 0||Er.focus(),kt([],{type:"clear",values:tr}),rr("",!1,!1)},Ii=ut(Pt,ra,tr,kr,bi,Jr,xn,Ur),Di=Ii.allowClear,Li=Ii.clearIcon,qi=le.createElement(yi,{ref:gn}),ai=ye()(Pt,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(Pt,"-focused"),zt),"".concat(Pt,"-multiple"),xe),"".concat(Pt,"-single"),!xe),"".concat(Pt,"-allow-clear"),kr),"".concat(Pt,"-show-arrow"),_i),"".concat(Pt,"-disabled"),Jr),"".concat(Pt,"-loading"),Ai),"".concat(Pt,"-open"),or),"".concat(Pt,"-customize-input"),pn),"".concat(Pt,"-show-search"),Ce)),$i=le.createElement(te,{ref:xt,disabled:Jr,prefixCls:Pt,visible:Cr,popupElement:qi,animation:Ei,transitionName:Ji,dropdownStyle:tt,dropdownClassName:Kt,direction:er,dropdownMatchSelectWidth:Mt,dropdownRender:Gt,dropdownAlign:tn,placement:Cn,builtinPlacements:In,getPopupContainer:Dn,empty:Vr,getTriggerDOMNode:function(Er){return Xt.current||Er},onPopupVisibleChange:Gi,onPopupMouseEnter:Ci},Bn?le.cloneElement(Bn,{ref:Fn}):le.createElement(wt,(0,re.Z)({},ct,{domRef:Xt,prefixCls:Pt,inputElement:pn,ref:an,id:En,prefix:jr,showSearch:Ce,autoClearSearchValue:Ni,mode:Ur,activeDescendantId:Ti,tagRender:Vn,values:tr,open:or,onToggleOpen:Zn,activeValue:Ki,searchValue:xn,onSearch:rr,onSearchSubmit:wr,onRemove:ni,tokenWithEnter:_n,onInputBlur:fi}))),Lr;return Bn?Lr=$i:Lr=le.createElement("div",(0,re.Z)({className:ai},Le,{ref:Ht,onMouseDown:ci,onKeyDown:zr,onKeyUp:ii,onFocus:Zi,onBlur:oi}),le.createElement(qt,{visible:zt&&!or,values:tr}),$i,wi,Di&&Li),le.createElement(at.Provider,{value:Vi},Lr)}),ft=Dt,Zt=function(){return null};Zt.isSelectOptGroup=!0;var Yt=Zt,mn=function(){return null};mn.isSelectOption=!0;var Mn=mn,Gn=se(80547),yn=se(2738),qn=se(6790);function $n(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var dr=["disabled","title","children","style","className"];function Mr(ct){return typeof ct=="string"||typeof ct=="number"}var ar=function(Ct,Tn){var En=rt(),Pt=En.prefixCls,Sn=En.id,Wn=En.open,Vn=En.multiple,er=En.mode,Un=En.searchValue,tr=En.toggleOpen,kt=En.notFoundContent,Vr=En.onPopupScroll,ir=le.useContext(Rt),Sr=ir.maxCount,Ir=ir.flattenOptions,Ur=ir.onActiveValue,Jr=ir.defaultActiveFirstOption,Ai=ir.onSelect,ui=ir.menuItemSelectedIcon,ei=ir.rawValues,Si=ir.fieldNames,ti=ir.virtual,Fi=ir.direction,Ki=ir.listHeight,Oi=ir.listItemHeight,Ti=ir.optionRender,Wi="".concat(Pt,"-item"),Ni=(0,Gn.Z)(function(){return Ir},[Wn,Ir],function(An,It){return It[0]&&An[1]!==It[1]}),gi=le.useRef(null),Ui=le.useMemo(function(){return Vn&&De(Sr)&&(ei==null?void 0:ei.size)>=Sr},[Vn,Sr,ei==null?void 0:ei.size]),Pi=function(It){It.preventDefault()},kr=function(It){var ln;(ln=gi.current)===null||ln===void 0||ln.scrollTo(typeof It=="number"?{index:It}:It)},jr=le.useCallback(function(An){return er==="combobox"?!1:ei.has(An)},[er,(0,Ne.Z)(ei).toString(),ei.size]),ri=function(It){for(var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,fn=Ni.length,sn=0;sn<fn;sn+=1){var bn=(It+sn*ln+fn)%fn,rn=Ni[bn]||{},oe=rn.group,xe=rn.data;if(!oe&&!(xe!=null&&xe.disabled)&&(jr(xe.value)||!Ui))return bn}return-1},bi=le.useState(function(){return ri(0)}),yi=(0,Se.Z)(bi,2),Ei=yi[0],Ji=yi[1],tt=function(It){var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ji(It);var fn={source:ln?"keyboard":"mouse"},sn=Ni[It];if(!sn){Ur(null,-1,fn);return}Ur(sn.value,It,fn)};(0,le.useEffect)(function(){tt(Jr!==!1?ri(0):-1)},[Ni.length,Un]);var Kt=le.useCallback(function(An){return er==="combobox"?String(An).toLowerCase()===Un.toLowerCase():ei.has(An)},[er,Un,(0,Ne.Z)(ei).toString(),ei.size]);(0,le.useEffect)(function(){var An=setTimeout(function(){if(!Vn&&Wn&&ei.size===1){var ln=Array.from(ei)[0],fn=Ni.findIndex(function(sn){var bn=sn.data;return Un?String(bn.value).startsWith(Un):bn.value===ln});fn!==-1&&(tt(fn),kr(fn))}});if(Wn){var It;(It=gi.current)===null||It===void 0||It.scrollTo(void 0)}return function(){return clearTimeout(An)}},[Wn,Un]);var Mt=function(It){It!==void 0&&Ai(It,{selected:!ei.has(It)}),Vn||tr(!1)};if(le.useImperativeHandle(Tn,function(){return{onKeyDown:function(It){var ln=It.which,fn=It.ctrlKey;switch(ln){case Ue.Z.N:case Ue.Z.P:case Ue.Z.UP:case Ue.Z.DOWN:{var sn=0;if(ln===Ue.Z.UP?sn=-1:ln===Ue.Z.DOWN?sn=1:$n()&&fn&&(ln===Ue.Z.N?sn=1:ln===Ue.Z.P&&(sn=-1)),sn!==0){var bn=ri(Ei+sn,sn);kr(bn),tt(bn,!0)}break}case Ue.Z.TAB:case Ue.Z.ENTER:{var rn,oe=Ni[Ei];oe&&!(oe!=null&&(rn=oe.data)!==null&&rn!==void 0&&rn.disabled)&&!Ui?Mt(oe.value):Mt(void 0),Wn&&It.preventDefault();break}case Ue.Z.ESC:tr(!1),Wn&&It.stopPropagation()}},onKeyUp:function(){},scrollTo:function(It){kr(It)}}}),Ni.length===0)return le.createElement("div",{role:"listbox",id:"".concat(Sn,"_list"),className:"".concat(Wi,"-empty"),onMouseDown:Pi},kt);var Gt=Object.keys(Si).map(function(An){return Si[An]}),tn=function(It){return It.label};function Cn(An,It){var ln=An.group;return{role:ln?"presentation":"option",id:"".concat(Sn,"_list_").concat(It)}}var In=function(It){var ln=Ni[It];if(!ln)return null;var fn=ln.data||{},sn=fn.value,bn=ln.group,rn=(0,ge.Z)(fn,!0),oe=tn(ln);return ln?le.createElement("div",(0,re.Z)({"aria-label":typeof oe=="string"&&!bn?oe:null},rn,{key:It},Cn(ln,It),{"aria-selected":Kt(sn)}),sn):null},Dn={role:"listbox",id:"".concat(Sn,"_list")};return le.createElement(le.Fragment,null,ti&&le.createElement("div",(0,re.Z)({},Dn,{style:{height:0,width:0,overflow:"hidden"}}),In(Ei-1),In(Ei),In(Ei+1)),le.createElement(qn.Z,{itemKey:"key",ref:gi,data:Ni,height:Ki,itemHeight:Oi,fullHeight:!1,onMouseDown:Pi,onScroll:Vr,virtual:ti,direction:Fi,innerProps:ti?null:Dn},function(An,It){var ln=An.group,fn=An.groupOption,sn=An.data,bn=An.label,rn=An.value,oe=sn.key;if(ln){var xe,Ce=(xe=sn.title)!==null&&xe!==void 0?xe:Mr(bn)?bn.toString():void 0;return le.createElement("div",{className:ye()(Wi,"".concat(Wi,"-group"),sn.className),title:Ce},bn!==void 0?bn:oe)}var Le=sn.disabled,Me=sn.title,it=sn.children,ot=sn.style,vt=sn.className,Ht=(0,fe.Z)(sn,dr),Xt=(0,yn.Z)(Ht,Gt),xt=jr(rn),an=Le||!xt&&Ui,gn="".concat(Wi,"-option"),hn=ye()(Wi,gn,vt,(0,Te.Z)((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(gn,"-grouped"),fn),"".concat(gn,"-active"),Ei===It&&!an),"".concat(gn,"-disabled"),an),"".concat(gn,"-selected"),xt)),on=tn(An),Jt=!ui||typeof ui=="function"||xt,zt=typeof on=="number"?on:on||rn,Qt=Mr(zt)?zt.toString():void 0;return Me!==void 0&&(Qt=Me),le.createElement("div",(0,re.Z)({},(0,ge.Z)(Xt),ti?{}:Cn(An,It),{"aria-selected":Kt(rn),className:hn,title:Qt,onMouseMove:function(){Ei===It||an||tt(It)},onClick:function(){an||Mt(rn)},style:ot}),le.createElement("div",{className:"".concat(gn,"-content")},typeof Ti=="function"?Ti(An,{index:It}):zt),le.isValidElement(ui)||xt,Jt&&le.createElement(Ve,{className:"".concat(Wi,"-option-state"),customizeIcon:ui,customizeIconProps:{value:rn,disabled:an,isSelected:xt}},xt?"\u2713":null))}))},Tr=le.forwardRef(ar),Pr=Tr,Hn=function(ct,Ct){var Tn=le.useRef({values:new Map,options:new Map}),En=le.useMemo(function(){var Sn=Tn.current,Wn=Sn.values,Vn=Sn.options,er=ct.map(function(kt){if(kt.label===void 0){var Vr;return(0,Be.Z)((0,Be.Z)({},kt),{},{label:(Vr=Wn.get(kt.value))===null||Vr===void 0?void 0:Vr.label})}return kt}),Un=new Map,tr=new Map;return er.forEach(function(kt){Un.set(kt.value,kt),tr.set(kt.value,Ct.get(kt.value)||Vn.get(kt.value))}),Tn.current.values=Un,Tn.current.options=tr,er},[ct,Ct]),Pt=le.useCallback(function(Sn){return Ct.get(Sn)||Tn.current.options.get(Sn)},[Ct]);return[En,Pt]};function Rr(ct,Ct){return ht(ct).join("").toUpperCase().includes(Ct)}var Wr=function(ct,Ct,Tn,En,Pt){return le.useMemo(function(){if(!Tn||En===!1)return ct;var Sn=Ct.options,Wn=Ct.label,Vn=Ct.value,er=[],Un=typeof En=="function",tr=Tn.toUpperCase(),kt=Un?En:function(ir,Sr){return Pt?Rr(Sr[Pt],tr):Sr[Sn]?Rr(Sr[Wn!=="children"?Wn:"label"],tr):Rr(Sr[Vn],tr)},Vr=Un?function(ir){return et(ir)}:function(ir){return ir};return ct.forEach(function(ir){if(ir[Sn]){var Sr=kt(Tn,Vr(ir));if(Sr)er.push(ir);else{var Ir=ir[Sn].filter(function(Ur){return kt(Tn,Vr(Ur))});Ir.length&&er.push((0,Be.Z)((0,Be.Z)({},ir),{},(0,Te.Z)({},Sn,Ir)))}return}kt(Tn,Vr(ir))&&er.push(ir)}),er},[ct,En,Pt,Tn,Ct])},Bt=se(6551),jt=se(11592),dn=["children","value"],cn=["children"];function Et(ct){var Ct=ct,Tn=Ct.key,En=Ct.props,Pt=En.children,Sn=En.value,Wn=(0,fe.Z)(En,dn);return(0,Be.Z)({key:Tn,value:Sn!==void 0?Sn:Tn,children:Pt},Wn)}function en(ct){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,jt.Z)(ct).map(function(Tn,En){if(!le.isValidElement(Tn)||!Tn.type)return null;var Pt=Tn,Sn=Pt.type.isSelectOptGroup,Wn=Pt.key,Vn=Pt.props,er=Vn.children,Un=(0,fe.Z)(Vn,cn);return Ct||!Sn?Et(Tn):(0,Be.Z)((0,Be.Z)({key:"__RC_SELECT_GRP__".concat(Wn===null?En:Wn,"__"),label:Wn},Un),{},{options:en(er)})}).filter(function(Tn){return Tn})}var kn=function(Ct,Tn,En,Pt,Sn){return le.useMemo(function(){var Wn=Ct,Vn=!Ct;Vn&&(Wn=en(Tn));var er=new Map,Un=new Map,tr=function(ir,Sr,Ir){Ir&&typeof Ir=="string"&&ir.set(Sr[Ir],Sr)},kt=function Vr(ir){for(var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ir=0;Ir<ir.length;Ir+=1){var Ur=ir[Ir];!Ur[En.options]||Sr?(er.set(Ur[En.value],Ur),tr(Un,Ur,En.label),tr(Un,Ur,Pt),tr(Un,Ur,Sn)):Vr(Ur[En.options],!0)}};return kt(Wn),{options:Wn,valueOptions:er,labelOptions:Un}},[Ct,Tn,En,Pt,Sn])},On=kn;function zn(ct){var Ct=le.useRef();Ct.current=ct;var Tn=le.useCallback(function(){return Ct.current.apply(Ct,arguments)},[]);return Tn}function Qn(ct){var Ct=ct.mode,Tn=ct.options,En=ct.children,Pt=ct.backfill,Sn=ct.allowClear,Wn=ct.placeholder,Vn=ct.getInputElement,er=ct.showSearch,Un=ct.onSearch,tr=ct.defaultOpen,kt=ct.autoFocus,Vr=ct.labelInValue,ir=ct.value,Sr=ct.inputValue,Ir=ct.optionLabelProp,Ur=isMultiple(Ct),Jr=er!==void 0?er:Ur||Ct==="combobox",Ai=Tn||convertChildrenToData(En);if(warning(Ct!=="tags"||Ai.every(function(ti){return!ti.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ct==="tags"||Ct==="combobox"){var ui=Ai.some(function(ti){return ti.options?ti.options.some(function(Fi){return typeof("value"in Fi?Fi.value:Fi.key)=="number"}):typeof("value"in ti?ti.value:ti.key)=="number"});warning(!ui,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ct!=="combobox"||!Ir,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ct==="combobox"||!Pt,"`backfill` only works with `combobox` mode."),warning(Ct==="combobox"||!Vn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ct!=="combobox"||!Vn||!Sn||!Wn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Un&&!Jr&&Ct!=="combobox"&&Ct!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!tr||kt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ir!=null){var ei=toArray(ir);warning(!Vr||ei.every(function(ti){return _typeof(ti)==="object"&&("key"in ti||"value"in ti)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ur||Array.isArray(ir),"`value` should be array when `mode` is `multiple` or `tags`")}if(En){var Si=null;toNodeArray(En).some(function(ti){if(!React.isValidElement(ti)||!ti.type)return!1;var Fi=ti,Ki=Fi.type;if(Ki.isSelectOption)return!1;if(Ki.isSelectOptGroup){var Oi=toNodeArray(ti.props.children).every(function(Ti){return!React.isValidElement(Ti)||!ti.type||Ti.type.isSelectOption?!0:(Si=Ti.type,!1)});return!Oi}return Si=Ki,!0}),Si&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Si.displayName||Si.name||Si,"`.")),warning(Sr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function fr(ct,Ct){if(ct){var Tn=function En(Pt){for(var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wn=0;Wn<Pt.length;Wn++){var Vn=Pt[Wn];if(Vn[Ct==null?void 0:Ct.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Sn&&Array.isArray(Vn[Ct==null?void 0:Ct.options])&&En(Vn[Ct==null?void 0:Ct.options],!0))break}};Tn(ct)}}var hr=null,pr=["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"],Ar=["inputValue"];function Ln(ct){return!ct||(0,Oe.Z)(ct)!=="object"}var _t=le.forwardRef(function(ct,Ct){var Tn=ct.id,En=ct.mode,Pt=ct.prefixCls,Sn=Pt===void 0?"rc-select":Pt,Wn=ct.backfill,Vn=ct.fieldNames,er=ct.inputValue,Un=ct.searchValue,tr=ct.onSearch,kt=ct.autoClearSearchValue,Vr=kt===void 0?!0:kt,ir=ct.onSelect,Sr=ct.onDeselect,Ir=ct.dropdownMatchSelectWidth,Ur=Ir===void 0?!0:Ir,Jr=ct.filterOption,Ai=ct.filterSort,ui=ct.optionFilterProp,ei=ct.optionLabelProp,Si=ct.options,ti=ct.optionRender,Fi=ct.children,Ki=ct.defaultActiveFirstOption,Oi=ct.menuItemSelectedIcon,Ti=ct.virtual,Wi=ct.direction,Ni=ct.listHeight,gi=Ni===void 0?200:Ni,Ui=ct.listItemHeight,Pi=Ui===void 0?20:Ui,kr=ct.labelRender,jr=ct.value,ri=ct.defaultValue,bi=ct.labelInValue,yi=ct.onChange,Ei=ct.maxCount,Ji=(0,fe.Z)(ct,pr),tt=(0,Bt.ZP)(Tn),Kt=Ut(En),Mt=!!(!Si&&Fi),Gt=le.useMemo(function(){return Jr===void 0&&En==="combobox"?!1:Jr},[Jr,En]),tn=le.useMemo(function(){return St(Vn,Mt)},[JSON.stringify(Vn),Mt]),Cn=(0,be.Z)("",{value:Un!==void 0?Un:er,postState:function(_n){return _n||""}}),In=(0,Se.Z)(Cn,2),Dn=In[0],An=In[1],It=On(Si,Fi,tn,ui,ei),ln=It.valueOptions,fn=It.labelOptions,sn=It.options,bn=le.useCallback(function(Zn){var _n=ht(Zn);return _n.map(function(Jn){var Rn,Nn,rr,wr,Or;if(Ln(Jn))Rn=Jn;else{var Kr;rr=Jn.key,Nn=Jn.label,Rn=(Kr=Jn.value)!==null&&Kr!==void 0?Kr:rr}var ur=ln.get(Rn);if(ur){var Xr;if(Nn===void 0&&(Nn=ur==null?void 0:ur[ei||tn.label]),rr===void 0&&(rr=(Xr=ur==null?void 0:ur.key)!==null&&Xr!==void 0?Xr:Rn),wr=ur==null?void 0:ur.disabled,Or=ur==null?void 0:ur.title,0)var Yr}return{label:Nn,value:Rn,key:rr,disabled:wr,title:Or}})},[tn,ei,ln]),rn=(0,be.Z)(ri,{value:jr}),oe=(0,Se.Z)(rn,2),xe=oe[0],Ce=oe[1],Le=le.useMemo(function(){var Zn,_n=Kt&&xe===null?[]:xe,Jn=bn(_n);return En==="combobox"&&he((Zn=Jn[0])===null||Zn===void 0?void 0:Zn.value)?[]:Jn},[xe,bn,En,Kt]),Me=Hn(Le,ln),it=(0,Se.Z)(Me,2),ot=it[0],vt=it[1],Ht=le.useMemo(function(){if(!En&&ot.length===1){var Zn=ot[0];if(Zn.value===null&&(Zn.label===null||Zn.label===void 0))return[]}return ot.map(function(_n){var Jn;return(0,Be.Z)((0,Be.Z)({},_n),{},{label:(Jn=typeof kr=="function"?kr(_n):_n.label)!==null&&Jn!==void 0?Jn:_n.value})})},[En,ot,kr]),Xt=le.useMemo(function(){return new Set(ot.map(function(Zn){return Zn.value}))},[ot]);le.useEffect(function(){if(En==="combobox"){var Zn,_n=(Zn=ot[0])===null||Zn===void 0?void 0:Zn.value;An(we(_n)?String(_n):"")}},[ot]);var xt=zn(function(Zn,_n){var Jn=_n!=null?_n:Zn;return(0,Te.Z)((0,Te.Z)({},tn.value,Zn),tn.label,Jn)}),an=le.useMemo(function(){if(En!=="tags")return sn;var Zn=(0,Ne.Z)(sn),_n=function(Rn){return ln.has(Rn)};return(0,Ne.Z)(ot).sort(function(Jn,Rn){return Jn.value<Rn.value?-1:1}).forEach(function(Jn){var Rn=Jn.value;_n(Rn)||Zn.push(xt(Rn,Jn.label))}),Zn},[xt,sn,ln,ot,En]),gn=Wr(an,tn,Dn,Gt,ui),hn=le.useMemo(function(){return En!=="tags"||!Dn||gn.some(function(Zn){return Zn[ui||"value"]===Dn})||gn.some(function(Zn){return Zn[tn.value]===Dn})?gn:[xt(Dn)].concat((0,Ne.Z)(gn))},[xt,ui,En,gn,Dn,tn]),on=function Zn(_n){var Jn=(0,Ne.Z)(_n).sort(function(Rn,Nn){return Ai(Rn,Nn,{searchValue:Dn})});return Jn.map(function(Rn){return Array.isArray(Rn.options)?(0,Be.Z)((0,Be.Z)({},Rn),{},{options:Rn.options.length>0?Zn(Rn.options):Rn.options}):Rn})},Jt=le.useMemo(function(){return Ai?on(hn):hn},[hn,Ai,Dn]),zt=le.useMemo(function(){return je(Jt,{fieldNames:tn,childrenAsData:Mt})},[Jt,tn,Mt]),Qt=function(_n){var Jn=bn(_n);if(Ce(Jn),yi&&(Jn.length!==ot.length||Jn.some(function(rr,wr){var Or;return((Or=ot[wr])===null||Or===void 0?void 0:Or.value)!==(rr==null?void 0:rr.value)}))){var Rn=bi?Jn:Jn.map(function(rr){return rr.value}),Nn=Jn.map(function(rr){return et(vt(rr.value))});yi(Kt?Rn:Rn[0],Kt?Nn:Nn[0])}},vn=le.useState(null),xn=(0,Se.Z)(vn,2),pn=xn[0],Bn=xn[1],Fn=le.useState(0),Kn=(0,Se.Z)(Fn,2),mr=Kn[0],br=Kn[1],Dr=Ki!==void 0?Ki:En!=="combobox",sr=le.useCallback(function(Zn,_n){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Rn=Jn.source,Nn=Rn===void 0?"keyboard":Rn;br(_n),Wn&&En==="combobox"&&Zn!==null&&Nn==="keyboard"&&Bn(String(Zn))},[Wn,En]),vr=function(_n,Jn,Rn){var Nn=function(){var ni,fi=vt(_n);return[bi?{label:fi==null?void 0:fi[tn.label],value:_n,key:(ni=fi==null?void 0:fi.key)!==null&&ni!==void 0?ni:_n}:_n,et(fi)]};if(Jn&&ir){var rr=Nn(),wr=(0,Se.Z)(rr,2),Or=wr[0],Kr=wr[1];ir(Or,Kr)}else if(!Jn&&Sr&&Rn!=="clear"){var ur=Nn(),Xr=(0,Se.Z)(ur,2),Yr=Xr[0],zr=Xr[1];Sr(Yr,zr)}},nr=zn(function(Zn,_n){var Jn,Rn=Kt?_n.selected:!0;Rn?Jn=Kt?[].concat((0,Ne.Z)(ot),[Zn]):[Zn]:Jn=ot.filter(function(Nn){return Nn.value!==Zn}),Qt(Jn),vr(Zn,Rn),En==="combobox"?Bn(""):(!Ut||Vr)&&(An(""),Bn(""))}),xr=function(_n,Jn){Qt(_n);var Rn=Jn.type,Nn=Jn.values;(Rn==="remove"||Rn==="clear")&&Nn.forEach(function(rr){vr(rr.value,!1,Rn)})},or=function(_n,Jn){if(An(_n),Bn(null),Jn.source==="submit"){var Rn=(_n||"").trim();if(Rn){var Nn=Array.from(new Set([].concat((0,Ne.Z)(Xt),[Rn])));Qt(Nn),vr(Rn,!0),An("")}return}Jn.source!=="blur"&&(En==="combobox"&&Qt(_n),tr==null||tr(_n))},gr=function(_n){var Jn=_n;En!=="tags"&&(Jn=_n.map(function(Nn){var rr=fn.get(Nn);return rr==null?void 0:rr.value}).filter(function(Nn){return Nn!==void 0}));var Rn=Array.from(new Set([].concat((0,Ne.Z)(Xt),(0,Ne.Z)(Jn))));Qt(Rn),Rn.forEach(function(Nn){vr(Nn,!0)})},Cr=le.useMemo(function(){var Zn=Ti!==!1&&Ur!==!1;return(0,Be.Z)((0,Be.Z)({},It),{},{flattenOptions:zt,onActiveValue:sr,defaultActiveFirstOption:Dr,onSelect:nr,menuItemSelectedIcon:Oi,rawValues:Xt,fieldNames:tn,virtual:Zn,direction:Wi,listHeight:gi,listItemHeight:Pi,childrenAsData:Mt,maxCount:Ei,optionRender:ti})},[Ei,It,zt,sr,Dr,nr,Oi,Xt,tn,Ti,Ur,Wi,gi,Pi,Mt,ti]);return le.createElement(Rt.Provider,{value:Cr},le.createElement(ft,(0,re.Z)({},Ji,{id:tt,prefixCls:Sn,ref:Ct,omitDomProps:Ar,mode:En,displayValues:Ht,onDisplayValuesChange:xr,direction:Wi,searchValue:Dn,onSearch:or,autoClearSearchValue:Vr,onSearchSplit:gr,dropdownMatchSelectWidth:Ur,OptionList:Pr,emptyOptions:!zt.length,activeValue:pn,activeDescendantId:"".concat(tt,"_list_").concat(mr)})))}),Xn=_t;Xn.Option=Mn,Xn.OptGroup=Yt;var Nr=Xn,Hr=Nr},63158:function(wn,un,se){"use strict";var re=se(32855),Ne=se(74430),Te=se(11913),Be=se(43079),Se=se(59301),fe=se(92310),Oe=se.n(fe),be=se(18929),Pe=se(10228),le=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],nt=Se.forwardRef(function(ye,Ke){var Ie,Ye=ye.prefixCls,He=Ye===void 0?"rc-switch":Ye,Ve=ye.className,ut=ye.checked,at=ye.defaultChecked,rt=ye.disabled,Fe=ye.loadingIcon,Ee=ye.checkedChildren,Ge=ye.unCheckedChildren,Ue=ye.onClick,dt=ye.onChange,ge=ye.onKeyDown,ke=(0,Be.Z)(ye,le),ze=(0,be.Z)(!1,{value:ut,defaultValue:at}),Ze=(0,Te.Z)(ze,2),_e=Ze[0],Re=Ze[1];function Je(At,we){var he=_e;return rt||(he=At,Re(he),dt==null||dt(he,we)),he}function Nt(At){At.which===Pe.Z.LEFT?Je(!1,At):At.which===Pe.Z.RIGHT&&Je(!0,At),ge==null||ge(At)}function ht(At){var we=Je(!_e,At);Ue==null||Ue(we,At)}var gt=Oe()(He,Ve,(Ie={},(0,Ne.Z)(Ie,"".concat(He,"-checked"),_e),(0,Ne.Z)(Ie,"".concat(He,"-disabled"),rt),Ie));return Se.createElement("button",(0,re.Z)({},ke,{type:"button",role:"switch","aria-checked":_e,disabled:rt,className:gt,ref:Ke,onKeyDown:Nt,onClick:ht}),Fe,Se.createElement("span",{className:"".concat(He,"-inner")},Se.createElement("span",{className:"".concat(He,"-inner-checked")},Ee),Se.createElement("span",{className:"".concat(He,"-inner-unchecked")},Ge)))});nt.displayName="Switch",un.Z=nt},86351:function(wn,un,se){"use strict";se.d(un,{R:function(){return Ne},w:function(){return re}});var re={},Ne="rc-table-internal-hook"},97347:function(wn,un,se){"use strict";se.d(un,{L:function(){return He},Z:function(){return Fe}});var re=se(11913),Ne=se(74430),Te=se(3300),Be=se(34666),Se=se(27247),fe=se(43079),Oe=se(11592),be=se(48736),Pe=se(59301),le=se(86351),nt=se(54451);function ye(Ee){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ge=="number"?Ge:Ge.endsWith("%")?Ee*parseFloat(Ge)/100:null}function Ke(Ee,Ge,Ue){return Pe.useMemo(function(){if(Ge&&Ge>0){var dt=0,ge=0;Ee.forEach(function(ht){var gt=ye(Ge,ht.width);gt?dt+=gt:ge+=1});var ke=Math.max(Ge,Ue),ze=Math.max(ke-dt,ge),Ze=ge,_e=ze/ge,Re=0,Je=Ee.map(function(ht){var gt=(0,Se.Z)({},ht),At=ye(Ge,gt.width);if(At)gt.width=At;else{var we=Math.floor(_e);gt.width=Ze===1?ze:we,ze-=we,Ze-=1}return Re+=gt.width,gt});if(Re<ke){var Nt=ke/Re;ze=ke,Je.forEach(function(ht,gt){var At=Math.floor(ht.width*Nt);ht.width=gt===Je.length-1?ze:At,ze-=At})}return[Je,Math.max(Re,ke)]}return[Ee,Ge]},[Ee,Ge,Ue])}var Ie=["children"],Ye=["fixed"];function He(Ee){return(0,Oe.Z)(Ee).filter(function(Ge){return Pe.isValidElement(Ge)}).map(function(Ge){var Ue=Ge.key,dt=Ge.props,ge=dt.children,ke=(0,fe.Z)(dt,Ie),ze=(0,Se.Z)({key:Ue},ke);return ge&&(ze.children=He(ge)),ze})}function Ve(Ee){return Ee.filter(function(Ge){return Ge&&(0,Be.Z)(Ge)==="object"&&!Ge.hidden}).map(function(Ge){var Ue=Ge.children;return Ue&&Ue.length>0?(0,Se.Z)((0,Se.Z)({},Ge),{},{children:Ve(Ue)}):Ge})}function ut(Ee){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Ue){return Ue&&(0,Be.Z)(Ue)==="object"}).reduce(function(Ue,dt,ge){var ke=dt.fixed,ze=ke===!0?"left":ke,Ze="".concat(Ge,"-").concat(ge),_e=dt.children;return _e&&_e.length>0?[].concat((0,Te.Z)(Ue),(0,Te.Z)(ut(_e,Ze).map(function(Re){return(0,Se.Z)({fixed:ze},Re)}))):[].concat((0,Te.Z)(Ue),[(0,Se.Z)((0,Se.Z)({key:Ze},dt),{},{fixed:ze})])},[])}function at(Ee){return Ee.map(function(Ge){var Ue=Ge.fixed,dt=(0,fe.Z)(Ge,Ye),ge=Ue;return Ue==="left"?ge="right":Ue==="right"&&(ge="left"),(0,Se.Z)({fixed:ge},dt)})}function rt(Ee,Ge){var Ue=Ee.prefixCls,dt=Ee.columns,ge=Ee.children,ke=Ee.expandable,ze=Ee.expandedKeys,Ze=Ee.columnTitle,_e=Ee.getRowKey,Re=Ee.onTriggerExpand,Je=Ee.expandIcon,Nt=Ee.rowExpandable,ht=Ee.expandIconColumnIndex,gt=Ee.direction,At=Ee.expandRowByClick,we=Ee.columnWidth,he=Ee.fixed,qe=Ee.scrollWidth,Lt=Ee.clientWidth,Tt=Pe.useMemo(function(){var wt=dt||He(ge)||[];return Ve(wt.slice())},[dt,ge]),Xe=Pe.useMemo(function(){if(ke){var wt=Tt.slice();if(!wt.includes(le.w)){var ce=ht||0;ce>=0&&(ce||he==="left"||!he)&&wt.splice(ce,0,le.w),he==="right"&&wt.splice(Tt.length,0,le.w)}var ie=wt.indexOf(le.w);wt=wt.filter(function(te,ue){return te!==le.w||ue===ie});var z=Tt[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(Ue,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ze),"fixed",ee),"className","".concat(Ue,"-row-expand-icon-cell")),"width",we),"render",function(ue,me,De){var St=_e(me,De),je=ze.has(St),et=Nt?Nt(me):!0,lt=Je({prefixCls:Ue,expanded:je,expandable:et,record:me,onExpand:Re});return At?Pe.createElement("span",{onClick:function(Rt){return Rt.stopPropagation()}},lt):lt});return wt.map(function(te){return te===le.w?ne:te})}return Tt.filter(function(te){return te!==le.w})},[ke,Tt,_e,ze,Je,gt]),bt=Pe.useMemo(function(){var wt=Xe;return Ge&&(wt=Ge(wt)),wt.length||(wt=[{render:function(){return null}}]),wt},[Ge,Xe,gt]),$e=Pe.useMemo(function(){return gt==="rtl"?at(ut(bt)):ut(bt)},[bt,gt,qe]),Ot=Pe.useMemo(function(){for(var wt=-1,ce=$e.length-1;ce>=0;ce-=1){var ie=$e[ce].fixed;if(ie==="left"||ie===!0){wt=ce;break}}if(wt>=0)for(var z=0;z<=wt;z+=1){var ee=$e[z].fixed;if(ee!=="left"&&ee!==!0)return!0}var ne=$e.findIndex(function(me){var De=me.fixed;return De==="right"});if(ne>=0)for(var te=ne;te<$e.length;te+=1){var ue=$e[te].fixed;if(ue!=="right")return!0}return!1},[$e]),We=Ke($e,qe,Lt),yt=(0,re.Z)(We,2),Qe=yt[0],Ft=yt[1];return[bt,Qe,Ft,Ot]}var Fe=rt},4030:function(wn,un,se){"use strict";se.d(un,{w2:function(){return re.w},vP:function(){return Mr.v},RQ:function(){return re.R},ER:function(){return St},Q$:function(){return Jr},TN:function(){return yi}});var re=se(86351),Ne=se(11913),Te=se(6089),Be=se(34280),Se=se(13697),fe=se(59301),Oe=se(4676);function be(tt){var Kt=fe.createContext(void 0),Mt=function(tn){var Cn=tn.value,In=tn.children,Dn=fe.useRef(Cn);Dn.current=Cn;var An=fe.useState(function(){return{getValue:function(){return Dn.current},listeners:new Set}}),It=(0,Ne.Z)(An,1),ln=It[0];return(0,Be.Z)(function(){(0,Oe.unstable_batchedUpdates)(function(){ln.listeners.forEach(function(fn){fn(Cn)})})},[Cn]),fe.createElement(Kt.Provider,{value:ln},In)};return{Context:Kt,Provider:Mt,defaultValue:tt}}function Pe(tt,Kt){var Mt=(0,Te.Z)(typeof Kt=="function"?Kt:function(fn){if(Kt===void 0)return fn;if(!Array.isArray(Kt))return fn[Kt];var sn={};return Kt.forEach(function(bn){sn[bn]=fn[bn]}),sn}),Gt=fe.useContext(tt==null?void 0:tt.Context),tn=Gt||{},Cn=tn.listeners,In=tn.getValue,Dn=fe.useRef();Dn.current=Mt(Gt?In():tt==null?void 0:tt.defaultValue);var An=fe.useState({}),It=(0,Ne.Z)(An,2),ln=It[1];return(0,Be.Z)(function(){if(!Gt)return;function fn(sn){var bn=Mt(sn);(0,Se.Z)(Dn.current,bn,!0)||ln({})}return Cn.add(fn),function(){Cn.delete(fn)}},[Gt]),Dn.current}var le=se(32855),nt=se(8654);function ye(){var tt=fe.createContext(null);function Kt(){return fe.useContext(tt)}function Mt(tn,Cn){var In=(0,nt.Yr)(tn),Dn=function(It,ln){var fn=In?{ref:ln}:{},sn=fe.useRef(0),bn=fe.useRef(It),rn=Kt();return rn!==null?fe.createElement(tn,(0,le.Z)({},It,fn)):((!Cn||Cn(bn.current,It))&&(sn.current+=1),bn.current=It,fe.createElement(tt.Provider,{value:sn.current},fe.createElement(tn,(0,le.Z)({},It,fn))))};return In?fe.forwardRef(Dn):Dn}function Gt(tn,Cn){var In=(0,nt.Yr)(tn),Dn=function(It,ln){var fn=In?{ref:ln}:{};return Kt(),fe.createElement(tn,(0,le.Z)({},It,fn))};return In?fe.memo(fe.forwardRef(Dn),Cn):fe.memo(Dn,Cn)}return{makeImmutable:Mt,responseImmutable:Gt,useImmutableMark:Kt}}var Ke=ye(),Ie=Ke.makeImmutable,Ye=Ke.responseImmutable,He=Ke.useImmutableMark,Ve=ye(),ut=Ve.makeImmutable,at=Ve.responseImmutable,rt=Ve.useImmutableMark,Fe=be(),Ee=Fe;function Ge(tt,Kt){var Mt=React.useRef(0);Mt.current+=1;var Gt=React.useRef(tt),tn=[];Object.keys(tt||{}).map(function(In){var Dn;(tt==null?void 0:tt[In])!==((Dn=Gt.current)===null||Dn===void 0?void 0:Dn[In])&&tn.push(In)}),Gt.current=tt;var Cn=React.useRef([]);return tn.length&&(Cn.current=tn),React.useDebugValue(Mt.current),React.useDebugValue(Cn.current.join(", ")),Kt&&console.log("".concat(Kt,":"),Mt.current,Cn.current),Mt.current}var Ue=null,dt=null,ge=se(34666),ke=se(27247),ze=se(74430),Ze=se(92310),_e=se.n(Ze),Re=se(80547),Je=se(97938),Nt=se(48736),ht=fe.createContext({renderWithProps:!1}),gt=ht,At="RC_TABLE_KEY";function we(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function he(tt){var Kt=[],Mt={};return tt.forEach(function(Gt){for(var tn=Gt||{},Cn=tn.key,In=tn.dataIndex,Dn=Cn||we(In).join("-")||At;Mt[Dn];)Dn="".concat(Dn,"_next");Mt[Dn]=!0,Kt.push(Dn)}),Kt}function qe(tt){return tt!=null}function Lt(tt){return typeof tt=="number"&&!Number.isNaN(tt)}function Tt(tt){return tt&&(0,ge.Z)(tt)==="object"&&!Array.isArray(tt)&&!fe.isValidElement(tt)}function Xe(tt,Kt,Mt,Gt,tn,Cn){var In=fe.useContext(gt),Dn=rt(),An=(0,Re.Z)(function(){if(qe(Gt))return[Gt];var It=Kt==null||Kt===""?[]:Array.isArray(Kt)?Kt:[Kt],ln=(0,Je.Z)(tt,It),fn=ln,sn=void 0;if(tn){var bn=tn(ln,tt,Mt);Tt(bn)?(fn=bn.children,sn=bn.props,In.renderWithProps=!0):fn=bn}return[fn,sn]},[Dn,tt,Gt,Kt,tn,Mt],function(It,ln){if(Cn){var fn=(0,Ne.Z)(It,2),sn=fn[1],bn=(0,Ne.Z)(ln,2),rn=bn[1];return Cn(rn,sn)}return In.renderWithProps?!0:!(0,Se.Z)(It,ln,!0)});return An}function bt(tt,Kt,Mt,Gt){var tn=tt+Kt-1;return tt<=Gt&&tn>=Mt}function $e(tt,Kt){return Pe(Ee,function(Mt){var Gt=bt(tt,Kt||1,Mt.hoverStartRow,Mt.hoverEndRow);return[Gt,Mt.onHover]})}var Ot=se(70425),We=function(Kt){var Mt=Kt.ellipsis,Gt=Kt.rowType,tn=Kt.children,Cn,In=Mt===!0?{showTitle:!0}:Mt;return In&&(In.showTitle||Gt==="header")&&(typeof tn=="string"||typeof tn=="number"?Cn=tn.toString():fe.isValidElement(tn)&&typeof tn.props.children=="string"&&(Cn=tn.props.children)),Cn};function yt(tt){var Kt,Mt,Gt,tn,Cn,In,Dn,An,It=tt.component,ln=tt.children,fn=tt.ellipsis,sn=tt.scope,bn=tt.prefixCls,rn=tt.className,oe=tt.align,xe=tt.record,Ce=tt.render,Le=tt.dataIndex,Me=tt.renderIndex,it=tt.shouldCellUpdate,ot=tt.index,vt=tt.rowType,Ht=tt.colSpan,Xt=tt.rowSpan,xt=tt.fixLeft,an=tt.fixRight,gn=tt.firstFixLeft,hn=tt.lastFixLeft,on=tt.firstFixRight,Jt=tt.lastFixRight,zt=tt.appendNode,Qt=tt.additionalProps,vn=Qt===void 0?{}:Qt,xn=tt.isSticky,pn="".concat(bn,"-cell"),Bn=Pe(Ee,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Fn=Bn.supportSticky,Kn=Bn.allColumnsFixedLeft,mr=Bn.rowHoverable,br=Xe(xe,Le,Me,ln,Ce,it),Dr=(0,Ne.Z)(br,2),sr=Dr[0],vr=Dr[1],nr={},xr=typeof xt=="number"&&Fn,or=typeof an=="number"&&Fn;xr&&(nr.position="sticky",nr.left=xt),or&&(nr.position="sticky",nr.right=an);var gr=(Kt=(Mt=(Gt=vr==null?void 0:vr.colSpan)!==null&&Gt!==void 0?Gt:vn.colSpan)!==null&&Mt!==void 0?Mt:Ht)!==null&&Kt!==void 0?Kt:1,Cr=(tn=(Cn=(In=vr==null?void 0:vr.rowSpan)!==null&&In!==void 0?In:vn.rowSpan)!==null&&Cn!==void 0?Cn:Xt)!==null&&tn!==void 0?tn:1,Zn=$e(ot,Cr),_n=(0,Ne.Z)(Zn,2),Jn=_n[0],Rn=_n[1],Nn=(0,Ot.zX)(function(Yr){var zr;xe&&Rn(ot,ot+Cr-1),vn==null||(zr=vn.onMouseEnter)===null||zr===void 0||zr.call(vn,Yr)}),rr=(0,Ot.zX)(function(Yr){var zr;xe&&Rn(-1,-1),vn==null||(zr=vn.onMouseLeave)===null||zr===void 0||zr.call(vn,Yr)});if(gr===0||Cr===0)return null;var wr=(Dn=vn.title)!==null&&Dn!==void 0?Dn:We({rowType:vt,ellipsis:fn,children:sr}),Or=_e()(pn,rn,(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(pn,"-fix-left"),xr&&Fn),"".concat(pn,"-fix-left-first"),gn&&Fn),"".concat(pn,"-fix-left-last"),hn&&Fn),"".concat(pn,"-fix-left-all"),hn&&Kn&&Fn),"".concat(pn,"-fix-right"),or&&Fn),"".concat(pn,"-fix-right-first"),on&&Fn),"".concat(pn,"-fix-right-last"),Jt&&Fn),"".concat(pn,"-ellipsis"),fn),"".concat(pn,"-with-append"),zt),"".concat(pn,"-fix-sticky"),(xr||or)&&xn&&Fn),(0,ze.Z)(An,"".concat(pn,"-row-hover"),!vr&&Jn)),vn.className,vr==null?void 0:vr.className),Kr={};oe&&(Kr.textAlign=oe);var ur=(0,ke.Z)((0,ke.Z)((0,ke.Z)((0,ke.Z)({},vr==null?void 0:vr.style),nr),Kr),vn.style),Xr=sr;return(0,ge.Z)(Xr)==="object"&&!Array.isArray(Xr)&&!fe.isValidElement(Xr)&&(Xr=null),fn&&(hn||on)&&(Xr=fe.createElement("span",{className:"".concat(pn,"-content")},Xr)),fe.createElement(It,(0,le.Z)({},vr,vn,{className:Or,style:ur,title:wr,scope:sn,onMouseEnter:mr?Nn:void 0,onMouseLeave:mr?rr:void 0,colSpan:gr!==1?gr:null,rowSpan:Cr!==1?Cr:null}),zt,Xr)}var Qe=fe.memo(yt);function Ft(tt,Kt,Mt,Gt,tn){var Cn=Mt[tt]||{},In=Mt[Kt]||{},Dn,An;Cn.fixed==="left"?Dn=Gt.left[tn==="rtl"?Kt:tt]:In.fixed==="right"&&(An=Gt.right[tn==="rtl"?tt:Kt]);var It=!1,ln=!1,fn=!1,sn=!1,bn=Mt[Kt+1],rn=Mt[tt-1],oe=bn&&!bn.fixed||rn&&!rn.fixed||Mt.every(function(it){return it.fixed==="left"});if(tn==="rtl"){if(Dn!==void 0){var xe=rn&&rn.fixed==="left";sn=!xe&&oe}else if(An!==void 0){var Ce=bn&&bn.fixed==="right";fn=!Ce&&oe}}else if(Dn!==void 0){var Le=bn&&bn.fixed==="left";It=!Le&&oe}else if(An!==void 0){var Me=rn&&rn.fixed==="right";ln=!Me&&oe}return{fixLeft:Dn,fixRight:An,lastFixLeft:It,firstFixRight:ln,lastFixRight:fn,firstFixLeft:sn,isSticky:Gt.isSticky}}var wt=fe.createContext({}),ce=wt;function ie(tt){var Kt=tt.className,Mt=tt.index,Gt=tt.children,tn=tt.colSpan,Cn=tn===void 0?1:tn,In=tt.rowSpan,Dn=tt.align,An=Pe(Ee,["prefixCls","direction"]),It=An.prefixCls,ln=An.direction,fn=fe.useContext(ce),sn=fn.scrollColumnIndex,bn=fn.stickyOffsets,rn=fn.flattenColumns,oe=Mt+Cn-1,xe=oe+1===sn?Cn+1:Cn,Ce=Ft(Mt,Mt+xe-1,rn,bn,ln);return fe.createElement(Qe,(0,le.Z)({className:Kt,index:Mt,component:"td",prefixCls:It,record:null,dataIndex:null,align:Dn,colSpan:xe,rowSpan:In,render:function(){return Gt}},Ce))}var z=se(43079),ee=["children"];function ne(tt){var Kt=tt.children,Mt=(0,z.Z)(tt,ee);return fe.createElement("tr",Mt,Kt)}function te(tt){var Kt=tt.children;return Kt}te.Row=ne,te.Cell=ie;var ue=te;function me(tt){var Kt=tt.children,Mt=tt.stickyOffsets,Gt=tt.flattenColumns,tn=Pe(Ee,"prefixCls"),Cn=Gt.length-1,In=Gt[Cn],Dn=fe.useMemo(function(){return{stickyOffsets:Mt,flattenColumns:Gt,scrollColumnIndex:In!=null&&In.scrollbar?Cn:null}},[In,Gt,Cn,Mt]);return fe.createElement(ce.Provider,{value:Dn},fe.createElement("tfoot",{className:"".concat(tn,"-summary")},Kt))}var De=at(me),St=ue,je=se(29301),et=se(24514),lt=se(75152),mt=se(26112);function Rt(tt,Kt,Mt,Gt,tn,Cn,In){tt.push({record:Kt,indent:Mt,index:In});var Dn=Cn(Kt),An=tn==null?void 0:tn.has(Dn);if(Kt&&Array.isArray(Kt[Gt])&&An)for(var It=0;It<Kt[Gt].length;It+=1)Rt(tt,Kt[Gt][It],Mt+1,Gt,tn,Cn,It)}function qt(tt,Kt,Mt,Gt){var tn=fe.useMemo(function(){if(Mt!=null&&Mt.size){for(var Cn=[],In=0;In<(tt==null?void 0:tt.length);In+=1){var Dn=tt[In];Rt(Cn,Dn,0,Kt,Mt,Gt,In)}return Cn}return tt==null?void 0:tt.map(function(An,It){return{record:An,indent:0,index:It}})},[tt,Kt,Mt,Gt]);return tn}function Wt(tt,Kt,Mt,Gt){var tn=Pe(Ee,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Cn=tn.flattenColumns,In=tn.expandableType,Dn=tn.expandedKeys,An=tn.childrenColumnName,It=tn.onTriggerExpand,ln=tn.rowExpandable,fn=tn.onRow,sn=tn.expandRowByClick,bn=tn.rowClassName,rn=In==="nest",oe=In==="row"&&(!ln||ln(tt)),xe=oe||rn,Ce=Dn&&Dn.has(Kt),Le=An&&tt&&tt[An],Me=(0,Ot.zX)(It),it=fn==null?void 0:fn(tt,Mt),ot=it==null?void 0:it.onClick,vt=function(an){sn&&xe&&It(tt,an);for(var gn=arguments.length,hn=new Array(gn>1?gn-1:0),on=1;on<gn;on++)hn[on-1]=arguments[on];ot==null||ot.apply(void 0,[an].concat(hn))},Ht;typeof bn=="string"?Ht=bn:typeof bn=="function"&&(Ht=bn(tt,Mt,Gt));var Xt=he(Cn);return(0,ke.Z)((0,ke.Z)({},tn),{},{columnsKey:Xt,nestExpandable:rn,expanded:Ce,hasNestChildren:Le,record:tt,onTriggerExpand:Me,rowSupportExpand:oe,expandable:xe,rowProps:(0,ke.Z)((0,ke.Z)({},it),{},{className:_e()(Ht,it==null?void 0:it.className),onClick:vt})})}function nn(tt){var Kt=tt.prefixCls,Mt=tt.children,Gt=tt.component,tn=tt.cellComponent,Cn=tt.className,In=tt.expanded,Dn=tt.colSpan,An=tt.isEmpty,It=Pe(Ee,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ln=It.scrollbarSize,fn=It.fixHeader,sn=It.fixColumn,bn=It.componentWidth,rn=It.horizonScroll,oe=Mt;return(An?rn&&bn:sn)&&(oe=fe.createElement("div",{style:{width:bn-(fn&&!An?ln:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Kt,"-expanded-row-fixed")},oe)),fe.createElement(Gt,{className:Cn,style:{display:In?null:"none"}},fe.createElement(Qe,{component:tn,prefixCls:Kt,colSpan:Dn},oe))}var Ut=nn;function Dt(tt){var Kt=tt.prefixCls,Mt=tt.record,Gt=tt.onExpand,tn=tt.expanded,Cn=tt.expandable,In="".concat(Kt,"-row-expand-icon");if(!Cn)return fe.createElement("span",{className:_e()(In,"".concat(Kt,"-row-spaced"))});var Dn=function(It){Gt(Mt,It),It.stopPropagation()};return fe.createElement("span",{className:_e()(In,(0,ze.Z)((0,ze.Z)({},"".concat(Kt,"-row-expanded"),tn),"".concat(Kt,"-row-collapsed"),!tn)),onClick:Dn})}function ft(tt,Kt,Mt){var Gt=[];function tn(Cn){(Cn||[]).forEach(function(In,Dn){Gt.push(Kt(In,Dn)),tn(In[Mt])})}return tn(tt),Gt}function Zt(tt,Kt,Mt,Gt){return typeof tt=="string"?tt:typeof tt=="function"?tt(Kt,Mt,Gt):""}function Yt(tt,Kt,Mt,Gt,tn){var Cn=tt.record,In=tt.prefixCls,Dn=tt.columnsKey,An=tt.fixedInfoList,It=tt.expandIconColumnIndex,ln=tt.nestExpandable,fn=tt.indentSize,sn=tt.expandIcon,bn=tt.expanded,rn=tt.hasNestChildren,oe=tt.onTriggerExpand,xe=Dn[Mt],Ce=An[Mt],Le;Mt===(It||0)&&ln&&(Le=fe.createElement(fe.Fragment,null,fe.createElement("span",{style:{paddingLeft:"".concat(fn*Gt,"px")},className:"".concat(In,"-row-indent indent-level-").concat(Gt)}),sn({prefixCls:In,expanded:bn,expandable:rn,record:Cn,onExpand:oe})));var Me;return Kt.onCell&&(Me=Kt.onCell(Cn,tn)),{key:xe,fixedInfo:Ce,appendCellNode:Le,additionalCellProps:Me||{}}}function mn(tt){var Kt=tt.className,Mt=tt.style,Gt=tt.record,tn=tt.index,Cn=tt.renderIndex,In=tt.rowKey,Dn=tt.indent,An=Dn===void 0?0:Dn,It=tt.rowComponent,ln=tt.cellComponent,fn=tt.scopeCellComponent,sn=Wt(Gt,In,tn,An),bn=sn.prefixCls,rn=sn.flattenColumns,oe=sn.expandedRowClassName,xe=sn.expandedRowRender,Ce=sn.rowProps,Le=sn.expanded,Me=sn.rowSupportExpand,it=fe.useRef(!1);it.current||(it.current=Le);var ot=Zt(oe,Gt,tn,An),vt=fe.createElement(It,(0,le.Z)({},Ce,{"data-row-key":In,className:_e()(Kt,"".concat(bn,"-row"),"".concat(bn,"-row-level-").concat(An),Ce==null?void 0:Ce.className,(0,ze.Z)({},ot,An>=1)),style:(0,ke.Z)((0,ke.Z)({},Mt),Ce==null?void 0:Ce.style)}),rn.map(function(xt,an){var gn=xt.render,hn=xt.dataIndex,on=xt.className,Jt=Yt(sn,xt,an,An,tn),zt=Jt.key,Qt=Jt.fixedInfo,vn=Jt.appendCellNode,xn=Jt.additionalCellProps;return fe.createElement(Qe,(0,le.Z)({className:on,ellipsis:xt.ellipsis,align:xt.align,scope:xt.rowScope,component:xt.rowScope?fn:ln,prefixCls:bn,key:zt,record:Gt,index:tn,renderIndex:Cn,dataIndex:hn,render:gn,shouldCellUpdate:xt.shouldCellUpdate},Qt,{appendNode:vn,additionalProps:xn}))})),Ht;if(Me&&(it.current||Le)){var Xt=xe(Gt,tn,An+1,Le);Ht=fe.createElement(Ut,{expanded:Le,className:_e()("".concat(bn,"-expanded-row"),"".concat(bn,"-expanded-row-level-").concat(An+1),ot),prefixCls:bn,component:It,cellComponent:ln,colSpan:rn.length,isEmpty:!1},Xt)}return fe.createElement(fe.Fragment,null,vt,Ht)}var Mn=at(mn);function Gn(tt){var Kt=tt.columnKey,Mt=tt.onColumnResize,Gt=fe.useRef();return(0,Be.Z)(function(){Gt.current&&Mt(Kt,Gt.current.offsetWidth)},[]),fe.createElement(je.Z,{data:Kt},fe.createElement("td",{ref:Gt,style:{padding:0,border:0,height:0}},fe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var yn=se(29194);function qn(tt){var Kt=tt.prefixCls,Mt=tt.columnsKey,Gt=tt.onColumnResize,tn=fe.useRef(null);return fe.createElement("tr",{"aria-hidden":"true",className:"".concat(Kt,"-measure-row"),style:{height:0,fontSize:0},ref:tn},fe.createElement(je.Z.Collection,{onBatchResize:function(In){(0,yn.Z)(tn.current)&&In.forEach(function(Dn){var An=Dn.data,It=Dn.size;Gt(An,It.offsetWidth)})}},Mt.map(function(Cn){return fe.createElement(Gn,{key:Cn,columnKey:Cn,onColumnResize:Gt})})))}function $n(tt){var Kt=tt.data,Mt=tt.measureColumnWidth,Gt=Pe(Ee,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),tn=Gt.prefixCls,Cn=Gt.getComponent,In=Gt.onColumnResize,Dn=Gt.flattenColumns,An=Gt.getRowKey,It=Gt.expandedKeys,ln=Gt.childrenColumnName,fn=Gt.emptyNode,sn=qt(Kt,ln,It,An),bn=fe.useRef({renderWithProps:!1}),rn=Cn(["body","wrapper"],"tbody"),oe=Cn(["body","row"],"tr"),xe=Cn(["body","cell"],"td"),Ce=Cn(["body","cell"],"th"),Le;Kt.length?Le=sn.map(function(it,ot){var vt=it.record,Ht=it.indent,Xt=it.index,xt=An(vt,ot);return fe.createElement(Mn,{key:xt,rowKey:xt,record:vt,index:ot,renderIndex:Xt,rowComponent:oe,cellComponent:xe,scopeCellComponent:Ce,indent:Ht})}):Le=fe.createElement(Ut,{expanded:!0,className:"".concat(tn,"-placeholder"),prefixCls:tn,component:oe,cellComponent:xe,colSpan:Dn.length,isEmpty:!0},fn);var Me=he(Dn);return fe.createElement(gt.Provider,{value:bn.current},fe.createElement(rn,{className:"".concat(tn,"-tbody")},Mt&&fe.createElement(qn,{prefixCls:tn,columnsKey:Me,onColumnResize:In}),Le))}var dr=at($n),Mr=se(54451),ar=["columnType"];function Tr(tt){for(var Kt=tt.colWidths,Mt=tt.columns,Gt=tt.columCount,tn=Pe(Ee,["tableLayout"]),Cn=tn.tableLayout,In=[],Dn=Gt||Mt.length,An=!1,It=Dn-1;It>=0;It-=1){var ln=Kt[It],fn=Mt&&Mt[It],sn=void 0,bn=void 0;if(fn&&(sn=fn[Mr.v],Cn==="auto"&&(bn=fn.minWidth)),ln||bn||sn||An){var rn=sn||{},oe=rn.columnType,xe=(0,z.Z)(rn,ar);In.unshift(fe.createElement("col",(0,le.Z)({key:It,style:{width:ln,minWidth:bn}},xe))),An=!0}}return fe.createElement("colgroup",null,In)}var Pr=Tr,Hn=se(3300),Rr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Wr(tt,Kt){return(0,fe.useMemo)(function(){for(var Mt=[],Gt=0;Gt<Kt;Gt+=1){var tn=tt[Gt];if(tn!==void 0)Mt[Gt]=tn;else return null}return Mt},[tt.join("_"),Kt])}var Bt=fe.forwardRef(function(tt,Kt){var Mt=tt.className,Gt=tt.noData,tn=tt.columns,Cn=tt.flattenColumns,In=tt.colWidths,Dn=tt.columCount,An=tt.stickyOffsets,It=tt.direction,ln=tt.fixHeader,fn=tt.stickyTopOffset,sn=tt.stickyBottomOffset,bn=tt.stickyClassName,rn=tt.onScroll,oe=tt.maxContentScroll,xe=tt.children,Ce=(0,z.Z)(tt,Rr),Le=Pe(Ee,["prefixCls","scrollbarSize","isSticky","getComponent"]),Me=Le.prefixCls,it=Le.scrollbarSize,ot=Le.isSticky,vt=Le.getComponent,Ht=vt(["header","table"],"table"),Xt=ot&&!ln?0:it,xt=fe.useRef(null),an=fe.useCallback(function(xn){(0,nt.mH)(Kt,xn),(0,nt.mH)(xt,xn)},[]);fe.useEffect(function(){var xn;function pn(Bn){var Fn=Bn,Kn=Fn.currentTarget,mr=Fn.deltaX;mr&&(rn({currentTarget:Kn,scrollLeft:Kn.scrollLeft+mr}),Bn.preventDefault())}return(xn=xt.current)===null||xn===void 0||xn.addEventListener("wheel",pn,{passive:!1}),function(){var Bn;(Bn=xt.current)===null||Bn===void 0||Bn.removeEventListener("wheel",pn)}},[]);var gn=fe.useMemo(function(){return Cn.every(function(xn){return xn.width})},[Cn]),hn=Cn[Cn.length-1],on={fixed:hn?hn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Me,"-cell-scrollbar")}}},Jt=(0,fe.useMemo)(function(){return Xt?[].concat((0,Hn.Z)(tn),[on]):tn},[Xt,tn]),zt=(0,fe.useMemo)(function(){return Xt?[].concat((0,Hn.Z)(Cn),[on]):Cn},[Xt,Cn]),Qt=(0,fe.useMemo)(function(){var xn=An.right,pn=An.left;return(0,ke.Z)((0,ke.Z)({},An),{},{left:It==="rtl"?[].concat((0,Hn.Z)(pn.map(function(Bn){return Bn+Xt})),[0]):pn,right:It==="rtl"?xn:[].concat((0,Hn.Z)(xn.map(function(Bn){return Bn+Xt})),[0]),isSticky:ot})},[Xt,An,ot]),vn=Wr(In,Dn);return fe.createElement("div",{style:(0,ke.Z)({overflow:"hidden"},ot?{top:fn,bottom:sn}:{}),ref:an,className:_e()(Mt,(0,ze.Z)({},bn,!!bn))},fe.createElement(Ht,{style:{tableLayout:"fixed",visibility:Gt||vn?null:"hidden"}},(!Gt||!oe||gn)&&fe.createElement(Pr,{colWidths:vn?[].concat((0,Hn.Z)(vn),[Xt]):[],columCount:Dn+1,columns:zt}),xe((0,ke.Z)((0,ke.Z)({},Ce),{},{stickyOffsets:Qt,columns:Jt,flattenColumns:zt}))))}),jt=fe.memo(Bt),dn=function(Kt){var Mt=Kt.cells,Gt=Kt.stickyOffsets,tn=Kt.flattenColumns,Cn=Kt.rowComponent,In=Kt.cellComponent,Dn=Kt.onHeaderRow,An=Kt.index,It=Pe(Ee,["prefixCls","direction"]),ln=It.prefixCls,fn=It.direction,sn;Dn&&(sn=Dn(Mt.map(function(rn){return rn.column}),An));var bn=he(Mt.map(function(rn){return rn.column}));return fe.createElement(Cn,sn,Mt.map(function(rn,oe){var xe=rn.column,Ce=Ft(rn.colStart,rn.colEnd,tn,Gt,fn),Le;return xe&&xe.onHeaderCell&&(Le=rn.column.onHeaderCell(xe)),fe.createElement(Qe,(0,le.Z)({},rn,{scope:xe.title?rn.colSpan>1?"colgroup":"col":null,ellipsis:xe.ellipsis,align:xe.align,component:In,prefixCls:ln,key:bn[oe]},Ce,{additionalProps:Le,rowType:"header"}))}))},cn=dn;function Et(tt){var Kt=[];function Mt(In,Dn){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Kt[An]=Kt[An]||[];var It=Dn,ln=In.filter(Boolean).map(function(fn){var sn={key:fn.key,className:fn.className||"",children:fn.title,column:fn,colStart:It},bn=1,rn=fn.children;return rn&&rn.length>0&&(bn=Mt(rn,It,An+1).reduce(function(oe,xe){return oe+xe},0),sn.hasSubColumns=!0),"colSpan"in fn&&(bn=fn.colSpan),"rowSpan"in fn&&(sn.rowSpan=fn.rowSpan),sn.colSpan=bn,sn.colEnd=sn.colStart+bn-1,Kt[An].push(sn),It+=bn,bn});return ln}Mt(tt,0);for(var Gt=Kt.length,tn=function(Dn){Kt[Dn].forEach(function(An){!("rowSpan"in An)&&!An.hasSubColumns&&(An.rowSpan=Gt-Dn)})},Cn=0;Cn<Gt;Cn+=1)tn(Cn);return Kt}var en=function(Kt){var Mt=Kt.stickyOffsets,Gt=Kt.columns,tn=Kt.flattenColumns,Cn=Kt.onHeaderRow,In=Pe(Ee,["prefixCls","getComponent"]),Dn=In.prefixCls,An=In.getComponent,It=fe.useMemo(function(){return Et(Gt)},[Gt]),ln=An(["header","wrapper"],"thead"),fn=An(["header","row"],"tr"),sn=An(["header","cell"],"th");return fe.createElement(ln,{className:"".concat(Dn,"-thead")},It.map(function(bn,rn){var oe=fe.createElement(cn,{key:rn,flattenColumns:tn,cells:bn,stickyOffsets:Mt,rowComponent:fn,cellComponent:sn,onHeaderRow:Cn,index:rn});return oe}))},kn=at(en),On=se(97347);function zn(tt,Kt,Mt){var Gt=(0,Mr.g)(tt),tn=Gt.expandIcon,Cn=Gt.expandedRowKeys,In=Gt.defaultExpandedRowKeys,Dn=Gt.defaultExpandAllRows,An=Gt.expandedRowRender,It=Gt.onExpand,ln=Gt.onExpandedRowsChange,fn=Gt.childrenColumnName,sn=tn||Dt,bn=fn||"children",rn=fe.useMemo(function(){return An?"row":tt.expandable&&tt.internalHooks===re.R&&tt.expandable.__PARENT_RENDER_ICON__||Kt.some(function(ot){return ot&&(0,ge.Z)(ot)==="object"&&ot[bn]})?"nest":!1},[!!An,Kt]),oe=fe.useState(function(){return In||(Dn?ft(Kt,Mt,bn):[])}),xe=(0,Ne.Z)(oe,2),Ce=xe[0],Le=xe[1],Me=fe.useMemo(function(){return new Set(Cn||Ce||[])},[Cn,Ce]),it=fe.useCallback(function(ot){var vt=Mt(ot,Kt.indexOf(ot)),Ht,Xt=Me.has(vt);Xt?(Me.delete(vt),Ht=(0,Hn.Z)(Me)):Ht=[].concat((0,Hn.Z)(Me),[vt]),Le(Ht),It&&It(!Xt,ot),ln&&ln(Ht)},[Mt,Me,Kt,It,ln]);return[Gt,rn,Me,sn,bn,it]}function Qn(tt,Kt,Mt){var Gt=tt.map(function(tn,Cn){return Ft(Cn,Cn,tt,Kt,Mt)});return(0,Re.Z)(function(){return Gt},[Gt],function(tn,Cn){return!(0,Se.Z)(tn,Cn)})}function fr(tt){var Kt=(0,fe.useRef)(tt),Mt=(0,fe.useState)({}),Gt=(0,Ne.Z)(Mt,2),tn=Gt[1],Cn=(0,fe.useRef)(null),In=(0,fe.useRef)([]);function Dn(An){In.current.push(An);var It=Promise.resolve();Cn.current=It,It.then(function(){if(Cn.current===It){var ln=In.current,fn=Kt.current;In.current=[],ln.forEach(function(sn){Kt.current=sn(Kt.current)}),Cn.current=null,fn!==Kt.current&&tn({})}})}return(0,fe.useEffect)(function(){return function(){Cn.current=null}},[]),[Kt.current,Dn]}function hr(tt){var Kt=(0,fe.useRef)(tt||null),Mt=(0,fe.useRef)();function Gt(){window.clearTimeout(Mt.current)}function tn(In){Kt.current=In,Gt(),Mt.current=window.setTimeout(function(){Kt.current=null,Mt.current=void 0},100)}function Cn(){return Kt.current}return(0,fe.useEffect)(function(){return Gt},[]),[tn,Cn]}function pr(){var tt=fe.useState(-1),Kt=(0,Ne.Z)(tt,2),Mt=Kt[0],Gt=Kt[1],tn=fe.useState(-1),Cn=(0,Ne.Z)(tn,2),In=Cn[0],Dn=Cn[1],An=fe.useCallback(function(It,ln){Gt(It),Dn(ln)},[]);return[Mt,In,An]}var Ar=se(47273),Ln=(0,Ar.Z)()?window:null;function _t(tt,Kt){var Mt=(0,ge.Z)(tt)==="object"?tt:{},Gt=Mt.offsetHeader,tn=Gt===void 0?0:Gt,Cn=Mt.offsetSummary,In=Cn===void 0?0:Cn,Dn=Mt.offsetScroll,An=Dn===void 0?0:Dn,It=Mt.getContainer,ln=It===void 0?function(){return Ln}:It,fn=ln()||Ln,sn=!!tt;return fe.useMemo(function(){return{isSticky:sn,stickyClassName:sn?"".concat(Kt,"-sticky-holder"):"",offsetHeader:tn,offsetSummary:In,offsetScroll:An,container:fn}},[sn,An,tn,In,Kt,fn])}function Xn(tt,Kt,Mt){var Gt=(0,fe.useMemo)(function(){var tn=Kt.length,Cn=function(It,ln,fn){for(var sn=[],bn=0,rn=It;rn!==ln;rn+=fn)sn.push(bn),Kt[rn].fixed&&(bn+=tt[rn]||0);return sn},In=Cn(0,tn,1),Dn=Cn(tn-1,-1,-1).reverse();return Mt==="rtl"?{left:Dn,right:In}:{left:In,right:Dn}},[tt,Kt,Mt]);return Gt}var Nr=Xn;function Hr(tt){var Kt=tt.className,Mt=tt.children;return fe.createElement("div",{className:Kt},Mt)}var ct=Hr,Ct=se(8224),Tn=se(16089),En=se(76846);function Pt(tt){var Kt=(0,En.bn)(tt),Mt=Kt.getBoundingClientRect(),Gt=document.documentElement;return{left:Mt.left+(window.pageXOffset||Gt.scrollLeft)-(Gt.clientLeft||document.body.clientLeft||0),top:Mt.top+(window.pageYOffset||Gt.scrollTop)-(Gt.clientTop||document.body.clientTop||0)}}var Sn=function(Kt,Mt){var Gt,tn,Cn=Kt.scrollBodyRef,In=Kt.onScroll,Dn=Kt.offsetScroll,An=Kt.container,It=Kt.direction,ln=Pe(Ee,"prefixCls"),fn=((Gt=Cn.current)===null||Gt===void 0?void 0:Gt.scrollWidth)||0,sn=((tn=Cn.current)===null||tn===void 0?void 0:tn.clientWidth)||0,bn=fn&&sn*(sn/fn),rn=fe.useRef(),oe=fr({scrollLeft:0,isHiddenScrollBar:!0}),xe=(0,Ne.Z)(oe,2),Ce=xe[0],Le=xe[1],Me=fe.useRef({delta:0,x:0}),it=fe.useState(!1),ot=(0,Ne.Z)(it,2),vt=ot[0],Ht=ot[1],Xt=fe.useRef(null);fe.useEffect(function(){return function(){Tn.Z.cancel(Xt.current)}},[]);var xt=function(){Ht(!1)},an=function(zt){zt.persist(),Me.current.delta=zt.pageX-Ce.scrollLeft,Me.current.x=0,Ht(!0),zt.preventDefault()},gn=function(zt){var Qt,vn=zt||((Qt=window)===null||Qt===void 0?void 0:Qt.event),xn=vn.buttons;if(!vt||xn===0){vt&&Ht(!1);return}var pn=Me.current.x+zt.pageX-Me.current.x-Me.current.delta,Bn=It==="rtl";pn=Math.max(Bn?bn-sn:0,Math.min(Bn?0:sn-bn,pn));var Fn=!Bn||Math.abs(pn)+Math.abs(bn)<sn;Fn&&(In({scrollLeft:pn/sn*(fn+2)}),Me.current.x=zt.pageX)},hn=function(){Tn.Z.cancel(Xt.current),Xt.current=(0,Tn.Z)(function(){if(Cn.current){var zt=Pt(Cn.current).top,Qt=zt+Cn.current.offsetHeight,vn=An===window?document.documentElement.scrollTop+window.innerHeight:Pt(An).top+An.clientHeight;Qt-(0,lt.Z)()<=vn||zt>=vn-Dn?Le(function(xn){return(0,ke.Z)((0,ke.Z)({},xn),{},{isHiddenScrollBar:!0})}):Le(function(xn){return(0,ke.Z)((0,ke.Z)({},xn),{},{isHiddenScrollBar:!1})})}})},on=function(zt){Le(function(Qt){return(0,ke.Z)((0,ke.Z)({},Qt),{},{scrollLeft:zt/fn*sn||0})})};return fe.useImperativeHandle(Mt,function(){return{setScrollLeft:on,checkScrollBarVisible:hn}}),fe.useEffect(function(){var Jt=(0,Ct.Z)(document.body,"mouseup",xt,!1),zt=(0,Ct.Z)(document.body,"mousemove",gn,!1);return hn(),function(){Jt.remove(),zt.remove()}},[bn,vt]),fe.useEffect(function(){if(Cn.current){for(var Jt=[],zt=(0,En.bn)(Cn.current);zt;)Jt.push(zt),zt=zt.parentElement;return Jt.forEach(function(Qt){return Qt.addEventListener("scroll",hn,!1)}),window.addEventListener("resize",hn,!1),window.addEventListener("scroll",hn,!1),An.addEventListener("scroll",hn,!1),function(){Jt.forEach(function(Qt){return Qt.removeEventListener("scroll",hn)}),window.removeEventListener("resize",hn),window.removeEventListener("scroll",hn),An.removeEventListener("scroll",hn)}}},[An]),fe.useEffect(function(){Ce.isHiddenScrollBar||Le(function(Jt){var zt=Cn.current;return zt?(0,ke.Z)((0,ke.Z)({},Jt),{},{scrollLeft:zt.scrollLeft/zt.scrollWidth*zt.clientWidth}):Jt})},[Ce.isHiddenScrollBar]),fn<=sn||!bn||Ce.isHiddenScrollBar?null:fe.createElement("div",{style:{height:(0,lt.Z)(),width:sn,bottom:Dn},className:"".concat(ln,"-sticky-scroll")},fe.createElement("div",{onMouseDown:an,ref:rn,className:_e()("".concat(ln,"-sticky-scroll-bar"),(0,ze.Z)({},"".concat(ln,"-sticky-scroll-bar-active"),vt)),style:{width:"".concat(bn,"px"),transform:"translate3d(".concat(Ce.scrollLeft,"px, 0, 0)")}}))},Wn=fe.forwardRef(Sn);function Vn(tt){return null}var er=Vn;function Un(tt){return null}var tr=Un,kt="rc-table",Vr=[],ir={};function Sr(){return"No Data"}function Ir(tt,Kt){var Mt=(0,ke.Z)({rowKey:"key",prefixCls:kt,emptyText:Sr},tt),Gt=Mt.prefixCls,tn=Mt.className,Cn=Mt.rowClassName,In=Mt.style,Dn=Mt.data,An=Mt.rowKey,It=Mt.scroll,ln=Mt.tableLayout,fn=Mt.direction,sn=Mt.title,bn=Mt.footer,rn=Mt.summary,oe=Mt.caption,xe=Mt.id,Ce=Mt.showHeader,Le=Mt.components,Me=Mt.emptyText,it=Mt.onRow,ot=Mt.onHeaderRow,vt=Mt.onScroll,Ht=Mt.internalHooks,Xt=Mt.transformColumns,xt=Mt.internalRefs,an=Mt.tailor,gn=Mt.getContainerWidth,hn=Mt.sticky,on=Mt.rowHoverable,Jt=on===void 0?!0:on,zt=Dn||Vr,Qt=!!zt.length,vn=Ht===re.R,xn=fe.useCallback(function(vi,pi){return(0,Je.Z)(Le,vi)||pi},[Le]),pn=fe.useMemo(function(){return typeof An=="function"?An:function(vi){var pi=vi&&vi[An];return pi}},[An]),Bn=xn(["body"]),Fn=pr(),Kn=(0,Ne.Z)(Fn,3),mr=Kn[0],br=Kn[1],Dr=Kn[2],sr=zn(Mt,zt,pn),vr=(0,Ne.Z)(sr,6),nr=vr[0],xr=vr[1],or=vr[2],gr=vr[3],Cr=vr[4],Zn=vr[5],_n=It==null?void 0:It.x,Jn=fe.useState(0),Rn=(0,Ne.Z)(Jn,2),Nn=Rn[0],rr=Rn[1],wr=(0,On.Z)((0,ke.Z)((0,ke.Z)((0,ke.Z)({},Mt),nr),{},{expandable:!!nr.expandedRowRender,columnTitle:nr.columnTitle,expandedKeys:or,getRowKey:pn,onTriggerExpand:Zn,expandIcon:gr,expandIconColumnIndex:nr.expandIconColumnIndex,direction:fn,scrollWidth:vn&&an&&typeof _n=="number"?_n:null,clientWidth:Nn}),vn?Xt:null),Or=(0,Ne.Z)(wr,4),Kr=Or[0],ur=Or[1],Xr=Or[2],Yr=Or[3],zr=Xr!=null?Xr:_n,ii=fe.useMemo(function(){return{columns:Kr,flattenColumns:ur}},[Kr,ur]),ni=fe.useRef(),fi=fe.useRef(),Qr=fe.useRef(),Zi=fe.useRef();fe.useImperativeHandle(Kt,function(){return{nativeElement:ni.current,scrollTo:function(pi){var oa;if(Qr.current instanceof HTMLElement){var ha=pi.index,da=pi.top,Ya=pi.key;if(Lt(da)){var za;(za=Qr.current)===null||za===void 0||za.scrollTo({top:da})}else{var di,qr=Ya!=null?Ya:pn(zt[ha]);(di=Qr.current.querySelector('[data-row-key="'.concat(qr,'"]')))===null||di===void 0||di.scrollIntoView()}}else(oa=Qr.current)!==null&&oa!==void 0&&oa.scrollTo&&Qr.current.scrollTo(pi)}}});var oi=fe.useRef(),Hi=fe.useState(!1),ci=(0,Ne.Z)(Hi,2),ki=ci[0],zi=ci[1],Bi=fe.useState(!1),Ci=(0,Ne.Z)(Bi,2),Gi=Ci[0],Vi=Ci[1],_i=fe.useState(new Map),wi=(0,Ne.Z)(_i,2),ra=wi[0],Ii=wi[1],Di=he(ur),Li=Di.map(function(vi){return ra.get(vi)}),qi=fe.useMemo(function(){return Li},[Li.join("_")]),ai=Nr(qi,ur,fn),$i=It&&qe(It.y),Lr=It&&qe(zr)||!!nr.fixed,jn=Lr&&ur.some(function(vi){var pi=vi.fixed;return pi}),Er=fe.useRef(),lr=_t(hn,Gt),yr=lr.isSticky,hi=lr.offsetHeader,xi=lr.offsetSummary,ji=lr.offsetScroll,ia=lr.stickyClassName,aa=lr.container,Yi=fe.useMemo(function(){return rn==null?void 0:rn(zt)},[rn,zt]),Xi=($i||yr)&&fe.isValidElement(Yi)&&Yi.type===ue&&Yi.props.fixed,la,ta,La;$i&&(ta={overflowY:Qt?"scroll":"auto",maxHeight:It.y}),Lr&&(la={overflowX:"auto"},$i||(ta={overflowY:"hidden"}),La={width:zr===!0?"auto":zr,minWidth:"100%"});var Qa=fe.useCallback(function(vi,pi){Ii(function(oa){if(oa.get(vi)!==pi){var ha=new Map(oa);return ha.set(vi,pi),ha}return oa})},[]),Na=hr(null),Fa=(0,Ne.Z)(Na,2),ka=Fa[0],ua=Fa[1];function Ca(vi,pi){pi&&(typeof pi=="function"?pi(vi):pi.scrollLeft!==vi&&(pi.scrollLeft=vi,pi.scrollLeft!==vi&&setTimeout(function(){pi.scrollLeft=vi},0)))}var xa=(0,Te.Z)(function(vi){var pi=vi.currentTarget,oa=vi.scrollLeft,ha=fn==="rtl",da=typeof oa=="number"?oa:pi.scrollLeft,Ya=pi||ir;if(!ua()||ua()===Ya){var za;ka(Ya),Ca(da,fi.current),Ca(da,Qr.current),Ca(da,oi.current),Ca(da,(za=Er.current)===null||za===void 0?void 0:za.setScrollLeft)}var di=pi||fi.current;if(di){var qr=vn&&an&&typeof zr=="number"?zr:di.scrollWidth,sa=di.clientWidth;if(qr===sa){zi(!1),Vi(!1);return}ha?(zi(-da<qr-sa),Vi(-da>0)):(zi(da>0),Vi(da<qr-sa))}}),ao=(0,Te.Z)(function(vi){xa(vi),vt==null||vt(vi)}),bo=function(){if(Lr&&Qr.current){var pi;xa({currentTarget:(0,En.bn)(Qr.current),scrollLeft:(pi=Qr.current)===null||pi===void 0?void 0:pi.scrollLeft})}else zi(!1),Vi(!1)},vo=function(pi){var oa,ha=pi.width;(oa=Er.current)===null||oa===void 0||oa.checkScrollBarVisible();var da=ni.current?ni.current.offsetWidth:ha;vn&&gn&&ni.current&&(da=gn(ni.current,da)||da),da!==Nn&&(bo(),rr(da))},Va=fe.useRef(!1);fe.useEffect(function(){Va.current&&bo()},[Lr,Dn,Kr.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,Be.Z)(function(){(!an||!vn)&&(Qr.current instanceof Element?lo((0,lt.o)(Qr.current).width):lo((0,lt.o)(Zi.current).width)),mo((0,et.G)("position","sticky"))},[]),fe.useEffect(function(){vn&&xt&&(xt.body.current=Qr.current)});var Ha=fe.useCallback(function(vi){return fe.createElement(fe.Fragment,null,fe.createElement(kn,vi),Xi==="top"&&fe.createElement(De,vi,Yi))},[Xi,Yi]),uo=fe.useCallback(function(vi){return fe.createElement(De,vi,Yi)},[Yi]),eo=xn(["table"],"table"),Ea=fe.useMemo(function(){return ln||(jn?zr==="max-content"?"auto":"fixed":$i||yr||ur.some(function(vi){var pi=vi.ellipsis;return pi})?"fixed":"auto")},[$i,jn,ur,ln,yr]),Ja,_a={colWidths:qi,columCount:ur.length,stickyOffsets:ai,onHeaderRow:ot,fixHeader:$i,scroll:It},co=fe.useMemo(function(){return Qt?null:typeof Me=="function"?Me():Me},[Qt,Me]),to=fe.createElement(dr,{data:zt,measureColumnWidth:$i||Lr||yr}),fo=fe.createElement(Pr,{colWidths:ur.map(function(vi){var pi=vi.width;return pi}),columns:ur}),Ia=oe!=null?fe.createElement("caption",{className:"".concat(Gt,"-caption")},oe):void 0,no=(0,mt.Z)(Mt,{data:!0}),Eo=(0,mt.Z)(Mt,{aria:!0});if($i||yr){var qa;typeof Bn=="function"?(qa=Bn(zt,{scrollbarSize:wa,ref:Qr,onScroll:xa}),_a.colWidths=ur.map(function(vi,pi){var oa=vi.width,ha=pi===ur.length-1?oa-wa:oa;return typeof ha=="number"&&!Number.isNaN(ha)?ha:0})):qa=fe.createElement("div",{style:(0,ke.Z)((0,ke.Z)({},la),ta),onScroll:ao,ref:Qr,className:_e()("".concat(Gt,"-body"))},fe.createElement(eo,(0,le.Z)({style:(0,ke.Z)((0,ke.Z)({},La),{},{tableLayout:Ea})},Eo),Ia,fo,to,!Xi&&Yi&&fe.createElement(De,{stickyOffsets:ai,flattenColumns:ur},Yi)));var go=(0,ke.Z)((0,ke.Z)((0,ke.Z)({noData:!zt.length,maxContentScroll:Lr&&zr==="max-content"},_a),ii),{},{direction:fn,stickyClassName:ia,onScroll:xa});Ja=fe.createElement(fe.Fragment,null,Ce!==!1&&fe.createElement(jt,(0,le.Z)({},go,{stickyTopOffset:hi,className:"".concat(Gt,"-header"),ref:fi}),Ha),qa,Xi&&Xi!=="top"&&fe.createElement(jt,(0,le.Z)({},go,{stickyBottomOffset:xi,className:"".concat(Gt,"-summary"),ref:oi}),uo),yr&&Qr.current&&Qr.current instanceof Element&&fe.createElement(Wn,{ref:Er,offsetScroll:ji,scrollBodyRef:Qr,onScroll:xa,container:aa,direction:fn}))}else Ja=fe.createElement("div",{style:(0,ke.Z)((0,ke.Z)({},la),ta),className:_e()("".concat(Gt,"-content")),onScroll:xa,ref:Qr},fe.createElement(eo,(0,le.Z)({style:(0,ke.Z)((0,ke.Z)({},La),{},{tableLayout:Ea})},Eo),Ia,fo,Ce!==!1&&fe.createElement(kn,(0,le.Z)({},_a,ii)),to,Yi&&fe.createElement(De,{stickyOffsets:ai,flattenColumns:ur},Yi)));var Ua=fe.createElement("div",(0,le.Z)({className:_e()(Gt,tn,(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(Gt,"-rtl"),fn==="rtl"),"".concat(Gt,"-ping-left"),ki),"".concat(Gt,"-ping-right"),Gi),"".concat(Gt,"-layout-fixed"),ln==="fixed"),"".concat(Gt,"-fixed-header"),$i),"".concat(Gt,"-fixed-column"),jn),"".concat(Gt,"-fixed-column-gapped"),jn&&Yr),"".concat(Gt,"-scroll-horizontal"),Lr),"".concat(Gt,"-has-fix-left"),ur[0]&&ur[0].fixed),"".concat(Gt,"-has-fix-right"),ur[ur.length-1]&&ur[ur.length-1].fixed==="right")),style:In,id:xe,ref:ni},no),sn&&fe.createElement(ct,{className:"".concat(Gt,"-title")},sn(zt)),fe.createElement("div",{ref:Zi,className:"".concat(Gt,"-container")},Ja),bn&&fe.createElement(ct,{className:"".concat(Gt,"-footer")},bn(zt)));Lr&&(Ua=fe.createElement(je.Z,{onResize:vo},Ua));var yo=Qn(ur,ai,fn),ja=fe.useMemo(function(){return{scrollX:zr,prefixCls:Gt,getComponent:xn,scrollbarSize:wa,direction:fn,fixedInfoList:yo,isSticky:yr,supportSticky:so,componentWidth:Nn,fixHeader:$i,fixColumn:jn,horizonScroll:Lr,tableLayout:Ea,rowClassName:Cn,expandedRowClassName:nr.expandedRowClassName,expandIcon:gr,expandableType:xr,expandRowByClick:nr.expandRowByClick,expandedRowRender:nr.expandedRowRender,onTriggerExpand:Zn,expandIconColumnIndex:nr.expandIconColumnIndex,indentSize:nr.indentSize,allColumnsFixedLeft:ur.every(function(vi){return vi.fixed==="left"}),emptyNode:co,columns:Kr,flattenColumns:ur,onColumnResize:Qa,hoverStartRow:mr,hoverEndRow:br,onHover:Dr,rowExpandable:nr.rowExpandable,onRow:it,getRowKey:pn,expandedKeys:or,childrenColumnName:Cr,rowHoverable:Jt}},[zr,Gt,xn,wa,fn,yo,yr,so,Nn,$i,jn,Lr,Ea,Cn,nr.expandedRowClassName,gr,xr,nr.expandRowByClick,nr.expandedRowRender,Zn,nr.expandIconColumnIndex,nr.indentSize,co,Kr,ur,Qa,mr,br,Dr,nr.rowExpandable,it,pn,or,Cr,Jt]);return fe.createElement(Ee.Provider,{value:ja},Ua)}var Ur=fe.forwardRef(Ir);function Jr(tt){return ut(Ur,tt)}var Ai=Jr();Ai.EXPAND_COLUMN=re.w,Ai.INTERNAL_HOOKS=re.R,Ai.Column=er,Ai.ColumnGroup=tr,Ai.Summary=St;var ui=Ai,ei=se(6790),Si=be(null),ti=be(null);function Fi(tt,Kt,Mt){var Gt=Kt||1;return Mt[tt+Gt]-(Mt[tt]||0)}function Ki(tt){var Kt=tt.rowInfo,Mt=tt.column,Gt=tt.colIndex,tn=tt.indent,Cn=tt.index,In=tt.component,Dn=tt.renderIndex,An=tt.record,It=tt.style,ln=tt.className,fn=tt.inverse,sn=tt.getHeight,bn=Mt.render,rn=Mt.dataIndex,oe=Mt.className,xe=Mt.width,Ce=Pe(ti,["columnsOffset"]),Le=Ce.columnsOffset,Me=Yt(Kt,Mt,Gt,tn,Cn),it=Me.key,ot=Me.fixedInfo,vt=Me.appendCellNode,Ht=Me.additionalCellProps,Xt=Ht.style,xt=Ht.colSpan,an=xt===void 0?1:xt,gn=Ht.rowSpan,hn=gn===void 0?1:gn,on=Gt-1,Jt=Fi(on,an,Le),zt=an>1?xe-Jt:0,Qt=(0,ke.Z)((0,ke.Z)((0,ke.Z)({},Xt),It),{},{flex:"0 0 ".concat(Jt,"px"),width:"".concat(Jt,"px"),marginRight:zt,pointerEvents:"auto"}),vn=fe.useMemo(function(){return fn?hn<=1:an===0||hn===0||hn>1},[hn,an,fn]);vn?Qt.visibility="hidden":fn&&(Qt.height=sn==null?void 0:sn(hn));var xn=vn?function(){return null}:bn,pn={};return(hn===0||an===0)&&(pn.rowSpan=1,pn.colSpan=1),fe.createElement(Qe,(0,le.Z)({className:_e()(oe,ln),ellipsis:Mt.ellipsis,align:Mt.align,scope:Mt.rowScope,component:In,prefixCls:Kt.prefixCls,key:it,record:An,index:Cn,renderIndex:Dn,dataIndex:rn,render:xn,shouldCellUpdate:Mt.shouldCellUpdate},ot,{appendNode:vt,additionalProps:(0,ke.Z)((0,ke.Z)({},Ht),{},{style:Qt},pn)}))}var Oi=Ki,Ti=["data","index","className","rowKey","style","extra","getHeight"],Wi=fe.forwardRef(function(tt,Kt){var Mt=tt.data,Gt=tt.index,tn=tt.className,Cn=tt.rowKey,In=tt.style,Dn=tt.extra,An=tt.getHeight,It=(0,z.Z)(tt,Ti),ln=Mt.record,fn=Mt.indent,sn=Mt.index,bn=Pe(Ee,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),rn=bn.scrollX,oe=bn.flattenColumns,xe=bn.prefixCls,Ce=bn.fixColumn,Le=bn.componentWidth,Me=Pe(Si,["getComponent"]),it=Me.getComponent,ot=Wt(ln,Cn,Gt,fn),vt=it(["body","row"],"div"),Ht=it(["body","cell"],"div"),Xt=ot.rowSupportExpand,xt=ot.expanded,an=ot.rowProps,gn=ot.expandedRowRender,hn=ot.expandedRowClassName,on;if(Xt&&xt){var Jt=gn(ln,Gt,fn+1,xt),zt=Zt(hn,ln,Gt,fn),Qt={};Ce&&(Qt={style:(0,ze.Z)({},"--virtual-width","".concat(Le,"px"))});var vn="".concat(xe,"-expanded-row-cell");on=fe.createElement(vt,{className:_e()("".concat(xe,"-expanded-row"),"".concat(xe,"-expanded-row-level-").concat(fn+1),zt)},fe.createElement(Qe,{component:Ht,prefixCls:xe,className:_e()(vn,(0,ze.Z)({},"".concat(vn,"-fixed"),Ce)),additionalProps:Qt},Jt))}var xn=(0,ke.Z)((0,ke.Z)({},In),{},{width:rn});Dn&&(xn.position="absolute",xn.pointerEvents="none");var pn=fe.createElement(vt,(0,le.Z)({},an,It,{"data-row-key":Cn,ref:Xt?null:Kt,className:_e()(tn,"".concat(xe,"-row"),an==null?void 0:an.className,(0,ze.Z)({},"".concat(xe,"-row-extra"),Dn)),style:(0,ke.Z)((0,ke.Z)({},xn),an==null?void 0:an.style)}),oe.map(function(Bn,Fn){return fe.createElement(Oi,{key:Fn,component:Ht,rowInfo:ot,column:Bn,colIndex:Fn,indent:fn,index:Gt,renderIndex:sn,record:ln,inverse:Dn,getHeight:An})}));return Xt?fe.createElement("div",{ref:Kt},pn,on):pn}),Ni=at(Wi),gi=Ni,Ui=fe.forwardRef(function(tt,Kt){var Mt=tt.data,Gt=tt.onScroll,tn=Pe(Ee,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Cn=tn.flattenColumns,In=tn.onColumnResize,Dn=tn.getRowKey,An=tn.expandedKeys,It=tn.prefixCls,ln=tn.childrenColumnName,fn=tn.scrollX,sn=tn.direction,bn=Pe(Si),rn=bn.sticky,oe=bn.scrollY,xe=bn.listItemHeight,Ce=bn.getComponent,Le=bn.onScroll,Me=fe.useRef(),it=qt(Mt,ln,An,Dn),ot=fe.useMemo(function(){var on=0;return Cn.map(function(Jt){var zt=Jt.width,Qt=Jt.key;return on+=zt,[Qt,zt,on]})},[Cn]),vt=fe.useMemo(function(){return ot.map(function(on){return on[2]})},[ot]);fe.useEffect(function(){ot.forEach(function(on){var Jt=(0,Ne.Z)(on,2),zt=Jt[0],Qt=Jt[1];In(zt,Qt)})},[ot]),fe.useImperativeHandle(Kt,function(){var on,Jt={scrollTo:function(Qt){var vn;(vn=Me.current)===null||vn===void 0||vn.scrollTo(Qt)},nativeElement:(on=Me.current)===null||on===void 0?void 0:on.nativeElement};return Object.defineProperty(Jt,"scrollLeft",{get:function(){var Qt;return((Qt=Me.current)===null||Qt===void 0?void 0:Qt.getScrollInfo().x)||0},set:function(Qt){var vn;(vn=Me.current)===null||vn===void 0||vn.scrollTo({left:Qt})}}),Jt});var Ht=function(Jt,zt){var Qt,vn=(Qt=it[zt])===null||Qt===void 0?void 0:Qt.record,xn=Jt.onCell;if(xn){var pn,Bn=xn(vn,zt);return(pn=Bn==null?void 0:Bn.rowSpan)!==null&&pn!==void 0?pn:1}return 1},Xt=function(Jt){var zt=Jt.start,Qt=Jt.end,vn=Jt.getSize,xn=Jt.offsetY;if(Qt<0)return null;for(var pn=Cn.filter(function(gr){return Ht(gr,zt)===0}),Bn=zt,Fn=function(Cr){if(pn=pn.filter(function(Zn){return Ht(Zn,Cr)===0}),!pn.length)return Bn=Cr,1},Kn=zt;Kn>=0&&!Fn(Kn);Kn-=1);for(var mr=Cn.filter(function(gr){return Ht(gr,Qt)!==1}),br=Qt,Dr=function(Cr){if(mr=mr.filter(function(Zn){return Ht(Zn,Cr)!==1}),!mr.length)return br=Math.max(Cr-1,Qt),1},sr=Qt;sr<it.length&&!Dr(sr);sr+=1);for(var vr=[],nr=function(Cr){var Zn=it[Cr];if(!Zn)return 1;Cn.some(function(_n){return Ht(_n,Cr)>1})&&vr.push(Cr)},xr=Bn;xr<=br;xr+=1)nr(xr);var or=vr.map(function(gr){var Cr=it[gr],Zn=Dn(Cr.record,gr),_n=function(Nn){var rr=gr+Nn-1,wr=Dn(it[rr].record,rr),Or=vn(Zn,wr);return Or.bottom-Or.top},Jn=vn(Zn);return fe.createElement(gi,{key:gr,data:Cr,rowKey:Zn,index:gr,style:{top:-xn+Jn.top},extra:!0,getHeight:_n})});return or},xt=fe.useMemo(function(){return{columnsOffset:vt}},[vt]),an="".concat(It,"-tbody"),gn=Ce(["body","wrapper"]),hn={};return rn&&(hn.position="sticky",hn.bottom=0,(0,ge.Z)(rn)==="object"&&rn.offsetScroll&&(hn.bottom=rn.offsetScroll)),fe.createElement(ti.Provider,{value:xt},fe.createElement(ei.Z,{fullHeight:!1,ref:Me,prefixCls:"".concat(an,"-virtual"),styles:{horizontalScrollBar:hn},className:an,height:oe,itemHeight:xe||24,data:it,itemKey:function(Jt){return Dn(Jt.record)},component:gn,scrollWidth:fn,direction:sn,onVirtualScroll:function(Jt){var zt,Qt=Jt.x;Gt({currentTarget:(zt=Me.current)===null||zt===void 0?void 0:zt.nativeElement,scrollLeft:Qt})},onScroll:Le,extraRender:Xt},function(on,Jt,zt){var Qt=Dn(on.record,Jt);return fe.createElement(gi,{data:on,rowKey:Qt,index:Jt,style:zt.style})}))}),Pi=at(Ui),kr=Pi,jr=function(Kt,Mt){var Gt=Mt.ref,tn=Mt.onScroll;return fe.createElement(kr,{ref:Gt,data:Kt,onScroll:tn})};function ri(tt,Kt){var Mt=tt.data,Gt=tt.columns,tn=tt.scroll,Cn=tt.sticky,In=tt.prefixCls,Dn=In===void 0?kt:In,An=tt.className,It=tt.listItemHeight,ln=tt.components,fn=tt.onScroll,sn=tn||{},bn=sn.x,rn=sn.y;typeof bn!="number"&&(bn=1),typeof rn!="number"&&(rn=500);var oe=(0,Ot.zX)(function(Le,Me){return(0,Je.Z)(ln,Le)||Me}),xe=(0,Ot.zX)(fn),Ce=fe.useMemo(function(){return{sticky:Cn,scrollY:rn,listItemHeight:It,getComponent:oe,onScroll:xe}},[Cn,rn,It,oe,xe]);return fe.createElement(Si.Provider,{value:Ce},fe.createElement(ui,(0,le.Z)({},tt,{className:_e()(An,"".concat(Dn,"-virtual")),scroll:(0,ke.Z)((0,ke.Z)({},tn),{},{x:bn}),components:(0,ke.Z)((0,ke.Z)({},ln),{},{body:Mt!=null&&Mt.length?jr:void 0}),columns:Gt,internalHooks:re.R,tailor:!0,ref:Kt})))}var bi=fe.forwardRef(ri);function yi(tt){return ut(bi,tt)}var Ei=yi(),Ji=null},54451:function(wn,un,se){"use strict";se.d(un,{g:function(){return fe},v:function(){return Se}});var re=se(27247),Ne=se(43079),Te=se(48736),Be=["expandable"],Se="RC_TABLE_INTERNAL_COL_DEFINE";function fe(Oe){var be=Oe.expandable,Pe=(0,Ne.Z)(Oe,Be),le;return"expandable"in Oe?le=(0,re.Z)((0,re.Z)({},Pe),be):le=Pe,le.showExpandColumn===!1&&(le.expandIconColumnIndex=-1),le}},22711:function(wn,un,se){"use strict";se.r(un),se.d(un,{ResizableTextArea:function(){return Ze},default:function(){return Nt}});var re=se(32855),Ne=se(74430),Te=se(27247),Be=se(3300),Se=se(11913),fe=se(43079),Oe=se(92310),be=se.n(Oe),Pe=se(36901),le=se(66003),nt=se(30292),ye=se(18929),Ke=se(59301),Ie=se(34666),Ye=se(29301),He=se(34280),Ve=se(16089),ut=`
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={},Fe;function Ee(ht){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At=ht.getAttribute("id")||ht.getAttribute("data-reactid")||ht.getAttribute("name");if(gt&&rt[At])return rt[At];var we=window.getComputedStyle(ht),he=we.getPropertyValue("box-sizing")||we.getPropertyValue("-moz-box-sizing")||we.getPropertyValue("-webkit-box-sizing"),qe=parseFloat(we.getPropertyValue("padding-bottom"))+parseFloat(we.getPropertyValue("padding-top")),Lt=parseFloat(we.getPropertyValue("border-bottom-width"))+parseFloat(we.getPropertyValue("border-top-width")),Tt=at.map(function(bt){return"".concat(bt,":").concat(we.getPropertyValue(bt))}).join(";"),Xe={sizingStyle:Tt,paddingSize:qe,borderSize:Lt,boxSizing:he};return gt&&At&&(rt[At]=Xe),Xe}function Ge(ht){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Fe||(Fe=document.createElement("textarea"),Fe.setAttribute("tab-index","-1"),Fe.setAttribute("aria-hidden","true"),Fe.setAttribute("name","hiddenTextarea"),document.body.appendChild(Fe)),ht.getAttribute("wrap")?Fe.setAttribute("wrap",ht.getAttribute("wrap")):Fe.removeAttribute("wrap");var he=Ee(ht,gt),qe=he.paddingSize,Lt=he.borderSize,Tt=he.boxSizing,Xe=he.sizingStyle;Fe.setAttribute("style","".concat(Xe,";").concat(ut)),Fe.value=ht.value||ht.placeholder||"";var bt=void 0,$e=void 0,Ot,We=Fe.scrollHeight;if(Tt==="border-box"?We+=Lt:Tt==="content-box"&&(We-=qe),At!==null||we!==null){Fe.value=" ";var yt=Fe.scrollHeight-qe;At!==null&&(bt=yt*At,Tt==="border-box"&&(bt=bt+qe+Lt),We=Math.max(bt,We)),we!==null&&($e=yt*we,Tt==="border-box"&&($e=$e+qe+Lt),Ot=We>$e?"":"hidden",We=Math.min($e,We))}var Qe={height:We,overflowY:Ot,resize:"none"};return bt&&(Qe.minHeight=bt),$e&&(Qe.maxHeight=$e),Qe}var Ue=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],dt=0,ge=1,ke=2,ze=Ke.forwardRef(function(ht,gt){var At=ht,we=At.prefixCls,he=At.defaultValue,qe=At.value,Lt=At.autoSize,Tt=At.onResize,Xe=At.className,bt=At.style,$e=At.disabled,Ot=At.onChange,We=At.onInternalAutoSize,yt=(0,fe.Z)(At,Ue),Qe=(0,ye.Z)(he,{value:qe,postState:function(Mn){return Mn!=null?Mn:""}}),Ft=(0,Se.Z)(Qe,2),wt=Ft[0],ce=Ft[1],ie=function(Mn){ce(Mn.target.value),Ot==null||Ot(Mn)},z=Ke.useRef();Ke.useImperativeHandle(gt,function(){return{textArea:z.current}});var ee=Ke.useMemo(function(){return Lt&&(0,Ie.Z)(Lt)==="object"?[Lt.minRows,Lt.maxRows]:[]},[Lt]),ne=(0,Se.Z)(ee,2),te=ne[0],ue=ne[1],me=!!Lt,De=function(){try{if(document.activeElement===z.current){var Mn=z.current,Gn=Mn.selectionStart,yn=Mn.selectionEnd,qn=Mn.scrollTop;z.current.setSelectionRange(Gn,yn),z.current.scrollTop=qn}}catch($n){}},St=Ke.useState(ke),je=(0,Se.Z)(St,2),et=je[0],lt=je[1],mt=Ke.useState(),Rt=(0,Se.Z)(mt,2),qt=Rt[0],Wt=Rt[1],nn=function(){lt(dt)};(0,He.Z)(function(){me&&nn()},[qe,te,ue,me]),(0,He.Z)(function(){if(et===dt)lt(ge);else if(et===ge){var mn=Ge(z.current,!1,te,ue);lt(ke),Wt(mn)}else De()},[et]);var Ut=Ke.useRef(),Dt=function(){Ve.Z.cancel(Ut.current)},ft=function(Mn){et===ke&&(Tt==null||Tt(Mn),Lt&&(Dt(),Ut.current=(0,Ve.Z)(function(){nn()})))};Ke.useEffect(function(){return Dt},[]);var Zt=me?qt:null,Yt=(0,Te.Z)((0,Te.Z)({},bt),Zt);return(et===dt||et===ge)&&(Yt.overflowY="hidden",Yt.overflowX="hidden"),Ke.createElement(Ye.Z,{onResize:ft,disabled:!(Lt||Tt)},Ke.createElement("textarea",(0,re.Z)({},yt,{ref:z,style:Yt,className:be()(we,Xe,(0,Ne.Z)({},"".concat(we,"-disabled"),$e)),disabled:$e,value:wt,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,gt){var At,we=ht.defaultValue,he=ht.value,qe=ht.onFocus,Lt=ht.onBlur,Tt=ht.onChange,Xe=ht.allowClear,bt=ht.maxLength,$e=ht.onCompositionStart,Ot=ht.onCompositionEnd,We=ht.suffix,yt=ht.prefixCls,Qe=yt===void 0?"rc-textarea":yt,Ft=ht.showCount,wt=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,De=ht.onPressEnter,St=ht.readOnly,je=ht.autoSize,et=ht.onKeyDown,lt=(0,fe.Z)(ht,_e),mt=(0,ye.Z)(we,{value:he,defaultValue:we}),Rt=(0,Se.Z)(mt,2),qt=Rt[0],Wt=Rt[1],nn=qt==null?"":String(qt),Ut=Ke.useState(!1),Dt=(0,Se.Z)(Ut,2),ft=Dt[0],Zt=Dt[1],Yt=Ke.useRef(!1),mn=Ke.useState(null),Mn=(0,Se.Z)(mn,2),Gn=Mn[0],yn=Mn[1],qn=(0,Ke.useRef)(null),$n=(0,Ke.useRef)(null),dr=function(){var Xn;return(Xn=$n.current)===null||Xn===void 0?void 0:Xn.textArea},Mr=function(){dr().focus()};(0,Ke.useImperativeHandle)(gt,function(){var _t;return{resizableTextArea:$n.current,focus:Mr,blur:function(){dr().blur()},nativeElement:((_t=qn.current)===null||_t===void 0?void 0:_t.nativeElement)||dr()}}),(0,Ke.useEffect)(function(){Zt(function(_t){return!z&&_t})},[z]);var ar=Ke.useState(null),Tr=(0,Se.Z)(ar,2),Pr=Tr[0],Hn=Tr[1];Ke.useEffect(function(){if(Pr){var _t;(_t=dr()).setSelectionRange.apply(_t,(0,Be.Z)(Pr))}},[Pr]);var Rr=(0,le.Z)(wt,Ft),Wr=(At=Rr.max)!==null&&At!==void 0?At:bt,Bt=Number(Wr)>0,jt=Rr.strategy(nn),dn=!!Wr&&jt>Wr,cn=function(Xn,Nr){var Hr=Nr;!Yt.current&&Rr.exceedFormatter&&Rr.max&&Rr.strategy(Nr)>Rr.max&&(Hr=Rr.exceedFormatter(Nr,{max:Rr.max}),Nr!==Hr&&Hn([dr().selectionStart||0,dr().selectionEnd||0])),Wt(Hr),(0,nt.rJ)(Xn.currentTarget,Xn,Tt,Hr)},Et=function(Xn){Yt.current=!0,$e==null||$e(Xn)},en=function(Xn){Yt.current=!1,cn(Xn,Xn.currentTarget.value),Ot==null||Ot(Xn)},kn=function(Xn){cn(Xn,Xn.target.value)},On=function(Xn){Xn.key==="Enter"&&De&&De(Xn),et==null||et(Xn)},zn=function(Xn){Zt(!0),qe==null||qe(Xn)},Qn=function(Xn){Zt(!1),Lt==null||Lt(Xn)},fr=function(Xn){Wt(""),Mr(),(0,nt.rJ)(dr(),Xn,Tt)},hr=We,pr;Rr.show&&(Rr.showFormatter?pr=Rr.showFormatter({value:nn,count:jt,maxLength:Wr}):pr="".concat(jt).concat(Bt?" / ".concat(Wr):""),hr=Ke.createElement(Ke.Fragment,null,hr,Ke.createElement("span",{className:be()("".concat(Qe,"-data-count"),ne==null?void 0:ne.count),style:te==null?void 0:te.count},pr)));var Ar=function(Xn){var Nr;ue==null||ue(Xn),(Nr=dr())!==null&&Nr!==void 0&&Nr.style.height&&yn(!0)},Ln=!je&&!Ft&&!Xe;return Ke.createElement(Pe.BaseInput,{ref:qn,value:nn,allowClear:Xe,handleReset:fr,suffix:hr,prefixCls:Qe,classNames:(0,Te.Z)((0,Te.Z)({},ne),{},{affixWrapper:be()(ne==null?void 0:ne.affixWrapper,(0,Ne.Z)((0,Ne.Z)({},"".concat(Qe,"-show-count"),Ft),"".concat(Qe,"-textarea-allow-clear"),Xe))}),disabled:z,focused:ft,className:be()(ce,dn&&"".concat(Qe,"-out-of-range")),style:(0,Te.Z)((0,Te.Z)({},ie),Gn&&!Ln?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof pr=="string"?pr:void 0}},hidden:ee,readOnly:St,onClear:me},Ke.createElement(Ze,(0,re.Z)({},lt,{autoSize:je,maxLength:bt,onKeyDown:On,onChange:kn,onFocus:zn,onBlur:Qn,onCompositionStart:Et,onCompositionEnd:en,className:be()(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:Ar,ref:$n,readOnly:St})))}),Je=Re,Nt=Je},639:function(wn,un,se){"use strict";se.d(un,{Z:function(){return rt}});var re=se(32855),Ne=se(74430),Te=se(27247),Be=se(11913),Se=se(43079),fe=se(59301),Oe=se(92310),be=se.n(Oe),Pe=se(26112),le=se(30699),nt=function(Ee){for(var Ge=Ee.prefixCls,Ue=Ee.level,dt=Ee.isStart,ge=Ee.isEnd,ke="".concat(Ge,"-indent-unit"),ze=[],Ze=0;Ze<Ue;Ze+=1)ze.push(fe.createElement("span",{key:Ze,className:be()(ke,(0,Ne.Z)((0,Ne.Z)({},"".concat(ke,"-start"),dt[Ze]),"".concat(ke,"-end"),ge[Ze]))}));return fe.createElement("span",{"aria-hidden":"true",className:"".concat(Ge,"-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",Ve="close",ut="---",at=function(Ee){var Ge,Ue,dt,ge=Ee.eventKey,ke=Ee.className,ze=Ee.style,Ze=Ee.dragOver,_e=Ee.dragOverGapTop,Re=Ee.dragOverGapBottom,Je=Ee.isLeaf,Nt=Ee.isStart,ht=Ee.isEnd,gt=Ee.expanded,At=Ee.selected,we=Ee.checked,he=Ee.halfChecked,qe=Ee.loading,Lt=Ee.domRef,Tt=Ee.active,Xe=Ee.data,bt=Ee.onMouseMove,$e=Ee.selectable,Ot=(0,Se.Z)(Ee,Ye),We=fe.useContext(le.k),yt=fe.useContext(le.y),Qe=fe.useRef(null),Ft=fe.useState(!1),wt=(0,Be.Z)(Ft,2),ce=wt[0],ie=wt[1],z=!!(We.disabled||Ee.disabled||(Ge=yt.nodeDisabled)!==null&&Ge!==void 0&&Ge.call(yt,Xe)),ee=fe.useMemo(function(){return!We.checkable||Ee.checkable===!1?!1:We.checkable},[We.checkable,Ee.checkable]),ne=function(jt){z||We.onNodeSelect(jt,(0,Ie.F)(Ee))},te=function(jt){z||!ee||Ee.disableCheckbox||We.onNodeCheck(jt,(0,Ie.F)(Ee),!we)},ue=fe.useMemo(function(){return typeof $e=="boolean"?$e:We.selectable},[$e,We.selectable]),me=function(jt){We.onNodeClick(jt,(0,Ie.F)(Ee)),ue?ne(jt):te(jt)},De=function(jt){We.onNodeDoubleClick(jt,(0,Ie.F)(Ee))},St=function(jt){We.onNodeMouseEnter(jt,(0,Ie.F)(Ee))},je=function(jt){We.onNodeMouseLeave(jt,(0,Ie.F)(Ee))},et=function(jt){We.onNodeContextMenu(jt,(0,Ie.F)(Ee))},lt=fe.useMemo(function(){return!!(We.draggable&&(!We.draggable.nodeDraggable||We.draggable.nodeDraggable(Xe)))},[We.draggable,Xe]),mt=function(jt){jt.stopPropagation(),ie(!0),We.onNodeDragStart(jt,Ee);try{jt.dataTransfer.setData("text/plain","")}catch(dn){}},Rt=function(jt){jt.preventDefault(),jt.stopPropagation(),We.onNodeDragEnter(jt,Ee)},qt=function(jt){jt.preventDefault(),jt.stopPropagation(),We.onNodeDragOver(jt,Ee)},Wt=function(jt){jt.stopPropagation(),We.onNodeDragLeave(jt,Ee)},nn=function(jt){jt.stopPropagation(),ie(!1),We.onNodeDragEnd(jt,Ee)},Ut=function(jt){jt.preventDefault(),jt.stopPropagation(),ie(!1),We.onNodeDrop(jt,Ee)},Dt=function(jt){qe||We.onNodeExpand(jt,(0,Ie.F)(Ee))},ft=fe.useMemo(function(){var Bt=(0,Ke.Z)(We.keyEntities,ge)||{},jt=Bt.children;return!!(jt||[]).length},[We.keyEntities,ge]),Zt=fe.useMemo(function(){return Je===!1?!1:Je||!We.loadData&&!ft||We.loadData&&Ee.loaded&&!ft},[Je,We.loadData,ft,Ee.loaded]);fe.useEffect(function(){qe||typeof We.loadData=="function"&&gt&&!Zt&&!Ee.loaded&&We.onNodeLoad((0,Ie.F)(Ee))},[qe,We.loadData,We.onNodeLoad,gt,Zt,Ee]);var Yt=fe.useMemo(function(){var Bt;return(Bt=We.draggable)!==null&&Bt!==void 0&&Bt.icon?fe.createElement("span",{className:"".concat(We.prefixCls,"-draggable-icon")},We.draggable.icon):null},[We.draggable]),mn=function(jt){var dn=Ee.switcherIcon||We.switcherIcon;return typeof dn=="function"?dn((0,Te.Z)((0,Te.Z)({},Ee),{},{isLeaf:jt})):dn},Mn=function(){if(Zt){var jt=mn(!0);return jt!==!1?fe.createElement("span",{className:be()("".concat(We.prefixCls,"-switcher"),"".concat(We.prefixCls,"-switcher-noop"))},jt):null}var dn=mn(!1);return dn!==!1?fe.createElement("span",{onClick:Dt,className:be()("".concat(We.prefixCls,"-switcher"),"".concat(We.prefixCls,"-switcher_").concat(gt?He:Ve))},dn):null},Gn=fe.useMemo(function(){if(!ee)return null;var Bt=typeof ee!="boolean"?ee:null;return fe.createElement("span",{className:be()("".concat(We.prefixCls,"-checkbox"),(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},"".concat(We.prefixCls,"-checkbox-checked"),we),"".concat(We.prefixCls,"-checkbox-indeterminate"),!we&&he),"".concat(We.prefixCls,"-checkbox-disabled"),z||Ee.disableCheckbox)),onClick:te,role:"checkbox","aria-checked":he?"mixed":we,"aria-disabled":z||Ee.disableCheckbox,"aria-label":"Select ".concat(typeof Ee.title=="string"?Ee.title:"tree node")},Bt)},[ee,we,he,z,Ee.disableCheckbox,Ee.title]),yn=fe.useMemo(function(){return Zt?null:gt?He:Ve},[Zt,gt]),qn=fe.useMemo(function(){return fe.createElement("span",{className:be()("".concat(We.prefixCls,"-iconEle"),"".concat(We.prefixCls,"-icon__").concat(yn||"docu"),(0,Ne.Z)({},"".concat(We.prefixCls,"-icon_loading"),qe))})},[We.prefixCls,yn,qe]),$n=fe.useMemo(function(){var Bt=!!We.draggable,jt=!Ee.disabled&&Bt&&We.dragOverNodeKey===ge;return jt?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]),dr=fe.useMemo(function(){var Bt=Ee.title,jt=Bt===void 0?ut:Bt,dn="".concat(We.prefixCls,"-node-content-wrapper"),cn;if(We.showIcon){var Et=Ee.icon||We.icon;cn=Et?fe.createElement("span",{className:be()("".concat(We.prefixCls,"-iconEle"),"".concat(We.prefixCls,"-icon__customize"))},typeof Et=="function"?Et(Ee):Et):qn}else We.loadData&&qe&&(cn=qn);var en;return typeof jt=="function"?en=jt(Xe):We.titleRender?en=We.titleRender(Xe):en=jt,fe.createElement("span",{ref:Qe,title:typeof jt=="string"?jt:"",className:be()(dn,"".concat(dn,"-").concat(yn||"normal"),(0,Ne.Z)({},"".concat(We.prefixCls,"-node-selected"),!z&&(At||ce))),onMouseEnter:St,onMouseLeave:je,onContextMenu:et,onClick:me,onDoubleClick:De},cn,fe.createElement("span",{className:"".concat(We.prefixCls,"-title")},en),$n)},[We.prefixCls,We.showIcon,Ee,We.icon,qn,We.titleRender,Xe,yn,St,je,et,me,De]),Mr=(0,Pe.Z)(Ot,{aria:!0,data:!0}),ar=(0,Ke.Z)(We.keyEntities,ge)||{},Tr=ar.level,Pr=ht[ht.length-1],Hn=!z&&lt,Rr=We.draggingNodeKey===ge,Wr=$e!==void 0?{"aria-selected":!!$e}:void 0;return fe.createElement("div",(0,re.Z)({ref:Lt,role:"treeitem","aria-expanded":Je?void 0:gt,className:be()(ke,"".concat(We.prefixCls,"-treenode"),(dt={},(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)(dt,"".concat(We.prefixCls,"-treenode-disabled"),z),"".concat(We.prefixCls,"-treenode-switcher-").concat(gt?"open":"close"),!Je),"".concat(We.prefixCls,"-treenode-checkbox-checked"),we),"".concat(We.prefixCls,"-treenode-checkbox-indeterminate"),he),"".concat(We.prefixCls,"-treenode-selected"),At),"".concat(We.prefixCls,"-treenode-loading"),qe),"".concat(We.prefixCls,"-treenode-active"),Tt),"".concat(We.prefixCls,"-treenode-leaf-last"),Pr),"".concat(We.prefixCls,"-treenode-draggable"),lt),"dragging",Rr),(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)(dt,"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",(Ue=We.filterTreeNode)===null||Ue===void 0?void 0:Ue.call(We,(0,Ie.F)(Ee))),"".concat(We.prefixCls,"-treenode-leaf"),Zt))),style:ze,draggable:Hn,onDragStart:Hn?mt:void 0,onDragEnter:lt?Rt:void 0,onDragOver:lt?qt:void 0,onDragLeave:lt?Wt:void 0,onDrop:lt?Ut:void 0,onDragEnd:lt?nn:void 0,onMouseMove:bt},Wr,Mr),fe.createElement(ye,{prefixCls:We.prefixCls,level:Tr,isStart:Nt,isEnd:ht}),Yt,Mn(),Gn,dr)};at.isTreeNode=1;var rt=at},30699:function(wn,un,se){"use strict";se.d(un,{k:function(){return Ne},y:function(){return Te}});var re=se(59301),Ne=re.createContext(null),Te=re.createContext({})},89149:function(wn,un,se){"use strict";se.d(un,{OF:function(){return ge.Z},y6:function(){return Ve.y},ZP:function(){return z}});var re=se(32855),Ne=se(34666),Te=se(27247),Be=se(3300),Se=se(33377),fe=se(93912),Oe=se(83383),be=se(18881),Pe=se(85461),le=se(74430),nt=se(92310),ye=se.n(nt),Ke=se(10228),Ie=se(26112),Ye=se(48736),He=se(59301),Ve=se(30699),ut=function(ne){var te=ne.dropPosition,ue=ne.dropLevelOffset,me=ne.indent,De={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(te){case-1:De.top=0,De.left=-ue*me;break;case 1:De.bottom=0,De.left=-ue*me;break;case 0:De.bottom=0,De.left=me;break}return He.createElement("div",{style:De})},at=ut;function rt(ee){if(ee==null)throw new TypeError("Cannot destructure "+ee)}var Fe=se(11913),Ee=se(43079),Ge=se(34280),Ue=se(6790),dt=se(77900),ge=se(639);function ke(ee,ne){var te=He.useState(!1),ue=(0,Fe.Z)(te,2),me=ue[0],De=ue[1];(0,Ge.Z)(function(){if(me)return ee(),function(){ne()}},[me]),(0,Ge.Z)(function(){return De(!0),function(){De(!1)}},[])}var ze=ke,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,De=ee.motionNodes,St=ee.motionType,je=ee.onMotionStart,et=ee.onMotionEnd,lt=ee.active,mt=ee.treeNodeRequiredProps,Rt=(0,Ee.Z)(ee,_e),qt=He.useState(!0),Wt=(0,Fe.Z)(qt,2),nn=Wt[0],Ut=Wt[1],Dt=He.useContext(Ve.k),ft=Dt.prefixCls,Zt=De&&St!=="hide";(0,Ge.Z)(function(){De&&Zt!==nn&&Ut(Zt)},[De]);var Yt=function(){De&&je()},mn=He.useRef(!1),Mn=function(){De&&!mn.current&&(mn.current=!0,et())};ze(Yt,Mn);var Gn=function(qn){Zt===qn&&Mn()};return De?He.createElement(dt.default,(0,re.Z)({ref:ne,visible:nn},me,{motionAppear:St==="show",onVisibleChanged:Gn}),function(yn,qn){var $n=yn.className,dr=yn.style;return He.createElement("div",{ref:qn,className:ye()("".concat(ft,"-treenode-motion"),$n),style:dr},De.map(function(Mr){var ar=Object.assign({},(rt(Mr.data),Mr.data)),Tr=Mr.title,Pr=Mr.key,Hn=Mr.isStart,Rr=Mr.isEnd;delete ar.children;var Wr=(0,Ze.H8)(Pr,mt);return He.createElement(ge.Z,(0,re.Z)({},ar,Wr,{title:Tr,active:lt,data:Mr.data,key:Pr,isStart:Hn,isEnd:Rr}))}))}):He.createElement(ge.Z,(0,re.Z)({domRef:ne,className:te,style:ue},Rt,{active:lt}))}),Je=Re;function Nt(){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(De,St){var je=new Map;De.forEach(function(lt){je.set(lt,!0)});var et=St.filter(function(lt){return!je.has(lt)});return et.length===1?et[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(je){return je.key===te}),me=ee[ue+1],De=ne.findIndex(function(je){return je.key===te});if(me){var St=ne.findIndex(function(je){return je.key===me.key});return ne.slice(De+1,St)}return ne.slice(De+1)}var gt=["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"],At={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},we=function(){},he="RC_TREE_MOTION_".concat(Math.random()),qe={key:he},Lt={key:he,level:0,index:0,pos:"0",node:qe,nodes:[qe]},Tt={parent:null,children:[],pos:Lt.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 bt(ee){var ne=ee.key,te=ee.pos;return(0,Ze.km)(ne,te)}function $e(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 Ot=He.forwardRef(function(ee,ne){var te=ee.prefixCls,ue=ee.data,me=ee.selectable,De=ee.checkable,St=ee.expandedKeys,je=ee.selectedKeys,et=ee.checkedKeys,lt=ee.loadedKeys,mt=ee.loadingKeys,Rt=ee.halfCheckedKeys,qt=ee.keyEntities,Wt=ee.disabled,nn=ee.dragging,Ut=ee.dragOverNodeKey,Dt=ee.dropPosition,ft=ee.motion,Zt=ee.height,Yt=ee.itemHeight,mn=ee.virtual,Mn=ee.scrollWidth,Gn=ee.focusable,yn=ee.activeItem,qn=ee.focused,$n=ee.tabIndex,dr=ee.onKeyDown,Mr=ee.onFocus,ar=ee.onBlur,Tr=ee.onActiveChange,Pr=ee.onListChangeStart,Hn=ee.onListChangeEnd,Rr=(0,Ee.Z)(ee,gt),Wr=He.useRef(null),Bt=He.useRef(null);He.useImperativeHandle(ne,function(){return{scrollTo:function(Vn){Wr.current.scrollTo(Vn)},getIndentWidth:function(){return Bt.current.offsetWidth}}});var jt=He.useState(St),dn=(0,Fe.Z)(jt,2),cn=dn[0],Et=dn[1],en=He.useState(ue),kn=(0,Fe.Z)(en,2),On=kn[0],zn=kn[1],Qn=He.useState(ue),fr=(0,Fe.Z)(Qn,2),hr=fr[0],pr=fr[1],Ar=He.useState([]),Ln=(0,Fe.Z)(Ar,2),_t=Ln[0],Xn=Ln[1],Nr=He.useState(null),Hr=(0,Fe.Z)(Nr,2),ct=Hr[0],Ct=Hr[1],Tn=He.useRef(ue);Tn.current=ue;function En(){var Wn=Tn.current;zn(Wn),pr(Wn),Xn([]),Ct(null),Hn()}(0,Ge.Z)(function(){Et(St);var Wn=Nt(cn,St);if(Wn.key!==null)if(Wn.add){var Vn=On.findIndex(function(ir){var Sr=ir.key;return Sr===Wn.key}),er=Xe(ht(On,ue,Wn.key),mn,Zt,Yt),Un=On.slice();Un.splice(Vn+1,0,Tt),pr(Un),Xn(er),Ct("show")}else{var tr=ue.findIndex(function(ir){var Sr=ir.key;return Sr===Wn.key}),kt=Xe(ht(ue,On,Wn.key),mn,Zt,Yt),Vr=ue.slice();Vr.splice(tr+1,0,Tt),pr(Vr),Xn(kt),Ct("hide")}else On!==ue&&(zn(ue),pr(ue))},[St,ue]),He.useEffect(function(){nn||En()},[nn]);var Pt=ft?hr:ue,Sn={expandedKeys:St,selectedKeys:je,loadedKeys:lt,loadingKeys:mt,checkedKeys:et,halfCheckedKeys:Rt,dragOverNodeKey:Ut,dropPosition:Dt,keyEntities:qt};return He.createElement(He.Fragment,null,qn&&yn&&He.createElement("span",{style:At,"aria-live":"assertive"},$e(yn)),He.createElement("div",null,He.createElement("input",{style:At,disabled:Gn===!1||Wt,tabIndex:Gn!==!1?$n:null,onKeyDown:dr,onFocus:Mr,onBlur:ar,value:"",onChange:we,"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:Bt,className:"".concat(te,"-indent-unit")}))),He.createElement(Ue.Z,(0,re.Z)({},Rr,{data:Pt,itemKey:bt,height:Zt,fullHeight:!1,virtual:mn,itemHeight:Yt,scrollWidth:Mn,prefixCls:"".concat(te,"-list"),ref:Wr,role:"tree",onVisibleChange:function(Vn){Vn.every(function(er){return bt(er)!==he})&&En()}}),function(Wn){var Vn=Wn.pos,er=Object.assign({},(rt(Wn.data),Wn.data)),Un=Wn.title,tr=Wn.key,kt=Wn.isStart,Vr=Wn.isEnd,ir=(0,Ze.km)(tr,Vn);delete er.key,delete er.children;var Sr=(0,Ze.H8)(ir,Sn);return He.createElement(Je,(0,re.Z)({},er,Sr,{title:Un,active:!!yn&&tr===yn.key,pos:Vn,data:Wn.data,isStart:kt,isEnd:Vr,motion:ft,motionNodes:tr===he?_t:null,motionType:ct,onMotionStart:Pr,onMotionEnd:En,treeNodeRequiredProps:Sn,onMouseMove:function(){Tr(null)}}))}))}),We=Ot,yt=se(82661),Qe=se(34643),Ft=se(65065),wt=10,ce=function(ee){(0,be.Z)(te,ee);var ne=(0,Pe.Z)(te);function te(){var ue;(0,Se.Z)(this,te);for(var me=arguments.length,De=new Array(me),St=0;St<me;St++)De[St]=arguments[St];return ue=ne.call.apply(ne,[this].concat(De)),(0,le.Z)((0,Oe.Z)(ue),"destroyed",!1),(0,le.Z)((0,Oe.Z)(ue),"delayedDragEnterLogic",void 0),(0,le.Z)((0,Oe.Z)(ue),"loadingRetryTimes",{}),(0,le.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,le.Z)((0,Oe.Z)(ue),"dragStartMousePosition",null),(0,le.Z)((0,Oe.Z)(ue),"dragNodeProps",null),(0,le.Z)((0,Oe.Z)(ue),"currentMouseOverDroppableNodeKey",null),(0,le.Z)((0,Oe.Z)(ue),"listRef",He.createRef()),(0,le.Z)((0,Oe.Z)(ue),"onNodeDragStart",function(je,et){var lt=ue.state,mt=lt.expandedKeys,Rt=lt.keyEntities,qt=ue.props.onDragStart,Wt=et.eventKey;ue.dragNodeProps=et,ue.dragStartMousePosition={x:je.clientX,y:je.clientY};var nn=(0,yt._5)(mt,Wt);ue.setState({draggingNodeKey:Wt,dragChildrenKeys:(0,yt.wA)(Wt,Rt),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys(nn),window.addEventListener("dragend",ue.onWindowDragEnd),qt==null||qt({event:je,node:(0,Ze.F)(et)})}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDragEnter",function(je,et){var lt=ue.state,mt=lt.expandedKeys,Rt=lt.keyEntities,qt=lt.dragChildrenKeys,Wt=lt.flattenNodes,nn=lt.indent,Ut=ue.props,Dt=Ut.onDragEnter,ft=Ut.onExpand,Zt=Ut.allowDrop,Yt=Ut.direction,mn=et.pos,Mn=et.eventKey;if(ue.currentMouseOverDroppableNodeKey!==Mn&&(ue.currentMouseOverDroppableNodeKey=Mn),!ue.dragNodeProps){ue.resetDragState();return}var Gn=(0,yt.OM)(je,ue.dragNodeProps,et,nn,ue.dragStartMousePosition,Zt,Wt,Rt,mt,Yt),yn=Gn.dropPosition,qn=Gn.dropLevelOffset,$n=Gn.dropTargetKey,dr=Gn.dropContainerKey,Mr=Gn.dropTargetPos,ar=Gn.dropAllowed,Tr=Gn.dragOverNodeKey;if(qt.includes($n)||!ar){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(Pr){clearTimeout(ue.delayedDragEnterLogic[Pr])}),ue.dragNodeProps.eventKey!==et.eventKey&&(je.persist(),ue.delayedDragEnterLogic[mn]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var Pr=(0,Be.Z)(mt),Hn=(0,Ft.Z)(Rt,et.eventKey);Hn&&(Hn.children||[]).length&&(Pr=(0,yt.L0)(mt,et.eventKey)),ue.props.hasOwnProperty("expandedKeys")||ue.setExpandedKeys(Pr),ft==null||ft(Pr,{node:(0,Ze.F)(et),expanded:!0,nativeEvent:je.nativeEvent})}},800)),ue.dragNodeProps.eventKey===$n&&qn===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:Tr,dropPosition:yn,dropLevelOffset:qn,dropTargetKey:$n,dropContainerKey:dr,dropTargetPos:Mr,dropAllowed:ar}),Dt==null||Dt({event:je,node:(0,Ze.F)(et),expandedKeys:mt})}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDragOver",function(je,et){var lt=ue.state,mt=lt.dragChildrenKeys,Rt=lt.flattenNodes,qt=lt.keyEntities,Wt=lt.expandedKeys,nn=lt.indent,Ut=ue.props,Dt=Ut.onDragOver,ft=Ut.allowDrop,Zt=Ut.direction;if(ue.dragNodeProps){var Yt=(0,yt.OM)(je,ue.dragNodeProps,et,nn,ue.dragStartMousePosition,ft,Rt,qt,Wt,Zt),mn=Yt.dropPosition,Mn=Yt.dropLevelOffset,Gn=Yt.dropTargetKey,yn=Yt.dropContainerKey,qn=Yt.dropTargetPos,$n=Yt.dropAllowed,dr=Yt.dragOverNodeKey;mt.includes(Gn)||!$n||(ue.dragNodeProps.eventKey===Gn&&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():mn===ue.state.dropPosition&&Mn===ue.state.dropLevelOffset&&Gn===ue.state.dropTargetKey&&yn===ue.state.dropContainerKey&&qn===ue.state.dropTargetPos&&$n===ue.state.dropAllowed&&dr===ue.state.dragOverNodeKey||ue.setState({dropPosition:mn,dropLevelOffset:Mn,dropTargetKey:Gn,dropContainerKey:yn,dropTargetPos:qn,dropAllowed:$n,dragOverNodeKey:dr}),Dt==null||Dt({event:je,node:(0,Ze.F)(et)}))}}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDragLeave",function(je,et){ue.currentMouseOverDroppableNodeKey===et.eventKey&&!je.currentTarget.contains(je.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var lt=ue.props.onDragLeave;lt==null||lt({event:je,node:(0,Ze.F)(et)})}),(0,le.Z)((0,Oe.Z)(ue),"onWindowDragEnd",function(je){ue.onNodeDragEnd(je,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDragEnd",function(je,et){var lt=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),lt==null||lt({event:je,node:(0,Ze.F)(et)}),ue.dragNodeProps=null,window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDrop",function(je,et){var lt,mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Rt=ue.state,qt=Rt.dragChildrenKeys,Wt=Rt.dropPosition,nn=Rt.dropTargetKey,Ut=Rt.dropTargetPos,Dt=Rt.dropAllowed;if(Dt){var ft=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),nn!==null){var Zt=(0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(nn,ue.getTreeNodeRequiredProps())),{},{active:((lt=ue.getActiveItem())===null||lt===void 0?void 0:lt.key)===nn,data:(0,Ft.Z)(ue.state.keyEntities,nn).node}),Yt=qt.includes(nn);(0,Ye.ZP)(!Yt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mn=(0,yt.yx)(Ut),Mn={event:je,node:(0,Ze.F)(Zt),dragNode:ue.dragNodeProps?(0,Ze.F)(ue.dragNodeProps):null,dragNodesKeys:[ue.dragNodeProps.eventKey].concat(qt),dropToGap:Wt!==0,dropPosition:Wt+Number(mn[mn.length-1])};mt||ft==null||ft(Mn),ue.dragNodeProps=null}}}),(0,le.Z)((0,Oe.Z)(ue),"cleanDragState",function(){var je=ue.state.draggingNodeKey;je!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null}),(0,le.Z)((0,Oe.Z)(ue),"triggerExpandActionExpand",function(je,et){var lt=ue.state,mt=lt.expandedKeys,Rt=lt.flattenNodes,qt=et.expanded,Wt=et.key,nn=et.isLeaf;if(!(nn||je.shiftKey||je.metaKey||je.ctrlKey)){var Ut=Rt.filter(function(ft){return ft.key===Wt})[0],Dt=(0,Ze.F)((0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(Wt,ue.getTreeNodeRequiredProps())),{},{data:Ut.data}));ue.setExpandedKeys(qt?(0,yt._5)(mt,Wt):(0,yt.L0)(mt,Wt)),ue.onNodeExpand(je,Dt)}}),(0,le.Z)((0,Oe.Z)(ue),"onNodeClick",function(je,et){var lt=ue.props,mt=lt.onClick,Rt=lt.expandAction;Rt==="click"&&ue.triggerExpandActionExpand(je,et),mt==null||mt(je,et)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeDoubleClick",function(je,et){var lt=ue.props,mt=lt.onDoubleClick,Rt=lt.expandAction;Rt==="doubleClick"&&ue.triggerExpandActionExpand(je,et),mt==null||mt(je,et)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeSelect",function(je,et){var lt=ue.state.selectedKeys,mt=ue.state,Rt=mt.keyEntities,qt=mt.fieldNames,Wt=ue.props,nn=Wt.onSelect,Ut=Wt.multiple,Dt=et.selected,ft=et[qt.key],Zt=!Dt;Zt?Ut?lt=(0,yt.L0)(lt,ft):lt=[ft]:lt=(0,yt._5)(lt,ft);var Yt=lt.map(function(mn){var Mn=(0,Ft.Z)(Rt,mn);return Mn?Mn.node:null}).filter(Boolean);ue.setUncontrolledState({selectedKeys:lt}),nn==null||nn(lt,{event:"select",selected:Zt,node:et,selectedNodes:Yt,nativeEvent:je.nativeEvent})}),(0,le.Z)((0,Oe.Z)(ue),"onNodeCheck",function(je,et,lt){var mt=ue.state,Rt=mt.keyEntities,qt=mt.checkedKeys,Wt=mt.halfCheckedKeys,nn=ue.props,Ut=nn.checkStrictly,Dt=nn.onCheck,ft=et.key,Zt,Yt={event:"check",node:et,checked:lt,nativeEvent:je.nativeEvent};if(Ut){var mn=lt?(0,yt.L0)(qt,ft):(0,yt._5)(qt,ft),Mn=(0,yt._5)(Wt,ft);Zt={checked:mn,halfChecked:Mn},Yt.checkedNodes=mn.map(function(Mr){return(0,Ft.Z)(Rt,Mr)}).filter(Boolean).map(function(Mr){return Mr.node}),ue.setUncontrolledState({checkedKeys:mn})}else{var Gn=(0,Qe.S)([].concat((0,Be.Z)(qt),[ft]),!0,Rt),yn=Gn.checkedKeys,qn=Gn.halfCheckedKeys;if(!lt){var $n=new Set(yn);$n.delete(ft);var dr=(0,Qe.S)(Array.from($n),{checked:!1,halfCheckedKeys:qn},Rt);yn=dr.checkedKeys,qn=dr.halfCheckedKeys}Zt=yn,Yt.checkedNodes=[],Yt.checkedNodesPositions=[],Yt.halfCheckedKeys=qn,yn.forEach(function(Mr){var ar=(0,Ft.Z)(Rt,Mr);if(ar){var Tr=ar.node,Pr=ar.pos;Yt.checkedNodes.push(Tr),Yt.checkedNodesPositions.push({node:Tr,pos:Pr})}}),ue.setUncontrolledState({checkedKeys:yn},!1,{halfCheckedKeys:qn})}Dt==null||Dt(Zt,Yt)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeLoad",function(je){var et,lt=je.key,mt=ue.state.keyEntities,Rt=(0,Ft.Z)(mt,lt);if(!(Rt!=null&&(et=Rt.children)!==null&&et!==void 0&&et.length)){var qt=new Promise(function(Wt,nn){ue.setState(function(Ut){var Dt=Ut.loadedKeys,ft=Dt===void 0?[]:Dt,Zt=Ut.loadingKeys,Yt=Zt===void 0?[]:Zt,mn=ue.props,Mn=mn.loadData,Gn=mn.onLoad;if(!Mn||ft.includes(lt)||Yt.includes(lt))return null;var yn=Mn(je);return yn.then(function(){var qn=ue.state.loadedKeys,$n=(0,yt.L0)(qn,lt);Gn==null||Gn($n,{event:"load",node:je}),ue.setUncontrolledState({loadedKeys:$n}),ue.setState(function(dr){return{loadingKeys:(0,yt._5)(dr.loadingKeys,lt)}}),Wt()}).catch(function(qn){if(ue.setState(function(dr){return{loadingKeys:(0,yt._5)(dr.loadingKeys,lt)}}),ue.loadingRetryTimes[lt]=(ue.loadingRetryTimes[lt]||0)+1,ue.loadingRetryTimes[lt]>=wt){var $n=ue.state.loadedKeys;(0,Ye.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:(0,yt.L0)($n,lt)}),Wt()}nn(qn)}),{loadingKeys:(0,yt.L0)(Yt,lt)}})});return qt.catch(function(){}),qt}}),(0,le.Z)((0,Oe.Z)(ue),"onNodeMouseEnter",function(je,et){var lt=ue.props.onMouseEnter;lt==null||lt({event:je,node:et})}),(0,le.Z)((0,Oe.Z)(ue),"onNodeMouseLeave",function(je,et){var lt=ue.props.onMouseLeave;lt==null||lt({event:je,node:et})}),(0,le.Z)((0,Oe.Z)(ue),"onNodeContextMenu",function(je,et){var lt=ue.props.onRightClick;lt&&(je.preventDefault(),lt({event:je,node:et}))}),(0,le.Z)((0,Oe.Z)(ue),"onFocus",function(){var je=ue.props.onFocus;ue.setState({focused:!0});for(var et=arguments.length,lt=new Array(et),mt=0;mt<et;mt++)lt[mt]=arguments[mt];je==null||je.apply(void 0,lt)}),(0,le.Z)((0,Oe.Z)(ue),"onBlur",function(){var je=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var et=arguments.length,lt=new Array(et),mt=0;mt<et;mt++)lt[mt]=arguments[mt];je==null||je.apply(void 0,lt)}),(0,le.Z)((0,Oe.Z)(ue),"getTreeNodeRequiredProps",function(){var je=ue.state,et=je.expandedKeys,lt=je.selectedKeys,mt=je.loadedKeys,Rt=je.loadingKeys,qt=je.checkedKeys,Wt=je.halfCheckedKeys,nn=je.dragOverNodeKey,Ut=je.dropPosition,Dt=je.keyEntities;return{expandedKeys:et||[],selectedKeys:lt||[],loadedKeys:mt||[],loadingKeys:Rt||[],checkedKeys:qt||[],halfCheckedKeys:Wt||[],dragOverNodeKey:nn,dropPosition:Ut,keyEntities:Dt}}),(0,le.Z)((0,Oe.Z)(ue),"setExpandedKeys",function(je){var et=ue.state,lt=et.treeData,mt=et.fieldNames,Rt=(0,Ze.oH)(lt,je,mt);ue.setUncontrolledState({expandedKeys:je,flattenNodes:Rt},!0)}),(0,le.Z)((0,Oe.Z)(ue),"onNodeExpand",function(je,et){var lt=ue.state.expandedKeys,mt=ue.state,Rt=mt.listChanging,qt=mt.fieldNames,Wt=ue.props,nn=Wt.onExpand,Ut=Wt.loadData,Dt=et.expanded,ft=et[qt.key];if(!Rt){var Zt=lt.includes(ft),Yt=!Dt;if((0,Ye.ZP)(Dt&&Zt||!Dt&&!Zt,"Expand state not sync with index check"),lt=Yt?(0,yt.L0)(lt,ft):(0,yt._5)(lt,ft),ue.setExpandedKeys(lt),nn==null||nn(lt,{node:et,expanded:Yt,nativeEvent:je.nativeEvent}),Yt&&Ut){var mn=ue.onNodeLoad(et);mn&&mn.then(function(){var Mn=(0,Ze.oH)(ue.state.treeData,lt,qt);ue.setUncontrolledState({flattenNodes:Mn})}).catch(function(){var Mn=ue.state.expandedKeys,Gn=(0,yt._5)(Mn,ft);ue.setExpandedKeys(Gn)})}}}),(0,le.Z)((0,Oe.Z)(ue),"onListChangeStart",function(){ue.setUncontrolledState({listChanging:!0})}),(0,le.Z)((0,Oe.Z)(ue),"onListChangeEnd",function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})}),(0,le.Z)((0,Oe.Z)(ue),"onActiveChange",function(je){var et=ue.state.activeKey,lt=ue.props,mt=lt.onActiveChange,Rt=lt.itemScrollOffset,qt=Rt===void 0?0:Rt;et!==je&&(ue.setState({activeKey:je}),je!==null&&ue.scrollTo({key:je,offset:qt}),mt==null||mt(je))}),(0,le.Z)((0,Oe.Z)(ue),"getActiveItem",function(){var je=ue.state,et=je.activeKey,lt=je.flattenNodes;return et===null?null:lt.find(function(mt){var Rt=mt.key;return Rt===et})||null}),(0,le.Z)((0,Oe.Z)(ue),"offsetActiveKey",function(je){var et=ue.state,lt=et.flattenNodes,mt=et.activeKey,Rt=lt.findIndex(function(nn){var Ut=nn.key;return Ut===mt});Rt===-1&&je<0&&(Rt=lt.length),Rt=(Rt+je+lt.length)%lt.length;var qt=lt[Rt];if(qt){var Wt=qt.key;ue.onActiveChange(Wt)}else ue.onActiveChange(null)}),(0,le.Z)((0,Oe.Z)(ue),"onKeyDown",function(je){var et=ue.state,lt=et.activeKey,mt=et.expandedKeys,Rt=et.checkedKeys,qt=et.fieldNames,Wt=ue.props,nn=Wt.onKeyDown,Ut=Wt.checkable,Dt=Wt.selectable;switch(je.which){case Ke.Z.UP:{ue.offsetActiveKey(-1),je.preventDefault();break}case Ke.Z.DOWN:{ue.offsetActiveKey(1),je.preventDefault();break}}var ft=ue.getActiveItem();if(ft&&ft.data){var Zt=ue.getTreeNodeRequiredProps(),Yt=ft.data.isLeaf===!1||!!(ft.data[qt.children]||[]).length,mn=(0,Ze.F)((0,Te.Z)((0,Te.Z)({},(0,Ze.H8)(lt,Zt)),{},{data:ft.data,active:!0}));switch(je.which){case Ke.Z.LEFT:{Yt&&mt.includes(lt)?ue.onNodeExpand({},mn):ft.parent&&ue.onActiveChange(ft.parent.key),je.preventDefault();break}case Ke.Z.RIGHT:{Yt&&!mt.includes(lt)?ue.onNodeExpand({},mn):ft.children&&ft.children.length&&ue.onActiveChange(ft.children[0].key),je.preventDefault();break}case Ke.Z.ENTER:case Ke.Z.SPACE:{Ut&&!mn.disabled&&mn.checkable!==!1&&!mn.disableCheckbox?ue.onNodeCheck({},mn,!Rt.includes(lt)):!Ut&&Dt&&!mn.disabled&&mn.selectable!==!1&&ue.onNodeSelect({},mn);break}}}nn==null||nn(je)}),(0,le.Z)((0,Oe.Z)(ue),"setUncontrolledState",function(je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var mt=!1,Rt=!0,qt={};Object.keys(je).forEach(function(Wt){if(ue.props.hasOwnProperty(Wt)){Rt=!1;return}mt=!0,qt[Wt]=je[Wt]}),mt&&(!et||Rt)&&ue.setState((0,Te.Z)((0,Te.Z)({},qt),lt))}}),(0,le.Z)((0,Oe.Z)(ue),"scrollTo",function(je){ue.listRef.current.scrollTo(je)}),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,De=me.activeKey,St=me.itemScrollOffset,je=St===void 0?0:St;De!==void 0&&De!==this.state.activeKey&&(this.setState({activeKey:De}),De!==null&&this.scrollTo({key:De,offset:je}))}},{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,De=me.focused,St=me.flattenNodes,je=me.keyEntities,et=me.draggingNodeKey,lt=me.activeKey,mt=me.dropLevelOffset,Rt=me.dropContainerKey,qt=me.dropTargetKey,Wt=me.dropPosition,nn=me.dragOverNodeKey,Ut=me.indent,Dt=this.props,ft=Dt.prefixCls,Zt=Dt.className,Yt=Dt.style,mn=Dt.showLine,Mn=Dt.focusable,Gn=Dt.tabIndex,yn=Gn===void 0?0:Gn,qn=Dt.selectable,$n=Dt.showIcon,dr=Dt.icon,Mr=Dt.switcherIcon,ar=Dt.draggable,Tr=Dt.checkable,Pr=Dt.checkStrictly,Hn=Dt.disabled,Rr=Dt.motion,Wr=Dt.loadData,Bt=Dt.filterTreeNode,jt=Dt.height,dn=Dt.itemHeight,cn=Dt.scrollWidth,Et=Dt.virtual,en=Dt.titleRender,kn=Dt.dropIndicatorRender,On=Dt.onContextMenu,zn=Dt.onScroll,Qn=Dt.direction,fr=Dt.rootClassName,hr=Dt.rootStyle,pr=(0,Ie.Z)(this.props,{aria:!0,data:!0}),Ar;ar&&((0,Ne.Z)(ar)==="object"?Ar=ar:typeof ar=="function"?Ar={nodeDraggable:ar}:Ar={});var Ln={prefixCls:ft,selectable:qn,showIcon:$n,icon:dr,switcherIcon:Mr,draggable:Ar,draggingNodeKey:et,checkable:Tr,checkStrictly:Pr,disabled:Hn,keyEntities:je,dropLevelOffset:mt,dropContainerKey:Rt,dropTargetKey:qt,dropPosition:Wt,dragOverNodeKey:nn,indent:Ut,direction:Qn,dropIndicatorRender:kn,loadData:Wr,filterTreeNode:Bt,titleRender:en,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(Ve.k.Provider,{value:Ln},He.createElement("div",{className:ye()(ft,Zt,fr,(0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(ft,"-show-line"),mn),"".concat(ft,"-focused"),De),"".concat(ft,"-active-focused"),lt!==null)),style:hr},He.createElement(We,(0,re.Z)({ref:this.listRef,prefixCls:ft,style:Yt,data:St,disabled:Hn,selectable:qn,checkable:!!Tr,motion:Rr,dragging:et!==null,height:jt,itemHeight:dn,virtual:Et,focusable:Mn,focused:De,tabIndex:yn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:On,onScroll:zn,scrollWidth:cn},this.getTreeNodeRequiredProps(),pr))))}}],[{key:"getDerivedStateFromProps",value:function(me,De){var St=De.prevProps,je={prevProps:me};function et(yn){return!St&&me.hasOwnProperty(yn)||St&&St[yn]!==me[yn]}var lt,mt=De.fieldNames;if(et("fieldNames")&&(mt=(0,Ze.w$)(me.fieldNames),je.fieldNames=mt),et("treeData")?lt=me.treeData:et("children")&&((0,Ye.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),lt=(0,Ze.zn)(me.children)),lt){je.treeData=lt;var Rt=(0,Ze.I8)(lt,{fieldNames:mt});je.keyEntities=(0,Te.Z)((0,le.Z)({},he,Lt),Rt.keyEntities)}var qt=je.keyEntities||De.keyEntities;if(et("expandedKeys")||St&&et("autoExpandParent"))je.expandedKeys=me.autoExpandParent||!St&&me.defaultExpandParent?(0,yt.r7)(me.expandedKeys,qt):me.expandedKeys;else if(!St&&me.defaultExpandAll){var Wt=(0,Te.Z)({},qt);delete Wt[he];var nn=[];Object.keys(Wt).forEach(function(yn){var qn=Wt[yn];qn.children&&qn.children.length&&nn.push(qn.key)}),je.expandedKeys=nn}else!St&&me.defaultExpandedKeys&&(je.expandedKeys=me.autoExpandParent||me.defaultExpandParent?(0,yt.r7)(me.defaultExpandedKeys,qt):me.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,lt||je.expandedKeys){var Ut=(0,Ze.oH)(lt||De.treeData,je.expandedKeys||De.expandedKeys,mt);je.flattenNodes=Ut}if(me.selectable&&(et("selectedKeys")?je.selectedKeys=(0,yt.BT)(me.selectedKeys,me):!St&&me.defaultSelectedKeys&&(je.selectedKeys=(0,yt.BT)(me.defaultSelectedKeys,me))),me.checkable){var Dt;if(et("checkedKeys")?Dt=(0,yt.E6)(me.checkedKeys)||{}:!St&&me.defaultCheckedKeys?Dt=(0,yt.E6)(me.defaultCheckedKeys)||{}:lt&&(Dt=(0,yt.E6)(me.checkedKeys)||{checkedKeys:De.checkedKeys,halfCheckedKeys:De.halfCheckedKeys}),Dt){var ft=Dt,Zt=ft.checkedKeys,Yt=Zt===void 0?[]:Zt,mn=ft.halfCheckedKeys,Mn=mn===void 0?[]:mn;if(!me.checkStrictly){var Gn=(0,Qe.S)(Yt,!0,qt);Yt=Gn.checkedKeys,Mn=Gn.halfCheckedKeys}je.checkedKeys=Yt,je.halfCheckedKeys=Mn}}return et("loadedKeys")&&(je.loadedKeys=me.loadedKeys),je}}]),te}(He.Component);(0,le.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,le.Z)(ce,"TreeNode",ge.Z);var ie=ce,z=ie},82661:function(wn,un,se){"use strict";se.d(un,{BT:function(){return He},E6:function(){return at},L0:function(){return le},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),Be=se(59301),Se=se(639),fe=se(65065),Oe=se(34061),be=null;function Pe(Fe,Ee){if(!Fe)return[];var Ge=Fe.slice(),Ue=Ge.indexOf(Ee);return Ue>=0&&Ge.splice(Ue,1),Ge}function le(Fe,Ee){var Ge=(Fe||[]).slice();return Ge.indexOf(Ee)===-1&&Ge.push(Ee),Ge}function nt(Fe){return Fe.split("-")}function ye(Fe,Ee){var Ge=[],Ue=(0,fe.Z)(Ee,Fe);function dt(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ge.forEach(function(ke){var ze=ke.key,Ze=ke.children;Ge.push(ze),dt(Ze)})}return dt(Ue.children),Ge}function Ke(Fe){if(Fe.parent){var Ee=nt(Fe.pos);return Number(Ee[Ee.length-1])===Fe.parent.children.length-1}return!1}function Ie(Fe){var Ee=nt(Fe.pos);return Number(Ee[Ee.length-1])===0}function Ye(Fe,Ee,Ge,Ue,dt,ge,ke,ze,Ze,_e){var Re,Je=Fe.clientX,Nt=Fe.clientY,ht=Fe.target.getBoundingClientRect(),gt=ht.top,At=ht.height,we=(_e==="rtl"?-1:1)*(((dt==null?void 0:dt.x)||0)-Je),he=(we-12)/Ue,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}),Lt=(0,fe.Z)(ze,Ge.eventKey);if(Nt<gt+At/2){var Tt=ke.findIndex(function(z){return z.key===Lt.key}),Xe=Tt<=0?0:Tt-1,bt=ke[Xe].key;Lt=(0,fe.Z)(ze,bt)}var $e=Lt.key,Ot=Lt,We=Lt.key,yt=0,Qe=0;if(!qe.includes($e))for(var Ft=0;Ft<he&&Ke(Lt);Ft+=1)Lt=Lt.parent,Qe+=1;var wt=Ee.data,ce=Lt.node,ie=!0;return Ie(Lt)&&Lt.level===0&&Nt<gt+At/2&&ge({dragNode:wt,dropNode:ce,dropPosition:-1})&&Lt.key===Ge.eventKey?yt=-1:(Ot.children||[]).length&&qe.includes(We)?ge({dragNode:wt,dropNode:ce,dropPosition:0})?yt=0:ie=!1:Qe===0?he>-1.5?ge({dragNode:wt,dropNode:ce,dropPosition:1})?yt=1:ie=!1:ge({dragNode:wt,dropNode:ce,dropPosition:0})?yt=0:ge({dragNode:wt,dropNode:ce,dropPosition:1})?yt=1:ie=!1:ge({dragNode:wt,dropNode:ce,dropPosition:1})?yt=1:ie=!1,{dropPosition:yt,dropLevelOffset:Qe,dropTargetKey:Lt.key,dropTargetPos:Lt.pos,dragOverNodeKey:We,dropContainerKey:yt===0?null:((Re=Lt.parent)===null||Re===void 0?void 0:Re.key)||null,dropAllowed:ie}}function He(Fe,Ee){if(Fe){var Ge=Ee.multiple;return Ge?Fe.slice():Fe.length?[Fe[0]]:Fe}}var Ve=function(Ee){return Ee};function ut(Fe,Ee){if(!Fe)return[];var Ge=Ee||{},Ue=Ge.processProps,dt=Ue===void 0?Ve:Ue,ge=Array.isArray(Fe)?Fe:[Fe];return ge.map(function(ke){var ze=ke.children,Ze=_objectWithoutProperties(ke,be),_e=ut(ze,Ee);return React.createElement(TreeNode,_extends({key:Ze.key},dt(Ze)),_e)})}function at(Fe){if(!Fe)return null;var Ee;if(Array.isArray(Fe))Ee={checkedKeys:Fe,halfCheckedKeys:void 0};else if((0,Ne.Z)(Fe)==="object")Ee={checkedKeys:Fe.checked||void 0,halfCheckedKeys:Fe.halfChecked||void 0};else return(0,Te.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Ee}function rt(Fe,Ee){var Ge=new Set;function Ue(dt){if(!Ge.has(dt)){var ge=(0,fe.Z)(Ee,dt);if(ge){Ge.add(dt);var ke=ge.parent,ze=ge.node;ze.disabled||ke&&Ue(ke.key)}}}return(Fe||[]).forEach(function(dt){Ue(dt)}),(0,re.Z)(Ge)}},34643:function(wn,un,se){"use strict";se.d(un,{S:function(){return Oe}});var re=se(48736),Ne=se(65065);function Te(be,Pe){var le=new Set;return be.forEach(function(nt){Pe.has(nt)||le.add(nt)}),le}function Be(be){var Pe=be||{},le=Pe.disabled,nt=Pe.disableCheckbox,ye=Pe.checkable;return!!(le||nt)||ye===!1}function Se(be,Pe,le,nt){for(var ye=new Set(be),Ke=new Set,Ie=0;Ie<=le;Ie+=1){var Ye=Pe.get(Ie)||new Set;Ye.forEach(function(at){var rt=at.key,Fe=at.node,Ee=at.children,Ge=Ee===void 0?[]:Ee;ye.has(rt)&&!nt(Fe)&&Ge.filter(function(Ue){return!nt(Ue.node)}).forEach(function(Ue){ye.add(Ue.key)})})}for(var He=new Set,Ve=le;Ve>=0;Ve-=1){var ut=Pe.get(Ve)||new Set;ut.forEach(function(at){var rt=at.parent,Fe=at.node;if(!(nt(Fe)||!at.parent||He.has(at.parent.key))){if(nt(at.parent.node)){He.add(rt.key);return}var Ee=!0,Ge=!1;(rt.children||[]).filter(function(Ue){return!nt(Ue.node)}).forEach(function(Ue){var dt=Ue.key,ge=ye.has(dt);Ee&&!ge&&(Ee=!1),!Ge&&(ge||Ke.has(dt))&&(Ge=!0)}),Ee&&ye.add(rt.key),Ge&&Ke.add(rt.key),He.add(rt.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(Te(Ke,ye))}}function fe(be,Pe,le,nt,ye){for(var Ke=new Set(be),Ie=new Set(Pe),Ye=0;Ye<=nt;Ye+=1){var He=le.get(Ye)||new Set;He.forEach(function(rt){var Fe=rt.key,Ee=rt.node,Ge=rt.children,Ue=Ge===void 0?[]:Ge;!Ke.has(Fe)&&!Ie.has(Fe)&&!ye(Ee)&&Ue.filter(function(dt){return!ye(dt.node)}).forEach(function(dt){Ke.delete(dt.key)})})}Ie=new Set;for(var Ve=new Set,ut=nt;ut>=0;ut-=1){var at=le.get(ut)||new Set;at.forEach(function(rt){var Fe=rt.parent,Ee=rt.node;if(!(ye(Ee)||!rt.parent||Ve.has(rt.parent.key))){if(ye(rt.parent.node)){Ve.add(Fe.key);return}var Ge=!0,Ue=!1;(Fe.children||[]).filter(function(dt){return!ye(dt.node)}).forEach(function(dt){var ge=dt.key,ke=Ke.has(ge);Ge&&!ke&&(Ge=!1),!Ue&&(ke||Ie.has(ge))&&(Ue=!0)}),Ge||Ke.delete(Fe.key),Ue&&Ie.add(Fe.key),Ve.add(Fe.key)}})}return{checkedKeys:Array.from(Ke),halfCheckedKeys:Array.from(Te(Ie,Ke))}}function Oe(be,Pe,le,nt){var ye=[],Ke;nt?Ke=nt:Ke=Be;var Ie=new Set(be.filter(function(ut){var at=!!(0,Ne.Z)(le,ut);return at||ye.push(ut),at})),Ye=new Map,He=0;Object.keys(le).forEach(function(ut){var at=le[ut],rt=at.level,Fe=Ye.get(rt);Fe||(Fe=new Set,Ye.set(rt,Fe)),Fe.add(at),He=Math.max(He,rt)}),(0,re.ZP)(!ye.length,"Tree missing follow keys: ".concat(ye.slice(0,100).map(function(ut){return"'".concat(ut,"'")}).join(", ")));var Ve;return Pe===!0?Ve=Se(Ie,Ye,He,Ke):Ve=fe(Ie,Pe.halfCheckedKeys,Ye,He,Ke),Ve}},65065:function(wn,un,se){"use strict";se.d(un,{Z:function(){return re}});function re(Ne,Te){return Ne[Te]}},34061:function(wn,un,se){"use strict";se.d(un,{F:function(){return rt},H8:function(){return at},I8:function(){return ut},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),Be=se(43079),Se=se(11592),fe=se(2738),Oe=se(48736),be=se(65065),Pe=["children"];function le(Fe,Ee){return"".concat(Fe,"-").concat(Ee)}function nt(Fe){return Fe&&Fe.type&&Fe.type.isTreeNode}function ye(Fe,Ee){return Fe!=null?Fe:Ee}function Ke(Fe){var Ee=Fe||{},Ge=Ee.title,Ue=Ee._title,dt=Ee.key,ge=Ee.children,ke=Ge||"title";return{title:ke,_title:Ue||[ke],key:dt||"key",children:ge||"children"}}function Ie(Fe,Ee){var Ge=new Map;function Ue(dt){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(dt||[]).forEach(function(ke){var ze=ke[Ee.key],Ze=ke[Ee.children];warning(ze!=null,"Tree node must have a certain key: [".concat(ge).concat(ze,"]"));var _e=String(ze);warning(!Ge.has(_e)||ze===null||ze===void 0,"Same 'key' exist in the Tree: ".concat(_e)),Ge.set(_e,!0),Ue(Ze,"".concat(ge).concat(_e," > "))})}Ue(Fe)}function Ye(Fe){function Ee(Ge){var Ue=(0,Se.Z)(Ge);return Ue.map(function(dt){if(!nt(dt))return(0,Oe.ZP)(!dt,"Tree/TreeNode can only accept TreeNode as children."),null;var ge=dt.key,ke=dt.props,ze=ke.children,Ze=(0,Be.Z)(ke,Pe),_e=(0,Te.Z)({key:ge},Ze),Re=Ee(ze);return Re.length&&(_e.children=Re),_e}).filter(function(dt){return dt})}return Ee(Fe)}function He(Fe,Ee,Ge){var Ue=Ke(Ge),dt=Ue._title,ge=Ue.key,ke=Ue.children,ze=new Set(Ee===!0?[]:Ee),Ze=[];function _e(Re){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Re.map(function(Nt,ht){for(var gt=le(Je?Je.pos:"0",ht),At=ye(Nt[ge],gt),we,he=0;he<dt.length;he+=1){var qe=dt[he];if(Nt[qe]!==void 0){we=Nt[qe];break}}var Lt=Object.assign((0,fe.Z)(Nt,[].concat((0,Ne.Z)(dt),[ge,ke])),{title:we,key:At,parent:Je,pos:gt,children:null,data:Nt,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(Lt),Ee===!0||ze.has(At)?Lt.children=_e(Nt[ke]||[],Lt):Lt.children=[],Lt})}return _e(Fe),Ze}function Ve(Fe,Ee,Ge){var Ue={};(0,re.Z)(Ge)==="object"?Ue=Ge:Ue={externalGetKey:Ge},Ue=Ue||{};var dt=Ue,ge=dt.childrenPropName,ke=dt.externalGetKey,ze=dt.fieldNames,Ze=Ke(ze),_e=Ze.key,Re=Ze.children,Je=ge||Re,Nt;ke?typeof ke=="string"?Nt=function(At){return At[ke]}:typeof ke=="function"&&(Nt=function(At){return ke(At)}):Nt=function(At,we){return ye(At[_e],we)};function ht(gt,At,we,he){var qe=gt?gt[Je]:Fe,Lt=gt?le(we.pos,At):"0",Tt=gt?[].concat((0,Ne.Z)(he),[gt]):[];if(gt){var Xe=Nt(gt,Lt),bt={node:gt,index:At,pos:Lt,key:Xe,parentPos:we.node?we.pos:null,level:we.level+1,nodes:Tt};Ee(bt)}qe&&qe.forEach(function($e,Ot){ht($e,Ot,{node:gt,pos:Lt,level:we?we.level+1:-1},Tt)})}ht(null)}function ut(Fe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ge=Ee.initWrapper,Ue=Ee.processEntity,dt=Ee.onProcessFinished,ge=Ee.externalGetKey,ke=Ee.childrenPropName,ze=Ee.fieldNames,Ze=arguments.length>2?arguments[2]:void 0,_e=ge||Ze,Re={},Je={},Nt={posEntities:Re,keyEntities:Je};return Ge&&(Nt=Ge(Nt)||Nt),Ve(Fe,function(ht){var gt=ht.node,At=ht.index,we=ht.pos,he=ht.key,qe=ht.parentPos,Lt=ht.level,Tt=ht.nodes,Xe={node:gt,nodes:Tt,index:At,key:he,pos:we,level:Lt},bt=ye(he,we);Re[we]=Xe,Je[bt]=Xe,Xe.parent=Re[qe],Xe.parent&&(Xe.parent.children=Xe.parent.children||[],Xe.parent.children.push(Xe)),Ue&&Ue(Xe,Nt)},{externalGetKey:_e,childrenPropName:ke,fieldNames:ze}),dt&&dt(Nt),Nt}function at(Fe,Ee){var Ge=Ee.expandedKeys,Ue=Ee.selectedKeys,dt=Ee.loadedKeys,ge=Ee.loadingKeys,ke=Ee.checkedKeys,ze=Ee.halfCheckedKeys,Ze=Ee.dragOverNodeKey,_e=Ee.dropPosition,Re=Ee.keyEntities,Je=(0,be.Z)(Re,Fe),Nt={eventKey:Fe,expanded:Ge.indexOf(Fe)!==-1,selected:Ue.indexOf(Fe)!==-1,loaded:dt.indexOf(Fe)!==-1,loading:ge.indexOf(Fe)!==-1,checked:ke.indexOf(Fe)!==-1,halfChecked:ze.indexOf(Fe)!==-1,pos:String(Je?Je.pos:""),dragOver:Ze===Fe&&_e===0,dragOverGapTop:Ze===Fe&&_e===-1,dragOverGapBottom:Ze===Fe&&_e===1};return Nt}function rt(Fe){var Ee=Fe.data,Ge=Fe.expanded,Ue=Fe.selected,dt=Fe.checked,ge=Fe.loaded,ke=Fe.loading,ze=Fe.halfChecked,Ze=Fe.dragOver,_e=Fe.dragOverGapTop,Re=Fe.dragOverGapBottom,Je=Fe.pos,Nt=Fe.active,ht=Fe.eventKey,gt=(0,Te.Z)((0,Te.Z)({},Ee),{},{expanded:Ge,selected:Ue,checked:dt,loaded:ge,loading:ke,halfChecked:ze,dragOver:Ze,dragOverGapTop:_e,dragOverGapBottom:Re,pos:Je,active:Nt,key:ht});return"props"in gt||Object.defineProperty(gt,"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`."),Fe}}),gt}},90472:function(wn,un,se){"use strict";se.d(un,{Z:function(){return ht}});var re=se(32855),Ne=se(33377),Te=se(93912),Be=se(83383),Se=se(18881),fe=se(85461),Oe=se(74430),be=se(59301),Pe=se(27247),le=se(43079),nt=se(34666),ye=se(13932),Ke=se(68702),Ie=se(3300),Ye=se(92310),He=se.n(Ye),Ve=se(26112),ut=se(48736),at=function(gt,At){if(gt&&At){var we=Array.isArray(At)?At:At.split(","),he=gt.name||"",qe=gt.type||"",Lt=qe.replace(/\/.*$/,"");return we.some(function(Tt){var Xe=Tt.trim();if(/^\*(\/\*)?$/.test(Tt))return!0;if(Xe.charAt(0)==="."){var bt=he.toLowerCase(),$e=Xe.toLowerCase(),Ot=[$e];return($e===".jpg"||$e===".jpeg")&&(Ot=[".jpg",".jpeg"]),Ot.some(function(We){return bt.endsWith(We)})}return/\/\*$/.test(Xe)?Lt===Xe.replace(/\/.*$/,""):qe===Xe?!0:/^\w+$/.test(Xe)?((0,ut.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Xe,"'.Skip for check.")),!0):!1})}return!0};function rt(gt,At){var we="cannot ".concat(gt.method," ").concat(gt.action," ").concat(At.status,"'"),he=new Error(we);return he.status=At.status,he.method=gt.method,he.url=gt.action,he}function Fe(gt){var At=gt.responseText||gt.response;if(!At)return At;try{return JSON.parse(At)}catch(we){return At}}function Ee(gt){var At=new XMLHttpRequest;gt.onProgress&&At.upload&&(At.upload.onprogress=function(Lt){Lt.total>0&&(Lt.percent=Lt.loaded/Lt.total*100),gt.onProgress(Lt)});var we=new FormData;gt.data&&Object.keys(gt.data).forEach(function(qe){var Lt=gt.data[qe];if(Array.isArray(Lt)){Lt.forEach(function(Tt){we.append("".concat(qe,"[]"),Tt)});return}we.append(qe,Lt)}),gt.file instanceof Blob?we.append(gt.filename,gt.file,gt.file.name):we.append(gt.filename,gt.file),At.onerror=function(Lt){gt.onError(Lt)},At.onload=function(){return At.status<200||At.status>=300?gt.onError(rt(gt,At),Fe(At)):gt.onSuccess(Fe(At),At)},At.open(gt.method,gt.action,!0),gt.withCredentials&&"withCredentials"in At&&(At.withCredentials=!0);var he=gt.headers||{};return he["X-Requested-With"]!==null&&At.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(he).forEach(function(qe){he[qe]!==null&&At.setRequestHeader(qe,he[qe])}),At.send(we),{abort:function(){At.abort()}}}var Ge=function(){var gt=(0,Ke.Z)((0,ye.Z)().mark(function At(we,he){var qe,Lt,Tt,Xe,bt,$e,Ot,We;return(0,ye.Z)().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:$e=function(){return $e=(0,Ke.Z)((0,ye.Z)().mark(function wt(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()}},wt)})),$e.apply(this,arguments)},bt=function(wt){return $e.apply(this,arguments)},Xe=function(){return Xe=(0,Ke.Z)((0,ye.Z)().mark(function wt(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(De){ie.readEntries(De,function(){return De([])})});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()}},wt)})),Xe.apply(this,arguments)},Tt=function(wt){return Xe.apply(this,arguments)},qe=[],Lt=[],we.forEach(function(Ft){return Lt.push(Ft.webkitGetAsEntry())}),Ot=function(){var Ft=(0,Ke.Z)((0,ye.Z)().mark(function wt(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,bt(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,Tt(ce);case 13:ee=te.sent,Lt.push.apply(Lt,(0,Ie.Z)(ee));case 15:case"end":return te.stop()}},wt)}));return function(ce,ie){return Ft.apply(this,arguments)}}(),We=0;case 9:if(!(We<Lt.length)){Qe.next=15;break}return Qe.next=12,Ot(Lt[We]);case 12:We++,Qe.next=9;break;case 15:return Qe.abrupt("return",qe);case 16:case"end":return Qe.stop()}},At)}));return function(we,he){return gt.apply(this,arguments)}}(),Ue=Ge,dt=+new Date,ge=0;function ke(){return"rc-upload-".concat(dt,"-").concat(++ge)}var ze=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ze=function(gt){(0,Se.Z)(we,gt);var At=(0,fe.Z)(we);function we(){var he;(0,Ne.Z)(this,we);for(var qe=arguments.length,Lt=new Array(qe),Tt=0;Tt<qe;Tt++)Lt[Tt]=arguments[Tt];return he=At.call.apply(At,[this].concat(Lt)),(0,Oe.Z)((0,Be.Z)(he),"state",{uid:ke()}),(0,Oe.Z)((0,Be.Z)(he),"reqs",{}),(0,Oe.Z)((0,Be.Z)(he),"fileInput",void 0),(0,Oe.Z)((0,Be.Z)(he),"_isMounted",void 0),(0,Oe.Z)((0,Be.Z)(he),"onChange",function(Xe){var bt=he.props,$e=bt.accept,Ot=bt.directory,We=Xe.target.files,yt=(0,Ie.Z)(We).filter(function(Qe){return!Ot||at(Qe,$e)});he.uploadFiles(yt),he.reset()}),(0,Oe.Z)((0,Be.Z)(he),"onClick",function(Xe){var bt=he.fileInput;if(bt){var $e=Xe.target,Ot=he.props.onClick;if($e&&$e.tagName==="BUTTON"){var We=bt.parentNode;We.focus(),$e.blur()}bt.click(),Ot&&Ot(Xe)}}),(0,Oe.Z)((0,Be.Z)(he),"onKeyDown",function(Xe){Xe.key==="Enter"&&he.onClick(Xe)}),(0,Oe.Z)((0,Be.Z)(he),"onFileDrop",function(){var Xe=(0,Ke.Z)((0,ye.Z)().mark(function bt($e){var Ot,We,yt;return(0,ye.Z)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:if(Ot=he.props.multiple,$e.preventDefault(),$e.type!=="dragover"){Ft.next=4;break}return Ft.abrupt("return");case 4:if(!he.props.directory){Ft.next=11;break}return Ft.next=7,Ue(Array.prototype.slice.call($e.dataTransfer.items),function(wt){return at(wt,he.props.accept)});case 7:We=Ft.sent,he.uploadFiles(We),Ft.next=14;break;case 11:yt=(0,Ie.Z)($e.dataTransfer.files).filter(function(wt){return at(wt,he.props.accept)}),Ot===!1&&(yt=yt.slice(0,1)),he.uploadFiles(yt);case 14:case"end":return Ft.stop()}},bt)}));return function(bt){return Xe.apply(this,arguments)}}()),(0,Oe.Z)((0,Be.Z)(he),"uploadFiles",function(Xe){var bt=(0,Ie.Z)(Xe),$e=bt.map(function(Ot){return Ot.uid=ke(),he.processFile(Ot,bt)});Promise.all($e).then(function(Ot){var We=he.props.onBatchStart;We==null||We(Ot.map(function(yt){var Qe=yt.origin,Ft=yt.parsedFile;return{file:Qe,parsedFile:Ft}})),Ot.filter(function(yt){return yt.parsedFile!==null}).forEach(function(yt){he.post(yt)})})}),(0,Oe.Z)((0,Be.Z)(he),"processFile",function(){var Xe=(0,Ke.Z)((0,ye.Z)().mark(function bt($e,Ot){var We,yt,Qe,Ft,wt,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=$e,!We){te.next=14;break}return te.prev=3,te.next=6,We($e,Ot);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:$e,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($e);case 18:Ft=te.sent,te.next=22;break;case 21:Ft=Qe;case 22:if(wt=he.props.data,typeof wt!="function"){te.next=29;break}return te.next=26,wt($e);case 26:ce=te.sent,te.next=30;break;case 29:ce=wt;case 30:return ie=((0,nt.Z)(yt)==="object"||typeof yt=="string")&&yt?yt:$e,ie instanceof File?z=ie:z=new File([ie],$e.name,{type:$e.type}),ee=z,ee.uid=$e.uid,te.abrupt("return",{origin:$e,data:ce,parsedFile:ee,action:Ft});case 35:case"end":return te.stop()}},bt,null,[[3,9]])}));return function(bt,$e){return Xe.apply(this,arguments)}}()),(0,Oe.Z)((0,Be.Z)(he),"saveFileInput",function(Xe){he.fileInput=Xe}),he}return(0,Te.Z)(we,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(qe){var Lt=this,Tt=qe.data,Xe=qe.origin,bt=qe.action,$e=qe.parsedFile;if(this._isMounted){var Ot=this.props,We=Ot.onStart,yt=Ot.customRequest,Qe=Ot.name,Ft=Ot.headers,wt=Ot.withCredentials,ce=Ot.method,ie=Xe.uid,z=yt||Ee,ee={action:bt,filename:Qe,data:Tt,file:$e,headers:Ft,withCredentials:wt,method:ce||"post",onProgress:function(te){var ue=Lt.props.onProgress;ue==null||ue(te,$e)},onSuccess:function(te,ue){var me=Lt.props.onSuccess;me==null||me(te,$e,ue),delete Lt.reqs[ie]},onError:function(te,ue){var me=Lt.props.onError;me==null||me(te,ue,$e),delete Lt.reqs[ie]}};We(Xe),this.reqs[ie]=z(ee)}}},{key:"reset",value:function(){this.setState({uid:ke()})}},{key:"abort",value:function(qe){var Lt=this.reqs;if(qe){var Tt=qe.uid?qe.uid:qe;Lt[Tt]&&Lt[Tt].abort&&Lt[Tt].abort(),delete Lt[Tt]}else Object.keys(Lt).forEach(function(Xe){Lt[Xe]&&Lt[Xe].abort&&Lt[Xe].abort(),delete Lt[Xe]})}},{key:"render",value:function(){var qe=this.props,Lt=qe.component,Tt=qe.prefixCls,Xe=qe.className,bt=qe.classNames,$e=bt===void 0?{}:bt,Ot=qe.disabled,We=qe.id,yt=qe.name,Qe=qe.style,Ft=qe.styles,wt=Ft===void 0?{}:Ft,ce=qe.multiple,ie=qe.accept,z=qe.capture,ee=qe.children,ne=qe.directory,te=qe.openFileDialogOnClick,ue=qe.onMouseEnter,me=qe.onMouseLeave,De=qe.hasControlInside,St=(0,le.Z)(qe,ze),je=He()((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Tt,!0),"".concat(Tt,"-disabled"),Ot),Xe,Xe)),et=ne?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},lt=Ot?{}:{onClick:te?this.onClick:function(){},onKeyDown:te?this.onKeyDown:function(){},onMouseEnter:ue,onMouseLeave:me,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:De?void 0:"0"};return be.createElement(Lt,(0,re.Z)({},lt,{className:je,role:De?void 0:"button",style:Qe}),be.createElement("input",(0,re.Z)({},(0,Ve.Z)(St,{aria:!0,data:!0}),{id:We,name:yt,disabled:Ot,type:"file",ref:this.saveFileInput,onClick:function(Rt){return Rt.stopPropagation()},key:this.state.uid,style:(0,Pe.Z)({display:"none"},wt.input),className:$e.input,accept:ie},et,{multiple:ce,onChange:this.onChange},z!=null?{capture:z}:{})),ee)}}]),we}(be.Component),_e=Ze;function Re(){}var Je=function(gt){(0,Se.Z)(we,gt);var At=(0,fe.Z)(we);function we(){var he;(0,Ne.Z)(this,we);for(var qe=arguments.length,Lt=new Array(qe),Tt=0;Tt<qe;Tt++)Lt[Tt]=arguments[Tt];return he=At.call.apply(At,[this].concat(Lt)),(0,Oe.Z)((0,Be.Z)(he),"uploader",void 0),(0,Oe.Z)((0,Be.Z)(he),"saveUploader",function(Xe){he.uploader=Xe}),he}return(0,Te.Z)(we,[{key:"abort",value:function(qe){this.uploader.abort(qe)}},{key:"render",value:function(){return be.createElement(_e,(0,re.Z)({},this.props,{ref:this.saveUploader}))}}]),we}(be.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 Nt=Je,ht=Nt},8224:function(wn,un,se){"use strict";se.d(un,{Z:function(){return Ne}});var re=se(4676);function Ne(Te,Be,Se,fe){var Oe=re.unstable_batchedUpdates?function(Pe){re.unstable_batchedUpdates(Se,Pe)}:Se;return Te!=null&&Te.addEventListener&&Te.addEventListener(Be,Oe,fe),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(Be,Oe,fe)}}}},24514:function(wn,un,se){"use strict";se.d(un,{G:function(){return Be}});var re=se(47273),Ne=function(fe){if((0,re.Z)()&&window.document.documentElement){var Oe=Array.isArray(fe)?fe:[fe],be=window.document.documentElement;return Oe.some(function(Pe){return Pe in be.style})}return!1},Te=function(fe,Oe){if(!Ne(fe))return!1;var be=document.createElement("div"),Pe=be.style[fe];return be.style[fe]=Oe,be.style[fe]!==Pe};function Be(Se,fe){return!Array.isArray(Se)&&fe!==void 0?Te(Se,fe):Ne(Se)}},6790:function(wn,un,se){"use strict";se.d(un,{Z:function(){return wt}});var re=se(32855),Ne=se(34666),Te=se(27247),Be=se(74430),Se=se(11913),fe=se(43079),Oe=se(92310),be=se.n(Oe),Pe=se(29301),le=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,De=ce.innerProps,St=ce.rtl,je=ce.extra,et={},lt={display:"flex",flexDirection:"column"};return ee!==void 0&&(et={height:z,position:"relative",overflow:"hidden"},lt=(0,Te.Z)((0,Te.Z)({},lt),{},(0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)({transform:"translateY(".concat(ee,"px)")},St?"marginRight":"marginLeft",-ne),"position","absolute"),"left",0),"right",0),"top",0))),ye.createElement("div",{style:et},ye.createElement(Pe.Z,{onResize:function(Rt){var qt=Rt.offsetHeight;qt&&me&&me()}},ye.createElement("div",(0,re.Z)({style:lt,className:be()((0,Be.Z)({},"".concat(ue,"-holder-inner"),ue)),ref:ie},De),te,je)))});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 Ve(ce,ie,z,ee,ne,te,ue,me){var De=me.getKey;return ce.slice(ie,z+1).map(function(St,je){var et=ie+je,lt=ue(St,et,{style:{width:ee},offsetX:ne}),mt=De(St);return ye.createElement(He,{key:mt,setRef:function(qt){return te(St,qt)}},lt)})}function ut(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 De(Rt){return Rt!==void 0?z(Rt):me}for(var St=null,je=Math.abs(ee-ne)!==1,et=0;et<ue.length;et+=1){var lt=De(te[et]),mt=De(ue[et]);if(lt!==mt){St=et,je=je||lt!==De(ue[et+1]);break}}return St===null?null:{index:St,multiple:je}}function rt(ce,ie,z){var ee=ye.useState(ce),ne=(0,Se.Z)(ee,2),te=ne[0],ue=ne[1],me=ye.useState(null),De=(0,Se.Z)(me,2),St=De[0],je=De[1];return ye.useEffect(function(){var et=at(te||[],ce||[],ie);(et==null?void 0:et.index)!==void 0&&(z==null||z(et.index),je(ce[et.index])),ue(ce)},[ce]),[St]}var Fe=se(16089),Ee=(typeof navigator=="undefined"?"undefined":(0,Ne.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ge=Ee,Ue=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(De,St){var je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,et=De?St<0&&me.current.left||St>0&&me.current.right:St<0&&me.current.top||St>0&&me.current.bottom;return je&&et?(clearTimeout(te.current),ne.current=!1):(!et||ne.current)&&ue(),!ne.current&&et}};function dt(ce,ie,z,ee,ne,te,ue){var me=(0,ye.useRef)(0),De=(0,ye.useRef)(null),St=(0,ye.useRef)(null),je=(0,ye.useRef)(!1),et=Ue(ie,z,ee,ne);function lt(Ut,Dt){if(Fe.Z.cancel(De.current),!et(!1,Dt)){var ft=Ut;if(!ft._virtualHandled)ft._virtualHandled=!0;else return;me.current+=Dt,St.current=Dt,Ge||ft.preventDefault(),De.current=(0,Fe.Z)(function(){var Zt=je.current?10:1;ue(me.current*Zt,!1),me.current=0})}}function mt(Ut,Dt){ue(Dt,!0),Ge||Ut.preventDefault()}var Rt=(0,ye.useRef)(null),qt=(0,ye.useRef)(null);function Wt(Ut){if(ce){Fe.Z.cancel(qt.current),qt.current=(0,Fe.Z)(function(){Rt.current=null},2);var Dt=Ut.deltaX,ft=Ut.deltaY,Zt=Ut.shiftKey,Yt=Dt,mn=ft;(Rt.current==="sx"||!Rt.current&&Zt&&ft&&!Dt)&&(Yt=ft,mn=0,Rt.current="sx");var Mn=Math.abs(Yt),Gn=Math.abs(mn);Rt.current===null&&(Rt.current=te&&Mn>Gn?"x":"y"),Rt.current==="y"?lt(Ut,mn):mt(Ut,Yt)}}function nn(Ut){ce&&(je.current=Ut.detail===St.current)}return[Wt,nn]}function ge(ce,ie,z,ee){var ne=ye.useMemo(function(){return[new Map,[]]},[ce,z.id,ee]),te=(0,Se.Z)(ne,2),ue=te[0],me=te[1],De=function(je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,lt=ue.get(je),mt=ue.get(et);if(lt===void 0||mt===void 0)for(var Rt=ce.length,qt=me.length;qt<Rt;qt+=1){var Wt,nn=ce[qt],Ut=ie(nn);ue.set(Ut,qt);var Dt=(Wt=z.get(Ut))!==null&&Wt!==void 0?Wt:ee;if(me[qt]=(me[qt-1]||0)+Dt,Ut===je&&(lt=qt),Ut===et&&(mt=qt),lt!==void 0&&mt!==void 0)break}return{top:me[lt-1]||0,bottom:me[mt]}};return De}var ke=se(33377),ze=se(93912),Ze=function(){function ce(){(0,ke.Z)(this,ce),(0,Be.Z)(this,"maps",void 0),(0,Be.Z)(this,"id",0),(0,Be.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,Se.Z)(ee,2),te=ne[0],ue=ne[1],me=(0,ye.useRef)(new Map),De=(0,ye.useRef)(new _e),St=(0,ye.useRef)(0);function je(){St.current+=1}function et(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;je();var Rt=function(){var nn=!1;me.current.forEach(function(Ut,Dt){if(Ut&&Ut.offsetParent){var ft=Ut.offsetHeight,Zt=getComputedStyle(Ut),Yt=Zt.marginTop,mn=Zt.marginBottom,Mn=Re(Yt),Gn=Re(mn),yn=ft+Mn+Gn;De.current.get(Dt)!==yn&&(De.current.set(Dt,yn),nn=!0)}}),nn&&ue(function(Ut){return Ut+1})};if(mt)Rt();else{St.current+=1;var qt=St.current;Promise.resolve().then(function(){qt===St.current&&Rt()})}}function lt(mt,Rt){var qt=ce(mt),Wt=me.current.get(qt);Rt?(me.current.set(qt,Rt),et()):me.current.delete(qt),!Wt!=!Rt&&(Rt?ie==null||ie(mt):z==null||z(mt))}return(0,ye.useEffect)(function(){return je},[]),[lt,et,De.current,te]}var Nt=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),De,St=function(mt){if(ee.current){var Rt=Math.ceil(mt.touches[0].pageX),qt=Math.ceil(mt.touches[0].pageY),Wt=ne.current-Rt,nn=te.current-qt,Ut=Math.abs(Wt)>Math.abs(nn);Ut?ne.current=Rt:te.current=qt;var Dt=z(Ut,Ut?Wt:nn,!1,mt);Dt&&mt.preventDefault(),clearInterval(me.current),Dt&&(me.current=setInterval(function(){Ut?Wt*=Nt:nn*=Nt;var ft=Math.floor(Ut?Wt:nn);(!z(Ut,ft,!0)||Math.abs(ft)<=.1)&&clearInterval(me.current)},16))}},je=function(){ee.current=!1,De()},et=function(mt){De(),mt.touches.length===1&&!ee.current&&(ee.current=!0,ne.current=Math.ceil(mt.touches[0].pageX),te.current=Math.ceil(mt.touches[0].pageY),ue.current=mt.target,ue.current.addEventListener("touchmove",St,{passive:!1}),ue.current.addEventListener("touchend",je,{passive:!0}))};De=function(){ue.current&&(ue.current.removeEventListener("touchmove",St),ue.current.removeEventListener("touchend",je))},(0,nt.Z)(function(){return ce&&ie.current.addEventListener("touchstart",et,{passive:!0}),function(){var lt;(lt=ie.current)===null||lt===void 0||lt.removeEventListener("touchstart",et),De(),clearInterval(me.current)}},[ce])}function gt(ce){return Math.floor(Math.pow(ce,.5))}function At(ce,ie){var z="touches"in ce?ce.touches[0]:ce;return z[ie?"pageX":"pageY"]-window[ie?"scrollX":"scrollY"]}function we(ce,ie,z){ye.useEffect(function(){var ee=ie.current;if(ce&&ee){var ne=!1,te,ue,me=function(){Fe.Z.cancel(te)},De=function lt(){me(),te=(0,Fe.Z)(function(){z(ue),lt()})},St=function(mt){if(!(mt.target.draggable||mt.button!==0)){var Rt=mt;Rt._virtualHandled||(Rt._virtualHandled=!0,ne=!0)}},je=function(){ne=!1,me()},et=function(mt){if(ne){var Rt=At(mt,!1),qt=ee.getBoundingClientRect(),Wt=qt.top,nn=qt.bottom;if(Rt<=Wt){var Ut=Wt-Rt;ue=-gt(Ut),De()}else if(Rt>=nn){var Dt=Rt-nn;ue=gt(Dt),De()}else me()}};return ee.addEventListener("mousedown",St),ee.ownerDocument.addEventListener("mouseup",je),ee.ownerDocument.addEventListener("mousemove",et),function(){ee.removeEventListener("mousedown",St),ee.ownerDocument.removeEventListener("mouseup",je),ee.ownerDocument.removeEventListener("mousemove",et),me()}}},[ce])}var he=10;function qe(ce,ie,z,ee,ne,te,ue,me){var De=ye.useRef(),St=ye.useState(null),je=(0,Se.Z)(St,2),et=je[0],lt=je[1];return(0,nt.Z)(function(){if(et&&et.times<he){if(!ce.current){lt(function(Rr){return(0,Te.Z)({},Rr)});return}te();var mt=et.targetAlign,Rt=et.originAlign,qt=et.index,Wt=et.offset,nn=ce.current.clientHeight,Ut=!1,Dt=mt,ft=null;if(nn){for(var Zt=mt||Rt,Yt=0,mn=0,Mn=0,Gn=Math.min(ie.length-1,qt),yn=0;yn<=Gn;yn+=1){var qn=ne(ie[yn]);mn=Yt;var $n=z.get(qn);Mn=mn+($n===void 0?ee:$n),Yt=Mn}for(var dr=Zt==="top"?Wt:nn-Wt,Mr=Gn;Mr>=0;Mr-=1){var ar=ne(ie[Mr]),Tr=z.get(ar);if(Tr===void 0){Ut=!0;break}if(dr-=Tr,dr<=0)break}switch(Zt){case"top":ft=mn-Wt;break;case"bottom":ft=Mn-nn+Wt;break;default:{var Pr=ce.current.scrollTop,Hn=Pr+nn;mn<Pr?Dt="top":Mn>Hn&&(Dt="bottom")}}ft!==null&&ue(ft),ft!==et.lastTop&&(Ut=!0)}Ut&&lt((0,Te.Z)((0,Te.Z)({},et),{},{times:et.times+1,targetAlign:Dt,lastTop:ft}))}},[et,ce.current]),function(mt){if(mt==null){me();return}if(Fe.Z.cancel(De.current),typeof mt=="number")ue(mt);else if(mt&&(0,Ne.Z)(mt)==="object"){var Rt,qt=mt.align;"index"in mt?Rt=mt.index:Rt=ie.findIndex(function(Ut){return ne(Ut)===mt.key});var Wt=mt.offset,nn=Wt===void 0?0:Wt;lt({times:0,index:Rt,offset:nn,originAlign:qt})}}}var Lt=ye.forwardRef(function(ce,ie){var z=ce.prefixCls,ee=ce.rtl,ne=ce.scrollOffset,te=ce.scrollRange,ue=ce.onStartMove,me=ce.onStopMove,De=ce.onScroll,St=ce.horizontal,je=ce.spinSize,et=ce.containerSize,lt=ce.style,mt=ce.thumbStyle,Rt=ce.showScrollBar,qt=ye.useState(!1),Wt=(0,Se.Z)(qt,2),nn=Wt[0],Ut=Wt[1],Dt=ye.useState(null),ft=(0,Se.Z)(Dt,2),Zt=ft[0],Yt=ft[1],mn=ye.useState(null),Mn=(0,Se.Z)(mn,2),Gn=Mn[0],yn=Mn[1],qn=!ee,$n=ye.useRef(),dr=ye.useRef(),Mr=ye.useState(Rt),ar=(0,Se.Z)(Mr,2),Tr=ar[0],Pr=ar[1],Hn=ye.useRef(),Rr=function(){Rt===!0||Rt===!1||(clearTimeout(Hn.current),Pr(!0),Hn.current=setTimeout(function(){Pr(!1)},3e3))},Wr=te-et||0,Bt=et-je||0,jt=ye.useMemo(function(){if(ne===0||Wr===0)return 0;var fr=ne/Wr;return fr*Bt},[ne,Wr,Bt]),dn=function(hr){hr.stopPropagation(),hr.preventDefault()},cn=ye.useRef({top:jt,dragging:nn,pageY:Zt,startTop:Gn});cn.current={top:jt,dragging:nn,pageY:Zt,startTop:Gn};var Et=function(hr){Ut(!0),Yt(At(hr,St)),yn(cn.current.top),ue(),hr.stopPropagation(),hr.preventDefault()};ye.useEffect(function(){var fr=function(Ln){Ln.preventDefault()},hr=$n.current,pr=dr.current;return hr.addEventListener("touchstart",fr,{passive:!1}),pr.addEventListener("touchstart",Et,{passive:!1}),function(){hr.removeEventListener("touchstart",fr),pr.removeEventListener("touchstart",Et)}},[]);var en=ye.useRef();en.current=Wr;var kn=ye.useRef();kn.current=Bt,ye.useEffect(function(){if(nn){var fr,hr=function(Ln){var _t=cn.current,Xn=_t.dragging,Nr=_t.pageY,Hr=_t.startTop;Fe.Z.cancel(fr);var ct=$n.current.getBoundingClientRect(),Ct=et/(St?ct.width:ct.height);if(Xn){var Tn=(At(Ln,St)-Nr)*Ct,En=Hr;!qn&&St?En-=Tn:En+=Tn;var Pt=en.current,Sn=kn.current,Wn=Sn?En/Sn:0,Vn=Math.ceil(Wn*Pt);Vn=Math.max(Vn,0),Vn=Math.min(Vn,Pt),fr=(0,Fe.Z)(function(){De(Vn,St)})}},pr=function(){Ut(!1),me()};return window.addEventListener("mousemove",hr,{passive:!0}),window.addEventListener("touchmove",hr,{passive:!0}),window.addEventListener("mouseup",pr,{passive:!0}),window.addEventListener("touchend",pr,{passive:!0}),function(){window.removeEventListener("mousemove",hr),window.removeEventListener("touchmove",hr),window.removeEventListener("mouseup",pr),window.removeEventListener("touchend",pr),Fe.Z.cancel(fr)}}},[nn]),ye.useEffect(function(){return Rr(),function(){clearTimeout(Hn.current)}},[ne]),ye.useImperativeHandle(ie,function(){return{delayHidden:Rr}});var On="".concat(z,"-scrollbar"),zn={position:"absolute",visibility:Tr?null:"hidden"},Qn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return St?(Object.assign(zn,{height:8,left:0,right:0,bottom:0}),Object.assign(Qn,(0,Be.Z)({height:"100%",width:je},qn?"left":"right",jt))):(Object.assign(zn,(0,Be.Z)({width:8,top:0,bottom:0},qn?"right":"left",0)),Object.assign(Qn,{width:"100%",height:je,top:jt})),ye.createElement("div",{ref:$n,className:be()(On,(0,Be.Z)((0,Be.Z)((0,Be.Z)({},"".concat(On,"-horizontal"),St),"".concat(On,"-vertical"),!St),"".concat(On,"-visible"),Tr)),style:(0,Te.Z)((0,Te.Z)({},zn),lt),onMouseDown:dn,onMouseMove:Rr},ye.createElement("div",{ref:dr,className:be()("".concat(On,"-thumb"),(0,Be.Z)({},"".concat(On,"-thumb-moving"),nn)),style:(0,Te.Z)((0,Te.Z)({},Qn),mt),onMouseDown:Et}))}),Tt=Lt,Xe=20;function bt(){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 $e=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ot=[],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,De=me===void 0?!0:me,St=ce.style,je=ce.data,et=ce.children,lt=ce.itemKey,mt=ce.virtual,Rt=ce.direction,qt=ce.scrollWidth,Wt=ce.component,nn=Wt===void 0?"div":Wt,Ut=ce.onScroll,Dt=ce.onVirtualScroll,ft=ce.onVisibleChange,Zt=ce.innerProps,Yt=ce.extraRender,mn=ce.styles,Mn=ce.showScrollBar,Gn=Mn===void 0?"optional":Mn,yn=(0,fe.Z)(ce,$e),qn=ye.useCallback(function(It){return typeof lt=="function"?lt(It):It==null?void 0:It[lt]},[lt]),$n=Je(qn,null,null),dr=(0,Se.Z)($n,4),Mr=dr[0],ar=dr[1],Tr=dr[2],Pr=dr[3],Hn=!!(mt!==!1&&te&&ue),Rr=ye.useMemo(function(){return Object.values(Tr.maps).reduce(function(It,ln){return It+ln},0)},[Tr.id,Tr.maps]),Wr=Hn&&je&&(Math.max(ue*je.length,Rr)>te||!!qt),Bt=Rt==="rtl",jt=be()(ee,(0,Be.Z)({},"".concat(ee,"-rtl"),Bt),ne),dn=je||Ot,cn=(0,ye.useRef)(),Et=(0,ye.useRef)(),en=(0,ye.useRef)(),kn=(0,ye.useState)(0),On=(0,Se.Z)(kn,2),zn=On[0],Qn=On[1],fr=(0,ye.useState)(0),hr=(0,Se.Z)(fr,2),pr=hr[0],Ar=hr[1],Ln=(0,ye.useState)(!1),_t=(0,Se.Z)(Ln,2),Xn=_t[0],Nr=_t[1],Hr=function(){Nr(!0)},ct=function(){Nr(!1)},Ct={getKey:qn};function Tn(It){Qn(function(ln){var fn;typeof It=="function"?fn=It(ln):fn=It;var sn=Ki(fn);return cn.current.scrollTop=sn,sn})}var En=(0,ye.useRef)({start:0,end:dn.length}),Pt=(0,ye.useRef)(),Sn=rt(dn,qn),Wn=(0,Se.Z)(Sn,1),Vn=Wn[0];Pt.current=Vn;var er=ye.useMemo(function(){if(!Hn)return{scrollHeight:void 0,start:0,end:dn.length-1,offset:void 0};if(!Wr){var It;return{scrollHeight:((It=Et.current)===null||It===void 0?void 0:It.offsetHeight)||0,start:0,end:dn.length-1,offset:void 0}}for(var ln=0,fn,sn,bn,rn=dn.length,oe=0;oe<rn;oe+=1){var xe=dn[oe],Ce=qn(xe),Le=Tr.get(Ce),Me=ln+(Le===void 0?ue:Le);Me>=zn&&fn===void 0&&(fn=oe,sn=ln),Me>zn+te&&bn===void 0&&(bn=oe),ln=Me}return fn===void 0&&(fn=0,sn=0,bn=Math.ceil(te/ue)),bn===void 0&&(bn=dn.length-1),bn=Math.min(bn+1,dn.length-1),{scrollHeight:ln,start:fn,end:bn,offset:sn}},[Wr,Hn,zn,dn,Pr,te]),Un=er.scrollHeight,tr=er.start,kt=er.end,Vr=er.offset;En.current.start=tr,En.current.end=kt,ye.useLayoutEffect(function(){var It=Tr.getRecord();if(It.size===1){var ln=Array.from(It.keys())[0],fn=It.get(ln),sn=dn[tr];if(sn&&fn===void 0){var bn=qn(sn);if(bn===ln){var rn=Tr.get(ln),oe=rn-ue;Tn(function(xe){return xe+oe})}}}Tr.resetRecord()},[Un]);var ir=ye.useState({width:0,height:te}),Sr=(0,Se.Z)(ir,2),Ir=Sr[0],Ur=Sr[1],Jr=function(ln){Ur({width:ln.offsetWidth,height:ln.offsetHeight})},Ai=(0,ye.useRef)(),ui=(0,ye.useRef)(),ei=ye.useMemo(function(){return bt(Ir.width,qt)},[Ir.width,qt]),Si=ye.useMemo(function(){return bt(Ir.height,Un)},[Ir.height,Un]),ti=Un-te,Fi=(0,ye.useRef)(ti);Fi.current=ti;function Ki(It){var ln=It;return Number.isNaN(Fi.current)||(ln=Math.min(ln,Fi.current)),ln=Math.max(ln,0),ln}var Oi=zn<=0,Ti=zn>=ti,Wi=pr<=0,Ni=pr>=qt,gi=Ue(Oi,Ti,Wi,Ni),Ui=function(){return{x:Bt?-pr:pr,y:zn}},Pi=(0,ye.useRef)(Ui()),kr=(0,le.zX)(function(It){if(Dt){var ln=(0,Te.Z)((0,Te.Z)({},Ui()),It);(Pi.current.x!==ln.x||Pi.current.y!==ln.y)&&(Dt(ln),Pi.current=ln)}});function jr(It,ln){var fn=It;ln?((0,Ke.flushSync)(function(){Ar(fn)}),kr()):Tn(fn)}function ri(It){var ln=It.currentTarget.scrollTop;ln!==zn&&Tn(ln),Ut==null||Ut(It),kr()}var bi=function(ln){var fn=ln,sn=qt?qt-Ir.width:0;return fn=Math.max(fn,0),fn=Math.min(fn,sn),fn},yi=(0,le.zX)(function(It,ln){ln?((0,Ke.flushSync)(function(){Ar(function(fn){var sn=fn+(Bt?-It:It);return bi(sn)})}),kr()):Tn(function(fn){var sn=fn+It;return sn})}),Ei=dt(Hn,Oi,Ti,Wi,Ni,!!qt,yi),Ji=(0,Se.Z)(Ei,2),tt=Ji[0],Kt=Ji[1];ht(Hn,cn,function(It,ln,fn,sn){var bn=sn;return gi(It,ln,fn)?!1:!bn||!bn._virtualHandled?(bn&&(bn._virtualHandled=!0),tt({preventDefault:function(){},deltaX:It?ln:0,deltaY:It?0:ln}),!0):!1}),we(Wr,cn,function(It){Tn(function(ln){return ln+It})}),(0,nt.Z)(function(){function It(fn){var sn=Oi&&fn.detail<0,bn=Ti&&fn.detail>0;Hn&&!sn&&!bn&&fn.preventDefault()}var ln=cn.current;return ln.addEventListener("wheel",tt,{passive:!1}),ln.addEventListener("DOMMouseScroll",Kt,{passive:!0}),ln.addEventListener("MozMousePixelScroll",It,{passive:!1}),function(){ln.removeEventListener("wheel",tt),ln.removeEventListener("DOMMouseScroll",Kt),ln.removeEventListener("MozMousePixelScroll",It)}},[Hn,Oi,Ti]),(0,nt.Z)(function(){if(qt){var It=bi(pr);Ar(It),kr({x:It})}},[Ir.width,qt]);var Mt=function(){var ln,fn;(ln=Ai.current)===null||ln===void 0||ln.delayHidden(),(fn=ui.current)===null||fn===void 0||fn.delayHidden()},Gt=qe(cn,dn,Tr,ue,qn,function(){return ar(!0)},Tn,Mt);ye.useImperativeHandle(ie,function(){return{nativeElement:en.current,getScrollInfo:Ui,scrollTo:function(ln){function fn(sn){return sn&&(0,Ne.Z)(sn)==="object"&&("left"in sn||"top"in sn)}fn(ln)?(ln.left!==void 0&&Ar(bi(ln.left)),Gt(ln.top)):Gt(ln)}}}),(0,nt.Z)(function(){if(ft){var It=dn.slice(tr,kt+1);ft(It,dn)}},[tr,kt,dn]);var tn=ge(dn,qn,Tr,ue),Cn=Yt==null?void 0:Yt({start:tr,end:kt,virtual:Wr,offsetX:pr,offsetY:Vr,rtl:Bt,getSize:tn}),In=Ve(dn,tr,kt,qt,pr,Mr,et,Ct),Dn=null;te&&(Dn=(0,Te.Z)((0,Be.Z)({},De?"height":"maxHeight",te),We),Hn&&(Dn.overflowY="hidden",qt&&(Dn.overflowX="hidden"),Xn&&(Dn.pointerEvents="none")));var An={};return Bt&&(An.dir="rtl"),ye.createElement("div",(0,re.Z)({ref:en,style:(0,Te.Z)((0,Te.Z)({},St),{},{position:"relative"}),className:jt},An,yn),ye.createElement(Pe.Z,{onResize:Jr},ye.createElement(nn,{className:"".concat(ee,"-holder"),style:Dn,ref:cn,onScroll:ri,onMouseEnter:Mt},ye.createElement(Ye,{prefixCls:ee,height:Un,offsetX:pr,offsetY:Vr,scrollWidth:qt,onInnerResize:ar,ref:Et,innerProps:Zt,rtl:Bt,extra:Cn},In))),Wr&&Un>te&&ye.createElement(Tt,{ref:Ai,prefixCls:ee,scrollOffset:zn,scrollRange:Un,rtl:Bt,onScroll:jr,onStartMove:Hr,onStopMove:ct,spinSize:Si,containerSize:Ir.height,style:mn==null?void 0:mn.verticalScrollBar,thumbStyle:mn==null?void 0:mn.verticalScrollBarThumb,showScrollBar:Gn}),Wr&&qt>Ir.width&&ye.createElement(Tt,{ref:ui,prefixCls:ee,scrollOffset:pr,scrollRange:qt,rtl:Bt,onScroll:jr,onStartMove:Hr,onStopMove:ct,spinSize:ei,containerSize:Ir.width,horizontal:!0,style:mn==null?void 0:mn.horizontalScrollBar,thumbStyle:mn==null?void 0:mn.horizontalScrollBarThumb,showScrollBar:Gn}))}var Qe=ye.forwardRef(yt);Qe.displayName="List";var Ft=Qe,wt=Ft},25510:function(wn){"use strict";wn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnu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vt2223Mq+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/8vp38s1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y2X7YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(wn,un,se){"use strict";wn.exports=se.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(wn){"use strict";wn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAA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F0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(wn,un,se){"use strict";se.d(un,{Z:function(){return be}});const re=Pe=>typeof Pe=="object"&&Pe!=null&&Pe.nodeType===1,Ne=(Pe,le)=>(!le||Pe!=="hidden")&&Pe!=="visible"&&Pe!=="clip",Te=(Pe,le)=>{if(Pe.clientHeight<Pe.scrollHeight||Pe.clientWidth<Pe.scrollWidth){const nt=getComputedStyle(Pe,null);return Ne(nt.overflowY,le)||Ne(nt.overflowX,le)||(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},Be=(Pe,le,nt,ye,Ke,Ie,Ye,He)=>Ie<Pe&&Ye>le||Ie>Pe&&Ye<le?0:Ie<=Pe&&He<=nt||Ye>=le&&He>=nt?Ie-Pe-ye:Ye>le&&He<nt||Ie<Pe&&He>nt?Ye-le+Ke:0,Se=Pe=>{const le=Pe.parentElement;return le==null?Pe.getRootNode().host||null:le},fe=(Pe,le)=>{var nt,ye,Ke,Ie;if(typeof document=="undefined")return[];const{scrollMode:Ye,block:He,inline:Ve,boundary:ut,skipOverflowHiddenElements:at}=le,rt=typeof ut=="function"?ut:Tt=>Tt!==ut;if(!re(Pe))throw new TypeError("Invalid target");const Fe=document.scrollingElement||document.documentElement,Ee=[];let Ge=Pe;for(;re(Ge)&&rt(Ge);){if(Ge=Se(Ge),Ge===Fe){Ee.push(Ge);break}Ge!=null&&Ge===document.body&&Te(Ge)&&!Te(document.documentElement)||Ge!=null&&Te(Ge,at)&&Ee.push(Ge)}const Ue=(ye=(nt=window.visualViewport)==null?void 0:nt.width)!=null?ye:innerWidth,dt=(Ie=(Ke=window.visualViewport)==null?void 0:Ke.height)!=null?Ie:innerHeight,{scrollX:ge,scrollY:ke}=window,{height:ze,width:Ze,top:_e,right:Re,bottom:Je,left:Nt}=Pe.getBoundingClientRect(),{top:ht,right:gt,bottom:At,left:we}=(Tt=>{const Xe=window.getComputedStyle(Tt);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+At:_e+ze/2-ht+At,qe=Ve==="center"?Nt+Ze/2-we+gt:Ve==="end"?Re+gt:Nt-we;const Lt=[];for(let Tt=0;Tt<Ee.length;Tt++){const Xe=Ee[Tt],{height:bt,width:$e,top:Ot,right:We,bottom:yt,left:Qe}=Xe.getBoundingClientRect();if(Ye==="if-needed"&&_e>=0&&Nt>=0&&Je<=dt&&Re<=Ue&&(Xe===Fe&&!Te(Xe)||_e>=Ot&&Je<=yt&&Nt>=Qe&&Re<=We))return Lt;const Ft=getComputedStyle(Xe),wt=parseInt(Ft.borderLeftWidth,10),ce=parseInt(Ft.borderTopWidth,10),ie=parseInt(Ft.borderRightWidth,10),z=parseInt(Ft.borderBottomWidth,10);let ee=0,ne=0;const te="offsetWidth"in Xe?Xe.offsetWidth-Xe.clientWidth-wt-ie:0,ue="offsetHeight"in Xe?Xe.offsetHeight-Xe.clientHeight-ce-z:0,me="offsetWidth"in Xe?Xe.offsetWidth===0?0:$e/Xe.offsetWidth:0,De="offsetHeight"in Xe?Xe.offsetHeight===0?0:bt/Xe.offsetHeight:0;if(Fe===Xe)ee=He==="start"?he:He==="end"?he-dt:He==="nearest"?Be(ke,ke+dt,dt,ce,z,ke+he,ke+he+ze,ze):he-dt/2,ne=Ve==="start"?qe:Ve==="center"?qe-Ue/2:Ve==="end"?qe-Ue:Be(ge,ge+Ue,Ue,wt,ie,ge+qe,ge+qe+Ze,Ze),ee=Math.max(0,ee+ke),ne=Math.max(0,ne+ge);else{ee=He==="start"?he-Ot-ce:He==="end"?he-yt+z+ue:He==="nearest"?Be(Ot,yt,bt,ce,z+ue,he,he+ze,ze):he-(Ot+bt/2)+ue/2,ne=Ve==="start"?qe-Qe-wt:Ve==="center"?qe-(Qe+$e/2)+te/2:Ve==="end"?qe-We+ie+te:Be(Qe,We,$e,wt,ie+te,qe,qe+Ze,Ze);const{scrollLeft:St,scrollTop:je}=Xe;ee=De===0?0:Math.max(0,Math.min(je+ee/De,Xe.scrollHeight-bt/De+ue)),ne=me===0?0:Math.max(0,Math.min(St+ne/me,Xe.scrollWidth-$e/me+te)),he+=je-ee,qe+=St-ne}Lt.push({el:Xe,top:ee,left:ne})}return Lt},Oe=Pe=>Pe===!1?{block:"end",inline:"nearest"}:(le=>le===Object(le)&&Object.keys(le).length!==0)(Pe)?Pe:{block:"start",inline:"nearest"};function be(Pe,le){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")(le))return le.behavior(fe(Pe,le));const ye=typeof le=="boolean"||le==null?void 0:le.behavior;for(const{el:Ke,top:Ie,left:Ye}of fe(Pe,Oe(le))){const He=Ie-nt.top+nt.bottom,Ve=Ye-nt.left+nt.right;Ke.scroll({top:He,left:Ve,behavior:ye})}}}}]);