|
|
(self.webpackChunk=self.webpackChunk||[]).push([[5729],{40001:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},87169:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},73331:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},15277:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},33853:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},61485:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},47472:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},87395:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(54476),Ke=oe(59301),ge={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"},ze=ge,Ce=oe(7657),xe=function(de,Ve){return Ke.createElement(Ce.Z,(0,te.Z)({},de,{ref:Ve,icon:ze}))},Me=Ke.forwardRef(xe),Ue=Me},3706:function(){"use strict"},96772:function(){"use strict"},50718:function(Vt,Ot){"use strict";Ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},45936: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 Vt={},Ot="5.0",oe={},te=null,Ke=!1,ge=!1,ze=null,Ce=!1,xe=null,Me=null,Ue=0;Ue<arguments.length;Ue++){var Ee=arguments[Ue];if(Ee!==null)switch(typeof Ee){case"number":Ot=Ee.toFixed(1);break;case"string":Ee.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ot=Ee:ze=Ee;break;case"object":typeof Ee.is3D!="undefined"?te=Ee:oe=Ee;break;case"boolean":Ke=Ee,ge=!0;break}}te===null&&(te={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},oe.material_id!==void 0&&!ge&&(Ke=!0)),ze!==null&&oe.id===void 0&&(oe.id=ze);var de="",Ve="",ve=!1,mt=null,Xe=null,Be=null,Ie=!1,Le=null,Qe=null,ht=null,wt=null,ct=null;oe.height!==void 0&&(oe.height=Math.round(oe.height)),oe.width!==void 0&&(oe.width=Math.round(oe.width));var $e=function(Re){return parseFloat(Re)>4?parseFloat(Re):5};Vt.setHTML5Codebase=function(Re,at){Me=Re,pt(Re,at)},Vt.setJavaCodebase=Vt.setJavaCodebaseVersion=Vt.isCompiledInstalled=Vt.setPreCompiledScriptPath=Vt.setPreCompiledResourcePath=function(){},Vt.setHTML5CodebaseVersion=function(Re,at){var vt=parseFloat(Re);if(vt!==NaN&&vt<5){console.log("The GeoGebra HTML5 codebase version "+vt+" is deprecated. Using version latest instead.");return}xe=Re,fe(Re,at)},Vt.getHTML5CodebaseVersion=function(){return Xe},Vt.getParameters=function(){return oe},Vt.setFontsCSSURL=function(Re){wt=Re},Vt.setGiacJSURL=function(Re){},Vt.setJNLPFile=function(Re){de=Re},Vt.setJNLPBaseDir=function(Re){},Vt.inject=function(){function Re(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",vt=oe.id,sn,dt=!1,Bt=0;Bt<arguments.length;Bt++){var Ne=arguments[Bt];typeof Ne=="string"?(Ne=Ne.toLowerCase(),Ne.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?at=Ne:vt=arguments[Bt]):typeof Ne=="boolean"?dt=Ne:Ne instanceof HTMLElement&&(sn=Ne)}Pt();function Pt(){if(!Ce){setTimeout(Pt,200);return}at=zt(at);var st=sn||document.getElementById(vt);if(!st){console.log("possibly bug on ajax loading? ");return}if(Vt.removeExistingApplet(st,!1),oe.width===void 0&&st.clientWidth&&(oe.width=st.clientWidth),oe.height===void 0&&st.clientHeight&&(oe.height=st.clientHeight),!(oe.width&&oe.height)&&at==="html5"&&(delete oe.width,delete oe.height),mt=at,at==="screenshot")et(st,oe);else{var ae=!1;oe.hasOwnProperty("playButton")&&oe.playButton||oe.hasOwnProperty("clickToLoad")&&oe.clickToLoad?ae=!0:oe.hasOwnProperty("playButtonAutoDecide")&&oe.playButtonAutoDecide&&(ae=(!qe()||Re())&&je()),ae?(mt="screenshot",Et(st,oe,dt,at)):it(st,oe,dt)}}};function qe(){try{return window.self!==window.top}catch(Re){return!0}}function je(){return oe.hasOwnProperty("screenshotGenerator")&&oe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Vt.getViews=function(){return te},Vt.isJavaInstalled=function(){return!1};var bt=function(Re){var at=function(Bt){var Ne=JSON.parse(Bt),Pt=function(ee){return ee.type=="G"||ee.type=="E"},st=Ne.elements?Ne.elements.filter(Pt)[0]:Ne;if(!st||!st.url){vt();return}oe.fileName=st.url,Je(st.settings||{}),te.is3D=!0;var ae="https://www.geogebra.org/images/";Vt.setPreviewImage(Le||st.previewUrl,ae+"GeoGebra_loading.png",ae+"applet_play.png"),Re()},vt=function(){oe.onError&&oe.onError(),Zt("Error: Fetching material (id "+oe.material_id+") failed.",oe)},sn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",dt="/materials/"+oe.material_id+"?scope=basic";He("https://"+sn+"/api/proxy.php?path="+encodeURIComponent(dt),at,vt)};function Je(Re){var at=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(vt){Re[vt]=!!Re[vt]}),at.forEach(function(vt){oe[vt]===void 0&&Re[vt]!==void 0&&(oe[vt]=Re[vt])}),oe.showToolBarHelp===void 0&&(oe.showToolBarHelp=oe.showToolBar)}function He(Re,at,vt){var sn=new XMLHttpRequest;sn.open("GET",Re),sn.onload=function(){at(sn.responseText)},sn.onerror=vt,sn.send()}Vt.isHTML5Installed=function(){return!0},Vt.getLoadedAppletType=function(){return mt},Vt.setPreviewImage=function(Re,at,vt){Le=Re,Qe=at,ht=vt},Vt.removeExistingApplet=function(Re,at){var vt;typeof Re=="string"&&(Re=document.getElementById(Re)),mt=null;var sn=null;for(vt=0;vt<Re.childNodes.length;vt++){var dt=Re.childNodes[vt],Bt=dt.className;Bt==="applet_screenshot"?at?(dt.style.display="block",mt="screenshot"):dt.style.display="none":Bt!=="applet_scaler prerender"&&(Re.removeChild(dt),sn=Bt&&Bt.indexOf("appletParameters")!=-1?dt.id:null,vt--)}var Ne=oe.id!==void 0?oe.id:sn,Pt=window[Ne];Pt&&typeof Pt.getBase64=="function"&&(Pt.remove(),window[Ne]=null)},Vt.refreshHitPoints=function(){if($e(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Re=Vt.getAppletObject();return Re&&typeof Re.recalculateEnvironments=="function"?(Re.recalculateEnvironments(),!0):!1},Vt.startAnimation=function(){var Re=Vt.getAppletObject();return Re&&typeof Re.startAnimation=="function"?(Re.startAnimation(),!0):!1},Vt.stopAnimation=function(){var Re=Vt.getAppletObject();return Re&&typeof Re.stopAnimation=="function"?(Re.stopAnimation(),!0):!1},Vt.getAppletObject=function(){var Re=oe.id!==void 0?oe.id:"ggbApplet";return window[Re]},Vt.resize=function(){};var ot=function(Re,at,vt){var sn=document.createElement("param");sn.setAttribute("name",at),sn.setAttribute("value",vt),Re.appendChild(sn)},Te=function(Re){return Re&&Re!=="false"},it=function(Re,at,vt){$e(Xe)<=4.2&&(vt=!0);var sn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Xe||ggbHTML5LoadedCodebaseIsWebSimple&&!Ie)&&(sn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dt=document.createElement("div");dt.classList.add("appletParameters","notranslate");var Bt=at.width,Ne=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if($e(Xe)<=4.4)Te(at.showToolBar)&&(at.height-=7),Te(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Te(at.showToolBar)&&(at.width=605,Bt=605);else{var Pt=100;(Te(at.showToolBar)||Te(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),Pt=Te(at.showMenuBar)?245:155),Bt<Pt&&(at.width=Pt,Bt=Pt)}dt.style.border="none",dt.style.display="inline-block";for(var st in at)at.hasOwnProperty(st)&&st!=="appletOnLoad"&&dt.setAttribute("data-param-"+st,at[st]);wt&&dt.setAttribute("data-param-fontscssurl",wt),Vt.resize=function(){GGBAppletUtils.responsiveResize(Re,at)},window.addEventListener("resize",function(gt){Vt.resize()});var ae=typeof at.appletOnLoad=="function"?at.appletOnLoad:function(){};if(!vt&&at.width!==void 0){at.hasOwnProperty("showSplash")||dt.setAttribute("data-param-showSplash","false");var ee=Re.querySelector(".applet_scaler.prerender"),z=ee!==null;if(z)var ie=ee.querySelector(".ggb_preview");else{var ie=It(Bt,Ne,at.borderColor,!1);ee=document.createElement("div"),ee.className="applet_scaler",ee.style.position="relative",ee.style.display="block",ee.style.width=Bt+"px",ee.style.height=Ne+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ee,"66%"),$e(Xe)>=5?(at.appletOnLoad=function(gt){var lt=Re.querySelector(".ggb_preview");lt&<.parentNode.removeChild(lt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ee),window.GGBT_wsf_view&&$(window).trigger("resize"),ae(gt)},z||ee.appendChild(ie)):dt.appendChild(ie),ee.appendChild(dt),z||Re.appendChild(ee),setTimeout(function(){Vt.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(dt),Re.appendChild(se),at.appletOnLoad=function(gt){Vt.resize(),ae(gt)}}function re(gt,lt){lt&&typeof lt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(gt,lt.appletOnLoad):renderGGBElement(gt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",lt)}function me(gt,lt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:gt,params:lt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ft){re(Ft.article,Ft.params)}),html5AppletsToProcess=null)},$e(Xe)<5&&(gt.className+=" geogebraweb")):re(gt,lt)}if(sn){scriptLoadStarted=!0;for(var ye=0;ye<dt.childNodes.length;ye++){var rt=dt.childNodes[ye].tagName;rt==="TABLE"&&(dt.removeChild(dt.childNodes[ye]),ye--)}if(ggbHTML5LoadedScript!==null){var Ae=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ae!=null&&Ae.parentNode.removeChild(Ae)}var Ze=document.createElement("script"),tt=function(){me(dt,at)};Ze.src=Ve+Be,ggbHTML5LoadedCodebaseIsWebSimple=Ie,ggbHTML5LoadedCodebaseVersion=Xe,ggbHTML5LoadedScript=Ze.src,Zt("GeoGebra HTML5 codebase loaded: '"+Ve+"'.",at),!Me&&(!xe||xe=="5.0")?(Ie?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),tt()):Ve.requirejs?__webpack_require__.e(2667).then(function(){var gt=[__webpack_require__(72667)];tt.apply(null,gt)}.bind(this)).catch(__webpack_require__.oe):(Ze.onload=tt,Re.appendChild(Ze))}else me(dt,at);at.height=Ne,at.width=Bt},et=function(Re,at,vt){var sn=It(at.width,at.height,at.borderColor,vt),dt=document.createElement("div");dt.style.position="relative",dt.style.display="block",dt.style.width=at.width+"px",dt.style.height=at.height+"px",dt.className="applet_screenshot applet_scaler"+(vt?" applet_screenshot_play":""),dt.appendChild(sn);var Bt=GGBAppletUtils.getScale(at,Re,vt);vt?(Re.appendChild(De()),window.GGBT_wsf_view||(Re.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dt,"66%"),Re.appendChild(dt),Bt!==1&&!isNaN(Bt)&&(GGBAppletUtils.scaleElement(dt,Bt),dt.style.width=at.width+"px",dt.style.height=at.height+"px",dt.parentNode.style.width=at.width*Bt+"px",dt.parentNode.style.height=at.height*Bt+"px"),Vt.resize=function(){he(Re,sn,dt,vt)},window.addEventListener("resize",function(Ne){Vt.resize()}),Vt.resize()};function he(Re,at,vt,sn){if(Re.contains(at)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Re)}var dt=GGBAppletUtils.getScale(oe,Re,sn);vt.parentNode!==null&&(!isNaN(dt)&&dt!==1?(GGBAppletUtils.scaleElement(vt,dt),vt.parentNode.style.width=oe.width*dt+"px",vt.parentNode.style.height=oe.height*dt+"px"):(GGBAppletUtils.scaleElement(vt,1),vt.parentNode.style.width=oe.width+"px",vt.parentNode.style.height=oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Re),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Vt.onExitFullscreen=function(Re,at){at.appendChild(Re)};var Et=function(Re,at,vt,sn){et(Re,at,!0);for(var dt=function(){var Pt=[];for(Ne=0;Ne<Re.childNodes.length;Ne++)Pt.push(Re.childNodes[Ne]);if(window.GGBT_wsf_view){var st=window.GGBT_wsf_view.renderFullScreen(Re,at.id),ae=document.getElementById("fullscreencontainer"),ee=jQuery(Re).find(".fullscreencontent");ee.length>0?(st.remove(),ee.attr("id","fullscreencontent").show(),jQuery(ae).append(ee),window.dispatchEvent(new Event("resize"))):it(st,at,!1),window.GGBT_wsf_view.launchFullScreen(ae)}else mt=sn,it(Re,at,!1);if(!window.GGBT_wsf_view)for(Ne=0;Ne<Pt.length;Ne++)Re.removeChild(Pt[Ne])},Bt=Re.getElementsByClassName("ggb_preview_play"),Ne=0;Ne<Bt.length;Ne++)Bt[Ne].addEventListener("click",dt,!1),Bt[Ne].addEventListener("ontouchstart",dt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Re),je()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},De=function(){var Re=document.createElement("div");if(Re.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var at='.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");}',vt=document.createElement("style");vt.styleSheet?vt.styleSheet.cssText=at:vt.appendChild(document.createTextNode(at)),document.getElementsByTagName("head")[0].appendChild(vt)}return Re},It=function(Re,at,vt,sn){var dt=document.createElement("div");dt.className="ggb_preview",dt.style.position="absolute",dt.style.zIndex="90",dt.style.width=Re-2+"px",dt.style.height=at-2+"px",dt.style.top="0px",dt.style.left="0px",dt.style.overflow="hidden",dt.style.backgroundColor="white";var Bt="lightgrey";vt!==void 0&&(vt==="none"?Bt="transparent":Bt=vt),dt.style.border="1px solid "+Bt;var Ne=document.createElement("img");if(Ne.style.position="relative",Ne.style.zIndex="1000",Ne.style.top="-1px",Ne.style.left="-1px",Le!==null&&Ne.setAttribute("src",Le),Ne.style.opacity=.7,Qe!==null){var Pt,st,ae;if(!sn){Pt=document.createElement("img"),Pt.style.position="absolute",Pt.style.zIndex="1001",Pt.style.opacity=1,Ne.style.opacity=.3,st=360,st>Re/4*3&&(st=Re/4*3),ae=st/5.8,Pt.setAttribute("src",Qe),Pt.setAttribute("width",st),Pt.setAttribute("height",ae);var ee=(Re-st)/2,z=(at-ae)/2;Pt.style.left=ee+"px",Pt.style.top=z+"px",dt.appendChild(Pt)}}return dt.appendChild(Ne),dt},zt=function(Re){return Re=Re.toLowerCase(),Re==="html5"||Re==="screenshot"?Re:"html5"},Se=["web","webSimple","web3d","tablet","tablet3d","phone"],fe=function(Re,at){if(Xe=Re,at){pt(Xe,!0);return}var vt=!Ke;if(vt){var sn=$e(Xe);!isNaN(sn)&&sn<4.4&&(vt=!1)}var dt,Bt;window.location.protocol.substr(0,4)==="http"?dt=window.location.protocol:dt="http:";var Ne=Xe.indexOf("//");Ne>0?Bt=Xe:Ne===0?Bt=dt+Xe:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var Pt in Se)if(Xe.slice(Se[Pt].length*-1)===Se[Pt]||Xe.slice((Se[Pt].length+1)*-1)===Se[Pt]+"/"){pt(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&vt&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!Te(oe.showToolBar)&&!Te(oe.showMenuBar)&&!Te(oe.showAlgebraInput)&&!Te(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",pt(Bt,!1)},pt=function(Re,at){if(Re.requirejs){Ve=Re;return}Re.slice(-1)!=="/"&&(Re+="/"),Ve=Re,at===null&&(at=Re.indexOf("http")===-1),ve=at,Be="web.nocache.js",Ie=!1;var vt=Ve.split("/");vt.length>1&&(!at&&vt[vt.length-2]==="webSimple"?(Be="webSimple.nocache.js",Ie=!0):Se.indexOf(vt[vt.length-2])>=0&&(Be=vt[vt.length-2]+".nocache.js")),vt=Re.split("/"),Xe=vt[vt.length-3],Xe.substr(0,4)==="test"?Xe=Xe.substr(4,1)+"."+Xe.substr(5,1):(Xe.substr(0,3)==="war"||Xe.substr(0,4)==="beta")&&(Xe="5.0");var sn=parseFloat(Xe);sn!==NaN&&sn<5&&Re.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+sn+" is deprecated. Using version latest instead."),fe("5.0",at))},Zt=function(Re,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(Re)};oe.material_id!==void 0?bt(St):St();function St(){var Re=Ot;xe!==null?Re=xe:parseFloat(Re)<5&&(Re="5.0"),fe(Re,!1),Me!==null&&pt(Me,ve),Ce=!0}return Vt},GGBAppletUtils=function(){"use strict";function Vt(){return window.GGBT_wsf_edit!==void 0}function Ot(Ce,xe){xe!=1?(Ce.style.transformOrigin="0% 0% 0px",Ce.style.webkitTransformOrigin="0% 0% 0px",Ce.style.transform="scale("+xe+","+xe+")",Ce.style.webkitTransform="scale("+xe+","+xe+")",Ce.style.maxWidth="initial",Ce.querySelector(".ggb_preview")!==null&&(Ce.querySelector(".ggb_preview").style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ce.style.transform="none",Ce.style.webkitTransform="none")}function oe(Ce,xe,Me,Ue,Ee,de){var Ve=null;if(de!=null&&de!="")for(var ve=Ce.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+de+" ")>-1){Ve=ve;break}else ve=ve.parentNode;var mt=0,Xe=0,Be=0,Ie=0,Le=0,Qe=0,ht=0;if(Ve)mt=Ve.offsetWidth,Xe=Math.max(Ue?Ve.offsetWidth:0,Ve.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(mt=Math.min(window.innerWidth,document.documentElement.clientWidth),Xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=mt):(mt=window.innerWidth,Xe=window.innerHeight,Be=window.innerWidth),Ce){var wt=Ce.getBoundingClientRect();wt.left>0&&wt.left<=mt&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(Le=mt-wt.width-wt.left,Qe=Be<=480?10:30):(Qe=wt.left,Le=Be<=480?10:30),Ie=Qe+Le)}if(Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ct=Ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie=40,ht=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ie=0,ht=40)}}return Ce&&((Me===void 0||!Me)&&xe>0&&xe+Ie<mt?mt=xe:mt-=Ie,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Me===void 0||!Me)&&(Xe-=ht)),{width:mt,height:Xe}}function te(Ce,xe,Me,Ue,Ee){if(Ce.isScreenshoGenerator)return 1;var de=Ue!==void 0&&Ue,Ve=Ce.noScaleMargin!=null&&Ce.noScaleMargin,ve=function(ct){return ct&&ct!=="false"},mt=ve(Ce.autoHeight),Xe=oe(xe,Ce.width,Me,mt,de&&window.GGBT_wsf_view||Ve,Ee),Be=parseInt(Xe.width),Ie=Ce.width,Le=Ce.height;if(Ie===void 0){var Qe=xe.querySelector(".appletParameters");Qe&&(Ie=Qe.offsetWidth,Le=Qe.offsetHeight)}var ht=Be/Ie,wt=de?1:Xe.height/Le;return Me!==void 0&&!Me&&(ht=Math.min(1,ht),wt=Math.min(1,wt)),Math.min(ht,wt)}function Ke(Ce,xe,Me){var Ue=1,Ee,de=!1;if(Ce.hasOwnProperty("allowUpscale")&&(de=Ce.allowUpscale),Ce.hasOwnProperty("scale")&&(Ue=parseFloat(Ce.scale),(isNaN(Ue)||Ue===null||Ue===0)&&(Ue=1),Ue>1&&(de=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Ce.hasOwnProperty("disableAutoScale")&&Ce.disableAutoScale))Ee=te(Ce,xe,de,Me,Ce.scaleContainerClass);else return Ue;return de&&(!Ce.hasOwnProperty("scale")||Ue===1)?Ee:Math.min(Ue,Ee)}function ge(Ce){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),Me=Math.min(window.innerHeight,document.documentElement.clientHeight),Ue=Ce.getBoundingClientRect(),Ee=(xe-Ue.width)/2,de=(Me-Ue.height)/2;de<0&&(de=0),Ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?Ce.style.left="40px":Ce.style.left=Ee+"px",Ce.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Ce.style.top="40px":Ce.style.top=de+"px",Ce.style.left=Ee+"px")}function ze(Ce,xe){var Me=Ce.querySelector(".appletParameters");if(Me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==Me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ce)}if(Me.parentElement&&/fullscreen/.test(Me.parentElement.className))return;var Ue=Ke(xe,Ce);Vt()&&Me.setAttribute("data-param-scale",Ue);for(var Ee=null,de=0;de<Ce.childNodes.length;de++)if(Ce.childNodes[de].className!==void 0&&Ce.childNodes[de].className.match(/^applet_scaler/)){Ee=Ce.childNodes[de];break}if(Ee!==null&&Ee.querySelector(".noscale")!==null)return;var Ve=xe.id!==void 0?xe.id:"ggbApplet",ve=window[Ve];(ve==null||!ve.recalculateEnvironments)&&Ee!==null&&!Ee.className.match(/fullscreen/)&&(Ee.parentNode.style.transform="",!isNaN(Ue)&&Ue!==1?(Ee.parentNode.style.width=xe.width*Ue+"px",Ee.parentNode.style.height=xe.height*Ue+"px",Ot(Ee,Ue)):(Ot(Ee,1),Ee.parentNode.style.width=xe.width+"px",Ee.parentNode.style.height=xe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ge(Ce),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Me).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:Vt,positionCenter:ge,getScale:Ke,scaleElement:Ot}}();__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 Vt=n.location.search;return Vt.indexOf(J)!=-1||Vt.indexOf(K)!=-1}function q(Vt,Ot){}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(Vt){var Ot=s[L].bindings;s[L].bindings=function(){for(var oe=Ot?Ot():{},te=Vt[webModule.__softPermutationId],Ke=O;Ke<te.length;Ke++){var ge=te[Ke];oe[ge[O]]=ge[P]}return oe}};var t;function u(){return v(),t}function v(){if(!t){var Vt=o.createElement(Q);if(Vt.id=L,Vt.style.cssText=R+S,Vt.tabIndex=-1,o.body.appendChild(Vt),t=Vt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ot=document.compatMode==U?V:W;t.write(Ot+X),t.close()}}}function w(Vt){function Ot(te){function Ke(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ge=Ke();if(ge){te();return}function ze(){if(!ge){if(!Ke())return;ge=!0,te(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),Ce&&clearInterval(Ce)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var Ce=setInterval(function(){ze()},$)}function oe(te){var Ke=u(),ge=Ke.body,ze=Ke.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=te,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+te))}),ge.appendChild(ze)}Ot(function(){oe(Vt)})}webModule.__startLoadingFragment=function(Vt){return C(Vt)},webModule.__installRunAsyncCode=function(Vt){var Ot=u(),oe=Ot.body,te=Ot.createElement(_);te.language=ab,te.text=Vt,oe.appendChild(te),oe.removeChild(te)};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(Vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vt){var Ot=c[Vt];return Ot==null?null:Ot},r=d,webModule.__errFn=e}function B(){function Vt(Ce){var xe=Ce.lastIndexOf(rb);xe==-1&&(xe=Ce.length);var Me=Ce.indexOf(sb);Me==-1&&(Me=Ce.length);var Ue=Ce.lastIndexOf(tb,Math.min(Me,xe));return Ue>=O?Ce.substring(O,Ue+P):W}function Ot(Ce){if(!Ce.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=Ce+vb,Ce=Vt(xe.src)}return Ce}function oe(){var Ce=__gwt_getMetaProperty(wb);return Ce!=null?Ce:W}function te(){for(var Ce=o.getElementsByTagName(_),xe=O;xe<Ce.length;++xe)if(Ce[xe].src.indexOf(xb)!=-1)return Vt(Ce[xe].src);return W}function Ke(){var Ce=o.getElementsByTagName(yb);return Ce.length>O?Ce[Ce.length-P].href:W}function ge(){var Ce=o.location;return Ce.href==Ce.protocol+zb+Ce.host+Ce.pathname+Ce.search+Ce.hash}var ze=oe();return ze==W&&(ze=te()),ze==W&&(ze=Ke()),ze==W&&ge()&&(ze=Vt(o.location.href)),ze=Ot(ze),ze}function C(Vt){return Vt.match(/^\//)||Vt.match(/^[a-zA-Z]+:\/\//)?Vt:webModule.__moduleBase+Vt}function D(){var Vt=[],Ot=O,oe=[],te=[];function Ke(Ce){var xe=te[Ce](),Me=oe[Ce];if(xe in Me)return xe;var Ue=[];for(var Ee in Me)Ue[Me[Ee]]=Ee;throw r&&r(Ce,Ue,xe),null}if(__gwt_isKnownPropertyValue=function(Ce,xe){return xe in oe[Ce]},webModule.__getPropMap=function(){var Ce={};for(var xe in oe)oe.hasOwnProperty(xe)&&(Ce[xe]=Ke(xe));return Ce},webModule.__computePropValue=Ke,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ge;try{ge=Cb;var ze=ge.indexOf(Db);ze!=-1&&(Ot=parseInt(ge.substring(ze+P),$),ge=ge.substring(O,ze))}catch(Ce){}return webModule.__softPermutationId=Ot,C(ge+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})()},8240:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Ax:function(){return ze},Ds:function(){return Ce},KI:function(){return Me},SI:function(){return ge},f1:function(){return Ke}});var te=oe(35783);function Ke(Ue){let Ee=!0;if(Ue.length>0){for(let de=0;de<Ue.length;de++)if(Ue[de].compile_success==0||!Ue[de].compile_success){Ee=!1;break}}else Ee=!1;return Ee}function ge(Ue,Ee=""){let de=[];for(let Ve=0;Ve<Ue.length;Ve++){let ve=Ue[Ve],mt=Ee?`${Ee}/${ve.name}`:`${ve.name}`;de.push({title:ve.name,type:ve.type,isLeaf:ve.type!=="tree",key:mt})}return de}function ze(Ue,Ee,de){for(let Ve=0;Ve<Ue.length;Ve++){let ve=Ue[Ve];if(ve.key===Ee){ve.children=de;break}ve.children&&ze(ve.children,Ee,de)}return Ue}function Ce(Ue,Ee,de){let Ve;return function(){let ve=this,mt=arguments,Xe=function(){Ve=null,de||Ue.apply(ve,mt)},Be=de&&!Ve;clearTimeout(Ve),Ve=setTimeout(Xe,Ee),Be&&Ue.apply(ve,mt)}}const xe=!0,Me=te.Z.API_SERVER},99050:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Xe}});var te=oe(7939),Ke=oe(59301),ge=Object.defineProperty,ze=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Ee=(Be,Ie,Le)=>Ie in Be?ge(Be,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Be[Ie]=Le,de=(Be,Ie)=>{for(var Le in Ie||(Ie={}))Me.call(Ie,Le)&&Ee(Be,Le,Ie[Le]);if(xe)for(var Le of xe(Ie))Ue.call(Ie,Le)&&Ee(Be,Le,Ie[Le]);return Be},Ve=(Be,Ie)=>ze(Be,Ce(Ie)),ve=(Be,Ie)=>{var Le={};for(var Qe in Be)Me.call(Be,Qe)&&Ie.indexOf(Qe)<0&&(Le[Qe]=Be[Qe]);if(Be!=null&&xe)for(var Qe of xe(Be))Ie.indexOf(Qe)<0&&Ue.call(Be,Qe)&&(Le[Qe]=Be[Qe]);return Le},mt=(Be,Ie,Le)=>new Promise((Qe,ht)=>{var wt=qe=>{try{$e(Le.next(qe))}catch(je){ht(je)}},ct=qe=>{try{$e(Le.throw(qe))}catch(je){ht(je)}},$e=qe=>qe.done?Qe(qe.value):Promise.resolve(qe.value).then(wt,ct);$e((Le=Le.apply(Be,Ie)).next())});const Xe=Be=>{var Ie=Be,{children:Le}=Ie,Qe=ve(Ie,["children"]);const[ht,wt]=(0,Ke.useState)(!1);return Ke.createElement(te.ZP,Ve(de({},Qe),{loading:ht,onClick:ct=>mt(void 0,null,function*(){try{wt(!0),yield Qe.onClick(ct),wt(!1)}catch($e){console.error($e),wt(!1)}})}),Le)}},78265:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ve}});var te=oe(59301),Ke={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ge=oe(92310),ze=oe.n(ge),Ce=oe(29787),xe=oe(2859),Me=oe(22972),Ue=oe(68911),Ee=(ve,mt,Xe)=>new Promise((Be,Ie)=>{var Le=wt=>{try{ht(Xe.next(wt))}catch(ct){Ie(ct)}},Qe=wt=>{try{ht(Xe.throw(wt))}catch(ct){Ie(ct)}},ht=wt=>wt.done?Be(wt.value):Promise.resolve(wt.value).then(Le,Qe);ht((Xe=Xe.apply(ve,mt)).next())}),Ve=({data:ve,className:mt,fullWidth:Xe,style:Be={},onClose:Ie,onOk:Le,showFullTools:Qe,noAssociationId:ht})=>{const wt=(0,te.useRef)(null),ct=(0,te.useRef)(null),$e=(0,te.useRef)(null),qe=(0,te.useRef)(null),[je,bt]=(0,te.useState)(!1),[Je,He]=(0,te.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,te.useEffect)(()=>($e.current||($e.current=document.createElement("style"),document.head.appendChild($e.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),$e.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&ot()):(document.body.removeAttribute("data-custom"),$e.current&&(document.head.removeChild($e.current),$e.current=null)),()=>{document.body.removeAttribute("data-custom"),$e.current&&(document.head.removeChild($e.current),$e.current=null)}),[ve==null?void 0:ve.visible]);const ot=()=>Ee(void 0,null,function*(){bt(!0),He("\u6B63\u5728\u52A0\u8F7D\u4E2D");const he=yield(0,Ue.ZJ)(ve==null?void 0:ve.src);wt.current.src="",wt.current.src=he,wt.current.onload=function(){et()},bt(!1),He("")}),Te=he=>Ee(void 0,null,function*(){bt(!0),He("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Et=yield(0,Me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:he.dataUrl}});Et!=null&&Et.id&&!ht?(yield(0,Me.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Et==null?void 0:Et.id,settings:JSON.stringify(he.state)}})).status===0&&Le():Et!=null&&Et.id&&Le(Et),bt(!1),He("")}),it=()=>{const he=document.querySelector('a[href="https://markerjs.com/"]');he&&he.parentNode&&(he.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(De=>{const It=document.querySelector(De.name);It&&It.setAttribute("title",De.title)})},et=()=>{ct.current=new xe.hP(wt.current),ct.current.targetRoot=qe.current,ct.current.addEventListener("render",Te),ct.current.addEventListener("beforeclose",Ie),Qe&&(ct.current.availableMarkerTypes=ct.current.ALL_MARKER_TYPES,ct.current.uiStyleSettings.redoButtonVisible=!0,ct.current.uiStyleSettings.notesButtonVisible=!0,ct.current.uiStyleSettings.zoomButtonVisible=!0,ct.current.uiStyleSettings.zoomOutButtonVisible=!0,ct.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ct.current.uiStyleSettings,ct.current.show(),ve!=null&&ve.snapshotData&&ct.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return te.createElement(te.Fragment,null,(ve==null?void 0:ve.visible)&&te.createElement(Ce.Z,{spinning:je,tip:Je,style:{position:"absolute",width:"100vw"}},te.createElement("div",{ref:qe,className:ze()(Ke.imageDimensions,mt,Xe?Ke.fullWidth:""),style:Be},te.createElement("img",{className:Ke.img,ref:wt}))))}},9043:function(Vt,Ot,oe){"use strict";var te=oe(59301),Ke=oe(77019),ge=oe(5269),ze=oe(31691),Ce=oe(7939),xe=oe(56375),Me=oe(50718),Ue=oe(48136),Ee=oe(59301);const de=(0,te.forwardRef)(({callback:Ve,showSaveButton:ve,value:mt=""},Xe)=>{const Be=(0,te.useRef)(),Ie=[{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 "}]}]}],Le=[{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}`}]}]}],Qe=ct=>{Be.current.setValue(Be.current.getValue()+" "+ct.value+" ")},ht=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ee.createElement(Ke.Z,{className:Me.Z.lists,gutter:[10,10]},Ie.map((ct,$e)=>Ee.createElement(ge.Z,{flex:"110px",className:Me.Z.item},Ee.createElement("div",null,Ee.createElement(xe.Z,{value:`$$${ct.value}$$`}),ct.name),Ee.createElement("div",{className:Me.Z.children},ct.children.map((qe,je)=>Ee.createElement("div",{key:je},Ee.createElement("h1",null,qe.name),Ee.createElement(Ke.Z,{gutter:[10,10]},qe.data.map((bt,Je)=>Ee.createElement(ge.Z,{key:Je,onClick:()=>Qe(bt),className:Me.Z.diamond},Ee.createElement(xe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ee.createElement(Ke.Z,{className:Me.Z.lists,gutter:[10,10]},Le.map((ct,$e)=>Ee.createElement(ge.Z,{flex:"110px",className:Me.Z.item},Ee.createElement("div",null,Ee.createElement(xe.Z,{value:"`$$"+ct.value+"$$`"}),ct.name),Ee.createElement("div",{className:Me.Z.children},ct.children.map((qe,je)=>Ee.createElement("div",{key:je},qe.name&&Ee.createElement("h1",null,qe.name),Ee.createElement(Ke.Z,{gutter:[10,10]},qe.data.map((bt,Je)=>Ee.createElement(ge.Z,{key:Je,onClick:()=>Qe(bt),className:Me.Z.diamond},Ee.createElement(xe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))}],wt=()=>{var ct=document.createElement("div");ct.innerHTML=Be.current.getValue();var $e=ct.innerText;return Ve&&Ve($e),$e};return(0,te.useImperativeHandle)(Xe,()=>({getData:wt})),Ee.createElement("div",{className:Me.Z.mathWrap},Ee.createElement(ze.default,{defaultActiveKey:"1",items:ht}),Ee.createElement("math-field",{locale:"zh_cn",className:Me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Be,style:{width:800,marginTop:30,fontSize:18}},mt||""),ve&&Ee.createElement("div",{className:Me.Z.button},Ee.createElement(Ce.ZP,{size:"large",onClick:wt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ot.Z=de},71347:function(Vt,Ot,oe){"use strict";var te=oe(59301),Ke=oe(93314),ge=oe(7939),ze=Object.defineProperty,Ce=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,de=(Xe,Be,Ie)=>Be in Xe?ze(Xe,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Xe[Be]=Ie,Ve=(Xe,Be)=>{for(var Ie in Be||(Be={}))Ue.call(Be,Ie)&&de(Xe,Ie,Be[Ie]);if(Me)for(var Ie of Me(Be))Ee.call(Be,Ie)&&de(Xe,Ie,Be[Ie]);return Xe},ve=(Xe,Be)=>Ce(Xe,xe(Be));const mt=({img:Xe,buttonProps:Be={},styles:Ie={},customText:Le,ButtonText:Qe,ButtonClick:ht,Buttonclass:wt,ButtonTwo:ct,imgStyles:$e,loading:qe=!1,className:je=""})=>te.createElement("section",{className:`tc animated fadeIn ${je}`,style:Ve({color:"#999",margin:"100px auto",visibility:qe?"hidden":"visible"},Ie)},te.createElement("img",{src:Xe||Ke,style:ve(Ve({},$e),{pointerEvents:"none",userSelect:"none"})}),te.createElement("p",{className:"mt20 font14"},Le||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Qe&&te.createElement(ge.ZP,Ve({className:wt,onClick:ht},Be),Qe),ct&&ct);Ot.Z=mt},98893:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return wt}});var te=oe(59301),Ke={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},ge=oe(7939),ze=oe(70557),Ce=oe(94871),xe=oe(25399),Me=oe(68911),Ue=oe(58870),Ee=oe(71347),de=oe(35783),Ve=oe(25341),ve=oe(59301),mt=Object.defineProperty,Xe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Le=(ct,$e,qe)=>$e in ct?mt(ct,$e,{enumerable:!0,configurable:!0,writable:!0,value:qe}):ct[$e]=qe,Qe=(ct,$e)=>{for(var qe in $e||($e={}))Be.call($e,qe)&&Le(ct,qe,$e[qe]);if(Xe)for(var qe of Xe($e))Ie.call($e,qe)&&Le(ct,qe,$e[qe]);return ct},ht=(ct,$e,qe)=>new Promise((je,bt)=>{var Je=Te=>{try{ot(qe.next(Te))}catch(it){bt(it)}},He=Te=>{try{ot(qe.throw(Te))}catch(it){bt(it)}},ot=Te=>Te.done?je(Te.value):Promise.resolve(Te.value).then(Je,He);ot((qe=qe.apply(ct,$e)).next())}),wt=({editOffice:ct="view",data:$e,issaver:qe,onSaver:je,theme:bt,type:Je,filename:He,monacoEditor:ot,className:Te,style:it,close:et,onClose:he,hasMask:Et,disabledDownload:De,onImgDimensions:It,showNodata:zt,recordInfo:Se})=>{const[fe,pt]=(0,te.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,St]=(0,te.useState)(""),[Re,at]=(0,te.useState)(),vt=window.ENV==="build"?"/react/build":"",sn=location.host.startsWith("localhost")?de.Z.PROXY_SERVER:de.Z.API_SERVER,Bt=10*(1024*1024),Ne=(0,te.useRef)();$e!=null&&$e.startsWith("/api")&&Je!=="txt"&&($e=de.Z.API_SERVER+$e);const Pt=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();He&&ot&&(ot.filename=He),(0,te.useEffect)(()=>{var se,re;const me=(re=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:re.split(";");me==null||me.map(ye=>{let rt=ye.split("=");rt[0]==="_educoder_session"&&St(rt[1])})},[]),(0,te.useEffect)(()=>{Je==="office"&&($e.indexOf("bigfilescdn.")>-1||$e.indexOf("bigfiles1")>-1?at({url:$e,fileType:Pt($e),model:$e.indexOf("model=edit")?"edit":"view"}):$e.indexOf("coze")>-1?at({url:$e,fileType:"doc",model:"view"}):ae())},[Je,$e]);function st(se){return ht(this,null,function*(){se.data.type==="pdfdata"&&(je(se.data.data),window.removeEventListener("message",st,!1)),console.log("mess---:",se.data)})}const ae=()=>ht(void 0,null,function*(){console.log("data:",$e);let se=$e;$e.startsWith("http")||(se=location.origin+se);let re=new URL(se).pathname.split("/").pop();const me=yield(0,Ue.gJ)({attachment_id:re});me.url=sn+me.url,at(me)}),ee=()=>{if($e.startsWith("http")||$e.startsWith("blob:")){z();return}(0,Me.Sv)(He||"educoder",$e,He)},z=()=>{Se&&(0,Ve.fc)({id:Se==null?void 0:Se.id,watch_type:1,course_id:Se==null?void 0:Se.course_id}),(0,Me.Nd)(He||"educoder",decodeURIComponent($e))};(0,te.useEffect)(()=>(window.addEventListener("message",ie),()=>{window.removeEventListener("message",ie)}),[]);const ie=se=>{var re;((re=se==null?void 0:se.data)==null?void 0:re.type)==="closePop"&&he()};return ve.createElement("div",{style:Qe({},it||{}),className:`${Et&&Ke.bgBlack} ${Je?Ke.wrp:"hide"}`},!!Je&&et&&ve.createElement("div",{id:"closePop",className:Ke.close,ref:Ne},!!It&&ve.createElement(xe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ne.current},ve.createElement("span",{onClick:()=>{he(),It()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!De&&window.parent===window&&ve.createElement(xe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ne.current},ve.createElement("span",{onClick:z},ve.createElement("i",{className:"icon-quxiaozhiding"}))),qe&&ve.createElement(xe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ne.current},ve.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",st,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(xe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ne.current},ve.createElement("span",{className:"",onClick:()=>{he()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${Ke[Te]} ${Te} ${Ke.monaco} ${Je==="txt"?"show":"hide"}`},Je==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(Ce.ZP,Qe({},ot)))),Je==="audio"&&ve.createElement("audio",{src:`${($e==null?void 0:$e.indexOf("http://"))>-1||($e==null?void 0:$e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${$e}`,autoPlay:!0}),Je==="video"&&ve.createElement(ve.Fragment,null,($e==null?void 0:$e.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${$e}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${$e}`,autoPlay:!0})),Je==="office"&&Re&&ve.createElement("iframe",{src:`${vt}/office.html?key=${Re.key}&url=${btoa(Re.url)}&callbackUrl=${sn+(Re.callbackUrl||"")}&fileType=${Re.fileType}&title=${Re.title||""}&model=${ct}&officeServer=${de.Z.ONLYOFFICE}&disabledDownload=${!!De}`}),Je==="html"&&ve.createElement("iframe",{src:$e+"&disposition=inline"}),Je==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${vt}/js/pdf/index.html?filename=${He||"educoder.pdf"}&url=${encodeURIComponent($e)}&disabledDownload=${!!De}&model=${ct}`}),Je==="image"&&ve.createElement("img",{src:`${($e==null?void 0:$e.indexOf("http://"))>-1||($e==null?void 0:$e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${$e}`}),(Je==="other"||Je==="download")&&ve.createElement(ve.Fragment,null,zt?ve.createElement(Ee.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(ge.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ee,disabled:De},"\u4E0B\u8F7D")}):ve.createElement(ge.ZP,{type:"primary",size:"middle",onClick:ee,disabled:De},ve.createElement(ze.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Je==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${$e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},56375:function(Vt,Ot,oe){"use strict";oe.d(Ot,{z:function(){return ot},Z:function(){return Te}});var te=oe(59301),Ke=oe(64310),ge=oe(74410),ze=oe(64018),Ce=oe(16471),xe=oe(35783),Me=oe(68911),Ue=oe(15342),Ee=oe(44104),de=oe(7939),Ve=oe(1012),ve=oe(98893),mt=oe(59301),Be=({html:it})=>{const et=(0,te.useRef)(null),he=(0,te.useRef)(null),Et=`.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,te.useEffect)(()=>{const De=et.current.attachShadow({mode:"open"});he.current=document.createElement("div"),he.current.className="markdown-body",he.current.innerHTML=it,De.appendChild(he.current);const It=document.createElement("style");return It.textContent=Et,De.appendChild(It),()=>{De.innerHTML=""}},[]),(0,te.useEffect)(()=>{he.current&&(he.current.innerHTML=it)},[it]),mt.createElement("div",{ref:et})};function Ie(it){const et=["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"],he=new RegExp(`\\b(${et.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Et=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return it.replace(he,"").replace(Et,"").trim()}var Le={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Qe=Object.defineProperty,ht=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,$e=(it,et,he)=>et in it?Qe(it,et,{enumerable:!0,configurable:!0,writable:!0,value:he}):it[et]=he,qe=(it,et)=>{for(var he in et||(et={}))wt.call(et,he)&&$e(it,he,et[he]);if(ht)for(var he of ht(et))ct.call(et,he)&&$e(it,he,et[he]);return it};const je="@\u2581\u2581@",bt="@\u2581@",Je=/<pre[^>]*>/g;function He(it){let et=document.createElement("div");return et.innerHTML=it,et.childNodes.length===0?"":et.childNodes[0].nodeValue}const ot=(it,et)=>{it=it||"";const he=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Et=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,De=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,It=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return et?it.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(he,(zt,Se,fe,pt,Zt,St,Re)=>{const at=Se||pt||St,vt=fe||Zt||Re||"?";return xe.Z.API_SERVER+"/api/attachments/"+at+vt+"&t="+(0,Me.Jn)(at,Date.now())+(zt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(it=it.replace(It,(zt,Se,fe,pt,Zt,St,Re)=>{const at=Se||pt||St,vt=fe||Zt||Re||"?";return xe.Z.API_SERVER+"/attachments/download/"+at+vt+"&t="+(0,Me.Jn)(at,Date.now())+(zt.indexOf(")")>-1?")":"&")}).replace(he,(zt,Se,fe,pt,Zt,St,Re)=>{const at=Se||pt||St,vt=fe||Zt||Re||"?";return xe.Z.API_SERVER+"/api/attachments/"+at+vt+"&t="+(0,Me.Jn)(at,Date.now())+(zt.indexOf(")")>-1?")":"&")}).replace(Et,(zt,Se,fe,pt,Zt)=>{const St=Se||pt,Re=fe||Zt||"";return'"'+xe.Z.API_SERVER+"/api/attachments/"+St+Re+St+Re+"&t="+(0,Me.Jn)(St,Date.now())}).replace(De,(zt,Se,fe,pt,Zt)=>{const St=Se||pt,Re=fe||Zt||"";return"("+xe.Z.API_SERVER+"/files/uploads/"+St+Re+St+Re+"&t="+(0,Me.Jn)(St,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),it)};var Te=({value:it="",edit:et=!1,className:he,showTextOnly:Et,showLines:De,style:It={},stylesPrev:zt={},highlightKeywords:Se,showProgramFill:fe,isProgramFill:pt,disabledFill:Zt=!1,programFillValue:St,openEditor:Re=()=>{},onFillChange:at=dt=>{},onFillBlur:vt=()=>{},onFillFocus:sn=()=>{}})=>{let dt=Ie(String(it||""));const Bt=(0,te.useRef)(),Ne=(0,te.useRef)(),[Pt,st]=(0,te.useState)(""),[ae,ee]=(0,te.useState)("office"),[z,ie]=(0,te.useState)([]),se=(0,te.useRef)("a"+(0,Ve.Z)()),re={},me=ft=>/<style[\s\S]*?>/i.test(ft||""),ye=(ft,Ht,Dt)=>{const Rt=document.createElement(ft===bt?"input":"textarea");Rt.style.width="100%",Rt.style.height=ft===bt?"40px":"151px",Rt.rows=5,Rt.spellcheck=!1,Rt.name="edu-program-fill",Rt.placeholder="\u8BF7\u8F93\u5165",Rt.dataset.id=Ht;const nn=Object.keys(re).length;return re[nn]=Rt,`<span class="edu-program-fill-wrap ${ft===bt?"":"show"}" style="width:${ft===bt?"600px":"100%"}" title=${Dt||""}><span>${Rt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function rt(ft){return ft=ft.replace(/!\[.*?\]\(.*?\)/g,""),ft=ft.replace(/\[.*?\]\(.*?\)/g,""),ft=ft.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ft=ft.replace(/<embed.*?>/g,""),ft=ft.replace(/<img.*?>/g,""),ft=ft.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ft=ft.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ft=ft.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ft=ft.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ft}const Ae=ft=>!Et&&me(dt)?ft:ft.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ht,Dt){let Rt=Dt.replace(/(\n|\r)/g,"").split("}"),nn=[];return Rt.map(Cn=>{Cn!=""&&nn.push(`.${se.current} ${Cn}`)}),`<style>${nn.join("}")}</style>`}),Ze=(0,te.useMemo)(()=>{(0,ge.Iy)();try{const Rt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,nn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Cn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,fn=/\(\/attachments\/download\//g;dt=dt.replace(fn,"("+xe.Z.API_SERVER+"/attachments/download/").replace(Rt,"("+xe.Z.API_SERVER+"/api/attachments/").replace(nn,'"'+xe.Z.API_SERVER+"/api/attachments/").replace(Cn,'"'+xe.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,`
|
|
|
`),Bt.current.style.display="none"}catch(Rt){}if(fe){let Rt=-1;return dt=dt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(nn,Cn,fn){var Pe;return++Rt,ye(nn,Rt,(Pe=St==null?void 0:St[Rt])==null?void 0:Pe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ae(dt||"")}</pre>`}let ft=Ae(dt);ft=(0,ge.ZP)(ft);const Ht=(0,ge.ez)();dt.match(/\[TOC\]/)&&(ft=ft.replace("<p>[TOC]</p>",(0,ge.Qv)()),(0,ge.Iy)()),ft=ft.replace(/(__special_katext_id_\d+__)/g,(Rt,nn)=>{const{type:Cn,expression:fn}=Ht[nn];return(0,Ue.renderToString)(He(fn)||"",{displayMode:Cn==="block",throwOnError:!1,output:"html"})}),ft=ft.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ge.AL)();const Dt=document.createElement("div");if(Dt.innerHTML=ft,Et)return Dt.innerText;if(Se){const Rt=Se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ft(Dt,Rt),Dt.innerHTML}return setTimeout(()=>Jt(),500),Dt.innerHTML},[dt,Se]);(0,te.useEffect)(()=>{Nt.current&&Nt.current.querySelectorAll(["input","textarea"]).forEach(Ht=>{Ht.oninput=tt,Ht.onblur=gt,Ht.onfocus=lt})},[z]),(0,te.useEffect)(()=>{var ft,Ht,Dt,Rt,nn;if(St!=null&&St.length)try{const Cn=Nt.current.querySelectorAll(".edu-program-fill-score"),fn=Nt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Pe,_e]of fn.entries())_e.value=((ft=St==null?void 0:St[Pe])==null?void 0:ft.value)||"",((Ht=St==null?void 0:St[Pe])==null?void 0:Ht.type)==="warning"?_e.className="program-fill-warning":((Dt=St==null?void 0:St[Pe])==null?void 0:Dt.type)==="success"?_e.className="program-fill-success":_e.className="";for(const[Pe,_e]of Cn.entries())_e.innerHTML=(Rt=St==null?void 0:St[Pe])!=null&&Rt.score?`${(nn=St==null?void 0:St[Pe])==null?void 0:nn.score}\u5206`:"";ie(St)}catch(Cn){console.log(Cn,"error")}},[St]);const tt=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ie([...z]),at(z,ft.target.dataset.id)},gt=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ie([...z]),vt(z,ft.target.dataset.id)},lt=ft=>{z[ft.target.dataset.id]=z[ft.target.dataset.id]||{},z[ft.target.dataset.id].value=ft.target.value,ie([...z]),sn(z,ft.target.dataset.id)};function Ft(ft,Ht){return ft.childNodes.forEach(Dt=>{var Rt;if(Dt.childNodes.length>0)Ft(Dt,Ht);else if(Dt.nodeName!=="IMG")if(Dt.innerHTML)Dt.innerHTML=(Rt=Dt.innerHTML)==null?void 0:Rt.replace(new RegExp(Ht,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const nn=document.createElement("span");nn.innerHTML=Dt.textContent.replace(new RegExp(Ht,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Dt.replaceWith(nn)}})}const Nt=(0,te.useRef)();ge.jb.WebkitLineClamp=De,De&&(It=qe(qe({},It),ge.jb));function Mt(ft){let Ht=ft.target;if(Ht.tagName.toUpperCase()==="A"){let Dt=Ht.getAttribute("href");if(Dt.indexOf("office")>-1)ft.preventDefault(),st(Dt),ee("office");else if(Dt.indexOf("application/pdf")>-1)ft.preventDefault(),st(Dt),ee("pdf");else if(Dt.indexOf("text/html")>-1)ft.preventDefault(),st(Dt),ee("html");else if(Dt.startsWith("#")){ft.preventDefault();let Rt=document.getElementById(Dt.replace("#",""));Rt&&Rt.scrollIntoView(!0)}}}const Jt=()=>{var ft;const Ht=(ft=Nt.current)==null?void 0:ft.querySelectorAll("video");Ht==null||Ht.forEach(Dt=>{if(Dt.oncontextmenu=()=>!1,Dt.src.indexOf(".m3u8")>-1&&!Dt.canPlayType("application/vnd.apple.mpegurl")){if(Ce.ZP.isSupported()){var Rt=new Ce.ZP;Rt.loadSource(Dt.src),Rt.attachMedia(Dt)}}})};(0,te.useEffect)(()=>{if(Nt.current&&Ze&&Ze.match(Je)&&window.PR.prettyPrint(),Nt.current)return Nt.current.addEventListener("click",Mt),()=>{var ft;(ft=Nt.current)==null||ft.removeEventListener("click",Mt),(0,ge.AL)(),(0,ge.Iy)()}},[Ze,Nt.current,Mt]);const Wt=ft=>{ft.target.nodeName==="IMG"&&ft.target.className.indexOf("draw-flowchart")>-1?(Bt.current.style.zIndex=1,Bt.current.style.display="flex",Bt.current.style.width=ft.target.clientWidth+"px",Bt.current.style.height=ft.target.clientHeight+"px",Bt.current.style.top=ft.target.offsetTop+"px",Bt.current.style.left=ft.target.offsetLeft+"px",ft.target.id&&(Ne.current=ft.target.id)):Bt.current.style.display="none"},Gt=()=>{Bt.current.style.display="none"};return(0,te.useEffect)(()=>{var ft;const Ht=Dt=>{Dt.preventDefault(),Dt.clipboardData.setData("text",window.getSelection().toString())};return(ft=Nt.current)==null||ft.addEventListener("copy",Ht),()=>{var Dt;(Dt=Nt.current)==null||Dt.removeEventListener("copy",Ht)}},[Nt.current]),te.createElement("div",{style:{position:"relative"},onMouseLeave:Gt},Et&&te.createElement("div",{ref:Nt,className:`${Le.mdBody} `},Ze),!Et&&!me(Ze)&&te.createElement("div",{ref:Nt,style:qe({},It),onMouseOver:Wt,className:`${he||""} ${Zt?"disabled-fill":""} markdown-body ${Le.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:Ze}}),!Et&&me(Ze)&&te.createElement(Be,{html:Ze}),te.createElement("div",{ref:Bt,className:`${Le.button} ${et?"":Le.previewFlowChart}`},te.createElement(Ee.Z,null,te.createElement(de.ZP,{onClick:()=>{et?Re(Ne.current):(st(Ne.current),ee("flowChart"))}},et?"\u7F16\u8F91":"\u9884\u89C8"))),te.createElement(ve.Z,{close:!0,data:Pt,type:Pt!=null&&Pt.length?ae:"",style:qe({},zt),onClose:()=>st("")}))}},56383:function(Vt,Ot,oe){"use strict";oe.d(Ot,{h:function(){return ct}});var te=oe(59301),Ke=oe(82326),ge=oe(28284),ze=oe(7939),Ce=oe(89780),xe=oe.n(Ce),Me=oe(3706),Ue=oe(96772),Ee=Object.defineProperty,de=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Be=($e,qe,je)=>qe in $e?Ee($e,qe,{enumerable:!0,configurable:!0,writable:!0,value:je}):$e[qe]=je,Ie=($e,qe)=>{for(var je in qe||(qe={}))mt.call(qe,je)&&Be($e,je,qe[je]);if(ve)for(var je of ve(qe))Xe.call(qe,je)&&Be($e,je,qe[je]);return $e},Le=($e,qe)=>de($e,Ve(qe));const Qe=Ke.default.Option,ht={labelCol:{span:4},wrapperCol:{span:20}},wt={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"]};Ot.Z=({callback:$e,onCancel:qe})=>{const[je,bt]=(0,te.useState)("python");function Je(ot){bt(wt[ot][1])}function He(ot){$e(ot)}return te.createElement(ge.default,Le(Ie({},ht),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:He,style:{width:500}}),te.createElement(ge.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},te.createElement(Ke.default,{getPopupContainer:ot=>ot.parentNode,onChange:Je},Object.keys(wt).map(ot=>te.createElement(Qe,{key:ot,value:ot},wt[ot][0])))),te.createElement(ge.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},te.createElement(ct,{mode:je})),te.createElement("div",{className:"flex-container flex-end"},te.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(ze.ZP,{type:"ghost",onClick:qe},"\u53D6\u6D88")))};function ct({value:$e,onChange:qe,mode:je,options:bt={}}){const Je=(0,te.useRef)(),[He,ot]=(0,te.useState)();return(0,te.useEffect)(()=>{if(He){let Te=function(it){const et=it.getValue();qe&&qe(et)};return He.on("change",Te),()=>{He.off("change",Te)}}},[He,qe]),(0,te.useEffect)(()=>{He&&He.setOption("mode",je)},[He,je]),(0,te.useEffect)(()=>{He&&($e!==He.getValue()||$e==="")&&setTimeout(()=>{He.setValue($e||"")},300)},[He,$e]),(0,te.useEffect)(()=>{if(Je.current&&!He){const Te=xe().fromTextArea(Je.current,Ie({mode:je,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},bt));ot(Te)}},[Je.current,He]),te.createElement("div",{className:"my-codemirror-container"},te.createElement("textarea",{ref:Je}))}},32862:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Bn}});var te=oe(59301),Ke=oe(63823),ge=oe(89780),ze=oe.n(ge),Ce=oe(76374),xe=oe(3706),Me=oe(6313),Ue=oe(25717),Ee=oe(99498),de=oe(25419),Ve=oe(67549),ve=oe(56375),mt=({value:ln="",className:xn,showTextOnly:dn,showLines:Mn,style:Gn={}})=>{const zn=(0,te.useMemo)(()=>"",[ln]);return te.createElement(te.Fragment,null,te.createElement("div",{dangerouslySetInnerHTML:{__html:zn}}))},Xe=Object.defineProperty,Be=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,wt=(ln,xn,dn)=>xn in ln?Xe(ln,xn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):ln[xn]=dn,ct=(ln,xn)=>{for(var dn in xn||(xn={}))Qe.call(xn,dn)&&wt(ln,dn,xn[dn]);if(Le)for(var dn of Le(xn))ht.call(xn,dn)&&wt(ln,dn,xn[dn]);return ln},$e=(ln,xn)=>Be(ln,Ie(xn));let qe=[{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 je({onActionCallback:ln,title:xn,icon:dn,actionName:Mn,className:Gn="",children:zn}){function Tn(){ln(Mn)}return te.createElement("a",{title:xn,className:Gn,onClick:Tn},te.createElement("i",{className:`${dn}`}),zn)}var bt=({watch:ln,showNullButton:xn,showNullProgramButton:dn,onActionCallback:Mn,fullScreen:Gn,insertTemp:zn,hidetoolBar:Tn,extraUse:Yn})=>{const Xn=[...qe,{title:`${ln?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ln?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return te.createElement("ul",{className:"markdown-toolbar-container"},!Tn&&Xn.map(($n,jn)=>te.createElement("li",{key:jn},$n.actionName?te.createElement(je,$e(ct({},$n),{onActionCallback:Mn})):te.createElement("span",{className:"v-line"}))),xn?te.createElement("li",null,te.createElement(je,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mn},te.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,dn?te.createElement(te.Fragment,null,te.createElement("li",null,te.createElement(je,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mn},te.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),te.createElement("li",null,te.createElement(je,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mn},te.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,zn&&te.createElement("li",null,te.createElement(je,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${zn}`,onActionCallback:Mn},te.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Yn&&te.createElement("li",null,Yn),te.createElement("li",{className:"btn-full-screen"},te.createElement(je,{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:Mn})))},Je=oe(88969),He=oe(28284),ot=oe(37568),Te=oe(7939),it=Object.defineProperty,et=Object.defineProperties,he=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,zt=(ln,xn,dn)=>xn in ln?it(ln,xn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):ln[xn]=dn,Se=(ln,xn)=>{for(var dn in xn||(xn={}))De.call(xn,dn)&&zt(ln,dn,xn[dn]);if(Et)for(var dn of Et(xn))It.call(xn,dn)&&zt(ln,dn,xn[dn]);return ln},fe=(ln,xn)=>et(ln,he(xn));const pt={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:ln,onCancel:xn})=>{function dn(Mn){ln(Mn)}return te.createElement(He.default,fe(Se({},pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dn,style:{width:500}}),te.createElement(He.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},te.createElement(ot.default,null)),te.createElement(He.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},te.createElement(ot.default,null)),te.createElement("div",{className:"flex-container flex-end"},te.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(Te.ZP,{type:"ghost",onClick:xn},"\u53D6\u6D88")))},St=oe(56383),Re=oe(79203),at=oe(62957),vt=oe(77019),sn=oe(78265),dt=oe(59301),Bt=({callback:ln,onCancel:xn})=>{const dn=document.createElement("canvas"),Mn=dn.getContext("2d");dn.width=1e3,dn.height=800,Mn.fillStyle="#ffffff",Mn.fillRect(0,0,dn.width,dn.height);const Gn=dn.toDataURL("image/png");return dt.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dt.createElement(vt.Z,{style:{height:"100vh"}},dt.createElement(sn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gn,visible:!0,title:String(Date.now())},onOk:zn=>{ln({src:zn.url})},onClose:xn})))},Ne=oe(36207),Pt=oe(5269),st=oe(6767),ae={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ee=oe(59301),ie=(0,te.forwardRef)(({onCancel:ln,editImgId:xn,callback:dn},Mn)=>{let Gn=(0,te.useRef)(),zn=(0,te.useRef)(),Tn=(0,te.useRef)(),Yn=(0,te.useRef)(!1);const Xn=(0,te.useRef)(!1);console.log("ref:",Mn);const[$n,jn]=(0,te.useState)(0),[Lt,Xt]=(0,te.useState)("100vh");return(0,te.useEffect)(()=>{jn(1)},[]),(0,te.useImperativeHandle)(Mn,()=>({setHeight:Xt})),ee.createElement("div",{ref:Xn,className:"body-overflow-initial"},ee.createElement(Ne.Z,{width:"100vw",height:Lt,footer:null,closable:!0,placement:"bottom",open:!!$n,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ae.drawerWrap}`,onClose:()=>{window.saveDrawData(kn=>{dn({src:`/api/attachments/${kn}`,id:kn})})},title:ee.createElement(vt.Z,{align:"middle"},ee.createElement(Pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ee.createElement(Pt.Z,{onClick:()=>{Xt(Lt==="60px"?"100vh":"60px")}},ee.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ee.createElement(Pt.Z,{onClick:()=>{window.saveDrawData(kn=>{if(kn===null){st.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}st.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),dn({src:`/api/attachments/${kn}`,id:kn,disabledClose:!0})})}},ee.createElement(Te.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ee.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${xn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:zn})))}),se=oe(35783),re=oe(47889),me=oe(4875);const ye=re.ZP.Group,rt={margin:"0 8px"};var Ae=({callback:ln,onCancel:xn})=>{function dn(Mn){ln(Mn)}return te.createElement(He.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dn},te.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},te.createElement("span",{style:rt},"\u5355\u5143\u683C\u6570\uFF1A"),te.createElement("span",{style:rt},"\u884C\u6570"),te.createElement(He.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},te.createElement(me.Z,null)),te.createElement("span",{style:rt},"\u5217\u6570"),te.createElement(He.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},te.createElement(me.Z,null))),te.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},te.createElement("span",{style:rt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),te.createElement(He.default.Item,{name:"align"},te.createElement(ye,null,te.createElement(re.ZP,{value:"default"},te.createElement("i",{className:"fa fa-align-justify"})),te.createElement(re.ZP,{value:"left"},te.createElement("i",{className:"fa fa-align-left"})),te.createElement(re.ZP,{value:"center"},te.createElement("i",{className:"fa fa-align-center"})),te.createElement(re.ZP,{value:"right"},te.createElement("i",{className:"fa fa-align-right"}))))),te.createElement("div",{className:"flex-container flex-end"},te.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(Te.ZP,{type:"ghost",onClick:xn},"\u53D6\u6D88")))},Ze=oe(58755),tt=oe(45936),gt=oe.n(tt),Ft=(0,te.forwardRef)(({use3d:ln,width:xn,height:dn,callback:Mn,showSaveButton:Gn},zn)=>{const Tn=(0,te.useRef)(),Yn=(0,te.useRef)(),[Xn,$n]=(0,te.useState)(!1),jn=(0,te.useRef)({id:Tn,appName:"graphing",width:xn||1e3,height:dn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,te.useEffect)(()=>{Yn.current=new(gt())(jn.current,!0),window.onload=function(){Yn.current.inject("applet_container")}},[]);const Lt=()=>{var Xt=window.ggbApplet.getPNGBase64(1,!0,72);return Mn&&Mn(Xt),Xt};return(0,te.useEffect)(()=>{jn.current.appName=Xn?"3D":"graphing",Yn.current.inject("applet_container")},[Xn]),(0,te.useEffect)(()=>{$n(ln)},[ln]),(0,te.useImperativeHandle)(zn,()=>({getImgData:Lt})),te.createElement(te.Fragment,null,te.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Tn}),te.createElement(vt.Z,{align:"middle"},te.createElement(Pt.Z,{flex:1},te.createElement(Ze.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Xn,onChange:Xt=>$n(Xt)})),te.createElement(Pt.Z,null,te.createElement(Te.ZP,{size:"large",onClick:Lt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Nt=oe(9043);const Mt="link",Jt="upload-image",Wt="add-flowchart",Gt="draw-image",ft="add-flowchart",Ht="code-block",Dt="add-table",Rt="------------",nn={default:Rt,left:`:${Rt}`,center:`:${Rt}:`,right:`${Rt}:`};var Cn=oe(2408),fn=oe(68911);function Pe(){}let _e=0;const nt=1e4,kt="\u2581",$t="@\u2581\u2581@",un="@\u2581@",On=`
|
|
|
**\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`,Pn=["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 an(ln){return/^\d+$/.test(ln)?`${ln}px`:ln}const mn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Un={[mn+"-B"]:"bold",[mn+"-I"]:"italic"},vn={[Mt]:"\u6DFB\u52A0\u94FE\u63A5",[Ht]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Jt]:"\u6DFB\u52A0\u56FE\u7247",[Gt]:"\u6DFB\u52A0\u753B\u56FE",[Wt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Dt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Bn=({defaultValue:ln="",onChange:xn,width:dn="100%",height:Mn=400,miniToolbar:Gn=!1,isFocus:zn=!1,watch:Tn,insertTemp:Yn,mode:Xn="markdown",id:$n="markdown-editor-id",showResizeBar:jn=!1,noStorage:Lt=!1,showNullButton:Xt=!1,showNullProgramButton:kn=!1,hidetoolBar:Qn=!1,fullScreen:ke=!1,onBlur:Ye,onCMBeforeChange:be,onFullScreen:Oe,className:we="",disablePaste:Fe=!1,disabled:ut=!1,disabledFill:Ut=!1,placeholder:Yt="",values:rn="",extraUse:Tt,onAddBlank:xt})=>{const[yt,Qt]=(0,te.useState)(null),[gn,hn]=(0,te.useState)(ln),[pn,Vn]=(0,te.useState)(Tn),[Jn,qn]=(0,te.useState)(ke),[Nn,An]=(0,te.useState)(""),[Dn,Hn]=(0,te.useState)(0),[ur,_n]=(0,te.useState)(Mn),[lr,ir]=(0,te.useState)(!1),[er,tr]=(0,te.useState)(0),[vr,mr]=(0,te.useState)(0),cr=(0,te.useRef)(),gr=(0,te.useRef)(),xr=(0,te.useRef)(),or=(0,te.useRef)(),dr=(0,te.useRef)(),Rn=(0,te.useRef)(),wr=(0,Ke.useDispatch)();(0,te.useEffect)(()=>{const _t=window.scrollY||window.pageYOffset;hn(rn),yt==null||yt.setValue(rn),window.scrollTo(0,_t)},[rn]),(0,te.useEffect)(()=>{Oe==null||Oe(Jn)},[Jn]),(0,te.useEffect)(()=>{if(cr.current){let _t=function(wn,Sn){var rr;if(Fe){Sn.preventDefault();return}const Br=Sn.clipboardData;if(Br){const br=Br.types.toString(),Pr=Br.items;if(br==="Files"||Br.types.indexOf("Files")>-1){if(Sn.preventDefault(),Xn=="stex")return;try{let Lr=Pr[1];((rr=Pr[0])==null?void 0:rr.kind)==="file"&&(Lr=Pr[0]);const Mr=Lr.getAsFile(),zr=Mr.name.split(".").pop();(0,Re.I)(Mr,kr=>{var Ur,ti,Li;kr.id?((Ur=Mr==null?void 0:Mr.type)==null?void 0:Ur.indexOf("image"))>-1?en.replaceSelection(`<img width="100%" src="/api/attachments/${kr.id}?type=${kr.content_type})" alt="" />`):((ti=Mr==null?void 0:Mr.type)==null?void 0:ti.indexOf("video"))>-1?en.replaceSelection(`<video width="100%" controls src="/api/attachments/${kr.id}"></video>`):((Li=Mr==null?void 0:Mr.type)==null?void 0:Li.indexOf("pdf"))>-1?en.replaceSelection(`<a href="/api/attachments/${kr.id}?type=${Mr.type}&disposition=inline" target="_blank">${Mr.name}</a>`):Pn.includes(zr)?en.replaceSelection(`<a href="/api/attachments/${kr.id}?type=office&disposition=inline" target="_blank">${Mr.name}</a>`):en.replaceSelection(`[${Mr.name}](/api/attachments/${kr.id}?type=${kr.content_type})`):(kr==null?void 0:kr.status)===401&&(document.location.href="/user/login")})}catch(Lr){st.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const en=ze().fromTextArea(cr.current,{mode:Xn,lineNumbers:!Gn,lineWrapping:!0,value:ln,autoCloseTags:!0,autoCloseBrackets:!0});return en.on("keyup",function(wn,Sn){Sn.keyCode===8&&(wn.getValue()==""?en.setOption("placeholder",Yt):en.setOption("placeholder",null))}),en.on("keydown",function(wn,Sn){if(Sn.keyCode===8){var rr=Zr(wn);rr&&Sn.preventDefault()}}),zn&&en.focus(),en.on("paste",_t),ut&&en.on("beforeChange",function(wn,Sn){(Sn.origin==="paste"||Sn.origin==="+input")&&Sn.cancel()}),Qt(en),()=>{en.off("paste",_t)}}},[]);const Nr=(0,te.useCallback)(()=>{if(gr.current)try{}catch(_t){console.log(_t,"---- to set md editor body height")}},[ur,gr,Jn]);(0,te.useEffect)(()=>{function _t(){let en=new Ce.Z(wn=>{for(let Sn of wn)(Sn.target.offsetHeight>0||Sn.target.offsetWidth>0)&&(Nr(),yt.setSize("100%","100%"),yt.refresh())});return en.observe(cr.current.parentElement),en}if(yt){const en=_t();return()=>{var wn,Sn;(wn=cr.current)!=null&&wn.parentElement&&en.unobserve((Sn=cr.current)==null?void 0:Sn.parentElement)}}},[yt,Nr]),(0,te.useEffect)(()=>{if(yt){let _t=[];for(const[en,wn]of Object.entries(Un)){let Sn={[en]:()=>{Ar(wn)}};_t.push(Sn),yt.addKeyMap(Sn)}return()=>{for(let en of _t)yt.removeKeyMap(en)}}},[yt]),(0,te.useEffect)(()=>{ke!==Jn&&qn(ke)},[ke]),(0,Cn.Z)(()=>{if(!Lt&&Dn>0){let _t=new Date().getTime(),en=window.sessionStorage.getItem($n);_t>=Dn+nt&&(!en||en!==gn)&&(window.sessionStorage.setItem($n,gn),ir(!0))}},nt),(0,te.useEffect)(()=>{Vn(Tn)},[yt,Tn]),(0,te.useEffect)(()=>{yt&&zn&&yt.focus()},[yt,zn]),(0,te.useEffect)(()=>{if(pn&&yt){let _t=function(wn){let Sn=wn.target;if(or.current){let rr=Sn.scrollTop/Sn.scrollHeight;or.current.scrollTop=or.current.scrollHeight*rr}};const en=yt.getScrollerElement();return en.addEventListener("scroll",_t),()=>{en.removeEventListener("scroll",_t)}}},[yt,pn]),(0,te.useEffect)(()=>{if(yt&&be){let _t=function(en,wn){be(en,wn)};return yt.on("beforeChange",_t),()=>{yt.off("beforeChange",_t)}}},[yt,be]),(0,te.useEffect)(()=>{if(yt&&Ye){let _t=function(){Ye(yt.getValue())};return yt.on("blur",_t),()=>{yt.off("blur",_t)}}},[yt,Ye]);function Zr(_t,en){var wn=_t.getDoc(),Sn=wn.getCursor(),rr=wn.getLine(Sn.line),Br=rr.charAt(Sn.ch-1),br=rr.lastIndexOf("@\u2581@",Sn.ch),Pr=rr.lastIndexOf("@\u2581\u2581@",Sn.ch),Lr=br>Pr?br:Pr,Mr=br>Pr?3:4;if($t.indexOf(Br)===-1)return null;if(console.log("change1:",en,_t,rr,Sn,Lr,br,Pr,Br),Lr>=0&&Sn.ch-Lr<5){var zr=Lr+Mr;return wn.replaceRange("",{line:Sn.line,ch:Lr},{line:Sn.line,ch:zr}),{line:Sn.line,ch:zr}}return null}(0,te.useEffect)(()=>{if(yt){let _t=function(en,wn){const Sn=en.getValue();hn(Sn),Hn(new Date().getTime()),en.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),xn&&(kn?xn(Sn,on(Sn)):xn(Sn))};return yt.on("change",_t),()=>{yt.off("change",_t)}}},[yt,xn]),(0,te.useEffect)(()=>{if(yt)if(ln==null)yt.setValue(""),hn("");else{const _t=window.scrollY||window.pageYOffset;ln!==yt.getValue()&&(yt.setValue(ln),hn(ln),yt.setCursor(ut?1:yt.lineCount(),0),window.scrollTo(0,_t))}},[yt,ln]);const Ar=(0,te.useCallback)(_t=>{const en=yt.getCursor(),wn=yt.getSelection();let Sn=wn.split(`
|
|
|
`);switch(_t){case"bold":return yt.replaceSelection("**"+wn+"**"),wn===""&&yt.setCursor(en.line,en.ch+2),yt.focus();case"italic":return yt.replaceSelection("*"+wn+"*"),wn===""&&yt.setCursor(en.line,en.ch+1),yt.focus();case"code":return yt.replaceSelection("`"+wn+"`"),wn===""&&yt.setCursor(en.line,en.ch+1),yt.focus();case"inline-latex":return(0,fn.Ye)(wr)?void 0:(An("inline-latex"),yt.focus());case"latex":return yt.replaceSelection("```latex\n"+wn+"\n```"),yt.setCursor(en.line+1,wn.length+1),yt.focus();case"line-break":return yt.replaceSelection(`<br/>
|
|
|
`),yt.focus();case"list-ul":return wn===""?yt.replaceSelection("- "+wn):yt.replaceSelection(Sn.map(rr=>rr===""?"":`- ${rr}`).join(`
|
|
|
`)),yt.focus();case"list-ol":return wn===""?yt.replaceSelection("1. "+wn):yt.replaceSelection(Sn.map((rr,Br)=>rr===""?"":`${Br+1}. ${rr}`).join(`
|
|
|
`)),yt.focus();case"add-null-ch":xt==null||xt();return;case"add-signal":return wn===""&&yt.setCursor(en.line,en.ch),yt.replaceSelection(un),yt.focus();case"add-multiple":return wn===""&&yt.setCursor(en.line,en.ch),yt.replaceSelection($t),yt.focus();case"inster-template-1":return wn===""&&yt.setCursor(en.line,en.ch),yt.replaceSelection(On),yt.focus();case"eraser":return yt.setValue(""),yt.focus();case"trigger-watch":return Vn(!pn),yt.focus();case"trigger-full-screen":return qn(!Jn),yt.focus();case Mt:An(Mt);return;case Ht:An(Ht);return;case Jt:An(Jt);return;case Gt:An(Gt);return;case"maths-latex":if((0,fn.Ye)(wr))return;An("maths-latex");return;case Wt:dr.current="",sessionStorage.removeItem("file_id"),An(Wt);return;case Dt:An(Dt);return;default:throw new Error}},[yt,pn,Jn]),Fr=(0,te.useCallback)((_t,en)=>{var wn,Sn,rr,Br,br,Pr;_t!=null&&_t.disabledClose||An("");const{src:Lr,alt:Mr,id:zr}=_t||{};switch(Nn){case Mt:const{title:Wi,link:Ci}=_t;return yt.replaceSelection(`[${Wi}](${Ci})`),yt.focus();case Ht:const{language:mi,content:Qi}=_t;return yt.replaceSelection(["```"+mi,Qi,"```"].join(`
|
|
|
`)),yt.focus();case"maths-latex":for(var kr=atob(_t),Ur=new Uint8Array(kr.length),ti=0;ti<kr.length;ti++)Ur[ti]=kr.charCodeAt(ti);var Li=new Blob([Ur],{type:"image/png"});(0,Re.I)(Li,gi=>{gi.id?yt.replaceSelection(``):(gi==null?void 0:gi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,fn.Ye)(wr))return;yt.replaceSelection("`$$"+_t+"$$`");break;case ft:if(!zr)return;yt.getValue().indexOf(Lr)===-1?yt.replaceSelection(`<center><img id="${zr}" width="80%" src="${Lr}" class="draw-flowchart" alt="${Mr||""}" /></center>`):document.getElementById(zr).src=se.Z.API_SERVER+Lr+"?t="+Date.now();break;case Jt:case Gt:const Or=en,to=(rr=(Sn=(wn=Or==null?void 0:Or.name)==null?void 0:wn.split("."))==null?void 0:Sn.pop)==null?void 0:rr.call(Sn);return((Br=Or==null?void 0:Or.type)==null?void 0:Br.indexOf("image"))>-1||!(Or!=null&&Or.type)?Or!=null&&Or.align||Or!=null&&Or.width?yt.replaceSelection(`<p style="text-align:${Or.align||"initial"}"><img width="${Or.width?Or.width+"%":"initial"}" src="${Lr}" alt="${Mr||""}" /></p>`):yt.replaceSelection(`<img width="100%" src="${Lr}" alt="${Mr||""}" />`):((br=Or==null?void 0:Or.type)==null?void 0:br.indexOf("video"))>-1?yt.replaceSelection(`<video width="100%" controls src="${Lr}"></video>`):((Pr=Or==null?void 0:Or.type)==null?void 0:Pr.indexOf("pdf"))>-1?yt.replaceSelection(`<a href="${Lr}?type=${Or.type}&disposition=inline" target="_blank">${Or.name}</a>`):Pn.includes(to)?yt.replaceSelection(`<a href="${Lr}?type=office&disposition=inline" target="_blank">${Or.name}</a>`):yt.replaceSelection(`[${Or.name}](${Lr})`),yt.focus();case Dt:const{row:ni,col:Oi,align:ao}=_t;let Ji=`
|
|
|
`;for(let gi=0;gi<ni;gi++){let Fi=[],Gr=[];for(let Ri=0;Ri<Oi;Ri++)gi===1&&Gr.push(nn[ao]),Fi.push(" ");gi===1&&(Ji+=`| ${Gr.join(" | ")} |
|
|
|
`),Ji+=`| ${Fi.join(Oi===1?"":" | ")} |
|
|
|
`}return yt.replaceSelection(Ji+`
|
|
|
`),yt.focus();default:throw new Error}},[yt,Nn]),Er=(0,te.useMemo)(()=>{switch(Nn){case Mt:return te.createElement(Zt,{callback:Fr,onCancel:Dr});case Ht:return te.createElement(St.Z,{callback:Fr,onCancel:Dr});case Jt:return te.createElement(Re.Z,{callback:Fr,onCancel:Dr});case Wt:return te.createElement(ie,{editImgId:dr.current,callback:Fr,onCancel:Dr});case Dt:return te.createElement(Ae,{callback:Fr,onCancel:Dr});case"maths-latex":return te.createElement(Ft,{showSaveButton:!0,callback:Fr});case"inline-latex":return te.createElement(Nt.Z,{showSaveButton:!0,callback:Fr});default:return null}},[Nn]);function Dr(){An("")}(0,te.useEffect)(()=>{if(xr.current){let _t=function(br){rr=!0,Br=br.pageY},en=function(){rr=!1},wn=function(br){if(rr){let Pr=br.pageY-Br;Pr<0&&(Pr=0),Pr>300&&(Pr=300);let Lr=Mn+Pr+"px";_n(Lr)}},Sn=xr.current,rr=!1,Br=0;return Sn.addEventListener("mousedown",_t),document.addEventListener("mousemove",wn),document.addEventListener("mouseup",en),()=>{Sn.removeEventListener("mousedown",_t),document.removeEventListener("mousemove",wn),document.removeEventListener("mouseup",en)}}},[yt,xr]),(0,te.useEffect)(()=>{_n(Mn)},[Mn]);const Rr=an(dn),fr=an(ur),Kn={width:Rr,height:fr},qt=(0,te.useMemo)(()=>{if(Dn){let _t=new Date(Dn),en=_t.getHours(),wn=_t.getMinutes(),Sn=_t.getSeconds();return en=en<10?"0"+en:en,wn=wn<10?"0"+wn:wn,Sn=Sn<10?"0"+Sn:Sn,`${en}:${wn}:${Sn}`}return 0},[Dn]),on=_t=>{const en=[];if(kn){let wn=-1;_t=_t.replace(/(@▁▁@|@▁@)/g,function(Sn,rr,Br){en.push({multiLine:Sn!==un})})}return en};function tn(){window.sessionStorage.removeItem($n),ir(!1),Hn(0)}function jt(){ir(!1),Hn(0),yt.setValue(window.sessionStorage.getItem($n))}(0,te.useEffect)(()=>{vn[Nn]&&Nn!==Gt&&Nn!==Wt&&setTimeout(()=>{const _t=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth/2-_t.offsetWidth/2,wn=window.innerHeight/2-_t.offsetHeight/2;tr(en),mr(wn)},0)},[Nn]);const En=_t=>{_t.preventDefault();const en=_t.clientX-er,wn=_t.clientY-vr;document.body.onmousemove=Sn=>{let rr=Sn.clientX-en,Br=Sn.clientY-wn;const br=document.getElementsByClassName("markdown-popup-form")[0],Pr=window.innerWidth-br.offsetWidth,Lr=window.innerHeight-br.offsetHeight;rr=Math.max(0,Math.min(rr,Pr)),Br=Math.max(0,Math.min(Br,Lr)),Fn(Sn.clientX,Sn.clientY,en,wn)&&(tr(rr),mr(Br))},document.body.onmouseup=function(){document.body.onmousemove=null}},Fn=(_t,en,wn,Sn)=>{const rr=document.body.clientHeight,Br=document.body.clientWidth;return _t<20&&wn>_t||_t>Br-20&&wn<_t||en<20&&Sn>en||en>rr-20&&Sn<en?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return te.createElement(te.Fragment,null,te.createElement("div",{className:"markdown-editor-wrapper",ref:gr},te.createElement("div",{className:`markdown-editor-container ${we} ${pn?"on-preview":""} ${Gn?"mini":""} ${Jn?"full-screen":""}`,style:Kn},te.createElement(bt,{insertTemp:Yn,watch:pn,fullScreen:Jn,showNullButton:Xt,showNullProgramButton:kn,onActionCallback:Ar,hidetoolBar:Qn,extraUse:Tt}),te.createElement("div",{className:"markdown-editor-body"},te.createElement("div",{className:"codemirror-container"},te.createElement("textarea",{ref:cr,placeholder:Yt})),pn?te.createElement("div",{ref:or,className:"preview-container"},Xn==="stex"&&te.createElement(mt,{value:gn}),Xn!=="stex"&&te.createElement(ve.Z,{edit:!0,disabledFill:Ut,showProgramFill:kn,value:gn,openEditor:_t=>{var en;dr.current=_t,(en=Rn.current)==null||en.setHeight("100vh"),setTimeout(()=>{An("add-flowchart")},150)}})):null))),jn?te.createElement("a",{ref:xr,className:"editor-resize"}):null,Nn===Gt&&te.createElement(Bt,{callback:Fr,onCancel:Dr}),Nn===Wt&&te.createElement(ie,{ref:Rn,editImgId:dr.current,callback:Fr,onCancel:Dr}),te.createElement(Je.Z,null,vn[Nn]&&Nn!==Gt&&Nn!==Wt?te.createElement(at.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:er,top:vr},title:te.createElement("div",{style:{cursor:"move"},onMouseDown:En},vn[Nn]),open:!0,onCancel:Dr,footer:null,destroyOnClose:!0,width:Nn===Wt?"1200px":null,height:Nn===Wt?"80vh":null,className:"markdown-popup-form"},Er):null))}},79203:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return qe},I:function(){return bt}});var te=oe(28284),Ke=oe(6767),ge=oe(37568),ze=oe(44104),Ce=oe(4875),xe=oe(47889),Me=oe(7939),Ue=oe(8240),Ee=oe(59301),de=oe(59301),Ve=Object.defineProperty,ve=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Le=(Je,He,ot)=>He in Je?Ve(Je,He,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Je[He]=ot,Qe=(Je,He)=>{for(var ot in He||(He={}))Be.call(He,ot)&&Le(Je,ot,He[ot]);if(Xe)for(var ot of Xe(He))Ie.call(He,ot)&&Le(Je,ot,He[ot]);return Je},ht=(Je,He)=>ve(Je,mt(He));const{useForm:wt}=te.default,ct={width:280,marginRight:10},$e={labelCol:{span:5},wrapperCol:{span:19}};var qe=({callback:Je,onCancel:He})=>{const[ot]=wt();let Te=(0,Ee.useRef)();function it(Et){Te.current.width=ot.getFieldValue("width"),Te.current.align=ot.getFieldValue("align"),Je(Et,Te.current)}function et(Et,De){if(Et.status===-1){Ke.ZP.error(Et.message);return}ot.setFieldsValue({src:`/api/attachments/${Et.id}`,type:De.type})}function he(Et){let De=Et.target.files[0];Te.current=De,bt(De,et)}return de.createElement(te.default,ht(Qe({form:ot},$e),{className:"upload-image-panel",onFinish:it,style:{width:470,overflow:"hidden"}}),de.createElement(te.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(te.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},de.createElement(ge.default,{style:ct})),de.createElement(je,{onFileChange:he}))),de.createElement(te.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(ge.default,{style:{width:264}})),de.createElement(te.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(ze.Z,null,de.createElement(te.default.Item,{name:"width",style:{margin:0}},de.createElement(Ce.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(te.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.createElement(xe.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(te.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(Me.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function je({onFileChange:Je}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:Je}))}function bt(Je,He){if(!Je)throw new String("\u6CA1\u6709\u6587\u4EF6");let ot=new FormData;ot.append("editormd-image-file",Je),ot.append("file_param_name","editormd-image-file"),ot.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(it){He(JSON.parse(it.target.responseText),Je)},!1),Te.addEventListener("error",function(it){console.error(it)},!1),Te.open("POST",`${Ue.KI}/api/attachments.json`),Te.send(ot)}},88969:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return ge}});var te=oe(59301),Ke=oe(4676);class ge extends te.Component{constructor(Ce){super(Ce);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:Ce}=this.props;return(0,Ke.createPortal)(Ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},94871:function(Vt,Ot,oe){"use strict";oe.d(Ot,{SV:function(){return Bt},ZP:function(){return dt}});var te=oe(59301),Ke=oe(76374);const ge={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},ze={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Ce={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(`
|
|
|
`)}]},xe={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(`
|
|
|
`)}]},Me={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 Ue=oe(53184),Ee=oe.n(Ue),de=(Ne,Pt,st)=>new Promise((ae,ee)=>{var z=re=>{try{se(st.next(re))}catch(me){ee(me)}},ie=re=>{try{se(st.throw(re))}catch(me){ee(me)}},se=re=>re.done?ae(re.value):Promise.resolve(re.value).then(z,ie);se((st=st.apply(Ne,Pt)).next())});const Ve={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"]}},ve=(Ne,Pt,st,ae)=>{const ee=Pt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:st.lineNumber,endColumn:st.column});return Array.from(new Set(ee.match(/\b\w{2,}\b/g)||[])).map(ie=>({label:ie,kind:Ne.languages.CompletionItemKind.Text,insertText:ie,range:ae}))},mt=(Ne,Pt,st,ae)=>{Ne.languages.registerCompletionItemProvider(Pt,{provideCompletionItems(ee,z){const ie=ee.getWordUntilPosition(z),se={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:ie.startColumn,endColumn:ie.endColumn},re=ee.getLineContent(z.lineNumber).substring(ie.startColumn-2,ie.endColumn);return{suggestions:[...ve(Ne,ee,z,se),...st.map(ye=>({label:ye,kind:Ne.languages.CompletionItemKind.Keyword,documentation:ye,insertText:ye,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...ae.map(ye=>({label:ye.label,kind:Ne.languages.CompletionItemKind.Snippet,documentation:ye.content,insertText:re.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Xe=Ne=>{Ve.languages.forEach(Pt=>{Ne.languages.registerDocumentFormattingEditProvider(Pt,{provideDocumentFormattingEdits(st){return de(this,null,function*(){const ae=Ee()(st.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:st.getFullModelRange(),text:ae}]})}})}),mt(Ne,"java",ze.keywords,ze.quickKey),mt(Ne,"cpp",Ce.keywords,Ce.quickKey),mt(Ne,"c",ge.keywords,[]),mt(Ne,"python",xe.keywords,xe.quickKey),mt(Ne,"scala",Me.keywords,Me.quickKey)};const Be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ie=Object.defineProperty,Le=(Ne,Pt,st)=>Pt in Ne?Ie(Ne,Pt,{enumerable:!0,configurable:!0,writable:!0,value:st}):Ne[Pt]=st,Qe=(Ne,Pt,st)=>Le(Ne,typeof Pt!="symbol"?Pt+"":Pt,st);const ht=class Rs{constructor(Pt,st,ae){this.placeholder=Pt,this.editor=st,this.monaco=ae,st.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Rs.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)}};Qe(ht,"ID","editor.widget.placeholderHint");var ct=ht,$e=oe(96236),qe=oe(6767),je=oe(25399),bt=oe(89392),Je=oe(99936),He=oe(56102),ot=Object.defineProperty,Te=Object.defineProperties,it=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,De=(Ne,Pt,st)=>Pt in Ne?ot(Ne,Pt,{enumerable:!0,configurable:!0,writable:!0,value:st}):Ne[Pt]=st,It=(Ne,Pt)=>{for(var st in Pt||(Pt={}))he.call(Pt,st)&&De(Ne,st,Pt[st]);if(et)for(var st of et(Pt))Et.call(Pt,st)&&De(Ne,st,Pt[st]);return Ne},zt=(Ne,Pt)=>Te(Ne,it(Pt)),Se=(Ne,Pt)=>{var st={};for(var ae in Ne)he.call(Ne,ae)&&Pt.indexOf(ae)<0&&(st[ae]=Ne[ae]);if(Ne!=null&&et)for(var ae of et(Ne))Pt.indexOf(ae)<0&&Et.call(Ne,ae)&&(st[ae]=Ne[ae]);return st},fe=(Ne,Pt,st)=>new Promise((ae,ee)=>{var z=re=>{try{se(st.next(re))}catch(me){ee(me)}},ie=re=>{try{se(st.throw(re))}catch(me){ee(me)}},se=re=>re.done?ae(re.value):Promise.resolve(re.value).then(z,ie);se((st=st.apply(Ne,Pt)).next())});function pt(Ne){return/^\d+$/.test(Ne)?`${Ne}px`:Ne}function Zt(){}let St=!1;const Re={"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 at(Ne=[]){let Pt=Ne;if(Array.isArray(Ne)){for(let st=0;st<Ne.length;st++){let ae=Re[Ne[st]];if(ae)return ae}return Pt[0]}return Re[Pt]||Pt}let vt=null;const sn=()=>fe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ne){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ne)}});var dt=Ne=>{var Pt=Ne,{width:st="100%",height:ae="100%",value:ee,language:z="javascript",style:ie={},options:se={},overrideServices:re={},theme:me="vs-dark",onEditBlur:ye,isCopy:rt=!1,onSave:Ae,autoHeight:Ze=!1,forbidCopy:tt=!1,forbidCopyTips:gt,onChange:lt=Zt,editorDidMount:Ft=Zt,onFocus:Nt=Zt,onBreakPoint:Mt=Zt,breakPointValue:Jt=[],filename:Wt="educoder.txt",errorLine:Gt,errorContent:ft="",highlightLine:Ht,openBreakPoint:Dt=!1,placeholder:Rt="",showMiniMap:nn=!0}=Pt,Cn=Se(Pt,["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 fn=(0,te.useRef)(),Pe=(0,te.useRef)({}),_e=(0,te.useRef)(),nt=(0,te.useRef)(),kt=(0,te.useRef)([]),$t=(0,te.useRef)(!1),un=(0,te.useRef)(),On=(0,te.useRef)(),Pn=(0,te.useRef)(!1),[an,yn]=(0,te.useState)(!1);function mn(){let Lt;return fn.current&&(Lt=new Ke.Z(Xt=>{for(let kn of Xt)(kn.target.offsetHeight>0||kn.target.offsetWidth>0)&&Pe.current.instance.layout()}),Lt.observe(fn.current)),Lt}function Un(){qe.ZP.warning({content:decodeURIComponent(gt||Be),key:"monaco-editor-tip"})}const vn=()=>{let Lt=Pe.current.instance;if(ee!=null&&Lt&&an){const Xt=Lt.getModel();Xt&&ee!==Xt.getValue()&&(St=!0,Xt.setValue(ee),Lt.layout(),St=!1)}};(0,te.useEffect)(()=>{const Lt=Je.Z.subscribe("formatDocument",Xt=>{var kn;let Qn=Pe.current.instance;(kn=Qn==null?void 0:Qn.getAction)==null||kn.call(Qn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Xt=>{lt(Xt)},Lt},[]),(0,te.useEffect)(()=>{var Lt;let Xt=Pe.current.instance;nt.current&&clearTimeout(nt.current),nt.current=setTimeout(()=>{vn()},500),ee&&(ee!=null&&ee.length)&&((Lt=Xt==null?void 0:Xt.updateOptions)==null||Lt.call(Xt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ee.split(/\r\n|\r|\n/g).length))+3,5)}))},[ee,an,Pe.current]),(0,te.useEffect)(()=>{if(Gt&&Pe.current&&Pe.current.instance){let Xt=Pe.current.instance;Xt.changeViewZones(function(kn){var Qn=document.createElement("div");Qn.style.padding="10px 20px",Qn.style.width="calc(100% - 20px)",Qn.className="my-error-line-wrp",Qn.innerHTML=ft,kn.addZone({afterLineNumber:Gt||11,heightInLines:3,domNode:Qn})});var Lt={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}};Xt.addOverlayWidget(Lt),Xt.revealPositionInCenter({lineNumber:20,column:1})}},[Gt,Pe.current,an]);const Bn=(Lt="",Xt)=>{if(!Lt||Lt.trim()==="")return!0;const Qn=Pe.current.instance.getModel().getLineTokens(Xt);let ke=!1;for(let Ye=0;Ye<2;Ye++)Qn.getStandardTokenType(Ye)===1&&(ke=!0);return ke};(0,te.useEffect)(()=>{var Lt;const Xt=(Lt=Pe.current)==null?void 0:Lt.instance;if(Xt&&an&&tt){const kn=Xt.onDidBlurEditorWidget(()=>{Pn.current=!1}),Qn=Xt.onDidFocusEditorText(()=>{Pn.current=!0});return()=>{kn.dispose(),Qn.dispose()}}},[Pe.current,an,tt]),(0,te.useEffect)(()=>{var Lt;if((Lt=Pe.current)!=null&&Lt.instance&&an&&Dt){let Xt=Pe.current.instance,kn=Xt.getModel();if(!kn)return;(()=>{var Tt;let xt=[],yt=[];const Qt=kn.getAllDecorations();for(let hn of Qt)hn.options.className==="highlighted-line"&&(xt.push((Tt=hn==null?void 0:hn.range)==null?void 0:Tt.startLineNumber),yt.push(hn==null?void 0:hn.id));if(Ht===xt[0])return;kn.deltaDecorations(yt,[]);const gn=kn.getLineCount();Ht&&Ht<=gn&&(Xt.deltaDecorations([],[{range:new vt.Range(Ht,1,Ht,kn.getLineMaxColumn(Ht)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Xt.revealLineInCenter(Ht))})();const ke=(Tt=!1)=>{var xt;let yt=[],Qt=[];const gn=kn.getAllDecorations();for(let hn of gn)hn.options.linesDecorationsClassName==="breakpoints-select"&&(yt.push((xt=hn==null?void 0:hn.range)==null?void 0:xt.startLineNumber),Qt.push(hn==null?void 0:hn.id));if(Tt)return{lines:yt,ids:Qt};Mt(yt)},Ye=Tt=>fe(void 0,null,function*(){let xt={range:new vt.Range(Tt,1,Tt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield kn.deltaDecorations([],[xt]),ke()}),be=Tt=>fe(void 0,null,function*(){let xt=[];const yt=Xt.getLineDecorations(Tt);for(let Qt of yt)Qt.options.linesDecorationsClassName==="breakpoints-select"&&xt.push(Qt.id);yield kn.deltaDecorations(xt,[]),ke()}),Oe=Tt=>{let xt=Xt.getLineDecorations(Tt);for(let yt of xt)if(yt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,bt.isEqual)(Jt,ke(!0).lines)){kn.deltaDecorations(ke(!0).ids,[]);const Tt=Jt.map(xt=>({range:new vt.Range(xt,1,xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));kn.deltaDecorations([],Tt)}const we=Xt.onDidChangeModelContent(Tt=>{let xt=Xt.getPosition();if(xt){let yt=xt.lineNumber;clearTimeout(On.current),On.current=setTimeout(()=>{Bn(kn.getLineContent(yt),yt)?be(yt):Oe(yt)?(be(yt),Ye(yt)):ke()},100)}}),Fe=Xt.onMouseDown(Tt=>{var xt,yt,Qt;if(Tt.target.detail&&((Qt=(yt=(xt=Tt.target)==null?void 0:xt.element)==null?void 0:yt.className)!=null&&Qt.includes("line-numbers"))){let gn=Tt.target.position.lineNumber;if(Bn(kn.getLineContent(gn),gn))return;Oe(gn)?be(gn):Ye(gn)}}),ut=Tt=>{let xt={range:new vt.Range(Tt,1,Tt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};kt.current=Xt.deltaDecorations(kt.current,[xt])},Ut=()=>{kt.current=Xt.deltaDecorations(kt.current,[])},Yt=Xt.onMouseMove(Tt=>{var xt,yt,Qt;if(Ut(),Tt.target.detail&&((Qt=(yt=(xt=Tt.target)==null?void 0:xt.element)==null?void 0:yt.className)!=null&&Qt.includes("line-numbers"))){let gn=Tt.target.position.lineNumber;if(Bn(kn.getLineContent(gn),gn))return;ut(gn)}}),rn=Xt.onMouseLeave(()=>{Ut()});return()=>{we.dispose(),Fe.dispose(),Yt.dispose(),rn.dispose()}}},[Pe.current,an,Jt,Ht,Dt,z]),(0,te.useEffect)(()=>{var Lt;(Lt=Pe.current)!=null&&Lt.instance&&Dt&&Pe.current.instance.setPosition({lineNumber:0,column:0})},[Ht]);function ln(){let Lt=Pe.current.instance;if(Lt){const Xt=Lt.getSelection(),kn=Pe.current.pastePos||{},Qn=new vt.Range(kn.startLineNumber||Xt.endLineNumber,kn.startColumn||Xt.endColumn,kn.endLineNumber||Xt.endLineNumber,kn.endColumn||Xt.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:Qn,text:""}])},300)}}function xn(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),Ae())}const dn=()=>{if(Ze&&Pe.current.instance){const Lt=Pe.current.instance.getContentHeight();$n(Lt<ae?ae:Lt)}else $n(ae)};function Mn(Lt){var Xt=document.createEvent("MouseEvents");Xt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Lt.dispatchEvent(Xt)}const Gn=Lt=>{if(!Pn.current)return;const{keyCode:Xt,ctrlKey:kn,metaKey:Qn,target:ke,type:Ye}=Lt;return(Ye==="paste"||(Xt===67||Xt===86)&&(Qn||kn))&&ke.nodeName==="TEXTAREA"&&(Un(),Lt.preventDefault()),!1};function zn(Lt,Xt){var kn=window.URL||window.webkitURL||window,Qn=new Blob([Xt]),ke=document.createElementNS("http://www.w3.org/1999/xhtml","a");ke.href=kn.createObjectURL(Qn),ke.download=Lt,Mn(ke)}(0,te.useEffect)(()=>{dn()},[dn]),(0,te.useEffect)(()=>{fn.current&&!an&&Promise.all([oe.e(8909),oe.e(1859)]).then(oe.bind(oe,71448)).then(Lt=>{try{vt=Lt,Pe.current.instance=vt.editor.create(fn.current,{value:ee,language:at(z),theme:me,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:nn||!1}},re);const Xt=Pe.current.instance;let ke=[...$e.BH._menuItems].find(we=>we[0]._debugName=="EditorContext")[1],Ye=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],be=(we,Fe)=>{var ut,Ut;let Yt=we._first;do Fe.includes((Ut=(ut=Yt.element)==null?void 0:ut.command)==null?void 0:Ut.id)&&we._remove(Yt);while(Yt=Yt.next)};if(Ft(Xt,vt),setTimeout(()=>{dn(),Pe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{zn(Wt||"educoder.txt",Xt.getValue())}})},500),Pe.current.subscription=Xt.onDidChangeModelContent(we=>{$t.current?clearTimeout(un.current):(dn(),lt(Xt.getValue(),we)),un.current=setTimeout(()=>{$t.current=!1},500)}),window.Monaco||Xe(vt,at(z)),tt&&(be(ke,Ye),fn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Gn),window.removeEventListener("paste",Gn),window.addEventListener("keydown",Gn),window.addEventListener("paste",Gn)),window.Monaco=vt,ye&&Xt.onDidBlurEditorWidget(()=>{ye(Xt.getValue())}),Nt&&Xt.onDidFocusEditorText(()=>{tt&&sn(),Nt(Xt.getValue())}),tt){sn();try{Xt.onDidPaste(we=>{const Fe=Xt.getSelection(),ut=Pe.current.pastePos||{},Ut=new vt.Range(ut.startLineNumber||Fe.endLineNumber,ut.startColumn||Fe.endColumn,ut.endLineNumber||Fe.endLineNumber,ut.endColumn||Fe.endColumn);Xt.executeEdits("",[{range:we.range,text:""}])})}catch(we){}}let Oe=mn();return Rt&&typeof Rt=="string"&&new ct(Rt,Xt,vt),yn(!0),()=>{const we=Pe.current.instance;we.dispose();const Fe=we.getModel();Fe&&Fe.dispose(),Pe.current.subscription&&Pe.current.subscription.dispose(),Oe.unobserve(fn.current)}}catch(Xt){}})},[]),(0,te.useEffect)(()=>{if(Pe.current.instance&&an)return document.addEventListener("keydown",xn,!1),()=>{document.removeEventListener("keydown",xn)}},[Ae,an]),(0,te.useEffect)(()=>{let Lt=Pe.current.instance;if(Lt&&an){let Xt=at(z);vt.editor.setModelLanguage(Lt.getModel(),Xt)}},[z,an]),(0,te.useEffect)(()=>{Pe.current.instance&&an&&vt.editor.setTheme(me)},[me,an]),(0,te.useEffect)(()=>{let Lt=Pe.current.instance;_e.current=se,Lt&&an&&(Lt.updateOptions(It({},se)),setTimeout(()=>{Lt.getModel().updateOptions(It({},se))},200))},[JSON.stringify(se),an]),(0,te.useEffect)(()=>{let Lt=Pe.current.instance;Lt&&an&&Lt.layout()},[st,ae,an]);const[Tn,Yn]=(0,te.useState)(pt(st)),[Xn,$n]=(0,te.useState)(pt(ae)),jn=zt(It({},ie),{width:Tn,height:Xn,position:"relative"});return te.createElement("div",{className:"my-monaco-editor",ref:fn,style:jn,onFocus:()=>{tt&&sn()}},rt&&te.createElement(He.CopyToClipboard,{text:ee,onCopy:()=>qe.ZP.success("\u590D\u5236\u6210\u529F")},te.createElement(je.Z,{title:"\u590D\u5236\u4EE3\u7801"},te.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},te.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Bt({width:Ne="100%",height:Pt="100%",original:st,modified:ae,language:ee,options:z={}}){const ie=(0,te.useRef)(),[se,re]=(0,te.useState)(null);function me(Ze){let tt;return ie.current&&(tt=new Ke.Z(gt=>{for(let lt of gt)(lt.target.offsetHeight>0||lt.target.offsetWidth>0)&&Ze.layout()}),tt.observe(ie.current)),tt}(0,te.useEffect)(()=>(ie.current&&Promise.all([oe.e(8909),oe.e(9404)]).then(oe.bind(oe,2550)).then(Ze=>{vt=Ze;const tt=vt.editor.createDiffEditor(ie.current,zt(It({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},z),{wordWrap:!0}));re(tt);let gt=me(tt);return()=>{tt.dispose();const lt=tt.getModel();lt&<.dispose(),gt.unobserve(ie.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,te.useEffect)(()=>{se&&se.setModel({original:vt.editor.createModel(st,ee),modified:vt.editor.createModel(ae,ee)})},[st,ae,ee,se]);const ye=pt(Ne),rt=pt(Pt),Ae={width:ye,height:rt};return te.createElement("div",{className:"my-diff-editor",ref:ie,style:Ae})}},2408:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ke}});var te=oe(59301);function Ke(ge,ze){const Ce=(0,te.useRef)();(0,te.useEffect)(()=>{Ce.current=ge}),(0,te.useEffect)(()=>{function xe(){Ce.current()}if(ze!==null){let Me=setInterval(xe,ze);return()=>clearInterval(Me)}},[ze])}},91880:function(Vt,Ot,oe){"use strict";oe.r(Ot),oe.d(Ot,{default:function(){return sn}});var te=oe(59301),Ke=oe(63823),ge=oe(22972),ze=oe(28284),Ce=oe(6767),xe=oe(77019),Me=oe(5269),Ue=oe(93041),Ee=oe(458),de=oe(7939),Ve=oe(62957),ve=oe(37568),mt=oe(32862),Xe=oe(99050),Be=oe(56375),Ie=oe(35783),Le={flex_box_center:"flex_box_center___W5itf",flex_space_between:"flex_space_between___gui6v",flex_box_vertical_center:"flex_box_vertical_center___pD9t3",flex_box_center_end:"flex_box_center_end___ocOJP",flex_box_column:"flex_box_column___KhV4h",content:"content____xM73",title:"title___Q0EMb",menu:"menu___dbMGX",contcats:"contcats___uNFhe",cooperatives:"cooperatives___EVJ5n",imgWrp:"imgWrp___wcdFr",btns:"btns___gQP5Z",confirm:"confirm___Igsxy",cancel:"cancel___EPAJA"},Qe=oe(47889),ht=oe(17958),wt={wrap:"wrap___AsKly",link:"link___CnaN3"},ct=oe(68911),$e=Object.defineProperty,qe=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Je=(dt,Bt,Ne)=>Bt in dt?$e(dt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):dt[Bt]=Ne,He=(dt,Bt)=>{for(var Ne in Bt||(Bt={}))je.call(Bt,Ne)&&Je(dt,Ne,Bt[Ne]);if(qe)for(var Ne of qe(Bt))bt.call(Bt,Ne)&&Je(dt,Ne,Bt[Ne]);return dt},ot=(dt,Bt)=>{var Ne={};for(var Pt in dt)je.call(dt,Pt)&&Bt.indexOf(Pt)<0&&(Ne[Pt]=dt[Pt]);if(dt!=null&&qe)for(var Pt of qe(dt))Bt.indexOf(Pt)<0&&bt.call(dt,Pt)&&(Ne[Pt]=dt[Pt]);return Ne},Te=(dt,Bt,Ne)=>new Promise((Pt,st)=>{var ae=ie=>{try{z(Ne.next(ie))}catch(se){st(se)}},ee=ie=>{try{z(Ne.throw(ie))}catch(se){st(se)}},z=ie=>ie.done?Pt(ie.value):Promise.resolve(ie.value).then(ae,ee);z((Ne=Ne.apply(dt,Bt)).next())});const{TextArea:it}=ve.default,et=dt=>{var Bt=dt,{user:Ne,globalSetting:Pt,loading:st,dispatch:ae}=Bt,ee=ot(Bt,["user","globalSetting","loading","dispatch"]);const[z]=ze.default.useForm();(0,te.useEffect)(()=>{var se;(0,ct.W)((se=Ne.userInfo)==null?void 0:se.login)||(0,ht.o1)(ae)},[Ne.userInfo.login]);const ie=se=>Te(void 0,null,function*(){var re;const me=yield(0,ge.ZP)("/api/helps/feedback.json",{method:"post",body:He({},se)});(me==null?void 0:me.status)===0&&Ke.history.push(`/messages/${(re=Ne.userInfo)==null?void 0:re.login}/message_detail?target_ids=1`)});return te.createElement("section",{className:`${wt.wrap} bg-white pl30 pr30 pt30`},te.createElement("div",{className:"c-grey-999 line26"},"\u60F3\u5BF9\u6211\u4EEC\u7684\u5E73\u53F0\u63D0\u4F9B\u529F\u80FD\u5EFA\u8BAE\uFF1F",te.createElement("br",null),"\u53D1\u73B0\u7F51\u9875\u4E2D\u7684\u95EE\u9898\u6216bug\u60F3\u544A\u8BC9\u6211\u4EEC\uFF1F",te.createElement("br",null),"\u671F\u671B\u4E0E\u6211\u4EEC\u5C55\u5F00\u5408\u4F5C\uFF1F",te.createElement("br",null),"\u5728\u8FD9\u91CC\u628A\u4F60\u60F3\u8BF4\u7684\u4E00\u5207\u544A\u8BC9\u6211\u4EEC\u5427\uFF1F"),te.createElement("div",{className:"c-red-ee4 mt20 mb20"},"* ",te.createElement(Ke.Link,{to:"/help/help_center",className:`${wt.link} c-red-ee4`},"\u770B\u770B\u5E2E\u52A9\u4E2D\u5FC3\u662F\u5426\u6709\u4F60\u60F3\u8981\u7684\u7B54\u6848")),te.createElement(ze.default,{layout:"vertical",form:z,onFinish:ie,initialValues:{question_kind:"\u767B\u5F55\u6CE8\u518C"}},te.createElement(ze.default.Item,{label:"\u95EE\u9898\u5206\u7C7B\uFF1A",name:"question_kind",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},te.createElement(Qe.ZP.Group,null,te.createElement(Qe.ZP,{value:"\u767B\u5F55\u6CE8\u518C"},"\u767B\u5F55\u6CE8\u518C"),te.createElement(Qe.ZP,{value:"\u4FE1\u606F\u8BA4\u8BC1"},"\u4FE1\u606F\u8BA4\u8BC1"),te.createElement(Qe.ZP,{value:"\u5B9E\u8BAD\u7F16\u7A0B"},"\u5B9E\u8BAD\u7F16\u7A0B"),te.createElement(Qe.ZP,{value:"\u5B9E\u8BAD\u8BFE\u7A0B"},"\u5B9E\u8BAD\u8BFE\u7A0B"),te.createElement(Qe.ZP,{value:"\u8BFE\u5802"},"\u8BFE\u5802"),te.createElement(Qe.ZP,{value:"\u5176\u5B83"},"\u5176\u5B83"))),te.createElement(ze.default.Item,{label:"\u95EE\u9898\u9875\u9762\u7F51\u5740\uFF1A",name:"url",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},te.createElement(ve.default,{placeholder:"\u53CD\u9988\u5E73\u53F0\u95EE\u9898\uFF0C\u8BF7\u540C\u65F6\u586B\u5199\u5BF9\u5E94\u7684\u95EE\u9898\u9875\u9762\u94FE\u63A5\uFF0C\u4EE5\u4FBF\u5E73\u53F0\u80FD\u591F\u53CA\u65F6\u8DDF\u8E2A\u89E3\u51B3\uFF0C\u8C22\u8C22"})),te.createElement(ze.default.Item,{label:"\u95EE\u9898\u63CF\u8FF0\uFF1A",name:"description",rules:[{required:!0,message:"\u4E0D\u80FD\u4E3A\u7A7A"}]},te.createElement(it,{rows:4,placeholder:"\u53CD\u9988\u5E73\u53F0\u95EE\u9898\uFF0C\u8BF7\u540C\u65F6\u586B\u5199\u5BF9\u5E94\u7684\u95EE\u9898\u9875\u9762\u94FE\u63A5\uFF0C\u4EE5\u4FBF\u5E73\u53F0\u80FD\u591F\u53CA\u65F6\u8DDF\u8E2A\u89E3\u51B3\uFF0C\u8C22\u8C22"})),te.createElement(ze.default.Item,null,te.createElement(de.ZP,{type:"primary",htmlType:"submit"},"\u63D0\u4EA4"))))};var he=(0,Ke.connect)(({user:dt,loading:Bt,globalSetting:Ne})=>({user:dt,globalSetting:Ne,loading:Bt.models.index}))(et),Et=Object.defineProperty,De=Object.defineProperties,It=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pt=(dt,Bt,Ne)=>Bt in dt?Et(dt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):dt[Bt]=Ne,Zt=(dt,Bt)=>{for(var Ne in Bt||(Bt={}))Se.call(Bt,Ne)&&pt(dt,Ne,Bt[Ne]);if(zt)for(var Ne of zt(Bt))fe.call(Bt,Ne)&&pt(dt,Ne,Bt[Ne]);return dt},St=(dt,Bt)=>De(dt,It(Bt)),Re=(dt,Bt)=>{var Ne={};for(var Pt in dt)Se.call(dt,Pt)&&Bt.indexOf(Pt)<0&&(Ne[Pt]=dt[Pt]);if(dt!=null&&zt)for(var Pt of zt(dt))Bt.indexOf(Pt)<0&&fe.call(dt,Pt)&&(Ne[Pt]=dt[Pt]);return Ne},at=(dt,Bt,Ne)=>new Promise((Pt,st)=>{var ae=ie=>{try{z(Ne.next(ie))}catch(se){st(se)}},ee=ie=>{try{z(Ne.throw(ie))}catch(se){st(se)}},z=ie=>ie.done?Pt(ie.value):Promise.resolve(ie.value).then(ae,ee);z((Ne=Ne.apply(dt,Bt)).next())});const vt=dt=>{var Bt=dt,{user:Ne,globalSetting:Pt,loading:st,dispatch:ae}=Bt,ee=Re(Bt,["user","globalSetting","loading","dispatch"]),z,ie,se,re,me,ye,rt;const[Ae,Ze]=(0,te.useState)({content:"",message:"",status:0,contacts:[],address:"",data:[]}),[tt,gt]=(0,te.useState)(!0),[lt]=ze.default.useForm(),Ft=(0,Ke.useParams)(),Nt=(0,Ke.useLocation)(),[Mt,Jt]=(0,te.useState)(null),[Wt,Gt]=(0,te.useState)(0),[ft,Ht]=(0,te.useState)(!1),[Dt,Rt]=(0,te.useState)(!1),[nn,Cn]=(0,te.useState)(Mt==null?void 0:Mt.content),fn=[{name:"\u5173\u4E8E\u6211\u4EEC",key:"about_us",id:"about",editable:!0},{name:"\u52A0\u5165\u6211\u4EEC",key:"join_us",id:"join_us",editable:!0},{name:"\u8054\u7CFB\u6211\u4EEC",key:"contact_us",id:"contact"},{name:"\u5408\u4F5C\u4F19\u4F34",key:"cooperatives",id:"cooperatives"},{name:"\u670D\u52A1\u534F\u8BAE",key:"agreement",id:"agreement",editable:!0},{name:"\u5E2E\u52A9\u4E2D\u5FC3",key:"help_center",id:"help_center",editable:!0},{name:"\u610F\u89C1\u53CD\u9988",key:"feedback",id:"feedback"}].filter(nt=>{var kt;return(kt=Pt==null?void 0:Pt.setting)!=null&&kt.is_local?nt.name!=="\u5173\u4E8E\u6211\u4EEC":!0}),Pe=()=>at(void 0,null,function*(){var nt,kt,$t,un;Nt.pathname.indexOf("/feedback")===-1&&Ze(yield(0,ge.ZP)(`/api/helps/${(kt=(nt=fn.filter(On=>On.key===Ft.id))==null?void 0:nt[0])==null?void 0:kt.id}.json`,{method:"get"})),gt(!1),(0,ct.Dk)((un=($t=fn.filter(On=>On.key===Ft.id))==null?void 0:$t[0])==null?void 0:un.name)});function _e(){return at(this,null,function*(){let nt=yield(0,ge.ZP)("/api/helps/update_content.json",{method:"put",body:{type:Ft.id,content:nn}});(nt==null?void 0:nt.status)===0&&(Ce.ZP.info("\u63D0\u4EA4\u6210\u529F"),Ht(!1),gt(!0),Pe())})}return(0,te.useEffect)(()=>{gt(!0),Pe()},[Ft.id]),te.createElement("section",null,te.createElement("aside",{className:"edu-container mt30"},te.createElement(xe.Z,{gutter:[20,20]},te.createElement(Me.Z,null,te.createElement(Ue.default,{className:Le.menu,style:{width:174},defaultSelectedKeys:[(z=fn.filter(nt=>nt.key===Ft.id))==null?void 0:z[0].key],mode:"inline"},fn.map(function(nt,kt){return te.createElement(Ue.default.Item,{key:nt.key},te.createElement(Ke.Link,{to:`/help/${nt.key}`,onClick:()=>{Ht(!1),Jt(null)}},nt.name))}))),te.createElement(Me.Z,{flex:"1"},te.createElement("h1",{className:Le.title},(ie=fn.filter(nt=>nt.key===Ft.id))==null?void 0:ie[0].name,((se=fn.filter(nt=>nt.key===Ft.id))==null?void 0:se[0].editable)&&((re=Ne==null?void 0:Ne.userInfo)==null?void 0:re.role)===1&&te.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>at(void 0,null,function*(){Ht(!0);let nt=yield(0,ge.ZP)("/api/helps/edit_content.json",{params:{type:Ft.id}});(nt==null?void 0:nt.status)===0&&(Jt(nt),console.log(nt))})},te.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91")),te.createElement("div",{className:"minH500"},Ft.id==="feedback"?te.createElement(he,null):te.createElement(Ee.Z,{loading:tt},te.createElement("div",{className:[Le.content,"bg-white pl30 pr30 pt30"].join(" ")},ft?te.createElement("div",null,te.createElement(mt.Z,{defaultValue:Mt==null?void 0:Mt.content,onChange:nt=>Cn(nt)}),te.createElement("div",{className:Le.btns},te.createElement(de.ZP,{className:Le.cancel,onClick:()=>Ht(!1)},"\u53D6\u6D88"),te.createElement(Xe.Z,{className:Le.confirm,type:"primary",onClick:_e},"\u4FDD\u5B58\u66F4\u6539"))):te.createElement("div",null,te.createElement(Be.Z,{value:Ae.content||""})),(me=Ae.contacts)==null?void 0:me.map(function(nt,kt){var $t;return te.createElement("ul",{key:kt,className:Le.contcats},(($t=Ne==null?void 0:Ne.userInfo)==null?void 0:$t.role)===1&&te.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>{Rt(!0),Gt(kt+1),lt.setFieldsValue({name:nt.name,qq:nt.qq,mail:nt.mail})}},te.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91"),te.createElement("h1",null,nt.type),te.createElement("li",null,te.createElement("span",null,"\u8054\u7CFB\u4EBA:"),nt.name),te.createElement("li",null,te.createElement("span",null,"QQ:"),nt.qq),te.createElement("li",null,te.createElement("span",null,"Email:"),nt.mail))}),Ae.address&&te.createElement("ul",{className:Le.contcats},((ye=Ne==null?void 0:Ne.userInfo)==null?void 0:ye.role)===1&&te.createElement("a",{style:{float:"right",color:"#165DFF"},onClick:()=>{Rt(!0),Gt(4),lt.setFieldsValue({address:Ae.address})}},te.createElement("i",{className:"iconfont icon-bianji10 font14",style:{color:"#165DFF"}})," \u7F16\u8F91"),te.createElement("h1",null,"\u516C\u53F8\u5730\u5740"),te.createElement("li",null,Ae.address)),(rt=Ae.data)==null?void 0:rt.map(function(nt,kt){var $t;return te.createElement("div",{className:Le.cooperatives},te.createElement("h1",null,nt.name),te.createElement(xe.Z,{gutter:[10,20]},($t=nt.values)==null?void 0:$t.map(function(un,On){return te.createElement(Me.Z,{span:6},te.createElement("div",{className:Le.imgWrp},te.createElement("img",{src:Ie.Z.IMG_SERVER+un.img})))})))}))))))),te.createElement(Ve.default,{centered:!0,title:"\u7F16\u8F91",open:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{Rt(!1)},onOk:()=>at(void 0,null,function*(){const nt=Zt({},yield lt.validateFields());(yield(0,ge.ZP)("/api/helps/update_contact.json",{method:"put",body:St(Zt({},nt),{type:Wt})})).status===0&&(Ce.ZP.success("\u4FEE\u6539\u6210\u529F"),Pe(),Rt(!1))})},te.createElement(ze.default,{form:lt,labelAlign:"right",labelCol:{span:4},scrollToFirstError:!0},Wt!==4&&te.createElement(ze.default.Item,{label:"\u8054\u7CFB\u4EBA",name:"name",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA"},te.createElement(ve.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Wt!==4&&te.createElement(ze.default.Item,{label:"QQ",name:"qq",placeholder:"\u8BF7\u8F93\u5165QQ"},te.createElement(ve.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Wt!==4&&te.createElement(ze.default.Item,{label:"Email",name:"mail",placeholder:"\u8BF7\u8F93\u5165Email"},te.createElement(ve.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})),Wt===4&&te.createElement(ze.default.Item,{label:"\u516C\u53F8\u5730\u5740",name:"address",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u5730\u5740"},te.createElement(ve.default,{maxLength:60,size:"large",style:{height:40,marginTop:"-4px"}})))))};var sn=(0,Ke.connect)(({user:dt,loading:Bt,globalSetting:Ne})=>({user:dt,globalSetting:Ne,loading:Bt.models.index}))(vt)},74410:function(Vt,Ot,oe){"use strict";oe.d(Ot,{AL:function(){return ct},Iy:function(){return Ve},Qv:function(){return Xe},ez:function(){return wt},jb:function(){return ve}});var te=oe(32834),Ke=oe.n(te),ge=oe(11690),ze=oe.n(ge);let Ce=1;function xe(Je,He){const ot=Je.match(/^(\s+)(?:```)/);if(ot===null)return He;const Te=ot[1];return He.split(`
|
|
|
`).map(it=>{const et=it.match(/^\s+/);if(et===null)return it;const[he]=et;return he.length>=Te.length?it.slice(Te.length):it}).join(`
|
|
|
`)}let Me=[],Ue=["<ul>"];const Ee=new(Ke()).Renderer,de=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ve(){Me.length=0,Ue=["<ul>"]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function mt(Je,He,ot,Te){if(He>=Je.length||Je[He].level<=ot)return He;var it=Je[He];Te.push("<li><a href='#"+Ce+it.anchor+"'>"+it.text+"</a>"),He++;var et=[];return He=mt(Je,He,it.level,et),et.length>0&&(Te.push("<ul>"),et.forEach(function(he){Te.push(he)}),Te.push("</ul>")),Te.push("</li>"),He=mt(Je,He,ot,Te),He}function Xe(){return mt(Me,0,0,Ue),Ue.push("</ul>"),Ue.join("")}const Be={heading(Je){const He=de.exec(Je);if(Ce+=1,He)return{type:"heading",raw:He[0],depth:He[1].length,text:He[2]}},fences(Je){const He=this.rules.block.fences.exec(Je);if(He){const ot=He[0];let Te=xe(ot,He[3]||"");const it=He[2]?He[2].trim():He[2];if(["latex","katex","math"].indexOf(it)>=0){const et=Qe(),he=Te;Te=et,ht[et]={type:"block",expression:he}}return{type:"code",raw:ot,lang:it,text:Te}}}},Ie=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Le=0;const Qe=()=>`__special_katext_id_${Le++}__`;let ht={};function wt(){return ht}function ct(){Le=0,ht={}}function $e(Je){return Je=Je.replace(Ie,(He,ot)=>{const Te=Qe();return ht[Te]={type:"inline",expression:ot},Te}),Je}const qe=Ee.listitem;Ee.listitem=function(Je){return qe($e(Je))};const je=Ee.paragraph;Ee.paragraph=function(Je){return je($e(Je))};const bt=Ee.tablecell;Ee.tablecell=function(Je,He){return bt($e(Je),He)},Ee.code=function(Je,He,ot){const Te=(He||"").match(/\S*/)[0];return Te?["latex","katex","math"].indexOf(Te)>=0?`<p class='editormd-tex'>${Je}</p>`:`<pre class="prettyprint linenums"><code class="language-${He}">${ot?Je:(0,ge.escape)(Je,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ot?Je:(0,ge.escape)(Je,!0))+"</code></pre>"},Ee.heading=function(Je,He,ot){let Te=this.options.headerPrefix+ot.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Me.push({anchor:Te,level:He,text:Je}),"<h"+He+' id="'+Ce+Te+'">'+Je+"</h"+He+">"},Ke().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ke().use({tokenizer:Be,renderer:Ee}),Ot.ZP=Ke()},17958:function(Vt,Ot,oe){"use strict";oe.d(Ot,{rX:function(){return $e},pW:function(){return qe},gy:function(){return je},xY:function(){return ct},O5:function(){return wt},hs:function(){return Ie},tJ:function(){return Xe},o1:function(){return Be},Rd:function(){return ht}});var te=oe(63823),Ke=oe(62957),ge=oe(37285),ze=oe(6767),Ce=oe(10102),xe=oe(68911),Me=oe(87169),Ue=oe(25510),Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1at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dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",de=oe.p+"static/newqrcode.a8740efb.png",Ve=oe(32637),ve=oe(59301),mt=(bt,Je,He)=>new Promise((ot,Te)=>{var it=Et=>{try{he(He.next(Et))}catch(De){Te(De)}},et=Et=>{try{he(He.throw(Et))}catch(De){Te(De)}},he=Et=>Et.done?ot(Et.value):Promise.resolve(Et.value).then(it,et);he((He=He.apply(bt,Je)).next())});const Xe=(bt,Je=!1,He=!1,ot="",Te=!1)=>!!(Be(bt)&&Le(bt,Je,He,ot,Te)),Be=bt=>(0,Ce.bg)()?!0:(bt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ie=bt=>{var Je,He,ot;const{user:Te}=(0,te.getDvaApp)()._store.getState();(0,Ce.bg)()&&!((He=(Je=Te==null?void 0:Te.userInfo)==null?void 0:Je.course)!=null&&He.course_public)&&!((ot=Te==null?void 0:Te.userInfo)!=null&&ot.profile_completed)&&bt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Le=(bt,Je=!1,He=!0,ot="",Te=!1)=>{var it;const{user:et}=(0,te.getDvaApp)()._store.getState();return(it=et.userInfo)!=null&&it.profile_completed?!0:(He?bt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ot,isCurrentPage:Te}}):Ke.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/profile/edit"),Qe()}}),!1)},Qe=()=>{Ke.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},ht=()=>{Ke.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ve.createElement("div",{style:{textAlign:"center"}},ve.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ve.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ve}),ve.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},wt=()=>{var bt;const{user:Je}=(0,te.getDvaApp)()._store.getState();return(bt=Je.userInfo)!=null&&bt.professional_certification?!0:(Ke.default.confirm({title:"\u63D0\u793A",centered:!0,content:ve.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,xe.xg)("/account/certification")}}),!1)},ct=()=>(0,Ce.V9)()?!0:(Ke.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ve.createElement("div",{className:"tc",style:{marginLeft:-38}},ve.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ve.createElement("img",{src:de,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),$e=(bt,Je)=>bt?!0:(Ke.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ve.createElement("div",null,ve.createElement("p",null,Je||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ve.createElement("div",{style:{marginLeft:"110px"}},ve.createElement("img",{src:Ee,width:200}),ve.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,xe.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),qe=bt=>{Ke.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ve.createElement("div",null,ve.createElement("div",null,ve.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ve.createElement(ge.Z,null),ve.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ve.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ve.createElement("a",null,bt),"\u5929\u3002"),ve.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ve.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ve.createElement("div",{style:{textAlign:"center",marginTop:30}},ve.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ue,alt:"\u4E8C\u7EF4\u7801",width:160})))})},je=(bt,Je="")=>{const{shixunsDetail:{detail:He}}=(0,te.getDvaApp)()._store.getState();if((He==null?void 0:He.public)===2||(He==null?void 0:He.public)===1||(He==null?void 0:He.shixun_status)===3){let ot="";return(He==null?void 0:He.public)===2&&(ot="\u5DF2\u516C\u5F00"),(He==null?void 0:He.public)===1&&(ot="\u5F85\u5BA1\u6838"),(He==null?void 0:He.shixun_status)===3&&(ot="\u5DF2\u5173\u95ED"),Ke.default.info({centered:!0,icon:ve.createElement(Me.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ve.createElement("div",{className:"tc",style:{marginLeft:-38}},ve.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ve.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ot,"\uFF0C",Je,"\u3002"),ve.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ve.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Ue,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(He==null?void 0:He.shixun_status)===2?(Ke.default.confirm({centered:!0,icon:ve.createElement(Me.Z,null),title:"\u63D0\u793A",content:ve.createElement("div",null,ve.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Je,"\u3002"),ve.createElement("br",null),ve.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Ke.default.confirm({width:440,centered:!0,icon:ve.createElement(Me.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>mt(void 0,null,function*(){(yield bt({type:"shixunsDetail/cancelRelease",payload:{id:He==null?void 0:He.identifier}})).status!==401&&(ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),bt({type:"shixunsDetail/getShixunsDetail",payload:{id:He==null?void 0:He.identifier}}),bt({type:"practiceSetting/getCommonData",payload:{id:He==null?void 0:He.identifier}}))})})}}),!0):!1}},86013:function(Vt,Ot,oe){"use strict";var te=oe(59301),Ke=oe(19248);const ge=ze=>{let Ce;return typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Ce=ze:ze&&(Ce={clearIcon:te.createElement(Ke.Z,null)}),Ce};Ot.Z=ge},38406:function(Vt,Ot,oe){"use strict";var te=oe(59301),Ke=oe(48755),ge=oe(584);const ze=Ce=>{const{componentName:xe}=Ce,{getPrefixCls:Me}=(0,te.useContext)(Ke.E_),Ue=Me("empty");switch(xe){case"Table":case"List":return te.createElement(ge.Z,{image:ge.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return te.createElement(ge.Z,{image:ge.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ue}-small`});case"Table.filter":return null;default:return te.createElement(ge.Z,null)}};Ot.Z=ze},37285:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Xe}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(48755),Ce=oe(36237),xe=oe(63356),Me=oe(16931),Ue=oe(51636);const Ee=Be=>{const{componentCls:Ie,sizePaddingEdgeHorizontal:Le,colorSplit:Qe,lineWidth:ht,textPaddingInline:wt,orientationMargin:ct,verticalMarginInline:$e}=Be;return{[Ie]:Object.assign(Object.assign({},(0,xe.Wf)(Be)),{borderBlockStart:`${(0,Ce.unit)(ht)} solid ${Qe}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:$e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Ce.unit)(ht)} solid ${Qe}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Ce.unit)(Be.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${Ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Ce.unit)(Be.dividerHorizontalWithTextGutterMargin)} 0`,color:Be.colorTextHeading,fontWeight:500,fontSize:Be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Qe}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Ce.unit)(ht)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Ie}-with-text-start`]:{"&::before":{width:`calc(${ct} * 100%)`},"&::after":{width:`calc(100% - ${ct} * 100%)`}},[`&-horizontal${Ie}-with-text-end`]:{"&::before":{width:`calc(100% - ${ct} * 100%)`},"&::after":{width:`calc(${ct} * 100%)`}},[`${Ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:wt},"&-dashed":{background:"none",borderColor:Qe,borderStyle:"dashed",borderWidth:`${(0,Ce.unit)(ht)} 0 0`},[`&-horizontal${Ie}-with-text${Ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Ie}-dashed`]:{borderInlineStartWidth:ht,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Qe,borderStyle:"dotted",borderWidth:`${(0,Ce.unit)(ht)} 0 0`},[`&-horizontal${Ie}-with-text${Ie}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${Ie}-dotted`]:{borderInlineStartWidth:ht,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Ie}-with-text`]:{color:Be.colorText,fontWeight:"normal",fontSize:Be.fontSize},[`&-horizontal${Ie}-with-text-start${Ie}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Ie}-inner-text`]:{paddingInlineStart:Le}},[`&-horizontal${Ie}-with-text-end${Ie}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Ie}-inner-text`]:{paddingInlineEnd:Le}}})}},de=Be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Be.marginXS});var Ve=(0,Me.I$)("Divider",Be=>{const Ie=(0,Ue.mergeToken)(Be,{dividerHorizontalWithTextGutterMargin:Be.margin,dividerHorizontalGutterMargin:Be.marginLG,sizePaddingEdgeHorizontal:0});return[Ee(Ie)]},de,{unitless:{orientationMargin:!0}}),ve=function(Be,Ie){var Le={};for(var Qe in Be)Object.prototype.hasOwnProperty.call(Be,Qe)&&Ie.indexOf(Qe)<0&&(Le[Qe]=Be[Qe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Qe=Object.getOwnPropertySymbols(Be);ht<Qe.length;ht++)Ie.indexOf(Qe[ht])<0&&Object.prototype.propertyIsEnumerable.call(Be,Qe[ht])&&(Le[Qe[ht]]=Be[Qe[ht]]);return Le},Xe=Be=>{const{getPrefixCls:Ie,direction:Le,className:Qe,style:ht}=(0,ze.dj)("divider"),{prefixCls:wt,type:ct="horizontal",orientation:$e="center",orientationMargin:qe,className:je,rootClassName:bt,children:Je,dashed:He,variant:ot="solid",plain:Te,style:it}=Be,et=ve(Be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),he=Ie("divider",wt),[Et,De,It]=Ve(he),zt=!!Je,Se=te.useMemo(()=>$e==="left"?Le==="rtl"?"end":"start":$e==="right"?Le==="rtl"?"start":"end":$e,[Le,$e]),fe=Se==="start"&&qe!=null,pt=Se==="end"&&qe!=null,Zt=ge()(he,Qe,De,It,`${he}-${ct}`,{[`${he}-with-text`]:zt,[`${he}-with-text-${Se}`]:zt,[`${he}-dashed`]:!!He,[`${he}-${ot}`]:ot!=="solid",[`${he}-plain`]:!!Te,[`${he}-rtl`]:Le==="rtl",[`${he}-no-default-orientation-margin-start`]:fe,[`${he}-no-default-orientation-margin-end`]:pt},je,bt),St=te.useMemo(()=>typeof qe=="number"?qe:/^\d+$/.test(qe)?Number(qe):qe,[qe]),Re={marginInlineStart:fe?St:void 0,marginInlineEnd:pt?St:void 0};return Et(te.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},ht),it)},et,{role:"separator"}),Je&&ct!=="vertical"&&te.createElement("span",{className:`${he}-inner-text`,style:Re},Je)))}},36207:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return rt}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(33885),Ce=oe(42978),xe=oe(43403),Me=oe(34280),Ue=te.createContext(null),Ee=te.createContext({}),de=Ue,Ve=oe(20068),ve=oe(54476),mt=oe(77900),Xe=oe(10228),Be=oe(26112),Ie=oe(75931),Le=oe(8654),Qe=["prefixCls","className","containerRef"],ht=function(Ze){var tt=Ze.prefixCls,gt=Ze.className,lt=Ze.containerRef,Ft=(0,Ie.Z)(Ze,Qe),Nt=te.useContext(Ee),Mt=Nt.panel,Jt=(0,Le.x1)(Mt,lt);return te.createElement("div",(0,ve.Z)({className:ge()("".concat(tt,"-content"),gt),role:"dialog",ref:Jt},(0,Be.Z)(Ze,{aria:!0}),{"aria-modal":"true"},Ft))},wt=ht,ct=oe(48736);function $e(Ae){return typeof Ae=="string"&&String(Number(Ae))===Ae?((0,ct.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ae)):Ae}function qe(Ae){warning(!("wrapperClassName"in Ae),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ae.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var je={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function bt(Ae,Ze){var tt,gt,lt,Ft=Ae.prefixCls,Nt=Ae.open,Mt=Ae.placement,Jt=Ae.inline,Wt=Ae.push,Gt=Ae.forceRender,ft=Ae.autoFocus,Ht=Ae.keyboard,Dt=Ae.classNames,Rt=Ae.rootClassName,nn=Ae.rootStyle,Cn=Ae.zIndex,fn=Ae.className,Pe=Ae.id,_e=Ae.style,nt=Ae.motion,kt=Ae.width,$t=Ae.height,un=Ae.children,On=Ae.mask,Pn=Ae.maskClosable,an=Ae.maskMotion,yn=Ae.maskClassName,mn=Ae.maskStyle,Un=Ae.afterOpenChange,vn=Ae.onClose,Bn=Ae.onMouseEnter,ln=Ae.onMouseOver,xn=Ae.onMouseLeave,dn=Ae.onClick,Mn=Ae.onKeyDown,Gn=Ae.onKeyUp,zn=Ae.styles,Tn=Ae.drawerRender,Yn=te.useRef(),Xn=te.useRef(),$n=te.useRef();te.useImperativeHandle(Ze,function(){return Yn.current});var jn=function(xt){var yt=xt.keyCode,Qt=xt.shiftKey;switch(yt){case Xe.Z.TAB:{if(yt===Xe.Z.TAB){if(!Qt&&document.activeElement===$n.current){var gn;(gn=Xn.current)===null||gn===void 0||gn.focus({preventScroll:!0})}else if(Qt&&document.activeElement===Xn.current){var hn;(hn=$n.current)===null||hn===void 0||hn.focus({preventScroll:!0})}}break}case Xe.Z.ESC:{vn&&Ht&&(xt.stopPropagation(),vn(xt));break}}};te.useEffect(function(){if(Nt&&ft){var Tt;(Tt=Yn.current)===null||Tt===void 0||Tt.focus({preventScroll:!0})}},[Nt]);var Lt=te.useState(!1),Xt=(0,Ce.Z)(Lt,2),kn=Xt[0],Qn=Xt[1],ke=te.useContext(de),Ye;typeof Wt=="boolean"?Ye=Wt?{}:{distance:0}:Ye=Wt||{};var be=(tt=(gt=(lt=Ye)===null||lt===void 0?void 0:lt.distance)!==null&>!==void 0?gt:ke==null?void 0:ke.pushDistance)!==null&&tt!==void 0?tt:180,Oe=te.useMemo(function(){return{pushDistance:be,push:function(){Qn(!0)},pull:function(){Qn(!1)}}},[be]);te.useEffect(function(){if(Nt){var Tt;ke==null||(Tt=ke.push)===null||Tt===void 0||Tt.call(ke)}else{var xt;ke==null||(xt=ke.pull)===null||xt===void 0||xt.call(ke)}},[Nt]),te.useEffect(function(){return function(){var Tt;ke==null||(Tt=ke.pull)===null||Tt===void 0||Tt.call(ke)}},[]);var we=On&&te.createElement(mt.default,(0,ve.Z)({key:"mask"},an,{visible:Nt}),function(Tt,xt){var yt=Tt.className,Qt=Tt.style;return te.createElement("div",{className:ge()("".concat(Ft,"-mask"),yt,Dt==null?void 0:Dt.mask,yn),style:(0,ze.Z)((0,ze.Z)((0,ze.Z)({},Qt),mn),zn==null?void 0:zn.mask),onClick:Pn&&Nt?vn:void 0,ref:xt})}),Fe=typeof nt=="function"?nt(Mt):nt,ut={};if(kn&&be)switch(Mt){case"top":ut.transform="translateY(".concat(be,"px)");break;case"bottom":ut.transform="translateY(".concat(-be,"px)");break;case"left":ut.transform="translateX(".concat(be,"px)");break;default:ut.transform="translateX(".concat(-be,"px)");break}Mt==="left"||Mt==="right"?ut.width=$e(kt):ut.height=$e($t);var Ut={onMouseEnter:Bn,onMouseOver:ln,onMouseLeave:xn,onClick:dn,onKeyDown:Mn,onKeyUp:Gn},Yt=te.createElement(mt.default,(0,ve.Z)({key:"panel"},Fe,{visible:Nt,forceRender:Gt,onVisibleChanged:function(xt){Un==null||Un(xt)},removeOnLeave:!1,leavedClassName:"".concat(Ft,"-content-wrapper-hidden")}),function(Tt,xt){var yt=Tt.className,Qt=Tt.style,gn=te.createElement(wt,(0,ve.Z)({id:Pe,containerRef:xt,prefixCls:Ft,className:ge()(fn,Dt==null?void 0:Dt.content),style:(0,ze.Z)((0,ze.Z)({},_e),zn==null?void 0:zn.content)},(0,Be.Z)(Ae,{aria:!0}),Ut),un);return te.createElement("div",(0,ve.Z)({className:ge()("".concat(Ft,"-content-wrapper"),Dt==null?void 0:Dt.wrapper,yt),style:(0,ze.Z)((0,ze.Z)((0,ze.Z)({},ut),Qt),zn==null?void 0:zn.wrapper)},(0,Be.Z)(Ae,{data:!0})),Tn?Tn(gn):gn)}),rn=(0,ze.Z)({},nn);return Cn&&(rn.zIndex=Cn),te.createElement(de.Provider,{value:Oe},te.createElement("div",{className:ge()(Ft,"".concat(Ft,"-").concat(Mt),Rt,(0,Ve.Z)((0,Ve.Z)({},"".concat(Ft,"-open"),Nt),"".concat(Ft,"-inline"),Jt)),style:rn,tabIndex:-1,ref:Yn,onKeyDown:jn},we,te.createElement("div",{tabIndex:0,ref:Xn,style:je,"aria-hidden":"true","data-sentinel":"start"}),Yt,te.createElement("div",{tabIndex:0,ref:$n,style:je,"aria-hidden":"true","data-sentinel":"end"})))}var Je=te.forwardRef(bt),He=Je,ot=function(Ze){var tt=Ze.open,gt=tt===void 0?!1:tt,lt=Ze.prefixCls,Ft=lt===void 0?"rc-drawer":lt,Nt=Ze.placement,Mt=Nt===void 0?"right":Nt,Jt=Ze.autoFocus,Wt=Jt===void 0?!0:Jt,Gt=Ze.keyboard,ft=Gt===void 0?!0:Gt,Ht=Ze.width,Dt=Ht===void 0?378:Ht,Rt=Ze.mask,nn=Rt===void 0?!0:Rt,Cn=Ze.maskClosable,fn=Cn===void 0?!0:Cn,Pe=Ze.getContainer,_e=Ze.forceRender,nt=Ze.afterOpenChange,kt=Ze.destroyOnClose,$t=Ze.onMouseEnter,un=Ze.onMouseOver,On=Ze.onMouseLeave,Pn=Ze.onClick,an=Ze.onKeyDown,yn=Ze.onKeyUp,mn=Ze.panelRef,Un=te.useState(!1),vn=(0,Ce.Z)(Un,2),Bn=vn[0],ln=vn[1],xn=te.useState(!1),dn=(0,Ce.Z)(xn,2),Mn=dn[0],Gn=dn[1];(0,Me.Z)(function(){Gn(!0)},[]);var zn=Mn?gt:!1,Tn=te.useRef(),Yn=te.useRef();(0,Me.Z)(function(){zn&&(Yn.current=document.activeElement)},[zn]);var Xn=function(kn){var Qn;if(ln(kn),nt==null||nt(kn),!kn&&Yn.current&&!((Qn=Tn.current)!==null&&Qn!==void 0&&Qn.contains(Yn.current))){var ke;(ke=Yn.current)===null||ke===void 0||ke.focus({preventScroll:!0})}},$n=te.useMemo(function(){return{panel:mn}},[mn]);if(!_e&&!Bn&&!zn&&kt)return null;var jn={onMouseEnter:$t,onMouseOver:un,onMouseLeave:On,onClick:Pn,onKeyDown:an,onKeyUp:yn},Lt=(0,ze.Z)((0,ze.Z)({},Ze),{},{open:zn,prefixCls:Ft,placement:Mt,autoFocus:Wt,keyboard:ft,width:Dt,mask:nn,maskClosable:fn,inline:Pe===!1,afterOpenChange:Xn,ref:Tn},jn);return te.createElement(Ee.Provider,{value:$n},te.createElement(xe.Z,{open:zn||_e||Bn,autoDestroy:!1,getContainer:Pe,autoLock:nn&&(zn||Bn)},te.createElement(He,Lt)))},Te=ot,it=Te,et=oe(62487),he=oe(75030),Et=oe(86641),De=oe(55743),It=oe(48755),zt=oe(91190),Se=oe(78776),fe=oe(458),Zt=Ae=>{var Ze,tt;const{prefixCls:gt,title:lt,footer:Ft,extra:Nt,loading:Mt,onClose:Jt,headerStyle:Wt,bodyStyle:Gt,footerStyle:ft,children:Ht,classNames:Dt,styles:Rt}=Ae,nn=(0,It.dj)("drawer"),Cn=te.useCallback(kt=>te.createElement("button",{type:"button",onClick:Jt,"aria-label":"Close",className:`${gt}-close`},kt),[Jt]),[fn,Pe]=(0,Se.Z)((0,Se.w)(Ae),(0,Se.w)(nn),{closable:!0,closeIconRender:Cn}),_e=te.useMemo(()=>{var kt,$t;return!lt&&!fn?null:te.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(kt=nn.styles)===null||kt===void 0?void 0:kt.header),Wt),Rt==null?void 0:Rt.header),className:ge()(`${gt}-header`,{[`${gt}-header-close-only`]:fn&&!lt&&!Nt},($t=nn.classNames)===null||$t===void 0?void 0:$t.header,Dt==null?void 0:Dt.header)},te.createElement("div",{className:`${gt}-header-title`},Pe,lt&&te.createElement("div",{className:`${gt}-title`},lt)),Nt&&te.createElement("div",{className:`${gt}-extra`},Nt))},[fn,Pe,Nt,Wt,gt,lt]),nt=te.useMemo(()=>{var kt,$t;if(!Ft)return null;const un=`${gt}-footer`;return te.createElement("div",{className:ge()(un,(kt=nn.classNames)===null||kt===void 0?void 0:kt.footer,Dt==null?void 0:Dt.footer),style:Object.assign(Object.assign(Object.assign({},($t=nn.styles)===null||$t===void 0?void 0:$t.footer),ft),Rt==null?void 0:Rt.footer)},Ft)},[Ft,ft,gt]);return te.createElement(te.Fragment,null,_e,te.createElement("div",{className:ge()(`${gt}-body`,Dt==null?void 0:Dt.body,(Ze=nn.classNames)===null||Ze===void 0?void 0:Ze.body),style:Object.assign(Object.assign(Object.assign({},(tt=nn.styles)===null||tt===void 0?void 0:tt.body),Gt),Rt==null?void 0:Rt.body)},Mt?te.createElement(fe.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${gt}-body-skeleton`}):Ht),nt)},St=oe(36237),Re=oe(63356),at=oe(16931),vt=oe(51636);const sn=Ae=>{const Ze="100%";return{left:`translateX(-${Ze})`,right:`translateX(${Ze})`,top:`translateY(-${Ze})`,bottom:`translateY(${Ze})`}[Ae]},dt=(Ae,Ze)=>({"&-enter, &-appear":Object.assign(Object.assign({},Ae),{"&-active":Ze}),"&-leave":Object.assign(Object.assign({},Ze),{"&-active":Ae})}),Bt=(Ae,Ze)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ze}`}}},dt({opacity:Ae},{opacity:1})),Ne=(Ae,Ze)=>[Bt(.7,Ze),dt({transform:sn(Ae)},{transform:"none"})];var st=Ae=>{const{componentCls:Ze,motionDurationSlow:tt}=Ae;return{[Ze]:{[`${Ze}-mask-motion`]:Bt(0,tt),[`${Ze}-panel-motion`]:["left","right","top","bottom"].reduce((gt,lt)=>Object.assign(Object.assign({},gt),{[`&-${lt}`]:Ne(lt,tt)}),{})}}};const ae=Ae=>{const{borderRadiusSM:Ze,componentCls:tt,zIndexPopup:gt,colorBgMask:lt,colorBgElevated:Ft,motionDurationSlow:Nt,motionDurationMid:Mt,paddingXS:Jt,padding:Wt,paddingLG:Gt,fontSizeLG:ft,lineHeightLG:Ht,lineWidth:Dt,lineType:Rt,colorSplit:nn,marginXS:Cn,colorIcon:fn,colorIconHover:Pe,colorBgTextHover:_e,colorBgTextActive:nt,colorText:kt,fontWeightStrong:$t,footerPaddingBlock:un,footerPaddingInline:On,calc:Pn}=Ae,an=`${tt}-content-wrapper`;return{[tt]:{position:"fixed",inset:0,zIndex:gt,pointerEvents:"none",color:kt,"&-pure":{position:"relative",background:Ft,display:"flex",flexDirection:"column",[`&${tt}-left`]:{boxShadow:Ae.boxShadowDrawerLeft},[`&${tt}-right`]:{boxShadow:Ae.boxShadowDrawerRight},[`&${tt}-top`]:{boxShadow:Ae.boxShadowDrawerUp},[`&${tt}-bottom`]:{boxShadow:Ae.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${tt}-mask`]:{position:"absolute",inset:0,zIndex:gt,background:lt,pointerEvents:"auto"},[an]:{position:"absolute",zIndex:gt,maxWidth:"100vw",transition:`all ${Nt}`,"&-hidden":{display:"none"}},[`&-left > ${an}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ae.boxShadowDrawerLeft},[`&-right > ${an}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ae.boxShadowDrawerRight},[`&-top > ${an}`]:{top:0,insetInline:0,boxShadow:Ae.boxShadowDrawerUp},[`&-bottom > ${an}`]:{bottom:0,insetInline:0,boxShadow:Ae.boxShadowDrawerDown},[`${tt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Ft,pointerEvents:"auto"},[`${tt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,St.unit)(Wt)} ${(0,St.unit)(Gt)}`,fontSize:ft,lineHeight:Ht,borderBottom:`${(0,St.unit)(Dt)} ${Rt} ${nn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${tt}-extra`]:{flex:"none"},[`${tt}-close`]:Object.assign({display:"inline-flex",width:Pn(ft).add(Jt).equal(),height:Pn(ft).add(Jt).equal(),borderRadius:Ze,justifyContent:"center",alignItems:"center",marginInlineEnd:Cn,color:fn,fontWeight:$t,fontSize:ft,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Mt}`,textRendering:"auto","&:hover":{color:Pe,backgroundColor:_e,textDecoration:"none"},"&:active":{backgroundColor:nt}},(0,Re.Qy)(Ae)),[`${tt}-title`]:{flex:1,margin:0,fontWeight:Ae.fontWeightStrong,fontSize:ft,lineHeight:Ht},[`${tt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Gt,overflow:"auto",[`${tt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${tt}-footer`]:{flexShrink:0,padding:`${(0,St.unit)(un)} ${(0,St.unit)(On)}`,borderTop:`${(0,St.unit)(Dt)} ${Rt} ${nn}`},"&-rtl":{direction:"rtl"}}}},ee=Ae=>({zIndexPopup:Ae.zIndexPopupBase,footerPaddingBlock:Ae.paddingXS,footerPaddingInline:Ae.padding});var z=(0,at.I$)("Drawer",Ae=>{const Ze=(0,vt.mergeToken)(Ae,{});return[ae(Ze),st(Ze)]},ee),ie=function(Ae,Ze){var tt={};for(var gt in Ae)Object.prototype.hasOwnProperty.call(Ae,gt)&&Ze.indexOf(gt)<0&&(tt[gt]=Ae[gt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,gt=Object.getOwnPropertySymbols(Ae);lt<gt.length;lt++)Ze.indexOf(gt[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,gt[lt])&&(tt[gt[lt]]=Ae[gt[lt]]);return tt};const se=null,re={distance:180},me=Ae=>{var Ze;const{rootClassName:tt,width:gt,height:lt,size:Ft="default",mask:Nt=!0,push:Mt=re,open:Jt,afterOpenChange:Wt,onClose:Gt,prefixCls:ft,getContainer:Ht,style:Dt,className:Rt,visible:nn,afterVisibleChange:Cn,maskStyle:fn,drawerStyle:Pe,contentWrapperStyle:_e}=Ae,nt=ie(Ae,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:kt,getPrefixCls:$t,direction:un,className:On,style:Pn,classNames:an,styles:yn}=(0,It.dj)("drawer"),mn=$t("drawer",ft),[Un,vn,Bn]=z(mn),ln=Ht===void 0&&kt?()=>kt(document.body):Ht,xn=ge()({"no-mask":!Nt,[`${mn}-rtl`]:un==="rtl"},tt,vn,Bn),dn=te.useMemo(()=>gt!=null?gt:Ft==="large"?736:378,[gt,Ft]),Mn=te.useMemo(()=>lt!=null?lt:Ft==="large"?736:378,[lt,Ft]),Gn={motionName:(0,Et.m)(mn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},zn=Lt=>({motionName:(0,Et.m)(mn,`panel-motion-${Lt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Tn=(0,zt.H)(),[Yn,Xn]=(0,he.Cn)("Drawer",nt.zIndex),{classNames:$n={},styles:jn={}}=nt;return Un(te.createElement(et.Z,{form:!0,space:!0},te.createElement(De.Z.Provider,{value:Xn},te.createElement(it,Object.assign({prefixCls:mn,onClose:Gt,maskMotion:Gn,motion:zn},nt,{classNames:{mask:ge()($n.mask,an.mask),content:ge()($n.content,an.content),wrapper:ge()($n.wrapper,an.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},jn.mask),fn),yn.mask),content:Object.assign(Object.assign(Object.assign({},jn.content),Pe),yn.content),wrapper:Object.assign(Object.assign(Object.assign({},jn.wrapper),_e),yn.wrapper)},open:Jt!=null?Jt:nn,mask:Nt,push:Mt,width:dn,height:Mn,style:Object.assign(Object.assign({},Pn),Dt),className:ge()(On,Rt),rootClassName:xn,getContainer:ln,afterOpenChange:Wt!=null?Wt:Cn,panelRef:Tn,zIndex:Yn}),te.createElement(Zt,Object.assign({prefixCls:mn},nt,{onClose:Gt}))))))},ye=Ae=>{const{prefixCls:Ze,style:tt,className:gt,placement:lt="right"}=Ae,Ft=ie(Ae,["prefixCls","style","className","placement"]),{getPrefixCls:Nt}=te.useContext(It.E_),Mt=Nt("drawer",Ze),[Jt,Wt,Gt]=z(Mt),ft=ge()(Mt,`${Mt}-pure`,`${Mt}-${lt}`,Wt,Gt,gt);return Jt(te.createElement("div",{className:ft,style:tt},te.createElement(Zt,Object.assign({prefixCls:Mt},Ft))))};me._InternalPanelDoNotUseOrYouWillBeFired=ye;var rt=me},584:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return wt}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(9017),Ce=oe(17835),xe=oe(57700),Ue=()=>{const[,ct]=(0,xe.ZP)(),[$e]=(0,ze.Z)("Empty"),je=new Ce.FastColor(ct.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return te.createElement("svg",{style:je,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},te.createElement("title",null,($e==null?void 0:$e.description)||"Empty"),te.createElement("g",{fill:"none",fillRule:"evenodd"},te.createElement("g",{transform:"translate(24 31.67)"},te.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),te.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"}),te.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)"}),te.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"}),te.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"})),te.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"}),te.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},te.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),te.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},de=()=>{const[,ct]=(0,xe.ZP)(),[$e]=(0,ze.Z)("Empty"),{colorFill:qe,colorFillTertiary:je,colorFillQuaternary:bt,colorBgContainer:Je}=ct,{borderColor:He,shadowColor:ot,contentColor:Te}=(0,te.useMemo)(()=>({borderColor:new Ce.FastColor(qe).onBackground(Je).toHexString(),shadowColor:new Ce.FastColor(je).onBackground(Je).toHexString(),contentColor:new Ce.FastColor(bt).onBackground(Je).toHexString()}),[qe,je,bt,Je]);return te.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},te.createElement("title",null,($e==null?void 0:$e.description)||"Empty"),te.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},te.createElement("ellipse",{fill:ot,cx:"32",cy:"33",rx:"32",ry:"7"}),te.createElement("g",{fillRule:"nonzero",stroke:He},te.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"}),te.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:Te}))))},Ve=oe(16931),ve=oe(51636);const mt=ct=>{const{componentCls:$e,margin:qe,marginXS:je,marginXL:bt,fontSize:Je,lineHeight:He}=ct;return{[$e]:{marginInline:je,fontSize:Je,lineHeight:He,textAlign:"center",[`${$e}-image`]:{height:ct.emptyImgHeight,marginBottom:je,opacity:ct.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${$e}-description`]:{color:ct.colorTextDescription},[`${$e}-footer`]:{marginTop:qe},"&-normal":{marginBlock:bt,color:ct.colorTextDescription,[`${$e}-description`]:{color:ct.colorTextDescription},[`${$e}-image`]:{height:ct.emptyImgHeightMD}},"&-small":{marginBlock:je,color:ct.colorTextDescription,[`${$e}-image`]:{height:ct.emptyImgHeightSM}}}}};var Xe=(0,Ve.I$)("Empty",ct=>{const{componentCls:$e,controlHeightLG:qe,calc:je}=ct,bt=(0,ve.mergeToken)(ct,{emptyImgCls:`${$e}-img`,emptyImgHeight:je(qe).mul(2.5).equal(),emptyImgHeightMD:qe,emptyImgHeightSM:je(qe).mul(.875).equal()});return[mt(bt)]}),Be=oe(48755),Ie=function(ct,$e){var qe={};for(var je in ct)Object.prototype.hasOwnProperty.call(ct,je)&&$e.indexOf(je)<0&&(qe[je]=ct[je]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,je=Object.getOwnPropertySymbols(ct);bt<je.length;bt++)$e.indexOf(je[bt])<0&&Object.prototype.propertyIsEnumerable.call(ct,je[bt])&&(qe[je[bt]]=ct[je[bt]]);return qe};const Le=te.createElement(Ue,null),Qe=te.createElement(de,null),ht=ct=>{const{className:$e,rootClassName:qe,prefixCls:je,image:bt=Le,description:Je,children:He,imageStyle:ot,style:Te,classNames:it,styles:et}=ct,he=Ie(ct,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Et,direction:De,className:It,style:zt,classNames:Se,styles:fe}=(0,Be.dj)("empty"),pt=Et("empty",je),[Zt,St,Re]=Xe(pt),[at]=(0,ze.Z)("Empty"),vt=typeof Je!="undefined"?Je:at==null?void 0:at.description,sn=typeof vt=="string"?vt:"empty";let dt=null;return typeof bt=="string"?dt=te.createElement("img",{alt:sn,src:bt}):dt=bt,Zt(te.createElement("div",Object.assign({className:ge()(St,Re,pt,It,{[`${pt}-normal`]:bt===Qe,[`${pt}-rtl`]:De==="rtl"},$e,qe,Se.root,it==null?void 0:it.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),zt),et==null?void 0:et.root),Te)},he),te.createElement("div",{className:ge()(`${pt}-image`,Se.image,it==null?void 0:it.image),style:Object.assign(Object.assign(Object.assign({},ot),fe.image),et==null?void 0:et.image)},dt),vt&&te.createElement("div",{className:ge()(`${pt}-description`,Se.description,it==null?void 0:it.description),style:Object.assign(Object.assign({},fe.description),et==null?void 0:et.description)},vt),He&&te.createElement("div",{className:ge()(`${pt}-footer`,Se.footer,it==null?void 0:it.footer),style:Object.assign(Object.assign({},fe.footer),et==null?void 0:et.footer)},He)))};ht.PRESENTED_IMAGE_DEFAULT=Le,ht.PRESENTED_IMAGE_SIMPLE=Qe;var wt=ht},28284:function(Vt,Ot,oe){"use strict";oe.d(Ot,{default:function(){return Ye}});var te=oe(56553),Ke=oe(94480),ge=oe(59301),ze=oe(92310),Ce=oe.n(ze),xe=oe(77900),Me=oe(86641),Ue=oe(83397);function Ee(be){const[Oe,we]=ge.useState(be);return ge.useEffect(()=>{const Fe=setTimeout(()=>{we(be)},be.length?0:10);return()=>{clearTimeout(Fe)}},[be]),Oe}var de=oe(36237),Ve=oe(63356),ve=oe(34925),mt=oe(34961),Xe=oe(51636),Be=oe(16931),Le=be=>{const{componentCls:Oe}=be,we=`${Oe}-show-help`,Fe=`${Oe}-show-help-item`;return{[we]:{transition:`opacity ${be.motionDurationFast} ${be.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Fe]:{overflow:"hidden",transition:`height ${be.motionDurationFast} ${be.motionEaseInOut},
|
|
|
opacity ${be.motionDurationFast} ${be.motionEaseInOut},
|
|
|
transform ${be.motionDurationFast} ${be.motionEaseInOut} !important`,[`&${Fe}-appear, &${Fe}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Fe}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Qe=be=>({legend:{display:"block",width:"100%",marginBottom:be.marginLG,padding:0,color:be.colorTextDescription,fontSize:be.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,de.unit)(be.lineWidth)} ${be.lineType} ${be.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)(be.controlOutlineWidth)} ${be.controlOutline}`},output:{display:"block",paddingTop:15,color:be.colorText,fontSize:be.fontSize,lineHeight:be.lineHeight}}),ht=(be,Oe)=>{const{formItemCls:we}=be;return{[we]:{[`${we}-label > label`]:{height:Oe},[`${we}-control-input`]:{minHeight:Oe}}}},wt=be=>{const{componentCls:Oe}=be;return{[be.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ve.Wf)(be)),Qe(be)),{[`${Oe}-text`]:{display:"inline-block",paddingInlineEnd:be.paddingSM},"&-small":Object.assign({},ht(be,be.controlHeightSM)),"&-large":Object.assign({},ht(be,be.controlHeightLG))})}},ct=be=>{const{formItemCls:Oe,iconCls:we,rootPrefixCls:Fe,antCls:ut,labelRequiredMarkColor:Ut,labelColor:Yt,labelFontSize:rn,labelHeight:Tt,labelColonMarginInlineStart:xt,labelColonMarginInlineEnd:yt,itemMarginBottom:Qt}=be;return{[Oe]:Object.assign(Object.assign({},(0,Ve.Wf)(be)),{marginBottom:Qt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${ut}-row`]:{display:"none"},"&-has-warning":{[`${Oe}-split`]:{color:be.colorError}},"&-has-error":{[`${Oe}-split`]:{color:be.colorWarning}},[`${Oe}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:be.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Tt,color:Yt,fontSize:rn,[`> ${we}`]:{fontSize:be.fontSize,verticalAlign:"top"},[`&${Oe}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:be.marginXXS,color:Ut,fontSize:be.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Oe}-required-mark-hidden, &${Oe}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Oe}-optional`]:{display:"inline-block",marginInlineStart:be.marginXXS,color:be.colorTextDescription,[`&${Oe}-required-mark-hidden`]:{display:"none"}},[`${Oe}-tooltip`]:{color:be.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:be.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:xt,marginInlineEnd:yt},[`&${Oe}-no-colon::after`]:{content:'"\\a0"'}}},[`${Oe}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Fe}-col-'"]):not([class*="' ${Fe}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:be.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Oe]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:be.colorTextDescription,fontSize:be.fontSize,lineHeight:be.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:be.controlHeightSM,transition:`color ${be.motionDurationMid} ${be.motionEaseOut}`},"&-explain":{"&-error":{color:be.colorError},"&-warning":{color:be.colorWarning}}},[`&-with-help ${Oe}-explain`]:{height:"auto",opacity:1},[`${Oe}-feedback-icon`]:{fontSize:be.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:be.motionDurationMid,animationTimingFunction:be.motionEaseOutBack,pointerEvents:"none","&-success":{color:be.colorSuccess},"&-error":{color:be.colorError},"&-warning":{color:be.colorWarning},"&-validating":{color:be.colorPrimary}}})}},$e=(be,Oe)=>{const{formItemCls:we}=be;return{[`${Oe}-horizontal`]:{[`${we}-label`]:{flexGrow:0},[`${we}-control`]:{flex:"1 1 0",minWidth:0},[`${we}-label[class$='-24'], ${we}-label[class*='-24 ']`]:{[`& + ${we}-control`]:{minWidth:"unset"}}}}},qe=be=>{const{componentCls:Oe,formItemCls:we,inlineItemMarginBottom:Fe}=be;return{[`${Oe}-inline`]:{display:"flex",flexWrap:"wrap",[we]:{flex:"none",marginInlineEnd:be.margin,marginBottom:Fe,"&-row":{flexWrap:"nowrap"},[`> ${we}-label,
|
|
|
> ${we}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${we}-label`]:{flex:"none"},[`${Oe}-text`]:{display:"inline-block"},[`${we}-has-feedback`]:{display:"inline-block"}}}}},je=be=>({padding:be.verticalLabelPadding,margin:be.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),bt=be=>{const{componentCls:Oe,formItemCls:we,rootPrefixCls:Fe}=be;return{[`${we} ${we}-label`]:je(be),[`${Oe}:not(${Oe}-inline)`]:{[we]:{flexWrap:"wrap",[`${we}-label, ${we}-control`]:{[`&:not([class*=" ${Fe}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Je=be=>{const{componentCls:Oe,formItemCls:we,antCls:Fe}=be;return{[`${Oe}-vertical`]:{[`${we}:not(${we}-horizontal)`]:{[`${we}-row`]:{flexDirection:"column"},[`${we}-label > label`]:{height:"auto"},[`${we}-control`]:{width:"100%"},[`${we}-label,
|
|
|
${Fe}-col-24${we}-label,
|
|
|
${Fe}-col-xl-24${we}-label`]:je(be)}},[`@media (max-width: ${(0,de.unit)(be.screenXSMax)})`]:[bt(be),{[Oe]:{[`${we}:not(${we}-horizontal)`]:{[`${Fe}-col-xs-24${we}-label`]:je(be)}}}],[`@media (max-width: ${(0,de.unit)(be.screenSMMax)})`]:{[Oe]:{[`${we}:not(${we}-horizontal)`]:{[`${Fe}-col-sm-24${we}-label`]:je(be)}}},[`@media (max-width: ${(0,de.unit)(be.screenMDMax)})`]:{[Oe]:{[`${we}:not(${we}-horizontal)`]:{[`${Fe}-col-md-24${we}-label`]:je(be)}}},[`@media (max-width: ${(0,de.unit)(be.screenLGMax)})`]:{[Oe]:{[`${we}:not(${we}-horizontal)`]:{[`${Fe}-col-lg-24${we}-label`]:je(be)}}}}},He=be=>{const{formItemCls:Oe,antCls:we}=be;return{[`${Oe}-vertical`]:{[`${Oe}-row`]:{flexDirection:"column"},[`${Oe}-label > label`]:{height:"auto"},[`${Oe}-control`]:{width:"100%"}},[`${Oe}-vertical ${Oe}-label,
|
|
|
${we}-col-24${Oe}-label,
|
|
|
${we}-col-xl-24${Oe}-label`]:je(be),[`@media (max-width: ${(0,de.unit)(be.screenXSMax)})`]:[bt(be),{[Oe]:{[`${we}-col-xs-24${Oe}-label`]:je(be)}}],[`@media (max-width: ${(0,de.unit)(be.screenSMMax)})`]:{[Oe]:{[`${we}-col-sm-24${Oe}-label`]:je(be)}},[`@media (max-width: ${(0,de.unit)(be.screenMDMax)})`]:{[Oe]:{[`${we}-col-md-24${Oe}-label`]:je(be)}},[`@media (max-width: ${(0,de.unit)(be.screenLGMax)})`]:{[Oe]:{[`${we}-col-lg-24${Oe}-label`]:je(be)}}}},ot=be=>({labelRequiredMarkColor:be.colorError,labelColor:be.colorTextHeading,labelFontSize:be.fontSize,labelHeight:be.controlHeight,labelColonMarginInlineStart:be.marginXXS/2,labelColonMarginInlineEnd:be.marginXS,itemMarginBottom:be.marginLG,verticalLabelPadding:`0 0 ${be.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Te=(be,Oe)=>(0,Xe.mergeToken)(be,{formItemCls:`${be.componentCls}-item`,rootPrefixCls:Oe});var it=(0,Be.I$)("Form",(be,Oe)=>{let{rootPrefixCls:we}=Oe;const Fe=Te(be,we);return[wt(Fe),ct(Fe),Le(Fe),$e(Fe,Fe.componentCls),$e(Fe,Fe.formItemCls),qe(Fe),Je(Fe),He(Fe),(0,mt.Z)(Fe),ve.kr]},ot,{order:-1e3});const et=[];function he(be,Oe,we){let Fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof be=="string"?be:`${Oe}-${Fe}`,error:be,errorStatus:we}}var De=be=>{let{help:Oe,helpStatus:we,errors:Fe=et,warnings:ut=et,className:Ut,fieldId:Yt,onVisibleChanged:rn}=be;const{prefixCls:Tt}=ge.useContext(te.Rk),xt=`${Tt}-item-explain`,yt=(0,Ue.Z)(Tt),[Qt,gn,hn]=it(Tt,yt),pn=ge.useMemo(()=>(0,Me.Z)(Tt),[Tt]),Vn=Ee(Fe),Jn=Ee(ut),qn=ge.useMemo(()=>Oe!=null?[he(Oe,"help",we)]:[].concat((0,Ke.Z)(Vn.map((Dn,Hn)=>he(Dn,"error","error",Hn))),(0,Ke.Z)(Jn.map((Dn,Hn)=>he(Dn,"warning","warning",Hn)))),[Oe,we,Vn,Jn]),Nn=ge.useMemo(()=>{const Dn={};return qn.forEach(Hn=>{let{key:ur}=Hn;Dn[ur]=(Dn[ur]||0)+1}),qn.map((Hn,ur)=>Object.assign(Object.assign({},Hn),{key:Dn[Hn.key]>1?`${Hn.key}-fallback-${ur}`:Hn.key}))},[qn]),An={};return Yt&&(An.id=`${Yt}_help`),Qt(ge.createElement(xe.default,{motionDeadline:pn.motionDeadline,motionName:`${Tt}-show-help`,visible:!!Nn.length,onVisibleChanged:rn},Dn=>{const{className:Hn,style:ur}=Dn;return ge.createElement("div",Object.assign({},An,{className:Ce()(xt,Hn,hn,yt,Ut,gn),style:ur}),ge.createElement(xe.CSSMotionList,Object.assign({keys:Nn},(0,Me.Z)(Tt),{motionName:`${Tt}-show-help-item`,component:!1}),_n=>{const{key:lr,error:ir,errorStatus:er,className:tr,style:vr}=_n;return ge.createElement("div",{key:lr,className:Ce()(tr,{[`${xt}-${er}`]:er}),style:vr},ir)}))}))},It=oe(22001),zt=oe(48755),Se=oe(2171),fe=oe(31756),pt=oe(23069),Zt=oe(76846),St=oe(16722);const Re=["parentNode"],at="form_item";function vt(be){return be===void 0||be===!1?[]:Array.isArray(be)?be:[be]}function sn(be,Oe){if(!be.length)return;const we=be.join("_");return Oe?`${Oe}_${we}`:Re.includes(we)?`${at}_${we}`:we}function dt(be,Oe,we,Fe,ut,Ut){let Yt=Fe;return Ut!==void 0?Yt=Ut:we.validating?Yt="validating":be.length?Yt="error":Oe.length?Yt="warning":(we.touched||ut&&we.validated)&&(Yt="success"),Yt}var Bt=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we};function Ne(be){return vt(be).join("_")}function Pt(be,Oe){const we=Oe.getFieldInstance(be),Fe=(0,Zt.bn)(we);if(Fe)return Fe;const ut=sn(vt(be),Oe.__INTERNAL__.name);if(ut)return document.getElementById(ut)}function st(be){const[Oe]=(0,It.useForm)(),we=ge.useRef({}),Fe=ge.useMemo(()=>be!=null?be:Object.assign(Object.assign({},Oe),{__INTERNAL__:{itemRef:ut=>Ut=>{const Yt=Ne(ut);Ut?we.current[Yt]=Ut:delete we.current[Yt]}},scrollToField:function(ut){let Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Yt}=Ut,rn=Bt(Ut,["focus"]),Tt=Pt(ut,Fe);Tt&&((0,St.Z)(Tt,Object.assign({scrollMode:"if-needed",block:"nearest"},rn)),Yt&&Fe.focusField(ut))},focusField:ut=>{var Ut,Yt;const rn=Fe.getFieldInstance(ut);typeof(rn==null?void 0:rn.focus)=="function"?rn.focus():(Yt=(Ut=Pt(ut,Fe))===null||Ut===void 0?void 0:Ut.focus)===null||Yt===void 0||Yt.call(Ut)},getFieldInstance:ut=>{const Ut=Ne(ut);return we.current[Ut]}}),[be,Oe]);return[Fe]}var ae=oe(98350),ee=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we};const z=(be,Oe)=>{const we=ge.useContext(Se.Z),{getPrefixCls:Fe,direction:ut,requiredMark:Ut,colon:Yt,scrollToFirstError:rn,className:Tt,style:xt}=(0,zt.dj)("form"),{prefixCls:yt,className:Qt,rootClassName:gn,size:hn,disabled:pn=we,form:Vn,colon:Jn,labelAlign:qn,labelWrap:Nn,labelCol:An,wrapperCol:Dn,hideRequiredMark:Hn,layout:ur="horizontal",scrollToFirstError:_n,requiredMark:lr,onFinishFailed:ir,name:er,style:tr,feedbackIcons:vr,variant:mr}=be,cr=ee(be,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),gr=(0,fe.Z)(hn),xr=ge.useContext(ae.Z),or=ge.useMemo(()=>lr!==void 0?lr:Hn?!1:Ut!==void 0?Ut:!0,[Hn,lr,Ut]),dr=Jn!=null?Jn:Yt,Rn=Fe("form",yt),wr=(0,Ue.Z)(Rn),[Nr,Zr,Ar]=it(Rn,wr),Fr=Ce()(Rn,`${Rn}-${ur}`,{[`${Rn}-hide-required-mark`]:or===!1,[`${Rn}-rtl`]:ut==="rtl",[`${Rn}-${gr}`]:gr},Ar,wr,Zr,Tt,Qt,gn),[Er]=st(Vn),{__INTERNAL__:Dr}=Er;Dr.name=er;const Rr=ge.useMemo(()=>({name:er,labelAlign:qn,labelCol:An,labelWrap:Nn,wrapperCol:Dn,vertical:ur==="vertical",colon:dr,requiredMark:or,itemRef:Dr.itemRef,form:Er,feedbackIcons:vr}),[er,qn,An,Dn,ur,dr,or,Er,vr]),fr=ge.useRef(null);ge.useImperativeHandle(Oe,()=>{var on;return Object.assign(Object.assign({},Er),{nativeElement:(on=fr.current)===null||on===void 0?void 0:on.nativeElement})});const Kn=(on,tn)=>{if(on){let jt={block:"nearest"};typeof on=="object"&&(jt=Object.assign(Object.assign({},jt),on)),Er.scrollToField(tn,jt)}},qt=on=>{if(ir==null||ir(on),on.errorFields.length){const tn=on.errorFields[0].name;if(_n!==void 0){Kn(_n,tn);return}rn!==void 0&&Kn(rn,tn)}};return Nr(ge.createElement(te.pg.Provider,{value:mr},ge.createElement(Se.n,{disabled:pn},ge.createElement(pt.Z.Provider,{value:gr},ge.createElement(te.RV,{validateMessages:xr},ge.createElement(te.q3.Provider,{value:Rr},ge.createElement(It.default,Object.assign({id:er},cr,{name:er,onFinishFailed:qt,form:Er,ref:fr,style:Object.assign(Object.assign({},xt),tr),className:Fr}))))))))};var se=ge.forwardRef(z),re=oe(41799),me=oe(8654),ye=oe(22703),rt=oe(32383),Ae=oe(11592);function Ze(be){if(typeof be=="function")return be;const Oe=(0,Ae.Z)(be);return Oe.length<=1?Oe[0]:Oe}const tt=()=>{const{status:be,errors:Oe=[],warnings:we=[]}=ge.useContext(te.aM);return{status:be,errors:Oe,warnings:we}};tt.Context=te.aM;var gt=tt,lt=oe(16089);function Ft(be){const[Oe,we]=ge.useState(be),Fe=ge.useRef(null),ut=ge.useRef([]),Ut=ge.useRef(!1);ge.useEffect(()=>(Ut.current=!1,()=>{Ut.current=!0,lt.Z.cancel(Fe.current),Fe.current=null}),[]);function Yt(rn){Ut.current||(Fe.current===null&&(ut.current=[],Fe.current=(0,lt.Z)(()=>{Fe.current=null,we(Tt=>{let xt=Tt;return ut.current.forEach(yt=>{xt=yt(xt)}),xt})})),ut.current.push(rn))}return[Oe,Yt]}function Nt(){const{itemRef:be}=ge.useContext(te.q3),Oe=ge.useRef({});function we(Fe,ut){const Ut=ut&&typeof ut=="object"&&(0,me.C4)(ut),Yt=Fe.join("_");return(Oe.current.name!==Yt||Oe.current.originRef!==Ut)&&(Oe.current.name=Yt,Oe.current.originRef=Ut,Oe.current.ref=(0,me.sQ)(be(Fe),Ut)),Oe.current.ref}return we}var Mt=oe(29194),Jt=oe(34280),Wt=oe(2738),Gt=oe(65970),ft=oe(70425),Ht=oe(5472);const Dt=be=>{const{formItemCls:Oe}=be;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Oe}-control`]:{display:"flex"}}}};var Rt=(0,Be.bk)(["Form","item-item"],(be,Oe)=>{let{rootPrefixCls:we}=Oe;const Fe=Te(be,we);return[Dt(Fe)]}),nn=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we};const Cn=24;var Pe=be=>{const{prefixCls:Oe,status:we,labelCol:Fe,wrapperCol:ut,children:Ut,errors:Yt,warnings:rn,_internalItemRender:Tt,extra:xt,help:yt,fieldId:Qt,marginBottom:gn,onErrorVisibleChanged:hn,label:pn}=be,Vn=`${Oe}-item`,Jn=ge.useContext(te.q3),qn=ge.useMemo(()=>{let cr=Object.assign({},ut||Jn.wrapperCol||{});return pn===null&&!Fe&&!ut&&Jn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(xr=>{const or=xr?[xr]:[],dr=(0,ft.U2)(Jn.labelCol,or),Rn=typeof dr=="object"?dr:{},wr=(0,ft.U2)(cr,or),Nr=typeof wr=="object"?wr:{};"span"in Rn&&!("offset"in Nr)&&Rn.span<Cn&&(cr=(0,ft.t8)(cr,[].concat(or,["offset"]),Rn.span))}),cr},[ut,Jn]),Nn=Ce()(`${Vn}-control`,qn.className),An=ge.useMemo(()=>{const{labelCol:cr,wrapperCol:gr}=Jn;return nn(Jn,["labelCol","wrapperCol"])},[Jn]),Dn=ge.useRef(null),[Hn,ur]=ge.useState(0);(0,Jt.Z)(()=>{xt&&Dn.current?ur(Dn.current.clientHeight):ur(0)},[xt]);const _n=ge.createElement("div",{className:`${Vn}-control-input`},ge.createElement("div",{className:`${Vn}-control-input-content`},Ut)),lr=ge.useMemo(()=>({prefixCls:Oe,status:we}),[Oe,we]),ir=gn!==null||Yt.length||rn.length?ge.createElement(te.Rk.Provider,{value:lr},ge.createElement(De,{fieldId:Qt,errors:Yt,warnings:rn,help:yt,helpStatus:we,className:`${Vn}-explain-connected`,onVisibleChanged:hn})):null,er={};Qt&&(er.id=`${Qt}_extra`);const tr=xt?ge.createElement("div",Object.assign({},er,{className:`${Vn}-extra`,ref:Dn}),xt):null,vr=ir||tr?ge.createElement("div",{className:`${Vn}-additional`,style:gn?{minHeight:gn+Hn}:{}},ir,tr):null,mr=Tt&&Tt.mark==="pro_table_render"&&Tt.render?Tt.render(be,{input:_n,errorList:ir,extra:tr}):ge.createElement(ge.Fragment,null,_n,vr);return ge.createElement(te.q3.Provider,{value:An},ge.createElement(Ht.Z,Object.assign({},qn,{className:Nn}),mr),ge.createElement(Rt,{prefixCls:Oe}))},_e=oe(61485),nt=oe(9017),kt=oe(85981),$t=oe(25399),un=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we};function On(be){return be?typeof be=="object"&&!ge.isValidElement(be)?be:{title:be}:null}var an=be=>{let{prefixCls:Oe,label:we,htmlFor:Fe,labelCol:ut,labelAlign:Ut,colon:Yt,required:rn,requiredMark:Tt,tooltip:xt,vertical:yt}=be;var Qt;const[gn]=(0,nt.Z)("Form"),{labelAlign:hn,labelCol:pn,labelWrap:Vn,colon:Jn}=ge.useContext(te.q3);if(!we)return null;const qn=ut||pn||{},Nn=Ut||hn,An=`${Oe}-item-label`,Dn=Ce()(An,Nn==="left"&&`${An}-left`,qn.className,{[`${An}-wrap`]:!!Vn});let Hn=we;const ur=Yt===!0||Jn!==!1&&Yt!==!1;ur&&!yt&&typeof we=="string"&&we.trim()&&(Hn=we.replace(/[:|:]\s*$/,""));const lr=On(xt);if(lr){const{icon:cr=ge.createElement(_e.Z,null)}=lr,gr=un(lr,["icon"]),xr=ge.createElement($t.Z,Object.assign({},gr),ge.cloneElement(cr,{className:`${Oe}-item-tooltip`,title:"",onClick:or=>{or.preventDefault()},tabIndex:null}));Hn=ge.createElement(ge.Fragment,null,Hn,xr)}const ir=Tt==="optional",er=typeof Tt=="function",tr=Tt===!1;er?Hn=Tt(Hn,{required:!!rn}):ir&&!rn&&(Hn=ge.createElement(ge.Fragment,null,Hn,ge.createElement("span",{className:`${Oe}-item-optional`,title:""},(gn==null?void 0:gn.optional)||((Qt=kt.Z.Form)===null||Qt===void 0?void 0:Qt.optional))));let vr;tr?vr="hidden":(ir||er)&&(vr="optional");const mr=Ce()({[`${Oe}-item-required`]:rn,[`${Oe}-item-required-mark-${vr}`]:vr,[`${Oe}-item-no-colon`]:!ur});return ge.createElement(Ht.Z,Object.assign({},qn,{className:Dn}),ge.createElement("label",{htmlFor:Fe,className:mr,title:typeof we=="string"?we:""},Hn))},yn=oe(29679),mn=oe(19248),Un=oe(96512),vn=oe(58617);const Bn={success:yn.Z,warning:Un.Z,error:mn.Z,validating:vn.Z};function ln(be){let{children:Oe,errors:we,warnings:Fe,hasFeedback:ut,validateStatus:Ut,prefixCls:Yt,meta:rn,noStyle:Tt}=be;const xt=`${Yt}-item`,{feedbackIcons:yt}=ge.useContext(te.q3),Qt=dt(we,Fe,rn,null,!!ut,Ut),{isFormItemInput:gn,status:hn,hasFeedback:pn,feedbackIcon:Vn}=ge.useContext(te.aM),Jn=ge.useMemo(()=>{var qn;let Nn;if(ut){const Dn=ut!==!0&&ut.icons||yt,Hn=Qt&&((qn=Dn==null?void 0:Dn({status:Qt,errors:we,warnings:Fe}))===null||qn===void 0?void 0:qn[Qt]),ur=Qt&&Bn[Qt];Nn=Hn!==!1&&ur?ge.createElement("span",{className:Ce()(`${xt}-feedback-icon`,`${xt}-feedback-icon-${Qt}`)},Hn||ge.createElement(ur,null)):null}const An={status:Qt||"",errors:we,warnings:Fe,hasFeedback:!!ut,feedbackIcon:Nn,isFormItemInput:!0};return Tt&&(An.status=(Qt!=null?Qt:hn)||"",An.isFormItemInput=gn,An.hasFeedback=!!(ut!=null?ut:pn),An.feedbackIcon=ut!==void 0?An.feedbackIcon:Vn),An},[Qt,ut,Tt,gn,hn]);return ge.createElement(te.aM.Provider,{value:Jn},Oe)}var xn=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we};function dn(be){const{prefixCls:Oe,className:we,rootClassName:Fe,style:ut,help:Ut,errors:Yt,warnings:rn,validateStatus:Tt,meta:xt,hasFeedback:yt,hidden:Qt,children:gn,fieldId:hn,required:pn,isRequired:Vn,onSubItemMetaChange:Jn,layout:qn}=be,Nn=xn(be,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),An=`${Oe}-item`,{requiredMark:Dn,vertical:Hn}=ge.useContext(te.q3),ur=Hn||qn==="vertical",_n=ge.useRef(null),lr=Ee(Yt),ir=Ee(rn),er=Ut!=null,tr=!!(er||Yt.length||rn.length),vr=!!_n.current&&(0,Mt.Z)(_n.current),[mr,cr]=ge.useState(null);(0,Jt.Z)(()=>{if(tr&&_n.current){const Rn=getComputedStyle(_n.current);cr(parseInt(Rn.marginBottom,10))}},[tr,vr]);const gr=Rn=>{Rn||cr(null)},or=function(){let Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const wr=Rn?lr:xt.errors,Nr=Rn?ir:xt.warnings;return dt(wr,Nr,xt,"",!!yt,Tt)}(),dr=Ce()(An,we,Fe,{[`${An}-with-help`]:er||lr.length||ir.length,[`${An}-has-feedback`]:or&&yt,[`${An}-has-success`]:or==="success",[`${An}-has-warning`]:or==="warning",[`${An}-has-error`]:or==="error",[`${An}-is-validating`]:or==="validating",[`${An}-hidden`]:Qt,[`${An}-${qn}`]:qn});return ge.createElement("div",{className:dr,style:ut,ref:_n},ge.createElement(Gt.Z,Object.assign({className:`${An}-row`},(0,Wt.Z)(Nn,["_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"])),ge.createElement(an,Object.assign({htmlFor:hn},be,{requiredMark:Dn,required:pn!=null?pn:Vn,prefixCls:Oe,vertical:ur})),ge.createElement(Pe,Object.assign({},be,xt,{errors:lr,warnings:ir,prefixCls:Oe,status:or,help:Ut,marginBottom:mr,onErrorVisibleChanged:gr}),ge.createElement(te.qI.Provider,{value:Jn},ge.createElement(ln,{prefixCls:Oe,meta:xt,errors:xt.errors,warnings:xt.warnings,hasFeedback:yt,validateStatus:or},gn)))),!!mr&&ge.createElement("div",{className:`${An}-margin-offset`,style:{marginBottom:-mr}}))}const Mn="__SPLIT__",Gn=null;function zn(be,Oe){const we=Object.keys(be),Fe=Object.keys(Oe);return we.length===Fe.length&&we.every(ut=>{const Ut=be[ut],Yt=Oe[ut];return Ut===Yt||typeof Ut=="function"||typeof Yt=="function"})}const Tn=ge.memo(be=>{let{children:Oe}=be;return Oe},(be,Oe)=>zn(be.control,Oe.control)&&be.update===Oe.update&&be.childProps.length===Oe.childProps.length&&be.childProps.every((we,Fe)=>we===Oe.childProps[Fe]));function Yn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Xn(be){const{name:Oe,noStyle:we,className:Fe,dependencies:ut,prefixCls:Ut,shouldUpdate:Yt,rules:rn,children:Tt,required:xt,label:yt,messageVariables:Qt,trigger:gn="onChange",validateTrigger:hn,hidden:pn,help:Vn,layout:Jn}=be,{getPrefixCls:qn}=ge.useContext(zt.E_),{name:Nn}=ge.useContext(te.q3),An=Ze(Tt),Dn=typeof An=="function",Hn=ge.useContext(te.qI),{validateTrigger:ur}=ge.useContext(It.FieldContext),_n=hn!==void 0?hn:ur,lr=Oe!=null,ir=qn("form",Ut),er=(0,Ue.Z)(ir),[tr,vr,mr]=it(ir,er),cr=(0,rt.ln)("Form.Item"),gr=ge.useContext(It.ListContext),xr=ge.useRef(null),[or,dr]=Ft({}),[Rn,wr]=(0,re.Z)(()=>Yn()),Nr=fr=>{const Kn=gr==null?void 0:gr.getKey(fr.name);if(wr(fr.destroy?Yn():fr,!0),we&&Vn!==!1&&Hn){let qt=fr.name;if(fr.destroy)qt=xr.current||qt;else if(Kn!==void 0){const[on,tn]=Kn;qt=[on].concat((0,Ke.Z)(tn)),xr.current=qt}Hn(fr,qt)}},Zr=(fr,Kn)=>{dr(qt=>{const on=Object.assign({},qt),jt=[].concat((0,Ke.Z)(fr.name.slice(0,-1)),(0,Ke.Z)(Kn)).join(Mn);return fr.destroy?delete on[jt]:on[jt]=fr,on})},[Ar,Fr]=ge.useMemo(()=>{const fr=(0,Ke.Z)(Rn.errors),Kn=(0,Ke.Z)(Rn.warnings);return Object.values(or).forEach(qt=>{fr.push.apply(fr,(0,Ke.Z)(qt.errors||[])),Kn.push.apply(Kn,(0,Ke.Z)(qt.warnings||[]))}),[fr,Kn]},[or,Rn.errors,Rn.warnings]),Er=Nt();function Dr(fr,Kn,qt){return we&&!pn?ge.createElement(ln,{prefixCls:ir,hasFeedback:be.hasFeedback,validateStatus:be.validateStatus,meta:Rn,errors:Ar,warnings:Fr,noStyle:!0},fr):ge.createElement(dn,Object.assign({key:"row"},be,{className:Ce()(Fe,mr,er,vr),prefixCls:ir,fieldId:Kn,isRequired:qt,errors:Ar,warnings:Fr,meta:Rn,onSubItemMetaChange:Zr,layout:Jn}),fr)}if(!lr&&!Dn&&!ut)return tr(Dr(An));let Rr={};return typeof yt=="string"?Rr.label=yt:Oe&&(Rr.label=String(Oe)),Qt&&(Rr=Object.assign(Object.assign({},Rr),Qt)),tr(ge.createElement(It.Field,Object.assign({},be,{messageVariables:Rr,trigger:gn,validateTrigger:_n,onMetaChange:Nr}),(fr,Kn,qt)=>{const on=vt(Oe).length&&Kn?Kn.name:[],tn=sn(on,Nn),jt=xt!==void 0?xt:!!(rn!=null&&rn.some(_t=>{if(_t&&typeof _t=="object"&&_t.required&&!_t.warningOnly)return!0;if(typeof _t=="function"){const en=_t(qt);return(en==null?void 0:en.required)&&!(en!=null&&en.warningOnly)}return!1})),En=Object.assign({},fr);let Fn=null;if(Array.isArray(An)&&lr)Fn=An;else if(!(Dn&&(!(Yt||ut)||lr))){if(!(ut&&!Dn&&!lr))if(ge.isValidElement(An)){const _t=Object.assign(Object.assign({},An.props),En);if(_t.id||(_t.id=tn),Vn||Ar.length>0||Fr.length>0||be.extra){const Sn=[];(Vn||Ar.length>0)&&Sn.push(`${tn}_help`),be.extra&&Sn.push(`${tn}_extra`),_t["aria-describedby"]=Sn.join(" ")}Ar.length>0&&(_t["aria-invalid"]="true"),jt&&(_t["aria-required"]="true"),(0,me.Yr)(An)&&(_t.ref=Er(on,An)),new Set([].concat((0,Ke.Z)(vt(gn)),(0,Ke.Z)(vt(_n)))).forEach(Sn=>{_t[Sn]=function(){for(var rr,Br,br,Pr,Lr,Mr=arguments.length,zr=new Array(Mr),kr=0;kr<Mr;kr++)zr[kr]=arguments[kr];(br=En[Sn])===null||br===void 0||(rr=br).call.apply(rr,[En].concat(zr)),(Lr=(Pr=An.props)[Sn])===null||Lr===void 0||(Br=Lr).call.apply(Br,[Pr].concat(zr))}});const wn=[_t["aria-required"],_t["aria-invalid"],_t["aria-describedby"]];Fn=ge.createElement(Tn,{control:En,update:An,childProps:wn},(0,ye.Tm)(An,_t))}else Dn&&(Yt||ut)&&!lr?Fn=An(qt):Fn=An}return Dr(Fn,tn,jt)}))}const $n=Xn;$n.useStatus=gt;var jn=$n,Lt=function(be,Oe){var we={};for(var Fe in be)Object.prototype.hasOwnProperty.call(be,Fe)&&Oe.indexOf(Fe)<0&&(we[Fe]=be[Fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Fe=Object.getOwnPropertySymbols(be);ut<Fe.length;ut++)Oe.indexOf(Fe[ut])<0&&Object.prototype.propertyIsEnumerable.call(be,Fe[ut])&&(we[Fe[ut]]=be[Fe[ut]]);return we},kn=be=>{var{prefixCls:Oe,children:we}=be,Fe=Lt(be,["prefixCls","children"]);const{getPrefixCls:ut}=ge.useContext(zt.E_),Ut=ut("form",Oe),Yt=ge.useMemo(()=>({prefixCls:Ut,status:"error"}),[Ut]);return ge.createElement(It.List,Object.assign({},Fe),(rn,Tt,xt)=>ge.createElement(te.Rk.Provider,{value:Yt},we(rn.map(yt=>Object.assign(Object.assign({},yt),{fieldKey:yt.key})),Tt,{errors:xt.errors,warnings:xt.warnings})))};function Qn(){const{form:be}=ge.useContext(te.q3);return be}const ke=se;ke.Item=jn,ke.List=kn,ke.ErrorList=De,ke.useForm=st,ke.useFormInstance=Qn,ke.useWatch=It.useWatch,ke.Provider=te.RV,ke.create=()=>{};var Ye=ke},4875:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return fn}});var te=oe(59301),Ke=oe(84105),ge=oe(87395),ze=oe(92310),Ce=oe.n(ze),xe=oe(54476),Me=oe(20068),Ue=oe(76190),Ee=oe(42978),de=oe(75931),Ve=oe(67732),ve=oe(83652);function mt(){return typeof BigInt=="function"}function Xe(Pe){return!Pe&&Pe!==0&&!Number.isNaN(Pe)||!String(Pe).trim()}function Be(Pe){var _e=Pe.trim(),nt=_e.startsWith("-");nt&&(_e=_e.slice(1)),_e=_e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),_e.startsWith(".")&&(_e="0".concat(_e));var kt=_e||"0",$t=kt.split("."),un=$t[0]||"0",On=$t[1]||"0";un==="0"&&On==="0"&&(nt=!1);var Pn=nt?"-":"";return{negative:nt,negativeStr:Pn,trimStr:kt,integerStr:un,decimalStr:On,fullStr:"".concat(Pn).concat(kt)}}function Ie(Pe){var _e=String(Pe);return!Number.isNaN(Number(_e))&&_e.includes("e")}function Le(Pe){var _e=String(Pe);if(Ie(Pe)){var nt=Number(_e.slice(_e.indexOf("e-")+2)),kt=_e.match(/\.(\d+)/);return kt!=null&&kt[1]&&(nt+=kt[1].length),nt}return _e.includes(".")&&ht(_e)?_e.length-_e.indexOf(".")-1:0}function Qe(Pe){var _e=String(Pe);if(Ie(Pe)){if(Pe>Number.MAX_SAFE_INTEGER)return String(mt()?BigInt(Pe).toString():Number.MAX_SAFE_INTEGER);if(Pe<Number.MIN_SAFE_INTEGER)return String(mt()?BigInt(Pe).toString():Number.MIN_SAFE_INTEGER);_e=Pe.toFixed(Le(_e))}return Be(_e).fullStr}function ht(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 wt=function(){function Pe(_e){if((0,Ve.Z)(this,Pe),(0,Me.Z)(this,"origin",""),(0,Me.Z)(this,"negative",void 0),(0,Me.Z)(this,"integer",void 0),(0,Me.Z)(this,"decimal",void 0),(0,Me.Z)(this,"decimalLen",void 0),(0,Me.Z)(this,"empty",void 0),(0,Me.Z)(this,"nan",void 0),Xe(_e)){this.empty=!0;return}if(this.origin=String(_e),_e==="-"||Number.isNaN(_e)){this.nan=!0;return}var nt=_e;if(Ie(nt)&&(nt=Number(nt)),nt=typeof nt=="string"?nt:Qe(nt),ht(nt)){var kt=Be(nt);this.negative=kt.negative;var $t=kt.trimStr.split(".");this.integer=BigInt($t[0]);var un=$t[1]||"0";this.decimal=BigInt(un),this.decimalLen=un.length}else this.nan=!0}return(0,ve.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(nt){var kt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(nt,"0"));return BigInt(kt)}},{key:"negate",value:function(){var nt=new Pe(this.toString());return nt.negative=!nt.negative,nt}},{key:"cal",value:function(nt,kt,$t){var un=Math.max(this.getDecimalStr().length,nt.getDecimalStr().length),On=this.alignDecimal(un),Pn=nt.alignDecimal(un),an=kt(On,Pn).toString(),yn=$t(un),mn=Be(an),Un=mn.negativeStr,vn=mn.trimStr,Bn="".concat(Un).concat(vn.padStart(yn+1,"0"));return new Pe("".concat(Bn.slice(0,-yn),".").concat(Bn.slice(-yn)))}},{key:"add",value:function(nt){if(this.isInvalidate())return new Pe(nt);var kt=new Pe(nt);return kt.isInvalidate()?this:this.cal(kt,function($t,un){return $t+un},function($t){return $t})}},{key:"multi",value:function(nt){var kt=new Pe(nt);return this.isInvalidate()||kt.isInvalidate()?new Pe(NaN):this.cal(kt,function($t,un){return $t*un},function($t){return $t*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(nt){return this.toString()===(nt==null?void 0:nt.toString())}},{key:"lessEquals",value:function(nt){return this.add(nt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return nt?this.isInvalidate()?"":Be("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Pe}(),ct=function(){function Pe(_e){if((0,Ve.Z)(this,Pe),(0,Me.Z)(this,"origin",""),(0,Me.Z)(this,"number",void 0),(0,Me.Z)(this,"empty",void 0),Xe(_e)){this.empty=!0;return}this.origin=String(_e),this.number=Number(_e)}return(0,ve.Z)(Pe,[{key:"negate",value:function(){return new Pe(-this.toNumber())}},{key:"add",value:function(nt){if(this.isInvalidate())return new Pe(nt);var kt=Number(nt);if(Number.isNaN(kt))return this;var $t=this.number+kt;if($t>Number.MAX_SAFE_INTEGER)return new Pe(Number.MAX_SAFE_INTEGER);if($t<Number.MIN_SAFE_INTEGER)return new Pe(Number.MIN_SAFE_INTEGER);var un=Math.max(Le(this.number),Le(kt));return new Pe($t.toFixed(un))}},{key:"multi",value:function(nt){var kt=Number(nt);if(this.isInvalidate()||Number.isNaN(kt))return new Pe(NaN);var $t=this.number*kt;if($t>Number.MAX_SAFE_INTEGER)return new Pe(Number.MAX_SAFE_INTEGER);if($t<Number.MIN_SAFE_INTEGER)return new Pe(Number.MIN_SAFE_INTEGER);var un=Math.max(Le(this.number),Le(kt));return new Pe($t.toFixed(un))}},{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(nt){return this.toNumber()===(nt==null?void 0:nt.toNumber())}},{key:"lessEquals",value:function(nt){return this.add(nt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return nt?this.isInvalidate()?"":Qe(this.number):this.origin}}]),Pe}();function $e(Pe){return mt()?new wt(Pe):new ct(Pe)}function qe(Pe,_e,nt){var kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Pe==="")return"";var $t=Be(Pe),un=$t.negativeStr,On=$t.integerStr,Pn=$t.decimalStr,an="".concat(_e).concat(Pn),yn="".concat(un).concat(On);if(nt>=0){var mn=Number(Pn[nt]);if(mn>=5&&!kt){var Un=$e(Pe).add("".concat(un,"0.").concat("0".repeat(nt)).concat(10-mn));return qe(Un.toString(),_e,nt,kt)}return nt===0?yn:"".concat(yn).concat(_e).concat(Pn.padEnd(nt,"0").slice(0,nt))}return an===".0"?yn:"".concat(yn).concat(an)}var je=$e,bt=oe(36901),Je=oe(34280);function He(Pe,_e){return typeof Proxy!="undefined"&&Pe?new Proxy(Pe,{get:function(kt,$t){if(_e[$t])return _e[$t];var un=kt[$t];return typeof un=="function"?un.bind(kt):un}}):Pe}var ot=oe(8654),Te=oe(48736);function it(Pe,_e){var nt=(0,te.useRef)(null);function kt(){try{var un=Pe.selectionStart,On=Pe.selectionEnd,Pn=Pe.value,an=Pn.substring(0,un),yn=Pn.substring(On);nt.current={start:un,end:On,value:Pn,beforeTxt:an,afterTxt:yn}}catch(mn){}}function $t(){if(Pe&&nt.current&&_e)try{var un=Pe.value,On=nt.current,Pn=On.beforeTxt,an=On.afterTxt,yn=On.start,mn=un.length;if(un.startsWith(Pn))mn=Pn.length;else if(un.endsWith(an))mn=un.length-nt.current.afterTxt.length;else{var Un=Pn[yn-1],vn=un.indexOf(Un,yn-1);vn!==-1&&(mn=vn+1)}Pe.setSelectionRange(mn,mn)}catch(Bn){(0,Te.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Bn.message))}}return[kt,$t]}var et=oe(49658),he=function(){var _e=(0,te.useState)(!1),nt=(0,Ee.Z)(_e,2),kt=nt[0],$t=nt[1];return(0,Je.Z)(function(){$t((0,et.Z)())},[]),kt},Et=he,De=oe(16089),It=200,zt=600;function Se(Pe){var _e=Pe.prefixCls,nt=Pe.upNode,kt=Pe.downNode,$t=Pe.upDisabled,un=Pe.downDisabled,On=Pe.onStep,Pn=te.useRef(),an=te.useRef([]),yn=te.useRef();yn.current=On;var mn=function(){clearTimeout(Pn.current)},Un=function(zn,Tn){zn.preventDefault(),mn(),yn.current(Tn);function Yn(){yn.current(Tn),Pn.current=setTimeout(Yn,It)}Pn.current=setTimeout(Yn,zt)};te.useEffect(function(){return function(){mn(),an.current.forEach(function(Gn){return De.Z.cancel(Gn)})}},[]);var vn=Et();if(vn)return null;var Bn="".concat(_e,"-handler"),ln=Ce()(Bn,"".concat(Bn,"-up"),(0,Me.Z)({},"".concat(Bn,"-up-disabled"),$t)),xn=Ce()(Bn,"".concat(Bn,"-down"),(0,Me.Z)({},"".concat(Bn,"-down-disabled"),un)),dn=function(){return an.current.push((0,De.Z)(mn))},Mn={unselectable:"on",role:"button",onMouseUp:dn,onMouseLeave:dn};return te.createElement("div",{className:"".concat(Bn,"-wrap")},te.createElement("span",(0,xe.Z)({},Mn,{onMouseDown:function(zn){Un(zn,!0)},"aria-label":"Increase Value","aria-disabled":$t,className:ln}),nt||te.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-up-inner")})),te.createElement("span",(0,xe.Z)({},Mn,{onMouseDown:function(zn){Un(zn,!1)},"aria-label":"Decrease Value","aria-disabled":un,className:xn}),kt||te.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-down-inner")})))}function fe(Pe){var _e=typeof Pe=="number"?Qe(Pe):Be(Pe).fullStr,nt=_e.includes(".");return nt?Be(_e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Pe+"0"}var pt=oe(30292),Zt=function(){var Pe=(0,te.useRef)(0),_e=function(){De.Z.cancel(Pe.current)};return(0,te.useEffect)(function(){return _e},[]),function(nt){_e(),Pe.current=(0,De.Z)(function(){nt()})}},St=["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"],Re=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],at=function(_e,nt){return _e||nt.isEmpty()?nt.toString():nt.toNumber()},vt=function(_e){var nt=je(_e);return nt.isInvalidate()?null:nt},sn=te.forwardRef(function(Pe,_e){var nt=Pe.prefixCls,kt=Pe.className,$t=Pe.style,un=Pe.min,On=Pe.max,Pn=Pe.step,an=Pn===void 0?1:Pn,yn=Pe.defaultValue,mn=Pe.value,Un=Pe.disabled,vn=Pe.readOnly,Bn=Pe.upHandler,ln=Pe.downHandler,xn=Pe.keyboard,dn=Pe.changeOnWheel,Mn=dn===void 0?!1:dn,Gn=Pe.controls,zn=Gn===void 0?!0:Gn,Tn=Pe.classNames,Yn=Pe.stringMode,Xn=Pe.parser,$n=Pe.formatter,jn=Pe.precision,Lt=Pe.decimalSeparator,Xt=Pe.onChange,kn=Pe.onInput,Qn=Pe.onPressEnter,ke=Pe.onStep,Ye=Pe.changeOnBlur,be=Ye===void 0?!0:Ye,Oe=Pe.domRef,we=(0,de.Z)(Pe,St),Fe="".concat(nt,"-input"),ut=te.useRef(null),Ut=te.useState(!1),Yt=(0,Ee.Z)(Ut,2),rn=Yt[0],Tt=Yt[1],xt=te.useRef(!1),yt=te.useRef(!1),Qt=te.useRef(!1),gn=te.useState(function(){return je(mn!=null?mn:yn)}),hn=(0,Ee.Z)(gn,2),pn=hn[0],Vn=hn[1];function Jn(tn){mn===void 0&&Vn(tn)}var qn=te.useCallback(function(tn,jt){if(!jt)return jn>=0?jn:Math.max(Le(tn),Le(an))},[jn,an]),Nn=te.useCallback(function(tn){var jt=String(tn);if(Xn)return Xn(jt);var En=jt;return Lt&&(En=En.replace(Lt,".")),En.replace(/[^\w.-]+/g,"")},[Xn,Lt]),An=te.useRef(""),Dn=te.useCallback(function(tn,jt){if($n)return $n(tn,{userTyping:jt,input:String(An.current)});var En=typeof tn=="number"?Qe(tn):tn;if(!jt){var Fn=qn(En,jt);if(ht(En)&&(Lt||Fn>=0)){var _t=Lt||".";En=qe(En,_t,Fn)}}return En},[$n,qn,Lt]),Hn=te.useState(function(){var tn=yn!=null?yn:mn;return pn.isInvalidate()&&["string","number"].includes((0,Ue.Z)(tn))?Number.isNaN(tn)?"":tn:Dn(pn.toString(),!1)}),ur=(0,Ee.Z)(Hn,2),_n=ur[0],lr=ur[1];An.current=_n;function ir(tn,jt){lr(Dn(tn.isInvalidate()?tn.toString(!1):tn.toString(!jt),jt))}var er=te.useMemo(function(){return vt(On)},[On,jn]),tr=te.useMemo(function(){return vt(un)},[un,jn]),vr=te.useMemo(function(){return!er||!pn||pn.isInvalidate()?!1:er.lessEquals(pn)},[er,pn]),mr=te.useMemo(function(){return!tr||!pn||pn.isInvalidate()?!1:pn.lessEquals(tr)},[tr,pn]),cr=it(ut.current,rn),gr=(0,Ee.Z)(cr,2),xr=gr[0],or=gr[1],dr=function(jt){return er&&!jt.lessEquals(er)?er:tr&&!tr.lessEquals(jt)?tr:null},Rn=function(jt){return!dr(jt)},wr=function(jt,En){var Fn=jt,_t=Rn(Fn)||Fn.isEmpty();if(!Fn.isEmpty()&&!En&&(Fn=dr(Fn)||Fn,_t=!0),!vn&&!Un&&_t){var en=Fn.toString(),wn=qn(en,En);return wn>=0&&(Fn=je(qe(en,".",wn)),Rn(Fn)||(Fn=je(qe(en,".",wn,!0)))),Fn.equals(pn)||(Jn(Fn),Xt==null||Xt(Fn.isEmpty()?null:at(Yn,Fn)),mn===void 0&&ir(Fn,En)),Fn}return pn},Nr=Zt(),Zr=function tn(jt){if(xr(),An.current=jt,lr(jt),!yt.current){var En=Nn(jt),Fn=je(En);Fn.isNaN()||wr(Fn,!0)}kn==null||kn(jt),Nr(function(){var _t=jt;Xn||(_t=jt.replace(/。/g,".")),_t!==jt&&tn(_t)})},Ar=function(){yt.current=!0},Fr=function(){yt.current=!1,Zr(ut.current.value)},Er=function(jt){Zr(jt.target.value)},Dr=function(jt){var En;if(!(jt&&vr||!jt&&mr)){xt.current=!1;var Fn=je(Qt.current?fe(an):an);jt||(Fn=Fn.negate());var _t=(pn||je(0)).add(Fn.toString()),en=wr(_t,!1);ke==null||ke(at(Yn,en),{offset:Qt.current?fe(an):an,type:jt?"up":"down"}),(En=ut.current)===null||En===void 0||En.focus()}},Rr=function(jt){var En=je(Nn(_n)),Fn;En.isNaN()?Fn=wr(pn,jt):Fn=wr(En,jt),mn!==void 0?ir(pn,!1):Fn.isNaN()||ir(Fn,!1)},fr=function(){xt.current=!0},Kn=function(jt){var En=jt.key,Fn=jt.shiftKey;xt.current=!0,Qt.current=Fn,En==="Enter"&&(yt.current||(xt.current=!1),Rr(!1),Qn==null||Qn(jt)),xn!==!1&&!yt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(En)&&(Dr(En==="Up"||En==="ArrowUp"),jt.preventDefault())},qt=function(){xt.current=!1,Qt.current=!1};te.useEffect(function(){if(Mn&&rn){var tn=function(Fn){Dr(Fn.deltaY<0),Fn.preventDefault()},jt=ut.current;if(jt)return jt.addEventListener("wheel",tn,{passive:!1}),function(){return jt.removeEventListener("wheel",tn)}}});var on=function(){be&&Rr(!1),Tt(!1),xt.current=!1};return(0,Je.o)(function(){pn.isInvalidate()||ir(pn,!1)},[jn,$n]),(0,Je.o)(function(){var tn=je(mn);Vn(tn);var jt=je(Nn(_n));(!tn.equals(jt)||!xt.current||$n)&&ir(tn,xt.current)},[mn]),(0,Je.o)(function(){$n&&or()},[_n]),te.createElement("div",{ref:Oe,className:Ce()(nt,kt,(0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)({},"".concat(nt,"-focused"),rn),"".concat(nt,"-disabled"),Un),"".concat(nt,"-readonly"),vn),"".concat(nt,"-not-a-number"),pn.isNaN()),"".concat(nt,"-out-of-range"),!pn.isInvalidate()&&!Rn(pn))),style:$t,onFocus:function(){Tt(!0)},onBlur:on,onKeyDown:Kn,onKeyUp:qt,onCompositionStart:Ar,onCompositionEnd:Fr,onBeforeInput:fr},zn&&te.createElement(Se,{prefixCls:nt,upNode:Bn,downNode:ln,upDisabled:vr,downDisabled:mr,onStep:Dr}),te.createElement("div",{className:"".concat(Fe,"-wrap")},te.createElement("input",(0,xe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":un,"aria-valuemax":On,"aria-valuenow":pn.isInvalidate()?null:pn.toString(),step:an},we,{ref:(0,ot.sQ)(ut,_e),className:Fe,value:_n,onChange:Er,disabled:Un,readOnly:vn}))))}),dt=te.forwardRef(function(Pe,_e){var nt=Pe.disabled,kt=Pe.style,$t=Pe.prefixCls,un=$t===void 0?"rc-input-number":$t,On=Pe.value,Pn=Pe.prefix,an=Pe.suffix,yn=Pe.addonBefore,mn=Pe.addonAfter,Un=Pe.className,vn=Pe.classNames,Bn=(0,de.Z)(Pe,Re),ln=te.useRef(null),xn=te.useRef(null),dn=te.useRef(null),Mn=function(zn){dn.current&&(0,pt.nH)(dn.current,zn)};return te.useImperativeHandle(_e,function(){return He(dn.current,{focus:Mn,nativeElement:ln.current.nativeElement||xn.current})}),te.createElement(bt.BaseInput,{className:Un,triggerFocus:Mn,prefixCls:un,value:On,disabled:nt,style:kt,prefix:Pn,suffix:an,addonAfter:mn,addonBefore:yn,classNames:vn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:ln},te.createElement(sn,(0,xe.Z)({prefixCls:un,disabled:nt,ref:dn,domRef:xn,className:vn==null?void 0:vn.input},Bn)))}),Bt=dt,Ne=Bt,Pt=oe(62487),st=oe(82855),ae=oe(48755),ee=oe(60840),z=oe(2171),ie=oe(83397),se=oe(31756),re=oe(56553),me=oe(24971),ye=oe(70045),rt=oe(36237),Ae=oe(53075),Ze=oe(64910),tt=oe(39082),gt=oe(63356),lt=oe(56119),Ft=oe(16931),Nt=oe(51636),Mt=oe(17835);const Jt=Pe=>{var _e;const nt=(_e=Pe.handleVisible)!==null&&_e!==void 0?_e:"auto",kt=Pe.controlHeightSM-Pe.lineWidth*2;return Object.assign(Object.assign({},(0,Ze.T)(Pe)),{controlWidth:90,handleWidth:kt,handleFontSize:Pe.fontSize/2,handleVisible:nt,handleActiveBg:Pe.colorFillAlter,handleBg:Pe.colorBgContainer,filledHandleBg:new Mt.FastColor(Pe.colorFillSecondary).onBackground(Pe.colorBgContainer).toHexString(),handleHoverColor:Pe.colorPrimary,handleBorderColor:Pe.colorBorder,handleOpacity:nt===!0?1:0,handleVisibleWidth:nt===!0?kt:0})},Wt=(Pe,_e)=>{let{componentCls:nt,borderRadiusSM:kt,borderRadiusLG:$t}=Pe;const un=_e==="lg"?$t:kt;return{[`&-${_e}`]:{[`${nt}-handler-wrap`]:{borderStartEndRadius:un,borderEndEndRadius:un},[`${nt}-handler-up`]:{borderStartEndRadius:un},[`${nt}-handler-down`]:{borderEndEndRadius:un}}}},Gt=Pe=>{const{componentCls:_e,lineWidth:nt,lineType:kt,borderRadius:$t,inputFontSizeSM:un,inputFontSizeLG:On,controlHeightLG:Pn,controlHeightSM:an,colorError:yn,paddingInlineSM:mn,paddingBlockSM:Un,paddingBlockLG:vn,paddingInlineLG:Bn,colorTextDescription:ln,motionDurationMid:xn,handleHoverColor:dn,handleOpacity:Mn,paddingInline:Gn,paddingBlock:zn,handleBg:Tn,handleActiveBg:Yn,colorTextDisabled:Xn,borderRadiusSM:$n,borderRadiusLG:jn,controlWidth:Lt,handleBorderColor:Xt,filledHandleBg:kn,lineHeightLG:Qn,calc:ke}=Pe;return[{[_e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(Pe)),(0,Ae.ik)(Pe)),{display:"inline-block",width:Lt,margin:0,padding:0,borderRadius:$t}),(0,tt.qG)(Pe,{[`${_e}-handler-wrap`]:{background:Tn,[`${_e}-handler-down`]:{borderBlockStart:`${(0,rt.unit)(nt)} ${kt} ${Xt}`}}})),(0,tt.H8)(Pe,{[`${_e}-handler-wrap`]:{background:kn,[`${_e}-handler-down`]:{borderBlockStart:`${(0,rt.unit)(nt)} ${kt} ${Xt}`}},"&:focus-within":{[`${_e}-handler-wrap`]:{background:Tn}}})),(0,tt.vc)(Pe,{[`${_e}-handler-wrap`]:{background:Tn,[`${_e}-handler-down`]:{borderBlockStart:`${(0,rt.unit)(nt)} ${kt} ${Xt}`}}})),(0,tt.Mu)(Pe)),{"&-rtl":{direction:"rtl",[`${_e}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:On,lineHeight:Qn,borderRadius:jn,[`input${_e}-input`]:{height:ke(Pn).sub(ke(nt).mul(2)).equal(),padding:`${(0,rt.unit)(vn)} ${(0,rt.unit)(Bn)}`}},"&-sm":{padding:0,fontSize:un,borderRadius:$n,[`input${_e}-input`]:{height:ke(an).sub(ke(nt).mul(2)).equal(),padding:`${(0,rt.unit)(Un)} ${(0,rt.unit)(mn)}`}},"&-out-of-range":{[`${_e}-input-wrap`]:{input:{color:yn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(Pe)),(0,Ae.s7)(Pe)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${_e}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${_e}-group-addon`]:{borderRadius:jn,fontSize:Pe.fontSizeLG}},"&-sm":{[`${_e}-group-addon`]:{borderRadius:$n}}},(0,tt.ir)(Pe)),(0,tt.S5)(Pe)),{[`&:not(${_e}-compact-first-item):not(${_e}-compact-last-item)${_e}-compact-item`]:{[`${_e}, ${_e}-group-addon`]:{borderRadius:0}},[`&:not(${_e}-compact-last-item)${_e}-compact-first-item`]:{[`${_e}, ${_e}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${_e}-compact-first-item)${_e}-compact-last-item`]:{[`${_e}, ${_e}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${_e}-input`]:{cursor:"not-allowed"},[_e]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(Pe)),{width:"100%",padding:`${(0,rt.unit)(zn)} ${(0,rt.unit)(Gn)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:$t,outline:0,transition:`all ${xn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Ae.nz)(Pe.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${_e}-handler-wrap, &-focused ${_e}-handler-wrap`]:{width:Pe.handleWidth,opacity:1}})},{[_e]:Object.assign(Object.assign(Object.assign({[`${_e}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Pe.handleVisibleWidth,opacity:Mn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:$t,borderEndEndRadius:$t,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${xn}`,overflow:"hidden",[`${_e}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${_e}-handler-up-inner,
|
|
|
${_e}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:Pe.handleFontSize}}},[`${_e}-handler`]:{height:"50%",overflow:"hidden",color:ln,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,rt.unit)(nt)} ${kt} ${Xt}`,transition:`all ${xn} linear`,"&:active":{background:Yn},"&:hover":{height:"60%",[`
|
|
|
${_e}-handler-up-inner,
|
|
|
${_e}-handler-down-inner
|
|
|
`]:{color:dn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,gt.Ro)()),{color:ln,transition:`all ${xn} linear`,userSelect:"none"})},[`${_e}-handler-up`]:{borderStartEndRadius:$t},[`${_e}-handler-down`]:{borderEndEndRadius:$t}},Wt(Pe,"lg")),Wt(Pe,"sm")),{"&-disabled, &-readonly":{[`${_e}-handler-wrap`]:{display:"none"},[`${_e}-input`]:{color:"inherit"}},[`
|
|
|
${_e}-handler-up-disabled,
|
|
|
${_e}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${_e}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${_e}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Xn}})}]},ft=Pe=>{const{componentCls:_e,paddingBlock:nt,paddingInline:kt,inputAffixPadding:$t,controlWidth:un,borderRadiusLG:On,borderRadiusSM:Pn,paddingInlineLG:an,paddingInlineSM:yn,paddingBlockLG:mn,paddingBlockSM:Un,motionDurationMid:vn}=Pe;return{[`${_e}-affix-wrapper`]:Object.assign(Object.assign({[`input${_e}-input`]:{padding:`${(0,rt.unit)(nt)} 0`}},(0,Ae.ik)(Pe)),{position:"relative",display:"inline-flex",alignItems:"center",width:un,padding:0,paddingInlineStart:kt,"&-lg":{borderRadius:On,paddingInlineStart:an,[`input${_e}-input`]:{padding:`${(0,rt.unit)(mn)} 0`}},"&-sm":{borderRadius:Pn,paddingInlineStart:yn,[`input${_e}-input`]:{padding:`${(0,rt.unit)(Un)} 0`}},[`&:not(${_e}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${_e}-disabled`]:{background:"transparent"},[`> div${_e}`]:{width:"100%",border:"none",outline:"none",[`&${_e}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${_e}-handler-wrap`]:{zIndex:2},[_e]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:$t},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:kt,marginInlineStart:$t,transition:`margin ${vn}`}},[`&:hover ${_e}-handler-wrap, &-focused ${_e}-handler-wrap`]:{width:Pe.handleWidth,opacity:1},[`&:not(${_e}-affix-wrapper-without-controls):hover ${_e}-suffix`]:{marginInlineEnd:Pe.calc(Pe.handleWidth).add(kt).equal()}})}};var Ht=(0,Ft.I$)("InputNumber",Pe=>{const _e=(0,Nt.mergeToken)(Pe,(0,Ze.e)(Pe));return[Gt(_e),ft(_e),(0,lt.c)(_e)]},Jt,{unitless:{handleOpacity:!0}}),Dt=function(Pe,_e){var nt={};for(var kt in Pe)Object.prototype.hasOwnProperty.call(Pe,kt)&&_e.indexOf(kt)<0&&(nt[kt]=Pe[kt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,kt=Object.getOwnPropertySymbols(Pe);$t<kt.length;$t++)_e.indexOf(kt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Pe,kt[$t])&&(nt[kt[$t]]=Pe[kt[$t]]);return nt};const Rt=te.forwardRef((Pe,_e)=>{const{getPrefixCls:nt,direction:kt}=te.useContext(ae.E_),$t=te.useRef(null);te.useImperativeHandle(_e,()=>$t.current);const{className:un,rootClassName:On,size:Pn,disabled:an,prefixCls:yn,addonBefore:mn,addonAfter:Un,prefix:vn,suffix:Bn,bordered:ln,readOnly:xn,status:dn,controls:Mn,variant:Gn}=Pe,zn=Dt(Pe,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Tn=nt("input-number",yn),Yn=(0,ie.Z)(Tn),[Xn,$n,jn]=Ht(Tn,Yn),{compactSize:Lt,compactItemClassnames:Xt}=(0,ye.ri)(Tn,kt);let kn=te.createElement(ge.Z,{className:`${Tn}-handler-up-inner`}),Qn=te.createElement(Ke.Z,{className:`${Tn}-handler-down-inner`});const ke=typeof Mn=="boolean"?Mn:void 0;typeof Mn=="object"&&(kn=typeof Mn.upIcon=="undefined"?kn:te.createElement("span",{className:`${Tn}-handler-up-inner`},Mn.upIcon),Qn=typeof Mn.downIcon=="undefined"?Qn:te.createElement("span",{className:`${Tn}-handler-down-inner`},Mn.downIcon));const{hasFeedback:Ye,status:be,isFormItemInput:Oe,feedbackIcon:we}=te.useContext(re.aM),Fe=(0,st.F)(be,dn),ut=(0,se.Z)(hn=>{var pn;return(pn=Pn!=null?Pn:Lt)!==null&&pn!==void 0?pn:hn}),Ut=te.useContext(z.Z),Yt=an!=null?an:Ut,[rn,Tt]=(0,me.Z)("inputNumber",Gn,ln),xt=Ye&&te.createElement(te.Fragment,null,we),yt=Ce()({[`${Tn}-lg`]:ut==="large",[`${Tn}-sm`]:ut==="small",[`${Tn}-rtl`]:kt==="rtl",[`${Tn}-in-form-item`]:Oe},$n),Qt=`${Tn}-group`,gn=te.createElement(Ne,Object.assign({ref:$t,disabled:Yt,className:Ce()(jn,Yn,un,On,Xt),upHandler:kn,downHandler:Qn,prefixCls:Tn,readOnly:xn,controls:ke,prefix:vn,suffix:xt||Bn,addonBefore:mn&&te.createElement(Pt.Z,{form:!0,space:!0},mn),addonAfter:Un&&te.createElement(Pt.Z,{form:!0,space:!0},Un),classNames:{input:yt,variant:Ce()({[`${Tn}-${rn}`]:Tt},(0,st.Z)(Tn,Fe,Ye)),affixWrapper:Ce()({[`${Tn}-affix-wrapper-sm`]:ut==="small",[`${Tn}-affix-wrapper-lg`]:ut==="large",[`${Tn}-affix-wrapper-rtl`]:kt==="rtl",[`${Tn}-affix-wrapper-without-controls`]:Mn===!1||Yt},$n),wrapper:Ce()({[`${Qt}-rtl`]:kt==="rtl"},$n),groupWrapper:Ce()({[`${Tn}-group-wrapper-sm`]:ut==="small",[`${Tn}-group-wrapper-lg`]:ut==="large",[`${Tn}-group-wrapper-rtl`]:kt==="rtl",[`${Tn}-group-wrapper-${rn}`]:Tt},(0,st.Z)(`${Tn}-group-wrapper`,Fe,Ye),$n)}},zn));return Xn(gn)}),nn=Rt,Cn=Pe=>te.createElement(ee.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},te.createElement(Rt,Object.assign({},Pe)));nn._InternalPanelDoNotUseOrYouWillBeFired=Cn;var fn=nn},49397:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return ct}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(36901),Ce=oe(8654),xe=oe(62487),Me=oe(86013),Ue=oe(82855),Ee=oe(48755),de=oe(2171),Ve=oe(83397),ve=oe(31756),mt=oe(56553),Xe=oe(24971),Be=oe(70045),Ie=oe(23826),Le=oe(53075);function Qe($e){return!!($e.prefix||$e.suffix||$e.allowClear||$e.showCount)}var ht=function($e,qe){var je={};for(var bt in $e)Object.prototype.hasOwnProperty.call($e,bt)&&qe.indexOf(bt)<0&&(je[bt]=$e[bt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,bt=Object.getOwnPropertySymbols($e);Je<bt.length;Je++)qe.indexOf(bt[Je])<0&&Object.prototype.propertyIsEnumerable.call($e,bt[Je])&&(je[bt[Je]]=$e[bt[Je]]);return je},ct=(0,te.forwardRef)(($e,qe)=>{const{prefixCls:je,bordered:bt=!0,status:Je,size:He,disabled:ot,onBlur:Te,onFocus:it,suffix:et,allowClear:he,addonAfter:Et,addonBefore:De,className:It,style:zt,styles:Se,rootClassName:fe,onChange:pt,classNames:Zt,variant:St}=$e,Re=ht($e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:at,direction:vt,allowClear:sn,autoComplete:dt,className:Bt,style:Ne,classNames:Pt,styles:st}=(0,Ee.dj)("input"),ae=at("input",je),ee=(0,te.useRef)(null),z=(0,Ve.Z)(ae),[ie,se,re]=(0,Le.TI)(ae,fe),[me]=(0,Le.ZP)(ae,z),{compactSize:ye,compactItemClassnames:rt}=(0,Be.ri)(ae,vt),Ae=(0,ve.Z)(fn=>{var Pe;return(Pe=He!=null?He:ye)!==null&&Pe!==void 0?Pe:fn}),Ze=te.useContext(de.Z),tt=ot!=null?ot:Ze,{status:gt,hasFeedback:lt,feedbackIcon:Ft}=(0,te.useContext)(mt.aM),Nt=(0,Ue.F)(gt,Je),Mt=Qe($e)||!!lt,Jt=(0,te.useRef)(Mt),Wt=(0,Ie.Z)(ee,!0),Gt=fn=>{Wt(),Te==null||Te(fn)},ft=fn=>{Wt(),it==null||it(fn)},Ht=fn=>{Wt(),pt==null||pt(fn)},Dt=(lt||et)&&te.createElement(te.Fragment,null,et,lt&&Ft),Rt=(0,Me.Z)(he!=null?he:sn),[nn,Cn]=(0,Xe.Z)("input",St,bt);return ie(me(te.createElement(ze.default,Object.assign({ref:(0,Ce.sQ)(qe,ee),prefixCls:ae,autoComplete:dt},Re,{disabled:tt,onBlur:Gt,onFocus:ft,style:Object.assign(Object.assign({},Ne),zt),styles:Object.assign(Object.assign({},st),Se),suffix:Dt,allowClear:Rt,className:ge()(It,fe,re,z,rt,Bt),onChange:Ht,addonBefore:De&&te.createElement(xe.Z,{form:!0,space:!0},De),addonAfter:Et&&te.createElement(xe.Z,{form:!0,space:!0},Et),classNames:Object.assign(Object.assign(Object.assign({},Zt),Pt),{input:ge()({[`${ae}-sm`]:Ae==="small",[`${ae}-lg`]:Ae==="large",[`${ae}-rtl`]:vt==="rtl"},Zt==null?void 0:Zt.input,Pt.input,se),variant:ge()({[`${ae}-${nn}`]:Cn},(0,Ue.Z)(ae,Nt)),affixWrapper:ge()({[`${ae}-affix-wrapper-sm`]:Ae==="small",[`${ae}-affix-wrapper-lg`]:Ae==="large",[`${ae}-affix-wrapper-rtl`]:vt==="rtl"},se),wrapper:ge()({[`${ae}-group-rtl`]:vt==="rtl"},se),groupWrapper:ge()({[`${ae}-group-wrapper-sm`]:Ae==="small",[`${ae}-group-wrapper-lg`]:Ae==="large",[`${ae}-group-wrapper-rtl`]:vt==="rtl",[`${ae}-group-wrapper-${nn}`]:Cn},(0,Ue.Z)(`${ae}-group-wrapper`,Nt,lt),se)})}))))})},79809:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return qe}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(22711),Ce=oe(86013),xe=oe(82855),Me=oe(48755),Ue=oe(2171),Ee=oe(83397),de=oe(31756),Ve=oe(56553),ve=oe(24971),mt=oe(70045),Xe=oe(30292),Be=oe(53075),Ie=oe(16931),Le=oe(51636),Qe=oe(64910);const ht=je=>{const{componentCls:bt,paddingLG:Je}=je,He=`${bt}-textarea`;return{[`textarea${bt}`]:{maxWidth:"100%",height:"auto",minHeight:je.controlHeight,lineHeight:je.lineHeight,verticalAlign:"bottom",transition:`all ${je.motionDurationSlow}`,resize:"vertical",[`&${bt}-mouse-active`]:{transition:`all ${je.motionDurationSlow}, height 0s, width 0s`}},[`${bt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[He]:{position:"relative","&-show-count":{[`> ${bt}`]:{height:"100%"},[`${bt}-data-count`]:{position:"absolute",bottom:je.calc(je.fontSize).mul(je.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:je.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${bt},
|
|
|
&-affix-wrapper${He}-has-feedback ${bt}
|
|
|
`]:{paddingInlineEnd:Je},[`&-affix-wrapper${bt}-affix-wrapper`]:{padding:0,[`> textarea${bt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:je.calc(je.controlHeight).sub(je.calc(je.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${bt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${bt}-clear-icon`]:{position:"absolute",insetInlineEnd:je.paddingInline,insetBlockStart:je.paddingXS},[`${He}-suffix`]:{position:"absolute",top:0,insetInlineEnd:je.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${bt}-affix-wrapper-sm`]:{[`${bt}-suffix`]:{[`${bt}-clear-icon`]:{insetInlineEnd:je.paddingInlineSM}}}}}};var wt=(0,Ie.I$)(["Input","TextArea"],je=>{const bt=(0,Le.mergeToken)(je,(0,Qe.e)(je));return[ht(bt)]},Qe.T,{resetFont:!1}),ct=function(je,bt){var Je={};for(var He in je)Object.prototype.hasOwnProperty.call(je,He)&&bt.indexOf(He)<0&&(Je[He]=je[He]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,He=Object.getOwnPropertySymbols(je);ot<He.length;ot++)bt.indexOf(He[ot])<0&&Object.prototype.propertyIsEnumerable.call(je,He[ot])&&(Je[He[ot]]=je[He[ot]]);return Je},qe=(0,te.forwardRef)((je,bt)=>{var Je;const{prefixCls:He,bordered:ot=!0,size:Te,disabled:it,status:et,allowClear:he,classNames:Et,rootClassName:De,className:It,style:zt,styles:Se,variant:fe,showCount:pt,onMouseDown:Zt,onResize:St}=je,Re=ct(je,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:at,direction:vt,allowClear:sn,autoComplete:dt,className:Bt,style:Ne,classNames:Pt,styles:st}=(0,Me.dj)("textArea"),ae=te.useContext(Ue.Z),ee=it!=null?it:ae,{status:z,hasFeedback:ie,feedbackIcon:se}=te.useContext(Ve.aM),re=(0,xe.F)(z,et),me=te.useRef(null);te.useImperativeHandle(bt,()=>{var Cn;return{resizableTextArea:(Cn=me.current)===null||Cn===void 0?void 0:Cn.resizableTextArea,focus:fn=>{var Pe,_e;(0,Xe.nH)((_e=(Pe=me.current)===null||Pe===void 0?void 0:Pe.resizableTextArea)===null||_e===void 0?void 0:_e.textArea,fn)},blur:()=>{var fn;return(fn=me.current)===null||fn===void 0?void 0:fn.blur()}}});const ye=at("input",He),rt=(0,Ee.Z)(ye),[Ae,Ze,tt]=(0,Be.TI)(ye,De),[gt]=wt(ye,rt),{compactSize:lt,compactItemClassnames:Ft}=(0,mt.ri)(ye,vt),Nt=(0,de.Z)(Cn=>{var fn;return(fn=Te!=null?Te:lt)!==null&&fn!==void 0?fn:Cn}),[Mt,Jt]=(0,ve.Z)("textArea",fe,ot),Wt=(0,Ce.Z)(he!=null?he:sn),[Gt,ft]=te.useState(!1),[Ht,Dt]=te.useState(!1),Rt=Cn=>{ft(!0),Zt==null||Zt(Cn);const fn=()=>{ft(!1),document.removeEventListener("mouseup",fn)};document.addEventListener("mouseup",fn)},nn=Cn=>{var fn,Pe;if(St==null||St(Cn),Gt&&typeof getComputedStyle=="function"){const _e=(Pe=(fn=me.current)===null||fn===void 0?void 0:fn.nativeElement)===null||Pe===void 0?void 0:Pe.querySelector("textarea");_e&&getComputedStyle(_e).resize==="both"&&Dt(!0)}};return Ae(gt(te.createElement(ze.default,Object.assign({autoComplete:dt},Re,{style:Object.assign(Object.assign({},Ne),zt),styles:Object.assign(Object.assign({},st),Se),disabled:ee,allowClear:Wt,className:ge()(tt,rt,It,De,Ft,Bt,Ht&&`${ye}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Et),Pt),{textarea:ge()({[`${ye}-sm`]:Nt==="small",[`${ye}-lg`]:Nt==="large"},Ze,Et==null?void 0:Et.textarea,Pt.textarea,Gt&&`${ye}-mouse-active`),variant:ge()({[`${ye}-${Mt}`]:Jt},(0,xe.Z)(ye,re)),affixWrapper:ge()(`${ye}-textarea-affix-wrapper`,{[`${ye}-affix-wrapper-rtl`]:vt==="rtl",[`${ye}-affix-wrapper-sm`]:Nt==="small",[`${ye}-affix-wrapper-lg`]:Nt==="large",[`${ye}-textarea-show-count`]:pt||((Je=je.count)===null||Je===void 0?void 0:Je.show)},Ze)}),prefixCls:ye,suffix:ie&&te.createElement("span",{className:`${ye}-textarea-suffix`},se),showCount:pt,ref:me,onResize:nn,onMouseDown:Rt}))))})},23826:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ke}});var te=oe(59301);function Ke(ge,ze){const Ce=(0,te.useRef)([]),xe=()=>{Ce.current.push(setTimeout(()=>{var Me,Ue,Ee,de;!((Me=ge.current)===null||Me===void 0)&&Me.input&&((Ue=ge.current)===null||Ue===void 0?void 0:Ue.input.getAttribute("type"))==="password"&&(!((Ee=ge.current)===null||Ee===void 0)&&Ee.input.hasAttribute("value"))&&((de=ge.current)===null||de===void 0||de.input.removeAttribute("value"))}))};return(0,te.useEffect)(()=>(ze&&xe(),()=>Ce.current.forEach(Me=>{Me&&clearTimeout(Me)})),[]),xe}},37568:function(Vt,Ot,oe){"use strict";oe.d(Ot,{default:function(){return Pt}});var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(48755),Ce=oe(56553),xe=oe(53075),Ue=st=>{const{getPrefixCls:ae,direction:ee}=(0,te.useContext)(ze.E_),{prefixCls:z,className:ie}=st,se=ae("input-group",z),re=ae("input"),[me,ye,rt]=(0,xe.ZP)(re),Ae=ge()(se,rt,{[`${se}-lg`]:st.size==="large",[`${se}-sm`]:st.size==="small",[`${se}-compact`]:st.compact,[`${se}-rtl`]:ee==="rtl"},ye,ie),Ze=(0,te.useContext)(Ce.aM),tt=(0,te.useMemo)(()=>Object.assign(Object.assign({},Ze),{isFormItemInput:!1}),[Ze]);return me(te.createElement("span",{className:Ae,style:st.style,onMouseEnter:st.onMouseEnter,onMouseLeave:st.onMouseLeave,onFocus:st.onFocus,onBlur:st.onBlur},te.createElement(Ce.aM.Provider,{value:tt},st.children)))},Ee=oe(49397),de=oe(94480),Ve=oe(6089),ve=oe(26112),mt=oe(82855),Xe=oe(31756),Be=oe(16931),Ie=oe(51636),Le=oe(64910);const Qe=st=>{const{componentCls:ae,paddingXS:ee}=st;return{[ae]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ee,"&-rtl":{direction:"rtl"},[`${ae}-input`]:{textAlign:"center",paddingInline:st.paddingXXS},[`&${ae}-sm ${ae}-input`]:{paddingInline:st.calc(st.paddingXXS).div(2).equal()},[`&${ae}-lg ${ae}-input`]:{paddingInline:st.paddingXS}}}};var ht=(0,Be.I$)(["Input","OTP"],st=>{const ae=(0,Ie.mergeToken)(st,(0,Le.e)(st));return[Qe(ae)]},Le.T),wt=oe(16089),ct=function(st,ae){var ee={};for(var z in st)Object.prototype.hasOwnProperty.call(st,z)&&ae.indexOf(z)<0&&(ee[z]=st[z]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,z=Object.getOwnPropertySymbols(st);ie<z.length;ie++)ae.indexOf(z[ie])<0&&Object.prototype.propertyIsEnumerable.call(st,z[ie])&&(ee[z[ie]]=st[z[ie]]);return ee},qe=te.forwardRef((st,ae)=>{const{value:ee,onChange:z,onActiveChange:ie,index:se,mask:re}=st,me=ct(st,["value","onChange","onActiveChange","index","mask"]),ye=ee&&typeof re=="string"?re:ee,rt=lt=>{z(se,lt.target.value)},Ae=te.useRef(null);te.useImperativeHandle(ae,()=>Ae.current);const Ze=()=>{(0,wt.Z)(()=>{var lt;const Ft=(lt=Ae.current)===null||lt===void 0?void 0:lt.input;document.activeElement===Ft&&Ft&&Ft.select()})},tt=lt=>{const{key:Ft,ctrlKey:Nt,metaKey:Mt}=lt;Ft==="ArrowLeft"?ie(se-1):Ft==="ArrowRight"?ie(se+1):Ft==="z"&&(Nt||Mt)&<.preventDefault(),Ze()},gt=lt=>{lt.key==="Backspace"&&!ee&&ie(se-1),Ze()};return te.createElement(Ee.Z,Object.assign({type:re===!0?"password":"text"},me,{ref:Ae,value:ye,onInput:rt,onFocus:Ze,onKeyDown:tt,onKeyUp:gt,onMouseDown:Ze,onMouseUp:Ze}))}),je=function(st,ae){var ee={};for(var z in st)Object.prototype.hasOwnProperty.call(st,z)&&ae.indexOf(z)<0&&(ee[z]=st[z]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,z=Object.getOwnPropertySymbols(st);ie<z.length;ie++)ae.indexOf(z[ie])<0&&Object.prototype.propertyIsEnumerable.call(st,z[ie])&&(ee[z[ie]]=st[z[ie]]);return ee};function bt(st){return(st||"").split("")}const Je=st=>{const{index:ae,prefixCls:ee,separator:z}=st,ie=typeof z=="function"?z(ae):z;return ie?te.createElement("span",{className:`${ee}-separator`},ie):null};var ot=te.forwardRef((st,ae)=>{const{prefixCls:ee,length:z=6,size:ie,defaultValue:se,value:re,onChange:me,formatter:ye,separator:rt,variant:Ae,disabled:Ze,status:tt,autoFocus:gt,mask:lt,type:Ft,onInput:Nt,inputMode:Mt}=st,Jt=je(st,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Wt,direction:Gt}=te.useContext(ze.E_),ft=Wt("otp",ee),Ht=(0,ve.Z)(Jt,{aria:!0,data:!0,attr:!0}),[Dt,Rt,nn]=ht(ft),Cn=(0,Xe.Z)(vn=>ie!=null?ie:vn),fn=te.useContext(Ce.aM),Pe=(0,mt.F)(fn.status,tt),_e=te.useMemo(()=>Object.assign(Object.assign({},fn),{status:Pe,hasFeedback:!1,feedbackIcon:null}),[fn,Pe]),nt=te.useRef(null),kt=te.useRef({});te.useImperativeHandle(ae,()=>({focus:()=>{var vn;(vn=kt.current[0])===null||vn===void 0||vn.focus()},blur:()=>{var vn;for(let Bn=0;Bn<z;Bn+=1)(vn=kt.current[Bn])===null||vn===void 0||vn.blur()},nativeElement:nt.current}));const $t=vn=>ye?ye(vn):vn,[un,On]=te.useState(()=>bt($t(se||"")));te.useEffect(()=>{re!==void 0&&On(bt(re))},[re]);const Pn=(0,Ve.Z)(vn=>{On(vn),Nt&&Nt(vn),me&&vn.length===z&&vn.every(Bn=>Bn)&&vn.some((Bn,ln)=>un[ln]!==Bn)&&me(vn.join(""))}),an=(0,Ve.Z)((vn,Bn)=>{let ln=(0,de.Z)(un);for(let dn=0;dn<vn;dn+=1)ln[dn]||(ln[dn]="");Bn.length<=1?ln[vn]=Bn:ln=ln.slice(0,vn).concat(bt(Bn)),ln=ln.slice(0,z);for(let dn=ln.length-1;dn>=0&&!ln[dn];dn-=1)ln.pop();const xn=$t(ln.map(dn=>dn||" ").join(""));return ln=bt(xn).map((dn,Mn)=>dn===" "&&!ln[Mn]?ln[Mn]:dn),ln}),yn=(vn,Bn)=>{var ln;const xn=an(vn,Bn),dn=Math.min(vn+Bn.length,z-1);dn!==vn&&xn[vn]!==void 0&&((ln=kt.current[dn])===null||ln===void 0||ln.focus()),Pn(xn)},mn=vn=>{var Bn;(Bn=kt.current[vn])===null||Bn===void 0||Bn.focus()},Un={variant:Ae,disabled:Ze,status:Pe,mask:lt,type:Ft,inputMode:Mt};return Dt(te.createElement("div",Object.assign({},Ht,{ref:nt,className:ge()(ft,{[`${ft}-sm`]:Cn==="small",[`${ft}-lg`]:Cn==="large",[`${ft}-rtl`]:Gt==="rtl"},nn,Rt)}),te.createElement(Ce.aM.Provider,{value:_e},Array.from({length:z}).map((vn,Bn)=>{const ln=`otp-${Bn}`,xn=un[Bn]||"";return te.createElement(te.Fragment,{key:ln},te.createElement(qe,Object.assign({ref:dn=>{kt.current[Bn]=dn},index:Bn,size:Cn,htmlSize:1,className:`${ft}-input`,onChange:yn,value:xn,onActiveChange:mn,autoFocus:Bn===0&>},Un)),Bn<z-1&&te.createElement(Je,{separator:rt,index:Bn,prefixCls:ft}))}))))}),Te=oe(73331),it=oe(15277),et=oe(2738),he=oe(8654),Et=oe(2171),De=oe(23826),It=function(st,ae){var ee={};for(var z in st)Object.prototype.hasOwnProperty.call(st,z)&&ae.indexOf(z)<0&&(ee[z]=st[z]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,z=Object.getOwnPropertySymbols(st);ie<z.length;ie++)ae.indexOf(z[ie])<0&&Object.prototype.propertyIsEnumerable.call(st,z[ie])&&(ee[z[ie]]=st[z[ie]]);return ee};const zt=st=>st?te.createElement(it.Z,null):te.createElement(Te.Z,null),Se={click:"onClick",hover:"onMouseOver"};var pt=te.forwardRef((st,ae)=>{const{disabled:ee,action:z="click",visibilityToggle:ie=!0,iconRender:se=zt}=st,re=te.useContext(Et.Z),me=ee!=null?ee:re,ye=typeof ie=="object"&&ie.visible!==void 0,[rt,Ae]=(0,te.useState)(()=>ye?ie.visible:!1),Ze=(0,te.useRef)(null);te.useEffect(()=>{ye&&Ae(ie.visible)},[ye,ie]);const tt=(0,De.Z)(Ze),gt=()=>{var Cn;if(me)return;rt&&tt();const fn=!rt;Ae(fn),typeof ie=="object"&&((Cn=ie.onVisibleChange)===null||Cn===void 0||Cn.call(ie,fn))},lt=Cn=>{const fn=Se[z]||"",Pe=se(rt),_e={[fn]:gt,className:`${Cn}-icon`,key:"passwordIcon",onMouseDown:nt=>{nt.preventDefault()},onMouseUp:nt=>{nt.preventDefault()}};return te.cloneElement(te.isValidElement(Pe)?Pe:te.createElement("span",null,Pe),_e)},{className:Ft,prefixCls:Nt,inputPrefixCls:Mt,size:Jt}=st,Wt=It(st,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Gt}=te.useContext(ze.E_),ft=Gt("input",Mt),Ht=Gt("input-password",Nt),Dt=ie&<(Ht),Rt=ge()(Ht,Ft,{[`${Ht}-${Jt}`]:!!Jt}),nn=Object.assign(Object.assign({},(0,et.Z)(Wt,["suffix","iconRender","visibilityToggle"])),{type:rt?"text":"password",className:Rt,prefixCls:ft,suffix:Dt});return Jt&&(nn.size=Jt),te.createElement(Ee.Z,Object.assign({ref:(0,he.sQ)(ae,Ze)},nn))}),Zt=oe(47472),St=oe(22703),Re=oe(7939),at=oe(70045),vt=function(st,ae){var ee={};for(var z in st)Object.prototype.hasOwnProperty.call(st,z)&&ae.indexOf(z)<0&&(ee[z]=st[z]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,z=Object.getOwnPropertySymbols(st);ie<z.length;ie++)ae.indexOf(z[ie])<0&&Object.prototype.propertyIsEnumerable.call(st,z[ie])&&(ee[z[ie]]=st[z[ie]]);return ee},dt=te.forwardRef((st,ae)=>{const{prefixCls:ee,inputPrefixCls:z,className:ie,size:se,suffix:re,enterButton:me=!1,addonAfter:ye,loading:rt,disabled:Ae,onSearch:Ze,onChange:tt,onCompositionStart:gt,onCompositionEnd:lt}=st,Ft=vt(st,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Nt,direction:Mt}=te.useContext(ze.E_),Jt=te.useRef(!1),Wt=Nt("input-search",ee),Gt=Nt("input",z),{compactSize:ft}=(0,at.ri)(Wt,Mt),Ht=(0,Xe.Z)(yn=>{var mn;return(mn=se!=null?se:ft)!==null&&mn!==void 0?mn:yn}),Dt=te.useRef(null),Rt=yn=>{yn!=null&&yn.target&&yn.type==="click"&&Ze&&Ze(yn.target.value,yn,{source:"clear"}),tt==null||tt(yn)},nn=yn=>{var mn;document.activeElement===((mn=Dt.current)===null||mn===void 0?void 0:mn.input)&&yn.preventDefault()},Cn=yn=>{var mn,Un;Ze&&Ze((Un=(mn=Dt.current)===null||mn===void 0?void 0:mn.input)===null||Un===void 0?void 0:Un.value,yn,{source:"input"})},fn=yn=>{Jt.current||rt||Cn(yn)},Pe=typeof me=="boolean"?te.createElement(Zt.Z,null):null,_e=`${Wt}-button`;let nt;const kt=me||{},$t=kt.type&&kt.type.__ANT_BUTTON===!0;$t||kt.type==="button"?nt=(0,St.Tm)(kt,Object.assign({onMouseDown:nn,onClick:yn=>{var mn,Un;(Un=(mn=kt==null?void 0:kt.props)===null||mn===void 0?void 0:mn.onClick)===null||Un===void 0||Un.call(mn,yn),Cn(yn)},key:"enterButton"},$t?{className:_e,size:Ht}:{})):nt=te.createElement(Re.ZP,{className:_e,type:me?"primary":void 0,size:Ht,disabled:Ae,key:"enterButton",onMouseDown:nn,onClick:Cn,loading:rt,icon:Pe},me),ye&&(nt=[nt,(0,St.Tm)(ye,{key:"addonAfter"})]);const un=ge()(Wt,{[`${Wt}-rtl`]:Mt==="rtl",[`${Wt}-${Ht}`]:!!Ht,[`${Wt}-with-button`]:!!me},ie),On=Object.assign(Object.assign({},Ft),{className:un,prefixCls:Gt,type:"search"}),Pn=yn=>{Jt.current=!0,gt==null||gt(yn)},an=yn=>{Jt.current=!1,lt==null||lt(yn)};return te.createElement(Ee.Z,Object.assign({ref:(0,he.sQ)(Dt,ae),onPressEnter:fn},On,{size:Ht,onCompositionStart:Pn,onCompositionEnd:an,addonAfter:nt,suffix:re,onChange:Rt,disabled:Ae}))}),Bt=oe(79809);const Ne=Ee.Z;Ne.Group=Ue,Ne.Search=dt,Ne.TextArea=Bt.Z,Ne.Password=pt,Ne.OTP=ot;var Pt=Ne},24303:function(Vt,Ot,oe){"use strict";oe.d(Ot,{D:function(){return je},Z:function(){return He}});var te=oe(59301),Ke=oe(54476),ge={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"},ze=ge,Ce=oe(7657),xe=function(Te,it){return te.createElement(Ce.Z,(0,Ke.Z)({},Te,{ref:it,icon:ze}))},Me=te.forwardRef(xe),Ue=Me,Ee=oe(33853),de=oe(38819),Ve=oe(92310),ve=oe.n(Ve),mt=oe(2738),Xe=oe(48755),Be=oe(6989),Ie=oe(36237),Le=oe(48923),Qe=oe(16931);const ht=ot=>{const{componentCls:Te,siderBg:it,motionDurationMid:et,motionDurationSlow:he,antCls:Et,triggerHeight:De,triggerColor:It,triggerBg:zt,headerHeight:Se,zeroTriggerWidth:fe,zeroTriggerHeight:pt,borderRadiusLG:Zt,lightSiderBg:St,lightTriggerColor:Re,lightTriggerBg:at,bodyBg:vt}=ot;return{[Te]:{position:"relative",minWidth:0,background:it,transition:`all ${et}, background 0s`,"&-has-trigger":{paddingBottom:De},"&-right":{order:1},[`${Te}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Et}-menu${Et}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Te}-children`]:{overflow:"hidden"},[`${Te}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:De,color:It,lineHeight:(0,Ie.unit)(De),textAlign:"center",background:zt,cursor:"pointer",transition:`all ${et}`},[`${Te}-zero-width-trigger`]:{position:"absolute",top:Se,insetInlineEnd:ot.calc(fe).mul(-1).equal(),zIndex:1,width:fe,height:pt,color:It,fontSize:ot.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:it,borderRadius:`0 ${(0,Ie.unit)(Zt)} ${(0,Ie.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${he} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${he}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ot.calc(fe).mul(-1).equal(),borderRadius:`${(0,Ie.unit)(Zt)} 0 0 ${(0,Ie.unit)(Zt)}`}},"&-light":{background:St,[`${Te}-trigger`]:{color:Re,background:at},[`${Te}-zero-width-trigger`]:{color:Re,background:at,border:`1px solid ${vt}`,borderInlineStart:0}}}}};var wt=(0,Qe.I$)(["Layout","Sider"],ot=>[ht(ot)],Le.eh,{deprecatedTokens:Le.jn}),ct=function(ot,Te){var it={};for(var et in ot)Object.prototype.hasOwnProperty.call(ot,et)&&Te.indexOf(et)<0&&(it[et]=ot[et]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,et=Object.getOwnPropertySymbols(ot);he<et.length;he++)Te.indexOf(et[he])<0&&Object.prototype.propertyIsEnumerable.call(ot,et[he])&&(it[et[he]]=ot[et[he]]);return it};const $e={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},qe=ot=>!Number.isNaN(Number.parseFloat(ot))&&isFinite(ot),je=te.createContext({}),bt=(()=>{let ot=0;return function(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ot+=1,`${Te}${ot}`}})();var He=te.forwardRef((ot,Te)=>{const{prefixCls:it,className:et,trigger:he,children:Et,defaultCollapsed:De=!1,theme:It="dark",style:zt={},collapsible:Se=!1,reverseArrow:fe=!1,width:pt=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:St,breakpoint:Re,onCollapse:at,onBreakpoint:vt}=ot,sn=ct(ot,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:dt}=(0,te.useContext)(Be.V),[Bt,Ne]=(0,te.useState)("collapsed"in ot?ot.collapsed:De),[Pt,st]=(0,te.useState)(!1);(0,te.useEffect)(()=>{"collapsed"in ot&&Ne(ot.collapsed)},[ot.collapsed]);const ae=(Ht,Dt)=>{"collapsed"in ot||Ne(Ht),at==null||at(Ht,Dt)},{getPrefixCls:ee,direction:z}=(0,te.useContext)(Xe.E_),ie=ee("layout-sider",it),[se,re,me]=wt(ie),ye=(0,te.useRef)(null);ye.current=Ht=>{st(Ht.matches),vt==null||vt(Ht.matches),Bt!==Ht.matches&&ae(Ht.matches,"responsive")},(0,te.useEffect)(()=>{function Ht(Rt){return ye.current(Rt)}let Dt;if(typeof window!="undefined"){const{matchMedia:Rt}=window;if(Rt&&Re&&Re in $e){Dt=Rt(`screen and (max-width: ${$e[Re]})`);try{Dt.addEventListener("change",Ht)}catch(nn){Dt.addListener(Ht)}Ht(Dt)}}return()=>{try{Dt==null||Dt.removeEventListener("change",Ht)}catch(Rt){Dt==null||Dt.removeListener(Ht)}}},[Re]),(0,te.useEffect)(()=>{const Ht=bt("ant-sider-");return dt.addSider(Ht),()=>dt.removeSider(Ht)},[]);const rt=()=>{ae(!Bt,"clickTrigger")},Ae=(0,mt.Z)(sn,["collapsed"]),Ze=Bt?Zt:pt,tt=qe(Ze)?`${Ze}px`:String(Ze),gt=parseFloat(String(Zt||0))===0?te.createElement("span",{onClick:rt,className:ve()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${fe?"right":"left"}`),style:St},he||te.createElement(Ue,null)):null,lt=z==="rtl"==!fe,Mt={expanded:lt?te.createElement(de.Z,null):te.createElement(Ee.Z,null),collapsed:lt?te.createElement(Ee.Z,null):te.createElement(de.Z,null)}[Bt?"collapsed":"expanded"],Jt=he!==null?gt||te.createElement("div",{className:`${ie}-trigger`,onClick:rt,style:{width:tt}},he||Mt):null,Wt=Object.assign(Object.assign({},zt),{flex:`0 0 ${tt}`,maxWidth:tt,minWidth:tt,width:tt}),Gt=ve()(ie,`${ie}-${It}`,{[`${ie}-collapsed`]:!!Bt,[`${ie}-has-trigger`]:Se&&he!==null&&!gt,[`${ie}-below`]:!!Pt,[`${ie}-zero-width`]:parseFloat(tt)===0},et,re,me),ft=te.useMemo(()=>({siderCollapsed:Bt}),[Bt]);return se(te.createElement(je.Provider,{value:ft},te.createElement("aside",Object.assign({className:Gt},Ae,{style:Wt,ref:Te}),te.createElement("div",{className:`${ie}-children`},Et),Se||Pt&>?Jt:null)))})},6989:function(Vt,Ot,oe){"use strict";oe.d(Ot,{V:function(){return Ke}});var te=oe(59301);const Ke=te.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Vt,Ot,oe){"use strict";oe.d(Ot,{eh:function(){return ze},jn:function(){return Ce}});var te=oe(36237),Ke=oe(16931);const ge=xe=>{const{antCls:Me,componentCls:Ue,colorText:Ee,footerBg:de,headerHeight:Ve,headerPadding:ve,headerColor:mt,footerPadding:Xe,fontSize:Be,bodyBg:Ie,headerBg:Le}=xe;return{[Ue]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ie,"&, *":{boxSizing:"border-box"},[`&${Ue}-has-sider`]:{flexDirection:"row",[`> ${Ue}, > ${Ue}-content`]:{width:0}},[`${Ue}-header, &${Ue}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Ue}-header`]:{height:Ve,padding:ve,color:mt,lineHeight:(0,te.unit)(Ve),background:Le,[`${Me}-menu`]:{lineHeight:"inherit"}},[`${Ue}-footer`]:{padding:Xe,color:Ee,fontSize:Be,background:de},[`${Ue}-content`]:{flex:"auto",color:Ee,minHeight:0}}},ze=xe=>{const{colorBgLayout:Me,controlHeight:Ue,controlHeightLG:Ee,colorText:de,controlHeightSM:Ve,marginXXS:ve,colorTextLightSolid:mt,colorBgContainer:Xe}=xe,Be=Ee*1.25;return{colorBgHeader:"#001529",colorBgBody:Me,colorBgTrigger:"#002140",bodyBg:Me,headerBg:"#001529",headerHeight:Ue*2,headerPadding:`0 ${Be}px`,headerColor:de,footerPadding:`${Ve}px ${Be}px`,footerBg:Me,siderBg:"#001529",triggerHeight:Ee+ve*2,triggerBg:"#002140",triggerColor:mt,zeroTriggerWidth:Ee,zeroTriggerHeight:Ee,lightSiderBg:Xe,lightTriggerBg:Xe,lightTriggerColor:de}},Ce=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Ot.ZP=(0,Ke.I$)("Layout",xe=>[ge(xe)],ze,{deprecatedTokens:Ce})},78857:function(Vt,Ot,oe){"use strict";oe.d(Ot,{J:function(){return xe}});var te=oe(59301),Ke=oe(8654),ge=oe(62487),ze=function(Me,Ue){var Ee={};for(var de in Me)Object.prototype.hasOwnProperty.call(Me,de)&&Ue.indexOf(de)<0&&(Ee[de]=Me[de]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,de=Object.getOwnPropertySymbols(Me);Ve<de.length;Ve++)Ue.indexOf(de[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Me,de[Ve])&&(Ee[de[Ve]]=Me[de[Ve]]);return Ee};const Ce=te.createContext(null),xe=te.forwardRef((Me,Ue)=>{const{children:Ee}=Me,de=ze(Me,["children"]),Ve=te.useContext(Ce),ve=te.useMemo(()=>Object.assign(Object.assign({},Ve),de),[Ve,de.prefixCls,de.mode,de.selectable,de.rootClassName]),mt=(0,Ke.t4)(Ee),Xe=(0,Ke.x1)(Ue,mt?(0,Ke.C4)(Ee):null);return te.createElement(Ce.Provider,{value:ve},te.createElement(ge.Z,{space:!0},mt?te.cloneElement(Ee,{ref:Xe}):Ee))});Ot.Z=Ce},93041:function(Vt,Ot,oe){"use strict";oe.d(Ot,{default:function(){return se}});var te=oe(59301),Ke=oe(28321),ge=oe(24303),ze=oe(18785),Ce=oe(92310),xe=oe.n(Ce),Me=oe(6089),Ue=oe(2738),Ee=oe(86641),de=oe(22703),Ve=oe(48755),ve=oe(83397),Xe=(0,te.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Be=function(re,me){var ye={};for(var rt in re)Object.prototype.hasOwnProperty.call(re,rt)&&me.indexOf(rt)<0&&(ye[rt]=re[rt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,rt=Object.getOwnPropertySymbols(re);Ae<rt.length;Ae++)me.indexOf(rt[Ae])<0&&Object.prototype.propertyIsEnumerable.call(re,rt[Ae])&&(ye[rt[Ae]]=re[rt[Ae]]);return ye},Le=re=>{const{prefixCls:me,className:ye,dashed:rt}=re,Ae=Be(re,["prefixCls","className","dashed"]),{getPrefixCls:Ze}=te.useContext(Ve.E_),tt=Ze("menu",me),gt=xe()({[`${tt}-item-divider-dashed`]:!!rt},ye);return te.createElement(Ke.iz,Object.assign({className:gt},Ae))},Qe=oe(11592),ht=oe(25399),ct=re=>{var me;const{className:ye,children:rt,icon:Ae,title:Ze,danger:tt,extra:gt}=re,{prefixCls:lt,firstLevel:Ft,direction:Nt,disableMenuItemTitleTooltip:Mt,inlineCollapsed:Jt}=te.useContext(Xe),Wt=nn=>{const Cn=rt==null?void 0:rt[0],fn=te.createElement("span",{className:xe()(`${lt}-title-content`,{[`${lt}-title-content-with-extra`]:!!gt||gt===0})},rt);return(!Ae||te.isValidElement(rt)&&rt.type==="span")&&rt&&nn&&Ft&&typeof Cn=="string"?te.createElement("div",{className:`${lt}-inline-collapsed-noicon`},Cn.charAt(0)):fn},{siderCollapsed:Gt}=te.useContext(ge.D);let ft=Ze;typeof Ze=="undefined"?ft=Ft?rt:"":Ze===!1&&(ft="");const Ht={title:ft};!Gt&&!Jt&&(Ht.title=null,Ht.open=!1);const Dt=(0,Qe.Z)(rt).length;let Rt=te.createElement(Ke.ck,Object.assign({},(0,Ue.Z)(re,["title","icon","danger"]),{className:xe()({[`${lt}-item-danger`]:tt,[`${lt}-item-only-child`]:(Ae?Dt+1:Dt)===1},ye),title:typeof Ze=="string"?Ze:void 0}),(0,de.Tm)(Ae,{className:xe()(te.isValidElement(Ae)?(me=Ae.props)===null||me===void 0?void 0:me.className:"",`${lt}-item-icon`)}),Wt(Jt));return Mt||(Rt=te.createElement(ht.Z,Object.assign({},Ht,{placement:Nt==="rtl"?"left":"right",classNames:{root:`${lt}-inline-collapsed-tooltip`}}),Rt)),Rt},$e=oe(78857),qe=oe(36237),je=oe(17835),bt=oe(63356),Je=oe(34961),He=oe(46e3),ot=oe(34925),Te=oe(16931),it=oe(51636),he=re=>{const{componentCls:me,motionDurationSlow:ye,horizontalLineHeight:rt,colorSplit:Ae,lineWidth:Ze,lineType:tt,itemPaddingInline:gt}=re;return{[`${me}-horizontal`]:{lineHeight:rt,border:0,borderBottom:`${(0,qe.unit)(Ze)} ${tt} ${Ae}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${me}-item, ${me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:gt},[`> ${me}-item:hover,
|
|
|
> ${me}-item-active,
|
|
|
> ${me}-submenu ${me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${me}-item, ${me}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${me}-submenu-arrow`]:{display:"none"}}}},De=re=>{let{componentCls:me,menuArrowOffset:ye,calc:rt}=re;return{[`${me}-rtl`]:{direction:"rtl"},[`${me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${me}-rtl${me}-vertical,
|
|
|
${me}-submenu-rtl ${me}-vertical`]:{[`${me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,qe.unit)(rt(ye).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,qe.unit)(ye)})`}}}}};const It=re=>Object.assign({},(0,bt.oN)(re));var Se=(re,me)=>{const{componentCls:ye,itemColor:rt,itemSelectedColor:Ae,subMenuItemSelectedColor:Ze,groupTitleColor:tt,itemBg:gt,subMenuItemBg:lt,itemSelectedBg:Ft,activeBarHeight:Nt,activeBarWidth:Mt,activeBarBorderWidth:Jt,motionDurationSlow:Wt,motionEaseInOut:Gt,motionEaseOut:ft,itemPaddingInline:Ht,motionDurationMid:Dt,itemHoverColor:Rt,lineType:nn,colorSplit:Cn,itemDisabledColor:fn,dangerItemColor:Pe,dangerItemHoverColor:_e,dangerItemSelectedColor:nt,dangerItemActiveBg:kt,dangerItemSelectedBg:$t,popupBg:un,itemHoverBg:On,itemActiveBg:Pn,menuSubMenuBg:an,horizontalItemSelectedColor:yn,horizontalItemSelectedBg:mn,horizontalItemBorderRadius:Un,horizontalItemHoverBg:vn}=re;return{[`${ye}-${me}, ${ye}-${me} > ${ye}`]:{color:rt,background:gt,[`&${ye}-root:focus-visible`]:Object.assign({},It(re)),[`${ye}-item`]:{"&-group-title, &-extra":{color:tt}},[`${ye}-submenu-selected > ${ye}-submenu-title`]:{color:Ze},[`${ye}-item, ${ye}-submenu-title`]:{color:rt,[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},It(re))},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${fn} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:Rt}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Pn}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Pn}}},[`${ye}-item-danger`]:{color:Pe,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:_e}},[`&${ye}-item:active`]:{background:kt}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:Ae,[`&${ye}-item-danger`]:{color:nt},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:Ft,[`&${ye}-item-danger`]:{backgroundColor:$t}},[`&${ye}-submenu > ${ye}`]:{backgroundColor:an},[`&${ye}-popup > ${ye}`]:{backgroundColor:un},[`&${ye}-submenu-popup > ${ye}`]:{backgroundColor:un},[`&${ye}-horizontal`]:Object.assign(Object.assign({},me==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:Jt,marginTop:re.calc(Jt).mul(-1).equal(),marginBottom:0,borderRadius:Un,"&::after":{position:"absolute",insetInline:Ht,bottom:0,borderBottom:`${(0,qe.unit)(Nt)} solid transparent`,transition:`border-color ${Wt} ${Gt}`,content:'""'},"&:hover, &-active, &-open":{background:vn,"&::after":{borderBottomWidth:Nt,borderBottomColor:yn}},"&-selected":{color:yn,backgroundColor:mn,"&:hover":{backgroundColor:mn},"&::after":{borderBottomWidth:Nt,borderBottomColor:yn}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${(0,qe.unit)(Jt)} ${nn} ${Cn}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:lt},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,qe.unit)(Mt)} solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Dt} ${ft}`,`opacity ${Dt} ${ft}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:nt}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Dt} ${Gt}`,`opacity ${Dt} ${Gt}`].join(",")}}}}}};const fe=re=>{const{componentCls:me,itemHeight:ye,itemMarginInline:rt,padding:Ae,menuArrowSize:Ze,marginXS:tt,itemMarginBlock:gt,itemWidth:lt,itemPaddingInline:Ft}=re,Nt=re.calc(Ze).add(Ae).add(tt).equal();return{[`${me}-item`]:{position:"relative",overflow:"hidden"},[`${me}-item, ${me}-submenu-title`]:{height:ye,lineHeight:(0,qe.unit)(ye),paddingInline:Ft,overflow:"hidden",textOverflow:"ellipsis",marginInline:rt,marginBlock:gt,width:lt},[`> ${me}-item,
|
|
|
> ${me}-submenu > ${me}-submenu-title`]:{height:ye,lineHeight:(0,qe.unit)(ye)},[`${me}-item-group-list ${me}-submenu-title,
|
|
|
${me}-submenu-title`]:{paddingInlineEnd:Nt}}};var Zt=re=>{const{componentCls:me,iconCls:ye,itemHeight:rt,colorTextLightSolid:Ae,dropdownWidth:Ze,controlHeightLG:tt,motionEaseOut:gt,paddingXL:lt,itemMarginInline:Ft,fontSizeLG:Nt,motionDurationFast:Mt,motionDurationSlow:Jt,paddingXS:Wt,boxShadowSecondary:Gt,collapsedWidth:ft,collapsedIconSize:Ht}=re,Dt={height:rt,lineHeight:(0,qe.unit)(rt),listStylePosition:"inside",listStyleType:"disc"};return[{[me]:{"&-inline, &-vertical":Object.assign({[`&${me}-root`]:{boxShadow:"none"}},fe(re))},[`${me}-submenu-popup`]:{[`${me}-vertical`]:Object.assign(Object.assign({},fe(re)),{boxShadow:Gt})}},{[`${me}-submenu-popup ${me}-vertical${me}-sub`]:{minWidth:Ze,maxHeight:`calc(100vh - ${(0,qe.unit)(re.calc(tt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${me}-inline`]:{width:"100%",[`&${me}-root`]:{[`${me}-item, ${me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Jt}`,`background ${Jt}`,`padding ${Mt} ${gt}`].join(","),[`> ${me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${me}-sub${me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${me}-submenu > ${me}-submenu-title`]:Dt,[`& ${me}-item-group-title`]:{paddingInlineStart:lt}},[`${me}-item`]:Dt}},{[`${me}-inline-collapsed`]:{width:ft,[`&${me}-root`]:{[`${me}-item, ${me}-submenu ${me}-submenu-title`]:{[`> ${me}-inline-collapsed-noicon`]:{fontSize:Nt,textAlign:"center"}}},[`> ${me}-item,
|
|
|
> ${me}-item-group > ${me}-item-group-list > ${me}-item,
|
|
|
> ${me}-item-group > ${me}-item-group-list > ${me}-submenu > ${me}-submenu-title,
|
|
|
> ${me}-submenu > ${me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,qe.unit)(re.calc(Ht).div(2).equal())} - ${(0,qe.unit)(Ft)})`,textOverflow:"clip",[`
|
|
|
${me}-submenu-arrow,
|
|
|
${me}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${me}-item-icon, ${ye}`]:{margin:0,fontSize:Ht,lineHeight:(0,qe.unit)(rt),"+ span":{display:"inline-block",opacity:0}}},[`${me}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${me}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:Ae}},[`${me}-item-group-title`]:Object.assign(Object.assign({},bt.vS),{paddingInline:Wt})}}]};const St=re=>{const{componentCls:me,motionDurationSlow:ye,motionDurationMid:rt,motionEaseInOut:Ae,motionEaseOut:Ze,iconCls:tt,iconSize:gt,iconMarginInlineEnd:lt}=re;return{[`${me}-item, ${me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding calc(${ye} + 0.1s) ${Ae}`].join(","),[`${me}-item-icon, ${tt}`]:{minWidth:gt,fontSize:gt,transition:[`font-size ${rt} ${Ze}`,`margin ${ye} ${Ae}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:lt,opacity:1,transition:[`opacity ${ye} ${Ae}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${me}-item-icon`]:Object.assign({},(0,bt.Ro)()),[`&${me}-item-only-child`]:{[`> ${tt}, > ${me}-item-icon`]:{marginInlineEnd:0}}},[`${me}-item-disabled, ${me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Re=re=>{const{componentCls:me,motionDurationSlow:ye,motionEaseInOut:rt,borderRadius:Ae,menuArrowSize:Ze,menuArrowOffset:tt}=re;return{[`${me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:Ze,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${rt}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(Ze).mul(.6).equal(),height:re.calc(Ze).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ae,transition:[`background ${ye} ${rt}`,`transform ${ye} ${rt}`,`top ${ye} ${rt}`,`color ${ye} ${rt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,qe.unit)(re.calc(tt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,qe.unit)(tt)})`}}}}},at=re=>{const{antCls:me,componentCls:ye,fontSize:rt,motionDurationSlow:Ae,motionDurationMid:Ze,motionEaseInOut:tt,paddingXS:gt,padding:lt,colorSplit:Ft,lineWidth:Nt,zIndexPopup:Mt,borderRadiusLG:Jt,subMenuItemBorderRadius:Wt,menuArrowSize:Gt,menuArrowOffset:ft,lineType:Ht,groupTitleLineHeight:Dt,groupTitleFontSize:Rt}=re;return[{"":{[ye]:Object.assign(Object.assign({},(0,bt.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,bt.Wf)(re)),(0,bt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:rt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ae} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ye}-item`]:{flex:"none"}},[`${ye}-item, ${ye}-submenu, ${ye}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${(0,qe.unit)(gt)} ${(0,qe.unit)(lt)}`,fontSize:Rt,lineHeight:Dt,transition:`all ${Ae}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${Ae} ${tt}`,`background ${Ae} ${tt}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${Ae} ${tt}`,`background ${Ae} ${tt}`,`padding ${Ze} ${tt}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${Ae} ${tt}`,`padding ${Ae} ${tt}`].join(",")},[`${ye}-title-content`]:{transition:`color ${Ae}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${me}-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:Ft,borderStyle:Ht,borderWidth:0,borderTopWidth:Nt,marginBlock:Nt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),St(re)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${(0,qe.unit)(re.calc(rt).mul(2).equal())} ${(0,qe.unit)(lt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Mt,borderRadius:Jt,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:Jt},St(re)),Re(re)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:Wt},[`${ye}-submenu-title::after`]:{transition:`transform ${Ae} ${tt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd: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}}}),Re(re)),{[`&-inline-collapsed ${ye}-submenu-arrow,
|
|
|
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,qe.unit)(ft)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,qe.unit)(re.calc(ft).mul(-1).equal())})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(${(0,qe.unit)(re.calc(Gt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,qe.unit)(re.calc(ft).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,qe.unit)(ft)})`}}})},{[`${me}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]},vt=re=>{var me,ye,rt;const{colorPrimary:Ae,colorError:Ze,colorTextDisabled:tt,colorErrorBg:gt,colorText:lt,colorTextDescription:Ft,colorBgContainer:Nt,colorFillAlter:Mt,colorFillContent:Jt,lineWidth:Wt,lineWidthBold:Gt,controlItemBgActive:ft,colorBgTextHover:Ht,controlHeightLG:Dt,lineHeight:Rt,colorBgElevated:nn,marginXXS:Cn,padding:fn,fontSize:Pe,controlHeightSM:_e,fontSizeLG:nt,colorTextLightSolid:kt,colorErrorHover:$t}=re,un=(me=re.activeBarWidth)!==null&&me!==void 0?me:0,On=(ye=re.activeBarBorderWidth)!==null&&ye!==void 0?ye:Wt,Pn=(rt=re.itemMarginInline)!==null&&rt!==void 0?rt:re.marginXXS,an=new je.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:lt,itemColor:lt,colorItemTextHover:lt,itemHoverColor:lt,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:Ft,groupTitleColor:Ft,colorItemTextSelected:Ae,itemSelectedColor:Ae,subMenuItemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:Nt,itemBg:Nt,colorItemBgHover:Ht,itemHoverBg:Ht,colorItemBgActive:Jt,itemActiveBg:ft,colorSubItemBg:Mt,subMenuItemBg:Mt,colorItemBgSelected:ft,itemSelectedBg:ft,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:un,colorActiveBarHeight:Gt,activeBarHeight:Gt,colorActiveBarBorderSize:Wt,activeBarBorderWidth:On,colorItemTextDisabled:tt,itemDisabledColor:tt,colorDangerItemText:Ze,dangerItemColor:Ze,colorDangerItemTextHover:Ze,dangerItemHoverColor:Ze,colorDangerItemTextSelected:Ze,dangerItemSelectedColor:Ze,colorDangerItemBgActive:gt,dangerItemActiveBg:gt,colorDangerItemBgSelected:gt,dangerItemSelectedBg:gt,itemMarginInline:Pn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Dt,groupTitleLineHeight:Rt,collapsedWidth:Dt*2,popupBg:nn,itemMarginBlock:Cn,itemPaddingInline:fn,horizontalLineHeight:`${Dt*1.15}px`,iconSize:Pe,iconMarginInlineEnd:_e-Pe,collapsedIconSize:nt,groupTitleFontSize:Pe,darkItemDisabledColor:new je.FastColor(kt).setA(.25).toRgbString(),darkItemColor:an,darkDangerItemColor:Ze,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:kt,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:Ze,darkItemHoverBg:"transparent",darkGroupTitleColor:an,darkItemHoverColor:kt,darkDangerItemHoverColor:$t,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:Ze,itemWidth:un?`calc(100% + ${On}px)`:`calc(100% - ${Pn*2}px)`}};var sn=function(re){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Te.I$)("Menu",Ae=>{const{colorBgElevated:Ze,controlHeightLG:tt,fontSize:gt,darkItemColor:lt,darkDangerItemColor:Ft,darkItemBg:Nt,darkSubMenuItemBg:Mt,darkItemSelectedColor:Jt,darkItemSelectedBg:Wt,darkDangerItemSelectedBg:Gt,darkItemHoverBg:ft,darkGroupTitleColor:Ht,darkItemHoverColor:Dt,darkItemDisabledColor:Rt,darkDangerItemHoverColor:nn,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:fn,popupBg:Pe,darkPopupBg:_e}=Ae,nt=Ae.calc(gt).div(7).mul(5).equal(),kt=(0,it.mergeToken)(Ae,{menuArrowSize:nt,menuHorizontalHeight:Ae.calc(tt).mul(1.15).equal(),menuArrowOffset:Ae.calc(nt).mul(.25).equal(),menuSubMenuBg:Ze,calc:Ae.calc,popupBg:Pe}),$t=(0,it.mergeToken)(kt,{itemColor:lt,itemHoverColor:Dt,groupTitleColor:Ht,itemSelectedColor:Jt,subMenuItemSelectedColor:Jt,itemBg:Nt,popupBg:_e,subMenuItemBg:Mt,itemActiveBg:"transparent",itemSelectedBg:Wt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ft,itemDisabledColor:Rt,dangerItemColor:Ft,dangerItemHoverColor:nn,dangerItemSelectedColor:Cn,dangerItemActiveBg:fn,dangerItemSelectedBg:Gt,menuSubMenuBg:Mt,horizontalItemSelectedColor:Jt,horizontalItemSelectedBg:Wt});return[at(kt),he(kt),Zt(kt),Se(kt,"light"),Se($t,"dark"),De(kt),(0,Je.Z)(kt),(0,He.oN)(kt,"slide-up"),(0,He.oN)(kt,"slide-down"),(0,ot._y)(kt,"zoom-big")]},vt,{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,me)},dt=oe(75030),Ne=re=>{var me;const{popupClassName:ye,icon:rt,title:Ae,theme:Ze}=re,tt=te.useContext(Xe),{prefixCls:gt,inlineCollapsed:lt,theme:Ft}=tt,Nt=(0,Ke.Xl)();let Mt;if(!rt)Mt=lt&&!Nt.length&&Ae&&typeof Ae=="string"?te.createElement("div",{className:`${gt}-inline-collapsed-noicon`},Ae.charAt(0)):te.createElement("span",{className:`${gt}-title-content`},Ae);else{const Gt=te.isValidElement(Ae)&&Ae.type==="span";Mt=te.createElement(te.Fragment,null,(0,de.Tm)(rt,{className:xe()(te.isValidElement(rt)?(me=rt.props)===null||me===void 0?void 0:me.className:"",`${gt}-item-icon`)}),Gt?Ae:te.createElement("span",{className:`${gt}-title-content`},Ae))}const Jt=te.useMemo(()=>Object.assign(Object.assign({},tt),{firstLevel:!1}),[tt]),[Wt]=(0,dt.Cn)("Menu");return te.createElement(Xe.Provider,{value:Jt},te.createElement(Ke.Wd,Object.assign({},(0,Ue.Z)(re,["icon"]),{title:Mt,popupClassName:xe()(gt,ye,`${gt}-${Ze||Ft}`),popupStyle:Object.assign({zIndex:Wt},re.popupStyle)})))},Pt=function(re,me){var ye={};for(var rt in re)Object.prototype.hasOwnProperty.call(re,rt)&&me.indexOf(rt)<0&&(ye[rt]=re[rt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,rt=Object.getOwnPropertySymbols(re);Ae<rt.length;Ae++)me.indexOf(rt[Ae])<0&&Object.prototype.propertyIsEnumerable.call(re,rt[Ae])&&(ye[rt[Ae]]=re[rt[Ae]]);return ye};function st(re){return re===null||re===!1}const ae={item:ct,submenu:Ne,divider:Le};var z=(0,te.forwardRef)((re,me)=>{var ye;const rt=te.useContext($e.Z),Ae=rt||{},{getPrefixCls:Ze,getPopupContainer:tt,direction:gt,menu:lt}=te.useContext(Ve.E_),Ft=Ze(),{prefixCls:Nt,className:Mt,style:Jt,theme:Wt="light",expandIcon:Gt,_internalDisableMenuItemTitleTooltip:ft,inlineCollapsed:Ht,siderCollapsed:Dt,rootClassName:Rt,mode:nn,selectable:Cn,onClick:fn,overflowedIndicatorPopupClassName:Pe}=re,_e=Pt(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),nt=(0,Ue.Z)(_e,["collapsedWidth"]);(ye=Ae.validator)===null||ye===void 0||ye.call(Ae,{mode:nn});const kt=(0,Me.Z)(function(){var dn;fn==null||fn.apply(void 0,arguments),(dn=Ae.onClick)===null||dn===void 0||dn.call(Ae)}),$t=Ae.mode||nn,un=Cn!=null?Cn:Ae.selectable,On=Ht!=null?Ht:Dt,Pn={horizontal:{motionName:`${Ft}-slide-up`},inline:(0,Ee.Z)(Ft),other:{motionName:`${Ft}-zoom-big`}},an=Ze("menu",Nt||Ae.prefixCls),yn=(0,ve.Z)(an),[mn,Un,vn]=sn(an,yn,!rt),Bn=xe()(`${an}-${Wt}`,lt==null?void 0:lt.className,Mt),ln=te.useMemo(()=>{var dn,Mn;if(typeof Gt=="function"||st(Gt))return Gt||null;if(typeof Ae.expandIcon=="function"||st(Ae.expandIcon))return Ae.expandIcon||null;if(typeof(lt==null?void 0:lt.expandIcon)=="function"||st(lt==null?void 0:lt.expandIcon))return(lt==null?void 0:lt.expandIcon)||null;const Gn=(dn=Gt!=null?Gt:Ae==null?void 0:Ae.expandIcon)!==null&&dn!==void 0?dn:lt==null?void 0:lt.expandIcon;return(0,de.Tm)(Gn,{className:xe()(`${an}-submenu-expand-icon`,te.isValidElement(Gn)?(Mn=Gn.props)===null||Mn===void 0?void 0:Mn.className:void 0)})},[Gt,Ae==null?void 0:Ae.expandIcon,lt==null?void 0:lt.expandIcon,an]),xn=te.useMemo(()=>({prefixCls:an,inlineCollapsed:On||!1,direction:gt,firstLevel:!0,theme:Wt,mode:$t,disableMenuItemTitleTooltip:ft}),[an,On,gt,ft,Wt]);return mn(te.createElement($e.Z.Provider,{value:null},te.createElement(Xe.Provider,{value:xn},te.createElement(Ke.ZP,Object.assign({getPopupContainer:tt,overflowedIndicator:te.createElement(ze.Z,null),overflowedIndicatorPopupClassName:xe()(an,`${an}-${Wt}`,Pe),mode:$t,selectable:un,onClick:kt},nt,{inlineCollapsed:On,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),Jt),className:Bn,prefixCls:an,direction:gt,defaultMotions:Pn,expandIcon:ln,ref:me,rootClassName:xe()(Rt,Un,Ae.rootClassName,vn,yn),_internalComponents:ae})))))});const ie=(0,te.forwardRef)((re,me)=>{const ye=(0,te.useRef)(null),rt=te.useContext(ge.D);return(0,te.useImperativeHandle)(me,()=>({menu:ye.current,focus:Ae=>{var Ze;(Ze=ye.current)===null||Ze===void 0||Ze.focus(Ae)}})),te.createElement(z,Object.assign({ref:ye},re,rt))});ie.Item=ct,ie.SubMenu=Ne,ie.Divider=Le,ie.ItemGroup=Ke.BW;var se=ie},82326:function(Vt,Ot,oe){"use strict";var te=oe(59301),Ke=oe(92310),ge=oe.n(Ke),ze=oe(37463),Ce=oe(2738),xe=oe(75030),Me=oe(86641),Ue=oe(45915),Ee=oe(82855),de=oe(48755),Ve=oe(38406),ve=oe(2171),mt=oe(83397),Xe=oe(31756),Be=oe(56553),Ie=oe(24971),Le=oe(70045),Qe=oe(57700),ht=oe(1722),wt=oe(90376),ct=oe(68525),$e=oe(90005),qe=function(ot,Te){var it={};for(var et in ot)Object.prototype.hasOwnProperty.call(ot,et)&&Te.indexOf(et)<0&&(it[et]=ot[et]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,et=Object.getOwnPropertySymbols(ot);he<et.length;he++)Te.indexOf(et[he])<0&&Object.prototype.propertyIsEnumerable.call(ot,et[he])&&(it[et[he]]=ot[et[he]]);return it};const je="SECRET_COMBOBOX_MODE_DO_NOT_USE",bt=(ot,Te)=>{var it;const{prefixCls:et,bordered:he,className:Et,rootClassName:De,getPopupContainer:It,popupClassName:zt,dropdownClassName:Se,listHeight:fe=256,placement:pt,listItemHeight:Zt,size:St,disabled:Re,notFoundContent:at,status:vt,builtinPlacements:sn,dropdownMatchSelectWidth:dt,popupMatchSelectWidth:Bt,direction:Ne,style:Pt,allowClear:st,variant:ae,dropdownStyle:ee,transitionName:z,tagRender:ie,maxCount:se,prefix:re}=ot,me=qe(ot,["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:rt,renderEmpty:Ae,direction:Ze,virtual:tt,popupMatchSelectWidth:gt,popupOverflow:lt}=te.useContext(de.E_),Ft=(0,de.dj)("select"),[,Nt]=(0,Qe.ZP)(),Mt=Zt!=null?Zt:Nt==null?void 0:Nt.controlHeight,Jt=rt("select",et),Wt=rt(),Gt=Ne!=null?Ne:Ze,{compactSize:ft,compactItemClassnames:Ht}=(0,Le.ri)(Jt,Gt),[Dt,Rt]=(0,Ie.Z)("select",ae,he),nn=(0,mt.Z)(Jt),[Cn,fn,Pe]=(0,wt.Z)(Jt,nn),_e=te.useMemo(()=>{const{mode:jn}=ot;if(jn!=="combobox")return jn===je?"combobox":jn},[ot.mode]),nt=_e==="multiple"||_e==="tags",kt=(0,$e.Z)(ot.suffixIcon,ot.showArrow),$t=(it=Bt!=null?Bt:dt)!==null&&it!==void 0?it:gt,{status:un,hasFeedback:On,isFormItemInput:Pn,feedbackIcon:an}=te.useContext(Be.aM),yn=(0,Ee.F)(un,vt);let mn;at!==void 0?mn=at:_e==="combobox"?mn=null:mn=(Ae==null?void 0:Ae("Select"))||te.createElement(Ve.Z,{componentName:"Select"});const{suffixIcon:Un,itemIcon:vn,removeIcon:Bn,clearIcon:ln}=(0,ct.Z)(Object.assign(Object.assign({},me),{multiple:nt,hasFeedback:On,feedbackIcon:an,showSuffixIcon:kt,prefixCls:Jt,componentName:"Select"})),xn=st===!0?{clearIcon:ln}:st,dn=(0,Ce.Z)(me,["suffixIcon","itemIcon"]),Mn=ge()(zt||Se,{[`${Jt}-dropdown-${Gt}`]:Gt==="rtl"},De,Pe,nn,fn),Gn=(0,Xe.Z)(jn=>{var Lt;return(Lt=St!=null?St:ft)!==null&&Lt!==void 0?Lt:jn}),zn=te.useContext(ve.Z),Tn=Re!=null?Re:zn,Yn=ge()({[`${Jt}-lg`]:Gn==="large",[`${Jt}-sm`]:Gn==="small",[`${Jt}-rtl`]:Gt==="rtl",[`${Jt}-${Dt}`]:Rt,[`${Jt}-in-form-item`]:Pn},(0,Ee.Z)(Jt,yn,On),Ht,Ft.className,Et,De,Pe,nn,fn),Xn=te.useMemo(()=>pt!==void 0?pt:Gt==="rtl"?"bottomRight":"bottomLeft",[pt,Gt]),[$n]=(0,xe.Cn)("SelectLike",ee==null?void 0:ee.zIndex);return Cn(te.createElement(ze.ZP,Object.assign({ref:Te,virtual:tt,showSearch:Ft.showSearch},dn,{style:Object.assign(Object.assign({},Ft.style),Pt),dropdownMatchSelectWidth:$t,transitionName:(0,Me.m)(Wt,"slide-up",z),builtinPlacements:(0,ht.Z)(sn,lt),listHeight:fe,listItemHeight:Mt,mode:_e,prefixCls:Jt,placement:Xn,direction:Gt,prefix:re,suffixIcon:Un,menuItemSelectedIcon:vn,removeIcon:Bn,allowClear:xn,notFoundContent:mn,className:Yn,getPopupContainer:It||ye,dropdownClassName:Mn,disabled:Tn,dropdownStyle:Object.assign(Object.assign({},ee),{zIndex:$n}),maxCount:nt?se:void 0,tagRender:nt?ie:void 0})))},Je=te.forwardRef(bt),He=(0,Ue.Z)(Je,"dropdownAlign");Je.SECRET_COMBOBOX_MODE_DO_NOT_USE=je,Je.Option=ze.Wx,Je.OptGroup=ze.Xo,Je._InternalPanelDoNotUseOrYouWillBeFired=He,Ot.default=Je},1722:function(Vt,Ot){"use strict";const oe=Ke=>{const ze={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ke==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},ze),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ze),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ze),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ze),{points:["br","tr"],offset:[0,-4]})}};function te(Ke,ge){return Ke||oe(ge)}Ot.Z=te},90376:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return et}});var te=oe(63356),Ke=oe(56119),ge=oe(16931),ze=oe(51636),Ce=oe(46e3),xe=oe(93873);const Me=he=>{const{optionHeight:Et,optionFontSize:De,optionLineHeight:It,optionPadding:zt}=he;return{position:"relative",display:"block",minHeight:Et,padding:zt,color:he.colorText,fontWeight:"normal",fontSize:De,lineHeight:It,boxSizing:"border-box"}};var Ee=he=>{const{antCls:Et,componentCls:De}=he,It=`${De}-item`,zt=`&${Et}-slide-up-enter${Et}-slide-up-enter-active`,Se=`&${Et}-slide-up-appear${Et}-slide-up-appear-active`,fe=`&${Et}-slide-up-leave${Et}-slide-up-leave-active`,pt=`${De}-dropdown-placement-`,Zt=`${It}-option-selected`;return[{[`${De}-dropdown`]:Object.assign(Object.assign({},(0,te.Wf)(he)),{position:"absolute",top:-9999,zIndex:he.zIndexPopup,boxSizing:"border-box",padding:he.paddingXXS,overflow:"hidden",fontSize:he.fontSize,fontVariant:"initial",backgroundColor:he.colorBgElevated,borderRadius:he.borderRadiusLG,outline:"none",boxShadow:he.boxShadowSecondary,[`
|
|
|
${zt}${pt}bottomLeft,
|
|
|
${Se}${pt}bottomLeft
|
|
|
`]:{animationName:Ce.fJ},[`
|
|
|
${zt}${pt}topLeft,
|
|
|
${Se}${pt}topLeft,
|
|
|
${zt}${pt}topRight,
|
|
|
${Se}${pt}topRight
|
|
|
`]:{animationName:Ce.Qt},[`${fe}${pt}bottomLeft`]:{animationName:Ce.Uw},[`
|
|
|
${fe}${pt}topLeft,
|
|
|
${fe}${pt}topRight
|
|
|
`]:{animationName:Ce.ly},"&-hidden":{display:"none"},[It]:Object.assign(Object.assign({},Me(he)),{cursor:"pointer",transition:`background ${he.motionDurationSlow} ease`,borderRadius:he.borderRadiusSM,"&-group":{color:he.colorTextDescription,fontSize:he.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},te.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${It}-option-disabled)`]:{backgroundColor:he.optionActiveBg},[`&-selected:not(${It}-option-disabled)`]:{color:he.optionSelectedColor,fontWeight:he.optionSelectedFontWeight,backgroundColor:he.optionSelectedBg,[`${It}-option-state`]:{color:he.colorPrimary}},"&-disabled":{[`&${It}-option-selected`]:{backgroundColor:he.colorBgContainerDisabled},color:he.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:he.calc(he.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Me(he)),{color:he.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Ce.oN)(he,"slide-up"),(0,Ce.oN)(he,"slide-down"),(0,xe.Fm)(he,"move-up"),(0,xe.Fm)(he,"move-down")]},de=oe(26743),Ve=oe(36237);function ve(he,Et){const{componentCls:De,inputPaddingHorizontalBase:It,borderRadius:zt}=he,Se=he.calc(he.controlHeight).sub(he.calc(he.lineWidth).mul(2)).equal(),fe=Et?`${De}-${Et}`:"";return{[`${De}-single${fe}`]:{fontSize:he.fontSize,height:he.controlHeight,[`${De}-selector`]:Object.assign(Object.assign({},(0,te.Wf)(he,!0)),{display:"flex",borderRadius:zt,flex:"1 1 auto",[`${De}-selection-wrap:after`]:{lineHeight:(0,Ve.unit)(Se)},[`${De}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${De}-selection-item,
|
|
|
${De}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Ve.unit)(Se),transition:`all ${he.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${De}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${De}-selection-item:empty:after`,`${De}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${De}-show-arrow ${De}-selection-item,
|
|
|
&${De}-show-arrow ${De}-selection-search,
|
|
|
&${De}-show-arrow ${De}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:he.showArrowPaddingInlineEnd},[`&${De}-open ${De}-selection-item`]:{color:he.colorTextPlaceholder},[`&:not(${De}-customize-input)`]:{[`${De}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ve.unit)(It)}`,[`${De}-selection-search-input`]:{height:Se,fontSize:he.fontSize},"&:after":{lineHeight:(0,Ve.unit)(Se)}}},[`&${De}-customize-input`]:{[`${De}-selector`]:{"&:after":{display:"none"},[`${De}-selection-search`]:{position:"static",width:"100%"},[`${De}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ve.unit)(It)}`,"&:after":{display:"none"}}}}}}}function mt(he){const{componentCls:Et}=he,De=he.calc(he.controlPaddingHorizontalSM).sub(he.lineWidth).equal();return[ve(he),ve((0,ze.mergeToken)(he,{controlHeight:he.controlHeightSM,borderRadius:he.borderRadiusSM}),"sm"),{[`${Et}-single${Et}-sm`]:{[`&:not(${Et}-customize-input)`]:{[`${Et}-selector`]:{padding:`0 ${(0,Ve.unit)(De)}`},[`&${Et}-show-arrow ${Et}-selection-search`]:{insetInlineEnd:he.calc(De).add(he.calc(he.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Et}-show-arrow ${Et}-selection-item,
|
|
|
&${Et}-show-arrow ${Et}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:he.calc(he.fontSize).mul(1.5).equal()}}}},ve((0,ze.mergeToken)(he,{controlHeight:he.singleItemHeightLG,fontSize:he.fontSizeLG,borderRadius:he.borderRadiusLG}),"lg")]}const Xe=he=>{const{fontSize:Et,lineHeight:De,lineWidth:It,controlHeight:zt,controlHeightSM:Se,controlHeightLG:fe,paddingXXS:pt,controlPaddingHorizontal:Zt,zIndexPopupBase:St,colorText:Re,fontWeightStrong:at,controlItemBgActive:vt,controlItemBgHover:sn,colorBgContainer:dt,colorFillSecondary:Bt,colorBgContainerDisabled:Ne,colorTextDisabled:Pt,colorPrimaryHover:st,colorPrimary:ae,controlOutline:ee}=he,z=pt*2,ie=It*2,se=Math.min(zt-z,zt-ie),re=Math.min(Se-z,Se-ie),me=Math.min(fe-z,fe-ie);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(pt/2),zIndexPopup:St+50,optionSelectedColor:Re,optionSelectedFontWeight:at,optionSelectedBg:vt,optionActiveBg:sn,optionPadding:`${(zt-Et*De)/2}px ${Zt}px`,optionFontSize:Et,optionLineHeight:De,optionHeight:zt,selectorBg:dt,clearBg:dt,singleItemHeightLG:fe,multipleItemBg:Bt,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:re,multipleItemHeightLG:me,multipleSelectorBgDisabled:Ne,multipleItemColorDisabled:Pt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(he.fontSize*1.25),hoverBorderColor:st,activeBorderColor:ae,activeOutlineColor:ee,selectAffixPadding:pt}},Be=(he,Et)=>{const{componentCls:De,antCls:It,controlOutlineWidth:zt}=he;return{[`&:not(${De}-customize-input) ${De}-selector`]:{border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} ${Et.borderColor}`,background:he.selectorBg},[`&:not(${De}-disabled):not(${De}-customize-input):not(${It}-pagination-size-changer)`]:{[`&:hover ${De}-selector`]:{borderColor:Et.hoverBorderHover},[`${De}-focused& ${De}-selector`]:{borderColor:Et.activeBorderColor,boxShadow:`0 0 0 ${(0,Ve.unit)(zt)} ${Et.activeOutlineColor}`,outline:0},[`${De}-prefix`]:{color:Et.color}}}},Ie=(he,Et)=>({[`&${he.componentCls}-status-${Et.status}`]:Object.assign({},Be(he,Et))}),Le=he=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Be(he,{borderColor:he.colorBorder,hoverBorderHover:he.hoverBorderColor,activeBorderColor:he.activeBorderColor,activeOutlineColor:he.activeOutlineColor,color:he.colorText})),Ie(he,{status:"error",borderColor:he.colorError,hoverBorderHover:he.colorErrorHover,activeBorderColor:he.colorError,activeOutlineColor:he.colorErrorOutline,color:he.colorError})),Ie(he,{status:"warning",borderColor:he.colorWarning,hoverBorderHover:he.colorWarningHover,activeBorderColor:he.colorWarning,activeOutlineColor:he.colorWarningOutline,color:he.colorWarning})),{[`&${he.componentCls}-disabled`]:{[`&:not(${he.componentCls}-customize-input) ${he.componentCls}-selector`]:{background:he.colorBgContainerDisabled,color:he.colorTextDisabled}},[`&${he.componentCls}-multiple ${he.componentCls}-selection-item`]:{background:he.multipleItemBg,border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} ${he.multipleItemBorderColor}`}})}),Qe=(he,Et)=>{const{componentCls:De,antCls:It}=he;return{[`&:not(${De}-customize-input) ${De}-selector`]:{background:Et.bg,border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} transparent`,color:Et.color},[`&:not(${De}-disabled):not(${De}-customize-input):not(${It}-pagination-size-changer)`]:{[`&:hover ${De}-selector`]:{background:Et.hoverBg},[`${De}-focused& ${De}-selector`]:{background:he.selectorBg,borderColor:Et.activeBorderColor,outline:0}}}},ht=(he,Et)=>({[`&${he.componentCls}-status-${Et.status}`]:Object.assign({},Qe(he,Et))}),wt=he=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Qe(he,{bg:he.colorFillTertiary,hoverBg:he.colorFillSecondary,activeBorderColor:he.activeBorderColor,color:he.colorText})),ht(he,{status:"error",bg:he.colorErrorBg,hoverBg:he.colorErrorBgHover,activeBorderColor:he.colorError,color:he.colorError})),ht(he,{status:"warning",bg:he.colorWarningBg,hoverBg:he.colorWarningBgHover,activeBorderColor:he.colorWarning,color:he.colorWarning})),{[`&${he.componentCls}-disabled`]:{[`&:not(${he.componentCls}-customize-input) ${he.componentCls}-selector`]:{borderColor:he.colorBorder,background:he.colorBgContainerDisabled,color:he.colorTextDisabled}},[`&${he.componentCls}-multiple ${he.componentCls}-selection-item`]:{background:he.colorBgContainer,border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} ${he.colorSplit}`}})}),ct=he=>({"&-borderless":{[`${he.componentCls}-selector`]:{background:"transparent",border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} transparent`},[`&${he.componentCls}-disabled`]:{[`&:not(${he.componentCls}-customize-input) ${he.componentCls}-selector`]:{color:he.colorTextDisabled}},[`&${he.componentCls}-multiple ${he.componentCls}-selection-item`]:{background:he.multipleItemBg,border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} ${he.multipleItemBorderColor}`},[`&${he.componentCls}-status-error`]:{[`${he.componentCls}-prefix, ${he.componentCls}-selection-item`]:{color:he.colorError}},[`&${he.componentCls}-status-warning`]:{[`${he.componentCls}-prefix, ${he.componentCls}-selection-item`]:{color:he.colorWarning}}}}),$e=(he,Et)=>{const{componentCls:De,antCls:It}=he;return{[`&:not(${De}-customize-input) ${De}-selector`]:{borderWidth:`0 0 ${(0,Ve.unit)(he.lineWidth)} 0`,borderStyle:`none none ${he.lineType} none`,borderColor:Et.borderColor,background:he.selectorBg,borderRadius:0},[`&:not(${De}-disabled):not(${De}-customize-input):not(${It}-pagination-size-changer)`]:{[`&:hover ${De}-selector`]:{borderColor:Et.hoverBorderHover},[`${De}-focused& ${De}-selector`]:{borderColor:Et.activeBorderColor,outline:0},[`${De}-prefix`]:{color:Et.color}}}},qe=(he,Et)=>({[`&${he.componentCls}-status-${Et.status}`]:Object.assign({},$e(he,Et))}),je=he=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},$e(he,{borderColor:he.colorBorder,hoverBorderHover:he.hoverBorderColor,activeBorderColor:he.activeBorderColor,activeOutlineColor:he.activeOutlineColor,color:he.colorText})),qe(he,{status:"error",borderColor:he.colorError,hoverBorderHover:he.colorErrorHover,activeBorderColor:he.colorError,activeOutlineColor:he.colorErrorOutline,color:he.colorError})),qe(he,{status:"warning",borderColor:he.colorWarning,hoverBorderHover:he.colorWarningHover,activeBorderColor:he.colorWarning,activeOutlineColor:he.colorWarningOutline,color:he.colorWarning})),{[`&${he.componentCls}-disabled`]:{[`&:not(${he.componentCls}-customize-input) ${he.componentCls}-selector`]:{color:he.colorTextDisabled}},[`&${he.componentCls}-multiple ${he.componentCls}-selection-item`]:{background:he.multipleItemBg,border:`${(0,Ve.unit)(he.lineWidth)} ${he.lineType} ${he.multipleItemBorderColor}`}})});var Je=he=>({[he.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Le(he)),wt(he)),ct(he)),je(he))});const He=he=>{const{componentCls:Et}=he;return{position:"relative",transition:`all ${he.motionDurationMid} ${he.motionEaseInOut}`,input:{cursor:"pointer"},[`${Et}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Et}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ot=he=>{const{componentCls:Et}=he;return{[`${Et}-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"}}}},Te=he=>{const{antCls:Et,componentCls:De,inputPaddingHorizontalBase:It,iconCls:zt}=he;return{[De]:Object.assign(Object.assign({},(0,te.Wf)(he)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${De}-customize-input) ${De}-selector`]:Object.assign(Object.assign({},He(he)),ot(he)),[`${De}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},te.vS),{[`> ${Et}-typography`]:{display:"inline"}}),[`${De}-selection-placeholder`]:Object.assign(Object.assign({},te.vS),{flex:1,color:he.colorTextPlaceholder,pointerEvents:"none"}),[`${De}-arrow`]:Object.assign(Object.assign({},(0,te.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:It,height:he.fontSizeIcon,marginTop:he.calc(he.fontSizeIcon).mul(-1).div(2).equal(),color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${he.motionDurationSlow} ease`,[zt]:{verticalAlign:"top",transition:`transform ${he.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${De}-suffix)`]:{pointerEvents:"auto"}},[`${De}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${De}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${De}-prefix`]:{flex:"none",marginInlineEnd:he.selectAffixPadding},[`${De}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:It,zIndex:1,display:"inline-block",width:he.fontSizeIcon,height:he.fontSizeIcon,marginTop:he.calc(he.fontSizeIcon).mul(-1).div(2).equal(),color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${he.motionDurationMid} ease, opacity ${he.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:he.colorTextTertiary}},[`&:hover ${De}-clear`]:{opacity:1,background:he.colorBgBase,borderRadius:"50%"}}),[`${De}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${De}-has-feedback`]:{[`${De}-clear`]:{insetInlineEnd:he.calc(It).add(he.fontSize).add(he.paddingXS).equal()}}}}}},it=he=>{const{componentCls:Et}=he;return[{[Et]:{[`&${Et}-in-form-item`]:{width:"100%"}}},Te(he),mt(he),(0,de.ZP)(he),Ee(he),{[`${Et}-rtl`]:{direction:"rtl"}},(0,Ke.c)(he,{borderElCls:`${Et}-selector`,focusElCls:`${Et}-focused`})]};var et=(0,ge.I$)("Select",(he,Et)=>{let{rootPrefixCls:De}=Et;const It=(0,ze.mergeToken)(he,{rootPrefixCls:De,inputPaddingHorizontalBase:he.calc(he.paddingSM).sub(1).equal(),multipleSelectItemHeight:he.multipleItemHeight,selectHeight:he.controlHeight});return[it(It),Je(It)]},Xe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Vt,Ot,oe){"use strict";oe.d(Ot,{_z:function(){return xe},gp:function(){return ze}});var te=oe(36237),Ke=oe(63356),ge=oe(51636);const ze=de=>{const{multipleSelectItemHeight:Ve,paddingXXS:ve,lineWidth:mt,INTERNAL_FIXED_ITEM_MARGIN:Xe}=de,Be=de.max(de.calc(ve).sub(mt).equal(),0),Ie=de.max(de.calc(Be).sub(Xe).equal(),0);return{basePadding:Be,containerPadding:Ie,itemHeight:(0,te.unit)(Ve),itemLineHeight:(0,te.unit)(de.calc(Ve).sub(de.calc(de.lineWidth).mul(2)).equal())}},Ce=de=>{const{multipleSelectItemHeight:Ve,selectHeight:ve,lineWidth:mt}=de;return de.calc(ve).sub(Ve).div(2).sub(mt).equal()},xe=de=>{const{componentCls:Ve,iconCls:ve,borderRadiusSM:mt,motionDurationSlow:Xe,paddingXS:Be,multipleItemColorDisabled:Ie,multipleItemBorderColorDisabled:Le,colorIcon:Qe,colorIconHover:ht,INTERNAL_FIXED_ITEM_MARGIN:wt}=de;return{[`${Ve}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ve}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:wt,borderRadius:mt,cursor:"default",transition:`font-size ${Xe}, line-height ${Xe}, height ${Xe}`,marginInlineEnd:de.calc(wt).mul(2).equal(),paddingInlineStart:Be,paddingInlineEnd:de.calc(Be).div(2).equal(),[`${Ve}-disabled&`]:{color:Ie,borderColor:Le,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:de.calc(Be).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ke.Ro)()),{display:"inline-flex",alignItems:"center",color:Qe,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ht}})}}}},Me=(de,Ve)=>{const{componentCls:ve,INTERNAL_FIXED_ITEM_MARGIN:mt}=de,Xe=`${ve}-selection-overflow`,Be=de.multipleSelectItemHeight,Ie=Ce(de),Le=Ve?`${ve}-${Ve}`:"",Qe=ze(de);return{[`${ve}-multiple${Le}`]:Object.assign(Object.assign({},xe(de)),{[`${ve}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Qe.basePadding,paddingBlock:Qe.containerPadding,borderRadius:de.borderRadius,[`${ve}-disabled&`]:{background:de.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,te.unit)(mt)} 0`,lineHeight:(0,te.unit)(Be),visibility:"hidden",content:'"\\a0"'}},[`${ve}-selection-item`]:{height:Qe.itemHeight,lineHeight:(0,te.unit)(Qe.itemLineHeight)},[`${ve}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,te.unit)(Be),marginBlock:mt}},[`${ve}-prefix`]:{marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Qe.basePadding).equal()},[`${Xe}-item + ${Xe}-item,
|
|
|
${ve}-prefix + ${ve}-selection-wrap
|
|
|
`]:{[`${ve}-selection-search`]:{marginInlineStart:0},[`${ve}-selection-placeholder`]:{insetInlineStart:0}},[`${Xe}-item-suffix`]:{minHeight:Qe.itemHeight,marginBlock:mt},[`${ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Ie).equal(),"\n &-input,\n &-mirror\n ":{height:Be,fontFamily:de.fontFamily,lineHeight:(0,te.unit)(Be),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"}},[`${ve}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Qe.basePadding).equal(),insetInlineEnd:de.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${de.motionDurationSlow}`}})}};function Ue(de,Ve){const{componentCls:ve}=de,mt=Ve?`${ve}-${Ve}`:"",Xe={[`${ve}-multiple${mt}`]:{fontSize:de.fontSize,[`${ve}-selector`]:{[`${ve}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${ve}-show-arrow ${ve}-selector,
|
|
|
&${ve}-allow-clear ${ve}-selector
|
|
|
`]:{paddingInlineEnd:de.calc(de.fontSizeIcon).add(de.controlPaddingHorizontal).equal()}}};return[Me(de,Ve),Xe]}const Ee=de=>{const{componentCls:Ve}=de,ve=(0,ge.mergeToken)(de,{selectHeight:de.controlHeightSM,multipleSelectItemHeight:de.multipleItemHeightSM,borderRadius:de.borderRadiusSM,borderRadiusSM:de.borderRadiusXS}),mt=(0,ge.mergeToken)(de,{fontSize:de.fontSizeLG,selectHeight:de.controlHeightLG,multipleSelectItemHeight:de.multipleItemHeightLG,borderRadius:de.borderRadiusLG,borderRadiusSM:de.borderRadius});return[Ue(de),Ue(ve,"sm"),{[`${Ve}-multiple${Ve}-sm`]:{[`${Ve}-selection-placeholder`]:{insetInline:de.calc(de.controlPaddingHorizontalSM).sub(de.lineWidth).equal()},[`${Ve}-selection-search`]:{marginInlineStart:2}}},Ue(mt,"lg")]};Ot.ZP=Ee},68525:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});var te=oe(59301),Ke=oe(40001),ge=oe(19248),ze=oe(99267),Ce=oe(84105),xe=oe(58617),Me=oe(47472);function Ue(Ee){let{suffixIcon:de,clearIcon:Ve,menuItemSelectedIcon:ve,removeIcon:mt,loading:Xe,multiple:Be,hasFeedback:Ie,prefixCls:Le,showSuffixIcon:Qe,feedbackIcon:ht,showArrow:wt,componentName:ct}=Ee;const $e=Ve!=null?Ve:te.createElement(ge.Z,null),qe=He=>de===null&&!Ie&&!wt?null:te.createElement(te.Fragment,null,Qe!==!1&&He,Ie&&ht);let je=null;if(de!==void 0)je=qe(de);else if(Xe)je=qe(te.createElement(xe.Z,{spin:!0}));else{const He=`${Le}-suffix`;je=ot=>{let{open:Te,showSearch:it}=ot;return qe(Te&&it?te.createElement(Me.Z,{className:He}):te.createElement(Ce.Z,{className:He}))}}let bt=null;ve!==void 0?bt=ve:Be?bt=te.createElement(Ke.Z,null):bt=null;let Je=null;return mt!==void 0?Je=mt:Je=te.createElement(ze.Z,null),{clearIcon:$e,suffixIcon:je,itemIcon:bt,removeIcon:Je}}},90005:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return te}});function te(Ke,ge){return ge!==void 0?ge:Ke!==null}},58755:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Et}});var te=oe(59301),Ke=oe(58617),ge=oe(92310),ze=oe.n(ge),Ce=oe(54476),xe=oe(20068),Me=oe(42978),Ue=oe(75931),Ee=oe(18929),de=oe(10228),Ve=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ve=te.forwardRef(function(De,It){var zt,Se=De.prefixCls,fe=Se===void 0?"rc-switch":Se,pt=De.className,Zt=De.checked,St=De.defaultChecked,Re=De.disabled,at=De.loadingIcon,vt=De.checkedChildren,sn=De.unCheckedChildren,dt=De.onClick,Bt=De.onChange,Ne=De.onKeyDown,Pt=(0,Ue.Z)(De,Ve),st=(0,Ee.Z)(!1,{value:Zt,defaultValue:St}),ae=(0,Me.Z)(st,2),ee=ae[0],z=ae[1];function ie(ye,rt){var Ae=ee;return Re||(Ae=ye,z(Ae),Bt==null||Bt(Ae,rt)),Ae}function se(ye){ye.which===de.Z.LEFT?ie(!1,ye):ye.which===de.Z.RIGHT&&ie(!0,ye),Ne==null||Ne(ye)}function re(ye){var rt=ie(!ee,ye);dt==null||dt(rt,ye)}var me=ze()(fe,pt,(zt={},(0,xe.Z)(zt,"".concat(fe,"-checked"),ee),(0,xe.Z)(zt,"".concat(fe,"-disabled"),Re),zt));return te.createElement("button",(0,Ce.Z)({},Pt,{type:"button",role:"switch","aria-checked":ee,disabled:Re,className:me,ref:It,onKeyDown:se,onClick:re}),at,te.createElement("span",{className:"".concat(fe,"-inner")},te.createElement("span",{className:"".concat(fe,"-inner-checked")},vt),te.createElement("span",{className:"".concat(fe,"-inner-unchecked")},sn)))});ve.displayName="Switch";var mt=ve,Xe=oe(12919),Be=oe(48755),Ie=oe(2171),Le=oe(31756),Qe=oe(36237),ht=oe(17835),wt=oe(63356),ct=oe(16931),$e=oe(51636);const qe=De=>{const{componentCls:It,trackHeightSM:zt,trackPadding:Se,trackMinWidthSM:fe,innerMinMarginSM:pt,innerMaxMarginSM:Zt,handleSizeSM:St,calc:Re}=De,at=`${It}-inner`,vt=(0,Qe.unit)(Re(St).add(Re(Se).mul(2)).equal()),sn=(0,Qe.unit)(Re(Zt).mul(2).equal());return{[It]:{[`&${It}-small`]:{minWidth:fe,height:zt,lineHeight:(0,Qe.unit)(zt),[`${It}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:pt,[`${at}-checked, ${at}-unchecked`]:{minHeight:zt},[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${vt} - ${sn})`,marginInlineEnd:`calc(100% - ${vt} + ${sn})`},[`${at}-unchecked`]:{marginTop:Re(zt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${It}-handle`]:{width:St,height:St},[`${It}-loading-icon`]:{top:Re(Re(St).sub(De.switchLoadingIconSize)).div(2).equal(),fontSize:De.switchLoadingIconSize},[`&${It}-checked`]:{[`${It}-inner`]:{paddingInlineStart:pt,paddingInlineEnd:Zt,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${vt} + ${sn})`,marginInlineEnd:`calc(-100% + ${vt} - ${sn})`}},[`${It}-handle`]:{insetInlineStart:`calc(100% - ${(0,Qe.unit)(Re(St).add(Se).equal())})`}},[`&:not(${It}-disabled):active`]:{[`&:not(${It}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:Re(De.marginXXS).div(2).equal(),marginInlineEnd:Re(De.marginXXS).mul(-1).div(2).equal()}},[`&${It}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:Re(De.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Re(De.marginXXS).div(2).equal()}}}}}}},je=De=>{const{componentCls:It,handleSize:zt,calc:Se}=De;return{[It]:{[`${It}-loading-icon${De.iconCls}`]:{position:"relative",top:Se(Se(zt).sub(De.fontSize)).div(2).equal(),color:De.switchLoadingIconColor,verticalAlign:"top"},[`&${It}-checked ${It}-loading-icon`]:{color:De.switchColor}}}},bt=De=>{const{componentCls:It,trackPadding:zt,handleBg:Se,handleShadow:fe,handleSize:pt,calc:Zt}=De,St=`${It}-handle`;return{[It]:{[St]:{position:"absolute",top:zt,insetInlineStart:zt,width:pt,height:pt,transition:`all ${De.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Se,borderRadius:Zt(pt).div(2).equal(),boxShadow:fe,transition:`all ${De.switchDuration} ease-in-out`,content:'""'}},[`&${It}-checked ${St}`]:{insetInlineStart:`calc(100% - ${(0,Qe.unit)(Zt(pt).add(zt).equal())})`},[`&:not(${It}-disabled):active`]:{[`${St}::before`]:{insetInlineEnd:De.switchHandleActiveInset,insetInlineStart:0},[`&${It}-checked ${St}::before`]:{insetInlineEnd:0,insetInlineStart:De.switchHandleActiveInset}}}}},Je=De=>{const{componentCls:It,trackHeight:zt,trackPadding:Se,innerMinMargin:fe,innerMaxMargin:pt,handleSize:Zt,calc:St}=De,Re=`${It}-inner`,at=(0,Qe.unit)(St(Zt).add(St(Se).mul(2)).equal()),vt=(0,Qe.unit)(St(pt).mul(2).equal());return{[It]:{[Re]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:pt,paddingInlineEnd:fe,transition:`padding-inline-start ${De.switchDuration} ease-in-out, padding-inline-end ${De.switchDuration} ease-in-out`,[`${Re}-checked, ${Re}-unchecked`]:{display:"block",color:De.colorTextLightSolid,fontSize:De.fontSizeSM,transition:`margin-inline-start ${De.switchDuration} ease-in-out, margin-inline-end ${De.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:zt},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${at} - ${vt})`,marginInlineEnd:`calc(100% - ${at} + ${vt})`},[`${Re}-unchecked`]:{marginTop:St(zt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${It}-checked ${Re}`]:{paddingInlineStart:fe,paddingInlineEnd:pt,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${at} + ${vt})`,marginInlineEnd:`calc(-100% + ${at} - ${vt})`}},[`&:not(${It}-disabled):active`]:{[`&:not(${It}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:St(Se).mul(2).equal(),marginInlineEnd:St(Se).mul(-1).mul(2).equal()}},[`&${It}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:St(Se).mul(-1).mul(2).equal(),marginInlineEnd:St(Se).mul(2).equal()}}}}}},He=De=>{const{componentCls:It,trackHeight:zt,trackMinWidth:Se}=De;return{[It]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(De)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Se,height:zt,lineHeight:(0,Qe.unit)(zt),verticalAlign:"middle",background:De.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${De.motionDurationMid}`,userSelect:"none",[`&:hover:not(${It}-disabled)`]:{background:De.colorTextTertiary}}),(0,wt.Qy)(De)),{[`&${It}-checked`]:{background:De.switchColor,[`&:hover:not(${It}-disabled)`]:{background:De.colorPrimaryHover}},[`&${It}-loading, &${It}-disabled`]:{cursor:"not-allowed",opacity:De.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${It}-rtl`]:{direction:"rtl"}})}},ot=De=>{const{fontSize:It,lineHeight:zt,controlHeight:Se,colorWhite:fe}=De,pt=It*zt,Zt=Se/2,St=2,Re=pt-St*2,at=Zt-St*2;return{trackHeight:pt,trackHeightSM:Zt,trackMinWidth:Re*2+St*4,trackMinWidthSM:at*2+St*2,trackPadding:St,handleBg:fe,handleSize:Re,handleSizeSM:at,handleShadow:`0 2px 4px 0 ${new ht.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Re/2,innerMaxMargin:Re+St+St*2,innerMinMarginSM:at/2,innerMaxMarginSM:at+St+St*2}};var Te=(0,ct.I$)("Switch",De=>{const It=(0,$e.mergeToken)(De,{switchDuration:De.motionDurationMid,switchColor:De.colorPrimary,switchDisabledOpacity:De.opacityLoading,switchLoadingIconSize:De.calc(De.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${De.opacityLoading})`,switchHandleActiveInset:"-30%"});return[He(It),Je(It),bt(It),je(It),qe(It)]},ot),it=function(De,It){var zt={};for(var Se in De)Object.prototype.hasOwnProperty.call(De,Se)&&It.indexOf(Se)<0&&(zt[Se]=De[Se]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Se=Object.getOwnPropertySymbols(De);fe<Se.length;fe++)It.indexOf(Se[fe])<0&&Object.prototype.propertyIsEnumerable.call(De,Se[fe])&&(zt[Se[fe]]=De[Se[fe]]);return zt};const he=te.forwardRef((De,It)=>{const{prefixCls:zt,size:Se,disabled:fe,loading:pt,className:Zt,rootClassName:St,style:Re,checked:at,value:vt,defaultChecked:sn,defaultValue:dt,onChange:Bt}=De,Ne=it(De,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Pt,st]=(0,Ee.Z)(!1,{value:at!=null?at:vt,defaultValue:sn!=null?sn:dt}),{getPrefixCls:ae,direction:ee,switch:z}=te.useContext(Be.E_),ie=te.useContext(Ie.Z),se=(fe!=null?fe:ie)||pt,re=ae("switch",zt),me=te.createElement("div",{className:`${re}-handle`},pt&&te.createElement(Ke.Z,{className:`${re}-loading-icon`})),[ye,rt,Ae]=Te(re),Ze=(0,Le.Z)(Se),tt=ze()(z==null?void 0:z.className,{[`${re}-small`]:Ze==="small",[`${re}-loading`]:pt,[`${re}-rtl`]:ee==="rtl"},Zt,St,rt,Ae),gt=Object.assign(Object.assign({},z==null?void 0:z.style),Re),lt=function(){st(arguments.length<=0?void 0:arguments[0]),Bt==null||Bt.apply(void 0,arguments)};return ye(te.createElement(Xe.Z,{component:"Switch"},te.createElement(mt,Object.assign({},Ne,{checked:Pt,onChange:lt,prefixCls:re,className:tt,style:gt,disabled:se,ref:It,loadingIcon:me}))))});he.__ANT_SWITCH=!0;var Et=he},99498:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){te.defineOption("placeholder","",function(Ue,Ee,de){var Ve=de&&de!=te.Init;if(Ee&&!Ve)Ue.on("blur",Ce),Ue.on("change",xe),Ue.on("swapDoc",xe),te.on(Ue.getInputField(),"compositionupdate",Ue.state.placeholderCompose=function(){ze(Ue)}),xe(Ue);else if(!Ee&&Ve){Ue.off("blur",Ce),Ue.off("change",xe),Ue.off("swapDoc",xe),te.off(Ue.getInputField(),"compositionupdate",Ue.state.placeholderCompose),Ke(Ue);var ve=Ue.getWrapperElement();ve.className=ve.className.replace(" CodeMirror-empty","")}Ee&&!Ue.hasFocus()&&Ce(Ue)});function Ke(Ue){Ue.state.placeholder&&(Ue.state.placeholder.parentNode.removeChild(Ue.state.placeholder),Ue.state.placeholder=null)}function ge(Ue){Ke(Ue);var Ee=Ue.state.placeholder=document.createElement("pre");Ee.style.cssText="height: 0; overflow: visible",Ee.style.direction=Ue.getOption("direction"),Ee.className="CodeMirror-placeholder CodeMirror-line-like";var de=Ue.getOption("placeholder");typeof de=="string"&&(de=document.createTextNode(de)),Ee.appendChild(de),Ue.display.lineSpace.insertBefore(Ee,Ue.display.lineSpace.firstChild)}function ze(Ue){setTimeout(function(){var Ee=!1,de=Ue.getInputField();de.nodeName=="TEXTAREA"?Ee=!de.value:Ue.lineCount()==1&&(Ee=!/[^\u200b]/.test(de.querySelector(".CodeMirror-line").textContent)),Ee?ge(Ue):Ke(Ue)},20)}function Ce(Ue){Me(Ue)&&ge(Ue)}function xe(Ue){var Ee=Ue.getWrapperElement(),de=Me(Ue);Ee.className=Ee.className.replace(" CodeMirror-empty","")+(de?" CodeMirror-empty":""),de?ge(Ue):Ke(Ue)}function Me(Ue){return Ue.lineCount()===1&&Ue.getLine(0)===""}})},25717:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){var Ke={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ge=te.Pos;te.defineOption("autoCloseBrackets",!1,function(Be,Ie,Le){Le&&Le!=te.Init&&(Be.removeKeyMap(Ce),Be.state.closeBrackets=null),Ie&&(xe(ze(Ie,"pairs")),Be.state.closeBrackets=Ie,Be.addKeyMap(Ce))});function ze(Be,Ie){return Ie=="pairs"&&typeof Be=="string"?Be:typeof Be=="object"&&Be[Ie]!=null?Be[Ie]:Ke[Ie]}var Ce={Backspace:Ee,Enter:de};function xe(Be){for(var Ie=0;Ie<Be.length;Ie++){var Le=Be.charAt(Ie),Qe="'"+Le+"'";Ce[Qe]||(Ce[Qe]=Me(Le))}}xe(Ke.pairs+"`");function Me(Be){return function(Ie){return ve(Ie,Be)}}function Ue(Be){var Ie=Be.state.closeBrackets;if(!Ie||Ie.override)return Ie;var Le=Be.getModeAt(Be.getCursor());return Le.closeBrackets||Ie}function Ee(Be){var Ie=Ue(Be);if(!Ie||Be.getOption("disableInput"))return te.Pass;for(var Le=ze(Ie,"pairs"),Qe=Be.listSelections(),ht=0;ht<Qe.length;ht++){if(!Qe[ht].empty())return te.Pass;var wt=mt(Be,Qe[ht].head);if(!wt||Le.indexOf(wt)%2!=0)return te.Pass}for(var ht=Qe.length-1;ht>=0;ht--){var ct=Qe[ht].head;Be.replaceRange("",ge(ct.line,ct.ch-1),ge(ct.line,ct.ch+1),"+delete")}}function de(Be){var Ie=Ue(Be),Le=Ie&&ze(Ie,"explode");if(!Le||Be.getOption("disableInput"))return te.Pass;for(var Qe=Be.listSelections(),ht=0;ht<Qe.length;ht++){if(!Qe[ht].empty())return te.Pass;var wt=mt(Be,Qe[ht].head);if(!wt||Le.indexOf(wt)%2!=0)return te.Pass}Be.operation(function(){var ct=Be.lineSeparator()||`
|
|
|
`;Be.replaceSelection(ct+ct,null),Be.execCommand("goCharLeft"),Qe=Be.listSelections();for(var $e=0;$e<Qe.length;$e++){var qe=Qe[$e].head.line;Be.indentLine(qe,null,!0),Be.indentLine(qe+1,null,!0)}})}function Ve(Be){var Ie=te.cmpPos(Be.anchor,Be.head)>0;return{anchor:new ge(Be.anchor.line,Be.anchor.ch+(Ie?-1:1)),head:new ge(Be.head.line,Be.head.ch+(Ie?1:-1))}}function ve(Be,Ie){var Le=Ue(Be);if(!Le||Be.getOption("disableInput"))return te.Pass;var Qe=ze(Le,"pairs"),ht=Qe.indexOf(Ie);if(ht==-1)return te.Pass;for(var wt=ze(Le,"closeBefore"),ct=ze(Le,"triples"),$e=Qe.charAt(ht+1)==Ie,qe=Be.listSelections(),je=ht%2==0,bt,Je=0;Je<qe.length;Je++){var He=qe[Je],ot=He.head,Te,it=Be.getRange(ot,ge(ot.line,ot.ch+1));if(je&&!He.empty())Te="surround";else if(($e||!je)&&it==Ie)$e&&Xe(Be,ot)?Te="both":ct.indexOf(Ie)>=0&&Be.getRange(ot,ge(ot.line,ot.ch+3))==Ie+Ie+Ie?Te="skipThree":Te="skip";else if($e&&ot.ch>1&&ct.indexOf(Ie)>=0&&Be.getRange(ge(ot.line,ot.ch-2),ot)==Ie+Ie){if(ot.ch>2&&/\bstring/.test(Be.getTokenTypeAt(ge(ot.line,ot.ch-2))))return te.Pass;Te="addFour"}else if($e){var et=ot.ch==0?" ":Be.getRange(ge(ot.line,ot.ch-1),ot);if(!te.isWordChar(it)&&et!=Ie&&!te.isWordChar(et))Te="both";else return te.Pass}else if(je&&(it.length===0||/\s/.test(it)||wt.indexOf(it)>-1))Te="both";else return te.Pass;if(!bt)bt=Te;else if(bt!=Te)return te.Pass}var he=ht%2?Qe.charAt(ht-1):Ie,Et=ht%2?Ie:Qe.charAt(ht+1);Be.operation(function(){if(bt=="skip")Be.execCommand("goCharRight");else if(bt=="skipThree")for(var De=0;De<3;De++)Be.execCommand("goCharRight");else if(bt=="surround"){for(var It=Be.getSelections(),De=0;De<It.length;De++)It[De]=he+It[De]+Et;Be.replaceSelections(It,"around"),It=Be.listSelections().slice();for(var De=0;De<It.length;De++)It[De]=Ve(It[De]);Be.setSelections(It)}else bt=="both"?(Be.replaceSelection(he+Et,null),Be.triggerElectric(he+Et),Be.execCommand("goCharLeft")):bt=="addFour"&&(Be.replaceSelection(he+he+he+he,"before"),Be.execCommand("goCharRight"))})}function mt(Be,Ie){var Le=Be.getRange(ge(Ie.line,Ie.ch-1),ge(Ie.line,Ie.ch+1));return Le.length==2?Le:null}function Xe(Be,Ie){var Le=Be.getTokenAt(ge(Ie.line,Ie.ch+1));return/\bstring/.test(Le.type)&&Le.start==Ie.ch&&(Ie.ch==0||!/\bstring/.test(Be.getTokenTypeAt(Ie)))}})},6313:function(Vt,Ot,oe){(function(te){te(oe(89780),oe(32855))})(function(te){te.defineOption("autoCloseTags",!1,function(Ee,de,Ve){if(Ve!=te.Init&&Ve&&Ee.removeKeyMap("autoCloseTags"),!!de){var ve={name:"autoCloseTags"};(typeof de!="object"||de.whenClosing!==!1)&&(ve["'/'"]=function(mt){return xe(mt)}),(typeof de!="object"||de.whenOpening!==!1)&&(ve["'>'"]=function(mt){return ze(mt)}),Ee.addKeyMap(ve)}});var Ke=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ge=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function ze(Ee){if(Ee.getOption("disableInput"))return te.Pass;for(var de=Ee.listSelections(),Ve=[],ve=Ee.getOption("autoCloseTags"),mt=0;mt<de.length;mt++){if(!de[mt].empty())return te.Pass;var Xe=de[mt].head,Be=Ee.getTokenAt(Xe),Ie=te.innerMode(Ee.getMode(),Be.state),Le=Ie.state,Qe=Ie.mode.xmlCurrentTag&&Ie.mode.xmlCurrentTag(Le),ht=Qe&&Qe.name;if(!ht)return te.Pass;var wt=Ie.mode.configuration=="html",ct=typeof ve=="object"&&ve.dontCloseTags||wt&&Ke,$e=typeof ve=="object"&&ve.indentTags||wt&≥Be.end>Xe.ch&&(ht=ht.slice(0,ht.length-Be.end+Xe.ch));var qe=ht.toLowerCase();if(!ht||Be.type=="string"&&(Be.end!=Xe.ch||!/[\"\']/.test(Be.string.charAt(Be.string.length-1))||Be.string.length==1)||Be.type=="tag"&&Qe.close||Be.string.indexOf("/")==Xe.ch-Be.start-1||ct&&Me(ct,qe)>-1||Ue(Ee,Ie.mode.xmlCurrentContext&&Ie.mode.xmlCurrentContext(Le)||[],ht,Xe,!0))return te.Pass;var je=typeof ve=="object"&&ve.emptyTags;if(je&&Me(je,ht)>-1){Ve[mt]={text:"/>",newPos:te.Pos(Xe.line,Xe.ch+2)};continue}var bt=$e&&Me($e,qe)>-1;Ve[mt]={indent:bt,text:">"+(bt?`
|
|
|
|
|
|
`:"")+"</"+ht+">",newPos:bt?te.Pos(Xe.line+1,0):te.Pos(Xe.line,Xe.ch+1)}}for(var Je=typeof ve=="object"&&ve.dontIndentOnAutoClose,mt=de.length-1;mt>=0;mt--){var He=Ve[mt];Ee.replaceRange(He.text,de[mt].head,de[mt].anchor,"+insert");var ot=Ee.listSelections().slice(0);ot[mt]={head:He.newPos,anchor:He.newPos},Ee.setSelections(ot),!Je&&He.indent&&(Ee.indentLine(He.newPos.line,null,!0),Ee.indentLine(He.newPos.line+1,null,!0))}}function Ce(Ee,de){for(var Ve=Ee.listSelections(),ve=[],mt=de?"/":"</",Xe=Ee.getOption("autoCloseTags"),Be=typeof Xe=="object"&&Xe.dontIndentOnSlash,Ie=0;Ie<Ve.length;Ie++){if(!Ve[Ie].empty())return te.Pass;var Le=Ve[Ie].head,Qe=Ee.getTokenAt(Le),ht=te.innerMode(Ee.getMode(),Qe.state),wt=ht.state;if(de&&(Qe.type=="string"||Qe.string.charAt(0)!="<"||Qe.start!=Le.ch-1))return te.Pass;var ct,$e=ht.mode.name!="xml"&&Ee.getMode().name=="htmlmixed";if($e&&ht.mode.name=="javascript")ct=mt+"script";else if($e&&ht.mode.name=="css")ct=mt+"style";else{var qe=ht.mode.xmlCurrentContext&&ht.mode.xmlCurrentContext(wt);if(!qe||qe.length&&Ue(Ee,qe,qe[qe.length-1],Le))return te.Pass;ct=mt+qe[qe.length-1]}Ee.getLine(Le.line).charAt(Qe.end)!=">"&&(ct+=">"),ve[Ie]=ct}if(Ee.replaceSelections(ve),Ve=Ee.listSelections(),!Be)for(var Ie=0;Ie<Ve.length;Ie++)(Ie==Ve.length-1||Ve[Ie].head.line<Ve[Ie+1].head.line)&&Ee.indentLine(Ve[Ie].head.line)}function xe(Ee){return Ee.getOption("disableInput")?te.Pass:Ce(Ee,!0)}te.commands.closeTag=function(Ee){return Ce(Ee)};function Me(Ee,de){if(Ee.indexOf)return Ee.indexOf(de);for(var Ve=0,ve=Ee.length;Ve<ve;++Ve)if(Ee[Ve]==de)return Ve;return-1}function Ue(Ee,de,Ve,ve,mt){if(!te.scanForClosingTag)return!1;var Xe=Math.min(Ee.lastLine()+1,ve.line+500),Be=te.scanForClosingTag(Ee,ve,null,Xe);if(!Be||Be.tag!=Ve)return!1;for(var Ie=mt?1:0,Le=de.length-1;Le>=0&&de[Le]==Ve;Le--)++Ie;ve=Be.to;for(var Le=1;Le<Ie;Le++){var Qe=te.scanForClosingTag(Ee,ve,null,Xe);if(!Qe||Qe.tag!=Ve)return!1;ve=Qe.to}return!0}})},32855:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){"use strict";var Ke=te.Pos;function ge(Le,Qe){return Le.line-Qe.line||Le.ch-Qe.ch}var ze="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ce=ze+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("<(/?)(["+ze+"]["+Ce+"]*)","g");function Me(Le,Qe,ht,wt){this.line=Qe,this.ch=ht,this.cm=Le,this.text=Le.getLine(Qe),this.min=wt?Math.max(wt.from,Le.firstLine()):Le.firstLine(),this.max=wt?Math.min(wt.to-1,Le.lastLine()):Le.lastLine()}function Ue(Le,Qe){var ht=Le.cm.getTokenTypeAt(Ke(Le.line,Qe));return ht&&/\btag\b/.test(ht)}function Ee(Le){if(!(Le.line>=Le.max))return Le.ch=0,Le.text=Le.cm.getLine(++Le.line),!0}function de(Le){if(!(Le.line<=Le.min))return Le.text=Le.cm.getLine(--Le.line),Le.ch=Le.text.length,!0}function Ve(Le){for(;;){var Qe=Le.text.indexOf(">",Le.ch);if(Qe==-1){if(Ee(Le))continue;return}if(!Ue(Le,Qe+1)){Le.ch=Qe+1;continue}var ht=Le.text.lastIndexOf("/",Qe),wt=ht>-1&&!/\S/.test(Le.text.slice(ht+1,Qe));return Le.ch=Qe+1,wt?"selfClose":"regular"}}function ve(Le){for(;;){var Qe=Le.ch?Le.text.lastIndexOf("<",Le.ch-1):-1;if(Qe==-1){if(de(Le))continue;return}if(!Ue(Le,Qe+1)){Le.ch=Qe;continue}xe.lastIndex=Qe,Le.ch=Qe;var ht=xe.exec(Le.text);if(ht&&ht.index==Qe)return ht}}function mt(Le){for(;;){xe.lastIndex=Le.ch;var Qe=xe.exec(Le.text);if(!Qe){if(Ee(Le))continue;return}if(!Ue(Le,Qe.index+1)){Le.ch=Qe.index+1;continue}return Le.ch=Qe.index+Qe[0].length,Qe}}function Xe(Le){for(;;){var Qe=Le.ch?Le.text.lastIndexOf(">",Le.ch-1):-1;if(Qe==-1){if(de(Le))continue;return}if(!Ue(Le,Qe+1)){Le.ch=Qe;continue}var ht=Le.text.lastIndexOf("/",Qe),wt=ht>-1&&!/\S/.test(Le.text.slice(ht+1,Qe));return Le.ch=Qe+1,wt?"selfClose":"regular"}}function Be(Le,Qe){for(var ht=[];;){var wt=mt(Le),ct,$e=Le.line,qe=Le.ch-(wt?wt[0].length:0);if(!wt||!(ct=Ve(Le)))return;if(ct!="selfClose")if(wt[1]){for(var je=ht.length-1;je>=0;--je)if(ht[je]==wt[2]){ht.length=je;break}if(je<0&&(!Qe||Qe==wt[2]))return{tag:wt[2],from:Ke($e,qe),to:Ke(Le.line,Le.ch)}}else ht.push(wt[2])}}function Ie(Le,Qe){for(var ht=[];;){var wt=Xe(Le);if(!wt)return;if(wt=="selfClose"){ve(Le);continue}var ct=Le.line,$e=Le.ch,qe=ve(Le);if(!qe)return;if(qe[1])ht.push(qe[2]);else{for(var je=ht.length-1;je>=0;--je)if(ht[je]==qe[2]){ht.length=je;break}if(je<0&&(!Qe||Qe==qe[2]))return{tag:qe[2],from:Ke(Le.line,Le.ch),to:Ke(ct,$e)}}}}te.registerHelper("fold","xml",function(Le,Qe){for(var ht=new Me(Le,Qe.line,0);;){var wt=mt(ht);if(!wt||ht.line!=Qe.line)return;var ct=Ve(ht);if(!ct)return;if(!wt[1]&&ct!="selfClose"){var $e=Ke(ht.line,ht.ch),qe=Be(ht,wt[2]);return qe&&ge(qe.from,$e)>0?{from:$e,to:qe.from}:null}}}),te.findMatchingTag=function(Le,Qe,ht){var wt=new Me(Le,Qe.line,Qe.ch,ht);if(!(wt.text.indexOf(">")==-1&&wt.text.indexOf("<")==-1)){var ct=Ve(wt),$e=ct&&Ke(wt.line,wt.ch),qe=ct&&ve(wt);if(!(!ct||!qe||ge(wt,Qe)>0)){var je={from:Ke(wt.line,wt.ch),to:$e,tag:qe[2]};return ct=="selfClose"?{open:je,close:null,at:"open"}:qe[1]?{open:Ie(wt,qe[2]),close:je,at:"close"}:(wt=new Me(Le,$e.line,$e.ch,ht),{open:je,close:Be(wt,qe[2]),at:"open"})}}},te.findEnclosingTag=function(Le,Qe,ht,wt){for(var ct=new Me(Le,Qe.line,Qe.ch,ht);;){var $e=Ie(ct,wt);if(!$e)break;var qe=new Me(Le,Qe.line,Qe.ch,ht),je=Be(qe,$e.tag);if(je)return{open:$e,close:je}}},te.scanForClosingTag=function(Le,Qe,ht,wt){var ct=new Me(Le,Qe.line,Qe.ch,wt?{from:0,to:wt}:null);return Be(ct,ht)}})},89780:function(Vt){(function(Ot,oe){Vt.exports=oe()})(this,function(){"use strict";var Ot=navigator.userAgent,oe=navigator.platform,te=/gecko\/\d/i.test(Ot),Ke=/MSIE \d/.test(Ot),ge=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ot),ze=/Edge\/(\d+)/.exec(Ot),Ce=Ke||ge||ze,xe=Ce&&(Ke?document.documentMode||6:+(ze||ge)[1]),Me=!ze&&/WebKit\//.test(Ot),Ue=Me&&/Qt\/\d+\.\d+/.test(Ot),Ee=!ze&&/Chrome\//.test(Ot),de=/Opera\//.test(Ot),Ve=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Ot),mt=/PhantomJS/.test(Ot),Xe=!ze&&/AppleWebKit/.test(Ot)&&/Mobile\/\w+/.test(Ot),Be=/Android/.test(Ot),Ie=Xe||Be||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Ot),Le=Xe||/Mac/.test(oe),Qe=/\bCrOS\b/.test(Ot),ht=/win/i.test(oe),wt=de&&Ot.match(/Version\/(\d*\.\d*)/);wt&&(wt=Number(wt[1])),wt&&wt>=15&&(de=!1,Me=!0);var ct=Le&&(Ue||de&&(wt==null||wt<12.11)),$e=te||Ce&&xe>=9;function qe(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var je=function(a,y){var x=a.className,b=qe(y).exec(x);if(b){var E=x.slice(b.index+b[0].length);a.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function bt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Je(a,y){return bt(a).appendChild(y)}function He(a,y,x,b){var E=document.createElement(a);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof y=="string")E.appendChild(document.createTextNode(y));else if(y)for(var ne=0;ne<y.length;++ne)E.appendChild(y[ne]);return E}function ot(a,y,x,b){var E=He(a,y,x,b);return E.setAttribute("role","presentation"),E}var Te;document.createRange?Te=function(a,y,x,b){var E=document.createRange();return E.setEnd(b||a,x),E.setStart(a,y),E}:Te=function(a,y,x){var b=document.body.createTextRange();try{b.moveToElementText(a.parentNode)}catch(E){return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",y),b};function it(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function et(){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 he(a,y){var x=a.className;qe(y).test(x)||(a.className+=(x?" ":"")+y)}function Et(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!qe(x[b]).test(y)&&(y+=" "+x[b]);return y}var De=function(a){a.select()};Xe?De=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Ce&&(De=function(a){try{a.select()}catch(y){}});function It(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function zt(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 Se(a,y,x,b,E){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ne=b||0,le=E||0;;){var ue=a.indexOf(" ",ne);if(ue<0||ue>=y)return le+(y-ne);le+=ue-ne,le+=x-le%x,ne=ue+1}}var fe=function(){this.id=null,this.f=null,this.time=0,this.handler=It(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 pt(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var Zt=50,St={toString:function(){return"CodeMirror.Pass"}},Re={scroll:!1},at={origin:"*mouse"},vt={origin:"+move"};function sn(a,y,x){for(var b=0,E=0;;){var ne=a.indexOf(" ",b);ne==-1&&(ne=a.length);var le=ne-b;if(ne==a.length||E+le>=y)return b+Math.min(le,y-E);if(E+=ne-b,E+=x-E%x,b=ne+1,E>=y)return b}}var dt=[""];function Bt(a){for(;dt.length<=a;)dt.push(Ne(dt)+" ");return dt[a]}function Ne(a){return a[a.length-1]}function Pt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function st(a,y,x){for(var b=0,E=x(y);b<a.length&&x(a[b])<=E;)b++;a.splice(b,0,y)}function ae(){}function ee(a,y){var x;return Object.create?x=Object.create(a):(ae.prototype=a,x=new ae),y&&zt(y,x),x}var z=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ie(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||z.test(a))}function se(a,y){return y?y.source.indexOf("\\w")>-1&&ie(a)?!0:y.test(a):ie(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var me=/[\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&&me.test(a)}function rt(a,y,x){for(;(x<0?y>0:y<a.length)&&ye(a.charAt(y));)y+=x;return y}function Ae(a,y,x){for(var b=y>x?-1:1;;){if(y==x)return y;var E=(y+x)/2,ne=b<0?Math.ceil(E):Math.floor(E);if(ne==y)return a(ne)?y:x;a(ne)?x=ne:y=ne+b}}function Ze(a,y,x,b){if(!a)return b(y,x,"ltr",0);for(var E=!1,ne=0;ne<a.length;++ne){var le=a[ne];(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",ne),E=!0)}E||b(y,x,"ltr")}var tt=null;function gt(a,y,x){var b;tt=null;for(var E=0;E<a.length;++E){var ne=a[E];if(ne.from<y&&ne.to>y)return E;ne.to==y&&(ne.from!=ne.to&&x=="before"?b=E:tt=E),ne.from==y&&(ne.from!=ne.to&&x!="before"?b=E:tt=E)}return b!=null?b:tt}var lt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(pe){return pe<=247?a.charAt(pe):1424<=pe&&pe<=1524?"R":1536<=pe&&pe<=1785?y.charAt(pe-1536):1774<=pe&&pe<=2220?"r":8192<=pe&&pe<=8203?"w":pe==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,ne=/[LRr]/,le=/[Lb1n]/,ue=/[1n]/;function ce(pe,We,Ge){this.level=pe,this.from=We,this.to=Ge}return function(pe,We){var Ge=We=="ltr"?"L":"R";if(pe.length==0||We=="ltr"&&!b.test(pe))return!1;for(var At=pe.length,Ct=[],Kt=0;Kt<At;++Kt)Ct.push(x(pe.charCodeAt(Kt)));for(var cn=0,bn=Ge;cn<At;++cn){var Ln=Ct[cn];Ln=="m"?Ct[cn]=bn:bn=Ln}for(var Wn=0,In=Ge;Wn<At;++Wn){var Zn=Ct[Wn];Zn=="1"&&In=="r"?Ct[Wn]="n":ne.test(Zn)&&(In=Zn,Zn=="r"&&(Ct[Wn]="R"))}for(var sr=1,nr=Ct[0];sr<At-1;++sr){var Sr=Ct[sr];Sr=="+"&&nr=="1"&&Ct[sr+1]=="1"?Ct[sr]="1":Sr==","&&nr==Ct[sr+1]&&(nr=="1"||nr=="n")&&(Ct[sr]=nr),nr=Sr}for(var Vr=0;Vr<At;++Vr){var li=Ct[Vr];if(li==",")Ct[Vr]="N";else if(li=="%"){var Kr=void 0;for(Kr=Vr+1;Kr<At&&Ct[Kr]=="%";++Kr);for(var ki=Vr&&Ct[Vr-1]=="!"||Kr<At&&Ct[Kr]=="1"?"1":"N",Ai=Vr;Ai<Kr;++Ai)Ct[Ai]=ki;Vr=Kr-1}}for(var _r=0,Ei=Ge;_r<At;++_r){var di=Ct[_r];Ei=="L"&&di=="1"?Ct[_r]="L":ne.test(di)&&(Ei=di)}for(var ii=0;ii<At;++ii)if(E.test(Ct[ii])){var ei=void 0;for(ei=ii+1;ei<At&&E.test(Ct[ei]);++ei);for(var Xr=(ii?Ct[ii-1]:Ge)=="L",Bi=(ei<At?Ct[ei]:Ge)=="L",Go=Xr==Bi?Xr?"L":"R":Ge,bo=ii;bo<ei;++bo)Ct[bo]=Go;ii=ei-1}for(var pi=[],eo,si=0;si<At;)if(le.test(Ct[si])){var bl=si;for(++si;si<At&&le.test(Ct[si]);++si);pi.push(new ce(0,bl,si))}else{var oo=si,Io=pi.length,Po=We=="rtl"?1:0;for(++si;si<At&&Ct[si]!="L";++si);for(var bi=oo;bi<si;)if(ue.test(Ct[bi])){oo<bi&&(pi.splice(Io,0,new ce(1,oo,bi)),Io+=Po);var Yo=bi;for(++bi;bi<si&&ue.test(Ct[bi]);++bi);pi.splice(Io,0,new ce(2,Yo,bi)),Io+=Po,oo=bi}else++bi;oo<si&&pi.splice(Io,0,new ce(1,oo,si))}return We=="ltr"&&(pi[0].level==1&&(eo=pe.match(/^\s+/))&&(pi[0].from=eo[0].length,pi.unshift(new ce(0,0,eo[0].length))),Ne(pi).level==1&&(eo=pe.match(/\s+$/))&&(Ne(pi).to-=eo[0].length,pi.push(new ce(0,At-eo[0].length,At)))),We=="rtl"?pi.reverse():pi}}();function Ft(a,y){var x=a.order;return x==null&&(x=a.order=lt(a.text,y)),x}var Nt=[],Mt=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]||Nt).concat(x)}};function Jt(a,y){return a._handlers&&a._handlers[y]||Nt}function Wt(a,y,x){if(a.removeEventListener)a.removeEventListener(y,x,!1);else if(a.detachEvent)a.detachEvent("on"+y,x);else{var b=a._handlers,E=b&&b[y];if(E){var ne=pt(E,x);ne>-1&&(b[y]=E.slice(0,ne).concat(E.slice(ne+1)))}}}function Gt(a,y){var x=Jt(a,y);if(x.length)for(var b=Array.prototype.slice.call(arguments,2),E=0;E<x.length;++E)x[E].apply(null,b)}function ft(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Gt(a,x||y.type,a,y),fn(y)||y.codemirrorIgnore}function Ht(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)pt(x,y[b])==-1&&x.push(y[b])}function Dt(a,y){return Jt(a,y).length>0}function Rt(a){a.prototype.on=function(y,x){Mt(this,y,x)},a.prototype.off=function(y,x){Wt(this,y,x)}}function nn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Cn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function fn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Pe(a){nn(a),Cn(a)}function _e(a){return a.target||a.srcElement}function nt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Le&&a.ctrlKey&&y==1&&(y=3),y}var kt=function(){if(Ce&&xe<9)return!1;var a=He("div");return"draggable"in a||"dragDrop"in a}(),$t;function un(a){if($t==null){var y=He("span","\u200B");Je(a,He("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&($t=y.offsetWidth<=1&&y.offsetHeight>2&&!(Ce&&xe<8))}var x=$t?He("span","\u200B"):He("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var On;function Pn(a){if(On!=null)return On;var y=Je(a,document.createTextNode("A\u062EA")),x=Te(y,0,1).getBoundingClientRect(),b=Te(y,1,2).getBoundingClientRect();return bt(a),!x||x.left==x.right?!1:On=b.right-x.right<3}var an=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,x=[],b=a.length;y<=b;){var E=a.indexOf(`
|
|
|
`,y);E==-1&&(E=a.length);var ne=a.slice(y,a.charAt(E-1)=="\r"?E-1:E),le=ne.indexOf("\r");le!=-1?(x.push(ne.slice(0,le)),y+=le+1):(x.push(ne),y=E+1)}return x}:function(a){return a.split(/\r\n?|\n/)},yn=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(x){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},mn=function(){var a=He("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Un=null;function vn(a){if(Un!=null)return Un;var y=Je(a,He("span","x")),x=y.getBoundingClientRect(),b=Te(y,0,1).getBoundingClientRect();return Un=Math.abs(x.left-b.left)>1}var Bn={},ln={};function xn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Bn[a]=y}function dn(a,y){ln[a]=y}function Mn(a){if(typeof a=="string"&&ln.hasOwnProperty(a))a=ln[a];else if(a&&typeof a.name=="string"&&ln.hasOwnProperty(a.name)){var y=ln[a.name];typeof y=="string"&&(y={name:y}),a=ee(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Mn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Mn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Gn(a,y){y=Mn(y);var x=Bn[y.name];if(!x)return Gn(a,"text/plain");var b=x(a,y);if(zn.hasOwnProperty(y.name)){var E=zn[y.name];for(var ne in E)E.hasOwnProperty(ne)&&(b.hasOwnProperty(ne)&&(b["_"+ne]=b[ne]),b[ne]=E[ne])}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 zn={};function Tn(a,y){var x=zn.hasOwnProperty(a)?zn[a]:zn[a]={};zt(y,x)}function Yn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var x={};for(var b in y){var E=y[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function Xn(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 jn=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};jn.prototype.eol=function(){return this.pos>=this.string.length},jn.prototype.sol=function(){return this.pos==this.lineStart},jn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},jn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},jn.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},jn.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},jn.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},jn.prototype.skipToEnd=function(){this.pos=this.string.length},jn.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},jn.prototype.backUp=function(a){this.pos-=a},jn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Se(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Se(this.string,this.lineStart,this.tabSize):0)},jn.prototype.indentation=function(){return Se(this.string,null,this.tabSize)-(this.lineStart?Se(this.string,this.lineStart,this.tabSize):0)},jn.prototype.match=function(a,y,x){if(typeof a=="string"){var b=function(le){return x?le.toLowerCase():le},E=this.string.substr(this.pos,a.length);if(b(E)==b(a))return y!==!1&&(this.pos+=a.length),!0}else{var ne=this.string.slice(this.pos).match(a);return ne&&ne.index>0?null:(ne&&y!==!1&&(this.pos+=ne[0].length),ne)}},jn.prototype.current=function(){return this.string.slice(this.start,this.pos)},jn.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},jn.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},jn.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Lt(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var x=a;!x.lines;)for(var b=0;;++b){var E=x.children[b],ne=E.chunkSize();if(y<ne){x=E;break}y-=ne}return x.lines[y]}function Xt(a,y,x){var b=[],E=y.line;return a.iter(y.line,x.line+1,function(ne){var le=ne.text;E==x.line&&(le=le.slice(0,x.ch)),E==y.line&&(le=le.slice(y.ch)),b.push(le),++E}),b}function kn(a,y,x){var b=[];return a.iter(y,x,function(E){b.push(E.text)}),b}function Qn(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function ke(a){if(a.parent==null)return null;for(var y=a.parent,x=pt(y.lines,a),b=y.parent;b;y=b,b=b.parent)for(var E=0;b.children[E]!=y;++E)x+=b.children[E].chunkSize();return x+y.first}function Ye(a,y){var x=a.first;e:do{for(var b=0;b<a.children.length;++b){var E=a.children[b],ne=E.height;if(y<ne){a=E;continue e}y-=ne,x+=E.chunkSize()}return x}while(!a.lines);for(var le=0;le<a.lines.length;++le){var ue=a.lines[le],ce=ue.height;if(y<ce)break;y-=ce}return x+le}function be(a,y){return y>=a.first&&y<a.first+a.size}function Oe(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function we(a,y,x){if(x===void 0&&(x=null),!(this instanceof we))return new we(a,y,x);this.line=a,this.ch=y,this.sticky=x}function Fe(a,y){return a.line-y.line||a.ch-y.ch}function ut(a,y){return a.sticky==y.sticky&&Fe(a,y)==0}function Ut(a){return we(a.line,a.ch)}function Yt(a,y){return Fe(a,y)<0?y:a}function rn(a,y){return Fe(a,y)<0?a:y}function Tt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function xt(a,y){if(y.line<a.first)return we(a.first,0);var x=a.first+a.size-1;return y.line>x?we(x,Lt(a,x).text.length):yt(y,Lt(a,y.line).text.length)}function yt(a,y){var x=a.ch;return x==null||x>y?we(a.line,y):x<0?we(a.line,0):a}function Qt(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=xt(a,y[b]);return x}var gn=function(a,y){this.state=a,this.lookAhead=y},hn=function(a,y,x,b){this.state=y,this.doc=a,this.line=x,this.maxLookAhead=b||0,this.baseTokens=null,this.baseTokenPos=1};hn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},hn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},hn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},hn.fromSaved=function(a,y,x){return y instanceof gn?new hn(a,Yn(a.mode,y.state),x,y.lookAhead):new hn(a,Yn(a.mode,y),x)},hn.prototype.save=function(a){var y=a!==!1?Yn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gn(y,this.maxLookAhead):y};function pn(a,y,x,b){var E=[a.state.modeGen],ne={};_n(a,y.text,a.doc.mode,x,function(pe,We){return E.push(pe,We)},ne,b);for(var le=x.state,ue=function(pe){x.baseTokens=E;var We=a.state.overlays[pe],Ge=1,At=0;x.state=!0,_n(a,y.text,We.mode,x,function(Ct,Kt){for(var cn=Ge;At<Ct;){var bn=E[Ge];bn>Ct&&E.splice(Ge,1,Ct,E[Ge+1],bn),Ge+=2,At=Math.min(Ct,bn)}if(Kt)if(We.opaque)E.splice(cn,Ge-cn,Ct,"overlay "+Kt),Ge=cn+2;else for(;cn<Ge;cn+=2){var Ln=E[cn+1];E[cn+1]=(Ln?Ln+" ":"")+"overlay "+Kt}},ne),x.state=le,x.baseTokens=null,x.baseTokenPos=1},ce=0;ce<a.state.overlays.length;++ce)ue(ce);return{styles:E,classes:ne.bgClass||ne.textClass?ne:null}}function Vn(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=Jn(a,ke(y)),E=y.text.length>a.options.maxHighlightLength&&Yn(a.doc.mode,b.state),ne=pn(a,y,b);E&&(b.state=E),y.stateAfter=b.save(!E),y.styles=ne.styles,ne.classes?y.styleClasses=ne.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,E=a.display;if(!b.mode.startState)return new hn(b,!0,y);var ne=lr(a,y,x),le=ne>b.first&&Lt(b,ne-1).stateAfter,ue=le?hn.fromSaved(b,le,ne):new hn(b,$n(b.mode),ne);return b.iter(ne,y,function(ce){qn(a,ce.text,ue);var pe=ue.line;ce.stateAfter=pe==y-1||pe%5==0||pe>=E.viewFrom&&pe<E.viewTo?ue.save():null,ue.nextLine()}),x&&(b.modeFrontier=ue.line),ue}function qn(a,y,x,b){var E=a.doc.mode,ne=new jn(y,a.options.tabSize,x);for(ne.start=ne.pos=b||0,y==""&&Nn(E,x.state);!ne.eol();)An(E,ne,x.state),ne.start=ne.pos}function Nn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=Xn(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function An(a,y,x,b){for(var E=0;E<10;E++){b&&(b[0]=Xn(a,x).mode);var ne=a.token(y,x);if(y.pos>y.start)return ne}throw new Error("Mode "+a.name+" failed to advance stream.")}var Dn=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function Hn(a,y,x,b){var E=a.doc,ne=E.mode,le;y=xt(E,y);var ue=Lt(E,y.line),ce=Jn(a,y.line,x),pe=new jn(ue.text,a.options.tabSize,ce),We;for(b&&(We=[]);(b||pe.pos<y.ch)&&!pe.eol();)pe.start=pe.pos,le=An(ne,pe,ce.state),b&&We.push(new Dn(pe,le,Yn(E.mode,ce.state)));return b?We:new Dn(pe,le,ce.state)}function ur(a,y){if(a)for(;;){var x=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!x)break;a=a.slice(0,x.index)+a.slice(x.index+x[0].length);var b=x[1]?"bgClass":"textClass";y[b]==null?y[b]=x[2]:new RegExp("(?:^|\\s)"+x[2]+"(?:$|\\s)").test(y[b])||(y[b]+=" "+x[2])}return a}function _n(a,y,x,b,E,ne,le){var ue=x.flattenSpans;ue==null&&(ue=a.options.flattenSpans);var ce=0,pe=null,We=new jn(y,a.options.tabSize,b),Ge,At=a.options.addModeClass&&[null];for(y==""&&ur(Nn(x,b.state),ne);!We.eol();){if(We.pos>a.options.maxHighlightLength?(ue=!1,le&&qn(a,y,b,We.pos),We.pos=y.length,Ge=null):Ge=ur(An(x,We,b.state,At),ne),At){var Ct=At[0].name;Ct&&(Ge="m-"+(Ge?Ct+" "+Ge:Ct))}if(!ue||pe!=Ge){for(;ce<We.start;)ce=Math.min(We.start,ce+5e3),E(ce,pe);pe=Ge}We.start=We.pos}for(;ce<We.pos;){var Kt=Math.min(We.pos,ce+5e3);E(Kt,pe),ce=Kt}}function lr(a,y,x){for(var b,E,ne=a.doc,le=x?-1:y-(a.doc.mode.innerMode?1e3:100),ue=y;ue>le;--ue){if(ue<=ne.first)return ne.first;var ce=Lt(ne,ue-1),pe=ce.stateAfter;if(pe&&(!x||ue+(pe instanceof gn?pe.lookAhead:0)<=ne.modeFrontier))return ue;var We=Se(ce.text,null,a.options.tabSize);(E==null||b>We)&&(E=ue-1,b=We)}return E}function ir(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var x=a.first,b=y-1;b>x;b--){var E=Lt(a,b).stateAfter;if(E&&(!(E instanceof gn)||b+E.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var er=!1,tr=!1;function vr(){er=!0}function mr(){tr=!0}function cr(a,y,x){this.marker=a,this.from=y,this.to=x}function gr(a,y){if(a)for(var x=0;x<a.length;++x){var b=a[x];if(b.marker==y)return b}}function xr(a,y){for(var x,b=0;b<a.length;++b)a[b]!=y&&(x||(x=[])).push(a[b]);return x}function or(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function dr(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ne=a[E],le=ne.marker,ue=ne.from==null||(le.inclusiveLeft?ne.from<=y:ne.from<y);if(ue||ne.from==y&&le.type=="bookmark"&&(!x||!ne.marker.insertLeft)){var ce=ne.to==null||(le.inclusiveRight?ne.to>=y:ne.to>y);(b||(b=[])).push(new cr(le,ne.from,ce?null:ne.to))}}return b}function Rn(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ne=a[E],le=ne.marker,ue=ne.to==null||(le.inclusiveRight?ne.to>=y:ne.to>y);if(ue||ne.from==y&&le.type=="bookmark"&&(!x||ne.marker.insertLeft)){var ce=ne.from==null||(le.inclusiveLeft?ne.from<=y:ne.from<y);(b||(b=[])).push(new cr(le,ce?null:ne.from-y,ne.to==null?null:ne.to-y))}}return b}function wr(a,y){if(y.full)return null;var x=be(a,y.from.line)&&Lt(a,y.from.line).markedSpans,b=be(a,y.to.line)&&Lt(a,y.to.line).markedSpans;if(!x&&!b)return null;var E=y.from.ch,ne=y.to.ch,le=Fe(y.from,y.to)==0,ue=dr(x,E,le),ce=Rn(b,ne,le),pe=y.text.length==1,We=Ne(y.text).length+(pe?E:0);if(ue)for(var Ge=0;Ge<ue.length;++Ge){var At=ue[Ge];if(At.to==null){var Ct=gr(ce,At.marker);Ct?pe&&(At.to=Ct.to==null?null:Ct.to+We):At.to=E}}if(ce)for(var Kt=0;Kt<ce.length;++Kt){var cn=ce[Kt];if(cn.to!=null&&(cn.to+=We),cn.from==null){var bn=gr(ue,cn.marker);bn||(cn.from=We,pe&&(ue||(ue=[])).push(cn))}else cn.from+=We,pe&&(ue||(ue=[])).push(cn)}ue&&(ue=Nr(ue)),ce&&ce!=ue&&(ce=Nr(ce));var Ln=[ue];if(!pe){var Wn=y.text.length-2,In;if(Wn>0&&ue)for(var Zn=0;Zn<ue.length;++Zn)ue[Zn].to==null&&(In||(In=[])).push(new cr(ue[Zn].marker,null,null));for(var sr=0;sr<Wn;++sr)Ln.push(In);Ln.push(ce)}return Ln}function Nr(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 Zr(a,y,x){var b=null;if(a.iter(y.line,x.line+1,function(Ct){if(Ct.markedSpans)for(var Kt=0;Kt<Ct.markedSpans.length;++Kt){var cn=Ct.markedSpans[Kt].marker;cn.readOnly&&(!b||pt(b,cn)==-1)&&(b||(b=[])).push(cn)}}),!b)return null;for(var E=[{from:y,to:x}],ne=0;ne<b.length;++ne)for(var le=b[ne],ue=le.find(0),ce=0;ce<E.length;++ce){var pe=E[ce];if(!(Fe(pe.to,ue.from)<0||Fe(pe.from,ue.to)>0)){var We=[ce,1],Ge=Fe(pe.from,ue.from),At=Fe(pe.to,ue.to);(Ge<0||!le.inclusiveLeft&&!Ge)&&We.push({from:pe.from,to:ue.from}),(At>0||!le.inclusiveRight&&!At)&&We.push({from:ue.to,to:pe.to}),E.splice.apply(E,We),ce+=We.length-3}}return E}function Ar(a){var y=a.markedSpans;if(y){for(var x=0;x<y.length;++x)y[x].marker.detachLine(a);a.markedSpans=null}}function Fr(a,y){if(y){for(var x=0;x<y.length;++x)y[x].marker.attachLine(a);a.markedSpans=y}}function Er(a){return a.inclusiveLeft?-1:0}function Dr(a){return a.inclusiveRight?1:0}function Rr(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),E=y.find(),ne=Fe(b.from,E.from)||Er(a)-Er(y);if(ne)return-ne;var le=Fe(b.to,E.to)||Dr(a)-Dr(y);return le||y.id-a.id}function fr(a,y){var x=tr&&a.markedSpans,b;if(x)for(var E=void 0,ne=0;ne<x.length;++ne)E=x[ne],E.marker.collapsed&&(y?E.from:E.to)==null&&(!b||Rr(b,E.marker)<0)&&(b=E.marker);return b}function Kn(a){return fr(a,!0)}function qt(a){return fr(a,!1)}function on(a,y){var x=tr&&a.markedSpans,b;if(x)for(var E=0;E<x.length;++E){var ne=x[E];ne.marker.collapsed&&(ne.from==null||ne.from<y)&&(ne.to==null||ne.to>y)&&(!b||Rr(b,ne.marker)<0)&&(b=ne.marker)}return b}function tn(a,y,x,b,E){var ne=Lt(a,y),le=tr&&ne.markedSpans;if(le)for(var ue=0;ue<le.length;++ue){var ce=le[ue];if(ce.marker.collapsed){var pe=ce.marker.find(0),We=Fe(pe.from,x)||Er(ce.marker)-Er(E),Ge=Fe(pe.to,b)||Dr(ce.marker)-Dr(E);if(!(We>=0&&Ge<=0||We<=0&&Ge>=0)&&(We<=0&&(ce.marker.inclusiveRight&&E.inclusiveLeft?Fe(pe.to,x)>=0:Fe(pe.to,x)>0)||We>=0&&(ce.marker.inclusiveRight&&E.inclusiveLeft?Fe(pe.from,b)<=0:Fe(pe.from,b)<0)))return!0}}}function jt(a){for(var y;y=Kn(a);)a=y.find(-1,!0).line;return a}function En(a){for(var y;y=qt(a);)a=y.find(1,!0).line;return a}function Fn(a){for(var y,x;y=qt(a);)a=y.find(1,!0).line,(x||(x=[])).push(a);return x}function _t(a,y){var x=Lt(a,y),b=jt(x);return x==b?y:ke(b)}function en(a,y){if(y>a.lastLine())return y;var x=Lt(a,y),b;if(!wn(a,x))return y;for(;b=qt(x);)x=b.find(1,!0).line;return ke(x)+1}function wn(a,y){var x=tr&&y.markedSpans;if(x){for(var b=void 0,E=0;E<x.length;++E)if(b=x[E],!!b.marker.collapsed){if(b.from==null)return!0;if(!b.marker.widgetNode&&b.from==0&&b.marker.inclusiveLeft&&Sn(a,y,b))return!0}}}function Sn(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return Sn(a,b.line,gr(b.line.markedSpans,x.marker))}if(x.marker.inclusiveRight&&x.to==y.text.length)return!0;for(var E=void 0,ne=0;ne<y.markedSpans.length;++ne)if(E=y.markedSpans[ne],E.marker.collapsed&&!E.marker.widgetNode&&E.from==x.to&&(E.to==null||E.to!=x.from)&&(E.marker.inclusiveLeft||x.marker.inclusiveRight)&&Sn(a,y,E))return!0}function rr(a){a=jt(a);for(var y=0,x=a.parent,b=0;b<x.lines.length;++b){var E=x.lines[b];if(E==a)break;y+=E.height}for(var ne=x.parent;ne;x=ne,ne=x.parent)for(var le=0;le<ne.children.length;++le){var ue=ne.children[le];if(ue==x)break;y+=ue.height}return y}function Br(a){if(a.height==0)return 0;for(var y=a.text.length,x,b=a;x=Kn(b);){var E=x.find(0,!0);b=E.from.line,y+=E.from.ch-E.to.ch}for(b=a;x=qt(b);){var ne=x.find(0,!0);y-=b.text.length-ne.from.ch,b=ne.to.line,y+=b.text.length-ne.to.ch}return y}function br(a){var y=a.display,x=a.doc;y.maxLine=Lt(x,x.first),y.maxLineLength=Br(y.maxLine),y.maxLineChanged=!0,x.iter(function(b){var E=Br(b);E>y.maxLineLength&&(y.maxLineLength=E,y.maxLine=b)})}var Pr=function(a,y,x){this.text=a,Fr(this,y),this.height=x?x(this):1};Pr.prototype.lineNo=function(){return ke(this)},Rt(Pr);function Lr(a,y,x,b){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Ar(a),Fr(a,x);var E=b?b(a):1;E!=a.height&&Qn(a,E)}function Mr(a){a.parent=null,Ar(a)}var zr={},kr={};function Ur(a,y){if(!a||/^\s*$/.test(a))return null;var x=y.addModeClass?kr:zr;return x[a]||(x[a]=a.replace(/\S+/g,"cm-$&"))}function ti(a,y){var x=ot("span",null,null,Me?"padding-right: .1px":null),b={pre:ot("pre",[x],"CodeMirror-line"),content:x,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var E=0;E<=(y.rest?y.rest.length:0);E++){var ne=E?y.rest[E-1]:y.line,le=void 0;b.pos=0,b.addToken=Wi,Pn(a.display.measure)&&(le=Ft(ne,a.doc.direction))&&(b.addToken=mi(b.addToken,le)),b.map=[];var ue=y!=a.display.externalMeasured&&ke(ne);Or(ne,b,Vn(a,ne,ue)),ne.styleClasses&&(ne.styleClasses.bgClass&&(b.bgClass=Et(ne.styleClasses.bgClass,b.bgClass||"")),ne.styleClasses.textClass&&(b.textClass=Et(ne.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(un(a.display.measure))),E==0?(y.measure.map=b.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(b.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Me){var ce=b.content.lastChild;(/\bcm-tab\b/.test(ce.className)||ce.querySelector&&ce.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return Gt(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=Et(b.pre.className,b.textClass||"")),b}function Li(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 Wi(a,y,x,b,E,ne,le){if(y){var ue=a.splitSpaces?Ci(y,a.trailingSpace):y,ce=a.cm.state.specialChars,pe=!1,We;if(!ce.test(y))a.col+=y.length,We=document.createTextNode(ue),a.map.push(a.pos,a.pos+y.length,We),Ce&&xe<9&&(pe=!0),a.pos+=y.length;else{We=document.createDocumentFragment();for(var Ge=0;;){ce.lastIndex=Ge;var At=ce.exec(y),Ct=At?At.index-Ge:y.length-Ge;if(Ct){var Kt=document.createTextNode(ue.slice(Ge,Ge+Ct));Ce&&xe<9?We.appendChild(He("span",[Kt])):We.appendChild(Kt),a.map.push(a.pos,a.pos+Ct,Kt),a.col+=Ct,a.pos+=Ct}if(!At)break;Ge+=Ct+1;var cn=void 0;if(At[0]==" "){var bn=a.cm.options.tabSize,Ln=bn-a.col%bn;cn=We.appendChild(He("span",Bt(Ln),"cm-tab")),cn.setAttribute("role","presentation"),cn.setAttribute("cm-text"," "),a.col+=Ln}else At[0]=="\r"||At[0]==`
|
|
|
`?(cn=We.appendChild(He("span",At[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),cn.setAttribute("cm-text",At[0]),a.col+=1):(cn=a.cm.options.specialCharPlaceholder(At[0]),cn.setAttribute("cm-text",At[0]),Ce&&xe<9?We.appendChild(He("span",[cn])):We.appendChild(cn),a.col+=1);a.map.push(a.pos,a.pos+1,cn),a.pos++}}if(a.trailingSpace=ue.charCodeAt(y.length-1)==32,x||b||E||pe||ne||le){var Wn=x||"";b&&(Wn+=b),E&&(Wn+=E);var In=He("span",[We],Wn,ne);if(le)for(var Zn in le)le.hasOwnProperty(Zn)&&Zn!="style"&&Zn!="class"&&In.setAttribute(Zn,le[Zn]);return a.content.appendChild(In)}a.content.appendChild(We)}}function Ci(a,y){if(a.length>1&&!/ /.test(a))return a;for(var x=y,b="",E=0;E<a.length;E++){var ne=a.charAt(E);ne==" "&&x&&(E==a.length-1||a.charCodeAt(E+1)==32)&&(ne="\xA0"),b+=ne,x=ne==" "}return b}function mi(a,y){return function(x,b,E,ne,le,ue,ce){E=E?E+" cm-force-border":"cm-force-border";for(var pe=x.pos,We=pe+b.length;;){for(var Ge=void 0,At=0;At<y.length&&(Ge=y[At],!(Ge.to>pe&&Ge.from<=pe));At++);if(Ge.to>=We)return a(x,b,E,ne,le,ue,ce);a(x,b.slice(0,Ge.to-pe),E,ne,null,ue,ce),ne=null,b=b.slice(Ge.to-pe),pe=Ge.to}}}function Qi(a,y,x,b){var E=!b&&x.widgetNode;E&&a.map.push(a.pos,a.pos+y,E),!b&&a.cm.display.input.needsContentAttribute&&(E||(E=a.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(a.cm.display.input.setUneditable(E),a.content.appendChild(E)),a.pos+=y,a.trailingSpace=!1}function Or(a,y,x){var b=a.markedSpans,E=a.text,ne=0;if(!b){for(var le=1;le<x.length;le+=2)y.addToken(y,E.slice(ne,ne=x[le]),Ur(x[le+1],y.cm.options));return}for(var ue=E.length,ce=0,pe=1,We="",Ge,At,Ct=0,Kt,cn,bn,Ln,Wn;;){if(Ct==ce){Kt=cn=bn=At="",Wn=null,Ln=null,Ct=1/0;for(var In=[],Zn=void 0,sr=0;sr<b.length;++sr){var nr=b[sr],Sr=nr.marker;if(Sr.type=="bookmark"&&nr.from==ce&&Sr.widgetNode)In.push(Sr);else if(nr.from<=ce&&(nr.to==null||nr.to>ce||Sr.collapsed&&nr.to==ce&&nr.from==ce)){if(nr.to!=null&&nr.to!=ce&&Ct>nr.to&&(Ct=nr.to,cn=""),Sr.className&&(Kt+=" "+Sr.className),Sr.css&&(At=(At?At+";":"")+Sr.css),Sr.startStyle&&nr.from==ce&&(bn+=" "+Sr.startStyle),Sr.endStyle&&nr.to==Ct&&(Zn||(Zn=[])).push(Sr.endStyle,nr.to),Sr.title&&((Wn||(Wn={})).title=Sr.title),Sr.attributes)for(var Vr in Sr.attributes)(Wn||(Wn={}))[Vr]=Sr.attributes[Vr];Sr.collapsed&&(!Ln||Rr(Ln.marker,Sr)<0)&&(Ln=nr)}else nr.from>ce&&Ct>nr.from&&(Ct=nr.from)}if(Zn)for(var li=0;li<Zn.length;li+=2)Zn[li+1]==Ct&&(cn+=" "+Zn[li]);if(!Ln||Ln.from==ce)for(var Kr=0;Kr<In.length;++Kr)Qi(y,0,In[Kr]);if(Ln&&(Ln.from||0)==ce){if(Qi(y,(Ln.to==null?ue+1:Ln.to)-ce,Ln.marker,Ln.from==null),Ln.to==null)return;Ln.to==ce&&(Ln=!1)}}if(ce>=ue)break;for(var ki=Math.min(ue,Ct);;){if(We){var Ai=ce+We.length;if(!Ln){var _r=Ai>ki?We.slice(0,ki-ce):We;y.addToken(y,_r,Ge?Ge+Kt:Kt,bn,ce+_r.length==Ct?cn:"",At,Wn)}if(Ai>=ki){We=We.slice(ki-ce),ce=ki;break}ce=Ai,bn=""}We=E.slice(ne,ne=x[pe++]),Ge=Ur(x[pe++],y.cm.options)}}}function to(a,y,x){this.line=y,this.rest=Fn(y),this.size=this.rest?ke(Ne(this.rest))-x+1:1,this.node=this.text=null,this.hidden=wn(a,y)}function ni(a,y,x){for(var b=[],E,ne=y;ne<x;ne=E){var le=new to(a.doc,Lt(a.doc,ne),ne);E=ne+le.size,b.push(le)}return b}var Oi=null;function ao(a){Oi?Oi.ops.push(a):a.ownsGroup=Oi={ops:[a],delayedCallbacks:[]}}function Ji(a){var y=a.delayedCallbacks,x=0;do{for(;x<y.length;x++)y[x].call(null);for(var b=0;b<a.ops.length;b++){var E=a.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<y.length)}function gi(a,y){var x=a.ownsGroup;if(x)try{Ji(x)}finally{Oi=null,y(x)}}var Fi=null;function Gr(a,y){var x=Jt(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;Oi?E=Oi.delayedCallbacks:Fi?E=Fi:(E=Fi=[],setTimeout(Ri,0));for(var ne=function(ue){E.push(function(){return x[ue].apply(null,b)})},le=0;le<x.length;++le)ne(le)}}function Ri(){var a=Fi;Fi=null;for(var y=0;y<a.length;++y)a[y]()}function lo(a,y,x,b){for(var E=0;E<y.changes.length;E++){var ne=y.changes[E];ne=="text"?so(a,y):ne=="gutter"?yr(a,y,x,b):ne=="class"?ar(a,y):ne=="widget"&&hr(a,y,b)}y.changes=null}function ji(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),Ce&&xe<8&&(a.node.style.zIndex=2)),a.node}function $r(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=ji(y);y.background=b.insertBefore(He("div",null,x),b.firstChild),a.display.input.setUneditable(y.background)}}function Co(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=Co(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,ar(a,y)):x&&(y.text.className=x)}function ar(a,y){$r(a,y),y.line.wrapClass?ji(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 yr(a,y,x,b){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var E=ji(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),E.insertBefore(y.gutterBackground,y.text)}var ne=y.line.gutterMarkers;if(a.options.lineNumbers||ne){var le=ji(y),ue=y.gutter=He("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px");if(a.display.input.setUneditable(ue),le.insertBefore(ue,y.text),y.line.gutterClass&&(ue.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ne||!ne["CodeMirror-linenumbers"])&&(y.lineNumber=ue.appendChild(He("div",Oe(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ne)for(var ce=0;ce<a.display.gutterSpecs.length;++ce){var pe=a.display.gutterSpecs[ce].className,We=ne.hasOwnProperty(pe)&&ne[pe];We&&ue.appendChild(He("div",[We],"CodeMirror-gutter-elt","left: "+b.gutterLeft[pe]+"px; width: "+b.gutterWidth[pe]+"px"))}}}function hr(a,y,x){y.alignable&&(y.alignable=null);for(var b=qe("CodeMirror-linewidget"),E=y.node.firstChild,ne=void 0;E;E=ne)ne=E.nextSibling,b.test(E.className)&&y.node.removeChild(E);Tr(a,y,x)}function pr(a,y,x,b){var E=Co(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),ar(a,y),yr(a,y,x,b),Tr(a,y,b),y.node}function Tr(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,E){if(y.widgets)for(var ne=ji(x),le=0,ue=y.widgets;le<ue.length;++le){var ce=ue[le],pe=He("div",[ce.node],"CodeMirror-linewidget"+(ce.className?" "+ce.className:""));ce.handleMouseEvents||pe.setAttribute("cm-ignore-events","true"),Vi(ce,pe,x,b),a.display.input.setUneditable(pe),E&&ce.above?ne.insertBefore(pe,x.gutter||x.text):ne.appendChild(pe),Gr(ce,"redraw")}}function Vi(a,y,x,b){if(a.noHScroll){(x.alignable||(x.alignable=[])).push(y);var E=b.wrapperWidth;y.style.left=b.fixedPos+"px",a.coverGutter||(E-=b.gutterTotalWidth,y.style.paddingLeft=b.gutterTotalWidth+"px"),y.style.width=E+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-b.gutterTotalWidth+"px"))}function vi(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!it(document.body,a.node)){var x="position: relative;";a.coverGutter&&(x+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(x+="width: "+y.display.wrapper.clientWidth+"px;"),Je(y.display.measure,He("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function ui(a,y){for(var x=_e(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 Qr(a){return a.lineSpace.offsetTop}function zi(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function qi(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Je(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 Ii(a){return Zt-a.display.nativeBarWidth}function $i(a){return a.display.scroller.clientWidth-Ii(a)-a.display.barWidth}function no(a){return a.display.scroller.clientHeight-Ii(a)-a.display.barHeight}function Ui(a,y,x){var b=a.options.lineWrapping,E=b&&$i(a);if(!y.measure.heights||b&&y.measure.width!=E){var ne=y.measure.heights=[];if(b){y.measure.width=E;for(var le=y.text.firstChild.getClientRects(),ue=0;ue<le.length-1;ue++){var ce=le[ue],pe=le[ue+1];Math.abs(ce.bottom-pe.bottom)>2&&ne.push((ce.bottom+pe.top)/2-x.top)}}ne.push(x.bottom-x.top)}}function Do(a,y,x){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var b=0;b<a.rest.length;b++)if(a.rest[b]==y)return{map:a.measure.maps[b],cache:a.measure.caches[b]};for(var E=0;E<a.rest.length;E++)if(ke(a.rest[E])>x)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function Ua(a,y){y=jt(y);var x=ke(y),b=a.display.externalMeasured=new to(a.doc,y,x);b.lineN=x;var E=b.built=ti(a,b);return b.text=E.pre,Je(a.display.lineMeasure,E.pre),b}function ya(a,y,x,b){return Hi(a,uo(a,y),x,b)}function _i(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[So(a,y)];var x=a.display.externalMeasured;if(x&&y>=x.lineN&&y<x.lineN+x.size)return x}function uo(a,y){var x=ke(y),b=_i(a,x);b&&!b.text?b=null:b&&b.changes&&(lo(a,b,x,co(a)),a.curOp.forceUpdate=!0),b||(b=Ua(a,y));var E=Do(b,y,x);return{line:y,view:b,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function Hi(a,y,x,b,E){y.before&&(x=-1);var ne=x+(b||""),le;return y.cache.hasOwnProperty(ne)?le=y.cache[ne]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ui(a,y.view,y.rect),y.hasHeights=!0),le=xa(a,y,x,b),le.bogus||(y.cache[ne]=le)),{left:le.left,right:le.right,top:E?le.rtop:le.top,bottom:E?le.rbottom:le.bottom}}var ba={left:0,right:0,top:0,bottom:0};function Ca(a,y,x){for(var b,E,ne,le,ue,ce,pe=0;pe<a.length;pe+=3)if(ue=a[pe],ce=a[pe+1],y<ue?(E=0,ne=1,le="left"):y<ce?(E=y-ue,ne=E+1):(pe==a.length-3||y==ce&&a[pe+3]>y)&&(ne=ce-ue,E=ne-1,y>=ce&&(le="right")),E!=null){if(b=a[pe+2],ue==ce&&x==(b.insertLeft?"left":"right")&&(le=x),x=="left"&&E==0)for(;pe&&a[pe-2]==a[pe-3]&&a[pe-1].insertLeft;)b=a[(pe-=3)+2],le="left";if(x=="right"&&E==ce-ue)for(;pe<a.length-3&&a[pe+3]==a[pe+4]&&!a[pe+5].insertLeft;)b=a[(pe+=3)+2],le="right";break}return{node:b,start:E,end:ne,collapse:le,coverStart:ue,coverEnd:ce}}function Ga(a,y){var x=ba;if(y=="left")for(var b=0;b<a.length&&(x=a[b]).left==x.right;b++);else for(var E=a.length-1;E>=0&&(x=a[E]).left==x.right;E--);return x}function xa(a,y,x,b){var E=Ca(y.map,x,b),ne=E.node,le=E.start,ue=E.end,ce=E.collapse,pe;if(ne.nodeType==3){for(var We=0;We<4;We++){for(;le&&ye(y.line.text.charAt(E.coverStart+le));)--le;for(;E.coverStart+ue<E.coverEnd&&ye(y.line.text.charAt(E.coverStart+ue));)++ue;if(Ce&&xe<9&&le==0&&ue==E.coverEnd-E.coverStart?pe=ne.parentNode.getBoundingClientRect():pe=Ga(Te(ne,le,ue).getClientRects(),b),pe.left||pe.right||le==0)break;ue=le,le=le-1,ce="right"}Ce&&xe<11&&(pe=Ya(a.display.measure,pe))}else{le>0&&(ce=b="right");var Ge;a.options.lineWrapping&&(Ge=ne.getClientRects()).length>1?pe=Ge[b=="right"?Ge.length-1:0]:pe=ne.getBoundingClientRect()}if(Ce&&xe<9&&!le&&(!pe||!pe.left&&!pe.right)){var At=ne.parentNode.getClientRects()[0];At?pe={left:At.left,right:At.left+Yi(a.display),top:At.top,bottom:At.bottom}:pe=ba}for(var Ct=pe.top-y.rect.top,Kt=pe.bottom-y.rect.top,cn=(Ct+Kt)/2,bn=y.view.measure.heights,Ln=0;Ln<bn.length-1&&!(cn<bn[Ln]);Ln++);var Wn=Ln?bn[Ln-1]:0,In=bn[Ln],Zn={left:(ce=="right"?pe.right:pe.left)-y.rect.left,right:(ce=="left"?pe.left:pe.right)-y.rect.left,top:Wn,bottom:In};return!pe.left&&!pe.right&&(Zn.bogus=!0),a.options.singleCursorHeightPerLine||(Zn.rtop=Ct,Zn.rbottom=Kt),Zn}function Ya(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!vn(a))return y;var x=screen.logicalXDPI/screen.deviceXDPI,b=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*x,right:y.right*x,top:y.top*b,bottom:y.bottom*b}}function Ko(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Xo(a){a.display.externalMeasure=null,bt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Ko(a.display.view[y])}function xo(a){Xo(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Qo(){return Ee&&Be?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wa(){return Ee&&Be?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Jo(a){var y=0;if(a.widgets)for(var x=0;x<a.widgets.length;++x)a.widgets[x].above&&(y+=vi(a.widgets[x]));return y}function Mo(a,y,x,b,E){if(!E){var ne=Jo(y);x.top+=ne,x.bottom+=ne}if(b=="line")return x;b||(b="local");var le=rr(y);if(b=="local"?le+=Qr(a.display):le-=a.display.viewOffset,b=="page"||b=="window"){var ue=a.display.lineSpace.getBoundingClientRect();le+=ue.top+(b=="window"?0:wa());var ce=ue.left+(b=="window"?0:Qo());x.left+=ce,x.right+=ce}return x.top+=le,x.bottom+=le,x}function Sa(a,y,x){if(x=="div")return y;var b=y.left,E=y.top;if(x=="page")b-=Qo(),E-=wa();else if(x=="local"||!x){var ne=a.display.sizer.getBoundingClientRect();b+=ne.left,E+=ne.top}var le=a.display.lineSpace.getBoundingClientRect();return{left:b-le.left,top:E-le.top}}function ko(a,y,x,b,E){return b||(b=Lt(a.doc,y.line)),Mo(a,b,ya(a,b,y.ch,E),x)}function xi(a,y,x,b,E,ne){b=b||Lt(a.doc,y.line),E||(E=uo(a,b));function le(Kt,cn){var bn=Hi(a,E,Kt,cn?"right":"left",ne);return cn?bn.left=bn.right:bn.right=bn.left,Mo(a,b,bn,x)}var ue=Ft(b,a.doc.direction),ce=y.ch,pe=y.sticky;if(ce>=b.text.length?(ce=b.text.length,pe="before"):ce<=0&&(ce=0,pe="after"),!ue)return le(pe=="before"?ce-1:ce,pe=="before");function We(Kt,cn,bn){var Ln=ue[cn],Wn=Ln.level==1;return le(bn?Kt-1:Kt,Wn!=bn)}var Ge=gt(ue,ce,pe),At=tt,Ct=We(ce,Ge,pe=="before");return At!=null&&(Ct.other=We(ce,At,pe!="before")),Ct}function Ir(a,y){var x=0;y=xt(a.doc,y),a.options.lineWrapping||(x=Yi(a.display)*y.ch);var b=Lt(a.doc,y.line),E=rr(b)+Qr(a.display);return{left:x,right:x,top:E,bottom:E+b.height}}function Cr(a,y,x,b,E){var ne=we(a,y,x);return ne.xRel=E,b&&(ne.outside=b),ne}function ci(a,y,x){var b=a.doc;if(x+=a.display.viewOffset,x<0)return Cr(b.first,0,null,-1,-1);var E=Ye(b,x),ne=b.first+b.size-1;if(E>ne)return Cr(b.first+b.size-1,Lt(b,ne).text.length,null,1,1);y<0&&(y=0);for(var le=Lt(b,E);;){var ue=Gi(a,le,E,y,x),ce=on(le,ue.ch+(ue.xRel>0||ue.outside>0?1:0));if(!ce)return ue;var pe=ce.find(1);if(pe.line==E)return pe;le=Lt(b,E=pe.line)}}function fi(a,y,x,b){b-=Jo(y);var E=y.text.length,ne=Ae(function(le){return Hi(a,x,le-1).bottom<=b},E,0);return E=Ae(function(le){return Hi(a,x,le).top>b},ne,E),{begin:ne,end:E}}function Jr(a,y,x,b){x||(x=uo(a,y));var E=Mo(a,y,Hi(a,x,b),"line").top;return fi(a,y,x,E)}function ri(a,y,x,b){return a.bottom<=x?!1:a.top>x?!0:(b?a.left:a.right)>y}function Gi(a,y,x,b,E){E-=rr(y);var ne=uo(a,y),le=Jo(y),ue=0,ce=y.text.length,pe=!0,We=Ft(y,a.doc.direction);if(We){var Ge=(a.options.lineWrapping?ro:Zi)(a,y,x,ne,We,b,E);pe=Ge.level!=1,ue=pe?Ge.from:Ge.to-1,ce=pe?Ge.to:Ge.from-1}var At=null,Ct=null,Kt=Ae(function(sr){var nr=Hi(a,ne,sr);return nr.top+=le,nr.bottom+=le,ri(nr,b,E,!1)?(nr.top<=E&&nr.left<=b&&(At=sr,Ct=nr),!0):!1},ue,ce),cn,bn,Ln=!1;if(Ct){var Wn=b-Ct.left<Ct.right-b,In=Wn==pe;Kt=At+(In?0:1),bn=In?"after":"before",cn=Wn?Ct.left:Ct.right}else{!pe&&(Kt==ce||Kt==ue)&&Kt++,bn=Kt==0?"after":Kt==y.text.length?"before":Hi(a,ne,Kt-(pe?1:0)).bottom+le<=E==pe?"after":"before";var Zn=xi(a,we(x,Kt,bn),"line",y,ne);cn=Zn.left,Ln=E<Zn.top?-1:E>=Zn.bottom?1:0}return Kt=rt(y.text,Kt,1),Cr(x,Kt,bn,Ln,b-cn)}function Zi(a,y,x,b,E,ne,le){var ue=Ae(function(Ge){var At=E[Ge],Ct=At.level!=1;return ri(xi(a,we(x,Ct?At.to:At.from,Ct?"before":"after"),"line",y,b),ne,le,!0)},0,E.length-1),ce=E[ue];if(ue>0){var pe=ce.level!=1,We=xi(a,we(x,pe?ce.from:ce.to,pe?"after":"before"),"line",y,b);ri(We,ne,le,!0)&&We.top>le&&(ce=E[ue-1])}return ce}function ro(a,y,x,b,E,ne,le){var ue=fi(a,y,b,le),ce=ue.begin,pe=ue.end;/\s/.test(y.text.charAt(pe-1))&&pe--;for(var We=null,Ge=null,At=0;At<E.length;At++){var Ct=E[At];if(!(Ct.from>=pe||Ct.to<=ce)){var Kt=Ct.level!=1,cn=Hi(a,b,Kt?Math.min(pe,Ct.to)-1:Math.max(ce,Ct.from)).right,bn=cn<ne?ne-cn+1e9:cn-ne;(!We||Ge>bn)&&(We=Ct,Ge=bn)}}return We||(We=E[E.length-1]),We.from<ce&&(We={from:ce,to:We.to,level:We.level}),We.to>pe&&(We={from:We.from,to:pe,level:We.level}),We}var Pi;function Di(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Pi==null){Pi=He("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Pi.appendChild(document.createTextNode("x")),Pi.appendChild(He("br"));Pi.appendChild(document.createTextNode("x"))}Je(a.measure,Pi);var x=Pi.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),bt(a.measure),x||1}function Yi(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=He("span","xxxxxxxxxx"),x=He("pre",[y],"CodeMirror-line-like");Je(a.measure,x);var b=y.getBoundingClientRect(),E=(b.right-b.left)/10;return E>2&&(a.cachedCharWidth=E),E||10}function co(a){for(var y=a.display,x={},b={},E=y.gutters.clientLeft,ne=y.gutters.firstChild,le=0;ne;ne=ne.nextSibling,++le){var ue=a.display.gutterSpecs[le].className;x[ue]=ne.offsetLeft+ne.clientLeft+E,b[ue]=ne.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 xl(a){var y=Di(a.display),x=a.options.lineWrapping,b=x&&Math.max(5,a.display.scroller.clientWidth/Yi(a.display)-3);return function(E){if(wn(a.doc,E))return 0;var ne=0;if(E.widgets)for(var le=0;le<E.widgets.length;le++)E.widgets[le].height&&(ne+=E.widgets[le].height);return x?ne+(Math.ceil(E.text.length/b)||1)*y:ne+y}}function Xa(a){var y=a.doc,x=xl(a);y.iter(function(b){var E=x(b);E!=b.height&&Qn(b,E)})}function wo(a,y,x,b){var E=a.display;if(!x&&_e(y).getAttribute("cm-not-content")=="true")return null;var ne,le,ue=E.lineSpace.getBoundingClientRect();try{ne=y.clientX-ue.left,le=y.clientY-ue.top}catch(Ge){return null}var ce=ci(a,ne,le),pe;if(b&&ce.xRel>0&&(pe=Lt(a.doc,ce.line).text).length==ce.ch){var We=Se(pe,pe.length,a.options.tabSize)-pe.length;ce=we(ce.line,Math.max(0,Math.round((ne-qi(a.display).left)/Yi(a.display))-We))}return ce}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 wi(a,y,x,b){y==null&&(y=a.doc.first),x==null&&(x=a.doc.first+a.doc.size),b||(b=0);var E=a.display;if(b&&x<E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>y)&&(E.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=E.viewTo)tr&&_t(a.doc,y)<E.viewTo&&ho(a);else if(x<=E.viewFrom)tr&&en(a.doc,x+b)>E.viewFrom?ho(a):(E.viewFrom+=b,E.viewTo+=b);else if(y<=E.viewFrom&&x>=E.viewTo)ho(a);else if(y<=E.viewFrom){var ne=Aa(a,x,x+b,1);ne?(E.view=E.view.slice(ne.index),E.viewFrom=ne.lineN,E.viewTo+=b):ho(a)}else if(x>=E.viewTo){var le=Aa(a,y,y,-1);le?(E.view=E.view.slice(0,le.index),E.viewTo=le.lineN):ho(a)}else{var ue=Aa(a,y,y,-1),ce=Aa(a,x,x+b,1);ue&&ce?(E.view=E.view.slice(0,ue.index).concat(ni(a,ue.lineN,ce.lineN)).concat(E.view.slice(ce.index)),E.viewTo+=b):ho(a)}var pe=E.externalMeasured;pe&&(x<pe.lineN?pe.lineN+=b:y<pe.lineN+pe.size&&(E.externalMeasured=null))}function fo(a,y,x){a.curOp.viewChanged=!0;var b=a.display,E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size&&(b.externalMeasured=null),!(y<b.viewFrom||y>=b.viewTo)){var ne=b.view[So(a,y)];if(ne.node!=null){var le=ne.changes||(ne.changes=[]);pt(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 Aa(a,y,x,b){var E=So(a,y),ne,le=a.display.view;if(!tr||x==a.doc.first+a.doc.size)return{index:E,lineN:x};for(var ue=a.display.viewFrom,ce=0;ce<E;ce++)ue+=le[ce].size;if(ue!=y){if(b>0){if(E==le.length-1)return null;ne=ue+le[E].size-y,E++}else ne=ue-y;y+=ne,x+=ne}for(;_t(a.doc,x)!=x;){if(E==(b<0?0:le.length-1))return null;x+=b*le[E-(b<0?1:0)].size,E+=b}return{index:E,lineN:x}}function zs(a,y,x){var b=a.display,E=b.view;E.length==0||y>=b.viewTo||x<=b.viewFrom?(b.view=ni(a,y,x),b.viewFrom=y):(b.viewFrom>y?b.view=ni(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(ni(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 E=y[b];!E.hidden&&(!E.node||E.changes)&&++x}return x}function qo(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Sl(a,y){y===void 0&&(y=!0);for(var x=a.doc,b={},E=b.cursors=document.createDocumentFragment(),ne=b.selection=document.createDocumentFragment(),le=0;le<x.sel.ranges.length;le++)if(!(!y&&le==x.sel.primIndex)){var ue=x.sel.ranges[le];if(!(ue.from().line>=a.display.viewTo||ue.to().line<a.display.viewFrom)){var ce=ue.empty();(ce||a.options.showCursorWhenSelecting)&&Al(a,ue.head,E),ce||Hs(a,ue,ne)}}return b}function Al(a,y,x){var b=xi(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=x.appendChild(He("div","\xA0","CodeMirror-cursor"));if(E.style.left=b.left+"px",E.style.top=b.top+"px",E.style.height=Math.max(0,b.bottom-b.top)*a.options.cursorHeight+"px",b.other){var ne=x.appendChild(He("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ne.style.display="",ne.style.left=b.other.left+"px",ne.style.top=b.other.top+"px",ne.style.height=(b.other.bottom-b.other.top)*.85+"px"}}function Ea(a,y){return a.top-y.top||a.left-y.left}function Hs(a,y,x){var b=a.display,E=a.doc,ne=document.createDocumentFragment(),le=qi(a.display),ue=le.left,ce=Math.max(b.sizerWidth,$i(a)-b.sizer.offsetLeft)-le.right,pe=E.direction=="ltr";function We(In,Zn,sr,nr){Zn<0&&(Zn=0),Zn=Math.round(Zn),nr=Math.round(nr),ne.appendChild(He("div",null,"CodeMirror-selected","position: absolute; left: "+In+`px;
|
|
|
top: `+Zn+"px; width: "+(sr==null?ce-In:sr)+`px;
|
|
|
height: `+(nr-Zn)+"px"))}function Ge(In,Zn,sr){var nr=Lt(E,In),Sr=nr.text.length,Vr,li;function Kr(_r,Ei){return ko(a,we(In,_r),"div",nr,Ei)}function ki(_r,Ei,di){var ii=Jr(a,nr,null,_r),ei=Ei=="ltr"==(di=="after")?"left":"right",Xr=di=="after"?ii.begin:ii.end-(/\s/.test(nr.text.charAt(ii.end-1))?2:1);return Kr(Xr,ei)[ei]}var Ai=Ft(nr,E.direction);return Ze(Ai,Zn||0,sr==null?Sr:sr,function(_r,Ei,di,ii){var ei=di=="ltr",Xr=Kr(_r,ei?"left":"right"),Bi=Kr(Ei-1,ei?"right":"left"),Go=Zn==null&&_r==0,bo=sr==null&&Ei==Sr,pi=ii==0,eo=!Ai||ii==Ai.length-1;if(Bi.top-Xr.top<=3){var si=(pe?Go:bo)&&pi,bl=(pe?bo:Go)&&eo,oo=si?ue:(ei?Xr:Bi).left,Io=bl?ce:(ei?Bi:Xr).right;We(oo,Xr.top,Io-oo,Xr.bottom)}else{var Po,bi,Yo,Cl;ei?(Po=pe&&Go&&pi?ue:Xr.left,bi=pe?ce:ki(_r,di,"before"),Yo=pe?ue:ki(Ei,di,"after"),Cl=pe&&bo&&eo?ce:Bi.right):(Po=pe?ki(_r,di,"before"):ue,bi=!pe&&Go&&pi?ce:Xr.right,Yo=!pe&&bo&&eo?ue:Bi.left,Cl=pe?ki(Ei,di,"after"):ce),We(Po,Xr.top,bi-Po,Xr.bottom),Xr.bottom<Bi.top&&We(ue,Xr.bottom,null,Bi.top),We(Yo,Bi.top,Cl-Yo,Bi.bottom)}(!Vr||Ea(Xr,Vr)<0)&&(Vr=Xr),Ea(Bi,Vr)<0&&(Vr=Bi),(!li||Ea(Xr,li)<0)&&(li=Xr),Ea(Bi,li)<0&&(li=Bi)}),{start:Vr,end:li}}var At=y.from(),Ct=y.to();if(At.line==Ct.line)Ge(At.line,At.ch,Ct.ch);else{var Kt=Lt(E,At.line),cn=Lt(E,Ct.line),bn=jt(Kt)==jt(cn),Ln=Ge(At.line,At.ch,bn?Kt.text.length+1:null).end,Wn=Ge(Ct.line,bn?0:null,Ct.ch).start;bn&&(Ln.top<Wn.top-2?(We(Ln.right,Ln.top,null,Ln.bottom),We(ue,Wn.top,Wn.left,Wn.bottom)):We(Ln.right,Ln.top,Wn.left-Ln.right,Ln.bottom)),Ln.bottom<Wn.top&&We(ue,Ln.bottom,null,Wn.top)}x.appendChild(ne)}function Qa(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var x=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||Oo(a),y.cursorDiv.style.visibility=(x=!x)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function El(a){a.state.focused||(a.display.input.focus(),Ja(a))}function Bl(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Oo(a))},100)}function Ja(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Gt(a,"focus",a,y),a.state.focused=!0,he(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Me&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Qa(a))}function Oo(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Gt(a,"blur",a,y),a.state.focused=!1,je(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ba(a){for(var y=a.display,x=y.lineDiv.offsetTop,b=0;b<y.view.length;b++){var E=y.view[b],ne=a.options.lineWrapping,le=void 0,ue=0;if(!E.hidden){if(Ce&&xe<8){var ce=E.node.offsetTop+E.node.offsetHeight;le=ce-x,x=ce}else{var pe=E.node.getBoundingClientRect();le=pe.bottom-pe.top,!ne&&E.text.firstChild&&(ue=E.text.firstChild.getBoundingClientRect().right-pe.left-1)}var We=E.line.height-le;if((We>.005||We<-.005)&&(Qn(E.line,le),Ll(E.line),E.rest))for(var Ge=0;Ge<E.rest.length;Ge++)Ll(E.rest[Ge]);if(ue>a.display.sizerWidth){var At=Math.ceil(ue/Yi(a.display));At>a.display.maxLineLength&&(a.display.maxLineLength=At,a.display.maxLine=E.line,a.display.maxLineChanged=!0)}}}}function Ll(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var x=a.widgets[y],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function La(a,y,x){var b=x&&x.top!=null?Math.max(0,x.top):a.scroller.scrollTop;b=Math.floor(b-Qr(a));var E=x&&x.bottom!=null?x.bottom:b+a.wrapper.clientHeight,ne=Ye(y,b),le=Ye(y,E);if(x&&x.ensure){var ue=x.ensure.from.line,ce=x.ensure.to.line;ue<ne?(ne=ue,le=Ye(y,rr(Lt(y,ue))+a.wrapper.clientHeight)):Math.min(ce,y.lastLine())>=le&&(ne=Ye(y,rr(Lt(y,ce))-a.wrapper.clientHeight),le=ce)}return{from:ne,to:Math.max(le,ne+1)}}function Zs(a,y){if(!ft(a,"scrollCursorIntoView")){var x=a.display,b=x.sizer.getBoundingClientRect(),E=null;if(y.top+b.top<0?E=!0:y.bottom+b.top>(window.innerHeight||document.documentElement.clientHeight)&&(E=!1),E!=null&&!mt){var ne=He("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-x.viewOffset-Qr(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+Ii(a)+x.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ne),ne.scrollIntoView(E),a.display.lineSpace.removeChild(ne)}}}function js(a,y,x,b){b==null&&(b=0);var E;!a.options.lineWrapping&&y==x&&(y=y.ch?we(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?we(y.line,y.ch+1,"before"):y);for(var ne=0;ne<5;ne++){var le=!1,ue=xi(a,y),ce=!x||x==y?ue:xi(a,x);E={left:Math.min(ue.left,ce.left),top:Math.min(ue.top,ce.top)-b,right:Math.max(ue.left,ce.left),bottom:Math.max(ue.bottom,ce.bottom)+b};var pe=qa(a,E),We=a.doc.scrollTop,Ge=a.doc.scrollLeft;if(pe.scrollTop!=null&&(_o(a,pe.scrollTop),Math.abs(a.doc.scrollTop-We)>1&&(le=!0)),pe.scrollLeft!=null&&(Ao(a,pe.scrollLeft),Math.abs(a.doc.scrollLeft-Ge)>1&&(le=!0)),!le)break}return E}function Vs(a,y){var x=qa(a,y);x.scrollTop!=null&&_o(a,x.scrollTop),x.scrollLeft!=null&&Ao(a,x.scrollLeft)}function qa(a,y){var x=a.display,b=Di(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:x.scroller.scrollTop,ne=no(a),le={};y.bottom-y.top>ne&&(y.bottom=y.top+ne);var ue=a.doc.height+zi(x),ce=y.top<b,pe=y.bottom>ue-b;if(y.top<E)le.scrollTop=ce?0:y.top;else if(y.bottom>E+ne){var We=Math.min(y.top,(pe?ue:y.bottom)-ne);We!=E&&(le.scrollTop=We)}var Ge=a.options.fixedGutter?0:x.gutters.offsetWidth,At=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-Ge,Ct=$i(a)-x.gutters.offsetWidth,Kt=y.right-y.left>Ct;return Kt&&(y.right=y.left+Ct),y.left<10?le.scrollLeft=0:y.left<At?le.scrollLeft=Math.max(0,y.left+Ge-(Kt?0:10)):y.right>Ct+At-3&&(le.scrollLeft=y.right+(Kt?0:10)-Ct),le}function $a(a,y){y!=null&&(Ia(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Fo(a){Ia(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function $o(a,y,x){(y!=null||x!=null)&&Ia(a),y!=null&&(a.curOp.scrollLeft=y),x!=null&&(a.curOp.scrollTop=x)}function Us(a,y){Ia(a),a.curOp.scrollToPos=y}function Ia(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var x=Ir(a,y.from),b=Ir(a,y.to);Il(a,x,b,y.margin)}}function Il(a,y,x,b){var E=qa(a,{left:Math.min(y.left,x.left),top:Math.min(y.top,x.top)-b,right:Math.max(y.right,x.right),bottom:Math.max(y.bottom,x.bottom)+b});$o(a,E.scrollLeft,E.scrollTop)}function _o(a,y){Math.abs(a.doc.scrollTop-y)<2||(te||el(a,{top:y}),Pl(a,y,!0),te&&el(a),na(a,100))}function Pl(a,y,x){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!x)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Ao(a,y,x,b){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((x?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!b)&&(a.doc.scrollLeft=y,Fl(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+zi(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+Ii(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:x}}var Eo=function(a,y,x){this.cm=x;var b=this.vert=He("div",[He("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=He("div",[He("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,a(b),a(E),Mt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),Mt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ce&&xe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Eo.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,x=a.scrollHeight>a.clientHeight+1,b=a.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=y?b+"px":"0";var E=a.viewHeight-(y?b:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+E)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=a.barLeft+"px";var ne=a.viewWidth-a.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ne)+"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}},Eo.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Eo.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Eo.prototype.zeroWidthHack=function(){var a=Le&&!ve?"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},Eo.prototype.enableZeroWidthBar=function(a,y,x){a.style.pointerEvents="auto";function b(){var E=a.getBoundingClientRect(),ne=x=="vert"?document.elementFromPoint(E.right-1,(E.top+E.bottom)/2):document.elementFromPoint((E.right+E.left)/2,E.bottom-1);ne!=a?a.style.pointerEvents="none":y.set(1e3,b)}y.set(1e3,b)},Eo.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 To(a,y){y||(y=ea(a));var x=a.display.barWidth,b=a.display.barHeight;Dl(a,y);for(var E=0;E<4&&x!=a.display.barWidth||b!=a.display.barHeight;E++)x!=a.display.barWidth&&a.options.lineWrapping&&Ba(a),Dl(a,ea(a)),x=a.display.barWidth,b=a.display.barHeight}function Dl(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 Ml={native:Eo,null:ta};function kl(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&je(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ml[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Mt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,x){x=="horizontal"?Ao(a,y):_o(a,y)},a),a.display.scrollbars.addClass&&he(a.display.wrapper,a.display.scrollbars.addClass)}var Gs=0;function Bo(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:++Gs},ao(a.curOp)}function Lo(a){var y=a.curOp;y&&gi(y,function(x){for(var b=0;b<x.ops.length;b++)x.ops[b].cm.curOp=null;Ys(x)})}function Ys(a){for(var y=a.ops,x=0;x<y.length;x++)Ks(y[x]);for(var b=0;b<y.length;b++)Xs(y[b]);for(var E=0;E<y.length;E++)Qs(y[E]);for(var ne=0;ne<y.length;ne++)Js(y[ne]);for(var le=0;le<y.length;le++)qs(y[le])}function Ks(a){var y=a.cm,x=y.display;_s(y),a.updateMaxLine&&br(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 Pa(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xs(a){a.updatedDisplay=a.mustUpdate&&_a(a.cm,a.update)}function Qs(a){var y=a.cm,x=y.display;a.updatedDisplay&&Ba(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+Ii(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,x.sizer.offsetLeft+a.adjustWidthTo-$i(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=x.input.prepareSelection())}function Js(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Ao(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var x=a.focus&&a.focus==et();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&To(y,a.barMeasure),a.updatedDisplay&&nl(y,a.barMeasure),a.selectionChanged&&Qa(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),x&&El(a.cm)}function qs(a){var y=a.cm,x=y.display,b=y.doc;if(a.updatedDisplay&&Ol(y,a.update),x.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(x.wheelStartX=x.wheelStartY=null),a.scrollTop!=null&&Pl(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Ao(y,a.scrollLeft,!0,!0),a.scrollToPos){var E=js(y,xt(b,a.scrollToPos.from),xt(b,a.scrollToPos.to),a.scrollToPos.margin);Zs(y,E)}var ne=a.maybeHiddenMarkers,le=a.maybeUnhiddenMarkers;if(ne)for(var ue=0;ue<ne.length;++ue)ne[ue].lines.length||Gt(ne[ue],"hide");if(le)for(var ce=0;ce<le.length;++ce)le[ce].lines.length&&Gt(le[ce],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Gt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Mi(a,y){if(a.curOp)return y();Bo(a);try{return y()}finally{Lo(a)}}function oi(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Bo(a);try{return y.apply(a,arguments)}finally{Lo(a)}}}function yi(a){return function(){if(this.curOp)return a.apply(this,arguments);Bo(this);try{return a.apply(this,arguments)}finally{Lo(this)}}}function ai(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Bo(y);try{return a.apply(this,arguments)}finally{Lo(y)}}}function na(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,It($s,a))}function $s(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=Jn(a,y.highlightFrontier),E=[];y.iter(b.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ne){if(b.line>=a.display.viewFrom){var le=ne.styles,ue=ne.text.length>a.options.maxHighlightLength?Yn(y.mode,b.state):null,ce=pn(a,ne,b,!0);ue&&(b.state=ue),ne.styles=ce.styles;var pe=ne.styleClasses,We=ce.classes;We?ne.styleClasses=We:pe&&(ne.styleClasses=null);for(var Ge=!le||le.length!=ne.styles.length||pe!=We&&(!pe||!We||pe.bgClass!=We.bgClass||pe.textClass!=We.textClass),At=0;!Ge&&At<le.length;++At)Ge=le[At]!=ne.styles[At];Ge&&E.push(b.line),ne.stateAfter=b.save(),b.nextLine()}else ne.text.length<=a.options.maxHighlightLength&&qn(a,ne.text,b),ne.stateAfter=b.line%5==0?b.save():null,b.nextLine();if(+new Date>x)return na(a,a.options.workDelay),!0}),y.highlightFrontier=b.line,y.modeFrontier=Math.max(y.modeFrontier,b.line),E.length&&Mi(a,function(){for(var ne=0;ne<E.length;ne++)fo(a,E[ne],"text")})}}var Pa=function(a,y,x){var b=a.display;this.viewport=y,this.visible=La(b,a.doc,y),this.editorIsHidden=!b.wrapper.offsetWidth,this.wrapperHeight=b.wrapper.clientHeight,this.wrapperWidth=b.wrapper.clientWidth,this.oldDisplayWidth=$i(a),this.force=x,this.dims=co(a),this.events=[]};Pa.prototype.signal=function(a,y){Dt(a,y)&&this.events.push(arguments)},Pa.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Gt.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=Ii(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Ii(a)+"px",y.scrollbarsClipped=!0)}function eu(a){if(a.hasFocus())return null;var y=et();if(!y||!it(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&it(a.display.lineDiv,b.anchorNode)&&(x.anchorNode=b.anchorNode,x.anchorOffset=b.anchorOffset,x.focusNode=b.focusNode,x.focusOffset=b.focusOffset)}return x}function tu(a){if(!(!a||!a.activeElt||a.activeElt==et())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&it(document.body,a.anchorNode)&&it(document.body,a.focusNode))){var y=window.getSelection(),x=document.createRange();x.setEnd(a.anchorNode,a.anchorOffset),x.collapse(!1),y.removeAllRanges(),y.addRange(x),y.extend(a.focusNode,a.focusOffset)}}function _a(a,y){var x=a.display,b=a.doc;if(y.editorIsHidden)return ho(a),!1;if(!y.force&&y.visible.from>=x.viewFrom&&y.visible.to<=x.viewTo&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo)&&x.renderedView==x.view&&wl(a)==0)return!1;Tl(a)&&(ho(a),y.dims=co(a));var E=b.first+b.size,ne=Math.max(y.visible.from-a.options.viewportMargin,b.first),le=Math.min(E,y.visible.to+a.options.viewportMargin);x.viewFrom<ne&&ne-x.viewFrom<20&&(ne=Math.max(b.first,x.viewFrom)),x.viewTo>le&&x.viewTo-le<20&&(le=Math.min(E,x.viewTo)),tr&&(ne=_t(a.doc,ne),le=en(a.doc,le));var ue=ne!=x.viewFrom||le!=x.viewTo||x.lastWrapHeight!=y.wrapperHeight||x.lastWrapWidth!=y.wrapperWidth;zs(a,ne,le),x.viewOffset=rr(Lt(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var ce=wl(a);if(!ue&&ce==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var pe=eu(a);return ce>4&&(x.lineDiv.style.display="none"),nu(a,x.updateLineNumbers,y.dims),ce>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,tu(pe),bt(x.cursorDiv),bt(x.selectionDiv),x.gutters.style.height=x.sizer.style.minHeight=0,ue&&(x.lastWrapHeight=y.wrapperHeight,x.lastWrapWidth=y.wrapperWidth,na(a,400)),x.updateLineNumbers=null,!0}function Ol(a,y){for(var x=y.viewport,b=!0;;b=!1){if(!b||!a.options.lineWrapping||y.oldDisplayWidth==$i(a)){if(x&&x.top!=null&&(x={top:Math.min(a.doc.height+zi(a.display)-no(a),x.top)}),y.visible=La(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=La(a.display,a.doc,x));if(!_a(a,y))break;Ba(a);var E=ea(a);qo(a),To(a,E),nl(a,E),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function el(a,y){var x=new Pa(a,y);if(_a(a,x)){Ba(a),Ol(a,x);var b=ea(a);qo(a),To(a,b),nl(a,b),x.finish()}}function nu(a,y,x){var b=a.display,E=a.options.lineNumbers,ne=b.lineDiv,le=ne.firstChild;function ue(Kt){var cn=Kt.nextSibling;return Me&&Le&&a.display.currentWheelTarget==Kt?Kt.style.display="none":Kt.parentNode.removeChild(Kt),cn}for(var ce=b.view,pe=b.viewFrom,We=0;We<ce.length;We++){var Ge=ce[We];if(!Ge.hidden)if(!Ge.node||Ge.node.parentNode!=ne){var At=pr(a,Ge,pe,x);ne.insertBefore(At,le)}else{for(;le!=Ge.node;)le=ue(le);var Ct=E&&y!=null&&y<=pe&&Ge.lineNumber;Ge.changes&&(pt(Ge.changes,"gutter")>-1&&(Ct=!1),lo(a,Ge,pe,x)),Ct&&(bt(Ge.lineNumber),Ge.lineNumber.appendChild(document.createTextNode(Oe(a.options,pe)))),le=Ge.node.nextSibling}pe+=Ge.size}for(;le;)le=ue(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+Ii(a)+"px"}function Fl(a){var y=a.display,x=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var b=Ka(y)-y.scroller.scrollLeft+a.doc.scrollLeft,E=y.gutters.offsetWidth,ne=b+"px",le=0;le<x.length;le++)if(!x[le].hidden){a.options.fixedGutter&&(x[le].gutter&&(x[le].gutter.style.left=ne),x[le].gutterBackground&&(x[le].gutterBackground.style.left=ne));var ue=x[le].alignable;if(ue)for(var ce=0;ce<ue.length;ce++)ue[ce].style.left=ne}a.options.fixedGutter&&(y.gutters.style.left=b+E+"px")}}function Tl(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=Oe(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var E=b.measure.appendChild(He("div",[He("div",x)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ne=E.firstChild.offsetWidth,le=E.offsetWidth-ne;return b.lineGutter.style.width="",b.lineNumInnerWidth=Math.max(ne,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,E=0;E<a.length;E++){var ne=a[E],le=null;if(typeof ne!="string"&&(le=ne.style,ne=ne.className),ne=="CodeMirror-linenumbers")if(y)b=!0;else continue;x.push({className:ne,style:le})}return y&&!b&&x.push({className:"CodeMirror-linenumbers",style:null}),x}function Nl(a){var y=a.gutters,x=a.gutterSpecs;bt(y),a.lineGutter=null;for(var b=0;b<x.length;++b){var E=x[b],ne=E.className,le=E.style,ue=y.appendChild(He("div",null,"CodeMirror-gutter "+ne));le&&(ue.style.cssText=le),ne=="CodeMirror-linenumbers"&&(a.lineGutter=ue,ue.style.width=(a.lineNumWidth||1)+"px")}y.style.display=x.length?"":"none",tl(a)}function ra(a){Nl(a.display),wi(a),Fl(a)}function ru(a,y,x,b){var E=this;this.input=x,E.scrollbarFiller=He("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=He("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=ot("div",null,"CodeMirror-code"),E.selectionDiv=He("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=He("div",null,"CodeMirror-cursors"),E.measure=He("div",null,"CodeMirror-measure"),E.lineMeasure=He("div",null,"CodeMirror-measure"),E.lineSpace=ot("div",[E.measure,E.lineMeasure,E.selectionDiv,E.cursorDiv,E.lineDiv],null,"position: relative; outline: none");var ne=ot("div",[E.lineSpace],"CodeMirror-lines");E.mover=He("div",[ne],null,"position: relative"),E.sizer=He("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=He("div",null,null,"position: absolute; height: "+Zt+"px; width: 1px;"),E.gutters=He("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=He("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=He("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),Ce&&xe<8&&(E.gutters.style.zIndex=-1,E.scroller.style.paddingRight=0),!Me&&!(te&&Ie)&&(E.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(E.wrapper):a(E.wrapper)),E.viewFrom=E.viewTo=y.first,E.reportedViewFrom=E.reportedViewTo=y.first,E.view=[],E.renderedView=null,E.externalMeasured=null,E.viewOffset=0,E.lastWrapHeight=E.lastWrapWidth=0,E.updateLineNumbers=null,E.nativeBarWidth=E.barHeight=E.barWidth=0,E.scrollbarsClipped=!1,E.lineNumWidth=E.lineNumInnerWidth=E.lineNumChars=null,E.alignWidgets=!1,E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.maxLine=null,E.maxLineLength=0,E.maxLineChanged=!1,E.wheelDX=E.wheelDY=E.wheelStartX=E.wheelStartY=null,E.shift=!1,E.selForContextMenu=null,E.activeTouch=null,E.gutterSpecs=rl(b.gutters,b.lineNumbers),Nl(E),x.init(E)}var Da=0,Ti=null;Ce?Ti=-.53:te?Ti=15:Ee?Ti=-.7:Ve&&(Ti=-1/3);function Wl(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=Wl(a);return y.x*=Ti,y.y*=Ti,y}function Rl(a,y){var x=Wl(y),b=x.x,E=x.y,ne=a.display,le=ne.scroller,ue=le.scrollWidth>le.clientWidth,ce=le.scrollHeight>le.clientHeight;if(b&&ue||E&&ce){if(E&&Le&&Me){e:for(var pe=y.target,We=ne.view;pe!=le;pe=pe.parentNode)for(var Ge=0;Ge<We.length;Ge++)if(We[Ge].node==pe){a.display.currentWheelTarget=pe;break e}}if(b&&!te&&!de&&Ti!=null){E&&ce&&_o(a,Math.max(0,le.scrollTop+E*Ti)),Ao(a,Math.max(0,le.scrollLeft+b*Ti)),(!E||E&&ce)&&nn(y),ne.wheelStartX=null;return}if(E&&Ti!=null){var At=E*Ti,Ct=a.doc.scrollTop,Kt=Ct+ne.wrapper.clientHeight;At<0?Ct=Math.max(0,Ct+At-50):Kt=Math.min(a.doc.height,Kt+At+50),el(a,{top:Ct,bottom:Kt})}Da<20&&(ne.wheelStartX==null?(ne.wheelStartX=le.scrollLeft,ne.wheelStartY=le.scrollTop,ne.wheelDX=b,ne.wheelDY=E,setTimeout(function(){if(ne.wheelStartX!=null){var cn=le.scrollLeft-ne.wheelStartX,bn=le.scrollTop-ne.wheelStartY,Ln=bn&&ne.wheelDY&&bn/ne.wheelDY||cn&&ne.wheelDX&&cn/ne.wheelDX;ne.wheelStartX=ne.wheelStartY=null,Ln&&(Ti=(Ti*Da+Ln)/(Da+1),++Da)}},200)):(ne.wheelDX+=b,ne.wheelDY+=E))}}var Ni=function(a,y){this.ranges=a,this.primIndex=y};Ni.prototype.primary=function(){return this.ranges[this.primIndex]},Ni.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var x=this.ranges[y],b=a.ranges[y];if(!ut(x.anchor,b.anchor)||!ut(x.head,b.head))return!1}return!0},Ni.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Wr(Ut(this.ranges[y].anchor),Ut(this.ranges[y].head));return new Ni(a,this.primIndex)},Ni.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Ni.prototype.contains=function(a,y){y||(y=a);for(var x=0;x<this.ranges.length;x++){var b=this.ranges[x];if(Fe(y,b.from())>=0&&Fe(a,b.to())<=0)return x}return-1};var Wr=function(a,y){this.anchor=a,this.head=y};Wr.prototype.from=function(){return rn(this.anchor,this.head)},Wr.prototype.to=function(){return Yt(this.anchor,this.head)},Wr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ki(a,y,x){var b=a&&a.options.selectionsMayTouch,E=y[x];y.sort(function(At,Ct){return Fe(At.from(),Ct.from())}),x=pt(y,E);for(var ne=1;ne<y.length;ne++){var le=y[ne],ue=y[ne-1],ce=Fe(ue.to(),le.from());if(b&&!le.empty()?ce>0:ce>=0){var pe=rn(ue.from(),le.from()),We=Yt(ue.to(),le.to()),Ge=ue.empty()?le.from()==le.head:ue.from()==ue.head;ne<=x&&--x,y.splice(--ne,2,new Wr(Ge?We:pe,Ge?pe:We))}}return new Ni(y,x)}function po(a,y){return new Ni([new Wr(a,y||a)],0)}function mo(a){return a.text?we(a.from.line+a.text.length-1,Ne(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function zl(a,y){if(Fe(a,y.from)<0)return a;if(Fe(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),we(x,b)}function il(a,y){for(var x=[],b=0;b<a.sel.ranges.length;b++){var E=a.sel.ranges[b];x.push(new Wr(zl(E.anchor,y),zl(E.head,y)))}return Ki(a.cm,x,a.sel.primIndex)}function Hl(a,y,x){return a.line==y.line?we(x.line,a.ch-y.ch+x.ch):we(x.line+(a.line-y.line),a.ch)}function ou(a,y,x){for(var b=[],E=we(a.first,0),ne=E,le=0;le<y.length;le++){var ue=y[le],ce=Hl(ue.from,E,ne),pe=Hl(mo(ue),E,ne);if(E=ue.to,ne=pe,x=="around"){var We=a.sel.ranges[le],Ge=Fe(We.head,We.anchor)<0;b[le]=new Wr(Ge?pe:ce,Ge?ce:pe)}else b[le]=new Wr(ce,ce)}return new Ni(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&&wi(a)}function Zl(a,y){return y.from.ch==0&&y.to.ch==0&&Ne(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function al(a,y,x,b){function E(Wn){return x?x[Wn]:null}function ne(Wn,In,Zn){Lr(Wn,In,Zn,b),Gr(Wn,"change",Wn,y)}function le(Wn,In){for(var Zn=[],sr=Wn;sr<In;++sr)Zn.push(new Pr(pe[sr],E(sr),b));return Zn}var ue=y.from,ce=y.to,pe=y.text,We=Lt(a,ue.line),Ge=Lt(a,ce.line),At=Ne(pe),Ct=E(pe.length-1),Kt=ce.line-ue.line;if(y.full)a.insert(0,le(0,pe.length)),a.remove(pe.length,a.size-pe.length);else if(Zl(a,y)){var cn=le(0,pe.length-1);ne(Ge,Ge.text,Ct),Kt&&a.remove(ue.line,Kt),cn.length&&a.insert(ue.line,cn)}else if(We==Ge)if(pe.length==1)ne(We,We.text.slice(0,ue.ch)+At+We.text.slice(ce.ch),Ct);else{var bn=le(1,pe.length-1);bn.push(new Pr(At+We.text.slice(ce.ch),Ct,b)),ne(We,We.text.slice(0,ue.ch)+pe[0],E(0)),a.insert(ue.line+1,bn)}else if(pe.length==1)ne(We,We.text.slice(0,ue.ch)+pe[0]+Ge.text.slice(ce.ch),E(0)),a.remove(ue.line+1,Kt);else{ne(We,We.text.slice(0,ue.ch)+pe[0],E(0)),ne(Ge,At+Ge.text.slice(ce.ch),Ct);var Ln=le(1,pe.length-1);Kt>1&&a.remove(ue.line+1,Kt-1),a.insert(ue.line+1,Ln)}Gr(a,"change",a,y)}function go(a,y,x){function b(E,ne,le){if(E.linked)for(var ue=0;ue<E.linked.length;++ue){var ce=E.linked[ue];if(ce.doc!=ne){var pe=le&&ce.sharedHist;x&&!pe||(y(ce.doc,pe),b(ce.doc,E,pe))}}}b(a,null,!0)}function jl(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Xa(a),ol(a),Vl(a),a.options.lineWrapping||br(a),a.options.mode=y.modeOption,wi(a)}function Vl(a){(a.doc.direction=="rtl"?he:je)(a.display.lineDiv,"CodeMirror-rtl")}function au(a){Mi(a,function(){Vl(a),wi(a)})}function Ma(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:Ut(y.from),to:mo(y),text:Xt(a,y.from,y.to)};return Yl(a,x,y.from.line,y.to.line+1),go(a,function(b){return Yl(b,x,y.from.line,y.to.line+1)},!0),x}function Ul(a){for(;a.length;){var y=Ne(a);if(y.ranges)a.pop();else break}}function lu(a,y){if(y)return Ul(a.done),Ne(a.done);if(a.done.length&&!Ne(a.done).ranges)return Ne(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Ne(a.done)}function Gl(a,y,x,b){var E=a.history;E.undone.length=0;var ne=+new Date,le,ue;if((E.lastOp==b||E.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&E.lastModTime>ne-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(le=lu(E,E.lastOp==b)))ue=Ne(le.changes),Fe(y.from,y.to)==0&&Fe(y.from,ue.to)==0?ue.to=mo(y):le.changes.push(ll(a,y));else{var ce=Ne(E.done);for((!ce||!ce.ranges)&&ka(a.sel,E.done),le={changes:[ll(a,y)],generation:E.generation},E.done.push(le);E.done.length>E.undoDepth;)E.done.shift(),E.done[0].ranges||E.done.shift()}E.done.push(x),E.generation=++E.maxGeneration,E.lastModTime=E.lastSelTime=ne,E.lastOp=E.lastSelOp=b,E.lastOrigin=E.lastSelOrigin=y.origin,ue||Gt(a,"historyAdded")}function su(a,y,x,b){var E=y.charAt(0);return E=="*"||E=="+"&&x.ranges.length==b.ranges.length&&x.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uu(a,y,x,b){var E=a.history,ne=b&&b.origin;x==E.lastSelOp||ne&&E.lastSelOrigin==ne&&(E.lastModTime==E.lastSelTime&&E.lastOrigin==ne||su(a,ne,Ne(E.done),y))?E.done[E.done.length-1]=y:ka(y,E.done),E.lastSelTime=+new Date,E.lastSelOrigin=ne,E.lastSelOp=x,b&&b.clearRedo!==!1&&Ul(E.undone)}function ka(a,y){var x=Ne(y);x&&x.ranges&&x.equals(a)||y.push(a)}function Yl(a,y,x,b){var E=y["spans_"+a.id],ne=0;a.iter(Math.max(a.first,x),Math.min(a.first+a.size,b),function(le){le.markedSpans&&((E||(E=y["spans_"+a.id]={}))[ne]=le.markedSpans),++ne})}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=[],E=0;E<y.text.length;++E)b.push(cu(x[E]));return b}function Kl(a,y){var x=du(a,y),b=wr(a,y);if(!x)return b;if(!b)return x;for(var E=0;E<x.length;++E){var ne=x[E],le=b[E];if(ne&&le)e:for(var ue=0;ue<le.length;++ue){for(var ce=le[ue],pe=0;pe<ne.length;++pe)if(ne[pe].marker==ce.marker)continue e;ne.push(ce)}else le&&(x[E]=le)}return x}function No(a,y,x){for(var b=[],E=0;E<a.length;++E){var ne=a[E];if(ne.ranges){b.push(x?Ni.prototype.deepCopy.call(ne):ne);continue}var le=ne.changes,ue=[];b.push({changes:ue});for(var ce=0;ce<le.length;++ce){var pe=le[ce],We=void 0;if(ue.push({from:pe.from,to:pe.to,text:pe.text}),y)for(var Ge in pe)(We=Ge.match(/^spans_(\d+)$/))&&pt(y,Number(We[1]))>-1&&(Ne(ue)[Ge]=pe[Ge],delete pe[Ge])}}return b}function sl(a,y,x,b){if(b){var E=a.anchor;if(x){var ne=Fe(y,E)<0;ne!=Fe(x,E)<0?(E=y,y=x):ne!=Fe(y,x)<0&&(y=x)}return new Wr(E,y)}else return new Wr(x||y,y)}function Oa(a,y,x,b,E){E==null&&(E=a.cm&&(a.cm.display.shift||a.extend)),hi(a,new Ni([sl(a.sel.primary(),y,x,E)],0),b)}function Xl(a,y,x){for(var b=[],E=a.cm&&(a.cm.display.shift||a.extend),ne=0;ne<a.sel.ranges.length;ne++)b[ne]=sl(a.sel.ranges[ne],y[ne],null,E);var le=Ki(a.cm,b,a.sel.primIndex);hi(a,le,x)}function ul(a,y,x,b){var E=a.sel.ranges.slice(0);E[y]=x,hi(a,Ki(a.cm,E,a.sel.primIndex),b)}function Ql(a,y,x,b){hi(a,po(y,x),b)}function fu(a,y,x){var b={ranges:y.ranges,update:function(E){this.ranges=[];for(var ne=0;ne<E.length;ne++)this.ranges[ne]=new Wr(xt(a,E[ne].anchor),xt(a,E[ne].head))},origin:x&&x.origin};return Gt(a,"beforeSelectionChange",a,b),a.cm&&Gt(a.cm,"beforeSelectionChange",a.cm,b),b.ranges!=y.ranges?Ki(a.cm,b.ranges,b.ranges.length-1):y}function Jl(a,y,x){var b=a.history.done,E=Ne(b);E&&E.ranges?(b[b.length-1]=y,Fa(a,y,x)):hi(a,y,x)}function hi(a,y,x){Fa(a,y,x),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function Fa(a,y,x){(Dt(a,"beforeSelectionChange")||a.cm&&Dt(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,x));var b=x&&x.bias||(Fe(y.primary().head,a.sel.primary().head)<0?-1:1);ql(a,_l(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&Fo(a.cm)}function ql(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Ht(a.cm)),Gr(a,"cursorActivity",a))}function $l(a){ql(a,_l(a,a.sel,null,!1))}function _l(a,y,x,b){for(var E,ne=0;ne<y.ranges.length;ne++){var le=y.ranges[ne],ue=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ne],ce=Ta(a,le.anchor,ue&&ue.anchor,x,b),pe=Ta(a,le.head,ue&&ue.head,x,b);(E||ce!=le.anchor||pe!=le.head)&&(E||(E=y.ranges.slice(0,ne)),E[ne]=new Wr(ce,pe))}return E?Ki(a.cm,E,y.primIndex):y}function Wo(a,y,x,b,E){var ne=Lt(a,y.line);if(ne.markedSpans)for(var le=0;le<ne.markedSpans.length;++le){var ue=ne.markedSpans[le],ce=ue.marker,pe="selectLeft"in ce?!ce.selectLeft:ce.inclusiveLeft,We="selectRight"in ce?!ce.selectRight:ce.inclusiveRight;if((ue.from==null||(pe?ue.from<=y.ch:ue.from<y.ch))&&(ue.to==null||(We?ue.to>=y.ch:ue.to>y.ch))){if(E&&(Gt(ce,"beforeCursorEnter"),ce.explicitlyCleared))if(ne.markedSpans){--le;continue}else break;if(!ce.atomic)continue;if(x){var Ge=ce.find(b<0?1:-1),At=void 0;if((b<0?We:pe)&&(Ge=es(a,Ge,-b,Ge&&Ge.line==y.line?ne:null)),Ge&&Ge.line==y.line&&(At=Fe(Ge,x))&&(b<0?At<0:At>0))return Wo(a,Ge,y,b,E)}var Ct=ce.find(b<0?-1:1);return(b<0?pe:We)&&(Ct=es(a,Ct,b,Ct.line==y.line?ne:null)),Ct?Wo(a,Ct,y,b,E):null}}return y}function Ta(a,y,x,b,E){var ne=b||1,le=Wo(a,y,x,ne,E)||!E&&Wo(a,y,x,ne,!0)||Wo(a,y,x,-ne,E)||!E&&Wo(a,y,x,-ne,!0);return le||(a.cantEdit=!0,we(a.first,0))}function es(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?xt(a,we(y.line-1)):null:x>0&&y.ch==(b||Lt(a,y.line)).text.length?y.line<a.first+a.size-1?we(y.line+1,0):null:new we(y.line,y.ch+x)}function ts(a){a.setSelection(we(a.firstLine(),0),we(a.lastLine()),Re)}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(E,ne,le,ue){E&&(b.from=xt(a,E)),ne&&(b.to=xt(a,ne)),le&&(b.text=le),ue!==void 0&&(b.origin=ue)}),Gt(a,"beforeChange",a,b),a.cm&&Gt(a.cm,"beforeChange",a.cm,b),b.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:b.from,to:b.to,text:b.text,origin:b.origin}}function Ro(a,y,x){if(a.cm){if(!a.cm.curOp)return oi(a.cm,Ro)(a,y,x);if(a.cm.state.suppressEdits)return}if(!((Dt(a,"beforeChange")||a.cm&&Dt(a.cm,"beforeChange"))&&(y=ns(a,y,!0),!y))){var b=er&&!x&&Zr(a,y.from,y.to);if(b)for(var E=b.length-1;E>=0;--E)rs(a,{from:b[E].from,to:b[E].to,text:E?[""]:y.text,origin:y.origin});else rs(a,y)}}function rs(a,y){if(!(y.text.length==1&&y.text[0]==""&&Fe(y.from,y.to)==0)){var x=il(a,y);Gl(a,y,x,a.cm?a.cm.curOp.id:NaN),oa(a,y,x,wr(a,y));var b=[];go(a,function(E,ne){!ne&&pt(b,E.history)==-1&&(ls(E.history,y),b.push(E.history)),oa(E,y,null,wr(E,y))})}}function Na(a,y,x){var b=a.cm&&a.cm.state.suppressEdits;if(!(b&&!x)){for(var E=a.history,ne,le=a.sel,ue=y=="undo"?E.done:E.undone,ce=y=="undo"?E.undone:E.done,pe=0;pe<ue.length&&(ne=ue[pe],!(x?ne.ranges&&!ne.equals(a.sel):!ne.ranges));pe++);if(pe!=ue.length){for(E.lastOrigin=E.lastSelOrigin=null;;)if(ne=ue.pop(),ne.ranges){if(ka(ne,ce),x&&!ne.equals(a.sel)){hi(a,ne,{clearRedo:!1});return}le=ne}else if(b){ue.push(ne);return}else break;var We=[];ka(le,ce),ce.push({changes:We,generation:E.generation}),E.generation=ne.generation||++E.maxGeneration;for(var Ge=Dt(a,"beforeChange")||a.cm&&Dt(a.cm,"beforeChange"),At=function(cn){var bn=ne.changes[cn];if(bn.origin=y,Ge&&!ns(a,bn,!1))return ue.length=0,{};We.push(ll(a,bn));var Ln=cn?il(a,bn):Ne(ue);oa(a,bn,Ln,Kl(a,bn)),!cn&&a.cm&&a.cm.scrollIntoView({from:bn.from,to:mo(bn)});var Wn=[];go(a,function(In,Zn){!Zn&&pt(Wn,In.history)==-1&&(ls(In.history,bn),Wn.push(In.history)),oa(In,bn,null,Kl(In,bn))})},Ct=ne.changes.length-1;Ct>=0;--Ct){var Kt=At(Ct);if(Kt)return Kt.v}}}}function is(a,y){if(y!=0&&(a.first+=y,a.sel=new Ni(Pt(a.sel.ranges,function(E){return new Wr(we(E.anchor.line+y,E.anchor.ch),we(E.head.line+y,E.head.ch))}),a.sel.primIndex),a.cm)){wi(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 oi(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 E=y.text.length-1-(a.first-y.from.line);is(a,E),y={from:we(a.first,0),to:we(y.to.line+E,y.to.ch),text:[Ne(y.text)],origin:y.origin}}var ne=a.lastLine();y.to.line>ne&&(y={from:y.from,to:we(ne,Lt(a,ne).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Xt(a,y.from,y.to),x||(x=il(a,y)),a.cm?hu(a.cm,y,b):al(a,y,b),Fa(a,x,Re),a.cantEdit&&Ta(a,we(a.firstLine(),0))&&(a.cantEdit=!1)}}function hu(a,y,x){var b=a.doc,E=a.display,ne=y.from,le=y.to,ue=!1,ce=ne.line;a.options.lineWrapping||(ce=ke(jt(Lt(b,ne.line))),b.iter(ce,le.line+1,function(Ct){if(Ct==E.maxLine)return ue=!0,!0})),b.sel.contains(y.from,y.to)>-1&&Ht(a),al(b,y,x,xl(a)),a.options.lineWrapping||(b.iter(ce,ne.line+y.text.length,function(Ct){var Kt=Br(Ct);Kt>E.maxLineLength&&(E.maxLine=Ct,E.maxLineLength=Kt,E.maxLineChanged=!0,ue=!1)}),ue&&(a.curOp.updateMaxLine=!0)),ir(b,ne.line),na(a,400);var pe=y.text.length-(le.line-ne.line)-1;y.full?wi(a):ne.line==le.line&&y.text.length==1&&!Zl(a.doc,y)?fo(a,ne.line,"text"):wi(a,ne.line,le.line+1,pe);var We=Dt(a,"changes"),Ge=Dt(a,"change");if(Ge||We){var At={from:ne,to:le,text:y.text,removed:y.removed,origin:y.origin};Ge&&Gr(a,"change",a,At),We&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(At)}a.display.selForContextMenu=null}function zo(a,y,x,b,E){var ne;b||(b=x),Fe(b,x)<0&&(ne=[b,x],x=ne[0],b=ne[1]),typeof y=="string"&&(y=a.splitLines(y)),Ro(a,{from:x,to:b,text:y,origin:E})}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 E=0;E<a.length;++E){var ne=a[E],le=!0;if(ne.ranges){ne.copied||(ne=a[E]=ne.deepCopy(),ne.copied=!0);for(var ue=0;ue<ne.ranges.length;ue++)os(ne.ranges[ue].anchor,y,x,b),os(ne.ranges[ue].head,y,x,b);continue}for(var ce=0;ce<ne.changes.length;++ce){var pe=ne.changes[ce];if(x<pe.from.line)pe.from=we(pe.from.line+b,pe.from.ch),pe.to=we(pe.to.line+b,pe.to.ch);else if(y<=pe.to.line){le=!1;break}}le||(a.splice(0,E+1),E=0)}}function ls(a,y){var x=y.from.line,b=y.to.line,E=y.text.length-(b-x)-1;as(a.done,x,b,E),as(a.undone,x,b,E)}function aa(a,y,x,b){var E=y,ne=y;return typeof y=="number"?ne=Lt(a,Tt(a,y)):E=ke(y),E==null?null:(b(ne,E)&&a.cm&&fo(a.cm,E,x),ne)}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 E=this.lines[x];this.height-=E.height,Mr(E),Gr(E,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,x){this.height+=x,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var b=0;b<y.length;++b)y[b].parent=this},iterN:function(a,y,x){for(var b=a+y;a<b;++a)if(x(this.lines[a]))return!0}};function sa(a){this.children=a;for(var y=0,x=0,b=0;b<a.length;++b){var E=a[b];y+=E.chunkSize(),x+=E.height,E.parent=this}this.size=y,this.height=x,this.parent=null}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],E=b.chunkSize();if(a<E){var ne=Math.min(y,E-a),le=b.height;if(b.removeInner(a,ne),this.height-=le-b.height,E==ne&&(this.children.splice(x--,1),b.parent=null),(y-=ne)==0)break;a=0}else a-=E}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof la))){var ue=[];this.collapse(ue),this.children=[new la(ue)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,x){this.size+=y.length,this.height+=x;for(var b=0;b<this.children.length;++b){var E=this.children[b],ne=E.chunkSize();if(a<=ne){if(E.insertInner(a,y,x),E.lines&&E.lines.length>50){for(var le=E.lines.length%25+25,ue=le;ue<E.lines.length;){var ce=new la(E.lines.slice(ue,ue+=25));E.height-=ce.height,this.children.splice(++b,0,ce),ce.parent=this}E.lines=E.lines.slice(0,le),this.maybeSpill()}break}a-=ne}},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 E=pt(a.parent.children,a);a.parent.children.splice(E+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 E=this.children[b],ne=E.chunkSize();if(a<ne){var le=Math.min(y,ne-a);if(E.iterN(a,le,x))return!0;if((y-=le)==0)break;a=0}else a-=ne}}};var ua=function(a,y,x){if(x)for(var b in x)x.hasOwnProperty(b)&&(this[b]=x[b]);this.doc=a,this.node=y};ua.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,x=this.line,b=ke(x);if(!(b==null||!y)){for(var E=0;E<y.length;++E)y[E]==this&&y.splice(E--,1);y.length||(x.widgets=null);var ne=vi(this);Qn(x,Math.max(0,x.height-ne)),a&&(Mi(a,function(){ss(a,x,-ne),fo(a,b,"widget")}),Gr(a,"lineWidgetCleared",a,this,b))}},ua.prototype.changed=function(){var a=this,y=this.height,x=this.doc.cm,b=this.line;this.height=null;var E=vi(this)-y;E&&(wn(this.doc,b)||Qn(b,b.height+E),x&&Mi(x,function(){x.curOp.forceUpdate=!0,ss(x,b,E),Gr(x,"lineWidgetChanged",x,a,ke(b))}))},Rt(ua);function ss(a,y,x){rr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&$a(a,x)}function pu(a,y,x,b){var E=new ua(a,x,b),ne=a.cm;return ne&&E.noHScroll&&(ne.display.alignWidgets=!0),aa(a,y,"widget",function(le){var ue=le.widgets||(le.widgets=[]);if(E.insertAt==null?ue.push(E):ue.splice(Math.min(ue.length-1,Math.max(0,E.insertAt)),0,E),E.line=le,ne&&!wn(a,le)){var ce=rr(le)<a.scrollTop;Qn(le,le.height+vi(E)),ce&&$a(ne,E.height),ne.curOp.forceUpdate=!0}return!0}),ne&&Gr(ne,"lineWidgetAdded",ne,E,typeof y=="number"?y:ke(y)),E}var us=0,vo=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++us};vo.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Bo(a),Dt(this,"clear")){var x=this.find();x&&Gr(this,"clear",x.from,x.to)}for(var b=null,E=null,ne=0;ne<this.lines.length;++ne){var le=this.lines[ne],ue=gr(le.markedSpans,this);a&&!this.collapsed?fo(a,ke(le),"text"):a&&(ue.to!=null&&(E=ke(le)),ue.from!=null&&(b=ke(le))),le.markedSpans=xr(le.markedSpans,ue),ue.from==null&&this.collapsed&&!wn(this.doc,le)&&a&&Qn(le,Di(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ce=0;ce<this.lines.length;++ce){var pe=jt(this.lines[ce]),We=Br(pe);We>a.display.maxLineLength&&(a.display.maxLine=pe,a.display.maxLineLength=We,a.display.maxLineChanged=!0)}b!=null&&a&&this.collapsed&&wi(a,b,E+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&$l(a.doc)),a&&Gr(a,"markerCleared",a,this,b,E),y&&Lo(a),this.parent&&this.parent.clear()}},vo.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var x,b,E=0;E<this.lines.length;++E){var ne=this.lines[E],le=gr(ne.markedSpans,this);if(le.from!=null&&(x=we(y?ne:ke(ne),le.from),a==-1))return x;if(le.to!=null&&(b=we(y?ne:ke(ne),le.to),a==1))return b}return x&&{from:x,to:b}},vo.prototype.changed=function(){var a=this,y=this.find(-1,!0),x=this,b=this.doc.cm;!y||!b||Mi(b,function(){var E=y.line,ne=ke(y.line),le=_i(b,ne);if(le&&(Ko(le),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!wn(x.doc,E)&&x.height!=null){var ue=x.height;x.height=null;var ce=vi(x)-ue;ce&&Qn(E,E.height+ce)}Gr(b,"markerChanged",b,a)})},vo.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||pt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},vo.prototype.detachLine=function(a){if(this.lines.splice(pt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Rt(vo);function Ho(a,y,x,b,E){if(b&&b.shared)return mu(a,y,x,b,E);if(a.cm&&!a.cm.curOp)return oi(a.cm,Ho)(a,y,x,b,E);var ne=new vo(a,E),le=Fe(y,x);if(b&&zt(b,ne,!1),le>0||le==0&&ne.clearWhenEmpty!==!1)return ne;if(ne.replacedWith&&(ne.collapsed=!0,ne.widgetNode=ot("span",[ne.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||ne.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(ne.widgetNode.insertLeft=!0)),ne.collapsed){if(tn(a,y.line,y,x,ne)||y.line!=x.line&&tn(a,x.line,y,x,ne))throw new Error("Inserting collapsed marker partially overlapping an existing one");mr()}ne.addToHistory&&Gl(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var ue=y.line,ce=a.cm,pe;if(a.iter(ue,x.line+1,function(Ge){ce&&ne.collapsed&&!ce.options.lineWrapping&&jt(Ge)==ce.display.maxLine&&(pe=!0),ne.collapsed&&ue!=y.line&&Qn(Ge,0),or(Ge,new cr(ne,ue==y.line?y.ch:null,ue==x.line?x.ch:null)),++ue}),ne.collapsed&&a.iter(y.line,x.line+1,function(Ge){wn(a,Ge)&&Qn(Ge,0)}),ne.clearOnEnter&&Mt(ne,"beforeCursorEnter",function(){return ne.clear()}),ne.readOnly&&(vr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ne.collapsed&&(ne.id=++us,ne.atomic=!0),ce){if(pe&&(ce.curOp.updateMaxLine=!0),ne.collapsed)wi(ce,y.line,x.line+1);else if(ne.className||ne.startStyle||ne.endStyle||ne.css||ne.attributes||ne.title)for(var We=y.line;We<=x.line;We++)fo(ce,We,"text");ne.atomic&&$l(ce.doc),Gr(ce,"markerAdded",ce,ne)}return ne}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();Gr(this,"clear")}},ca.prototype.find=function(a,y){return this.primary.find(a,y)},Rt(ca);function mu(a,y,x,b,E){b=zt(b),b.shared=!1;var ne=[Ho(a,y,x,b,E)],le=ne[0],ue=b.widgetNode;return go(a,function(ce){ue&&(b.widgetNode=ue.cloneNode(!0)),ne.push(Ho(ce,xt(ce,y),xt(ce,x),b,E));for(var pe=0;pe<ce.linked.length;++pe)if(ce.linked[pe].isParent)return;le=Ne(ne)}),new ca(ne,le)}function cs(a){return a.findMarks(we(a.first,0),a.clipPos(we(a.lastLine())),function(y){return y.parent})}function gu(a,y){for(var x=0;x<y.length;x++){var b=y[x],E=b.find(),ne=a.clipPos(E.from),le=a.clipPos(E.to);if(Fe(ne,le)){var ue=Ho(a,ne,le,b.primary,b.primary.type);b.markers.push(ue),ue.parent=b}}}function vu(a){for(var y=function(b){var E=a[b],ne=[E.primary.doc];go(E.primary.doc,function(ce){return ne.push(ce)});for(var le=0;le<E.markers.length;le++){var ue=E.markers[le];pt(ne,ue.doc)==-1&&(ue.parent=null,E.markers.splice(le--,1))}},x=0;x<a.length;x++)y(x)}var yu=0,Si=function(a,y,x,b,E){if(!(this instanceof Si))return new Si(a,y,x,b,E);x==null&&(x=0),sa.call(this,[new la([new Pr("",null)])]),this.first=x,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=x;var ne=we(x,0);this.sel=po(ne),this.history=new Ma(null),this.id=++yu,this.modeOption=y,this.lineSep=b,this.direction=E=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),al(this,{from:ne,to:ne,text:a}),hi(this,po(ne),Re)};Si.prototype=ee(sa.prototype,{constructor:Si,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=kn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:ai(function(a){var y=we(this.first,0),x=this.first+this.size-1;Ro(this,{from:y,to:we(x,Lt(this,x).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&$o(this.cm,0,0),hi(this,po(y),Re)}),replaceRange:function(a,y,x,b){y=xt(this,y),x=x?xt(this,x):y,zo(this,a,y,x,b)},getRange:function(a,y,x){var b=Xt(this,xt(this,a),xt(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(be(this,a))return Lt(this,a)},getLineNumber:function(a){return ke(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Lt(this,a)),jt(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return xt(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:ai(function(a,y,x){Ql(this,xt(this,typeof a=="number"?we(a,y||0):a),null,x)}),setSelection:ai(function(a,y,x){Ql(this,xt(this,a),xt(this,y||a),x)}),extendSelection:ai(function(a,y,x){Oa(this,xt(this,a),y&&xt(this,y),x)}),extendSelections:ai(function(a,y){Xl(this,Qt(this,a),y)}),extendSelectionsBy:ai(function(a,y){var x=Pt(this.sel.ranges,a);Xl(this,Qt(this,x),y)}),setSelections:ai(function(a,y,x){if(a.length){for(var b=[],E=0;E<a.length;E++)b[E]=new Wr(xt(this,a[E].anchor),xt(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),hi(this,Ki(this.cm,b,y),x)}}),addSelection:ai(function(a,y,x){var b=this.sel.ranges.slice(0);b.push(new Wr(xt(this,a),xt(this,y||a))),hi(this,Ki(this.cm,b,b.length-1),x)}),getSelection:function(a){for(var y=this.sel.ranges,x,b=0;b<y.length;b++){var E=Xt(this,y[b].from(),y[b].to());x=x?x.concat(E):E}return a===!1?x:x.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],x=this.sel.ranges,b=0;b<x.length;b++){var E=Xt(this,x[b].from(),x[b].to());a!==!1&&(E=E.join(a||this.lineSeparator())),y[b]=E}return y},replaceSelection:function(a,y,x){for(var b=[],E=0;E<this.sel.ranges.length;E++)b[E]=a;this.replaceSelections(b,y,x||"+input")},replaceSelections:ai(function(a,y,x){for(var b=[],E=this.sel,ne=0;ne<E.ranges.length;ne++){var le=E.ranges[ne];b[ne]={from:le.from(),to:le.to(),text:this.splitLines(a[ne]),origin:x}}for(var ue=y&&y!="end"&&ou(this,b,y),ce=b.length-1;ce>=0;ce--)Ro(this,b[ce]);ue?Jl(this,ue):this.cm&&Fo(this.cm)}),undo:ai(function(){Na(this,"undo")}),redo:ai(function(){Na(this,"redo")}),undoSelection:ai(function(){Na(this,"undo",!0)}),redoSelection:ai(function(){Na(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,x=0,b=0;b<a.done.length;b++)a.done[b].ranges||++y;for(var E=0;E<a.undone.length;E++)a.undone[E].ranges||++x;return{undo:y,redo:x}},clearHistory:function(){var a=this;this.history=new Ma(this.history.maxGeneration),go(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:No(this.history.done),undone:No(this.history.undone)}},setHistory:function(a){var y=this.history=new Ma(this.history.maxGeneration);y.done=No(a.done.slice(0),null,!0),y.undone=No(a.undone.slice(0),null,!0)},setGutterMarker:ai(function(a,y,x){return aa(this,a,"gutter",function(b){var E=b.gutterMarkers||(b.gutterMarkers={});return E[y]=x,!x&&re(E)&&(b.gutterMarkers=null),!0})}),clearGutter:ai(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(!be(this,a)||(y=a,a=Lt(this,a),!a))return null}else if(y=ke(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:ai(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!b[E])b[E]=x;else{if(qe(x).test(b[E]))return!1;b[E]+=" "+x}return!0})}),removeLineClass:ai(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ne=b[E];if(ne)if(x==null)b[E]=null;else{var le=ne.match(qe(x));if(!le)return!1;var ue=le.index+le[0].length;b[E]=ne.slice(0,le.index)+(!le.index||ue==ne.length?"":" ")+ne.slice(ue)||null}else return!1;return!0})}),addLineWidget:ai(function(a,y,x){return pu(this,a,y,x)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,x){return Ho(this,xt(this,a),xt(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=xt(this,a),Ho(this,a,a,x,"bookmark")},findMarksAt:function(a){a=xt(this,a);var y=[],x=Lt(this,a.line).markedSpans;if(x)for(var b=0;b<x.length;++b){var E=x[b];(E.from==null||E.from<=a.ch)&&(E.to==null||E.to>=a.ch)&&y.push(E.marker.parent||E.marker)}return y},findMarks:function(a,y,x){a=xt(this,a),y=xt(this,y);var b=[],E=a.line;return this.iter(a.line,y.line+1,function(ne){var le=ne.markedSpans;if(le)for(var ue=0;ue<le.length;ue++){var ce=le[ue];!(ce.to!=null&&E==a.line&&a.ch>=ce.to||ce.from==null&&E!=a.line||ce.from!=null&&E==y.line&&ce.from>=y.ch)&&(!x||x(ce.marker))&&b.push(ce.marker.parent||ce.marker)}++E}),b},getAllMarks:function(){var a=[];return this.iter(function(y){var x=y.markedSpans;if(x)for(var b=0;b<x.length;++b)x[b].from!=null&&a.push(x[b].marker)}),a},posFromIndex:function(a){var y,x=this.first,b=this.lineSeparator().length;return this.iter(function(E){var ne=E.text.length+b;if(ne>a)return y=a,!0;a-=ne,++x}),xt(this,we(x,y))},indexFromPos:function(a){a=xt(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 Si(kn(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 Si(kn(this,y,x),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(b.history=this.history),(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist}),b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],gu(b,cs(this)),b},unlinkDoc:function(a){if(a instanceof Yr&&(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),vu(cs(this));break}}if(a.history==this.history){var b=[a.id];go(a,function(E){return b.push(E.id)},!0),a.history=new Ma(null),a.history.done=No(this.history.done,b),a.history.undone=No(this.history.undone,b)}},iterLinkedDocs:function(a){go(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):an(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:ai(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))})}),Si.prototype.eachLine=Si.prototype.iter;var ds=0;function bu(a){var y=this;if(fs(y),!(ft(y,a)||ui(y.display,a))){nn(a),Ce&&(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 E=b.length,ne=Array(E),le=0,ue=function(){++le==E&&oi(y,function(){x=xt(y.doc,x);var Ct={from:x,to:x,text:y.doc.splitLines(ne.filter(function(Kt){return Kt!=null}).join(y.doc.lineSeparator())),origin:"paste"};Ro(y.doc,Ct),Jl(y.doc,po(xt(y.doc,x),xt(y.doc,mo(Ct))))})()},ce=function(Ct,Kt){if(y.options.allowDropFileTypes&&pt(y.options.allowDropFileTypes,Ct.type)==-1){ue();return}var cn=new FileReader;cn.onerror=function(){return ue()},cn.onload=function(){var bn=cn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(bn)){ue();return}ne[Kt]=bn,ue()},cn.readAsText(Ct)},pe=0;pe<b.length;pe++)ce(b[pe],pe);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 We=a.dataTransfer.getData("Text");if(We){var Ge;if(y.state.draggingText&&!y.state.draggingText.copy&&(Ge=y.listSelections()),Fa(y.doc,po(x,x)),Ge)for(var At=0;At<Ge.length;++At)zo(y.doc,"",Ge[At].anchor,Ge[At].head,"drag");y.replaceSelection(We,"around","paste"),y.display.input.focus()}}catch(Ct){}}}}function Cu(a,y){if(Ce&&(!a.state.draggingText||+new Date-ds<100)){Pe(y);return}if(!(ft(a,y)||ui(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ve)){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 xu(a,y){var x=wo(a,y);if(x){var b=document.createDocumentFragment();Al(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)),Je(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 E=y[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var ne=0;ne<x.length;ne++)a(x[ne])})}}var ps=!1;function wu(){ps||(Su(),ps=!0)}function Su(){var a;Mt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,hs(Au)},100))}),Mt(window,"blur",function(){return hs(Oo)})}function Au(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 Wa=65;Wa<=90;Wa++)yo[Wa]=String.fromCharCode(Wa);for(var fa=1;fa<=12;fa++)yo[fa+111]=yo[fa+63235]="F"+fa;var io={};io.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"},io.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"},io.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"},io.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"]},io.default=Le?io.macDefault:io.pcDefault;function Eu(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var x,b,E,ne,le=0;le<y.length-1;le++){var ue=y[le];if(/^(cmd|meta|m)$/i.test(ue))ne=!0;else if(/^a(lt)?$/i.test(ue))x=!0;else if(/^(c|ctrl|control)$/i.test(ue))b=!0;else if(/^s(hift)?$/i.test(ue))E=!0;else throw new Error("Unrecognized modifier name: "+ue)}return x&&(a="Alt-"+a),b&&(a="Ctrl-"+a),ne&&(a="Cmd-"+a),E&&(a="Shift-"+a),a}function Bu(a){var y={};for(var x in a)if(a.hasOwnProperty(x)){var b=a[x];if(/^(name|fallthrough|(de|at)tach)$/.test(x))continue;if(b=="..."){delete a[x];continue}for(var E=Pt(x.split(" "),Eu),ne=0;ne<E.length;ne++){var le=void 0,ue=void 0;ne==E.length-1?(ue=E.join(" "),le=b):(ue=E.slice(0,ne+1).join(" "),le="...");var ce=y[ue];if(!ce)y[ue]=le;else if(ce!=le)throw new Error("Inconsistent bindings for "+ue)}delete a[x]}for(var pe in y)a[pe]=y[pe];return a}function Zo(a,y,x,b){y=Ra(y);var E=y.call?y.call(a,b):y[a];if(E===!1)return"nothing";if(E==="...")return"multi";if(E!=null&&x(E))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Zo(a,y.fallthrough,x,b);for(var ne=0;ne<y.fallthrough.length;ne++){var le=Zo(a,y.fallthrough[ne],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 gs(a,y,x){var b=a;return y.altKey&&b!="Alt"&&(a="Alt-"+a),(ct?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(ct?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function vs(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),gs(x,a,y))}function Ra(a){return typeof a=="string"?io[a]:a}function jo(a,y){for(var x=a.doc.sel.ranges,b=[],E=0;E<x.length;E++){for(var ne=y(x[E]);b.length&&Fe(ne.from,Ne(b).to)<=0;){var le=b.pop();if(Fe(le.from,ne.from)<0){ne.from=le.from;break}}b.push(ne)}Mi(a,function(){for(var ue=b.length-1;ue>=0;ue--)zo(a.doc,"",b[ue].from,b[ue].to,"+delete");Fo(a)})}function cl(a,y,x){var b=rt(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 we(y.line,b,x<0?"after":"before")}function fl(a,y,x,b,E){if(a){y.doc.direction=="rtl"&&(E=-E);var ne=Ft(x,y.doc.direction);if(ne){var le=E<0?Ne(ne):ne[0],ue=E<0==(le.level==1),ce=ue?"after":"before",pe;if(le.level>0||y.doc.direction=="rtl"){var We=uo(y,x);pe=E<0?x.text.length-1:0;var Ge=Hi(y,We,pe).top;pe=Ae(function(At){return Hi(y,We,At).top==Ge},E<0==(le.level==1)?le.from:le.to-1,pe),ce=="before"&&(pe=cl(x,pe,1))}else pe=E<0?le.to:le.from;return new we(b,pe,ce)}}return new we(b,E<0?x.text.length:0,E<0?"before":"after")}function Lu(a,y,x,b){var E=Ft(y,a.doc.direction);if(!E)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 ne=gt(E,x.ch,x.sticky),le=E[ne];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 ue=function(Ln,Wn){return cl(y,Ln instanceof we?Ln.ch:Ln,Wn)},ce,pe=function(Ln){return a.options.lineWrapping?(ce=ce||uo(a,y),Jr(a,y,ce,Ln)):{begin:0,end:y.text.length}},We=pe(x.sticky=="before"?ue(x,-1):x.ch);if(a.doc.direction=="rtl"||le.level==1){var Ge=le.level==1==b<0,At=ue(x,Ge?1:-1);if(At!=null&&(Ge?At<=le.to&&At<=We.end:At>=le.from&&At>=We.begin)){var Ct=Ge?"before":"after";return new we(x.line,At,Ct)}}var Kt=function(Ln,Wn,In){for(var Zn=function(Vr,li){return li?new we(x.line,ue(Vr,1),"before"):new we(x.line,Vr,"after")};Ln>=0&&Ln<E.length;Ln+=Wn){var sr=E[Ln],nr=Wn>0==(sr.level!=1),Sr=nr?In.begin:ue(In.end,-1);if(sr.from<=Sr&&Sr<sr.to||(Sr=nr?sr.from:ue(sr.to,-1),In.begin<=Sr&&Sr<In.end))return Zn(Sr,nr)}},cn=Kt(ne+b,b,We);if(cn)return cn;var bn=b>0?We.end:ue(We.begin,-1);return bn!=null&&!(b>0&&bn==y.text.length)&&(cn=Kt(b>0?0:E.length-1,b,pe(bn)),cn)?cn:null}var ha={selectAll:ts,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Re)},killLine:function(a){return jo(a,function(y){if(y.empty()){var x=Lt(a.doc,y.head.line).text.length;return y.head.ch==x&&y.head.line<a.lastLine()?{from:y.head,to:we(y.head.line+1,0)}:{from:y.head,to:we(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return jo(a,function(y){return{from:we(y.from().line,0),to:xt(a.doc,we(y.to().line+1,0))}})},delLineLeft:function(a){return jo(a,function(y){return{from:we(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return jo(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 jo(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(we(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(we(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 Iu(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")},vt)},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")},vt)},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},vt)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],x=a.listSelections(),b=a.options.tabSize,E=0;E<x.length;E++){var ne=x[E].from(),le=Se(a.getLine(ne.line),ne.ch,b);y.push(Bt(b-le%b))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Mi(a,function(){for(var y=a.listSelections(),x=[],b=0;b<y.length;b++)if(y[b].empty()){var E=y[b].head,ne=Lt(a.doc,E.line).text;if(ne){if(E.ch==ne.length&&(E=new we(E.line,E.ch-1)),E.ch>0)E=new we(E.line,E.ch+1),a.replaceRange(ne.charAt(E.ch-1)+ne.charAt(E.ch-2),we(E.line,E.ch-2),E,"+transpose");else if(E.line>a.doc.first){var le=Lt(a.doc,E.line-1).text;le&&(E=new we(E.line,1),a.replaceRange(ne.charAt(0)+a.doc.lineSeparator()+le.charAt(le.length-1),we(E.line-1,le.length-1),E,"+transpose"))}}x.push(new Wr(E,E))}a.setSelections(x)})},newlineAndIndent:function(a){return Mi(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);Fo(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ys(a,y){var x=Lt(a.doc,y),b=jt(x);return b!=x&&(y=ke(b)),fl(!0,a,b,y,1)}function Iu(a,y){var x=Lt(a.doc,y),b=En(x);return b!=x&&(y=ke(b)),fl(!0,a,x,y,-1)}function bs(a,y){var x=ys(a,y.line),b=Lt(a.doc,x.line),E=Ft(b,a.doc.direction);if(!E||E[0].level==0){var ne=Math.max(x.ch,b.text.search(/\S/)),le=y.line==x.line&&y.ch<=ne&&y.ch;return we(x.line,le?0:ne,x.sticky)}return x}function za(a,y,x){if(typeof y=="string"&&(y=ha[y],!y))return!1;a.display.input.ensurePolled();var b=a.display.shift,E=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),x&&(a.display.shift=!1),E=y(a)!=St}finally{a.display.shift=b,a.state.suppressEdits=!1}return E}function Pu(a,y,x){for(var b=0;b<a.state.keyMaps.length;b++){var E=Zo(y,a.state.keyMaps[b],x,a);if(E)return E}return a.options.extraKeys&&Zo(y,a.options.extraKeys,x,a)||Zo(y,a.options.keyMap,x,a)}var Du=new fe;function pa(a,y,x,b){var E=a.state.keySeq;if(E){if(ms(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Du.set(50,function(){a.state.keySeq==E&&(a.state.keySeq=null,a.display.input.reset())}),Cs(a,E+" "+y,x,b))return!0}return Cs(a,y,x,b)}function Cs(a,y,x,b){var E=Pu(a,y,b);return E=="multi"&&(a.state.keySeq=y),E=="handled"&&Gr(a,"keyHandled",a,y,x),(E=="handled"||E=="multi")&&(nn(x),Qa(a)),!!E}function xs(a,y){var x=vs(y,!0);return x?y.shiftKey&&!a.state.keySeq?pa(a,"Shift-"+x,y,function(b){return za(a,b,!0)})||pa(a,x,y,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return za(a,b)}):pa(a,x,y,function(b){return za(a,b)}):!1}function Mu(a,y,x){return pa(a,"'"+x+"'",y,function(b){return za(a,b,!0)})}var hl=null;function ws(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=et(),!ft(y,a))){Ce&&xe<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=xs(y,a);de&&(hl=b?x:null,!b&&x==88&&!mn&&(Le?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),te&&!Le&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&ku(y)}}function ku(a){var y=a.display.lineDiv;he(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(je(y,"CodeMirror-crosshair"),Wt(document,"keyup",x),Wt(document,"mouseover",x))}Mt(document,"keyup",x),Mt(document,"mouseover",x)}function Ss(a){a.keyCode==16&&(this.doc.sel.shift=!1),ft(this,a)}function As(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(ui(y.display,a)||ft(y,a)||a.ctrlKey&&!a.altKey||Le&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(de&&x==hl){hl=null,nn(a);return}if(!(de&&(!a.which||a.which<10)&&xs(y,a))){var E=String.fromCharCode(b==null?x:b);E!="\b"&&(Mu(y,a,E)||y.display.input.onKeyPress(a))}}}var Ou=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+Ou>a&&Fe(y,this.pos)==0&&x==this.button};var ma,ga;function Fu(a,y){var x=+new Date;return ga&&ga.compare(x,a,y)?(ma=ga=null,"triple"):ma&&ma.compare(x,a,y)?(ga=new pl(x,a,y),ma=null,"double"):(ma=new pl(x,a,y),ga=null,"single")}function Es(a){var y=this,x=y.display;if(!(ft(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,ui(x,a)){Me||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!ml(y,a)){var b=wo(y,a),E=nt(a),ne=b?Fu(b,E):"single";window.focus(),E==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&Tu(y,E,b,ne,a))&&(E==1?b?Wu(y,b,ne,a):_e(a)==x.scroller&&nn(a):E==2?(b&&Oa(y.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&($e?y.display.input.onContextMenu(a):Bl(y)))}}}function Tu(a,y,x,b,E){var ne="Click";return b=="double"?ne="Double"+ne:b=="triple"&&(ne="Triple"+ne),ne=(y==1?"Left":y==2?"Middle":"Right")+ne,pa(a,gs(ne,E),E,function(le){if(typeof le=="string"&&(le=ha[le]),!le)return!1;var ue=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ue=le(a,x)!=St}finally{a.state.suppressEdits=!1}return ue})}function Nu(a,y,x){var b=a.getOption("configureMouse"),E=b?b(a,y,x):{};if(E.unit==null){var ne=Qe?x.shiftKey&&x.metaKey:x.altKey;E.unit=ne?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(E.extend==null||a.doc.extend)&&(E.extend=a.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=Le?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Le?x.altKey:x.ctrlKey)),E}function Wu(a,y,x,b){Ce?setTimeout(It(El,a),0):a.curOp.focus=et();var E=Nu(a,x,b),ne=a.doc.sel,le;a.options.dragDrop&&kt&&!a.isReadOnly()&&x=="single"&&(le=ne.contains(y))>-1&&(Fe((le=ne.ranges[le]).from(),y)<0||y.xRel>0)&&(Fe(le.to(),y)>0||y.xRel<0)?Ru(a,b,y,E):zu(a,b,y,E)}function Ru(a,y,x,b){var E=a.display,ne=!1,le=oi(a,function(pe){Me&&(E.scroller.draggable=!1),a.state.draggingText=!1,Wt(E.wrapper.ownerDocument,"mouseup",le),Wt(E.wrapper.ownerDocument,"mousemove",ue),Wt(E.scroller,"dragstart",ce),Wt(E.scroller,"drop",le),ne||(nn(pe),b.addNew||Oa(a.doc,x,null,null,b.extend),Me&&!Ve||Ce&&xe==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),ue=function(pe){ne=ne||Math.abs(y.clientX-pe.clientX)+Math.abs(y.clientY-pe.clientY)>=10},ce=function(){return ne=!0};Me&&(E.scroller.draggable=!0),a.state.draggingText=le,le.copy=!b.moveOnDrag,E.scroller.dragDrop&&E.scroller.dragDrop(),Mt(E.wrapper.ownerDocument,"mouseup",le),Mt(E.wrapper.ownerDocument,"mousemove",ue),Mt(E.scroller,"dragstart",ce),Mt(E.scroller,"drop",le),Bl(a),setTimeout(function(){return E.input.focus()},20)}function Bs(a,y,x){if(x=="char")return new Wr(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new Wr(we(y.line,0),xt(a.doc,we(y.line+1,0)));var b=x(a,y);return new Wr(b.from,b.to)}function zu(a,y,x,b){var E=a.display,ne=a.doc;nn(y);var le,ue,ce=ne.sel,pe=ce.ranges;if(b.addNew&&!b.extend?(ue=ne.sel.contains(x),ue>-1?le=pe[ue]:le=new Wr(x,x)):(le=ne.sel.primary(),ue=ne.sel.primIndex),b.unit=="rectangle")b.addNew||(le=new Wr(x,x)),x=wo(a,y,!0,!0),ue=-1;else{var We=Bs(a,x,b.unit);b.extend?le=sl(le,We.anchor,We.head,b.extend):le=We}b.addNew?ue==-1?(ue=pe.length,hi(ne,Ki(a,pe.concat([le]),ue),{scroll:!1,origin:"*mouse"})):pe.length>1&&pe[ue].empty()&&b.unit=="char"&&!b.extend?(hi(ne,Ki(a,pe.slice(0,ue).concat(pe.slice(ue+1)),0),{scroll:!1,origin:"*mouse"}),ce=ne.sel):ul(ne,ue,le,at):(ue=0,hi(ne,new Ni([le],0),at),ce=ne.sel);var Ge=x;function At(In){if(Fe(Ge,In)!=0)if(Ge=In,b.unit=="rectangle"){for(var Zn=[],sr=a.options.tabSize,nr=Se(Lt(ne,x.line).text,x.ch,sr),Sr=Se(Lt(ne,In.line).text,In.ch,sr),Vr=Math.min(nr,Sr),li=Math.max(nr,Sr),Kr=Math.min(x.line,In.line),ki=Math.min(a.lastLine(),Math.max(x.line,In.line));Kr<=ki;Kr++){var Ai=Lt(ne,Kr).text,_r=sn(Ai,Vr,sr);Vr==li?Zn.push(new Wr(we(Kr,_r),we(Kr,_r))):Ai.length>_r&&Zn.push(new Wr(we(Kr,_r),we(Kr,sn(Ai,li,sr))))}Zn.length||Zn.push(new Wr(x,x)),hi(ne,Ki(a,ce.ranges.slice(0,ue).concat(Zn),ue),{origin:"*mouse",scroll:!1}),a.scrollIntoView(In)}else{var Ei=le,di=Bs(a,In,b.unit),ii=Ei.anchor,ei;Fe(di.anchor,ii)>0?(ei=di.head,ii=rn(Ei.from(),di.anchor)):(ei=di.anchor,ii=Yt(Ei.to(),di.head));var Xr=ce.ranges.slice(0);Xr[ue]=Hu(a,new Wr(xt(ne,ii),ei)),hi(ne,Ki(a,Xr,ue),at)}}var Ct=E.wrapper.getBoundingClientRect(),Kt=0;function cn(In){var Zn=++Kt,sr=wo(a,In,!0,b.unit=="rectangle");if(sr)if(Fe(sr,Ge)!=0){a.curOp.focus=et(),At(sr);var nr=La(E,ne);(sr.line>=nr.to||sr.line<nr.from)&&setTimeout(oi(a,function(){Kt==Zn&&cn(In)}),150)}else{var Sr=In.clientY<Ct.top?-20:In.clientY>Ct.bottom?20:0;Sr&&setTimeout(oi(a,function(){Kt==Zn&&(E.scroller.scrollTop+=Sr,cn(In))}),50)}}function bn(In){a.state.selectingText=!1,Kt=1/0,In&&(nn(In),E.input.focus()),Wt(E.wrapper.ownerDocument,"mousemove",Ln),Wt(E.wrapper.ownerDocument,"mouseup",Wn),ne.history.lastSelOrigin=null}var Ln=oi(a,function(In){In.buttons===0||!nt(In)?bn(In):cn(In)}),Wn=oi(a,bn);a.state.selectingText=Wn,Mt(E.wrapper.ownerDocument,"mousemove",Ln),Mt(E.wrapper.ownerDocument,"mouseup",Wn)}function Hu(a,y){var x=y.anchor,b=y.head,E=Lt(a.doc,x.line);if(Fe(x,b)==0&&x.sticky==b.sticky)return y;var ne=Ft(E);if(!ne)return y;var le=gt(ne,x.ch,x.sticky),ue=ne[le];if(ue.from!=x.ch&&ue.to!=x.ch)return y;var ce=le+(ue.from==x.ch==(ue.level!=1)?0:1);if(ce==0||ce==ne.length)return y;var pe;if(b.line!=x.line)pe=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var We=gt(ne,b.ch,b.sticky),Ge=We-le||(b.ch-x.ch)*(ue.level==1?-1:1);We==ce-1||We==ce?pe=Ge<0:pe=Ge>0}var At=ne[ce+(pe?-1:0)],Ct=pe==(At.level==1),Kt=Ct?At.from:At.to,cn=Ct?"after":"before";return x.ch==Kt&&x.sticky==cn?y:new Wr(new we(x.line,Kt,cn),b)}function Ls(a,y,x,b){var E,ne;if(y.touches)E=y.touches[0].clientX,ne=y.touches[0].clientY;else try{E=y.clientX,ne=y.clientY}catch(At){return!1}if(E>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&nn(y);var le=a.display,ue=le.lineDiv.getBoundingClientRect();if(ne>ue.bottom||!Dt(a,x))return fn(y);ne-=ue.top-le.viewOffset;for(var ce=0;ce<a.display.gutterSpecs.length;++ce){var pe=le.gutters.childNodes[ce];if(pe&&pe.getBoundingClientRect().right>=E){var We=Ye(a.doc,ne),Ge=a.display.gutterSpecs[ce];return Gt(a,x,a,We,Ge.className,y),fn(y)}}}function ml(a,y){return Ls(a,y,"gutterClick",!0)}function Is(a,y){ui(a.display,y)||Zu(a,y)||ft(a,y,"contextmenu")||$e||a.display.input.onContextMenu(y)}function Zu(a,y){return Dt(a,"gutterContextMenu")?Ls(a,y,"gutterContextMenu",!1):!1}function Ps(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),xo(a)}var Vo={toString:function(){return"CodeMirror.Init"}},Ds={},Ha={};function ju(a){var y=a.optionHandlers;function x(b,E,ne,le){a.defaults[b]=E,ne&&(y[b]=le?function(ue,ce,pe){pe!=Vo&&ne(ue,ce,pe)}:ne)}a.defineOption=x,a.Init=Vo,x("value","",function(b,E){return b.setValue(E)},!0),x("mode",null,function(b,E){b.doc.modeOption=E,ol(b)},!0),x("indentUnit",2,ol,!0),x("indentWithTabs",!1),x("smartIndent",!0),x("tabSize",4,function(b){ia(b),xo(b),wi(b)},!0),x("lineSeparator",null,function(b,E){if(b.doc.lineSep=E,!!E){var ne=[],le=b.doc.first;b.doc.iter(function(ce){for(var pe=0;;){var We=ce.text.indexOf(E,pe);if(We==-1)break;pe=We+E.length,ne.push(we(le,We))}le++});for(var ue=ne.length-1;ue>=0;ue--)zo(b.doc,E,ne[ue],we(ne[ue].line,ne[ue].ch+E.length))}}),x("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(b,E,ne){b.state.specialChars=new RegExp(E.source+(E.test(" ")?"":"| "),"g"),ne!=Vo&&b.refresh()}),x("specialCharPlaceholder",Li,function(b){return b.refresh()},!0),x("electricChars",!0),x("inputStyle",Ie?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),x("spellcheck",!1,function(b,E){return b.getInputField().spellcheck=E},!0),x("autocorrect",!1,function(b,E){return b.getInputField().autocorrect=E},!0),x("autocapitalize",!1,function(b,E){return b.getInputField().autocapitalize=E},!0),x("rtlMoveVisually",!ht),x("wholeLineUpdateBefore",!0),x("theme","default",function(b){Ps(b),ra(b)},!0),x("keyMap","default",function(b,E,ne){var le=Ra(E),ue=ne!=Vo&&Ra(ne);ue&&ue.detach&&ue.detach(b,le),le.attach&&le.attach(b,ue||null)}),x("extraKeys",null),x("configureMouse",null),x("lineWrapping",!1,Uu,!0),x("gutters",[],function(b,E){b.display.gutterSpecs=rl(E,b.options.lineNumbers),ra(b)},!0),x("fixedGutter",!0,function(b,E){b.display.gutters.style.left=E?Ka(b.display)+"px":"0",b.refresh()},!0),x("coverGutterNextToScrollbar",!1,function(b){return To(b)},!0),x("scrollbarStyle","native",function(b){kl(b),To(b),b.display.scrollbars.setScrollTop(b.doc.scrollTop),b.display.scrollbars.setScrollLeft(b.doc.scrollLeft)},!0),x("lineNumbers",!1,function(b,E){b.display.gutterSpecs=rl(b.options.gutters,E),ra(b)},!0),x("firstLineNumber",1,ra,!0),x("lineNumberFormatter",function(b){return b},ra,!0),x("showCursorWhenSelecting",!1,qo,!0),x("resetSelectionOnContextMenu",!0),x("lineWiseCopyCut",!0),x("pasteLinesPerSelection",!0),x("selectionsMayTouch",!1),x("readOnly",!1,function(b,E){E=="nocursor"&&(Oo(b),b.display.input.blur()),b.display.input.readOnlyChanged(E)}),x("screenReaderLabel",null,function(b,E){E=E===""?null:E,b.display.input.screenReaderLabelChanged(E)}),x("disableInput",!1,function(b,E){E||b.display.input.reset()},!0),x("dragDrop",!0,Vu),x("allowDropFileTypes",null),x("cursorBlinkRate",530),x("cursorScrollMargin",0),x("cursorHeight",1,qo,!0),x("singleCursorHeightPerLine",!0,qo,!0),x("workTime",100),x("workDelay",100),x("flattenSpans",!0,ia,!0),x("addModeClass",!1,ia,!0),x("pollInterval",100),x("undoDepth",200,function(b,E){return b.doc.history.undoDepth=E}),x("historyEventDelay",1250),x("viewportMargin",10,function(b){return b.refresh()},!0),x("maxHighlightLength",1e4,ia,!0),x("moveInputWithCursor",!0,function(b,E){E||b.display.input.resetPosition()}),x("tabindex",null,function(b,E){return b.display.input.getField().tabIndex=E||""}),x("autofocus",null),x("direction","ltr",function(b,E){return b.doc.setDirection(E)},!0),x("phrases",null)}function Vu(a,y,x){var b=x&&x!=Vo;if(!y!=!b){var E=a.display.dragFunctions,ne=y?Mt:Wt;ne(a.display.scroller,"dragstart",E.start),ne(a.display.scroller,"dragenter",E.enter),ne(a.display.scroller,"dragover",E.over),ne(a.display.scroller,"dragleave",E.leave),ne(a.display.scroller,"drop",E.drop)}}function Uu(a){a.options.lineWrapping?(he(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(je(a.display.wrapper,"CodeMirror-wrap"),br(a)),Xa(a),wi(a),xo(a),setTimeout(function(){return To(a)},100)}function Yr(a,y){var x=this;if(!(this instanceof Yr))return new Yr(a,y);this.options=y=y?zt(y):{},zt(Ds,y,!1);var b=y.value;typeof b=="string"?b=new Si(b,y.mode,null,y.lineSeparator,y.direction):y.mode&&(b.modeOption=y.mode),this.doc=b;var E=new Yr.inputStyles[y.inputStyle](this),ne=this.display=new ru(a,b,E,y);ne.wrapper.CodeMirror=this,Ps(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),kl(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&&!Ie&&ne.input.focus(),Ce&&xe<11&&setTimeout(function(){return x.display.input.reset(!0)},20),Gu(this),wu(),Bo(this),this.curOp.forceUpdate=!0,jl(this,b),y.autofocus&&!Ie||this.hasFocus()?setTimeout(function(){x.hasFocus()&&!x.state.focused&&Ja(x)},20):Oo(this);for(var le in Ha)Ha.hasOwnProperty(le)&&Ha[le](this,y[le],Vo);Tl(this),y.finishInit&&y.finishInit(this);for(var ue=0;ue<gl.length;++ue)gl[ue](this);Lo(this),Me&&y.lineWrapping&&getComputedStyle(ne.lineDiv).textRendering=="optimizelegibility"&&(ne.lineDiv.style.textRendering="auto")}Yr.defaults=Ds,Yr.optionHandlers=Ha;function Gu(a){var y=a.display;Mt(y.scroller,"mousedown",oi(a,Es)),Ce&&xe<11?Mt(y.scroller,"dblclick",oi(a,function(ce){if(!ft(a,ce)){var pe=wo(a,ce);if(!(!pe||ml(a,ce)||ui(a.display,ce))){nn(ce);var We=a.findWordAt(pe);Oa(a.doc,We.anchor,We.head)}}})):Mt(y.scroller,"dblclick",function(ce){return ft(a,ce)||nn(ce)}),Mt(y.scroller,"contextmenu",function(ce){return Is(a,ce)}),Mt(y.input.getField(),"contextmenu",function(ce){y.scroller.contains(ce.target)||Is(a,ce)});var x,b={end:0};function E(){y.activeTouch&&(x=setTimeout(function(){return y.activeTouch=null},1e3),b=y.activeTouch,b.end=+new Date)}function ne(ce){if(ce.touches.length!=1)return!1;var pe=ce.touches[0];return pe.radiusX<=1&&pe.radiusY<=1}function le(ce,pe){if(pe.left==null)return!0;var We=pe.left-ce.left,Ge=pe.top-ce.top;return We*We+Ge*Ge>20*20}Mt(y.scroller,"touchstart",function(ce){if(!ft(a,ce)&&!ne(ce)&&!ml(a,ce)){y.input.ensurePolled(),clearTimeout(x);var pe=+new Date;y.activeTouch={start:pe,moved:!1,prev:pe-b.end<=300?b:null},ce.touches.length==1&&(y.activeTouch.left=ce.touches[0].pageX,y.activeTouch.top=ce.touches[0].pageY)}}),Mt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Mt(y.scroller,"touchend",function(ce){var pe=y.activeTouch;if(pe&&!ui(y,ce)&&pe.left!=null&&!pe.moved&&new Date-pe.start<300){var We=a.coordsChar(y.activeTouch,"page"),Ge;!pe.prev||le(pe,pe.prev)?Ge=new Wr(We,We):!pe.prev.prev||le(pe,pe.prev.prev)?Ge=a.findWordAt(We):Ge=new Wr(we(We.line,0),xt(a.doc,we(We.line+1,0))),a.setSelection(Ge.anchor,Ge.head),a.focus(),nn(ce)}E()}),Mt(y.scroller,"touchcancel",E),Mt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(_o(a,y.scroller.scrollTop),Ao(a,y.scroller.scrollLeft,!0),Gt(a,"scroll",a))}),Mt(y.scroller,"mousewheel",function(ce){return Rl(a,ce)}),Mt(y.scroller,"DOMMouseScroll",function(ce){return Rl(a,ce)}),Mt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ce){ft(a,ce)||Pe(ce)},over:function(ce){ft(a,ce)||(xu(a,ce),Pe(ce))},start:function(ce){return Cu(a,ce)},drop:oi(a,bu),leave:function(ce){ft(a,ce)||fs(a)}};var ue=y.input.getField();Mt(ue,"keyup",function(ce){return Ss.call(a,ce)}),Mt(ue,"keydown",oi(a,ws)),Mt(ue,"keypress",oi(a,As)),Mt(ue,"focus",function(ce){return Ja(a,ce)}),Mt(ue,"blur",function(ce){return Oo(a,ce)})}var gl=[];Yr.defineInitHook=function(a){return gl.push(a)};function va(a,y,x,b){var E=a.doc,ne;x==null&&(x="add"),x=="smart"&&(E.mode.indent?ne=Jn(a,y).state:x="prev");var le=a.options.tabSize,ue=Lt(E,y),ce=Se(ue.text,null,le);ue.stateAfter&&(ue.stateAfter=null);var pe=ue.text.match(/^\s*/)[0],We;if(!b&&!/\S/.test(ue.text))We=0,x="not";else if(x=="smart"&&(We=E.mode.indent(ne,ue.text.slice(pe.length),ue.text),We==St||We>150)){if(!b)return;x="prev"}x=="prev"?y>E.first?We=Se(Lt(E,y-1).text,null,le):We=0:x=="add"?We=ce+a.options.indentUnit:x=="subtract"?We=ce-a.options.indentUnit:typeof x=="number"&&(We=ce+x),We=Math.max(0,We);var Ge="",At=0;if(a.options.indentWithTabs)for(var Ct=Math.floor(We/le);Ct;--Ct)At+=le,Ge+=" ";if(At<We&&(Ge+=Bt(We-At)),Ge!=pe)return zo(E,Ge,we(y,0),we(y,pe.length),"+input"),ue.stateAfter=null,!0;for(var Kt=0;Kt<E.sel.ranges.length;Kt++){var cn=E.sel.ranges[Kt];if(cn.head.line==y&&cn.head.ch<pe.length){var bn=we(y,pe.length);ul(E,Kt,new Wr(bn,bn));break}}}var Xi=null;function Za(a){Xi=a}function vl(a,y,x,b,E){var ne=a.doc;a.display.shift=!1,b||(b=ne.sel);var le=+new Date-200,ue=E=="paste"||a.state.pasteIncoming>le,ce=an(y),pe=null;if(ue&&b.ranges.length>1)if(Xi&&Xi.text.join(`
|
|
|
`)==y){if(b.ranges.length%Xi.text.length==0){pe=[];for(var We=0;We<Xi.text.length;We++)pe.push(ne.splitLines(Xi.text[We]))}}else ce.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(pe=Pt(ce,function(Ln){return[Ln]}));for(var Ge=a.curOp.updateInput,At=b.ranges.length-1;At>=0;At--){var Ct=b.ranges[At],Kt=Ct.from(),cn=Ct.to();Ct.empty()&&(x&&x>0?Kt=we(Kt.line,Kt.ch-x):a.state.overwrite&&!ue?cn=we(cn.line,Math.min(Lt(ne,cn.line).text.length,cn.ch+Ne(ce).length)):ue&&Xi&&Xi.lineWise&&Xi.text.join(`
|
|
|
`)==ce.join(`
|
|
|
`)&&(Kt=cn=we(Kt.line,0)));var bn={from:Kt,to:cn,text:pe?pe[At%pe.length]:ce,origin:E||(ue?"paste":a.state.cutIncoming>le?"cut":"+input")};Ro(a.doc,bn),Gr(a,"inputRead",a,bn)}y&&!ue&&ks(a,y),Fo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Ge),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Ms(a,y){var x=a.clipboardData&&a.clipboardData.getData("Text");if(x)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Mi(y,function(){return vl(y,x,0,null,"paste")}),!0}function ks(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var x=a.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var ne=a.getModeAt(E.head),le=!1;if(ne.electricChars){for(var ue=0;ue<ne.electricChars.length;ue++)if(y.indexOf(ne.electricChars.charAt(ue))>-1){le=va(a,E.head.line,"smart");break}}else ne.electricInput&&ne.electricInput.test(Lt(a.doc,E.head.line).text.slice(0,E.head.ch))&&(le=va(a,E.head.line,"smart"));le&&Gr(a,"electricInput",a,E.head.line)}}}function Os(a){for(var y=[],x=[],b=0;b<a.doc.sel.ranges.length;b++){var E=a.doc.sel.ranges[b].head.line,ne={anchor:we(E,0),head:we(E+1,0)};x.push(ne),y.push(a.getRange(ne.anchor,ne.head))}return{text:y,ranges:x}}function Fs(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function Ts(){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 Me?a.style.width="1000px":a.setAttribute("wrap","off"),Xe&&(a.style.border="1px solid black"),Fs(a),y}function Yu(a){var y=a.optionHandlers,x=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(b,E){var ne=this.options,le=ne[b];ne[b]==E&&b!="mode"||(ne[b]=E,y.hasOwnProperty(b)&&oi(this,y[b])(this,E,le),Gt(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Ra(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,ne=0;ne<E.length;++ne)if(E[ne]==b||E[ne].name==b)return E.splice(ne,1),!0},addOverlay:yi(function(b,E){var ne=b.token?b:a.getMode(this.options,b);if(ne.startState)throw new Error("Overlays may not be stateful.");st(this.state.overlays,{mode:ne,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function(le){return le.priority}),this.state.modeGen++,wi(this)}),removeOverlay:yi(function(b){for(var E=this.state.overlays,ne=0;ne<E.length;++ne){var le=E[ne].modeSpec;if(le==b||typeof b=="string"&&le.name==b){E.splice(ne,1),this.state.modeGen++,wi(this);return}}}),indentLine:yi(function(b,E,ne){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),be(this.doc,b)&&va(this,b,E,ne)}),indentSelection:yi(function(b){for(var E=this.doc.sel.ranges,ne=-1,le=0;le<E.length;le++){var ue=E[le];if(ue.empty())ue.head.line>ne&&(va(this,ue.head.line,b,!0),ne=ue.head.line,le==this.doc.sel.primIndex&&Fo(this));else{var ce=ue.from(),pe=ue.to(),We=Math.max(ne,ce.line);ne=Math.min(this.lastLine(),pe.line-(pe.ch?0:1))+1;for(var Ge=We;Ge<ne;++Ge)va(this,Ge,b);var At=this.doc.sel.ranges;ce.ch==0&&E.length==At.length&&At[le].from().ch>0&&ul(this.doc,le,new Wr(ce,At[le].to()),Re)}}}),getTokenAt:function(b,E){return Hn(this,b,E)},getLineTokens:function(b,E){return Hn(this,we(b),E,!0)},getTokenTypeAt:function(b){b=xt(this.doc,b);var E=Vn(this,Lt(this.doc,b.line)),ne=0,le=(E.length-1)/2,ue=b.ch,ce;if(ue==0)ce=E[2];else for(;;){var pe=ne+le>>1;if((pe?E[pe*2-1]:0)>=ue)le=pe;else if(E[pe*2+1]<ue)ne=pe+1;else{ce=E[pe*2+2];break}}var We=ce?ce.indexOf("overlay "):-1;return We<0?ce:We==0?null:ce.slice(0,We-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?a.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var ne=[];if(!x.hasOwnProperty(E))return ne;var le=x[E],ue=this.getModeAt(b);if(typeof ue[E]=="string")le[ue[E]]&&ne.push(le[ue[E]]);else if(ue[E])for(var ce=0;ce<ue[E].length;ce++){var pe=le[ue[E][ce]];pe&&ne.push(pe)}else ue.helperType&&le[ue.helperType]?ne.push(le[ue.helperType]):le[ue.name]&&ne.push(le[ue.name]);for(var We=0;We<le._global.length;We++){var Ge=le._global[We];Ge.pred(ue,this)&&pt(ne,Ge.val)==-1&&ne.push(Ge.val)}return ne},getStateAfter:function(b,E){var ne=this.doc;return b=Tt(ne,b==null?ne.first+ne.size-1:b),Jn(this,b+1,E).state},cursorCoords:function(b,E){var ne,le=this.doc.sel.primary();return b==null?ne=le.head:typeof b=="object"?ne=xt(this.doc,b):ne=b?le.from():le.to(),xi(this,ne,E||"page")},charCoords:function(b,E){return ko(this,xt(this.doc,b),E||"page")},coordsChar:function(b,E){return b=Sa(this,b,E||"page"),ci(this,b.left,b.top)},lineAtHeight:function(b,E){return b=Sa(this,{top:b,left:0},E||"page").top,Ye(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,ne){var le=!1,ue;if(typeof b=="number"){var ce=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>ce&&(b=ce,le=!0),ue=Lt(this.doc,b)}else ue=b;return Mo(this,ue,{top:0,left:0},E||"page",ne||le).top+(le?this.doc.height-rr(ue):0)},defaultTextHeight:function(){return Di(this.display)},defaultCharWidth:function(){return Yi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(b,E,ne,le,ue){var ce=this.display;b=xi(this,xt(this.doc,b));var pe=b.bottom,We=b.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),ce.sizer.appendChild(E),le=="over")pe=b.top;else if(le=="above"||le=="near"){var Ge=Math.max(ce.wrapper.clientHeight,this.doc.height),At=Math.max(ce.sizer.clientWidth,ce.lineSpace.clientWidth);(le=="above"||b.bottom+E.offsetHeight>Ge)&&b.top>E.offsetHeight?pe=b.top-E.offsetHeight:b.bottom+E.offsetHeight<=Ge&&(pe=b.bottom),We+E.offsetWidth>At&&(We=At-E.offsetWidth)}E.style.top=pe+"px",E.style.left=E.style.right="",ue=="right"?(We=ce.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(ue=="left"?We=0:ue=="middle"&&(We=(ce.sizer.clientWidth-E.offsetWidth)/2),E.style.left=We+"px"),ne&&Vs(this,{left:We,top:pe,right:We+E.offsetWidth,bottom:pe+E.offsetHeight})},triggerOnKeyDown:yi(ws),triggerOnKeyPress:yi(As),triggerOnKeyUp:Ss,triggerOnMouseDown:yi(Es),execCommand:function(b){if(ha.hasOwnProperty(b))return ha[b].call(null,this)},triggerElectric:yi(function(b){ks(this,b)}),findPosH:function(b,E,ne,le){var ue=1;E<0&&(ue=-1,E=-E);for(var ce=xt(this.doc,b),pe=0;pe<E&&(ce=yl(this.doc,ce,ue,ne,le),!ce.hitSide);++pe);return ce},moveH:yi(function(b,E){var ne=this;this.extendSelectionsBy(function(le){return ne.display.shift||ne.doc.extend||le.empty()?yl(ne.doc,le.head,b,E,ne.options.rtlMoveVisually):b<0?le.from():le.to()},vt)}),deleteH:yi(function(b,E){var ne=this.doc.sel,le=this.doc;ne.somethingSelected()?le.replaceSelection("",null,"+delete"):jo(this,function(ue){var ce=yl(le,ue.head,b,E,!1);return b<0?{from:ce,to:ue.head}:{from:ue.head,to:ce}})}),findPosV:function(b,E,ne,le){var ue=1,ce=le;E<0&&(ue=-1,E=-E);for(var pe=xt(this.doc,b),We=0;We<E;++We){var Ge=xi(this,pe,"div");if(ce==null?ce=Ge.left:Ge.left=ce,pe=Ns(this,Ge,ue,ne),pe.hitSide)break}return pe},moveV:yi(function(b,E){var ne=this,le=this.doc,ue=[],ce=!this.display.shift&&!le.extend&&le.sel.somethingSelected();if(le.extendSelectionsBy(function(We){if(ce)return b<0?We.from():We.to();var Ge=xi(ne,We.head,"div");We.goalColumn!=null&&(Ge.left=We.goalColumn),ue.push(Ge.left);var At=Ns(ne,Ge,b,E);return E=="page"&&We==le.sel.primary()&&$a(ne,ko(ne,At,"div").top-Ge.top),At},vt),ue.length)for(var pe=0;pe<le.sel.ranges.length;pe++)le.sel.ranges[pe].goalColumn=ue[pe]}),findWordAt:function(b){var E=this.doc,ne=Lt(E,b.line).text,le=b.ch,ue=b.ch;if(ne){var ce=this.getHelper(b,"wordChars");(b.sticky=="before"||ue==ne.length)&&le?--le:++ue;for(var pe=ne.charAt(le),We=se(pe,ce)?function(Ge){return se(Ge,ce)}:/\s/.test(pe)?function(Ge){return/\s/.test(Ge)}:function(Ge){return!/\s/.test(Ge)&&!se(Ge)};le>0&&We(ne.charAt(le-1));)--le;for(;ue<ne.length&&We(ne.charAt(ue));)++ue}return new Wr(we(b.line,le),we(b.line,ue))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?he(this.display.cursorDiv,"CodeMirror-overwrite"):je(this.display.cursorDiv,"CodeMirror-overwrite"),Gt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==et()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:yi(function(b,E){$o(this,b,E)}),getScrollInfo:function(){var b=this.display.scroller;return{left:b.scrollLeft,top:b.scrollTop,height:b.scrollHeight-Ii(this)-this.display.barHeight,width:b.scrollWidth-Ii(this)-this.display.barWidth,clientHeight:no(this),clientWidth:$i(this)}},scrollIntoView:yi(function(b,E){b==null?(b={from:this.doc.sel.primary().head,to:null},E==null&&(E=this.options.cursorScrollMargin)):typeof b=="number"?b={from:we(b,0),to:null}:b.from==null&&(b={from:b,to:null}),b.to||(b.to=b.from),b.margin=E||0,b.from.line!=null?Us(this,b):Il(this,b.from,b.to,b.margin)}),setSize:yi(function(b,E){var ne=this,le=function(ce){return typeof ce=="number"||/^\d+$/.test(String(ce))?ce+"px":ce};b!=null&&(this.display.wrapper.style.width=le(b)),E!=null&&(this.display.wrapper.style.height=le(E)),this.options.lineWrapping&&Xo(this);var ue=this.display.viewFrom;this.doc.iter(ue,this.display.viewTo,function(ce){if(ce.widgets){for(var pe=0;pe<ce.widgets.length;pe++)if(ce.widgets[pe].noHScroll){fo(ne,ue,"widget");break}}++ue}),this.curOp.forceUpdate=!0,Gt(this,"refresh",this)}),operation:function(b){return Mi(this,b)},startOperation:function(){return Bo(this)},endOperation:function(){return Lo(this)},refresh:yi(function(){var b=this.display.cachedTextHeight;wi(this),this.curOp.forceUpdate=!0,xo(this),$o(this,this.doc.scrollLeft,this.doc.scrollTop),tl(this.display),(b==null||Math.abs(b-Di(this.display))>.5||this.options.lineWrapping)&&Xa(this),Gt(this,"refresh",this)}),swapDoc:yi(function(b){var E=this.doc;return E.cm=null,this.state.selectingText&&this.state.selectingText(),jl(this,b),xo(this),this.display.input.reset(),$o(this,b.scrollLeft,b.scrollTop),this.curOp.forceScroll=!0,Gr(this,"swapDoc",this,E),E}),phrase:function(b){var E=this.options.phrases;return E&&Object.prototype.hasOwnProperty.call(E,b)?E[b]:b},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Rt(a),a.registerHelper=function(b,E,ne){x.hasOwnProperty(b)||(x[b]=a[b]={_global:[]}),x[b][E]=ne},a.registerGlobalHelper=function(b,E,ne,le){a.registerHelper(b,E,le),x[b]._global.push({pred:ne,val:le})}}function yl(a,y,x,b,E){var ne=y,le=x,ue=Lt(a,y.line),ce=E&&a.direction=="rtl"?-x:x;function pe(){var Wn=y.line+ce;return Wn<a.first||Wn>=a.first+a.size?!1:(y=new we(Wn,y.ch,y.sticky),ue=Lt(a,Wn))}function We(Wn){var In;if(b=="codepoint"){var Zn=ue.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(Zn)?In=null:In=new we(y.line,Math.max(0,Math.min(ue.text.length,y.ch+x*(Zn>=55296&&Zn<56320?2:1))),-x)}else E?In=Lu(a.cm,ue,y,x):In=dl(ue,y,x);if(In==null)if(!Wn&&pe())y=fl(E,a.cm,ue,y.line,ce);else return!1;else y=In;return!0}if(b=="char"||b=="codepoint")We();else if(b=="column")We(!0);else if(b=="word"||b=="group")for(var Ge=null,At=b=="group",Ct=a.cm&&a.cm.getHelper(y,"wordChars"),Kt=!0;!(x<0&&!We(!Kt));Kt=!1){var cn=ue.text.charAt(y.ch)||`
|
|
|
`,bn=se(cn,Ct)?"w":At&&cn==`
|
|
|
`?"n":!At||/\s/.test(cn)?null:"p";if(At&&!Kt&&!bn&&(bn="s"),Ge&&Ge!=bn){x<0&&(x=1,We(),y.sticky="after");break}if(bn&&(Ge=bn),x>0&&!We(!Kt))break}var Ln=Ta(a,y,ne,le,!0);return ut(ne,Ln)&&(Ln.hitSide=!0),Ln}function Ns(a,y,x,b){var E=a.doc,ne=y.left,le;if(b=="page"){var ue=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ce=Math.max(ue-.5*Di(a.display),3);le=(x>0?y.bottom:y.top)+x*ce}else b=="line"&&(le=x>0?y.bottom+3:y.top-3);for(var pe;pe=ci(a,ne,le),!!pe.outside;){if(x<0?le<=0:le>=E.height){pe.hitSide=!0;break}le+=x*5}return pe}var Hr=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};Hr.prototype.init=function(a){var y=this,x=this,b=x.cm,E=x.div=a.lineDiv;Fs(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function ne(ue){for(var ce=ue.target;ce;ce=ce.parentNode){if(ce==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ce.className))break}return!1}Mt(E,"paste",function(ue){!ne(ue)||ft(b,ue)||Ms(ue,b)||xe<=11&&setTimeout(oi(b,function(){return y.updateFromDOM()}),20)}),Mt(E,"compositionstart",function(ue){y.composing={data:ue.data,done:!1}}),Mt(E,"compositionupdate",function(ue){y.composing||(y.composing={data:ue.data,done:!1})}),Mt(E,"compositionend",function(ue){y.composing&&(ue.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Mt(E,"touchstart",function(){return x.forceCompositionEnd()}),Mt(E,"input",function(){y.composing||y.readFromDOMSoon()});function le(ue){if(!(!ne(ue)||ft(b,ue))){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()}),ue.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var ce=Os(b);Za({lineWise:!0,text:ce.text}),ue.type=="cut"&&b.operation(function(){b.setSelections(ce.ranges,0,Re),b.replaceSelection("",null,"cut")})}else return;if(ue.clipboardData){ue.clipboardData.clearData();var pe=Xi.text.join(`
|
|
|
`);if(ue.clipboardData.setData("Text",pe),ue.clipboardData.getData("Text")==pe){ue.preventDefault();return}}var We=Ts(),Ge=We.firstChild;b.display.lineSpace.insertBefore(We,b.display.lineSpace.firstChild),Ge.value=Xi.text.join(`
|
|
|
`);var At=document.activeElement;De(Ge),setTimeout(function(){b.display.lineSpace.removeChild(We),At.focus(),At==E&&x.showPrimarySelection()},50)}}Mt(E,"copy",le),Mt(E,"cut",le)},Hr.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Hr.prototype.prepareSelection=function(){var a=Sl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Hr.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Hr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Hr.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,x=y.doc.sel.primary(),b=x.from(),E=x.to();if(y.display.viewTo==y.display.viewFrom||b.line>=y.display.viewTo||E.line<y.display.viewFrom){a.removeAllRanges();return}var ne=ja(y,a.anchorNode,a.anchorOffset),le=ja(y,a.focusNode,a.focusOffset);if(!(ne&&!ne.bad&&le&&!le.bad&&Fe(rn(ne,le),b)==0&&Fe(Yt(ne,le),E)==0)){var ue=y.display.view,ce=b.line>=y.display.viewFrom&&Ws(y,b)||{node:ue[0].measure.map[2],offset:0},pe=E.line<y.display.viewTo&&Ws(y,E);if(!pe){var We=ue[ue.length-1].measure,Ge=We.maps?We.maps[We.maps.length-1]:We.map;pe={node:Ge[Ge.length-1],offset:Ge[Ge.length-2]-Ge[Ge.length-3]}}if(!ce||!pe){a.removeAllRanges();return}var At=a.rangeCount&&a.getRangeAt(0),Ct;try{Ct=Te(ce.node,ce.offset,pe.offset,pe.node)}catch(Kt){}Ct&&(!te&&y.state.focused?(a.collapse(ce.node,ce.offset),Ct.collapsed||(a.removeAllRanges(),a.addRange(Ct))):(a.removeAllRanges(),a.addRange(Ct)),At&&a.anchorNode==null?a.addRange(At):te&&this.startGracePeriod()),this.rememberSelection()}},Hr.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)},Hr.prototype.showMultipleSelections=function(a){Je(this.cm.display.cursorDiv,a.cursors),Je(this.cm.display.selectionDiv,a.selection)},Hr.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Hr.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return it(this.div,y)},Hr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Hr.prototype.blur=function(){this.div.blur()},Hr.prototype.getField=function(){return this.div},Hr.prototype.supportsTouch=function(){return!0},Hr.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Mi(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Hr.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Hr.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Be&&Ee&&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=ja(y,a.anchorNode,a.anchorOffset),b=ja(y,a.focusNode,a.focusOffset);x&&b&&Mi(y,function(){hi(y.doc,po(x,b),Re),(x.bad||b.bad)&&(y.curOp.selectionChanged=!0)})}}},Hr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,x=a.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>a.firstLine()&&(b=we(b.line-1,Lt(a.doc,b.line-1).length)),E.ch==Lt(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=we(E.line+1,0)),b.line<y.viewFrom||E.line>y.viewTo-1)return!1;var ne,le,ue;b.line==y.viewFrom||(ne=So(a,b.line))==0?(le=ke(y.view[0].line),ue=y.view[0].node):(le=ke(y.view[ne].line),ue=y.view[ne-1].node.nextSibling);var ce=So(a,E.line),pe,We;if(ce==y.view.length-1?(pe=y.viewTo-1,We=y.lineDiv.lastChild):(pe=ke(y.view[ce+1].line)-1,We=y.view[ce+1].node.previousSibling),!ue)return!1;for(var Ge=a.doc.splitLines(Xu(a,ue,We,le,pe)),At=Xt(a.doc,we(le,0),we(pe,Lt(a.doc,pe).text.length));Ge.length>1&&At.length>1;)if(Ne(Ge)==Ne(At))Ge.pop(),At.pop(),pe--;else if(Ge[0]==At[0])Ge.shift(),At.shift(),le++;else break;for(var Ct=0,Kt=0,cn=Ge[0],bn=At[0],Ln=Math.min(cn.length,bn.length);Ct<Ln&&cn.charCodeAt(Ct)==bn.charCodeAt(Ct);)++Ct;for(var Wn=Ne(Ge),In=Ne(At),Zn=Math.min(Wn.length-(Ge.length==1?Ct:0),In.length-(At.length==1?Ct:0));Kt<Zn&&Wn.charCodeAt(Wn.length-Kt-1)==In.charCodeAt(In.length-Kt-1);)++Kt;if(Ge.length==1&&At.length==1&&le==b.line)for(;Ct&&Ct>b.ch&&Wn.charCodeAt(Wn.length-Kt-1)==In.charCodeAt(In.length-Kt-1);)Ct--,Kt++;Ge[Ge.length-1]=Wn.slice(0,Wn.length-Kt).replace(/^\u200b+/,""),Ge[0]=Ge[0].slice(Ct).replace(/\u200b+$/,"");var sr=we(le,Ct),nr=we(pe,At.length?Ne(At).length-Kt:0);if(Ge.length>1||Ge[0]||Fe(sr,nr))return zo(a.doc,Ge,sr,nr,"+input"),!0},Hr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Hr.prototype.reset=function(){this.forceCompositionEnd()},Hr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Hr.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))},Hr.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Mi(this.cm,function(){return wi(a.cm)})},Hr.prototype.setUneditable=function(a){a.contentEditable="false"},Hr.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||oi(this.cm,vl)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Hr.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Hr.prototype.onContextMenu=function(){},Hr.prototype.resetPosition=function(){},Hr.prototype.needsContentAttribute=!0;function Ws(a,y){var x=_i(a,y.line);if(!x||x.hidden)return null;var b=Lt(a.doc,y.line),E=Do(x,b,y.line),ne=Ft(b,a.doc.direction),le="left";if(ne){var ue=gt(ne,y.ch);le=ue%2?"right":"left"}var ce=Ca(E.map,y.ch,le);return ce.offset=ce.collapse=="right"?ce.end:ce.start,ce}function Ku(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Uo(a,y){return y&&(a.bad=!0),a}function Xu(a,y,x,b,E){var ne="",le=!1,ue=a.doc.lineSeparator(),ce=!1;function pe(Ct){return function(Kt){return Kt.id==Ct}}function We(){le&&(ne+=ue,ce&&(ne+=ue),le=ce=!1)}function Ge(Ct){Ct&&(We(),ne+=Ct)}function At(Ct){if(Ct.nodeType==1){var Kt=Ct.getAttribute("cm-text");if(Kt){Ge(Kt);return}var cn=Ct.getAttribute("cm-marker"),bn;if(cn){var Ln=a.findMarks(we(b,0),we(E+1,0),pe(+cn));Ln.length&&(bn=Ln[0].find(0))&&Ge(Xt(a.doc,bn.from,bn.to).join(ue));return}if(Ct.getAttribute("contenteditable")=="false")return;var Wn=/^(pre|div|p|li|table|br)$/i.test(Ct.nodeName);if(!/^br$/i.test(Ct.nodeName)&&Ct.textContent.length==0)return;Wn&&We();for(var In=0;In<Ct.childNodes.length;In++)At(Ct.childNodes[In]);/^(pre|p)$/i.test(Ct.nodeName)&&(ce=!0),Wn&&(le=!0)}else Ct.nodeType==3&&Ge(Ct.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;At(y),y!=x;)y=y.nextSibling,ce=!1;return ne}function ja(a,y,x){var b;if(y==a.display.lineDiv){if(b=a.display.lineDiv.childNodes[x],!b)return Uo(a.clipPos(we(a.display.viewTo-1)),!0);y=null,x=0}else for(b=y;;b=b.parentNode){if(!b||b==a.display.lineDiv)return null;if(b.parentNode&&b.parentNode==a.display.lineDiv)break}for(var E=0;E<a.display.view.length;E++){var ne=a.display.view[E];if(ne.node==b)return Qu(ne,y,x)}}function Qu(a,y,x){var b=a.text.firstChild,E=!1;if(!y||!it(b,y))return Uo(we(ke(a.line),0),!0);if(y==b&&(E=!0,y=b.childNodes[x],x=0,!y)){var ne=a.rest?Ne(a.rest):a.line;return Uo(we(ke(ne),ne.text.length),E)}var le=y.nodeType==3?y:null,ue=y;for(!le&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(le=y.firstChild,x&&(x=le.nodeValue.length));ue.parentNode!=b;)ue=ue.parentNode;var ce=a.measure,pe=ce.maps;function We(bn,Ln,Wn){for(var In=-1;In<(pe?pe.length:0);In++)for(var Zn=In<0?ce.map:pe[In],sr=0;sr<Zn.length;sr+=3){var nr=Zn[sr+2];if(nr==bn||nr==Ln){var Sr=ke(In<0?a.line:a.rest[In]),Vr=Zn[sr]+Wn;return(Wn<0||nr!=bn)&&(Vr=Zn[sr+(Wn?1:0)]),we(Sr,Vr)}}}var Ge=We(le,ue,x);if(Ge)return Uo(Ge,E);for(var At=ue.nextSibling,Ct=le?le.nodeValue.length-x:0;At;At=At.nextSibling){if(Ge=We(At,At.firstChild,0),Ge)return Uo(we(Ge.line,Ge.ch-Ct),E);Ct+=At.textContent.length}for(var Kt=ue.previousSibling,cn=x;Kt;Kt=Kt.previousSibling){if(Ge=We(Kt,Kt.firstChild,-1),Ge)return Uo(we(Ge.line,Ge.ch+cn),E);cn+=Kt.textContent.length}}var qr=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new fe,this.hasSelection=!1,this.composing=null};qr.prototype.init=function(a){var y=this,x=this,b=this.cm;this.createField(a);var E=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Xe&&(E.style.width="0px"),Mt(E,"input",function(){Ce&&xe>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),Mt(E,"paste",function(le){ft(b,le)||Ms(le,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function ne(le){if(!ft(b,le)){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()});else if(b.options.lineWiseCopyCut){var ue=Os(b);Za({lineWise:!0,text:ue.text}),le.type=="cut"?b.setSelections(ue.ranges,null,Re):(x.prevInput="",E.value=ue.text.join(`
|
|
|
`),De(E))}else return;le.type=="cut"&&(b.state.cutIncoming=+new Date)}}Mt(E,"cut",ne),Mt(E,"copy",ne),Mt(a.scroller,"paste",function(le){if(!(ui(a,le)||ft(b,le))){if(!E.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var ue=new Event("paste");ue.clipboardData=le.clipboardData,E.dispatchEvent(ue)}}),Mt(a.lineSpace,"selectstart",function(le){ui(a,le)||nn(le)}),Mt(E,"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"})}}),Mt(E,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},qr.prototype.createField=function(a){this.wrapper=Ts(),this.textarea=this.wrapper.firstChild},qr.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var a=this.cm,y=a.display,x=a.doc,b=Sl(a);if(a.options.moveInputWithCursor){var E=xi(a,x.sel.primary().head,"div"),ne=y.wrapper.getBoundingClientRect(),le=y.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,E.top+le.top-ne.top)),b.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,E.left+le.left-ne.left))}return b},qr.prototype.showSelection=function(a){var y=this.cm,x=y.display;Je(x.cursorDiv,a.cursors),Je(x.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},qr.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&&De(this.textarea),Ce&&xe>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",Ce&&xe>=9&&(this.hasSelection=null))}},qr.prototype.getField=function(){return this.textarea},qr.prototype.supportsTouch=function(){return!1},qr.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ie||et()!=this.textarea))try{this.textarea.focus()}catch(a){}},qr.prototype.blur=function(){this.textarea.blur()},qr.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},qr.prototype.receivedFocus=function(){this.slowPoll()},qr.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},qr.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)},qr.prototype.poll=function(){var a=this,y=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||!y.state.focused||yn(x)&&!b&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var E=x.value;if(E==b&&!y.somethingSelected())return!1;if(Ce&&xe>=9&&this.hasSelection===E||Le&&/[\uf700-\uf7ff]/.test(E))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ne=E.charCodeAt(0);if(ne==8203&&!b&&(b="\u200B"),ne==8666)return this.reset(),this.cm.execCommand("undo")}for(var le=0,ue=Math.min(b.length,E.length);le<ue&&b.charCodeAt(le)==E.charCodeAt(le);)++le;return Mi(y,function(){vl(y,E.slice(le),b.length-le,null,a.composing?"*compose":null),E.length>1e3||E.indexOf(`
|
|
|
`)>-1?x.value=a.prevInput="":a.prevInput=E,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},qr.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},qr.prototype.onKeyPress=function(){Ce&&xe>=9&&(this.hasSelection=null),this.fastPoll()},qr.prototype.onContextMenu=function(a){var y=this,x=y.cm,b=x.display,E=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ne=wo(x,a),le=b.scroller.scrollTop;if(!ne||de)return;var ue=x.options.resetSelectionOnContextMenu;ue&&x.doc.sel.contains(ne)==-1&&oi(x,hi)(x.doc,po(ne),Re);var ce=E.style.cssText,pe=y.wrapper.style.cssText,We=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-We.top-5)+"px; left: "+(a.clientX-We.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Ce?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ge;Me&&(Ge=window.scrollY),b.input.focus(),Me&&window.scrollTo(null,Ge),b.input.reset(),x.somethingSelected()||(E.value=y.prevInput=" "),y.contextMenuPending=Ct,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function At(){if(E.selectionStart!=null){var cn=x.somethingSelected(),bn="\u200B"+(cn?E.value:"");E.value="\u21DA",E.value=bn,y.prevInput=cn?"":"\u200B",E.selectionStart=1,E.selectionEnd=bn.length,b.selForContextMenu=x.doc.sel}}function Ct(){if(y.contextMenuPending==Ct&&(y.contextMenuPending=!1,y.wrapper.style.cssText=pe,E.style.cssText=ce,Ce&&xe<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=le),E.selectionStart!=null)){(!Ce||Ce&&xe<9)&&At();var cn=0,bn=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?oi(x,ts)(x):cn++<10?b.detectingSelectAll=setTimeout(bn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(bn,200)}}if(Ce&&xe>=9&&At(),$e){Pe(a);var Kt=function(){Wt(window,"mouseup",Kt),setTimeout(Ct,20)};Mt(window,"mouseup",Kt)}else setTimeout(Ct,50)},qr.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},qr.prototype.setUneditable=function(){},qr.prototype.needsContentAttribute=!1;function Ju(a,y){if(y=y?zt(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=et();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=ue.getValue()}var E;if(a.form&&(Mt(a.form,"submit",b),!y.leaveSubmitMethodAlone)){var ne=a.form;E=ne.submit;try{var le=ne.submit=function(){b(),ne.submit=E,ne.submit(),ne.submit=le}}catch(ce){}}y.finishInit=function(ce){ce.save=b,ce.getTextArea=function(){return a},ce.toTextArea=function(){ce.toTextArea=isNaN,b(),a.parentNode.removeChild(ce.getWrapperElement()),a.style.display="",a.form&&(Wt(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=E))}},a.style.display="none";var ue=Yr(function(ce){return a.parentNode.insertBefore(ce,a.nextSibling)},y);return ue}function qu(a){a.off=Wt,a.on=Mt,a.wheelEventPixels=iu,a.Doc=Si,a.splitLines=an,a.countColumn=Se,a.findColumn=sn,a.isWordChar=ie,a.Pass=St,a.signal=Gt,a.Line=Pr,a.changeEnd=mo,a.scrollbarModel=Ml,a.Pos=we,a.cmpPos=Fe,a.modes=Bn,a.mimeModes=ln,a.resolveMode=Mn,a.getMode=Gn,a.modeExtensions=zn,a.extendMode=Tn,a.copyState=Yn,a.startState=$n,a.innerMode=Xn,a.commands=ha,a.keyMap=io,a.keyName=vs,a.isModifierKey=ms,a.lookupKey=Zo,a.normalizeKeyMap=Bu,a.StringStream=jn,a.SharedTextMarker=ca,a.TextMarker=vo,a.LineWidget=ua,a.e_preventDefault=nn,a.e_stopPropagation=Cn,a.e_stop=Pe,a.addClass=he,a.contains=it,a.rmClass=je,a.keyNames=yo}ju(Yr),Yu(Yr);var $u="iter insert remove copy getEditor constructor".split(" ");for(var Va in Si.prototype)Si.prototype.hasOwnProperty(Va)&&pt($u,Va)<0&&(Yr.prototype[Va]=function(a){return function(){return a.apply(this.doc,arguments)}}(Si.prototype[Va]));return Rt(Si),Yr.inputStyles={textarea:qr,contenteditable:Hr},Yr.defineMode=function(a){!Yr.defaults.mode&&a!="null"&&(Yr.defaults.mode=a),xn.apply(this,arguments)},Yr.defineMIME=dn,Yr.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Yr.defineMIME("text/plain","null"),Yr.defineExtension=function(a,y){Yr.prototype[a]=y},Yr.defineDocExtension=function(a,y){Si.prototype[a]=y},Yr.fromTextArea=Ju,qu(Yr),Yr.version="5.58.2",Yr})},25419:function(Vt,Ot,oe){(function(te){te(oe(89780),oe(15525),oe(98101))})(function(te){"use strict";te.defineMode("markdown",function(Ke,ge){var ze=te.getMode(Ke,"text/html"),Ce=ze.name=="null";function xe(Se){if(te.findModeByName){var fe=te.findModeByName(Se);fe&&(Se=fe.mime||fe.mimes[0])}var pt=te.getMode(Ke,Se);return pt.name=="null"?null:pt}ge.highlightFormatting===void 0&&(ge.highlightFormatting=!1),ge.maxBlockquoteDepth===void 0&&(ge.maxBlockquoteDepth=0),ge.taskLists===void 0&&(ge.taskLists=!1),ge.strikethrough===void 0&&(ge.strikethrough=!1),ge.emoji===void 0&&(ge.emoji=!1),ge.fencedCodeBlockHighlighting===void 0&&(ge.fencedCodeBlockHighlighting=!0),ge.fencedCodeBlockDefaultMode===void 0&&(ge.fencedCodeBlockDefaultMode="text/plain"),ge.xml===void 0&&(ge.xml=!0),ge.tokenTypeOverrides===void 0&&(ge.tokenTypeOverrides={});var Me={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 Ue in Me)Me.hasOwnProperty(Ue)&&ge.tokenTypeOverrides[Ue]&&(Me[Ue]=ge.tokenTypeOverrides[Ue]);var Ee=/^([*\-_])(?:\s*\1){2,}\s*$/,de=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ve=/^\[(x| )\](?=\s)/i,ve=ge.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,mt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Xe=/^[^#!\[\]*_\\<>` "'(~:]+/,Be=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ie=/^\s*\[[^\]]+?\]:.*$/,Le=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Qe=" ";function ht(Se,fe,pt){return fe.f=fe.inline=pt,pt(Se,fe)}function wt(Se,fe,pt){return fe.f=fe.block=pt,pt(Se,fe)}function ct(Se){return!Se||!/\S/.test(Se.string)}function $e(Se){if(Se.linkTitle=!1,Se.linkHref=!1,Se.linkText=!1,Se.em=!1,Se.strong=!1,Se.strikethrough=!1,Se.quote=0,Se.indentedCode=!1,Se.f==je){var fe=Ce;if(!fe){var pt=te.innerMode(ze,Se.htmlState);fe=pt.mode.name=="xml"&&pt.state.tagStart===null&&!pt.state.context&&pt.state.tokenize.isInText}fe&&(Se.f=ot,Se.block=qe,Se.htmlState=null)}return Se.trailingSpace=0,Se.trailingSpaceNewLine=!1,Se.prevLine=Se.thisLine,Se.thisLine={stream:null},null}function qe(Se,fe){var pt=Se.column()===fe.indentation,Zt=ct(fe.prevLine.stream),St=fe.indentedCode,Re=fe.prevLine.hr,at=fe.list!==!1,vt=(fe.listStack[fe.listStack.length-1]||0)+3;fe.indentedCode=!1;var sn=fe.indentation;if(fe.indentationDiff===null&&(fe.indentationDiff=fe.indentation,at)){for(fe.list=null;sn<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=sn-fe.listStack[fe.listStack.length-1])}var dt=!Zt&&!Re&&!fe.prevLine.header&&(!at||!St)&&!fe.prevLine.fencedCodeEnd,Bt=(fe.list===!1||Re||Zt)&&fe.indentation<=vt&&Se.match(Ee),Ne=null;if(fe.indentationDiff>=4&&(St||fe.prevLine.fencedCodeEnd||fe.prevLine.header||Zt))return Se.skipToEnd(),fe.indentedCode=!0,Me.code;if(Se.eatSpace())return null;if(pt&&fe.indentation<=vt&&(Ne=Se.match(ve))&&Ne[1].length<=6)return fe.quote=0,fe.header=Ne[1].length,fe.thisLine.header=!0,ge.highlightFormatting&&(fe.formatting="header"),fe.f=fe.inline,Je(fe);if(fe.indentation<=vt&&Se.eat(">"))return fe.quote=pt?1:fe.quote+1,ge.highlightFormatting&&(fe.formatting="quote"),Se.eatSpace(),Je(fe);if(!Bt&&!fe.setext&&pt&&fe.indentation<=vt&&(Ne=Se.match(de))){var Pt=Ne[1]?"ol":"ul";return fe.indentation=sn+Se.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,ge.taskLists&&Se.match(Ve,!1)&&(fe.taskList=!0),fe.f=fe.inline,ge.highlightFormatting&&(fe.formatting=["list","list-"+Pt]),Je(fe)}else{if(pt&&fe.indentation<=vt&&(Ne=Se.match(Be,!0)))return fe.quote=0,fe.fencedEndRE=new RegExp(Ne[1]+"+ *$"),fe.localMode=ge.fencedCodeBlockHighlighting&&xe(Ne[2]||ge.fencedCodeBlockDefaultMode),fe.localMode&&(fe.localState=te.startState(fe.localMode)),fe.f=fe.block=bt,ge.highlightFormatting&&(fe.formatting="code-block"),fe.code=-1,Je(fe);if(fe.setext||(!dt||!at)&&!fe.quote&&fe.list===!1&&!fe.code&&!Bt&&!Ie.test(Se.string)&&(Ne=Se.lookAhead(1))&&(Ne=Ne.match(mt)))return fe.setext?(fe.header=fe.setext,fe.setext=0,Se.skipToEnd(),ge.highlightFormatting&&(fe.formatting="header")):(fe.header=Ne[0].charAt(0)=="="?1:2,fe.setext=fe.header),fe.thisLine.header=!0,fe.f=fe.inline,Je(fe);if(Bt)return Se.skipToEnd(),fe.hr=!0,fe.thisLine.hr=!0,Me.hr;if(Se.peek()==="[")return ht(Se,fe,Et)}return ht(Se,fe,fe.inline)}function je(Se,fe){var pt=ze.token(Se,fe.htmlState);if(!Ce){var Zt=te.innerMode(ze,fe.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||fe.md_inside&&Se.current().indexOf(">")>-1)&&(fe.f=ot,fe.block=qe,fe.htmlState=null)}return pt}function bt(Se,fe){var pt=fe.listStack[fe.listStack.length-1]||0,Zt=fe.indentation<pt,St=pt+3;if(fe.fencedEndRE&&fe.indentation<=St&&(Zt||Se.match(fe.fencedEndRE))){ge.highlightFormatting&&(fe.formatting="code-block");var Re;return Zt||(Re=Je(fe)),fe.localMode=fe.localState=null,fe.block=qe,fe.f=ot,fe.fencedEndRE=null,fe.code=0,fe.thisLine.fencedCodeEnd=!0,Zt?wt(Se,fe,fe.block):Re}else return fe.localMode?fe.localMode.token(Se,fe.localState):(Se.skipToEnd(),Me.code)}function Je(Se){var fe=[];if(Se.formatting){fe.push(Me.formatting),typeof Se.formatting=="string"&&(Se.formatting=[Se.formatting]);for(var pt=0;pt<Se.formatting.length;pt++)fe.push(Me.formatting+"-"+Se.formatting[pt]),Se.formatting[pt]==="header"&&fe.push(Me.formatting+"-"+Se.formatting[pt]+"-"+Se.header),Se.formatting[pt]==="quote"&&(!ge.maxBlockquoteDepth||ge.maxBlockquoteDepth>=Se.quote?fe.push(Me.formatting+"-"+Se.formatting[pt]+"-"+Se.quote):fe.push("error"))}if(Se.taskOpen)return fe.push("meta"),fe.length?fe.join(" "):null;if(Se.taskClosed)return fe.push("property"),fe.length?fe.join(" "):null;if(Se.linkHref?fe.push(Me.linkHref,"url"):(Se.strong&&fe.push(Me.strong),Se.em&&fe.push(Me.em),Se.strikethrough&&fe.push(Me.strikethrough),Se.emoji&&fe.push(Me.emoji),Se.linkText&&fe.push(Me.linkText),Se.code&&fe.push(Me.code),Se.image&&fe.push(Me.image),Se.imageAltText&&fe.push(Me.imageAltText,"link"),Se.imageMarker&&fe.push(Me.imageMarker)),Se.header&&fe.push(Me.header,Me.header+"-"+Se.header),Se.quote&&(fe.push(Me.quote),!ge.maxBlockquoteDepth||ge.maxBlockquoteDepth>=Se.quote?fe.push(Me.quote+"-"+Se.quote):fe.push(Me.quote+"-"+ge.maxBlockquoteDepth)),Se.list!==!1){var Zt=(Se.listStack.length-1)%3;Zt?Zt===1?fe.push(Me.list2):fe.push(Me.list3):fe.push(Me.list1)}return Se.trailingSpaceNewLine?fe.push("trailing-space-new-line"):Se.trailingSpace&&fe.push("trailing-space-"+(Se.trailingSpace%2?"a":"b")),fe.length?fe.join(" "):null}function He(Se,fe){if(Se.match(Xe,!0))return Je(fe)}function ot(Se,fe){var pt=fe.text(Se,fe);if(typeof pt!="undefined")return pt;if(fe.list)return fe.list=null,Je(fe);if(fe.taskList){var Zt=Se.match(Ve,!0)[1]===" ";return Zt?fe.taskOpen=!0:fe.taskClosed=!0,ge.highlightFormatting&&(fe.formatting="task"),fe.taskList=!1,Je(fe)}if(fe.taskOpen=!1,fe.taskClosed=!1,fe.header&&Se.match(/^#+$/,!0))return ge.highlightFormatting&&(fe.formatting="header"),Je(fe);var St=Se.next();if(fe.linkTitle){fe.linkTitle=!1;var Re=St;St==="("&&(Re=")"),Re=(Re+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var at="^\\s*(?:[^"+Re+"\\\\]+|\\\\\\\\|\\\\.)"+Re;if(Se.match(new RegExp(at),!0))return Me.linkHref}if(St==="`"){var vt=fe.formatting;ge.highlightFormatting&&(fe.formatting="code"),Se.eatWhile("`");var sn=Se.current().length;if(fe.code==0&&(!fe.quote||sn==1))return fe.code=sn,Je(fe);if(sn==fe.code){var dt=Je(fe);return fe.code=0,dt}else return fe.formatting=vt,Je(fe)}else if(fe.code)return Je(fe);if(St==="\\"&&(Se.next(),ge.highlightFormatting)){var Bt=Je(fe),Ne=Me.formatting+"-escape";return Bt?Bt+" "+Ne:Ne}if(St==="!"&&Se.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return fe.imageMarker=!0,fe.image=!0,ge.highlightFormatting&&(fe.formatting="image"),Je(fe);if(St==="["&&fe.imageMarker&&Se.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return fe.imageMarker=!1,fe.imageAltText=!0,ge.highlightFormatting&&(fe.formatting="image"),Je(fe);if(St==="]"&&fe.imageAltText){ge.highlightFormatting&&(fe.formatting="image");var Bt=Je(fe);return fe.imageAltText=!1,fe.image=!1,fe.inline=fe.f=it,Bt}if(St==="["&&!fe.image)return fe.linkText&&Se.match(/^.*?\]/)||(fe.linkText=!0,ge.highlightFormatting&&(fe.formatting="link")),Je(fe);if(St==="]"&&fe.linkText){ge.highlightFormatting&&(fe.formatting="link");var Bt=Je(fe);return fe.linkText=!1,fe.inline=fe.f=Se.match(/\(.*?\)| ?\[.*?\]/,!1)?it:ot,Bt}if(St==="<"&&Se.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){fe.f=fe.inline=Te,ge.highlightFormatting&&(fe.formatting="link");var Bt=Je(fe);return Bt?Bt+=" ":Bt="",Bt+Me.linkInline}if(St==="<"&&Se.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){fe.f=fe.inline=Te,ge.highlightFormatting&&(fe.formatting="link");var Bt=Je(fe);return Bt?Bt+=" ":Bt="",Bt+Me.linkEmail}if(ge.xml&&St==="<"&&Se.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Pt=Se.string.indexOf(">",Se.pos);if(Pt!=-1){var st=Se.string.substring(Se.start,Pt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(st)&&(fe.md_inside=!0)}return Se.backUp(1),fe.htmlState=te.startState(ze),wt(Se,fe,je)}if(ge.xml&&St==="<"&&Se.match(/^\/\w*?>/))return fe.md_inside=!1,"tag";if(St==="*"||St==="_"){for(var ae=1,ee=Se.pos==1?" ":Se.string.charAt(Se.pos-2);ae<3&&Se.eat(St);)ae++;var z=Se.peek()||" ",ie=!/\s/.test(z)&&(!Le.test(z)||/\s/.test(ee)||Le.test(ee)),se=!/\s/.test(ee)&&(!Le.test(ee)||/\s/.test(z)||Le.test(z)),re=null,me=null;if(ae%2&&(!fe.em&&ie&&(St==="*"||!se||Le.test(ee))?re=!0:fe.em==St&&se&&(St==="*"||!ie||Le.test(z))&&(re=!1)),ae>1&&(!fe.strong&&ie&&(St==="*"||!se||Le.test(ee))?me=!0:fe.strong==St&&se&&(St==="*"||!ie||Le.test(z))&&(me=!1)),me!=null||re!=null){ge.highlightFormatting&&(fe.formatting=re==null?"strong":me==null?"em":"strong em"),re===!0&&(fe.em=St),me===!0&&(fe.strong=St);var dt=Je(fe);return re===!1&&(fe.em=!1),me===!1&&(fe.strong=!1),dt}}else if(St===" "&&(Se.eat("*")||Se.eat("_"))){if(Se.peek()===" ")return Je(fe);Se.backUp(1)}if(ge.strikethrough){if(St==="~"&&Se.eatWhile(St)){if(fe.strikethrough){ge.highlightFormatting&&(fe.formatting="strikethrough");var dt=Je(fe);return fe.strikethrough=!1,dt}else if(Se.match(/^[^\s]/,!1))return fe.strikethrough=!0,ge.highlightFormatting&&(fe.formatting="strikethrough"),Je(fe)}else if(St===" "&&Se.match(/^~~/,!0)){if(Se.peek()===" ")return Je(fe);Se.backUp(2)}}if(ge.emoji&&St===":"&&Se.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){fe.emoji=!0,ge.highlightFormatting&&(fe.formatting="emoji");var ye=Je(fe);return fe.emoji=!1,ye}return St===" "&&(Se.match(/^ +$/,!1)?fe.trailingSpace++:fe.trailingSpace&&(fe.trailingSpaceNewLine=!0)),Je(fe)}function Te(Se,fe){var pt=Se.next();if(pt===">"){fe.f=fe.inline=ot,ge.highlightFormatting&&(fe.formatting="link");var Zt=Je(fe);return Zt?Zt+=" ":Zt="",Zt+Me.linkInline}return Se.match(/^[^>]+/,!0),Me.linkInline}function it(Se,fe){if(Se.eatSpace())return null;var pt=Se.next();return pt==="("||pt==="["?(fe.f=fe.inline=he(pt==="("?")":"]"),ge.highlightFormatting&&(fe.formatting="link-string"),fe.linkHref=!0,Je(fe)):"error"}var et={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function he(Se){return function(fe,pt){var Zt=fe.next();if(Zt===Se){pt.f=pt.inline=ot,ge.highlightFormatting&&(pt.formatting="link-string");var St=Je(pt);return pt.linkHref=!1,St}return fe.match(et[Se]),pt.linkHref=!0,Je(pt)}}function Et(Se,fe){return Se.match(/^([^\]\\]|\\.)*\]:/,!1)?(fe.f=De,Se.next(),ge.highlightFormatting&&(fe.formatting="link"),fe.linkText=!0,Je(fe)):ht(Se,fe,ot)}function De(Se,fe){if(Se.match(/^\]:/,!0)){fe.f=fe.inline=It,ge.highlightFormatting&&(fe.formatting="link");var pt=Je(fe);return fe.linkText=!1,pt}return Se.match(/^([^\]\\]|\\.)+/,!0),Me.linkText}function It(Se,fe){return Se.eatSpace()?null:(Se.match(/^[^\s]+/,!0),Se.peek()===void 0?fe.linkTitle=!0:Se.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),fe.f=fe.inline=ot,Me.linkHref+" url")}var zt={startState:function(){return{f:qe,prevLine:{stream:null},thisLine:{stream:null},block:qe,htmlState:null,indentation:0,inline:ot,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(Se){return{f:Se.f,prevLine:Se.prevLine,thisLine:Se.thisLine,block:Se.block,htmlState:Se.htmlState&&te.copyState(ze,Se.htmlState),indentation:Se.indentation,localMode:Se.localMode,localState:Se.localMode?te.copyState(Se.localMode,Se.localState):null,inline:Se.inline,text:Se.text,formatting:!1,linkText:Se.linkText,linkTitle:Se.linkTitle,linkHref:Se.linkHref,code:Se.code,em:Se.em,strong:Se.strong,strikethrough:Se.strikethrough,emoji:Se.emoji,header:Se.header,setext:Se.setext,hr:Se.hr,taskList:Se.taskList,list:Se.list,listStack:Se.listStack.slice(0),quote:Se.quote,indentedCode:Se.indentedCode,trailingSpace:Se.trailingSpace,trailingSpaceNewLine:Se.trailingSpaceNewLine,md_inside:Se.md_inside,fencedEndRE:Se.fencedEndRE}},token:function(Se,fe){if(fe.formatting=!1,Se!=fe.thisLine.stream){if(fe.header=0,fe.hr=!1,Se.match(/^\s*$/,!0))return $e(fe),null;if(fe.prevLine=fe.thisLine,fe.thisLine={stream:Se},fe.taskList=!1,fe.trailingSpace=0,fe.trailingSpaceNewLine=!1,!fe.localState&&(fe.f=fe.block,fe.f!=je)){var pt=Se.match(/^\s*/,!0)[0].replace(/\t/g,Qe).length;if(fe.indentation=pt,fe.indentationDiff=null,pt>0)return null}}return fe.f(Se,fe)},innerMode:function(Se){return Se.block==je?{state:Se.htmlState,mode:ze}:Se.localState?{state:Se.localState,mode:Se.localMode}:{state:Se,mode:zt}},indent:function(Se,fe,pt){return Se.block==je&&ze.indent?ze.indent(Se.htmlState,fe,pt):Se.localState&&Se.localMode.indent?Se.localMode.indent(Se.localState,fe,pt):te.Pass},blankLine:$e,getType:Je,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return zt},"xml"),te.defineMIME("text/markdown","markdown"),te.defineMIME("text/x-markdown","markdown")})},98101:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){"use strict";te.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 Ke=0;Ke<te.modeInfo.length;Ke++){var ge=te.modeInfo[Ke];ge.mimes&&(ge.mime=ge.mimes[0])}te.findModeByMIME=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<te.modeInfo.length;Ce++){var xe=te.modeInfo[Ce];if(xe.mime==ze)return xe;if(xe.mimes){for(var Me=0;Me<xe.mimes.length;Me++)if(xe.mimes[Me]==ze)return xe}}if(/\+xml$/.test(ze))return te.findModeByMIME("application/xml");if(/\+json$/.test(ze))return te.findModeByMIME("application/json")},te.findModeByExtension=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<te.modeInfo.length;Ce++){var xe=te.modeInfo[Ce];if(xe.ext){for(var Me=0;Me<xe.ext.length;Me++)if(xe.ext[Me]==ze)return xe}}},te.findModeByFileName=function(ze){for(var Ce=0;Ce<te.modeInfo.length;Ce++){var xe=te.modeInfo[Ce];if(xe.file&&xe.file.test(ze))return xe}var Me=ze.lastIndexOf("."),Ue=Me>-1&&ze.substring(Me+1,ze.length);if(Ue)return te.findModeByExtension(Ue)},te.findModeByName=function(ze){ze=ze.toLowerCase();for(var Ce=0;Ce<te.modeInfo.length;Ce++){var xe=te.modeInfo[Ce];if(xe.name.toLowerCase()==ze)return xe;if(xe.alias){for(var Me=0;Me<xe.alias.length;Me++)if(xe.alias[Me].toLowerCase()==ze)return xe}}}})},67549:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){"use strict";te.defineMode("stex",function(Ke,ge){"use strict";function ze(Xe,Be){Xe.cmdState.push(Be)}function Ce(Xe){return Xe.cmdState.length>0?Xe.cmdState[Xe.cmdState.length-1]:null}function xe(Xe){var Be=Xe.cmdState.pop();Be&&Be.closeBracket()}function Me(Xe){for(var Be=Xe.cmdState,Ie=Be.length-1;Ie>=0;Ie--){var Le=Be[Ie];if(Le.name!="DEFAULT")return Le}return{styleIdentifier:function(){return null}}}function Ue(Xe,Be,Ie){return function(){this.name=Xe,this.bracketNo=0,this.style=Be,this.styles=Ie,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ee={};Ee.importmodule=Ue("importmodule","tag",["string","builtin"]),Ee.documentclass=Ue("documentclass","tag",["","atom"]),Ee.usepackage=Ue("usepackage","tag",["atom"]),Ee.begin=Ue("begin","tag",["atom"]),Ee.end=Ue("end","tag",["atom"]),Ee.label=Ue("label","tag",["atom"]),Ee.ref=Ue("ref","tag",["atom"]),Ee.eqref=Ue("eqref","tag",["atom"]),Ee.cite=Ue("cite","tag",["atom"]),Ee.bibitem=Ue("bibitem","tag",["atom"]),Ee.Bibitem=Ue("Bibitem","tag",["atom"]),Ee.RBibitem=Ue("RBibitem","tag",["atom"]),Ee.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function de(Xe,Be){Xe.f=Be}function Ve(Xe,Be){var Ie;if(Xe.match(/^\\[a-zA-Z@]+/)){var Le=Xe.current().slice(1);return Ie=Ee.hasOwnProperty(Le)?Ee[Le]:Ee.DEFAULT,Ie=new Ie,ze(Be,Ie),de(Be,mt),Ie.style}if(Xe.match(/^\\[$&%#{}_]/)||Xe.match(/^\\[,;!\/\\]/))return"tag";if(Xe.match("\\["))return de(Be,function(ht,wt){return ve(ht,wt,"\\]")}),"keyword";if(Xe.match("\\("))return de(Be,function(ht,wt){return ve(ht,wt,"\\)")}),"keyword";if(Xe.match("$$"))return de(Be,function(ht,wt){return ve(ht,wt,"$$")}),"keyword";if(Xe.match("$"))return de(Be,function(ht,wt){return ve(ht,wt,"$")}),"keyword";var Qe=Xe.next();if(Qe=="%")return Xe.skipToEnd(),"comment";if(Qe=="}"||Qe=="]"){if(Ie=Ce(Be),Ie)Ie.closeBracket(Qe),de(Be,mt);else return"error";return"bracket"}else return Qe=="{"||Qe=="["?(Ie=Ee.DEFAULT,Ie=new Ie,ze(Be,Ie),"bracket"):/\d/.test(Qe)?(Xe.eatWhile(/[\w.%]/),"atom"):(Xe.eatWhile(/[\w\-_]/),Ie=Me(Be),Ie.name=="begin"&&(Ie.argument=Xe.current()),Ie.styleIdentifier())}function ve(Xe,Be,Ie){if(Xe.eatSpace())return null;if(Ie&&Xe.match(Ie))return de(Be,Ve),"keyword";if(Xe.match(/^\\[a-zA-Z@]+/))return"tag";if(Xe.match(/^[a-zA-Z]+/))return"variable-2";if(Xe.match(/^\\[$&%#{}_]/)||Xe.match(/^\\[,;!\/]/)||Xe.match(/^[\^_&]/))return"tag";if(Xe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Xe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Le=Xe.next();return Le=="{"||Le=="}"||Le=="["||Le=="]"||Le=="("||Le==")"?"bracket":Le=="%"?(Xe.skipToEnd(),"comment"):"error"}function mt(Xe,Be){var Ie=Xe.peek(),Le;return Ie=="{"||Ie=="["?(Le=Ce(Be),Le.openBracket(Ie),Xe.eat(Ie),de(Be,Ve),"bracket"):/[ \t\r]/.test(Ie)?(Xe.eat(Ie),null):(de(Be,Ve),xe(Be),Ve(Xe,Be))}return{startState:function(){var Xe=ge.inMathMode?function(Be,Ie){return ve(Be,Ie)}:Ve;return{cmdState:[],f:Xe}},copyState:function(Xe){return{cmdState:Xe.cmdState.slice(),f:Xe.f}},token:function(Xe,Be){return Be.f(Xe,Be)},blankLine:function(Xe){Xe.f=Ve,Xe.cmdState.length=0},lineComment:"%"}}),te.defineMIME("text/x-stex","stex"),te.defineMIME("text/x-latex","stex")})},15525:function(Vt,Ot,oe){(function(te){te(oe(89780))})(function(te){"use strict";var Ke={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},ge={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};te.defineMode("xml",function(ze,Ce){var xe=ze.indentUnit,Me={},Ue=Ce.htmlMode?Ke:ge;for(var Ee in Ue)Me[Ee]=Ue[Ee];for(var Ee in Ce)Me[Ee]=Ce[Ee];var de,Ve;function ve(Te,it){function et(De){return it.tokenize=De,De(Te,it)}var he=Te.next();if(he=="<")return Te.eat("!")?Te.eat("[")?Te.match("CDATA[")?et(Be("atom","]]>")):null:Te.match("--")?et(Be("comment","-->")):Te.match("DOCTYPE",!0,!0)?(Te.eatWhile(/[\w\._\-]/),et(Ie(1))):null:Te.eat("?")?(Te.eatWhile(/[\w\._\-]/),it.tokenize=Be("meta","?>"),"meta"):(de=Te.eat("/")?"closeTag":"openTag",it.tokenize=mt,"tag bracket");if(he=="&"){var Et;return Te.eat("#")?Te.eat("x")?Et=Te.eatWhile(/[a-fA-F\d]/)&&Te.eat(";"):Et=Te.eatWhile(/[\d]/)&&Te.eat(";"):Et=Te.eatWhile(/[\w\.\-:]/)&&Te.eat(";"),Et?"atom":"error"}else return Te.eatWhile(/[^&<]/),null}ve.isInText=!0;function mt(Te,it){var et=Te.next();if(et==">"||et=="/"&&Te.eat(">"))return it.tokenize=ve,de=et==">"?"endTag":"selfcloseTag","tag bracket";if(et=="=")return de="equals",null;if(et=="<"){it.tokenize=ve,it.state=wt,it.tagName=it.tagStart=null;var he=it.tokenize(Te,it);return he?he+" tag error":"tag error"}else return/[\'\"]/.test(et)?(it.tokenize=Xe(et),it.stringStartCol=Te.column(),it.tokenize(Te,it)):(Te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Xe(Te){var it=function(et,he){for(;!et.eol();)if(et.next()==Te){he.tokenize=mt;break}return"string"};return it.isInAttribute=!0,it}function Be(Te,it){return function(et,he){for(;!et.eol();){if(et.match(it)){he.tokenize=ve;break}et.next()}return Te}}function Ie(Te){return function(it,et){for(var he;(he=it.next())!=null;){if(he=="<")return et.tokenize=Ie(Te+1),et.tokenize(it,et);if(he==">")if(Te==1){et.tokenize=ve;break}else return et.tokenize=Ie(Te-1),et.tokenize(it,et)}return"meta"}}function Le(Te,it,et){this.prev=Te.context,this.tagName=it,this.indent=Te.indented,this.startOfLine=et,(Me.doNotIndent.hasOwnProperty(it)||Te.context&&Te.context.noIndent)&&(this.noIndent=!0)}function Qe(Te){Te.context&&(Te.context=Te.context.prev)}function ht(Te,it){for(var et;;){if(!Te.context||(et=Te.context.tagName,!Me.contextGrabbers.hasOwnProperty(et)||!Me.contextGrabbers[et].hasOwnProperty(it)))return;Qe(Te)}}function wt(Te,it,et){return Te=="openTag"?(et.tagStart=it.column(),ct):Te=="closeTag"?$e:wt}function ct(Te,it,et){return Te=="word"?(et.tagName=it.current(),Ve="tag",bt):Me.allowMissingTagName&&Te=="endTag"?(Ve="tag bracket",bt(Te,it,et)):(Ve="error",ct)}function $e(Te,it,et){if(Te=="word"){var he=it.current();return et.context&&et.context.tagName!=he&&Me.implicitlyClosed.hasOwnProperty(et.context.tagName)&&Qe(et),et.context&&et.context.tagName==he||Me.matchClosing===!1?(Ve="tag",qe):(Ve="tag error",je)}else return Me.allowMissingTagName&&Te=="endTag"?(Ve="tag bracket",qe(Te,it,et)):(Ve="error",je)}function qe(Te,it,et){return Te!="endTag"?(Ve="error",qe):(Qe(et),wt)}function je(Te,it,et){return Ve="error",qe(Te,it,et)}function bt(Te,it,et){if(Te=="word")return Ve="attribute",Je;if(Te=="endTag"||Te=="selfcloseTag"){var he=et.tagName,Et=et.tagStart;return et.tagName=et.tagStart=null,Te=="selfcloseTag"||Me.autoSelfClosers.hasOwnProperty(he)?ht(et,he):(ht(et,he),et.context=new Le(et,he,Et==et.indented)),wt}return Ve="error",bt}function Je(Te,it,et){return Te=="equals"?He:(Me.allowMissing||(Ve="error"),bt(Te,it,et))}function He(Te,it,et){return Te=="string"?ot:Te=="word"&&Me.allowUnquoted?(Ve="string",bt):(Ve="error",bt(Te,it,et))}function ot(Te,it,et){return Te=="string"?ot:bt(Te,it,et)}return{startState:function(Te){var it={tokenize:ve,state:wt,indented:Te||0,tagName:null,tagStart:null,context:null};return Te!=null&&(it.baseIndent=Te),it},token:function(Te,it){if(!it.tagName&&Te.sol()&&(it.indented=Te.indentation()),Te.eatSpace())return null;de=null;var et=it.tokenize(Te,it);return(et||de)&&et!="comment"&&(Ve=null,it.state=it.state(de||et,Te,it),Ve&&(et=Ve=="error"?et+" error":Ve)),et},indent:function(Te,it,et){var he=Te.context;if(Te.tokenize.isInAttribute)return Te.tagStart==Te.indented?Te.stringStartCol+1:Te.indented+xe;if(he&&he.noIndent)return te.Pass;if(Te.tokenize!=mt&&Te.tokenize!=ve)return et?et.match(/^(\s*)/)[0].length:0;if(Te.tagName)return Me.multilineTagIndentPastTag!==!1?Te.tagStart+Te.tagName.length+2:Te.tagStart+xe*(Me.multilineTagIndentFactor||1);if(Me.alignCDATA&&/<!\[CDATA\[/.test(it))return 0;var Et=it&&/^<(\/)?([\w_:\.-]*)/.exec(it);if(Et&&Et[1])for(;he;)if(he.tagName==Et[2]){he=he.prev;break}else if(Me.implicitlyClosed.hasOwnProperty(he.tagName))he=he.prev;else break;else if(Et)for(;he;){var De=Me.contextGrabbers[he.tagName];if(De&&De.hasOwnProperty(Et[2]))he=he.prev;else break}for(;he&&he.prev&&!he.startOfLine;)he=he.prev;return he?he.indent+xe:Te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Me.htmlMode?"html":"xml",helperType:Me.htmlMode?"html":"xml",skipAttribute:function(Te){Te.state==He&&(Te.state=bt)},xmlCurrentTag:function(Te){return Te.tagName?{name:Te.tagName,close:Te.type=="closeTag"}:null},xmlCurrentContext:function(Te){for(var it=[],et=Te.context;et;et=et.prev)et.tagName&&it.push(et.tagName);return it.reverse()}}}),te.defineMIME("text/xml","xml"),te.defineMIME("application/xml","xml"),te.mimeModes.hasOwnProperty("text/html")||te.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Vt,Ot,oe){"use strict";oe.d(Ot,{hP:function(){return st}});var te=function(ae,ee){return(te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ie){z.__proto__=ie}||function(z,ie){for(var se in ie)Object.prototype.hasOwnProperty.call(ie,se)&&(z[se]=ie[se])})(ae,ee)};function Ke(ae,ee){function z(){this.constructor=ae}te(ae,ee),ae.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}function ge(ae,ee,z,ie){return new(z||(z=Promise))(function(se,re){function me(Ae){try{rt(ie.next(Ae))}catch(Ze){re(Ze)}}function ye(Ae){try{rt(ie.throw(Ae))}catch(Ze){re(Ze)}}function rt(Ae){var Ze;Ae.done?se(Ae.value):(Ze=Ae.value,Ze instanceof z?Ze:new z(function(tt){tt(Ze)})).then(me,ye)}rt((ie=ie.apply(ae,ee||[])).next())})}function ze(ae,ee){var z,ie,se,re,me={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(rt){return function(Ae){return function(Ze){if(z)throw new TypeError("Generator is already executing.");for(;me;)try{if(z=1,ie&&(se=2&Ze[0]?ie.return:Ze[0]?ie.throw||((se=ie.return)&&se.call(ie),0):ie.next)&&!(se=se.call(ie,Ze[1])).done)return se;switch(ie=0,se&&(Ze=[2&Ze[0],se.value]),Ze[0]){case 0:case 1:se=Ze;break;case 4:return me.label++,{value:Ze[1],done:!1};case 5:me.label++,ie=Ze[1],Ze=[0];continue;case 7:Ze=me.ops.pop(),me.trys.pop();continue;default:if(se=me.trys,!((se=se.length>0&&se[se.length-1])||Ze[0]!==6&&Ze[0]!==2)){me=0;continue}if(Ze[0]===3&&(!se||Ze[1]>se[0]&&Ze[1]<se[3])){me.label=Ze[1];break}if(Ze[0]===6&&me.label<se[1]){me.label=se[1],se=Ze;break}if(se&&me.label<se[2]){me.label=se[2],me.ops.push(Ze);break}se[2]&&me.ops.pop(),me.trys.pop();continue}Ze=ee.call(ae,me)}catch(tt){Ze=[6,tt],ie=0}finally{z=se=0}if(5&Ze[0])throw Ze[1];return{value:Ze[0]?Ze[1]:void 0,done:!0}}([rt,Ae])}}}function Ce(){for(var ae=0,ee=0,z=arguments.length;ee<z;ee++)ae+=arguments[ee].length;var ie=Array(ae),se=0;for(ee=0;ee<z;ee++)for(var re=arguments[ee],me=0,ye=re.length;me<ye;me++,se++)ie[se]=re[me];return ie}var xe=function(){function ae(){}return ae.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ae.setAttributes=function(ee,z){for(var ie=0,se=z;ie<se.length;ie++){var re=se[ie],me=re[0],ye=re[1];ee.setAttribute(me,ye)}},ae.createRect=function(ee,z,ie){var se=document.createElementNS("http://www.w3.org/2000/svg","rect");return se.setAttribute("width",ee.toString()),se.setAttribute("height",z.toString()),ie&&ae.setAttributes(se,ie),se},ae.createLine=function(ee,z,ie,se,re){var me=document.createElementNS("http://www.w3.org/2000/svg","line");return me.setAttribute("x1",ee.toString()),me.setAttribute("y1",z.toString()),me.setAttribute("x2",ie.toString()),me.setAttribute("y2",se.toString()),re&&ae.setAttributes(me,re),me},ae.createPolygon=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ie.setAttribute("points",ee),z&&ae.setAttributes(ie,z),ie},ae.createCircle=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","circle");return ie.setAttribute("cx",(ee/2).toString()),ie.setAttribute("cy",(ee/2).toString()),ie.setAttribute("r",ee.toString()),z&&ae.setAttributes(ie,z),ie},ae.createEllipse=function(ee,z,ie){var se=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return se.setAttribute("cx",(ee/2).toString()),se.setAttribute("cy",(z/2).toString()),se.setAttribute("rx",(ee/2).toString()),se.setAttribute("ry",(z/2).toString()),ie&&ae.setAttributes(se,ie),se},ae.createGroup=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","g");return ee&&ae.setAttributes(z,ee),z},ae.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ae.createMarker=function(ee,z,ie,se,re,me,ye){var rt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ae.setAttributes(rt,[["id",ee],["orient",z],["markerWidth",ie.toString()],["markerHeight",se.toString()],["refX",re.toString()],["refY",me.toString()]]),rt.appendChild(ye),rt},ae.createText=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","text");return z.setAttribute("x","0"),z.setAttribute("y","0"),ee&&ae.setAttributes(z,ee),z},ae.createTSpan=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ie.textContent=ee,z&&ae.setAttributes(ie,z),ie},ae.createImage=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","image");return ee&&ae.setAttributes(z,ee),z},ae.createPoint=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ie.x=ee,ie.y=z,ie},ae.createPath=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","path");return ie.setAttribute("d",ee),z&&ae.setAttributes(ie,z),ie},ae}(),Me=function(){function ae(){}return ae.addKey=function(ee){ae.key=ee},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}(),Ue=function(){function ae(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ae.prototype.rasterize=function(ee,z,ie){var se=this;return new Promise(function(re){var me=ie!==void 0?ie:document.createElement("canvas");ee===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",z.width.baseVal.valueAsString),ye.setAttribute("height",z.height.baseVal.valueAsString),ye.setAttribute("viewBox","0 0 "+z.viewBox.baseVal.width.toString()+" "+z.viewBox.baseVal.height.toString()),ye.innerHTML=z.innerHTML,se.naturalSize===!0?(ye.width.baseVal.value=ee.naturalWidth,ye.height.baseVal.value=ee.naturalHeight):se.width!==void 0&&se.height!==void 0&&(ye.width.baseVal.value=se.width,ye.height.baseVal.value=se.height),me.width=ye.width.baseVal.value,me.height=ye.height.baseVal.value;var rt=ye.outerHTML,Ae=me.getContext("2d");se.markersOnly!==!0&&Ae.drawImage(ee,0,0,me.width,me.height);var Ze=window.URL,tt=new Image(me.width,me.height);tt.setAttribute("crossOrigin","anonymous");var gt=new Blob([rt],{type:"image/svg+xml"}),lt=Ze.createObjectURL(gt);tt.onload=function(){Ae.drawImage(tt,0,0),Ze.revokeObjectURL(lt);var Ft=me.toDataURL(se.imageType,se.imageQuality);re(Ft)},tt.src=lt})},ae}(),Ee=function(){},de=function(){function ae(ee){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ee+"_"}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(ee){return this.styleSheet===void 0&&this.addStyleSheet(),ee.name=""+this.classNamePrefix+ee.localName,this.classes.push(ee),this.styleSheet.sheet.insertRule("."+ee.name+" {"+ee.style+"}",this.styleSheet.sheet.cssRules.length),ee},ae.prototype.addRule=function(ee){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ee),this.styleSheet.sheet.insertRule(ee.selector+" {"+ee.style+"}",this.styleSheet.sheet.cssRules.length)},ae.prototype.addStyleSheet=function(){var ee;this.styleSheet=document.createElement("style"),((ee=this.styleSheetRoot)!==null&&ee!==void 0?ee:document.head).appendChild(this.styleSheet),this.addRule(new Ve("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new ve("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new ve("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},ae.prototype.removeStyleSheet=function(){var ee;this.styleSheet&&(((ee=this.styleSheetRoot)!==null&&ee!==void 0?ee:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ae}(),Ve=function(ae,ee){this.selector=ae,this.style=ee},ve=function(ae,ee){this.localName=ae,this.style=ee},mt=function(){function ae(ee,z,ie,se,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ee,this.displayMode=z,this.markerItems=ie,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(ee){var z=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ee,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ie=document.createElement("div");ie.className=this.toolbarBlockStyleClass.name,ie.style.whiteSpace="nowrap",this.uiContainer.appendChild(ie),this.addActionButton(ie,'<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(ie,'<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(ie,'<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(ie,'<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(ie,'<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(ie,'<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(ie,'<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(ie,'<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 me=document.createElement("div");me.className=""+z.toolbarButtonStyleClass.name,me.setAttribute("data-type-name",re.typeName),me.innerHTML=re.icon,me.addEventListener("click",function(){z.markerToolbarButtonClicked(me,re)}),z.buttons.push(me),z.markerButtons.push(me)}),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(ee){this.buttonClickListeners.push(ee)},ae.prototype.removeButtonClickListener=function(ee){this.buttonClickListeners.indexOf(ee)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ee),1)},ae.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ae.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ee=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var z=0;z<this.markerButtons.length;z++)z<ee||z===ee&&this.markerButtons.length-1===ee?this.markerButtonBlock.appendChild(this.markerButtons[z]):(z===ee&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[z]))}},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 ee=this;this.buttons.forEach(function(z){z.className=z.className.replace(ee.uiStyleSettings.toolbarButtonStyleColorsClassName?ee.uiStyleSettings.toolbarButtonStyleColorsClassName:ee.toolbarButtonStyleColorsClass.name,"").trim(),z.className=z.className.replace(ee.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ee.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ee.toolbarActiveButtonStyleColorsClass.name,"").trim(),z.className+=" "+(ee.uiStyleSettings.toolbarButtonStyleColorsClassName?ee.uiStyleSettings.toolbarButtonStyleColorsClassName:ee.toolbarButtonStyleColorsClass.name)})},ae.prototype.addActionButton=function(ee,z,ie){var se=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=z,re.setAttribute("data-action",ie),re.addEventListener("click",function(){se.actionToolbarButtonClicked(re,ie)}),ie){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}ee.appendChild(re),this.buttons.push(re)},ae.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ve("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 ve("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ve("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ve("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 ve("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ee=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ve("toolbar_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.toolbarButtonStyleColorsClass=this.styles.addClass(new ve("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},ae.prototype.markerToolbarButtonClicked=function(ee,z){this.setActiveButton(ee),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ie){return ie("marker",z)}),this.markerButtonOverflowBlock.style.display="none"},ae.prototype.actionToolbarButtonClicked=function(ee,z){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ie){return ie("action",z)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ae.prototype.setActiveButton=function(ee){this.resetButtonStyles(),ee.className=ee.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ee.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ae.prototype.setActiveMarkerButton=function(ee){var z=this.markerButtons.find(function(ie){return ie.getAttribute("data-type-name")===ee});z&&this.setActiveButton(z)},ae.prototype.setCurrentMarker=function(ee){var z=this;this.currentMarker=ee,this.buttons.filter(function(ie){return/delete|notes/.test(ie.getAttribute("data-action"))}).forEach(function(ie){z.currentMarker===void 0?(ie.style.fillOpacity="0.4",ie.style.pointerEvents="none"):(ie.style.fillOpacity="1",ie.style.pointerEvents="all")})},ae}(),Xe=function(){function ae(ee,z,ie,se){this.panels=[],this.panelButtons=[],this.markerjsContainer=ee,this.displayMode=z,this.uiStyleSettings=ie,this.styles=se,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ae.prototype.addStyles=function(){var ee;this.toolboxStyleClass=this.styles.addClass(new ve("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 ve("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var z=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ve("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ve("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ve("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 ve("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ee=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ee!==void 0?ee:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ve("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
|
padding: `+z+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ve("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},ae.prototype.show=function(ee){var z;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ee,this.uiContainer.className=this.toolboxStyleClass.name+" "+((z=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ae.prototype.setPanelButtons=function(ee){var z,ie,se=this;this.panels=ee,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((z=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var me;re.uiStyleSettings=se.uiStyleSettings;var ye=document.createElement("div");ye.className=se.toolboxButtonStyleClass.name+" "+((me=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&me!==void 0?me: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(ee){var z=this,ie=-1;if(ee!==this.activePanel){ie=this.panels.indexOf(ee),this.panelRow.innerHTML="";var se=ee.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=ee}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){z.displayMode==="inline"?z.panelRow.style.display="none":z.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,me){var ye,rt;re.className=z.toolboxButtonStyleClass.name+" "+(me===ie?""+((ye=z.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ye!==void 0?ye:z.toolboxActiveButtonStyleColorsClass.name):""+((rt=z.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&rt!==void 0?rt:z.toolboxButtonStyleColorsClass.name))})},ae}(),Be=function(ae,ee){this.title=ae,this.icon=ee},Ie=function(ae){function ee(z,ie,se,re){var me=ae.call(this,z,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 me.colors=[],me.addTransparent=!1,me.colorBoxes=[],me.colors=ie,me.currentColor=se,me.setCurrentColor=me.setCurrentColor.bind(me),me.getColorBox=me.getColorBox.bind(me),me}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.style.whiteSpace="nowrap",this.colors.forEach(function(se){var re=z.getColorBox(se);ie.appendChild(re),z.colorBoxes.push(re)}),ie},ee.prototype.getColorBox=function(z){var ie=this,se=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-se,me=document.createElement("div");me.style.display="inline-block",me.style.boxSizing="content-box",me.style.width=re-2+"px",me.style.height=re-2+"px",me.style.padding="1px",me.style.marginRight="2px",me.style.marginBottom="2px",me.style.borderWidth="2px",me.style.borderStyle="solid",me.style.borderRadius=(re+2)/2+"px",me.style.borderColor=z===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",me.addEventListener("click",function(){ie.setCurrentColor(z,me)});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=z,ye.style.borderRadius=re/2+"px",z==="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>`),me.appendChild(ye),me},ee.prototype.setCurrentColor=function(z,ie){var se=this;this.currentColor=z,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(z)},ee}(Be),Le=function(){function ae(ee,z,ie){this._state="new",this._isSelected=!1,this._container=ee,this._overlayContainer=z,this.globalSettings=ie,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(ee){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(ee,z){},ae.prototype.dblClick=function(ee,z){},ae.prototype.manipulate=function(ee){},ae.prototype.pointerUp=function(ee){this.stateChanged()},ae.prototype.dispose=function(){},ae.prototype.addMarkerVisualToContainer=function(ee){this.container.childNodes.length>0?this.container.insertBefore(ee,this.container.childNodes[0]):this.container.appendChild(ee)},ae.prototype.getState=function(){return{typeName:ae.typeName,state:this.state,notes:this.notes}},ae.prototype.restoreState=function(ee){this._state=ee.state,this.notes=ee.notes},ae.prototype.scale=function(ee,z){},ae.prototype.colorChanged=function(ee){this.onColorChanged&&this.onColorChanged(ee),this.stateChanged()},ae.prototype.fillColorChanged=function(ee){this.onFillColorChanged&&this.onFillColorChanged(ee),this.stateChanged()},ae.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ee=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ee.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ee)&&this.onStateChanged(this)}},ae.typeName="MarkerBase",ae}(),Qe=function(){function ae(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ae.prototype.findGripByVisual=function(ee){return this.topLeft.ownsTarget(ee)?this.topLeft:this.topCenter.ownsTarget(ee)?this.topCenter:this.topRight.ownsTarget(ee)?this.topRight:this.centerLeft.ownsTarget(ee)?this.centerLeft:this.centerRight.ownsTarget(ee)?this.centerRight:this.bottomLeft.ownsTarget(ee)?this.bottomLeft:this.bottomCenter.ownsTarget(ee)?this.bottomCenter:this.bottomRight.ownsTarget(ee)?this.bottomRight:void 0},ae}(),ht=function(){function ae(){this.GRIP_SIZE=10,this.visual=xe.createGroup(),this.visual.appendChild(xe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(xe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ae.prototype.ownsTarget=function(ee){return ee===this.visual||ee===this.visual.childNodes[0]||ee===this.visual.childNodes[1]},ae}(),wt=function(){function ae(){}return ae.toITransformMatrix=function(ee){return{a:ee.a,b:ee.b,c:ee.c,d:ee.d,e:ee.e,f:ee.f}},ae.toSVGMatrix=function(ee,z){return ee.a=z.a,ee.b=z.b,ee.c=z.c,ee.d=z.d,ee.e=z.e,ee.f=z.f,ee},ae}(),ct=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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(xe.createTransform()),re.setupControlBox(),re}return Ke(ee,ae),Object.defineProperty(ee.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"visual",{get:function(){return this._visual},set:function(z){this._visual=z;var ie=xe.createTransform();this._visual.transform.baseVal.appendItem(ie)},enumerable:!1,configurable:!0}),ee.prototype.ownsTarget=function(z){return!!ae.prototype.ownsTarget.call(this,z)||!!(this.controlGrips.findGripByVisual(z)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(z))},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.left=z.x,this.top=z.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var se=this.unrotatePoint(z);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(ie),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie)){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 me=this.container.transform.baseVal.getItem(0);me.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(me,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ee.prototype.pointerUp=function(z){var ie=this.state;ae.prototype.pointerUp.call(this,z),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(z),this._state="select",ie==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ee.prototype.moveVisual=function(z){this.visual.style.transform="translate("+z.x+"px, "+z.y+"px)"},ee.prototype.manipulate=function(z){var ie=this.unrotatePoint(z);this.state==="creating"?this.resize(z):this.state==="move"?(this.left=this.manipulationStartLeft+(ie.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ie.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ie):this.state==="rotate"&&this.rotate(z)},ee.prototype.resize=function(z){var ie=this.manipulationStartLeft,se=this.manipulationStartWidth,re=this.manipulationStartTop,me=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ie=this.manipulationStartLeft+z.x-this.manipulationStartX,se=this.manipulationStartWidth+this.manipulationStartLeft-ie;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:se=this.manipulationStartWidth+z.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+z.y-this.manipulationStartY,me=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:me=this.manipulationStartHeight+z.y-this.manipulationStartY}se>=0?(this.left=ie,this.width=se):(this.left=ie+se,this.width=-se),me>=0?(this.top=re,this.height=me):(this.top=re+me,this.height=-me),this.setSize()},ee.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ee.prototype.rotate=function(z){if(Math.abs(z.x-this.centerX)>.1){var ie=Math.sign(z.x-this.centerX);this.rotationAngle=180*Math.atan((z.y-this.centerY)/(z.x-this.centerX))/Math.PI+90*ie,this.applyRotation()}},ee.prototype.applyRotation=function(){var z=this.container.transform.baseVal.getItem(0);z.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(z,0)},ee.prototype.rotatePoint=function(z){if(this.rotationAngle===0)return z;var ie=this.container.getCTM(),se=xe.createPoint(z.x,z.y);return{x:(se=se.matrixTransform(ie)).x,y:se.y}},ee.prototype.unrotatePoint=function(z){if(this.rotationAngle===0)return z;var ie=this.container.getCTM();ie=ie.inverse();var se=xe.createPoint(z.x,z.y);return{x:(se=se.matrixTransform(ie)).x,y:se.y}},ee.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ee.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ee.prototype.setupControlBox=function(){this.controlBox=xe.createGroup();var z=xe.createTransform();z.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(z),this.container.appendChild(this.controlBox),this.controlRect=xe.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=xe.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 Qe,this.addControlGrips(),this.controlBox.style.display="none"},ee.prototype.adjustControlBox=function(){var z=this.controlBox.transform.baseVal.getItem(0);z.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(z,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ee.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()},ee.prototype.createGrip=function(){var z=new ht;return z.visual.transform.baseVal.appendItem(xe.createTransform()),this.controlBox.appendChild(z.visual),z},ee.prototype.positionGrips=function(){var z=this.controlGrips.topLeft.GRIP_SIZE,ie=-z/2,se=ie,re=(this.width+this.CB_DISTANCE)/2-z/2,me=(this.height+this.CB_DISTANCE)/2-z/2,ye=this.height+this.CB_DISTANCE-z/2,rt=this.width+this.CB_DISTANCE-z/2;this.positionGrip(this.controlGrips.topLeft.visual,ie,se),this.positionGrip(this.controlGrips.topCenter.visual,re,se),this.positionGrip(this.controlGrips.topRight.visual,rt,se),this.positionGrip(this.controlGrips.centerLeft.visual,ie,me),this.positionGrip(this.controlGrips.centerRight.visual,rt,me),this.positionGrip(this.controlGrips.bottomLeft.visual,ie,ye),this.positionGrip(this.controlGrips.bottomCenter.visual,re,ye),this.positionGrip(this.controlGrips.bottomRight.visual,rt,ye),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,se-3*this.CB_DISTANCE)},ee.prototype.positionGrip=function(z,ie,se){var re=z.transform.baseVal.getItem(0);re.setTranslate(ie,se),z.transform.baseVal.replaceItem(re,0)},ee.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ee.prototype.showControlBox=function(){this.controlBox.style.display=""},ee.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:wt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:wt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ae.prototype.getState.call(this))},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.left=ie.left,this.top=ie.top,this.width=ie.width,this.height=ie.height,this.rotationAngle=ie.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(wt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ie.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(wt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ie.containerTransformMatrix))},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie);var se=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:se.x*z,y:se.y*ie});this.left=re.x,this.top=re.y,this.width=this.width*z,this.height=this.height*ie,this.adjustControlBox()},ee}(Le),$e=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ee.prototype.createVisual=function(){this.visual=xe.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)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&xe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&xe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&xe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&xe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ee.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))},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.opacity=ie.opacity,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.title="Rectangle marker",ee}(ct),qe=function(ae){function ee(z,ie,se,re){var me=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return me.widths=[],me.widthBoxes=[],me.widths=ie,me.currentWidth=se,me.setCurrentWidth=me.setCurrentWidth.bind(me),me}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.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===z.currentWidth?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentWidth(se,re)}),ie.appendChild(re);var me=document.createElement("div");me.innerText=se.toString(),me.style.marginRight="5px",re.appendChild(me);var ye=document.createElement("div");ye.style.minHeight="20px",ye.style.flexGrow="2",ye.style.display="flex",ye.style.alignItems="center";var rt=document.createElement("hr");rt.style.minWidth="20px",rt.style.border="0px",rt.style.borderTop=se+"px solid "+z.uiStyleSettings.toolboxColor,rt.style.flexGrow="2",ye.appendChild(rt),re.appendChild(ye),z.widthBoxes.push(re)}),ie},ee.prototype.setCurrentWidth=function(z,ie){var se=this;this.currentWidth=z,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ee}(Be),je=function(ae){function ee(z,ie,se,re){var me=ae.call(this,z,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 me.styles=[],me.styleBoxes=[],me.styles=ie,me.currentStyle=se,me.setCurrentStyle=me.setCurrentStyle.bind(me),me}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.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/z.styles.length-5+"%",re.style.borderColor=se===z.currentStyle?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentStyle(se,re)}),ie.appendChild(re);var me=document.createElement("div");me.style.minHeight="20px",me.style.flexGrow="2",me.style.overflow="hidden";var ye=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+z.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(se!==""?'stroke-dasharray="'+se+'"':"")+` />
|
|
|
</svg>`;me.innerHTML=ye,re.appendChild(me),z.styleBoxes.push(re)}),ie},ee.prototype.setCurrentStyle=function(z,ie){var se=this;this.currentStyle=z,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ee}(Be),bt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,se)||this;return re.strokeColor=se.defaultColor,re.strokeWidth=se.defaultStrokeWidth,re.strokeDasharray=se.defaultStrokeDasharray,re.strokePanel=new Ie("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new je("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ke(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="FrameMarker",ee.title="Frame marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ee}($e),Je=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 ee(z,ie,se){var re=ae.call(this,z,ie,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 Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!!ae.prototype.ownsTarget.call(this,z)||!(!this.grip1.ownsTarget(z)&&!this.grip2.ownsTarget(z))},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.manipulationStartX=z.x,this.manipulationStartY=z.y,this.state==="new"&&(this.x1=z.x,this.y1=z.y,this.x2=z.x,this.y2=z.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ie)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ie)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ee.prototype.pointerUp=function(z){var ie=this.state;ae.prototype.pointerUp.call(this,z),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(z),this._state="select",ie==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ee.prototype.adjustVisual=function(){},ee.prototype.manipulate=function(z){this.state==="creating"?this.resize(z):this.state==="move"?(this.x1=this.manipulationStartX1+z.x-this.manipulationStartX,this.y1=this.manipulationStartY1+z.y-this.manipulationStartY,this.x2=this.manipulationStartX2+z.x-this.manipulationStartX,this.y2=this.manipulationStartY2+z.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(z)},ee.prototype.resize=function(z){switch(this.activeGrip){case this.grip1:this.x1=z.x,this.y1=z.y;break;case this.grip2:case void 0:this.x2=z.x,this.y2=z.y}this.adjustVisual(),this.adjustControlBox()},ee.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ee.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ee.prototype.setupControlBox=function(){this.controlBox=xe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ee.prototype.adjustControlBox=function(){this.positionGrips()},ee.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ee.prototype.createGrip=function(){var z=new ht;return z.visual.transform.baseVal.appendItem(xe.createTransform()),this.controlBox.appendChild(z.visual),z},ee.prototype.positionGrips=function(){var z=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-z/2,this.y1-z/2),this.positionGrip(this.grip2.visual,this.x2-z/2,this.y2-z/2)},ee.prototype.positionGrip=function(z,ie,se){var re=z.transform.baseVal.getItem(0);re.setTranslate(ie,se),z.transform.baseVal.replaceItem(re,0)},ee.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ae.prototype.getState.call(this))},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.x1=ie.x1,this.y1=ie.y1,this.x2=ie.x2,this.y2=ie.y2},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.x1=this.x1*z,this.y1=this.y1*ie,this.x2=this.x2*z,this.y2=this.y2*ie,this.adjustVisual(),this.adjustControlBox()},ee}(Le),ot=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new je("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorLine&&z!==this.visibleLine)},ee.prototype.createVisual=function(){this.visual=xe.createGroup(),this.selectorLine=xe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=xe.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)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ee.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()),xe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),xe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),xe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.createVisual(),this.adjustVisual()},ee.typeName="LineMarker",ee.title="Line marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ee}(He),Te=function(ae){function ee(z,ie,se,re){var me=ae.call(this,z,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 me.fonts=[],me.fontBoxes=[],me.fonts=ie,me.currentFont=se,me.setCurrentFont=me.setCurrentFont.bind(me),me}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.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/z.fonts.length-5+"%",re.style.borderColor=se===z.currentFont?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentFont(se,re)}),ie.appendChild(re);var me=document.createElement("div");me.style.display="flex",me.style.minHeight="20px",me.style.flexGrow="2",me.style.fontFamily=se,me.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",me.appendChild(ye),re.appendChild(me),z.fontBoxes.push(re)}),ie},ee.prototype.setCurrentFont=function(z,ie){var se=this;this.currentFont=z,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ee}(Be),it=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Color",se.defaultColorSet,se.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new Te("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){if(ae.prototype.ownsTarget.call(this,z)||z===this.visual||z===this.textElement||z===this.bgRectangle)return!0;var ie=!1;return this.textElement.childNodes.forEach(function(se){se===z&&(ie=!0)}),ie},ee.prototype.createVisual=function(){this.visual=xe.createGroup(),this.bgRectangle=xe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=xe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(xe.createTransform()),this.textElement.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.renderText=function(){var z=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ie){z.textElement.appendChild(xe.createTSpan(ie.trim()===""?" ":ie.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ee.prototype.getTextScale=function(){var z=this.textElement.getBBox(),ie=1;if(z.width>0&&z.height>0){var se=(1*this.width-this.width*this.padding*2/100)/z.width,re=(1*this.height-this.height*this.padding*2/100)/z.height;ie=Math.min(se,re)}return ie},ee.prototype.getTextPosition=function(z){var ie=this.textElement.getBBox(),se=0,re=0;return ie.width>0&&ie.height>0&&(se=(this.width-ie.width*z)/2,re=this.height/2-ie.height*z/2),{x:se,y:re}},ee.prototype.sizeText=function(){var z=this.textElement.getBBox(),ie=this.getTextScale(),se=this.getTextPosition(ie);se.y-=z.y*ie,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+se.x+"px, "+se.y+"px) scale("+ie+", "+ie+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(se.x,se.y),this.textElement.transform.baseVal.getItem(1).setScale(ie,ie))},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.isMoved=!0,this.setSize(),this.sizeText()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ee.prototype.pointerUp=function(z){var ie=this.state;ie==="creating"&&(this._suppressMarkerCreateEvent=!0),ae.prototype.pointerUp.call(this,z),this.setSize(),(ie==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ee.prototype.showTextEditor=function(){var z=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ie=Number.parseFloat(z.textEditor.style.fontSize);z.textEditor.clientWidth>=Number.parseInt(z.textEditor.style.maxWidth)&&ie>.9;)ie-=.1,z.textEditor.style.fontSize=Math.max(ie,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ie){if(ie.clipboardData){var se=ie.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(se)),ie.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){z.textEditDivClicked(z.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ee.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var z=this.getTextScale(),ie=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),se=this.textElement.getBBox(),re={x:se.width*z,y:se.height*z};ie.x-=re.x/2,ie.y-=re.y/2,this.textEditor.style.top=ie.y+"px",this.textEditor.style.left=ie.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ie.x+"px",this.textEditor.style.fontSize=Math.max(16*z,12)+"px",this.textElement.style.display="none"}},ee.prototype.textEditDivClicked=function(z){this.text=z.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ee.prototype.select=function(){ae.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ee.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ae.prototype.deselect.call(this)},ee.prototype.dblClick=function(z,ie){ae.prototype.dblClick.call(this,z,ie),this.showTextEditor()},ee.prototype.setColor=function(z){this.textElement&&xe.setAttributes(this.textElement,[["fill",z]]),this.color=z,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(z)},ee.prototype.setFont=function(z){this.textElement&&xe.setAttributes(this.textElement,[["font-family",z]]),this.fontFamily=z,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ee.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ee.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.color=ie.color,this.fontFamily=ie.fontFamily,this.padding=ie.padding,this.text=ie.text,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize(),this.sizeText(),this.positionTextEditor()},ee.typeName="TextMarker",ee.title="Text marker",ee.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>',ee}(ct),et=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Color",se.defaultColorSet,se.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.drawingImage)},ee.prototype.createVisual=function(){this.visual=xe.createGroup(),this.drawingImage=xe.createImage(),this.visual.appendChild(this.drawingImage);var z=xe.createTransform();this.visual.transform.baseVal.appendItem(z),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(z.x,z.y),this.drawing=!0):ae.prototype.pointerDown.call(this,z,ie)},ee.prototype.manipulate=function(z){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(z.x,z.y),this.canvasContext.stroke()):ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),xe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ee.prototype.pointerUp=function(z){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ae.prototype.pointerUp.call(this,z)},ee.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)},ee.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.select.call(this)},ee.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.deselect.call(this)},ee.prototype.finishCreation=function(){for(var z=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ie=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],se=ie[0],re=ie[1],me=ie[2],ye=ie[3],rt=!1,Ae=0;Ae<this.canvasElement.height;Ae++)for(var Ze=0;Ze<this.canvasElement.width;Ze++)z.data[Ae*this.canvasElement.width*4+4*Ze+3]>0&&(rt=!0,Ae<re&&(re=Ae),Ze<se&&(se=Ze),Ae>ye&&(ye=Ae),Ze>me&&(me=Ze));if(rt){this.left=se/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(me-se)/this.pixelRatio,this.height=(ye-re)/this.pixelRatio;var tt=document.createElement("canvas");tt.width=me-se,tt.height=ye-re,tt.getContext("2d").putImageData(this.canvasContext.getImageData(se,re,me-se,ye-re),0,0),this.drawingImgUrl=tt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ee.prototype.setDrawingImage=function(){xe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),xe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ee.prototype.setColor=function(z){this.color=z,this.colorChanged(z)},ee.prototype.setLineWidth=function(z){this.lineWidth=z},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({drawingImgUrl:this.drawingImgUrl},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){this.createVisual(),ae.prototype.restoreState.call(this,z),this.drawingImgUrl=z.drawingImgUrl,this.setDrawingImage()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setDrawingImage()},ee.typeName="FreehandMarker",ee.title="Freehand marker",ee.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>',ee}(ct),he=function(ae){function ee(z,ie,se){var re=ae.call(this,z,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=ie,re.setCurrentType=re.setCurrentType.bind(re),re}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2";for(var se=function(ye){var rt="both";switch(ye){case 0:rt="both";break;case 1:rt="start";break;case 2:rt="end";break;case 3:rt="none"}var Ae=document.createElement("div");if(Ae.style.display="flex",Ae.style.flexGrow="2",Ae.style.alignItems="center",Ae.style.justifyContent="space-between",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.borderColor=rt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){z.setCurrentType(rt,Ae)}),ie.appendChild(Ae),rt==="both"||rt==="start"){var Ze=document.createElement("div");Ze.style.display="flex",Ze.style.alignItems="center",Ze.style.minHeight="20px",Ze.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>`,Ze.style.marginLeft="5px",Ae.appendChild(Ze)}var tt=document.createElement("div");tt.style.display="flex",tt.style.alignItems="center",tt.style.minHeight="20px",tt.style.flexGrow="2";var gt=document.createElement("hr");if(gt.style.minWidth="20px",gt.style.border="0px",gt.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),gt.style.flexGrow="2",tt.appendChild(gt),Ae.appendChild(tt),rt==="both"||rt==="end"){var lt=document.createElement("div");lt.style.display="flex",lt.style.alignItems="center",lt.style.minHeight="20px",lt.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>`,lt.style.marginRight="5px",Ae.appendChild(lt)}re.typeBoxes.push(Ae)},re=this,me=0;me<4;me++)se(me);return ie},ee.prototype.setCurrentType=function(z,ie){var se=this;this.currentType=z,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ee}(Be),Et=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 he("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.arrow1&&z!==this.arrow2)},ee.prototype.getArrowPoints=function(z,ie){var se=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return z-se/2+","+(ie+re/2)+" "+z+","+(ie-re/2)+" "+(z+se/2)+","+(ie+re/2)},ee.prototype.createTips=function(){this.arrow1=xe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=xe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(xe.createTransform()),this.visual.appendChild(this.arrow2)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"&&this.createTips()},ee.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",xe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),xe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var z=0;Math.abs(this.x1-this.x2)>.1&&(z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ie=this.arrow1.transform.baseVal.getItem(0);ie.setRotate(z,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ie,0);var se=this.arrow2.transform.baseVal.getItem(0);se.setRotate(z+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(se,0)}},ee.prototype.setArrowType=function(z){this.arrowType=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({arrowType:this.arrowType},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.arrowType=ie.arrowType,this.createTips(),this.adjustVisual()},ee.typeName="ArrowMarker",ee.title="Arrow marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ee}(ot),De=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,se)||this;return re.fillColor=se.defaultFillColor,re.strokeWidth=0,re.fillPanel=new Ie("Color",se.defaultColorSet,se.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Ke(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="CoverMarker",ee.title="Cover marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ee}($e),It=function(ae){function ee(z,ie,se,re){var me=ae.call(this,z,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 me.opacities=[],me.opacityBoxes=[],me.opacities=ie,me.currentOpacity=se,me.setCurrentOpacity=me.setCurrentOpacity.bind(me),me}return Ke(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",ie.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===z.currentOpacity?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentOpacity(se,re)}),ie.appendChild(re);var me=document.createElement("div");me.innerText=100*se+"%",re.appendChild(me),z.opacityBoxes.push(re)}),ie},ee.prototype.setCurrentOpacity=function(z,ie){var se=this;this.currentOpacity=z,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ie?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ee}(Be),zt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,se)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=se.defaultHighlightColor,re.strokeWidth=0,re.opacity=se.defaultHighlightOpacity,re.fillPanel=new Ie("Color",se.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new It("Opacity",se.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ke(ee,ae),ee.prototype.setOpacity=function(z){this.opacity=z,this.visual&&xe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="HighlightMarker",ee.title="Highlight marker",ee.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>',ee}(De),Se='<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>',pt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Text color",se.defaultColorSet,re.color,Se),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new Ie("Fill color",se.defaultColorSet,re.bgColor,fe),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new Te("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new ht,re.tipGrip.visual.transform.baseVal.appendItem(xe.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return ae.prototype.ownsTarget.call(this,z)||this.tipGrip.ownsTarget(z)||this.tip===z},ee.prototype.createTip=function(){xe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=xe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ee.prototype.pointerDown=function(z,ie){this.state==="new"&&ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ie)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ae.prototype.pointerDown.call(this,z,ie)},ee.prototype.pointerUp=function(z){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ae.prototype.pointerUp.call(this,z);else{var ie=this.state==="creating";ae.prototype.pointerUp.call(this,z),this.setTipPoints(ie),this.positionTip()}},ee.prototype.manipulate=function(z){if(this.tipMoving){var ie=this.unrotatePoint(z);this.tipPosition={x:ie.x-this.manipulationStartLeft,y:ie.y-this.manipulationStartTop},this.positionTip()}else ae.prototype.manipulate.call(this,z)},ee.prototype.setBgColor=function(z){this.bgRectangle&&this.tip&&(xe.setAttributes(this.bgRectangle,[["fill",z]]),xe.setAttributes(this.tip,[["fill",z]])),this.bgColor=z,this.fillColorChanged(z)},ee.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},ee.prototype.setTipPoints=function(z){z===void 0&&(z=!1);var ie=Math.min(this.height/2,15),se=this.height/5;z&&(this.tipPosition={x:ie+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,ie=Math.min(this.width/2,15),this.tipBase1Position={x:ie,y:0},this.tipBase2Position={x:ie+se,y:0}):(this.tipBase1Position={x:0,y:ie},this.tipBase2Position={x:0,y:ie+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,ie=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ie-se,y:0},this.tipBase2Position={x:this.width-ie,y:0}):(this.tipBase1Position={x:this.width,y:ie},this.tipBase2Position={x:this.width,y:ie+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,ie=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ie-se,y:this.height},this.tipBase2Position={x:this.width-ie,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ie-se},this.tipBase2Position={x:this.width,y:this.height-ie}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(se=this.width/5,ie=Math.min(this.width/2,15),this.tipBase1Position={x:ie,y:this.height},this.tipBase2Position={x:ie+se,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ie},this.tipBase2Position={x:0,y:this.height-ie-se})},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.positionTip()},ee.prototype.positionTip=function(){xe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var z=this.tipGrip.visual.transform.baseVal.getItem(0);z.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(z,0)},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ee.prototype.select=function(){this.positionTip(),ae.prototype.select.call(this)},ee.prototype.getState=function(){var z=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.bgColor=ie.bgColor,this.tipPosition=ie.tipPosition,ae.prototype.restoreState.call(this,z),this.createTip(),this.setTipPoints()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.tipPosition={x:this.tipPosition.x*z,y:this.tipPosition.y*ie},this.positionTip()},ee.typeName="CalloutMarker",ee.title="Callout marker",ee.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>',ee}(it),Zt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Line color",Ce(se.defaultColorSet,["transparent"]),se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Ie("Fill color",Ce(se.defaultColorSet,["transparent"]),re.fillColor,fe),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new je("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new It("Opacity",se.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ee.prototype.createVisual=function(){this.visual=xe.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)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),xe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&xe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&xe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&xe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&xe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ee.prototype.setOpacity=function(z){this.opacity=z,this.visual&&xe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.opacity=ie.opacity,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.typeName="EllipseMarker",ee.title="Ellipse marker",ee.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>',ee}(ct),St=function(ae){function ee(z,ie,se){return ae.call(this,z,ie,se)||this}return Ke(ee,ae),Object.defineProperty(ee.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.tip1&&z!==this.tip2)},ee.prototype.createTips=function(){this.tip1=xe.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(xe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=xe.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(xe.createTransform()),this.visual.appendChild(this.tip2)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"&&this.createTips()},ee.prototype.adjustVisual=function(){if(ae.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(xe.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()]]),xe.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ie=this.tip1.transform.baseVal.getItem(0);ie.setRotate(z,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ie,0);var se=this.tip2.transform.baseVal.getItem(0);se.setRotate(z+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(se,0)}},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z),this.createTips(),this.adjustVisual()},ee.typeName="MeasurementMarker",ee.title="Measurement marker",ee.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>',ee}(ot),Re=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,se)||this;return re.strokePanel.colors=se.defaultColorSet,re.fillColor="transparent",re}return Ke(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="EllipseFrameMarker",ee.title="Ellipse frame marker",ee.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>',ee}(Zt),at=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(ee){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ee)||(this.undoStack.push(ee),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ee)&&this.redoStack.splice(0,this.redoStack.length))},ae.prototype.replaceLastUndoStep=function(ee){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ee)},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 ee=this.undoStack.pop();return ee!==void 0&&this.redoStack.push(ee),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}(),vt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Line color",se.defaultColorSet,se.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new je("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorCurve&&z!==this.visibleCurve&&!this.curveGrip.ownsTarget(z))},ee.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ee.prototype.createVisual=function(){this.visual=xe.createGroup(),this.selectorCurve=xe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=xe.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)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=z.x,this.curveY=z.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ie)&&(this.activeGrip=this.curveGrip,this._state="resize")},ee.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),xe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),xe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),xe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ee.prototype.setupControlBox=function(){ae.prototype.setupControlBox.call(this),this.curveControlLine1=xe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=xe.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)},ee.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ae.prototype.addControlGrips.call(this)},ee.prototype.positionGrips=function(){ae.prototype.positionGrips.call(this);var z=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-z/2,this.curveY-z/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ee.prototype.manipulate=function(z){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+z.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+z.y-this.manipulationStartY),ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){this.activeGrip===this.curveGrip&&(this.curveX=z.x,this.curveY=z.y),ae.prototype.resize.call(this,z),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual()},ee.prototype.scale=function(z,ie){this.curveX=this.curveX*z,this.curveY=this.curveY*ie,ae.prototype.scale.call(this,z,ie)},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.curveX=ie.curveX,this.curveY=ie.curveY,this.createVisual(),this.adjustVisual()},ee.typeName="CurveMarker",ee.title="Curve marker",ee.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>',ee}(He),sn=function(ae){function ee(z,ie,se){var re=ae.call(this,z,ie,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 Ie("Line color",Ce(se.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Ie("Fill color",Ce(se.defaultColorSet,["transparent"]),re.fillColor,fe),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new qe("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new je("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new Te("Font",se.defaultFontFamilies,se.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new Ie("Text color",se.defaultColorSet,re.textColor,Se),re.textColorPanel.onColorChanged=re.setTextColor,re}return Ke(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.frame&&z!==this.captionBg&&z!==this.captionElement)},ee.prototype.createVisual=function(){this.visual=xe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=xe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=xe.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=xe.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()},ee.prototype.setCaptionText=function(z){this.captionText=z,this.captionElement.textContent=this.captionText,this.sizeCaption()},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.sizeCaption=function(){var z=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=z.width+2*this.PADDING,this.captionBoxHeight=z.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),xe.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')"]]),xe.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')"]])},ee.prototype.showTextEditor=function(){var z=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ie){ie.key==="Enter"&&z.finishTextEditing(z.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){z.finishTextEditing(z.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){z.finishTextEditing(z.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ee.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"))},ee.prototype.finishTextEditing=function(z){this.setCaptionText(z.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ee.prototype.setFont=function(z){this.captionElement&&xe.setAttributes(this.captionElement,[["font-family",z]]),this.fontFamily=z,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ee.prototype.setTextColor=function(z){this.captionElement&&xe.setAttributes(this.captionElement,[["fill",z]]),this.textColor=z,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),xe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ee.prototype.dblClick=function(z,ie){ae.prototype.dblClick.call(this,z,ie),this.showTextEditor()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.frame&&xe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.captionBg&&xe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.frame&&xe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.frame&&xe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},ae.prototype.getState.call(this));return z.typeName=this.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.textColor=ie.textColor,this.fontFamily=ie.fontFamily,this.captionText=ie.captionText,this.fontSize=ie.fontSize,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.typeName="CaptionFrameMarker",ee.title="Caption frame marker",ee.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>',ee}(ct),dt=function(){function ae(ee,z){z===void 0&&(z=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ee,this.cancelable=z}return Object.defineProperty(ae.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ae.prototype.preventDefault=function(){this._defaultPrevented=!0},ae}(),Bt=function(ae){function ee(z,ie,se){var re=ae.call(this,z,!1)||this;return re.dataUrl=ie,re.state=se,re}return Ke(ee,ae),ee}(dt),Ne=function(ae){function ee(z,ie,se){se===void 0&&(se=!1);var re=ae.call(this,z,se)||this;return re.marker=ie,re}return Ke(ee,ae),ee}(dt),Pt=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(ee,z){this[ee].push(z)},ae.prototype.removeEventListener=function(ee,z){var ie=this[ee].indexOf(z);ie>-1&&this[ee].splice(ie,1)},ae}(),st=function(){function ae(ee){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Je,this._isOpen=!1,this.undoRedoManager=new at,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 Pt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ae.instanceCounter++,this.styles=new de(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ee,this.targetRoot=document.body,this.width=ee.clientWidth,this.height=ee.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[bt,et,Et,it,Re,Zt,zt,pt,St,De,ot,vt,sn]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[bt,et,Et,it,Zt,zt,pt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"BASIC_MARKER_TYPES",{get:function(){return[bt,et,Et,it,zt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ee){var z=this;this._availableMarkerTypes.splice(0),ee.forEach(function(ie){if(typeof ie=="string"){var se=z.ALL_MARKER_TYPES.find(function(re){return re.typeName===ie});se!==void 0&&z._availableMarkerTypes.push(se)}else z._availableMarkerTypes.push(ie)})},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(ee){this._zoomLevel=ee,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(),Me.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ae.prototype.show=function(){var ee=this;this.styles.styleSheetRoot===void 0&&Ee.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ee.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(z){return z(new dt(ee))})},ae.prototype.render=function(){return ge(this,void 0,void 0,function(){var ee;return ze(this,function(z){switch(z.label){case 0:return this.setCurrentMarker(),(ee=new Ue).naturalSize=this.renderAtNaturalSize,ee.imageType=this.renderImageType,ee.imageQuality=this.renderImageQuality,ee.markersOnly=this.renderMarkersOnly,ee.width=this.renderWidth,ee.height=this.renderHeight,[4,ee.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return z.sent(),[4,ee.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,z.sent()]}})})},ae.prototype.close=function(ee){var z=this;if(ee===void 0&&(ee=!1),this.isOpen){var ie=!1;ee||this.eventListeners.beforeclose.forEach(function(se){var re=new dt(z,!0);se(re),re.defaultPrevented&&(ie=!0)}),ie||(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 dt(z))}),this.detachEvents(),this._isOpen=!1)}},ae.prototype.addMarkersToToolbar=function(){for(var ee,z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];(ee=this._availableMarkerTypes).push.apply(ee,z)},ae.prototype.addRenderEventListener=function(ee){this.addEventListener("render",function(z){ee(z.dataUrl,z.state)})},ae.prototype.removeRenderEventListener=function(ee){},ae.prototype.addCloseEventListener=function(ee){this.addEventListener("close",function(){ee()})},ae.prototype.removeCloseEventListener=function(ee){},ae.prototype.setupResizeObserver=function(){var ee=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ee.resize(ee.target.clientWidth,ee.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ee.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ae.prototype.onPopupTargetResize=function(){var ee=1*this.target.clientWidth/this.target.clientHeight,z=this.editorCanvas.clientWidth/ee>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ee:this.editorCanvas.clientWidth,ie=z<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ee;this.resize(z,ie)},ae.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ae.prototype.resize=function(ee,z){this._isResizing=!0;var ie=ee/this.imageWidth,se=z/this.imageHeight;this.imageWidth=Math.round(ee),this.imageHeight=Math.round(z),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ie,se),this._isResizing=!1},ae.prototype.scaleMarkers=function(ee,z){var ie,se=this;this._currentMarker&&this._currentMarker instanceof it?this._currentMarker.scale(ee,z):(ie=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==se._currentMarker&&re.scale(ee,z)}),ie!==void 0&&this.setCurrentMarker(ie)},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 ee=this.editingTarget.getBoundingClientRect(),z=this.editorCanvas.getBoundingClientRect();this.left=ee.left-z.left,this.top=ee.top-z.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 ee,z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];this.defs=xe.createDefs(),this.addDefsToImage(),(ee=this.defs).append.apply(ee,z)},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 ee=document.createElement("a");ee.href="https://markerjs.com/",ee.target="_blank",ee.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>',ee.title="Powered by marker.js",ee.style.display="grid",ee.style.alignItems="center",ee.style.justifyItems="center",ee.style.padding="3px",ee.style.width="20px",ee.style.height="20px",this.logoUI.appendChild(ee),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 ee=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=ee+"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 mt(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 Xe(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(ee){this.markerImage.removeChild(ee.container),this.markers.indexOf(ee)>-1&&this.markers.splice(this.markers.indexOf(ee),1),ee.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(ee,z){if(ee==="marker"&&z!==void 0)this.createNewMarker(z);else if(ee==="action")switch(z){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},ae.prototype.deleteSelectedMarker=function(){var ee=this;if(this._currentMarker!==void 0){var z=!1;if(this.eventListeners.markerbeforedelete.forEach(function(se){var re=new Ne(ee,ee._currentMarker,!0);se(re),re.defaultPrevented&&(z=!0)}),!z){var ie=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 Ne(ee,ie))})}}},ae.prototype.clear=function(){var ee=this,z=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(me){var ye=new Ne(ee,void 0,!0);me(ye),ye.defaultPrevented&&(z=!0)}),!z)){this.setCurrentMarker();for(var ie=function(me){var ye=se.markers[me];se.setCurrentMarker(se.markers[me]),se._currentMarker.dispose(),se.markerImage.removeChild(se._currentMarker.container),se.markers.splice(se.markers.indexOf(se._currentMarker),1),se.eventListeners.markerdelete.forEach(function(rt){return rt(new Ne(ee,ye))})},se=this,re=this.markers.length-1;re>=0;re--)ie(re);this.addUndoStep()}},Object.defineProperty(ae.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ae.prototype.showNotesEditor=function(){var ee;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=(ee=this._currentMarker.notes)!==null&&ee!==void 0?ee:"",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 ee=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var z=this.getState(),ie=this.undoRedoManager.getLastUndoStep();if(!ie||ie.width===z.width&&ie.height===z.height){var se=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(z),se<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new dt(ee))})}else this.undoRedoManager.replaceLastUndoStep(z),this.eventListeners.statechange.forEach(function(re){return re(new dt(ee))})}},ae.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ae.prototype.undoStep=function(){var ee=this,z=this.undoRedoManager.undo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ie){return ie(new dt(ee))}))},ae.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ae.prototype.redoStep=function(){var ee=this,z=this.undoRedoManager.redo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ie){return ie(new dt(ee))}))},ae.prototype.stepZoom=function(){var ee=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ee<this.zoomSteps.length-1?this.zoomSteps[ee+1]:this.zoomSteps[0]},ae.prototype.panTo=function(ee){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ee.x,top:this.prevPanPoint.y-ee.y}),this.prevPanPoint=ee},ae.prototype.startRenderAndClose=function(){return ge(this,void 0,void 0,function(){var ee,z,ie=this;return ze(this,function(se){switch(se.label){case 0:return[4,this.render()];case 1:return ee=se.sent(),z=this.getState(),this.eventListeners.render.forEach(function(re){return re(new Bt(ie,ee,z))}),this.close(!0),[2]}})})},ae.prototype.getState=function(ee){ee===!0&&this.setCurrentMarker();var z={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ie){return z.markers.push(ie.getState())}),z},ae.prototype.restoreState=function(ee){var z=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ee.markers.forEach(function(ie){var se=z._availableMarkerTypes.find(function(me){return me.typeName===ie.typeName});if(se!==void 0){var re=z.addNewMarker(se);re.restoreState(ie),z.markers.push(re)}}),ee.width&&ee.height&&(ee.width!==this.imageWidth||ee.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ee.width,this.imageHeight/ee.height),this.eventListeners.restorestate.forEach(function(ie){return ie(new dt(z))})},ae.prototype.addNewMarker=function(ee){var z=xe.createGroup();return this.markerImage.appendChild(z),new ee(z,this.overlayContainer,this.settings)},ae.prototype.createNewMarker=function(ee){var z,ie=this;(z=typeof ee=="string"?this._availableMarkerTypes.find(function(se){return se.typeName===ee}):ee)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(z),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(z.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(se){return se(new Ne(ie,ie._currentMarker))}))},ae.prototype.markerCreated=function(ee){var z=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ee),this.setCurrentMarker(ee),ee instanceof et&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(et):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ie){return ie(new Ne(z,z._currentMarker))})},ae.prototype.colorChanged=function(ee){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ee,this.settings.defaultStrokeColor=ee)},ae.prototype.fillColorChanged=function(ee){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ee)},ae.prototype.markerStateChanged=function(ee){var z=this;this.eventListeners.markerchange.forEach(function(ie){return ie(new Ne(z,ee))})},ae.prototype.setCurrentMarker=function(ee){var z=this;this._currentMarker!==ee&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ie){return ie(new Ne(z,z._currentMarker))})),this._currentMarker=ee,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(ie){return ie(new Ne(z,z._currentMarker))}))},ae.prototype.onPointerDown=function(ee){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ee.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var z=this.markers.find(function(ie){return ie.ownsTarget(ee.target)});z!==void 0?(this.setCurrentMarker(z),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ee.clientX,ee.clientY),ee.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ee.clientX,y:ee.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ee.clientX,ee.clientY))},ae.prototype.onDblClick=function(ee){if(this._isFocused||this.focus(),this.mode==="select"){var z=this.markers.find(function(ie){return ie.ownsTarget(ee.target)});z!==void 0&&z!==this._currentMarker&&this.setCurrentMarker(z),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ee.clientX,ee.clientY),ee.target):this.setCurrentMarker()}},ae.prototype.onPointerMove=function(ee){this.touchPoints!==1&&ee.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ee.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ee.clientX,ee.clientY)):this.zoomLevel>1&&this.panTo({x:ee.clientX,y:ee.clientY}))},ae.prototype.onPointerUp=function(ee){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ee.clientX,ee.clientY)),this.isDragging=!1,this.addUndoStep()},ae.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ae.prototype.onKeyUp=function(ee){this._currentMarker===void 0||this.notesArea!==void 0||ee.key!=="Delete"&&ee.key!=="Backspace"||this.deleteSelectedMarker()},ae.prototype.clientToLocalCoordinates=function(ee,z){var ie=this.markerImage.getBoundingClientRect();return{x:(ee-ie.left)/this.zoomLevel,y:(z-ie.top)/this.zoomLevel}},ae.prototype.onWindowResize=function(){this.positionUI()},ae.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ee=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ee+"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(ee){Me.addKey(ee)},ae.prototype.addEventListener=function(ee,z){this.eventListeners.addEventListener(ee,z)},ae.prototype.removeEventListener=function(ee,z){this.eventListeners.removeEventListener(ee,z)},ae.prototype.renderState=function(ee){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ee),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ae.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ae.prototype.focus=function(){var ee=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(z){return z(new dt(ee))}))},ae.prototype.blur=function(){var ee=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(z){return z(new dt(ee))}))},ae.instanceCounter=0,ae}()},6551:function(Vt,Ot,oe){"use strict";oe.d(Ot,{ZP:function(){return Me}});var te=oe(42978),Ke=oe(59301),ge=oe(47273),ze=0,Ce=(0,ge.Z)();function xe(){var Ue;return Ce?(Ue=ze,ze+=1):Ue="TEST_OR_SSR",Ue}function Me(Ue){var Ee=Ke.useState(),de=(0,te.Z)(Ee,2),Ve=de[0],ve=de[1];return Ke.useEffect(function(){ve("rc_select_".concat(xe()))},[]),Ue||Ve}},37463:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Ac:function(){return ft},Xo:function(){return Dt},Wx:function(){return nn},ZP:function(){return Qn},lk:function(){return wt}});var te=oe(54476),Ke=oe(94480),ge=oe(20068),ze=oe(33885),Ce=oe(42978),xe=oe(75931),Me=oe(76190),Ue=oe(18929),Ee=oe(48736),de=oe(59301),Ve=oe(92310),ve=oe.n(Ve),mt=oe(34280),Xe=oe(49658),Be=oe(8654),Ie=function(Ye){var be=Ye.className,Oe=Ye.customizeIcon,we=Ye.customizeIconProps,Fe=Ye.children,ut=Ye.onMouseDown,Ut=Ye.onClick,Yt=typeof Oe=="function"?Oe(we):Oe;return de.createElement("span",{className:be,onMouseDown:function(Tt){Tt.preventDefault(),ut==null||ut(Tt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ut,"aria-hidden":!0},Yt!==void 0?Yt:de.createElement("span",{className:ve()(be.split(/\s+/).map(function(rn){return"".concat(rn,"-icon")}))},Fe))},Le=Ie,Qe=function(Ye,be,Oe,we,Fe){var ut=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ut=arguments.length>6?arguments[6]:void 0,Yt=arguments.length>7?arguments[7]:void 0,rn=de.useMemo(function(){if((0,Me.Z)(we)==="object")return we.clearIcon;if(Fe)return Fe},[we,Fe]),Tt=de.useMemo(function(){return!!(!ut&&we&&(Oe.length||Ut)&&!(Yt==="combobox"&&Ut===""))},[we,ut,Oe.length,Ut,Yt]);return{allowClear:Tt,clearIcon:de.createElement(Le,{className:"".concat(Ye,"-clear"),onMouseDown:be,customizeIcon:rn},"\xD7")}},ht=de.createContext(null);function wt(){return de.useContext(ht)}function ct(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ye=de.useState(!1),be=(0,Ce.Z)(Ye,2),Oe=be[0],we=be[1],Fe=de.useRef(null),ut=function(){window.clearTimeout(Fe.current)};de.useEffect(function(){return ut},[]);var Ut=function(rn,Tt){ut(),Fe.current=window.setTimeout(function(){we(rn),Tt&&Tt()},ke)};return[Oe,Ut,ut]}function $e(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ye=de.useRef(null),be=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(be.current)}},[]);function Oe(we){(we||Ye.current===null)&&(Ye.current=we),window.clearTimeout(be.current),be.current=window.setTimeout(function(){Ye.current=null},ke)}return[function(){return Ye.current},Oe]}function qe(ke,Ye,be,Oe){var we=de.useRef(null);we.current={open:Ye,triggerOpen:be,customizedTrigger:Oe},de.useEffect(function(){function Fe(ut){var Ut;if(!((Ut=we.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var Yt=ut.target;Yt.shadowRoot&&ut.composed&&(Yt=ut.composedPath()[0]||Yt),we.current.open&&ke().filter(function(rn){return rn}).every(function(rn){return!rn.contains(Yt)&&rn!==Yt})&&we.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Fe),function(){return window.removeEventListener("mousedown",Fe)}},[])}var je=oe(10228);function bt(ke){return ke&&![je.Z.ESC,je.Z.SHIFT,je.Z.BACKSPACE,je.Z.TAB,je.Z.WIN_KEY,je.Z.ALT,je.Z.META,je.Z.WIN_KEY_RIGHT,je.Z.CTRL,je.Z.SEMICOLON,je.Z.EQUALS,je.Z.CAPS_LOCK,je.Z.CONTEXT_MENU,je.Z.F1,je.Z.F2,je.Z.F3,je.Z.F4,je.Z.F5,je.Z.F6,je.Z.F7,je.Z.F8,je.Z.F9,je.Z.F10,je.Z.F11,je.Z.F12].includes(ke)}var Je=oe(26112),He=oe(83836);function ot(ke,Ye,be){var Oe=(0,ze.Z)((0,ze.Z)({},ke),be?Ye:{});return Object.keys(Ye).forEach(function(we){var Fe=Ye[we];typeof Fe=="function"&&(Oe[we]=function(){for(var ut,Ut=arguments.length,Yt=new Array(Ut),rn=0;rn<Ut;rn++)Yt[rn]=arguments[rn];return Fe.apply(void 0,Yt),(ut=ke[we])===null||ut===void 0?void 0:ut.call.apply(ut,[ke].concat(Yt))})}),Oe}var Te=ot,it=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],et=function(Ye,be){var Oe=Ye.prefixCls,we=Ye.id,Fe=Ye.inputElement,ut=Ye.autoFocus,Ut=Ye.autoComplete,Yt=Ye.editable,rn=Ye.activeDescendantId,Tt=Ye.value,xt=Ye.open,yt=Ye.attrs,Qt=(0,xe.Z)(Ye,it),gn=Fe||de.createElement("input",null),hn=gn,pn=hn.ref,Vn=hn.props;return(0,Ee.Kp)(!("maxLength"in gn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),gn=de.cloneElement(gn,(0,ze.Z)((0,ze.Z)((0,ze.Z)({type:"search"},Te(Qt,Vn,!0)),{},{id:we,ref:(0,Be.sQ)(be,pn),autoComplete:Ut||"off",autoFocus:ut,className:ve()("".concat(Oe,"-selection-search-input"),Vn==null?void 0:Vn.className),role:"combobox","aria-expanded":xt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(we,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(we,"_list"),"aria-activedescendant":xt?rn:void 0},yt),{},{value:Yt?Tt:"",readOnly:!Yt,unselectable:Yt?null:"on",style:(0,ze.Z)((0,ze.Z)({},Vn.style),{},{opacity:Yt?null:0})})),gn},he=de.forwardRef(et),Et=he;function De(ke){return Array.isArray(ke)?ke:ke!==void 0?[ke]:[]}var It=typeof window!="undefined"&&window.document&&window.document.documentElement,zt=It;function Se(ke){return ke!=null}function fe(ke){return!ke&&ke!==0}function pt(ke){return["string","number"].includes((0,Me.Z)(ke))}function Zt(ke){var Ye=void 0;return ke&&(pt(ke.title)?Ye=ke.title.toString():pt(ke.label)&&(Ye=ke.label.toString())),Ye}function St(ke,Ye){zt?de.useLayoutEffect(ke,Ye):de.useEffect(ke,Ye)}function Re(ke){var Ye;return(Ye=ke.key)!==null&&Ye!==void 0?Ye:ke.value}var at=function(Ye){Ye.preventDefault(),Ye.stopPropagation()},vt=function(Ye){var be=Ye.id,Oe=Ye.prefixCls,we=Ye.values,Fe=Ye.open,ut=Ye.searchValue,Ut=Ye.autoClearSearchValue,Yt=Ye.inputRef,rn=Ye.placeholder,Tt=Ye.disabled,xt=Ye.mode,yt=Ye.showSearch,Qt=Ye.autoFocus,gn=Ye.autoComplete,hn=Ye.activeDescendantId,pn=Ye.tabIndex,Vn=Ye.removeIcon,Jn=Ye.maxTagCount,qn=Ye.maxTagTextLength,Nn=Ye.maxTagPlaceholder,An=Nn===void 0?function(tn){return"+ ".concat(tn.length," ...")}:Nn,Dn=Ye.tagRender,Hn=Ye.onToggleOpen,ur=Ye.onRemove,_n=Ye.onInputChange,lr=Ye.onInputPaste,ir=Ye.onInputKeyDown,er=Ye.onInputMouseDown,tr=Ye.onInputCompositionStart,vr=Ye.onInputCompositionEnd,mr=Ye.onInputBlur,cr=de.useRef(null),gr=(0,de.useState)(0),xr=(0,Ce.Z)(gr,2),or=xr[0],dr=xr[1],Rn=(0,de.useState)(!1),wr=(0,Ce.Z)(Rn,2),Nr=wr[0],Zr=wr[1],Ar="".concat(Oe,"-selection"),Fr=Fe||xt==="multiple"&&Ut===!1||xt==="tags"?ut:"",Er=xt==="tags"||xt==="multiple"&&Ut===!1||yt&&(Fe||Nr);St(function(){dr(cr.current.scrollWidth)},[Fr]);var Dr=function(jt,En,Fn,_t,en){return de.createElement("span",{title:Zt(jt),className:ve()("".concat(Ar,"-item"),(0,ge.Z)({},"".concat(Ar,"-item-disabled"),Fn))},de.createElement("span",{className:"".concat(Ar,"-item-content")},En),_t&&de.createElement(Le,{className:"".concat(Ar,"-item-remove"),onMouseDown:at,onClick:en,customizeIcon:Vn},"\xD7"))},Rr=function(jt,En,Fn,_t,en,wn){var Sn=function(Br){at(Br),Hn(!Fe)};return de.createElement("span",{onMouseDown:Sn},Dn({label:En,value:jt,disabled:Fn,closable:_t,onClose:en,isMaxTag:!!wn}))},fr=function(jt){var En=jt.disabled,Fn=jt.label,_t=jt.value,en=!Tt&&!En,wn=Fn;if(typeof qn=="number"&&(typeof Fn=="string"||typeof Fn=="number")){var Sn=String(wn);Sn.length>qn&&(wn="".concat(Sn.slice(0,qn),"..."))}var rr=function(br){br&&br.stopPropagation(),ur(jt)};return typeof Dn=="function"?Rr(_t,wn,En,en,rr):Dr(jt,wn,En,en,rr)},Kn=function(jt){if(!we.length)return null;var En=typeof An=="function"?An(jt):An;return typeof Dn=="function"?Rr(void 0,En,!1,!1,void 0,!0):Dr({title:En},En,!1)},qt=de.createElement("div",{className:"".concat(Ar,"-search"),style:{width:or},onFocus:function(){Zr(!0)},onBlur:function(){Zr(!1)}},de.createElement(Et,{ref:Yt,open:Fe,prefixCls:Oe,id:be,inputElement:null,disabled:Tt,autoFocus:Qt,autoComplete:gn,editable:Er,activeDescendantId:hn,value:Fr,onKeyDown:ir,onMouseDown:er,onChange:_n,onPaste:lr,onCompositionStart:tr,onCompositionEnd:vr,onBlur:mr,tabIndex:pn,attrs:(0,Je.Z)(Ye,!0)}),de.createElement("span",{ref:cr,className:"".concat(Ar,"-search-mirror"),"aria-hidden":!0},Fr,"\xA0")),on=de.createElement(He.Z,{prefixCls:"".concat(Ar,"-overflow"),data:we,renderItem:fr,renderRest:Kn,suffix:qt,itemKey:Re,maxCount:Jn});return de.createElement("span",{className:"".concat(Ar,"-wrap")},on,!we.length&&!Fr&&de.createElement("span",{className:"".concat(Ar,"-placeholder")},rn))},sn=vt,dt=function(Ye){var be=Ye.inputElement,Oe=Ye.prefixCls,we=Ye.id,Fe=Ye.inputRef,ut=Ye.disabled,Ut=Ye.autoFocus,Yt=Ye.autoComplete,rn=Ye.activeDescendantId,Tt=Ye.mode,xt=Ye.open,yt=Ye.values,Qt=Ye.placeholder,gn=Ye.tabIndex,hn=Ye.showSearch,pn=Ye.searchValue,Vn=Ye.activeValue,Jn=Ye.maxLength,qn=Ye.onInputKeyDown,Nn=Ye.onInputMouseDown,An=Ye.onInputChange,Dn=Ye.onInputPaste,Hn=Ye.onInputCompositionStart,ur=Ye.onInputCompositionEnd,_n=Ye.onInputBlur,lr=Ye.title,ir=de.useState(!1),er=(0,Ce.Z)(ir,2),tr=er[0],vr=er[1],mr=Tt==="combobox",cr=mr||hn,gr=yt[0],xr=pn||"";mr&&Vn&&!tr&&(xr=Vn),de.useEffect(function(){mr&&vr(!1)},[mr,Vn]);var or=Tt!=="combobox"&&!xt&&!hn?!1:!!xr,dr=lr===void 0?Zt(gr):lr,Rn=de.useMemo(function(){return gr?null:de.createElement("span",{className:"".concat(Oe,"-selection-placeholder"),style:or?{visibility:"hidden"}:void 0},Qt)},[gr,or,Qt,Oe]);return de.createElement("span",{className:"".concat(Oe,"-selection-wrap")},de.createElement("span",{className:"".concat(Oe,"-selection-search")},de.createElement(Et,{ref:Fe,prefixCls:Oe,id:we,open:xt,inputElement:be,disabled:ut,autoFocus:Ut,autoComplete:Yt,editable:cr,activeDescendantId:rn,value:xr,onKeyDown:qn,onMouseDown:Nn,onChange:function(Nr){vr(!0),An(Nr)},onPaste:Dn,onCompositionStart:Hn,onCompositionEnd:ur,onBlur:_n,tabIndex:gn,attrs:(0,Je.Z)(Ye,!0),maxLength:mr?Jn:void 0})),!mr&&gr?de.createElement("span",{className:"".concat(Oe,"-selection-item"),title:dr,style:or?{visibility:"hidden"}:void 0},gr.label):null,Rn)},Bt=dt,Ne=function(Ye,be){var Oe=(0,de.useRef)(null),we=(0,de.useRef)(!1),Fe=Ye.prefixCls,ut=Ye.open,Ut=Ye.mode,Yt=Ye.showSearch,rn=Ye.tokenWithEnter,Tt=Ye.disabled,xt=Ye.prefix,yt=Ye.autoClearSearchValue,Qt=Ye.onSearch,gn=Ye.onSearchSubmit,hn=Ye.onToggleOpen,pn=Ye.onInputKeyDown,Vn=Ye.onInputBlur,Jn=Ye.domRef;de.useImperativeHandle(be,function(){return{focus:function(dr){Oe.current.focus(dr)},blur:function(){Oe.current.blur()}}});var qn=$e(0),Nn=(0,Ce.Z)(qn,2),An=Nn[0],Dn=Nn[1],Hn=function(dr){var Rn=dr.which,wr=Oe.current instanceof HTMLTextAreaElement;!wr&&ut&&(Rn===je.Z.UP||Rn===je.Z.DOWN)&&dr.preventDefault(),pn&&pn(dr),Rn===je.Z.ENTER&&Ut==="tags"&&!we.current&&!ut&&(gn==null||gn(dr.target.value)),!(wr&&!ut&&~[je.Z.UP,je.Z.DOWN,je.Z.LEFT,je.Z.RIGHT].indexOf(Rn))&&bt(Rn)&&hn(!0)},ur=function(){Dn(!0)},_n=(0,de.useRef)(null),lr=function(dr){Qt(dr,!0,we.current)!==!1&&hn(!0)},ir=function(){we.current=!0},er=function(dr){we.current=!1,Ut!=="combobox"&&lr(dr.target.value)},tr=function(dr){var Rn=dr.target.value;if(rn&&_n.current&&/[\r\n]/.test(_n.current)){var wr=_n.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Rn=Rn.replace(wr,_n.current)}_n.current=null,lr(Rn)},vr=function(dr){var Rn=dr.clipboardData,wr=Rn==null?void 0:Rn.getData("text");_n.current=wr||""},mr=function(dr){var Rn=dr.target;if(Rn!==Oe.current){var wr=document.body.style.msTouchAction!==void 0;wr?setTimeout(function(){Oe.current.focus()}):Oe.current.focus()}},cr=function(dr){var Rn=An();dr.target!==Oe.current&&!Rn&&!(Ut==="combobox"&&Tt)&&dr.preventDefault(),(Ut!=="combobox"&&(!Yt||!Rn)||!ut)&&(ut&&yt!==!1&&Qt("",!0,!1),hn())},gr={inputRef:Oe,onInputKeyDown:Hn,onInputMouseDown:ur,onInputChange:tr,onInputPaste:vr,onInputCompositionStart:ir,onInputCompositionEnd:er,onInputBlur:Vn},xr=Ut==="multiple"||Ut==="tags"?de.createElement(sn,(0,te.Z)({},Ye,gr)):de.createElement(Bt,(0,te.Z)({},Ye,gr));return de.createElement("div",{ref:Jn,className:"".concat(Fe,"-selector"),onClick:mr,onMouseDown:cr},xt&&de.createElement("div",{className:"".concat(Fe,"-prefix")},xt),xr)},Pt=de.forwardRef(Ne),st=Pt,ae=oe(65030),ee=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(Ye){var be=Ye===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:be,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:be,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:be,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:be,adjustY:1},htmlRegion:"scroll"}}},ie=function(Ye,be){var Oe=Ye.prefixCls,we=Ye.disabled,Fe=Ye.visible,ut=Ye.children,Ut=Ye.popupElement,Yt=Ye.animation,rn=Ye.transitionName,Tt=Ye.dropdownStyle,xt=Ye.dropdownClassName,yt=Ye.direction,Qt=yt===void 0?"ltr":yt,gn=Ye.placement,hn=Ye.builtinPlacements,pn=Ye.dropdownMatchSelectWidth,Vn=Ye.dropdownRender,Jn=Ye.dropdownAlign,qn=Ye.getPopupContainer,Nn=Ye.empty,An=Ye.getTriggerDOMNode,Dn=Ye.onPopupVisibleChange,Hn=Ye.onPopupMouseEnter,ur=(0,xe.Z)(Ye,ee),_n="".concat(Oe,"-dropdown"),lr=Ut;Vn&&(lr=Vn(Ut));var ir=de.useMemo(function(){return hn||z(pn)},[hn,pn]),er=Yt?"".concat(_n,"-").concat(Yt):rn,tr=typeof pn=="number",vr=de.useMemo(function(){return tr?null:pn===!1?"minWidth":"width"},[pn,tr]),mr=Tt;tr&&(mr=(0,ze.Z)((0,ze.Z)({},mr),{},{width:pn}));var cr=de.useRef(null);return de.useImperativeHandle(be,function(){return{getPopupElement:function(){var xr;return(xr=cr.current)===null||xr===void 0?void 0:xr.popupElement}}}),de.createElement(ae.Z,(0,te.Z)({},ur,{showAction:Dn?["click"]:[],hideAction:Dn?["click"]:[],popupPlacement:gn||(Qt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ir,prefixCls:_n,popupTransitionName:er,popup:de.createElement("div",{onMouseEnter:Hn},lr),ref:cr,stretch:vr,popupAlign:Jn,popupVisible:Fe,getPopupContainer:qn,popupClassName:ve()(xt,(0,ge.Z)({},"".concat(_n,"-empty"),Nn)),popupStyle:mr,getTriggerDOMNode:An,onPopupVisibleChange:Dn}),ut)},se=de.forwardRef(ie),re=se,me=oe(66712);function ye(ke,Ye){var be=ke.key,Oe;return"value"in ke&&(Oe=ke.value),be!=null?be:Oe!==void 0?Oe:"rc-index-key-".concat(Ye)}function rt(ke){return typeof ke!="undefined"&&!Number.isNaN(ke)}function Ae(ke,Ye){var be=ke||{},Oe=be.label,we=be.value,Fe=be.options,ut=be.groupLabel,Ut=Oe||(Ye?"children":"label");return{label:Ut,value:we||"value",options:Fe||"options",groupLabel:ut||Ut}}function Ze(ke){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},be=Ye.fieldNames,Oe=Ye.childrenAsData,we=[],Fe=Ae(be,!1),ut=Fe.label,Ut=Fe.value,Yt=Fe.options,rn=Fe.groupLabel;function Tt(xt,yt){Array.isArray(xt)&&xt.forEach(function(Qt){if(yt||!(Yt in Qt)){var gn=Qt[Ut];we.push({key:ye(Qt,we.length),groupOption:yt,data:Qt,label:Qt[ut],value:gn})}else{var hn=Qt[rn];hn===void 0&&Oe&&(hn=Qt.label),we.push({key:ye(Qt,we.length),group:!0,data:Qt,label:hn}),Tt(Qt[Yt],!0)}})}return Tt(ke,!1),we}function tt(ke){var Ye=(0,ze.Z)({},ke);return"props"in Ye||Object.defineProperty(Ye,"props",{get:function(){return(0,Ee.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ye}}),Ye}var gt=function(Ye,be,Oe){if(!be||!be.length)return null;var we=!1,Fe=function Ut(Yt,rn){var Tt=(0,me.Z)(rn),xt=Tt[0],yt=Tt.slice(1);if(!xt)return[Yt];var Qt=Yt.split(xt);return we=we||Qt.length>1,Qt.reduce(function(gn,hn){return[].concat((0,Ke.Z)(gn),(0,Ke.Z)(Ut(hn,yt)))},[]).filter(Boolean)},ut=Fe(Ye,be);return we?typeof Oe!="undefined"?ut.slice(0,Oe):ut:null},lt=de.createContext(null),Ft=lt;function Nt(ke){var Ye=ke.visible,be=ke.values;if(!Ye)return null;var Oe=50;return de.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(be.slice(0,Oe).map(function(we){var Fe=we.label,ut=we.value;return["number","string"].includes((0,Me.Z)(Fe))?Fe:ut}).join(", ")),be.length>Oe?", ...":null)}var Mt=["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"],Jt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Wt=function(Ye){return Ye==="tags"||Ye==="multiple"},Gt=de.forwardRef(function(ke,Ye){var be,Oe=ke.id,we=ke.prefixCls,Fe=ke.className,ut=ke.showSearch,Ut=ke.tagRender,Yt=ke.direction,rn=ke.omitDomProps,Tt=ke.displayValues,xt=ke.onDisplayValuesChange,yt=ke.emptyOptions,Qt=ke.notFoundContent,gn=Qt===void 0?"Not Found":Qt,hn=ke.onClear,pn=ke.mode,Vn=ke.disabled,Jn=ke.loading,qn=ke.getInputElement,Nn=ke.getRawInputElement,An=ke.open,Dn=ke.defaultOpen,Hn=ke.onDropdownVisibleChange,ur=ke.activeValue,_n=ke.onActiveValueChange,lr=ke.activeDescendantId,ir=ke.searchValue,er=ke.autoClearSearchValue,tr=ke.onSearch,vr=ke.onSearchSplit,mr=ke.tokenSeparators,cr=ke.allowClear,gr=ke.prefix,xr=ke.suffixIcon,or=ke.clearIcon,dr=ke.OptionList,Rn=ke.animation,wr=ke.transitionName,Nr=ke.dropdownStyle,Zr=ke.dropdownClassName,Ar=ke.dropdownMatchSelectWidth,Fr=ke.dropdownRender,Er=ke.dropdownAlign,Dr=ke.placement,Rr=ke.builtinPlacements,fr=ke.getPopupContainer,Kn=ke.showAction,qt=Kn===void 0?[]:Kn,on=ke.onFocus,tn=ke.onBlur,jt=ke.onKeyUp,En=ke.onKeyDown,Fn=ke.onMouseDown,_t=(0,xe.Z)(ke,Mt),en=Wt(pn),wn=(ut!==void 0?ut:en)||pn==="combobox",Sn=(0,ze.Z)({},_t);Jt.forEach(function(Ir){delete Sn[Ir]}),rn==null||rn.forEach(function(Ir){delete Sn[Ir]});var rr=de.useState(!1),Br=(0,Ce.Z)(rr,2),br=Br[0],Pr=Br[1];de.useEffect(function(){Pr((0,Xe.Z)())},[]);var Lr=de.useRef(null),Mr=de.useRef(null),zr=de.useRef(null),kr=de.useRef(null),Ur=de.useRef(null),ti=de.useRef(!1),Li=ct(),Wi=(0,Ce.Z)(Li,3),Ci=Wi[0],mi=Wi[1],Qi=Wi[2];de.useImperativeHandle(Ye,function(){var Ir,Cr;return{focus:(Ir=kr.current)===null||Ir===void 0?void 0:Ir.focus,blur:(Cr=kr.current)===null||Cr===void 0?void 0:Cr.blur,scrollTo:function(fi){var Jr;return(Jr=Ur.current)===null||Jr===void 0?void 0:Jr.scrollTo(fi)},nativeElement:Lr.current||Mr.current}});var Or=de.useMemo(function(){var Ir;if(pn!=="combobox")return ir;var Cr=(Ir=Tt[0])===null||Ir===void 0?void 0:Ir.value;return typeof Cr=="string"||typeof Cr=="number"?String(Cr):""},[ir,pn,Tt]),to=pn==="combobox"&&typeof qn=="function"&&qn()||null,ni=typeof Nn=="function"&&Nn(),Oi=(0,Be.x1)(Mr,ni==null||(be=ni.props)===null||be===void 0?void 0:be.ref),ao=de.useState(!1),Ji=(0,Ce.Z)(ao,2),gi=Ji[0],Fi=Ji[1];(0,mt.Z)(function(){Fi(!0)},[]);var Gr=(0,Ue.Z)(!1,{defaultValue:Dn,value:An}),Ri=(0,Ce.Z)(Gr,2),lo=Ri[0],ji=Ri[1],$r=gi?lo:!1,Co=!gn&&yt;(Vn||Co&&$r&&pn==="combobox")&&($r=!1);var so=Co?!1:$r,ar=de.useCallback(function(Ir){var Cr=Ir!==void 0?Ir:!$r;Vn||(ji(Cr),$r!==Cr&&(Hn==null||Hn(Cr)))},[Vn,$r,ji,Hn]),yr=de.useMemo(function(){return(mr||[]).some(function(Ir){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ir)})},[mr]),hr=de.useContext(Ft)||{},pr=hr.maxCount,Tr=hr.rawValues,jr=function(Cr,ci,fi){if(!(en&&rt(pr)&&(Tr==null?void 0:Tr.size)>=pr)){var Jr=!0,ri=Cr;_n==null||_n(null);var Gi=gt(Cr,mr,rt(pr)?pr-Tr.size:void 0),Zi=fi?null:Gi;return pn!=="combobox"&&Zi&&(ri="",vr==null||vr(Zi),ar(!1),Jr=!1),tr&&Or!==ri&&tr(ri,{source:ci?"typing":"effect"}),Jr}},Vi=function(Cr){!Cr||!Cr.trim()||tr(Cr,{source:"submit"})};de.useEffect(function(){!$r&&!en&&pn!=="combobox"&&jr("",!1,!1)},[$r]),de.useEffect(function(){lo&&Vn&&ji(!1),Vn&&!ti.current&&mi(!1)},[Vn]);var vi=$e(),ui=(0,Ce.Z)(vi,2),Qr=ui[0],zi=ui[1],qi=de.useRef(!1),Ii=function(Cr){var ci=Qr(),fi=Cr.key,Jr=fi==="Enter";if(Jr&&(pn!=="combobox"&&Cr.preventDefault(),$r||ar(!0)),zi(!!Or),fi==="Backspace"&&!ci&&en&&!Or&&Tt.length){for(var ri=(0,Ke.Z)(Tt),Gi=null,Zi=ri.length-1;Zi>=0;Zi-=1){var ro=ri[Zi];if(!ro.disabled){ri.splice(Zi,1),Gi=ro;break}}Gi&&xt(ri,{type:"remove",values:[Gi]})}for(var Pi=arguments.length,Di=new Array(Pi>1?Pi-1:0),Yi=1;Yi<Pi;Yi++)Di[Yi-1]=arguments[Yi];if($r&&(!Jr||!qi.current)){var co;Jr&&(qi.current=!0),(co=Ur.current)===null||co===void 0||co.onKeyDown.apply(co,[Cr].concat(Di))}En==null||En.apply(void 0,[Cr].concat(Di))},$i=function(Cr){for(var ci=arguments.length,fi=new Array(ci>1?ci-1:0),Jr=1;Jr<ci;Jr++)fi[Jr-1]=arguments[Jr];if($r){var ri;(ri=Ur.current)===null||ri===void 0||ri.onKeyUp.apply(ri,[Cr].concat(fi))}Cr.key==="Enter"&&(qi.current=!1),jt==null||jt.apply(void 0,[Cr].concat(fi))},no=function(Cr){var ci=Tt.filter(function(fi){return fi!==Cr});xt(ci,{type:"remove",values:[Cr]})},Ui=function(){qi.current=!1},Do=de.useRef(!1),Ua=function(){mi(!0),Vn||(on&&!Do.current&&on.apply(void 0,arguments),qt.includes("focus")&&ar(!0)),Do.current=!0},ya=function(){ti.current=!0,mi(!1,function(){Do.current=!1,ti.current=!1,ar(!1)}),!Vn&&(Or&&(pn==="tags"?tr(Or,{source:"submit"}):pn==="multiple"&&tr("",{source:"blur"})),tn&&tn.apply(void 0,arguments))},_i=[];de.useEffect(function(){return function(){_i.forEach(function(Ir){return clearTimeout(Ir)}),_i.splice(0,_i.length)}},[]);var uo=function(Cr){var ci,fi=Cr.target,Jr=(ci=zr.current)===null||ci===void 0?void 0:ci.getPopupElement();if(Jr&&Jr.contains(fi)){var ri=setTimeout(function(){var Pi=_i.indexOf(ri);if(Pi!==-1&&_i.splice(Pi,1),Qi(),!br&&!Jr.contains(document.activeElement)){var Di;(Di=kr.current)===null||Di===void 0||Di.focus()}});_i.push(ri)}for(var Gi=arguments.length,Zi=new Array(Gi>1?Gi-1:0),ro=1;ro<Gi;ro++)Zi[ro-1]=arguments[ro];Fn==null||Fn.apply(void 0,[Cr].concat(Zi))},Hi=de.useState({}),ba=(0,Ce.Z)(Hi,2),Ca=ba[1];function Ga(){Ca({})}var xa;ni&&(xa=function(Cr){ar(Cr)}),qe(function(){var Ir;return[Lr.current,(Ir=zr.current)===null||Ir===void 0?void 0:Ir.getPopupElement()]},so,ar,!!ni);var Ya=de.useMemo(function(){return(0,ze.Z)((0,ze.Z)({},ke),{},{notFoundContent:gn,open:$r,triggerOpen:so,id:Oe,showSearch:wn,multiple:en,toggleOpen:ar})},[ke,gn,so,$r,Oe,wn,en,ar]),Ko=!!xr||Jn,Xo;Ko&&(Xo=de.createElement(Le,{className:ve()("".concat(we,"-arrow"),(0,ge.Z)({},"".concat(we,"-arrow-loading"),Jn)),customizeIcon:xr,customizeIconProps:{loading:Jn,searchValue:Or,open:$r,focused:Ci,showSearch:wn}}));var xo=function(){var Cr;hn==null||hn(),(Cr=kr.current)===null||Cr===void 0||Cr.focus(),xt([],{type:"clear",values:Tt}),jr("",!1,!1)},Qo=Qe(we,xo,Tt,cr,or,Vn,Or,pn),wa=Qo.allowClear,Jo=Qo.clearIcon,Mo=de.createElement(dr,{ref:Ur}),Sa=ve()(we,Fe,(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(we,"-focused"),Ci),"".concat(we,"-multiple"),en),"".concat(we,"-single"),!en),"".concat(we,"-allow-clear"),cr),"".concat(we,"-show-arrow"),Ko),"".concat(we,"-disabled"),Vn),"".concat(we,"-loading"),Jn),"".concat(we,"-open"),$r),"".concat(we,"-customize-input"),to),"".concat(we,"-show-search"),wn)),ko=de.createElement(re,{ref:zr,disabled:Vn,prefixCls:we,visible:so,popupElement:Mo,animation:Rn,transitionName:wr,dropdownStyle:Nr,dropdownClassName:Zr,direction:Yt,dropdownMatchSelectWidth:Ar,dropdownRender:Fr,dropdownAlign:Er,placement:Dr,builtinPlacements:Rr,getPopupContainer:fr,empty:yt,getTriggerDOMNode:function(Cr){return Mr.current||Cr},onPopupVisibleChange:xa,onPopupMouseEnter:Ga},ni?de.cloneElement(ni,{ref:Oi}):de.createElement(st,(0,te.Z)({},ke,{domRef:Mr,prefixCls:we,inputElement:to,ref:kr,id:Oe,prefix:gr,showSearch:wn,autoClearSearchValue:er,mode:pn,activeDescendantId:lr,tagRender:Ut,values:Tt,open:$r,onToggleOpen:ar,activeValue:ur,searchValue:Or,onSearch:jr,onSearchSubmit:Vi,onRemove:no,tokenWithEnter:yr,onInputBlur:Ui}))),xi;return ni?xi=ko:xi=de.createElement("div",(0,te.Z)({className:Sa},Sn,{ref:Lr,onMouseDown:uo,onKeyDown:Ii,onKeyUp:$i,onFocus:Ua,onBlur:ya}),de.createElement(Nt,{visible:Ci&&!$r,values:Tt}),ko,Xo,wa&&Jo),de.createElement(ht.Provider,{value:Ya},xi)}),ft=Gt,Ht=function(){return null};Ht.isSelectOptGroup=!0;var Dt=Ht,Rt=function(){return null};Rt.isSelectOption=!0;var nn=Rt,Cn=oe(80547),fn=oe(2738),Pe=oe(48911);function _e(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var nt=["disabled","title","children","style","className"];function kt(ke){return typeof ke=="string"||typeof ke=="number"}var $t=function(Ye,be){var Oe=wt(),we=Oe.prefixCls,Fe=Oe.id,ut=Oe.open,Ut=Oe.multiple,Yt=Oe.mode,rn=Oe.searchValue,Tt=Oe.toggleOpen,xt=Oe.notFoundContent,yt=Oe.onPopupScroll,Qt=de.useContext(Ft),gn=Qt.maxCount,hn=Qt.flattenOptions,pn=Qt.onActiveValue,Vn=Qt.defaultActiveFirstOption,Jn=Qt.onSelect,qn=Qt.menuItemSelectedIcon,Nn=Qt.rawValues,An=Qt.fieldNames,Dn=Qt.virtual,Hn=Qt.direction,ur=Qt.listHeight,_n=Qt.listItemHeight,lr=Qt.optionRender,ir="".concat(we,"-item"),er=(0,Cn.Z)(function(){return hn},[ut,hn],function(Kn,qt){return qt[0]&&Kn[1]!==qt[1]}),tr=de.useRef(null),vr=de.useMemo(function(){return Ut&&rt(gn)&&(Nn==null?void 0:Nn.size)>=gn},[Ut,gn,Nn==null?void 0:Nn.size]),mr=function(qt){qt.preventDefault()},cr=function(qt){var on;(on=tr.current)===null||on===void 0||on.scrollTo(typeof qt=="number"?{index:qt}:qt)},gr=de.useCallback(function(Kn){return Yt==="combobox"?!1:Nn.has(Kn)},[Yt,(0,Ke.Z)(Nn).toString(),Nn.size]),xr=function(qt){for(var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,tn=er.length,jt=0;jt<tn;jt+=1){var En=(qt+jt*on+tn)%tn,Fn=er[En]||{},_t=Fn.group,en=Fn.data;if(!_t&&!(en!=null&&en.disabled)&&(gr(en.value)||!vr))return En}return-1},or=de.useState(function(){return xr(0)}),dr=(0,Ce.Z)(or,2),Rn=dr[0],wr=dr[1],Nr=function(qt){var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;wr(qt);var tn={source:on?"keyboard":"mouse"},jt=er[qt];if(!jt){pn(null,-1,tn);return}pn(jt.value,qt,tn)};(0,de.useEffect)(function(){Nr(Vn!==!1?xr(0):-1)},[er.length,rn]);var Zr=de.useCallback(function(Kn){return Yt==="combobox"?String(Kn).toLowerCase()===rn.toLowerCase():Nn.has(Kn)},[Yt,rn,(0,Ke.Z)(Nn).toString(),Nn.size]);(0,de.useEffect)(function(){var Kn=setTimeout(function(){if(!Ut&&ut&&Nn.size===1){var on=Array.from(Nn)[0],tn=er.findIndex(function(jt){var En=jt.data;return rn?String(En.value).startsWith(rn):En.value===on});tn!==-1&&(Nr(tn),cr(tn))}});if(ut){var qt;(qt=tr.current)===null||qt===void 0||qt.scrollTo(void 0)}return function(){return clearTimeout(Kn)}},[ut,rn]);var Ar=function(qt){qt!==void 0&&Jn(qt,{selected:!Nn.has(qt)}),Ut||Tt(!1)};if(de.useImperativeHandle(be,function(){return{onKeyDown:function(qt){var on=qt.which,tn=qt.ctrlKey;switch(on){case je.Z.N:case je.Z.P:case je.Z.UP:case je.Z.DOWN:{var jt=0;if(on===je.Z.UP?jt=-1:on===je.Z.DOWN?jt=1:_e()&&tn&&(on===je.Z.N?jt=1:on===je.Z.P&&(jt=-1)),jt!==0){var En=xr(Rn+jt,jt);cr(En),Nr(En,!0)}break}case je.Z.TAB:case je.Z.ENTER:{var Fn,_t=er[Rn];_t&&!(_t!=null&&(Fn=_t.data)!==null&&Fn!==void 0&&Fn.disabled)&&!vr?Ar(_t.value):Ar(void 0),ut&&qt.preventDefault();break}case je.Z.ESC:Tt(!1),ut&&qt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(qt){cr(qt)}}}),er.length===0)return de.createElement("div",{role:"listbox",id:"".concat(Fe,"_list"),className:"".concat(ir,"-empty"),onMouseDown:mr},xt);var Fr=Object.keys(An).map(function(Kn){return An[Kn]}),Er=function(qt){return qt.label};function Dr(Kn,qt){var on=Kn.group;return{role:on?"presentation":"option",id:"".concat(Fe,"_list_").concat(qt)}}var Rr=function(qt){var on=er[qt];if(!on)return null;var tn=on.data||{},jt=tn.value,En=on.group,Fn=(0,Je.Z)(tn,!0),_t=Er(on);return on?de.createElement("div",(0,te.Z)({"aria-label":typeof _t=="string"&&!En?_t:null},Fn,{key:qt},Dr(on,qt),{"aria-selected":Zr(jt)}),jt):null},fr={role:"listbox",id:"".concat(Fe,"_list")};return de.createElement(de.Fragment,null,Dn&&de.createElement("div",(0,te.Z)({},fr,{style:{height:0,width:0,overflow:"hidden"}}),Rr(Rn-1),Rr(Rn),Rr(Rn+1)),de.createElement(Pe.Z,{itemKey:"key",ref:tr,data:er,height:ur,itemHeight:_n,fullHeight:!1,onMouseDown:mr,onScroll:yt,virtual:Dn,direction:Hn,innerProps:Dn?null:fr},function(Kn,qt){var on=Kn.group,tn=Kn.groupOption,jt=Kn.data,En=Kn.label,Fn=Kn.value,_t=jt.key;if(on){var en,wn=(en=jt.title)!==null&&en!==void 0?en:kt(En)?En.toString():void 0;return de.createElement("div",{className:ve()(ir,"".concat(ir,"-group"),jt.className),title:wn},En!==void 0?En:_t)}var Sn=jt.disabled,rr=jt.title,Br=jt.children,br=jt.style,Pr=jt.className,Lr=(0,xe.Z)(jt,nt),Mr=(0,fn.Z)(Lr,Fr),zr=gr(Fn),kr=Sn||!zr&&vr,Ur="".concat(ir,"-option"),ti=ve()(ir,Ur,Pr,(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(Ur,"-grouped"),tn),"".concat(Ur,"-active"),Rn===qt&&!kr),"".concat(Ur,"-disabled"),kr),"".concat(Ur,"-selected"),zr)),Li=Er(Kn),Wi=!qn||typeof qn=="function"||zr,Ci=typeof Li=="number"?Li:Li||Fn,mi=kt(Ci)?Ci.toString():void 0;return rr!==void 0&&(mi=rr),de.createElement("div",(0,te.Z)({},(0,Je.Z)(Mr),Dn?{}:Dr(Kn,qt),{"aria-selected":Zr(Fn),className:ti,title:mi,onMouseMove:function(){Rn===qt||kr||Nr(qt)},onClick:function(){kr||Ar(Fn)},style:br}),de.createElement("div",{className:"".concat(Ur,"-content")},typeof lr=="function"?lr(Kn,{index:qt}):Ci),de.isValidElement(qn)||zr,Wi&&de.createElement(Le,{className:"".concat(ir,"-option-state"),customizeIcon:qn,customizeIconProps:{value:Fn,disabled:kr,isSelected:zr}},zr?"\u2713":null))}))},un=de.forwardRef($t),On=un,Pn=function(ke,Ye){var be=de.useRef({values:new Map,options:new Map}),Oe=de.useMemo(function(){var Fe=be.current,ut=Fe.values,Ut=Fe.options,Yt=ke.map(function(xt){if(xt.label===void 0){var yt;return(0,ze.Z)((0,ze.Z)({},xt),{},{label:(yt=ut.get(xt.value))===null||yt===void 0?void 0:yt.label})}return xt}),rn=new Map,Tt=new Map;return Yt.forEach(function(xt){rn.set(xt.value,xt),Tt.set(xt.value,Ye.get(xt.value)||Ut.get(xt.value))}),be.current.values=rn,be.current.options=Tt,Yt},[ke,Ye]),we=de.useCallback(function(Fe){return Ye.get(Fe)||be.current.options.get(Fe)},[Ye]);return[Oe,we]};function an(ke,Ye){return De(ke).join("").toUpperCase().includes(Ye)}var yn=function(ke,Ye,be,Oe,we){return de.useMemo(function(){if(!be||Oe===!1)return ke;var Fe=Ye.options,ut=Ye.label,Ut=Ye.value,Yt=[],rn=typeof Oe=="function",Tt=be.toUpperCase(),xt=rn?Oe:function(Qt,gn){return we?an(gn[we],Tt):gn[Fe]?an(gn[ut!=="children"?ut:"label"],Tt):an(gn[Ut],Tt)},yt=rn?function(Qt){return tt(Qt)}:function(Qt){return Qt};return ke.forEach(function(Qt){if(Qt[Fe]){var gn=xt(be,yt(Qt));if(gn)Yt.push(Qt);else{var hn=Qt[Fe].filter(function(pn){return xt(be,yt(pn))});hn.length&&Yt.push((0,ze.Z)((0,ze.Z)({},Qt),{},(0,ge.Z)({},Fe,hn)))}return}xt(be,yt(Qt))&&Yt.push(Qt)}),Yt},[ke,Oe,we,be,Ye])},mn=oe(6551),Un=oe(11592),vn=["children","value"],Bn=["children"];function ln(ke){var Ye=ke,be=Ye.key,Oe=Ye.props,we=Oe.children,Fe=Oe.value,ut=(0,xe.Z)(Oe,vn);return(0,ze.Z)({key:be,value:Fe!==void 0?Fe:be,children:we},ut)}function xn(ke){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Un.Z)(ke).map(function(be,Oe){if(!de.isValidElement(be)||!be.type)return null;var we=be,Fe=we.type.isSelectOptGroup,ut=we.key,Ut=we.props,Yt=Ut.children,rn=(0,xe.Z)(Ut,Bn);return Ye||!Fe?ln(be):(0,ze.Z)((0,ze.Z)({key:"__RC_SELECT_GRP__".concat(ut===null?Oe:ut,"__"),label:ut},rn),{},{options:xn(Yt)})}).filter(function(be){return be})}var dn=function(Ye,be,Oe,we,Fe){return de.useMemo(function(){var ut=Ye,Ut=!Ye;Ut&&(ut=xn(be));var Yt=new Map,rn=new Map,Tt=function(Qt,gn,hn){hn&&typeof hn=="string"&&Qt.set(gn[hn],gn)},xt=function yt(Qt){for(var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hn=0;hn<Qt.length;hn+=1){var pn=Qt[hn];!pn[Oe.options]||gn?(Yt.set(pn[Oe.value],pn),Tt(rn,pn,Oe.label),Tt(rn,pn,we),Tt(rn,pn,Fe)):yt(pn[Oe.options],!0)}};return xt(ut),{options:ut,valueOptions:Yt,labelOptions:rn}},[Ye,be,Oe,we,Fe])},Mn=dn;function Gn(ke){var Ye=de.useRef();Ye.current=ke;var be=de.useCallback(function(){return Ye.current.apply(Ye,arguments)},[]);return be}function zn(ke){var Ye=ke.mode,be=ke.options,Oe=ke.children,we=ke.backfill,Fe=ke.allowClear,ut=ke.placeholder,Ut=ke.getInputElement,Yt=ke.showSearch,rn=ke.onSearch,Tt=ke.defaultOpen,xt=ke.autoFocus,yt=ke.labelInValue,Qt=ke.value,gn=ke.inputValue,hn=ke.optionLabelProp,pn=isMultiple(Ye),Vn=Yt!==void 0?Yt:pn||Ye==="combobox",Jn=be||convertChildrenToData(Oe);if(warning(Ye!=="tags"||Jn.every(function(Dn){return!Dn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ye==="tags"||Ye==="combobox"){var qn=Jn.some(function(Dn){return Dn.options?Dn.options.some(function(Hn){return typeof("value"in Hn?Hn.value:Hn.key)=="number"}):typeof("value"in Dn?Dn.value:Dn.key)=="number"});warning(!qn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ye!=="combobox"||!hn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ye==="combobox"||!we,"`backfill` only works with `combobox` mode."),warning(Ye==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(Ye!=="combobox"||!Ut||!Fe||!ut,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),rn&&!Vn&&Ye!=="combobox"&&Ye!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Tt||xt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Qt!=null){var Nn=toArray(Qt);warning(!yt||Nn.every(function(Dn){return _typeof(Dn)==="object"&&("key"in Dn||"value"in Dn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!pn||Array.isArray(Qt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Oe){var An=null;toNodeArray(Oe).some(function(Dn){if(!React.isValidElement(Dn)||!Dn.type)return!1;var Hn=Dn,ur=Hn.type;if(ur.isSelectOption)return!1;if(ur.isSelectOptGroup){var _n=toNodeArray(Dn.props.children).every(function(lr){return!React.isValidElement(lr)||!Dn.type||lr.type.isSelectOption?!0:(An=lr.type,!1)});return!_n}return An=ur,!0}),An&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(An.displayName||An.name||An,"`.")),warning(gn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Tn(ke,Ye){if(ke){var be=function Oe(we){for(var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=0;ut<we.length;ut++){var Ut=we[ut];if(Ut[Ye==null?void 0:Ye.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Fe&&Array.isArray(Ut[Ye==null?void 0:Ye.options])&&Oe(Ut[Ye==null?void 0:Ye.options],!0))break}};be(ke)}}var Yn=null,Xn=["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 jn(ke){return!ke||(0,Me.Z)(ke)!=="object"}var Lt=de.forwardRef(function(ke,Ye){var be=ke.id,Oe=ke.mode,we=ke.prefixCls,Fe=we===void 0?"rc-select":we,ut=ke.backfill,Ut=ke.fieldNames,Yt=ke.inputValue,rn=ke.searchValue,Tt=ke.onSearch,xt=ke.autoClearSearchValue,yt=xt===void 0?!0:xt,Qt=ke.onSelect,gn=ke.onDeselect,hn=ke.dropdownMatchSelectWidth,pn=hn===void 0?!0:hn,Vn=ke.filterOption,Jn=ke.filterSort,qn=ke.optionFilterProp,Nn=ke.optionLabelProp,An=ke.options,Dn=ke.optionRender,Hn=ke.children,ur=ke.defaultActiveFirstOption,_n=ke.menuItemSelectedIcon,lr=ke.virtual,ir=ke.direction,er=ke.listHeight,tr=er===void 0?200:er,vr=ke.listItemHeight,mr=vr===void 0?20:vr,cr=ke.labelRender,gr=ke.value,xr=ke.defaultValue,or=ke.labelInValue,dr=ke.onChange,Rn=ke.maxCount,wr=(0,xe.Z)(ke,Xn),Nr=(0,mn.ZP)(be),Zr=Wt(Oe),Ar=!!(!An&&Hn),Fr=de.useMemo(function(){return Vn===void 0&&Oe==="combobox"?!1:Vn},[Vn,Oe]),Er=de.useMemo(function(){return Ae(Ut,Ar)},[JSON.stringify(Ut),Ar]),Dr=(0,Ue.Z)("",{value:rn!==void 0?rn:Yt,postState:function(yr){return yr||""}}),Rr=(0,Ce.Z)(Dr,2),fr=Rr[0],Kn=Rr[1],qt=Mn(An,Hn,Er,qn,Nn),on=qt.valueOptions,tn=qt.labelOptions,jt=qt.options,En=de.useCallback(function(ar){var yr=De(ar);return yr.map(function(hr){var pr,Tr,jr,Vi,vi;if(jn(hr))pr=hr;else{var ui;jr=hr.key,Tr=hr.label,pr=(ui=hr.value)!==null&&ui!==void 0?ui:jr}var Qr=on.get(pr);if(Qr){var zi;if(Tr===void 0&&(Tr=Qr==null?void 0:Qr[Nn||Er.label]),jr===void 0&&(jr=(zi=Qr==null?void 0:Qr.key)!==null&&zi!==void 0?zi:pr),Vi=Qr==null?void 0:Qr.disabled,vi=Qr==null?void 0:Qr.title,0)var qi}return{label:Tr,value:pr,key:jr,disabled:Vi,title:vi}})},[Er,Nn,on]),Fn=(0,Ue.Z)(xr,{value:gr}),_t=(0,Ce.Z)(Fn,2),en=_t[0],wn=_t[1],Sn=de.useMemo(function(){var ar,yr=Zr&&en===null?[]:en,hr=En(yr);return Oe==="combobox"&&fe((ar=hr[0])===null||ar===void 0?void 0:ar.value)?[]:hr},[en,En,Oe,Zr]),rr=Pn(Sn,on),Br=(0,Ce.Z)(rr,2),br=Br[0],Pr=Br[1],Lr=de.useMemo(function(){if(!Oe&&br.length===1){var ar=br[0];if(ar.value===null&&(ar.label===null||ar.label===void 0))return[]}return br.map(function(yr){var hr;return(0,ze.Z)((0,ze.Z)({},yr),{},{label:(hr=typeof cr=="function"?cr(yr):yr.label)!==null&&hr!==void 0?hr:yr.value})})},[Oe,br,cr]),Mr=de.useMemo(function(){return new Set(br.map(function(ar){return ar.value}))},[br]);de.useEffect(function(){if(Oe==="combobox"){var ar,yr=(ar=br[0])===null||ar===void 0?void 0:ar.value;Kn(Se(yr)?String(yr):"")}},[br]);var zr=Gn(function(ar,yr){var hr=yr!=null?yr:ar;return(0,ge.Z)((0,ge.Z)({},Er.value,ar),Er.label,hr)}),kr=de.useMemo(function(){if(Oe!=="tags")return jt;var ar=(0,Ke.Z)(jt),yr=function(pr){return on.has(pr)};return(0,Ke.Z)(br).sort(function(hr,pr){return hr.value<pr.value?-1:1}).forEach(function(hr){var pr=hr.value;yr(pr)||ar.push(zr(pr,hr.label))}),ar},[zr,jt,on,br,Oe]),Ur=yn(kr,Er,fr,Fr,qn),ti=de.useMemo(function(){return Oe!=="tags"||!fr||Ur.some(function(ar){return ar[qn||"value"]===fr})||Ur.some(function(ar){return ar[Er.value]===fr})?Ur:[zr(fr)].concat((0,Ke.Z)(Ur))},[zr,qn,Oe,Ur,fr,Er]),Li=function ar(yr){var hr=(0,Ke.Z)(yr).sort(function(pr,Tr){return Jn(pr,Tr,{searchValue:fr})});return hr.map(function(pr){return Array.isArray(pr.options)?(0,ze.Z)((0,ze.Z)({},pr),{},{options:pr.options.length>0?ar(pr.options):pr.options}):pr})},Wi=de.useMemo(function(){return Jn?Li(ti):ti},[ti,Jn,fr]),Ci=de.useMemo(function(){return Ze(Wi,{fieldNames:Er,childrenAsData:Ar})},[Wi,Er,Ar]),mi=function(yr){var hr=En(yr);if(wn(hr),dr&&(hr.length!==br.length||hr.some(function(jr,Vi){var vi;return((vi=br[Vi])===null||vi===void 0?void 0:vi.value)!==(jr==null?void 0:jr.value)}))){var pr=or?hr:hr.map(function(jr){return jr.value}),Tr=hr.map(function(jr){return tt(Pr(jr.value))});dr(Zr?pr:pr[0],Zr?Tr:Tr[0])}},Qi=de.useState(null),Or=(0,Ce.Z)(Qi,2),to=Or[0],ni=Or[1],Oi=de.useState(0),ao=(0,Ce.Z)(Oi,2),Ji=ao[0],gi=ao[1],Fi=ur!==void 0?ur:Oe!=="combobox",Gr=de.useCallback(function(ar,yr){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},pr=hr.source,Tr=pr===void 0?"keyboard":pr;gi(yr),ut&&Oe==="combobox"&&ar!==null&&Tr==="keyboard"&&ni(String(ar))},[ut,Oe]),Ri=function(yr,hr,pr){var Tr=function(){var no,Ui=Pr(yr);return[or?{label:Ui==null?void 0:Ui[Er.label],value:yr,key:(no=Ui==null?void 0:Ui.key)!==null&&no!==void 0?no:yr}:yr,tt(Ui)]};if(hr&&Qt){var jr=Tr(),Vi=(0,Ce.Z)(jr,2),vi=Vi[0],ui=Vi[1];Qt(vi,ui)}else if(!hr&&gn&&pr!=="clear"){var Qr=Tr(),zi=(0,Ce.Z)(Qr,2),qi=zi[0],Ii=zi[1];gn(qi,Ii)}},lo=Gn(function(ar,yr){var hr,pr=Zr?yr.selected:!0;pr?hr=Zr?[].concat((0,Ke.Z)(br),[ar]):[ar]:hr=br.filter(function(Tr){return Tr.value!==ar}),mi(hr),Ri(ar,pr),Oe==="combobox"?ni(""):(!Wt||yt)&&(Kn(""),ni(""))}),ji=function(yr,hr){mi(yr);var pr=hr.type,Tr=hr.values;(pr==="remove"||pr==="clear")&&Tr.forEach(function(jr){Ri(jr.value,!1,pr)})},$r=function(yr,hr){if(Kn(yr),ni(null),hr.source==="submit"){var pr=(yr||"").trim();if(pr){var Tr=Array.from(new Set([].concat((0,Ke.Z)(Mr),[pr])));mi(Tr),Ri(pr,!0),Kn("")}return}hr.source!=="blur"&&(Oe==="combobox"&&mi(yr),Tt==null||Tt(yr))},Co=function(yr){var hr=yr;Oe!=="tags"&&(hr=yr.map(function(Tr){var jr=tn.get(Tr);return jr==null?void 0:jr.value}).filter(function(Tr){return Tr!==void 0}));var pr=Array.from(new Set([].concat((0,Ke.Z)(Mr),(0,Ke.Z)(hr))));mi(pr),pr.forEach(function(Tr){Ri(Tr,!0)})},so=de.useMemo(function(){var ar=lr!==!1&&pn!==!1;return(0,ze.Z)((0,ze.Z)({},qt),{},{flattenOptions:Ci,onActiveValue:Gr,defaultActiveFirstOption:Fi,onSelect:lo,menuItemSelectedIcon:_n,rawValues:Mr,fieldNames:Er,virtual:ar,direction:ir,listHeight:tr,listItemHeight:mr,childrenAsData:Ar,maxCount:Rn,optionRender:Dn})},[Rn,qt,Ci,Gr,Fi,lo,_n,Mr,Er,lr,pn,ir,tr,mr,Ar,Dn]);return de.createElement(Ft.Provider,{value:so},de.createElement(ft,(0,te.Z)({},wr,{id:Nr,prefixCls:Fe,ref:Ye,omitDomProps:$n,mode:Oe,displayValues:Lr,onDisplayValuesChange:ji,direction:ir,searchValue:fr,onSearch:$r,autoClearSearchValue:yt,onSearchSplit:Co,dropdownMatchSelectWidth:pn,OptionList:On,emptyOptions:!Ci.length,activeValue:to,activeDescendantId:"".concat(Nr,"_list_").concat(Ji)})))}),Xt=Lt;Xt.Option=nn,Xt.OptGroup=Dt;var kn=Xt,Qn=kn},22711:function(Vt,Ot,oe){"use strict";oe.r(Ot),oe.d(Ot,{ResizableTextArea:function(){return Te},default:function(){return Et}});var te=oe(54476),Ke=oe(20068),ge=oe(33885),ze=oe(94480),Ce=oe(42978),xe=oe(75931),Me=oe(92310),Ue=oe.n(Me),Ee=oe(36901),de=oe(66003),Ve=oe(30292),ve=oe(18929),mt=oe(59301),Xe=oe(76190),Be=oe(29301),Ie=oe(34280),Le=oe(16089),Qe=`
|
|
|
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;
|
|
|
`,ht=["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"],wt={},ct;function $e(De){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zt=De.getAttribute("id")||De.getAttribute("data-reactid")||De.getAttribute("name");if(It&&wt[zt])return wt[zt];var Se=window.getComputedStyle(De),fe=Se.getPropertyValue("box-sizing")||Se.getPropertyValue("-moz-box-sizing")||Se.getPropertyValue("-webkit-box-sizing"),pt=parseFloat(Se.getPropertyValue("padding-bottom"))+parseFloat(Se.getPropertyValue("padding-top")),Zt=parseFloat(Se.getPropertyValue("border-bottom-width"))+parseFloat(Se.getPropertyValue("border-top-width")),St=ht.map(function(at){return"".concat(at,":").concat(Se.getPropertyValue(at))}).join(";"),Re={sizingStyle:St,paddingSize:pt,borderSize:Zt,boxSizing:fe};return It&&zt&&(wt[zt]=Re),Re}function qe(De){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ct||(ct=document.createElement("textarea"),ct.setAttribute("tab-index","-1"),ct.setAttribute("aria-hidden","true"),ct.setAttribute("name","hiddenTextarea"),document.body.appendChild(ct)),De.getAttribute("wrap")?ct.setAttribute("wrap",De.getAttribute("wrap")):ct.removeAttribute("wrap");var fe=$e(De,It),pt=fe.paddingSize,Zt=fe.borderSize,St=fe.boxSizing,Re=fe.sizingStyle;ct.setAttribute("style","".concat(Re,";").concat(Qe)),ct.value=De.value||De.placeholder||"";var at=void 0,vt=void 0,sn,dt=ct.scrollHeight;if(St==="border-box"?dt+=Zt:St==="content-box"&&(dt-=pt),zt!==null||Se!==null){ct.value=" ";var Bt=ct.scrollHeight-pt;zt!==null&&(at=Bt*zt,St==="border-box"&&(at=at+pt+Zt),dt=Math.max(at,dt)),Se!==null&&(vt=Bt*Se,St==="border-box"&&(vt=vt+pt+Zt),sn=dt>vt?"":"hidden",dt=Math.min(vt,dt))}var Ne={height:dt,overflowY:sn,resize:"none"};return at&&(Ne.minHeight=at),vt&&(Ne.maxHeight=vt),Ne}var je=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],bt=0,Je=1,He=2,ot=mt.forwardRef(function(De,It){var zt=De,Se=zt.prefixCls,fe=zt.defaultValue,pt=zt.value,Zt=zt.autoSize,St=zt.onResize,Re=zt.className,at=zt.style,vt=zt.disabled,sn=zt.onChange,dt=zt.onInternalAutoSize,Bt=(0,xe.Z)(zt,je),Ne=(0,ve.Z)(fe,{value:pt,postState:function(nn){return nn!=null?nn:""}}),Pt=(0,Ce.Z)(Ne,2),st=Pt[0],ae=Pt[1],ee=function(nn){ae(nn.target.value),sn==null||sn(nn)},z=mt.useRef();mt.useImperativeHandle(It,function(){return{textArea:z.current}});var ie=mt.useMemo(function(){return Zt&&(0,Xe.Z)(Zt)==="object"?[Zt.minRows,Zt.maxRows]:[]},[Zt]),se=(0,Ce.Z)(ie,2),re=se[0],me=se[1],ye=!!Zt,rt=function(){try{if(document.activeElement===z.current){var nn=z.current,Cn=nn.selectionStart,fn=nn.selectionEnd,Pe=nn.scrollTop;z.current.setSelectionRange(Cn,fn),z.current.scrollTop=Pe}}catch(_e){}},Ae=mt.useState(He),Ze=(0,Ce.Z)(Ae,2),tt=Ze[0],gt=Ze[1],lt=mt.useState(),Ft=(0,Ce.Z)(lt,2),Nt=Ft[0],Mt=Ft[1],Jt=function(){gt(bt)};(0,Ie.Z)(function(){ye&&Jt()},[pt,re,me,ye]),(0,Ie.Z)(function(){if(tt===bt)gt(Je);else if(tt===Je){var Rt=qe(z.current,!1,re,me);gt(He),Mt(Rt)}else rt()},[tt]);var Wt=mt.useRef(),Gt=function(){Le.Z.cancel(Wt.current)},ft=function(nn){tt===He&&(St==null||St(nn),Zt&&(Gt(),Wt.current=(0,Le.Z)(function(){Jt()})))};mt.useEffect(function(){return Gt},[]);var Ht=ye?Nt:null,Dt=(0,ge.Z)((0,ge.Z)({},at),Ht);return(tt===bt||tt===Je)&&(Dt.overflowY="hidden",Dt.overflowX="hidden"),mt.createElement(Be.Z,{onResize:ft,disabled:!(Zt||St)},mt.createElement("textarea",(0,te.Z)({},Bt,{ref:z,style:Dt,className:Ue()(Se,Re,(0,Ke.Z)({},"".concat(Se,"-disabled"),vt)),disabled:vt,value:st,onChange:ee})))}),Te=ot,it=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],et=mt.forwardRef(function(De,It){var zt,Se=De.defaultValue,fe=De.value,pt=De.onFocus,Zt=De.onBlur,St=De.onChange,Re=De.allowClear,at=De.maxLength,vt=De.onCompositionStart,sn=De.onCompositionEnd,dt=De.suffix,Bt=De.prefixCls,Ne=Bt===void 0?"rc-textarea":Bt,Pt=De.showCount,st=De.count,ae=De.className,ee=De.style,z=De.disabled,ie=De.hidden,se=De.classNames,re=De.styles,me=De.onResize,ye=De.onClear,rt=De.onPressEnter,Ae=De.readOnly,Ze=De.autoSize,tt=De.onKeyDown,gt=(0,xe.Z)(De,it),lt=(0,ve.Z)(Se,{value:fe,defaultValue:Se}),Ft=(0,Ce.Z)(lt,2),Nt=Ft[0],Mt=Ft[1],Jt=Nt==null?"":String(Nt),Wt=mt.useState(!1),Gt=(0,Ce.Z)(Wt,2),ft=Gt[0],Ht=Gt[1],Dt=mt.useRef(!1),Rt=mt.useState(null),nn=(0,Ce.Z)(Rt,2),Cn=nn[0],fn=nn[1],Pe=(0,mt.useRef)(null),_e=(0,mt.useRef)(null),nt=function(){var Xt;return(Xt=_e.current)===null||Xt===void 0?void 0:Xt.textArea},kt=function(){nt().focus()};(0,mt.useImperativeHandle)(It,function(){var Lt;return{resizableTextArea:_e.current,focus:kt,blur:function(){nt().blur()},nativeElement:((Lt=Pe.current)===null||Lt===void 0?void 0:Lt.nativeElement)||nt()}}),(0,mt.useEffect)(function(){Ht(function(Lt){return!z&&Lt})},[z]);var $t=mt.useState(null),un=(0,Ce.Z)($t,2),On=un[0],Pn=un[1];mt.useEffect(function(){if(On){var Lt;(Lt=nt()).setSelectionRange.apply(Lt,(0,ze.Z)(On))}},[On]);var an=(0,de.Z)(st,Pt),yn=(zt=an.max)!==null&&zt!==void 0?zt:at,mn=Number(yn)>0,Un=an.strategy(Jt),vn=!!yn&&Un>yn,Bn=function(Xt,kn){var Qn=kn;!Dt.current&&an.exceedFormatter&&an.max&&an.strategy(kn)>an.max&&(Qn=an.exceedFormatter(kn,{max:an.max}),kn!==Qn&&Pn([nt().selectionStart||0,nt().selectionEnd||0])),Mt(Qn),(0,Ve.rJ)(Xt.currentTarget,Xt,St,Qn)},ln=function(Xt){Dt.current=!0,vt==null||vt(Xt)},xn=function(Xt){Dt.current=!1,Bn(Xt,Xt.currentTarget.value),sn==null||sn(Xt)},dn=function(Xt){Bn(Xt,Xt.target.value)},Mn=function(Xt){Xt.key==="Enter"&&rt&&rt(Xt),tt==null||tt(Xt)},Gn=function(Xt){Ht(!0),pt==null||pt(Xt)},zn=function(Xt){Ht(!1),Zt==null||Zt(Xt)},Tn=function(Xt){Mt(""),kt(),(0,Ve.rJ)(nt(),Xt,St)},Yn=dt,Xn;an.show&&(an.showFormatter?Xn=an.showFormatter({value:Jt,count:Un,maxLength:yn}):Xn="".concat(Un).concat(mn?" / ".concat(yn):""),Yn=mt.createElement(mt.Fragment,null,Yn,mt.createElement("span",{className:Ue()("".concat(Ne,"-data-count"),se==null?void 0:se.count),style:re==null?void 0:re.count},Xn)));var $n=function(Xt){var kn;me==null||me(Xt),(kn=nt())!==null&&kn!==void 0&&kn.style.height&&fn(!0)},jn=!Ze&&!Pt&&!Re;return mt.createElement(Ee.BaseInput,{ref:Pe,value:Jt,allowClear:Re,handleReset:Tn,suffix:Yn,prefixCls:Ne,classNames:(0,ge.Z)((0,ge.Z)({},se),{},{affixWrapper:Ue()(se==null?void 0:se.affixWrapper,(0,Ke.Z)((0,Ke.Z)({},"".concat(Ne,"-show-count"),Pt),"".concat(Ne,"-textarea-allow-clear"),Re))}),disabled:z,focused:ft,className:Ue()(ae,vn&&"".concat(Ne,"-out-of-range")),style:(0,ge.Z)((0,ge.Z)({},ee),Cn&&!jn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Xn=="string"?Xn:void 0}},hidden:ie,readOnly:Ae,onClear:ye},mt.createElement(Te,(0,te.Z)({},gt,{autoSize:Ze,maxLength:at,onKeyDown:Mn,onChange:dn,onFocus:Gn,onBlur:zn,onCompositionStart:ln,onCompositionEnd:xn,className:Ue()(se==null?void 0:se.textarea),style:(0,ge.Z)((0,ge.Z)({},re==null?void 0:re.textarea),{},{resize:ee==null?void 0:ee.resize}),disabled:z,prefixCls:Ne,onResize:$n,ref:_e,readOnly:Ae})))}),he=et,Et=he},48911:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return st}});var te=oe(54476),Ke=oe(76190),ge=oe(33885),ze=oe(20068),Ce=oe(42978),xe=oe(75931),Me=oe(92310),Ue=oe.n(Me),Ee=oe(29301),de=oe(70425),Ve=oe(34280),ve=oe(59301),mt=oe(4676),Xe=ve.forwardRef(function(ae,ee){var z=ae.height,ie=ae.offsetY,se=ae.offsetX,re=ae.children,me=ae.prefixCls,ye=ae.onInnerResize,rt=ae.innerProps,Ae=ae.rtl,Ze=ae.extra,tt={},gt={display:"flex",flexDirection:"column"};return ie!==void 0&&(tt={height:z,position:"relative",overflow:"hidden"},gt=(0,ge.Z)((0,ge.Z)({},gt),{},(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({transform:"translateY(".concat(ie,"px)")},Ae?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),ve.createElement("div",{style:tt},ve.createElement(Ee.Z,{onResize:function(Ft){var Nt=Ft.offsetHeight;Nt&&ye&&ye()}},ve.createElement("div",(0,te.Z)({style:gt,className:Ue()((0,ze.Z)({},"".concat(me,"-holder-inner"),me)),ref:ee},rt),re,Ze)))});Xe.displayName="Filler";var Be=Xe;function Ie(ae){var ee=ae.children,z=ae.setRef,ie=ve.useCallback(function(se){z(se)},[]);return ve.cloneElement(ee,{ref:ie})}function Le(ae,ee,z,ie,se,re,me,ye){var rt=ye.getKey;return ae.slice(ee,z+1).map(function(Ae,Ze){var tt=ee+Ze,gt=me(Ae,tt,{style:{width:ie},offsetX:se}),lt=rt(Ae);return ve.createElement(Ie,{key:lt,setRef:function(Nt){return re(Ae,Nt)}},gt)})}function Qe(ae,ee,z,ie){var se=z-ae,re=ee-z,me=Math.min(se,re)*2;if(ie<=me){var ye=Math.floor(ie/2);return ie%2?z+ye+1:z-ye}return se>re?z-(ie-re):z+(ie-se)}function ht(ae,ee,z){var ie=ae.length,se=ee.length,re,me;if(ie===0&&se===0)return null;ie<se?(re=ae,me=ee):(re=ee,me=ae);var ye={__EMPTY_ITEM__:!0};function rt(Ft){return Ft!==void 0?z(Ft):ye}for(var Ae=null,Ze=Math.abs(ie-se)!==1,tt=0;tt<me.length;tt+=1){var gt=rt(re[tt]),lt=rt(me[tt]);if(gt!==lt){Ae=tt,Ze=Ze||gt!==rt(me[tt+1]);break}}return Ae===null?null:{index:Ae,multiple:Ze}}function wt(ae,ee,z){var ie=ve.useState(ae),se=(0,Ce.Z)(ie,2),re=se[0],me=se[1],ye=ve.useState(null),rt=(0,Ce.Z)(ye,2),Ae=rt[0],Ze=rt[1];return ve.useEffect(function(){var tt=ht(re||[],ae||[],ee);(tt==null?void 0:tt.index)!==void 0&&(z==null||z(tt.index),Ze(ae[tt.index])),me(ae)},[ae]),[Ae]}var ct=oe(16089),$e=(typeof navigator=="undefined"?"undefined":(0,Ke.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),qe=$e,je=function(ae,ee,z,ie){var se=(0,ve.useRef)(!1),re=(0,ve.useRef)(null);function me(){clearTimeout(re.current),se.current=!0,re.current=setTimeout(function(){se.current=!1},50)}var ye=(0,ve.useRef)({top:ae,bottom:ee,left:z,right:ie});return ye.current.top=ae,ye.current.bottom=ee,ye.current.left=z,ye.current.right=ie,function(rt,Ae){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,tt=rt?Ae<0&&ye.current.left||Ae>0&&ye.current.right:Ae<0&&ye.current.top||Ae>0&&ye.current.bottom;return Ze&&tt?(clearTimeout(re.current),se.current=!1):(!tt||se.current)&&me(),!se.current&&tt}};function bt(ae,ee,z,ie,se,re,me){var ye=(0,ve.useRef)(0),rt=(0,ve.useRef)(null),Ae=(0,ve.useRef)(null),Ze=(0,ve.useRef)(!1),tt=je(ee,z,ie,se);function gt(Wt,Gt){if(ct.Z.cancel(rt.current),!tt(!1,Gt)){var ft=Wt;if(!ft._virtualHandled)ft._virtualHandled=!0;else return;ye.current+=Gt,Ae.current=Gt,qe||ft.preventDefault(),rt.current=(0,ct.Z)(function(){var Ht=Ze.current?10:1;me(ye.current*Ht,!1),ye.current=0})}}function lt(Wt,Gt){me(Gt,!0),qe||Wt.preventDefault()}var Ft=(0,ve.useRef)(null),Nt=(0,ve.useRef)(null);function Mt(Wt){if(ae){ct.Z.cancel(Nt.current),Nt.current=(0,ct.Z)(function(){Ft.current=null},2);var Gt=Wt.deltaX,ft=Wt.deltaY,Ht=Wt.shiftKey,Dt=Gt,Rt=ft;(Ft.current==="sx"||!Ft.current&&Ht&&ft&&!Gt)&&(Dt=ft,Rt=0,Ft.current="sx");var nn=Math.abs(Dt),Cn=Math.abs(Rt);Ft.current===null&&(Ft.current=re&&nn>Cn?"x":"y"),Ft.current==="y"?gt(Wt,Rt):lt(Wt,Dt)}}function Jt(Wt){ae&&(Ze.current=Wt.detail===Ae.current)}return[Mt,Jt]}function Je(ae,ee,z,ie){var se=ve.useMemo(function(){return[new Map,[]]},[ae,z.id,ie]),re=(0,Ce.Z)(se,2),me=re[0],ye=re[1],rt=function(Ze){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ze,gt=me.get(Ze),lt=me.get(tt);if(gt===void 0||lt===void 0)for(var Ft=ae.length,Nt=ye.length;Nt<Ft;Nt+=1){var Mt,Jt=ae[Nt],Wt=ee(Jt);me.set(Wt,Nt);var Gt=(Mt=z.get(Wt))!==null&&Mt!==void 0?Mt:ie;if(ye[Nt]=(ye[Nt-1]||0)+Gt,Wt===Ze&&(gt=Nt),Wt===tt&&(lt=Nt),gt!==void 0&<!==void 0)break}return{top:ye[gt-1]||0,bottom:ye[lt]}};return rt}var He=oe(67732),ot=oe(83652),Te=function(){function ae(){(0,He.Z)(this,ae),(0,ze.Z)(this,"maps",void 0),(0,ze.Z)(this,"id",0),(0,ze.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ot.Z)(ae,[{key:"set",value:function(z,ie){this.diffRecords.set(z,this.maps[z]),this.maps[z]=ie,this.id+=1}},{key:"get",value:function(z){return this.maps[z]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ae}(),it=Te;function et(ae){var ee=parseFloat(ae);return isNaN(ee)?0:ee}function he(ae,ee,z){var ie=ve.useState(0),se=(0,Ce.Z)(ie,2),re=se[0],me=se[1],ye=(0,ve.useRef)(new Map),rt=(0,ve.useRef)(new it),Ae=(0,ve.useRef)(0);function Ze(){Ae.current+=1}function tt(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ze();var Ft=function(){var Jt=!1;ye.current.forEach(function(Wt,Gt){if(Wt&&Wt.offsetParent){var ft=Wt.offsetHeight,Ht=getComputedStyle(Wt),Dt=Ht.marginTop,Rt=Ht.marginBottom,nn=et(Dt),Cn=et(Rt),fn=ft+nn+Cn;rt.current.get(Gt)!==fn&&(rt.current.set(Gt,fn),Jt=!0)}}),Jt&&me(function(Wt){return Wt+1})};if(lt)Ft();else{Ae.current+=1;var Nt=Ae.current;Promise.resolve().then(function(){Nt===Ae.current&&Ft()})}}function gt(lt,Ft){var Nt=ae(lt),Mt=ye.current.get(Nt);Ft?(ye.current.set(Nt,Ft),tt()):ye.current.delete(Nt),!Mt!=!Ft&&(Ft?ee==null||ee(lt):z==null||z(lt))}return(0,ve.useEffect)(function(){return Ze},[]),[gt,tt,rt.current,re]}var Et=14/15;function De(ae,ee,z){var ie=(0,ve.useRef)(!1),se=(0,ve.useRef)(0),re=(0,ve.useRef)(0),me=(0,ve.useRef)(null),ye=(0,ve.useRef)(null),rt,Ae=function(lt){if(ie.current){var Ft=Math.ceil(lt.touches[0].pageX),Nt=Math.ceil(lt.touches[0].pageY),Mt=se.current-Ft,Jt=re.current-Nt,Wt=Math.abs(Mt)>Math.abs(Jt);Wt?se.current=Ft:re.current=Nt;var Gt=z(Wt,Wt?Mt:Jt,!1,lt);Gt&<.preventDefault(),clearInterval(ye.current),Gt&&(ye.current=setInterval(function(){Wt?Mt*=Et:Jt*=Et;var ft=Math.floor(Wt?Mt:Jt);(!z(Wt,ft,!0)||Math.abs(ft)<=.1)&&clearInterval(ye.current)},16))}},Ze=function(){ie.current=!1,rt()},tt=function(lt){rt(),lt.touches.length===1&&!ie.current&&(ie.current=!0,se.current=Math.ceil(lt.touches[0].pageX),re.current=Math.ceil(lt.touches[0].pageY),me.current=lt.target,me.current.addEventListener("touchmove",Ae,{passive:!1}),me.current.addEventListener("touchend",Ze,{passive:!0}))};rt=function(){me.current&&(me.current.removeEventListener("touchmove",Ae),me.current.removeEventListener("touchend",Ze))},(0,Ve.Z)(function(){return ae&&ee.current.addEventListener("touchstart",tt,{passive:!0}),function(){var gt;(gt=ee.current)===null||gt===void 0||gt.removeEventListener("touchstart",tt),rt(),clearInterval(ye.current)}},[ae])}function It(ae){return Math.floor(Math.pow(ae,.5))}function zt(ae,ee){var z="touches"in ae?ae.touches[0]:ae;return z[ee?"pageX":"pageY"]-window[ee?"scrollX":"scrollY"]}function Se(ae,ee,z){ve.useEffect(function(){var ie=ee.current;if(ae&&ie){var se=!1,re,me,ye=function(){ct.Z.cancel(re)},rt=function gt(){ye(),re=(0,ct.Z)(function(){z(me),gt()})},Ae=function(){se=!1,ye()},Ze=function(lt){if(!(lt.target.draggable||lt.button!==0)){var Ft=lt;Ft._virtualHandled||(Ft._virtualHandled=!0,se=!0)}},tt=function(lt){if(se){var Ft=zt(lt,!1),Nt=ie.getBoundingClientRect(),Mt=Nt.top,Jt=Nt.bottom;if(Ft<=Mt){var Wt=Mt-Ft;me=-It(Wt),rt()}else if(Ft>=Jt){var Gt=Ft-Jt;me=It(Gt),rt()}else ye()}};return ie.addEventListener("mousedown",Ze),ie.ownerDocument.addEventListener("mouseup",Ae),ie.ownerDocument.addEventListener("mousemove",tt),ie.ownerDocument.addEventListener("dragend",Ae),function(){ie.removeEventListener("mousedown",Ze),ie.ownerDocument.removeEventListener("mouseup",Ae),ie.ownerDocument.removeEventListener("mousemove",tt),ie.ownerDocument.removeEventListener("dragend",Ae),ye()}}},[ae])}var fe=10;function pt(ae,ee,z,ie,se,re,me,ye){var rt=ve.useRef(),Ae=ve.useState(null),Ze=(0,Ce.Z)(Ae,2),tt=Ze[0],gt=Ze[1];return(0,Ve.Z)(function(){if(tt&&tt.times<fe){if(!ae.current){gt(function(an){return(0,ge.Z)({},an)});return}re();var lt=tt.targetAlign,Ft=tt.originAlign,Nt=tt.index,Mt=tt.offset,Jt=ae.current.clientHeight,Wt=!1,Gt=lt,ft=null;if(Jt){for(var Ht=lt||Ft,Dt=0,Rt=0,nn=0,Cn=Math.min(ee.length-1,Nt),fn=0;fn<=Cn;fn+=1){var Pe=se(ee[fn]);Rt=Dt;var _e=z.get(Pe);nn=Rt+(_e===void 0?ie:_e),Dt=nn}for(var nt=Ht==="top"?Mt:Jt-Mt,kt=Cn;kt>=0;kt-=1){var $t=se(ee[kt]),un=z.get($t);if(un===void 0){Wt=!0;break}if(nt-=un,nt<=0)break}switch(Ht){case"top":ft=Rt-Mt;break;case"bottom":ft=nn-Jt+Mt;break;default:{var On=ae.current.scrollTop,Pn=On+Jt;Rt<On?Gt="top":nn>Pn&&(Gt="bottom")}}ft!==null&&me(ft),ft!==tt.lastTop&&(Wt=!0)}Wt&>((0,ge.Z)((0,ge.Z)({},tt),{},{times:tt.times+1,targetAlign:Gt,lastTop:ft}))}},[tt,ae.current]),function(lt){if(lt==null){ye();return}if(ct.Z.cancel(rt.current),typeof lt=="number")me(lt);else if(lt&&(0,Ke.Z)(lt)==="object"){var Ft,Nt=lt.align;"index"in lt?Ft=lt.index:Ft=ee.findIndex(function(Wt){return se(Wt)===lt.key});var Mt=lt.offset,Jt=Mt===void 0?0:Mt;gt({times:0,index:Ft,offset:Jt,originAlign:Nt})}}}var Zt=ve.forwardRef(function(ae,ee){var z=ae.prefixCls,ie=ae.rtl,se=ae.scrollOffset,re=ae.scrollRange,me=ae.onStartMove,ye=ae.onStopMove,rt=ae.onScroll,Ae=ae.horizontal,Ze=ae.spinSize,tt=ae.containerSize,gt=ae.style,lt=ae.thumbStyle,Ft=ae.showScrollBar,Nt=ve.useState(!1),Mt=(0,Ce.Z)(Nt,2),Jt=Mt[0],Wt=Mt[1],Gt=ve.useState(null),ft=(0,Ce.Z)(Gt,2),Ht=ft[0],Dt=ft[1],Rt=ve.useState(null),nn=(0,Ce.Z)(Rt,2),Cn=nn[0],fn=nn[1],Pe=!ie,_e=ve.useRef(),nt=ve.useRef(),kt=ve.useState(Ft),$t=(0,Ce.Z)(kt,2),un=$t[0],On=$t[1],Pn=ve.useRef(),an=function(){Ft===!0||Ft===!1||(clearTimeout(Pn.current),On(!0),Pn.current=setTimeout(function(){On(!1)},3e3))},yn=re-tt||0,mn=tt-Ze||0,Un=ve.useMemo(function(){if(se===0||yn===0)return 0;var Tn=se/yn;return Tn*mn},[se,yn,mn]),vn=function(Yn){Yn.stopPropagation(),Yn.preventDefault()},Bn=ve.useRef({top:Un,dragging:Jt,pageY:Ht,startTop:Cn});Bn.current={top:Un,dragging:Jt,pageY:Ht,startTop:Cn};var ln=function(Yn){Wt(!0),Dt(zt(Yn,Ae)),fn(Bn.current.top),me(),Yn.stopPropagation(),Yn.preventDefault()};ve.useEffect(function(){var Tn=function(jn){jn.preventDefault()},Yn=_e.current,Xn=nt.current;return Yn.addEventListener("touchstart",Tn,{passive:!1}),Xn.addEventListener("touchstart",ln,{passive:!1}),function(){Yn.removeEventListener("touchstart",Tn),Xn.removeEventListener("touchstart",ln)}},[]);var xn=ve.useRef();xn.current=yn;var dn=ve.useRef();dn.current=mn,ve.useEffect(function(){if(Jt){var Tn,Yn=function(jn){var Lt=Bn.current,Xt=Lt.dragging,kn=Lt.pageY,Qn=Lt.startTop;ct.Z.cancel(Tn);var ke=_e.current.getBoundingClientRect(),Ye=tt/(Ae?ke.width:ke.height);if(Xt){var be=(zt(jn,Ae)-kn)*Ye,Oe=Qn;!Pe&&Ae?Oe-=be:Oe+=be;var we=xn.current,Fe=dn.current,ut=Fe?Oe/Fe:0,Ut=Math.ceil(ut*we);Ut=Math.max(Ut,0),Ut=Math.min(Ut,we),Tn=(0,ct.Z)(function(){rt(Ut,Ae)})}},Xn=function(){Wt(!1),ye()};return window.addEventListener("mousemove",Yn,{passive:!0}),window.addEventListener("touchmove",Yn,{passive:!0}),window.addEventListener("mouseup",Xn,{passive:!0}),window.addEventListener("touchend",Xn,{passive:!0}),function(){window.removeEventListener("mousemove",Yn),window.removeEventListener("touchmove",Yn),window.removeEventListener("mouseup",Xn),window.removeEventListener("touchend",Xn),ct.Z.cancel(Tn)}}},[Jt]),ve.useEffect(function(){return an(),function(){clearTimeout(Pn.current)}},[se]),ve.useImperativeHandle(ee,function(){return{delayHidden:an}});var Mn="".concat(z,"-scrollbar"),Gn={position:"absolute",visibility:un?null:"hidden"},zn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Ae?(Object.assign(Gn,{height:8,left:0,right:0,bottom:0}),Object.assign(zn,(0,ze.Z)({height:"100%",width:Ze},Pe?"left":"right",Un))):(Object.assign(Gn,(0,ze.Z)({width:8,top:0,bottom:0},Pe?"right":"left",0)),Object.assign(zn,{width:"100%",height:Ze,top:Un})),ve.createElement("div",{ref:_e,className:Ue()(Mn,(0,ze.Z)((0,ze.Z)((0,ze.Z)({},"".concat(Mn,"-horizontal"),Ae),"".concat(Mn,"-vertical"),!Ae),"".concat(Mn,"-visible"),un)),style:(0,ge.Z)((0,ge.Z)({},Gn),gt),onMouseDown:vn,onMouseMove:an},ve.createElement("div",{ref:nt,className:Ue()("".concat(Mn,"-thumb"),(0,ze.Z)({},"".concat(Mn,"-thumb-moving"),Jt)),style:(0,ge.Z)((0,ge.Z)({},zn),lt),onMouseDown:ln}))}),St=Zt,Re=20;function at(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=ae/ee*ae;return isNaN(z)&&(z=0),z=Math.max(z,Re),Math.floor(z)}var vt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],sn=[],dt={overflowY:"auto",overflowAnchor:"none"};function Bt(ae,ee){var z=ae.prefixCls,ie=z===void 0?"rc-virtual-list":z,se=ae.className,re=ae.height,me=ae.itemHeight,ye=ae.fullHeight,rt=ye===void 0?!0:ye,Ae=ae.style,Ze=ae.data,tt=ae.children,gt=ae.itemKey,lt=ae.virtual,Ft=ae.direction,Nt=ae.scrollWidth,Mt=ae.component,Jt=Mt===void 0?"div":Mt,Wt=ae.onScroll,Gt=ae.onVirtualScroll,ft=ae.onVisibleChange,Ht=ae.innerProps,Dt=ae.extraRender,Rt=ae.styles,nn=ae.showScrollBar,Cn=nn===void 0?"optional":nn,fn=(0,xe.Z)(ae,vt),Pe=ve.useCallback(function(qt){return typeof gt=="function"?gt(qt):qt==null?void 0:qt[gt]},[gt]),_e=he(Pe,null,null),nt=(0,Ce.Z)(_e,4),kt=nt[0],$t=nt[1],un=nt[2],On=nt[3],Pn=!!(lt!==!1&&re&&me),an=ve.useMemo(function(){return Object.values(un.maps).reduce(function(qt,on){return qt+on},0)},[un.id,un.maps]),yn=Pn&&Ze&&(Math.max(me*Ze.length,an)>re||!!Nt),mn=Ft==="rtl",Un=Ue()(ie,(0,ze.Z)({},"".concat(ie,"-rtl"),mn),se),vn=Ze||sn,Bn=(0,ve.useRef)(),ln=(0,ve.useRef)(),xn=(0,ve.useRef)(),dn=(0,ve.useState)(0),Mn=(0,Ce.Z)(dn,2),Gn=Mn[0],zn=Mn[1],Tn=(0,ve.useState)(0),Yn=(0,Ce.Z)(Tn,2),Xn=Yn[0],$n=Yn[1],jn=(0,ve.useState)(!1),Lt=(0,Ce.Z)(jn,2),Xt=Lt[0],kn=Lt[1],Qn=function(){kn(!0)},ke=function(){kn(!1)},Ye={getKey:Pe};function be(qt){zn(function(on){var tn;typeof qt=="function"?tn=qt(on):tn=qt;var jt=ur(tn);return Bn.current.scrollTop=jt,jt})}var Oe=(0,ve.useRef)({start:0,end:vn.length}),we=(0,ve.useRef)(),Fe=wt(vn,Pe),ut=(0,Ce.Z)(Fe,1),Ut=ut[0];we.current=Ut;var Yt=ve.useMemo(function(){if(!Pn)return{scrollHeight:void 0,start:0,end:vn.length-1,offset:void 0};if(!yn){var qt;return{scrollHeight:((qt=ln.current)===null||qt===void 0?void 0:qt.offsetHeight)||0,start:0,end:vn.length-1,offset:void 0}}for(var on=0,tn,jt,En,Fn=vn.length,_t=0;_t<Fn;_t+=1){var en=vn[_t],wn=Pe(en),Sn=un.get(wn),rr=on+(Sn===void 0?me:Sn);rr>=Gn&&tn===void 0&&(tn=_t,jt=on),rr>Gn+re&&En===void 0&&(En=_t),on=rr}return tn===void 0&&(tn=0,jt=0,En=Math.ceil(re/me)),En===void 0&&(En=vn.length-1),En=Math.min(En+1,vn.length-1),{scrollHeight:on,start:tn,end:En,offset:jt}},[yn,Pn,Gn,vn,On,re]),rn=Yt.scrollHeight,Tt=Yt.start,xt=Yt.end,yt=Yt.offset;Oe.current.start=Tt,Oe.current.end=xt,ve.useLayoutEffect(function(){var qt=un.getRecord();if(qt.size===1){var on=Array.from(qt.keys())[0],tn=qt.get(on),jt=vn[Tt];if(jt&&tn===void 0){var En=Pe(jt);if(En===on){var Fn=un.get(on),_t=Fn-me;be(function(en){return en+_t})}}}un.resetRecord()},[rn]);var Qt=ve.useState({width:0,height:re}),gn=(0,Ce.Z)(Qt,2),hn=gn[0],pn=gn[1],Vn=function(on){pn({width:on.offsetWidth,height:on.offsetHeight})},Jn=(0,ve.useRef)(),qn=(0,ve.useRef)(),Nn=ve.useMemo(function(){return at(hn.width,Nt)},[hn.width,Nt]),An=ve.useMemo(function(){return at(hn.height,rn)},[hn.height,rn]),Dn=rn-re,Hn=(0,ve.useRef)(Dn);Hn.current=Dn;function ur(qt){var on=qt;return Number.isNaN(Hn.current)||(on=Math.min(on,Hn.current)),on=Math.max(on,0),on}var _n=Gn<=0,lr=Gn>=Dn,ir=Xn<=0,er=Xn>=Nt,tr=je(_n,lr,ir,er),vr=function(){return{x:mn?-Xn:Xn,y:Gn}},mr=(0,ve.useRef)(vr()),cr=(0,de.zX)(function(qt){if(Gt){var on=(0,ge.Z)((0,ge.Z)({},vr()),qt);(mr.current.x!==on.x||mr.current.y!==on.y)&&(Gt(on),mr.current=on)}});function gr(qt,on){var tn=qt;on?((0,mt.flushSync)(function(){$n(tn)}),cr()):be(tn)}function xr(qt){var on=qt.currentTarget.scrollTop;on!==Gn&&be(on),Wt==null||Wt(qt),cr()}var or=function(on){var tn=on,jt=Nt?Nt-hn.width:0;return tn=Math.max(tn,0),tn=Math.min(tn,jt),tn},dr=(0,de.zX)(function(qt,on){on?((0,mt.flushSync)(function(){$n(function(tn){var jt=tn+(mn?-qt:qt);return or(jt)})}),cr()):be(function(tn){var jt=tn+qt;return jt})}),Rn=bt(Pn,_n,lr,ir,er,!!Nt,dr),wr=(0,Ce.Z)(Rn,2),Nr=wr[0],Zr=wr[1];De(Pn,Bn,function(qt,on,tn,jt){var En=jt;return tr(qt,on,tn)?!1:!En||!En._virtualHandled?(En&&(En._virtualHandled=!0),Nr({preventDefault:function(){},deltaX:qt?on:0,deltaY:qt?0:on}),!0):!1}),Se(yn,Bn,function(qt){be(function(on){return on+qt})}),(0,Ve.Z)(function(){function qt(tn){var jt=_n&&tn.detail<0,En=lr&&tn.detail>0;Pn&&!jt&&!En&&tn.preventDefault()}var on=Bn.current;return on.addEventListener("wheel",Nr,{passive:!1}),on.addEventListener("DOMMouseScroll",Zr,{passive:!0}),on.addEventListener("MozMousePixelScroll",qt,{passive:!1}),function(){on.removeEventListener("wheel",Nr),on.removeEventListener("DOMMouseScroll",Zr),on.removeEventListener("MozMousePixelScroll",qt)}},[Pn,_n,lr]),(0,Ve.Z)(function(){if(Nt){var qt=or(Xn);$n(qt),cr({x:qt})}},[hn.width,Nt]);var Ar=function(){var on,tn;(on=Jn.current)===null||on===void 0||on.delayHidden(),(tn=qn.current)===null||tn===void 0||tn.delayHidden()},Fr=pt(Bn,vn,un,me,Pe,function(){return $t(!0)},be,Ar);ve.useImperativeHandle(ee,function(){return{nativeElement:xn.current,getScrollInfo:vr,scrollTo:function(on){function tn(jt){return jt&&(0,Ke.Z)(jt)==="object"&&("left"in jt||"top"in jt)}tn(on)?(on.left!==void 0&&$n(or(on.left)),Fr(on.top)):Fr(on)}}}),(0,Ve.Z)(function(){if(ft){var qt=vn.slice(Tt,xt+1);ft(qt,vn)}},[Tt,xt,vn]);var Er=Je(vn,Pe,un,me),Dr=Dt==null?void 0:Dt({start:Tt,end:xt,virtual:yn,offsetX:Xn,offsetY:yt,rtl:mn,getSize:Er}),Rr=Le(vn,Tt,xt,Nt,Xn,kt,tt,Ye),fr=null;re&&(fr=(0,ge.Z)((0,ze.Z)({},rt?"height":"maxHeight",re),dt),Pn&&(fr.overflowY="hidden",Nt&&(fr.overflowX="hidden"),Xt&&(fr.pointerEvents="none")));var Kn={};return mn&&(Kn.dir="rtl"),ve.createElement("div",(0,te.Z)({ref:xn,style:(0,ge.Z)((0,ge.Z)({},Ae),{},{position:"relative"}),className:Un},Kn,fn),ve.createElement(Ee.Z,{onResize:Vn},ve.createElement(Jt,{className:"".concat(ie,"-holder"),style:fr,ref:Bn,onScroll:xr,onMouseEnter:Ar},ve.createElement(Be,{prefixCls:ie,height:rn,offsetX:Xn,offsetY:yt,scrollWidth:Nt,onInnerResize:$t,ref:ln,innerProps:Ht,rtl:mn,extra:Dr},Rr))),yn&&rn>re&&ve.createElement(St,{ref:Jn,prefixCls:ie,scrollOffset:Gn,scrollRange:rn,rtl:mn,onScroll:gr,onStartMove:Qn,onStopMove:ke,spinSize:An,containerSize:hn.height,style:Rt==null?void 0:Rt.verticalScrollBar,thumbStyle:Rt==null?void 0:Rt.verticalScrollBarThumb,showScrollBar:Cn}),yn&&Nt>hn.width&&ve.createElement(St,{ref:qn,prefixCls:ie,scrollOffset:Xn,scrollRange:Nt,rtl:mn,onScroll:gr,onStartMove:Qn,onStopMove:ke,spinSize:Nn,containerSize:hn.width,horizontal:!0,style:Rt==null?void 0:Rt.horizontalScrollBar,thumbStyle:Rt==null?void 0:Rt.horizontalScrollBarThumb,showScrollBar:Cn}))}var Ne=ve.forwardRef(Bt);Ne.displayName="List";var Pt=Ne,st=Pt},25510:function(Vt){"use strict";Vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2S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d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje1HJ59iyyy7jL362iy7//4HbM899rQHH3jIDj/kkHAMwJ9uucWOOPLwEEczdcmpNmWJKSGe56Hnnrbnn3zSll1iKfvYHh+x/fbZz669/no76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z33Xdf0SNQJ9St5JoXzvPArETuWcrOCzMcgIrdi0suHH6JAy2X7YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},93314:function(Vt){"use strict";Vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCA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wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(Vt,Ot,oe){"use strict";oe.d(Ot,{Z:function(){return Ue}});const te=Ee=>typeof Ee=="object"&&Ee!=null&&Ee.nodeType===1,Ke=(Ee,de)=>(!de||Ee!=="hidden")&&Ee!=="visible"&&Ee!=="clip",ge=(Ee,de)=>{if(Ee.clientHeight<Ee.scrollHeight||Ee.clientWidth<Ee.scrollWidth){const Ve=getComputedStyle(Ee,null);return Ke(Ve.overflowY,de)||Ke(Ve.overflowX,de)||(ve=>{const mt=(Xe=>{if(!Xe.ownerDocument||!Xe.ownerDocument.defaultView)return null;try{return Xe.ownerDocument.defaultView.frameElement}catch(Be){return null}})(ve);return!!mt&&(mt.clientHeight<ve.scrollHeight||mt.clientWidth<ve.scrollWidth)})(Ee)}return!1},ze=(Ee,de,Ve,ve,mt,Xe,Be,Ie)=>Xe<Ee&&Be>de||Xe>Ee&&Be<de?0:Xe<=Ee&&Ie<=Ve||Be>=de&&Ie>=Ve?Xe-Ee-ve:Be>de&&Ie<Ve||Xe<Ee&&Ie>Ve?Be-de+mt:0,Ce=Ee=>{const de=Ee.parentElement;return de==null?Ee.getRootNode().host||null:de},xe=(Ee,de)=>{var Ve,ve,mt,Xe;if(typeof document=="undefined")return[];const{scrollMode:Be,block:Ie,inline:Le,boundary:Qe,skipOverflowHiddenElements:ht}=de,wt=typeof Qe=="function"?Qe:St=>St!==Qe;if(!te(Ee))throw new TypeError("Invalid target");const ct=document.scrollingElement||document.documentElement,$e=[];let qe=Ee;for(;te(qe)&&wt(qe);){if(qe=Ce(qe),qe===ct){$e.push(qe);break}qe!=null&&qe===document.body&&ge(qe)&&!ge(document.documentElement)||qe!=null&&ge(qe,ht)&&$e.push(qe)}const je=(ve=(Ve=window.visualViewport)==null?void 0:Ve.width)!=null?ve:innerWidth,bt=(Xe=(mt=window.visualViewport)==null?void 0:mt.height)!=null?Xe:innerHeight,{scrollX:Je,scrollY:He}=window,{height:ot,width:Te,top:it,right:et,bottom:he,left:Et}=Ee.getBoundingClientRect(),{top:De,right:It,bottom:zt,left:Se}=(St=>{const Re=window.getComputedStyle(St);return{top:parseFloat(Re.scrollMarginTop)||0,right:parseFloat(Re.scrollMarginRight)||0,bottom:parseFloat(Re.scrollMarginBottom)||0,left:parseFloat(Re.scrollMarginLeft)||0}})(Ee);let fe=Ie==="start"||Ie==="nearest"?it-De:Ie==="end"?he+zt:it+ot/2-De+zt,pt=Le==="center"?Et+Te/2-Se+It:Le==="end"?et+It:Et-Se;const Zt=[];for(let St=0;St<$e.length;St++){const Re=$e[St],{height:at,width:vt,top:sn,right:dt,bottom:Bt,left:Ne}=Re.getBoundingClientRect();if(Be==="if-needed"&&it>=0&&Et>=0&&he<=bt&&et<=je&&(Re===ct&&!ge(Re)||it>=sn&&he<=Bt&&Et>=Ne&&et<=dt))return Zt;const Pt=getComputedStyle(Re),st=parseInt(Pt.borderLeftWidth,10),ae=parseInt(Pt.borderTopWidth,10),ee=parseInt(Pt.borderRightWidth,10),z=parseInt(Pt.borderBottomWidth,10);let ie=0,se=0;const re="offsetWidth"in Re?Re.offsetWidth-Re.clientWidth-st-ee:0,me="offsetHeight"in Re?Re.offsetHeight-Re.clientHeight-ae-z:0,ye="offsetWidth"in Re?Re.offsetWidth===0?0:vt/Re.offsetWidth:0,rt="offsetHeight"in Re?Re.offsetHeight===0?0:at/Re.offsetHeight:0;if(ct===Re)ie=Ie==="start"?fe:Ie==="end"?fe-bt:Ie==="nearest"?ze(He,He+bt,bt,ae,z,He+fe,He+fe+ot,ot):fe-bt/2,se=Le==="start"?pt:Le==="center"?pt-je/2:Le==="end"?pt-je:ze(Je,Je+je,je,st,ee,Je+pt,Je+pt+Te,Te),ie=Math.max(0,ie+He),se=Math.max(0,se+Je);else{ie=Ie==="start"?fe-sn-ae:Ie==="end"?fe-Bt+z+me:Ie==="nearest"?ze(sn,Bt,at,ae,z+me,fe,fe+ot,ot):fe-(sn+at/2)+me/2,se=Le==="start"?pt-Ne-st:Le==="center"?pt-(Ne+vt/2)+re/2:Le==="end"?pt-dt+ee+re:ze(Ne,dt,vt,st,ee+re,pt,pt+Te,Te);const{scrollLeft:Ae,scrollTop:Ze}=Re;ie=rt===0?0:Math.max(0,Math.min(Ze+ie/rt,Re.scrollHeight-at/rt+me)),se=ye===0?0:Math.max(0,Math.min(Ae+se/ye,Re.scrollWidth-vt/ye+re)),fe+=Ze-ie,pt+=Ae-se}Zt.push({el:Re,top:ie,left:se})}return Zt},Me=Ee=>Ee===!1?{block:"end",inline:"nearest"}:(de=>de===Object(de)&&Object.keys(de).length!==0)(Ee)?Ee:{block:"start",inline:"nearest"};function Ue(Ee,de){if(!Ee.isConnected||!(mt=>{let Xe=mt;for(;Xe&&Xe.parentNode;){if(Xe.parentNode===document)return!0;Xe=Xe.parentNode instanceof ShadowRoot?Xe.parentNode.host:Xe.parentNode}return!1})(Ee))return;const Ve=(mt=>{const Xe=window.getComputedStyle(mt);return{top:parseFloat(Xe.scrollMarginTop)||0,right:parseFloat(Xe.scrollMarginRight)||0,bottom:parseFloat(Xe.scrollMarginBottom)||0,left:parseFloat(Xe.scrollMarginLeft)||0}})(Ee);if((mt=>typeof mt=="object"&&typeof mt.behavior=="function")(de))return de.behavior(xe(Ee,de));const ve=typeof de=="boolean"||de==null?void 0:de.behavior;for(const{el:mt,top:Xe,left:Be}of xe(Ee,Me(de))){const Ie=Xe-Ve.top+Ve.bottom,Le=Be-Ve.left+Ve.right;mt.scroll({top:Ie,left:Le,behavior:ve})}}}}]);
|