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__User__Detail__ExperIment...

1201 lines
1.0 MiB

This file contains ambiguous Unicode characters!

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

(self.webpackChunk=self.webpackChunk||[]).push([[3157],{40001:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},26227:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},41464:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},73331:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},15277:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},33853:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},61485:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},47472:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},87395:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(60499),$e=re(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(he,Ze){return $e.createElement(Se.Z,(0,E.Z)({},he,{ref:Ze,icon:Ye}))},Ie=$e.forwardRef(Ee),Te=Ie},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(dn,Jt){"use strict";Jt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},4420:function(){"use strict"},84915: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 dn={},Jt="5.0",re={},E=null,$e=!1,ve=!1,Ye=null,Se=!1,Ee=null,Ie=null,Te=0;Te<arguments.length;Te++){var Pe=arguments[Te];if(Pe!==null)switch(typeof Pe){case"number":Jt=Pe.toFixed(1);break;case"string":Pe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Jt=Pe:Ye=Pe;break;case"object":typeof Pe.is3D!="undefined"?E=Pe:re=Pe;break;case"boolean":$e=Pe,ve=!0;break}}E===null&&(E={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},re.material_id!==void 0&&!ve&&($e=!0)),Ye!==null&&re.id===void 0&&(re.id=Ye);var he="",Ze="",xe=!1,At=null,rt=null,ze=null,Ue=!1,We=null,Ct=null,Nt=null,Ft=null,St=null;re.height!==void 0&&(re.height=Math.round(re.height)),re.width!==void 0&&(re.width=Math.round(re.width));var pt=function(me){return parseFloat(me)>4?parseFloat(me):5};dn.setHTML5Codebase=function(me,He){Ie=me,xt(me,He)},dn.setJavaCodebase=dn.setJavaCodebaseVersion=dn.isCompiledInstalled=dn.setPreCompiledScriptPath=dn.setPreCompiledResourcePath=function(){},dn.setHTML5CodebaseVersion=function(me,He){var Qe=parseFloat(me);if(Qe!==NaN&&Qe<5){console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead.");return}Ee=me,de(me,He)},dn.getHTML5CodebaseVersion=function(){return rt},dn.getParameters=function(){return re},dn.setFontsCSSURL=function(me){Ft=me},dn.setGiacJSURL=function(me){},dn.setJNLPFile=function(me){he=me},dn.setJNLPBaseDir=function(me){},dn.inject=function(){function me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var He="auto",Qe=re.id,jt,Lt=!1,Kt=0;Kt<arguments.length;Kt++){var je=arguments[Kt];typeof je=="string"?(je=je.toLowerCase(),je.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?He=je:Qe=arguments[Kt]):typeof je=="boolean"?Lt=je:je instanceof HTMLElement&&(jt=je)}Yt();function Yt(){if(!Se){setTimeout(Yt,200);return}He=Ht(He);var vt=jt||document.getElementById(Qe);if(!vt){console.log("possibly bug on ajax loading? ");return}if(dn.removeExistingApplet(vt,!1),re.width===void 0&&vt.clientWidth&&(re.width=vt.clientWidth),re.height===void 0&&vt.clientHeight&&(re.height=vt.clientHeight),!(re.width&&re.height)&&He==="html5"&&(delete re.width,delete re.height),At=He,He==="screenshot")Je(vt,re);else{var ae=!1;re.hasOwnProperty("playButton")&&re.playButton||re.hasOwnProperty("clickToLoad")&&re.clickToLoad?ae=!0:re.hasOwnProperty("playButtonAutoDecide")&&re.playButtonAutoDecide&&(ae=(!ct()||me())&&et()),ae?(At="screenshot",mt(vt,re,Lt,He)):it(vt,re,Lt)}}};function ct(){try{return window.self!==window.top}catch(me){return!0}}function et(){return re.hasOwnProperty("screenshotGenerator")&&re.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}dn.getViews=function(){return E},dn.isJavaInstalled=function(){return!1};var Tt=function(me){var He=function(Kt){var je=JSON.parse(Kt),Yt=function(te){return te.type=="G"||te.type=="E"},vt=je.elements?je.elements.filter(Yt)[0]:je;if(!vt||!vt.url){Qe();return}re.fileName=vt.url,st(vt.settings||{}),E.is3D=!0;var ae="https://www.geogebra.org/images/";dn.setPreviewImage(We||vt.previewUrl,ae+"GeoGebra_loading.png",ae+"applet_play.png"),me()},Qe=function(){re.onError&&re.onError(),Qt("Error: Fetching material (id "+re.material_id+") failed.",re)},jt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Lt="/materials/"+re.material_id+"?scope=basic";at("https://"+jt+"/api/proxy.php?path="+encodeURIComponent(Lt),He,Qe)};function st(me){var He=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Qe){me[Qe]=!!me[Qe]}),He.forEach(function(Qe){re[Qe]===void 0&&me[Qe]!==void 0&&(re[Qe]=me[Qe])}),re.showToolBarHelp===void 0&&(re.showToolBarHelp=re.showToolBar)}function at(me,He,Qe){var jt=new XMLHttpRequest;jt.open("GET",me),jt.onload=function(){He(jt.responseText)},jt.onerror=Qe,jt.send()}dn.isHTML5Installed=function(){return!0},dn.getLoadedAppletType=function(){return At},dn.setPreviewImage=function(me,He,Qe){We=me,Ct=He,Nt=Qe},dn.removeExistingApplet=function(me,He){var Qe;typeof me=="string"&&(me=document.getElementById(me)),At=null;var jt=null;for(Qe=0;Qe<me.childNodes.length;Qe++){var Lt=me.childNodes[Qe],Kt=Lt.className;Kt==="applet_screenshot"?He?(Lt.style.display="block",At="screenshot"):Lt.style.display="none":Kt!=="applet_scaler prerender"&&(me.removeChild(Lt),jt=Kt&&Kt.indexOf("appletParameters")!=-1?Lt.id:null,Qe--)}var je=re.id!==void 0?re.id:jt,Yt=window[je];Yt&&typeof Yt.getBase64=="function"&&(Yt.remove(),window[je]=null)},dn.refreshHitPoints=function(){if(pt(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var me=dn.getAppletObject();return me&&typeof me.recalculateEnvironments=="function"?(me.recalculateEnvironments(),!0):!1},dn.startAnimation=function(){var me=dn.getAppletObject();return me&&typeof me.startAnimation=="function"?(me.startAnimation(),!0):!1},dn.stopAnimation=function(){var me=dn.getAppletObject();return me&&typeof me.stopAnimation=="function"?(me.stopAnimation(),!0):!1},dn.getAppletObject=function(){var me=re.id!==void 0?re.id:"ggbApplet";return window[me]},dn.resize=function(){};var bt=function(me,He,Qe){var jt=document.createElement("param");jt.setAttribute("name",He),jt.setAttribute("value",Qe),me.appendChild(jt)},Be=function(me){return me&&me!=="false"},it=function(me,He,Qe){pt(rt)<=4.2&&(Qe=!0);var jt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==rt||ggbHTML5LoadedCodebaseIsWebSimple&&!Ue)&&(jt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Lt=document.createElement("div");Lt.classList.add("appletParameters","notranslate");var Kt=He.width,je=He.height;if(He.disableAutoScale=He.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():He.disableAutoScale,He.width!==void 0)if(pt(rt)<=4.4)Be(He.showToolBar)&&(He.height-=7),Be(He.showAlgebraInput)&&(He.height-=37),He.width<605&&Be(He.showToolBar)&&(He.width=605,Kt=605);else{var Yt=100;(Be(He.showToolBar)||Be(He.showMenuBar))&&(He.hasOwnProperty("customToolBar")&&(He.customToolbar=He.customToolBar),Yt=Be(He.showMenuBar)?245:155),Kt<Yt&&(He.width=Yt,Kt=Yt)}Lt.style.border="none",Lt.style.display="inline-block";for(var vt in He)He.hasOwnProperty(vt)&&vt!=="appletOnLoad"&&Lt.setAttribute("data-param-"+vt,He[vt]);Ft&&Lt.setAttribute("data-param-fontscssurl",Ft),dn.resize=function(){GGBAppletUtils.responsiveResize(me,He)},window.addEventListener("resize",function(Pt){dn.resize()});var ae=typeof He.appletOnLoad=="function"?He.appletOnLoad:function(){};if(!Qe&&He.width!==void 0){He.hasOwnProperty("showSplash")||Lt.setAttribute("data-param-showSplash","false");var te=me.querySelector(".applet_scaler.prerender"),ee=te!==null;if(ee)var oe=te.querySelector(".ggb_preview");else{var oe=qe(Kt,je,He.borderColor,!1);te=document.createElement("div"),te.className="applet_scaler",te.style.position="relative",te.style.display="block",te.style.width=Kt+"px",te.style.height=je+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(te,"66%"),pt(rt)>=5?(He.appletOnLoad=function(Pt){var Ot=me.querySelector(".ggb_preview");Ot&&Ot.parentNode.removeChild(Ot),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(te),window.GGBT_wsf_view&&$(window).trigger("resize"),ae(Pt)},ee||te.appendChild(oe)):Lt.appendChild(oe),te.appendChild(Lt),ee||me.appendChild(te),setTimeout(function(){dn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Lt),me.appendChild(se),He.appletOnLoad=function(Pt){dn.resize(),ae(Pt)}}function ne(Pt,Ot){Ot&&typeof Ot.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pt,Ot.appletOnLoad):renderGGBElement(Pt),Qt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ot)}function pe(Pt,Ot){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pt,params:Ot}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(tn){ne(tn.article,tn.params)}),html5AppletsToProcess=null)},pt(rt)<5&&(Pt.className+=" geogebraweb")):ne(Pt,Ot)}if(jt){scriptLoadStarted=!0;for(var ye=0;ye<Lt.childNodes.length;ye++){var lt=Lt.childNodes[ye].tagName;lt==="TABLE"&&(Lt.removeChild(Lt.childNodes[ye]),ye--)}if(ggbHTML5LoadedScript!==null){var Ae=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ae!=null&&Ae.parentNode.removeChild(Ae)}var Ne=document.createElement("script"),tt=function(){pe(Lt,He)};Ne.src=Ze+ze,ggbHTML5LoadedCodebaseIsWebSimple=Ue,ggbHTML5LoadedCodebaseVersion=rt,ggbHTML5LoadedScript=Ne.src,Qt("GeoGebra HTML5 codebase loaded: '"+Ze+"'.",He),!Ie&&(!Ee||Ee=="5.0")?(Ue?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),tt()):Ze.requirejs?__webpack_require__.e(4510).then(function(){var Pt=[__webpack_require__(4510)];tt.apply(null,Pt)}.bind(this)).catch(__webpack_require__.oe):(Ne.onload=tt,me.appendChild(Ne))}else pe(Lt,He);He.height=je,He.width=Kt},Je=function(me,He,Qe){var jt=qe(He.width,He.height,He.borderColor,Qe),Lt=document.createElement("div");Lt.style.position="relative",Lt.style.display="block",Lt.style.width=He.width+"px",Lt.style.height=He.height+"px",Lt.className="applet_screenshot applet_scaler"+(Qe?" applet_screenshot_play":""),Lt.appendChild(jt);var Kt=GGBAppletUtils.getScale(He,me,Qe);Qe?(me.appendChild(Le()),window.GGBT_wsf_view||(me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Lt,"66%"),me.appendChild(Lt),Kt!==1&&!isNaN(Kt)&&(GGBAppletUtils.scaleElement(Lt,Kt),Lt.style.width=He.width+"px",Lt.style.height=He.height+"px",Lt.parentNode.style.width=He.width*Kt+"px",Lt.parentNode.style.height=He.height*Kt+"px"),dn.resize=function(){ue(me,jt,Lt,Qe)},window.addEventListener("resize",function(je){dn.resize()}),dn.resize()};function ue(me,He,Qe,jt){if(me.contains(He)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(me)}var Lt=GGBAppletUtils.getScale(re,me,jt);Qe.parentNode!==null&&(!isNaN(Lt)&&Lt!==1?(GGBAppletUtils.scaleElement(Qe,Lt),Qe.parentNode.style.width=re.width*Lt+"px",Qe.parentNode.style.height=re.height*Lt+"px"):(GGBAppletUtils.scaleElement(Qe,1),Qe.parentNode.style.width=re.width+"px",Qe.parentNode.style.height=re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}dn.onExitFullscreen=function(me,He){He.appendChild(me)};var mt=function(me,He,Qe,jt){Je(me,He,!0);for(var Lt=function(){var Yt=[];for(je=0;je<me.childNodes.length;je++)Yt.push(me.childNodes[je]);if(window.GGBT_wsf_view){var vt=window.GGBT_wsf_view.renderFullScreen(me,He.id),ae=document.getElementById("fullscreencontainer"),te=jQuery(me).find(".fullscreencontent");te.length>0?(vt.remove(),te.attr("id","fullscreencontent").show(),jQuery(ae).append(te),window.dispatchEvent(new Event("resize"))):it(vt,He,!1),window.GGBT_wsf_view.launchFullScreen(ae)}else At=jt,it(me,He,!1);if(!window.GGBT_wsf_view)for(je=0;je<Yt.length;je++)me.removeChild(Yt[je])},Kt=me.getElementsByClassName("ggb_preview_play"),je=0;je<Kt.length;je++)Kt[je].addEventListener("click",Lt,!1),Kt[je].addEventListener("ontouchstart",Lt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(me),et()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Le=function(){var me=document.createElement("div");if(me.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var He='.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");}',Qe=document.createElement("style");Qe.styleSheet?Qe.styleSheet.cssText=He:Qe.appendChild(document.createTextNode(He)),document.getElementsByTagName("head")[0].appendChild(Qe)}return me},qe=function(me,He,Qe,jt){var Lt=document.createElement("div");Lt.className="ggb_preview",Lt.style.position="absolute",Lt.style.zIndex="90",Lt.style.width=me-2+"px",Lt.style.height=He-2+"px",Lt.style.top="0px",Lt.style.left="0px",Lt.style.overflow="hidden",Lt.style.backgroundColor="white";var Kt="lightgrey";Qe!==void 0&&(Qe==="none"?Kt="transparent":Kt=Qe),Lt.style.border="1px solid "+Kt;var je=document.createElement("img");if(je.style.position="relative",je.style.zIndex="1000",je.style.top="-1px",je.style.left="-1px",We!==null&&je.setAttribute("src",We),je.style.opacity=.7,Ct!==null){var Yt,vt,ae;if(!jt){Yt=document.createElement("img"),Yt.style.position="absolute",Yt.style.zIndex="1001",Yt.style.opacity=1,je.style.opacity=.3,vt=360,vt>me/4*3&&(vt=me/4*3),ae=vt/5.8,Yt.setAttribute("src",Ct),Yt.setAttribute("width",vt),Yt.setAttribute("height",ae);var te=(me-vt)/2,ee=(He-ae)/2;Yt.style.left=te+"px",Yt.style.top=ee+"px",Lt.appendChild(Yt)}}return Lt.appendChild(je),Lt},Ht=function(me){return me=me.toLowerCase(),me==="html5"||me==="screenshot"?me:"html5"},we=["web","webSimple","web3d","tablet","tablet3d","phone"],de=function(me,He){if(rt=me,He){xt(rt,!0);return}var Qe=!$e;if(Qe){var jt=pt(rt);!isNaN(jt)&&jt<4.4&&(Qe=!1)}var Lt,Kt;window.location.protocol.substr(0,4)==="http"?Lt=window.location.protocol:Lt="http:";var je=rt.indexOf("//");je>0?Kt=rt:je===0?Kt=Lt+rt:Kt="https://www.geogebra.org/apps/5.2.814.0/";for(var Yt in we)if(rt.slice(we[Yt].length*-1)===we[Yt]||rt.slice((we[Yt].length+1)*-1)===we[Yt]+"/"){xt(Kt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qe&&!E.is3D&&!E.AV&&!E.SV&&!E.CV&&!E.EV2&&!E.CP&&!E.PC&&!E.DA&&!E.FI&&!E.PV&&!Be(re.showToolBar)&&!Be(re.showMenuBar)&&!Be(re.showAlgebraInput)&&!Be(re.enableRightClick)&&(!re.appName||re.appName=="classic")?Kt+="webSimple/":Kt+="web3d/",xt(Kt,!1)},xt=function(me,He){if(me.requirejs){Ze=me;return}me.slice(-1)!=="/"&&(me+="/"),Ze=me,He===null&&(He=me.indexOf("http")===-1),xe=He,ze="web.nocache.js",Ue=!1;var Qe=Ze.split("/");Qe.length>1&&(!He&&Qe[Qe.length-2]==="webSimple"?(ze="webSimple.nocache.js",Ue=!0):we.indexOf(Qe[Qe.length-2])>=0&&(ze=Qe[Qe.length-2]+".nocache.js")),Qe=me.split("/"),rt=Qe[Qe.length-3],rt.substr(0,4)==="test"?rt=rt.substr(4,1)+"."+rt.substr(5,1):(rt.substr(0,3)==="war"||rt.substr(0,4)==="beta")&&(rt="5.0");var jt=parseFloat(rt);jt!==NaN&&jt<5&&me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+jt+" is deprecated. Using version latest instead."),de("5.0",He))},Qt=function(me,He){window.console&&window.console.log&&(!He||typeof He.showLogging=="undefined"||He.showLogging&&He.showLogging!=="false")&&console.log(me)};re.material_id!==void 0?Tt(Mt):Mt();function Mt(){var me=Jt;Ee!==null?me=Ee:parseFloat(me)<5&&(me="5.0"),de(me,!1),Ie!==null&&xt(Ie,xe),Se=!0}return dn},GGBAppletUtils=function(){"use strict";function dn(){return window.GGBT_wsf_edit!==void 0}function Jt(Se,Ee){Ee!=1?(Se.style.transformOrigin="0% 0% 0px",Se.style.webkitTransformOrigin="0% 0% 0px",Se.style.transform="scale("+Ee+","+Ee+")",Se.style.webkitTransform="scale("+Ee+","+Ee+")",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 re(Se,Ee,Ie,Te,Pe,he){var Ze=null;if(he!=null&&he!="")for(var xe=Se.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+he+" ")>-1){Ze=xe;break}else xe=xe.parentNode;var At=0,rt=0,ze=0,Ue=0,We=0,Ct=0,Nt=0;if(Ze)At=Ze.offsetWidth,rt=Math.max(Te?Ze.offsetWidth:0,Ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(At=Math.min(window.innerWidth,document.documentElement.clientWidth),rt=Math.min(window.innerHeight,document.documentElement.clientHeight),ze=At):(At=window.innerWidth,rt=window.innerHeight,ze=window.innerWidth),Se){var Ft=Se.getBoundingClientRect();Ft.left>0&&Ft.left<=At&&(Pe===void 0||!Pe)&&(document.dir==="rtl"?(We=At-Ft.width-Ft.left,Ct=ze<=480?10:30):(Ct=Ft.left,We=ze<=480?10:30),Ue=Ct+We)}if(Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var St=Se.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ue=40,Nt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ue=0,Nt=40)}}return Se&&((Ie===void 0||!Ie)&&Ee>0&&Ee+Ue<At?At=Ee:At-=Ue,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ie===void 0||!Ie)&&(rt-=Nt)),{width:At,height:rt}}function E(Se,Ee,Ie,Te,Pe){if(Se.isScreenshoGenerator)return 1;var he=Te!==void 0&&Te,Ze=Se.noScaleMargin!=null&&Se.noScaleMargin,xe=function(St){return St&&St!=="false"},At=xe(Se.autoHeight),rt=re(Ee,Se.width,Ie,At,he&&window.GGBT_wsf_view||Ze,Pe),ze=parseInt(rt.width),Ue=Se.width,We=Se.height;if(Ue===void 0){var Ct=Ee.querySelector(".appletParameters");Ct&&(Ue=Ct.offsetWidth,We=Ct.offsetHeight)}var Nt=ze/Ue,Ft=he?1:rt.height/We;return Ie!==void 0&&!Ie&&(Nt=Math.min(1,Nt),Ft=Math.min(1,Ft)),Math.min(Nt,Ft)}function $e(Se,Ee,Ie){var Te=1,Pe,he=!1;if(Se.hasOwnProperty("allowUpscale")&&(he=Se.allowUpscale),Se.hasOwnProperty("scale")&&(Te=parseFloat(Se.scale),(isNaN(Te)||Te===null||Te===0)&&(Te=1),Te>1&&(he=!0)),Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(he=!0),!(Se.hasOwnProperty("disableAutoScale")&&Se.disableAutoScale))Pe=E(Se,Ee,he,Ie,Se.scaleContainerClass);else return Te;return he&&(!Se.hasOwnProperty("scale")||Te===1)?Pe:Math.min(Te,Pe)}function ve(Se){var Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),Ie=Math.min(window.innerHeight,document.documentElement.clientHeight),Te=Se.getBoundingClientRect(),Pe=(Ee-Te.width)/2,he=(Ie-Te.height)/2;he<0&&(he=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=he+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(he<40?Se.style.top="40px":Se.style.top=he+"px",Se.style.left=Pe+"px")}function Ye(Se,Ee){var Ie=Se.querySelector(".appletParameters");if(Ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!==Ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Se)}if(Ie.parentElement&&/fullscreen/.test(Ie.parentElement.className))return;var Te=$e(Ee,Se);dn()&&Ie.setAttribute("data-param-scale",Te);for(var Pe=null,he=0;he<Se.childNodes.length;he++)if(Se.childNodes[he].className!==void 0&&Se.childNodes[he].className.match(/^applet_scaler/)){Pe=Se.childNodes[he];break}if(Pe!==null&&Pe.querySelector(".noscale")!==null)return;var Ze=Ee.id!==void 0?Ee.id:"ggbApplet",xe=window[Ze];(xe==null||!xe.recalculateEnvironments)&&Pe!==null&&!Pe.className.match(/fullscreen/)&&(Pe.parentNode.style.transform="",!isNaN(Te)&&Te!==1?(Pe.parentNode.style.width=Ee.width*Te+"px",Pe.parentNode.style.height=Ee.height*Te+"px",Jt(Pe,Te)):(Jt(Pe,1),Pe.parentNode.style.width=Ee.width+"px",Pe.parentNode.style.height=Ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ve(Se),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ie).parents(".content-added-content"))}}return{responsiveResize:Ye,isFlexibleWorksheetEditor:dn,positionCenter:ve,getScale:$e,scaleElement:Jt}}();__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 dn=n.location.search;return dn.indexOf(J)!=-1||dn.indexOf(K)!=-1}function q(dn,Jt){}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(dn){var Jt=s[L].bindings;s[L].bindings=function(){for(var re=Jt?Jt():{},E=dn[webModule.__softPermutationId],$e=O;$e<E.length;$e++){var ve=E[$e];re[ve[O]]=ve[P]}return re}};var t;function u(){return v(),t}function v(){if(!t){var dn=o.createElement(Q);if(dn.id=L,dn.style.cssText=R+S,dn.tabIndex=-1,o.body.appendChild(dn),t=dn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Jt=document.compatMode==U?V:W;t.write(Jt+X),t.close()}}}function w(dn){function Jt(E){function $e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ve=$e();if(ve){E();return}function Ye(){if(!ve){if(!$e())return;ve=!0,E(),o.removeEventListener&&o.removeEventListener(Z,Ye,!1),Se&&clearInterval(Se)}}o.addEventListener&&o.addEventListener(Z,Ye,!1);var Se=setInterval(function(){Ye()},$)}function re(E){var $e=u(),ve=$e.body,Ye=$e.createElement(_);Ye.language=ab,Ye.crossOrigin=W,Ye.src=E,webModule.__errFn&&(Ye.onerror=function(){webModule.__errFn(L,new Error(bb+E))}),ve.appendChild(Ye)}Jt(function(){re(dn)})}webModule.__startLoadingFragment=function(dn){return C(dn)},webModule.__installRunAsyncCode=function(dn){var Jt=u(),re=Jt.body,E=Jt.createElement(_);E.language=ab,E.text=dn,re.appendChild(E),re.removeChild(E)};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(dn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(dn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(dn){var Jt=c[dn];return Jt==null?null:Jt},r=d,webModule.__errFn=e}function B(){function dn(Se){var Ee=Se.lastIndexOf(rb);Ee==-1&&(Ee=Se.length);var Ie=Se.indexOf(sb);Ie==-1&&(Ie=Se.length);var Te=Se.lastIndexOf(tb,Math.min(Ie,Ee));return Te>=O?Se.substring(O,Te+P):W}function Jt(Se){if(!Se.match(/^\w+:\/\//)){var Ee=o.createElement(ub);Ee.src=Se+vb,Se=dn(Ee.src)}return Se}function re(){var Se=__gwt_getMetaProperty(wb);return Se!=null?Se:W}function E(){for(var Se=o.getElementsByTagName(_),Ee=O;Ee<Se.length;++Ee)if(Se[Ee].src.indexOf(xb)!=-1)return dn(Se[Ee].src);return W}function $e(){var Se=o.getElementsByTagName(yb);return Se.length>O?Se[Se.length-P].href:W}function ve(){var Se=o.location;return Se.href==Se.protocol+zb+Se.host+Se.pathname+Se.search+Se.hash}var Ye=re();return Ye==W&&(Ye=E()),Ye==W&&(Ye=$e()),Ye==W&&ve()&&(Ye=dn(o.location.href)),Ye=Jt(Ye),Ye}function C(dn){return dn.match(/^\//)||dn.match(/^[a-zA-Z]+:\/\//)?dn:webModule.__moduleBase+dn}function D(){var dn=[],Jt=O,re=[],E=[];function $e(Se){var Ee=E[Se](),Ie=re[Se];if(Ee in Ie)return Ee;var Te=[];for(var Pe in Ie)Te[Ie[Pe]]=Pe;throw r&&r(Se,Te,Ee),null}if(__gwt_isKnownPropertyValue=function(Se,Ee){return Ee in re[Se]},webModule.__getPropMap=function(){var Se={};for(var Ee in re)re.hasOwnProperty(Ee)&&(Se[Ee]=$e(Ee));return Se},webModule.__computePropValue=$e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ve;try{ve=Cb;var Ye=ve.indexOf(Db);Ye!=-1&&(Jt=parseInt(ve.substring(Ye+P),$),ve=ve.substring(O,Ye))}catch(Se){}return webModule.__softPermutationId=Jt,C(ve+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})()},23216:function(dn,Jt,re){"use strict";re.d(Jt,{Ax:function(){return Ye},Ds:function(){return Se},KI:function(){return Ie},SI:function(){return ve},f1:function(){return $e}});var E=re(14185);function $e(Te){let Pe=!0;if(Te.length>0){for(let he=0;he<Te.length;he++)if(Te[he].compile_success==0||!Te[he].compile_success){Pe=!1;break}}else Pe=!1;return Pe}function ve(Te,Pe=""){let he=[];for(let Ze=0;Ze<Te.length;Ze++){let xe=Te[Ze],At=Pe?`${Pe}/${xe.name}`:`${xe.name}`;he.push({title:xe.name,type:xe.type,isLeaf:xe.type!=="tree",key:At})}return he}function Ye(Te,Pe,he){for(let Ze=0;Ze<Te.length;Ze++){let xe=Te[Ze];if(xe.key===Pe){xe.children=he;break}xe.children&&Ye(xe.children,Pe,he)}return Te}function Se(Te,Pe,he){let Ze;return function(){let xe=this,At=arguments,rt=function(){Ze=null,he||Te.apply(xe,At)},ze=he&&!Ze;clearTimeout(Ze),Ze=setTimeout(rt,Pe),ze&&Te.apply(xe,At)}}const Ee=!0,Ie=E.Z.API_SERVER},40254:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Ze}});var E=re(59301),$e={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ve=re(92310),Ye=re.n(ve),Se=re(29787),Ee=re(2859),Ie=re(49317),Te=re(76406),Pe=(xe,At,rt)=>new Promise((ze,Ue)=>{var We=Ft=>{try{Nt(rt.next(Ft))}catch(St){Ue(St)}},Ct=Ft=>{try{Nt(rt.throw(Ft))}catch(St){Ue(St)}},Nt=Ft=>Ft.done?ze(Ft.value):Promise.resolve(Ft.value).then(We,Ct);Nt((rt=rt.apply(xe,At)).next())}),Ze=({data:xe,className:At,fullWidth:rt,style:ze={},onClose:Ue,onOk:We,showFullTools:Ct,noAssociationId:Nt})=>{const Ft=(0,E.useRef)(null),St=(0,E.useRef)(null),pt=(0,E.useRef)(null),ct=(0,E.useRef)(null),[et,Tt]=(0,E.useState)(!1),[st,at]=(0,E.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,E.useEffect)(()=>(pt.current||(pt.current=document.createElement("style"),document.head.appendChild(pt.current)),xe!=null&&xe.visible?(document.body.setAttribute("data-custom","y-hidden"),pt.current.innerHTML=" html { overflow-y: hidden; }",xe!=null&&xe.src&&bt()):(document.body.removeAttribute("data-custom"),pt.current&&(document.head.removeChild(pt.current),pt.current=null)),()=>{document.body.removeAttribute("data-custom"),pt.current&&(document.head.removeChild(pt.current),pt.current=null)}),[xe==null?void 0:xe.visible]);const bt=()=>Pe(void 0,null,function*(){Tt(!0),at("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ue=yield(0,Te.ZJ)(xe==null?void 0:xe.src);Ft.current.src="",Ft.current.src=ue,Ft.current.onload=function(){Je()},Tt(!1),at("")}),Be=ue=>Pe(void 0,null,function*(){Tt(!0),at("\u6B63\u5728\u4FDD\u5B58\u4E2D");const mt=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:xe.title,file:ue.dataUrl}});mt!=null&&mt.id&&!Nt?(yield(0,Ie.ZP)(`/api/attachments/${xe.id}/add_subitem.json`,{method:"post",body:{subitem_id:mt==null?void 0:mt.id,settings:JSON.stringify(ue.state)}})).status===0&&We():mt!=null&&mt.id&&We(mt),Tt(!1),at("")}),it=()=>{const ue=document.querySelector('a[href="https://markerjs.com/"]');ue&&ue.parentNode&&(ue.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(Le=>{const qe=document.querySelector(Le.name);qe&&qe.setAttribute("title",Le.title)})},Je=()=>{St.current=new Ee.hP(Ft.current),St.current.targetRoot=ct.current,St.current.addEventListener("render",Be),St.current.addEventListener("beforeclose",Ue),Ct&&(St.current.availableMarkerTypes=St.current.ALL_MARKER_TYPES,St.current.uiStyleSettings.redoButtonVisible=!0,St.current.uiStyleSettings.notesButtonVisible=!0,St.current.uiStyleSettings.zoomButtonVisible=!0,St.current.uiStyleSettings.zoomOutButtonVisible=!0,St.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=St.current.uiStyleSettings,St.current.show(),xe!=null&&xe.snapshotData&&St.current.restoreState(xe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return E.createElement(E.Fragment,null,(xe==null?void 0:xe.visible)&&E.createElement(Se.Z,{spinning:et,tip:st,style:{position:"absolute",width:"100vw"}},E.createElement("div",{ref:ct,className:Ye()($e.imageDimensions,At,rt?$e.fullWidth:""),style:ze},E.createElement("img",{className:$e.img,ref:Ft}))))}},9057:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(77019),ve=re(5269),Ye=re(31691),Se=re(7939),Ee=re(35883),Ie=re(74501),Te=re(48136),Pe=re(59301);const he=(0,E.forwardRef)(({callback:Ze,showSaveButton:xe,value:At=""},rt)=>{const ze=(0,E.useRef)(),Ue=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],We=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],Ct=St=>{ze.current.setValue(ze.current.getValue()+" "+St.value+" ")},Nt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Pe.createElement($e.Z,{className:Ie.Z.lists,gutter:[10,10]},Ue.map((St,pt)=>Pe.createElement(ve.Z,{flex:"110px",className:Ie.Z.item},Pe.createElement("div",null,Pe.createElement(Ee.Z,{value:`$$${St.value}$$`}),St.name),Pe.createElement("div",{className:Ie.Z.children},St.children.map((ct,et)=>Pe.createElement("div",{key:et},Pe.createElement("h1",null,ct.name),Pe.createElement($e.Z,{gutter:[10,10]},ct.data.map((Tt,st)=>Pe.createElement(ve.Z,{key:st,onClick:()=>Ct(Tt),className:Ie.Z.diamond},Pe.createElement(Ee.Z,{value:"`$$"+Tt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Pe.createElement($e.Z,{className:Ie.Z.lists,gutter:[10,10]},We.map((St,pt)=>Pe.createElement(ve.Z,{flex:"110px",className:Ie.Z.item},Pe.createElement("div",null,Pe.createElement(Ee.Z,{value:"`$$"+St.value+"$$`"}),St.name),Pe.createElement("div",{className:Ie.Z.children},St.children.map((ct,et)=>Pe.createElement("div",{key:et},ct.name&&Pe.createElement("h1",null,ct.name),Pe.createElement($e.Z,{gutter:[10,10]},ct.data.map((Tt,st)=>Pe.createElement(ve.Z,{key:st,onClick:()=>Ct(Tt),className:Ie.Z.diamond},Pe.createElement(Ee.Z,{value:"`$$"+Tt.value+"$$`"}))))))))))}],Ft=()=>{var St=document.createElement("div");St.innerHTML=ze.current.getValue();var pt=St.innerText;return Ze&&Ze(pt),pt};return(0,E.useImperativeHandle)(rt,()=>({getData:Ft})),Pe.createElement("div",{className:Ie.Z.mathWrap},Pe.createElement(Ye.default,{defaultActiveKey:"1",items:Nt}),Pe.createElement("math-field",{locale:"zh_cn",className:Ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:ze,style:{width:800,marginTop:30,fontSize:18}},At||""),xe&&Pe.createElement("div",{className:Ie.Z.button},Pe.createElement(Se.ZP,{size:"large",onClick:Ft,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Jt.Z=he},90736:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(4977),ve=re(7939),Ye=Object.defineProperty,Se=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,he=(rt,ze,Ue)=>ze in rt?Ye(rt,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):rt[ze]=Ue,Ze=(rt,ze)=>{for(var Ue in ze||(ze={}))Te.call(ze,Ue)&&he(rt,Ue,ze[Ue]);if(Ie)for(var Ue of Ie(ze))Pe.call(ze,Ue)&&he(rt,Ue,ze[Ue]);return rt},xe=(rt,ze)=>Se(rt,Ee(ze));const At=({img:rt,buttonProps:ze={},styles:Ue={},customText:We,ButtonText:Ct,ButtonClick:Nt,Buttonclass:Ft,ButtonTwo:St,imgStyles:pt,loading:ct=!1,className:et=""})=>E.createElement("section",{className:`tc animated fadeIn ${et}`,style:Ze({color:"#999",margin:"100px auto",visibility:ct?"hidden":"visible"},Ue)},E.createElement("img",{src:rt||$e,style:xe(Ze({},pt),{pointerEvents:"none",userSelect:"none"})}),E.createElement("p",{className:"mt20 font14"},We||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ct&&E.createElement(ve.ZP,Ze({className:Ft,onClick:Nt},ze),Ct),St&&St);Jt.Z=At},86974:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Ft}});var E=re(59301),$e={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},ve=re(7939),Ye=re(70557),Se=re(34728),Ee=re(25399),Ie=re(76406),Te=re(84849),Pe=re(90736),he=re(14185),Ze=re(52078),xe=re(59301),At=Object.defineProperty,rt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,We=(St,pt,ct)=>pt in St?At(St,pt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):St[pt]=ct,Ct=(St,pt)=>{for(var ct in pt||(pt={}))ze.call(pt,ct)&&We(St,ct,pt[ct]);if(rt)for(var ct of rt(pt))Ue.call(pt,ct)&&We(St,ct,pt[ct]);return St},Nt=(St,pt,ct)=>new Promise((et,Tt)=>{var st=Be=>{try{bt(ct.next(Be))}catch(it){Tt(it)}},at=Be=>{try{bt(ct.throw(Be))}catch(it){Tt(it)}},bt=Be=>Be.done?et(Be.value):Promise.resolve(Be.value).then(st,at);bt((ct=ct.apply(St,pt)).next())}),Ft=({editOffice:St="view",data:pt,issaver:ct,onSaver:et,theme:Tt,type:st,filename:at,monacoEditor:bt,className:Be,style:it,close:Je,onClose:ue,hasMask:mt,disabledDownload:Le,onImgDimensions:qe,showNodata:Ht,recordInfo:we})=>{const[de,xt]=(0,E.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Qt,Mt]=(0,E.useState)(""),[me,He]=(0,E.useState)(),Qe=window.ENV==="build"?"/react/build":"",jt=location.host.startsWith("localhost")?he.Z.PROXY_SERVER:he.Z.API_SERVER,Kt=10*(1024*1024),je=(0,E.useRef)();pt!=null&&pt.startsWith("/api")&&st!=="txt"&&(pt=he.Z.API_SERVER+pt);const Yt=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();at&&bt&&(bt.filename=at),(0,E.useEffect)(()=>{var se,ne;const pe=(ne=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:ne.split(";");pe==null||pe.map(ye=>{let lt=ye.split("=");lt[0]==="_educoder_session"&&Mt(lt[1])})},[]),(0,E.useEffect)(()=>{st==="office"&&(pt.indexOf("bigfilescdn.")>-1||pt.indexOf("bigfiles1")>-1?He({url:pt,fileType:Yt(pt),model:pt.indexOf("model=edit")?"edit":"view"}):pt.indexOf("coze")>-1?He({url:pt,fileType:"doc",model:"view"}):ae())},[st,pt]);function vt(se){return Nt(this,null,function*(){se.data.type==="pdfdata"&&(et(se.data.data),window.removeEventListener("message",vt,!1)),console.log("mess---:",se.data)})}const ae=()=>Nt(void 0,null,function*(){console.log("data:",pt);let se=pt;pt.startsWith("http")||(se=location.origin+se);let ne=new URL(se).pathname.split("/").pop();const pe=yield(0,Te.gJ)({attachment_id:ne});pe.url=jt+pe.url,He(pe)}),te=()=>{if(pt.startsWith("http")||pt.startsWith("blob:")){ee();return}(0,Ie.Sv)(at||"educoder",pt,at)},ee=()=>{we&&(0,Ze.fc)({id:we==null?void 0:we.id,watch_type:1,course_id:we==null?void 0:we.course_id}),(0,Ie.Nd)(at||"educoder",decodeURIComponent(pt))};(0,E.useEffect)(()=>(window.addEventListener("message",oe),()=>{window.removeEventListener("message",oe)}),[]);const oe=se=>{var ne;((ne=se==null?void 0:se.data)==null?void 0:ne.type)==="closePop"&&ue()};return xe.createElement("div",{style:Ct({},it||{}),className:`${mt&&$e.bgBlack} ${st?$e.wrp:"hide"}`},!!st&&Je&&xe.createElement("div",{id:"closePop",className:$e.close,ref:je},!!qe&&xe.createElement(Ee.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>je.current},xe.createElement("span",{onClick:()=>{ue(),qe()}},xe.createElement("i",{className:"icon-yulanpizhu"}))),!Le&&window.parent===window&&xe.createElement(Ee.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>je.current},xe.createElement("span",{onClick:ee},xe.createElement("i",{className:"icon-quxiaozhiding"}))),ct&&xe.createElement(Ee.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>je.current},xe.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",vt,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},xe.createElement("i",{className:"icon-baocun"}))),xe.createElement(Ee.Z,{title:"\u5173\u95ED",getPopupContainer:()=>je.current},xe.createElement("span",{className:"",onClick:()=>{ue()}},xe.createElement("i",{className:"icon-guanbi1"})))),xe.createElement("div",{className:`${$e[Be]} ${Be} ${$e.monaco} ${st==="txt"?"show":"hide"}`},st==="txt"&&xe.createElement(xe.Fragment,null,xe.createElement(Se.ZP,Ct({},bt)))),st==="audio"&&xe.createElement("audio",{controls:!0,src:`${(pt==null?void 0:pt.indexOf("http://"))>-1||(pt==null?void 0:pt.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${pt}`,autoPlay:!0}),st==="video"&&xe.createElement(xe.Fragment,null,(pt==null?void 0:pt.indexOf("http"))>-1?xe.createElement("video",{controls:!0,src:`${pt}`,autoPlay:!0}):xe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${pt}`,autoPlay:!0})),st==="office"&&me&&xe.createElement("iframe",{src:`${Qe}/office.html?key=${me.key}&url=${btoa(me.url)}&callbackUrl=${jt+(me.callbackUrl||"")}&fileType=${me.fileType}&title=${me.title||""}&model=${St}&officeServer=${he.Z.ONLYOFFICE}&disabledDownload=${!!Le}`}),st==="html"&&xe.createElement("iframe",{src:pt+"&disposition=inline"}),st==="pdf"&&xe.createElement("iframe",{id:"pdfiframe",src:`${Qe}/js/pdf/index.html?filename=${at||"educoder.pdf"}&url=${encodeURIComponent(pt)}&disabledDownload=${!!Le}&model=${St}`}),st==="image"&&xe.createElement("img",{src:`${(pt==null?void 0:pt.indexOf("http://"))>-1||(pt==null?void 0:pt.indexOf("https://"))>-1?"":"data:image/png;base64,"}${pt}`}),(st==="other"||st==="download")&&xe.createElement(xe.Fragment,null,Ht?xe.createElement(Pe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:xe.createElement(ve.ZP,{icon:xe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:te,disabled:Le},"\u4E0B\u8F7D")}):xe.createElement(ve.ZP,{type:"primary",size:"middle",onClick:te,disabled:Le},xe.createElement(Ye.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),st==="flowChart"&&xe.createElement("div",{className:"embed"},xe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${pt||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(dn,Jt,re){"use strict";re.d(Jt,{z:function(){return bt},Z:function(){return Be}});var E=re(59301),$e=re(46214),ve=re(20047),Ye=re(64018),Se=re(16471),Ee=re(14185),Ie=re(76406),Te=re(15342),Pe=re(44104),he=re(7939),Ze=re(1012),xe=re(86974),At=re(59301),ze=({html:it})=>{const Je=(0,E.useRef)(null),ue=(0,E.useRef)(null),mt=`.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,E.useEffect)(()=>{const Le=Je.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=it,Le.appendChild(ue.current);const qe=document.createElement("style");return qe.textContent=mt,Le.appendChild(qe),()=>{Le.innerHTML=""}},[]),(0,E.useEffect)(()=>{ue.current&&(ue.current.innerHTML=it)},[it]),At.createElement("div",{ref:Je})};function Ue(it){const Je=["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"],ue=new RegExp(`\\b(${Je.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),mt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return it.replace(ue,"").replace(mt,"").trim()}var We={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ct=Object.defineProperty,Nt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,pt=(it,Je,ue)=>Je in it?Ct(it,Je,{enumerable:!0,configurable:!0,writable:!0,value:ue}):it[Je]=ue,ct=(it,Je)=>{for(var ue in Je||(Je={}))Ft.call(Je,ue)&&pt(it,ue,Je[ue]);if(Nt)for(var ue of Nt(Je))St.call(Je,ue)&&pt(it,ue,Je[ue]);return it};const et="@\u2581\u2581@",Tt="@\u2581@",st=/<pre[^>]*>/g;function at(it){let Je=document.createElement("div");return Je.innerHTML=it,Je.childNodes.length===0?"":Je.childNodes[0].nodeValue}const bt=(it,Je)=>{it=it||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,mt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Le=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,qe=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Je?it.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(Ht,we,de,xt,Qt,Mt,me)=>{const He=we||xt||Mt,Qe=de||Qt||me||"?";return Ee.Z.API_SERVER+"/api/attachments/"+He+Qe+"&t="+(0,Ie.Jn)(He,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(it=it.replace(qe,(Ht,we,de,xt,Qt,Mt,me)=>{const He=we||xt||Mt,Qe=de||Qt||me||"?";return Ee.Z.API_SERVER+"/attachments/download/"+He+Qe+"&t="+(0,Ie.Jn)(He,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(ue,(Ht,we,de,xt,Qt,Mt,me)=>{const He=we||xt||Mt,Qe=de||Qt||me||"?";return Ee.Z.API_SERVER+"/api/attachments/"+He+Qe+"&t="+(0,Ie.Jn)(He,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(mt,(Ht,we,de,xt,Qt)=>{const Mt=we||xt,me=de||Qt||"";return'"'+Ee.Z.API_SERVER+"/api/attachments/"+Mt+me+Mt+me+"&t="+(0,Ie.Jn)(Mt,Date.now())}).replace(Le,(Ht,we,de,xt,Qt)=>{const Mt=we||xt,me=de||Qt||"";return"("+Ee.Z.API_SERVER+"/files/uploads/"+Mt+me+Mt+me+"&t="+(0,Ie.Jn)(Mt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),it)};var Be=({value:it="",edit:Je=!1,className:ue,showTextOnly:mt,showLines:Le,style:qe={},stylesPrev:Ht={},highlightKeywords:we,showProgramFill:de,isProgramFill:xt,disabledFill:Qt=!1,programFillValue:Mt,openEditor:me=()=>{},onFillChange:He=Lt=>{},onFillBlur:Qe=()=>{},onFillFocus:jt=()=>{}})=>{let Lt=Ue(String(it||""));const Kt=(0,E.useRef)(),je=(0,E.useRef)(),[Yt,vt]=(0,E.useState)(""),[ae,te]=(0,E.useState)("office"),[ee,oe]=(0,E.useState)([]),se=(0,E.useRef)("a"+(0,Ze.Z)()),ne={},pe=wt=>/<style[\s\S]*?>/i.test(wt||""),ye=(wt,en,kt)=>{const Me=document.createElement(wt===Tt?"input":"textarea");Me.style.width="100%",Me.style.height=wt===Tt?"40px":"151px",Me.rows=5,Me.spellcheck=!1,Me.name="edu-program-fill",Me.placeholder="\u8BF7\u8F93\u5165",Me.dataset.id=en;const Fe=Object.keys(ne).length;return ne[Fe]=Me,`<span class="edu-program-fill-wrap ${wt===Tt?"":"show"}" style="width:${wt===Tt?"600px":"100%"}" title=${kt||""}><span>${Me.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function lt(wt){return wt=wt.replace(/!\[.*?\]\(.*?\)/g,""),wt=wt.replace(/\[.*?\]\(.*?\)/g,""),wt=wt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),wt=wt.replace(/<embed.*?>/g,""),wt=wt.replace(/<img.*?>/g,""),wt=wt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),wt=wt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),wt=wt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),wt=wt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),wt}const Ae=wt=>!mt&&pe(Lt)?wt:wt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(en,kt){let Me=kt.replace(/(\n|\r)/g,"").split("}"),Fe=[];return Me.map(Bt=>{Bt!=""&&Fe.push(`.${se.current} ${Bt}`)}),`<style>${Fe.join("}")}</style>`}),Ne=(0,E.useMemo)(()=>{(0,ve.Iy)();try{const Me=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Fe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Bt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Rt=/\(\/attachments\/download\//g;Lt=Lt.replace(Rt,"("+Ee.Z.API_SERVER+"/attachments/download/").replace(Me,"("+Ee.Z.API_SERVER+"/api/attachments/").replace(Fe,'"'+Ee.Z.API_SERVER+"/api/attachments/").replace(Bt,'"'+Ee.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,`
`),Kt.current.style.display="none"}catch(Me){}if(de){let Me=-1;return Lt=Lt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Fe,Bt,Rt){var Oe;return++Me,ye(Fe,Me,(Oe=Mt==null?void 0:Mt[Me])==null?void 0:Oe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Ae(Lt||"")}</pre>`}let wt=Ae(Lt);wt=(0,ve.ZP)(wt);const en=(0,ve.ez)();Lt.match(/\[TOC\]/)&&(wt=wt.replace("<p>[TOC]</p>",(0,ve.Qv)()),(0,ve.Iy)()),wt=wt.replace(/(__special_katext_id_\d+__)/g,(Me,Fe)=>{const{type:Bt,expression:Rt}=en[Fe];return(0,Te.renderToString)(at(Rt)||"",{displayMode:Bt==="block",throwOnError:!1,output:"html"})}),wt=wt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ve.AL)();const kt=document.createElement("div");if(kt.innerHTML=wt,mt)return kt.innerText;if(we){const Me=we.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return tn(kt,Me),kt.innerHTML}return setTimeout(()=>ln(),500),kt.innerHTML},[Lt,we]);(0,E.useEffect)(()=>{Ut.current&&Ut.current.querySelectorAll(["input","textarea"]).forEach(en=>{en.oninput=tt,en.onblur=Pt,en.onfocus=Ot})},[ee]),(0,E.useEffect)(()=>{var wt,en,kt,Me,Fe;if(Mt!=null&&Mt.length)try{const Bt=Ut.current.querySelectorAll(".edu-program-fill-score"),Rt=Ut.current.querySelectorAll('[name="edu-program-fill"]');for(const[Oe,Ge]of Rt.entries())Ge.value=((wt=Mt==null?void 0:Mt[Oe])==null?void 0:wt.value)||"",((en=Mt==null?void 0:Mt[Oe])==null?void 0:en.type)==="warning"?Ge.className="program-fill-warning":((kt=Mt==null?void 0:Mt[Oe])==null?void 0:kt.type)==="success"?Ge.className="program-fill-success":Ge.className="";for(const[Oe,Ge]of Bt.entries())Ge.innerHTML=(Me=Mt==null?void 0:Mt[Oe])!=null&&Me.score?`${(Fe=Mt==null?void 0:Mt[Oe])==null?void 0:Fe.score}\u5206`:"";oe(Mt)}catch(Bt){console.log(Bt,"error")}},[Mt]);const tt=wt=>{ee[wt.target.dataset.id]=ee[wt.target.dataset.id]||{},ee[wt.target.dataset.id].value=wt.target.value,oe([...ee]),He(ee,wt.target.dataset.id)},Pt=wt=>{ee[wt.target.dataset.id]=ee[wt.target.dataset.id]||{},ee[wt.target.dataset.id].value=wt.target.value,oe([...ee]),Qe(ee,wt.target.dataset.id)},Ot=wt=>{ee[wt.target.dataset.id]=ee[wt.target.dataset.id]||{},ee[wt.target.dataset.id].value=wt.target.value,oe([...ee]),jt(ee,wt.target.dataset.id)};function tn(wt,en){return wt.childNodes.forEach(kt=>{var Me;if(kt.childNodes.length>0)tn(kt,en);else if(kt.nodeName!=="IMG")if(kt.innerHTML)kt.innerHTML=(Me=kt.innerHTML)==null?void 0:Me.replace(new RegExp(en,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Fe=document.createElement("span");Fe.innerHTML=kt.textContent.replace(new RegExp(en,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),kt.replaceWith(Fe)}})}const Ut=(0,E.useRef)();ve.jb.WebkitLineClamp=Le,Le&&(qe=ct(ct({},qe),ve.jb));function Wt(wt){let en=wt.target;if(en.tagName.toUpperCase()==="A"){let kt=en.getAttribute("href");if(kt.indexOf("office")>-1)wt.preventDefault(),vt(kt),te("office");else if(kt.indexOf("application/pdf")>-1)wt.preventDefault(),vt(kt),te("pdf");else if(kt.indexOf("text/html")>-1)wt.preventDefault(),vt(kt),te("html");else if(kt.startsWith("#")){wt.preventDefault();let Me=document.getElementById(kt.replace("#",""));Me&&Me.scrollIntoView(!0)}}}const ln=()=>{var wt;const en=(wt=Ut.current)==null?void 0:wt.querySelectorAll("video");en==null||en.forEach(kt=>{if(kt.oncontextmenu=()=>!1,kt.src.indexOf(".m3u8")>-1&&!kt.canPlayType("application/vnd.apple.mpegurl")){if(Se.ZP.isSupported()){var Me=new Se.ZP;Me.loadSource(kt.src),Me.attachMedia(kt)}}})};(0,E.useEffect)(()=>{if(Ut.current&&Ne&&Ne.match(st)&&window.PR.prettyPrint(),Ut.current)return Ut.current.addEventListener("click",Wt),()=>{var wt;(wt=Ut.current)==null||wt.removeEventListener("click",Wt),(0,ve.AL)(),(0,ve.Iy)()}},[Ne,Ut.current,Wt]);const Dt=wt=>{wt.target.nodeName==="IMG"&&wt.target.className.indexOf("draw-flowchart")>-1?(Kt.current.style.zIndex=1,Kt.current.style.display="flex",Kt.current.style.width=wt.target.clientWidth+"px",Kt.current.style.height=wt.target.clientHeight+"px",Kt.current.style.top=wt.target.offsetTop+"px",Kt.current.style.left=wt.target.offsetLeft+"px",wt.target.id&&(je.current=wt.target.id)):Kt.current.style.display="none"},$t=()=>{Kt.current.style.display="none"};return(0,E.useEffect)(()=>{var wt;const en=kt=>{kt.preventDefault(),kt.clipboardData.setData("text",window.getSelection().toString())};return(wt=Ut.current)==null||wt.addEventListener("copy",en),()=>{var kt;(kt=Ut.current)==null||kt.removeEventListener("copy",en)}},[Ut.current]),E.createElement("div",{style:{position:"relative"},onMouseLeave:$t},mt&&E.createElement("div",{ref:Ut,className:`${We.mdBody} `},Ne),!mt&&!pe(Ne)&&E.createElement("div",{ref:Ut,style:ct({},qe),onMouseOver:Dt,className:`${ue||""} ${Qt?"disabled-fill":""} markdown-body ${We.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:Ne}}),!mt&&pe(Ne)&&E.createElement(ze,{html:Ne}),E.createElement("div",{ref:Kt,className:`${We.button} ${Je?"":We.previewFlowChart}`},E.createElement(Pe.Z,null,E.createElement(he.ZP,{onClick:()=>{Je?me(je.current):(vt(je.current),te("flowChart"))}},Je?"\u7F16\u8F91":"\u9884\u89C8"))),E.createElement(xe.Z,{close:!0,data:Yt,type:Yt!=null&&Yt.length?ae:"",style:ct({},Ht),onClose:()=>vt("")}))}},1903:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return et}});var E=re(59301),$e=re(25399),ve=re(37568),Ye=re(29787),Se=re(584),Ee=re(92310),Ie=re.n(Ee),Te={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},Pe=re(36723),he=re(49317),Ze=re(78267),xe=Object.defineProperty,At=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ct=(Tt,st,at)=>st in Tt?xe(Tt,st,{enumerable:!0,configurable:!0,writable:!0,value:at}):Tt[st]=at,Nt=(Tt,st)=>{for(var at in st||(st={}))Ue.call(st,at)&&Ct(Tt,at,st[at]);if(ze)for(var at of ze(st))We.call(st,at)&&Ct(Tt,at,st[at]);return Tt},Ft=(Tt,st)=>At(Tt,rt(st)),St=(Tt,st,at)=>new Promise((bt,Be)=>{var it=mt=>{try{ue(at.next(mt))}catch(Le){Be(Le)}},Je=mt=>{try{ue(at.throw(mt))}catch(Le){Be(Le)}},ue=mt=>mt.done?bt(mt.value):Promise.resolve(mt.value).then(it,Je);ue((at=at.apply(Tt,st)).next())});const pt=({className:Tt,dispatch:st,skin:at="white",value:bt=null,loading:Be=!1,data:it=[],otherData:Je=[],tags:ue=[],onChange:mt=()=>{},onSearchWord:Le=()=>{},shixun_type:qe,extraContent:Ht,tab_type:we,is_create_mirror:de,hiddenCreateOnline:xt})=>{const[Qt,Mt]=(0,E.useState)(""),[me,He]=(0,E.useState)(!1),[Qe,jt]=(0,E.useState)([]),[Lt,Kt]=(0,E.useState)(0),je=(0,E.useRef)(null),Yt=(0,E.useRef)(String(Math.floor(Math.random()*1e6))).current,vt=(0,E.useRef)(),ae=(0,E.useRef)(null),te=(0,E.useRef)(0),ee=(0,E.useRef)([]);(0,E.useEffect)(()=>(window.addEventListener("keydown",oe),()=>{window.removeEventListener("keydown",oe)}),[Qt,me,Qe]),(0,E.useEffect)(()=>{jt([])},[we]);const oe=Dt=>{if(!me||Dt.keyCode!==40&&Dt.keyCode!==38)return;let $t=0;Dt.keyCode===40&&me&&(Lt<Qe.length-1?$t=Lt+1:$t=0,console.log("\u4E0B"),ye($t,"down")),Dt.keyCode===38&&me&&(Lt===0?$t=Qe.length-1:$t=Lt-1,ye($t,"up")),Kt($t),ne(Qt,$t,!0)},se=(Dt,$t)=>{const wt=kt=>{var Me=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Fe={};return Fe["^"]="\\^",Fe["."]="\\.",Fe["\\"]="\\\\",Fe["|"]="\\|",Fe["("]="\\(",Fe[")"]="\\)",Fe["*"]="\\*",Fe["+"]="\\+",Fe["-"]="\\-",Fe.$="$",Fe["["]="\\[",Fe["]"]="\\]",Fe["?"]="\\?",kt=kt.replace(Me,function(Bt){return Fe[Bt]}),kt};var en=new RegExp(wt($t),"gi");return Dt=Dt.replace(en,function(kt){return"<span style='color:#0152d9;'>"+kt+"</span>"}),Dt},ne=(Dt,$t,wt)=>St(void 0,null,function*(){let en=te.current+1;te.current=en;const kt=Me=>Me==null?void 0:Me.map((Bt,Rt)=>{const{id:Oe,name:Ge}=Bt,dt=Ft(Nt({},Bt),{label:E.createElement("ul",{id:`search-${Yt}-${Rt}`,onClick:()=>Ne(Oe,dt),className:Rt===$t?Te.searchListActive:Te.searchList},E.createElement("li",{className:Te.name,dangerouslySetInnerHTML:{__html:se(Ge,Dt)}}),Bt.private&&E.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("li",{className:Te.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),Bt.is_base&&E.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("li",{className:Te.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return dt});if(wt){const Me=kt(ee.current);jt(Me);return}clearTimeout(ae.current),ae.current=setTimeout(()=>St(void 0,null,function*(){var Me,Fe;const Bt={keywords:encodeURIComponent(Dt||""),page:1,limit:1e5,tab_type:we};qe&&(Bt.shixun_type=qe);const Rt=yield(0,he.ZP)("/api/shixuns/search_image.json",{method:"get",params:Ft(Nt({},Bt),{is_create_mirror:de})});if((Rt==null?void 0:Rt.status)===0){const Oe=kt(((Me=Rt==null?void 0:Rt.data)==null?void 0:Me.mirrors)||[]);en===te.current&&(jt(Oe),ee.current=(0,Ze.cloneDeep)(((Fe=Rt==null?void 0:Rt.data)==null?void 0:Fe.mirrors)||[]))}}),300)}),pe=Dt=>{const $t=document.getElementById(`scroll-${Yt}-${Dt}`);if(!$t)return;document.getElementById(`scroll-${Yt}`).scrollTo(0,$t.offsetTop)},ye=(Dt,$t)=>{const wt=document.getElementById(`search-${Yt}-${Dt}`);if(!wt)return;const en=document.getElementById(`search-${Yt}`);wt.offsetTop-en.scrollTop>0&&wt.offsetTop-en.scrollTop<en.clientHeight||($t==="down"?en.scrollTo(0,wt.offsetTop-en.clientHeight+wt.clientHeight):en.scrollTo(0,wt.offsetTop))},lt=Dt=>{ne(Dt,0)},Ae=Dt=>{var $t;if(!Qe.length)return;const wt=($t=Qe==null?void 0:Qe[Lt])==null?void 0:$t.id;mt(wt),jt([]),Kt(0),pe(wt),vt.current.blur()},Ne=(Dt,$t)=>{mt(Dt),jt([]),Kt(0),pe(Dt)},tt=()=>{jt([]),Mt(""),Le("")},Pt=Dt=>{mt(Dt),jt([])},Ot=()=>Qt===""?E.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):E.createElement("i",{onClick:Dt=>{Dt.stopPropagation(),tt()},className:"iconfont icon-shanchu4 c-grey-c"}),tn=()=>{st({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Ut=()=>{st({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},Wt=()=>{je.current=setTimeout(()=>{He(!1),Kt(0)},200)},ln=!(it!=null&&it.length)&&!(Je!=null&&Je.length);return E.createElement("div",{className:Ie()(at==="night"?Te.darklySelectEnvironment:Te.selectEnvironment,Tt)},Ht&&E.createElement("div",{style:{marginTop:20,marginLeft:20}},Ht),E.createElement("div",{className:Te.search},E.createElement(ve.default,{suffix:Ot(),bordered:!1,ref:vt,value:Qt,onKeyDown:Dt=>{(Dt.keyCode===40||Dt.keyCode===38||Dt.keyCode===13)&&Dt.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(je.current),Qt&&lt(Qt),He(!0)},onBlur:Wt,onChange:Dt=>{Mt(Dt.target.value),Dt.target.value&&lt(Dt.target.value),Le(Dt.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:Ae}),me&&E.createElement("div",{id:`search-${Yt}`,className:Te.searchListWrap},Qe.map((Dt,$t)=>E.createElement(E.Fragment,{key:$t}," ",Dt.label)))),Be?E.createElement(Ye.Z,{className:Te.spin}):E.createElement(E.Fragment,null,!!ue.length&&E.createElement("aside",{className:Te.common},E.createElement("div",{className:Te.title},"\u63A8\u8350\u73AF\u5883:"),E.createElement("ul",{className:Te.tags},ue.map((Dt,$t)=>E.createElement("li",{key:$t,onClick:()=>Pt(Dt.id),className:bt===Dt.id?`${Te.tag} ${Te.tagActive}`:Te.tag},Dt.name)))),ln&&E.createElement(Se.Z,{style:{margin:"60px 0"},image:Pe,description:E.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),E.createElement("aside",{className:Te.wrap,id:`scroll-${Yt}`},it.map((Dt,$t)=>{var wt;return(wt=Dt==null?void 0:Dt.image)!=null&&wt.length?E.createElement(ct,{key:$t,data:Dt,id:bt,handleClick:en=>Pt(en)}):null}),E.createElement("ul",{className:Te.allList},Je.map(Dt=>E.createElement("li",{key:`key-${Dt.id}`,id:`scroll-${Yt}-${Dt.id}`,className:Dt.id===bt?`${Te.item} ${Te.itemActive}`:Te.item,onClick:()=>mt(Dt.id)},E.createElement("div",{className:Te.name},Dt.name),Dt.private&&E.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("div",{className:Te.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),Dt.is_base&&E.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("div",{className:Te.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),E.createElement("div",{className:Te.apply},E.createElement("span",{className:Te.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),E.createElement("span",{className:Te.p2,onClick:tn}," \u7533\u8BF7\u65B0\u5EFA"),!xt&&E.createElement("span",{className:Te.p2,onClick:Ut}," \u5728\u7EBF\u521B\u5EFA")))},ct=({data:Tt,id:st,handleClick:at})=>{const[bt,Be]=(0,E.useState)(!0),{name:it,image:Je}=Tt;return E.createElement("div",{className:Te.list},E.createElement("header",{onClick:()=>Be(!bt)},E.createElement("div",{className:Te.title},it),E.createElement("i",{style:{transition:"0.5s",transform:bt?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),E.createElement("ul",{className:Te.items,style:{height:bt?"auto":0}},Je.map(ue=>E.createElement("li",{key:ue.id,className:ue.id===st?`${Te.item} ${Te.itemActive}`:Te.item,onClick:()=>at(ue.id)},E.createElement("div",{className:Te.name},ue.name),ue.private&&E.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("div",{className:Te.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ue.is_base&&E.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("div",{className:Te.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),E.createElement("li",{className:Te.line})))};var et=pt},28267:function(dn,Jt,re){"use strict";re.d(Jt,{h:function(){return St}});var E=re(59301),$e=re(82326),ve=re(28284),Ye=re(7939),Se=re(89780),Ee=re.n(Se),Ie=re(88319),Te=re(94896),Pe=Object.defineProperty,he=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ze=(pt,ct,et)=>ct in pt?Pe(pt,ct,{enumerable:!0,configurable:!0,writable:!0,value:et}):pt[ct]=et,Ue=(pt,ct)=>{for(var et in ct||(ct={}))At.call(ct,et)&&ze(pt,et,ct[et]);if(xe)for(var et of xe(ct))rt.call(ct,et)&&ze(pt,et,ct[et]);return pt},We=(pt,ct)=>he(pt,Ze(ct));const Ct=$e.default.Option,Nt={labelCol:{span:4},wrapperCol:{span:20}},Ft={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"]};Jt.Z=({callback:pt,onCancel:ct})=>{const[et,Tt]=(0,E.useState)("python");function st(bt){Tt(Ft[bt][1])}function at(bt){pt(bt)}return E.createElement(ve.default,We(Ue({},Nt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:at,style:{width:500}}),E.createElement(ve.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},E.createElement($e.default,{getPopupContainer:bt=>bt.parentNode,onChange:st},Object.keys(Ft).map(bt=>E.createElement(Ct,{key:bt,value:bt},Ft[bt][0])))),E.createElement(ve.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},E.createElement(St,{mode:et})),E.createElement("div",{className:"flex-container flex-end"},E.createElement(Ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(Ye.ZP,{type:"ghost",onClick:ct},"\u53D6\u6D88")))};function St({value:pt,onChange:ct,mode:et,options:Tt={}}){const st=(0,E.useRef)(),[at,bt]=(0,E.useState)();return(0,E.useEffect)(()=>{if(at){let Be=function(it){const Je=it.getValue();ct&&ct(Je)};return at.on("change",Be),()=>{at.off("change",Be)}}},[at,ct]),(0,E.useEffect)(()=>{at&&at.setOption("mode",et)},[at,et]),(0,E.useEffect)(()=>{at&&(pt!==at.getValue()||pt==="")&&setTimeout(()=>{at.setValue(pt||"")},300)},[at,pt]),(0,E.useEffect)(()=>{if(st.current&&!at){const Be=Ee().fromTextArea(st.current,Ue({mode:et,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Tt));bt(Be)}},[st.current,at]),E.createElement("div",{className:"my-codemirror-container"},E.createElement("textarea",{ref:st}))}},39116:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Vt}});var E=re(59301),$e=re(44283),ve=re(89780),Ye=re.n(ve),Se=re(76374),Ee=re(88319),Ie=re(6313),Te=re(25717),Pe=re(99498),he=re(25419),Ze=re(67549),xe=re(35883),At=({value:Et="",className:on,showTextOnly:an,showLines:rn,style:En={}})=>{const Mn=(0,E.useMemo)(()=>"",[Et]);return E.createElement(E.Fragment,null,E.createElement("div",{dangerouslySetInnerHTML:{__html:Mn}}))},rt=Object.defineProperty,ze=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Ft=(Et,on,an)=>on in Et?rt(Et,on,{enumerable:!0,configurable:!0,writable:!0,value:an}):Et[on]=an,St=(Et,on)=>{for(var an in on||(on={}))Ct.call(on,an)&&Ft(Et,an,on[an]);if(We)for(var an of We(on))Nt.call(on,an)&&Ft(Et,an,on[an]);return Et},pt=(Et,on)=>ze(Et,Ue(on));let ct=[{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 et({onActionCallback:Et,title:on,icon:an,actionName:rn,className:En="",children:Mn}){function An(){Et(rn)}return E.createElement("a",{title:on,className:En,onClick:An},E.createElement("i",{className:`${an}`}),Mn)}var Tt=({watch:Et,showNullButton:on,showNullProgramButton:an,onActionCallback:rn,fullScreen:En,insertTemp:Mn,hidetoolBar:An,extraUse:Fn})=>{const In=[...ct,{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 E.createElement("ul",{className:"markdown-toolbar-container"},!An&&In.map((jn,Vn)=>E.createElement("li",{key:Vn},jn.actionName?E.createElement(et,pt(St({},jn),{onActionCallback:rn})):E.createElement("span",{className:"v-line"}))),on?E.createElement("li",null,E.createElement(et,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:rn},E.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,an?E.createElement(E.Fragment,null,E.createElement("li",null,E.createElement(et,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:rn},E.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),E.createElement("li",null,E.createElement(et,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:rn},E.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Mn&&E.createElement("li",null,E.createElement(et,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Mn}`,onActionCallback:rn},E.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Fn&&E.createElement("li",null,Fn),E.createElement("li",{className:"btn-full-screen"},E.createElement(et,{icon:`${En?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:En?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:rn})))},st=re(88487),at=re(28284),bt=re(37568),Be=re(7939),it=Object.defineProperty,Je=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Ht=(Et,on,an)=>on in Et?it(Et,on,{enumerable:!0,configurable:!0,writable:!0,value:an}):Et[on]=an,we=(Et,on)=>{for(var an in on||(on={}))Le.call(on,an)&&Ht(Et,an,on[an]);if(mt)for(var an of mt(on))qe.call(on,an)&&Ht(Et,an,on[an]);return Et},de=(Et,on)=>Je(Et,ue(on));const xt={labelCol:{span:4},wrapperCol:{span:20}};var Qt=({callback:Et,onCancel:on})=>{function an(rn){Et(rn)}return E.createElement(at.default,de(we({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:an,style:{width:500}}),E.createElement(at.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},E.createElement(bt.default,null)),E.createElement(at.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},E.createElement(bt.default,null)),E.createElement("div",{className:"flex-container flex-end"},E.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(Be.ZP,{type:"ghost",onClick:on},"\u53D6\u6D88")))},Mt=re(28267),me=re(53332),He=re(62957),Qe=re(77019),jt=re(40254),Lt=re(59301),Kt=({callback:Et,onCancel:on})=>{const an=document.createElement("canvas"),rn=an.getContext("2d");an.width=1e3,an.height=800,rn.fillStyle="#ffffff",rn.fillRect(0,0,an.width,an.height);const En=an.toDataURL("image/png");return Lt.createElement(He.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Lt.createElement(Qe.Z,{style:{height:"100vh"}},Lt.createElement(jt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:En,visible:!0,title:String(Date.now())},onOk:Mn=>{Et({src:Mn.url})},onClose:on})))},je=re(36207),Yt=re(5269),vt=re(6767),ae={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},te=re(59301),oe=(0,E.forwardRef)(({onCancel:Et,editImgId:on,callback:an},rn)=>{let En=(0,E.useRef)(),Mn=(0,E.useRef)(),An=(0,E.useRef)(),Fn=(0,E.useRef)(!1);const In=(0,E.useRef)(!1);console.log("ref:",rn);const[jn,Vn]=(0,E.useState)(0),[zt,nn]=(0,E.useState)("100vh");return(0,E.useEffect)(()=>{Vn(1)},[]),(0,E.useImperativeHandle)(rn,()=>({setHeight:nn})),te.createElement("div",{ref:In,className:"body-overflow-initial"},te.createElement(je.Z,{width:"100vw",height:zt,footer:null,closable:!0,placement:"bottom",open:!!jn,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ae.drawerWrap}`,onClose:()=>{window.saveDrawData(bn=>{an({src:`/api/attachments/${bn}`,id:bn})})},title:te.createElement(Qe.Z,{align:"middle"},te.createElement(Yt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),te.createElement(Yt.Z,{onClick:()=>{nn(zt==="60px"?"100vh":"60px")}},te.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),te.createElement(Yt.Z,{onClick:()=>{window.saveDrawData(bn=>{if(bn===null){vt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}vt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),an({src:`/api/attachments/${bn}`,id:bn,disabledClose:!0})})}},te.createElement(Be.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},te.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${on||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Mn})))}),se=re(14185),ne=re(47889),pe=re(4875);const ye=ne.ZP.Group,lt={margin:"0 8px"};var Ae=({callback:Et,onCancel:on})=>{function an(rn){Et(rn)}return E.createElement(at.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:an},E.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},E.createElement("span",{style:lt},"\u5355\u5143\u683C\u6570\uFF1A"),E.createElement("span",{style:lt},"\u884C\u6570"),E.createElement(at.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},E.createElement(pe.Z,null)),E.createElement("span",{style:lt},"\u5217\u6570"),E.createElement(at.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},E.createElement(pe.Z,null))),E.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},E.createElement("span",{style:lt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),E.createElement(at.default.Item,{name:"align"},E.createElement(ye,null,E.createElement(ne.ZP,{value:"default"},E.createElement("i",{className:"fa fa-align-justify"})),E.createElement(ne.ZP,{value:"left"},E.createElement("i",{className:"fa fa-align-left"})),E.createElement(ne.ZP,{value:"center"},E.createElement("i",{className:"fa fa-align-center"})),E.createElement(ne.ZP,{value:"right"},E.createElement("i",{className:"fa fa-align-right"}))))),E.createElement("div",{className:"flex-container flex-end"},E.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(Be.ZP,{type:"ghost",onClick:on},"\u53D6\u6D88")))},Ne=re(58755),tt=re(84915),Pt=re.n(tt),tn=(0,E.forwardRef)(({use3d:Et,width:on,height:an,callback:rn,showSaveButton:En},Mn)=>{const An=(0,E.useRef)(),Fn=(0,E.useRef)(),[In,jn]=(0,E.useState)(!1),Vn=(0,E.useRef)({id:An,appName:"graphing",width:on||1e3,height:an||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,E.useEffect)(()=>{Fn.current=new(Pt())(Vn.current,!0),window.onload=function(){Fn.current.inject("applet_container")}},[]);const zt=()=>{var nn=window.ggbApplet.getPNGBase64(1,!0,72);return rn&&rn(nn),nn};return(0,E.useEffect)(()=>{Vn.current.appName=In?"3D":"graphing",Fn.current.inject("applet_container")},[In]),(0,E.useEffect)(()=>{jn(Et)},[Et]),(0,E.useImperativeHandle)(Mn,()=>({getImgData:zt})),E.createElement(E.Fragment,null,E.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:An}),E.createElement(Qe.Z,{align:"middle"},E.createElement(Yt.Z,{flex:1},E.createElement(Ne.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:In,onChange:nn=>jn(nn)})),E.createElement(Yt.Z,null,E.createElement(Be.ZP,{size:"large",onClick:zt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ut=re(9057);const Wt="link",ln="upload-image",Dt="add-flowchart",$t="draw-image",wt="add-flowchart",en="code-block",kt="add-table",Me="------------",Fe={default:Me,left:`:${Me}`,center:`:${Me}:`,right:`${Me}:`};var Bt=re(79006),Rt=re(76406);function Oe(){}let Ge=0;const dt=1e4,It="\u2581",qt="@\u2581\u2581@",hn="@\u2581@",Dn=`
**\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`,On=["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 un(Et){return/^\d+$/.test(Et)?`${Et}px`:Et}const vn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Xt={[vn+"-B"]:"bold",[vn+"-I"]:"italic"},Zt={[Wt]:"\u6DFB\u52A0\u94FE\u63A5",[en]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ln]:"\u6DFB\u52A0\u56FE\u7247",[$t]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[kt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Vt=({defaultValue:Et="",onChange:on,width:an="100%",height:rn=400,miniToolbar:En=!1,isFocus:Mn=!1,watch:An,insertTemp:Fn,mode:In="markdown",id:jn="markdown-editor-id",showResizeBar:Vn=!1,noStorage:zt=!1,showNullButton:nn=!1,showNullProgramButton:bn=!1,hidetoolBar:xn=!1,fullScreen:ke=!1,onBlur:nt,onCMBeforeChange:Ce,onFullScreen:Re,className:De="",disablePaste:Ve=!1,disabled:be=!1,disabledFill:_e=!1,placeholder:ft="",values:yt="",extraUse:ht,onAddBlank:Xe})=>{const[Ke,ut]=(0,E.useState)(null),[fn,sn]=(0,E.useState)(Et),[cn,Rn]=(0,E.useState)(An),[Wn,Yn]=(0,E.useState)(ke),[Hn,Ln]=(0,E.useState)(""),[kn,Un]=(0,E.useState)(0),[qn,Jn]=(0,E.useState)(rn),[$n,Tn]=(0,E.useState)(!1),[tr,Cn]=(0,E.useState)(0),[Gn,ar]=(0,E.useState)(0),or=(0,E.useRef)(),cr=(0,E.useRef)(),yr=(0,E.useRef)(),dr=(0,E.useRef)(),hr=(0,E.useRef)(),rr=(0,E.useRef)(),mr=(0,$e.useDispatch)();(0,E.useEffect)(()=>{const wn=window.scrollY||window.pageYOffset;sn(yt),Ke==null||Ke.setValue(yt),window.scrollTo(0,wn)},[yt]),(0,E.useEffect)(()=>{Re==null||Re(Wn)},[Wn]),(0,E.useEffect)(()=>{if(or.current){let wn=function(Nn,Zn){var fr;if(Ve){Zn.preventDefault();return}const Mr=Zn.clipboardData;if(Mr){const Or=Mr.types.toString(),Fr=Mr.items;if(Or==="Files"||Mr.types.indexOf("Files")>-1){if(Zn.preventDefault(),In=="stex")return;try{let kr=Fr[1];((fr=Fr[0])==null?void 0:fr.kind)==="file"&&(kr=Fr[0]);const Rr=kr.getAsFile(),Xr=Rr.name.split(".").pop();(0,me.I)(Rr,jr=>{var Yr,ti,Ei;jr.id?((Yr=Rr==null?void 0:Rr.type)==null?void 0:Yr.indexOf("image"))>-1?mn.replaceSelection(`<img width="100%" src="/api/attachments/${jr.id}?type=${jr.content_type})" alt="" />`):((ti=Rr==null?void 0:Rr.type)==null?void 0:ti.indexOf("video"))>-1?mn.replaceSelection(`<video width="100%" controls src="/api/attachments/${jr.id}"></video>`):((Ei=Rr==null?void 0:Rr.type)==null?void 0:Ei.indexOf("pdf"))>-1?mn.replaceSelection(`<a href="/api/attachments/${jr.id}?type=${Rr.type}&disposition=inline" target="_blank">${Rr.name}</a>`):On.includes(Xr)?mn.replaceSelection(`<a href="/api/attachments/${jr.id}?type=office&disposition=inline" target="_blank">${Rr.name}</a>`):mn.replaceSelection(`[${Rr.name}](/api/attachments/${jr.id}?type=${jr.content_type})`):(jr==null?void 0:jr.status)===401&&(document.location.href="/user/login")})}catch(kr){vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const mn=Ye().fromTextArea(or.current,{mode:In,lineNumbers:!En,lineWrapping:!0,value:Et,autoCloseTags:!0,autoCloseBrackets:!0});return mn.on("keyup",function(Nn,Zn){Zn.keyCode===8&&(Nn.getValue()==""?mn.setOption("placeholder",ft):mn.setOption("placeholder",null))}),mn.on("keydown",function(Nn,Zn){if(Zn.keyCode===8){var fr=Hr(Nn);fr&&Zn.preventDefault()}}),Mn&&mn.focus(),mn.on("paste",wn),be&&mn.on("beforeChange",function(Nn,Zn){(Zn.origin==="paste"||Zn.origin==="+input")&&Zn.cancel()}),ut(mn),()=>{mn.off("paste",wn)}}},[]);const br=(0,E.useCallback)(()=>{if(cr.current)try{}catch(wn){console.log(wn,"---- to set md editor body height")}},[qn,cr,Wn]);(0,E.useEffect)(()=>{function wn(){let mn=new Se.Z(Nn=>{for(let Zn of Nn)(Zn.target.offsetHeight>0||Zn.target.offsetWidth>0)&&(br(),Ke.setSize("100%","100%"),Ke.refresh())});return mn.observe(or.current.parentElement),mn}if(Ke){const mn=wn();return()=>{var Nn,Zn;(Nn=or.current)!=null&&Nn.parentElement&&mn.unobserve((Zn=or.current)==null?void 0:Zn.parentElement)}}},[Ke,br]),(0,E.useEffect)(()=>{if(Ke){let wn=[];for(const[mn,Nn]of Object.entries(Xt)){let Zn={[mn]:()=>{Er(Nn)}};wn.push(Zn),Ke.addKeyMap(Zn)}return()=>{for(let mn of wn)Ke.removeKeyMap(mn)}}},[Ke]),(0,E.useEffect)(()=>{ke!==Wn&&Yn(ke)},[ke]),(0,Bt.Z)(()=>{if(!zt&&kn>0){let wn=new Date().getTime(),mn=window.sessionStorage.getItem(jn);wn>=kn+dt&&(!mn||mn!==fn)&&(window.sessionStorage.setItem(jn,fn),Tn(!0))}},dt),(0,E.useEffect)(()=>{Rn(An)},[Ke,An]),(0,E.useEffect)(()=>{Ke&&Mn&&Ke.focus()},[Ke,Mn]),(0,E.useEffect)(()=>{if(cn&&Ke){let wn=function(Nn){let Zn=Nn.target;if(dr.current){let fr=Zn.scrollTop/Zn.scrollHeight;dr.current.scrollTop=dr.current.scrollHeight*fr}};const mn=Ke.getScrollerElement();return mn.addEventListener("scroll",wn),()=>{mn.removeEventListener("scroll",wn)}}},[Ke,cn]),(0,E.useEffect)(()=>{if(Ke&&Ce){let wn=function(mn,Nn){Ce(mn,Nn)};return Ke.on("beforeChange",wn),()=>{Ke.off("beforeChange",wn)}}},[Ke,Ce]),(0,E.useEffect)(()=>{if(Ke&&nt){let wn=function(){nt(Ke.getValue())};return Ke.on("blur",wn),()=>{Ke.off("blur",wn)}}},[Ke,nt]);function Hr(wn,mn){var Nn=wn.getDoc(),Zn=Nn.getCursor(),fr=Nn.getLine(Zn.line),Mr=fr.charAt(Zn.ch-1),Or=fr.lastIndexOf("@\u2581@",Zn.ch),Fr=fr.lastIndexOf("@\u2581\u2581@",Zn.ch),kr=Or>Fr?Or:Fr,Rr=Or>Fr?3:4;if(qt.indexOf(Mr)===-1)return null;if(console.log("change1:",mn,wn,fr,Zn,kr,Or,Fr,Mr),kr>=0&&Zn.ch-kr<5){var Xr=kr+Rr;return Nn.replaceRange("",{line:Zn.line,ch:kr},{line:Zn.line,ch:Xr}),{line:Zn.line,ch:Xr}}return null}(0,E.useEffect)(()=>{if(Ke){let wn=function(mn,Nn){const Zn=mn.getValue();sn(Zn),Un(new Date().getTime()),mn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),on&&(bn?on(Zn,Bn(Zn)):on(Zn))};return Ke.on("change",wn),()=>{Ke.off("change",wn)}}},[Ke,on]),(0,E.useEffect)(()=>{if(Ke)if(Et==null)Ke.setValue(""),sn("");else{const wn=window.scrollY||window.pageYOffset;Et!==Ke.getValue()&&(Ke.setValue(Et),sn(Et),Ke.setCursor(be?1:Ke.lineCount(),0),window.scrollTo(0,wn))}},[Ke,Et]);const Er=(0,E.useCallback)(wn=>{const mn=Ke.getCursor(),Nn=Ke.getSelection();let Zn=Nn.split(`
`);switch(wn){case"bold":return Ke.replaceSelection("**"+Nn+"**"),Nn===""&&Ke.setCursor(mn.line,mn.ch+2),Ke.focus();case"italic":return Ke.replaceSelection("*"+Nn+"*"),Nn===""&&Ke.setCursor(mn.line,mn.ch+1),Ke.focus();case"code":return Ke.replaceSelection("`"+Nn+"`"),Nn===""&&Ke.setCursor(mn.line,mn.ch+1),Ke.focus();case"inline-latex":return(0,Rt.Ye)(mr)?void 0:(Ln("inline-latex"),Ke.focus());case"latex":return Ke.replaceSelection("```latex\n"+Nn+"\n```"),Ke.setCursor(mn.line+1,Nn.length+1),Ke.focus();case"line-break":return Ke.replaceSelection(`<br/>
`),Ke.focus();case"list-ul":return Nn===""?Ke.replaceSelection("- "+Nn):Ke.replaceSelection(Zn.map(fr=>fr===""?"":`- ${fr}`).join(`
`)),Ke.focus();case"list-ol":return Nn===""?Ke.replaceSelection("1. "+Nn):Ke.replaceSelection(Zn.map((fr,Mr)=>fr===""?"":`${Mr+1}. ${fr}`).join(`
`)),Ke.focus();case"add-null-ch":Xe==null||Xe();return;case"add-signal":return Nn===""&&Ke.setCursor(mn.line,mn.ch),Ke.replaceSelection(hn),Ke.focus();case"add-multiple":return Nn===""&&Ke.setCursor(mn.line,mn.ch),Ke.replaceSelection(qt),Ke.focus();case"inster-template-1":return Nn===""&&Ke.setCursor(mn.line,mn.ch),Ke.replaceSelection(Dn),Ke.focus();case"eraser":return Ke.setValue(""),Ke.focus();case"trigger-watch":return Rn(!cn),Ke.focus();case"trigger-full-screen":return Yn(!Wn),Ke.focus();case Wt:Ln(Wt);return;case en:Ln(en);return;case ln:Ln(ln);return;case $t:Ln($t);return;case"maths-latex":if((0,Rt.Ye)(mr))return;Ln("maths-latex");return;case Dt:hr.current="",sessionStorage.removeItem("file_id"),Ln(Dt);return;case kt:Ln(kt);return;default:throw new Error}},[Ke,cn,Wn]),Tr=(0,E.useCallback)((wn,mn)=>{var Nn,Zn,fr,Mr,Or,Fr;wn!=null&&wn.disabledClose||Ln("");const{src:kr,alt:Rr,id:Xr}=wn||{};switch(Hn){case Wt:const{title:Ni,link:xi}=wn;return Ke.replaceSelection(`[${Ni}](${xi})`),Ke.focus();case en:const{language:si,content:Fi}=wn;return Ke.replaceSelection(["```"+si,Fi,"```"].join(`
`)),Ke.focus();case"maths-latex":for(var jr=atob(wn),Yr=new Uint8Array(jr.length),ti=0;ti<jr.length;ti++)Yr[ti]=jr.charCodeAt(ti);var Ei=new Blob([Yr],{type:"image/png"});return(0,me.I)(Ei,wr=>{wr.id?Ke.replaceSelection(`![,](/api/attachments/${wr.id}?type=${wr.content_type})`):(wr==null?void 0:wr.status)===401&&(document.location.href="/user/login")}),Ke.focus();case"inline-latex":return(0,Rt.Ye)(mr)?void 0:(Ke.replaceSelection("`$$"+wn+"$$`"),Ke.focus());case wt:return Xr?(Ke.getValue().indexOf(kr)===-1?Ke.replaceSelection(`<center><img id="${Xr}" width="80%" src="${kr}" class="draw-flowchart" alt="${Rr||""}" /></center>`):document.getElementById(Xr).src=se.Z.API_SERVER+kr+"?t="+Date.now(),Ke.focus()):void 0;case ln:case $t:const Wr=mn,Ki=(fr=(Zn=(Nn=Wr==null?void 0:Wr.name)==null?void 0:Nn.split("."))==null?void 0:Zn.pop)==null?void 0:fr.call(Zn);return((Mr=Wr==null?void 0:Wr.type)==null?void 0:Mr.indexOf("image"))>-1||!(Wr!=null&&Wr.type)?Wr!=null&&Wr.align||Wr!=null&&Wr.width?Ke.replaceSelection(`<p style="text-align:${Wr.align||"initial"}"><img width="${Wr.width?Wr.width+"%":"initial"}" src="${kr}" alt="${Rr||""}" /></p>`):Ke.replaceSelection(`<img width="100%" src="${kr}" alt="${Rr||""}" />`):((Or=Wr==null?void 0:Wr.type)==null?void 0:Or.indexOf("video"))>-1?Ke.replaceSelection(`<video width="100%" controls src="${kr}"></video>`):((Fr=Wr==null?void 0:Wr.type)==null?void 0:Fr.indexOf("pdf"))>-1?Ke.replaceSelection(`<a href="${kr}?type=${Wr.type}&disposition=inline" target="_blank">${Wr.name}</a>`):On.includes(Ki)?Ke.replaceSelection(`<a href="${kr}?type=office&disposition=inline" target="_blank">${Wr.name}</a>`):Ke.replaceSelection(`[${Wr.name}](${kr})`),Ke.focus();case kt:const{row:_r,col:xr,align:zr}=wn;let Gr=`
`;for(let wr=0;wr<_r;wr++){let Nr=[],Lr=[];for(let ui=0;ui<xr;ui++)wr===1&&Lr.push(Fe[zr]),Nr.push(" ");wr===1&&(Gr+=`| ${Lr.join(" | ")} |
`),Gr+=`| ${Nr.join(xr===1?"":" | ")} |
`}return Ke.replaceSelection(Gr+`
`),Ke.focus();default:throw new Error}},[Ke,Hn]),Pr=(0,E.useMemo)(()=>{switch(Hn){case Wt:return E.createElement(Qt,{callback:Tr,onCancel:Dr});case en:return E.createElement(Mt.Z,{callback:Tr,onCancel:Dr});case ln:return E.createElement(me.Z,{callback:Tr,onCancel:Dr});case Dt:return E.createElement(oe,{editImgId:hr.current,callback:Tr,onCancel:Dr});case kt:return E.createElement(Ae,{callback:Tr,onCancel:Dr});case"maths-latex":return E.createElement(tn,{showSaveButton:!0,callback:Tr});case"inline-latex":return E.createElement(Ut.Z,{showSaveButton:!0,callback:Tr});default:return null}},[Hn]);function Dr(){Ln("")}(0,E.useEffect)(()=>{if(yr.current){let wn=function(Or){fr=!0,Mr=Or.pageY},mn=function(){fr=!1},Nn=function(Or){if(fr){let Fr=Or.pageY-Mr;Fr<0&&(Fr=0),Fr>300&&(Fr=300);let kr=rn+Fr+"px";Jn(kr)}},Zn=yr.current,fr=!1,Mr=0;return Zn.addEventListener("mousedown",wn),document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",mn),()=>{Zn.removeEventListener("mousedown",wn),document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",mn)}}},[Ke,yr]),(0,E.useEffect)(()=>{Jn(rn)},[rn]);const sr=un(an),lr=un(qn),nr={width:sr,height:lr},gn=(0,E.useMemo)(()=>{if(kn){let wn=new Date(kn),mn=wn.getHours(),Nn=wn.getMinutes(),Zn=wn.getSeconds();return mn=mn<10?"0"+mn:mn,Nn=Nn<10?"0"+Nn:Nn,Zn=Zn<10?"0"+Zn:Zn,`${mn}:${Nn}:${Zn}`}return 0},[kn]),Bn=wn=>{const mn=[];if(bn){let Nn=-1;wn=wn.replace(/(@▁▁@|@▁@)/g,function(Zn,fr,Mr){mn.push({multiLine:Zn!==hn})})}return mn};function Pn(){window.sessionStorage.removeItem(jn),Tn(!1),Un(0)}function pn(){Tn(!1),Un(0),Ke.setValue(window.sessionStorage.getItem(jn))}(0,E.useEffect)(()=>{Zt[Hn]&&Hn!==$t&&Hn!==Dt&&setTimeout(()=>{const wn=document.getElementsByClassName("markdown-popup-form")[0],mn=window.innerWidth/2-wn.offsetWidth/2,Nn=window.innerHeight/2-wn.offsetHeight/2;Cn(mn),ar(Nn)},0)},[Hn]);const Xn=wn=>{wn.preventDefault();const mn=wn.clientX-tr,Nn=wn.clientY-Gn;document.body.onmousemove=Zn=>{let fr=Zn.clientX-mn,Mr=Zn.clientY-Nn;const Or=document.getElementsByClassName("markdown-popup-form")[0],Fr=window.innerWidth-Or.offsetWidth,kr=window.innerHeight-Or.offsetHeight;fr=Math.max(0,Math.min(fr,Fr)),Mr=Math.max(0,Math.min(Mr,kr)),Qn(Zn.clientX,Zn.clientY,mn,Nn)&&(Cn(fr),ar(Mr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Qn=(wn,mn,Nn,Zn)=>{const fr=document.body.clientHeight,Mr=document.body.clientWidth;return wn<20&&Nn>wn||wn>Mr-20&&Nn<wn||mn<20&&Zn>mn||mn>fr-20&&Zn<mn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return E.createElement(E.Fragment,null,E.createElement("div",{className:"markdown-editor-wrapper",ref:cr},E.createElement("div",{className:`markdown-editor-container ${De} ${cn?"on-preview":""} ${En?"mini":""} ${Wn?"full-screen":""}`,style:nr},E.createElement(Tt,{insertTemp:Fn,watch:cn,fullScreen:Wn,showNullButton:nn,showNullProgramButton:bn,onActionCallback:Er,hidetoolBar:xn,extraUse:ht}),E.createElement("div",{className:"markdown-editor-body"},E.createElement("div",{className:"codemirror-container"},E.createElement("textarea",{ref:or,placeholder:ft})),cn?E.createElement("div",{ref:dr,className:"preview-container"},In==="stex"&&E.createElement(At,{value:fn}),In!=="stex"&&E.createElement(xe.Z,{edit:!0,disabledFill:_e,showProgramFill:bn,value:fn,openEditor:wn=>{var mn;hr.current=wn,(mn=rr.current)==null||mn.setHeight("100vh"),setTimeout(()=>{Ln("add-flowchart")},150)}})):null))),Vn?E.createElement("a",{ref:yr,className:"editor-resize"}):null,Hn===$t&&E.createElement(Kt,{callback:Tr,onCancel:Dr}),Hn===Dt&&E.createElement(oe,{ref:rr,editImgId:hr.current,callback:Tr,onCancel:Dr}),E.createElement(st.Z,null,Zt[Hn]&&Hn!==$t&&Hn!==Dt?E.createElement(He.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:tr,top:Gn},title:E.createElement("div",{style:{cursor:"move"},onMouseDown:Xn},Zt[Hn]),open:!0,onCancel:Dr,footer:null,destroyOnClose:!0,width:Hn===Dt?"1200px":null,height:Hn===Dt?"80vh":null,className:"markdown-popup-form"},Pr):null))}},53332:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return ct},I:function(){return Tt}});var E=re(28284),$e=re(6767),ve=re(37568),Ye=re(44104),Se=re(4875),Ee=re(47889),Ie=re(7939),Te=re(23216),Pe=re(59301),he=re(59301),Ze=Object.defineProperty,xe=Object.defineProperties,At=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,We=(st,at,bt)=>at in st?Ze(st,at,{enumerable:!0,configurable:!0,writable:!0,value:bt}):st[at]=bt,Ct=(st,at)=>{for(var bt in at||(at={}))ze.call(at,bt)&&We(st,bt,at[bt]);if(rt)for(var bt of rt(at))Ue.call(at,bt)&&We(st,bt,at[bt]);return st},Nt=(st,at)=>xe(st,At(at));const{useForm:Ft}=E.default,St={width:280,marginRight:10},pt={labelCol:{span:5},wrapperCol:{span:19}};var ct=({callback:st,onCancel:at})=>{const[bt]=Ft();let Be=(0,Pe.useRef)();function it(mt){Be.current.width=bt.getFieldValue("width"),Be.current.align=bt.getFieldValue("align"),st(mt,Be.current)}function Je(mt,Le){if(mt.status===-1){$e.ZP.error(mt.message);return}bt.setFieldsValue({src:`/api/attachments/${mt.id}`,type:Le.type})}function ue(mt){let Le=mt.target.files[0];Be.current=Le,Tt(Le,Je)}return he.createElement(E.default,Nt(Ct({form:bt},pt),{className:"upload-image-panel",onFinish:it,style:{width:470,overflow:"hidden"}}),he.createElement(E.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},he.createElement("div",{className:"flex-container"},he.createElement(E.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},he.createElement(ve.default,{style:St})),he.createElement(et,{onFileChange:ue}))),he.createElement(E.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},he.createElement(ve.default,{style:{width:264}})),he.createElement(E.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},he.createElement(Ye.Z,null,he.createElement(E.default.Item,{name:"width",style:{margin:0}},he.createElement(Se.Z,{style:{width:264}})),he.createElement("span",{className:"ml8"},"%"))),he.createElement(E.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},he.createElement(Ee.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"}]})),he.createElement("aside",null,he.createElement(E.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},he.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Ie.ZP,{type:"default",onClick:at},"\u53D6\u6D88"))))};function et({onFileChange:st}){return he.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",he.createElement("input",{type:"file",onChange:st}))}function Tt(st,at){if(!st)throw new String("\u6CA1\u6709\u6587\u4EF6");let bt=new FormData;bt.append("editormd-image-file",st),bt.append("file_param_name","editormd-image-file"),bt.append("byxhr","true");var Be=new window.XMLHttpRequest;Be.withCredentials=!0,Be.addEventListener("load",function(it){at(JSON.parse(it.target.responseText),st)},!1),Be.addEventListener("error",function(it){console.error(it)},!1),Be.open("POST",`${Te.KI}/api/attachments.json`),Be.send(bt)}},88487:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return ve}});var E=re(59301),$e=re(4676);class ve extends E.Component{constructor(Se){super(Se);const Ee=window.document;this.node=Ee.createElement("div"),Ee.body.appendChild(this.node)}render(){const{children:Se}=this.props;return(0,$e.createPortal)(Se,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(dn,Jt,re){"use strict";re.d(Jt,{SV:function(){return Kt},ZP:function(){return Lt}});var E=re(59301),$e=re(76374);const ve={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"]},Ye={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(`
`)}]},Ee={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},Ie={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var Te=re(53184),Pe=re.n(Te),he=(je,Yt,vt)=>new Promise((ae,te)=>{var ee=ne=>{try{se(vt.next(ne))}catch(pe){te(pe)}},oe=ne=>{try{se(vt.throw(ne))}catch(pe){te(pe)}},se=ne=>ne.done?ae(ne.value):Promise.resolve(ne.value).then(ee,oe);se((vt=vt.apply(je,Yt)).next())});const Ze={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"]}},xe=(je,Yt,vt,ae)=>{const te=Yt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:vt.lineNumber,endColumn:vt.column});return Array.from(new Set(te.match(/\b\w{2,}\b/g)||[])).map(oe=>({label:oe,kind:je.languages.CompletionItemKind.Text,insertText:oe,range:ae}))},At=(je,Yt,vt,ae)=>{je.languages.registerCompletionItemProvider(Yt,{provideCompletionItems(te,ee){const oe=te.getWordUntilPosition(ee),se={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:oe.startColumn,endColumn:oe.endColumn},ne=te.getLineContent(ee.lineNumber).substring(oe.startColumn-2,oe.endColumn);return{suggestions:[...xe(je,te,ee,se),...vt.map(ye=>({label:ye,kind:je.languages.CompletionItemKind.Keyword,documentation:ye,insertText:ye,insertTextRules:je.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...ae.map(ye=>({label:ye.label,kind:je.languages.CompletionItemKind.Snippet,documentation:ye.content,insertText:ne.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:je.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var rt=je=>{Ze.languages.forEach(Yt=>{je.languages.registerDocumentFormattingEditProvider(Yt,{provideDocumentFormattingEdits(vt){return he(this,null,function*(){const ae=Pe()(vt.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:vt.getFullModelRange(),text:ae}]})}})}),At(je,"java",Ye.keywords,Ye.quickKey),At(je,"cpp",Se.keywords,Se.quickKey),At(je,"c",ve.keywords,[]),At(je,"python",Ee.keywords,Ee.quickKey),At(je,"scala",Ie.keywords,Ie.quickKey)};const ze="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ue=Object.defineProperty,We=(je,Yt,vt)=>Yt in je?Ue(je,Yt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):je[Yt]=vt,Ct=(je,Yt,vt)=>We(je,typeof Yt!="symbol"?Yt+"":Yt,vt);const Nt=class zs{constructor(Yt,vt,ae){this.placeholder=Yt,this.editor=vt,this.monaco=ae,vt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return zs.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)}};Ct(Nt,"ID","editor.widget.placeholderHint");var St=Nt,pt=re(96236),ct=re(6767),et=re(25399),Tt=re(78267),st=re(33156),at=re(56102),bt=Object.defineProperty,Be=Object.defineProperties,it=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Le=(je,Yt,vt)=>Yt in je?bt(je,Yt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):je[Yt]=vt,qe=(je,Yt)=>{for(var vt in Yt||(Yt={}))ue.call(Yt,vt)&&Le(je,vt,Yt[vt]);if(Je)for(var vt of Je(Yt))mt.call(Yt,vt)&&Le(je,vt,Yt[vt]);return je},Ht=(je,Yt)=>Be(je,it(Yt)),we=(je,Yt)=>{var vt={};for(var ae in je)ue.call(je,ae)&&Yt.indexOf(ae)<0&&(vt[ae]=je[ae]);if(je!=null&&Je)for(var ae of Je(je))Yt.indexOf(ae)<0&&mt.call(je,ae)&&(vt[ae]=je[ae]);return vt},de=(je,Yt,vt)=>new Promise((ae,te)=>{var ee=ne=>{try{se(vt.next(ne))}catch(pe){te(pe)}},oe=ne=>{try{se(vt.throw(ne))}catch(pe){te(pe)}},se=ne=>ne.done?ae(ne.value):Promise.resolve(ne.value).then(ee,oe);se((vt=vt.apply(je,Yt)).next())});function xt(je){return/^\d+$/.test(je)?`${je}px`:je}function Qt(){}let Mt=!1;const me={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function He(je=[]){let Yt=je;if(Array.isArray(je)){for(let vt=0;vt<je.length;vt++){let ae=me[je[vt]];if(ae)return ae}return Yt[0]}return me[Yt]||Yt}let Qe=null;const jt=()=>de(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(je){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",je)}});var Lt=je=>{var Yt=je,{width:vt="100%",height:ae="100%",value:te,language:ee="javascript",style:oe={},options:se={},overrideServices:ne={},theme:pe="vs-dark",onEditBlur:ye,isCopy:lt=!1,onSave:Ae,autoHeight:Ne=!1,forbidCopy:tt=!1,forbidCopyTips:Pt,onChange:Ot=Qt,editorDidMount:tn=Qt,onFocus:Ut=Qt,onBreakPoint:Wt=Qt,breakPointValue:ln=[],filename:Dt="educoder.txt",errorLine:$t,errorContent:wt="",highlightLine:en,openBreakPoint:kt=!1,placeholder:Me="",showMiniMap:Fe=!0}=Yt,Bt=we(Yt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Rt=(0,E.useRef)(),Oe=(0,E.useRef)({}),Ge=(0,E.useRef)(),dt=(0,E.useRef)(),It=(0,E.useRef)([]),qt=(0,E.useRef)(!1),hn=(0,E.useRef)(),Dn=(0,E.useRef)(),On=(0,E.useRef)(!1),[un,yn]=(0,E.useState)(!1);function vn(){let zt;return Rt.current&&(zt=new $e.Z(nn=>{for(let bn of nn)(bn.target.offsetHeight>0||bn.target.offsetWidth>0)&&Oe.current.instance.layout()}),zt.observe(Rt.current)),zt}function Xt(){ct.ZP.warning({content:decodeURIComponent(Pt||ze),key:"monaco-editor-tip"})}const Zt=()=>{let zt=Oe.current.instance;if(te!=null&&zt&&un){const nn=zt.getModel();nn&&te!==nn.getValue()&&(Mt=!0,nn.setValue(te),zt.layout(),Mt=!1)}};(0,E.useEffect)(()=>{const zt=st.Z.subscribe("formatDocument",nn=>{var bn;let xn=Oe.current.instance;(bn=xn==null?void 0:xn.getAction)==null||bn.call(xn,"editor.action.formatDocument").run()});return window.updateMonacoValue=nn=>{Ot(nn)},zt},[]),(0,E.useEffect)(()=>{var zt;let nn=Oe.current.instance;dt.current&&clearTimeout(dt.current),dt.current=setTimeout(()=>{Zt()},500),te&&(te!=null&&te.length)&&((zt=nn==null?void 0:nn.updateOptions)==null||zt.call(nn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(te.split(/\r\n|\r|\n/g).length))+3,5)}))},[te,un,Oe.current]),(0,E.useEffect)(()=>{if($t&&Oe.current&&Oe.current.instance){let nn=Oe.current.instance;nn.changeViewZones(function(bn){var xn=document.createElement("div");xn.style.padding="10px 20px",xn.style.width="calc(100% - 20px)",xn.className="my-error-line-wrp",xn.innerHTML=wt,bn.addZone({afterLineNumber:$t||11,heightInLines:3,domNode:xn})});var zt={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}};nn.addOverlayWidget(zt),nn.revealPositionInCenter({lineNumber:20,column:1})}},[$t,Oe.current,un]);const Vt=(zt="",nn)=>{if(!zt||zt.trim()==="")return!0;const xn=Oe.current.instance.getModel().getLineTokens(nn);let ke=!1;for(let nt=0;nt<2;nt++)xn.getStandardTokenType(nt)===1&&(ke=!0);return ke};(0,E.useEffect)(()=>{var zt;const nn=(zt=Oe.current)==null?void 0:zt.instance;if(nn&&un&&tt){const bn=nn.onDidBlurEditorWidget(()=>{On.current=!1}),xn=nn.onDidFocusEditorText(()=>{On.current=!0});return()=>{bn.dispose(),xn.dispose()}}},[Oe.current,un,tt]),(0,E.useEffect)(()=>{var zt;if((zt=Oe.current)!=null&&zt.instance&&un&&kt){let nn=Oe.current.instance,bn=nn.getModel();if(!bn)return;(()=>{var ht;let Xe=[],Ke=[];const ut=bn.getAllDecorations();for(let sn of ut)sn.options.className==="highlighted-line"&&(Xe.push((ht=sn==null?void 0:sn.range)==null?void 0:ht.startLineNumber),Ke.push(sn==null?void 0:sn.id));if(en===Xe[0])return;bn.deltaDecorations(Ke,[]);const fn=bn.getLineCount();en&&en<=fn&&(nn.deltaDecorations([],[{range:new Qe.Range(en,1,en,bn.getLineMaxColumn(en)),options:{isWholeLine:!0,className:"highlighted-line"}}]),nn.revealLineInCenter(en))})();const ke=(ht=!1)=>{var Xe;let Ke=[],ut=[];const fn=bn.getAllDecorations();for(let sn of fn)sn.options.linesDecorationsClassName==="breakpoints-select"&&(Ke.push((Xe=sn==null?void 0:sn.range)==null?void 0:Xe.startLineNumber),ut.push(sn==null?void 0:sn.id));if(ht)return{lines:Ke,ids:ut};Wt(Ke)},nt=ht=>de(void 0,null,function*(){let Xe={range:new Qe.Range(ht,1,ht,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield bn.deltaDecorations([],[Xe]),ke()}),Ce=ht=>de(void 0,null,function*(){let Xe=[];const Ke=nn.getLineDecorations(ht);for(let ut of Ke)ut.options.linesDecorationsClassName==="breakpoints-select"&&Xe.push(ut.id);yield bn.deltaDecorations(Xe,[]),ke()}),Re=ht=>{let Xe=nn.getLineDecorations(ht);for(let Ke of Xe)if(Ke.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Tt.isEqual)(ln,ke(!0).lines)){bn.deltaDecorations(ke(!0).ids,[]);const ht=ln.map(Xe=>({range:new Qe.Range(Xe,1,Xe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));bn.deltaDecorations([],ht)}const De=nn.onDidChangeModelContent(ht=>{let Xe=nn.getPosition();if(Xe){let Ke=Xe.lineNumber;clearTimeout(Dn.current),Dn.current=setTimeout(()=>{Vt(bn.getLineContent(Ke),Ke)?Ce(Ke):Re(Ke)?(Ce(Ke),nt(Ke)):ke()},100)}}),Ve=nn.onMouseDown(ht=>{var Xe,Ke,ut;if(ht.target.detail&&((ut=(Ke=(Xe=ht.target)==null?void 0:Xe.element)==null?void 0:Ke.className)!=null&&ut.includes("line-numbers"))){let fn=ht.target.position.lineNumber;if(Vt(bn.getLineContent(fn),fn))return;Re(fn)?Ce(fn):nt(fn)}}),be=ht=>{let Xe={range:new Qe.Range(ht,1,ht,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};It.current=nn.deltaDecorations(It.current,[Xe])},_e=()=>{It.current=nn.deltaDecorations(It.current,[])},ft=nn.onMouseMove(ht=>{var Xe,Ke,ut;if(_e(),ht.target.detail&&((ut=(Ke=(Xe=ht.target)==null?void 0:Xe.element)==null?void 0:Ke.className)!=null&&ut.includes("line-numbers"))){let fn=ht.target.position.lineNumber;if(Vt(bn.getLineContent(fn),fn))return;be(fn)}}),yt=nn.onMouseLeave(()=>{_e()});return()=>{De.dispose(),Ve.dispose(),ft.dispose(),yt.dispose()}}},[Oe.current,un,ln,en,kt,ee]),(0,E.useEffect)(()=>{var zt;(zt=Oe.current)!=null&&zt.instance&&kt&&Oe.current.instance.setPosition({lineNumber:0,column:0})},[en]);function Et(){let zt=Oe.current.instance;if(zt){const nn=zt.getSelection(),bn=Oe.current.pastePos||{},xn=new Qe.Range(bn.startLineNumber||nn.endLineNumber,bn.startColumn||nn.endColumn,bn.endLineNumber||nn.endLineNumber,bn.endColumn||nn.endColumn);setTimeout(()=>{zt.executeEdits("",[{range:xn,text:""}])},300)}}function on(zt){(window.navigator.platform.match("Mac")?zt.metaKey:zt.ctrlKey)&&zt.keyCode==83&&(zt.preventDefault(),Ae())}const an=()=>{if(Ne&&Oe.current.instance){const zt=Oe.current.instance.getContentHeight();jn(zt<ae?ae:zt)}else jn(ae)};function rn(zt){var nn=document.createEvent("MouseEvents");nn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),zt.dispatchEvent(nn)}const En=zt=>{if(!On.current)return;const{keyCode:nn,ctrlKey:bn,metaKey:xn,target:ke,type:nt}=zt;return(nt==="paste"||(nn===67||nn===86)&&(xn||bn))&&ke.nodeName==="TEXTAREA"&&(Xt(),zt.preventDefault()),!1};function Mn(zt,nn){var bn=window.URL||window.webkitURL||window,xn=new Blob([nn]),ke=document.createElementNS("http://www.w3.org/1999/xhtml","a");ke.href=bn.createObjectURL(xn),ke.download=zt,rn(ke)}(0,E.useEffect)(()=>{an()},[an]),(0,E.useEffect)(()=>{Rt.current&&!un&&Promise.all([re.e(8909),re.e(5977)]).then(re.bind(re,71448)).then(zt=>{try{Qe=zt,Oe.current.instance=Qe.editor.create(Rt.current,{value:te,language:He(ee),theme:pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Fe||!1}},ne);const nn=Oe.current.instance;let ke=[...pt.BH._menuItems].find(De=>De[0]._debugName=="EditorContext")[1],nt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ce=(De,Ve)=>{var be,_e;let ft=De._first;do Ve.includes((_e=(be=ft.element)==null?void 0:be.command)==null?void 0:_e.id)&&De._remove(ft);while(ft=ft.next)};if(tn(nn,Qe),setTimeout(()=>{an(),Oe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Mn(Dt||"educoder.txt",nn.getValue())}})},500),Oe.current.subscription=nn.onDidChangeModelContent(De=>{qt.current?clearTimeout(hn.current):(an(),Ot(nn.getValue(),De)),hn.current=setTimeout(()=>{qt.current=!1},500)}),window.Monaco||rt(Qe,He(ee)),tt&&(Ce(ke,nt),Rt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",En),window.removeEventListener("paste",En),window.addEventListener("keydown",En),window.addEventListener("paste",En)),window.Monaco=Qe,ye&&nn.onDidBlurEditorWidget(()=>{ye(nn.getValue())}),Ut&&nn.onDidFocusEditorText(()=>{tt&&jt(),Ut(nn.getValue())}),tt){jt();try{nn.onDidPaste(De=>{const Ve=nn.getSelection(),be=Oe.current.pastePos||{},_e=new Qe.Range(be.startLineNumber||Ve.endLineNumber,be.startColumn||Ve.endColumn,be.endLineNumber||Ve.endLineNumber,be.endColumn||Ve.endColumn);nn.executeEdits("",[{range:De.range,text:""}])})}catch(De){}}let Re=vn();return Me&&typeof Me=="string"&&new St(Me,nn,Qe),yn(!0),()=>{const De=Oe.current.instance;De.dispose();const Ve=De.getModel();Ve&&Ve.dispose(),Oe.current.subscription&&Oe.current.subscription.dispose(),Re.unobserve(Rt.current)}}catch(nn){}})},[]),(0,E.useEffect)(()=>{if(Oe.current.instance&&un)return document.addEventListener("keydown",on,!1),()=>{document.removeEventListener("keydown",on)}},[Ae,un]),(0,E.useEffect)(()=>{let zt=Oe.current.instance;if(zt&&un){let nn=He(ee);Qe.editor.setModelLanguage(zt.getModel(),nn)}},[ee,un]),(0,E.useEffect)(()=>{Oe.current.instance&&un&&Qe.editor.setTheme(pe)},[pe,un]),(0,E.useEffect)(()=>{let zt=Oe.current.instance;Ge.current=se,zt&&un&&(zt.updateOptions(qe({},se)),setTimeout(()=>{zt.getModel().updateOptions(qe({},se))},200))},[JSON.stringify(se),un]),(0,E.useEffect)(()=>{let zt=Oe.current.instance;zt&&un&&zt.layout()},[vt,ae,un]);const[An,Fn]=(0,E.useState)(xt(vt)),[In,jn]=(0,E.useState)(xt(ae)),Vn=Ht(qe({},oe),{width:An,height:In,position:"relative"});return E.createElement("div",{className:"my-monaco-editor",ref:Rt,style:Vn,onFocus:()=>{tt&&jt()}},lt&&E.createElement(at.CopyToClipboard,{text:te,onCopy:()=>ct.ZP.success("\u590D\u5236\u6210\u529F")},E.createElement(et.Z,{title:"\u590D\u5236\u4EE3\u7801"},E.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},E.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Kt({width:je="100%",height:Yt="100%",original:vt,modified:ae,language:te,options:ee={}}){const oe=(0,E.useRef)(),[se,ne]=(0,E.useState)(null);function pe(Ne){let tt;return oe.current&&(tt=new $e.Z(Pt=>{for(let Ot of Pt)(Ot.target.offsetHeight>0||Ot.target.offsetWidth>0)&&Ne.layout()}),tt.observe(oe.current)),tt}(0,E.useEffect)(()=>(oe.current&&Promise.all([re.e(8909),re.e(9404)]).then(re.bind(re,2550)).then(Ne=>{Qe=Ne;const tt=Qe.editor.createDiffEditor(oe.current,Ht(qe({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},ee),{wordWrap:!0}));ne(tt);let Pt=pe(tt);return()=>{tt.dispose();const Ot=tt.getModel();Ot&&Ot.dispose(),Pt.unobserve(oe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,E.useEffect)(()=>{se&&se.setModel({original:Qe.editor.createModel(vt,te),modified:Qe.editor.createModel(ae,te)})},[vt,ae,te,se]);const ye=xt(je),lt=xt(Yt),Ae={width:ye,height:lt};return E.createElement("div",{className:"my-diff-editor",ref:oe,style:Ae})}},54077:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Ze}});var E={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",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},$e=re(29787),ve=re(25399),Ye=re(89787),Se=re(92310),Ee=re.n(Se),Ie=re(76406),Te=re(90736),Pe=re(59301),Ze=({className:xe,dataSource:At=[],col:rt=4,right:ze,bottom:Ue=23,precision:We=0,wrapWidth:Ct=1200,trackEventItems:Nt,loading:Ft,onRemove:St=()=>{},isCurrent:pt=!0,showProgress:ct=!1,showAlias:et=!1,category:Tt="notDisplay",hiddenClick:st=()=>{}})=>{const at=Math.floor((Ct-(rt-1)*ze)/rt),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return Pe.createElement($e.Z,{spinning:Ft},Pe.createElement("div",{className:Ee()(E.list,xe)},!!(At!=null&&At.length)&&(At==null?void 0:At.map((Be,it)=>{var Je,ue,mt,Le,qe,Ht,we;const{name:de,id:xt,identifier:Qt,featured:Mt,school_name:me,image_url:He,excellent:Qe,is_plan:jt}=Be;return Pe.createElement("div",{key:xt,className:pt&&ct?E.wrapisCurrent:E.wrap,style:{width:at,marginRight:(1+it)%rt===0?0:ze+We,marginBottom:Ue}},Pe.createElement("a",{className:E.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),Nt&&(0,Ie.L9)([Nt]),(0,Ie.xg)(`/paths/${Qt}`)}},Pe.createElement("div",{className:E.img},Pe.createElement("img",{className:E.cover,src:`${He}`}),(Je=Be==null?void 0:Be.subject_tags)==null?void 0:Je.map((Lt,Kt)=>{var je,Yt;if(Kt===0){const ae=(je=bt.find(te=>te.name==Lt))==null?void 0:je.swclass;return Pe.createElement("span",{className:`sprite ${ae} ${E.sign}`,style:{left:"-4px"}})}const vt=(Yt=bt.find(ae=>ae.name==Lt))==null?void 0:Yt.ptclass;return Pe.createElement("span",{className:`sprite ${vt} ${E.sign}`,style:{left:`${48+52*(Kt-1)+2*Kt}px`}})}),Pe.createElement("div",{className:E.tagsDom},Pe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Be==null?void 0:Be.excellent)&&Pe.createElement("div",{className:E.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ue=Be==null?void 0:Be.custom_tags)==null?void 0:ue.length)>0&&(Be==null?void 0:Be.custom_tags.map((Lt,Kt)=>{var je;return Pe.createElement(ve.Z,{title:Lt==null?void 0:Lt.tag_name,key:Kt},Pe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((je=Be==null?void 0:Be.custom_tags)==null?void 0:je.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Pe.createElement("span",{className:"multi-llipsis1e"},Lt==null?void 0:Lt.tag_name)))})))),Tt=="hide"&&(Be==null?void 0:Be.studying)&&pt&&Pe.createElement("div",{className:`${E.movebq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),St(Be)}},Pe.createElement("i",{className:"iconfont icon-yichu1 font12"}),Pe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(Tt)&&pt&&Pe.createElement("div",{className:`${E.hiddenbq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),st(Be)}},Pe.createElement("i",{className:`iconfont ${Tt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Pe.createElement("span",null,Tt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Pe.createElement("div",{className:E.name},Pe.createElement(ve.Z,{title:et&&(Be!=null&&Be.excellent_alias_name)?Pe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${de}`,Pe.createElement("br",null),Pe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Be==null?void 0:Be.excellent_alias_name}`)):de},Pe.createElement("span",{className:E.e},et&&(Be==null?void 0:Be.excellent_alias_name)||de))),pt&&ct&&((mt=Be==null?void 0:Be.progress)==null?void 0:mt.all_score)!=0&&Pe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Pe.createElement(Ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Le=Be==null?void 0:Be.progress)==null?void 0:Le.my_score)/((qe=Be==null?void 0:Be.progress)==null?void 0:qe.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ht=Be==null?void 0:Be.progress)==null?void 0:Ht.my_score,"/",(we=Be==null?void 0:Be.progress)==null?void 0:we.all_score),(!pt||!ct)&&Pe.createElement(ve.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${me}`},Pe.createElement("div",{className:E.unit},Pe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),me)),(!pt||!ct)&&Pe.createElement("div",{className:E.tags},Pe.createElement("div",null,Pe.createElement(ve.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Pe.createElement("span",null,Pe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Pe.createElement("span",null,Be.stages_count))),Pe.createElement(ve.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Pe.createElement("span",null,Pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Pe.createElement("span",null,Be.members_count)))))))})),!At.length&&Pe.createElement(Te.Z,null)))}},70467:function(dn,Jt,re){"use strict";re.d(Jt,{jL:function(){return Ye},w9:function(){return de},QD:function(){return ln},cQ:function(){return it.Z},op:function(){return tt},O5:function(){return vn},_b:function(){return Me},t7:function(){return We},Gi:function(){return Qe},YG:function(){return me},qp:function(){return he},vr:function(){return wt},qE:function(){return tn},Je:function(){return Ft},wb:function(){return Be},cq:function(){return vt},tp:function(){return At}});var E=re(59301),$e={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"},Ye=({dataSource:Xt=[],img:Zt,imgWidth:Vt=346,title:Et,sunTitle:on,bannerExtraContent:an})=>E.createElement("div",{className:$e.banner},E.createElement("div",{className:$e.content},E.createElement("aside",null,E.createElement("p",null,E.createElement("b",null,Et),E.createElement("span",null,on)),Xt.length>0&&E.createElement("div",{className:$e.btns},Xt.map((rn,En)=>E.createElement("div",{key:En,onClick:rn.click},rn.name,rn.sign?E.createElement("span",{className:"sprite sprite-33"}):null))),an),Zt&&E.createElement("img",{style:{marginTop:33,marginRight:38},src:Zt,width:Vt}))),Se={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"},Ee=re(92310),Ie=re.n(Ee),Te=re(78267),he=({dataSource:Xt=[],value:Zt,onChange:Vt,onTitleChange:Et,className:on,title:an,titleWidth:rn=41,style:En={},fontColor:Mn="#6A7283",showCount:An})=>{const[Fn,In]=(0,E.useState)(1),[jn,Vn]=(0,E.useState)(!1),zt=(0,E.useRef)(null),nn=(0,E.useRef)(null);return(0,E.useEffect)(()=>{var bn;Xt.length!==0&&(((bn=zt==null?void 0:zt.current)==null?void 0:bn.clientHeight)>97?In(1):In(0)),Xt.length===0&&In(0),Vn(!1)},[Xt]),E.createElement("div",{className:Ie()(Se.row,on,"fadeIn","animated"),style:En},E.createElement("div",{onClick:(0,Te.throttle)(()=>Et==null?void 0:Et(),2e3),style:{width:rn,marginTop:jn?12:4},className:`${Se.title} ${Et?"current":""}`},an),E.createElement("div",{className:jn?`${Se.tagsWrap} ${Se.tagsBorderWrap}`:Se.tagsWrap},E.createElement("div",{className:Se.bar,ref:nn,style:Fn>0?{height:Fn===1?97:"auto",overflow:Fn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},E.createElement("div",{className:Se.tag,ref:zt},Xt==null?void 0:Xt.map(bn=>E.createElement("span",{onClick:()=>Vt(bn.id),key:bn.id,style:{color:Mn},className:Zt===bn.id?Se.active:""},E.createElement("span",{title:bn.name,className:Se.name},bn.name),!!An&&E.createElement("span",{className:Se.num},bn.count))))),!!Fn&&E.createElement(E.Fragment,null,Fn===1?E.createElement("div",{onClick:()=>{var bn;In(2),((bn=zt==null?void 0:zt.current)==null?void 0:bn.clientHeight)>245?Vn(!0):Vn(!1)},className:Se.action},"\u5C55\u5F00",E.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):E.createElement("div",{onClick:()=>{nn.current.scrollTop=0,In(1),Vn(!1)},className:Se.action},"\u6536\u8D77",E.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ze={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"},At=({dataSource:Xt=[],value:Zt,onChange:Vt,className:Et,style:on={}})=>E.createElement("div",{style:on,className:Ie()(Ze.tabs,Et)},Xt.map(an=>E.createElement("span",{onClick:()=>Vt(an.id),className:Zt===an.id?Ze.active:"",key:an.id},an.name))),rt={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"},ze=re(37568),We=({dataSource:Xt=[],value:Zt="",onChange:Vt,onInputChange:Et=()=>{},className:on,style:an={},placeholder:rn,allowClear:En=!1})=>{var Mn;const[An,Fn]=(0,E.useState)(""),[In,jn]=(0,E.useState)("");(0,E.useEffect)(()=>{var nn;let bn=Zt;(nn=JSON.stringify(Zt))!=null&&nn.includes("{")&&(Fn(Zt.id),bn=Zt.value||"");try{jn(decodeURIComponent(bn||""))}catch(xn){jn(decodeURIComponent(bn||""))}},[Zt]);const Vn=()=>{Vt(encodeURIComponent(In),An||null)},zt=nn=>{nn!==An&&(Fn(nn),Vt(encodeURIComponent(In),nn))};return E.createElement("div",{className:Ie()(rt.input,on),style:an},!!Xt.length&&E.createElement("div",{className:rt.dropdown},E.createElement("div",{className:rt.text},(Mn=Xt.find(nn=>nn.id===An))==null?void 0:Mn.name,E.createElement("i",{className:"iconfont icon-zhankai4"}),E.createElement("b",{className:rt.b1}),E.createElement("b",{className:rt.b2})),E.createElement("div",{className:rt.menu},Xt.map((nn,bn)=>E.createElement("div",{key:bn,onClick:()=>zt(nn.id)},nn.name)))),E.createElement(ze.default,{onPressEnter:Vn,value:In,onChange:nn=>{jn(nn.target.value),Et(encodeURIComponent(nn.target.value),An||null)},placeholder:rn,variant:"borderless",allowClear:En,onClear:()=>Vt("",An||null)}),E.createElement("i",{onClick:Vn,className:"iconfont icon-sousuo9 font14 current"}))},Ct={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"},Ft=({value:Xt,onChange:Zt,className:Vt,total:Et,pageSize:on,style:an={}})=>{const rn=Xt<2,En=Xt>=Math.ceil(Et/on);return Et<=on?E.createElement(E.Fragment,null):E.createElement("div",{className:Ie()(Ct.quickPager,Vt),style:an},E.createElement("div",{onClick:()=>{rn||Zt(Xt-1,"prev")},className:rn?Ct.disabled:""},"\u4E0A\u4E00\u9875"),E.createElement("div",{onClick:()=>{En||Zt(Xt+1,"next")},className:En?Ct.disabled:""},"\u4E0B\u4E00\u9875"))},St={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"},pt=re(29787),ct=re(25399),et=re(63139),Tt=re(14185),st=re(76406),at=re(90736),Be=({className:Xt,dataSource:Zt=[],col:Vt=4,right:Et,bottom:on=23,precision:an=0,wrapWidth:rn=1200,trackEventItems:En,loading:Mn})=>{const An=Math.floor((rn-(Vt-1)*Et)/Vt);return E.createElement(pt.Z,{spinning:Mn},E.createElement("div",{className:Ie()(St.list,Xt)},!!Zt.length&&Zt.map((Fn,In)=>{const{name:jn,id:Vn,identifier:zt,power:nn,cover_image_id:bn,pic:xn}=Fn;return E.createElement("div",{className:St.wrap,key:Vn,style:{width:An,marginRight:(1+In)%Vt===0?0:Et+an,marginBottom:on}},E.createElement("a",{target:"_blank",href:`/shixuns/${zt}/challenges`,className:St.li,onClick:ke=>{ke.preventDefault(),En&&(0,st.L9)([En]),nn&&(0,st.xg)(`/shixuns/${zt}/challenges`)}},E.createElement("div",{className:St.img},E.createElement("img",{className:St.cover,src:`${xn}`}),Fn.is_jupyter&&E.createElement("span",{className:`sprite sprite-43 ${St.sign}`}),Fn.is_jupyter_lab&&E.createElement("span",{className:`sprite sprite-42 ${St.sign}`}),Fn.is_unity_3d&&E.createElement("span",{className:`sprite sprite-44 ${St.sign}`})),E.createElement("div",{className:St.name},E.createElement(ct.Z,{title:jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},E.createElement("span",{className:St.e},jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),E.createElement("div",{className:St.tags},E.createElement(ct.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),E.createElement("span",null,Fn.challenges_count))),!!Fn.myshixuns_count&&E.createElement(ct.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),E.createElement("span",null,Fn.myshixuns_count))),E.createElement(ct.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},E.createElement("span",null,E.createElement("span",null,Fn.level))),E.createElement("div",{className:St.rate},E.createElement(et.Z,{allowHalf:!0,disabled:!0,defaultValue:Fn.score_info}),E.createElement("span",null,"\xA0",Fn.score_info?`${Fn.score_info}\u5206`:"5\u5206")))),!nn&&E.createElement("div",{className:St.lockWrap},E.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),E.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zt.length&&E.createElement(at.Z,null)))},it=re(54077),Je={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",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ue=re(62957),mt=re(96599),Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfizi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t9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",qe=re(59301),Ht=(Xt,Zt,Vt)=>new Promise((Et,on)=>{var an=Mn=>{try{En(Vt.next(Mn))}catch(An){on(An)}},rn=Mn=>{try{En(Vt.throw(Mn))}catch(An){on(An)}},En=Mn=>Mn.done?Et(Mn.value):Promise.resolve(Mn.value).then(an,rn);En((Vt=Vt.apply(Xt,Zt)).next())}),de=({className:Xt,dataSource:Zt=[],col:Vt=4,right:Et,bottom:on=23,precision:an=0,wrapWidth:rn=1200,trackEventItems:En,loading:Mn,category:An,hiddenClick:Fn,handleVery:In=()=>!0,isCurrent:jn})=>{const[Vn,zt]=ue.default.useModal(),nn=Math.floor((rn-(Vt-1)*Et)/Vt),bn=xn=>Ht(void 0,null,function*(){Vn.confirm({title:"\u7F6E\u9876",width:500,content:qe.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",qe.createElement("span",{className:"c-blue"},"\u201C",xn.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return qe.createElement(pt.Z,{spinning:Mn},zt,qe.createElement("div",{className:Ie()(Je.list,Xt)},!!Zt.length&&Zt.map((xn,ke)=>{const{subject_identifier:nt,id:Ce,identifier:Re,power:De}=xn,Ve=xn.is_public!=0&&xn.is_public;return qe.createElement("div",{className:Je.wrap,key:Ce,style:{width:nn,marginRight:(1+ke)%Vt===0?0:Et+an,marginBottom:on}},xn.homepage_show&&qe.createElement("div",{className:Je.btnsTop},qe.createElement(mt.default,{color:"red"},"\u7F6E\u9876")),qe.createElement("a",{className:Je.li,onClick:be=>{be.preventDefault(),In(xn==null?void 0:xn.first_category_url)&&(En&&(0,st.L9)([En]),(0,st.xg)(xn.first_category_url))}},qe.createElement("div",{className:Je.top},qe.createElement(ct.Z,{title:xn.name},qe.createElement("div",{className:Je.name},xn.name)),qe.createElement("img",{className:Je.img,src:Tt.Z.IMG_SERVER+"/images/"+xn.avatar_url}),qe.createElement("div",{className:Je.text,title:xn.creator},xn.creator),nt&&qe.createElement("div",{className:Je.btns},qe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),qe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ve&&qe.createElement("div",{className:Je.sign},"\u516C\u5F00"),jn&&qe.createElement("div",{className:Je.hidden,onClick:be=>{be.stopPropagation(),Fn(xn)}},qe.createElement("i",{className:`iconfont ${An=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),An=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),qe.createElement("div",{className:Je.bottom},xn.visits>0&&qe.createElement(ct.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-liulanyan"}),qe.createElement("span",null,xn.visits))),xn.course_members_count>0&&qe.createElement(ct.Z,{title:"\u6210\u5458",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-chengyuan"}),xn.course_members_count)),xn.tasks_count>0&&qe.createElement(ct.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-zuoye"}),xn.tasks_count)),xn.is_end?qe.createElement("div",{style:{color:"#6B758B"}}):qe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!xn.is_accessible&&qe.createElement("div",{className:Je.lockWrap},qe.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),qe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zt.length&&qe.createElement(at.Z,null)))},xt={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"},Qt=re(44283),me=({dataSource:Xt=[],value:Zt,onChange:Vt,className:Et,style:on={},tabBarExtraContent:an})=>E.createElement("div",{className:Ie()(xt.tabs,Et),style:on},E.createElement("div",{className:xt.tabsWrap},Xt.map((rn,En)=>!(rn!=null&&rn.hide)&&E.createElement("aside",{className:xt.tab,onClick:()=>{Vt(rn.id),rn.link&&Qt.history.push(rn.link)},key:En},E.createElement("div",{className:Zt===rn.id?xt.active:""},rn.name),(rn==null?void 0:rn.resetCount)==null&&(rn==null?void 0:rn.total)!==void 0&&E.createElement("span",null,"\uFF08",rn==null?void 0:rn.total,"\uFF09"),(rn==null?void 0:rn.resetCount)!==void 0&&(rn==null?void 0:rn.total)!==void 0&&E.createElement(ct.Z,{title:(rn==null?void 0:rn.tip)!=null?rn==null?void 0:rn.tip:""},E.createElement("span",{style:{color:"#9096A3"}},"\uFF08",E.createElement("span",{style:{color:"#000"}},rn==null?void 0:rn.resetCount),"/",E.createElement("span",null,rn==null?void 0:rn.total),"\uFF09"))))),E.createElement("div",{className:xt.tabBar},an)),Qe=({className:Xt,style:Zt={},children:Vt})=>E.createElement("div",{className:Ie()(Xt),style:Zt},Vt),jt={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"},Lt=re(75727),Kt=re(93041);const je=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var vt=({sortValue:Xt,dropValue:Zt,className:Vt,onSort:Et,onDrop:on,dataSource:an=je})=>{var rn;return E.createElement("div",{className:Ie()(jt.orderWrap,Vt)},E.createElement(Lt.Z,{dropdownRender:()=>E.createElement(Kt.default,null,an.map((En,Mn)=>E.createElement(Kt.default.Item,{key:Mn,onClick:()=>on(En.id)},En.name)))},E.createElement("span",{className:jt.orderTextWrap},(rn=an.find(En=>Zt===En.id))==null?void 0:rn.name)),E.createElement("span",{className:jt.orderIconWrap},E.createElement("span",{className:jt.orderAsc},E.createElement("i",{className:Xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer}`,onClick:()=>Et(Xt==="asc"?"desc":"asc")})),E.createElement("span",{className:jt.orderDesc},E.createElement("i",{className:Xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer}`,onClick:()=>Et(Xt==="asc"?"desc":"asc")}))))},ae={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"},te=re(7939),ee=Object.defineProperty,oe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,pe=(Xt,Zt,Vt)=>Zt in Xt?ee(Xt,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Xt[Zt]=Vt,ye=(Xt,Zt)=>{for(var Vt in Zt||(Zt={}))se.call(Zt,Vt)&&pe(Xt,Vt,Zt[Vt]);if(oe)for(var Vt of oe(Zt))ne.call(Zt,Vt)&&pe(Xt,Vt,Zt[Vt]);return Xt},lt=(Xt,Zt)=>{var Vt={};for(var Et in Xt)se.call(Xt,Et)&&Zt.indexOf(Et)<0&&(Vt[Et]=Xt[Et]);if(Xt!=null&&oe)for(var Et of oe(Xt))Zt.indexOf(Et)<0&&ne.call(Xt,Et)&&(Vt[Et]=Xt[Et]);return Vt},Ae=(Xt,Zt,Vt)=>new Promise((Et,on)=>{var an=Mn=>{try{En(Vt.next(Mn))}catch(An){on(An)}},rn=Mn=>{try{En(Vt.throw(Mn))}catch(An){on(An)}},En=Mn=>Mn.done?Et(Mn.value):Promise.resolve(Mn.value).then(an,rn);En((Vt=Vt.apply(Xt,Zt)).next())}),tt=Xt=>{var Zt=Xt,{className:Vt,style:Et,children:on,loading:an=!1,openLoading:rn,onClick:En=()=>{},size:Mn="middle",shape:An="round"}=Zt,Fn=lt(Zt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[In,jn]=(0,E.useState)(!1);return E.createElement(te.ZP,ye({onClick:(0,Te.throttle)(Vn=>Ae(void 0,null,function*(){rn&&jn(!0);try{yield En(Vn)}catch(zt){console.log("error",zt)}rn&&jn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ie()(ae.btn,ae[`${Mn}-${An}`],Vt),style:Et,size:Mn,shape:An,loading:In||an},Fn),on)},Pt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},tn=({className:Xt,style:Zt,children:Vt=null,onClick:Et,title:on})=>E.createElement("div",{className:Ie()(Pt.head,Xt),style:Zt},E.createElement("span",{className:"primary-hover",onClick:Et},E.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),E.createElement("b",{title:on},on),E.createElement("div",{className:Pt.node},Vt)),Ut={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"},ln=({confirmShow:Xt=!0,confirmTitle:Zt,confirmClick:Vt,cancelShow:Et=!0,cancelTitle:on,cancelClick:an,className:rn,style:En,confirmLoading:Mn=!1})=>E.createElement("div",{className:Ie()(Ut.btns,rn),style:En},Xt&&E.createElement(te.ZP,{loading:Mn,onClick:Vt,type:"primary",className:Ut.confirm},Zt),Et&&E.createElement(te.ZP,{onClick:an,className:Ut.cancel},on)),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"},wt=({className:Xt,style:Zt={},LeftContent:Vt,children:Et,RightContent:on})=>E.createElement("div",{className:Ie()(Dt.fixedBottom,Xt),style:Zt},E.createElement("div",{className:Dt.wrap},E.createElement("div",{className:Dt.left},Vt),E.createElement("div",{className:Dt.center},Et),E.createElement("div",{className:Dt.right},on))),en={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"},Me=({className:Xt,style:Zt={},dataSource:Vt=[]})=>E.createElement("div",{className:Ie()(en.crumbs,Xt),style:Zt},Vt.map((Et,on)=>on<Vt.length-1?E.createElement(E.Fragment,{key:on},Et.path||Et.onClick?E.createElement("span",{className:en.hover,onClick:Et!=null&&Et.onClick?Et.onClick:()=>Qt.history.push(Et.path)},Et.name):E.createElement("span",null,Et.name),E.createElement("span",null,"\xA0",">","\xA0")):E.createElement("span",{key:on,style:{color:"#5F6368"}},Et.name))),Fe=re(11938),Bt=Object.defineProperty,Rt=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,qt=(Xt,Zt,Vt)=>Zt in Xt?Bt(Xt,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Xt[Zt]=Vt,hn=(Xt,Zt)=>{for(var Vt in Zt||(Zt={}))dt.call(Zt,Vt)&&qt(Xt,Vt,Zt[Vt]);if(Ge)for(var Vt of Ge(Zt))It.call(Zt,Vt)&&qt(Xt,Vt,Zt[Vt]);return Xt},Dn=(Xt,Zt)=>Rt(Xt,Oe(Zt)),On=(Xt,Zt)=>{var Vt={};for(var Et in Xt)dt.call(Xt,Et)&&Zt.indexOf(Et)<0&&(Vt[Et]=Xt[Et]);if(Xt!=null&&Ge)for(var Et of Ge(Xt))Zt.indexOf(Et)<0&&It.call(Xt,Et)&&(Vt[Et]=Xt[Et]);return Vt};const{Countdown:un}=Fe.default;var vn=Xt=>{var Zt=Xt,{onChange:Vt}=Zt,Et=On(Zt,["onChange"]);const[on,an]=(0,E.useState)(null);(0,E.useEffect)(()=>{typeof on=="number"&&on>=0&&Vt(on)},[on]);const rn=En=>{const Mn=Math.floor(En/1e3);an(Mn)};return E.createElement(un,Dn(hn({},Et),{onChange:rn}))}},79006:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return $e}});var E=re(59301);function $e(ve,Ye){const Se=(0,E.useRef)();(0,E.useEffect)(()=>{Se.current=ve}),(0,E.useEffect)(()=>{function Ee(){Se.current()}if(Ye!==null){let Ie=setInterval(Ee,Ye);return()=>clearInterval(Ie)}},[Ye])}},49229:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Se}});var E=re(59301),$e={label:"label___CZ1_z",left:"left___ZKFRV",right:"right___zVTRn",error:"error___oNJNo"},ve=re(25399),Se=({name:Ee,tooltipTitle:Ie,children:Te,required:Pe,errorKey:he,errorValue:Ze,errorName:xe,errorStyle:At={},nameWidth:rt=112,align:ze="center",contentStyle:Ue={}})=>E.createElement(E.Fragment,null,E.createElement("div",{className:$e.label,style:{alignItems:ze}},E.createElement("div",{className:$e.left,style:{width:rt}},Pe&&E.createElement("span",null,"*"),E.createElement("div",null,Ee),!!Ie&&E.createElement(ve.Z,{title:Ie},E.createElement("i",{className:"iconfont icon-xiaowenhao2"}))),E.createElement("div",{className:$e.right,style:Ue},Te,xe&&Ze===he&&E.createElement("div",{className:$e.error,style:At},xe))))},4318:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Ee}});var E=re(59301),$e={mirrorModal:"mirrorModal___Pi3tF",right:"right___Hot5f",title:"title___jjMKh",content:"content___BmOkD",des:"des___oGTUM",modal:"modal___yy3VB"},ve=re(62957),Ye=re(35883),Ee=({title:Ie,children:Te,value:Pe})=>{const[he,Ze]=(0,E.useState)(!1);return E.createElement(E.Fragment,null,E.createElement("span",{onClick:()=>Ze(!0)},Te),E.createElement(ve.default,{title:Ie,open:he,width:1e3,destroyOnClose:!0,centered:!0,onCancel:()=>Ze(!1),className:$e.modal,footer:null},typeof Pe=="string"&&E.createElement(Ye.Z,{value:Pe||""}),Object.prototype.toString.call(Pe)==="[object Array]"&&E.createElement(E.Fragment,null,Pe==null?void 0:Pe.map((xe,At)=>E.createElement("div",{key:At},E.createElement("b",null,xe.name||xe.type_name),E.createElement(Ye.Z,{value:xe.description||""}))))))}},70303:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Nt}});var E=re(59301),$e=re(44283),ve=re(37568),Ye=re(28284),Se=re(62957),Ee=re(6767),Ie=re(94968),Te=re(7939),Pe=re(14185),he=re(55351),Ze={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},xe=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ze=(Ft,St)=>{var pt={};for(var ct in Ft)At.call(Ft,ct)&&St.indexOf(ct)<0&&(pt[ct]=Ft[ct]);if(Ft!=null&&xe)for(var ct of xe(Ft))St.indexOf(ct)<0&&rt.call(Ft,ct)&&(pt[ct]=Ft[ct]);return pt},Ue=(Ft,St,pt)=>new Promise((ct,et)=>{var Tt=bt=>{try{at(pt.next(bt))}catch(Be){et(Be)}},st=bt=>{try{at(pt.throw(bt))}catch(Be){et(Be)}},at=bt=>bt.done?ct(bt.value):Promise.resolve(bt.value).then(Tt,st);at((pt=pt.apply(Ft,St)).next())});const We=ve.default.TextArea,Ct=Ft=>{var St=Ft,{newShixuns:pt,globalSetting:ct,loading:et,dispatch:Tt}=St,st=ze(St,["newShixuns","globalSetting","loading","dispatch"]);const[at]=Ye.default.useForm(),[bt,Be]=(0,E.useState)([]),it=qe=>{["uploading","done","removed"].includes(qe.file.status)&&Be(qe.fileList)},Je=qe=>{var Ht;if(!qe.percent||qe.percent==100){const we=(Ht=qe.response)==null?void 0:Ht.id;return Se.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){(yield Tt({type:"newShixuns/deleteAttachment",payload:{id:we}}))&&Be(bt.filter(xt=>{var Qt;return((Qt=xt.response)==null?void 0:Qt.id)!==we}))})}),!1}},ue=qe=>bt.length?!1:qe.size/1024/1024>50?(Ee.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,mt=qe=>Ue(void 0,null,function*(){var Ht,we;const{language:de,env:xt,mode:Qt,code:Mt}=qe||{},me=yield Tt({type:"newShixuns/applyShixunMirror",payload:{language:de,runtime:xt,run_method:Qt,attachment_id:(we=(Ht=bt==null?void 0:bt[0])==null?void 0:Ht.response)==null?void 0:we.id}});Tt({type:"newShixuns/setActionTabs",payload:{}}),me&&Ee.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),Le=()=>{at.resetFields(),Be([])};return E.createElement(Se.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:pt.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:Le},E.createElement("section",{className:Ze.qrCode},E.createElement("aside",{className:Ze.a1},E.createElement("div",{className:Ze.code},E.createElement("img",{width:120,height:120,src:he,alt:"\u4E8C\u7EF4\u7801"})),E.createElement("div",{className:Ze.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),E.createElement("div",{className:Ze.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),E.createElement("aside",{className:Ze.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",E.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),E.createElement(Ye.default,{className:Ze.formWrap,form:at,labelCol:{span:4},wrapperCol:{span:20},onFinish:mt},E.createElement(Ye.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},E.createElement(We,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),E.createElement(Ye.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},E.createElement(We,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),E.createElement(Ye.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},E.createElement(We,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),E.createElement(Ye.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},E.createElement("div",{className:Ze.upload},E.createElement(Ie.default,{fileList:bt,action:`${Pe.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:it,onRemove:Je,beforeUpload:ue,withCredentials:!0},E.createElement("span",{className:`${Ze.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),E.createElement("span",{className:`${Ze.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),E.createElement("div",{className:Ze.footerWrap},E.createElement(Ye.default.Item,null,E.createElement(Te.ZP,{className:"mr5",size:"middle",onClick:()=>{Tt({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),E.createElement(Te.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:et["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var Nt=(0,$e.connect)(({newShixuns:Ft,loading:St,globalSetting:pt})=>({newShixuns:Ft,globalSetting:pt,loading:St.effects}))(Ct)},7961:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(44283),ve=re(62957),Ye=re(55351);const Se=({newShixuns:Ee,dispatch:Ie,user:Te})=>{var Pe;const[he,Ze]=(0,E.useState)(!1);(0,E.useEffect)(()=>{Ee.actionTabs.key==="Create-Environment"&&At()},[(Pe=Ee==null?void 0:Ee.actionTabs)==null?void 0:Pe.key]);const xe=()=>{Ie({type:"newShixuns/setActionTabs",payload:{}})},At=()=>{var rt,ze,Ue,We;xe(),((rt=Te.userInfo)==null?void 0:rt.mirror_marker_status)===0?Ze(!0):((ze=Te.userInfo)==null?void 0:ze.mirror_marker_status)===1?$e.history.push(`/users/${(Ue=Te.userInfo)==null?void 0:Ue.login}/experiment-img/add`):((We=Te.userInfo)==null?void 0:We.mirror_marker_status)===2&&ve.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var Ct;$e.history.push(`/users/${(Ct=Te.userInfo)==null?void 0:Ct.login}/experiment-img`)}})};return E.createElement(ve.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:he,footer:null,onCancel:()=>{Ze(!1)}},E.createElement("div",{style:{textAlign:"center"}},E.createElement("br",null),E.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Ye,alt:"\u4E8C\u7EF4\u7801"})),E.createElement("img",null))};Jt.Z=(0,$e.connect)(({newShixuns:Ee,user:Ie,globalSetting:Te})=>({newShixuns:Ee,globalSetting:Te,user:Ie}))(Se)},17768:function(dn,Jt,re){"use strict";re.r(Jt),re.d(Jt,{default:function(){return te}});var E=re(59301),$e=re(44283),ve=re(6767),Ye=re(62957),Se=re(25399),Ee=re(7939),Ie=re(77019),Te=re(37568),Pe=re(4420),he=re(39116),Ze=re(49317),xe={wrap:"wrap___ONdsC",content:"content___N0LEk",crumbs:"crumbs___ZMtFD",title:"title___zwDOY",upload:"upload___MSuSG",btn:"btn___VpNOC",activeBtn:"activeBtn___WARNi",head:"head___G0LuH",add:"add___ThO12",addDisable:"addDisable___ykVne",setting:"setting___ACQW6",tabs:"tabs___kF5MC",name:"name___APZDD",active:"active___hzqus",line:"line___DAGKO",resource:"resource___Gveup",mirror:"mirror___IBeiQ",interface:"interface___pzUyA",disabled:"disabled___d4p_T",port:"port___vS58L",grade:"grade___4_rtU",tabsBox:"tabsBox___DfBD9",tabTitle:"tabTitle___yxNTA",more:"more___hoice",system:"system___utj75",explain:"explain___ecqpL",btns:"btns___MTI71",template:"template___xdQbN",liWrap:"liWrap___z55nC",li:"li___GcxuL",tag:"tag___xVpLK",cpuWrap:"cpuWrap___Wi43O",activebtn:"activebtn___UamsA",activeTab:"activeTab___fzQvD",tab:"tab___UNT6N",disabledBtn:"disabledBtn___maLgB",doc:"doc___gT07l"},At=re(49229),rt=re(70467),ze=re(584),Ue=re(66443),We=re(36723),Ct=re(35883),Nt=re(1903),Ft={mirrorModal:"mirrorModal___Or3Fz",right:"right___dmM3o",title:"title___qvx5b",content:"content___bgacR",des:"des___tTuzA",btns:"btns___AAZk3",confirm:"confirm___NIDd7",cancel:"cancel___oCK9D",modal:"modal___zo5el"},St=re(70303),pt=re(7961),ct=(ee,oe,se)=>new Promise((ne,pe)=>{var ye=Ne=>{try{Ae(se.next(Ne))}catch(tt){pe(tt)}},lt=Ne=>{try{Ae(se.throw(Ne))}catch(tt){pe(tt)}},Ae=Ne=>Ne.done?ne(Ne.value):Promise.resolve(Ne.value).then(ye,lt);Ae((se=se.apply(ee,oe)).next())});const et=({newShixuns:ee,user:oe,dispatch:se,tab_type:ne,visible:pe,onOk:ye,onCancel:lt,useId:Ae=null,identifier:Ne,shixun_environment_id:tt})=>{var Pt,Ot;const[tn,Ut]=(0,E.useState)(null),[Wt,ln]=(0,E.useState)({}),[Dt,$t]=(0,E.useState)(""),{environmentData:wt}=ee,{frequence_image:en=[],environments:kt=[],other_image:Me=[]}=wt,{name:Fe,description:Bt}=Wt;(0,E.useEffect)(()=>{pe&&(se({type:"newShixuns/getEnvironmentData",payload:{is_create_mirror:1,tab_type:ne}}),$t(""),Ut(Ae))},[pe,Ae]),(0,E.useEffect)(()=>{ee.actionTabs.key==="NewShixuns-Apply"&&lt()},[(Pt=ee==null?void 0:ee.actionTabs)==null?void 0:Pt.key]),(0,E.useEffect)(()=>{tn!==null&&Rt()},[tn]);const Rt=()=>ct(void 0,null,function*(){const Oe=yield(0,Ue.Q1)({mirror_repository_id:tn,identifier:Ne,shixun_environment_id:tt});ln(Oe.data)});return E.createElement(E.Fragment,null,E.createElement(Ye.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:pe,width:1e3,destroyOnClose:!0,centered:!0,onCancel:lt,className:Ft.modal,footer:null},E.createElement("div",{className:Ft.mirrorModal},E.createElement(Nt.Z,{dispatch:se,value:tn,data:kt,otherData:Me,tags:en,onChange:Oe=>Ut(Oe),onSearchWord:Oe=>$t(Oe),hiddenCreateOnline:!0,tab_type:ne,is_create_mirror:1}),E.createElement("div",{className:Ft.right},E.createElement("header",null,E.createElement("div",{className:Ft.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",E.createElement("span",{dangerouslySetInnerHTML:{__html:tn===null?"\u2014 \u2014":(Ot=Fe||"")==null?void 0:Ot.replace(new RegExp(Dt==null?void 0:Dt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}}))),E.createElement("div",{className:Ft.content},tn===null&&E.createElement(ze.Z,{image:We,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),tn!==null&&E.createElement("div",{className:Ft.des},E.createElement(Ct.Z,{value:Bt,highlightKeywords:Dt})),E.createElement("div",{className:Ft.btns},E.createElement(Ee.ZP,{onClick:()=>{Ut(null),ln({}),lt()},className:Ft.cancel},"\u53D6\u6D88 "),E.createElement(Ee.ZP,{onClick:()=>{ye(Wt)},className:Ft.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),E.createElement(St.Z,null),E.createElement(pt.Z,null))};var Tt=(0,$e.connect)(({newShixuns:ee,globalSetting:oe,user:se})=>({newShixuns:ee,globalSetting:oe,user:se}))(et),st=re(4318),at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABACAYAAABGHBTIAAAAAXNSR0IArs4c6QAABlFJREFUaEPtm2lsVFUUx3/nzUxHNsFqqXFvpcOqKEhLTIghkUSN0UT5YPADicagQRA1iiIKJu5RkbD4waAkJsbli7hEo8YYF2IpCCEE2oHGFlnaAQst7TDtzLxjXqHY0lnuG2dLnPtx3v+ce37n3HfenftmhCyP1apWx/r2JSryIFAl6D4R6621i8d/kuWpMnInGVmlMFq6of1dtfXh8yWWxRNrF1+6JtvzufWXVeBlG45PjtuxvYmCEOgtL6ssX71Iwm6DzKbeNfCyDaEb1NZrEwWhlsxR234sWYBiyXKxaU503S5j17pFlQmvFRR4yfq2dpTx2QzijC/5Yd2SynnZ9zvUY3+Fu8J6MzYTEdJWfOX7oTWKXpjtwLwe2friwvGb0vpVbAt2jR4tu9JqEwikK6yv2jbPmBqv2hw6ZauOMdWb6kb4rT9WLKiYYaoX4dGxo2SDqX5AJye7tQswBigaYNg3drRMyQRY3RjlCvgCv/XHcy4qjHBo3Ci50k3s/Z3iZLe6An5hc+iEql7kdqJ0+pF+a8ezCypmptOdu54v4D0tvbsOtvd1GgdmKJxWfcElV1X4phrKyVuFjQPKtTBfFc41h7H/ErBZqlw3LTO3eVCVKmyW5FKFzfJUBKrSkjYrQmlJm+WpCFS5WNI9vbQ2t2mL2vkH9HrgmkqpGeXnsoSz5wL4i212Yzyuk/KPe2ZGv1923DHDSvyFIhfAW363D9uqlxcK2OeVxjtnWYkTXgI2K0vKLv2/q/CX2+29sai6PkYxy3V61Qg/DbfN8MzKW9OK9NHWelwPYO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fqArK8KIB/368XogRRKgcHem5nZbRQzogERqriH2IihBBqZtdIV1EAO8E1BPXWOHxLlhuoCM437LvrAvLV2YS4SF+Opdua9CEbNkLqZ66bMERYWheQdQM2RVPhgYAagjrPhs/UaUr/YQhE1eLx2TVD//lSdMAOo7MvjvexRSHTtxMtlof7ayfIkO/SRbekBxd0u6ovHmQRwlOqXGVY7CNYvDJmAu9NFUl4YFSUFR4Mp6qyrZm5YnO7Qp1CNVCO9p8/twkcxTkVUb6uDbA13duHfwA4Vw8Pu1GN2AAAAABJRU5ErkJggg==",bt=re(94968),Be=(ee,oe,se)=>new Promise((ne,pe)=>{var ye=Ne=>{try{Ae(se.next(Ne))}catch(tt){pe(tt)}},lt=Ne=>{try{Ae(se.throw(Ne))}catch(tt){pe(tt)}},Ae=Ne=>Ne.done?ne(Ne.value):Promise.resolve(Ne.value).then(ye,lt);Ae((se=se.apply(ee,oe)).next())});const it=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/getMd5List`,{method:"get",params:oe},!1,!0)}),Je=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/fileExists`,{method:"get",params:oe},!1,!0)}),ue=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/newFile`,{method:"post",body:oe},!1,!0)}),mt=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/filePatchUpload`,{method:"post",body:oe},!0,!0)}),Le=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/filePatchMerge`,{method:"post",body:oe},!0,!0)}),qe=(ee,oe)=>Be(void 0,null,function*(){return(0,Ze.ZP)(`${ee}/file/v3/downloadCheck`,{method:"get",params:oe},!1,!0)});var Ht=(ee,oe,se)=>new Promise((ne,pe)=>{var ye=Ne=>{try{Ae(se.next(Ne))}catch(tt){pe(tt)}},lt=Ne=>{try{Ae(se.throw(Ne))}catch(tt){pe(tt)}},Ae=Ne=>Ne.done?ne(Ne.value):Promise.resolve(Ne.value).then(ye,lt);Ae((se=se.apply(ee,oe)).next())});const{Dragger:we}=bt.default,de=15*1024*1024,xt=({user:ee,setloading:oe,uploading:se,successCallback:ne,url:pe})=>{let[ye,lt]=(0,E.useState)([]);const[Ae,Ne]=(0,E.useState)(!1),tt=(0,E.useRef)(0);(0,E.useEffect)(()=>{(ye==null?void 0:ye.length)>0&&Ae&&tn(ye==null?void 0:ye[0])},[ye,Ae]),(0,E.useEffect)(()=>()=>{tt.current++},[]);const Pt=()=>{lt([]),tt.current++,ln.current=0,Wt.current=0,Dt.current=0,Ut.current=0},Ot=kt=>{const Me=setInterval(()=>{qe(pe,{id:kt}).then(Fe=>{var Bt,Rt,Oe;Fe.status==="000000"&&((Rt=(Bt=Fe.data)==null?void 0:Bt[0])==null?void 0:Rt.isDownload)===1&&(ye[0].percent=100,ye[0].status="success",lt([...ye]),ve.ZP.info("\u4E0A\u4F20\u6210\u529F"),ne((Oe=Fe==null?void 0:Fe.data)==null?void 0:Oe[0]),clearInterval(Me)),Fe.status!=="000000"&&Pt()})},2e3)},tn=kt=>Ht(void 0,null,function*(){var Me,Fe,Bt,Rt,Oe,Ge,dt,It,qt,hn,Dn,On,un,yn,vn,Xt,Zt,Vt,Et,on,an,rn,En,Mn,An,Fn,In,jn,Vn,zt,nn,bn,xn;const ke=Math.ceil(kt.size/de),nt=tt.current+1;tt.current=nt,Ne(!1),ye[0].status="uploading";const Ce=yield it(pe,{filename:kt.name,userId:(Me=ee.userInfo)==null?void 0:Me.login,size:kt.size,patchNum:ke,lastModified:`${kt.lastModified}`});if(Ce.status==="000000"){const Re=yield Je(pe,{md5:((Bt=(Fe=Ce.data)==null?void 0:Fe[0])==null?void 0:Bt.fmd5)||((Oe=(Rt=Ce.data)==null?void 0:Rt[0])==null?void 0:Oe.md5),size:kt.size,dirName:(Ge=ee.userInfo)==null?void 0:Ge.login,lastModified:`${kt.lastModified}`});if(Re.status==="000000"){if(tt.current!==nt)return;const De=(It=(dt=Re.data)==null?void 0:dt[0])==null?void 0:It.id;if(Array.isArray((hn=(qt=Ce.data)==null?void 0:qt[0])==null?void 0:hn.md5List)&&!((un=(On=(Dn=Ce.data)==null?void 0:Dn[0])==null?void 0:On.md5List)!=null&&un.length)){en(De,kt,ke);return}if(((yn=Re.data)==null?void 0:yn.length)>0&&((Xt=(vn=Re.data)==null?void 0:vn[0])==null?void 0:Xt.type)===1){ye[0].percent=100,ye[0].status="success",lt([...ye]),ve.ZP.info("\u79D2\u4F20\u6210\u529F"),ne((Vt=(Zt=Re==null?void 0:Re.data)==null?void 0:Zt[0])==null?void 0:Vt.item);return}if(((Et=Re.data)==null?void 0:Et.length)>0&&((an=(on=Re.data)==null?void 0:on[0])==null?void 0:an.type)===0){ye[0].percent=parseInt(`${((En=(rn=Re.data)==null?void 0:rn[0])==null?void 0:En.rate)*100}`),ye[0].status="uploading",lt([...ye]),$t(De,kt,(An=(Mn=Ce.data)==null?void 0:Mn[0])==null?void 0:An.md5List,nt,ke);return}const Ve=yield ue(pe,{dirName:(Fn=ee.userInfo)==null?void 0:Fn.login,md5:(jn=(In=Ce.data)==null?void 0:In[0])==null?void 0:jn.fmd5,name:kt.name,size:kt.size});((Vn=Ve.data)==null?void 0:Vn.length)>0&&$t((nn=(zt=Ve.data)==null?void 0:zt[0])==null?void 0:nn.id,kt,(xn=(bn=Ce.data)==null?void 0:bn[0])==null?void 0:xn.md5List,nt,ke)}else Pt()}else Pt()}),Ut=(0,E.useRef)(0),Wt=(0,E.useRef)(0),ln=(0,E.useRef)(0),Dt=(0,E.useRef)(0),$t=(kt,Me,Fe,Bt,Rt)=>{if(!kt)return;Ut.current=Fe.length;const Oe=Math.min(4,Fe.length);for(let Ge=0;Ge<Oe;Ge++)wt(`${kt}`,Me,Fe,Bt,Rt)};function wt(kt,Me,Fe,Bt,Rt){var Oe,Ge;if(ln.current>=Ut.current)return;const dt=(Oe=Fe[ln.current])==null?void 0:Oe.md5,It=(Ge=Fe[ln.current])==null?void 0:Ge.index,qt=It*de,hn=Math.min(Me.size,qt+de),Dn=Me.slice(qt,hn),On=new FileReader;ln.current++,On.readAsArrayBuffer(Dn),On.onload=un=>Ht(this,null,function*(){var yn,vn;const Xt=new FormData;Xt.append("index",`${It}`),Xt.append("parent",kt),Xt.append("size",Dn.size),Xt.append("patch",Dn),Xt.append("md5",dt),Xt.append("userId",(yn=ee.userInfo)==null?void 0:yn.login),Xt.append("name",Me.name+"-patch-"+It);const Zt=yield mt(pe,Xt);if(tt.current===Bt)if(ye[0].percent=0,ye[0].status="uploading",Zt.errorCode==="000000"){Wt.current++,en(`${kt}`,Me,Rt),Dt.current=Math.max((vn=Zt.data[0])==null?void 0:vn.rate,Dt.current),ye[0].percent=parseInt(`${Dt.current*100}`),ye[0].status="uploading",lt([...ye]),wt(`${kt}`,Me,Fe,Bt,Rt);return}else Pt()})}function en(kt,Me,Fe){return Ht(this,null,function*(){var Bt,Rt,Oe;if(Wt.current<Ut.current)return;const Ge=new FormData;Ge.append("parent",kt),Ge.append("size",`${Me.size}`),Ge.append("userId",(Bt=ee.userInfo)==null?void 0:Bt.login),Ge.append("patchNum",`${Fe}`);const dt=yield Le(pe,Ge);dt.errorCode==="000000"?Ot((Oe=(Rt=dt.data)==null?void 0:Rt[0])==null?void 0:Oe.id):Pt()})}return E.createElement(we,{height:200,accept:".gz,.bz2,.tar",onRemove:kt=>{Pt(),ne(null)},multiple:!1,fileList:ye,beforeUpload:kt=>Ht(void 0,null,function*(){let Me=5368709120,Fe=kt.name.toLowerCase();const Bt=[".gz",".bz2",".tar"],Rt=Fe.substring(Fe.lastIndexOf("."));return Bt.includes(Rt)?(kt==null?void 0:kt.size)>Me?(ve.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Me/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(Pt(),ne(null),Ne(!0),lt([kt]),!1):(ve.ZP.info("\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u7684\u955C\u50CF\u6587\u4EF6"),!1)})},E.createElement("div",null,E.createElement("i",{className:"iconfont icon-shangchuanwenjian1 font50",style:{color:"#A9C9FB "}})),E.createElement("div",{className:"font14 mt30 mb20",style:{color:"#9096A3"}},"\u62D6\u62FD\u6587\u4EF6\u6216",E.createElement("span",{style:{color:"#3061D0",marginLeft:5}},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")),E.createElement("div",{style:{fontSize:12,color:"#9096A3"}},"\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u7684\u955C\u50CF\u6587\u4EF6\uFF0C\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC75GB",E.createElement("br",null),"\u5982\u679C\u6709\u4E0A\u4F20\u4E2D\u7684\u6587\u4EF6\uFF0C\u8BF7\u52FF\u5237\u65B0\u6216\u5173\u95ED\u6D4F\u89C8\u5668"))};var Qt=(0,$e.connect)(({user:ee})=>({user:ee}))(xt),Mt=re(76406),me=re(15267),He=Object.defineProperty,Qe=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Kt=(ee,oe,se)=>oe in ee?He(ee,oe,{enumerable:!0,configurable:!0,writable:!0,value:se}):ee[oe]=se,je=(ee,oe)=>{for(var se in oe||(oe={}))jt.call(oe,se)&&Kt(ee,se,oe[se]);if(Qe)for(var se of Qe(oe))Lt.call(oe,se)&&Kt(ee,se,oe[se]);return ee},Yt=(ee,oe)=>{var se={};for(var ne in ee)jt.call(ee,ne)&&oe.indexOf(ne)<0&&(se[ne]=ee[ne]);if(ee!=null&&Qe)for(var ne of Qe(ee))oe.indexOf(ne)<0&&Lt.call(ee,ne)&&(se[ne]=ee[ne]);return se},vt=(ee,oe,se)=>new Promise((ne,pe)=>{var ye=Ne=>{try{Ae(se.next(Ne))}catch(tt){pe(tt)}},lt=Ne=>{try{Ae(se.throw(Ne))}catch(tt){pe(tt)}},Ae=Ne=>Ne.done?ne(Ne.value):Promise.resolve(Ne.value).then(ye,lt);Ae((se=se.apply(ee,oe)).next())});const ae=ee=>{var oe=ee,{classroomList:se,globalSetting:ne,loading:pe,user:ye,dispatch:lt}=oe,Ae=Yt(oe,["classroomList","globalSetting","loading","user","dispatch"]),Ne,tt,Pt,Ot,tn,Ut;const[Wt,ln]=(0,E.useState)(1),[Dt,$t]=(0,E.useState)(1),[wt,en]=(0,E.useState)(!1),[kt,Me]=(0,E.useState)(!0),[Fe,Bt]=(0,E.useState)({}),[Rt,Oe]=(0,E.useState)(""),[Ge,dt]=(0,E.useState)(!1),[It,qt]=(0,E.useState)({}),[hn,Dn]=(0,E.useState)(),[On,un]=(0,E.useState)(0),[yn,vn]=(0,E.useState)(null),[Xt,Zt]=(0,E.useState)(0),[Vt,Et]=(0,E.useState)(""),[on,an]=(0,E.useState)(!0),[rn,En]=(0,E.useState)(!1),[Mn,An]=(0,E.useState)(""),[Fn,In]=(0,E.useState)(""),[jn,Vn]=(0,E.useState)({}),[zt,nn]=(0,E.useState)({}),[bn,xn]=(0,E.useState)({}),[ke,nt]=(0,E.useState)({}),[Ce,Re]=(0,E.useState)(),[De,Ve]=(0,E.useState)(),[be,_e]=(0,E.useState)(""),[ft,yt]=(0,E.useState)(""),[ht,Xe]=(0,E.useState)(""),[Ke,ut]=(0,E.useState)(""),[fn,sn]=(0,E.useState)(!1),[cn,Rn]=(0,E.useState)(!1),[Wn,Yn]=(0,E.useState)(!1),Hn=[{id:1,name:"\u57FA\u4E8E\u57FA\u7840\u955C\u50CF\u521B\u5EFA"},{id:2,name:"\u5BFC\u5165\u672C\u5730\u955C\u50CF\u521B\u5EFA"}],Ln=[{id:1,name:"1\u5F208g",gpu_limit:1,gpu_memory_limit:8*1024},{id:2,name:"2\u5F2016g",gpu_limit:2,gpu_memory_limit:16*1024},{id:3,name:"3\u5F2024g",gpu_limit:3,gpu_memory_limit:24*1024}],kn=[{id:1,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:2,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:3,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,E.useEffect)(()=>{Un(),lt({type:"globalSetting/footerToggle",payload:!1})},[]),(0,E.useEffect)(()=>{document.title="\u521B\u5EFA\u955C\u50CF"},[location==null?void 0:location.pathname]);const Un=()=>vt(void 0,null,function*(){var Cn;const Gn=yield(0,Ze.ZP)("/api/user_mirrors/other_info.json",{method:"get"});Gn.status===0&&(qt(Gn==null?void 0:Gn.data),Dn((Cn=Gn==null?void 0:Gn.data)==null?void 0:Cn.default_mirror_desc))}),qn=(Cn,Gn)=>vt(void 0,null,function*(){Wt===1?sn(!0):Rn(!0);const ar=yield(0,Ze.ZP)("/api/user_mirrors/check_mirror_name.json",{method:"post",body:{type_name:Cn}});(ar==null?void 0:ar.status)===0?(Wt===1&&(_e(""),yt(""),Gn&&dt(!0)),Wt===2&&(Xe(""),ut(""),Gn&&Jn())):(Wt===1&&(_e("type_name"),yt(ar==null?void 0:ar.message)),Wt===2&&(Xe("type_name"),ut(ar==null?void 0:ar.message)),document.body.scrollIntoView()),Rn(!1),sn(!1)}),Jn=()=>vt(void 0,null,function*(){Rn(!0);const Cn=yield(0,Ze.ZP)("/api/user_mirrors.json",{method:"post",body:{create_method:2,type_name:De,description:Rt,is_support_vnc:rn,is_support_webssh:on,file_path:jn==null?void 0:jn.path,file_id:jn==null?void 0:jn.id,file_old_name:jn==null?void 0:jn.oldName,file_new_name:jn==null?void 0:jn.name,filesize:jn==null?void 0:jn.size}});(Cn==null?void 0:Cn.status)===0&&(ve.ZP.success("\u521B\u5EFA\u6210\u529F"),$e.history.back(),Rn(!1))}),$n=()=>vt(void 0,null,function*(){var Cn,Gn,ar;const or=yield(0,Ze.ZP)("/api/shixuns/new.json",{method:"get",params:{is_create_mirror:1,tab_type:kn[Number(Dt)-1].type}});(or==null?void 0:or.status)===0&&(((Gn=(Cn=or==null?void 0:or.data)==null?void 0:Cn.environments)==null?void 0:Gn.length)===0&&((ar=or==null?void 0:or.data)==null?void 0:ar.other_image.length)===0?Me(!0):Me(!1))}),Tn=()=>{const Cn=()=>{$e.history.back()};let Gn=!1;(zt!=null&&zt.id||bn!=null&&bn.id||ke!=null&&ke.id||Ce)&&(Gn=!0),(jn!=null&&jn.id||De||on===!1||rn===!0)&&(Gn=!0),Gn?Ye.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Cn()}}):Cn()};(0,E.useEffect)(()=>{$n()},[Dt]);const tr=()=>vt(void 0,null,function*(){if(Wt===1){if(Fe!=null&&Fe.id)Et("");else{Et("mirror"),document.body.scrollIntoView();return}if(Ce)yield qn(Ce,!0);else{_e("type_name"),yt("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),document.body.scrollIntoView();return}}if(Wt===2){if(!on&&!rn){An("interface"),document.body.scrollIntoView();return}else An("");if((jn==null?void 0:jn.id)!=null)In("");else{In("file"),document.body.scrollIntoView();return}if(De)qn(De,!0);else{Xe("type_name"),ut("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),document.body.scrollIntoView();return}}});return E.createElement("div",{className:xe.wrap},E.createElement("div",{className:xe.content},E.createElement("div",{className:xe.crumbs},E.createElement("div",null,E.createElement("i",{className:"iconfont icon-fanhuijingxiang",style:{color:"#3061D0",fontSize:14,cursor:"pointer"},onClick:Tn}),E.createElement("span",{style:{paddingLeft:8}},"\u521B\u5EFA\u955C\u50CF")),E.createElement(Se.Z,{title:"",className:xe.doc},E.createElement("span",{onClick:()=>{(0,Mt.xg)("https://www.educoder.net/forums/37006")}},E.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}),E.createElement("span",{style:{paddingLeft:4}},"\u5E2E\u52A9\u6587\u6863")))),E.createElement("div",{className:xe.title},"\u521B\u5EFA\u65B9\u5F0F\u4E0E\u6765\u6E90"),E.createElement("div",{style:{marginBottom:60}},E.createElement(At.Z,{required:!0,nameWidth:100,name:"\u521B\u5EFA\u65B9\u5F0F"},Hn.map(Cn=>E.createElement(Ee.ZP,{type:Wt===Cn.id?"primary":"default",style:{marginRight:20,borderRadius:2},className:Wt===Cn.id?xe.activeBtn:xe.btn,onClick:()=>{ln(Cn.id),Dt===1&&(Bt(zt),zt!=null&&zt.id&&Et("")),Dt===2&&(Bt(bn),bn!=null&&bn.id&&Et("")),Dt===3&&(Bt(ke),ke!=null&&ke.id&&Et(""))}},Cn.name))),Wt===1&&E.createElement(E.Fragment,null,E.createElement(At.Z,{required:!0,nameWidth:100,name:"\u57FA\u7840\u955C\u50CF"},E.createElement(rt.tp,{dataSource:kn,value:Dt,onChange:Cn=>{$t(Cn),Cn===1&&(Bt(je({},zt)),zt!=null&&zt.id&&Et("")),Cn===2&&(Bt(je({},bn)),bn!=null&&bn.id&&Et("")),Cn===3&&(Bt(je({},ke)),ke!=null&&ke.id&&Et(""))}})),E.createElement(At.Z,{nameWidth:100,errorKey:"mirror",errorValue:Vt,errorName:"\u8BF7\u9009\u62E9\u57FA\u7840\u955C\u50CF",errorStyle:{fontSize:12,paddingBottom:8}},E.createElement(Ie.Z,{align:"middle"},kt===!1?E.createElement(E.Fragment,null,!!(Fe!=null&&Fe.id)&&E.createElement(E.Fragment,null,E.createElement("div",{onClick:()=>{en(!0)},className:xe.mirror},E.createElement("div",null,Fe==null?void 0:Fe.name),E.createElement("i",{className:"iconfont icon-genghuan"})),E.createElement(st.Z,{value:[{description:Fe==null?void 0:Fe.description,name:Fe==null?void 0:Fe.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},E.createElement("span",{className:xe.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(Fe!=null&&Fe.id)&&E.createElement("div",{onClick:()=>{en(!0)},className:xe.mirror},E.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),E.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):E.createElement("div",null,E.createElement("img",{src:at,style:{width:"30px",height:"32px"}}),E.createElement("span",{style:{paddingLeft:"10px"}},"\u6682\u65E0\u6570\u636E~"))))),Wt===2&&E.createElement(E.Fragment,null,E.createElement(At.Z,{nameWidth:100,align:"start",required:!0,name:"\u955C\u50CF\u6587\u4EF6",errorKey:"file",errorValue:Fn,errorName:"\u8BF7\u4E0A\u4F20\u955C\u50CF\u6587\u4EF6",errorStyle:{fontSize:12,paddingBottom:8}},E.createElement(Qt,{successCallback:Cn=>{Cn?(In(""),Vn(je({},Cn))):Vn({})},url:(Ne=ne==null?void 0:ne.setting)==null?void 0:Ne.bigfiles_upload})),E.createElement(At.Z,{required:!0,name:"\u955C\u50CF\u7C7B\u578B",nameWidth:100,align:"start",errorKey:"interface",errorValue:Mn,errorName:"\u8BF7\u9009\u62E9\u955C\u50CF\u7C7B\u578B",errorStyle:{fontSize:12,paddingBottom:8}},E.createElement("div",{className:xe.interface},E.createElement("div",{onClick:()=>{an(!on),(!on||rn===!0)&&An("")},className:on?xe.active:""},E.createElement("span",{className:"iconfont icon-xuanzhong9"}),E.createElement("div",null,E.createElement("i",{className:"iconfont icon-minglinghang"}),E.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),E.createElement("aside",null,"\u901A\u8FC7\u547D\u4EE4\u884C\u7EC8\u7AEF\u7684\u65B9\u5F0F\u8FDE\u63A5")),E.createElement("div",{onClick:()=>{En(!rn),(!rn||on===!0)&&An("")},className:rn?xe.active:""},E.createElement("span",{className:"iconfont icon-xuanzhong9"}),E.createElement("div",null,E.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),E.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),E.createElement("aside",null,"\u901A\u8FC7\u56FE\u5F62\u5316\u684C\u9762\u7684\u65B9\u5F0F\u8FDE\u63A5"))))),E.createElement("div",{className:xe.title,style:{marginTop:0}},"\u955C\u50CF\u4FE1\u606F"),E.createElement(At.Z,{required:!0,nameWidth:100,name:"\u955C\u50CF\u540D\u79F0",errorKey:"type_name",errorValue:Wt===1?be:ht,errorName:Wt===1?ft:Ke,errorStyle:{fontSize:12,paddingBottom:8}},E.createElement(Te.default,{value:Wt===1?Ce:De,onChange:Cn=>{const Gn=Cn.target.value;Wt===1&&Re(Gn),Wt===2&&Ve(Gn)},onBlur:Cn=>{const Gn=Cn.target.value;if(Gn.length<=60){const ar=/^[a-zA-Z][a-zA-Z0-9#+.\-/_:]*$/;Gn.match(ar)||Gn===""?Wt===1?(Re(Gn),_e(""),yt("")):Wt===2&&(Ve(Gn),Xe(""),ut("")):Wt===1?(_e("type_name"),yt("\u955C\u50CF\u540D\u79F0\u53EA\u80FD\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EC5\u652F\u6301\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u5B57\u7B26#+.-/_:")):Wt===2&&(Xe("type_name"),ut("\u955C\u50CF\u540D\u79F0\u53EA\u80FD\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EC5\u652F\u6301\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u5B57\u7B26#+.-/_:"))}else Wt===1?(_e("type_name"),yt("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC760\u4E2A\u5B57\u7B26")):Wt===2&&(Xe("type_name"),ut("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC760\u4E2A\u5B57\u7B26"))},placeholder:"\u4F8B\u5982\uFF1APython3.6",size:"large"})),E.createElement(At.Z,{name:"\u955C\u50CF\u63CF\u8FF0",nameWidth:100,align:"start"},E.createElement(he.Z,{fullScreen:!1,watch:!0,height:500,placeholder:"",defaultValue:Wt===1?Fe==null?void 0:Fe.description:hn,onChange:Cn=>{Oe(Cn)},onBlur:Cn=>{Oe(Cn)}})))),E.createElement("div",{className:xe.btns},E.createElement(Ee.ZP,{style:{marginRight:40},onClick:Tn},"\u53D6\u6D88"),Wt===1&&E.createElement(Ee.ZP,{type:"primary",onClick:tr,loading:fn},"\u5F00\u59CB\u5236\u4F5C\u955C\u50CF"),Wt===2&&E.createElement(Ee.ZP,{disabled:!(jn!=null&&jn.id),type:jn!=null&&jn.id?"primary":"default",className:jn!=null&&jn.id?"":xe.disabledBtn,onClick:()=>tr(),loading:cn},"\u5F00\u59CB\u5BFC\u5165")),E.createElement(Tt,{useId:Fe==null?void 0:Fe.id,tab_type:kn[Number(Dt)-1].type,visible:wt,onCancel:()=>{en(!1)},onOk:Cn=>{Dt===1&&nn(Cn),Dt===2&&xn(Cn),Dt===3&&nt(Cn),Bt(Cn),en(!1),Et("")}}),E.createElement(Ye.default,{centered:!0,maskClosable:!1,keyboard:!1,destroyOnClose:!0,open:Ge,title:"\u9009\u62E9\u8FD0\u884C\u73AF\u5883",width:"568px",okText:"\u786E\u5B9A",wrapClassName:xe.auditModal,confirmLoading:Wn,onCancel:()=>{dt(!1)},onOk:()=>vt(void 0,null,function*(){var Cn,Gn,ar,or;Yn(!0);const cr=yield(0,Ze.ZP)("/api/user_mirrors.json",{method:"post",body:{create_method:1,base_mirror_repository_id:Fe.id,cpu_memory_limit:It==null?void 0:It.cpu_memory_limit_config[Number(On)],gpu_limit:typeof yn=="number"?(Cn=Ln[yn])==null?void 0:Cn.gpu_limit:null,gpu_memory_limit:typeof yn=="number"?(Gn=Ln[yn])==null?void 0:Gn.gpu_memory_limit:null,time_limit:(ar=It==null?void 0:It.time_limit_config[Number(Xt)])==null?void 0:ar.value,type_name:Ce,description:Rt}});(cr==null?void 0:cr.status)===0&&(ve.ZP.success("\u521B\u5EFA\u6210\u529F"),$e.history.push(`/shixuns/new/${(or=cr==null?void 0:cr.data)==null?void 0:or.user_mirror_id}/imagepreview?operation=create_image`)),Yn(!1),dt(!1)})},E.createElement("div",{style:{paddingTop:20}},E.createElement(At.Z,{required:!0,name:"\u914D\u7F6E",align:"center",nameWidth:60},E.createElement("div",{className:xe.cpuWrap},(tt=It==null?void 0:It.cpu_memory_limit_config)==null?void 0:tt.map((Cn,Gn)=>E.createElement("div",{className:On===Gn?xe.activebtn:xe.btn,onClick:()=>un(Gn)},E.createElement("div",null,Cn),On===Gn?E.createElement("div",null,E.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):"")))),(((tn=(Pt=ne==null?void 0:ne.setting)==null?void 0:Pt.big_model_users)==null?void 0:tn.includes((Ot=ye==null?void 0:ye.userInfo)==null?void 0:Ot.login))||(0,me.fn)())&&E.createElement(E.Fragment,null,E.createElement(At.Z,{name:"GPU",align:"center",nameWidth:60},E.createElement("div",{className:xe.cpuWrap},Ln==null?void 0:Ln.map((Cn,Gn)=>E.createElement("div",{className:yn===Gn?xe.activebtn:xe.btn,onClick:()=>{vn(yn===Gn?null:Gn)}},E.createElement("div",null,Cn.name),yn===Gn?E.createElement("div",null,E.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):""))))),E.createElement(At.Z,{required:!0,name:"\u65F6\u957F",align:"center",nameWidth:60},(Ut=It==null?void 0:It.time_limit_config)==null?void 0:Ut.map((Cn,Gn)=>E.createElement("span",{className:Xt===Gn?xe.activeTab:xe.tab,onClick:()=>Zt(Gn)},Cn.name))))))};var te=(0,$e.connect)(({classroomList:ee,loading:oe,globalSetting:se,user:ne})=>({classroomList:ee,globalSetting:se,loading:oe.models.classroomList,user:ne}))(ae)},20047:function(dn,Jt,re){"use strict";re.d(Jt,{AL:function(){return St},Iy:function(){return Ze},Qv:function(){return rt},ez:function(){return Ft},jb:function(){return xe}});var E=re(32834),$e=re.n(E),ve=re(11690),Ye=re.n(ve);let Se=1;function Ee(st,at){const bt=st.match(/^(\s+)(?:```)/);if(bt===null)return at;const Be=bt[1];return at.split(`
`).map(it=>{const Je=it.match(/^\s+/);if(Je===null)return it;const[ue]=Je;return ue.length>=Be.length?it.slice(Be.length):it}).join(`
`)}let Ie=[],Te=["<ul>"];const Pe=new($e()).Renderer,he=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ze(){Ie.length=0,Te=["<ul>"]}const xe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function At(st,at,bt,Be){if(at>=st.length||st[at].level<=bt)return at;var it=st[at];Be.push("<li><a href='#"+Se+it.anchor+"'>"+it.text+"</a>"),at++;var Je=[];return at=At(st,at,it.level,Je),Je.length>0&&(Be.push("<ul>"),Je.forEach(function(ue){Be.push(ue)}),Be.push("</ul>")),Be.push("</li>"),at=At(st,at,bt,Be),at}function rt(){return At(Ie,0,0,Te),Te.push("</ul>"),Te.join("")}const ze={heading(st){const at=he.exec(st);if(Se+=1,at)return{type:"heading",raw:at[0],depth:at[1].length,text:at[2]}},fences(st){const at=this.rules.block.fences.exec(st);if(at){const bt=at[0];let Be=Ee(bt,at[3]||"");const it=at[2]?at[2].trim():at[2];if(["latex","katex","math"].indexOf(it)>=0){const Je=Ct(),ue=Be;Be=Je,Nt[Je]={type:"block",expression:ue}}return{type:"code",raw:bt,lang:it,text:Be}}}},Ue=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let We=0;const Ct=()=>`__special_katext_id_${We++}__`;let Nt={};function Ft(){return Nt}function St(){We=0,Nt={}}function pt(st){return st=st.replace(Ue,(at,bt)=>{const Be=Ct();return Nt[Be]={type:"inline",expression:bt},Be}),st}const ct=Pe.listitem;Pe.listitem=function(st){return ct(pt(st))};const et=Pe.paragraph;Pe.paragraph=function(st){return et(pt(st))};const Tt=Pe.tablecell;Pe.tablecell=function(st,at){return Tt(pt(st),at)},Pe.code=function(st,at,bt){const Be=(at||"").match(/\S*/)[0];return Be?["latex","katex","math"].indexOf(Be)>=0?`<p class='editormd-tex'>${st}</p>`:`<pre class="prettyprint linenums"><code class="language-${at}">${bt?st:(0,ve.escape)(st,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(bt?st:(0,ve.escape)(st,!0))+"</code></pre>"},Pe.heading=function(st,at,bt){let Be=this.options.headerPrefix+bt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ie.push({anchor:Be,level:at,text:st}),"<h"+at+' id="'+Se+Be+'">'+st+"</h"+at+">"},$e().setOptions({silent:!0,gfm:!0,pedantic:!1}),$e().use({tokenizer:ze,renderer:Pe}),Jt.ZP=$e()},86013:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(19248);const ve=Ye=>{let Se;return typeof Ye=="object"&&(Ye!=null&&Ye.clearIcon)?Se=Ye:Ye&&(Se={clearIcon:E.createElement($e.Z,null)}),Se};Jt.Z=ve},38406:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(48755),ve=re(584);const Ye=Se=>{const{componentName:Ee}=Se,{getPrefixCls:Ie}=(0,E.useContext)($e.E_),Te=Ie("empty");switch(Ee){case"Table":case"List":return E.createElement(ve.Z,{image:ve.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return E.createElement(ve.Z,{image:ve.Z.PRESENTED_IMAGE_SIMPLE,className:`${Te}-small`});case"Table.filter":return null;default:return E.createElement(ve.Z,null)}};Jt.Z=Ye},36207:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return lt}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(85899),Se=re(72190),Ee=re(43403),Ie=re(34280),Te=E.createContext(null),Pe=E.createContext({}),he=Te,Ze=re(18642),xe=re(60499),At=re(77900),rt=re(10228),ze=re(26112),Ue=re(42244),We=re(8654),Ct=["prefixCls","className","containerRef"],Nt=function(Ne){var tt=Ne.prefixCls,Pt=Ne.className,Ot=Ne.containerRef,tn=(0,Ue.Z)(Ne,Ct),Ut=E.useContext(Pe),Wt=Ut.panel,ln=(0,We.x1)(Wt,Ot);return E.createElement("div",(0,xe.Z)({className:ve()("".concat(tt,"-content"),Pt),role:"dialog",ref:ln},(0,ze.Z)(Ne,{aria:!0}),{"aria-modal":"true"},tn))},Ft=Nt,St=re(48736);function pt(Ae){return typeof Ae=="string"&&String(Number(Ae))===Ae?((0,St.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ae)):Ae}function ct(Ae){warning(!("wrapperClassName"in Ae),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ae.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var et={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Tt(Ae,Ne){var tt,Pt,Ot,tn=Ae.prefixCls,Ut=Ae.open,Wt=Ae.placement,ln=Ae.inline,Dt=Ae.push,$t=Ae.forceRender,wt=Ae.autoFocus,en=Ae.keyboard,kt=Ae.classNames,Me=Ae.rootClassName,Fe=Ae.rootStyle,Bt=Ae.zIndex,Rt=Ae.className,Oe=Ae.id,Ge=Ae.style,dt=Ae.motion,It=Ae.width,qt=Ae.height,hn=Ae.children,Dn=Ae.mask,On=Ae.maskClosable,un=Ae.maskMotion,yn=Ae.maskClassName,vn=Ae.maskStyle,Xt=Ae.afterOpenChange,Zt=Ae.onClose,Vt=Ae.onMouseEnter,Et=Ae.onMouseOver,on=Ae.onMouseLeave,an=Ae.onClick,rn=Ae.onKeyDown,En=Ae.onKeyUp,Mn=Ae.styles,An=Ae.drawerRender,Fn=E.useRef(),In=E.useRef(),jn=E.useRef();E.useImperativeHandle(Ne,function(){return Fn.current});var Vn=function(Xe){var Ke=Xe.keyCode,ut=Xe.shiftKey;switch(Ke){case rt.Z.TAB:{if(Ke===rt.Z.TAB){if(!ut&&document.activeElement===jn.current){var fn;(fn=In.current)===null||fn===void 0||fn.focus({preventScroll:!0})}else if(ut&&document.activeElement===In.current){var sn;(sn=jn.current)===null||sn===void 0||sn.focus({preventScroll:!0})}}break}case rt.Z.ESC:{Zt&&en&&(Xe.stopPropagation(),Zt(Xe));break}}};E.useEffect(function(){if(Ut&&wt){var ht;(ht=Fn.current)===null||ht===void 0||ht.focus({preventScroll:!0})}},[Ut]);var zt=E.useState(!1),nn=(0,Se.Z)(zt,2),bn=nn[0],xn=nn[1],ke=E.useContext(he),nt;typeof Dt=="boolean"?nt=Dt?{}:{distance:0}:nt=Dt||{};var Ce=(tt=(Pt=(Ot=nt)===null||Ot===void 0?void 0:Ot.distance)!==null&&Pt!==void 0?Pt:ke==null?void 0:ke.pushDistance)!==null&&tt!==void 0?tt:180,Re=E.useMemo(function(){return{pushDistance:Ce,push:function(){xn(!0)},pull:function(){xn(!1)}}},[Ce]);E.useEffect(function(){if(Ut){var ht;ke==null||(ht=ke.push)===null||ht===void 0||ht.call(ke)}else{var Xe;ke==null||(Xe=ke.pull)===null||Xe===void 0||Xe.call(ke)}},[Ut]),E.useEffect(function(){return function(){var ht;ke==null||(ht=ke.pull)===null||ht===void 0||ht.call(ke)}},[]);var De=Dn&&E.createElement(At.default,(0,xe.Z)({key:"mask"},un,{visible:Ut}),function(ht,Xe){var Ke=ht.className,ut=ht.style;return E.createElement("div",{className:ve()("".concat(tn,"-mask"),Ke,kt==null?void 0:kt.mask,yn),style:(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},ut),vn),Mn==null?void 0:Mn.mask),onClick:On&&Ut?Zt:void 0,ref:Xe})}),Ve=typeof dt=="function"?dt(Wt):dt,be={};if(bn&&Ce)switch(Wt){case"top":be.transform="translateY(".concat(Ce,"px)");break;case"bottom":be.transform="translateY(".concat(-Ce,"px)");break;case"left":be.transform="translateX(".concat(Ce,"px)");break;default:be.transform="translateX(".concat(-Ce,"px)");break}Wt==="left"||Wt==="right"?be.width=pt(It):be.height=pt(qt);var _e={onMouseEnter:Vt,onMouseOver:Et,onMouseLeave:on,onClick:an,onKeyDown:rn,onKeyUp:En},ft=E.createElement(At.default,(0,xe.Z)({key:"panel"},Ve,{visible:Ut,forceRender:$t,onVisibleChanged:function(Xe){Xt==null||Xt(Xe)},removeOnLeave:!1,leavedClassName:"".concat(tn,"-content-wrapper-hidden")}),function(ht,Xe){var Ke=ht.className,ut=ht.style,fn=E.createElement(Ft,(0,xe.Z)({id:Oe,containerRef:Xe,prefixCls:tn,className:ve()(Rt,kt==null?void 0:kt.content),style:(0,Ye.Z)((0,Ye.Z)({},Ge),Mn==null?void 0:Mn.content)},(0,ze.Z)(Ae,{aria:!0}),_e),hn);return E.createElement("div",(0,xe.Z)({className:ve()("".concat(tn,"-content-wrapper"),kt==null?void 0:kt.wrapper,Ke),style:(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},be),ut),Mn==null?void 0:Mn.wrapper)},(0,ze.Z)(Ae,{data:!0})),An?An(fn):fn)}),yt=(0,Ye.Z)({},Fe);return Bt&&(yt.zIndex=Bt),E.createElement(he.Provider,{value:Re},E.createElement("div",{className:ve()(tn,"".concat(tn,"-").concat(Wt),Me,(0,Ze.Z)((0,Ze.Z)({},"".concat(tn,"-open"),Ut),"".concat(tn,"-inline"),ln)),style:yt,tabIndex:-1,ref:Fn,onKeyDown:Vn},De,E.createElement("div",{tabIndex:0,ref:In,style:et,"aria-hidden":"true","data-sentinel":"start"}),ft,E.createElement("div",{tabIndex:0,ref:jn,style:et,"aria-hidden":"true","data-sentinel":"end"})))}var st=E.forwardRef(Tt),at=st,bt=function(Ne){var tt=Ne.open,Pt=tt===void 0?!1:tt,Ot=Ne.prefixCls,tn=Ot===void 0?"rc-drawer":Ot,Ut=Ne.placement,Wt=Ut===void 0?"right":Ut,ln=Ne.autoFocus,Dt=ln===void 0?!0:ln,$t=Ne.keyboard,wt=$t===void 0?!0:$t,en=Ne.width,kt=en===void 0?378:en,Me=Ne.mask,Fe=Me===void 0?!0:Me,Bt=Ne.maskClosable,Rt=Bt===void 0?!0:Bt,Oe=Ne.getContainer,Ge=Ne.forceRender,dt=Ne.afterOpenChange,It=Ne.destroyOnClose,qt=Ne.onMouseEnter,hn=Ne.onMouseOver,Dn=Ne.onMouseLeave,On=Ne.onClick,un=Ne.onKeyDown,yn=Ne.onKeyUp,vn=Ne.panelRef,Xt=E.useState(!1),Zt=(0,Se.Z)(Xt,2),Vt=Zt[0],Et=Zt[1],on=E.useState(!1),an=(0,Se.Z)(on,2),rn=an[0],En=an[1];(0,Ie.Z)(function(){En(!0)},[]);var Mn=rn?Pt:!1,An=E.useRef(),Fn=E.useRef();(0,Ie.Z)(function(){Mn&&(Fn.current=document.activeElement)},[Mn]);var In=function(bn){var xn;if(Et(bn),dt==null||dt(bn),!bn&&Fn.current&&!((xn=An.current)!==null&&xn!==void 0&&xn.contains(Fn.current))){var ke;(ke=Fn.current)===null||ke===void 0||ke.focus({preventScroll:!0})}},jn=E.useMemo(function(){return{panel:vn}},[vn]);if(!Ge&&!Vt&&!Mn&&It)return null;var Vn={onMouseEnter:qt,onMouseOver:hn,onMouseLeave:Dn,onClick:On,onKeyDown:un,onKeyUp:yn},zt=(0,Ye.Z)((0,Ye.Z)({},Ne),{},{open:Mn,prefixCls:tn,placement:Wt,autoFocus:Dt,keyboard:wt,width:kt,mask:Fe,maskClosable:Rt,inline:Oe===!1,afterOpenChange:In,ref:An},Vn);return E.createElement(Pe.Provider,{value:jn},E.createElement(Ee.Z,{open:Mn||Ge||Vt,autoDestroy:!1,getContainer:Oe,autoLock:Fe&&(Mn||Vt)},E.createElement(at,zt)))},Be=bt,it=Be,Je=re(62487),ue=re(75030),mt=re(86641),Le=re(55743),qe=re(48755),Ht=re(91190),we=re(78776),de=re(458),Qt=Ae=>{var Ne,tt;const{prefixCls:Pt,title:Ot,footer:tn,extra:Ut,loading:Wt,onClose:ln,headerStyle:Dt,bodyStyle:$t,footerStyle:wt,children:en,classNames:kt,styles:Me}=Ae,Fe=(0,qe.dj)("drawer"),Bt=E.useCallback(It=>E.createElement("button",{type:"button",onClick:ln,"aria-label":"Close",className:`${Pt}-close`},It),[ln]),[Rt,Oe]=(0,we.Z)((0,we.w)(Ae),(0,we.w)(Fe),{closable:!0,closeIconRender:Bt}),Ge=E.useMemo(()=>{var It,qt;return!Ot&&!Rt?null:E.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(It=Fe.styles)===null||It===void 0?void 0:It.header),Dt),Me==null?void 0:Me.header),className:ve()(`${Pt}-header`,{[`${Pt}-header-close-only`]:Rt&&!Ot&&!Ut},(qt=Fe.classNames)===null||qt===void 0?void 0:qt.header,kt==null?void 0:kt.header)},E.createElement("div",{className:`${Pt}-header-title`},Oe,Ot&&E.createElement("div",{className:`${Pt}-title`},Ot)),Ut&&E.createElement("div",{className:`${Pt}-extra`},Ut))},[Rt,Oe,Ut,Dt,Pt,Ot]),dt=E.useMemo(()=>{var It,qt;if(!tn)return null;const hn=`${Pt}-footer`;return E.createElement("div",{className:ve()(hn,(It=Fe.classNames)===null||It===void 0?void 0:It.footer,kt==null?void 0:kt.footer),style:Object.assign(Object.assign(Object.assign({},(qt=Fe.styles)===null||qt===void 0?void 0:qt.footer),wt),Me==null?void 0:Me.footer)},tn)},[tn,wt,Pt]);return E.createElement(E.Fragment,null,Ge,E.createElement("div",{className:ve()(`${Pt}-body`,kt==null?void 0:kt.body,(Ne=Fe.classNames)===null||Ne===void 0?void 0:Ne.body),style:Object.assign(Object.assign(Object.assign({},(tt=Fe.styles)===null||tt===void 0?void 0:tt.body),$t),Me==null?void 0:Me.body)},Wt?E.createElement(de.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Pt}-body-skeleton`}):en),dt)},Mt=re(36237),me=re(63356),He=re(16931),Qe=re(51636);const jt=Ae=>{const Ne="100%";return{left:`translateX(-${Ne})`,right:`translateX(${Ne})`,top:`translateY(-${Ne})`,bottom:`translateY(${Ne})`}[Ae]},Lt=(Ae,Ne)=>({"&-enter, &-appear":Object.assign(Object.assign({},Ae),{"&-active":Ne}),"&-leave":Object.assign(Object.assign({},Ne),{"&-active":Ae})}),Kt=(Ae,Ne)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ne}`}}},Lt({opacity:Ae},{opacity:1})),je=(Ae,Ne)=>[Kt(.7,Ne),Lt({transform:jt(Ae)},{transform:"none"})];var vt=Ae=>{const{componentCls:Ne,motionDurationSlow:tt}=Ae;return{[Ne]:{[`${Ne}-mask-motion`]:Kt(0,tt),[`${Ne}-panel-motion`]:["left","right","top","bottom"].reduce((Pt,Ot)=>Object.assign(Object.assign({},Pt),{[`&-${Ot}`]:je(Ot,tt)}),{})}}};const ae=Ae=>{const{borderRadiusSM:Ne,componentCls:tt,zIndexPopup:Pt,colorBgMask:Ot,colorBgElevated:tn,motionDurationSlow:Ut,motionDurationMid:Wt,paddingXS:ln,padding:Dt,paddingLG:$t,fontSizeLG:wt,lineHeightLG:en,lineWidth:kt,lineType:Me,colorSplit:Fe,marginXS:Bt,colorIcon:Rt,colorIconHover:Oe,colorBgTextHover:Ge,colorBgTextActive:dt,colorText:It,fontWeightStrong:qt,footerPaddingBlock:hn,footerPaddingInline:Dn,calc:On}=Ae,un=`${tt}-content-wrapper`;return{[tt]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none",color:It,"&-pure":{position:"relative",background:tn,display:"flex",flexDirection:"column",[`&${tt}-left`]:{boxShadow:Ae.boxShadowDrawerLeft},[`&${tt}-right`]:{boxShadow:Ae.boxShadowDrawerRight},[`&${tt}-top`]:{boxShadow:Ae.boxShadowDrawerUp},[`&${tt}-bottom`]:{boxShadow:Ae.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${tt}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Ot,pointerEvents:"auto"},[un]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${Ut}`,"&-hidden":{display:"none"}},[`&-left > ${un}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ae.boxShadowDrawerLeft},[`&-right > ${un}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ae.boxShadowDrawerRight},[`&-top > ${un}`]:{top:0,insetInline:0,boxShadow:Ae.boxShadowDrawerUp},[`&-bottom > ${un}`]:{bottom:0,insetInline:0,boxShadow:Ae.boxShadowDrawerDown},[`${tt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:tn,pointerEvents:"auto"},[`${tt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Mt.unit)(Dt)} ${(0,Mt.unit)($t)}`,fontSize:wt,lineHeight:en,borderBottom:`${(0,Mt.unit)(kt)} ${Me} ${Fe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${tt}-extra`]:{flex:"none"},[`${tt}-close`]:Object.assign({display:"inline-flex",width:On(wt).add(ln).equal(),height:On(wt).add(ln).equal(),borderRadius:Ne,justifyContent:"center",alignItems:"center",marginInlineEnd:Bt,color:Rt,fontWeight:qt,fontSize:wt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Wt}`,textRendering:"auto","&:hover":{color:Oe,backgroundColor:Ge,textDecoration:"none"},"&:active":{backgroundColor:dt}},(0,me.Qy)(Ae)),[`${tt}-title`]:{flex:1,margin:0,fontWeight:Ae.fontWeightStrong,fontSize:wt,lineHeight:en},[`${tt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:$t,overflow:"auto",[`${tt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${tt}-footer`]:{flexShrink:0,padding:`${(0,Mt.unit)(hn)} ${(0,Mt.unit)(Dn)}`,borderTop:`${(0,Mt.unit)(kt)} ${Me} ${Fe}`},"&-rtl":{direction:"rtl"}}}},te=Ae=>({zIndexPopup:Ae.zIndexPopupBase,footerPaddingBlock:Ae.paddingXS,footerPaddingInline:Ae.padding});var ee=(0,He.I$)("Drawer",Ae=>{const Ne=(0,Qe.mergeToken)(Ae,{});return[ae(Ne),vt(Ne)]},te),oe=function(Ae,Ne){var tt={};for(var Pt in Ae)Object.prototype.hasOwnProperty.call(Ae,Pt)&&Ne.indexOf(Pt)<0&&(tt[Pt]=Ae[Pt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Pt=Object.getOwnPropertySymbols(Ae);Ot<Pt.length;Ot++)Ne.indexOf(Pt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Pt[Ot])&&(tt[Pt[Ot]]=Ae[Pt[Ot]]);return tt};const se=null,ne={distance:180},pe=Ae=>{var Ne;const{rootClassName:tt,width:Pt,height:Ot,size:tn="default",mask:Ut=!0,push:Wt=ne,open:ln,afterOpenChange:Dt,onClose:$t,prefixCls:wt,getContainer:en,style:kt,className:Me,visible:Fe,afterVisibleChange:Bt,maskStyle:Rt,drawerStyle:Oe,contentWrapperStyle:Ge}=Ae,dt=oe(Ae,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:It,getPrefixCls:qt,direction:hn,className:Dn,style:On,classNames:un,styles:yn}=(0,qe.dj)("drawer"),vn=qt("drawer",wt),[Xt,Zt,Vt]=ee(vn),Et=en===void 0&&It?()=>It(document.body):en,on=ve()({"no-mask":!Ut,[`${vn}-rtl`]:hn==="rtl"},tt,Zt,Vt),an=E.useMemo(()=>Pt!=null?Pt:tn==="large"?736:378,[Pt,tn]),rn=E.useMemo(()=>Ot!=null?Ot:tn==="large"?736:378,[Ot,tn]),En={motionName:(0,mt.m)(vn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Mn=zt=>({motionName:(0,mt.m)(vn,`panel-motion-${zt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),An=(0,Ht.H)(),[Fn,In]=(0,ue.Cn)("Drawer",dt.zIndex),{classNames:jn={},styles:Vn={}}=dt;return Xt(E.createElement(Je.Z,{form:!0,space:!0},E.createElement(Le.Z.Provider,{value:In},E.createElement(it,Object.assign({prefixCls:vn,onClose:$t,maskMotion:En,motion:Mn},dt,{classNames:{mask:ve()(jn.mask,un.mask),content:ve()(jn.content,un.content),wrapper:ve()(jn.wrapper,un.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Vn.mask),Rt),yn.mask),content:Object.assign(Object.assign(Object.assign({},Vn.content),Oe),yn.content),wrapper:Object.assign(Object.assign(Object.assign({},Vn.wrapper),Ge),yn.wrapper)},open:ln!=null?ln:Fe,mask:Ut,push:Wt,width:an,height:rn,style:Object.assign(Object.assign({},On),kt),className:ve()(Dn,Me),rootClassName:on,getContainer:Et,afterOpenChange:Dt!=null?Dt:Bt,panelRef:An,zIndex:Fn}),E.createElement(Qt,Object.assign({prefixCls:vn},dt,{onClose:$t}))))))},ye=Ae=>{const{prefixCls:Ne,style:tt,className:Pt,placement:Ot="right"}=Ae,tn=oe(Ae,["prefixCls","style","className","placement"]),{getPrefixCls:Ut}=E.useContext(qe.E_),Wt=Ut("drawer",Ne),[ln,Dt,$t]=ee(Wt),wt=ve()(Wt,`${Wt}-pure`,`${Wt}-${Ot}`,Dt,$t,Pt);return ln(E.createElement("div",{className:wt,style:tt},E.createElement(Qt,Object.assign({prefixCls:Wt},tn))))};pe._InternalPanelDoNotUseOrYouWillBeFired=ye;var lt=pe},19563:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Mt}});var E=re(59301),$e=re(33853),ve=re(38819),Ye=re(92310),Se=re.n(Ye),Ee=re(96478),Ie=re(6089),Te=re(18929),Pe=re(2738),he=re(75030),xe=me=>typeof me!="object"&&typeof me!="function"||me===null,At=re(52838),rt=re(45915),ze=re(22703),Ue=re(32383),We=re(55743),Ct=re(48755),Nt=re(83397),Ft=re(93041),St=re(78857),pt=re(57700),ct=re(36237),et=re(63356),Tt=re(46e3),st=re(93873),at=re(34925),bt=re(37645),Be=re(36305),it=re(16931),Je=re(51636),mt=me=>{const{componentCls:He,menuCls:Qe,colorError:jt,colorTextLightSolid:Lt}=me,Kt=`${Qe}-item`;return{[`${He}, ${He}-menu-submenu`]:{[`${Qe} ${Kt}`]:{[`&${Kt}-danger:not(${Kt}-disabled)`]:{color:jt,"&:hover":{color:Lt,backgroundColor:jt}}}}}};const Le=me=>{const{componentCls:He,menuCls:Qe,zIndexPopup:jt,dropdownArrowDistance:Lt,sizePopupArrow:Kt,antCls:je,iconCls:Yt,motionDurationMid:vt,paddingBlock:ae,fontSize:te,dropdownEdgeChildPadding:ee,colorTextDisabled:oe,fontSizeIcon:se,controlPaddingHorizontal:ne,colorBgElevated:pe}=me;return[{[He]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:jt,display:"block","&::before":{position:"absolute",insetBlock:me.calc(Kt).div(2).sub(Lt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${je}-btn`]:{[`& > ${Yt}-down, & > ${je}-btn-icon > ${Yt}-down`]:{fontSize:se}},[`${He}-wrap`]:{position:"relative",[`${je}-btn > ${Yt}-down`]:{fontSize:se},[`${Yt}-down::before`]:{transition:`transform ${vt}`}},[`${He}-wrap-open`]:{[`${Yt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${je}-slide-down-enter${je}-slide-down-enter-active${He}-placement-bottomLeft,
&${je}-slide-down-appear${je}-slide-down-appear-active${He}-placement-bottomLeft,
&${je}-slide-down-enter${je}-slide-down-enter-active${He}-placement-bottom,
&${je}-slide-down-appear${je}-slide-down-appear-active${He}-placement-bottom,
&${je}-slide-down-enter${je}-slide-down-enter-active${He}-placement-bottomRight,
&${je}-slide-down-appear${je}-slide-down-appear-active${He}-placement-bottomRight`]:{animationName:Tt.fJ},[`&${je}-slide-up-enter${je}-slide-up-enter-active${He}-placement-topLeft,
&${je}-slide-up-appear${je}-slide-up-appear-active${He}-placement-topLeft,
&${je}-slide-up-enter${je}-slide-up-enter-active${He}-placement-top,
&${je}-slide-up-appear${je}-slide-up-appear-active${He}-placement-top,
&${je}-slide-up-enter${je}-slide-up-enter-active${He}-placement-topRight,
&${je}-slide-up-appear${je}-slide-up-appear-active${He}-placement-topRight`]:{animationName:Tt.Qt},[`&${je}-slide-down-leave${je}-slide-down-leave-active${He}-placement-bottomLeft,
&${je}-slide-down-leave${je}-slide-down-leave-active${He}-placement-bottom,
&${je}-slide-down-leave${je}-slide-down-leave-active${He}-placement-bottomRight`]:{animationName:Tt.Uw},[`&${je}-slide-up-leave${je}-slide-up-leave-active${He}-placement-topLeft,
&${je}-slide-up-leave${je}-slide-up-leave-active${He}-placement-top,
&${je}-slide-up-leave${je}-slide-up-leave-active${He}-placement-topRight`]:{animationName:Tt.ly}}},(0,bt.ZP)(me,pe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${He} ${Qe}`]:{position:"relative",margin:0},[`${Qe}-submenu-popup`]:{position:"absolute",zIndex:jt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${He}, ${He}-menu-submenu`]:Object.assign(Object.assign({},(0,et.Wf)(me)),{[Qe]:Object.assign(Object.assign({padding:ee,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:me.borderRadiusLG,outline:"none",boxShadow:me.boxShadowSecondary},(0,et.Qy)(me)),{"&:empty":{padding:0,boxShadow:"none"},[`${Qe}-item-group-title`]:{padding:`${(0,ct.unit)(ae)} ${(0,ct.unit)(ne)}`,color:me.colorTextDescription,transition:`all ${vt}`},[`${Qe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Qe}-item-icon`]:{minWidth:te,marginInlineEnd:me.marginXS,fontSize:me.fontSizeSM},[`${Qe}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${vt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Qe}-item-extra`]:{paddingInlineStart:me.padding,marginInlineStart:"auto",fontSize:me.fontSizeSM,color:me.colorTextDescription}},[`${Qe}-item, ${Qe}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ct.unit)(ae)} ${(0,ct.unit)(ne)}`,color:me.colorText,fontWeight:"normal",fontSize:te,lineHeight:me.lineHeight,cursor:"pointer",transition:`all ${vt}`,borderRadius:me.borderRadiusSM,"&:hover, &-active":{backgroundColor:me.controlItemBgHover}},(0,et.Qy)(me)),{"&-selected":{color:me.colorPrimary,backgroundColor:me.controlItemBgActive,"&:hover, &-active":{backgroundColor:me.controlItemBgActiveHover}},"&-disabled":{color:oe,cursor:"not-allowed","&:hover":{color:oe,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ct.unit)(me.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:me.colorSplit},[`${He}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:me.paddingXS,[`${He}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:me.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${Qe}-item-group-list`]:{margin:`0 ${(0,ct.unit)(me.marginXS)}`,padding:0,listStyle:"none"},[`${Qe}-submenu-title`]:{paddingInlineEnd:me.calc(ne).add(me.fontSizeSM).equal()},[`${Qe}-submenu-vertical`]:{position:"relative"},[`${Qe}-submenu${Qe}-submenu-disabled ${He}-menu-submenu-title`]:{[`&, ${He}-menu-submenu-arrow-icon`]:{color:oe,backgroundColor:pe,cursor:"not-allowed"}},[`${Qe}-submenu-selected ${He}-menu-submenu-title`]:{color:me.colorPrimary}})})},[(0,Tt.oN)(me,"slide-up"),(0,Tt.oN)(me,"slide-down"),(0,st.Fm)(me,"move-up"),(0,st.Fm)(me,"move-down"),(0,at._y)(me,"zoom-big")]]},qe=me=>Object.assign(Object.assign({zIndexPopup:me.zIndexPopupBase+50,paddingBlock:(me.controlHeight-me.fontSize*me.lineHeight)/2},(0,bt.wZ)({contentRadius:me.borderRadiusLG,limitVerticalRadius:!0})),(0,Be.w)(me));var Ht=(0,it.I$)("Dropdown",me=>{const{marginXXS:He,sizePopupArrow:Qe,paddingXXS:jt,componentCls:Lt}=me,Kt=(0,Je.mergeToken)(me,{menuCls:`${Lt}-menu`,dropdownArrowDistance:me.calc(Qe).div(2).add(He).equal(),dropdownEdgeChildPadding:jt});return[Le(Kt),mt(Kt)]},qe,{resetStyle:!1});const we=null,de=me=>{var He;const{menu:Qe,arrow:jt,prefixCls:Lt,children:Kt,trigger:je,disabled:Yt,dropdownRender:vt,getPopupContainer:ae,overlayClassName:te,rootClassName:ee,overlayStyle:oe,open:se,onOpenChange:ne,visible:pe,onVisibleChange:ye,mouseEnterDelay:lt=.15,mouseLeaveDelay:Ae=.1,autoAdjustOverflow:Ne=!0,placement:tt="",overlay:Pt,transitionName:Ot}=me,{getPopupContainer:tn,getPrefixCls:Ut,direction:Wt,dropdown:ln}=E.useContext(Ct.E_),Dt=(0,Ue.ln)("Dropdown"),$t=E.useMemo(()=>{const Et=Ut();return Ot!==void 0?Ot:tt.includes("top")?`${Et}-slide-down`:`${Et}-slide-up`},[Ut,tt,Ot]),wt=E.useMemo(()=>tt?tt.includes("Center")?tt.slice(0,tt.indexOf("Center")):tt:Wt==="rtl"?"bottomRight":"bottomLeft",[tt,Wt]),en=Ut("dropdown",Lt),kt=(0,Nt.Z)(en),[Me,Fe,Bt]=Ht(en,kt),[,Rt]=(0,pt.ZP)(),Oe=E.Children.only(xe(Kt)?E.createElement("span",null,Kt):Kt),Ge=(0,ze.Tm)(Oe,{className:Se()(`${en}-trigger`,{[`${en}-rtl`]:Wt==="rtl"},Oe.props.className),disabled:(He=Oe.props.disabled)!==null&&He!==void 0?He:Yt}),dt=Yt?[]:je,It=!!(dt!=null&&dt.includes("contextMenu")),[qt,hn]=(0,Te.Z)(!1,{value:se!=null?se:pe}),Dn=(0,Ie.Z)(Et=>{ne==null||ne(Et,{source:"trigger"}),ye==null||ye(Et),hn(Et)}),On=Se()(te,ee,Fe,Bt,kt,ln==null?void 0:ln.className,{[`${en}-rtl`]:Wt==="rtl"}),un=(0,At.Z)({arrowPointAtCenter:typeof jt=="object"&&jt.pointAtCenter,autoAdjustOverflow:Ne,offset:Rt.marginXXS,arrowWidth:jt?Rt.sizePopupArrow:0,borderRadius:Rt.borderRadius}),yn=E.useCallback(()=>{Qe!=null&&Qe.selectable&&(Qe!=null&&Qe.multiple)||(ne==null||ne(!1,{source:"menu"}),hn(!1))},[Qe==null?void 0:Qe.selectable,Qe==null?void 0:Qe.multiple]),vn=()=>{let Et;return Qe!=null&&Qe.items?Et=E.createElement(Ft.default,Object.assign({},Qe)):typeof Pt=="function"?Et=Pt():Et=Pt,vt&&(Et=vt(Et)),Et=E.Children.only(typeof Et=="string"?E.createElement("span",null,Et):Et),E.createElement(St.J,{prefixCls:`${en}-menu`,rootClassName:Se()(Bt,kt),expandIcon:E.createElement("span",{className:`${en}-menu-submenu-arrow`},Wt==="rtl"?E.createElement($e.Z,{className:`${en}-menu-submenu-arrow-icon`}):E.createElement(ve.Z,{className:`${en}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:yn,validator:on=>{let{mode:an}=on}},Et)},[Xt,Zt]=(0,he.Cn)("Dropdown",oe==null?void 0:oe.zIndex);let Vt=E.createElement(Ee.Z,Object.assign({alignPoint:It},(0,Pe.Z)(me,["rootClassName"]),{mouseEnterDelay:lt,mouseLeaveDelay:Ae,visible:qt,builtinPlacements:un,arrow:!!jt,overlayClassName:On,prefixCls:en,getPopupContainer:ae||tn,transitionName:$t,trigger:dt,overlay:vn,placement:wt,onVisibleChange:Dn,overlayStyle:Object.assign(Object.assign(Object.assign({},ln==null?void 0:ln.style),oe),{zIndex:Xt})}),Ge);return Xt&&(Vt=E.createElement(We.Z.Provider,{value:Zt},Vt)),Me(Vt)},xt=(0,rt.Z)(de,"align",void 0,"dropdown",me=>me),Qt=me=>E.createElement(xt,Object.assign({},me),E.createElement("span",null));de._InternalPanelDoNotUseOrYouWillBeFired=Qt;var Mt=de},75727:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return rt}});var E=re(19563),$e=re(59301),ve=re(18785),Ye=re(92310),Se=re.n(Ye),Ee=re(7939),Ie=re(48755),Te=re(44104),Pe=re(70045),he=function(ze,Ue){var We={};for(var Ct in ze)Object.prototype.hasOwnProperty.call(ze,Ct)&&Ue.indexOf(Ct)<0&&(We[Ct]=ze[Ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ct=Object.getOwnPropertySymbols(ze);Nt<Ct.length;Nt++)Ue.indexOf(Ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ct[Nt])&&(We[Ct[Nt]]=ze[Ct[Nt]]);return We};const Ze=ze=>{const{getPopupContainer:Ue,getPrefixCls:We,direction:Ct}=$e.useContext(Ie.E_),{prefixCls:Nt,type:Ft="default",danger:St,disabled:pt,loading:ct,onClick:et,htmlType:Tt,children:st,className:at,menu:bt,arrow:Be,autoFocus:it,overlay:Je,trigger:ue,align:mt,open:Le,onOpenChange:qe,placement:Ht,getPopupContainer:we,href:de,icon:xt=$e.createElement(ve.Z,null),title:Qt,buttonsRender:Mt=lt=>lt,mouseEnterDelay:me,mouseLeaveDelay:He,overlayClassName:Qe,overlayStyle:jt,destroyPopupOnHide:Lt,dropdownRender:Kt}=ze,je=he(ze,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Yt=We("dropdown",Nt),vt=`${Yt}-button`,ae={menu:bt,arrow:Be,autoFocus:it,align:mt,disabled:pt,trigger:pt?[]:ue,onOpenChange:qe,getPopupContainer:we||Ue,mouseEnterDelay:me,mouseLeaveDelay:He,overlayClassName:Qe,overlayStyle:jt,destroyPopupOnHide:Lt,dropdownRender:Kt},{compactSize:te,compactItemClassnames:ee}=(0,Pe.ri)(Yt,Ct),oe=Se()(vt,ee,at);"overlay"in ze&&(ae.overlay=Je),"open"in ze&&(ae.open=Le),"placement"in ze?ae.placement=Ht:ae.placement=Ct==="rtl"?"bottomLeft":"bottomRight";const se=$e.createElement(Ee.ZP,{type:Ft,danger:St,disabled:pt,loading:ct,onClick:et,htmlType:Tt,href:de,title:Qt},st),ne=$e.createElement(Ee.ZP,{type:Ft,danger:St,icon:xt}),[pe,ye]=Mt([se,ne]);return $e.createElement(Te.Z.Compact,Object.assign({className:oe,size:te,block:!0},je),pe,$e.createElement(E.Z,Object.assign({},ae),ye))};Ze.__ANT_BUTTON=!0;var xe=Ze;const At=E.Z;At.Button=xe;var rt=At},584:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Ft}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(9017),Se=re(17835),Ee=re(57700),Te=()=>{const[,St]=(0,Ee.ZP)(),[pt]=(0,Ye.Z)("Empty"),et=new Se.FastColor(St.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return E.createElement("svg",{style:et,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},E.createElement("title",null,(pt==null?void 0:pt.description)||"Empty"),E.createElement("g",{fill:"none",fillRule:"evenodd"},E.createElement("g",{transform:"translate(24 31.67)"},E.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),E.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),E.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),E.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),E.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),E.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),E.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},E.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),E.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},he=()=>{const[,St]=(0,Ee.ZP)(),[pt]=(0,Ye.Z)("Empty"),{colorFill:ct,colorFillTertiary:et,colorFillQuaternary:Tt,colorBgContainer:st}=St,{borderColor:at,shadowColor:bt,contentColor:Be}=(0,E.useMemo)(()=>({borderColor:new Se.FastColor(ct).onBackground(st).toHexString(),shadowColor:new Se.FastColor(et).onBackground(st).toHexString(),contentColor:new Se.FastColor(Tt).onBackground(st).toHexString()}),[ct,et,Tt,st]);return E.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},E.createElement("title",null,(pt==null?void 0:pt.description)||"Empty"),E.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},E.createElement("ellipse",{fill:bt,cx:"32",cy:"33",rx:"32",ry:"7"}),E.createElement("g",{fillRule:"nonzero",stroke:at},E.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),E.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Be}))))},Ze=re(16931),xe=re(51636);const At=St=>{const{componentCls:pt,margin:ct,marginXS:et,marginXL:Tt,fontSize:st,lineHeight:at}=St;return{[pt]:{marginInline:et,fontSize:st,lineHeight:at,textAlign:"center",[`${pt}-image`]:{height:St.emptyImgHeight,marginBottom:et,opacity:St.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${pt}-description`]:{color:St.colorTextDescription},[`${pt}-footer`]:{marginTop:ct},"&-normal":{marginBlock:Tt,color:St.colorTextDescription,[`${pt}-description`]:{color:St.colorTextDescription},[`${pt}-image`]:{height:St.emptyImgHeightMD}},"&-small":{marginBlock:et,color:St.colorTextDescription,[`${pt}-image`]:{height:St.emptyImgHeightSM}}}}};var rt=(0,Ze.I$)("Empty",St=>{const{componentCls:pt,controlHeightLG:ct,calc:et}=St,Tt=(0,xe.mergeToken)(St,{emptyImgCls:`${pt}-img`,emptyImgHeight:et(ct).mul(2.5).equal(),emptyImgHeightMD:ct,emptyImgHeightSM:et(ct).mul(.875).equal()});return[At(Tt)]}),ze=re(48755),Ue=function(St,pt){var ct={};for(var et in St)Object.prototype.hasOwnProperty.call(St,et)&&pt.indexOf(et)<0&&(ct[et]=St[et]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,et=Object.getOwnPropertySymbols(St);Tt<et.length;Tt++)pt.indexOf(et[Tt])<0&&Object.prototype.propertyIsEnumerable.call(St,et[Tt])&&(ct[et[Tt]]=St[et[Tt]]);return ct};const We=E.createElement(Te,null),Ct=E.createElement(he,null),Nt=St=>{const{className:pt,rootClassName:ct,prefixCls:et,image:Tt=We,description:st,children:at,imageStyle:bt,style:Be,classNames:it,styles:Je}=St,ue=Ue(St,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:mt,direction:Le,className:qe,style:Ht,classNames:we,styles:de}=(0,ze.dj)("empty"),xt=mt("empty",et),[Qt,Mt,me]=rt(xt),[He]=(0,Ye.Z)("Empty"),Qe=typeof st!="undefined"?st:He==null?void 0:He.description,jt=typeof Qe=="string"?Qe:"empty";let Lt=null;return typeof Tt=="string"?Lt=E.createElement("img",{alt:jt,src:Tt}):Lt=Tt,Qt(E.createElement("div",Object.assign({className:ve()(Mt,me,xt,qe,{[`${xt}-normal`]:Tt===Ct,[`${xt}-rtl`]:Le==="rtl"},pt,ct,we.root,it==null?void 0:it.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},de.root),Ht),Je==null?void 0:Je.root),Be)},ue),E.createElement("div",{className:ve()(`${xt}-image`,we.image,it==null?void 0:it.image),style:Object.assign(Object.assign(Object.assign({},bt),de.image),Je==null?void 0:Je.image)},Lt),Qe&&E.createElement("div",{className:ve()(`${xt}-description`,we.description,it==null?void 0:it.description),style:Object.assign(Object.assign({},de.description),Je==null?void 0:Je.description)},Qe),at&&E.createElement("div",{className:ve()(`${xt}-footer`,we.footer,it==null?void 0:it.footer),style:Object.assign(Object.assign({},de.footer),Je==null?void 0:Je.footer)},at)))};Nt.PRESENTED_IMAGE_DEFAULT=We,Nt.PRESENTED_IMAGE_SIMPLE=Ct;var Ft=Nt},28284:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return nt}});var E=re(56553),$e=re(77654),ve=re(59301),Ye=re(92310),Se=re.n(Ye),Ee=re(77900),Ie=re(86641),Te=re(83397);function Pe(Ce){const[Re,De]=ve.useState(Ce);return ve.useEffect(()=>{const Ve=setTimeout(()=>{De(Ce)},Ce.length?0:10);return()=>{clearTimeout(Ve)}},[Ce]),Re}var he=re(36237),Ze=re(63356),xe=re(34925),At=re(34961),rt=re(51636),ze=re(16931),We=Ce=>{const{componentCls:Re}=Ce,De=`${Re}-show-help`,Ve=`${Re}-show-help-item`;return{[De]:{transition:`opacity ${Ce.motionDurationFast} ${Ce.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ve]:{overflow:"hidden",transition:`height ${Ce.motionDurationFast} ${Ce.motionEaseInOut},
opacity ${Ce.motionDurationFast} ${Ce.motionEaseInOut},
transform ${Ce.motionDurationFast} ${Ce.motionEaseInOut} !important`,[`&${Ve}-appear, &${Ve}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ve}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ct=Ce=>({legend:{display:"block",width:"100%",marginBottom:Ce.marginLG,padding:0,color:Ce.colorTextDescription,fontSize:Ce.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,he.unit)(Ce.lineWidth)} ${Ce.lineType} ${Ce.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,he.unit)(Ce.controlOutlineWidth)} ${Ce.controlOutline}`},output:{display:"block",paddingTop:15,color:Ce.colorText,fontSize:Ce.fontSize,lineHeight:Ce.lineHeight}}),Nt=(Ce,Re)=>{const{formItemCls:De}=Ce;return{[De]:{[`${De}-label > label`]:{height:Re},[`${De}-control-input`]:{minHeight:Re}}}},Ft=Ce=>{const{componentCls:Re}=Ce;return{[Ce.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(Ce)),Ct(Ce)),{[`${Re}-text`]:{display:"inline-block",paddingInlineEnd:Ce.paddingSM},"&-small":Object.assign({},Nt(Ce,Ce.controlHeightSM)),"&-large":Object.assign({},Nt(Ce,Ce.controlHeightLG))})}},St=Ce=>{const{formItemCls:Re,iconCls:De,rootPrefixCls:Ve,antCls:be,labelRequiredMarkColor:_e,labelColor:ft,labelFontSize:yt,labelHeight:ht,labelColonMarginInlineStart:Xe,labelColonMarginInlineEnd:Ke,itemMarginBottom:ut}=Ce;return{[Re]:Object.assign(Object.assign({},(0,Ze.Wf)(Ce)),{marginBottom:ut,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${be}-row`]:{display:"none"},"&-has-warning":{[`${Re}-split`]:{color:Ce.colorError}},"&-has-error":{[`${Re}-split`]:{color:Ce.colorWarning}},[`${Re}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Ce.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ht,color:ft,fontSize:yt,[`> ${De}`]:{fontSize:Ce.fontSize,verticalAlign:"top"},[`&${Re}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Ce.marginXXS,color:_e,fontSize:Ce.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Re}-required-mark-hidden, &${Re}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Re}-optional`]:{display:"inline-block",marginInlineStart:Ce.marginXXS,color:Ce.colorTextDescription,[`&${Re}-required-mark-hidden`]:{display:"none"}},[`${Re}-tooltip`]:{color:Ce.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ce.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Xe,marginInlineEnd:Ke},[`&${Re}-no-colon::after`]:{content:'"\\a0"'}}},[`${Re}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ve}-col-'"]):not([class*="' ${Ve}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ce.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Re]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Ce.colorTextDescription,fontSize:Ce.fontSize,lineHeight:Ce.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ce.controlHeightSM,transition:`color ${Ce.motionDurationMid} ${Ce.motionEaseOut}`},"&-explain":{"&-error":{color:Ce.colorError},"&-warning":{color:Ce.colorWarning}}},[`&-with-help ${Re}-explain`]:{height:"auto",opacity:1},[`${Re}-feedback-icon`]:{fontSize:Ce.fontSize,textAlign:"center",visibility:"visible",animationName:xe.kr,animationDuration:Ce.motionDurationMid,animationTimingFunction:Ce.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ce.colorSuccess},"&-error":{color:Ce.colorError},"&-warning":{color:Ce.colorWarning},"&-validating":{color:Ce.colorPrimary}}})}},pt=(Ce,Re)=>{const{formItemCls:De}=Ce;return{[`${Re}-horizontal`]:{[`${De}-label`]:{flexGrow:0},[`${De}-control`]:{flex:"1 1 0",minWidth:0},[`${De}-label[class$='-24'], ${De}-label[class*='-24 ']`]:{[`& + ${De}-control`]:{minWidth:"unset"}}}}},ct=Ce=>{const{componentCls:Re,formItemCls:De,inlineItemMarginBottom:Ve}=Ce;return{[`${Re}-inline`]:{display:"flex",flexWrap:"wrap",[De]:{flex:"none",marginInlineEnd:Ce.margin,marginBottom:Ve,"&-row":{flexWrap:"nowrap"},[`> ${De}-label,
> ${De}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${De}-label`]:{flex:"none"},[`${Re}-text`]:{display:"inline-block"},[`${De}-has-feedback`]:{display:"inline-block"}}}}},et=Ce=>({padding:Ce.verticalLabelPadding,margin:Ce.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Tt=Ce=>{const{componentCls:Re,formItemCls:De,rootPrefixCls:Ve}=Ce;return{[`${De} ${De}-label`]:et(Ce),[`${Re}:not(${Re}-inline)`]:{[De]:{flexWrap:"wrap",[`${De}-label, ${De}-control`]:{[`&:not([class*=" ${Ve}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},st=Ce=>{const{componentCls:Re,formItemCls:De,antCls:Ve}=Ce;return{[`${Re}-vertical`]:{[`${De}:not(${De}-horizontal)`]:{[`${De}-row`]:{flexDirection:"column"},[`${De}-label > label`]:{height:"auto"},[`${De}-control`]:{width:"100%"},[`${De}-label,
${Ve}-col-24${De}-label,
${Ve}-col-xl-24${De}-label`]:et(Ce)}},[`@media (max-width: ${(0,he.unit)(Ce.screenXSMax)})`]:[Tt(Ce),{[Re]:{[`${De}:not(${De}-horizontal)`]:{[`${Ve}-col-xs-24${De}-label`]:et(Ce)}}}],[`@media (max-width: ${(0,he.unit)(Ce.screenSMMax)})`]:{[Re]:{[`${De}:not(${De}-horizontal)`]:{[`${Ve}-col-sm-24${De}-label`]:et(Ce)}}},[`@media (max-width: ${(0,he.unit)(Ce.screenMDMax)})`]:{[Re]:{[`${De}:not(${De}-horizontal)`]:{[`${Ve}-col-md-24${De}-label`]:et(Ce)}}},[`@media (max-width: ${(0,he.unit)(Ce.screenLGMax)})`]:{[Re]:{[`${De}:not(${De}-horizontal)`]:{[`${Ve}-col-lg-24${De}-label`]:et(Ce)}}}}},at=Ce=>{const{formItemCls:Re,antCls:De}=Ce;return{[`${Re}-vertical`]:{[`${Re}-row`]:{flexDirection:"column"},[`${Re}-label > label`]:{height:"auto"},[`${Re}-control`]:{width:"100%"}},[`${Re}-vertical ${Re}-label,
${De}-col-24${Re}-label,
${De}-col-xl-24${Re}-label`]:et(Ce),[`@media (max-width: ${(0,he.unit)(Ce.screenXSMax)})`]:[Tt(Ce),{[Re]:{[`${De}-col-xs-24${Re}-label`]:et(Ce)}}],[`@media (max-width: ${(0,he.unit)(Ce.screenSMMax)})`]:{[Re]:{[`${De}-col-sm-24${Re}-label`]:et(Ce)}},[`@media (max-width: ${(0,he.unit)(Ce.screenMDMax)})`]:{[Re]:{[`${De}-col-md-24${Re}-label`]:et(Ce)}},[`@media (max-width: ${(0,he.unit)(Ce.screenLGMax)})`]:{[Re]:{[`${De}-col-lg-24${Re}-label`]:et(Ce)}}}},bt=Ce=>({labelRequiredMarkColor:Ce.colorError,labelColor:Ce.colorTextHeading,labelFontSize:Ce.fontSize,labelHeight:Ce.controlHeight,labelColonMarginInlineStart:Ce.marginXXS/2,labelColonMarginInlineEnd:Ce.marginXS,itemMarginBottom:Ce.marginLG,verticalLabelPadding:`0 0 ${Ce.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Be=(Ce,Re)=>(0,rt.mergeToken)(Ce,{formItemCls:`${Ce.componentCls}-item`,rootPrefixCls:Re});var it=(0,ze.I$)("Form",(Ce,Re)=>{let{rootPrefixCls:De}=Re;const Ve=Be(Ce,De);return[Ft(Ve),St(Ve),We(Ve),pt(Ve,Ve.componentCls),pt(Ve,Ve.formItemCls),ct(Ve),st(Ve),at(Ve),(0,At.Z)(Ve),xe.kr]},bt,{order:-1e3});const Je=[];function ue(Ce,Re,De){let Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ce=="string"?Ce:`${Re}-${Ve}`,error:Ce,errorStatus:De}}var Le=Ce=>{let{help:Re,helpStatus:De,errors:Ve=Je,warnings:be=Je,className:_e,fieldId:ft,onVisibleChanged:yt}=Ce;const{prefixCls:ht}=ve.useContext(E.Rk),Xe=`${ht}-item-explain`,Ke=(0,Te.Z)(ht),[ut,fn,sn]=it(ht,Ke),cn=ve.useMemo(()=>(0,Ie.Z)(ht),[ht]),Rn=Pe(Ve),Wn=Pe(be),Yn=ve.useMemo(()=>Re!=null?[ue(Re,"help",De)]:[].concat((0,$e.Z)(Rn.map((kn,Un)=>ue(kn,"error","error",Un))),(0,$e.Z)(Wn.map((kn,Un)=>ue(kn,"warning","warning",Un)))),[Re,De,Rn,Wn]),Hn=ve.useMemo(()=>{const kn={};return Yn.forEach(Un=>{let{key:qn}=Un;kn[qn]=(kn[qn]||0)+1}),Yn.map((Un,qn)=>Object.assign(Object.assign({},Un),{key:kn[Un.key]>1?`${Un.key}-fallback-${qn}`:Un.key}))},[Yn]),Ln={};return ft&&(Ln.id=`${ft}_help`),ut(ve.createElement(Ee.default,{motionDeadline:cn.motionDeadline,motionName:`${ht}-show-help`,visible:!!Hn.length,onVisibleChanged:yt},kn=>{const{className:Un,style:qn}=kn;return ve.createElement("div",Object.assign({},Ln,{className:Se()(Xe,Un,sn,Ke,_e,fn),style:qn}),ve.createElement(Ee.CSSMotionList,Object.assign({keys:Hn},(0,Ie.Z)(ht),{motionName:`${ht}-show-help-item`,component:!1}),Jn=>{const{key:$n,error:Tn,errorStatus:tr,className:Cn,style:Gn}=Jn;return ve.createElement("div",{key:$n,className:Se()(Cn,{[`${Xe}-${tr}`]:tr}),style:Gn},Tn)}))}))},qe=re(69180),Ht=re(48755),we=re(2171),de=re(31756),xt=re(23069),Qt=re(76846),Mt=re(16722);const me=["parentNode"],He="form_item";function Qe(Ce){return Ce===void 0||Ce===!1?[]:Array.isArray(Ce)?Ce:[Ce]}function jt(Ce,Re){if(!Ce.length)return;const De=Ce.join("_");return Re?`${Re}_${De}`:me.includes(De)?`${He}_${De}`:De}function Lt(Ce,Re,De,Ve,be,_e){let ft=Ve;return _e!==void 0?ft=_e:De.validating?ft="validating":Ce.length?ft="error":Re.length?ft="warning":(De.touched||be&&De.validated)&&(ft="success"),ft}var Kt=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De};function je(Ce){return Qe(Ce).join("_")}function Yt(Ce,Re){const De=Re.getFieldInstance(Ce),Ve=(0,Qt.bn)(De);if(Ve)return Ve;const be=jt(Qe(Ce),Re.__INTERNAL__.name);if(be)return document.getElementById(be)}function vt(Ce){const[Re]=(0,qe.useForm)(),De=ve.useRef({}),Ve=ve.useMemo(()=>Ce!=null?Ce:Object.assign(Object.assign({},Re),{__INTERNAL__:{itemRef:be=>_e=>{const ft=je(be);_e?De.current[ft]=_e:delete De.current[ft]}},scrollToField:function(be){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ft}=_e,yt=Kt(_e,["focus"]),ht=Yt(be,Ve);ht&&((0,Mt.Z)(ht,Object.assign({scrollMode:"if-needed",block:"nearest"},yt)),ft&&Ve.focusField(be))},focusField:be=>{var _e,ft;const yt=Ve.getFieldInstance(be);typeof(yt==null?void 0:yt.focus)=="function"?yt.focus():(ft=(_e=Yt(be,Ve))===null||_e===void 0?void 0:_e.focus)===null||ft===void 0||ft.call(_e)},getFieldInstance:be=>{const _e=je(be);return De.current[_e]}}),[Ce,Re]);return[Ve]}var ae=re(98350),te=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De};const ee=(Ce,Re)=>{const De=ve.useContext(we.Z),{getPrefixCls:Ve,direction:be,requiredMark:_e,colon:ft,scrollToFirstError:yt,className:ht,style:Xe}=(0,Ht.dj)("form"),{prefixCls:Ke,className:ut,rootClassName:fn,size:sn,disabled:cn=De,form:Rn,colon:Wn,labelAlign:Yn,labelWrap:Hn,labelCol:Ln,wrapperCol:kn,hideRequiredMark:Un,layout:qn="horizontal",scrollToFirstError:Jn,requiredMark:$n,onFinishFailed:Tn,name:tr,style:Cn,feedbackIcons:Gn,variant:ar}=Ce,or=te(Ce,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),cr=(0,de.Z)(sn),yr=ve.useContext(ae.Z),dr=ve.useMemo(()=>$n!==void 0?$n:Un?!1:_e!==void 0?_e:!0,[Un,$n,_e]),hr=Wn!=null?Wn:ft,rr=Ve("form",Ke),mr=(0,Te.Z)(rr),[br,Hr,Er]=it(rr,mr),Tr=Se()(rr,`${rr}-${qn}`,{[`${rr}-hide-required-mark`]:dr===!1,[`${rr}-rtl`]:be==="rtl",[`${rr}-${cr}`]:cr},Er,mr,Hr,ht,ut,fn),[Pr]=vt(Rn),{__INTERNAL__:Dr}=Pr;Dr.name=tr;const sr=ve.useMemo(()=>({name:tr,labelAlign:Yn,labelCol:Ln,labelWrap:Hn,wrapperCol:kn,vertical:qn==="vertical",colon:hr,requiredMark:dr,itemRef:Dr.itemRef,form:Pr,feedbackIcons:Gn}),[tr,Yn,Ln,kn,qn,hr,dr,Pr,Gn]),lr=ve.useRef(null);ve.useImperativeHandle(Re,()=>{var Bn;return Object.assign(Object.assign({},Pr),{nativeElement:(Bn=lr.current)===null||Bn===void 0?void 0:Bn.nativeElement})});const nr=(Bn,Pn)=>{if(Bn){let pn={block:"nearest"};typeof Bn=="object"&&(pn=Object.assign(Object.assign({},pn),Bn)),Pr.scrollToField(Pn,pn)}},gn=Bn=>{if(Tn==null||Tn(Bn),Bn.errorFields.length){const Pn=Bn.errorFields[0].name;if(Jn!==void 0){nr(Jn,Pn);return}yt!==void 0&&nr(yt,Pn)}};return br(ve.createElement(E.pg.Provider,{value:ar},ve.createElement(we.n,{disabled:cn},ve.createElement(xt.Z.Provider,{value:cr},ve.createElement(E.RV,{validateMessages:yr},ve.createElement(E.q3.Provider,{value:sr},ve.createElement(qe.default,Object.assign({id:tr},or,{name:tr,onFinishFailed:gn,form:Pr,ref:lr,style:Object.assign(Object.assign({},Xe),Cn),className:Tr}))))))))};var se=ve.forwardRef(ee),ne=re(41799),pe=re(8654),ye=re(22703),lt=re(32383),Ae=re(11592);function Ne(Ce){if(typeof Ce=="function")return Ce;const Re=(0,Ae.Z)(Ce);return Re.length<=1?Re[0]:Re}const tt=()=>{const{status:Ce,errors:Re=[],warnings:De=[]}=ve.useContext(E.aM);return{status:Ce,errors:Re,warnings:De}};tt.Context=E.aM;var Pt=tt,Ot=re(16089);function tn(Ce){const[Re,De]=ve.useState(Ce),Ve=ve.useRef(null),be=ve.useRef([]),_e=ve.useRef(!1);ve.useEffect(()=>(_e.current=!1,()=>{_e.current=!0,Ot.Z.cancel(Ve.current),Ve.current=null}),[]);function ft(yt){_e.current||(Ve.current===null&&(be.current=[],Ve.current=(0,Ot.Z)(()=>{Ve.current=null,De(ht=>{let Xe=ht;return be.current.forEach(Ke=>{Xe=Ke(Xe)}),Xe})})),be.current.push(yt))}return[Re,ft]}function Ut(){const{itemRef:Ce}=ve.useContext(E.q3),Re=ve.useRef({});function De(Ve,be){const _e=be&&typeof be=="object"&&(0,pe.C4)(be),ft=Ve.join("_");return(Re.current.name!==ft||Re.current.originRef!==_e)&&(Re.current.name=ft,Re.current.originRef=_e,Re.current.ref=(0,pe.sQ)(Ce(Ve),_e)),Re.current.ref}return De}var Wt=re(29194),ln=re(34280),Dt=re(2738),$t=re(65970),wt=re(70425),en=re(5472);const kt=Ce=>{const{formItemCls:Re}=Ce;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Re}-control`]:{display:"flex"}}}};var Me=(0,ze.bk)(["Form","item-item"],(Ce,Re)=>{let{rootPrefixCls:De}=Re;const Ve=Be(Ce,De);return[kt(Ve)]}),Fe=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De};const Bt=24;var Oe=Ce=>{const{prefixCls:Re,status:De,labelCol:Ve,wrapperCol:be,children:_e,errors:ft,warnings:yt,_internalItemRender:ht,extra:Xe,help:Ke,fieldId:ut,marginBottom:fn,onErrorVisibleChanged:sn,label:cn}=Ce,Rn=`${Re}-item`,Wn=ve.useContext(E.q3),Yn=ve.useMemo(()=>{let or=Object.assign({},be||Wn.wrapperCol||{});return cn===null&&!Ve&&!be&&Wn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(yr=>{const dr=yr?[yr]:[],hr=(0,wt.U2)(Wn.labelCol,dr),rr=typeof hr=="object"?hr:{},mr=(0,wt.U2)(or,dr),br=typeof mr=="object"?mr:{};"span"in rr&&!("offset"in br)&&rr.span<Bt&&(or=(0,wt.t8)(or,[].concat(dr,["offset"]),rr.span))}),or},[be,Wn]),Hn=Se()(`${Rn}-control`,Yn.className),Ln=ve.useMemo(()=>{const{labelCol:or,wrapperCol:cr}=Wn;return Fe(Wn,["labelCol","wrapperCol"])},[Wn]),kn=ve.useRef(null),[Un,qn]=ve.useState(0);(0,ln.Z)(()=>{Xe&&kn.current?qn(kn.current.clientHeight):qn(0)},[Xe]);const Jn=ve.createElement("div",{className:`${Rn}-control-input`},ve.createElement("div",{className:`${Rn}-control-input-content`},_e)),$n=ve.useMemo(()=>({prefixCls:Re,status:De}),[Re,De]),Tn=fn!==null||ft.length||yt.length?ve.createElement(E.Rk.Provider,{value:$n},ve.createElement(Le,{fieldId:ut,errors:ft,warnings:yt,help:Ke,helpStatus:De,className:`${Rn}-explain-connected`,onVisibleChanged:sn})):null,tr={};ut&&(tr.id=`${ut}_extra`);const Cn=Xe?ve.createElement("div",Object.assign({},tr,{className:`${Rn}-extra`,ref:kn}),Xe):null,Gn=Tn||Cn?ve.createElement("div",{className:`${Rn}-additional`,style:fn?{minHeight:fn+Un}:{}},Tn,Cn):null,ar=ht&&ht.mark==="pro_table_render"&&ht.render?ht.render(Ce,{input:Jn,errorList:Tn,extra:Cn}):ve.createElement(ve.Fragment,null,Jn,Gn);return ve.createElement(E.q3.Provider,{value:Ln},ve.createElement(en.Z,Object.assign({},Yn,{className:Hn}),ar),ve.createElement(Me,{prefixCls:Re}))},Ge=re(61485),dt=re(9017),It=re(85981),qt=re(25399),hn=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De};function Dn(Ce){return Ce?typeof Ce=="object"&&!ve.isValidElement(Ce)?Ce:{title:Ce}:null}var un=Ce=>{let{prefixCls:Re,label:De,htmlFor:Ve,labelCol:be,labelAlign:_e,colon:ft,required:yt,requiredMark:ht,tooltip:Xe,vertical:Ke}=Ce;var ut;const[fn]=(0,dt.Z)("Form"),{labelAlign:sn,labelCol:cn,labelWrap:Rn,colon:Wn}=ve.useContext(E.q3);if(!De)return null;const Yn=be||cn||{},Hn=_e||sn,Ln=`${Re}-item-label`,kn=Se()(Ln,Hn==="left"&&`${Ln}-left`,Yn.className,{[`${Ln}-wrap`]:!!Rn});let Un=De;const qn=ft===!0||Wn!==!1&&ft!==!1;qn&&!Ke&&typeof De=="string"&&De.trim()&&(Un=De.replace(/[:|]\s*$/,""));const $n=Dn(Xe);if($n){const{icon:or=ve.createElement(Ge.Z,null)}=$n,cr=hn($n,["icon"]),yr=ve.createElement(qt.Z,Object.assign({},cr),ve.cloneElement(or,{className:`${Re}-item-tooltip`,title:"",onClick:dr=>{dr.preventDefault()},tabIndex:null}));Un=ve.createElement(ve.Fragment,null,Un,yr)}const Tn=ht==="optional",tr=typeof ht=="function",Cn=ht===!1;tr?Un=ht(Un,{required:!!yt}):Tn&&!yt&&(Un=ve.createElement(ve.Fragment,null,Un,ve.createElement("span",{className:`${Re}-item-optional`,title:""},(fn==null?void 0:fn.optional)||((ut=It.Z.Form)===null||ut===void 0?void 0:ut.optional))));let Gn;Cn?Gn="hidden":(Tn||tr)&&(Gn="optional");const ar=Se()({[`${Re}-item-required`]:yt,[`${Re}-item-required-mark-${Gn}`]:Gn,[`${Re}-item-no-colon`]:!qn});return ve.createElement(en.Z,Object.assign({},Yn,{className:kn}),ve.createElement("label",{htmlFor:Ve,className:ar,title:typeof De=="string"?De:""},Un))},yn=re(29679),vn=re(19248),Xt=re(96512),Zt=re(58617);const Vt={success:yn.Z,warning:Xt.Z,error:vn.Z,validating:Zt.Z};function Et(Ce){let{children:Re,errors:De,warnings:Ve,hasFeedback:be,validateStatus:_e,prefixCls:ft,meta:yt,noStyle:ht}=Ce;const Xe=`${ft}-item`,{feedbackIcons:Ke}=ve.useContext(E.q3),ut=Lt(De,Ve,yt,null,!!be,_e),{isFormItemInput:fn,status:sn,hasFeedback:cn,feedbackIcon:Rn}=ve.useContext(E.aM),Wn=ve.useMemo(()=>{var Yn;let Hn;if(be){const kn=be!==!0&&be.icons||Ke,Un=ut&&((Yn=kn==null?void 0:kn({status:ut,errors:De,warnings:Ve}))===null||Yn===void 0?void 0:Yn[ut]),qn=ut&&Vt[ut];Hn=Un!==!1&&qn?ve.createElement("span",{className:Se()(`${Xe}-feedback-icon`,`${Xe}-feedback-icon-${ut}`)},Un||ve.createElement(qn,null)):null}const Ln={status:ut||"",errors:De,warnings:Ve,hasFeedback:!!be,feedbackIcon:Hn,isFormItemInput:!0};return ht&&(Ln.status=(ut!=null?ut:sn)||"",Ln.isFormItemInput=fn,Ln.hasFeedback=!!(be!=null?be:cn),Ln.feedbackIcon=be!==void 0?Ln.feedbackIcon:Rn),Ln},[ut,be,ht,fn,sn]);return ve.createElement(E.aM.Provider,{value:Wn},Re)}var on=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De};function an(Ce){const{prefixCls:Re,className:De,rootClassName:Ve,style:be,help:_e,errors:ft,warnings:yt,validateStatus:ht,meta:Xe,hasFeedback:Ke,hidden:ut,children:fn,fieldId:sn,required:cn,isRequired:Rn,onSubItemMetaChange:Wn,layout:Yn}=Ce,Hn=on(Ce,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Ln=`${Re}-item`,{requiredMark:kn,vertical:Un}=ve.useContext(E.q3),qn=Un||Yn==="vertical",Jn=ve.useRef(null),$n=Pe(ft),Tn=Pe(yt),tr=_e!=null,Cn=!!(tr||ft.length||yt.length),Gn=!!Jn.current&&(0,Wt.Z)(Jn.current),[ar,or]=ve.useState(null);(0,ln.Z)(()=>{if(Cn&&Jn.current){const rr=getComputedStyle(Jn.current);or(parseInt(rr.marginBottom,10))}},[Cn,Gn]);const cr=rr=>{rr||or(null)},dr=function(){let rr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const mr=rr?$n:Xe.errors,br=rr?Tn:Xe.warnings;return Lt(mr,br,Xe,"",!!Ke,ht)}(),hr=Se()(Ln,De,Ve,{[`${Ln}-with-help`]:tr||$n.length||Tn.length,[`${Ln}-has-feedback`]:dr&&Ke,[`${Ln}-has-success`]:dr==="success",[`${Ln}-has-warning`]:dr==="warning",[`${Ln}-has-error`]:dr==="error",[`${Ln}-is-validating`]:dr==="validating",[`${Ln}-hidden`]:ut,[`${Ln}-${Yn}`]:Yn});return ve.createElement("div",{className:hr,style:be,ref:Jn},ve.createElement($t.Z,Object.assign({className:`${Ln}-row`},(0,Dt.Z)(Hn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),ve.createElement(un,Object.assign({htmlFor:sn},Ce,{requiredMark:kn,required:cn!=null?cn:Rn,prefixCls:Re,vertical:qn})),ve.createElement(Oe,Object.assign({},Ce,Xe,{errors:$n,warnings:Tn,prefixCls:Re,status:dr,help:_e,marginBottom:ar,onErrorVisibleChanged:cr}),ve.createElement(E.qI.Provider,{value:Wn},ve.createElement(Et,{prefixCls:Re,meta:Xe,errors:Xe.errors,warnings:Xe.warnings,hasFeedback:Ke,validateStatus:dr},fn)))),!!ar&&ve.createElement("div",{className:`${Ln}-margin-offset`,style:{marginBottom:-ar}}))}const rn="__SPLIT__",En=null;function Mn(Ce,Re){const De=Object.keys(Ce),Ve=Object.keys(Re);return De.length===Ve.length&&De.every(be=>{const _e=Ce[be],ft=Re[be];return _e===ft||typeof _e=="function"||typeof ft=="function"})}const An=ve.memo(Ce=>{let{children:Re}=Ce;return Re},(Ce,Re)=>Mn(Ce.control,Re.control)&&Ce.update===Re.update&&Ce.childProps.length===Re.childProps.length&&Ce.childProps.every((De,Ve)=>De===Re.childProps[Ve]));function Fn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function In(Ce){const{name:Re,noStyle:De,className:Ve,dependencies:be,prefixCls:_e,shouldUpdate:ft,rules:yt,children:ht,required:Xe,label:Ke,messageVariables:ut,trigger:fn="onChange",validateTrigger:sn,hidden:cn,help:Rn,layout:Wn}=Ce,{getPrefixCls:Yn}=ve.useContext(Ht.E_),{name:Hn}=ve.useContext(E.q3),Ln=Ne(ht),kn=typeof Ln=="function",Un=ve.useContext(E.qI),{validateTrigger:qn}=ve.useContext(qe.FieldContext),Jn=sn!==void 0?sn:qn,$n=Re!=null,Tn=Yn("form",_e),tr=(0,Te.Z)(Tn),[Cn,Gn,ar]=it(Tn,tr),or=(0,lt.ln)("Form.Item"),cr=ve.useContext(qe.ListContext),yr=ve.useRef(null),[dr,hr]=tn({}),[rr,mr]=(0,ne.Z)(()=>Fn()),br=lr=>{const nr=cr==null?void 0:cr.getKey(lr.name);if(mr(lr.destroy?Fn():lr,!0),De&&Rn!==!1&&Un){let gn=lr.name;if(lr.destroy)gn=yr.current||gn;else if(nr!==void 0){const[Bn,Pn]=nr;gn=[Bn].concat((0,$e.Z)(Pn)),yr.current=gn}Un(lr,gn)}},Hr=(lr,nr)=>{hr(gn=>{const Bn=Object.assign({},gn),pn=[].concat((0,$e.Z)(lr.name.slice(0,-1)),(0,$e.Z)(nr)).join(rn);return lr.destroy?delete Bn[pn]:Bn[pn]=lr,Bn})},[Er,Tr]=ve.useMemo(()=>{const lr=(0,$e.Z)(rr.errors),nr=(0,$e.Z)(rr.warnings);return Object.values(dr).forEach(gn=>{lr.push.apply(lr,(0,$e.Z)(gn.errors||[])),nr.push.apply(nr,(0,$e.Z)(gn.warnings||[]))}),[lr,nr]},[dr,rr.errors,rr.warnings]),Pr=Ut();function Dr(lr,nr,gn){return De&&!cn?ve.createElement(Et,{prefixCls:Tn,hasFeedback:Ce.hasFeedback,validateStatus:Ce.validateStatus,meta:rr,errors:Er,warnings:Tr,noStyle:!0},lr):ve.createElement(an,Object.assign({key:"row"},Ce,{className:Se()(Ve,ar,tr,Gn),prefixCls:Tn,fieldId:nr,isRequired:gn,errors:Er,warnings:Tr,meta:rr,onSubItemMetaChange:Hr,layout:Wn}),lr)}if(!$n&&!kn&&!be)return Cn(Dr(Ln));let sr={};return typeof Ke=="string"?sr.label=Ke:Re&&(sr.label=String(Re)),ut&&(sr=Object.assign(Object.assign({},sr),ut)),Cn(ve.createElement(qe.Field,Object.assign({},Ce,{messageVariables:sr,trigger:fn,validateTrigger:Jn,onMetaChange:br}),(lr,nr,gn)=>{const Bn=Qe(Re).length&&nr?nr.name:[],Pn=jt(Bn,Hn),pn=Xe!==void 0?Xe:!!(yt!=null&&yt.some(wn=>{if(wn&&typeof wn=="object"&&wn.required&&!wn.warningOnly)return!0;if(typeof wn=="function"){const mn=wn(gn);return(mn==null?void 0:mn.required)&&!(mn!=null&&mn.warningOnly)}return!1})),Xn=Object.assign({},lr);let Qn=null;if(Array.isArray(Ln)&&$n)Qn=Ln;else if(!(kn&&(!(ft||be)||$n))){if(!(be&&!kn&&!$n))if(ve.isValidElement(Ln)){const wn=Object.assign(Object.assign({},Ln.props),Xn);if(wn.id||(wn.id=Pn),Rn||Er.length>0||Tr.length>0||Ce.extra){const Zn=[];(Rn||Er.length>0)&&Zn.push(`${Pn}_help`),Ce.extra&&Zn.push(`${Pn}_extra`),wn["aria-describedby"]=Zn.join(" ")}Er.length>0&&(wn["aria-invalid"]="true"),pn&&(wn["aria-required"]="true"),(0,pe.Yr)(Ln)&&(wn.ref=Pr(Bn,Ln)),new Set([].concat((0,$e.Z)(Qe(fn)),(0,$e.Z)(Qe(Jn)))).forEach(Zn=>{wn[Zn]=function(){for(var fr,Mr,Or,Fr,kr,Rr=arguments.length,Xr=new Array(Rr),jr=0;jr<Rr;jr++)Xr[jr]=arguments[jr];(Or=Xn[Zn])===null||Or===void 0||(fr=Or).call.apply(fr,[Xn].concat(Xr)),(kr=(Fr=Ln.props)[Zn])===null||kr===void 0||(Mr=kr).call.apply(Mr,[Fr].concat(Xr))}});const Nn=[wn["aria-required"],wn["aria-invalid"],wn["aria-describedby"]];Qn=ve.createElement(An,{control:Xn,update:Ln,childProps:Nn},(0,ye.Tm)(Ln,wn))}else kn&&(ft||be)&&!$n?Qn=Ln(gn):Qn=Ln}return Dr(Qn,Pn,pn)}))}const jn=In;jn.useStatus=Pt;var Vn=jn,zt=function(Ce,Re){var De={};for(var Ve in Ce)Object.prototype.hasOwnProperty.call(Ce,Ve)&&Re.indexOf(Ve)<0&&(De[Ve]=Ce[Ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ve=Object.getOwnPropertySymbols(Ce);be<Ve.length;be++)Re.indexOf(Ve[be])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ve[be])&&(De[Ve[be]]=Ce[Ve[be]]);return De},bn=Ce=>{var{prefixCls:Re,children:De}=Ce,Ve=zt(Ce,["prefixCls","children"]);const{getPrefixCls:be}=ve.useContext(Ht.E_),_e=be("form",Re),ft=ve.useMemo(()=>({prefixCls:_e,status:"error"}),[_e]);return ve.createElement(qe.List,Object.assign({},Ve),(yt,ht,Xe)=>ve.createElement(E.Rk.Provider,{value:ft},De(yt.map(Ke=>Object.assign(Object.assign({},Ke),{fieldKey:Ke.key})),ht,{errors:Xe.errors,warnings:Xe.warnings})))};function xn(){const{form:Ce}=ve.useContext(E.q3);return Ce}const ke=se;ke.Item=Vn,ke.List=bn,ke.ErrorList=Le,ke.useForm=vt,ke.useFormInstance=xn,ke.useWatch=qe.useWatch,ke.Provider=E.RV,ke.create=()=>{};var nt=ke},4875:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Rt}});var E=re(59301),$e=re(84105),ve=re(87395),Ye=re(92310),Se=re.n(Ye),Ee=re(60499),Ie=re(18642),Te=re(43749),Pe=re(72190),he=re(42244),Ze=re(38705),xe=re(17212);function At(){return typeof BigInt=="function"}function rt(Oe){return!Oe&&Oe!==0&&!Number.isNaN(Oe)||!String(Oe).trim()}function ze(Oe){var Ge=Oe.trim(),dt=Ge.startsWith("-");dt&&(Ge=Ge.slice(1)),Ge=Ge.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Ge.startsWith(".")&&(Ge="0".concat(Ge));var It=Ge||"0",qt=It.split("."),hn=qt[0]||"0",Dn=qt[1]||"0";hn==="0"&&Dn==="0"&&(dt=!1);var On=dt?"-":"";return{negative:dt,negativeStr:On,trimStr:It,integerStr:hn,decimalStr:Dn,fullStr:"".concat(On).concat(It)}}function Ue(Oe){var Ge=String(Oe);return!Number.isNaN(Number(Ge))&&Ge.includes("e")}function We(Oe){var Ge=String(Oe);if(Ue(Oe)){var dt=Number(Ge.slice(Ge.indexOf("e-")+2)),It=Ge.match(/\.(\d+)/);return It!=null&&It[1]&&(dt+=It[1].length),dt}return Ge.includes(".")&&Nt(Ge)?Ge.length-Ge.indexOf(".")-1:0}function Ct(Oe){var Ge=String(Oe);if(Ue(Oe)){if(Oe>Number.MAX_SAFE_INTEGER)return String(At()?BigInt(Oe).toString():Number.MAX_SAFE_INTEGER);if(Oe<Number.MIN_SAFE_INTEGER)return String(At()?BigInt(Oe).toString():Number.MIN_SAFE_INTEGER);Ge=Oe.toFixed(We(Ge))}return ze(Ge).fullStr}function Nt(Oe){return typeof Oe=="number"?!Number.isNaN(Oe):Oe?/^\s*-?\d+(\.\d+)?\s*$/.test(Oe)||/^\s*-?\d+\.\s*$/.test(Oe)||/^\s*-?\.\d+\s*$/.test(Oe):!1}var Ft=function(){function Oe(Ge){if((0,Ze.Z)(this,Oe),(0,Ie.Z)(this,"origin",""),(0,Ie.Z)(this,"negative",void 0),(0,Ie.Z)(this,"integer",void 0),(0,Ie.Z)(this,"decimal",void 0),(0,Ie.Z)(this,"decimalLen",void 0),(0,Ie.Z)(this,"empty",void 0),(0,Ie.Z)(this,"nan",void 0),rt(Ge)){this.empty=!0;return}if(this.origin=String(Ge),Ge==="-"||Number.isNaN(Ge)){this.nan=!0;return}var dt=Ge;if(Ue(dt)&&(dt=Number(dt)),dt=typeof dt=="string"?dt:Ct(dt),Nt(dt)){var It=ze(dt);this.negative=It.negative;var qt=It.trimStr.split(".");this.integer=BigInt(qt[0]);var hn=qt[1]||"0";this.decimal=BigInt(hn),this.decimalLen=hn.length}else this.nan=!0}return(0,xe.Z)(Oe,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(dt){var It="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(dt,"0"));return BigInt(It)}},{key:"negate",value:function(){var dt=new Oe(this.toString());return dt.negative=!dt.negative,dt}},{key:"cal",value:function(dt,It,qt){var hn=Math.max(this.getDecimalStr().length,dt.getDecimalStr().length),Dn=this.alignDecimal(hn),On=dt.alignDecimal(hn),un=It(Dn,On).toString(),yn=qt(hn),vn=ze(un),Xt=vn.negativeStr,Zt=vn.trimStr,Vt="".concat(Xt).concat(Zt.padStart(yn+1,"0"));return new Oe("".concat(Vt.slice(0,-yn),".").concat(Vt.slice(-yn)))}},{key:"add",value:function(dt){if(this.isInvalidate())return new Oe(dt);var It=new Oe(dt);return It.isInvalidate()?this:this.cal(It,function(qt,hn){return qt+hn},function(qt){return qt})}},{key:"multi",value:function(dt){var It=new Oe(dt);return this.isInvalidate()||It.isInvalidate()?new Oe(NaN):this.cal(It,function(qt,hn){return qt*hn},function(qt){return qt*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(dt){return this.toString()===(dt==null?void 0:dt.toString())}},{key:"lessEquals",value:function(dt){return this.add(dt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return dt?this.isInvalidate()?"":ze("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Oe}(),St=function(){function Oe(Ge){if((0,Ze.Z)(this,Oe),(0,Ie.Z)(this,"origin",""),(0,Ie.Z)(this,"number",void 0),(0,Ie.Z)(this,"empty",void 0),rt(Ge)){this.empty=!0;return}this.origin=String(Ge),this.number=Number(Ge)}return(0,xe.Z)(Oe,[{key:"negate",value:function(){return new Oe(-this.toNumber())}},{key:"add",value:function(dt){if(this.isInvalidate())return new Oe(dt);var It=Number(dt);if(Number.isNaN(It))return this;var qt=this.number+It;if(qt>Number.MAX_SAFE_INTEGER)return new Oe(Number.MAX_SAFE_INTEGER);if(qt<Number.MIN_SAFE_INTEGER)return new Oe(Number.MIN_SAFE_INTEGER);var hn=Math.max(We(this.number),We(It));return new Oe(qt.toFixed(hn))}},{key:"multi",value:function(dt){var It=Number(dt);if(this.isInvalidate()||Number.isNaN(It))return new Oe(NaN);var qt=this.number*It;if(qt>Number.MAX_SAFE_INTEGER)return new Oe(Number.MAX_SAFE_INTEGER);if(qt<Number.MIN_SAFE_INTEGER)return new Oe(Number.MIN_SAFE_INTEGER);var hn=Math.max(We(this.number),We(It));return new Oe(qt.toFixed(hn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(dt){return this.toNumber()===(dt==null?void 0:dt.toNumber())}},{key:"lessEquals",value:function(dt){return this.add(dt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return dt?this.isInvalidate()?"":Ct(this.number):this.origin}}]),Oe}();function pt(Oe){return At()?new Ft(Oe):new St(Oe)}function ct(Oe,Ge,dt){var It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Oe==="")return"";var qt=ze(Oe),hn=qt.negativeStr,Dn=qt.integerStr,On=qt.decimalStr,un="".concat(Ge).concat(On),yn="".concat(hn).concat(Dn);if(dt>=0){var vn=Number(On[dt]);if(vn>=5&&!It){var Xt=pt(Oe).add("".concat(hn,"0.").concat("0".repeat(dt)).concat(10-vn));return ct(Xt.toString(),Ge,dt,It)}return dt===0?yn:"".concat(yn).concat(Ge).concat(On.padEnd(dt,"0").slice(0,dt))}return un===".0"?yn:"".concat(yn).concat(un)}var et=pt,Tt=re(36901),st=re(34280);function at(Oe,Ge){return typeof Proxy!="undefined"&&Oe?new Proxy(Oe,{get:function(It,qt){if(Ge[qt])return Ge[qt];var hn=It[qt];return typeof hn=="function"?hn.bind(It):hn}}):Oe}var bt=re(8654),Be=re(48736);function it(Oe,Ge){var dt=(0,E.useRef)(null);function It(){try{var hn=Oe.selectionStart,Dn=Oe.selectionEnd,On=Oe.value,un=On.substring(0,hn),yn=On.substring(Dn);dt.current={start:hn,end:Dn,value:On,beforeTxt:un,afterTxt:yn}}catch(vn){}}function qt(){if(Oe&&dt.current&&Ge)try{var hn=Oe.value,Dn=dt.current,On=Dn.beforeTxt,un=Dn.afterTxt,yn=Dn.start,vn=hn.length;if(hn.startsWith(On))vn=On.length;else if(hn.endsWith(un))vn=hn.length-dt.current.afterTxt.length;else{var Xt=On[yn-1],Zt=hn.indexOf(Xt,yn-1);Zt!==-1&&(vn=Zt+1)}Oe.setSelectionRange(vn,vn)}catch(Vt){(0,Be.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Vt.message))}}return[It,qt]}var Je=re(49658),ue=function(){var Ge=(0,E.useState)(!1),dt=(0,Pe.Z)(Ge,2),It=dt[0],qt=dt[1];return(0,st.Z)(function(){qt((0,Je.Z)())},[]),It},mt=ue,Le=re(16089),qe=200,Ht=600;function we(Oe){var Ge=Oe.prefixCls,dt=Oe.upNode,It=Oe.downNode,qt=Oe.upDisabled,hn=Oe.downDisabled,Dn=Oe.onStep,On=E.useRef(),un=E.useRef([]),yn=E.useRef();yn.current=Dn;var vn=function(){clearTimeout(On.current)},Xt=function(Mn,An){Mn.preventDefault(),vn(),yn.current(An);function Fn(){yn.current(An),On.current=setTimeout(Fn,qe)}On.current=setTimeout(Fn,Ht)};E.useEffect(function(){return function(){vn(),un.current.forEach(function(En){return Le.Z.cancel(En)})}},[]);var Zt=mt();if(Zt)return null;var Vt="".concat(Ge,"-handler"),Et=Se()(Vt,"".concat(Vt,"-up"),(0,Ie.Z)({},"".concat(Vt,"-up-disabled"),qt)),on=Se()(Vt,"".concat(Vt,"-down"),(0,Ie.Z)({},"".concat(Vt,"-down-disabled"),hn)),an=function(){return un.current.push((0,Le.Z)(vn))},rn={unselectable:"on",role:"button",onMouseUp:an,onMouseLeave:an};return E.createElement("div",{className:"".concat(Vt,"-wrap")},E.createElement("span",(0,Ee.Z)({},rn,{onMouseDown:function(Mn){Xt(Mn,!0)},"aria-label":"Increase Value","aria-disabled":qt,className:Et}),dt||E.createElement("span",{unselectable:"on",className:"".concat(Ge,"-handler-up-inner")})),E.createElement("span",(0,Ee.Z)({},rn,{onMouseDown:function(Mn){Xt(Mn,!1)},"aria-label":"Decrease Value","aria-disabled":hn,className:on}),It||E.createElement("span",{unselectable:"on",className:"".concat(Ge,"-handler-down-inner")})))}function de(Oe){var Ge=typeof Oe=="number"?Ct(Oe):ze(Oe).fullStr,dt=Ge.includes(".");return dt?ze(Ge.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Oe+"0"}var xt=re(30292),Qt=function(){var Oe=(0,E.useRef)(0),Ge=function(){Le.Z.cancel(Oe.current)};return(0,E.useEffect)(function(){return Ge},[]),function(dt){Ge(),Oe.current=(0,Le.Z)(function(){dt()})}},Mt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],me=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],He=function(Ge,dt){return Ge||dt.isEmpty()?dt.toString():dt.toNumber()},Qe=function(Ge){var dt=et(Ge);return dt.isInvalidate()?null:dt},jt=E.forwardRef(function(Oe,Ge){var dt=Oe.prefixCls,It=Oe.className,qt=Oe.style,hn=Oe.min,Dn=Oe.max,On=Oe.step,un=On===void 0?1:On,yn=Oe.defaultValue,vn=Oe.value,Xt=Oe.disabled,Zt=Oe.readOnly,Vt=Oe.upHandler,Et=Oe.downHandler,on=Oe.keyboard,an=Oe.changeOnWheel,rn=an===void 0?!1:an,En=Oe.controls,Mn=En===void 0?!0:En,An=Oe.classNames,Fn=Oe.stringMode,In=Oe.parser,jn=Oe.formatter,Vn=Oe.precision,zt=Oe.decimalSeparator,nn=Oe.onChange,bn=Oe.onInput,xn=Oe.onPressEnter,ke=Oe.onStep,nt=Oe.changeOnBlur,Ce=nt===void 0?!0:nt,Re=Oe.domRef,De=(0,he.Z)(Oe,Mt),Ve="".concat(dt,"-input"),be=E.useRef(null),_e=E.useState(!1),ft=(0,Pe.Z)(_e,2),yt=ft[0],ht=ft[1],Xe=E.useRef(!1),Ke=E.useRef(!1),ut=E.useRef(!1),fn=E.useState(function(){return et(vn!=null?vn:yn)}),sn=(0,Pe.Z)(fn,2),cn=sn[0],Rn=sn[1];function Wn(Pn){vn===void 0&&Rn(Pn)}var Yn=E.useCallback(function(Pn,pn){if(!pn)return Vn>=0?Vn:Math.max(We(Pn),We(un))},[Vn,un]),Hn=E.useCallback(function(Pn){var pn=String(Pn);if(In)return In(pn);var Xn=pn;return zt&&(Xn=Xn.replace(zt,".")),Xn.replace(/[^\w.-]+/g,"")},[In,zt]),Ln=E.useRef(""),kn=E.useCallback(function(Pn,pn){if(jn)return jn(Pn,{userTyping:pn,input:String(Ln.current)});var Xn=typeof Pn=="number"?Ct(Pn):Pn;if(!pn){var Qn=Yn(Xn,pn);if(Nt(Xn)&&(zt||Qn>=0)){var wn=zt||".";Xn=ct(Xn,wn,Qn)}}return Xn},[jn,Yn,zt]),Un=E.useState(function(){var Pn=yn!=null?yn:vn;return cn.isInvalidate()&&["string","number"].includes((0,Te.Z)(Pn))?Number.isNaN(Pn)?"":Pn:kn(cn.toString(),!1)}),qn=(0,Pe.Z)(Un,2),Jn=qn[0],$n=qn[1];Ln.current=Jn;function Tn(Pn,pn){$n(kn(Pn.isInvalidate()?Pn.toString(!1):Pn.toString(!pn),pn))}var tr=E.useMemo(function(){return Qe(Dn)},[Dn,Vn]),Cn=E.useMemo(function(){return Qe(hn)},[hn,Vn]),Gn=E.useMemo(function(){return!tr||!cn||cn.isInvalidate()?!1:tr.lessEquals(cn)},[tr,cn]),ar=E.useMemo(function(){return!Cn||!cn||cn.isInvalidate()?!1:cn.lessEquals(Cn)},[Cn,cn]),or=it(be.current,yt),cr=(0,Pe.Z)(or,2),yr=cr[0],dr=cr[1],hr=function(pn){return tr&&!pn.lessEquals(tr)?tr:Cn&&!Cn.lessEquals(pn)?Cn:null},rr=function(pn){return!hr(pn)},mr=function(pn,Xn){var Qn=pn,wn=rr(Qn)||Qn.isEmpty();if(!Qn.isEmpty()&&!Xn&&(Qn=hr(Qn)||Qn,wn=!0),!Zt&&!Xt&&wn){var mn=Qn.toString(),Nn=Yn(mn,Xn);return Nn>=0&&(Qn=et(ct(mn,".",Nn)),rr(Qn)||(Qn=et(ct(mn,".",Nn,!0)))),Qn.equals(cn)||(Wn(Qn),nn==null||nn(Qn.isEmpty()?null:He(Fn,Qn)),vn===void 0&&Tn(Qn,Xn)),Qn}return cn},br=Qt(),Hr=function Pn(pn){if(yr(),Ln.current=pn,$n(pn),!Ke.current){var Xn=Hn(pn),Qn=et(Xn);Qn.isNaN()||mr(Qn,!0)}bn==null||bn(pn),br(function(){var wn=pn;In||(wn=pn.replace(/。/g,".")),wn!==pn&&Pn(wn)})},Er=function(){Ke.current=!0},Tr=function(){Ke.current=!1,Hr(be.current.value)},Pr=function(pn){Hr(pn.target.value)},Dr=function(pn){var Xn;if(!(pn&&Gn||!pn&&ar)){Xe.current=!1;var Qn=et(ut.current?de(un):un);pn||(Qn=Qn.negate());var wn=(cn||et(0)).add(Qn.toString()),mn=mr(wn,!1);ke==null||ke(He(Fn,mn),{offset:ut.current?de(un):un,type:pn?"up":"down"}),(Xn=be.current)===null||Xn===void 0||Xn.focus()}},sr=function(pn){var Xn=et(Hn(Jn)),Qn;Xn.isNaN()?Qn=mr(cn,pn):Qn=mr(Xn,pn),vn!==void 0?Tn(cn,!1):Qn.isNaN()||Tn(Qn,!1)},lr=function(){Xe.current=!0},nr=function(pn){var Xn=pn.key,Qn=pn.shiftKey;Xe.current=!0,ut.current=Qn,Xn==="Enter"&&(Ke.current||(Xe.current=!1),sr(!1),xn==null||xn(pn)),on!==!1&&!Ke.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Xn)&&(Dr(Xn==="Up"||Xn==="ArrowUp"),pn.preventDefault())},gn=function(){Xe.current=!1,ut.current=!1};E.useEffect(function(){if(rn&&yt){var Pn=function(Qn){Dr(Qn.deltaY<0),Qn.preventDefault()},pn=be.current;if(pn)return pn.addEventListener("wheel",Pn,{passive:!1}),function(){return pn.removeEventListener("wheel",Pn)}}});var Bn=function(){Ce&&sr(!1),ht(!1),Xe.current=!1};return(0,st.o)(function(){cn.isInvalidate()||Tn(cn,!1)},[Vn,jn]),(0,st.o)(function(){var Pn=et(vn);Rn(Pn);var pn=et(Hn(Jn));(!Pn.equals(pn)||!Xe.current||jn)&&Tn(Pn,Xe.current)},[vn]),(0,st.o)(function(){jn&&dr()},[Jn]),E.createElement("div",{ref:Re,className:Se()(dt,It,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({},"".concat(dt,"-focused"),yt),"".concat(dt,"-disabled"),Xt),"".concat(dt,"-readonly"),Zt),"".concat(dt,"-not-a-number"),cn.isNaN()),"".concat(dt,"-out-of-range"),!cn.isInvalidate()&&!rr(cn))),style:qt,onFocus:function(){ht(!0)},onBlur:Bn,onKeyDown:nr,onKeyUp:gn,onCompositionStart:Er,onCompositionEnd:Tr,onBeforeInput:lr},Mn&&E.createElement(we,{prefixCls:dt,upNode:Vt,downNode:Et,upDisabled:Gn,downDisabled:ar,onStep:Dr}),E.createElement("div",{className:"".concat(Ve,"-wrap")},E.createElement("input",(0,Ee.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":hn,"aria-valuemax":Dn,"aria-valuenow":cn.isInvalidate()?null:cn.toString(),step:un},De,{ref:(0,bt.sQ)(be,Ge),className:Ve,value:Jn,onChange:Pr,disabled:Xt,readOnly:Zt}))))}),Lt=E.forwardRef(function(Oe,Ge){var dt=Oe.disabled,It=Oe.style,qt=Oe.prefixCls,hn=qt===void 0?"rc-input-number":qt,Dn=Oe.value,On=Oe.prefix,un=Oe.suffix,yn=Oe.addonBefore,vn=Oe.addonAfter,Xt=Oe.className,Zt=Oe.classNames,Vt=(0,he.Z)(Oe,me),Et=E.useRef(null),on=E.useRef(null),an=E.useRef(null),rn=function(Mn){an.current&&(0,xt.nH)(an.current,Mn)};return E.useImperativeHandle(Ge,function(){return at(an.current,{focus:rn,nativeElement:Et.current.nativeElement||on.current})}),E.createElement(Tt.BaseInput,{className:Xt,triggerFocus:rn,prefixCls:hn,value:Dn,disabled:dt,style:It,prefix:On,suffix:un,addonAfter:vn,addonBefore:yn,classNames:Zt,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Et},E.createElement(jt,(0,Ee.Z)({prefixCls:hn,disabled:dt,ref:an,domRef:on,className:Zt==null?void 0:Zt.input},Vt)))}),Kt=Lt,je=Kt,Yt=re(62487),vt=re(82855),ae=re(48755),te=re(60840),ee=re(2171),oe=re(83397),se=re(31756),ne=re(56553),pe=re(24971),ye=re(70045),lt=re(36237),Ae=re(53075),Ne=re(64910),tt=re(39082),Pt=re(63356),Ot=re(56119),tn=re(16931),Ut=re(51636),Wt=re(17835);const ln=Oe=>{var Ge;const dt=(Ge=Oe.handleVisible)!==null&&Ge!==void 0?Ge:"auto",It=Oe.controlHeightSM-Oe.lineWidth*2;return Object.assign(Object.assign({},(0,Ne.T)(Oe)),{controlWidth:90,handleWidth:It,handleFontSize:Oe.fontSize/2,handleVisible:dt,handleActiveBg:Oe.colorFillAlter,handleBg:Oe.colorBgContainer,filledHandleBg:new Wt.FastColor(Oe.colorFillSecondary).onBackground(Oe.colorBgContainer).toHexString(),handleHoverColor:Oe.colorPrimary,handleBorderColor:Oe.colorBorder,handleOpacity:dt===!0?1:0,handleVisibleWidth:dt===!0?It:0})},Dt=(Oe,Ge)=>{let{componentCls:dt,borderRadiusSM:It,borderRadiusLG:qt}=Oe;const hn=Ge==="lg"?qt:It;return{[`&-${Ge}`]:{[`${dt}-handler-wrap`]:{borderStartEndRadius:hn,borderEndEndRadius:hn},[`${dt}-handler-up`]:{borderStartEndRadius:hn},[`${dt}-handler-down`]:{borderEndEndRadius:hn}}}},$t=Oe=>{const{componentCls:Ge,lineWidth:dt,lineType:It,borderRadius:qt,inputFontSizeSM:hn,inputFontSizeLG:Dn,controlHeightLG:On,controlHeightSM:un,colorError:yn,paddingInlineSM:vn,paddingBlockSM:Xt,paddingBlockLG:Zt,paddingInlineLG:Vt,colorTextDescription:Et,motionDurationMid:on,handleHoverColor:an,handleOpacity:rn,paddingInline:En,paddingBlock:Mn,handleBg:An,handleActiveBg:Fn,colorTextDisabled:In,borderRadiusSM:jn,borderRadiusLG:Vn,controlWidth:zt,handleBorderColor:nn,filledHandleBg:bn,lineHeightLG:xn,calc:ke}=Oe;return[{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Oe)),(0,Ae.ik)(Oe)),{display:"inline-block",width:zt,margin:0,padding:0,borderRadius:qt}),(0,tt.qG)(Oe,{[`${Ge}-handler-wrap`]:{background:An,[`${Ge}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(dt)} ${It} ${nn}`}}})),(0,tt.H8)(Oe,{[`${Ge}-handler-wrap`]:{background:bn,[`${Ge}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(dt)} ${It} ${nn}`}},"&:focus-within":{[`${Ge}-handler-wrap`]:{background:An}}})),(0,tt.vc)(Oe,{[`${Ge}-handler-wrap`]:{background:An,[`${Ge}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(dt)} ${It} ${nn}`}}})),(0,tt.Mu)(Oe)),{"&-rtl":{direction:"rtl",[`${Ge}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Dn,lineHeight:xn,borderRadius:Vn,[`input${Ge}-input`]:{height:ke(On).sub(ke(dt).mul(2)).equal(),padding:`${(0,lt.unit)(Zt)} ${(0,lt.unit)(Vt)}`}},"&-sm":{padding:0,fontSize:hn,borderRadius:jn,[`input${Ge}-input`]:{height:ke(un).sub(ke(dt).mul(2)).equal(),padding:`${(0,lt.unit)(Xt)} ${(0,lt.unit)(vn)}`}},"&-out-of-range":{[`${Ge}-input-wrap`]:{input:{color:yn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Oe)),(0,Ae.s7)(Oe)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Ge}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Ge}-group-addon`]:{borderRadius:Vn,fontSize:Oe.fontSizeLG}},"&-sm":{[`${Ge}-group-addon`]:{borderRadius:jn}}},(0,tt.ir)(Oe)),(0,tt.S5)(Oe)),{[`&:not(${Ge}-compact-first-item):not(${Ge}-compact-last-item)${Ge}-compact-item`]:{[`${Ge}, ${Ge}-group-addon`]:{borderRadius:0}},[`&:not(${Ge}-compact-last-item)${Ge}-compact-first-item`]:{[`${Ge}, ${Ge}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ge}-compact-first-item)${Ge}-compact-last-item`]:{[`${Ge}, ${Ge}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Ge}-input`]:{cursor:"not-allowed"},[Ge]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Oe)),{width:"100%",padding:`${(0,lt.unit)(Mn)} ${(0,lt.unit)(En)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:qt,outline:0,transition:`all ${on} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Ae.nz)(Oe.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Ge}-handler-wrap, &-focused ${Ge}-handler-wrap`]:{width:Oe.handleWidth,opacity:1}})},{[Ge]:Object.assign(Object.assign(Object.assign({[`${Ge}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Oe.handleVisibleWidth,opacity:rn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:qt,borderEndEndRadius:qt,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${on}`,overflow:"hidden",[`${Ge}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Ge}-handler-up-inner,
${Ge}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Oe.handleFontSize}}},[`${Ge}-handler`]:{height:"50%",overflow:"hidden",color:Et,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,lt.unit)(dt)} ${It} ${nn}`,transition:`all ${on} linear`,"&:active":{background:Fn},"&:hover":{height:"60%",[`
${Ge}-handler-up-inner,
${Ge}-handler-down-inner
`]:{color:an}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Pt.Ro)()),{color:Et,transition:`all ${on} linear`,userSelect:"none"})},[`${Ge}-handler-up`]:{borderStartEndRadius:qt},[`${Ge}-handler-down`]:{borderEndEndRadius:qt}},Dt(Oe,"lg")),Dt(Oe,"sm")),{"&-disabled, &-readonly":{[`${Ge}-handler-wrap`]:{display:"none"},[`${Ge}-input`]:{color:"inherit"}},[`
${Ge}-handler-up-disabled,
${Ge}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Ge}-handler-up-disabled:hover &-handler-up-inner,
${Ge}-handler-down-disabled:hover &-handler-down-inner
`]:{color:In}})}]},wt=Oe=>{const{componentCls:Ge,paddingBlock:dt,paddingInline:It,inputAffixPadding:qt,controlWidth:hn,borderRadiusLG:Dn,borderRadiusSM:On,paddingInlineLG:un,paddingInlineSM:yn,paddingBlockLG:vn,paddingBlockSM:Xt,motionDurationMid:Zt}=Oe;return{[`${Ge}-affix-wrapper`]:Object.assign(Object.assign({[`input${Ge}-input`]:{padding:`${(0,lt.unit)(dt)} 0`}},(0,Ae.ik)(Oe)),{position:"relative",display:"inline-flex",alignItems:"center",width:hn,padding:0,paddingInlineStart:It,"&-lg":{borderRadius:Dn,paddingInlineStart:un,[`input${Ge}-input`]:{padding:`${(0,lt.unit)(vn)} 0`}},"&-sm":{borderRadius:On,paddingInlineStart:yn,[`input${Ge}-input`]:{padding:`${(0,lt.unit)(Xt)} 0`}},[`&:not(${Ge}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Ge}-disabled`]:{background:"transparent"},[`> div${Ge}`]:{width:"100%",border:"none",outline:"none",[`&${Ge}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ge}-handler-wrap`]:{zIndex:2},[Ge]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:qt},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:It,marginInlineStart:qt,transition:`margin ${Zt}`}},[`&:hover ${Ge}-handler-wrap, &-focused ${Ge}-handler-wrap`]:{width:Oe.handleWidth,opacity:1},[`&:not(${Ge}-affix-wrapper-without-controls):hover ${Ge}-suffix`]:{marginInlineEnd:Oe.calc(Oe.handleWidth).add(It).equal()}})}};var en=(0,tn.I$)("InputNumber",Oe=>{const Ge=(0,Ut.mergeToken)(Oe,(0,Ne.e)(Oe));return[$t(Ge),wt(Ge),(0,Ot.c)(Ge)]},ln,{unitless:{handleOpacity:!0}}),kt=function(Oe,Ge){var dt={};for(var It in Oe)Object.prototype.hasOwnProperty.call(Oe,It)&&Ge.indexOf(It)<0&&(dt[It]=Oe[It]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,It=Object.getOwnPropertySymbols(Oe);qt<It.length;qt++)Ge.indexOf(It[qt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,It[qt])&&(dt[It[qt]]=Oe[It[qt]]);return dt};const Me=E.forwardRef((Oe,Ge)=>{const{getPrefixCls:dt,direction:It}=E.useContext(ae.E_),qt=E.useRef(null);E.useImperativeHandle(Ge,()=>qt.current);const{className:hn,rootClassName:Dn,size:On,disabled:un,prefixCls:yn,addonBefore:vn,addonAfter:Xt,prefix:Zt,suffix:Vt,bordered:Et,readOnly:on,status:an,controls:rn,variant:En}=Oe,Mn=kt(Oe,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),An=dt("input-number",yn),Fn=(0,oe.Z)(An),[In,jn,Vn]=en(An,Fn),{compactSize:zt,compactItemClassnames:nn}=(0,ye.ri)(An,It);let bn=E.createElement(ve.Z,{className:`${An}-handler-up-inner`}),xn=E.createElement($e.Z,{className:`${An}-handler-down-inner`});const ke=typeof rn=="boolean"?rn:void 0;typeof rn=="object"&&(bn=typeof rn.upIcon=="undefined"?bn:E.createElement("span",{className:`${An}-handler-up-inner`},rn.upIcon),xn=typeof rn.downIcon=="undefined"?xn:E.createElement("span",{className:`${An}-handler-down-inner`},rn.downIcon));const{hasFeedback:nt,status:Ce,isFormItemInput:Re,feedbackIcon:De}=E.useContext(ne.aM),Ve=(0,vt.F)(Ce,an),be=(0,se.Z)(sn=>{var cn;return(cn=On!=null?On:zt)!==null&&cn!==void 0?cn:sn}),_e=E.useContext(ee.Z),ft=un!=null?un:_e,[yt,ht]=(0,pe.Z)("inputNumber",En,Et),Xe=nt&&E.createElement(E.Fragment,null,De),Ke=Se()({[`${An}-lg`]:be==="large",[`${An}-sm`]:be==="small",[`${An}-rtl`]:It==="rtl",[`${An}-in-form-item`]:Re},jn),ut=`${An}-group`,fn=E.createElement(je,Object.assign({ref:qt,disabled:ft,className:Se()(Vn,Fn,hn,Dn,nn),upHandler:bn,downHandler:xn,prefixCls:An,readOnly:on,controls:ke,prefix:Zt,suffix:Xe||Vt,addonBefore:vn&&E.createElement(Yt.Z,{form:!0,space:!0},vn),addonAfter:Xt&&E.createElement(Yt.Z,{form:!0,space:!0},Xt),classNames:{input:Ke,variant:Se()({[`${An}-${yt}`]:ht},(0,vt.Z)(An,Ve,nt)),affixWrapper:Se()({[`${An}-affix-wrapper-sm`]:be==="small",[`${An}-affix-wrapper-lg`]:be==="large",[`${An}-affix-wrapper-rtl`]:It==="rtl",[`${An}-affix-wrapper-without-controls`]:rn===!1||ft},jn),wrapper:Se()({[`${ut}-rtl`]:It==="rtl"},jn),groupWrapper:Se()({[`${An}-group-wrapper-sm`]:be==="small",[`${An}-group-wrapper-lg`]:be==="large",[`${An}-group-wrapper-rtl`]:It==="rtl",[`${An}-group-wrapper-${yt}`]:ht},(0,vt.Z)(`${An}-group-wrapper`,Ve,nt),jn)}},Mn));return In(fn)}),Fe=Me,Bt=Oe=>E.createElement(te.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},E.createElement(Me,Object.assign({},Oe)));Fe._InternalPanelDoNotUseOrYouWillBeFired=Bt;var Rt=Fe},49397:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return St}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(36901),Se=re(8654),Ee=re(62487),Ie=re(86013),Te=re(82855),Pe=re(48755),he=re(2171),Ze=re(83397),xe=re(31756),At=re(56553),rt=re(24971),ze=re(70045),Ue=re(23826),We=re(53075);function Ct(pt){return!!(pt.prefix||pt.suffix||pt.allowClear||pt.showCount)}var Nt=function(pt,ct){var et={};for(var Tt in pt)Object.prototype.hasOwnProperty.call(pt,Tt)&&ct.indexOf(Tt)<0&&(et[Tt]=pt[Tt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Tt=Object.getOwnPropertySymbols(pt);st<Tt.length;st++)ct.indexOf(Tt[st])<0&&Object.prototype.propertyIsEnumerable.call(pt,Tt[st])&&(et[Tt[st]]=pt[Tt[st]]);return et},St=(0,E.forwardRef)((pt,ct)=>{const{prefixCls:et,bordered:Tt=!0,status:st,size:at,disabled:bt,onBlur:Be,onFocus:it,suffix:Je,allowClear:ue,addonAfter:mt,addonBefore:Le,className:qe,style:Ht,styles:we,rootClassName:de,onChange:xt,classNames:Qt,variant:Mt}=pt,me=Nt(pt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:He,direction:Qe,allowClear:jt,autoComplete:Lt,className:Kt,style:je,classNames:Yt,styles:vt}=(0,Pe.dj)("input"),ae=He("input",et),te=(0,E.useRef)(null),ee=(0,Ze.Z)(ae),[oe,se,ne]=(0,We.TI)(ae,de),[pe]=(0,We.ZP)(ae,ee),{compactSize:ye,compactItemClassnames:lt}=(0,ze.ri)(ae,Qe),Ae=(0,xe.Z)(Rt=>{var Oe;return(Oe=at!=null?at:ye)!==null&&Oe!==void 0?Oe:Rt}),Ne=E.useContext(he.Z),tt=bt!=null?bt:Ne,{status:Pt,hasFeedback:Ot,feedbackIcon:tn}=(0,E.useContext)(At.aM),Ut=(0,Te.F)(Pt,st),Wt=Ct(pt)||!!Ot,ln=(0,E.useRef)(Wt),Dt=(0,Ue.Z)(te,!0),$t=Rt=>{Dt(),Be==null||Be(Rt)},wt=Rt=>{Dt(),it==null||it(Rt)},en=Rt=>{Dt(),xt==null||xt(Rt)},kt=(Ot||Je)&&E.createElement(E.Fragment,null,Je,Ot&&tn),Me=(0,Ie.Z)(ue!=null?ue:jt),[Fe,Bt]=(0,rt.Z)("input",Mt,Tt);return oe(pe(E.createElement(Ye.default,Object.assign({ref:(0,Se.sQ)(ct,te),prefixCls:ae,autoComplete:Lt},me,{disabled:tt,onBlur:$t,onFocus:wt,style:Object.assign(Object.assign({},je),Ht),styles:Object.assign(Object.assign({},vt),we),suffix:kt,allowClear:Me,className:ve()(qe,de,ne,ee,lt,Kt),onChange:en,addonBefore:Le&&E.createElement(Ee.Z,{form:!0,space:!0},Le),addonAfter:mt&&E.createElement(Ee.Z,{form:!0,space:!0},mt),classNames:Object.assign(Object.assign(Object.assign({},Qt),Yt),{input:ve()({[`${ae}-sm`]:Ae==="small",[`${ae}-lg`]:Ae==="large",[`${ae}-rtl`]:Qe==="rtl"},Qt==null?void 0:Qt.input,Yt.input,se),variant:ve()({[`${ae}-${Fe}`]:Bt},(0,Te.Z)(ae,Ut)),affixWrapper:ve()({[`${ae}-affix-wrapper-sm`]:Ae==="small",[`${ae}-affix-wrapper-lg`]:Ae==="large",[`${ae}-affix-wrapper-rtl`]:Qe==="rtl"},se),wrapper:ve()({[`${ae}-group-rtl`]:Qe==="rtl"},se),groupWrapper:ve()({[`${ae}-group-wrapper-sm`]:Ae==="small",[`${ae}-group-wrapper-lg`]:Ae==="large",[`${ae}-group-wrapper-rtl`]:Qe==="rtl",[`${ae}-group-wrapper-${Fe}`]:Bt},(0,Te.Z)(`${ae}-group-wrapper`,Ut,Ot),se)})}))))})},79809:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return ct}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(22711),Se=re(86013),Ee=re(82855),Ie=re(48755),Te=re(2171),Pe=re(83397),he=re(31756),Ze=re(56553),xe=re(24971),At=re(70045),rt=re(30292),ze=re(53075),Ue=re(16931),We=re(51636),Ct=re(64910);const Nt=et=>{const{componentCls:Tt,paddingLG:st}=et,at=`${Tt}-textarea`;return{[`textarea${Tt}`]:{maxWidth:"100%",height:"auto",minHeight:et.controlHeight,lineHeight:et.lineHeight,verticalAlign:"bottom",transition:`all ${et.motionDurationSlow}`,resize:"vertical",[`&${Tt}-mouse-active`]:{transition:`all ${et.motionDurationSlow}, height 0s, width 0s`}},[`${Tt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[at]:{position:"relative","&-show-count":{[`> ${Tt}`]:{height:"100%"},[`${Tt}-data-count`]:{position:"absolute",bottom:et.calc(et.fontSize).mul(et.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:et.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${Tt},
&-affix-wrapper${at}-has-feedback ${Tt}
`]:{paddingInlineEnd:st},[`&-affix-wrapper${Tt}-affix-wrapper`]:{padding:0,[`> textarea${Tt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:et.calc(et.controlHeight).sub(et.calc(et.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Tt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Tt}-clear-icon`]:{position:"absolute",insetInlineEnd:et.paddingInline,insetBlockStart:et.paddingXS},[`${at}-suffix`]:{position:"absolute",top:0,insetInlineEnd:et.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Tt}-affix-wrapper-sm`]:{[`${Tt}-suffix`]:{[`${Tt}-clear-icon`]:{insetInlineEnd:et.paddingInlineSM}}}}}};var Ft=(0,Ue.I$)(["Input","TextArea"],et=>{const Tt=(0,We.mergeToken)(et,(0,Ct.e)(et));return[Nt(Tt)]},Ct.T,{resetFont:!1}),St=function(et,Tt){var st={};for(var at in et)Object.prototype.hasOwnProperty.call(et,at)&&Tt.indexOf(at)<0&&(st[at]=et[at]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,at=Object.getOwnPropertySymbols(et);bt<at.length;bt++)Tt.indexOf(at[bt])<0&&Object.prototype.propertyIsEnumerable.call(et,at[bt])&&(st[at[bt]]=et[at[bt]]);return st},ct=(0,E.forwardRef)((et,Tt)=>{var st;const{prefixCls:at,bordered:bt=!0,size:Be,disabled:it,status:Je,allowClear:ue,classNames:mt,rootClassName:Le,className:qe,style:Ht,styles:we,variant:de,showCount:xt,onMouseDown:Qt,onResize:Mt}=et,me=St(et,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:He,direction:Qe,allowClear:jt,autoComplete:Lt,className:Kt,style:je,classNames:Yt,styles:vt}=(0,Ie.dj)("textArea"),ae=E.useContext(Te.Z),te=it!=null?it:ae,{status:ee,hasFeedback:oe,feedbackIcon:se}=E.useContext(Ze.aM),ne=(0,Ee.F)(ee,Je),pe=E.useRef(null);E.useImperativeHandle(Tt,()=>{var Bt;return{resizableTextArea:(Bt=pe.current)===null||Bt===void 0?void 0:Bt.resizableTextArea,focus:Rt=>{var Oe,Ge;(0,rt.nH)((Ge=(Oe=pe.current)===null||Oe===void 0?void 0:Oe.resizableTextArea)===null||Ge===void 0?void 0:Ge.textArea,Rt)},blur:()=>{var Rt;return(Rt=pe.current)===null||Rt===void 0?void 0:Rt.blur()}}});const ye=He("input",at),lt=(0,Pe.Z)(ye),[Ae,Ne,tt]=(0,ze.TI)(ye,Le),[Pt]=Ft(ye,lt),{compactSize:Ot,compactItemClassnames:tn}=(0,At.ri)(ye,Qe),Ut=(0,he.Z)(Bt=>{var Rt;return(Rt=Be!=null?Be:Ot)!==null&&Rt!==void 0?Rt:Bt}),[Wt,ln]=(0,xe.Z)("textArea",de,bt),Dt=(0,Se.Z)(ue!=null?ue:jt),[$t,wt]=E.useState(!1),[en,kt]=E.useState(!1),Me=Bt=>{wt(!0),Qt==null||Qt(Bt);const Rt=()=>{wt(!1),document.removeEventListener("mouseup",Rt)};document.addEventListener("mouseup",Rt)},Fe=Bt=>{var Rt,Oe;if(Mt==null||Mt(Bt),$t&&typeof getComputedStyle=="function"){const Ge=(Oe=(Rt=pe.current)===null||Rt===void 0?void 0:Rt.nativeElement)===null||Oe===void 0?void 0:Oe.querySelector("textarea");Ge&&getComputedStyle(Ge).resize==="both"&&kt(!0)}};return Ae(Pt(E.createElement(Ye.default,Object.assign({autoComplete:Lt},me,{style:Object.assign(Object.assign({},je),Ht),styles:Object.assign(Object.assign({},vt),we),disabled:te,allowClear:Dt,className:ve()(tt,lt,qe,Le,tn,Kt,en&&`${ye}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},mt),Yt),{textarea:ve()({[`${ye}-sm`]:Ut==="small",[`${ye}-lg`]:Ut==="large"},Ne,mt==null?void 0:mt.textarea,Yt.textarea,$t&&`${ye}-mouse-active`),variant:ve()({[`${ye}-${Wt}`]:ln},(0,Ee.Z)(ye,ne)),affixWrapper:ve()(`${ye}-textarea-affix-wrapper`,{[`${ye}-affix-wrapper-rtl`]:Qe==="rtl",[`${ye}-affix-wrapper-sm`]:Ut==="small",[`${ye}-affix-wrapper-lg`]:Ut==="large",[`${ye}-textarea-show-count`]:xt||((st=et.count)===null||st===void 0?void 0:st.show)},Ne)}),prefixCls:ye,suffix:oe&&E.createElement("span",{className:`${ye}-textarea-suffix`},se),showCount:xt,ref:pe,onResize:Fe,onMouseDown:Me}))))})},23826:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return $e}});var E=re(59301);function $e(ve,Ye){const Se=(0,E.useRef)([]),Ee=()=>{Se.current.push(setTimeout(()=>{var Ie,Te,Pe,he;!((Ie=ve.current)===null||Ie===void 0)&&Ie.input&&((Te=ve.current)===null||Te===void 0?void 0:Te.input.getAttribute("type"))==="password"&&(!((Pe=ve.current)===null||Pe===void 0)&&Pe.input.hasAttribute("value"))&&((he=ve.current)===null||he===void 0||he.input.removeAttribute("value"))}))};return(0,E.useEffect)(()=>(Ye&&Ee(),()=>Se.current.forEach(Ie=>{Ie&&clearTimeout(Ie)})),[]),Ee}},37568:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return Yt}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(48755),Se=re(56553),Ee=re(53075),Te=vt=>{const{getPrefixCls:ae,direction:te}=(0,E.useContext)(Ye.E_),{prefixCls:ee,className:oe}=vt,se=ae("input-group",ee),ne=ae("input"),[pe,ye,lt]=(0,Ee.ZP)(ne),Ae=ve()(se,lt,{[`${se}-lg`]:vt.size==="large",[`${se}-sm`]:vt.size==="small",[`${se}-compact`]:vt.compact,[`${se}-rtl`]:te==="rtl"},ye,oe),Ne=(0,E.useContext)(Se.aM),tt=(0,E.useMemo)(()=>Object.assign(Object.assign({},Ne),{isFormItemInput:!1}),[Ne]);return pe(E.createElement("span",{className:Ae,style:vt.style,onMouseEnter:vt.onMouseEnter,onMouseLeave:vt.onMouseLeave,onFocus:vt.onFocus,onBlur:vt.onBlur},E.createElement(Se.aM.Provider,{value:tt},vt.children)))},Pe=re(49397),he=re(77654),Ze=re(6089),xe=re(26112),At=re(82855),rt=re(31756),ze=re(16931),Ue=re(51636),We=re(64910);const Ct=vt=>{const{componentCls:ae,paddingXS:te}=vt;return{[ae]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:te,"&-rtl":{direction:"rtl"},[`${ae}-input`]:{textAlign:"center",paddingInline:vt.paddingXXS},[`&${ae}-sm ${ae}-input`]:{paddingInline:vt.calc(vt.paddingXXS).div(2).equal()},[`&${ae}-lg ${ae}-input`]:{paddingInline:vt.paddingXS}}}};var Nt=(0,ze.I$)(["Input","OTP"],vt=>{const ae=(0,Ue.mergeToken)(vt,(0,We.e)(vt));return[Ct(ae)]},We.T),Ft=re(16089),St=function(vt,ae){var te={};for(var ee in vt)Object.prototype.hasOwnProperty.call(vt,ee)&&ae.indexOf(ee)<0&&(te[ee]=vt[ee]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(vt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(vt,ee[oe])&&(te[ee[oe]]=vt[ee[oe]]);return te},ct=E.forwardRef((vt,ae)=>{const{value:te,onChange:ee,onActiveChange:oe,index:se,mask:ne}=vt,pe=St(vt,["value","onChange","onActiveChange","index","mask"]),ye=te&&typeof ne=="string"?ne:te,lt=Ot=>{ee(se,Ot.target.value)},Ae=E.useRef(null);E.useImperativeHandle(ae,()=>Ae.current);const Ne=()=>{(0,Ft.Z)(()=>{var Ot;const tn=(Ot=Ae.current)===null||Ot===void 0?void 0:Ot.input;document.activeElement===tn&&tn&&tn.select()})},tt=Ot=>{const{key:tn,ctrlKey:Ut,metaKey:Wt}=Ot;tn==="ArrowLeft"?oe(se-1):tn==="ArrowRight"?oe(se+1):tn==="z"&&(Ut||Wt)&&Ot.preventDefault(),Ne()},Pt=Ot=>{Ot.key==="Backspace"&&!te&&oe(se-1),Ne()};return E.createElement(Pe.Z,Object.assign({type:ne===!0?"password":"text"},pe,{ref:Ae,value:ye,onInput:lt,onFocus:Ne,onKeyDown:tt,onKeyUp:Pt,onMouseDown:Ne,onMouseUp:Ne}))}),et=function(vt,ae){var te={};for(var ee in vt)Object.prototype.hasOwnProperty.call(vt,ee)&&ae.indexOf(ee)<0&&(te[ee]=vt[ee]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(vt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(vt,ee[oe])&&(te[ee[oe]]=vt[ee[oe]]);return te};function Tt(vt){return(vt||"").split("")}const st=vt=>{const{index:ae,prefixCls:te,separator:ee}=vt,oe=typeof ee=="function"?ee(ae):ee;return oe?E.createElement("span",{className:`${te}-separator`},oe):null};var bt=E.forwardRef((vt,ae)=>{const{prefixCls:te,length:ee=6,size:oe,defaultValue:se,value:ne,onChange:pe,formatter:ye,separator:lt,variant:Ae,disabled:Ne,status:tt,autoFocus:Pt,mask:Ot,type:tn,onInput:Ut,inputMode:Wt}=vt,ln=et(vt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Dt,direction:$t}=E.useContext(Ye.E_),wt=Dt("otp",te),en=(0,xe.Z)(ln,{aria:!0,data:!0,attr:!0}),[kt,Me,Fe]=Nt(wt),Bt=(0,rt.Z)(Zt=>oe!=null?oe:Zt),Rt=E.useContext(Se.aM),Oe=(0,At.F)(Rt.status,tt),Ge=E.useMemo(()=>Object.assign(Object.assign({},Rt),{status:Oe,hasFeedback:!1,feedbackIcon:null}),[Rt,Oe]),dt=E.useRef(null),It=E.useRef({});E.useImperativeHandle(ae,()=>({focus:()=>{var Zt;(Zt=It.current[0])===null||Zt===void 0||Zt.focus()},blur:()=>{var Zt;for(let Vt=0;Vt<ee;Vt+=1)(Zt=It.current[Vt])===null||Zt===void 0||Zt.blur()},nativeElement:dt.current}));const qt=Zt=>ye?ye(Zt):Zt,[hn,Dn]=E.useState(()=>Tt(qt(se||"")));E.useEffect(()=>{ne!==void 0&&Dn(Tt(ne))},[ne]);const On=(0,Ze.Z)(Zt=>{Dn(Zt),Ut&&Ut(Zt),pe&&Zt.length===ee&&Zt.every(Vt=>Vt)&&Zt.some((Vt,Et)=>hn[Et]!==Vt)&&pe(Zt.join(""))}),un=(0,Ze.Z)((Zt,Vt)=>{let Et=(0,he.Z)(hn);for(let an=0;an<Zt;an+=1)Et[an]||(Et[an]="");Vt.length<=1?Et[Zt]=Vt:Et=Et.slice(0,Zt).concat(Tt(Vt)),Et=Et.slice(0,ee);for(let an=Et.length-1;an>=0&&!Et[an];an-=1)Et.pop();const on=qt(Et.map(an=>an||" ").join(""));return Et=Tt(on).map((an,rn)=>an===" "&&!Et[rn]?Et[rn]:an),Et}),yn=(Zt,Vt)=>{var Et;const on=un(Zt,Vt),an=Math.min(Zt+Vt.length,ee-1);an!==Zt&&on[Zt]!==void 0&&((Et=It.current[an])===null||Et===void 0||Et.focus()),On(on)},vn=Zt=>{var Vt;(Vt=It.current[Zt])===null||Vt===void 0||Vt.focus()},Xt={variant:Ae,disabled:Ne,status:Oe,mask:Ot,type:tn,inputMode:Wt};return kt(E.createElement("div",Object.assign({},en,{ref:dt,className:ve()(wt,{[`${wt}-sm`]:Bt==="small",[`${wt}-lg`]:Bt==="large",[`${wt}-rtl`]:$t==="rtl"},Fe,Me)}),E.createElement(Se.aM.Provider,{value:Ge},Array.from({length:ee}).map((Zt,Vt)=>{const Et=`otp-${Vt}`,on=hn[Vt]||"";return E.createElement(E.Fragment,{key:Et},E.createElement(ct,Object.assign({ref:an=>{It.current[Vt]=an},index:Vt,size:Bt,htmlSize:1,className:`${wt}-input`,onChange:yn,value:on,onActiveChange:vn,autoFocus:Vt===0&&Pt},Xt)),Vt<ee-1&&E.createElement(st,{separator:lt,index:Vt,prefixCls:wt}))}))))}),Be=re(73331),it=re(15277),Je=re(2738),ue=re(8654),mt=re(2171),Le=re(23826),qe=function(vt,ae){var te={};for(var ee in vt)Object.prototype.hasOwnProperty.call(vt,ee)&&ae.indexOf(ee)<0&&(te[ee]=vt[ee]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(vt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(vt,ee[oe])&&(te[ee[oe]]=vt[ee[oe]]);return te};const Ht=vt=>vt?E.createElement(it.Z,null):E.createElement(Be.Z,null),we={click:"onClick",hover:"onMouseOver"};var xt=E.forwardRef((vt,ae)=>{const{disabled:te,action:ee="click",visibilityToggle:oe=!0,iconRender:se=Ht}=vt,ne=E.useContext(mt.Z),pe=te!=null?te:ne,ye=typeof oe=="object"&&oe.visible!==void 0,[lt,Ae]=(0,E.useState)(()=>ye?oe.visible:!1),Ne=(0,E.useRef)(null);E.useEffect(()=>{ye&&Ae(oe.visible)},[ye,oe]);const tt=(0,Le.Z)(Ne),Pt=()=>{var Bt;if(pe)return;lt&&tt();const Rt=!lt;Ae(Rt),typeof oe=="object"&&((Bt=oe.onVisibleChange)===null||Bt===void 0||Bt.call(oe,Rt))},Ot=Bt=>{const Rt=we[ee]||"",Oe=se(lt),Ge={[Rt]:Pt,className:`${Bt}-icon`,key:"passwordIcon",onMouseDown:dt=>{dt.preventDefault()},onMouseUp:dt=>{dt.preventDefault()}};return E.cloneElement(E.isValidElement(Oe)?Oe:E.createElement("span",null,Oe),Ge)},{className:tn,prefixCls:Ut,inputPrefixCls:Wt,size:ln}=vt,Dt=qe(vt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:$t}=E.useContext(Ye.E_),wt=$t("input",Wt),en=$t("input-password",Ut),kt=oe&&Ot(en),Me=ve()(en,tn,{[`${en}-${ln}`]:!!ln}),Fe=Object.assign(Object.assign({},(0,Je.Z)(Dt,["suffix","iconRender","visibilityToggle"])),{type:lt?"text":"password",className:Me,prefixCls:wt,suffix:kt});return ln&&(Fe.size=ln),E.createElement(Pe.Z,Object.assign({ref:(0,ue.sQ)(ae,Ne)},Fe))}),Qt=re(47472),Mt=re(22703),me=re(7939),He=re(70045),Qe=function(vt,ae){var te={};for(var ee in vt)Object.prototype.hasOwnProperty.call(vt,ee)&&ae.indexOf(ee)<0&&(te[ee]=vt[ee]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(vt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(vt,ee[oe])&&(te[ee[oe]]=vt[ee[oe]]);return te},Lt=E.forwardRef((vt,ae)=>{const{prefixCls:te,inputPrefixCls:ee,className:oe,size:se,suffix:ne,enterButton:pe=!1,addonAfter:ye,loading:lt,disabled:Ae,onSearch:Ne,onChange:tt,onCompositionStart:Pt,onCompositionEnd:Ot}=vt,tn=Qe(vt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ut,direction:Wt}=E.useContext(Ye.E_),ln=E.useRef(!1),Dt=Ut("input-search",te),$t=Ut("input",ee),{compactSize:wt}=(0,He.ri)(Dt,Wt),en=(0,rt.Z)(yn=>{var vn;return(vn=se!=null?se:wt)!==null&&vn!==void 0?vn:yn}),kt=E.useRef(null),Me=yn=>{yn!=null&&yn.target&&yn.type==="click"&&Ne&&Ne(yn.target.value,yn,{source:"clear"}),tt==null||tt(yn)},Fe=yn=>{var vn;document.activeElement===((vn=kt.current)===null||vn===void 0?void 0:vn.input)&&yn.preventDefault()},Bt=yn=>{var vn,Xt;Ne&&Ne((Xt=(vn=kt.current)===null||vn===void 0?void 0:vn.input)===null||Xt===void 0?void 0:Xt.value,yn,{source:"input"})},Rt=yn=>{ln.current||lt||Bt(yn)},Oe=typeof pe=="boolean"?E.createElement(Qt.Z,null):null,Ge=`${Dt}-button`;let dt;const It=pe||{},qt=It.type&&It.type.__ANT_BUTTON===!0;qt||It.type==="button"?dt=(0,Mt.Tm)(It,Object.assign({onMouseDown:Fe,onClick:yn=>{var vn,Xt;(Xt=(vn=It==null?void 0:It.props)===null||vn===void 0?void 0:vn.onClick)===null||Xt===void 0||Xt.call(vn,yn),Bt(yn)},key:"enterButton"},qt?{className:Ge,size:en}:{})):dt=E.createElement(me.ZP,{className:Ge,type:pe?"primary":void 0,size:en,disabled:Ae,key:"enterButton",onMouseDown:Fe,onClick:Bt,loading:lt,icon:Oe},pe),ye&&(dt=[dt,(0,Mt.Tm)(ye,{key:"addonAfter"})]);const hn=ve()(Dt,{[`${Dt}-rtl`]:Wt==="rtl",[`${Dt}-${en}`]:!!en,[`${Dt}-with-button`]:!!pe},oe),Dn=Object.assign(Object.assign({},tn),{className:hn,prefixCls:$t,type:"search"}),On=yn=>{ln.current=!0,Pt==null||Pt(yn)},un=yn=>{ln.current=!1,Ot==null||Ot(yn)};return E.createElement(Pe.Z,Object.assign({ref:(0,ue.sQ)(kt,ae),onPressEnter:Rt},Dn,{size:en,onCompositionStart:On,onCompositionEnd:un,addonAfter:dt,suffix:ne,onChange:Me,disabled:Ae}))}),Kt=re(79809);const je=Pe.Z;je.Group=Te,je.Search=Lt,je.TextArea=Kt.Z,je.Password=xt,je.OTP=bt;var Yt=je},24303:function(dn,Jt,re){"use strict";re.d(Jt,{D:function(){return et},Z:function(){return at}});var E=re(59301),$e=re(60499),ve={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ye=ve,Se=re(7657),Ee=function(Be,it){return E.createElement(Se.Z,(0,$e.Z)({},Be,{ref:it,icon:Ye}))},Ie=E.forwardRef(Ee),Te=Ie,Pe=re(33853),he=re(38819),Ze=re(92310),xe=re.n(Ze),At=re(2738),rt=re(48755),ze=re(6989),Ue=re(36237),We=re(48923),Ct=re(16931);const Nt=bt=>{const{componentCls:Be,siderBg:it,motionDurationMid:Je,motionDurationSlow:ue,antCls:mt,triggerHeight:Le,triggerColor:qe,triggerBg:Ht,headerHeight:we,zeroTriggerWidth:de,zeroTriggerHeight:xt,borderRadiusLG:Qt,lightSiderBg:Mt,lightTriggerColor:me,lightTriggerBg:He,bodyBg:Qe}=bt;return{[Be]:{position:"relative",minWidth:0,background:it,transition:`all ${Je}, background 0s`,"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},[`${Be}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${mt}-menu${mt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Be}-children`]:{overflow:"hidden"},[`${Be}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Le,color:qe,lineHeight:(0,Ue.unit)(Le),textAlign:"center",background:Ht,cursor:"pointer",transition:`all ${Je}`},[`${Be}-zero-width-trigger`]:{position:"absolute",top:we,insetInlineEnd:bt.calc(de).mul(-1).equal(),zIndex:1,width:de,height:xt,color:qe,fontSize:bt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:it,borderRadius:`0 ${(0,Ue.unit)(Qt)} ${(0,Ue.unit)(Qt)} 0`,cursor:"pointer",transition:`background ${ue} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ue}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:bt.calc(de).mul(-1).equal(),borderRadius:`${(0,Ue.unit)(Qt)} 0 0 ${(0,Ue.unit)(Qt)}`}},"&-light":{background:Mt,[`${Be}-trigger`]:{color:me,background:He},[`${Be}-zero-width-trigger`]:{color:me,background:He,border:`1px solid ${Qe}`,borderInlineStart:0}}}}};var Ft=(0,Ct.I$)(["Layout","Sider"],bt=>[Nt(bt)],We.eh,{deprecatedTokens:We.jn}),St=function(bt,Be){var it={};for(var Je in bt)Object.prototype.hasOwnProperty.call(bt,Je)&&Be.indexOf(Je)<0&&(it[Je]=bt[Je]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Je=Object.getOwnPropertySymbols(bt);ue<Je.length;ue++)Be.indexOf(Je[ue])<0&&Object.prototype.propertyIsEnumerable.call(bt,Je[ue])&&(it[Je[ue]]=bt[Je[ue]]);return it};const pt={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ct=bt=>!Number.isNaN(Number.parseFloat(bt))&&isFinite(bt),et=E.createContext({}),Tt=(()=>{let bt=0;return function(){let Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return bt+=1,`${Be}${bt}`}})();var at=E.forwardRef((bt,Be)=>{const{prefixCls:it,className:Je,trigger:ue,children:mt,defaultCollapsed:Le=!1,theme:qe="dark",style:Ht={},collapsible:we=!1,reverseArrow:de=!1,width:xt=200,collapsedWidth:Qt=80,zeroWidthTriggerStyle:Mt,breakpoint:me,onCollapse:He,onBreakpoint:Qe}=bt,jt=St(bt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Lt}=(0,E.useContext)(ze.V),[Kt,je]=(0,E.useState)("collapsed"in bt?bt.collapsed:Le),[Yt,vt]=(0,E.useState)(!1);(0,E.useEffect)(()=>{"collapsed"in bt&&je(bt.collapsed)},[bt.collapsed]);const ae=(en,kt)=>{"collapsed"in bt||je(en),He==null||He(en,kt)},{getPrefixCls:te,direction:ee}=(0,E.useContext)(rt.E_),oe=te("layout-sider",it),[se,ne,pe]=Ft(oe),ye=(0,E.useRef)(null);ye.current=en=>{vt(en.matches),Qe==null||Qe(en.matches),Kt!==en.matches&&ae(en.matches,"responsive")},(0,E.useEffect)(()=>{function en(Me){return ye.current(Me)}let kt;if(typeof window!="undefined"){const{matchMedia:Me}=window;if(Me&&me&&me in pt){kt=Me(`screen and (max-width: ${pt[me]})`);try{kt.addEventListener("change",en)}catch(Fe){kt.addListener(en)}en(kt)}}return()=>{try{kt==null||kt.removeEventListener("change",en)}catch(Me){kt==null||kt.removeListener(en)}}},[me]),(0,E.useEffect)(()=>{const en=Tt("ant-sider-");return Lt.addSider(en),()=>Lt.removeSider(en)},[]);const lt=()=>{ae(!Kt,"clickTrigger")},Ae=(0,At.Z)(jt,["collapsed"]),Ne=Kt?Qt:xt,tt=ct(Ne)?`${Ne}px`:String(Ne),Pt=parseFloat(String(Qt||0))===0?E.createElement("span",{onClick:lt,className:xe()(`${oe}-zero-width-trigger`,`${oe}-zero-width-trigger-${de?"right":"left"}`),style:Mt},ue||E.createElement(Te,null)):null,Ot=ee==="rtl"==!de,Wt={expanded:Ot?E.createElement(he.Z,null):E.createElement(Pe.Z,null),collapsed:Ot?E.createElement(Pe.Z,null):E.createElement(he.Z,null)}[Kt?"collapsed":"expanded"],ln=ue!==null?Pt||E.createElement("div",{className:`${oe}-trigger`,onClick:lt,style:{width:tt}},ue||Wt):null,Dt=Object.assign(Object.assign({},Ht),{flex:`0 0 ${tt}`,maxWidth:tt,minWidth:tt,width:tt}),$t=xe()(oe,`${oe}-${qe}`,{[`${oe}-collapsed`]:!!Kt,[`${oe}-has-trigger`]:we&&ue!==null&&!Pt,[`${oe}-below`]:!!Yt,[`${oe}-zero-width`]:parseFloat(tt)===0},Je,ne,pe),wt=E.useMemo(()=>({siderCollapsed:Kt}),[Kt]);return se(E.createElement(et.Provider,{value:wt},E.createElement("aside",Object.assign({className:$t},Ae,{style:Dt,ref:Be}),E.createElement("div",{className:`${oe}-children`},mt),we||Yt&&Pt?ln:null)))})},6989:function(dn,Jt,re){"use strict";re.d(Jt,{V:function(){return $e}});var E=re(59301);const $e=E.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(dn,Jt,re){"use strict";re.d(Jt,{eh:function(){return Ye},jn:function(){return Se}});var E=re(36237),$e=re(16931);const ve=Ee=>{const{antCls:Ie,componentCls:Te,colorText:Pe,footerBg:he,headerHeight:Ze,headerPadding:xe,headerColor:At,footerPadding:rt,fontSize:ze,bodyBg:Ue,headerBg:We}=Ee;return{[Te]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ue,"&, *":{boxSizing:"border-box"},[`&${Te}-has-sider`]:{flexDirection:"row",[`> ${Te}, > ${Te}-content`]:{width:0}},[`${Te}-header, &${Te}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Te}-header`]:{height:Ze,padding:xe,color:At,lineHeight:(0,E.unit)(Ze),background:We,[`${Ie}-menu`]:{lineHeight:"inherit"}},[`${Te}-footer`]:{padding:rt,color:Pe,fontSize:ze,background:he},[`${Te}-content`]:{flex:"auto",color:Pe,minHeight:0}}},Ye=Ee=>{const{colorBgLayout:Ie,controlHeight:Te,controlHeightLG:Pe,colorText:he,controlHeightSM:Ze,marginXXS:xe,colorTextLightSolid:At,colorBgContainer:rt}=Ee,ze=Pe*1.25;return{colorBgHeader:"#001529",colorBgBody:Ie,colorBgTrigger:"#002140",bodyBg:Ie,headerBg:"#001529",headerHeight:Te*2,headerPadding:`0 ${ze}px`,headerColor:he,footerPadding:`${Ze}px ${ze}px`,footerBg:Ie,siderBg:"#001529",triggerHeight:Pe+xe*2,triggerBg:"#002140",triggerColor:At,zeroTriggerWidth:Pe,zeroTriggerHeight:Pe,lightSiderBg:rt,lightTriggerBg:rt,lightTriggerColor:he}},Se=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Jt.ZP=(0,$e.I$)("Layout",Ee=>[ve(Ee)],Ye,{deprecatedTokens:Se})},78857:function(dn,Jt,re){"use strict";re.d(Jt,{J:function(){return Ee}});var E=re(59301),$e=re(8654),ve=re(62487),Ye=function(Ie,Te){var Pe={};for(var he in Ie)Object.prototype.hasOwnProperty.call(Ie,he)&&Te.indexOf(he)<0&&(Pe[he]=Ie[he]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,he=Object.getOwnPropertySymbols(Ie);Ze<he.length;Ze++)Te.indexOf(he[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Ie,he[Ze])&&(Pe[he[Ze]]=Ie[he[Ze]]);return Pe};const Se=E.createContext(null),Ee=E.forwardRef((Ie,Te)=>{const{children:Pe}=Ie,he=Ye(Ie,["children"]),Ze=E.useContext(Se),xe=E.useMemo(()=>Object.assign(Object.assign({},Ze),he),[Ze,he.prefixCls,he.mode,he.selectable,he.rootClassName]),At=(0,$e.t4)(Pe),rt=(0,$e.x1)(Te,At?(0,$e.C4)(Pe):null);return E.createElement(Se.Provider,{value:xe},E.createElement(ve.Z,{space:!0},At?E.cloneElement(Pe,{ref:rt}):Pe))});Jt.Z=Se},93041:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return se}});var E=re(59301),$e=re(28321),ve=re(24303),Ye=re(18785),Se=re(92310),Ee=re.n(Se),Ie=re(6089),Te=re(2738),Pe=re(86641),he=re(22703),Ze=re(48755),xe=re(83397),rt=(0,E.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ze=function(ne,pe){var ye={};for(var lt in ne)Object.prototype.hasOwnProperty.call(ne,lt)&&pe.indexOf(lt)<0&&(ye[lt]=ne[lt]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,lt=Object.getOwnPropertySymbols(ne);Ae<lt.length;Ae++)pe.indexOf(lt[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ne,lt[Ae])&&(ye[lt[Ae]]=ne[lt[Ae]]);return ye},We=ne=>{const{prefixCls:pe,className:ye,dashed:lt}=ne,Ae=ze(ne,["prefixCls","className","dashed"]),{getPrefixCls:Ne}=E.useContext(Ze.E_),tt=Ne("menu",pe),Pt=Ee()({[`${tt}-item-divider-dashed`]:!!lt},ye);return E.createElement($e.iz,Object.assign({className:Pt},Ae))},Ct=re(11592),Nt=re(25399),St=ne=>{var pe;const{className:ye,children:lt,icon:Ae,title:Ne,danger:tt,extra:Pt}=ne,{prefixCls:Ot,firstLevel:tn,direction:Ut,disableMenuItemTitleTooltip:Wt,inlineCollapsed:ln}=E.useContext(rt),Dt=Fe=>{const Bt=lt==null?void 0:lt[0],Rt=E.createElement("span",{className:Ee()(`${Ot}-title-content`,{[`${Ot}-title-content-with-extra`]:!!Pt||Pt===0})},lt);return(!Ae||E.isValidElement(lt)&&lt.type==="span")&&lt&&Fe&&tn&&typeof Bt=="string"?E.createElement("div",{className:`${Ot}-inline-collapsed-noicon`},Bt.charAt(0)):Rt},{siderCollapsed:$t}=E.useContext(ve.D);let wt=Ne;typeof Ne=="undefined"?wt=tn?lt:"":Ne===!1&&(wt="");const en={title:wt};!$t&&!ln&&(en.title=null,en.open=!1);const kt=(0,Ct.Z)(lt).length;let Me=E.createElement($e.ck,Object.assign({},(0,Te.Z)(ne,["title","icon","danger"]),{className:Ee()({[`${Ot}-item-danger`]:tt,[`${Ot}-item-only-child`]:(Ae?kt+1:kt)===1},ye),title:typeof Ne=="string"?Ne:void 0}),(0,he.Tm)(Ae,{className:Ee()(E.isValidElement(Ae)?(pe=Ae.props)===null||pe===void 0?void 0:pe.className:"",`${Ot}-item-icon`)}),Dt(ln));return Wt||(Me=E.createElement(Nt.Z,Object.assign({},en,{placement:Ut==="rtl"?"left":"right",classNames:{root:`${Ot}-inline-collapsed-tooltip`}}),Me)),Me},pt=re(78857),ct=re(36237),et=re(17835),Tt=re(63356),st=re(34961),at=re(46e3),bt=re(34925),Be=re(16931),it=re(51636),ue=ne=>{const{componentCls:pe,motionDurationSlow:ye,horizontalLineHeight:lt,colorSplit:Ae,lineWidth:Ne,lineType:tt,itemPaddingInline:Pt}=ne;return{[`${pe}-horizontal`]:{lineHeight:lt,border:0,borderBottom:`${(0,ct.unit)(Ne)} ${tt} ${Ae}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Pt},[`> ${pe}-item:hover,
> ${pe}-item-active,
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},Le=ne=>{let{componentCls:pe,menuArrowOffset:ye,calc:lt}=ne;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,ct.unit)(lt(ye).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,ct.unit)(ye)})`}}}}};const qe=ne=>Object.assign({},(0,Tt.oN)(ne));var we=(ne,pe)=>{const{componentCls:ye,itemColor:lt,itemSelectedColor:Ae,subMenuItemSelectedColor:Ne,groupTitleColor:tt,itemBg:Pt,subMenuItemBg:Ot,itemSelectedBg:tn,activeBarHeight:Ut,activeBarWidth:Wt,activeBarBorderWidth:ln,motionDurationSlow:Dt,motionEaseInOut:$t,motionEaseOut:wt,itemPaddingInline:en,motionDurationMid:kt,itemHoverColor:Me,lineType:Fe,colorSplit:Bt,itemDisabledColor:Rt,dangerItemColor:Oe,dangerItemHoverColor:Ge,dangerItemSelectedColor:dt,dangerItemActiveBg:It,dangerItemSelectedBg:qt,popupBg:hn,itemHoverBg:Dn,itemActiveBg:On,menuSubMenuBg:un,horizontalItemSelectedColor:yn,horizontalItemSelectedBg:vn,horizontalItemBorderRadius:Xt,horizontalItemHoverBg:Zt}=ne;return{[`${ye}-${pe}, ${ye}-${pe} > ${ye}`]:{color:lt,background:Pt,[`&${ye}-root:focus-visible`]:Object.assign({},qe(ne)),[`${ye}-item`]:{"&-group-title, &-extra":{color:tt}},[`${ye}-submenu-selected > ${ye}-submenu-title`]:{color:Ne},[`${ye}-item, ${ye}-submenu-title`]:{color:lt,[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},qe(ne))},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${Rt} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:Me}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:On}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:On}}},[`${ye}-item-danger`]:{color:Oe,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:Ge}},[`&${ye}-item:active`]:{background:It}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:Ae,[`&${ye}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:tn,[`&${ye}-item-danger`]:{backgroundColor:qt}},[`&${ye}-submenu > ${ye}`]:{backgroundColor:un},[`&${ye}-popup > ${ye}`]:{backgroundColor:hn},[`&${ye}-submenu-popup > ${ye}`]:{backgroundColor:hn},[`&${ye}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:ln,marginTop:ne.calc(ln).mul(-1).equal(),marginBottom:0,borderRadius:Xt,"&::after":{position:"absolute",insetInline:en,bottom:0,borderBottom:`${(0,ct.unit)(Ut)} solid transparent`,transition:`border-color ${Dt} ${$t}`,content:'""'},"&:hover, &-active, &-open":{background:Zt,"&::after":{borderBottomWidth:Ut,borderBottomColor:yn}},"&-selected":{color:yn,backgroundColor:vn,"&:hover":{backgroundColor:vn},"&::after":{borderBottomWidth:Ut,borderBottomColor:yn}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${(0,ct.unit)(ln)} ${Fe} ${Bt}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:Ot},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,ct.unit)(Wt)} solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${kt} ${wt}`,`opacity ${kt} ${wt}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${kt} ${$t}`,`opacity ${kt} ${$t}`].join(",")}}}}}};const de=ne=>{const{componentCls:pe,itemHeight:ye,itemMarginInline:lt,padding:Ae,menuArrowSize:Ne,marginXS:tt,itemMarginBlock:Pt,itemWidth:Ot,itemPaddingInline:tn}=ne,Ut=ne.calc(Ne).add(Ae).add(tt).equal();return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:ye,lineHeight:(0,ct.unit)(ye),paddingInline:tn,overflow:"hidden",textOverflow:"ellipsis",marginInline:lt,marginBlock:Pt,width:Ot},[`> ${pe}-item,
> ${pe}-submenu > ${pe}-submenu-title`]:{height:ye,lineHeight:(0,ct.unit)(ye)},[`${pe}-item-group-list ${pe}-submenu-title,
${pe}-submenu-title`]:{paddingInlineEnd:Ut}}};var Qt=ne=>{const{componentCls:pe,iconCls:ye,itemHeight:lt,colorTextLightSolid:Ae,dropdownWidth:Ne,controlHeightLG:tt,motionEaseOut:Pt,paddingXL:Ot,itemMarginInline:tn,fontSizeLG:Ut,motionDurationFast:Wt,motionDurationSlow:ln,paddingXS:Dt,boxShadowSecondary:$t,collapsedWidth:wt,collapsedIconSize:en}=ne,kt={height:lt,lineHeight:(0,ct.unit)(lt),listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},de(ne))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},de(ne)),{boxShadow:$t})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:Ne,maxHeight:`calc(100vh - ${(0,ct.unit)(ne.calc(tt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ln}`,`background ${ln}`,`padding ${Wt} ${Pt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:kt,[`& ${pe}-item-group-title`]:{paddingInlineStart:Ot}},[`${pe}-item`]:kt}},{[`${pe}-inline-collapsed`]:{width:wt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:Ut,textAlign:"center"}}},[`> ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,ct.unit)(ne.calc(en).div(2).equal())} - ${(0,ct.unit)(tn)})`,textOverflow:"clip",[`
${pe}-submenu-arrow,
${pe}-submenu-expand-icon
`]:{opacity:0},[`${pe}-item-icon, ${ye}`]:{margin:0,fontSize:en,lineHeight:(0,ct.unit)(lt),"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:Ae}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},Tt.vS),{paddingInline:Dt})}}]};const Mt=ne=>{const{componentCls:pe,motionDurationSlow:ye,motionDurationMid:lt,motionEaseInOut:Ae,motionEaseOut:Ne,iconCls:tt,iconSize:Pt,iconMarginInlineEnd:Ot}=ne;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding calc(${ye} + 0.1s) ${Ae}`].join(","),[`${pe}-item-icon, ${tt}`]:{minWidth:Pt,fontSize:Pt,transition:[`font-size ${lt} ${Ne}`,`margin ${ye} ${Ae}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:Ot,opacity:1,transition:[`opacity ${ye} ${Ae}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,Tt.Ro)()),[`&${pe}-item-only-child`]:{[`> ${tt}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},me=ne=>{const{componentCls:pe,motionDurationSlow:ye,motionEaseInOut:lt,borderRadius:Ae,menuArrowSize:Ne,menuArrowOffset:tt}=ne;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ne.margin,width:Ne,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${lt}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ne.calc(Ne).mul(.6).equal(),height:ne.calc(Ne).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ae,transition:[`background ${ye} ${lt}`,`transform ${ye} ${lt}`,`top ${ye} ${lt}`,`color ${ye} ${lt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,ct.unit)(ne.calc(tt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,ct.unit)(tt)})`}}}}},He=ne=>{const{antCls:pe,componentCls:ye,fontSize:lt,motionDurationSlow:Ae,motionDurationMid:Ne,motionEaseInOut:tt,paddingXS:Pt,padding:Ot,colorSplit:tn,lineWidth:Ut,zIndexPopup:Wt,borderRadiusLG:ln,subMenuItemBorderRadius:Dt,menuArrowSize:$t,menuArrowOffset:wt,lineType:en,groupTitleLineHeight:kt,groupTitleFontSize:Me}=ne;return[{"":{[ye]:Object.assign(Object.assign({},(0,Tt.dF)()),{"&-hidden":{display:"none"}})},[`${ye}-submenu-hidden`]:{display:"none"}},{[ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(ne)),(0,Tt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:lt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ae} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ye}-item`]:{flex:"none"}},[`${ye}-item, ${ye}-submenu, ${ye}-submenu-title`]:{borderRadius:ne.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${(0,ct.unit)(Pt)} ${(0,ct.unit)(Ot)}`,fontSize:Me,lineHeight:kt,transition:`all ${Ae}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${Ae} ${tt}`,`background ${Ae} ${tt}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${Ae} ${tt}`,`background ${Ae} ${tt}`,`padding ${Ne} ${tt}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${Ae} ${tt}`,`padding ${Ae} ${tt}`].join(",")},[`${ye}-title-content`]:{transition:`color ${Ae}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${pe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ye}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ne.padding}},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:tn,borderStyle:en,borderWidth:0,borderTopWidth:Ut,marginBlock:Ut,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Mt(ne)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${(0,ct.unit)(ne.calc(lt).mul(2).equal())} ${(0,ct.unit)(Ot)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Wt,borderRadius:ln,boxShadow:"none",transformOrigin:"0 0",[`&${ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:ln},Mt(ne)),me(ne)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:Dt},[`${ye}-submenu-title::after`]:{transition:`transform ${Ae} ${tt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ne.paddingXS}}}),me(ne)),{[`&-inline-collapsed ${ye}-submenu-arrow,
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,ct.unit)(wt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,ct.unit)(ne.calc(wt).mul(-1).equal())})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(${(0,ct.unit)(ne.calc($t).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,ct.unit)(ne.calc(wt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,ct.unit)(wt)})`}}})},{[`${pe}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]},Qe=ne=>{var pe,ye,lt;const{colorPrimary:Ae,colorError:Ne,colorTextDisabled:tt,colorErrorBg:Pt,colorText:Ot,colorTextDescription:tn,colorBgContainer:Ut,colorFillAlter:Wt,colorFillContent:ln,lineWidth:Dt,lineWidthBold:$t,controlItemBgActive:wt,colorBgTextHover:en,controlHeightLG:kt,lineHeight:Me,colorBgElevated:Fe,marginXXS:Bt,padding:Rt,fontSize:Oe,controlHeightSM:Ge,fontSizeLG:dt,colorTextLightSolid:It,colorErrorHover:qt}=ne,hn=(pe=ne.activeBarWidth)!==null&&pe!==void 0?pe:0,Dn=(ye=ne.activeBarBorderWidth)!==null&&ye!==void 0?ye:Dt,On=(lt=ne.itemMarginInline)!==null&&lt!==void 0?lt:ne.marginXXS,un=new et.FastColor(It).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ne.zIndexPopupBase+50,radiusItem:ne.borderRadiusLG,itemBorderRadius:ne.borderRadiusLG,radiusSubMenuItem:ne.borderRadiusSM,subMenuItemBorderRadius:ne.borderRadiusSM,colorItemText:Ot,itemColor:Ot,colorItemTextHover:Ot,itemHoverColor:Ot,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:tn,groupTitleColor:tn,colorItemTextSelected:Ae,itemSelectedColor:Ae,subMenuItemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:Ut,itemBg:Ut,colorItemBgHover:en,itemHoverBg:en,colorItemBgActive:ln,itemActiveBg:wt,colorSubItemBg:Wt,subMenuItemBg:Wt,colorItemBgSelected:wt,itemSelectedBg:wt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:hn,colorActiveBarHeight:$t,activeBarHeight:$t,colorActiveBarBorderSize:Dt,activeBarBorderWidth:Dn,colorItemTextDisabled:tt,itemDisabledColor:tt,colorDangerItemText:Ne,dangerItemColor:Ne,colorDangerItemTextHover:Ne,dangerItemHoverColor:Ne,colorDangerItemTextSelected:Ne,dangerItemSelectedColor:Ne,colorDangerItemBgActive:Pt,dangerItemActiveBg:Pt,colorDangerItemBgSelected:Pt,dangerItemSelectedBg:Pt,itemMarginInline:On,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:kt,groupTitleLineHeight:Me,collapsedWidth:kt*2,popupBg:Fe,itemMarginBlock:Bt,itemPaddingInline:Rt,horizontalLineHeight:`${kt*1.15}px`,iconSize:Oe,iconMarginInlineEnd:Ge-Oe,collapsedIconSize:dt,groupTitleFontSize:Oe,darkItemDisabledColor:new et.FastColor(It).setA(.25).toRgbString(),darkItemColor:un,darkDangerItemColor:Ne,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:It,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:Ne,darkItemHoverBg:"transparent",darkGroupTitleColor:un,darkItemHoverColor:It,darkDangerItemHoverColor:qt,darkDangerItemSelectedColor:It,darkDangerItemActiveBg:Ne,itemWidth:hn?`calc(100% + ${Dn}px)`:`calc(100% - ${On*2}px)`}};var jt=function(ne){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Be.I$)("Menu",Ae=>{const{colorBgElevated:Ne,controlHeightLG:tt,fontSize:Pt,darkItemColor:Ot,darkDangerItemColor:tn,darkItemBg:Ut,darkSubMenuItemBg:Wt,darkItemSelectedColor:ln,darkItemSelectedBg:Dt,darkDangerItemSelectedBg:$t,darkItemHoverBg:wt,darkGroupTitleColor:en,darkItemHoverColor:kt,darkItemDisabledColor:Me,darkDangerItemHoverColor:Fe,darkDangerItemSelectedColor:Bt,darkDangerItemActiveBg:Rt,popupBg:Oe,darkPopupBg:Ge}=Ae,dt=Ae.calc(Pt).div(7).mul(5).equal(),It=(0,it.mergeToken)(Ae,{menuArrowSize:dt,menuHorizontalHeight:Ae.calc(tt).mul(1.15).equal(),menuArrowOffset:Ae.calc(dt).mul(.25).equal(),menuSubMenuBg:Ne,calc:Ae.calc,popupBg:Oe}),qt=(0,it.mergeToken)(It,{itemColor:Ot,itemHoverColor:kt,groupTitleColor:en,itemSelectedColor:ln,subMenuItemSelectedColor:ln,itemBg:Ut,popupBg:Ge,subMenuItemBg:Wt,itemActiveBg:"transparent",itemSelectedBg:Dt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:wt,itemDisabledColor:Me,dangerItemColor:tn,dangerItemHoverColor:Fe,dangerItemSelectedColor:Bt,dangerItemActiveBg:Rt,dangerItemSelectedBg:$t,menuSubMenuBg:Wt,horizontalItemSelectedColor:ln,horizontalItemSelectedBg:Dt});return[He(It),ue(It),Qt(It),we(It,"light"),we(qt,"dark"),Le(It),(0,st.Z)(It),(0,at.oN)(It,"slide-up"),(0,at.oN)(It,"slide-down"),(0,bt._y)(It,"zoom-big")]},Qe,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:ye,unitless:{groupTitleLineHeight:!0}})(ne,pe)},Lt=re(75030),je=ne=>{var pe;const{popupClassName:ye,icon:lt,title:Ae,theme:Ne}=ne,tt=E.useContext(rt),{prefixCls:Pt,inlineCollapsed:Ot,theme:tn}=tt,Ut=(0,$e.Xl)();let Wt;if(!lt)Wt=Ot&&!Ut.length&&Ae&&typeof Ae=="string"?E.createElement("div",{className:`${Pt}-inline-collapsed-noicon`},Ae.charAt(0)):E.createElement("span",{className:`${Pt}-title-content`},Ae);else{const $t=E.isValidElement(Ae)&&Ae.type==="span";Wt=E.createElement(E.Fragment,null,(0,he.Tm)(lt,{className:Ee()(E.isValidElement(lt)?(pe=lt.props)===null||pe===void 0?void 0:pe.className:"",`${Pt}-item-icon`)}),$t?Ae:E.createElement("span",{className:`${Pt}-title-content`},Ae))}const ln=E.useMemo(()=>Object.assign(Object.assign({},tt),{firstLevel:!1}),[tt]),[Dt]=(0,Lt.Cn)("Menu");return E.createElement(rt.Provider,{value:ln},E.createElement($e.Wd,Object.assign({},(0,Te.Z)(ne,["icon"]),{title:Wt,popupClassName:Ee()(Pt,ye,`${Pt}-${Ne||tn}`),popupStyle:Object.assign({zIndex:Dt},ne.popupStyle)})))},Yt=function(ne,pe){var ye={};for(var lt in ne)Object.prototype.hasOwnProperty.call(ne,lt)&&pe.indexOf(lt)<0&&(ye[lt]=ne[lt]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,lt=Object.getOwnPropertySymbols(ne);Ae<lt.length;Ae++)pe.indexOf(lt[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ne,lt[Ae])&&(ye[lt[Ae]]=ne[lt[Ae]]);return ye};function vt(ne){return ne===null||ne===!1}const ae={item:St,submenu:je,divider:We};var ee=(0,E.forwardRef)((ne,pe)=>{var ye;const lt=E.useContext(pt.Z),Ae=lt||{},{getPrefixCls:Ne,getPopupContainer:tt,direction:Pt,menu:Ot}=E.useContext(Ze.E_),tn=Ne(),{prefixCls:Ut,className:Wt,style:ln,theme:Dt="light",expandIcon:$t,_internalDisableMenuItemTitleTooltip:wt,inlineCollapsed:en,siderCollapsed:kt,rootClassName:Me,mode:Fe,selectable:Bt,onClick:Rt,overflowedIndicatorPopupClassName:Oe}=ne,Ge=Yt(ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dt=(0,Te.Z)(Ge,["collapsedWidth"]);(ye=Ae.validator)===null||ye===void 0||ye.call(Ae,{mode:Fe});const It=(0,Ie.Z)(function(){var an;Rt==null||Rt.apply(void 0,arguments),(an=Ae.onClick)===null||an===void 0||an.call(Ae)}),qt=Ae.mode||Fe,hn=Bt!=null?Bt:Ae.selectable,Dn=en!=null?en:kt,On={horizontal:{motionName:`${tn}-slide-up`},inline:(0,Pe.Z)(tn),other:{motionName:`${tn}-zoom-big`}},un=Ne("menu",Ut||Ae.prefixCls),yn=(0,xe.Z)(un),[vn,Xt,Zt]=jt(un,yn,!lt),Vt=Ee()(`${un}-${Dt}`,Ot==null?void 0:Ot.className,Wt),Et=E.useMemo(()=>{var an,rn;if(typeof $t=="function"||vt($t))return $t||null;if(typeof Ae.expandIcon=="function"||vt(Ae.expandIcon))return Ae.expandIcon||null;if(typeof(Ot==null?void 0:Ot.expandIcon)=="function"||vt(Ot==null?void 0:Ot.expandIcon))return(Ot==null?void 0:Ot.expandIcon)||null;const En=(an=$t!=null?$t:Ae==null?void 0:Ae.expandIcon)!==null&&an!==void 0?an:Ot==null?void 0:Ot.expandIcon;return(0,he.Tm)(En,{className:Ee()(`${un}-submenu-expand-icon`,E.isValidElement(En)?(rn=En.props)===null||rn===void 0?void 0:rn.className:void 0)})},[$t,Ae==null?void 0:Ae.expandIcon,Ot==null?void 0:Ot.expandIcon,un]),on=E.useMemo(()=>({prefixCls:un,inlineCollapsed:Dn||!1,direction:Pt,firstLevel:!0,theme:Dt,mode:qt,disableMenuItemTitleTooltip:wt}),[un,Dn,Pt,wt,Dt]);return vn(E.createElement(pt.Z.Provider,{value:null},E.createElement(rt.Provider,{value:on},E.createElement($e.ZP,Object.assign({getPopupContainer:tt,overflowedIndicator:E.createElement(Ye.Z,null),overflowedIndicatorPopupClassName:Ee()(un,`${un}-${Dt}`,Oe),mode:qt,selectable:hn,onClick:It},dt,{inlineCollapsed:Dn,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),ln),className:Vt,prefixCls:un,direction:Pt,defaultMotions:On,expandIcon:Et,ref:pe,rootClassName:Ee()(Me,Xt,Ae.rootClassName,Zt,yn),_internalComponents:ae})))))});const oe=(0,E.forwardRef)((ne,pe)=>{const ye=(0,E.useRef)(null),lt=E.useContext(ve.D);return(0,E.useImperativeHandle)(pe,()=>({menu:ye.current,focus:Ae=>{var Ne;(Ne=ye.current)===null||Ne===void 0||Ne.focus(Ae)}})),E.createElement(ee,Object.assign({ref:ye},ne,lt))});oe.Item=St,oe.SubMenu=je,oe.Divider=We,oe.ItemGroup=$e.BW;var se=oe},89787:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return kt}});var E=re(59301),$e=re(17835),ve=re(29679),Ye=re(40001),Se=re(19248),Ee=re(99267),Ie=re(92310),Te=re.n(Ie),Pe=re(2738),he=re(48755),Ze=re(60499),xe=re(85899),At=re(42244),rt={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ze=function(){var Fe=(0,E.useRef)([]),Bt=(0,E.useRef)(null);return(0,E.useEffect)(function(){var Rt=Date.now(),Oe=!1;Fe.current.forEach(function(Ge){if(Ge){Oe=!0;var dt=Ge.style;dt.transitionDuration=".3s, .3s, .3s, .06s",Bt.current&&Rt-Bt.current<100&&(dt.transitionDuration="0s, 0s")}}),Oe&&(Bt.current=Date.now())}),Fe.current},Ue=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],We=function(Fe){var Bt=(0,xe.Z)((0,xe.Z)({},rt),Fe),Rt=Bt.className,Oe=Bt.percent,Ge=Bt.prefixCls,dt=Bt.strokeColor,It=Bt.strokeLinecap,qt=Bt.strokeWidth,hn=Bt.style,Dn=Bt.trailColor,On=Bt.trailWidth,un=Bt.transition,yn=(0,At.Z)(Bt,Ue);delete yn.gapPosition;var vn=Array.isArray(Oe)?Oe:[Oe],Xt=Array.isArray(dt)?dt:[dt],Zt=ze(),Vt=qt/2,Et=100-qt/2,on="M ".concat(It==="round"?Vt:0,",").concat(Vt,`
L `).concat(It==="round"?Et:100,",").concat(Vt),an="0 0 100 ".concat(qt),rn=0;return E.createElement("svg",(0,Ze.Z)({className:Te()("".concat(Ge,"-line"),Rt),viewBox:an,preserveAspectRatio:"none",style:hn},yn),E.createElement("path",{className:"".concat(Ge,"-line-trail"),d:on,strokeLinecap:It,stroke:Dn,strokeWidth:On||qt,fillOpacity:"0"}),vn.map(function(En,Mn){var An=1;switch(It){case"round":An=1-qt/100;break;case"square":An=1-qt/2/100;break;default:An=1;break}var Fn={strokeDasharray:"".concat(En*An,"px, 100px"),strokeDashoffset:"-".concat(rn,"px"),transition:un||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},In=Xt[Mn]||Xt[Xt.length-1];return rn+=En,E.createElement("path",{key:Mn,className:"".concat(Ge,"-line-path"),d:on,strokeLinecap:It,stroke:In,strokeWidth:qt,fillOpacity:"0",ref:function(Vn){Zt[Mn]=Vn},style:Fn})}))},Ct=We,Nt=re(43749),Ft=re(72190),St=re(47273),pt=0,ct=(0,St.Z)();function et(){var Me;return ct?(Me=pt,pt+=1):Me="TEST_OR_SSR",Me}var Tt=function(Me){var Fe=E.useState(),Bt=(0,Ft.Z)(Fe,2),Rt=Bt[0],Oe=Bt[1];return E.useEffect(function(){Oe("rc_progress_".concat(et()))},[]),Me||Rt},st=function(Fe){var Bt=Fe.bg,Rt=Fe.children;return E.createElement("div",{style:{width:"100%",height:"100%",background:Bt}},Rt)};function at(Me,Fe){return Object.keys(Me).map(function(Bt){var Rt=parseFloat(Bt),Oe="".concat(Math.floor(Rt*Fe),"%");return"".concat(Me[Bt]," ").concat(Oe)})}var bt=E.forwardRef(function(Me,Fe){var Bt=Me.prefixCls,Rt=Me.color,Oe=Me.gradientId,Ge=Me.radius,dt=Me.style,It=Me.ptg,qt=Me.strokeLinecap,hn=Me.strokeWidth,Dn=Me.size,On=Me.gapDegree,un=Rt&&(0,Nt.Z)(Rt)==="object",yn=un?"#FFF":void 0,vn=Dn/2,Xt=E.createElement("circle",{className:"".concat(Bt,"-circle-path"),r:Ge,cx:vn,cy:vn,stroke:yn,strokeLinecap:qt,strokeWidth:hn,opacity:It===0?0:1,style:dt,ref:Fe});if(!un)return Xt;var Zt="".concat(Oe,"-conic"),Vt=On?"".concat(180+On/2,"deg"):"0deg",Et=at(Rt,(360-On)/360),on=at(Rt,1),an="conic-gradient(from ".concat(Vt,", ").concat(Et.join(", "),")"),rn="linear-gradient(to ".concat(On?"bottom":"top",", ").concat(on.join(", "),")");return E.createElement(E.Fragment,null,E.createElement("mask",{id:Zt},Xt),E.createElement("foreignObject",{x:0,y:0,width:Dn,height:Dn,mask:"url(#".concat(Zt,")")},E.createElement(st,{bg:rn},E.createElement(st,{bg:an}))))}),Be=bt,it=100,Je=function(Fe,Bt,Rt,Oe,Ge,dt,It,qt,hn,Dn){var On=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,un=Rt/100*360*((360-dt)/360),yn=dt===0?0:{bottom:0,top:180,left:90,right:-90}[It],vn=(100-Oe)/100*Bt;hn==="round"&&Oe!==100&&(vn+=Dn/2,vn>=Bt&&(vn=Bt-.01));var Xt=it/2;return{stroke:typeof qt=="string"?qt:void 0,strokeDasharray:"".concat(Bt,"px ").concat(Fe),strokeDashoffset:vn+On,transform:"rotate(".concat(Ge+un+yn,"deg)"),transformOrigin:"".concat(Xt,"px ").concat(Xt,"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}},ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function mt(Me){var Fe=Me!=null?Me:[];return Array.isArray(Fe)?Fe:[Fe]}var Le=function(Fe){var Bt=(0,xe.Z)((0,xe.Z)({},rt),Fe),Rt=Bt.id,Oe=Bt.prefixCls,Ge=Bt.steps,dt=Bt.strokeWidth,It=Bt.trailWidth,qt=Bt.gapDegree,hn=qt===void 0?0:qt,Dn=Bt.gapPosition,On=Bt.trailColor,un=Bt.strokeLinecap,yn=Bt.style,vn=Bt.className,Xt=Bt.strokeColor,Zt=Bt.percent,Vt=(0,At.Z)(Bt,ue),Et=it/2,on=Tt(Rt),an="".concat(on,"-gradient"),rn=Et-dt/2,En=Math.PI*2*rn,Mn=hn>0?90+hn/2:-90,An=En*((360-hn)/360),Fn=(0,Nt.Z)(Ge)==="object"?Ge:{count:Ge,gap:2},In=Fn.count,jn=Fn.gap,Vn=mt(Zt),zt=mt(Xt),nn=zt.find(function(De){return De&&(0,Nt.Z)(De)==="object"}),bn=nn&&(0,Nt.Z)(nn)==="object",xn=bn?"butt":un,ke=Je(En,An,0,100,Mn,hn,Dn,On,xn,dt),nt=ze(),Ce=function(){var Ve=0;return Vn.map(function(be,_e){var ft=zt[_e]||zt[zt.length-1],yt=Je(En,An,Ve,be,Mn,hn,Dn,ft,xn,dt);return Ve+=be,E.createElement(Be,{key:_e,color:ft,ptg:be,radius:rn,prefixCls:Oe,gradientId:an,style:yt,strokeLinecap:xn,strokeWidth:dt,gapDegree:hn,ref:function(Xe){nt[_e]=Xe},size:it})}).reverse()},Re=function(){var Ve=Math.round(In*(Vn[0]/100)),be=100/In,_e=0;return new Array(In).fill(null).map(function(ft,yt){var ht=yt<=Ve-1?zt[0]:On,Xe=ht&&(0,Nt.Z)(ht)==="object"?"url(#".concat(an,")"):void 0,Ke=Je(En,An,_e,be,Mn,hn,Dn,ht,"butt",dt,jn);return _e+=(An-Ke.strokeDashoffset+jn)*100/An,E.createElement("circle",{key:yt,className:"".concat(Oe,"-circle-path"),r:rn,cx:Et,cy:Et,stroke:Xe,strokeWidth:dt,opacity:1,style:Ke,ref:function(fn){nt[yt]=fn}})})};return E.createElement("svg",(0,Ze.Z)({className:Te()("".concat(Oe,"-circle"),vn),viewBox:"0 0 ".concat(it," ").concat(it),style:yn,id:Rt,role:"presentation"},Vt),!In&&E.createElement("circle",{className:"".concat(Oe,"-circle-trail"),r:rn,cx:Et,cy:Et,stroke:On,strokeLinecap:xn,strokeWidth:It||dt,style:ke}),In?Re():Ce())},qe=Le,Ht={Line:Ct,Circle:qe},we=re(25399),de=re(68361);function xt(Me){return!Me||Me<0?0:Me>100?100:Me}function Qt(Me){let{success:Fe,successPercent:Bt}=Me,Rt=Bt;return Fe&&"progress"in Fe&&(Rt=Fe.progress),Fe&&"percent"in Fe&&(Rt=Fe.percent),Rt}const Mt=Me=>{let{percent:Fe,success:Bt,successPercent:Rt}=Me;const Oe=xt(Qt({success:Bt,successPercent:Rt}));return[Oe,xt(xt(Fe)-Oe)]},me=Me=>{let{success:Fe={},strokeColor:Bt}=Me;const{strokeColor:Rt}=Fe;return[Rt||de.presetPrimaryColors.green,Bt||null]},He=(Me,Fe,Bt)=>{var Rt,Oe,Ge,dt;let It=-1,qt=-1;if(Fe==="step"){const hn=Bt.steps,Dn=Bt.strokeWidth;typeof Me=="string"||typeof Me=="undefined"?(It=Me==="small"?2:14,qt=Dn!=null?Dn:8):typeof Me=="number"?[It,qt]=[Me,Me]:[It=14,qt=8]=Array.isArray(Me)?Me:[Me.width,Me.height],It*=hn}else if(Fe==="line"){const hn=Bt==null?void 0:Bt.strokeWidth;typeof Me=="string"||typeof Me=="undefined"?qt=hn||(Me==="small"?6:8):typeof Me=="number"?[It,qt]=[Me,Me]:[It=-1,qt=8]=Array.isArray(Me)?Me:[Me.width,Me.height]}else(Fe==="circle"||Fe==="dashboard")&&(typeof Me=="string"||typeof Me=="undefined"?[It,qt]=Me==="small"?[60,60]:[120,120]:typeof Me=="number"?[It,qt]=[Me,Me]:Array.isArray(Me)&&(It=(Oe=(Rt=Me[0])!==null&&Rt!==void 0?Rt:Me[1])!==null&&Oe!==void 0?Oe:120,qt=(dt=(Ge=Me[0])!==null&&Ge!==void 0?Ge:Me[1])!==null&&dt!==void 0?dt:120));return[It,qt]},Qe=3,jt=Me=>Qe/Me*100;var Kt=Me=>{const{prefixCls:Fe,trailColor:Bt=null,strokeLinecap:Rt="round",gapPosition:Oe,gapDegree:Ge,width:dt=120,type:It,children:qt,success:hn,size:Dn=dt,steps:On}=Me,[un,yn]=He(Dn,"circle");let{strokeWidth:vn}=Me;vn===void 0&&(vn=Math.max(jt(un),6));const Xt={width:un,height:yn,fontSize:un*.15+6},Zt=E.useMemo(()=>{if(Ge||Ge===0)return Ge;if(It==="dashboard")return 75},[Ge,It]),Vt=Mt(Me),Et=Oe||It==="dashboard"&&"bottom"||void 0,on=Object.prototype.toString.call(Me.strokeColor)==="[object Object]",an=me({success:hn,strokeColor:Me.strokeColor}),rn=Te()(`${Fe}-inner`,{[`${Fe}-circle-gradient`]:on}),En=E.createElement(qe,{steps:On,percent:On?Vt[1]:Vt,strokeWidth:vn,trailWidth:vn,strokeColor:On?an[1]:an,strokeLinecap:Rt,trailColor:Bt,prefixCls:Fe,gapDegree:Zt,gapPosition:Et}),Mn=un<=20,An=E.createElement("div",{className:rn,style:Xt},En,!Mn&&qt);return Mn?E.createElement(we.Z,{title:qt},An):An},je=re(36237),Yt=re(63356),vt=re(16931),ae=re(51636);const te="--progress-line-stroke-color",ee="--progress-percent",oe=Me=>{const Fe=Me?"100%":"-100%";return new je.Keyframes(`antProgress${Me?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Fe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Fe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=Me=>{const{componentCls:Fe,iconCls:Bt}=Me;return{[Fe]:Object.assign(Object.assign({},(0,Yt.Wf)(Me)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Me.fontSize},[`${Fe}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Fe}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Me.remainingColor,borderRadius:Me.lineBorderRadius},[`${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:Me.defaultColor}},[`${Fe}-success-bg, ${Fe}-bg`]:{position:"relative",background:Me.defaultColor,borderRadius:Me.lineBorderRadius,transition:`all ${Me.motionDurationSlow} ${Me.motionEaseInOutCirc}`},[`${Fe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Fe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Me.marginXXS}},[`${Fe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${te})`]},height:"100%",width:`calc(1 / var(${ee}) * 100%)`,display:"block"},[`&${Fe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Fe}-text-inner`]:{color:Me.colorWhite,[`&${Fe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Fe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Me.colorSuccess},[`${Fe}-text`]:{display:"inline-block",marginInlineStart:Me.marginXS,color:Me.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Bt]:{fontSize:Me.fontSize},[`&${Fe}-text-outer`]:{width:"max-content"},[`&${Fe}-text-outer${Fe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Me.marginXS}},[`${Fe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,je.unit)(Me.paddingXXS)}`,[`&${Fe}-text-start`]:{justifyContent:"start"},[`&${Fe}-text-end`]:{justifyContent:"end"}},[`&${Fe}-status-active`]:{[`${Fe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Me.colorBgContainer,borderRadius:Me.lineBorderRadius,opacity:0,animationName:oe(),animationDuration:Me.progressActiveMotionDuration,animationTimingFunction:Me.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Fe}-rtl${Fe}-status-active`]:{[`${Fe}-bg::before`]:{animationName:oe(!0)}},[`&${Fe}-status-exception`]:{[`${Fe}-bg`]:{backgroundColor:Me.colorError},[`${Fe}-text`]:{color:Me.colorError}},[`&${Fe}-status-exception ${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:Me.colorError}},[`&${Fe}-status-success`]:{[`${Fe}-bg`]:{backgroundColor:Me.colorSuccess},[`${Fe}-text`]:{color:Me.colorSuccess}},[`&${Fe}-status-success ${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:Me.colorSuccess}}})}},ne=Me=>{const{componentCls:Fe,iconCls:Bt}=Me;return{[Fe]:{[`${Fe}-circle-trail`]:{stroke:Me.remainingColor},[`&${Fe}-circle ${Fe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Fe}-circle ${Fe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Me.circleTextColor,fontSize:Me.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Bt]:{fontSize:Me.circleIconFontSize}},[`${Fe}-circle&-status-exception`]:{[`${Fe}-text`]:{color:Me.colorError}},[`${Fe}-circle&-status-success`]:{[`${Fe}-text`]:{color:Me.colorSuccess}}},[`${Fe}-inline-circle`]:{lineHeight:1,[`${Fe}-inner`]:{verticalAlign:"bottom"}}}},pe=Me=>{const{componentCls:Fe}=Me;return{[Fe]:{[`${Fe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Me.progressStepMinWidth,marginInlineEnd:Me.progressStepMarginInlineEnd,backgroundColor:Me.remainingColor,transition:`all ${Me.motionDurationSlow}`,"&-active":{backgroundColor:Me.defaultColor}}}}}},ye=Me=>{const{componentCls:Fe,iconCls:Bt}=Me;return{[Fe]:{[`${Fe}-small&-line, ${Fe}-small&-line ${Fe}-text ${Bt}`]:{fontSize:Me.fontSizeSM}}}},lt=Me=>({circleTextColor:Me.colorText,defaultColor:Me.colorInfo,remainingColor:Me.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Me.fontSize/Me.fontSizeSM}em`});var Ae=(0,vt.I$)("Progress",Me=>{const Fe=Me.calc(Me.marginXXS).div(2).equal(),Bt=(0,ae.mergeToken)(Me,{progressStepMarginInlineEnd:Fe,progressStepMinWidth:Fe,progressActiveMotionDuration:"2.4s"});return[se(Bt),ne(Bt),pe(Bt),ye(Bt)]},lt),Ne=function(Me,Fe){var Bt={};for(var Rt in Me)Object.prototype.hasOwnProperty.call(Me,Rt)&&Fe.indexOf(Rt)<0&&(Bt[Rt]=Me[Rt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Rt=Object.getOwnPropertySymbols(Me);Oe<Rt.length;Oe++)Fe.indexOf(Rt[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Me,Rt[Oe])&&(Bt[Rt[Oe]]=Me[Rt[Oe]]);return Bt};const tt=Me=>{let Fe=[];return Object.keys(Me).forEach(Bt=>{const Rt=parseFloat(Bt.replace(/%/g,""));Number.isNaN(Rt)||Fe.push({key:Rt,value:Me[Bt]})}),Fe=Fe.sort((Bt,Rt)=>Bt.key-Rt.key),Fe.map(Bt=>{let{key:Rt,value:Oe}=Bt;return`${Oe} ${Rt}%`}).join(", ")},Pt=(Me,Fe)=>{const{from:Bt=de.presetPrimaryColors.blue,to:Rt=de.presetPrimaryColors.blue,direction:Oe=Fe==="rtl"?"to left":"to right"}=Me,Ge=Ne(Me,["from","to","direction"]);if(Object.keys(Ge).length!==0){const It=tt(Ge),qt=`linear-gradient(${Oe}, ${It})`;return{background:qt,[te]:qt}}const dt=`linear-gradient(${Oe}, ${Bt}, ${Rt})`;return{background:dt,[te]:dt}};var tn=Me=>{const{prefixCls:Fe,direction:Bt,percent:Rt,size:Oe,strokeWidth:Ge,strokeColor:dt,strokeLinecap:It="round",children:qt,trailColor:hn=null,percentPosition:Dn,success:On}=Me,{align:un,type:yn}=Dn,vn=dt&&typeof dt!="string"?Pt(dt,Bt):{[te]:dt,background:dt},Xt=It==="square"||It==="butt"?0:void 0,Zt=Oe!=null?Oe:[-1,Ge||(Oe==="small"?6:8)],[Vt,Et]=He(Zt,"line",{strokeWidth:Ge}),on={backgroundColor:hn||void 0,borderRadius:Xt},an=Object.assign(Object.assign({width:`${xt(Rt)}%`,height:Et,borderRadius:Xt},vn),{[ee]:xt(Rt)/100}),rn=Qt(Me),En={width:`${xt(rn)}%`,height:Et,borderRadius:Xt,backgroundColor:On==null?void 0:On.strokeColor},Mn={width:Vt<0?"100%":Vt},An=E.createElement("div",{className:`${Fe}-inner`,style:on},E.createElement("div",{className:Te()(`${Fe}-bg`,`${Fe}-bg-${yn}`),style:an},yn==="inner"&&qt),rn!==void 0&&E.createElement("div",{className:`${Fe}-success-bg`,style:En})),Fn=yn==="outer"&&un==="start",In=yn==="outer"&&un==="end";return yn==="outer"&&un==="center"?E.createElement("div",{className:`${Fe}-layout-bottom`},An,qt):E.createElement("div",{className:`${Fe}-outer`,style:Mn},Fn&&qt,An,In&&qt)},Wt=Me=>{const{size:Fe,steps:Bt,rounding:Rt=Math.round,percent:Oe=0,strokeWidth:Ge=8,strokeColor:dt,trailColor:It=null,prefixCls:qt,children:hn}=Me,Dn=Rt(Bt*(Oe/100)),On=Fe==="small"?2:14,un=Fe!=null?Fe:[On,Ge],[yn,vn]=He(un,"step",{steps:Bt,strokeWidth:Ge}),Xt=yn/Bt,Zt=Array.from({length:Bt});for(let Vt=0;Vt<Bt;Vt++){const Et=Array.isArray(dt)?dt[Vt]:dt;Zt[Vt]=E.createElement("div",{key:Vt,className:Te()(`${qt}-steps-item`,{[`${qt}-steps-item-active`]:Vt<=Dn-1}),style:{backgroundColor:Vt<=Dn-1?Et:It,width:Xt,height:vn}})}return E.createElement("div",{className:`${qt}-steps-outer`},Zt,hn)},ln=function(Me,Fe){var Bt={};for(var Rt in Me)Object.prototype.hasOwnProperty.call(Me,Rt)&&Fe.indexOf(Rt)<0&&(Bt[Rt]=Me[Rt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Rt=Object.getOwnPropertySymbols(Me);Oe<Rt.length;Oe++)Fe.indexOf(Rt[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Me,Rt[Oe])&&(Bt[Rt[Oe]]=Me[Rt[Oe]]);return Bt};const Dt=null,$t=["normal","exception","active","success"];var en=E.forwardRef((Me,Fe)=>{const{prefixCls:Bt,className:Rt,rootClassName:Oe,steps:Ge,strokeColor:dt,percent:It=0,size:qt="default",showInfo:hn=!0,type:Dn="line",status:On,format:un,style:yn,percentPosition:vn={}}=Me,Xt=ln(Me,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Zt="end",type:Vt="outer"}=vn,Et=Array.isArray(dt)?dt[0]:dt,on=typeof dt=="string"||Array.isArray(dt)?dt:void 0,an=E.useMemo(()=>{if(Et){const Ce=typeof Et=="string"?Et:Object.values(Et)[0];return new $e.FastColor(Ce).isLight()}return!1},[dt]),rn=E.useMemo(()=>{var Ce,Re;const De=Qt(Me);return parseInt(De!==void 0?(Ce=De!=null?De:0)===null||Ce===void 0?void 0:Ce.toString():(Re=It!=null?It:0)===null||Re===void 0?void 0:Re.toString(),10)},[It,Me.success,Me.successPercent]),En=E.useMemo(()=>!$t.includes(On)&&rn>=100?"success":On||"normal",[On,rn]),{getPrefixCls:Mn,direction:An,progress:Fn}=E.useContext(he.E_),In=Mn("progress",Bt),[jn,Vn,zt]=Ae(In),nn=Dn==="line",bn=nn&&!Ge,xn=E.useMemo(()=>{if(!hn)return null;const Ce=Qt(Me);let Re;const De=un||(be=>`${be}%`),Ve=nn&&an&&Vt==="inner";return Vt==="inner"||un||En!=="exception"&&En!=="success"?Re=De(xt(It),xt(Ce)):En==="exception"?Re=nn?E.createElement(Se.Z,null):E.createElement(Ee.Z,null):En==="success"&&(Re=nn?E.createElement(ve.Z,null):E.createElement(Ye.Z,null)),E.createElement("span",{className:Te()(`${In}-text`,{[`${In}-text-bright`]:Ve,[`${In}-text-${Zt}`]:bn,[`${In}-text-${Vt}`]:bn}),title:typeof Re=="string"?Re:void 0},Re)},[hn,It,rn,En,Dn,In,un]);let ke;Dn==="line"?ke=Ge?E.createElement(Wt,Object.assign({},Me,{strokeColor:on,prefixCls:In,steps:typeof Ge=="object"?Ge.count:Ge}),xn):E.createElement(tn,Object.assign({},Me,{strokeColor:Et,prefixCls:In,direction:An,percentPosition:{align:Zt,type:Vt}}),xn):(Dn==="circle"||Dn==="dashboard")&&(ke=E.createElement(Kt,Object.assign({},Me,{strokeColor:Et,prefixCls:In,progressStatus:En}),xn));const nt=Te()(In,`${In}-status-${En}`,{[`${In}-${Dn==="dashboard"&&"circle"||Dn}`]:Dn!=="line",[`${In}-inline-circle`]:Dn==="circle"&&He(qt,"circle")[0]<=20,[`${In}-line`]:bn,[`${In}-line-align-${Zt}`]:bn,[`${In}-line-position-${Vt}`]:bn,[`${In}-steps`]:Ge,[`${In}-show-info`]:hn,[`${In}-${qt}`]:typeof qt=="string",[`${In}-rtl`]:An==="rtl"},Fn==null?void 0:Fn.className,Rt,Oe,Vn,zt);return jn(E.createElement("div",Object.assign({ref:Fe,style:Object.assign(Object.assign({},Fn==null?void 0:Fn.style),yn),className:nt,role:"progressbar","aria-valuenow":rn,"aria-valuemin":0,"aria-valuemax":100},(0,Pe.Z)(Xt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ke))}),kt=en},63139:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Mt}});var E=re(59301),$e=re(60499),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ye=ve,Se=re(7657),Ee=function(He,Qe){return E.createElement(Se.Z,(0,$e.Z)({},He,{ref:Qe,icon:Ye}))},Ie=E.forwardRef(Ee),Te=Ie,Pe=re(92310),he=re.n(Pe),Ze=re(18642),xe=re(72190),At=re(42244),rt=re(18929),ze=re(10228),Ue=re(26112);function We(me,He){var Qe=me.disabled,jt=me.prefixCls,Lt=me.character,Kt=me.characterRender,je=me.index,Yt=me.count,vt=me.value,ae=me.allowHalf,te=me.focused,ee=me.onHover,oe=me.onClick,se=function(Pt){ee(Pt,je)},ne=function(Pt){oe(Pt,je)},pe=function(Pt){Pt.keyCode===ze.Z.ENTER&&oe(Pt,je)},ye=je+1,lt=new Set([jt]);vt===0&&je===0&&te?lt.add("".concat(jt,"-focused")):ae&&vt+.5>=ye&&vt<ye?(lt.add("".concat(jt,"-half")),lt.add("".concat(jt,"-active")),te&&lt.add("".concat(jt,"-focused"))):(ye<=vt?lt.add("".concat(jt,"-full")):lt.add("".concat(jt,"-zero")),ye===vt&&te&&lt.add("".concat(jt,"-focused")));var Ae=typeof Lt=="function"?Lt(me):Lt,Ne=E.createElement("li",{className:he()(Array.from(lt)),ref:He},E.createElement("div",{onClick:Qe?null:ne,onKeyDown:Qe?null:pe,onMouseMove:Qe?null:se,role:"radio","aria-checked":vt>je?"true":"false","aria-posinset":je+1,"aria-setsize":Yt,tabIndex:Qe?-1:0},E.createElement("div",{className:"".concat(jt,"-first")},Ae),E.createElement("div",{className:"".concat(jt,"-second")},Ae)));return Kt&&(Ne=Kt(Ne,me)),Ne}var Ct=E.forwardRef(We);function Nt(){var me=E.useRef({});function He(jt){return me.current[jt]}function Qe(jt){return function(Lt){me.current[jt]=Lt}}return[He,Qe]}function Ft(me){var He=me.pageXOffset,Qe="scrollLeft";if(typeof He!="number"){var jt=me.document;He=jt.documentElement[Qe],typeof He!="number"&&(He=jt.body[Qe])}return He}function St(me){var He,Qe,jt=me.ownerDocument,Lt=jt.body,Kt=jt&&jt.documentElement,je=me.getBoundingClientRect();return He=je.left,Qe=je.top,He-=Kt.clientLeft||Lt.clientLeft||0,Qe-=Kt.clientTop||Lt.clientTop||0,{left:He,top:Qe}}function pt(me){var He=St(me),Qe=me.ownerDocument,jt=Qe.defaultView||Qe.parentWindow;return He.left+=Ft(jt),He.left}var ct=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function et(me,He){var Qe=me.prefixCls,jt=Qe===void 0?"rc-rate":Qe,Lt=me.className,Kt=me.defaultValue,je=me.value,Yt=me.count,vt=Yt===void 0?5:Yt,ae=me.allowHalf,te=ae===void 0?!1:ae,ee=me.allowClear,oe=ee===void 0?!0:ee,se=me.keyboard,ne=se===void 0?!0:se,pe=me.character,ye=pe===void 0?"\u2605":pe,lt=me.characterRender,Ae=me.disabled,Ne=me.direction,tt=Ne===void 0?"ltr":Ne,Pt=me.tabIndex,Ot=Pt===void 0?0:Pt,tn=me.autoFocus,Ut=me.onHoverChange,Wt=me.onChange,ln=me.onFocus,Dt=me.onBlur,$t=me.onKeyDown,wt=me.onMouseLeave,en=(0,At.Z)(me,ct),kt=Nt(),Me=(0,xe.Z)(kt,2),Fe=Me[0],Bt=Me[1],Rt=E.useRef(null),Oe=function(){if(!Ae){var xn;(xn=Rt.current)===null||xn===void 0||xn.focus()}};E.useImperativeHandle(He,function(){return{focus:Oe,blur:function(){if(!Ae){var xn;(xn=Rt.current)===null||xn===void 0||xn.blur()}}}});var Ge=(0,rt.Z)(Kt||0,{value:je}),dt=(0,xe.Z)(Ge,2),It=dt[0],qt=dt[1],hn=(0,rt.Z)(null),Dn=(0,xe.Z)(hn,2),On=Dn[0],un=Dn[1],yn=function(xn,ke){var nt=tt==="rtl",Ce=xn+1;if(te){var Re=Fe(xn),De=pt(Re),Ve=Re.clientWidth;(nt&&ke-De>Ve/2||!nt&&ke-De<Ve/2)&&(Ce-=.5)}return Ce},vn=function(xn){qt(xn),Wt==null||Wt(xn)},Xt=E.useState(!1),Zt=(0,xe.Z)(Xt,2),Vt=Zt[0],Et=Zt[1],on=function(){Et(!0),ln==null||ln()},an=function(){Et(!1),Dt==null||Dt()},rn=E.useState(null),En=(0,xe.Z)(rn,2),Mn=En[0],An=En[1],Fn=function(xn,ke){var nt=yn(ke,xn.pageX);nt!==On&&(An(nt),un(null)),Ut==null||Ut(nt)},In=function(xn){Ae||(An(null),un(null),Ut==null||Ut(void 0)),xn&&(wt==null||wt(xn))},jn=function(xn,ke){var nt=yn(ke,xn.pageX),Ce=!1;oe&&(Ce=nt===It),In(),vn(Ce?0:nt),un(Ce?nt:null)},Vn=function(xn){var ke=xn.keyCode,nt=tt==="rtl",Ce=te?.5:1;ne&&(ke===ze.Z.RIGHT&&It<vt&&!nt?(vn(It+Ce),xn.preventDefault()):ke===ze.Z.LEFT&&It>0&&!nt||ke===ze.Z.RIGHT&&It>0&&nt?(vn(It-Ce),xn.preventDefault()):ke===ze.Z.LEFT&&It<vt&&nt&&(vn(It+Ce),xn.preventDefault())),$t==null||$t(xn)};E.useEffect(function(){tn&&!Ae&&Oe()},[]);var zt=new Array(vt).fill(0).map(function(bn,xn){return E.createElement(Ct,{ref:Bt(xn),index:xn,count:vt,disabled:Ae,prefixCls:"".concat(jt,"-star"),allowHalf:te,value:Mn===null?It:Mn,onClick:jn,onHover:Fn,key:bn||xn,character:ye,characterRender:lt,focused:Vt})}),nn=he()(jt,Lt,(0,Ze.Z)((0,Ze.Z)({},"".concat(jt,"-disabled"),Ae),"".concat(jt,"-rtl"),tt==="rtl"));return E.createElement("ul",(0,$e.Z)({className:nn,onMouseLeave:In,tabIndex:Ae?-1:Ot,onFocus:Ae?null:on,onBlur:Ae?null:an,onKeyDown:Ae?null:Vn,ref:Rt},(0,Ue.Z)(en,{aria:!0,data:!0,attr:!0})),zt)}var Tt=E.forwardRef(et),st=Tt,at=re(48755),bt=re(25399),Be=re(36237),it=re(63356),Je=re(16931),ue=re(51636);const mt=me=>{const{componentCls:He}=me;return{[`${He}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:me.marginXS},"> div":{transition:`all ${me.motionDurationMid}, outline 0s`,"&:hover":{transform:me.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Be.unit)(me.lineWidth)} dashed ${me.starColor}`,transform:me.starHoverScale}},"&-first, &-second":{color:me.starBg,transition:`all ${me.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${He}-star-first, &-half ${He}-star-second`]:{opacity:1},[`&-half ${He}-star-first, &-full ${He}-star-second`]:{color:"inherit"}}}},Le=me=>({[`&-rtl${me.componentCls}`]:{direction:"rtl"}}),qe=me=>{const{componentCls:He}=me;return{[He]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(me)),{display:"inline-block",margin:0,padding:0,color:me.starColor,fontSize:me.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${He} ${He}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),mt(me)),Le(me))}},Ht=me=>({starColor:me.yellow6,starSize:me.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:me.colorFillContent});var we=(0,Je.I$)("Rate",me=>{const He=(0,ue.mergeToken)(me,{});return[qe(He)]},Ht),de=re(2171),xt=function(me,He){var Qe={};for(var jt in me)Object.prototype.hasOwnProperty.call(me,jt)&&He.indexOf(jt)<0&&(Qe[jt]=me[jt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,jt=Object.getOwnPropertySymbols(me);Lt<jt.length;Lt++)He.indexOf(jt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(me,jt[Lt])&&(Qe[jt[Lt]]=me[jt[Lt]]);return Qe},Mt=E.forwardRef((me,He)=>{const{prefixCls:Qe,className:jt,rootClassName:Lt,style:Kt,tooltips:je,character:Yt=E.createElement(Te,null),disabled:vt}=me,ae=xt(me,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),te=(Pt,Ot)=>{let{index:tn}=Ot;return je?E.createElement(bt.Z,{title:je[tn]},Pt):Pt},{getPrefixCls:ee,direction:oe,rate:se}=E.useContext(at.E_),ne=ee("rate",Qe),[pe,ye,lt]=we(ne),Ae=Object.assign(Object.assign({},se==null?void 0:se.style),Kt),Ne=E.useContext(de.Z),tt=vt!=null?vt:Ne;return pe(E.createElement(st,Object.assign({ref:He,character:Yt,characterRender:te,disabled:tt},ae,{className:he()(jt,Lt,ye,lt,se==null?void 0:se.className),style:Ae,prefixCls:ne,direction:oe})))})},82326:function(dn,Jt,re){"use strict";var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(37463),Se=re(2738),Ee=re(75030),Ie=re(86641),Te=re(45915),Pe=re(82855),he=re(48755),Ze=re(38406),xe=re(2171),At=re(83397),rt=re(31756),ze=re(56553),Ue=re(24971),We=re(70045),Ct=re(57700),Nt=re(1722),Ft=re(90376),St=re(68525),pt=re(90005),ct=function(bt,Be){var it={};for(var Je in bt)Object.prototype.hasOwnProperty.call(bt,Je)&&Be.indexOf(Je)<0&&(it[Je]=bt[Je]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Je=Object.getOwnPropertySymbols(bt);ue<Je.length;ue++)Be.indexOf(Je[ue])<0&&Object.prototype.propertyIsEnumerable.call(bt,Je[ue])&&(it[Je[ue]]=bt[Je[ue]]);return it};const et="SECRET_COMBOBOX_MODE_DO_NOT_USE",Tt=(bt,Be)=>{var it;const{prefixCls:Je,bordered:ue,className:mt,rootClassName:Le,getPopupContainer:qe,popupClassName:Ht,dropdownClassName:we,listHeight:de=256,placement:xt,listItemHeight:Qt,size:Mt,disabled:me,notFoundContent:He,status:Qe,builtinPlacements:jt,dropdownMatchSelectWidth:Lt,popupMatchSelectWidth:Kt,direction:je,style:Yt,allowClear:vt,variant:ae,dropdownStyle:te,transitionName:ee,tagRender:oe,maxCount:se,prefix:ne}=bt,pe=ct(bt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:ye,getPrefixCls:lt,renderEmpty:Ae,direction:Ne,virtual:tt,popupMatchSelectWidth:Pt,popupOverflow:Ot}=E.useContext(he.E_),tn=(0,he.dj)("select"),[,Ut]=(0,Ct.ZP)(),Wt=Qt!=null?Qt:Ut==null?void 0:Ut.controlHeight,ln=lt("select",Je),Dt=lt(),$t=je!=null?je:Ne,{compactSize:wt,compactItemClassnames:en}=(0,We.ri)(ln,$t),[kt,Me]=(0,Ue.Z)("select",ae,ue),Fe=(0,At.Z)(ln),[Bt,Rt,Oe]=(0,Ft.Z)(ln,Fe),Ge=E.useMemo(()=>{const{mode:Vn}=bt;if(Vn!=="combobox")return Vn===et?"combobox":Vn},[bt.mode]),dt=Ge==="multiple"||Ge==="tags",It=(0,pt.Z)(bt.suffixIcon,bt.showArrow),qt=(it=Kt!=null?Kt:Lt)!==null&&it!==void 0?it:Pt,{status:hn,hasFeedback:Dn,isFormItemInput:On,feedbackIcon:un}=E.useContext(ze.aM),yn=(0,Pe.F)(hn,Qe);let vn;He!==void 0?vn=He:Ge==="combobox"?vn=null:vn=(Ae==null?void 0:Ae("Select"))||E.createElement(Ze.Z,{componentName:"Select"});const{suffixIcon:Xt,itemIcon:Zt,removeIcon:Vt,clearIcon:Et}=(0,St.Z)(Object.assign(Object.assign({},pe),{multiple:dt,hasFeedback:Dn,feedbackIcon:un,showSuffixIcon:It,prefixCls:ln,componentName:"Select"})),on=vt===!0?{clearIcon:Et}:vt,an=(0,Se.Z)(pe,["suffixIcon","itemIcon"]),rn=ve()(Ht||we,{[`${ln}-dropdown-${$t}`]:$t==="rtl"},Le,Oe,Fe,Rt),En=(0,rt.Z)(Vn=>{var zt;return(zt=Mt!=null?Mt:wt)!==null&&zt!==void 0?zt:Vn}),Mn=E.useContext(xe.Z),An=me!=null?me:Mn,Fn=ve()({[`${ln}-lg`]:En==="large",[`${ln}-sm`]:En==="small",[`${ln}-rtl`]:$t==="rtl",[`${ln}-${kt}`]:Me,[`${ln}-in-form-item`]:On},(0,Pe.Z)(ln,yn,Dn),en,tn.className,mt,Le,Oe,Fe,Rt),In=E.useMemo(()=>xt!==void 0?xt:$t==="rtl"?"bottomRight":"bottomLeft",[xt,$t]),[jn]=(0,Ee.Cn)("SelectLike",te==null?void 0:te.zIndex);return Bt(E.createElement(Ye.ZP,Object.assign({ref:Be,virtual:tt,showSearch:tn.showSearch},an,{style:Object.assign(Object.assign({},tn.style),Yt),dropdownMatchSelectWidth:qt,transitionName:(0,Ie.m)(Dt,"slide-up",ee),builtinPlacements:(0,Nt.Z)(jt,Ot),listHeight:de,listItemHeight:Wt,mode:Ge,prefixCls:ln,placement:In,direction:$t,prefix:ne,suffixIcon:Xt,menuItemSelectedIcon:Zt,removeIcon:Vt,allowClear:on,notFoundContent:vn,className:Fn,getPopupContainer:qe||ye,dropdownClassName:rn,disabled:An,dropdownStyle:Object.assign(Object.assign({},te),{zIndex:jn}),maxCount:dt?se:void 0,tagRender:dt?oe:void 0})))},st=E.forwardRef(Tt),at=(0,Te.Z)(st,"dropdownAlign");st.SECRET_COMBOBOX_MODE_DO_NOT_USE=et,st.Option=Ye.Wx,st.OptGroup=Ye.Xo,st._InternalPanelDoNotUseOrYouWillBeFired=at,Jt.default=st},1722:function(dn,Jt){"use strict";const re=$e=>{const Ye={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:$e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Ye),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ye),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ye),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ye),{points:["br","tr"],offset:[0,-4]})}};function E($e,ve){return $e||re(ve)}Jt.Z=E},90376:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Je}});var E=re(63356),$e=re(56119),ve=re(16931),Ye=re(51636),Se=re(46e3),Ee=re(93873);const Ie=ue=>{const{optionHeight:mt,optionFontSize:Le,optionLineHeight:qe,optionPadding:Ht}=ue;return{position:"relative",display:"block",minHeight:mt,padding:Ht,color:ue.colorText,fontWeight:"normal",fontSize:Le,lineHeight:qe,boxSizing:"border-box"}};var Pe=ue=>{const{antCls:mt,componentCls:Le}=ue,qe=`${Le}-item`,Ht=`&${mt}-slide-up-enter${mt}-slide-up-enter-active`,we=`&${mt}-slide-up-appear${mt}-slide-up-appear-active`,de=`&${mt}-slide-up-leave${mt}-slide-up-leave-active`,xt=`${Le}-dropdown-placement-`,Qt=`${qe}-option-selected`;return[{[`${Le}-dropdown`]:Object.assign(Object.assign({},(0,E.Wf)(ue)),{position:"absolute",top:-9999,zIndex:ue.zIndexPopup,boxSizing:"border-box",padding:ue.paddingXXS,overflow:"hidden",fontSize:ue.fontSize,fontVariant:"initial",backgroundColor:ue.colorBgElevated,borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary,[`
${Ht}${xt}bottomLeft,
${we}${xt}bottomLeft
`]:{animationName:Se.fJ},[`
${Ht}${xt}topLeft,
${we}${xt}topLeft,
${Ht}${xt}topRight,
${we}${xt}topRight
`]:{animationName:Se.Qt},[`${de}${xt}bottomLeft`]:{animationName:Se.Uw},[`
${de}${xt}topLeft,
${de}${xt}topRight
`]:{animationName:Se.ly},"&-hidden":{display:"none"},[qe]:Object.assign(Object.assign({},Ie(ue)),{cursor:"pointer",transition:`background ${ue.motionDurationSlow} ease`,borderRadius:ue.borderRadiusSM,"&-group":{color:ue.colorTextDescription,fontSize:ue.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},E.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${qe}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${qe}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${qe}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${qe}-option-selected`]:{backgroundColor:ue.colorBgContainerDisabled},color:ue.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ue.calc(ue.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ie(ue)),{color:ue.colorTextDisabled})}),[`${Qt}:has(+ ${Qt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Qt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Se.oN)(ue,"slide-up"),(0,Se.oN)(ue,"slide-down"),(0,Ee.Fm)(ue,"move-up"),(0,Ee.Fm)(ue,"move-down")]},he=re(26743),Ze=re(36237);function xe(ue,mt){const{componentCls:Le,inputPaddingHorizontalBase:qe,borderRadius:Ht}=ue,we=ue.calc(ue.controlHeight).sub(ue.calc(ue.lineWidth).mul(2)).equal(),de=mt?`${Le}-${mt}`:"";return{[`${Le}-single${de}`]:{fontSize:ue.fontSize,height:ue.controlHeight,[`${Le}-selector`]:Object.assign(Object.assign({},(0,E.Wf)(ue,!0)),{display:"flex",borderRadius:Ht,flex:"1 1 auto",[`${Le}-selection-wrap:after`]:{lineHeight:(0,Ze.unit)(we)},[`${Le}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${Le}-selection-item,
${Le}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,Ze.unit)(we),transition:`all ${ue.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Le}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Le}-selection-item:empty:after`,`${Le}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${Le}-show-arrow ${Le}-selection-item,
&${Le}-show-arrow ${Le}-selection-search,
&${Le}-show-arrow ${Le}-selection-placeholder
`]:{paddingInlineEnd:ue.showArrowPaddingInlineEnd},[`&${Le}-open ${Le}-selection-item`]:{color:ue.colorTextPlaceholder},[`&:not(${Le}-customize-input)`]:{[`${Le}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ze.unit)(qe)}`,[`${Le}-selection-search-input`]:{height:we,fontSize:ue.fontSize},"&:after":{lineHeight:(0,Ze.unit)(we)}}},[`&${Le}-customize-input`]:{[`${Le}-selector`]:{"&:after":{display:"none"},[`${Le}-selection-search`]:{position:"static",width:"100%"},[`${Le}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ze.unit)(qe)}`,"&:after":{display:"none"}}}}}}}function At(ue){const{componentCls:mt}=ue,Le=ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal();return[xe(ue),xe((0,Ye.mergeToken)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${mt}-single${mt}-sm`]:{[`&:not(${mt}-customize-input)`]:{[`${mt}-selector`]:{padding:`0 ${(0,Ze.unit)(Le)}`},[`&${mt}-show-arrow ${mt}-selection-search`]:{insetInlineEnd:ue.calc(Le).add(ue.calc(ue.fontSize).mul(1.5)).equal()},[`
&${mt}-show-arrow ${mt}-selection-item,
&${mt}-show-arrow ${mt}-selection-placeholder
`]:{paddingInlineEnd:ue.calc(ue.fontSize).mul(1.5).equal()}}}},xe((0,Ye.mergeToken)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const rt=ue=>{const{fontSize:mt,lineHeight:Le,lineWidth:qe,controlHeight:Ht,controlHeightSM:we,controlHeightLG:de,paddingXXS:xt,controlPaddingHorizontal:Qt,zIndexPopupBase:Mt,colorText:me,fontWeightStrong:He,controlItemBgActive:Qe,controlItemBgHover:jt,colorBgContainer:Lt,colorFillSecondary:Kt,colorBgContainerDisabled:je,colorTextDisabled:Yt,colorPrimaryHover:vt,colorPrimary:ae,controlOutline:te}=ue,ee=xt*2,oe=qe*2,se=Math.min(Ht-ee,Ht-oe),ne=Math.min(we-ee,we-oe),pe=Math.min(de-ee,de-oe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(xt/2),zIndexPopup:Mt+50,optionSelectedColor:me,optionSelectedFontWeight:He,optionSelectedBg:Qe,optionActiveBg:jt,optionPadding:`${(Ht-mt*Le)/2}px ${Qt}px`,optionFontSize:mt,optionLineHeight:Le,optionHeight:Ht,selectorBg:Lt,clearBg:Lt,singleItemHeightLG:de,multipleItemBg:Kt,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:ne,multipleItemHeightLG:pe,multipleSelectorBgDisabled:je,multipleItemColorDisabled:Yt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ue.fontSize*1.25),hoverBorderColor:vt,activeBorderColor:ae,activeOutlineColor:te,selectAffixPadding:xt}},ze=(ue,mt)=>{const{componentCls:Le,antCls:qe,controlOutlineWidth:Ht}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} ${mt.borderColor}`,background:ue.selectorBg},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${qe}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{borderColor:mt.hoverBorderHover},[`${Le}-focused& ${Le}-selector`]:{borderColor:mt.activeBorderColor,boxShadow:`0 0 0 ${(0,Ze.unit)(Ht)} ${mt.activeOutlineColor}`,outline:0},[`${Le}-prefix`]:{color:mt.color}}}},Ue=(ue,mt)=>({[`&${ue.componentCls}-status-${mt.status}`]:Object.assign({},ze(ue,mt))}),We=ue=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},ze(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),Ue(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),Ue(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})}),Ct=(ue,mt)=>{const{componentCls:Le,antCls:qe}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{background:mt.bg,border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} transparent`,color:mt.color},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${qe}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{background:mt.hoverBg},[`${Le}-focused& ${Le}-selector`]:{background:ue.selectorBg,borderColor:mt.activeBorderColor,outline:0}}}},Nt=(ue,mt)=>({[`&${ue.componentCls}-status-${mt.status}`]:Object.assign({},Ct(ue,mt))}),Ft=ue=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ct(ue,{bg:ue.colorFillTertiary,hoverBg:ue.colorFillSecondary,activeBorderColor:ue.activeBorderColor,color:ue.colorText})),Nt(ue,{status:"error",bg:ue.colorErrorBg,hoverBg:ue.colorErrorBgHover,activeBorderColor:ue.colorError,color:ue.colorError})),Nt(ue,{status:"warning",bg:ue.colorWarningBg,hoverBg:ue.colorWarningBgHover,activeBorderColor:ue.colorWarning,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{borderColor:ue.colorBorder,background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.colorBgContainer,border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}})}),St=ue=>({"&-borderless":{[`${ue.componentCls}-selector`]:{background:"transparent",border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} transparent`},[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`},[`&${ue.componentCls}-status-error`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorError}},[`&${ue.componentCls}-status-warning`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorWarning}}}}),pt=(ue,mt)=>{const{componentCls:Le,antCls:qe}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{borderWidth:`0 0 ${(0,Ze.unit)(ue.lineWidth)} 0`,borderStyle:`none none ${ue.lineType} none`,borderColor:mt.borderColor,background:ue.selectorBg,borderRadius:0},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${qe}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{borderColor:mt.hoverBorderHover},[`${Le}-focused& ${Le}-selector`]:{borderColor:mt.activeBorderColor,outline:0},[`${Le}-prefix`]:{color:mt.color}}}},ct=(ue,mt)=>({[`&${ue.componentCls}-status-${mt.status}`]:Object.assign({},pt(ue,mt))}),et=ue=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},pt(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),ct(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),ct(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ze.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})});var st=ue=>({[ue.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},We(ue)),Ft(ue)),St(ue)),et(ue))});const at=ue=>{const{componentCls:mt}=ue;return{position:"relative",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${mt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${mt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},bt=ue=>{const{componentCls:mt}=ue;return{[`${mt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Be=ue=>{const{antCls:mt,componentCls:Le,inputPaddingHorizontalBase:qe,iconCls:Ht}=ue;return{[Le]:Object.assign(Object.assign({},(0,E.Wf)(ue)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Le}-customize-input) ${Le}-selector`]:Object.assign(Object.assign({},at(ue)),bt(ue)),[`${Le}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},E.vS),{[`> ${mt}-typography`]:{display:"inline"}}),[`${Le}-selection-placeholder`]:Object.assign(Object.assign({},E.vS),{flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}),[`${Le}-arrow`]:Object.assign(Object.assign({},(0,E.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:qe,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${ue.motionDurationSlow} ease`,[Ht]:{verticalAlign:"top",transition:`transform ${ue.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Le}-suffix)`]:{pointerEvents:"auto"}},[`${Le}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Le}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Le}-prefix`]:{flex:"none",marginInlineEnd:ue.selectAffixPadding},[`${Le}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:qe,zIndex:1,display:"inline-block",width:ue.fontSizeIcon,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${ue.motionDurationMid} ease, opacity ${ue.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ue.colorTextTertiary}},[`&:hover ${Le}-clear`]:{opacity:1,background:ue.colorBgBase,borderRadius:"50%"}}),[`${Le}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Le}-has-feedback`]:{[`${Le}-clear`]:{insetInlineEnd:ue.calc(qe).add(ue.fontSize).add(ue.paddingXS).equal()}}}}}},it=ue=>{const{componentCls:mt}=ue;return[{[mt]:{[`&${mt}-in-form-item`]:{width:"100%"}}},Be(ue),At(ue),(0,he.ZP)(ue),Pe(ue),{[`${mt}-rtl`]:{direction:"rtl"}},(0,$e.c)(ue,{borderElCls:`${mt}-selector`,focusElCls:`${mt}-focused`})]};var Je=(0,ve.I$)("Select",(ue,mt)=>{let{rootPrefixCls:Le}=mt;const qe=(0,Ye.mergeToken)(ue,{rootPrefixCls:Le,inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[it(qe),st(qe)]},rt,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(dn,Jt,re){"use strict";re.d(Jt,{_z:function(){return Ee},gp:function(){return Ye}});var E=re(36237),$e=re(63356),ve=re(51636);const Ye=he=>{const{multipleSelectItemHeight:Ze,paddingXXS:xe,lineWidth:At,INTERNAL_FIXED_ITEM_MARGIN:rt}=he,ze=he.max(he.calc(xe).sub(At).equal(),0),Ue=he.max(he.calc(ze).sub(rt).equal(),0);return{basePadding:ze,containerPadding:Ue,itemHeight:(0,E.unit)(Ze),itemLineHeight:(0,E.unit)(he.calc(Ze).sub(he.calc(he.lineWidth).mul(2)).equal())}},Se=he=>{const{multipleSelectItemHeight:Ze,selectHeight:xe,lineWidth:At}=he;return he.calc(xe).sub(Ze).div(2).sub(At).equal()},Ee=he=>{const{componentCls:Ze,iconCls:xe,borderRadiusSM:At,motionDurationSlow:rt,paddingXS:ze,multipleItemColorDisabled:Ue,multipleItemBorderColorDisabled:We,colorIcon:Ct,colorIconHover:Nt,INTERNAL_FIXED_ITEM_MARGIN:Ft}=he;return{[`${Ze}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ze}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ft,borderRadius:At,cursor:"default",transition:`font-size ${rt}, line-height ${rt}, height ${rt}`,marginInlineEnd:he.calc(Ft).mul(2).equal(),paddingInlineStart:ze,paddingInlineEnd:he.calc(ze).div(2).equal(),[`${Ze}-disabled&`]:{color:Ue,borderColor:We,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:he.calc(ze).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,$e.Ro)()),{display:"inline-flex",alignItems:"center",color:Ct,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${xe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Nt}})}}}},Ie=(he,Ze)=>{const{componentCls:xe,INTERNAL_FIXED_ITEM_MARGIN:At}=he,rt=`${xe}-selection-overflow`,ze=he.multipleSelectItemHeight,Ue=Se(he),We=Ze?`${xe}-${Ze}`:"",Ct=Ye(he);return{[`${xe}-multiple${We}`]:Object.assign(Object.assign({},Ee(he)),{[`${xe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ct.basePadding,paddingBlock:Ct.containerPadding,borderRadius:he.borderRadius,[`${xe}-disabled&`]:{background:he.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,E.unit)(At)} 0`,lineHeight:(0,E.unit)(ze),visibility:"hidden",content:'"\\a0"'}},[`${xe}-selection-item`]:{height:Ct.itemHeight,lineHeight:(0,E.unit)(Ct.itemLineHeight)},[`${xe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,E.unit)(ze),marginBlock:At}},[`${xe}-prefix`]:{marginInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(Ct.basePadding).equal()},[`${rt}-item + ${rt}-item,
${xe}-prefix + ${xe}-selection-wrap
`]:{[`${xe}-selection-search`]:{marginInlineStart:0},[`${xe}-selection-placeholder`]:{insetInlineStart:0}},[`${rt}-item-suffix`]:{minHeight:Ct.itemHeight,marginBlock:At},[`${xe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(Ue).equal(),"\n &-input,\n &-mirror\n ":{height:ze,fontFamily:he.fontFamily,lineHeight:(0,E.unit)(ze),transition:`all ${he.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${xe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(Ct.basePadding).equal(),insetInlineEnd:he.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${he.motionDurationSlow}`}})}};function Te(he,Ze){const{componentCls:xe}=he,At=Ze?`${xe}-${Ze}`:"",rt={[`${xe}-multiple${At}`]:{fontSize:he.fontSize,[`${xe}-selector`]:{[`${xe}-show-search&`]:{cursor:"text"}},[`
&${xe}-show-arrow ${xe}-selector,
&${xe}-allow-clear ${xe}-selector
`]:{paddingInlineEnd:he.calc(he.fontSizeIcon).add(he.controlPaddingHorizontal).equal()}}};return[Ie(he,Ze),rt]}const Pe=he=>{const{componentCls:Ze}=he,xe=(0,ve.mergeToken)(he,{selectHeight:he.controlHeightSM,multipleSelectItemHeight:he.multipleItemHeightSM,borderRadius:he.borderRadiusSM,borderRadiusSM:he.borderRadiusXS}),At=(0,ve.mergeToken)(he,{fontSize:he.fontSizeLG,selectHeight:he.controlHeightLG,multipleSelectItemHeight:he.multipleItemHeightLG,borderRadius:he.borderRadiusLG,borderRadiusSM:he.borderRadius});return[Te(he),Te(xe,"sm"),{[`${Ze}-multiple${Ze}-sm`]:{[`${Ze}-selection-placeholder`]:{insetInline:he.calc(he.controlPaddingHorizontalSM).sub(he.lineWidth).equal()},[`${Ze}-selection-search`]:{marginInlineStart:2}}},Te(At,"lg")]};Jt.ZP=Pe},68525:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});var E=re(59301),$e=re(40001),ve=re(19248),Ye=re(99267),Se=re(84105),Ee=re(58617),Ie=re(47472);function Te(Pe){let{suffixIcon:he,clearIcon:Ze,menuItemSelectedIcon:xe,removeIcon:At,loading:rt,multiple:ze,hasFeedback:Ue,prefixCls:We,showSuffixIcon:Ct,feedbackIcon:Nt,showArrow:Ft,componentName:St}=Pe;const pt=Ze!=null?Ze:E.createElement(ve.Z,null),ct=at=>he===null&&!Ue&&!Ft?null:E.createElement(E.Fragment,null,Ct!==!1&&at,Ue&&Nt);let et=null;if(he!==void 0)et=ct(he);else if(rt)et=ct(E.createElement(Ee.Z,{spin:!0}));else{const at=`${We}-suffix`;et=bt=>{let{open:Be,showSearch:it}=bt;return ct(Be&&it?E.createElement(Ie.Z,{className:at}):E.createElement(Se.Z,{className:at}))}}let Tt=null;xe!==void 0?Tt=xe:ze?Tt=E.createElement($e.Z,null):Tt=null;let st=null;return At!==void 0?st=At:st=E.createElement(Ye.Z,null),{clearIcon:pt,suffixIcon:et,itemIcon:Tt,removeIcon:st}}},90005:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return E}});function E($e,ve){return ve!==void 0?ve:$e!==null}},11938:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return bt}});var E=re(59301),$e=re(40192),ve=re(22703),Ye=re(92310),Se=re.n(Ye),Ee=re(26112),Ie=re(48755),Te=re(458),he=Be=>{const{value:it,formatter:Je,precision:ue,decimalSeparator:mt,groupSeparator:Le="",prefixCls:qe}=Be;let Ht;if(typeof Je=="function")Ht=Je(it);else{const we=String(it),de=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!de||we==="-")Ht=we;else{const xt=de[1];let Qt=de[2]||"0",Mt=de[4]||"";Qt=Qt.replace(/\B(?=(\d{3})+(?!\d))/g,Le),typeof ue=="number"&&(Mt=Mt.padEnd(ue,"0").slice(0,ue>0?ue:0)),Mt&&(Mt=`${mt}${Mt}`),Ht=[E.createElement("span",{key:"int",className:`${qe}-content-value-int`},xt,Qt),Mt&&E.createElement("span",{key:"decimal",className:`${qe}-content-value-decimal`},Mt)]}}return E.createElement("span",{className:`${qe}-content-value`},Ht)},Ze=re(63356),xe=re(16931),At=re(51636);const rt=Be=>{const{componentCls:it,marginXXS:Je,padding:ue,colorTextDescription:mt,titleFontSize:Le,colorTextHeading:qe,contentFontSize:Ht,fontFamily:we}=Be;return{[it]:Object.assign(Object.assign({},(0,Ze.Wf)(Be)),{[`${it}-title`]:{marginBottom:Je,color:mt,fontSize:Le},[`${it}-skeleton`]:{paddingTop:ue},[`${it}-content`]:{color:qe,fontSize:Ht,fontFamily:we,[`${it}-content-value`]:{display:"inline-block",direction:"ltr"},[`${it}-content-prefix, ${it}-content-suffix`]:{display:"inline-block"},[`${it}-content-prefix`]:{marginInlineEnd:Je},[`${it}-content-suffix`]:{marginInlineStart:Je}}})}},ze=Be=>{const{fontSizeHeading3:it,fontSize:Je}=Be;return{titleFontSize:Je,contentFontSize:it}};var Ue=(0,xe.I$)("Statistic",Be=>{const it=(0,At.mergeToken)(Be,{});return[rt(it)]},ze),We=function(Be,it){var Je={};for(var ue in Be)Object.prototype.hasOwnProperty.call(Be,ue)&&it.indexOf(ue)<0&&(Je[ue]=Be[ue]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ue=Object.getOwnPropertySymbols(Be);mt<ue.length;mt++)it.indexOf(ue[mt])<0&&Object.prototype.propertyIsEnumerable.call(Be,ue[mt])&&(Je[ue[mt]]=Be[ue[mt]]);return Je},Nt=Be=>{const{prefixCls:it,className:Je,rootClassName:ue,style:mt,valueStyle:Le,value:qe=0,title:Ht,valueRender:we,prefix:de,suffix:xt,loading:Qt=!1,formatter:Mt,precision:me,decimalSeparator:He=".",groupSeparator:Qe=",",onMouseEnter:jt,onMouseLeave:Lt}=Be,Kt=We(Be,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:je,direction:Yt,className:vt,style:ae}=(0,Ie.dj)("statistic"),te=je("statistic",it),[ee,oe,se]=Ue(te),ne=E.createElement(he,{decimalSeparator:He,groupSeparator:Qe,prefixCls:te,formatter:Mt,precision:me,value:qe}),pe=Se()(te,{[`${te}-rtl`]:Yt==="rtl"},vt,Je,ue,oe,se),ye=(0,Ee.Z)(Kt,{aria:!0,data:!0});return ee(E.createElement("div",Object.assign({},ye,{className:pe,style:Object.assign(Object.assign({},ae),mt),onMouseEnter:jt,onMouseLeave:Lt}),Ht&&E.createElement("div",{className:`${te}-title`},Ht),E.createElement(Te.Z,{paragraph:!1,loading:Qt,className:`${te}-skeleton`},E.createElement("div",{style:Le,className:`${te}-content`},de&&E.createElement("span",{className:`${te}-content-prefix`},de),we?we(ne):ne,xt&&E.createElement("span",{className:`${te}-content-suffix`},xt)))))};const Ft=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function St(Be,it){let Je=Be;const ue=/\[[^\]]*]/g,mt=(it.match(ue)||[]).map(we=>we.slice(1,-1)),Le=it.replace(ue,"[]"),qe=Ft.reduce((we,de)=>{let[xt,Qt]=de;if(we.includes(xt)){const Mt=Math.floor(Je/Qt);return Je-=Mt*Qt,we.replace(new RegExp(`${xt}+`,"g"),me=>{const He=me.length;return Mt.toString().padStart(He,"0")})}return we},Le);let Ht=0;return qe.replace(ue,()=>{const we=mt[Ht];return Ht+=1,we})}function pt(Be,it){const{format:Je=""}=it,ue=new Date(Be).getTime(),mt=Date.now(),Le=Math.max(ue-mt,0);return St(Le,Je)}var ct=function(Be,it){var Je={};for(var ue in Be)Object.prototype.hasOwnProperty.call(Be,ue)&&it.indexOf(ue)<0&&(Je[ue]=Be[ue]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ue=Object.getOwnPropertySymbols(Be);mt<ue.length;mt++)it.indexOf(ue[mt])<0&&Object.prototype.propertyIsEnumerable.call(Be,ue[mt])&&(Je[ue[mt]]=Be[ue[mt]]);return Je};const et=1e3/30;function Tt(Be){return new Date(Be).getTime()}const st=Be=>{const{value:it,format:Je="HH:mm:ss",onChange:ue,onFinish:mt}=Be,Le=ct(Be,["value","format","onChange","onFinish"]),qe=(0,$e.Z)(),Ht=E.useRef(null),we=()=>{mt==null||mt(),Ht.current&&(clearInterval(Ht.current),Ht.current=null)},de=()=>{const Mt=Tt(it);Mt>=Date.now()&&(Ht.current=setInterval(()=>{qe(),ue==null||ue(Mt-Date.now()),Mt<Date.now()&&we()},et))};E.useEffect(()=>(de(),()=>{Ht.current&&(clearInterval(Ht.current),Ht.current=null)}),[it]);const xt=(Mt,me)=>pt(Mt,Object.assign(Object.assign({},me),{format:Je})),Qt=Mt=>(0,ve.Tm)(Mt,{title:void 0});return E.createElement(Nt,Object.assign({},Le,{value:it,valueRender:Qt,formatter:xt}))};var at=E.memo(st);Nt.Countdown=at;var bt=Nt},58755:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return mt}});var E=re(59301),$e=re(58617),ve=re(92310),Ye=re.n(ve),Se=re(60499),Ee=re(18642),Ie=re(72190),Te=re(42244),Pe=re(18929),he=re(10228),Ze=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],xe=E.forwardRef(function(Le,qe){var Ht,we=Le.prefixCls,de=we===void 0?"rc-switch":we,xt=Le.className,Qt=Le.checked,Mt=Le.defaultChecked,me=Le.disabled,He=Le.loadingIcon,Qe=Le.checkedChildren,jt=Le.unCheckedChildren,Lt=Le.onClick,Kt=Le.onChange,je=Le.onKeyDown,Yt=(0,Te.Z)(Le,Ze),vt=(0,Pe.Z)(!1,{value:Qt,defaultValue:Mt}),ae=(0,Ie.Z)(vt,2),te=ae[0],ee=ae[1];function oe(ye,lt){var Ae=te;return me||(Ae=ye,ee(Ae),Kt==null||Kt(Ae,lt)),Ae}function se(ye){ye.which===he.Z.LEFT?oe(!1,ye):ye.which===he.Z.RIGHT&&oe(!0,ye),je==null||je(ye)}function ne(ye){var lt=oe(!te,ye);Lt==null||Lt(lt,ye)}var pe=Ye()(de,xt,(Ht={},(0,Ee.Z)(Ht,"".concat(de,"-checked"),te),(0,Ee.Z)(Ht,"".concat(de,"-disabled"),me),Ht));return E.createElement("button",(0,Se.Z)({},Yt,{type:"button",role:"switch","aria-checked":te,disabled:me,className:pe,ref:qe,onKeyDown:se,onClick:ne}),He,E.createElement("span",{className:"".concat(de,"-inner")},E.createElement("span",{className:"".concat(de,"-inner-checked")},Qe),E.createElement("span",{className:"".concat(de,"-inner-unchecked")},jt)))});xe.displayName="Switch";var At=xe,rt=re(12919),ze=re(48755),Ue=re(2171),We=re(31756),Ct=re(36237),Nt=re(17835),Ft=re(63356),St=re(16931),pt=re(51636);const ct=Le=>{const{componentCls:qe,trackHeightSM:Ht,trackPadding:we,trackMinWidthSM:de,innerMinMarginSM:xt,innerMaxMarginSM:Qt,handleSizeSM:Mt,calc:me}=Le,He=`${qe}-inner`,Qe=(0,Ct.unit)(me(Mt).add(me(we).mul(2)).equal()),jt=(0,Ct.unit)(me(Qt).mul(2).equal());return{[qe]:{[`&${qe}-small`]:{minWidth:de,height:Ht,lineHeight:(0,Ct.unit)(Ht),[`${qe}-inner`]:{paddingInlineStart:Qt,paddingInlineEnd:xt,[`${He}-checked, ${He}-unchecked`]:{minHeight:Ht},[`${He}-checked`]:{marginInlineStart:`calc(-100% + ${Qe} - ${jt})`,marginInlineEnd:`calc(100% - ${Qe} + ${jt})`},[`${He}-unchecked`]:{marginTop:me(Ht).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${qe}-handle`]:{width:Mt,height:Mt},[`${qe}-loading-icon`]:{top:me(me(Mt).sub(Le.switchLoadingIconSize)).div(2).equal(),fontSize:Le.switchLoadingIconSize},[`&${qe}-checked`]:{[`${qe}-inner`]:{paddingInlineStart:xt,paddingInlineEnd:Qt,[`${He}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${He}-unchecked`]:{marginInlineStart:`calc(100% - ${Qe} + ${jt})`,marginInlineEnd:`calc(-100% + ${Qe} - ${jt})`}},[`${qe}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ct.unit)(me(Mt).add(we).equal())})`}},[`&:not(${qe}-disabled):active`]:{[`&:not(${qe}-checked) ${He}`]:{[`${He}-unchecked`]:{marginInlineStart:me(Le.marginXXS).div(2).equal(),marginInlineEnd:me(Le.marginXXS).mul(-1).div(2).equal()}},[`&${qe}-checked ${He}`]:{[`${He}-checked`]:{marginInlineStart:me(Le.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:me(Le.marginXXS).div(2).equal()}}}}}}},et=Le=>{const{componentCls:qe,handleSize:Ht,calc:we}=Le;return{[qe]:{[`${qe}-loading-icon${Le.iconCls}`]:{position:"relative",top:we(we(Ht).sub(Le.fontSize)).div(2).equal(),color:Le.switchLoadingIconColor,verticalAlign:"top"},[`&${qe}-checked ${qe}-loading-icon`]:{color:Le.switchColor}}}},Tt=Le=>{const{componentCls:qe,trackPadding:Ht,handleBg:we,handleShadow:de,handleSize:xt,calc:Qt}=Le,Mt=`${qe}-handle`;return{[qe]:{[Mt]:{position:"absolute",top:Ht,insetInlineStart:Ht,width:xt,height:xt,transition:`all ${Le.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:we,borderRadius:Qt(xt).div(2).equal(),boxShadow:de,transition:`all ${Le.switchDuration} ease-in-out`,content:'""'}},[`&${qe}-checked ${Mt}`]:{insetInlineStart:`calc(100% - ${(0,Ct.unit)(Qt(xt).add(Ht).equal())})`},[`&:not(${qe}-disabled):active`]:{[`${Mt}::before`]:{insetInlineEnd:Le.switchHandleActiveInset,insetInlineStart:0},[`&${qe}-checked ${Mt}::before`]:{insetInlineEnd:0,insetInlineStart:Le.switchHandleActiveInset}}}}},st=Le=>{const{componentCls:qe,trackHeight:Ht,trackPadding:we,innerMinMargin:de,innerMaxMargin:xt,handleSize:Qt,calc:Mt}=Le,me=`${qe}-inner`,He=(0,Ct.unit)(Mt(Qt).add(Mt(we).mul(2)).equal()),Qe=(0,Ct.unit)(Mt(xt).mul(2).equal());return{[qe]:{[me]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:xt,paddingInlineEnd:de,transition:`padding-inline-start ${Le.switchDuration} ease-in-out, padding-inline-end ${Le.switchDuration} ease-in-out`,[`${me}-checked, ${me}-unchecked`]:{display:"block",color:Le.colorTextLightSolid,fontSize:Le.fontSizeSM,transition:`margin-inline-start ${Le.switchDuration} ease-in-out, margin-inline-end ${Le.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Ht},[`${me}-checked`]:{marginInlineStart:`calc(-100% + ${He} - ${Qe})`,marginInlineEnd:`calc(100% - ${He} + ${Qe})`},[`${me}-unchecked`]:{marginTop:Mt(Ht).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${qe}-checked ${me}`]:{paddingInlineStart:de,paddingInlineEnd:xt,[`${me}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${me}-unchecked`]:{marginInlineStart:`calc(100% - ${He} + ${Qe})`,marginInlineEnd:`calc(-100% + ${He} - ${Qe})`}},[`&:not(${qe}-disabled):active`]:{[`&:not(${qe}-checked) ${me}`]:{[`${me}-unchecked`]:{marginInlineStart:Mt(we).mul(2).equal(),marginInlineEnd:Mt(we).mul(-1).mul(2).equal()}},[`&${qe}-checked ${me}`]:{[`${me}-checked`]:{marginInlineStart:Mt(we).mul(-1).mul(2).equal(),marginInlineEnd:Mt(we).mul(2).equal()}}}}}},at=Le=>{const{componentCls:qe,trackHeight:Ht,trackMinWidth:we}=Le;return{[qe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ft.Wf)(Le)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:we,height:Ht,lineHeight:(0,Ct.unit)(Ht),verticalAlign:"middle",background:Le.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Le.motionDurationMid}`,userSelect:"none",[`&:hover:not(${qe}-disabled)`]:{background:Le.colorTextTertiary}}),(0,Ft.Qy)(Le)),{[`&${qe}-checked`]:{background:Le.switchColor,[`&:hover:not(${qe}-disabled)`]:{background:Le.colorPrimaryHover}},[`&${qe}-loading, &${qe}-disabled`]:{cursor:"not-allowed",opacity:Le.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${qe}-rtl`]:{direction:"rtl"}})}},bt=Le=>{const{fontSize:qe,lineHeight:Ht,controlHeight:we,colorWhite:de}=Le,xt=qe*Ht,Qt=we/2,Mt=2,me=xt-Mt*2,He=Qt-Mt*2;return{trackHeight:xt,trackHeightSM:Qt,trackMinWidth:me*2+Mt*4,trackMinWidthSM:He*2+Mt*2,trackPadding:Mt,handleBg:de,handleSize:me,handleSizeSM:He,handleShadow:`0 2px 4px 0 ${new Nt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:me/2,innerMaxMargin:me+Mt+Mt*2,innerMinMarginSM:He/2,innerMaxMarginSM:He+Mt+Mt*2}};var Be=(0,St.I$)("Switch",Le=>{const qe=(0,pt.mergeToken)(Le,{switchDuration:Le.motionDurationMid,switchColor:Le.colorPrimary,switchDisabledOpacity:Le.opacityLoading,switchLoadingIconSize:Le.calc(Le.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Le.opacityLoading})`,switchHandleActiveInset:"-30%"});return[at(qe),st(qe),Tt(qe),et(qe),ct(qe)]},bt),it=function(Le,qe){var Ht={};for(var we in Le)Object.prototype.hasOwnProperty.call(Le,we)&&qe.indexOf(we)<0&&(Ht[we]=Le[we]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,we=Object.getOwnPropertySymbols(Le);de<we.length;de++)qe.indexOf(we[de])<0&&Object.prototype.propertyIsEnumerable.call(Le,we[de])&&(Ht[we[de]]=Le[we[de]]);return Ht};const ue=E.forwardRef((Le,qe)=>{const{prefixCls:Ht,size:we,disabled:de,loading:xt,className:Qt,rootClassName:Mt,style:me,checked:He,value:Qe,defaultChecked:jt,defaultValue:Lt,onChange:Kt}=Le,je=it(Le,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Yt,vt]=(0,Pe.Z)(!1,{value:He!=null?He:Qe,defaultValue:jt!=null?jt:Lt}),{getPrefixCls:ae,direction:te,switch:ee}=E.useContext(ze.E_),oe=E.useContext(Ue.Z),se=(de!=null?de:oe)||xt,ne=ae("switch",Ht),pe=E.createElement("div",{className:`${ne}-handle`},xt&&E.createElement($e.Z,{className:`${ne}-loading-icon`})),[ye,lt,Ae]=Be(ne),Ne=(0,We.Z)(we),tt=Ye()(ee==null?void 0:ee.className,{[`${ne}-small`]:Ne==="small",[`${ne}-loading`]:xt,[`${ne}-rtl`]:te==="rtl"},Qt,Mt,lt,Ae),Pt=Object.assign(Object.assign({},ee==null?void 0:ee.style),me),Ot=function(){vt(arguments.length<=0?void 0:arguments[0]),Kt==null||Kt.apply(void 0,arguments)};return ye(E.createElement(rt.Z,{component:"Switch"},E.createElement(At,Object.assign({},je,{checked:Yt,onChange:Ot,prefixCls:ne,className:tt,style:Pt,disabled:se,ref:qe,loadingIcon:pe}))))});ue.__ANT_SWITCH=!0;var mt=ue},96599:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return Je}});var E=re(59301),$e=re(92310),ve=re.n($e),Ye=re(2738),Se=re(29509),Ee=re(78776),Ie=re(22703),Te=re(12919),Pe=re(48755),he=re(36237),Ze=re(17835),xe=re(63356),At=re(51636),rt=re(16931);const ze=ue=>{const{paddingXXS:mt,lineWidth:Le,tagPaddingHorizontal:qe,componentCls:Ht,calc:we}=ue,de=we(qe).sub(Le).equal(),xt=we(mt).sub(Le).equal();return{[Ht]:Object.assign(Object.assign({},(0,xe.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:de,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${(0,he.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ht}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${Ht}-close-icon`]:{marginInlineStart:xt,fontSize:ue.tagIconSize,color:ue.colorTextDescription,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${Ht}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ue.iconCls}-close, ${ue.iconCls}-close:hover`]:{color:ue.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ht}-checkable-checked):hover`]:{color:ue.colorPrimary,backgroundColor:ue.colorFillSecondary},"&:active, &-checked":{color:ue.colorTextLightSolid},"&-checked":{backgroundColor:ue.colorPrimary,"&:hover":{backgroundColor:ue.colorPrimaryHover}},"&:active":{backgroundColor:ue.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ue.iconCls} + span, > span + ${ue.iconCls}`]:{marginInlineStart:de}}),[`${Ht}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},Ue=ue=>{const{lineWidth:mt,fontSizeIcon:Le,calc:qe}=ue,Ht=ue.fontSizeSM;return(0,At.mergeToken)(ue,{tagFontSize:Ht,tagLineHeight:(0,he.unit)(qe(ue.lineHeightSM).mul(Ht).equal()),tagIconSize:qe(Le).sub(qe(mt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ue.defaultBg})},We=ue=>({defaultBg:new Ze.FastColor(ue.colorFillQuaternary).onBackground(ue.colorBgContainer).toHexString(),defaultColor:ue.colorText});var Ct=(0,rt.I$)("Tag",ue=>{const mt=Ue(ue);return ze(mt)},We),Nt=function(ue,mt){var Le={};for(var qe in ue)Object.prototype.hasOwnProperty.call(ue,qe)&&mt.indexOf(qe)<0&&(Le[qe]=ue[qe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,qe=Object.getOwnPropertySymbols(ue);Ht<qe.length;Ht++)mt.indexOf(qe[Ht])<0&&Object.prototype.propertyIsEnumerable.call(ue,qe[Ht])&&(Le[qe[Ht]]=ue[qe[Ht]]);return Le},St=E.forwardRef((ue,mt)=>{const{prefixCls:Le,style:qe,className:Ht,checked:we,onChange:de,onClick:xt}=ue,Qt=Nt(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Mt,tag:me}=E.useContext(Pe.E_),He=Yt=>{de==null||de(!we),xt==null||xt(Yt)},Qe=Mt("tag",Le),[jt,Lt,Kt]=Ct(Qe),je=ve()(Qe,`${Qe}-checkable`,{[`${Qe}-checkable-checked`]:we},me==null?void 0:me.className,Ht,Lt,Kt);return jt(E.createElement("span",Object.assign({},Qt,{ref:mt,style:Object.assign(Object.assign({},qe),me==null?void 0:me.style),className:je,onClick:He})))}),pt=re(93427);const ct=ue=>(0,pt.Z)(ue,(mt,Le)=>{let{textColor:qe,lightBorderColor:Ht,lightColor:we,darkColor:de}=Le;return{[`${ue.componentCls}${ue.componentCls}-${mt}`]:{color:qe,background:we,borderColor:Ht,"&-inverse":{color:ue.colorTextLightSolid,background:de,borderColor:de},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var et=(0,rt.bk)(["Tag","preset"],ue=>{const mt=Ue(ue);return ct(mt)},We);function Tt(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const st=(ue,mt,Le)=>{const qe=Tt(Le);return{[`${ue.componentCls}${ue.componentCls}-${mt}`]:{color:ue[`color${Le}`],background:ue[`color${qe}Bg`],borderColor:ue[`color${qe}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var at=(0,rt.bk)(["Tag","status"],ue=>{const mt=Ue(ue);return[st(mt,"success","Success"),st(mt,"processing","Info"),st(mt,"error","Error"),st(mt,"warning","Warning")]},We),bt=function(ue,mt){var Le={};for(var qe in ue)Object.prototype.hasOwnProperty.call(ue,qe)&&mt.indexOf(qe)<0&&(Le[qe]=ue[qe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,qe=Object.getOwnPropertySymbols(ue);Ht<qe.length;Ht++)mt.indexOf(qe[Ht])<0&&Object.prototype.propertyIsEnumerable.call(ue,qe[Ht])&&(Le[qe[Ht]]=ue[qe[Ht]]);return Le};const it=E.forwardRef((ue,mt)=>{const{prefixCls:Le,className:qe,rootClassName:Ht,style:we,children:de,icon:xt,color:Qt,onClose:Mt,bordered:me=!0,visible:He}=ue,Qe=bt(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:jt,direction:Lt,tag:Kt}=E.useContext(Pe.E_),[je,Yt]=E.useState(!0),vt=(0,Ye.Z)(Qe,["closeIcon","closable"]);E.useEffect(()=>{He!==void 0&&Yt(He)},[He]);const ae=(0,Se.o2)(Qt),te=(0,Se.yT)(Qt),ee=ae||te,oe=Object.assign(Object.assign({backgroundColor:Qt&&!ee?Qt:void 0},Kt==null?void 0:Kt.style),we),se=jt("tag",Le),[ne,pe,ye]=Ct(se),lt=ve()(se,Kt==null?void 0:Kt.className,{[`${se}-${Qt}`]:ee,[`${se}-has-color`]:Qt&&!ee,[`${se}-hidden`]:!je,[`${se}-rtl`]:Lt==="rtl",[`${se}-borderless`]:!me},qe,Ht,pe,ye),Ae=Ut=>{Ut.stopPropagation(),Mt==null||Mt(Ut),!Ut.defaultPrevented&&Yt(!1)},[,Ne]=(0,Ee.Z)((0,Ee.w)(ue),(0,Ee.w)(Kt),{closable:!1,closeIconRender:Ut=>{const Wt=E.createElement("span",{className:`${se}-close-icon`,onClick:Ae},Ut);return(0,Ie.wm)(Ut,Wt,ln=>({onClick:Dt=>{var $t;($t=ln==null?void 0:ln.onClick)===null||$t===void 0||$t.call(ln,Dt),Ae(Dt)},className:ve()(ln==null?void 0:ln.className,`${se}-close-icon`)}))}}),tt=typeof Qe.onClick=="function"||de&&de.type==="a",Pt=xt||null,Ot=Pt?E.createElement(E.Fragment,null,Pt,de&&E.createElement("span",null,de)):de,tn=E.createElement("span",Object.assign({},vt,{ref:mt,className:lt,style:oe}),Ot,Ne,ae&&E.createElement(et,{key:"preset",prefixCls:se}),te&&E.createElement(at,{key:"status",prefixCls:se}));return ne(tt?E.createElement(Te.Z,{component:"Tag"},tn):tn)});it.CheckableTag=St;var Je=it},94968:function(dn,Jt,re){"use strict";re.d(Jt,{default:function(){return Ve}});var E=re(59301),$e=re(77654),ve=re(4676),Ye=re(92310),Se=re.n(Ye),Ee=re(60499),Ie=re(38705),Te=re(17212),Pe=re(15793),he=re(39153),Ze=re(55401),xe=re(18642),At=re(85899),rt=re(42244),ze=re(43749),Ue=re(73001),We=re(11576),Ct=re(26112),Nt=re(48736),Ft=function(be,_e){if(be&&_e){var ft=Array.isArray(_e)?_e:_e.split(","),yt=be.name||"",ht=be.type||"",Xe=ht.replace(/\/.*$/,"");return ft.some(function(Ke){var ut=Ke.trim();if(/^\*(\/\*)?$/.test(Ke))return!0;if(ut.charAt(0)==="."){var fn=yt.toLowerCase(),sn=ut.toLowerCase(),cn=[sn];return(sn===".jpg"||sn===".jpeg")&&(cn=[".jpg",".jpeg"]),cn.some(function(Rn){return fn.endsWith(Rn)})}return/\/\*$/.test(ut)?Xe===ut.replace(/\/.*$/,""):ht===ut?!0:/^\w+$/.test(ut)?((0,Nt.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ut,"'.Skip for check.")),!0):!1})}return!0};function St(be,_e){var ft="cannot ".concat(be.method," ").concat(be.action," ").concat(_e.status,"'"),yt=new Error(ft);return yt.status=_e.status,yt.method=be.method,yt.url=be.action,yt}function pt(be){var _e=be.responseText||be.response;if(!_e)return _e;try{return JSON.parse(_e)}catch(ft){return _e}}function ct(be){var _e=new XMLHttpRequest;be.onProgress&&_e.upload&&(_e.upload.onprogress=function(Xe){Xe.total>0&&(Xe.percent=Xe.loaded/Xe.total*100),be.onProgress(Xe)});var ft=new FormData;be.data&&Object.keys(be.data).forEach(function(ht){var Xe=be.data[ht];if(Array.isArray(Xe)){Xe.forEach(function(Ke){ft.append("".concat(ht,"[]"),Ke)});return}ft.append(ht,Xe)}),be.file instanceof Blob?ft.append(be.filename,be.file,be.file.name):ft.append(be.filename,be.file),_e.onerror=function(Xe){be.onError(Xe)},_e.onload=function(){return _e.status<200||_e.status>=300?be.onError(St(be,_e),pt(_e)):be.onSuccess(pt(_e),_e)},_e.open(be.method,be.action,!0),be.withCredentials&&"withCredentials"in _e&&(_e.withCredentials=!0);var yt=be.headers||{};return yt["X-Requested-With"]!==null&&_e.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(yt).forEach(function(ht){yt[ht]!==null&&_e.setRequestHeader(ht,yt[ht])}),_e.send(ft),{abort:function(){_e.abort()}}}var et=function(){var be=(0,We.Z)((0,Ue.Z)().mark(function _e(ft,yt){var ht,Xe,Ke,ut,fn,sn,cn,Rn;return(0,Ue.Z)().wrap(function(Yn){for(;;)switch(Yn.prev=Yn.next){case 0:sn=function(){return sn=(0,We.Z)((0,Ue.Z)().mark(function Ln(kn){return(0,Ue.Z)().wrap(function(qn){for(;;)switch(qn.prev=qn.next){case 0:return qn.abrupt("return",new Promise(function(Jn){kn.file(function($n){yt($n)?(kn.fullPath&&!$n.webkitRelativePath&&(Object.defineProperties($n,{webkitRelativePath:{writable:!0}}),$n.webkitRelativePath=kn.fullPath.replace(/^\//,""),Object.defineProperties($n,{webkitRelativePath:{writable:!1}})),Jn($n)):Jn(null)})}));case 1:case"end":return qn.stop()}},Ln)})),sn.apply(this,arguments)},fn=function(Ln){return sn.apply(this,arguments)},ut=function(){return ut=(0,We.Z)((0,Ue.Z)().mark(function Ln(kn){var Un,qn,Jn,$n,Tn;return(0,Ue.Z)().wrap(function(Cn){for(;;)switch(Cn.prev=Cn.next){case 0:Un=kn.createReader(),qn=[];case 2:return Cn.next=5,new Promise(function(Gn){Un.readEntries(Gn,function(){return Gn([])})});case 5:if(Jn=Cn.sent,$n=Jn.length,$n){Cn.next=9;break}return Cn.abrupt("break",12);case 9:for(Tn=0;Tn<$n;Tn++)qn.push(Jn[Tn]);Cn.next=2;break;case 12:return Cn.abrupt("return",qn);case 13:case"end":return Cn.stop()}},Ln)})),ut.apply(this,arguments)},Ke=function(Ln){return ut.apply(this,arguments)},ht=[],Xe=[],ft.forEach(function(Hn){return Xe.push(Hn.webkitGetAsEntry())}),cn=function(){var Hn=(0,We.Z)((0,Ue.Z)().mark(function Ln(kn,Un){var qn,Jn;return(0,Ue.Z)().wrap(function(Tn){for(;;)switch(Tn.prev=Tn.next){case 0:if(kn){Tn.next=2;break}return Tn.abrupt("return");case 2:if(kn.path=Un||"",!kn.isFile){Tn.next=10;break}return Tn.next=6,fn(kn);case 6:qn=Tn.sent,qn&&ht.push(qn),Tn.next=15;break;case 10:if(!kn.isDirectory){Tn.next=15;break}return Tn.next=13,Ke(kn);case 13:Jn=Tn.sent,Xe.push.apply(Xe,(0,$e.Z)(Jn));case 15:case"end":return Tn.stop()}},Ln)}));return function(kn,Un){return Hn.apply(this,arguments)}}(),Rn=0;case 9:if(!(Rn<Xe.length)){Yn.next=15;break}return Yn.next=12,cn(Xe[Rn]);case 12:Rn++,Yn.next=9;break;case 15:return Yn.abrupt("return",ht);case 16:case"end":return Yn.stop()}},_e)}));return function(ft,yt){return be.apply(this,arguments)}}(),Tt=et,st=+new Date,at=0;function bt(){return"rc-upload-".concat(st,"-").concat(++at)}var Be=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],it=function(be){(0,he.Z)(ft,be);var _e=(0,Ze.Z)(ft);function ft(){var yt;(0,Ie.Z)(this,ft);for(var ht=arguments.length,Xe=new Array(ht),Ke=0;Ke<ht;Ke++)Xe[Ke]=arguments[Ke];return yt=_e.call.apply(_e,[this].concat(Xe)),(0,xe.Z)((0,Pe.Z)(yt),"state",{uid:bt()}),(0,xe.Z)((0,Pe.Z)(yt),"reqs",{}),(0,xe.Z)((0,Pe.Z)(yt),"fileInput",void 0),(0,xe.Z)((0,Pe.Z)(yt),"_isMounted",void 0),(0,xe.Z)((0,Pe.Z)(yt),"onChange",function(ut){var fn=yt.props,sn=fn.accept,cn=fn.directory,Rn=ut.target.files,Wn=(0,$e.Z)(Rn).filter(function(Yn){return!cn||Ft(Yn,sn)});yt.uploadFiles(Wn),yt.reset()}),(0,xe.Z)((0,Pe.Z)(yt),"onClick",function(ut){var fn=yt.fileInput;if(fn){var sn=ut.target,cn=yt.props.onClick;if(sn&&sn.tagName==="BUTTON"){var Rn=fn.parentNode;Rn.focus(),sn.blur()}fn.click(),cn&&cn(ut)}}),(0,xe.Z)((0,Pe.Z)(yt),"onKeyDown",function(ut){ut.key==="Enter"&&yt.onClick(ut)}),(0,xe.Z)((0,Pe.Z)(yt),"onFileDrop",function(){var ut=(0,We.Z)((0,Ue.Z)().mark(function fn(sn){var cn,Rn,Wn;return(0,Ue.Z)().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:if(cn=yt.props.multiple,sn.preventDefault(),sn.type!=="dragover"){Hn.next=4;break}return Hn.abrupt("return");case 4:if(!yt.props.directory){Hn.next=11;break}return Hn.next=7,Tt(Array.prototype.slice.call(sn.dataTransfer.items),function(Ln){return Ft(Ln,yt.props.accept)});case 7:Rn=Hn.sent,yt.uploadFiles(Rn),Hn.next=14;break;case 11:Wn=(0,$e.Z)(sn.dataTransfer.files).filter(function(Ln){return Ft(Ln,yt.props.accept)}),cn===!1&&(Wn=Wn.slice(0,1)),yt.uploadFiles(Wn);case 14:case"end":return Hn.stop()}},fn)}));return function(fn){return ut.apply(this,arguments)}}()),(0,xe.Z)((0,Pe.Z)(yt),"uploadFiles",function(ut){var fn=(0,$e.Z)(ut),sn=fn.map(function(cn){return cn.uid=bt(),yt.processFile(cn,fn)});Promise.all(sn).then(function(cn){var Rn=yt.props.onBatchStart;Rn==null||Rn(cn.map(function(Wn){var Yn=Wn.origin,Hn=Wn.parsedFile;return{file:Yn,parsedFile:Hn}})),cn.filter(function(Wn){return Wn.parsedFile!==null}).forEach(function(Wn){yt.post(Wn)})})}),(0,xe.Z)((0,Pe.Z)(yt),"processFile",function(){var ut=(0,We.Z)((0,Ue.Z)().mark(function fn(sn,cn){var Rn,Wn,Yn,Hn,Ln,kn,Un,qn,Jn;return(0,Ue.Z)().wrap(function(Tn){for(;;)switch(Tn.prev=Tn.next){case 0:if(Rn=yt.props.beforeUpload,Wn=sn,!Rn){Tn.next=14;break}return Tn.prev=3,Tn.next=6,Rn(sn,cn);case 6:Wn=Tn.sent,Tn.next=12;break;case 9:Tn.prev=9,Tn.t0=Tn.catch(3),Wn=!1;case 12:if(Wn!==!1){Tn.next=14;break}return Tn.abrupt("return",{origin:sn,parsedFile:null,action:null,data:null});case 14:if(Yn=yt.props.action,typeof Yn!="function"){Tn.next=21;break}return Tn.next=18,Yn(sn);case 18:Hn=Tn.sent,Tn.next=22;break;case 21:Hn=Yn;case 22:if(Ln=yt.props.data,typeof Ln!="function"){Tn.next=29;break}return Tn.next=26,Ln(sn);case 26:kn=Tn.sent,Tn.next=30;break;case 29:kn=Ln;case 30:return Un=((0,ze.Z)(Wn)==="object"||typeof Wn=="string")&&Wn?Wn:sn,Un instanceof File?qn=Un:qn=new File([Un],sn.name,{type:sn.type}),Jn=qn,Jn.uid=sn.uid,Tn.abrupt("return",{origin:sn,data:kn,parsedFile:Jn,action:Hn});case 35:case"end":return Tn.stop()}},fn,null,[[3,9]])}));return function(fn,sn){return ut.apply(this,arguments)}}()),(0,xe.Z)((0,Pe.Z)(yt),"saveFileInput",function(ut){yt.fileInput=ut}),yt}return(0,Te.Z)(ft,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(ht){var Xe=this,Ke=ht.data,ut=ht.origin,fn=ht.action,sn=ht.parsedFile;if(this._isMounted){var cn=this.props,Rn=cn.onStart,Wn=cn.customRequest,Yn=cn.name,Hn=cn.headers,Ln=cn.withCredentials,kn=cn.method,Un=ut.uid,qn=Wn||ct,Jn={action:fn,filename:Yn,data:Ke,file:sn,headers:Hn,withCredentials:Ln,method:kn||"post",onProgress:function(Tn){var tr=Xe.props.onProgress;tr==null||tr(Tn,sn)},onSuccess:function(Tn,tr){var Cn=Xe.props.onSuccess;Cn==null||Cn(Tn,sn,tr),delete Xe.reqs[Un]},onError:function(Tn,tr){var Cn=Xe.props.onError;Cn==null||Cn(Tn,tr,sn),delete Xe.reqs[Un]}};Rn(ut),this.reqs[Un]=qn(Jn)}}},{key:"reset",value:function(){this.setState({uid:bt()})}},{key:"abort",value:function(ht){var Xe=this.reqs;if(ht){var Ke=ht.uid?ht.uid:ht;Xe[Ke]&&Xe[Ke].abort&&Xe[Ke].abort(),delete Xe[Ke]}else Object.keys(Xe).forEach(function(ut){Xe[ut]&&Xe[ut].abort&&Xe[ut].abort(),delete Xe[ut]})}},{key:"render",value:function(){var ht=this.props,Xe=ht.component,Ke=ht.prefixCls,ut=ht.className,fn=ht.classNames,sn=fn===void 0?{}:fn,cn=ht.disabled,Rn=ht.id,Wn=ht.name,Yn=ht.style,Hn=ht.styles,Ln=Hn===void 0?{}:Hn,kn=ht.multiple,Un=ht.accept,qn=ht.capture,Jn=ht.children,$n=ht.directory,Tn=ht.openFileDialogOnClick,tr=ht.onMouseEnter,Cn=ht.onMouseLeave,Gn=ht.hasControlInside,ar=(0,rt.Z)(ht,Be),or=Se()((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ke,!0),"".concat(Ke,"-disabled"),cn),ut,ut)),cr=$n?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},yr=cn?{}:{onClick:Tn?this.onClick:function(){},onKeyDown:Tn?this.onKeyDown:function(){},onMouseEnter:tr,onMouseLeave:Cn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Gn?void 0:"0"};return E.createElement(Xe,(0,Ee.Z)({},yr,{className:or,role:Gn?void 0:"button",style:Yn}),E.createElement("input",(0,Ee.Z)({},(0,Ct.Z)(ar,{aria:!0,data:!0}),{id:Rn,name:Wn,disabled:cn,type:"file",ref:this.saveFileInput,onClick:function(hr){return hr.stopPropagation()},key:this.state.uid,style:(0,At.Z)({display:"none"},Ln.input),className:sn.input,accept:Un},cr,{multiple:kn,onChange:this.onChange},qn!=null?{capture:qn}:{})),Jn)}}]),ft}(E.Component),Je=it;function ue(){}var mt=function(be){(0,he.Z)(ft,be);var _e=(0,Ze.Z)(ft);function ft(){var yt;(0,Ie.Z)(this,ft);for(var ht=arguments.length,Xe=new Array(ht),Ke=0;Ke<ht;Ke++)Xe[Ke]=arguments[Ke];return yt=_e.call.apply(_e,[this].concat(Xe)),(0,xe.Z)((0,Pe.Z)(yt),"uploader",void 0),(0,xe.Z)((0,Pe.Z)(yt),"saveUploader",function(ut){yt.uploader=ut}),yt}return(0,Te.Z)(ft,[{key:"abort",value:function(ht){this.uploader.abort(ht)}},{key:"render",value:function(){return E.createElement(Je,(0,Ee.Z)({},this.props,{ref:this.saveUploader}))}}]),ft}(E.Component);(0,xe.Z)(mt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ue,onError:ue,onSuccess:ue,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Le=mt,qe=Le,Ht=re(18929),we=re(48755),de=re(2171),xt=re(9017),Qt=re(85981),Mt=re(63356),me=re(34961),He=re(16931),Qe=re(51636),jt=re(36237),Kt=be=>{const{componentCls:_e,iconCls:ft}=be;return{[`${_e}-wrapper`]:{[`${_e}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:be.colorFillAlter,border:`${(0,jt.unit)(be.lineWidth)} dashed ${be.colorBorder}`,borderRadius:be.borderRadiusLG,cursor:"pointer",transition:`border-color ${be.motionDurationSlow}`,[_e]:{padding:be.padding},[`${_e}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:be.borderRadiusLG,"&:focus-visible":{outline:`${(0,jt.unit)(be.lineWidthFocus)} solid ${be.colorPrimaryBorder}`}},[`${_e}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${_e}-disabled):hover,
&-hover:not(${_e}-disabled)
`]:{borderColor:be.colorPrimaryHover},[`p${_e}-drag-icon`]:{marginBottom:be.margin,[ft]:{color:be.colorPrimary,fontSize:be.uploadThumbnailSize}},[`p${_e}-text`]:{margin:`0 0 ${(0,jt.unit)(be.marginXXS)}`,color:be.colorTextHeading,fontSize:be.fontSizeLG},[`p${_e}-hint`]:{color:be.colorTextDescription,fontSize:be.fontSize},[`&${_e}-disabled`]:{[`p${_e}-drag-icon ${ft},
p${_e}-text,
p${_e}-hint
`]:{color:be.colorTextDisabled}}}}}},Yt=be=>{const{componentCls:_e,iconCls:ft,fontSize:yt,lineHeight:ht,calc:Xe}=be,Ke=`${_e}-list-item`,ut=`${Ke}-actions`,fn=`${Ke}-action`;return{[`${_e}-wrapper`]:{[`${_e}-list`]:Object.assign(Object.assign({},(0,Mt.dF)()),{lineHeight:be.lineHeight,[Ke]:{position:"relative",height:Xe(be.lineHeight).mul(yt).equal(),marginTop:be.marginXS,fontSize:yt,display:"flex",alignItems:"center",transition:`background-color ${be.motionDurationSlow}`,borderRadius:be.borderRadiusSM,"&:hover":{backgroundColor:be.controlItemBgHover},[`${Ke}-name`]:Object.assign(Object.assign({},Mt.vS),{padding:`0 ${(0,jt.unit)(be.paddingXS)}`,lineHeight:ht,flex:"auto",transition:`all ${be.motionDurationSlow}`}),[ut]:{whiteSpace:"nowrap",[fn]:{opacity:0},[ft]:{color:be.actionsColor,transition:`all ${be.motionDurationSlow}`},[`
${fn}:focus-visible,
&.picture ${fn}
`]:{opacity:1}},[`${_e}-icon ${ft}`]:{color:be.colorTextDescription,fontSize:yt},[`${Ke}-progress`]:{position:"absolute",bottom:be.calc(be.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Xe(yt).add(be.paddingXS).equal(),fontSize:yt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ke}:hover ${fn}`]:{opacity:1},[`${Ke}-error`]:{color:be.colorError,[`${Ke}-name, ${_e}-icon ${ft}`]:{color:be.colorError},[ut]:{[`${ft}, ${ft}:hover`]:{color:be.colorError},[fn]:{opacity:1}}},[`${_e}-list-item-container`]:{transition:`opacity ${be.motionDurationSlow}, height ${be.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},vt=re(99495),te=be=>{const{componentCls:_e}=be,ft=new jt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:be.calc(be.marginXS).div(-2).equal()}}),yt=new jt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:be.calc(be.marginXS).div(-2).equal()}}),ht=`${_e}-animate-inline`;return[{[`${_e}-wrapper`]:{[`${ht}-appear, ${ht}-enter, ${ht}-leave`]:{animationDuration:be.motionDurationSlow,animationTimingFunction:be.motionEaseInOutCirc,animationFillMode:"forwards"},[`${ht}-appear, ${ht}-enter`]:{animationName:ft},[`${ht}-leave`]:{animationName:yt}}},{[`${_e}-wrapper`]:(0,vt.J$)(be)},ft,yt]},ee=re(68361);const oe=be=>{const{componentCls:_e,iconCls:ft,uploadThumbnailSize:yt,uploadProgressOffset:ht,calc:Xe}=be,Ke=`${_e}-list`,ut=`${Ke}-item`;return{[`${_e}-wrapper`]:{[`
${Ke}${Ke}-picture,
${Ke}${Ke}-picture-card,
${Ke}${Ke}-picture-circle
`]:{[ut]:{position:"relative",height:Xe(yt).add(Xe(be.lineWidth).mul(2)).add(Xe(be.paddingXS).mul(2)).equal(),padding:be.paddingXS,border:`${(0,jt.unit)(be.lineWidth)} ${be.lineType} ${be.colorBorder}`,borderRadius:be.borderRadiusLG,"&:hover":{background:"transparent"},[`${ut}-thumbnail`]:Object.assign(Object.assign({},Mt.vS),{width:yt,height:yt,lineHeight:(0,jt.unit)(Xe(yt).add(be.paddingSM).equal()),textAlign:"center",flex:"none",[ft]:{fontSize:be.fontSizeHeading2,color:be.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ut}-progress`]:{bottom:ht,width:`calc(100% - ${(0,jt.unit)(Xe(be.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Xe(yt).add(be.paddingXS).equal()}},[`${ut}-error`]:{borderColor:be.colorError,[`${ut}-thumbnail ${ft}`]:{[`svg path[fill='${ee.blue[0]}']`]:{fill:be.colorErrorBg},[`svg path[fill='${ee.blue.primary}']`]:{fill:be.colorError}}},[`${ut}-uploading`]:{borderStyle:"dashed",[`${ut}-name`]:{marginBottom:ht}}},[`${Ke}${Ke}-picture-circle ${ut}`]:{[`&, &::before, ${ut}-thumbnail`]:{borderRadius:"50%"}}}}},se=be=>{const{componentCls:_e,iconCls:ft,fontSizeLG:yt,colorTextLightSolid:ht,calc:Xe}=be,Ke=`${_e}-list`,ut=`${Ke}-item`,fn=be.uploadPicCardSize;return{[`
${_e}-wrapper${_e}-picture-card-wrapper,
${_e}-wrapper${_e}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Mt.dF)()),{display:"block",[`${_e}${_e}-select`]:{width:fn,height:fn,textAlign:"center",verticalAlign:"top",backgroundColor:be.colorFillAlter,border:`${(0,jt.unit)(be.lineWidth)} dashed ${be.colorBorder}`,borderRadius:be.borderRadiusLG,cursor:"pointer",transition:`border-color ${be.motionDurationSlow}`,[`> ${_e}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${_e}-disabled):hover`]:{borderColor:be.colorPrimary}},[`${Ke}${Ke}-picture-card, ${Ke}${Ke}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:be.marginXS,marginInlineEnd:be.marginXS}},"@supports (gap: 1px)":{gap:be.marginXS},[`${Ke}-item-container`]:{display:"inline-block",width:fn,height:fn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[ut]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,jt.unit)(Xe(be.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,jt.unit)(Xe(be.paddingXS).mul(2).equal())})`,backgroundColor:be.colorBgMask,opacity:0,transition:`all ${be.motionDurationSlow}`,content:'" "'}},[`${ut}:hover`]:{[`&::before, ${ut}-actions`]:{opacity:1}},[`${ut}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${be.motionDurationSlow}`,[`
${ft}-eye,
${ft}-download,
${ft}-delete
`]:{zIndex:10,width:yt,margin:`0 ${(0,jt.unit)(be.marginXXS)}`,fontSize:yt,cursor:"pointer",transition:`all ${be.motionDurationSlow}`,color:ht,"&:hover":{color:ht},svg:{verticalAlign:"baseline"}}},[`${ut}-thumbnail, ${ut}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ut}-name`]:{display:"none",textAlign:"center"},[`${ut}-file + ${ut}-name`]:{position:"absolute",bottom:be.margin,display:"block",width:`calc(100% - ${(0,jt.unit)(Xe(be.paddingXS).mul(2).equal())})`},[`${ut}-uploading`]:{[`&${ut}`]:{backgroundColor:be.colorFillAlter},[`&::before, ${ft}-eye, ${ft}-download, ${ft}-delete`]:{display:"none"}},[`${ut}-progress`]:{bottom:be.marginXL,width:`calc(100% - ${(0,jt.unit)(Xe(be.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${_e}-wrapper${_e}-picture-circle-wrapper`]:{[`${_e}${_e}-select`]:{borderRadius:"50%"}}}};var pe=be=>{const{componentCls:_e}=be;return{[`${_e}-rtl`]:{direction:"rtl"}}};const ye=be=>{const{componentCls:_e,colorTextDisabled:ft}=be;return{[`${_e}-wrapper`]:Object.assign(Object.assign({},(0,Mt.Wf)(be)),{[_e]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${_e}-select`]:{display:"inline-block"},[`${_e}-hidden`]:{display:"none"},[`${_e}-disabled`]:{color:ft,cursor:"not-allowed"}})}},lt=be=>({actionsColor:be.colorTextDescription});var Ae=(0,He.I$)("Upload",be=>{const{fontSizeHeading3:_e,fontHeight:ft,lineWidth:yt,controlHeightLG:ht,calc:Xe}=be,Ke=(0,Qe.mergeToken)(be,{uploadThumbnailSize:Xe(_e).mul(2).equal(),uploadProgressOffset:Xe(Xe(ft).div(2)).add(yt).equal(),uploadPicCardSize:Xe(ht).mul(2.55).equal()});return[ye(Ke),Kt(Ke),oe(Ke),se(Ke),Yt(Ke),te(Ke),pe(Ke),(0,me.Z)(Ke)]},lt),Ne={icon:function(_e,ft){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:ft}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:_e}}]}},name:"file",theme:"twotone"},tt=Ne,Pt=re(7657),Ot=function(_e,ft){return E.createElement(Pt.Z,(0,Ee.Z)({},_e,{ref:ft,icon:tt}))},tn=E.forwardRef(Ot),Ut=tn,Wt=re(58617),ln={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Dt=ln,$t=function(_e,ft){return E.createElement(Pt.Z,(0,Ee.Z)({},_e,{ref:ft,icon:Dt}))},wt=E.forwardRef($t),en=wt,kt={icon:function(_e,ft){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:_e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:ft}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:ft}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:ft}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:_e}}]}},name:"picture",theme:"twotone"},Me=kt,Fe=function(_e,ft){return E.createElement(Pt.Z,(0,Ee.Z)({},_e,{ref:ft,icon:Me}))},Bt=E.forwardRef(Fe),Rt=Bt,Oe=re(77900),Ge=re(2738),dt=re(40192),It=re(86641),qt=re(22703),hn=re(7939);function Dn(be){return Object.assign(Object.assign({},be),{lastModified:be.lastModified,lastModifiedDate:be.lastModifiedDate,name:be.name,size:be.size,type:be.type,uid:be.uid,percent:0,originFileObj:be})}function On(be,_e){const ft=(0,$e.Z)(_e),yt=ft.findIndex(ht=>{let{uid:Xe}=ht;return Xe===be.uid});return yt===-1?ft.push(be):ft[yt]=be,ft}function un(be,_e){const ft=be.uid!==void 0?"uid":"name";return _e.filter(yt=>yt[ft]===be[ft])[0]}function yn(be,_e){const ft=be.uid!==void 0?"uid":"name",yt=_e.filter(ht=>ht[ft]!==be[ft]);return yt.length===_e.length?null:yt}const vn=function(){const _e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),yt=_e[_e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(yt)||[""])[0]},Xt=be=>be.indexOf("image/")===0,Zt=be=>{if(be.type&&!be.thumbUrl)return Xt(be.type);const _e=be.thumbUrl||be.url||"",ft=vn(_e);return/^data:image\//.test(_e)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(ft)?!0:!(/^data:/.test(_e)||ft)},Vt=200;function Et(be){return new Promise(_e=>{if(!be.type||!Xt(be.type)){_e("");return}const ft=document.createElement("canvas");ft.width=Vt,ft.height=Vt,ft.style.cssText=`position: fixed; left: 0; top: 0; width: ${Vt}px; height: ${Vt}px; z-index: 9999; display: none;`,document.body.appendChild(ft);const yt=ft.getContext("2d"),ht=new Image;if(ht.onload=()=>{const{width:Xe,height:Ke}=ht;let ut=Vt,fn=Vt,sn=0,cn=0;Xe>Ke?(fn=Ke*(Vt/Xe),cn=-(fn-ut)/2):(ut=Xe*(Vt/Ke),sn=-(ut-fn)/2),yt.drawImage(ht,sn,cn,ut,fn);const Rn=ft.toDataURL();document.body.removeChild(ft),window.URL.revokeObjectURL(ht.src),_e(Rn)},ht.crossOrigin="anonymous",be.type.startsWith("image/svg+xml")){const Xe=new FileReader;Xe.onload=()=>{Xe.result&&typeof Xe.result=="string"&&(ht.src=Xe.result)},Xe.readAsDataURL(be)}else if(be.type.startsWith("image/gif")){const Xe=new FileReader;Xe.onload=()=>{Xe.result&&_e(Xe.result)},Xe.readAsDataURL(be)}else ht.src=window.URL.createObjectURL(be)})}var on=re(26227),an=re(41464),rn=re(15277),En=re(89787),Mn=re(25399),Fn=E.forwardRef((be,_e)=>{let{prefixCls:ft,className:yt,style:ht,locale:Xe,listType:Ke,file:ut,items:fn,progress:sn,iconRender:cn,actionIconRender:Rn,itemRender:Wn,isImgUrl:Yn,showPreviewIcon:Hn,showRemoveIcon:Ln,showDownloadIcon:kn,previewIcon:Un,removeIcon:qn,downloadIcon:Jn,extra:$n,onPreview:Tn,onDownload:tr,onClose:Cn}=be;var Gn,ar;const{status:or}=ut,[cr,yr]=E.useState(or);E.useEffect(()=>{or!=="removed"&&yr(or)},[or]);const[dr,hr]=E.useState(!1);E.useEffect(()=>{const mn=setTimeout(()=>{hr(!0)},300);return()=>{clearTimeout(mn)}},[]);const rr=cn(ut);let mr=E.createElement("div",{className:`${ft}-icon`},rr);if(Ke==="picture"||Ke==="picture-card"||Ke==="picture-circle")if(cr==="uploading"||!ut.thumbUrl&&!ut.url){const mn=Se()(`${ft}-list-item-thumbnail`,{[`${ft}-list-item-file`]:cr!=="uploading"});mr=E.createElement("div",{className:mn},rr)}else{const mn=Yn!=null&&Yn(ut)?E.createElement("img",{src:ut.thumbUrl||ut.url,alt:ut.name,className:`${ft}-list-item-image`,crossOrigin:ut.crossOrigin}):rr,Nn=Se()(`${ft}-list-item-thumbnail`,{[`${ft}-list-item-file`]:Yn&&!Yn(ut)});mr=E.createElement("a",{className:Nn,onClick:Zn=>Tn(ut,Zn),href:ut.url||ut.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mn)}const br=Se()(`${ft}-list-item`,`${ft}-list-item-${cr}`),Hr=typeof ut.linkProps=="string"?JSON.parse(ut.linkProps):ut.linkProps,Er=(typeof Ln=="function"?Ln(ut):Ln)?Rn((typeof qn=="function"?qn(ut):qn)||E.createElement(on.Z,null),()=>Cn(ut),ft,Xe.removeFile,!0):null,Tr=(typeof kn=="function"?kn(ut):kn)&&cr==="done"?Rn((typeof Jn=="function"?Jn(ut):Jn)||E.createElement(an.Z,null),()=>tr(ut),ft,Xe.downloadFile):null,Pr=Ke!=="picture-card"&&Ke!=="picture-circle"&&E.createElement("span",{key:"download-delete",className:Se()(`${ft}-list-item-actions`,{picture:Ke==="picture"})},Tr,Er),Dr=typeof $n=="function"?$n(ut):$n,sr=Dr&&E.createElement("span",{className:`${ft}-list-item-extra`},Dr),lr=Se()(`${ft}-list-item-name`),nr=ut.url?E.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:lr,title:ut.name},Hr,{href:ut.url,onClick:mn=>Tn(ut,mn)}),ut.name,sr):E.createElement("span",{key:"view",className:lr,onClick:mn=>Tn(ut,mn),title:ut.name},ut.name,sr),gn=(typeof Hn=="function"?Hn(ut):Hn)&&(ut.url||ut.thumbUrl)?E.createElement("a",{href:ut.url||ut.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:mn=>Tn(ut,mn),title:Xe.previewFile},typeof Un=="function"?Un(ut):Un||E.createElement(rn.Z,null)):null,Bn=(Ke==="picture-card"||Ke==="picture-circle")&&cr!=="uploading"&&E.createElement("span",{className:`${ft}-list-item-actions`},gn,cr==="done"&&Tr,Er),{getPrefixCls:Pn}=E.useContext(we.E_),pn=Pn(),Xn=E.createElement("div",{className:br},mr,nr,Pr,Bn,dr&&E.createElement(Oe.default,{motionName:`${pn}-fade`,visible:cr==="uploading",motionDeadline:2e3},mn=>{let{className:Nn}=mn;const Zn="percent"in ut?E.createElement(En.Z,Object.assign({},sn,{type:"line",percent:ut.percent,"aria-label":ut["aria-label"],"aria-labelledby":ut["aria-labelledby"]})):null;return E.createElement("div",{className:Se()(`${ft}-list-item-progress`,Nn)},Zn)})),Qn=ut.response&&typeof ut.response=="string"?ut.response:((Gn=ut.error)===null||Gn===void 0?void 0:Gn.statusText)||((ar=ut.error)===null||ar===void 0?void 0:ar.message)||Xe.uploadError,wn=cr==="error"?E.createElement(Mn.Z,{title:Qn,getPopupContainer:mn=>mn.parentNode},Xn):Xn;return E.createElement("div",{className:Se()(`${ft}-list-item-container`,yt),style:ht,ref:_e},Wn?Wn(wn,ut,fn,{download:tr.bind(null,ut),preview:Tn.bind(null,ut),remove:Cn.bind(null,ut)}):wn)});const In=(be,_e)=>{const{listType:ft="text",previewFile:yt=Et,onPreview:ht,onDownload:Xe,onRemove:Ke,locale:ut,iconRender:fn,isImageUrl:sn=Zt,prefixCls:cn,items:Rn=[],showPreviewIcon:Wn=!0,showRemoveIcon:Yn=!0,showDownloadIcon:Hn=!1,removeIcon:Ln,previewIcon:kn,downloadIcon:Un,extra:qn,progress:Jn={size:[-1,2],showInfo:!1},appendAction:$n,appendActionVisible:Tn=!0,itemRender:tr,disabled:Cn}=be,Gn=(0,dt.Z)(),[ar,or]=E.useState(!1),cr=["picture-card","picture-circle"].includes(ft);E.useEffect(()=>{ft.startsWith("picture")&&(Rn||[]).forEach(sr=>{!(sr.originFileObj instanceof File||sr.originFileObj instanceof Blob)||sr.thumbUrl!==void 0||(sr.thumbUrl="",yt==null||yt(sr.originFileObj).then(lr=>{sr.thumbUrl=lr||"",Gn()}))})},[ft,Rn,yt]),E.useEffect(()=>{or(!0)},[]);const yr=(sr,lr)=>{if(ht)return lr==null||lr.preventDefault(),ht(sr)},dr=sr=>{typeof Xe=="function"?Xe(sr):sr.url&&window.open(sr.url)},hr=sr=>{Ke==null||Ke(sr)},rr=sr=>{if(fn)return fn(sr,ft);const lr=sr.status==="uploading";if(ft.startsWith("picture")){const nr=ft==="picture"?E.createElement(Wt.Z,null):ut.uploading,gn=sn!=null&&sn(sr)?E.createElement(Rt,null):E.createElement(Ut,null);return lr?nr:gn}return lr?E.createElement(Wt.Z,null):E.createElement(en,null)},mr=(sr,lr,nr,gn,Bn)=>{const Pn={type:"text",size:"small",title:gn,onClick:pn=>{var Xn,Qn;lr(),E.isValidElement(sr)&&((Qn=(Xn=sr.props).onClick)===null||Qn===void 0||Qn.call(Xn,pn))},className:`${nr}-list-item-action`};return Bn&&(Pn.disabled=Cn),E.isValidElement(sr)?E.createElement(hn.ZP,Object.assign({},Pn,{icon:(0,qt.Tm)(sr,Object.assign(Object.assign({},sr.props),{onClick:()=>{}}))})):E.createElement(hn.ZP,Object.assign({},Pn),E.createElement("span",null,sr))};E.useImperativeHandle(_e,()=>({handlePreview:yr,handleDownload:dr}));const{getPrefixCls:br}=E.useContext(we.E_),Hr=br("upload",cn),Er=br(),Tr=Se()(`${Hr}-list`,`${Hr}-list-${ft}`),Pr=E.useMemo(()=>(0,Ge.Z)((0,It.Z)(Er),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Er]),Dr=Object.assign(Object.assign({},cr?{}:Pr),{motionDeadline:2e3,motionName:`${Hr}-${cr?"animate-inline":"animate"}`,keys:(0,$e.Z)(Rn.map(sr=>({key:sr.uid,file:sr}))),motionAppear:ar});return E.createElement("div",{className:Tr},E.createElement(Oe.CSSMotionList,Object.assign({},Dr,{component:!1}),sr=>{let{key:lr,file:nr,className:gn,style:Bn}=sr;return E.createElement(Fn,{key:lr,locale:ut,prefixCls:Hr,className:gn,style:Bn,file:nr,items:Rn,progress:Jn,listType:ft,isImgUrl:sn,showPreviewIcon:Wn,showRemoveIcon:Yn,showDownloadIcon:Hn,removeIcon:Ln,previewIcon:kn,downloadIcon:Un,extra:qn,iconRender:rr,actionIconRender:mr,itemRender:tr,onPreview:yr,onDownload:dr,onClose:hr})}),$n&&E.createElement(Oe.default,Object.assign({},Dr,{visible:Tn,forceRender:!0}),sr=>{let{className:lr,style:nr}=sr;return(0,qt.Tm)($n,gn=>({className:Se()(gn.className,lr),style:Object.assign(Object.assign(Object.assign({},nr),{pointerEvents:lr?"none":void 0}),gn.style)}))}))};var Vn=E.forwardRef(In),zt=function(be,_e,ft,yt){function ht(Xe){return Xe instanceof ft?Xe:new ft(function(Ke){Ke(Xe)})}return new(ft||(ft=Promise))(function(Xe,Ke){function ut(cn){try{sn(yt.next(cn))}catch(Rn){Ke(Rn)}}function fn(cn){try{sn(yt.throw(cn))}catch(Rn){Ke(Rn)}}function sn(cn){cn.done?Xe(cn.value):ht(cn.value).then(ut,fn)}sn((yt=yt.apply(be,_e||[])).next())})};const nn=`__LIST_IGNORE_${Date.now()}__`,bn=(be,_e)=>{const{fileList:ft,defaultFileList:yt,onRemove:ht,showUploadList:Xe=!0,listType:Ke="text",onPreview:ut,onDownload:fn,onChange:sn,onDrop:cn,previewFile:Rn,disabled:Wn,locale:Yn,iconRender:Hn,isImageUrl:Ln,progress:kn,prefixCls:Un,className:qn,type:Jn="select",children:$n,style:Tn,itemRender:tr,maxCount:Cn,data:Gn={},multiple:ar=!1,hasControlInside:or=!0,action:cr="",accept:yr="",supportServerRender:dr=!0,rootClassName:hr}=be,rr=E.useContext(de.Z),mr=Wn!=null?Wn:rr,[br,Hr]=(0,Ht.Z)(yt||[],{value:ft,postState:xr=>xr!=null?xr:[]}),[Er,Tr]=E.useState("drop"),Pr=E.useRef(null),Dr=E.useRef(null);E.useMemo(()=>{const xr=Date.now();(ft||[]).forEach((zr,Gr)=>{!zr.uid&&!Object.isFrozen(zr)&&(zr.uid=`__AUTO__${xr}_${Gr}__`)})},[ft]);const sr=(xr,zr,Gr)=>{let wr=(0,$e.Z)(zr),Nr=!1;Cn===1?wr=wr.slice(-1):Cn&&(Nr=wr.length>Cn,wr=wr.slice(0,Cn)),(0,ve.flushSync)(()=>{Hr(wr)});const Lr={file:xr,fileList:wr};Gr&&(Lr.event=Gr),(!Nr||xr.status==="removed"||wr.some(ui=>ui.uid===xr.uid))&&(0,ve.flushSync)(()=>{sn==null||sn(Lr)})},lr=(xr,zr)=>zt(void 0,void 0,void 0,function*(){const{beforeUpload:Gr,transformFile:wr}=be;let Nr=xr;if(Gr){const Lr=yield Gr(xr,zr);if(Lr===!1)return!1;if(delete xr[nn],Lr===nn)return Object.defineProperty(xr,nn,{value:!0,configurable:!0}),!1;typeof Lr=="object"&&Lr&&(Nr=Lr)}return wr&&(Nr=yield wr(Nr)),Nr}),nr=xr=>{const zr=xr.filter(Nr=>!Nr.file[nn]);if(!zr.length)return;const Gr=zr.map(Nr=>Dn(Nr.file));let wr=(0,$e.Z)(br);Gr.forEach(Nr=>{wr=On(Nr,wr)}),Gr.forEach((Nr,Lr)=>{let ui=Nr;if(zr[Lr].parsedFile)Nr.status="uploading";else{const{originFileObj:Di}=Nr;let fi;try{fi=new File([Di],Di.name,{type:Di.type})}catch(ni){fi=new Blob([Di],{type:Di.type}),fi.name=Di.name,fi.lastModifiedDate=new Date,fi.lastModified=new Date().getTime()}fi.uid=Nr.uid,ui=fi}sr(ui,wr)})},gn=(xr,zr,Gr)=>{try{typeof xr=="string"&&(xr=JSON.parse(xr))}catch(Lr){}if(!un(zr,br))return;const wr=Dn(zr);wr.status="done",wr.percent=100,wr.response=xr,wr.xhr=Gr;const Nr=On(wr,br);sr(wr,Nr)},Bn=(xr,zr)=>{if(!un(zr,br))return;const Gr=Dn(zr);Gr.status="uploading",Gr.percent=xr.percent;const wr=On(Gr,br);sr(Gr,wr,xr)},Pn=(xr,zr,Gr)=>{if(!un(Gr,br))return;const wr=Dn(Gr);wr.error=xr,wr.response=zr,wr.status="error";const Nr=On(wr,br);sr(wr,Nr)},pn=xr=>{let zr;Promise.resolve(typeof ht=="function"?ht(xr):ht).then(Gr=>{var wr;if(Gr===!1)return;const Nr=yn(xr,br);Nr&&(zr=Object.assign(Object.assign({},xr),{status:"removed"}),br==null||br.forEach(Lr=>{const ui=zr.uid!==void 0?"uid":"name";Lr[ui]===zr[ui]&&!Object.isFrozen(Lr)&&(Lr.status="removed")}),(wr=Pr.current)===null||wr===void 0||wr.abort(zr),sr(zr,Nr))})},Xn=xr=>{Tr(xr.type),xr.type==="drop"&&(cn==null||cn(xr))};E.useImperativeHandle(_e,()=>({onBatchStart:nr,onSuccess:gn,onProgress:Bn,onError:Pn,fileList:br,upload:Pr.current,nativeElement:Dr.current}));const{getPrefixCls:Qn,direction:wn,upload:mn}=E.useContext(we.E_),Nn=Qn("upload",Un),Zn=Object.assign(Object.assign({onBatchStart:nr,onError:Pn,onProgress:Bn,onSuccess:gn},be),{data:Gn,multiple:ar,action:cr,accept:yr,supportServerRender:dr,prefixCls:Nn,disabled:mr,beforeUpload:lr,onChange:void 0,hasControlInside:or});delete Zn.className,delete Zn.style,(!$n||mr)&&delete Zn.id;const fr=`${Nn}-wrapper`,[Mr,Or,Fr]=Ae(Nn,fr),[kr]=(0,xt.Z)("Upload",Qt.Z.Upload),{showRemoveIcon:Rr,showPreviewIcon:Xr,showDownloadIcon:jr,removeIcon:Yr,previewIcon:ti,downloadIcon:Ei,extra:Ni}=typeof Xe=="boolean"?{}:Xe,xi=typeof Rr=="undefined"?!mr:Rr,si=(xr,zr)=>Xe?E.createElement(Vn,{prefixCls:Nn,listType:Ke,items:br,previewFile:Rn,onPreview:ut,onDownload:fn,onRemove:pn,showRemoveIcon:xi,showPreviewIcon:Xr,showDownloadIcon:jr,removeIcon:Yr,previewIcon:ti,downloadIcon:Ei,iconRender:Hn,extra:Ni,locale:Object.assign(Object.assign({},kr),Yn),isImageUrl:Ln,progress:kn,appendAction:xr,appendActionVisible:zr,itemRender:tr,disabled:mr}):xr,Fi=Se()(fr,qn,hr,Or,Fr,mn==null?void 0:mn.className,{[`${Nn}-rtl`]:wn==="rtl",[`${Nn}-picture-card-wrapper`]:Ke==="picture-card",[`${Nn}-picture-circle-wrapper`]:Ke==="picture-circle"}),Wr=Object.assign(Object.assign({},mn==null?void 0:mn.style),Tn);if(Jn==="drag"){const xr=Se()(Or,Nn,`${Nn}-drag`,{[`${Nn}-drag-uploading`]:br.some(zr=>zr.status==="uploading"),[`${Nn}-drag-hover`]:Er==="dragover",[`${Nn}-disabled`]:mr,[`${Nn}-rtl`]:wn==="rtl"});return Mr(E.createElement("span",{className:Fi,ref:Dr},E.createElement("div",{className:xr,style:Wr,onDrop:Xn,onDragOver:Xn,onDragLeave:Xn},E.createElement(qe,Object.assign({},Zn,{ref:Pr,className:`${Nn}-btn`}),E.createElement("div",{className:`${Nn}-drag-container`},$n))),si()))}const Ki=Se()(Nn,`${Nn}-select`,{[`${Nn}-disabled`]:mr,[`${Nn}-hidden`]:!$n}),_r=E.createElement("div",{className:Ki},E.createElement(qe,Object.assign({},Zn,{ref:Pr})));return Mr(Ke==="picture-card"||Ke==="picture-circle"?E.createElement("span",{className:Fi,ref:Dr},si(_r,!!$n)):E.createElement("span",{className:Fi,ref:Dr},_r,si()))};var ke=E.forwardRef(bn),nt=function(be,_e){var ft={};for(var yt in be)Object.prototype.hasOwnProperty.call(be,yt)&&_e.indexOf(yt)<0&&(ft[yt]=be[yt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,yt=Object.getOwnPropertySymbols(be);ht<yt.length;ht++)_e.indexOf(yt[ht])<0&&Object.prototype.propertyIsEnumerable.call(be,yt[ht])&&(ft[yt[ht]]=be[yt[ht]]);return ft},Re=E.forwardRef((be,_e)=>{var{style:ft,height:yt,hasControlInside:ht=!1}=be,Xe=nt(be,["style","height","hasControlInside"]);return E.createElement(ke,Object.assign({ref:_e,hasControlInside:ht},Xe,{type:"drag",style:Object.assign(Object.assign({},ft),{height:yt})}))});const De=ke;De.Dragger=Re,De.LIST_IGNORE=nn;var Ve=De},99498:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){E.defineOption("placeholder","",function(Te,Pe,he){var Ze=he&&he!=E.Init;if(Pe&&!Ze)Te.on("blur",Se),Te.on("change",Ee),Te.on("swapDoc",Ee),E.on(Te.getInputField(),"compositionupdate",Te.state.placeholderCompose=function(){Ye(Te)}),Ee(Te);else if(!Pe&&Ze){Te.off("blur",Se),Te.off("change",Ee),Te.off("swapDoc",Ee),E.off(Te.getInputField(),"compositionupdate",Te.state.placeholderCompose),$e(Te);var xe=Te.getWrapperElement();xe.className=xe.className.replace(" CodeMirror-empty","")}Pe&&!Te.hasFocus()&&Se(Te)});function $e(Te){Te.state.placeholder&&(Te.state.placeholder.parentNode.removeChild(Te.state.placeholder),Te.state.placeholder=null)}function ve(Te){$e(Te);var Pe=Te.state.placeholder=document.createElement("pre");Pe.style.cssText="height: 0; overflow: visible",Pe.style.direction=Te.getOption("direction"),Pe.className="CodeMirror-placeholder CodeMirror-line-like";var he=Te.getOption("placeholder");typeof he=="string"&&(he=document.createTextNode(he)),Pe.appendChild(he),Te.display.lineSpace.insertBefore(Pe,Te.display.lineSpace.firstChild)}function Ye(Te){setTimeout(function(){var Pe=!1,he=Te.getInputField();he.nodeName=="TEXTAREA"?Pe=!he.value:Te.lineCount()==1&&(Pe=!/[^\u200b]/.test(he.querySelector(".CodeMirror-line").textContent)),Pe?ve(Te):$e(Te)},20)}function Se(Te){Ie(Te)&&ve(Te)}function Ee(Te){var Pe=Te.getWrapperElement(),he=Ie(Te);Pe.className=Pe.className.replace(" CodeMirror-empty","")+(he?" CodeMirror-empty":""),he?ve(Te):$e(Te)}function Ie(Te){return Te.lineCount()===1&&Te.getLine(0)===""}})},25717:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){var $e={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ve=E.Pos;E.defineOption("autoCloseBrackets",!1,function(ze,Ue,We){We&&We!=E.Init&&(ze.removeKeyMap(Se),ze.state.closeBrackets=null),Ue&&(Ee(Ye(Ue,"pairs")),ze.state.closeBrackets=Ue,ze.addKeyMap(Se))});function Ye(ze,Ue){return Ue=="pairs"&&typeof ze=="string"?ze:typeof ze=="object"&&ze[Ue]!=null?ze[Ue]:$e[Ue]}var Se={Backspace:Pe,Enter:he};function Ee(ze){for(var Ue=0;Ue<ze.length;Ue++){var We=ze.charAt(Ue),Ct="'"+We+"'";Se[Ct]||(Se[Ct]=Ie(We))}}Ee($e.pairs+"`");function Ie(ze){return function(Ue){return xe(Ue,ze)}}function Te(ze){var Ue=ze.state.closeBrackets;if(!Ue||Ue.override)return Ue;var We=ze.getModeAt(ze.getCursor());return We.closeBrackets||Ue}function Pe(ze){var Ue=Te(ze);if(!Ue||ze.getOption("disableInput"))return E.Pass;for(var We=Ye(Ue,"pairs"),Ct=ze.listSelections(),Nt=0;Nt<Ct.length;Nt++){if(!Ct[Nt].empty())return E.Pass;var Ft=At(ze,Ct[Nt].head);if(!Ft||We.indexOf(Ft)%2!=0)return E.Pass}for(var Nt=Ct.length-1;Nt>=0;Nt--){var St=Ct[Nt].head;ze.replaceRange("",ve(St.line,St.ch-1),ve(St.line,St.ch+1),"+delete")}}function he(ze){var Ue=Te(ze),We=Ue&&Ye(Ue,"explode");if(!We||ze.getOption("disableInput"))return E.Pass;for(var Ct=ze.listSelections(),Nt=0;Nt<Ct.length;Nt++){if(!Ct[Nt].empty())return E.Pass;var Ft=At(ze,Ct[Nt].head);if(!Ft||We.indexOf(Ft)%2!=0)return E.Pass}ze.operation(function(){var St=ze.lineSeparator()||`
`;ze.replaceSelection(St+St,null),ze.execCommand("goCharLeft"),Ct=ze.listSelections();for(var pt=0;pt<Ct.length;pt++){var ct=Ct[pt].head.line;ze.indentLine(ct,null,!0),ze.indentLine(ct+1,null,!0)}})}function Ze(ze){var Ue=E.cmpPos(ze.anchor,ze.head)>0;return{anchor:new ve(ze.anchor.line,ze.anchor.ch+(Ue?-1:1)),head:new ve(ze.head.line,ze.head.ch+(Ue?1:-1))}}function xe(ze,Ue){var We=Te(ze);if(!We||ze.getOption("disableInput"))return E.Pass;var Ct=Ye(We,"pairs"),Nt=Ct.indexOf(Ue);if(Nt==-1)return E.Pass;for(var Ft=Ye(We,"closeBefore"),St=Ye(We,"triples"),pt=Ct.charAt(Nt+1)==Ue,ct=ze.listSelections(),et=Nt%2==0,Tt,st=0;st<ct.length;st++){var at=ct[st],bt=at.head,Be,it=ze.getRange(bt,ve(bt.line,bt.ch+1));if(et&&!at.empty())Be="surround";else if((pt||!et)&&it==Ue)pt&&rt(ze,bt)?Be="both":St.indexOf(Ue)>=0&&ze.getRange(bt,ve(bt.line,bt.ch+3))==Ue+Ue+Ue?Be="skipThree":Be="skip";else if(pt&&bt.ch>1&&St.indexOf(Ue)>=0&&ze.getRange(ve(bt.line,bt.ch-2),bt)==Ue+Ue){if(bt.ch>2&&/\bstring/.test(ze.getTokenTypeAt(ve(bt.line,bt.ch-2))))return E.Pass;Be="addFour"}else if(pt){var Je=bt.ch==0?" ":ze.getRange(ve(bt.line,bt.ch-1),bt);if(!E.isWordChar(it)&&Je!=Ue&&!E.isWordChar(Je))Be="both";else return E.Pass}else if(et&&(it.length===0||/\s/.test(it)||Ft.indexOf(it)>-1))Be="both";else return E.Pass;if(!Tt)Tt=Be;else if(Tt!=Be)return E.Pass}var ue=Nt%2?Ct.charAt(Nt-1):Ue,mt=Nt%2?Ue:Ct.charAt(Nt+1);ze.operation(function(){if(Tt=="skip")ze.execCommand("goCharRight");else if(Tt=="skipThree")for(var Le=0;Le<3;Le++)ze.execCommand("goCharRight");else if(Tt=="surround"){for(var qe=ze.getSelections(),Le=0;Le<qe.length;Le++)qe[Le]=ue+qe[Le]+mt;ze.replaceSelections(qe,"around"),qe=ze.listSelections().slice();for(var Le=0;Le<qe.length;Le++)qe[Le]=Ze(qe[Le]);ze.setSelections(qe)}else Tt=="both"?(ze.replaceSelection(ue+mt,null),ze.triggerElectric(ue+mt),ze.execCommand("goCharLeft")):Tt=="addFour"&&(ze.replaceSelection(ue+ue+ue+ue,"before"),ze.execCommand("goCharRight"))})}function At(ze,Ue){var We=ze.getRange(ve(Ue.line,Ue.ch-1),ve(Ue.line,Ue.ch+1));return We.length==2?We:null}function rt(ze,Ue){var We=ze.getTokenAt(ve(Ue.line,Ue.ch+1));return/\bstring/.test(We.type)&&We.start==Ue.ch&&(Ue.ch==0||!/\bstring/.test(ze.getTokenTypeAt(Ue)))}})},6313:function(dn,Jt,re){(function(E){E(re(89780),re(32855))})(function(E){E.defineOption("autoCloseTags",!1,function(Pe,he,Ze){if(Ze!=E.Init&&Ze&&Pe.removeKeyMap("autoCloseTags"),!!he){var xe={name:"autoCloseTags"};(typeof he!="object"||he.whenClosing!==!1)&&(xe["'/'"]=function(At){return Ee(At)}),(typeof he!="object"||he.whenOpening!==!1)&&(xe["'>'"]=function(At){return Ye(At)}),Pe.addKeyMap(xe)}});var $e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ve=["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 Ye(Pe){if(Pe.getOption("disableInput"))return E.Pass;for(var he=Pe.listSelections(),Ze=[],xe=Pe.getOption("autoCloseTags"),At=0;At<he.length;At++){if(!he[At].empty())return E.Pass;var rt=he[At].head,ze=Pe.getTokenAt(rt),Ue=E.innerMode(Pe.getMode(),ze.state),We=Ue.state,Ct=Ue.mode.xmlCurrentTag&&Ue.mode.xmlCurrentTag(We),Nt=Ct&&Ct.name;if(!Nt)return E.Pass;var Ft=Ue.mode.configuration=="html",St=typeof xe=="object"&&xe.dontCloseTags||Ft&&$e,pt=typeof xe=="object"&&xe.indentTags||Ft&&ve;ze.end>rt.ch&&(Nt=Nt.slice(0,Nt.length-ze.end+rt.ch));var ct=Nt.toLowerCase();if(!Nt||ze.type=="string"&&(ze.end!=rt.ch||!/[\"\']/.test(ze.string.charAt(ze.string.length-1))||ze.string.length==1)||ze.type=="tag"&&Ct.close||ze.string.indexOf("/")==rt.ch-ze.start-1||St&&Ie(St,ct)>-1||Te(Pe,Ue.mode.xmlCurrentContext&&Ue.mode.xmlCurrentContext(We)||[],Nt,rt,!0))return E.Pass;var et=typeof xe=="object"&&xe.emptyTags;if(et&&Ie(et,Nt)>-1){Ze[At]={text:"/>",newPos:E.Pos(rt.line,rt.ch+2)};continue}var Tt=pt&&Ie(pt,ct)>-1;Ze[At]={indent:Tt,text:">"+(Tt?`
`:"")+"</"+Nt+">",newPos:Tt?E.Pos(rt.line+1,0):E.Pos(rt.line,rt.ch+1)}}for(var st=typeof xe=="object"&&xe.dontIndentOnAutoClose,At=he.length-1;At>=0;At--){var at=Ze[At];Pe.replaceRange(at.text,he[At].head,he[At].anchor,"+insert");var bt=Pe.listSelections().slice(0);bt[At]={head:at.newPos,anchor:at.newPos},Pe.setSelections(bt),!st&&at.indent&&(Pe.indentLine(at.newPos.line,null,!0),Pe.indentLine(at.newPos.line+1,null,!0))}}function Se(Pe,he){for(var Ze=Pe.listSelections(),xe=[],At=he?"/":"</",rt=Pe.getOption("autoCloseTags"),ze=typeof rt=="object"&&rt.dontIndentOnSlash,Ue=0;Ue<Ze.length;Ue++){if(!Ze[Ue].empty())return E.Pass;var We=Ze[Ue].head,Ct=Pe.getTokenAt(We),Nt=E.innerMode(Pe.getMode(),Ct.state),Ft=Nt.state;if(he&&(Ct.type=="string"||Ct.string.charAt(0)!="<"||Ct.start!=We.ch-1))return E.Pass;var St,pt=Nt.mode.name!="xml"&&Pe.getMode().name=="htmlmixed";if(pt&&Nt.mode.name=="javascript")St=At+"script";else if(pt&&Nt.mode.name=="css")St=At+"style";else{var ct=Nt.mode.xmlCurrentContext&&Nt.mode.xmlCurrentContext(Ft);if(!ct||ct.length&&Te(Pe,ct,ct[ct.length-1],We))return E.Pass;St=At+ct[ct.length-1]}Pe.getLine(We.line).charAt(Ct.end)!=">"&&(St+=">"),xe[Ue]=St}if(Pe.replaceSelections(xe),Ze=Pe.listSelections(),!ze)for(var Ue=0;Ue<Ze.length;Ue++)(Ue==Ze.length-1||Ze[Ue].head.line<Ze[Ue+1].head.line)&&Pe.indentLine(Ze[Ue].head.line)}function Ee(Pe){return Pe.getOption("disableInput")?E.Pass:Se(Pe,!0)}E.commands.closeTag=function(Pe){return Se(Pe)};function Ie(Pe,he){if(Pe.indexOf)return Pe.indexOf(he);for(var Ze=0,xe=Pe.length;Ze<xe;++Ze)if(Pe[Ze]==he)return Ze;return-1}function Te(Pe,he,Ze,xe,At){if(!E.scanForClosingTag)return!1;var rt=Math.min(Pe.lastLine()+1,xe.line+500),ze=E.scanForClosingTag(Pe,xe,null,rt);if(!ze||ze.tag!=Ze)return!1;for(var Ue=At?1:0,We=he.length-1;We>=0&&he[We]==Ze;We--)++Ue;xe=ze.to;for(var We=1;We<Ue;We++){var Ct=E.scanForClosingTag(Pe,xe,null,rt);if(!Ct||Ct.tag!=Ze)return!1;xe=Ct.to}return!0}})},32855:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){"use strict";var $e=E.Pos;function ve(We,Ct){return We.line-Ct.line||We.ch-Ct.ch}var Ye="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=Ye+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ee=new RegExp("<(/?)(["+Ye+"]["+Se+"]*)","g");function Ie(We,Ct,Nt,Ft){this.line=Ct,this.ch=Nt,this.cm=We,this.text=We.getLine(Ct),this.min=Ft?Math.max(Ft.from,We.firstLine()):We.firstLine(),this.max=Ft?Math.min(Ft.to-1,We.lastLine()):We.lastLine()}function Te(We,Ct){var Nt=We.cm.getTokenTypeAt($e(We.line,Ct));return Nt&&/\btag\b/.test(Nt)}function Pe(We){if(!(We.line>=We.max))return We.ch=0,We.text=We.cm.getLine(++We.line),!0}function he(We){if(!(We.line<=We.min))return We.text=We.cm.getLine(--We.line),We.ch=We.text.length,!0}function Ze(We){for(;;){var Ct=We.text.indexOf(">",We.ch);if(Ct==-1){if(Pe(We))continue;return}if(!Te(We,Ct+1)){We.ch=Ct+1;continue}var Nt=We.text.lastIndexOf("/",Ct),Ft=Nt>-1&&!/\S/.test(We.text.slice(Nt+1,Ct));return We.ch=Ct+1,Ft?"selfClose":"regular"}}function xe(We){for(;;){var Ct=We.ch?We.text.lastIndexOf("<",We.ch-1):-1;if(Ct==-1){if(he(We))continue;return}if(!Te(We,Ct+1)){We.ch=Ct;continue}Ee.lastIndex=Ct,We.ch=Ct;var Nt=Ee.exec(We.text);if(Nt&&Nt.index==Ct)return Nt}}function At(We){for(;;){Ee.lastIndex=We.ch;var Ct=Ee.exec(We.text);if(!Ct){if(Pe(We))continue;return}if(!Te(We,Ct.index+1)){We.ch=Ct.index+1;continue}return We.ch=Ct.index+Ct[0].length,Ct}}function rt(We){for(;;){var Ct=We.ch?We.text.lastIndexOf(">",We.ch-1):-1;if(Ct==-1){if(he(We))continue;return}if(!Te(We,Ct+1)){We.ch=Ct;continue}var Nt=We.text.lastIndexOf("/",Ct),Ft=Nt>-1&&!/\S/.test(We.text.slice(Nt+1,Ct));return We.ch=Ct+1,Ft?"selfClose":"regular"}}function ze(We,Ct){for(var Nt=[];;){var Ft=At(We),St,pt=We.line,ct=We.ch-(Ft?Ft[0].length:0);if(!Ft||!(St=Ze(We)))return;if(St!="selfClose")if(Ft[1]){for(var et=Nt.length-1;et>=0;--et)if(Nt[et]==Ft[2]){Nt.length=et;break}if(et<0&&(!Ct||Ct==Ft[2]))return{tag:Ft[2],from:$e(pt,ct),to:$e(We.line,We.ch)}}else Nt.push(Ft[2])}}function Ue(We,Ct){for(var Nt=[];;){var Ft=rt(We);if(!Ft)return;if(Ft=="selfClose"){xe(We);continue}var St=We.line,pt=We.ch,ct=xe(We);if(!ct)return;if(ct[1])Nt.push(ct[2]);else{for(var et=Nt.length-1;et>=0;--et)if(Nt[et]==ct[2]){Nt.length=et;break}if(et<0&&(!Ct||Ct==ct[2]))return{tag:ct[2],from:$e(We.line,We.ch),to:$e(St,pt)}}}}E.registerHelper("fold","xml",function(We,Ct){for(var Nt=new Ie(We,Ct.line,0);;){var Ft=At(Nt);if(!Ft||Nt.line!=Ct.line)return;var St=Ze(Nt);if(!St)return;if(!Ft[1]&&St!="selfClose"){var pt=$e(Nt.line,Nt.ch),ct=ze(Nt,Ft[2]);return ct&&ve(ct.from,pt)>0?{from:pt,to:ct.from}:null}}}),E.findMatchingTag=function(We,Ct,Nt){var Ft=new Ie(We,Ct.line,Ct.ch,Nt);if(!(Ft.text.indexOf(">")==-1&&Ft.text.indexOf("<")==-1)){var St=Ze(Ft),pt=St&&$e(Ft.line,Ft.ch),ct=St&&xe(Ft);if(!(!St||!ct||ve(Ft,Ct)>0)){var et={from:$e(Ft.line,Ft.ch),to:pt,tag:ct[2]};return St=="selfClose"?{open:et,close:null,at:"open"}:ct[1]?{open:Ue(Ft,ct[2]),close:et,at:"close"}:(Ft=new Ie(We,pt.line,pt.ch,Nt),{open:et,close:ze(Ft,ct[2]),at:"open"})}}},E.findEnclosingTag=function(We,Ct,Nt,Ft){for(var St=new Ie(We,Ct.line,Ct.ch,Nt);;){var pt=Ue(St,Ft);if(!pt)break;var ct=new Ie(We,Ct.line,Ct.ch,Nt),et=ze(ct,pt.tag);if(et)return{open:pt,close:et}}},E.scanForClosingTag=function(We,Ct,Nt,Ft){var St=new Ie(We,Ct.line,Ct.ch,Ft?{from:0,to:Ft}:null);return ze(St,Nt)}})},89780:function(dn){(function(Jt,re){dn.exports=re()})(this,function(){"use strict";var Jt=navigator.userAgent,re=navigator.platform,E=/gecko\/\d/i.test(Jt),$e=/MSIE \d/.test(Jt),ve=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Jt),Ye=/Edge\/(\d+)/.exec(Jt),Se=$e||ve||Ye,Ee=Se&&($e?document.documentMode||6:+(Ye||ve)[1]),Ie=!Ye&&/WebKit\//.test(Jt),Te=Ie&&/Qt\/\d+\.\d+/.test(Jt),Pe=!Ye&&/Chrome\//.test(Jt),he=/Opera\//.test(Jt),Ze=/Apple Computer/.test(navigator.vendor),xe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Jt),At=/PhantomJS/.test(Jt),rt=!Ye&&/AppleWebKit/.test(Jt)&&/Mobile\/\w+/.test(Jt),ze=/Android/.test(Jt),Ue=rt||ze||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Jt),We=rt||/Mac/.test(re),Ct=/\bCrOS\b/.test(Jt),Nt=/win/i.test(re),Ft=he&&Jt.match(/Version\/(\d*\.\d*)/);Ft&&(Ft=Number(Ft[1])),Ft&&Ft>=15&&(he=!1,Ie=!0);var St=We&&(Te||he&&(Ft==null||Ft<12.11)),pt=E||Se&&Ee>=9;function ct(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var et=function(a,y){var x=a.className,b=ct(y).exec(x);if(b){var z=x.slice(b.index+b[0].length);a.className=x.slice(0,b.index)+(z?b[1]+z:"")}};function Tt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function st(a,y){return Tt(a).appendChild(y)}function at(a,y,x,b){var z=document.createElement(a);if(x&&(z.className=x),b&&(z.style.cssText=b),typeof y=="string")z.appendChild(document.createTextNode(y));else if(y)for(var ie=0;ie<y.length;++ie)z.appendChild(y[ie]);return z}function bt(a,y,x,b){var z=at(a,y,x,b);return z.setAttribute("role","presentation"),z}var Be;document.createRange?Be=function(a,y,x,b){var z=document.createRange();return z.setEnd(b||a,x),z.setStart(a,y),z}:Be=function(a,y,x){var b=document.body.createTextRange();try{b.moveToElementText(a.parentNode)}catch(z){return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",y),b};function it(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 Je(){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 ue(a,y){var x=a.className;ct(y).test(x)||(a.className+=(x?" ":"")+y)}function mt(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!ct(x[b]).test(y)&&(y+=" "+x[b]);return y}var Le=function(a){a.select()};rt?Le=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Se&&(Le=function(a){try{a.select()}catch(y){}});function qe(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Ht(a,y,x){y||(y={});for(var b in a)a.hasOwnProperty(b)&&(x!==!1||!y.hasOwnProperty(b))&&(y[b]=a[b]);return y}function we(a,y,x,b,z){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ie=b||0,le=z||0;;){var ce=a.indexOf(" ",ie);if(ce<0||ce>=y)return le+(y-ie);le+=ce-ie,le+=x-le%x,ie=ce+1}}var de=function(){this.id=null,this.f=null,this.time=0,this.handler=qe(this.onTimeout,this)};de.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},de.prototype.set=function(a,y){this.f=y;var x=+new Date+a;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=x)};function xt(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var Qt=50,Mt={toString:function(){return"CodeMirror.Pass"}},me={scroll:!1},He={origin:"*mouse"},Qe={origin:"+move"};function jt(a,y,x){for(var b=0,z=0;;){var ie=a.indexOf(" ",b);ie==-1&&(ie=a.length);var le=ie-b;if(ie==a.length||z+le>=y)return b+Math.min(le,y-z);if(z+=ie-b,z+=x-z%x,b=ie+1,z>=y)return b}}var Lt=[""];function Kt(a){for(;Lt.length<=a;)Lt.push(je(Lt)+" ");return Lt[a]}function je(a){return a[a.length-1]}function Yt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function vt(a,y,x){for(var b=0,z=x(y);b<a.length&&x(a[b])<=z;)b++;a.splice(b,0,y)}function ae(){}function te(a,y){var x;return Object.create?x=Object.create(a):(ae.prototype=a,x=new ae),y&&Ht(y,x),x}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function oe(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ee.test(a))}function se(a,y){return y?y.source.indexOf("\\w")>-1&&oe(a)?!0:y.test(a):oe(a)}function ne(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var pe=/[\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 ye(a){return a.charCodeAt(0)>=768&&pe.test(a)}function lt(a,y,x){for(;(x<0?y>0:y<a.length)&&ye(a.charAt(y));)y+=x;return y}function Ae(a,y,x){for(var b=y>x?-1:1;;){if(y==x)return y;var z=(y+x)/2,ie=b<0?Math.ceil(z):Math.floor(z);if(ie==y)return a(ie)?y:x;a(ie)?x=ie:y=ie+b}}function Ne(a,y,x,b){if(!a)return b(y,x,"ltr",0);for(var z=!1,ie=0;ie<a.length;++ie){var le=a[ie];(le.from<x&&le.to>y||y==x&&le.to==y)&&(b(Math.max(le.from,y),Math.min(le.to,x),le.level==1?"rtl":"ltr",ie),z=!0)}z||b(y,x,"ltr")}var tt=null;function Pt(a,y,x){var b;tt=null;for(var z=0;z<a.length;++z){var ie=a[z];if(ie.from<y&&ie.to>y)return z;ie.to==y&&(ie.from!=ie.to&&x=="before"?b=z:tt=z),ie.from==y&&(ie.from!=ie.to&&x!="before"?b=z:tt=z)}return b!=null?b:tt}var Ot=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(ge){return ge<=247?a.charAt(ge):1424<=ge&&ge<=1524?"R":1536<=ge&&ge<=1785?y.charAt(ge-1536):1774<=ge&&ge<=2220?"r":8192<=ge&&ge<=8203?"w":ge==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,z=/[stwN]/,ie=/[LRr]/,le=/[Lb1n]/,ce=/[1n]/;function fe(ge,ot,gt){this.level=ge,this.from=ot,this.to=gt}return function(ge,ot){var gt=ot=="ltr"?"L":"R";if(ge.length==0||ot=="ltr"&&!b.test(ge))return!1;for(var _t=ge.length,Gt=[],Sn=0;Sn<_t;++Sn)Gt.push(x(ge.charCodeAt(Sn)));for(var zn=0,Kn=gt;zn<_t;++zn){var _n=Gt[zn];_n=="m"?Gt[zn]=Kn:Kn=_n}for(var ir=0,er=gt;ir<_t;++ir){var ur=Gt[ir];ur=="1"&&er=="r"?Gt[ir]="n":ie.test(ur)&&(er=ur,ur=="r"&&(Gt[ir]="R"))}for(var gr=1,pr=Gt[0];gr<_t-1;++gr){var Ir=Gt[gr];Ir=="+"&&pr=="1"&&Gt[gr+1]=="1"?Gt[gr]="1":Ir==","&&pr==Gt[gr+1]&&(pr=="1"||pr=="n")&&(Gt[gr]=pr),pr=Ir}for(var Qr=0;Qr<_t;++Qr){var mi=Gt[Qr];if(mi==",")Gt[Qr]="N";else if(mi=="%"){var qr=void 0;for(qr=Qr+1;qr<_t&&Gt[qr]=="%";++qr);for(var Wi=Qr&&Gt[Qr-1]=="!"||qr<_t&&Gt[qr]=="1"?"1":"N",Ii=Qr;Ii<qr;++Ii)Gt[Ii]=Wi;Qr=qr-1}}for(var ai=0,Ti=gt;ai<_t;++ai){var bi=Gt[ai];Ti=="L"&&bi=="1"?Gt[ai]="L":ie.test(bi)&&(Ti=bi)}for(var di=0;di<_t;++di)if(z.test(Gt[di])){var li=void 0;for(li=di+1;li<_t&&z.test(Gt[li]);++li);for(var ei=(di?Gt[di-1]:gt)=="L",ki=(li<_t?Gt[li]:gt)=="L",Xo=ei==ki?ei?"L":"R":gt,bo=di;bo<li;++bo)Gt[bo]=Xo;di=li-1}for(var Si=[],ro,vi=0;vi<_t;)if(le.test(Gt[vi])){var bl=vi;for(++vi;vi<_t&&le.test(Gt[vi]);++vi);Si.push(new fe(0,bl,vi))}else{var lo=vi,Do=Si.length,Bo=ot=="rtl"?1:0;for(++vi;vi<_t&&Gt[vi]!="L";++vi);for(var Ai=lo;Ai<vi;)if(ce.test(Gt[Ai])){lo<Ai&&(Si.splice(Do,0,new fe(1,lo,Ai)),Do+=Bo);var Uo=Ai;for(++Ai;Ai<vi&&ce.test(Gt[Ai]);++Ai);Si.splice(Do,0,new fe(2,Uo,Ai)),Do+=Bo,lo=Ai}else++Ai;lo<vi&&Si.splice(Do,0,new fe(1,lo,vi))}return ot=="ltr"&&(Si[0].level==1&&(ro=ge.match(/^\s+/))&&(Si[0].from=ro[0].length,Si.unshift(new fe(0,0,ro[0].length))),je(Si).level==1&&(ro=ge.match(/\s+$/))&&(je(Si).to-=ro[0].length,Si.push(new fe(0,_t-ro[0].length,_t)))),ot=="rtl"?Si.reverse():Si}}();function tn(a,y){var x=a.order;return x==null&&(x=a.order=Ot(a.text,y)),x}var Ut=[],Wt=function(a,y,x){if(a.addEventListener)a.addEventListener(y,x,!1);else if(a.attachEvent)a.attachEvent("on"+y,x);else{var b=a._handlers||(a._handlers={});b[y]=(b[y]||Ut).concat(x)}};function ln(a,y){return a._handlers&&a._handlers[y]||Ut}function Dt(a,y,x){if(a.removeEventListener)a.removeEventListener(y,x,!1);else if(a.detachEvent)a.detachEvent("on"+y,x);else{var b=a._handlers,z=b&&b[y];if(z){var ie=xt(z,x);ie>-1&&(b[y]=z.slice(0,ie).concat(z.slice(ie+1)))}}}function $t(a,y){var x=ln(a,y);if(x.length)for(var b=Array.prototype.slice.call(arguments,2),z=0;z<x.length;++z)x[z].apply(null,b)}function wt(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),$t(a,x||y.type,a,y),Rt(y)||y.codemirrorIgnore}function en(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var x=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),b=0;b<y.length;++b)xt(x,y[b])==-1&&x.push(y[b])}function kt(a,y){return ln(a,y).length>0}function Me(a){a.prototype.on=function(y,x){Wt(this,y,x)},a.prototype.off=function(y,x){Dt(this,y,x)}}function Fe(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Bt(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Rt(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Oe(a){Fe(a),Bt(a)}function Ge(a){return a.target||a.srcElement}function dt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),We&&a.ctrlKey&&y==1&&(y=3),y}var It=function(){if(Se&&Ee<9)return!1;var a=at("div");return"draggable"in a||"dragDrop"in a}(),qt;function hn(a){if(qt==null){var y=at("span","\u200B");st(a,at("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(qt=y.offsetWidth<=1&&y.offsetHeight>2&&!(Se&&Ee<8))}var x=qt?at("span","\u200B"):at("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var Dn;function On(a){if(Dn!=null)return Dn;var y=st(a,document.createTextNode("A\u062EA")),x=Be(y,0,1).getBoundingClientRect(),b=Be(y,1,2).getBoundingClientRect();return Tt(a),!x||x.left==x.right?!1:Dn=b.right-x.right<3}var un=`
b`.split(/\n/).length!=3?function(a){for(var y=0,x=[],b=a.length;y<=b;){var z=a.indexOf(`
`,y);z==-1&&(z=a.length);var ie=a.slice(y,a.charAt(z-1)=="\r"?z-1:z),le=ie.indexOf("\r");le!=-1?(x.push(ie.slice(0,le)),y+=le+1):(x.push(ie),y=z+1)}return x}:function(a){return a.split(/\r\n?|\n/)},yn=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(x){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},vn=function(){var a=at("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Xt=null;function Zt(a){if(Xt!=null)return Xt;var y=st(a,at("span","x")),x=y.getBoundingClientRect(),b=Be(y,0,1).getBoundingClientRect();return Xt=Math.abs(x.left-b.left)>1}var Vt={},Et={};function on(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Vt[a]=y}function an(a,y){Et[a]=y}function rn(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=te(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return rn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return rn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function En(a,y){y=rn(y);var x=Vt[y.name];if(!x)return En(a,"text/plain");var b=x(a,y);if(Mn.hasOwnProperty(y.name)){var z=Mn[y.name];for(var ie in z)z.hasOwnProperty(ie)&&(b.hasOwnProperty(ie)&&(b["_"+ie]=b[ie]),b[ie]=z[ie])}if(b.name=y.name,y.helperType&&(b.helperType=y.helperType),y.modeProps)for(var le in y.modeProps)b[le]=y.modeProps[le];return b}var Mn={};function An(a,y){var x=Mn.hasOwnProperty(a)?Mn[a]:Mn[a]={};Ht(y,x)}function Fn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var x={};for(var b in y){var z=y[b];z instanceof Array&&(z=z.concat([])),x[b]=z}return x}function In(a,y){for(var x;a.innerMode&&(x=a.innerMode(y),!(!x||x.mode==a));)y=x.state,a=x.mode;return x||{mode:a,state:y}}function jn(a,y,x){return a.startState?a.startState(y,x):!0}var Vn=function(a,y,x){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};Vn.prototype.eol=function(){return this.pos>=this.string.length},Vn.prototype.sol=function(){return this.pos==this.lineStart},Vn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Vn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Vn.prototype.eat=function(a){var y=this.string.charAt(this.pos),x;if(typeof a=="string"?x=y==a:x=y&&(a.test?a.test(y):a(y)),x)return++this.pos,y},Vn.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Vn.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Vn.prototype.skipToEnd=function(){this.pos=this.string.length},Vn.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Vn.prototype.backUp=function(a){this.pos-=a},Vn.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)},Vn.prototype.indentation=function(){return we(this.string,null,this.tabSize)-(this.lineStart?we(this.string,this.lineStart,this.tabSize):0)},Vn.prototype.match=function(a,y,x){if(typeof a=="string"){var b=function(le){return x?le.toLowerCase():le},z=this.string.substr(this.pos,a.length);if(b(z)==b(a))return y!==!1&&(this.pos+=a.length),!0}else{var ie=this.string.slice(this.pos).match(a);return ie&&ie.index>0?null:(ie&&y!==!1&&(this.pos+=ie[0].length),ie)}},Vn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Vn.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Vn.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Vn.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function zt(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var x=a;!x.lines;)for(var b=0;;++b){var z=x.children[b],ie=z.chunkSize();if(y<ie){x=z;break}y-=ie}return x.lines[y]}function nn(a,y,x){var b=[],z=y.line;return a.iter(y.line,x.line+1,function(ie){var le=ie.text;z==x.line&&(le=le.slice(0,x.ch)),z==y.line&&(le=le.slice(y.ch)),b.push(le),++z}),b}function bn(a,y,x){var b=[];return a.iter(y,x,function(z){b.push(z.text)}),b}function xn(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function ke(a){if(a.parent==null)return null;for(var y=a.parent,x=xt(y.lines,a),b=y.parent;b;y=b,b=b.parent)for(var z=0;b.children[z]!=y;++z)x+=b.children[z].chunkSize();return x+y.first}function nt(a,y){var x=a.first;e:do{for(var b=0;b<a.children.length;++b){var z=a.children[b],ie=z.height;if(y<ie){a=z;continue e}y-=ie,x+=z.chunkSize()}return x}while(!a.lines);for(var le=0;le<a.lines.length;++le){var ce=a.lines[le],fe=ce.height;if(y<fe)break;y-=fe}return x+le}function Ce(a,y){return y>=a.first&&y<a.first+a.size}function Re(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function De(a,y,x){if(x===void 0&&(x=null),!(this instanceof De))return new De(a,y,x);this.line=a,this.ch=y,this.sticky=x}function Ve(a,y){return a.line-y.line||a.ch-y.ch}function be(a,y){return a.sticky==y.sticky&&Ve(a,y)==0}function _e(a){return De(a.line,a.ch)}function ft(a,y){return Ve(a,y)<0?y:a}function yt(a,y){return Ve(a,y)<0?a:y}function ht(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Xe(a,y){if(y.line<a.first)return De(a.first,0);var x=a.first+a.size-1;return y.line>x?De(x,zt(a,x).text.length):Ke(y,zt(a,y.line).text.length)}function Ke(a,y){var x=a.ch;return x==null||x>y?De(a.line,y):x<0?De(a.line,0):a}function ut(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=Xe(a,y[b]);return x}var fn=function(a,y){this.state=a,this.lookAhead=y},sn=function(a,y,x,b){this.state=y,this.doc=a,this.line=x,this.maxLookAhead=b||0,this.baseTokens=null,this.baseTokenPos=1};sn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},sn.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}},sn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},sn.fromSaved=function(a,y,x){return y instanceof fn?new sn(a,Fn(a.mode,y.state),x,y.lookAhead):new sn(a,Fn(a.mode,y),x)},sn.prototype.save=function(a){var y=a!==!1?Fn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new fn(y,this.maxLookAhead):y};function cn(a,y,x,b){var z=[a.state.modeGen],ie={};Jn(a,y.text,a.doc.mode,x,function(ge,ot){return z.push(ge,ot)},ie,b);for(var le=x.state,ce=function(ge){x.baseTokens=z;var ot=a.state.overlays[ge],gt=1,_t=0;x.state=!0,Jn(a,y.text,ot.mode,x,function(Gt,Sn){for(var zn=gt;_t<Gt;){var Kn=z[gt];Kn>Gt&&z.splice(gt,1,Gt,z[gt+1],Kn),gt+=2,_t=Math.min(Gt,Kn)}if(Sn)if(ot.opaque)z.splice(zn,gt-zn,Gt,"overlay "+Sn),gt=zn+2;else for(;zn<gt;zn+=2){var _n=z[zn+1];z[zn+1]=(_n?_n+" ":"")+"overlay "+Sn}},ie),x.state=le,x.baseTokens=null,x.baseTokenPos=1},fe=0;fe<a.state.overlays.length;++fe)ce(fe);return{styles:z,classes:ie.bgClass||ie.textClass?ie:null}}function Rn(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=Wn(a,ke(y)),z=y.text.length>a.options.maxHighlightLength&&Fn(a.doc.mode,b.state),ie=cn(a,y,b);z&&(b.state=z),y.stateAfter=b.save(!z),y.styles=ie.styles,ie.classes?y.styleClasses=ie.classes:y.styleClasses&&(y.styleClasses=null),x===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Wn(a,y,x){var b=a.doc,z=a.display;if(!b.mode.startState)return new sn(b,!0,y);var ie=$n(a,y,x),le=ie>b.first&&zt(b,ie-1).stateAfter,ce=le?sn.fromSaved(b,le,ie):new sn(b,jn(b.mode),ie);return b.iter(ie,y,function(fe){Yn(a,fe.text,ce);var ge=ce.line;fe.stateAfter=ge==y-1||ge%5==0||ge>=z.viewFrom&&ge<z.viewTo?ce.save():null,ce.nextLine()}),x&&(b.modeFrontier=ce.line),ce}function Yn(a,y,x,b){var z=a.doc.mode,ie=new Vn(y,a.options.tabSize,x);for(ie.start=ie.pos=b||0,y==""&&Hn(z,x.state);!ie.eol();)Ln(z,ie,x.state),ie.start=ie.pos}function Hn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=In(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function Ln(a,y,x,b){for(var z=0;z<10;z++){b&&(b[0]=In(a,x).mode);var ie=a.token(y,x);if(y.pos>y.start)return ie}throw new Error("Mode "+a.name+" failed to advance stream.")}var kn=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function Un(a,y,x,b){var z=a.doc,ie=z.mode,le;y=Xe(z,y);var ce=zt(z,y.line),fe=Wn(a,y.line,x),ge=new Vn(ce.text,a.options.tabSize,fe),ot;for(b&&(ot=[]);(b||ge.pos<y.ch)&&!ge.eol();)ge.start=ge.pos,le=Ln(ie,ge,fe.state),b&&ot.push(new kn(ge,le,Fn(z.mode,fe.state)));return b?ot:new kn(ge,le,fe.state)}function qn(a,y){if(a)for(;;){var x=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!x)break;a=a.slice(0,x.index)+a.slice(x.index+x[0].length);var b=x[1]?"bgClass":"textClass";y[b]==null?y[b]=x[2]:new RegExp("(?:^|\\s)"+x[2]+"(?:$|\\s)").test(y[b])||(y[b]+=" "+x[2])}return a}function Jn(a,y,x,b,z,ie,le){var ce=x.flattenSpans;ce==null&&(ce=a.options.flattenSpans);var fe=0,ge=null,ot=new Vn(y,a.options.tabSize,b),gt,_t=a.options.addModeClass&&[null];for(y==""&&qn(Hn(x,b.state),ie);!ot.eol();){if(ot.pos>a.options.maxHighlightLength?(ce=!1,le&&Yn(a,y,b,ot.pos),ot.pos=y.length,gt=null):gt=qn(Ln(x,ot,b.state,_t),ie),_t){var Gt=_t[0].name;Gt&&(gt="m-"+(gt?Gt+" "+gt:Gt))}if(!ce||ge!=gt){for(;fe<ot.start;)fe=Math.min(ot.start,fe+5e3),z(fe,ge);ge=gt}ot.start=ot.pos}for(;fe<ot.pos;){var Sn=Math.min(ot.pos,fe+5e3);z(Sn,ge),fe=Sn}}function $n(a,y,x){for(var b,z,ie=a.doc,le=x?-1:y-(a.doc.mode.innerMode?1e3:100),ce=y;ce>le;--ce){if(ce<=ie.first)return ie.first;var fe=zt(ie,ce-1),ge=fe.stateAfter;if(ge&&(!x||ce+(ge instanceof fn?ge.lookAhead:0)<=ie.modeFrontier))return ce;var ot=we(fe.text,null,a.options.tabSize);(z==null||b>ot)&&(z=ce-1,b=ot)}return z}function Tn(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var x=a.first,b=y-1;b>x;b--){var z=zt(a,b).stateAfter;if(z&&(!(z instanceof fn)||b+z.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var tr=!1,Cn=!1;function Gn(){tr=!0}function ar(){Cn=!0}function or(a,y,x){this.marker=a,this.from=y,this.to=x}function cr(a,y){if(a)for(var x=0;x<a.length;++x){var b=a[x];if(b.marker==y)return b}}function yr(a,y){for(var x,b=0;b<a.length;++b)a[b]!=y&&(x||(x=[])).push(a[b]);return x}function dr(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function hr(a,y,x){var b;if(a)for(var z=0;z<a.length;++z){var ie=a[z],le=ie.marker,ce=ie.from==null||(le.inclusiveLeft?ie.from<=y:ie.from<y);if(ce||ie.from==y&&le.type=="bookmark"&&(!x||!ie.marker.insertLeft)){var fe=ie.to==null||(le.inclusiveRight?ie.to>=y:ie.to>y);(b||(b=[])).push(new or(le,ie.from,fe?null:ie.to))}}return b}function rr(a,y,x){var b;if(a)for(var z=0;z<a.length;++z){var ie=a[z],le=ie.marker,ce=ie.to==null||(le.inclusiveRight?ie.to>=y:ie.to>y);if(ce||ie.from==y&&le.type=="bookmark"&&(!x||ie.marker.insertLeft)){var fe=ie.from==null||(le.inclusiveLeft?ie.from<=y:ie.from<y);(b||(b=[])).push(new or(le,fe?null:ie.from-y,ie.to==null?null:ie.to-y))}}return b}function mr(a,y){if(y.full)return null;var x=Ce(a,y.from.line)&&zt(a,y.from.line).markedSpans,b=Ce(a,y.to.line)&&zt(a,y.to.line).markedSpans;if(!x&&!b)return null;var z=y.from.ch,ie=y.to.ch,le=Ve(y.from,y.to)==0,ce=hr(x,z,le),fe=rr(b,ie,le),ge=y.text.length==1,ot=je(y.text).length+(ge?z:0);if(ce)for(var gt=0;gt<ce.length;++gt){var _t=ce[gt];if(_t.to==null){var Gt=cr(fe,_t.marker);Gt?ge&&(_t.to=Gt.to==null?null:Gt.to+ot):_t.to=z}}if(fe)for(var Sn=0;Sn<fe.length;++Sn){var zn=fe[Sn];if(zn.to!=null&&(zn.to+=ot),zn.from==null){var Kn=cr(ce,zn.marker);Kn||(zn.from=ot,ge&&(ce||(ce=[])).push(zn))}else zn.from+=ot,ge&&(ce||(ce=[])).push(zn)}ce&&(ce=br(ce)),fe&&fe!=ce&&(fe=br(fe));var _n=[ce];if(!ge){var ir=y.text.length-2,er;if(ir>0&&ce)for(var ur=0;ur<ce.length;++ur)ce[ur].to==null&&(er||(er=[])).push(new or(ce[ur].marker,null,null));for(var gr=0;gr<ir;++gr)_n.push(er);_n.push(fe)}return _n}function br(a){for(var y=0;y<a.length;++y){var x=a[y];x.from!=null&&x.from==x.to&&x.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Hr(a,y,x){var b=null;if(a.iter(y.line,x.line+1,function(Gt){if(Gt.markedSpans)for(var Sn=0;Sn<Gt.markedSpans.length;++Sn){var zn=Gt.markedSpans[Sn].marker;zn.readOnly&&(!b||xt(b,zn)==-1)&&(b||(b=[])).push(zn)}}),!b)return null;for(var z=[{from:y,to:x}],ie=0;ie<b.length;++ie)for(var le=b[ie],ce=le.find(0),fe=0;fe<z.length;++fe){var ge=z[fe];if(!(Ve(ge.to,ce.from)<0||Ve(ge.from,ce.to)>0)){var ot=[fe,1],gt=Ve(ge.from,ce.from),_t=Ve(ge.to,ce.to);(gt<0||!le.inclusiveLeft&&!gt)&&ot.push({from:ge.from,to:ce.from}),(_t>0||!le.inclusiveRight&&!_t)&&ot.push({from:ce.to,to:ge.to}),z.splice.apply(z,ot),fe+=ot.length-3}}return z}function Er(a){var y=a.markedSpans;if(y){for(var x=0;x<y.length;++x)y[x].marker.detachLine(a);a.markedSpans=null}}function Tr(a,y){if(y){for(var x=0;x<y.length;++x)y[x].marker.attachLine(a);a.markedSpans=y}}function Pr(a){return a.inclusiveLeft?-1:0}function Dr(a){return a.inclusiveRight?1:0}function sr(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),z=y.find(),ie=Ve(b.from,z.from)||Pr(a)-Pr(y);if(ie)return-ie;var le=Ve(b.to,z.to)||Dr(a)-Dr(y);return le||y.id-a.id}function lr(a,y){var x=Cn&&a.markedSpans,b;if(x)for(var z=void 0,ie=0;ie<x.length;++ie)z=x[ie],z.marker.collapsed&&(y?z.from:z.to)==null&&(!b||sr(b,z.marker)<0)&&(b=z.marker);return b}function nr(a){return lr(a,!0)}function gn(a){return lr(a,!1)}function Bn(a,y){var x=Cn&&a.markedSpans,b;if(x)for(var z=0;z<x.length;++z){var ie=x[z];ie.marker.collapsed&&(ie.from==null||ie.from<y)&&(ie.to==null||ie.to>y)&&(!b||sr(b,ie.marker)<0)&&(b=ie.marker)}return b}function Pn(a,y,x,b,z){var ie=zt(a,y),le=Cn&&ie.markedSpans;if(le)for(var ce=0;ce<le.length;++ce){var fe=le[ce];if(fe.marker.collapsed){var ge=fe.marker.find(0),ot=Ve(ge.from,x)||Pr(fe.marker)-Pr(z),gt=Ve(ge.to,b)||Dr(fe.marker)-Dr(z);if(!(ot>=0&&gt<=0||ot<=0&&gt>=0)&&(ot<=0&&(fe.marker.inclusiveRight&&z.inclusiveLeft?Ve(ge.to,x)>=0:Ve(ge.to,x)>0)||ot>=0&&(fe.marker.inclusiveRight&&z.inclusiveLeft?Ve(ge.from,b)<=0:Ve(ge.from,b)<0)))return!0}}}function pn(a){for(var y;y=nr(a);)a=y.find(-1,!0).line;return a}function Xn(a){for(var y;y=gn(a);)a=y.find(1,!0).line;return a}function Qn(a){for(var y,x;y=gn(a);)a=y.find(1,!0).line,(x||(x=[])).push(a);return x}function wn(a,y){var x=zt(a,y),b=pn(x);return x==b?y:ke(b)}function mn(a,y){if(y>a.lastLine())return y;var x=zt(a,y),b;if(!Nn(a,x))return y;for(;b=gn(x);)x=b.find(1,!0).line;return ke(x)+1}function Nn(a,y){var x=Cn&&y.markedSpans;if(x){for(var b=void 0,z=0;z<x.length;++z)if(b=x[z],!!b.marker.collapsed){if(b.from==null)return!0;if(!b.marker.widgetNode&&b.from==0&&b.marker.inclusiveLeft&&Zn(a,y,b))return!0}}}function Zn(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return Zn(a,b.line,cr(b.line.markedSpans,x.marker))}if(x.marker.inclusiveRight&&x.to==y.text.length)return!0;for(var z=void 0,ie=0;ie<y.markedSpans.length;++ie)if(z=y.markedSpans[ie],z.marker.collapsed&&!z.marker.widgetNode&&z.from==x.to&&(z.to==null||z.to!=x.from)&&(z.marker.inclusiveLeft||x.marker.inclusiveRight)&&Zn(a,y,z))return!0}function fr(a){a=pn(a);for(var y=0,x=a.parent,b=0;b<x.lines.length;++b){var z=x.lines[b];if(z==a)break;y+=z.height}for(var ie=x.parent;ie;x=ie,ie=x.parent)for(var le=0;le<ie.children.length;++le){var ce=ie.children[le];if(ce==x)break;y+=ce.height}return y}function Mr(a){if(a.height==0)return 0;for(var y=a.text.length,x,b=a;x=nr(b);){var z=x.find(0,!0);b=z.from.line,y+=z.from.ch-z.to.ch}for(b=a;x=gn(b);){var ie=x.find(0,!0);y-=b.text.length-ie.from.ch,b=ie.to.line,y+=b.text.length-ie.to.ch}return y}function Or(a){var y=a.display,x=a.doc;y.maxLine=zt(x,x.first),y.maxLineLength=Mr(y.maxLine),y.maxLineChanged=!0,x.iter(function(b){var z=Mr(b);z>y.maxLineLength&&(y.maxLineLength=z,y.maxLine=b)})}var Fr=function(a,y,x){this.text=a,Tr(this,y),this.height=x?x(this):1};Fr.prototype.lineNo=function(){return ke(this)},Me(Fr);function kr(a,y,x,b){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Er(a),Tr(a,x);var z=b?b(a):1;z!=a.height&&xn(a,z)}function Rr(a){a.parent=null,Er(a)}var Xr={},jr={};function Yr(a,y){if(!a||/^\s*$/.test(a))return null;var x=y.addModeClass?jr:Xr;return x[a]||(x[a]=a.replace(/\S+/g,"cm-$&"))}function ti(a,y){var x=bt("span",null,null,Ie?"padding-right: .1px":null),b={pre:bt("pre",[x],"CodeMirror-line"),content:x,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var z=0;z<=(y.rest?y.rest.length:0);z++){var ie=z?y.rest[z-1]:y.line,le=void 0;b.pos=0,b.addToken=Ni,On(a.display.measure)&&(le=tn(ie,a.doc.direction))&&(b.addToken=si(b.addToken,le)),b.map=[];var ce=y!=a.display.externalMeasured&&ke(ie);Wr(ie,b,Rn(a,ie,ce)),ie.styleClasses&&(ie.styleClasses.bgClass&&(b.bgClass=mt(ie.styleClasses.bgClass,b.bgClass||"")),ie.styleClasses.textClass&&(b.textClass=mt(ie.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(hn(a.display.measure))),z==0?(y.measure.map=b.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(b.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Ie){var fe=b.content.lastChild;(/\bcm-tab\b/.test(fe.className)||fe.querySelector&&fe.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return $t(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=mt(b.pre.className,b.textClass||"")),b}function Ei(a){var y=at("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Ni(a,y,x,b,z,ie,le){if(y){var ce=a.splitSpaces?xi(y,a.trailingSpace):y,fe=a.cm.state.specialChars,ge=!1,ot;if(!fe.test(y))a.col+=y.length,ot=document.createTextNode(ce),a.map.push(a.pos,a.pos+y.length,ot),Se&&Ee<9&&(ge=!0),a.pos+=y.length;else{ot=document.createDocumentFragment();for(var gt=0;;){fe.lastIndex=gt;var _t=fe.exec(y),Gt=_t?_t.index-gt:y.length-gt;if(Gt){var Sn=document.createTextNode(ce.slice(gt,gt+Gt));Se&&Ee<9?ot.appendChild(at("span",[Sn])):ot.appendChild(Sn),a.map.push(a.pos,a.pos+Gt,Sn),a.col+=Gt,a.pos+=Gt}if(!_t)break;gt+=Gt+1;var zn=void 0;if(_t[0]==" "){var Kn=a.cm.options.tabSize,_n=Kn-a.col%Kn;zn=ot.appendChild(at("span",Kt(_n),"cm-tab")),zn.setAttribute("role","presentation"),zn.setAttribute("cm-text"," "),a.col+=_n}else _t[0]=="\r"||_t[0]==`
`?(zn=ot.appendChild(at("span",_t[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),zn.setAttribute("cm-text",_t[0]),a.col+=1):(zn=a.cm.options.specialCharPlaceholder(_t[0]),zn.setAttribute("cm-text",_t[0]),Se&&Ee<9?ot.appendChild(at("span",[zn])):ot.appendChild(zn),a.col+=1);a.map.push(a.pos,a.pos+1,zn),a.pos++}}if(a.trailingSpace=ce.charCodeAt(y.length-1)==32,x||b||z||ge||ie||le){var ir=x||"";b&&(ir+=b),z&&(ir+=z);var er=at("span",[ot],ir,ie);if(le)for(var ur in le)le.hasOwnProperty(ur)&&ur!="style"&&ur!="class"&&er.setAttribute(ur,le[ur]);return a.content.appendChild(er)}a.content.appendChild(ot)}}function xi(a,y){if(a.length>1&&!/ /.test(a))return a;for(var x=y,b="",z=0;z<a.length;z++){var ie=a.charAt(z);ie==" "&&x&&(z==a.length-1||a.charCodeAt(z+1)==32)&&(ie="\xA0"),b+=ie,x=ie==" "}return b}function si(a,y){return function(x,b,z,ie,le,ce,fe){z=z?z+" cm-force-border":"cm-force-border";for(var ge=x.pos,ot=ge+b.length;;){for(var gt=void 0,_t=0;_t<y.length&&(gt=y[_t],!(gt.to>ge&&gt.from<=ge));_t++);if(gt.to>=ot)return a(x,b,z,ie,le,ce,fe);a(x,b.slice(0,gt.to-ge),z,ie,null,ce,fe),ie=null,b=b.slice(gt.to-ge),ge=gt.to}}}function Fi(a,y,x,b){var z=!b&&x.widgetNode;z&&a.map.push(a.pos,a.pos+y,z),!b&&a.cm.display.input.needsContentAttribute&&(z||(z=a.content.appendChild(document.createElement("span"))),z.setAttribute("cm-marker",x.id)),z&&(a.cm.display.input.setUneditable(z),a.content.appendChild(z)),a.pos+=y,a.trailingSpace=!1}function Wr(a,y,x){var b=a.markedSpans,z=a.text,ie=0;if(!b){for(var le=1;le<x.length;le+=2)y.addToken(y,z.slice(ie,ie=x[le]),Yr(x[le+1],y.cm.options));return}for(var ce=z.length,fe=0,ge=1,ot="",gt,_t,Gt=0,Sn,zn,Kn,_n,ir;;){if(Gt==fe){Sn=zn=Kn=_t="",ir=null,_n=null,Gt=1/0;for(var er=[],ur=void 0,gr=0;gr<b.length;++gr){var pr=b[gr],Ir=pr.marker;if(Ir.type=="bookmark"&&pr.from==fe&&Ir.widgetNode)er.push(Ir);else if(pr.from<=fe&&(pr.to==null||pr.to>fe||Ir.collapsed&&pr.to==fe&&pr.from==fe)){if(pr.to!=null&&pr.to!=fe&&Gt>pr.to&&(Gt=pr.to,zn=""),Ir.className&&(Sn+=" "+Ir.className),Ir.css&&(_t=(_t?_t+";":"")+Ir.css),Ir.startStyle&&pr.from==fe&&(Kn+=" "+Ir.startStyle),Ir.endStyle&&pr.to==Gt&&(ur||(ur=[])).push(Ir.endStyle,pr.to),Ir.title&&((ir||(ir={})).title=Ir.title),Ir.attributes)for(var Qr in Ir.attributes)(ir||(ir={}))[Qr]=Ir.attributes[Qr];Ir.collapsed&&(!_n||sr(_n.marker,Ir)<0)&&(_n=pr)}else pr.from>fe&&Gt>pr.from&&(Gt=pr.from)}if(ur)for(var mi=0;mi<ur.length;mi+=2)ur[mi+1]==Gt&&(zn+=" "+ur[mi]);if(!_n||_n.from==fe)for(var qr=0;qr<er.length;++qr)Fi(y,0,er[qr]);if(_n&&(_n.from||0)==fe){if(Fi(y,(_n.to==null?ce+1:_n.to)-fe,_n.marker,_n.from==null),_n.to==null)return;_n.to==fe&&(_n=!1)}}if(fe>=ce)break;for(var Wi=Math.min(ce,Gt);;){if(ot){var Ii=fe+ot.length;if(!_n){var ai=Ii>Wi?ot.slice(0,Wi-fe):ot;y.addToken(y,ai,gt?gt+Sn:Sn,Kn,fe+ai.length==Gt?zn:"",_t,ir)}if(Ii>=Wi){ot=ot.slice(Wi-fe),fe=Wi;break}fe=Ii,Kn=""}ot=z.slice(ie,ie=x[ge++]),gt=Yr(x[ge++],y.cm.options)}}}function Ki(a,y,x){this.line=y,this.rest=Qn(y),this.size=this.rest?ke(je(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Nn(a,y)}function _r(a,y,x){for(var b=[],z,ie=y;ie<x;ie=z){var le=new Ki(a.doc,zt(a.doc,ie),ie);z=ie+le.size,b.push(le)}return b}var xr=null;function zr(a){xr?xr.ops.push(a):a.ownsGroup=xr={ops:[a],delayedCallbacks:[]}}function Gr(a){var y=a.delayedCallbacks,x=0;do{for(;x<y.length;x++)y[x].call(null);for(var b=0;b<a.ops.length;b++){var z=a.ops[b];if(z.cursorActivityHandlers)for(;z.cursorActivityCalled<z.cursorActivityHandlers.length;)z.cursorActivityHandlers[z.cursorActivityCalled++].call(null,z.cm)}}while(x<y.length)}function wr(a,y){var x=a.ownsGroup;if(x)try{Gr(x)}finally{xr=null,y(x)}}var Nr=null;function Lr(a,y){var x=ln(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),z;xr?z=xr.delayedCallbacks:Nr?z=Nr:(z=Nr=[],setTimeout(ui,0));for(var ie=function(ce){z.push(function(){return x[ce].apply(null,b)})},le=0;le<x.length;++le)ie(le)}}function ui(){var a=Nr;Nr=null;for(var y=0;y<a.length;++y)a[y]()}function Di(a,y,x,b){for(var z=0;z<y.changes.length;z++){var ie=y.changes[z];ie=="text"?so(a,y):ie=="gutter"?Ar(a,y,x,b):ie=="class"?vr(a,y):ie=="widget"&&Cr(a,y,b)}y.changes=null}function fi(a){return a.node==a.text&&(a.node=at("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Se&&Ee<8&&(a.node.style.zIndex=2)),a.node}function ni(a,y){var x=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),y.background)x?y.background.className=x:(y.background.parentNode.removeChild(y.background),y.background=null);else if(x){var b=fi(y);y.background=b.insertBefore(at("div",null,x),b.firstChild),a.display.input.setUneditable(y.background)}}function xo(a,y){var x=a.display.externalMeasured;return x&&x.line==y.line?(a.display.externalMeasured=null,y.measure=x.measure,x.built):ti(a,y)}function so(a,y){var x=y.text.className,b=xo(a,y);y.text==y.node&&(y.node=b.pre),y.text.parentNode.replaceChild(b.pre,y.text),y.text=b.pre,b.bgClass!=y.bgClass||b.textClass!=y.textClass?(y.bgClass=b.bgClass,y.textClass=b.textClass,vr(a,y)):x&&(y.text.className=x)}function vr(a,y){ni(a,y),y.line.wrapClass?fi(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var x=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=x||""}function Ar(a,y,x,b){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var z=fi(y);y.gutterBackground=at("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px; width: "+b.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),z.insertBefore(y.gutterBackground,y.text)}var ie=y.line.gutterMarkers;if(a.options.lineNumbers||ie){var le=fi(y),ce=y.gutter=at("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px");if(a.display.input.setUneditable(ce),le.insertBefore(ce,y.text),y.line.gutterClass&&(ce.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(y.lineNumber=ce.appendChild(at("div",Re(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var fe=0;fe<a.display.gutterSpecs.length;++fe){var ge=a.display.gutterSpecs[fe].className,ot=ie.hasOwnProperty(ge)&&ie[ge];ot&&ce.appendChild(at("div",[ot],"CodeMirror-gutter-elt","left: "+b.gutterLeft[ge]+"px; width: "+b.gutterWidth[ge]+"px"))}}}function Cr(a,y,x){y.alignable&&(y.alignable=null);for(var b=ct("CodeMirror-linewidget"),z=y.node.firstChild,ie=void 0;z;z=ie)ie=z.nextSibling,b.test(z.className)&&y.node.removeChild(z);Vr(a,y,x)}function Sr(a,y,x,b){var z=xo(a,y);return y.text=y.node=z.pre,z.bgClass&&(y.bgClass=z.bgClass),z.textClass&&(y.textClass=z.textClass),vr(a,y),Ar(a,y,x,b),Vr(a,y,b),y.node}function Vr(a,y,x){if(Jr(a,y.line,y,x,!0),y.rest)for(var b=0;b<y.rest.length;b++)Jr(a,y.rest[b],y,x,!1)}function Jr(a,y,x,b,z){if(y.widgets)for(var ie=fi(x),le=0,ce=y.widgets;le<ce.length;++le){var fe=ce[le],ge=at("div",[fe.node],"CodeMirror-linewidget"+(fe.className?" "+fe.className:""));fe.handleMouseEvents||ge.setAttribute("cm-ignore-events","true"),Yi(fe,ge,x,b),a.display.input.setUneditable(ge),z&&fe.above?ie.insertBefore(ge,x.gutter||x.text):ie.appendChild(ge),Lr(fe,"redraw")}}function Yi(a,y,x,b){if(a.noHScroll){(x.alignable||(x.alignable=[])).push(y);var z=b.wrapperWidth;y.style.left=b.fixedPos+"px",a.coverGutter||(z-=b.gutterTotalWidth,y.style.paddingLeft=b.gutterTotalWidth+"px"),y.style.width=z+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-b.gutterTotalWidth+"px"))}function Pi(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!it(document.body,a.node)){var x="position: relative;";a.coverGutter&&(x+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(x+="width: "+y.display.wrapper.clientWidth+"px;"),st(y.display.measure,at("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function gi(a,y){for(var x=Ge(y);x!=a.wrapper;x=x.parentNode)if(!x||x.nodeType==1&&x.getAttribute("cm-ignore-events")=="true"||x.parentNode==a.sizer&&x!=a.mover)return!0}function ri(a){return a.lineSpace.offsetTop}function Gi(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function eo(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=st(a.measure,at("pre","x","CodeMirror-line-like")),x=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,b={left:parseInt(x.paddingLeft),right:parseInt(x.paddingRight)};return!isNaN(b.left)&&!isNaN(b.right)&&(a.cachedPaddingH=b),b}function Ri(a){return Qt-a.display.nativeBarWidth}function to(a){return a.display.scroller.clientWidth-Ri(a)-a.display.barWidth}function io(a){return a.display.scroller.clientHeight-Ri(a)-a.display.barHeight}function Ji(a,y,x){var b=a.options.lineWrapping,z=b&&to(a);if(!y.measure.heights||b&&y.measure.width!=z){var ie=y.measure.heights=[];if(b){y.measure.width=z;for(var le=y.text.firstChild.getClientRects(),ce=0;ce<le.length-1;ce++){var fe=le[ce],ge=le[ce+1];Math.abs(fe.bottom-ge.bottom)>2&&ie.push((fe.bottom+ge.top)/2-x.top)}}ie.push(x.bottom-x.top)}}function Mo(a,y,x){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var b=0;b<a.rest.length;b++)if(a.rest[b]==y)return{map:a.measure.maps[b],cache:a.measure.caches[b]};for(var z=0;z<a.rest.length;z++)if(ke(a.rest[z])>x)return{map:a.measure.maps[z],cache:a.measure.caches[z],before:!0}}function Ga(a,y){y=pn(y);var x=ke(y),b=a.display.externalMeasured=new Ki(a.doc,y,x);b.lineN=x;var z=b.built=ti(a,b);return b.text=z.pre,st(a.display.lineMeasure,z.pre),b}function ya(a,y,x,b){return Xi(a,uo(a,y),x,b)}function no(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[So(a,y)];var x=a.display.externalMeasured;if(x&&y>=x.lineN&&y<x.lineN+x.size)return x}function uo(a,y){var x=ke(y),b=no(a,x);b&&!b.text?b=null:b&&b.changes&&(Di(a,b,x,co(a)),a.curOp.forceUpdate=!0),b||(b=Ga(a,y));var z=Mo(b,y,x);return{line:y,view:b,rect:null,map:z.map,cache:z.cache,before:z.before,hasHeights:!1}}function Xi(a,y,x,b,z){y.before&&(x=-1);var ie=x+(b||""),le;return y.cache.hasOwnProperty(ie)?le=y.cache[ie]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ji(a,y.view,y.rect),y.hasHeights=!0),le=Ca(a,y,x,b),le.bogus||(y.cache[ie]=le)),{left:le.left,right:le.right,top:z?le.rtop:le.top,bottom:z?le.rbottom:le.bottom}}var ba={left:0,right:0,top:0,bottom:0};function xa(a,y,x){for(var b,z,ie,le,ce,fe,ge=0;ge<a.length;ge+=3)if(ce=a[ge],fe=a[ge+1],y<ce?(z=0,ie=1,le="left"):y<fe?(z=y-ce,ie=z+1):(ge==a.length-3||y==fe&&a[ge+3]>y)&&(ie=fe-ce,z=ie-1,y>=fe&&(le="right")),z!=null){if(b=a[ge+2],ce==fe&&x==(b.insertLeft?"left":"right")&&(le=x),x=="left"&&z==0)for(;ge&&a[ge-2]==a[ge-3]&&a[ge-1].insertLeft;)b=a[(ge-=3)+2],le="left";if(x=="right"&&z==fe-ce)for(;ge<a.length-3&&a[ge+3]==a[ge+4]&&!a[ge+5].insertLeft;)b=a[(ge+=3)+2],le="right";break}return{node:b,start:z,end:ie,collapse:le,coverStart:ce,coverEnd:fe}}function Xa(a,y){var x=ba;if(y=="left")for(var b=0;b<a.length&&(x=a[b]).left==x.right;b++);else for(var z=a.length-1;z>=0&&(x=a[z]).left==x.right;z--);return x}function Ca(a,y,x,b){var z=xa(y.map,x,b),ie=z.node,le=z.start,ce=z.end,fe=z.collapse,ge;if(ie.nodeType==3){for(var ot=0;ot<4;ot++){for(;le&&ye(y.line.text.charAt(z.coverStart+le));)--le;for(;z.coverStart+ce<z.coverEnd&&ye(y.line.text.charAt(z.coverStart+ce));)++ce;if(Se&&Ee<9&&le==0&&ce==z.coverEnd-z.coverStart?ge=ie.parentNode.getBoundingClientRect():ge=Xa(Be(ie,le,ce).getClientRects(),b),ge.left||ge.right||le==0)break;ce=le,le=le-1,fe="right"}Se&&Ee<11&&(ge=Ua(a.display.measure,ge))}else{le>0&&(fe=b="right");var gt;a.options.lineWrapping&&(gt=ie.getClientRects()).length>1?ge=gt[b=="right"?gt.length-1:0]:ge=ie.getBoundingClientRect()}if(Se&&Ee<9&&!le&&(!ge||!ge.left&&!ge.right)){var _t=ie.parentNode.getClientRects()[0];_t?ge={left:_t.left,right:_t.left+$i(a.display),top:_t.top,bottom:_t.bottom}:ge=ba}for(var Gt=ge.top-y.rect.top,Sn=ge.bottom-y.rect.top,zn=(Gt+Sn)/2,Kn=y.view.measure.heights,_n=0;_n<Kn.length-1&&!(zn<Kn[_n]);_n++);var ir=_n?Kn[_n-1]:0,er=Kn[_n],ur={left:(fe=="right"?ge.right:ge.left)-y.rect.left,right:(fe=="left"?ge.left:ge.right)-y.rect.left,top:ir,bottom:er};return!ge.left&&!ge.right&&(ur.bogus=!0),a.options.singleCursorHeightPerLine||(ur.rtop=Gt,ur.rbottom=Sn),ur}function Ua(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Zt(a))return y;var x=screen.logicalXDPI/screen.deviceXDPI,b=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*x,right:y.right*x,top:y.top*b,bottom:y.bottom*b}}function Ko(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Yo(a){a.display.externalMeasure=null,Tt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Ko(a.display.view[y])}function Co(a){Yo(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Jo(){return Pe&&ze?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wa(){return Pe&&ze?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Qo(a){var y=0;if(a.widgets)for(var x=0;x<a.widgets.length;++x)a.widgets[x].above&&(y+=Pi(a.widgets[x]));return y}function Lo(a,y,x,b,z){if(!z){var ie=Qo(y);x.top+=ie,x.bottom+=ie}if(b=="line")return x;b||(b="local");var le=fr(y);if(b=="local"?le+=ri(a.display):le-=a.display.viewOffset,b=="page"||b=="window"){var ce=a.display.lineSpace.getBoundingClientRect();le+=ce.top+(b=="window"?0:wa());var fe=ce.left+(b=="window"?0:Jo());x.left+=fe,x.right+=fe}return x.top+=le,x.bottom+=le,x}function Sa(a,y,x){if(x=="div")return y;var b=y.left,z=y.top;if(x=="page")b-=Jo(),z-=wa();else if(x=="local"||!x){var ie=a.display.sizer.getBoundingClientRect();b+=ie.left,z+=ie.top}var le=a.display.lineSpace.getBoundingClientRect();return{left:b-le.left,top:z-le.top}}function Io(a,y,x,b,z){return b||(b=zt(a.doc,y.line)),Lo(a,b,ya(a,b,y.ch,z),x)}function Bi(a,y,x,b,z,ie){b=b||zt(a.doc,y.line),z||(z=uo(a,b));function le(Sn,zn){var Kn=Xi(a,z,Sn,zn?"right":"left",ie);return zn?Kn.left=Kn.right:Kn.right=Kn.left,Lo(a,b,Kn,x)}var ce=tn(b,a.doc.direction),fe=y.ch,ge=y.sticky;if(fe>=b.text.length?(fe=b.text.length,ge="before"):fe<=0&&(fe=0,ge="after"),!ce)return le(ge=="before"?fe-1:fe,ge=="before");function ot(Sn,zn,Kn){var _n=ce[zn],ir=_n.level==1;return le(Kn?Sn-1:Sn,ir!=Kn)}var gt=Pt(ce,fe,ge),_t=tt,Gt=ot(fe,gt,ge=="before");return _t!=null&&(Gt.other=ot(fe,_t,ge!="before")),Gt}function Zr(a,y){var x=0;y=Xe(a.doc,y),a.options.lineWrapping||(x=$i(a.display)*y.ch);var b=zt(a.doc,y.line),z=fr(b)+ri(a.display);return{left:x,right:x,top:z,bottom:z+b.height}}function Br(a,y,x,b,z){var ie=De(a,y,x);return ie.xRel=z,b&&(ie.outside=b),ie}function yi(a,y,x){var b=a.doc;if(x+=a.display.viewOffset,x<0)return Br(b.first,0,null,-1,-1);var z=nt(b,x),ie=b.first+b.size-1;if(z>ie)return Br(b.first+b.size-1,zt(b,ie).text.length,null,1,1);y<0&&(y=0);for(var le=zt(b,z);;){var ce=Qi(a,le,z,y,x),fe=Bn(le,ce.ch+(ce.xRel>0||ce.outside>0?1:0));if(!fe)return ce;var ge=fe.find(1);if(ge.line==z)return ge;le=zt(b,z=ge.line)}}function Ci(a,y,x,b){b-=Qo(y);var z=y.text.length,ie=Ae(function(le){return Xi(a,x,le-1).bottom<=b},z,0);return z=Ae(function(le){return Xi(a,x,le).top>b},ie,z),{begin:ie,end:z}}function ii(a,y,x,b){x||(x=uo(a,y));var z=Lo(a,y,Xi(a,x,b),"line").top;return Ci(a,y,x,z)}function ci(a,y,x,b){return a.bottom<=x?!1:a.top>x?!0:(b?a.left:a.right)>y}function Qi(a,y,x,b,z){z-=fr(y);var ie=uo(a,y),le=Qo(y),ce=0,fe=y.text.length,ge=!0,ot=tn(y,a.doc.direction);if(ot){var gt=(a.options.lineWrapping?oo:Ui)(a,y,x,ie,ot,b,z);ge=gt.level!=1,ce=ge?gt.from:gt.to-1,fe=ge?gt.to:gt.from-1}var _t=null,Gt=null,Sn=Ae(function(gr){var pr=Xi(a,ie,gr);return pr.top+=le,pr.bottom+=le,ci(pr,b,z,!1)?(pr.top<=z&&pr.left<=b&&(_t=gr,Gt=pr),!0):!1},ce,fe),zn,Kn,_n=!1;if(Gt){var ir=b-Gt.left<Gt.right-b,er=ir==ge;Sn=_t+(er?0:1),Kn=er?"after":"before",zn=ir?Gt.left:Gt.right}else{!ge&&(Sn==fe||Sn==ce)&&Sn++,Kn=Sn==0?"after":Sn==y.text.length?"before":Xi(a,ie,Sn-(ge?1:0)).bottom+le<=z==ge?"after":"before";var ur=Bi(a,De(x,Sn,Kn),"line",y,ie);zn=ur.left,_n=z<ur.top?-1:z>=ur.bottom?1:0}return Sn=lt(y.text,Sn,1),Br(x,Sn,Kn,_n,b-zn)}function Ui(a,y,x,b,z,ie,le){var ce=Ae(function(gt){var _t=z[gt],Gt=_t.level!=1;return ci(Bi(a,De(x,Gt?_t.to:_t.from,Gt?"before":"after"),"line",y,b),ie,le,!0)},0,z.length-1),fe=z[ce];if(ce>0){var ge=fe.level!=1,ot=Bi(a,De(x,ge?fe.from:fe.to,ge?"after":"before"),"line",y,b);ci(ot,ie,le,!0)&&ot.top>le&&(fe=z[ce-1])}return fe}function oo(a,y,x,b,z,ie,le){var ce=Ci(a,y,b,le),fe=ce.begin,ge=ce.end;/\s/.test(y.text.charAt(ge-1))&&ge--;for(var ot=null,gt=null,_t=0;_t<z.length;_t++){var Gt=z[_t];if(!(Gt.from>=ge||Gt.to<=fe)){var Sn=Gt.level!=1,zn=Xi(a,b,Sn?Math.min(ge,Gt.to)-1:Math.max(fe,Gt.from)).right,Kn=zn<ie?ie-zn+1e9:zn-ie;(!ot||gt>Kn)&&(ot=Gt,gt=Kn)}}return ot||(ot=z[z.length-1]),ot.from<fe&&(ot={from:fe,to:ot.to,level:ot.level}),ot.to>ge&&(ot={from:ot.from,to:ge,level:ot.level}),ot}var zi;function Hi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(zi==null){zi=at("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)zi.appendChild(document.createTextNode("x")),zi.appendChild(at("br"));zi.appendChild(document.createTextNode("x"))}st(a.measure,zi);var x=zi.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),Tt(a.measure),x||1}function $i(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=at("span","xxxxxxxxxx"),x=at("pre",[y],"CodeMirror-line-like");st(a.measure,x);var b=y.getBoundingClientRect(),z=(b.right-b.left)/10;return z>2&&(a.cachedCharWidth=z),z||10}function co(a){for(var y=a.display,x={},b={},z=y.gutters.clientLeft,ie=y.gutters.firstChild,le=0;ie;ie=ie.nextSibling,++le){var ce=a.display.gutterSpecs[le].className;x[ce]=ie.offsetLeft+ie.clientLeft+z,b[ce]=ie.clientWidth}return{fixedPos:Ka(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:x,gutterWidth:b,wrapperWidth:y.wrapper.clientWidth}}function Ka(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Cl(a){var y=Hi(a.display),x=a.options.lineWrapping,b=x&&Math.max(5,a.display.scroller.clientWidth/$i(a.display)-3);return function(z){if(Nn(a.doc,z))return 0;var ie=0;if(z.widgets)for(var le=0;le<z.widgets.length;le++)z.widgets[le].height&&(ie+=z.widgets[le].height);return x?ie+(Math.ceil(z.text.length/b)||1)*y:ie+y}}function Ya(a){var y=a.doc,x=Cl(a);y.iter(function(b){var z=x(b);z!=b.height&&xn(b,z)})}function wo(a,y,x,b){var z=a.display;if(!x&&Ge(y).getAttribute("cm-not-content")=="true")return null;var ie,le,ce=z.lineSpace.getBoundingClientRect();try{ie=y.clientX-ce.left,le=y.clientY-ce.top}catch(gt){return null}var fe=yi(a,ie,le),ge;if(b&&fe.xRel>0&&(ge=zt(a.doc,fe.line).text).length==fe.ch){var ot=we(ge,ge.length,a.options.tabSize)-ge.length;fe=De(fe.line,Math.max(0,Math.round((ie-eo(a.display).left)/$i(a.display))-ot))}return fe}function So(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var x=a.display.view,b=0;b<x.length;b++)if(y-=x[b].size,y<0)return b}function Mi(a,y,x,b){y==null&&(y=a.doc.first),x==null&&(x=a.doc.first+a.doc.size),b||(b=0);var z=a.display;if(b&&x<z.viewTo&&(z.updateLineNumbers==null||z.updateLineNumbers>y)&&(z.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=z.viewTo)Cn&&wn(a.doc,y)<z.viewTo&&ho(a);else if(x<=z.viewFrom)Cn&&mn(a.doc,x+b)>z.viewFrom?ho(a):(z.viewFrom+=b,z.viewTo+=b);else if(y<=z.viewFrom&&x>=z.viewTo)ho(a);else if(y<=z.viewFrom){var ie=Ea(a,x,x+b,1);ie?(z.view=z.view.slice(ie.index),z.viewFrom=ie.lineN,z.viewTo+=b):ho(a)}else if(x>=z.viewTo){var le=Ea(a,y,y,-1);le?(z.view=z.view.slice(0,le.index),z.viewTo=le.lineN):ho(a)}else{var ce=Ea(a,y,y,-1),fe=Ea(a,x,x+b,1);ce&&fe?(z.view=z.view.slice(0,ce.index).concat(_r(a,ce.lineN,fe.lineN)).concat(z.view.slice(fe.index)),z.viewTo+=b):ho(a)}var ge=z.externalMeasured;ge&&(x<ge.lineN?ge.lineN+=b:y<ge.lineN+ge.size&&(z.externalMeasured=null))}function fo(a,y,x){a.curOp.viewChanged=!0;var b=a.display,z=a.display.externalMeasured;if(z&&y>=z.lineN&&y<z.lineN+z.size&&(b.externalMeasured=null),!(y<b.viewFrom||y>=b.viewTo)){var ie=b.view[So(a,y)];if(ie.node!=null){var le=ie.changes||(ie.changes=[]);xt(le,x)==-1&&le.push(x)}}}function ho(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ea(a,y,x,b){var z=So(a,y),ie,le=a.display.view;if(!Cn||x==a.doc.first+a.doc.size)return{index:z,lineN:x};for(var ce=a.display.viewFrom,fe=0;fe<z;fe++)ce+=le[fe].size;if(ce!=y){if(b>0){if(z==le.length-1)return null;ie=ce+le[z].size-y,z++}else ie=ce-y;y+=ie,x+=ie}for(;wn(a.doc,x)!=x;){if(z==(b<0?0:le.length-1))return null;x+=b*le[z-(b<0?1:0)].size,z+=b}return{index:z,lineN:x}}function Hs(a,y,x){var b=a.display,z=b.view;z.length==0||y>=b.viewTo||x<=b.viewFrom?(b.view=_r(a,y,x),b.viewFrom=y):(b.viewFrom>y?b.view=_r(a,y,b.viewFrom).concat(b.view):b.viewFrom<y&&(b.view=b.view.slice(So(a,y))),b.viewFrom=y,b.viewTo<x?b.view=b.view.concat(_r(a,b.viewTo,x)):b.viewTo>x&&(b.view=b.view.slice(0,So(a,x)))),b.viewTo=x}function wl(a){for(var y=a.display.view,x=0,b=0;b<y.length;b++){var z=y[b];!z.hidden&&(!z.node||z.changes)&&++x}return x}function $o(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Sl(a,y){y===void 0&&(y=!0);for(var x=a.doc,b={},z=b.cursors=document.createDocumentFragment(),ie=b.selection=document.createDocumentFragment(),le=0;le<x.sel.ranges.length;le++)if(!(!y&&le==x.sel.primIndex)){var ce=x.sel.ranges[le];if(!(ce.from().line>=a.display.viewTo||ce.to().line<a.display.viewFrom)){var fe=ce.empty();(fe||a.options.showCursorWhenSelecting)&&El(a,ce.head,z),fe||js(a,ce,ie)}}return b}function El(a,y,x){var b=Bi(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),z=x.appendChild(at("div","\xA0","CodeMirror-cursor"));if(z.style.left=b.left+"px",z.style.top=b.top+"px",z.style.height=Math.max(0,b.bottom-b.top)*a.options.cursorHeight+"px",b.other){var ie=x.appendChild(at("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ie.style.display="",ie.style.left=b.other.left+"px",ie.style.top=b.other.top+"px",ie.style.height=(b.other.bottom-b.other.top)*.85+"px"}}function Pa(a,y){return a.top-y.top||a.left-y.left}function js(a,y,x){var b=a.display,z=a.doc,ie=document.createDocumentFragment(),le=eo(a.display),ce=le.left,fe=Math.max(b.sizerWidth,to(a)-b.sizer.offsetLeft)-le.right,ge=z.direction=="ltr";function ot(er,ur,gr,pr){ur<0&&(ur=0),ur=Math.round(ur),pr=Math.round(pr),ie.appendChild(at("div",null,"CodeMirror-selected","position: absolute; left: "+er+`px;
top: `+ur+"px; width: "+(gr==null?fe-er:gr)+`px;
height: `+(pr-ur)+"px"))}function gt(er,ur,gr){var pr=zt(z,er),Ir=pr.text.length,Qr,mi;function qr(ai,Ti){return Io(a,De(er,ai),"div",pr,Ti)}function Wi(ai,Ti,bi){var di=ii(a,pr,null,ai),li=Ti=="ltr"==(bi=="after")?"left":"right",ei=bi=="after"?di.begin:di.end-(/\s/.test(pr.text.charAt(di.end-1))?2:1);return qr(ei,li)[li]}var Ii=tn(pr,z.direction);return Ne(Ii,ur||0,gr==null?Ir:gr,function(ai,Ti,bi,di){var li=bi=="ltr",ei=qr(ai,li?"left":"right"),ki=qr(Ti-1,li?"right":"left"),Xo=ur==null&&ai==0,bo=gr==null&&Ti==Ir,Si=di==0,ro=!Ii||di==Ii.length-1;if(ki.top-ei.top<=3){var vi=(ge?Xo:bo)&&Si,bl=(ge?bo:Xo)&&ro,lo=vi?ce:(li?ei:ki).left,Do=bl?fe:(li?ki:ei).right;ot(lo,ei.top,Do-lo,ei.bottom)}else{var Bo,Ai,Uo,xl;li?(Bo=ge&&Xo&&Si?ce:ei.left,Ai=ge?fe:Wi(ai,bi,"before"),Uo=ge?ce:Wi(Ti,bi,"after"),xl=ge&&bo&&ro?fe:ki.right):(Bo=ge?Wi(ai,bi,"before"):ce,Ai=!ge&&Xo&&Si?fe:ei.right,Uo=!ge&&bo&&ro?ce:ki.left,xl=ge?Wi(Ti,bi,"after"):fe),ot(Bo,ei.top,Ai-Bo,ei.bottom),ei.bottom<ki.top&&ot(ce,ei.bottom,null,ki.top),ot(Uo,ki.top,xl-Uo,ki.bottom)}(!Qr||Pa(ei,Qr)<0)&&(Qr=ei),Pa(ki,Qr)<0&&(Qr=ki),(!mi||Pa(ei,mi)<0)&&(mi=ei),Pa(ki,mi)<0&&(mi=ki)}),{start:Qr,end:mi}}var _t=y.from(),Gt=y.to();if(_t.line==Gt.line)gt(_t.line,_t.ch,Gt.ch);else{var Sn=zt(z,_t.line),zn=zt(z,Gt.line),Kn=pn(Sn)==pn(zn),_n=gt(_t.line,_t.ch,Kn?Sn.text.length+1:null).end,ir=gt(Gt.line,Kn?0:null,Gt.ch).start;Kn&&(_n.top<ir.top-2?(ot(_n.right,_n.top,null,_n.bottom),ot(ce,ir.top,ir.left,ir.bottom)):ot(_n.right,_n.top,ir.left-_n.right,_n.bottom)),_n.bottom<ir.top&&ot(ce,_n.bottom,null,ir.top)}x.appendChild(ie)}function Ja(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var x=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||To(a),y.cursorDiv.style.visibility=(x=!x)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function Pl(a){a.state.focused||(a.display.input.focus(),Qa(a))}function Ol(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,To(a))},100)}function Qa(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||($t(a,"focus",a,y),a.state.focused=!0,ue(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ie&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ja(a))}function To(a,y){a.state.delayingBlurEvent||(a.state.focused&&($t(a,"blur",a,y),a.state.focused=!1,et(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Oa(a){for(var y=a.display,x=y.lineDiv.offsetTop,b=0;b<y.view.length;b++){var z=y.view[b],ie=a.options.lineWrapping,le=void 0,ce=0;if(!z.hidden){if(Se&&Ee<8){var fe=z.node.offsetTop+z.node.offsetHeight;le=fe-x,x=fe}else{var ge=z.node.getBoundingClientRect();le=ge.bottom-ge.top,!ie&&z.text.firstChild&&(ce=z.text.firstChild.getBoundingClientRect().right-ge.left-1)}var ot=z.line.height-le;if((ot>.005||ot<-.005)&&(xn(z.line,le),Al(z.line),z.rest))for(var gt=0;gt<z.rest.length;gt++)Al(z.rest[gt]);if(ce>a.display.sizerWidth){var _t=Math.ceil(ce/$i(a.display));_t>a.display.maxLineLength&&(a.display.maxLineLength=_t,a.display.maxLine=z.line,a.display.maxLineChanged=!0)}}}}function Al(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var x=a.widgets[y],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function Aa(a,y,x){var b=x&&x.top!=null?Math.max(0,x.top):a.scroller.scrollTop;b=Math.floor(b-ri(a));var z=x&&x.bottom!=null?x.bottom:b+a.wrapper.clientHeight,ie=nt(y,b),le=nt(y,z);if(x&&x.ensure){var ce=x.ensure.from.line,fe=x.ensure.to.line;ce<ie?(ie=ce,le=nt(y,fr(zt(y,ce))+a.wrapper.clientHeight)):Math.min(fe,y.lastLine())>=le&&(ie=nt(y,fr(zt(y,fe))-a.wrapper.clientHeight),le=fe)}return{from:ie,to:Math.max(le,ie+1)}}function Ws(a,y){if(!wt(a,"scrollCursorIntoView")){var x=a.display,b=x.sizer.getBoundingClientRect(),z=null;if(y.top+b.top<0?z=!0:y.bottom+b.top>(window.innerHeight||document.documentElement.clientHeight)&&(z=!1),z!=null&&!At){var ie=at("div","\u200B",null,`position: absolute;
top: `+(y.top-x.viewOffset-ri(a.display))+`px;
height: `+(y.bottom-y.top+Ri(a)+x.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ie),ie.scrollIntoView(z),a.display.lineSpace.removeChild(ie)}}}function Zs(a,y,x,b){b==null&&(b=0);var z;!a.options.lineWrapping&&y==x&&(y=y.ch?De(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?De(y.line,y.ch+1,"before"):y);for(var ie=0;ie<5;ie++){var le=!1,ce=Bi(a,y),fe=!x||x==y?ce:Bi(a,x);z={left:Math.min(ce.left,fe.left),top:Math.min(ce.top,fe.top)-b,right:Math.max(ce.left,fe.left),bottom:Math.max(ce.bottom,fe.bottom)+b};var ge=$a(a,z),ot=a.doc.scrollTop,gt=a.doc.scrollLeft;if(ge.scrollTop!=null&&(_o(a,ge.scrollTop),Math.abs(a.doc.scrollTop-ot)>1&&(le=!0)),ge.scrollLeft!=null&&(Eo(a,ge.scrollLeft),Math.abs(a.doc.scrollLeft-gt)>1&&(le=!0)),!le)break}return z}function Vs(a,y){var x=$a(a,y);x.scrollTop!=null&&_o(a,x.scrollTop),x.scrollLeft!=null&&Eo(a,x.scrollLeft)}function $a(a,y){var x=a.display,b=Hi(a.display);y.top<0&&(y.top=0);var z=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:x.scroller.scrollTop,ie=io(a),le={};y.bottom-y.top>ie&&(y.bottom=y.top+ie);var ce=a.doc.height+Gi(x),fe=y.top<b,ge=y.bottom>ce-b;if(y.top<z)le.scrollTop=fe?0:y.top;else if(y.bottom>z+ie){var ot=Math.min(y.top,(ge?ce:y.bottom)-ie);ot!=z&&(le.scrollTop=ot)}var gt=a.options.fixedGutter?0:x.gutters.offsetWidth,_t=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-gt,Gt=to(a)-x.gutters.offsetWidth,Sn=y.right-y.left>Gt;return Sn&&(y.right=y.left+Gt),y.left<10?le.scrollLeft=0:y.left<_t?le.scrollLeft=Math.max(0,y.left+gt-(Sn?0:10)):y.right>Gt+_t-3&&(le.scrollLeft=y.right+(Sn?0:10)-Gt),le}function qa(a,y){y!=null&&(Da(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function ko(a){Da(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function qo(a,y,x){(y!=null||x!=null)&&Da(a),y!=null&&(a.curOp.scrollLeft=y),x!=null&&(a.curOp.scrollTop=x)}function Gs(a,y){Da(a),a.curOp.scrollToPos=y}function Da(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var x=Zr(a,y.from),b=Zr(a,y.to);Dl(a,x,b,y.margin)}}function Dl(a,y,x,b){var z=$a(a,{left:Math.min(y.left,x.left),top:Math.min(y.top,x.top)-b,right:Math.max(y.right,x.right),bottom:Math.max(y.bottom,x.bottom)+b});qo(a,z.scrollLeft,z.scrollTop)}function _o(a,y){Math.abs(a.doc.scrollTop-y)<2||(E||el(a,{top:y}),Bl(a,y,!0),E&&el(a),na(a,100))}function Bl(a,y,x){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!x)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Eo(a,y,x,b){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((x?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!b)&&(a.doc.scrollLeft=y,kl(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function ea(a){var y=a.display,x=y.gutters.offsetWidth,b=Math.round(a.doc.height+Gi(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+Ri(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:x}}var Po=function(a,y,x){this.cm=x;var b=this.vert=at("div",[at("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),z=this.horiz=at("div",[at("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=z.tabIndex=-1,a(b),a(z),Wt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),Wt(z,"scroll",function(){z.clientWidth&&y(z.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Se&&Ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Po.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,x=a.scrollHeight>a.clientHeight+1,b=a.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=y?b+"px":"0";var z=a.viewHeight-(y?b:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+z)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=a.barLeft+"px";var ie=a.viewWidth-a.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ie)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:y?b:0}},Po.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Po.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Po.prototype.zeroWidthHack=function(){var a=We&&!xe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new de,this.disableVert=new de},Po.prototype.enableZeroWidthBar=function(a,y,x){a.style.pointerEvents="auto";function b(){var z=a.getBoundingClientRect(),ie=x=="vert"?document.elementFromPoint(z.right-1,(z.top+z.bottom)/2):document.elementFromPoint((z.right+z.left)/2,z.bottom-1);ie!=a?a.style.pointerEvents="none":y.set(1e3,b)}y.set(1e3,b)},Po.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var ta=function(){};ta.prototype.update=function(){return{bottom:0,right:0}},ta.prototype.setScrollLeft=function(){},ta.prototype.setScrollTop=function(){},ta.prototype.clear=function(){};function No(a,y){y||(y=ea(a));var x=a.display.barWidth,b=a.display.barHeight;Ml(a,y);for(var z=0;z<4&&x!=a.display.barWidth||b!=a.display.barHeight;z++)x!=a.display.barWidth&&a.options.lineWrapping&&Oa(a),Ml(a,ea(a)),x=a.display.barWidth,b=a.display.barHeight}function Ml(a,y){var x=a.display,b=x.scrollbars.update(y);x.sizer.style.paddingRight=(x.barWidth=b.right)+"px",x.sizer.style.paddingBottom=(x.barHeight=b.bottom)+"px",x.heightForcer.style.borderBottom=b.bottom+"px solid transparent",b.right&&b.bottom?(x.scrollbarFiller.style.display="block",x.scrollbarFiller.style.height=b.bottom+"px",x.scrollbarFiller.style.width=b.right+"px"):x.scrollbarFiller.style.display="",b.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(x.gutterFiller.style.display="block",x.gutterFiller.style.height=b.bottom+"px",x.gutterFiller.style.width=y.gutterWidth+"px"):x.gutterFiller.style.display=""}var Ll={native:Po,null:ta};function Il(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&et(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ll[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,x){x=="horizontal"?Eo(a,y):_o(a,y)},a),a.display.scrollbars.addClass&&ue(a.display.wrapper,a.display.scrollbars.addClass)}var Xs=0;function Oo(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:++Xs},zr(a.curOp)}function Ao(a){var y=a.curOp;y&&wr(y,function(x){for(var b=0;b<x.ops.length;b++)x.ops[b].cm.curOp=null;Us(x)})}function Us(a){for(var y=a.ops,x=0;x<y.length;x++)Ks(y[x]);for(var b=0;b<y.length;b++)Ys(y[b]);for(var z=0;z<y.length;z++)Js(y[z]);for(var ie=0;ie<y.length;ie++)Qs(y[ie]);for(var le=0;le<y.length;le++)$s(y[le])}function Ks(a){var y=a.cm,x=y.display;_s(y),a.updateMaxLine&&Or(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<x.viewFrom||a.scrollToPos.to.line>=x.viewTo)||x.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Ba(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Ys(a){a.updatedDisplay=a.mustUpdate&&_a(a.cm,a.update)}function Js(a){var y=a.cm,x=y.display;a.updatedDisplay&&Oa(y),a.barMeasure=ea(y),x.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ya(y,x.maxLine,x.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(x.scroller.clientWidth,x.sizer.offsetLeft+a.adjustWidthTo+Ri(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,x.sizer.offsetLeft+a.adjustWidthTo-to(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=x.input.prepareSelection())}function Qs(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Eo(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var x=a.focus&&a.focus==Je();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&No(y,a.barMeasure),a.updatedDisplay&&nl(y,a.barMeasure),a.selectionChanged&&Ja(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),x&&Pl(a.cm)}function $s(a){var y=a.cm,x=y.display,b=y.doc;if(a.updatedDisplay&&Tl(y,a.update),x.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(x.wheelStartX=x.wheelStartY=null),a.scrollTop!=null&&Bl(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Eo(y,a.scrollLeft,!0,!0),a.scrollToPos){var z=Zs(y,Xe(b,a.scrollToPos.from),Xe(b,a.scrollToPos.to),a.scrollToPos.margin);Ws(y,z)}var ie=a.maybeHiddenMarkers,le=a.maybeUnhiddenMarkers;if(ie)for(var ce=0;ce<ie.length;++ce)ie[ce].lines.length||$t(ie[ce],"hide");if(le)for(var fe=0;fe<le.length;++fe)le[fe].lines.length&&$t(le[fe],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&$t(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ji(a,y){if(a.curOp)return y();Oo(a);try{return y()}finally{Ao(a)}}function hi(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Oo(a);try{return y.apply(a,arguments)}finally{Ao(a)}}}function Oi(a){return function(){if(this.curOp)return a.apply(this,arguments);Oo(this);try{return a.apply(this,arguments)}finally{Ao(this)}}}function pi(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Oo(y);try{return a.apply(this,arguments)}finally{Ao(y)}}}function na(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,qe(qs,a))}function qs(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=Wn(a,y.highlightFrontier),z=[];y.iter(b.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ie){if(b.line>=a.display.viewFrom){var le=ie.styles,ce=ie.text.length>a.options.maxHighlightLength?Fn(y.mode,b.state):null,fe=cn(a,ie,b,!0);ce&&(b.state=ce),ie.styles=fe.styles;var ge=ie.styleClasses,ot=fe.classes;ot?ie.styleClasses=ot:ge&&(ie.styleClasses=null);for(var gt=!le||le.length!=ie.styles.length||ge!=ot&&(!ge||!ot||ge.bgClass!=ot.bgClass||ge.textClass!=ot.textClass),_t=0;!gt&&_t<le.length;++_t)gt=le[_t]!=ie.styles[_t];gt&&z.push(b.line),ie.stateAfter=b.save(),b.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&Yn(a,ie.text,b),ie.stateAfter=b.line%5==0?b.save():null,b.nextLine();if(+new Date>x)return na(a,a.options.workDelay),!0}),y.highlightFrontier=b.line,y.modeFrontier=Math.max(y.modeFrontier,b.line),z.length&&ji(a,function(){for(var ie=0;ie<z.length;ie++)fo(a,z[ie],"text")})}}var Ba=function(a,y,x){var b=a.display;this.viewport=y,this.visible=Aa(b,a.doc,y),this.editorIsHidden=!b.wrapper.offsetWidth,this.wrapperHeight=b.wrapper.clientHeight,this.wrapperWidth=b.wrapper.clientWidth,this.oldDisplayWidth=to(a),this.force=x,this.dims=co(a),this.events=[]};Ba.prototype.signal=function(a,y){kt(a,y)&&this.events.push(arguments)},Ba.prototype.finish=function(){for(var a=0;a<this.events.length;a++)$t.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=Ri(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Ri(a)+"px",y.scrollbarsClipped=!0)}function eu(a){if(a.hasFocus())return null;var y=Je();if(!y||!it(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&it(a.display.lineDiv,b.anchorNode)&&(x.anchorNode=b.anchorNode,x.anchorOffset=b.anchorOffset,x.focusNode=b.focusNode,x.focusOffset=b.focusOffset)}return x}function tu(a){if(!(!a||!a.activeElt||a.activeElt==Je())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&it(document.body,a.anchorNode)&&it(document.body,a.focusNode))){var y=window.getSelection(),x=document.createRange();x.setEnd(a.anchorNode,a.anchorOffset),x.collapse(!1),y.removeAllRanges(),y.addRange(x),y.extend(a.focusNode,a.focusOffset)}}function _a(a,y){var x=a.display,b=a.doc;if(y.editorIsHidden)return ho(a),!1;if(!y.force&&y.visible.from>=x.viewFrom&&y.visible.to<=x.viewTo&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo)&&x.renderedView==x.view&&wl(a)==0)return!1;Nl(a)&&(ho(a),y.dims=co(a));var z=b.first+b.size,ie=Math.max(y.visible.from-a.options.viewportMargin,b.first),le=Math.min(z,y.visible.to+a.options.viewportMargin);x.viewFrom<ie&&ie-x.viewFrom<20&&(ie=Math.max(b.first,x.viewFrom)),x.viewTo>le&&x.viewTo-le<20&&(le=Math.min(z,x.viewTo)),Cn&&(ie=wn(a.doc,ie),le=mn(a.doc,le));var ce=ie!=x.viewFrom||le!=x.viewTo||x.lastWrapHeight!=y.wrapperHeight||x.lastWrapWidth!=y.wrapperWidth;Hs(a,ie,le),x.viewOffset=fr(zt(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var fe=wl(a);if(!ce&&fe==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var ge=eu(a);return fe>4&&(x.lineDiv.style.display="none"),nu(a,x.updateLineNumbers,y.dims),fe>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,tu(ge),Tt(x.cursorDiv),Tt(x.selectionDiv),x.gutters.style.height=x.sizer.style.minHeight=0,ce&&(x.lastWrapHeight=y.wrapperHeight,x.lastWrapWidth=y.wrapperWidth,na(a,400)),x.updateLineNumbers=null,!0}function Tl(a,y){for(var x=y.viewport,b=!0;;b=!1){if(!b||!a.options.lineWrapping||y.oldDisplayWidth==to(a)){if(x&&x.top!=null&&(x={top:Math.min(a.doc.height+Gi(a.display)-io(a),x.top)}),y.visible=Aa(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=Aa(a.display,a.doc,x));if(!_a(a,y))break;Oa(a);var z=ea(a);$o(a),No(a,z),nl(a,z),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 el(a,y){var x=new Ba(a,y);if(_a(a,x)){Oa(a),Tl(a,x);var b=ea(a);$o(a),No(a,b),nl(a,b),x.finish()}}function nu(a,y,x){var b=a.display,z=a.options.lineNumbers,ie=b.lineDiv,le=ie.firstChild;function ce(Sn){var zn=Sn.nextSibling;return Ie&&We&&a.display.currentWheelTarget==Sn?Sn.style.display="none":Sn.parentNode.removeChild(Sn),zn}for(var fe=b.view,ge=b.viewFrom,ot=0;ot<fe.length;ot++){var gt=fe[ot];if(!gt.hidden)if(!gt.node||gt.node.parentNode!=ie){var _t=Sr(a,gt,ge,x);ie.insertBefore(_t,le)}else{for(;le!=gt.node;)le=ce(le);var Gt=z&&y!=null&&y<=ge&&gt.lineNumber;gt.changes&&(xt(gt.changes,"gutter")>-1&&(Gt=!1),Di(a,gt,ge,x)),Gt&&(Tt(gt.lineNumber),gt.lineNumber.appendChild(document.createTextNode(Re(a.options,ge)))),le=gt.node.nextSibling}ge+=gt.size}for(;le;)le=ce(le)}function tl(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function nl(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+Ri(a)+"px"}function kl(a){var y=a.display,x=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var b=Ka(y)-y.scroller.scrollLeft+a.doc.scrollLeft,z=y.gutters.offsetWidth,ie=b+"px",le=0;le<x.length;le++)if(!x[le].hidden){a.options.fixedGutter&&(x[le].gutter&&(x[le].gutter.style.left=ie),x[le].gutterBackground&&(x[le].gutterBackground.style.left=ie));var ce=x[le].alignable;if(ce)for(var fe=0;fe<ce.length;fe++)ce[fe].style.left=ie}a.options.fixedGutter&&(y.gutters.style.left=b+z+"px")}}function Nl(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=Re(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var z=b.measure.appendChild(at("div",[at("div",x)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ie=z.firstChild.offsetWidth,le=z.offsetWidth-ie;return b.lineGutter.style.width="",b.lineNumInnerWidth=Math.max(ie,b.lineGutter.offsetWidth-le)+1,b.lineNumWidth=b.lineNumInnerWidth+le,b.lineNumChars=b.lineNumInnerWidth?x.length:-1,b.lineGutter.style.width=b.lineNumWidth+"px",tl(a.display),!0}return!1}function rl(a,y){for(var x=[],b=!1,z=0;z<a.length;z++){var ie=a[z],le=null;if(typeof ie!="string"&&(le=ie.style,ie=ie.className),ie=="CodeMirror-linenumbers")if(y)b=!0;else continue;x.push({className:ie,style:le})}return y&&!b&&x.push({className:"CodeMirror-linenumbers",style:null}),x}function Fl(a){var y=a.gutters,x=a.gutterSpecs;Tt(y),a.lineGutter=null;for(var b=0;b<x.length;++b){var z=x[b],ie=z.className,le=z.style,ce=y.appendChild(at("div",null,"CodeMirror-gutter "+ie));le&&(ce.style.cssText=le),ie=="CodeMirror-linenumbers"&&(a.lineGutter=ce,ce.style.width=(a.lineNumWidth||1)+"px")}y.style.display=x.length?"":"none",tl(a)}function ra(a){Fl(a.display),Mi(a),kl(a)}function ru(a,y,x,b){var z=this;this.input=x,z.scrollbarFiller=at("div",null,"CodeMirror-scrollbar-filler"),z.scrollbarFiller.setAttribute("cm-not-content","true"),z.gutterFiller=at("div",null,"CodeMirror-gutter-filler"),z.gutterFiller.setAttribute("cm-not-content","true"),z.lineDiv=bt("div",null,"CodeMirror-code"),z.selectionDiv=at("div",null,null,"position: relative; z-index: 1"),z.cursorDiv=at("div",null,"CodeMirror-cursors"),z.measure=at("div",null,"CodeMirror-measure"),z.lineMeasure=at("div",null,"CodeMirror-measure"),z.lineSpace=bt("div",[z.measure,z.lineMeasure,z.selectionDiv,z.cursorDiv,z.lineDiv],null,"position: relative; outline: none");var ie=bt("div",[z.lineSpace],"CodeMirror-lines");z.mover=at("div",[ie],null,"position: relative"),z.sizer=at("div",[z.mover],"CodeMirror-sizer"),z.sizerWidth=null,z.heightForcer=at("div",null,null,"position: absolute; height: "+Qt+"px; width: 1px;"),z.gutters=at("div",null,"CodeMirror-gutters"),z.lineGutter=null,z.scroller=at("div",[z.sizer,z.heightForcer,z.gutters],"CodeMirror-scroll"),z.scroller.setAttribute("tabIndex","-1"),z.wrapper=at("div",[z.scrollbarFiller,z.gutterFiller,z.scroller],"CodeMirror"),Se&&Ee<8&&(z.gutters.style.zIndex=-1,z.scroller.style.paddingRight=0),!Ie&&!(E&&Ue)&&(z.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(z.wrapper):a(z.wrapper)),z.viewFrom=z.viewTo=y.first,z.reportedViewFrom=z.reportedViewTo=y.first,z.view=[],z.renderedView=null,z.externalMeasured=null,z.viewOffset=0,z.lastWrapHeight=z.lastWrapWidth=0,z.updateLineNumbers=null,z.nativeBarWidth=z.barHeight=z.barWidth=0,z.scrollbarsClipped=!1,z.lineNumWidth=z.lineNumInnerWidth=z.lineNumChars=null,z.alignWidgets=!1,z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.maxLine=null,z.maxLineLength=0,z.maxLineChanged=!1,z.wheelDX=z.wheelDY=z.wheelStartX=z.wheelStartY=null,z.shift=!1,z.selForContextMenu=null,z.activeTouch=null,z.gutterSpecs=rl(b.gutters,b.lineNumbers),Fl(z),x.init(z)}var Ma=0,Zi=null;Se?Zi=-.53:E?Zi=15:Pe?Zi=-.7:Ze&&(Zi=-1/3);function Rl(a){var y=a.wheelDeltaX,x=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),x==null&&a.detail&&a.axis==a.VERTICAL_AXIS?x=a.detail:x==null&&(x=a.wheelDelta),{x:y,y:x}}function iu(a){var y=Rl(a);return y.x*=Zi,y.y*=Zi,y}function zl(a,y){var x=Rl(y),b=x.x,z=x.y,ie=a.display,le=ie.scroller,ce=le.scrollWidth>le.clientWidth,fe=le.scrollHeight>le.clientHeight;if(b&&ce||z&&fe){if(z&&We&&Ie){e:for(var ge=y.target,ot=ie.view;ge!=le;ge=ge.parentNode)for(var gt=0;gt<ot.length;gt++)if(ot[gt].node==ge){a.display.currentWheelTarget=ge;break e}}if(b&&!E&&!he&&Zi!=null){z&&fe&&_o(a,Math.max(0,le.scrollTop+z*Zi)),Eo(a,Math.max(0,le.scrollLeft+b*Zi)),(!z||z&&fe)&&Fe(y),ie.wheelStartX=null;return}if(z&&Zi!=null){var _t=z*Zi,Gt=a.doc.scrollTop,Sn=Gt+ie.wrapper.clientHeight;_t<0?Gt=Math.max(0,Gt+_t-50):Sn=Math.min(a.doc.height,Sn+_t+50),el(a,{top:Gt,bottom:Sn})}Ma<20&&(ie.wheelStartX==null?(ie.wheelStartX=le.scrollLeft,ie.wheelStartY=le.scrollTop,ie.wheelDX=b,ie.wheelDY=z,setTimeout(function(){if(ie.wheelStartX!=null){var zn=le.scrollLeft-ie.wheelStartX,Kn=le.scrollTop-ie.wheelStartY,_n=Kn&&ie.wheelDY&&Kn/ie.wheelDY||zn&&ie.wheelDX&&zn/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,_n&&(Zi=(Zi*Ma+_n)/(Ma+1),++Ma)}},200)):(ie.wheelDX+=b,ie.wheelDY+=z))}}var Vi=function(a,y){this.ranges=a,this.primIndex=y};Vi.prototype.primary=function(){return this.ranges[this.primIndex]},Vi.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var x=this.ranges[y],b=a.ranges[y];if(!be(x.anchor,b.anchor)||!be(x.head,b.head))return!1}return!0},Vi.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Ur(_e(this.ranges[y].anchor),_e(this.ranges[y].head));return new Vi(a,this.primIndex)},Vi.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Vi.prototype.contains=function(a,y){y||(y=a);for(var x=0;x<this.ranges.length;x++){var b=this.ranges[x];if(Ve(y,b.from())>=0&&Ve(a,b.to())<=0)return x}return-1};var Ur=function(a,y){this.anchor=a,this.head=y};Ur.prototype.from=function(){return yt(this.anchor,this.head)},Ur.prototype.to=function(){return ft(this.anchor,this.head)},Ur.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function qi(a,y,x){var b=a&&a.options.selectionsMayTouch,z=y[x];y.sort(function(_t,Gt){return Ve(_t.from(),Gt.from())}),x=xt(y,z);for(var ie=1;ie<y.length;ie++){var le=y[ie],ce=y[ie-1],fe=Ve(ce.to(),le.from());if(b&&!le.empty()?fe>0:fe>=0){var ge=yt(ce.from(),le.from()),ot=ft(ce.to(),le.to()),gt=ce.empty()?le.from()==le.head:ce.from()==ce.head;ie<=x&&--x,y.splice(--ie,2,new Ur(gt?ot:ge,gt?ge:ot))}}return new Vi(y,x)}function po(a,y){return new Vi([new Ur(a,y||a)],0)}function mo(a){return a.text?De(a.from.line+a.text.length-1,je(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Hl(a,y){if(Ve(a,y.from)<0)return a;if(Ve(a,y.to)<=0)return mo(y);var x=a.line+y.text.length-(y.to.line-y.from.line)-1,b=a.ch;return a.line==y.to.line&&(b+=mo(y).ch-y.to.ch),De(x,b)}function il(a,y){for(var x=[],b=0;b<a.sel.ranges.length;b++){var z=a.sel.ranges[b];x.push(new Ur(Hl(z.anchor,y),Hl(z.head,y)))}return qi(a.cm,x,a.sel.primIndex)}function jl(a,y,x){return a.line==y.line?De(x.line,a.ch-y.ch+x.ch):De(x.line+(a.line-y.line),a.ch)}function ou(a,y,x){for(var b=[],z=De(a.first,0),ie=z,le=0;le<y.length;le++){var ce=y[le],fe=jl(ce.from,z,ie),ge=jl(mo(ce),z,ie);if(z=ce.to,ie=ge,x=="around"){var ot=a.sel.ranges[le],gt=Ve(ot.head,ot.anchor)<0;b[le]=new Ur(gt?ge:fe,gt?fe:ge)}else b[le]=new Ur(fe,fe)}return new Vi(b,a.sel.primIndex)}function ol(a){a.doc.mode=En(a.options,a.doc.modeOption),ia(a)}function ia(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,na(a,100),a.state.modeGen++,a.curOp&&Mi(a)}function Wl(a,y){return y.from.ch==0&&y.to.ch==0&&je(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function al(a,y,x,b){function z(ir){return x?x[ir]:null}function ie(ir,er,ur){kr(ir,er,ur,b),Lr(ir,"change",ir,y)}function le(ir,er){for(var ur=[],gr=ir;gr<er;++gr)ur.push(new Fr(ge[gr],z(gr),b));return ur}var ce=y.from,fe=y.to,ge=y.text,ot=zt(a,ce.line),gt=zt(a,fe.line),_t=je(ge),Gt=z(ge.length-1),Sn=fe.line-ce.line;if(y.full)a.insert(0,le(0,ge.length)),a.remove(ge.length,a.size-ge.length);else if(Wl(a,y)){var zn=le(0,ge.length-1);ie(gt,gt.text,Gt),Sn&&a.remove(ce.line,Sn),zn.length&&a.insert(ce.line,zn)}else if(ot==gt)if(ge.length==1)ie(ot,ot.text.slice(0,ce.ch)+_t+ot.text.slice(fe.ch),Gt);else{var Kn=le(1,ge.length-1);Kn.push(new Fr(_t+ot.text.slice(fe.ch),Gt,b)),ie(ot,ot.text.slice(0,ce.ch)+ge[0],z(0)),a.insert(ce.line+1,Kn)}else if(ge.length==1)ie(ot,ot.text.slice(0,ce.ch)+ge[0]+gt.text.slice(fe.ch),z(0)),a.remove(ce.line+1,Sn);else{ie(ot,ot.text.slice(0,ce.ch)+ge[0],z(0)),ie(gt,_t+gt.text.slice(fe.ch),Gt);var _n=le(1,ge.length-1);Sn>1&&a.remove(ce.line+1,Sn-1),a.insert(ce.line+1,_n)}Lr(a,"change",a,y)}function vo(a,y,x){function b(z,ie,le){if(z.linked)for(var ce=0;ce<z.linked.length;++ce){var fe=z.linked[ce];if(fe.doc!=ie){var ge=le&&fe.sharedHist;x&&!ge||(y(fe.doc,ge),b(fe.doc,z,ge))}}}b(a,null,!0)}function Zl(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Ya(a),ol(a),Vl(a),a.options.lineWrapping||Or(a),a.options.mode=y.modeOption,Mi(a)}function Vl(a){(a.doc.direction=="rtl"?ue:et)(a.display.lineDiv,"CodeMirror-rtl")}function au(a){ji(a,function(){Vl(a),Mi(a)})}function La(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 ll(a,y){var x={from:_e(y.from),to:mo(y),text:nn(a,y.from,y.to)};return Ul(a,x,y.from.line,y.to.line+1),vo(a,function(b){return Ul(b,x,y.from.line,y.to.line+1)},!0),x}function Gl(a){for(;a.length;){var y=je(a);if(y.ranges)a.pop();else break}}function lu(a,y){if(y)return Gl(a.done),je(a.done);if(a.done.length&&!je(a.done).ranges)return je(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),je(a.done)}function Xl(a,y,x,b){var z=a.history;z.undone.length=0;var ie=+new Date,le,ce;if((z.lastOp==b||z.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&z.lastModTime>ie-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(le=lu(z,z.lastOp==b)))ce=je(le.changes),Ve(y.from,y.to)==0&&Ve(y.from,ce.to)==0?ce.to=mo(y):le.changes.push(ll(a,y));else{var fe=je(z.done);for((!fe||!fe.ranges)&&Ia(a.sel,z.done),le={changes:[ll(a,y)],generation:z.generation},z.done.push(le);z.done.length>z.undoDepth;)z.done.shift(),z.done[0].ranges||z.done.shift()}z.done.push(x),z.generation=++z.maxGeneration,z.lastModTime=z.lastSelTime=ie,z.lastOp=z.lastSelOp=b,z.lastOrigin=z.lastSelOrigin=y.origin,ce||$t(a,"historyAdded")}function su(a,y,x,b){var z=y.charAt(0);return z=="*"||z=="+"&&x.ranges.length==b.ranges.length&&x.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uu(a,y,x,b){var z=a.history,ie=b&&b.origin;x==z.lastSelOp||ie&&z.lastSelOrigin==ie&&(z.lastModTime==z.lastSelTime&&z.lastOrigin==ie||su(a,ie,je(z.done),y))?z.done[z.done.length-1]=y:Ia(y,z.done),z.lastSelTime=+new Date,z.lastSelOrigin=ie,z.lastSelOp=x,b&&b.clearRedo!==!1&&Gl(z.undone)}function Ia(a,y){var x=je(y);x&&x.ranges&&x.equals(a)||y.push(a)}function Ul(a,y,x,b){var z=y["spans_"+a.id],ie=0;a.iter(Math.max(a.first,x),Math.min(a.first+a.size,b),function(le){le.markedSpans&&((z||(z=y["spans_"+a.id]={}))[ie]=le.markedSpans),++ie})}function cu(a){if(!a)return null;for(var y,x=0;x<a.length;++x)a[x].marker.explicitlyCleared?y||(y=a.slice(0,x)):y&&y.push(a[x]);return y?y.length?y:null:a}function du(a,y){var x=y["spans_"+a.id];if(!x)return null;for(var b=[],z=0;z<y.text.length;++z)b.push(cu(x[z]));return b}function Kl(a,y){var x=du(a,y),b=mr(a,y);if(!x)return b;if(!b)return x;for(var z=0;z<x.length;++z){var ie=x[z],le=b[z];if(ie&&le)e:for(var ce=0;ce<le.length;++ce){for(var fe=le[ce],ge=0;ge<ie.length;++ge)if(ie[ge].marker==fe.marker)continue e;ie.push(fe)}else le&&(x[z]=le)}return x}function Fo(a,y,x){for(var b=[],z=0;z<a.length;++z){var ie=a[z];if(ie.ranges){b.push(x?Vi.prototype.deepCopy.call(ie):ie);continue}var le=ie.changes,ce=[];b.push({changes:ce});for(var fe=0;fe<le.length;++fe){var ge=le[fe],ot=void 0;if(ce.push({from:ge.from,to:ge.to,text:ge.text}),y)for(var gt in ge)(ot=gt.match(/^spans_(\d+)$/))&&xt(y,Number(ot[1]))>-1&&(je(ce)[gt]=ge[gt],delete ge[gt])}}return b}function sl(a,y,x,b){if(b){var z=a.anchor;if(x){var ie=Ve(y,z)<0;ie!=Ve(x,z)<0?(z=y,y=x):ie!=Ve(y,x)<0&&(y=x)}return new Ur(z,y)}else return new Ur(x||y,y)}function Ta(a,y,x,b,z){z==null&&(z=a.cm&&(a.cm.display.shift||a.extend)),wi(a,new Vi([sl(a.sel.primary(),y,x,z)],0),b)}function Yl(a,y,x){for(var b=[],z=a.cm&&(a.cm.display.shift||a.extend),ie=0;ie<a.sel.ranges.length;ie++)b[ie]=sl(a.sel.ranges[ie],y[ie],null,z);var le=qi(a.cm,b,a.sel.primIndex);wi(a,le,x)}function ul(a,y,x,b){var z=a.sel.ranges.slice(0);z[y]=x,wi(a,qi(a.cm,z,a.sel.primIndex),b)}function Jl(a,y,x,b){wi(a,po(y,x),b)}function fu(a,y,x){var b={ranges:y.ranges,update:function(z){this.ranges=[];for(var ie=0;ie<z.length;ie++)this.ranges[ie]=new Ur(Xe(a,z[ie].anchor),Xe(a,z[ie].head))},origin:x&&x.origin};return $t(a,"beforeSelectionChange",a,b),a.cm&&$t(a.cm,"beforeSelectionChange",a.cm,b),b.ranges!=y.ranges?qi(a.cm,b.ranges,b.ranges.length-1):y}function Ql(a,y,x){var b=a.history.done,z=je(b);z&&z.ranges?(b[b.length-1]=y,ka(a,y,x)):wi(a,y,x)}function wi(a,y,x){ka(a,y,x),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function ka(a,y,x){(kt(a,"beforeSelectionChange")||a.cm&&kt(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,x));var b=x&&x.bias||(Ve(y.primary().head,a.sel.primary().head)<0?-1:1);$l(a,_l(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&ko(a.cm)}function $l(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,en(a.cm)),Lr(a,"cursorActivity",a))}function ql(a){$l(a,_l(a,a.sel,null,!1))}function _l(a,y,x,b){for(var z,ie=0;ie<y.ranges.length;ie++){var le=y.ranges[ie],ce=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],fe=Na(a,le.anchor,ce&&ce.anchor,x,b),ge=Na(a,le.head,ce&&ce.head,x,b);(z||fe!=le.anchor||ge!=le.head)&&(z||(z=y.ranges.slice(0,ie)),z[ie]=new Ur(fe,ge))}return z?qi(a.cm,z,y.primIndex):y}function Ro(a,y,x,b,z){var ie=zt(a,y.line);if(ie.markedSpans)for(var le=0;le<ie.markedSpans.length;++le){var ce=ie.markedSpans[le],fe=ce.marker,ge="selectLeft"in fe?!fe.selectLeft:fe.inclusiveLeft,ot="selectRight"in fe?!fe.selectRight:fe.inclusiveRight;if((ce.from==null||(ge?ce.from<=y.ch:ce.from<y.ch))&&(ce.to==null||(ot?ce.to>=y.ch:ce.to>y.ch))){if(z&&($t(fe,"beforeCursorEnter"),fe.explicitlyCleared))if(ie.markedSpans){--le;continue}else break;if(!fe.atomic)continue;if(x){var gt=fe.find(b<0?1:-1),_t=void 0;if((b<0?ot:ge)&&(gt=es(a,gt,-b,gt&&gt.line==y.line?ie:null)),gt&&gt.line==y.line&&(_t=Ve(gt,x))&&(b<0?_t<0:_t>0))return Ro(a,gt,y,b,z)}var Gt=fe.find(b<0?-1:1);return(b<0?ge:ot)&&(Gt=es(a,Gt,b,Gt.line==y.line?ie:null)),Gt?Ro(a,Gt,y,b,z):null}}return y}function Na(a,y,x,b,z){var ie=b||1,le=Ro(a,y,x,ie,z)||!z&&Ro(a,y,x,ie,!0)||Ro(a,y,x,-ie,z)||!z&&Ro(a,y,x,-ie,!0);return le||(a.cantEdit=!0,De(a.first,0))}function es(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?Xe(a,De(y.line-1)):null:x>0&&y.ch==(b||zt(a,y.line)).text.length?y.line<a.first+a.size-1?De(y.line+1,0):null:new De(y.line,y.ch+x)}function ts(a){a.setSelection(De(a.firstLine(),0),De(a.lastLine()),me)}function ns(a,y,x){var b={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return b.canceled=!0}};return x&&(b.update=function(z,ie,le,ce){z&&(b.from=Xe(a,z)),ie&&(b.to=Xe(a,ie)),le&&(b.text=le),ce!==void 0&&(b.origin=ce)}),$t(a,"beforeChange",a,b),a.cm&&$t(a.cm,"beforeChange",a.cm,b),b.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:b.from,to:b.to,text:b.text,origin:b.origin}}function zo(a,y,x){if(a.cm){if(!a.cm.curOp)return hi(a.cm,zo)(a,y,x);if(a.cm.state.suppressEdits)return}if(!((kt(a,"beforeChange")||a.cm&&kt(a.cm,"beforeChange"))&&(y=ns(a,y,!0),!y))){var b=tr&&!x&&Hr(a,y.from,y.to);if(b)for(var z=b.length-1;z>=0;--z)rs(a,{from:b[z].from,to:b[z].to,text:z?[""]:y.text,origin:y.origin});else rs(a,y)}}function rs(a,y){if(!(y.text.length==1&&y.text[0]==""&&Ve(y.from,y.to)==0)){var x=il(a,y);Xl(a,y,x,a.cm?a.cm.curOp.id:NaN),oa(a,y,x,mr(a,y));var b=[];vo(a,function(z,ie){!ie&&xt(b,z.history)==-1&&(ls(z.history,y),b.push(z.history)),oa(z,y,null,mr(z,y))})}}function Fa(a,y,x){var b=a.cm&&a.cm.state.suppressEdits;if(!(b&&!x)){for(var z=a.history,ie,le=a.sel,ce=y=="undo"?z.done:z.undone,fe=y=="undo"?z.undone:z.done,ge=0;ge<ce.length&&(ie=ce[ge],!(x?ie.ranges&&!ie.equals(a.sel):!ie.ranges));ge++);if(ge!=ce.length){for(z.lastOrigin=z.lastSelOrigin=null;;)if(ie=ce.pop(),ie.ranges){if(Ia(ie,fe),x&&!ie.equals(a.sel)){wi(a,ie,{clearRedo:!1});return}le=ie}else if(b){ce.push(ie);return}else break;var ot=[];Ia(le,fe),fe.push({changes:ot,generation:z.generation}),z.generation=ie.generation||++z.maxGeneration;for(var gt=kt(a,"beforeChange")||a.cm&&kt(a.cm,"beforeChange"),_t=function(zn){var Kn=ie.changes[zn];if(Kn.origin=y,gt&&!ns(a,Kn,!1))return ce.length=0,{};ot.push(ll(a,Kn));var _n=zn?il(a,Kn):je(ce);oa(a,Kn,_n,Kl(a,Kn)),!zn&&a.cm&&a.cm.scrollIntoView({from:Kn.from,to:mo(Kn)});var ir=[];vo(a,function(er,ur){!ur&&xt(ir,er.history)==-1&&(ls(er.history,Kn),ir.push(er.history)),oa(er,Kn,null,Kl(er,Kn))})},Gt=ie.changes.length-1;Gt>=0;--Gt){var Sn=_t(Gt);if(Sn)return Sn.v}}}}function is(a,y){if(y!=0&&(a.first+=y,a.sel=new Vi(Yt(a.sel.ranges,function(z){return new Ur(De(z.anchor.line+y,z.anchor.ch),De(z.head.line+y,z.head.ch))}),a.sel.primIndex),a.cm)){Mi(a.cm,a.first,a.first-y,y);for(var x=a.cm.display,b=x.viewFrom;b<x.viewTo;b++)fo(a.cm,b,"gutter")}}function oa(a,y,x,b){if(a.cm&&!a.cm.curOp)return hi(a.cm,oa)(a,y,x,b);if(y.to.line<a.first){is(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 z=y.text.length-1-(a.first-y.from.line);is(a,z),y={from:De(a.first,0),to:De(y.to.line+z,y.to.ch),text:[je(y.text)],origin:y.origin}}var ie=a.lastLine();y.to.line>ie&&(y={from:y.from,to:De(ie,zt(a,ie).text.length),text:[y.text[0]],origin:y.origin}),y.removed=nn(a,y.from,y.to),x||(x=il(a,y)),a.cm?hu(a.cm,y,b):al(a,y,b),ka(a,x,me),a.cantEdit&&Na(a,De(a.firstLine(),0))&&(a.cantEdit=!1)}}function hu(a,y,x){var b=a.doc,z=a.display,ie=y.from,le=y.to,ce=!1,fe=ie.line;a.options.lineWrapping||(fe=ke(pn(zt(b,ie.line))),b.iter(fe,le.line+1,function(Gt){if(Gt==z.maxLine)return ce=!0,!0})),b.sel.contains(y.from,y.to)>-1&&en(a),al(b,y,x,Cl(a)),a.options.lineWrapping||(b.iter(fe,ie.line+y.text.length,function(Gt){var Sn=Mr(Gt);Sn>z.maxLineLength&&(z.maxLine=Gt,z.maxLineLength=Sn,z.maxLineChanged=!0,ce=!1)}),ce&&(a.curOp.updateMaxLine=!0)),Tn(b,ie.line),na(a,400);var ge=y.text.length-(le.line-ie.line)-1;y.full?Mi(a):ie.line==le.line&&y.text.length==1&&!Wl(a.doc,y)?fo(a,ie.line,"text"):Mi(a,ie.line,le.line+1,ge);var ot=kt(a,"changes"),gt=kt(a,"change");if(gt||ot){var _t={from:ie,to:le,text:y.text,removed:y.removed,origin:y.origin};gt&&Lr(a,"change",a,_t),ot&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(_t)}a.display.selForContextMenu=null}function Ho(a,y,x,b,z){var ie;b||(b=x),Ve(b,x)<0&&(ie=[b,x],x=ie[0],b=ie[1]),typeof y=="string"&&(y=a.splitLines(y)),zo(a,{from:x,to:b,text:y,origin:z})}function os(a,y,x,b){x<a.line?a.line+=b:y<a.line&&(a.line=y,a.ch=0)}function as(a,y,x,b){for(var z=0;z<a.length;++z){var ie=a[z],le=!0;if(ie.ranges){ie.copied||(ie=a[z]=ie.deepCopy(),ie.copied=!0);for(var ce=0;ce<ie.ranges.length;ce++)os(ie.ranges[ce].anchor,y,x,b),os(ie.ranges[ce].head,y,x,b);continue}for(var fe=0;fe<ie.changes.length;++fe){var ge=ie.changes[fe];if(x<ge.from.line)ge.from=De(ge.from.line+b,ge.from.ch),ge.to=De(ge.to.line+b,ge.to.ch);else if(y<=ge.to.line){le=!1;break}}le||(a.splice(0,z+1),z=0)}}function ls(a,y){var x=y.from.line,b=y.to.line,z=y.text.length-(b-x)-1;as(a.done,x,b,z),as(a.undone,x,b,z)}function aa(a,y,x,b){var z=y,ie=y;return typeof y=="number"?ie=zt(a,ht(a,y)):z=ke(y),z==null?null:(b(ie,z)&&a.cm&&fo(a.cm,z,x),ie)}function la(a){this.lines=a,this.parent=null;for(var y=0,x=0;x<a.length;++x)a[x].parent=this,y+=a[x].height;this.height=y}la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var x=a,b=a+y;x<b;++x){var z=this.lines[x];this.height-=z.height,Rr(z),Lr(z,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,x){this.height+=x,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var b=0;b<y.length;++b)y[b].parent=this},iterN:function(a,y,x){for(var b=a+y;a<b;++a)if(x(this.lines[a]))return!0}};function sa(a){this.children=a;for(var y=0,x=0,b=0;b<a.length;++b){var z=a[b];y+=z.chunkSize(),x+=z.height,z.parent=this}this.size=y,this.height=x,this.parent=null}sa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var x=0;x<this.children.length;++x){var b=this.children[x],z=b.chunkSize();if(a<z){var ie=Math.min(y,z-a),le=b.height;if(b.removeInner(a,ie),this.height-=le-b.height,z==ie&&(this.children.splice(x--,1),b.parent=null),(y-=ie)==0)break;a=0}else a-=z}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof la))){var ce=[];this.collapse(ce),this.children=[new la(ce)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,x){this.size+=y.length,this.height+=x;for(var b=0;b<this.children.length;++b){var z=this.children[b],ie=z.chunkSize();if(a<=ie){if(z.insertInner(a,y,x),z.lines&&z.lines.length>50){for(var le=z.lines.length%25+25,ce=le;ce<z.lines.length;){var fe=new la(z.lines.slice(ce,ce+=25));z.height-=fe.height,this.children.splice(++b,0,fe),fe.parent=this}z.lines=z.lines.slice(0,le),this.maybeSpill()}break}a-=ie}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),x=new sa(y);if(a.parent){a.size-=x.size,a.height-=x.height;var z=xt(a.parent.children,a);a.parent.children.splice(z+1,0,x)}else{var b=new sa(a.children);b.parent=a,a.children=[b,x],a=b}x.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,x){for(var b=0;b<this.children.length;++b){var z=this.children[b],ie=z.chunkSize();if(a<ie){var le=Math.min(y,ie-a);if(z.iterN(a,le,x))return!0;if((y-=le)==0)break;a=0}else a-=ie}}};var ua=function(a,y,x){if(x)for(var b in x)x.hasOwnProperty(b)&&(this[b]=x[b]);this.doc=a,this.node=y};ua.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,x=this.line,b=ke(x);if(!(b==null||!y)){for(var z=0;z<y.length;++z)y[z]==this&&y.splice(z--,1);y.length||(x.widgets=null);var ie=Pi(this);xn(x,Math.max(0,x.height-ie)),a&&(ji(a,function(){ss(a,x,-ie),fo(a,b,"widget")}),Lr(a,"lineWidgetCleared",a,this,b))}},ua.prototype.changed=function(){var a=this,y=this.height,x=this.doc.cm,b=this.line;this.height=null;var z=Pi(this)-y;z&&(Nn(this.doc,b)||xn(b,b.height+z),x&&ji(x,function(){x.curOp.forceUpdate=!0,ss(x,b,z),Lr(x,"lineWidgetChanged",x,a,ke(b))}))},Me(ua);function ss(a,y,x){fr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&qa(a,x)}function pu(a,y,x,b){var z=new ua(a,x,b),ie=a.cm;return ie&&z.noHScroll&&(ie.display.alignWidgets=!0),aa(a,y,"widget",function(le){var ce=le.widgets||(le.widgets=[]);if(z.insertAt==null?ce.push(z):ce.splice(Math.min(ce.length-1,Math.max(0,z.insertAt)),0,z),z.line=le,ie&&!Nn(a,le)){var fe=fr(le)<a.scrollTop;xn(le,le.height+Pi(z)),fe&&qa(ie,z.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Lr(ie,"lineWidgetAdded",ie,z,typeof y=="number"?y:ke(y)),z}var us=0,go=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++us};go.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Oo(a),kt(this,"clear")){var x=this.find();x&&Lr(this,"clear",x.from,x.to)}for(var b=null,z=null,ie=0;ie<this.lines.length;++ie){var le=this.lines[ie],ce=cr(le.markedSpans,this);a&&!this.collapsed?fo(a,ke(le),"text"):a&&(ce.to!=null&&(z=ke(le)),ce.from!=null&&(b=ke(le))),le.markedSpans=yr(le.markedSpans,ce),ce.from==null&&this.collapsed&&!Nn(this.doc,le)&&a&&xn(le,Hi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var fe=0;fe<this.lines.length;++fe){var ge=pn(this.lines[fe]),ot=Mr(ge);ot>a.display.maxLineLength&&(a.display.maxLine=ge,a.display.maxLineLength=ot,a.display.maxLineChanged=!0)}b!=null&&a&&this.collapsed&&Mi(a,b,z+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&ql(a.doc)),a&&Lr(a,"markerCleared",a,this,b,z),y&&Ao(a),this.parent&&this.parent.clear()}},go.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var x,b,z=0;z<this.lines.length;++z){var ie=this.lines[z],le=cr(ie.markedSpans,this);if(le.from!=null&&(x=De(y?ie:ke(ie),le.from),a==-1))return x;if(le.to!=null&&(b=De(y?ie:ke(ie),le.to),a==1))return b}return x&&{from:x,to:b}},go.prototype.changed=function(){var a=this,y=this.find(-1,!0),x=this,b=this.doc.cm;!y||!b||ji(b,function(){var z=y.line,ie=ke(y.line),le=no(b,ie);if(le&&(Ko(le),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!Nn(x.doc,z)&&x.height!=null){var ce=x.height;x.height=null;var fe=Pi(x)-ce;fe&&xn(z,z.height+fe)}Lr(b,"markerChanged",b,a)})},go.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||xt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},go.prototype.detachLine=function(a){if(this.lines.splice(xt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Me(go);function jo(a,y,x,b,z){if(b&&b.shared)return mu(a,y,x,b,z);if(a.cm&&!a.cm.curOp)return hi(a.cm,jo)(a,y,x,b,z);var ie=new go(a,z),le=Ve(y,x);if(b&&Ht(b,ie,!1),le>0||le==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=bt("span",[ie.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(Pn(a,y.line,y,x,ie)||y.line!=x.line&&Pn(a,x.line,y,x,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");ar()}ie.addToHistory&&Xl(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var ce=y.line,fe=a.cm,ge;if(a.iter(ce,x.line+1,function(gt){fe&&ie.collapsed&&!fe.options.lineWrapping&&pn(gt)==fe.display.maxLine&&(ge=!0),ie.collapsed&&ce!=y.line&&xn(gt,0),dr(gt,new or(ie,ce==y.line?y.ch:null,ce==x.line?x.ch:null)),++ce}),ie.collapsed&&a.iter(y.line,x.line+1,function(gt){Nn(a,gt)&&xn(gt,0)}),ie.clearOnEnter&&Wt(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(Gn(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++us,ie.atomic=!0),fe){if(ge&&(fe.curOp.updateMaxLine=!0),ie.collapsed)Mi(fe,y.line,x.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var ot=y.line;ot<=x.line;ot++)fo(fe,ot,"text");ie.atomic&&ql(fe.doc),Lr(fe,"markerAdded",fe,ie)}return ie}var ca=function(a,y){this.markers=a,this.primary=y;for(var x=0;x<a.length;++x)a[x].parent=this};ca.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Lr(this,"clear")}},ca.prototype.find=function(a,y){return this.primary.find(a,y)},Me(ca);function mu(a,y,x,b,z){b=Ht(b),b.shared=!1;var ie=[jo(a,y,x,b,z)],le=ie[0],ce=b.widgetNode;return vo(a,function(fe){ce&&(b.widgetNode=ce.cloneNode(!0)),ie.push(jo(fe,Xe(fe,y),Xe(fe,x),b,z));for(var ge=0;ge<fe.linked.length;++ge)if(fe.linked[ge].isParent)return;le=je(ie)}),new ca(ie,le)}function cs(a){return a.findMarks(De(a.first,0),a.clipPos(De(a.lastLine())),function(y){return y.parent})}function vu(a,y){for(var x=0;x<y.length;x++){var b=y[x],z=b.find(),ie=a.clipPos(z.from),le=a.clipPos(z.to);if(Ve(ie,le)){var ce=jo(a,ie,le,b.primary,b.primary.type);b.markers.push(ce),ce.parent=b}}}function gu(a){for(var y=function(b){var z=a[b],ie=[z.primary.doc];vo(z.primary.doc,function(fe){return ie.push(fe)});for(var le=0;le<z.markers.length;le++){var ce=z.markers[le];xt(ie,ce.doc)==-1&&(ce.parent=null,z.markers.splice(le--,1))}},x=0;x<a.length;x++)y(x)}var yu=0,Li=function(a,y,x,b,z){if(!(this instanceof Li))return new Li(a,y,x,b,z);x==null&&(x=0),sa.call(this,[new la([new Fr("",null)])]),this.first=x,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=x;var ie=De(x,0);this.sel=po(ie),this.history=new La(null),this.id=++yu,this.modeOption=y,this.lineSep=b,this.direction=z=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),al(this,{from:ie,to:ie,text:a}),wi(this,po(ie),me)};Li.prototype=te(sa.prototype,{constructor:Li,iter:function(a,y,x){x?this.iterN(a-this.first,y-a,x):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var x=0,b=0;b<y.length;++b)x+=y[b].height;this.insertInner(a-this.first,y,x)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=bn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:pi(function(a){var y=De(this.first,0),x=this.first+this.size-1;zo(this,{from:y,to:De(x,zt(this,x).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&qo(this.cm,0,0),wi(this,po(y),me)}),replaceRange:function(a,y,x,b){y=Xe(this,y),x=x?Xe(this,x):y,Ho(this,a,y,x,b)},getRange:function(a,y,x){var b=nn(this,Xe(this,a),Xe(this,y));return x===!1?b:b.join(x||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Ce(this,a))return zt(this,a)},getLineNumber:function(a){return ke(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=zt(this,a)),pn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Xe(this,a)},getCursor:function(a){var y=this.sel.primary(),x;return a==null||a=="head"?x=y.head:a=="anchor"?x=y.anchor:a=="end"||a=="to"||a===!1?x=y.to():x=y.from(),x},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:pi(function(a,y,x){Jl(this,Xe(this,typeof a=="number"?De(a,y||0):a),null,x)}),setSelection:pi(function(a,y,x){Jl(this,Xe(this,a),Xe(this,y||a),x)}),extendSelection:pi(function(a,y,x){Ta(this,Xe(this,a),y&&Xe(this,y),x)}),extendSelections:pi(function(a,y){Yl(this,ut(this,a),y)}),extendSelectionsBy:pi(function(a,y){var x=Yt(this.sel.ranges,a);Yl(this,ut(this,x),y)}),setSelections:pi(function(a,y,x){if(a.length){for(var b=[],z=0;z<a.length;z++)b[z]=new Ur(Xe(this,a[z].anchor),Xe(this,a[z].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),wi(this,qi(this.cm,b,y),x)}}),addSelection:pi(function(a,y,x){var b=this.sel.ranges.slice(0);b.push(new Ur(Xe(this,a),Xe(this,y||a))),wi(this,qi(this.cm,b,b.length-1),x)}),getSelection:function(a){for(var y=this.sel.ranges,x,b=0;b<y.length;b++){var z=nn(this,y[b].from(),y[b].to());x=x?x.concat(z):z}return a===!1?x:x.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],x=this.sel.ranges,b=0;b<x.length;b++){var z=nn(this,x[b].from(),x[b].to());a!==!1&&(z=z.join(a||this.lineSeparator())),y[b]=z}return y},replaceSelection:function(a,y,x){for(var b=[],z=0;z<this.sel.ranges.length;z++)b[z]=a;this.replaceSelections(b,y,x||"+input")},replaceSelections:pi(function(a,y,x){for(var b=[],z=this.sel,ie=0;ie<z.ranges.length;ie++){var le=z.ranges[ie];b[ie]={from:le.from(),to:le.to(),text:this.splitLines(a[ie]),origin:x}}for(var ce=y&&y!="end"&&ou(this,b,y),fe=b.length-1;fe>=0;fe--)zo(this,b[fe]);ce?Ql(this,ce):this.cm&&ko(this.cm)}),undo:pi(function(){Fa(this,"undo")}),redo:pi(function(){Fa(this,"redo")}),undoSelection:pi(function(){Fa(this,"undo",!0)}),redoSelection:pi(function(){Fa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,x=0,b=0;b<a.done.length;b++)a.done[b].ranges||++y;for(var z=0;z<a.undone.length;z++)a.undone[z].ranges||++x;return{undo:y,redo:x}},clearHistory:function(){var a=this;this.history=new La(this.history.maxGeneration),vo(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:Fo(this.history.done),undone:Fo(this.history.undone)}},setHistory:function(a){var y=this.history=new La(this.history.maxGeneration);y.done=Fo(a.done.slice(0),null,!0),y.undone=Fo(a.undone.slice(0),null,!0)},setGutterMarker:pi(function(a,y,x){return aa(this,a,"gutter",function(b){var z=b.gutterMarkers||(b.gutterMarkers={});return z[y]=x,!x&&ne(z)&&(b.gutterMarkers=null),!0})}),clearGutter:pi(function(a){var y=this;this.iter(function(x){x.gutterMarkers&&x.gutterMarkers[a]&&aa(y,x,"gutter",function(){return x.gutterMarkers[a]=null,ne(x.gutterMarkers)&&(x.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Ce(this,a)||(y=a,a=zt(this,a),!a))return null}else if(y=ke(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:pi(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var z=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!b[z])b[z]=x;else{if(ct(x).test(b[z]))return!1;b[z]+=" "+x}return!0})}),removeLineClass:pi(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var z=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ie=b[z];if(ie)if(x==null)b[z]=null;else{var le=ie.match(ct(x));if(!le)return!1;var ce=le.index+le[0].length;b[z]=ie.slice(0,le.index)+(!le.index||ce==ie.length?"":" ")+ie.slice(ce)||null}else return!1;return!0})}),addLineWidget:pi(function(a,y,x){return pu(this,a,y,x)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,x){return jo(this,Xe(this,a),Xe(this,y),x,x&&x.type||"range")},setBookmark:function(a,y){var x={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Xe(this,a),jo(this,a,a,x,"bookmark")},findMarksAt:function(a){a=Xe(this,a);var y=[],x=zt(this,a.line).markedSpans;if(x)for(var b=0;b<x.length;++b){var z=x[b];(z.from==null||z.from<=a.ch)&&(z.to==null||z.to>=a.ch)&&y.push(z.marker.parent||z.marker)}return y},findMarks:function(a,y,x){a=Xe(this,a),y=Xe(this,y);var b=[],z=a.line;return this.iter(a.line,y.line+1,function(ie){var le=ie.markedSpans;if(le)for(var ce=0;ce<le.length;ce++){var fe=le[ce];!(fe.to!=null&&z==a.line&&a.ch>=fe.to||fe.from==null&&z!=a.line||fe.from!=null&&z==y.line&&fe.from>=y.ch)&&(!x||x(fe.marker))&&b.push(fe.marker.parent||fe.marker)}++z}),b},getAllMarks:function(){var a=[];return this.iter(function(y){var x=y.markedSpans;if(x)for(var b=0;b<x.length;++b)x[b].from!=null&&a.push(x[b].marker)}),a},posFromIndex:function(a){var y,x=this.first,b=this.lineSeparator().length;return this.iter(function(z){var ie=z.text.length+b;if(ie>a)return y=a,!0;a-=ie,++x}),Xe(this,De(x,y))},indexFromPos:function(a){a=Xe(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var x=this.lineSeparator().length;return this.iter(this.first,a.line,function(b){y+=b.text.length+x}),y},copy:function(a){var y=new Li(bn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,x=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<x&&(x=a.to);var b=new Li(bn(this,y,x),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(b.history=this.history),(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist}),b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],vu(b,cs(this)),b},unlinkDoc:function(a){if(a instanceof $r&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var x=this.linked[y];if(x.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),gu(cs(this));break}}if(a.history==this.history){var b=[a.id];vo(a,function(z){return b.push(z.id)},!0),a.history=new La(null),a.history.done=Fo(this.history.done,b),a.history.undone=Fo(this.history.undone,b)}},iterLinkedDocs:function(a){vo(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):un(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:pi(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&au(this.cm))})}),Li.prototype.eachLine=Li.prototype.iter;var ds=0;function bu(a){var y=this;if(fs(y),!(wt(y,a)||gi(y.display,a))){Fe(a),Se&&(ds=+new Date);var x=wo(y,a,!0),b=a.dataTransfer.files;if(!(!x||y.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var z=b.length,ie=Array(z),le=0,ce=function(){++le==z&&hi(y,function(){x=Xe(y.doc,x);var Gt={from:x,to:x,text:y.doc.splitLines(ie.filter(function(Sn){return Sn!=null}).join(y.doc.lineSeparator())),origin:"paste"};zo(y.doc,Gt),Ql(y.doc,po(Xe(y.doc,x),Xe(y.doc,mo(Gt))))})()},fe=function(Gt,Sn){if(y.options.allowDropFileTypes&&xt(y.options.allowDropFileTypes,Gt.type)==-1){ce();return}var zn=new FileReader;zn.onerror=function(){return ce()},zn.onload=function(){var Kn=zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Kn)){ce();return}ie[Sn]=Kn,ce()},zn.readAsText(Gt)},ge=0;ge<b.length;ge++)fe(b[ge],ge);else{if(y.state.draggingText&&y.doc.sel.contains(x)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var ot=a.dataTransfer.getData("Text");if(ot){var gt;if(y.state.draggingText&&!y.state.draggingText.copy&&(gt=y.listSelections()),ka(y.doc,po(x,x)),gt)for(var _t=0;_t<gt.length;++_t)Ho(y.doc,"",gt[_t].anchor,gt[_t].head,"drag");y.replaceSelection(ot,"around","paste"),y.display.input.focus()}}catch(Gt){}}}}function xu(a,y){if(Se&&(!a.state.draggingText||+new Date-ds<100)){Oe(y);return}if(!(wt(a,y)||gi(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ze)){var x=at("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",he&&(x.width=x.height=1,a.display.wrapper.appendChild(x),x._top=x.offsetTop),y.dataTransfer.setDragImage(x,0,0),he&&x.parentNode.removeChild(x)}}function Cu(a,y){var x=wo(a,y);if(x){var b=document.createDocumentFragment();El(a,x,b),a.display.dragCursor||(a.display.dragCursor=at("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),st(a.display.dragCursor,b)}}function fs(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function hs(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<y.length;b++){var z=y[b].CodeMirror;z&&x.push(z)}x.length&&x[0].operation(function(){for(var ie=0;ie<x.length;ie++)a(x[ie])})}}var ps=!1;function wu(){ps||(Su(),ps=!0)}function Su(){var a;Wt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,hs(Eu)},100))}),Wt(window,"blur",function(){return hs(To)})}function Eu(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var yo={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"},da=0;da<10;da++)yo[da+48]=yo[da+96]=String(da);for(var Ra=65;Ra<=90;Ra++)yo[Ra]=String.fromCharCode(Ra);for(var fa=1;fa<=12;fa++)yo[fa+111]=yo[fa+63235]="F"+fa;var ao={};ao.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"},ao.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"},ao.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"},ao.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"]},ao.default=We?ao.macDefault:ao.pcDefault;function Pu(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var x,b,z,ie,le=0;le<y.length-1;le++){var ce=y[le];if(/^(cmd|meta|m)$/i.test(ce))ie=!0;else if(/^a(lt)?$/i.test(ce))x=!0;else if(/^(c|ctrl|control)$/i.test(ce))b=!0;else if(/^s(hift)?$/i.test(ce))z=!0;else throw new Error("Unrecognized modifier name: "+ce)}return x&&(a="Alt-"+a),b&&(a="Ctrl-"+a),ie&&(a="Cmd-"+a),z&&(a="Shift-"+a),a}function Ou(a){var y={};for(var x in a)if(a.hasOwnProperty(x)){var b=a[x];if(/^(name|fallthrough|(de|at)tach)$/.test(x))continue;if(b=="..."){delete a[x];continue}for(var z=Yt(x.split(" "),Pu),ie=0;ie<z.length;ie++){var le=void 0,ce=void 0;ie==z.length-1?(ce=z.join(" "),le=b):(ce=z.slice(0,ie+1).join(" "),le="...");var fe=y[ce];if(!fe)y[ce]=le;else if(fe!=le)throw new Error("Inconsistent bindings for "+ce)}delete a[x]}for(var ge in y)a[ge]=y[ge];return a}function Wo(a,y,x,b){y=za(y);var z=y.call?y.call(a,b):y[a];if(z===!1)return"nothing";if(z==="...")return"multi";if(z!=null&&x(z))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Wo(a,y.fallthrough,x,b);for(var ie=0;ie<y.fallthrough.length;ie++){var le=Wo(a,y.fallthrough[ie],x,b);if(le)return le}}}function ms(a){var y=typeof a=="string"?a:yo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function vs(a,y,x){var b=a;return y.altKey&&b!="Alt"&&(a="Alt-"+a),(St?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(St?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function gs(a,y){if(he&&a.keyCode==34&&a.char)return!1;var x=yo[a.keyCode];return x==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(x=a.code),vs(x,a,y))}function za(a){return typeof a=="string"?ao[a]:a}function Zo(a,y){for(var x=a.doc.sel.ranges,b=[],z=0;z<x.length;z++){for(var ie=y(x[z]);b.length&&Ve(ie.from,je(b).to)<=0;){var le=b.pop();if(Ve(le.from,ie.from)<0){ie.from=le.from;break}}b.push(ie)}ji(a,function(){for(var ce=b.length-1;ce>=0;ce--)Ho(a.doc,"",b[ce].from,b[ce].to,"+delete");ko(a)})}function cl(a,y,x){var b=lt(a.text,y+x,x);return b<0||b>a.text.length?null:b}function dl(a,y,x){var b=cl(a,y.ch,x);return b==null?null:new De(y.line,b,x<0?"after":"before")}function fl(a,y,x,b,z){if(a){y.doc.direction=="rtl"&&(z=-z);var ie=tn(x,y.doc.direction);if(ie){var le=z<0?je(ie):ie[0],ce=z<0==(le.level==1),fe=ce?"after":"before",ge;if(le.level>0||y.doc.direction=="rtl"){var ot=uo(y,x);ge=z<0?x.text.length-1:0;var gt=Xi(y,ot,ge).top;ge=Ae(function(_t){return Xi(y,ot,_t).top==gt},z<0==(le.level==1)?le.from:le.to-1,ge),fe=="before"&&(ge=cl(x,ge,1))}else ge=z<0?le.to:le.from;return new De(b,ge,fe)}}return new De(b,z<0?x.text.length:0,z<0?"before":"after")}function Au(a,y,x,b){var z=tn(y,a.doc.direction);if(!z)return dl(y,x,b);x.ch>=y.text.length?(x.ch=y.text.length,x.sticky="before"):x.ch<=0&&(x.ch=0,x.sticky="after");var ie=Pt(z,x.ch,x.sticky),le=z[ie];if(a.doc.direction=="ltr"&&le.level%2==0&&(b>0?le.to>x.ch:le.from<x.ch))return dl(y,x,b);var ce=function(_n,ir){return cl(y,_n instanceof De?_n.ch:_n,ir)},fe,ge=function(_n){return a.options.lineWrapping?(fe=fe||uo(a,y),ii(a,y,fe,_n)):{begin:0,end:y.text.length}},ot=ge(x.sticky=="before"?ce(x,-1):x.ch);if(a.doc.direction=="rtl"||le.level==1){var gt=le.level==1==b<0,_t=ce(x,gt?1:-1);if(_t!=null&&(gt?_t<=le.to&&_t<=ot.end:_t>=le.from&&_t>=ot.begin)){var Gt=gt?"before":"after";return new De(x.line,_t,Gt)}}var Sn=function(_n,ir,er){for(var ur=function(Qr,mi){return mi?new De(x.line,ce(Qr,1),"before"):new De(x.line,Qr,"after")};_n>=0&&_n<z.length;_n+=ir){var gr=z[_n],pr=ir>0==(gr.level!=1),Ir=pr?er.begin:ce(er.end,-1);if(gr.from<=Ir&&Ir<gr.to||(Ir=pr?gr.from:ce(gr.to,-1),er.begin<=Ir&&Ir<er.end))return ur(Ir,pr)}},zn=Sn(ie+b,b,ot);if(zn)return zn;var Kn=b>0?ot.end:ce(ot.begin,-1);return Kn!=null&&!(b>0&&Kn==y.text.length)&&(zn=Sn(b>0?0:z.length-1,b,ge(Kn)),zn)?zn:null}var ha={selectAll:ts,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),me)},killLine:function(a){return Zo(a,function(y){if(y.empty()){var x=zt(a.doc,y.head.line).text.length;return y.head.ch==x&&y.head.line<a.lastLine()?{from:y.head,to:De(y.head.line+1,0)}:{from:y.head,to:De(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Zo(a,function(y){return{from:De(y.from().line,0),to:Xe(a.doc,De(y.to().line+1,0))}})},delLineLeft:function(a){return Zo(a,function(y){return{from:De(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Zo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return{from:b,to:y.from()}})},delWrappedLineRight:function(a){return Zo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div");return{from:y.from(),to:b}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(De(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(De(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return ys(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return bs(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Du(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div")},Qe)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:x},"div")},Qe)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return b.ch<a.getLine(b.line).search(/\S/)?bs(a,y.head):b},Qe)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],x=a.listSelections(),b=a.options.tabSize,z=0;z<x.length;z++){var ie=x[z].from(),le=we(a.getLine(ie.line),ie.ch,b);y.push(Kt(b-le%b))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return ji(a,function(){for(var y=a.listSelections(),x=[],b=0;b<y.length;b++)if(y[b].empty()){var z=y[b].head,ie=zt(a.doc,z.line).text;if(ie){if(z.ch==ie.length&&(z=new De(z.line,z.ch-1)),z.ch>0)z=new De(z.line,z.ch+1),a.replaceRange(ie.charAt(z.ch-1)+ie.charAt(z.ch-2),De(z.line,z.ch-2),z,"+transpose");else if(z.line>a.doc.first){var le=zt(a.doc,z.line-1).text;le&&(z=new De(z.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+le.charAt(le.length-1),De(z.line-1,le.length-1),z,"+transpose"))}}x.push(new Ur(z,z))}a.setSelections(x)})},newlineAndIndent:function(a){return ji(a,function(){for(var y=a.listSelections(),x=y.length-1;x>=0;x--)a.replaceRange(a.doc.lineSeparator(),y[x].anchor,y[x].head,"+input");y=a.listSelections();for(var b=0;b<y.length;b++)a.indentLine(y[b].from().line,null,!0);ko(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ys(a,y){var x=zt(a.doc,y),b=pn(x);return b!=x&&(y=ke(b)),fl(!0,a,b,y,1)}function Du(a,y){var x=zt(a.doc,y),b=Xn(x);return b!=x&&(y=ke(b)),fl(!0,a,x,y,-1)}function bs(a,y){var x=ys(a,y.line),b=zt(a.doc,x.line),z=tn(b,a.doc.direction);if(!z||z[0].level==0){var ie=Math.max(x.ch,b.text.search(/\S/)),le=y.line==x.line&&y.ch<=ie&&y.ch;return De(x.line,le?0:ie,x.sticky)}return x}function Ha(a,y,x){if(typeof y=="string"&&(y=ha[y],!y))return!1;a.display.input.ensurePolled();var b=a.display.shift,z=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),x&&(a.display.shift=!1),z=y(a)!=Mt}finally{a.display.shift=b,a.state.suppressEdits=!1}return z}function Bu(a,y,x){for(var b=0;b<a.state.keyMaps.length;b++){var z=Wo(y,a.state.keyMaps[b],x,a);if(z)return z}return a.options.extraKeys&&Wo(y,a.options.extraKeys,x,a)||Wo(y,a.options.keyMap,x,a)}var Mu=new de;function pa(a,y,x,b){var z=a.state.keySeq;if(z){if(ms(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Mu.set(50,function(){a.state.keySeq==z&&(a.state.keySeq=null,a.display.input.reset())}),xs(a,z+" "+y,x,b))return!0}return xs(a,y,x,b)}function xs(a,y,x,b){var z=Bu(a,y,b);return z=="multi"&&(a.state.keySeq=y),z=="handled"&&Lr(a,"keyHandled",a,y,x),(z=="handled"||z=="multi")&&(Fe(x),Ja(a)),!!z}function Cs(a,y){var x=gs(y,!0);return x?y.shiftKey&&!a.state.keySeq?pa(a,"Shift-"+x,y,function(b){return Ha(a,b,!0)})||pa(a,x,y,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return Ha(a,b)}):pa(a,x,y,function(b){return Ha(a,b)}):!1}function Lu(a,y,x){return pa(a,"'"+x+"'",y,function(b){return Ha(a,b,!0)})}var hl=null;function ws(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Je(),!wt(y,a))){Se&&Ee<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=Cs(y,a);he&&(hl=b?x:null,!b&&x==88&&!vn&&(We?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),E&&!We&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Iu(y)}}function Iu(a){var y=a.display.lineDiv;ue(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(et(y,"CodeMirror-crosshair"),Dt(document,"keyup",x),Dt(document,"mouseover",x))}Wt(document,"keyup",x),Wt(document,"mouseover",x)}function Ss(a){a.keyCode==16&&(this.doc.sel.shift=!1),wt(this,a)}function Es(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(gi(y.display,a)||wt(y,a)||a.ctrlKey&&!a.altKey||We&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(he&&x==hl){hl=null,Fe(a);return}if(!(he&&(!a.which||a.which<10)&&Cs(y,a))){var z=String.fromCharCode(b==null?x:b);z!="\b"&&(Lu(y,a,z)||y.display.input.onKeyPress(a))}}}var Tu=400,pl=function(a,y,x){this.time=a,this.pos=y,this.button=x};pl.prototype.compare=function(a,y,x){return this.time+Tu>a&&Ve(y,this.pos)==0&&x==this.button};var ma,va;function ku(a,y){var x=+new Date;return va&&va.compare(x,a,y)?(ma=va=null,"triple"):ma&&ma.compare(x,a,y)?(va=new pl(x,a,y),ma=null,"double"):(ma=new pl(x,a,y),va=null,"single")}function Ps(a){var y=this,x=y.display;if(!(wt(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,gi(x,a)){Ie||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!ml(y,a)){var b=wo(y,a),z=dt(a),ie=b?ku(b,z):"single";window.focus(),z==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&Nu(y,z,b,ie,a))&&(z==1?b?Ru(y,b,ie,a):Ge(a)==x.scroller&&Fe(a):z==2?(b&&Ta(y.doc,b),setTimeout(function(){return x.input.focus()},20)):z==3&&(pt?y.display.input.onContextMenu(a):Ol(y)))}}}function Nu(a,y,x,b,z){var ie="Click";return b=="double"?ie="Double"+ie:b=="triple"&&(ie="Triple"+ie),ie=(y==1?"Left":y==2?"Middle":"Right")+ie,pa(a,vs(ie,z),z,function(le){if(typeof le=="string"&&(le=ha[le]),!le)return!1;var ce=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ce=le(a,x)!=Mt}finally{a.state.suppressEdits=!1}return ce})}function Fu(a,y,x){var b=a.getOption("configureMouse"),z=b?b(a,y,x):{};if(z.unit==null){var ie=Ct?x.shiftKey&&x.metaKey:x.altKey;z.unit=ie?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(z.extend==null||a.doc.extend)&&(z.extend=a.doc.extend||x.shiftKey),z.addNew==null&&(z.addNew=We?x.metaKey:x.ctrlKey),z.moveOnDrag==null&&(z.moveOnDrag=!(We?x.altKey:x.ctrlKey)),z}function Ru(a,y,x,b){Se?setTimeout(qe(Pl,a),0):a.curOp.focus=Je();var z=Fu(a,x,b),ie=a.doc.sel,le;a.options.dragDrop&&It&&!a.isReadOnly()&&x=="single"&&(le=ie.contains(y))>-1&&(Ve((le=ie.ranges[le]).from(),y)<0||y.xRel>0)&&(Ve(le.to(),y)>0||y.xRel<0)?zu(a,b,y,z):Hu(a,b,y,z)}function zu(a,y,x,b){var z=a.display,ie=!1,le=hi(a,function(ge){Ie&&(z.scroller.draggable=!1),a.state.draggingText=!1,Dt(z.wrapper.ownerDocument,"mouseup",le),Dt(z.wrapper.ownerDocument,"mousemove",ce),Dt(z.scroller,"dragstart",fe),Dt(z.scroller,"drop",le),ie||(Fe(ge),b.addNew||Ta(a.doc,x,null,null,b.extend),Ie&&!Ze||Se&&Ee==9?setTimeout(function(){z.wrapper.ownerDocument.body.focus({preventScroll:!0}),z.input.focus()},20):z.input.focus())}),ce=function(ge){ie=ie||Math.abs(y.clientX-ge.clientX)+Math.abs(y.clientY-ge.clientY)>=10},fe=function(){return ie=!0};Ie&&(z.scroller.draggable=!0),a.state.draggingText=le,le.copy=!b.moveOnDrag,z.scroller.dragDrop&&z.scroller.dragDrop(),Wt(z.wrapper.ownerDocument,"mouseup",le),Wt(z.wrapper.ownerDocument,"mousemove",ce),Wt(z.scroller,"dragstart",fe),Wt(z.scroller,"drop",le),Ol(a),setTimeout(function(){return z.input.focus()},20)}function Os(a,y,x){if(x=="char")return new Ur(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new Ur(De(y.line,0),Xe(a.doc,De(y.line+1,0)));var b=x(a,y);return new Ur(b.from,b.to)}function Hu(a,y,x,b){var z=a.display,ie=a.doc;Fe(y);var le,ce,fe=ie.sel,ge=fe.ranges;if(b.addNew&&!b.extend?(ce=ie.sel.contains(x),ce>-1?le=ge[ce]:le=new Ur(x,x)):(le=ie.sel.primary(),ce=ie.sel.primIndex),b.unit=="rectangle")b.addNew||(le=new Ur(x,x)),x=wo(a,y,!0,!0),ce=-1;else{var ot=Os(a,x,b.unit);b.extend?le=sl(le,ot.anchor,ot.head,b.extend):le=ot}b.addNew?ce==-1?(ce=ge.length,wi(ie,qi(a,ge.concat([le]),ce),{scroll:!1,origin:"*mouse"})):ge.length>1&&ge[ce].empty()&&b.unit=="char"&&!b.extend?(wi(ie,qi(a,ge.slice(0,ce).concat(ge.slice(ce+1)),0),{scroll:!1,origin:"*mouse"}),fe=ie.sel):ul(ie,ce,le,He):(ce=0,wi(ie,new Vi([le],0),He),fe=ie.sel);var gt=x;function _t(er){if(Ve(gt,er)!=0)if(gt=er,b.unit=="rectangle"){for(var ur=[],gr=a.options.tabSize,pr=we(zt(ie,x.line).text,x.ch,gr),Ir=we(zt(ie,er.line).text,er.ch,gr),Qr=Math.min(pr,Ir),mi=Math.max(pr,Ir),qr=Math.min(x.line,er.line),Wi=Math.min(a.lastLine(),Math.max(x.line,er.line));qr<=Wi;qr++){var Ii=zt(ie,qr).text,ai=jt(Ii,Qr,gr);Qr==mi?ur.push(new Ur(De(qr,ai),De(qr,ai))):Ii.length>ai&&ur.push(new Ur(De(qr,ai),De(qr,jt(Ii,mi,gr))))}ur.length||ur.push(new Ur(x,x)),wi(ie,qi(a,fe.ranges.slice(0,ce).concat(ur),ce),{origin:"*mouse",scroll:!1}),a.scrollIntoView(er)}else{var Ti=le,bi=Os(a,er,b.unit),di=Ti.anchor,li;Ve(bi.anchor,di)>0?(li=bi.head,di=yt(Ti.from(),bi.anchor)):(li=bi.anchor,di=ft(Ti.to(),bi.head));var ei=fe.ranges.slice(0);ei[ce]=ju(a,new Ur(Xe(ie,di),li)),wi(ie,qi(a,ei,ce),He)}}var Gt=z.wrapper.getBoundingClientRect(),Sn=0;function zn(er){var ur=++Sn,gr=wo(a,er,!0,b.unit=="rectangle");if(gr)if(Ve(gr,gt)!=0){a.curOp.focus=Je(),_t(gr);var pr=Aa(z,ie);(gr.line>=pr.to||gr.line<pr.from)&&setTimeout(hi(a,function(){Sn==ur&&zn(er)}),150)}else{var Ir=er.clientY<Gt.top?-20:er.clientY>Gt.bottom?20:0;Ir&&setTimeout(hi(a,function(){Sn==ur&&(z.scroller.scrollTop+=Ir,zn(er))}),50)}}function Kn(er){a.state.selectingText=!1,Sn=1/0,er&&(Fe(er),z.input.focus()),Dt(z.wrapper.ownerDocument,"mousemove",_n),Dt(z.wrapper.ownerDocument,"mouseup",ir),ie.history.lastSelOrigin=null}var _n=hi(a,function(er){er.buttons===0||!dt(er)?Kn(er):zn(er)}),ir=hi(a,Kn);a.state.selectingText=ir,Wt(z.wrapper.ownerDocument,"mousemove",_n),Wt(z.wrapper.ownerDocument,"mouseup",ir)}function ju(a,y){var x=y.anchor,b=y.head,z=zt(a.doc,x.line);if(Ve(x,b)==0&&x.sticky==b.sticky)return y;var ie=tn(z);if(!ie)return y;var le=Pt(ie,x.ch,x.sticky),ce=ie[le];if(ce.from!=x.ch&&ce.to!=x.ch)return y;var fe=le+(ce.from==x.ch==(ce.level!=1)?0:1);if(fe==0||fe==ie.length)return y;var ge;if(b.line!=x.line)ge=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var ot=Pt(ie,b.ch,b.sticky),gt=ot-le||(b.ch-x.ch)*(ce.level==1?-1:1);ot==fe-1||ot==fe?ge=gt<0:ge=gt>0}var _t=ie[fe+(ge?-1:0)],Gt=ge==(_t.level==1),Sn=Gt?_t.from:_t.to,zn=Gt?"after":"before";return x.ch==Sn&&x.sticky==zn?y:new Ur(new De(x.line,Sn,zn),b)}function As(a,y,x,b){var z,ie;if(y.touches)z=y.touches[0].clientX,ie=y.touches[0].clientY;else try{z=y.clientX,ie=y.clientY}catch(_t){return!1}if(z>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&Fe(y);var le=a.display,ce=le.lineDiv.getBoundingClientRect();if(ie>ce.bottom||!kt(a,x))return Rt(y);ie-=ce.top-le.viewOffset;for(var fe=0;fe<a.display.gutterSpecs.length;++fe){var ge=le.gutters.childNodes[fe];if(ge&&ge.getBoundingClientRect().right>=z){var ot=nt(a.doc,ie),gt=a.display.gutterSpecs[fe];return $t(a,x,a,ot,gt.className,y),Rt(y)}}}function ml(a,y){return As(a,y,"gutterClick",!0)}function Ds(a,y){gi(a.display,y)||Wu(a,y)||wt(a,y,"contextmenu")||pt||a.display.input.onContextMenu(y)}function Wu(a,y){return kt(a,"gutterContextMenu")?As(a,y,"gutterContextMenu",!1):!1}function Bs(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Co(a)}var Vo={toString:function(){return"CodeMirror.Init"}},Ms={},ja={};function Zu(a){var y=a.optionHandlers;function x(b,z,ie,le){a.defaults[b]=z,ie&&(y[b]=le?function(ce,fe,ge){ge!=Vo&&ie(ce,fe,ge)}:ie)}a.defineOption=x,a.Init=Vo,x("value","",function(b,z){return b.setValue(z)},!0),x("mode",null,function(b,z){b.doc.modeOption=z,ol(b)},!0),x("indentUnit",2,ol,!0),x("indentWithTabs",!1),x("smartIndent",!0),x("tabSize",4,function(b){ia(b),Co(b),Mi(b)},!0),x("lineSeparator",null,function(b,z){if(b.doc.lineSep=z,!!z){var ie=[],le=b.doc.first;b.doc.iter(function(fe){for(var ge=0;;){var ot=fe.text.indexOf(z,ge);if(ot==-1)break;ge=ot+z.length,ie.push(De(le,ot))}le++});for(var ce=ie.length-1;ce>=0;ce--)Ho(b.doc,z,ie[ce],De(ie[ce].line,ie[ce].ch+z.length))}}),x("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(b,z,ie){b.state.specialChars=new RegExp(z.source+(z.test(" ")?"":"| "),"g"),ie!=Vo&&b.refresh()}),x("specialCharPlaceholder",Ei,function(b){return b.refresh()},!0),x("electricChars",!0),x("inputStyle",Ue?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),x("spellcheck",!1,function(b,z){return b.getInputField().spellcheck=z},!0),x("autocorrect",!1,function(b,z){return b.getInputField().autocorrect=z},!0),x("autocapitalize",!1,function(b,z){return b.getInputField().autocapitalize=z},!0),x("rtlMoveVisually",!Nt),x("wholeLineUpdateBefore",!0),x("theme","default",function(b){Bs(b),ra(b)},!0),x("keyMap","default",function(b,z,ie){var le=za(z),ce=ie!=Vo&&za(ie);ce&&ce.detach&&ce.detach(b,le),le.attach&&le.attach(b,ce||null)}),x("extraKeys",null),x("configureMouse",null),x("lineWrapping",!1,Gu,!0),x("gutters",[],function(b,z){b.display.gutterSpecs=rl(z,b.options.lineNumbers),ra(b)},!0),x("fixedGutter",!0,function(b,z){b.display.gutters.style.left=z?Ka(b.display)+"px":"0",b.refresh()},!0),x("coverGutterNextToScrollbar",!1,function(b){return No(b)},!0),x("scrollbarStyle","native",function(b){Il(b),No(b),b.display.scrollbars.setScrollTop(b.doc.scrollTop),b.display.scrollbars.setScrollLeft(b.doc.scrollLeft)},!0),x("lineNumbers",!1,function(b,z){b.display.gutterSpecs=rl(b.options.gutters,z),ra(b)},!0),x("firstLineNumber",1,ra,!0),x("lineNumberFormatter",function(b){return b},ra,!0),x("showCursorWhenSelecting",!1,$o,!0),x("resetSelectionOnContextMenu",!0),x("lineWiseCopyCut",!0),x("pasteLinesPerSelection",!0),x("selectionsMayTouch",!1),x("readOnly",!1,function(b,z){z=="nocursor"&&(To(b),b.display.input.blur()),b.display.input.readOnlyChanged(z)}),x("screenReaderLabel",null,function(b,z){z=z===""?null:z,b.display.input.screenReaderLabelChanged(z)}),x("disableInput",!1,function(b,z){z||b.display.input.reset()},!0),x("dragDrop",!0,Vu),x("allowDropFileTypes",null),x("cursorBlinkRate",530),x("cursorScrollMargin",0),x("cursorHeight",1,$o,!0),x("singleCursorHeightPerLine",!0,$o,!0),x("workTime",100),x("workDelay",100),x("flattenSpans",!0,ia,!0),x("addModeClass",!1,ia,!0),x("pollInterval",100),x("undoDepth",200,function(b,z){return b.doc.history.undoDepth=z}),x("historyEventDelay",1250),x("viewportMargin",10,function(b){return b.refresh()},!0),x("maxHighlightLength",1e4,ia,!0),x("moveInputWithCursor",!0,function(b,z){z||b.display.input.resetPosition()}),x("tabindex",null,function(b,z){return b.display.input.getField().tabIndex=z||""}),x("autofocus",null),x("direction","ltr",function(b,z){return b.doc.setDirection(z)},!0),x("phrases",null)}function Vu(a,y,x){var b=x&&x!=Vo;if(!y!=!b){var z=a.display.dragFunctions,ie=y?Wt:Dt;ie(a.display.scroller,"dragstart",z.start),ie(a.display.scroller,"dragenter",z.enter),ie(a.display.scroller,"dragover",z.over),ie(a.display.scroller,"dragleave",z.leave),ie(a.display.scroller,"drop",z.drop)}}function Gu(a){a.options.lineWrapping?(ue(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(et(a.display.wrapper,"CodeMirror-wrap"),Or(a)),Ya(a),Mi(a),Co(a),setTimeout(function(){return No(a)},100)}function $r(a,y){var x=this;if(!(this instanceof $r))return new $r(a,y);this.options=y=y?Ht(y):{},Ht(Ms,y,!1);var b=y.value;typeof b=="string"?b=new Li(b,y.mode,null,y.lineSeparator,y.direction):y.mode&&(b.modeOption=y.mode),this.doc=b;var z=new $r.inputStyles[y.inputStyle](this),ie=this.display=new ru(a,b,z,y);ie.wrapper.CodeMirror=this,Bs(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Il(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 de,keySeq:null,specialChars:null},y.autofocus&&!Ue&&ie.input.focus(),Se&&Ee<11&&setTimeout(function(){return x.display.input.reset(!0)},20),Xu(this),wu(),Oo(this),this.curOp.forceUpdate=!0,Zl(this,b),y.autofocus&&!Ue||this.hasFocus()?setTimeout(function(){x.hasFocus()&&!x.state.focused&&Qa(x)},20):To(this);for(var le in ja)ja.hasOwnProperty(le)&&ja[le](this,y[le],Vo);Nl(this),y.finishInit&&y.finishInit(this);for(var ce=0;ce<vl.length;++ce)vl[ce](this);Ao(this),Ie&&y.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}$r.defaults=Ms,$r.optionHandlers=ja;function Xu(a){var y=a.display;Wt(y.scroller,"mousedown",hi(a,Ps)),Se&&Ee<11?Wt(y.scroller,"dblclick",hi(a,function(fe){if(!wt(a,fe)){var ge=wo(a,fe);if(!(!ge||ml(a,fe)||gi(a.display,fe))){Fe(fe);var ot=a.findWordAt(ge);Ta(a.doc,ot.anchor,ot.head)}}})):Wt(y.scroller,"dblclick",function(fe){return wt(a,fe)||Fe(fe)}),Wt(y.scroller,"contextmenu",function(fe){return Ds(a,fe)}),Wt(y.input.getField(),"contextmenu",function(fe){y.scroller.contains(fe.target)||Ds(a,fe)});var x,b={end:0};function z(){y.activeTouch&&(x=setTimeout(function(){return y.activeTouch=null},1e3),b=y.activeTouch,b.end=+new Date)}function ie(fe){if(fe.touches.length!=1)return!1;var ge=fe.touches[0];return ge.radiusX<=1&&ge.radiusY<=1}function le(fe,ge){if(ge.left==null)return!0;var ot=ge.left-fe.left,gt=ge.top-fe.top;return ot*ot+gt*gt>20*20}Wt(y.scroller,"touchstart",function(fe){if(!wt(a,fe)&&!ie(fe)&&!ml(a,fe)){y.input.ensurePolled(),clearTimeout(x);var ge=+new Date;y.activeTouch={start:ge,moved:!1,prev:ge-b.end<=300?b:null},fe.touches.length==1&&(y.activeTouch.left=fe.touches[0].pageX,y.activeTouch.top=fe.touches[0].pageY)}}),Wt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Wt(y.scroller,"touchend",function(fe){var ge=y.activeTouch;if(ge&&!gi(y,fe)&&ge.left!=null&&!ge.moved&&new Date-ge.start<300){var ot=a.coordsChar(y.activeTouch,"page"),gt;!ge.prev||le(ge,ge.prev)?gt=new Ur(ot,ot):!ge.prev.prev||le(ge,ge.prev.prev)?gt=a.findWordAt(ot):gt=new Ur(De(ot.line,0),Xe(a.doc,De(ot.line+1,0))),a.setSelection(gt.anchor,gt.head),a.focus(),Fe(fe)}z()}),Wt(y.scroller,"touchcancel",z),Wt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(_o(a,y.scroller.scrollTop),Eo(a,y.scroller.scrollLeft,!0),$t(a,"scroll",a))}),Wt(y.scroller,"mousewheel",function(fe){return zl(a,fe)}),Wt(y.scroller,"DOMMouseScroll",function(fe){return zl(a,fe)}),Wt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(fe){wt(a,fe)||Oe(fe)},over:function(fe){wt(a,fe)||(Cu(a,fe),Oe(fe))},start:function(fe){return xu(a,fe)},drop:hi(a,bu),leave:function(fe){wt(a,fe)||fs(a)}};var ce=y.input.getField();Wt(ce,"keyup",function(fe){return Ss.call(a,fe)}),Wt(ce,"keydown",hi(a,ws)),Wt(ce,"keypress",hi(a,Es)),Wt(ce,"focus",function(fe){return Qa(a,fe)}),Wt(ce,"blur",function(fe){return To(a,fe)})}var vl=[];$r.defineInitHook=function(a){return vl.push(a)};function ga(a,y,x,b){var z=a.doc,ie;x==null&&(x="add"),x=="smart"&&(z.mode.indent?ie=Wn(a,y).state:x="prev");var le=a.options.tabSize,ce=zt(z,y),fe=we(ce.text,null,le);ce.stateAfter&&(ce.stateAfter=null);var ge=ce.text.match(/^\s*/)[0],ot;if(!b&&!/\S/.test(ce.text))ot=0,x="not";else if(x=="smart"&&(ot=z.mode.indent(ie,ce.text.slice(ge.length),ce.text),ot==Mt||ot>150)){if(!b)return;x="prev"}x=="prev"?y>z.first?ot=we(zt(z,y-1).text,null,le):ot=0:x=="add"?ot=fe+a.options.indentUnit:x=="subtract"?ot=fe-a.options.indentUnit:typeof x=="number"&&(ot=fe+x),ot=Math.max(0,ot);var gt="",_t=0;if(a.options.indentWithTabs)for(var Gt=Math.floor(ot/le);Gt;--Gt)_t+=le,gt+=" ";if(_t<ot&&(gt+=Kt(ot-_t)),gt!=ge)return Ho(z,gt,De(y,0),De(y,ge.length),"+input"),ce.stateAfter=null,!0;for(var Sn=0;Sn<z.sel.ranges.length;Sn++){var zn=z.sel.ranges[Sn];if(zn.head.line==y&&zn.head.ch<ge.length){var Kn=De(y,ge.length);ul(z,Sn,new Ur(Kn,Kn));break}}}var _i=null;function Wa(a){_i=a}function gl(a,y,x,b,z){var ie=a.doc;a.display.shift=!1,b||(b=ie.sel);var le=+new Date-200,ce=z=="paste"||a.state.pasteIncoming>le,fe=un(y),ge=null;if(ce&&b.ranges.length>1)if(_i&&_i.text.join(`
`)==y){if(b.ranges.length%_i.text.length==0){ge=[];for(var ot=0;ot<_i.text.length;ot++)ge.push(ie.splitLines(_i.text[ot]))}}else fe.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(ge=Yt(fe,function(_n){return[_n]}));for(var gt=a.curOp.updateInput,_t=b.ranges.length-1;_t>=0;_t--){var Gt=b.ranges[_t],Sn=Gt.from(),zn=Gt.to();Gt.empty()&&(x&&x>0?Sn=De(Sn.line,Sn.ch-x):a.state.overwrite&&!ce?zn=De(zn.line,Math.min(zt(ie,zn.line).text.length,zn.ch+je(fe).length)):ce&&_i&&_i.lineWise&&_i.text.join(`
`)==fe.join(`
`)&&(Sn=zn=De(Sn.line,0)));var Kn={from:Sn,to:zn,text:ge?ge[_t%ge.length]:fe,origin:z||(ce?"paste":a.state.cutIncoming>le?"cut":"+input")};zo(a.doc,Kn),Lr(a,"inputRead",a,Kn)}y&&!ce&&Is(a,y),ko(a),a.curOp.updateInput<2&&(a.curOp.updateInput=gt),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Ls(a,y){var x=a.clipboardData&&a.clipboardData.getData("Text");if(x)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&ji(y,function(){return gl(y,x,0,null,"paste")}),!0}function Is(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var x=a.doc.sel,b=x.ranges.length-1;b>=0;b--){var z=x.ranges[b];if(!(z.head.ch>100||b&&x.ranges[b-1].head.line==z.head.line)){var ie=a.getModeAt(z.head),le=!1;if(ie.electricChars){for(var ce=0;ce<ie.electricChars.length;ce++)if(y.indexOf(ie.electricChars.charAt(ce))>-1){le=ga(a,z.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(zt(a.doc,z.head.line).text.slice(0,z.head.ch))&&(le=ga(a,z.head.line,"smart"));le&&Lr(a,"electricInput",a,z.head.line)}}}function Ts(a){for(var y=[],x=[],b=0;b<a.doc.sel.ranges.length;b++){var z=a.doc.sel.ranges[b].head.line,ie={anchor:De(z,0),head:De(z+1,0)};x.push(ie),y.push(a.getRange(ie.anchor,ie.head))}return{text:y,ranges:x}}function ks(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function Ns(){var a=at("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=at("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ie?a.style.width="1000px":a.setAttribute("wrap","off"),rt&&(a.style.border="1px solid black"),ks(a),y}function Uu(a){var y=a.optionHandlers,x=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(b,z){var ie=this.options,le=ie[b];ie[b]==z&&b!="mode"||(ie[b]=z,y.hasOwnProperty(b)&&hi(this,y[b])(this,z,le),$t(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,z){this.state.keyMaps[z?"push":"unshift"](za(b))},removeKeyMap:function(b){for(var z=this.state.keyMaps,ie=0;ie<z.length;++ie)if(z[ie]==b||z[ie].name==b)return z.splice(ie,1),!0},addOverlay:Oi(function(b,z){var ie=b.token?b:a.getMode(this.options,b);if(ie.startState)throw new Error("Overlays may not be stateful.");vt(this.state.overlays,{mode:ie,modeSpec:b,opaque:z&&z.opaque,priority:z&&z.priority||0},function(le){return le.priority}),this.state.modeGen++,Mi(this)}),removeOverlay:Oi(function(b){for(var z=this.state.overlays,ie=0;ie<z.length;++ie){var le=z[ie].modeSpec;if(le==b||typeof b=="string"&&le.name==b){z.splice(ie,1),this.state.modeGen++,Mi(this);return}}}),indentLine:Oi(function(b,z,ie){typeof z!="string"&&typeof z!="number"&&(z==null?z=this.options.smartIndent?"smart":"prev":z=z?"add":"subtract"),Ce(this.doc,b)&&ga(this,b,z,ie)}),indentSelection:Oi(function(b){for(var z=this.doc.sel.ranges,ie=-1,le=0;le<z.length;le++){var ce=z[le];if(ce.empty())ce.head.line>ie&&(ga(this,ce.head.line,b,!0),ie=ce.head.line,le==this.doc.sel.primIndex&&ko(this));else{var fe=ce.from(),ge=ce.to(),ot=Math.max(ie,fe.line);ie=Math.min(this.lastLine(),ge.line-(ge.ch?0:1))+1;for(var gt=ot;gt<ie;++gt)ga(this,gt,b);var _t=this.doc.sel.ranges;fe.ch==0&&z.length==_t.length&&_t[le].from().ch>0&&ul(this.doc,le,new Ur(fe,_t[le].to()),me)}}}),getTokenAt:function(b,z){return Un(this,b,z)},getLineTokens:function(b,z){return Un(this,De(b),z,!0)},getTokenTypeAt:function(b){b=Xe(this.doc,b);var z=Rn(this,zt(this.doc,b.line)),ie=0,le=(z.length-1)/2,ce=b.ch,fe;if(ce==0)fe=z[2];else for(;;){var ge=ie+le>>1;if((ge?z[ge*2-1]:0)>=ce)le=ge;else if(z[ge*2+1]<ce)ie=ge+1;else{fe=z[ge*2+2];break}}var ot=fe?fe.indexOf("overlay "):-1;return ot<0?fe:ot==0?null:fe.slice(0,ot-1)},getModeAt:function(b){var z=this.doc.mode;return z.innerMode?a.innerMode(z,this.getTokenAt(b).state).mode:z},getHelper:function(b,z){return this.getHelpers(b,z)[0]},getHelpers:function(b,z){var ie=[];if(!x.hasOwnProperty(z))return ie;var le=x[z],ce=this.getModeAt(b);if(typeof ce[z]=="string")le[ce[z]]&&ie.push(le[ce[z]]);else if(ce[z])for(var fe=0;fe<ce[z].length;fe++){var ge=le[ce[z][fe]];ge&&ie.push(ge)}else ce.helperType&&le[ce.helperType]?ie.push(le[ce.helperType]):le[ce.name]&&ie.push(le[ce.name]);for(var ot=0;ot<le._global.length;ot++){var gt=le._global[ot];gt.pred(ce,this)&&xt(ie,gt.val)==-1&&ie.push(gt.val)}return ie},getStateAfter:function(b,z){var ie=this.doc;return b=ht(ie,b==null?ie.first+ie.size-1:b),Wn(this,b+1,z).state},cursorCoords:function(b,z){var ie,le=this.doc.sel.primary();return b==null?ie=le.head:typeof b=="object"?ie=Xe(this.doc,b):ie=b?le.from():le.to(),Bi(this,ie,z||"page")},charCoords:function(b,z){return Io(this,Xe(this.doc,b),z||"page")},coordsChar:function(b,z){return b=Sa(this,b,z||"page"),yi(this,b.left,b.top)},lineAtHeight:function(b,z){return b=Sa(this,{top:b,left:0},z||"page").top,nt(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,z,ie){var le=!1,ce;if(typeof b=="number"){var fe=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>fe&&(b=fe,le=!0),ce=zt(this.doc,b)}else ce=b;return Lo(this,ce,{top:0,left:0},z||"page",ie||le).top+(le?this.doc.height-fr(ce):0)},defaultTextHeight:function(){return Hi(this.display)},defaultCharWidth:function(){return $i(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(b,z,ie,le,ce){var fe=this.display;b=Bi(this,Xe(this.doc,b));var ge=b.bottom,ot=b.left;if(z.style.position="absolute",z.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(z),fe.sizer.appendChild(z),le=="over")ge=b.top;else if(le=="above"||le=="near"){var gt=Math.max(fe.wrapper.clientHeight,this.doc.height),_t=Math.max(fe.sizer.clientWidth,fe.lineSpace.clientWidth);(le=="above"||b.bottom+z.offsetHeight>gt)&&b.top>z.offsetHeight?ge=b.top-z.offsetHeight:b.bottom+z.offsetHeight<=gt&&(ge=b.bottom),ot+z.offsetWidth>_t&&(ot=_t-z.offsetWidth)}z.style.top=ge+"px",z.style.left=z.style.right="",ce=="right"?(ot=fe.sizer.clientWidth-z.offsetWidth,z.style.right="0px"):(ce=="left"?ot=0:ce=="middle"&&(ot=(fe.sizer.clientWidth-z.offsetWidth)/2),z.style.left=ot+"px"),ie&&Vs(this,{left:ot,top:ge,right:ot+z.offsetWidth,bottom:ge+z.offsetHeight})},triggerOnKeyDown:Oi(ws),triggerOnKeyPress:Oi(Es),triggerOnKeyUp:Ss,triggerOnMouseDown:Oi(Ps),execCommand:function(b){if(ha.hasOwnProperty(b))return ha[b].call(null,this)},triggerElectric:Oi(function(b){Is(this,b)}),findPosH:function(b,z,ie,le){var ce=1;z<0&&(ce=-1,z=-z);for(var fe=Xe(this.doc,b),ge=0;ge<z&&(fe=yl(this.doc,fe,ce,ie,le),!fe.hitSide);++ge);return fe},moveH:Oi(function(b,z){var ie=this;this.extendSelectionsBy(function(le){return ie.display.shift||ie.doc.extend||le.empty()?yl(ie.doc,le.head,b,z,ie.options.rtlMoveVisually):b<0?le.from():le.to()},Qe)}),deleteH:Oi(function(b,z){var ie=this.doc.sel,le=this.doc;ie.somethingSelected()?le.replaceSelection("",null,"+delete"):Zo(this,function(ce){var fe=yl(le,ce.head,b,z,!1);return b<0?{from:fe,to:ce.head}:{from:ce.head,to:fe}})}),findPosV:function(b,z,ie,le){var ce=1,fe=le;z<0&&(ce=-1,z=-z);for(var ge=Xe(this.doc,b),ot=0;ot<z;++ot){var gt=Bi(this,ge,"div");if(fe==null?fe=gt.left:gt.left=fe,ge=Fs(this,gt,ce,ie),ge.hitSide)break}return ge},moveV:Oi(function(b,z){var ie=this,le=this.doc,ce=[],fe=!this.display.shift&&!le.extend&&le.sel.somethingSelected();if(le.extendSelectionsBy(function(ot){if(fe)return b<0?ot.from():ot.to();var gt=Bi(ie,ot.head,"div");ot.goalColumn!=null&&(gt.left=ot.goalColumn),ce.push(gt.left);var _t=Fs(ie,gt,b,z);return z=="page"&&ot==le.sel.primary()&&qa(ie,Io(ie,_t,"div").top-gt.top),_t},Qe),ce.length)for(var ge=0;ge<le.sel.ranges.length;ge++)le.sel.ranges[ge].goalColumn=ce[ge]}),findWordAt:function(b){var z=this.doc,ie=zt(z,b.line).text,le=b.ch,ce=b.ch;if(ie){var fe=this.getHelper(b,"wordChars");(b.sticky=="before"||ce==ie.length)&&le?--le:++ce;for(var ge=ie.charAt(le),ot=se(ge,fe)?function(gt){return se(gt,fe)}:/\s/.test(ge)?function(gt){return/\s/.test(gt)}:function(gt){return!/\s/.test(gt)&&!se(gt)};le>0&&ot(ie.charAt(le-1));)--le;for(;ce<ie.length&&ot(ie.charAt(ce));)++ce}return new Ur(De(b.line,le),De(b.line,ce))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):et(this.display.cursorDiv,"CodeMirror-overwrite"),$t(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Je()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Oi(function(b,z){qo(this,b,z)}),getScrollInfo:function(){var b=this.display.scroller;return{left:b.scrollLeft,top:b.scrollTop,height:b.scrollHeight-Ri(this)-this.display.barHeight,width:b.scrollWidth-Ri(this)-this.display.barWidth,clientHeight:io(this),clientWidth:to(this)}},scrollIntoView:Oi(function(b,z){b==null?(b={from:this.doc.sel.primary().head,to:null},z==null&&(z=this.options.cursorScrollMargin)):typeof b=="number"?b={from:De(b,0),to:null}:b.from==null&&(b={from:b,to:null}),b.to||(b.to=b.from),b.margin=z||0,b.from.line!=null?Gs(this,b):Dl(this,b.from,b.to,b.margin)}),setSize:Oi(function(b,z){var ie=this,le=function(fe){return typeof fe=="number"||/^\d+$/.test(String(fe))?fe+"px":fe};b!=null&&(this.display.wrapper.style.width=le(b)),z!=null&&(this.display.wrapper.style.height=le(z)),this.options.lineWrapping&&Yo(this);var ce=this.display.viewFrom;this.doc.iter(ce,this.display.viewTo,function(fe){if(fe.widgets){for(var ge=0;ge<fe.widgets.length;ge++)if(fe.widgets[ge].noHScroll){fo(ie,ce,"widget");break}}++ce}),this.curOp.forceUpdate=!0,$t(this,"refresh",this)}),operation:function(b){return ji(this,b)},startOperation:function(){return Oo(this)},endOperation:function(){return Ao(this)},refresh:Oi(function(){var b=this.display.cachedTextHeight;Mi(this),this.curOp.forceUpdate=!0,Co(this),qo(this,this.doc.scrollLeft,this.doc.scrollTop),tl(this.display),(b==null||Math.abs(b-Hi(this.display))>.5||this.options.lineWrapping)&&Ya(this),$t(this,"refresh",this)}),swapDoc:Oi(function(b){var z=this.doc;return z.cm=null,this.state.selectingText&&this.state.selectingText(),Zl(this,b),Co(this),this.display.input.reset(),qo(this,b.scrollLeft,b.scrollTop),this.curOp.forceScroll=!0,Lr(this,"swapDoc",this,z),z}),phrase:function(b){var z=this.options.phrases;return z&&Object.prototype.hasOwnProperty.call(z,b)?z[b]:b},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Me(a),a.registerHelper=function(b,z,ie){x.hasOwnProperty(b)||(x[b]=a[b]={_global:[]}),x[b][z]=ie},a.registerGlobalHelper=function(b,z,ie,le){a.registerHelper(b,z,le),x[b]._global.push({pred:ie,val:le})}}function yl(a,y,x,b,z){var ie=y,le=x,ce=zt(a,y.line),fe=z&&a.direction=="rtl"?-x:x;function ge(){var ir=y.line+fe;return ir<a.first||ir>=a.first+a.size?!1:(y=new De(ir,y.ch,y.sticky),ce=zt(a,ir))}function ot(ir){var er;if(b=="codepoint"){var ur=ce.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(ur)?er=null:er=new De(y.line,Math.max(0,Math.min(ce.text.length,y.ch+x*(ur>=55296&&ur<56320?2:1))),-x)}else z?er=Au(a.cm,ce,y,x):er=dl(ce,y,x);if(er==null)if(!ir&&ge())y=fl(z,a.cm,ce,y.line,fe);else return!1;else y=er;return!0}if(b=="char"||b=="codepoint")ot();else if(b=="column")ot(!0);else if(b=="word"||b=="group")for(var gt=null,_t=b=="group",Gt=a.cm&&a.cm.getHelper(y,"wordChars"),Sn=!0;!(x<0&&!ot(!Sn));Sn=!1){var zn=ce.text.charAt(y.ch)||`
`,Kn=se(zn,Gt)?"w":_t&&zn==`
`?"n":!_t||/\s/.test(zn)?null:"p";if(_t&&!Sn&&!Kn&&(Kn="s"),gt&&gt!=Kn){x<0&&(x=1,ot(),y.sticky="after");break}if(Kn&&(gt=Kn),x>0&&!ot(!Sn))break}var _n=Na(a,y,ie,le,!0);return be(ie,_n)&&(_n.hitSide=!0),_n}function Fs(a,y,x,b){var z=a.doc,ie=y.left,le;if(b=="page"){var ce=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),fe=Math.max(ce-.5*Hi(a.display),3);le=(x>0?y.bottom:y.top)+x*fe}else b=="line"&&(le=x>0?y.bottom+3:y.top-3);for(var ge;ge=yi(a,ie,le),!!ge.outside;){if(x<0?le<=0:le>=z.height){ge.hitSide=!0;break}le+=x*5}return ge}var Kr=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new de,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Kr.prototype.init=function(a){var y=this,x=this,b=x.cm,z=x.div=a.lineDiv;ks(z,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function ie(ce){for(var fe=ce.target;fe;fe=fe.parentNode){if(fe==z)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(fe.className))break}return!1}Wt(z,"paste",function(ce){!ie(ce)||wt(b,ce)||Ls(ce,b)||Ee<=11&&setTimeout(hi(b,function(){return y.updateFromDOM()}),20)}),Wt(z,"compositionstart",function(ce){y.composing={data:ce.data,done:!1}}),Wt(z,"compositionupdate",function(ce){y.composing||(y.composing={data:ce.data,done:!1})}),Wt(z,"compositionend",function(ce){y.composing&&(ce.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Wt(z,"touchstart",function(){return x.forceCompositionEnd()}),Wt(z,"input",function(){y.composing||y.readFromDOMSoon()});function le(ce){if(!(!ie(ce)||wt(b,ce))){if(b.somethingSelected())Wa({lineWise:!1,text:b.getSelections()}),ce.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var fe=Ts(b);Wa({lineWise:!0,text:fe.text}),ce.type=="cut"&&b.operation(function(){b.setSelections(fe.ranges,0,me),b.replaceSelection("",null,"cut")})}else return;if(ce.clipboardData){ce.clipboardData.clearData();var ge=_i.text.join(`
`);if(ce.clipboardData.setData("Text",ge),ce.clipboardData.getData("Text")==ge){ce.preventDefault();return}}var ot=Ns(),gt=ot.firstChild;b.display.lineSpace.insertBefore(ot,b.display.lineSpace.firstChild),gt.value=_i.text.join(`
`);var _t=document.activeElement;Le(gt),setTimeout(function(){b.display.lineSpace.removeChild(ot),_t.focus(),_t==z&&x.showPrimarySelection()},50)}}Wt(z,"copy",le),Wt(z,"cut",le)},Kr.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Kr.prototype.prepareSelection=function(){var a=Sl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Kr.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Kr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Kr.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,x=y.doc.sel.primary(),b=x.from(),z=x.to();if(y.display.viewTo==y.display.viewFrom||b.line>=y.display.viewTo||z.line<y.display.viewFrom){a.removeAllRanges();return}var ie=Za(y,a.anchorNode,a.anchorOffset),le=Za(y,a.focusNode,a.focusOffset);if(!(ie&&!ie.bad&&le&&!le.bad&&Ve(yt(ie,le),b)==0&&Ve(ft(ie,le),z)==0)){var ce=y.display.view,fe=b.line>=y.display.viewFrom&&Rs(y,b)||{node:ce[0].measure.map[2],offset:0},ge=z.line<y.display.viewTo&&Rs(y,z);if(!ge){var ot=ce[ce.length-1].measure,gt=ot.maps?ot.maps[ot.maps.length-1]:ot.map;ge={node:gt[gt.length-1],offset:gt[gt.length-2]-gt[gt.length-3]}}if(!fe||!ge){a.removeAllRanges();return}var _t=a.rangeCount&&a.getRangeAt(0),Gt;try{Gt=Be(fe.node,fe.offset,ge.offset,ge.node)}catch(Sn){}Gt&&(!E&&y.state.focused?(a.collapse(fe.node,fe.offset),Gt.collapsed||(a.removeAllRanges(),a.addRange(Gt))):(a.removeAllRanges(),a.addRange(Gt)),_t&&a.anchorNode==null?a.addRange(_t):E&&this.startGracePeriod()),this.rememberSelection()}},Kr.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)},Kr.prototype.showMultipleSelections=function(a){st(this.cm.display.cursorDiv,a.cursors),st(this.cm.display.selectionDiv,a.selection)},Kr.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Kr.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return it(this.div,y)},Kr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Kr.prototype.blur=function(){this.div.blur()},Kr.prototype.getField=function(){return this.div},Kr.prototype.supportsTouch=function(){return!0},Kr.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():ji(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)},Kr.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Kr.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(ze&&Pe&&this.cm.display.gutterSpecs.length&&Ku(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Za(y,a.anchorNode,a.anchorOffset),b=Za(y,a.focusNode,a.focusOffset);x&&b&&ji(y,function(){wi(y.doc,po(x,b),me),(x.bad||b.bad)&&(y.curOp.selectionChanged=!0)})}}},Kr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,x=a.doc.sel.primary(),b=x.from(),z=x.to();if(b.ch==0&&b.line>a.firstLine()&&(b=De(b.line-1,zt(a.doc,b.line-1).length)),z.ch==zt(a.doc,z.line).text.length&&z.line<a.lastLine()&&(z=De(z.line+1,0)),b.line<y.viewFrom||z.line>y.viewTo-1)return!1;var ie,le,ce;b.line==y.viewFrom||(ie=So(a,b.line))==0?(le=ke(y.view[0].line),ce=y.view[0].node):(le=ke(y.view[ie].line),ce=y.view[ie-1].node.nextSibling);var fe=So(a,z.line),ge,ot;if(fe==y.view.length-1?(ge=y.viewTo-1,ot=y.lineDiv.lastChild):(ge=ke(y.view[fe+1].line)-1,ot=y.view[fe+1].node.previousSibling),!ce)return!1;for(var gt=a.doc.splitLines(Yu(a,ce,ot,le,ge)),_t=nn(a.doc,De(le,0),De(ge,zt(a.doc,ge).text.length));gt.length>1&&_t.length>1;)if(je(gt)==je(_t))gt.pop(),_t.pop(),ge--;else if(gt[0]==_t[0])gt.shift(),_t.shift(),le++;else break;for(var Gt=0,Sn=0,zn=gt[0],Kn=_t[0],_n=Math.min(zn.length,Kn.length);Gt<_n&&zn.charCodeAt(Gt)==Kn.charCodeAt(Gt);)++Gt;for(var ir=je(gt),er=je(_t),ur=Math.min(ir.length-(gt.length==1?Gt:0),er.length-(_t.length==1?Gt:0));Sn<ur&&ir.charCodeAt(ir.length-Sn-1)==er.charCodeAt(er.length-Sn-1);)++Sn;if(gt.length==1&&_t.length==1&&le==b.line)for(;Gt&&Gt>b.ch&&ir.charCodeAt(ir.length-Sn-1)==er.charCodeAt(er.length-Sn-1);)Gt--,Sn++;gt[gt.length-1]=ir.slice(0,ir.length-Sn).replace(/^\u200b+/,""),gt[0]=gt[0].slice(Gt).replace(/\u200b+$/,"");var gr=De(le,Gt),pr=De(ge,_t.length?je(_t).length-Sn:0);if(gt.length>1||gt[0]||Ve(gr,pr))return Ho(a.doc,gt,gr,pr,"+input"),!0},Kr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Kr.prototype.reset=function(){this.forceCompositionEnd()},Kr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Kr.prototype.readFromDOMSoon=function(){var 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))},Kr.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&ji(this.cm,function(){return Mi(a.cm)})},Kr.prototype.setUneditable=function(a){a.contentEditable="false"},Kr.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||hi(this.cm,gl)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Kr.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Kr.prototype.onContextMenu=function(){},Kr.prototype.resetPosition=function(){},Kr.prototype.needsContentAttribute=!0;function Rs(a,y){var x=no(a,y.line);if(!x||x.hidden)return null;var b=zt(a.doc,y.line),z=Mo(x,b,y.line),ie=tn(b,a.doc.direction),le="left";if(ie){var ce=Pt(ie,y.ch);le=ce%2?"right":"left"}var fe=xa(z.map,y.ch,le);return fe.offset=fe.collapse=="right"?fe.end:fe.start,fe}function Ku(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Go(a,y){return y&&(a.bad=!0),a}function Yu(a,y,x,b,z){var ie="",le=!1,ce=a.doc.lineSeparator(),fe=!1;function ge(Gt){return function(Sn){return Sn.id==Gt}}function ot(){le&&(ie+=ce,fe&&(ie+=ce),le=fe=!1)}function gt(Gt){Gt&&(ot(),ie+=Gt)}function _t(Gt){if(Gt.nodeType==1){var Sn=Gt.getAttribute("cm-text");if(Sn){gt(Sn);return}var zn=Gt.getAttribute("cm-marker"),Kn;if(zn){var _n=a.findMarks(De(b,0),De(z+1,0),ge(+zn));_n.length&&(Kn=_n[0].find(0))&&gt(nn(a.doc,Kn.from,Kn.to).join(ce));return}if(Gt.getAttribute("contenteditable")=="false")return;var ir=/^(pre|div|p|li|table|br)$/i.test(Gt.nodeName);if(!/^br$/i.test(Gt.nodeName)&&Gt.textContent.length==0)return;ir&&ot();for(var er=0;er<Gt.childNodes.length;er++)_t(Gt.childNodes[er]);/^(pre|p)$/i.test(Gt.nodeName)&&(fe=!0),ir&&(le=!0)}else Gt.nodeType==3&&gt(Gt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;_t(y),y!=x;)y=y.nextSibling,fe=!1;return ie}function Za(a,y,x){var b;if(y==a.display.lineDiv){if(b=a.display.lineDiv.childNodes[x],!b)return Go(a.clipPos(De(a.display.viewTo-1)),!0);y=null,x=0}else for(b=y;;b=b.parentNode){if(!b||b==a.display.lineDiv)return null;if(b.parentNode&&b.parentNode==a.display.lineDiv)break}for(var z=0;z<a.display.view.length;z++){var ie=a.display.view[z];if(ie.node==b)return Ju(ie,y,x)}}function Ju(a,y,x){var b=a.text.firstChild,z=!1;if(!y||!it(b,y))return Go(De(ke(a.line),0),!0);if(y==b&&(z=!0,y=b.childNodes[x],x=0,!y)){var ie=a.rest?je(a.rest):a.line;return Go(De(ke(ie),ie.text.length),z)}var le=y.nodeType==3?y:null,ce=y;for(!le&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(le=y.firstChild,x&&(x=le.nodeValue.length));ce.parentNode!=b;)ce=ce.parentNode;var fe=a.measure,ge=fe.maps;function ot(Kn,_n,ir){for(var er=-1;er<(ge?ge.length:0);er++)for(var ur=er<0?fe.map:ge[er],gr=0;gr<ur.length;gr+=3){var pr=ur[gr+2];if(pr==Kn||pr==_n){var Ir=ke(er<0?a.line:a.rest[er]),Qr=ur[gr]+ir;return(ir<0||pr!=Kn)&&(Qr=ur[gr+(ir?1:0)]),De(Ir,Qr)}}}var gt=ot(le,ce,x);if(gt)return Go(gt,z);for(var _t=ce.nextSibling,Gt=le?le.nodeValue.length-x:0;_t;_t=_t.nextSibling){if(gt=ot(_t,_t.firstChild,0),gt)return Go(De(gt.line,gt.ch-Gt),z);Gt+=_t.textContent.length}for(var Sn=ce.previousSibling,zn=x;Sn;Sn=Sn.previousSibling){if(gt=ot(Sn,Sn.firstChild,-1),gt)return Go(De(gt.line,gt.ch+zn),z);zn+=Sn.textContent.length}}var oi=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new de,this.hasSelection=!1,this.composing=null};oi.prototype.init=function(a){var y=this,x=this,b=this.cm;this.createField(a);var z=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),rt&&(z.style.width="0px"),Wt(z,"input",function(){Se&&Ee>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),Wt(z,"paste",function(le){wt(b,le)||Ls(le,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function ie(le){if(!wt(b,le)){if(b.somethingSelected())Wa({lineWise:!1,text:b.getSelections()});else if(b.options.lineWiseCopyCut){var ce=Ts(b);Wa({lineWise:!0,text:ce.text}),le.type=="cut"?b.setSelections(ce.ranges,null,me):(x.prevInput="",z.value=ce.text.join(`
`),Le(z))}else return;le.type=="cut"&&(b.state.cutIncoming=+new Date)}}Wt(z,"cut",ie),Wt(z,"copy",ie),Wt(a.scroller,"paste",function(le){if(!(gi(a,le)||wt(b,le))){if(!z.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var ce=new Event("paste");ce.clipboardData=le.clipboardData,z.dispatchEvent(ce)}}),Wt(a.lineSpace,"selectstart",function(le){gi(a,le)||Fe(le)}),Wt(z,"compositionstart",function(){var le=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:le,range:b.markText(le,b.getCursor("to"),{className:"CodeMirror-composing"})}}),Wt(z,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},oi.prototype.createField=function(a){this.wrapper=Ns(),this.textarea=this.wrapper.firstChild},oi.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},oi.prototype.prepareSelection=function(){var a=this.cm,y=a.display,x=a.doc,b=Sl(a);if(a.options.moveInputWithCursor){var z=Bi(a,x.sel.primary().head,"div"),ie=y.wrapper.getBoundingClientRect(),le=y.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,z.top+le.top-ie.top)),b.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,z.left+le.left-ie.left))}return b},oi.prototype.showSelection=function(a){var y=this.cm,x=y.display;st(x.cursorDiv,a.cursors),st(x.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},oi.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var x=y.getSelection();this.textarea.value=x,y.state.focused&&Le(this.textarea),Se&&Ee>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",Se&&Ee>=9&&(this.hasSelection=null))}},oi.prototype.getField=function(){return this.textarea},oi.prototype.supportsTouch=function(){return!1},oi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ue||Je()!=this.textarea))try{this.textarea.focus()}catch(a){}},oi.prototype.blur=function(){this.textarea.blur()},oi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},oi.prototype.receivedFocus=function(){this.slowPoll()},oi.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},oi.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function x(){var b=y.poll();!b&&!a?(a=!0,y.polling.set(60,x)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,x)},oi.prototype.poll=function(){var a=this,y=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||!y.state.focused||yn(x)&&!b&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var z=x.value;if(z==b&&!y.somethingSelected())return!1;if(Se&&Ee>=9&&this.hasSelection===z||We&&/[\uf700-\uf7ff]/.test(z))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ie=z.charCodeAt(0);if(ie==8203&&!b&&(b="\u200B"),ie==8666)return this.reset(),this.cm.execCommand("undo")}for(var le=0,ce=Math.min(b.length,z.length);le<ce&&b.charCodeAt(le)==z.charCodeAt(le);)++le;return ji(y,function(){gl(y,z.slice(le),b.length-le,null,a.composing?"*compose":null),z.length>1e3||z.indexOf(`
`)>-1?x.value=a.prevInput="":a.prevInput=z,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},oi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},oi.prototype.onKeyPress=function(){Se&&Ee>=9&&(this.hasSelection=null),this.fastPoll()},oi.prototype.onContextMenu=function(a){var y=this,x=y.cm,b=x.display,z=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ie=wo(x,a),le=b.scroller.scrollTop;if(!ie||he)return;var ce=x.options.resetSelectionOnContextMenu;ce&&x.doc.sel.contains(ie)==-1&&hi(x,wi)(x.doc,po(ie),me);var fe=z.style.cssText,ge=y.wrapper.style.cssText,ot=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",z.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-ot.top-5)+"px; left: "+(a.clientX-ot.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 gt;Ie&&(gt=window.scrollY),b.input.focus(),Ie&&window.scrollTo(null,gt),b.input.reset(),x.somethingSelected()||(z.value=y.prevInput=" "),y.contextMenuPending=Gt,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function _t(){if(z.selectionStart!=null){var zn=x.somethingSelected(),Kn="\u200B"+(zn?z.value:"");z.value="\u21DA",z.value=Kn,y.prevInput=zn?"":"\u200B",z.selectionStart=1,z.selectionEnd=Kn.length,b.selForContextMenu=x.doc.sel}}function Gt(){if(y.contextMenuPending==Gt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=ge,z.style.cssText=fe,Se&&Ee<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=le),z.selectionStart!=null)){(!Se||Se&&Ee<9)&&_t();var zn=0,Kn=function(){b.selForContextMenu==x.doc.sel&&z.selectionStart==0&&z.selectionEnd>0&&y.prevInput=="\u200B"?hi(x,ts)(x):zn++<10?b.detectingSelectAll=setTimeout(Kn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Kn,200)}}if(Se&&Ee>=9&&_t(),pt){Oe(a);var Sn=function(){Dt(window,"mouseup",Sn),setTimeout(Gt,20)};Wt(window,"mouseup",Sn)}else setTimeout(Gt,50)},oi.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},oi.prototype.setUneditable=function(){},oi.prototype.needsContentAttribute=!1;function Qu(a,y){if(y=y?Ht(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var x=Je();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=ce.getValue()}var z;if(a.form&&(Wt(a.form,"submit",b),!y.leaveSubmitMethodAlone)){var ie=a.form;z=ie.submit;try{var le=ie.submit=function(){b(),ie.submit=z,ie.submit(),ie.submit=le}}catch(fe){}}y.finishInit=function(fe){fe.save=b,fe.getTextArea=function(){return a},fe.toTextArea=function(){fe.toTextArea=isNaN,b(),a.parentNode.removeChild(fe.getWrapperElement()),a.style.display="",a.form&&(Dt(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=z))}},a.style.display="none";var ce=$r(function(fe){return a.parentNode.insertBefore(fe,a.nextSibling)},y);return ce}function $u(a){a.off=Dt,a.on=Wt,a.wheelEventPixels=iu,a.Doc=Li,a.splitLines=un,a.countColumn=we,a.findColumn=jt,a.isWordChar=oe,a.Pass=Mt,a.signal=$t,a.Line=Fr,a.changeEnd=mo,a.scrollbarModel=Ll,a.Pos=De,a.cmpPos=Ve,a.modes=Vt,a.mimeModes=Et,a.resolveMode=rn,a.getMode=En,a.modeExtensions=Mn,a.extendMode=An,a.copyState=Fn,a.startState=jn,a.innerMode=In,a.commands=ha,a.keyMap=ao,a.keyName=gs,a.isModifierKey=ms,a.lookupKey=Wo,a.normalizeKeyMap=Ou,a.StringStream=Vn,a.SharedTextMarker=ca,a.TextMarker=go,a.LineWidget=ua,a.e_preventDefault=Fe,a.e_stopPropagation=Bt,a.e_stop=Oe,a.addClass=ue,a.contains=it,a.rmClass=et,a.keyNames=yo}Zu($r),Uu($r);var qu="iter insert remove copy getEditor constructor".split(" ");for(var Va in Li.prototype)Li.prototype.hasOwnProperty(Va)&&xt(qu,Va)<0&&($r.prototype[Va]=function(a){return function(){return a.apply(this.doc,arguments)}}(Li.prototype[Va]));return Me(Li),$r.inputStyles={textarea:oi,contenteditable:Kr},$r.defineMode=function(a){!$r.defaults.mode&&a!="null"&&($r.defaults.mode=a),on.apply(this,arguments)},$r.defineMIME=an,$r.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),$r.defineMIME("text/plain","null"),$r.defineExtension=function(a,y){$r.prototype[a]=y},$r.defineDocExtension=function(a,y){Li.prototype[a]=y},$r.fromTextArea=Qu,$u($r),$r.version="5.58.2",$r})},25419:function(dn,Jt,re){(function(E){E(re(89780),re(15525),re(98101))})(function(E){"use strict";E.defineMode("markdown",function($e,ve){var Ye=E.getMode($e,"text/html"),Se=Ye.name=="null";function Ee(we){if(E.findModeByName){var de=E.findModeByName(we);de&&(we=de.mime||de.mimes[0])}var xt=E.getMode($e,we);return xt.name=="null"?null:xt}ve.highlightFormatting===void 0&&(ve.highlightFormatting=!1),ve.maxBlockquoteDepth===void 0&&(ve.maxBlockquoteDepth=0),ve.taskLists===void 0&&(ve.taskLists=!1),ve.strikethrough===void 0&&(ve.strikethrough=!1),ve.emoji===void 0&&(ve.emoji=!1),ve.fencedCodeBlockHighlighting===void 0&&(ve.fencedCodeBlockHighlighting=!0),ve.fencedCodeBlockDefaultMode===void 0&&(ve.fencedCodeBlockDefaultMode="text/plain"),ve.xml===void 0&&(ve.xml=!0),ve.tokenTypeOverrides===void 0&&(ve.tokenTypeOverrides={});var Ie={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Te in Ie)Ie.hasOwnProperty(Te)&&ve.tokenTypeOverrides[Te]&&(Ie[Te]=ve.tokenTypeOverrides[Te]);var Pe=/^([*\-_])(?:\s*\1){2,}\s*$/,he=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ze=/^\[(x| )\](?=\s)/i,xe=ve.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,At=/^ {0,3}(?:\={1,}|-{2,})\s*$/,rt=/^[^#!\[\]*_\\<>` "'(~:]+/,ze=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ue=/^\s*\[[^\]]+?\]:.*$/,We=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ct=" ";function Nt(we,de,xt){return de.f=de.inline=xt,xt(we,de)}function Ft(we,de,xt){return de.f=de.block=xt,xt(we,de)}function St(we){return!we||!/\S/.test(we.string)}function pt(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==et){var de=Se;if(!de){var xt=E.innerMode(Ye,we.htmlState);de=xt.mode.name=="xml"&&xt.state.tagStart===null&&!xt.state.context&&xt.state.tokenize.isInText}de&&(we.f=bt,we.block=ct,we.htmlState=null)}return we.trailingSpace=0,we.trailingSpaceNewLine=!1,we.prevLine=we.thisLine,we.thisLine={stream:null},null}function ct(we,de){var xt=we.column()===de.indentation,Qt=St(de.prevLine.stream),Mt=de.indentedCode,me=de.prevLine.hr,He=de.list!==!1,Qe=(de.listStack[de.listStack.length-1]||0)+3;de.indentedCode=!1;var jt=de.indentation;if(de.indentationDiff===null&&(de.indentationDiff=de.indentation,He)){for(de.list=null;jt<de.listStack[de.listStack.length-1];)de.listStack.pop(),de.listStack.length?de.indentation=de.listStack[de.listStack.length-1]:de.list=!1;de.list!==!1&&(de.indentationDiff=jt-de.listStack[de.listStack.length-1])}var Lt=!Qt&&!me&&!de.prevLine.header&&(!He||!Mt)&&!de.prevLine.fencedCodeEnd,Kt=(de.list===!1||me||Qt)&&de.indentation<=Qe&&we.match(Pe),je=null;if(de.indentationDiff>=4&&(Mt||de.prevLine.fencedCodeEnd||de.prevLine.header||Qt))return we.skipToEnd(),de.indentedCode=!0,Ie.code;if(we.eatSpace())return null;if(xt&&de.indentation<=Qe&&(je=we.match(xe))&&je[1].length<=6)return de.quote=0,de.header=je[1].length,de.thisLine.header=!0,ve.highlightFormatting&&(de.formatting="header"),de.f=de.inline,st(de);if(de.indentation<=Qe&&we.eat(">"))return de.quote=xt?1:de.quote+1,ve.highlightFormatting&&(de.formatting="quote"),we.eatSpace(),st(de);if(!Kt&&!de.setext&&xt&&de.indentation<=Qe&&(je=we.match(he))){var Yt=je[1]?"ol":"ul";return de.indentation=jt+we.current().length,de.list=!0,de.quote=0,de.listStack.push(de.indentation),de.em=!1,de.strong=!1,de.code=!1,de.strikethrough=!1,ve.taskLists&&we.match(Ze,!1)&&(de.taskList=!0),de.f=de.inline,ve.highlightFormatting&&(de.formatting=["list","list-"+Yt]),st(de)}else{if(xt&&de.indentation<=Qe&&(je=we.match(ze,!0)))return de.quote=0,de.fencedEndRE=new RegExp(je[1]+"+ *$"),de.localMode=ve.fencedCodeBlockHighlighting&&Ee(je[2]||ve.fencedCodeBlockDefaultMode),de.localMode&&(de.localState=E.startState(de.localMode)),de.f=de.block=Tt,ve.highlightFormatting&&(de.formatting="code-block"),de.code=-1,st(de);if(de.setext||(!Lt||!He)&&!de.quote&&de.list===!1&&!de.code&&!Kt&&!Ue.test(we.string)&&(je=we.lookAhead(1))&&(je=je.match(At)))return de.setext?(de.header=de.setext,de.setext=0,we.skipToEnd(),ve.highlightFormatting&&(de.formatting="header")):(de.header=je[0].charAt(0)=="="?1:2,de.setext=de.header),de.thisLine.header=!0,de.f=de.inline,st(de);if(Kt)return we.skipToEnd(),de.hr=!0,de.thisLine.hr=!0,Ie.hr;if(we.peek()==="[")return Nt(we,de,mt)}return Nt(we,de,de.inline)}function et(we,de){var xt=Ye.token(we,de.htmlState);if(!Se){var Qt=E.innerMode(Ye,de.htmlState);(Qt.mode.name=="xml"&&Qt.state.tagStart===null&&!Qt.state.context&&Qt.state.tokenize.isInText||de.md_inside&&we.current().indexOf(">")>-1)&&(de.f=bt,de.block=ct,de.htmlState=null)}return xt}function Tt(we,de){var xt=de.listStack[de.listStack.length-1]||0,Qt=de.indentation<xt,Mt=xt+3;if(de.fencedEndRE&&de.indentation<=Mt&&(Qt||we.match(de.fencedEndRE))){ve.highlightFormatting&&(de.formatting="code-block");var me;return Qt||(me=st(de)),de.localMode=de.localState=null,de.block=ct,de.f=bt,de.fencedEndRE=null,de.code=0,de.thisLine.fencedCodeEnd=!0,Qt?Ft(we,de,de.block):me}else return de.localMode?de.localMode.token(we,de.localState):(we.skipToEnd(),Ie.code)}function st(we){var de=[];if(we.formatting){de.push(Ie.formatting),typeof we.formatting=="string"&&(we.formatting=[we.formatting]);for(var xt=0;xt<we.formatting.length;xt++)de.push(Ie.formatting+"-"+we.formatting[xt]),we.formatting[xt]==="header"&&de.push(Ie.formatting+"-"+we.formatting[xt]+"-"+we.header),we.formatting[xt]==="quote"&&(!ve.maxBlockquoteDepth||ve.maxBlockquoteDepth>=we.quote?de.push(Ie.formatting+"-"+we.formatting[xt]+"-"+we.quote):de.push("error"))}if(we.taskOpen)return de.push("meta"),de.length?de.join(" "):null;if(we.taskClosed)return de.push("property"),de.length?de.join(" "):null;if(we.linkHref?de.push(Ie.linkHref,"url"):(we.strong&&de.push(Ie.strong),we.em&&de.push(Ie.em),we.strikethrough&&de.push(Ie.strikethrough),we.emoji&&de.push(Ie.emoji),we.linkText&&de.push(Ie.linkText),we.code&&de.push(Ie.code),we.image&&de.push(Ie.image),we.imageAltText&&de.push(Ie.imageAltText,"link"),we.imageMarker&&de.push(Ie.imageMarker)),we.header&&de.push(Ie.header,Ie.header+"-"+we.header),we.quote&&(de.push(Ie.quote),!ve.maxBlockquoteDepth||ve.maxBlockquoteDepth>=we.quote?de.push(Ie.quote+"-"+we.quote):de.push(Ie.quote+"-"+ve.maxBlockquoteDepth)),we.list!==!1){var Qt=(we.listStack.length-1)%3;Qt?Qt===1?de.push(Ie.list2):de.push(Ie.list3):de.push(Ie.list1)}return we.trailingSpaceNewLine?de.push("trailing-space-new-line"):we.trailingSpace&&de.push("trailing-space-"+(we.trailingSpace%2?"a":"b")),de.length?de.join(" "):null}function at(we,de){if(we.match(rt,!0))return st(de)}function bt(we,de){var xt=de.text(we,de);if(typeof xt!="undefined")return xt;if(de.list)return de.list=null,st(de);if(de.taskList){var Qt=we.match(Ze,!0)[1]===" ";return Qt?de.taskOpen=!0:de.taskClosed=!0,ve.highlightFormatting&&(de.formatting="task"),de.taskList=!1,st(de)}if(de.taskOpen=!1,de.taskClosed=!1,de.header&&we.match(/^#+$/,!0))return ve.highlightFormatting&&(de.formatting="header"),st(de);var Mt=we.next();if(de.linkTitle){de.linkTitle=!1;var me=Mt;Mt==="("&&(me=")"),me=(me+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var He="^\\s*(?:[^"+me+"\\\\]+|\\\\\\\\|\\\\.)"+me;if(we.match(new RegExp(He),!0))return Ie.linkHref}if(Mt==="`"){var Qe=de.formatting;ve.highlightFormatting&&(de.formatting="code"),we.eatWhile("`");var jt=we.current().length;if(de.code==0&&(!de.quote||jt==1))return de.code=jt,st(de);if(jt==de.code){var Lt=st(de);return de.code=0,Lt}else return de.formatting=Qe,st(de)}else if(de.code)return st(de);if(Mt==="\\"&&(we.next(),ve.highlightFormatting)){var Kt=st(de),je=Ie.formatting+"-escape";return Kt?Kt+" "+je:je}if(Mt==="!"&&we.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return de.imageMarker=!0,de.image=!0,ve.highlightFormatting&&(de.formatting="image"),st(de);if(Mt==="["&&de.imageMarker&&we.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return de.imageMarker=!1,de.imageAltText=!0,ve.highlightFormatting&&(de.formatting="image"),st(de);if(Mt==="]"&&de.imageAltText){ve.highlightFormatting&&(de.formatting="image");var Kt=st(de);return de.imageAltText=!1,de.image=!1,de.inline=de.f=it,Kt}if(Mt==="["&&!de.image)return de.linkText&&we.match(/^.*?\]/)||(de.linkText=!0,ve.highlightFormatting&&(de.formatting="link")),st(de);if(Mt==="]"&&de.linkText){ve.highlightFormatting&&(de.formatting="link");var Kt=st(de);return de.linkText=!1,de.inline=de.f=we.match(/\(.*?\)| ?\[.*?\]/,!1)?it:bt,Kt}if(Mt==="<"&&we.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){de.f=de.inline=Be,ve.highlightFormatting&&(de.formatting="link");var Kt=st(de);return Kt?Kt+=" ":Kt="",Kt+Ie.linkInline}if(Mt==="<"&&we.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){de.f=de.inline=Be,ve.highlightFormatting&&(de.formatting="link");var Kt=st(de);return Kt?Kt+=" ":Kt="",Kt+Ie.linkEmail}if(ve.xml&&Mt==="<"&&we.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Yt=we.string.indexOf(">",we.pos);if(Yt!=-1){var vt=we.string.substring(we.start,Yt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(vt)&&(de.md_inside=!0)}return we.backUp(1),de.htmlState=E.startState(Ye),Ft(we,de,et)}if(ve.xml&&Mt==="<"&&we.match(/^\/\w*?>/))return de.md_inside=!1,"tag";if(Mt==="*"||Mt==="_"){for(var ae=1,te=we.pos==1?" ":we.string.charAt(we.pos-2);ae<3&&we.eat(Mt);)ae++;var ee=we.peek()||" ",oe=!/\s/.test(ee)&&(!We.test(ee)||/\s/.test(te)||We.test(te)),se=!/\s/.test(te)&&(!We.test(te)||/\s/.test(ee)||We.test(ee)),ne=null,pe=null;if(ae%2&&(!de.em&&oe&&(Mt==="*"||!se||We.test(te))?ne=!0:de.em==Mt&&se&&(Mt==="*"||!oe||We.test(ee))&&(ne=!1)),ae>1&&(!de.strong&&oe&&(Mt==="*"||!se||We.test(te))?pe=!0:de.strong==Mt&&se&&(Mt==="*"||!oe||We.test(ee))&&(pe=!1)),pe!=null||ne!=null){ve.highlightFormatting&&(de.formatting=ne==null?"strong":pe==null?"em":"strong em"),ne===!0&&(de.em=Mt),pe===!0&&(de.strong=Mt);var Lt=st(de);return ne===!1&&(de.em=!1),pe===!1&&(de.strong=!1),Lt}}else if(Mt===" "&&(we.eat("*")||we.eat("_"))){if(we.peek()===" ")return st(de);we.backUp(1)}if(ve.strikethrough){if(Mt==="~"&&we.eatWhile(Mt)){if(de.strikethrough){ve.highlightFormatting&&(de.formatting="strikethrough");var Lt=st(de);return de.strikethrough=!1,Lt}else if(we.match(/^[^\s]/,!1))return de.strikethrough=!0,ve.highlightFormatting&&(de.formatting="strikethrough"),st(de)}else if(Mt===" "&&we.match(/^~~/,!0)){if(we.peek()===" ")return st(de);we.backUp(2)}}if(ve.emoji&&Mt===":"&&we.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){de.emoji=!0,ve.highlightFormatting&&(de.formatting="emoji");var ye=st(de);return de.emoji=!1,ye}return Mt===" "&&(we.match(/^ +$/,!1)?de.trailingSpace++:de.trailingSpace&&(de.trailingSpaceNewLine=!0)),st(de)}function Be(we,de){var xt=we.next();if(xt===">"){de.f=de.inline=bt,ve.highlightFormatting&&(de.formatting="link");var Qt=st(de);return Qt?Qt+=" ":Qt="",Qt+Ie.linkInline}return we.match(/^[^>]+/,!0),Ie.linkInline}function it(we,de){if(we.eatSpace())return null;var xt=we.next();return xt==="("||xt==="["?(de.f=de.inline=ue(xt==="("?")":"]"),ve.highlightFormatting&&(de.formatting="link-string"),de.linkHref=!0,st(de)):"error"}var Je={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ue(we){return function(de,xt){var Qt=de.next();if(Qt===we){xt.f=xt.inline=bt,ve.highlightFormatting&&(xt.formatting="link-string");var Mt=st(xt);return xt.linkHref=!1,Mt}return de.match(Je[we]),xt.linkHref=!0,st(xt)}}function mt(we,de){return we.match(/^([^\]\\]|\\.)*\]:/,!1)?(de.f=Le,we.next(),ve.highlightFormatting&&(de.formatting="link"),de.linkText=!0,st(de)):Nt(we,de,bt)}function Le(we,de){if(we.match(/^\]:/,!0)){de.f=de.inline=qe,ve.highlightFormatting&&(de.formatting="link");var xt=st(de);return de.linkText=!1,xt}return we.match(/^([^\]\\]|\\.)+/,!0),Ie.linkText}function qe(we,de){return we.eatSpace()?null:(we.match(/^[^\s]+/,!0),we.peek()===void 0?de.linkTitle=!0:we.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),de.f=de.inline=bt,Ie.linkHref+" url")}var Ht={startState:function(){return{f:ct,prevLine:{stream:null},thisLine:{stream:null},block:ct,htmlState:null,indentation:0,inline:bt,text:at,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&&E.copyState(Ye,we.htmlState),indentation:we.indentation,localMode:we.localMode,localState:we.localMode?E.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,de){if(de.formatting=!1,we!=de.thisLine.stream){if(de.header=0,de.hr=!1,we.match(/^\s*$/,!0))return pt(de),null;if(de.prevLine=de.thisLine,de.thisLine={stream:we},de.taskList=!1,de.trailingSpace=0,de.trailingSpaceNewLine=!1,!de.localState&&(de.f=de.block,de.f!=et)){var xt=we.match(/^\s*/,!0)[0].replace(/\t/g,Ct).length;if(de.indentation=xt,de.indentationDiff=null,xt>0)return null}}return de.f(we,de)},innerMode:function(we){return we.block==et?{state:we.htmlState,mode:Ye}:we.localState?{state:we.localState,mode:we.localMode}:{state:we,mode:Ht}},indent:function(we,de,xt){return we.block==et&&Ye.indent?Ye.indent(we.htmlState,de,xt):we.localState&&we.localMode.indent?we.localMode.indent(we.localState,de,xt):E.Pass},blankLine:pt,getType:st,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ht},"xml"),E.defineMIME("text/markdown","markdown"),E.defineMIME("text/x-markdown","markdown")})},98101:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){"use strict";E.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 $e=0;$e<E.modeInfo.length;$e++){var ve=E.modeInfo[$e];ve.mimes&&(ve.mime=ve.mimes[0])}E.findModeByMIME=function(Ye){Ye=Ye.toLowerCase();for(var Se=0;Se<E.modeInfo.length;Se++){var Ee=E.modeInfo[Se];if(Ee.mime==Ye)return Ee;if(Ee.mimes){for(var Ie=0;Ie<Ee.mimes.length;Ie++)if(Ee.mimes[Ie]==Ye)return Ee}}if(/\+xml$/.test(Ye))return E.findModeByMIME("application/xml");if(/\+json$/.test(Ye))return E.findModeByMIME("application/json")},E.findModeByExtension=function(Ye){Ye=Ye.toLowerCase();for(var Se=0;Se<E.modeInfo.length;Se++){var Ee=E.modeInfo[Se];if(Ee.ext){for(var Ie=0;Ie<Ee.ext.length;Ie++)if(Ee.ext[Ie]==Ye)return Ee}}},E.findModeByFileName=function(Ye){for(var Se=0;Se<E.modeInfo.length;Se++){var Ee=E.modeInfo[Se];if(Ee.file&&Ee.file.test(Ye))return Ee}var Ie=Ye.lastIndexOf("."),Te=Ie>-1&&Ye.substring(Ie+1,Ye.length);if(Te)return E.findModeByExtension(Te)},E.findModeByName=function(Ye){Ye=Ye.toLowerCase();for(var Se=0;Se<E.modeInfo.length;Se++){var Ee=E.modeInfo[Se];if(Ee.name.toLowerCase()==Ye)return Ee;if(Ee.alias){for(var Ie=0;Ie<Ee.alias.length;Ie++)if(Ee.alias[Ie].toLowerCase()==Ye)return Ee}}}})},67549:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){"use strict";E.defineMode("stex",function($e,ve){"use strict";function Ye(rt,ze){rt.cmdState.push(ze)}function Se(rt){return rt.cmdState.length>0?rt.cmdState[rt.cmdState.length-1]:null}function Ee(rt){var ze=rt.cmdState.pop();ze&&ze.closeBracket()}function Ie(rt){for(var ze=rt.cmdState,Ue=ze.length-1;Ue>=0;Ue--){var We=ze[Ue];if(We.name!="DEFAULT")return We}return{styleIdentifier:function(){return null}}}function Te(rt,ze,Ue){return function(){this.name=rt,this.bracketNo=0,this.style=ze,this.styles=Ue,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=Te("importmodule","tag",["string","builtin"]),Pe.documentclass=Te("documentclass","tag",["","atom"]),Pe.usepackage=Te("usepackage","tag",["atom"]),Pe.begin=Te("begin","tag",["atom"]),Pe.end=Te("end","tag",["atom"]),Pe.label=Te("label","tag",["atom"]),Pe.ref=Te("ref","tag",["atom"]),Pe.eqref=Te("eqref","tag",["atom"]),Pe.cite=Te("cite","tag",["atom"]),Pe.bibitem=Te("bibitem","tag",["atom"]),Pe.Bibitem=Te("Bibitem","tag",["atom"]),Pe.RBibitem=Te("RBibitem","tag",["atom"]),Pe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function he(rt,ze){rt.f=ze}function Ze(rt,ze){var Ue;if(rt.match(/^\\[a-zA-Z@]+/)){var We=rt.current().slice(1);return Ue=Pe.hasOwnProperty(We)?Pe[We]:Pe.DEFAULT,Ue=new Ue,Ye(ze,Ue),he(ze,At),Ue.style}if(rt.match(/^\\[$&%#{}_]/)||rt.match(/^\\[,;!\/\\]/))return"tag";if(rt.match("\\["))return he(ze,function(Nt,Ft){return xe(Nt,Ft,"\\]")}),"keyword";if(rt.match("\\("))return he(ze,function(Nt,Ft){return xe(Nt,Ft,"\\)")}),"keyword";if(rt.match("$$"))return he(ze,function(Nt,Ft){return xe(Nt,Ft,"$$")}),"keyword";if(rt.match("$"))return he(ze,function(Nt,Ft){return xe(Nt,Ft,"$")}),"keyword";var Ct=rt.next();if(Ct=="%")return rt.skipToEnd(),"comment";if(Ct=="}"||Ct=="]"){if(Ue=Se(ze),Ue)Ue.closeBracket(Ct),he(ze,At);else return"error";return"bracket"}else return Ct=="{"||Ct=="["?(Ue=Pe.DEFAULT,Ue=new Ue,Ye(ze,Ue),"bracket"):/\d/.test(Ct)?(rt.eatWhile(/[\w.%]/),"atom"):(rt.eatWhile(/[\w\-_]/),Ue=Ie(ze),Ue.name=="begin"&&(Ue.argument=rt.current()),Ue.styleIdentifier())}function xe(rt,ze,Ue){if(rt.eatSpace())return null;if(Ue&&rt.match(Ue))return he(ze,Ze),"keyword";if(rt.match(/^\\[a-zA-Z@]+/))return"tag";if(rt.match(/^[a-zA-Z]+/))return"variable-2";if(rt.match(/^\\[$&%#{}_]/)||rt.match(/^\\[,;!\/]/)||rt.match(/^[\^_&]/))return"tag";if(rt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(rt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var We=rt.next();return We=="{"||We=="}"||We=="["||We=="]"||We=="("||We==")"?"bracket":We=="%"?(rt.skipToEnd(),"comment"):"error"}function At(rt,ze){var Ue=rt.peek(),We;return Ue=="{"||Ue=="["?(We=Se(ze),We.openBracket(Ue),rt.eat(Ue),he(ze,Ze),"bracket"):/[ \t\r]/.test(Ue)?(rt.eat(Ue),null):(he(ze,Ze),Ee(ze),Ze(rt,ze))}return{startState:function(){var rt=ve.inMathMode?function(ze,Ue){return xe(ze,Ue)}:Ze;return{cmdState:[],f:rt}},copyState:function(rt){return{cmdState:rt.cmdState.slice(),f:rt.f}},token:function(rt,ze){return ze.f(rt,ze)},blankLine:function(rt){rt.f=Ze,rt.cmdState.length=0},lineComment:"%"}}),E.defineMIME("text/x-stex","stex"),E.defineMIME("text/x-latex","stex")})},15525:function(dn,Jt,re){(function(E){E(re(89780))})(function(E){"use strict";var $e={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},ve={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};E.defineMode("xml",function(Ye,Se){var Ee=Ye.indentUnit,Ie={},Te=Se.htmlMode?$e:ve;for(var Pe in Te)Ie[Pe]=Te[Pe];for(var Pe in Se)Ie[Pe]=Se[Pe];var he,Ze;function xe(Be,it){function Je(Le){return it.tokenize=Le,Le(Be,it)}var ue=Be.next();if(ue=="<")return Be.eat("!")?Be.eat("[")?Be.match("CDATA[")?Je(ze("atom","]]>")):null:Be.match("--")?Je(ze("comment","-->")):Be.match("DOCTYPE",!0,!0)?(Be.eatWhile(/[\w\._\-]/),Je(Ue(1))):null:Be.eat("?")?(Be.eatWhile(/[\w\._\-]/),it.tokenize=ze("meta","?>"),"meta"):(he=Be.eat("/")?"closeTag":"openTag",it.tokenize=At,"tag bracket");if(ue=="&"){var mt;return Be.eat("#")?Be.eat("x")?mt=Be.eatWhile(/[a-fA-F\d]/)&&Be.eat(";"):mt=Be.eatWhile(/[\d]/)&&Be.eat(";"):mt=Be.eatWhile(/[\w\.\-:]/)&&Be.eat(";"),mt?"atom":"error"}else return Be.eatWhile(/[^&<]/),null}xe.isInText=!0;function At(Be,it){var Je=Be.next();if(Je==">"||Je=="/"&&Be.eat(">"))return it.tokenize=xe,he=Je==">"?"endTag":"selfcloseTag","tag bracket";if(Je=="=")return he="equals",null;if(Je=="<"){it.tokenize=xe,it.state=Ft,it.tagName=it.tagStart=null;var ue=it.tokenize(Be,it);return ue?ue+" tag error":"tag error"}else return/[\'\"]/.test(Je)?(it.tokenize=rt(Je),it.stringStartCol=Be.column(),it.tokenize(Be,it)):(Be.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function rt(Be){var it=function(Je,ue){for(;!Je.eol();)if(Je.next()==Be){ue.tokenize=At;break}return"string"};return it.isInAttribute=!0,it}function ze(Be,it){return function(Je,ue){for(;!Je.eol();){if(Je.match(it)){ue.tokenize=xe;break}Je.next()}return Be}}function Ue(Be){return function(it,Je){for(var ue;(ue=it.next())!=null;){if(ue=="<")return Je.tokenize=Ue(Be+1),Je.tokenize(it,Je);if(ue==">")if(Be==1){Je.tokenize=xe;break}else return Je.tokenize=Ue(Be-1),Je.tokenize(it,Je)}return"meta"}}function We(Be,it,Je){this.prev=Be.context,this.tagName=it,this.indent=Be.indented,this.startOfLine=Je,(Ie.doNotIndent.hasOwnProperty(it)||Be.context&&Be.context.noIndent)&&(this.noIndent=!0)}function Ct(Be){Be.context&&(Be.context=Be.context.prev)}function Nt(Be,it){for(var Je;;){if(!Be.context||(Je=Be.context.tagName,!Ie.contextGrabbers.hasOwnProperty(Je)||!Ie.contextGrabbers[Je].hasOwnProperty(it)))return;Ct(Be)}}function Ft(Be,it,Je){return Be=="openTag"?(Je.tagStart=it.column(),St):Be=="closeTag"?pt:Ft}function St(Be,it,Je){return Be=="word"?(Je.tagName=it.current(),Ze="tag",Tt):Ie.allowMissingTagName&&Be=="endTag"?(Ze="tag bracket",Tt(Be,it,Je)):(Ze="error",St)}function pt(Be,it,Je){if(Be=="word"){var ue=it.current();return Je.context&&Je.context.tagName!=ue&&Ie.implicitlyClosed.hasOwnProperty(Je.context.tagName)&&Ct(Je),Je.context&&Je.context.tagName==ue||Ie.matchClosing===!1?(Ze="tag",ct):(Ze="tag error",et)}else return Ie.allowMissingTagName&&Be=="endTag"?(Ze="tag bracket",ct(Be,it,Je)):(Ze="error",et)}function ct(Be,it,Je){return Be!="endTag"?(Ze="error",ct):(Ct(Je),Ft)}function et(Be,it,Je){return Ze="error",ct(Be,it,Je)}function Tt(Be,it,Je){if(Be=="word")return Ze="attribute",st;if(Be=="endTag"||Be=="selfcloseTag"){var ue=Je.tagName,mt=Je.tagStart;return Je.tagName=Je.tagStart=null,Be=="selfcloseTag"||Ie.autoSelfClosers.hasOwnProperty(ue)?Nt(Je,ue):(Nt(Je,ue),Je.context=new We(Je,ue,mt==Je.indented)),Ft}return Ze="error",Tt}function st(Be,it,Je){return Be=="equals"?at:(Ie.allowMissing||(Ze="error"),Tt(Be,it,Je))}function at(Be,it,Je){return Be=="string"?bt:Be=="word"&&Ie.allowUnquoted?(Ze="string",Tt):(Ze="error",Tt(Be,it,Je))}function bt(Be,it,Je){return Be=="string"?bt:Tt(Be,it,Je)}return{startState:function(Be){var it={tokenize:xe,state:Ft,indented:Be||0,tagName:null,tagStart:null,context:null};return Be!=null&&(it.baseIndent=Be),it},token:function(Be,it){if(!it.tagName&&Be.sol()&&(it.indented=Be.indentation()),Be.eatSpace())return null;he=null;var Je=it.tokenize(Be,it);return(Je||he)&&Je!="comment"&&(Ze=null,it.state=it.state(he||Je,Be,it),Ze&&(Je=Ze=="error"?Je+" error":Ze)),Je},indent:function(Be,it,Je){var ue=Be.context;if(Be.tokenize.isInAttribute)return Be.tagStart==Be.indented?Be.stringStartCol+1:Be.indented+Ee;if(ue&&ue.noIndent)return E.Pass;if(Be.tokenize!=At&&Be.tokenize!=xe)return Je?Je.match(/^(\s*)/)[0].length:0;if(Be.tagName)return Ie.multilineTagIndentPastTag!==!1?Be.tagStart+Be.tagName.length+2:Be.tagStart+Ee*(Ie.multilineTagIndentFactor||1);if(Ie.alignCDATA&&/<!\[CDATA\[/.test(it))return 0;var mt=it&&/^<(\/)?([\w_:\.-]*)/.exec(it);if(mt&&mt[1])for(;ue;)if(ue.tagName==mt[2]){ue=ue.prev;break}else if(Ie.implicitlyClosed.hasOwnProperty(ue.tagName))ue=ue.prev;else break;else if(mt)for(;ue;){var Le=Ie.contextGrabbers[ue.tagName];if(Le&&Le.hasOwnProperty(mt[2]))ue=ue.prev;else break}for(;ue&&ue.prev&&!ue.startOfLine;)ue=ue.prev;return ue?ue.indent+Ee:Be.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ie.htmlMode?"html":"xml",helperType:Ie.htmlMode?"html":"xml",skipAttribute:function(Be){Be.state==at&&(Be.state=Tt)},xmlCurrentTag:function(Be){return Be.tagName?{name:Be.tagName,close:Be.type=="closeTag"}:null},xmlCurrentContext:function(Be){for(var it=[],Je=Be.context;Je;Je=Je.prev)Je.tagName&&it.push(Je.tagName);return it.reverse()}}}),E.defineMIME("text/xml","xml"),E.defineMIME("application/xml","xml"),E.mimeModes.hasOwnProperty("text/html")||E.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(dn,Jt,re){"use strict";re.d(Jt,{hP:function(){return vt}});var E=function(ae,te){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,oe){ee.__proto__=oe}||function(ee,oe){for(var se in oe)Object.prototype.hasOwnProperty.call(oe,se)&&(ee[se]=oe[se])})(ae,te)};function $e(ae,te){function ee(){this.constructor=ae}E(ae,te),ae.prototype=te===null?Object.create(te):(ee.prototype=te.prototype,new ee)}function ve(ae,te,ee,oe){return new(ee||(ee=Promise))(function(se,ne){function pe(Ae){try{lt(oe.next(Ae))}catch(Ne){ne(Ne)}}function ye(Ae){try{lt(oe.throw(Ae))}catch(Ne){ne(Ne)}}function lt(Ae){var Ne;Ae.done?se(Ae.value):(Ne=Ae.value,Ne instanceof ee?Ne:new ee(function(tt){tt(Ne)})).then(pe,ye)}lt((oe=oe.apply(ae,te||[])).next())})}function Ye(ae,te){var ee,oe,se,ne,pe={label:0,sent:function(){if(1&se[0])throw se[1];return se[1]},trys:[],ops:[]};return ne={next:ye(0),throw:ye(1),return:ye(2)},typeof Symbol=="function"&&(ne[Symbol.iterator]=function(){return this}),ne;function ye(lt){return function(Ae){return function(Ne){if(ee)throw new TypeError("Generator is already executing.");for(;pe;)try{if(ee=1,oe&&(se=2&Ne[0]?oe.return:Ne[0]?oe.throw||((se=oe.return)&&se.call(oe),0):oe.next)&&!(se=se.call(oe,Ne[1])).done)return se;switch(oe=0,se&&(Ne=[2&Ne[0],se.value]),Ne[0]){case 0:case 1:se=Ne;break;case 4:return pe.label++,{value:Ne[1],done:!1};case 5:pe.label++,oe=Ne[1],Ne=[0];continue;case 7:Ne=pe.ops.pop(),pe.trys.pop();continue;default:if(se=pe.trys,!((se=se.length>0&&se[se.length-1])||Ne[0]!==6&&Ne[0]!==2)){pe=0;continue}if(Ne[0]===3&&(!se||Ne[1]>se[0]&&Ne[1]<se[3])){pe.label=Ne[1];break}if(Ne[0]===6&&pe.label<se[1]){pe.label=se[1],se=Ne;break}if(se&&pe.label<se[2]){pe.label=se[2],pe.ops.push(Ne);break}se[2]&&pe.ops.pop(),pe.trys.pop();continue}Ne=te.call(ae,pe)}catch(tt){Ne=[6,tt],oe=0}finally{ee=se=0}if(5&Ne[0])throw Ne[1];return{value:Ne[0]?Ne[1]:void 0,done:!0}}([lt,Ae])}}}function Se(){for(var ae=0,te=0,ee=arguments.length;te<ee;te++)ae+=arguments[te].length;var oe=Array(ae),se=0;for(te=0;te<ee;te++)for(var ne=arguments[te],pe=0,ye=ne.length;pe<ye;pe++,se++)oe[se]=ne[pe];return oe}var Ee=function(){function ae(){}return ae.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ae.setAttributes=function(te,ee){for(var oe=0,se=ee;oe<se.length;oe++){var ne=se[oe],pe=ne[0],ye=ne[1];te.setAttribute(pe,ye)}},ae.createRect=function(te,ee,oe){var se=document.createElementNS("http://www.w3.org/2000/svg","rect");return se.setAttribute("width",te.toString()),se.setAttribute("height",ee.toString()),oe&&ae.setAttributes(se,oe),se},ae.createLine=function(te,ee,oe,se,ne){var pe=document.createElementNS("http://www.w3.org/2000/svg","line");return pe.setAttribute("x1",te.toString()),pe.setAttribute("y1",ee.toString()),pe.setAttribute("x2",oe.toString()),pe.setAttribute("y2",se.toString()),ne&&ae.setAttributes(pe,ne),pe},ae.createPolygon=function(te,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","polygon");return oe.setAttribute("points",te),ee&&ae.setAttributes(oe,ee),oe},ae.createCircle=function(te,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","circle");return oe.setAttribute("cx",(te/2).toString()),oe.setAttribute("cy",(te/2).toString()),oe.setAttribute("r",te.toString()),ee&&ae.setAttributes(oe,ee),oe},ae.createEllipse=function(te,ee,oe){var se=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return se.setAttribute("cx",(te/2).toString()),se.setAttribute("cy",(ee/2).toString()),se.setAttribute("rx",(te/2).toString()),se.setAttribute("ry",(ee/2).toString()),oe&&ae.setAttributes(se,oe),se},ae.createGroup=function(te){var ee=document.createElementNS("http://www.w3.org/2000/svg","g");return te&&ae.setAttributes(ee,te),ee},ae.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ae.createMarker=function(te,ee,oe,se,ne,pe,ye){var lt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ae.setAttributes(lt,[["id",te],["orient",ee],["markerWidth",oe.toString()],["markerHeight",se.toString()],["refX",ne.toString()],["refY",pe.toString()]]),lt.appendChild(ye),lt},ae.createText=function(te){var ee=document.createElementNS("http://www.w3.org/2000/svg","text");return ee.setAttribute("x","0"),ee.setAttribute("y","0"),te&&ae.setAttributes(ee,te),ee},ae.createTSpan=function(te,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","tspan");return oe.textContent=te,ee&&ae.setAttributes(oe,ee),oe},ae.createImage=function(te){var ee=document.createElementNS("http://www.w3.org/2000/svg","image");return te&&ae.setAttributes(ee,te),ee},ae.createPoint=function(te,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return oe.x=te,oe.y=ee,oe},ae.createPath=function(te,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","path");return oe.setAttribute("d",te),ee&&ae.setAttributes(oe,ee),oe},ae}(),Ie=function(){function ae(){}return ae.addKey=function(te){ae.key=te},Object.defineProperty(ae,"isLicensed",{get:function(){return!!ae.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ae.key)},enumerable:!1,configurable:!0}),ae}(),Te=function(){function ae(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ae.prototype.rasterize=function(te,ee,oe){var se=this;return new Promise(function(ne){var pe=oe!==void 0?oe:document.createElement("canvas");te===null&&(se.markersOnly=!0,se.naturalSize=!1);var ye=document.createElementNS("http://www.w3.org/2000/svg","svg");ye.setAttribute("xmlns","http://www.w3.org/2000/svg"),ye.setAttribute("width",ee.width.baseVal.valueAsString),ye.setAttribute("height",ee.height.baseVal.valueAsString),ye.setAttribute("viewBox","0 0 "+ee.viewBox.baseVal.width.toString()+" "+ee.viewBox.baseVal.height.toString()),ye.innerHTML=ee.innerHTML,se.naturalSize===!0?(ye.width.baseVal.value=te.naturalWidth,ye.height.baseVal.value=te.naturalHeight):se.width!==void 0&&se.height!==void 0&&(ye.width.baseVal.value=se.width,ye.height.baseVal.value=se.height),pe.width=ye.width.baseVal.value,pe.height=ye.height.baseVal.value;var lt=ye.outerHTML,Ae=pe.getContext("2d");se.markersOnly!==!0&&Ae.drawImage(te,0,0,pe.width,pe.height);var Ne=window.URL,tt=new Image(pe.width,pe.height);tt.setAttribute("crossOrigin","anonymous");var Pt=new Blob([lt],{type:"image/svg+xml"}),Ot=Ne.createObjectURL(Pt);tt.onload=function(){Ae.drawImage(tt,0,0),Ne.revokeObjectURL(Ot);var tn=pe.toDataURL(se.imageType,se.imageQuality);ne(tn)},tt.src=Ot})},ae}(),Pe=function(){},he=function(){function ae(te){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+te+"_"}return Object.defineProperty(ae.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ae.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(ae.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ae.prototype.addClass=function(te){return this.styleSheet===void 0&&this.addStyleSheet(),te.name=""+this.classNamePrefix+te.localName,this.classes.push(te),this.styleSheet.sheet.insertRule("."+te.name+" {"+te.style+"}",this.styleSheet.sheet.cssRules.length),te},ae.prototype.addRule=function(te){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(te),this.styleSheet.sheet.insertRule(te.selector+" {"+te.style+"}",this.styleSheet.sheet.cssRules.length)},ae.prototype.addStyleSheet=function(){var te;this.styleSheet=document.createElement("style"),((te=this.styleSheetRoot)!==null&&te!==void 0?te:document.head).appendChild(this.styleSheet),this.addRule(new Ze("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ze("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ze("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new xe("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new xe("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},ae.prototype.removeStyleSheet=function(){var te;this.styleSheet&&(((te=this.styleSheetRoot)!==null&&te!==void 0?te:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ae}(),Ze=function(ae,te){this.selector=ae,this.style=te},xe=function(ae,te){this.localName=ae,this.style=te},At=function(){function ae(te,ee,oe,se,ne){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=te,this.displayMode=ee,this.markerItems=oe,this.uiStyleSettings=se,this.styles=ne,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ae.prototype.show=function(te){var ee=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=te,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var oe=document.createElement("div");oe.className=this.toolbarBlockStyleClass.name,oe.style.whiteSpace="nowrap",this.uiContainer.appendChild(oe),this.addActionButton(oe,'<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(oe,'<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(oe,'<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(oe,'<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(oe,'<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(oe,'<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(oe,'<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(oe,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ne){var pe=document.createElement("div");pe.className=""+ee.toolbarButtonStyleClass.name,pe.setAttribute("data-type-name",ne.typeName),pe.innerHTML=ne.icon,pe.addEventListener("click",function(){ee.markerToolbarButtonClicked(pe,ne)}),ee.buttons.push(pe),ee.markerButtons.push(pe)}),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 se=document.createElement("div");se.className=this.toolbarBlockStyleClass.name,se.style.whiteSpace="nowrap",se.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(se),this.addActionButton(se,'<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(se,'<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()},ae.prototype.addButtonClickListener=function(te){this.buttonClickListeners.push(te)},ae.prototype.removeButtonClickListener=function(te){this.buttonClickListeners.indexOf(te)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(te),1)},ae.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ae.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var te=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ee=0;ee<this.markerButtons.length;ee++)ee<te||ee===te&&this.markerButtons.length-1===te?this.markerButtonBlock.appendChild(this.markerButtons[ee]):(ee===te&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ee]))}},ae.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")},ae.prototype.resetButtonStyles=function(){var te=this;this.buttons.forEach(function(ee){ee.className=ee.className.replace(te.uiStyleSettings.toolbarButtonStyleColorsClassName?te.uiStyleSettings.toolbarButtonStyleColorsClassName:te.toolbarButtonStyleColorsClass.name,"").trim(),ee.className=ee.className.replace(te.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?te.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:te.toolbarActiveButtonStyleColorsClass.name,"").trim(),ee.className+=" "+(te.uiStyleSettings.toolbarButtonStyleColorsClassName?te.uiStyleSettings.toolbarButtonStyleColorsClassName:te.toolbarButtonStyleColorsClass.name)})},ae.prototype.addActionButton=function(te,ee,oe){var se=this,ne=document.createElement("div");switch(ne.className=""+this.toolbarButtonStyleClass.name,ne.innerHTML=ee,ne.setAttribute("data-action",oe),ne.addEventListener("click",function(){se.actionToolbarButtonClicked(ne,oe)}),oe){case"select":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ne.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ne.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ne.style.fill=this.uiStyleSettings.closeButtonColor}te.appendChild(ne),this.buttons.push(ne)},ae.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new xe("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 xe("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new xe("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new xe("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 xe("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new xe("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
padding: `+te+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new xe("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new xe("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ze("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ze("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},ae.prototype.markerToolbarButtonClicked=function(te,ee){this.setActiveButton(te),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(oe){return oe("marker",ee)}),this.markerButtonOverflowBlock.style.display="none"},ae.prototype.actionToolbarButtonClicked=function(te,ee){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(oe){return oe("action",ee)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ae.prototype.setActiveButton=function(te){this.resetButtonStyles(),te.className=te.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),te.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ae.prototype.setActiveMarkerButton=function(te){var ee=this.markerButtons.find(function(oe){return oe.getAttribute("data-type-name")===te});ee&&this.setActiveButton(ee)},ae.prototype.setCurrentMarker=function(te){var ee=this;this.currentMarker=te,this.buttons.filter(function(oe){return/delete|notes/.test(oe.getAttribute("data-action"))}).forEach(function(oe){ee.currentMarker===void 0?(oe.style.fillOpacity="0.4",oe.style.pointerEvents="none"):(oe.style.fillOpacity="1",oe.style.pointerEvents="all")})},ae}(),rt=function(){function ae(te,ee,oe,se){this.panels=[],this.panelButtons=[],this.markerjsContainer=te,this.displayMode=ee,this.uiStyleSettings=oe,this.styles=se,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ae.prototype.addStyles=function(){var te;this.toolboxStyleClass=this.styles.addClass(new xe("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 xe("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var ee=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new xe("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new xe("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new xe("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 xe("toolbox-panel-row_colors",`
background-color: `+((te=this.uiStyleSettings.toolboxBackgroundColor)!==null&&te!==void 0?te:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new xe("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
padding: `+ee+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new xe("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new xe("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Ze("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ze("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},ae.prototype.show=function(te){var ee;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=te,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ee=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ae.prototype.setPanelButtons=function(te){var ee,oe,se=this;this.panels=te,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ee=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((oe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&oe!==void 0?oe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ne){var pe;ne.uiStyleSettings=se.uiStyleSettings;var ye=document.createElement("div");ye.className=se.toolboxButtonStyleClass.name+" "+((pe=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&pe!==void 0?pe:se.toolboxButtonStyleColorsClass.name),ye.innerHTML=ne.icon,ye.title=ne.title,ye.addEventListener("click",function(){se.panelButtonClick(ne)}),se.panelButtons.push(ye),se.buttonRow.appendChild(ye)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ae.prototype.panelButtonClick=function(te){var ee=this,oe=-1;if(te!==this.activePanel){oe=this.panels.indexOf(te),this.panelRow.innerHTML="";var se=te.getUi();se.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(se),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=te}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ee.displayMode==="inline"?ee.panelRow.style.display="none":ee.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ne,pe){var ye,lt;ne.className=ee.toolboxButtonStyleClass.name+" "+(pe===oe?""+((ye=ee.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ye!==void 0?ye:ee.toolboxActiveButtonStyleColorsClass.name):""+((lt=ee.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&lt!==void 0?lt:ee.toolboxButtonStyleColorsClass.name))})},ae}(),ze=function(ae,te){this.title=ae,this.icon=te},Ue=function(ae){function te(ee,oe,se,ne){var pe=ae.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return pe.colors=[],pe.addTransparent=!1,pe.colorBoxes=[],pe.colors=oe,pe.currentColor=se,pe.setCurrentColor=pe.setCurrentColor.bind(pe),pe.getColorBox=pe.getColorBox.bind(pe),pe}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");return oe.style.overflow="hidden",oe.style.whiteSpace="nowrap",this.colors.forEach(function(se){var ne=ee.getColorBox(se);oe.appendChild(ne),ee.colorBoxes.push(ne)}),oe},te.prototype.getColorBox=function(ee){var oe=this,se=this.uiStyleSettings.toolbarHeight/4,ne=this.uiStyleSettings.toolbarHeight-se,pe=document.createElement("div");pe.style.display="inline-block",pe.style.boxSizing="content-box",pe.style.width=ne-2+"px",pe.style.height=ne-2+"px",pe.style.padding="1px",pe.style.marginRight="2px",pe.style.marginBottom="2px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.borderRadius=(ne+2)/2+"px",pe.style.borderColor=ee===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){oe.setCurrentColor(ee,pe)});var ye=document.createElement("div");return ye.style.display="inline-block",ye.style.width=ne-2+"px",ye.style.height=ne-2+"px",ye.style.backgroundColor=ee,ye.style.borderRadius=ne/2+"px",ee==="transparent"&&(ye.style.fill=this.uiStyleSettings.toolboxAccentColor,ye.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>`),pe.appendChild(ye),pe},te.prototype.setCurrentColor=function(ee,oe){var se=this;this.currentColor=ee,this.colorBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ee)},te}(ze),We=function(){function ae(te,ee,oe){this._state="new",this._isSelected=!1,this._container=te,this._overlayContainer=ee,this.globalSettings=oe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ae.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(te){return!1},Object.defineProperty(ae.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ae.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ae.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ae.prototype.pointerDown=function(te,ee){},ae.prototype.dblClick=function(te,ee){},ae.prototype.manipulate=function(te){},ae.prototype.pointerUp=function(te){this.stateChanged()},ae.prototype.dispose=function(){},ae.prototype.addMarkerVisualToContainer=function(te){this.container.childNodes.length>0?this.container.insertBefore(te,this.container.childNodes[0]):this.container.appendChild(te)},ae.prototype.getState=function(){return{typeName:ae.typeName,state:this.state,notes:this.notes}},ae.prototype.restoreState=function(te){this._state=te.state,this.notes=te.notes},ae.prototype.scale=function(te,ee){},ae.prototype.colorChanged=function(te){this.onColorChanged&&this.onColorChanged(te),this.stateChanged()},ae.prototype.fillColorChanged=function(te){this.onFillColorChanged&&this.onFillColorChanged(te),this.stateChanged()},ae.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var te=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),te.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(te)&&this.onStateChanged(this)}},ae.typeName="MarkerBase",ae}(),Ct=function(){function ae(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ae.prototype.findGripByVisual=function(te){return this.topLeft.ownsTarget(te)?this.topLeft:this.topCenter.ownsTarget(te)?this.topCenter:this.topRight.ownsTarget(te)?this.topRight:this.centerLeft.ownsTarget(te)?this.centerLeft:this.centerRight.ownsTarget(te)?this.centerRight:this.bottomLeft.ownsTarget(te)?this.bottomLeft:this.bottomCenter.ownsTarget(te)?this.bottomCenter:this.bottomRight.ownsTarget(te)?this.bottomRight:void 0},ae}(),Nt=function(){function ae(){this.GRIP_SIZE=10,this.visual=Ee.createGroup(),this.visual.appendChild(Ee.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ee.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ae.prototype.ownsTarget=function(te){return te===this.visual||te===this.visual.childNodes[0]||te===this.visual.childNodes[1]},ae}(),Ft=function(){function ae(){}return ae.toITransformMatrix=function(te){return{a:te.a,b:te.b,c:te.c,d:te.d,e:te.e,f:te.f}},ae.toSVGMatrix=function(te,ee){return te.a=ee.a,te.b=ee.b,te.c=ee.c,te.d=ee.d,te.e=ee.e,te.f=ee.f,te},ae}(),St=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.left=0,ne.top=0,ne.width=0,ne.height=0,ne.defaultSize={x:50,y:20},ne.offsetX=0,ne.offsetY=0,ne.rotationAngle=0,ne.CB_DISTANCE=10,ne._suppressMarkerCreateEvent=!1,ne.container.transform.baseVal.appendItem(Ee.createTransform()),ne.setupControlBox(),ne}return $e(te,ae),Object.defineProperty(te.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"visual",{get:function(){return this._visual},set:function(ee){this._visual=ee;var oe=Ee.createTransform();this._visual.transform.baseVal.appendItem(oe)},enumerable:!1,configurable:!0}),te.prototype.ownsTarget=function(ee){return!!ae.prototype.ownsTarget.call(this,ee)||!!(this.controlGrips.findGripByVisual(ee)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ee))},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.left=ee.x,this.top=ee.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var se=this.unrotatePoint(ee);if(this.manipulationStartX=se.x,this.manipulationStartY=se.y,this.offsetX=se.x-this.left,this.offsetY=se.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(oe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(oe)){this.activeGrip=this.rotatorGrip;var ne=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ne.x-this.width/2,this.top=ne.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var pe=this.container.transform.baseVal.getItem(0);pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},te.prototype.pointerUp=function(ee){var oe=this.state;ae.prototype.pointerUp.call(this,ee),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ee),this._state="select",oe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},te.prototype.moveVisual=function(ee){this.visual.style.transform="translate("+ee.x+"px, "+ee.y+"px)"},te.prototype.manipulate=function(ee){var oe=this.unrotatePoint(ee);this.state==="creating"?this.resize(ee):this.state==="move"?(this.left=this.manipulationStartLeft+(oe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(oe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(oe):this.state==="rotate"&&this.rotate(ee)},te.prototype.resize=function(ee){var oe=this.manipulationStartLeft,se=this.manipulationStartWidth,ne=this.manipulationStartTop,pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:oe=this.manipulationStartLeft+ee.x-this.manipulationStartX,se=this.manipulationStartWidth+this.manipulationStartLeft-oe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:se=this.manipulationStartWidth+ee.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ne=this.manipulationStartTop+ee.y-this.manipulationStartY,pe=this.manipulationStartHeight+this.manipulationStartTop-ne;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:pe=this.manipulationStartHeight+ee.y-this.manipulationStartY}se>=0?(this.left=oe,this.width=se):(this.left=oe+se,this.width=-se),pe>=0?(this.top=ne,this.height=pe):(this.top=ne+pe,this.height=-pe),this.setSize()},te.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},te.prototype.rotate=function(ee){if(Math.abs(ee.x-this.centerX)>.1){var oe=Math.sign(ee.x-this.centerX);this.rotationAngle=180*Math.atan((ee.y-this.centerY)/(ee.x-this.centerX))/Math.PI+90*oe,this.applyRotation()}},te.prototype.applyRotation=function(){var ee=this.container.transform.baseVal.getItem(0);ee.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ee,0)},te.prototype.rotatePoint=function(ee){if(this.rotationAngle===0)return ee;var oe=this.container.getCTM(),se=Ee.createPoint(ee.x,ee.y);return{x:(se=se.matrixTransform(oe)).x,y:se.y}},te.prototype.unrotatePoint=function(ee){if(this.rotationAngle===0)return ee;var oe=this.container.getCTM();oe=oe.inverse();var se=Ee.createPoint(ee.x,ee.y);return{x:(se=se.matrixTransform(oe)).x,y:se.y}},te.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},te.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},te.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup();var ee=Ee.createTransform();ee.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ee),this.container.appendChild(this.controlBox),this.controlRect=Ee.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=Ee.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 Ct,this.addControlGrips(),this.controlBox.style.display="none"},te.prototype.adjustControlBox=function(){var ee=this.controlBox.transform.baseVal.getItem(0);ee.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ee,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},te.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},te.prototype.createGrip=function(){var ee=new Nt;return ee.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ee.visual),ee},te.prototype.positionGrips=function(){var ee=this.controlGrips.topLeft.GRIP_SIZE,oe=-ee/2,se=oe,ne=(this.width+this.CB_DISTANCE)/2-ee/2,pe=(this.height+this.CB_DISTANCE)/2-ee/2,ye=this.height+this.CB_DISTANCE-ee/2,lt=this.width+this.CB_DISTANCE-ee/2;this.positionGrip(this.controlGrips.topLeft.visual,oe,se),this.positionGrip(this.controlGrips.topCenter.visual,ne,se),this.positionGrip(this.controlGrips.topRight.visual,lt,se),this.positionGrip(this.controlGrips.centerLeft.visual,oe,pe),this.positionGrip(this.controlGrips.centerRight.visual,lt,pe),this.positionGrip(this.controlGrips.bottomLeft.visual,oe,ye),this.positionGrip(this.controlGrips.bottomCenter.visual,ne,ye),this.positionGrip(this.controlGrips.bottomRight.visual,lt,ye),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ne,se-3*this.CB_DISTANCE)},te.prototype.positionGrip=function(ee,oe,se){var ne=ee.transform.baseVal.getItem(0);ne.setTranslate(oe,se),ee.transform.baseVal.replaceItem(ne,0)},te.prototype.hideControlBox=function(){this.controlBox.style.display="none"},te.prototype.showControlBox=function(){this.controlBox.style.display=""},te.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ft.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ft.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ae.prototype.getState.call(this))},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.left=oe.left,this.top=oe.top,this.width=oe.width,this.height=oe.height,this.rotationAngle=oe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ft.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,oe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ft.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,oe.containerTransformMatrix))},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe);var se=this.rotatePoint({x:this.left,y:this.top}),ne=this.unrotatePoint({x:se.x*ee,y:se.y*oe});this.left=ne.x,this.top=ne.y,this.width=this.width*ee,this.height=this.height*oe,this.adjustControlBox()},te}(We),pt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},te.prototype.createVisual=function(){this.visual=Ee.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},te.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee)},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},te.prototype.setSize=function(){ae.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},te.prototype.pointerUp=function(ee){ae.prototype.pointerUp.call(this,ee),this.setSize()},te.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},te.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},te.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},te.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this))},te.prototype.restoreState=function(ee){var oe=ee;this.fillColor=oe.fillColor,this.strokeColor=oe.strokeColor,this.strokeWidth=oe.strokeWidth,this.strokeDasharray=oe.strokeDasharray,this.opacity=oe.opacity,this.createVisual(),ae.prototype.restoreState.call(this,ee),this.setSize()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},te.title="Rectangle marker",te}(St),ct=function(ae){function te(ee,oe,se,ne){var pe=ae.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return pe.widths=[],pe.widthBoxes=[],pe.widths=oe,pe.currentWidth=se,pe.setCurrentWidth=pe.setCurrentWidth.bind(pe),pe}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");return oe.style.display="flex",oe.style.overflow="hidden",oe.style.flexGrow="2",this.widths.forEach(function(se){var ne=document.createElement("div");ne.style.display="flex",ne.style.flexGrow="2",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=se===ee.currentWidth?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentWidth(se,ne)}),oe.appendChild(ne);var pe=document.createElement("div");pe.innerText=se.toString(),pe.style.marginRight="5px",ne.appendChild(pe);var ye=document.createElement("div");ye.style.minHeight="20px",ye.style.flexGrow="2",ye.style.display="flex",ye.style.alignItems="center";var lt=document.createElement("hr");lt.style.minWidth="20px",lt.style.border="0px",lt.style.borderTop=se+"px solid "+ee.uiStyleSettings.toolboxColor,lt.style.flexGrow="2",ye.appendChild(lt),ne.appendChild(ye),ee.widthBoxes.push(ne)}),oe},te.prototype.setCurrentWidth=function(ee,oe){var se=this;this.currentWidth=ee,this.widthBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},te}(ze),et=function(ae){function te(ee,oe,se,ne){var pe=ae.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return pe.styles=[],pe.styleBoxes=[],pe.styles=oe,pe.currentStyle=se,pe.setCurrentStyle=pe.setCurrentStyle.bind(pe),pe}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");return oe.style.display="flex",oe.style.overflow="hidden",oe.style.flexGrow="2",this.styles.forEach(function(se){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/ee.styles.length-5+"%",ne.style.borderColor=se===ee.currentStyle?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentStyle(se,ne)}),oe.appendChild(ne);var pe=document.createElement("div");pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.overflow="hidden";var ye=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ee.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(se!==""?'stroke-dasharray="'+se+'"':"")+` />
</svg>`;pe.innerHTML=ye,ne.appendChild(pe),ee.styleBoxes.push(ne)}),oe},te.prototype.setCurrentStyle=function(ee,oe){var se=this;this.currentStyle=ee,this.styleBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},te}(ze),Tt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.strokeColor=se.defaultColor,ne.strokeWidth=se.defaultStrokeWidth,ne.strokeDasharray=se.defaultStrokeDasharray,ne.strokePanel=new Ue("Line color",se.defaultColorSet,se.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return $e(te,ae),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=te.typeName,ee},te.typeName="FrameMarker",te.title="Frame marker",te.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',te}(pt),st=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"},at=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.x1=0,ne.y1=0,ne.x2=0,ne.y2=0,ne.defaultLength=50,ne.manipulationStartX=0,ne.manipulationStartY=0,ne.manipulationStartX1=0,ne.manipulationStartY1=0,ne.manipulationStartX2=0,ne.manipulationStartY2=0,ne.setupControlBox(),ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!!ae.prototype.ownsTarget.call(this,ee)||!(!this.grip1.ownsTarget(ee)&&!this.grip2.ownsTarget(ee))},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.manipulationStartX=ee.x,this.manipulationStartY=ee.y,this.state==="new"&&(this.x1=ee.x,this.y1=ee.y,this.x2=ee.x,this.y2=ee.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(oe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(oe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},te.prototype.pointerUp=function(ee){var oe=this.state;ae.prototype.pointerUp.call(this,ee),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(ee),this._state="select",oe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},te.prototype.adjustVisual=function(){},te.prototype.manipulate=function(ee){this.state==="creating"?this.resize(ee):this.state==="move"?(this.x1=this.manipulationStartX1+ee.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ee.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ee.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ee.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ee)},te.prototype.resize=function(ee){switch(this.activeGrip){case this.grip1:this.x1=ee.x,this.y1=ee.y;break;case this.grip2:case void 0:this.x2=ee.x,this.y2=ee.y}this.adjustVisual(),this.adjustControlBox()},te.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},te.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},te.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},te.prototype.adjustControlBox=function(){this.positionGrips()},te.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},te.prototype.createGrip=function(){var ee=new Nt;return ee.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ee.visual),ee},te.prototype.positionGrips=function(){var ee=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ee/2,this.y1-ee/2),this.positionGrip(this.grip2.visual,this.x2-ee/2,this.y2-ee/2)},te.prototype.positionGrip=function(ee,oe,se){var ne=ee.transform.baseVal.getItem(0);ne.setTranslate(oe,se),ee.transform.baseVal.replaceItem(ne,0)},te.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ae.prototype.getState.call(this))},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.x1=oe.x1,this.y1=oe.y1,this.x2=oe.x2,this.y2=oe.y2},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.x1=this.x1*ee,this.y1=this.y1*oe,this.x2=this.x2*ee,this.y2=this.y2*oe,this.adjustVisual(),this.adjustControlBox()},te}(We),bt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.strokeColor=se.defaultColor,ne.strokeWidth=se.defaultStrokeWidth,ne.strokeDasharray=se.defaultStrokeDasharray,ne.strokePanel=new Ue("Line color",se.defaultColorSet,se.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorLine&&ee!==this.visibleLine)},te.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorLine=Ee.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ee.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},te.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Ee.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},te.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},te.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},te.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.strokeColor=oe.strokeColor,this.strokeWidth=oe.strokeWidth,this.strokeDasharray=oe.strokeDasharray,this.createVisual(),this.adjustVisual()},te.typeName="LineMarker",te.title="Line marker",te.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',te}(at),Be=function(ae){function te(ee,oe,se,ne){var pe=ae.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return pe.fonts=[],pe.fontBoxes=[],pe.fonts=oe,pe.currentFont=se,pe.setCurrentFont=pe.setCurrentFont.bind(pe),pe}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");return oe.style.overflow="hidden",oe.style.flexGrow="2",this.fonts.forEach(function(se){var ne=document.createElement("div");ne.style.display="inline-block",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/ee.fonts.length-5+"%",ne.style.borderColor=se===ee.currentFont?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentFont(se,ne)}),oe.appendChild(ne);var pe=document.createElement("div");pe.style.display="flex",pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.fontFamily=se,pe.style.overflow="hidden";var ye=document.createElement("div");ye.style.whiteSpace="nowrap",ye.style.overflow="hidden",ye.style.textOverflow="ellipsis",ye.innerHTML="The quick brown fox jumps over the lazy dog",pe.appendChild(ye),ne.appendChild(pe),ee.fontBoxes.push(ne)}),oe},te.prototype.setCurrentFont=function(ee,oe){var se=this;this.currentFont=ee,this.fontBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},te}(ze),it=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.color="transparent",ne.padding=5,ne.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ne.text=ne.DEFAULT_TEXT,ne.isMoved=!1,ne.color=se.defaultColor,ne.fontFamily=se.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setColor=ne.setColor.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.renderText=ne.renderText.bind(ne),ne.sizeText=ne.sizeText.bind(ne),ne.textEditDivClicked=ne.textEditDivClicked.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.setSize=ne.setSize.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.colorPanel=new Ue("Color",se.defaultColorSet,se.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.fontFamilyPanel=new Be("Font",se.defaultFontFamilies,se.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){if(ae.prototype.ownsTarget.call(this,ee)||ee===this.visual||ee===this.textElement||ee===this.bgRectangle)return!0;var oe=!1;return this.textElement.childNodes.forEach(function(se){se===ee&&(oe=!0)}),oe},te.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.bgRectangle=Ee.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ee.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.isMoved=!1,this.pointerDownPoint=ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},te.prototype.renderText=function(){var ee=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(oe){ee.textElement.appendChild(Ee.createTSpan(oe.trim()===""?" ":oe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},te.prototype.getTextScale=function(){var ee=this.textElement.getBBox(),oe=1;if(ee.width>0&&ee.height>0){var se=(1*this.width-this.width*this.padding*2/100)/ee.width,ne=(1*this.height-this.height*this.padding*2/100)/ee.height;oe=Math.min(se,ne)}return oe},te.prototype.getTextPosition=function(ee){var oe=this.textElement.getBBox(),se=0,ne=0;return oe.width>0&&oe.height>0&&(se=(this.width-oe.width*ee)/2,ne=this.height/2-oe.height*ee/2),{x:se,y:ne}},te.prototype.sizeText=function(){var ee=this.textElement.getBBox(),oe=this.getTextScale(),se=this.getTextPosition(oe);se.y-=ee.y*oe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+se.x+"px, "+se.y+"px) scale("+oe+", "+oe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(se.x,se.y),this.textElement.transform.baseVal.getItem(1).setScale(oe,oe))},te.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ee.x-this.pointerDownPoint.x)>5||Math.abs(ee.y-this.pointerDownPoint.y)>5)},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.isMoved=!0,this.setSize(),this.sizeText()},te.prototype.setSize=function(){ae.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},te.prototype.pointerUp=function(ee){var oe=this.state;oe==="creating"&&(this._suppressMarkerCreateEvent=!0),ae.prototype.pointerUp.call(this,ee),this.setSize(),(oe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},te.prototype.showTextEditor=function(){var ee=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(oe){oe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var oe=Number.parseFloat(ee.textEditor.style.fontSize);ee.textEditor.clientWidth>=Number.parseInt(ee.textEditor.style.maxWidth)&&oe>.9;)oe-=.1,ee.textEditor.style.fontSize=Math.max(oe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(oe){oe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(oe){if(oe.clipboardData){var se=oe.clipboardData.getData("text"),ne=window.getSelection();if(!ne.rangeCount)return!1;ne.deleteFromDocument(),ne.getRangeAt(0).insertNode(document.createTextNode(se)),oe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ee.textEditDivClicked(ee.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},te.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ee=this.getTextScale(),oe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),se=this.textElement.getBBox(),ne={x:se.width*ee,y:se.height*ee};oe.x-=ne.x/2,oe.y-=ne.y/2,this.textEditor.style.top=oe.y+"px",this.textEditor.style.left=oe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-oe.x+"px",this.textEditor.style.fontSize=Math.max(16*ee,12)+"px",this.textElement.style.display="none"}},te.prototype.textEditDivClicked=function(ee){this.text=ee.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},te.prototype.select=function(){ae.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},te.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ae.prototype.deselect.call(this)},te.prototype.dblClick=function(ee,oe){ae.prototype.dblClick.call(this,ee,oe),this.showTextEditor()},te.prototype.setColor=function(ee){this.textElement&&Ee.setAttributes(this.textElement,[["fill",ee]]),this.color=ee,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ee)},te.prototype.setFont=function(ee){this.textElement&&Ee.setAttributes(this.textElement,[["font-family",ee]]),this.fontFamily=ee,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},te.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},te.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){var oe=ee;this.color=oe.color,this.fontFamily=oe.fontFamily,this.padding=oe.padding,this.text=oe.text,this.createVisual(),ae.prototype.restoreState.call(this,ee),this.setSize()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize(),this.sizeText(),this.positionTextEditor()},te.typeName="TextMarker",te.title="Text marker",te.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',te}(St),Je=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.color="transparent",ne.lineWidth=3,ne.drawing=!1,ne.pixelRatio=1,ne.color=se.defaultColor,ne.lineWidth=se.defaultStrokeWidth,ne.pixelRatio=se.freehandPixelRatio,ne.setColor=ne.setColor.bind(ne),ne.addCanvas=ne.addCanvas.bind(ne),ne.finishCreation=ne.finishCreation.bind(ne),ne.setLineWidth=ne.setLineWidth.bind(ne),ne.colorPanel=new Ue("Color",se.defaultColorSet,se.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.lineWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.lineWidthPanel.onWidthChanged=ne.setLineWidth,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.drawingImage)},te.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.drawingImage=Ee.createImage(),this.visual.appendChild(this.drawingImage);var ee=Ee.createTransform();this.visual.transform.baseVal.appendItem(ee),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(ee,oe){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(ee.x,ee.y),this.drawing=!0):ae.prototype.pointerDown.call(this,ee,oe)},te.prototype.manipulate=function(ee){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ee.x,ee.y),this.canvasContext.stroke()):ae.prototype.manipulate.call(this,ee)},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},te.prototype.pointerUp=function(ee){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ae.prototype.pointerUp.call(this,ee)},te.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},te.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.select.call(this)},te.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.deselect.call(this)},te.prototype.finishCreation=function(){for(var ee=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),oe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],se=oe[0],ne=oe[1],pe=oe[2],ye=oe[3],lt=!1,Ae=0;Ae<this.canvasElement.height;Ae++)for(var Ne=0;Ne<this.canvasElement.width;Ne++)ee.data[Ae*this.canvasElement.width*4+4*Ne+3]>0&&(lt=!0,Ae<ne&&(ne=Ae),Ne<se&&(se=Ne),Ae>ye&&(ye=Ae),Ne>pe&&(pe=Ne));if(lt){this.left=se/this.pixelRatio,this.top=ne/this.pixelRatio,this.width=(pe-se)/this.pixelRatio,this.height=(ye-ne)/this.pixelRatio;var tt=document.createElement("canvas");tt.width=pe-se,tt.height=ye-ne,tt.getContext("2d").putImageData(this.canvasContext.getImageData(se,ne,pe-se,ye-ne),0,0),this.drawingImgUrl=tt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},te.prototype.setDrawingImage=function(){Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},te.prototype.setColor=function(ee){this.color=ee,this.colorChanged(ee)},te.prototype.setLineWidth=function(ee){this.lineWidth=ee},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({drawingImgUrl:this.drawingImgUrl},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){this.createVisual(),ae.prototype.restoreState.call(this,ee),this.drawingImgUrl=ee.drawingImgUrl,this.setDrawingImage()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setDrawingImage()},te.typeName="FreehandMarker",te.title="Freehand marker",te.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',te}(St),ue=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,se||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ne.typeBoxes=[],ne.currentType=oe,ne.setCurrentType=ne.setCurrentType.bind(ne),ne}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");oe.style.display="flex",oe.style.overflow="hidden",oe.style.flexGrow="2";for(var se=function(ye){var lt="both";switch(ye){case 0:lt="both";break;case 1:lt="start";break;case 2:lt="end";break;case 3:lt="none"}var Ae=document.createElement("div");if(Ae.style.display="flex",Ae.style.flexGrow="2",Ae.style.alignItems="center",Ae.style.justifyContent="space-between",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.borderColor=lt===ne.currentType?ne.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){ee.setCurrentType(lt,Ae)}),oe.appendChild(Ae),lt==="both"||lt==="start"){var Ne=document.createElement("div");Ne.style.display="flex",Ne.style.alignItems="center",Ne.style.minHeight="20px",Ne.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ne.style.marginLeft="5px",Ae.appendChild(Ne)}var tt=document.createElement("div");tt.style.display="flex",tt.style.alignItems="center",tt.style.minHeight="20px",tt.style.flexGrow="2";var Pt=document.createElement("hr");if(Pt.style.minWidth="20px",Pt.style.border="0px",Pt.style.borderTop="3px solid "+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee"),Pt.style.flexGrow="2",tt.appendChild(Pt),Ae.appendChild(tt),lt==="both"||lt==="end"){var Ot=document.createElement("div");Ot.style.display="flex",Ot.style.alignItems="center",Ot.style.minHeight="20px",Ot.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ot.style.marginRight="5px",Ae.appendChild(Ot)}ne.typeBoxes.push(Ae)},ne=this,pe=0;pe<4;pe++)se(pe);return oe},te.prototype.setCurrentType=function(ee,oe){var se=this;this.currentType=ee,this.typeBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},te}(ze),mt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.arrowType="end",ne.arrowBaseHeight=10,ne.arrowBaseWidth=10,ne.getArrowPoints=ne.getArrowPoints.bind(ne),ne.setArrowType=ne.setArrowType.bind(ne),ne.arrowTypePanel=new ue("Arrow type","end"),ne.arrowTypePanel.onArrowTypeChanged=ne.setArrowType,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.arrow1&&ee!==this.arrow2)},te.prototype.getArrowPoints=function(ee,oe){var se=this.arrowBaseWidth+2*this.strokeWidth,ne=this.arrowBaseHeight+2*this.strokeWidth;return ee-se/2+","+(oe+ne/2)+" "+ee+","+(oe-ne/2)+" "+(ee+se/2)+","+(oe+ne/2)},te.prototype.createTips=function(){this.arrow1=Ee.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ee.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow2)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="creating"&&this.createTips()},te.prototype.adjustVisual=function(){if(ae.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",Ee.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ee.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ee=0;Math.abs(this.x1-this.x2)>.1&&(ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var oe=this.arrow1.transform.baseVal.getItem(0);oe.setRotate(ee,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(oe,0);var se=this.arrow2.transform.baseVal.getItem(0);se.setRotate(ee+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(se,0)}},te.prototype.setArrowType=function(ee){this.arrowType=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({arrowType:this.arrowType},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.arrowType=oe.arrowType,this.createTips(),this.adjustVisual()},te.typeName="ArrowMarker",te.title="Arrow marker",te.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',te}(bt),Le=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.fillColor=se.defaultFillColor,ne.strokeWidth=0,ne.fillPanel=new Ue("Color",se.defaultColorSet,se.defaultFillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne}return $e(te,ae),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=te.typeName,ee},te.typeName="CoverMarker",te.title="Cover marker",te.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',te}(pt),qe=function(ae){function te(ee,oe,se,ne){var pe=ae.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return pe.opacities=[],pe.opacityBoxes=[],pe.opacities=oe,pe.currentOpacity=se,pe.setCurrentOpacity=pe.setCurrentOpacity.bind(pe),pe}return $e(te,ae),te.prototype.getUi=function(){var ee=this,oe=document.createElement("div");return oe.style.display="flex",oe.style.overflow="hidden",oe.style.flexGrow="2",oe.style.justifyContent="space-between",this.opacities.forEach(function(se){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="center",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=se===ee.currentOpacity?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentOpacity(se,ne)}),oe.appendChild(ne);var pe=document.createElement("div");pe.innerText=100*se+"%",ne.appendChild(pe),ee.opacityBoxes.push(ne)}),oe},te.prototype.setCurrentOpacity=function(ee,oe){var se=this;this.currentOpacity=ee,this.opacityBoxes.forEach(function(ne){ne.style.borderColor=ne===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},te}(ze),Ht=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.setOpacity=ne.setOpacity.bind(ne),ne.fillColor=se.defaultHighlightColor,ne.strokeWidth=0,ne.opacity=se.defaultHighlightOpacity,ne.fillPanel=new Ue("Color",se.defaultColorSet,ne.fillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne.opacityPanel=new qe("Opacity",se.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return $e(te,ae),te.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=te.typeName,ee},te.typeName="HighlightMarker",te.title="Highlight marker",te.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',te}(Le),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>',de='<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>',xt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.bgColor="transparent",ne.tipPosition={x:0,y:0},ne.tipBase1Position={x:0,y:0},ne.tipBase2Position={x:0,y:0},ne.tipMoving=!1,ne.color=se.defaultStrokeColor,ne.bgColor=se.defaultFillColor,ne.fontFamily=se.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setBgColor=ne.setBgColor.bind(ne),ne.getTipPoints=ne.getTipPoints.bind(ne),ne.positionTip=ne.positionTip.bind(ne),ne.setTipPoints=ne.setTipPoints.bind(ne),ne.colorPanel=new Ue("Text color",se.defaultColorSet,ne.color,we),ne.colorPanel.onColorChanged=ne.setColor,ne.bgColorPanel=new Ue("Fill color",se.defaultColorSet,ne.bgColor,de),ne.bgColorPanel.onColorChanged=ne.setBgColor,ne.fontFamilyPanel=new Be("Font",se.defaultFontFamilies,se.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.tipGrip=new Nt,ne.tipGrip.visual.transform.baseVal.appendItem(Ee.createTransform()),ne.controlBox.appendChild(ne.tipGrip.visual),ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return ae.prototype.ownsTarget.call(this,ee)||this.tipGrip.ownsTarget(ee)||this.tip===ee},te.prototype.createTip=function(){Ee.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ee.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},te.prototype.pointerDown=function(ee,oe){this.state==="new"&&ae.prototype.pointerDown.call(this,ee,oe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(oe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ae.prototype.pointerDown.call(this,ee,oe)},te.prototype.pointerUp=function(ee){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ae.prototype.pointerUp.call(this,ee);else{var oe=this.state==="creating";ae.prototype.pointerUp.call(this,ee),this.setTipPoints(oe),this.positionTip()}},te.prototype.manipulate=function(ee){if(this.tipMoving){var oe=this.unrotatePoint(ee);this.tipPosition={x:oe.x-this.manipulationStartLeft,y:oe.y-this.manipulationStartTop},this.positionTip()}else ae.prototype.manipulate.call(this,ee)},te.prototype.setBgColor=function(ee){this.bgRectangle&&this.tip&&(Ee.setAttributes(this.bgRectangle,[["fill",ee]]),Ee.setAttributes(this.tip,[["fill",ee]])),this.bgColor=ee,this.fillColorChanged(ee)},te.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},te.prototype.setTipPoints=function(ee){ee===void 0&&(ee=!1);var oe=Math.min(this.height/2,15),se=this.height/5;ee&&(this.tipPosition={x:oe+se/2,y:this.height+20});var ne=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(se=this.width/5,oe=Math.min(this.width/2,15),this.tipBase1Position={x:oe,y:0},this.tipBase2Position={x:oe+se,y:0}):(this.tipBase1Position={x:0,y:oe},this.tipBase2Position={x:0,y:oe+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(se=this.width/5,oe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-oe-se,y:0},this.tipBase2Position={x:this.width-oe,y:0}):(this.tipBase1Position={x:this.width,y:oe},this.tipBase2Position={x:this.width,y:oe+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ne<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(se=this.width/5,oe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-oe-se,y:this.height},this.tipBase2Position={x:this.width-oe,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-oe-se},this.tipBase2Position={x:this.width,y:this.height-oe}):ne<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(se=this.width/5,oe=Math.min(this.width/2,15),this.tipBase1Position={x:oe,y:this.height},this.tipBase2Position={x:oe+se,y:this.height}):(this.tipBase1Position={x:0,y:this.height-oe},this.tipBase2Position={x:0,y:this.height-oe-se})},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.positionTip()},te.prototype.positionTip=function(){Ee.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ee=this.tipGrip.visual.transform.baseVal.getItem(0);ee.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ee,0)},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),te.prototype.select=function(){this.positionTip(),ae.prototype.select.call(this)},te.prototype.getState=function(){var ee=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){var oe=ee;this.bgColor=oe.bgColor,this.tipPosition=oe.tipPosition,ae.prototype.restoreState.call(this,ee),this.createTip(),this.setTipPoints()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.tipPosition={x:this.tipPosition.x*ee,y:this.tipPosition.y*oe},this.positionTip()},te.typeName="CalloutMarker",te.title="Callout marker",te.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',te}(it),Qt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.strokeColor=se.defaultColor,ne.strokeWidth=se.defaultStrokeWidth,ne.strokeDasharray=se.defaultStrokeDasharray,ne.fillColor=se.defaultFillColor,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.setOpacity=ne.setOpacity.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.strokePanel=new Ue("Line color",Se(se.defaultColorSet,["transparent"]),se.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ue("Fill color",Se(se.defaultColorSet,["transparent"]),ne.fillColor,de),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.opacityPanel=new qe("Opacity",se.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},te.prototype.createVisual=function(){this.visual=Ee.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},te.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee)},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},te.prototype.setSize=function(){ae.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},te.prototype.pointerUp=function(ee){ae.prototype.pointerUp.call(this,ee),this.setSize()},te.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},te.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},te.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},te.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){var oe=ee;this.fillColor=oe.fillColor,this.strokeColor=oe.strokeColor,this.strokeWidth=oe.strokeWidth,this.strokeDasharray=oe.strokeDasharray,this.opacity=oe.opacity,this.createVisual(),ae.prototype.restoreState.call(this,ee),this.setSize()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},te.typeName="EllipseMarker",te.title="Ellipse marker",te.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',te}(St),Mt=function(ae){function te(ee,oe,se){return ae.call(this,ee,oe,se)||this}return $e(te,ae),Object.defineProperty(te.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.tip1&&ee!==this.tip2)},te.prototype.createTips=function(){this.tip1=Ee.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(Ee.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Ee.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(Ee.createTransform()),this.visual.appendChild(this.tip2)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="creating"&&this.createTips()},te.prototype.adjustVisual=function(){if(ae.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Ee.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()]]),Ee.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 ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),oe=this.tip1.transform.baseVal.getItem(0);oe.setRotate(ee,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(oe,0);var se=this.tip2.transform.baseVal.getItem(0);se.setRotate(ee+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(se,0)}},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee),this.createTips(),this.adjustVisual()},te.typeName="MeasurementMarker",te.title="Measurement marker",te.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',te}(bt),me=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.strokePanel.colors=se.defaultColorSet,ne.fillColor="transparent",ne}return $e(te,ae),Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=te.typeName,ee},te.typeName="EllipseFrameMarker",te.title="Ellipse frame marker",te.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',te}(Qt),He=function(){function ae(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ae.prototype.addUndoStep=function(te){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(te)||(this.undoStack.push(te),JSON.stringify(this.lastRedoStep)!==JSON.stringify(te)&&this.redoStack.splice(0,this.redoStack.length))},ae.prototype.replaceLastUndoStep=function(te){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=te)},ae.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ae.prototype.undo=function(){if(this.undoStack.length>1){var te=this.undoStack.pop();return te!==void 0&&this.redoStack.push(te),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ae.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ae}(),Qe=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.curveX=0,ne.curveY=0,ne.manipulationStartCurveX=0,ne.manipulationStartCurveY=0,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.positionGrips=ne.positionGrips.bind(ne),ne.addControlGrips=ne.addControlGrips.bind(ne),ne.adjustVisual=ne.adjustVisual.bind(ne),ne.setupControlBox=ne.setupControlBox.bind(ne),ne.resize=ne.resize.bind(ne),ne.strokeColor=se.defaultColor,ne.strokeWidth=se.defaultStrokeWidth,ne.strokeDasharray=se.defaultStrokeDasharray,ne.strokePanel=new Ue("Line color",se.defaultColorSet,se.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorCurve&&ee!==this.visibleCurve&&!this.curveGrip.ownsTarget(ee))},te.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},te.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorCurve=Ee.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ee.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ee.x,this.curveY=ee.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(oe)&&(this.activeGrip=this.curveGrip,this._state="resize")},te.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ee.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},te.prototype.setupControlBox=function(){ae.prototype.setupControlBox.call(this),this.curveControlLine1=Ee.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ee.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},te.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ae.prototype.addControlGrips.call(this)},te.prototype.positionGrips=function(){ae.prototype.positionGrips.call(this);var ee=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ee/2,this.curveY-ee/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},te.prototype.manipulate=function(ee){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ee.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ee.y-this.manipulationStartY),ae.prototype.manipulate.call(this,ee)},te.prototype.resize=function(ee){this.activeGrip===this.curveGrip&&(this.curveX=ee.x,this.curveY=ee.y),ae.prototype.resize.call(this,ee),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},te.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},te.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},te.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual()},te.prototype.scale=function(ee,oe){this.curveX=this.curveX*ee,this.curveY=this.curveY*oe,ae.prototype.scale.call(this,ee,oe)},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ae.prototype.getState.call(this));return ee.typeName=te.typeName,ee},te.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.strokeColor=oe.strokeColor,this.strokeWidth=oe.strokeWidth,this.strokeDasharray=oe.strokeDasharray,this.curveX=oe.curveX,this.curveY=oe.curveY,this.createVisual(),this.adjustVisual()},te.typeName="CurveMarker",te.title="Curve marker",te.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',te}(at),jt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,oe,se)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.textColor="transparent",ne.fontSize="1rem",ne.isMoved=!1,ne.captionText="Caption",ne.PADDING=5,ne.captionBoxWidth=0,ne.captionBoxHeight=0,ne.strokeColor=se.defaultColor,ne.strokeWidth=se.defaultStrokeWidth,ne.strokeDasharray=se.defaultStrokeDasharray,ne.fillColor=se.defaultFillColor,ne.textColor=se.defaultStrokeColor,ne.fontFamily=se.defaultFontFamily,ne.fontSize=se.defaultCaptionFontSize,ne.captionText=se.defaultCaptionText,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.sizeCaption=ne.sizeCaption.bind(ne),ne.setCaptionText=ne.setCaptionText.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.finishTextEditing=ne.finishTextEditing.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.setTextColor=ne.setTextColor.bind(ne),ne.strokePanel=new Ue("Line color",Se(se.defaultColorSet,["transparent"]),ne.strokeColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ue("Fill color",Se(se.defaultColorSet,["transparent"]),ne.fillColor,de),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new ct("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.fontFamilyPanel=new Be("Font",se.defaultFontFamilies,se.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.textColorPanel=new Ue("Text color",se.defaultColorSet,ne.textColor,we),ne.textColorPanel.onColorChanged=ne.setTextColor,ne}return $e(te,ae),te.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.frame&&ee!==this.captionBg&&ee!==this.captionElement)},te.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ee.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ee.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=Ee.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},te.prototype.setCaptionText=function(ee){this.captionText=ee,this.captionElement.textContent=this.captionText,this.sizeCaption()},te.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.isMoved=!1,this.pointerDownPoint=ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},te.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ee.x-this.pointerDownPoint.x)>5||Math.abs(ee.y-this.pointerDownPoint.y)>5)},te.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},te.prototype.sizeCaption=function(){var ee=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ee.width+2*this.PADDING,this.captionBoxHeight=ee.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ee.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')"]]),Ee.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},te.prototype.showTextEditor=function(){var ee=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(oe){oe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(oe){oe.key==="Enter"&&ee.finishTextEditing(ee.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(oe){oe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ee.finishTextEditing(ee.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ee.finishTextEditing(ee.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},te.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},te.prototype.finishTextEditing=function(ee){this.setCaptionText(ee.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},te.prototype.setFont=function(ee){this.captionElement&&Ee.setAttributes(this.captionElement,[["font-family",ee]]),this.fontFamily=ee,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},te.prototype.setTextColor=function(ee){this.captionElement&&Ee.setAttributes(this.captionElement,[["fill",ee]]),this.textColor=ee,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},te.prototype.setSize=function(){ae.prototype.setSize.call(this),Ee.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},te.prototype.pointerUp=function(ee){ae.prototype.pointerUp.call(this,ee),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},te.prototype.dblClick=function(ee,oe){ae.prototype.dblClick.call(this,ee,oe),this.showTextEditor()},te.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},te.prototype.setFillColor=function(ee){this.fillColor=ee,this.captionBg&&Ee.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},te.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},te.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(te.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),te.prototype.getState=function(){var ee=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},ae.prototype.getState.call(this));return ee.typeName=this.typeName,ee},te.prototype.restoreState=function(ee){var oe=ee;this.fillColor=oe.fillColor,this.strokeColor=oe.strokeColor,this.strokeWidth=oe.strokeWidth,this.strokeDasharray=oe.strokeDasharray,this.textColor=oe.textColor,this.fontFamily=oe.fontFamily,this.captionText=oe.captionText,this.fontSize=oe.fontSize,this.createVisual(),ae.prototype.restoreState.call(this,ee),this.setSize()},te.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},te.typeName="CaptionFrameMarker",te.title="Caption frame marker",te.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',te}(St),Lt=function(){function ae(te,ee){ee===void 0&&(ee=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=te,this.cancelable=ee}return Object.defineProperty(ae.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ae.prototype.preventDefault=function(){this._defaultPrevented=!0},ae}(),Kt=function(ae){function te(ee,oe,se){var ne=ae.call(this,ee,!1)||this;return ne.dataUrl=oe,ne.state=se,ne}return $e(te,ae),te}(Lt),je=function(ae){function te(ee,oe,se){se===void 0&&(se=!1);var ne=ae.call(this,ee,se)||this;return ne.marker=oe,ne}return $e(te,ae),te}(Lt),Yt=function(){function ae(){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 ae.prototype.addEventListener=function(te,ee){this[te].push(ee)},ae.prototype.removeEventListener=function(te,ee){var oe=this[te].indexOf(ee);oe>-1&&this[te].splice(oe,1)},ae}(),vt=function(){function ae(te){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new st,this._isOpen=!1,this.undoRedoManager=new He,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 Yt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ae.instanceCounter++,this.styles=new he(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=te,this.targetRoot=document.body,this.width=te.clientWidth,this.height=te.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(ae.prototype,"ALL_MARKER_TYPES",{get:function(){return[Tt,Je,mt,it,me,Qt,Ht,xt,Mt,Le,bt,Qe,jt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Tt,Je,mt,it,Qt,Ht,xt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Tt,Je,mt,it,Ht]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(te){var ee=this;this._availableMarkerTypes.splice(0),te.forEach(function(oe){if(typeof oe=="string"){var se=ee.ALL_MARKER_TYPES.find(function(ne){return ne.typeName===oe});se!==void 0&&ee._availableMarkerTypes.push(se)}else ee._availableMarkerTypes.push(oe)})},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(te){this._zoomLevel=te,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ae.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ie.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ae.prototype.show=function(){var te=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(ee){return ee(new Lt(te))})},ae.prototype.render=function(){return ve(this,void 0,void 0,function(){var te;return Ye(this,function(ee){switch(ee.label){case 0:return this.setCurrentMarker(),(te=new Te).naturalSize=this.renderAtNaturalSize,te.imageType=this.renderImageType,te.imageQuality=this.renderImageQuality,te.markersOnly=this.renderMarkersOnly,te.width=this.renderWidth,te.height=this.renderHeight,[4,te.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ee.sent(),[4,te.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ee.sent()]}})})},ae.prototype.close=function(te){var ee=this;if(te===void 0&&(te=!1),this.isOpen){var oe=!1;te||this.eventListeners.beforeclose.forEach(function(se){var ne=new Lt(ee,!0);se(ne),ne.defaultPrevented&&(oe=!0)}),oe||(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(se){return se(new Lt(ee))}),this.detachEvents(),this._isOpen=!1)}},ae.prototype.addMarkersToToolbar=function(){for(var te,ee=[],oe=0;oe<arguments.length;oe++)ee[oe]=arguments[oe];(te=this._availableMarkerTypes).push.apply(te,ee)},ae.prototype.addRenderEventListener=function(te){this.addEventListener("render",function(ee){te(ee.dataUrl,ee.state)})},ae.prototype.removeRenderEventListener=function(te){},ae.prototype.addCloseEventListener=function(te){this.addEventListener("close",function(){te()})},ae.prototype.removeCloseEventListener=function(te){},ae.prototype.setupResizeObserver=function(){var te=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){te.resize(te.target.clientWidth,te.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return te.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ae.prototype.onPopupTargetResize=function(){var te=1*this.target.clientWidth/this.target.clientHeight,ee=this.editorCanvas.clientWidth/te>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*te:this.editorCanvas.clientWidth,oe=ee<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/te;this.resize(ee,oe)},ae.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ae.prototype.resize=function(te,ee){this._isResizing=!0;var oe=te/this.imageWidth,se=ee/this.imageHeight;this.imageWidth=Math.round(te),this.imageHeight=Math.round(ee),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(oe,se),this._isResizing=!1},ae.prototype.scaleMarkers=function(te,ee){var oe,se=this;this._currentMarker&&this._currentMarker instanceof it?this._currentMarker.scale(te,ee):(oe=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ne){ne!==se._currentMarker&&ne.scale(te,ee)}),oe!==void 0&&this.setCurrentMarker(oe)},ae.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"},ae.prototype.setTopLeft=function(){var te=this.editingTarget.getBoundingClientRect(),ee=this.editorCanvas.getBoundingClientRect();this.left=te.left-ee.left,this.top=te.top-ee.top},ae.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)},ae.prototype.addDefs=function(){for(var te,ee=[],oe=0;oe<arguments.length;oe++)ee[oe]=arguments[oe];this.defs=Ee.createDefs(),this.addDefsToImage(),(te=this.defs).append.apply(te,ee)},ae.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ae.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)},ae.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ae.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ae.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)},ae.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ae.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)},ae.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var te=document.createElement("a");te.href="https://markerjs.com/",te.target="_blank",te.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',te.title="Powered by marker.js",te.style.display="grid",te.style.alignItems="center",te.style.justifyItems="center",te.style.padding="3px",te.style.width="20px",te.style.height="20px",this.logoUI.appendChild(te),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ae.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")},ae.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"},ae.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ae.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var te=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=te+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new At(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new rt(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ae.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ae.prototype.removeMarker=function(te){this.markerImage.removeChild(te.container),this.markers.indexOf(te)>-1&&this.markers.splice(this.markers.indexOf(te),1),te.dispose()},ae.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())},ae.prototype.toolbarButtonClicked=function(te,ee){if(te==="marker"&&ee!==void 0)this.createNewMarker(ee);else if(te==="action")switch(ee){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()}},ae.prototype.deleteSelectedMarker=function(){var te=this;if(this._currentMarker!==void 0){var ee=!1;if(this.eventListeners.markerbeforedelete.forEach(function(se){var ne=new je(te,te._currentMarker,!0);se(ne),ne.defaultPrevented&&(ee=!0)}),!ee){var oe=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(se){return se(new je(te,oe))})}}},ae.prototype.clear=function(){var te=this,ee=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(pe){var ye=new je(te,void 0,!0);pe(ye),ye.defaultPrevented&&(ee=!0)}),!ee)){this.setCurrentMarker();for(var oe=function(pe){var ye=se.markers[pe];se.setCurrentMarker(se.markers[pe]),se._currentMarker.dispose(),se.markerImage.removeChild(se._currentMarker.container),se.markers.splice(se.markers.indexOf(se._currentMarker),1),se.eventListeners.markerdelete.forEach(function(lt){return lt(new je(te,ye))})},se=this,ne=this.markers.length-1;ne>=0;ne--)oe(ne);this.addUndoStep()}},Object.defineProperty(ae.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ae.prototype.showNotesEditor=function(){var te;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(te=this._currentMarker.notes)!==null&&te!==void 0?te:"",this.overlayContainer.appendChild(this.notesArea))},ae.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)},ae.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ae.prototype.addUndoStep=function(){var te=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ee=this.getState(),oe=this.undoRedoManager.getLastUndoStep();if(!oe||oe.width===ee.width&&oe.height===ee.height){var se=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ee),se<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ne){return ne(new Lt(te))})}else this.undoRedoManager.replaceLastUndoStep(ee),this.eventListeners.statechange.forEach(function(ne){return ne(new Lt(te))})}},ae.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ae.prototype.undoStep=function(){var te=this,ee=this.undoRedoManager.undo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(oe){return oe(new Lt(te))}))},ae.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ae.prototype.redoStep=function(){var te=this,ee=this.undoRedoManager.redo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(oe){return oe(new Lt(te))}))},ae.prototype.stepZoom=function(){var te=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=te<this.zoomSteps.length-1?this.zoomSteps[te+1]:this.zoomSteps[0]},ae.prototype.panTo=function(te){this.contentDiv.scrollBy({left:this.prevPanPoint.x-te.x,top:this.prevPanPoint.y-te.y}),this.prevPanPoint=te},ae.prototype.startRenderAndClose=function(){return ve(this,void 0,void 0,function(){var te,ee,oe=this;return Ye(this,function(se){switch(se.label){case 0:return[4,this.render()];case 1:return te=se.sent(),ee=this.getState(),this.eventListeners.render.forEach(function(ne){return ne(new Kt(oe,te,ee))}),this.close(!0),[2]}})})},ae.prototype.getState=function(te){te===!0&&this.setCurrentMarker();var ee={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(oe){return ee.markers.push(oe.getState())}),ee},ae.prototype.restoreState=function(te){var ee=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);te.markers.forEach(function(oe){var se=ee._availableMarkerTypes.find(function(pe){return pe.typeName===oe.typeName});if(se!==void 0){var ne=ee.addNewMarker(se);ne.restoreState(oe),ee.markers.push(ne)}}),te.width&&te.height&&(te.width!==this.imageWidth||te.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/te.width,this.imageHeight/te.height),this.eventListeners.restorestate.forEach(function(oe){return oe(new Lt(ee))})},ae.prototype.addNewMarker=function(te){var ee=Ee.createGroup();return this.markerImage.appendChild(ee),new te(ee,this.overlayContainer,this.settings)},ae.prototype.createNewMarker=function(te){var ee,oe=this;(ee=typeof te=="string"?this._availableMarkerTypes.find(function(se){return se.typeName===te}):te)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ee),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(ee.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(se){return se(new je(oe,oe._currentMarker))}))},ae.prototype.markerCreated=function(te){var ee=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(te),this.setCurrentMarker(te),te instanceof Je&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Je):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(oe){return oe(new je(ee,ee._currentMarker))})},ae.prototype.colorChanged=function(te){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=te,this.settings.defaultStrokeColor=te)},ae.prototype.fillColorChanged=function(te){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=te)},ae.prototype.markerStateChanged=function(te){var ee=this;this.eventListeners.markerchange.forEach(function(oe){return oe(new je(ee,te))})},ae.prototype.setCurrentMarker=function(te){var ee=this;this._currentMarker!==te&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(oe){return oe(new je(ee,ee._currentMarker))})),this._currentMarker=te,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(oe){return oe(new je(ee,ee._currentMarker))}))},ae.prototype.onPointerDown=function(te){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||te.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ee=this.markers.find(function(oe){return oe.ownsTarget(te.target)});ee!==void 0?(this.setCurrentMarker(ee),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(te.clientX,te.clientY),te.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:te.clientX,y:te.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(te.clientX,te.clientY))},ae.prototype.onDblClick=function(te){if(this._isFocused||this.focus(),this.mode==="select"){var ee=this.markers.find(function(oe){return oe.ownsTarget(te.target)});ee!==void 0&&ee!==this._currentMarker&&this.setCurrentMarker(ee),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(te.clientX,te.clientY),te.target):this.setCurrentMarker()}},ae.prototype.onPointerMove=function(te){this.touchPoints!==1&&te.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||te.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(te.clientX,te.clientY)):this.zoomLevel>1&&this.panTo({x:te.clientX,y:te.clientY}))},ae.prototype.onPointerUp=function(te){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(te.clientX,te.clientY)),this.isDragging=!1,this.addUndoStep()},ae.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ae.prototype.onKeyUp=function(te){this._currentMarker===void 0||this.notesArea!==void 0||te.key!=="Delete"&&te.key!=="Backspace"||this.deleteSelectedMarker()},ae.prototype.clientToLocalCoordinates=function(te,ee){var oe=this.markerImage.getBoundingClientRect();return{x:(te-oe.left)/this.zoomLevel,y:(ee-oe.top)/this.zoomLevel}},ae.prototype.onWindowResize=function(){this.positionUI()},ae.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var te=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=te+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},ae.prototype.addLicenseKey=function(te){Ie.addKey(te)},ae.prototype.addEventListener=function(te,ee){this.eventListeners.addEventListener(te,ee)},ae.prototype.removeEventListener=function(te,ee){this.eventListeners.removeEventListener(te,ee)},ae.prototype.renderState=function(te){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(te),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ae.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ae.prototype.focus=function(){var te=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ee){return ee(new Lt(te))}))},ae.prototype.blur=function(){var te=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ee){return ee(new Lt(te))}))},ae.instanceCounter=0,ae}()},6551:function(dn,Jt,re){"use strict";re.d(Jt,{ZP:function(){return Ie}});var E=re(72190),$e=re(59301),ve=re(47273),Ye=0,Se=(0,ve.Z)();function Ee(){var Te;return Se?(Te=Ye,Ye+=1):Te="TEST_OR_SSR",Te}function Ie(Te){var Pe=$e.useState(),he=(0,E.Z)(Pe,2),Ze=he[0],xe=he[1];return $e.useEffect(function(){xe("rc_select_".concat(Ee()))},[]),Te||Ze}},37463:function(dn,Jt,re){"use strict";re.d(Jt,{Ac:function(){return wt},Xo:function(){return kt},Wx:function(){return Fe},ZP:function(){return xn},lk:function(){return Ft}});var E=re(60499),$e=re(77654),ve=re(18642),Ye=re(85899),Se=re(72190),Ee=re(42244),Ie=re(43749),Te=re(18929),Pe=re(48736),he=re(59301),Ze=re(92310),xe=re.n(Ze),At=re(34280),rt=re(49658),ze=re(8654),Ue=function(nt){var Ce=nt.className,Re=nt.customizeIcon,De=nt.customizeIconProps,Ve=nt.children,be=nt.onMouseDown,_e=nt.onClick,ft=typeof Re=="function"?Re(De):Re;return he.createElement("span",{className:Ce,onMouseDown:function(ht){ht.preventDefault(),be==null||be(ht)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:_e,"aria-hidden":!0},ft!==void 0?ft:he.createElement("span",{className:xe()(Ce.split(/\s+/).map(function(yt){return"".concat(yt,"-icon")}))},Ve))},We=Ue,Ct=function(nt,Ce,Re,De,Ve){var be=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,_e=arguments.length>6?arguments[6]:void 0,ft=arguments.length>7?arguments[7]:void 0,yt=he.useMemo(function(){if((0,Ie.Z)(De)==="object")return De.clearIcon;if(Ve)return Ve},[De,Ve]),ht=he.useMemo(function(){return!!(!be&&De&&(Re.length||_e)&&!(ft==="combobox"&&_e===""))},[De,be,Re.length,_e,ft]);return{allowClear:ht,clearIcon:he.createElement(We,{className:"".concat(nt,"-clear"),onMouseDown:Ce,customizeIcon:yt},"\xD7")}},Nt=he.createContext(null);function Ft(){return he.useContext(Nt)}function St(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,nt=he.useState(!1),Ce=(0,Se.Z)(nt,2),Re=Ce[0],De=Ce[1],Ve=he.useRef(null),be=function(){window.clearTimeout(Ve.current)};he.useEffect(function(){return be},[]);var _e=function(yt,ht){be(),Ve.current=window.setTimeout(function(){De(yt),ht&&ht()},ke)};return[Re,_e,be]}function pt(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,nt=he.useRef(null),Ce=he.useRef(null);he.useEffect(function(){return function(){window.clearTimeout(Ce.current)}},[]);function Re(De){(De||nt.current===null)&&(nt.current=De),window.clearTimeout(Ce.current),Ce.current=window.setTimeout(function(){nt.current=null},ke)}return[function(){return nt.current},Re]}function ct(ke,nt,Ce,Re){var De=he.useRef(null);De.current={open:nt,triggerOpen:Ce,customizedTrigger:Re},he.useEffect(function(){function Ve(be){var _e;if(!((_e=De.current)!==null&&_e!==void 0&&_e.customizedTrigger)){var ft=be.target;ft.shadowRoot&&be.composed&&(ft=be.composedPath()[0]||ft),De.current.open&&ke().filter(function(yt){return yt}).every(function(yt){return!yt.contains(ft)&&yt!==ft})&&De.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ve),function(){return window.removeEventListener("mousedown",Ve)}},[])}var et=re(10228);function Tt(ke){return ke&&![et.Z.ESC,et.Z.SHIFT,et.Z.BACKSPACE,et.Z.TAB,et.Z.WIN_KEY,et.Z.ALT,et.Z.META,et.Z.WIN_KEY_RIGHT,et.Z.CTRL,et.Z.SEMICOLON,et.Z.EQUALS,et.Z.CAPS_LOCK,et.Z.CONTEXT_MENU,et.Z.F1,et.Z.F2,et.Z.F3,et.Z.F4,et.Z.F5,et.Z.F6,et.Z.F7,et.Z.F8,et.Z.F9,et.Z.F10,et.Z.F11,et.Z.F12].includes(ke)}var st=re(26112),at=re(83836);function bt(ke,nt,Ce){var Re=(0,Ye.Z)((0,Ye.Z)({},ke),Ce?nt:{});return Object.keys(nt).forEach(function(De){var Ve=nt[De];typeof Ve=="function"&&(Re[De]=function(){for(var be,_e=arguments.length,ft=new Array(_e),yt=0;yt<_e;yt++)ft[yt]=arguments[yt];return Ve.apply(void 0,ft),(be=ke[De])===null||be===void 0?void 0:be.call.apply(be,[ke].concat(ft))})}),Re}var Be=bt,it=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Je=function(nt,Ce){var Re=nt.prefixCls,De=nt.id,Ve=nt.inputElement,be=nt.autoFocus,_e=nt.autoComplete,ft=nt.editable,yt=nt.activeDescendantId,ht=nt.value,Xe=nt.open,Ke=nt.attrs,ut=(0,Ee.Z)(nt,it),fn=Ve||he.createElement("input",null),sn=fn,cn=sn.ref,Rn=sn.props;return(0,Pe.Kp)(!("maxLength"in fn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),fn=he.cloneElement(fn,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({type:"search"},Be(ut,Rn,!0)),{},{id:De,ref:(0,ze.sQ)(Ce,cn),autoComplete:_e||"off",autoFocus:be,className:xe()("".concat(Re,"-selection-search-input"),Rn==null?void 0:Rn.className),role:"combobox","aria-expanded":Xe||!1,"aria-haspopup":"listbox","aria-owns":"".concat(De,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(De,"_list"),"aria-activedescendant":Xe?yt:void 0},Ke),{},{value:ft?ht:"",readOnly:!ft,unselectable:ft?null:"on",style:(0,Ye.Z)((0,Ye.Z)({},Rn.style),{},{opacity:ft?null:0})})),fn},ue=he.forwardRef(Je),mt=ue;function Le(ke){return Array.isArray(ke)?ke:ke!==void 0?[ke]:[]}var qe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ht=qe;function we(ke){return ke!=null}function de(ke){return!ke&&ke!==0}function xt(ke){return["string","number"].includes((0,Ie.Z)(ke))}function Qt(ke){var nt=void 0;return ke&&(xt(ke.title)?nt=ke.title.toString():xt(ke.label)&&(nt=ke.label.toString())),nt}function Mt(ke,nt){Ht?he.useLayoutEffect(ke,nt):he.useEffect(ke,nt)}function me(ke){var nt;return(nt=ke.key)!==null&&nt!==void 0?nt:ke.value}var He=function(nt){nt.preventDefault(),nt.stopPropagation()},Qe=function(nt){var Ce=nt.id,Re=nt.prefixCls,De=nt.values,Ve=nt.open,be=nt.searchValue,_e=nt.autoClearSearchValue,ft=nt.inputRef,yt=nt.placeholder,ht=nt.disabled,Xe=nt.mode,Ke=nt.showSearch,ut=nt.autoFocus,fn=nt.autoComplete,sn=nt.activeDescendantId,cn=nt.tabIndex,Rn=nt.removeIcon,Wn=nt.maxTagCount,Yn=nt.maxTagTextLength,Hn=nt.maxTagPlaceholder,Ln=Hn===void 0?function(Pn){return"+ ".concat(Pn.length," ...")}:Hn,kn=nt.tagRender,Un=nt.onToggleOpen,qn=nt.onRemove,Jn=nt.onInputChange,$n=nt.onInputPaste,Tn=nt.onInputKeyDown,tr=nt.onInputMouseDown,Cn=nt.onInputCompositionStart,Gn=nt.onInputCompositionEnd,ar=nt.onInputBlur,or=he.useRef(null),cr=(0,he.useState)(0),yr=(0,Se.Z)(cr,2),dr=yr[0],hr=yr[1],rr=(0,he.useState)(!1),mr=(0,Se.Z)(rr,2),br=mr[0],Hr=mr[1],Er="".concat(Re,"-selection"),Tr=Ve||Xe==="multiple"&&_e===!1||Xe==="tags"?be:"",Pr=Xe==="tags"||Xe==="multiple"&&_e===!1||Ke&&(Ve||br);Mt(function(){hr(or.current.scrollWidth)},[Tr]);var Dr=function(pn,Xn,Qn,wn,mn){return he.createElement("span",{title:Qt(pn),className:xe()("".concat(Er,"-item"),(0,ve.Z)({},"".concat(Er,"-item-disabled"),Qn))},he.createElement("span",{className:"".concat(Er,"-item-content")},Xn),wn&&he.createElement(We,{className:"".concat(Er,"-item-remove"),onMouseDown:He,onClick:mn,customizeIcon:Rn},"\xD7"))},sr=function(pn,Xn,Qn,wn,mn,Nn){var Zn=function(Mr){He(Mr),Un(!Ve)};return he.createElement("span",{onMouseDown:Zn},kn({label:Xn,value:pn,disabled:Qn,closable:wn,onClose:mn,isMaxTag:!!Nn}))},lr=function(pn){var Xn=pn.disabled,Qn=pn.label,wn=pn.value,mn=!ht&&!Xn,Nn=Qn;if(typeof Yn=="number"&&(typeof Qn=="string"||typeof Qn=="number")){var Zn=String(Nn);Zn.length>Yn&&(Nn="".concat(Zn.slice(0,Yn),"..."))}var fr=function(Or){Or&&Or.stopPropagation(),qn(pn)};return typeof kn=="function"?sr(wn,Nn,Xn,mn,fr):Dr(pn,Nn,Xn,mn,fr)},nr=function(pn){if(!De.length)return null;var Xn=typeof Ln=="function"?Ln(pn):Ln;return typeof kn=="function"?sr(void 0,Xn,!1,!1,void 0,!0):Dr({title:Xn},Xn,!1)},gn=he.createElement("div",{className:"".concat(Er,"-search"),style:{width:dr},onFocus:function(){Hr(!0)},onBlur:function(){Hr(!1)}},he.createElement(mt,{ref:ft,open:Ve,prefixCls:Re,id:Ce,inputElement:null,disabled:ht,autoFocus:ut,autoComplete:fn,editable:Pr,activeDescendantId:sn,value:Tr,onKeyDown:Tn,onMouseDown:tr,onChange:Jn,onPaste:$n,onCompositionStart:Cn,onCompositionEnd:Gn,onBlur:ar,tabIndex:cn,attrs:(0,st.Z)(nt,!0)}),he.createElement("span",{ref:or,className:"".concat(Er,"-search-mirror"),"aria-hidden":!0},Tr,"\xA0")),Bn=he.createElement(at.Z,{prefixCls:"".concat(Er,"-overflow"),data:De,renderItem:lr,renderRest:nr,suffix:gn,itemKey:me,maxCount:Wn});return he.createElement("span",{className:"".concat(Er,"-wrap")},Bn,!De.length&&!Tr&&he.createElement("span",{className:"".concat(Er,"-placeholder")},yt))},jt=Qe,Lt=function(nt){var Ce=nt.inputElement,Re=nt.prefixCls,De=nt.id,Ve=nt.inputRef,be=nt.disabled,_e=nt.autoFocus,ft=nt.autoComplete,yt=nt.activeDescendantId,ht=nt.mode,Xe=nt.open,Ke=nt.values,ut=nt.placeholder,fn=nt.tabIndex,sn=nt.showSearch,cn=nt.searchValue,Rn=nt.activeValue,Wn=nt.maxLength,Yn=nt.onInputKeyDown,Hn=nt.onInputMouseDown,Ln=nt.onInputChange,kn=nt.onInputPaste,Un=nt.onInputCompositionStart,qn=nt.onInputCompositionEnd,Jn=nt.onInputBlur,$n=nt.title,Tn=he.useState(!1),tr=(0,Se.Z)(Tn,2),Cn=tr[0],Gn=tr[1],ar=ht==="combobox",or=ar||sn,cr=Ke[0],yr=cn||"";ar&&Rn&&!Cn&&(yr=Rn),he.useEffect(function(){ar&&Gn(!1)},[ar,Rn]);var dr=ht!=="combobox"&&!Xe&&!sn?!1:!!yr,hr=$n===void 0?Qt(cr):$n,rr=he.useMemo(function(){return cr?null:he.createElement("span",{className:"".concat(Re,"-selection-placeholder"),style:dr?{visibility:"hidden"}:void 0},ut)},[cr,dr,ut,Re]);return he.createElement("span",{className:"".concat(Re,"-selection-wrap")},he.createElement("span",{className:"".concat(Re,"-selection-search")},he.createElement(mt,{ref:Ve,prefixCls:Re,id:De,open:Xe,inputElement:Ce,disabled:be,autoFocus:_e,autoComplete:ft,editable:or,activeDescendantId:yt,value:yr,onKeyDown:Yn,onMouseDown:Hn,onChange:function(br){Gn(!0),Ln(br)},onPaste:kn,onCompositionStart:Un,onCompositionEnd:qn,onBlur:Jn,tabIndex:fn,attrs:(0,st.Z)(nt,!0),maxLength:ar?Wn:void 0})),!ar&&cr?he.createElement("span",{className:"".concat(Re,"-selection-item"),title:hr,style:dr?{visibility:"hidden"}:void 0},cr.label):null,rr)},Kt=Lt,je=function(nt,Ce){var Re=(0,he.useRef)(null),De=(0,he.useRef)(!1),Ve=nt.prefixCls,be=nt.open,_e=nt.mode,ft=nt.showSearch,yt=nt.tokenWithEnter,ht=nt.disabled,Xe=nt.prefix,Ke=nt.autoClearSearchValue,ut=nt.onSearch,fn=nt.onSearchSubmit,sn=nt.onToggleOpen,cn=nt.onInputKeyDown,Rn=nt.onInputBlur,Wn=nt.domRef;he.useImperativeHandle(Ce,function(){return{focus:function(hr){Re.current.focus(hr)},blur:function(){Re.current.blur()}}});var Yn=pt(0),Hn=(0,Se.Z)(Yn,2),Ln=Hn[0],kn=Hn[1],Un=function(hr){var rr=hr.which,mr=Re.current instanceof HTMLTextAreaElement;!mr&&be&&(rr===et.Z.UP||rr===et.Z.DOWN)&&hr.preventDefault(),cn&&cn(hr),rr===et.Z.ENTER&&_e==="tags"&&!De.current&&!be&&(fn==null||fn(hr.target.value)),!(mr&&!be&&~[et.Z.UP,et.Z.DOWN,et.Z.LEFT,et.Z.RIGHT].indexOf(rr))&&Tt(rr)&&sn(!0)},qn=function(){kn(!0)},Jn=(0,he.useRef)(null),$n=function(hr){ut(hr,!0,De.current)!==!1&&sn(!0)},Tn=function(){De.current=!0},tr=function(hr){De.current=!1,_e!=="combobox"&&$n(hr.target.value)},Cn=function(hr){var rr=hr.target.value;if(yt&&Jn.current&&/[\r\n]/.test(Jn.current)){var mr=Jn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");rr=rr.replace(mr,Jn.current)}Jn.current=null,$n(rr)},Gn=function(hr){var rr=hr.clipboardData,mr=rr==null?void 0:rr.getData("text");Jn.current=mr||""},ar=function(hr){var rr=hr.target;if(rr!==Re.current){var mr=document.body.style.msTouchAction!==void 0;mr?setTimeout(function(){Re.current.focus()}):Re.current.focus()}},or=function(hr){var rr=Ln();hr.target!==Re.current&&!rr&&!(_e==="combobox"&&ht)&&hr.preventDefault(),(_e!=="combobox"&&(!ft||!rr)||!be)&&(be&&Ke!==!1&&ut("",!0,!1),sn())},cr={inputRef:Re,onInputKeyDown:Un,onInputMouseDown:qn,onInputChange:Cn,onInputPaste:Gn,onInputCompositionStart:Tn,onInputCompositionEnd:tr,onInputBlur:Rn},yr=_e==="multiple"||_e==="tags"?he.createElement(jt,(0,E.Z)({},nt,cr)):he.createElement(Kt,(0,E.Z)({},nt,cr));return he.createElement("div",{ref:Wn,className:"".concat(Ve,"-selector"),onClick:ar,onMouseDown:or},Xe&&he.createElement("div",{className:"".concat(Ve,"-prefix")},Xe),yr)},Yt=he.forwardRef(je),vt=Yt,ae=re(68196),te=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ee=function(nt){var Ce=nt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ce,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ce,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ce,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ce,adjustY:1},htmlRegion:"scroll"}}},oe=function(nt,Ce){var Re=nt.prefixCls,De=nt.disabled,Ve=nt.visible,be=nt.children,_e=nt.popupElement,ft=nt.animation,yt=nt.transitionName,ht=nt.dropdownStyle,Xe=nt.dropdownClassName,Ke=nt.direction,ut=Ke===void 0?"ltr":Ke,fn=nt.placement,sn=nt.builtinPlacements,cn=nt.dropdownMatchSelectWidth,Rn=nt.dropdownRender,Wn=nt.dropdownAlign,Yn=nt.getPopupContainer,Hn=nt.empty,Ln=nt.getTriggerDOMNode,kn=nt.onPopupVisibleChange,Un=nt.onPopupMouseEnter,qn=(0,Ee.Z)(nt,te),Jn="".concat(Re,"-dropdown"),$n=_e;Rn&&($n=Rn(_e));var Tn=he.useMemo(function(){return sn||ee(cn)},[sn,cn]),tr=ft?"".concat(Jn,"-").concat(ft):yt,Cn=typeof cn=="number",Gn=he.useMemo(function(){return Cn?null:cn===!1?"minWidth":"width"},[cn,Cn]),ar=ht;Cn&&(ar=(0,Ye.Z)((0,Ye.Z)({},ar),{},{width:cn}));var or=he.useRef(null);return he.useImperativeHandle(Ce,function(){return{getPopupElement:function(){var yr;return(yr=or.current)===null||yr===void 0?void 0:yr.popupElement}}}),he.createElement(ae.Z,(0,E.Z)({},qn,{showAction:kn?["click"]:[],hideAction:kn?["click"]:[],popupPlacement:fn||(ut==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Tn,prefixCls:Jn,popupTransitionName:tr,popup:he.createElement("div",{onMouseEnter:Un},$n),ref:or,stretch:Gn,popupAlign:Wn,popupVisible:Ve,getPopupContainer:Yn,popupClassName:xe()(Xe,(0,ve.Z)({},"".concat(Jn,"-empty"),Hn)),popupStyle:ar,getTriggerDOMNode:Ln,onPopupVisibleChange:kn}),be)},se=he.forwardRef(oe),ne=se,pe=re(48745);function ye(ke,nt){var Ce=ke.key,Re;return"value"in ke&&(Re=ke.value),Ce!=null?Ce:Re!==void 0?Re:"rc-index-key-".concat(nt)}function lt(ke){return typeof ke!="undefined"&&!Number.isNaN(ke)}function Ae(ke,nt){var Ce=ke||{},Re=Ce.label,De=Ce.value,Ve=Ce.options,be=Ce.groupLabel,_e=Re||(nt?"children":"label");return{label:_e,value:De||"value",options:Ve||"options",groupLabel:be||_e}}function Ne(ke){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=nt.fieldNames,Re=nt.childrenAsData,De=[],Ve=Ae(Ce,!1),be=Ve.label,_e=Ve.value,ft=Ve.options,yt=Ve.groupLabel;function ht(Xe,Ke){Array.isArray(Xe)&&Xe.forEach(function(ut){if(Ke||!(ft in ut)){var fn=ut[_e];De.push({key:ye(ut,De.length),groupOption:Ke,data:ut,label:ut[be],value:fn})}else{var sn=ut[yt];sn===void 0&&Re&&(sn=ut.label),De.push({key:ye(ut,De.length),group:!0,data:ut,label:sn}),ht(ut[ft],!0)}})}return ht(ke,!1),De}function tt(ke){var nt=(0,Ye.Z)({},ke);return"props"in nt||Object.defineProperty(nt,"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`."),nt}}),nt}var Pt=function(nt,Ce,Re){if(!Ce||!Ce.length)return null;var De=!1,Ve=function _e(ft,yt){var ht=(0,pe.Z)(yt),Xe=ht[0],Ke=ht.slice(1);if(!Xe)return[ft];var ut=ft.split(Xe);return De=De||ut.length>1,ut.reduce(function(fn,sn){return[].concat((0,$e.Z)(fn),(0,$e.Z)(_e(sn,Ke)))},[]).filter(Boolean)},be=Ve(nt,Ce);return De?typeof Re!="undefined"?be.slice(0,Re):be:null},Ot=he.createContext(null),tn=Ot;function Ut(ke){var nt=ke.visible,Ce=ke.values;if(!nt)return null;var Re=50;return he.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ce.slice(0,Re).map(function(De){var Ve=De.label,be=De.value;return["number","string"].includes((0,Ie.Z)(Ve))?Ve:be}).join(", ")),Ce.length>Re?", ...":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"],ln=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Dt=function(nt){return nt==="tags"||nt==="multiple"},$t=he.forwardRef(function(ke,nt){var Ce,Re=ke.id,De=ke.prefixCls,Ve=ke.className,be=ke.showSearch,_e=ke.tagRender,ft=ke.direction,yt=ke.omitDomProps,ht=ke.displayValues,Xe=ke.onDisplayValuesChange,Ke=ke.emptyOptions,ut=ke.notFoundContent,fn=ut===void 0?"Not Found":ut,sn=ke.onClear,cn=ke.mode,Rn=ke.disabled,Wn=ke.loading,Yn=ke.getInputElement,Hn=ke.getRawInputElement,Ln=ke.open,kn=ke.defaultOpen,Un=ke.onDropdownVisibleChange,qn=ke.activeValue,Jn=ke.onActiveValueChange,$n=ke.activeDescendantId,Tn=ke.searchValue,tr=ke.autoClearSearchValue,Cn=ke.onSearch,Gn=ke.onSearchSplit,ar=ke.tokenSeparators,or=ke.allowClear,cr=ke.prefix,yr=ke.suffixIcon,dr=ke.clearIcon,hr=ke.OptionList,rr=ke.animation,mr=ke.transitionName,br=ke.dropdownStyle,Hr=ke.dropdownClassName,Er=ke.dropdownMatchSelectWidth,Tr=ke.dropdownRender,Pr=ke.dropdownAlign,Dr=ke.placement,sr=ke.builtinPlacements,lr=ke.getPopupContainer,nr=ke.showAction,gn=nr===void 0?[]:nr,Bn=ke.onFocus,Pn=ke.onBlur,pn=ke.onKeyUp,Xn=ke.onKeyDown,Qn=ke.onMouseDown,wn=(0,Ee.Z)(ke,Wt),mn=Dt(cn),Nn=(be!==void 0?be:mn)||cn==="combobox",Zn=(0,Ye.Z)({},wn);ln.forEach(function(Zr){delete Zn[Zr]}),yt==null||yt.forEach(function(Zr){delete Zn[Zr]});var fr=he.useState(!1),Mr=(0,Se.Z)(fr,2),Or=Mr[0],Fr=Mr[1];he.useEffect(function(){Fr((0,rt.Z)())},[]);var kr=he.useRef(null),Rr=he.useRef(null),Xr=he.useRef(null),jr=he.useRef(null),Yr=he.useRef(null),ti=he.useRef(!1),Ei=St(),Ni=(0,Se.Z)(Ei,3),xi=Ni[0],si=Ni[1],Fi=Ni[2];he.useImperativeHandle(nt,function(){var Zr,Br;return{focus:(Zr=jr.current)===null||Zr===void 0?void 0:Zr.focus,blur:(Br=jr.current)===null||Br===void 0?void 0:Br.blur,scrollTo:function(Ci){var ii;return(ii=Yr.current)===null||ii===void 0?void 0:ii.scrollTo(Ci)},nativeElement:kr.current||Rr.current}});var Wr=he.useMemo(function(){var Zr;if(cn!=="combobox")return Tn;var Br=(Zr=ht[0])===null||Zr===void 0?void 0:Zr.value;return typeof Br=="string"||typeof Br=="number"?String(Br):""},[Tn,cn,ht]),Ki=cn==="combobox"&&typeof Yn=="function"&&Yn()||null,_r=typeof Hn=="function"&&Hn(),xr=(0,ze.x1)(Rr,_r==null||(Ce=_r.props)===null||Ce===void 0?void 0:Ce.ref),zr=he.useState(!1),Gr=(0,Se.Z)(zr,2),wr=Gr[0],Nr=Gr[1];(0,At.Z)(function(){Nr(!0)},[]);var Lr=(0,Te.Z)(!1,{defaultValue:kn,value:Ln}),ui=(0,Se.Z)(Lr,2),Di=ui[0],fi=ui[1],ni=wr?Di:!1,xo=!fn&&Ke;(Rn||xo&&ni&&cn==="combobox")&&(ni=!1);var so=xo?!1:ni,vr=he.useCallback(function(Zr){var Br=Zr!==void 0?Zr:!ni;Rn||(fi(Br),ni!==Br&&(Un==null||Un(Br)))},[Rn,ni,fi,Un]),Ar=he.useMemo(function(){return(ar||[]).some(function(Zr){return[`
`,`\r
`].includes(Zr)})},[ar]),Cr=he.useContext(tn)||{},Sr=Cr.maxCount,Vr=Cr.rawValues,Jr=function(Br,yi,Ci){if(!(mn&&lt(Sr)&&(Vr==null?void 0:Vr.size)>=Sr)){var ii=!0,ci=Br;Jn==null||Jn(null);var Qi=Pt(Br,ar,lt(Sr)?Sr-Vr.size:void 0),Ui=Ci?null:Qi;return cn!=="combobox"&&Ui&&(ci="",Gn==null||Gn(Ui),vr(!1),ii=!1),Cn&&Wr!==ci&&Cn(ci,{source:yi?"typing":"effect"}),ii}},Yi=function(Br){!Br||!Br.trim()||Cn(Br,{source:"submit"})};he.useEffect(function(){!ni&&!mn&&cn!=="combobox"&&Jr("",!1,!1)},[ni]),he.useEffect(function(){Di&&Rn&&fi(!1),Rn&&!ti.current&&si(!1)},[Rn]);var Pi=pt(),gi=(0,Se.Z)(Pi,2),ri=gi[0],Gi=gi[1],eo=he.useRef(!1),Ri=function(Br){var yi=ri(),Ci=Br.key,ii=Ci==="Enter";if(ii&&(cn!=="combobox"&&Br.preventDefault(),ni||vr(!0)),Gi(!!Wr),Ci==="Backspace"&&!yi&&mn&&!Wr&&ht.length){for(var ci=(0,$e.Z)(ht),Qi=null,Ui=ci.length-1;Ui>=0;Ui-=1){var oo=ci[Ui];if(!oo.disabled){ci.splice(Ui,1),Qi=oo;break}}Qi&&Xe(ci,{type:"remove",values:[Qi]})}for(var zi=arguments.length,Hi=new Array(zi>1?zi-1:0),$i=1;$i<zi;$i++)Hi[$i-1]=arguments[$i];if(ni&&(!ii||!eo.current)){var co;ii&&(eo.current=!0),(co=Yr.current)===null||co===void 0||co.onKeyDown.apply(co,[Br].concat(Hi))}Xn==null||Xn.apply(void 0,[Br].concat(Hi))},to=function(Br){for(var yi=arguments.length,Ci=new Array(yi>1?yi-1:0),ii=1;ii<yi;ii++)Ci[ii-1]=arguments[ii];if(ni){var ci;(ci=Yr.current)===null||ci===void 0||ci.onKeyUp.apply(ci,[Br].concat(Ci))}Br.key==="Enter"&&(eo.current=!1),pn==null||pn.apply(void 0,[Br].concat(Ci))},io=function(Br){var yi=ht.filter(function(Ci){return Ci!==Br});Xe(yi,{type:"remove",values:[Br]})},Ji=function(){eo.current=!1},Mo=he.useRef(!1),Ga=function(){si(!0),Rn||(Bn&&!Mo.current&&Bn.apply(void 0,arguments),gn.includes("focus")&&vr(!0)),Mo.current=!0},ya=function(){ti.current=!0,si(!1,function(){Mo.current=!1,ti.current=!1,vr(!1)}),!Rn&&(Wr&&(cn==="tags"?Cn(Wr,{source:"submit"}):cn==="multiple"&&Cn("",{source:"blur"})),Pn&&Pn.apply(void 0,arguments))},no=[];he.useEffect(function(){return function(){no.forEach(function(Zr){return clearTimeout(Zr)}),no.splice(0,no.length)}},[]);var uo=function(Br){var yi,Ci=Br.target,ii=(yi=Xr.current)===null||yi===void 0?void 0:yi.getPopupElement();if(ii&&ii.contains(Ci)){var ci=setTimeout(function(){var zi=no.indexOf(ci);if(zi!==-1&&no.splice(zi,1),Fi(),!Or&&!ii.contains(document.activeElement)){var Hi;(Hi=jr.current)===null||Hi===void 0||Hi.focus()}});no.push(ci)}for(var Qi=arguments.length,Ui=new Array(Qi>1?Qi-1:0),oo=1;oo<Qi;oo++)Ui[oo-1]=arguments[oo];Qn==null||Qn.apply(void 0,[Br].concat(Ui))},Xi=he.useState({}),ba=(0,Se.Z)(Xi,2),xa=ba[1];function Xa(){xa({})}var Ca;_r&&(Ca=function(Br){vr(Br)}),ct(function(){var Zr;return[kr.current,(Zr=Xr.current)===null||Zr===void 0?void 0:Zr.getPopupElement()]},so,vr,!!_r);var Ua=he.useMemo(function(){return(0,Ye.Z)((0,Ye.Z)({},ke),{},{notFoundContent:fn,open:ni,triggerOpen:so,id:Re,showSearch:Nn,multiple:mn,toggleOpen:vr})},[ke,fn,so,ni,Re,Nn,mn,vr]),Ko=!!yr||Wn,Yo;Ko&&(Yo=he.createElement(We,{className:xe()("".concat(De,"-arrow"),(0,ve.Z)({},"".concat(De,"-arrow-loading"),Wn)),customizeIcon:yr,customizeIconProps:{loading:Wn,searchValue:Wr,open:ni,focused:xi,showSearch:Nn}}));var Co=function(){var Br;sn==null||sn(),(Br=jr.current)===null||Br===void 0||Br.focus(),Xe([],{type:"clear",values:ht}),Jr("",!1,!1)},Jo=Ct(De,Co,ht,or,dr,Rn,Wr,cn),wa=Jo.allowClear,Qo=Jo.clearIcon,Lo=he.createElement(hr,{ref:Yr}),Sa=xe()(De,Ve,(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({},"".concat(De,"-focused"),xi),"".concat(De,"-multiple"),mn),"".concat(De,"-single"),!mn),"".concat(De,"-allow-clear"),or),"".concat(De,"-show-arrow"),Ko),"".concat(De,"-disabled"),Rn),"".concat(De,"-loading"),Wn),"".concat(De,"-open"),ni),"".concat(De,"-customize-input"),Ki),"".concat(De,"-show-search"),Nn)),Io=he.createElement(ne,{ref:Xr,disabled:Rn,prefixCls:De,visible:so,popupElement:Lo,animation:rr,transitionName:mr,dropdownStyle:br,dropdownClassName:Hr,direction:ft,dropdownMatchSelectWidth:Er,dropdownRender:Tr,dropdownAlign:Pr,placement:Dr,builtinPlacements:sr,getPopupContainer:lr,empty:Ke,getTriggerDOMNode:function(Br){return Rr.current||Br},onPopupVisibleChange:Ca,onPopupMouseEnter:Xa},_r?he.cloneElement(_r,{ref:xr}):he.createElement(vt,(0,E.Z)({},ke,{domRef:Rr,prefixCls:De,inputElement:Ki,ref:jr,id:Re,prefix:cr,showSearch:Nn,autoClearSearchValue:tr,mode:cn,activeDescendantId:$n,tagRender:_e,values:ht,open:ni,onToggleOpen:vr,activeValue:qn,searchValue:Wr,onSearch:Jr,onSearchSubmit:Yi,onRemove:io,tokenWithEnter:Ar,onInputBlur:Ji}))),Bi;return _r?Bi=Io:Bi=he.createElement("div",(0,E.Z)({className:Sa},Zn,{ref:kr,onMouseDown:uo,onKeyDown:Ri,onKeyUp:to,onFocus:Ga,onBlur:ya}),he.createElement(Ut,{visible:xi&&!ni,values:ht}),Io,Yo,wa&&Qo),he.createElement(Nt.Provider,{value:Ua},Bi)}),wt=$t,en=function(){return null};en.isSelectOptGroup=!0;var kt=en,Me=function(){return null};Me.isSelectOption=!0;var Fe=Me,Bt=re(80547),Rt=re(2738),Oe=re(48911);function Ge(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var dt=["disabled","title","children","style","className"];function It(ke){return typeof ke=="string"||typeof ke=="number"}var qt=function(nt,Ce){var Re=Ft(),De=Re.prefixCls,Ve=Re.id,be=Re.open,_e=Re.multiple,ft=Re.mode,yt=Re.searchValue,ht=Re.toggleOpen,Xe=Re.notFoundContent,Ke=Re.onPopupScroll,ut=he.useContext(tn),fn=ut.maxCount,sn=ut.flattenOptions,cn=ut.onActiveValue,Rn=ut.defaultActiveFirstOption,Wn=ut.onSelect,Yn=ut.menuItemSelectedIcon,Hn=ut.rawValues,Ln=ut.fieldNames,kn=ut.virtual,Un=ut.direction,qn=ut.listHeight,Jn=ut.listItemHeight,$n=ut.optionRender,Tn="".concat(De,"-item"),tr=(0,Bt.Z)(function(){return sn},[be,sn],function(nr,gn){return gn[0]&&nr[1]!==gn[1]}),Cn=he.useRef(null),Gn=he.useMemo(function(){return _e&&lt(fn)&&(Hn==null?void 0:Hn.size)>=fn},[_e,fn,Hn==null?void 0:Hn.size]),ar=function(gn){gn.preventDefault()},or=function(gn){var Bn;(Bn=Cn.current)===null||Bn===void 0||Bn.scrollTo(typeof gn=="number"?{index:gn}:gn)},cr=he.useCallback(function(nr){return ft==="combobox"?!1:Hn.has(nr)},[ft,(0,$e.Z)(Hn).toString(),Hn.size]),yr=function(gn){for(var Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Pn=tr.length,pn=0;pn<Pn;pn+=1){var Xn=(gn+pn*Bn+Pn)%Pn,Qn=tr[Xn]||{},wn=Qn.group,mn=Qn.data;if(!wn&&!(mn!=null&&mn.disabled)&&(cr(mn.value)||!Gn))return Xn}return-1},dr=he.useState(function(){return yr(0)}),hr=(0,Se.Z)(dr,2),rr=hr[0],mr=hr[1],br=function(gn){var Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;mr(gn);var Pn={source:Bn?"keyboard":"mouse"},pn=tr[gn];if(!pn){cn(null,-1,Pn);return}cn(pn.value,gn,Pn)};(0,he.useEffect)(function(){br(Rn!==!1?yr(0):-1)},[tr.length,yt]);var Hr=he.useCallback(function(nr){return ft==="combobox"?String(nr).toLowerCase()===yt.toLowerCase():Hn.has(nr)},[ft,yt,(0,$e.Z)(Hn).toString(),Hn.size]);(0,he.useEffect)(function(){var nr=setTimeout(function(){if(!_e&&be&&Hn.size===1){var Bn=Array.from(Hn)[0],Pn=tr.findIndex(function(pn){var Xn=pn.data;return yt?String(Xn.value).startsWith(yt):Xn.value===Bn});Pn!==-1&&(br(Pn),or(Pn))}});if(be){var gn;(gn=Cn.current)===null||gn===void 0||gn.scrollTo(void 0)}return function(){return clearTimeout(nr)}},[be,yt]);var Er=function(gn){gn!==void 0&&Wn(gn,{selected:!Hn.has(gn)}),_e||ht(!1)};if(he.useImperativeHandle(Ce,function(){return{onKeyDown:function(gn){var Bn=gn.which,Pn=gn.ctrlKey;switch(Bn){case et.Z.N:case et.Z.P:case et.Z.UP:case et.Z.DOWN:{var pn=0;if(Bn===et.Z.UP?pn=-1:Bn===et.Z.DOWN?pn=1:Ge()&&Pn&&(Bn===et.Z.N?pn=1:Bn===et.Z.P&&(pn=-1)),pn!==0){var Xn=yr(rr+pn,pn);or(Xn),br(Xn,!0)}break}case et.Z.TAB:case et.Z.ENTER:{var Qn,wn=tr[rr];wn&&!(wn!=null&&(Qn=wn.data)!==null&&Qn!==void 0&&Qn.disabled)&&!Gn?Er(wn.value):Er(void 0),be&&gn.preventDefault();break}case et.Z.ESC:ht(!1),be&&gn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(gn){or(gn)}}}),tr.length===0)return he.createElement("div",{role:"listbox",id:"".concat(Ve,"_list"),className:"".concat(Tn,"-empty"),onMouseDown:ar},Xe);var Tr=Object.keys(Ln).map(function(nr){return Ln[nr]}),Pr=function(gn){return gn.label};function Dr(nr,gn){var Bn=nr.group;return{role:Bn?"presentation":"option",id:"".concat(Ve,"_list_").concat(gn)}}var sr=function(gn){var Bn=tr[gn];if(!Bn)return null;var Pn=Bn.data||{},pn=Pn.value,Xn=Bn.group,Qn=(0,st.Z)(Pn,!0),wn=Pr(Bn);return Bn?he.createElement("div",(0,E.Z)({"aria-label":typeof wn=="string"&&!Xn?wn:null},Qn,{key:gn},Dr(Bn,gn),{"aria-selected":Hr(pn)}),pn):null},lr={role:"listbox",id:"".concat(Ve,"_list")};return he.createElement(he.Fragment,null,kn&&he.createElement("div",(0,E.Z)({},lr,{style:{height:0,width:0,overflow:"hidden"}}),sr(rr-1),sr(rr),sr(rr+1)),he.createElement(Oe.Z,{itemKey:"key",ref:Cn,data:tr,height:qn,itemHeight:Jn,fullHeight:!1,onMouseDown:ar,onScroll:Ke,virtual:kn,direction:Un,innerProps:kn?null:lr},function(nr,gn){var Bn=nr.group,Pn=nr.groupOption,pn=nr.data,Xn=nr.label,Qn=nr.value,wn=pn.key;if(Bn){var mn,Nn=(mn=pn.title)!==null&&mn!==void 0?mn:It(Xn)?Xn.toString():void 0;return he.createElement("div",{className:xe()(Tn,"".concat(Tn,"-group"),pn.className),title:Nn},Xn!==void 0?Xn:wn)}var Zn=pn.disabled,fr=pn.title,Mr=pn.children,Or=pn.style,Fr=pn.className,kr=(0,Ee.Z)(pn,dt),Rr=(0,Rt.Z)(kr,Tr),Xr=cr(Qn),jr=Zn||!Xr&&Gn,Yr="".concat(Tn,"-option"),ti=xe()(Tn,Yr,Fr,(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({},"".concat(Yr,"-grouped"),Pn),"".concat(Yr,"-active"),rr===gn&&!jr),"".concat(Yr,"-disabled"),jr),"".concat(Yr,"-selected"),Xr)),Ei=Pr(nr),Ni=!Yn||typeof Yn=="function"||Xr,xi=typeof Ei=="number"?Ei:Ei||Qn,si=It(xi)?xi.toString():void 0;return fr!==void 0&&(si=fr),he.createElement("div",(0,E.Z)({},(0,st.Z)(Rr),kn?{}:Dr(nr,gn),{"aria-selected":Hr(Qn),className:ti,title:si,onMouseMove:function(){rr===gn||jr||br(gn)},onClick:function(){jr||Er(Qn)},style:Or}),he.createElement("div",{className:"".concat(Yr,"-content")},typeof $n=="function"?$n(nr,{index:gn}):xi),he.isValidElement(Yn)||Xr,Ni&&he.createElement(We,{className:"".concat(Tn,"-option-state"),customizeIcon:Yn,customizeIconProps:{value:Qn,disabled:jr,isSelected:Xr}},Xr?"\u2713":null))}))},hn=he.forwardRef(qt),Dn=hn,On=function(ke,nt){var Ce=he.useRef({values:new Map,options:new Map}),Re=he.useMemo(function(){var Ve=Ce.current,be=Ve.values,_e=Ve.options,ft=ke.map(function(Xe){if(Xe.label===void 0){var Ke;return(0,Ye.Z)((0,Ye.Z)({},Xe),{},{label:(Ke=be.get(Xe.value))===null||Ke===void 0?void 0:Ke.label})}return Xe}),yt=new Map,ht=new Map;return ft.forEach(function(Xe){yt.set(Xe.value,Xe),ht.set(Xe.value,nt.get(Xe.value)||_e.get(Xe.value))}),Ce.current.values=yt,Ce.current.options=ht,ft},[ke,nt]),De=he.useCallback(function(Ve){return nt.get(Ve)||Ce.current.options.get(Ve)},[nt]);return[Re,De]};function un(ke,nt){return Le(ke).join("").toUpperCase().includes(nt)}var yn=function(ke,nt,Ce,Re,De){return he.useMemo(function(){if(!Ce||Re===!1)return ke;var Ve=nt.options,be=nt.label,_e=nt.value,ft=[],yt=typeof Re=="function",ht=Ce.toUpperCase(),Xe=yt?Re:function(ut,fn){return De?un(fn[De],ht):fn[Ve]?un(fn[be!=="children"?be:"label"],ht):un(fn[_e],ht)},Ke=yt?function(ut){return tt(ut)}:function(ut){return ut};return ke.forEach(function(ut){if(ut[Ve]){var fn=Xe(Ce,Ke(ut));if(fn)ft.push(ut);else{var sn=ut[Ve].filter(function(cn){return Xe(Ce,Ke(cn))});sn.length&&ft.push((0,Ye.Z)((0,Ye.Z)({},ut),{},(0,ve.Z)({},Ve,sn)))}return}Xe(Ce,Ke(ut))&&ft.push(ut)}),ft},[ke,Re,De,Ce,nt])},vn=re(6551),Xt=re(11592),Zt=["children","value"],Vt=["children"];function Et(ke){var nt=ke,Ce=nt.key,Re=nt.props,De=Re.children,Ve=Re.value,be=(0,Ee.Z)(Re,Zt);return(0,Ye.Z)({key:Ce,value:Ve!==void 0?Ve:Ce,children:De},be)}function on(ke){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Xt.Z)(ke).map(function(Ce,Re){if(!he.isValidElement(Ce)||!Ce.type)return null;var De=Ce,Ve=De.type.isSelectOptGroup,be=De.key,_e=De.props,ft=_e.children,yt=(0,Ee.Z)(_e,Vt);return nt||!Ve?Et(Ce):(0,Ye.Z)((0,Ye.Z)({key:"__RC_SELECT_GRP__".concat(be===null?Re:be,"__"),label:be},yt),{},{options:on(ft)})}).filter(function(Ce){return Ce})}var an=function(nt,Ce,Re,De,Ve){return he.useMemo(function(){var be=nt,_e=!nt;_e&&(be=on(Ce));var ft=new Map,yt=new Map,ht=function(ut,fn,sn){sn&&typeof sn=="string"&&ut.set(fn[sn],fn)},Xe=function Ke(ut){for(var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=0;sn<ut.length;sn+=1){var cn=ut[sn];!cn[Re.options]||fn?(ft.set(cn[Re.value],cn),ht(yt,cn,Re.label),ht(yt,cn,De),ht(yt,cn,Ve)):Ke(cn[Re.options],!0)}};return Xe(be),{options:be,valueOptions:ft,labelOptions:yt}},[nt,Ce,Re,De,Ve])},rn=an;function En(ke){var nt=he.useRef();nt.current=ke;var Ce=he.useCallback(function(){return nt.current.apply(nt,arguments)},[]);return Ce}function Mn(ke){var nt=ke.mode,Ce=ke.options,Re=ke.children,De=ke.backfill,Ve=ke.allowClear,be=ke.placeholder,_e=ke.getInputElement,ft=ke.showSearch,yt=ke.onSearch,ht=ke.defaultOpen,Xe=ke.autoFocus,Ke=ke.labelInValue,ut=ke.value,fn=ke.inputValue,sn=ke.optionLabelProp,cn=isMultiple(nt),Rn=ft!==void 0?ft:cn||nt==="combobox",Wn=Ce||convertChildrenToData(Re);if(warning(nt!=="tags"||Wn.every(function(kn){return!kn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),nt==="tags"||nt==="combobox"){var Yn=Wn.some(function(kn){return kn.options?kn.options.some(function(Un){return typeof("value"in Un?Un.value:Un.key)=="number"}):typeof("value"in kn?kn.value:kn.key)=="number"});warning(!Yn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(nt!=="combobox"||!sn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(nt==="combobox"||!De,"`backfill` only works with `combobox` mode."),warning(nt==="combobox"||!_e,"`getInputElement` only work with `combobox` mode."),noteOnce(nt!=="combobox"||!_e||!Ve||!be,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),yt&&!Rn&&nt!=="combobox"&&nt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ht||Xe,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ut!=null){var Hn=toArray(ut);warning(!Ke||Hn.every(function(kn){return _typeof(kn)==="object"&&("key"in kn||"value"in kn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!cn||Array.isArray(ut),"`value` should be array when `mode` is `multiple` or `tags`")}if(Re){var Ln=null;toNodeArray(Re).some(function(kn){if(!React.isValidElement(kn)||!kn.type)return!1;var Un=kn,qn=Un.type;if(qn.isSelectOption)return!1;if(qn.isSelectOptGroup){var Jn=toNodeArray(kn.props.children).every(function($n){return!React.isValidElement($n)||!kn.type||$n.type.isSelectOption?!0:(Ln=$n.type,!1)});return!Jn}return Ln=qn,!0}),Ln&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ln.displayName||Ln.name||Ln,"`.")),warning(fn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function An(ke,nt){if(ke){var Ce=function Re(De){for(var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=0;be<De.length;be++){var _e=De[be];if(_e[nt==null?void 0:nt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ve&&Array.isArray(_e[nt==null?void 0:nt.options])&&Re(_e[nt==null?void 0:nt.options],!0))break}};Ce(ke)}}var Fn=null,In=["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"],jn=["inputValue"];function Vn(ke){return!ke||(0,Ie.Z)(ke)!=="object"}var zt=he.forwardRef(function(ke,nt){var Ce=ke.id,Re=ke.mode,De=ke.prefixCls,Ve=De===void 0?"rc-select":De,be=ke.backfill,_e=ke.fieldNames,ft=ke.inputValue,yt=ke.searchValue,ht=ke.onSearch,Xe=ke.autoClearSearchValue,Ke=Xe===void 0?!0:Xe,ut=ke.onSelect,fn=ke.onDeselect,sn=ke.dropdownMatchSelectWidth,cn=sn===void 0?!0:sn,Rn=ke.filterOption,Wn=ke.filterSort,Yn=ke.optionFilterProp,Hn=ke.optionLabelProp,Ln=ke.options,kn=ke.optionRender,Un=ke.children,qn=ke.defaultActiveFirstOption,Jn=ke.menuItemSelectedIcon,$n=ke.virtual,Tn=ke.direction,tr=ke.listHeight,Cn=tr===void 0?200:tr,Gn=ke.listItemHeight,ar=Gn===void 0?20:Gn,or=ke.labelRender,cr=ke.value,yr=ke.defaultValue,dr=ke.labelInValue,hr=ke.onChange,rr=ke.maxCount,mr=(0,Ee.Z)(ke,In),br=(0,vn.ZP)(Ce),Hr=Dt(Re),Er=!!(!Ln&&Un),Tr=he.useMemo(function(){return Rn===void 0&&Re==="combobox"?!1:Rn},[Rn,Re]),Pr=he.useMemo(function(){return Ae(_e,Er)},[JSON.stringify(_e),Er]),Dr=(0,Te.Z)("",{value:yt!==void 0?yt:ft,postState:function(Ar){return Ar||""}}),sr=(0,Se.Z)(Dr,2),lr=sr[0],nr=sr[1],gn=rn(Ln,Un,Pr,Yn,Hn),Bn=gn.valueOptions,Pn=gn.labelOptions,pn=gn.options,Xn=he.useCallback(function(vr){var Ar=Le(vr);return Ar.map(function(Cr){var Sr,Vr,Jr,Yi,Pi;if(Vn(Cr))Sr=Cr;else{var gi;Jr=Cr.key,Vr=Cr.label,Sr=(gi=Cr.value)!==null&&gi!==void 0?gi:Jr}var ri=Bn.get(Sr);if(ri){var Gi;if(Vr===void 0&&(Vr=ri==null?void 0:ri[Hn||Pr.label]),Jr===void 0&&(Jr=(Gi=ri==null?void 0:ri.key)!==null&&Gi!==void 0?Gi:Sr),Yi=ri==null?void 0:ri.disabled,Pi=ri==null?void 0:ri.title,0)var eo}return{label:Vr,value:Sr,key:Jr,disabled:Yi,title:Pi}})},[Pr,Hn,Bn]),Qn=(0,Te.Z)(yr,{value:cr}),wn=(0,Se.Z)(Qn,2),mn=wn[0],Nn=wn[1],Zn=he.useMemo(function(){var vr,Ar=Hr&&mn===null?[]:mn,Cr=Xn(Ar);return Re==="combobox"&&de((vr=Cr[0])===null||vr===void 0?void 0:vr.value)?[]:Cr},[mn,Xn,Re,Hr]),fr=On(Zn,Bn),Mr=(0,Se.Z)(fr,2),Or=Mr[0],Fr=Mr[1],kr=he.useMemo(function(){if(!Re&&Or.length===1){var vr=Or[0];if(vr.value===null&&(vr.label===null||vr.label===void 0))return[]}return Or.map(function(Ar){var Cr;return(0,Ye.Z)((0,Ye.Z)({},Ar),{},{label:(Cr=typeof or=="function"?or(Ar):Ar.label)!==null&&Cr!==void 0?Cr:Ar.value})})},[Re,Or,or]),Rr=he.useMemo(function(){return new Set(Or.map(function(vr){return vr.value}))},[Or]);he.useEffect(function(){if(Re==="combobox"){var vr,Ar=(vr=Or[0])===null||vr===void 0?void 0:vr.value;nr(we(Ar)?String(Ar):"")}},[Or]);var Xr=En(function(vr,Ar){var Cr=Ar!=null?Ar:vr;return(0,ve.Z)((0,ve.Z)({},Pr.value,vr),Pr.label,Cr)}),jr=he.useMemo(function(){if(Re!=="tags")return pn;var vr=(0,$e.Z)(pn),Ar=function(Sr){return Bn.has(Sr)};return(0,$e.Z)(Or).sort(function(Cr,Sr){return Cr.value<Sr.value?-1:1}).forEach(function(Cr){var Sr=Cr.value;Ar(Sr)||vr.push(Xr(Sr,Cr.label))}),vr},[Xr,pn,Bn,Or,Re]),Yr=yn(jr,Pr,lr,Tr,Yn),ti=he.useMemo(function(){return Re!=="tags"||!lr||Yr.some(function(vr){return vr[Yn||"value"]===lr})||Yr.some(function(vr){return vr[Pr.value]===lr})?Yr:[Xr(lr)].concat((0,$e.Z)(Yr))},[Xr,Yn,Re,Yr,lr,Pr]),Ei=function vr(Ar){var Cr=(0,$e.Z)(Ar).sort(function(Sr,Vr){return Wn(Sr,Vr,{searchValue:lr})});return Cr.map(function(Sr){return Array.isArray(Sr.options)?(0,Ye.Z)((0,Ye.Z)({},Sr),{},{options:Sr.options.length>0?vr(Sr.options):Sr.options}):Sr})},Ni=he.useMemo(function(){return Wn?Ei(ti):ti},[ti,Wn,lr]),xi=he.useMemo(function(){return Ne(Ni,{fieldNames:Pr,childrenAsData:Er})},[Ni,Pr,Er]),si=function(Ar){var Cr=Xn(Ar);if(Nn(Cr),hr&&(Cr.length!==Or.length||Cr.some(function(Jr,Yi){var Pi;return((Pi=Or[Yi])===null||Pi===void 0?void 0:Pi.value)!==(Jr==null?void 0:Jr.value)}))){var Sr=dr?Cr:Cr.map(function(Jr){return Jr.value}),Vr=Cr.map(function(Jr){return tt(Fr(Jr.value))});hr(Hr?Sr:Sr[0],Hr?Vr:Vr[0])}},Fi=he.useState(null),Wr=(0,Se.Z)(Fi,2),Ki=Wr[0],_r=Wr[1],xr=he.useState(0),zr=(0,Se.Z)(xr,2),Gr=zr[0],wr=zr[1],Nr=qn!==void 0?qn:Re!=="combobox",Lr=he.useCallback(function(vr,Ar){var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Sr=Cr.source,Vr=Sr===void 0?"keyboard":Sr;wr(Ar),be&&Re==="combobox"&&vr!==null&&Vr==="keyboard"&&_r(String(vr))},[be,Re]),ui=function(Ar,Cr,Sr){var Vr=function(){var io,Ji=Fr(Ar);return[dr?{label:Ji==null?void 0:Ji[Pr.label],value:Ar,key:(io=Ji==null?void 0:Ji.key)!==null&&io!==void 0?io:Ar}:Ar,tt(Ji)]};if(Cr&&ut){var Jr=Vr(),Yi=(0,Se.Z)(Jr,2),Pi=Yi[0],gi=Yi[1];ut(Pi,gi)}else if(!Cr&&fn&&Sr!=="clear"){var ri=Vr(),Gi=(0,Se.Z)(ri,2),eo=Gi[0],Ri=Gi[1];fn(eo,Ri)}},Di=En(function(vr,Ar){var Cr,Sr=Hr?Ar.selected:!0;Sr?Cr=Hr?[].concat((0,$e.Z)(Or),[vr]):[vr]:Cr=Or.filter(function(Vr){return Vr.value!==vr}),si(Cr),ui(vr,Sr),Re==="combobox"?_r(""):(!Dt||Ke)&&(nr(""),_r(""))}),fi=function(Ar,Cr){si(Ar);var Sr=Cr.type,Vr=Cr.values;(Sr==="remove"||Sr==="clear")&&Vr.forEach(function(Jr){ui(Jr.value,!1,Sr)})},ni=function(Ar,Cr){if(nr(Ar),_r(null),Cr.source==="submit"){var Sr=(Ar||"").trim();if(Sr){var Vr=Array.from(new Set([].concat((0,$e.Z)(Rr),[Sr])));si(Vr),ui(Sr,!0),nr("")}return}Cr.source!=="blur"&&(Re==="combobox"&&si(Ar),ht==null||ht(Ar))},xo=function(Ar){var Cr=Ar;Re!=="tags"&&(Cr=Ar.map(function(Vr){var Jr=Pn.get(Vr);return Jr==null?void 0:Jr.value}).filter(function(Vr){return Vr!==void 0}));var Sr=Array.from(new Set([].concat((0,$e.Z)(Rr),(0,$e.Z)(Cr))));si(Sr),Sr.forEach(function(Vr){ui(Vr,!0)})},so=he.useMemo(function(){var vr=$n!==!1&&cn!==!1;return(0,Ye.Z)((0,Ye.Z)({},gn),{},{flattenOptions:xi,onActiveValue:Lr,defaultActiveFirstOption:Nr,onSelect:Di,menuItemSelectedIcon:Jn,rawValues:Rr,fieldNames:Pr,virtual:vr,direction:Tn,listHeight:Cn,listItemHeight:ar,childrenAsData:Er,maxCount:rr,optionRender:kn})},[rr,gn,xi,Lr,Nr,Di,Jn,Rr,Pr,$n,cn,Tn,Cn,ar,Er,kn]);return he.createElement(tn.Provider,{value:so},he.createElement(wt,(0,E.Z)({},mr,{id:br,prefixCls:Ve,ref:nt,omitDomProps:jn,mode:Re,displayValues:kr,onDisplayValuesChange:fi,direction:Tn,searchValue:lr,onSearch:ni,autoClearSearchValue:Ke,onSearchSplit:xo,dropdownMatchSelectWidth:cn,OptionList:Dn,emptyOptions:!xi.length,activeValue:Ki,activeDescendantId:"".concat(br,"_list_").concat(Gr)})))}),nn=zt;nn.Option=Fe,nn.OptGroup=kt;var bn=nn,xn=bn},22711:function(dn,Jt,re){"use strict";re.r(Jt),re.d(Jt,{ResizableTextArea:function(){return Be},default:function(){return mt}});var E=re(60499),$e=re(18642),ve=re(85899),Ye=re(77654),Se=re(72190),Ee=re(42244),Ie=re(92310),Te=re.n(Ie),Pe=re(36901),he=re(66003),Ze=re(30292),xe=re(18929),At=re(59301),rt=re(43749),ze=re(29301),Ue=re(34280),We=re(16089),Ct=`
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;
`,Nt=["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"],Ft={},St;function pt(Le){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=Le.getAttribute("id")||Le.getAttribute("data-reactid")||Le.getAttribute("name");if(qe&&Ft[Ht])return Ft[Ht];var we=window.getComputedStyle(Le),de=we.getPropertyValue("box-sizing")||we.getPropertyValue("-moz-box-sizing")||we.getPropertyValue("-webkit-box-sizing"),xt=parseFloat(we.getPropertyValue("padding-bottom"))+parseFloat(we.getPropertyValue("padding-top")),Qt=parseFloat(we.getPropertyValue("border-bottom-width"))+parseFloat(we.getPropertyValue("border-top-width")),Mt=Nt.map(function(He){return"".concat(He,":").concat(we.getPropertyValue(He))}).join(";"),me={sizingStyle:Mt,paddingSize:xt,borderSize:Qt,boxSizing:de};return qe&&Ht&&(Ft[Ht]=me),me}function ct(Le){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;St||(St=document.createElement("textarea"),St.setAttribute("tab-index","-1"),St.setAttribute("aria-hidden","true"),St.setAttribute("name","hiddenTextarea"),document.body.appendChild(St)),Le.getAttribute("wrap")?St.setAttribute("wrap",Le.getAttribute("wrap")):St.removeAttribute("wrap");var de=pt(Le,qe),xt=de.paddingSize,Qt=de.borderSize,Mt=de.boxSizing,me=de.sizingStyle;St.setAttribute("style","".concat(me,";").concat(Ct)),St.value=Le.value||Le.placeholder||"";var He=void 0,Qe=void 0,jt,Lt=St.scrollHeight;if(Mt==="border-box"?Lt+=Qt:Mt==="content-box"&&(Lt-=xt),Ht!==null||we!==null){St.value=" ";var Kt=St.scrollHeight-xt;Ht!==null&&(He=Kt*Ht,Mt==="border-box"&&(He=He+xt+Qt),Lt=Math.max(He,Lt)),we!==null&&(Qe=Kt*we,Mt==="border-box"&&(Qe=Qe+xt+Qt),jt=Lt>Qe?"":"hidden",Lt=Math.min(Qe,Lt))}var je={height:Lt,overflowY:jt,resize:"none"};return He&&(je.minHeight=He),Qe&&(je.maxHeight=Qe),je}var et=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Tt=0,st=1,at=2,bt=At.forwardRef(function(Le,qe){var Ht=Le,we=Ht.prefixCls,de=Ht.defaultValue,xt=Ht.value,Qt=Ht.autoSize,Mt=Ht.onResize,me=Ht.className,He=Ht.style,Qe=Ht.disabled,jt=Ht.onChange,Lt=Ht.onInternalAutoSize,Kt=(0,Ee.Z)(Ht,et),je=(0,xe.Z)(de,{value:xt,postState:function(Fe){return Fe!=null?Fe:""}}),Yt=(0,Se.Z)(je,2),vt=Yt[0],ae=Yt[1],te=function(Fe){ae(Fe.target.value),jt==null||jt(Fe)},ee=At.useRef();At.useImperativeHandle(qe,function(){return{textArea:ee.current}});var oe=At.useMemo(function(){return Qt&&(0,rt.Z)(Qt)==="object"?[Qt.minRows,Qt.maxRows]:[]},[Qt]),se=(0,Se.Z)(oe,2),ne=se[0],pe=se[1],ye=!!Qt,lt=function(){try{if(document.activeElement===ee.current){var Fe=ee.current,Bt=Fe.selectionStart,Rt=Fe.selectionEnd,Oe=Fe.scrollTop;ee.current.setSelectionRange(Bt,Rt),ee.current.scrollTop=Oe}}catch(Ge){}},Ae=At.useState(at),Ne=(0,Se.Z)(Ae,2),tt=Ne[0],Pt=Ne[1],Ot=At.useState(),tn=(0,Se.Z)(Ot,2),Ut=tn[0],Wt=tn[1],ln=function(){Pt(Tt)};(0,Ue.Z)(function(){ye&&ln()},[xt,ne,pe,ye]),(0,Ue.Z)(function(){if(tt===Tt)Pt(st);else if(tt===st){var Me=ct(ee.current,!1,ne,pe);Pt(at),Wt(Me)}else lt()},[tt]);var Dt=At.useRef(),$t=function(){We.Z.cancel(Dt.current)},wt=function(Fe){tt===at&&(Mt==null||Mt(Fe),Qt&&($t(),Dt.current=(0,We.Z)(function(){ln()})))};At.useEffect(function(){return $t},[]);var en=ye?Ut:null,kt=(0,ve.Z)((0,ve.Z)({},He),en);return(tt===Tt||tt===st)&&(kt.overflowY="hidden",kt.overflowX="hidden"),At.createElement(ze.Z,{onResize:wt,disabled:!(Qt||Mt)},At.createElement("textarea",(0,E.Z)({},Kt,{ref:ee,style:kt,className:Te()(we,me,(0,$e.Z)({},"".concat(we,"-disabled"),Qe)),disabled:Qe,value:vt,onChange:te})))}),Be=bt,it=["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"],Je=At.forwardRef(function(Le,qe){var Ht,we=Le.defaultValue,de=Le.value,xt=Le.onFocus,Qt=Le.onBlur,Mt=Le.onChange,me=Le.allowClear,He=Le.maxLength,Qe=Le.onCompositionStart,jt=Le.onCompositionEnd,Lt=Le.suffix,Kt=Le.prefixCls,je=Kt===void 0?"rc-textarea":Kt,Yt=Le.showCount,vt=Le.count,ae=Le.className,te=Le.style,ee=Le.disabled,oe=Le.hidden,se=Le.classNames,ne=Le.styles,pe=Le.onResize,ye=Le.onClear,lt=Le.onPressEnter,Ae=Le.readOnly,Ne=Le.autoSize,tt=Le.onKeyDown,Pt=(0,Ee.Z)(Le,it),Ot=(0,xe.Z)(we,{value:de,defaultValue:we}),tn=(0,Se.Z)(Ot,2),Ut=tn[0],Wt=tn[1],ln=Ut==null?"":String(Ut),Dt=At.useState(!1),$t=(0,Se.Z)(Dt,2),wt=$t[0],en=$t[1],kt=At.useRef(!1),Me=At.useState(null),Fe=(0,Se.Z)(Me,2),Bt=Fe[0],Rt=Fe[1],Oe=(0,At.useRef)(null),Ge=(0,At.useRef)(null),dt=function(){var nn;return(nn=Ge.current)===null||nn===void 0?void 0:nn.textArea},It=function(){dt().focus()};(0,At.useImperativeHandle)(qe,function(){var zt;return{resizableTextArea:Ge.current,focus:It,blur:function(){dt().blur()},nativeElement:((zt=Oe.current)===null||zt===void 0?void 0:zt.nativeElement)||dt()}}),(0,At.useEffect)(function(){en(function(zt){return!ee&&zt})},[ee]);var qt=At.useState(null),hn=(0,Se.Z)(qt,2),Dn=hn[0],On=hn[1];At.useEffect(function(){if(Dn){var zt;(zt=dt()).setSelectionRange.apply(zt,(0,Ye.Z)(Dn))}},[Dn]);var un=(0,he.Z)(vt,Yt),yn=(Ht=un.max)!==null&&Ht!==void 0?Ht:He,vn=Number(yn)>0,Xt=un.strategy(ln),Zt=!!yn&&Xt>yn,Vt=function(nn,bn){var xn=bn;!kt.current&&un.exceedFormatter&&un.max&&un.strategy(bn)>un.max&&(xn=un.exceedFormatter(bn,{max:un.max}),bn!==xn&&On([dt().selectionStart||0,dt().selectionEnd||0])),Wt(xn),(0,Ze.rJ)(nn.currentTarget,nn,Mt,xn)},Et=function(nn){kt.current=!0,Qe==null||Qe(nn)},on=function(nn){kt.current=!1,Vt(nn,nn.currentTarget.value),jt==null||jt(nn)},an=function(nn){Vt(nn,nn.target.value)},rn=function(nn){nn.key==="Enter"&&lt&&lt(nn),tt==null||tt(nn)},En=function(nn){en(!0),xt==null||xt(nn)},Mn=function(nn){en(!1),Qt==null||Qt(nn)},An=function(nn){Wt(""),It(),(0,Ze.rJ)(dt(),nn,Mt)},Fn=Lt,In;un.show&&(un.showFormatter?In=un.showFormatter({value:ln,count:Xt,maxLength:yn}):In="".concat(Xt).concat(vn?" / ".concat(yn):""),Fn=At.createElement(At.Fragment,null,Fn,At.createElement("span",{className:Te()("".concat(je,"-data-count"),se==null?void 0:se.count),style:ne==null?void 0:ne.count},In)));var jn=function(nn){var bn;pe==null||pe(nn),(bn=dt())!==null&&bn!==void 0&&bn.style.height&&Rt(!0)},Vn=!Ne&&!Yt&&!me;return At.createElement(Pe.BaseInput,{ref:Oe,value:ln,allowClear:me,handleReset:An,suffix:Fn,prefixCls:je,classNames:(0,ve.Z)((0,ve.Z)({},se),{},{affixWrapper:Te()(se==null?void 0:se.affixWrapper,(0,$e.Z)((0,$e.Z)({},"".concat(je,"-show-count"),Yt),"".concat(je,"-textarea-allow-clear"),me))}),disabled:ee,focused:wt,className:Te()(ae,Zt&&"".concat(je,"-out-of-range")),style:(0,ve.Z)((0,ve.Z)({},te),Bt&&!Vn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof In=="string"?In:void 0}},hidden:oe,readOnly:Ae,onClear:ye},At.createElement(Be,(0,E.Z)({},Pt,{autoSize:Ne,maxLength:He,onKeyDown:rn,onChange:an,onFocus:En,onBlur:Mn,onCompositionStart:Et,onCompositionEnd:on,className:Te()(se==null?void 0:se.textarea),style:(0,ve.Z)((0,ve.Z)({},ne==null?void 0:ne.textarea),{},{resize:te==null?void 0:te.resize}),disabled:ee,prefixCls:je,onResize:jn,ref:Ge,readOnly:Ae})))}),ue=Je,mt=ue},48911:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return vt}});var E=re(60499),$e=re(43749),ve=re(85899),Ye=re(18642),Se=re(72190),Ee=re(42244),Ie=re(92310),Te=re.n(Ie),Pe=re(29301),he=re(70425),Ze=re(34280),xe=re(59301),At=re(4676),rt=xe.forwardRef(function(ae,te){var ee=ae.height,oe=ae.offsetY,se=ae.offsetX,ne=ae.children,pe=ae.prefixCls,ye=ae.onInnerResize,lt=ae.innerProps,Ae=ae.rtl,Ne=ae.extra,tt={},Pt={display:"flex",flexDirection:"column"};return oe!==void 0&&(tt={height:ee,position:"relative",overflow:"hidden"},Pt=(0,ve.Z)((0,ve.Z)({},Pt),{},(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({transform:"translateY(".concat(oe,"px)")},Ae?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),xe.createElement("div",{style:tt},xe.createElement(Pe.Z,{onResize:function(tn){var Ut=tn.offsetHeight;Ut&&ye&&ye()}},xe.createElement("div",(0,E.Z)({style:Pt,className:Te()((0,Ye.Z)({},"".concat(pe,"-holder-inner"),pe)),ref:te},lt),ne,Ne)))});rt.displayName="Filler";var ze=rt;function Ue(ae){var te=ae.children,ee=ae.setRef,oe=xe.useCallback(function(se){ee(se)},[]);return xe.cloneElement(te,{ref:oe})}function We(ae,te,ee,oe,se,ne,pe,ye){var lt=ye.getKey;return ae.slice(te,ee+1).map(function(Ae,Ne){var tt=te+Ne,Pt=pe(Ae,tt,{style:{width:oe},offsetX:se}),Ot=lt(Ae);return xe.createElement(Ue,{key:Ot,setRef:function(Ut){return ne(Ae,Ut)}},Pt)})}function Ct(ae,te,ee,oe){var se=ee-ae,ne=te-ee,pe=Math.min(se,ne)*2;if(oe<=pe){var ye=Math.floor(oe/2);return oe%2?ee+ye+1:ee-ye}return se>ne?ee-(oe-ne):ee+(oe-se)}function Nt(ae,te,ee){var oe=ae.length,se=te.length,ne,pe;if(oe===0&&se===0)return null;oe<se?(ne=ae,pe=te):(ne=te,pe=ae);var ye={__EMPTY_ITEM__:!0};function lt(tn){return tn!==void 0?ee(tn):ye}for(var Ae=null,Ne=Math.abs(oe-se)!==1,tt=0;tt<pe.length;tt+=1){var Pt=lt(ne[tt]),Ot=lt(pe[tt]);if(Pt!==Ot){Ae=tt,Ne=Ne||Pt!==lt(pe[tt+1]);break}}return Ae===null?null:{index:Ae,multiple:Ne}}function Ft(ae,te,ee){var oe=xe.useState(ae),se=(0,Se.Z)(oe,2),ne=se[0],pe=se[1],ye=xe.useState(null),lt=(0,Se.Z)(ye,2),Ae=lt[0],Ne=lt[1];return xe.useEffect(function(){var tt=Nt(ne||[],ae||[],te);(tt==null?void 0:tt.index)!==void 0&&(ee==null||ee(tt.index),Ne(ae[tt.index])),pe(ae)},[ae]),[Ae]}var St=re(16089),pt=(typeof navigator=="undefined"?"undefined":(0,$e.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ct=pt,et=function(ae,te,ee,oe){var se=(0,xe.useRef)(!1),ne=(0,xe.useRef)(null);function pe(){clearTimeout(ne.current),se.current=!0,ne.current=setTimeout(function(){se.current=!1},50)}var ye=(0,xe.useRef)({top:ae,bottom:te,left:ee,right:oe});return ye.current.top=ae,ye.current.bottom=te,ye.current.left=ee,ye.current.right=oe,function(lt,Ae){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,tt=lt?Ae<0&&ye.current.left||Ae>0&&ye.current.right:Ae<0&&ye.current.top||Ae>0&&ye.current.bottom;return Ne&&tt?(clearTimeout(ne.current),se.current=!1):(!tt||se.current)&&pe(),!se.current&&tt}};function Tt(ae,te,ee,oe,se,ne,pe){var ye=(0,xe.useRef)(0),lt=(0,xe.useRef)(null),Ae=(0,xe.useRef)(null),Ne=(0,xe.useRef)(!1),tt=et(te,ee,oe,se);function Pt(Dt,$t){if(St.Z.cancel(lt.current),!tt(!1,$t)){var wt=Dt;if(!wt._virtualHandled)wt._virtualHandled=!0;else return;ye.current+=$t,Ae.current=$t,ct||wt.preventDefault(),lt.current=(0,St.Z)(function(){var en=Ne.current?10:1;pe(ye.current*en,!1),ye.current=0})}}function Ot(Dt,$t){pe($t,!0),ct||Dt.preventDefault()}var tn=(0,xe.useRef)(null),Ut=(0,xe.useRef)(null);function Wt(Dt){if(ae){St.Z.cancel(Ut.current),Ut.current=(0,St.Z)(function(){tn.current=null},2);var $t=Dt.deltaX,wt=Dt.deltaY,en=Dt.shiftKey,kt=$t,Me=wt;(tn.current==="sx"||!tn.current&&en&&wt&&!$t)&&(kt=wt,Me=0,tn.current="sx");var Fe=Math.abs(kt),Bt=Math.abs(Me);tn.current===null&&(tn.current=ne&&Fe>Bt?"x":"y"),tn.current==="y"?Pt(Dt,Me):Ot(Dt,kt)}}function ln(Dt){ae&&(Ne.current=Dt.detail===Ae.current)}return[Wt,ln]}function st(ae,te,ee,oe){var se=xe.useMemo(function(){return[new Map,[]]},[ae,ee.id,oe]),ne=(0,Se.Z)(se,2),pe=ne[0],ye=ne[1],lt=function(Ne){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne,Pt=pe.get(Ne),Ot=pe.get(tt);if(Pt===void 0||Ot===void 0)for(var tn=ae.length,Ut=ye.length;Ut<tn;Ut+=1){var Wt,ln=ae[Ut],Dt=te(ln);pe.set(Dt,Ut);var $t=(Wt=ee.get(Dt))!==null&&Wt!==void 0?Wt:oe;if(ye[Ut]=(ye[Ut-1]||0)+$t,Dt===Ne&&(Pt=Ut),Dt===tt&&(Ot=Ut),Pt!==void 0&&Ot!==void 0)break}return{top:ye[Pt-1]||0,bottom:ye[Ot]}};return lt}var at=re(38705),bt=re(17212),Be=function(){function ae(){(0,at.Z)(this,ae),(0,Ye.Z)(this,"maps",void 0),(0,Ye.Z)(this,"id",0),(0,Ye.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,bt.Z)(ae,[{key:"set",value:function(ee,oe){this.diffRecords.set(ee,this.maps[ee]),this.maps[ee]=oe,this.id+=1}},{key:"get",value:function(ee){return this.maps[ee]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ae}(),it=Be;function Je(ae){var te=parseFloat(ae);return isNaN(te)?0:te}function ue(ae,te,ee){var oe=xe.useState(0),se=(0,Se.Z)(oe,2),ne=se[0],pe=se[1],ye=(0,xe.useRef)(new Map),lt=(0,xe.useRef)(new it),Ae=(0,xe.useRef)(0);function Ne(){Ae.current+=1}function tt(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ne();var tn=function(){var ln=!1;ye.current.forEach(function(Dt,$t){if(Dt&&Dt.offsetParent){var wt=Dt.offsetHeight,en=getComputedStyle(Dt),kt=en.marginTop,Me=en.marginBottom,Fe=Je(kt),Bt=Je(Me),Rt=wt+Fe+Bt;lt.current.get($t)!==Rt&&(lt.current.set($t,Rt),ln=!0)}}),ln&&pe(function(Dt){return Dt+1})};if(Ot)tn();else{Ae.current+=1;var Ut=Ae.current;Promise.resolve().then(function(){Ut===Ae.current&&tn()})}}function Pt(Ot,tn){var Ut=ae(Ot),Wt=ye.current.get(Ut);tn?(ye.current.set(Ut,tn),tt()):ye.current.delete(Ut),!Wt!=!tn&&(tn?te==null||te(Ot):ee==null||ee(Ot))}return(0,xe.useEffect)(function(){return Ne},[]),[Pt,tt,lt.current,ne]}var mt=14/15;function Le(ae,te,ee){var oe=(0,xe.useRef)(!1),se=(0,xe.useRef)(0),ne=(0,xe.useRef)(0),pe=(0,xe.useRef)(null),ye=(0,xe.useRef)(null),lt,Ae=function(Ot){if(oe.current){var tn=Math.ceil(Ot.touches[0].pageX),Ut=Math.ceil(Ot.touches[0].pageY),Wt=se.current-tn,ln=ne.current-Ut,Dt=Math.abs(Wt)>Math.abs(ln);Dt?se.current=tn:ne.current=Ut;var $t=ee(Dt,Dt?Wt:ln,!1,Ot);$t&&Ot.preventDefault(),clearInterval(ye.current),$t&&(ye.current=setInterval(function(){Dt?Wt*=mt:ln*=mt;var wt=Math.floor(Dt?Wt:ln);(!ee(Dt,wt,!0)||Math.abs(wt)<=.1)&&clearInterval(ye.current)},16))}},Ne=function(){oe.current=!1,lt()},tt=function(Ot){lt(),Ot.touches.length===1&&!oe.current&&(oe.current=!0,se.current=Math.ceil(Ot.touches[0].pageX),ne.current=Math.ceil(Ot.touches[0].pageY),pe.current=Ot.target,pe.current.addEventListener("touchmove",Ae,{passive:!1}),pe.current.addEventListener("touchend",Ne,{passive:!0}))};lt=function(){pe.current&&(pe.current.removeEventListener("touchmove",Ae),pe.current.removeEventListener("touchend",Ne))},(0,Ze.Z)(function(){return ae&&te.current.addEventListener("touchstart",tt,{passive:!0}),function(){var Pt;(Pt=te.current)===null||Pt===void 0||Pt.removeEventListener("touchstart",tt),lt(),clearInterval(ye.current)}},[ae])}function qe(ae){return Math.floor(Math.pow(ae,.5))}function Ht(ae,te){var ee="touches"in ae?ae.touches[0]:ae;return ee[te?"pageX":"pageY"]-window[te?"scrollX":"scrollY"]}function we(ae,te,ee){xe.useEffect(function(){var oe=te.current;if(ae&&oe){var se=!1,ne,pe,ye=function(){St.Z.cancel(ne)},lt=function Pt(){ye(),ne=(0,St.Z)(function(){ee(pe),Pt()})},Ae=function(){se=!1,ye()},Ne=function(Ot){if(!(Ot.target.draggable||Ot.button!==0)){var tn=Ot;tn._virtualHandled||(tn._virtualHandled=!0,se=!0)}},tt=function(Ot){if(se){var tn=Ht(Ot,!1),Ut=oe.getBoundingClientRect(),Wt=Ut.top,ln=Ut.bottom;if(tn<=Wt){var Dt=Wt-tn;pe=-qe(Dt),lt()}else if(tn>=ln){var $t=tn-ln;pe=qe($t),lt()}else ye()}};return oe.addEventListener("mousedown",Ne),oe.ownerDocument.addEventListener("mouseup",Ae),oe.ownerDocument.addEventListener("mousemove",tt),oe.ownerDocument.addEventListener("dragend",Ae),function(){oe.removeEventListener("mousedown",Ne),oe.ownerDocument.removeEventListener("mouseup",Ae),oe.ownerDocument.removeEventListener("mousemove",tt),oe.ownerDocument.removeEventListener("dragend",Ae),ye()}}},[ae])}var de=10;function xt(ae,te,ee,oe,se,ne,pe,ye){var lt=xe.useRef(),Ae=xe.useState(null),Ne=(0,Se.Z)(Ae,2),tt=Ne[0],Pt=Ne[1];return(0,Ze.Z)(function(){if(tt&&tt.times<de){if(!ae.current){Pt(function(un){return(0,ve.Z)({},un)});return}ne();var Ot=tt.targetAlign,tn=tt.originAlign,Ut=tt.index,Wt=tt.offset,ln=ae.current.clientHeight,Dt=!1,$t=Ot,wt=null;if(ln){for(var en=Ot||tn,kt=0,Me=0,Fe=0,Bt=Math.min(te.length-1,Ut),Rt=0;Rt<=Bt;Rt+=1){var Oe=se(te[Rt]);Me=kt;var Ge=ee.get(Oe);Fe=Me+(Ge===void 0?oe:Ge),kt=Fe}for(var dt=en==="top"?Wt:ln-Wt,It=Bt;It>=0;It-=1){var qt=se(te[It]),hn=ee.get(qt);if(hn===void 0){Dt=!0;break}if(dt-=hn,dt<=0)break}switch(en){case"top":wt=Me-Wt;break;case"bottom":wt=Fe-ln+Wt;break;default:{var Dn=ae.current.scrollTop,On=Dn+ln;Me<Dn?$t="top":Fe>On&&($t="bottom")}}wt!==null&&pe(wt),wt!==tt.lastTop&&(Dt=!0)}Dt&&Pt((0,ve.Z)((0,ve.Z)({},tt),{},{times:tt.times+1,targetAlign:$t,lastTop:wt}))}},[tt,ae.current]),function(Ot){if(Ot==null){ye();return}if(St.Z.cancel(lt.current),typeof Ot=="number")pe(Ot);else if(Ot&&(0,$e.Z)(Ot)==="object"){var tn,Ut=Ot.align;"index"in Ot?tn=Ot.index:tn=te.findIndex(function(Dt){return se(Dt)===Ot.key});var Wt=Ot.offset,ln=Wt===void 0?0:Wt;Pt({times:0,index:tn,offset:ln,originAlign:Ut})}}}var Qt=xe.forwardRef(function(ae,te){var ee=ae.prefixCls,oe=ae.rtl,se=ae.scrollOffset,ne=ae.scrollRange,pe=ae.onStartMove,ye=ae.onStopMove,lt=ae.onScroll,Ae=ae.horizontal,Ne=ae.spinSize,tt=ae.containerSize,Pt=ae.style,Ot=ae.thumbStyle,tn=ae.showScrollBar,Ut=xe.useState(!1),Wt=(0,Se.Z)(Ut,2),ln=Wt[0],Dt=Wt[1],$t=xe.useState(null),wt=(0,Se.Z)($t,2),en=wt[0],kt=wt[1],Me=xe.useState(null),Fe=(0,Se.Z)(Me,2),Bt=Fe[0],Rt=Fe[1],Oe=!oe,Ge=xe.useRef(),dt=xe.useRef(),It=xe.useState(tn),qt=(0,Se.Z)(It,2),hn=qt[0],Dn=qt[1],On=xe.useRef(),un=function(){tn===!0||tn===!1||(clearTimeout(On.current),Dn(!0),On.current=setTimeout(function(){Dn(!1)},3e3))},yn=ne-tt||0,vn=tt-Ne||0,Xt=xe.useMemo(function(){if(se===0||yn===0)return 0;var An=se/yn;return An*vn},[se,yn,vn]),Zt=function(Fn){Fn.stopPropagation(),Fn.preventDefault()},Vt=xe.useRef({top:Xt,dragging:ln,pageY:en,startTop:Bt});Vt.current={top:Xt,dragging:ln,pageY:en,startTop:Bt};var Et=function(Fn){Dt(!0),kt(Ht(Fn,Ae)),Rt(Vt.current.top),pe(),Fn.stopPropagation(),Fn.preventDefault()};xe.useEffect(function(){var An=function(Vn){Vn.preventDefault()},Fn=Ge.current,In=dt.current;return Fn.addEventListener("touchstart",An,{passive:!1}),In.addEventListener("touchstart",Et,{passive:!1}),function(){Fn.removeEventListener("touchstart",An),In.removeEventListener("touchstart",Et)}},[]);var on=xe.useRef();on.current=yn;var an=xe.useRef();an.current=vn,xe.useEffect(function(){if(ln){var An,Fn=function(Vn){var zt=Vt.current,nn=zt.dragging,bn=zt.pageY,xn=zt.startTop;St.Z.cancel(An);var ke=Ge.current.getBoundingClientRect(),nt=tt/(Ae?ke.width:ke.height);if(nn){var Ce=(Ht(Vn,Ae)-bn)*nt,Re=xn;!Oe&&Ae?Re-=Ce:Re+=Ce;var De=on.current,Ve=an.current,be=Ve?Re/Ve:0,_e=Math.ceil(be*De);_e=Math.max(_e,0),_e=Math.min(_e,De),An=(0,St.Z)(function(){lt(_e,Ae)})}},In=function(){Dt(!1),ye()};return window.addEventListener("mousemove",Fn,{passive:!0}),window.addEventListener("touchmove",Fn,{passive:!0}),window.addEventListener("mouseup",In,{passive:!0}),window.addEventListener("touchend",In,{passive:!0}),function(){window.removeEventListener("mousemove",Fn),window.removeEventListener("touchmove",Fn),window.removeEventListener("mouseup",In),window.removeEventListener("touchend",In),St.Z.cancel(An)}}},[ln]),xe.useEffect(function(){return un(),function(){clearTimeout(On.current)}},[se]),xe.useImperativeHandle(te,function(){return{delayHidden:un}});var rn="".concat(ee,"-scrollbar"),En={position:"absolute",visibility:hn?null:"hidden"},Mn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Ae?(Object.assign(En,{height:8,left:0,right:0,bottom:0}),Object.assign(Mn,(0,Ye.Z)({height:"100%",width:Ne},Oe?"left":"right",Xt))):(Object.assign(En,(0,Ye.Z)({width:8,top:0,bottom:0},Oe?"right":"left",0)),Object.assign(Mn,{width:"100%",height:Ne,top:Xt})),xe.createElement("div",{ref:Ge,className:Te()(rn,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(rn,"-horizontal"),Ae),"".concat(rn,"-vertical"),!Ae),"".concat(rn,"-visible"),hn)),style:(0,ve.Z)((0,ve.Z)({},En),Pt),onMouseDown:Zt,onMouseMove:un},xe.createElement("div",{ref:dt,className:Te()("".concat(rn,"-thumb"),(0,Ye.Z)({},"".concat(rn,"-thumb-moving"),ln)),style:(0,ve.Z)((0,ve.Z)({},Mn),Ot),onMouseDown:Et}))}),Mt=Qt,me=20;function He(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ee=ae/te*ae;return isNaN(ee)&&(ee=0),ee=Math.max(ee,me),Math.floor(ee)}var Qe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],jt=[],Lt={overflowY:"auto",overflowAnchor:"none"};function Kt(ae,te){var ee=ae.prefixCls,oe=ee===void 0?"rc-virtual-list":ee,se=ae.className,ne=ae.height,pe=ae.itemHeight,ye=ae.fullHeight,lt=ye===void 0?!0:ye,Ae=ae.style,Ne=ae.data,tt=ae.children,Pt=ae.itemKey,Ot=ae.virtual,tn=ae.direction,Ut=ae.scrollWidth,Wt=ae.component,ln=Wt===void 0?"div":Wt,Dt=ae.onScroll,$t=ae.onVirtualScroll,wt=ae.onVisibleChange,en=ae.innerProps,kt=ae.extraRender,Me=ae.styles,Fe=ae.showScrollBar,Bt=Fe===void 0?"optional":Fe,Rt=(0,Ee.Z)(ae,Qe),Oe=xe.useCallback(function(gn){return typeof Pt=="function"?Pt(gn):gn==null?void 0:gn[Pt]},[Pt]),Ge=ue(Oe,null,null),dt=(0,Se.Z)(Ge,4),It=dt[0],qt=dt[1],hn=dt[2],Dn=dt[3],On=!!(Ot!==!1&&ne&&pe),un=xe.useMemo(function(){return Object.values(hn.maps).reduce(function(gn,Bn){return gn+Bn},0)},[hn.id,hn.maps]),yn=On&&Ne&&(Math.max(pe*Ne.length,un)>ne||!!Ut),vn=tn==="rtl",Xt=Te()(oe,(0,Ye.Z)({},"".concat(oe,"-rtl"),vn),se),Zt=Ne||jt,Vt=(0,xe.useRef)(),Et=(0,xe.useRef)(),on=(0,xe.useRef)(),an=(0,xe.useState)(0),rn=(0,Se.Z)(an,2),En=rn[0],Mn=rn[1],An=(0,xe.useState)(0),Fn=(0,Se.Z)(An,2),In=Fn[0],jn=Fn[1],Vn=(0,xe.useState)(!1),zt=(0,Se.Z)(Vn,2),nn=zt[0],bn=zt[1],xn=function(){bn(!0)},ke=function(){bn(!1)},nt={getKey:Oe};function Ce(gn){Mn(function(Bn){var Pn;typeof gn=="function"?Pn=gn(Bn):Pn=gn;var pn=qn(Pn);return Vt.current.scrollTop=pn,pn})}var Re=(0,xe.useRef)({start:0,end:Zt.length}),De=(0,xe.useRef)(),Ve=Ft(Zt,Oe),be=(0,Se.Z)(Ve,1),_e=be[0];De.current=_e;var ft=xe.useMemo(function(){if(!On)return{scrollHeight:void 0,start:0,end:Zt.length-1,offset:void 0};if(!yn){var gn;return{scrollHeight:((gn=Et.current)===null||gn===void 0?void 0:gn.offsetHeight)||0,start:0,end:Zt.length-1,offset:void 0}}for(var Bn=0,Pn,pn,Xn,Qn=Zt.length,wn=0;wn<Qn;wn+=1){var mn=Zt[wn],Nn=Oe(mn),Zn=hn.get(Nn),fr=Bn+(Zn===void 0?pe:Zn);fr>=En&&Pn===void 0&&(Pn=wn,pn=Bn),fr>En+ne&&Xn===void 0&&(Xn=wn),Bn=fr}return Pn===void 0&&(Pn=0,pn=0,Xn=Math.ceil(ne/pe)),Xn===void 0&&(Xn=Zt.length-1),Xn=Math.min(Xn+1,Zt.length-1),{scrollHeight:Bn,start:Pn,end:Xn,offset:pn}},[yn,On,En,Zt,Dn,ne]),yt=ft.scrollHeight,ht=ft.start,Xe=ft.end,Ke=ft.offset;Re.current.start=ht,Re.current.end=Xe,xe.useLayoutEffect(function(){var gn=hn.getRecord();if(gn.size===1){var Bn=Array.from(gn.keys())[0],Pn=gn.get(Bn),pn=Zt[ht];if(pn&&Pn===void 0){var Xn=Oe(pn);if(Xn===Bn){var Qn=hn.get(Bn),wn=Qn-pe;Ce(function(mn){return mn+wn})}}}hn.resetRecord()},[yt]);var ut=xe.useState({width:0,height:ne}),fn=(0,Se.Z)(ut,2),sn=fn[0],cn=fn[1],Rn=function(Bn){cn({width:Bn.offsetWidth,height:Bn.offsetHeight})},Wn=(0,xe.useRef)(),Yn=(0,xe.useRef)(),Hn=xe.useMemo(function(){return He(sn.width,Ut)},[sn.width,Ut]),Ln=xe.useMemo(function(){return He(sn.height,yt)},[sn.height,yt]),kn=yt-ne,Un=(0,xe.useRef)(kn);Un.current=kn;function qn(gn){var Bn=gn;return Number.isNaN(Un.current)||(Bn=Math.min(Bn,Un.current)),Bn=Math.max(Bn,0),Bn}var Jn=En<=0,$n=En>=kn,Tn=In<=0,tr=In>=Ut,Cn=et(Jn,$n,Tn,tr),Gn=function(){return{x:vn?-In:In,y:En}},ar=(0,xe.useRef)(Gn()),or=(0,he.zX)(function(gn){if($t){var Bn=(0,ve.Z)((0,ve.Z)({},Gn()),gn);(ar.current.x!==Bn.x||ar.current.y!==Bn.y)&&($t(Bn),ar.current=Bn)}});function cr(gn,Bn){var Pn=gn;Bn?((0,At.flushSync)(function(){jn(Pn)}),or()):Ce(Pn)}function yr(gn){var Bn=gn.currentTarget.scrollTop;Bn!==En&&Ce(Bn),Dt==null||Dt(gn),or()}var dr=function(Bn){var Pn=Bn,pn=Ut?Ut-sn.width:0;return Pn=Math.max(Pn,0),Pn=Math.min(Pn,pn),Pn},hr=(0,he.zX)(function(gn,Bn){Bn?((0,At.flushSync)(function(){jn(function(Pn){var pn=Pn+(vn?-gn:gn);return dr(pn)})}),or()):Ce(function(Pn){var pn=Pn+gn;return pn})}),rr=Tt(On,Jn,$n,Tn,tr,!!Ut,hr),mr=(0,Se.Z)(rr,2),br=mr[0],Hr=mr[1];Le(On,Vt,function(gn,Bn,Pn,pn){var Xn=pn;return Cn(gn,Bn,Pn)?!1:!Xn||!Xn._virtualHandled?(Xn&&(Xn._virtualHandled=!0),br({preventDefault:function(){},deltaX:gn?Bn:0,deltaY:gn?0:Bn}),!0):!1}),we(yn,Vt,function(gn){Ce(function(Bn){return Bn+gn})}),(0,Ze.Z)(function(){function gn(Pn){var pn=Jn&&Pn.detail<0,Xn=$n&&Pn.detail>0;On&&!pn&&!Xn&&Pn.preventDefault()}var Bn=Vt.current;return Bn.addEventListener("wheel",br,{passive:!1}),Bn.addEventListener("DOMMouseScroll",Hr,{passive:!0}),Bn.addEventListener("MozMousePixelScroll",gn,{passive:!1}),function(){Bn.removeEventListener("wheel",br),Bn.removeEventListener("DOMMouseScroll",Hr),Bn.removeEventListener("MozMousePixelScroll",gn)}},[On,Jn,$n]),(0,Ze.Z)(function(){if(Ut){var gn=dr(In);jn(gn),or({x:gn})}},[sn.width,Ut]);var Er=function(){var Bn,Pn;(Bn=Wn.current)===null||Bn===void 0||Bn.delayHidden(),(Pn=Yn.current)===null||Pn===void 0||Pn.delayHidden()},Tr=xt(Vt,Zt,hn,pe,Oe,function(){return qt(!0)},Ce,Er);xe.useImperativeHandle(te,function(){return{nativeElement:on.current,getScrollInfo:Gn,scrollTo:function(Bn){function Pn(pn){return pn&&(0,$e.Z)(pn)==="object"&&("left"in pn||"top"in pn)}Pn(Bn)?(Bn.left!==void 0&&jn(dr(Bn.left)),Tr(Bn.top)):Tr(Bn)}}}),(0,Ze.Z)(function(){if(wt){var gn=Zt.slice(ht,Xe+1);wt(gn,Zt)}},[ht,Xe,Zt]);var Pr=st(Zt,Oe,hn,pe),Dr=kt==null?void 0:kt({start:ht,end:Xe,virtual:yn,offsetX:In,offsetY:Ke,rtl:vn,getSize:Pr}),sr=We(Zt,ht,Xe,Ut,In,It,tt,nt),lr=null;ne&&(lr=(0,ve.Z)((0,Ye.Z)({},lt?"height":"maxHeight",ne),Lt),On&&(lr.overflowY="hidden",Ut&&(lr.overflowX="hidden"),nn&&(lr.pointerEvents="none")));var nr={};return vn&&(nr.dir="rtl"),xe.createElement("div",(0,E.Z)({ref:on,style:(0,ve.Z)((0,ve.Z)({},Ae),{},{position:"relative"}),className:Xt},nr,Rt),xe.createElement(Pe.Z,{onResize:Rn},xe.createElement(ln,{className:"".concat(oe,"-holder"),style:lr,ref:Vt,onScroll:yr,onMouseEnter:Er},xe.createElement(ze,{prefixCls:oe,height:yt,offsetX:In,offsetY:Ke,scrollWidth:Ut,onInnerResize:qt,ref:Et,innerProps:en,rtl:vn,extra:Dr},sr))),yn&&yt>ne&&xe.createElement(Mt,{ref:Wn,prefixCls:oe,scrollOffset:En,scrollRange:yt,rtl:vn,onScroll:cr,onStartMove:xn,onStopMove:ke,spinSize:Ln,containerSize:sn.height,style:Me==null?void 0:Me.verticalScrollBar,thumbStyle:Me==null?void 0:Me.verticalScrollBarThumb,showScrollBar:Bt}),yn&&Ut>sn.width&&xe.createElement(Mt,{ref:Yn,prefixCls:oe,scrollOffset:In,scrollRange:Ut,rtl:vn,onScroll:cr,onStartMove:xn,onStopMove:ke,spinSize:Hn,containerSize:sn.width,horizontal:!0,style:Me==null?void 0:Me.horizontalScrollBar,thumbStyle:Me==null?void 0:Me.horizontalScrollBarThumb,showScrollBar:Bt}))}var je=xe.forwardRef(Kt);je.displayName="List";var Yt=je,vt=Yt},4977:function(dn){"use strict";dn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJ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L6hy3yI1DwGi3pRYDG8BkAlI6YxoqERKmJqh0dNudFhNdoaSECSlgtBLdW1cYYkhjPQtIORnsYX5TEAqmMu5Y6R7WAbO733KkLXAlISoy0SemJJMWEC8dUamou4PXUpg9DPWi1+VpjDLMK0bWCJMZIrMGLJEcy44vX6LGjZHNDCYipqUhIfNEJc4x2JXqJ+8bwV0SE32lJIQJKWCmclCRd8m1lJKpASqN6aRMaNwMC6Y2bA1Q5eT1ffN/N/mWBvxIJiGfogr9U17gLRyLiixIRyYikRELiZzzOUtCduSSrLH3XKGGlb06a3iNf9WR8fBIX/wYv/h/Y0ILvmHItuJbvgxd3PvkiQQYvkh/XUJDtKCBFewwBofAzkgXJhp/xffDibhpfNF4HL5IP39NuxL9MiMD3/Mvv+N5+Tauq1vSlk7oK/x9GzthFmz90vwAAAABJRU5ErkJggg=="},55351:function(dn){"use strict";dn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAQABJREFUeAHs3QfYddlVF/AXHAt2saIoX+wVxAIIChM0ININRYzKKFFBggokFghk6KYQEgQFRBiBQEAgRIICUsaKWMBYscHYsPcGqFzXb0/+J+vu75R73++bCfq4nufe3dZea+21yzlrt3Nz8zi8cTlfWL/vrN/pify93uu93unLv/zLT3vwZV/2Zafv//2//yLHz/pZP+v0j//xP97LcvrNv/k3L/jk/+2//bfv4v/Tf/pPT7/kl/ySJc8P/IE/8PQn/sSfOMvzB/7AH1jS13Ty83/+zz/983/+z5c8/+E//IfTr/gVv2I3z0znV//qX336b//tvy00Zs//+B//4/TO7/zOuzR//a//9af/9b/+15L1z/7ZP3v6MT/mx+zmmeWYw7/m1/ya03//7/99oTl7yPyO7/iOZzw+/dM/fUY7C5PrR/7IH7nk+Yk/8See/tbf+lsLzv/8n//z9D7v8z5L+izTWviX/tJfevpn/+yfLTT+43/8j6d3eId3WGhob5/5mZ+5pPN87ud+7pK+RnOO0xa1yT3Qpl//9V//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TQw2k6vsjEVXXwnMF+b1sC4IeKs2RCgUxjcW/bVf+7WNtYvLHLqQBt/hcuPovL6iXR9qe632fm/2Q7P2yS4rz0b4kZ4333xzjM9mMiojXTUYmx8cric7+xhb/uiP/ugmZ8+r7HXivSPq6Xt+X/T7sz/7s6WubGrCyZiXnfBgw34flrhf/uVfHmU3P/HwVI7KB86ebOruz//8z48Om65oOmTg8EEaSZdfujF4fWx7NFg4ytMcgQcAGuBLNQEaYL/PfOYzQ075/Xx10qYUaXSlIxuuAA5Qt8ztyC+PQyrqivS5s2EPk64/9mM/1icc/0MDfq9+H63fmDzKyRfhDwMI6mIzv4DZziiZuHtcND1d/QLoa8QMC4QVdkDBmXF3a0RAr9zB01fjDDBqf4IobJW00+g3Jibfy3b3xszh4+nrCWSGM6ByOV31MsFM9tFstnE722SiKryVVyqtnVYmu/YgT7m9dGVgV1QHu9bq6/Y96spPHnXDExew1b/+6/+uWfcvXuFFRpHeNPptLmb5TVzdAy4E7JcCOs11REN9M98RKHneMwb+RP3GXrbHNJoQvdftRklevdGtsqzwxM3xGmh/9fBmMENPl6Zn7CDccfjnnpLsHZ7TePhK+AxP/HVa1ecXglmWECFnf/qoCP/1X9e6Bfc2NzKvXBTW8RrXf/7ntX0G9gdPJP488fZovP7681du+LfA87qwlotten1Qhh/5yLPRpbRenx7SeiYBuZ+X9bFUyvdZGZPnduh1r+T4P9WYP6EB/3v1PF9b7v+qCuB1+pXCcwM8G+hj1uPCvFfG7pc+h5MnrvQZ5xYec57Qi4tGp9P9cIRnGs8LNYUVN1RHzvrr84kv1oJneZ5zIHfoP6vEH/nIbZOVz/V5lu8ZzfhXLj6reDnFH8FDOa9psXHoH9G5TrtcwvdIruDI+1wOfbj88++5XNd2vebcQ+H9jP7z/J1vx1/7qzy00Wqr/+Nra8z+7/8X8NWrfSOUc+sAAAAASUVORK5CYII="},16722:function(dn,Jt,re){"use strict";re.d(Jt,{Z:function(){return Te}});const E=Pe=>typeof Pe=="object"&&Pe!=null&&Pe.nodeType===1,$e=(Pe,he)=>(!he||Pe!=="hidden")&&Pe!=="visible"&&Pe!=="clip",ve=(Pe,he)=>{if(Pe.clientHeight<Pe.scrollHeight||Pe.clientWidth<Pe.scrollWidth){const Ze=getComputedStyle(Pe,null);return $e(Ze.overflowY,he)||$e(Ze.overflowX,he)||(xe=>{const At=(rt=>{if(!rt.ownerDocument||!rt.ownerDocument.defaultView)return null;try{return rt.ownerDocument.defaultView.frameElement}catch(ze){return null}})(xe);return!!At&&(At.clientHeight<xe.scrollHeight||At.clientWidth<xe.scrollWidth)})(Pe)}return!1},Ye=(Pe,he,Ze,xe,At,rt,ze,Ue)=>rt<Pe&&ze>he||rt>Pe&&ze<he?0:rt<=Pe&&Ue<=Ze||ze>=he&&Ue>=Ze?rt-Pe-xe:ze>he&&Ue<Ze||rt<Pe&&Ue>Ze?ze-he+At:0,Se=Pe=>{const he=Pe.parentElement;return he==null?Pe.getRootNode().host||null:he},Ee=(Pe,he)=>{var Ze,xe,At,rt;if(typeof document=="undefined")return[];const{scrollMode:ze,block:Ue,inline:We,boundary:Ct,skipOverflowHiddenElements:Nt}=he,Ft=typeof Ct=="function"?Ct:Mt=>Mt!==Ct;if(!E(Pe))throw new TypeError("Invalid target");const St=document.scrollingElement||document.documentElement,pt=[];let ct=Pe;for(;E(ct)&&Ft(ct);){if(ct=Se(ct),ct===St){pt.push(ct);break}ct!=null&&ct===document.body&&ve(ct)&&!ve(document.documentElement)||ct!=null&&ve(ct,Nt)&&pt.push(ct)}const et=(xe=(Ze=window.visualViewport)==null?void 0:Ze.width)!=null?xe:innerWidth,Tt=(rt=(At=window.visualViewport)==null?void 0:At.height)!=null?rt:innerHeight,{scrollX:st,scrollY:at}=window,{height:bt,width:Be,top:it,right:Je,bottom:ue,left:mt}=Pe.getBoundingClientRect(),{top:Le,right:qe,bottom:Ht,left:we}=(Mt=>{const me=window.getComputedStyle(Mt);return{top:parseFloat(me.scrollMarginTop)||0,right:parseFloat(me.scrollMarginRight)||0,bottom:parseFloat(me.scrollMarginBottom)||0,left:parseFloat(me.scrollMarginLeft)||0}})(Pe);let de=Ue==="start"||Ue==="nearest"?it-Le:Ue==="end"?ue+Ht:it+bt/2-Le+Ht,xt=We==="center"?mt+Be/2-we+qe:We==="end"?Je+qe:mt-we;const Qt=[];for(let Mt=0;Mt<pt.length;Mt++){const me=pt[Mt],{height:He,width:Qe,top:jt,right:Lt,bottom:Kt,left:je}=me.getBoundingClientRect();if(ze==="if-needed"&&it>=0&&mt>=0&&ue<=Tt&&Je<=et&&(me===St&&!ve(me)||it>=jt&&ue<=Kt&&mt>=je&&Je<=Lt))return Qt;const Yt=getComputedStyle(me),vt=parseInt(Yt.borderLeftWidth,10),ae=parseInt(Yt.borderTopWidth,10),te=parseInt(Yt.borderRightWidth,10),ee=parseInt(Yt.borderBottomWidth,10);let oe=0,se=0;const ne="offsetWidth"in me?me.offsetWidth-me.clientWidth-vt-te:0,pe="offsetHeight"in me?me.offsetHeight-me.clientHeight-ae-ee:0,ye="offsetWidth"in me?me.offsetWidth===0?0:Qe/me.offsetWidth:0,lt="offsetHeight"in me?me.offsetHeight===0?0:He/me.offsetHeight:0;if(St===me)oe=Ue==="start"?de:Ue==="end"?de-Tt:Ue==="nearest"?Ye(at,at+Tt,Tt,ae,ee,at+de,at+de+bt,bt):de-Tt/2,se=We==="start"?xt:We==="center"?xt-et/2:We==="end"?xt-et:Ye(st,st+et,et,vt,te,st+xt,st+xt+Be,Be),oe=Math.max(0,oe+at),se=Math.max(0,se+st);else{oe=Ue==="start"?de-jt-ae:Ue==="end"?de-Kt+ee+pe:Ue==="nearest"?Ye(jt,Kt,He,ae,ee+pe,de,de+bt,bt):de-(jt+He/2)+pe/2,se=We==="start"?xt-je-vt:We==="center"?xt-(je+Qe/2)+ne/2:We==="end"?xt-Lt+te+ne:Ye(je,Lt,Qe,vt,te+ne,xt,xt+Be,Be);const{scrollLeft:Ae,scrollTop:Ne}=me;oe=lt===0?0:Math.max(0,Math.min(Ne+oe/lt,me.scrollHeight-He/lt+pe)),se=ye===0?0:Math.max(0,Math.min(Ae+se/ye,me.scrollWidth-Qe/ye+ne)),de+=Ne-oe,xt+=Ae-se}Qt.push({el:me,top:oe,left:se})}return Qt},Ie=Pe=>Pe===!1?{block:"end",inline:"nearest"}:(he=>he===Object(he)&&Object.keys(he).length!==0)(Pe)?Pe:{block:"start",inline:"nearest"};function Te(Pe,he){if(!Pe.isConnected||!(At=>{let rt=At;for(;rt&&rt.parentNode;){if(rt.parentNode===document)return!0;rt=rt.parentNode instanceof ShadowRoot?rt.parentNode.host:rt.parentNode}return!1})(Pe))return;const Ze=(At=>{const rt=window.getComputedStyle(At);return{top:parseFloat(rt.scrollMarginTop)||0,right:parseFloat(rt.scrollMarginRight)||0,bottom:parseFloat(rt.scrollMarginBottom)||0,left:parseFloat(rt.scrollMarginLeft)||0}})(Pe);if((At=>typeof At=="object"&&typeof At.behavior=="function")(he))return he.behavior(Ee(Pe,he));const xe=typeof he=="boolean"||he==null?void 0:he.behavior;for(const{el:At,top:rt,left:ze}of Ee(Pe,Ie(he))){const Ue=rt-Ze.top+Ze.bottom,We=ze-Ze.left+Ze.right;At.scroll({top:Ue,left:We,behavior:xe})}}}}]);