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__Shixuns__New__index.504b...

1207 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([[7008],{40001:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},26227:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},41464:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},73331:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},15277:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},33853:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},61485:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},47472:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},87395:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={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"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},32050:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(60499),Ge=te(59301),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Fe=me,we=te(7657),Ee=function(de,Xe){return Ge.createElement(we.Z,(0,E.Z)({},de,{ref:Xe,icon:Fe}))},Ae=Ge.forwardRef(Ee),Ie=Ae},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(_t,Ht){"use strict";Ht.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},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 _t={},Ht="5.0",te={},E=null,Ge=!1,me=!1,Fe=null,we=!1,Ee=null,Ae=null,Ie=0;Ie<arguments.length;Ie++){var Se=arguments[Ie];if(Se!==null)switch(typeof Se){case"number":Ht=Se.toFixed(1);break;case"string":Se.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ht=Se:Fe=Se;break;case"object":typeof Se.is3D!="undefined"?E=Se:te=Se;break;case"boolean":Ge=Se,me=!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},te.material_id!==void 0&&!me&&(Ge=!0)),Fe!==null&&te.id===void 0&&(te.id=Fe);var de="",Xe="",xe=!1,wt=null,Qe=null,Te=null,$e=!1,je=null,St=null,Nt=null,Rt=null,Et=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ct=function(ve){return parseFloat(ve)>4?parseFloat(ve):5};_t.setHTML5Codebase=function(ve,ke){Ae=ve,bt(ve,ke)},_t.setJavaCodebase=_t.setJavaCodebaseVersion=_t.isCompiledInstalled=_t.setPreCompiledScriptPath=_t.setPreCompiledResourcePath=function(){},_t.setHTML5CodebaseVersion=function(ve,ke){var Ze=parseFloat(ve);if(Ze!==NaN&&Ze<5){console.log("The GeoGebra HTML5 codebase version "+Ze+" is deprecated. Using version latest instead.");return}Ee=ve,fe(ve,ke)},_t.getHTML5CodebaseVersion=function(){return Qe},_t.getParameters=function(){return te},_t.setFontsCSSURL=function(ve){Rt=ve},_t.setGiacJSURL=function(ve){},_t.setJNLPFile=function(ve){de=ve},_t.setJNLPBaseDir=function(ve){},_t.inject=function(){function ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ze=te.id,xt,Mt=!1,Xt=0;Xt<arguments.length;Xt++){var ze=arguments[Xt];typeof ze=="string"?(ze=ze.toLowerCase(),ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=ze:Ze=arguments[Xt]):typeof ze=="boolean"?Mt=ze:ze instanceof HTMLElement&&(xt=ze)}Vt();function Vt(){if(!we){setTimeout(Vt,200);return}ke=Tt(ke);var gt=xt||document.getElementById(Ze);if(!gt){console.log("possibly bug on ajax loading? ");return}if(_t.removeExistingApplet(gt,!1),te.width===void 0&&gt.clientWidth&&(te.width=gt.clientWidth),te.height===void 0&&gt.clientHeight&&(te.height=gt.clientHeight),!(te.width&&te.height)&&ke==="html5"&&(delete te.width,delete te.height),wt=ke,ke==="screenshot")Re(gt,te);else{var ae=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?ae=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(ae=(!dt()||ve())&&nt()),ae?(wt="screenshot",st(gt,te,Mt,ke)):We(gt,te,Mt)}}};function dt(){try{return window.self!==window.top}catch(ve){return!0}}function nt(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}_t.getViews=function(){return E},_t.isJavaInstalled=function(){return!1};var Dt=function(ve){var ke=function(Xt){var ze=JSON.parse(Xt),Vt=function(ne){return ne.type=="G"||ne.type=="E"},gt=ze.elements?ze.elements.filter(Vt)[0]:ze;if(!gt||!gt.url){Ze();return}te.fileName=gt.url,et(gt.settings||{}),E.is3D=!0;var ae="https://www.geogebra.org/images/";_t.setPreviewImage(je||gt.previewUrl,ae+"GeoGebra_loading.png",ae+"applet_play.png"),ve()},Ze=function(){te.onError&&te.onError(),Lt("Error: Fetching material (id "+te.material_id+") failed.",te)},xt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Mt="/materials/"+te.material_id+"?scope=basic";He("https://"+xt+"/api/proxy.php?path="+encodeURIComponent(Mt),ke,Ze)};function et(ve){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ze){ve[Ze]=!!ve[Ze]}),ke.forEach(function(Ze){te[Ze]===void 0&&ve[Ze]!==void 0&&(te[Ze]=ve[Ze])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function He(ve,ke,Ze){var xt=new XMLHttpRequest;xt.open("GET",ve),xt.onload=function(){ke(xt.responseText)},xt.onerror=Ze,xt.send()}_t.isHTML5Installed=function(){return!0},_t.getLoadedAppletType=function(){return wt},_t.setPreviewImage=function(ve,ke,Ze){je=ve,St=ke,Nt=Ze},_t.removeExistingApplet=function(ve,ke){var Ze;typeof ve=="string"&&(ve=document.getElementById(ve)),wt=null;var xt=null;for(Ze=0;Ze<ve.childNodes.length;Ze++){var Mt=ve.childNodes[Ze],Xt=Mt.className;Xt==="applet_screenshot"?ke?(Mt.style.display="block",wt="screenshot"):Mt.style.display="none":Xt!=="applet_scaler prerender"&&(ve.removeChild(Mt),xt=Xt&&Xt.indexOf("appletParameters")!=-1?Mt.id:null,Ze--)}var ze=te.id!==void 0?te.id:xt,Vt=window[ze];Vt&&typeof Vt.getBase64=="function"&&(Vt.remove(),window[ze]=null)},_t.refreshHitPoints=function(){if(ct(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ve=_t.getAppletObject();return ve&&typeof ve.recalculateEnvironments=="function"?(ve.recalculateEnvironments(),!0):!1},_t.startAnimation=function(){var ve=_t.getAppletObject();return ve&&typeof ve.startAnimation=="function"?(ve.startAnimation(),!0):!1},_t.stopAnimation=function(){var ve=_t.getAppletObject();return ve&&typeof ve.stopAnimation=="function"?(ve.stopAnimation(),!0):!1},_t.getAppletObject=function(){var ve=te.id!==void 0?te.id:"ggbApplet";return window[ve]},_t.resize=function(){};var vt=function(ve,ke,Ze){var xt=document.createElement("param");xt.setAttribute("name",ke),xt.setAttribute("value",Ze),ve.appendChild(xt)},De=function(ve){return ve&&ve!=="false"},We=function(ve,ke,Ze){ct(Qe)<=4.2&&(Ze=!0);var xt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Qe||ggbHTML5LoadedCodebaseIsWebSimple&&!$e)&&(xt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Mt=document.createElement("div");Mt.classList.add("appletParameters","notranslate");var Xt=ke.width,ze=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(ct(Qe)<=4.4)De(ke.showToolBar)&&(ke.height-=7),De(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&De(ke.showToolBar)&&(ke.width=605,Xt=605);else{var Vt=100;(De(ke.showToolBar)||De(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Vt=De(ke.showMenuBar)?245:155),Xt<Vt&&(ke.width=Vt,Xt=Vt)}Mt.style.border="none",Mt.style.display="inline-block";for(var gt in ke)ke.hasOwnProperty(gt)&&gt!=="appletOnLoad"&&Mt.setAttribute("data-param-"+gt,ke[gt]);Rt&&Mt.setAttribute("data-param-fontscssurl",Rt),_t.resize=function(){GGBAppletUtils.responsiveResize(ve,ke)},window.addEventListener("resize",function(Ct){_t.resize()});var ae=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Ze&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Mt.setAttribute("data-param-showSplash","false");var ne=ve.querySelector(".applet_scaler.prerender"),ee=ne!==null;if(ee)var oe=ne.querySelector(".ggb_preview");else{var oe=Ue(Xt,ze,ke.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=Xt+"px",ne.style.height=ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),ct(Qe)>=5?(ke.appletOnLoad=function(Ct){var At=ve.querySelector(".ggb_preview");At&&At.parentNode.removeChild(At),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),ae(Ct)},ee||ne.appendChild(oe)):Mt.appendChild(oe),ne.appendChild(Mt),ee||ve.appendChild(ne),setTimeout(function(){_t.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Mt),ve.appendChild(se),ke.appletOnLoad=function(Ct){_t.resize(),ae(Ct)}}function re(Ct,At){At&&typeof At.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ct,At.appletOnLoad):renderGGBElement(Ct),Lt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",At)}function he(Ct,At){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ct,params:At}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(nn){re(nn.article,nn.params)}),html5AppletsToProcess=null)},ct(Qe)<5&&(Ct.className+=" geogebraweb")):re(Ct,At)}if(xt){scriptLoadStarted=!0;for(var ye=0;ye<Mt.childNodes.length;ye++){var lt=Mt.childNodes[ye].tagName;lt==="TABLE"&&(Mt.removeChild(Mt.childNodes[ye]),ye--)}if(ggbHTML5LoadedScript!==null){var Be=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Be!=null&&Be.parentNode.removeChild(Be)}var Ke=document.createElement("script"),ut=function(){he(Mt,ke)};Ke.src=Xe+Te,ggbHTML5LoadedCodebaseIsWebSimple=$e,ggbHTML5LoadedCodebaseVersion=Qe,ggbHTML5LoadedScript=Ke.src,Lt("GeoGebra HTML5 codebase loaded: '"+Xe+"'.",ke),!Ae&&(!Ee||Ee=="5.0")?($e?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ut()):Xe.requirejs?__webpack_require__.e(4510).then(function(){var Ct=[__webpack_require__(4510)];ut.apply(null,Ct)}.bind(this)).catch(__webpack_require__.oe):(Ke.onload=ut,ve.appendChild(Ke))}else he(Mt,ke);ke.height=ze,ke.width=Xt},Re=function(ve,ke,Ze){var xt=Ue(ke.width,ke.height,ke.borderColor,Ze),Mt=document.createElement("div");Mt.style.position="relative",Mt.style.display="block",Mt.style.width=ke.width+"px",Mt.style.height=ke.height+"px",Mt.className="applet_screenshot applet_scaler"+(Ze?" applet_screenshot_play":""),Mt.appendChild(xt);var Xt=GGBAppletUtils.getScale(ke,ve,Ze);Ze?(ve.appendChild(Le()),window.GGBT_wsf_view||(ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Mt,"66%"),ve.appendChild(Mt),Xt!==1&&!isNaN(Xt)&&(GGBAppletUtils.scaleElement(Mt,Xt),Mt.style.width=ke.width+"px",Mt.style.height=ke.height+"px",Mt.parentNode.style.width=ke.width*Xt+"px",Mt.parentNode.style.height=ke.height*Xt+"px"),_t.resize=function(){ue(ve,xt,Mt,Ze)},window.addEventListener("resize",function(ze){_t.resize()}),_t.resize()};function ue(ve,ke,Ze,xt){if(ve.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}var Mt=GGBAppletUtils.getScale(te,ve,xt);Ze.parentNode!==null&&(!isNaN(Mt)&&Mt!==1?(GGBAppletUtils.scaleElement(Ze,Mt),Ze.parentNode.style.width=te.width*Mt+"px",Ze.parentNode.style.height=te.height*Mt+"px"):(GGBAppletUtils.scaleElement(Ze,1),Ze.parentNode.style.width=te.width+"px",Ze.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}_t.onExitFullscreen=function(ve,ke){ke.appendChild(ve)};var st=function(ve,ke,Ze,xt){Re(ve,ke,!0);for(var Mt=function(){var Vt=[];for(ze=0;ze<ve.childNodes.length;ze++)Vt.push(ve.childNodes[ze]);if(window.GGBT_wsf_view){var gt=window.GGBT_wsf_view.renderFullScreen(ve,ke.id),ae=document.getElementById("fullscreencontainer"),ne=jQuery(ve).find(".fullscreencontent");ne.length>0?(gt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(ae).append(ne),window.dispatchEvent(new Event("resize"))):We(gt,ke,!1),window.GGBT_wsf_view.launchFullScreen(ae)}else wt=xt,We(ve,ke,!1);if(!window.GGBT_wsf_view)for(ze=0;ze<Vt.length;ze++)ve.removeChild(Vt[ze])},Xt=ve.getElementsByClassName("ggb_preview_play"),ze=0;ze<Xt.length;ze++)Xt[ze].addEventListener("click",Mt,!1),Xt[ze].addEventListener("ontouchstart",Mt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ve),nt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Le=function(){var ve=document.createElement("div");if(ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.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");}',Ze=document.createElement("style");Ze.styleSheet?Ze.styleSheet.cssText=ke:Ze.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Ze)}return ve},Ue=function(ve,ke,Ze,xt){var Mt=document.createElement("div");Mt.className="ggb_preview",Mt.style.position="absolute",Mt.style.zIndex="90",Mt.style.width=ve-2+"px",Mt.style.height=ke-2+"px",Mt.style.top="0px",Mt.style.left="0px",Mt.style.overflow="hidden",Mt.style.backgroundColor="white";var Xt="lightgrey";Ze!==void 0&&(Ze==="none"?Xt="transparent":Xt=Ze),Mt.style.border="1px solid "+Xt;var ze=document.createElement("img");if(ze.style.position="relative",ze.style.zIndex="1000",ze.style.top="-1px",ze.style.left="-1px",je!==null&&ze.setAttribute("src",je),ze.style.opacity=.7,St!==null){var Vt,gt,ae;if(!xt){Vt=document.createElement("img"),Vt.style.position="absolute",Vt.style.zIndex="1001",Vt.style.opacity=1,ze.style.opacity=.3,gt=360,gt>ve/4*3&&(gt=ve/4*3),ae=gt/5.8,Vt.setAttribute("src",St),Vt.setAttribute("width",gt),Vt.setAttribute("height",ae);var ne=(ve-gt)/2,ee=(ke-ae)/2;Vt.style.left=ne+"px",Vt.style.top=ee+"px",Mt.appendChild(Vt)}}return Mt.appendChild(ze),Mt},Tt=function(ve){return ve=ve.toLowerCase(),ve==="html5"||ve==="screenshot"?ve:"html5"},ge=["web","webSimple","web3d","tablet","tablet3d","phone"],fe=function(ve,ke){if(Qe=ve,ke){bt(Qe,!0);return}var Ze=!Ge;if(Ze){var xt=ct(Qe);!isNaN(xt)&&xt<4.4&&(Ze=!1)}var Mt,Xt;window.location.protocol.substr(0,4)==="http"?Mt=window.location.protocol:Mt="http:";var ze=Qe.indexOf("//");ze>0?Xt=Qe:ze===0?Xt=Mt+Qe:Xt="https://www.geogebra.org/apps/5.2.814.0/";for(var Vt in ge)if(Qe.slice(ge[Vt].length*-1)===ge[Vt]||Qe.slice((ge[Vt].length+1)*-1)===ge[Vt]+"/"){bt(Xt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ze&&!E.is3D&&!E.AV&&!E.SV&&!E.CV&&!E.EV2&&!E.CP&&!E.PC&&!E.DA&&!E.FI&&!E.PV&&!De(te.showToolBar)&&!De(te.showMenuBar)&&!De(te.showAlgebraInput)&&!De(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Xt+="webSimple/":Xt+="web3d/",bt(Xt,!1)},bt=function(ve,ke){if(ve.requirejs){Xe=ve;return}ve.slice(-1)!=="/"&&(ve+="/"),Xe=ve,ke===null&&(ke=ve.indexOf("http")===-1),xe=ke,Te="web.nocache.js",$e=!1;var Ze=Xe.split("/");Ze.length>1&&(!ke&&Ze[Ze.length-2]==="webSimple"?(Te="webSimple.nocache.js",$e=!0):ge.indexOf(Ze[Ze.length-2])>=0&&(Te=Ze[Ze.length-2]+".nocache.js")),Ze=ve.split("/"),Qe=Ze[Ze.length-3],Qe.substr(0,4)==="test"?Qe=Qe.substr(4,1)+"."+Qe.substr(5,1):(Qe.substr(0,3)==="war"||Qe.substr(0,4)==="beta")&&(Qe="5.0");var xt=parseFloat(Qe);xt!==NaN&&xt<5&&ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+xt+" is deprecated. Using version latest instead."),fe("5.0",ke))},Lt=function(ve,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ve)};te.material_id!==void 0?Dt(Bt):Bt();function Bt(){var ve=Ht;Ee!==null?ve=Ee:parseFloat(ve)<5&&(ve="5.0"),fe(ve,!1),Ae!==null&&bt(Ae,xe),we=!0}return _t},GGBAppletUtils=function(){"use strict";function _t(){return window.GGBT_wsf_edit!==void 0}function Ht(we,Ee){Ee!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Ee+","+Ee+")",we.style.webkitTransform="scale("+Ee+","+Ee+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function te(we,Ee,Ae,Ie,Se,de){var Xe=null;if(de!=null&&de!="")for(var xe=we.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+de+" ")>-1){Xe=xe;break}else xe=xe.parentNode;var wt=0,Qe=0,Te=0,$e=0,je=0,St=0,Nt=0;if(Xe)wt=Xe.offsetWidth,Qe=Math.max(Ie?Xe.offsetWidth:0,Xe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(wt=Math.min(window.innerWidth,document.documentElement.clientWidth),Qe=Math.min(window.innerHeight,document.documentElement.clientHeight),Te=wt):(wt=window.innerWidth,Qe=window.innerHeight,Te=window.innerWidth),we){var Rt=we.getBoundingClientRect();Rt.left>0&&Rt.left<=wt&&(Se===void 0||!Se)&&(document.dir==="rtl"?(je=wt-Rt.width-Rt.left,St=Te<=480?10:30):(St=Rt.left,je=Te<=480?10:30),$e=St+je)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Et=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?($e=40,Nt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&($e=0,Nt=40)}}return we&&((Ae===void 0||!Ae)&&Ee>0&&Ee+$e<wt?wt=Ee:wt-=$e,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ae===void 0||!Ae)&&(Qe-=Nt)),{width:wt,height:Qe}}function E(we,Ee,Ae,Ie,Se){if(we.isScreenshoGenerator)return 1;var de=Ie!==void 0&&Ie,Xe=we.noScaleMargin!=null&&we.noScaleMargin,xe=function(Et){return Et&&Et!=="false"},wt=xe(we.autoHeight),Qe=te(Ee,we.width,Ae,wt,de&&window.GGBT_wsf_view||Xe,Se),Te=parseInt(Qe.width),$e=we.width,je=we.height;if($e===void 0){var St=Ee.querySelector(".appletParameters");St&&($e=St.offsetWidth,je=St.offsetHeight)}var Nt=Te/$e,Rt=de?1:Qe.height/je;return Ae!==void 0&&!Ae&&(Nt=Math.min(1,Nt),Rt=Math.min(1,Rt)),Math.min(Nt,Rt)}function Ge(we,Ee,Ae){var Ie=1,Se,de=!1;if(we.hasOwnProperty("allowUpscale")&&(de=we.allowUpscale),we.hasOwnProperty("scale")&&(Ie=parseFloat(we.scale),(isNaN(Ie)||Ie===null||Ie===0)&&(Ie=1),Ie>1&&(de=!0)),Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Se=E(we,Ee,de,Ae,we.scaleContainerClass);else return Ie;return de&&(!we.hasOwnProperty("scale")||Ie===1)?Se:Math.min(Ie,Se)}function me(we){var Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),Ae=Math.min(window.innerHeight,document.documentElement.clientHeight),Ie=we.getBoundingClientRect(),Se=(Ee-Ie.width)/2,de=(Ae-Ie.height)/2;de<0&&(de=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Se<40?we.style.left="40px":we.style.left=Se+"px",we.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?we.style.top="40px":we.style.top=de+"px",we.style.left=Se+"px")}function Fe(we,Ee){var Ae=we.querySelector(".appletParameters");if(Ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!==Ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(Ae.parentElement&&/fullscreen/.test(Ae.parentElement.className))return;var Ie=Ge(Ee,we);_t()&&Ae.setAttribute("data-param-scale",Ie);for(var Se=null,de=0;de<we.childNodes.length;de++)if(we.childNodes[de].className!==void 0&&we.childNodes[de].className.match(/^applet_scaler/)){Se=we.childNodes[de];break}if(Se!==null&&Se.querySelector(".noscale")!==null)return;var Xe=Ee.id!==void 0?Ee.id:"ggbApplet",xe=window[Xe];(xe==null||!xe.recalculateEnvironments)&&Se!==null&&!Se.className.match(/fullscreen/)&&(Se.parentNode.style.transform="",!isNaN(Ie)&&Ie!==1?(Se.parentNode.style.width=Ee.width*Ie+"px",Se.parentNode.style.height=Ee.height*Ie+"px",Ht(Se,Ie)):(Ht(Se,1),Se.parentNode.style.width=Ee.width+"px",Se.parentNode.style.height=Ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&me(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ae).parents(".content-added-content"))}}return{responsiveResize:Fe,isFlexibleWorksheetEditor:_t,positionCenter:me,getScale:Ge,scaleElement:Ht}}();__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 _t=n.location.search;return _t.indexOf(J)!=-1||_t.indexOf(K)!=-1}function q(_t,Ht){}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(_t){var Ht=s[L].bindings;s[L].bindings=function(){for(var te=Ht?Ht():{},E=_t[webModule.__softPermutationId],Ge=O;Ge<E.length;Ge++){var me=E[Ge];te[me[O]]=me[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var _t=o.createElement(Q);if(_t.id=L,_t.style.cssText=R+S,_t.tabIndex=-1,o.body.appendChild(_t),t=_t.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ht=document.compatMode==U?V:W;t.write(Ht+X),t.close()}}}function w(_t){function Ht(E){function Ge(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var me=Ge();if(me){E();return}function Fe(){if(!me){if(!Ge())return;me=!0,E(),o.removeEventListener&&o.removeEventListener(Z,Fe,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,Fe,!1);var we=setInterval(function(){Fe()},$)}function te(E){var Ge=u(),me=Ge.body,Fe=Ge.createElement(_);Fe.language=ab,Fe.crossOrigin=W,Fe.src=E,webModule.__errFn&&(Fe.onerror=function(){webModule.__errFn(L,new Error(bb+E))}),me.appendChild(Fe)}Ht(function(){te(_t)})}webModule.__startLoadingFragment=function(_t){return C(_t)},webModule.__installRunAsyncCode=function(_t){var Ht=u(),te=Ht.body,E=Ht.createElement(_);E.language=ab,E.text=_t,te.appendChild(E),te.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(_t){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_t){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_t){var Ht=c[_t];return Ht==null?null:Ht},r=d,webModule.__errFn=e}function B(){function _t(we){var Ee=we.lastIndexOf(rb);Ee==-1&&(Ee=we.length);var Ae=we.indexOf(sb);Ae==-1&&(Ae=we.length);var Ie=we.lastIndexOf(tb,Math.min(Ae,Ee));return Ie>=O?we.substring(O,Ie+P):W}function Ht(we){if(!we.match(/^\w+:\/\//)){var Ee=o.createElement(ub);Ee.src=we+vb,we=_t(Ee.src)}return we}function te(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function E(){for(var we=o.getElementsByTagName(_),Ee=O;Ee<we.length;++Ee)if(we[Ee].src.indexOf(xb)!=-1)return _t(we[Ee].src);return W}function Ge(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function me(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var Fe=te();return Fe==W&&(Fe=E()),Fe==W&&(Fe=Ge()),Fe==W&&me()&&(Fe=_t(o.location.href)),Fe=Ht(Fe),Fe}function C(_t){return _t.match(/^\//)||_t.match(/^[a-zA-Z]+:\/\//)?_t:webModule.__moduleBase+_t}function D(){var _t=[],Ht=O,te=[],E=[];function Ge(we){var Ee=E[we](),Ae=te[we];if(Ee in Ae)return Ee;var Ie=[];for(var Se in Ae)Ie[Ae[Se]]=Se;throw r&&r(we,Ie,Ee),null}if(__gwt_isKnownPropertyValue=function(we,Ee){return Ee in te[we]},webModule.__getPropMap=function(){var we={};for(var Ee in te)te.hasOwnProperty(Ee)&&(we[Ee]=Ge(Ee));return we},webModule.__computePropValue=Ge,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var me;try{me=Cb;var Fe=me.indexOf(Db);Fe!=-1&&(Ht=parseInt(me.substring(Fe+P),$),me=me.substring(O,Fe))}catch(we){}return webModule.__softPermutationId=Ht,C(me+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(_t,Ht,te){"use strict";te.d(Ht,{Ax:function(){return Fe},Ds:function(){return we},KI:function(){return Ae},SI:function(){return me},f1:function(){return Ge}});var E=te(14185);function Ge(Ie){let Se=!0;if(Ie.length>0){for(let de=0;de<Ie.length;de++)if(Ie[de].compile_success==0||!Ie[de].compile_success){Se=!1;break}}else Se=!1;return Se}function me(Ie,Se=""){let de=[];for(let Xe=0;Xe<Ie.length;Xe++){let xe=Ie[Xe],wt=Se?`${Se}/${xe.name}`:`${xe.name}`;de.push({title:xe.name,type:xe.type,isLeaf:xe.type!=="tree",key:wt})}return de}function Fe(Ie,Se,de){for(let Xe=0;Xe<Ie.length;Xe++){let xe=Ie[Xe];if(xe.key===Se){xe.children=de;break}xe.children&&Fe(xe.children,Se,de)}return Ie}function we(Ie,Se,de){let Xe;return function(){let xe=this,wt=arguments,Qe=function(){Xe=null,de||Ie.apply(xe,wt)},Te=de&&!Xe;clearTimeout(Xe),Xe=setTimeout(Qe,Se),Te&&Ie.apply(xe,wt)}}const Ee=!0,Ae=E.Z.API_SERVER},40254:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Xe}});var E=te(59301),Ge={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},me=te(92310),Fe=te.n(me),we=te(29787),Ee=te(2859),Ae=te(49317),Ie=te(76406),Se=(xe,wt,Qe)=>new Promise((Te,$e)=>{var je=Rt=>{try{Nt(Qe.next(Rt))}catch(Et){$e(Et)}},St=Rt=>{try{Nt(Qe.throw(Rt))}catch(Et){$e(Et)}},Nt=Rt=>Rt.done?Te(Rt.value):Promise.resolve(Rt.value).then(je,St);Nt((Qe=Qe.apply(xe,wt)).next())}),Xe=({data:xe,className:wt,fullWidth:Qe,style:Te={},onClose:$e,onOk:je,showFullTools:St,noAssociationId:Nt})=>{const Rt=(0,E.useRef)(null),Et=(0,E.useRef)(null),ct=(0,E.useRef)(null),dt=(0,E.useRef)(null),[nt,Dt]=(0,E.useState)(!1),[et,He]=(0,E.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,E.useEffect)(()=>(ct.current||(ct.current=document.createElement("style"),document.head.appendChild(ct.current)),xe!=null&&xe.visible?(document.body.setAttribute("data-custom","y-hidden"),ct.current.innerHTML=" html { overflow-y: hidden; }",xe!=null&&xe.src&&vt()):(document.body.removeAttribute("data-custom"),ct.current&&(document.head.removeChild(ct.current),ct.current=null)),()=>{document.body.removeAttribute("data-custom"),ct.current&&(document.head.removeChild(ct.current),ct.current=null)}),[xe==null?void 0:xe.visible]);const vt=()=>Se(void 0,null,function*(){Dt(!0),He("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ue=yield(0,Ie.ZJ)(xe==null?void 0:xe.src);Rt.current.src="",Rt.current.src=ue,Rt.current.onload=function(){Re()},Dt(!1),He("")}),De=ue=>Se(void 0,null,function*(){Dt(!0),He("\u6B63\u5728\u4FDD\u5B58\u4E2D");const st=yield(0,Ae.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:xe.title,file:ue.dataUrl}});st!=null&&st.id&&!Nt?(yield(0,Ae.ZP)(`/api/attachments/${xe.id}/add_subitem.json`,{method:"post",body:{subitem_id:st==null?void 0:st.id,settings:JSON.stringify(ue.state)}})).status===0&&je():st!=null&&st.id&&je(st),Dt(!1),He("")}),We=()=>{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 Ue=document.querySelector(Le.name);Ue&&Ue.setAttribute("title",Le.title)})},Re=()=>{Et.current=new Ee.hP(Rt.current),Et.current.targetRoot=dt.current,Et.current.addEventListener("render",De),Et.current.addEventListener("beforeclose",$e),St&&(Et.current.availableMarkerTypes=Et.current.ALL_MARKER_TYPES,Et.current.uiStyleSettings.redoButtonVisible=!0,Et.current.uiStyleSettings.notesButtonVisible=!0,Et.current.uiStyleSettings.zoomButtonVisible=!0,Et.current.uiStyleSettings.zoomOutButtonVisible=!0,Et.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Et.current.uiStyleSettings,Et.current.show(),xe!=null&&xe.snapshotData&&Et.current.restoreState(xe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return E.createElement(E.Fragment,null,(xe==null?void 0:xe.visible)&&E.createElement(we.Z,{spinning:nt,tip:et,style:{position:"absolute",width:"100vw"}},E.createElement("div",{ref:dt,className:Fe()(Ge.imageDimensions,wt,Qe?Ge.fullWidth:""),style:Te},E.createElement("img",{className:Ge.img,ref:Rt}))))}},22007:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ee}});var E=te(62957),Ge={modal:"modal___VzyKs",content:"content___HhLQS",close:"close___zKaRB"},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABQVJREFUWEfNmXes32MUxj8PagS1QghJiU1pxExsFbUqitoSKzVilEjoHzVj/KEEDYnGbq3aexNiRRGjlMTee8+K432u87u+99ffvPdK7kl+f/3e8bznPec5z3m/oh8WEfMBGwPbAhsCawIrAIvncj8BnwFvAS8CjwMvSPq72+3UzYSIWBE4BjgQ+BZ4FHgOm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Jx6QOsCljG7SDJvXJHVkRKL1F3XOoSXE39js1e2ODea0JBbubtyZHAOynX3u8EYUT0ljo3LG3FQoLz2OtMIaWB/zqvtWV/nPLpfmCTogU/Tk++2QpkH7GQG7eUWxVucr9ypPkpBafVdlsrWtAvDXeVpNkGMGtYnb/UgqT/k1sJsKlgrYA7DzgZ+NW6UNKTbZFVBmTcOiF3LULjh/JmM1aS6amPNRSsCbKh5M//JmWj42pjHei+oWtLTXmNZVoedLQkv+30WkPJnyBc+xo1Te5H7K1aE9+V6mngIcexnXGEf5Jcx3ssmybH67rzNE05wO8l9W3niEwMF38nyKBYRKxSzf62bWflFEO3cU8vmueG7tNHghy6j0eVqx66z291aT80HzDrQA7dJ+A6oEPzEb0J2dY+Q2yUnyGsrKufIT7PzxAWsv3+DPEPkKKBQOOiq+AAAAAASUVORK5CYII=",Fe=te(59301),Ee=({visible:Ae,setVisible:Ie,image:Se,closeImageStyle:de,hiddenbutton:Xe})=>Fe.createElement(E.default,{centered:!0,destroyOnClose:!0,open:Ae,footer:null,wrapClassName:Ge.modal,onCancel:()=>Ie(!1)},Fe.createElement("div",{className:Ge.content},Fe.createElement("img",{src:Se}),Xe,Fe.createElement("img",{onClick:()=>Ie(!1),className:Ge.close,src:me,style:de})))},9057:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(77019),me=te(5269),Fe=te(31691),we=te(7939),Ee=te(35883),Ae=te(74501),Ie=te(48136),Se=te(59301);const de=(0,E.forwardRef)(({callback:Xe,showSaveButton:xe,value:wt=""},Qe)=>{const Te=(0,E.useRef)(),$e=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],je=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],St=Et=>{Te.current.setValue(Te.current.getValue()+" "+Et.value+" ")},Nt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Se.createElement(Ge.Z,{className:Ae.Z.lists,gutter:[10,10]},$e.map((Et,ct)=>Se.createElement(me.Z,{flex:"110px",className:Ae.Z.item},Se.createElement("div",null,Se.createElement(Ee.Z,{value:`$$${Et.value}$$`}),Et.name),Se.createElement("div",{className:Ae.Z.children},Et.children.map((dt,nt)=>Se.createElement("div",{key:nt},Se.createElement("h1",null,dt.name),Se.createElement(Ge.Z,{gutter:[10,10]},dt.data.map((Dt,et)=>Se.createElement(me.Z,{key:et,onClick:()=>St(Dt),className:Ae.Z.diamond},Se.createElement(Ee.Z,{value:"`$$"+Dt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Se.createElement(Ge.Z,{className:Ae.Z.lists,gutter:[10,10]},je.map((Et,ct)=>Se.createElement(me.Z,{flex:"110px",className:Ae.Z.item},Se.createElement("div",null,Se.createElement(Ee.Z,{value:"`$$"+Et.value+"$$`"}),Et.name),Se.createElement("div",{className:Ae.Z.children},Et.children.map((dt,nt)=>Se.createElement("div",{key:nt},dt.name&&Se.createElement("h1",null,dt.name),Se.createElement(Ge.Z,{gutter:[10,10]},dt.data.map((Dt,et)=>Se.createElement(me.Z,{key:et,onClick:()=>St(Dt),className:Ae.Z.diamond},Se.createElement(Ee.Z,{value:"`$$"+Dt.value+"$$`"}))))))))))}],Rt=()=>{var Et=document.createElement("div");Et.innerHTML=Te.current.getValue();var ct=Et.innerText;return Xe&&Xe(ct),ct};return(0,E.useImperativeHandle)(Qe,()=>({getData:Rt})),Se.createElement("div",{className:Ae.Z.mathWrap},Se.createElement(Fe.default,{defaultActiveKey:"1",items:Nt}),Se.createElement("math-field",{locale:"zh_cn",className:Ae.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Te,style:{width:800,marginTop:30,fontSize:18}},wt||""),xe&&Se.createElement("div",{className:Ae.Z.button},Se.createElement(we.ZP,{size:"large",onClick:Rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ht.Z=de},90736:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(4977),me=te(7939),Fe=Object.defineProperty,we=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,de=(Qe,Te,$e)=>Te in Qe?Fe(Qe,Te,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Qe[Te]=$e,Xe=(Qe,Te)=>{for(var $e in Te||(Te={}))Ie.call(Te,$e)&&de(Qe,$e,Te[$e]);if(Ae)for(var $e of Ae(Te))Se.call(Te,$e)&&de(Qe,$e,Te[$e]);return Qe},xe=(Qe,Te)=>we(Qe,Ee(Te));const wt=({img:Qe,buttonProps:Te={},styles:$e={},customText:je,ButtonText:St,ButtonClick:Nt,Buttonclass:Rt,ButtonTwo:Et,imgStyles:ct,loading:dt=!1,className:nt=""})=>E.createElement("section",{className:`tc animated fadeIn ${nt}`,style:Xe({color:"#999",margin:"100px auto",visibility:dt?"hidden":"visible"},$e)},E.createElement("img",{src:Qe||Ge,style:xe(Xe({},ct),{pointerEvents:"none",userSelect:"none"})}),E.createElement("p",{className:"mt20 font14"},je||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),St&&E.createElement(me.ZP,Xe({className:Rt,onClick:Nt},Te),St),Et&&Et);Ht.Z=wt},86974:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Rt}});var E=te(59301),Ge={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},me=te(7939),Fe=te(70557),we=te(34728),Ee=te(25399),Ae=te(76406),Ie=te(84849),Se=te(90736),de=te(14185),Xe=te(52078),xe=te(59301),wt=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,je=(Et,ct,dt)=>ct in Et?wt(Et,ct,{enumerable:!0,configurable:!0,writable:!0,value:dt}):Et[ct]=dt,St=(Et,ct)=>{for(var dt in ct||(ct={}))Te.call(ct,dt)&&je(Et,dt,ct[dt]);if(Qe)for(var dt of Qe(ct))$e.call(ct,dt)&&je(Et,dt,ct[dt]);return Et},Nt=(Et,ct,dt)=>new Promise((nt,Dt)=>{var et=De=>{try{vt(dt.next(De))}catch(We){Dt(We)}},He=De=>{try{vt(dt.throw(De))}catch(We){Dt(We)}},vt=De=>De.done?nt(De.value):Promise.resolve(De.value).then(et,He);vt((dt=dt.apply(Et,ct)).next())}),Rt=({editOffice:Et="view",data:ct,issaver:dt,onSaver:nt,theme:Dt,type:et,filename:He,monacoEditor:vt,className:De,style:We,close:Re,onClose:ue,hasMask:st,disabledDownload:Le,onImgDimensions:Ue,showNodata:Tt,recordInfo:ge})=>{const[fe,bt]=(0,E.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Lt,Bt]=(0,E.useState)(""),[ve,ke]=(0,E.useState)(),Ze=window.ENV==="build"?"/react/build":"",xt=location.host.startsWith("localhost")?de.Z.PROXY_SERVER:de.Z.API_SERVER,Xt=10*(1024*1024),ze=(0,E.useRef)();ct!=null&&ct.startsWith("/api")&&et!=="txt"&&(ct=de.Z.API_SERVER+ct);const Vt=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();He&&vt&&(vt.filename=He),(0,E.useEffect)(()=>{var se,re;const he=(re=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:re.split(";");he==null||he.map(ye=>{let lt=ye.split("=");lt[0]==="_educoder_session"&&Bt(lt[1])})},[]),(0,E.useEffect)(()=>{et==="office"&&(ct.indexOf("bigfilescdn.")>-1||ct.indexOf("bigfiles1")>-1?ke({url:ct,fileType:Vt(ct),model:ct.indexOf("model=edit")?"edit":"view"}):ct.indexOf("coze")>-1?ke({url:ct,fileType:"doc",model:"view"}):ae())},[et,ct]);function gt(se){return Nt(this,null,function*(){se.data.type==="pdfdata"&&(nt(se.data.data),window.removeEventListener("message",gt,!1)),console.log("mess---:",se.data)})}const ae=()=>Nt(void 0,null,function*(){console.log("data:",ct);let se=ct;ct.startsWith("http")||(se=location.origin+se);let re=new URL(se).pathname.split("/").pop();const he=yield(0,Ie.gJ)({attachment_id:re});he.url=xt+he.url,ke(he)}),ne=()=>{if(ct.startsWith("http")||ct.startsWith("blob:")){ee();return}(0,Ae.Sv)(He||"educoder",ct,He)},ee=()=>{ge&&(0,Xe.fc)({id:ge==null?void 0:ge.id,watch_type:1,course_id:ge==null?void 0:ge.course_id}),(0,Ae.Nd)(He||"educoder",decodeURIComponent(ct))};(0,E.useEffect)(()=>(window.addEventListener("message",oe),()=>{window.removeEventListener("message",oe)}),[]);const oe=se=>{var re;((re=se==null?void 0:se.data)==null?void 0:re.type)==="closePop"&&ue()};return xe.createElement("div",{style:St({},We||{}),className:`${st&&Ge.bgBlack} ${et?Ge.wrp:"hide"}`},!!et&&Re&&xe.createElement("div",{id:"closePop",className:Ge.close,ref:ze},!!Ue&&xe.createElement(Ee.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ze.current},xe.createElement("span",{onClick:()=>{ue(),Ue()}},xe.createElement("i",{className:"icon-yulanpizhu"}))),!Le&&window.parent===window&&xe.createElement(Ee.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ze.current},xe.createElement("span",{onClick:ee},xe.createElement("i",{className:"icon-quxiaozhiding"}))),dt&&xe.createElement(Ee.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ze.current},xe.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",gt,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},xe.createElement("i",{className:"icon-baocun"}))),xe.createElement(Ee.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ze.current},xe.createElement("span",{className:"",onClick:()=>{ue()}},xe.createElement("i",{className:"icon-guanbi1"})))),xe.createElement("div",{className:`${Ge[De]} ${De} ${Ge.monaco} ${et==="txt"?"show":"hide"}`},et==="txt"&&xe.createElement(xe.Fragment,null,xe.createElement(we.ZP,St({},vt)))),et==="audio"&&xe.createElement("audio",{controls:!0,src:`${(ct==null?void 0:ct.indexOf("http://"))>-1||(ct==null?void 0:ct.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${ct}`,autoPlay:!0}),et==="video"&&xe.createElement(xe.Fragment,null,(ct==null?void 0:ct.indexOf("http"))>-1?xe.createElement("video",{controls:!0,src:`${ct}`,autoPlay:!0}):xe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ct}`,autoPlay:!0})),et==="office"&&ve&&xe.createElement("iframe",{src:`${Ze}/office.html?key=${ve.key}&url=${btoa(ve.url)}&callbackUrl=${xt+(ve.callbackUrl||"")}&fileType=${ve.fileType}&title=${ve.title||""}&model=${Et}&officeServer=${de.Z.ONLYOFFICE}&disabledDownload=${!!Le}`}),et==="html"&&xe.createElement("iframe",{src:ct+"&disposition=inline"}),et==="pdf"&&xe.createElement("iframe",{id:"pdfiframe",src:`${Ze}/js/pdf/index.html?filename=${He||"educoder.pdf"}&url=${encodeURIComponent(ct)}&disabledDownload=${!!Le}&model=${Et}`}),et==="image"&&xe.createElement("img",{src:`${(ct==null?void 0:ct.indexOf("http://"))>-1||(ct==null?void 0:ct.indexOf("https://"))>-1?"":"data:image/png;base64,"}${ct}`}),(et==="other"||et==="download")&&xe.createElement(xe.Fragment,null,Tt?xe.createElement(Se.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:xe.createElement(me.ZP,{icon:xe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:Le},"\u4E0B\u8F7D")}):xe.createElement(me.ZP,{type:"primary",size:"middle",onClick:ne,disabled:Le},xe.createElement(Fe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),et==="flowChart"&&xe.createElement("div",{className:"embed"},xe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${ct||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(_t,Ht,te){"use strict";te.d(Ht,{z:function(){return vt},Z:function(){return De}});var E=te(59301),Ge=te(46214),me=te(20047),Fe=te(64018),we=te(16471),Ee=te(14185),Ae=te(76406),Ie=te(15342),Se=te(44104),de=te(7939),Xe=te(1012),xe=te(86974),wt=te(59301),Te=({html:We})=>{const Re=(0,E.useRef)(null),ue=(0,E.useRef)(null),st=`.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=Re.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=We,Le.appendChild(ue.current);const Ue=document.createElement("style");return Ue.textContent=st,Le.appendChild(Ue),()=>{Le.innerHTML=""}},[]),(0,E.useEffect)(()=>{ue.current&&(ue.current.innerHTML=We)},[We]),wt.createElement("div",{ref:Re})};function $e(We){const Re=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],ue=new RegExp(`\\b(${Re.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),st=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return We.replace(ue,"").replace(st,"").trim()}var je={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},St=Object.defineProperty,Nt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,ct=(We,Re,ue)=>Re in We?St(We,Re,{enumerable:!0,configurable:!0,writable:!0,value:ue}):We[Re]=ue,dt=(We,Re)=>{for(var ue in Re||(Re={}))Rt.call(Re,ue)&&ct(We,ue,Re[ue]);if(Nt)for(var ue of Nt(Re))Et.call(Re,ue)&&ct(We,ue,Re[ue]);return We};const nt="@\u2581\u2581@",Dt="@\u2581@",et=/<pre[^>]*>/g;function He(We){let Re=document.createElement("div");return Re.innerHTML=We,Re.childNodes.length===0?"":Re.childNodes[0].nodeValue}const vt=(We,Re)=>{We=We||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,st=/\"(?: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,Ue=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Re?We.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(Tt,ge,fe,bt,Lt,Bt,ve)=>{const ke=ge||bt||Bt,Ze=fe||Lt||ve||"?";return Ee.Z.API_SERVER+"/api/attachments/"+ke+Ze+"&t="+(0,Ae.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(We=We.replace(Ue,(Tt,ge,fe,bt,Lt,Bt,ve)=>{const ke=ge||bt||Bt,Ze=fe||Lt||ve||"?";return Ee.Z.API_SERVER+"/attachments/download/"+ke+Ze+"&t="+(0,Ae.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replace(ue,(Tt,ge,fe,bt,Lt,Bt,ve)=>{const ke=ge||bt||Bt,Ze=fe||Lt||ve||"?";return Ee.Z.API_SERVER+"/api/attachments/"+ke+Ze+"&t="+(0,Ae.Jn)(ke,Date.now())+(Tt.indexOf(")")>-1?")":"&")}).replace(st,(Tt,ge,fe,bt,Lt)=>{const Bt=ge||bt,ve=fe||Lt||"";return'"'+Ee.Z.API_SERVER+"/api/attachments/"+Bt+ve+Bt+ve+"&t="+(0,Ae.Jn)(Bt,Date.now())}).replace(Le,(Tt,ge,fe,bt,Lt)=>{const Bt=ge||bt,ve=fe||Lt||"";return"("+Ee.Z.API_SERVER+"/files/uploads/"+Bt+ve+Bt+ve+"&t="+(0,Ae.Jn)(Bt,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,`
`),We)};var De=({value:We="",edit:Re=!1,className:ue,showTextOnly:st,showLines:Le,style:Ue={},stylesPrev:Tt={},highlightKeywords:ge,showProgramFill:fe,isProgramFill:bt,disabledFill:Lt=!1,programFillValue:Bt,openEditor:ve=()=>{},onFillChange:ke=Mt=>{},onFillBlur:Ze=()=>{},onFillFocus:xt=()=>{}})=>{let Mt=$e(String(We||""));const Xt=(0,E.useRef)(),ze=(0,E.useRef)(),[Vt,gt]=(0,E.useState)(""),[ae,ne]=(0,E.useState)("office"),[ee,oe]=(0,E.useState)([]),se=(0,E.useRef)("a"+(0,Xe.Z)()),re={},he=Ot=>/<style[\s\S]*?>/i.test(Ot||""),ye=(Ot,rn,Ut)=>{const Ne=document.createElement(Ot===Dt?"input":"textarea");Ne.style.width="100%",Ne.style.height=Ot===Dt?"40px":"151px",Ne.rows=5,Ne.spellcheck=!1,Ne.name="edu-program-fill",Ne.placeholder="\u8BF7\u8F93\u5165",Ne.dataset.id=rn;const rt=Object.keys(re).length;return re[rt]=Ne,`<span class="edu-program-fill-wrap ${Ot===Dt?"":"show"}" style="width:${Ot===Dt?"600px":"100%"}" title=${Ut||""}><span>${Ne.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function lt(Ot){return Ot=Ot.replace(/!\[.*?\]\(.*?\)/g,""),Ot=Ot.replace(/\[.*?\]\(.*?\)/g,""),Ot=Ot.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ot=Ot.replace(/<embed.*?>/g,""),Ot=Ot.replace(/<img.*?>/g,""),Ot=Ot.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ot=Ot.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ot=Ot.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ot=Ot.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ot}const Be=Ot=>!st&&he(Mt)?Ot:Ot.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(rn,Ut){let Ne=Ut.replace(/(\n|\r)/g,"").split("}"),rt=[];return Ne.map(zt=>{zt!=""&&rt.push(`.${se.current} ${zt}`)}),`<style>${rt.join("}")}</style>`}),Ke=(0,E.useMemo)(()=>{(0,me.Iy)();try{const Ne=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,rt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,zt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Gt=/\(\/attachments\/download\//g;Mt=Mt.replace(Gt,"("+Ee.Z.API_SERVER+"/attachments/download/").replace(Ne,"("+Ee.Z.API_SERVER+"/api/attachments/").replace(rt,'"'+Ee.Z.API_SERVER+"/api/attachments/").replace(zt,'"'+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,`
`),Xt.current.style.display="none"}catch(Ne){}if(fe){let Ne=-1;return Mt=Mt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(rt,zt,Gt){var Pe;return++Ne,ye(rt,Ne,(Pe=Bt==null?void 0:Bt[Ne])==null?void 0:Pe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Be(Mt||"")}</pre>`}let Ot=Be(Mt);Ot=(0,me.ZP)(Ot);const rn=(0,me.ez)();Mt.match(/\[TOC\]/)&&(Ot=Ot.replace("<p>[TOC]</p>",(0,me.Qv)()),(0,me.Iy)()),Ot=Ot.replace(/(__special_katext_id_\d+__)/g,(Ne,rt)=>{const{type:zt,expression:Gt}=rn[rt];return(0,Ie.renderToString)(He(Gt)||"",{displayMode:zt==="block",throwOnError:!1,output:"html"})}),Ot=Ot.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,me.AL)();const Ut=document.createElement("div");if(Ut.innerHTML=Ot,st)return Ut.innerText;if(ge){const Ne=ge.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return nn(Ut,Ne),Ut.innerHTML}return setTimeout(()=>on(),500),Ut.innerHTML},[Mt,ge]);(0,E.useEffect)(()=>{Qt.current&&Qt.current.querySelectorAll(["input","textarea"]).forEach(rn=>{rn.oninput=ut,rn.onblur=Ct,rn.onfocus=At})},[ee]),(0,E.useEffect)(()=>{var Ot,rn,Ut,Ne,rt;if(Bt!=null&&Bt.length)try{const zt=Qt.current.querySelectorAll(".edu-program-fill-score"),Gt=Qt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Pe,Ye]of Gt.entries())Ye.value=((Ot=Bt==null?void 0:Bt[Pe])==null?void 0:Ot.value)||"",((rn=Bt==null?void 0:Bt[Pe])==null?void 0:rn.type)==="warning"?Ye.className="program-fill-warning":((Ut=Bt==null?void 0:Bt[Pe])==null?void 0:Ut.type)==="success"?Ye.className="program-fill-success":Ye.className="";for(const[Pe,Ye]of zt.entries())Ye.innerHTML=(Ne=Bt==null?void 0:Bt[Pe])!=null&&Ne.score?`${(rt=Bt==null?void 0:Bt[Pe])==null?void 0:rt.score}\u5206`:"";oe(Bt)}catch(zt){console.log(zt,"error")}},[Bt]);const ut=Ot=>{ee[Ot.target.dataset.id]=ee[Ot.target.dataset.id]||{},ee[Ot.target.dataset.id].value=Ot.target.value,oe([...ee]),ke(ee,Ot.target.dataset.id)},Ct=Ot=>{ee[Ot.target.dataset.id]=ee[Ot.target.dataset.id]||{},ee[Ot.target.dataset.id].value=Ot.target.value,oe([...ee]),Ze(ee,Ot.target.dataset.id)},At=Ot=>{ee[Ot.target.dataset.id]=ee[Ot.target.dataset.id]||{},ee[Ot.target.dataset.id].value=Ot.target.value,oe([...ee]),xt(ee,Ot.target.dataset.id)};function nn(Ot,rn){return Ot.childNodes.forEach(Ut=>{var Ne;if(Ut.childNodes.length>0)nn(Ut,rn);else if(Ut.nodeName!=="IMG")if(Ut.innerHTML)Ut.innerHTML=(Ne=Ut.innerHTML)==null?void 0:Ne.replace(new RegExp(rn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const rt=document.createElement("span");rt.innerHTML=Ut.textContent.replace(new RegExp(rn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Ut.replaceWith(rt)}})}const Qt=(0,E.useRef)();me.jb.WebkitLineClamp=Le,Le&&(Ue=dt(dt({},Ue),me.jb));function Yt(Ot){let rn=Ot.target;if(rn.tagName.toUpperCase()==="A"){let Ut=rn.getAttribute("href");if(Ut.indexOf("office")>-1)Ot.preventDefault(),gt(Ut),ne("office");else if(Ut.indexOf("application/pdf")>-1)Ot.preventDefault(),gt(Ut),ne("pdf");else if(Ut.indexOf("text/html")>-1)Ot.preventDefault(),gt(Ut),ne("html");else if(Ut.startsWith("#")){Ot.preventDefault();let Ne=document.getElementById(Ut.replace("#",""));Ne&&Ne.scrollIntoView(!0)}}}const on=()=>{var Ot;const rn=(Ot=Qt.current)==null?void 0:Ot.querySelectorAll("video");rn==null||rn.forEach(Ut=>{if(Ut.oncontextmenu=()=>!1,Ut.src.indexOf(".m3u8")>-1&&!Ut.canPlayType("application/vnd.apple.mpegurl")){if(we.ZP.isSupported()){var Ne=new we.ZP;Ne.loadSource(Ut.src),Ne.attachMedia(Ut)}}})};(0,E.useEffect)(()=>{if(Qt.current&&Ke&&Ke.match(et)&&window.PR.prettyPrint(),Qt.current)return Qt.current.addEventListener("click",Yt),()=>{var Ot;(Ot=Qt.current)==null||Ot.removeEventListener("click",Yt),(0,me.AL)(),(0,me.Iy)()}},[Ke,Qt.current,Yt]);const Ft=Ot=>{Ot.target.nodeName==="IMG"&&Ot.target.className.indexOf("draw-flowchart")>-1?(Xt.current.style.zIndex=1,Xt.current.style.display="flex",Xt.current.style.width=Ot.target.clientWidth+"px",Xt.current.style.height=Ot.target.clientHeight+"px",Xt.current.style.top=Ot.target.offsetTop+"px",Xt.current.style.left=Ot.target.offsetLeft+"px",Ot.target.id&&(ze.current=Ot.target.id)):Xt.current.style.display="none"},en=()=>{Xt.current.style.display="none"};return(0,E.useEffect)(()=>{var Ot;const rn=Ut=>{Ut.preventDefault(),Ut.clipboardData.setData("text",window.getSelection().toString())};return(Ot=Qt.current)==null||Ot.addEventListener("copy",rn),()=>{var Ut;(Ut=Qt.current)==null||Ut.removeEventListener("copy",rn)}},[Qt.current]),E.createElement("div",{style:{position:"relative"},onMouseLeave:en},st&&E.createElement("div",{ref:Qt,className:`${je.mdBody} `},Ke),!st&&!he(Ke)&&E.createElement("div",{ref:Qt,style:dt({},Ue),onMouseOver:Ft,className:`${ue||""} ${Lt?"disabled-fill":""} markdown-body ${je.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:Ke}}),!st&&he(Ke)&&E.createElement(Te,{html:Ke}),E.createElement("div",{ref:Xt,className:`${je.button} ${Re?"":je.previewFlowChart}`},E.createElement(Se.Z,null,E.createElement(de.ZP,{onClick:()=>{Re?ve(ze.current):(gt(ze.current),ne("flowChart"))}},Re?"\u7F16\u8F91":"\u9884\u89C8"))),E.createElement(xe.Z,{close:!0,data:Vt,type:Vt!=null&&Vt.length?ae:"",style:dt({},Tt),onClose:()=>gt("")}))}},1903:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return nt}});var E=te(59301),Ge=te(25399),me=te(37568),Fe=te(29787),we=te(584),Ee=te(92310),Ae=te.n(Ee),Ie={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"},Se=te(36723),de=te(49317),Xe=te(78267),xe=Object.defineProperty,wt=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,St=(Dt,et,He)=>et in Dt?xe(Dt,et,{enumerable:!0,configurable:!0,writable:!0,value:He}):Dt[et]=He,Nt=(Dt,et)=>{for(var He in et||(et={}))$e.call(et,He)&&St(Dt,He,et[He]);if(Te)for(var He of Te(et))je.call(et,He)&&St(Dt,He,et[He]);return Dt},Rt=(Dt,et)=>wt(Dt,Qe(et)),Et=(Dt,et,He)=>new Promise((vt,De)=>{var We=st=>{try{ue(He.next(st))}catch(Le){De(Le)}},Re=st=>{try{ue(He.throw(st))}catch(Le){De(Le)}},ue=st=>st.done?vt(st.value):Promise.resolve(st.value).then(We,Re);ue((He=He.apply(Dt,et)).next())});const ct=({className:Dt,dispatch:et,skin:He="white",value:vt=null,loading:De=!1,data:We=[],otherData:Re=[],tags:ue=[],onChange:st=()=>{},onSearchWord:Le=()=>{},shixun_type:Ue,extraContent:Tt,tab_type:ge,is_create_mirror:fe,hiddenCreateOnline:bt})=>{const[Lt,Bt]=(0,E.useState)(""),[ve,ke]=(0,E.useState)(!1),[Ze,xt]=(0,E.useState)([]),[Mt,Xt]=(0,E.useState)(0),ze=(0,E.useRef)(null),Vt=(0,E.useRef)(String(Math.floor(Math.random()*1e6))).current,gt=(0,E.useRef)(),ae=(0,E.useRef)(null),ne=(0,E.useRef)(0),ee=(0,E.useRef)([]);(0,E.useEffect)(()=>(window.addEventListener("keydown",oe),()=>{window.removeEventListener("keydown",oe)}),[Lt,ve,Ze]),(0,E.useEffect)(()=>{xt([])},[ge]);const oe=Ft=>{if(!ve||Ft.keyCode!==40&&Ft.keyCode!==38)return;let en=0;Ft.keyCode===40&&ve&&(Mt<Ze.length-1?en=Mt+1:en=0,console.log("\u4E0B"),ye(en,"down")),Ft.keyCode===38&&ve&&(Mt===0?en=Ze.length-1:en=Mt-1,ye(en,"up")),Xt(en),re(Lt,en,!0)},se=(Ft,en)=>{const Ot=Ut=>{var Ne=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,rt={};return rt["^"]="\\^",rt["."]="\\.",rt["\\"]="\\\\",rt["|"]="\\|",rt["("]="\\(",rt[")"]="\\)",rt["*"]="\\*",rt["+"]="\\+",rt["-"]="\\-",rt.$="$",rt["["]="\\[",rt["]"]="\\]",rt["?"]="\\?",Ut=Ut.replace(Ne,function(zt){return rt[zt]}),Ut};var rn=new RegExp(Ot(en),"gi");return Ft=Ft.replace(rn,function(Ut){return"<span style='color:#0152d9;'>"+Ut+"</span>"}),Ft},re=(Ft,en,Ot)=>Et(void 0,null,function*(){let rn=ne.current+1;ne.current=rn;const Ut=Ne=>Ne==null?void 0:Ne.map((zt,Gt)=>{const{id:Pe,name:Ye}=zt,ft=Rt(Nt({},zt),{label:E.createElement("ul",{id:`search-${Vt}-${Gt}`,onClick:()=>Ke(Pe,ft),className:Gt===en?Ie.searchListActive:Ie.searchList},E.createElement("li",{className:Ie.name,dangerouslySetInnerHTML:{__html:se(Ye,Ft)}}),zt.private&&E.createElement(Ge.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("li",{className:Ie.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),zt.is_base&&E.createElement(Ge.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("li",{className:Ie.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return ft});if(Ot){const Ne=Ut(ee.current);xt(Ne);return}clearTimeout(ae.current),ae.current=setTimeout(()=>Et(void 0,null,function*(){var Ne,rt;const zt={keywords:encodeURIComponent(Ft||""),page:1,limit:1e5,tab_type:ge};Ue&&(zt.shixun_type=Ue);const Gt=yield(0,de.ZP)("/api/shixuns/search_image.json",{method:"get",params:Rt(Nt({},zt),{is_create_mirror:fe})});if((Gt==null?void 0:Gt.status)===0){const Pe=Ut(((Ne=Gt==null?void 0:Gt.data)==null?void 0:Ne.mirrors)||[]);rn===ne.current&&(xt(Pe),ee.current=(0,Xe.cloneDeep)(((rt=Gt==null?void 0:Gt.data)==null?void 0:rt.mirrors)||[]))}}),300)}),he=Ft=>{const en=document.getElementById(`scroll-${Vt}-${Ft}`);if(!en)return;document.getElementById(`scroll-${Vt}`).scrollTo(0,en.offsetTop)},ye=(Ft,en)=>{const Ot=document.getElementById(`search-${Vt}-${Ft}`);if(!Ot)return;const rn=document.getElementById(`search-${Vt}`);Ot.offsetTop-rn.scrollTop>0&&Ot.offsetTop-rn.scrollTop<rn.clientHeight||(en==="down"?rn.scrollTo(0,Ot.offsetTop-rn.clientHeight+Ot.clientHeight):rn.scrollTo(0,Ot.offsetTop))},lt=Ft=>{re(Ft,0)},Be=Ft=>{var en;if(!Ze.length)return;const Ot=(en=Ze==null?void 0:Ze[Mt])==null?void 0:en.id;st(Ot),xt([]),Xt(0),he(Ot),gt.current.blur()},Ke=(Ft,en)=>{st(Ft),xt([]),Xt(0),he(Ft)},ut=()=>{xt([]),Bt(""),Le("")},Ct=Ft=>{st(Ft),xt([])},At=()=>Lt===""?E.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):E.createElement("i",{onClick:Ft=>{Ft.stopPropagation(),ut()},className:"iconfont icon-shanchu4 c-grey-c"}),nn=()=>{et({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Qt=()=>{et({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},Yt=()=>{ze.current=setTimeout(()=>{ke(!1),Xt(0)},200)},on=!(We!=null&&We.length)&&!(Re!=null&&Re.length);return E.createElement("div",{className:Ae()(He==="night"?Ie.darklySelectEnvironment:Ie.selectEnvironment,Dt)},Tt&&E.createElement("div",{style:{marginTop:20,marginLeft:20}},Tt),E.createElement("div",{className:Ie.search},E.createElement(me.default,{suffix:At(),bordered:!1,ref:gt,value:Lt,onKeyDown:Ft=>{(Ft.keyCode===40||Ft.keyCode===38||Ft.keyCode===13)&&Ft.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(ze.current),Lt&&lt(Lt),ke(!0)},onBlur:Yt,onChange:Ft=>{Bt(Ft.target.value),Ft.target.value&&lt(Ft.target.value),Le(Ft.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:Be}),ve&&E.createElement("div",{id:`search-${Vt}`,className:Ie.searchListWrap},Ze.map((Ft,en)=>E.createElement(E.Fragment,{key:en}," ",Ft.label)))),De?E.createElement(Fe.Z,{className:Ie.spin}):E.createElement(E.Fragment,null,!!ue.length&&E.createElement("aside",{className:Ie.common},E.createElement("div",{className:Ie.title},"\u63A8\u8350\u73AF\u5883:"),E.createElement("ul",{className:Ie.tags},ue.map((Ft,en)=>E.createElement("li",{key:en,onClick:()=>Ct(Ft.id),className:vt===Ft.id?`${Ie.tag} ${Ie.tagActive}`:Ie.tag},Ft.name)))),on&&E.createElement(we.Z,{style:{margin:"60px 0"},image:Se,description:E.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),E.createElement("aside",{className:Ie.wrap,id:`scroll-${Vt}`},We.map((Ft,en)=>{var Ot;return(Ot=Ft==null?void 0:Ft.image)!=null&&Ot.length?E.createElement(dt,{key:en,data:Ft,id:vt,handleClick:rn=>Ct(rn)}):null}),E.createElement("ul",{className:Ie.allList},Re.map(Ft=>E.createElement("li",{key:`key-${Ft.id}`,id:`scroll-${Vt}-${Ft.id}`,className:Ft.id===vt?`${Ie.item} ${Ie.itemActive}`:Ie.item,onClick:()=>st(Ft.id)},E.createElement("div",{className:Ie.name},Ft.name),Ft.private&&E.createElement(Ge.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("div",{className:Ie.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),Ft.is_base&&E.createElement(Ge.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("div",{className:Ie.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),E.createElement("div",{className:Ie.apply},E.createElement("span",{className:Ie.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),E.createElement("span",{className:Ie.p2,onClick:nn}," \u7533\u8BF7\u65B0\u5EFA"),!bt&&E.createElement("span",{className:Ie.p2,onClick:Qt}," \u5728\u7EBF\u521B\u5EFA")))},dt=({data:Dt,id:et,handleClick:He})=>{const[vt,De]=(0,E.useState)(!0),{name:We,image:Re}=Dt;return E.createElement("div",{className:Ie.list},E.createElement("header",{onClick:()=>De(!vt)},E.createElement("div",{className:Ie.title},We),E.createElement("i",{style:{transition:"0.5s",transform:vt?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),E.createElement("ul",{className:Ie.items,style:{height:vt?"auto":0}},Re.map(ue=>E.createElement("li",{key:ue.id,className:ue.id===et?`${Ie.item} ${Ie.itemActive}`:Ie.item,onClick:()=>He(ue.id)},E.createElement("div",{className:Ie.name},ue.name),ue.private&&E.createElement(Ge.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},E.createElement("div",{className:Ie.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ue.is_base&&E.createElement(Ge.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},E.createElement("div",{className:Ie.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),E.createElement("li",{className:Ie.line})))};var nt=ct},28267:function(_t,Ht,te){"use strict";te.d(Ht,{h:function(){return Et}});var E=te(59301),Ge=te(82326),me=te(28284),Fe=te(7939),we=te(89780),Ee=te.n(we),Ae=te(88319),Ie=te(94896),Se=Object.defineProperty,de=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Te=(ct,dt,nt)=>dt in ct?Se(ct,dt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):ct[dt]=nt,$e=(ct,dt)=>{for(var nt in dt||(dt={}))wt.call(dt,nt)&&Te(ct,nt,dt[nt]);if(xe)for(var nt of xe(dt))Qe.call(dt,nt)&&Te(ct,nt,dt[nt]);return ct},je=(ct,dt)=>de(ct,Xe(dt));const St=Ge.default.Option,Nt={labelCol:{span:4},wrapperCol:{span:20}},Rt={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ht.Z=({callback:ct,onCancel:dt})=>{const[nt,Dt]=(0,E.useState)("python");function et(vt){Dt(Rt[vt][1])}function He(vt){ct(vt)}return E.createElement(me.default,je($e({},Nt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:He,style:{width:500}}),E.createElement(me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},E.createElement(Ge.default,{getPopupContainer:vt=>vt.parentNode,onChange:et},Object.keys(Rt).map(vt=>E.createElement(St,{key:vt,value:vt},Rt[vt][0])))),E.createElement(me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},E.createElement(Et,{mode:nt})),E.createElement("div",{className:"flex-container flex-end"},E.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(Fe.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))};function Et({value:ct,onChange:dt,mode:nt,options:Dt={}}){const et=(0,E.useRef)(),[He,vt]=(0,E.useState)();return(0,E.useEffect)(()=>{if(He){let De=function(We){const Re=We.getValue();dt&&dt(Re)};return He.on("change",De),()=>{He.off("change",De)}}},[He,dt]),(0,E.useEffect)(()=>{He&&He.setOption("mode",nt)},[He,nt]),(0,E.useEffect)(()=>{He&&(ct!==He.getValue()||ct==="")&&setTimeout(()=>{He.setValue(ct||"")},300)},[He,ct]),(0,E.useEffect)(()=>{if(et.current&&!He){const De=Ee().fromTextArea(et.current,$e({mode:nt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Dt));vt(De)}},[et.current,He]),E.createElement("div",{className:"my-codemirror-container"},E.createElement("textarea",{ref:et}))}},39116:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return jt}});var E=te(59301),Ge=te(44283),me=te(89780),Fe=te.n(me),we=te(76374),Ee=te(88319),Ae=te(6313),Ie=te(25717),Se=te(99498),de=te(25419),Xe=te(67549),xe=te(35883),wt=({value:It="",className:un,showTextOnly:ln,showLines:$t,style:gn={}})=>{const Cn=(0,E.useMemo)(()=>"",[It]);return E.createElement(E.Fragment,null,E.createElement("div",{dangerouslySetInnerHTML:{__html:Cn}}))},Qe=Object.defineProperty,Te=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Rt=(It,un,ln)=>un in It?Qe(It,un,{enumerable:!0,configurable:!0,writable:!0,value:ln}):It[un]=ln,Et=(It,un)=>{for(var ln in un||(un={}))St.call(un,ln)&&Rt(It,ln,un[ln]);if(je)for(var ln of je(un))Nt.call(un,ln)&&Rt(It,ln,un[ln]);return It},ct=(It,un)=>Te(It,$e(un));let dt=[{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 nt({onActionCallback:It,title:un,icon:ln,actionName:$t,className:gn="",children:Cn}){function yn(){It($t)}return E.createElement("a",{title:un,className:gn,onClick:yn},E.createElement("i",{className:`${ln}`}),Cn)}var Dt=({watch:It,showNullButton:un,showNullProgramButton:ln,onActionCallback:$t,fullScreen:gn,insertTemp:Cn,hidetoolBar:yn,extraUse:kn})=>{const Mn=[...dt,{title:`${It?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${It?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return E.createElement("ul",{className:"markdown-toolbar-container"},!yn&&Mn.map(($n,Gn)=>E.createElement("li",{key:Gn},$n.actionName?E.createElement(nt,ct(Et({},$n),{onActionCallback:$t})):E.createElement("span",{className:"v-line"}))),un?E.createElement("li",null,E.createElement(nt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:$t},E.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,ln?E.createElement(E.Fragment,null,E.createElement("li",null,E.createElement(nt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:$t},E.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),E.createElement("li",null,E.createElement(nt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:$t},E.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Cn&&E.createElement("li",null,E.createElement(nt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Cn}`,onActionCallback:$t},E.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&E.createElement("li",null,kn),E.createElement("li",{className:"btn-full-screen"},E.createElement(nt,{icon:`${gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:$t})))},et=te(88487),He=te(28284),vt=te(37568),De=te(7939),We=Object.defineProperty,Re=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Tt=(It,un,ln)=>un in It?We(It,un,{enumerable:!0,configurable:!0,writable:!0,value:ln}):It[un]=ln,ge=(It,un)=>{for(var ln in un||(un={}))Le.call(un,ln)&&Tt(It,ln,un[ln]);if(st)for(var ln of st(un))Ue.call(un,ln)&&Tt(It,ln,un[ln]);return It},fe=(It,un)=>Re(It,ue(un));const bt={labelCol:{span:4},wrapperCol:{span:20}};var Lt=({callback:It,onCancel:un})=>{function ln($t){It($t)}return E.createElement(He.default,fe(ge({},bt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ln,style:{width:500}}),E.createElement(He.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},E.createElement(vt.default,null)),E.createElement(He.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},E.createElement(vt.default,null)),E.createElement("div",{className:"flex-container flex-end"},E.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(De.ZP,{type:"ghost",onClick:un},"\u53D6\u6D88")))},Bt=te(28267),ve=te(53332),ke=te(62957),Ze=te(77019),xt=te(40254),Mt=te(59301),Xt=({callback:It,onCancel:un})=>{const ln=document.createElement("canvas"),$t=ln.getContext("2d");ln.width=1e3,ln.height=800,$t.fillStyle="#ffffff",$t.fillRect(0,0,ln.width,ln.height);const gn=ln.toDataURL("image/png");return Mt.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Mt.createElement(Ze.Z,{style:{height:"100vh"}},Mt.createElement(xt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:gn,visible:!0,title:String(Date.now())},onOk:Cn=>{It({src:Cn.url})},onClose:un})))},ze=te(36207),Vt=te(5269),gt=te(6767),ae={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=te(59301),oe=(0,E.forwardRef)(({onCancel:It,editImgId:un,callback:ln},$t)=>{let gn=(0,E.useRef)(),Cn=(0,E.useRef)(),yn=(0,E.useRef)(),kn=(0,E.useRef)(!1);const Mn=(0,E.useRef)(!1);console.log("ref:",$t);const[$n,Gn]=(0,E.useState)(0),[Zt,an]=(0,E.useState)("100vh");return(0,E.useEffect)(()=>{Gn(1)},[]),(0,E.useImperativeHandle)($t,()=>({setHeight:an})),ne.createElement("div",{ref:Mn,className:"body-overflow-initial"},ne.createElement(ze.Z,{width:"100vw",height:Zt,footer:null,closable:!0,placement:"bottom",open:!!$n,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ae.drawerWrap}`,onClose:()=>{window.saveDrawData(Bn=>{ln({src:`/api/attachments/${Bn}`,id:Bn})})},title:ne.createElement(Ze.Z,{align:"middle"},ne.createElement(Vt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(Vt.Z,{onClick:()=>{an(Zt==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(Vt.Z,{onClick:()=>{window.saveDrawData(Bn=>{if(Bn===null){gt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}gt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),ln({src:`/api/attachments/${Bn}`,id:Bn,disabledClose:!0})})}},ne.createElement(De.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${un||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Cn})))}),se=te(14185),re=te(47889),he=te(4875);const ye=re.ZP.Group,lt={margin:"0 8px"};var Be=({callback:It,onCancel:un})=>{function ln($t){It($t)}return E.createElement(He.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ln},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(He.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},E.createElement(he.Z,null)),E.createElement("span",{style:lt},"\u5217\u6570"),E.createElement(He.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},E.createElement(he.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(He.default.Item,{name:"align"},E.createElement(ye,null,E.createElement(re.ZP,{value:"default"},E.createElement("i",{className:"fa fa-align-justify"})),E.createElement(re.ZP,{value:"left"},E.createElement("i",{className:"fa fa-align-left"})),E.createElement(re.ZP,{value:"center"},E.createElement("i",{className:"fa fa-align-center"})),E.createElement(re.ZP,{value:"right"},E.createElement("i",{className:"fa fa-align-right"}))))),E.createElement("div",{className:"flex-container flex-end"},E.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(De.ZP,{type:"ghost",onClick:un},"\u53D6\u6D88")))},Ke=te(58755),ut=te(84915),Ct=te.n(ut),nn=(0,E.forwardRef)(({use3d:It,width:un,height:ln,callback:$t,showSaveButton:gn},Cn)=>{const yn=(0,E.useRef)(),kn=(0,E.useRef)(),[Mn,$n]=(0,E.useState)(!1),Gn=(0,E.useRef)({id:yn,appName:"graphing",width:un||1e3,height:ln||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)(()=>{kn.current=new(Ct())(Gn.current,!0),window.onload=function(){kn.current.inject("applet_container")}},[]);const Zt=()=>{var an=window.ggbApplet.getPNGBase64(1,!0,72);return $t&&$t(an),an};return(0,E.useEffect)(()=>{Gn.current.appName=Mn?"3D":"graphing",kn.current.inject("applet_container")},[Mn]),(0,E.useEffect)(()=>{$n(It)},[It]),(0,E.useImperativeHandle)(Cn,()=>({getImgData:Zt})),E.createElement(E.Fragment,null,E.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:yn}),E.createElement(Ze.Z,{align:"middle"},E.createElement(Vt.Z,{flex:1},E.createElement(Ke.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Mn,onChange:an=>$n(an)})),E.createElement(Vt.Z,null,E.createElement(De.ZP,{size:"large",onClick:Zt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Qt=te(9057);const Yt="link",on="upload-image",Ft="add-flowchart",en="draw-image",Ot="add-flowchart",rn="code-block",Ut="add-table",Ne="------------",rt={default:Ne,left:`:${Ne}`,center:`:${Ne}:`,right:`${Ne}:`};var zt=te(79006),Gt=te(76406);function Pe(){}let Ye=0;const ft=1e4,kt="\u2581",Jt="@\u2581\u2581@",cn="@\u2581@",An=`
**\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`,xn=["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 dn(It){return/^\d+$/.test(It)?`${It}px`:It}const bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",tn={[bn+"-B"]:"bold",[bn+"-I"]:"italic"},Wt={[Yt]:"\u6DFB\u52A0\u94FE\u63A5",[rn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[on]:"\u6DFB\u52A0\u56FE\u7247",[en]:"\u6DFB\u52A0\u753B\u56FE",[Ft]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ut]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var jt=({defaultValue:It="",onChange:un,width:ln="100%",height:$t=400,miniToolbar:gn=!1,isFocus:Cn=!1,watch:yn,insertTemp:kn,mode:Mn="markdown",id:$n="markdown-editor-id",showResizeBar:Gn=!1,noStorage:Zt=!1,showNullButton:an=!1,showNullProgramButton:Bn=!1,hidetoolBar:Pn=!1,fullScreen:Ve=!1,onBlur:at,onCMBeforeChange:Oe,onFullScreen:Je,className:Me="",disablePaste:qe=!1,disabled:Ce=!1,disabledFill:ot=!1,placeholder:ht="",values:Pt="",extraUse:pt,onAddBlank:_e})=>{const[tt,mt]=(0,E.useState)(null),[hn,sn]=(0,E.useState)(It),[fn,zn]=(0,E.useState)(yn),[jn,Xn]=(0,E.useState)(Ve),[Rn,In]=(0,E.useState)(""),[Fn,Vn]=(0,E.useState)(0),[_n,Yn]=(0,E.useState)($t),[qn,Ln]=(0,E.useState)(!1),[nr,Un]=(0,E.useState)(0),[dr,pr]=(0,E.useState)(0),sr=(0,E.useRef)(),ur=(0,E.useRef)(),yr=(0,E.useRef)(),lr=(0,E.useRef)(),fr=(0,E.useRef)(),tr=(0,E.useRef)(),mr=(0,Ge.useDispatch)();(0,E.useEffect)(()=>{const wn=window.scrollY||window.pageYOffset;sn(Pt),tt==null||tt.setValue(Pt),window.scrollTo(0,wn)},[Pt]),(0,E.useEffect)(()=>{Je==null||Je(jn)},[jn]),(0,E.useEffect)(()=>{if(sr.current){let wn=function(Tn,Hn){var cr;if(qe){Hn.preventDefault();return}const Mr=Hn.clipboardData;if(Mr){const Pr=Mr.types.toString(),Fr=Mr.items;if(Pr==="Files"||Mr.types.indexOf("Files")>-1){if(Hn.preventDefault(),Mn=="stex")return;try{let Nr=Fr[1];((cr=Fr[0])==null?void 0:cr.kind)==="file"&&(Nr=Fr[0]);const Rr=Nr.getAsFile(),Xr=Rr.name.split(".").pop();(0,ve.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>`):xn.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(Nr){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const mn=Fe().fromTextArea(sr.current,{mode:Mn,lineNumbers:!gn,lineWrapping:!0,value:It,autoCloseTags:!0,autoCloseBrackets:!0});return mn.on("keyup",function(Tn,Hn){Hn.keyCode===8&&(Tn.getValue()==""?mn.setOption("placeholder",ht):mn.setOption("placeholder",null))}),mn.on("keydown",function(Tn,Hn){if(Hn.keyCode===8){var cr=Hr(Tn);cr&&Hn.preventDefault()}}),Cn&&mn.focus(),mn.on("paste",wn),Ce&&mn.on("beforeChange",function(Tn,Hn){(Hn.origin==="paste"||Hn.origin==="+input")&&Hn.cancel()}),mt(mn),()=>{mn.off("paste",wn)}}},[]);const br=(0,E.useCallback)(()=>{if(ur.current)try{}catch(wn){console.log(wn,"---- to set md editor body height")}},[_n,ur,jn]);(0,E.useEffect)(()=>{function wn(){let mn=new we.Z(Tn=>{for(let Hn of Tn)(Hn.target.offsetHeight>0||Hn.target.offsetWidth>0)&&(br(),tt.setSize("100%","100%"),tt.refresh())});return mn.observe(sr.current.parentElement),mn}if(tt){const mn=wn();return()=>{var Tn,Hn;(Tn=sr.current)!=null&&Tn.parentElement&&mn.unobserve((Hn=sr.current)==null?void 0:Hn.parentElement)}}},[tt,br]),(0,E.useEffect)(()=>{if(tt){let wn=[];for(const[mn,Tn]of Object.entries(tn)){let Hn={[mn]:()=>{Er(Tn)}};wn.push(Hn),tt.addKeyMap(Hn)}return()=>{for(let mn of wn)tt.removeKeyMap(mn)}}},[tt]),(0,E.useEffect)(()=>{Ve!==jn&&Xn(Ve)},[Ve]),(0,zt.Z)(()=>{if(!Zt&&Fn>0){let wn=new Date().getTime(),mn=window.sessionStorage.getItem($n);wn>=Fn+ft&&(!mn||mn!==hn)&&(window.sessionStorage.setItem($n,hn),Ln(!0))}},ft),(0,E.useEffect)(()=>{zn(yn)},[tt,yn]),(0,E.useEffect)(()=>{tt&&Cn&&tt.focus()},[tt,Cn]),(0,E.useEffect)(()=>{if(fn&&tt){let wn=function(Tn){let Hn=Tn.target;if(lr.current){let cr=Hn.scrollTop/Hn.scrollHeight;lr.current.scrollTop=lr.current.scrollHeight*cr}};const mn=tt.getScrollerElement();return mn.addEventListener("scroll",wn),()=>{mn.removeEventListener("scroll",wn)}}},[tt,fn]),(0,E.useEffect)(()=>{if(tt&&Oe){let wn=function(mn,Tn){Oe(mn,Tn)};return tt.on("beforeChange",wn),()=>{tt.off("beforeChange",wn)}}},[tt,Oe]),(0,E.useEffect)(()=>{if(tt&&at){let wn=function(){at(tt.getValue())};return tt.on("blur",wn),()=>{tt.off("blur",wn)}}},[tt,at]);function Hr(wn,mn){var Tn=wn.getDoc(),Hn=Tn.getCursor(),cr=Tn.getLine(Hn.line),Mr=cr.charAt(Hn.ch-1),Pr=cr.lastIndexOf("@\u2581@",Hn.ch),Fr=cr.lastIndexOf("@\u2581\u2581@",Hn.ch),Nr=Pr>Fr?Pr:Fr,Rr=Pr>Fr?3:4;if(Jt.indexOf(Mr)===-1)return null;if(console.log("change1:",mn,wn,cr,Hn,Nr,Pr,Fr,Mr),Nr>=0&&Hn.ch-Nr<5){var Xr=Nr+Rr;return Tn.replaceRange("",{line:Hn.line,ch:Nr},{line:Hn.line,ch:Xr}),{line:Hn.line,ch:Xr}}return null}(0,E.useEffect)(()=>{if(tt){let wn=function(mn,Tn){const Hn=mn.getValue();sn(Hn),Vn(new Date().getTime()),mn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),un&&(Bn?un(Hn,Dn(Hn)):un(Hn))};return tt.on("change",wn),()=>{tt.off("change",wn)}}},[tt,un]),(0,E.useEffect)(()=>{if(tt)if(It==null)tt.setValue(""),sn("");else{const wn=window.scrollY||window.pageYOffset;It!==tt.getValue()&&(tt.setValue(It),sn(It),tt.setCursor(Ce?1:tt.lineCount(),0),window.scrollTo(0,wn))}},[tt,It]);const Er=(0,E.useCallback)(wn=>{const mn=tt.getCursor(),Tn=tt.getSelection();let Hn=Tn.split(`
`);switch(wn){case"bold":return tt.replaceSelection("**"+Tn+"**"),Tn===""&&tt.setCursor(mn.line,mn.ch+2),tt.focus();case"italic":return tt.replaceSelection("*"+Tn+"*"),Tn===""&&tt.setCursor(mn.line,mn.ch+1),tt.focus();case"code":return tt.replaceSelection("`"+Tn+"`"),Tn===""&&tt.setCursor(mn.line,mn.ch+1),tt.focus();case"inline-latex":return(0,Gt.Ye)(mr)?void 0:(In("inline-latex"),tt.focus());case"latex":return tt.replaceSelection("```latex\n"+Tn+"\n```"),tt.setCursor(mn.line+1,Tn.length+1),tt.focus();case"line-break":return tt.replaceSelection(`<br/>
`),tt.focus();case"list-ul":return Tn===""?tt.replaceSelection("- "+Tn):tt.replaceSelection(Hn.map(cr=>cr===""?"":`- ${cr}`).join(`
`)),tt.focus();case"list-ol":return Tn===""?tt.replaceSelection("1. "+Tn):tt.replaceSelection(Hn.map((cr,Mr)=>cr===""?"":`${Mr+1}. ${cr}`).join(`
`)),tt.focus();case"add-null-ch":_e==null||_e();return;case"add-signal":return Tn===""&&tt.setCursor(mn.line,mn.ch),tt.replaceSelection(cn),tt.focus();case"add-multiple":return Tn===""&&tt.setCursor(mn.line,mn.ch),tt.replaceSelection(Jt),tt.focus();case"inster-template-1":return Tn===""&&tt.setCursor(mn.line,mn.ch),tt.replaceSelection(An),tt.focus();case"eraser":return tt.setValue(""),tt.focus();case"trigger-watch":return zn(!fn),tt.focus();case"trigger-full-screen":return Xn(!jn),tt.focus();case Yt:In(Yt);return;case rn:In(rn);return;case on:In(on);return;case en:In(en);return;case"maths-latex":if((0,Gt.Ye)(mr))return;In("maths-latex");return;case Ft:fr.current="",sessionStorage.removeItem("file_id"),In(Ft);return;case Ut:In(Ut);return;default:throw new Error}},[tt,fn,jn]),Tr=(0,E.useCallback)((wn,mn)=>{var Tn,Hn,cr,Mr,Pr,Fr;wn!=null&&wn.disabledClose||In("");const{src:Nr,alt:Rr,id:Xr}=wn||{};switch(Rn){case Yt:const{title:ki,link:xi}=wn;return tt.replaceSelection(`[${ki}](${xi})`),tt.focus();case rn:const{language:si,content:Fi}=wn;return tt.replaceSelection(["```"+si,Fi,"```"].join(`
`)),tt.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,ve.I)(Ei,wr=>{wr.id?tt.replaceSelection(`![,](/api/attachments/${wr.id}?type=${wr.content_type})`):(wr==null?void 0:wr.status)===401&&(document.location.href="/user/login")}),tt.focus();case"inline-latex":return(0,Gt.Ye)(mr)?void 0:(tt.replaceSelection("`$$"+wn+"$$`"),tt.focus());case Ot:return Xr?(tt.getValue().indexOf(Nr)===-1?tt.replaceSelection(`<center><img id="${Xr}" width="80%" src="${Nr}" class="draw-flowchart" alt="${Rr||""}" /></center>`):document.getElementById(Xr).src=se.Z.API_SERVER+Nr+"?t="+Date.now(),tt.focus()):void 0;case on:case en:const Wr=mn,Ki=(cr=(Hn=(Tn=Wr==null?void 0:Wr.name)==null?void 0:Tn.split("."))==null?void 0:Hn.pop)==null?void 0:cr.call(Hn);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?tt.replaceSelection(`<p style="text-align:${Wr.align||"initial"}"><img width="${Wr.width?Wr.width+"%":"initial"}" src="${Nr}" alt="${Rr||""}" /></p>`):tt.replaceSelection(`<img width="100%" src="${Nr}" alt="${Rr||""}" />`):((Pr=Wr==null?void 0:Wr.type)==null?void 0:Pr.indexOf("video"))>-1?tt.replaceSelection(`<video width="100%" controls src="${Nr}"></video>`):((Fr=Wr==null?void 0:Wr.type)==null?void 0:Fr.indexOf("pdf"))>-1?tt.replaceSelection(`<a href="${Nr}?type=${Wr.type}&disposition=inline" target="_blank">${Wr.name}</a>`):xn.includes(Ki)?tt.replaceSelection(`<a href="${Nr}?type=office&disposition=inline" target="_blank">${Wr.name}</a>`):tt.replaceSelection(`[${Wr.name}](${Nr})`),tt.focus();case Ut:const{row:_r,col:xr,align:zr}=wn;let Gr=`
`;for(let wr=0;wr<_r;wr++){let kr=[],Ir=[];for(let ui=0;ui<xr;ui++)wr===1&&Ir.push(rt[zr]),kr.push(" ");wr===1&&(Gr+=`| ${Ir.join(" | ")} |
`),Gr+=`| ${kr.join(xr===1?"":" | ")} |
`}return tt.replaceSelection(Gr+`
`),tt.focus();default:throw new Error}},[tt,Rn]),Ar=(0,E.useMemo)(()=>{switch(Rn){case Yt:return E.createElement(Lt,{callback:Tr,onCancel:Dr});case rn:return E.createElement(Bt.Z,{callback:Tr,onCancel:Dr});case on:return E.createElement(ve.Z,{callback:Tr,onCancel:Dr});case Ft:return E.createElement(oe,{editImgId:fr.current,callback:Tr,onCancel:Dr});case Ut:return E.createElement(Be,{callback:Tr,onCancel:Dr});case"maths-latex":return E.createElement(nn,{showSaveButton:!0,callback:Tr});case"inline-latex":return E.createElement(Qt.Z,{showSaveButton:!0,callback:Tr});default:return null}},[Rn]);function Dr(){In("")}(0,E.useEffect)(()=>{if(yr.current){let wn=function(Pr){cr=!0,Mr=Pr.pageY},mn=function(){cr=!1},Tn=function(Pr){if(cr){let Fr=Pr.pageY-Mr;Fr<0&&(Fr=0),Fr>300&&(Fr=300);let Nr=$t+Fr+"px";Yn(Nr)}},Hn=yr.current,cr=!1,Mr=0;return Hn.addEventListener("mousedown",wn),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",mn),()=>{Hn.removeEventListener("mousedown",wn),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",mn)}}},[tt,yr]),(0,E.useEffect)(()=>{Yn($t)},[$t]);const or=dn(ln),ir=dn(_n),er={width:or,height:ir},vn=(0,E.useMemo)(()=>{if(Fn){let wn=new Date(Fn),mn=wn.getHours(),Tn=wn.getMinutes(),Hn=wn.getSeconds();return mn=mn<10?"0"+mn:mn,Tn=Tn<10?"0"+Tn:Tn,Hn=Hn<10?"0"+Hn:Hn,`${mn}:${Tn}:${Hn}`}return 0},[Fn]),Dn=wn=>{const mn=[];if(Bn){let Tn=-1;wn=wn.replace(/(@▁▁@|@▁@)/g,function(Hn,cr,Mr){mn.push({multiLine:Hn!==cn})})}return mn};function On(){window.sessionStorage.removeItem($n),Ln(!1),Vn(0)}function pn(){Ln(!1),Vn(0),tt.setValue(window.sessionStorage.getItem($n))}(0,E.useEffect)(()=>{Wt[Rn]&&Rn!==en&&Rn!==Ft&&setTimeout(()=>{const wn=document.getElementsByClassName("markdown-popup-form")[0],mn=window.innerWidth/2-wn.offsetWidth/2,Tn=window.innerHeight/2-wn.offsetHeight/2;Un(mn),pr(Tn)},0)},[Rn]);const Wn=wn=>{wn.preventDefault();const mn=wn.clientX-nr,Tn=wn.clientY-dr;document.body.onmousemove=Hn=>{let cr=Hn.clientX-mn,Mr=Hn.clientY-Tn;const Pr=document.getElementsByClassName("markdown-popup-form")[0],Fr=window.innerWidth-Pr.offsetWidth,Nr=window.innerHeight-Pr.offsetHeight;cr=Math.max(0,Math.min(cr,Fr)),Mr=Math.max(0,Math.min(Mr,Nr)),Kn(Hn.clientX,Hn.clientY,mn,Tn)&&(Un(cr),pr(Mr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Kn=(wn,mn,Tn,Hn)=>{const cr=document.body.clientHeight,Mr=document.body.clientWidth;return wn<20&&Tn>wn||wn>Mr-20&&Tn<wn||mn<20&&Hn>mn||mn>cr-20&&Hn<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:ur},E.createElement("div",{className:`markdown-editor-container ${Me} ${fn?"on-preview":""} ${gn?"mini":""} ${jn?"full-screen":""}`,style:er},E.createElement(Dt,{insertTemp:kn,watch:fn,fullScreen:jn,showNullButton:an,showNullProgramButton:Bn,onActionCallback:Er,hidetoolBar:Pn,extraUse:pt}),E.createElement("div",{className:"markdown-editor-body"},E.createElement("div",{className:"codemirror-container"},E.createElement("textarea",{ref:sr,placeholder:ht})),fn?E.createElement("div",{ref:lr,className:"preview-container"},Mn==="stex"&&E.createElement(wt,{value:hn}),Mn!=="stex"&&E.createElement(xe.Z,{edit:!0,disabledFill:ot,showProgramFill:Bn,value:hn,openEditor:wn=>{var mn;fr.current=wn,(mn=tr.current)==null||mn.setHeight("100vh"),setTimeout(()=>{In("add-flowchart")},150)}})):null))),Gn?E.createElement("a",{ref:yr,className:"editor-resize"}):null,Rn===en&&E.createElement(Xt,{callback:Tr,onCancel:Dr}),Rn===Ft&&E.createElement(oe,{ref:tr,editImgId:fr.current,callback:Tr,onCancel:Dr}),E.createElement(et.Z,null,Wt[Rn]&&Rn!==en&&Rn!==Ft?E.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:nr,top:dr},title:E.createElement("div",{style:{cursor:"move"},onMouseDown:Wn},Wt[Rn]),open:!0,onCancel:Dr,footer:null,destroyOnClose:!0,width:Rn===Ft?"1200px":null,height:Rn===Ft?"80vh":null,className:"markdown-popup-form"},Ar):null))}},53332:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return dt},I:function(){return Dt}});var E=te(28284),Ge=te(6767),me=te(37568),Fe=te(44104),we=te(4875),Ee=te(47889),Ae=te(7939),Ie=te(23216),Se=te(59301),de=te(59301),Xe=Object.defineProperty,xe=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,je=(et,He,vt)=>He in et?Xe(et,He,{enumerable:!0,configurable:!0,writable:!0,value:vt}):et[He]=vt,St=(et,He)=>{for(var vt in He||(He={}))Te.call(He,vt)&&je(et,vt,He[vt]);if(Qe)for(var vt of Qe(He))$e.call(He,vt)&&je(et,vt,He[vt]);return et},Nt=(et,He)=>xe(et,wt(He));const{useForm:Rt}=E.default,Et={width:280,marginRight:10},ct={labelCol:{span:5},wrapperCol:{span:19}};var dt=({callback:et,onCancel:He})=>{const[vt]=Rt();let De=(0,Se.useRef)();function We(st){De.current.width=vt.getFieldValue("width"),De.current.align=vt.getFieldValue("align"),et(st,De.current)}function Re(st,Le){if(st.status===-1){Ge.ZP.error(st.message);return}vt.setFieldsValue({src:`/api/attachments/${st.id}`,type:Le.type})}function ue(st){let Le=st.target.files[0];De.current=Le,Dt(Le,Re)}return de.createElement(E.default,Nt(St({form:vt},ct),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),de.createElement(E.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(E.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},de.createElement(me.default,{style:Et})),de.createElement(nt,{onFileChange:ue}))),de.createElement(E.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(me.default,{style:{width:264}})),de.createElement(E.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(Fe.Z,null,de.createElement(E.default.Item,{name:"width",style:{margin:0}},de.createElement(we.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(E.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.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"}]})),de.createElement("aside",null,de.createElement(E.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(Ae.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function nt({onFileChange:et}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:et}))}function Dt(et,He){if(!et)throw new String("\u6CA1\u6709\u6587\u4EF6");let vt=new FormData;vt.append("editormd-image-file",et),vt.append("file_param_name","editormd-image-file"),vt.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(We){He(JSON.parse(We.target.responseText),et)},!1),De.addEventListener("error",function(We){console.error(We)},!1),De.open("POST",`${Ie.KI}/api/attachments.json`),De.send(vt)}},88487:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return me}});var E=te(59301),Ge=te(4676);class me extends E.Component{constructor(we){super(we);const Ee=window.document;this.node=Ee.createElement("div"),Ee.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,Ge.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(_t,Ht,te){"use strict";te.d(Ht,{SV:function(){return Xt},ZP:function(){return Mt}});var E=te(59301),Ge=te(76374);const me={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Fe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},we={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(`
`)}]},Ae={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 Ie=te(53184),Se=te.n(Ie),de=(ze,Vt,gt)=>new Promise((ae,ne)=>{var ee=re=>{try{se(gt.next(re))}catch(he){ne(he)}},oe=re=>{try{se(gt.throw(re))}catch(he){ne(he)}},se=re=>re.done?ae(re.value):Promise.resolve(re.value).then(ee,oe);se((gt=gt.apply(ze,Vt)).next())});const Xe={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=(ze,Vt,gt,ae)=>{const ne=Vt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:gt.lineNumber,endColumn:gt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(oe=>({label:oe,kind:ze.languages.CompletionItemKind.Text,insertText:oe,range:ae}))},wt=(ze,Vt,gt,ae)=>{ze.languages.registerCompletionItemProvider(Vt,{provideCompletionItems(ne,ee){const oe=ne.getWordUntilPosition(ee),se={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:oe.startColumn,endColumn:oe.endColumn},re=ne.getLineContent(ee.lineNumber).substring(oe.startColumn-2,oe.endColumn);return{suggestions:[...xe(ze,ne,ee,se),...gt.map(ye=>({label:ye,kind:ze.languages.CompletionItemKind.Keyword,documentation:ye,insertText:ye,insertTextRules:ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...ae.map(ye=>({label:ye.label,kind:ze.languages.CompletionItemKind.Snippet,documentation:ye.content,insertText:re.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Qe=ze=>{Xe.languages.forEach(Vt=>{ze.languages.registerDocumentFormattingEditProvider(Vt,{provideDocumentFormattingEdits(gt){return de(this,null,function*(){const ae=Se()(gt.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:gt.getFullModelRange(),text:ae}]})}})}),wt(ze,"java",Fe.keywords,Fe.quickKey),wt(ze,"cpp",we.keywords,we.quickKey),wt(ze,"c",me.keywords,[]),wt(ze,"python",Ee.keywords,Ee.quickKey),wt(ze,"scala",Ae.keywords,Ae.quickKey)};const Te="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var $e=Object.defineProperty,je=(ze,Vt,gt)=>Vt in ze?$e(ze,Vt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ze[Vt]=gt,St=(ze,Vt,gt)=>je(ze,typeof Vt!="symbol"?Vt+"":Vt,gt);const Nt=class zs{constructor(Vt,gt,ae){this.placeholder=Vt,this.editor=gt,this.monaco=ae,gt.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)}};St(Nt,"ID","editor.widget.placeholderHint");var Et=Nt,ct=te(96236),dt=te(6767),nt=te(25399),Dt=te(78267),et=te(33156),He=te(56102),vt=Object.defineProperty,De=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Le=(ze,Vt,gt)=>Vt in ze?vt(ze,Vt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):ze[Vt]=gt,Ue=(ze,Vt)=>{for(var gt in Vt||(Vt={}))ue.call(Vt,gt)&&Le(ze,gt,Vt[gt]);if(Re)for(var gt of Re(Vt))st.call(Vt,gt)&&Le(ze,gt,Vt[gt]);return ze},Tt=(ze,Vt)=>De(ze,We(Vt)),ge=(ze,Vt)=>{var gt={};for(var ae in ze)ue.call(ze,ae)&&Vt.indexOf(ae)<0&&(gt[ae]=ze[ae]);if(ze!=null&&Re)for(var ae of Re(ze))Vt.indexOf(ae)<0&&st.call(ze,ae)&&(gt[ae]=ze[ae]);return gt},fe=(ze,Vt,gt)=>new Promise((ae,ne)=>{var ee=re=>{try{se(gt.next(re))}catch(he){ne(he)}},oe=re=>{try{se(gt.throw(re))}catch(he){ne(he)}},se=re=>re.done?ae(re.value):Promise.resolve(re.value).then(ee,oe);se((gt=gt.apply(ze,Vt)).next())});function bt(ze){return/^\d+$/.test(ze)?`${ze}px`:ze}function Lt(){}let Bt=!1;const ve={"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 ke(ze=[]){let Vt=ze;if(Array.isArray(ze)){for(let gt=0;gt<ze.length;gt++){let ae=ve[ze[gt]];if(ae)return ae}return Vt[0]}return ve[Vt]||Vt}let Ze=null;const xt=()=>fe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ze){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ze)}});var Mt=ze=>{var Vt=ze,{width:gt="100%",height:ae="100%",value:ne,language:ee="javascript",style:oe={},options:se={},overrideServices:re={},theme:he="vs-dark",onEditBlur:ye,isCopy:lt=!1,onSave:Be,autoHeight:Ke=!1,forbidCopy:ut=!1,forbidCopyTips:Ct,onChange:At=Lt,editorDidMount:nn=Lt,onFocus:Qt=Lt,onBreakPoint:Yt=Lt,breakPointValue:on=[],filename:Ft="educoder.txt",errorLine:en,errorContent:Ot="",highlightLine:rn,openBreakPoint:Ut=!1,placeholder:Ne="",showMiniMap:rt=!0}=Vt,zt=ge(Vt,["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 Gt=(0,E.useRef)(),Pe=(0,E.useRef)({}),Ye=(0,E.useRef)(),ft=(0,E.useRef)(),kt=(0,E.useRef)([]),Jt=(0,E.useRef)(!1),cn=(0,E.useRef)(),An=(0,E.useRef)(),xn=(0,E.useRef)(!1),[dn,Sn]=(0,E.useState)(!1);function bn(){let Zt;return Gt.current&&(Zt=new Ge.Z(an=>{for(let Bn of an)(Bn.target.offsetHeight>0||Bn.target.offsetWidth>0)&&Pe.current.instance.layout()}),Zt.observe(Gt.current)),Zt}function tn(){dt.ZP.warning({content:decodeURIComponent(Ct||Te),key:"monaco-editor-tip"})}const Wt=()=>{let Zt=Pe.current.instance;if(ne!=null&&Zt&&dn){const an=Zt.getModel();an&&ne!==an.getValue()&&(Bt=!0,an.setValue(ne),Zt.layout(),Bt=!1)}};(0,E.useEffect)(()=>{const Zt=et.Z.subscribe("formatDocument",an=>{var Bn;let Pn=Pe.current.instance;(Bn=Pn==null?void 0:Pn.getAction)==null||Bn.call(Pn,"editor.action.formatDocument").run()});return window.updateMonacoValue=an=>{At(an)},Zt},[]),(0,E.useEffect)(()=>{var Zt;let an=Pe.current.instance;ft.current&&clearTimeout(ft.current),ft.current=setTimeout(()=>{Wt()},500),ne&&(ne!=null&&ne.length)&&((Zt=an==null?void 0:an.updateOptions)==null||Zt.call(an,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,dn,Pe.current]),(0,E.useEffect)(()=>{if(en&&Pe.current&&Pe.current.instance){let an=Pe.current.instance;an.changeViewZones(function(Bn){var Pn=document.createElement("div");Pn.style.padding="10px 20px",Pn.style.width="calc(100% - 20px)",Pn.className="my-error-line-wrp",Pn.innerHTML=Ot,Bn.addZone({afterLineNumber:en||11,heightInLines:3,domNode:Pn})});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}};an.addOverlayWidget(Zt),an.revealPositionInCenter({lineNumber:20,column:1})}},[en,Pe.current,dn]);const jt=(Zt="",an)=>{if(!Zt||Zt.trim()==="")return!0;const Pn=Pe.current.instance.getModel().getLineTokens(an);let Ve=!1;for(let at=0;at<2;at++)Pn.getStandardTokenType(at)===1&&(Ve=!0);return Ve};(0,E.useEffect)(()=>{var Zt;const an=(Zt=Pe.current)==null?void 0:Zt.instance;if(an&&dn&&ut){const Bn=an.onDidBlurEditorWidget(()=>{xn.current=!1}),Pn=an.onDidFocusEditorText(()=>{xn.current=!0});return()=>{Bn.dispose(),Pn.dispose()}}},[Pe.current,dn,ut]),(0,E.useEffect)(()=>{var Zt;if((Zt=Pe.current)!=null&&Zt.instance&&dn&&Ut){let an=Pe.current.instance,Bn=an.getModel();if(!Bn)return;(()=>{var pt;let _e=[],tt=[];const mt=Bn.getAllDecorations();for(let sn of mt)sn.options.className==="highlighted-line"&&(_e.push((pt=sn==null?void 0:sn.range)==null?void 0:pt.startLineNumber),tt.push(sn==null?void 0:sn.id));if(rn===_e[0])return;Bn.deltaDecorations(tt,[]);const hn=Bn.getLineCount();rn&&rn<=hn&&(an.deltaDecorations([],[{range:new Ze.Range(rn,1,rn,Bn.getLineMaxColumn(rn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),an.revealLineInCenter(rn))})();const Ve=(pt=!1)=>{var _e;let tt=[],mt=[];const hn=Bn.getAllDecorations();for(let sn of hn)sn.options.linesDecorationsClassName==="breakpoints-select"&&(tt.push((_e=sn==null?void 0:sn.range)==null?void 0:_e.startLineNumber),mt.push(sn==null?void 0:sn.id));if(pt)return{lines:tt,ids:mt};Yt(tt)},at=pt=>fe(void 0,null,function*(){let _e={range:new Ze.Range(pt,1,pt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Bn.deltaDecorations([],[_e]),Ve()}),Oe=pt=>fe(void 0,null,function*(){let _e=[];const tt=an.getLineDecorations(pt);for(let mt of tt)mt.options.linesDecorationsClassName==="breakpoints-select"&&_e.push(mt.id);yield Bn.deltaDecorations(_e,[]),Ve()}),Je=pt=>{let _e=an.getLineDecorations(pt);for(let tt of _e)if(tt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Dt.isEqual)(on,Ve(!0).lines)){Bn.deltaDecorations(Ve(!0).ids,[]);const pt=on.map(_e=>({range:new Ze.Range(_e,1,_e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Bn.deltaDecorations([],pt)}const Me=an.onDidChangeModelContent(pt=>{let _e=an.getPosition();if(_e){let tt=_e.lineNumber;clearTimeout(An.current),An.current=setTimeout(()=>{jt(Bn.getLineContent(tt),tt)?Oe(tt):Je(tt)?(Oe(tt),at(tt)):Ve()},100)}}),qe=an.onMouseDown(pt=>{var _e,tt,mt;if(pt.target.detail&&((mt=(tt=(_e=pt.target)==null?void 0:_e.element)==null?void 0:tt.className)!=null&&mt.includes("line-numbers"))){let hn=pt.target.position.lineNumber;if(jt(Bn.getLineContent(hn),hn))return;Je(hn)?Oe(hn):at(hn)}}),Ce=pt=>{let _e={range:new Ze.Range(pt,1,pt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};kt.current=an.deltaDecorations(kt.current,[_e])},ot=()=>{kt.current=an.deltaDecorations(kt.current,[])},ht=an.onMouseMove(pt=>{var _e,tt,mt;if(ot(),pt.target.detail&&((mt=(tt=(_e=pt.target)==null?void 0:_e.element)==null?void 0:tt.className)!=null&&mt.includes("line-numbers"))){let hn=pt.target.position.lineNumber;if(jt(Bn.getLineContent(hn),hn))return;Ce(hn)}}),Pt=an.onMouseLeave(()=>{ot()});return()=>{Me.dispose(),qe.dispose(),ht.dispose(),Pt.dispose()}}},[Pe.current,dn,on,rn,Ut,ee]),(0,E.useEffect)(()=>{var Zt;(Zt=Pe.current)!=null&&Zt.instance&&Ut&&Pe.current.instance.setPosition({lineNumber:0,column:0})},[rn]);function It(){let Zt=Pe.current.instance;if(Zt){const an=Zt.getSelection(),Bn=Pe.current.pastePos||{},Pn=new Ze.Range(Bn.startLineNumber||an.endLineNumber,Bn.startColumn||an.endColumn,Bn.endLineNumber||an.endLineNumber,Bn.endColumn||an.endColumn);setTimeout(()=>{Zt.executeEdits("",[{range:Pn,text:""}])},300)}}function un(Zt){(window.navigator.platform.match("Mac")?Zt.metaKey:Zt.ctrlKey)&&Zt.keyCode==83&&(Zt.preventDefault(),Be())}const ln=()=>{if(Ke&&Pe.current.instance){const Zt=Pe.current.instance.getContentHeight();$n(Zt<ae?ae:Zt)}else $n(ae)};function $t(Zt){var an=document.createEvent("MouseEvents");an.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Zt.dispatchEvent(an)}const gn=Zt=>{if(!xn.current)return;const{keyCode:an,ctrlKey:Bn,metaKey:Pn,target:Ve,type:at}=Zt;return(at==="paste"||(an===67||an===86)&&(Pn||Bn))&&Ve.nodeName==="TEXTAREA"&&(tn(),Zt.preventDefault()),!1};function Cn(Zt,an){var Bn=window.URL||window.webkitURL||window,Pn=new Blob([an]),Ve=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ve.href=Bn.createObjectURL(Pn),Ve.download=Zt,$t(Ve)}(0,E.useEffect)(()=>{ln()},[ln]),(0,E.useEffect)(()=>{Gt.current&&!dn&&Promise.all([te.e(8909),te.e(5977)]).then(te.bind(te,71448)).then(Zt=>{try{Ze=Zt,Pe.current.instance=Ze.editor.create(Gt.current,{value:ne,language:ke(ee),theme:he,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:rt||!1}},re);const an=Pe.current.instance;let Ve=[...ct.BH._menuItems].find(Me=>Me[0]._debugName=="EditorContext")[1],at=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Oe=(Me,qe)=>{var Ce,ot;let ht=Me._first;do qe.includes((ot=(Ce=ht.element)==null?void 0:Ce.command)==null?void 0:ot.id)&&Me._remove(ht);while(ht=ht.next)};if(nn(an,Ze),setTimeout(()=>{ln(),Pe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cn(Ft||"educoder.txt",an.getValue())}})},500),Pe.current.subscription=an.onDidChangeModelContent(Me=>{Jt.current?clearTimeout(cn.current):(ln(),At(an.getValue(),Me)),cn.current=setTimeout(()=>{Jt.current=!1},500)}),window.Monaco||Qe(Ze,ke(ee)),ut&&(Oe(Ve,at),Gt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",gn),window.removeEventListener("paste",gn),window.addEventListener("keydown",gn),window.addEventListener("paste",gn)),window.Monaco=Ze,ye&&an.onDidBlurEditorWidget(()=>{ye(an.getValue())}),Qt&&an.onDidFocusEditorText(()=>{ut&&xt(),Qt(an.getValue())}),ut){xt();try{an.onDidPaste(Me=>{const qe=an.getSelection(),Ce=Pe.current.pastePos||{},ot=new Ze.Range(Ce.startLineNumber||qe.endLineNumber,Ce.startColumn||qe.endColumn,Ce.endLineNumber||qe.endLineNumber,Ce.endColumn||qe.endColumn);an.executeEdits("",[{range:Me.range,text:""}])})}catch(Me){}}let Je=bn();return Ne&&typeof Ne=="string"&&new Et(Ne,an,Ze),Sn(!0),()=>{const Me=Pe.current.instance;Me.dispose();const qe=Me.getModel();qe&&qe.dispose(),Pe.current.subscription&&Pe.current.subscription.dispose(),Je.unobserve(Gt.current)}}catch(an){}})},[]),(0,E.useEffect)(()=>{if(Pe.current.instance&&dn)return document.addEventListener("keydown",un,!1),()=>{document.removeEventListener("keydown",un)}},[Be,dn]),(0,E.useEffect)(()=>{let Zt=Pe.current.instance;if(Zt&&dn){let an=ke(ee);Ze.editor.setModelLanguage(Zt.getModel(),an)}},[ee,dn]),(0,E.useEffect)(()=>{Pe.current.instance&&dn&&Ze.editor.setTheme(he)},[he,dn]),(0,E.useEffect)(()=>{let Zt=Pe.current.instance;Ye.current=se,Zt&&dn&&(Zt.updateOptions(Ue({},se)),setTimeout(()=>{Zt.getModel().updateOptions(Ue({},se))},200))},[JSON.stringify(se),dn]),(0,E.useEffect)(()=>{let Zt=Pe.current.instance;Zt&&dn&&Zt.layout()},[gt,ae,dn]);const[yn,kn]=(0,E.useState)(bt(gt)),[Mn,$n]=(0,E.useState)(bt(ae)),Gn=Tt(Ue({},oe),{width:yn,height:Mn,position:"relative"});return E.createElement("div",{className:"my-monaco-editor",ref:Gt,style:Gn,onFocus:()=>{ut&&xt()}},lt&&E.createElement(He.CopyToClipboard,{text:ne,onCopy:()=>dt.ZP.success("\u590D\u5236\u6210\u529F")},E.createElement(nt.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 Xt({width:ze="100%",height:Vt="100%",original:gt,modified:ae,language:ne,options:ee={}}){const oe=(0,E.useRef)(),[se,re]=(0,E.useState)(null);function he(Ke){let ut;return oe.current&&(ut=new Ge.Z(Ct=>{for(let At of Ct)(At.target.offsetHeight>0||At.target.offsetWidth>0)&&Ke.layout()}),ut.observe(oe.current)),ut}(0,E.useEffect)(()=>(oe.current&&Promise.all([te.e(8909),te.e(9404)]).then(te.bind(te,2550)).then(Ke=>{Ze=Ke;const ut=Ze.editor.createDiffEditor(oe.current,Tt(Ue({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}));re(ut);let Ct=he(ut);return()=>{ut.dispose();const At=ut.getModel();At&&At.dispose(),Ct.unobserve(oe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,E.useEffect)(()=>{se&&se.setModel({original:Ze.editor.createModel(gt,ne),modified:Ze.editor.createModel(ae,ne)})},[gt,ae,ne,se]);const ye=bt(ze),lt=bt(Vt),Be={width:ye,height:lt};return E.createElement("div",{className:"my-diff-editor",ref:oe,style:Be})}},54077:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Xe}});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"},Ge=te(29787),me=te(25399),Fe=te(89787),we=te(92310),Ee=te.n(we),Ae=te(76406),Ie=te(90736),Se=te(59301),Xe=({className:xe,dataSource:wt=[],col:Qe=4,right:Te,bottom:$e=23,precision:je=0,wrapWidth:St=1200,trackEventItems:Nt,loading:Rt,onRemove:Et=()=>{},isCurrent:ct=!0,showProgress:dt=!1,showAlias:nt=!1,category:Dt="notDisplay",hiddenClick:et=()=>{}})=>{const He=Math.floor((St-(Qe-1)*Te)/Qe),vt=[{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 Se.createElement(Ge.Z,{spinning:Rt},Se.createElement("div",{className:Ee()(E.list,xe)},!!(wt!=null&&wt.length)&&(wt==null?void 0:wt.map((De,We)=>{var Re,ue,st,Le,Ue,Tt,ge;const{name:fe,id:bt,identifier:Lt,featured:Bt,school_name:ve,image_url:ke,excellent:Ze,is_plan:xt}=De;return Se.createElement("div",{key:bt,className:ct&&dt?E.wrapisCurrent:E.wrap,style:{width:He,marginRight:(1+We)%Qe===0?0:Te+je,marginBottom:$e}},Se.createElement("a",{className:E.li,onClick:Mt=>{Mt.preventDefault(),Mt.stopPropagation(),Nt&&(0,Ae.L9)([Nt]),(0,Ae.xg)(`/paths/${Lt}`)}},Se.createElement("div",{className:E.img},Se.createElement("img",{className:E.cover,src:`${ke}`}),(Re=De==null?void 0:De.subject_tags)==null?void 0:Re.map((Mt,Xt)=>{var ze,Vt;if(Xt===0){const ae=(ze=vt.find(ne=>ne.name==Mt))==null?void 0:ze.swclass;return Se.createElement("span",{className:`sprite ${ae} ${E.sign}`,style:{left:"-4px"}})}const gt=(Vt=vt.find(ae=>ae.name==Mt))==null?void 0:Vt.ptclass;return Se.createElement("span",{className:`sprite ${gt} ${E.sign}`,style:{left:`${48+52*(Xt-1)+2*Xt}px`}})}),Se.createElement("div",{className:E.tagsDom},Se.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(De==null?void 0:De.excellent)&&Se.createElement("div",{className:E.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ue=De==null?void 0:De.custom_tags)==null?void 0:ue.length)>0&&(De==null?void 0:De.custom_tags.map((Mt,Xt)=>{var ze;return Se.createElement(me.Z,{title:Mt==null?void 0:Mt.tag_name,key:Xt},Se.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((ze=De==null?void 0:De.custom_tags)==null?void 0:ze.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Se.createElement("span",{className:"multi-llipsis1e"},Mt==null?void 0:Mt.tag_name)))})))),Dt=="hide"&&(De==null?void 0:De.studying)&&ct&&Se.createElement("div",{className:`${E.movebq} user-path-items`,onClick:Mt=>{Mt.stopPropagation(),Et(De)}},Se.createElement("i",{className:"iconfont icon-yichu1 font12"}),Se.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(Dt)&&ct&&Se.createElement("div",{className:`${E.hiddenbq} user-path-items`,onClick:Mt=>{Mt.stopPropagation(),et(De)}},Se.createElement("i",{className:`iconfont ${Dt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Se.createElement("span",null,Dt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Se.createElement("div",{className:E.name},Se.createElement(me.Z,{title:nt&&(De!=null&&De.excellent_alias_name)?Se.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${fe}`,Se.createElement("br",null),Se.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${De==null?void 0:De.excellent_alias_name}`)):fe},Se.createElement("span",{className:E.e},nt&&(De==null?void 0:De.excellent_alias_name)||fe))),ct&&dt&&((st=De==null?void 0:De.progress)==null?void 0:st.all_score)!=0&&Se.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Se.createElement(Fe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Le=De==null?void 0:De.progress)==null?void 0:Le.my_score)/((Ue=De==null?void 0:De.progress)==null?void 0:Ue.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Tt=De==null?void 0:De.progress)==null?void 0:Tt.my_score,"/",(ge=De==null?void 0:De.progress)==null?void 0:ge.all_score),(!ct||!dt)&&Se.createElement(me.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${ve}`},Se.createElement("div",{className:E.unit},Se.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),ve)),(!ct||!dt)&&Se.createElement("div",{className:E.tags},Se.createElement("div",null,Se.createElement(me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Se.createElement("span",null,De.stages_count))),Se.createElement(me.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Se.createElement("span",null,De.members_count)))))))})),!wt.length&&Se.createElement(Ie.Z,null)))}},70467:function(_t,Ht,te){"use strict";te.d(Ht,{jL:function(){return Fe},w9:function(){return fe},QD:function(){return on},cQ:function(){return We.Z},op:function(){return ut},O5:function(){return bn},_b:function(){return Ne},t7:function(){return je},Gi:function(){return Ze},YG:function(){return ve},qp:function(){return de},vr:function(){return Ot},qE:function(){return nn},Je:function(){return Rt},wb:function(){return De},cq:function(){return gt},tp:function(){return wt}});var E=te(59301),Ge={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"},Fe=({dataSource:tn=[],img:Wt,imgWidth:jt=346,title:It,sunTitle:un,bannerExtraContent:ln})=>E.createElement("div",{className:Ge.banner},E.createElement("div",{className:Ge.content},E.createElement("aside",null,E.createElement("p",null,E.createElement("b",null,It),E.createElement("span",null,un)),tn.length>0&&E.createElement("div",{className:Ge.btns},tn.map(($t,gn)=>E.createElement("div",{key:gn,onClick:$t.click},$t.name,$t.sign?E.createElement("span",{className:"sprite sprite-33"}):null))),ln),Wt&&E.createElement("img",{style:{marginTop:33,marginRight:38},src:Wt,width:jt}))),we={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=te(92310),Ae=te.n(Ee),Ie=te(78267),de=({dataSource:tn=[],value:Wt,onChange:jt,onTitleChange:It,className:un,title:ln,titleWidth:$t=41,style:gn={},fontColor:Cn="#6A7283",showCount:yn})=>{const[kn,Mn]=(0,E.useState)(1),[$n,Gn]=(0,E.useState)(!1),Zt=(0,E.useRef)(null),an=(0,E.useRef)(null);return(0,E.useEffect)(()=>{var Bn;tn.length!==0&&(((Bn=Zt==null?void 0:Zt.current)==null?void 0:Bn.clientHeight)>97?Mn(1):Mn(0)),tn.length===0&&Mn(0),Gn(!1)},[tn]),E.createElement("div",{className:Ae()(we.row,un,"fadeIn","animated"),style:gn},E.createElement("div",{onClick:(0,Ie.throttle)(()=>It==null?void 0:It(),2e3),style:{width:$t,marginTop:$n?12:4},className:`${we.title} ${It?"current":""}`},ln),E.createElement("div",{className:$n?`${we.tagsWrap} ${we.tagsBorderWrap}`:we.tagsWrap},E.createElement("div",{className:we.bar,ref:an,style:kn>0?{height:kn===1?97:"auto",overflow:kn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},E.createElement("div",{className:we.tag,ref:Zt},tn==null?void 0:tn.map(Bn=>E.createElement("span",{onClick:()=>jt(Bn.id),key:Bn.id,style:{color:Cn},className:Wt===Bn.id?we.active:""},E.createElement("span",{title:Bn.name,className:we.name},Bn.name),!!yn&&E.createElement("span",{className:we.num},Bn.count))))),!!kn&&E.createElement(E.Fragment,null,kn===1?E.createElement("div",{onClick:()=>{var Bn;Mn(2),((Bn=Zt==null?void 0:Zt.current)==null?void 0:Bn.clientHeight)>245?Gn(!0):Gn(!1)},className:we.action},"\u5C55\u5F00",E.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):E.createElement("div",{onClick:()=>{an.current.scrollTop=0,Mn(1),Gn(!1)},className:we.action},"\u6536\u8D77",E.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Xe={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"},wt=({dataSource:tn=[],value:Wt,onChange:jt,className:It,style:un={}})=>E.createElement("div",{style:un,className:Ae()(Xe.tabs,It)},tn.map(ln=>E.createElement("span",{onClick:()=>jt(ln.id),className:Wt===ln.id?Xe.active:"",key:ln.id},ln.name))),Qe={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"},Te=te(37568),je=({dataSource:tn=[],value:Wt="",onChange:jt,onInputChange:It=()=>{},className:un,style:ln={},placeholder:$t,allowClear:gn=!1})=>{var Cn;const[yn,kn]=(0,E.useState)(""),[Mn,$n]=(0,E.useState)("");(0,E.useEffect)(()=>{var an;let Bn=Wt;(an=JSON.stringify(Wt))!=null&&an.includes("{")&&(kn(Wt.id),Bn=Wt.value||"");try{$n(decodeURIComponent(Bn||""))}catch(Pn){$n(decodeURIComponent(Bn||""))}},[Wt]);const Gn=()=>{jt(encodeURIComponent(Mn),yn||null)},Zt=an=>{an!==yn&&(kn(an),jt(encodeURIComponent(Mn),an))};return E.createElement("div",{className:Ae()(Qe.input,un),style:ln},!!tn.length&&E.createElement("div",{className:Qe.dropdown},E.createElement("div",{className:Qe.text},(Cn=tn.find(an=>an.id===yn))==null?void 0:Cn.name,E.createElement("i",{className:"iconfont icon-zhankai4"}),E.createElement("b",{className:Qe.b1}),E.createElement("b",{className:Qe.b2})),E.createElement("div",{className:Qe.menu},tn.map((an,Bn)=>E.createElement("div",{key:Bn,onClick:()=>Zt(an.id)},an.name)))),E.createElement(Te.default,{onPressEnter:Gn,value:Mn,onChange:an=>{$n(an.target.value),It(encodeURIComponent(an.target.value),yn||null)},placeholder:$t,variant:"borderless",allowClear:gn,onClear:()=>jt("",yn||null)}),E.createElement("i",{onClick:Gn,className:"iconfont icon-sousuo9 font14 current"}))},St={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"},Rt=({value:tn,onChange:Wt,className:jt,total:It,pageSize:un,style:ln={}})=>{const $t=tn<2,gn=tn>=Math.ceil(It/un);return It<=un?E.createElement(E.Fragment,null):E.createElement("div",{className:Ae()(St.quickPager,jt),style:ln},E.createElement("div",{onClick:()=>{$t||Wt(tn-1,"prev")},className:$t?St.disabled:""},"\u4E0A\u4E00\u9875"),E.createElement("div",{onClick:()=>{gn||Wt(tn+1,"next")},className:gn?St.disabled:""},"\u4E0B\u4E00\u9875"))},Et={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"},ct=te(29787),dt=te(25399),nt=te(63139),Dt=te(14185),et=te(76406),He=te(90736),De=({className:tn,dataSource:Wt=[],col:jt=4,right:It,bottom:un=23,precision:ln=0,wrapWidth:$t=1200,trackEventItems:gn,loading:Cn})=>{const yn=Math.floor(($t-(jt-1)*It)/jt);return E.createElement(ct.Z,{spinning:Cn},E.createElement("div",{className:Ae()(Et.list,tn)},!!Wt.length&&Wt.map((kn,Mn)=>{const{name:$n,id:Gn,identifier:Zt,power:an,cover_image_id:Bn,pic:Pn}=kn;return E.createElement("div",{className:Et.wrap,key:Gn,style:{width:yn,marginRight:(1+Mn)%jt===0?0:It+ln,marginBottom:un}},E.createElement("a",{target:"_blank",href:`/shixuns/${Zt}/challenges`,className:Et.li,onClick:Ve=>{Ve.preventDefault(),gn&&(0,et.L9)([gn]),an&&(0,et.xg)(`/shixuns/${Zt}/challenges`)}},E.createElement("div",{className:Et.img},E.createElement("img",{className:Et.cover,src:`${Pn}`}),kn.is_jupyter&&E.createElement("span",{className:`sprite sprite-43 ${Et.sign}`}),kn.is_jupyter_lab&&E.createElement("span",{className:`sprite sprite-42 ${Et.sign}`}),kn.is_unity_3d&&E.createElement("span",{className:`sprite sprite-44 ${Et.sign}`})),E.createElement("div",{className:Et.name},E.createElement(dt.Z,{title:$n||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},E.createElement("span",{className:Et.e},$n||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),E.createElement("div",{className:Et.tags},E.createElement(dt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),E.createElement("span",null,kn.challenges_count))),!!kn.myshixuns_count&&E.createElement(dt.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,kn.myshixuns_count))),E.createElement(dt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},E.createElement("span",null,E.createElement("span",null,kn.level))),E.createElement("div",{className:Et.rate},E.createElement(nt.Z,{allowHalf:!0,disabled:!0,defaultValue:kn.score_info}),E.createElement("span",null,"\xA0",kn.score_info?`${kn.score_info}\u5206`:"5\u5206")))),!an&&E.createElement("div",{className:Et.lockWrap},E.createElement("img",{src:`${Dt.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")))}),!Wt.length&&E.createElement(He.Z,null)))},We=te(54077),Re={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=te(62957),st=te(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/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7X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wAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ue=te(59301),Tt=(tn,Wt,jt)=>new Promise((It,un)=>{var ln=Cn=>{try{gn(jt.next(Cn))}catch(yn){un(yn)}},$t=Cn=>{try{gn(jt.throw(Cn))}catch(yn){un(yn)}},gn=Cn=>Cn.done?It(Cn.value):Promise.resolve(Cn.value).then(ln,$t);gn((jt=jt.apply(tn,Wt)).next())}),fe=({className:tn,dataSource:Wt=[],col:jt=4,right:It,bottom:un=23,precision:ln=0,wrapWidth:$t=1200,trackEventItems:gn,loading:Cn,category:yn,hiddenClick:kn,handleVery:Mn=()=>!0,isCurrent:$n})=>{const[Gn,Zt]=ue.default.useModal(),an=Math.floor(($t-(jt-1)*It)/jt),Bn=Pn=>Tt(void 0,null,function*(){Gn.confirm({title:"\u7F6E\u9876",width:500,content:Ue.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",Ue.createElement("span",{className:"c-blue"},"\u201C",Pn.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return Ue.createElement(ct.Z,{spinning:Cn},Zt,Ue.createElement("div",{className:Ae()(Re.list,tn)},!!Wt.length&&Wt.map((Pn,Ve)=>{const{subject_identifier:at,id:Oe,identifier:Je,power:Me}=Pn,qe=Pn.is_public!=0&&Pn.is_public;return Ue.createElement("div",{className:Re.wrap,key:Oe,style:{width:an,marginRight:(1+Ve)%jt===0?0:It+ln,marginBottom:un}},Pn.homepage_show&&Ue.createElement("div",{className:Re.btnsTop},Ue.createElement(st.default,{color:"red"},"\u7F6E\u9876")),Ue.createElement("a",{className:Re.li,onClick:Ce=>{Ce.preventDefault(),Mn(Pn==null?void 0:Pn.first_category_url)&&(gn&&(0,et.L9)([gn]),(0,et.xg)(Pn.first_category_url))}},Ue.createElement("div",{className:Re.top},Ue.createElement(dt.Z,{title:Pn.name},Ue.createElement("div",{className:Re.name},Pn.name)),Ue.createElement("img",{className:Re.img,src:Dt.Z.IMG_SERVER+"/images/"+Pn.avatar_url}),Ue.createElement("div",{className:Re.text,title:Pn.creator},Pn.creator),at&&Ue.createElement("div",{className:Re.btns},Ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),qe&&Ue.createElement("div",{className:Re.sign},"\u516C\u5F00"),$n&&Ue.createElement("div",{className:Re.hidden,onClick:Ce=>{Ce.stopPropagation(),kn(Pn)}},Ue.createElement("i",{className:`iconfont ${yn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),yn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),Ue.createElement("div",{className:Re.bottom},Pn.visits>0&&Ue.createElement(dt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-liulanyan"}),Ue.createElement("span",null,Pn.visits))),Pn.course_members_count>0&&Ue.createElement(dt.Z,{title:"\u6210\u5458",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-chengyuan"}),Pn.course_members_count)),Pn.tasks_count>0&&Ue.createElement(dt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ue.createElement("span",null,Ue.createElement("i",{className:"iconfont icon-zuoye"}),Pn.tasks_count)),Pn.is_end?Ue.createElement("div",{style:{color:"#6B758B"}}):Ue.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Pn.is_accessible&&Ue.createElement("div",{className:Re.lockWrap},Ue.createElement("img",{src:`${Dt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Wt.length&&Ue.createElement(He.Z,null)))},bt={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"},Lt=te(44283),ve=({dataSource:tn=[],value:Wt,onChange:jt,className:It,style:un={},tabBarExtraContent:ln})=>E.createElement("div",{className:Ae()(bt.tabs,It),style:un},E.createElement("div",{className:bt.tabsWrap},tn.map(($t,gn)=>!($t!=null&&$t.hide)&&E.createElement("aside",{className:bt.tab,onClick:()=>{jt($t.id),$t.link&&Lt.history.push($t.link)},key:gn},E.createElement("div",{className:Wt===$t.id?bt.active:""},$t.name),($t==null?void 0:$t.resetCount)==null&&($t==null?void 0:$t.total)!==void 0&&E.createElement("span",null,"\uFF08",$t==null?void 0:$t.total,"\uFF09"),($t==null?void 0:$t.resetCount)!==void 0&&($t==null?void 0:$t.total)!==void 0&&E.createElement(dt.Z,{title:($t==null?void 0:$t.tip)!=null?$t==null?void 0:$t.tip:""},E.createElement("span",{style:{color:"#9096A3"}},"\uFF08",E.createElement("span",{style:{color:"#000"}},$t==null?void 0:$t.resetCount),"/",E.createElement("span",null,$t==null?void 0:$t.total),"\uFF09"))))),E.createElement("div",{className:bt.tabBar},ln)),Ze=({className:tn,style:Wt={},children:jt})=>E.createElement("div",{className:Ae()(tn),style:Wt},jt),xt={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"},Mt=te(75727),Xt=te(93041);const ze=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gt=({sortValue:tn,dropValue:Wt,className:jt,onSort:It,onDrop:un,dataSource:ln=ze})=>{var $t;return E.createElement("div",{className:Ae()(xt.orderWrap,jt)},E.createElement(Mt.Z,{dropdownRender:()=>E.createElement(Xt.default,null,ln.map((gn,Cn)=>E.createElement(Xt.default.Item,{key:Cn,onClick:()=>un(gn.id)},gn.name)))},E.createElement("span",{className:xt.orderTextWrap},($t=ln.find(gn=>Wt===gn.id))==null?void 0:$t.name)),E.createElement("span",{className:xt.orderIconWrap},E.createElement("span",{className:xt.orderAsc},E.createElement("i",{className:tn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${xt.cursorPointer} ${xt.active}`:`iconfont icon-sanjiaoxing-up font12 ${xt.cursorPointer}`,onClick:()=>It(tn==="asc"?"desc":"asc")})),E.createElement("span",{className:xt.orderDesc},E.createElement("i",{className:tn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${xt.cursorPointer} ${xt.active}`:`iconfont icon-sanjiaoxing-down font12 ${xt.cursorPointer}`,onClick:()=>It(tn==="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"},ne=te(7939),ee=Object.defineProperty,oe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,he=(tn,Wt,jt)=>Wt in tn?ee(tn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):tn[Wt]=jt,ye=(tn,Wt)=>{for(var jt in Wt||(Wt={}))se.call(Wt,jt)&&he(tn,jt,Wt[jt]);if(oe)for(var jt of oe(Wt))re.call(Wt,jt)&&he(tn,jt,Wt[jt]);return tn},lt=(tn,Wt)=>{var jt={};for(var It in tn)se.call(tn,It)&&Wt.indexOf(It)<0&&(jt[It]=tn[It]);if(tn!=null&&oe)for(var It of oe(tn))Wt.indexOf(It)<0&&re.call(tn,It)&&(jt[It]=tn[It]);return jt},Be=(tn,Wt,jt)=>new Promise((It,un)=>{var ln=Cn=>{try{gn(jt.next(Cn))}catch(yn){un(yn)}},$t=Cn=>{try{gn(jt.throw(Cn))}catch(yn){un(yn)}},gn=Cn=>Cn.done?It(Cn.value):Promise.resolve(Cn.value).then(ln,$t);gn((jt=jt.apply(tn,Wt)).next())}),ut=tn=>{var Wt=tn,{className:jt,style:It,children:un,loading:ln=!1,openLoading:$t,onClick:gn=()=>{},size:Cn="middle",shape:yn="round"}=Wt,kn=lt(Wt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Mn,$n]=(0,E.useState)(!1);return E.createElement(ne.ZP,ye({onClick:(0,Ie.throttle)(Gn=>Be(void 0,null,function*(){$t&&$n(!0);try{yield gn(Gn)}catch(Zt){console.log("error",Zt)}$t&&$n(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(ae.btn,ae[`${Cn}-${yn}`],jt),style:It,size:Cn,shape:yn,loading:Mn||ln},kn),un)},Ct={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"},nn=({className:tn,style:Wt,children:jt=null,onClick:It,title:un})=>E.createElement("div",{className:Ae()(Ct.head,tn),style:Wt},E.createElement("span",{className:"primary-hover",onClick:It},E.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),E.createElement("b",{title:un},un),E.createElement("div",{className:Ct.node},jt)),Qt={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"},on=({confirmShow:tn=!0,confirmTitle:Wt,confirmClick:jt,cancelShow:It=!0,cancelTitle:un,cancelClick:ln,className:$t,style:gn,confirmLoading:Cn=!1})=>E.createElement("div",{className:Ae()(Qt.btns,$t),style:gn},tn&&E.createElement(ne.ZP,{loading:Cn,onClick:jt,type:"primary",className:Qt.confirm},Wt),It&&E.createElement(ne.ZP,{onClick:ln,className:Qt.cancel},un)),Ft={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"},Ot=({className:tn,style:Wt={},LeftContent:jt,children:It,RightContent:un})=>E.createElement("div",{className:Ae()(Ft.fixedBottom,tn),style:Wt},E.createElement("div",{className:Ft.wrap},E.createElement("div",{className:Ft.left},jt),E.createElement("div",{className:Ft.center},It),E.createElement("div",{className:Ft.right},un))),rn={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"},Ne=({className:tn,style:Wt={},dataSource:jt=[]})=>E.createElement("div",{className:Ae()(rn.crumbs,tn),style:Wt},jt.map((It,un)=>un<jt.length-1?E.createElement(E.Fragment,{key:un},It.path||It.onClick?E.createElement("span",{className:rn.hover,onClick:It!=null&&It.onClick?It.onClick:()=>Lt.history.push(It.path)},It.name):E.createElement("span",null,It.name),E.createElement("span",null,"\xA0",">","\xA0")):E.createElement("span",{key:un,style:{color:"#5F6368"}},It.name))),rt=te(11938),zt=Object.defineProperty,Gt=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Jt=(tn,Wt,jt)=>Wt in tn?zt(tn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):tn[Wt]=jt,cn=(tn,Wt)=>{for(var jt in Wt||(Wt={}))ft.call(Wt,jt)&&Jt(tn,jt,Wt[jt]);if(Ye)for(var jt of Ye(Wt))kt.call(Wt,jt)&&Jt(tn,jt,Wt[jt]);return tn},An=(tn,Wt)=>Gt(tn,Pe(Wt)),xn=(tn,Wt)=>{var jt={};for(var It in tn)ft.call(tn,It)&&Wt.indexOf(It)<0&&(jt[It]=tn[It]);if(tn!=null&&Ye)for(var It of Ye(tn))Wt.indexOf(It)<0&&kt.call(tn,It)&&(jt[It]=tn[It]);return jt};const{Countdown:dn}=rt.default;var bn=tn=>{var Wt=tn,{onChange:jt}=Wt,It=xn(Wt,["onChange"]);const[un,ln]=(0,E.useState)(null);(0,E.useEffect)(()=>{typeof un=="number"&&un>=0&&jt(un)},[un]);const $t=gn=>{const Cn=Math.floor(gn/1e3);ln(Cn)};return E.createElement(dn,An(cn({},It),{onChange:$t}))}},79006:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ge}});var E=te(59301);function Ge(me,Fe){const we=(0,E.useRef)();(0,E.useEffect)(()=>{we.current=me}),(0,E.useEffect)(()=>{function Ee(){we.current()}if(Fe!==null){let Ae=setInterval(Ee,Fe);return()=>clearInterval(Ae)}},[Fe])}},70303:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Nt}});var E=te(59301),Ge=te(44283),me=te(37568),Fe=te(28284),we=te(62957),Ee=te(6767),Ae=te(94968),Ie=te(7939),Se=te(14185),de=te(55351),Xe={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,wt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Te=(Rt,Et)=>{var ct={};for(var dt in Rt)wt.call(Rt,dt)&&Et.indexOf(dt)<0&&(ct[dt]=Rt[dt]);if(Rt!=null&&xe)for(var dt of xe(Rt))Et.indexOf(dt)<0&&Qe.call(Rt,dt)&&(ct[dt]=Rt[dt]);return ct},$e=(Rt,Et,ct)=>new Promise((dt,nt)=>{var Dt=vt=>{try{He(ct.next(vt))}catch(De){nt(De)}},et=vt=>{try{He(ct.throw(vt))}catch(De){nt(De)}},He=vt=>vt.done?dt(vt.value):Promise.resolve(vt.value).then(Dt,et);He((ct=ct.apply(Rt,Et)).next())});const je=me.default.TextArea,St=Rt=>{var Et=Rt,{newShixuns:ct,globalSetting:dt,loading:nt,dispatch:Dt}=Et,et=Te(Et,["newShixuns","globalSetting","loading","dispatch"]);const[He]=Fe.default.useForm(),[vt,De]=(0,E.useState)([]),We=Ue=>{["uploading","done","removed"].includes(Ue.file.status)&&De(Ue.fileList)},Re=Ue=>{var Tt;if(!Ue.percent||Ue.percent==100){const ge=(Tt=Ue.response)==null?void 0:Tt.id;return we.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$e(void 0,null,function*(){(yield Dt({type:"newShixuns/deleteAttachment",payload:{id:ge}}))&&De(vt.filter(bt=>{var Lt;return((Lt=bt.response)==null?void 0:Lt.id)!==ge}))})}),!1}},ue=Ue=>vt.length?!1:Ue.size/1024/1024>50?(Ee.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,st=Ue=>$e(void 0,null,function*(){var Tt,ge;const{language:fe,env:bt,mode:Lt,code:Bt}=Ue||{},ve=yield Dt({type:"newShixuns/applyShixunMirror",payload:{language:fe,runtime:bt,run_method:Lt,attachment_id:(ge=(Tt=vt==null?void 0:vt[0])==null?void 0:Tt.response)==null?void 0:ge.id}});Dt({type:"newShixuns/setActionTabs",payload:{}}),ve&&Ee.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),Le=()=>{He.resetFields(),De([])};return E.createElement(we.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ct.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:Le},E.createElement("section",{className:Xe.qrCode},E.createElement("aside",{className:Xe.a1},E.createElement("div",{className:Xe.code},E.createElement("img",{width:120,height:120,src:de,alt:"\u4E8C\u7EF4\u7801"})),E.createElement("div",{className:Xe.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),E.createElement("div",{className:Xe.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),E.createElement("aside",{className:Xe.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(Fe.default,{className:Xe.formWrap,form:He,labelCol:{span:4},wrapperCol:{span:20},onFinish:st},E.createElement(Fe.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},E.createElement(je,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),E.createElement(Fe.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(je,{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(Fe.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(je,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),E.createElement(Fe.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},E.createElement("div",{className:Xe.upload},E.createElement(Ae.default,{fileList:vt,action:`${Se.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:We,onRemove:Re,beforeUpload:ue,withCredentials:!0},E.createElement("span",{className:`${Xe.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),E.createElement("span",{className:`${Xe.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),E.createElement("div",{className:Xe.footerWrap},E.createElement(Fe.default.Item,null,E.createElement(Ie.ZP,{className:"mr5",size:"middle",onClick:()=>{Dt({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),E.createElement(Ie.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:nt["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var Nt=(0,Ge.connect)(({newShixuns:Rt,loading:Et,globalSetting:ct})=>({newShixuns:Rt,globalSetting:ct,loading:Et.effects}))(St)},7961:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(44283),me=te(62957),Fe=te(55351);const we=({newShixuns:Ee,dispatch:Ae,user:Ie})=>{var Se;const[de,Xe]=(0,E.useState)(!1);(0,E.useEffect)(()=>{Ee.actionTabs.key==="Create-Environment"&&wt()},[(Se=Ee==null?void 0:Ee.actionTabs)==null?void 0:Se.key]);const xe=()=>{Ae({type:"newShixuns/setActionTabs",payload:{}})},wt=()=>{var Qe,Te,$e,je;xe(),((Qe=Ie.userInfo)==null?void 0:Qe.mirror_marker_status)===0?Xe(!0):((Te=Ie.userInfo)==null?void 0:Te.mirror_marker_status)===1?Ge.history.push(`/users/${($e=Ie.userInfo)==null?void 0:$e.login}/experiment-img/add`):((je=Ie.userInfo)==null?void 0:je.mirror_marker_status)===2&&me.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 St;Ge.history.push(`/users/${(St=Ie.userInfo)==null?void 0:St.login}/experiment-img`)}})};return E.createElement(me.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:de,footer:null,onCancel:()=>{Xe(!1)}},E.createElement("div",{style:{textAlign:"center"}},E.createElement("br",null),E.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Fe,alt:"\u4E8C\u7EF4\u7801"})),E.createElement("img",null))};Ht.Z=(0,Ge.connect)(({newShixuns:Ee,user:Ae,globalSetting:Ie})=>({newShixuns:Ee,globalSetting:Ie,user:Ae}))(we)},39303:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ee}});var E=te(59301),Ge=te(62957),me=te(35883),Fe={wrapInstallPackageStyle:"wrapInstallPackageStyle___AU1GI",installPackageStyle:"installPackageStyle___k2iyn",title:"title___oN9OA",line:"line___PxUeH",bodyHeight:"bodyHeight___QO5he"},Ee=({installPackage:Ae,visible:Ie,setVisible:Se})=>{var de,Xe;return(0,E.useEffect)(()=>(Ie?document.body.setAttribute("class",Fe.bodyHeight):document.body.removeAttribute("class"),()=>{document.body.removeAttribute("class")}),[Ie]),E.createElement(Ge.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ie,title:"\u73AF\u5883\u4ECB\u7ECD",width:"1000px",wrapClassName:Fe.wrapInstallPackageStyle,footer:null,onCancel:()=>Se(!1)},E.createElement("div",{className:Fe.installPackageStyle},E.createElement("div",{className:"mb30"},E.createElement("div",{className:Fe.title},Ae.mainTypeName),E.createElement("div",null,E.createElement(me.Z,{value:Ae.mainTypeDescription}))),!!((de=Ae==null?void 0:Ae.smallType)!=null&&de.length)&&E.createElement("div",{className:Fe.line}),E.createElement("div",null,(Xe=Ae==null?void 0:Ae.smallType)==null?void 0:Xe.map((xe,wt)=>E.createElement(E.Fragment,{key:wt},E.createElement("div",{className:Fe.title,style:{marginBottom:14}},xe.name),E.createElement("div",{className:"mb30"},E.createElement(me.Z,{value:xe.des})))))))}},93459:function(_t,Ht,te){"use strict";var E=te(59301),Ge=Object.defineProperty,me=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ee=(xe,wt,Qe)=>wt in xe?Ge(xe,wt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):xe[wt]=Qe,Ae=(xe,wt)=>{for(var Qe in wt||(wt={}))Fe.call(wt,Qe)&&Ee(xe,Qe,wt[Qe]);if(me)for(var Qe of me(wt))we.call(wt,Qe)&&Ee(xe,Qe,wt[Qe]);return xe},Ie=(xe,wt)=>{var Qe={};for(var Te in xe)Fe.call(xe,Te)&&wt.indexOf(Te)<0&&(Qe[Te]=xe[Te]);if(xe!=null&&me)for(var Te of me(xe))wt.indexOf(Te)<0&&we.call(xe,Te)&&(Qe[Te]=xe[Te]);return Qe};const Se=te(2331),de={};Se.keys().forEach(xe=>{const wt=xe.replace("./","").replace(".svg","");de[wt]=Se(xe)});const Xe=xe=>{var wt=xe,{filename:Qe}=wt,Te=Ie(wt,["filename"]),$e;const je=(($e=Qe==null?void 0:Qe.split(".").pop())==null?void 0:$e.toLowerCase())||"unknown",St=de[je]||de.default;return E.createElement("img",Ae({src:St,alt:je},Te))};Ht.Z=Xe},34949:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return nt}});var E=te(59301),Ge=te(44283),me=te(6767),Fe=te(94968),we=te(29787),Ee=te(25399),Ae=te(75727),Ie=te(37568),Se=te(7939),de=te(76406),Xe=te(14185),xe={flex_box_center:"flex_box_center___DCOpW",flex_space_between:"flex_space_between___f40rs",flex_box_vertical_center:"flex_box_vertical_center___eG9_2",flex_box_center_end:"flex_box_center_end___clXgt",flex_box_column:"flex_box_column___TXL2c",practice:"practice___thO2F",inputTop:"inputTop___m3NHY",dropdown:"dropdown___e6R7o",inputWrap:"inputWrap___s3dIS",action:"action___xRC3p",btnWrap:"btnWrap___VMbd9",btn:"btn___ZCLZ5",btnActive:"btnActive___qt_Di",btnDisabled:"btnDisabled____2PMz",uploadBtn:"uploadBtn___Xpkwg",sendBtn:"sendBtn___y6NIQ",sendBtnDisabled:"sendBtnDisabled___x4Huh",cancelBtn:"cancelBtn___w893V",files:"files___kDNjV",left_data:"left_data___EpHsF",right_data:"right_data___tzmu3",file:"file___XvgYd",fileName:"fileName___ZLkYf",fileDelred:"fileDelred___RKuBn",fileDel:"fileDel___j8Hof"},wt=te(84105),Qe=te(32050),Te=te(93459),$e=Object.defineProperty,je=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Rt=(Dt,et,He)=>et in Dt?$e(Dt,et,{enumerable:!0,configurable:!0,writable:!0,value:He}):Dt[et]=He,Et=(Dt,et)=>{for(var He in et||(et={}))St.call(et,He)&&Rt(Dt,He,et[He]);if(je)for(var He of je(et))Nt.call(et,He)&&Rt(Dt,He,et[He]);return Dt},ct=(Dt,et,He)=>new Promise((vt,De)=>{var We=st=>{try{ue(He.next(st))}catch(Le){De(Le)}},Re=st=>{try{ue(He.throw(st))}catch(Le){De(Le)}},ue=st=>st.done?vt(st.value):Promise.resolve(st.value).then(We,Re);ue((He=He.apply(Dt,et)).next())});const dt=({newShixuns:Dt,user:et,dispatch:He,shixun_type:vt,setOpenChat:De,shixunId:We})=>{var Re;const[ue,st]=(0,E.useState)(""),[Le,Ue]=(0,E.useState)(0),[Tt,ge]=(0,E.useState)(5),[fe,bt]=(0,E.useState)("Python3.6"),[Lt,Bt]=(0,E.useState)([]),ve="\u8BF7\u8F93\u5165\u4F60\u7684\u9700\u6C42",ke={maxCount:10,showUploadList:!1,fileList:Lt,multiple:!1,data:{upload_type:1},accept:".doc,.docx,.pdf,.md,.txt,.xls,.xlsx",beforeUpload:xt=>ct(void 0,null,function*(){var Mt,Xt,ze,Vt;const gt=(Vt=(ze=(Xt=(Mt=xt==null?void 0:xt.name)==null?void 0:Mt.split("."))==null?void 0:Xt.slice(-1))==null?void 0:ze[0])==null?void 0:Vt.toLowerCase(),ne=["doc","docx","pdf","md","txt","xls","xlsx"].includes(gt);return xt.size==0?(me.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),Fe.default.LIST_IGNORE):ne?xt.size/1024/1024>100?(me.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Fe.default.LIST_IGNORE):!0:(me.ZP.warning("\u76EE\u524D\u652F\u6301doc\u3001docx\u3001pdf\u3001md\u3001txt\u3001xls\u3001xlsx\u6587\u4EF6"),Fe.default.LIST_IGNORE)}),onChange:({fileList:xt})=>{Bt(xt)},action:Xe.Z.API_SERVER+"/api/attachments.json"},Ze=[{key:"Python3.6",label:"Python3.6"},{key:"C/C++",label:"C/C++"},{key:"Java",label:"Java"},{key:"MySQL",label:"MySQL"}];return E.createElement("div",{className:xe.practice},E.createElement("img",{src:te(39479),style:{width:"190px",height:"140px"}}),E.createElement("div",{style:{color:"#999",marginTop:"20px",marginBottom:"40px"}},"\u8F93\u5165\u63CF\u8FF0\uFF0C\u4E00\u952E\u751F\u6210\u5B9E\u8DF5\u9879\u76EE"),!!Lt.length&&E.createElement("div",{className:xe.files},Le>0&&(Lt==null?void 0:Lt.length)>5&&E.createElement("div",{className:xe.left_data,onClick:()=>{Ue(Le-1),ge(Tt-1)}},E.createElement("i",{className:"iconfont icon-xiangzuo"})),Tt<(Lt==null?void 0:Lt.length)&&(Lt==null?void 0:Lt.length)>5&&E.createElement("div",{className:xe.right_data,onClick:()=>{Ue(Le+1),ge(Tt+1)}},E.createElement("i",{className:"iconfont icon-xiangyou"})),(Re=(Lt==null?void 0:Lt.length)>5?Lt==null?void 0:Lt.slice(Le,Tt):Lt)==null?void 0:Re.map((xt,Mt)=>E.createElement("div",{key:Mt,className:xe.file},E.createElement(we.Z,{size:"small",spinning:(xt==null?void 0:xt.status)==="uploading"},E.createElement(Te.Z,{filename:xt==null?void 0:xt.name,className:"block",width:30})),E.createElement("aside",null,E.createElement(Ee.Z,{title:xt==null?void 0:xt.name},E.createElement("div",{className:xe.fileName},xt==null?void 0:xt.name)),E.createElement("div",{style:{textAlign:"start"},className:"c-grey-999 font12"},(0,de.RD)(xt==null?void 0:xt.size))),E.createElement(Ee.Z,{title:"\u5220\u9664\u6587\u4EF6"},E.createElement("i",{onClick:()=>{Bt(Xt=>Xt.filter(ze=>ze.uid!==xt.uid))},className:`iconfont icon-danceng-guanbijichushezhidanceng ${xe.fileDel}`}))))),E.createElement("div",{className:xe.inputTop},E.createElement("div",{className:xe.dropdown},E.createElement(Ae.Z,{menu:{items:Ze,onClick:xt=>{bt(xt.key)}}},E.createElement("div",{style:{cursor:"pointer",display:"flex",alignItems:"center",color:"#3061D0",height:"34px",padding:"0 20px"}},E.createElement(Ee.Z,{title:"\u5B9E\u9A8C\u73AF\u5883"},E.createElement("img",{src:te(21373),style:{width:"16px",height:"16px",marginRight:"8px"}})),E.createElement(Ee.Z,{title:"\u667A\u80FD\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE\u6A21\u5F0F"},E.createElement("div",{style:{height:"34px",lineHeight:"32px",width:"150px",textAlign:"left"}},fe)),E.createElement(wt.Z,null))))),E.createElement("div",{className:xe.inputWrap,style:{borderBottom:"none"}},E.createElement(Ie.default.TextArea,{placeholder:ve,value:ue,bordered:!1,onPressEnter:xt=>{if(xt.shiftKey){if(xt.key==="Enter")return}else if(xt.key==="Enter"){if(xt.preventDefault(),(ue==null?void 0:ue.trim())==="")return;localStorage.setItem("myChatShixun",JSON.stringify({inputValue:ue,fileList:Lt,environment:fe})),De&&De(!1),We?Ge.history.push(`/shixuns/aiStreamIndex?shixun_id=${We}`):Ge.history.push("/shixuns/aiStreamIndex")}},onChange:xt=>{st(xt.target.value)}}),E.createElement("div",{className:xe.action},E.createElement(Fe.default,Et({},ke),E.createElement(Ee.Z,{title:(Lt==null?void 0:Lt.length)>=10?"\u6700\u591A\u53EA\u80FD\u4E0A\u4F2010\u4E2A\u9644\u4EF6":""},E.createElement(Se.ZP,{style:{cursor:(Lt==null?void 0:Lt.length)>=10?"no-drop":"pointer"},disabled:(Lt==null?void 0:Lt.length)>=10,className:xe.uploadBtn,icon:E.createElement(Qe.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})}))),E.createElement(Se.ZP,{style:{marginLeft:"auto"},className:(ue==null?void 0:ue.trim())===""?xe.sendBtnDisabled:xe.sendBtn,icon:E.createElement("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:(ue==null?void 0:ue.trim())==="",onClick:()=>{localStorage.setItem("myChatShixun",JSON.stringify({inputValue:ue,fileList:Lt,environment:fe})),De&&De(!1),We?Ge.history.push(`/shixuns/aiStreamIndex?shixun_id=${We}`):Ge.history.push("/shixuns/aiStreamIndex")}}))))};var nt=(0,Ge.connect)(({newShixuns:Dt,globalSetting:et,user:He})=>({newShixuns:Dt,globalSetting:et,user:He}))(dt)},65728:function(_t,Ht,te){"use strict";te.r(Ht),te.d(Ht,{default:function(){return oe}});var E=te(59301),Ge=te(47889),me=te(70303),Fe=te(44283),we=te(6767),Ee=te(584),Ae=te(7939),Ie=te(25399),Se=te(62957),de=te(66443),Xe=te(76406),xe=te(36723),wt=te(35883),Qe=te(1903),Te={practice:"practice___gbjN8",right:"right___XrBE2",title:"title___JsAVf",content:"content___rNvQy",des:"des___wAyxo",mainBody:"mainBody___edUsk",sys:"sys___kUTBd",li:"li___V7qds",d1:"d1___r3dOV",img:"img___KXajQ",bot:"bot___lTZjW",btn:"btn___aue5H",b1:"b1___gmKr8",b2:"b2___wT3k7",d2:"d2___mjMbK",btns:"btns___GykuR",practiceModal:"practiceModal___DTgXc"},$e=te(49317),je=te(70467),St=Object.defineProperty,Nt=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,nt=(se,re,he)=>re in se?St(se,re,{enumerable:!0,configurable:!0,writable:!0,value:he}):se[re]=he,Dt=(se,re)=>{for(var he in re||(re={}))ct.call(re,he)&&nt(se,he,re[he]);if(Et)for(var he of Et(re))dt.call(re,he)&&nt(se,he,re[he]);return se},et=(se,re)=>Nt(se,Rt(re)),He=(se,re,he)=>new Promise((ye,lt)=>{var Be=Ct=>{try{ut(he.next(Ct))}catch(At){lt(At)}},Ke=Ct=>{try{ut(he.throw(Ct))}catch(At){lt(At)}},ut=Ct=>Ct.done?ye(Ct.value):Promise.resolve(Ct.value).then(Be,Ke);ut((he=he.apply(se,re)).next())});const vt=({newShixuns:se,user:re,dispatch:he,shixun_type:ye})=>{var lt,Be;const[Ke]=(0,Fe.useSearchParams)(),[ut,Ct]=(0,E.useState)(Ke.get("mirror")||null),[At,nn]=(0,E.useState)(Ke.get("tab")||null),[Qt,Yt]=(0,E.useState)(null),[on,Ft]=(0,E.useState)(Number(ut)||null),[en,Ot]=(0,E.useState)({}),[rn,Ut]=(0,E.useState)(!1),[Ne,rt]=(0,E.useState)(!1),{environmentData:zt}=se,{frequence_image:Gt=[],environments:Pe=[],other_image:Ye}=zt,{name:ft,description:kt,authorization:Jt,template_shixuns:cn=[],recommend_shixuns:An=[]}=en,[xn,dn]=(0,E.useState)(Number(At)||0),Sn=[{id:0,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:1,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:2,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,E.useEffect)(()=>{he({type:"newShixuns/getEnvironmentData",payload:{tab_type:Sn[Number(xn)].type}})},[xn]),(0,E.useEffect)(()=>{on===null||!Ye||bn()},[on,Ye]);const bn=()=>He(void 0,null,function*(){const $t=Gt.find(yn=>yn.id===on),gn=Pe.find(yn=>yn.id===on),Cn=Ye==null?void 0:Ye.find(yn=>yn.id===on);if(console.log("fi,ei,oi",$t,gn,Cn),$t!==void 0||gn!==void 0||Cn!==void 0){const yn=yield(0,de.Q1)({mirror_repository_id:on});Ot(yn==null?void 0:yn.data)}else Ot({}),Ft(null)});console.log(on);const tn=$t=>{Yt($t),Ut(!0)},Wt=()=>He(void 0,null,function*(){var $t,gn;rt(!0);const Cn=yield(0,$e.ZP)(`/api/shixuns/${Qt==null?void 0:Qt.identifier}/copy.json`,{method:"post",body:{}});Cn.status===0&&((gn=Fe.history)==null||gn.push(`/shixuns/${($t=Cn.data)==null?void 0:$t.shixun}/edit`),Ut(!1),we.ZP.success("\u590D\u5236\u6210\u529F")),rt(!1)}),jt=()=>{Ut(!1)},It=($t=!1)=>He(void 0,null,function*(){(0,Xe.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE","\u5168\u5B9E\u8DF5\u9879\u76EE",$t?"\u6682\u4E0D\u9009\u7528\u955C\u50CF":"\u4F7F\u7528\u5F53\u524D\u955C\u50CF"]);const gn=on&&!$t?{image_id:on}:{};let Cn=Ke.get("dataSetId")?et(Dt({},gn),{mirror_tab_type:xn,data_set_ids:[Number(Ke.get("dataSetId"))]}):et(Dt({},gn),{mirror_tab_type:xn});const yn=yield(0,$e.ZP)("/api/shixuns/choose_environment_or_skip.json",{method:"post",body:Cn});yn.status===0&&Fe.history.push(`/shixuns/${yn.data.identifier}/edit`)}),[un,ln]=(0,E.useState)("");return E.createElement("div",{className:Te.practice},E.createElement(Qe.Z,{dispatch:he,value:on,data:Pe,otherData:Ye||[],tags:Gt,onChange:$t=>{console.log($t,222),Ft($t)},shixun_type:ye,onSearchWord:$t=>ln($t),tab_type:(lt=Sn[Number(xn)])==null?void 0:lt.type,extraContent:E.createElement(je.tp,{dataSource:Sn,value:xn,onChange:$t=>{dn($t),Ft(null)}})}),E.createElement("div",{className:Te.right},E.createElement("header",null,E.createElement("div",{className:Te.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",E.createElement("span",{dangerouslySetInnerHTML:{__html:on===null?"\u2014 \u2014":(Be=ft||"")==null?void 0:Be.replace(new RegExp(un==null?void 0:un.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}}))),E.createElement("div",{className:Te.content},on===null&&E.createElement(E.Fragment,null,E.createElement(Ee.Z,{image:xe,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),E.createElement("div",{className:Te.btns},E.createElement(Ae.ZP,{size:"middle",style:{marginRight:20},onClick:()=>It(!0)}," \u6682\u4E0D\u9009\u7528\u955C\u50CF"),E.createElement(Ae.ZP,{size:"middle",type:"primary",disabled:on===null,onClick:()=>It()},"\u4F7F\u7528\u5F53\u524D\u955C\u50CF"))),on!==null&&E.createElement("div",{className:Te.des},E.createElement("div",{className:Te.mainBody},E.createElement(wt.Z,{value:kt,highlightKeywords:un})),E.createElement("div",{className:Te.btns,style:{borderBottom:cn.length||An.length?"1px solid #F1F1F1":0}},E.createElement(Ae.ZP,{size:"middle",style:{marginRight:20},onClick:()=>It(!0)}," \u6682\u4E0D\u9009\u7528\u955C\u50CF"),E.createElement(Ae.ZP,{size:"middle",type:"primary",disabled:on===null,onClick:()=>It()},"\u4F7F\u7528\u5F53\u524D\u955C\u50CF")),!!cn.length&&E.createElement("div",{className:Te.title},"\u57FA\u4E8E\u6A21\u677F\u521B\u5EFA"),E.createElement("ul",{className:Te.sys},cn.map(($t,gn)=>{const{pic:Cn,name:yn,identifier:kn,template_description:Mn,id:$n}=$t;return E.createElement("li",{className:Te.li,key:gn},E.createElement("div",{className:Te.d1},E.createElement("div",{className:Te.img},E.createElement("img",{src:`${Cn}`,style:{width:"100%",height:"100%",objectFit:"cover"}})),E.createElement("div",{className:Te.btn},E.createElement("div",{className:Te.b1,onClick:()=>(0,Xe.xg)(`/shixuns/${kn}/challenges`)},"\u67E5\u770B\u8BE6\u60C5"),E.createElement("div",{className:Te.b2,onClick:()=>tn($t)},"\u4F7F\u7528\u6A21\u677F")),E.createElement("div",{className:Te.bot},yn||"--")),Mn?E.createElement(Ie.Z,{title:Mn},E.createElement("div",{className:Te.d2},Mn)):E.createElement("div",{className:Te.d2},"--"))})),!!An.length&&E.createElement("div",{className:Te.title},"\u63A8\u8350\u5B9E\u8DF5\u9879\u76EE\u6837\u4F8B"),E.createElement("ul",{className:Te.sys},An.map(($t,gn)=>{const{pic:Cn,name:yn,identifier:kn,id:Mn}=$t;return E.createElement("li",{className:Te.li,key:gn},E.createElement("div",{className:Te.d1},E.createElement("div",{className:Te.img},E.createElement("img",{src:`${Cn}`,style:{width:"100%",height:"100%",objectFit:"cover"}})),E.createElement("div",{className:Te.btn},E.createElement("div",{className:Te.b1,onClick:()=>(0,Xe.xg)(`/shixuns/${kn}/challenges`)},"\u67E5\u770B\u8BE6\u60C5"),E.createElement("div",{className:Te.b2,onClick:()=>tn($t)},"\u4E00\u952E\u590D\u5236")),E.createElement("div",{className:Te.bot},yn)))}))))),E.createElement(Se.default,{title:"\u4E00\u952E\u65B0\u5EFA",open:rn,centered:!0,onCancel:jt,footer:null,wrapClassName:Te.practiceModal},Jt&&E.createElement("div",{className:Te.content},E.createElement("p",null,"\u4E00\u952E\u65B0\u5EFA\u540E\uFF0C\u60A8\u53EF\u4EE5\u57FA\u4E8E\u8FD9\u4E2A\u5B9E\u8BAD\u4FEE\u6539\u5F62\u6210\u65B0\u7684\u5B9E\u8BAD"),E.createElement(Ae.ZP,{className:Te.btn,loading:Ne,onClick:Wt},"\u786E\u8BA4\u590D\u5236")),!Jt&&E.createElement("div",{className:Te.content},E.createElement("aside",null,E.createElement("p",null,"\u8BE5\u5B9E\u8BAD\u6240\u4F7F\u7528\u7684\u5B9E\u9A8C\u73AF\u5883\u4E3A\u79C1\u6709\u73AF\u5883\uFF1A",E.createElement("span",{style:{color:"#0152d9"}},ft)),E.createElement("p",null,"\u60A8\u65E0\u8BE5\u5B9E\u9A8C\u73AF\u5883\u7684\u4F7F\u7528\u6743\u9650\uFF0C\u6240\u4EE5\u65E0\u6CD5\u590D\u5236\u8BE5\u5B9E\u8BAD")),E.createElement("div",{onClick:()=>Ut(!1)},"\u6211\u77E5\u9053\u4E86"))))};var De=(0,Fe.connect)(({newShixuns:se,globalSetting:re,user:he})=>({newShixuns:se,globalSetting:re,user:he}))(vt),We=te(82326),Re=te(28284),ue=te(37568),st=te(62673),Le=te(39116),Ue={flexRow:"flexRow___qhrFS",flexJustifyCenter:"flexJustifyCenter___VrsJS",flexAlignEnd:"flexAlignEnd___j3ukr",flexAlignCenter:"flexAlignCenter___oYrc_",flexColumn:"flexColumn___biwiK",formWrap:"formWrap___y7qnO",JupyterFieldWrapElse:"JupyterFieldWrapElse___mAcbc",button:"button___nO4ST",buttonWrap:"buttonWrap___R159y",width240:"width240___WKtEs",difficultyHint:"difficultyHint___ur1_m",color888:"color888___KIde8",color0152d9:"color0152d9____7CR3",installPackage:"installPackage___uTEn1",apply:"apply___PWFCo",p1:"p1___DywU_",p2:"p2___wgqUA"},Tt=te(39303),ge=te(59301),fe=Object.defineProperty,bt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,ve=(se,re,he)=>re in se?fe(se,re,{enumerable:!0,configurable:!0,writable:!0,value:he}):se[re]=he,ke=(se,re)=>{for(var he in re||(re={}))Lt.call(re,he)&&ve(se,he,re[he]);if(bt)for(var he of bt(re))Bt.call(re,he)&&ve(se,he,re[he]);return se},Ze=(se,re,he)=>new Promise((ye,lt)=>{var Be=Ct=>{try{ut(he.next(Ct))}catch(At){lt(At)}},Ke=Ct=>{try{ut(he.throw(Ct))}catch(At){lt(At)}},ut=Ct=>Ct.done?ye(Ct.value):Promise.resolve(Ct.value).then(Be,Ke);ut((he=he.apply(se,re)).next())});const xt=We.default.Option,Mt=({newShixuns:se,loading:re,dispatch:he,is_jupyter_lab:ye,user:lt})=>{var Be,Ke,ut,Ct,At;const[nn]=Re.default.useForm(),[Qt,Yt]=(0,E.useState)({}),[on,Ft]=(0,E.useState)(!1),[en,Ot]=(0,E.useState)({}),[rn]=(0,Fe.useSearchParams)();(0,E.useEffect)(()=>{let Pe="newShixuns/getNewShixunsData";ye&&(Pe="newShixuns/getShixunsJupyterLab"),he({type:Pe})},[ye]),(0,E.useEffect)(()=>{var Pe,Ye,ft;const kt=(ft=(Ye=(Pe=se==null?void 0:se.newData)==null?void 0:Pe.main_type)==null?void 0:Ye[0])==null?void 0:ft.id;nn.setFieldsValue({mainType:kt}),rt(kt)},[se]);const Ut=()=>{he({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Ne=(Pe,Ye)=>{Yt(ke({},Ye)),console.log(Pe,"changeValues"),"mainType"in Pe&&rt(Ye.mainType,Ye.subType),"subType"in Pe&&rt(Ye.mainType,Ye.subType)},rt=(Pe,Ye=[])=>{const{main_type:ft,small_type:kt}=se.newData||{},Jt=ft==null?void 0:ft.find(An=>An.id===Pe),cn={mainTypeName:Jt==null?void 0:Jt.type_name,mainTypeDescription:Jt==null?void 0:Jt.description,smallType:[]};Ye.map(An=>{kt.map(xn=>{An===xn.id&&xn.description&&cn.smallType.push({name:xn.type_name,des:xn.description})})}),Ot(cn)},zt=Pe=>Ze(void 0,null,function*(){const{intro:Ye,mainType:ft,subType:kt,name:Jt,number:cn,difficulty:An,jupyter_show_description:xn=!1}=Pe||{};(0,Xe.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",ye?"Jupyter Notebook\u5B9E\u8DF5\u9879\u76EE":"JupyterLab\u5B9E\u8DF5\u9879\u76EE","\u4FDD\u5B58"]);let dn=rn.get("dataSetId")?{description:Ye,main_type:ft,sub_type:kt,shixun:{jupyter_show_description:xn,name:Jt,number:cn,trainee:An,is_jupyter:!ye,is_jupyter_lab:ye},data_set_ids:[Number(rn.get("dataSetId"))]}:{description:Ye,main_type:ft,sub_type:kt,shixun:{jupyter_show_description:xn,name:Jt,number:cn,trainee:An,is_jupyter:!ye,is_jupyter_lab:ye}},Sn=yield he({type:"newShixuns/submitShixuns",payload:dn});(Sn==null?void 0:Sn.status)!==-1&&(window.location.href=`/shixuns/${Sn.shixun_identifier}/challenges`)}),Gt=()=>{he({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})};return ge.createElement(Re.default,{form:nn,className:Ue.JupyterFieldWrapElse,scrollToFirstError:!0,layout:"vertical",initialValues:{difficulty:1},onValuesChange:Ne,onFinish:zt},ge.createElement("div",{className:Ue.fieldWrap},ge.createElement(Re.default.Item,{name:"name",label:"\u540D\u79F0:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{max:60,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ge.createElement(ue.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26",suffix:`${((Be=Qt.name)==null?void 0:Be.length)||0}/60`})),ge.createElement(Re.default.Item,{name:"intro",label:"\u7B80\u4ECB:"},ge.createElement(Le.Z,{watch:!0})),ge.createElement(Re.default.Item,{name:"jupyter_show_description",valuePropName:"checked"},ge.createElement(st.default,null,"\u663E\u793A\u4EFB\u52A1\u8981\u6C42\uFF08\u52FE\u9009\u540E\uFF0C\u5C06\u7B80\u4ECB\u4F5C\u4E3A\u4EFB\u52A1\u8981\u6C42\u663E\u793A\u5728\u5B9E\u8DF5\u9879\u76EE\u6311\u6218\u9875\u9762\uFF09")),ge.createElement("div",{className:`${Ue.flexRow} ${Ue.flexAlignCenter}`},ge.createElement(Re.default.Item,{className:Ue.width180,name:"number",label:"\u5B9E\u9A8C\u7F16\u53F7:"},ge.createElement(ue.default,{bordered:!1,style:{width:500},placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9A8C\u7F16\u53F7\uFF0C\u6700\u591A20\u4E2A\u5B57\u7B26",maxLength:20}))),ge.createElement("div",{className:`${Ue.flexRow} ${Ue.flexAlignCenter}`},ge.createElement(Re.default.Item,{className:Ue.width180,name:"difficulty",label:"\u96BE\u5EA6:",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6"}]},ge.createElement(We.default,{bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u96BE\u6613\u5EA6",style:{width:500}},ge.createElement(xt,{value:1},"\u7B80\u5355"),ge.createElement(xt,{value:2},"\u9002\u4E2D"),ge.createElement(xt,{value:3},"\u56F0\u96BE")))),ge.createElement("div",{className:`${Ue.flexRow} ${Ue.flexAlignEnd}`},ge.createElement(Re.default.Item,{name:"mainType",label:"\u5B9E\u9A8C\u73AF\u5883:",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7C7B\u522B"}]},ge.createElement(We.default,{bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u4E3B\u7C7B\u522B",style:{width:500}},(ut=(Ke=se.newData)==null?void 0:Ke.main_type)==null?void 0:ut.map(Pe=>ge.createElement(xt,{value:Pe.id,key:Pe.id,name:Pe.description},Pe.type_name)))),ge.createElement(Re.default.Item,{name:"subType",className:`${Ue.width240} ml20`},ge.createElement(We.default,{getPopupContainer:Pe=>Pe.parentNode,bordered:!1,placeholder:"\u8BF7\u9009\u62E9\u5C0F\u7C7B\u522B",mode:"multiple"},(At=(Ct=se.newData)==null?void 0:Ct.small_type)==null?void 0:At.map(Pe=>ge.createElement(xt,{value:Pe.id,key:Pe.id,name:Pe.description},Pe.type_name)))),ge.createElement("div",{className:Ue.installPackage,onClick:()=>Ft(!0)},"\u73AF\u5883\u4ECB\u7ECD")),ge.createElement("div",{className:Ue.apply},ge.createElement("span",{className:Ue.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ge.createElement("span",{className:Ue.p2,onClick:Ut},"\u7533\u8BF7\u65B0\u5EFA"),ge.createElement("span",{className:Ue.p2,onClick:Gt},"\u5728\u7EBF\u521B\u5EFA"))),ge.createElement(Re.default.Item,null,ge.createElement("div",{className:Ue.buttonWrap},ge.createElement(Ae.ZP,{size:"middle",className:`${Ue.button} mr20`,onClick:()=>{(0,Xe.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",ye?"Jupyter Notebook\u5B9E\u8DF5\u9879\u76EE":"JupyterLab\u5B9E\u8DF5\u9879\u76EE","\u53D6\u6D88"]),Fe.history.push("/shixuns")}},"\u53D6\u6D88"),ge.createElement(Ae.ZP,{size:"middle",type:"primary",className:`${Ue.button} mr20`,onClick:()=>nn.submit(),loading:re["newShixuns/submitCourses"]},"\u4FDD\u5B58"))),ge.createElement(Tt.Z,{installPackage:en,visible:on,setVisible:Ft}))};var Xt=(0,Fe.connect)(({newShixuns:se,loading:re,user:he})=>({newShixuns:se,loading:re.effects,user:he}))(Mt),ze=te(7961),Vt={practicalTraining:"practicalTraining___VpEJN",titleWrap:"titleWrap___K8TrM",title:"title___x3Eob",line:"line___z14_S",dec:"dec___z7Nns"},gt=te(34949),ae=te(22007),ne=te.p+"static/images.fd91180a.png";const ee=({user:se,hideHeader:re=!1})=>{const[he]=(0,Fe.useSearchParams)(),[ye,lt]=(0,E.useState)("1"),[Be,Ke]=(0,E.useState)(!1),ut=Ct=>{var At;if(Ct.target.value=="4"&&!((At=se.userInfo)!=null&&At.has_big_model_permission)){Ke(!0);return}lt(Ct.target.value)};return(0,E.useEffect)(()=>{he.get("tabs")&&lt(he.get("tabs"))},[]),E.createElement("section",{className:Vt.practicalTraining},E.createElement("div",{className:Vt.titleWrap},re?E.createElement("div",{style:{height:25}}):E.createElement(E.Fragment,null,E.createElement("div",{className:Vt.title},E.createElement("b",{className:"font24 mb10"},"\u667A\u6167\u8D44\u6E90\u5F00\u53D1\u73AF\u5883"),E.createElement("div",{className:"font14"},"\u5F00\u53D1\u73AF\u5883\u7115\u65B0\u5347\u7EA7\uFF01\u4ECE\u5B9E\u8DF5\u9879\u76EE\u57FA\u7840\u7248\u5230\u667A\u6167\u8D44\u6E90\u8FDB\u9636\u6A21\u5F0F\uFF0C\u8D4B\u80FD\u5F00\u53D1\u65B0\u4F53\u9A8C~")),E.createElement("div",{className:Vt.line})),E.createElement(Ge.ZP.Group,{value:ye,onChange:ut},E.createElement(Ge.ZP,{style:{fontSize:16},value:"1"},"\u5168\u6808\u5B9E\u8DF5\u9879\u76EE"),E.createElement(Ge.ZP,{value:"2",style:{marginLeft:40,fontSize:16}},"Jupyter Notebook\u5B9E\u8DF5\u9879\u76EE"),E.createElement(Ge.ZP,{value:"3",style:{marginLeft:40,fontSize:16}},"JupyterLab\u5B9E\u8DF5\u9879\u76EE"),E.createElement(Ge.ZP,{value:"4",style:{marginLeft:40,fontSize:16}},E.createElement("div",{style:{display:"flex",alignItems:"center"}},"\u667A\u80FD\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE",E.createElement("img",{src:te(40732),style:{width:"18px",height:"18px",marginLeft:"5px"}})))),E.createElement("div",{className:Vt.dec},ye==="1"&&"\u591A\u529F\u80FD\u65B0\u578B\u5B9E\u6218\u9879\u76EE\u6A21\u5F0F\uFF0C\u652F\u6301\u56FE\u5F62\u5316\u684C\u9762\u3001Web IDE\u3001\u547D\u4EE4\u884C\u3001\u865A\u62DF\u4EFF\u771F\u7B49\u591A\u79CD\u5B9E\u9A8C\u573A\u666F\uFF0C\u9002\u7528\u4E8E\u5404\u7C7B\u590D\u6742\u5DE5\u7A0B\u9879\u76EE\u7814\u53D1\u3002",ye==="2"&&"\u591A\u529F\u80FD\u5B9E\u65F6\u4EA4\u4E92\u5B9E\u9A8C\u6A21\u5F0F\uFF0C\u652F\u6301\u5B9E\u65F6\u4EE3\u7801\u3001\u6570\u5B66\u65B9\u7A0B\u3001\u53EF\u89C6\u5316\u548CMarkDown\u7B49\u3002 \u9002\u7528\u4E8E\u6570\u636E\u6E05\u7406\u3001\u6570\u503C\u6A21\u62DF\u3001\u7EDF\u8BA1\u5EFA\u6A21\u3001\u673A\u5668\u5B66\u4E60\u7B49\u7CFB\u5217\u5B9E\u9A8C\u3002",ye==="3"&&"JupyterLab\u662F\u65B0\u4E00\u4EE3Jupyter Notebook\uFF0C\u914D\u7F6E\u6587\u4EF6\u76EE\u5F55\u548CNotebook\uFF0C\u652F\u6301\u6570\u636E\u79D1\u5B66\u4E2D\u7684\u5404\u79CD\u5DE5\u4F5C\u6D41\u7A0B\uFF0C\u9002\u5408\u4E2D\u5927\u578B\u9879\u76EE\u3002",ye==="4"&&"\u4F9D\u6258AI\u667A\u80FD\uFF0C\u5FEB\u901F\u751F\u6210\u5951\u5408\u65B9\u5411\u4E0E\u77E5\u8BC6\u70B9\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8F7B\u677E\u5B9E\u73B0\u4E2A\u6027\u5316\u6559\u5B66\u3002")),ye==="1"&&E.createElement(De,{shixun_type:"normal"}),(ye==="2"||ye==="3")&&E.createElement(Xt,{is_jupyter_lab:ye!=="2"}),ye==="4"&&E.createElement(gt.Z,null),E.createElement(me.Z,null),E.createElement(ze.Z,null),E.createElement(ae.Z,{visible:Be,setVisible:Ke,closeImageStyle:{top:0},image:ne}))};var oe=(0,Fe.connect)(({user:se})=>({user:se}))(ee)},20047:function(_t,Ht,te){"use strict";te.d(Ht,{AL:function(){return Et},Iy:function(){return Xe},Qv:function(){return Qe},ez:function(){return Rt},jb:function(){return xe}});var E=te(32834),Ge=te.n(E),me=te(11690),Fe=te.n(me);let we=1;function Ee(et,He){const vt=et.match(/^(\s+)(?:```)/);if(vt===null)return He;const De=vt[1];return He.split(`
`).map(We=>{const Re=We.match(/^\s+/);if(Re===null)return We;const[ue]=Re;return ue.length>=De.length?We.slice(De.length):We}).join(`
`)}let Ae=[],Ie=["<ul>"];const Se=new(Ge()).Renderer,de=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Xe(){Ae.length=0,Ie=["<ul>"]}const xe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function wt(et,He,vt,De){if(He>=et.length||et[He].level<=vt)return He;var We=et[He];De.push("<li><a href='#"+we+We.anchor+"'>"+We.text+"</a>"),He++;var Re=[];return He=wt(et,He,We.level,Re),Re.length>0&&(De.push("<ul>"),Re.forEach(function(ue){De.push(ue)}),De.push("</ul>")),De.push("</li>"),He=wt(et,He,vt,De),He}function Qe(){return wt(Ae,0,0,Ie),Ie.push("</ul>"),Ie.join("")}const Te={heading(et){const He=de.exec(et);if(we+=1,He)return{type:"heading",raw:He[0],depth:He[1].length,text:He[2]}},fences(et){const He=this.rules.block.fences.exec(et);if(He){const vt=He[0];let De=Ee(vt,He[3]||"");const We=He[2]?He[2].trim():He[2];if(["latex","katex","math"].indexOf(We)>=0){const Re=St(),ue=De;De=Re,Nt[Re]={type:"block",expression:ue}}return{type:"code",raw:vt,lang:We,text:De}}}},$e=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let je=0;const St=()=>`__special_katext_id_${je++}__`;let Nt={};function Rt(){return Nt}function Et(){je=0,Nt={}}function ct(et){return et=et.replace($e,(He,vt)=>{const De=St();return Nt[De]={type:"inline",expression:vt},De}),et}const dt=Se.listitem;Se.listitem=function(et){return dt(ct(et))};const nt=Se.paragraph;Se.paragraph=function(et){return nt(ct(et))};const Dt=Se.tablecell;Se.tablecell=function(et,He){return Dt(ct(et),He)},Se.code=function(et,He,vt){const De=(He||"").match(/\S*/)[0];return De?["latex","katex","math"].indexOf(De)>=0?`<p class='editormd-tex'>${et}</p>`:`<pre class="prettyprint linenums"><code class="language-${He}">${vt?et:(0,me.escape)(et,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(vt?et:(0,me.escape)(et,!0))+"</code></pre>"},Se.heading=function(et,He,vt){let De=this.options.headerPrefix+vt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ae.push({anchor:De,level:He,text:et}),"<h"+He+' id="'+we+De+'">'+et+"</h"+He+">"},Ge().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ge().use({tokenizer:Te,renderer:Se}),Ht.ZP=Ge()},86013:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(19248);const me=Fe=>{let we;return typeof Fe=="object"&&(Fe!=null&&Fe.clearIcon)?we=Fe:Fe&&(we={clearIcon:E.createElement(Ge.Z,null)}),we};Ht.Z=me},62673:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return et}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(16632),we=te(8654),Ee=te(12919),Ae=te(63872),Ie=te(48755),Se=te(2171),de=te(83397),Xe=te(56553),wt=E.createContext(null),Qe=te(36170),Te=te(74632),$e=function(He,vt){var De={};for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&vt.indexOf(We)<0&&(De[We]=He[We]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,We=Object.getOwnPropertySymbols(He);Re<We.length;Re++)vt.indexOf(We[Re])<0&&Object.prototype.propertyIsEnumerable.call(He,We[Re])&&(De[We[Re]]=He[We[Re]]);return De};const je=(He,vt)=>{var De;const{prefixCls:We,className:Re,rootClassName:ue,children:st,indeterminate:Le=!1,style:Ue,onMouseEnter:Tt,onMouseLeave:ge,skipGroup:fe=!1,disabled:bt}=He,Lt=$e(He,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Bt,direction:ve,checkbox:ke}=E.useContext(Ie.E_),Ze=E.useContext(wt),{isFormItemInput:xt}=E.useContext(Xe.aM),Mt=E.useContext(Se.Z),Xt=(De=(Ze==null?void 0:Ze.disabled)||bt)!==null&&De!==void 0?De:Mt,ze=E.useRef(Lt.value),Vt=E.useRef(null),gt=(0,we.sQ)(vt,Vt);E.useEffect(()=>{Ze==null||Ze.registerValue(Lt.value)},[]),E.useEffect(()=>{if(!fe)return Lt.value!==ze.current&&(Ze==null||Ze.cancelValue(ze.current),Ze==null||Ze.registerValue(Lt.value),ze.current=Lt.value),()=>Ze==null?void 0:Ze.cancelValue(Lt.value)},[Lt.value]),E.useEffect(()=>{var Ke;!((Ke=Vt.current)===null||Ke===void 0)&&Ke.input&&(Vt.current.input.indeterminate=Le)},[Le]);const ae=Bt("checkbox",We),ne=(0,de.Z)(ae),[ee,oe,se]=(0,Qe.ZP)(ae,ne),re=Object.assign({},Lt);Ze&&!fe&&(re.onChange=function(){Lt.onChange&&Lt.onChange.apply(Lt,arguments),Ze.toggleOption&&Ze.toggleOption({label:st,value:Lt.value})},re.name=Ze.name,re.checked=Ze.value.includes(Lt.value));const he=me()(`${ae}-wrapper`,{[`${ae}-rtl`]:ve==="rtl",[`${ae}-wrapper-checked`]:re.checked,[`${ae}-wrapper-disabled`]:Xt,[`${ae}-wrapper-in-form-item`]:xt},ke==null?void 0:ke.className,Re,ue,se,ne,oe),ye=me()({[`${ae}-indeterminate`]:Le},Ae.A,oe),[lt,Be]=(0,Te.Z)(re.onClick);return ee(E.createElement(Ee.Z,{component:"Checkbox",disabled:Xt},E.createElement("label",{className:he,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),Ue),onMouseEnter:Tt,onMouseLeave:ge,onClick:lt},E.createElement(Fe.Z,Object.assign({},re,{onClick:Be,prefixCls:ae,className:ye,disabled:Xt,ref:gt})),st!==void 0&&E.createElement("span",{className:`${ae}-label`},st))))};var Nt=E.forwardRef(je),Rt=te(77654),Et=te(2738),ct=function(He,vt){var De={};for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&vt.indexOf(We)<0&&(De[We]=He[We]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,We=Object.getOwnPropertySymbols(He);Re<We.length;Re++)vt.indexOf(We[Re])<0&&Object.prototype.propertyIsEnumerable.call(He,We[Re])&&(De[We[Re]]=He[We[Re]]);return De},nt=E.forwardRef((He,vt)=>{const{defaultValue:De,children:We,options:Re=[],prefixCls:ue,className:st,rootClassName:Le,style:Ue,onChange:Tt}=He,ge=ct(He,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:fe,direction:bt}=E.useContext(Ie.E_),[Lt,Bt]=E.useState(ge.value||De||[]),[ve,ke]=E.useState([]);E.useEffect(()=>{"value"in ge&&Bt(ge.value||[])},[ge.value]);const Ze=E.useMemo(()=>Re.map(ye=>typeof ye=="string"||typeof ye=="number"?{label:ye,value:ye}:ye),[Re]),xt=ye=>{ke(lt=>lt.filter(Be=>Be!==ye))},Mt=ye=>{ke(lt=>[].concat((0,Rt.Z)(lt),[ye]))},Xt=ye=>{const lt=Lt.indexOf(ye.value),Be=(0,Rt.Z)(Lt);lt===-1?Be.push(ye.value):Be.splice(lt,1),"value"in ge||Bt(Be),Tt==null||Tt(Be.filter(Ke=>ve.includes(Ke)).sort((Ke,ut)=>{const Ct=Ze.findIndex(nn=>nn.value===Ke),At=Ze.findIndex(nn=>nn.value===ut);return Ct-At}))},ze=fe("checkbox",ue),Vt=`${ze}-group`,gt=(0,de.Z)(ze),[ae,ne,ee]=(0,Qe.ZP)(ze,gt),oe=(0,Et.Z)(ge,["value","disabled"]),se=Re.length?Ze.map(ye=>E.createElement(Nt,{prefixCls:ze,key:ye.value.toString(),disabled:"disabled"in ye?ye.disabled:ge.disabled,value:ye.value,checked:Lt.includes(ye.value),onChange:ye.onChange,className:`${Vt}-item`,style:ye.style,title:ye.title,id:ye.id,required:ye.required},ye.label)):We,re={toggleOption:Xt,value:Lt,disabled:ge.disabled,name:ge.name,registerValue:Mt,cancelValue:xt},he=me()(Vt,{[`${Vt}-rtl`]:bt==="rtl"},st,Le,ee,gt,ne);return ae(E.createElement("div",Object.assign({className:he,style:Ue},oe,{ref:vt}),E.createElement(wt.Provider,{value:re},se)))});const Dt=Nt;Dt.Group=nt,Dt.__ANT_CHECKBOX=!0;var et=Dt},36170:function(_t,Ht,te){"use strict";te.d(Ht,{C2:function(){return Ee}});var E=te(36237),Ge=te(63356),me=te(51636),Fe=te(16931);const we=Ae=>{const{checkboxCls:Ie}=Ae,Se=`${Ie}-wrapper`;return[{[`${Ie}-group`]:Object.assign(Object.assign({},(0,Ge.Wf)(Ae)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ae.marginXS,[`> ${Ae.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,Ge.Wf)(Ae)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Ie]:Object.assign(Object.assign({},(0,Ge.Wf)(Ae)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ae.borderRadiusSM,alignSelf:"center",[`${Ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Ie}-inner`]:Object.assign({},(0,Ge.oN)(Ae))},[`${Ie}-inner`]:{boxSizing:"border-box",display:"block",width:Ae.checkboxSize,height:Ae.checkboxSize,direction:"ltr",backgroundColor:Ae.colorBgContainer,border:`${(0,E.unit)(Ae.lineWidth)} ${Ae.lineType} ${Ae.colorBorder}`,borderRadius:Ae.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ae.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ae.calc(Ae.checkboxSize).div(14).mul(5).equal(),height:Ae.calc(Ae.checkboxSize).div(14).mul(8).equal(),border:`${(0,E.unit)(Ae.lineWidthBold)} solid ${Ae.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ae.motionDurationFast} ${Ae.motionEaseInBack}, opacity ${Ae.motionDurationFast}`}},"& + span":{paddingInlineStart:Ae.paddingXS,paddingInlineEnd:Ae.paddingXS}})},{[`
${Se}:not(${Se}-disabled),
${Ie}:not(${Ie}-disabled)
`]:{[`&:hover ${Ie}-inner`]:{borderColor:Ae.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${Ie}-checked:not(${Ie}-disabled) ${Ie}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Ie}-checked:not(${Ie}-disabled):after`]:{borderColor:Ae.colorPrimaryHover}}},{[`${Ie}-checked`]:{[`${Ie}-inner`]:{backgroundColor:Ae.colorPrimary,borderColor:Ae.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ae.motionDurationMid} ${Ae.motionEaseOutBack} ${Ae.motionDurationFast}`}}},[`
${Se}-checked:not(${Se}-disabled),
${Ie}-checked:not(${Ie}-disabled)
`]:{[`&:hover ${Ie}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"}}},{[Ie]:{"&-indeterminate":{[`${Ie}-inner`]:{backgroundColor:`${Ae.colorBgContainer} !important`,borderColor:`${Ae.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ae.calc(Ae.fontSizeLG).div(2).equal(),height:Ae.calc(Ae.fontSizeLG).div(2).equal(),backgroundColor:Ae.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Ie}-inner`]:{backgroundColor:`${Ae.colorBgContainer} !important`,borderColor:`${Ae.colorPrimary} !important`}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${Ie}-disabled`]:{[`&, ${Ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Ie}-inner`]:{background:Ae.colorBgContainerDisabled,borderColor:Ae.colorBorder,"&:after":{borderColor:Ae.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ae.colorTextDisabled},[`&${Ie}-indeterminate ${Ie}-inner::after`]:{background:Ae.colorTextDisabled}}}]};function Ee(Ae,Ie){const Se=(0,me.mergeToken)(Ie,{checkboxCls:`.${Ae}`,checkboxSize:Ie.controlInteractiveSize});return[we(Se)]}Ht.ZP=(0,Fe.I$)("Checkbox",(Ae,Ie)=>{let{prefixCls:Se}=Ie;return[Ee(Se,Ae)]})},38406:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(48755),me=te(584);const Fe=we=>{const{componentName:Ee}=we,{getPrefixCls:Ae}=(0,E.useContext)(Ge.E_),Ie=Ae("empty");switch(Ee){case"Table":case"List":return E.createElement(me.Z,{image:me.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return E.createElement(me.Z,{image:me.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ie}-small`});case"Table.filter":return null;default:return E.createElement(me.Z,null)}};Ht.Z=Fe},36207:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return lt}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(85899),we=te(72190),Ee=te(43403),Ae=te(34280),Ie=E.createContext(null),Se=E.createContext({}),de=Ie,Xe=te(18642),xe=te(60499),wt=te(77900),Qe=te(10228),Te=te(26112),$e=te(42244),je=te(8654),St=["prefixCls","className","containerRef"],Nt=function(Ke){var ut=Ke.prefixCls,Ct=Ke.className,At=Ke.containerRef,nn=(0,$e.Z)(Ke,St),Qt=E.useContext(Se),Yt=Qt.panel,on=(0,je.x1)(Yt,At);return E.createElement("div",(0,xe.Z)({className:me()("".concat(ut,"-content"),Ct),role:"dialog",ref:on},(0,Te.Z)(Ke,{aria:!0}),{"aria-modal":"true"},nn))},Rt=Nt,Et=te(48736);function ct(Be){return typeof Be=="string"&&String(Number(Be))===Be?((0,Et.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Be)):Be}function dt(Be){warning(!("wrapperClassName"in Be),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Be.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var nt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Dt(Be,Ke){var ut,Ct,At,nn=Be.prefixCls,Qt=Be.open,Yt=Be.placement,on=Be.inline,Ft=Be.push,en=Be.forceRender,Ot=Be.autoFocus,rn=Be.keyboard,Ut=Be.classNames,Ne=Be.rootClassName,rt=Be.rootStyle,zt=Be.zIndex,Gt=Be.className,Pe=Be.id,Ye=Be.style,ft=Be.motion,kt=Be.width,Jt=Be.height,cn=Be.children,An=Be.mask,xn=Be.maskClosable,dn=Be.maskMotion,Sn=Be.maskClassName,bn=Be.maskStyle,tn=Be.afterOpenChange,Wt=Be.onClose,jt=Be.onMouseEnter,It=Be.onMouseOver,un=Be.onMouseLeave,ln=Be.onClick,$t=Be.onKeyDown,gn=Be.onKeyUp,Cn=Be.styles,yn=Be.drawerRender,kn=E.useRef(),Mn=E.useRef(),$n=E.useRef();E.useImperativeHandle(Ke,function(){return kn.current});var Gn=function(_e){var tt=_e.keyCode,mt=_e.shiftKey;switch(tt){case Qe.Z.TAB:{if(tt===Qe.Z.TAB){if(!mt&&document.activeElement===$n.current){var hn;(hn=Mn.current)===null||hn===void 0||hn.focus({preventScroll:!0})}else if(mt&&document.activeElement===Mn.current){var sn;(sn=$n.current)===null||sn===void 0||sn.focus({preventScroll:!0})}}break}case Qe.Z.ESC:{Wt&&rn&&(_e.stopPropagation(),Wt(_e));break}}};E.useEffect(function(){if(Qt&&Ot){var pt;(pt=kn.current)===null||pt===void 0||pt.focus({preventScroll:!0})}},[Qt]);var Zt=E.useState(!1),an=(0,we.Z)(Zt,2),Bn=an[0],Pn=an[1],Ve=E.useContext(de),at;typeof Ft=="boolean"?at=Ft?{}:{distance:0}:at=Ft||{};var Oe=(ut=(Ct=(At=at)===null||At===void 0?void 0:At.distance)!==null&&Ct!==void 0?Ct:Ve==null?void 0:Ve.pushDistance)!==null&&ut!==void 0?ut:180,Je=E.useMemo(function(){return{pushDistance:Oe,push:function(){Pn(!0)},pull:function(){Pn(!1)}}},[Oe]);E.useEffect(function(){if(Qt){var pt;Ve==null||(pt=Ve.push)===null||pt===void 0||pt.call(Ve)}else{var _e;Ve==null||(_e=Ve.pull)===null||_e===void 0||_e.call(Ve)}},[Qt]),E.useEffect(function(){return function(){var pt;Ve==null||(pt=Ve.pull)===null||pt===void 0||pt.call(Ve)}},[]);var Me=An&&E.createElement(wt.default,(0,xe.Z)({key:"mask"},dn,{visible:Qt}),function(pt,_e){var tt=pt.className,mt=pt.style;return E.createElement("div",{className:me()("".concat(nn,"-mask"),tt,Ut==null?void 0:Ut.mask,Sn),style:(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},mt),bn),Cn==null?void 0:Cn.mask),onClick:xn&&Qt?Wt:void 0,ref:_e})}),qe=typeof ft=="function"?ft(Yt):ft,Ce={};if(Bn&&Oe)switch(Yt){case"top":Ce.transform="translateY(".concat(Oe,"px)");break;case"bottom":Ce.transform="translateY(".concat(-Oe,"px)");break;case"left":Ce.transform="translateX(".concat(Oe,"px)");break;default:Ce.transform="translateX(".concat(-Oe,"px)");break}Yt==="left"||Yt==="right"?Ce.width=ct(kt):Ce.height=ct(Jt);var ot={onMouseEnter:jt,onMouseOver:It,onMouseLeave:un,onClick:ln,onKeyDown:$t,onKeyUp:gn},ht=E.createElement(wt.default,(0,xe.Z)({key:"panel"},qe,{visible:Qt,forceRender:en,onVisibleChanged:function(_e){tn==null||tn(_e)},removeOnLeave:!1,leavedClassName:"".concat(nn,"-content-wrapper-hidden")}),function(pt,_e){var tt=pt.className,mt=pt.style,hn=E.createElement(Rt,(0,xe.Z)({id:Pe,containerRef:_e,prefixCls:nn,className:me()(Gt,Ut==null?void 0:Ut.content),style:(0,Fe.Z)((0,Fe.Z)({},Ye),Cn==null?void 0:Cn.content)},(0,Te.Z)(Be,{aria:!0}),ot),cn);return E.createElement("div",(0,xe.Z)({className:me()("".concat(nn,"-content-wrapper"),Ut==null?void 0:Ut.wrapper,tt),style:(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},Ce),mt),Cn==null?void 0:Cn.wrapper)},(0,Te.Z)(Be,{data:!0})),yn?yn(hn):hn)}),Pt=(0,Fe.Z)({},rt);return zt&&(Pt.zIndex=zt),E.createElement(de.Provider,{value:Je},E.createElement("div",{className:me()(nn,"".concat(nn,"-").concat(Yt),Ne,(0,Xe.Z)((0,Xe.Z)({},"".concat(nn,"-open"),Qt),"".concat(nn,"-inline"),on)),style:Pt,tabIndex:-1,ref:kn,onKeyDown:Gn},Me,E.createElement("div",{tabIndex:0,ref:Mn,style:nt,"aria-hidden":"true","data-sentinel":"start"}),ht,E.createElement("div",{tabIndex:0,ref:$n,style:nt,"aria-hidden":"true","data-sentinel":"end"})))}var et=E.forwardRef(Dt),He=et,vt=function(Ke){var ut=Ke.open,Ct=ut===void 0?!1:ut,At=Ke.prefixCls,nn=At===void 0?"rc-drawer":At,Qt=Ke.placement,Yt=Qt===void 0?"right":Qt,on=Ke.autoFocus,Ft=on===void 0?!0:on,en=Ke.keyboard,Ot=en===void 0?!0:en,rn=Ke.width,Ut=rn===void 0?378:rn,Ne=Ke.mask,rt=Ne===void 0?!0:Ne,zt=Ke.maskClosable,Gt=zt===void 0?!0:zt,Pe=Ke.getContainer,Ye=Ke.forceRender,ft=Ke.afterOpenChange,kt=Ke.destroyOnClose,Jt=Ke.onMouseEnter,cn=Ke.onMouseOver,An=Ke.onMouseLeave,xn=Ke.onClick,dn=Ke.onKeyDown,Sn=Ke.onKeyUp,bn=Ke.panelRef,tn=E.useState(!1),Wt=(0,we.Z)(tn,2),jt=Wt[0],It=Wt[1],un=E.useState(!1),ln=(0,we.Z)(un,2),$t=ln[0],gn=ln[1];(0,Ae.Z)(function(){gn(!0)},[]);var Cn=$t?Ct:!1,yn=E.useRef(),kn=E.useRef();(0,Ae.Z)(function(){Cn&&(kn.current=document.activeElement)},[Cn]);var Mn=function(Bn){var Pn;if(It(Bn),ft==null||ft(Bn),!Bn&&kn.current&&!((Pn=yn.current)!==null&&Pn!==void 0&&Pn.contains(kn.current))){var Ve;(Ve=kn.current)===null||Ve===void 0||Ve.focus({preventScroll:!0})}},$n=E.useMemo(function(){return{panel:bn}},[bn]);if(!Ye&&!jt&&!Cn&&kt)return null;var Gn={onMouseEnter:Jt,onMouseOver:cn,onMouseLeave:An,onClick:xn,onKeyDown:dn,onKeyUp:Sn},Zt=(0,Fe.Z)((0,Fe.Z)({},Ke),{},{open:Cn,prefixCls:nn,placement:Yt,autoFocus:Ft,keyboard:Ot,width:Ut,mask:rt,maskClosable:Gt,inline:Pe===!1,afterOpenChange:Mn,ref:yn},Gn);return E.createElement(Se.Provider,{value:$n},E.createElement(Ee.Z,{open:Cn||Ye||jt,autoDestroy:!1,getContainer:Pe,autoLock:rt&&(Cn||jt)},E.createElement(He,Zt)))},De=vt,We=De,Re=te(62487),ue=te(75030),st=te(86641),Le=te(55743),Ue=te(48755),Tt=te(91190),ge=te(78776),fe=te(458),Lt=Be=>{var Ke,ut;const{prefixCls:Ct,title:At,footer:nn,extra:Qt,loading:Yt,onClose:on,headerStyle:Ft,bodyStyle:en,footerStyle:Ot,children:rn,classNames:Ut,styles:Ne}=Be,rt=(0,Ue.dj)("drawer"),zt=E.useCallback(kt=>E.createElement("button",{type:"button",onClick:on,"aria-label":"Close",className:`${Ct}-close`},kt),[on]),[Gt,Pe]=(0,ge.Z)((0,ge.w)(Be),(0,ge.w)(rt),{closable:!0,closeIconRender:zt}),Ye=E.useMemo(()=>{var kt,Jt;return!At&&!Gt?null:E.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(kt=rt.styles)===null||kt===void 0?void 0:kt.header),Ft),Ne==null?void 0:Ne.header),className:me()(`${Ct}-header`,{[`${Ct}-header-close-only`]:Gt&&!At&&!Qt},(Jt=rt.classNames)===null||Jt===void 0?void 0:Jt.header,Ut==null?void 0:Ut.header)},E.createElement("div",{className:`${Ct}-header-title`},Pe,At&&E.createElement("div",{className:`${Ct}-title`},At)),Qt&&E.createElement("div",{className:`${Ct}-extra`},Qt))},[Gt,Pe,Qt,Ft,Ct,At]),ft=E.useMemo(()=>{var kt,Jt;if(!nn)return null;const cn=`${Ct}-footer`;return E.createElement("div",{className:me()(cn,(kt=rt.classNames)===null||kt===void 0?void 0:kt.footer,Ut==null?void 0:Ut.footer),style:Object.assign(Object.assign(Object.assign({},(Jt=rt.styles)===null||Jt===void 0?void 0:Jt.footer),Ot),Ne==null?void 0:Ne.footer)},nn)},[nn,Ot,Ct]);return E.createElement(E.Fragment,null,Ye,E.createElement("div",{className:me()(`${Ct}-body`,Ut==null?void 0:Ut.body,(Ke=rt.classNames)===null||Ke===void 0?void 0:Ke.body),style:Object.assign(Object.assign(Object.assign({},(ut=rt.styles)===null||ut===void 0?void 0:ut.body),en),Ne==null?void 0:Ne.body)},Yt?E.createElement(fe.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Ct}-body-skeleton`}):rn),ft)},Bt=te(36237),ve=te(63356),ke=te(16931),Ze=te(51636);const xt=Be=>{const Ke="100%";return{left:`translateX(-${Ke})`,right:`translateX(${Ke})`,top:`translateY(-${Ke})`,bottom:`translateY(${Ke})`}[Be]},Mt=(Be,Ke)=>({"&-enter, &-appear":Object.assign(Object.assign({},Be),{"&-active":Ke}),"&-leave":Object.assign(Object.assign({},Ke),{"&-active":Be})}),Xt=(Be,Ke)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ke}`}}},Mt({opacity:Be},{opacity:1})),ze=(Be,Ke)=>[Xt(.7,Ke),Mt({transform:xt(Be)},{transform:"none"})];var gt=Be=>{const{componentCls:Ke,motionDurationSlow:ut}=Be;return{[Ke]:{[`${Ke}-mask-motion`]:Xt(0,ut),[`${Ke}-panel-motion`]:["left","right","top","bottom"].reduce((Ct,At)=>Object.assign(Object.assign({},Ct),{[`&-${At}`]:ze(At,ut)}),{})}}};const ae=Be=>{const{borderRadiusSM:Ke,componentCls:ut,zIndexPopup:Ct,colorBgMask:At,colorBgElevated:nn,motionDurationSlow:Qt,motionDurationMid:Yt,paddingXS:on,padding:Ft,paddingLG:en,fontSizeLG:Ot,lineHeightLG:rn,lineWidth:Ut,lineType:Ne,colorSplit:rt,marginXS:zt,colorIcon:Gt,colorIconHover:Pe,colorBgTextHover:Ye,colorBgTextActive:ft,colorText:kt,fontWeightStrong:Jt,footerPaddingBlock:cn,footerPaddingInline:An,calc:xn}=Be,dn=`${ut}-content-wrapper`;return{[ut]:{position:"fixed",inset:0,zIndex:Ct,pointerEvents:"none",color:kt,"&-pure":{position:"relative",background:nn,display:"flex",flexDirection:"column",[`&${ut}-left`]:{boxShadow:Be.boxShadowDrawerLeft},[`&${ut}-right`]:{boxShadow:Be.boxShadowDrawerRight},[`&${ut}-top`]:{boxShadow:Be.boxShadowDrawerUp},[`&${ut}-bottom`]:{boxShadow:Be.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${ut}-mask`]:{position:"absolute",inset:0,zIndex:Ct,background:At,pointerEvents:"auto"},[dn]:{position:"absolute",zIndex:Ct,maxWidth:"100vw",transition:`all ${Qt}`,"&-hidden":{display:"none"}},[`&-left > ${dn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Be.boxShadowDrawerLeft},[`&-right > ${dn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Be.boxShadowDrawerRight},[`&-top > ${dn}`]:{top:0,insetInline:0,boxShadow:Be.boxShadowDrawerUp},[`&-bottom > ${dn}`]:{bottom:0,insetInline:0,boxShadow:Be.boxShadowDrawerDown},[`${ut}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:nn,pointerEvents:"auto"},[`${ut}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Bt.unit)(Ft)} ${(0,Bt.unit)(en)}`,fontSize:Ot,lineHeight:rn,borderBottom:`${(0,Bt.unit)(Ut)} ${Ne} ${rt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${ut}-extra`]:{flex:"none"},[`${ut}-close`]:Object.assign({display:"inline-flex",width:xn(Ot).add(on).equal(),height:xn(Ot).add(on).equal(),borderRadius:Ke,justifyContent:"center",alignItems:"center",marginInlineEnd:zt,color:Gt,fontWeight:Jt,fontSize:Ot,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Yt}`,textRendering:"auto","&:hover":{color:Pe,backgroundColor:Ye,textDecoration:"none"},"&:active":{backgroundColor:ft}},(0,ve.Qy)(Be)),[`${ut}-title`]:{flex:1,margin:0,fontWeight:Be.fontWeightStrong,fontSize:Ot,lineHeight:rn},[`${ut}-body`]:{flex:1,minWidth:0,minHeight:0,padding:en,overflow:"auto",[`${ut}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${ut}-footer`]:{flexShrink:0,padding:`${(0,Bt.unit)(cn)} ${(0,Bt.unit)(An)}`,borderTop:`${(0,Bt.unit)(Ut)} ${Ne} ${rt}`},"&-rtl":{direction:"rtl"}}}},ne=Be=>({zIndexPopup:Be.zIndexPopupBase,footerPaddingBlock:Be.paddingXS,footerPaddingInline:Be.padding});var ee=(0,ke.I$)("Drawer",Be=>{const Ke=(0,Ze.mergeToken)(Be,{});return[ae(Ke),gt(Ke)]},ne),oe=function(Be,Ke){var ut={};for(var Ct in Be)Object.prototype.hasOwnProperty.call(Be,Ct)&&Ke.indexOf(Ct)<0&&(ut[Ct]=Be[Ct]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Ct=Object.getOwnPropertySymbols(Be);At<Ct.length;At++)Ke.indexOf(Ct[At])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ct[At])&&(ut[Ct[At]]=Be[Ct[At]]);return ut};const se=null,re={distance:180},he=Be=>{var Ke;const{rootClassName:ut,width:Ct,height:At,size:nn="default",mask:Qt=!0,push:Yt=re,open:on,afterOpenChange:Ft,onClose:en,prefixCls:Ot,getContainer:rn,style:Ut,className:Ne,visible:rt,afterVisibleChange:zt,maskStyle:Gt,drawerStyle:Pe,contentWrapperStyle:Ye}=Be,ft=oe(Be,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:kt,getPrefixCls:Jt,direction:cn,className:An,style:xn,classNames:dn,styles:Sn}=(0,Ue.dj)("drawer"),bn=Jt("drawer",Ot),[tn,Wt,jt]=ee(bn),It=rn===void 0&&kt?()=>kt(document.body):rn,un=me()({"no-mask":!Qt,[`${bn}-rtl`]:cn==="rtl"},ut,Wt,jt),ln=E.useMemo(()=>Ct!=null?Ct:nn==="large"?736:378,[Ct,nn]),$t=E.useMemo(()=>At!=null?At:nn==="large"?736:378,[At,nn]),gn={motionName:(0,st.m)(bn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Cn=Zt=>({motionName:(0,st.m)(bn,`panel-motion-${Zt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),yn=(0,Tt.H)(),[kn,Mn]=(0,ue.Cn)("Drawer",ft.zIndex),{classNames:$n={},styles:Gn={}}=ft;return tn(E.createElement(Re.Z,{form:!0,space:!0},E.createElement(Le.Z.Provider,{value:Mn},E.createElement(We,Object.assign({prefixCls:bn,onClose:en,maskMotion:gn,motion:Cn},ft,{classNames:{mask:me()($n.mask,dn.mask),content:me()($n.content,dn.content),wrapper:me()($n.wrapper,dn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Gn.mask),Gt),Sn.mask),content:Object.assign(Object.assign(Object.assign({},Gn.content),Pe),Sn.content),wrapper:Object.assign(Object.assign(Object.assign({},Gn.wrapper),Ye),Sn.wrapper)},open:on!=null?on:rt,mask:Qt,push:Yt,width:ln,height:$t,style:Object.assign(Object.assign({},xn),Ut),className:me()(An,Ne),rootClassName:un,getContainer:It,afterOpenChange:Ft!=null?Ft:zt,panelRef:yn,zIndex:kn}),E.createElement(Lt,Object.assign({prefixCls:bn},ft,{onClose:en}))))))},ye=Be=>{const{prefixCls:Ke,style:ut,className:Ct,placement:At="right"}=Be,nn=oe(Be,["prefixCls","style","className","placement"]),{getPrefixCls:Qt}=E.useContext(Ue.E_),Yt=Qt("drawer",Ke),[on,Ft,en]=ee(Yt),Ot=me()(Yt,`${Yt}-pure`,`${Yt}-${At}`,Ft,en,Ct);return on(E.createElement("div",{className:Ot,style:ut},E.createElement(Lt,Object.assign({prefixCls:Yt},nn))))};he._InternalPanelDoNotUseOrYouWillBeFired=ye;var lt=he},19563:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Bt}});var E=te(59301),Ge=te(33853),me=te(38819),Fe=te(92310),we=te.n(Fe),Ee=te(96478),Ae=te(6089),Ie=te(18929),Se=te(2738),de=te(75030),xe=ve=>typeof ve!="object"&&typeof ve!="function"||ve===null,wt=te(52838),Qe=te(45915),Te=te(22703),$e=te(32383),je=te(55743),St=te(48755),Nt=te(83397),Rt=te(93041),Et=te(78857),ct=te(57700),dt=te(36237),nt=te(63356),Dt=te(46e3),et=te(93873),He=te(34925),vt=te(37645),De=te(36305),We=te(16931),Re=te(51636),st=ve=>{const{componentCls:ke,menuCls:Ze,colorError:xt,colorTextLightSolid:Mt}=ve,Xt=`${Ze}-item`;return{[`${ke}, ${ke}-menu-submenu`]:{[`${Ze} ${Xt}`]:{[`&${Xt}-danger:not(${Xt}-disabled)`]:{color:xt,"&:hover":{color:Mt,backgroundColor:xt}}}}}};const Le=ve=>{const{componentCls:ke,menuCls:Ze,zIndexPopup:xt,dropdownArrowDistance:Mt,sizePopupArrow:Xt,antCls:ze,iconCls:Vt,motionDurationMid:gt,paddingBlock:ae,fontSize:ne,dropdownEdgeChildPadding:ee,colorTextDisabled:oe,fontSizeIcon:se,controlPaddingHorizontal:re,colorBgElevated:he}=ve;return[{[ke]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:xt,display:"block","&::before":{position:"absolute",insetBlock:ve.calc(Xt).div(2).sub(Mt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ze}-btn`]:{[`& > ${Vt}-down, & > ${ze}-btn-icon > ${Vt}-down`]:{fontSize:se}},[`${ke}-wrap`]:{position:"relative",[`${ze}-btn > ${Vt}-down`]:{fontSize:se},[`${Vt}-down::before`]:{transition:`transform ${gt}`}},[`${ke}-wrap-open`]:{[`${Vt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ze}-slide-down-enter${ze}-slide-down-enter-active${ke}-placement-bottomLeft,
&${ze}-slide-down-appear${ze}-slide-down-appear-active${ke}-placement-bottomLeft,
&${ze}-slide-down-enter${ze}-slide-down-enter-active${ke}-placement-bottom,
&${ze}-slide-down-appear${ze}-slide-down-appear-active${ke}-placement-bottom,
&${ze}-slide-down-enter${ze}-slide-down-enter-active${ke}-placement-bottomRight,
&${ze}-slide-down-appear${ze}-slide-down-appear-active${ke}-placement-bottomRight`]:{animationName:Dt.fJ},[`&${ze}-slide-up-enter${ze}-slide-up-enter-active${ke}-placement-topLeft,
&${ze}-slide-up-appear${ze}-slide-up-appear-active${ke}-placement-topLeft,
&${ze}-slide-up-enter${ze}-slide-up-enter-active${ke}-placement-top,
&${ze}-slide-up-appear${ze}-slide-up-appear-active${ke}-placement-top,
&${ze}-slide-up-enter${ze}-slide-up-enter-active${ke}-placement-topRight,
&${ze}-slide-up-appear${ze}-slide-up-appear-active${ke}-placement-topRight`]:{animationName:Dt.Qt},[`&${ze}-slide-down-leave${ze}-slide-down-leave-active${ke}-placement-bottomLeft,
&${ze}-slide-down-leave${ze}-slide-down-leave-active${ke}-placement-bottom,
&${ze}-slide-down-leave${ze}-slide-down-leave-active${ke}-placement-bottomRight`]:{animationName:Dt.Uw},[`&${ze}-slide-up-leave${ze}-slide-up-leave-active${ke}-placement-topLeft,
&${ze}-slide-up-leave${ze}-slide-up-leave-active${ke}-placement-top,
&${ze}-slide-up-leave${ze}-slide-up-leave-active${ke}-placement-topRight`]:{animationName:Dt.ly}}},(0,vt.ZP)(ve,he,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ke} ${Ze}`]:{position:"relative",margin:0},[`${Ze}-submenu-popup`]:{position:"absolute",zIndex:xt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ke}, ${ke}-menu-submenu`]:Object.assign(Object.assign({},(0,nt.Wf)(ve)),{[Ze]:Object.assign(Object.assign({padding:ee,listStyleType:"none",backgroundColor:he,backgroundClip:"padding-box",borderRadius:ve.borderRadiusLG,outline:"none",boxShadow:ve.boxShadowSecondary},(0,nt.Qy)(ve)),{"&:empty":{padding:0,boxShadow:"none"},[`${Ze}-item-group-title`]:{padding:`${(0,dt.unit)(ae)} ${(0,dt.unit)(re)}`,color:ve.colorTextDescription,transition:`all ${gt}`},[`${Ze}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ze}-item-icon`]:{minWidth:ne,marginInlineEnd:ve.marginXS,fontSize:ve.fontSizeSM},[`${Ze}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${gt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Ze}-item-extra`]:{paddingInlineStart:ve.padding,marginInlineStart:"auto",fontSize:ve.fontSizeSM,color:ve.colorTextDescription}},[`${Ze}-item, ${Ze}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,dt.unit)(ae)} ${(0,dt.unit)(re)}`,color:ve.colorText,fontWeight:"normal",fontSize:ne,lineHeight:ve.lineHeight,cursor:"pointer",transition:`all ${gt}`,borderRadius:ve.borderRadiusSM,"&:hover, &-active":{backgroundColor:ve.controlItemBgHover}},(0,nt.Qy)(ve)),{"&-selected":{color:ve.colorPrimary,backgroundColor:ve.controlItemBgActive,"&:hover, &-active":{backgroundColor:ve.controlItemBgActiveHover}},"&-disabled":{color:oe,cursor:"not-allowed","&:hover":{color:oe,backgroundColor:he,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,dt.unit)(ve.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:ve.colorSplit},[`${ke}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ve.paddingXS,[`${ke}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ve.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${Ze}-item-group-list`]:{margin:`0 ${(0,dt.unit)(ve.marginXS)}`,padding:0,listStyle:"none"},[`${Ze}-submenu-title`]:{paddingInlineEnd:ve.calc(re).add(ve.fontSizeSM).equal()},[`${Ze}-submenu-vertical`]:{position:"relative"},[`${Ze}-submenu${Ze}-submenu-disabled ${ke}-menu-submenu-title`]:{[`&, ${ke}-menu-submenu-arrow-icon`]:{color:oe,backgroundColor:he,cursor:"not-allowed"}},[`${Ze}-submenu-selected ${ke}-menu-submenu-title`]:{color:ve.colorPrimary}})})},[(0,Dt.oN)(ve,"slide-up"),(0,Dt.oN)(ve,"slide-down"),(0,et.Fm)(ve,"move-up"),(0,et.Fm)(ve,"move-down"),(0,He._y)(ve,"zoom-big")]]},Ue=ve=>Object.assign(Object.assign({zIndexPopup:ve.zIndexPopupBase+50,paddingBlock:(ve.controlHeight-ve.fontSize*ve.lineHeight)/2},(0,vt.wZ)({contentRadius:ve.borderRadiusLG,limitVerticalRadius:!0})),(0,De.w)(ve));var Tt=(0,We.I$)("Dropdown",ve=>{const{marginXXS:ke,sizePopupArrow:Ze,paddingXXS:xt,componentCls:Mt}=ve,Xt=(0,Re.mergeToken)(ve,{menuCls:`${Mt}-menu`,dropdownArrowDistance:ve.calc(Ze).div(2).add(ke).equal(),dropdownEdgeChildPadding:xt});return[Le(Xt),st(Xt)]},Ue,{resetStyle:!1});const ge=null,fe=ve=>{var ke;const{menu:Ze,arrow:xt,prefixCls:Mt,children:Xt,trigger:ze,disabled:Vt,dropdownRender:gt,getPopupContainer:ae,overlayClassName:ne,rootClassName:ee,overlayStyle:oe,open:se,onOpenChange:re,visible:he,onVisibleChange:ye,mouseEnterDelay:lt=.15,mouseLeaveDelay:Be=.1,autoAdjustOverflow:Ke=!0,placement:ut="",overlay:Ct,transitionName:At}=ve,{getPopupContainer:nn,getPrefixCls:Qt,direction:Yt,dropdown:on}=E.useContext(St.E_),Ft=(0,$e.ln)("Dropdown"),en=E.useMemo(()=>{const It=Qt();return At!==void 0?At:ut.includes("top")?`${It}-slide-down`:`${It}-slide-up`},[Qt,ut,At]),Ot=E.useMemo(()=>ut?ut.includes("Center")?ut.slice(0,ut.indexOf("Center")):ut:Yt==="rtl"?"bottomRight":"bottomLeft",[ut,Yt]),rn=Qt("dropdown",Mt),Ut=(0,Nt.Z)(rn),[Ne,rt,zt]=Tt(rn,Ut),[,Gt]=(0,ct.ZP)(),Pe=E.Children.only(xe(Xt)?E.createElement("span",null,Xt):Xt),Ye=(0,Te.Tm)(Pe,{className:we()(`${rn}-trigger`,{[`${rn}-rtl`]:Yt==="rtl"},Pe.props.className),disabled:(ke=Pe.props.disabled)!==null&&ke!==void 0?ke:Vt}),ft=Vt?[]:ze,kt=!!(ft!=null&&ft.includes("contextMenu")),[Jt,cn]=(0,Ie.Z)(!1,{value:se!=null?se:he}),An=(0,Ae.Z)(It=>{re==null||re(It,{source:"trigger"}),ye==null||ye(It),cn(It)}),xn=we()(ne,ee,rt,zt,Ut,on==null?void 0:on.className,{[`${rn}-rtl`]:Yt==="rtl"}),dn=(0,wt.Z)({arrowPointAtCenter:typeof xt=="object"&&xt.pointAtCenter,autoAdjustOverflow:Ke,offset:Gt.marginXXS,arrowWidth:xt?Gt.sizePopupArrow:0,borderRadius:Gt.borderRadius}),Sn=E.useCallback(()=>{Ze!=null&&Ze.selectable&&(Ze!=null&&Ze.multiple)||(re==null||re(!1,{source:"menu"}),cn(!1))},[Ze==null?void 0:Ze.selectable,Ze==null?void 0:Ze.multiple]),bn=()=>{let It;return Ze!=null&&Ze.items?It=E.createElement(Rt.default,Object.assign({},Ze)):typeof Ct=="function"?It=Ct():It=Ct,gt&&(It=gt(It)),It=E.Children.only(typeof It=="string"?E.createElement("span",null,It):It),E.createElement(Et.J,{prefixCls:`${rn}-menu`,rootClassName:we()(zt,Ut),expandIcon:E.createElement("span",{className:`${rn}-menu-submenu-arrow`},Yt==="rtl"?E.createElement(Ge.Z,{className:`${rn}-menu-submenu-arrow-icon`}):E.createElement(me.Z,{className:`${rn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Sn,validator:un=>{let{mode:ln}=un}},It)},[tn,Wt]=(0,de.Cn)("Dropdown",oe==null?void 0:oe.zIndex);let jt=E.createElement(Ee.Z,Object.assign({alignPoint:kt},(0,Se.Z)(ve,["rootClassName"]),{mouseEnterDelay:lt,mouseLeaveDelay:Be,visible:Jt,builtinPlacements:dn,arrow:!!xt,overlayClassName:xn,prefixCls:rn,getPopupContainer:ae||nn,transitionName:en,trigger:ft,overlay:bn,placement:Ot,onVisibleChange:An,overlayStyle:Object.assign(Object.assign(Object.assign({},on==null?void 0:on.style),oe),{zIndex:tn})}),Ye);return tn&&(jt=E.createElement(je.Z.Provider,{value:Wt},jt)),Ne(jt)},bt=(0,Qe.Z)(fe,"align",void 0,"dropdown",ve=>ve),Lt=ve=>E.createElement(bt,Object.assign({},ve),E.createElement("span",null));fe._InternalPanelDoNotUseOrYouWillBeFired=Lt;var Bt=fe},75727:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Qe}});var E=te(19563),Ge=te(59301),me=te(18785),Fe=te(92310),we=te.n(Fe),Ee=te(7939),Ae=te(48755),Ie=te(44104),Se=te(70045),de=function(Te,$e){var je={};for(var St in Te)Object.prototype.hasOwnProperty.call(Te,St)&&$e.indexOf(St)<0&&(je[St]=Te[St]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,St=Object.getOwnPropertySymbols(Te);Nt<St.length;Nt++)$e.indexOf(St[Nt])<0&&Object.prototype.propertyIsEnumerable.call(Te,St[Nt])&&(je[St[Nt]]=Te[St[Nt]]);return je};const Xe=Te=>{const{getPopupContainer:$e,getPrefixCls:je,direction:St}=Ge.useContext(Ae.E_),{prefixCls:Nt,type:Rt="default",danger:Et,disabled:ct,loading:dt,onClick:nt,htmlType:Dt,children:et,className:He,menu:vt,arrow:De,autoFocus:We,overlay:Re,trigger:ue,align:st,open:Le,onOpenChange:Ue,placement:Tt,getPopupContainer:ge,href:fe,icon:bt=Ge.createElement(me.Z,null),title:Lt,buttonsRender:Bt=lt=>lt,mouseEnterDelay:ve,mouseLeaveDelay:ke,overlayClassName:Ze,overlayStyle:xt,destroyPopupOnHide:Mt,dropdownRender:Xt}=Te,ze=de(Te,["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"]),Vt=je("dropdown",Nt),gt=`${Vt}-button`,ae={menu:vt,arrow:De,autoFocus:We,align:st,disabled:ct,trigger:ct?[]:ue,onOpenChange:Ue,getPopupContainer:ge||$e,mouseEnterDelay:ve,mouseLeaveDelay:ke,overlayClassName:Ze,overlayStyle:xt,destroyPopupOnHide:Mt,dropdownRender:Xt},{compactSize:ne,compactItemClassnames:ee}=(0,Se.ri)(Vt,St),oe=we()(gt,ee,He);"overlay"in Te&&(ae.overlay=Re),"open"in Te&&(ae.open=Le),"placement"in Te?ae.placement=Tt:ae.placement=St==="rtl"?"bottomLeft":"bottomRight";const se=Ge.createElement(Ee.ZP,{type:Rt,danger:Et,disabled:ct,loading:dt,onClick:nt,htmlType:Dt,href:fe,title:Lt},et),re=Ge.createElement(Ee.ZP,{type:Rt,danger:Et,icon:bt}),[he,ye]=Bt([se,re]);return Ge.createElement(Ie.Z.Compact,Object.assign({className:oe,size:ne,block:!0},ze),he,Ge.createElement(E.Z,Object.assign({},ae),ye))};Xe.__ANT_BUTTON=!0;var xe=Xe;const wt=E.Z;wt.Button=xe;var Qe=wt},584:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Rt}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(9017),we=te(17835),Ee=te(57700),Ie=()=>{const[,Et]=(0,Ee.ZP)(),[ct]=(0,Fe.Z)("Empty"),nt=new we.FastColor(Et.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return E.createElement("svg",{style:nt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},E.createElement("title",null,(ct==null?void 0:ct.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"}))))},de=()=>{const[,Et]=(0,Ee.ZP)(),[ct]=(0,Fe.Z)("Empty"),{colorFill:dt,colorFillTertiary:nt,colorFillQuaternary:Dt,colorBgContainer:et}=Et,{borderColor:He,shadowColor:vt,contentColor:De}=(0,E.useMemo)(()=>({borderColor:new we.FastColor(dt).onBackground(et).toHexString(),shadowColor:new we.FastColor(nt).onBackground(et).toHexString(),contentColor:new we.FastColor(Dt).onBackground(et).toHexString()}),[dt,nt,Dt,et]);return E.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},E.createElement("title",null,(ct==null?void 0:ct.description)||"Empty"),E.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},E.createElement("ellipse",{fill:vt,cx:"32",cy:"33",rx:"32",ry:"7"}),E.createElement("g",{fillRule:"nonzero",stroke:He},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:De}))))},Xe=te(16931),xe=te(51636);const wt=Et=>{const{componentCls:ct,margin:dt,marginXS:nt,marginXL:Dt,fontSize:et,lineHeight:He}=Et;return{[ct]:{marginInline:nt,fontSize:et,lineHeight:He,textAlign:"center",[`${ct}-image`]:{height:Et.emptyImgHeight,marginBottom:nt,opacity:Et.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ct}-description`]:{color:Et.colorTextDescription},[`${ct}-footer`]:{marginTop:dt},"&-normal":{marginBlock:Dt,color:Et.colorTextDescription,[`${ct}-description`]:{color:Et.colorTextDescription},[`${ct}-image`]:{height:Et.emptyImgHeightMD}},"&-small":{marginBlock:nt,color:Et.colorTextDescription,[`${ct}-image`]:{height:Et.emptyImgHeightSM}}}}};var Qe=(0,Xe.I$)("Empty",Et=>{const{componentCls:ct,controlHeightLG:dt,calc:nt}=Et,Dt=(0,xe.mergeToken)(Et,{emptyImgCls:`${ct}-img`,emptyImgHeight:nt(dt).mul(2.5).equal(),emptyImgHeightMD:dt,emptyImgHeightSM:nt(dt).mul(.875).equal()});return[wt(Dt)]}),Te=te(48755),$e=function(Et,ct){var dt={};for(var nt in Et)Object.prototype.hasOwnProperty.call(Et,nt)&&ct.indexOf(nt)<0&&(dt[nt]=Et[nt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,nt=Object.getOwnPropertySymbols(Et);Dt<nt.length;Dt++)ct.indexOf(nt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Et,nt[Dt])&&(dt[nt[Dt]]=Et[nt[Dt]]);return dt};const je=E.createElement(Ie,null),St=E.createElement(de,null),Nt=Et=>{const{className:ct,rootClassName:dt,prefixCls:nt,image:Dt=je,description:et,children:He,imageStyle:vt,style:De,classNames:We,styles:Re}=Et,ue=$e(Et,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:st,direction:Le,className:Ue,style:Tt,classNames:ge,styles:fe}=(0,Te.dj)("empty"),bt=st("empty",nt),[Lt,Bt,ve]=Qe(bt),[ke]=(0,Fe.Z)("Empty"),Ze=typeof et!="undefined"?et:ke==null?void 0:ke.description,xt=typeof Ze=="string"?Ze:"empty";let Mt=null;return typeof Dt=="string"?Mt=E.createElement("img",{alt:xt,src:Dt}):Mt=Dt,Lt(E.createElement("div",Object.assign({className:me()(Bt,ve,bt,Ue,{[`${bt}-normal`]:Dt===St,[`${bt}-rtl`]:Le==="rtl"},ct,dt,ge.root,We==null?void 0:We.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),Tt),Re==null?void 0:Re.root),De)},ue),E.createElement("div",{className:me()(`${bt}-image`,ge.image,We==null?void 0:We.image),style:Object.assign(Object.assign(Object.assign({},vt),fe.image),Re==null?void 0:Re.image)},Mt),Ze&&E.createElement("div",{className:me()(`${bt}-description`,ge.description,We==null?void 0:We.description),style:Object.assign(Object.assign({},fe.description),Re==null?void 0:Re.description)},Ze),He&&E.createElement("div",{className:me()(`${bt}-footer`,ge.footer,We==null?void 0:We.footer),style:Object.assign(Object.assign({},fe.footer),Re==null?void 0:Re.footer)},He)))};Nt.PRESENTED_IMAGE_DEFAULT=je,Nt.PRESENTED_IMAGE_SIMPLE=St;var Rt=Nt},28284:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return at}});var E=te(56553),Ge=te(77654),me=te(59301),Fe=te(92310),we=te.n(Fe),Ee=te(77900),Ae=te(86641),Ie=te(83397);function Se(Oe){const[Je,Me]=me.useState(Oe);return me.useEffect(()=>{const qe=setTimeout(()=>{Me(Oe)},Oe.length?0:10);return()=>{clearTimeout(qe)}},[Oe]),Je}var de=te(36237),Xe=te(63356),xe=te(34925),wt=te(34961),Qe=te(51636),Te=te(16931),je=Oe=>{const{componentCls:Je}=Oe,Me=`${Je}-show-help`,qe=`${Je}-show-help-item`;return{[Me]:{transition:`opacity ${Oe.motionDurationFast} ${Oe.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[qe]:{overflow:"hidden",transition:`height ${Oe.motionDurationFast} ${Oe.motionEaseInOut},
opacity ${Oe.motionDurationFast} ${Oe.motionEaseInOut},
transform ${Oe.motionDurationFast} ${Oe.motionEaseInOut} !important`,[`&${qe}-appear, &${qe}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${qe}-leave-active`]:{transform:"translateY(-5px)"}}}}};const St=Oe=>({legend:{display:"block",width:"100%",marginBottom:Oe.marginLG,padding:0,color:Oe.colorTextDescription,fontSize:Oe.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,de.unit)(Oe.lineWidth)} ${Oe.lineType} ${Oe.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,de.unit)(Oe.controlOutlineWidth)} ${Oe.controlOutline}`},output:{display:"block",paddingTop:15,color:Oe.colorText,fontSize:Oe.fontSize,lineHeight:Oe.lineHeight}}),Nt=(Oe,Je)=>{const{formItemCls:Me}=Oe;return{[Me]:{[`${Me}-label > label`]:{height:Je},[`${Me}-control-input`]:{minHeight:Je}}}},Rt=Oe=>{const{componentCls:Je}=Oe;return{[Oe.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(Oe)),St(Oe)),{[`${Je}-text`]:{display:"inline-block",paddingInlineEnd:Oe.paddingSM},"&-small":Object.assign({},Nt(Oe,Oe.controlHeightSM)),"&-large":Object.assign({},Nt(Oe,Oe.controlHeightLG))})}},Et=Oe=>{const{formItemCls:Je,iconCls:Me,rootPrefixCls:qe,antCls:Ce,labelRequiredMarkColor:ot,labelColor:ht,labelFontSize:Pt,labelHeight:pt,labelColonMarginInlineStart:_e,labelColonMarginInlineEnd:tt,itemMarginBottom:mt}=Oe;return{[Je]:Object.assign(Object.assign({},(0,Xe.Wf)(Oe)),{marginBottom:mt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${Ce}-row`]:{display:"none"},"&-has-warning":{[`${Je}-split`]:{color:Oe.colorError}},"&-has-error":{[`${Je}-split`]:{color:Oe.colorWarning}},[`${Je}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Oe.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:pt,color:ht,fontSize:Pt,[`> ${Me}`]:{fontSize:Oe.fontSize,verticalAlign:"top"},[`&${Je}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Oe.marginXXS,color:ot,fontSize:Oe.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Je}-required-mark-hidden, &${Je}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Je}-optional`]:{display:"inline-block",marginInlineStart:Oe.marginXXS,color:Oe.colorTextDescription,[`&${Je}-required-mark-hidden`]:{display:"none"}},[`${Je}-tooltip`]:{color:Oe.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Oe.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:_e,marginInlineEnd:tt},[`&${Je}-no-colon::after`]:{content:'"\\a0"'}}},[`${Je}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${qe}-col-'"]):not([class*="' ${qe}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Oe.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Je]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Oe.colorTextDescription,fontSize:Oe.fontSize,lineHeight:Oe.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Oe.controlHeightSM,transition:`color ${Oe.motionDurationMid} ${Oe.motionEaseOut}`},"&-explain":{"&-error":{color:Oe.colorError},"&-warning":{color:Oe.colorWarning}}},[`&-with-help ${Je}-explain`]:{height:"auto",opacity:1},[`${Je}-feedback-icon`]:{fontSize:Oe.fontSize,textAlign:"center",visibility:"visible",animationName:xe.kr,animationDuration:Oe.motionDurationMid,animationTimingFunction:Oe.motionEaseOutBack,pointerEvents:"none","&-success":{color:Oe.colorSuccess},"&-error":{color:Oe.colorError},"&-warning":{color:Oe.colorWarning},"&-validating":{color:Oe.colorPrimary}}})}},ct=(Oe,Je)=>{const{formItemCls:Me}=Oe;return{[`${Je}-horizontal`]:{[`${Me}-label`]:{flexGrow:0},[`${Me}-control`]:{flex:"1 1 0",minWidth:0},[`${Me}-label[class$='-24'], ${Me}-label[class*='-24 ']`]:{[`& + ${Me}-control`]:{minWidth:"unset"}}}}},dt=Oe=>{const{componentCls:Je,formItemCls:Me,inlineItemMarginBottom:qe}=Oe;return{[`${Je}-inline`]:{display:"flex",flexWrap:"wrap",[Me]:{flex:"none",marginInlineEnd:Oe.margin,marginBottom:qe,"&-row":{flexWrap:"nowrap"},[`> ${Me}-label,
> ${Me}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Me}-label`]:{flex:"none"},[`${Je}-text`]:{display:"inline-block"},[`${Me}-has-feedback`]:{display:"inline-block"}}}}},nt=Oe=>({padding:Oe.verticalLabelPadding,margin:Oe.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Dt=Oe=>{const{componentCls:Je,formItemCls:Me,rootPrefixCls:qe}=Oe;return{[`${Me} ${Me}-label`]:nt(Oe),[`${Je}:not(${Je}-inline)`]:{[Me]:{flexWrap:"wrap",[`${Me}-label, ${Me}-control`]:{[`&:not([class*=" ${qe}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},et=Oe=>{const{componentCls:Je,formItemCls:Me,antCls:qe}=Oe;return{[`${Je}-vertical`]:{[`${Me}:not(${Me}-horizontal)`]:{[`${Me}-row`]:{flexDirection:"column"},[`${Me}-label > label`]:{height:"auto"},[`${Me}-control`]:{width:"100%"},[`${Me}-label,
${qe}-col-24${Me}-label,
${qe}-col-xl-24${Me}-label`]:nt(Oe)}},[`@media (max-width: ${(0,de.unit)(Oe.screenXSMax)})`]:[Dt(Oe),{[Je]:{[`${Me}:not(${Me}-horizontal)`]:{[`${qe}-col-xs-24${Me}-label`]:nt(Oe)}}}],[`@media (max-width: ${(0,de.unit)(Oe.screenSMMax)})`]:{[Je]:{[`${Me}:not(${Me}-horizontal)`]:{[`${qe}-col-sm-24${Me}-label`]:nt(Oe)}}},[`@media (max-width: ${(0,de.unit)(Oe.screenMDMax)})`]:{[Je]:{[`${Me}:not(${Me}-horizontal)`]:{[`${qe}-col-md-24${Me}-label`]:nt(Oe)}}},[`@media (max-width: ${(0,de.unit)(Oe.screenLGMax)})`]:{[Je]:{[`${Me}:not(${Me}-horizontal)`]:{[`${qe}-col-lg-24${Me}-label`]:nt(Oe)}}}}},He=Oe=>{const{formItemCls:Je,antCls:Me}=Oe;return{[`${Je}-vertical`]:{[`${Je}-row`]:{flexDirection:"column"},[`${Je}-label > label`]:{height:"auto"},[`${Je}-control`]:{width:"100%"}},[`${Je}-vertical ${Je}-label,
${Me}-col-24${Je}-label,
${Me}-col-xl-24${Je}-label`]:nt(Oe),[`@media (max-width: ${(0,de.unit)(Oe.screenXSMax)})`]:[Dt(Oe),{[Je]:{[`${Me}-col-xs-24${Je}-label`]:nt(Oe)}}],[`@media (max-width: ${(0,de.unit)(Oe.screenSMMax)})`]:{[Je]:{[`${Me}-col-sm-24${Je}-label`]:nt(Oe)}},[`@media (max-width: ${(0,de.unit)(Oe.screenMDMax)})`]:{[Je]:{[`${Me}-col-md-24${Je}-label`]:nt(Oe)}},[`@media (max-width: ${(0,de.unit)(Oe.screenLGMax)})`]:{[Je]:{[`${Me}-col-lg-24${Je}-label`]:nt(Oe)}}}},vt=Oe=>({labelRequiredMarkColor:Oe.colorError,labelColor:Oe.colorTextHeading,labelFontSize:Oe.fontSize,labelHeight:Oe.controlHeight,labelColonMarginInlineStart:Oe.marginXXS/2,labelColonMarginInlineEnd:Oe.marginXS,itemMarginBottom:Oe.marginLG,verticalLabelPadding:`0 0 ${Oe.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),De=(Oe,Je)=>(0,Qe.mergeToken)(Oe,{formItemCls:`${Oe.componentCls}-item`,rootPrefixCls:Je});var We=(0,Te.I$)("Form",(Oe,Je)=>{let{rootPrefixCls:Me}=Je;const qe=De(Oe,Me);return[Rt(qe),Et(qe),je(qe),ct(qe,qe.componentCls),ct(qe,qe.formItemCls),dt(qe),et(qe),He(qe),(0,wt.Z)(qe),xe.kr]},vt,{order:-1e3});const Re=[];function ue(Oe,Je,Me){let qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Oe=="string"?Oe:`${Je}-${qe}`,error:Oe,errorStatus:Me}}var Le=Oe=>{let{help:Je,helpStatus:Me,errors:qe=Re,warnings:Ce=Re,className:ot,fieldId:ht,onVisibleChanged:Pt}=Oe;const{prefixCls:pt}=me.useContext(E.Rk),_e=`${pt}-item-explain`,tt=(0,Ie.Z)(pt),[mt,hn,sn]=We(pt,tt),fn=me.useMemo(()=>(0,Ae.Z)(pt),[pt]),zn=Se(qe),jn=Se(Ce),Xn=me.useMemo(()=>Je!=null?[ue(Je,"help",Me)]:[].concat((0,Ge.Z)(zn.map((Fn,Vn)=>ue(Fn,"error","error",Vn))),(0,Ge.Z)(jn.map((Fn,Vn)=>ue(Fn,"warning","warning",Vn)))),[Je,Me,zn,jn]),Rn=me.useMemo(()=>{const Fn={};return Xn.forEach(Vn=>{let{key:_n}=Vn;Fn[_n]=(Fn[_n]||0)+1}),Xn.map((Vn,_n)=>Object.assign(Object.assign({},Vn),{key:Fn[Vn.key]>1?`${Vn.key}-fallback-${_n}`:Vn.key}))},[Xn]),In={};return ht&&(In.id=`${ht}_help`),mt(me.createElement(Ee.default,{motionDeadline:fn.motionDeadline,motionName:`${pt}-show-help`,visible:!!Rn.length,onVisibleChanged:Pt},Fn=>{const{className:Vn,style:_n}=Fn;return me.createElement("div",Object.assign({},In,{className:we()(_e,Vn,sn,tt,ot,hn),style:_n}),me.createElement(Ee.CSSMotionList,Object.assign({keys:Rn},(0,Ae.Z)(pt),{motionName:`${pt}-show-help-item`,component:!1}),Yn=>{const{key:qn,error:Ln,errorStatus:nr,className:Un,style:dr}=Yn;return me.createElement("div",{key:qn,className:we()(Un,{[`${_e}-${nr}`]:nr}),style:dr},Ln)}))}))},Ue=te(69180),Tt=te(48755),ge=te(2171),fe=te(31756),bt=te(23069),Lt=te(76846),Bt=te(16722);const ve=["parentNode"],ke="form_item";function Ze(Oe){return Oe===void 0||Oe===!1?[]:Array.isArray(Oe)?Oe:[Oe]}function xt(Oe,Je){if(!Oe.length)return;const Me=Oe.join("_");return Je?`${Je}_${Me}`:ve.includes(Me)?`${ke}_${Me}`:Me}function Mt(Oe,Je,Me,qe,Ce,ot){let ht=qe;return ot!==void 0?ht=ot:Me.validating?ht="validating":Oe.length?ht="error":Je.length?ht="warning":(Me.touched||Ce&&Me.validated)&&(ht="success"),ht}var Xt=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me};function ze(Oe){return Ze(Oe).join("_")}function Vt(Oe,Je){const Me=Je.getFieldInstance(Oe),qe=(0,Lt.bn)(Me);if(qe)return qe;const Ce=xt(Ze(Oe),Je.__INTERNAL__.name);if(Ce)return document.getElementById(Ce)}function gt(Oe){const[Je]=(0,Ue.useForm)(),Me=me.useRef({}),qe=me.useMemo(()=>Oe!=null?Oe:Object.assign(Object.assign({},Je),{__INTERNAL__:{itemRef:Ce=>ot=>{const ht=ze(Ce);ot?Me.current[ht]=ot:delete Me.current[ht]}},scrollToField:function(Ce){let ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ht}=ot,Pt=Xt(ot,["focus"]),pt=Vt(Ce,qe);pt&&((0,Bt.Z)(pt,Object.assign({scrollMode:"if-needed",block:"nearest"},Pt)),ht&&qe.focusField(Ce))},focusField:Ce=>{var ot,ht;const Pt=qe.getFieldInstance(Ce);typeof(Pt==null?void 0:Pt.focus)=="function"?Pt.focus():(ht=(ot=Vt(Ce,qe))===null||ot===void 0?void 0:ot.focus)===null||ht===void 0||ht.call(ot)},getFieldInstance:Ce=>{const ot=ze(Ce);return Me.current[ot]}}),[Oe,Je]);return[qe]}var ae=te(98350),ne=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me};const ee=(Oe,Je)=>{const Me=me.useContext(ge.Z),{getPrefixCls:qe,direction:Ce,requiredMark:ot,colon:ht,scrollToFirstError:Pt,className:pt,style:_e}=(0,Tt.dj)("form"),{prefixCls:tt,className:mt,rootClassName:hn,size:sn,disabled:fn=Me,form:zn,colon:jn,labelAlign:Xn,labelWrap:Rn,labelCol:In,wrapperCol:Fn,hideRequiredMark:Vn,layout:_n="horizontal",scrollToFirstError:Yn,requiredMark:qn,onFinishFailed:Ln,name:nr,style:Un,feedbackIcons:dr,variant:pr}=Oe,sr=ne(Oe,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),ur=(0,fe.Z)(sn),yr=me.useContext(ae.Z),lr=me.useMemo(()=>qn!==void 0?qn:Vn?!1:ot!==void 0?ot:!0,[Vn,qn,ot]),fr=jn!=null?jn:ht,tr=qe("form",tt),mr=(0,Ie.Z)(tr),[br,Hr,Er]=We(tr,mr),Tr=we()(tr,`${tr}-${_n}`,{[`${tr}-hide-required-mark`]:lr===!1,[`${tr}-rtl`]:Ce==="rtl",[`${tr}-${ur}`]:ur},Er,mr,Hr,pt,mt,hn),[Ar]=gt(zn),{__INTERNAL__:Dr}=Ar;Dr.name=nr;const or=me.useMemo(()=>({name:nr,labelAlign:Xn,labelCol:In,labelWrap:Rn,wrapperCol:Fn,vertical:_n==="vertical",colon:fr,requiredMark:lr,itemRef:Dr.itemRef,form:Ar,feedbackIcons:dr}),[nr,Xn,In,Fn,_n,fr,lr,Ar,dr]),ir=me.useRef(null);me.useImperativeHandle(Je,()=>{var Dn;return Object.assign(Object.assign({},Ar),{nativeElement:(Dn=ir.current)===null||Dn===void 0?void 0:Dn.nativeElement})});const er=(Dn,On)=>{if(Dn){let pn={block:"nearest"};typeof Dn=="object"&&(pn=Object.assign(Object.assign({},pn),Dn)),Ar.scrollToField(On,pn)}},vn=Dn=>{if(Ln==null||Ln(Dn),Dn.errorFields.length){const On=Dn.errorFields[0].name;if(Yn!==void 0){er(Yn,On);return}Pt!==void 0&&er(Pt,On)}};return br(me.createElement(E.pg.Provider,{value:pr},me.createElement(ge.n,{disabled:fn},me.createElement(bt.Z.Provider,{value:ur},me.createElement(E.RV,{validateMessages:yr},me.createElement(E.q3.Provider,{value:or},me.createElement(Ue.default,Object.assign({id:nr},sr,{name:nr,onFinishFailed:vn,form:Ar,ref:ir,style:Object.assign(Object.assign({},_e),Un),className:Tr}))))))))};var se=me.forwardRef(ee),re=te(41799),he=te(8654),ye=te(22703),lt=te(32383),Be=te(11592);function Ke(Oe){if(typeof Oe=="function")return Oe;const Je=(0,Be.Z)(Oe);return Je.length<=1?Je[0]:Je}const ut=()=>{const{status:Oe,errors:Je=[],warnings:Me=[]}=me.useContext(E.aM);return{status:Oe,errors:Je,warnings:Me}};ut.Context=E.aM;var Ct=ut,At=te(16089);function nn(Oe){const[Je,Me]=me.useState(Oe),qe=me.useRef(null),Ce=me.useRef([]),ot=me.useRef(!1);me.useEffect(()=>(ot.current=!1,()=>{ot.current=!0,At.Z.cancel(qe.current),qe.current=null}),[]);function ht(Pt){ot.current||(qe.current===null&&(Ce.current=[],qe.current=(0,At.Z)(()=>{qe.current=null,Me(pt=>{let _e=pt;return Ce.current.forEach(tt=>{_e=tt(_e)}),_e})})),Ce.current.push(Pt))}return[Je,ht]}function Qt(){const{itemRef:Oe}=me.useContext(E.q3),Je=me.useRef({});function Me(qe,Ce){const ot=Ce&&typeof Ce=="object"&&(0,he.C4)(Ce),ht=qe.join("_");return(Je.current.name!==ht||Je.current.originRef!==ot)&&(Je.current.name=ht,Je.current.originRef=ot,Je.current.ref=(0,he.sQ)(Oe(qe),ot)),Je.current.ref}return Me}var Yt=te(29194),on=te(34280),Ft=te(2738),en=te(65970),Ot=te(70425),rn=te(5472);const Ut=Oe=>{const{formItemCls:Je}=Oe;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Je}-control`]:{display:"flex"}}}};var Ne=(0,Te.bk)(["Form","item-item"],(Oe,Je)=>{let{rootPrefixCls:Me}=Je;const qe=De(Oe,Me);return[Ut(qe)]}),rt=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me};const zt=24;var Pe=Oe=>{const{prefixCls:Je,status:Me,labelCol:qe,wrapperCol:Ce,children:ot,errors:ht,warnings:Pt,_internalItemRender:pt,extra:_e,help:tt,fieldId:mt,marginBottom:hn,onErrorVisibleChanged:sn,label:fn}=Oe,zn=`${Je}-item`,jn=me.useContext(E.q3),Xn=me.useMemo(()=>{let sr=Object.assign({},Ce||jn.wrapperCol||{});return fn===null&&!qe&&!Ce&&jn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(yr=>{const lr=yr?[yr]:[],fr=(0,Ot.U2)(jn.labelCol,lr),tr=typeof fr=="object"?fr:{},mr=(0,Ot.U2)(sr,lr),br=typeof mr=="object"?mr:{};"span"in tr&&!("offset"in br)&&tr.span<zt&&(sr=(0,Ot.t8)(sr,[].concat(lr,["offset"]),tr.span))}),sr},[Ce,jn]),Rn=we()(`${zn}-control`,Xn.className),In=me.useMemo(()=>{const{labelCol:sr,wrapperCol:ur}=jn;return rt(jn,["labelCol","wrapperCol"])},[jn]),Fn=me.useRef(null),[Vn,_n]=me.useState(0);(0,on.Z)(()=>{_e&&Fn.current?_n(Fn.current.clientHeight):_n(0)},[_e]);const Yn=me.createElement("div",{className:`${zn}-control-input`},me.createElement("div",{className:`${zn}-control-input-content`},ot)),qn=me.useMemo(()=>({prefixCls:Je,status:Me}),[Je,Me]),Ln=hn!==null||ht.length||Pt.length?me.createElement(E.Rk.Provider,{value:qn},me.createElement(Le,{fieldId:mt,errors:ht,warnings:Pt,help:tt,helpStatus:Me,className:`${zn}-explain-connected`,onVisibleChanged:sn})):null,nr={};mt&&(nr.id=`${mt}_extra`);const Un=_e?me.createElement("div",Object.assign({},nr,{className:`${zn}-extra`,ref:Fn}),_e):null,dr=Ln||Un?me.createElement("div",{className:`${zn}-additional`,style:hn?{minHeight:hn+Vn}:{}},Ln,Un):null,pr=pt&&pt.mark==="pro_table_render"&&pt.render?pt.render(Oe,{input:Yn,errorList:Ln,extra:Un}):me.createElement(me.Fragment,null,Yn,dr);return me.createElement(E.q3.Provider,{value:In},me.createElement(rn.Z,Object.assign({},Xn,{className:Rn}),pr),me.createElement(Ne,{prefixCls:Je}))},Ye=te(61485),ft=te(9017),kt=te(85981),Jt=te(25399),cn=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me};function An(Oe){return Oe?typeof Oe=="object"&&!me.isValidElement(Oe)?Oe:{title:Oe}:null}var dn=Oe=>{let{prefixCls:Je,label:Me,htmlFor:qe,labelCol:Ce,labelAlign:ot,colon:ht,required:Pt,requiredMark:pt,tooltip:_e,vertical:tt}=Oe;var mt;const[hn]=(0,ft.Z)("Form"),{labelAlign:sn,labelCol:fn,labelWrap:zn,colon:jn}=me.useContext(E.q3);if(!Me)return null;const Xn=Ce||fn||{},Rn=ot||sn,In=`${Je}-item-label`,Fn=we()(In,Rn==="left"&&`${In}-left`,Xn.className,{[`${In}-wrap`]:!!zn});let Vn=Me;const _n=ht===!0||jn!==!1&&ht!==!1;_n&&!tt&&typeof Me=="string"&&Me.trim()&&(Vn=Me.replace(/[:|]\s*$/,""));const qn=An(_e);if(qn){const{icon:sr=me.createElement(Ye.Z,null)}=qn,ur=cn(qn,["icon"]),yr=me.createElement(Jt.Z,Object.assign({},ur),me.cloneElement(sr,{className:`${Je}-item-tooltip`,title:"",onClick:lr=>{lr.preventDefault()},tabIndex:null}));Vn=me.createElement(me.Fragment,null,Vn,yr)}const Ln=pt==="optional",nr=typeof pt=="function",Un=pt===!1;nr?Vn=pt(Vn,{required:!!Pt}):Ln&&!Pt&&(Vn=me.createElement(me.Fragment,null,Vn,me.createElement("span",{className:`${Je}-item-optional`,title:""},(hn==null?void 0:hn.optional)||((mt=kt.Z.Form)===null||mt===void 0?void 0:mt.optional))));let dr;Un?dr="hidden":(Ln||nr)&&(dr="optional");const pr=we()({[`${Je}-item-required`]:Pt,[`${Je}-item-required-mark-${dr}`]:dr,[`${Je}-item-no-colon`]:!_n});return me.createElement(rn.Z,Object.assign({},Xn,{className:Fn}),me.createElement("label",{htmlFor:qe,className:pr,title:typeof Me=="string"?Me:""},Vn))},Sn=te(29679),bn=te(19248),tn=te(96512),Wt=te(58617);const jt={success:Sn.Z,warning:tn.Z,error:bn.Z,validating:Wt.Z};function It(Oe){let{children:Je,errors:Me,warnings:qe,hasFeedback:Ce,validateStatus:ot,prefixCls:ht,meta:Pt,noStyle:pt}=Oe;const _e=`${ht}-item`,{feedbackIcons:tt}=me.useContext(E.q3),mt=Mt(Me,qe,Pt,null,!!Ce,ot),{isFormItemInput:hn,status:sn,hasFeedback:fn,feedbackIcon:zn}=me.useContext(E.aM),jn=me.useMemo(()=>{var Xn;let Rn;if(Ce){const Fn=Ce!==!0&&Ce.icons||tt,Vn=mt&&((Xn=Fn==null?void 0:Fn({status:mt,errors:Me,warnings:qe}))===null||Xn===void 0?void 0:Xn[mt]),_n=mt&&jt[mt];Rn=Vn!==!1&&_n?me.createElement("span",{className:we()(`${_e}-feedback-icon`,`${_e}-feedback-icon-${mt}`)},Vn||me.createElement(_n,null)):null}const In={status:mt||"",errors:Me,warnings:qe,hasFeedback:!!Ce,feedbackIcon:Rn,isFormItemInput:!0};return pt&&(In.status=(mt!=null?mt:sn)||"",In.isFormItemInput=hn,In.hasFeedback=!!(Ce!=null?Ce:fn),In.feedbackIcon=Ce!==void 0?In.feedbackIcon:zn),In},[mt,Ce,pt,hn,sn]);return me.createElement(E.aM.Provider,{value:jn},Je)}var un=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me};function ln(Oe){const{prefixCls:Je,className:Me,rootClassName:qe,style:Ce,help:ot,errors:ht,warnings:Pt,validateStatus:pt,meta:_e,hasFeedback:tt,hidden:mt,children:hn,fieldId:sn,required:fn,isRequired:zn,onSubItemMetaChange:jn,layout:Xn}=Oe,Rn=un(Oe,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),In=`${Je}-item`,{requiredMark:Fn,vertical:Vn}=me.useContext(E.q3),_n=Vn||Xn==="vertical",Yn=me.useRef(null),qn=Se(ht),Ln=Se(Pt),nr=ot!=null,Un=!!(nr||ht.length||Pt.length),dr=!!Yn.current&&(0,Yt.Z)(Yn.current),[pr,sr]=me.useState(null);(0,on.Z)(()=>{if(Un&&Yn.current){const tr=getComputedStyle(Yn.current);sr(parseInt(tr.marginBottom,10))}},[Un,dr]);const ur=tr=>{tr||sr(null)},lr=function(){let tr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const mr=tr?qn:_e.errors,br=tr?Ln:_e.warnings;return Mt(mr,br,_e,"",!!tt,pt)}(),fr=we()(In,Me,qe,{[`${In}-with-help`]:nr||qn.length||Ln.length,[`${In}-has-feedback`]:lr&&tt,[`${In}-has-success`]:lr==="success",[`${In}-has-warning`]:lr==="warning",[`${In}-has-error`]:lr==="error",[`${In}-is-validating`]:lr==="validating",[`${In}-hidden`]:mt,[`${In}-${Xn}`]:Xn});return me.createElement("div",{className:fr,style:Ce,ref:Yn},me.createElement(en.Z,Object.assign({className:`${In}-row`},(0,Ft.Z)(Rn,["_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"])),me.createElement(dn,Object.assign({htmlFor:sn},Oe,{requiredMark:Fn,required:fn!=null?fn:zn,prefixCls:Je,vertical:_n})),me.createElement(Pe,Object.assign({},Oe,_e,{errors:qn,warnings:Ln,prefixCls:Je,status:lr,help:ot,marginBottom:pr,onErrorVisibleChanged:ur}),me.createElement(E.qI.Provider,{value:jn},me.createElement(It,{prefixCls:Je,meta:_e,errors:_e.errors,warnings:_e.warnings,hasFeedback:tt,validateStatus:lr},hn)))),!!pr&&me.createElement("div",{className:`${In}-margin-offset`,style:{marginBottom:-pr}}))}const $t="__SPLIT__",gn=null;function Cn(Oe,Je){const Me=Object.keys(Oe),qe=Object.keys(Je);return Me.length===qe.length&&Me.every(Ce=>{const ot=Oe[Ce],ht=Je[Ce];return ot===ht||typeof ot=="function"||typeof ht=="function"})}const yn=me.memo(Oe=>{let{children:Je}=Oe;return Je},(Oe,Je)=>Cn(Oe.control,Je.control)&&Oe.update===Je.update&&Oe.childProps.length===Je.childProps.length&&Oe.childProps.every((Me,qe)=>Me===Je.childProps[qe]));function kn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Mn(Oe){const{name:Je,noStyle:Me,className:qe,dependencies:Ce,prefixCls:ot,shouldUpdate:ht,rules:Pt,children:pt,required:_e,label:tt,messageVariables:mt,trigger:hn="onChange",validateTrigger:sn,hidden:fn,help:zn,layout:jn}=Oe,{getPrefixCls:Xn}=me.useContext(Tt.E_),{name:Rn}=me.useContext(E.q3),In=Ke(pt),Fn=typeof In=="function",Vn=me.useContext(E.qI),{validateTrigger:_n}=me.useContext(Ue.FieldContext),Yn=sn!==void 0?sn:_n,qn=Je!=null,Ln=Xn("form",ot),nr=(0,Ie.Z)(Ln),[Un,dr,pr]=We(Ln,nr),sr=(0,lt.ln)("Form.Item"),ur=me.useContext(Ue.ListContext),yr=me.useRef(null),[lr,fr]=nn({}),[tr,mr]=(0,re.Z)(()=>kn()),br=ir=>{const er=ur==null?void 0:ur.getKey(ir.name);if(mr(ir.destroy?kn():ir,!0),Me&&zn!==!1&&Vn){let vn=ir.name;if(ir.destroy)vn=yr.current||vn;else if(er!==void 0){const[Dn,On]=er;vn=[Dn].concat((0,Ge.Z)(On)),yr.current=vn}Vn(ir,vn)}},Hr=(ir,er)=>{fr(vn=>{const Dn=Object.assign({},vn),pn=[].concat((0,Ge.Z)(ir.name.slice(0,-1)),(0,Ge.Z)(er)).join($t);return ir.destroy?delete Dn[pn]:Dn[pn]=ir,Dn})},[Er,Tr]=me.useMemo(()=>{const ir=(0,Ge.Z)(tr.errors),er=(0,Ge.Z)(tr.warnings);return Object.values(lr).forEach(vn=>{ir.push.apply(ir,(0,Ge.Z)(vn.errors||[])),er.push.apply(er,(0,Ge.Z)(vn.warnings||[]))}),[ir,er]},[lr,tr.errors,tr.warnings]),Ar=Qt();function Dr(ir,er,vn){return Me&&!fn?me.createElement(It,{prefixCls:Ln,hasFeedback:Oe.hasFeedback,validateStatus:Oe.validateStatus,meta:tr,errors:Er,warnings:Tr,noStyle:!0},ir):me.createElement(ln,Object.assign({key:"row"},Oe,{className:we()(qe,pr,nr,dr),prefixCls:Ln,fieldId:er,isRequired:vn,errors:Er,warnings:Tr,meta:tr,onSubItemMetaChange:Hr,layout:jn}),ir)}if(!qn&&!Fn&&!Ce)return Un(Dr(In));let or={};return typeof tt=="string"?or.label=tt:Je&&(or.label=String(Je)),mt&&(or=Object.assign(Object.assign({},or),mt)),Un(me.createElement(Ue.Field,Object.assign({},Oe,{messageVariables:or,trigger:hn,validateTrigger:Yn,onMetaChange:br}),(ir,er,vn)=>{const Dn=Ze(Je).length&&er?er.name:[],On=xt(Dn,Rn),pn=_e!==void 0?_e:!!(Pt!=null&&Pt.some(wn=>{if(wn&&typeof wn=="object"&&wn.required&&!wn.warningOnly)return!0;if(typeof wn=="function"){const mn=wn(vn);return(mn==null?void 0:mn.required)&&!(mn!=null&&mn.warningOnly)}return!1})),Wn=Object.assign({},ir);let Kn=null;if(Array.isArray(In)&&qn)Kn=In;else if(!(Fn&&(!(ht||Ce)||qn))){if(!(Ce&&!Fn&&!qn))if(me.isValidElement(In)){const wn=Object.assign(Object.assign({},In.props),Wn);if(wn.id||(wn.id=On),zn||Er.length>0||Tr.length>0||Oe.extra){const Hn=[];(zn||Er.length>0)&&Hn.push(`${On}_help`),Oe.extra&&Hn.push(`${On}_extra`),wn["aria-describedby"]=Hn.join(" ")}Er.length>0&&(wn["aria-invalid"]="true"),pn&&(wn["aria-required"]="true"),(0,he.Yr)(In)&&(wn.ref=Ar(Dn,In)),new Set([].concat((0,Ge.Z)(Ze(hn)),(0,Ge.Z)(Ze(Yn)))).forEach(Hn=>{wn[Hn]=function(){for(var cr,Mr,Pr,Fr,Nr,Rr=arguments.length,Xr=new Array(Rr),jr=0;jr<Rr;jr++)Xr[jr]=arguments[jr];(Pr=Wn[Hn])===null||Pr===void 0||(cr=Pr).call.apply(cr,[Wn].concat(Xr)),(Nr=(Fr=In.props)[Hn])===null||Nr===void 0||(Mr=Nr).call.apply(Mr,[Fr].concat(Xr))}});const Tn=[wn["aria-required"],wn["aria-invalid"],wn["aria-describedby"]];Kn=me.createElement(yn,{control:Wn,update:In,childProps:Tn},(0,ye.Tm)(In,wn))}else Fn&&(ht||Ce)&&!qn?Kn=In(vn):Kn=In}return Dr(Kn,On,pn)}))}const $n=Mn;$n.useStatus=Ct;var Gn=$n,Zt=function(Oe,Je){var Me={};for(var qe in Oe)Object.prototype.hasOwnProperty.call(Oe,qe)&&Je.indexOf(qe)<0&&(Me[qe]=Oe[qe]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,qe=Object.getOwnPropertySymbols(Oe);Ce<qe.length;Ce++)Je.indexOf(qe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Oe,qe[Ce])&&(Me[qe[Ce]]=Oe[qe[Ce]]);return Me},Bn=Oe=>{var{prefixCls:Je,children:Me}=Oe,qe=Zt(Oe,["prefixCls","children"]);const{getPrefixCls:Ce}=me.useContext(Tt.E_),ot=Ce("form",Je),ht=me.useMemo(()=>({prefixCls:ot,status:"error"}),[ot]);return me.createElement(Ue.List,Object.assign({},qe),(Pt,pt,_e)=>me.createElement(E.Rk.Provider,{value:ht},Me(Pt.map(tt=>Object.assign(Object.assign({},tt),{fieldKey:tt.key})),pt,{errors:_e.errors,warnings:_e.warnings})))};function Pn(){const{form:Oe}=me.useContext(E.q3);return Oe}const Ve=se;Ve.Item=Gn,Ve.List=Bn,Ve.ErrorList=Le,Ve.useForm=gt,Ve.useFormInstance=Pn,Ve.useWatch=Ue.useWatch,Ve.Provider=E.RV,Ve.create=()=>{};var at=Ve},4875:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Gt}});var E=te(59301),Ge=te(84105),me=te(87395),Fe=te(92310),we=te.n(Fe),Ee=te(60499),Ae=te(18642),Ie=te(43749),Se=te(72190),de=te(42244),Xe=te(38705),xe=te(17212);function wt(){return typeof BigInt=="function"}function Qe(Pe){return!Pe&&Pe!==0&&!Number.isNaN(Pe)||!String(Pe).trim()}function Te(Pe){var Ye=Pe.trim(),ft=Ye.startsWith("-");ft&&(Ye=Ye.slice(1)),Ye=Ye.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Ye.startsWith(".")&&(Ye="0".concat(Ye));var kt=Ye||"0",Jt=kt.split("."),cn=Jt[0]||"0",An=Jt[1]||"0";cn==="0"&&An==="0"&&(ft=!1);var xn=ft?"-":"";return{negative:ft,negativeStr:xn,trimStr:kt,integerStr:cn,decimalStr:An,fullStr:"".concat(xn).concat(kt)}}function $e(Pe){var Ye=String(Pe);return!Number.isNaN(Number(Ye))&&Ye.includes("e")}function je(Pe){var Ye=String(Pe);if($e(Pe)){var ft=Number(Ye.slice(Ye.indexOf("e-")+2)),kt=Ye.match(/\.(\d+)/);return kt!=null&&kt[1]&&(ft+=kt[1].length),ft}return Ye.includes(".")&&Nt(Ye)?Ye.length-Ye.indexOf(".")-1:0}function St(Pe){var Ye=String(Pe);if($e(Pe)){if(Pe>Number.MAX_SAFE_INTEGER)return String(wt()?BigInt(Pe).toString():Number.MAX_SAFE_INTEGER);if(Pe<Number.MIN_SAFE_INTEGER)return String(wt()?BigInt(Pe).toString():Number.MIN_SAFE_INTEGER);Ye=Pe.toFixed(je(Ye))}return Te(Ye).fullStr}function Nt(Pe){return typeof Pe=="number"?!Number.isNaN(Pe):Pe?/^\s*-?\d+(\.\d+)?\s*$/.test(Pe)||/^\s*-?\d+\.\s*$/.test(Pe)||/^\s*-?\.\d+\s*$/.test(Pe):!1}var Rt=function(){function Pe(Ye){if((0,Xe.Z)(this,Pe),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"negative",void 0),(0,Ae.Z)(this,"integer",void 0),(0,Ae.Z)(this,"decimal",void 0),(0,Ae.Z)(this,"decimalLen",void 0),(0,Ae.Z)(this,"empty",void 0),(0,Ae.Z)(this,"nan",void 0),Qe(Ye)){this.empty=!0;return}if(this.origin=String(Ye),Ye==="-"||Number.isNaN(Ye)){this.nan=!0;return}var ft=Ye;if($e(ft)&&(ft=Number(ft)),ft=typeof ft=="string"?ft:St(ft),Nt(ft)){var kt=Te(ft);this.negative=kt.negative;var Jt=kt.trimStr.split(".");this.integer=BigInt(Jt[0]);var cn=Jt[1]||"0";this.decimal=BigInt(cn),this.decimalLen=cn.length}else this.nan=!0}return(0,xe.Z)(Pe,[{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(ft){var kt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(ft,"0"));return BigInt(kt)}},{key:"negate",value:function(){var ft=new Pe(this.toString());return ft.negative=!ft.negative,ft}},{key:"cal",value:function(ft,kt,Jt){var cn=Math.max(this.getDecimalStr().length,ft.getDecimalStr().length),An=this.alignDecimal(cn),xn=ft.alignDecimal(cn),dn=kt(An,xn).toString(),Sn=Jt(cn),bn=Te(dn),tn=bn.negativeStr,Wt=bn.trimStr,jt="".concat(tn).concat(Wt.padStart(Sn+1,"0"));return new Pe("".concat(jt.slice(0,-Sn),".").concat(jt.slice(-Sn)))}},{key:"add",value:function(ft){if(this.isInvalidate())return new Pe(ft);var kt=new Pe(ft);return kt.isInvalidate()?this:this.cal(kt,function(Jt,cn){return Jt+cn},function(Jt){return Jt})}},{key:"multi",value:function(ft){var kt=new Pe(ft);return this.isInvalidate()||kt.isInvalidate()?new Pe(NaN):this.cal(kt,function(Jt,cn){return Jt*cn},function(Jt){return Jt*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(ft){return this.toString()===(ft==null?void 0:ft.toString())}},{key:"lessEquals",value:function(ft){return this.add(ft.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return ft?this.isInvalidate()?"":Te("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Pe}(),Et=function(){function Pe(Ye){if((0,Xe.Z)(this,Pe),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"number",void 0),(0,Ae.Z)(this,"empty",void 0),Qe(Ye)){this.empty=!0;return}this.origin=String(Ye),this.number=Number(Ye)}return(0,xe.Z)(Pe,[{key:"negate",value:function(){return new Pe(-this.toNumber())}},{key:"add",value:function(ft){if(this.isInvalidate())return new Pe(ft);var kt=Number(ft);if(Number.isNaN(kt))return this;var Jt=this.number+kt;if(Jt>Number.MAX_SAFE_INTEGER)return new Pe(Number.MAX_SAFE_INTEGER);if(Jt<Number.MIN_SAFE_INTEGER)return new Pe(Number.MIN_SAFE_INTEGER);var cn=Math.max(je(this.number),je(kt));return new Pe(Jt.toFixed(cn))}},{key:"multi",value:function(ft){var kt=Number(ft);if(this.isInvalidate()||Number.isNaN(kt))return new Pe(NaN);var Jt=this.number*kt;if(Jt>Number.MAX_SAFE_INTEGER)return new Pe(Number.MAX_SAFE_INTEGER);if(Jt<Number.MIN_SAFE_INTEGER)return new Pe(Number.MIN_SAFE_INTEGER);var cn=Math.max(je(this.number),je(kt));return new Pe(Jt.toFixed(cn))}},{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(ft){return this.toNumber()===(ft==null?void 0:ft.toNumber())}},{key:"lessEquals",value:function(ft){return this.add(ft.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return ft?this.isInvalidate()?"":St(this.number):this.origin}}]),Pe}();function ct(Pe){return wt()?new Rt(Pe):new Et(Pe)}function dt(Pe,Ye,ft){var kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Pe==="")return"";var Jt=Te(Pe),cn=Jt.negativeStr,An=Jt.integerStr,xn=Jt.decimalStr,dn="".concat(Ye).concat(xn),Sn="".concat(cn).concat(An);if(ft>=0){var bn=Number(xn[ft]);if(bn>=5&&!kt){var tn=ct(Pe).add("".concat(cn,"0.").concat("0".repeat(ft)).concat(10-bn));return dt(tn.toString(),Ye,ft,kt)}return ft===0?Sn:"".concat(Sn).concat(Ye).concat(xn.padEnd(ft,"0").slice(0,ft))}return dn===".0"?Sn:"".concat(Sn).concat(dn)}var nt=ct,Dt=te(36901),et=te(34280);function He(Pe,Ye){return typeof Proxy!="undefined"&&Pe?new Proxy(Pe,{get:function(kt,Jt){if(Ye[Jt])return Ye[Jt];var cn=kt[Jt];return typeof cn=="function"?cn.bind(kt):cn}}):Pe}var vt=te(8654),De=te(48736);function We(Pe,Ye){var ft=(0,E.useRef)(null);function kt(){try{var cn=Pe.selectionStart,An=Pe.selectionEnd,xn=Pe.value,dn=xn.substring(0,cn),Sn=xn.substring(An);ft.current={start:cn,end:An,value:xn,beforeTxt:dn,afterTxt:Sn}}catch(bn){}}function Jt(){if(Pe&&ft.current&&Ye)try{var cn=Pe.value,An=ft.current,xn=An.beforeTxt,dn=An.afterTxt,Sn=An.start,bn=cn.length;if(cn.startsWith(xn))bn=xn.length;else if(cn.endsWith(dn))bn=cn.length-ft.current.afterTxt.length;else{var tn=xn[Sn-1],Wt=cn.indexOf(tn,Sn-1);Wt!==-1&&(bn=Wt+1)}Pe.setSelectionRange(bn,bn)}catch(jt){(0,De.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(jt.message))}}return[kt,Jt]}var Re=te(49658),ue=function(){var Ye=(0,E.useState)(!1),ft=(0,Se.Z)(Ye,2),kt=ft[0],Jt=ft[1];return(0,et.Z)(function(){Jt((0,Re.Z)())},[]),kt},st=ue,Le=te(16089),Ue=200,Tt=600;function ge(Pe){var Ye=Pe.prefixCls,ft=Pe.upNode,kt=Pe.downNode,Jt=Pe.upDisabled,cn=Pe.downDisabled,An=Pe.onStep,xn=E.useRef(),dn=E.useRef([]),Sn=E.useRef();Sn.current=An;var bn=function(){clearTimeout(xn.current)},tn=function(Cn,yn){Cn.preventDefault(),bn(),Sn.current(yn);function kn(){Sn.current(yn),xn.current=setTimeout(kn,Ue)}xn.current=setTimeout(kn,Tt)};E.useEffect(function(){return function(){bn(),dn.current.forEach(function(gn){return Le.Z.cancel(gn)})}},[]);var Wt=st();if(Wt)return null;var jt="".concat(Ye,"-handler"),It=we()(jt,"".concat(jt,"-up"),(0,Ae.Z)({},"".concat(jt,"-up-disabled"),Jt)),un=we()(jt,"".concat(jt,"-down"),(0,Ae.Z)({},"".concat(jt,"-down-disabled"),cn)),ln=function(){return dn.current.push((0,Le.Z)(bn))},$t={unselectable:"on",role:"button",onMouseUp:ln,onMouseLeave:ln};return E.createElement("div",{className:"".concat(jt,"-wrap")},E.createElement("span",(0,Ee.Z)({},$t,{onMouseDown:function(Cn){tn(Cn,!0)},"aria-label":"Increase Value","aria-disabled":Jt,className:It}),ft||E.createElement("span",{unselectable:"on",className:"".concat(Ye,"-handler-up-inner")})),E.createElement("span",(0,Ee.Z)({},$t,{onMouseDown:function(Cn){tn(Cn,!1)},"aria-label":"Decrease Value","aria-disabled":cn,className:un}),kt||E.createElement("span",{unselectable:"on",className:"".concat(Ye,"-handler-down-inner")})))}function fe(Pe){var Ye=typeof Pe=="number"?St(Pe):Te(Pe).fullStr,ft=Ye.includes(".");return ft?Te(Ye.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Pe+"0"}var bt=te(30292),Lt=function(){var Pe=(0,E.useRef)(0),Ye=function(){Le.Z.cancel(Pe.current)};return(0,E.useEffect)(function(){return Ye},[]),function(ft){Ye(),Pe.current=(0,Le.Z)(function(){ft()})}},Bt=["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"],ve=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],ke=function(Ye,ft){return Ye||ft.isEmpty()?ft.toString():ft.toNumber()},Ze=function(Ye){var ft=nt(Ye);return ft.isInvalidate()?null:ft},xt=E.forwardRef(function(Pe,Ye){var ft=Pe.prefixCls,kt=Pe.className,Jt=Pe.style,cn=Pe.min,An=Pe.max,xn=Pe.step,dn=xn===void 0?1:xn,Sn=Pe.defaultValue,bn=Pe.value,tn=Pe.disabled,Wt=Pe.readOnly,jt=Pe.upHandler,It=Pe.downHandler,un=Pe.keyboard,ln=Pe.changeOnWheel,$t=ln===void 0?!1:ln,gn=Pe.controls,Cn=gn===void 0?!0:gn,yn=Pe.classNames,kn=Pe.stringMode,Mn=Pe.parser,$n=Pe.formatter,Gn=Pe.precision,Zt=Pe.decimalSeparator,an=Pe.onChange,Bn=Pe.onInput,Pn=Pe.onPressEnter,Ve=Pe.onStep,at=Pe.changeOnBlur,Oe=at===void 0?!0:at,Je=Pe.domRef,Me=(0,de.Z)(Pe,Bt),qe="".concat(ft,"-input"),Ce=E.useRef(null),ot=E.useState(!1),ht=(0,Se.Z)(ot,2),Pt=ht[0],pt=ht[1],_e=E.useRef(!1),tt=E.useRef(!1),mt=E.useRef(!1),hn=E.useState(function(){return nt(bn!=null?bn:Sn)}),sn=(0,Se.Z)(hn,2),fn=sn[0],zn=sn[1];function jn(On){bn===void 0&&zn(On)}var Xn=E.useCallback(function(On,pn){if(!pn)return Gn>=0?Gn:Math.max(je(On),je(dn))},[Gn,dn]),Rn=E.useCallback(function(On){var pn=String(On);if(Mn)return Mn(pn);var Wn=pn;return Zt&&(Wn=Wn.replace(Zt,".")),Wn.replace(/[^\w.-]+/g,"")},[Mn,Zt]),In=E.useRef(""),Fn=E.useCallback(function(On,pn){if($n)return $n(On,{userTyping:pn,input:String(In.current)});var Wn=typeof On=="number"?St(On):On;if(!pn){var Kn=Xn(Wn,pn);if(Nt(Wn)&&(Zt||Kn>=0)){var wn=Zt||".";Wn=dt(Wn,wn,Kn)}}return Wn},[$n,Xn,Zt]),Vn=E.useState(function(){var On=Sn!=null?Sn:bn;return fn.isInvalidate()&&["string","number"].includes((0,Ie.Z)(On))?Number.isNaN(On)?"":On:Fn(fn.toString(),!1)}),_n=(0,Se.Z)(Vn,2),Yn=_n[0],qn=_n[1];In.current=Yn;function Ln(On,pn){qn(Fn(On.isInvalidate()?On.toString(!1):On.toString(!pn),pn))}var nr=E.useMemo(function(){return Ze(An)},[An,Gn]),Un=E.useMemo(function(){return Ze(cn)},[cn,Gn]),dr=E.useMemo(function(){return!nr||!fn||fn.isInvalidate()?!1:nr.lessEquals(fn)},[nr,fn]),pr=E.useMemo(function(){return!Un||!fn||fn.isInvalidate()?!1:fn.lessEquals(Un)},[Un,fn]),sr=We(Ce.current,Pt),ur=(0,Se.Z)(sr,2),yr=ur[0],lr=ur[1],fr=function(pn){return nr&&!pn.lessEquals(nr)?nr:Un&&!Un.lessEquals(pn)?Un:null},tr=function(pn){return!fr(pn)},mr=function(pn,Wn){var Kn=pn,wn=tr(Kn)||Kn.isEmpty();if(!Kn.isEmpty()&&!Wn&&(Kn=fr(Kn)||Kn,wn=!0),!Wt&&!tn&&wn){var mn=Kn.toString(),Tn=Xn(mn,Wn);return Tn>=0&&(Kn=nt(dt(mn,".",Tn)),tr(Kn)||(Kn=nt(dt(mn,".",Tn,!0)))),Kn.equals(fn)||(jn(Kn),an==null||an(Kn.isEmpty()?null:ke(kn,Kn)),bn===void 0&&Ln(Kn,Wn)),Kn}return fn},br=Lt(),Hr=function On(pn){if(yr(),In.current=pn,qn(pn),!tt.current){var Wn=Rn(pn),Kn=nt(Wn);Kn.isNaN()||mr(Kn,!0)}Bn==null||Bn(pn),br(function(){var wn=pn;Mn||(wn=pn.replace(/。/g,".")),wn!==pn&&On(wn)})},Er=function(){tt.current=!0},Tr=function(){tt.current=!1,Hr(Ce.current.value)},Ar=function(pn){Hr(pn.target.value)},Dr=function(pn){var Wn;if(!(pn&&dr||!pn&&pr)){_e.current=!1;var Kn=nt(mt.current?fe(dn):dn);pn||(Kn=Kn.negate());var wn=(fn||nt(0)).add(Kn.toString()),mn=mr(wn,!1);Ve==null||Ve(ke(kn,mn),{offset:mt.current?fe(dn):dn,type:pn?"up":"down"}),(Wn=Ce.current)===null||Wn===void 0||Wn.focus()}},or=function(pn){var Wn=nt(Rn(Yn)),Kn;Wn.isNaN()?Kn=mr(fn,pn):Kn=mr(Wn,pn),bn!==void 0?Ln(fn,!1):Kn.isNaN()||Ln(Kn,!1)},ir=function(){_e.current=!0},er=function(pn){var Wn=pn.key,Kn=pn.shiftKey;_e.current=!0,mt.current=Kn,Wn==="Enter"&&(tt.current||(_e.current=!1),or(!1),Pn==null||Pn(pn)),un!==!1&&!tt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Wn)&&(Dr(Wn==="Up"||Wn==="ArrowUp"),pn.preventDefault())},vn=function(){_e.current=!1,mt.current=!1};E.useEffect(function(){if($t&&Pt){var On=function(Kn){Dr(Kn.deltaY<0),Kn.preventDefault()},pn=Ce.current;if(pn)return pn.addEventListener("wheel",On,{passive:!1}),function(){return pn.removeEventListener("wheel",On)}}});var Dn=function(){Oe&&or(!1),pt(!1),_e.current=!1};return(0,et.o)(function(){fn.isInvalidate()||Ln(fn,!1)},[Gn,$n]),(0,et.o)(function(){var On=nt(bn);zn(On);var pn=nt(Rn(Yn));(!On.equals(pn)||!_e.current||$n)&&Ln(On,_e.current)},[bn]),(0,et.o)(function(){$n&&lr()},[Yn]),E.createElement("div",{ref:Je,className:we()(ft,kt,(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(ft,"-focused"),Pt),"".concat(ft,"-disabled"),tn),"".concat(ft,"-readonly"),Wt),"".concat(ft,"-not-a-number"),fn.isNaN()),"".concat(ft,"-out-of-range"),!fn.isInvalidate()&&!tr(fn))),style:Jt,onFocus:function(){pt(!0)},onBlur:Dn,onKeyDown:er,onKeyUp:vn,onCompositionStart:Er,onCompositionEnd:Tr,onBeforeInput:ir},Cn&&E.createElement(ge,{prefixCls:ft,upNode:jt,downNode:It,upDisabled:dr,downDisabled:pr,onStep:Dr}),E.createElement("div",{className:"".concat(qe,"-wrap")},E.createElement("input",(0,Ee.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":cn,"aria-valuemax":An,"aria-valuenow":fn.isInvalidate()?null:fn.toString(),step:dn},Me,{ref:(0,vt.sQ)(Ce,Ye),className:qe,value:Yn,onChange:Ar,disabled:tn,readOnly:Wt}))))}),Mt=E.forwardRef(function(Pe,Ye){var ft=Pe.disabled,kt=Pe.style,Jt=Pe.prefixCls,cn=Jt===void 0?"rc-input-number":Jt,An=Pe.value,xn=Pe.prefix,dn=Pe.suffix,Sn=Pe.addonBefore,bn=Pe.addonAfter,tn=Pe.className,Wt=Pe.classNames,jt=(0,de.Z)(Pe,ve),It=E.useRef(null),un=E.useRef(null),ln=E.useRef(null),$t=function(Cn){ln.current&&(0,bt.nH)(ln.current,Cn)};return E.useImperativeHandle(Ye,function(){return He(ln.current,{focus:$t,nativeElement:It.current.nativeElement||un.current})}),E.createElement(Dt.BaseInput,{className:tn,triggerFocus:$t,prefixCls:cn,value:An,disabled:ft,style:kt,prefix:xn,suffix:dn,addonAfter:bn,addonBefore:Sn,classNames:Wt,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:It},E.createElement(xt,(0,Ee.Z)({prefixCls:cn,disabled:ft,ref:ln,domRef:un,className:Wt==null?void 0:Wt.input},jt)))}),Xt=Mt,ze=Xt,Vt=te(62487),gt=te(82855),ae=te(48755),ne=te(60840),ee=te(2171),oe=te(83397),se=te(31756),re=te(56553),he=te(24971),ye=te(70045),lt=te(36237),Be=te(53075),Ke=te(64910),ut=te(39082),Ct=te(63356),At=te(56119),nn=te(16931),Qt=te(51636),Yt=te(17835);const on=Pe=>{var Ye;const ft=(Ye=Pe.handleVisible)!==null&&Ye!==void 0?Ye:"auto",kt=Pe.controlHeightSM-Pe.lineWidth*2;return Object.assign(Object.assign({},(0,Ke.T)(Pe)),{controlWidth:90,handleWidth:kt,handleFontSize:Pe.fontSize/2,handleVisible:ft,handleActiveBg:Pe.colorFillAlter,handleBg:Pe.colorBgContainer,filledHandleBg:new Yt.FastColor(Pe.colorFillSecondary).onBackground(Pe.colorBgContainer).toHexString(),handleHoverColor:Pe.colorPrimary,handleBorderColor:Pe.colorBorder,handleOpacity:ft===!0?1:0,handleVisibleWidth:ft===!0?kt:0})},Ft=(Pe,Ye)=>{let{componentCls:ft,borderRadiusSM:kt,borderRadiusLG:Jt}=Pe;const cn=Ye==="lg"?Jt:kt;return{[`&-${Ye}`]:{[`${ft}-handler-wrap`]:{borderStartEndRadius:cn,borderEndEndRadius:cn},[`${ft}-handler-up`]:{borderStartEndRadius:cn},[`${ft}-handler-down`]:{borderEndEndRadius:cn}}}},en=Pe=>{const{componentCls:Ye,lineWidth:ft,lineType:kt,borderRadius:Jt,inputFontSizeSM:cn,inputFontSizeLG:An,controlHeightLG:xn,controlHeightSM:dn,colorError:Sn,paddingInlineSM:bn,paddingBlockSM:tn,paddingBlockLG:Wt,paddingInlineLG:jt,colorTextDescription:It,motionDurationMid:un,handleHoverColor:ln,handleOpacity:$t,paddingInline:gn,paddingBlock:Cn,handleBg:yn,handleActiveBg:kn,colorTextDisabled:Mn,borderRadiusSM:$n,borderRadiusLG:Gn,controlWidth:Zt,handleBorderColor:an,filledHandleBg:Bn,lineHeightLG:Pn,calc:Ve}=Pe;return[{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ct.Wf)(Pe)),(0,Be.ik)(Pe)),{display:"inline-block",width:Zt,margin:0,padding:0,borderRadius:Jt}),(0,ut.qG)(Pe,{[`${Ye}-handler-wrap`]:{background:yn,[`${Ye}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(ft)} ${kt} ${an}`}}})),(0,ut.H8)(Pe,{[`${Ye}-handler-wrap`]:{background:Bn,[`${Ye}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(ft)} ${kt} ${an}`}},"&:focus-within":{[`${Ye}-handler-wrap`]:{background:yn}}})),(0,ut.vc)(Pe,{[`${Ye}-handler-wrap`]:{background:yn,[`${Ye}-handler-down`]:{borderBlockStart:`${(0,lt.unit)(ft)} ${kt} ${an}`}}})),(0,ut.Mu)(Pe)),{"&-rtl":{direction:"rtl",[`${Ye}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:An,lineHeight:Pn,borderRadius:Gn,[`input${Ye}-input`]:{height:Ve(xn).sub(Ve(ft).mul(2)).equal(),padding:`${(0,lt.unit)(Wt)} ${(0,lt.unit)(jt)}`}},"&-sm":{padding:0,fontSize:cn,borderRadius:$n,[`input${Ye}-input`]:{height:Ve(dn).sub(Ve(ft).mul(2)).equal(),padding:`${(0,lt.unit)(tn)} ${(0,lt.unit)(bn)}`}},"&-out-of-range":{[`${Ye}-input-wrap`]:{input:{color:Sn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Ct.Wf)(Pe)),(0,Be.s7)(Pe)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Ye}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Ye}-group-addon`]:{borderRadius:Gn,fontSize:Pe.fontSizeLG}},"&-sm":{[`${Ye}-group-addon`]:{borderRadius:$n}}},(0,ut.ir)(Pe)),(0,ut.S5)(Pe)),{[`&:not(${Ye}-compact-first-item):not(${Ye}-compact-last-item)${Ye}-compact-item`]:{[`${Ye}, ${Ye}-group-addon`]:{borderRadius:0}},[`&:not(${Ye}-compact-last-item)${Ye}-compact-first-item`]:{[`${Ye}, ${Ye}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ye}-compact-first-item)${Ye}-compact-last-item`]:{[`${Ye}, ${Ye}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Ye}-input`]:{cursor:"not-allowed"},[Ye]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ct.Wf)(Pe)),{width:"100%",padding:`${(0,lt.unit)(Cn)} ${(0,lt.unit)(gn)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Jt,outline:0,transition:`all ${un} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Be.nz)(Pe.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Ye}-handler-wrap, &-focused ${Ye}-handler-wrap`]:{width:Pe.handleWidth,opacity:1}})},{[Ye]:Object.assign(Object.assign(Object.assign({[`${Ye}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Pe.handleVisibleWidth,opacity:$t,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Jt,borderEndEndRadius:Jt,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${un}`,overflow:"hidden",[`${Ye}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Ye}-handler-up-inner,
${Ye}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Pe.handleFontSize}}},[`${Ye}-handler`]:{height:"50%",overflow:"hidden",color:It,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,lt.unit)(ft)} ${kt} ${an}`,transition:`all ${un} linear`,"&:active":{background:kn},"&:hover":{height:"60%",[`
${Ye}-handler-up-inner,
${Ye}-handler-down-inner
`]:{color:ln}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Ct.Ro)()),{color:It,transition:`all ${un} linear`,userSelect:"none"})},[`${Ye}-handler-up`]:{borderStartEndRadius:Jt},[`${Ye}-handler-down`]:{borderEndEndRadius:Jt}},Ft(Pe,"lg")),Ft(Pe,"sm")),{"&-disabled, &-readonly":{[`${Ye}-handler-wrap`]:{display:"none"},[`${Ye}-input`]:{color:"inherit"}},[`
${Ye}-handler-up-disabled,
${Ye}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Ye}-handler-up-disabled:hover &-handler-up-inner,
${Ye}-handler-down-disabled:hover &-handler-down-inner
`]:{color:Mn}})}]},Ot=Pe=>{const{componentCls:Ye,paddingBlock:ft,paddingInline:kt,inputAffixPadding:Jt,controlWidth:cn,borderRadiusLG:An,borderRadiusSM:xn,paddingInlineLG:dn,paddingInlineSM:Sn,paddingBlockLG:bn,paddingBlockSM:tn,motionDurationMid:Wt}=Pe;return{[`${Ye}-affix-wrapper`]:Object.assign(Object.assign({[`input${Ye}-input`]:{padding:`${(0,lt.unit)(ft)} 0`}},(0,Be.ik)(Pe)),{position:"relative",display:"inline-flex",alignItems:"center",width:cn,padding:0,paddingInlineStart:kt,"&-lg":{borderRadius:An,paddingInlineStart:dn,[`input${Ye}-input`]:{padding:`${(0,lt.unit)(bn)} 0`}},"&-sm":{borderRadius:xn,paddingInlineStart:Sn,[`input${Ye}-input`]:{padding:`${(0,lt.unit)(tn)} 0`}},[`&:not(${Ye}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Ye}-disabled`]:{background:"transparent"},[`> div${Ye}`]:{width:"100%",border:"none",outline:"none",[`&${Ye}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ye}-handler-wrap`]:{zIndex:2},[Ye]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Jt},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:kt,marginInlineStart:Jt,transition:`margin ${Wt}`}},[`&:hover ${Ye}-handler-wrap, &-focused ${Ye}-handler-wrap`]:{width:Pe.handleWidth,opacity:1},[`&:not(${Ye}-affix-wrapper-without-controls):hover ${Ye}-suffix`]:{marginInlineEnd:Pe.calc(Pe.handleWidth).add(kt).equal()}})}};var rn=(0,nn.I$)("InputNumber",Pe=>{const Ye=(0,Qt.mergeToken)(Pe,(0,Ke.e)(Pe));return[en(Ye),Ot(Ye),(0,At.c)(Ye)]},on,{unitless:{handleOpacity:!0}}),Ut=function(Pe,Ye){var ft={};for(var kt in Pe)Object.prototype.hasOwnProperty.call(Pe,kt)&&Ye.indexOf(kt)<0&&(ft[kt]=Pe[kt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,kt=Object.getOwnPropertySymbols(Pe);Jt<kt.length;Jt++)Ye.indexOf(kt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,kt[Jt])&&(ft[kt[Jt]]=Pe[kt[Jt]]);return ft};const Ne=E.forwardRef((Pe,Ye)=>{const{getPrefixCls:ft,direction:kt}=E.useContext(ae.E_),Jt=E.useRef(null);E.useImperativeHandle(Ye,()=>Jt.current);const{className:cn,rootClassName:An,size:xn,disabled:dn,prefixCls:Sn,addonBefore:bn,addonAfter:tn,prefix:Wt,suffix:jt,bordered:It,readOnly:un,status:ln,controls:$t,variant:gn}=Pe,Cn=Ut(Pe,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),yn=ft("input-number",Sn),kn=(0,oe.Z)(yn),[Mn,$n,Gn]=rn(yn,kn),{compactSize:Zt,compactItemClassnames:an}=(0,ye.ri)(yn,kt);let Bn=E.createElement(me.Z,{className:`${yn}-handler-up-inner`}),Pn=E.createElement(Ge.Z,{className:`${yn}-handler-down-inner`});const Ve=typeof $t=="boolean"?$t:void 0;typeof $t=="object"&&(Bn=typeof $t.upIcon=="undefined"?Bn:E.createElement("span",{className:`${yn}-handler-up-inner`},$t.upIcon),Pn=typeof $t.downIcon=="undefined"?Pn:E.createElement("span",{className:`${yn}-handler-down-inner`},$t.downIcon));const{hasFeedback:at,status:Oe,isFormItemInput:Je,feedbackIcon:Me}=E.useContext(re.aM),qe=(0,gt.F)(Oe,ln),Ce=(0,se.Z)(sn=>{var fn;return(fn=xn!=null?xn:Zt)!==null&&fn!==void 0?fn:sn}),ot=E.useContext(ee.Z),ht=dn!=null?dn:ot,[Pt,pt]=(0,he.Z)("inputNumber",gn,It),_e=at&&E.createElement(E.Fragment,null,Me),tt=we()({[`${yn}-lg`]:Ce==="large",[`${yn}-sm`]:Ce==="small",[`${yn}-rtl`]:kt==="rtl",[`${yn}-in-form-item`]:Je},$n),mt=`${yn}-group`,hn=E.createElement(ze,Object.assign({ref:Jt,disabled:ht,className:we()(Gn,kn,cn,An,an),upHandler:Bn,downHandler:Pn,prefixCls:yn,readOnly:un,controls:Ve,prefix:Wt,suffix:_e||jt,addonBefore:bn&&E.createElement(Vt.Z,{form:!0,space:!0},bn),addonAfter:tn&&E.createElement(Vt.Z,{form:!0,space:!0},tn),classNames:{input:tt,variant:we()({[`${yn}-${Pt}`]:pt},(0,gt.Z)(yn,qe,at)),affixWrapper:we()({[`${yn}-affix-wrapper-sm`]:Ce==="small",[`${yn}-affix-wrapper-lg`]:Ce==="large",[`${yn}-affix-wrapper-rtl`]:kt==="rtl",[`${yn}-affix-wrapper-without-controls`]:$t===!1||ht},$n),wrapper:we()({[`${mt}-rtl`]:kt==="rtl"},$n),groupWrapper:we()({[`${yn}-group-wrapper-sm`]:Ce==="small",[`${yn}-group-wrapper-lg`]:Ce==="large",[`${yn}-group-wrapper-rtl`]:kt==="rtl",[`${yn}-group-wrapper-${Pt}`]:pt},(0,gt.Z)(`${yn}-group-wrapper`,qe,at),$n)}},Cn));return Mn(hn)}),rt=Ne,zt=Pe=>E.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},E.createElement(Ne,Object.assign({},Pe)));rt._InternalPanelDoNotUseOrYouWillBeFired=zt;var Gt=rt},49397:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Et}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(36901),we=te(8654),Ee=te(62487),Ae=te(86013),Ie=te(82855),Se=te(48755),de=te(2171),Xe=te(83397),xe=te(31756),wt=te(56553),Qe=te(24971),Te=te(70045),$e=te(23826),je=te(53075);function St(ct){return!!(ct.prefix||ct.suffix||ct.allowClear||ct.showCount)}var Nt=function(ct,dt){var nt={};for(var Dt in ct)Object.prototype.hasOwnProperty.call(ct,Dt)&&dt.indexOf(Dt)<0&&(nt[Dt]=ct[Dt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Dt=Object.getOwnPropertySymbols(ct);et<Dt.length;et++)dt.indexOf(Dt[et])<0&&Object.prototype.propertyIsEnumerable.call(ct,Dt[et])&&(nt[Dt[et]]=ct[Dt[et]]);return nt},Et=(0,E.forwardRef)((ct,dt)=>{const{prefixCls:nt,bordered:Dt=!0,status:et,size:He,disabled:vt,onBlur:De,onFocus:We,suffix:Re,allowClear:ue,addonAfter:st,addonBefore:Le,className:Ue,style:Tt,styles:ge,rootClassName:fe,onChange:bt,classNames:Lt,variant:Bt}=ct,ve=Nt(ct,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ke,direction:Ze,allowClear:xt,autoComplete:Mt,className:Xt,style:ze,classNames:Vt,styles:gt}=(0,Se.dj)("input"),ae=ke("input",nt),ne=(0,E.useRef)(null),ee=(0,Xe.Z)(ae),[oe,se,re]=(0,je.TI)(ae,fe),[he]=(0,je.ZP)(ae,ee),{compactSize:ye,compactItemClassnames:lt}=(0,Te.ri)(ae,Ze),Be=(0,xe.Z)(Gt=>{var Pe;return(Pe=He!=null?He:ye)!==null&&Pe!==void 0?Pe:Gt}),Ke=E.useContext(de.Z),ut=vt!=null?vt:Ke,{status:Ct,hasFeedback:At,feedbackIcon:nn}=(0,E.useContext)(wt.aM),Qt=(0,Ie.F)(Ct,et),Yt=St(ct)||!!At,on=(0,E.useRef)(Yt),Ft=(0,$e.Z)(ne,!0),en=Gt=>{Ft(),De==null||De(Gt)},Ot=Gt=>{Ft(),We==null||We(Gt)},rn=Gt=>{Ft(),bt==null||bt(Gt)},Ut=(At||Re)&&E.createElement(E.Fragment,null,Re,At&&nn),Ne=(0,Ae.Z)(ue!=null?ue:xt),[rt,zt]=(0,Qe.Z)("input",Bt,Dt);return oe(he(E.createElement(Fe.default,Object.assign({ref:(0,we.sQ)(dt,ne),prefixCls:ae,autoComplete:Mt},ve,{disabled:ut,onBlur:en,onFocus:Ot,style:Object.assign(Object.assign({},ze),Tt),styles:Object.assign(Object.assign({},gt),ge),suffix:Ut,allowClear:Ne,className:me()(Ue,fe,re,ee,lt,Xt),onChange:rn,addonBefore:Le&&E.createElement(Ee.Z,{form:!0,space:!0},Le),addonAfter:st&&E.createElement(Ee.Z,{form:!0,space:!0},st),classNames:Object.assign(Object.assign(Object.assign({},Lt),Vt),{input:me()({[`${ae}-sm`]:Be==="small",[`${ae}-lg`]:Be==="large",[`${ae}-rtl`]:Ze==="rtl"},Lt==null?void 0:Lt.input,Vt.input,se),variant:me()({[`${ae}-${rt}`]:zt},(0,Ie.Z)(ae,Qt)),affixWrapper:me()({[`${ae}-affix-wrapper-sm`]:Be==="small",[`${ae}-affix-wrapper-lg`]:Be==="large",[`${ae}-affix-wrapper-rtl`]:Ze==="rtl"},se),wrapper:me()({[`${ae}-group-rtl`]:Ze==="rtl"},se),groupWrapper:me()({[`${ae}-group-wrapper-sm`]:Be==="small",[`${ae}-group-wrapper-lg`]:Be==="large",[`${ae}-group-wrapper-rtl`]:Ze==="rtl",[`${ae}-group-wrapper-${rt}`]:zt},(0,Ie.Z)(`${ae}-group-wrapper`,Qt,At),se)})}))))})},79809:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return dt}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(22711),we=te(86013),Ee=te(82855),Ae=te(48755),Ie=te(2171),Se=te(83397),de=te(31756),Xe=te(56553),xe=te(24971),wt=te(70045),Qe=te(30292),Te=te(53075),$e=te(16931),je=te(51636),St=te(64910);const Nt=nt=>{const{componentCls:Dt,paddingLG:et}=nt,He=`${Dt}-textarea`;return{[`textarea${Dt}`]:{maxWidth:"100%",height:"auto",minHeight:nt.controlHeight,lineHeight:nt.lineHeight,verticalAlign:"bottom",transition:`all ${nt.motionDurationSlow}`,resize:"vertical",[`&${Dt}-mouse-active`]:{transition:`all ${nt.motionDurationSlow}, height 0s, width 0s`}},[`${Dt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[He]:{position:"relative","&-show-count":{[`> ${Dt}`]:{height:"100%"},[`${Dt}-data-count`]:{position:"absolute",bottom:nt.calc(nt.fontSize).mul(nt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:nt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${Dt},
&-affix-wrapper${He}-has-feedback ${Dt}
`]:{paddingInlineEnd:et},[`&-affix-wrapper${Dt}-affix-wrapper`]:{padding:0,[`> textarea${Dt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:nt.calc(nt.controlHeight).sub(nt.calc(nt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Dt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Dt}-clear-icon`]:{position:"absolute",insetInlineEnd:nt.paddingInline,insetBlockStart:nt.paddingXS},[`${He}-suffix`]:{position:"absolute",top:0,insetInlineEnd:nt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Dt}-affix-wrapper-sm`]:{[`${Dt}-suffix`]:{[`${Dt}-clear-icon`]:{insetInlineEnd:nt.paddingInlineSM}}}}}};var Rt=(0,$e.I$)(["Input","TextArea"],nt=>{const Dt=(0,je.mergeToken)(nt,(0,St.e)(nt));return[Nt(Dt)]},St.T,{resetFont:!1}),Et=function(nt,Dt){var et={};for(var He in nt)Object.prototype.hasOwnProperty.call(nt,He)&&Dt.indexOf(He)<0&&(et[He]=nt[He]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,He=Object.getOwnPropertySymbols(nt);vt<He.length;vt++)Dt.indexOf(He[vt])<0&&Object.prototype.propertyIsEnumerable.call(nt,He[vt])&&(et[He[vt]]=nt[He[vt]]);return et},dt=(0,E.forwardRef)((nt,Dt)=>{var et;const{prefixCls:He,bordered:vt=!0,size:De,disabled:We,status:Re,allowClear:ue,classNames:st,rootClassName:Le,className:Ue,style:Tt,styles:ge,variant:fe,showCount:bt,onMouseDown:Lt,onResize:Bt}=nt,ve=Et(nt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ke,direction:Ze,allowClear:xt,autoComplete:Mt,className:Xt,style:ze,classNames:Vt,styles:gt}=(0,Ae.dj)("textArea"),ae=E.useContext(Ie.Z),ne=We!=null?We:ae,{status:ee,hasFeedback:oe,feedbackIcon:se}=E.useContext(Xe.aM),re=(0,Ee.F)(ee,Re),he=E.useRef(null);E.useImperativeHandle(Dt,()=>{var zt;return{resizableTextArea:(zt=he.current)===null||zt===void 0?void 0:zt.resizableTextArea,focus:Gt=>{var Pe,Ye;(0,Qe.nH)((Ye=(Pe=he.current)===null||Pe===void 0?void 0:Pe.resizableTextArea)===null||Ye===void 0?void 0:Ye.textArea,Gt)},blur:()=>{var Gt;return(Gt=he.current)===null||Gt===void 0?void 0:Gt.blur()}}});const ye=ke("input",He),lt=(0,Se.Z)(ye),[Be,Ke,ut]=(0,Te.TI)(ye,Le),[Ct]=Rt(ye,lt),{compactSize:At,compactItemClassnames:nn}=(0,wt.ri)(ye,Ze),Qt=(0,de.Z)(zt=>{var Gt;return(Gt=De!=null?De:At)!==null&&Gt!==void 0?Gt:zt}),[Yt,on]=(0,xe.Z)("textArea",fe,vt),Ft=(0,we.Z)(ue!=null?ue:xt),[en,Ot]=E.useState(!1),[rn,Ut]=E.useState(!1),Ne=zt=>{Ot(!0),Lt==null||Lt(zt);const Gt=()=>{Ot(!1),document.removeEventListener("mouseup",Gt)};document.addEventListener("mouseup",Gt)},rt=zt=>{var Gt,Pe;if(Bt==null||Bt(zt),en&&typeof getComputedStyle=="function"){const Ye=(Pe=(Gt=he.current)===null||Gt===void 0?void 0:Gt.nativeElement)===null||Pe===void 0?void 0:Pe.querySelector("textarea");Ye&&getComputedStyle(Ye).resize==="both"&&Ut(!0)}};return Be(Ct(E.createElement(Fe.default,Object.assign({autoComplete:Mt},ve,{style:Object.assign(Object.assign({},ze),Tt),styles:Object.assign(Object.assign({},gt),ge),disabled:ne,allowClear:Ft,className:me()(ut,lt,Ue,Le,nn,Xt,rn&&`${ye}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},st),Vt),{textarea:me()({[`${ye}-sm`]:Qt==="small",[`${ye}-lg`]:Qt==="large"},Ke,st==null?void 0:st.textarea,Vt.textarea,en&&`${ye}-mouse-active`),variant:me()({[`${ye}-${Yt}`]:on},(0,Ee.Z)(ye,re)),affixWrapper:me()(`${ye}-textarea-affix-wrapper`,{[`${ye}-affix-wrapper-rtl`]:Ze==="rtl",[`${ye}-affix-wrapper-sm`]:Qt==="small",[`${ye}-affix-wrapper-lg`]:Qt==="large",[`${ye}-textarea-show-count`]:bt||((et=nt.count)===null||et===void 0?void 0:et.show)},Ke)}),prefixCls:ye,suffix:oe&&E.createElement("span",{className:`${ye}-textarea-suffix`},se),showCount:bt,ref:he,onResize:rt,onMouseDown:Ne}))))})},23826:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ge}});var E=te(59301);function Ge(me,Fe){const we=(0,E.useRef)([]),Ee=()=>{we.current.push(setTimeout(()=>{var Ae,Ie,Se,de;!((Ae=me.current)===null||Ae===void 0)&&Ae.input&&((Ie=me.current)===null||Ie===void 0?void 0:Ie.input.getAttribute("type"))==="password"&&(!((Se=me.current)===null||Se===void 0)&&Se.input.hasAttribute("value"))&&((de=me.current)===null||de===void 0||de.input.removeAttribute("value"))}))};return(0,E.useEffect)(()=>(Fe&&Ee(),()=>we.current.forEach(Ae=>{Ae&&clearTimeout(Ae)})),[]),Ee}},37568:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return Vt}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(48755),we=te(56553),Ee=te(53075),Ie=gt=>{const{getPrefixCls:ae,direction:ne}=(0,E.useContext)(Fe.E_),{prefixCls:ee,className:oe}=gt,se=ae("input-group",ee),re=ae("input"),[he,ye,lt]=(0,Ee.ZP)(re),Be=me()(se,lt,{[`${se}-lg`]:gt.size==="large",[`${se}-sm`]:gt.size==="small",[`${se}-compact`]:gt.compact,[`${se}-rtl`]:ne==="rtl"},ye,oe),Ke=(0,E.useContext)(we.aM),ut=(0,E.useMemo)(()=>Object.assign(Object.assign({},Ke),{isFormItemInput:!1}),[Ke]);return he(E.createElement("span",{className:Be,style:gt.style,onMouseEnter:gt.onMouseEnter,onMouseLeave:gt.onMouseLeave,onFocus:gt.onFocus,onBlur:gt.onBlur},E.createElement(we.aM.Provider,{value:ut},gt.children)))},Se=te(49397),de=te(77654),Xe=te(6089),xe=te(26112),wt=te(82855),Qe=te(31756),Te=te(16931),$e=te(51636),je=te(64910);const St=gt=>{const{componentCls:ae,paddingXS:ne}=gt;return{[ae]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${ae}-input`]:{textAlign:"center",paddingInline:gt.paddingXXS},[`&${ae}-sm ${ae}-input`]:{paddingInline:gt.calc(gt.paddingXXS).div(2).equal()},[`&${ae}-lg ${ae}-input`]:{paddingInline:gt.paddingXS}}}};var Nt=(0,Te.I$)(["Input","OTP"],gt=>{const ae=(0,$e.mergeToken)(gt,(0,je.e)(gt));return[St(ae)]},je.T),Rt=te(16089),Et=function(gt,ae){var ne={};for(var ee in gt)Object.prototype.hasOwnProperty.call(gt,ee)&&ae.indexOf(ee)<0&&(ne[ee]=gt[ee]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(gt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(gt,ee[oe])&&(ne[ee[oe]]=gt[ee[oe]]);return ne},dt=E.forwardRef((gt,ae)=>{const{value:ne,onChange:ee,onActiveChange:oe,index:se,mask:re}=gt,he=Et(gt,["value","onChange","onActiveChange","index","mask"]),ye=ne&&typeof re=="string"?re:ne,lt=At=>{ee(se,At.target.value)},Be=E.useRef(null);E.useImperativeHandle(ae,()=>Be.current);const Ke=()=>{(0,Rt.Z)(()=>{var At;const nn=(At=Be.current)===null||At===void 0?void 0:At.input;document.activeElement===nn&&nn&&nn.select()})},ut=At=>{const{key:nn,ctrlKey:Qt,metaKey:Yt}=At;nn==="ArrowLeft"?oe(se-1):nn==="ArrowRight"?oe(se+1):nn==="z"&&(Qt||Yt)&&At.preventDefault(),Ke()},Ct=At=>{At.key==="Backspace"&&!ne&&oe(se-1),Ke()};return E.createElement(Se.Z,Object.assign({type:re===!0?"password":"text"},he,{ref:Be,value:ye,onInput:lt,onFocus:Ke,onKeyDown:ut,onKeyUp:Ct,onMouseDown:Ke,onMouseUp:Ke}))}),nt=function(gt,ae){var ne={};for(var ee in gt)Object.prototype.hasOwnProperty.call(gt,ee)&&ae.indexOf(ee)<0&&(ne[ee]=gt[ee]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(gt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(gt,ee[oe])&&(ne[ee[oe]]=gt[ee[oe]]);return ne};function Dt(gt){return(gt||"").split("")}const et=gt=>{const{index:ae,prefixCls:ne,separator:ee}=gt,oe=typeof ee=="function"?ee(ae):ee;return oe?E.createElement("span",{className:`${ne}-separator`},oe):null};var vt=E.forwardRef((gt,ae)=>{const{prefixCls:ne,length:ee=6,size:oe,defaultValue:se,value:re,onChange:he,formatter:ye,separator:lt,variant:Be,disabled:Ke,status:ut,autoFocus:Ct,mask:At,type:nn,onInput:Qt,inputMode:Yt}=gt,on=nt(gt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Ft,direction:en}=E.useContext(Fe.E_),Ot=Ft("otp",ne),rn=(0,xe.Z)(on,{aria:!0,data:!0,attr:!0}),[Ut,Ne,rt]=Nt(Ot),zt=(0,Qe.Z)(Wt=>oe!=null?oe:Wt),Gt=E.useContext(we.aM),Pe=(0,wt.F)(Gt.status,ut),Ye=E.useMemo(()=>Object.assign(Object.assign({},Gt),{status:Pe,hasFeedback:!1,feedbackIcon:null}),[Gt,Pe]),ft=E.useRef(null),kt=E.useRef({});E.useImperativeHandle(ae,()=>({focus:()=>{var Wt;(Wt=kt.current[0])===null||Wt===void 0||Wt.focus()},blur:()=>{var Wt;for(let jt=0;jt<ee;jt+=1)(Wt=kt.current[jt])===null||Wt===void 0||Wt.blur()},nativeElement:ft.current}));const Jt=Wt=>ye?ye(Wt):Wt,[cn,An]=E.useState(()=>Dt(Jt(se||"")));E.useEffect(()=>{re!==void 0&&An(Dt(re))},[re]);const xn=(0,Xe.Z)(Wt=>{An(Wt),Qt&&Qt(Wt),he&&Wt.length===ee&&Wt.every(jt=>jt)&&Wt.some((jt,It)=>cn[It]!==jt)&&he(Wt.join(""))}),dn=(0,Xe.Z)((Wt,jt)=>{let It=(0,de.Z)(cn);for(let ln=0;ln<Wt;ln+=1)It[ln]||(It[ln]="");jt.length<=1?It[Wt]=jt:It=It.slice(0,Wt).concat(Dt(jt)),It=It.slice(0,ee);for(let ln=It.length-1;ln>=0&&!It[ln];ln-=1)It.pop();const un=Jt(It.map(ln=>ln||" ").join(""));return It=Dt(un).map((ln,$t)=>ln===" "&&!It[$t]?It[$t]:ln),It}),Sn=(Wt,jt)=>{var It;const un=dn(Wt,jt),ln=Math.min(Wt+jt.length,ee-1);ln!==Wt&&un[Wt]!==void 0&&((It=kt.current[ln])===null||It===void 0||It.focus()),xn(un)},bn=Wt=>{var jt;(jt=kt.current[Wt])===null||jt===void 0||jt.focus()},tn={variant:Be,disabled:Ke,status:Pe,mask:At,type:nn,inputMode:Yt};return Ut(E.createElement("div",Object.assign({},rn,{ref:ft,className:me()(Ot,{[`${Ot}-sm`]:zt==="small",[`${Ot}-lg`]:zt==="large",[`${Ot}-rtl`]:en==="rtl"},rt,Ne)}),E.createElement(we.aM.Provider,{value:Ye},Array.from({length:ee}).map((Wt,jt)=>{const It=`otp-${jt}`,un=cn[jt]||"";return E.createElement(E.Fragment,{key:It},E.createElement(dt,Object.assign({ref:ln=>{kt.current[jt]=ln},index:jt,size:zt,htmlSize:1,className:`${Ot}-input`,onChange:Sn,value:un,onActiveChange:bn,autoFocus:jt===0&&Ct},tn)),jt<ee-1&&E.createElement(et,{separator:lt,index:jt,prefixCls:Ot}))}))))}),De=te(73331),We=te(15277),Re=te(2738),ue=te(8654),st=te(2171),Le=te(23826),Ue=function(gt,ae){var ne={};for(var ee in gt)Object.prototype.hasOwnProperty.call(gt,ee)&&ae.indexOf(ee)<0&&(ne[ee]=gt[ee]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(gt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(gt,ee[oe])&&(ne[ee[oe]]=gt[ee[oe]]);return ne};const Tt=gt=>gt?E.createElement(We.Z,null):E.createElement(De.Z,null),ge={click:"onClick",hover:"onMouseOver"};var bt=E.forwardRef((gt,ae)=>{const{disabled:ne,action:ee="click",visibilityToggle:oe=!0,iconRender:se=Tt}=gt,re=E.useContext(st.Z),he=ne!=null?ne:re,ye=typeof oe=="object"&&oe.visible!==void 0,[lt,Be]=(0,E.useState)(()=>ye?oe.visible:!1),Ke=(0,E.useRef)(null);E.useEffect(()=>{ye&&Be(oe.visible)},[ye,oe]);const ut=(0,Le.Z)(Ke),Ct=()=>{var zt;if(he)return;lt&&ut();const Gt=!lt;Be(Gt),typeof oe=="object"&&((zt=oe.onVisibleChange)===null||zt===void 0||zt.call(oe,Gt))},At=zt=>{const Gt=ge[ee]||"",Pe=se(lt),Ye={[Gt]:Ct,className:`${zt}-icon`,key:"passwordIcon",onMouseDown:ft=>{ft.preventDefault()},onMouseUp:ft=>{ft.preventDefault()}};return E.cloneElement(E.isValidElement(Pe)?Pe:E.createElement("span",null,Pe),Ye)},{className:nn,prefixCls:Qt,inputPrefixCls:Yt,size:on}=gt,Ft=Ue(gt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:en}=E.useContext(Fe.E_),Ot=en("input",Yt),rn=en("input-password",Qt),Ut=oe&&At(rn),Ne=me()(rn,nn,{[`${rn}-${on}`]:!!on}),rt=Object.assign(Object.assign({},(0,Re.Z)(Ft,["suffix","iconRender","visibilityToggle"])),{type:lt?"text":"password",className:Ne,prefixCls:Ot,suffix:Ut});return on&&(rt.size=on),E.createElement(Se.Z,Object.assign({ref:(0,ue.sQ)(ae,Ke)},rt))}),Lt=te(47472),Bt=te(22703),ve=te(7939),ke=te(70045),Ze=function(gt,ae){var ne={};for(var ee in gt)Object.prototype.hasOwnProperty.call(gt,ee)&&ae.indexOf(ee)<0&&(ne[ee]=gt[ee]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ee=Object.getOwnPropertySymbols(gt);oe<ee.length;oe++)ae.indexOf(ee[oe])<0&&Object.prototype.propertyIsEnumerable.call(gt,ee[oe])&&(ne[ee[oe]]=gt[ee[oe]]);return ne},Mt=E.forwardRef((gt,ae)=>{const{prefixCls:ne,inputPrefixCls:ee,className:oe,size:se,suffix:re,enterButton:he=!1,addonAfter:ye,loading:lt,disabled:Be,onSearch:Ke,onChange:ut,onCompositionStart:Ct,onCompositionEnd:At}=gt,nn=Ze(gt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Qt,direction:Yt}=E.useContext(Fe.E_),on=E.useRef(!1),Ft=Qt("input-search",ne),en=Qt("input",ee),{compactSize:Ot}=(0,ke.ri)(Ft,Yt),rn=(0,Qe.Z)(Sn=>{var bn;return(bn=se!=null?se:Ot)!==null&&bn!==void 0?bn:Sn}),Ut=E.useRef(null),Ne=Sn=>{Sn!=null&&Sn.target&&Sn.type==="click"&&Ke&&Ke(Sn.target.value,Sn,{source:"clear"}),ut==null||ut(Sn)},rt=Sn=>{var bn;document.activeElement===((bn=Ut.current)===null||bn===void 0?void 0:bn.input)&&Sn.preventDefault()},zt=Sn=>{var bn,tn;Ke&&Ke((tn=(bn=Ut.current)===null||bn===void 0?void 0:bn.input)===null||tn===void 0?void 0:tn.value,Sn,{source:"input"})},Gt=Sn=>{on.current||lt||zt(Sn)},Pe=typeof he=="boolean"?E.createElement(Lt.Z,null):null,Ye=`${Ft}-button`;let ft;const kt=he||{},Jt=kt.type&&kt.type.__ANT_BUTTON===!0;Jt||kt.type==="button"?ft=(0,Bt.Tm)(kt,Object.assign({onMouseDown:rt,onClick:Sn=>{var bn,tn;(tn=(bn=kt==null?void 0:kt.props)===null||bn===void 0?void 0:bn.onClick)===null||tn===void 0||tn.call(bn,Sn),zt(Sn)},key:"enterButton"},Jt?{className:Ye,size:rn}:{})):ft=E.createElement(ve.ZP,{className:Ye,type:he?"primary":void 0,size:rn,disabled:Be,key:"enterButton",onMouseDown:rt,onClick:zt,loading:lt,icon:Pe},he),ye&&(ft=[ft,(0,Bt.Tm)(ye,{key:"addonAfter"})]);const cn=me()(Ft,{[`${Ft}-rtl`]:Yt==="rtl",[`${Ft}-${rn}`]:!!rn,[`${Ft}-with-button`]:!!he},oe),An=Object.assign(Object.assign({},nn),{className:cn,prefixCls:en,type:"search"}),xn=Sn=>{on.current=!0,Ct==null||Ct(Sn)},dn=Sn=>{on.current=!1,At==null||At(Sn)};return E.createElement(Se.Z,Object.assign({ref:(0,ue.sQ)(Ut,ae),onPressEnter:Gt},An,{size:rn,onCompositionStart:xn,onCompositionEnd:dn,addonAfter:ft,suffix:re,onChange:Ne,disabled:Be}))}),Xt=te(79809);const ze=Se.Z;ze.Group=Ie,ze.Search=Mt,ze.TextArea=Xt.Z,ze.Password=bt,ze.OTP=vt;var Vt=ze},24303:function(_t,Ht,te){"use strict";te.d(Ht,{D:function(){return nt},Z:function(){return He}});var E=te(59301),Ge=te(60499),me={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"},Fe=me,we=te(7657),Ee=function(De,We){return E.createElement(we.Z,(0,Ge.Z)({},De,{ref:We,icon:Fe}))},Ae=E.forwardRef(Ee),Ie=Ae,Se=te(33853),de=te(38819),Xe=te(92310),xe=te.n(Xe),wt=te(2738),Qe=te(48755),Te=te(6989),$e=te(36237),je=te(48923),St=te(16931);const Nt=vt=>{const{componentCls:De,siderBg:We,motionDurationMid:Re,motionDurationSlow:ue,antCls:st,triggerHeight:Le,triggerColor:Ue,triggerBg:Tt,headerHeight:ge,zeroTriggerWidth:fe,zeroTriggerHeight:bt,borderRadiusLG:Lt,lightSiderBg:Bt,lightTriggerColor:ve,lightTriggerBg:ke,bodyBg:Ze}=vt;return{[De]:{position:"relative",minWidth:0,background:We,transition:`all ${Re}, background 0s`,"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},[`${De}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${st}-menu${st}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${De}-children`]:{overflow:"hidden"},[`${De}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Le,color:Ue,lineHeight:(0,$e.unit)(Le),textAlign:"center",background:Tt,cursor:"pointer",transition:`all ${Re}`},[`${De}-zero-width-trigger`]:{position:"absolute",top:ge,insetInlineEnd:vt.calc(fe).mul(-1).equal(),zIndex:1,width:fe,height:bt,color:Ue,fontSize:vt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:We,borderRadius:`0 ${(0,$e.unit)(Lt)} ${(0,$e.unit)(Lt)} 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:vt.calc(fe).mul(-1).equal(),borderRadius:`${(0,$e.unit)(Lt)} 0 0 ${(0,$e.unit)(Lt)}`}},"&-light":{background:Bt,[`${De}-trigger`]:{color:ve,background:ke},[`${De}-zero-width-trigger`]:{color:ve,background:ke,border:`1px solid ${Ze}`,borderInlineStart:0}}}}};var Rt=(0,St.I$)(["Layout","Sider"],vt=>[Nt(vt)],je.eh,{deprecatedTokens:je.jn}),Et=function(vt,De){var We={};for(var Re in vt)Object.prototype.hasOwnProperty.call(vt,Re)&&De.indexOf(Re)<0&&(We[Re]=vt[Re]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Re=Object.getOwnPropertySymbols(vt);ue<Re.length;ue++)De.indexOf(Re[ue])<0&&Object.prototype.propertyIsEnumerable.call(vt,Re[ue])&&(We[Re[ue]]=vt[Re[ue]]);return We};const ct={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},dt=vt=>!Number.isNaN(Number.parseFloat(vt))&&isFinite(vt),nt=E.createContext({}),Dt=(()=>{let vt=0;return function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return vt+=1,`${De}${vt}`}})();var He=E.forwardRef((vt,De)=>{const{prefixCls:We,className:Re,trigger:ue,children:st,defaultCollapsed:Le=!1,theme:Ue="dark",style:Tt={},collapsible:ge=!1,reverseArrow:fe=!1,width:bt=200,collapsedWidth:Lt=80,zeroWidthTriggerStyle:Bt,breakpoint:ve,onCollapse:ke,onBreakpoint:Ze}=vt,xt=Et(vt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Mt}=(0,E.useContext)(Te.V),[Xt,ze]=(0,E.useState)("collapsed"in vt?vt.collapsed:Le),[Vt,gt]=(0,E.useState)(!1);(0,E.useEffect)(()=>{"collapsed"in vt&&ze(vt.collapsed)},[vt.collapsed]);const ae=(rn,Ut)=>{"collapsed"in vt||ze(rn),ke==null||ke(rn,Ut)},{getPrefixCls:ne,direction:ee}=(0,E.useContext)(Qe.E_),oe=ne("layout-sider",We),[se,re,he]=Rt(oe),ye=(0,E.useRef)(null);ye.current=rn=>{gt(rn.matches),Ze==null||Ze(rn.matches),Xt!==rn.matches&&ae(rn.matches,"responsive")},(0,E.useEffect)(()=>{function rn(Ne){return ye.current(Ne)}let Ut;if(typeof window!="undefined"){const{matchMedia:Ne}=window;if(Ne&&ve&&ve in ct){Ut=Ne(`screen and (max-width: ${ct[ve]})`);try{Ut.addEventListener("change",rn)}catch(rt){Ut.addListener(rn)}rn(Ut)}}return()=>{try{Ut==null||Ut.removeEventListener("change",rn)}catch(Ne){Ut==null||Ut.removeListener(rn)}}},[ve]),(0,E.useEffect)(()=>{const rn=Dt("ant-sider-");return Mt.addSider(rn),()=>Mt.removeSider(rn)},[]);const lt=()=>{ae(!Xt,"clickTrigger")},Be=(0,wt.Z)(xt,["collapsed"]),Ke=Xt?Lt:bt,ut=dt(Ke)?`${Ke}px`:String(Ke),Ct=parseFloat(String(Lt||0))===0?E.createElement("span",{onClick:lt,className:xe()(`${oe}-zero-width-trigger`,`${oe}-zero-width-trigger-${fe?"right":"left"}`),style:Bt},ue||E.createElement(Ie,null)):null,At=ee==="rtl"==!fe,Yt={expanded:At?E.createElement(de.Z,null):E.createElement(Se.Z,null),collapsed:At?E.createElement(Se.Z,null):E.createElement(de.Z,null)}[Xt?"collapsed":"expanded"],on=ue!==null?Ct||E.createElement("div",{className:`${oe}-trigger`,onClick:lt,style:{width:ut}},ue||Yt):null,Ft=Object.assign(Object.assign({},Tt),{flex:`0 0 ${ut}`,maxWidth:ut,minWidth:ut,width:ut}),en=xe()(oe,`${oe}-${Ue}`,{[`${oe}-collapsed`]:!!Xt,[`${oe}-has-trigger`]:ge&&ue!==null&&!Ct,[`${oe}-below`]:!!Vt,[`${oe}-zero-width`]:parseFloat(ut)===0},Re,re,he),Ot=E.useMemo(()=>({siderCollapsed:Xt}),[Xt]);return se(E.createElement(nt.Provider,{value:Ot},E.createElement("aside",Object.assign({className:en},Be,{style:Ft,ref:De}),E.createElement("div",{className:`${oe}-children`},st),ge||Vt&&Ct?on:null)))})},6989:function(_t,Ht,te){"use strict";te.d(Ht,{V:function(){return Ge}});var E=te(59301);const Ge=E.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(_t,Ht,te){"use strict";te.d(Ht,{eh:function(){return Fe},jn:function(){return we}});var E=te(36237),Ge=te(16931);const me=Ee=>{const{antCls:Ae,componentCls:Ie,colorText:Se,footerBg:de,headerHeight:Xe,headerPadding:xe,headerColor:wt,footerPadding:Qe,fontSize:Te,bodyBg:$e,headerBg:je}=Ee;return{[Ie]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$e,"&, *":{boxSizing:"border-box"},[`&${Ie}-has-sider`]:{flexDirection:"row",[`> ${Ie}, > ${Ie}-content`]:{width:0}},[`${Ie}-header, &${Ie}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Ie}-header`]:{height:Xe,padding:xe,color:wt,lineHeight:(0,E.unit)(Xe),background:je,[`${Ae}-menu`]:{lineHeight:"inherit"}},[`${Ie}-footer`]:{padding:Qe,color:Se,fontSize:Te,background:de},[`${Ie}-content`]:{flex:"auto",color:Se,minHeight:0}}},Fe=Ee=>{const{colorBgLayout:Ae,controlHeight:Ie,controlHeightLG:Se,colorText:de,controlHeightSM:Xe,marginXXS:xe,colorTextLightSolid:wt,colorBgContainer:Qe}=Ee,Te=Se*1.25;return{colorBgHeader:"#001529",colorBgBody:Ae,colorBgTrigger:"#002140",bodyBg:Ae,headerBg:"#001529",headerHeight:Ie*2,headerPadding:`0 ${Te}px`,headerColor:de,footerPadding:`${Xe}px ${Te}px`,footerBg:Ae,siderBg:"#001529",triggerHeight:Se+xe*2,triggerBg:"#002140",triggerColor:wt,zeroTriggerWidth:Se,zeroTriggerHeight:Se,lightSiderBg:Qe,lightTriggerBg:Qe,lightTriggerColor:de}},we=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Ht.ZP=(0,Ge.I$)("Layout",Ee=>[me(Ee)],Fe,{deprecatedTokens:we})},78857:function(_t,Ht,te){"use strict";te.d(Ht,{J:function(){return Ee}});var E=te(59301),Ge=te(8654),me=te(62487),Fe=function(Ae,Ie){var Se={};for(var de in Ae)Object.prototype.hasOwnProperty.call(Ae,de)&&Ie.indexOf(de)<0&&(Se[de]=Ae[de]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,de=Object.getOwnPropertySymbols(Ae);Xe<de.length;Xe++)Ie.indexOf(de[Xe])<0&&Object.prototype.propertyIsEnumerable.call(Ae,de[Xe])&&(Se[de[Xe]]=Ae[de[Xe]]);return Se};const we=E.createContext(null),Ee=E.forwardRef((Ae,Ie)=>{const{children:Se}=Ae,de=Fe(Ae,["children"]),Xe=E.useContext(we),xe=E.useMemo(()=>Object.assign(Object.assign({},Xe),de),[Xe,de.prefixCls,de.mode,de.selectable,de.rootClassName]),wt=(0,Ge.t4)(Se),Qe=(0,Ge.x1)(Ie,wt?(0,Ge.C4)(Se):null);return E.createElement(we.Provider,{value:xe},E.createElement(me.Z,{space:!0},wt?E.cloneElement(Se,{ref:Qe}):Se))});Ht.Z=we},93041:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return se}});var E=te(59301),Ge=te(28321),me=te(24303),Fe=te(18785),we=te(92310),Ee=te.n(we),Ae=te(6089),Ie=te(2738),Se=te(86641),de=te(22703),Xe=te(48755),xe=te(83397),Qe=(0,E.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Te=function(re,he){var ye={};for(var lt in re)Object.prototype.hasOwnProperty.call(re,lt)&&he.indexOf(lt)<0&&(ye[lt]=re[lt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,lt=Object.getOwnPropertySymbols(re);Be<lt.length;Be++)he.indexOf(lt[Be])<0&&Object.prototype.propertyIsEnumerable.call(re,lt[Be])&&(ye[lt[Be]]=re[lt[Be]]);return ye},je=re=>{const{prefixCls:he,className:ye,dashed:lt}=re,Be=Te(re,["prefixCls","className","dashed"]),{getPrefixCls:Ke}=E.useContext(Xe.E_),ut=Ke("menu",he),Ct=Ee()({[`${ut}-item-divider-dashed`]:!!lt},ye);return E.createElement(Ge.iz,Object.assign({className:Ct},Be))},St=te(11592),Nt=te(25399),Et=re=>{var he;const{className:ye,children:lt,icon:Be,title:Ke,danger:ut,extra:Ct}=re,{prefixCls:At,firstLevel:nn,direction:Qt,disableMenuItemTitleTooltip:Yt,inlineCollapsed:on}=E.useContext(Qe),Ft=rt=>{const zt=lt==null?void 0:lt[0],Gt=E.createElement("span",{className:Ee()(`${At}-title-content`,{[`${At}-title-content-with-extra`]:!!Ct||Ct===0})},lt);return(!Be||E.isValidElement(lt)&&lt.type==="span")&&lt&&rt&&nn&&typeof zt=="string"?E.createElement("div",{className:`${At}-inline-collapsed-noicon`},zt.charAt(0)):Gt},{siderCollapsed:en}=E.useContext(me.D);let Ot=Ke;typeof Ke=="undefined"?Ot=nn?lt:"":Ke===!1&&(Ot="");const rn={title:Ot};!en&&!on&&(rn.title=null,rn.open=!1);const Ut=(0,St.Z)(lt).length;let Ne=E.createElement(Ge.ck,Object.assign({},(0,Ie.Z)(re,["title","icon","danger"]),{className:Ee()({[`${At}-item-danger`]:ut,[`${At}-item-only-child`]:(Be?Ut+1:Ut)===1},ye),title:typeof Ke=="string"?Ke:void 0}),(0,de.Tm)(Be,{className:Ee()(E.isValidElement(Be)?(he=Be.props)===null||he===void 0?void 0:he.className:"",`${At}-item-icon`)}),Ft(on));return Yt||(Ne=E.createElement(Nt.Z,Object.assign({},rn,{placement:Qt==="rtl"?"left":"right",classNames:{root:`${At}-inline-collapsed-tooltip`}}),Ne)),Ne},ct=te(78857),dt=te(36237),nt=te(17835),Dt=te(63356),et=te(34961),He=te(46e3),vt=te(34925),De=te(16931),We=te(51636),ue=re=>{const{componentCls:he,motionDurationSlow:ye,horizontalLineHeight:lt,colorSplit:Be,lineWidth:Ke,lineType:ut,itemPaddingInline:Ct}=re;return{[`${he}-horizontal`]:{lineHeight:lt,border:0,borderBottom:`${(0,dt.unit)(Ke)} ${ut} ${Be}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${he}-item, ${he}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ct},[`> ${he}-item:hover,
> ${he}-item-active,
> ${he}-submenu ${he}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${he}-item, ${he}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${he}-submenu-arrow`]:{display:"none"}}}},Le=re=>{let{componentCls:he,menuArrowOffset:ye,calc:lt}=re;return{[`${he}-rtl`]:{direction:"rtl"},[`${he}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${he}-rtl${he}-vertical,
${he}-submenu-rtl ${he}-vertical`]:{[`${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(lt(ye).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,dt.unit)(ye)})`}}}}};const Ue=re=>Object.assign({},(0,Dt.oN)(re));var ge=(re,he)=>{const{componentCls:ye,itemColor:lt,itemSelectedColor:Be,subMenuItemSelectedColor:Ke,groupTitleColor:ut,itemBg:Ct,subMenuItemBg:At,itemSelectedBg:nn,activeBarHeight:Qt,activeBarWidth:Yt,activeBarBorderWidth:on,motionDurationSlow:Ft,motionEaseInOut:en,motionEaseOut:Ot,itemPaddingInline:rn,motionDurationMid:Ut,itemHoverColor:Ne,lineType:rt,colorSplit:zt,itemDisabledColor:Gt,dangerItemColor:Pe,dangerItemHoverColor:Ye,dangerItemSelectedColor:ft,dangerItemActiveBg:kt,dangerItemSelectedBg:Jt,popupBg:cn,itemHoverBg:An,itemActiveBg:xn,menuSubMenuBg:dn,horizontalItemSelectedColor:Sn,horizontalItemSelectedBg:bn,horizontalItemBorderRadius:tn,horizontalItemHoverBg:Wt}=re;return{[`${ye}-${he}, ${ye}-${he} > ${ye}`]:{color:lt,background:Ct,[`&${ye}-root:focus-visible`]:Object.assign({},Ue(re)),[`${ye}-item`]:{"&-group-title, &-extra":{color:ut}},[`${ye}-submenu-selected > ${ye}-submenu-title`]:{color:Ke},[`${ye}-item, ${ye}-submenu-title`]:{color:lt,[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},Ue(re))},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${Gt} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:Ne}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:An},"&:active":{backgroundColor:xn}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:An},"&:active":{backgroundColor:xn}}},[`${ye}-item-danger`]:{color:Pe,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:Ye}},[`&${ye}-item:active`]:{background:kt}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:Be,[`&${ye}-item-danger`]:{color:ft},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:nn,[`&${ye}-item-danger`]:{backgroundColor:Jt}},[`&${ye}-submenu > ${ye}`]:{backgroundColor:dn},[`&${ye}-popup > ${ye}`]:{backgroundColor:cn},[`&${ye}-submenu-popup > ${ye}`]:{backgroundColor:cn},[`&${ye}-horizontal`]:Object.assign(Object.assign({},he==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:on,marginTop:re.calc(on).mul(-1).equal(),marginBottom:0,borderRadius:tn,"&::after":{position:"absolute",insetInline:rn,bottom:0,borderBottom:`${(0,dt.unit)(Qt)} solid transparent`,transition:`border-color ${Ft} ${en}`,content:'""'},"&:hover, &-active, &-open":{background:Wt,"&::after":{borderBottomWidth:Qt,borderBottomColor:Sn}},"&-selected":{color:Sn,backgroundColor:bn,"&:hover":{backgroundColor:bn},"&::after":{borderBottomWidth:Qt,borderBottomColor:Sn}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${(0,dt.unit)(on)} ${rt} ${zt}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:At},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,dt.unit)(Yt)} solid ${Be}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ut} ${Ot}`,`opacity ${Ut} ${Ot}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:ft}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ut} ${en}`,`opacity ${Ut} ${en}`].join(",")}}}}}};const fe=re=>{const{componentCls:he,itemHeight:ye,itemMarginInline:lt,padding:Be,menuArrowSize:Ke,marginXS:ut,itemMarginBlock:Ct,itemWidth:At,itemPaddingInline:nn}=re,Qt=re.calc(Ke).add(Be).add(ut).equal();return{[`${he}-item`]:{position:"relative",overflow:"hidden"},[`${he}-item, ${he}-submenu-title`]:{height:ye,lineHeight:(0,dt.unit)(ye),paddingInline:nn,overflow:"hidden",textOverflow:"ellipsis",marginInline:lt,marginBlock:Ct,width:At},[`> ${he}-item,
> ${he}-submenu > ${he}-submenu-title`]:{height:ye,lineHeight:(0,dt.unit)(ye)},[`${he}-item-group-list ${he}-submenu-title,
${he}-submenu-title`]:{paddingInlineEnd:Qt}}};var Lt=re=>{const{componentCls:he,iconCls:ye,itemHeight:lt,colorTextLightSolid:Be,dropdownWidth:Ke,controlHeightLG:ut,motionEaseOut:Ct,paddingXL:At,itemMarginInline:nn,fontSizeLG:Qt,motionDurationFast:Yt,motionDurationSlow:on,paddingXS:Ft,boxShadowSecondary:en,collapsedWidth:Ot,collapsedIconSize:rn}=re,Ut={height:lt,lineHeight:(0,dt.unit)(lt),listStylePosition:"inside",listStyleType:"disc"};return[{[he]:{"&-inline, &-vertical":Object.assign({[`&${he}-root`]:{boxShadow:"none"}},fe(re))},[`${he}-submenu-popup`]:{[`${he}-vertical`]:Object.assign(Object.assign({},fe(re)),{boxShadow:en})}},{[`${he}-submenu-popup ${he}-vertical${he}-sub`]:{minWidth:Ke,maxHeight:`calc(100vh - ${(0,dt.unit)(re.calc(ut).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${he}-inline`]:{width:"100%",[`&${he}-root`]:{[`${he}-item, ${he}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${on}`,`background ${on}`,`padding ${Yt} ${Ct}`].join(","),[`> ${he}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${he}-sub${he}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${he}-submenu > ${he}-submenu-title`]:Ut,[`& ${he}-item-group-title`]:{paddingInlineStart:At}},[`${he}-item`]:Ut}},{[`${he}-inline-collapsed`]:{width:Ot,[`&${he}-root`]:{[`${he}-item, ${he}-submenu ${he}-submenu-title`]:{[`> ${he}-inline-collapsed-noicon`]:{fontSize:Qt,textAlign:"center"}}},[`> ${he}-item,
> ${he}-item-group > ${he}-item-group-list > ${he}-item,
> ${he}-item-group > ${he}-item-group-list > ${he}-submenu > ${he}-submenu-title,
> ${he}-submenu > ${he}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,dt.unit)(re.calc(rn).div(2).equal())} - ${(0,dt.unit)(nn)})`,textOverflow:"clip",[`
${he}-submenu-arrow,
${he}-submenu-expand-icon
`]:{opacity:0},[`${he}-item-icon, ${ye}`]:{margin:0,fontSize:rn,lineHeight:(0,dt.unit)(lt),"+ span":{display:"inline-block",opacity:0}}},[`${he}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${he}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:Be}},[`${he}-item-group-title`]:Object.assign(Object.assign({},Dt.vS),{paddingInline:Ft})}}]};const Bt=re=>{const{componentCls:he,motionDurationSlow:ye,motionDurationMid:lt,motionEaseInOut:Be,motionEaseOut:Ke,iconCls:ut,iconSize:Ct,iconMarginInlineEnd:At}=re;return{[`${he}-item, ${he}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding calc(${ye} + 0.1s) ${Be}`].join(","),[`${he}-item-icon, ${ut}`]:{minWidth:Ct,fontSize:Ct,transition:[`font-size ${lt} ${Ke}`,`margin ${ye} ${Be}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:At,opacity:1,transition:[`opacity ${ye} ${Be}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${he}-item-icon`]:Object.assign({},(0,Dt.Ro)()),[`&${he}-item-only-child`]:{[`> ${ut}, > ${he}-item-icon`]:{marginInlineEnd:0}}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${he}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ve=re=>{const{componentCls:he,motionDurationSlow:ye,motionEaseInOut:lt,borderRadius:Be,menuArrowSize:Ke,menuArrowOffset:ut}=re;return{[`${he}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:Ke,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${lt}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(Ke).mul(.6).equal(),height:re.calc(Ke).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Be,transition:[`background ${ye} ${lt}`,`transform ${ye} ${lt}`,`top ${ye} ${lt}`,`color ${ye} ${lt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,dt.unit)(re.calc(ut).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(ut)})`}}}}},ke=re=>{const{antCls:he,componentCls:ye,fontSize:lt,motionDurationSlow:Be,motionDurationMid:Ke,motionEaseInOut:ut,paddingXS:Ct,padding:At,colorSplit:nn,lineWidth:Qt,zIndexPopup:Yt,borderRadiusLG:on,subMenuItemBorderRadius:Ft,menuArrowSize:en,menuArrowOffset:Ot,lineType:rn,groupTitleLineHeight:Ut,groupTitleFontSize:Ne}=re;return[{"":{[ye]:Object.assign(Object.assign({},(0,Dt.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,Dt.Wf)(re)),(0,Dt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:lt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Be} 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:re.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${(0,dt.unit)(Ct)} ${(0,dt.unit)(At)}`,fontSize:Ne,lineHeight:Ut,transition:`all ${Be}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${Be} ${ut}`,`background ${Be} ${ut}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${Be} ${ut}`,`background ${Be} ${ut}`,`padding ${Ke} ${ut}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${Be} ${ut}`,`padding ${Be} ${ut}`].join(",")},[`${ye}-title-content`]:{transition:`color ${Be}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${he}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ye}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nn,borderStyle:rn,borderWidth:0,borderTopWidth:Qt,marginBlock:Qt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Bt(re)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${(0,dt.unit)(re.calc(lt).mul(2).equal())} ${(0,dt.unit)(At)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Yt,borderRadius:on,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:on},Bt(re)),ve(re)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:Ft},[`${ye}-submenu-title::after`]:{transition:`transform ${Be} ${ut}`}})},"\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:re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:re.paddingXS}}}),ve(re)),{[`&-inline-collapsed ${ye}-submenu-arrow,
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(Ot)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,dt.unit)(re.calc(Ot).mul(-1).equal())})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(${(0,dt.unit)(re.calc(en).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(re.calc(Ot).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,dt.unit)(Ot)})`}}})},{[`${he}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]},Ze=re=>{var he,ye,lt;const{colorPrimary:Be,colorError:Ke,colorTextDisabled:ut,colorErrorBg:Ct,colorText:At,colorTextDescription:nn,colorBgContainer:Qt,colorFillAlter:Yt,colorFillContent:on,lineWidth:Ft,lineWidthBold:en,controlItemBgActive:Ot,colorBgTextHover:rn,controlHeightLG:Ut,lineHeight:Ne,colorBgElevated:rt,marginXXS:zt,padding:Gt,fontSize:Pe,controlHeightSM:Ye,fontSizeLG:ft,colorTextLightSolid:kt,colorErrorHover:Jt}=re,cn=(he=re.activeBarWidth)!==null&&he!==void 0?he:0,An=(ye=re.activeBarBorderWidth)!==null&&ye!==void 0?ye:Ft,xn=(lt=re.itemMarginInline)!==null&&lt!==void 0?lt:re.marginXXS,dn=new nt.FastColor(kt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:At,itemColor:At,colorItemTextHover:At,itemHoverColor:At,colorItemTextHoverHorizontal:Be,horizontalItemHoverColor:Be,colorGroupTitle:nn,groupTitleColor:nn,colorItemTextSelected:Be,itemSelectedColor:Be,subMenuItemSelectedColor:Be,colorItemTextSelectedHorizontal:Be,horizontalItemSelectedColor:Be,colorItemBg:Qt,itemBg:Qt,colorItemBgHover:rn,itemHoverBg:rn,colorItemBgActive:on,itemActiveBg:Ot,colorSubItemBg:Yt,subMenuItemBg:Yt,colorItemBgSelected:Ot,itemSelectedBg:Ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:cn,colorActiveBarHeight:en,activeBarHeight:en,colorActiveBarBorderSize:Ft,activeBarBorderWidth:An,colorItemTextDisabled:ut,itemDisabledColor:ut,colorDangerItemText:Ke,dangerItemColor:Ke,colorDangerItemTextHover:Ke,dangerItemHoverColor:Ke,colorDangerItemTextSelected:Ke,dangerItemSelectedColor:Ke,colorDangerItemBgActive:Ct,dangerItemActiveBg:Ct,colorDangerItemBgSelected:Ct,dangerItemSelectedBg:Ct,itemMarginInline:xn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ut,groupTitleLineHeight:Ne,collapsedWidth:Ut*2,popupBg:rt,itemMarginBlock:zt,itemPaddingInline:Gt,horizontalLineHeight:`${Ut*1.15}px`,iconSize:Pe,iconMarginInlineEnd:Ye-Pe,collapsedIconSize:ft,groupTitleFontSize:Pe,darkItemDisabledColor:new nt.FastColor(kt).setA(.25).toRgbString(),darkItemColor:dn,darkDangerItemColor:Ke,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:kt,darkItemSelectedBg:Be,darkDangerItemSelectedBg:Ke,darkItemHoverBg:"transparent",darkGroupTitleColor:dn,darkItemHoverColor:kt,darkDangerItemHoverColor:Jt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:Ke,itemWidth:cn?`calc(100% + ${An}px)`:`calc(100% - ${xn*2}px)`}};var xt=function(re){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,De.I$)("Menu",Be=>{const{colorBgElevated:Ke,controlHeightLG:ut,fontSize:Ct,darkItemColor:At,darkDangerItemColor:nn,darkItemBg:Qt,darkSubMenuItemBg:Yt,darkItemSelectedColor:on,darkItemSelectedBg:Ft,darkDangerItemSelectedBg:en,darkItemHoverBg:Ot,darkGroupTitleColor:rn,darkItemHoverColor:Ut,darkItemDisabledColor:Ne,darkDangerItemHoverColor:rt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:Gt,popupBg:Pe,darkPopupBg:Ye}=Be,ft=Be.calc(Ct).div(7).mul(5).equal(),kt=(0,We.mergeToken)(Be,{menuArrowSize:ft,menuHorizontalHeight:Be.calc(ut).mul(1.15).equal(),menuArrowOffset:Be.calc(ft).mul(.25).equal(),menuSubMenuBg:Ke,calc:Be.calc,popupBg:Pe}),Jt=(0,We.mergeToken)(kt,{itemColor:At,itemHoverColor:Ut,groupTitleColor:rn,itemSelectedColor:on,subMenuItemSelectedColor:on,itemBg:Qt,popupBg:Ye,subMenuItemBg:Yt,itemActiveBg:"transparent",itemSelectedBg:Ft,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ot,itemDisabledColor:Ne,dangerItemColor:nn,dangerItemHoverColor:rt,dangerItemSelectedColor:zt,dangerItemActiveBg:Gt,dangerItemSelectedBg:en,menuSubMenuBg:Yt,horizontalItemSelectedColor:on,horizontalItemSelectedBg:Ft});return[ke(kt),ue(kt),Lt(kt),ge(kt,"light"),ge(Jt,"dark"),Le(kt),(0,et.Z)(kt),(0,He.oN)(kt,"slide-up"),(0,He.oN)(kt,"slide-down"),(0,vt._y)(kt,"zoom-big")]},Ze,{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}})(re,he)},Mt=te(75030),ze=re=>{var he;const{popupClassName:ye,icon:lt,title:Be,theme:Ke}=re,ut=E.useContext(Qe),{prefixCls:Ct,inlineCollapsed:At,theme:nn}=ut,Qt=(0,Ge.Xl)();let Yt;if(!lt)Yt=At&&!Qt.length&&Be&&typeof Be=="string"?E.createElement("div",{className:`${Ct}-inline-collapsed-noicon`},Be.charAt(0)):E.createElement("span",{className:`${Ct}-title-content`},Be);else{const en=E.isValidElement(Be)&&Be.type==="span";Yt=E.createElement(E.Fragment,null,(0,de.Tm)(lt,{className:Ee()(E.isValidElement(lt)?(he=lt.props)===null||he===void 0?void 0:he.className:"",`${Ct}-item-icon`)}),en?Be:E.createElement("span",{className:`${Ct}-title-content`},Be))}const on=E.useMemo(()=>Object.assign(Object.assign({},ut),{firstLevel:!1}),[ut]),[Ft]=(0,Mt.Cn)("Menu");return E.createElement(Qe.Provider,{value:on},E.createElement(Ge.Wd,Object.assign({},(0,Ie.Z)(re,["icon"]),{title:Yt,popupClassName:Ee()(Ct,ye,`${Ct}-${Ke||nn}`),popupStyle:Object.assign({zIndex:Ft},re.popupStyle)})))},Vt=function(re,he){var ye={};for(var lt in re)Object.prototype.hasOwnProperty.call(re,lt)&&he.indexOf(lt)<0&&(ye[lt]=re[lt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,lt=Object.getOwnPropertySymbols(re);Be<lt.length;Be++)he.indexOf(lt[Be])<0&&Object.prototype.propertyIsEnumerable.call(re,lt[Be])&&(ye[lt[Be]]=re[lt[Be]]);return ye};function gt(re){return re===null||re===!1}const ae={item:Et,submenu:ze,divider:je};var ee=(0,E.forwardRef)((re,he)=>{var ye;const lt=E.useContext(ct.Z),Be=lt||{},{getPrefixCls:Ke,getPopupContainer:ut,direction:Ct,menu:At}=E.useContext(Xe.E_),nn=Ke(),{prefixCls:Qt,className:Yt,style:on,theme:Ft="light",expandIcon:en,_internalDisableMenuItemTitleTooltip:Ot,inlineCollapsed:rn,siderCollapsed:Ut,rootClassName:Ne,mode:rt,selectable:zt,onClick:Gt,overflowedIndicatorPopupClassName:Pe}=re,Ye=Vt(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ft=(0,Ie.Z)(Ye,["collapsedWidth"]);(ye=Be.validator)===null||ye===void 0||ye.call(Be,{mode:rt});const kt=(0,Ae.Z)(function(){var ln;Gt==null||Gt.apply(void 0,arguments),(ln=Be.onClick)===null||ln===void 0||ln.call(Be)}),Jt=Be.mode||rt,cn=zt!=null?zt:Be.selectable,An=rn!=null?rn:Ut,xn={horizontal:{motionName:`${nn}-slide-up`},inline:(0,Se.Z)(nn),other:{motionName:`${nn}-zoom-big`}},dn=Ke("menu",Qt||Be.prefixCls),Sn=(0,xe.Z)(dn),[bn,tn,Wt]=xt(dn,Sn,!lt),jt=Ee()(`${dn}-${Ft}`,At==null?void 0:At.className,Yt),It=E.useMemo(()=>{var ln,$t;if(typeof en=="function"||gt(en))return en||null;if(typeof Be.expandIcon=="function"||gt(Be.expandIcon))return Be.expandIcon||null;if(typeof(At==null?void 0:At.expandIcon)=="function"||gt(At==null?void 0:At.expandIcon))return(At==null?void 0:At.expandIcon)||null;const gn=(ln=en!=null?en:Be==null?void 0:Be.expandIcon)!==null&&ln!==void 0?ln:At==null?void 0:At.expandIcon;return(0,de.Tm)(gn,{className:Ee()(`${dn}-submenu-expand-icon`,E.isValidElement(gn)?($t=gn.props)===null||$t===void 0?void 0:$t.className:void 0)})},[en,Be==null?void 0:Be.expandIcon,At==null?void 0:At.expandIcon,dn]),un=E.useMemo(()=>({prefixCls:dn,inlineCollapsed:An||!1,direction:Ct,firstLevel:!0,theme:Ft,mode:Jt,disableMenuItemTitleTooltip:Ot}),[dn,An,Ct,Ot,Ft]);return bn(E.createElement(ct.Z.Provider,{value:null},E.createElement(Qe.Provider,{value:un},E.createElement(Ge.ZP,Object.assign({getPopupContainer:ut,overflowedIndicator:E.createElement(Fe.Z,null),overflowedIndicatorPopupClassName:Ee()(dn,`${dn}-${Ft}`,Pe),mode:Jt,selectable:cn,onClick:kt},ft,{inlineCollapsed:An,style:Object.assign(Object.assign({},At==null?void 0:At.style),on),className:jt,prefixCls:dn,direction:Ct,defaultMotions:xn,expandIcon:It,ref:he,rootClassName:Ee()(Ne,tn,Be.rootClassName,Wt,Sn),_internalComponents:ae})))))});const oe=(0,E.forwardRef)((re,he)=>{const ye=(0,E.useRef)(null),lt=E.useContext(me.D);return(0,E.useImperativeHandle)(he,()=>({menu:ye.current,focus:Be=>{var Ke;(Ke=ye.current)===null||Ke===void 0||Ke.focus(Be)}})),E.createElement(ee,Object.assign({ref:ye},re,lt))});oe.Item=Et,oe.SubMenu=ze,oe.Divider=je,oe.ItemGroup=Ge.BW;var se=oe},89787:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ut}});var E=te(59301),Ge=te(17835),me=te(29679),Fe=te(40001),we=te(19248),Ee=te(99267),Ae=te(92310),Ie=te.n(Ae),Se=te(2738),de=te(48755),Xe=te(60499),xe=te(85899),wt=te(42244),Qe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Te=function(){var rt=(0,E.useRef)([]),zt=(0,E.useRef)(null);return(0,E.useEffect)(function(){var Gt=Date.now(),Pe=!1;rt.current.forEach(function(Ye){if(Ye){Pe=!0;var ft=Ye.style;ft.transitionDuration=".3s, .3s, .3s, .06s",zt.current&&Gt-zt.current<100&&(ft.transitionDuration="0s, 0s")}}),Pe&&(zt.current=Date.now())}),rt.current},$e=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],je=function(rt){var zt=(0,xe.Z)((0,xe.Z)({},Qe),rt),Gt=zt.className,Pe=zt.percent,Ye=zt.prefixCls,ft=zt.strokeColor,kt=zt.strokeLinecap,Jt=zt.strokeWidth,cn=zt.style,An=zt.trailColor,xn=zt.trailWidth,dn=zt.transition,Sn=(0,wt.Z)(zt,$e);delete Sn.gapPosition;var bn=Array.isArray(Pe)?Pe:[Pe],tn=Array.isArray(ft)?ft:[ft],Wt=Te(),jt=Jt/2,It=100-Jt/2,un="M ".concat(kt==="round"?jt:0,",").concat(jt,`
L `).concat(kt==="round"?It:100,",").concat(jt),ln="0 0 100 ".concat(Jt),$t=0;return E.createElement("svg",(0,Xe.Z)({className:Ie()("".concat(Ye,"-line"),Gt),viewBox:ln,preserveAspectRatio:"none",style:cn},Sn),E.createElement("path",{className:"".concat(Ye,"-line-trail"),d:un,strokeLinecap:kt,stroke:An,strokeWidth:xn||Jt,fillOpacity:"0"}),bn.map(function(gn,Cn){var yn=1;switch(kt){case"round":yn=1-Jt/100;break;case"square":yn=1-Jt/2/100;break;default:yn=1;break}var kn={strokeDasharray:"".concat(gn*yn,"px, 100px"),strokeDashoffset:"-".concat($t,"px"),transition:dn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Mn=tn[Cn]||tn[tn.length-1];return $t+=gn,E.createElement("path",{key:Cn,className:"".concat(Ye,"-line-path"),d:un,strokeLinecap:kt,stroke:Mn,strokeWidth:Jt,fillOpacity:"0",ref:function(Gn){Wt[Cn]=Gn},style:kn})}))},St=je,Nt=te(43749),Rt=te(72190),Et=te(47273),ct=0,dt=(0,Et.Z)();function nt(){var Ne;return dt?(Ne=ct,ct+=1):Ne="TEST_OR_SSR",Ne}var Dt=function(Ne){var rt=E.useState(),zt=(0,Rt.Z)(rt,2),Gt=zt[0],Pe=zt[1];return E.useEffect(function(){Pe("rc_progress_".concat(nt()))},[]),Ne||Gt},et=function(rt){var zt=rt.bg,Gt=rt.children;return E.createElement("div",{style:{width:"100%",height:"100%",background:zt}},Gt)};function He(Ne,rt){return Object.keys(Ne).map(function(zt){var Gt=parseFloat(zt),Pe="".concat(Math.floor(Gt*rt),"%");return"".concat(Ne[zt]," ").concat(Pe)})}var vt=E.forwardRef(function(Ne,rt){var zt=Ne.prefixCls,Gt=Ne.color,Pe=Ne.gradientId,Ye=Ne.radius,ft=Ne.style,kt=Ne.ptg,Jt=Ne.strokeLinecap,cn=Ne.strokeWidth,An=Ne.size,xn=Ne.gapDegree,dn=Gt&&(0,Nt.Z)(Gt)==="object",Sn=dn?"#FFF":void 0,bn=An/2,tn=E.createElement("circle",{className:"".concat(zt,"-circle-path"),r:Ye,cx:bn,cy:bn,stroke:Sn,strokeLinecap:Jt,strokeWidth:cn,opacity:kt===0?0:1,style:ft,ref:rt});if(!dn)return tn;var Wt="".concat(Pe,"-conic"),jt=xn?"".concat(180+xn/2,"deg"):"0deg",It=He(Gt,(360-xn)/360),un=He(Gt,1),ln="conic-gradient(from ".concat(jt,", ").concat(It.join(", "),")"),$t="linear-gradient(to ".concat(xn?"bottom":"top",", ").concat(un.join(", "),")");return E.createElement(E.Fragment,null,E.createElement("mask",{id:Wt},tn),E.createElement("foreignObject",{x:0,y:0,width:An,height:An,mask:"url(#".concat(Wt,")")},E.createElement(et,{bg:$t},E.createElement(et,{bg:ln}))))}),De=vt,We=100,Re=function(rt,zt,Gt,Pe,Ye,ft,kt,Jt,cn,An){var xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,dn=Gt/100*360*((360-ft)/360),Sn=ft===0?0:{bottom:0,top:180,left:90,right:-90}[kt],bn=(100-Pe)/100*zt;cn==="round"&&Pe!==100&&(bn+=An/2,bn>=zt&&(bn=zt-.01));var tn=We/2;return{stroke:typeof Jt=="string"?Jt:void 0,strokeDasharray:"".concat(zt,"px ").concat(rt),strokeDashoffset:bn+xn,transform:"rotate(".concat(Ye+dn+Sn,"deg)"),transformOrigin:"".concat(tn,"px ").concat(tn,"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 st(Ne){var rt=Ne!=null?Ne:[];return Array.isArray(rt)?rt:[rt]}var Le=function(rt){var zt=(0,xe.Z)((0,xe.Z)({},Qe),rt),Gt=zt.id,Pe=zt.prefixCls,Ye=zt.steps,ft=zt.strokeWidth,kt=zt.trailWidth,Jt=zt.gapDegree,cn=Jt===void 0?0:Jt,An=zt.gapPosition,xn=zt.trailColor,dn=zt.strokeLinecap,Sn=zt.style,bn=zt.className,tn=zt.strokeColor,Wt=zt.percent,jt=(0,wt.Z)(zt,ue),It=We/2,un=Dt(Gt),ln="".concat(un,"-gradient"),$t=It-ft/2,gn=Math.PI*2*$t,Cn=cn>0?90+cn/2:-90,yn=gn*((360-cn)/360),kn=(0,Nt.Z)(Ye)==="object"?Ye:{count:Ye,gap:2},Mn=kn.count,$n=kn.gap,Gn=st(Wt),Zt=st(tn),an=Zt.find(function(Me){return Me&&(0,Nt.Z)(Me)==="object"}),Bn=an&&(0,Nt.Z)(an)==="object",Pn=Bn?"butt":dn,Ve=Re(gn,yn,0,100,Cn,cn,An,xn,Pn,ft),at=Te(),Oe=function(){var qe=0;return Gn.map(function(Ce,ot){var ht=Zt[ot]||Zt[Zt.length-1],Pt=Re(gn,yn,qe,Ce,Cn,cn,An,ht,Pn,ft);return qe+=Ce,E.createElement(De,{key:ot,color:ht,ptg:Ce,radius:$t,prefixCls:Pe,gradientId:ln,style:Pt,strokeLinecap:Pn,strokeWidth:ft,gapDegree:cn,ref:function(_e){at[ot]=_e},size:We})}).reverse()},Je=function(){var qe=Math.round(Mn*(Gn[0]/100)),Ce=100/Mn,ot=0;return new Array(Mn).fill(null).map(function(ht,Pt){var pt=Pt<=qe-1?Zt[0]:xn,_e=pt&&(0,Nt.Z)(pt)==="object"?"url(#".concat(ln,")"):void 0,tt=Re(gn,yn,ot,Ce,Cn,cn,An,pt,"butt",ft,$n);return ot+=(yn-tt.strokeDashoffset+$n)*100/yn,E.createElement("circle",{key:Pt,className:"".concat(Pe,"-circle-path"),r:$t,cx:It,cy:It,stroke:_e,strokeWidth:ft,opacity:1,style:tt,ref:function(hn){at[Pt]=hn}})})};return E.createElement("svg",(0,Xe.Z)({className:Ie()("".concat(Pe,"-circle"),bn),viewBox:"0 0 ".concat(We," ").concat(We),style:Sn,id:Gt,role:"presentation"},jt),!Mn&&E.createElement("circle",{className:"".concat(Pe,"-circle-trail"),r:$t,cx:It,cy:It,stroke:xn,strokeLinecap:Pn,strokeWidth:kt||ft,style:Ve}),Mn?Je():Oe())},Ue=Le,Tt={Line:St,Circle:Ue},ge=te(25399),fe=te(68361);function bt(Ne){return!Ne||Ne<0?0:Ne>100?100:Ne}function Lt(Ne){let{success:rt,successPercent:zt}=Ne,Gt=zt;return rt&&"progress"in rt&&(Gt=rt.progress),rt&&"percent"in rt&&(Gt=rt.percent),Gt}const Bt=Ne=>{let{percent:rt,success:zt,successPercent:Gt}=Ne;const Pe=bt(Lt({success:zt,successPercent:Gt}));return[Pe,bt(bt(rt)-Pe)]},ve=Ne=>{let{success:rt={},strokeColor:zt}=Ne;const{strokeColor:Gt}=rt;return[Gt||fe.presetPrimaryColors.green,zt||null]},ke=(Ne,rt,zt)=>{var Gt,Pe,Ye,ft;let kt=-1,Jt=-1;if(rt==="step"){const cn=zt.steps,An=zt.strokeWidth;typeof Ne=="string"||typeof Ne=="undefined"?(kt=Ne==="small"?2:14,Jt=An!=null?An:8):typeof Ne=="number"?[kt,Jt]=[Ne,Ne]:[kt=14,Jt=8]=Array.isArray(Ne)?Ne:[Ne.width,Ne.height],kt*=cn}else if(rt==="line"){const cn=zt==null?void 0:zt.strokeWidth;typeof Ne=="string"||typeof Ne=="undefined"?Jt=cn||(Ne==="small"?6:8):typeof Ne=="number"?[kt,Jt]=[Ne,Ne]:[kt=-1,Jt=8]=Array.isArray(Ne)?Ne:[Ne.width,Ne.height]}else(rt==="circle"||rt==="dashboard")&&(typeof Ne=="string"||typeof Ne=="undefined"?[kt,Jt]=Ne==="small"?[60,60]:[120,120]:typeof Ne=="number"?[kt,Jt]=[Ne,Ne]:Array.isArray(Ne)&&(kt=(Pe=(Gt=Ne[0])!==null&&Gt!==void 0?Gt:Ne[1])!==null&&Pe!==void 0?Pe:120,Jt=(ft=(Ye=Ne[0])!==null&&Ye!==void 0?Ye:Ne[1])!==null&&ft!==void 0?ft:120));return[kt,Jt]},Ze=3,xt=Ne=>Ze/Ne*100;var Xt=Ne=>{const{prefixCls:rt,trailColor:zt=null,strokeLinecap:Gt="round",gapPosition:Pe,gapDegree:Ye,width:ft=120,type:kt,children:Jt,success:cn,size:An=ft,steps:xn}=Ne,[dn,Sn]=ke(An,"circle");let{strokeWidth:bn}=Ne;bn===void 0&&(bn=Math.max(xt(dn),6));const tn={width:dn,height:Sn,fontSize:dn*.15+6},Wt=E.useMemo(()=>{if(Ye||Ye===0)return Ye;if(kt==="dashboard")return 75},[Ye,kt]),jt=Bt(Ne),It=Pe||kt==="dashboard"&&"bottom"||void 0,un=Object.prototype.toString.call(Ne.strokeColor)==="[object Object]",ln=ve({success:cn,strokeColor:Ne.strokeColor}),$t=Ie()(`${rt}-inner`,{[`${rt}-circle-gradient`]:un}),gn=E.createElement(Ue,{steps:xn,percent:xn?jt[1]:jt,strokeWidth:bn,trailWidth:bn,strokeColor:xn?ln[1]:ln,strokeLinecap:Gt,trailColor:zt,prefixCls:rt,gapDegree:Wt,gapPosition:It}),Cn=dn<=20,yn=E.createElement("div",{className:$t,style:tn},gn,!Cn&&Jt);return Cn?E.createElement(ge.Z,{title:Jt},yn):yn},ze=te(36237),Vt=te(63356),gt=te(16931),ae=te(51636);const ne="--progress-line-stroke-color",ee="--progress-percent",oe=Ne=>{const rt=Ne?"100%":"-100%";return new ze.Keyframes(`antProgress${Ne?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${rt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${rt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=Ne=>{const{componentCls:rt,iconCls:zt}=Ne;return{[rt]:Object.assign(Object.assign({},(0,Vt.Wf)(Ne)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ne.fontSize},[`${rt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${rt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Ne.remainingColor,borderRadius:Ne.lineBorderRadius},[`${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Ne.defaultColor}},[`${rt}-success-bg, ${rt}-bg`]:{position:"relative",background:Ne.defaultColor,borderRadius:Ne.lineBorderRadius,transition:`all ${Ne.motionDurationSlow} ${Ne.motionEaseInOutCirc}`},[`${rt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${rt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Ne.marginXXS}},[`${rt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${ee}) * 100%)`,display:"block"},[`&${rt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${rt}-text-inner`]:{color:Ne.colorWhite,[`&${rt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${rt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ne.colorSuccess},[`${rt}-text`]:{display:"inline-block",marginInlineStart:Ne.marginXS,color:Ne.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[zt]:{fontSize:Ne.fontSize},[`&${rt}-text-outer`]:{width:"max-content"},[`&${rt}-text-outer${rt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Ne.marginXS}},[`${rt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ze.unit)(Ne.paddingXXS)}`,[`&${rt}-text-start`]:{justifyContent:"start"},[`&${rt}-text-end`]:{justifyContent:"end"}},[`&${rt}-status-active`]:{[`${rt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ne.colorBgContainer,borderRadius:Ne.lineBorderRadius,opacity:0,animationName:oe(),animationDuration:Ne.progressActiveMotionDuration,animationTimingFunction:Ne.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${rt}-rtl${rt}-status-active`]:{[`${rt}-bg::before`]:{animationName:oe(!0)}},[`&${rt}-status-exception`]:{[`${rt}-bg`]:{backgroundColor:Ne.colorError},[`${rt}-text`]:{color:Ne.colorError}},[`&${rt}-status-exception ${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Ne.colorError}},[`&${rt}-status-success`]:{[`${rt}-bg`]:{backgroundColor:Ne.colorSuccess},[`${rt}-text`]:{color:Ne.colorSuccess}},[`&${rt}-status-success ${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Ne.colorSuccess}}})}},re=Ne=>{const{componentCls:rt,iconCls:zt}=Ne;return{[rt]:{[`${rt}-circle-trail`]:{stroke:Ne.remainingColor},[`&${rt}-circle ${rt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${rt}-circle ${rt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ne.circleTextColor,fontSize:Ne.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[zt]:{fontSize:Ne.circleIconFontSize}},[`${rt}-circle&-status-exception`]:{[`${rt}-text`]:{color:Ne.colorError}},[`${rt}-circle&-status-success`]:{[`${rt}-text`]:{color:Ne.colorSuccess}}},[`${rt}-inline-circle`]:{lineHeight:1,[`${rt}-inner`]:{verticalAlign:"bottom"}}}},he=Ne=>{const{componentCls:rt}=Ne;return{[rt]:{[`${rt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ne.progressStepMinWidth,marginInlineEnd:Ne.progressStepMarginInlineEnd,backgroundColor:Ne.remainingColor,transition:`all ${Ne.motionDurationSlow}`,"&-active":{backgroundColor:Ne.defaultColor}}}}}},ye=Ne=>{const{componentCls:rt,iconCls:zt}=Ne;return{[rt]:{[`${rt}-small&-line, ${rt}-small&-line ${rt}-text ${zt}`]:{fontSize:Ne.fontSizeSM}}}},lt=Ne=>({circleTextColor:Ne.colorText,defaultColor:Ne.colorInfo,remainingColor:Ne.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Ne.fontSize/Ne.fontSizeSM}em`});var Be=(0,gt.I$)("Progress",Ne=>{const rt=Ne.calc(Ne.marginXXS).div(2).equal(),zt=(0,ae.mergeToken)(Ne,{progressStepMarginInlineEnd:rt,progressStepMinWidth:rt,progressActiveMotionDuration:"2.4s"});return[se(zt),re(zt),he(zt),ye(zt)]},lt),Ke=function(Ne,rt){var zt={};for(var Gt in Ne)Object.prototype.hasOwnProperty.call(Ne,Gt)&&rt.indexOf(Gt)<0&&(zt[Gt]=Ne[Gt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Gt=Object.getOwnPropertySymbols(Ne);Pe<Gt.length;Pe++)rt.indexOf(Gt[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Gt[Pe])&&(zt[Gt[Pe]]=Ne[Gt[Pe]]);return zt};const ut=Ne=>{let rt=[];return Object.keys(Ne).forEach(zt=>{const Gt=parseFloat(zt.replace(/%/g,""));Number.isNaN(Gt)||rt.push({key:Gt,value:Ne[zt]})}),rt=rt.sort((zt,Gt)=>zt.key-Gt.key),rt.map(zt=>{let{key:Gt,value:Pe}=zt;return`${Pe} ${Gt}%`}).join(", ")},Ct=(Ne,rt)=>{const{from:zt=fe.presetPrimaryColors.blue,to:Gt=fe.presetPrimaryColors.blue,direction:Pe=rt==="rtl"?"to left":"to right"}=Ne,Ye=Ke(Ne,["from","to","direction"]);if(Object.keys(Ye).length!==0){const kt=ut(Ye),Jt=`linear-gradient(${Pe}, ${kt})`;return{background:Jt,[ne]:Jt}}const ft=`linear-gradient(${Pe}, ${zt}, ${Gt})`;return{background:ft,[ne]:ft}};var nn=Ne=>{const{prefixCls:rt,direction:zt,percent:Gt,size:Pe,strokeWidth:Ye,strokeColor:ft,strokeLinecap:kt="round",children:Jt,trailColor:cn=null,percentPosition:An,success:xn}=Ne,{align:dn,type:Sn}=An,bn=ft&&typeof ft!="string"?Ct(ft,zt):{[ne]:ft,background:ft},tn=kt==="square"||kt==="butt"?0:void 0,Wt=Pe!=null?Pe:[-1,Ye||(Pe==="small"?6:8)],[jt,It]=ke(Wt,"line",{strokeWidth:Ye}),un={backgroundColor:cn||void 0,borderRadius:tn},ln=Object.assign(Object.assign({width:`${bt(Gt)}%`,height:It,borderRadius:tn},bn),{[ee]:bt(Gt)/100}),$t=Lt(Ne),gn={width:`${bt($t)}%`,height:It,borderRadius:tn,backgroundColor:xn==null?void 0:xn.strokeColor},Cn={width:jt<0?"100%":jt},yn=E.createElement("div",{className:`${rt}-inner`,style:un},E.createElement("div",{className:Ie()(`${rt}-bg`,`${rt}-bg-${Sn}`),style:ln},Sn==="inner"&&Jt),$t!==void 0&&E.createElement("div",{className:`${rt}-success-bg`,style:gn})),kn=Sn==="outer"&&dn==="start",Mn=Sn==="outer"&&dn==="end";return Sn==="outer"&&dn==="center"?E.createElement("div",{className:`${rt}-layout-bottom`},yn,Jt):E.createElement("div",{className:`${rt}-outer`,style:Cn},kn&&Jt,yn,Mn&&Jt)},Yt=Ne=>{const{size:rt,steps:zt,rounding:Gt=Math.round,percent:Pe=0,strokeWidth:Ye=8,strokeColor:ft,trailColor:kt=null,prefixCls:Jt,children:cn}=Ne,An=Gt(zt*(Pe/100)),xn=rt==="small"?2:14,dn=rt!=null?rt:[xn,Ye],[Sn,bn]=ke(dn,"step",{steps:zt,strokeWidth:Ye}),tn=Sn/zt,Wt=Array.from({length:zt});for(let jt=0;jt<zt;jt++){const It=Array.isArray(ft)?ft[jt]:ft;Wt[jt]=E.createElement("div",{key:jt,className:Ie()(`${Jt}-steps-item`,{[`${Jt}-steps-item-active`]:jt<=An-1}),style:{backgroundColor:jt<=An-1?It:kt,width:tn,height:bn}})}return E.createElement("div",{className:`${Jt}-steps-outer`},Wt,cn)},on=function(Ne,rt){var zt={};for(var Gt in Ne)Object.prototype.hasOwnProperty.call(Ne,Gt)&&rt.indexOf(Gt)<0&&(zt[Gt]=Ne[Gt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Gt=Object.getOwnPropertySymbols(Ne);Pe<Gt.length;Pe++)rt.indexOf(Gt[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Gt[Pe])&&(zt[Gt[Pe]]=Ne[Gt[Pe]]);return zt};const Ft=null,en=["normal","exception","active","success"];var rn=E.forwardRef((Ne,rt)=>{const{prefixCls:zt,className:Gt,rootClassName:Pe,steps:Ye,strokeColor:ft,percent:kt=0,size:Jt="default",showInfo:cn=!0,type:An="line",status:xn,format:dn,style:Sn,percentPosition:bn={}}=Ne,tn=on(Ne,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Wt="end",type:jt="outer"}=bn,It=Array.isArray(ft)?ft[0]:ft,un=typeof ft=="string"||Array.isArray(ft)?ft:void 0,ln=E.useMemo(()=>{if(It){const Oe=typeof It=="string"?It:Object.values(It)[0];return new Ge.FastColor(Oe).isLight()}return!1},[ft]),$t=E.useMemo(()=>{var Oe,Je;const Me=Lt(Ne);return parseInt(Me!==void 0?(Oe=Me!=null?Me:0)===null||Oe===void 0?void 0:Oe.toString():(Je=kt!=null?kt:0)===null||Je===void 0?void 0:Je.toString(),10)},[kt,Ne.success,Ne.successPercent]),gn=E.useMemo(()=>!en.includes(xn)&&$t>=100?"success":xn||"normal",[xn,$t]),{getPrefixCls:Cn,direction:yn,progress:kn}=E.useContext(de.E_),Mn=Cn("progress",zt),[$n,Gn,Zt]=Be(Mn),an=An==="line",Bn=an&&!Ye,Pn=E.useMemo(()=>{if(!cn)return null;const Oe=Lt(Ne);let Je;const Me=dn||(Ce=>`${Ce}%`),qe=an&&ln&&jt==="inner";return jt==="inner"||dn||gn!=="exception"&&gn!=="success"?Je=Me(bt(kt),bt(Oe)):gn==="exception"?Je=an?E.createElement(we.Z,null):E.createElement(Ee.Z,null):gn==="success"&&(Je=an?E.createElement(me.Z,null):E.createElement(Fe.Z,null)),E.createElement("span",{className:Ie()(`${Mn}-text`,{[`${Mn}-text-bright`]:qe,[`${Mn}-text-${Wt}`]:Bn,[`${Mn}-text-${jt}`]:Bn}),title:typeof Je=="string"?Je:void 0},Je)},[cn,kt,$t,gn,An,Mn,dn]);let Ve;An==="line"?Ve=Ye?E.createElement(Yt,Object.assign({},Ne,{strokeColor:un,prefixCls:Mn,steps:typeof Ye=="object"?Ye.count:Ye}),Pn):E.createElement(nn,Object.assign({},Ne,{strokeColor:It,prefixCls:Mn,direction:yn,percentPosition:{align:Wt,type:jt}}),Pn):(An==="circle"||An==="dashboard")&&(Ve=E.createElement(Xt,Object.assign({},Ne,{strokeColor:It,prefixCls:Mn,progressStatus:gn}),Pn));const at=Ie()(Mn,`${Mn}-status-${gn}`,{[`${Mn}-${An==="dashboard"&&"circle"||An}`]:An!=="line",[`${Mn}-inline-circle`]:An==="circle"&&ke(Jt,"circle")[0]<=20,[`${Mn}-line`]:Bn,[`${Mn}-line-align-${Wt}`]:Bn,[`${Mn}-line-position-${jt}`]:Bn,[`${Mn}-steps`]:Ye,[`${Mn}-show-info`]:cn,[`${Mn}-${Jt}`]:typeof Jt=="string",[`${Mn}-rtl`]:yn==="rtl"},kn==null?void 0:kn.className,Gt,Pe,Gn,Zt);return $n(E.createElement("div",Object.assign({ref:rt,style:Object.assign(Object.assign({},kn==null?void 0:kn.style),Sn),className:at,role:"progressbar","aria-valuenow":$t,"aria-valuemin":0,"aria-valuemax":100},(0,Se.Z)(tn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ve))}),Ut=rn},63139:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Bt}});var E=te(59301),Ge=te(60499),me={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"},Fe=me,we=te(7657),Ee=function(ke,Ze){return E.createElement(we.Z,(0,Ge.Z)({},ke,{ref:Ze,icon:Fe}))},Ae=E.forwardRef(Ee),Ie=Ae,Se=te(92310),de=te.n(Se),Xe=te(18642),xe=te(72190),wt=te(42244),Qe=te(18929),Te=te(10228),$e=te(26112);function je(ve,ke){var Ze=ve.disabled,xt=ve.prefixCls,Mt=ve.character,Xt=ve.characterRender,ze=ve.index,Vt=ve.count,gt=ve.value,ae=ve.allowHalf,ne=ve.focused,ee=ve.onHover,oe=ve.onClick,se=function(Ct){ee(Ct,ze)},re=function(Ct){oe(Ct,ze)},he=function(Ct){Ct.keyCode===Te.Z.ENTER&&oe(Ct,ze)},ye=ze+1,lt=new Set([xt]);gt===0&&ze===0&&ne?lt.add("".concat(xt,"-focused")):ae&&gt+.5>=ye&&gt<ye?(lt.add("".concat(xt,"-half")),lt.add("".concat(xt,"-active")),ne&&lt.add("".concat(xt,"-focused"))):(ye<=gt?lt.add("".concat(xt,"-full")):lt.add("".concat(xt,"-zero")),ye===gt&&ne&&lt.add("".concat(xt,"-focused")));var Be=typeof Mt=="function"?Mt(ve):Mt,Ke=E.createElement("li",{className:de()(Array.from(lt)),ref:ke},E.createElement("div",{onClick:Ze?null:re,onKeyDown:Ze?null:he,onMouseMove:Ze?null:se,role:"radio","aria-checked":gt>ze?"true":"false","aria-posinset":ze+1,"aria-setsize":Vt,tabIndex:Ze?-1:0},E.createElement("div",{className:"".concat(xt,"-first")},Be),E.createElement("div",{className:"".concat(xt,"-second")},Be)));return Xt&&(Ke=Xt(Ke,ve)),Ke}var St=E.forwardRef(je);function Nt(){var ve=E.useRef({});function ke(xt){return ve.current[xt]}function Ze(xt){return function(Mt){ve.current[xt]=Mt}}return[ke,Ze]}function Rt(ve){var ke=ve.pageXOffset,Ze="scrollLeft";if(typeof ke!="number"){var xt=ve.document;ke=xt.documentElement[Ze],typeof ke!="number"&&(ke=xt.body[Ze])}return ke}function Et(ve){var ke,Ze,xt=ve.ownerDocument,Mt=xt.body,Xt=xt&&xt.documentElement,ze=ve.getBoundingClientRect();return ke=ze.left,Ze=ze.top,ke-=Xt.clientLeft||Mt.clientLeft||0,Ze-=Xt.clientTop||Mt.clientTop||0,{left:ke,top:Ze}}function ct(ve){var ke=Et(ve),Ze=ve.ownerDocument,xt=Ze.defaultView||Ze.parentWindow;return ke.left+=Rt(xt),ke.left}var dt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function nt(ve,ke){var Ze=ve.prefixCls,xt=Ze===void 0?"rc-rate":Ze,Mt=ve.className,Xt=ve.defaultValue,ze=ve.value,Vt=ve.count,gt=Vt===void 0?5:Vt,ae=ve.allowHalf,ne=ae===void 0?!1:ae,ee=ve.allowClear,oe=ee===void 0?!0:ee,se=ve.keyboard,re=se===void 0?!0:se,he=ve.character,ye=he===void 0?"\u2605":he,lt=ve.characterRender,Be=ve.disabled,Ke=ve.direction,ut=Ke===void 0?"ltr":Ke,Ct=ve.tabIndex,At=Ct===void 0?0:Ct,nn=ve.autoFocus,Qt=ve.onHoverChange,Yt=ve.onChange,on=ve.onFocus,Ft=ve.onBlur,en=ve.onKeyDown,Ot=ve.onMouseLeave,rn=(0,wt.Z)(ve,dt),Ut=Nt(),Ne=(0,xe.Z)(Ut,2),rt=Ne[0],zt=Ne[1],Gt=E.useRef(null),Pe=function(){if(!Be){var Pn;(Pn=Gt.current)===null||Pn===void 0||Pn.focus()}};E.useImperativeHandle(ke,function(){return{focus:Pe,blur:function(){if(!Be){var Pn;(Pn=Gt.current)===null||Pn===void 0||Pn.blur()}}}});var Ye=(0,Qe.Z)(Xt||0,{value:ze}),ft=(0,xe.Z)(Ye,2),kt=ft[0],Jt=ft[1],cn=(0,Qe.Z)(null),An=(0,xe.Z)(cn,2),xn=An[0],dn=An[1],Sn=function(Pn,Ve){var at=ut==="rtl",Oe=Pn+1;if(ne){var Je=rt(Pn),Me=ct(Je),qe=Je.clientWidth;(at&&Ve-Me>qe/2||!at&&Ve-Me<qe/2)&&(Oe-=.5)}return Oe},bn=function(Pn){Jt(Pn),Yt==null||Yt(Pn)},tn=E.useState(!1),Wt=(0,xe.Z)(tn,2),jt=Wt[0],It=Wt[1],un=function(){It(!0),on==null||on()},ln=function(){It(!1),Ft==null||Ft()},$t=E.useState(null),gn=(0,xe.Z)($t,2),Cn=gn[0],yn=gn[1],kn=function(Pn,Ve){var at=Sn(Ve,Pn.pageX);at!==xn&&(yn(at),dn(null)),Qt==null||Qt(at)},Mn=function(Pn){Be||(yn(null),dn(null),Qt==null||Qt(void 0)),Pn&&(Ot==null||Ot(Pn))},$n=function(Pn,Ve){var at=Sn(Ve,Pn.pageX),Oe=!1;oe&&(Oe=at===kt),Mn(),bn(Oe?0:at),dn(Oe?at:null)},Gn=function(Pn){var Ve=Pn.keyCode,at=ut==="rtl",Oe=ne?.5:1;re&&(Ve===Te.Z.RIGHT&&kt<gt&&!at?(bn(kt+Oe),Pn.preventDefault()):Ve===Te.Z.LEFT&&kt>0&&!at||Ve===Te.Z.RIGHT&&kt>0&&at?(bn(kt-Oe),Pn.preventDefault()):Ve===Te.Z.LEFT&&kt<gt&&at&&(bn(kt+Oe),Pn.preventDefault())),en==null||en(Pn)};E.useEffect(function(){nn&&!Be&&Pe()},[]);var Zt=new Array(gt).fill(0).map(function(Bn,Pn){return E.createElement(St,{ref:zt(Pn),index:Pn,count:gt,disabled:Be,prefixCls:"".concat(xt,"-star"),allowHalf:ne,value:Cn===null?kt:Cn,onClick:$n,onHover:kn,key:Bn||Pn,character:ye,characterRender:lt,focused:jt})}),an=de()(xt,Mt,(0,Xe.Z)((0,Xe.Z)({},"".concat(xt,"-disabled"),Be),"".concat(xt,"-rtl"),ut==="rtl"));return E.createElement("ul",(0,Ge.Z)({className:an,onMouseLeave:Mn,tabIndex:Be?-1:At,onFocus:Be?null:un,onBlur:Be?null:ln,onKeyDown:Be?null:Gn,ref:Gt},(0,$e.Z)(rn,{aria:!0,data:!0,attr:!0})),Zt)}var Dt=E.forwardRef(nt),et=Dt,He=te(48755),vt=te(25399),De=te(36237),We=te(63356),Re=te(16931),ue=te(51636);const st=ve=>{const{componentCls:ke}=ve;return{[`${ke}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ve.marginXS},"> div":{transition:`all ${ve.motionDurationMid}, outline 0s`,"&:hover":{transform:ve.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,De.unit)(ve.lineWidth)} dashed ${ve.starColor}`,transform:ve.starHoverScale}},"&-first, &-second":{color:ve.starBg,transition:`all ${ve.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ke}-star-first, &-half ${ke}-star-second`]:{opacity:1},[`&-half ${ke}-star-first, &-full ${ke}-star-second`]:{color:"inherit"}}}},Le=ve=>({[`&-rtl${ve.componentCls}`]:{direction:"rtl"}}),Ue=ve=>{const{componentCls:ke}=ve;return{[ke]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(ve)),{display:"inline-block",margin:0,padding:0,color:ve.starColor,fontSize:ve.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${ke} ${ke}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),st(ve)),Le(ve))}},Tt=ve=>({starColor:ve.yellow6,starSize:ve.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ve.colorFillContent});var ge=(0,Re.I$)("Rate",ve=>{const ke=(0,ue.mergeToken)(ve,{});return[Ue(ke)]},Tt),fe=te(2171),bt=function(ve,ke){var Ze={};for(var xt in ve)Object.prototype.hasOwnProperty.call(ve,xt)&&ke.indexOf(xt)<0&&(Ze[xt]=ve[xt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,xt=Object.getOwnPropertySymbols(ve);Mt<xt.length;Mt++)ke.indexOf(xt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(ve,xt[Mt])&&(Ze[xt[Mt]]=ve[xt[Mt]]);return Ze},Bt=E.forwardRef((ve,ke)=>{const{prefixCls:Ze,className:xt,rootClassName:Mt,style:Xt,tooltips:ze,character:Vt=E.createElement(Ie,null),disabled:gt}=ve,ae=bt(ve,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(Ct,At)=>{let{index:nn}=At;return ze?E.createElement(vt.Z,{title:ze[nn]},Ct):Ct},{getPrefixCls:ee,direction:oe,rate:se}=E.useContext(He.E_),re=ee("rate",Ze),[he,ye,lt]=ge(re),Be=Object.assign(Object.assign({},se==null?void 0:se.style),Xt),Ke=E.useContext(fe.Z),ut=gt!=null?gt:Ke;return he(E.createElement(et,Object.assign({ref:ke,character:Vt,characterRender:ne,disabled:ut},ae,{className:de()(xt,Mt,ye,lt,se==null?void 0:se.className),style:Be,prefixCls:re,direction:oe})))})},82326:function(_t,Ht,te){"use strict";var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(37463),we=te(2738),Ee=te(75030),Ae=te(86641),Ie=te(45915),Se=te(82855),de=te(48755),Xe=te(38406),xe=te(2171),wt=te(83397),Qe=te(31756),Te=te(56553),$e=te(24971),je=te(70045),St=te(57700),Nt=te(1722),Rt=te(90376),Et=te(68525),ct=te(90005),dt=function(vt,De){var We={};for(var Re in vt)Object.prototype.hasOwnProperty.call(vt,Re)&&De.indexOf(Re)<0&&(We[Re]=vt[Re]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Re=Object.getOwnPropertySymbols(vt);ue<Re.length;ue++)De.indexOf(Re[ue])<0&&Object.prototype.propertyIsEnumerable.call(vt,Re[ue])&&(We[Re[ue]]=vt[Re[ue]]);return We};const nt="SECRET_COMBOBOX_MODE_DO_NOT_USE",Dt=(vt,De)=>{var We;const{prefixCls:Re,bordered:ue,className:st,rootClassName:Le,getPopupContainer:Ue,popupClassName:Tt,dropdownClassName:ge,listHeight:fe=256,placement:bt,listItemHeight:Lt,size:Bt,disabled:ve,notFoundContent:ke,status:Ze,builtinPlacements:xt,dropdownMatchSelectWidth:Mt,popupMatchSelectWidth:Xt,direction:ze,style:Vt,allowClear:gt,variant:ae,dropdownStyle:ne,transitionName:ee,tagRender:oe,maxCount:se,prefix:re}=vt,he=dt(vt,["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:Be,direction:Ke,virtual:ut,popupMatchSelectWidth:Ct,popupOverflow:At}=E.useContext(de.E_),nn=(0,de.dj)("select"),[,Qt]=(0,St.ZP)(),Yt=Lt!=null?Lt:Qt==null?void 0:Qt.controlHeight,on=lt("select",Re),Ft=lt(),en=ze!=null?ze:Ke,{compactSize:Ot,compactItemClassnames:rn}=(0,je.ri)(on,en),[Ut,Ne]=(0,$e.Z)("select",ae,ue),rt=(0,wt.Z)(on),[zt,Gt,Pe]=(0,Rt.Z)(on,rt),Ye=E.useMemo(()=>{const{mode:Gn}=vt;if(Gn!=="combobox")return Gn===nt?"combobox":Gn},[vt.mode]),ft=Ye==="multiple"||Ye==="tags",kt=(0,ct.Z)(vt.suffixIcon,vt.showArrow),Jt=(We=Xt!=null?Xt:Mt)!==null&&We!==void 0?We:Ct,{status:cn,hasFeedback:An,isFormItemInput:xn,feedbackIcon:dn}=E.useContext(Te.aM),Sn=(0,Se.F)(cn,Ze);let bn;ke!==void 0?bn=ke:Ye==="combobox"?bn=null:bn=(Be==null?void 0:Be("Select"))||E.createElement(Xe.Z,{componentName:"Select"});const{suffixIcon:tn,itemIcon:Wt,removeIcon:jt,clearIcon:It}=(0,Et.Z)(Object.assign(Object.assign({},he),{multiple:ft,hasFeedback:An,feedbackIcon:dn,showSuffixIcon:kt,prefixCls:on,componentName:"Select"})),un=gt===!0?{clearIcon:It}:gt,ln=(0,we.Z)(he,["suffixIcon","itemIcon"]),$t=me()(Tt||ge,{[`${on}-dropdown-${en}`]:en==="rtl"},Le,Pe,rt,Gt),gn=(0,Qe.Z)(Gn=>{var Zt;return(Zt=Bt!=null?Bt:Ot)!==null&&Zt!==void 0?Zt:Gn}),Cn=E.useContext(xe.Z),yn=ve!=null?ve:Cn,kn=me()({[`${on}-lg`]:gn==="large",[`${on}-sm`]:gn==="small",[`${on}-rtl`]:en==="rtl",[`${on}-${Ut}`]:Ne,[`${on}-in-form-item`]:xn},(0,Se.Z)(on,Sn,An),rn,nn.className,st,Le,Pe,rt,Gt),Mn=E.useMemo(()=>bt!==void 0?bt:en==="rtl"?"bottomRight":"bottomLeft",[bt,en]),[$n]=(0,Ee.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return zt(E.createElement(Fe.ZP,Object.assign({ref:De,virtual:ut,showSearch:nn.showSearch},ln,{style:Object.assign(Object.assign({},nn.style),Vt),dropdownMatchSelectWidth:Jt,transitionName:(0,Ae.m)(Ft,"slide-up",ee),builtinPlacements:(0,Nt.Z)(xt,At),listHeight:fe,listItemHeight:Yt,mode:Ye,prefixCls:on,placement:Mn,direction:en,prefix:re,suffixIcon:tn,menuItemSelectedIcon:Wt,removeIcon:jt,allowClear:un,notFoundContent:bn,className:kn,getPopupContainer:Ue||ye,dropdownClassName:$t,disabled:yn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:$n}),maxCount:ft?se:void 0,tagRender:ft?oe:void 0})))},et=E.forwardRef(Dt),He=(0,Ie.Z)(et,"dropdownAlign");et.SECRET_COMBOBOX_MODE_DO_NOT_USE=nt,et.Option=Fe.Wx,et.OptGroup=Fe.Xo,et._InternalPanelDoNotUseOrYouWillBeFired=He,Ht.default=et},1722:function(_t,Ht){"use strict";const te=Ge=>{const Fe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ge==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Fe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Fe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Fe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Fe),{points:["br","tr"],offset:[0,-4]})}};function E(Ge,me){return Ge||te(me)}Ht.Z=E},90376:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Re}});var E=te(63356),Ge=te(56119),me=te(16931),Fe=te(51636),we=te(46e3),Ee=te(93873);const Ae=ue=>{const{optionHeight:st,optionFontSize:Le,optionLineHeight:Ue,optionPadding:Tt}=ue;return{position:"relative",display:"block",minHeight:st,padding:Tt,color:ue.colorText,fontWeight:"normal",fontSize:Le,lineHeight:Ue,boxSizing:"border-box"}};var Se=ue=>{const{antCls:st,componentCls:Le}=ue,Ue=`${Le}-item`,Tt=`&${st}-slide-up-enter${st}-slide-up-enter-active`,ge=`&${st}-slide-up-appear${st}-slide-up-appear-active`,fe=`&${st}-slide-up-leave${st}-slide-up-leave-active`,bt=`${Le}-dropdown-placement-`,Lt=`${Ue}-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,[`
${Tt}${bt}bottomLeft,
${ge}${bt}bottomLeft
`]:{animationName:we.fJ},[`
${Tt}${bt}topLeft,
${ge}${bt}topLeft,
${Tt}${bt}topRight,
${ge}${bt}topRight
`]:{animationName:we.Qt},[`${fe}${bt}bottomLeft`]:{animationName:we.Uw},[`
${fe}${bt}topLeft,
${fe}${bt}topRight
`]:{animationName:we.ly},"&-hidden":{display:"none"},[Ue]:Object.assign(Object.assign({},Ae(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(${Ue}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${Ue}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${Ue}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${Ue}-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({},Ae(ue)),{color:ue.colorTextDisabled})}),[`${Lt}:has(+ ${Lt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Lt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,we.oN)(ue,"slide-up"),(0,we.oN)(ue,"slide-down"),(0,Ee.Fm)(ue,"move-up"),(0,Ee.Fm)(ue,"move-down")]},de=te(26743),Xe=te(36237);function xe(ue,st){const{componentCls:Le,inputPaddingHorizontalBase:Ue,borderRadius:Tt}=ue,ge=ue.calc(ue.controlHeight).sub(ue.calc(ue.lineWidth).mul(2)).equal(),fe=st?`${Le}-${st}`:"";return{[`${Le}-single${fe}`]:{fontSize:ue.fontSize,height:ue.controlHeight,[`${Le}-selector`]:Object.assign(Object.assign({},(0,E.Wf)(ue,!0)),{display:"flex",borderRadius:Tt,flex:"1 1 auto",[`${Le}-selection-wrap:after`]:{lineHeight:(0,Xe.unit)(ge)},[`${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,Xe.unit)(ge),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,Xe.unit)(Ue)}`,[`${Le}-selection-search-input`]:{height:ge,fontSize:ue.fontSize},"&:after":{lineHeight:(0,Xe.unit)(ge)}}},[`&${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,Xe.unit)(Ue)}`,"&:after":{display:"none"}}}}}}}function wt(ue){const{componentCls:st}=ue,Le=ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal();return[xe(ue),xe((0,Fe.mergeToken)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${st}-single${st}-sm`]:{[`&:not(${st}-customize-input)`]:{[`${st}-selector`]:{padding:`0 ${(0,Xe.unit)(Le)}`},[`&${st}-show-arrow ${st}-selection-search`]:{insetInlineEnd:ue.calc(Le).add(ue.calc(ue.fontSize).mul(1.5)).equal()},[`
&${st}-show-arrow ${st}-selection-item,
&${st}-show-arrow ${st}-selection-placeholder
`]:{paddingInlineEnd:ue.calc(ue.fontSize).mul(1.5).equal()}}}},xe((0,Fe.mergeToken)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const Qe=ue=>{const{fontSize:st,lineHeight:Le,lineWidth:Ue,controlHeight:Tt,controlHeightSM:ge,controlHeightLG:fe,paddingXXS:bt,controlPaddingHorizontal:Lt,zIndexPopupBase:Bt,colorText:ve,fontWeightStrong:ke,controlItemBgActive:Ze,controlItemBgHover:xt,colorBgContainer:Mt,colorFillSecondary:Xt,colorBgContainerDisabled:ze,colorTextDisabled:Vt,colorPrimaryHover:gt,colorPrimary:ae,controlOutline:ne}=ue,ee=bt*2,oe=Ue*2,se=Math.min(Tt-ee,Tt-oe),re=Math.min(ge-ee,ge-oe),he=Math.min(fe-ee,fe-oe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(bt/2),zIndexPopup:Bt+50,optionSelectedColor:ve,optionSelectedFontWeight:ke,optionSelectedBg:Ze,optionActiveBg:xt,optionPadding:`${(Tt-st*Le)/2}px ${Lt}px`,optionFontSize:st,optionLineHeight:Le,optionHeight:Tt,selectorBg:Mt,clearBg:Mt,singleItemHeightLG:fe,multipleItemBg:Xt,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:re,multipleItemHeightLG:he,multipleSelectorBgDisabled:ze,multipleItemColorDisabled:Vt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ue.fontSize*1.25),hoverBorderColor:gt,activeBorderColor:ae,activeOutlineColor:ne,selectAffixPadding:bt}},Te=(ue,st)=>{const{componentCls:Le,antCls:Ue,controlOutlineWidth:Tt}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{border:`${(0,Xe.unit)(ue.lineWidth)} ${ue.lineType} ${st.borderColor}`,background:ue.selectorBg},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${Ue}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{borderColor:st.hoverBorderHover},[`${Le}-focused& ${Le}-selector`]:{borderColor:st.activeBorderColor,boxShadow:`0 0 0 ${(0,Xe.unit)(Tt)} ${st.activeOutlineColor}`,outline:0},[`${Le}-prefix`]:{color:st.color}}}},$e=(ue,st)=>({[`&${ue.componentCls}-status-${st.status}`]:Object.assign({},Te(ue,st))}),je=ue=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Te(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),$e(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),$e(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,Xe.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})}),St=(ue,st)=>{const{componentCls:Le,antCls:Ue}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{background:st.bg,border:`${(0,Xe.unit)(ue.lineWidth)} ${ue.lineType} transparent`,color:st.color},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${Ue}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{background:st.hoverBg},[`${Le}-focused& ${Le}-selector`]:{background:ue.selectorBg,borderColor:st.activeBorderColor,outline:0}}}},Nt=(ue,st)=>({[`&${ue.componentCls}-status-${st.status}`]:Object.assign({},St(ue,st))}),Rt=ue=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},St(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,Xe.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}})}),Et=ue=>({"&-borderless":{[`${ue.componentCls}-selector`]:{background:"transparent",border:`${(0,Xe.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,Xe.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}}}}),ct=(ue,st)=>{const{componentCls:Le,antCls:Ue}=ue;return{[`&:not(${Le}-customize-input) ${Le}-selector`]:{borderWidth:`0 0 ${(0,Xe.unit)(ue.lineWidth)} 0`,borderStyle:`none none ${ue.lineType} none`,borderColor:st.borderColor,background:ue.selectorBg,borderRadius:0},[`&:not(${Le}-disabled):not(${Le}-customize-input):not(${Ue}-pagination-size-changer)`]:{[`&:hover ${Le}-selector`]:{borderColor:st.hoverBorderHover},[`${Le}-focused& ${Le}-selector`]:{borderColor:st.activeBorderColor,outline:0},[`${Le}-prefix`]:{color:st.color}}}},dt=(ue,st)=>({[`&${ue.componentCls}-status-${st.status}`]:Object.assign({},ct(ue,st))}),nt=ue=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},ct(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),dt(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),dt(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,Xe.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})});var et=ue=>({[ue.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},je(ue)),Rt(ue)),Et(ue)),nt(ue))});const He=ue=>{const{componentCls:st}=ue;return{position:"relative",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${st}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${st}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},vt=ue=>{const{componentCls:st}=ue;return{[`${st}-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"}}}},De=ue=>{const{antCls:st,componentCls:Le,inputPaddingHorizontalBase:Ue,iconCls:Tt}=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({},He(ue)),vt(ue)),[`${Le}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},E.vS),{[`> ${st}-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:Ue,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`,[Tt]:{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:Ue,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(Ue).add(ue.fontSize).add(ue.paddingXS).equal()}}}}}},We=ue=>{const{componentCls:st}=ue;return[{[st]:{[`&${st}-in-form-item`]:{width:"100%"}}},De(ue),wt(ue),(0,de.ZP)(ue),Se(ue),{[`${st}-rtl`]:{direction:"rtl"}},(0,Ge.c)(ue,{borderElCls:`${st}-selector`,focusElCls:`${st}-focused`})]};var Re=(0,me.I$)("Select",(ue,st)=>{let{rootPrefixCls:Le}=st;const Ue=(0,Fe.mergeToken)(ue,{rootPrefixCls:Le,inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[We(Ue),et(Ue)]},Qe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(_t,Ht,te){"use strict";te.d(Ht,{_z:function(){return Ee},gp:function(){return Fe}});var E=te(36237),Ge=te(63356),me=te(51636);const Fe=de=>{const{multipleSelectItemHeight:Xe,paddingXXS:xe,lineWidth:wt,INTERNAL_FIXED_ITEM_MARGIN:Qe}=de,Te=de.max(de.calc(xe).sub(wt).equal(),0),$e=de.max(de.calc(Te).sub(Qe).equal(),0);return{basePadding:Te,containerPadding:$e,itemHeight:(0,E.unit)(Xe),itemLineHeight:(0,E.unit)(de.calc(Xe).sub(de.calc(de.lineWidth).mul(2)).equal())}},we=de=>{const{multipleSelectItemHeight:Xe,selectHeight:xe,lineWidth:wt}=de;return de.calc(xe).sub(Xe).div(2).sub(wt).equal()},Ee=de=>{const{componentCls:Xe,iconCls:xe,borderRadiusSM:wt,motionDurationSlow:Qe,paddingXS:Te,multipleItemColorDisabled:$e,multipleItemBorderColorDisabled:je,colorIcon:St,colorIconHover:Nt,INTERNAL_FIXED_ITEM_MARGIN:Rt}=de;return{[`${Xe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Xe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Rt,borderRadius:wt,cursor:"default",transition:`font-size ${Qe}, line-height ${Qe}, height ${Qe}`,marginInlineEnd:de.calc(Rt).mul(2).equal(),paddingInlineStart:Te,paddingInlineEnd:de.calc(Te).div(2).equal(),[`${Xe}-disabled&`]:{color:$e,borderColor:je,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:de.calc(Te).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ge.Ro)()),{display:"inline-flex",alignItems:"center",color:St,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${xe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Nt}})}}}},Ae=(de,Xe)=>{const{componentCls:xe,INTERNAL_FIXED_ITEM_MARGIN:wt}=de,Qe=`${xe}-selection-overflow`,Te=de.multipleSelectItemHeight,$e=we(de),je=Xe?`${xe}-${Xe}`:"",St=Fe(de);return{[`${xe}-multiple${je}`]:Object.assign(Object.assign({},Ee(de)),{[`${xe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:St.basePadding,paddingBlock:St.containerPadding,borderRadius:de.borderRadius,[`${xe}-disabled&`]:{background:de.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,E.unit)(wt)} 0`,lineHeight:(0,E.unit)(Te),visibility:"hidden",content:'"\\a0"'}},[`${xe}-selection-item`]:{height:St.itemHeight,lineHeight:(0,E.unit)(St.itemLineHeight)},[`${xe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,E.unit)(Te),marginBlock:wt}},[`${xe}-prefix`]:{marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(St.basePadding).equal()},[`${Qe}-item + ${Qe}-item,
${xe}-prefix + ${xe}-selection-wrap
`]:{[`${xe}-selection-search`]:{marginInlineStart:0},[`${xe}-selection-placeholder`]:{insetInlineStart:0}},[`${Qe}-item-suffix`]:{minHeight:St.itemHeight,marginBlock:wt},[`${xe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub($e).equal(),"\n &-input,\n &-mirror\n ":{height:Te,fontFamily:de.fontFamily,lineHeight:(0,E.unit)(Te),transition:`all ${de.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:de.calc(de.inputPaddingHorizontalBase).sub(St.basePadding).equal(),insetInlineEnd:de.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${de.motionDurationSlow}`}})}};function Ie(de,Xe){const{componentCls:xe}=de,wt=Xe?`${xe}-${Xe}`:"",Qe={[`${xe}-multiple${wt}`]:{fontSize:de.fontSize,[`${xe}-selector`]:{[`${xe}-show-search&`]:{cursor:"text"}},[`
&${xe}-show-arrow ${xe}-selector,
&${xe}-allow-clear ${xe}-selector
`]:{paddingInlineEnd:de.calc(de.fontSizeIcon).add(de.controlPaddingHorizontal).equal()}}};return[Ae(de,Xe),Qe]}const Se=de=>{const{componentCls:Xe}=de,xe=(0,me.mergeToken)(de,{selectHeight:de.controlHeightSM,multipleSelectItemHeight:de.multipleItemHeightSM,borderRadius:de.borderRadiusSM,borderRadiusSM:de.borderRadiusXS}),wt=(0,me.mergeToken)(de,{fontSize:de.fontSizeLG,selectHeight:de.controlHeightLG,multipleSelectItemHeight:de.multipleItemHeightLG,borderRadius:de.borderRadiusLG,borderRadiusSM:de.borderRadius});return[Ie(de),Ie(xe,"sm"),{[`${Xe}-multiple${Xe}-sm`]:{[`${Xe}-selection-placeholder`]:{insetInline:de.calc(de.controlPaddingHorizontalSM).sub(de.lineWidth).equal()},[`${Xe}-selection-search`]:{marginInlineStart:2}}},Ie(wt,"lg")]};Ht.ZP=Se},68525:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});var E=te(59301),Ge=te(40001),me=te(19248),Fe=te(99267),we=te(84105),Ee=te(58617),Ae=te(47472);function Ie(Se){let{suffixIcon:de,clearIcon:Xe,menuItemSelectedIcon:xe,removeIcon:wt,loading:Qe,multiple:Te,hasFeedback:$e,prefixCls:je,showSuffixIcon:St,feedbackIcon:Nt,showArrow:Rt,componentName:Et}=Se;const ct=Xe!=null?Xe:E.createElement(me.Z,null),dt=He=>de===null&&!$e&&!Rt?null:E.createElement(E.Fragment,null,St!==!1&&He,$e&&Nt);let nt=null;if(de!==void 0)nt=dt(de);else if(Qe)nt=dt(E.createElement(Ee.Z,{spin:!0}));else{const He=`${je}-suffix`;nt=vt=>{let{open:De,showSearch:We}=vt;return dt(De&&We?E.createElement(Ae.Z,{className:He}):E.createElement(we.Z,{className:He}))}}let Dt=null;xe!==void 0?Dt=xe:Te?Dt=E.createElement(Ge.Z,null):Dt=null;let et=null;return wt!==void 0?et=wt:et=E.createElement(Fe.Z,null),{clearIcon:ct,suffixIcon:nt,itemIcon:Dt,removeIcon:et}}},90005:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return E}});function E(Ge,me){return me!==void 0?me:Ge!==null}},11938:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return vt}});var E=te(59301),Ge=te(40192),me=te(22703),Fe=te(92310),we=te.n(Fe),Ee=te(26112),Ae=te(48755),Ie=te(458),de=De=>{const{value:We,formatter:Re,precision:ue,decimalSeparator:st,groupSeparator:Le="",prefixCls:Ue}=De;let Tt;if(typeof Re=="function")Tt=Re(We);else{const ge=String(We),fe=ge.match(/^(-?)(\d*)(\.(\d+))?$/);if(!fe||ge==="-")Tt=ge;else{const bt=fe[1];let Lt=fe[2]||"0",Bt=fe[4]||"";Lt=Lt.replace(/\B(?=(\d{3})+(?!\d))/g,Le),typeof ue=="number"&&(Bt=Bt.padEnd(ue,"0").slice(0,ue>0?ue:0)),Bt&&(Bt=`${st}${Bt}`),Tt=[E.createElement("span",{key:"int",className:`${Ue}-content-value-int`},bt,Lt),Bt&&E.createElement("span",{key:"decimal",className:`${Ue}-content-value-decimal`},Bt)]}}return E.createElement("span",{className:`${Ue}-content-value`},Tt)},Xe=te(63356),xe=te(16931),wt=te(51636);const Qe=De=>{const{componentCls:We,marginXXS:Re,padding:ue,colorTextDescription:st,titleFontSize:Le,colorTextHeading:Ue,contentFontSize:Tt,fontFamily:ge}=De;return{[We]:Object.assign(Object.assign({},(0,Xe.Wf)(De)),{[`${We}-title`]:{marginBottom:Re,color:st,fontSize:Le},[`${We}-skeleton`]:{paddingTop:ue},[`${We}-content`]:{color:Ue,fontSize:Tt,fontFamily:ge,[`${We}-content-value`]:{display:"inline-block",direction:"ltr"},[`${We}-content-prefix, ${We}-content-suffix`]:{display:"inline-block"},[`${We}-content-prefix`]:{marginInlineEnd:Re},[`${We}-content-suffix`]:{marginInlineStart:Re}}})}},Te=De=>{const{fontSizeHeading3:We,fontSize:Re}=De;return{titleFontSize:Re,contentFontSize:We}};var $e=(0,xe.I$)("Statistic",De=>{const We=(0,wt.mergeToken)(De,{});return[Qe(We)]},Te),je=function(De,We){var Re={};for(var ue in De)Object.prototype.hasOwnProperty.call(De,ue)&&We.indexOf(ue)<0&&(Re[ue]=De[ue]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,ue=Object.getOwnPropertySymbols(De);st<ue.length;st++)We.indexOf(ue[st])<0&&Object.prototype.propertyIsEnumerable.call(De,ue[st])&&(Re[ue[st]]=De[ue[st]]);return Re},Nt=De=>{const{prefixCls:We,className:Re,rootClassName:ue,style:st,valueStyle:Le,value:Ue=0,title:Tt,valueRender:ge,prefix:fe,suffix:bt,loading:Lt=!1,formatter:Bt,precision:ve,decimalSeparator:ke=".",groupSeparator:Ze=",",onMouseEnter:xt,onMouseLeave:Mt}=De,Xt=je(De,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ze,direction:Vt,className:gt,style:ae}=(0,Ae.dj)("statistic"),ne=ze("statistic",We),[ee,oe,se]=$e(ne),re=E.createElement(de,{decimalSeparator:ke,groupSeparator:Ze,prefixCls:ne,formatter:Bt,precision:ve,value:Ue}),he=we()(ne,{[`${ne}-rtl`]:Vt==="rtl"},gt,Re,ue,oe,se),ye=(0,Ee.Z)(Xt,{aria:!0,data:!0});return ee(E.createElement("div",Object.assign({},ye,{className:he,style:Object.assign(Object.assign({},ae),st),onMouseEnter:xt,onMouseLeave:Mt}),Tt&&E.createElement("div",{className:`${ne}-title`},Tt),E.createElement(Ie.Z,{paragraph:!1,loading:Lt,className:`${ne}-skeleton`},E.createElement("div",{style:Le,className:`${ne}-content`},fe&&E.createElement("span",{className:`${ne}-content-prefix`},fe),ge?ge(re):re,bt&&E.createElement("span",{className:`${ne}-content-suffix`},bt)))))};const Rt=[["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 Et(De,We){let Re=De;const ue=/\[[^\]]*]/g,st=(We.match(ue)||[]).map(ge=>ge.slice(1,-1)),Le=We.replace(ue,"[]"),Ue=Rt.reduce((ge,fe)=>{let[bt,Lt]=fe;if(ge.includes(bt)){const Bt=Math.floor(Re/Lt);return Re-=Bt*Lt,ge.replace(new RegExp(`${bt}+`,"g"),ve=>{const ke=ve.length;return Bt.toString().padStart(ke,"0")})}return ge},Le);let Tt=0;return Ue.replace(ue,()=>{const ge=st[Tt];return Tt+=1,ge})}function ct(De,We){const{format:Re=""}=We,ue=new Date(De).getTime(),st=Date.now(),Le=Math.max(ue-st,0);return Et(Le,Re)}var dt=function(De,We){var Re={};for(var ue in De)Object.prototype.hasOwnProperty.call(De,ue)&&We.indexOf(ue)<0&&(Re[ue]=De[ue]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,ue=Object.getOwnPropertySymbols(De);st<ue.length;st++)We.indexOf(ue[st])<0&&Object.prototype.propertyIsEnumerable.call(De,ue[st])&&(Re[ue[st]]=De[ue[st]]);return Re};const nt=1e3/30;function Dt(De){return new Date(De).getTime()}const et=De=>{const{value:We,format:Re="HH:mm:ss",onChange:ue,onFinish:st}=De,Le=dt(De,["value","format","onChange","onFinish"]),Ue=(0,Ge.Z)(),Tt=E.useRef(null),ge=()=>{st==null||st(),Tt.current&&(clearInterval(Tt.current),Tt.current=null)},fe=()=>{const Bt=Dt(We);Bt>=Date.now()&&(Tt.current=setInterval(()=>{Ue(),ue==null||ue(Bt-Date.now()),Bt<Date.now()&&ge()},nt))};E.useEffect(()=>(fe(),()=>{Tt.current&&(clearInterval(Tt.current),Tt.current=null)}),[We]);const bt=(Bt,ve)=>ct(Bt,Object.assign(Object.assign({},ve),{format:Re})),Lt=Bt=>(0,me.Tm)(Bt,{title:void 0});return E.createElement(Nt,Object.assign({},Le,{value:We,valueRender:Lt,formatter:bt}))};var He=E.memo(et);Nt.Countdown=He;var vt=Nt},58755:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return st}});var E=te(59301),Ge=te(58617),me=te(92310),Fe=te.n(me),we=te(60499),Ee=te(18642),Ae=te(72190),Ie=te(42244),Se=te(18929),de=te(10228),Xe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],xe=E.forwardRef(function(Le,Ue){var Tt,ge=Le.prefixCls,fe=ge===void 0?"rc-switch":ge,bt=Le.className,Lt=Le.checked,Bt=Le.defaultChecked,ve=Le.disabled,ke=Le.loadingIcon,Ze=Le.checkedChildren,xt=Le.unCheckedChildren,Mt=Le.onClick,Xt=Le.onChange,ze=Le.onKeyDown,Vt=(0,Ie.Z)(Le,Xe),gt=(0,Se.Z)(!1,{value:Lt,defaultValue:Bt}),ae=(0,Ae.Z)(gt,2),ne=ae[0],ee=ae[1];function oe(ye,lt){var Be=ne;return ve||(Be=ye,ee(Be),Xt==null||Xt(Be,lt)),Be}function se(ye){ye.which===de.Z.LEFT?oe(!1,ye):ye.which===de.Z.RIGHT&&oe(!0,ye),ze==null||ze(ye)}function re(ye){var lt=oe(!ne,ye);Mt==null||Mt(lt,ye)}var he=Fe()(fe,bt,(Tt={},(0,Ee.Z)(Tt,"".concat(fe,"-checked"),ne),(0,Ee.Z)(Tt,"".concat(fe,"-disabled"),ve),Tt));return E.createElement("button",(0,we.Z)({},Vt,{type:"button",role:"switch","aria-checked":ne,disabled:ve,className:he,ref:Ue,onKeyDown:se,onClick:re}),ke,E.createElement("span",{className:"".concat(fe,"-inner")},E.createElement("span",{className:"".concat(fe,"-inner-checked")},Ze),E.createElement("span",{className:"".concat(fe,"-inner-unchecked")},xt)))});xe.displayName="Switch";var wt=xe,Qe=te(12919),Te=te(48755),$e=te(2171),je=te(31756),St=te(36237),Nt=te(17835),Rt=te(63356),Et=te(16931),ct=te(51636);const dt=Le=>{const{componentCls:Ue,trackHeightSM:Tt,trackPadding:ge,trackMinWidthSM:fe,innerMinMarginSM:bt,innerMaxMarginSM:Lt,handleSizeSM:Bt,calc:ve}=Le,ke=`${Ue}-inner`,Ze=(0,St.unit)(ve(Bt).add(ve(ge).mul(2)).equal()),xt=(0,St.unit)(ve(Lt).mul(2).equal());return{[Ue]:{[`&${Ue}-small`]:{minWidth:fe,height:Tt,lineHeight:(0,St.unit)(Tt),[`${Ue}-inner`]:{paddingInlineStart:Lt,paddingInlineEnd:bt,[`${ke}-checked, ${ke}-unchecked`]:{minHeight:Tt},[`${ke}-checked`]:{marginInlineStart:`calc(-100% + ${Ze} - ${xt})`,marginInlineEnd:`calc(100% - ${Ze} + ${xt})`},[`${ke}-unchecked`]:{marginTop:ve(Tt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ue}-handle`]:{width:Bt,height:Bt},[`${Ue}-loading-icon`]:{top:ve(ve(Bt).sub(Le.switchLoadingIconSize)).div(2).equal(),fontSize:Le.switchLoadingIconSize},[`&${Ue}-checked`]:{[`${Ue}-inner`]:{paddingInlineStart:bt,paddingInlineEnd:Lt,[`${ke}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ke}-unchecked`]:{marginInlineStart:`calc(100% - ${Ze} + ${xt})`,marginInlineEnd:`calc(-100% + ${Ze} - ${xt})`}},[`${Ue}-handle`]:{insetInlineStart:`calc(100% - ${(0,St.unit)(ve(Bt).add(ge).equal())})`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${ke}`]:{[`${ke}-unchecked`]:{marginInlineStart:ve(Le.marginXXS).div(2).equal(),marginInlineEnd:ve(Le.marginXXS).mul(-1).div(2).equal()}},[`&${Ue}-checked ${ke}`]:{[`${ke}-checked`]:{marginInlineStart:ve(Le.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:ve(Le.marginXXS).div(2).equal()}}}}}}},nt=Le=>{const{componentCls:Ue,handleSize:Tt,calc:ge}=Le;return{[Ue]:{[`${Ue}-loading-icon${Le.iconCls}`]:{position:"relative",top:ge(ge(Tt).sub(Le.fontSize)).div(2).equal(),color:Le.switchLoadingIconColor,verticalAlign:"top"},[`&${Ue}-checked ${Ue}-loading-icon`]:{color:Le.switchColor}}}},Dt=Le=>{const{componentCls:Ue,trackPadding:Tt,handleBg:ge,handleShadow:fe,handleSize:bt,calc:Lt}=Le,Bt=`${Ue}-handle`;return{[Ue]:{[Bt]:{position:"absolute",top:Tt,insetInlineStart:Tt,width:bt,height:bt,transition:`all ${Le.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ge,borderRadius:Lt(bt).div(2).equal(),boxShadow:fe,transition:`all ${Le.switchDuration} ease-in-out`,content:'""'}},[`&${Ue}-checked ${Bt}`]:{insetInlineStart:`calc(100% - ${(0,St.unit)(Lt(bt).add(Tt).equal())})`},[`&:not(${Ue}-disabled):active`]:{[`${Bt}::before`]:{insetInlineEnd:Le.switchHandleActiveInset,insetInlineStart:0},[`&${Ue}-checked ${Bt}::before`]:{insetInlineEnd:0,insetInlineStart:Le.switchHandleActiveInset}}}}},et=Le=>{const{componentCls:Ue,trackHeight:Tt,trackPadding:ge,innerMinMargin:fe,innerMaxMargin:bt,handleSize:Lt,calc:Bt}=Le,ve=`${Ue}-inner`,ke=(0,St.unit)(Bt(Lt).add(Bt(ge).mul(2)).equal()),Ze=(0,St.unit)(Bt(bt).mul(2).equal());return{[Ue]:{[ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:bt,paddingInlineEnd:fe,transition:`padding-inline-start ${Le.switchDuration} ease-in-out, padding-inline-end ${Le.switchDuration} ease-in-out`,[`${ve}-checked, ${ve}-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:Tt},[`${ve}-checked`]:{marginInlineStart:`calc(-100% + ${ke} - ${Ze})`,marginInlineEnd:`calc(100% - ${ke} + ${Ze})`},[`${ve}-unchecked`]:{marginTop:Bt(Tt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ue}-checked ${ve}`]:{paddingInlineStart:fe,paddingInlineEnd:bt,[`${ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ve}-unchecked`]:{marginInlineStart:`calc(100% - ${ke} + ${Ze})`,marginInlineEnd:`calc(-100% + ${ke} - ${Ze})`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${ve}`]:{[`${ve}-unchecked`]:{marginInlineStart:Bt(ge).mul(2).equal(),marginInlineEnd:Bt(ge).mul(-1).mul(2).equal()}},[`&${Ue}-checked ${ve}`]:{[`${ve}-checked`]:{marginInlineStart:Bt(ge).mul(-1).mul(2).equal(),marginInlineEnd:Bt(ge).mul(2).equal()}}}}}},He=Le=>{const{componentCls:Ue,trackHeight:Tt,trackMinWidth:ge}=Le;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Rt.Wf)(Le)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:ge,height:Tt,lineHeight:(0,St.unit)(Tt),verticalAlign:"middle",background:Le.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Le.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ue}-disabled)`]:{background:Le.colorTextTertiary}}),(0,Rt.Qy)(Le)),{[`&${Ue}-checked`]:{background:Le.switchColor,[`&:hover:not(${Ue}-disabled)`]:{background:Le.colorPrimaryHover}},[`&${Ue}-loading, &${Ue}-disabled`]:{cursor:"not-allowed",opacity:Le.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ue}-rtl`]:{direction:"rtl"}})}},vt=Le=>{const{fontSize:Ue,lineHeight:Tt,controlHeight:ge,colorWhite:fe}=Le,bt=Ue*Tt,Lt=ge/2,Bt=2,ve=bt-Bt*2,ke=Lt-Bt*2;return{trackHeight:bt,trackHeightSM:Lt,trackMinWidth:ve*2+Bt*4,trackMinWidthSM:ke*2+Bt*2,trackPadding:Bt,handleBg:fe,handleSize:ve,handleSizeSM:ke,handleShadow:`0 2px 4px 0 ${new Nt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:ve/2,innerMaxMargin:ve+Bt+Bt*2,innerMinMarginSM:ke/2,innerMaxMarginSM:ke+Bt+Bt*2}};var De=(0,Et.I$)("Switch",Le=>{const Ue=(0,ct.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[He(Ue),et(Ue),Dt(Ue),nt(Ue),dt(Ue)]},vt),We=function(Le,Ue){var Tt={};for(var ge in Le)Object.prototype.hasOwnProperty.call(Le,ge)&&Ue.indexOf(ge)<0&&(Tt[ge]=Le[ge]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,ge=Object.getOwnPropertySymbols(Le);fe<ge.length;fe++)Ue.indexOf(ge[fe])<0&&Object.prototype.propertyIsEnumerable.call(Le,ge[fe])&&(Tt[ge[fe]]=Le[ge[fe]]);return Tt};const ue=E.forwardRef((Le,Ue)=>{const{prefixCls:Tt,size:ge,disabled:fe,loading:bt,className:Lt,rootClassName:Bt,style:ve,checked:ke,value:Ze,defaultChecked:xt,defaultValue:Mt,onChange:Xt}=Le,ze=We(Le,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Vt,gt]=(0,Se.Z)(!1,{value:ke!=null?ke:Ze,defaultValue:xt!=null?xt:Mt}),{getPrefixCls:ae,direction:ne,switch:ee}=E.useContext(Te.E_),oe=E.useContext($e.Z),se=(fe!=null?fe:oe)||bt,re=ae("switch",Tt),he=E.createElement("div",{className:`${re}-handle`},bt&&E.createElement(Ge.Z,{className:`${re}-loading-icon`})),[ye,lt,Be]=De(re),Ke=(0,je.Z)(ge),ut=Fe()(ee==null?void 0:ee.className,{[`${re}-small`]:Ke==="small",[`${re}-loading`]:bt,[`${re}-rtl`]:ne==="rtl"},Lt,Bt,lt,Be),Ct=Object.assign(Object.assign({},ee==null?void 0:ee.style),ve),At=function(){gt(arguments.length<=0?void 0:arguments[0]),Xt==null||Xt.apply(void 0,arguments)};return ye(E.createElement(Qe.Z,{component:"Switch"},E.createElement(wt,Object.assign({},ze,{checked:Vt,onChange:At,prefixCls:re,className:ut,style:Ct,disabled:se,ref:Ue,loadingIcon:he}))))});ue.__ANT_SWITCH=!0;var st=ue},96599:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return Re}});var E=te(59301),Ge=te(92310),me=te.n(Ge),Fe=te(2738),we=te(29509),Ee=te(78776),Ae=te(22703),Ie=te(12919),Se=te(48755),de=te(36237),Xe=te(17835),xe=te(63356),wt=te(51636),Qe=te(16931);const Te=ue=>{const{paddingXXS:st,lineWidth:Le,tagPaddingHorizontal:Ue,componentCls:Tt,calc:ge}=ue,fe=ge(Ue).sub(Le).equal(),bt=ge(st).sub(Le).equal();return{[Tt]:Object.assign(Object.assign({},(0,xe.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:fe,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${(0,de.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Tt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${Tt}-close-icon`]:{marginInlineStart:bt,fontSize:ue.tagIconSize,color:ue.colorTextDescription,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${Tt}-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(${Tt}-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:fe}}),[`${Tt}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},$e=ue=>{const{lineWidth:st,fontSizeIcon:Le,calc:Ue}=ue,Tt=ue.fontSizeSM;return(0,wt.mergeToken)(ue,{tagFontSize:Tt,tagLineHeight:(0,de.unit)(Ue(ue.lineHeightSM).mul(Tt).equal()),tagIconSize:Ue(Le).sub(Ue(st).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ue.defaultBg})},je=ue=>({defaultBg:new Xe.FastColor(ue.colorFillQuaternary).onBackground(ue.colorBgContainer).toHexString(),defaultColor:ue.colorText});var St=(0,Qe.I$)("Tag",ue=>{const st=$e(ue);return Te(st)},je),Nt=function(ue,st){var Le={};for(var Ue in ue)Object.prototype.hasOwnProperty.call(ue,Ue)&&st.indexOf(Ue)<0&&(Le[Ue]=ue[Ue]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Ue=Object.getOwnPropertySymbols(ue);Tt<Ue.length;Tt++)st.indexOf(Ue[Tt])<0&&Object.prototype.propertyIsEnumerable.call(ue,Ue[Tt])&&(Le[Ue[Tt]]=ue[Ue[Tt]]);return Le},Et=E.forwardRef((ue,st)=>{const{prefixCls:Le,style:Ue,className:Tt,checked:ge,onChange:fe,onClick:bt}=ue,Lt=Nt(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Bt,tag:ve}=E.useContext(Se.E_),ke=Vt=>{fe==null||fe(!ge),bt==null||bt(Vt)},Ze=Bt("tag",Le),[xt,Mt,Xt]=St(Ze),ze=me()(Ze,`${Ze}-checkable`,{[`${Ze}-checkable-checked`]:ge},ve==null?void 0:ve.className,Tt,Mt,Xt);return xt(E.createElement("span",Object.assign({},Lt,{ref:st,style:Object.assign(Object.assign({},Ue),ve==null?void 0:ve.style),className:ze,onClick:ke})))}),ct=te(93427);const dt=ue=>(0,ct.Z)(ue,(st,Le)=>{let{textColor:Ue,lightBorderColor:Tt,lightColor:ge,darkColor:fe}=Le;return{[`${ue.componentCls}${ue.componentCls}-${st}`]:{color:Ue,background:ge,borderColor:Tt,"&-inverse":{color:ue.colorTextLightSolid,background:fe,borderColor:fe},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var nt=(0,Qe.bk)(["Tag","preset"],ue=>{const st=$e(ue);return dt(st)},je);function Dt(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const et=(ue,st,Le)=>{const Ue=Dt(Le);return{[`${ue.componentCls}${ue.componentCls}-${st}`]:{color:ue[`color${Le}`],background:ue[`color${Ue}Bg`],borderColor:ue[`color${Ue}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var He=(0,Qe.bk)(["Tag","status"],ue=>{const st=$e(ue);return[et(st,"success","Success"),et(st,"processing","Info"),et(st,"error","Error"),et(st,"warning","Warning")]},je),vt=function(ue,st){var Le={};for(var Ue in ue)Object.prototype.hasOwnProperty.call(ue,Ue)&&st.indexOf(Ue)<0&&(Le[Ue]=ue[Ue]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Ue=Object.getOwnPropertySymbols(ue);Tt<Ue.length;Tt++)st.indexOf(Ue[Tt])<0&&Object.prototype.propertyIsEnumerable.call(ue,Ue[Tt])&&(Le[Ue[Tt]]=ue[Ue[Tt]]);return Le};const We=E.forwardRef((ue,st)=>{const{prefixCls:Le,className:Ue,rootClassName:Tt,style:ge,children:fe,icon:bt,color:Lt,onClose:Bt,bordered:ve=!0,visible:ke}=ue,Ze=vt(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:xt,direction:Mt,tag:Xt}=E.useContext(Se.E_),[ze,Vt]=E.useState(!0),gt=(0,Fe.Z)(Ze,["closeIcon","closable"]);E.useEffect(()=>{ke!==void 0&&Vt(ke)},[ke]);const ae=(0,we.o2)(Lt),ne=(0,we.yT)(Lt),ee=ae||ne,oe=Object.assign(Object.assign({backgroundColor:Lt&&!ee?Lt:void 0},Xt==null?void 0:Xt.style),ge),se=xt("tag",Le),[re,he,ye]=St(se),lt=me()(se,Xt==null?void 0:Xt.className,{[`${se}-${Lt}`]:ee,[`${se}-has-color`]:Lt&&!ee,[`${se}-hidden`]:!ze,[`${se}-rtl`]:Mt==="rtl",[`${se}-borderless`]:!ve},Ue,Tt,he,ye),Be=Qt=>{Qt.stopPropagation(),Bt==null||Bt(Qt),!Qt.defaultPrevented&&Vt(!1)},[,Ke]=(0,Ee.Z)((0,Ee.w)(ue),(0,Ee.w)(Xt),{closable:!1,closeIconRender:Qt=>{const Yt=E.createElement("span",{className:`${se}-close-icon`,onClick:Be},Qt);return(0,Ae.wm)(Qt,Yt,on=>({onClick:Ft=>{var en;(en=on==null?void 0:on.onClick)===null||en===void 0||en.call(on,Ft),Be(Ft)},className:me()(on==null?void 0:on.className,`${se}-close-icon`)}))}}),ut=typeof Ze.onClick=="function"||fe&&fe.type==="a",Ct=bt||null,At=Ct?E.createElement(E.Fragment,null,Ct,fe&&E.createElement("span",null,fe)):fe,nn=E.createElement("span",Object.assign({},gt,{ref:st,className:lt,style:oe}),At,Ke,ae&&E.createElement(nt,{key:"preset",prefixCls:se}),ne&&E.createElement(He,{key:"status",prefixCls:se}));return re(ut?E.createElement(Ie.Z,{component:"Tag"},nn):nn)});We.CheckableTag=Et;var Re=We},94968:function(_t,Ht,te){"use strict";te.d(Ht,{default:function(){return qe}});var E=te(59301),Ge=te(77654),me=te(4676),Fe=te(92310),we=te.n(Fe),Ee=te(60499),Ae=te(38705),Ie=te(17212),Se=te(15793),de=te(39153),Xe=te(55401),xe=te(18642),wt=te(85899),Qe=te(42244),Te=te(43749),$e=te(73001),je=te(11576),St=te(26112),Nt=te(48736),Rt=function(Ce,ot){if(Ce&&ot){var ht=Array.isArray(ot)?ot:ot.split(","),Pt=Ce.name||"",pt=Ce.type||"",_e=pt.replace(/\/.*$/,"");return ht.some(function(tt){var mt=tt.trim();if(/^\*(\/\*)?$/.test(tt))return!0;if(mt.charAt(0)==="."){var hn=Pt.toLowerCase(),sn=mt.toLowerCase(),fn=[sn];return(sn===".jpg"||sn===".jpeg")&&(fn=[".jpg",".jpeg"]),fn.some(function(zn){return hn.endsWith(zn)})}return/\/\*$/.test(mt)?_e===mt.replace(/\/.*$/,""):pt===mt?!0:/^\w+$/.test(mt)?((0,Nt.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(mt,"'.Skip for check.")),!0):!1})}return!0};function Et(Ce,ot){var ht="cannot ".concat(Ce.method," ").concat(Ce.action," ").concat(ot.status,"'"),Pt=new Error(ht);return Pt.status=ot.status,Pt.method=Ce.method,Pt.url=Ce.action,Pt}function ct(Ce){var ot=Ce.responseText||Ce.response;if(!ot)return ot;try{return JSON.parse(ot)}catch(ht){return ot}}function dt(Ce){var ot=new XMLHttpRequest;Ce.onProgress&&ot.upload&&(ot.upload.onprogress=function(_e){_e.total>0&&(_e.percent=_e.loaded/_e.total*100),Ce.onProgress(_e)});var ht=new FormData;Ce.data&&Object.keys(Ce.data).forEach(function(pt){var _e=Ce.data[pt];if(Array.isArray(_e)){_e.forEach(function(tt){ht.append("".concat(pt,"[]"),tt)});return}ht.append(pt,_e)}),Ce.file instanceof Blob?ht.append(Ce.filename,Ce.file,Ce.file.name):ht.append(Ce.filename,Ce.file),ot.onerror=function(_e){Ce.onError(_e)},ot.onload=function(){return ot.status<200||ot.status>=300?Ce.onError(Et(Ce,ot),ct(ot)):Ce.onSuccess(ct(ot),ot)},ot.open(Ce.method,Ce.action,!0),Ce.withCredentials&&"withCredentials"in ot&&(ot.withCredentials=!0);var Pt=Ce.headers||{};return Pt["X-Requested-With"]!==null&&ot.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Pt).forEach(function(pt){Pt[pt]!==null&&ot.setRequestHeader(pt,Pt[pt])}),ot.send(ht),{abort:function(){ot.abort()}}}var nt=function(){var Ce=(0,je.Z)((0,$e.Z)().mark(function ot(ht,Pt){var pt,_e,tt,mt,hn,sn,fn,zn;return(0,$e.Z)().wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:sn=function(){return sn=(0,je.Z)((0,$e.Z)().mark(function In(Fn){return(0,$e.Z)().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:return _n.abrupt("return",new Promise(function(Yn){Fn.file(function(qn){Pt(qn)?(Fn.fullPath&&!qn.webkitRelativePath&&(Object.defineProperties(qn,{webkitRelativePath:{writable:!0}}),qn.webkitRelativePath=Fn.fullPath.replace(/^\//,""),Object.defineProperties(qn,{webkitRelativePath:{writable:!1}})),Yn(qn)):Yn(null)})}));case 1:case"end":return _n.stop()}},In)})),sn.apply(this,arguments)},hn=function(In){return sn.apply(this,arguments)},mt=function(){return mt=(0,je.Z)((0,$e.Z)().mark(function In(Fn){var Vn,_n,Yn,qn,Ln;return(0,$e.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:Vn=Fn.createReader(),_n=[];case 2:return Un.next=5,new Promise(function(dr){Vn.readEntries(dr,function(){return dr([])})});case 5:if(Yn=Un.sent,qn=Yn.length,qn){Un.next=9;break}return Un.abrupt("break",12);case 9:for(Ln=0;Ln<qn;Ln++)_n.push(Yn[Ln]);Un.next=2;break;case 12:return Un.abrupt("return",_n);case 13:case"end":return Un.stop()}},In)})),mt.apply(this,arguments)},tt=function(In){return mt.apply(this,arguments)},pt=[],_e=[],ht.forEach(function(Rn){return _e.push(Rn.webkitGetAsEntry())}),fn=function(){var Rn=(0,je.Z)((0,$e.Z)().mark(function In(Fn,Vn){var _n,Yn;return(0,$e.Z)().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:if(Fn){Ln.next=2;break}return Ln.abrupt("return");case 2:if(Fn.path=Vn||"",!Fn.isFile){Ln.next=10;break}return Ln.next=6,hn(Fn);case 6:_n=Ln.sent,_n&&pt.push(_n),Ln.next=15;break;case 10:if(!Fn.isDirectory){Ln.next=15;break}return Ln.next=13,tt(Fn);case 13:Yn=Ln.sent,_e.push.apply(_e,(0,Ge.Z)(Yn));case 15:case"end":return Ln.stop()}},In)}));return function(Fn,Vn){return Rn.apply(this,arguments)}}(),zn=0;case 9:if(!(zn<_e.length)){Xn.next=15;break}return Xn.next=12,fn(_e[zn]);case 12:zn++,Xn.next=9;break;case 15:return Xn.abrupt("return",pt);case 16:case"end":return Xn.stop()}},ot)}));return function(ht,Pt){return Ce.apply(this,arguments)}}(),Dt=nt,et=+new Date,He=0;function vt(){return"rc-upload-".concat(et,"-").concat(++He)}var De=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],We=function(Ce){(0,de.Z)(ht,Ce);var ot=(0,Xe.Z)(ht);function ht(){var Pt;(0,Ae.Z)(this,ht);for(var pt=arguments.length,_e=new Array(pt),tt=0;tt<pt;tt++)_e[tt]=arguments[tt];return Pt=ot.call.apply(ot,[this].concat(_e)),(0,xe.Z)((0,Se.Z)(Pt),"state",{uid:vt()}),(0,xe.Z)((0,Se.Z)(Pt),"reqs",{}),(0,xe.Z)((0,Se.Z)(Pt),"fileInput",void 0),(0,xe.Z)((0,Se.Z)(Pt),"_isMounted",void 0),(0,xe.Z)((0,Se.Z)(Pt),"onChange",function(mt){var hn=Pt.props,sn=hn.accept,fn=hn.directory,zn=mt.target.files,jn=(0,Ge.Z)(zn).filter(function(Xn){return!fn||Rt(Xn,sn)});Pt.uploadFiles(jn),Pt.reset()}),(0,xe.Z)((0,Se.Z)(Pt),"onClick",function(mt){var hn=Pt.fileInput;if(hn){var sn=mt.target,fn=Pt.props.onClick;if(sn&&sn.tagName==="BUTTON"){var zn=hn.parentNode;zn.focus(),sn.blur()}hn.click(),fn&&fn(mt)}}),(0,xe.Z)((0,Se.Z)(Pt),"onKeyDown",function(mt){mt.key==="Enter"&&Pt.onClick(mt)}),(0,xe.Z)((0,Se.Z)(Pt),"onFileDrop",function(){var mt=(0,je.Z)((0,$e.Z)().mark(function hn(sn){var fn,zn,jn;return(0,$e.Z)().wrap(function(Rn){for(;;)switch(Rn.prev=Rn.next){case 0:if(fn=Pt.props.multiple,sn.preventDefault(),sn.type!=="dragover"){Rn.next=4;break}return Rn.abrupt("return");case 4:if(!Pt.props.directory){Rn.next=11;break}return Rn.next=7,Dt(Array.prototype.slice.call(sn.dataTransfer.items),function(In){return Rt(In,Pt.props.accept)});case 7:zn=Rn.sent,Pt.uploadFiles(zn),Rn.next=14;break;case 11:jn=(0,Ge.Z)(sn.dataTransfer.files).filter(function(In){return Rt(In,Pt.props.accept)}),fn===!1&&(jn=jn.slice(0,1)),Pt.uploadFiles(jn);case 14:case"end":return Rn.stop()}},hn)}));return function(hn){return mt.apply(this,arguments)}}()),(0,xe.Z)((0,Se.Z)(Pt),"uploadFiles",function(mt){var hn=(0,Ge.Z)(mt),sn=hn.map(function(fn){return fn.uid=vt(),Pt.processFile(fn,hn)});Promise.all(sn).then(function(fn){var zn=Pt.props.onBatchStart;zn==null||zn(fn.map(function(jn){var Xn=jn.origin,Rn=jn.parsedFile;return{file:Xn,parsedFile:Rn}})),fn.filter(function(jn){return jn.parsedFile!==null}).forEach(function(jn){Pt.post(jn)})})}),(0,xe.Z)((0,Se.Z)(Pt),"processFile",function(){var mt=(0,je.Z)((0,$e.Z)().mark(function hn(sn,fn){var zn,jn,Xn,Rn,In,Fn,Vn,_n,Yn;return(0,$e.Z)().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:if(zn=Pt.props.beforeUpload,jn=sn,!zn){Ln.next=14;break}return Ln.prev=3,Ln.next=6,zn(sn,fn);case 6:jn=Ln.sent,Ln.next=12;break;case 9:Ln.prev=9,Ln.t0=Ln.catch(3),jn=!1;case 12:if(jn!==!1){Ln.next=14;break}return Ln.abrupt("return",{origin:sn,parsedFile:null,action:null,data:null});case 14:if(Xn=Pt.props.action,typeof Xn!="function"){Ln.next=21;break}return Ln.next=18,Xn(sn);case 18:Rn=Ln.sent,Ln.next=22;break;case 21:Rn=Xn;case 22:if(In=Pt.props.data,typeof In!="function"){Ln.next=29;break}return Ln.next=26,In(sn);case 26:Fn=Ln.sent,Ln.next=30;break;case 29:Fn=In;case 30:return Vn=((0,Te.Z)(jn)==="object"||typeof jn=="string")&&jn?jn:sn,Vn instanceof File?_n=Vn:_n=new File([Vn],sn.name,{type:sn.type}),Yn=_n,Yn.uid=sn.uid,Ln.abrupt("return",{origin:sn,data:Fn,parsedFile:Yn,action:Rn});case 35:case"end":return Ln.stop()}},hn,null,[[3,9]])}));return function(hn,sn){return mt.apply(this,arguments)}}()),(0,xe.Z)((0,Se.Z)(Pt),"saveFileInput",function(mt){Pt.fileInput=mt}),Pt}return(0,Ie.Z)(ht,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(pt){var _e=this,tt=pt.data,mt=pt.origin,hn=pt.action,sn=pt.parsedFile;if(this._isMounted){var fn=this.props,zn=fn.onStart,jn=fn.customRequest,Xn=fn.name,Rn=fn.headers,In=fn.withCredentials,Fn=fn.method,Vn=mt.uid,_n=jn||dt,Yn={action:hn,filename:Xn,data:tt,file:sn,headers:Rn,withCredentials:In,method:Fn||"post",onProgress:function(Ln){var nr=_e.props.onProgress;nr==null||nr(Ln,sn)},onSuccess:function(Ln,nr){var Un=_e.props.onSuccess;Un==null||Un(Ln,sn,nr),delete _e.reqs[Vn]},onError:function(Ln,nr){var Un=_e.props.onError;Un==null||Un(Ln,nr,sn),delete _e.reqs[Vn]}};zn(mt),this.reqs[Vn]=_n(Yn)}}},{key:"reset",value:function(){this.setState({uid:vt()})}},{key:"abort",value:function(pt){var _e=this.reqs;if(pt){var tt=pt.uid?pt.uid:pt;_e[tt]&&_e[tt].abort&&_e[tt].abort(),delete _e[tt]}else Object.keys(_e).forEach(function(mt){_e[mt]&&_e[mt].abort&&_e[mt].abort(),delete _e[mt]})}},{key:"render",value:function(){var pt=this.props,_e=pt.component,tt=pt.prefixCls,mt=pt.className,hn=pt.classNames,sn=hn===void 0?{}:hn,fn=pt.disabled,zn=pt.id,jn=pt.name,Xn=pt.style,Rn=pt.styles,In=Rn===void 0?{}:Rn,Fn=pt.multiple,Vn=pt.accept,_n=pt.capture,Yn=pt.children,qn=pt.directory,Ln=pt.openFileDialogOnClick,nr=pt.onMouseEnter,Un=pt.onMouseLeave,dr=pt.hasControlInside,pr=(0,Qe.Z)(pt,De),sr=we()((0,xe.Z)((0,xe.Z)((0,xe.Z)({},tt,!0),"".concat(tt,"-disabled"),fn),mt,mt)),ur=qn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},yr=fn?{}:{onClick:Ln?this.onClick:function(){},onKeyDown:Ln?this.onKeyDown:function(){},onMouseEnter:nr,onMouseLeave:Un,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:dr?void 0:"0"};return E.createElement(_e,(0,Ee.Z)({},yr,{className:sr,role:dr?void 0:"button",style:Xn}),E.createElement("input",(0,Ee.Z)({},(0,St.Z)(pr,{aria:!0,data:!0}),{id:zn,name:jn,disabled:fn,type:"file",ref:this.saveFileInput,onClick:function(fr){return fr.stopPropagation()},key:this.state.uid,style:(0,wt.Z)({display:"none"},In.input),className:sn.input,accept:Vn},ur,{multiple:Fn,onChange:this.onChange},_n!=null?{capture:_n}:{})),Yn)}}]),ht}(E.Component),Re=We;function ue(){}var st=function(Ce){(0,de.Z)(ht,Ce);var ot=(0,Xe.Z)(ht);function ht(){var Pt;(0,Ae.Z)(this,ht);for(var pt=arguments.length,_e=new Array(pt),tt=0;tt<pt;tt++)_e[tt]=arguments[tt];return Pt=ot.call.apply(ot,[this].concat(_e)),(0,xe.Z)((0,Se.Z)(Pt),"uploader",void 0),(0,xe.Z)((0,Se.Z)(Pt),"saveUploader",function(mt){Pt.uploader=mt}),Pt}return(0,Ie.Z)(ht,[{key:"abort",value:function(pt){this.uploader.abort(pt)}},{key:"render",value:function(){return E.createElement(Re,(0,Ee.Z)({},this.props,{ref:this.saveUploader}))}}]),ht}(E.Component);(0,xe.Z)(st,"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=st,Ue=Le,Tt=te(18929),ge=te(48755),fe=te(2171),bt=te(9017),Lt=te(85981),Bt=te(63356),ve=te(34961),ke=te(16931),Ze=te(51636),xt=te(36237),Xt=Ce=>{const{componentCls:ot,iconCls:ht}=Ce;return{[`${ot}-wrapper`]:{[`${ot}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ce.colorFillAlter,border:`${(0,xt.unit)(Ce.lineWidth)} dashed ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ce.motionDurationSlow}`,[ot]:{padding:Ce.padding},[`${ot}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Ce.borderRadiusLG,"&:focus-visible":{outline:`${(0,xt.unit)(Ce.lineWidthFocus)} solid ${Ce.colorPrimaryBorder}`}},[`${ot}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${ot}-disabled):hover,
&-hover:not(${ot}-disabled)
`]:{borderColor:Ce.colorPrimaryHover},[`p${ot}-drag-icon`]:{marginBottom:Ce.margin,[ht]:{color:Ce.colorPrimary,fontSize:Ce.uploadThumbnailSize}},[`p${ot}-text`]:{margin:`0 0 ${(0,xt.unit)(Ce.marginXXS)}`,color:Ce.colorTextHeading,fontSize:Ce.fontSizeLG},[`p${ot}-hint`]:{color:Ce.colorTextDescription,fontSize:Ce.fontSize},[`&${ot}-disabled`]:{[`p${ot}-drag-icon ${ht},
p${ot}-text,
p${ot}-hint
`]:{color:Ce.colorTextDisabled}}}}}},Vt=Ce=>{const{componentCls:ot,iconCls:ht,fontSize:Pt,lineHeight:pt,calc:_e}=Ce,tt=`${ot}-list-item`,mt=`${tt}-actions`,hn=`${tt}-action`;return{[`${ot}-wrapper`]:{[`${ot}-list`]:Object.assign(Object.assign({},(0,Bt.dF)()),{lineHeight:Ce.lineHeight,[tt]:{position:"relative",height:_e(Ce.lineHeight).mul(Pt).equal(),marginTop:Ce.marginXS,fontSize:Pt,display:"flex",alignItems:"center",transition:`background-color ${Ce.motionDurationSlow}`,borderRadius:Ce.borderRadiusSM,"&:hover":{backgroundColor:Ce.controlItemBgHover},[`${tt}-name`]:Object.assign(Object.assign({},Bt.vS),{padding:`0 ${(0,xt.unit)(Ce.paddingXS)}`,lineHeight:pt,flex:"auto",transition:`all ${Ce.motionDurationSlow}`}),[mt]:{whiteSpace:"nowrap",[hn]:{opacity:0},[ht]:{color:Ce.actionsColor,transition:`all ${Ce.motionDurationSlow}`},[`
${hn}:focus-visible,
&.picture ${hn}
`]:{opacity:1}},[`${ot}-icon ${ht}`]:{color:Ce.colorTextDescription,fontSize:Pt},[`${tt}-progress`]:{position:"absolute",bottom:Ce.calc(Ce.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:_e(Pt).add(Ce.paddingXS).equal(),fontSize:Pt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${tt}:hover ${hn}`]:{opacity:1},[`${tt}-error`]:{color:Ce.colorError,[`${tt}-name, ${ot}-icon ${ht}`]:{color:Ce.colorError},[mt]:{[`${ht}, ${ht}:hover`]:{color:Ce.colorError},[hn]:{opacity:1}}},[`${ot}-list-item-container`]:{transition:`opacity ${Ce.motionDurationSlow}, height ${Ce.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},gt=te(99495),ne=Ce=>{const{componentCls:ot}=Ce,ht=new xt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Ce.calc(Ce.marginXS).div(-2).equal()}}),Pt=new xt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Ce.calc(Ce.marginXS).div(-2).equal()}}),pt=`${ot}-animate-inline`;return[{[`${ot}-wrapper`]:{[`${pt}-appear, ${pt}-enter, ${pt}-leave`]:{animationDuration:Ce.motionDurationSlow,animationTimingFunction:Ce.motionEaseInOutCirc,animationFillMode:"forwards"},[`${pt}-appear, ${pt}-enter`]:{animationName:ht},[`${pt}-leave`]:{animationName:Pt}}},{[`${ot}-wrapper`]:(0,gt.J$)(Ce)},ht,Pt]},ee=te(68361);const oe=Ce=>{const{componentCls:ot,iconCls:ht,uploadThumbnailSize:Pt,uploadProgressOffset:pt,calc:_e}=Ce,tt=`${ot}-list`,mt=`${tt}-item`;return{[`${ot}-wrapper`]:{[`
${tt}${tt}-picture,
${tt}${tt}-picture-card,
${tt}${tt}-picture-circle
`]:{[mt]:{position:"relative",height:_e(Pt).add(_e(Ce.lineWidth).mul(2)).add(_e(Ce.paddingXS).mul(2)).equal(),padding:Ce.paddingXS,border:`${(0,xt.unit)(Ce.lineWidth)} ${Ce.lineType} ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,"&:hover":{background:"transparent"},[`${mt}-thumbnail`]:Object.assign(Object.assign({},Bt.vS),{width:Pt,height:Pt,lineHeight:(0,xt.unit)(_e(Pt).add(Ce.paddingSM).equal()),textAlign:"center",flex:"none",[ht]:{fontSize:Ce.fontSizeHeading2,color:Ce.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${mt}-progress`]:{bottom:pt,width:`calc(100% - ${(0,xt.unit)(_e(Ce.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:_e(Pt).add(Ce.paddingXS).equal()}},[`${mt}-error`]:{borderColor:Ce.colorError,[`${mt}-thumbnail ${ht}`]:{[`svg path[fill='${ee.blue[0]}']`]:{fill:Ce.colorErrorBg},[`svg path[fill='${ee.blue.primary}']`]:{fill:Ce.colorError}}},[`${mt}-uploading`]:{borderStyle:"dashed",[`${mt}-name`]:{marginBottom:pt}}},[`${tt}${tt}-picture-circle ${mt}`]:{[`&, &::before, ${mt}-thumbnail`]:{borderRadius:"50%"}}}}},se=Ce=>{const{componentCls:ot,iconCls:ht,fontSizeLG:Pt,colorTextLightSolid:pt,calc:_e}=Ce,tt=`${ot}-list`,mt=`${tt}-item`,hn=Ce.uploadPicCardSize;return{[`
${ot}-wrapper${ot}-picture-card-wrapper,
${ot}-wrapper${ot}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Bt.dF)()),{display:"block",[`${ot}${ot}-select`]:{width:hn,height:hn,textAlign:"center",verticalAlign:"top",backgroundColor:Ce.colorFillAlter,border:`${(0,xt.unit)(Ce.lineWidth)} dashed ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ce.motionDurationSlow}`,[`> ${ot}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ot}-disabled):hover`]:{borderColor:Ce.colorPrimary}},[`${tt}${tt}-picture-card, ${tt}${tt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Ce.marginXS,marginInlineEnd:Ce.marginXS}},"@supports (gap: 1px)":{gap:Ce.marginXS},[`${tt}-item-container`]:{display:"inline-block",width:hn,height:hn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[mt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,xt.unit)(_e(Ce.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,xt.unit)(_e(Ce.paddingXS).mul(2).equal())})`,backgroundColor:Ce.colorBgMask,opacity:0,transition:`all ${Ce.motionDurationSlow}`,content:'" "'}},[`${mt}:hover`]:{[`&::before, ${mt}-actions`]:{opacity:1}},[`${mt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ce.motionDurationSlow}`,[`
${ht}-eye,
${ht}-download,
${ht}-delete
`]:{zIndex:10,width:Pt,margin:`0 ${(0,xt.unit)(Ce.marginXXS)}`,fontSize:Pt,cursor:"pointer",transition:`all ${Ce.motionDurationSlow}`,color:pt,"&:hover":{color:pt},svg:{verticalAlign:"baseline"}}},[`${mt}-thumbnail, ${mt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${mt}-name`]:{display:"none",textAlign:"center"},[`${mt}-file + ${mt}-name`]:{position:"absolute",bottom:Ce.margin,display:"block",width:`calc(100% - ${(0,xt.unit)(_e(Ce.paddingXS).mul(2).equal())})`},[`${mt}-uploading`]:{[`&${mt}`]:{backgroundColor:Ce.colorFillAlter},[`&::before, ${ht}-eye, ${ht}-download, ${ht}-delete`]:{display:"none"}},[`${mt}-progress`]:{bottom:Ce.marginXL,width:`calc(100% - ${(0,xt.unit)(_e(Ce.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${ot}-wrapper${ot}-picture-circle-wrapper`]:{[`${ot}${ot}-select`]:{borderRadius:"50%"}}}};var he=Ce=>{const{componentCls:ot}=Ce;return{[`${ot}-rtl`]:{direction:"rtl"}}};const ye=Ce=>{const{componentCls:ot,colorTextDisabled:ht}=Ce;return{[`${ot}-wrapper`]:Object.assign(Object.assign({},(0,Bt.Wf)(Ce)),{[ot]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ot}-select`]:{display:"inline-block"},[`${ot}-hidden`]:{display:"none"},[`${ot}-disabled`]:{color:ht,cursor:"not-allowed"}})}},lt=Ce=>({actionsColor:Ce.colorTextDescription});var Be=(0,ke.I$)("Upload",Ce=>{const{fontSizeHeading3:ot,fontHeight:ht,lineWidth:Pt,controlHeightLG:pt,calc:_e}=Ce,tt=(0,Ze.mergeToken)(Ce,{uploadThumbnailSize:_e(ot).mul(2).equal(),uploadProgressOffset:_e(_e(ht).div(2)).add(Pt).equal(),uploadPicCardSize:_e(pt).mul(2.55).equal()});return[ye(tt),Xt(tt),oe(tt),se(tt),Vt(tt),ne(tt),he(tt),(0,ve.Z)(tt)]},lt),Ke={icon:function(ot,ht){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:ht}},{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:ot}}]}},name:"file",theme:"twotone"},ut=Ke,Ct=te(7657),At=function(ot,ht){return E.createElement(Ct.Z,(0,Ee.Z)({},ot,{ref:ht,icon:ut}))},nn=E.forwardRef(At),Qt=nn,Yt=te(58617),on={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"},Ft=on,en=function(ot,ht){return E.createElement(Ct.Z,(0,Ee.Z)({},ot,{ref:ht,icon:Ft}))},Ot=E.forwardRef(en),rn=Ot,Ut={icon:function(ot,ht){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:ot}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:ht}},{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:ht}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:ht}},{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:ot}}]}},name:"picture",theme:"twotone"},Ne=Ut,rt=function(ot,ht){return E.createElement(Ct.Z,(0,Ee.Z)({},ot,{ref:ht,icon:Ne}))},zt=E.forwardRef(rt),Gt=zt,Pe=te(77900),Ye=te(2738),ft=te(40192),kt=te(86641),Jt=te(22703),cn=te(7939);function An(Ce){return Object.assign(Object.assign({},Ce),{lastModified:Ce.lastModified,lastModifiedDate:Ce.lastModifiedDate,name:Ce.name,size:Ce.size,type:Ce.type,uid:Ce.uid,percent:0,originFileObj:Ce})}function xn(Ce,ot){const ht=(0,Ge.Z)(ot),Pt=ht.findIndex(pt=>{let{uid:_e}=pt;return _e===Ce.uid});return Pt===-1?ht.push(Ce):ht[Pt]=Ce,ht}function dn(Ce,ot){const ht=Ce.uid!==void 0?"uid":"name";return ot.filter(Pt=>Pt[ht]===Ce[ht])[0]}function Sn(Ce,ot){const ht=Ce.uid!==void 0?"uid":"name",Pt=ot.filter(pt=>pt[ht]!==Ce[ht]);return Pt.length===ot.length?null:Pt}const bn=function(){const ot=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Pt=ot[ot.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Pt)||[""])[0]},tn=Ce=>Ce.indexOf("image/")===0,Wt=Ce=>{if(Ce.type&&!Ce.thumbUrl)return tn(Ce.type);const ot=Ce.thumbUrl||Ce.url||"",ht=bn(ot);return/^data:image\//.test(ot)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(ht)?!0:!(/^data:/.test(ot)||ht)},jt=200;function It(Ce){return new Promise(ot=>{if(!Ce.type||!tn(Ce.type)){ot("");return}const ht=document.createElement("canvas");ht.width=jt,ht.height=jt,ht.style.cssText=`position: fixed; left: 0; top: 0; width: ${jt}px; height: ${jt}px; z-index: 9999; display: none;`,document.body.appendChild(ht);const Pt=ht.getContext("2d"),pt=new Image;if(pt.onload=()=>{const{width:_e,height:tt}=pt;let mt=jt,hn=jt,sn=0,fn=0;_e>tt?(hn=tt*(jt/_e),fn=-(hn-mt)/2):(mt=_e*(jt/tt),sn=-(mt-hn)/2),Pt.drawImage(pt,sn,fn,mt,hn);const zn=ht.toDataURL();document.body.removeChild(ht),window.URL.revokeObjectURL(pt.src),ot(zn)},pt.crossOrigin="anonymous",Ce.type.startsWith("image/svg+xml")){const _e=new FileReader;_e.onload=()=>{_e.result&&typeof _e.result=="string"&&(pt.src=_e.result)},_e.readAsDataURL(Ce)}else if(Ce.type.startsWith("image/gif")){const _e=new FileReader;_e.onload=()=>{_e.result&&ot(_e.result)},_e.readAsDataURL(Ce)}else pt.src=window.URL.createObjectURL(Ce)})}var un=te(26227),ln=te(41464),$t=te(15277),gn=te(89787),Cn=te(25399),kn=E.forwardRef((Ce,ot)=>{let{prefixCls:ht,className:Pt,style:pt,locale:_e,listType:tt,file:mt,items:hn,progress:sn,iconRender:fn,actionIconRender:zn,itemRender:jn,isImgUrl:Xn,showPreviewIcon:Rn,showRemoveIcon:In,showDownloadIcon:Fn,previewIcon:Vn,removeIcon:_n,downloadIcon:Yn,extra:qn,onPreview:Ln,onDownload:nr,onClose:Un}=Ce;var dr,pr;const{status:sr}=mt,[ur,yr]=E.useState(sr);E.useEffect(()=>{sr!=="removed"&&yr(sr)},[sr]);const[lr,fr]=E.useState(!1);E.useEffect(()=>{const mn=setTimeout(()=>{fr(!0)},300);return()=>{clearTimeout(mn)}},[]);const tr=fn(mt);let mr=E.createElement("div",{className:`${ht}-icon`},tr);if(tt==="picture"||tt==="picture-card"||tt==="picture-circle")if(ur==="uploading"||!mt.thumbUrl&&!mt.url){const mn=we()(`${ht}-list-item-thumbnail`,{[`${ht}-list-item-file`]:ur!=="uploading"});mr=E.createElement("div",{className:mn},tr)}else{const mn=Xn!=null&&Xn(mt)?E.createElement("img",{src:mt.thumbUrl||mt.url,alt:mt.name,className:`${ht}-list-item-image`,crossOrigin:mt.crossOrigin}):tr,Tn=we()(`${ht}-list-item-thumbnail`,{[`${ht}-list-item-file`]:Xn&&!Xn(mt)});mr=E.createElement("a",{className:Tn,onClick:Hn=>Ln(mt,Hn),href:mt.url||mt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mn)}const br=we()(`${ht}-list-item`,`${ht}-list-item-${ur}`),Hr=typeof mt.linkProps=="string"?JSON.parse(mt.linkProps):mt.linkProps,Er=(typeof In=="function"?In(mt):In)?zn((typeof _n=="function"?_n(mt):_n)||E.createElement(un.Z,null),()=>Un(mt),ht,_e.removeFile,!0):null,Tr=(typeof Fn=="function"?Fn(mt):Fn)&&ur==="done"?zn((typeof Yn=="function"?Yn(mt):Yn)||E.createElement(ln.Z,null),()=>nr(mt),ht,_e.downloadFile):null,Ar=tt!=="picture-card"&&tt!=="picture-circle"&&E.createElement("span",{key:"download-delete",className:we()(`${ht}-list-item-actions`,{picture:tt==="picture"})},Tr,Er),Dr=typeof qn=="function"?qn(mt):qn,or=Dr&&E.createElement("span",{className:`${ht}-list-item-extra`},Dr),ir=we()(`${ht}-list-item-name`),er=mt.url?E.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ir,title:mt.name},Hr,{href:mt.url,onClick:mn=>Ln(mt,mn)}),mt.name,or):E.createElement("span",{key:"view",className:ir,onClick:mn=>Ln(mt,mn),title:mt.name},mt.name,or),vn=(typeof Rn=="function"?Rn(mt):Rn)&&(mt.url||mt.thumbUrl)?E.createElement("a",{href:mt.url||mt.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:mn=>Ln(mt,mn),title:_e.previewFile},typeof Vn=="function"?Vn(mt):Vn||E.createElement($t.Z,null)):null,Dn=(tt==="picture-card"||tt==="picture-circle")&&ur!=="uploading"&&E.createElement("span",{className:`${ht}-list-item-actions`},vn,ur==="done"&&Tr,Er),{getPrefixCls:On}=E.useContext(ge.E_),pn=On(),Wn=E.createElement("div",{className:br},mr,er,Ar,Dn,lr&&E.createElement(Pe.default,{motionName:`${pn}-fade`,visible:ur==="uploading",motionDeadline:2e3},mn=>{let{className:Tn}=mn;const Hn="percent"in mt?E.createElement(gn.Z,Object.assign({},sn,{type:"line",percent:mt.percent,"aria-label":mt["aria-label"],"aria-labelledby":mt["aria-labelledby"]})):null;return E.createElement("div",{className:we()(`${ht}-list-item-progress`,Tn)},Hn)})),Kn=mt.response&&typeof mt.response=="string"?mt.response:((dr=mt.error)===null||dr===void 0?void 0:dr.statusText)||((pr=mt.error)===null||pr===void 0?void 0:pr.message)||_e.uploadError,wn=ur==="error"?E.createElement(Cn.Z,{title:Kn,getPopupContainer:mn=>mn.parentNode},Wn):Wn;return E.createElement("div",{className:we()(`${ht}-list-item-container`,Pt),style:pt,ref:ot},jn?jn(wn,mt,hn,{download:nr.bind(null,mt),preview:Ln.bind(null,mt),remove:Un.bind(null,mt)}):wn)});const Mn=(Ce,ot)=>{const{listType:ht="text",previewFile:Pt=It,onPreview:pt,onDownload:_e,onRemove:tt,locale:mt,iconRender:hn,isImageUrl:sn=Wt,prefixCls:fn,items:zn=[],showPreviewIcon:jn=!0,showRemoveIcon:Xn=!0,showDownloadIcon:Rn=!1,removeIcon:In,previewIcon:Fn,downloadIcon:Vn,extra:_n,progress:Yn={size:[-1,2],showInfo:!1},appendAction:qn,appendActionVisible:Ln=!0,itemRender:nr,disabled:Un}=Ce,dr=(0,ft.Z)(),[pr,sr]=E.useState(!1),ur=["picture-card","picture-circle"].includes(ht);E.useEffect(()=>{ht.startsWith("picture")&&(zn||[]).forEach(or=>{!(or.originFileObj instanceof File||or.originFileObj instanceof Blob)||or.thumbUrl!==void 0||(or.thumbUrl="",Pt==null||Pt(or.originFileObj).then(ir=>{or.thumbUrl=ir||"",dr()}))})},[ht,zn,Pt]),E.useEffect(()=>{sr(!0)},[]);const yr=(or,ir)=>{if(pt)return ir==null||ir.preventDefault(),pt(or)},lr=or=>{typeof _e=="function"?_e(or):or.url&&window.open(or.url)},fr=or=>{tt==null||tt(or)},tr=or=>{if(hn)return hn(or,ht);const ir=or.status==="uploading";if(ht.startsWith("picture")){const er=ht==="picture"?E.createElement(Yt.Z,null):mt.uploading,vn=sn!=null&&sn(or)?E.createElement(Gt,null):E.createElement(Qt,null);return ir?er:vn}return ir?E.createElement(Yt.Z,null):E.createElement(rn,null)},mr=(or,ir,er,vn,Dn)=>{const On={type:"text",size:"small",title:vn,onClick:pn=>{var Wn,Kn;ir(),E.isValidElement(or)&&((Kn=(Wn=or.props).onClick)===null||Kn===void 0||Kn.call(Wn,pn))},className:`${er}-list-item-action`};return Dn&&(On.disabled=Un),E.isValidElement(or)?E.createElement(cn.ZP,Object.assign({},On,{icon:(0,Jt.Tm)(or,Object.assign(Object.assign({},or.props),{onClick:()=>{}}))})):E.createElement(cn.ZP,Object.assign({},On),E.createElement("span",null,or))};E.useImperativeHandle(ot,()=>({handlePreview:yr,handleDownload:lr}));const{getPrefixCls:br}=E.useContext(ge.E_),Hr=br("upload",fn),Er=br(),Tr=we()(`${Hr}-list`,`${Hr}-list-${ht}`),Ar=E.useMemo(()=>(0,Ye.Z)((0,kt.Z)(Er),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Er]),Dr=Object.assign(Object.assign({},ur?{}:Ar),{motionDeadline:2e3,motionName:`${Hr}-${ur?"animate-inline":"animate"}`,keys:(0,Ge.Z)(zn.map(or=>({key:or.uid,file:or}))),motionAppear:pr});return E.createElement("div",{className:Tr},E.createElement(Pe.CSSMotionList,Object.assign({},Dr,{component:!1}),or=>{let{key:ir,file:er,className:vn,style:Dn}=or;return E.createElement(kn,{key:ir,locale:mt,prefixCls:Hr,className:vn,style:Dn,file:er,items:zn,progress:Yn,listType:ht,isImgUrl:sn,showPreviewIcon:jn,showRemoveIcon:Xn,showDownloadIcon:Rn,removeIcon:In,previewIcon:Fn,downloadIcon:Vn,extra:_n,iconRender:tr,actionIconRender:mr,itemRender:nr,onPreview:yr,onDownload:lr,onClose:fr})}),qn&&E.createElement(Pe.default,Object.assign({},Dr,{visible:Ln,forceRender:!0}),or=>{let{className:ir,style:er}=or;return(0,Jt.Tm)(qn,vn=>({className:we()(vn.className,ir),style:Object.assign(Object.assign(Object.assign({},er),{pointerEvents:ir?"none":void 0}),vn.style)}))}))};var Gn=E.forwardRef(Mn),Zt=function(Ce,ot,ht,Pt){function pt(_e){return _e instanceof ht?_e:new ht(function(tt){tt(_e)})}return new(ht||(ht=Promise))(function(_e,tt){function mt(fn){try{sn(Pt.next(fn))}catch(zn){tt(zn)}}function hn(fn){try{sn(Pt.throw(fn))}catch(zn){tt(zn)}}function sn(fn){fn.done?_e(fn.value):pt(fn.value).then(mt,hn)}sn((Pt=Pt.apply(Ce,ot||[])).next())})};const an=`__LIST_IGNORE_${Date.now()}__`,Bn=(Ce,ot)=>{const{fileList:ht,defaultFileList:Pt,onRemove:pt,showUploadList:_e=!0,listType:tt="text",onPreview:mt,onDownload:hn,onChange:sn,onDrop:fn,previewFile:zn,disabled:jn,locale:Xn,iconRender:Rn,isImageUrl:In,progress:Fn,prefixCls:Vn,className:_n,type:Yn="select",children:qn,style:Ln,itemRender:nr,maxCount:Un,data:dr={},multiple:pr=!1,hasControlInside:sr=!0,action:ur="",accept:yr="",supportServerRender:lr=!0,rootClassName:fr}=Ce,tr=E.useContext(fe.Z),mr=jn!=null?jn:tr,[br,Hr]=(0,Tt.Z)(Pt||[],{value:ht,postState:xr=>xr!=null?xr:[]}),[Er,Tr]=E.useState("drop"),Ar=E.useRef(null),Dr=E.useRef(null);E.useMemo(()=>{const xr=Date.now();(ht||[]).forEach((zr,Gr)=>{!zr.uid&&!Object.isFrozen(zr)&&(zr.uid=`__AUTO__${xr}_${Gr}__`)})},[ht]);const or=(xr,zr,Gr)=>{let wr=(0,Ge.Z)(zr),kr=!1;Un===1?wr=wr.slice(-1):Un&&(kr=wr.length>Un,wr=wr.slice(0,Un)),(0,me.flushSync)(()=>{Hr(wr)});const Ir={file:xr,fileList:wr};Gr&&(Ir.event=Gr),(!kr||xr.status==="removed"||wr.some(ui=>ui.uid===xr.uid))&&(0,me.flushSync)(()=>{sn==null||sn(Ir)})},ir=(xr,zr)=>Zt(void 0,void 0,void 0,function*(){const{beforeUpload:Gr,transformFile:wr}=Ce;let kr=xr;if(Gr){const Ir=yield Gr(xr,zr);if(Ir===!1)return!1;if(delete xr[an],Ir===an)return Object.defineProperty(xr,an,{value:!0,configurable:!0}),!1;typeof Ir=="object"&&Ir&&(kr=Ir)}return wr&&(kr=yield wr(kr)),kr}),er=xr=>{const zr=xr.filter(kr=>!kr.file[an]);if(!zr.length)return;const Gr=zr.map(kr=>An(kr.file));let wr=(0,Ge.Z)(br);Gr.forEach(kr=>{wr=xn(kr,wr)}),Gr.forEach((kr,Ir)=>{let ui=kr;if(zr[Ir].parsedFile)kr.status="uploading";else{const{originFileObj:Di}=kr;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=kr.uid,ui=fi}or(ui,wr)})},vn=(xr,zr,Gr)=>{try{typeof xr=="string"&&(xr=JSON.parse(xr))}catch(Ir){}if(!dn(zr,br))return;const wr=An(zr);wr.status="done",wr.percent=100,wr.response=xr,wr.xhr=Gr;const kr=xn(wr,br);or(wr,kr)},Dn=(xr,zr)=>{if(!dn(zr,br))return;const Gr=An(zr);Gr.status="uploading",Gr.percent=xr.percent;const wr=xn(Gr,br);or(Gr,wr,xr)},On=(xr,zr,Gr)=>{if(!dn(Gr,br))return;const wr=An(Gr);wr.error=xr,wr.response=zr,wr.status="error";const kr=xn(wr,br);or(wr,kr)},pn=xr=>{let zr;Promise.resolve(typeof pt=="function"?pt(xr):pt).then(Gr=>{var wr;if(Gr===!1)return;const kr=Sn(xr,br);kr&&(zr=Object.assign(Object.assign({},xr),{status:"removed"}),br==null||br.forEach(Ir=>{const ui=zr.uid!==void 0?"uid":"name";Ir[ui]===zr[ui]&&!Object.isFrozen(Ir)&&(Ir.status="removed")}),(wr=Ar.current)===null||wr===void 0||wr.abort(zr),or(zr,kr))})},Wn=xr=>{Tr(xr.type),xr.type==="drop"&&(fn==null||fn(xr))};E.useImperativeHandle(ot,()=>({onBatchStart:er,onSuccess:vn,onProgress:Dn,onError:On,fileList:br,upload:Ar.current,nativeElement:Dr.current}));const{getPrefixCls:Kn,direction:wn,upload:mn}=E.useContext(ge.E_),Tn=Kn("upload",Vn),Hn=Object.assign(Object.assign({onBatchStart:er,onError:On,onProgress:Dn,onSuccess:vn},Ce),{data:dr,multiple:pr,action:ur,accept:yr,supportServerRender:lr,prefixCls:Tn,disabled:mr,beforeUpload:ir,onChange:void 0,hasControlInside:sr});delete Hn.className,delete Hn.style,(!qn||mr)&&delete Hn.id;const cr=`${Tn}-wrapper`,[Mr,Pr,Fr]=Be(Tn,cr),[Nr]=(0,bt.Z)("Upload",Lt.Z.Upload),{showRemoveIcon:Rr,showPreviewIcon:Xr,showDownloadIcon:jr,removeIcon:Yr,previewIcon:ti,downloadIcon:Ei,extra:ki}=typeof _e=="boolean"?{}:_e,xi=typeof Rr=="undefined"?!mr:Rr,si=(xr,zr)=>_e?E.createElement(Gn,{prefixCls:Tn,listType:tt,items:br,previewFile:zn,onPreview:mt,onDownload:hn,onRemove:pn,showRemoveIcon:xi,showPreviewIcon:Xr,showDownloadIcon:jr,removeIcon:Yr,previewIcon:ti,downloadIcon:Ei,iconRender:Rn,extra:ki,locale:Object.assign(Object.assign({},Nr),Xn),isImageUrl:In,progress:Fn,appendAction:xr,appendActionVisible:zr,itemRender:nr,disabled:mr}):xr,Fi=we()(cr,_n,fr,Pr,Fr,mn==null?void 0:mn.className,{[`${Tn}-rtl`]:wn==="rtl",[`${Tn}-picture-card-wrapper`]:tt==="picture-card",[`${Tn}-picture-circle-wrapper`]:tt==="picture-circle"}),Wr=Object.assign(Object.assign({},mn==null?void 0:mn.style),Ln);if(Yn==="drag"){const xr=we()(Pr,Tn,`${Tn}-drag`,{[`${Tn}-drag-uploading`]:br.some(zr=>zr.status==="uploading"),[`${Tn}-drag-hover`]:Er==="dragover",[`${Tn}-disabled`]:mr,[`${Tn}-rtl`]:wn==="rtl"});return Mr(E.createElement("span",{className:Fi,ref:Dr},E.createElement("div",{className:xr,style:Wr,onDrop:Wn,onDragOver:Wn,onDragLeave:Wn},E.createElement(Ue,Object.assign({},Hn,{ref:Ar,className:`${Tn}-btn`}),E.createElement("div",{className:`${Tn}-drag-container`},qn))),si()))}const Ki=we()(Tn,`${Tn}-select`,{[`${Tn}-disabled`]:mr,[`${Tn}-hidden`]:!qn}),_r=E.createElement("div",{className:Ki},E.createElement(Ue,Object.assign({},Hn,{ref:Ar})));return Mr(tt==="picture-card"||tt==="picture-circle"?E.createElement("span",{className:Fi,ref:Dr},si(_r,!!qn)):E.createElement("span",{className:Fi,ref:Dr},_r,si()))};var Ve=E.forwardRef(Bn),at=function(Ce,ot){var ht={};for(var Pt in Ce)Object.prototype.hasOwnProperty.call(Ce,Pt)&&ot.indexOf(Pt)<0&&(ht[Pt]=Ce[Pt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Pt=Object.getOwnPropertySymbols(Ce);pt<Pt.length;pt++)ot.indexOf(Pt[pt])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Pt[pt])&&(ht[Pt[pt]]=Ce[Pt[pt]]);return ht},Je=E.forwardRef((Ce,ot)=>{var{style:ht,height:Pt,hasControlInside:pt=!1}=Ce,_e=at(Ce,["style","height","hasControlInside"]);return E.createElement(Ve,Object.assign({ref:ot,hasControlInside:pt},_e,{type:"drag",style:Object.assign(Object.assign({},ht),{height:Pt})}))});const Me=Ve;Me.Dragger=Je,Me.LIST_IGNORE=an;var qe=Me},99498:function(_t,Ht,te){(function(E){E(te(89780))})(function(E){E.defineOption("placeholder","",function(Ie,Se,de){var Xe=de&&de!=E.Init;if(Se&&!Xe)Ie.on("blur",we),Ie.on("change",Ee),Ie.on("swapDoc",Ee),E.on(Ie.getInputField(),"compositionupdate",Ie.state.placeholderCompose=function(){Fe(Ie)}),Ee(Ie);else if(!Se&&Xe){Ie.off("blur",we),Ie.off("change",Ee),Ie.off("swapDoc",Ee),E.off(Ie.getInputField(),"compositionupdate",Ie.state.placeholderCompose),Ge(Ie);var xe=Ie.getWrapperElement();xe.className=xe.className.replace(" CodeMirror-empty","")}Se&&!Ie.hasFocus()&&we(Ie)});function Ge(Ie){Ie.state.placeholder&&(Ie.state.placeholder.parentNode.removeChild(Ie.state.placeholder),Ie.state.placeholder=null)}function me(Ie){Ge(Ie);var Se=Ie.state.placeholder=document.createElement("pre");Se.style.cssText="height: 0; overflow: visible",Se.style.direction=Ie.getOption("direction"),Se.className="CodeMirror-placeholder CodeMirror-line-like";var de=Ie.getOption("placeholder");typeof de=="string"&&(de=document.createTextNode(de)),Se.appendChild(de),Ie.display.lineSpace.insertBefore(Se,Ie.display.lineSpace.firstChild)}function Fe(Ie){setTimeout(function(){var Se=!1,de=Ie.getInputField();de.nodeName=="TEXTAREA"?Se=!de.value:Ie.lineCount()==1&&(Se=!/[^\u200b]/.test(de.querySelector(".CodeMirror-line").textContent)),Se?me(Ie):Ge(Ie)},20)}function we(Ie){Ae(Ie)&&me(Ie)}function Ee(Ie){var Se=Ie.getWrapperElement(),de=Ae(Ie);Se.className=Se.className.replace(" CodeMirror-empty","")+(de?" CodeMirror-empty":""),de?me(Ie):Ge(Ie)}function Ae(Ie){return Ie.lineCount()===1&&Ie.getLine(0)===""}})},25717:function(_t,Ht,te){(function(E){E(te(89780))})(function(E){var Ge={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},me=E.Pos;E.defineOption("autoCloseBrackets",!1,function(Te,$e,je){je&&je!=E.Init&&(Te.removeKeyMap(we),Te.state.closeBrackets=null),$e&&(Ee(Fe($e,"pairs")),Te.state.closeBrackets=$e,Te.addKeyMap(we))});function Fe(Te,$e){return $e=="pairs"&&typeof Te=="string"?Te:typeof Te=="object"&&Te[$e]!=null?Te[$e]:Ge[$e]}var we={Backspace:Se,Enter:de};function Ee(Te){for(var $e=0;$e<Te.length;$e++){var je=Te.charAt($e),St="'"+je+"'";we[St]||(we[St]=Ae(je))}}Ee(Ge.pairs+"`");function Ae(Te){return function($e){return xe($e,Te)}}function Ie(Te){var $e=Te.state.closeBrackets;if(!$e||$e.override)return $e;var je=Te.getModeAt(Te.getCursor());return je.closeBrackets||$e}function Se(Te){var $e=Ie(Te);if(!$e||Te.getOption("disableInput"))return E.Pass;for(var je=Fe($e,"pairs"),St=Te.listSelections(),Nt=0;Nt<St.length;Nt++){if(!St[Nt].empty())return E.Pass;var Rt=wt(Te,St[Nt].head);if(!Rt||je.indexOf(Rt)%2!=0)return E.Pass}for(var Nt=St.length-1;Nt>=0;Nt--){var Et=St[Nt].head;Te.replaceRange("",me(Et.line,Et.ch-1),me(Et.line,Et.ch+1),"+delete")}}function de(Te){var $e=Ie(Te),je=$e&&Fe($e,"explode");if(!je||Te.getOption("disableInput"))return E.Pass;for(var St=Te.listSelections(),Nt=0;Nt<St.length;Nt++){if(!St[Nt].empty())return E.Pass;var Rt=wt(Te,St[Nt].head);if(!Rt||je.indexOf(Rt)%2!=0)return E.Pass}Te.operation(function(){var Et=Te.lineSeparator()||`
`;Te.replaceSelection(Et+Et,null),Te.execCommand("goCharLeft"),St=Te.listSelections();for(var ct=0;ct<St.length;ct++){var dt=St[ct].head.line;Te.indentLine(dt,null,!0),Te.indentLine(dt+1,null,!0)}})}function Xe(Te){var $e=E.cmpPos(Te.anchor,Te.head)>0;return{anchor:new me(Te.anchor.line,Te.anchor.ch+($e?-1:1)),head:new me(Te.head.line,Te.head.ch+($e?1:-1))}}function xe(Te,$e){var je=Ie(Te);if(!je||Te.getOption("disableInput"))return E.Pass;var St=Fe(je,"pairs"),Nt=St.indexOf($e);if(Nt==-1)return E.Pass;for(var Rt=Fe(je,"closeBefore"),Et=Fe(je,"triples"),ct=St.charAt(Nt+1)==$e,dt=Te.listSelections(),nt=Nt%2==0,Dt,et=0;et<dt.length;et++){var He=dt[et],vt=He.head,De,We=Te.getRange(vt,me(vt.line,vt.ch+1));if(nt&&!He.empty())De="surround";else if((ct||!nt)&&We==$e)ct&&Qe(Te,vt)?De="both":Et.indexOf($e)>=0&&Te.getRange(vt,me(vt.line,vt.ch+3))==$e+$e+$e?De="skipThree":De="skip";else if(ct&&vt.ch>1&&Et.indexOf($e)>=0&&Te.getRange(me(vt.line,vt.ch-2),vt)==$e+$e){if(vt.ch>2&&/\bstring/.test(Te.getTokenTypeAt(me(vt.line,vt.ch-2))))return E.Pass;De="addFour"}else if(ct){var Re=vt.ch==0?" ":Te.getRange(me(vt.line,vt.ch-1),vt);if(!E.isWordChar(We)&&Re!=$e&&!E.isWordChar(Re))De="both";else return E.Pass}else if(nt&&(We.length===0||/\s/.test(We)||Rt.indexOf(We)>-1))De="both";else return E.Pass;if(!Dt)Dt=De;else if(Dt!=De)return E.Pass}var ue=Nt%2?St.charAt(Nt-1):$e,st=Nt%2?$e:St.charAt(Nt+1);Te.operation(function(){if(Dt=="skip")Te.execCommand("goCharRight");else if(Dt=="skipThree")for(var Le=0;Le<3;Le++)Te.execCommand("goCharRight");else if(Dt=="surround"){for(var Ue=Te.getSelections(),Le=0;Le<Ue.length;Le++)Ue[Le]=ue+Ue[Le]+st;Te.replaceSelections(Ue,"around"),Ue=Te.listSelections().slice();for(var Le=0;Le<Ue.length;Le++)Ue[Le]=Xe(Ue[Le]);Te.setSelections(Ue)}else Dt=="both"?(Te.replaceSelection(ue+st,null),Te.triggerElectric(ue+st),Te.execCommand("goCharLeft")):Dt=="addFour"&&(Te.replaceSelection(ue+ue+ue+ue,"before"),Te.execCommand("goCharRight"))})}function wt(Te,$e){var je=Te.getRange(me($e.line,$e.ch-1),me($e.line,$e.ch+1));return je.length==2?je:null}function Qe(Te,$e){var je=Te.getTokenAt(me($e.line,$e.ch+1));return/\bstring/.test(je.type)&&je.start==$e.ch&&($e.ch==0||!/\bstring/.test(Te.getTokenTypeAt($e)))}})},6313:function(_t,Ht,te){(function(E){E(te(89780),te(32855))})(function(E){E.defineOption("autoCloseTags",!1,function(Se,de,Xe){if(Xe!=E.Init&&Xe&&Se.removeKeyMap("autoCloseTags"),!!de){var xe={name:"autoCloseTags"};(typeof de!="object"||de.whenClosing!==!1)&&(xe["'/'"]=function(wt){return Ee(wt)}),(typeof de!="object"||de.whenOpening!==!1)&&(xe["'>'"]=function(wt){return Fe(wt)}),Se.addKeyMap(xe)}});var Ge=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],me=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Fe(Se){if(Se.getOption("disableInput"))return E.Pass;for(var de=Se.listSelections(),Xe=[],xe=Se.getOption("autoCloseTags"),wt=0;wt<de.length;wt++){if(!de[wt].empty())return E.Pass;var Qe=de[wt].head,Te=Se.getTokenAt(Qe),$e=E.innerMode(Se.getMode(),Te.state),je=$e.state,St=$e.mode.xmlCurrentTag&&$e.mode.xmlCurrentTag(je),Nt=St&&St.name;if(!Nt)return E.Pass;var Rt=$e.mode.configuration=="html",Et=typeof xe=="object"&&xe.dontCloseTags||Rt&&Ge,ct=typeof xe=="object"&&xe.indentTags||Rt&&me;Te.end>Qe.ch&&(Nt=Nt.slice(0,Nt.length-Te.end+Qe.ch));var dt=Nt.toLowerCase();if(!Nt||Te.type=="string"&&(Te.end!=Qe.ch||!/[\"\']/.test(Te.string.charAt(Te.string.length-1))||Te.string.length==1)||Te.type=="tag"&&St.close||Te.string.indexOf("/")==Qe.ch-Te.start-1||Et&&Ae(Et,dt)>-1||Ie(Se,$e.mode.xmlCurrentContext&&$e.mode.xmlCurrentContext(je)||[],Nt,Qe,!0))return E.Pass;var nt=typeof xe=="object"&&xe.emptyTags;if(nt&&Ae(nt,Nt)>-1){Xe[wt]={text:"/>",newPos:E.Pos(Qe.line,Qe.ch+2)};continue}var Dt=ct&&Ae(ct,dt)>-1;Xe[wt]={indent:Dt,text:">"+(Dt?`
`:"")+"</"+Nt+">",newPos:Dt?E.Pos(Qe.line+1,0):E.Pos(Qe.line,Qe.ch+1)}}for(var et=typeof xe=="object"&&xe.dontIndentOnAutoClose,wt=de.length-1;wt>=0;wt--){var He=Xe[wt];Se.replaceRange(He.text,de[wt].head,de[wt].anchor,"+insert");var vt=Se.listSelections().slice(0);vt[wt]={head:He.newPos,anchor:He.newPos},Se.setSelections(vt),!et&&He.indent&&(Se.indentLine(He.newPos.line,null,!0),Se.indentLine(He.newPos.line+1,null,!0))}}function we(Se,de){for(var Xe=Se.listSelections(),xe=[],wt=de?"/":"</",Qe=Se.getOption("autoCloseTags"),Te=typeof Qe=="object"&&Qe.dontIndentOnSlash,$e=0;$e<Xe.length;$e++){if(!Xe[$e].empty())return E.Pass;var je=Xe[$e].head,St=Se.getTokenAt(je),Nt=E.innerMode(Se.getMode(),St.state),Rt=Nt.state;if(de&&(St.type=="string"||St.string.charAt(0)!="<"||St.start!=je.ch-1))return E.Pass;var Et,ct=Nt.mode.name!="xml"&&Se.getMode().name=="htmlmixed";if(ct&&Nt.mode.name=="javascript")Et=wt+"script";else if(ct&&Nt.mode.name=="css")Et=wt+"style";else{var dt=Nt.mode.xmlCurrentContext&&Nt.mode.xmlCurrentContext(Rt);if(!dt||dt.length&&Ie(Se,dt,dt[dt.length-1],je))return E.Pass;Et=wt+dt[dt.length-1]}Se.getLine(je.line).charAt(St.end)!=">"&&(Et+=">"),xe[$e]=Et}if(Se.replaceSelections(xe),Xe=Se.listSelections(),!Te)for(var $e=0;$e<Xe.length;$e++)($e==Xe.length-1||Xe[$e].head.line<Xe[$e+1].head.line)&&Se.indentLine(Xe[$e].head.line)}function Ee(Se){return Se.getOption("disableInput")?E.Pass:we(Se,!0)}E.commands.closeTag=function(Se){return we(Se)};function Ae(Se,de){if(Se.indexOf)return Se.indexOf(de);for(var Xe=0,xe=Se.length;Xe<xe;++Xe)if(Se[Xe]==de)return Xe;return-1}function Ie(Se,de,Xe,xe,wt){if(!E.scanForClosingTag)return!1;var Qe=Math.min(Se.lastLine()+1,xe.line+500),Te=E.scanForClosingTag(Se,xe,null,Qe);if(!Te||Te.tag!=Xe)return!1;for(var $e=wt?1:0,je=de.length-1;je>=0&&de[je]==Xe;je--)++$e;xe=Te.to;for(var je=1;je<$e;je++){var St=E.scanForClosingTag(Se,xe,null,Qe);if(!St||St.tag!=Xe)return!1;xe=St.to}return!0}})},32855:function(_t,Ht,te){(function(E){E(te(89780))})(function(E){"use strict";var Ge=E.Pos;function me(je,St){return je.line-St.line||je.ch-St.ch}var Fe="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",we=Fe+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ee=new RegExp("<(/?)(["+Fe+"]["+we+"]*)","g");function Ae(je,St,Nt,Rt){this.line=St,this.ch=Nt,this.cm=je,this.text=je.getLine(St),this.min=Rt?Math.max(Rt.from,je.firstLine()):je.firstLine(),this.max=Rt?Math.min(Rt.to-1,je.lastLine()):je.lastLine()}function Ie(je,St){var Nt=je.cm.getTokenTypeAt(Ge(je.line,St));return Nt&&/\btag\b/.test(Nt)}function Se(je){if(!(je.line>=je.max))return je.ch=0,je.text=je.cm.getLine(++je.line),!0}function de(je){if(!(je.line<=je.min))return je.text=je.cm.getLine(--je.line),je.ch=je.text.length,!0}function Xe(je){for(;;){var St=je.text.indexOf(">",je.ch);if(St==-1){if(Se(je))continue;return}if(!Ie(je,St+1)){je.ch=St+1;continue}var Nt=je.text.lastIndexOf("/",St),Rt=Nt>-1&&!/\S/.test(je.text.slice(Nt+1,St));return je.ch=St+1,Rt?"selfClose":"regular"}}function xe(je){for(;;){var St=je.ch?je.text.lastIndexOf("<",je.ch-1):-1;if(St==-1){if(de(je))continue;return}if(!Ie(je,St+1)){je.ch=St;continue}Ee.lastIndex=St,je.ch=St;var Nt=Ee.exec(je.text);if(Nt&&Nt.index==St)return Nt}}function wt(je){for(;;){Ee.lastIndex=je.ch;var St=Ee.exec(je.text);if(!St){if(Se(je))continue;return}if(!Ie(je,St.index+1)){je.ch=St.index+1;continue}return je.ch=St.index+St[0].length,St}}function Qe(je){for(;;){var St=je.ch?je.text.lastIndexOf(">",je.ch-1):-1;if(St==-1){if(de(je))continue;return}if(!Ie(je,St+1)){je.ch=St;continue}var Nt=je.text.lastIndexOf("/",St),Rt=Nt>-1&&!/\S/.test(je.text.slice(Nt+1,St));return je.ch=St+1,Rt?"selfClose":"regular"}}function Te(je,St){for(var Nt=[];;){var Rt=wt(je),Et,ct=je.line,dt=je.ch-(Rt?Rt[0].length:0);if(!Rt||!(Et=Xe(je)))return;if(Et!="selfClose")if(Rt[1]){for(var nt=Nt.length-1;nt>=0;--nt)if(Nt[nt]==Rt[2]){Nt.length=nt;break}if(nt<0&&(!St||St==Rt[2]))return{tag:Rt[2],from:Ge(ct,dt),to:Ge(je.line,je.ch)}}else Nt.push(Rt[2])}}function $e(je,St){for(var Nt=[];;){var Rt=Qe(je);if(!Rt)return;if(Rt=="selfClose"){xe(je);continue}var Et=je.line,ct=je.ch,dt=xe(je);if(!dt)return;if(dt[1])Nt.push(dt[2]);else{for(var nt=Nt.length-1;nt>=0;--nt)if(Nt[nt]==dt[2]){Nt.length=nt;break}if(nt<0&&(!St||St==dt[2]))return{tag:dt[2],from:Ge(je.line,je.ch),to:Ge(Et,ct)}}}}E.registerHelper("fold","xml",function(je,St){for(var Nt=new Ae(je,St.line,0);;){var Rt=wt(Nt);if(!Rt||Nt.line!=St.line)return;var Et=Xe(Nt);if(!Et)return;if(!Rt[1]&&Et!="selfClose"){var ct=Ge(Nt.line,Nt.ch),dt=Te(Nt,Rt[2]);return dt&&me(dt.from,ct)>0?{from:ct,to:dt.from}:null}}}),E.findMatchingTag=function(je,St,Nt){var Rt=new Ae(je,St.line,St.ch,Nt);if(!(Rt.text.indexOf(">")==-1&&Rt.text.indexOf("<")==-1)){var Et=Xe(Rt),ct=Et&&Ge(Rt.line,Rt.ch),dt=Et&&xe(Rt);if(!(!Et||!dt||me(Rt,St)>0)){var nt={from:Ge(Rt.line,Rt.ch),to:ct,tag:dt[2]};return Et=="selfClose"?{open:nt,close:null,at:"open"}:dt[1]?{open:$e(Rt,dt[2]),close:nt,at:"close"}:(Rt=new Ae(je,ct.line,ct.ch,Nt),{open:nt,close:Te(Rt,dt[2]),at:"open"})}}},E.findEnclosingTag=function(je,St,Nt,Rt){for(var Et=new Ae(je,St.line,St.ch,Nt);;){var ct=$e(Et,Rt);if(!ct)break;var dt=new Ae(je,St.line,St.ch,Nt),nt=Te(dt,ct.tag);if(nt)return{open:ct,close:nt}}},E.scanForClosingTag=function(je,St,Nt,Rt){var Et=new Ae(je,St.line,St.ch,Rt?{from:0,to:Rt}:null);return Te(Et,Nt)}})},89780:function(_t){(function(Ht,te){_t.exports=te()})(this,function(){"use strict";var Ht=navigator.userAgent,te=navigator.platform,E=/gecko\/\d/i.test(Ht),Ge=/MSIE \d/.test(Ht),me=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ht),Fe=/Edge\/(\d+)/.exec(Ht),we=Ge||me||Fe,Ee=we&&(Ge?document.documentMode||6:+(Fe||me)[1]),Ae=!Fe&&/WebKit\//.test(Ht),Ie=Ae&&/Qt\/\d+\.\d+/.test(Ht),Se=!Fe&&/Chrome\//.test(Ht),de=/Opera\//.test(Ht),Xe=/Apple Computer/.test(navigator.vendor),xe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Ht),wt=/PhantomJS/.test(Ht),Qe=!Fe&&/AppleWebKit/.test(Ht)&&/Mobile\/\w+/.test(Ht),Te=/Android/.test(Ht),$e=Qe||Te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Ht),je=Qe||/Mac/.test(te),St=/\bCrOS\b/.test(Ht),Nt=/win/i.test(te),Rt=de&&Ht.match(/Version\/(\d*\.\d*)/);Rt&&(Rt=Number(Rt[1])),Rt&&Rt>=15&&(de=!1,Ae=!0);var Et=je&&(Ie||de&&(Rt==null||Rt<12.11)),ct=E||we&&Ee>=9;function dt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var nt=function(a,y){var x=a.className,b=dt(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 Dt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function et(a,y){return Dt(a).appendChild(y)}function He(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 vt(a,y,x,b){var z=He(a,y,x,b);return z.setAttribute("role","presentation"),z}var De;document.createRange?De=function(a,y,x,b){var z=document.createRange();return z.setEnd(b||a,x),z.setStart(a,y),z}:De=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 We(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Re(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function ue(a,y){var x=a.className;dt(y).test(x)||(a.className+=(x?" ":"")+y)}function st(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!dt(x[b]).test(y)&&(y+=" "+x[b]);return y}var Le=function(a){a.select()};Qe?Le=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:we&&(Le=function(a){try{a.select()}catch(y){}});function Ue(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Tt(a,y,x){y||(y={});for(var b in a)a.hasOwnProperty(b)&&(x!==!1||!y.hasOwnProperty(b))&&(y[b]=a[b]);return y}function ge(a,y,x,b,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 fe=function(){this.id=null,this.f=null,this.time=0,this.handler=Ue(this.onTimeout,this)};fe.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},fe.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 bt(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var Lt=50,Bt={toString:function(){return"CodeMirror.Pass"}},ve={scroll:!1},ke={origin:"*mouse"},Ze={origin:"+move"};function xt(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 Mt=[""];function Xt(a){for(;Mt.length<=a;)Mt.push(ze(Mt)+" ");return Mt[a]}function ze(a){return a[a.length-1]}function Vt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function gt(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 ne(a,y){var x;return Object.create?x=Object.create(a):(ae.prototype=a,x=new ae),y&&Tt(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 re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var he=/[\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&&he.test(a)}function lt(a,y,x){for(;(x<0?y>0:y<a.length)&&ye(a.charAt(y));)y+=x;return y}function Be(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 Ke(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 ut=null;function Ct(a,y,x){var b;ut=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:ut=z),ie.from==y&&(ie.from!=ie.to&&x!="before"?b=z:ut=z)}return b!=null?b:ut}var At=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(be){return be<=247?a.charAt(be):1424<=be&&be<=1524?"R":1536<=be&&be<=1785?y.charAt(be-1536):1774<=be&&be<=2220?"r":8192<=be&&be<=8203?"w":be==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,z=/[stwN]/,ie=/[LRr]/,le=/[Lb1n]/,ce=/[1n]/;function pe(be,it,yt){this.level=be,this.from=it,this.to=yt}return function(be,it){var yt=it=="ltr"?"L":"R";if(be.length==0||it=="ltr"&&!b.test(be))return!1;for(var qt=be.length,Kt=[],En=0;En<qt;++En)Kt.push(x(be.charCodeAt(En)));for(var Nn=0,Zn=yt;Nn<qt;++Nn){var Jn=Kt[Nn];Jn=="m"?Kt[Nn]=Zn:Zn=Jn}for(var rr=0,Qn=yt;rr<qt;++rr){var ar=Kt[rr];ar=="1"&&Qn=="r"?Kt[rr]="n":ie.test(ar)&&(Qn=ar,ar=="r"&&(Kt[rr]="R"))}for(var gr=1,hr=Kt[0];gr<qt-1;++gr){var Lr=Kt[gr];Lr=="+"&&hr=="1"&&Kt[gr+1]=="1"?Kt[gr]="1":Lr==","&&hr==Kt[gr+1]&&(hr=="1"||hr=="n")&&(Kt[gr]=hr),hr=Lr}for(var Qr=0;Qr<qt;++Qr){var mi=Kt[Qr];if(mi==",")Kt[Qr]="N";else if(mi=="%"){var qr=void 0;for(qr=Qr+1;qr<qt&&Kt[qr]=="%";++qr);for(var Wi=Qr&&Kt[Qr-1]=="!"||qr<qt&&Kt[qr]=="1"?"1":"N",Li=Qr;Li<qr;++Li)Kt[Li]=Wi;Qr=qr-1}}for(var ai=0,Ti=yt;ai<qt;++ai){var bi=Kt[ai];Ti=="L"&&bi=="1"?Kt[ai]="L":ie.test(bi)&&(Ti=bi)}for(var di=0;di<qt;++di)if(z.test(Kt[di])){var li=void 0;for(li=di+1;li<qt&&z.test(Kt[li]);++li);for(var ei=(di?Kt[di-1]:yt)=="L",Ni=(li<qt?Kt[li]:yt)=="L",Xo=ei==Ni?ei?"L":"R":yt,bo=di;bo<li;++bo)Kt[bo]=Xo;di=li-1}for(var Si=[],ro,vi=0;vi<qt;)if(le.test(Kt[vi])){var bl=vi;for(++vi;vi<qt&&le.test(Kt[vi]);++vi);Si.push(new pe(0,bl,vi))}else{var lo=vi,Do=Si.length,Bo=it=="rtl"?1:0;for(++vi;vi<qt&&Kt[vi]!="L";++vi);for(var Oi=lo;Oi<vi;)if(ce.test(Kt[Oi])){lo<Oi&&(Si.splice(Do,0,new pe(1,lo,Oi)),Do+=Bo);var Uo=Oi;for(++Oi;Oi<vi&&ce.test(Kt[Oi]);++Oi);Si.splice(Do,0,new pe(2,Uo,Oi)),Do+=Bo,lo=Oi}else++Oi;lo<vi&&Si.splice(Do,0,new pe(1,lo,vi))}return it=="ltr"&&(Si[0].level==1&&(ro=be.match(/^\s+/))&&(Si[0].from=ro[0].length,Si.unshift(new pe(0,0,ro[0].length))),ze(Si).level==1&&(ro=be.match(/\s+$/))&&(ze(Si).to-=ro[0].length,Si.push(new pe(0,qt-ro[0].length,qt)))),it=="rtl"?Si.reverse():Si}}();function nn(a,y){var x=a.order;return x==null&&(x=a.order=At(a.text,y)),x}var Qt=[],Yt=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]||Qt).concat(x)}};function on(a,y){return a._handlers&&a._handlers[y]||Qt}function Ft(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=bt(z,x);ie>-1&&(b[y]=z.slice(0,ie).concat(z.slice(ie+1)))}}}function en(a,y){var x=on(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 Ot(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),en(a,x||y.type,a,y),Gt(y)||y.codemirrorIgnore}function rn(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)bt(x,y[b])==-1&&x.push(y[b])}function Ut(a,y){return on(a,y).length>0}function Ne(a){a.prototype.on=function(y,x){Yt(this,y,x)},a.prototype.off=function(y,x){Ft(this,y,x)}}function rt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function zt(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Gt(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Pe(a){rt(a),zt(a)}function Ye(a){return a.target||a.srcElement}function ft(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),je&&a.ctrlKey&&y==1&&(y=3),y}var kt=function(){if(we&&Ee<9)return!1;var a=He("div");return"draggable"in a||"dragDrop"in a}(),Jt;function cn(a){if(Jt==null){var y=He("span","\u200B");et(a,He("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Jt=y.offsetWidth<=1&&y.offsetHeight>2&&!(we&&Ee<8))}var x=Jt?He("span","\u200B"):He("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var An;function xn(a){if(An!=null)return An;var y=et(a,document.createTextNode("A\u062EA")),x=De(y,0,1).getBoundingClientRect(),b=De(y,1,2).getBoundingClientRect();return Dt(a),!x||x.left==x.right?!1:An=b.right-x.right<3}var dn=`
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/)},Sn=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},bn=function(){var a=He("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),tn=null;function Wt(a){if(tn!=null)return tn;var y=et(a,He("span","x")),x=y.getBoundingClientRect(),b=De(y,0,1).getBoundingClientRect();return tn=Math.abs(x.left-b.left)>1}var jt={},It={};function un(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),jt[a]=y}function ln(a,y){It[a]=y}function $t(a){if(typeof a=="string"&&It.hasOwnProperty(a))a=It[a];else if(a&&typeof a.name=="string"&&It.hasOwnProperty(a.name)){var y=It[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return $t("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return $t("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function gn(a,y){y=$t(y);var x=jt[y.name];if(!x)return gn(a,"text/plain");var b=x(a,y);if(Cn.hasOwnProperty(y.name)){var z=Cn[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 Cn={};function yn(a,y){var x=Cn.hasOwnProperty(a)?Cn[a]:Cn[a]={};Tt(y,x)}function kn(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 Mn(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 $n(a,y,x){return a.startState?a.startState(y,x):!0}var Gn=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};Gn.prototype.eol=function(){return this.pos>=this.string.length},Gn.prototype.sol=function(){return this.pos==this.lineStart},Gn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Gn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Gn.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},Gn.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Gn.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Gn.prototype.skipToEnd=function(){this.pos=this.string.length},Gn.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Gn.prototype.backUp=function(a){this.pos-=a},Gn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ge(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},Gn.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},Gn.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)}},Gn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Gn.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Gn.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Gn.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 an(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 Pn(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function Ve(a){if(a.parent==null)return null;for(var y=a.parent,x=bt(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 at(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],pe=ce.height;if(y<pe)break;y-=pe}return x+le}function Oe(a,y){return y>=a.first&&y<a.first+a.size}function Je(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Me(a,y,x){if(x===void 0&&(x=null),!(this instanceof Me))return new Me(a,y,x);this.line=a,this.ch=y,this.sticky=x}function qe(a,y){return a.line-y.line||a.ch-y.ch}function Ce(a,y){return a.sticky==y.sticky&&qe(a,y)==0}function ot(a){return Me(a.line,a.ch)}function ht(a,y){return qe(a,y)<0?y:a}function Pt(a,y){return qe(a,y)<0?a:y}function pt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function _e(a,y){if(y.line<a.first)return Me(a.first,0);var x=a.first+a.size-1;return y.line>x?Me(x,Zt(a,x).text.length):tt(y,Zt(a,y.line).text.length)}function tt(a,y){var x=a.ch;return x==null||x>y?Me(a.line,y):x<0?Me(a.line,0):a}function mt(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=_e(a,y[b]);return x}var hn=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 hn?new sn(a,kn(a.mode,y.state),x,y.lookAhead):new sn(a,kn(a.mode,y),x)},sn.prototype.save=function(a){var y=a!==!1?kn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new hn(y,this.maxLookAhead):y};function fn(a,y,x,b){var z=[a.state.modeGen],ie={};Yn(a,y.text,a.doc.mode,x,function(be,it){return z.push(be,it)},ie,b);for(var le=x.state,ce=function(be){x.baseTokens=z;var it=a.state.overlays[be],yt=1,qt=0;x.state=!0,Yn(a,y.text,it.mode,x,function(Kt,En){for(var Nn=yt;qt<Kt;){var Zn=z[yt];Zn>Kt&&z.splice(yt,1,Kt,z[yt+1],Zn),yt+=2,qt=Math.min(Kt,Zn)}if(En)if(it.opaque)z.splice(Nn,yt-Nn,Kt,"overlay "+En),yt=Nn+2;else for(;Nn<yt;Nn+=2){var Jn=z[Nn+1];z[Nn+1]=(Jn?Jn+" ":"")+"overlay "+En}},ie),x.state=le,x.baseTokens=null,x.baseTokenPos=1},pe=0;pe<a.state.overlays.length;++pe)ce(pe);return{styles:z,classes:ie.bgClass||ie.textClass?ie:null}}function zn(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=jn(a,Ve(y)),z=y.text.length>a.options.maxHighlightLength&&kn(a.doc.mode,b.state),ie=fn(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 jn(a,y,x){var b=a.doc,z=a.display;if(!b.mode.startState)return new sn(b,!0,y);var ie=qn(a,y,x),le=ie>b.first&&Zt(b,ie-1).stateAfter,ce=le?sn.fromSaved(b,le,ie):new sn(b,$n(b.mode),ie);return b.iter(ie,y,function(pe){Xn(a,pe.text,ce);var be=ce.line;pe.stateAfter=be==y-1||be%5==0||be>=z.viewFrom&&be<z.viewTo?ce.save():null,ce.nextLine()}),x&&(b.modeFrontier=ce.line),ce}function Xn(a,y,x,b){var z=a.doc.mode,ie=new Gn(y,a.options.tabSize,x);for(ie.start=ie.pos=b||0,y==""&&Rn(z,x.state);!ie.eol();)In(z,ie,x.state),ie.start=ie.pos}function Rn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=Mn(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function In(a,y,x,b){for(var z=0;z<10;z++){b&&(b[0]=Mn(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 Fn=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function Vn(a,y,x,b){var z=a.doc,ie=z.mode,le;y=_e(z,y);var ce=Zt(z,y.line),pe=jn(a,y.line,x),be=new Gn(ce.text,a.options.tabSize,pe),it;for(b&&(it=[]);(b||be.pos<y.ch)&&!be.eol();)be.start=be.pos,le=In(ie,be,pe.state),b&&it.push(new Fn(be,le,kn(z.mode,pe.state)));return b?it:new Fn(be,le,pe.state)}function _n(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 Yn(a,y,x,b,z,ie,le){var ce=x.flattenSpans;ce==null&&(ce=a.options.flattenSpans);var pe=0,be=null,it=new Gn(y,a.options.tabSize,b),yt,qt=a.options.addModeClass&&[null];for(y==""&&_n(Rn(x,b.state),ie);!it.eol();){if(it.pos>a.options.maxHighlightLength?(ce=!1,le&&Xn(a,y,b,it.pos),it.pos=y.length,yt=null):yt=_n(In(x,it,b.state,qt),ie),qt){var Kt=qt[0].name;Kt&&(yt="m-"+(yt?Kt+" "+yt:Kt))}if(!ce||be!=yt){for(;pe<it.start;)pe=Math.min(it.start,pe+5e3),z(pe,be);be=yt}it.start=it.pos}for(;pe<it.pos;){var En=Math.min(it.pos,pe+5e3);z(En,be),pe=En}}function qn(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 pe=Zt(ie,ce-1),be=pe.stateAfter;if(be&&(!x||ce+(be instanceof hn?be.lookAhead:0)<=ie.modeFrontier))return ce;var it=ge(pe.text,null,a.options.tabSize);(z==null||b>it)&&(z=ce-1,b=it)}return z}function Ln(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 hn)||b+z.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var nr=!1,Un=!1;function dr(){nr=!0}function pr(){Un=!0}function sr(a,y,x){this.marker=a,this.from=y,this.to=x}function ur(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 lr(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function fr(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 pe=ie.to==null||(le.inclusiveRight?ie.to>=y:ie.to>y);(b||(b=[])).push(new sr(le,ie.from,pe?null:ie.to))}}return b}function tr(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 pe=ie.from==null||(le.inclusiveLeft?ie.from<=y:ie.from<y);(b||(b=[])).push(new sr(le,pe?null:ie.from-y,ie.to==null?null:ie.to-y))}}return b}function mr(a,y){if(y.full)return null;var x=Oe(a,y.from.line)&&Zt(a,y.from.line).markedSpans,b=Oe(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=qe(y.from,y.to)==0,ce=fr(x,z,le),pe=tr(b,ie,le),be=y.text.length==1,it=ze(y.text).length+(be?z:0);if(ce)for(var yt=0;yt<ce.length;++yt){var qt=ce[yt];if(qt.to==null){var Kt=ur(pe,qt.marker);Kt?be&&(qt.to=Kt.to==null?null:Kt.to+it):qt.to=z}}if(pe)for(var En=0;En<pe.length;++En){var Nn=pe[En];if(Nn.to!=null&&(Nn.to+=it),Nn.from==null){var Zn=ur(ce,Nn.marker);Zn||(Nn.from=it,be&&(ce||(ce=[])).push(Nn))}else Nn.from+=it,be&&(ce||(ce=[])).push(Nn)}ce&&(ce=br(ce)),pe&&pe!=ce&&(pe=br(pe));var Jn=[ce];if(!be){var rr=y.text.length-2,Qn;if(rr>0&&ce)for(var ar=0;ar<ce.length;++ar)ce[ar].to==null&&(Qn||(Qn=[])).push(new sr(ce[ar].marker,null,null));for(var gr=0;gr<rr;++gr)Jn.push(Qn);Jn.push(pe)}return Jn}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(Kt){if(Kt.markedSpans)for(var En=0;En<Kt.markedSpans.length;++En){var Nn=Kt.markedSpans[En].marker;Nn.readOnly&&(!b||bt(b,Nn)==-1)&&(b||(b=[])).push(Nn)}}),!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),pe=0;pe<z.length;++pe){var be=z[pe];if(!(qe(be.to,ce.from)<0||qe(be.from,ce.to)>0)){var it=[pe,1],yt=qe(be.from,ce.from),qt=qe(be.to,ce.to);(yt<0||!le.inclusiveLeft&&!yt)&&it.push({from:be.from,to:ce.from}),(qt>0||!le.inclusiveRight&&!qt)&&it.push({from:ce.to,to:be.to}),z.splice.apply(z,it),pe+=it.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 Ar(a){return a.inclusiveLeft?-1:0}function Dr(a){return a.inclusiveRight?1:0}function or(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),z=y.find(),ie=qe(b.from,z.from)||Ar(a)-Ar(y);if(ie)return-ie;var le=qe(b.to,z.to)||Dr(a)-Dr(y);return le||y.id-a.id}function ir(a,y){var x=Un&&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||or(b,z.marker)<0)&&(b=z.marker);return b}function er(a){return ir(a,!0)}function vn(a){return ir(a,!1)}function Dn(a,y){var x=Un&&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||or(b,ie.marker)<0)&&(b=ie.marker)}return b}function On(a,y,x,b,z){var ie=Zt(a,y),le=Un&&ie.markedSpans;if(le)for(var ce=0;ce<le.length;++ce){var pe=le[ce];if(pe.marker.collapsed){var be=pe.marker.find(0),it=qe(be.from,x)||Ar(pe.marker)-Ar(z),yt=qe(be.to,b)||Dr(pe.marker)-Dr(z);if(!(it>=0&&yt<=0||it<=0&&yt>=0)&&(it<=0&&(pe.marker.inclusiveRight&&z.inclusiveLeft?qe(be.to,x)>=0:qe(be.to,x)>0)||it>=0&&(pe.marker.inclusiveRight&&z.inclusiveLeft?qe(be.from,b)<=0:qe(be.from,b)<0)))return!0}}}function pn(a){for(var y;y=er(a);)a=y.find(-1,!0).line;return a}function Wn(a){for(var y;y=vn(a);)a=y.find(1,!0).line;return a}function Kn(a){for(var y,x;y=vn(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:Ve(b)}function mn(a,y){if(y>a.lastLine())return y;var x=Zt(a,y),b;if(!Tn(a,x))return y;for(;b=vn(x);)x=b.find(1,!0).line;return Ve(x)+1}function Tn(a,y){var x=Un&&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&&Hn(a,y,b))return!0}}}function Hn(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return Hn(a,b.line,ur(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)&&Hn(a,y,z))return!0}function cr(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=er(b);){var z=x.find(0,!0);b=z.from.line,y+=z.from.ch-z.to.ch}for(b=a;x=vn(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 Pr(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 Ve(this)},Ne(Fr);function Nr(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&&Pn(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=vt("span",null,null,Ae?"padding-right: .1px":null),b={pre:vt("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=ki,xn(a.display.measure)&&(le=nn(ie,a.doc.direction))&&(b.addToken=si(b.addToken,le)),b.map=[];var ce=y!=a.display.externalMeasured&&Ve(ie);Wr(ie,b,zn(a,ie,ce)),ie.styleClasses&&(ie.styleClasses.bgClass&&(b.bgClass=st(ie.styleClasses.bgClass,b.bgClass||"")),ie.styleClasses.textClass&&(b.textClass=st(ie.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(cn(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(Ae){var pe=b.content.lastChild;(/\bcm-tab\b/.test(pe.className)||pe.querySelector&&pe.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return en(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=st(b.pre.className,b.textClass||"")),b}function Ei(a){var y=He("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function ki(a,y,x,b,z,ie,le){if(y){var ce=a.splitSpaces?xi(y,a.trailingSpace):y,pe=a.cm.state.specialChars,be=!1,it;if(!pe.test(y))a.col+=y.length,it=document.createTextNode(ce),a.map.push(a.pos,a.pos+y.length,it),we&&Ee<9&&(be=!0),a.pos+=y.length;else{it=document.createDocumentFragment();for(var yt=0;;){pe.lastIndex=yt;var qt=pe.exec(y),Kt=qt?qt.index-yt:y.length-yt;if(Kt){var En=document.createTextNode(ce.slice(yt,yt+Kt));we&&Ee<9?it.appendChild(He("span",[En])):it.appendChild(En),a.map.push(a.pos,a.pos+Kt,En),a.col+=Kt,a.pos+=Kt}if(!qt)break;yt+=Kt+1;var Nn=void 0;if(qt[0]==" "){var Zn=a.cm.options.tabSize,Jn=Zn-a.col%Zn;Nn=it.appendChild(He("span",Xt(Jn),"cm-tab")),Nn.setAttribute("role","presentation"),Nn.setAttribute("cm-text"," "),a.col+=Jn}else qt[0]=="\r"||qt[0]==`
`?(Nn=it.appendChild(He("span",qt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Nn.setAttribute("cm-text",qt[0]),a.col+=1):(Nn=a.cm.options.specialCharPlaceholder(qt[0]),Nn.setAttribute("cm-text",qt[0]),we&&Ee<9?it.appendChild(He("span",[Nn])):it.appendChild(Nn),a.col+=1);a.map.push(a.pos,a.pos+1,Nn),a.pos++}}if(a.trailingSpace=ce.charCodeAt(y.length-1)==32,x||b||z||be||ie||le){var rr=x||"";b&&(rr+=b),z&&(rr+=z);var Qn=He("span",[it],rr,ie);if(le)for(var ar in le)le.hasOwnProperty(ar)&&ar!="style"&&ar!="class"&&Qn.setAttribute(ar,le[ar]);return a.content.appendChild(Qn)}a.content.appendChild(it)}}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,pe){z=z?z+" cm-force-border":"cm-force-border";for(var be=x.pos,it=be+b.length;;){for(var yt=void 0,qt=0;qt<y.length&&(yt=y[qt],!(yt.to>be&&yt.from<=be));qt++);if(yt.to>=it)return a(x,b,z,ie,le,ce,pe);a(x,b.slice(0,yt.to-be),z,ie,null,ce,pe),ie=null,b=b.slice(yt.to-be),be=yt.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,pe=0,be=1,it="",yt,qt,Kt=0,En,Nn,Zn,Jn,rr;;){if(Kt==pe){En=Nn=Zn=qt="",rr=null,Jn=null,Kt=1/0;for(var Qn=[],ar=void 0,gr=0;gr<b.length;++gr){var hr=b[gr],Lr=hr.marker;if(Lr.type=="bookmark"&&hr.from==pe&&Lr.widgetNode)Qn.push(Lr);else if(hr.from<=pe&&(hr.to==null||hr.to>pe||Lr.collapsed&&hr.to==pe&&hr.from==pe)){if(hr.to!=null&&hr.to!=pe&&Kt>hr.to&&(Kt=hr.to,Nn=""),Lr.className&&(En+=" "+Lr.className),Lr.css&&(qt=(qt?qt+";":"")+Lr.css),Lr.startStyle&&hr.from==pe&&(Zn+=" "+Lr.startStyle),Lr.endStyle&&hr.to==Kt&&(ar||(ar=[])).push(Lr.endStyle,hr.to),Lr.title&&((rr||(rr={})).title=Lr.title),Lr.attributes)for(var Qr in Lr.attributes)(rr||(rr={}))[Qr]=Lr.attributes[Qr];Lr.collapsed&&(!Jn||or(Jn.marker,Lr)<0)&&(Jn=hr)}else hr.from>pe&&Kt>hr.from&&(Kt=hr.from)}if(ar)for(var mi=0;mi<ar.length;mi+=2)ar[mi+1]==Kt&&(Nn+=" "+ar[mi]);if(!Jn||Jn.from==pe)for(var qr=0;qr<Qn.length;++qr)Fi(y,0,Qn[qr]);if(Jn&&(Jn.from||0)==pe){if(Fi(y,(Jn.to==null?ce+1:Jn.to)-pe,Jn.marker,Jn.from==null),Jn.to==null)return;Jn.to==pe&&(Jn=!1)}}if(pe>=ce)break;for(var Wi=Math.min(ce,Kt);;){if(it){var Li=pe+it.length;if(!Jn){var ai=Li>Wi?it.slice(0,Wi-pe):it;y.addToken(y,ai,yt?yt+En:En,Zn,pe+ai.length==Kt?Nn:"",qt,rr)}if(Li>=Wi){it=it.slice(Wi-pe),pe=Wi;break}pe=Li,Zn=""}it=z.slice(ie,ie=x[be++]),yt=Yr(x[be++],y.cm.options)}}}function Ki(a,y,x){this.line=y,this.rest=Kn(y),this.size=this.rest?Ve(ze(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Tn(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 kr=null;function Ir(a,y){var x=on(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),z;xr?z=xr.delayedCallbacks:kr?z=kr:(z=kr=[],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=kr;kr=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"?Or(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=He("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),we&&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(He("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 Or(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=He("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=He("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(He("div",Je(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var pe=0;pe<a.display.gutterSpecs.length;++pe){var be=a.display.gutterSpecs[pe].className,it=ie.hasOwnProperty(be)&&ie[be];it&&ce.appendChild(He("div",[it],"CodeMirror-gutter-elt","left: "+b.gutterLeft[be]+"px; width: "+b.gutterWidth[be]+"px"))}}}function Cr(a,y,x){y.alignable&&(y.alignable=null);for(var b=dt("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),Or(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 pe=ce[le],be=He("div",[pe.node],"CodeMirror-linewidget"+(pe.className?" "+pe.className:""));pe.handleMouseEvents||be.setAttribute("cm-ignore-events","true"),Yi(pe,be,x,b),a.display.input.setUneditable(be),z&&pe.above?ie.insertBefore(be,x.gutter||x.text):ie.appendChild(be),Ir(pe,"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 Ai(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!We(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;"),et(y.display.measure,He("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function gi(a,y){for(var x=Ye(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=et(a.measure,He("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 Lt-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 pe=le[ce],be=le[ce+1];Math.abs(pe.bottom-be.bottom)>2&&ie.push((pe.bottom+be.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(Ve(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=Ve(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,et(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=Ve(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,pe,be=0;be<a.length;be+=3)if(ce=a[be],pe=a[be+1],y<ce?(z=0,ie=1,le="left"):y<pe?(z=y-ce,ie=z+1):(be==a.length-3||y==pe&&a[be+3]>y)&&(ie=pe-ce,z=ie-1,y>=pe&&(le="right")),z!=null){if(b=a[be+2],ce==pe&&x==(b.insertLeft?"left":"right")&&(le=x),x=="left"&&z==0)for(;be&&a[be-2]==a[be-3]&&a[be-1].insertLeft;)b=a[(be-=3)+2],le="left";if(x=="right"&&z==pe-ce)for(;be<a.length-3&&a[be+3]==a[be+4]&&!a[be+5].insertLeft;)b=a[(be+=3)+2],le="right";break}return{node:b,start:z,end:ie,collapse:le,coverStart:ce,coverEnd:pe}}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,pe=z.collapse,be;if(ie.nodeType==3){for(var it=0;it<4;it++){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(we&&Ee<9&&le==0&&ce==z.coverEnd-z.coverStart?be=ie.parentNode.getBoundingClientRect():be=Xa(De(ie,le,ce).getClientRects(),b),be.left||be.right||le==0)break;ce=le,le=le-1,pe="right"}we&&Ee<11&&(be=Ua(a.display.measure,be))}else{le>0&&(pe=b="right");var yt;a.options.lineWrapping&&(yt=ie.getClientRects()).length>1?be=yt[b=="right"?yt.length-1:0]:be=ie.getBoundingClientRect()}if(we&&Ee<9&&!le&&(!be||!be.left&&!be.right)){var qt=ie.parentNode.getClientRects()[0];qt?be={left:qt.left,right:qt.left+$i(a.display),top:qt.top,bottom:qt.bottom}:be=ba}for(var Kt=be.top-y.rect.top,En=be.bottom-y.rect.top,Nn=(Kt+En)/2,Zn=y.view.measure.heights,Jn=0;Jn<Zn.length-1&&!(Nn<Zn[Jn]);Jn++);var rr=Jn?Zn[Jn-1]:0,Qn=Zn[Jn],ar={left:(pe=="right"?be.right:be.left)-y.rect.left,right:(pe=="left"?be.left:be.right)-y.rect.left,top:rr,bottom:Qn};return!be.left&&!be.right&&(ar.bogus=!0),a.options.singleCursorHeightPerLine||(ar.rtop=Kt,ar.rbottom=En),ar}function Ua(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Wt(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,Dt(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 Se&&Te?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wa(){return Se&&Te?-(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+=Ai(a.widgets[x]));return y}function Io(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=cr(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 pe=ce.left+(b=="window"?0:Jo());x.left+=pe,x.right+=pe}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 Lo(a,y,x,b,z){return b||(b=Zt(a.doc,y.line)),Io(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(En,Nn){var Zn=Xi(a,z,En,Nn?"right":"left",ie);return Nn?Zn.left=Zn.right:Zn.right=Zn.left,Io(a,b,Zn,x)}var ce=nn(b,a.doc.direction),pe=y.ch,be=y.sticky;if(pe>=b.text.length?(pe=b.text.length,be="before"):pe<=0&&(pe=0,be="after"),!ce)return le(be=="before"?pe-1:pe,be=="before");function it(En,Nn,Zn){var Jn=ce[Nn],rr=Jn.level==1;return le(Zn?En-1:En,rr!=Zn)}var yt=Ct(ce,pe,be),qt=ut,Kt=it(pe,yt,be=="before");return qt!=null&&(Kt.other=it(pe,qt,be!="before")),Kt}function Zr(a,y){var x=0;y=_e(a.doc,y),a.options.lineWrapping||(x=$i(a.display)*y.ch);var b=Zt(a.doc,y.line),z=cr(b)+ri(a.display);return{left:x,right:x,top:z,bottom:z+b.height}}function Br(a,y,x,b,z){var ie=Me(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=at(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),pe=Dn(le,ce.ch+(ce.xRel>0||ce.outside>0?1:0));if(!pe)return ce;var be=pe.find(1);if(be.line==z)return be;le=Zt(b,z=be.line)}}function Ci(a,y,x,b){b-=Qo(y);var z=y.text.length,ie=Be(function(le){return Xi(a,x,le-1).bottom<=b},z,0);return z=Be(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=Io(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-=cr(y);var ie=uo(a,y),le=Qo(y),ce=0,pe=y.text.length,be=!0,it=nn(y,a.doc.direction);if(it){var yt=(a.options.lineWrapping?oo:Ui)(a,y,x,ie,it,b,z);be=yt.level!=1,ce=be?yt.from:yt.to-1,pe=be?yt.to:yt.from-1}var qt=null,Kt=null,En=Be(function(gr){var hr=Xi(a,ie,gr);return hr.top+=le,hr.bottom+=le,ci(hr,b,z,!1)?(hr.top<=z&&hr.left<=b&&(qt=gr,Kt=hr),!0):!1},ce,pe),Nn,Zn,Jn=!1;if(Kt){var rr=b-Kt.left<Kt.right-b,Qn=rr==be;En=qt+(Qn?0:1),Zn=Qn?"after":"before",Nn=rr?Kt.left:Kt.right}else{!be&&(En==pe||En==ce)&&En++,Zn=En==0?"after":En==y.text.length?"before":Xi(a,ie,En-(be?1:0)).bottom+le<=z==be?"after":"before";var ar=Bi(a,Me(x,En,Zn),"line",y,ie);Nn=ar.left,Jn=z<ar.top?-1:z>=ar.bottom?1:0}return En=lt(y.text,En,1),Br(x,En,Zn,Jn,b-Nn)}function Ui(a,y,x,b,z,ie,le){var ce=Be(function(yt){var qt=z[yt],Kt=qt.level!=1;return ci(Bi(a,Me(x,Kt?qt.to:qt.from,Kt?"before":"after"),"line",y,b),ie,le,!0)},0,z.length-1),pe=z[ce];if(ce>0){var be=pe.level!=1,it=Bi(a,Me(x,be?pe.from:pe.to,be?"after":"before"),"line",y,b);ci(it,ie,le,!0)&&it.top>le&&(pe=z[ce-1])}return pe}function oo(a,y,x,b,z,ie,le){var ce=Ci(a,y,b,le),pe=ce.begin,be=ce.end;/\s/.test(y.text.charAt(be-1))&&be--;for(var it=null,yt=null,qt=0;qt<z.length;qt++){var Kt=z[qt];if(!(Kt.from>=be||Kt.to<=pe)){var En=Kt.level!=1,Nn=Xi(a,b,En?Math.min(be,Kt.to)-1:Math.max(pe,Kt.from)).right,Zn=Nn<ie?ie-Nn+1e9:Nn-ie;(!it||yt>Zn)&&(it=Kt,yt=Zn)}}return it||(it=z[z.length-1]),it.from<pe&&(it={from:pe,to:it.to,level:it.level}),it.to>be&&(it={from:it.from,to:be,level:it.level}),it}var zi;function Hi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(zi==null){zi=He("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)zi.appendChild(document.createTextNode("x")),zi.appendChild(He("br"));zi.appendChild(document.createTextNode("x"))}et(a.measure,zi);var x=zi.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),Dt(a.measure),x||1}function $i(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=He("span","xxxxxxxxxx"),x=He("pre",[y],"CodeMirror-line-like");et(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(Tn(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&&Pn(b,z)})}function wo(a,y,x,b){var z=a.display;if(!x&&Ye(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(yt){return null}var pe=yi(a,ie,le),be;if(b&&pe.xRel>0&&(be=Zt(a.doc,pe.line).text).length==pe.ch){var it=ge(be,be.length,a.options.tabSize)-be.length;pe=Me(pe.line,Math.max(0,Math.round((ie-eo(a.display).left)/$i(a.display))-it))}return pe}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)Un&&wn(a.doc,y)<z.viewTo&&ho(a);else if(x<=z.viewFrom)Un&&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),pe=Ea(a,x,x+b,1);ce&&pe?(z.view=z.view.slice(0,ce.index).concat(_r(a,ce.lineN,pe.lineN)).concat(z.view.slice(pe.index)),z.viewTo+=b):ho(a)}var be=z.externalMeasured;be&&(x<be.lineN?be.lineN+=b:y<be.lineN+be.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=[]);bt(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(!Un||x==a.doc.first+a.doc.size)return{index:z,lineN:x};for(var ce=a.display.viewFrom,pe=0;pe<z;pe++)ce+=le[pe].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 pe=ce.empty();(pe||a.options.showCursorWhenSelecting)&&El(a,ce.head,z),pe||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(He("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(He("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 Aa(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,pe=Math.max(b.sizerWidth,to(a)-b.sizer.offsetLeft)-le.right,be=z.direction=="ltr";function it(Qn,ar,gr,hr){ar<0&&(ar=0),ar=Math.round(ar),hr=Math.round(hr),ie.appendChild(He("div",null,"CodeMirror-selected","position: absolute; left: "+Qn+`px;
top: `+ar+"px; width: "+(gr==null?pe-Qn:gr)+`px;
height: `+(hr-ar)+"px"))}function yt(Qn,ar,gr){var hr=Zt(z,Qn),Lr=hr.text.length,Qr,mi;function qr(ai,Ti){return Lo(a,Me(Qn,ai),"div",hr,Ti)}function Wi(ai,Ti,bi){var di=ii(a,hr,null,ai),li=Ti=="ltr"==(bi=="after")?"left":"right",ei=bi=="after"?di.begin:di.end-(/\s/.test(hr.text.charAt(di.end-1))?2:1);return qr(ei,li)[li]}var Li=nn(hr,z.direction);return Ke(Li,ar||0,gr==null?Lr:gr,function(ai,Ti,bi,di){var li=bi=="ltr",ei=qr(ai,li?"left":"right"),Ni=qr(Ti-1,li?"right":"left"),Xo=ar==null&&ai==0,bo=gr==null&&Ti==Lr,Si=di==0,ro=!Li||di==Li.length-1;if(Ni.top-ei.top<=3){var vi=(be?Xo:bo)&&Si,bl=(be?bo:Xo)&&ro,lo=vi?ce:(li?ei:Ni).left,Do=bl?pe:(li?Ni:ei).right;it(lo,ei.top,Do-lo,ei.bottom)}else{var Bo,Oi,Uo,xl;li?(Bo=be&&Xo&&Si?ce:ei.left,Oi=be?pe:Wi(ai,bi,"before"),Uo=be?ce:Wi(Ti,bi,"after"),xl=be&&bo&&ro?pe:Ni.right):(Bo=be?Wi(ai,bi,"before"):ce,Oi=!be&&Xo&&Si?pe:ei.right,Uo=!be&&bo&&ro?ce:Ni.left,xl=be?Wi(Ti,bi,"after"):pe),it(Bo,ei.top,Oi-Bo,ei.bottom),ei.bottom<Ni.top&&it(ce,ei.bottom,null,Ni.top),it(Uo,Ni.top,xl-Uo,Ni.bottom)}(!Qr||Aa(ei,Qr)<0)&&(Qr=ei),Aa(Ni,Qr)<0&&(Qr=Ni),(!mi||Aa(ei,mi)<0)&&(mi=ei),Aa(Ni,mi)<0&&(mi=Ni)}),{start:Qr,end:mi}}var qt=y.from(),Kt=y.to();if(qt.line==Kt.line)yt(qt.line,qt.ch,Kt.ch);else{var En=Zt(z,qt.line),Nn=Zt(z,Kt.line),Zn=pn(En)==pn(Nn),Jn=yt(qt.line,qt.ch,Zn?En.text.length+1:null).end,rr=yt(Kt.line,Zn?0:null,Kt.ch).start;Zn&&(Jn.top<rr.top-2?(it(Jn.right,Jn.top,null,Jn.bottom),it(ce,rr.top,rr.left,rr.bottom)):it(Jn.right,Jn.top,rr.left-Jn.right,Jn.bottom)),Jn.bottom<rr.top&&it(ce,Jn.bottom,null,rr.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 Al(a){a.state.focused||(a.display.input.focus(),Qa(a))}function Pl(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||(en(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(),Ae&&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&&(en(a,"blur",a,y),a.state.focused=!1,nt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Pa(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(we&&Ee<8){var pe=z.node.offsetTop+z.node.offsetHeight;le=pe-x,x=pe}else{var be=z.node.getBoundingClientRect();le=be.bottom-be.top,!ie&&z.text.firstChild&&(ce=z.text.firstChild.getBoundingClientRect().right-be.left-1)}var it=z.line.height-le;if((it>.005||it<-.005)&&(Pn(z.line,le),Ol(z.line),z.rest))for(var yt=0;yt<z.rest.length;yt++)Ol(z.rest[yt]);if(ce>a.display.sizerWidth){var qt=Math.ceil(ce/$i(a.display));qt>a.display.maxLineLength&&(a.display.maxLineLength=qt,a.display.maxLine=z.line,a.display.maxLineChanged=!0)}}}}function Ol(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 Oa(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=at(y,b),le=at(y,z);if(x&&x.ensure){var ce=x.ensure.from.line,pe=x.ensure.to.line;ce<ie?(ie=ce,le=at(y,cr(Zt(y,ce))+a.wrapper.clientHeight)):Math.min(pe,y.lastLine())>=le&&(ie=at(y,cr(Zt(y,pe))-a.wrapper.clientHeight),le=pe)}return{from:ie,to:Math.max(le,ie+1)}}function Ws(a,y){if(!Ot(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&&!wt){var ie=He("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?Me(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?Me(y.line,y.ch+1,"before"):y);for(var ie=0;ie<5;ie++){var le=!1,ce=Bi(a,y),pe=!x||x==y?ce:Bi(a,x);z={left:Math.min(ce.left,pe.left),top:Math.min(ce.top,pe.top)-b,right:Math.max(ce.left,pe.left),bottom:Math.max(ce.bottom,pe.bottom)+b};var be=$a(a,z),it=a.doc.scrollTop,yt=a.doc.scrollLeft;if(be.scrollTop!=null&&(_o(a,be.scrollTop),Math.abs(a.doc.scrollTop-it)>1&&(le=!0)),be.scrollLeft!=null&&(Eo(a,be.scrollLeft),Math.abs(a.doc.scrollLeft-yt)>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),pe=y.top<b,be=y.bottom>ce-b;if(y.top<z)le.scrollTop=pe?0:y.top;else if(y.bottom>z+ie){var it=Math.min(y.top,(be?ce:y.bottom)-ie);it!=z&&(le.scrollTop=it)}var yt=a.options.fixedGutter?0:x.gutters.offsetWidth,qt=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-yt,Kt=to(a)-x.gutters.offsetWidth,En=y.right-y.left>Kt;return En&&(y.right=y.left+Kt),y.left<10?le.scrollLeft=0:y.left<qt?le.scrollLeft=Math.max(0,y.left+yt-(En?0:10)):y.right>Kt+qt-3&&(le.scrollLeft=y.right+(En?0:10)-Kt),le}function qa(a,y){y!=null&&(Da(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function No(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,Nl(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 Ao=function(a,y,x){this.cm=x;var b=this.vert=He("div",[He("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),z=this.horiz=He("div",[He("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=z.tabIndex=-1,a(b),a(z),Yt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),Yt(z,"scroll",function(){z.clientWidth&&y(z.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,we&&Ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ao.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}},Ao.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ao.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ao.prototype.zeroWidthHack=function(){var a=je&&!xe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new fe,this.disableVert=new fe},Ao.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)},Ao.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 ko(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&&Pa(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 Il={native:Ao,null:ta};function Ll(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&nt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Il[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Yt(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 Po(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 Oo(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&&Pr(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&&Pa(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==Re();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&ko(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&&Al(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,_e(b,a.scrollToPos.from),_e(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||en(ie[ce],"hide");if(le)for(var pe=0;pe<le.length;++pe)le[pe].lines.length&&en(le[pe],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&en(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ji(a,y){if(a.curOp)return y();Po(a);try{return y()}finally{Oo(a)}}function hi(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Po(a);try{return y.apply(a,arguments)}finally{Oo(a)}}}function Pi(a){return function(){if(this.curOp)return a.apply(this,arguments);Po(this);try{return a.apply(this,arguments)}finally{Oo(this)}}}function pi(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Po(y);try{return a.apply(this,arguments)}finally{Oo(y)}}}function na(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,Ue(qs,a))}function qs(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=jn(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?kn(y.mode,b.state):null,pe=fn(a,ie,b,!0);ce&&(b.state=ce),ie.styles=pe.styles;var be=ie.styleClasses,it=pe.classes;it?ie.styleClasses=it:be&&(ie.styleClasses=null);for(var yt=!le||le.length!=ie.styles.length||be!=it&&(!be||!it||be.bgClass!=it.bgClass||be.textClass!=it.textClass),qt=0;!yt&&qt<le.length;++qt)yt=le[qt]!=ie.styles[qt];yt&&z.push(b.line),ie.stateAfter=b.save(),b.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&Xn(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=Oa(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){Ut(a,y)&&this.events.push(arguments)},Ba.prototype.finish=function(){for(var a=0;a<this.events.length;a++)en.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=Re();if(!y||!We(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&We(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==Re())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&We(document.body,a.anchorNode)&&We(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;kl(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)),Un&&(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=cr(Zt(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var pe=wl(a);if(!ce&&pe==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var be=eu(a);return pe>4&&(x.lineDiv.style.display="none"),nu(a,x.updateLineNumbers,y.dims),pe>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,tu(be),Dt(x.cursorDiv),Dt(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=Oa(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=Oa(a.display,a.doc,x));if(!_a(a,y))break;Pa(a);var z=ea(a);$o(a),ko(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)){Pa(a),Tl(a,x);var b=ea(a);$o(a),ko(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(En){var Nn=En.nextSibling;return Ae&&je&&a.display.currentWheelTarget==En?En.style.display="none":En.parentNode.removeChild(En),Nn}for(var pe=b.view,be=b.viewFrom,it=0;it<pe.length;it++){var yt=pe[it];if(!yt.hidden)if(!yt.node||yt.node.parentNode!=ie){var qt=Sr(a,yt,be,x);ie.insertBefore(qt,le)}else{for(;le!=yt.node;)le=ce(le);var Kt=z&&y!=null&&y<=be&&yt.lineNumber;yt.changes&&(bt(yt.changes,"gutter")>-1&&(Kt=!1),Di(a,yt,be,x)),Kt&&(Dt(yt.lineNumber),yt.lineNumber.appendChild(document.createTextNode(Je(a.options,be)))),le=yt.node.nextSibling}be+=yt.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 Nl(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 pe=0;pe<ce.length;pe++)ce[pe].style.left=ie}a.options.fixedGutter&&(y.gutters.style.left=b+z+"px")}}function kl(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=Je(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var z=b.measure.appendChild(He("div",[He("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;Dt(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(He("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),Nl(a)}function ru(a,y,x,b){var z=this;this.input=x,z.scrollbarFiller=He("div",null,"CodeMirror-scrollbar-filler"),z.scrollbarFiller.setAttribute("cm-not-content","true"),z.gutterFiller=He("div",null,"CodeMirror-gutter-filler"),z.gutterFiller.setAttribute("cm-not-content","true"),z.lineDiv=vt("div",null,"CodeMirror-code"),z.selectionDiv=He("div",null,null,"position: relative; z-index: 1"),z.cursorDiv=He("div",null,"CodeMirror-cursors"),z.measure=He("div",null,"CodeMirror-measure"),z.lineMeasure=He("div",null,"CodeMirror-measure"),z.lineSpace=vt("div",[z.measure,z.lineMeasure,z.selectionDiv,z.cursorDiv,z.lineDiv],null,"position: relative; outline: none");var ie=vt("div",[z.lineSpace],"CodeMirror-lines");z.mover=He("div",[ie],null,"position: relative"),z.sizer=He("div",[z.mover],"CodeMirror-sizer"),z.sizerWidth=null,z.heightForcer=He("div",null,null,"position: absolute; height: "+Lt+"px; width: 1px;"),z.gutters=He("div",null,"CodeMirror-gutters"),z.lineGutter=null,z.scroller=He("div",[z.sizer,z.heightForcer,z.gutters],"CodeMirror-scroll"),z.scroller.setAttribute("tabIndex","-1"),z.wrapper=He("div",[z.scrollbarFiller,z.gutterFiller,z.scroller],"CodeMirror"),we&&Ee<8&&(z.gutters.style.zIndex=-1,z.scroller.style.paddingRight=0),!Ae&&!(E&&$e)&&(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;we?Zi=-.53:E?Zi=15:Se?Zi=-.7:Xe&&(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,pe=le.scrollHeight>le.clientHeight;if(b&&ce||z&&pe){if(z&&je&&Ae){e:for(var be=y.target,it=ie.view;be!=le;be=be.parentNode)for(var yt=0;yt<it.length;yt++)if(it[yt].node==be){a.display.currentWheelTarget=be;break e}}if(b&&!E&&!de&&Zi!=null){z&&pe&&_o(a,Math.max(0,le.scrollTop+z*Zi)),Eo(a,Math.max(0,le.scrollLeft+b*Zi)),(!z||z&&pe)&&rt(y),ie.wheelStartX=null;return}if(z&&Zi!=null){var qt=z*Zi,Kt=a.doc.scrollTop,En=Kt+ie.wrapper.clientHeight;qt<0?Kt=Math.max(0,Kt+qt-50):En=Math.min(a.doc.height,En+qt+50),el(a,{top:Kt,bottom:En})}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 Nn=le.scrollLeft-ie.wheelStartX,Zn=le.scrollTop-ie.wheelStartY,Jn=Zn&&ie.wheelDY&&Zn/ie.wheelDY||Nn&&ie.wheelDX&&Nn/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,Jn&&(Zi=(Zi*Ma+Jn)/(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(!Ce(x.anchor,b.anchor)||!Ce(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(ot(this.ranges[y].anchor),ot(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(qe(y,b.from())>=0&&qe(a,b.to())<=0)return x}return-1};var Ur=function(a,y){this.anchor=a,this.head=y};Ur.prototype.from=function(){return Pt(this.anchor,this.head)},Ur.prototype.to=function(){return ht(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(qt,Kt){return qe(qt.from(),Kt.from())}),x=bt(y,z);for(var ie=1;ie<y.length;ie++){var le=y[ie],ce=y[ie-1],pe=qe(ce.to(),le.from());if(b&&!le.empty()?pe>0:pe>=0){var be=Pt(ce.from(),le.from()),it=ht(ce.to(),le.to()),yt=ce.empty()?le.from()==le.head:ce.from()==ce.head;ie<=x&&--x,y.splice(--ie,2,new Ur(yt?it:be,yt?be:it))}}return new Vi(y,x)}function po(a,y){return new Vi([new Ur(a,y||a)],0)}function mo(a){return a.text?Me(a.from.line+a.text.length-1,ze(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Hl(a,y){if(qe(a,y.from)<0)return a;if(qe(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),Me(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?Me(x.line,a.ch-y.ch+x.ch):Me(x.line+(a.line-y.line),a.ch)}function ou(a,y,x){for(var b=[],z=Me(a.first,0),ie=z,le=0;le<y.length;le++){var ce=y[le],pe=jl(ce.from,z,ie),be=jl(mo(ce),z,ie);if(z=ce.to,ie=be,x=="around"){var it=a.sel.ranges[le],yt=qe(it.head,it.anchor)<0;b[le]=new Ur(yt?be:pe,yt?pe:be)}else b[le]=new Ur(pe,pe)}return new Vi(b,a.sel.primIndex)}function ol(a){a.doc.mode=gn(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&&ze(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function al(a,y,x,b){function z(rr){return x?x[rr]:null}function ie(rr,Qn,ar){Nr(rr,Qn,ar,b),Ir(rr,"change",rr,y)}function le(rr,Qn){for(var ar=[],gr=rr;gr<Qn;++gr)ar.push(new Fr(be[gr],z(gr),b));return ar}var ce=y.from,pe=y.to,be=y.text,it=Zt(a,ce.line),yt=Zt(a,pe.line),qt=ze(be),Kt=z(be.length-1),En=pe.line-ce.line;if(y.full)a.insert(0,le(0,be.length)),a.remove(be.length,a.size-be.length);else if(Wl(a,y)){var Nn=le(0,be.length-1);ie(yt,yt.text,Kt),En&&a.remove(ce.line,En),Nn.length&&a.insert(ce.line,Nn)}else if(it==yt)if(be.length==1)ie(it,it.text.slice(0,ce.ch)+qt+it.text.slice(pe.ch),Kt);else{var Zn=le(1,be.length-1);Zn.push(new Fr(qt+it.text.slice(pe.ch),Kt,b)),ie(it,it.text.slice(0,ce.ch)+be[0],z(0)),a.insert(ce.line+1,Zn)}else if(be.length==1)ie(it,it.text.slice(0,ce.ch)+be[0]+yt.text.slice(pe.ch),z(0)),a.remove(ce.line+1,En);else{ie(it,it.text.slice(0,ce.ch)+be[0],z(0)),ie(yt,qt+yt.text.slice(pe.ch),Kt);var Jn=le(1,be.length-1);En>1&&a.remove(ce.line+1,En-1),a.insert(ce.line+1,Jn)}Ir(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 pe=z.linked[ce];if(pe.doc!=ie){var be=le&&pe.sharedHist;x&&!be||(y(pe.doc,be),b(pe.doc,z,be))}}}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||Pr(a),a.options.mode=y.modeOption,Mi(a)}function Vl(a){(a.doc.direction=="rtl"?ue:nt)(a.display.lineDiv,"CodeMirror-rtl")}function au(a){ji(a,function(){Vl(a),Mi(a)})}function Ia(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:ot(y.from),to:mo(y),text:an(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=ze(a);if(y.ranges)a.pop();else break}}function lu(a,y){if(y)return Gl(a.done),ze(a.done);if(a.done.length&&!ze(a.done).ranges)return ze(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ze(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=ze(le.changes),qe(y.from,y.to)==0&&qe(y.from,ce.to)==0?ce.to=mo(y):le.changes.push(ll(a,y));else{var pe=ze(z.done);for((!pe||!pe.ranges)&&La(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||en(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,ze(z.done),y))?z.done[z.done.length-1]=y:La(y,z.done),z.lastSelTime=+new Date,z.lastSelOrigin=ie,z.lastSelOp=x,b&&b.clearRedo!==!1&&Gl(z.undone)}function La(a,y){var x=ze(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 pe=le[ce],be=0;be<ie.length;++be)if(ie[be].marker==pe.marker)continue e;ie.push(pe)}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 pe=0;pe<le.length;++pe){var be=le[pe],it=void 0;if(ce.push({from:be.from,to:be.to,text:be.text}),y)for(var yt in be)(it=yt.match(/^spans_(\d+)$/))&&bt(y,Number(it[1]))>-1&&(ze(ce)[yt]=be[yt],delete be[yt])}}return b}function sl(a,y,x,b){if(b){var z=a.anchor;if(x){var ie=qe(y,z)<0;ie!=qe(x,z)<0?(z=y,y=x):ie!=qe(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(_e(a,z[ie].anchor),_e(a,z[ie].head))},origin:x&&x.origin};return en(a,"beforeSelectionChange",a,b),a.cm&&en(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=ze(b);z&&z.ranges?(b[b.length-1]=y,Na(a,y,x)):wi(a,y,x)}function wi(a,y,x){Na(a,y,x),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function Na(a,y,x){(Ut(a,"beforeSelectionChange")||a.cm&&Ut(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,x));var b=x&&x.bias||(qe(y.primary().head,a.sel.primary().head)<0?-1:1);$l(a,_l(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&No(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,rn(a.cm)),Ir(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],pe=ka(a,le.anchor,ce&&ce.anchor,x,b),be=ka(a,le.head,ce&&ce.head,x,b);(z||pe!=le.anchor||be!=le.head)&&(z||(z=y.ranges.slice(0,ie)),z[ie]=new Ur(pe,be))}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],pe=ce.marker,be="selectLeft"in pe?!pe.selectLeft:pe.inclusiveLeft,it="selectRight"in pe?!pe.selectRight:pe.inclusiveRight;if((ce.from==null||(be?ce.from<=y.ch:ce.from<y.ch))&&(ce.to==null||(it?ce.to>=y.ch:ce.to>y.ch))){if(z&&(en(pe,"beforeCursorEnter"),pe.explicitlyCleared))if(ie.markedSpans){--le;continue}else break;if(!pe.atomic)continue;if(x){var yt=pe.find(b<0?1:-1),qt=void 0;if((b<0?it:be)&&(yt=es(a,yt,-b,yt&&yt.line==y.line?ie:null)),yt&&yt.line==y.line&&(qt=qe(yt,x))&&(b<0?qt<0:qt>0))return Ro(a,yt,y,b,z)}var Kt=pe.find(b<0?-1:1);return(b<0?be:it)&&(Kt=es(a,Kt,b,Kt.line==y.line?ie:null)),Kt?Ro(a,Kt,y,b,z):null}}return y}function ka(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,Me(a.first,0))}function es(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?_e(a,Me(y.line-1)):null:x>0&&y.ch==(b||Zt(a,y.line)).text.length?y.line<a.first+a.size-1?Me(y.line+1,0):null:new Me(y.line,y.ch+x)}function ts(a){a.setSelection(Me(a.firstLine(),0),Me(a.lastLine()),ve)}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=_e(a,z)),ie&&(b.to=_e(a,ie)),le&&(b.text=le),ce!==void 0&&(b.origin=ce)}),en(a,"beforeChange",a,b),a.cm&&en(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(!((Ut(a,"beforeChange")||a.cm&&Ut(a.cm,"beforeChange"))&&(y=ns(a,y,!0),!y))){var b=nr&&!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]==""&&qe(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&&bt(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,pe=y=="undo"?z.undone:z.done,be=0;be<ce.length&&(ie=ce[be],!(x?ie.ranges&&!ie.equals(a.sel):!ie.ranges));be++);if(be!=ce.length){for(z.lastOrigin=z.lastSelOrigin=null;;)if(ie=ce.pop(),ie.ranges){if(La(ie,pe),x&&!ie.equals(a.sel)){wi(a,ie,{clearRedo:!1});return}le=ie}else if(b){ce.push(ie);return}else break;var it=[];La(le,pe),pe.push({changes:it,generation:z.generation}),z.generation=ie.generation||++z.maxGeneration;for(var yt=Ut(a,"beforeChange")||a.cm&&Ut(a.cm,"beforeChange"),qt=function(Nn){var Zn=ie.changes[Nn];if(Zn.origin=y,yt&&!ns(a,Zn,!1))return ce.length=0,{};it.push(ll(a,Zn));var Jn=Nn?il(a,Zn):ze(ce);oa(a,Zn,Jn,Kl(a,Zn)),!Nn&&a.cm&&a.cm.scrollIntoView({from:Zn.from,to:mo(Zn)});var rr=[];vo(a,function(Qn,ar){!ar&&bt(rr,Qn.history)==-1&&(ls(Qn.history,Zn),rr.push(Qn.history)),oa(Qn,Zn,null,Kl(Qn,Zn))})},Kt=ie.changes.length-1;Kt>=0;--Kt){var En=qt(Kt);if(En)return En.v}}}}function is(a,y){if(y!=0&&(a.first+=y,a.sel=new Vi(Vt(a.sel.ranges,function(z){return new Ur(Me(z.anchor.line+y,z.anchor.ch),Me(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:Me(a.first,0),to:Me(y.to.line+z,y.to.ch),text:[ze(y.text)],origin:y.origin}}var ie=a.lastLine();y.to.line>ie&&(y={from:y.from,to:Me(ie,Zt(a,ie).text.length),text:[y.text[0]],origin:y.origin}),y.removed=an(a,y.from,y.to),x||(x=il(a,y)),a.cm?hu(a.cm,y,b):al(a,y,b),Na(a,x,ve),a.cantEdit&&ka(a,Me(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,pe=ie.line;a.options.lineWrapping||(pe=Ve(pn(Zt(b,ie.line))),b.iter(pe,le.line+1,function(Kt){if(Kt==z.maxLine)return ce=!0,!0})),b.sel.contains(y.from,y.to)>-1&&rn(a),al(b,y,x,Cl(a)),a.options.lineWrapping||(b.iter(pe,ie.line+y.text.length,function(Kt){var En=Mr(Kt);En>z.maxLineLength&&(z.maxLine=Kt,z.maxLineLength=En,z.maxLineChanged=!0,ce=!1)}),ce&&(a.curOp.updateMaxLine=!0)),Ln(b,ie.line),na(a,400);var be=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,be);var it=Ut(a,"changes"),yt=Ut(a,"change");if(yt||it){var qt={from:ie,to:le,text:y.text,removed:y.removed,origin:y.origin};yt&&Ir(a,"change",a,qt),it&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(qt)}a.display.selForContextMenu=null}function Ho(a,y,x,b,z){var ie;b||(b=x),qe(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 pe=0;pe<ie.changes.length;++pe){var be=ie.changes[pe];if(x<be.from.line)be.from=Me(be.from.line+b,be.from.ch),be.to=Me(be.to.line+b,be.to.ch);else if(y<=be.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,pt(a,y)):z=Ve(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),Ir(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 pe=new la(z.lines.slice(ce,ce+=25));z.height-=pe.height,this.children.splice(++b,0,pe),pe.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=bt(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=Ve(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=Ai(this);Pn(x,Math.max(0,x.height-ie)),a&&(ji(a,function(){ss(a,x,-ie),fo(a,b,"widget")}),Ir(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=Ai(this)-y;z&&(Tn(this.doc,b)||Pn(b,b.height+z),x&&ji(x,function(){x.curOp.forceUpdate=!0,ss(x,b,z),Ir(x,"lineWidgetChanged",x,a,Ve(b))}))},Ne(ua);function ss(a,y,x){cr(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&&!Tn(a,le)){var pe=cr(le)<a.scrollTop;Pn(le,le.height+Ai(z)),pe&&qa(ie,z.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Ir(ie,"lineWidgetAdded",ie,z,typeof y=="number"?y:Ve(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&&Po(a),Ut(this,"clear")){var x=this.find();x&&Ir(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=ur(le.markedSpans,this);a&&!this.collapsed?fo(a,Ve(le),"text"):a&&(ce.to!=null&&(z=Ve(le)),ce.from!=null&&(b=Ve(le))),le.markedSpans=yr(le.markedSpans,ce),ce.from==null&&this.collapsed&&!Tn(this.doc,le)&&a&&Pn(le,Hi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var pe=0;pe<this.lines.length;++pe){var be=pn(this.lines[pe]),it=Mr(be);it>a.display.maxLineLength&&(a.display.maxLine=be,a.display.maxLineLength=it,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&&Ir(a,"markerCleared",a,this,b,z),y&&Oo(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=ur(ie.markedSpans,this);if(le.from!=null&&(x=Me(y?ie:Ve(ie),le.from),a==-1))return x;if(le.to!=null&&(b=Me(y?ie:Ve(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=Ve(y.line),le=no(b,ie);if(le&&(Ko(le),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!Tn(x.doc,z)&&x.height!=null){var ce=x.height;x.height=null;var pe=Ai(x)-ce;pe&&Pn(z,z.height+pe)}Ir(b,"markerChanged",b,a)})},go.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||bt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},go.prototype.detachLine=function(a){if(this.lines.splice(bt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Ne(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=qe(y,x);if(b&&Tt(b,ie,!1),le>0||le==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=vt("span",[ie.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(On(a,y.line,y,x,ie)||y.line!=x.line&&On(a,x.line,y,x,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");pr()}ie.addToHistory&&Xl(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var ce=y.line,pe=a.cm,be;if(a.iter(ce,x.line+1,function(yt){pe&&ie.collapsed&&!pe.options.lineWrapping&&pn(yt)==pe.display.maxLine&&(be=!0),ie.collapsed&&ce!=y.line&&Pn(yt,0),lr(yt,new sr(ie,ce==y.line?y.ch:null,ce==x.line?x.ch:null)),++ce}),ie.collapsed&&a.iter(y.line,x.line+1,function(yt){Tn(a,yt)&&Pn(yt,0)}),ie.clearOnEnter&&Yt(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(dr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++us,ie.atomic=!0),pe){if(be&&(pe.curOp.updateMaxLine=!0),ie.collapsed)Mi(pe,y.line,x.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var it=y.line;it<=x.line;it++)fo(pe,it,"text");ie.atomic&&ql(pe.doc),Ir(pe,"markerAdded",pe,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();Ir(this,"clear")}},ca.prototype.find=function(a,y){return this.primary.find(a,y)},Ne(ca);function mu(a,y,x,b,z){b=Tt(b),b.shared=!1;var ie=[jo(a,y,x,b,z)],le=ie[0],ce=b.widgetNode;return vo(a,function(pe){ce&&(b.widgetNode=ce.cloneNode(!0)),ie.push(jo(pe,_e(pe,y),_e(pe,x),b,z));for(var be=0;be<pe.linked.length;++be)if(pe.linked[be].isParent)return;le=ze(ie)}),new ca(ie,le)}function cs(a){return a.findMarks(Me(a.first,0),a.clipPos(Me(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(qe(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(pe){return ie.push(pe)});for(var le=0;le<z.markers.length;le++){var ce=z.markers[le];bt(ie,ce.doc)==-1&&(ce.parent=null,z.markers.splice(le--,1))}},x=0;x<a.length;x++)y(x)}var yu=0,Ii=function(a,y,x,b,z){if(!(this instanceof Ii))return new Ii(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=Me(x,0);this.sel=po(ie),this.history=new Ia(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),ve)};Ii.prototype=ne(sa.prototype,{constructor:Ii,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=Me(this.first,0),x=this.first+this.size-1;zo(this,{from:y,to:Me(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),ve)}),replaceRange:function(a,y,x,b){y=_e(this,y),x=x?_e(this,x):y,Ho(this,a,y,x,b)},getRange:function(a,y,x){var b=an(this,_e(this,a),_e(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(Oe(this,a))return Zt(this,a)},getLineNumber:function(a){return Ve(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 _e(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,_e(this,typeof a=="number"?Me(a,y||0):a),null,x)}),setSelection:pi(function(a,y,x){Jl(this,_e(this,a),_e(this,y||a),x)}),extendSelection:pi(function(a,y,x){Ta(this,_e(this,a),y&&_e(this,y),x)}),extendSelections:pi(function(a,y){Yl(this,mt(this,a),y)}),extendSelectionsBy:pi(function(a,y){var x=Vt(this.sel.ranges,a);Yl(this,mt(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(_e(this,a[z].anchor),_e(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(_e(this,a),_e(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=an(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=an(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),pe=b.length-1;pe>=0;pe--)zo(this,b[pe]);ce?Ql(this,ce):this.cm&&No(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 Ia(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 Ia(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&&re(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,re(x.gutterMarkers)&&(x.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Oe(this,a)||(y=a,a=Zt(this,a),!a))return null}else if(y=Ve(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(dt(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(dt(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,_e(this,a),_e(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=_e(this,a),jo(this,a,a,x,"bookmark")},findMarksAt:function(a){a=_e(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=_e(this,a),y=_e(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 pe=le[ce];!(pe.to!=null&&z==a.line&&a.ch>=pe.to||pe.from==null&&z!=a.line||pe.from!=null&&z==y.line&&pe.from>=y.ch)&&(!x||x(pe.marker))&&b.push(pe.marker.parent||pe.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}),_e(this,Me(x,y))},indexFromPos:function(a){a=_e(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 Ii(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 Ii(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 Ia(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):dn(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))})}),Ii.prototype.eachLine=Ii.prototype.iter;var ds=0;function bu(a){var y=this;if(fs(y),!(Ot(y,a)||gi(y.display,a))){rt(a),we&&(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=_e(y.doc,x);var Kt={from:x,to:x,text:y.doc.splitLines(ie.filter(function(En){return En!=null}).join(y.doc.lineSeparator())),origin:"paste"};zo(y.doc,Kt),Ql(y.doc,po(_e(y.doc,x),_e(y.doc,mo(Kt))))})()},pe=function(Kt,En){if(y.options.allowDropFileTypes&&bt(y.options.allowDropFileTypes,Kt.type)==-1){ce();return}var Nn=new FileReader;Nn.onerror=function(){return ce()},Nn.onload=function(){var Zn=Nn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zn)){ce();return}ie[En]=Zn,ce()},Nn.readAsText(Kt)},be=0;be<b.length;be++)pe(b[be],be);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 it=a.dataTransfer.getData("Text");if(it){var yt;if(y.state.draggingText&&!y.state.draggingText.copy&&(yt=y.listSelections()),Na(y.doc,po(x,x)),yt)for(var qt=0;qt<yt.length;++qt)Ho(y.doc,"",yt[qt].anchor,yt[qt].head,"drag");y.replaceSelection(it,"around","paste"),y.display.input.focus()}}catch(Kt){}}}}function xu(a,y){if(we&&(!a.state.draggingText||+new Date-ds<100)){Pe(y);return}if(!(Ot(a,y)||gi(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Xe)){var x=He("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",de&&(x.width=x.height=1,a.display.wrapper.appendChild(x),x._top=x.offsetTop),y.dataTransfer.setDragImage(x,0,0),de&&x.parentNode.removeChild(x)}}function Cu(a,y){var x=wo(a,y);if(x){var b=document.createDocumentFragment();El(a,x,b),a.display.dragCursor||(a.display.dragCursor=He("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),et(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;Yt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,hs(Eu)},100))}),Yt(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=je?ao.macDefault:ao.pcDefault;function Au(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 Pu(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=Vt(x.split(" "),Au),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 pe=y[ce];if(!pe)y[ce]=le;else if(pe!=le)throw new Error("Inconsistent bindings for "+ce)}delete a[x]}for(var be in y)a[be]=y[be];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),(Et?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(Et?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function gs(a,y){if(de&&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&&qe(ie.from,ze(b).to)<=0;){var le=b.pop();if(qe(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");No(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 Me(y.line,b,x<0?"after":"before")}function fl(a,y,x,b,z){if(a){y.doc.direction=="rtl"&&(z=-z);var ie=nn(x,y.doc.direction);if(ie){var le=z<0?ze(ie):ie[0],ce=z<0==(le.level==1),pe=ce?"after":"before",be;if(le.level>0||y.doc.direction=="rtl"){var it=uo(y,x);be=z<0?x.text.length-1:0;var yt=Xi(y,it,be).top;be=Be(function(qt){return Xi(y,it,qt).top==yt},z<0==(le.level==1)?le.from:le.to-1,be),pe=="before"&&(be=cl(x,be,1))}else be=z<0?le.to:le.from;return new Me(b,be,pe)}}return new Me(b,z<0?x.text.length:0,z<0?"before":"after")}function Ou(a,y,x,b){var z=nn(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=Ct(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(Jn,rr){return cl(y,Jn instanceof Me?Jn.ch:Jn,rr)},pe,be=function(Jn){return a.options.lineWrapping?(pe=pe||uo(a,y),ii(a,y,pe,Jn)):{begin:0,end:y.text.length}},it=be(x.sticky=="before"?ce(x,-1):x.ch);if(a.doc.direction=="rtl"||le.level==1){var yt=le.level==1==b<0,qt=ce(x,yt?1:-1);if(qt!=null&&(yt?qt<=le.to&&qt<=it.end:qt>=le.from&&qt>=it.begin)){var Kt=yt?"before":"after";return new Me(x.line,qt,Kt)}}var En=function(Jn,rr,Qn){for(var ar=function(Qr,mi){return mi?new Me(x.line,ce(Qr,1),"before"):new Me(x.line,Qr,"after")};Jn>=0&&Jn<z.length;Jn+=rr){var gr=z[Jn],hr=rr>0==(gr.level!=1),Lr=hr?Qn.begin:ce(Qn.end,-1);if(gr.from<=Lr&&Lr<gr.to||(Lr=hr?gr.from:ce(gr.to,-1),Qn.begin<=Lr&&Lr<Qn.end))return ar(Lr,hr)}},Nn=En(ie+b,b,it);if(Nn)return Nn;var Zn=b>0?it.end:ce(it.begin,-1);return Zn!=null&&!(b>0&&Zn==y.text.length)&&(Nn=En(b>0?0:z.length-1,b,be(Zn)),Nn)?Nn:null}var ha={selectAll:ts,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),ve)},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:Me(y.head.line+1,0)}:{from:y.head,to:Me(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Zo(a,function(y){return{from:Me(y.from().line,0),to:_e(a.doc,Me(y.to().line+1,0))}})},delLineLeft:function(a){return Zo(a,function(y){return{from:Me(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(Me(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Me(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")},Ze)},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")},Ze)},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},Ze)},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=ge(a.getLine(ie.line),ie.ch,b);y.push(Xt(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 Me(z.line,z.ch-1)),z.ch>0)z=new Me(z.line,z.ch+1),a.replaceRange(ie.charAt(z.ch-1)+ie.charAt(z.ch-2),Me(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 Me(z.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+le.charAt(le.length-1),Me(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);No(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=Ve(b)),fl(!0,a,b,y,1)}function Du(a,y){var x=Zt(a.doc,y),b=Wn(x);return b!=x&&(y=Ve(b)),fl(!0,a,x,y,-1)}function bs(a,y){var x=ys(a,y.line),b=Zt(a.doc,x.line),z=nn(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 Me(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)!=Bt}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 fe;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"&&Ir(a,"keyHandled",a,y,x),(z=="handled"||z=="multi")&&(rt(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 Iu(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=Re(),!Ot(y,a))){we&&Ee<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=Cs(y,a);de&&(hl=b?x:null,!b&&x==88&&!bn&&(je?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),E&&!je&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Lu(y)}}function Lu(a){var y=a.display.lineDiv;ue(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(nt(y,"CodeMirror-crosshair"),Ft(document,"keyup",x),Ft(document,"mouseover",x))}Yt(document,"keyup",x),Yt(document,"mouseover",x)}function Ss(a){a.keyCode==16&&(this.doc.sel.shift=!1),Ot(this,a)}function Es(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(gi(y.display,a)||Ot(y,a)||a.ctrlKey&&!a.altKey||je&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(de&&x==hl){hl=null,rt(a);return}if(!(de&&(!a.which||a.which<10)&&Cs(y,a))){var z=String.fromCharCode(b==null?x:b);z!="\b"&&(Iu(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&&qe(y,this.pos)==0&&x==this.button};var ma,va;function Nu(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 As(a){var y=this,x=y.display;if(!(Ot(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,gi(x,a)){Ae||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!ml(y,a)){var b=wo(y,a),z=ft(a),ie=b?Nu(b,z):"single";window.focus(),z==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&ku(y,z,b,ie,a))&&(z==1?b?Ru(y,b,ie,a):Ye(a)==x.scroller&&rt(a):z==2?(b&&Ta(y.doc,b),setTimeout(function(){return x.input.focus()},20)):z==3&&(ct?y.display.input.onContextMenu(a):Pl(y)))}}}function ku(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)!=Bt}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=St?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=je?x.metaKey:x.ctrlKey),z.moveOnDrag==null&&(z.moveOnDrag=!(je?x.altKey:x.ctrlKey)),z}function Ru(a,y,x,b){we?setTimeout(Ue(Al,a),0):a.curOp.focus=Re();var z=Fu(a,x,b),ie=a.doc.sel,le;a.options.dragDrop&&kt&&!a.isReadOnly()&&x=="single"&&(le=ie.contains(y))>-1&&(qe((le=ie.ranges[le]).from(),y)<0||y.xRel>0)&&(qe(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(be){Ae&&(z.scroller.draggable=!1),a.state.draggingText=!1,Ft(z.wrapper.ownerDocument,"mouseup",le),Ft(z.wrapper.ownerDocument,"mousemove",ce),Ft(z.scroller,"dragstart",pe),Ft(z.scroller,"drop",le),ie||(rt(be),b.addNew||Ta(a.doc,x,null,null,b.extend),Ae&&!Xe||we&&Ee==9?setTimeout(function(){z.wrapper.ownerDocument.body.focus({preventScroll:!0}),z.input.focus()},20):z.input.focus())}),ce=function(be){ie=ie||Math.abs(y.clientX-be.clientX)+Math.abs(y.clientY-be.clientY)>=10},pe=function(){return ie=!0};Ae&&(z.scroller.draggable=!0),a.state.draggingText=le,le.copy=!b.moveOnDrag,z.scroller.dragDrop&&z.scroller.dragDrop(),Yt(z.wrapper.ownerDocument,"mouseup",le),Yt(z.wrapper.ownerDocument,"mousemove",ce),Yt(z.scroller,"dragstart",pe),Yt(z.scroller,"drop",le),Pl(a),setTimeout(function(){return z.input.focus()},20)}function Ps(a,y,x){if(x=="char")return new Ur(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new Ur(Me(y.line,0),_e(a.doc,Me(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;rt(y);var le,ce,pe=ie.sel,be=pe.ranges;if(b.addNew&&!b.extend?(ce=ie.sel.contains(x),ce>-1?le=be[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 it=Ps(a,x,b.unit);b.extend?le=sl(le,it.anchor,it.head,b.extend):le=it}b.addNew?ce==-1?(ce=be.length,wi(ie,qi(a,be.concat([le]),ce),{scroll:!1,origin:"*mouse"})):be.length>1&&be[ce].empty()&&b.unit=="char"&&!b.extend?(wi(ie,qi(a,be.slice(0,ce).concat(be.slice(ce+1)),0),{scroll:!1,origin:"*mouse"}),pe=ie.sel):ul(ie,ce,le,ke):(ce=0,wi(ie,new Vi([le],0),ke),pe=ie.sel);var yt=x;function qt(Qn){if(qe(yt,Qn)!=0)if(yt=Qn,b.unit=="rectangle"){for(var ar=[],gr=a.options.tabSize,hr=ge(Zt(ie,x.line).text,x.ch,gr),Lr=ge(Zt(ie,Qn.line).text,Qn.ch,gr),Qr=Math.min(hr,Lr),mi=Math.max(hr,Lr),qr=Math.min(x.line,Qn.line),Wi=Math.min(a.lastLine(),Math.max(x.line,Qn.line));qr<=Wi;qr++){var Li=Zt(ie,qr).text,ai=xt(Li,Qr,gr);Qr==mi?ar.push(new Ur(Me(qr,ai),Me(qr,ai))):Li.length>ai&&ar.push(new Ur(Me(qr,ai),Me(qr,xt(Li,mi,gr))))}ar.length||ar.push(new Ur(x,x)),wi(ie,qi(a,pe.ranges.slice(0,ce).concat(ar),ce),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Qn)}else{var Ti=le,bi=Ps(a,Qn,b.unit),di=Ti.anchor,li;qe(bi.anchor,di)>0?(li=bi.head,di=Pt(Ti.from(),bi.anchor)):(li=bi.anchor,di=ht(Ti.to(),bi.head));var ei=pe.ranges.slice(0);ei[ce]=ju(a,new Ur(_e(ie,di),li)),wi(ie,qi(a,ei,ce),ke)}}var Kt=z.wrapper.getBoundingClientRect(),En=0;function Nn(Qn){var ar=++En,gr=wo(a,Qn,!0,b.unit=="rectangle");if(gr)if(qe(gr,yt)!=0){a.curOp.focus=Re(),qt(gr);var hr=Oa(z,ie);(gr.line>=hr.to||gr.line<hr.from)&&setTimeout(hi(a,function(){En==ar&&Nn(Qn)}),150)}else{var Lr=Qn.clientY<Kt.top?-20:Qn.clientY>Kt.bottom?20:0;Lr&&setTimeout(hi(a,function(){En==ar&&(z.scroller.scrollTop+=Lr,Nn(Qn))}),50)}}function Zn(Qn){a.state.selectingText=!1,En=1/0,Qn&&(rt(Qn),z.input.focus()),Ft(z.wrapper.ownerDocument,"mousemove",Jn),Ft(z.wrapper.ownerDocument,"mouseup",rr),ie.history.lastSelOrigin=null}var Jn=hi(a,function(Qn){Qn.buttons===0||!ft(Qn)?Zn(Qn):Nn(Qn)}),rr=hi(a,Zn);a.state.selectingText=rr,Yt(z.wrapper.ownerDocument,"mousemove",Jn),Yt(z.wrapper.ownerDocument,"mouseup",rr)}function ju(a,y){var x=y.anchor,b=y.head,z=Zt(a.doc,x.line);if(qe(x,b)==0&&x.sticky==b.sticky)return y;var ie=nn(z);if(!ie)return y;var le=Ct(ie,x.ch,x.sticky),ce=ie[le];if(ce.from!=x.ch&&ce.to!=x.ch)return y;var pe=le+(ce.from==x.ch==(ce.level!=1)?0:1);if(pe==0||pe==ie.length)return y;var be;if(b.line!=x.line)be=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var it=Ct(ie,b.ch,b.sticky),yt=it-le||(b.ch-x.ch)*(ce.level==1?-1:1);it==pe-1||it==pe?be=yt<0:be=yt>0}var qt=ie[pe+(be?-1:0)],Kt=be==(qt.level==1),En=Kt?qt.from:qt.to,Nn=Kt?"after":"before";return x.ch==En&&x.sticky==Nn?y:new Ur(new Me(x.line,En,Nn),b)}function Os(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(qt){return!1}if(z>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&rt(y);var le=a.display,ce=le.lineDiv.getBoundingClientRect();if(ie>ce.bottom||!Ut(a,x))return Gt(y);ie-=ce.top-le.viewOffset;for(var pe=0;pe<a.display.gutterSpecs.length;++pe){var be=le.gutters.childNodes[pe];if(be&&be.getBoundingClientRect().right>=z){var it=at(a.doc,ie),yt=a.display.gutterSpecs[pe];return en(a,x,a,it,yt.className,y),Gt(y)}}}function ml(a,y){return Os(a,y,"gutterClick",!0)}function Ds(a,y){gi(a.display,y)||Wu(a,y)||Ot(a,y,"contextmenu")||ct||a.display.input.onContextMenu(y)}function Wu(a,y){return Ut(a,"gutterContextMenu")?Os(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,pe,be){be!=Vo&&ie(ce,pe,be)}: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(pe){for(var be=0;;){var it=pe.text.indexOf(z,be);if(it==-1)break;be=it+z.length,ie.push(Me(le,it))}le++});for(var ce=ie.length-1;ce>=0;ce--)Ho(b.doc,z,ie[ce],Me(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",$e?"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 ko(b)},!0),x("scrollbarStyle","native",function(b){Ll(b),ko(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?Yt:Ft;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):(nt(a.display.wrapper,"CodeMirror-wrap"),Pr(a)),Ya(a),Mi(a),Co(a),setTimeout(function(){return ko(a)},100)}function $r(a,y){var x=this;if(!(this instanceof $r))return new $r(a,y);this.options=y=y?Tt(y):{},Tt(Ms,y,!1);var b=y.value;typeof b=="string"?b=new Ii(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"),Ll(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 fe,keySeq:null,specialChars:null},y.autofocus&&!$e&&ie.input.focus(),we&&Ee<11&&setTimeout(function(){return x.display.input.reset(!0)},20),Xu(this),wu(),Po(this),this.curOp.forceUpdate=!0,Zl(this,b),y.autofocus&&!$e||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);kl(this),y.finishInit&&y.finishInit(this);for(var ce=0;ce<vl.length;++ce)vl[ce](this);Oo(this),Ae&&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;Yt(y.scroller,"mousedown",hi(a,As)),we&&Ee<11?Yt(y.scroller,"dblclick",hi(a,function(pe){if(!Ot(a,pe)){var be=wo(a,pe);if(!(!be||ml(a,pe)||gi(a.display,pe))){rt(pe);var it=a.findWordAt(be);Ta(a.doc,it.anchor,it.head)}}})):Yt(y.scroller,"dblclick",function(pe){return Ot(a,pe)||rt(pe)}),Yt(y.scroller,"contextmenu",function(pe){return Ds(a,pe)}),Yt(y.input.getField(),"contextmenu",function(pe){y.scroller.contains(pe.target)||Ds(a,pe)});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(pe){if(pe.touches.length!=1)return!1;var be=pe.touches[0];return be.radiusX<=1&&be.radiusY<=1}function le(pe,be){if(be.left==null)return!0;var it=be.left-pe.left,yt=be.top-pe.top;return it*it+yt*yt>20*20}Yt(y.scroller,"touchstart",function(pe){if(!Ot(a,pe)&&!ie(pe)&&!ml(a,pe)){y.input.ensurePolled(),clearTimeout(x);var be=+new Date;y.activeTouch={start:be,moved:!1,prev:be-b.end<=300?b:null},pe.touches.length==1&&(y.activeTouch.left=pe.touches[0].pageX,y.activeTouch.top=pe.touches[0].pageY)}}),Yt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Yt(y.scroller,"touchend",function(pe){var be=y.activeTouch;if(be&&!gi(y,pe)&&be.left!=null&&!be.moved&&new Date-be.start<300){var it=a.coordsChar(y.activeTouch,"page"),yt;!be.prev||le(be,be.prev)?yt=new Ur(it,it):!be.prev.prev||le(be,be.prev.prev)?yt=a.findWordAt(it):yt=new Ur(Me(it.line,0),_e(a.doc,Me(it.line+1,0))),a.setSelection(yt.anchor,yt.head),a.focus(),rt(pe)}z()}),Yt(y.scroller,"touchcancel",z),Yt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(_o(a,y.scroller.scrollTop),Eo(a,y.scroller.scrollLeft,!0),en(a,"scroll",a))}),Yt(y.scroller,"mousewheel",function(pe){return zl(a,pe)}),Yt(y.scroller,"DOMMouseScroll",function(pe){return zl(a,pe)}),Yt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(pe){Ot(a,pe)||Pe(pe)},over:function(pe){Ot(a,pe)||(Cu(a,pe),Pe(pe))},start:function(pe){return xu(a,pe)},drop:hi(a,bu),leave:function(pe){Ot(a,pe)||fs(a)}};var ce=y.input.getField();Yt(ce,"keyup",function(pe){return Ss.call(a,pe)}),Yt(ce,"keydown",hi(a,ws)),Yt(ce,"keypress",hi(a,Es)),Yt(ce,"focus",function(pe){return Qa(a,pe)}),Yt(ce,"blur",function(pe){return To(a,pe)})}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=jn(a,y).state:x="prev");var le=a.options.tabSize,ce=Zt(z,y),pe=ge(ce.text,null,le);ce.stateAfter&&(ce.stateAfter=null);var be=ce.text.match(/^\s*/)[0],it;if(!b&&!/\S/.test(ce.text))it=0,x="not";else if(x=="smart"&&(it=z.mode.indent(ie,ce.text.slice(be.length),ce.text),it==Bt||it>150)){if(!b)return;x="prev"}x=="prev"?y>z.first?it=ge(Zt(z,y-1).text,null,le):it=0:x=="add"?it=pe+a.options.indentUnit:x=="subtract"?it=pe-a.options.indentUnit:typeof x=="number"&&(it=pe+x),it=Math.max(0,it);var yt="",qt=0;if(a.options.indentWithTabs)for(var Kt=Math.floor(it/le);Kt;--Kt)qt+=le,yt+=" ";if(qt<it&&(yt+=Xt(it-qt)),yt!=be)return Ho(z,yt,Me(y,0),Me(y,be.length),"+input"),ce.stateAfter=null,!0;for(var En=0;En<z.sel.ranges.length;En++){var Nn=z.sel.ranges[En];if(Nn.head.line==y&&Nn.head.ch<be.length){var Zn=Me(y,be.length);ul(z,En,new Ur(Zn,Zn));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,pe=dn(y),be=null;if(ce&&b.ranges.length>1)if(_i&&_i.text.join(`
`)==y){if(b.ranges.length%_i.text.length==0){be=[];for(var it=0;it<_i.text.length;it++)be.push(ie.splitLines(_i.text[it]))}}else pe.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(be=Vt(pe,function(Jn){return[Jn]}));for(var yt=a.curOp.updateInput,qt=b.ranges.length-1;qt>=0;qt--){var Kt=b.ranges[qt],En=Kt.from(),Nn=Kt.to();Kt.empty()&&(x&&x>0?En=Me(En.line,En.ch-x):a.state.overwrite&&!ce?Nn=Me(Nn.line,Math.min(Zt(ie,Nn.line).text.length,Nn.ch+ze(pe).length)):ce&&_i&&_i.lineWise&&_i.text.join(`
`)==pe.join(`
`)&&(En=Nn=Me(En.line,0)));var Zn={from:En,to:Nn,text:be?be[qt%be.length]:pe,origin:z||(ce?"paste":a.state.cutIncoming>le?"cut":"+input")};zo(a.doc,Zn),Ir(a,"inputRead",a,Zn)}y&&!ce&&Ls(a,y),No(a),a.curOp.updateInput<2&&(a.curOp.updateInput=yt),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Is(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 Ls(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&&Ir(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:Me(z,0),head:Me(z+1,0)};x.push(ie),y.push(a.getRange(ie.anchor,ie.head))}return{text:y,ranges:x}}function Ns(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function ks(){var a=He("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=He("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ae?a.style.width="1000px":a.setAttribute("wrap","off"),Qe&&(a.style.border="1px solid black"),Ns(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),en(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:Pi(function(b,z){var ie=b.token?b:a.getMode(this.options,b);if(ie.startState)throw new Error("Overlays may not be stateful.");gt(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:Pi(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:Pi(function(b,z,ie){typeof z!="string"&&typeof z!="number"&&(z==null?z=this.options.smartIndent?"smart":"prev":z=z?"add":"subtract"),Oe(this.doc,b)&&ga(this,b,z,ie)}),indentSelection:Pi(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&&No(this));else{var pe=ce.from(),be=ce.to(),it=Math.max(ie,pe.line);ie=Math.min(this.lastLine(),be.line-(be.ch?0:1))+1;for(var yt=it;yt<ie;++yt)ga(this,yt,b);var qt=this.doc.sel.ranges;pe.ch==0&&z.length==qt.length&&qt[le].from().ch>0&&ul(this.doc,le,new Ur(pe,qt[le].to()),ve)}}}),getTokenAt:function(b,z){return Vn(this,b,z)},getLineTokens:function(b,z){return Vn(this,Me(b),z,!0)},getTokenTypeAt:function(b){b=_e(this.doc,b);var z=zn(this,Zt(this.doc,b.line)),ie=0,le=(z.length-1)/2,ce=b.ch,pe;if(ce==0)pe=z[2];else for(;;){var be=ie+le>>1;if((be?z[be*2-1]:0)>=ce)le=be;else if(z[be*2+1]<ce)ie=be+1;else{pe=z[be*2+2];break}}var it=pe?pe.indexOf("overlay "):-1;return it<0?pe:it==0?null:pe.slice(0,it-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 pe=0;pe<ce[z].length;pe++){var be=le[ce[z][pe]];be&&ie.push(be)}else ce.helperType&&le[ce.helperType]?ie.push(le[ce.helperType]):le[ce.name]&&ie.push(le[ce.name]);for(var it=0;it<le._global.length;it++){var yt=le._global[it];yt.pred(ce,this)&&bt(ie,yt.val)==-1&&ie.push(yt.val)}return ie},getStateAfter:function(b,z){var ie=this.doc;return b=pt(ie,b==null?ie.first+ie.size-1:b),jn(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=_e(this.doc,b):ie=b?le.from():le.to(),Bi(this,ie,z||"page")},charCoords:function(b,z){return Lo(this,_e(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,at(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,z,ie){var le=!1,ce;if(typeof b=="number"){var pe=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>pe&&(b=pe,le=!0),ce=Zt(this.doc,b)}else ce=b;return Io(this,ce,{top:0,left:0},z||"page",ie||le).top+(le?this.doc.height-cr(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 pe=this.display;b=Bi(this,_e(this.doc,b));var be=b.bottom,it=b.left;if(z.style.position="absolute",z.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(z),pe.sizer.appendChild(z),le=="over")be=b.top;else if(le=="above"||le=="near"){var yt=Math.max(pe.wrapper.clientHeight,this.doc.height),qt=Math.max(pe.sizer.clientWidth,pe.lineSpace.clientWidth);(le=="above"||b.bottom+z.offsetHeight>yt)&&b.top>z.offsetHeight?be=b.top-z.offsetHeight:b.bottom+z.offsetHeight<=yt&&(be=b.bottom),it+z.offsetWidth>qt&&(it=qt-z.offsetWidth)}z.style.top=be+"px",z.style.left=z.style.right="",ce=="right"?(it=pe.sizer.clientWidth-z.offsetWidth,z.style.right="0px"):(ce=="left"?it=0:ce=="middle"&&(it=(pe.sizer.clientWidth-z.offsetWidth)/2),z.style.left=it+"px"),ie&&Vs(this,{left:it,top:be,right:it+z.offsetWidth,bottom:be+z.offsetHeight})},triggerOnKeyDown:Pi(ws),triggerOnKeyPress:Pi(Es),triggerOnKeyUp:Ss,triggerOnMouseDown:Pi(As),execCommand:function(b){if(ha.hasOwnProperty(b))return ha[b].call(null,this)},triggerElectric:Pi(function(b){Ls(this,b)}),findPosH:function(b,z,ie,le){var ce=1;z<0&&(ce=-1,z=-z);for(var pe=_e(this.doc,b),be=0;be<z&&(pe=yl(this.doc,pe,ce,ie,le),!pe.hitSide);++be);return pe},moveH:Pi(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()},Ze)}),deleteH:Pi(function(b,z){var ie=this.doc.sel,le=this.doc;ie.somethingSelected()?le.replaceSelection("",null,"+delete"):Zo(this,function(ce){var pe=yl(le,ce.head,b,z,!1);return b<0?{from:pe,to:ce.head}:{from:ce.head,to:pe}})}),findPosV:function(b,z,ie,le){var ce=1,pe=le;z<0&&(ce=-1,z=-z);for(var be=_e(this.doc,b),it=0;it<z;++it){var yt=Bi(this,be,"div");if(pe==null?pe=yt.left:yt.left=pe,be=Fs(this,yt,ce,ie),be.hitSide)break}return be},moveV:Pi(function(b,z){var ie=this,le=this.doc,ce=[],pe=!this.display.shift&&!le.extend&&le.sel.somethingSelected();if(le.extendSelectionsBy(function(it){if(pe)return b<0?it.from():it.to();var yt=Bi(ie,it.head,"div");it.goalColumn!=null&&(yt.left=it.goalColumn),ce.push(yt.left);var qt=Fs(ie,yt,b,z);return z=="page"&&it==le.sel.primary()&&qa(ie,Lo(ie,qt,"div").top-yt.top),qt},Ze),ce.length)for(var be=0;be<le.sel.ranges.length;be++)le.sel.ranges[be].goalColumn=ce[be]}),findWordAt:function(b){var z=this.doc,ie=Zt(z,b.line).text,le=b.ch,ce=b.ch;if(ie){var pe=this.getHelper(b,"wordChars");(b.sticky=="before"||ce==ie.length)&&le?--le:++ce;for(var be=ie.charAt(le),it=se(be,pe)?function(yt){return se(yt,pe)}:/\s/.test(be)?function(yt){return/\s/.test(yt)}:function(yt){return!/\s/.test(yt)&&!se(yt)};le>0&&it(ie.charAt(le-1));)--le;for(;ce<ie.length&&it(ie.charAt(ce));)++ce}return new Ur(Me(b.line,le),Me(b.line,ce))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):nt(this.display.cursorDiv,"CodeMirror-overwrite"),en(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Re()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Pi(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:Pi(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:Me(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:Pi(function(b,z){var ie=this,le=function(pe){return typeof pe=="number"||/^\d+$/.test(String(pe))?pe+"px":pe};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(pe){if(pe.widgets){for(var be=0;be<pe.widgets.length;be++)if(pe.widgets[be].noHScroll){fo(ie,ce,"widget");break}}++ce}),this.curOp.forceUpdate=!0,en(this,"refresh",this)}),operation:function(b){return ji(this,b)},startOperation:function(){return Po(this)},endOperation:function(){return Oo(this)},refresh:Pi(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),en(this,"refresh",this)}),swapDoc:Pi(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,Ir(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}},Ne(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),pe=z&&a.direction=="rtl"?-x:x;function be(){var rr=y.line+pe;return rr<a.first||rr>=a.first+a.size?!1:(y=new Me(rr,y.ch,y.sticky),ce=Zt(a,rr))}function it(rr){var Qn;if(b=="codepoint"){var ar=ce.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(ar)?Qn=null:Qn=new Me(y.line,Math.max(0,Math.min(ce.text.length,y.ch+x*(ar>=55296&&ar<56320?2:1))),-x)}else z?Qn=Ou(a.cm,ce,y,x):Qn=dl(ce,y,x);if(Qn==null)if(!rr&&be())y=fl(z,a.cm,ce,y.line,pe);else return!1;else y=Qn;return!0}if(b=="char"||b=="codepoint")it();else if(b=="column")it(!0);else if(b=="word"||b=="group")for(var yt=null,qt=b=="group",Kt=a.cm&&a.cm.getHelper(y,"wordChars"),En=!0;!(x<0&&!it(!En));En=!1){var Nn=ce.text.charAt(y.ch)||`
`,Zn=se(Nn,Kt)?"w":qt&&Nn==`
`?"n":!qt||/\s/.test(Nn)?null:"p";if(qt&&!En&&!Zn&&(Zn="s"),yt&&yt!=Zn){x<0&&(x=1,it(),y.sticky="after");break}if(Zn&&(yt=Zn),x>0&&!it(!En))break}var Jn=ka(a,y,ie,le,!0);return Ce(ie,Jn)&&(Jn.hitSide=!0),Jn}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),pe=Math.max(ce-.5*Hi(a.display),3);le=(x>0?y.bottom:y.top)+x*pe}else b=="line"&&(le=x>0?y.bottom+3:y.top-3);for(var be;be=yi(a,ie,le),!!be.outside;){if(x<0?le<=0:le>=z.height){be.hitSide=!0;break}le+=x*5}return be}var Kr=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new fe,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;Ns(z,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function ie(ce){for(var pe=ce.target;pe;pe=pe.parentNode){if(pe==z)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(pe.className))break}return!1}Yt(z,"paste",function(ce){!ie(ce)||Ot(b,ce)||Is(ce,b)||Ee<=11&&setTimeout(hi(b,function(){return y.updateFromDOM()}),20)}),Yt(z,"compositionstart",function(ce){y.composing={data:ce.data,done:!1}}),Yt(z,"compositionupdate",function(ce){y.composing||(y.composing={data:ce.data,done:!1})}),Yt(z,"compositionend",function(ce){y.composing&&(ce.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Yt(z,"touchstart",function(){return x.forceCompositionEnd()}),Yt(z,"input",function(){y.composing||y.readFromDOMSoon()});function le(ce){if(!(!ie(ce)||Ot(b,ce))){if(b.somethingSelected())Wa({lineWise:!1,text:b.getSelections()}),ce.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var pe=Ts(b);Wa({lineWise:!0,text:pe.text}),ce.type=="cut"&&b.operation(function(){b.setSelections(pe.ranges,0,ve),b.replaceSelection("",null,"cut")})}else return;if(ce.clipboardData){ce.clipboardData.clearData();var be=_i.text.join(`
`);if(ce.clipboardData.setData("Text",be),ce.clipboardData.getData("Text")==be){ce.preventDefault();return}}var it=ks(),yt=it.firstChild;b.display.lineSpace.insertBefore(it,b.display.lineSpace.firstChild),yt.value=_i.text.join(`
`);var qt=document.activeElement;Le(yt),setTimeout(function(){b.display.lineSpace.removeChild(it),qt.focus(),qt==z&&x.showPrimarySelection()},50)}}Yt(z,"copy",le),Yt(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&&qe(Pt(ie,le),b)==0&&qe(ht(ie,le),z)==0)){var ce=y.display.view,pe=b.line>=y.display.viewFrom&&Rs(y,b)||{node:ce[0].measure.map[2],offset:0},be=z.line<y.display.viewTo&&Rs(y,z);if(!be){var it=ce[ce.length-1].measure,yt=it.maps?it.maps[it.maps.length-1]:it.map;be={node:yt[yt.length-1],offset:yt[yt.length-2]-yt[yt.length-3]}}if(!pe||!be){a.removeAllRanges();return}var qt=a.rangeCount&&a.getRangeAt(0),Kt;try{Kt=De(pe.node,pe.offset,be.offset,be.node)}catch(En){}Kt&&(!E&&y.state.focused?(a.collapse(pe.node,pe.offset),Kt.collapsed||(a.removeAllRanges(),a.addRange(Kt))):(a.removeAllRanges(),a.addRange(Kt)),qt&&a.anchorNode==null?a.addRange(qt):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){et(this.cm.display.cursorDiv,a.cursors),et(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 We(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(Te&&Se&&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),ve),(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=Me(b.line-1,Zt(a.doc,b.line-1).length)),z.ch==Zt(a.doc,z.line).text.length&&z.line<a.lastLine()&&(z=Me(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=Ve(y.view[0].line),ce=y.view[0].node):(le=Ve(y.view[ie].line),ce=y.view[ie-1].node.nextSibling);var pe=So(a,z.line),be,it;if(pe==y.view.length-1?(be=y.viewTo-1,it=y.lineDiv.lastChild):(be=Ve(y.view[pe+1].line)-1,it=y.view[pe+1].node.previousSibling),!ce)return!1;for(var yt=a.doc.splitLines(Yu(a,ce,it,le,be)),qt=an(a.doc,Me(le,0),Me(be,Zt(a.doc,be).text.length));yt.length>1&&qt.length>1;)if(ze(yt)==ze(qt))yt.pop(),qt.pop(),be--;else if(yt[0]==qt[0])yt.shift(),qt.shift(),le++;else break;for(var Kt=0,En=0,Nn=yt[0],Zn=qt[0],Jn=Math.min(Nn.length,Zn.length);Kt<Jn&&Nn.charCodeAt(Kt)==Zn.charCodeAt(Kt);)++Kt;for(var rr=ze(yt),Qn=ze(qt),ar=Math.min(rr.length-(yt.length==1?Kt:0),Qn.length-(qt.length==1?Kt:0));En<ar&&rr.charCodeAt(rr.length-En-1)==Qn.charCodeAt(Qn.length-En-1);)++En;if(yt.length==1&&qt.length==1&&le==b.line)for(;Kt&&Kt>b.ch&&rr.charCodeAt(rr.length-En-1)==Qn.charCodeAt(Qn.length-En-1);)Kt--,En++;yt[yt.length-1]=rr.slice(0,rr.length-En).replace(/^\u200b+/,""),yt[0]=yt[0].slice(Kt).replace(/\u200b+$/,"");var gr=Me(le,Kt),hr=Me(be,qt.length?ze(qt).length-En:0);if(yt.length>1||yt[0]||qe(gr,hr))return Ho(a.doc,yt,gr,hr,"+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=nn(b,a.doc.direction),le="left";if(ie){var ce=Ct(ie,y.ch);le=ce%2?"right":"left"}var pe=xa(z.map,y.ch,le);return pe.offset=pe.collapse=="right"?pe.end:pe.start,pe}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(),pe=!1;function be(Kt){return function(En){return En.id==Kt}}function it(){le&&(ie+=ce,pe&&(ie+=ce),le=pe=!1)}function yt(Kt){Kt&&(it(),ie+=Kt)}function qt(Kt){if(Kt.nodeType==1){var En=Kt.getAttribute("cm-text");if(En){yt(En);return}var Nn=Kt.getAttribute("cm-marker"),Zn;if(Nn){var Jn=a.findMarks(Me(b,0),Me(z+1,0),be(+Nn));Jn.length&&(Zn=Jn[0].find(0))&&yt(an(a.doc,Zn.from,Zn.to).join(ce));return}if(Kt.getAttribute("contenteditable")=="false")return;var rr=/^(pre|div|p|li|table|br)$/i.test(Kt.nodeName);if(!/^br$/i.test(Kt.nodeName)&&Kt.textContent.length==0)return;rr&&it();for(var Qn=0;Qn<Kt.childNodes.length;Qn++)qt(Kt.childNodes[Qn]);/^(pre|p)$/i.test(Kt.nodeName)&&(pe=!0),rr&&(le=!0)}else Kt.nodeType==3&&yt(Kt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;qt(y),y!=x;)y=y.nextSibling,pe=!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(Me(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||!We(b,y))return Go(Me(Ve(a.line),0),!0);if(y==b&&(z=!0,y=b.childNodes[x],x=0,!y)){var ie=a.rest?ze(a.rest):a.line;return Go(Me(Ve(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 pe=a.measure,be=pe.maps;function it(Zn,Jn,rr){for(var Qn=-1;Qn<(be?be.length:0);Qn++)for(var ar=Qn<0?pe.map:be[Qn],gr=0;gr<ar.length;gr+=3){var hr=ar[gr+2];if(hr==Zn||hr==Jn){var Lr=Ve(Qn<0?a.line:a.rest[Qn]),Qr=ar[gr]+rr;return(rr<0||hr!=Zn)&&(Qr=ar[gr+(rr?1:0)]),Me(Lr,Qr)}}}var yt=it(le,ce,x);if(yt)return Go(yt,z);for(var qt=ce.nextSibling,Kt=le?le.nodeValue.length-x:0;qt;qt=qt.nextSibling){if(yt=it(qt,qt.firstChild,0),yt)return Go(Me(yt.line,yt.ch-Kt),z);Kt+=qt.textContent.length}for(var En=ce.previousSibling,Nn=x;En;En=En.previousSibling){if(yt=it(En,En.firstChild,-1),yt)return Go(Me(yt.line,yt.ch+Nn),z);Nn+=En.textContent.length}}var oi=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new fe,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),Qe&&(z.style.width="0px"),Yt(z,"input",function(){we&&Ee>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),Yt(z,"paste",function(le){Ot(b,le)||Is(le,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function ie(le){if(!Ot(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,ve):(x.prevInput="",z.value=ce.text.join(`
`),Le(z))}else return;le.type=="cut"&&(b.state.cutIncoming=+new Date)}}Yt(z,"cut",ie),Yt(z,"copy",ie),Yt(a.scroller,"paste",function(le){if(!(gi(a,le)||Ot(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)}}),Yt(a.lineSpace,"selectstart",function(le){gi(a,le)||rt(le)}),Yt(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"})}}),Yt(z,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},oi.prototype.createField=function(a){this.wrapper=ks(),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;et(x.cursorDiv,a.cursors),et(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),we&&Ee>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",we&&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"&&(!$e||Re()!=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||Sn(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(we&&Ee>=9&&this.hasSelection===z||je&&/[\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(){we&&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||de)return;var ce=x.options.resetSelectionOnContextMenu;ce&&x.doc.sel.contains(ie)==-1&&hi(x,wi)(x.doc,po(ie),ve);var pe=z.style.cssText,be=y.wrapper.style.cssText,it=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",z.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-it.top-5)+"px; left: "+(a.clientX-it.left-5)+`px;
z-index: 1000; background: `+(we?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var yt;Ae&&(yt=window.scrollY),b.input.focus(),Ae&&window.scrollTo(null,yt),b.input.reset(),x.somethingSelected()||(z.value=y.prevInput=" "),y.contextMenuPending=Kt,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function qt(){if(z.selectionStart!=null){var Nn=x.somethingSelected(),Zn="\u200B"+(Nn?z.value:"");z.value="\u21DA",z.value=Zn,y.prevInput=Nn?"":"\u200B",z.selectionStart=1,z.selectionEnd=Zn.length,b.selForContextMenu=x.doc.sel}}function Kt(){if(y.contextMenuPending==Kt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=be,z.style.cssText=pe,we&&Ee<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=le),z.selectionStart!=null)){(!we||we&&Ee<9)&&qt();var Nn=0,Zn=function(){b.selForContextMenu==x.doc.sel&&z.selectionStart==0&&z.selectionEnd>0&&y.prevInput=="\u200B"?hi(x,ts)(x):Nn++<10?b.detectingSelectAll=setTimeout(Zn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Zn,200)}}if(we&&Ee>=9&&qt(),ct){Pe(a);var En=function(){Ft(window,"mouseup",En),setTimeout(Kt,20)};Yt(window,"mouseup",En)}else setTimeout(Kt,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?Tt(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=Re();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=ce.getValue()}var z;if(a.form&&(Yt(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(pe){}}y.finishInit=function(pe){pe.save=b,pe.getTextArea=function(){return a},pe.toTextArea=function(){pe.toTextArea=isNaN,b(),a.parentNode.removeChild(pe.getWrapperElement()),a.style.display="",a.form&&(Ft(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=z))}},a.style.display="none";var ce=$r(function(pe){return a.parentNode.insertBefore(pe,a.nextSibling)},y);return ce}function $u(a){a.off=Ft,a.on=Yt,a.wheelEventPixels=iu,a.Doc=Ii,a.splitLines=dn,a.countColumn=ge,a.findColumn=xt,a.isWordChar=oe,a.Pass=Bt,a.signal=en,a.Line=Fr,a.changeEnd=mo,a.scrollbarModel=Il,a.Pos=Me,a.cmpPos=qe,a.modes=jt,a.mimeModes=It,a.resolveMode=$t,a.getMode=gn,a.modeExtensions=Cn,a.extendMode=yn,a.copyState=kn,a.startState=$n,a.innerMode=Mn,a.commands=ha,a.keyMap=ao,a.keyName=gs,a.isModifierKey=ms,a.lookupKey=Wo,a.normalizeKeyMap=Pu,a.StringStream=Gn,a.SharedTextMarker=ca,a.TextMarker=go,a.LineWidget=ua,a.e_preventDefault=rt,a.e_stopPropagation=zt,a.e_stop=Pe,a.addClass=ue,a.contains=We,a.rmClass=nt,a.keyNames=yo}Zu($r),Uu($r);var qu="iter insert remove copy getEditor constructor".split(" ");for(var Va in Ii.prototype)Ii.prototype.hasOwnProperty(Va)&&bt(qu,Va)<0&&($r.prototype[Va]=function(a){return function(){return a.apply(this.doc,arguments)}}(Ii.prototype[Va]));return Ne(Ii),$r.inputStyles={textarea:oi,contenteditable:Kr},$r.defineMode=function(a){!$r.defaults.mode&&a!="null"&&($r.defaults.mode=a),un.apply(this,arguments)},$r.defineMIME=ln,$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){Ii.prototype[a]=y},$r.fromTextArea=Qu,$u($r),$r.version="5.58.2",$r})},25419:function(_t,Ht,te){(function(E){E(te(89780),te(15525),te(98101))})(function(E){"use strict";E.defineMode("markdown",function(Ge,me){var Fe=E.getMode(Ge,"text/html"),we=Fe.name=="null";function Ee(ge){if(E.findModeByName){var fe=E.findModeByName(ge);fe&&(ge=fe.mime||fe.mimes[0])}var bt=E.getMode(Ge,ge);return bt.name=="null"?null:bt}me.highlightFormatting===void 0&&(me.highlightFormatting=!1),me.maxBlockquoteDepth===void 0&&(me.maxBlockquoteDepth=0),me.taskLists===void 0&&(me.taskLists=!1),me.strikethrough===void 0&&(me.strikethrough=!1),me.emoji===void 0&&(me.emoji=!1),me.fencedCodeBlockHighlighting===void 0&&(me.fencedCodeBlockHighlighting=!0),me.fencedCodeBlockDefaultMode===void 0&&(me.fencedCodeBlockDefaultMode="text/plain"),me.xml===void 0&&(me.xml=!0),me.tokenTypeOverrides===void 0&&(me.tokenTypeOverrides={});var Ae={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 Ie in Ae)Ae.hasOwnProperty(Ie)&&me.tokenTypeOverrides[Ie]&&(Ae[Ie]=me.tokenTypeOverrides[Ie]);var Se=/^([*\-_])(?:\s*\1){2,}\s*$/,de=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Xe=/^\[(x| )\](?=\s)/i,xe=me.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,wt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Qe=/^[^#!\[\]*_\\<>` "'(~:]+/,Te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,$e=/^\s*\[[^\]]+?\]:.*$/,je=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,St=" ";function Nt(ge,fe,bt){return fe.f=fe.inline=bt,bt(ge,fe)}function Rt(ge,fe,bt){return fe.f=fe.block=bt,bt(ge,fe)}function Et(ge){return!ge||!/\S/.test(ge.string)}function ct(ge){if(ge.linkTitle=!1,ge.linkHref=!1,ge.linkText=!1,ge.em=!1,ge.strong=!1,ge.strikethrough=!1,ge.quote=0,ge.indentedCode=!1,ge.f==nt){var fe=we;if(!fe){var bt=E.innerMode(Fe,ge.htmlState);fe=bt.mode.name=="xml"&&bt.state.tagStart===null&&!bt.state.context&&bt.state.tokenize.isInText}fe&&(ge.f=vt,ge.block=dt,ge.htmlState=null)}return ge.trailingSpace=0,ge.trailingSpaceNewLine=!1,ge.prevLine=ge.thisLine,ge.thisLine={stream:null},null}function dt(ge,fe){var bt=ge.column()===fe.indentation,Lt=Et(fe.prevLine.stream),Bt=fe.indentedCode,ve=fe.prevLine.hr,ke=fe.list!==!1,Ze=(fe.listStack[fe.listStack.length-1]||0)+3;fe.indentedCode=!1;var xt=fe.indentation;if(fe.indentationDiff===null&&(fe.indentationDiff=fe.indentation,ke)){for(fe.list=null;xt<fe.listStack[fe.listStack.length-1];)fe.listStack.pop(),fe.listStack.length?fe.indentation=fe.listStack[fe.listStack.length-1]:fe.list=!1;fe.list!==!1&&(fe.indentationDiff=xt-fe.listStack[fe.listStack.length-1])}var Mt=!Lt&&!ve&&!fe.prevLine.header&&(!ke||!Bt)&&!fe.prevLine.fencedCodeEnd,Xt=(fe.list===!1||ve||Lt)&&fe.indentation<=Ze&&ge.match(Se),ze=null;if(fe.indentationDiff>=4&&(Bt||fe.prevLine.fencedCodeEnd||fe.prevLine.header||Lt))return ge.skipToEnd(),fe.indentedCode=!0,Ae.code;if(ge.eatSpace())return null;if(bt&&fe.indentation<=Ze&&(ze=ge.match(xe))&&ze[1].length<=6)return fe.quote=0,fe.header=ze[1].length,fe.thisLine.header=!0,me.highlightFormatting&&(fe.formatting="header"),fe.f=fe.inline,et(fe);if(fe.indentation<=Ze&&ge.eat(">"))return fe.quote=bt?1:fe.quote+1,me.highlightFormatting&&(fe.formatting="quote"),ge.eatSpace(),et(fe);if(!Xt&&!fe.setext&&bt&&fe.indentation<=Ze&&(ze=ge.match(de))){var Vt=ze[1]?"ol":"ul";return fe.indentation=xt+ge.current().length,fe.list=!0,fe.quote=0,fe.listStack.push(fe.indentation),fe.em=!1,fe.strong=!1,fe.code=!1,fe.strikethrough=!1,me.taskLists&&ge.match(Xe,!1)&&(fe.taskList=!0),fe.f=fe.inline,me.highlightFormatting&&(fe.formatting=["list","list-"+Vt]),et(fe)}else{if(bt&&fe.indentation<=Ze&&(ze=ge.match(Te,!0)))return fe.quote=0,fe.fencedEndRE=new RegExp(ze[1]+"+ *$"),fe.localMode=me.fencedCodeBlockHighlighting&&Ee(ze[2]||me.fencedCodeBlockDefaultMode),fe.localMode&&(fe.localState=E.startState(fe.localMode)),fe.f=fe.block=Dt,me.highlightFormatting&&(fe.formatting="code-block"),fe.code=-1,et(fe);if(fe.setext||(!Mt||!ke)&&!fe.quote&&fe.list===!1&&!fe.code&&!Xt&&!$e.test(ge.string)&&(ze=ge.lookAhead(1))&&(ze=ze.match(wt)))return fe.setext?(fe.header=fe.setext,fe.setext=0,ge.skipToEnd(),me.highlightFormatting&&(fe.formatting="header")):(fe.header=ze[0].charAt(0)=="="?1:2,fe.setext=fe.header),fe.thisLine.header=!0,fe.f=fe.inline,et(fe);if(Xt)return ge.skipToEnd(),fe.hr=!0,fe.thisLine.hr=!0,Ae.hr;if(ge.peek()==="[")return Nt(ge,fe,st)}return Nt(ge,fe,fe.inline)}function nt(ge,fe){var bt=Fe.token(ge,fe.htmlState);if(!we){var Lt=E.innerMode(Fe,fe.htmlState);(Lt.mode.name=="xml"&&Lt.state.tagStart===null&&!Lt.state.context&&Lt.state.tokenize.isInText||fe.md_inside&&ge.current().indexOf(">")>-1)&&(fe.f=vt,fe.block=dt,fe.htmlState=null)}return bt}function Dt(ge,fe){var bt=fe.listStack[fe.listStack.length-1]||0,Lt=fe.indentation<bt,Bt=bt+3;if(fe.fencedEndRE&&fe.indentation<=Bt&&(Lt||ge.match(fe.fencedEndRE))){me.highlightFormatting&&(fe.formatting="code-block");var ve;return Lt||(ve=et(fe)),fe.localMode=fe.localState=null,fe.block=dt,fe.f=vt,fe.fencedEndRE=null,fe.code=0,fe.thisLine.fencedCodeEnd=!0,Lt?Rt(ge,fe,fe.block):ve}else return fe.localMode?fe.localMode.token(ge,fe.localState):(ge.skipToEnd(),Ae.code)}function et(ge){var fe=[];if(ge.formatting){fe.push(Ae.formatting),typeof ge.formatting=="string"&&(ge.formatting=[ge.formatting]);for(var bt=0;bt<ge.formatting.length;bt++)fe.push(Ae.formatting+"-"+ge.formatting[bt]),ge.formatting[bt]==="header"&&fe.push(Ae.formatting+"-"+ge.formatting[bt]+"-"+ge.header),ge.formatting[bt]==="quote"&&(!me.maxBlockquoteDepth||me.maxBlockquoteDepth>=ge.quote?fe.push(Ae.formatting+"-"+ge.formatting[bt]+"-"+ge.quote):fe.push("error"))}if(ge.taskOpen)return fe.push("meta"),fe.length?fe.join(" "):null;if(ge.taskClosed)return fe.push("property"),fe.length?fe.join(" "):null;if(ge.linkHref?fe.push(Ae.linkHref,"url"):(ge.strong&&fe.push(Ae.strong),ge.em&&fe.push(Ae.em),ge.strikethrough&&fe.push(Ae.strikethrough),ge.emoji&&fe.push(Ae.emoji),ge.linkText&&fe.push(Ae.linkText),ge.code&&fe.push(Ae.code),ge.image&&fe.push(Ae.image),ge.imageAltText&&fe.push(Ae.imageAltText,"link"),ge.imageMarker&&fe.push(Ae.imageMarker)),ge.header&&fe.push(Ae.header,Ae.header+"-"+ge.header),ge.quote&&(fe.push(Ae.quote),!me.maxBlockquoteDepth||me.maxBlockquoteDepth>=ge.quote?fe.push(Ae.quote+"-"+ge.quote):fe.push(Ae.quote+"-"+me.maxBlockquoteDepth)),ge.list!==!1){var Lt=(ge.listStack.length-1)%3;Lt?Lt===1?fe.push(Ae.list2):fe.push(Ae.list3):fe.push(Ae.list1)}return ge.trailingSpaceNewLine?fe.push("trailing-space-new-line"):ge.trailingSpace&&fe.push("trailing-space-"+(ge.trailingSpace%2?"a":"b")),fe.length?fe.join(" "):null}function He(ge,fe){if(ge.match(Qe,!0))return et(fe)}function vt(ge,fe){var bt=fe.text(ge,fe);if(typeof bt!="undefined")return bt;if(fe.list)return fe.list=null,et(fe);if(fe.taskList){var Lt=ge.match(Xe,!0)[1]===" ";return Lt?fe.taskOpen=!0:fe.taskClosed=!0,me.highlightFormatting&&(fe.formatting="task"),fe.taskList=!1,et(fe)}if(fe.taskOpen=!1,fe.taskClosed=!1,fe.header&&ge.match(/^#+$/,!0))return me.highlightFormatting&&(fe.formatting="header"),et(fe);var Bt=ge.next();if(fe.linkTitle){fe.linkTitle=!1;var ve=Bt;Bt==="("&&(ve=")"),ve=(ve+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ke="^\\s*(?:[^"+ve+"\\\\]+|\\\\\\\\|\\\\.)"+ve;if(ge.match(new RegExp(ke),!0))return Ae.linkHref}if(Bt==="`"){var Ze=fe.formatting;me.highlightFormatting&&(fe.formatting="code"),ge.eatWhile("`");var xt=ge.current().length;if(fe.code==0&&(!fe.quote||xt==1))return fe.code=xt,et(fe);if(xt==fe.code){var Mt=et(fe);return fe.code=0,Mt}else return fe.formatting=Ze,et(fe)}else if(fe.code)return et(fe);if(Bt==="\\"&&(ge.next(),me.highlightFormatting)){var Xt=et(fe),ze=Ae.formatting+"-escape";return Xt?Xt+" "+ze:ze}if(Bt==="!"&&ge.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return fe.imageMarker=!0,fe.image=!0,me.highlightFormatting&&(fe.formatting="image"),et(fe);if(Bt==="["&&fe.imageMarker&&ge.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return fe.imageMarker=!1,fe.imageAltText=!0,me.highlightFormatting&&(fe.formatting="image"),et(fe);if(Bt==="]"&&fe.imageAltText){me.highlightFormatting&&(fe.formatting="image");var Xt=et(fe);return fe.imageAltText=!1,fe.image=!1,fe.inline=fe.f=We,Xt}if(Bt==="["&&!fe.image)return fe.linkText&&ge.match(/^.*?\]/)||(fe.linkText=!0,me.highlightFormatting&&(fe.formatting="link")),et(fe);if(Bt==="]"&&fe.linkText){me.highlightFormatting&&(fe.formatting="link");var Xt=et(fe);return fe.linkText=!1,fe.inline=fe.f=ge.match(/\(.*?\)| ?\[.*?\]/,!1)?We:vt,Xt}if(Bt==="<"&&ge.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){fe.f=fe.inline=De,me.highlightFormatting&&(fe.formatting="link");var Xt=et(fe);return Xt?Xt+=" ":Xt="",Xt+Ae.linkInline}if(Bt==="<"&&ge.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){fe.f=fe.inline=De,me.highlightFormatting&&(fe.formatting="link");var Xt=et(fe);return Xt?Xt+=" ":Xt="",Xt+Ae.linkEmail}if(me.xml&&Bt==="<"&&ge.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Vt=ge.string.indexOf(">",ge.pos);if(Vt!=-1){var gt=ge.string.substring(ge.start,Vt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gt)&&(fe.md_inside=!0)}return ge.backUp(1),fe.htmlState=E.startState(Fe),Rt(ge,fe,nt)}if(me.xml&&Bt==="<"&&ge.match(/^\/\w*?>/))return fe.md_inside=!1,"tag";if(Bt==="*"||Bt==="_"){for(var ae=1,ne=ge.pos==1?" ":ge.string.charAt(ge.pos-2);ae<3&&ge.eat(Bt);)ae++;var ee=ge.peek()||" ",oe=!/\s/.test(ee)&&(!je.test(ee)||/\s/.test(ne)||je.test(ne)),se=!/\s/.test(ne)&&(!je.test(ne)||/\s/.test(ee)||je.test(ee)),re=null,he=null;if(ae%2&&(!fe.em&&oe&&(Bt==="*"||!se||je.test(ne))?re=!0:fe.em==Bt&&se&&(Bt==="*"||!oe||je.test(ee))&&(re=!1)),ae>1&&(!fe.strong&&oe&&(Bt==="*"||!se||je.test(ne))?he=!0:fe.strong==Bt&&se&&(Bt==="*"||!oe||je.test(ee))&&(he=!1)),he!=null||re!=null){me.highlightFormatting&&(fe.formatting=re==null?"strong":he==null?"em":"strong em"),re===!0&&(fe.em=Bt),he===!0&&(fe.strong=Bt);var Mt=et(fe);return re===!1&&(fe.em=!1),he===!1&&(fe.strong=!1),Mt}}else if(Bt===" "&&(ge.eat("*")||ge.eat("_"))){if(ge.peek()===" ")return et(fe);ge.backUp(1)}if(me.strikethrough){if(Bt==="~"&&ge.eatWhile(Bt)){if(fe.strikethrough){me.highlightFormatting&&(fe.formatting="strikethrough");var Mt=et(fe);return fe.strikethrough=!1,Mt}else if(ge.match(/^[^\s]/,!1))return fe.strikethrough=!0,me.highlightFormatting&&(fe.formatting="strikethrough"),et(fe)}else if(Bt===" "&&ge.match(/^~~/,!0)){if(ge.peek()===" ")return et(fe);ge.backUp(2)}}if(me.emoji&&Bt===":"&&ge.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){fe.emoji=!0,me.highlightFormatting&&(fe.formatting="emoji");var ye=et(fe);return fe.emoji=!1,ye}return Bt===" "&&(ge.match(/^ +$/,!1)?fe.trailingSpace++:fe.trailingSpace&&(fe.trailingSpaceNewLine=!0)),et(fe)}function De(ge,fe){var bt=ge.next();if(bt===">"){fe.f=fe.inline=vt,me.highlightFormatting&&(fe.formatting="link");var Lt=et(fe);return Lt?Lt+=" ":Lt="",Lt+Ae.linkInline}return ge.match(/^[^>]+/,!0),Ae.linkInline}function We(ge,fe){if(ge.eatSpace())return null;var bt=ge.next();return bt==="("||bt==="["?(fe.f=fe.inline=ue(bt==="("?")":"]"),me.highlightFormatting&&(fe.formatting="link-string"),fe.linkHref=!0,et(fe)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ue(ge){return function(fe,bt){var Lt=fe.next();if(Lt===ge){bt.f=bt.inline=vt,me.highlightFormatting&&(bt.formatting="link-string");var Bt=et(bt);return bt.linkHref=!1,Bt}return fe.match(Re[ge]),bt.linkHref=!0,et(bt)}}function st(ge,fe){return ge.match(/^([^\]\\]|\\.)*\]:/,!1)?(fe.f=Le,ge.next(),me.highlightFormatting&&(fe.formatting="link"),fe.linkText=!0,et(fe)):Nt(ge,fe,vt)}function Le(ge,fe){if(ge.match(/^\]:/,!0)){fe.f=fe.inline=Ue,me.highlightFormatting&&(fe.formatting="link");var bt=et(fe);return fe.linkText=!1,bt}return ge.match(/^([^\]\\]|\\.)+/,!0),Ae.linkText}function Ue(ge,fe){return ge.eatSpace()?null:(ge.match(/^[^\s]+/,!0),ge.peek()===void 0?fe.linkTitle=!0:ge.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),fe.f=fe.inline=vt,Ae.linkHref+" url")}var Tt={startState:function(){return{f:dt,prevLine:{stream:null},thisLine:{stream:null},block:dt,htmlState:null,indentation:0,inline:vt,text:He,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(ge){return{f:ge.f,prevLine:ge.prevLine,thisLine:ge.thisLine,block:ge.block,htmlState:ge.htmlState&&E.copyState(Fe,ge.htmlState),indentation:ge.indentation,localMode:ge.localMode,localState:ge.localMode?E.copyState(ge.localMode,ge.localState):null,inline:ge.inline,text:ge.text,formatting:!1,linkText:ge.linkText,linkTitle:ge.linkTitle,linkHref:ge.linkHref,code:ge.code,em:ge.em,strong:ge.strong,strikethrough:ge.strikethrough,emoji:ge.emoji,header:ge.header,setext:ge.setext,hr:ge.hr,taskList:ge.taskList,list:ge.list,listStack:ge.listStack.slice(0),quote:ge.quote,indentedCode:ge.indentedCode,trailingSpace:ge.trailingSpace,trailingSpaceNewLine:ge.trailingSpaceNewLine,md_inside:ge.md_inside,fencedEndRE:ge.fencedEndRE}},token:function(ge,fe){if(fe.formatting=!1,ge!=fe.thisLine.stream){if(fe.header=0,fe.hr=!1,ge.match(/^\s*$/,!0))return ct(fe),null;if(fe.prevLine=fe.thisLine,fe.thisLine={stream:ge},fe.taskList=!1,fe.trailingSpace=0,fe.trailingSpaceNewLine=!1,!fe.localState&&(fe.f=fe.block,fe.f!=nt)){var bt=ge.match(/^\s*/,!0)[0].replace(/\t/g,St).length;if(fe.indentation=bt,fe.indentationDiff=null,bt>0)return null}}return fe.f(ge,fe)},innerMode:function(ge){return ge.block==nt?{state:ge.htmlState,mode:Fe}:ge.localState?{state:ge.localState,mode:ge.localMode}:{state:ge,mode:Tt}},indent:function(ge,fe,bt){return ge.block==nt&&Fe.indent?Fe.indent(ge.htmlState,fe,bt):ge.localState&&ge.localMode.indent?ge.localMode.indent(ge.localState,fe,bt):E.Pass},blankLine:ct,getType:et,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Tt},"xml"),E.defineMIME("text/markdown","markdown"),E.defineMIME("text/x-markdown","markdown")})},98101:function(_t,Ht,te){(function(E){E(te(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 Ge=0;Ge<E.modeInfo.length;Ge++){var me=E.modeInfo[Ge];me.mimes&&(me.mime=me.mimes[0])}E.findModeByMIME=function(Fe){Fe=Fe.toLowerCase();for(var we=0;we<E.modeInfo.length;we++){var Ee=E.modeInfo[we];if(Ee.mime==Fe)return Ee;if(Ee.mimes){for(var Ae=0;Ae<Ee.mimes.length;Ae++)if(Ee.mimes[Ae]==Fe)return Ee}}if(/\+xml$/.test(Fe))return E.findModeByMIME("application/xml");if(/\+json$/.test(Fe))return E.findModeByMIME("application/json")},E.findModeByExtension=function(Fe){Fe=Fe.toLowerCase();for(var we=0;we<E.modeInfo.length;we++){var Ee=E.modeInfo[we];if(Ee.ext){for(var Ae=0;Ae<Ee.ext.length;Ae++)if(Ee.ext[Ae]==Fe)return Ee}}},E.findModeByFileName=function(Fe){for(var we=0;we<E.modeInfo.length;we++){var Ee=E.modeInfo[we];if(Ee.file&&Ee.file.test(Fe))return Ee}var Ae=Fe.lastIndexOf("."),Ie=Ae>-1&&Fe.substring(Ae+1,Fe.length);if(Ie)return E.findModeByExtension(Ie)},E.findModeByName=function(Fe){Fe=Fe.toLowerCase();for(var we=0;we<E.modeInfo.length;we++){var Ee=E.modeInfo[we];if(Ee.name.toLowerCase()==Fe)return Ee;if(Ee.alias){for(var Ae=0;Ae<Ee.alias.length;Ae++)if(Ee.alias[Ae].toLowerCase()==Fe)return Ee}}}})},67549:function(_t,Ht,te){(function(E){E(te(89780))})(function(E){"use strict";E.defineMode("stex",function(Ge,me){"use strict";function Fe(Qe,Te){Qe.cmdState.push(Te)}function we(Qe){return Qe.cmdState.length>0?Qe.cmdState[Qe.cmdState.length-1]:null}function Ee(Qe){var Te=Qe.cmdState.pop();Te&&Te.closeBracket()}function Ae(Qe){for(var Te=Qe.cmdState,$e=Te.length-1;$e>=0;$e--){var je=Te[$e];if(je.name!="DEFAULT")return je}return{styleIdentifier:function(){return null}}}function Ie(Qe,Te,$e){return function(){this.name=Qe,this.bracketNo=0,this.style=Te,this.styles=$e,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Se={};Se.importmodule=Ie("importmodule","tag",["string","builtin"]),Se.documentclass=Ie("documentclass","tag",["","atom"]),Se.usepackage=Ie("usepackage","tag",["atom"]),Se.begin=Ie("begin","tag",["atom"]),Se.end=Ie("end","tag",["atom"]),Se.label=Ie("label","tag",["atom"]),Se.ref=Ie("ref","tag",["atom"]),Se.eqref=Ie("eqref","tag",["atom"]),Se.cite=Ie("cite","tag",["atom"]),Se.bibitem=Ie("bibitem","tag",["atom"]),Se.Bibitem=Ie("Bibitem","tag",["atom"]),Se.RBibitem=Ie("RBibitem","tag",["atom"]),Se.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function de(Qe,Te){Qe.f=Te}function Xe(Qe,Te){var $e;if(Qe.match(/^\\[a-zA-Z@]+/)){var je=Qe.current().slice(1);return $e=Se.hasOwnProperty(je)?Se[je]:Se.DEFAULT,$e=new $e,Fe(Te,$e),de(Te,wt),$e.style}if(Qe.match(/^\\[$&%#{}_]/)||Qe.match(/^\\[,;!\/\\]/))return"tag";if(Qe.match("\\["))return de(Te,function(Nt,Rt){return xe(Nt,Rt,"\\]")}),"keyword";if(Qe.match("\\("))return de(Te,function(Nt,Rt){return xe(Nt,Rt,"\\)")}),"keyword";if(Qe.match("$$"))return de(Te,function(Nt,Rt){return xe(Nt,Rt,"$$")}),"keyword";if(Qe.match("$"))return de(Te,function(Nt,Rt){return xe(Nt,Rt,"$")}),"keyword";var St=Qe.next();if(St=="%")return Qe.skipToEnd(),"comment";if(St=="}"||St=="]"){if($e=we(Te),$e)$e.closeBracket(St),de(Te,wt);else return"error";return"bracket"}else return St=="{"||St=="["?($e=Se.DEFAULT,$e=new $e,Fe(Te,$e),"bracket"):/\d/.test(St)?(Qe.eatWhile(/[\w.%]/),"atom"):(Qe.eatWhile(/[\w\-_]/),$e=Ae(Te),$e.name=="begin"&&($e.argument=Qe.current()),$e.styleIdentifier())}function xe(Qe,Te,$e){if(Qe.eatSpace())return null;if($e&&Qe.match($e))return de(Te,Xe),"keyword";if(Qe.match(/^\\[a-zA-Z@]+/))return"tag";if(Qe.match(/^[a-zA-Z]+/))return"variable-2";if(Qe.match(/^\\[$&%#{}_]/)||Qe.match(/^\\[,;!\/]/)||Qe.match(/^[\^_&]/))return"tag";if(Qe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Qe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var je=Qe.next();return je=="{"||je=="}"||je=="["||je=="]"||je=="("||je==")"?"bracket":je=="%"?(Qe.skipToEnd(),"comment"):"error"}function wt(Qe,Te){var $e=Qe.peek(),je;return $e=="{"||$e=="["?(je=we(Te),je.openBracket($e),Qe.eat($e),de(Te,Xe),"bracket"):/[ \t\r]/.test($e)?(Qe.eat($e),null):(de(Te,Xe),Ee(Te),Xe(Qe,Te))}return{startState:function(){var Qe=me.inMathMode?function(Te,$e){return xe(Te,$e)}:Xe;return{cmdState:[],f:Qe}},copyState:function(Qe){return{cmdState:Qe.cmdState.slice(),f:Qe.f}},token:function(Qe,Te){return Te.f(Qe,Te)},blankLine:function(Qe){Qe.f=Xe,Qe.cmdState.length=0},lineComment:"%"}}),E.defineMIME("text/x-stex","stex"),E.defineMIME("text/x-latex","stex")})},15525:function(_t,Ht,te){(function(E){E(te(89780))})(function(E){"use strict";var Ge={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},me={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};E.defineMode("xml",function(Fe,we){var Ee=Fe.indentUnit,Ae={},Ie=we.htmlMode?Ge:me;for(var Se in Ie)Ae[Se]=Ie[Se];for(var Se in we)Ae[Se]=we[Se];var de,Xe;function xe(De,We){function Re(Le){return We.tokenize=Le,Le(De,We)}var ue=De.next();if(ue=="<")return De.eat("!")?De.eat("[")?De.match("CDATA[")?Re(Te("atom","]]>")):null:De.match("--")?Re(Te("comment","-->")):De.match("DOCTYPE",!0,!0)?(De.eatWhile(/[\w\._\-]/),Re($e(1))):null:De.eat("?")?(De.eatWhile(/[\w\._\-]/),We.tokenize=Te("meta","?>"),"meta"):(de=De.eat("/")?"closeTag":"openTag",We.tokenize=wt,"tag bracket");if(ue=="&"){var st;return De.eat("#")?De.eat("x")?st=De.eatWhile(/[a-fA-F\d]/)&&De.eat(";"):st=De.eatWhile(/[\d]/)&&De.eat(";"):st=De.eatWhile(/[\w\.\-:]/)&&De.eat(";"),st?"atom":"error"}else return De.eatWhile(/[^&<]/),null}xe.isInText=!0;function wt(De,We){var Re=De.next();if(Re==">"||Re=="/"&&De.eat(">"))return We.tokenize=xe,de=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return de="equals",null;if(Re=="<"){We.tokenize=xe,We.state=Rt,We.tagName=We.tagStart=null;var ue=We.tokenize(De,We);return ue?ue+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(We.tokenize=Qe(Re),We.stringStartCol=De.column(),We.tokenize(De,We)):(De.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Qe(De){var We=function(Re,ue){for(;!Re.eol();)if(Re.next()==De){ue.tokenize=wt;break}return"string"};return We.isInAttribute=!0,We}function Te(De,We){return function(Re,ue){for(;!Re.eol();){if(Re.match(We)){ue.tokenize=xe;break}Re.next()}return De}}function $e(De){return function(We,Re){for(var ue;(ue=We.next())!=null;){if(ue=="<")return Re.tokenize=$e(De+1),Re.tokenize(We,Re);if(ue==">")if(De==1){Re.tokenize=xe;break}else return Re.tokenize=$e(De-1),Re.tokenize(We,Re)}return"meta"}}function je(De,We,Re){this.prev=De.context,this.tagName=We,this.indent=De.indented,this.startOfLine=Re,(Ae.doNotIndent.hasOwnProperty(We)||De.context&&De.context.noIndent)&&(this.noIndent=!0)}function St(De){De.context&&(De.context=De.context.prev)}function Nt(De,We){for(var Re;;){if(!De.context||(Re=De.context.tagName,!Ae.contextGrabbers.hasOwnProperty(Re)||!Ae.contextGrabbers[Re].hasOwnProperty(We)))return;St(De)}}function Rt(De,We,Re){return De=="openTag"?(Re.tagStart=We.column(),Et):De=="closeTag"?ct:Rt}function Et(De,We,Re){return De=="word"?(Re.tagName=We.current(),Xe="tag",Dt):Ae.allowMissingTagName&&De=="endTag"?(Xe="tag bracket",Dt(De,We,Re)):(Xe="error",Et)}function ct(De,We,Re){if(De=="word"){var ue=We.current();return Re.context&&Re.context.tagName!=ue&&Ae.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&St(Re),Re.context&&Re.context.tagName==ue||Ae.matchClosing===!1?(Xe="tag",dt):(Xe="tag error",nt)}else return Ae.allowMissingTagName&&De=="endTag"?(Xe="tag bracket",dt(De,We,Re)):(Xe="error",nt)}function dt(De,We,Re){return De!="endTag"?(Xe="error",dt):(St(Re),Rt)}function nt(De,We,Re){return Xe="error",dt(De,We,Re)}function Dt(De,We,Re){if(De=="word")return Xe="attribute",et;if(De=="endTag"||De=="selfcloseTag"){var ue=Re.tagName,st=Re.tagStart;return Re.tagName=Re.tagStart=null,De=="selfcloseTag"||Ae.autoSelfClosers.hasOwnProperty(ue)?Nt(Re,ue):(Nt(Re,ue),Re.context=new je(Re,ue,st==Re.indented)),Rt}return Xe="error",Dt}function et(De,We,Re){return De=="equals"?He:(Ae.allowMissing||(Xe="error"),Dt(De,We,Re))}function He(De,We,Re){return De=="string"?vt:De=="word"&&Ae.allowUnquoted?(Xe="string",Dt):(Xe="error",Dt(De,We,Re))}function vt(De,We,Re){return De=="string"?vt:Dt(De,We,Re)}return{startState:function(De){var We={tokenize:xe,state:Rt,indented:De||0,tagName:null,tagStart:null,context:null};return De!=null&&(We.baseIndent=De),We},token:function(De,We){if(!We.tagName&&De.sol()&&(We.indented=De.indentation()),De.eatSpace())return null;de=null;var Re=We.tokenize(De,We);return(Re||de)&&Re!="comment"&&(Xe=null,We.state=We.state(de||Re,De,We),Xe&&(Re=Xe=="error"?Re+" error":Xe)),Re},indent:function(De,We,Re){var ue=De.context;if(De.tokenize.isInAttribute)return De.tagStart==De.indented?De.stringStartCol+1:De.indented+Ee;if(ue&&ue.noIndent)return E.Pass;if(De.tokenize!=wt&&De.tokenize!=xe)return Re?Re.match(/^(\s*)/)[0].length:0;if(De.tagName)return Ae.multilineTagIndentPastTag!==!1?De.tagStart+De.tagName.length+2:De.tagStart+Ee*(Ae.multilineTagIndentFactor||1);if(Ae.alignCDATA&&/<!\[CDATA\[/.test(We))return 0;var st=We&&/^<(\/)?([\w_:\.-]*)/.exec(We);if(st&&st[1])for(;ue;)if(ue.tagName==st[2]){ue=ue.prev;break}else if(Ae.implicitlyClosed.hasOwnProperty(ue.tagName))ue=ue.prev;else break;else if(st)for(;ue;){var Le=Ae.contextGrabbers[ue.tagName];if(Le&&Le.hasOwnProperty(st[2]))ue=ue.prev;else break}for(;ue&&ue.prev&&!ue.startOfLine;)ue=ue.prev;return ue?ue.indent+Ee:De.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ae.htmlMode?"html":"xml",helperType:Ae.htmlMode?"html":"xml",skipAttribute:function(De){De.state==He&&(De.state=Dt)},xmlCurrentTag:function(De){return De.tagName?{name:De.tagName,close:De.type=="closeTag"}:null},xmlCurrentContext:function(De){for(var We=[],Re=De.context;Re;Re=Re.prev)Re.tagName&&We.push(Re.tagName);return We.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(_t,Ht,te){"use strict";te.d(Ht,{hP:function(){return gt}});var E=function(ae,ne){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,ne)};function Ge(ae,ne){function ee(){this.constructor=ae}E(ae,ne),ae.prototype=ne===null?Object.create(ne):(ee.prototype=ne.prototype,new ee)}function me(ae,ne,ee,oe){return new(ee||(ee=Promise))(function(se,re){function he(Be){try{lt(oe.next(Be))}catch(Ke){re(Ke)}}function ye(Be){try{lt(oe.throw(Be))}catch(Ke){re(Ke)}}function lt(Be){var Ke;Be.done?se(Be.value):(Ke=Be.value,Ke instanceof ee?Ke:new ee(function(ut){ut(Ke)})).then(he,ye)}lt((oe=oe.apply(ae,ne||[])).next())})}function Fe(ae,ne){var ee,oe,se,re,he={label:0,sent:function(){if(1&se[0])throw se[1];return se[1]},trys:[],ops:[]};return re={next:ye(0),throw:ye(1),return:ye(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function ye(lt){return function(Be){return function(Ke){if(ee)throw new TypeError("Generator is already executing.");for(;he;)try{if(ee=1,oe&&(se=2&Ke[0]?oe.return:Ke[0]?oe.throw||((se=oe.return)&&se.call(oe),0):oe.next)&&!(se=se.call(oe,Ke[1])).done)return se;switch(oe=0,se&&(Ke=[2&Ke[0],se.value]),Ke[0]){case 0:case 1:se=Ke;break;case 4:return he.label++,{value:Ke[1],done:!1};case 5:he.label++,oe=Ke[1],Ke=[0];continue;case 7:Ke=he.ops.pop(),he.trys.pop();continue;default:if(se=he.trys,!((se=se.length>0&&se[se.length-1])||Ke[0]!==6&&Ke[0]!==2)){he=0;continue}if(Ke[0]===3&&(!se||Ke[1]>se[0]&&Ke[1]<se[3])){he.label=Ke[1];break}if(Ke[0]===6&&he.label<se[1]){he.label=se[1],se=Ke;break}if(se&&he.label<se[2]){he.label=se[2],he.ops.push(Ke);break}se[2]&&he.ops.pop(),he.trys.pop();continue}Ke=ne.call(ae,he)}catch(ut){Ke=[6,ut],oe=0}finally{ee=se=0}if(5&Ke[0])throw Ke[1];return{value:Ke[0]?Ke[1]:void 0,done:!0}}([lt,Be])}}}function we(){for(var ae=0,ne=0,ee=arguments.length;ne<ee;ne++)ae+=arguments[ne].length;var oe=Array(ae),se=0;for(ne=0;ne<ee;ne++)for(var re=arguments[ne],he=0,ye=re.length;he<ye;he++,se++)oe[se]=re[he];return oe}var Ee=function(){function ae(){}return ae.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ae.setAttributes=function(ne,ee){for(var oe=0,se=ee;oe<se.length;oe++){var re=se[oe],he=re[0],ye=re[1];ne.setAttribute(he,ye)}},ae.createRect=function(ne,ee,oe){var se=document.createElementNS("http://www.w3.org/2000/svg","rect");return se.setAttribute("width",ne.toString()),se.setAttribute("height",ee.toString()),oe&&ae.setAttributes(se,oe),se},ae.createLine=function(ne,ee,oe,se,re){var he=document.createElementNS("http://www.w3.org/2000/svg","line");return he.setAttribute("x1",ne.toString()),he.setAttribute("y1",ee.toString()),he.setAttribute("x2",oe.toString()),he.setAttribute("y2",se.toString()),re&&ae.setAttributes(he,re),he},ae.createPolygon=function(ne,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","polygon");return oe.setAttribute("points",ne),ee&&ae.setAttributes(oe,ee),oe},ae.createCircle=function(ne,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","circle");return oe.setAttribute("cx",(ne/2).toString()),oe.setAttribute("cy",(ne/2).toString()),oe.setAttribute("r",ne.toString()),ee&&ae.setAttributes(oe,ee),oe},ae.createEllipse=function(ne,ee,oe){var se=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return se.setAttribute("cx",(ne/2).toString()),se.setAttribute("cy",(ee/2).toString()),se.setAttribute("rx",(ne/2).toString()),se.setAttribute("ry",(ee/2).toString()),oe&&ae.setAttributes(se,oe),se},ae.createGroup=function(ne){var ee=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&ae.setAttributes(ee,ne),ee},ae.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ae.createMarker=function(ne,ee,oe,se,re,he,ye){var lt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ae.setAttributes(lt,[["id",ne],["orient",ee],["markerWidth",oe.toString()],["markerHeight",se.toString()],["refX",re.toString()],["refY",he.toString()]]),lt.appendChild(ye),lt},ae.createText=function(ne){var ee=document.createElementNS("http://www.w3.org/2000/svg","text");return ee.setAttribute("x","0"),ee.setAttribute("y","0"),ne&&ae.setAttributes(ee,ne),ee},ae.createTSpan=function(ne,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","tspan");return oe.textContent=ne,ee&&ae.setAttributes(oe,ee),oe},ae.createImage=function(ne){var ee=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&ae.setAttributes(ee,ne),ee},ae.createPoint=function(ne,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return oe.x=ne,oe.y=ee,oe},ae.createPath=function(ne,ee){var oe=document.createElementNS("http://www.w3.org/2000/svg","path");return oe.setAttribute("d",ne),ee&&ae.setAttributes(oe,ee),oe},ae}(),Ae=function(){function ae(){}return ae.addKey=function(ne){ae.key=ne},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}(),Ie=function(){function ae(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ae.prototype.rasterize=function(ne,ee,oe){var se=this;return new Promise(function(re){var he=oe!==void 0?oe:document.createElement("canvas");ne===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=ne.naturalWidth,ye.height.baseVal.value=ne.naturalHeight):se.width!==void 0&&se.height!==void 0&&(ye.width.baseVal.value=se.width,ye.height.baseVal.value=se.height),he.width=ye.width.baseVal.value,he.height=ye.height.baseVal.value;var lt=ye.outerHTML,Be=he.getContext("2d");se.markersOnly!==!0&&Be.drawImage(ne,0,0,he.width,he.height);var Ke=window.URL,ut=new Image(he.width,he.height);ut.setAttribute("crossOrigin","anonymous");var Ct=new Blob([lt],{type:"image/svg+xml"}),At=Ke.createObjectURL(Ct);ut.onload=function(){Be.drawImage(ut,0,0),Ke.revokeObjectURL(At);var nn=he.toDataURL(se.imageType,se.imageQuality);re(nn)},ut.src=At})},ae}(),Se=function(){},de=function(){function ae(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}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(ne){return this.styleSheet===void 0&&this.addStyleSheet(),ne.name=""+this.classNamePrefix+ne.localName,this.classes.push(ne),this.styleSheet.sheet.insertRule("."+ne.name+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length),ne},ae.prototype.addRule=function(ne){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ne),this.styleSheet.sheet.insertRule(ne.selector+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length)},ae.prototype.addStyleSheet=function(){var ne;this.styleSheet=document.createElement("style"),((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).appendChild(this.styleSheet),this.addRule(new Xe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Xe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Xe("@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 ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ae}(),Xe=function(ae,ne){this.selector=ae,this.style=ne},xe=function(ae,ne){this.localName=ae,this.style=ne},wt=function(){function ae(ne,ee,oe,se,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=ee,this.markerItems=oe,this.uiStyleSettings=se,this.styles=re,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(ne){var ee=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,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(re){var he=document.createElement("div");he.className=""+ee.toolbarButtonStyleClass.name,he.setAttribute("data-type-name",re.typeName),he.innerHTML=re.icon,he.addEventListener("click",function(){ee.markerToolbarButtonClicked(he,re)}),ee.buttons.push(he),ee.markerButtons.push(he)}),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(ne){this.buttonClickListeners.push(ne)},ae.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},ae.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ae.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=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<ne||ee===ne&&this.markerButtons.length-1===ne?this.markerButtonBlock.appendChild(this.markerButtons[ee]):(ee===ne&&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 ne=this;this.buttons.forEach(function(ee){ee.className=ee.className.replace(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name,"").trim(),ee.className=ee.className.replace(ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ne.toolbarActiveButtonStyleColorsClass.name,"").trim(),ee.className+=" "+(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name)})},ae.prototype.addActionButton=function(ne,ee,oe){var se=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=ee,re.setAttribute("data-action",oe),re.addEventListener("click",function(){se.actionToolbarButtonClicked(re,oe)}),oe){case"select":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":re.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":re.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":re.style.fill=this.uiStyleSettings.closeButtonColor}ne.appendChild(re),this.buttons.push(re)},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 ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new xe("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
padding: `+ne+`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 Xe("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Xe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},ae.prototype.markerToolbarButtonClicked=function(ne,ee){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(oe){return oe("marker",ee)}),this.markerButtonOverflowBlock.style.display="none"},ae.prototype.actionToolbarButtonClicked=function(ne,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(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ae.prototype.setActiveMarkerButton=function(ne){var ee=this.markerButtons.find(function(oe){return oe.getAttribute("data-type-name")===ne});ee&&this.setActiveButton(ee)},ae.prototype.setCurrentMarker=function(ne){var ee=this;this.currentMarker=ne,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}(),Qe=function(){function ae(ne,ee,oe,se){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=ee,this.uiStyleSettings=oe,this.styles=se,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ae.prototype.addStyles=function(){var ne;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: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne: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 Xe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Xe("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},ae.prototype.show=function(ne){var ee;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,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(ne){var ee,oe,se=this;this.panels=ne,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(re){var he;re.uiStyleSettings=se.uiStyleSettings;var ye=document.createElement("div");ye.className=se.toolboxButtonStyleClass.name+" "+((he=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&he!==void 0?he:se.toolboxButtonStyleColorsClass.name),ye.innerHTML=re.icon,ye.title=re.title,ye.addEventListener("click",function(){se.panelButtonClick(re)}),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(ne){var ee=this,oe=-1;if(ne!==this.activePanel){oe=this.panels.indexOf(ne),this.panelRow.innerHTML="";var se=ne.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=ne}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(re,he){var ye,lt;re.className=ee.toolboxButtonStyleClass.name+" "+(he===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}(),Te=function(ae,ne){this.title=ae,this.icon=ne},$e=function(ae){function ne(ee,oe,se,re){var he=ae.call(this,ee,re||'<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 he.colors=[],he.addTransparent=!1,he.colorBoxes=[],he.colors=oe,he.currentColor=se,he.setCurrentColor=he.setCurrentColor.bind(he),he.getColorBox=he.getColorBox.bind(he),he}return Ge(ne,ae),ne.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 re=ee.getColorBox(se);oe.appendChild(re),ee.colorBoxes.push(re)}),oe},ne.prototype.getColorBox=function(ee){var oe=this,se=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-se,he=document.createElement("div");he.style.display="inline-block",he.style.boxSizing="content-box",he.style.width=re-2+"px",he.style.height=re-2+"px",he.style.padding="1px",he.style.marginRight="2px",he.style.marginBottom="2px",he.style.borderWidth="2px",he.style.borderStyle="solid",he.style.borderRadius=(re+2)/2+"px",he.style.borderColor=ee===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",he.addEventListener("click",function(){oe.setCurrentColor(ee,he)});var ye=document.createElement("div");return ye.style.display="inline-block",ye.style.width=re-2+"px",ye.style.height=re-2+"px",ye.style.backgroundColor=ee,ye.style.borderRadius=re/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>`),he.appendChild(ye),he},ne.prototype.setCurrentColor=function(ee,oe){var se=this;this.currentColor=ee,this.colorBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ee)},ne}(Te),je=function(){function ae(ne,ee,oe){this._state="new",this._isSelected=!1,this._container=ne,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(ne){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(ne,ee){},ae.prototype.dblClick=function(ne,ee){},ae.prototype.manipulate=function(ne){},ae.prototype.pointerUp=function(ne){this.stateChanged()},ae.prototype.dispose=function(){},ae.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},ae.prototype.getState=function(){return{typeName:ae.typeName,state:this.state,notes:this.notes}},ae.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},ae.prototype.scale=function(ne,ee){},ae.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},ae.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},ae.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},ae.typeName="MarkerBase",ae}(),St=function(){function ae(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ae.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?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(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},ae}(),Rt=function(){function ae(){}return ae.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},ae.toSVGMatrix=function(ne,ee){return ne.a=ee.a,ne.b=ee.b,ne.c=ee.c,ne.d=ee.d,ne.e=ee.e,ne.f=ee.f,ne},ae}(),Et=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(Ee.createTransform()),re.setupControlBox(),re}return Ge(ne,ae),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.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}),ne.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))},ne.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 re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var he=this.container.transform.baseVal.getItem(0);he.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(he,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.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)},ne.prototype.moveVisual=function(ee){this.visual.style.transform="translate("+ee.x+"px, "+ee.y+"px)"},ne.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)},ne.prototype.resize=function(ee){var oe=this.manipulationStartLeft,se=this.manipulationStartWidth,re=this.manipulationStartTop,he=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:re=this.manipulationStartTop+ee.y-this.manipulationStartY,he=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:he=this.manipulationStartHeight+ee.y-this.manipulationStartY}se>=0?(this.left=oe,this.width=se):(this.left=oe+se,this.width=-se),he>=0?(this.top=re,this.height=he):(this.top=re+he,this.height=-he),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.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()}},ne.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)},ne.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}},ne.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}},ne.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.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 St,this.addControlGrips(),this.controlBox.style.display="none"},ne.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()},ne.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()},ne.prototype.createGrip=function(){var ee=new Nt;return ee.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ee.visual),ee},ne.prototype.positionGrips=function(){var ee=this.controlGrips.topLeft.GRIP_SIZE,oe=-ee/2,se=oe,re=(this.width+this.CB_DISTANCE)/2-ee/2,he=(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,re,se),this.positionGrip(this.controlGrips.topRight.visual,lt,se),this.positionGrip(this.controlGrips.centerLeft.visual,oe,he),this.positionGrip(this.controlGrips.centerRight.visual,lt,he),this.positionGrip(this.controlGrips.bottomLeft.visual,oe,ye),this.positionGrip(this.controlGrips.bottomCenter.visual,re,ye),this.positionGrip(this.controlGrips.bottomRight.visual,lt,ye),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,se-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(ee,oe,se){var re=ee.transform.baseVal.getItem(0);re.setTranslate(oe,se),ee.transform.baseVal.replaceItem(re,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Rt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Rt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ae.prototype.getState.call(this))},ne.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(Rt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,oe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Rt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,oe.containerTransformMatrix))},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe);var se=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:se.x*ee,y:se.y*oe});this.left=re.x,this.top=re.y,this.width=this.width*ee,this.height=this.height*oe,this.adjustControlBox()},ne}(je),ct=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},ne.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)},ne.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ne.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee)},ne.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},ne.prototype.setSize=function(){ae.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(ee){ae.prototype.pointerUp.call(this,ee),this.setSize()},ne.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ne.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.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))},ne.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()},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},ne.title="Rectangle marker",ne}(Et),dt=function(ae){function ne(ee,oe,se,re){var he=ae.call(this,ee,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return he.widths=[],he.widthBoxes=[],he.widths=oe,he.currentWidth=se,he.setCurrentWidth=he.setCurrentWidth.bind(he),he}return Ge(ne,ae),ne.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 re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=se===ee.currentWidth?ee.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){ee.setCurrentWidth(se,re)}),oe.appendChild(re);var he=document.createElement("div");he.innerText=se.toString(),he.style.marginRight="5px",re.appendChild(he);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),re.appendChild(ye),ee.widthBoxes.push(re)}),oe},ne.prototype.setCurrentWidth=function(ee,oe){var se=this;this.currentWidth=ee,this.widthBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(Te),nt=function(ae){function ne(ee,oe,se,re){var he=ae.call(this,ee,re||'<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 he.styles=[],he.styleBoxes=[],he.styles=oe,he.currentStyle=se,he.setCurrentStyle=he.setCurrentStyle.bind(he),he}return Ge(ne,ae),ne.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 re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/ee.styles.length-5+"%",re.style.borderColor=se===ee.currentStyle?ee.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){ee.setCurrentStyle(se,re)}),oe.appendChild(re);var he=document.createElement("div");he.style.minHeight="20px",he.style.flexGrow="2",he.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>`;he.innerHTML=ye,re.appendChild(he),ee.styleBoxes.push(re)}),oe},ne.prototype.setCurrentStyle=function(ee,oe){var se=this;this.currentStyle=ee,this.styleBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(Te),Dt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.strokePanel=new $e("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ge(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=ne.typeName,ee},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ne}(ct),et=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"},He=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!!ae.prototype.ownsTarget.call(this,ee)||!(!this.grip1.ownsTarget(ee)&&!this.grip2.ownsTarget(ee))},ne.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")},ne.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)},ne.prototype.adjustVisual=function(){},ne.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)},ne.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()},ne.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var ee=new Nt;return ee.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ee.visual),ee},ne.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)},ne.prototype.positionGrip=function(ee,oe,se){var re=ee.transform.baseVal.getItem(0);re.setTranslate(oe,se),ee.transform.baseVal.replaceItem(re,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ae.prototype.getState.call(this))},ne.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},ne.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()},ne}(je),vt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.strokePanel=new $e("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorLine&&ee!==this.visibleLine)},ne.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)},ne.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.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()]]))},ne.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},ne.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ae.prototype.getState.call(this));return ee.typeName=ne.typeName,ee},ne.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()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ne}(He),De=function(ae){function ne(ee,oe,se,re){var he=ae.call(this,ee,re||'<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 he.fonts=[],he.fontBoxes=[],he.fonts=oe,he.currentFont=se,he.setCurrentFont=he.setCurrentFont.bind(he),he}return Ge(ne,ae),ne.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 re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/ee.fonts.length-5+"%",re.style.borderColor=se===ee.currentFont?ee.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){ee.setCurrentFont(se,re)}),oe.appendChild(re);var he=document.createElement("div");he.style.display="flex",he.style.minHeight="20px",he.style.flexGrow="2",he.style.fontFamily=se,he.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",he.appendChild(ye),re.appendChild(he),ee.fontBoxes.push(re)}),oe},ne.prototype.setCurrentFont=function(ee,oe){var se=this;this.currentFont=ee,this.fontBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(Te),We=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=se.defaultColor,re.fontFamily=se.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new $e("Color",se.defaultColorSet,se.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new De("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return Ge(ne,ae),ne.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},ne.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()},ne.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")},ne.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)}},ne.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,re=(1*this.height-this.height*this.padding*2/100)/ee.height;oe=Math.min(se,re)}return oe},ne.prototype.getTextPosition=function(ee){var oe=this.textElement.getBBox(),se=0,re=0;return oe.width>0&&oe.height>0&&(se=(this.width-oe.width*ee)/2,re=this.height/2-oe.height*ee/2),{x:se,y:re}},ne.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))},ne.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)},ne.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.isMoved=!0,this.setSize(),this.sizeText()},ne.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()]]))},ne.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},ne.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"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.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")},ne.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(),re={x:se.width*ee,y:se.height*ee};oe.x-=re.x/2,oe.y-=re.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"}},ne.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()},ne.prototype.select=function(){ae.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ae.prototype.deselect.call(this)},ne.prototype.dblClick=function(ee,oe){ae.prototype.dblClick.call(this,ee,oe),this.showTextEditor()},ne.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)},ne.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()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.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=ne.typeName,ee},ne.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()},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.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>',ne}(Et),Re=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=se.defaultColor,re.lineWidth=se.defaultStrokeWidth,re.pixelRatio=se.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new $e("Color",se.defaultColorSet,se.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.drawingImage)},ne.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)},ne.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)},ne.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)},ne.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()]])},ne.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)},ne.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)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.deselect.call(this)},ne.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],re=oe[1],he=oe[2],ye=oe[3],lt=!1,Be=0;Be<this.canvasElement.height;Be++)for(var Ke=0;Ke<this.canvasElement.width;Ke++)ee.data[Be*this.canvasElement.width*4+4*Ke+3]>0&&(lt=!0,Be<re&&(re=Be),Ke<se&&(se=Ke),Be>ye&&(ye=Be),Ke>he&&(he=Ke));if(lt){this.left=se/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(he-se)/this.pixelRatio,this.height=(ye-re)/this.pixelRatio;var ut=document.createElement("canvas");ut.width=he-se,ut.height=ye-re,ut.getContext("2d").putImageData(this.canvasContext.getImageData(se,re,he-se,ye-re),0,0),this.drawingImgUrl=ut.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.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})},ne.prototype.setColor=function(ee){this.color=ee,this.colorChanged(ee)},ne.prototype.setLineWidth=function(ee){this.lineWidth=ee},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=Object.assign({drawingImgUrl:this.drawingImgUrl},ae.prototype.getState.call(this));return ee.typeName=ne.typeName,ee},ne.prototype.restoreState=function(ee){this.createVisual(),ae.prototype.restoreState.call(this,ee),this.drawingImgUrl=ee.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.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>',ne}(Et),ue=function(ae){function ne(ee,oe,se){var re=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 re.typeBoxes=[],re.currentType=oe,re.setCurrentType=re.setCurrentType.bind(re),re}return Ge(ne,ae),ne.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 Be=document.createElement("div");if(Be.style.display="flex",Be.style.flexGrow="2",Be.style.alignItems="center",Be.style.justifyContent="space-between",Be.style.padding="5px",Be.style.borderWidth="2px",Be.style.borderStyle="solid",Be.style.borderColor=lt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",Be.addEventListener("click",function(){ee.setCurrentType(lt,Be)}),oe.appendChild(Be),lt==="both"||lt==="start"){var Ke=document.createElement("div");Ke.style.display="flex",Ke.style.alignItems="center",Ke.style.minHeight="20px",Ke.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ke.style.marginLeft="5px",Be.appendChild(Ke)}var ut=document.createElement("div");ut.style.display="flex",ut.style.alignItems="center",ut.style.minHeight="20px",ut.style.flexGrow="2";var Ct=document.createElement("hr");if(Ct.style.minWidth="20px",Ct.style.border="0px",Ct.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),Ct.style.flexGrow="2",ut.appendChild(Ct),Be.appendChild(ut),lt==="both"||lt==="end"){var At=document.createElement("div");At.style.display="flex",At.style.alignItems="center",At.style.minHeight="20px",At.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,At.style.marginRight="5px",Be.appendChild(At)}re.typeBoxes.push(Be)},re=this,he=0;he<4;he++)se(he);return oe},ne.prototype.setCurrentType=function(ee,oe){var se=this;this.currentType=ee,this.typeBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(Te),st=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new ue("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.arrow1&&ee!==this.arrow2)},ne.prototype.getArrowPoints=function(ee,oe){var se=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return ee-se/2+","+(oe+re/2)+" "+ee+","+(oe-re/2)+" "+(ee+se/2)+","+(oe+re/2)},ne.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)},ne.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="creating"&&this.createTips()},ne.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)}},ne.prototype.setArrowType=function(ee){this.arrowType=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=Object.assign({arrowType:this.arrowType},ae.prototype.getState.call(this));return ee.typeName=ne.typeName,ee},ne.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee);var oe=ee;this.arrowType=oe.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ne}(vt),Le=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.fillColor=se.defaultFillColor,re.strokeWidth=0,re.fillPanel=new $e("Color",se.defaultColorSet,se.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Ge(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=ne.typeName,ee},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ne}(ct),Ue=function(ae){function ne(ee,oe,se,re){var he=ae.call(this,ee,re||'<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 he.opacities=[],he.opacityBoxes=[],he.opacities=oe,he.currentOpacity=se,he.setCurrentOpacity=he.setCurrentOpacity.bind(he),he}return Ge(ne,ae),ne.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 re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=se===ee.currentOpacity?ee.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){ee.setCurrentOpacity(se,re)}),oe.appendChild(re);var he=document.createElement("div");he.innerText=100*se+"%",re.appendChild(he),ee.opacityBoxes.push(re)}),oe},ne.prototype.setCurrentOpacity=function(ee,oe){var se=this;this.currentOpacity=ee,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===oe?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(Te),Tt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=se.defaultHighlightColor,re.strokeWidth=0,re.opacity=se.defaultHighlightOpacity,re.fillPanel=new $e("Color",se.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new Ue("Opacity",se.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ge(ne,ae),ne.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=ne.typeName,ee},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.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>',ne}(Le),ge='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',fe='<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>',bt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=se.defaultStrokeColor,re.bgColor=se.defaultFillColor,re.fontFamily=se.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new $e("Text color",se.defaultColorSet,re.color,ge),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new $e("Fill color",se.defaultColorSet,re.bgColor,fe),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new De("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new Nt,re.tipGrip.visual.transform.baseVal.appendItem(Ee.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return ae.prototype.ownsTarget.call(this,ee)||this.tipGrip.ownsTarget(ee)||this.tip===ee},ne.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)},ne.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)},ne.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()}},ne.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)},ne.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)},ne.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},ne.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 re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?re<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?re<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?re<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}):re<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})},ne.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.positionTip()},ne.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(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.select=function(){this.positionTip(),ae.prototype.select.call(this)},ne.prototype.getState=function(){var ee=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ae.prototype.getState.call(this));return ee.typeName=ne.typeName,ee},ne.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()},ne.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()},ne.typeName="CalloutMarker",ne.title="Callout marker",ne.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>',ne}(We),Lt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.fillColor=se.defaultFillColor,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.setOpacity=re.setOpacity.bind(re),re.createVisual=re.createVisual.bind(re),re.strokePanel=new $e("Line color",we(se.defaultColorSet,["transparent"]),se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new $e("Fill color",we(se.defaultColorSet,["transparent"]),re.fillColor,fe),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new Ue("Opacity",se.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},ne.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)},ne.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ne.prototype.manipulate=function(ee){ae.prototype.manipulate.call(this,ee)},ne.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},ne.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()]])},ne.prototype.pointerUp=function(ee){ae.prototype.pointerUp.call(this,ee),this.setSize()},ne.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ne.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},ne.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.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=ne.typeName,ee},ne.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()},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},ne.typeName="EllipseMarker",ne.title="Ellipse marker",ne.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>',ne}(Et),Bt=function(ae){function ne(ee,oe,se){return ae.call(this,ee,oe,se)||this}return Ge(ne,ae),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.tip1&&ee!==this.tip2)},ne.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)},ne.prototype.pointerDown=function(ee,oe){ae.prototype.pointerDown.call(this,ee,oe),this.state==="creating"&&this.createTips()},ne.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(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=ne.typeName,ee},ne.prototype.restoreState=function(ee){ae.prototype.restoreState.call(this,ee),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.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>',ne}(vt),ve=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.strokePanel.colors=se.defaultColorSet,re.fillColor="transparent",re}return Ge(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var ee=ae.prototype.getState.call(this);return ee.typeName=ne.typeName,ee},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.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>',ne}(Lt),ke=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(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},ae.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},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 ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),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}(),Ze=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.strokePanel=new $e("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorCurve&&ee!==this.visibleCurve&&!this.curveGrip.ownsTarget(ee))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.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)},ne.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")},ne.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()]]))},ne.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)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ae.prototype.addControlGrips.call(this)},ne.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()))},ne.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)},ne.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)},ne.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},ne.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual()},ne.prototype.scale=function(ee,oe){this.curveX=this.curveX*ee,this.curveY=this.curveY*oe,ae.prototype.scale.call(this,ee,oe)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.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=ne.typeName,ee},ne.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()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.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>',ne}(He),xt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,oe,se)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.fillColor=se.defaultFillColor,re.textColor=se.defaultStrokeColor,re.fontFamily=se.defaultFontFamily,re.fontSize=se.defaultCaptionFontSize,re.captionText=se.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new $e("Line color",we(se.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new $e("Fill color",we(se.defaultColorSet,["transparent"]),re.fillColor,fe),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new De("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new $e("Text color",se.defaultColorSet,re.textColor,ge),re.textColorPanel.onColorChanged=re.setTextColor,re}return Ge(ne,ae),ne.prototype.ownsTarget=function(ee){return!(!ae.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.frame&&ee!==this.captionBg&&ee!==this.captionElement)},ne.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()},ne.prototype.setCaptionText=function(ee){this.captionText=ee,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.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")},ne.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)},ne.prototype.resize=function(ee){ae.prototype.resize.call(this,ee),this.setSize()},ne.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')"]])},ne.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()},ne.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"))},ne.prototype.finishTextEditing=function(ee){this.setCaptionText(ee.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.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()},ne.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()},ne.prototype.setSize=function(){ae.prototype.setSize.call(this),Ee.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.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},ne.prototype.dblClick=function(ee,oe){ae.prototype.dblClick.call(this,ee,oe),this.showTextEditor()},ne.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ne.prototype.setFillColor=function(ee){this.fillColor=ee,this.captionBg&&Ee.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},ne.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.frame&&Ee.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.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},ne.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()},ne.prototype.scale=function(ee,oe){ae.prototype.scale.call(this,ee,oe),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.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>',ne}(Et),Mt=function(){function ae(ne,ee){ee===void 0&&(ee=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,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}(),Xt=function(ae){function ne(ee,oe,se){var re=ae.call(this,ee,!1)||this;return re.dataUrl=oe,re.state=se,re}return Ge(ne,ae),ne}(Mt),ze=function(ae){function ne(ee,oe,se){se===void 0&&(se=!1);var re=ae.call(this,ee,se)||this;return re.marker=oe,re}return Ge(ne,ae),ne}(Mt),Vt=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(ne,ee){this[ne].push(ee)},ae.prototype.removeEventListener=function(ne,ee){var oe=this[ne].indexOf(ee);oe>-1&&this[ne].splice(oe,1)},ae}(),gt=function(){function ae(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new et,this._isOpen=!1,this.undoRedoManager=new ke,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 Vt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ae.instanceCounter++,this.styles=new de(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.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[Dt,Re,st,We,ve,Lt,Tt,bt,Bt,Le,vt,Ze,xt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Dt,Re,st,We,Lt,Tt,bt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Dt,Re,st,We,Tt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var ee=this;this._availableMarkerTypes.splice(0),ne.forEach(function(oe){if(typeof oe=="string"){var se=ee.ALL_MARKER_TYPES.find(function(re){return re.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(ne){this._zoomLevel=ne,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(),Ae.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ae.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Se.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Se.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ee){return ee(new Mt(ne))})},ae.prototype.render=function(){return me(this,void 0,void 0,function(){var ne;return Fe(this,function(ee){switch(ee.label){case 0:return this.setCurrentMarker(),(ne=new Ie).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ee.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ee.sent()]}})})},ae.prototype.close=function(ne){var ee=this;if(ne===void 0&&(ne=!1),this.isOpen){var oe=!1;ne||this.eventListeners.beforeclose.forEach(function(se){var re=new Mt(ee,!0);se(re),re.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 Mt(ee))}),this.detachEvents(),this._isOpen=!1)}},ae.prototype.addMarkersToToolbar=function(){for(var ne,ee=[],oe=0;oe<arguments.length;oe++)ee[oe]=arguments[oe];(ne=this._availableMarkerTypes).push.apply(ne,ee)},ae.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(ee){ne(ee.dataUrl,ee.state)})},ae.prototype.removeRenderEventListener=function(ne){},ae.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},ae.prototype.removeCloseEventListener=function(ne){},ae.prototype.setupResizeObserver=function(){var ne=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ne.resize(ne.target.clientWidth,ne.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ne.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ae.prototype.onPopupTargetResize=function(){var ne=1*this.target.clientWidth/this.target.clientHeight,ee=this.editorCanvas.clientWidth/ne>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,oe=ee<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(ee,oe)},ae.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ae.prototype.resize=function(ne,ee){this._isResizing=!0;var oe=ne/this.imageWidth,se=ee/this.imageHeight;this.imageWidth=Math.round(ne),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(ne,ee){var oe,se=this;this._currentMarker&&this._currentMarker instanceof We?this._currentMarker.scale(ne,ee):(oe=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==se._currentMarker&&re.scale(ne,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 ne=this.editingTarget.getBoundingClientRect(),ee=this.editorCanvas.getBoundingClientRect();this.left=ne.left-ee.left,this.top=ne.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 ne,ee=[],oe=0;oe<arguments.length;oe++)ee[oe]=arguments[oe];this.defs=Ee.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,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 ne=document.createElement("a");ne.href="https://markerjs.com/",ne.target="_blank",ne.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>',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),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 ne=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=ne+"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 wt(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 Qe(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(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.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(ne,ee){if(ne==="marker"&&ee!==void 0)this.createNewMarker(ee);else if(ne==="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 ne=this;if(this._currentMarker!==void 0){var ee=!1;if(this.eventListeners.markerbeforedelete.forEach(function(se){var re=new ze(ne,ne._currentMarker,!0);se(re),re.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 ze(ne,oe))})}}},ae.prototype.clear=function(){var ne=this,ee=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(he){var ye=new ze(ne,void 0,!0);he(ye),ye.defaultPrevented&&(ee=!0)}),!ee)){this.setCurrentMarker();for(var oe=function(he){var ye=se.markers[he];se.setCurrentMarker(se.markers[he]),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 ze(ne,ye))})},se=this,re=this.markers.length-1;re>=0;re--)oe(re);this.addUndoStep()}},Object.defineProperty(ae.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ae.prototype.showNotesEditor=function(){var ne;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=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",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 ne=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(re){return re(new Mt(ne))})}else this.undoRedoManager.replaceLastUndoStep(ee),this.eventListeners.statechange.forEach(function(re){return re(new Mt(ne))})}},ae.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ae.prototype.undoStep=function(){var ne=this,ee=this.undoRedoManager.undo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(oe){return oe(new Mt(ne))}))},ae.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ae.prototype.redoStep=function(){var ne=this,ee=this.undoRedoManager.redo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(oe){return oe(new Mt(ne))}))},ae.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},ae.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},ae.prototype.startRenderAndClose=function(){return me(this,void 0,void 0,function(){var ne,ee,oe=this;return Fe(this,function(se){switch(se.label){case 0:return[4,this.render()];case 1:return ne=se.sent(),ee=this.getState(),this.eventListeners.render.forEach(function(re){return re(new Xt(oe,ne,ee))}),this.close(!0),[2]}})})},ae.prototype.getState=function(ne){ne===!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(ne){var ee=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ne.markers.forEach(function(oe){var se=ee._availableMarkerTypes.find(function(he){return he.typeName===oe.typeName});if(se!==void 0){var re=ee.addNewMarker(se);re.restoreState(oe),ee.markers.push(re)}}),ne.width&&ne.height&&(ne.width!==this.imageWidth||ne.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ne.width,this.imageHeight/ne.height),this.eventListeners.restorestate.forEach(function(oe){return oe(new Mt(ee))})},ae.prototype.addNewMarker=function(ne){var ee=Ee.createGroup();return this.markerImage.appendChild(ee),new ne(ee,this.overlayContainer,this.settings)},ae.prototype.createNewMarker=function(ne){var ee,oe=this;(ee=typeof ne=="string"?this._availableMarkerTypes.find(function(se){return se.typeName===ne}):ne)&&(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 ze(oe,oe._currentMarker))}))},ae.prototype.markerCreated=function(ne){var ee=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof Re&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Re):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(oe){return oe(new ze(ee,ee._currentMarker))})},ae.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},ae.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},ae.prototype.markerStateChanged=function(ne){var ee=this;this.eventListeners.markerchange.forEach(function(oe){return oe(new ze(ee,ne))})},ae.prototype.setCurrentMarker=function(ne){var ee=this;this._currentMarker!==ne&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(oe){return oe(new ze(ee,ee._currentMarker))})),this._currentMarker=ne,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 ze(ee,ee._currentMarker))}))},ae.prototype.onPointerDown=function(ne){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ne.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(ne.target)});ee!==void 0?(this.setCurrentMarker(ee),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ne.clientX,y:ne.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY))},ae.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var ee=this.markers.find(function(oe){return oe.ownsTarget(ne.target)});ee!==void 0&&ee!==this._currentMarker&&this.setCurrentMarker(ee),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target):this.setCurrentMarker()}},ae.prototype.onPointerMove=function(ne){this.touchPoints!==1&&ne.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ne.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ne.clientX,ne.clientY)):this.zoomLevel>1&&this.panTo({x:ne.clientX,y:ne.clientY}))},ae.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},ae.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ae.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},ae.prototype.clientToLocalCoordinates=function(ne,ee){var oe=this.markerImage.getBoundingClientRect();return{x:(ne-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 ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"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(ne){Ae.addKey(ne)},ae.prototype.addEventListener=function(ne,ee){this.eventListeners.addEventListener(ne,ee)},ae.prototype.removeEventListener=function(ne,ee){this.eventListeners.removeEventListener(ne,ee)},ae.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ae.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ae.prototype.focus=function(){var ne=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 Mt(ne))}))},ae.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ee){return ee(new Mt(ne))}))},ae.instanceCounter=0,ae}()},6551:function(_t,Ht,te){"use strict";te.d(Ht,{ZP:function(){return Ae}});var E=te(72190),Ge=te(59301),me=te(47273),Fe=0,we=(0,me.Z)();function Ee(){var Ie;return we?(Ie=Fe,Fe+=1):Ie="TEST_OR_SSR",Ie}function Ae(Ie){var Se=Ge.useState(),de=(0,E.Z)(Se,2),Xe=de[0],xe=de[1];return Ge.useEffect(function(){xe("rc_select_".concat(Ee()))},[]),Ie||Xe}},37463:function(_t,Ht,te){"use strict";te.d(Ht,{Ac:function(){return Ot},Xo:function(){return Ut},Wx:function(){return rt},ZP:function(){return Pn},lk:function(){return Rt}});var E=te(60499),Ge=te(77654),me=te(18642),Fe=te(85899),we=te(72190),Ee=te(42244),Ae=te(43749),Ie=te(18929),Se=te(48736),de=te(59301),Xe=te(92310),xe=te.n(Xe),wt=te(34280),Qe=te(49658),Te=te(8654),$e=function(at){var Oe=at.className,Je=at.customizeIcon,Me=at.customizeIconProps,qe=at.children,Ce=at.onMouseDown,ot=at.onClick,ht=typeof Je=="function"?Je(Me):Je;return de.createElement("span",{className:Oe,onMouseDown:function(pt){pt.preventDefault(),Ce==null||Ce(pt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:ot,"aria-hidden":!0},ht!==void 0?ht:de.createElement("span",{className:xe()(Oe.split(/\s+/).map(function(Pt){return"".concat(Pt,"-icon")}))},qe))},je=$e,St=function(at,Oe,Je,Me,qe){var Ce=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,ot=arguments.length>6?arguments[6]:void 0,ht=arguments.length>7?arguments[7]:void 0,Pt=de.useMemo(function(){if((0,Ae.Z)(Me)==="object")return Me.clearIcon;if(qe)return qe},[Me,qe]),pt=de.useMemo(function(){return!!(!Ce&&Me&&(Je.length||ot)&&!(ht==="combobox"&&ot===""))},[Me,Ce,Je.length,ot,ht]);return{allowClear:pt,clearIcon:de.createElement(je,{className:"".concat(at,"-clear"),onMouseDown:Oe,customizeIcon:Pt},"\xD7")}},Nt=de.createContext(null);function Rt(){return de.useContext(Nt)}function Et(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,at=de.useState(!1),Oe=(0,we.Z)(at,2),Je=Oe[0],Me=Oe[1],qe=de.useRef(null),Ce=function(){window.clearTimeout(qe.current)};de.useEffect(function(){return Ce},[]);var ot=function(Pt,pt){Ce(),qe.current=window.setTimeout(function(){Me(Pt),pt&&pt()},Ve)};return[Je,ot,Ce]}function ct(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,at=de.useRef(null),Oe=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(Oe.current)}},[]);function Je(Me){(Me||at.current===null)&&(at.current=Me),window.clearTimeout(Oe.current),Oe.current=window.setTimeout(function(){at.current=null},Ve)}return[function(){return at.current},Je]}function dt(Ve,at,Oe,Je){var Me=de.useRef(null);Me.current={open:at,triggerOpen:Oe,customizedTrigger:Je},de.useEffect(function(){function qe(Ce){var ot;if(!((ot=Me.current)!==null&&ot!==void 0&&ot.customizedTrigger)){var ht=Ce.target;ht.shadowRoot&&Ce.composed&&(ht=Ce.composedPath()[0]||ht),Me.current.open&&Ve().filter(function(Pt){return Pt}).every(function(Pt){return!Pt.contains(ht)&&Pt!==ht})&&Me.current.triggerOpen(!1)}}return window.addEventListener("mousedown",qe),function(){return window.removeEventListener("mousedown",qe)}},[])}var nt=te(10228);function Dt(Ve){return Ve&&![nt.Z.ESC,nt.Z.SHIFT,nt.Z.BACKSPACE,nt.Z.TAB,nt.Z.WIN_KEY,nt.Z.ALT,nt.Z.META,nt.Z.WIN_KEY_RIGHT,nt.Z.CTRL,nt.Z.SEMICOLON,nt.Z.EQUALS,nt.Z.CAPS_LOCK,nt.Z.CONTEXT_MENU,nt.Z.F1,nt.Z.F2,nt.Z.F3,nt.Z.F4,nt.Z.F5,nt.Z.F6,nt.Z.F7,nt.Z.F8,nt.Z.F9,nt.Z.F10,nt.Z.F11,nt.Z.F12].includes(Ve)}var et=te(26112),He=te(83836);function vt(Ve,at,Oe){var Je=(0,Fe.Z)((0,Fe.Z)({},Ve),Oe?at:{});return Object.keys(at).forEach(function(Me){var qe=at[Me];typeof qe=="function"&&(Je[Me]=function(){for(var Ce,ot=arguments.length,ht=new Array(ot),Pt=0;Pt<ot;Pt++)ht[Pt]=arguments[Pt];return qe.apply(void 0,ht),(Ce=Ve[Me])===null||Ce===void 0?void 0:Ce.call.apply(Ce,[Ve].concat(ht))})}),Je}var De=vt,We=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Re=function(at,Oe){var Je=at.prefixCls,Me=at.id,qe=at.inputElement,Ce=at.autoFocus,ot=at.autoComplete,ht=at.editable,Pt=at.activeDescendantId,pt=at.value,_e=at.open,tt=at.attrs,mt=(0,Ee.Z)(at,We),hn=qe||de.createElement("input",null),sn=hn,fn=sn.ref,zn=sn.props;return(0,Se.Kp)(!("maxLength"in hn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),hn=de.cloneElement(hn,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({type:"search"},De(mt,zn,!0)),{},{id:Me,ref:(0,Te.sQ)(Oe,fn),autoComplete:ot||"off",autoFocus:Ce,className:xe()("".concat(Je,"-selection-search-input"),zn==null?void 0:zn.className),role:"combobox","aria-expanded":_e||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Me,"_list"),"aria-activedescendant":_e?Pt:void 0},tt),{},{value:ht?pt:"",readOnly:!ht,unselectable:ht?null:"on",style:(0,Fe.Z)((0,Fe.Z)({},zn.style),{},{opacity:ht?null:0})})),hn},ue=de.forwardRef(Re),st=ue;function Le(Ve){return Array.isArray(Ve)?Ve:Ve!==void 0?[Ve]:[]}var Ue=typeof window!="undefined"&&window.document&&window.document.documentElement,Tt=Ue;function ge(Ve){return Ve!=null}function fe(Ve){return!Ve&&Ve!==0}function bt(Ve){return["string","number"].includes((0,Ae.Z)(Ve))}function Lt(Ve){var at=void 0;return Ve&&(bt(Ve.title)?at=Ve.title.toString():bt(Ve.label)&&(at=Ve.label.toString())),at}function Bt(Ve,at){Tt?de.useLayoutEffect(Ve,at):de.useEffect(Ve,at)}function ve(Ve){var at;return(at=Ve.key)!==null&&at!==void 0?at:Ve.value}var ke=function(at){at.preventDefault(),at.stopPropagation()},Ze=function(at){var Oe=at.id,Je=at.prefixCls,Me=at.values,qe=at.open,Ce=at.searchValue,ot=at.autoClearSearchValue,ht=at.inputRef,Pt=at.placeholder,pt=at.disabled,_e=at.mode,tt=at.showSearch,mt=at.autoFocus,hn=at.autoComplete,sn=at.activeDescendantId,fn=at.tabIndex,zn=at.removeIcon,jn=at.maxTagCount,Xn=at.maxTagTextLength,Rn=at.maxTagPlaceholder,In=Rn===void 0?function(On){return"+ ".concat(On.length," ...")}:Rn,Fn=at.tagRender,Vn=at.onToggleOpen,_n=at.onRemove,Yn=at.onInputChange,qn=at.onInputPaste,Ln=at.onInputKeyDown,nr=at.onInputMouseDown,Un=at.onInputCompositionStart,dr=at.onInputCompositionEnd,pr=at.onInputBlur,sr=de.useRef(null),ur=(0,de.useState)(0),yr=(0,we.Z)(ur,2),lr=yr[0],fr=yr[1],tr=(0,de.useState)(!1),mr=(0,we.Z)(tr,2),br=mr[0],Hr=mr[1],Er="".concat(Je,"-selection"),Tr=qe||_e==="multiple"&&ot===!1||_e==="tags"?Ce:"",Ar=_e==="tags"||_e==="multiple"&&ot===!1||tt&&(qe||br);Bt(function(){fr(sr.current.scrollWidth)},[Tr]);var Dr=function(pn,Wn,Kn,wn,mn){return de.createElement("span",{title:Lt(pn),className:xe()("".concat(Er,"-item"),(0,me.Z)({},"".concat(Er,"-item-disabled"),Kn))},de.createElement("span",{className:"".concat(Er,"-item-content")},Wn),wn&&de.createElement(je,{className:"".concat(Er,"-item-remove"),onMouseDown:ke,onClick:mn,customizeIcon:zn},"\xD7"))},or=function(pn,Wn,Kn,wn,mn,Tn){var Hn=function(Mr){ke(Mr),Vn(!qe)};return de.createElement("span",{onMouseDown:Hn},Fn({label:Wn,value:pn,disabled:Kn,closable:wn,onClose:mn,isMaxTag:!!Tn}))},ir=function(pn){var Wn=pn.disabled,Kn=pn.label,wn=pn.value,mn=!pt&&!Wn,Tn=Kn;if(typeof Xn=="number"&&(typeof Kn=="string"||typeof Kn=="number")){var Hn=String(Tn);Hn.length>Xn&&(Tn="".concat(Hn.slice(0,Xn),"..."))}var cr=function(Pr){Pr&&Pr.stopPropagation(),_n(pn)};return typeof Fn=="function"?or(wn,Tn,Wn,mn,cr):Dr(pn,Tn,Wn,mn,cr)},er=function(pn){if(!Me.length)return null;var Wn=typeof In=="function"?In(pn):In;return typeof Fn=="function"?or(void 0,Wn,!1,!1,void 0,!0):Dr({title:Wn},Wn,!1)},vn=de.createElement("div",{className:"".concat(Er,"-search"),style:{width:lr},onFocus:function(){Hr(!0)},onBlur:function(){Hr(!1)}},de.createElement(st,{ref:ht,open:qe,prefixCls:Je,id:Oe,inputElement:null,disabled:pt,autoFocus:mt,autoComplete:hn,editable:Ar,activeDescendantId:sn,value:Tr,onKeyDown:Ln,onMouseDown:nr,onChange:Yn,onPaste:qn,onCompositionStart:Un,onCompositionEnd:dr,onBlur:pr,tabIndex:fn,attrs:(0,et.Z)(at,!0)}),de.createElement("span",{ref:sr,className:"".concat(Er,"-search-mirror"),"aria-hidden":!0},Tr,"\xA0")),Dn=de.createElement(He.Z,{prefixCls:"".concat(Er,"-overflow"),data:Me,renderItem:ir,renderRest:er,suffix:vn,itemKey:ve,maxCount:jn});return de.createElement("span",{className:"".concat(Er,"-wrap")},Dn,!Me.length&&!Tr&&de.createElement("span",{className:"".concat(Er,"-placeholder")},Pt))},xt=Ze,Mt=function(at){var Oe=at.inputElement,Je=at.prefixCls,Me=at.id,qe=at.inputRef,Ce=at.disabled,ot=at.autoFocus,ht=at.autoComplete,Pt=at.activeDescendantId,pt=at.mode,_e=at.open,tt=at.values,mt=at.placeholder,hn=at.tabIndex,sn=at.showSearch,fn=at.searchValue,zn=at.activeValue,jn=at.maxLength,Xn=at.onInputKeyDown,Rn=at.onInputMouseDown,In=at.onInputChange,Fn=at.onInputPaste,Vn=at.onInputCompositionStart,_n=at.onInputCompositionEnd,Yn=at.onInputBlur,qn=at.title,Ln=de.useState(!1),nr=(0,we.Z)(Ln,2),Un=nr[0],dr=nr[1],pr=pt==="combobox",sr=pr||sn,ur=tt[0],yr=fn||"";pr&&zn&&!Un&&(yr=zn),de.useEffect(function(){pr&&dr(!1)},[pr,zn]);var lr=pt!=="combobox"&&!_e&&!sn?!1:!!yr,fr=qn===void 0?Lt(ur):qn,tr=de.useMemo(function(){return ur?null:de.createElement("span",{className:"".concat(Je,"-selection-placeholder"),style:lr?{visibility:"hidden"}:void 0},mt)},[ur,lr,mt,Je]);return de.createElement("span",{className:"".concat(Je,"-selection-wrap")},de.createElement("span",{className:"".concat(Je,"-selection-search")},de.createElement(st,{ref:qe,prefixCls:Je,id:Me,open:_e,inputElement:Oe,disabled:Ce,autoFocus:ot,autoComplete:ht,editable:sr,activeDescendantId:Pt,value:yr,onKeyDown:Xn,onMouseDown:Rn,onChange:function(br){dr(!0),In(br)},onPaste:Fn,onCompositionStart:Vn,onCompositionEnd:_n,onBlur:Yn,tabIndex:hn,attrs:(0,et.Z)(at,!0),maxLength:pr?jn:void 0})),!pr&&ur?de.createElement("span",{className:"".concat(Je,"-selection-item"),title:fr,style:lr?{visibility:"hidden"}:void 0},ur.label):null,tr)},Xt=Mt,ze=function(at,Oe){var Je=(0,de.useRef)(null),Me=(0,de.useRef)(!1),qe=at.prefixCls,Ce=at.open,ot=at.mode,ht=at.showSearch,Pt=at.tokenWithEnter,pt=at.disabled,_e=at.prefix,tt=at.autoClearSearchValue,mt=at.onSearch,hn=at.onSearchSubmit,sn=at.onToggleOpen,fn=at.onInputKeyDown,zn=at.onInputBlur,jn=at.domRef;de.useImperativeHandle(Oe,function(){return{focus:function(fr){Je.current.focus(fr)},blur:function(){Je.current.blur()}}});var Xn=ct(0),Rn=(0,we.Z)(Xn,2),In=Rn[0],Fn=Rn[1],Vn=function(fr){var tr=fr.which,mr=Je.current instanceof HTMLTextAreaElement;!mr&&Ce&&(tr===nt.Z.UP||tr===nt.Z.DOWN)&&fr.preventDefault(),fn&&fn(fr),tr===nt.Z.ENTER&&ot==="tags"&&!Me.current&&!Ce&&(hn==null||hn(fr.target.value)),!(mr&&!Ce&&~[nt.Z.UP,nt.Z.DOWN,nt.Z.LEFT,nt.Z.RIGHT].indexOf(tr))&&Dt(tr)&&sn(!0)},_n=function(){Fn(!0)},Yn=(0,de.useRef)(null),qn=function(fr){mt(fr,!0,Me.current)!==!1&&sn(!0)},Ln=function(){Me.current=!0},nr=function(fr){Me.current=!1,ot!=="combobox"&&qn(fr.target.value)},Un=function(fr){var tr=fr.target.value;if(Pt&&Yn.current&&/[\r\n]/.test(Yn.current)){var mr=Yn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");tr=tr.replace(mr,Yn.current)}Yn.current=null,qn(tr)},dr=function(fr){var tr=fr.clipboardData,mr=tr==null?void 0:tr.getData("text");Yn.current=mr||""},pr=function(fr){var tr=fr.target;if(tr!==Je.current){var mr=document.body.style.msTouchAction!==void 0;mr?setTimeout(function(){Je.current.focus()}):Je.current.focus()}},sr=function(fr){var tr=In();fr.target!==Je.current&&!tr&&!(ot==="combobox"&&pt)&&fr.preventDefault(),(ot!=="combobox"&&(!ht||!tr)||!Ce)&&(Ce&&tt!==!1&&mt("",!0,!1),sn())},ur={inputRef:Je,onInputKeyDown:Vn,onInputMouseDown:_n,onInputChange:Un,onInputPaste:dr,onInputCompositionStart:Ln,onInputCompositionEnd:nr,onInputBlur:zn},yr=ot==="multiple"||ot==="tags"?de.createElement(xt,(0,E.Z)({},at,ur)):de.createElement(Xt,(0,E.Z)({},at,ur));return de.createElement("div",{ref:jn,className:"".concat(qe,"-selector"),onClick:pr,onMouseDown:sr},_e&&de.createElement("div",{className:"".concat(qe,"-prefix")},_e),yr)},Vt=de.forwardRef(ze),gt=Vt,ae=te(68196),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ee=function(at){var Oe=at===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Oe,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Oe,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Oe,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Oe,adjustY:1},htmlRegion:"scroll"}}},oe=function(at,Oe){var Je=at.prefixCls,Me=at.disabled,qe=at.visible,Ce=at.children,ot=at.popupElement,ht=at.animation,Pt=at.transitionName,pt=at.dropdownStyle,_e=at.dropdownClassName,tt=at.direction,mt=tt===void 0?"ltr":tt,hn=at.placement,sn=at.builtinPlacements,fn=at.dropdownMatchSelectWidth,zn=at.dropdownRender,jn=at.dropdownAlign,Xn=at.getPopupContainer,Rn=at.empty,In=at.getTriggerDOMNode,Fn=at.onPopupVisibleChange,Vn=at.onPopupMouseEnter,_n=(0,Ee.Z)(at,ne),Yn="".concat(Je,"-dropdown"),qn=ot;zn&&(qn=zn(ot));var Ln=de.useMemo(function(){return sn||ee(fn)},[sn,fn]),nr=ht?"".concat(Yn,"-").concat(ht):Pt,Un=typeof fn=="number",dr=de.useMemo(function(){return Un?null:fn===!1?"minWidth":"width"},[fn,Un]),pr=pt;Un&&(pr=(0,Fe.Z)((0,Fe.Z)({},pr),{},{width:fn}));var sr=de.useRef(null);return de.useImperativeHandle(Oe,function(){return{getPopupElement:function(){var yr;return(yr=sr.current)===null||yr===void 0?void 0:yr.popupElement}}}),de.createElement(ae.Z,(0,E.Z)({},_n,{showAction:Fn?["click"]:[],hideAction:Fn?["click"]:[],popupPlacement:hn||(mt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ln,prefixCls:Yn,popupTransitionName:nr,popup:de.createElement("div",{onMouseEnter:Vn},qn),ref:sr,stretch:dr,popupAlign:jn,popupVisible:qe,getPopupContainer:Xn,popupClassName:xe()(_e,(0,me.Z)({},"".concat(Yn,"-empty"),Rn)),popupStyle:pr,getTriggerDOMNode:In,onPopupVisibleChange:Fn}),Ce)},se=de.forwardRef(oe),re=se,he=te(48745);function ye(Ve,at){var Oe=Ve.key,Je;return"value"in Ve&&(Je=Ve.value),Oe!=null?Oe:Je!==void 0?Je:"rc-index-key-".concat(at)}function lt(Ve){return typeof Ve!="undefined"&&!Number.isNaN(Ve)}function Be(Ve,at){var Oe=Ve||{},Je=Oe.label,Me=Oe.value,qe=Oe.options,Ce=Oe.groupLabel,ot=Je||(at?"children":"label");return{label:ot,value:Me||"value",options:qe||"options",groupLabel:Ce||ot}}function Ke(Ve){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=at.fieldNames,Je=at.childrenAsData,Me=[],qe=Be(Oe,!1),Ce=qe.label,ot=qe.value,ht=qe.options,Pt=qe.groupLabel;function pt(_e,tt){Array.isArray(_e)&&_e.forEach(function(mt){if(tt||!(ht in mt)){var hn=mt[ot];Me.push({key:ye(mt,Me.length),groupOption:tt,data:mt,label:mt[Ce],value:hn})}else{var sn=mt[Pt];sn===void 0&&Je&&(sn=mt.label),Me.push({key:ye(mt,Me.length),group:!0,data:mt,label:sn}),pt(mt[ht],!0)}})}return pt(Ve,!1),Me}function ut(Ve){var at=(0,Fe.Z)({},Ve);return"props"in at||Object.defineProperty(at,"props",{get:function(){return(0,Se.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),at}}),at}var Ct=function(at,Oe,Je){if(!Oe||!Oe.length)return null;var Me=!1,qe=function ot(ht,Pt){var pt=(0,he.Z)(Pt),_e=pt[0],tt=pt.slice(1);if(!_e)return[ht];var mt=ht.split(_e);return Me=Me||mt.length>1,mt.reduce(function(hn,sn){return[].concat((0,Ge.Z)(hn),(0,Ge.Z)(ot(sn,tt)))},[]).filter(Boolean)},Ce=qe(at,Oe);return Me?typeof Je!="undefined"?Ce.slice(0,Je):Ce:null},At=de.createContext(null),nn=At;function Qt(Ve){var at=Ve.visible,Oe=Ve.values;if(!at)return null;var Je=50;return de.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Oe.slice(0,Je).map(function(Me){var qe=Me.label,Ce=Me.value;return["number","string"].includes((0,Ae.Z)(qe))?qe:Ce}).join(", ")),Oe.length>Je?", ...":null)}var Yt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],on=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ft=function(at){return at==="tags"||at==="multiple"},en=de.forwardRef(function(Ve,at){var Oe,Je=Ve.id,Me=Ve.prefixCls,qe=Ve.className,Ce=Ve.showSearch,ot=Ve.tagRender,ht=Ve.direction,Pt=Ve.omitDomProps,pt=Ve.displayValues,_e=Ve.onDisplayValuesChange,tt=Ve.emptyOptions,mt=Ve.notFoundContent,hn=mt===void 0?"Not Found":mt,sn=Ve.onClear,fn=Ve.mode,zn=Ve.disabled,jn=Ve.loading,Xn=Ve.getInputElement,Rn=Ve.getRawInputElement,In=Ve.open,Fn=Ve.defaultOpen,Vn=Ve.onDropdownVisibleChange,_n=Ve.activeValue,Yn=Ve.onActiveValueChange,qn=Ve.activeDescendantId,Ln=Ve.searchValue,nr=Ve.autoClearSearchValue,Un=Ve.onSearch,dr=Ve.onSearchSplit,pr=Ve.tokenSeparators,sr=Ve.allowClear,ur=Ve.prefix,yr=Ve.suffixIcon,lr=Ve.clearIcon,fr=Ve.OptionList,tr=Ve.animation,mr=Ve.transitionName,br=Ve.dropdownStyle,Hr=Ve.dropdownClassName,Er=Ve.dropdownMatchSelectWidth,Tr=Ve.dropdownRender,Ar=Ve.dropdownAlign,Dr=Ve.placement,or=Ve.builtinPlacements,ir=Ve.getPopupContainer,er=Ve.showAction,vn=er===void 0?[]:er,Dn=Ve.onFocus,On=Ve.onBlur,pn=Ve.onKeyUp,Wn=Ve.onKeyDown,Kn=Ve.onMouseDown,wn=(0,Ee.Z)(Ve,Yt),mn=Ft(fn),Tn=(Ce!==void 0?Ce:mn)||fn==="combobox",Hn=(0,Fe.Z)({},wn);on.forEach(function(Zr){delete Hn[Zr]}),Pt==null||Pt.forEach(function(Zr){delete Hn[Zr]});var cr=de.useState(!1),Mr=(0,we.Z)(cr,2),Pr=Mr[0],Fr=Mr[1];de.useEffect(function(){Fr((0,Qe.Z)())},[]);var Nr=de.useRef(null),Rr=de.useRef(null),Xr=de.useRef(null),jr=de.useRef(null),Yr=de.useRef(null),ti=de.useRef(!1),Ei=Et(),ki=(0,we.Z)(Ei,3),xi=ki[0],si=ki[1],Fi=ki[2];de.useImperativeHandle(at,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:Nr.current||Rr.current}});var Wr=de.useMemo(function(){var Zr;if(fn!=="combobox")return Ln;var Br=(Zr=pt[0])===null||Zr===void 0?void 0:Zr.value;return typeof Br=="string"||typeof Br=="number"?String(Br):""},[Ln,fn,pt]),Ki=fn==="combobox"&&typeof Xn=="function"&&Xn()||null,_r=typeof Rn=="function"&&Rn(),xr=(0,Te.x1)(Rr,_r==null||(Oe=_r.props)===null||Oe===void 0?void 0:Oe.ref),zr=de.useState(!1),Gr=(0,we.Z)(zr,2),wr=Gr[0],kr=Gr[1];(0,wt.Z)(function(){kr(!0)},[]);var Ir=(0,Ie.Z)(!1,{defaultValue:Fn,value:In}),ui=(0,we.Z)(Ir,2),Di=ui[0],fi=ui[1],ni=wr?Di:!1,xo=!hn&&tt;(zn||xo&&ni&&fn==="combobox")&&(ni=!1);var so=xo?!1:ni,vr=de.useCallback(function(Zr){var Br=Zr!==void 0?Zr:!ni;zn||(fi(Br),ni!==Br&&(Vn==null||Vn(Br)))},[zn,ni,fi,Vn]),Or=de.useMemo(function(){return(pr||[]).some(function(Zr){return[`
`,`\r
`].includes(Zr)})},[pr]),Cr=de.useContext(nn)||{},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;Yn==null||Yn(null);var Qi=Ct(Br,pr,lt(Sr)?Sr-Vr.size:void 0),Ui=Ci?null:Qi;return fn!=="combobox"&&Ui&&(ci="",dr==null||dr(Ui),vr(!1),ii=!1),Un&&Wr!==ci&&Un(ci,{source:yi?"typing":"effect"}),ii}},Yi=function(Br){!Br||!Br.trim()||Un(Br,{source:"submit"})};de.useEffect(function(){!ni&&!mn&&fn!=="combobox"&&Jr("",!1,!1)},[ni]),de.useEffect(function(){Di&&zn&&fi(!1),zn&&!ti.current&&si(!1)},[zn]);var Ai=ct(),gi=(0,we.Z)(Ai,2),ri=gi[0],Gi=gi[1],eo=de.useRef(!1),Ri=function(Br){var yi=ri(),Ci=Br.key,ii=Ci==="Enter";if(ii&&(fn!=="combobox"&&Br.preventDefault(),ni||vr(!0)),Gi(!!Wr),Ci==="Backspace"&&!yi&&mn&&!Wr&&pt.length){for(var ci=(0,Ge.Z)(pt),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&&_e(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))}Wn==null||Wn.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=pt.filter(function(Ci){return Ci!==Br});_e(yi,{type:"remove",values:[Br]})},Ji=function(){eo.current=!1},Mo=de.useRef(!1),Ga=function(){si(!0),zn||(Dn&&!Mo.current&&Dn.apply(void 0,arguments),vn.includes("focus")&&vr(!0)),Mo.current=!0},ya=function(){ti.current=!0,si(!1,function(){Mo.current=!1,ti.current=!1,vr(!1)}),!zn&&(Wr&&(fn==="tags"?Un(Wr,{source:"submit"}):fn==="multiple"&&Un("",{source:"blur"})),On&&On.apply(void 0,arguments))},no=[];de.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(),!Pr&&!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];Kn==null||Kn.apply(void 0,[Br].concat(Ui))},Xi=de.useState({}),ba=(0,we.Z)(Xi,2),xa=ba[1];function Xa(){xa({})}var Ca;_r&&(Ca=function(Br){vr(Br)}),dt(function(){var Zr;return[Nr.current,(Zr=Xr.current)===null||Zr===void 0?void 0:Zr.getPopupElement()]},so,vr,!!_r);var Ua=de.useMemo(function(){return(0,Fe.Z)((0,Fe.Z)({},Ve),{},{notFoundContent:hn,open:ni,triggerOpen:so,id:Je,showSearch:Tn,multiple:mn,toggleOpen:vr})},[Ve,hn,so,ni,Je,Tn,mn,vr]),Ko=!!yr||jn,Yo;Ko&&(Yo=de.createElement(je,{className:xe()("".concat(Me,"-arrow"),(0,me.Z)({},"".concat(Me,"-arrow-loading"),jn)),customizeIcon:yr,customizeIconProps:{loading:jn,searchValue:Wr,open:ni,focused:xi,showSearch:Tn}}));var Co=function(){var Br;sn==null||sn(),(Br=jr.current)===null||Br===void 0||Br.focus(),_e([],{type:"clear",values:pt}),Jr("",!1,!1)},Jo=St(Me,Co,pt,sr,lr,zn,Wr,fn),wa=Jo.allowClear,Qo=Jo.clearIcon,Io=de.createElement(fr,{ref:Yr}),Sa=xe()(Me,qe,(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)({},"".concat(Me,"-focused"),xi),"".concat(Me,"-multiple"),mn),"".concat(Me,"-single"),!mn),"".concat(Me,"-allow-clear"),sr),"".concat(Me,"-show-arrow"),Ko),"".concat(Me,"-disabled"),zn),"".concat(Me,"-loading"),jn),"".concat(Me,"-open"),ni),"".concat(Me,"-customize-input"),Ki),"".concat(Me,"-show-search"),Tn)),Lo=de.createElement(re,{ref:Xr,disabled:zn,prefixCls:Me,visible:so,popupElement:Io,animation:tr,transitionName:mr,dropdownStyle:br,dropdownClassName:Hr,direction:ht,dropdownMatchSelectWidth:Er,dropdownRender:Tr,dropdownAlign:Ar,placement:Dr,builtinPlacements:or,getPopupContainer:ir,empty:tt,getTriggerDOMNode:function(Br){return Rr.current||Br},onPopupVisibleChange:Ca,onPopupMouseEnter:Xa},_r?de.cloneElement(_r,{ref:xr}):de.createElement(gt,(0,E.Z)({},Ve,{domRef:Rr,prefixCls:Me,inputElement:Ki,ref:jr,id:Je,prefix:ur,showSearch:Tn,autoClearSearchValue:nr,mode:fn,activeDescendantId:qn,tagRender:ot,values:pt,open:ni,onToggleOpen:vr,activeValue:_n,searchValue:Wr,onSearch:Jr,onSearchSubmit:Yi,onRemove:io,tokenWithEnter:Or,onInputBlur:Ji}))),Bi;return _r?Bi=Lo:Bi=de.createElement("div",(0,E.Z)({className:Sa},Hn,{ref:Nr,onMouseDown:uo,onKeyDown:Ri,onKeyUp:to,onFocus:Ga,onBlur:ya}),de.createElement(Qt,{visible:xi&&!ni,values:pt}),Lo,Yo,wa&&Qo),de.createElement(Nt.Provider,{value:Ua},Bi)}),Ot=en,rn=function(){return null};rn.isSelectOptGroup=!0;var Ut=rn,Ne=function(){return null};Ne.isSelectOption=!0;var rt=Ne,zt=te(80547),Gt=te(2738),Pe=te(48911);function Ye(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ft=["disabled","title","children","style","className"];function kt(Ve){return typeof Ve=="string"||typeof Ve=="number"}var Jt=function(at,Oe){var Je=Rt(),Me=Je.prefixCls,qe=Je.id,Ce=Je.open,ot=Je.multiple,ht=Je.mode,Pt=Je.searchValue,pt=Je.toggleOpen,_e=Je.notFoundContent,tt=Je.onPopupScroll,mt=de.useContext(nn),hn=mt.maxCount,sn=mt.flattenOptions,fn=mt.onActiveValue,zn=mt.defaultActiveFirstOption,jn=mt.onSelect,Xn=mt.menuItemSelectedIcon,Rn=mt.rawValues,In=mt.fieldNames,Fn=mt.virtual,Vn=mt.direction,_n=mt.listHeight,Yn=mt.listItemHeight,qn=mt.optionRender,Ln="".concat(Me,"-item"),nr=(0,zt.Z)(function(){return sn},[Ce,sn],function(er,vn){return vn[0]&&er[1]!==vn[1]}),Un=de.useRef(null),dr=de.useMemo(function(){return ot&&lt(hn)&&(Rn==null?void 0:Rn.size)>=hn},[ot,hn,Rn==null?void 0:Rn.size]),pr=function(vn){vn.preventDefault()},sr=function(vn){var Dn;(Dn=Un.current)===null||Dn===void 0||Dn.scrollTo(typeof vn=="number"?{index:vn}:vn)},ur=de.useCallback(function(er){return ht==="combobox"?!1:Rn.has(er)},[ht,(0,Ge.Z)(Rn).toString(),Rn.size]),yr=function(vn){for(var Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,On=nr.length,pn=0;pn<On;pn+=1){var Wn=(vn+pn*Dn+On)%On,Kn=nr[Wn]||{},wn=Kn.group,mn=Kn.data;if(!wn&&!(mn!=null&&mn.disabled)&&(ur(mn.value)||!dr))return Wn}return-1},lr=de.useState(function(){return yr(0)}),fr=(0,we.Z)(lr,2),tr=fr[0],mr=fr[1],br=function(vn){var Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;mr(vn);var On={source:Dn?"keyboard":"mouse"},pn=nr[vn];if(!pn){fn(null,-1,On);return}fn(pn.value,vn,On)};(0,de.useEffect)(function(){br(zn!==!1?yr(0):-1)},[nr.length,Pt]);var Hr=de.useCallback(function(er){return ht==="combobox"?String(er).toLowerCase()===Pt.toLowerCase():Rn.has(er)},[ht,Pt,(0,Ge.Z)(Rn).toString(),Rn.size]);(0,de.useEffect)(function(){var er=setTimeout(function(){if(!ot&&Ce&&Rn.size===1){var Dn=Array.from(Rn)[0],On=nr.findIndex(function(pn){var Wn=pn.data;return Pt?String(Wn.value).startsWith(Pt):Wn.value===Dn});On!==-1&&(br(On),sr(On))}});if(Ce){var vn;(vn=Un.current)===null||vn===void 0||vn.scrollTo(void 0)}return function(){return clearTimeout(er)}},[Ce,Pt]);var Er=function(vn){vn!==void 0&&jn(vn,{selected:!Rn.has(vn)}),ot||pt(!1)};if(de.useImperativeHandle(Oe,function(){return{onKeyDown:function(vn){var Dn=vn.which,On=vn.ctrlKey;switch(Dn){case nt.Z.N:case nt.Z.P:case nt.Z.UP:case nt.Z.DOWN:{var pn=0;if(Dn===nt.Z.UP?pn=-1:Dn===nt.Z.DOWN?pn=1:Ye()&&On&&(Dn===nt.Z.N?pn=1:Dn===nt.Z.P&&(pn=-1)),pn!==0){var Wn=yr(tr+pn,pn);sr(Wn),br(Wn,!0)}break}case nt.Z.TAB:case nt.Z.ENTER:{var Kn,wn=nr[tr];wn&&!(wn!=null&&(Kn=wn.data)!==null&&Kn!==void 0&&Kn.disabled)&&!dr?Er(wn.value):Er(void 0),Ce&&vn.preventDefault();break}case nt.Z.ESC:pt(!1),Ce&&vn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(vn){sr(vn)}}}),nr.length===0)return de.createElement("div",{role:"listbox",id:"".concat(qe,"_list"),className:"".concat(Ln,"-empty"),onMouseDown:pr},_e);var Tr=Object.keys(In).map(function(er){return In[er]}),Ar=function(vn){return vn.label};function Dr(er,vn){var Dn=er.group;return{role:Dn?"presentation":"option",id:"".concat(qe,"_list_").concat(vn)}}var or=function(vn){var Dn=nr[vn];if(!Dn)return null;var On=Dn.data||{},pn=On.value,Wn=Dn.group,Kn=(0,et.Z)(On,!0),wn=Ar(Dn);return Dn?de.createElement("div",(0,E.Z)({"aria-label":typeof wn=="string"&&!Wn?wn:null},Kn,{key:vn},Dr(Dn,vn),{"aria-selected":Hr(pn)}),pn):null},ir={role:"listbox",id:"".concat(qe,"_list")};return de.createElement(de.Fragment,null,Fn&&de.createElement("div",(0,E.Z)({},ir,{style:{height:0,width:0,overflow:"hidden"}}),or(tr-1),or(tr),or(tr+1)),de.createElement(Pe.Z,{itemKey:"key",ref:Un,data:nr,height:_n,itemHeight:Yn,fullHeight:!1,onMouseDown:pr,onScroll:tt,virtual:Fn,direction:Vn,innerProps:Fn?null:ir},function(er,vn){var Dn=er.group,On=er.groupOption,pn=er.data,Wn=er.label,Kn=er.value,wn=pn.key;if(Dn){var mn,Tn=(mn=pn.title)!==null&&mn!==void 0?mn:kt(Wn)?Wn.toString():void 0;return de.createElement("div",{className:xe()(Ln,"".concat(Ln,"-group"),pn.className),title:Tn},Wn!==void 0?Wn:wn)}var Hn=pn.disabled,cr=pn.title,Mr=pn.children,Pr=pn.style,Fr=pn.className,Nr=(0,Ee.Z)(pn,ft),Rr=(0,Gt.Z)(Nr,Tr),Xr=ur(Kn),jr=Hn||!Xr&&dr,Yr="".concat(Ln,"-option"),ti=xe()(Ln,Yr,Fr,(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)({},"".concat(Yr,"-grouped"),On),"".concat(Yr,"-active"),tr===vn&&!jr),"".concat(Yr,"-disabled"),jr),"".concat(Yr,"-selected"),Xr)),Ei=Ar(er),ki=!Xn||typeof Xn=="function"||Xr,xi=typeof Ei=="number"?Ei:Ei||Kn,si=kt(xi)?xi.toString():void 0;return cr!==void 0&&(si=cr),de.createElement("div",(0,E.Z)({},(0,et.Z)(Rr),Fn?{}:Dr(er,vn),{"aria-selected":Hr(Kn),className:ti,title:si,onMouseMove:function(){tr===vn||jr||br(vn)},onClick:function(){jr||Er(Kn)},style:Pr}),de.createElement("div",{className:"".concat(Yr,"-content")},typeof qn=="function"?qn(er,{index:vn}):xi),de.isValidElement(Xn)||Xr,ki&&de.createElement(je,{className:"".concat(Ln,"-option-state"),customizeIcon:Xn,customizeIconProps:{value:Kn,disabled:jr,isSelected:Xr}},Xr?"\u2713":null))}))},cn=de.forwardRef(Jt),An=cn,xn=function(Ve,at){var Oe=de.useRef({values:new Map,options:new Map}),Je=de.useMemo(function(){var qe=Oe.current,Ce=qe.values,ot=qe.options,ht=Ve.map(function(_e){if(_e.label===void 0){var tt;return(0,Fe.Z)((0,Fe.Z)({},_e),{},{label:(tt=Ce.get(_e.value))===null||tt===void 0?void 0:tt.label})}return _e}),Pt=new Map,pt=new Map;return ht.forEach(function(_e){Pt.set(_e.value,_e),pt.set(_e.value,at.get(_e.value)||ot.get(_e.value))}),Oe.current.values=Pt,Oe.current.options=pt,ht},[Ve,at]),Me=de.useCallback(function(qe){return at.get(qe)||Oe.current.options.get(qe)},[at]);return[Je,Me]};function dn(Ve,at){return Le(Ve).join("").toUpperCase().includes(at)}var Sn=function(Ve,at,Oe,Je,Me){return de.useMemo(function(){if(!Oe||Je===!1)return Ve;var qe=at.options,Ce=at.label,ot=at.value,ht=[],Pt=typeof Je=="function",pt=Oe.toUpperCase(),_e=Pt?Je:function(mt,hn){return Me?dn(hn[Me],pt):hn[qe]?dn(hn[Ce!=="children"?Ce:"label"],pt):dn(hn[ot],pt)},tt=Pt?function(mt){return ut(mt)}:function(mt){return mt};return Ve.forEach(function(mt){if(mt[qe]){var hn=_e(Oe,tt(mt));if(hn)ht.push(mt);else{var sn=mt[qe].filter(function(fn){return _e(Oe,tt(fn))});sn.length&&ht.push((0,Fe.Z)((0,Fe.Z)({},mt),{},(0,me.Z)({},qe,sn)))}return}_e(Oe,tt(mt))&&ht.push(mt)}),ht},[Ve,Je,Me,Oe,at])},bn=te(6551),tn=te(11592),Wt=["children","value"],jt=["children"];function It(Ve){var at=Ve,Oe=at.key,Je=at.props,Me=Je.children,qe=Je.value,Ce=(0,Ee.Z)(Je,Wt);return(0,Fe.Z)({key:Oe,value:qe!==void 0?qe:Oe,children:Me},Ce)}function un(Ve){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,tn.Z)(Ve).map(function(Oe,Je){if(!de.isValidElement(Oe)||!Oe.type)return null;var Me=Oe,qe=Me.type.isSelectOptGroup,Ce=Me.key,ot=Me.props,ht=ot.children,Pt=(0,Ee.Z)(ot,jt);return at||!qe?It(Oe):(0,Fe.Z)((0,Fe.Z)({key:"__RC_SELECT_GRP__".concat(Ce===null?Je:Ce,"__"),label:Ce},Pt),{},{options:un(ht)})}).filter(function(Oe){return Oe})}var ln=function(at,Oe,Je,Me,qe){return de.useMemo(function(){var Ce=at,ot=!at;ot&&(Ce=un(Oe));var ht=new Map,Pt=new Map,pt=function(mt,hn,sn){sn&&typeof sn=="string"&&mt.set(hn[sn],hn)},_e=function tt(mt){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=0;sn<mt.length;sn+=1){var fn=mt[sn];!fn[Je.options]||hn?(ht.set(fn[Je.value],fn),pt(Pt,fn,Je.label),pt(Pt,fn,Me),pt(Pt,fn,qe)):tt(fn[Je.options],!0)}};return _e(Ce),{options:Ce,valueOptions:ht,labelOptions:Pt}},[at,Oe,Je,Me,qe])},$t=ln;function gn(Ve){var at=de.useRef();at.current=Ve;var Oe=de.useCallback(function(){return at.current.apply(at,arguments)},[]);return Oe}function Cn(Ve){var at=Ve.mode,Oe=Ve.options,Je=Ve.children,Me=Ve.backfill,qe=Ve.allowClear,Ce=Ve.placeholder,ot=Ve.getInputElement,ht=Ve.showSearch,Pt=Ve.onSearch,pt=Ve.defaultOpen,_e=Ve.autoFocus,tt=Ve.labelInValue,mt=Ve.value,hn=Ve.inputValue,sn=Ve.optionLabelProp,fn=isMultiple(at),zn=ht!==void 0?ht:fn||at==="combobox",jn=Oe||convertChildrenToData(Je);if(warning(at!=="tags"||jn.every(function(Fn){return!Fn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),at==="tags"||at==="combobox"){var Xn=jn.some(function(Fn){return Fn.options?Fn.options.some(function(Vn){return typeof("value"in Vn?Vn.value:Vn.key)=="number"}):typeof("value"in Fn?Fn.value:Fn.key)=="number"});warning(!Xn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(at!=="combobox"||!sn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(at==="combobox"||!Me,"`backfill` only works with `combobox` mode."),warning(at==="combobox"||!ot,"`getInputElement` only work with `combobox` mode."),noteOnce(at!=="combobox"||!ot||!qe||!Ce,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Pt&&!zn&&at!=="combobox"&&at!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!pt||_e,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),mt!=null){var Rn=toArray(mt);warning(!tt||Rn.every(function(Fn){return _typeof(Fn)==="object"&&("key"in Fn||"value"in Fn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!fn||Array.isArray(mt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Je){var In=null;toNodeArray(Je).some(function(Fn){if(!React.isValidElement(Fn)||!Fn.type)return!1;var Vn=Fn,_n=Vn.type;if(_n.isSelectOption)return!1;if(_n.isSelectOptGroup){var Yn=toNodeArray(Fn.props.children).every(function(qn){return!React.isValidElement(qn)||!Fn.type||qn.type.isSelectOption?!0:(In=qn.type,!1)});return!Yn}return In=_n,!0}),In&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(In.displayName||In.name||In,"`.")),warning(hn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function yn(Ve,at){if(Ve){var Oe=function Je(Me){for(var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=0;Ce<Me.length;Ce++){var ot=Me[Ce];if(ot[at==null?void 0:at.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!qe&&Array.isArray(ot[at==null?void 0:at.options])&&Je(ot[at==null?void 0:at.options],!0))break}};Oe(Ve)}}var kn=null,Mn=["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"],$n=["inputValue"];function Gn(Ve){return!Ve||(0,Ae.Z)(Ve)!=="object"}var Zt=de.forwardRef(function(Ve,at){var Oe=Ve.id,Je=Ve.mode,Me=Ve.prefixCls,qe=Me===void 0?"rc-select":Me,Ce=Ve.backfill,ot=Ve.fieldNames,ht=Ve.inputValue,Pt=Ve.searchValue,pt=Ve.onSearch,_e=Ve.autoClearSearchValue,tt=_e===void 0?!0:_e,mt=Ve.onSelect,hn=Ve.onDeselect,sn=Ve.dropdownMatchSelectWidth,fn=sn===void 0?!0:sn,zn=Ve.filterOption,jn=Ve.filterSort,Xn=Ve.optionFilterProp,Rn=Ve.optionLabelProp,In=Ve.options,Fn=Ve.optionRender,Vn=Ve.children,_n=Ve.defaultActiveFirstOption,Yn=Ve.menuItemSelectedIcon,qn=Ve.virtual,Ln=Ve.direction,nr=Ve.listHeight,Un=nr===void 0?200:nr,dr=Ve.listItemHeight,pr=dr===void 0?20:dr,sr=Ve.labelRender,ur=Ve.value,yr=Ve.defaultValue,lr=Ve.labelInValue,fr=Ve.onChange,tr=Ve.maxCount,mr=(0,Ee.Z)(Ve,Mn),br=(0,bn.ZP)(Oe),Hr=Ft(Je),Er=!!(!In&&Vn),Tr=de.useMemo(function(){return zn===void 0&&Je==="combobox"?!1:zn},[zn,Je]),Ar=de.useMemo(function(){return Be(ot,Er)},[JSON.stringify(ot),Er]),Dr=(0,Ie.Z)("",{value:Pt!==void 0?Pt:ht,postState:function(Or){return Or||""}}),or=(0,we.Z)(Dr,2),ir=or[0],er=or[1],vn=$t(In,Vn,Ar,Xn,Rn),Dn=vn.valueOptions,On=vn.labelOptions,pn=vn.options,Wn=de.useCallback(function(vr){var Or=Le(vr);return Or.map(function(Cr){var Sr,Vr,Jr,Yi,Ai;if(Gn(Cr))Sr=Cr;else{var gi;Jr=Cr.key,Vr=Cr.label,Sr=(gi=Cr.value)!==null&&gi!==void 0?gi:Jr}var ri=Dn.get(Sr);if(ri){var Gi;if(Vr===void 0&&(Vr=ri==null?void 0:ri[Rn||Ar.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,Ai=ri==null?void 0:ri.title,0)var eo}return{label:Vr,value:Sr,key:Jr,disabled:Yi,title:Ai}})},[Ar,Rn,Dn]),Kn=(0,Ie.Z)(yr,{value:ur}),wn=(0,we.Z)(Kn,2),mn=wn[0],Tn=wn[1],Hn=de.useMemo(function(){var vr,Or=Hr&&mn===null?[]:mn,Cr=Wn(Or);return Je==="combobox"&&fe((vr=Cr[0])===null||vr===void 0?void 0:vr.value)?[]:Cr},[mn,Wn,Je,Hr]),cr=xn(Hn,Dn),Mr=(0,we.Z)(cr,2),Pr=Mr[0],Fr=Mr[1],Nr=de.useMemo(function(){if(!Je&&Pr.length===1){var vr=Pr[0];if(vr.value===null&&(vr.label===null||vr.label===void 0))return[]}return Pr.map(function(Or){var Cr;return(0,Fe.Z)((0,Fe.Z)({},Or),{},{label:(Cr=typeof sr=="function"?sr(Or):Or.label)!==null&&Cr!==void 0?Cr:Or.value})})},[Je,Pr,sr]),Rr=de.useMemo(function(){return new Set(Pr.map(function(vr){return vr.value}))},[Pr]);de.useEffect(function(){if(Je==="combobox"){var vr,Or=(vr=Pr[0])===null||vr===void 0?void 0:vr.value;er(ge(Or)?String(Or):"")}},[Pr]);var Xr=gn(function(vr,Or){var Cr=Or!=null?Or:vr;return(0,me.Z)((0,me.Z)({},Ar.value,vr),Ar.label,Cr)}),jr=de.useMemo(function(){if(Je!=="tags")return pn;var vr=(0,Ge.Z)(pn),Or=function(Sr){return Dn.has(Sr)};return(0,Ge.Z)(Pr).sort(function(Cr,Sr){return Cr.value<Sr.value?-1:1}).forEach(function(Cr){var Sr=Cr.value;Or(Sr)||vr.push(Xr(Sr,Cr.label))}),vr},[Xr,pn,Dn,Pr,Je]),Yr=Sn(jr,Ar,ir,Tr,Xn),ti=de.useMemo(function(){return Je!=="tags"||!ir||Yr.some(function(vr){return vr[Xn||"value"]===ir})||Yr.some(function(vr){return vr[Ar.value]===ir})?Yr:[Xr(ir)].concat((0,Ge.Z)(Yr))},[Xr,Xn,Je,Yr,ir,Ar]),Ei=function vr(Or){var Cr=(0,Ge.Z)(Or).sort(function(Sr,Vr){return jn(Sr,Vr,{searchValue:ir})});return Cr.map(function(Sr){return Array.isArray(Sr.options)?(0,Fe.Z)((0,Fe.Z)({},Sr),{},{options:Sr.options.length>0?vr(Sr.options):Sr.options}):Sr})},ki=de.useMemo(function(){return jn?Ei(ti):ti},[ti,jn,ir]),xi=de.useMemo(function(){return Ke(ki,{fieldNames:Ar,childrenAsData:Er})},[ki,Ar,Er]),si=function(Or){var Cr=Wn(Or);if(Tn(Cr),fr&&(Cr.length!==Pr.length||Cr.some(function(Jr,Yi){var Ai;return((Ai=Pr[Yi])===null||Ai===void 0?void 0:Ai.value)!==(Jr==null?void 0:Jr.value)}))){var Sr=lr?Cr:Cr.map(function(Jr){return Jr.value}),Vr=Cr.map(function(Jr){return ut(Fr(Jr.value))});fr(Hr?Sr:Sr[0],Hr?Vr:Vr[0])}},Fi=de.useState(null),Wr=(0,we.Z)(Fi,2),Ki=Wr[0],_r=Wr[1],xr=de.useState(0),zr=(0,we.Z)(xr,2),Gr=zr[0],wr=zr[1],kr=_n!==void 0?_n:Je!=="combobox",Ir=de.useCallback(function(vr,Or){var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Sr=Cr.source,Vr=Sr===void 0?"keyboard":Sr;wr(Or),Ce&&Je==="combobox"&&vr!==null&&Vr==="keyboard"&&_r(String(vr))},[Ce,Je]),ui=function(Or,Cr,Sr){var Vr=function(){var io,Ji=Fr(Or);return[lr?{label:Ji==null?void 0:Ji[Ar.label],value:Or,key:(io=Ji==null?void 0:Ji.key)!==null&&io!==void 0?io:Or}:Or,ut(Ji)]};if(Cr&&mt){var Jr=Vr(),Yi=(0,we.Z)(Jr,2),Ai=Yi[0],gi=Yi[1];mt(Ai,gi)}else if(!Cr&&hn&&Sr!=="clear"){var ri=Vr(),Gi=(0,we.Z)(ri,2),eo=Gi[0],Ri=Gi[1];hn(eo,Ri)}},Di=gn(function(vr,Or){var Cr,Sr=Hr?Or.selected:!0;Sr?Cr=Hr?[].concat((0,Ge.Z)(Pr),[vr]):[vr]:Cr=Pr.filter(function(Vr){return Vr.value!==vr}),si(Cr),ui(vr,Sr),Je==="combobox"?_r(""):(!Ft||tt)&&(er(""),_r(""))}),fi=function(Or,Cr){si(Or);var Sr=Cr.type,Vr=Cr.values;(Sr==="remove"||Sr==="clear")&&Vr.forEach(function(Jr){ui(Jr.value,!1,Sr)})},ni=function(Or,Cr){if(er(Or),_r(null),Cr.source==="submit"){var Sr=(Or||"").trim();if(Sr){var Vr=Array.from(new Set([].concat((0,Ge.Z)(Rr),[Sr])));si(Vr),ui(Sr,!0),er("")}return}Cr.source!=="blur"&&(Je==="combobox"&&si(Or),pt==null||pt(Or))},xo=function(Or){var Cr=Or;Je!=="tags"&&(Cr=Or.map(function(Vr){var Jr=On.get(Vr);return Jr==null?void 0:Jr.value}).filter(function(Vr){return Vr!==void 0}));var Sr=Array.from(new Set([].concat((0,Ge.Z)(Rr),(0,Ge.Z)(Cr))));si(Sr),Sr.forEach(function(Vr){ui(Vr,!0)})},so=de.useMemo(function(){var vr=qn!==!1&&fn!==!1;return(0,Fe.Z)((0,Fe.Z)({},vn),{},{flattenOptions:xi,onActiveValue:Ir,defaultActiveFirstOption:kr,onSelect:Di,menuItemSelectedIcon:Yn,rawValues:Rr,fieldNames:Ar,virtual:vr,direction:Ln,listHeight:Un,listItemHeight:pr,childrenAsData:Er,maxCount:tr,optionRender:Fn})},[tr,vn,xi,Ir,kr,Di,Yn,Rr,Ar,qn,fn,Ln,Un,pr,Er,Fn]);return de.createElement(nn.Provider,{value:so},de.createElement(Ot,(0,E.Z)({},mr,{id:br,prefixCls:qe,ref:at,omitDomProps:$n,mode:Je,displayValues:Nr,onDisplayValuesChange:fi,direction:Ln,searchValue:ir,onSearch:ni,autoClearSearchValue:tt,onSearchSplit:xo,dropdownMatchSelectWidth:fn,OptionList:An,emptyOptions:!xi.length,activeValue:Ki,activeDescendantId:"".concat(br,"_list_").concat(Gr)})))}),an=Zt;an.Option=rt,an.OptGroup=Ut;var Bn=an,Pn=Bn},22711:function(_t,Ht,te){"use strict";te.r(Ht),te.d(Ht,{ResizableTextArea:function(){return De},default:function(){return st}});var E=te(60499),Ge=te(18642),me=te(85899),Fe=te(77654),we=te(72190),Ee=te(42244),Ae=te(92310),Ie=te.n(Ae),Se=te(36901),de=te(66003),Xe=te(30292),xe=te(18929),wt=te(59301),Qe=te(43749),Te=te(29301),$e=te(34280),je=te(16089),St=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,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"],Rt={},Et;function ct(Le){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=Le.getAttribute("id")||Le.getAttribute("data-reactid")||Le.getAttribute("name");if(Ue&&Rt[Tt])return Rt[Tt];var ge=window.getComputedStyle(Le),fe=ge.getPropertyValue("box-sizing")||ge.getPropertyValue("-moz-box-sizing")||ge.getPropertyValue("-webkit-box-sizing"),bt=parseFloat(ge.getPropertyValue("padding-bottom"))+parseFloat(ge.getPropertyValue("padding-top")),Lt=parseFloat(ge.getPropertyValue("border-bottom-width"))+parseFloat(ge.getPropertyValue("border-top-width")),Bt=Nt.map(function(ke){return"".concat(ke,":").concat(ge.getPropertyValue(ke))}).join(";"),ve={sizingStyle:Bt,paddingSize:bt,borderSize:Lt,boxSizing:fe};return Ue&&Tt&&(Rt[Tt]=ve),ve}function dt(Le){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Et||(Et=document.createElement("textarea"),Et.setAttribute("tab-index","-1"),Et.setAttribute("aria-hidden","true"),Et.setAttribute("name","hiddenTextarea"),document.body.appendChild(Et)),Le.getAttribute("wrap")?Et.setAttribute("wrap",Le.getAttribute("wrap")):Et.removeAttribute("wrap");var fe=ct(Le,Ue),bt=fe.paddingSize,Lt=fe.borderSize,Bt=fe.boxSizing,ve=fe.sizingStyle;Et.setAttribute("style","".concat(ve,";").concat(St)),Et.value=Le.value||Le.placeholder||"";var ke=void 0,Ze=void 0,xt,Mt=Et.scrollHeight;if(Bt==="border-box"?Mt+=Lt:Bt==="content-box"&&(Mt-=bt),Tt!==null||ge!==null){Et.value=" ";var Xt=Et.scrollHeight-bt;Tt!==null&&(ke=Xt*Tt,Bt==="border-box"&&(ke=ke+bt+Lt),Mt=Math.max(ke,Mt)),ge!==null&&(Ze=Xt*ge,Bt==="border-box"&&(Ze=Ze+bt+Lt),xt=Mt>Ze?"":"hidden",Mt=Math.min(Ze,Mt))}var ze={height:Mt,overflowY:xt,resize:"none"};return ke&&(ze.minHeight=ke),Ze&&(ze.maxHeight=Ze),ze}var nt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Dt=0,et=1,He=2,vt=wt.forwardRef(function(Le,Ue){var Tt=Le,ge=Tt.prefixCls,fe=Tt.defaultValue,bt=Tt.value,Lt=Tt.autoSize,Bt=Tt.onResize,ve=Tt.className,ke=Tt.style,Ze=Tt.disabled,xt=Tt.onChange,Mt=Tt.onInternalAutoSize,Xt=(0,Ee.Z)(Tt,nt),ze=(0,xe.Z)(fe,{value:bt,postState:function(rt){return rt!=null?rt:""}}),Vt=(0,we.Z)(ze,2),gt=Vt[0],ae=Vt[1],ne=function(rt){ae(rt.target.value),xt==null||xt(rt)},ee=wt.useRef();wt.useImperativeHandle(Ue,function(){return{textArea:ee.current}});var oe=wt.useMemo(function(){return Lt&&(0,Qe.Z)(Lt)==="object"?[Lt.minRows,Lt.maxRows]:[]},[Lt]),se=(0,we.Z)(oe,2),re=se[0],he=se[1],ye=!!Lt,lt=function(){try{if(document.activeElement===ee.current){var rt=ee.current,zt=rt.selectionStart,Gt=rt.selectionEnd,Pe=rt.scrollTop;ee.current.setSelectionRange(zt,Gt),ee.current.scrollTop=Pe}}catch(Ye){}},Be=wt.useState(He),Ke=(0,we.Z)(Be,2),ut=Ke[0],Ct=Ke[1],At=wt.useState(),nn=(0,we.Z)(At,2),Qt=nn[0],Yt=nn[1],on=function(){Ct(Dt)};(0,$e.Z)(function(){ye&&on()},[bt,re,he,ye]),(0,$e.Z)(function(){if(ut===Dt)Ct(et);else if(ut===et){var Ne=dt(ee.current,!1,re,he);Ct(He),Yt(Ne)}else lt()},[ut]);var Ft=wt.useRef(),en=function(){je.Z.cancel(Ft.current)},Ot=function(rt){ut===He&&(Bt==null||Bt(rt),Lt&&(en(),Ft.current=(0,je.Z)(function(){on()})))};wt.useEffect(function(){return en},[]);var rn=ye?Qt:null,Ut=(0,me.Z)((0,me.Z)({},ke),rn);return(ut===Dt||ut===et)&&(Ut.overflowY="hidden",Ut.overflowX="hidden"),wt.createElement(Te.Z,{onResize:Ot,disabled:!(Lt||Bt)},wt.createElement("textarea",(0,E.Z)({},Xt,{ref:ee,style:Ut,className:Ie()(ge,ve,(0,Ge.Z)({},"".concat(ge,"-disabled"),Ze)),disabled:Ze,value:gt,onChange:ne})))}),De=vt,We=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Re=wt.forwardRef(function(Le,Ue){var Tt,ge=Le.defaultValue,fe=Le.value,bt=Le.onFocus,Lt=Le.onBlur,Bt=Le.onChange,ve=Le.allowClear,ke=Le.maxLength,Ze=Le.onCompositionStart,xt=Le.onCompositionEnd,Mt=Le.suffix,Xt=Le.prefixCls,ze=Xt===void 0?"rc-textarea":Xt,Vt=Le.showCount,gt=Le.count,ae=Le.className,ne=Le.style,ee=Le.disabled,oe=Le.hidden,se=Le.classNames,re=Le.styles,he=Le.onResize,ye=Le.onClear,lt=Le.onPressEnter,Be=Le.readOnly,Ke=Le.autoSize,ut=Le.onKeyDown,Ct=(0,Ee.Z)(Le,We),At=(0,xe.Z)(ge,{value:fe,defaultValue:ge}),nn=(0,we.Z)(At,2),Qt=nn[0],Yt=nn[1],on=Qt==null?"":String(Qt),Ft=wt.useState(!1),en=(0,we.Z)(Ft,2),Ot=en[0],rn=en[1],Ut=wt.useRef(!1),Ne=wt.useState(null),rt=(0,we.Z)(Ne,2),zt=rt[0],Gt=rt[1],Pe=(0,wt.useRef)(null),Ye=(0,wt.useRef)(null),ft=function(){var an;return(an=Ye.current)===null||an===void 0?void 0:an.textArea},kt=function(){ft().focus()};(0,wt.useImperativeHandle)(Ue,function(){var Zt;return{resizableTextArea:Ye.current,focus:kt,blur:function(){ft().blur()},nativeElement:((Zt=Pe.current)===null||Zt===void 0?void 0:Zt.nativeElement)||ft()}}),(0,wt.useEffect)(function(){rn(function(Zt){return!ee&&Zt})},[ee]);var Jt=wt.useState(null),cn=(0,we.Z)(Jt,2),An=cn[0],xn=cn[1];wt.useEffect(function(){if(An){var Zt;(Zt=ft()).setSelectionRange.apply(Zt,(0,Fe.Z)(An))}},[An]);var dn=(0,de.Z)(gt,Vt),Sn=(Tt=dn.max)!==null&&Tt!==void 0?Tt:ke,bn=Number(Sn)>0,tn=dn.strategy(on),Wt=!!Sn&&tn>Sn,jt=function(an,Bn){var Pn=Bn;!Ut.current&&dn.exceedFormatter&&dn.max&&dn.strategy(Bn)>dn.max&&(Pn=dn.exceedFormatter(Bn,{max:dn.max}),Bn!==Pn&&xn([ft().selectionStart||0,ft().selectionEnd||0])),Yt(Pn),(0,Xe.rJ)(an.currentTarget,an,Bt,Pn)},It=function(an){Ut.current=!0,Ze==null||Ze(an)},un=function(an){Ut.current=!1,jt(an,an.currentTarget.value),xt==null||xt(an)},ln=function(an){jt(an,an.target.value)},$t=function(an){an.key==="Enter"&&lt&&lt(an),ut==null||ut(an)},gn=function(an){rn(!0),bt==null||bt(an)},Cn=function(an){rn(!1),Lt==null||Lt(an)},yn=function(an){Yt(""),kt(),(0,Xe.rJ)(ft(),an,Bt)},kn=Mt,Mn;dn.show&&(dn.showFormatter?Mn=dn.showFormatter({value:on,count:tn,maxLength:Sn}):Mn="".concat(tn).concat(bn?" / ".concat(Sn):""),kn=wt.createElement(wt.Fragment,null,kn,wt.createElement("span",{className:Ie()("".concat(ze,"-data-count"),se==null?void 0:se.count),style:re==null?void 0:re.count},Mn)));var $n=function(an){var Bn;he==null||he(an),(Bn=ft())!==null&&Bn!==void 0&&Bn.style.height&&Gt(!0)},Gn=!Ke&&!Vt&&!ve;return wt.createElement(Se.BaseInput,{ref:Pe,value:on,allowClear:ve,handleReset:yn,suffix:kn,prefixCls:ze,classNames:(0,me.Z)((0,me.Z)({},se),{},{affixWrapper:Ie()(se==null?void 0:se.affixWrapper,(0,Ge.Z)((0,Ge.Z)({},"".concat(ze,"-show-count"),Vt),"".concat(ze,"-textarea-allow-clear"),ve))}),disabled:ee,focused:Ot,className:Ie()(ae,Wt&&"".concat(ze,"-out-of-range")),style:(0,me.Z)((0,me.Z)({},ne),zt&&!Gn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Mn=="string"?Mn:void 0}},hidden:oe,readOnly:Be,onClear:ye},wt.createElement(De,(0,E.Z)({},Ct,{autoSize:Ke,maxLength:ke,onKeyDown:$t,onChange:ln,onFocus:gn,onBlur:Cn,onCompositionStart:It,onCompositionEnd:un,className:Ie()(se==null?void 0:se.textarea),style:(0,me.Z)((0,me.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:ee,prefixCls:ze,onResize:$n,ref:Ye,readOnly:Be})))}),ue=Re,st=ue},48911:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return gt}});var E=te(60499),Ge=te(43749),me=te(85899),Fe=te(18642),we=te(72190),Ee=te(42244),Ae=te(92310),Ie=te.n(Ae),Se=te(29301),de=te(70425),Xe=te(34280),xe=te(59301),wt=te(4676),Qe=xe.forwardRef(function(ae,ne){var ee=ae.height,oe=ae.offsetY,se=ae.offsetX,re=ae.children,he=ae.prefixCls,ye=ae.onInnerResize,lt=ae.innerProps,Be=ae.rtl,Ke=ae.extra,ut={},Ct={display:"flex",flexDirection:"column"};return oe!==void 0&&(ut={height:ee,position:"relative",overflow:"hidden"},Ct=(0,me.Z)((0,me.Z)({},Ct),{},(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({transform:"translateY(".concat(oe,"px)")},Be?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),xe.createElement("div",{style:ut},xe.createElement(Se.Z,{onResize:function(nn){var Qt=nn.offsetHeight;Qt&&ye&&ye()}},xe.createElement("div",(0,E.Z)({style:Ct,className:Ie()((0,Fe.Z)({},"".concat(he,"-holder-inner"),he)),ref:ne},lt),re,Ke)))});Qe.displayName="Filler";var Te=Qe;function $e(ae){var ne=ae.children,ee=ae.setRef,oe=xe.useCallback(function(se){ee(se)},[]);return xe.cloneElement(ne,{ref:oe})}function je(ae,ne,ee,oe,se,re,he,ye){var lt=ye.getKey;return ae.slice(ne,ee+1).map(function(Be,Ke){var ut=ne+Ke,Ct=he(Be,ut,{style:{width:oe},offsetX:se}),At=lt(Be);return xe.createElement($e,{key:At,setRef:function(Qt){return re(Be,Qt)}},Ct)})}function St(ae,ne,ee,oe){var se=ee-ae,re=ne-ee,he=Math.min(se,re)*2;if(oe<=he){var ye=Math.floor(oe/2);return oe%2?ee+ye+1:ee-ye}return se>re?ee-(oe-re):ee+(oe-se)}function Nt(ae,ne,ee){var oe=ae.length,se=ne.length,re,he;if(oe===0&&se===0)return null;oe<se?(re=ae,he=ne):(re=ne,he=ae);var ye={__EMPTY_ITEM__:!0};function lt(nn){return nn!==void 0?ee(nn):ye}for(var Be=null,Ke=Math.abs(oe-se)!==1,ut=0;ut<he.length;ut+=1){var Ct=lt(re[ut]),At=lt(he[ut]);if(Ct!==At){Be=ut,Ke=Ke||Ct!==lt(he[ut+1]);break}}return Be===null?null:{index:Be,multiple:Ke}}function Rt(ae,ne,ee){var oe=xe.useState(ae),se=(0,we.Z)(oe,2),re=se[0],he=se[1],ye=xe.useState(null),lt=(0,we.Z)(ye,2),Be=lt[0],Ke=lt[1];return xe.useEffect(function(){var ut=Nt(re||[],ae||[],ne);(ut==null?void 0:ut.index)!==void 0&&(ee==null||ee(ut.index),Ke(ae[ut.index])),he(ae)},[ae]),[Be]}var Et=te(16089),ct=(typeof navigator=="undefined"?"undefined":(0,Ge.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),dt=ct,nt=function(ae,ne,ee,oe){var se=(0,xe.useRef)(!1),re=(0,xe.useRef)(null);function he(){clearTimeout(re.current),se.current=!0,re.current=setTimeout(function(){se.current=!1},50)}var ye=(0,xe.useRef)({top:ae,bottom:ne,left:ee,right:oe});return ye.current.top=ae,ye.current.bottom=ne,ye.current.left=ee,ye.current.right=oe,function(lt,Be){var Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ut=lt?Be<0&&ye.current.left||Be>0&&ye.current.right:Be<0&&ye.current.top||Be>0&&ye.current.bottom;return Ke&&ut?(clearTimeout(re.current),se.current=!1):(!ut||se.current)&&he(),!se.current&&ut}};function Dt(ae,ne,ee,oe,se,re,he){var ye=(0,xe.useRef)(0),lt=(0,xe.useRef)(null),Be=(0,xe.useRef)(null),Ke=(0,xe.useRef)(!1),ut=nt(ne,ee,oe,se);function Ct(Ft,en){if(Et.Z.cancel(lt.current),!ut(!1,en)){var Ot=Ft;if(!Ot._virtualHandled)Ot._virtualHandled=!0;else return;ye.current+=en,Be.current=en,dt||Ot.preventDefault(),lt.current=(0,Et.Z)(function(){var rn=Ke.current?10:1;he(ye.current*rn,!1),ye.current=0})}}function At(Ft,en){he(en,!0),dt||Ft.preventDefault()}var nn=(0,xe.useRef)(null),Qt=(0,xe.useRef)(null);function Yt(Ft){if(ae){Et.Z.cancel(Qt.current),Qt.current=(0,Et.Z)(function(){nn.current=null},2);var en=Ft.deltaX,Ot=Ft.deltaY,rn=Ft.shiftKey,Ut=en,Ne=Ot;(nn.current==="sx"||!nn.current&&rn&&Ot&&!en)&&(Ut=Ot,Ne=0,nn.current="sx");var rt=Math.abs(Ut),zt=Math.abs(Ne);nn.current===null&&(nn.current=re&&rt>zt?"x":"y"),nn.current==="y"?Ct(Ft,Ne):At(Ft,Ut)}}function on(Ft){ae&&(Ke.current=Ft.detail===Be.current)}return[Yt,on]}function et(ae,ne,ee,oe){var se=xe.useMemo(function(){return[new Map,[]]},[ae,ee.id,oe]),re=(0,we.Z)(se,2),he=re[0],ye=re[1],lt=function(Ke){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ke,Ct=he.get(Ke),At=he.get(ut);if(Ct===void 0||At===void 0)for(var nn=ae.length,Qt=ye.length;Qt<nn;Qt+=1){var Yt,on=ae[Qt],Ft=ne(on);he.set(Ft,Qt);var en=(Yt=ee.get(Ft))!==null&&Yt!==void 0?Yt:oe;if(ye[Qt]=(ye[Qt-1]||0)+en,Ft===Ke&&(Ct=Qt),Ft===ut&&(At=Qt),Ct!==void 0&&At!==void 0)break}return{top:ye[Ct-1]||0,bottom:ye[At]}};return lt}var He=te(38705),vt=te(17212),De=function(){function ae(){(0,He.Z)(this,ae),(0,Fe.Z)(this,"maps",void 0),(0,Fe.Z)(this,"id",0),(0,Fe.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,vt.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}(),We=De;function Re(ae){var ne=parseFloat(ae);return isNaN(ne)?0:ne}function ue(ae,ne,ee){var oe=xe.useState(0),se=(0,we.Z)(oe,2),re=se[0],he=se[1],ye=(0,xe.useRef)(new Map),lt=(0,xe.useRef)(new We),Be=(0,xe.useRef)(0);function Ke(){Be.current+=1}function ut(){var At=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ke();var nn=function(){var on=!1;ye.current.forEach(function(Ft,en){if(Ft&&Ft.offsetParent){var Ot=Ft.offsetHeight,rn=getComputedStyle(Ft),Ut=rn.marginTop,Ne=rn.marginBottom,rt=Re(Ut),zt=Re(Ne),Gt=Ot+rt+zt;lt.current.get(en)!==Gt&&(lt.current.set(en,Gt),on=!0)}}),on&&he(function(Ft){return Ft+1})};if(At)nn();else{Be.current+=1;var Qt=Be.current;Promise.resolve().then(function(){Qt===Be.current&&nn()})}}function Ct(At,nn){var Qt=ae(At),Yt=ye.current.get(Qt);nn?(ye.current.set(Qt,nn),ut()):ye.current.delete(Qt),!Yt!=!nn&&(nn?ne==null||ne(At):ee==null||ee(At))}return(0,xe.useEffect)(function(){return Ke},[]),[Ct,ut,lt.current,re]}var st=14/15;function Le(ae,ne,ee){var oe=(0,xe.useRef)(!1),se=(0,xe.useRef)(0),re=(0,xe.useRef)(0),he=(0,xe.useRef)(null),ye=(0,xe.useRef)(null),lt,Be=function(At){if(oe.current){var nn=Math.ceil(At.touches[0].pageX),Qt=Math.ceil(At.touches[0].pageY),Yt=se.current-nn,on=re.current-Qt,Ft=Math.abs(Yt)>Math.abs(on);Ft?se.current=nn:re.current=Qt;var en=ee(Ft,Ft?Yt:on,!1,At);en&&At.preventDefault(),clearInterval(ye.current),en&&(ye.current=setInterval(function(){Ft?Yt*=st:on*=st;var Ot=Math.floor(Ft?Yt:on);(!ee(Ft,Ot,!0)||Math.abs(Ot)<=.1)&&clearInterval(ye.current)},16))}},Ke=function(){oe.current=!1,lt()},ut=function(At){lt(),At.touches.length===1&&!oe.current&&(oe.current=!0,se.current=Math.ceil(At.touches[0].pageX),re.current=Math.ceil(At.touches[0].pageY),he.current=At.target,he.current.addEventListener("touchmove",Be,{passive:!1}),he.current.addEventListener("touchend",Ke,{passive:!0}))};lt=function(){he.current&&(he.current.removeEventListener("touchmove",Be),he.current.removeEventListener("touchend",Ke))},(0,Xe.Z)(function(){return ae&&ne.current.addEventListener("touchstart",ut,{passive:!0}),function(){var Ct;(Ct=ne.current)===null||Ct===void 0||Ct.removeEventListener("touchstart",ut),lt(),clearInterval(ye.current)}},[ae])}function Ue(ae){return Math.floor(Math.pow(ae,.5))}function Tt(ae,ne){var ee="touches"in ae?ae.touches[0]:ae;return ee[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function ge(ae,ne,ee){xe.useEffect(function(){var oe=ne.current;if(ae&&oe){var se=!1,re,he,ye=function(){Et.Z.cancel(re)},lt=function Ct(){ye(),re=(0,Et.Z)(function(){ee(he),Ct()})},Be=function(){se=!1,ye()},Ke=function(At){if(!(At.target.draggable||At.button!==0)){var nn=At;nn._virtualHandled||(nn._virtualHandled=!0,se=!0)}},ut=function(At){if(se){var nn=Tt(At,!1),Qt=oe.getBoundingClientRect(),Yt=Qt.top,on=Qt.bottom;if(nn<=Yt){var Ft=Yt-nn;he=-Ue(Ft),lt()}else if(nn>=on){var en=nn-on;he=Ue(en),lt()}else ye()}};return oe.addEventListener("mousedown",Ke),oe.ownerDocument.addEventListener("mouseup",Be),oe.ownerDocument.addEventListener("mousemove",ut),oe.ownerDocument.addEventListener("dragend",Be),function(){oe.removeEventListener("mousedown",Ke),oe.ownerDocument.removeEventListener("mouseup",Be),oe.ownerDocument.removeEventListener("mousemove",ut),oe.ownerDocument.removeEventListener("dragend",Be),ye()}}},[ae])}var fe=10;function bt(ae,ne,ee,oe,se,re,he,ye){var lt=xe.useRef(),Be=xe.useState(null),Ke=(0,we.Z)(Be,2),ut=Ke[0],Ct=Ke[1];return(0,Xe.Z)(function(){if(ut&&ut.times<fe){if(!ae.current){Ct(function(dn){return(0,me.Z)({},dn)});return}re();var At=ut.targetAlign,nn=ut.originAlign,Qt=ut.index,Yt=ut.offset,on=ae.current.clientHeight,Ft=!1,en=At,Ot=null;if(on){for(var rn=At||nn,Ut=0,Ne=0,rt=0,zt=Math.min(ne.length-1,Qt),Gt=0;Gt<=zt;Gt+=1){var Pe=se(ne[Gt]);Ne=Ut;var Ye=ee.get(Pe);rt=Ne+(Ye===void 0?oe:Ye),Ut=rt}for(var ft=rn==="top"?Yt:on-Yt,kt=zt;kt>=0;kt-=1){var Jt=se(ne[kt]),cn=ee.get(Jt);if(cn===void 0){Ft=!0;break}if(ft-=cn,ft<=0)break}switch(rn){case"top":Ot=Ne-Yt;break;case"bottom":Ot=rt-on+Yt;break;default:{var An=ae.current.scrollTop,xn=An+on;Ne<An?en="top":rt>xn&&(en="bottom")}}Ot!==null&&he(Ot),Ot!==ut.lastTop&&(Ft=!0)}Ft&&Ct((0,me.Z)((0,me.Z)({},ut),{},{times:ut.times+1,targetAlign:en,lastTop:Ot}))}},[ut,ae.current]),function(At){if(At==null){ye();return}if(Et.Z.cancel(lt.current),typeof At=="number")he(At);else if(At&&(0,Ge.Z)(At)==="object"){var nn,Qt=At.align;"index"in At?nn=At.index:nn=ne.findIndex(function(Ft){return se(Ft)===At.key});var Yt=At.offset,on=Yt===void 0?0:Yt;Ct({times:0,index:nn,offset:on,originAlign:Qt})}}}var Lt=xe.forwardRef(function(ae,ne){var ee=ae.prefixCls,oe=ae.rtl,se=ae.scrollOffset,re=ae.scrollRange,he=ae.onStartMove,ye=ae.onStopMove,lt=ae.onScroll,Be=ae.horizontal,Ke=ae.spinSize,ut=ae.containerSize,Ct=ae.style,At=ae.thumbStyle,nn=ae.showScrollBar,Qt=xe.useState(!1),Yt=(0,we.Z)(Qt,2),on=Yt[0],Ft=Yt[1],en=xe.useState(null),Ot=(0,we.Z)(en,2),rn=Ot[0],Ut=Ot[1],Ne=xe.useState(null),rt=(0,we.Z)(Ne,2),zt=rt[0],Gt=rt[1],Pe=!oe,Ye=xe.useRef(),ft=xe.useRef(),kt=xe.useState(nn),Jt=(0,we.Z)(kt,2),cn=Jt[0],An=Jt[1],xn=xe.useRef(),dn=function(){nn===!0||nn===!1||(clearTimeout(xn.current),An(!0),xn.current=setTimeout(function(){An(!1)},3e3))},Sn=re-ut||0,bn=ut-Ke||0,tn=xe.useMemo(function(){if(se===0||Sn===0)return 0;var yn=se/Sn;return yn*bn},[se,Sn,bn]),Wt=function(kn){kn.stopPropagation(),kn.preventDefault()},jt=xe.useRef({top:tn,dragging:on,pageY:rn,startTop:zt});jt.current={top:tn,dragging:on,pageY:rn,startTop:zt};var It=function(kn){Ft(!0),Ut(Tt(kn,Be)),Gt(jt.current.top),he(),kn.stopPropagation(),kn.preventDefault()};xe.useEffect(function(){var yn=function(Gn){Gn.preventDefault()},kn=Ye.current,Mn=ft.current;return kn.addEventListener("touchstart",yn,{passive:!1}),Mn.addEventListener("touchstart",It,{passive:!1}),function(){kn.removeEventListener("touchstart",yn),Mn.removeEventListener("touchstart",It)}},[]);var un=xe.useRef();un.current=Sn;var ln=xe.useRef();ln.current=bn,xe.useEffect(function(){if(on){var yn,kn=function(Gn){var Zt=jt.current,an=Zt.dragging,Bn=Zt.pageY,Pn=Zt.startTop;Et.Z.cancel(yn);var Ve=Ye.current.getBoundingClientRect(),at=ut/(Be?Ve.width:Ve.height);if(an){var Oe=(Tt(Gn,Be)-Bn)*at,Je=Pn;!Pe&&Be?Je-=Oe:Je+=Oe;var Me=un.current,qe=ln.current,Ce=qe?Je/qe:0,ot=Math.ceil(Ce*Me);ot=Math.max(ot,0),ot=Math.min(ot,Me),yn=(0,Et.Z)(function(){lt(ot,Be)})}},Mn=function(){Ft(!1),ye()};return window.addEventListener("mousemove",kn,{passive:!0}),window.addEventListener("touchmove",kn,{passive:!0}),window.addEventListener("mouseup",Mn,{passive:!0}),window.addEventListener("touchend",Mn,{passive:!0}),function(){window.removeEventListener("mousemove",kn),window.removeEventListener("touchmove",kn),window.removeEventListener("mouseup",Mn),window.removeEventListener("touchend",Mn),Et.Z.cancel(yn)}}},[on]),xe.useEffect(function(){return dn(),function(){clearTimeout(xn.current)}},[se]),xe.useImperativeHandle(ne,function(){return{delayHidden:dn}});var $t="".concat(ee,"-scrollbar"),gn={position:"absolute",visibility:cn?null:"hidden"},Cn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Be?(Object.assign(gn,{height:8,left:0,right:0,bottom:0}),Object.assign(Cn,(0,Fe.Z)({height:"100%",width:Ke},Pe?"left":"right",tn))):(Object.assign(gn,(0,Fe.Z)({width:8,top:0,bottom:0},Pe?"right":"left",0)),Object.assign(Cn,{width:"100%",height:Ke,top:tn})),xe.createElement("div",{ref:Ye,className:Ie()($t,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},"".concat($t,"-horizontal"),Be),"".concat($t,"-vertical"),!Be),"".concat($t,"-visible"),cn)),style:(0,me.Z)((0,me.Z)({},gn),Ct),onMouseDown:Wt,onMouseMove:dn},xe.createElement("div",{ref:ft,className:Ie()("".concat($t,"-thumb"),(0,Fe.Z)({},"".concat($t,"-thumb-moving"),on)),style:(0,me.Z)((0,me.Z)({},Cn),At),onMouseDown:It}))}),Bt=Lt,ve=20;function ke(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ee=ae/ne*ae;return isNaN(ee)&&(ee=0),ee=Math.max(ee,ve),Math.floor(ee)}var Ze=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],xt=[],Mt={overflowY:"auto",overflowAnchor:"none"};function Xt(ae,ne){var ee=ae.prefixCls,oe=ee===void 0?"rc-virtual-list":ee,se=ae.className,re=ae.height,he=ae.itemHeight,ye=ae.fullHeight,lt=ye===void 0?!0:ye,Be=ae.style,Ke=ae.data,ut=ae.children,Ct=ae.itemKey,At=ae.virtual,nn=ae.direction,Qt=ae.scrollWidth,Yt=ae.component,on=Yt===void 0?"div":Yt,Ft=ae.onScroll,en=ae.onVirtualScroll,Ot=ae.onVisibleChange,rn=ae.innerProps,Ut=ae.extraRender,Ne=ae.styles,rt=ae.showScrollBar,zt=rt===void 0?"optional":rt,Gt=(0,Ee.Z)(ae,Ze),Pe=xe.useCallback(function(vn){return typeof Ct=="function"?Ct(vn):vn==null?void 0:vn[Ct]},[Ct]),Ye=ue(Pe,null,null),ft=(0,we.Z)(Ye,4),kt=ft[0],Jt=ft[1],cn=ft[2],An=ft[3],xn=!!(At!==!1&&re&&he),dn=xe.useMemo(function(){return Object.values(cn.maps).reduce(function(vn,Dn){return vn+Dn},0)},[cn.id,cn.maps]),Sn=xn&&Ke&&(Math.max(he*Ke.length,dn)>re||!!Qt),bn=nn==="rtl",tn=Ie()(oe,(0,Fe.Z)({},"".concat(oe,"-rtl"),bn),se),Wt=Ke||xt,jt=(0,xe.useRef)(),It=(0,xe.useRef)(),un=(0,xe.useRef)(),ln=(0,xe.useState)(0),$t=(0,we.Z)(ln,2),gn=$t[0],Cn=$t[1],yn=(0,xe.useState)(0),kn=(0,we.Z)(yn,2),Mn=kn[0],$n=kn[1],Gn=(0,xe.useState)(!1),Zt=(0,we.Z)(Gn,2),an=Zt[0],Bn=Zt[1],Pn=function(){Bn(!0)},Ve=function(){Bn(!1)},at={getKey:Pe};function Oe(vn){Cn(function(Dn){var On;typeof vn=="function"?On=vn(Dn):On=vn;var pn=_n(On);return jt.current.scrollTop=pn,pn})}var Je=(0,xe.useRef)({start:0,end:Wt.length}),Me=(0,xe.useRef)(),qe=Rt(Wt,Pe),Ce=(0,we.Z)(qe,1),ot=Ce[0];Me.current=ot;var ht=xe.useMemo(function(){if(!xn)return{scrollHeight:void 0,start:0,end:Wt.length-1,offset:void 0};if(!Sn){var vn;return{scrollHeight:((vn=It.current)===null||vn===void 0?void 0:vn.offsetHeight)||0,start:0,end:Wt.length-1,offset:void 0}}for(var Dn=0,On,pn,Wn,Kn=Wt.length,wn=0;wn<Kn;wn+=1){var mn=Wt[wn],Tn=Pe(mn),Hn=cn.get(Tn),cr=Dn+(Hn===void 0?he:Hn);cr>=gn&&On===void 0&&(On=wn,pn=Dn),cr>gn+re&&Wn===void 0&&(Wn=wn),Dn=cr}return On===void 0&&(On=0,pn=0,Wn=Math.ceil(re/he)),Wn===void 0&&(Wn=Wt.length-1),Wn=Math.min(Wn+1,Wt.length-1),{scrollHeight:Dn,start:On,end:Wn,offset:pn}},[Sn,xn,gn,Wt,An,re]),Pt=ht.scrollHeight,pt=ht.start,_e=ht.end,tt=ht.offset;Je.current.start=pt,Je.current.end=_e,xe.useLayoutEffect(function(){var vn=cn.getRecord();if(vn.size===1){var Dn=Array.from(vn.keys())[0],On=vn.get(Dn),pn=Wt[pt];if(pn&&On===void 0){var Wn=Pe(pn);if(Wn===Dn){var Kn=cn.get(Dn),wn=Kn-he;Oe(function(mn){return mn+wn})}}}cn.resetRecord()},[Pt]);var mt=xe.useState({width:0,height:re}),hn=(0,we.Z)(mt,2),sn=hn[0],fn=hn[1],zn=function(Dn){fn({width:Dn.offsetWidth,height:Dn.offsetHeight})},jn=(0,xe.useRef)(),Xn=(0,xe.useRef)(),Rn=xe.useMemo(function(){return ke(sn.width,Qt)},[sn.width,Qt]),In=xe.useMemo(function(){return ke(sn.height,Pt)},[sn.height,Pt]),Fn=Pt-re,Vn=(0,xe.useRef)(Fn);Vn.current=Fn;function _n(vn){var Dn=vn;return Number.isNaN(Vn.current)||(Dn=Math.min(Dn,Vn.current)),Dn=Math.max(Dn,0),Dn}var Yn=gn<=0,qn=gn>=Fn,Ln=Mn<=0,nr=Mn>=Qt,Un=nt(Yn,qn,Ln,nr),dr=function(){return{x:bn?-Mn:Mn,y:gn}},pr=(0,xe.useRef)(dr()),sr=(0,de.zX)(function(vn){if(en){var Dn=(0,me.Z)((0,me.Z)({},dr()),vn);(pr.current.x!==Dn.x||pr.current.y!==Dn.y)&&(en(Dn),pr.current=Dn)}});function ur(vn,Dn){var On=vn;Dn?((0,wt.flushSync)(function(){$n(On)}),sr()):Oe(On)}function yr(vn){var Dn=vn.currentTarget.scrollTop;Dn!==gn&&Oe(Dn),Ft==null||Ft(vn),sr()}var lr=function(Dn){var On=Dn,pn=Qt?Qt-sn.width:0;return On=Math.max(On,0),On=Math.min(On,pn),On},fr=(0,de.zX)(function(vn,Dn){Dn?((0,wt.flushSync)(function(){$n(function(On){var pn=On+(bn?-vn:vn);return lr(pn)})}),sr()):Oe(function(On){var pn=On+vn;return pn})}),tr=Dt(xn,Yn,qn,Ln,nr,!!Qt,fr),mr=(0,we.Z)(tr,2),br=mr[0],Hr=mr[1];Le(xn,jt,function(vn,Dn,On,pn){var Wn=pn;return Un(vn,Dn,On)?!1:!Wn||!Wn._virtualHandled?(Wn&&(Wn._virtualHandled=!0),br({preventDefault:function(){},deltaX:vn?Dn:0,deltaY:vn?0:Dn}),!0):!1}),ge(Sn,jt,function(vn){Oe(function(Dn){return Dn+vn})}),(0,Xe.Z)(function(){function vn(On){var pn=Yn&&On.detail<0,Wn=qn&&On.detail>0;xn&&!pn&&!Wn&&On.preventDefault()}var Dn=jt.current;return Dn.addEventListener("wheel",br,{passive:!1}),Dn.addEventListener("DOMMouseScroll",Hr,{passive:!0}),Dn.addEventListener("MozMousePixelScroll",vn,{passive:!1}),function(){Dn.removeEventListener("wheel",br),Dn.removeEventListener("DOMMouseScroll",Hr),Dn.removeEventListener("MozMousePixelScroll",vn)}},[xn,Yn,qn]),(0,Xe.Z)(function(){if(Qt){var vn=lr(Mn);$n(vn),sr({x:vn})}},[sn.width,Qt]);var Er=function(){var Dn,On;(Dn=jn.current)===null||Dn===void 0||Dn.delayHidden(),(On=Xn.current)===null||On===void 0||On.delayHidden()},Tr=bt(jt,Wt,cn,he,Pe,function(){return Jt(!0)},Oe,Er);xe.useImperativeHandle(ne,function(){return{nativeElement:un.current,getScrollInfo:dr,scrollTo:function(Dn){function On(pn){return pn&&(0,Ge.Z)(pn)==="object"&&("left"in pn||"top"in pn)}On(Dn)?(Dn.left!==void 0&&$n(lr(Dn.left)),Tr(Dn.top)):Tr(Dn)}}}),(0,Xe.Z)(function(){if(Ot){var vn=Wt.slice(pt,_e+1);Ot(vn,Wt)}},[pt,_e,Wt]);var Ar=et(Wt,Pe,cn,he),Dr=Ut==null?void 0:Ut({start:pt,end:_e,virtual:Sn,offsetX:Mn,offsetY:tt,rtl:bn,getSize:Ar}),or=je(Wt,pt,_e,Qt,Mn,kt,ut,at),ir=null;re&&(ir=(0,me.Z)((0,Fe.Z)({},lt?"height":"maxHeight",re),Mt),xn&&(ir.overflowY="hidden",Qt&&(ir.overflowX="hidden"),an&&(ir.pointerEvents="none")));var er={};return bn&&(er.dir="rtl"),xe.createElement("div",(0,E.Z)({ref:un,style:(0,me.Z)((0,me.Z)({},Be),{},{position:"relative"}),className:tn},er,Gt),xe.createElement(Se.Z,{onResize:zn},xe.createElement(on,{className:"".concat(oe,"-holder"),style:ir,ref:jt,onScroll:yr,onMouseEnter:Er},xe.createElement(Te,{prefixCls:oe,height:Pt,offsetX:Mn,offsetY:tt,scrollWidth:Qt,onInnerResize:Jt,ref:It,innerProps:rn,rtl:bn,extra:Dr},or))),Sn&&Pt>re&&xe.createElement(Bt,{ref:jn,prefixCls:oe,scrollOffset:gn,scrollRange:Pt,rtl:bn,onScroll:ur,onStartMove:Pn,onStopMove:Ve,spinSize:In,containerSize:sn.height,style:Ne==null?void 0:Ne.verticalScrollBar,thumbStyle:Ne==null?void 0:Ne.verticalScrollBarThumb,showScrollBar:zt}),Sn&&Qt>sn.width&&xe.createElement(Bt,{ref:Xn,prefixCls:oe,scrollOffset:Mn,scrollRange:Qt,rtl:bn,onScroll:ur,onStartMove:Pn,onStopMove:Ve,spinSize:Rn,containerSize:sn.width,horizontal:!0,style:Ne==null?void 0:Ne.horizontalScrollBar,thumbStyle:Ne==null?void 0:Ne.horizontalScrollBarThumb,showScrollBar:zt}))}var ze=xe.forwardRef(Xt);ze.displayName="List";var Vt=ze,gt=Vt},2331:function(_t,Ht,te){var E={"./doc.svg":70320,"./docx.svg":52188,"./md.svg":44398,"./pdf.svg":27818,"./txt.svg":51597,"./xls.svg":15144,"./xlsx.svg":27098};function Ge(Fe){var we=me(Fe);return te(we)}function me(Fe){if(!te.o(E,Fe)){var we=new Error("Cannot find module '"+Fe+"'");throw we.code="MODULE_NOT_FOUND",we}return E[Fe]}Ge.keys=function(){return Object.keys(E)},Ge.resolve=me,_t.exports=Ge,Ge.id=2331},70320:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/doc.b338bd24.svg"},52188:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/docx.048afd12.svg"},44398:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/md.a2abc2ce.svg"},27818:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/pdf.679109d3.svg"},51597:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/txt.b7dfa7b3.svg"},15144:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/xls.8d4c55bf.svg"},27098:function(_t,Ht,te){"use strict";_t.exports=te.p+"static/xlsx.33023e0e.svg"},4977:function(_t){"use strict";_t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqP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M4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},36723:function(_t){"use strict";_t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEYCAYAAADmlsvOAAAgAElEQVR4Xuy9CZwc1XUu/t2q6p6efbSNtpGEhDaEQCALSQizCAzGbN7+YMfxktjx8/8l7714w7Fjv8hKHK/Yfs9xFsfJcxIn9gtObLxjVtuAACNjMGIXCAmExGikGc3ey73n/c6tut23q6t7umd6ZnpGXfyERtNV9966y9dn+c45AvWrPgM1OgOffpDmxSnzR2kn868f29r4fI0Osz6sKZwBMYV91buqz0BFM/C5+0evc+BcOTga+8junWKwoofrN8/KGagD1qxc1pn/UtffTO62ZamPkSP6btwW/+rMf6P6G1RjBuqAVY1ZrLdR9Rn40p7hpVJ4HyeIf/vI+bH7qt5BvcEZOQN1wJqRyzb7B33Tg5nfAakL6GTsT258rRia/W9cf8NyZqAOWOXMUv2eKZ2Bz9zTN8eLNX1SEP3iw+c3fHdKO693VtMzUAesml6eU3Nwn98zeo0jnCtIxT514wWi+9SchfpbR81AHbDq+6KmZuCTd/fPb21M/E9J+M1Hzo//U00Nrj6YaZ+BOmBN+xLUB2DPwBcfSL2bCBsdGvnUB3e0n6jPTn0G7BmoA1Z9P9TMDNz0QHKDEO5/U4Sf3bjd+37NDKw+kJqZgTpg1cxSzJyBfOFRanbTWKUymXbAG3E9vPyBLeLIRN7gc/cea3Xdto9COAMDh57+0u4bNqYm0l792dk5A3XAmp3rOilv9ckfUlPr/NS1JMSFAGJ5oroQx0jKe2ig4d5KaQi77iavOZF8ryvc9el0+osfvbD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G6JDnLw3b3X5QelY+vqHNBnaKAem1TJzuOSeJD8k3mpwPYSJR+GqRKocwyCHdd2IVaBOUZLipbALux2ZycPHQNitGlU12OFTEiw1jmElRiF4xRVAsyzzxtkQ5xsXG6CXKzO767hOFsEICOKj1dewhEzjEsg4hQ9snLu3pAHrocBaO1VJhjtn0ifMIF1S4wwNS8NbrUr90aiCf9rZw+kmmkYy8dKrdWMhb2wzARdvQLc6QmMgQqaURcOCojqSyDLQHErhrsK8SGINWJBbipc/XgumPThr9uJ791w4FgbjLftzJmcCq+uMIFfkMH1SH2Z+GHJz+FxKjSbwqW2cQA+PNcJd9qHITjyJE587VzuAOCPF4WIMMR2RSf62Or7gelhNP7q9YrXuKypC74mQH6LN4eRSzf64O0TLvDhOx1GwldBUK8Be+oLjR7o6Fd+RVmGQa/YT+YV7eZu1hDRoNNswm/GGWZIVvz++N0v2diBR0KblxdLz6wmfOgtuHlivs9us1Thp3wlVuNWMolw/ZJxi/Hx+aTBzi7/4W+qi2acf62khxlDBJjC5A+bpa759MJVhHDPAyHNDFMTfgIV8A9L/p5O4YPjLxdmXTg47fPonDEEIoZmW9n15lNlFRzRbEcif0Xw6NHnE6NvFXUhIAvdHcLxFTsL9N8eKnpPyUmRAHMkhNAm24KLs54rm4f6HlyaDoZHxOtRJ4ANKrm7Axf6J08xnHuj6OA2QlQbRpVAZKJL24jUbFt4Kn9SxiwOuCOEQC+zDQ2KgH+/mDoqokhltztwje/Tmc8eKN7FmmzUqKIkJBCJu/7lrEDT6bJjhnTtdNw7DuFPrrpBrxAMCrLsG5S87i7+srtHKj67v/jFk68b+yNxicZ/AQAA//8saAIFAAAABklEQVQDAKEhEROtXVsXAAAAAElFTkSuQmCC"},16722:function(_t,Ht,te){"use strict";te.d(Ht,{Z:function(){return Ie}});const E=Se=>typeof Se=="object"&&Se!=null&&Se.nodeType===1,Ge=(Se,de)=>(!de||Se!=="hidden")&&Se!=="visible"&&Se!=="clip",me=(Se,de)=>{if(Se.clientHeight<Se.scrollHeight||Se.clientWidth<Se.scrollWidth){const Xe=getComputedStyle(Se,null);return Ge(Xe.overflowY,de)||Ge(Xe.overflowX,de)||(xe=>{const wt=(Qe=>{if(!Qe.ownerDocument||!Qe.ownerDocument.defaultView)return null;try{return Qe.ownerDocument.defaultView.frameElement}catch(Te){return null}})(xe);return!!wt&&(wt.clientHeight<xe.scrollHeight||wt.clientWidth<xe.scrollWidth)})(Se)}return!1},Fe=(Se,de,Xe,xe,wt,Qe,Te,$e)=>Qe<Se&&Te>de||Qe>Se&&Te<de?0:Qe<=Se&&$e<=Xe||Te>=de&&$e>=Xe?Qe-Se-xe:Te>de&&$e<Xe||Qe<Se&&$e>Xe?Te-de+wt:0,we=Se=>{const de=Se.parentElement;return de==null?Se.getRootNode().host||null:de},Ee=(Se,de)=>{var Xe,xe,wt,Qe;if(typeof document=="undefined")return[];const{scrollMode:Te,block:$e,inline:je,boundary:St,skipOverflowHiddenElements:Nt}=de,Rt=typeof St=="function"?St:Bt=>Bt!==St;if(!E(Se))throw new TypeError("Invalid target");const Et=document.scrollingElement||document.documentElement,ct=[];let dt=Se;for(;E(dt)&&Rt(dt);){if(dt=we(dt),dt===Et){ct.push(dt);break}dt!=null&&dt===document.body&&me(dt)&&!me(document.documentElement)||dt!=null&&me(dt,Nt)&&ct.push(dt)}const nt=(xe=(Xe=window.visualViewport)==null?void 0:Xe.width)!=null?xe:innerWidth,Dt=(Qe=(wt=window.visualViewport)==null?void 0:wt.height)!=null?Qe:innerHeight,{scrollX:et,scrollY:He}=window,{height:vt,width:De,top:We,right:Re,bottom:ue,left:st}=Se.getBoundingClientRect(),{top:Le,right:Ue,bottom:Tt,left:ge}=(Bt=>{const ve=window.getComputedStyle(Bt);return{top:parseFloat(ve.scrollMarginTop)||0,right:parseFloat(ve.scrollMarginRight)||0,bottom:parseFloat(ve.scrollMarginBottom)||0,left:parseFloat(ve.scrollMarginLeft)||0}})(Se);let fe=$e==="start"||$e==="nearest"?We-Le:$e==="end"?ue+Tt:We+vt/2-Le+Tt,bt=je==="center"?st+De/2-ge+Ue:je==="end"?Re+Ue:st-ge;const Lt=[];for(let Bt=0;Bt<ct.length;Bt++){const ve=ct[Bt],{height:ke,width:Ze,top:xt,right:Mt,bottom:Xt,left:ze}=ve.getBoundingClientRect();if(Te==="if-needed"&&We>=0&&st>=0&&ue<=Dt&&Re<=nt&&(ve===Et&&!me(ve)||We>=xt&&ue<=Xt&&st>=ze&&Re<=Mt))return Lt;const Vt=getComputedStyle(ve),gt=parseInt(Vt.borderLeftWidth,10),ae=parseInt(Vt.borderTopWidth,10),ne=parseInt(Vt.borderRightWidth,10),ee=parseInt(Vt.borderBottomWidth,10);let oe=0,se=0;const re="offsetWidth"in ve?ve.offsetWidth-ve.clientWidth-gt-ne:0,he="offsetHeight"in ve?ve.offsetHeight-ve.clientHeight-ae-ee:0,ye="offsetWidth"in ve?ve.offsetWidth===0?0:Ze/ve.offsetWidth:0,lt="offsetHeight"in ve?ve.offsetHeight===0?0:ke/ve.offsetHeight:0;if(Et===ve)oe=$e==="start"?fe:$e==="end"?fe-Dt:$e==="nearest"?Fe(He,He+Dt,Dt,ae,ee,He+fe,He+fe+vt,vt):fe-Dt/2,se=je==="start"?bt:je==="center"?bt-nt/2:je==="end"?bt-nt:Fe(et,et+nt,nt,gt,ne,et+bt,et+bt+De,De),oe=Math.max(0,oe+He),se=Math.max(0,se+et);else{oe=$e==="start"?fe-xt-ae:$e==="end"?fe-Xt+ee+he:$e==="nearest"?Fe(xt,Xt,ke,ae,ee+he,fe,fe+vt,vt):fe-(xt+ke/2)+he/2,se=je==="start"?bt-ze-gt:je==="center"?bt-(ze+Ze/2)+re/2:je==="end"?bt-Mt+ne+re:Fe(ze,Mt,Ze,gt,ne+re,bt,bt+De,De);const{scrollLeft:Be,scrollTop:Ke}=ve;oe=lt===0?0:Math.max(0,Math.min(Ke+oe/lt,ve.scrollHeight-ke/lt+he)),se=ye===0?0:Math.max(0,Math.min(Be+se/ye,ve.scrollWidth-Ze/ye+re)),fe+=Ke-oe,bt+=Be-se}Lt.push({el:ve,top:oe,left:se})}return Lt},Ae=Se=>Se===!1?{block:"end",inline:"nearest"}:(de=>de===Object(de)&&Object.keys(de).length!==0)(Se)?Se:{block:"start",inline:"nearest"};function Ie(Se,de){if(!Se.isConnected||!(wt=>{let Qe=wt;for(;Qe&&Qe.parentNode;){if(Qe.parentNode===document)return!0;Qe=Qe.parentNode instanceof ShadowRoot?Qe.parentNode.host:Qe.parentNode}return!1})(Se))return;const Xe=(wt=>{const Qe=window.getComputedStyle(wt);return{top:parseFloat(Qe.scrollMarginTop)||0,right:parseFloat(Qe.scrollMarginRight)||0,bottom:parseFloat(Qe.scrollMarginBottom)||0,left:parseFloat(Qe.scrollMarginLeft)||0}})(Se);if((wt=>typeof wt=="object"&&typeof wt.behavior=="function")(de))return de.behavior(Ee(Se,de));const xe=typeof de=="boolean"||de==null?void 0:de.behavior;for(const{el:wt,top:Qe,left:Te}of Ee(Se,Ae(de))){const $e=Qe-Xe.top+Xe.bottom,je=Te-Xe.left+Xe.right;wt.scroll({top:$e,left:je,behavior:xe})}}}}]);