|
|
(self.webpackChunk=self.webpackChunk||[]).push([[4492],{24433:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(31468).default;(function(){if("function"!=typeof window.GGBApplet){var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var e={},t="5.0",n={},r=null,i=!1,o=!1,a=null,s=!1,l=null,c=null,u=0;u<arguments.length;u++){var d=arguments[u];if(null!==d)switch(_typeof(d)){case"number":t=d.toFixed(1);break;case"string":d.match(new RegExp("^[0-9]\\.[0-9]+$"))?t=d:a=d;break;case"object":void 0!==d.is3D?r=d:n=d;break;case"boolean":i=d,o=!0}}null===r&&(r={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},void 0===n.material_id||o||(i=!0)),null!==a&&void 0===n.id&&(n.id=a);var h="",f=!1,p=null,m=null,v=null,g=!1,y=null,x=null,b=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var w=function(e){return parseFloat(e)>4?parseFloat(e):5};function C(){try{return window.self!==window.top}catch(e){return!0}}function k(){return(!n.hasOwnProperty("screenshotGenerator")||!n.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,t){c=e,I(e,t)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,t){var n=parseFloat(e);NaN!==n&&n<5?console.log("The GeoGebra HTML5 codebase version "+n+" is deprecated. Using version latest instead."):(l=e,F(e,t))},e.getHTML5CodebaseVersion=function(){return m},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){b=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function t(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var r,i="auto",o=n.id,a=!1,l=0;l<arguments.length;l++){var c=arguments[l];"string"==typeof c?(c=c.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?i=c:o=arguments[l]:"boolean"==typeof c?a=c:c instanceof HTMLElement&&(r=c)}function u(){if(s){i=T(i);var l=r||document.getElementById(o);if(l)if(e.removeExistingApplet(l,!1),void 0===n.width&&l.clientWidth&&(n.width=l.clientWidth),void 0===n.height&&l.clientHeight&&(n.height=l.clientHeight),n.width&&n.height||"html5"!==i||(delete n.width,delete n.height),p=i,"screenshot"===i)M(l,n);else{var c=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?c=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(c=(!C()||t())&&k()),c?(p="screenshot",B(l,n,a,i)):N(l,n,a)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return r},e.isJavaInstalled=function(){return!1};var A=function(t){var i=function(){n.onError&&n.onError(),W("Error: Fetching material (id "+n.material_id+") failed.",n)},o=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",a="/materials/"+n.material_id+"?scope=basic";E("https://"+o+"/api/proxy.php?path="+encodeURIComponent(a),(function(o){var a=JSON.parse(o),s=a.elements?a.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:a;if(s&&s.url){n.fileName=s.url,S(s.settings||{}),r.is3D=!0;var l="https://www.geogebra.org/images/";e.setPreviewImage(y||s.previewUrl,l+"GeoGebra_loading.png",l+"applet_play.png"),t()}else i()}),i)};function S(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(t){e[t]=!!e[t]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(t){void 0===n[t]&&void 0!==e[t]&&(n[t]=e[t])})),void 0===n.showToolBarHelp&&(n.showToolBarHelp=n.showToolBar)}function E(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.onload=function(){t(r.responseText)},r.onerror=n,r.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return p},e.setPreviewImage=function(e,t,n){y=e,x=t,n},e.removeExistingApplet=function(e,t){var r;"string"==typeof e&&(e=document.getElementById(e)),p=null;var i=null;for(r=0;r<e.childNodes.length;r++){var o=e.childNodes[r],a=o.className;"applet_screenshot"===a?t?(o.style.display="block",p="screenshot"):o.style.display="none":"applet_scaler prerender"!==a&&(e.removeChild(o),i=a&&-1!=a.indexOf("appletParameters")?o.id:null,r--)}var s=void 0!==n.id?n.id:i,l=window[s];l&&"function"==typeof l.getBase64&&(l.remove(),window[s]=null)},e.refreshHitPoints=function(){if(w(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var t=e.getAppletObject();return!(!t||"function"!=typeof t.recalculateEnvironments)&&(t.recalculateEnvironments(),!0)},e.startAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.startAnimation)&&(t.startAnimation(),!0)},e.stopAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.stopAnimation)&&(t.stopAnimation(),!0)},e.getAppletObject=function(){var e=void 0!==n.id?n.id:"ggbApplet";return window[e]},e.resize=function(){};var L=function(e){return e&&"false"!==e},N=function(t,n,r){w(m)<=4.2&&(r=!0);var i=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==m||ggbHTML5LoadedCodebaseIsWebSimple&&!g)&&(i=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var o=document.createElement("div");o.classList.add("appletParameters","notranslate");var a=n.width,s=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(w(m)<=4.4)L(n.showToolBar)&&(n.height-=7),L(n.showAlgebraInput)&&(n.height-=37),n.width<605&&L(n.showToolBar)&&(n.width=605,a=605);else{var u=100;(L(n.showToolBar)||L(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),u=L(n.showMenuBar)?245:155),a<u&&(n.width=u,a=u)}for(var d in o.style.border="none",o.style.display="inline-block",n)n.hasOwnProperty(d)&&"appletOnLoad"!==d&&o.setAttribute("data-param-"+d,n[d]);b&&o.setAttribute("data-param-fontscssurl",b),e.resize=function(){GGBAppletUtils.responsiveResize(t,n)},window.addEventListener("resize",(function(t){e.resize()}));var f="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(r||void 0===n.width){var p=document.createElement("div");p.className="applet_scaler",p.style.position="relative",p.style.display="block",p.appendChild(o),t.appendChild(p),n.appletOnLoad=function(t){e.resize(),f(t)}}else{n.hasOwnProperty("showSplash")||o.setAttribute("data-param-showSplash","false");var y=t.querySelector(".applet_scaler.prerender"),x=null!==y;if(x)C=y.querySelector(".ggb_preview");else{var C=Z(a,s,n.borderColor,!1);(y=document.createElement("div")).className="applet_scaler",y.style.position="relative",y.style.display="block",y.style.width=a+"px",y.style.height=s+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(y,"66%"),w(m)>=5?(n.appletOnLoad=function(e){var n=t.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(y),window.GGBT_wsf_view&&$(window).trigger("resize"),f(e)},x||y.appendChild(C)):o.appendChild(C),y.appendChild(o),x||t.appendChild(y),setTimeout((function(){e.resize()}),1)}function k(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),W("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function A(e,t){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){k(e.article,e.params)})),html5AppletsToProcess=null)},w(m)<5&&(e.className+=" geogebraweb")):k(e,t)}if(i){scriptLoadStarted=!0;for(var S=0;S<o.childNodes.length;S++){"TABLE"===o.childNodes[S].tagName&&(o.removeChild(o.childNodes[S]),S--)}if(null!==ggbHTML5LoadedScript){var E=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=E&&E.parentNode.removeChild(E)}var N=document.createElement("script"),M=function(){A(o,n)};N.src=h+v,ggbHTML5LoadedCodebaseIsWebSimple=g,ggbHTML5LoadedCodebaseVersion=m,ggbHTML5LoadedScript=N.src,W("GeoGebra HTML5 codebase loaded: '"+h+"'.",n),c||l&&"5.0"!=l?h.requirejs?__webpack_require__.e(5178).then(function(){var e=[__webpack_require__(95178)];M.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(N.onload=M,t.appendChild(N)):(g?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),M())}else A(o,n);n.height=s,n.width=a},M=function(t,n,r){var i=Z(n.width,n.height,n.borderColor,r),o=document.createElement("div");o.style.position="relative",o.style.display="block",o.style.width=n.width+"px",o.style.height=n.height+"px",o.className="applet_screenshot applet_scaler"+(r?" applet_screenshot_play":""),o.appendChild(i);var a=GGBAppletUtils.getScale(n,t,r);r?(t.appendChild(D()),window.GGBT_wsf_view||(t.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(o,"66%"),t.appendChild(o),1===a||isNaN(a)||(GGBAppletUtils.scaleElement(o,a),o.style.width=n.width+"px",o.style.height=n.height+"px",o.parentNode.style.width=n.width*a+"px",o.parentNode.style.height=n.height*a+"px"),e.resize=function(){P(t,i,o,r)},window.addEventListener("resize",(function(t){e.resize()})),e.resize()};function P(e,t,r,i){if(e.contains(t)){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if("fullscreencontent"!==e.id)return;window.GGBT_wsf_view.setCloseBtnPosition(e)}var o=GGBAppletUtils.getScale(n,e,i);null!==r.parentNode&&(isNaN(o)||1===o?(GGBAppletUtils.scaleElement(r,1),r.parentNode.style.width=n.width+"px",r.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(r,o),r.parentNode.style.width=n.width*o+"px",r.parentNode.style.height=n.height*o+"px")),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(e),"object"===_typeof(window.GGBT_ws_header_footer)&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}e.onExitFullscreen=function(e,t){t.appendChild(e)};var B=function(e,t,n,r){M(e,t,!0);for(var i=function(){var n=[];for(a=0;a<e.childNodes.length;a++)n.push(e.childNodes[a]);if(window.GGBT_wsf_view){var i=window.GGBT_wsf_view.renderFullScreen(e,t.id),o=document.getElementById("fullscreencontainer"),s=jQuery(e).find(".fullscreencontent");s.length>0?(i.remove(),s.attr("id","fullscreencontent").show(),jQuery(o).append(s),window.dispatchEvent(new Event("resize"))):N(i,t,!1),window.GGBT_wsf_view.launchFullScreen(o)}else p=r,N(e,t,!1);if(!window.GGBT_wsf_view)for(a=0;a<n.length;a++)e.removeChild(n[a])},o=e.getElementsByClassName("ggb_preview_play"),a=0;a<o.length;a++)o[a].addEventListener("click",i,!1),o[a].addEventListener("ontouchstart",i,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),k()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},D=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var t='.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");}',n=document.createElement("style");n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(n)}return e},Z=function(e,t,n,r){var i=document.createElement("div");i.className="ggb_preview",i.style.position="absolute",i.style.zIndex="90",i.style.width=e-2+"px",i.style.height=t-2+"px",i.style.top="0px",i.style.left="0px",i.style.overflow="hidden",i.style.backgroundColor="white";var o="lightgrey";void 0!==n&&(o="none"===n?"transparent":n),i.style.border="1px solid "+o;var a,s,l,c=document.createElement("img");if((c.style.position="relative",c.style.zIndex="1000",c.style.top="-1px",c.style.left="-1px",null!==y&&c.setAttribute("src",y),c.style.opacity=.7,null!==x)&&!r){(a=document.createElement("img")).style.position="absolute",a.style.zIndex="1001",a.style.opacity=1,c.style.opacity=.3,(s=360)>e/4*3&&(s=e/4*3),l=s/5.8,a.setAttribute("src",x),a.setAttribute("width",s),a.setAttribute("height",l);var u=(e-s)/2,d=(t-l)/2;a.style.left=u+"px",a.style.top=d+"px",i.appendChild(a)}return i.appendChild(c),i},T=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},j=["web","webSimple","web3d","tablet","tablet3d","phone"],F=function(e,t){if(m=e,t)I(m,!0);else{var o,a,s=!i;if(s){var l=w(m);!isNaN(l)&&l<4.4&&(s=!1)}o="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var c=m.indexOf("//");for(var u in a=c>0?m:0===c?o+m:"https://www.geogebra.org/apps/5.2.814.0/",j)if(m.slice(-1*j[u].length)===j[u]||m.slice(-1*(j[u].length+1))===j[u]+"/")return void I(a,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!s||r.is3D||r.AV||r.SV||r.CV||r.EV2||r.CP||r.PC||r.DA||r.FI||r.PV||L(n.showToolBar)||L(n.showMenuBar)||L(n.showAlgebraInput)||L(n.enableRightClick)||n.appName&&"classic"!=n.appName?a+="web3d/":a+="webSimple/",I(a,!1)}},I=function(e,t){if(e.requirejs)h=e;else{"/"!==e.slice(-1)&&(e+="/"),h=e,null===t&&(t=-1===e.indexOf("http")),f=t,v="web.nocache.js",g=!1;var n=h.split("/");n.length>1&&(t||"webSimple"!==n[n.length-2]?j.indexOf(n[n.length-2])>=0&&(v=n[n.length-2]+".nocache.js"):(v="webSimple.nocache.js",g=!0)),n=e.split("/"),"test"===(m=n[n.length-3]).substr(0,4)?m=m.substr(4,1)+"."+m.substr(5,1):"war"!==m.substr(0,3)&&"beta"!==m.substr(0,4)||(m="5.0");var r=parseFloat(m);NaN!==r&&r<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+r+" is deprecated. Using version latest instead."),F("5.0",t))}},W=function(e,t){window.console&&window.console.log&&(!t||void 0===t.showLogging||t.showLogging&&"false"!==t.showLogging)&&console.log(e)};function O(){var e=t;null!==l?e=l:parseFloat(e)<5&&(e="5.0"),F(e,!1),null!==c&&I(c,f),s=!0}return void 0!==n.material_id?A(O):O(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function t(e,t){1!=t?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+t+","+t+")",e.style.webkitTransform="scale("+t+","+t+")",e.style.maxWidth="initial",null!==e.querySelector(".ggb_preview")&&(e.querySelector(".ggb_preview").style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[0]&&(e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[1]&&(e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(e.style.transform="none",e.style.webkitTransform="none")}function n(e,t,n,r,i){if(e.isScreenshoGenerator)return 1;var o,a=void 0!==r&&r,s=null!=e.noScaleMargin&&e.noScaleMargin,l=(o=e.autoHeight)&&"false"!==o,c=function(e,t,n,r,i,o){var a=null;if(null!=o&&""!=o)for(var s=e.parentNode;null!=s;){if((" "+s.className+" ").indexOf(" "+o+" ")>-1){a=s;break}s=s.parentNode}var l=0,c=0,u=0,d=0,h=0,f=0,p=0;if(a)l=a.offsetWidth,c=Math.max(r?a.offsetWidth:0,a.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(l=Math.min(window.innerWidth,document.documentElement.clientWidth),c=Math.min(window.innerHeight,document.documentElement.clientHeight),u=l):(l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),e){var m=e.getBoundingClientRect();m.left>0&&m.left<=l&&(void 0===i||!i)&&("rtl"===document.dir?(h=l-m.width-m.left,f=u<=480?10:30):(f=m.left,h=u<=480?10:30),d=f+h)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(d=40,p=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(d=0,p=40))}return e&&((void 0===n||!n)&&t>0&&t+d<l?l=t:l-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(c-=p)),{width:l,height:c}}(t,e.width,n,l,a&&window.GGBT_wsf_view||s,i),u=parseInt(c.width),d=e.width,h=e.height;if(void 0===d){var f=t.querySelector(".appletParameters");f&&(d=f.offsetWidth,h=f.offsetHeight)}var p=u/d,m=a?1:c.height/h;return void 0===n||n||(p=Math.min(1,p),m=Math.min(1,m)),Math.min(p,m)}function r(e,t,r){var i,o=1,a=!1;return e.hasOwnProperty("allowUpscale")&&(a=e.allowUpscale),e.hasOwnProperty("scale")&&(o=parseFloat(e.scale),(isNaN(o)||null===o||0===o)&&(o=1),o>1&&(a=!0)),t&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(a=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?o:(i=n(e,t,a,r,e.scaleContainerClass),!a||e.hasOwnProperty("scale")&&1!==o?Math.min(o,i):i)}function i(e){var t=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),r=e.getBoundingClientRect(),i=(t-r.width)/2,o=(n-r.height)/2;o<0&&(o=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=i<40?"40px":i+"px",e.style.top=o+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=o<40?"40px":o+"px",e.style.left=i+"px")}return{responsiveResize:function(n,o){var a=n.querySelector(".appletParameters");if(a){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(o.id!==a.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(a.parentElement&&/fullscreen/.test(a.parentElement.className))return;var s=r(o,n);e()&&a.setAttribute("data-param-scale",s);for(var l=null,c=0;c<n.childNodes.length;c++)if(void 0!==n.childNodes[c].className&&n.childNodes[c].className.match(/^applet_scaler/)){l=n.childNodes[c];break}if(null!==l&&null!==l.querySelector(".noscale"))return;var u=void 0!==o.id?o.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===l||l.className.match(/fullscreen/)||(l.parentNode.style.transform="",isNaN(s)||1===s?(t(l,1),l.parentNode.style.width=o.width+"px",l.parentNode.style.height=o.height+"px"):(l.parentNode.style.width=o.width*s+"px",l.parentNode.style.height=o.height*s+"px",t(l,s))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&i(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(a).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:i,getScale:r,scaleElement:t}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(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 e=n.location.search;return-1!=e.indexOf(J)||-1!=e.indexOf(K)}function q(e,t){}q(H,I),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||{},t;function u(){return v(),t}function v(){if(!t){var e=o.createElement(Q);if(e.id=L,e.style.cssText=R+S,e.tabIndex=-1,o.body.appendChild(e),t=e.contentWindow.document,-1==navigator.userAgent.indexOf(T)){t.open();var n=document.compatMode==U?V:W;t.write(n+X),t.close()}}}function w(e){q(cb,eb),function(e){function t(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var n=t();if(n)e();else{o.addEventListener&&o.addEventListener(Z,i,!1);var r=setInterval((function(){i()}),$)}function i(){if(!n){if(!t())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,i,!1),r&&clearInterval(r)}}}((function(){var t,n,r,i;t=e,n=u(),r=n.body,(i=n.createElement(_)).language=ab,i.crossOrigin=W,i.src=t,webModule.__errFn&&(i.onerror=function(){webModule.__errFn(L,new Error(bb+t))}),r.appendChild(i),q(cb,db)}))}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(e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(e){var t=c[e];return null==t?null:t},r=d,webModule.__errFn=e}function B(){function e(e){var t=e.lastIndexOf(rb);-1==t&&(t=e.length);var n=e.indexOf(sb);-1==n&&(n=e.length);var r=e.lastIndexOf(tb,Math.min(n,t));return r>=O?e.substring(O,r+P):W}var t,n=null!=(t=__gwt_getMetaProperty(wb))?t:W;return n==W&&(n=function(){for(var t=o.getElementsByTagName(_),n=O;n<t.length;++n)if(-1!=t[n].src.indexOf(xb))return e(t[n].src);return W}()),n==W&&(n=function(){var e=o.getElementsByTagName(yb);return e.length>O?e[e.length-P].href:W}()),n==W&&function(){var e=o.location;return e.href==e.protocol+zb+e.host+e.pathname+e.search+e.hash}()&&(n=e(o.location.href)),n=function(t){if(t.match(/^\w+:\/\//));else{var n=o.createElement(ub);n.src=t+vb,t=e(n.src)}return t}(n),n}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,t=O,i=[],o=[];function a(e){var t=o[e](),n=i[e];if(t in n)return t;var a=[];for(var s in n)a[n[s]]=s;throw r&&r(e,a,t),null}if(__gwt_isKnownPropertyValue=function(e,t){return t in i[e]},webModule.__getPropMap=function(){var e={};for(var t in i)i.hasOwnProperty(t)&&(e[t]=a(t));return e},webModule.__computePropValue=a,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var s=(e=Cb).indexOf(Db);-1!=s&&(t=parseInt(e.substring(s+P),$),e=e.substring(O,s))}catch(e){}return webModule.__softPermutationId=t,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var t=s[L].bindings;s[L].bindings=function(){for(var n=t?t():{},r=e[webModule.__softPermutationId],i=O;i<r.length;i++){var o=r[i];n[o[O]]=o[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var t=u(),n=t.body,r=t.createElement(_);r.language=ab,r.text=e,n.appendChild(r),n.removeChild(r)},A(),webModule.__moduleBase="/react/build/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},"function"!=typeof window.web3d&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),"function"!=typeof window.webSimple&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet}else console.warn("deployggb.js was loaded twice")})()},20337:function(e,t,n){"use strict";function r(e){var t=!0;if(e.length>0){for(var n=0;n<e.length;n++)if(0==e[n].compile_success||!e[n].compile_success){t=!1;break}}else t=!1;return t}function i(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=0;r<e.length;r++){var i=e[r],o=t?"".concat(t,"/").concat(i.name):"".concat(i.name);n.push({title:i.name,type:i.type,isLeaf:"tree"!==i.type,key:o})}return n}function o(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(i.key===t){i.children=n;break}i.children&&o(i.children,t,n)}return e}function a(e,t,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||e.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,t),s&&e.apply(i,o)}}n.d(t,{Ax:function(){return o},Ds:function(){return a},KI:function(){return s},SI:function(){return i},f1:function(){return r}});var s=n(6816).Z.API_SERVER},42418:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});n(7557),n(41498);var r=n(82100),i=n.n(r),o=n(29186),a=n.n(o),s=n(13720),l=n.n(s),c=n(80619),u=n.n(c),d=n(47074),h=n.n(d),f=n(85573),p=n.n(f),m=n(59301),v=n(6767),g=n(37568),y="codeBox___WpkVl",x=n(92310),b=n.n(x),w=n(37712),C=function(e){u()(n,e);var t=h()(n);function n(e){var r;return i()(this,n),r=t.call(this,e),p()(l()(r),"canvas",void 0),p()(l()(r),"randomNum",(function(e,t){return Math.floor(Math.random()*(t-e)+e)})),p()(l()(r),"drawPic",(function(){r.randomCode()})),p()(l()(r),"reloadPic",(function(){r.drawPic()})),p()(l()(r),"changeCode",(function(e){console.log(e.target.value,222),r.setState({value:e.target.value,showError:!1})})),p()(l()(r),"onVerify",(function(){var e;return""!==r.state.value.toLowerCase()&&r.state.value.toLowerCase()!==r.state.code.toLowerCase()?(e=!0,v.ZP.error("请输入正确的验证码"),r.reloadPic()):""===r.state.value.toLowerCase()?(e=!0,v.ZP.error("请输入验证码")):r.state.value.toLowerCase()===r.state.code.toLowerCase()&&(e=!1),r.setState({showError:e}),e})),r.canvas=m.createRef(),r.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1},r}return a()(n,[{key:"componentDidMount",value:function(){this.drawPic()}},{key:"randomColor",value:function(e,t){var n=this.randomNum(e,t),r=this.randomNum(e,t),i=this.randomNum(e,t);return"rgb(".concat(n,", ").concat(r,", ").concat(i,")")}},{key:"drawText",value:function(e,t,n){e.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);var r=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);e.font=r+"px SimHei";var i=(this.state.contentWidth-40)/(this.state.code.length-1),o=10;n>0&&(o=10+n*i);var a=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);r>40&&(a=40);var s=this.randomNum(-10,10);e.translate(o,a),e.rotate(s*Math.PI/180),e.fillText(t,0,0),e.rotate(-s*Math.PI/180),e.translate(-o,-a)}},{key:"drawLine",value:function(e){for(var t=0;t<1;t++)e.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),e.beginPath(),e.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),e.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),e.stroke()}},{key:"drawDot",value:function(e){for(var t=0;t<100;t++)e.fillStyle=this.randomColor(0,255),e.beginPath(),e.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),e.fill()}},{key:"randomCode",value:function(){for(var e=this,t="",n=0;n<this.state.codeLength;n++){t+="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890"[Math.floor(57*Math.random())]}this.setState({code:t},(function(){var t=e.canvas.current.getContext("2d");t.textBaseline="bottom",t.fillStyle=e.randomColor(e.state.backgroundColorMin,e.state.backgroundColorMax),t.fillRect(0,0,e.state.contentWidth,e.state.contentHeight);for(var n=0;n<e.state.code.length;n++)e.drawText(t,e.state.code[n],n);e.drawLine(t),e.drawDot(t)}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.width,r=void 0===n?300:n;return(0,w.jsxs)("div",{className:b()(y,t),style:{width:r},children:[(0,w.jsx)("aside",{children:(0,w.jsx)(g.Z,{value:this.state.value,onChange:this.changeCode,placeholder:"请输入图片中的验证码"})}),(0,w.jsxs)("div",{children:[(0,w.jsx)("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),(0,w.jsx)("div",{className:"current",onClick:this.reloadPic,children:"看不清?换一张"})]})]})}}]),n}(m.Component),k=C},17086:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7557),i=n.n(r),o=n(41498),a=n.n(o),s=n(79800),l=n.n(s),c=n(59301),u="imageDimensions___a7crR",d="img___Kroat",h="fullWidth___c492T",f=n(92310),p=n.n(f),m=n(29787),v=n(2859),g=n(67310),y=n(32985),x=n(37712),b=function(e){var t=e.data,n=e.className,r=e.fullWidth,o=e.style,s=void 0===o?{}:o,f=e.onClose,b=e.onOk,w=e.showFullTools,C=e.noAssociationId,k=(0,c.useRef)(null),A=(0,c.useRef)(null),S=(0,c.useRef)(null),E=(0,c.useRef)(null),L=(0,c.useState)(!1),N=l()(L,2),M=N[0],P=N[1],B=(0,c.useState)("正在加载中"),D=l()(B,2),Z=D[0],T=D[1];(0,c.useEffect)((function(){return S.current||(S.current=document.createElement("style"),document.head.appendChild(S.current)),null!=t&&t.visible?(document.body.setAttribute("data-custom","y-hidden"),S.current.innerHTML=" html { overflow-y: hidden; }",null!=t&&t.src&&j()):(document.body.removeAttribute("data-custom"),S.current&&(document.head.removeChild(S.current),S.current=null)),function(){document.body.removeAttribute("data-custom"),S.current&&(document.head.removeChild(S.current),S.current=null)}}),[null==t?void 0:t.visible]);var j=function(){var e=a()(i()().mark((function e(){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!0),T("正在加载中"),e.next=4,(0,y.ZJ)(null==t?void 0:t.src);case 4:n=e.sent,k.current.src="",k.current.src=n,k.current.onload=function(){I()},P(!1),T("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=a()(i()().mark((function e(n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!0),T("正在保存中"),e.next=4,(0,g.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:t.title,file:n.dataUrl}});case 4:if(null==(r=e.sent)||!r.id||C){e.next=12;break}return e.next=8,(0,g.ZP)("/api/attachments/".concat(t.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==r?void 0:r.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&b(),e.next=13;break;case 12:null!=r&&r.id&&b(r);case 13:P(!1),T("");case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){A.current=new v.hP(k.current),A.current.targetRoot=E.current,A.current.addEventListener("render",F),A.current.addEventListener("beforeclose",f),w&&(A.current.availableMarkerTypes=A.current.ALL_MARKER_TYPES,A.current.uiStyleSettings.redoButtonVisible=!0,A.current.uiStyleSettings.notesButtonVisible=!0,A.current.uiStyleSettings.zoomButtonVisible=!0,A.current.uiStyleSettings.zoomOutButtonVisible=!0,A.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=A.current.uiStyleSettings,A.current.show(),null!=t&&t.snapshotData&&A.current.restoreState(t.snapshotData),setTimeout((function(){var e;window.scrollTo(0,0),(e=document.querySelector('a[href="https://markerjs.com/"]'))&&e.parentNode&&(e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"选择"},{name:'[data-action="delete"]',title:"删除元素"},{name:'[data-action="undo"]',title:"撤销"},{name:'[data-type-name="FrameMarker"]',title:"矩形"},{name:'[data-type-name="FreehandMarker"]',title:"画线"},{name:'[data-type-name="ArrowMarker"]',title:"箭头"},{name:'[data-type-name="TextMarker"]',title:"文本"},{name:'[data-type-name="EllipseMarker"]',title:"椭圆"},{name:'[data-type-name="HighlightMarker"]',title:"方块"},{name:'[data-type-name="CalloutMarker"]',title:"注释"},{name:'[data-action="render"]',title:"保存"},{name:'[data-action="close"]',title:"退出"}].forEach((function(e){var t=document.querySelector(e.name);t&&t.setAttribute("title",e.title)}))}),300)};return(0,x.jsx)(c.Fragment,{children:(null==t?void 0:t.visible)&&(0,x.jsx)(m.Z,{spinning:M,tip:Z,style:{position:"absolute",width:"100vw"},children:(0,x.jsx)("div",{ref:E,className:p()(u,n,r?h:""),style:s,children:(0,x.jsx)("img",{className:d,ref:k})})})})}},74135:function(e,t,n){"use strict";var r=n(59301),i=n(77019),o=n(5269),a=n(20554),s=n(99571),l=n(76603),c=n(32313),u=(n(48136),n(37712)),d=(0,r.forwardRef)((function(e,t){var n=e.callback,d=e.showSaveButton,h=e.value,f=void 0===h?"":h,p=(0,r.useRef)(),m=function(e){p.current.setValue(p.current.getValue()+" "+e.value+" ")},v=[{key:"1",label:"快捷模板",children:(0,u.jsx)(i.Z,{className:c.Z.lists,gutter:[10,10],children:[{name:"分数得分",value:"\\frac{x}{y}",children:[{name:"分数 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:"导数 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"模算术 Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"根式角标",value:"\\sqrt{x}",children:[{name:"根式 Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"上下标 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"重音符及其他 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:"极限对数",value:"\\lim_{x \\to 0}",children:[{name:"极限 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"对数指数 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"界限 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"三角函数",value:"\\sin a",children:[{name:"三角函数 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"反三角函数 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:"双曲函数 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"反双曲函数 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:"积分运算",value:"\\int_{a}^{b}",children:[{name:"积分 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"双重积分 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"三重积分 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"曲线积分 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"大型运算",value:"\\sum_{a}^{b}",children:[{name:"求和 Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"乘积余积 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:"并集交集 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"析取合取 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"括号取整",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"括号 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 "}]}]}].map((function(e,t){return(0,u.jsxs)(o.Z,{flex:"110px",className:c.Z.item,children:[(0,u.jsxs)("div",{children:[(0,u.jsx)(l.Z,{value:"$$".concat(e.value,"$$")}),e.name]}),(0,u.jsx)("div",{className:c.Z.children,children:e.children.map((function(e,t){return(0,u.jsxs)("div",{children:[(0,u.jsx)("h1",{children:e.name}),(0,u.jsx)(i.Z,{gutter:[10,10],children:e.data.map((function(e,t){return(0,u.jsx)(o.Z,{onClick:function(){return m(e)},className:c.Z.diamond,children:(0,u.jsx)(l.Z,{value:"`$$"+e.value+"$$`"})},t)}))})]},t)}))})]})}))})},{key:"2",label:"公式模板",children:(0,u.jsx)(i.Z,{className:c.Z.lists,gutter:[10,10],children:[{name:"代数",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\n x=a + r\\text{cos}\\theta \\ \r\n y=b + r\\text{sin}\\theta \r\n\\end{matrix}\\right. "},{value:"\\begin{array}{l} \r\n \\text{对于方程形如:}x^{3}-1=0 \\ \r\n \\text{设}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r\n x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r\n x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r\n\\end{array} "},{value:"\\begin{array}{l} \r\n a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r\n \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r\n \\left\\{\\begin{matrix} \r\n \\Delta \\gt 0\\text{方程有两个不相等的实根} \\ \r\n \\Delta = 0\\text{方程有两个相等的实根} \\ \r\n \\Delta \\lt 0\\text{方程无实根} \r\n\\end{matrix}\\right. \r\n\\end{array} "},{value:"\\begin{array}{l} \r\n a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r\n \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r\n \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r\n \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r\n \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r\n \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r\n\\end{array} "}]}]},{name:"几何",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\n a \\perp \\alpha \\ \r\n b \\perp \\alpha \r\n\\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\n \\Rightarrow a \\perp \\beta "},{value:"\\left.\\begin{matrix} \r\n a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r\n a \\parallel \\partial ,b \\parallel \\partial \r\n\\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\n m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r\n a \\perp m,a \\perp n \r\n\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha "},{value:"\\begin{array}{c} \r\n \\text{直角三角形中,直角边长a,b,斜边边长c} \\ \r\n a^{2}+b^{2}=c^{2} \r\n\\end{array}"}]}]},{name:"不等式",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\n a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r\n a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r\n\\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\n a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r\n \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r\n\\end{array}"},{value:"\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r\n\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) "},{value:"\\begin{array}{c} \r\n a,b \\in R^{+} \\ \r\n \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r\n \\left( \\text{当且仅当}a=b\\text{时取“}=\\text{”号}\\right) \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n a,b \\in R \\ \r\n \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r\n \\left( \\text{当且仅当}a=b\\text{时取“}=\\text{”号}\\right) \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n 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\n\\end{array}"}]}]},{name:"积分",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:"三角",value:"e^{i \\theta}",children:[{name:"求和 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:"统计",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\n \\text{若}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r\n \\text{则}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r\n\\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\n P \\left( \\emptyset \\right) =0 \\\\ \r\n P \\left( S \\right) =1 \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n \\forall A \\in S \\\\ \r\n P \\left( A \\right) \\ge 0 \r\n\\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\n S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r\n P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r\n\\end{array}"},{value:"\\begin{array}{c} \r\n P_{n}=n! \\\\ \r\n A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r\n\\end{array}"}]}]}].map((function(e,t){return(0,u.jsxs)(o.Z,{flex:"110px",className:c.Z.item,children:[(0,u.jsxs)("div",{children:[(0,u.jsx)(l.Z,{value:"`$$"+e.value+"$$`"}),e.name]}),(0,u.jsx)("div",{className:c.Z.children,children:e.children.map((function(e,t){return(0,u.jsxs)("div",{children:[e.name&&(0,u.jsx)("h1",{children:e.name}),(0,u.jsx)(i.Z,{gutter:[10,10],children:e.data.map((function(e,t){return(0,u.jsx)(o.Z,{onClick:function(){return m(e)},className:c.Z.diamond,children:(0,u.jsx)(l.Z,{value:"`$$"+e.value+"$$`"})},t)}))})]},t)}))})]})}))})}],g=function(){var e=document.createElement("div");e.innerHTML=p.current.getValue();var t=e.innerText;return n&&n(t),t};return(0,r.useImperativeHandle)(t,(function(){return{getData:g}})),(0,u.jsxs)("div",{className:c.Z.mathWrap,children:[(0,u.jsx)(a.Z,{defaultActiveKey:"1",items:v}),(0,u.jsx)("math-field",{locale:"zh_cn",className:c.Z.mathField,placeholder:"请打开键盘,输入公式",ref:p,style:{width:800,marginTop:30,fontSize:18},children:f||""}),d&&(0,u.jsx)("div",{className:c.Z.button,children:(0,u.jsx)(s.ZP,{size:"large",onClick:g,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})}));t.Z=d},90059:function(e,t,n){"use strict";var r=n(82242),i=n.n(r),o=(n(59301),n(93314)),a=n(99571),s=n(37712);t.Z=function(e){var t=e.img,n=e.buttonProps,r=void 0===n?{}:n,l=e.styles,c=void 0===l?{}:l,u=e.customText,d=e.ButtonText,h=e.ButtonClick,f=e.Buttonclass,p=e.ButtonTwo,m=e.imgStyles,v=e.loading,g=void 0!==v&&v,y=e.className,x=void 0===y?"":y;return(0,s.jsxs)("section",{className:"tc animated fadeIn ".concat(x),style:i()({color:"#999",margin:"100px auto",visibility:g?"hidden":"visible"},c),children:[(0,s.jsx)("img",{src:t||o,style:i()(i()({},m),{},{pointerEvents:"none",userSelect:"none"})}),(0,s.jsx)("p",{className:"mt20 font14",children:u||"暂时还没有相关数据哦!"}),d&&(0,s.jsx)(a.ZP,i()(i()({className:f,onClick:h},r),{},{children:d})),p&&p]})}},94189:function(e,t,n){"use strict";n.d(t,{Q:function(){return u}});var r=n(79800),i=n.n(r),o=n(59301),a=n(82326),s=n(47889),l=n(71051),c=n(37712),u=function(e){return e[e.Number=1]="Number",e[e.Percent=2]="Percent",e}({});t.Z=function(e){var t=e.value,n=e.onChange,r=e.disabled,d=e.hidePercentOption,h=void 0!==d&&d,f=e.percentType,p=void 0===f?"select":f,m=(0,o.useMemo)((function(){return h?u.Number:u.Percent}),[h]),v=(0,o.useState)(m),g=i()(v,2),y=g[0],x=g[1];console.log(y);var b=(0,o.useCallback)((function(e){if(y===u.Number){var t=e.replace("分","");return isNaN(parseInt(t,10))?0:t}return e.replace("%","")}),[y]);return(0,o.useEffect)((function(){x(t.type)}),[t]),(0,c.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:["select"==p&&(0,c.jsx)(a.default,{size:"large",onChange:function(e){x(e),n({type:e,inputValue:e===u.Number?5:20})},value:y||m,style:{width:100},options:h?[{label:"分值",value:u.Number}]:[{label:"百分比",value:u.Percent},{label:"分值",value:u.Number}],disabled:r}),"radio"==p&&(0,c.jsxs)(s.ZP.Group,{size:"large",onChange:function(e){var t=e.target.value;x(t),n({type:t,inputValue:t===u.Number?5:20})},value:y||m,disabled:r,children:[!h&&(0,c.jsx)(s.ZP,{value:u.Percent,style:{marginRight:"50px"},children:"百分比扣分"}),(0,c.jsx)(s.ZP,{value:u.Number,children:"固定分值"})]}),"radio"==p&&(0,c.jsx)("div",{style:{marginRight:"10px",color:"#000000"},children:u.Percent==t.type?"扣除补交阶段得分的":"扣除总成绩的"}),(0,c.jsx)(l.Z,{size:"large",disabled:r,value:t.inputValue,style:{width:"120px"},parser:b,addonAfter:t.type===u.Number?"分":"%",max:y===u.Percent?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:function(e){n({type:y,inputValue:e})}}),"radio"==p&&u.Percent==t.type&&(0,c.jsx)("div",{style:{marginLeft:"10px",color:"#000000"},children:"分数"})]})}},99074:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(82242),i=n.n(r),o=n(7557),a=n.n(o),s=n(41498),l=n.n(s),c=n(79800),u=n.n(c),d=n(59301),h={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},f=n(99571),p=n(70557),m=n(49337),v=n(25399),g=n(32985),y=n(99534),x=n(90059),b=n(6816),w=n(78288),C=n(37712),k=function(e){var t,n,r,o,s,c,k=e.editOffice,A=void 0===k?"view":k,S=e.data,E=e.issaver,L=e.onSaver,N=(e.theme,e.type),M=e.filename,P=e.monacoEditor,B=e.className,D=e.style,Z=e.close,T=e.onClose,j=e.hasMask,F=e.disabledDownload,I=e.onImgDimensions,W=e.showNodata,O=e.recordInfo,R=(0,d.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),z=u()(R,2),H=(z[0],z[1],(0,d.useState)("")),V=u()(H,2),K=(V[0],V[1]),Y=(0,d.useState)(),G=u()(Y,2),U=G[0],X=G[1],Q="build"===window.ENV?"/react/build":"",J=location.host.startsWith("localhost")?b.Z.PROXY_SERVER:b.Z.API_SERVER,q=(0,d.useRef)();null!==(t=S)&&void 0!==t&&t.startsWith("/api")&&"txt"!==N&&(S=b.Z.API_SERVER+S);function _(e){return $.apply(this,arguments)}function $(){return($=l()(a()().mark((function e(t){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"pdfdata"===t.data.type&&(L(t.data.data),window.removeEventListener("message",_,!1)),console.log("mess---:",t.data);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}M&&P&&(P.filename=M),(0,d.useEffect)((function(){var e,t=null===(e=document.cookie)||void 0===e||null===(e=e.replace(/\s/g,""))||void 0===e?void 0:e.split(";");null==t||t.map((function(e){var t=e.split("=");"_educoder_session"===t[0]&&K(t[1])}))}),[]),(0,d.useEffect)((function(){var e;"office"===N&&(S.indexOf("bigfilescdn.")>-1||S.indexOf("bigfiles1")>-1?X({url:S,fileType:(e=S,e.substring(e.lastIndexOf("/")+1).split(".").pop()),model:S.indexOf("model=edit")?"edit":"view"}):ee())}),[N,S]);var ee=function(){var e=l()(a()().mark((function e(){var t,n,r;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("data:",S),t=S,S.startsWith("http")||(t=location.origin+t),n=new URL(t).pathname.split("/").pop(),e.next=6,(0,y.gJ)({attachment_id:n});case 6:(r=e.sent).url=J+r.url,X(r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),te=function(){S.startsWith("http")||S.startsWith("blob:")?ne():(0,g.Sv)(M||"educoder",S,M)},ne=function(){O&&(0,w.fc)({id:null==O?void 0:O.id,watch_type:1,course_id:null==O?void 0:O.course_id}),(0,g.Nd)(M||"educoder",decodeURIComponent(S))};return(0,C.jsxs)("div",{style:i()({},D||{}),className:"".concat(j&&h.bgBlack," ").concat(N?h.wrp:"hide"),children:[Z&&(0,C.jsxs)("div",{className:h.close,ref:q,children:[!!I&&(0,C.jsx)(v.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return q.current},children:(0,C.jsx)("span",{onClick:function(){T(),I()},children:(0,C.jsx)("i",{className:"icon-yulanpizhu"})})}),!F&&(0,C.jsx)(v.Z,{title:"点击下载此文件",getPopupContainer:function(){return q.current},children:(0,C.jsx)("span",{onClick:ne,children:(0,C.jsx)("i",{className:"icon-quxiaozhiding"})})}),E&&(0,C.jsx)(v.Z,{title:"保存pdf并退出",getPopupContainer:function(){return q.current},children:(0,C.jsx)("span",{className:"",onClick:function(){var e=document.getElementById("pdfiframe");window.addEventListener("message",_,!1),setTimeout((function(){e.contentWindow.postMessage("getData","*")}),300)},children:(0,C.jsx)("i",{className:"icon-baocun"})})}),(0,C.jsx)(v.Z,{title:"关闭",getPopupContainer:function(){return q.current},children:(0,C.jsx)("span",{className:"",onClick:function(){T()},children:(0,C.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,C.jsx)("div",{className:"".concat(h[B]," ").concat(B," ").concat(h.monaco," ").concat("txt"===N?"show":"hide"),children:"txt"===N&&(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(m.ZP,i()({},P))})}),"audio"===N&&(0,C.jsx)("audio",{src:"".concat((null===(n=S)||void 0===n?void 0:n.indexOf("http://"))>-1||(null===(r=S)||void 0===r?void 0:r.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(S),autoPlay:!0}),"video"===N&&(0,C.jsx)(C.Fragment,{children:(null===(o=S)||void 0===o?void 0:o.indexOf("http"))>-1?(0,C.jsx)("video",{controls:!0,src:"".concat(S),autoPlay:!0}):(0,C.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(S),autoPlay:!0})}),"office"===N&&U&&(0,C.jsx)("iframe",{src:"".concat(Q,"/office.html?key=").concat(U.key,"&url=").concat(btoa(U.url),"&callbackUrl=").concat(J+(U.callbackUrl||""),"&fileType=").concat(U.fileType,"&title=").concat(U.title||"","&model=").concat(A,"&officeServer=").concat(b.Z.ONLYOFFICE,"&disabledDownload=").concat(!!F)}),"html"===N&&(0,C.jsx)("iframe",{src:S+"&disposition=inline"}),"pdf"===N&&(0,C.jsx)("iframe",{id:"pdfiframe",src:"".concat(Q,"/js/pdfview/index.html?filename=").concat(M||"educoder.pdf","&url=").concat(encodeURIComponent(S),"&disabledDownload=").concat(!!F,"&model=").concat(A)}),"image"===N&&(0,C.jsx)("img",{src:"".concat((null===(s=S)||void 0===s?void 0:s.indexOf("http://"))>-1||(null===(c=S)||void 0===c?void 0:c.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(S)}),("other"===N||"download"===N)&&(0,C.jsx)(C.Fragment,{children:W?(0,C.jsx)(x.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,C.jsx)(f.ZP,{icon:(0,C.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:te,disabled:F,children:"下载"})}):(0,C.jsxs)(f.ZP,{type:"primary",size:"middle",onClick:te,disabled:F,children:[(0,C.jsx)(p.Z,{}),"点击下载"]})}),"flowChart"===N&&(0,C.jsx)("div",{className:"embed",children:(0,C.jsx)("iframe",{src:"/drawio/src/main/webapp/viewer.html?id=".concat(S||"","&gapi=0&od=0&db=0&gh=0&gl=0"),width:"100%",height:"100%",frameBorder:"0"})})]})}},76603:function(e,t,n){"use strict";n.d(t,{z:function(){return N},Z:function(){return M}});var r=n(82242),i=n.n(r),o=n(37205),a=n.n(o),s=n(91232),l=n.n(s),c=n(79800),u=n.n(c),d=n(59301),h=(n(73958),n(90969)),f=(n(64018),n(44523)),p=n(6816),m=n(32985),v=n(15342),g=n(77736),y=n(99571),x=n(1012),b=n(99074),w=n(37712),C=function(e){var t=e.html,n=(0,d.useRef)(null),r=(0,d.useRef)(null);return(0,d.useEffect)((function(){var e=n.current.attachShadow({mode:"open"});r.current=document.createElement("div"),r.current.className="markdown-body",r.current.innerHTML=t,e.appendChild(r.current);var i=document.createElement("style");return i.textContent='.markdown-body p {\n margin: 0 0 16px 0 !important;\n line-height: 28px;\n white-space: pre-wrap;\n }\n\n ol,\n ul,\n li {\n list-style-type: none\n }\n\n ol,\n ul,\n dl {\n margin-bottom: 0px;\n }\n\n .markdown-body {\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n color: #333;\n overflow: hidden;\n font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;\n word-break: break-word;\n font-size: 16px;\n line-height: 1.6;\n white-space: normal;\n word-wrap: break-word;\n position: relative;\n }\n\n .markdown-body ul>li {\n list-style-type: disc;\n }\n\n .markdown-body ol>li {\n list-style-type: decimal;\n }\n\n .markdown-body a {\n background: transparent;\n }\n\n .markdown-body a:active,\n .markdown-body a:hover {\n outline: 0;\n }\n\n .markdown-body strong {\n font-weight: bold;\n }\n\n .markdown-body h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n .markdown-body img {\n border: 0;\n }\n\n .markdown-body hr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n }\n\n .markdown-body pre {\n overflow: auto;\n }\n\n .markdown-body code,\n .markdown-body kbd,\n .markdown-body pre {\n font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;\n font-size: 1em;\n }\n\n .markdown-body input {\n color: inherit;\n font: inherit;\n margin: 0;\n }\n\n .markdown-body html input[disabled] {\n cursor: default;\n }\n\n .markdown-body input {\n line-height: normal;\n }\n\n .markdown-body input[type="checkbox"] {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n }\n\n .markdown-body table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n\n .markdown-body td,\n .markdown-body th {\n padding: 0;\n }\n\n .markdown-body * {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .markdown-body input {\n font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";\n }\n\n .markdown-body a {\n color: #4183c4;\n text-decoration: none;\n }\n\n .markdown-body a:hover,\n .markdown-body a:active {\n text-decoration: underline;\n }\n\n .markdown-body hr {\n height: 0;\n margin: 15px 0;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid #ddd;\n }\n\n .markdown-body hr:before {\n display: table;\n content: "";\n }\n\n .markdown-body hr:after {\n display: table;\n clear: both;\n content: "";\n }\n\n .markdown-body h1,\n .markdown-body h2,\n .markdown-body h3,\n .markdown-body h4,\n .markdown-body h5,\n .markdown-body h6 {\n margin-top: 15px;\n margin-bottom: 15px;\n line-height: 1.1;\n }\n\n .markdown-body h1 {\n font-size: 30px;\n }\n\n .markdown-body h2 {\n font-size: 21px;\n }\n\n .markdown-body h3 {\n font-size: 16px;\n }\n\n .markdown-body h4 {\n font-size: 14px;\n }\n\n .markdown-body h5 {\n font-size: 12px;\n }\n\n .markdown-body h6 {\n font-size: 11px;\n }\n\n .markdown-body blockquote {\n margin: 0;\n }\n\n .markdown-body ul,\n .markdown-body ol {\n padding: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n ul.linenums,\n ol.linenums {\n padding: 16px 0 0 56px !important;\n }\n\n .markdown-body ul,\n .markdown-body ol {\n padding-left: 2em;\n }\n\n\n .markdown-body ol ol,\n .markdown-body ul ol {\n list-style-type: lower-roman;\n }\n\n .markdown-body ul ul ol,\n .markdown-body ul ol ol,\n .markdown-body ol ul ol,\n .markdown-body ol ol ol {\n list-style-type: lower-alpha;\n }\n\n .markdown-body dd {\n margin-left: 0;\n }\n\n .markdown-body code {\n font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;\n font-size: 12px;\n }\n\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 0;\n font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n }\n\n .markdown-body .octicon {\n font: normal normal 16px octicons-anchor;\n line-height: 1;\n display: inline-block;\n text-decoration: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .markdown-body .octicon-link:before {\n content: \'\f05c\';\n }\n\n .markdown-body>*:first-child {\n margin-top: 0 !important;\n }\n\n .markdown-body>*:last-child {\n margin-bottom: 0 !important;\n }\n\n .markdown-body .anchor {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n padding-right: 6px;\n padding-left: 30px;\n margin-left: -30px;\n }\n\n .markdown-body .anchor:focus {\n outline: none;\n }\n\n .markdown-body h1,\n .markdown-body h2,\n .markdown-body h3,\n .markdown-body h4,\n .markdown-body h5,\n .markdown-body h6 {\n position: relative;\n margin-top: 1em;\n margin-bottom: 16px;\n font-weight: bold;\n line-height: 1.4;\n }\n\n .markdown-body h1 .octicon-link,\n .markdown-body h2 .octicon-link,\n .markdown-body h3 .octicon-link,\n .markdown-body h4 .octicon-link,\n .markdown-body h5 .octicon-link,\n .markdown-body h6 .octicon-link {\n display: none;\n color: #000;\n vertical-align: middle;\n }\n\n .markdown-body h1:hover .anchor,\n .markdown-body h2:hover .anchor,\n .markdown-body h3:hover .anchor,\n .markdown-body h4:hover .anchor,\n .markdown-body h5:hover .anchor,\n .markdown-body h6:hover .anchor {\n padding-left: 8px;\n margin-left: -30px;\n text-decoration: none;\n }\n\n .markdown-body h1:hover .anchor .octicon-link,\n .markdown-body h2:hover .anchor .octicon-link,\n .markdown-body h3:hover .anchor .octicon-link,\n .markdown-body h4:hover .anchor .octicon-link,\n .markdown-body h5:hover .anchor .octicon-link,\n .markdown-body h6:hover .anchor .octicon-link {\n display: inline-block;\n }\n\n .markdown-body h1 {\n padding-bottom: 0.3em;\n font-size: 2.25em;\n line-height: 1.2;\n border-bottom: 1px solid #eee;\n }\n\n .markdown-body h1 .anchor {\n line-height: 1;\n }\n\n .markdown-body h2 {\n padding-bottom: 0.3em;\n font-size: 1.75em;\n line-height: 1.225;\n border-bottom: 1px solid #eee;\n }\n\n .markdown-body h2 .anchor {\n line-height: 1;\n }\n\n .markdown-body h3 {\n font-size: 1.5em;\n line-height: 1.43;\n }\n\n .markdown-body h3 .anchor {\n line-height: 1.2;\n }\n\n .markdown-body h4 {\n font-size: 1.25em;\n }\n\n .markdown-body h4 .anchor {\n line-height: 1.2;\n }\n\n .markdown-body h5 {\n font-size: 1em;\n }\n\n .markdown-body h5 .anchor {\n line-height: 1.1;\n }\n\n .markdown-body h6 {\n font-size: 1em;\n color: #777;\n }\n\n .markdown-body h6 .anchor {\n line-height: 1.1;\n }\n\n .markdown-body p,\n .markdown-body blockquote,\n .markdown-body ul,\n .markdown-body ol,\n .markdown-body dl,\n .markdown-body table,\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 16px;\n }\n\n .markdown-body ul ul,\n .markdown-body ul ol,\n .markdown-body ol ol,\n .markdown-body ol ul {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .markdown-body li>p {\n margin-top: 16px;\n }\n\n .markdown-body dl {\n padding: 0;\n }\n\n .markdown-body dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: bold;\n }\n\n .markdown-body dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n }\n\n .markdown-body blockquote {\n padding: 0 15px;\n color: #777;\n border-left: 4px solid #ddd;\n }\n\n .markdown-body blockquote> :first-child {\n margin-top: 0;\n }\n\n .markdown-body blockquote> :last-child {\n margin-bottom: 0;\n }\n\n .markdown-body table {\n display: block;\n width: 100%;\n overflow: auto;\n word-break: normal;\n word-break: keep-all;\n }\n\n .markdown-body table th {\n font-weight: bold;\n text-align: revert;\n }\n\n .markdown-body table th,\n .markdown-body table td {\n padding: 6px 13px;\n border: 1px solid #ddd;\n }\n\n .markdown-body table tr {\n background-color: #fff;\n border-top: 1px solid #ccc;\n }\n\n .markdown-body table tr:nth-child(2n) {\n background-color: #f8f8f8;\n }\n\n .markdown-body img {\n max-width: 100%;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n\n .markdown-body code {\n padding: 0;\n padding-top: 0.2em;\n padding-bottom: 0.2em;\n margin: 0;\n font-size: 85%;\n background-color: rgba(0, 0, 0, 0.04);\n border-radius: 3px;\n }\n\n .markdown-body code:has(.katex) {\n background-color: transparent;\n }\n\n .markdown-body code:before,\n .markdown-body code:after {\n letter-spacing: -0.2em;\n content: "\\00a0";\n }\n\n .markdown-body pre>code {\n padding: 0;\n margin: 0;\n font-size: 100%;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n }\n\n .markdown-body .highlight {\n margin-bottom: 16px;\n }\n\n .markdown-body .highlight pre,\n .markdown-body pre {\n padding: 16px;\n overflow: auto;\n font-size: 85%;\n line-height: 1.45;\n background-color: #f7f7f7;\n border-radius: 3px;\n }\n\n .markdown-body .highlight pre {\n margin-bottom: 0;\n word-break: normal;\n }\n\n .markdown-body pre {\n word-wrap: normal;\n }\n\n .markdown-body pre code {\n display: inline;\n max-width: initial;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n }\n\n .markdown-body pre code:before,\n .markdown-body pre code:after {\n content: normal;\n }\n\n .markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font-size: 11px;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: solid 1px #ccc;\n border-bottom-color: #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb;\n }\n\n .markdown-body .pl-c {\n color: #969896;\n }\n\n .markdown-body .pl-c1,\n .markdown-body .pl-mdh,\n .markdown-body .pl-mm,\n .markdown-body .pl-mp,\n .markdown-body .pl-mr,\n .markdown-body .pl-s1 .pl-v,\n .markdown-body .pl-s3,\n .markdown-body .pl-sc,\n .markdown-body .pl-sv {\n color: #0086b3;\n }\n\n .markdown-body .pl-e,\n .markdown-body .pl-en {\n color: #795da3;\n }\n\n .markdown-body .pl-s1 .pl-s2,\n .markdown-body .pl-smi,\n .markdown-body .pl-smp,\n .markdown-body .pl-stj,\n .markdown-body .pl-vo,\n .markdown-body .pl-vpf {\n color: #333;\n }\n\n .markdown-body .pl-ent {\n color: #63a35c;\n }\n\n .markdown-body .pl-k,\n .markdown-body .pl-s,\n .markdown-body .pl-st {\n color: #a71d5d;\n }\n\n .markdown-body .pl-pds,\n .markdown-body .pl-s1,\n .markdown-body .pl-s1 .pl-pse .pl-s2,\n .markdown-body .pl-sr,\n .markdown-body .pl-sr .pl-cce,\n .markdown-body .pl-sr .pl-sra,\n .markdown-body .pl-sr .pl-sre,\n .markdown-body .pl-src {\n color: #df5000;\n }\n\n .markdown-body .pl-mo,\n .markdown-body .pl-v {\n color: #1d3e81;\n }\n\n .markdown-body .pl-id {\n color: #b52a1d;\n }\n\n .markdown-body .pl-ii {\n background-color: #b52a1d;\n color: #f8f8f8;\n }\n\n .markdown-body .pl-sr .pl-cce {\n color: #63a35c;\n font-weight: bold;\n }\n\n .markdown-body .pl-ml {\n color: #693a17;\n }\n\n .markdown-body .pl-mh,\n .markdown-body .pl-mh .pl-en,\n .markdown-body .pl-ms {\n color: #1d3e81;\n font-weight: bold;\n }\n\n .markdown-body .pl-mq {\n color: #008080;\n }\n\n .markdown-body .pl-mi {\n color: #333;\n font-style: italic;\n }\n\n .markdown-body .pl-mb {\n color: #333;\n font-weight: bold;\n }\n\n .markdown-body .pl-md,\n .markdown-body .pl-mdhf {\n background-color: #ffecec;\n color: #bd2c00;\n }\n\n .markdown-body .pl-mdht,\n .markdown-body .pl-mi1 {\n background-color: #eaffea;\n color: #55a532;\n }\n\n .markdown-body .pl-mdr {\n color: #795da3;\n font-weight: bold;\n }\n\n .markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: solid 1px #ccc;\n border-bottom-color: #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb;\n }\n\n .markdown-body .task-list-item {\n list-style-type: none;\n }\n\n .markdown-body .task-list-item+.task-list-item {\n margin-top: 3px;\n }\n\n .markdown-body .task-list-item input {\n float: left;\n margin: 0.3em 0 0.25em -1.6em;\n vertical-align: middle;\n }\n\n .markdown-body :checked+.radio-label {\n z-index: 1;\n position: relative;\n border-color: #4183c4;\n }\n\n\n /*! Pretty printing styles. Used with prettify.js. */\n /* SPAN elements with the classes below are added by prettyprint. */\n .pln {\n color: #000\n }\n\n /* plain text */\n\n @media screen {\n .str {\n color: #080\n }\n\n /* string content */\n .kwd {\n color: #008\n }\n\n /* a keyword */\n .com {\n color: #800\n }\n\n /* a comment */\n .typ {\n color: #606\n }\n\n /* a type name */\n .lit {\n color: #066\n }\n\n /* a literal value */\n /* punctuation, lisp open bracket, lisp close bracket */\n .pun,\n .opn,\n .clo {\n color: #660\n }\n\n .tag {\n color: #008\n }\n\n /* a markup tag name */\n .atn {\n color: #606\n }\n\n /* a markup attribute name */\n .atv {\n color: #080\n }\n\n /* a markup attribute value */\n .dec,\n .var {\n color: #606\n }\n\n /* a declaration; a variable name */\n .fun {\n color: red\n }\n\n /* a function name */\n }\n\n /* Use higher contrast and text-weight for printable form. */\n @media print,\n projection {\n .str {\n color: #060\n }\n\n .kwd {\n color: #006;\n font-weight: bold\n }\n\n .com {\n color: #600;\n font-style: italic\n }\n\n .typ {\n color: #404;\n font-weight: bold\n }\n\n .lit {\n color: #044\n }\n\n .pun,\n .opn,\n .clo {\n color: #440\n }\n\n .tag {\n color: #006;\n font-weight: bold\n }\n\n .atn {\n color: #404\n }\n\n .atv {\n color: #060\n }\n }\n\n /* Put a border around prettyprinted code snippets. */\n pre.prettyprint {\n padding: 2px;\n /* border: 1px solid #888 */\n }\n\n /* Specify class=linenums on a pre to get line numbering */\n ol.linenums {\n margin-top: 0;\n margin-bottom: 0\n }\n\n /* IE indents via margin-left */\n li.L0,\n li.L1,\n li.L2,\n li.L3,\n li.L5,\n li.L6,\n li.L7,\n li.L8 {\n list-style-type: none\n }\n\n /* Alternate shading for lines */\n li.L1,\n li.L3,\n li.L5,\n li.L7,\n li.L9 {\n background: #eee\n }\n\n .markdown-body p,\n .markdown-body blockquote,\n .markdown-body ul,\n .markdown-body ol,\n .markdown-body dl,\n .markdown-body table,\n .markdown-body pre {\n margin-top: 0;\n margin-bottom: 16px;\n }',e.appendChild(i),function(){e.innerHTML=""}}),[]),(0,d.useEffect)((function(){r.current&&(r.current.innerHTML=t)}),[t]),(0,w.jsx)("div",{ref:n})};var k="mdBody___raKXb",A="button___Ch5Pc",S="previewFlowChart___vY1dq",E="@▁@",L=/<pre[^>]*>/g;var N=function(e,t){e=e||"";var n=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return t?e.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(n,(function(e,t,n,r,i,o,a){var s=t||r||o,l=n||i||a||"?";return p.Z.API_SERVER+"/api/attachments/"+s+l+"&t="+(0,m.Jn)(s,Date.now())+(e.indexOf(")")>-1?")":"&")})).replaceAll('src="(','src="').replaceAll("src='(",'src="'):e=e.replace(/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i,o,a){var s=t||r||o,l=n||i||a||"?";return p.Z.API_SERVER+"/attachments/download/"+s+l+"&t="+(0,m.Jn)(s,Date.now())+(e.indexOf(")")>-1?")":"&")})).replace(n,(function(e,t,n,r,i,o,a){var s=t||r||o,l=n||i||a||"?";return p.Z.API_SERVER+"/api/attachments/"+s+l+"&t="+(0,m.Jn)(s,Date.now())+(e.indexOf(")")>-1?")":"&")})).replace(/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i){var o=t||r,a=n||i||"";return'"'+p.Z.API_SERVER+"/api/attachments/"+o+a+o+a+"&t="+(0,m.Jn)(o,Date.now())})).replace(/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,(function(e,t,n,r,i){var o=t||r,a=n||i||"";return"("+p.Z.API_SERVER+"/files/uploads/"+o+a+o+a+"&t="+(0,m.Jn)(o,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,"\n")},M=function(e){var t=e.value,n=void 0===t?"":t,r=e.edit,o=void 0!==r&&r,s=e.className,c=e.showTextOnly,m=e.showLines,N=e.style,M=void 0===N?{}:N,P=e.stylesPrev,B=void 0===P?{}:P,D=e.highlightKeywords,Z=e.showProgramFill,T=(e.isProgramFill,e.disabledFill),j=void 0!==T&&T,F=e.programFillValue,I=e.openEditor,W=void 0===I?function(){}:I,O=e.onFillChange,R=void 0===O?function(e){}:O,z=e.onFillBlur,H=void 0===z?function(){}:z,V=e.onFillFocus,K=void 0===V?function(){}:V,Y=function(e){var t=new RegExp("\\b(".concat(["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"].join("|"),")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s>]*)"),"gi");return e.replace(t,"").trim()}(String(n||"")),G=(0,d.useRef)(),U=(0,d.useRef)(),X=(0,d.useState)(""),Q=u()(X,2),J=Q[0],q=Q[1],_=(0,d.useState)("office"),$=u()(_,2),ee=$[0],te=$[1],ne=(0,d.useState)([]),re=u()(ne,2),ie=re[0],oe=re[1],ae=(0,d.useRef)("a"+(0,x.Z)()),se={},le=function(e){return/<style[\s\S]*?>/i.test(e||"")};var ce=function(e){return!c&&le(Y)?e:e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,(function(e,t){var n=t.replace(/(\n|\r)/g,"").split("}"),r=[];return n.map((function(e){""!=e&&r.push(".".concat(ae.current," ").concat(e))})),"<style>".concat(r.join("}"),"</style>")}))},ue=(0,d.useMemo)((function(){try{Y=Y.replace(/\(\/attachments\/download\//g,"("+p.Z.API_SERVER+"/attachments/download/").replace(/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,"("+p.Z.API_SERVER+"/api/attachments/").replace(/\"\/api\/attachments\/|\"\/attachments\/download\//g,'"'+p.Z.API_SERVER+"/api/attachments/").replace(/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,'"'+p.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,"\n"),G.current.style.display="none"}catch(e){}if(Z){var e=-1;return Y=Y.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,(function(t,n,r){var i;return function(e,t,n){var r=document.createElement(e===E?"input":"textarea");r.style.width="100%",r.style.height=e===E?"40px":"151px",r.rows=5,r.spellcheck=!1,r.name="edu-program-fill",r.placeholder="请输入",r.dataset.id=t;var i=Object.keys(se).length;return se[i]=r,'<span class="edu-program-fill-wrap '.concat(e===E?"":"show",'" style="width:').concat(e===E?"600px":"100%",'" title=').concat(n||"","><span>").concat(r.outerHTML,'<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>')}(t,++e,null==F||null===(i=F[e])||void 0===i?void 0:i.value.replaceAll("<","<").replaceAll(">",">"))})),'<pre style="background:#fff;padding:4px">'.concat(ce(Y||""),"</pre>")}var t=ce(Y);t=(0,h.ZP)(t);var n=(0,h.ez)();Y.match(/\[TOC\]/)&&(t=t.replace("<p>[TOC]</p>",(0,h.Qv)()),(0,h.Iy)()),t=t.replace(/(__special_katext_id_\d+__)/g,(function(e,t){var r=n[t],i=r.type,o=r.expression;return(0,v.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===i,throwOnError:!1,output:"html"})})),t=t.replace(/▁/g,"▁▁▁▁▁"),(0,h.AL)();var r=document.createElement("div");return r.innerHTML=t,c?r.innerText:D?(pe(r,D.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),r.innerHTML):(setTimeout((function(){return ge()}),500),r.innerHTML)}),[Y,D]);(0,d.useEffect)((function(){me.current&&me.current.querySelectorAll(["input","textarea"]).forEach((function(e){e.oninput=de,e.onblur=he,e.onfocus=fe}))}),[ie]),(0,d.useEffect)((function(){if(null!=F&&F.length)try{var e,t=me.current.querySelectorAll(".edu-program-fill-score"),n=me.current.querySelectorAll('[name="edu-program-fill"]'),r=l()(n.entries());try{for(r.s();!(e=r.n()).done;){var i,o,a,s=u()(e.value,2),c=s[0],d=s[1];d.value=(null==F||null===(i=F[c])||void 0===i?void 0:i.value)||"","warning"===(null==F||null===(o=F[c])||void 0===o?void 0:o.type)?d.className="program-fill-warning":"success"===(null==F||null===(a=F[c])||void 0===a?void 0:a.type)?d.className="program-fill-success":d.className=""}}catch(e){r.e(e)}finally{r.f()}var h,f=l()(t.entries());try{for(f.s();!(h=f.n()).done;){var p,m,v=u()(h.value,2),g=v[0];v[1].innerHTML=null!=F&&null!==(p=F[g])&&void 0!==p&&p.score?"".concat(null==F||null===(m=F[g])||void 0===m?void 0:m.score,"分"):""}}catch(e){f.e(e)}finally{f.f()}oe(F)}catch(e){console.log(e,"error")}}),[F]);var de=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(a()(ie)),R(ie,e.target.dataset.id)},he=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(a()(ie)),H(ie,e.target.dataset.id)},fe=function(e){ie[e.target.dataset.id]=ie[e.target.dataset.id]||{},ie[e.target.dataset.id].value=e.target.value,oe(a()(ie)),K(ie,e.target.dataset.id)};function pe(e,t){return e.childNodes.forEach((function(e){if(e.childNodes.length>0)pe(e,t);else if("IMG"!==e.nodeName)if(e.innerHTML){var n;e.innerHTML=null===(n=e.innerHTML)||void 0===n?void 0:n.replace(new RegExp(t,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}else{var r=document.createElement("span");r.innerHTML=e.textContent.replace(new RegExp(t,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),e.replaceWith(r)}}))}var me=(0,d.useRef)();function ve(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.indexOf("office")>-1)e.preventDefault(),q(n),te("office");else if(n.indexOf("application/pdf")>-1)e.preventDefault(),q(n),te("pdf");else if(n.indexOf("text/html")>-1)e.preventDefault(),q(n),te("html");else if(n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}h.jb.WebkitLineClamp=m,m&&(M=i()(i()({},M),h.jb));var ge=function(){var e,t=null===(e=me.current)||void 0===e?void 0:e.querySelectorAll("video");null==t||t.forEach((function(e){if(e.oncontextmenu=function(){return!1},e.src.indexOf(".m3u8")>-1)if(e.canPlayType("application/vnd.apple.mpegurl"));else if(f.ZP.isSupported()){var t=new f.ZP;t.loadSource(e.src),t.attachMedia(e)}}))};(0,d.useEffect)((function(){if(me.current&&ue&&ue.match(L)&&window.PR.prettyPrint(),me.current)return me.current.addEventListener("click",ve),function(){var e;null===(e=me.current)||void 0===e||e.removeEventListener("click",ve),(0,h.AL)(),(0,h.Iy)()}}),[ue,me.current,ve]);return(0,d.useEffect)((function(){var e,t=function(e){e.preventDefault(),e.clipboardData.setData("text",window.getSelection().toString())};return null===(e=me.current)||void 0===e||e.addEventListener("copy",t),function(){var e;null===(e=me.current)||void 0===e||e.removeEventListener("copy",t)}}),[me.current]),(0,w.jsxs)("div",{style:{position:"relative"},onMouseLeave:function(){G.current.style.display="none"},children:[c&&(0,w.jsx)("div",{ref:me,className:"".concat(k," "),children:ue}),!c&&!le(ue)&&(0,w.jsx)("div",{ref:me,style:i()({},M),onMouseOver:function(e){"IMG"===e.target.nodeName&&e.target.className.indexOf("draw-flowchart")>-1?(G.current.style.zIndex=1,G.current.style.display="flex",G.current.style.width=e.target.clientWidth+"px",G.current.style.height=e.target.clientHeight+"px",G.current.style.top=e.target.offsetTop+"px",G.current.style.left=e.target.offsetLeft+"px",e.target.id&&(U.current=e.target.id)):G.current.style.display="none"},className:"".concat(s||""," ").concat(j?"disabled-fill":""," markdown-body ").concat(k," ").concat(ae.current),dangerouslySetInnerHTML:{__html:ue}}),!c&&le(ue)&&(0,w.jsx)(C,{html:ue}),(0,w.jsx)("div",{ref:G,className:"".concat(A," ").concat(o?"":S),children:(0,w.jsx)(g.Z,{children:(0,w.jsx)(y.ZP,{onClick:function(){o?W(U.current):(q(U.current),te("flowChart"))},children:o?"编辑":"预览"})})}),(0,w.jsx)(b.Z,{close:!0,data:J,type:null!=J&&J.length?ee:"",style:i()({},B),onClose:function(){return q("")}})]})}},22449:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(7557),i=n.n(r),o=n(37205),a=n.n(o),s=n(41498),l=n.n(s),c=n(79800),u=n.n(c),d=n(59301),h="orangeColor___U5vU6",f="redColor___qYa6X",p="statustitle___pTBLm",m="statusbody___qUPQx",v="flex___VtL45",g=n(62957),y=n(37712),x=function(e){var t=e.type,n=e.resdata,r=e.onok,o=e.oktext,s=e.okloading,c=(0,d.useState)(!1),x=u()(c,2),b=x[0],w=x[1],C=n.can_copy_list,k=n.can_copy_num,A=n.challenge_type,S=(n.course_data_list,n.no_copy_list),E=n.no_copy_num,L=n.no_use_list,N=(n.no_use_num,n.repeat_shixun_num,n.student_count),M=(n.total_num,n.use_num),P=k>0||"exercise"===t;(0,d.useEffect)((function(){(null==n?void 0:n.student_count)>0&&w(!0)}),[n]),console.log("---11",s),(0,d.useEffect)((function(){s||w(!1)}),[s]);return(0,y.jsx)(g.Z,{open:b,onCancel:function(){w(!1)},cancelText:"取消",title:"提示",width:700,centered:!0,cancelButtonProps:{style:{display:!P&&"none"}},zIndex:1003,confirmLoading:s,okText:P?o:"我知道了",onOk:l()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!P){e.next=5;break}return e.next=3,r([].concat(a()(C),a()(L)));case 3:e.next=6;break;case 5:w(!1);case 6:case"end":return e.stop()}}),e)}))),children:(0,y.jsxs)("div",{style:{maxHeight:600,overflow:"auto"},children:["exercise"===t&&1===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在其他考试中挑战过其中的",(0,y.jsx)("span",{className:h,children:M}),"个实践项目,",(0,y.jsx)("span",{className:f,children:"重复发送会导致这部分学生无法作答已挑战过的实训题。"})]}):"exercise"===t&&2===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在课堂实验中挑战过其中的",(0,y.jsx)("span",{className:h,children:M}),"个实践项目,且作业已开启“作业截止后不允许学生编辑代码”设置项,",(0,y.jsx)("span",{className:f,children:"重复发布会导致这部分学生无法再提交作业。"})]}):"shixun"===t&&1===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在考试中挑战过该实践项目,",(0,y.jsx)("span",{className:f,children:"重复发送会导致这部分学生无法再提交作业。"})]}):"shixun"===t&&2===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在课堂实验中挑战过该实践项目,且作业已开启“作业截止后不允许学生编辑代码”设置项,",(0,y.jsx)("span",{className:f,children:"重复发送会导致这部分学生无法再提交作业。"})]}):"subject"===t&&1===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在考试中挑战过其中的",(0,y.jsx)("span",{className:h,children:M}),"个实践项目,",(0,y.jsx)("span",{className:f,children:"重复发送会导致这部分学生无法再提交作业。"})]}):"subject"===t&&2===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有 ",(0,y.jsx)("span",{className:h,children:N})," 名学生已在课堂实验挑战过其中的 ",(0,y.jsx)("span",{className:h,children:M})," 个实践项目,且作业已开启“作业截止后不允许学生编辑代码”设置项,",(0,y.jsx)("span",{className:f,children:"重复发送会导致这部分学生无法再提交作业。"})]}):"exercisepush"===t?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在其他考试中挑战过试卷中的",(0,y.jsx)("span",{className:h,children:M}),"个实践项目 ,",(0,y.jsx)("span",{className:f,children:"重复发布会导致这部分学生无法在当前考试中进行作答。"})]}):"shixunpush"===t&&1===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在考试中挑战过其中的",(0,y.jsx)("span",{className:h,children:M}),"个实践项目,",(0,y.jsx)("span",{className:f,children:"重复发布会导致这部分学生无法再提交作业。"})]}):"shixunpush"===t&&2===A?(0,y.jsxs)(y.Fragment,{children:["课堂内有",(0,y.jsx)("span",{className:h,children:N}),"名学生已在课堂实验中挑战过",(0,y.jsx)("span",{className:h,children:M}),"个实践项目,且作业已开启“作业截止后不允许学生编辑代码”设置项,",(0,y.jsx)("span",{className:f,children:"重复发布会导致这部分学生无法再提交作业。"})]}):void 0,"exercise"===t||"subject"===t||"exercisepush"===t||"shixunpush"===t?(0,y.jsxs)("div",{style:{marginTop:20},children:[E>0&&(0,y.jsxs)("div",{children:[(0,y.jsxs)("span",{className:v,children:[(0,y.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",style:{width:14}}),(0,y.jsx)("span",{className:p,children:"不支持复制的实践项目"})]}),(0,y.jsxs)("div",{className:m,children:["exercise"===t&&(0,y.jsxs)("div",{style:{marginBottom:15},children:["没有复制权限的实践项目,",(0,y.jsx)("span",{className:f,children:"以下试题将不会被发送至课堂中。"}),"您也可以联系项目创建者开启复制权限或者联系平台教研助理进行协助。"]}),("subject"===t||"exercisepush"===t)&&(0,y.jsxs)("div",{style:{marginBottom:15},children:["没有复制权限的实践项目,",P&&(0,y.jsx)("span",{className:f,children:"一键复制不会复制此部分项目。"}),"您可以联系项目创建者开启复制权限或者联系平台教研助理进行协助。"]}),"shixunpush"===t&&(0,y.jsxs)("div",{style:{marginBottom:15},children:["没有复制权限的实践项目,",P&&(0,y.jsx)("span",{className:f,children:"一键复制不会复制此部分项目。"}),"建议您重新选择实践项目再发布作业,也可联系项目创建者开启复制权限或联系平台教研助理进行协助。"]}),(0,y.jsx)("div",{children:null==S?void 0:S.map((function(e,t){return(0,y.jsxs)("a",{href:"/shixuns/".concat(e.identifier,"/challenges"),target:"_blank",children:["《",null==e?void 0:e.name,"》",t+1!==E&&"、"]})}))})]})]}),k>0&&(0,y.jsxs)("div",{style:{marginTop:20},children:[(0,y.jsxs)("span",{className:v,children:[(0,y.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",style:{width:14}}),(0,y.jsx)("span",{className:p,children:"支持复制的实践项目"})]}),(0,y.jsxs)("div",{className:m,children:["exercise"===t&&(0,y.jsx)("div",{style:{marginBottom:15},children:"建议您一键复制并替换试题(将复制并创建一个新的项目替换试卷中的原试题,不会复制学生的挑战记录,新的项目支持进行编辑并与原项目信息互不影响)。"}),("subject"===t||"exercisepush"===t)&&(0,y.jsx)("div",{style:{marginBottom:15},children:"建议您一键复制并发送(将复制并创建一个新的项目,不会复制学生的挑战记录,新的项目支持进行编辑并与原项目信息互不影响)。"}),"shixunpush"===t&&(0,y.jsx)("div",{style:{marginBottom:15},children:"建议您一键复制并替换试题(将复制并创建一个新的项目替换当前作业中的实践项目,不会复制学生的挑战记录,新的项目支持进行编辑并与原项目信息互不影响)。"}),(0,y.jsx)("div",{children:null==C?void 0:C.map((function(e,t){return(0,y.jsxs)("a",{href:"/shixuns/".concat(e.identifier,"/challenges"),target:"_blank",children:["《",null==e?void 0:e.name,"》",t+1!==k&&"、"]})}))})]})]})]}):"shixun"===t?(0,y.jsx)("div",{style:{marginTop:20},children:k>0?"该项目支持复制,建议您一键复制并发送(将复制并创建一个新的项目,不会复制学生的挑战记录,新的项目支持进行编辑并与原项目信息互不影响)。":"该项目不支持复制,您可以联系项目创建者开启复制权限或者联系平台教研助理进行协助。"}):void 0]})})}},2747:function(e,t,n){"use strict";n.d(t,{h:function(){return g}});var r=n(82242),i=n.n(r),o=n(79800),a=n.n(o),s=n(59301),l=n(82326),c=n(28284),u=n(99571),d=n(89780),h=n.n(d),f=(n(78318),n(44084),n(37712)),p=l.default.Option,m={labelCol:{span:4},wrapperCol:{span:20}},v={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"]};function g(e){var t=e.value,n=e.onChange,r=e.mode,o=e.options,l=void 0===o?{}:o,c=(0,s.useRef)(),u=(0,s.useState)(),d=a()(u,2),p=d[0],m=d[1];return(0,s.useEffect)((function(){if(p){var e=function(e){var t=e.getValue();n&&n(t)};return p.on("change",e),function(){p.off("change",e)}}}),[p,n]),(0,s.useEffect)((function(){p&&p.setOption("mode",r)}),[p,r]),(0,s.useEffect)((function(){p&&(t===p.getValue()&&""!==t||setTimeout((function(){p.setValue(t||"")}),300))}),[p,t]),(0,s.useEffect)((function(){if(c.current&&!p){var e=h().fromTextArea(c.current,i()({mode:r,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},l));m(e)}}),[c.current,p]),(0,f.jsx)("div",{className:"my-codemirror-container",children:(0,f.jsx)("textarea",{ref:c})})}t.Z=function(e){var t=e.callback,n=e.onCancel,r=(0,s.useState)("python"),o=a()(r,2),d=o[0],h=o[1];return(0,f.jsxs)(c.Z,i()(i()({},m),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){t(e)},style:{width:500},children:[(0,f.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,f.jsx)(l.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){h(v[e][1])},children:Object.keys(v).map((function(e){return(0,f.jsx)(p,{value:e,children:v[e][0]},e)}))})}),(0,f.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,f.jsx)(g,{mode:d})}),(0,f.jsxs)("div",{className:"flex-container flex-end",children:[(0,f.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,f.jsx)(u.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))}},15409:function(e,t,n){"use strict";n.d(t,{Z:function(){return he}});var r=n(91232),i=n.n(r),o=n(79800),a=n.n(o),s=n(85573),l=n.n(s),c=n(59301),u=n(5030),d=n(89780),h=n.n(d),f=n(76374),p=(n(78318),n(6313),n(25717),n(99498),n(25419),n(67549),n(76603)),m=n(37712),v=function(e){var t=e.value,n=void 0===t?"":t,r=(e.className,e.showTextOnly,e.showLines,e.style,(0,c.useMemo)((function(){return""}),[n]));return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})})},g=n(82242),y=n.n(g),x=[{title:"粗体",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"斜体",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"无序列表",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"有序列表",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"行内代码",icon:"md-iconfont icon-code",actionName:"code"},{title:"代码块(多语言风格)",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"链接",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"行内公式",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"数学公式",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"多行公式",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"添加图片",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"插入画图",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"插入流程图",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"表格",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"换行",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"清空",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function b(e){var t=e.onActionCallback,n=e.title,r=e.icon,i=e.actionName,o=e.className,a=void 0===o?"":o,s=e.children;return(0,m.jsxs)("a",{title:n,className:a,onClick:function(){t(i)},children:[(0,m.jsx)("i",{className:"".concat(r)}),s]})}var w=function(e){var t=e.watch,n=e.showNullButton,r=e.showNullProgramButton,i=e.onActionCallback,o=e.fullScreen,a=e.insertTemp,s=e.hidetoolBar,l=e.extraUse,c=[].concat(x,[{title:"".concat(t?"关闭实时预览":"开启实时预览"),icon:"".concat(t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,m.jsxs)("ul",{className:"markdown-toolbar-container",children:[!s&&c.map((function(e,t){return(0,m.jsx)("li",{children:e.actionName?(0,m.jsx)(b,y()(y()({},e),{},{onActionCallback:i})):(0,m.jsx)("span",{className:"v-line"})},t)})),n?(0,m.jsx)("li",{children:(0,m.jsx)(b,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"增加填空",actionName:"add-null-ch",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"点击新增填空项"})})}):null,r?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("li",{children:(0,m.jsx)(b,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"添加单行填空项"})})}),(0,m.jsx)("li",{children:(0,m.jsx)(b,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"添加多行填空项"})})})]}):null,a&&(0,m.jsx)("li",{children:(0,m.jsx)(b,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(a),onActionCallback:i,children:(0,m.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),l&&(0,m.jsx)("li",{children:l}),(0,m.jsx)("li",{className:"btn-full-screen",children:(0,m.jsx)(b,{icon:"".concat(o?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:o?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:i})})]})},C=n(56946),k=n(28284),A=n(37568),S=n(99571),E={labelCol:{span:4},wrapperCol:{span:20}},L=function(e){var t=e.callback,n=e.onCancel;return(0,m.jsxs)(k.Z,y()(y()({},E),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,m.jsx)(k.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,m.jsx)(A.Z,{})}),(0,m.jsx)(k.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,m.jsx)(A.Z,{})}),(0,m.jsxs)("div",{className:"flex-container flex-end",children:[(0,m.jsx)(S.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,m.jsx)(S.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},N=n(2747),M=n(26805),P=n(62957),B=n(77019),D=n(17086),Z=function(e){var t=e.callback,n=e.onCancel,r=document.createElement("canvas"),i=r.getContext("2d");r.width=1e3,r.height=800,i.fillStyle="#ffffff",i.fillRect(0,0,r.width,r.height);var o=r.toDataURL("image/png");return(0,m.jsx)(P.Z,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1,children:(0,m.jsx)(B.Z,{style:{height:"100vh"},children:(0,m.jsx)(D.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:o,visible:!0,title:String(Date.now())},onOk:function(e){t({src:e.url})},onClose:n})})})},T=n(30641),j=n(5269),F=n(6767),I="drawerWrap___MfDw8",W=(0,c.forwardRef)((function(e,t){e.onCancel;var n=e.editImgId,r=e.callback,i=((0,c.useRef)(),(0,c.useRef)()),o=((0,c.useRef)(),(0,c.useRef)(!1),(0,c.useRef)(!1));console.log("ref:",t);var s=(0,c.useState)(0),l=a()(s,2),u=l[0],d=l[1],h=(0,c.useState)("100vh"),f=a()(h,2),p=f[0],v=f[1];return(0,c.useEffect)((function(){d(1)}),[]),(0,c.useImperativeHandle)(t,(function(){return{setHeight:v}})),(0,m.jsx)("div",{ref:o,className:"body-overflow-initial",children:(0,m.jsx)(T.Z,{width:"100vw",height:p,footer:null,closable:!0,placement:"bottom",open:!!u,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:"zIndex-9999 ".concat(I),onClose:function(){window.saveDrawData((function(e){r({src:"/api/attachments/".concat(e),id:e})}))},title:(0,m.jsxs)(B.Z,{align:"middle",children:[(0,m.jsx)(j.Z,{flex:1,children:"插入流程图"}),(0,m.jsx)(j.Z,{onClick:function(){v("60px"===p?"100vh":"60px")},children:(0,m.jsx)("span",{className:"current c-blue",style:{fontWeight:400},children:"展开/收起"})}),(0,m.jsx)(j.Z,{onClick:function(){window.saveDrawData((function(e){null!==e?(F.ZP.success({content:"保存成功",key:"saveFlowChart",style:{zIndex:999999999}}),r({src:"/api/attachments/".concat(e),id:e,disabledClose:!0})):F.ZP.warning({content:"内容为空,请先绘制流程图",key:"saveFlowChart"})}))},children:(0,m.jsx)(S.ZP,{type:"primary",className:"ml20",children:"保存"})})]}),children:(0,m.jsx)("iframe",{src:"/drawio/src/main/webapp/?id=".concat(n||"","&gapi=0&od=0&db=0&gh=0&gl=0&local=0"),width:"100%",height:"100%",frameBorder:"0",ref:i})})})})),O=n(6816),R=n(47889),z=n(71051),H=R.ZP.Group,V={margin:"0 8px"},K=function(e){var t=e.callback,n=e.onCancel;return(0,m.jsxs)(k.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){t(e)},children:[(0,m.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,m.jsx)("span",{style:V,children:"单元格数:"}),(0,m.jsx)("span",{style:V,children:"行数"}),(0,m.jsx)(k.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,m.jsx)(z.Z,{})}),(0,m.jsx)("span",{style:V,children:"列数"}),(0,m.jsx)(k.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,m.jsx)(z.Z,{})})]}),(0,m.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,m.jsx)("span",{style:V,children:"对齐方式:"}),(0,m.jsx)(k.Z.Item,{name:"align",children:(0,m.jsxs)(H,{children:[(0,m.jsx)(R.ZP,{value:"default",children:(0,m.jsx)("i",{className:"fa fa-align-justify"})}),(0,m.jsx)(R.ZP,{value:"left",children:(0,m.jsx)("i",{className:"fa fa-align-left"})}),(0,m.jsx)(R.ZP,{value:"center",children:(0,m.jsx)("i",{className:"fa fa-align-center"})}),(0,m.jsx)(R.ZP,{value:"right",children:(0,m.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,m.jsxs)("div",{className:"flex-container flex-end",children:[(0,m.jsx)(S.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,m.jsx)(S.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},Y=n(71411),G=n(24433),U=n.n(G),X=(0,c.forwardRef)((function(e,t){var n=e.use3d,r=e.width,i=e.height,o=e.callback,s=(e.showSaveButton,(0,c.useRef)()),l=(0,c.useRef)(),u=(0,c.useState)(!1),d=a()(u,2),h=d[0],f=d[1],p=(0,c.useRef)({id:s,appName:"graphing",width:r||1e3,height:i||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,c.useEffect)((function(){l.current=new(U())(p.current,!0),window.onload=function(){l.current.inject("applet_container")}}),[]);var v=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return o&&o(e),e};return(0,c.useEffect)((function(){p.current.appName=h?"3D":"graphing",l.current.inject("applet_container")}),[h]),(0,c.useEffect)((function(){f(n)}),[n]),(0,c.useImperativeHandle)(t,(function(){return{getImgData:v}})),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:s}),(0,m.jsxs)(B.Z,{align:"middle",children:[(0,m.jsx)(j.Z,{flex:1,children:(0,m.jsx)(Y.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:h,onChange:function(e){return f(e)}})}),(0,m.jsx)(j.Z,{children:(0,m.jsx)(S.ZP,{size:"large",onClick:v,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),Q=n(74135),J="link",q="upload-image",_="add-flowchart",$="draw-image",ee="code-block",te="add-table",ne="------------",re={default:ne,left:":".concat(ne),center:":".concat(ne,":"),right:"".concat(ne,":")},ie=n(21323),oe=n(32985);var ae="@▁▁@",se=["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 le(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var ce=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ue=l()(l()({},ce+"-B","bold"),ce+"-I","italic"),de=l()(l()(l()(l()(l()(l()(l()(l()({},J,"添加链接"),ee,"添加代码块"),q,"添加图片"),$,"添加画图"),_,"插入流程图"),te,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),he=function(e){var t=e.defaultValue,n=void 0===t?"":t,r=e.onChange,o=e.width,s=void 0===o?"100%":o,d=e.height,g=void 0===d?400:d,y=e.miniToolbar,x=void 0!==y&&y,b=e.isFocus,k=void 0!==b&&b,A=e.watch,S=e.insertTemp,E=e.mode,B=void 0===E?"markdown":E,D=e.id,T=void 0===D?"markdown-editor-id":D,j=e.showResizeBar,I=void 0!==j&&j,R=e.noStorage,z=void 0!==R&&R,H=e.showNullButton,V=void 0!==H&&H,Y=e.showNullProgramButton,G=void 0!==Y&&Y,U=e.hidetoolBar,ne=void 0!==U&&U,ce=e.fullScreen,he=void 0!==ce&&ce,fe=e.onBlur,pe=e.onCMBeforeChange,me=e.onFullScreen,ve=e.className,ge=void 0===ve?"":ve,ye=e.disablePaste,xe=void 0!==ye&&ye,be=e.disabled,we=void 0!==be&&be,Ce=e.disabledFill,ke=void 0!==Ce&&Ce,Ae=e.placeholder,Se=void 0===Ae?"":Ae,Ee=e.values,Le=void 0===Ee?"":Ee,Ne=e.extraUse,Me=e.onAddBlank,Pe=(0,c.useState)(null),Be=a()(Pe,2),De=Be[0],Ze=Be[1],Te=(0,c.useState)(n),je=a()(Te,2),Fe=je[0],Ie=je[1],We=(0,c.useState)(A),Oe=a()(We,2),Re=Oe[0],ze=Oe[1],He=(0,c.useState)(he),Ve=a()(He,2),Ke=Ve[0],Ye=Ve[1],Ge=(0,c.useState)(""),Ue=a()(Ge,2),Xe=Ue[0],Qe=Ue[1],Je=(0,c.useState)(0),qe=a()(Je,2),_e=qe[0],$e=qe[1],et=(0,c.useState)(g),tt=a()(et,2),nt=tt[0],rt=tt[1],it=(0,c.useState)(!1),ot=a()(it,2),at=(ot[0],ot[1]),st=(0,c.useState)(0),lt=a()(st,2),ct=lt[0],ut=lt[1],dt=(0,c.useState)(0),ht=a()(dt,2),ft=ht[0],pt=ht[1],mt=(0,c.useRef)(),vt=(0,c.useRef)(),gt=(0,c.useRef)(),yt=(0,c.useRef)(),xt=(0,c.useRef)(),bt=(0,c.useRef)(),wt=(0,u.useDispatch)();(0,c.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Ie(Le),null==De||De.setValue(Le),window.scrollTo(0,e)}),[Le]),(0,c.useEffect)((function(){null==me||me(Ke)}),[Ke]),(0,c.useEffect)((function(){if(mt.current){var e=function(e,n){if(!xe){var r=n.clipboardData;if(r){var i=r.types.toString(),o=r.items;if("Files"===i||r.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==B)return;try{var a,s=o[1];"file"===(null===(a=o[0])||void 0===a?void 0:a.kind)&&(s=o[0]);var l=s.getAsFile(),c=l.name.split(".").pop();(0,M.I)(l,(function(e){var n,r,i;e.id?(null==l||null===(n=l.type)||void 0===n?void 0:n.indexOf("image"))>-1?t.replaceSelection('<img width="100%" src="/api/attachments/'.concat(e.id,"?type=").concat(e.content_type,')" alt="','" />')):(null==l||null===(r=l.type)||void 0===r?void 0:r.indexOf("video"))>-1?t.replaceSelection('<video width="100%" controls src="/api/attachments/'.concat(e.id,'"></video>')):(null==l||null===(i=l.type)||void 0===i?void 0:i.indexOf("pdf"))>-1?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,"?type=").concat(l.type,'&disposition=inline" target="_blank">').concat(l.name,"</a>")):se.includes(c)?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(l.name,"</a>")):t.replaceSelection("[".concat(l.name,"](/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(n){F.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},t=h().fromTextArea(mt.current,{mode:B,lineNumbers:!x,lineWrapping:!0,value:n,autoCloseTags:!0,autoCloseBrackets:!0});return t.on("keyup",(function(e,n){8===n.keyCode&&(""==e.getValue()?t.setOption("placeholder",Se):t.setOption("placeholder",null))})),t.on("keydown",(function(e,t){if(8===t.keyCode){var n=function(e,t){var n=e.getDoc(),r=n.getCursor(),i=n.getLine(r.line),o=i.charAt(r.ch-1),a=i.lastIndexOf("@▁@",r.ch),s=i.lastIndexOf("@▁▁@",r.ch),l=a>s?a:s,c=a>s?3:4;if(-1===ae.indexOf(o))return null;if(console.log("change1:",t,e,i,r,l,a,s,o),l>=0&&r.ch-l<5){var u=l+c;return n.replaceRange("",{line:r.line,ch:l},{line:r.line,ch:u}),{line:r.line,ch:u}}return null}(e);n&&t.preventDefault()}})),k&&t.focus(),t.on("paste",e),we&&t.on("beforeChange",(function(e,t){"paste"!==t.origin&&"+input"!==t.origin||t.cancel()})),Ze(t),function(){t.off("paste",e)}}}),[]);var Ct=(0,c.useCallback)((function(){vt.current}),[nt,vt,Ke]);(0,c.useEffect)((function(){if(De){var e=function(){var e=new f.Z((function(e){var t,n=i()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&(Ct(),De.setSize("100%","100%"),De.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(mt.current.parentElement),e}();return function(){var t,n;null!==(t=mt.current)&&void 0!==t&&t.parentElement&&e.unobserve(null===(n=mt.current)||void 0===n?void 0:n.parentElement)}}}),[De,Ct]),(0,c.useEffect)((function(){if(De){for(var e=[],t=function(){var t=a()(r[n],2),i=t[0],o=t[1],s=l()({},i,(function(){kt(o)}));e.push(s),De.addKeyMap(s)},n=0,r=Object.entries(ue);n<r.length;n++)t();return function(){for(var t=0,n=e;t<n.length;t++){var r=n[t];De.removeKeyMap(r)}}}}),[De]),(0,c.useEffect)((function(){he!==Ke&&Ye(he)}),[he]),(0,ie.Z)((function(){if(!z&&_e>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(T);e>=_e+1e4&&(!t||t!==Fe)&&(window.sessionStorage.setItem(T,Fe),at(!0))}}),1e4),(0,c.useEffect)((function(){ze(A)}),[De,A]),(0,c.useEffect)((function(){De&&k&&De.focus()}),[De,k]),(0,c.useEffect)((function(){if(Re&&De){var e=function(e){var t=e.target;if(yt.current){var n=t.scrollTop/t.scrollHeight;yt.current.scrollTop=yt.current.scrollHeight*n}},t=De.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[De,Re]),(0,c.useEffect)((function(){if(De&&pe){var e=function(e,t){pe(e,t)};return De.on("beforeChange",e),function(){De.off("beforeChange",e)}}}),[De,pe]),(0,c.useEffect)((function(){if(De&&fe){var e=function(){fe(De.getValue())};return De.on("blur",e),function(){De.off("blur",e)}}}),[De,fe]),(0,c.useEffect)((function(){if(De){var e=function(e,t){var n=e.getValue();Ie(n),$e((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),r&&(G?r(n,Nt(n)):r(n))};return De.on("change",e),function(){De.off("change",e)}}}),[De,r]),(0,c.useEffect)((function(){if(De)if(null==n)De.setValue(""),Ie("");else{var e=window.scrollY||window.pageYOffset;n!==De.getValue()&&(De.setValue(n),Ie(n),De.setCursor(we?1:De.lineCount(),0),window.scrollTo(0,e))}}),[De,n]);var kt=(0,c.useCallback)((function(e){var t=De.getCursor(),n=De.getSelection(),r=n.split("\n");switch(e){case"bold":return De.replaceSelection("**"+n+"**"),""===n&&De.setCursor(t.line,t.ch+2),De.focus();case"italic":return De.replaceSelection("*"+n+"*"),""===n&&De.setCursor(t.line,t.ch+1),De.focus();case"code":return De.replaceSelection("`"+n+"`"),""===n&&De.setCursor(t.line,t.ch+1),De.focus();case"inline-latex":if((0,oe.Ye)(wt))return;return Qe("inline-latex"),De.focus();case"latex":return De.replaceSelection("```latex\n"+n+"\n```"),De.setCursor(t.line+1,n.length+1),De.focus();case"line-break":return De.replaceSelection("<br/>\n"),De.focus();case"list-ul":return""===n?De.replaceSelection("- "+n):De.replaceSelection(r.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),De.focus();case"list-ol":return""===n?De.replaceSelection("1. "+n):De.replaceSelection(r.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),De.focus();case"add-null-ch":return void(null==Me||Me());case"add-signal":return""===n&&De.setCursor(t.line,t.ch),De.replaceSelection("@▁@"),De.focus();case"add-multiple":return""===n&&De.setCursor(t.line,t.ch),De.replaceSelection(ae),De.focus();case"inster-template-1":return""===n&&De.setCursor(t.line,t.ch),De.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),De.focus();case"eraser":return De.setValue(""),De.focus();case"trigger-watch":return ze(!Re),De.focus();case"trigger-full-screen":return Ye(!Ke),De.focus();case J:return void Qe(J);case ee:return void Qe(ee);case q:return void Qe(q);case $:return void Qe($);case"maths-latex":if((0,oe.Ye)(wt))return;return void Qe("maths-latex");case _:return xt.current="",sessionStorage.removeItem("file_id"),void Qe(_);case te:return void Qe(te);default:throw new Error}}),[De,Re,Ke]),At=(0,c.useCallback)((function(e,t){var n,r,i,o,a;null!=e&&e.disabledClose||Qe("");var s=e||{},l=s.src,c=s.alt,u=s.id;switch(Xe){case J:var d=e.title,h=e.link;return De.replaceSelection("[".concat(d,"](").concat(h,")")),De.focus();case ee:var f=e.language,p=e.content;return De.replaceSelection(["```"+f,p,"```"].join("\n")),De.focus();case"maths-latex":for(var m=atob(e),v=new Uint8Array(m.length),g=0;g<m.length;g++)v[g]=m.charCodeAt(g);var y=new Blob([v],{type:"image/png"});(0,M.I)(y,(function(e){e.id?De.replaceSelection(".concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":if((0,oe.Ye)(wt))return;De.replaceSelection("`$$"+e+"$$`");break;case"add-flowchart":if(!u)return;-1===De.getValue().indexOf(l)?De.replaceSelection('<center><img id="'.concat(u,'" width="80%" src="').concat(l,'" class="draw-flowchart" alt="').concat(c||"",'" /></center>')):document.getElementById(u).src=O.Z.API_SERVER+l+"?t="+Date.now();break;case q:case $:var x=t,b=null==x||null===(n=x.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(r=n.pop)||void 0===r?void 0:r.call(n);return(null==x||null===(i=x.type)||void 0===i?void 0:i.indexOf("image"))>-1||null==x||!x.type?null!=x&&x.align||null!=x&&x.width?De.replaceSelection('<p style="text-align:'.concat(x.align||"initial",'"><img width="').concat(x.width?x.width+"%":"initial",'" src="').concat(l,'" alt="').concat(c||"",'" /></p>')):De.replaceSelection('<img width="100%" src="'.concat(l,'" alt="').concat(c||"",'" />')):(null==x||null===(o=x.type)||void 0===o?void 0:o.indexOf("video"))>-1?De.replaceSelection('<video width="100%" controls src="'.concat(l,'"></video>')):(null==x||null===(a=x.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?De.replaceSelection('<a href="'.concat(l,"?type=").concat(x.type,'&disposition=inline" target="_blank">').concat(x.name,"</a>")):se.includes(b)?De.replaceSelection('<a href="'.concat(l,'?type=office&disposition=inline" target="_blank">').concat(x.name,"</a>")):De.replaceSelection("[".concat(x.name,"](").concat(l,")")),De.focus();case te:for(var w=e.row,C=e.col,k=e.align,A="\n",S=0;S<w;S++){for(var E=[],L=[],N=0;N<C;N++)1===S&&L.push(re[k]),E.push(" ");1===S&&(A+="| ".concat(L.join(" | ")," |\n")),A+="| ".concat(E.join(1===C?"":" | ")," |\n")}return De.replaceSelection(A+"\n"),De.focus();default:throw new Error}}),[De,Xe]),St=(0,c.useMemo)((function(){switch(Xe){case J:return(0,m.jsx)(L,{callback:At,onCancel:Et});case ee:return(0,m.jsx)(N.Z,{callback:At,onCancel:Et});case q:return(0,m.jsx)(M.Z,{callback:At,onCancel:Et});case _:return(0,m.jsx)(W,{editImgId:xt.current,callback:At,onCancel:Et});case te:return(0,m.jsx)(K,{callback:At,onCancel:Et});case"maths-latex":return(0,m.jsx)(X,{showSaveButton:!0,callback:At});case"inline-latex":return(0,m.jsx)(Q.Z,{showSaveButton:!0,callback:At});default:return null}}),[Xe]);function Et(){Qe("")}(0,c.useEffect)((function(){if(gt.current){var e=function(e){i=!0,o=e.pageY},t=function(){i=!1},n=function(e){if(i){var t=e.pageY-o;t<0&&(t=0),t>300&&(t=300),rt(g+t+"px")}},r=gt.current,i=!1,o=0;return r.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){r.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[De,gt]),(0,c.useEffect)((function(){rt(g)}),[g]);var Lt={width:le(s),height:le(nt)},Nt=((0,c.useMemo)((function(){if(_e){var e=new Date(_e),t=e.getHours(),n=e.getMinutes(),r=e.getSeconds();return n=n<10?"0"+n:n,r=r<10?"0"+r:r,"".concat(t=t<10?"0"+t:t,":").concat(n,":").concat(r)}return 0}),[_e]),function(e){var t=[];if(G){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,r){t.push({multiLine:!("@▁@"===e)})}))}return t});(0,c.useEffect)((function(){de[Xe]&&Xe!==$&&Xe!==_&&setTimeout((function(){var e=document.getElementsByClassName("markdown-popup-form")[0],t=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;ut(t),pt(n)}),0)}),[Xe]);var Mt=function(e,t,n,r){var i=document.body.clientHeight,o=document.body.clientWidth;return!(e<20&&n>e||e>o-20&&n<e||t<20&&r>t||t>i-20&&r<t)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,m.jsxs)(c.Fragment,{children:[(0,m.jsx)("div",{className:"markdown-editor-wrapper",ref:vt,children:(0,m.jsxs)("div",{className:"markdown-editor-container ".concat(ge," ").concat(Re?"on-preview":""," ").concat(x?"mini":""," ").concat(Ke?"full-screen":""),style:Lt,children:[(0,m.jsx)(w,{insertTemp:S,watch:Re,fullScreen:Ke,showNullButton:V,showNullProgramButton:G,onActionCallback:kt,hidetoolBar:ne,extraUse:Ne}),(0,m.jsxs)("div",{className:"markdown-editor-body",children:[(0,m.jsx)("div",{className:"codemirror-container",children:(0,m.jsx)("textarea",{ref:mt,placeholder:Se})}),Re?(0,m.jsxs)("div",{ref:yt,className:"preview-container",children:["stex"===B&&(0,m.jsx)(v,{value:Fe}),"stex"!==B&&(0,m.jsx)(p.Z,{edit:!0,disabledFill:ke,showProgramFill:G,value:Fe,openEditor:function(e){var t;xt.current=e,null===(t=bt.current)||void 0===t||t.setHeight("100vh"),setTimeout((function(){Qe("add-flowchart")}),150)}})]}):null]})]})}),I?(0,m.jsx)("a",{ref:gt,className:"editor-resize"}):null,Xe===$&&(0,m.jsx)(Z,{callback:At,onCancel:Et}),Xe===_&&(0,m.jsx)(W,{ref:bt,editImgId:xt.current,callback:At,onCancel:Et}),(0,m.jsx)(C.Z,{children:de[Xe]&&Xe!==$&&Xe!==_?(0,m.jsx)(P.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ct,top:ft},title:(0,m.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var t=e.clientX-ct,n=e.clientY-ft;document.body.onmousemove=function(e){var r=e.clientX-t,i=e.clientY-n,o=document.getElementsByClassName("markdown-popup-form")[0],a=window.innerWidth-o.offsetWidth,s=window.innerHeight-o.offsetHeight;r=Math.max(0,Math.min(r,a)),i=Math.max(0,Math.min(i,s)),Mt(e.clientX,e.clientY,t,n)&&(ut(r),pt(i))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:de[Xe]}),open:!0,onCancel:Et,footer:null,destroyOnClose:!0,width:Xe===_?"1200px":null,height:Xe===_?"80vh":null,className:"markdown-popup-form",children:St}):null})]})}},26805:function(e,t,n){"use strict";n.d(t,{Z:function(){return b},I:function(){return C}});var r=n(82242),i=n.n(r),o=n(79800),a=n.n(o),s=n(28284),l=n(6767),c=n(37568),u=n(77736),d=n(71051),h=n(47889),f=n(99571),p=n(20337),m=n(59301),v=n(37712),g=s.Z.useForm,y={width:280,marginRight:10},x={labelCol:{span:5},wrapperCol:{span:19}},b=function(e){var t=e.callback,n=e.onCancel,r=g(),o=a()(r,1)[0],p=(0,m.useRef)();function b(e,t){-1!==e.status?o.setFieldsValue({src:"/api/attachments/".concat(e.id),type:t.type}):l.ZP.error(e.message)}return(0,v.jsxs)(s.Z,i()(i()({form:o},x),{},{className:"upload-image-panel",onFinish:function(e){p.current.width=o.getFieldValue("width"),p.current.align=o.getFieldValue("align"),t(e,p.current)},style:{width:470,overflow:"hidden"},children:[(0,v.jsx)(s.Z.Item,{label:"图片地址",required:!0,children:(0,v.jsxs)("div",{className:"flex-container",children:[(0,v.jsx)(s.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,v.jsx)(c.Z,{style:y})}),(0,v.jsx)(w,{onFileChange:function(e){var t=e.target.files[0];p.current=t,C(t,b)}})]})}),(0,v.jsx)(s.Z.Item,{label:"图片描述",name:"alt",children:(0,v.jsx)(c.Z,{style:{width:264}})}),(0,v.jsx)(s.Z.Item,{label:"图片宽度",name:"width",children:(0,v.jsxs)(u.Z,{children:[(0,v.jsx)(s.Z.Item,{name:"width",style:{margin:0},children:(0,v.jsx)(d.Z,{style:{width:264}})}),(0,v.jsx)("span",{className:"ml8",children:"%"})]})}),(0,v.jsx)(s.Z.Item,{label:"对齐方式",name:"align",children:(0,v.jsx)(h.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"左对齐"},{value:"center",label:"居中对齐"},{value:"right",label:"右对齐"}]})}),(0,v.jsx)("aside",{children:(0,v.jsxs)(s.Z.Item,{style:{textAlign:"right",position:"relative",right:-98},children:[(0,v.jsx)(f.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,v.jsx)(f.ZP,{type:"default",onClick:n,children:"取消"})]})})]}))};function w(e){var t=e.onFileChange;return(0,v.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,v.jsx)("input",{type:"file",onChange:t})]})}function C(e,t){if(!e)throw new String("没有文件");var n=new FormData;n.append("editormd-image-file",e),n.append("file_param_name","editormd-image-file"),n.append("byxhr","true");var r=new window.XMLHttpRequest;r.withCredentials=!0,r.addEventListener("load",(function(n){t(JSON.parse(n.target.responseText),e)}),!1),r.addEventListener("error",(function(e){console.error(e)}),!1),r.open("POST","".concat(p.KI,"/api/attachments.json")),r.send(n)}},56946:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(82100),i=n.n(r),o=n(29186),a=n.n(o),s=n(80619),l=n.n(s),c=n(47074),u=n.n(c),d=n(59301),h=n(4676),f=function(e){l()(n,e);var t=u()(n);function n(e){var r;i()(this,n),r=t.call(this,e);var o=window.document;return r.node=o.createElement("div"),o.body.appendChild(r.node),r}return a()(n,[{key:"render",value:function(){var e=this.props.children;return(0,h.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),n}(d.Component)},49337:function(e,t,n){"use strict";n.d(t,{SV:function(){return q},ZP:function(){return J}});var r=n(82242),i=n.n(r),o=n(37205),a=n.n(o),s=n(91232),l=n.n(s),c=n(79800),u=n.n(c),d=n(39647),h=n.n(d),f=n(7557),p=n.n(f),m=n(41498),v=n.n(m),g=n(59301),y=n(76374),x=["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"],b={quickKey:[{label:"main",content:["public static void main(String[] args) {","\t$0","}"].join("\n")},{label:"System.out.println",content:["System.out.println($0)"].join("\n")},{label:"System.out.print",content:["System.out.print($0)"].join("\n")}],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"]},w={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}) {","\t$0","} else {","\t","}"].join("\n")},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {","\t$0","}"].join("\n")},{label:"if",content:["if () {","\t$0","}"].join("\n")},{label:"for",content:["for(int j=0 ; j<10; j++){","\t$0","}"].join("\n")},{label:"trycatch",content:["try{","\t$0","}catch(ExceptionName e){","}"].join("\n")},{label:"using namespace std;",content:["using namespace std;"].join("\n")},{label:"include <iostream>",content:["#include <iostream>"].join("\n")},{label:"include <vector>",content:["#include <vector>"].join("\n")},{label:"include <cstdio>",content:["#include <cstdio>"].join("\n")},{label:"include <cstring>",content:["#include <cstring>"].join("\n")},{label:"include <sstream>",content:["#include <sstream>"].join("\n")},{label:"include <fstream>",content:["#include <fstream>"].join("\n")},{label:"include <map>",content:["#include <map>"].join("\n")},{label:"include <string>",content:["#include <string>"].join("\n")},{label:"include <cmath>",content:["#include <cmath>"].join("\n")}]},C={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("\n")}]},k={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("\n")}]},A=n(53184),S=n.n(A),E={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"]}},L=function(e,t,n,r){e.languages.registerCompletionItemProvider(t,{provideCompletionItems:function(t,i){var o=t.getWordUntilPosition(i),s={startLineNumber:i.lineNumber,endLineNumber:i.lineNumber,startColumn:o.startColumn,endColumn:o.endColumn},l=t.getLineContent(i.lineNumber).substring(o.startColumn-2,o.endColumn),c=function(e,t,n,r){var i=t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:n.lineNumber,endColumn:n.column});return Array.from(new Set(i.match(/\b\w{2,}\b/g)||[])).map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Text,insertText:t,range:r}}))}(e,t,i,s);return{suggestions:[].concat(a()(c),a()(n.map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Keyword,documentation:t,insertText:t,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:s}}))),a()(r.map((function(t){return{label:t.label,kind:e.languages.CompletionItemKind.Snippet,documentation:t.content,insertText:l.startsWith("#")?t.content.replace(/#/,""):t.content,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:s}}))))}}})},N=n(82100),M=n.n(N),P=n(29186),B=n.n(P),D=n(85573),Z=n.n(D),T=function(){function e(t,n,r){var i=this;M()(this,e),this.placeholder=t,this.editor=n,this.monaco=r,n.onDidChangeModelContent((function(){return i.onDidChangeModelContent()})),this.onDidChangeModelContent()}return B()(e,[{key:"onDidChangeModelContent",value:function(){""===this.editor.getValue()?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}},{key:"getId",value:function(){return e.ID}},{key:"getDomNode",value:function(){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}},{key:"getPosition",value:function(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}},{key:"dispose",value:function(){this.editor.removeContentWidget(this)}}]),e}();Z()(T,"ID","editor.widget.placeholderHint");var j=T,F=n(96236),I=n(6767),W=n(25399),O=n(89392),R=n(13326),z=n(56102),H=n(37712),V=["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"];function K(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function Y(){}var G={"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 U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e;if(Array.isArray(e)){for(var n=0;n<e.length;n++){var r=G[e[n]];if(r)return r}return t[0]}return G[t]||t}var X=null,Q=function(){var e=v()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(" ");case 3:console.log("内容已自动复制到剪贴板:"),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("自动复制失败:",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}(),J=function(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,s=void 0===o?"100%":o,c=e.value,d=e.language,f=void 0===d?"javascript":d,m=e.style,A=void 0===m?{}:m,N=e.options,M=void 0===N?{}:N,P=e.overrideServices,B=void 0===P?{}:P,D=e.theme,Z=void 0===D?"vs-dark":D,T=e.onEditBlur,G=e.isCopy,J=void 0!==G&&G,q=e.onSave,_=e.autoHeight,$=void 0!==_&&_,ee=e.forbidCopy,te=void 0!==ee&&ee,ne=e.onChange,re=void 0===ne?Y:ne,ie=e.editorDidMount,oe=void 0===ie?Y:ie,ae=e.onFocus,se=void 0===ae?Y:ae,le=e.onBreakPoint,ce=void 0===le?Y:le,ue=e.breakPointValue,de=void 0===ue?[]:ue,he=e.filename,fe=void 0===he?"educoder.txt":he,pe=e.errorLine,me=e.errorContent,ve=void 0===me?"":me,ge=e.highlightLine,ye=e.openBreakPoint,xe=void 0!==ye&&ye,be=e.placeholder,we=void 0===be?"":be,Ce=e.showMiniMap,ke=void 0===Ce||Ce,Ae=(h()(e,V),(0,g.useRef)()),Se=(0,g.useRef)({}),Ee=(0,g.useRef)(),Le=(0,g.useRef)(),Ne=(0,g.useRef)([]),Me=(0,g.useRef)(!1),Pe=(0,g.useRef)(),Be=(0,g.useRef)(),De=(0,g.useRef)(!1),Ze=(0,g.useState)(!1),Te=u()(Ze,2),je=Te[0],Fe=Te[1];(0,g.useEffect)((function(){var e=R.Z.subscribe("formatDocument",(function(e){var t,n=Se.current.instance;null==n||null===(t=n.getAction)||void 0===t||t.call(n,"editor.action.formatDocument").run()}));return window.updateMonacoValue=function(e){re(e)},e}),[]),(0,g.useEffect)((function(){var e,t=Se.current.instance;(Le.current&&clearTimeout(Le.current),Le.current=setTimeout((function(){!function(){var e=Se.current.instance;if(null!=c&&e&&je){var t=e.getModel();t&&c!==t.getValue()&&(!0,t.setValue(c),e.layout(),!1)}}()}),500),c&&null!=c&&c.length)&&(null==t||null===(e=t.updateOptions)||void 0===e||e.call(t,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(c.split(/\r\n|\r|\n/g).length))+3,5)}))}),[c,je,Se.current]),(0,g.useEffect)((function(){if(pe&&Se.current&&Se.current.instance){var e=Se.current.instance;e.changeViewZones((function(e){var t=document.createElement("div");t.style.padding="10px 20px",t.style.width="calc(100% - 20px)",t.className="my-error-line-wrp",t.innerHTML=ve,e.addZone({afterLineNumber:pe||11,heightInLines:3,domNode:t})}));var t={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}};e.addOverlayWidget(t),e.revealPositionInCenter({lineNumber:20,column:1})}}),[pe,Se.current,je]);var Ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!e||""===e.trim())return!0;for(var n=Se.current.instance.getModel(),r=n.getLineTokens(t),i=!1,o=0;o<2;o++)1===r.getStandardTokenType(o)&&(i=!0);return i};function We(e){(window.navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&83==e.keyCode&&(e.preventDefault(),q())}(0,g.useEffect)((function(){var e,t=null===(e=Se.current)||void 0===e?void 0:e.instance;if(t&&je&&te){var n=t.onDidBlurEditorWidget((function(){De.current=!1})),r=t.onDidFocusEditorText((function(){De.current=!0}));return function(){n.dispose(),r.dispose()}}}),[Se.current,je,te]),(0,g.useEffect)((function(){var e;if(null!==(e=Se.current)&&void 0!==e&&e.instance&&je&&xe){var t=Se.current.instance,n=t.getModel();if(!n)return;!function(){var e,r=[],i=[],o=n.getAllDecorations(),a=l()(o);try{for(a.s();!(e=a.n()).done;){var s,c=e.value;if("highlighted-line"===c.options.className)r.push(null==c||null===(s=c.range)||void 0===s?void 0:s.startLineNumber),i.push(null==c?void 0:c.id)}}catch(e){a.e(e)}finally{a.f()}if(ge!==r[0]){n.deltaDecorations(i,[]);var u=n.getLineCount();ge&&ge<=u&&(t.deltaDecorations([],[{range:new X.Range(ge,1,ge,n.getLineMaxColumn(ge)),options:{isWholeLine:!0,className:"highlighted-line"}}]),t.revealLineInCenter(ge))}}();var r=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=[],i=[],o=n.getAllDecorations(),a=l()(o);try{for(a.s();!(e=a.n()).done;){var s,c=e.value;if("breakpoints-select"===c.options.linesDecorationsClassName)r.push(null==c||null===(s=c.range)||void 0===s?void 0:s.startLineNumber),i.push(null==c?void 0:c.id)}}catch(e){a.e(e)}finally{a.f()}if(t)return{lines:r,ids:i};ce(r)},i=function(){var e=v()(p()().mark((function e(t){var i;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={range:new X.Range(t,1,t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}},e.next=3,n.deltaDecorations([],[i]);case 3:r();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=v()(p()().mark((function e(i){var o,a,s,c,u;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[],a=t.getLineDecorations(i),s=l()(a);try{for(s.s();!(c=s.n()).done;)"breakpoints-select"===(u=c.value).options.linesDecorationsClassName&&o.push(u.id)}catch(e){s.e(e)}finally{s.f()}return e.next=6,n.deltaDecorations(o,[]);case 6:r();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a=function(e){var n,r=t.getLineDecorations(e),i=l()(r);try{for(i.s();!(n=i.n()).done;){if("breakpoints-select"===n.value.options.linesDecorationsClassName)return!0}}catch(e){i.e(e)}finally{i.f()}return!1};if(!(0,O.isEqual)(de,r(!0).lines)){n.deltaDecorations(r(!0).ids,[]);var s=de.map((function(e){return{range:new X.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}}));n.deltaDecorations([],s)}var c=t.onDidChangeModelContent((function(e){var s=t.getPosition();if(s){var l=s.lineNumber;clearTimeout(Be.current),Be.current=setTimeout((function(){Ie(n.getLineContent(l),l)?o(l):a(l)?(o(l),i(l)):r()}),100)}})),u=t.onMouseDown((function(e){var t;if(e.target.detail&&null!==(t=e.target)&&void 0!==t&&null!==(t=t.element)&&void 0!==t&&null!==(t=t.className)&&void 0!==t&&t.includes("line-numbers")){var r=e.target.position.lineNumber;if(Ie(n.getLineContent(r),r))return;a(r)?o(r):i(r)}})),d=function(){Ne.current=t.deltaDecorations(Ne.current,[])},h=t.onMouseMove((function(e){var r;if(d(),e.target.detail&&null!==(r=e.target)&&void 0!==r&&null!==(r=r.element)&&void 0!==r&&null!==(r=r.className)&&void 0!==r&&r.includes("line-numbers")){var i=e.target.position.lineNumber;if(Ie(n.getLineContent(i),i))return;!function(e){var n={range:new X.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ne.current=t.deltaDecorations(Ne.current,[n])}(i)}})),f=t.onMouseLeave((function(){d()}));return function(){c.dispose(),u.dispose(),h.dispose(),f.dispose()}}}),[Se.current,je,de,ge,xe,f]),(0,g.useEffect)((function(){var e;null!==(e=Se.current)&&void 0!==e&&e.instance&&xe&&Se.current.instance.setPosition({lineNumber:0,column:0})}),[ge]);var Oe=function(){if($&&Se.current.instance){var e=Se.current.instance.getContentHeight();Xe(e<s?s:e)}else Xe(s)};var Re=function(e){if(De.current){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey,i=e.target;return"paste"!==e.type&&(67!==t&&86!==t||!r&&!n)||"TEXTAREA"!==i.nodeName||(I.ZP.warning({content:decodeURIComponent("该任务关卡设置了禁止复制粘贴,请手动输入代码。"),key:"monaco-editor-tip"}),e.preventDefault()),!1}};function ze(e,t){var n,r,i=window.URL||window.webkitURL||window,o=new Blob([t]),a=document.createElementNS("http://www.w3.org/1999/xhtml","a");a.href=i.createObjectURL(o),a.download=e,n=a,(r=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}(0,g.useEffect)((function(){Oe()}),[Oe]),(0,g.useEffect)((function(){Ae.current&&!je&&Promise.all([n.e(8909),n.e(1196)]).then(n.bind(n,71448)).then((function(e){try{X=e,Se.current.instance=X.editor.create(Ae.current,{value:c,language:U(f),theme:Z,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:ke||!1}},B);var t=Se.current.instance,n=F.BH._menuItems,r=a()(n).find((function(e){return"EditorContext"==e[0]._debugName}))[1];if(oe(t,X),setTimeout((function(){Oe(),Se.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){ze(fe||"educoder.txt",t.getValue())}})}),500),Se.current.subscription=t.onDidChangeModelContent((function(e){Me.current?clearTimeout(Pe.current):(Oe(),re(t.getValue(),e)),Pe.current=setTimeout((function(){Me.current=!1}),500)})),window.Monaco||function(e){E.languages.forEach((function(t){e.languages.registerDocumentFormattingEditProvider(t,{provideDocumentFormattingEdits:function(e){return v()(p()().mark((function t(){var n;return p()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=S()(e.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}),t.abrupt("return",[{range:e.getFullModelRange(),text:n}]);case 2:case"end":return t.stop()}}),t)})))()}})})),L(e,"java",b.keywords,b.quickKey),L(e,"cpp",w.keywords,w.quickKey),L(e,"c",x,[]),L(e,"python",C.keywords,C.quickKey),L(e,"scala",k.keywords,k.quickKey)}(X,U(f)),te&&(!function(e,t){var n=e._first;do{var r;t.includes(null===(r=n.element)||void 0===r||null===(r=r.command)||void 0===r?void 0:r.id)&&e._remove(n)}while(n=n.next)}(r,["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"]),Ae.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Re),window.removeEventListener("paste",Re),window.addEventListener("keydown",Re),window.addEventListener("paste",Re)),window.Monaco=X,T&&t.onDidBlurEditorWidget((function(){T(t.getValue())})),se&&t.onDidFocusEditorText((function(){te&&Q(),se(t.getValue())})),te){Q();try{t.onDidPaste((function(e){var n=t.getSelection(),r=Se.current.pastePos||{};new X.Range(r.startLineNumber||n.endLineNumber,r.startColumn||n.endColumn,r.endLineNumber||n.endLineNumber,r.endColumn||n.endColumn);t.executeEdits("",[{range:e.range,text:""}])}))}catch(e){}}var i=function(){var e;return Ae.current&&(e=new y.Z((function(e){var t,n=l()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&Se.current.instance.layout()}}catch(e){n.e(e)}finally{n.f()}}))).observe(Ae.current),e}();return we&&"string"==typeof we&&new j(we,t,X),Fe(!0),function(){var e=Se.current.instance;e.dispose();var t=e.getModel();t&&t.dispose(),Se.current.subscription&&Se.current.subscription.dispose(),i.unobserve(Ae.current)}}catch(e){}}))}),[]),(0,g.useEffect)((function(){if(Se.current.instance&&je)return document.addEventListener("keydown",We,!1),function(){document.removeEventListener("keydown",We)}}),[q,je]),(0,g.useEffect)((function(){var e=Se.current.instance;if(e&&je){var t=U(f);X.editor.setModelLanguage(e.getModel(),t)}}),[f,je]),(0,g.useEffect)((function(){Se.current.instance&&je&&X.editor.setTheme(Z)}),[Z,je]),(0,g.useEffect)((function(){var e=Se.current.instance;Ee.current=M,e&&je&&(e.updateOptions(i()({},M)),setTimeout((function(){e.getModel().updateOptions(i()({},M))}),200))}),[JSON.stringify(M),je]),(0,g.useEffect)((function(){var e=Se.current.instance;e&&je&&e.layout()}),[r,s,je]);var He=(0,g.useState)(K(r)),Ve=u()(He,2),Ke=Ve[0],Ye=(Ve[1],(0,g.useState)(K(s))),Ge=u()(Ye,2),Ue=Ge[0],Xe=Ge[1],Qe=i()(i()({},A),{},{width:Ke,height:Ue,position:"relative"});return(0,H.jsx)("div",{className:"my-monaco-editor",ref:Ae,style:Qe,children:J&&(0,H.jsx)(z.CopyToClipboard,{text:c,onCopy:function(){return I.ZP.success("复制成功")},children:(0,H.jsx)(W.Z,{title:"复制代码",children:(0,H.jsxs)("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"},children:[(0,H.jsx)("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," 复制代码"]})})})})};function q(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,a=void 0===o?"100%":o,s=e.original,c=e.modified,d=e.language,h=e.options,f=void 0===h?{}:h,p=(0,g.useRef)(),m=(0,g.useState)(null),v=u()(m,2),x=v[0],b=v[1];(0,g.useEffect)((function(){return p.current&&Promise.all([n.e(8909),n.e(9404)]).then(n.bind(n,2550)).then((function(e){var t=(X=e).editor.createDiffEditor(p.current,i()(i()({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},f),{},{wordWrap:!0}));b(t);var n=function(e){var t;return p.current&&(t=new y.Z((function(t){var n,r=l()(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&e.layout()}}catch(e){r.e(e)}finally{r.f()}}))).observe(p.current),t}(t);return function(){t.dispose();var e=t.getModel();e&&e.dispose(),n.unobserve(p.current)}})),function(){window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}}),[]),(0,g.useEffect)((function(){x&&x.setModel({original:X.editor.createModel(s,d),modified:X.editor.createModel(c,d)})}),[s,c,d,x]);var w={width:K(r),height:K(a)};return(0,H.jsx)("div",{className:"my-diff-editor",ref:p,style:w})}},12532:function(e,t,n){"use strict";n.d(t,{jL:function(){return l},w9:function(){return ke},QD:function(){return rt},cQ:function(){return we},op:function(){return Je},O5:function(){return ht},_b:function(){return lt},t7:function(){return j},Gi:function(){return Le},YG:function(){return Ee},qp:function(){return A},vr:function(){return ot},qE:function(){return $e},Je:function(){return W},wb:function(){return oe},cq:function(){return We},tp:function(){return L}});var r=n(59301),i="banner___PoUBO",o="content___XoDjy",a="btns___Pb35j",s=n(37712),l=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.img,l=e.imgWidth,c=void 0===l?346:l,u=e.title,d=e.sunTitle,h=e.bannerExtraContent;return(0,s.jsx)("div",{className:i,children:(0,s.jsxs)("div",{className:o,children:[(0,s.jsxs)("aside",{children:[(0,s.jsxs)("p",{children:[(0,s.jsx)("b",{children:u}),(0,s.jsx)("span",{children:d})]}),n.length>0&&(0,s.jsx)("div",{className:a,children:n.map((function(e,t){return(0,s.jsxs)("div",{onClick:e.click,children:[e.name,e.sign?(0,s.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8Zc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YFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",width:39}):null]},t)}))}),h]}),r&&(0,s.jsx)("img",{style:{marginTop:33,marginRight:38},src:r,width:c})]})})},c=n(79800),u=n.n(c),d="row___aXJjm",h="title___HUKL0",f="tagsWrap___XB2W3",p="action___VdHb1",m="bar___t1kKC",v="tag___V7Eft",g="name___Hk1Ip",y="num___xQpcH",x="active___XryTX",b="tagsBorderWrap___OMxjs",w=n(92310),C=n.n(w),k=n(89392),A=function(e){var t=e.dataSource,n=void 0===t?[]:t,i=e.value,o=e.onChange,a=e.onTitleChange,l=e.className,c=e.title,w=e.titleWidth,A=void 0===w?41:w,S=e.style,E=void 0===S?{}:S,L=e.fontColor,N=void 0===L?"#6A7283":L,M=e.showCount,P=(0,r.useState)(0),B=u()(P,2),D=B[0],Z=B[1],T=(0,r.useState)(!1),j=u()(T,2),F=j[0],I=j[1],W=(0,r.useRef)(null),O=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e;0!==n.length&&((null==W||null===(e=W.current)||void 0===e?void 0:e.clientHeight)>97?Z(1):Z(0));0===n.length&&Z(0),I(!1)}),[n]),(0,s.jsxs)("div",{className:C()(d,l),style:E,children:[(0,s.jsx)("div",{onClick:(0,k.throttle)((function(){return null==a?void 0:a()}),2e3),style:{width:A,marginTop:F?12:4},className:"".concat(h," ").concat(a?"current":""),children:c}),(0,s.jsxs)("div",{className:F?"".concat(f," ").concat(b):f,children:[(0,s.jsx)("div",{className:m,ref:O,style:D>0?{height:1===D?97:"auto",overflow:1===D?"hidden":"auto",paddingRight:55}:{paddingRight:0},children:(0,s.jsx)("div",{className:v,ref:W,children:null==n?void 0:n.map((function(e){return(0,s.jsxs)("span",{onClick:function(){return o(e.id)},style:{color:N},className:i===e.id?x:"",children:[(0,s.jsx)("span",{title:e.name,className:g,children:e.name}),!!M&&(0,s.jsx)("span",{className:y,children:e.count})]},e.id)}))})}),!!D&&(0,s.jsx)(r.Fragment,{children:1===D?(0,s.jsxs)("div",{onClick:function(){var e;Z(2),(null==W||null===(e=W.current)||void 0===e?void 0:e.clientHeight)>245?I(!0):I(!1)},className:p,children:["展开",(0,s.jsx)("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})]}):(0,s.jsxs)("div",{onClick:function(){O.current.scrollTop=0,Z(1),I(!1)},className:p,children:["收起",(0,s.jsx)("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})]})})]})]})},S="tabs___GTqPV",E="active___F26E8",L=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.value,i=e.onChange,o=e.className,a=e.style,l=void 0===a?{}:a;return(0,s.jsx)("div",{style:l,className:C()(S,o),children:n.map((function(e){return(0,s.jsx)("span",{onClick:function(){return i(e.id)},className:r===e.id?E:"",children:e.name},e.id)}))})},N="input___PW2zI",M="dropdown___vSy8B",P="menu___NiyBu",B="text___Grueu",D="b1___ZKryM",Z="b2___aKyGa",T=n(37568),j=function(e){var t,n=e.dataSource,i=void 0===n?[]:n,o=e.value,a=void 0===o?"":o,l=e.onChange,c=e.onInputChange,d=void 0===c?function(){}:c,h=e.className,f=e.style,p=void 0===f?{}:f,m=e.placeholder,v=e.allowClear,g=void 0!==v&&v,y=(0,r.useState)(""),x=u()(y,2),b=x[0],w=x[1],k=(0,r.useState)(""),A=u()(k,2),S=A[0],E=A[1];(0,r.useEffect)((function(){var e,t=a;null!==(e=JSON.stringify(a))&&void 0!==e&&e.includes("{")&&(w(a.id),t=a.value||"");try{E(decodeURIComponent(t||""))}catch(e){E(decodeURIComponent(t||""))}}),[a]);var L=function(){l(encodeURIComponent(S),b||null)};return(0,s.jsxs)("div",{className:C()(N,h),style:p,children:[!!i.length&&(0,s.jsxs)("div",{className:M,children:[(0,s.jsxs)("div",{className:B,children:[null===(t=i.find((function(e){return e.id===b})))||void 0===t?void 0:t.name,(0,s.jsx)("i",{className:"iconfont icon-zhankai4"}),(0,s.jsx)("b",{className:D}),(0,s.jsx)("b",{className:Z})]}),(0,s.jsx)("div",{className:P,children:i.map((function(e,t){return(0,s.jsx)("div",{onClick:function(){var t;(t=e.id)!==b&&(w(t),l(encodeURIComponent(S),t))},children:e.name},t)}))})]}),(0,s.jsx)(T.Z,{onPressEnter:L,value:S,onChange:function(e){E(e.target.value),d(encodeURIComponent(e.target.value),b||null)},placeholder:m,variant:"borderless",allowClear:g,onClear:function(){return l("",b||null)}}),(0,s.jsx)("i",{onClick:L,className:"iconfont icon-sousuo9 font14 current"})]})},F="quickPager___GM30J",I="disabled___Ozc8I",W=function(e){var t=e.value,n=e.onChange,r=e.className,i=e.total,o=e.pageSize,a=e.style,l=void 0===a?{}:a,c=t<2,u=t>=Math.ceil(i/o);return i<=o?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)("div",{className:C()(F,r),style:l,children:[(0,s.jsx)("div",{onClick:function(){c||n(t-1,"prev")},className:c?I:"",children:"上一页"}),(0,s.jsx)("div",{onClick:function(){u||n(t+1,"next")},className:u?I:"",children:"下一页"})]})},O="list___oOsiS",R="wrap___G6T7F",z="lockWrap___Rl79E",H="li___oZZ7l",V="cover___b2bYW",K="img___IQX7w",Y="sign___HkT6C",G="name___SsJx8",U="e___TMqq0",X="tags___bcjyo",Q="rate___YACg7",J=n(29787),q=n(25399),_=n(58018),$=n(6816),ee=n(32985),te=n(96908),ne=n(57177),re=n(81378),ie=n(90059),oe=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,a=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,h=e.wrapWidth,f=void 0===h?1200:h,p=e.trackEventItems,m=e.loading,v=Math.floor((f-(o-1)*a)/o);return(0,s.jsx)(J.Z,{spinning:m,children:(0,s.jsxs)("div",{className:C()(O,t),children:[!!r.length&&r.map((function(e,t){var n=e.name,r=e.id,i=e.identifier,l=e.power,u=(e.cover_image_id,e.pic);return(0,s.jsxs)("div",{className:R,style:{width:v,marginRight:(1+t)%o==0?0:a+d,marginBottom:c},children:[(0,s.jsxs)("a",{target:"_blank",href:"/shixuns/".concat(i,"/challenges"),className:H,onClick:function(e){e.preventDefault(),p&&(0,ee.L9)([p]),l&&(0,ee.xg)("/shixuns/".concat(i,"/challenges"))},children:[(0,s.jsxs)("div",{className:K,children:[(0,s.jsx)("img",{className:V,src:"".concat(u)}),e.is_jupyter&&(0,s.jsx)("img",{className:Y,src:te}),e.is_jupyter_lab&&(0,s.jsx)("img",{className:Y,src:ne}),e.is_unity_3d&&(0,s.jsx)("img",{className:Y,src:re})]}),(0,s.jsx)("div",{className:G,children:(0,s.jsx)(q.Z,{title:n||"实践项目名称-未填写",children:(0,s.jsx)("span",{className:U,children:n||"实践项目名称-未填写"})})}),(0,s.jsxs)("div",{className:X,children:[(0,s.jsx)(q.Z,{placement:"bottom",title:"关卡数",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),(0,s.jsx)("span",{children:e.challenges_count})]})}),!!e.myshixuns_count&&(0,s.jsx)(q.Z,{placement:"bottom",title:"学习人数",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-chengyuan font14 mr2"}),(0,s.jsx)("span",{children:e.myshixuns_count})]})}),(0,s.jsx)(q.Z,{placement:"bottom",title:"难度等级",children:(0,s.jsx)("span",{children:(0,s.jsx)("span",{children:e.level})})}),(0,s.jsxs)("div",{className:Q,children:[(0,s.jsx)(_.Z,{allowHalf:!0,disabled:!0,defaultValue:e.score_info}),(0,s.jsxs)("span",{children:[" ",e.score_info?"".concat(e.score_info,"分"):"5分"]})]})]})]}),!l&&(0,s.jsxs)("div",{className:z,children:[(0,s.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,s.jsx)("span",{className:"mt15 font16 c-white",children:"定向开放内容,需要授权"})]})]},r)})),!r.length&&(0,s.jsx)(ie.Z,{})]})})},ae="list___jb2Ay",se="wrap___VsQDr",le="li___IxCLC",ce="cover___Mu8wr",ue="img___IpFLA",de="movebq___mF7wt",he="bq___Bil0T",fe="sign___DXJ4d",pe="name___l7FoJ",me="e___pXQUG",ve="unit___wCIFR",ge="tags___w_Mil",ye="wrapisCurrent___qIfQT",xe=n(60242),be=n(56800),we=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,a=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,h=e.wrapWidth,f=void 0===h?1200:h,p=e.trackEventItems,m=e.loading,v=e.onRemove,g=void 0===v?function(){}:v,y=e.isCurrent,x=void 0===y||y,b=e.showProgress,w=void 0!==b&&b,k=e.showAlias,A=void 0!==k&&k,S=Math.floor((f-(o-1)*a)/o),E=[{name:"推荐自学",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101计划",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"国家一流",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"省级一流",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"精品课程",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"军队一流",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"新型教材",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return(0,s.jsx)(J.Z,{spinning:m,children:(0,s.jsxs)("div",{className:C()(ae,t),children:[!(null==r||!r.length)&&(null==r?void 0:r.map((function(e,t){var n,r,i,l,u,h,f=e.name,m=e.id,v=e.identifier,y=(e.featured,e.school_name),b=e.image_url;e.excellent,e.is_plan;return(0,s.jsx)("div",{className:x&&w?ye:se,style:{width:S,marginRight:(1+t)%o==0?0:a+d,marginBottom:c},children:(0,s.jsxs)("a",{className:le,onClick:function(e){e.preventDefault(),e.stopPropagation(),p&&(0,ee.L9)([p]),(0,ee.xg)("/paths/".concat(v))},children:[(0,s.jsxs)("div",{className:ue,children:[(0,s.jsx)("img",{className:ce,src:"".concat(b)}),x&&(0,be.bg)()&&(null==e?void 0:e.studying)&&(0,s.jsxs)("div",{className:"".concat(de," user-path-items"),onClick:function(t){t.stopPropagation(),g(e)},children:[(0,s.jsx)("i",{className:"iconfont icon-yichu1 mr5 c-red"}),(0,s.jsx)("span",{className:"c-red",children:"移除"})]}),null==e||null===(n=e.subject_tags)||void 0===n?void 0:n.map((function(e,t){var n;if(0===t){var r,i=null===(r=E.find((function(t){return t.name==e})))||void 0===r?void 0:r.swimg;return(0,s.jsx)("img",{className:fe,src:i,style:{left:"-4px"}})}var o=null===(n=E.find((function(t){return t.name==e})))||void 0===n?void 0:n.ptimg;return(0,s.jsx)("img",{className:fe,src:o,style:{left:"".concat(48+52*(t-1)+2*t,"px")}})})),(0,s.jsx)("div",{style:{position:"absolute",top:"150px",left:"4px"},children:(null==e?void 0:e.excellent)&&(0,s.jsx)("div",{className:he,children:"开放课程"})})]}),(0,s.jsx)("div",{className:pe,children:(0,s.jsx)(q.Z,{title:A&&null!=e&&e.excellent_alias_name?(0,s.jsxs)("span",{children:["课程原名:".concat(f),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:"课程别名:".concat(null==e?void 0:e.excellent_alias_name)})]}):f,children:(0,s.jsx)("span",{className:me,children:A&&(null==e?void 0:e.excellent_alias_name)||f})})}),x&&w&&0!=(null==e||null===(r=e.progress)||void 0===r?void 0:r.all_score)&&(0,s.jsxs)("div",{style:{padding:"0px 10px",color:"#333",marginTop:10},children:[(0,s.jsx)(xe.Z,{strokeColor:"#44d7b6",gap:"small",percent:((null==e||null===(i=e.progress)||void 0===i?void 0:i.my_score)/(null==e||null===(l=e.progress)||void 0===l?void 0:l.all_score)*100).toFixed(),showInfo:!1}),"已完成 ",null==e||null===(u=e.progress)||void 0===u?void 0:u.my_score,"/",null==e||null===(h=e.progress)||void 0===h?void 0:h.all_score]}),(!x||!w)&&(0,s.jsx)(q.Z,{title:"发布单位:".concat(y),children:(0,s.jsxs)("div",{className:ve,children:[(0,s.jsx)("i",{className:"iconfont icon-danwei1 font14 mr3"}),y]})}),(!x||!w)&&(0,s.jsx)("div",{className:ge,children:(0,s.jsxs)("div",{children:[(0,s.jsx)(q.Z,{placement:"bottom",title:"章节数",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),(0,s.jsx)("span",{children:e.stages_count})]})}),(0,s.jsx)(q.Z,{placement:"bottom",title:"学习人数",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-chengyuan font14 mr3"}),(0,s.jsx)("span",{children:e.members_count})]})})]})})]})},m)}))),!r.length&&(0,s.jsx)(ie.Z,{})]})})},Ce={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ke=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,i=e.col,o=void 0===i?4:i,a=e.right,l=e.bottom,c=void 0===l?23:l,u=e.precision,d=void 0===u?0:u,h=e.wrapWidth,f=void 0===h?1200:h,p=e.trackEventItems,m=e.loading,v=e.handleVery,g=void 0===v?function(){return!0}:v,y=Math.floor((f-(o-1)*a)/o);return(0,s.jsx)(J.Z,{spinning:m,children:(0,s.jsxs)("div",{className:C()(Ce.list,t),children:[!!r.length&&r.map((function(e,t){var n=e.subject_identifier,r=e.id,i=(e.identifier,e.power,0!=e.is_public&&e.is_public);return(0,s.jsxs)("div",{className:Ce.wrap,style:{width:y,marginRight:(1+t)%o==0?0:a+d,marginBottom:c},children:[(0,s.jsxs)("a",{className:Ce.li,onClick:function(t){t.preventDefault(),g(null==e?void 0:e.first_category_url)&&(p&&(0,ee.L9)([p]),(0,ee.xg)(e.first_category_url))},children:[(0,s.jsxs)("div",{className:Ce.top,children:[(0,s.jsx)(q.Z,{title:e.name,children:(0,s.jsx)("div",{className:Ce.name,children:e.name})}),(0,s.jsx)("img",{className:Ce.img,src:$.Z.IMG_SERVER+"/images/"+e.avatar_url}),(0,s.jsx)("div",{className:Ce.text,title:e.creator,children:e.creator}),n&&(0,s.jsxs)("div",{className:Ce.btns,children:[(0,s.jsx)("div",{children:"开放课程"}),(0,s.jsx)("aside",{children:"开放课堂"})]}),i&&(0,s.jsx)("div",{className:Ce.sign,children:"公开"})]}),(0,s.jsxs)("div",{className:Ce.bottom,children:[e.visits>0&&(0,s.jsx)(q.Z,{title:"访问量",placement:"bottom",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-liulanyan"}),(0,s.jsx)("span",{children:e.visits})]})}),e.course_members_count>0&&(0,s.jsx)(q.Z,{title:"成员",placement:"bottom",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-chengyuan"}),e.course_members_count]})}),e.tasks_count>0&&(0,s.jsx)(q.Z,{title:"作业",placement:"bottom",children:(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"iconfont icon-zuoye"}),e.tasks_count]})}),e.is_end?(0,s.jsx)("div",{style:{color:"#6B758B"},children:"已结束"}):(0,s.jsx)("div",{style:{color:"#00B187"},children:"进行中"})]})]}),!e.is_accessible&&(0,s.jsxs)("div",{className:Ce.lockWrap,children:[(0,s.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,s.jsx)("span",{className:"mt15 font16 c-white",children:"非课堂成员不可进入"})]})]},r)})),!r.length&&(0,s.jsx)(ie.Z,{})]})})},Ae={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Se=n(5030),Ee=function(e){var t=e.dataSource,n=void 0===t?[]:t,r=e.value,i=e.onChange,o=e.className,a=e.style,l=void 0===a?{}:a,c=e.tabBarExtraContent;return(0,s.jsxs)("div",{className:C()(Ae.tabs,o),style:l,children:[(0,s.jsx)("div",{className:Ae.tabsWrap,children:n.map((function(e,t){return!(null!=e&&e.hide)&&(0,s.jsxs)("aside",{className:Ae.tab,onClick:function(){i(e.id),e.link&&Se.history.push(e.link)},children:[(0,s.jsx)("div",{className:r===e.id?Ae.active:"",children:e.name}),null==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,s.jsxs)("span",{children:["(",null==e?void 0:e.total,")"]}),void 0!==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,s.jsx)(q.Z,{title:null!=(null==e?void 0:e.tip)?null==e?void 0:e.tip:"",children:(0,s.jsxs)("span",{style:{color:"#9096A3"},children:["(",(0,s.jsx)("span",{style:{color:"#000"},children:null==e?void 0:e.resetCount}),"/",(0,s.jsx)("span",{children:null==e?void 0:e.total}),")"]})})]},t)}))}),(0,s.jsx)("div",{className:Ae.tabBar,children:c})]})},Le=function(e){var t=e.className,n=e.style,r=void 0===n?{}:n,i=e.children;return(0,s.jsx)("div",{className:C()(t),style:r,children:i})},Ne="orderWrap___ZfyGX",Me="orderIconWrap___XTB_O",Pe="orderAsc___KWHmA",Be="orderDesc___rHdbB",De="active___a7eSP",Ze="cursorPointer___gs9kL",Te="orderTextWrap___teAKn",je=n(75727),Fe=n(93041),Ie=[{id:"updated_at",name:"最新动态"},{id:"created_at",name:"最新创建"},{id:"name",name:"名称排序"}],We=function(e){var t,n=e.sortValue,r=e.dropValue,i=e.className,o=e.onSort,a=e.onDrop,l=e.dataSource,c=void 0===l?Ie:l;return(0,s.jsxs)("div",{className:C()(Ne,i),children:[(0,s.jsx)(je.Z,{dropdownRender:function(){return(0,s.jsx)(Fe.Z,{children:c.map((function(e,t){return(0,s.jsx)(Fe.Z.Item,{onClick:function(){return a(e.id)},children:e.name},t)}))})},children:(0,s.jsx)("span",{className:Te,children:null===(t=c.find((function(e){return r===e.id})))||void 0===t?void 0:t.name})}),(0,s.jsxs)("span",{className:Me,children:[(0,s.jsx)("span",{className:Pe,children:(0,s.jsx)("i",{className:"asc"===n?"iconfont icon-sanjiaoxing-up font12 ".concat(Ze," ").concat(De):"iconfont icon-sanjiaoxing-up font12 ".concat(Ze),onClick:function(){return o("asc"===n?"desc":"asc")}})}),(0,s.jsx)("span",{className:Be,children:(0,s.jsx)("i",{className:"desc"===n?"iconfont icon-sanjiaoxing-down font12 ".concat(Ze," ").concat(De):"iconfont icon-sanjiaoxing-down font12 ".concat(Ze),onClick:function(){return o("asc"===n?"desc":"asc")}})})]})]})},Oe=n(82242),Re=n.n(Oe),ze=n(7557),He=n.n(ze),Ve=n(41498),Ke=n.n(Ve),Ye=n(39647),Ge=n.n(Ye),Ue={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Xe=n(99571),Qe=["className","style","children","loading","openLoading","onClick","size","shape"],Je=function(e){var t=e.className,n=e.style,i=e.children,o=e.loading,a=void 0!==o&&o,l=e.openLoading,c=e.onClick,d=void 0===c?function(){}:c,h=e.size,f=void 0===h?"middle":h,p=e.shape,m=void 0===p?"round":p,v=Ge()(e,Qe),g=(0,r.useState)(!1),y=u()(g,2),x=y[0],b=y[1];return(0,s.jsx)(Xe.ZP,Re()(Re()({onClick:(0,k.throttle)(function(){var e=Ke()(He()().mark((function e(t){return He()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&b(!0),e.prev=1,e.next=4,d(t);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.log("error",e.t0);case 9:l&&b(!1);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:C()(Ue.btn,Ue["".concat(f,"-").concat(m)],t),style:n,size:f,shape:m,loading:x||a},v),{},{children:i}))},qe="head___ghH72",_e="node___mjPEy",$e=function(e){var t=e.className,n=e.style,r=e.children,i=void 0===r?null:r,o=e.onClick,a=e.title;return(0,s.jsxs)("div",{className:C()(qe,t),style:n,children:[(0,s.jsxs)("span",{className:"primary-hover",onClick:o,children:[(0,s.jsx)("i",{className:"iconfont icon-fanhui2 font12"}),"返回"]}),(0,s.jsx)("b",{title:a,children:a}),(0,s.jsx)("div",{className:_e,children:i})]})},et="btns___sNgTb",tt="confirm___Ozirl",nt="cancel___aiq1I",rt=function(e){var t=e.confirmShow,n=void 0===t||t,r=e.confirmTitle,i=e.confirmClick,o=e.cancelShow,a=void 0===o||o,l=e.cancelTitle,c=e.cancelClick,u=e.className,d=e.style,h=e.confirmLoading,f=void 0!==h&&h;return(0,s.jsxs)("div",{className:C()(et,u),style:d,children:[n&&(0,s.jsx)(Xe.ZP,{loading:f,onClick:i,type:"primary",className:tt,children:r}),a&&(0,s.jsx)(Xe.ZP,{onClick:c,className:nt,children:l})]})},it={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},ot=function(e){var t=e.className,n=e.style,r=void 0===n?{}:n,i=e.LeftContent,o=e.children,a=e.RightContent;return(0,s.jsx)("div",{className:C()(it.fixedBottom,t),style:r,children:(0,s.jsxs)("div",{className:it.wrap,children:[(0,s.jsx)("div",{className:it.left,children:i}),(0,s.jsx)("div",{className:it.center,children:o}),(0,s.jsx)("div",{className:it.right,children:a})]})})},at="crumbs___V41Oe",st="hover___bEIVd",lt=function(e){var t=e.className,n=e.style,i=void 0===n?{}:n,o=e.dataSource,a=void 0===o?[]:o;return(0,s.jsx)("div",{className:C()(at,t),style:i,children:a.map((function(e,t){return t<a.length-1?(0,s.jsxs)(r.Fragment,{children:[e.path||e.onClick?(0,s.jsx)("span",{className:st,onClick:null!=e&&e.onClick?e.onClick:function(){return Se.history.push(e.path)},children:e.name}):(0,s.jsx)("span",{children:e.name}),(0,s.jsxs)("span",{children:[" ",">"," "]})]},t):(0,s.jsx)("span",{style:{color:"#5F6368"},children:e.name},t)}))})},ct=n(11938),ut=["onChange"],dt=ct.Z.Countdown,ht=function(e){var t=e.onChange,n=Ge()(e,ut),i=(0,r.useState)(null),o=u()(i,2),a=o[0],l=o[1];(0,r.useEffect)((function(){"number"==typeof a&&a>=0&&t(a)}),[a]);return(0,s.jsx)(dt,Re()(Re()({},n),{},{onChange:function(e){var t=Math.floor(e/1e3);l(t)}}))}},21323:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59301);function i(e,t){var n=(0,r.useRef)();(0,r.useEffect)((function(){n.current=e})),(0,r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])}},54384:function(e,t,n){"use strict";n.d(t,{Q8:function(){return O},d0:function(){return R},w6:function(){return W}});var r=n(7557),i=n.n(r),o=n(41498),a=n.n(o),s=n(37205),l=n.n(s),c=n(82242),u=n.n(c),d=n(79800),h=n.n(d),f=n(59301),p=n(16326),m=n(82326),v=n(6767),g=n(62957),y=n(47889),x=n(77019),b=n(5269),w=n(25399),C=n(62673),k=n(99571),A=n(56656),S=n.n(A),E=n(56800),L=n(67310),N=n(89392),M=n(32985),P=n(5337),B=n(5030),D=n(94189),Z=n(13851),T=n(68045),j=n(22449),F=n(37556),I=n(37712);function W(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}var O=function(e,t,n){var r=e<S()().startOf("day"),i=e>S()(t).endOf("day"),o=e<S()(n).startOf("day");return t?n?S()()<=S()(n)?o||i:r||i:e&&r||i:n&&S()()<=S()(n)?o:r},R=function(e,t){var n=parseInt(S()(e).format("HH")),r=parseInt(S()().format("HH")),i=parseInt(S()().format("mm"));if(!e)return{disabledHours:function(){return W(0,r)},disabledMinutes:function(){return W(0,i)}};if(t){var o=parseInt(S()(t).format("HH")),a=parseInt(S()(t).format("mm"));return S()(e).isSame(S()(t),"day")?{disabledHours:function(){return W(0,o)},disabledMinutes:function(){return n<=o?W(0,a):[]}}:void 0}return S()(e).isSame(S()(),"day")?{disabledHours:function(){return W(0,r)},disabledMinutes:function(){return S()(e).isSame(S()(),"hour")&&n<=r?W(0,i):[]}}:void 0},z=p.default.RangePicker,H=m.default.Option;t.ZP=(0,B.connect)((function(e){var t=e.shixunHomeworks,n=e.classroomList,r=e.loading,i=e.user;return{shixunHomeworks:t,classroomList:n,loading:r.effects,user:i}}))((function(e){var t,n,r,o,s,c,d,A,W,V,K=e.shixunHomeworks,Y=(e.loading,e.dispatch),G=e.classroomList,U=e.user,X=(0,B.useParams)(),Q=K.workSetting,J=(K.workList,K.shixunWorkList,K.headerInfo),q=K.changeData,_=(0,f.useState)(!1),$=h()(_,2),ee=$[0],te=$[1],ne=(0,f.useState)(!1),re=h()(ne,2),ie=re[0],oe=re[1],ae=(0,f.useState)([]),se=h()(ae,2),le=se[0],ce=se[1],ue=(0,f.useState)([]),de=h()(ue,2),he=de[0],fe=de[1],pe=(0,f.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:D.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1}),me=h()(pe,2),ve=me[0],ge=me[1],ye=(0,f.useState)({}),xe=h()(ye,2),be=xe[0],we=xe[1],Ce=(0,f.useState)({}),ke=h()(Ce,2),Ae=ke[0],Se=ke[1];(0,f.useEffect)((function(){return function(){ce([].concat())}}),[]),(0,f.useEffect)((function(){te(!(0,E.GJ)())}),[(0,E.GJ)()]);(0,f.useEffect)((function(){var e,t;if(null!=Q&&Q.course_id){Object.keys(ve).map((function(e){ve[e]=Q[e]})),ve.allow_late&&ve.unified_late||(ve.late_penalty=20,ve.penalty_type=D.Q.Percent),ve.unified_setting||(ve.unified_late=!1,ve.unified_anonymous_comment=!1,ve.unified_anonymous_appeal=!1),le=JSON.parse(JSON.stringify(Q.group_settings.map((function(e){return u()(u()({},e),{},{group_name:[e.group_name]})})).filter((function(e){return null!==e.publish_time})))),he=JSON.parse(JSON.stringify(Q.allow_late_settings.map((function(e){return u()(u()({},e),{},{group_name:[e.group_name]})})).filter((function(e){return null!==e.late_time})))),ge(u()({},ve));var n=(0,M.QE)((null===(e=le)||void 0===e?void 0:e.length)>0?le:[]);ce(l()(n)),(null===(t=he)||void 0===t?void 0:t.length)<=0?fe([{penalty_type:D.Q.Percent,late_penalty:20}]):fe(l()(he))}}),[Q]);var Ee=function(){var e=a()(i()().mark((function e(){var t,n,r,o,a,s;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(2!==(null==U||null===(t=U.userInfo)||void 0===t?void 0:t.user_status)){e.next=3;break}return(0,Z.Rd)(),e.abrupt("return");case 3:if((o=JSON.parse(JSON.stringify(ve))).challenge_settings.filter((function(e){return!e.hide})),o.categoryId=X.categoryId,null===(n=o.challenge_settings)||void 0===n||!n.every((function(e){return!e.checked}))){e.next=9;break}return v.ZP.warning("关卡不能全部设置为可不做"),e.abrupt("return");case 9:if(console.log(le),ve.unified_setting){e.next=14;break}le=null===(r=le)||void 0===r?void 0:r.map((function(e){var t;if(!e.publish_time||!e.end_time)throw v.ZP.error("请把发布时间填写完整"),new String("请把发布时间填写完整");if(!e.group_name)throw v.ZP.error("请选择分班名称"),new String("请选择分班名称");return e.group_name="string"==typeof(null==e?void 0:e.group_name)?[null==e?void 0:e.group_name]:null==e?void 0:e.group_name,e.group_id=null===(t=Q.group_settings)||void 0===t?void 0:t.filter((function(t){var n;return null==e||null===(n=e.group_name)||void 0===n?void 0:n.includes(t.group_name)})).map((function(e){return e.group_id||e.id})).toString().split(","),e})),e.next=17;break;case 14:if(ve.publish_time&&ve.end_time){e.next=17;break}throw v.ZP.error("发布截止时间不能为空"),new String("发布截止时间不能为空");case 17:if(o.group_settings=le,!ve.allow_late){e.next=30;break}if(!ve.unified_late){e.next=28;break}if(!(null===ve.late_penalty||void 0===ve.late_penalty||ve.late_penalty<0||ve.late_penalty>100)){e.next=23;break}throw v.ZP.error("迟交扣分填写区间为0~100"),new String("迟交扣分填写区间为0~100");case 23:if(ve.late_time){e.next=26;break}throw v.ZP.error("请把截止时间填写完整"),new String("请把截止时间填写完整");case 26:e.next=30;break;case 28:he=null===(a=he)||void 0===a?void 0:a.map((function(e){var t;if(null===e.late_penalty||void 0===e.late_penalty||e.late_penalty<0||e.late_penalty>100)throw v.ZP.error("迟交扣分填写区间为0~100"),new String("迟交扣分填写区间为0~100");if(!e.late_time)throw v.ZP.error("请把截止时间填写完整"),new String("请把截止时间填写完整");if(!e.group_name)throw v.ZP.error("请选择分班名称"),new String("请选择分班名称");return e.group_name="string"==typeof(null==e?void 0:e.group_name)?[null==e?void 0:e.group_name]:null==e?void 0:e.group_name,e.group_id=null==e||null===(t=e.group_name)||void 0===t||null===(t=t.map((function(e){var t,n=null===(t=Q.group_settings)||void 0===t||null===(t=t.filter((function(t){return(null==t?void 0:t.group_name)===e})))||void 0===t?void 0:t[0];return null==n?void 0:n.group_id})))||void 0===t?void 0:t.toString().split(","),e})),o.allow_late_settings=he;case 30:return e.next=32,(0,F.Tr)({homework_common_ids:[parseInt(X.categoryId)],course_id:X.coursesId,type:"homework_common"});case 32:0===(null==(s=e.sent)?void 0:s.student_count)?Le(o):(Se(o),we(s));case 34:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Le=function(e){var t;if(null!==e.total_score)if(null!=e&&e.work_efficiency&&null===e.eff_score)v.ZP.warning("效率分不能为空");else{var n=e.challenge_settings.reduce((function(e,t){return e+Number(t.challenge_score)}),0);if((null==n?void 0:n.toFixed(10))===(null===(t=e.total_score-e.eff_score)||void 0===t?void 0:t.toFixed(10))){var r={shixun_evaluation:e.shixun_evaluation,challenge_settings:e.challenge_settings},o=function(){var t,n=function(){var t=a()(i()().mark((function t(){return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return oe(!0),t.next=3,(0,L.ZP)("/api/homework_commons/".concat(X.categoryId,"/publish_setting.json"),{method:"post",body:u()({},e)});case 3:0===t.sent.status&&(v.ZP.success("更新成功"),Y({type:"shixunHomeworks/getWorkSetting",payload:u()({},X)}),Y({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:u()({},X)})),oe(!1);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();(0,N.isEqual)(q,r)||null!=J&&null!==(t=J.homework_status)&&void 0!==t&&t.includes("未发布")?n():g.Z.confirm({title:"更新成绩",content:"您改动了本次作业的关卡得分设置,这可能导致已完成作业的学生的成绩产生错误。点击“确定”按钮将保存最新设置并按最新设置更新全班成绩。",okText:"确认",cancelText:"取消",onOk:n})};null==Q||!Q.high_resources_consume||null!=Q&&Q.high_resources_consume_permission?o():Y({type:"classroomList/setActionTabs",payload:{key:"授权使用",id:X.coursesId,type:"shixun",type_id:X.categoryId,name:Q.homework_name,fn:function(){o()}}})}else v.ZP.warning("效率分加关卡任务总分必须等于总分值:".concat(e.total_score,"分"))}else v.ZP.warning("总分值不能为空")},Ne=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"group_id";return t?t.find((function(t){return t[r]===e})):null==Q||null===(n=Q.group_settings)||void 0===n?void 0:n.find((function(t){return t.group_id[0]===e}))},Me=((null==Q?void 0:Q.allow_late)||(null==Q||Q.anonymous_comment),function(e){var t,n,r=Ne(e,null==Q?void 0:Q.allow_late_settings,"id"),i=Ne(e,null==Q?void 0:Q.anonymous_comment_settings),o=Ne(e);return(null==Q?void 0:Q.allow_late)&&r&&S()(null==r?void 0:r.late_time)<=S()()||(null==Q?void 0:Q.anonymous_comment)&&i&&null!==(null==i?void 0:i.evaluation_start)||null!=(null===(t=(S()(null==o?void 0:o.end_time)<=S()()&&(null==Q||null===(n=Q.allow_late_settings)||void 0===n?void 0:n.filter((function(t){return t.group_id.includes(e)}))))[0])||void 0===t?void 0:t.late_time)}),Pe=(0,f.useMemo)((function(){return(null==Q?void 0:Q.allow_late)||(null==Q?void 0:Q.all_group_late)}),[Q,J]),Be=null==Q?void 0:Q.anonymous_comment,De=function(e){if(!e)return!1;var t=Ne(e,null==Q?void 0:Q.anonymous_comment_settings);return(null==Q?void 0:Q.anonymous_comment)&&t&&null!==(null==t?void 0:t.evaluation_start)},Ze=function(e,t){var n,r,i,o,a,s;null!=e&&e.group_id||(e.group_id=(a=null==e?void 0:e.group_name,s=null==Q?void 0:Q.group_settings,null==a?void 0:a.map((function(e){var t;return null==s||null===(t=s.find((function(t){return t.value===e})))||void 0===t?void 0:t.id})))),Y({type:"classroomList/setActionTabs",payload:{key:"分班发布-发布规则拆分",data:e,index:t,rangePickerDisabled:!(null==e||null===(n=e.group_id)||void 0===n||null===(n=n[0])||void 0===n||!n.publish_time)&&(ee||!(S()()<=S()(null===(r=Ne(null==e||null===(i=e.group_id)||void 0===i?void 0:i[0]))||void 0===r?void 0:r.publish_time))&&[!0,Me(null==e||null===(o=e.group_id)||void 0===o?void 0:o[0])]),disabledDate:null==Q?void 0:Q.course_end_date}})};return(0,I.jsxs)("section",{className:P.Z.form,children:[(0,I.jsxs)("div",{className:P.Z.title,children:["作业发布",(0,I.jsx)("span",{className:"c-grey-666 font14",style:{fontWeight:400},children:"(作业一旦发布后不可变更试题发布模式)"})]}),(0,I.jsxs)("div",{children:[(0,I.jsxs)("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},children:[(0,I.jsxs)(y.ZP.Group,{disabled:ee||!(null!=J&&null!==(t=J.homework_status)&&void 0!==t&&t.includes("未发布"))||(0,E.Rm)()&&!(null!==(n=G.AssistantObject.practice)&&void 0!==n&&n.can_publish),value:ve.unified_setting,onChange:function(e){var t;null!=J&&null!==(t=J.homework_status)&&void 0!==t&&t.includes("未发布")?(ve.unified_setting=!ve.unified_setting,ve.unified_setting||(ve.unified_late=!1,fe([{late_penalty:5}])),ge(Object.assign({},ve)),!1!==ve.unified_setting||""!=le?ve.unified_setting&&(ce([]),fe([{late_penalty:5}])):ce(le.concat({}))):v.ZP.error("已发布,不能再修改统一设置")},children:[(0,I.jsx)(y.ZP,{value:!0,disabled:ee||!(null!=Q&&Q.manage_all_group),style:{marginRight:"50px"},children:"统一发布"}),(0,I.jsx)(y.ZP,{disabled:ee||!(null!=Q&&null!==(r=Q.group_settings)&&void 0!==r&&r.length),value:!1,children:"分班发布"})]}),0===(null==Q||null===(o=Q.group_settings)||void 0===o?void 0:o.length)&&(0,I.jsx)("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"},children:"(本课堂无分班,仅支持选择“统一发布“)"})]}),ve.unified_setting&&(0,I.jsxs)("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"},children:[(0,I.jsxs)(x.Z,{align:"middle",children:[(0,I.jsx)(b.Z,{style:{marginLeft:"23px"},children:"发布时间"}),(0,I.jsx)(b.Z,{className:"ml10",children:(0,I.jsx)(p.default,{size:"large",disabled:ee||!(null!=J&&null!==(s=J.homework_status)&&void 0!==s&&s.includes("未发布")||null!=J&&null!==(c=J.homework_status)&&void 0!==c&&c.includes("未开始"))||(0,E.Rm)()&&!(null!==(d=G.AssistantObject.practice)&&void 0!==d&&d.can_publish),style:{width:170},placeholder:"请选择发布时间",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:function(e){return O(e,null==Q?void 0:Q.course_end_date)},disabledTime:function(e){return R(e)},value:ve.publish_time?S()(ve.publish_time):"",onChange:function(e,t){ve.publish_time=t,""!=ve.end_time&&ve.end_time||!ve.unified_setting||(ve.end_time=S()(e).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ge(Object.assign({},ve))}})})]}),(0,I.jsxs)(x.Z,{align:"middle",className:"pl30",children:[(0,I.jsx)(b.Z,{children:"截止时间"}),(0,I.jsx)(b.Z,{className:"ml10",children:(0,I.jsx)(p.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"请选择截止时间",showTime:{format:"HH:mm",defaultValue:S()((0,M.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(null==Q?void 0:Q.allow_late)&&(null==Q?void 0:Q.homework_status.includes("已截止"))||ee||(null==Q?void 0:Q.allow_late)&&S()()>=S()(null==Q?void 0:Q.end_time)||(0,E.Rm)()&&!(null!==(A=G.AssistantObject.practice)&&void 0!==A&&A.can_publish),disabledDate:function(e){return O(e,null==Q?void 0:Q.course_end_date,ve.publish_time)},disabledTime:function(e){return R(e,ve.publish_time)},value:ve.end_time?S()(ve.end_time):"",onChange:function(e,t){ve.end_time=t,ge(Object.assign({},ve))}})})]})]}),!ve.unified_setting&&(null===(W=le)||void 0===W?void 0:W.length)>0&&(0,I.jsx)(x.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"},children:le&&le.map((function(e,t){var n,r,i,o,a,s,c,d;return(0,I.jsx)(b.Z,{span:24,children:(0,I.jsxs)(x.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:t==(null===(n=le)||void 0===n?void 0:n.length)-1?"0px":"10px"},children:[(0,I.jsxs)("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"},children:["发布规则",t+1]}),(0,I.jsx)(m.default,{disabled:ee||!(null!=J&&null!==(r=J.homework_status)&&void 0!==r&&r.includes("未发布")&&e.id||S()()<S()(null==e?void 0:e.publish_time))&&!(null==e||!e.publish_time)||(0,E.Rm)()&&!(null!==(i=G.AssistantObject.practice)&&void 0!==i&&i.can_publish),mode:"multiple",className:P.Z.multiple_select,style:{width:"250px"},value:e.group_name,placeholder:"请选择分班名称",onChange:function(n){var r;if(!(0,E.Rm)()||null!==(r=G.AssistantObject.practice)&&void 0!==r&&r.can_publish){le[t].group_name=n,le[t].group_id=e.group_id;var i=(0,N.flattenDeep)(le.map((function(e){return e.group_name}))),o=he.map((function(e){var t=(null==e?void 0:e.group_name)||[];return u()(u()({},e),{},{group_name:(0,N.remove)(t,(function(e){return i.includes(e)}))})}));fe(o),ce(le.slice())}else v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")},maxTagCount:4,maxTagPlaceholder:function(n){return(0,I.jsxs)("div",{style:{cursor:"pointer"},onClick:function(){return Ze(e,t)},children:["+",null==n?void 0:n.length]})},children:Q.group_settings&&Q.group_settings.map((function(e){if(!le.map((function(e){return e.group_name})).flat().includes(e.group_name))return(0,I.jsx)(H,{value:e.group_name,children:e.group_name},e.id)}))}),(0,I.jsx)("div",{className:"ml20",children:(0,I.jsx)(z,{size:"large",ranges:{"此刻":[e.publish_time?S()(e.publish_time):S()(),S()()]},allowClear:!1,disabled:ee||!(S()()<=S()(null===(o=Ne(null==e||null===(a=e.group_id)||void 0===a?void 0:a[0]))||void 0===o?void 0:o.publish_time))&&[!0,Me(null==e||null===(s=e.group_id)||void 0===s?void 0:s[0])],style:{width:605},placeholder:["发布时间(学生收到作业时间)","截止时间(学生“按时”提交作品时间截点)"],disabledDate:function(e){return O(e,null==Q?void 0:Q.course_end_date)},disabledTime:function(e){return R(e)},showTime:{showNow:!0,format:"HH:mm",defaultValue:[S()((0,M.U6)(),"HH:mm"),S()((0,M.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[e.publish_time?S()(e.publish_time):void 0,e.end_time?S()(e.end_time):void 0],onChange:function(n,r){var i;!(0,E.Rm)()||null!==(i=G.AssistantObject.practice)&&void 0!==i&&i.can_publish?(le[t].publish_time=r[0],!e.end_time&&r[0]?le[t].end_time=S()(r[0]).add(7,"days"):le[t].end_time=r[1],ce(l()(le))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")},onCalendarChange:function(e,n,r){if(null!=n&&n[0]&&!n[1]){var i=S()(n[0]).add(7,"days");le[t].publish_time=n[0],le[t].end_time=i,ce(l()(le))}}})}),!ee&&(0,I.jsxs)("div",{style:{display:"flex",width:"50px"},children:[(null==e||null===(c=e.group_id)||void 0===c?void 0:c.length)>1&&(0,I.jsx)(w.Z,{title:"规则拆分",children:(0,I.jsx)("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:function(){return Ze(e,t)}})}),le.length<(null==Q||null===(d=Q.group_settings)||void 0===d?void 0:d.length)&&(0,I.jsx)("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:function(){var e;!(0,E.Rm)()||null!==(e=G.AssistantObject.practice)&&void 0!==e&&e.can_publish?ce(le.concat({})):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}}),((null==e?void 0:e.publish_time)&&S()()<S()(null==e?void 0:e.publish_time)||!(null!=e&&e.publish_time))&&0!=t&&(0,I.jsx)("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:function(){var e=(0,N.cloneDeep)(he);e.forEach((function(e,n){e.group_name&&(e.group_name=e.group_name.filter((function(e){var n;return!(null!==(n=le[t].group_name)&&void 0!==n&&n.includes(e))})))})),le=le.filter((function(e,n){return t!==n})),fe(e),ce(le.slice()),setTimeout((function(){return ce(le.slice())}),10)}})]})]})},t)}))})]}),(0,I.jsxs)(x.Z,{children:[(0,I.jsx)(b.Z,{children:(0,I.jsxs)("div",{className:P.Z.title,style:{marginTop:"30px"},children:["补交设置",(0,I.jsx)("span",{className:"c-grey-666 font14",style:{fontWeight:400},children:"(可对在作业发布时间范围内未完成作业的学生,延长时间进行补交)"})]})}),(0,I.jsx)(b.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"},children:(0,I.jsx)(C.Z,{checked:ve.allow_late,disabled:ee||Pe,onChange:function(e){var t;!(0,E.Rm)()||null!==(t=G.AssistantObject.practice)&&void 0!==t&&t.can_late?(e.target.checked&&g.Z.warning({title:"开启补交提示",centered:!0,width:480,content:(0,I.jsxs)("div",{style:{padding:10,background:"#f5f6f9"},children:[(0,I.jsx)("div",{children:"1.开启补交后不可关闭,补交方式提交保存后不可修改;"}),(0,I.jsx)("div",{children:"2.补交截止时间必须晚于作业截止时间;"}),(0,I.jsx)("div",{children:"3.班级阶段进入“补交中”则不可变更作业截止时间。"})]})}),ve.allow_late=!ve.allow_late,""==he&&fe([{late_penalty:5}]),ge(Object.assign({},ve))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")},children:(0,I.jsx)("strong",{children:"开启补交"})})})]}),(null==ve?void 0:ve.allow_late)&&(0,I.jsxs)("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"},children:[(0,I.jsxs)("div",{style:{display:"flex"},children:[(0,I.jsx)("div",{style:{width:"110px",textAlign:"right"},children:"补交方式"}),(0,I.jsxs)(y.ZP.Group,{style:{marginLeft:"20px"},disabled:ee||(null==Q?void 0:Q.anonymous_comment)||(null==Q?void 0:Q.allow_late),value:ve.unified_late,onChange:function(e){var t;!(0,E.Rm)()||null!==(t=G.AssistantObject.practice)&&void 0!==t&&t.can_late?(ve.unified_late=e.target.value,""!=he||e.target.value||fe([{penalty_type:D.Q.Percent,late_penalty:20}]),ge(u()({},ve))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")},children:[(null==ve?void 0:ve.unified_setting)&&(0,I.jsx)(y.ZP,{value:!0,disabled:!(null!=Q&&Q.manage_all_group),style:{marginRight:"50px"},children:"统一补交"}),(null==Q||null===(V=Q.group_settings)||void 0===V?void 0:V.length)>0&&(0,I.jsx)(y.ZP,{value:!1,children:"分班补交"})]})]}),null!=ve&&ve.unified_late?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(x.Z,{align:"middle",style:{marginTop:"10px"},children:[(0,I.jsx)(b.Z,{style:{width:"110px",textAlign:"right"},children:"补交扣分"}),(0,I.jsx)(b.Z,{className:"ml20",children:(0,I.jsx)(D.Z,{disabled:ee||Be,value:{type:ve.penalty_type,inputValue:ve.late_penalty},onChange:function(e){var t;!(0,E.Rm)()||null!==(t=G.AssistantObject.practice)&&void 0!==t&&t.can_late?ge(u()(u()({},ve),{},{late_penalty:e.inputValue,penalty_type:e.type})):v.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能")}})}),(0,I.jsx)(b.Z,{flex:"1",className:"ml5",children:(0,I.jsx)("span",{className:"c-grey-c ml10",children:ve.penalty_type===D.Q.Number?"(补交时按照学生总成绩扣分)":"(学生最终得分=补交前得分+补交阶段增加的分值*(100%-百分比%))"})})]}),(0,I.jsxs)(x.Z,{align:"middle",style:{marginTop:"15px"},children:[(0,I.jsx)(b.Z,{style:{width:"110px",textAlign:"right"},children:"补交截止时间"}),(0,I.jsx)(b.Z,{className:"ml20",children:(0,I.jsx)(p.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"请选择截止时间",showTime:{format:"HH:mm",defaultValue:S()((0,M.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ee||Be,value:ve.late_time?S()(ve.late_time):"",disabledDate:function(e){return O(e,null==Q?void 0:Q.course_end_date)},onChange:function(e,t){var n;!(0,E.Rm)()||null!==(n=G.AssistantObject.practice)&&void 0!==n&&n.can_late?(ve.late_time=t,ge(Object.assign({},ve))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}})})]})]}):he.map((function(e,t){var n;return(0,I.jsx)(b.Z,{span:24,children:(0,I.jsxs)(x.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"},children:[(0,I.jsxs)("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"},children:["补交规则",t+1]}),(0,I.jsx)(m.default,{disabled:ee||!(null!=J&&null!==(n=J.homework_status)&&void 0!==n&&n.includes("未发布"))&&e.id||(null==Q?void 0:Q.anonymous_comment),mode:"multiple",className:P.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:"string"==typeof e.group_name?[e.group_name]:e.group_name,placeholder:"请选择分班名称",onChange:function(n){var r;!(0,E.Rm)()||null!==(r=G.AssistantObject.practice)&&void 0!==r&&r.can_late?(he[t].group_name=n,he[t].group_id=e.group_id,fe(he.slice())):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")},children:Q.group_settings&&Q.group_settings.map((function(e){var t=he.map((function(e){return e.group_name})).flat(),n=le.map((function(e){return e.group_name})).flat();if(null!=ve&&ve.unified_setting){if(!t.includes(e.group_name))return(0,I.jsx)(H,{value:e.group_name,children:e.group_name},e.id)}else if(n.includes(e.group_name)&&!t.includes(e.group_name))return(0,I.jsx)(H,{value:e.group_name,children:e.group_name},e.id)}))}),(0,I.jsx)("div",{className:"ml20 mr10",children:"补交扣分"}),(0,I.jsx)(D.Z,{disabled:ee||De(e.id),value:{type:e.penalty_type,inputValue:e.late_penalty},onChange:function(e){var n;!(0,E.Rm)()||null!==(n=G.AssistantObject.practice)&&void 0!==n&&n.can_late?(he[t].late_penalty=e.inputValue,he[t].penalty_type=e.type,fe(l()(he))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}}),(0,I.jsx)("div",{className:"ml20 mr10",children:"补交截止时间"}),(0,I.jsx)(p.default,{size:"large",disabled:ee||De(e.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:S()((0,M.U6)(),"HH:mm")},placeholder:"请选择截止时间",disabledDate:function(e){return O(e,null==Q?void 0:Q.course_end_date)},format:"YYYY-MM-DD HH:mm",value:null!=e&&e.late_time?S()(e.late_time):void 0,onChange:function(e,n){var r;!(0,E.Rm)()||null!==(r=G.AssistantObject.practice)&&void 0!==r&&r.can_late?(he[t].late_time=n,fe(l()(he))):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}}),!ee&&(0,I.jsxs)("div",{style:{display:"flex",width:"50px"},children:[(0,I.jsx)("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:function(){var e;!(0,E.Rm)()||null!==(e=G.AssistantObject.practice)&&void 0!==e&&e.can_late?fe(he.concat({penalty_type:D.Q.Percent,late_penalty:20})):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}}),t>0&&!e.id&&(0,I.jsx)("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:function(){var e;!(0,E.Rm)()||null!==(e=G.AssistantObject.practice)&&void 0!==e&&e.can_late?(he=he.filter((function(e,n){return t!==n})),fe(he.slice()),setTimeout((function(){return fe(he.slice())}),10)):v.ZP.warning("您未获取此权限,需向课堂管理员申请权限才能使用此功能")}})]})]})},t)}))]}),!ee&&(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(k.ZP,{type:"primary",size:"large",loading:ie,style:{width:"138px",marginTop:"30px"},onClick:function(){return Ee()},children:"保存"})}),(0,I.jsx)(T.Z,{onConfirm:function(e,t){var n;(n=le).splice.apply(n,[e,0].concat(l()(t))),le.splice(e+t.length,1);var r=(0,M.QE)(l()(le));ce(l()(r))}}),(0,I.jsx)(j.Z,{resdata:be,type:"shixun",okloading:ie,oktext:0===(null==be?void 0:be.can_copy_num)?"确定":"一键复制并替换",onok:function(){var e=a()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return oe(!0),e.next=3,(0,L.ZP)("/api/courses/".concat(X.coursesId,"/batch_copy_shixuns.json"),{method:"post",body:{type:"homework_common",ids:[parseInt(X.categoryId)]}});case 3:n=e.sent,oe(!1),0===(null==n?void 0:n.status)&&Le(Ae);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})]})}))},68045:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(37205),i=n.n(r),o=n(79800),a=n.n(o),s=n(59301),l=n(5030),c=n(16326),u=n(62957),d=n(37568),h=n(6767),f=n(77019),p=n(5269),m="title_tooltip___LLdrn",v="multiple_select___kDXUm",g="modal_con___ERnkW",y=n(56656),x=n.n(y),b=n(32985),w=n(90059),C=n(37712),k=c.default.RangePicker,A=(0,l.connect)((function(e){return{classroomList:e.classroomList}}))((function(e){var t=e.dispatch,n=e.classroomList,r=e.onConfirm,o=(0,s.useState)([]),l=a()(o,2),c=l[0],y=l[1],A=(0,s.useState)([]),S=a()(A,2),E=S[0],L=S[1],N=(0,s.useState)(""),M=a()(N,2),P=M[0],B=M[1],D=(0,s.useState)([!1,!1]),Z=a()(D,2),T=Z[0],j=Z[1];(0,s.useEffect)((function(){if("分班发布-发布规则拆分"===n.actionTabs.key){var e,t,r,o;if(console.log(null===(e=n.actionTabs)||void 0===e?void 0:e.rangePickerDisabled),null!==(t=n.actionTabs)&&void 0!==t&&t.rangePickerDisabled)j(null===(o=n.actionTabs)||void 0===o?void 0:o.rangePickerDisabled);else j([!1,!1]);var a=n.actionTabs.data,s=null==a||null===(r=a.group_name)||void 0===r?void 0:r.map((function(e,t){var n;return{group_id:null==a?void 0:a.group_id[t],group_name:null==a?void 0:a.group_name[t],is_admin:null==a?void 0:a.is_admin,end_time:null==a?void 0:a.end_time,publish_time:Array.isArray(null==a?void 0:a.publish_time)?null==a||null===(n=a.publish_time)||void 0===n?void 0:n[0]:null==a?void 0:a.publish_time}}));s&&(y(i()(s)),L(i()(s)))}}),[n.actionTabs]);var F=function(){t({type:"classroomList/setActionTabs",payload:{}}),B("")};return(0,C.jsx)(u.Z,{width:980,title:(0,C.jsxs)("div",{style:{fontWeight:"bold",display:"flex"},children:[(0,C.jsxs)("div",{children:["分班发布-发布规则拆分",(0,C.jsx)("span",{className:m,children:"(当分班发布时间和截止时间不相同时候,班级自动拆分出去新起规则)"})]}),(0,C.jsx)(d.Z.Search,{allowClear:!0,placeholder:"请输入关键字进行搜索",style:{width:220,marginLeft:"60px"},value:P,onChange:function(e){B(e.target.value.trim()),function(e){if(e){var t=null==E?void 0:E.filter((function(t){var n;return null==t||null===(n=t.group_name)||void 0===n||null===(n=n.toLowerCase())||void 0===n?void 0:n.includes(null==e?void 0:e.toLowerCase())}));y(t)}else y(E)}(e.target.value.trim())}})]}),centered:!0,maskClosable:!1,open:"分班发布-发布规则拆分"===n.actionTabs.key,onCancel:function(){return F()},onOk:function(){var e;E.some((function(e){return!e.end_time||!e.publish_time}))?h.ZP.warning("请将列表数据中的发布时间和截止时间补充完整!"):(r(null===(e=n.actionTabs)||void 0===e?void 0:e.index,E),F())},children:(0,C.jsx)("div",{className:g,children:(0,C.jsx)(f.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"},children:(null==c?void 0:c.length)>0?c.map((function(e,t){return(0,C.jsx)(p.Z,{span:24,children:(0,C.jsxs)(f.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:t==(null==c?void 0:c.length)-1?"0px":"10px"},children:[(0,C.jsx)("div",{className:v,title:null==e?void 0:e.group_name,children:null==e?void 0:e.group_name}),(0,C.jsx)("div",{className:"ml20",children:(0,C.jsx)(k,{size:"large",allowClear:!1,disabled:T,style:{width:600},placeholder:["发布时间(学生收到作业时间)","截止时间(学生“按时”提交作品时间截点)"],disabledDate:function(e){var t;return(0,b.Q8)(e,null===(t=n.actionTabs)||void 0===t?void 0:t.disabledDate)},disabledTime:function(e){return(0,b.d0)(e)},showTime:{showNow:!0,format:"HH:mm",defaultValue:[x()((0,b.U6)(),"HH:mm"),x()((0,b.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(null==e?void 0:e.publish_time)&&[x()(null==e?void 0:e.publish_time),null!=e&&e.end_time?x()(null==e?void 0:e.end_time):void 0],onChange:function(n,r){c[t].publish_time=r[0],c[t].end_time=r[1],y(i()(c)),E.forEach((function(t){t.group_id===(null==e?void 0:e.group_id)&&(t.publish_time=r[0],t.end_time=r[1])})),L(i()(E))},onCalendarChange:function(n,r,o){if(null!=r&&r[0]&&!r[1]){var a=x()(r[0]).add(7,"days");c[t].publish_time=r[0],c[t].end_time=a,y(i()(c)),E.forEach((function(t){t.group_id===(null==e?void 0:e.group_id)&&(t.publish_time=r[0],t.end_time=a)})),L(i()(E))}}})}),T[0]?(0,C.jsx)("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):(0,C.jsx)("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:function(){c.splice(t,1),y(i()(c)),E.forEach((function(t,n){t.group_id===(null==e?void 0:e.group_id)&&E.splice(n,1)})),L(i()(E))}})]})},t)})):(0,C.jsx)(w.Z,{})})})})}))},52802:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return be}});var r=n(59301),i=n(5030),o=n(458),a=n(82242),s=n.n(a),l=n(37205),c=n.n(l),u=n(7557),d=n.n(u),h=n(41498),f=n.n(h),p=n(79800),m=n.n(p),v={flex_box_center:"flex_box_center___Oy3Ur",flex_space_between:"flex_space_between___tSEQI",flex_box_vertical_center:"flex_box_vertical_center___ub8YO",flex_box_center_end:"flex_box_center_end___MdOG3",flex_box_column:"flex_box_column___yn_xj",wrap:"wrap___j5lSK",teacherList:"teacherList___eiRwI",list:"list___xa00z",top:"top___Cgsez",tag:"tag___J4aum",name:"name___tDF5G",num:"num___pHt23",check:"check___kslxc",center:"center___FWR7i",img:"img___xWZT8",col:"col___Wszet",bottom:"bottom___ErSvm"},g=n(25399),y=n(62957),x=n(6767),b=n(54172),w=n(77019),C=n(29787),k=n(13747),A=n(82326),S=n(12532),E=n(51158),L=n(67310),N=n(32985),M=n(6816),P=n(90059),B="wrap___Lk1KU",D="des___NrGnB",Z="row____lS7x",T="list___PEHaz",j="actionBtns___eC3BF",F="state___PF2x0",I="tag0___HB3U8",W="tag1___YmXRD",O="tag2___l3QtF",R="tag3___dBINp",z=n(76603),H=n(56800),V=n(37712),K=function(e){var t,n=e.visible,o=e.data,a=void 0===o?{}:o,l=e.onSucceed,c=void 0===l?function(){}:l,u=e.onClose,h=void 0===u?function(){}:u,p=(0,i.useParams)(),v=(0,r.useState)(!0),g=m()(v,2),w=g[0],C=g[1],k=(0,r.useState)(1),A=m()(k,2),E=A[0],P=A[1],K=(0,r.useState)(0),Y=m()(K,2),G=Y[0],U=Y[1],X=(0,r.useState)([]),Q=m()(X,2),J=Q[0],q=Q[1],_=(0,r.useState)({page:1,per_page:20}),$=m()(_,2),ee=$[0],te=$[1];(0,r.useEffect)((function(){n&&((0,H.tu)()?(ne(ee),P(a.tabs)):C(!1))}),[n]),console.log(a,"data");var ne=function(){var e=f()(d()().mark((function e(t){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),e.next=3,(0,L.ZP)("/api/graduations/".concat(p.id,"/student_tasks/review_list.json"),{method:"get",params:s()(s()({},t),{},{task_id:a.id})});case 3:0===(n=e.sent).status&&(q((null==n?void 0:n.data)||[]),U(null==n?void 0:n.count)),C(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),re=function(){var e=f()(d()().mark((function e(t,n){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,L.ZP)("/api/graduations/".concat(p.id,"/").concat("通过"===n?"student_tasks":"student_tasks/not_pass",".json"),{method:"post",body:{id:t.id}});case 2:0===e.sent.status&&(x.ZP.success("操作成功"),ne(ee),c());case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ie=[{title:"学生姓名",dataIndex:"name",ellipsis:!0,width:110,render:function(e,t){var n;return(0,V.jsx)("span",{children:null==t||null===(n=t.student)||void 0===n?void 0:n.name})}},{title:"学号",dataIndex:"student_id",ellipsis:!0,width:140,render:function(e,t){var n;return(0,V.jsx)("span",{children:(null==t||null===(n=t.student)||void 0===n?void 0:n.student_id)||"--"})}},{title:"专业",dataIndex:"major",ellipsis:!0,render:function(e,t){return(0,V.jsx)("span",{className:"c-grey-333",children:e})}},{title:"选题审核状态",dataIndex:"state",width:120,ellipsis:!0,render:function(e){return(0,V.jsxs)(V.Fragment,{children:[0===e&&(0,V.jsx)("div",{className:I,children:"待审核"}),1===e&&(0,V.jsx)("div",{className:W,children:"已通过"}),2===e&&(0,V.jsx)("div",{style:{color:"#E30000"},className:O,children:"已驳回"}),3===e&&(0,V.jsx)("div",{className:R,children:"已撤回"})]})}},{title:"申请时间",width:190,dataIndex:"time",render:function(e){return(0,V.jsx)("span",{style:{color:"#232B40"},children:e})}},{title:(0,V.jsx)("span",{children:"操作"}),dataIndex:"action",key:"action",align:"right",width:120,render:function(e,t){return(0,V.jsx)("span",{className:j,children:0===t.state?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("span",{onClick:function(){return re(t,"通过")},children:"通过"}),(0,V.jsx)("span",{onClick:function(){return re(t,"驳回")},className:"ml10",children:"驳回"})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("b",{children:"通过"}),(0,V.jsx)("b",{className:"ml10",children:"驳回"})]})})}}];return(0,V.jsx)(y.Z,{centered:!0,destroyOnClose:!0,onCancel:h,open:n,footer:null,title:(0,H.tu)()?(0,V.jsx)(S.tp,{dataSource:[{id:1,name:"课题详情"},{id:2,name:"申请记录"}],value:E,onChange:function(e){return P(e)}}):"课题详情",width:1e3,afterClose:function(){te({page:1,per_page:20})},children:(0,V.jsxs)("div",{className:B,children:[1===E&&(0,V.jsxs)("div",{className:D,children:[(0,V.jsxs)("div",{className:Z,style:{alignItems:"center"},children:[(0,V.jsx)("span",{children:"课题名称"}),(0,V.jsx)("span",{style:{maxWidth:(0,H.tu)()?"100%":"769px"},title:a.name,children:a.name||"--"}),(0,H.h)()&&(0,V.jsxs)("div",{className:F,children:[0===a.state&&(0,V.jsx)("div",{className:I,children:"待审核"}),1===a.state&&(0,V.jsx)("div",{className:W,children:"已通过"}),2===a.state&&(0,V.jsx)("div",{className:O,children:"已驳回"}),3===a.state&&(0,V.jsx)("div",{className:R,children:"已撤回"})]})]}),(0,V.jsxs)("div",{className:Z,children:[(0,V.jsx)("span",{children:"指导老师"}),(0,V.jsx)("span",{title:a.teacher_names,children:a.teacher_names||"--"})]}),(0,V.jsxs)("div",{className:Z,children:[(0,V.jsx)("span",{children:"课题适合专业"}),(0,V.jsx)("span",{title:a.major,children:a.major||"--"})]}),(0,V.jsxs)("div",{className:Z,children:[(0,V.jsx)("span",{children:"课题来源"}),(0,V.jsx)("span",{title:a.source,children:a.source||"--"})]}),(0,V.jsxs)("div",{className:Z,children:[(0,V.jsx)("span",{children:"课题学科方向"}),(0,V.jsx)("span",{title:a.direction,children:a.direction||"--"})]}),(0,V.jsxs)("div",{className:Z,children:[(0,V.jsx)("span",{children:"课题介绍"}),(0,V.jsx)("span",{children:a.description?(0,V.jsx)(z.Z,{value:a.description}):"--"})]}),(0,V.jsx)("div",{className:T,children:null==a||null===(t=a.attachments)||void 0===t?void 0:t.map((function(e,t){return(0,V.jsx)("div",{onClick:function(){var t;(0,N.Nd)("","".concat(M.Z.API_SERVER).concat(null==e||null===(t=e.url)||void 0===t?void 0:t.replace("disposition=inline","")))},children:e.title})}))})]}),2===E&&(0,V.jsx)(b.Z,{dataSource:J,bordered:!1,rowKey:function(e){return e.id},columns:ie,loading:w,scroll:{y:500},size:"large",onChange:function(e,t,n){ee.page=null==e?void 0:e.current,ee.per_page=null==e?void 0:e.pageSize,te(s()({},ee)),ne(ee)},pagination:{pageSize:ee.per_page,total:G,current:ee.page,showQuickJumper:!0,showSizeChanger:!0,hideOnSinglePage:!G,size:"default",pageSizeOptions:["10","20","50","100","200"],showTotal:N.rU}}),(0,V.jsx)("div",{style:{height:"20px"}})]})})},Y=n(98149),G=n(42418),U=(0,i.connect)((function(e){return{graduations:e.graduations}}))((function(e){var t,n=e.graduations,a=(e.dispatch,(0,i.useParams)()),l=(0,i.useSearchParams)(),u=m()(l,1)[0],h=(0,r.useState)(1),p=m()(h,2),B=p[0],D=p[1],Z=(0,r.useState)(!1),T=m()(Z,2),j=T[0],F=T[1],I=(0,r.useState)(0),W=m()(I,2),O=W[0],R=W[1],z=(0,r.useState)(0),H=m()(z,2),U=H[0],X=H[1],Q=(0,r.useState)([]),J=m()(Q,2),q=J[0],_=J[1],$=(0,r.useState)([]),ee=m()($,2),te=ee[0],ne=ee[1],re=(0,r.useState)({}),ie=m()(re,2),oe=ie[0],ae=ie[1],se=(0,r.useState)({}),le=m()(se,2),ce=le[0],ue=le[1],de=(0,r.useState)(!0),he=m()(de,2),fe=he[0],pe=he[1],me=(0,r.useState)(!1),ve=m()(me,2),ge=ve[0],ye=ve[1],xe=n.menus,be=(0,r.useRef)(null),we=null!=u&&u.get("state")?Number(null==u?void 0:u.get("state")):"",Ce=xe.find((function(e){return"student_selection"===e.clazz}))||{},ke=xe.find((function(e){return"student_selection"===e.clazz}))||1,Ae=(0,r.useState)({keyword:"",status:we,page:1,per_page:20}),Se=m()(Ae,2),Ee=Se[0],Le=Se[1];(0,r.useEffect)((function(){Ne(Ee)}),[B]);var Ne=function(){var e=f()(d()().mark((function e(t){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!0),e.next=3,(0,L.ZP)("/api/graduations/".concat(null==a?void 0:a.id,"/").concat(1===B?"graduation_tasks":"student_tasks/student_list",".json"),{method:"get",params:t});case 3:0===(n=e.sent).status&&(_((null==n?void 0:n.data)||[]),R(null==n?void 0:n.count),X((null==n?void 0:n.total_count)||0)),F(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Me=[{title:"学生姓名",dataIndex:"name",ellipsis:!0,width:100,render:function(e,t){return(0,V.jsx)(g.Z,{placement:"topLeft",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"学号",ellipsis:!0,width:100,dataIndex:"student_id",render:function(e){return(0,V.jsx)(g.Z,{placement:"topLeft",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"专业",dataIndex:"major",ellipsis:!0,width:110,render:function(e){return(0,V.jsx)(g.Z,{placement:"topLeft",title:e,children:(0,V.jsx)("span",{className:"c-grey-666",children:e||"--"})})}},{title:"课题名称",ellipsis:!0,dataIndex:"graduation_tasks",render:function(e){return(0,V.jsx)(g.Z,{placement:"topLeft",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"指导老师",dataIndex:"teacher",ellipsis:!0,width:110,render:function(e){return(0,V.jsx)(g.Z,{placement:"topLeft",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"双选状态",dataIndex:"status",width:90,render:function(e){return(0,V.jsxs)(V.Fragment,{children:[0===e&&(0,V.jsx)("div",{style:{color:"#E30000"},children:"未达成双选"}),1===e&&(0,V.jsx)("div",{children:"达成双选"})]})}},{title:"操作",dataIndex:"action",align:"right",width:90,render:function(e,t){return(0,V.jsx)("span",{onClick:f()(d()().mark((function e(){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return pe(!0),ye(2),e.next=4,(0,L.ZP)("/api/graduations/".concat(null==a?void 0:a.id,"/graduation_tasks.json"),{method:"get",params:{per_page:1e3,status:0,page:1}});case 4:0===(n=e.sent).status&&(0===t.status?ne(null==n?void 0:n.data):ne([{id:t.task_id,name:t.graduation_tasks}].concat(c()(null==n?void 0:n.data)))),pe(!1),ue(s()(s()({},t),{},{save_task_id:t.task_id}));case 8:case"end":return e.stop()}}),e)}))),className:"current font14 c-light-primary",children:0===t.status?"分配课题":"变更课题"})}}],Pe=function(){var e=f()(d()().mark((function e(t,n){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.stopPropagation(),y.Z.confirm({centered:!0,title:"提示",icon:null,content:"确认取消双选?取消双选后学生需要重新进行选题,且学生在原课题提交的文档将被清空且无法恢复。",okText:"确认",cancelText:"取消",onOk:function(){var e=f()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,L.ZP)("/api/graduations/".concat(a.id,"/student_tasks/").concat(n.ger_id,".json"),{method:"delete"});case 2:0===e.sent.status&&(x.ZP.success("操作成功"),Ne(Ee));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,V.jsxs)("div",{className:v.wrap,children:[(0,V.jsx)(E.Z,{style:{marginBottom:12},title:"学生选题",status:null==Ce?void 0:Ce.status,startAt:null==Ce?void 0:Ce.start_at,endAt:null==Ce?void 0:Ce.end_at}),(0,V.jsx)(S.YG,{value:B,tabBarExtraContent:(0,N.QB)(null==Ce?void 0:Ce.next_start_at)&&(0,V.jsxs)(S.op,{onClick:function(){ye(3)},children:[(0,V.jsx)("i",{className:"iconfont icon-anquanshezhi font14 mr5"}),"学生选题设置"]}),dataSource:[{id:1,name:"选题列表"},{id:2,name:"学生列表"}],onChange:function(e){e!==B&&(Ee.page=1,Ee.keyword="",Ee.status="",_([]),R(0),D(e))}}),!!U&&(0,V.jsxs)(w.Z,{align:"middle",justify:"space-between",style:{margin:"6px 0 14px 0"},children:[(0,V.jsx)(S.qp,{title:"双选状态",className:"mt20",value:Ee.status,onChange:function(e){Ee.status=e,Ee.page=1,Le(Ee),Ne(Ee)},dataSource:[{id:"",name:"全部"},{id:1,name:"达成双选"},{id:0,name:"未达成双选"}],titleWidth:56}),(0,V.jsx)(S.t7,{style:{width:329},placeholder:1===B?"请输入课题名称/指导老师进行搜索":"请输入课题名称/学生姓名/学号进行搜索",value:Ee.keyword,onChange:function(e){Ee.keyword=e,Ee.page=1,Le(Ee),Ne(Ee)}})]}),(0,V.jsx)(C.Z,{spinning:j,children:q.length?2===B?(0,V.jsx)(b.Z,{columns:Me,dataSource:q,pagination:!1,className:"mb30",style:{minHeight:500}}):(0,V.jsx)("div",{className:v.teacherList,children:q.map((function(e){var t,n,r,i,o,a,l;return(0,V.jsxs)("div",{onClick:function(){ae(s()(s()({},e),{},{tabs:1})),ye(1)},className:v.list,children:[(0,V.jsxs)("div",{className:v.top,children:[0===e.status&&(0,V.jsx)("div",{className:v.tag,children:"未达成双选"}),1===e.status&&(0,V.jsx)("div",{className:v.tag,style:{borderColor:"#D6F7EF",color:"#01795D"},children:"达成双选"}),(0,V.jsx)(g.Z,{title:e.name,children:(0,V.jsx)("div",{className:v.name,children:e.name})}),0===e.status&&!(null==e||!e.wait_review_count)&&(0,V.jsx)("div",{className:v.num,children:(null==e?void 0:e.wait_review_count)>99?"99+":null==e?void 0:e.wait_review_count}),(0,V.jsxs)("div",{className:v.check,onClick:function(t){t.stopPropagation(),ae(s()(s()({},e),{},{tabs:2})),ye(1)},children:[(0,V.jsx)("i",{className:"iconfont icon-HISTORY font14 mr5"}),"查看选题申请"]})]}),1===e.status&&(0,V.jsxs)("div",{className:v.center,children:[(0,V.jsx)("img",{className:v.img,src:M.Z.IMG_SERVER+"/images/"+(null==e||null===(t=e.passed_student)||void 0===t?void 0:t.image_url)}),(0,V.jsxs)("div",{className:v.col,children:[(0,V.jsx)("div",{className:"c-black",title:null==e||null===(n=e.passed_student)||void 0===n?void 0:n.name,children:(0,N.Pq)(null==e||null===(r=e.passed_student)||void 0===r?void 0:r.name,6)}),(0,V.jsx)("div",{className:"c-black",children:(null==e||null===(i=e.passed_student)||void 0===i?void 0:i.student_id)||"--"})]}),(0,V.jsxs)("div",{className:v.col,children:[(0,V.jsx)("div",{children:"专业"}),(0,V.jsx)("div",{style:{maxWidth:112},title:null==e||null===(o=e.passed_student)||void 0===o?void 0:o.major,className:"c-grey-666 multi-llipsis1e",children:(null==e||null===(a=e.passed_student)||void 0===a?void 0:a.major)||"--"})]}),(0,V.jsxs)("div",{className:v.col,children:[(0,V.jsx)("div",{children:"申请时间"}),(0,V.jsx)("div",{className:"c-black",children:(null==e||null===(l=e.passed_student)||void 0===l?void 0:l.passed_time)||"--"})]}),(0,V.jsxs)("div",{className:v.col,children:[(0,V.jsx)("div",{children:"选题审核状态"}),(0,V.jsx)("div",{className:"c-grey-333",children:null==e?void 0:e.state_name})]}),(0,V.jsx)(S.op,{onClick:function(t){return Pe(t,e)},style:{marginLeft:"auto"},children:"取消双选"})]}),(0,V.jsxs)("div",{className:v.bottom,children:[(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("div",{children:"指导老师"}),(0,V.jsx)("div",{style:{maxWidth:70},title:null==e?void 0:e.teacher_names,children:(null==e?void 0:e.teacher_names)||"--"})]}),(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("div",{children:"课题来源"}),(0,V.jsx)("div",{style:{maxWidth:100},title:null==e?void 0:e.source,children:(null==e?void 0:e.source)||"--"})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{children:"学科方向"}),(0,V.jsx)("div",{style:{maxWidth:180},title:null==e?void 0:e.direction,children:(null==e?void 0:e.direction)||"--"})]})]})]},e.id)}))}):(0,V.jsx)(P.Z,{customText:!U&&(1===B?(0,V.jsxs)("span",{children:["暂无选题,请先完成",(0,V.jsx)(i.Link,{to:"/graduations/".concat(a.id,"/topics"),children:"课题录入"})]}):(0,V.jsxs)("span",{children:["暂无学生,点击去",(0,V.jsx)(i.Link,{to:"/graduations/".concat(a.id,"/students"),children:"邀请学生"}),"加入毕设"]}))})}),(0,V.jsx)(k.Z,{current:Ee.page,showQuickJumper:!0,showSizeChanger:!0,hideOnSinglePage:!O,pageSize:Ee.per_page,className:"mb30",pageSizeOptions:["10","20","50","100","200"],total:O,showTotal:N.rU,onChange:function(e,t){Ee.page=e,Ee.per_page=t,Le(Ee),Ne(Ee)}}),(0,V.jsx)(K,{data:oe,visible:1===ge,onClose:function(){ye(!1)},onSucceed:function(){Ne(Ee)}}),(0,V.jsx)(y.Z,{centered:!0,destroyOnClose:!0,onCancel:function(){return ye(!1)},open:2===ge,title:0===ce.status?"分配课题":"变更课题",width:520,afterClose:function(){ue({})},onOk:function(){var e=function(){var e=f()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,L.ZP)("/api/graduations/".concat(a.id,"/student_tasks/give_task.json"),{method:"post",body:{task_id:ce.task_id,student_id:ce.id}});case 2:0===e.sent.status&&(x.ZP.success("操作成功"),Ne(Ee),ye(!1));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();ce.task_id===ce.save_task_id||1!==ce.status?e():y.Z.confirm({centered:!0,okText:"确定",icon:null,cancelText:"取消",title:"变更课题",content:(0,V.jsxs)("div",{children:[(0,V.jsx)("p",{children:"该操作无法撤销。确认为该学生变更课题?变更后学生在原课题提交的文档将清空且无法恢复。"}),(0,V.jsx)("div",{children:"请输入验证码后确认变更"}),(0,V.jsx)(G.Z,{ref:function(e){return be.current=e}})]}),onOk:e})},children:(0,V.jsx)("div",{className:v.modal,children:(0,V.jsxs)(o.Z,{loading:fe,children:[(0,V.jsx)("div",{className:"mb10",children:"课题"}),(0,V.jsx)(A.default,{showSearch:!0,size:"large",placeholder:"请选择课题",optionFilterProp:"children",value:ce.task_id,onChange:function(e){ue(s()(s()({},ce),{},{task_id:e}))},style:{width:"100%"},children:te.map((function(e){return(0,V.jsx)(A.default.Option,{value:e.id,children:e.name},e.id)}))})]})})}),(0,V.jsx)(Y.Z,{visible:3===ge,data:s()(s()({},Ce),{},{disabled_time:null==xe||null===(t=xe[ke-1])||void 0===t?void 0:t.end_at}),onClose:function(){return ye(!1)},onSuccess:function(){ye(!1)}})]})})),X="wrap___Cl57w",Q="tip___sGVnl",J="listWrap___OYoyC",q="list___rT4Q_",_="left___b7Ykx",$="state___ZiQzs",ee="tag0___M6FYN",te="tag1___Sg8yD",ne="tag2___iT8lP",re="tag3___jqhO2",ie="name___BNDAZ",oe="info___pKNSG",ae="time___jyND5",se="right___XT6Gh",le="btn___vKu7W",ce="wrap___CkyzG",ue="listWrap___d0chX",de="list___S7Zml",he="top___FxvYM",fe="box___kpIeL",pe="name___MGi0J",me="des___VqXEd",ve="check___tTb0k",ge="bottom____2Rzh",ye=function(e){var t=e.visible,n=e.onSucceed,o=void 0===n?function(){}:n,a=e.onClose,l=void 0===a?function(){}:a,c=e.onListClick,u=(0,i.useParams)(),h=(0,r.useState)(!0),p=m()(h,2),v=p[0],b=p[1],w=(0,r.useState)(0),A=m()(w,2),E=A[0],M=A[1],B=(0,r.useState)([]),D=m()(B,2),Z=D[0],T=D[1],j={keyword:"",page:1,per_page:20,status:0},F=(0,r.useState)(s()({},j)),I=m()(F,2),W=I[0],O=I[1];(0,r.useEffect)((function(){t&&R(W)}),[t]);var R=function(){var e=f()(d()().mark((function e(t){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b(!0),e.next=3,(0,L.ZP)("/api/graduations/".concat(u.id,"/graduation_tasks.json"),{method:"get",params:t});case 3:0===(n=e.sent).status&&(T((null==n?void 0:n.data)||[]),M(null==n?void 0:n.count)),b(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=f()(d()().mark((function e(t,n){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.stopPropagation(),y.Z.confirm({centered:!0,title:"提示",icon:null,content:"确认加入该课题?",okText:"确认",cancelText:"取消",onOk:function(){var e=f()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,L.ZP)("/api/graduations/".concat(u.id,"/student_tasks/").concat(n,".json"),{method:"put"});case 2:0===e.sent.status&&(x.ZP.success("申请成功"),o());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,V.jsx)(y.Z,{centered:!0,destroyOnClose:!0,onCancel:l,open:t,footer:null,title:"学生选题",width:1e3,afterClose:function(){O(s()({},j))},children:(0,V.jsxs)("div",{className:ce,children:[(0,V.jsx)(S.t7,{style:{width:329},placeholder:"请输入课题名称/指导老师进行搜索",value:W.keyword,onChange:function(e){W.keyword=e,W.page=1,O(W),R(W)},className:"mb20"}),(0,V.jsx)("div",{className:ue,children:(0,V.jsx)(C.Z,{spinning:v,children:Z.length?Z.map((function(e){return(0,V.jsxs)("div",{onClick:function(){c(e)},className:de,children:[(0,V.jsxs)("div",{className:he,children:[(0,V.jsxs)("div",{className:fe,children:[(0,V.jsx)(g.Z,{title:e.name,children:(0,V.jsx)("div",{className:pe,children:e.name})}),(0,V.jsx)("div",{className:me,children:(0,V.jsx)(z.Z,{showTextOnly:!0,showLines:2,value:e.description||""})})]}),(0,V.jsx)("div",{className:ve,children:(0,V.jsx)(S.op,{onClick:function(t){return H(t,e.id)},children:"申请该课题"})})]}),(0,V.jsxs)("div",{className:ge,children:[(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("div",{children:"指导老师"}),(0,V.jsx)("div",{title:null==e?void 0:e.teacher_names,style:{maxWidth:70},children:(null==e?void 0:e.teacher_names)||"--"})]}),(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("div",{children:"课题来源"}),(0,V.jsx)("div",{title:null==e?void 0:e.source,style:{maxWidth:100},children:(null==e?void 0:e.source)||"--"})]}),(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("div",{children:"学科方向"}),(0,V.jsx)("div",{title:null==e?void 0:e.direction,style:{maxWidth:180},children:(null==e?void 0:e.direction)||"--"})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{children:"适用专业"}),(0,V.jsx)("div",{title:null==e?void 0:e.major,style:{maxWidth:140},children:(null==e?void 0:e.major)||"--"})]})]})]},e.id)})):(0,V.jsx)(P.Z,{loading:v})})}),(0,V.jsx)(k.Z,{current:W.page,hideOnSinglePage:!E,showQuickJumper:!0,className:"mb20",showSizeChanger:!0,pageSize:W.per_page,pageSizeOptions:["10","20","50","100","200"],total:E,showTotal:N.rU,onChange:function(e,t){W.page=e,W.per_page=t,O(W),R(W)}})]})})},xe=(0,i.connect)((function(e){return{graduations:e.graduations}}))((function(e){var t=e.graduations,n=(e.dispatch,(0,i.useParams)()),o=(0,i.useSearchParams)(),a=m()(o,1)[0],l=(0,r.useState)(!1),c=m()(l,2),u=c[0],h=c[1],p=(0,r.useState)(0),v=m()(p,2),b=v[0],A=v[1],M=(0,r.useState)(0),B=m()(M,2),D=B[0],Z=B[1],T=(0,r.useState)([]),j=m()(T,2),F=j[0],I=j[1],W=(0,r.useState)({}),O=m()(W,2),R=O[0],z=O[1],H=(0,r.useState)(!1),Y=m()(H,2),G=Y[0],U=Y[1],ce=(0,r.useState)(!1),ue=m()(ce,2),de=ue[0],he=ue[1],fe=null!=a&&a.get("state")?Number(null==a?void 0:a.get("state")):"",pe=(0,r.useState)({keyword:"",state:fe,page:1,per_page:20}),me=m()(pe,2),ve=me[0],ge=me[1],xe=t.menus.find((function(e){return"student_selection"===e.clazz}))||{};(0,r.useEffect)((function(){be(ve)}),[]);var be=function(){var e=f()(d()().mark((function e(t){var r;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.next=3,(0,L.ZP)("/api/graduations/".concat(null==n?void 0:n.id,"/student_tasks/checked_list.json"),{method:"get",params:t});case 3:0===(r=e.sent).status&&(I((null==r?void 0:r.data)||[]),A(null==r?void 0:r.count),Z(null==r?void 0:r.total_count)),h(!1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),we=function(){var e=f()(d()().mark((function e(t,r){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.stopPropagation(),y.Z.confirm({centered:!0,title:"提示",icon:null,content:0===r.state?"确认撤回该课题申请?":"确认取消双选?取消后需要重新进行选题",okText:"确认",cancelText:"取消",onOk:function(){var e=f()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,L.ZP)("/api/graduations/".concat(n.id,"/student_tasks/").concat(r.id,".json"),{method:"delete"});case 2:0===e.sent.status&&(x.ZP.success("操作成功"),be(ve));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ce=!!F.length;return(0,V.jsxs)("div",{className:X,children:[2===(null==xe?void 0:xe.status)&&(0,V.jsxs)("div",{className:Q,children:[(0,V.jsx)("i",{style:{paddingTop:2},className:"iconfont icon-weixiada font12 mr5"}),(0,V.jsx)("span",{children:"选题阶段已结束,若要变更课题需联系管理员手动进行变更"})]}),(0,V.jsx)(E.Z,{style:{marginBottom:12},title:"学生选题",status:null==xe?void 0:xe.status,startAt:null==xe?void 0:xe.start_at,endAt:null==xe?void 0:xe.end_at}),!!D&&(0,V.jsxs)(w.Z,{align:"middle",justify:"space-between",children:[(0,V.jsx)(S.qp,{title:"审核状态",className:"mt20",value:ve.state,onChange:function(e){ve.state=e,ve.page=1,ge(ve),be(ve)},dataSource:[{id:"",name:"全部"},{id:0,name:"待审核"},{id:1,name:"已通过"},{id:2,name:"已驳回"},{id:3,name:"已撤回"}],titleWidth:56}),2!==(null==xe?void 0:xe.status)&&(0,V.jsx)(S.op,{onClick:function(){return he(!0)},children:"点击选题"})]}),(0,V.jsx)(C.Z,{spinning:u,children:Ce?(0,V.jsx)("div",{className:J,children:F.map((function(e){return(0,V.jsxs)("div",{onClick:function(){U(!0),z(s()({},e))},className:q,children:[(0,V.jsxs)("div",{className:_,children:[(0,V.jsxs)("div",{className:$,children:[0===e.state&&(0,V.jsx)("div",{className:ee,children:"待审核"}),1===e.state&&(0,V.jsx)("div",{className:te,children:"已通过"}),2===e.state&&(0,V.jsx)("div",{className:ne,children:"已驳回"}),3===e.state&&(0,V.jsx)("div",{className:re,children:"已撤回"}),(0,V.jsx)(g.Z,{title:e.name,children:(0,V.jsx)("div",{className:ie,children:e.name})})]}),(0,V.jsxs)("div",{className:oe,children:[(0,V.jsxs)("span",{children:["指导老师",(0,V.jsx)("span",{title:e.teacher_names,children:(0,N.Pq)(e.teacher_names,9)})]}),(0,V.jsxs)("span",{children:["课题来源",(0,V.jsx)("span",{title:e.source,children:(0,N.Pq)(e.source,9)})]}),(0,V.jsxs)("span",{children:["学科方向",(0,V.jsx)("span",{title:e.direction,children:(0,N.Pq)(e.direction,9)})]})]}),(0,V.jsxs)("div",{className:ae,children:["申请时间 ",e.time]})]}),[0,1].includes(null==xe?void 0:xe.status)&&(0,V.jsxs)("div",{className:se,children:[0===e.state&&(0,V.jsx)("div",{onClick:function(t){return we(t,e)},className:le,children:"撤回申请"}),1===e.state&&(0,V.jsx)("div",{onClick:function(t){return we(t,e)},className:le,children:"取消双选"})]})]},e.id)}))}):(0,V.jsx)(P.Z,{loading:u,ButtonTwo:2!==(null==xe?void 0:xe.status)&&!D&&(0,V.jsx)(S.op,{onClick:function(){return he(!0)},children:"点击选题"})})}),(0,V.jsx)(k.Z,{current:ve.page,hideOnSinglePage:!b,showSizeChanger:!0,showQuickJumper:!0,className:"mb20",pageSizeOptions:["10","20","50","100","200"],total:b,pageSize:ve.per_page,showTotal:N.rU,onChange:function(e,t){ve.page=e,ve.per_page=t,ge(ve),be(ve)}}),(0,V.jsx)(ye,{onClose:function(){return he(!1)},visible:de,onListClick:function(e){z(s()({},e)),U(!0)},onSucceed:function(){be(ve),he(!1)}}),(0,V.jsx)(K,{data:R,visible:G,onClose:function(){return U(!1)},onSucceed:function(){}})]})})),be=(0,i.connect)((function(e){return{loading:e.loading,graduations:e.graduations}}))((function(e){e.graduations,e.dispatch;var t=e.loading;return(0,V.jsx)(o.Z,{style:{margin:"20px 0 0 45px"},loading:t.effects["graduations/getGraduationsDetails"],children:(0,H.tu)()?(0,V.jsx)(U,{}):(0,V.jsx)(xe,{})})}))},51158:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});n(59301);var r="title___Ynb7w",i="time___dxFRB",o=n(92310),a=n.n(o),s=n(88545),l=n(56656),c=n.n(l),u=n(37712),d=function(e){var t=e.className,n=e.status,o=e.style,l=void 0===o?{}:o,d=e.startAt,h=e.endAt,f=e.title;return(0,u.jsxs)("div",{className:a()(r,t),style:l,children:[(0,u.jsx)("b",{children:f}),(0,u.jsx)(s.Z,{className:"ml10",status:n}),(0,u.jsxs)("span",{className:i,children:[(0,u.jsxs)("span",{children:["开启时间",(0,u.jsx)("span",{className:"ml10",children:d?c()(d).format("YYYY-MM-DD HH:mm"):"--"})]}),(0,u.jsxs)("span",{className:"ml30",children:["截止时间",(0,u.jsx)("span",{className:"ml10",children:h?c()(h).format("YYYY-MM-DD HH:mm"):"--"})]})]})]})}},98149:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(82242),i=n.n(r),o=n(7557),a=n.n(o),s=n(41498),l=n.n(s),c=n(79800),u=n.n(c),d=n(59301),h=n(6767),f=n(14566),p=n(62957),m=n(77019),v=n(16326),g="wrap___npJKs",y="label___mSlLf",x=n(6816),b=n(5030),w=n(12532),C=n(67310),k=n(32985),A=n(15409),S=n(56656),E=n.n(S),L=n(54384),N=n(37712),M=function(e){var t=e.visible,n=e.data,r=e.onClose,o=void 0===r?function(){}:r,s=e.onSuccess,c=void 0===s?function(){}:s,S=(0,d.useState)([]),M=u()(S,2),P=M[0],B=M[1],D=(0,d.useState)(""),Z=u()(D,2),T=Z[0],j=Z[1],F=(0,d.useState)(""),I=u()(F,2),W=I[0],O=I[1],R=(0,d.useState)(""),z=u()(R,2),H=z[0],V=z[1],K=(0,d.useState)(!1),Y=u()(K,2),G=Y[0],U=Y[1],X=(0,b.useParams)();(0,d.useEffect)((function(){var e;t&&(V((null==n?void 0:n.description)||""),j((null==n?void 0:n.start_at)||""),O((null==n?void 0:n.end_at)||""),B((null==n||null===(e=n.attachments)||void 0===e?void 0:e.map((function(e){return{name:e.name||e.title,status:"done",response:{id:e.id}}})))||[]))}),[t]);var Q={multiple:!0,withCredentials:!0,fileList:P,beforeUpload:function(e){return!(e.size/1024/1024>150)||(h.ZP.error("《".concat(e.name,"》文件无法上传。超过文件大小限制(150M)")),f.Z.LIST_IGNORE)},action:"".concat(x.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){B((0,k.uD)(e))}},J=function(){var e=l()(a()().mark((function e(){var t;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T&&W){e.next=3;break}return h.ZP.warning("请选择".concat(te)),e.abrupt("return");case 3:return U(!0),console.log(P,"fileList"),e.next=7,(0,C.ZP)("/api/graduations/".concat(X.id,"/graduation_stages/").concat(n.id,".json"),{method:"put",body:{start_at:T,end_at:W,description:H,attachment_ids:P.map((function(e){var t;return null==e||null===(t=e.response)||void 0===t?void 0:t.id}))}});case 7:if(0!==(null==(t=e.sent)?void 0:t.status)){e.next=13;break}return h.ZP.success("保存设置成功"),(0,b.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:null==X?void 0:X.id}}),c(),e.abrupt("return");case 13:U(!1);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();console.log(n,"data");var q=[{name:"学生选题",key:"student_selection",timeName:"学生选题起止时间",width:460,text:"在此时间内,学生可自助操作选题和更改选题"},{name:"任务书",key:"tasks",width:460,timeName:"任务书起止时间",text:""},{name:"开题报告",key:"opening_report",width:1146,timeName:"学生提交开题报告起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"},{name:"中期检查",key:"midterm_report",width:1146,timeName:"学生提交中期检查起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"},{name:"毕业论文",key:"thesis",width:1146,timeName:"学生提交毕业论文起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"},{name:"毕业答辩",key:"final_defense",width:1146,timeName:"学生提交毕业答辩起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"},{name:"论文定稿",key:"final_thesis",width:1146,timeName:"学生提交论文定稿起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"},{name:"归档",key:"archives",width:1146,timeName:"学生提交归档起止时间",text:"在该阶段内或者老师评阅通过之前,学生可以自由提交文档,一旦过了截止时间,则需要管理员授权补交"}],_=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],$=P.some((function(e){return!(null!=e&&e.response)})),ee=(null==q?void 0:q.find((function(e){return e.key===(null==n?void 0:n.clazz)})))||{},te=ee.timeName,ne=ee.text,re=ee.width,ie=ee.key;return(0,N.jsx)(p.Z,{centered:!0,destroyOnClose:!0,confirmLoading:G,okButtonProps:{disabled:$},onCancel:o,onOk:J,open:t,title:"".concat(n.name,"设置"),width:re,afterClose:function(){B([]),j(""),V(""),O(""),U(!1)},okText:"保存设置",cancelText:"取消",children:(0,N.jsxs)("div",{className:g,children:[(0,N.jsxs)("div",{className:y,children:[(0,N.jsx)("span",{children:"*"}),te]}),(0,N.jsxs)(m.Z,{align:"middle",className:_.includes(ie)?"mb20":"",children:[(0,N.jsx)(v.default,{format:"YYYY-MM-DD HH:mm",value:T?E()(T):"",disabledDate:function(e){return(0,L.Q8)(e,"",null==n?void 0:n.disabled_time)},disabledTime:function(e){return(0,L.d0)(e,null==n?void 0:n.disabled_time)},showTime:{format:"HH:mm"},onChange:function(e,t){j(t)}}),(0,N.jsx)("span",{className:"ml10 mr10",children:"至"}),(0,N.jsx)(v.default,{format:"YYYY-MM-DD HH:mm",value:W?E()(W):"",disabledDate:function(e){return(0,L.Q8)(e,"",null==n?void 0:n.disabled_time)},disabledTime:function(e){return(0,L.d0)(e,null==n?void 0:n.disabled_time)},showTime:{format:"HH:mm"},onChange:function(e,t){O(t)}}),(0,N.jsx)("span",{className:"".concat("student_selection"===ie?"mt10":"ml10"," font14"),style:{color:"#9096A3"},children:ne})]}),_.includes(ie)&&(0,N.jsxs)(d.Fragment,{children:[(0,N.jsx)("div",{className:y,children:"阶段描述"}),(0,N.jsx)(A.Z,{height:140,defaultValue:H,onChange:function(e){V(e)}}),(0,N.jsx)(f.Z,i()(i()({},Q),{},{children:(0,N.jsxs)(m.Z,{align:"middle",className:"mt10",children:[(0,N.jsxs)(w.op,{style:{borderRadius:2},children:[(0,N.jsx)("i",{className:"icon-shangchuan3 mr5"}),"上传文档"]}),(0,N.jsx)("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:function(e){e.stopPropagation()},children:"上传此阶段的文档模版、批阅要求等文档,单个文档大小不超过150M"})]})}))]})]})})}},88545:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(59301),i="tag___NEywM",o=n(92310),a=n.n(o),s=n(37712),l=function(e){var t=e.className,n=e.status;return(0,s.jsxs)(r.Fragment,{children:[0===n&&(0,s.jsx)("div",{className:a()(i,t),children:"未开始"}),1===n&&(0,s.jsx)("div",{className:a()(i,t),style:{background:"#19CB70"},children:"进行中"}),2===n&&(0,s.jsx)("div",{className:a()(i,t),style:{background:"#EE5D5D"},children:"已结束"})]})}},90969:function(e,t,n){"use strict";n.d(t,{AL:function(){return k},Iy:function(){return f},Qv:function(){return v},ez:function(){return C},jb:function(){return p}});var r=n(79800),i=n.n(r),o=n(32834),a=n.n(o),s=n(11690),l=1;var c=[],u=["<ul>"],d=new(a().Renderer),h=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function f(){c.length=0,u=["<ul>"]}var p={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function m(e,t,n,r){if(t>=e.length||e[t].level<=n)return t;var i=e[t];r.push("<li><a href='#"+l+i.anchor+"'>"+i.text+"</a>");var o=[];return t=m(e,++t,i.level,o),o.length>0&&(r.push("<ul>"),o.forEach((function(e){r.push(e)})),r.push("</ul>")),r.push("</li>"),t=m(e,t,n,r)}function v(){return m(c,0,0,u),u.push("</ul>"),u.join("")}var g={heading:function(e){var t=h.exec(e);if(l+=1,t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},fences:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:i()(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||""),o=t[2]?t[2].trim():t[2];if(["latex","katex","math"].indexOf(o)>=0){var a=b(),s=r;r=a,w[a]={type:"block",expression:s}}return{type:"code",raw:n,lang:o,text:r}}}},y=/(?:\${2})([^\n`]+?)(?:\${2})/gi,x=0,b=function(){return"__special_katext_id_".concat(x++,"__")},w={};function C(){return w}function k(){x=0,w={}}function A(e){return e=e.replace(y,(function(e,t){var n=b();return w[n]={type:"inline",expression:t},n}))}var S=d.listitem;d.listitem=function(e){return S(A(e))};var E=d.paragraph;d.paragraph=function(e){return E(A(e))};var L=d.tablecell;d.tablecell=function(e,t){return L(A(e),t)},d.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];return r?["latex","katex","math"].indexOf(r)>=0?"<p class='editormd-tex'>".concat(e,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(t,'">').concat(n?e:(0,s.escape)(e,!0),"</code></pre>\n"):'<pre class="prettyprint linenums"><code>'+(n?e:(0,s.escape)(e,!0))+"</code></pre>"},d.heading=function(e,t,n){var r=this.options.headerPrefix+n.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return c.push({anchor:r,level:t,text:e}),"<h"+t+' id="'+l+r+'">'+e+"</h"+t+">"},a().setOptions({silent:!0,gfm:!0,pedantic:!1}),a().use({tokenizer:g,renderer:d}),t.ZP=a()},13851:function(e,t,n){"use strict";n.d(t,{rX:function(){return E},pW:function(){return L},gy:function(){return N},xY:function(){return S},O5:function(){return A},hs:function(){return b},tJ:function(){return y},o1:function(){return x},Rd:function(){return k}});var r=n(7557),i=n.n(r),o=n(41498),a=n.n(o),s=n(5030),l=n(62957),c=n(37285),u=n(6767),d=n(56800),h=n(32985),f=n(87169),p=n(25510),m=n.p+"static/newqrcode.a8740efb.png",v=n(32637),g=n(37712),y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return!(!x(e)||!w(e,t,n,r,i))},x=function(e){return!!(0,d.bg)()||(e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},b=function(e){var t,n,r=(0,s.getDvaApp)()._store.getState().user;!(0,d.bg)()||null!=r&&null!==(t=r.userInfo)&&void 0!==t&&null!==(t=t.course)&&void 0!==t&&t.course_public||null!=r&&null!==(n=r.userInfo)&&void 0!==n&&n.profile_completed||e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},w=function(e){var t,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=(0,s.getDvaApp)()._store.getState(),a=o.user;return!(null===(t=a.userInfo)||void 0===t||!t.profile_completed)||(n?e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:r,isCurrentPage:i}}):l.Z.confirm({title:"提示",width:530,centered:!0,content:"您需要去完善您的个人资料,才能使用此功能",okText:"立即完善",cancelText:"稍后完善",onOk:function(){(0,h.xg)("/account/profile/edit"),C()}}),!1)},C=function(){l.Z.success({title:"提示",width:430,closable:!0,centered:!0,content:"已完善个人资料?请刷新页面",okText:"立即刷新",icon:null,onOk:function(){location.reload()}})},k=function(){l.Z.warning({title:"提示",icon:null,width:400,content:(0,g.jsxs)("div",{style:{textAlign:"center"},children:[(0,g.jsx)("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"},children:"老师您好,您的课堂试用期已结束,相关功能被限制。 如需继续使用,请尽快对接人工支持!"}),(0,g.jsx)("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:v}),(0,g.jsx)("div",{style:{color:"#666666",fontSize:14,marginTop:15},children:"添加客服人员微信,获得更多支持"})]})})},A=function(){var e;return!(null===(e=(0,s.getDvaApp)()._store.getState().user.userInfo)||void 0===e||!e.professional_certification)||(l.Z.confirm({title:"提示",centered:!0,content:(0,g.jsx)("div",{className:"tc",children:"您需要去完成您的职业认证,才能使用此功能"}),okText:"立即完善",cancelText:"稍后完善",onOk:function(){(0,h.xg)("/account/certification")}}),!1)},S=function(){return!!(0,d.V9)()||(l.Z.warning({centered:!0,width:530,title:"提示",content:(0,g.jsxs)("div",{className:"tc",style:{marginLeft:-38},children:[(0,g.jsx)("p",{children:"扫码加头歌助教,申请操作权限"}),(0,g.jsx)("img",{src:m,width:200})]}),okText:"我知道了",maskClosable:!0}),!1)},E=function(e,t){return!!e||(l.Z.confirm({centered:!0,zIndex:1e4,width:530,title:"提示",content:(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{children:t||"该实践资源需授权后才可使用。 您可以在QQ服务群向管理员申请,获得继续操作的权限。"}),(0,g.jsxs)("div",{style:{marginLeft:"110px"},children:[(0,g.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC2ceevGKeEAEAGAgsAyEBgAQAZCCwAIMPsRfdVq1aFw2GrW7llyxZ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:["群号:","714336072"]})]})]}),okText:"立即联系",cancelText:"取消",onOk:function(){(0,h.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)},L=function(e){l.Z.info({title:"联系平台运营",icon:null,width:615,centered:!0,content:(0,g.jsxs)("div",{children:[(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{style:{color:"#191919",fontWeight:400,fontSize:14},children:"“保存实验临时数据”功能为付费功能,请联系平台运营进行开通。"}),(0,g.jsx)(c.Z,{}),(0,g.jsxs)("p",{style:{color:"#666666",fontSize:12},children:[" ",(0,g.jsx)("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8},children:"1"})," 因平台的实验数据储存容量和成本消耗较大,实践项目默认保存实验环境中临时数据 ",(0,g.jsx)("a",{children:e}),"天。"]}),(0,g.jsxs)("p",{style:{color:"#666666",fontSize:12},children:[" ",(0,g.jsx)("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8},children:"2"}),"若您需要个性化的数据保存周期服务,我们可以提供相关技术支持,并根据您的需求收取定制费用。"]})]}),(0,g.jsx)("div",{style:{textAlign:"center",marginTop:30},children:(0,g.jsx)("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:p,alt:"二维码",width:160})})]})})},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=(0,s.getDvaApp)()._store.getState(),r=n.shixunsDetail.detail;if(2===(null==r?void 0:r.public)||1===(null==r?void 0:r.public)||3===(null==r?void 0:r.shixun_status)){var o="";return 2===(null==r?void 0:r.public)&&(o="已公开"),1===(null==r?void 0:r.public)&&(o="待审核"),3===(null==r?void 0:r.shixun_status)&&(o="已关闭"),l.Z.info({centered:!0,icon:(0,g.jsx)(f.Z,{style:{color:"#faad14"}}),width:460,title:"提示",content:(0,g.jsxs)("div",{className:"tc",style:{marginLeft:-38},children:[(0,g.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"},children:[(0,g.jsxs)("span",{children:["该实践项目的状态为",o,",",t,"。"]}),(0,g.jsx)("p",{children:"如有需要,请联系平台管理员进行技术支持。"})]}),(0,g.jsx)("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:p,alt:"二维码",width:160})]}),okText:"我知道了"}),!0}return 2===(null==r?void 0:r.shixun_status)&&(l.Z.confirm({centered:!0,icon:(0,g.jsx)(f.Z,{}),title:"提示",content:(0,g.jsxs)("div",{children:[(0,g.jsxs)("span",{children:["该实践项目已发布,",t,"。"]}),(0,g.jsx)("br",{}),(0,g.jsx)("span",{children:"如有需要,您可以撤销发布后,再进行操作。"})]}),okText:"撤销发布",cancelText:"取消",onOk:function(){var t;l.Z.confirm({width:440,centered:!0,icon:(0,g.jsx)(f.Z,{style:{color:"#faad14"}}),title:"提示",content:"撤销发布后,学员将无法进行练习。是否确认撤销发布?",okText:"确定撤销发布",cancelText:"取消",onOk:(t=a()(i()().mark((function t(){return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e({type:"shixunsDetail/cancelRelease",payload:{id:null==r?void 0:r.identifier}});case 2:401!==t.sent.status&&(u.ZP.success("撤销发布成功。实训回到未发布的状态。"),e({type:"shixunsDetail/getShixunsDetail",payload:{id:null==r?void 0:r.identifier}}),e({type:"practiceSetting/getCommonData",payload:{id:null==r?void 0:r.identifier}}));case 4:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})})}}),!0)}},78318:function(){},44084:function(){},32313:function(e,t){"use strict";t.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},5337:function(e,t){"use strict";t.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze"}},99498:function(e,t,n){!function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=e.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var r=e.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function r(e){setTimeout((function(){var r=!1,i=e.getInputField();"TEXTAREA"==i.nodeName?r=!i.value:1==e.lineCount()&&(r=!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)),r?n(e):t(e)}),20)}function i(e){a(e)&&n(e)}function o(e){var r=e.getWrapperElement(),i=a(e);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(e):t(e)}function a(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(n,a,s){var l=s&&s!=e.Init;if(a&&!l)n.on("blur",i),n.on("change",o),n.on("swapDoc",o),e.on(n.getInputField(),"compositionupdate",n.state.placeholderCompose=function(){r(n)}),o(n);else if(!a&&l){n.off("blur",i),n.off("change",o),n.off("swapDoc",o),e.off(n.getInputField(),"compositionupdate",n.state.placeholderCompose),t(n);var c=n.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}a&&!n.hasFocus()&&i(n)}))}(n(89780))},25717:function(e,t,n){!function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:l,Enter:c};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";i[r]||(i[r]=a(n))}}function a(e){return function(t){return d(t,e)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(t){var i=s(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),l=0;l<a.length;l++){if(!a[l].empty())return e.Pass;var c=h(t,a[l].head);if(!c||o.indexOf(c)%2!=0)return e.Pass}for(l=a.length-1;l>=0;l--){var u=a[l].head;t.replaceRange("",n(u.line,u.ch-1),n(u.line,u.ch+1),"+delete")}}function c(t){var n=s(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var l=h(t,o[a].head);if(!l||i.indexOf(l)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),t.execCommand("goCharLeft"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}function u(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function d(t,i){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=r(o,"pairs"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var c,d=r(o,"closeBefore"),h=r(o,"triples"),p=a.charAt(l+1)==i,m=t.listSelections(),v=l%2==0,g=0;g<m.length;g++){var y,x=m[g],b=x.head,w=t.getRange(b,n(b.line,b.ch+1));if(v&&!x.empty())y="surround";else if(!p&&v||w!=i)if(p&&b.ch>1&&h.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;y="addFour"}else if(p){var C=0==b.ch?" ":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(w)||C==i||e.isWordChar(C))return e.Pass;y="both"}else{if(!v||!(0===w.length||/\s/.test(w)||d.indexOf(w)>-1))return e.Pass;y="both"}else y=p&&f(t,b)?"both":h.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var k=l%2?a.charAt(l-1):i,A=l%2?i:a.charAt(l+1);t.operation((function(){if("skip"==c)t.execCommand("goCharRight");else if("skipThree"==c)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==c){var n=t.getSelections();for(e=0;e<n.length;e++)n[e]=k+n[e]+A;for(t.replaceSelections(n,"around"),n=t.listSelections().slice(),e=0;e<n.length;e++)n[e]=u(n[e]);t.setSelections(n)}else"both"==c?(t.replaceSelection(k+A,null),t.triggerElectric(k+A),t.execCommand("goCharLeft")):"addFour"==c&&(t.replaceSelection(k+k+k+k,"before"),t.execCommand("goCharRight"))}))}function h(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function f(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}(n(89780))},6313:function(e,t,n){!function(e){e.defineOption("autoCloseTags",!1,(function(t,n,i){if(i!=e.Init&&i&&t.removeKeyMap("autoCloseTags"),n){var a={name:"autoCloseTags"};"object"==typeof n&&!1===n.whenClosing||(a["'/'"]=function(e){return o(e)}),"object"==typeof n&&!1===n.whenOpening||(a["'>'"]=function(e){return r(e)}),t.addKeyMap(a)}}));var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["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 r(r){if(r.getOption("disableInput"))return e.Pass;for(var i=r.listSelections(),o=[],l=r.getOption("autoCloseTags"),c=0;c<i.length;c++){if(!i[c].empty())return e.Pass;var u=i[c].head,d=r.getTokenAt(u),h=e.innerMode(r.getMode(),d.state),f=h.state,p=h.mode.xmlCurrentTag&&h.mode.xmlCurrentTag(f),m=p&&p.name;if(!m)return e.Pass;var v="html"==h.mode.configuration,g="object"==typeof l&&l.dontCloseTags||v&&t,y="object"==typeof l&&l.indentTags||v&&n;d.end>u.ch&&(m=m.slice(0,m.length-d.end+u.ch));var x=m.toLowerCase();if(!m||"string"==d.type&&(d.end!=u.ch||!/[\"\']/.test(d.string.charAt(d.string.length-1))||1==d.string.length)||"tag"==d.type&&p.close||d.string.indexOf("/")==u.ch-d.start-1||g&&a(g,x)>-1||s(r,h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f)||[],m,u,!0))return e.Pass;var b="object"==typeof l&&l.emptyTags;if(b&&a(b,m)>-1)o[c]={text:"/>",newPos:e.Pos(u.line,u.ch+2)};else{var w=y&&a(y,x)>-1;o[c]={indent:w,text:">"+(w?"\n\n":"")+"</"+m+">",newPos:w?e.Pos(u.line+1,0):e.Pos(u.line,u.ch+1)}}}var C="object"==typeof l&&l.dontIndentOnAutoClose;for(c=i.length-1;c>=0;c--){var k=o[c];r.replaceRange(k.text,i[c].head,i[c].anchor,"+insert");var A=r.listSelections().slice(0);A[c]={head:k.newPos,anchor:k.newPos},r.setSelections(A),!C&&k.indent&&(r.indentLine(k.newPos.line,null,!0),r.indentLine(k.newPos.line+1,null,!0))}}function i(t,n){for(var r=t.listSelections(),i=[],o=n?"/":"</",a=t.getOption("autoCloseTags"),l="object"==typeof a&&a.dontIndentOnSlash,c=0;c<r.length;c++){if(!r[c].empty())return e.Pass;var u=r[c].head,d=t.getTokenAt(u),h=e.innerMode(t.getMode(),d.state),f=h.state;if(n&&("string"==d.type||"<"!=d.string.charAt(0)||d.start!=u.ch-1))return e.Pass;var p,m="xml"!=h.mode.name&&"htmlmixed"==t.getMode().name;if(m&&"javascript"==h.mode.name)p=o+"script";else if(m&&"css"==h.mode.name)p=o+"style";else{var v=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f);if(!v||v.length&&s(t,v,v[v.length-1],u))return e.Pass;p=o+v[v.length-1]}">"!=t.getLine(u.line).charAt(d.end)&&(p+=">"),i[c]=p}if(t.replaceSelections(i),r=t.listSelections(),!l)for(c=0;c<r.length;c++)(c==r.length-1||r[c].head.line<r[c+1].head.line)&&t.indentLine(r[c].head.line)}function o(t){return t.getOption("disableInput")?e.Pass:i(t,!0)}function a(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;++n)if(e[n]==t)return n;return-1}function s(t,n,r,i,o){if(!e.scanForClosingTag)return!1;var a=Math.min(t.lastLine()+1,i.line+500),s=e.scanForClosingTag(t,i,null,a);if(!s||s.tag!=r)return!1;for(var l=o?1:0,c=n.length-1;c>=0&&n[c]==r;c--)++l;for(i=s.to,c=1;c<l;c++){var u=e.scanForClosingTag(t,i,null,a);if(!u||u.tag!=r)return!1;i=u.to}return!0}e.commands.closeTag=function(e){return i(e)}}(n(89780),n(32855))},32855:function(e,t,n){!function(e){"use strict";var t=e.Pos;function n(e,t){return e.line-t.line||e.ch-t.ch}var r="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",i=new RegExp("<(/?)(["+r+"]["+r+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function o(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function a(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function s(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function l(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function c(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(s(e))continue;return}if(a(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function u(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(l(e))continue;return}if(a(e,t+1)){i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function d(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(s(e))continue;return}if(a(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function h(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(l(e))continue;return}if(a(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function f(e,n){for(var r=[];;){var i,o=d(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=c(e)))return;if("selfClose"!=i)if(o[1]){for(var l=r.length-1;l>=0;--l)if(r[l]==o[2]){r.length=l;break}if(l<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else r.push(o[2])}}function p(e,n){for(var r=[];;){var i=h(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=u(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==s[2]){r.length=l;break}if(l<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else u(e)}}e.registerHelper("fold","xml",(function(e,r){for(var i=new o(e,r.line,0);;){var a=d(i);if(!a||i.line!=r.line)return;var s=c(i);if(!s)return;if(!a[1]&&"selfClose"!=s){var l=t(i.line,i.ch),u=f(i,a[2]);return u&&n(u.from,l)>0?{from:l,to:u.from}:null}}})),e.findMatchingTag=function(e,r,i){var a=new o(e,r.line,r.ch,i);if(-1!=a.text.indexOf(">")||-1!=a.text.indexOf("<")){var s=c(a),l=s&&t(a.line,a.ch),d=s&&u(a);if(s&&d&&!(n(a,r)>0)){var h={from:t(a.line,a.ch),to:l,tag:d[2]};return"selfClose"==s?{open:h,close:null,at:"open"}:d[1]?{open:p(a,d[2]),close:h,at:"close"}:{open:h,close:f(a=new o(e,l.line,l.ch,i),d[2]),at:"open"}}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new o(e,t.line,t.ch,n);;){var a=p(i,r);if(!a)break;var s=f(new o(e,t.line,t.ch,n),a.tag);if(s)return{open:a,close:s}}},e.scanForClosingTag=function(e,t,n,r){return f(new o(e,t.line,t.ch,r?{from:0,to:r}:null),n)}}(n(89780))},89780:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),x=/\bCrOS\b/.test(e),b=/win/i.test(t),w=d&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(d=!1,l=!0);var C=y&&(c||d&&(null==w||w<12.11)),k=n||a&&s>=9;function A(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,E=function(e,t){var n=e.className,r=A(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function L(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function N(e,t){return L(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function P(e,t,n,r){var i=M(e,t,n,r);return i.setAttribute("role","presentation"),i}function B(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function D(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function Z(e,t){var n=e.className;A(t).test(n)||(e.className+=(n?" ":"")+t)}function T(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!A(n[r]).test(t)&&(t+=" "+n[r]);return t}S=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var j=function(e){e.select()};function F(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function W(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?j=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(j=function(e){try{e.select()}catch(e){}});var O=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};function R(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}O.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},O.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var z=50,H={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},K={origin:"*mouse"},Y={origin:"+move"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var U=[""];function X(e){for(;U.length<=e;)U.push(Q(U)+" ");return U[e]}function Q(e){return e[e.length-1]}function J(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function q(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function _(){}function $(e,t){var n;return Object.create?n=Object.create(e):(_.prototype=e,n=new _),t&&I(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\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 oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){for(;(n<0?t>0:t<e.length)&&oe(e.charAt(t));)t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ce=null;function ue(e,t,n){var r;ce=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ce=i)}return null!=r?r:ce}var de=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,d=[],h=0;h<u;++h)d.push(n(e.charCodeAt(h)));for(var f=0,p=c;f<u;++f){var m=d[f];"m"==m?d[f]=p:p=m}for(var v=0,g=c;v<u;++v){var y=d[v];"1"==y&&"r"==g?d[v]="n":o.test(y)&&(g=y,"r"==y&&(d[v]="R"))}for(var x=1,b=d[0];x<u-1;++x){var w=d[x];"+"==w&&"1"==b&&"1"==d[x+1]?d[x]="1":","!=w||b!=d[x+1]||"1"!=b&&"n"!=b||(d[x]=b),b=w}for(var C=0;C<u;++C){var k=d[C];if(","==k)d[C]="N";else if("%"==k){var A=void 0;for(A=C+1;A<u&&"%"==d[A];++A);for(var S=C&&"!"==d[C-1]||A<u&&"1"==d[A]?"1":"N",E=C;E<A;++E)d[E]=S;C=A-1}}for(var L=0,N=c;L<u;++L){var M=d[L];"L"==N&&"1"==M?d[L]="L":o.test(M)&&(N=M)}for(var P=0;P<u;++P)if(i.test(d[P])){var B=void 0;for(B=P+1;B<u&&i.test(d[B]);++B);for(var D="L"==(P?d[P-1]:c),Z=D==("L"==(B<u?d[B]:c))?D?"L":"R":c,T=P;T<B;++T)d[T]=Z;P=B-1}for(var j,F=[],I=0;I<u;)if(a.test(d[I])){var W=I;for(++I;I<u&&a.test(d[I]);++I);F.push(new l(0,W,I))}else{var O=I,R=F.length,z="rtl"==t?1:0;for(++I;I<u&&"L"!=d[I];++I);for(var H=O;H<I;)if(s.test(d[H])){O<H&&(F.splice(R,0,new l(1,O,H)),R+=z);var V=H;for(++H;H<I&&s.test(d[H]);++H);F.splice(R,0,new l(2,V,H)),R+=z,O=H}else++H;O<I&&F.splice(R,0,new l(1,O,I))}return"ltr"==t&&(1==F[0].level&&(j=e.match(/^\s+/))&&(F[0].from=j[0].length,F.unshift(new l(0,0,j[0].length))),1==Q(F).level&&(j=e.match(/\s+$/))&&(Q(F).to-=j[0].length,F.push(new l(0,u-j[0].length,u)))),"rtl"==t?F.reverse():F}}();function he(e,t){var n=e.order;return null==n&&(n=e.order=de(e.text,t)),n}var fe=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||fe).concat(n)}};function me(e,t){return e._handlers&&e._handlers[t]||fe}function ve(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=R(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ge(e,t){var n=me(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ye(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,n||t.type,e,t),Ae(t)||t.codemirrorIgnore}function xe(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==R(n,t[r])&&n.push(t[r])}function be(e,t){return me(e,t).length>0}function we(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){ve(this,e,t)}}function Ce(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ke(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ae(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Se(e){Ce(e),ke(e)}function Ee(e){return e.target||e.srcElement}function Le(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Ne,Me,Pe=function(){if(a&&s<9)return!1;var e=M("div");return"draggable"in e||"dragDrop"in e}();function Be(e){if(null==Ne){var t=M("span","");N(e,M("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ne=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Ne?M("span",""):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function De(e){if(null!=Me)return Me;var t=N(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return L(e),!(!n||n.left==n.right)&&(Me=r.right-n.right<3)}var Ze,Te=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Fe="oncopy"in(Ze=M("div"))||(Ze.setAttribute("oncopy","return;"),"function"==typeof Ze.oncopy),Ie=null;function We(e){if(null!=Ie)return Ie;var t=N(e,M("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ie=Math.abs(n.left-r.left)>1}var Oe={},Re={};function ze(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Oe[e]=t}function He(e,t){Re[e]=t}function Ve(e){if("string"==typeof e&&Re.hasOwnProperty(e))e=Re[e];else if(e&&"string"==typeof e.name&&Re.hasOwnProperty(e.name)){var t=Re[e.name];"string"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ve("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ve("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ke(e,t){t=Ve(t);var n=Oe[t.name];if(!n)return Ke(e,"text/plain");var r=n(e,t);if(Ye.hasOwnProperty(t.name)){var i=Ye[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ye={};function Ge(e,t){I(t,Ye.hasOwnProperty(e)?Ye[e]:Ye[e]={})}function Ue(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Xe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Qe(e,t,n){return!e.startState||e.startState(t,n)}var Je=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function qe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function _e(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function $e(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function et(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function tt(e){if(null==e.parent)return null;for(var t=e.parent,n=R(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function nt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function it(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ot(e,t,n){if(void 0===n&&(n=null),!(this instanceof ot))return new ot(e,t,n);this.line=e,this.ch=t,this.sticky=n}function at(e,t){return e.line-t.line||e.ch-t.ch}function st(e,t){return e.sticky==t.sticky&&0==at(e,t)}function lt(e){return ot(e.line,e.ch)}function ct(e,t){return at(e,t)<0?t:e}function ut(e,t){return at(e,t)<0?e:t}function dt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ht(e,t){if(t.line<e.first)return ot(e.first,0);var n=e.first+e.size-1;return t.line>n?ot(n,qe(e,n).text.length):ft(t,qe(e,t.line).text.length)}function ft(e,t){var n=e.ch;return null==n||n>t?ot(e.line,t):n<0?ot(e.line,0):e}function pt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=ht(e,t[r]);return n}Je.prototype.eol=function(){return this.pos>=this.string.length},Je.prototype.sol=function(){return this.pos==this.lineStart},Je.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Je.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Je.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Je.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Je.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Je.prototype.skipToEnd=function(){this.pos=this.string.length},Je.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Je.prototype.backUp=function(e){this.pos-=e},Je.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Je.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Je.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Je.prototype.current=function(){return this.string.slice(this.start,this.pos)},Je.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Je.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Je.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var mt=function(e,t){this.state=e,this.lookAhead=t},vt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function gt(e,t,n,r){var i=[e.state.modeGen],o={};Et(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Et(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function yt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=xt(e,tt(t)),i=t.text.length>e.options.maxHighlightLength&&Ue(e.doc.mode,r.state),o=gt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function xt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new vt(r,!0,t);var o=Lt(e,t,n),a=o>r.first&&qe(r,o-1).stateAfter,s=a?vt.fromSaved(r,a,o):new vt(r,Qe(r.mode),o);return r.iter(o,t,(function(n){bt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function bt(e,t,n,r){var i=e.doc.mode,o=new Je(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&wt(i,n.state);!o.eol();)Ct(i,o,n.state),o.start=o.pos}function wt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Xe(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Ct(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Xe(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}vt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vt.fromSaved=function(e,t,n){return t instanceof mt?new vt(e,Ue(e.mode,t.state),n,t.lookAhead):new vt(e,Ue(e.mode,t),n)},vt.prototype.save=function(e){var t=!1!==e?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new mt(t,this.maxLookAhead):t};var kt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function At(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=qe(a,(t=ht(a,t)).line),c=xt(e,t.line,n),u=new Je(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=Ct(s,u,c.state),r&&o.push(new kt(u,i,Ue(a.mode,c.state)));return r?o:new kt(u,i,c.state)}function St(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Et(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new Je(t,e.options.tabSize,r),h=e.options.addModeClass&&[null];for(""==t&&St(wt(n,r.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&bt(e,t,r,d.pos),d.pos=t.length,l=null):l=St(Ct(n,d,r.state,h),o),h){var f=h[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){for(;c<d.start;)i(c=Math.min(d.start,c+5e3),u);u=l}d.start=d.pos}for(;c<d.pos;){var p=Math.min(d.pos,c+5e3);i(p,u),c=p}}function Lt(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=qe(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof mt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Nt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=qe(e,r).stateAfter;if(i&&(!(i instanceof mt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Mt=!1,Pt=!1;function Bt(){Mt=!0}function Dt(){Pt=!0}function Zt(e,t,n){this.marker=e,this.from=t,this.to=n}function Tt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function jt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Ft(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function It(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Zt(a,o.from,s?null:o.to))}}return r}function Wt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Zt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Ot(e,t){if(t.full)return null;var n=rt(e,t.from.line)&&qe(e,t.from.line).markedSpans,r=rt(e,t.to.line)&&qe(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==at(t.from,t.to),s=It(n,i,a),l=Wt(r,o,a),c=1==t.text.length,u=Q(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var h=s[d];if(null==h.to){var f=Tt(l,h.marker);f?c&&(h.to=null==f.to?null:f.to+u):h.to=i}}if(l)for(var p=0;p<l.length;++p){var m=l[p];null!=m.to&&(m.to+=u),null==m.from?Tt(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=Rt(s)),l&&l!=s&&(l=Rt(l));var v=[s];if(!c){var g,y=t.text.length-2;if(y>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(g||(g=[])).push(new Zt(s[x].marker,null,null));for(var b=0;b<y;++b)v.push(g);v.push(l)}return v}function Rt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function zt(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=R(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(at(c.to,s.from)<0||at(c.from,s.to)>0)){var u=[l,1],d=at(c.from,s.from),h=at(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Ht(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Vt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Kt(e){return e.inclusiveLeft?-1:0}function Yt(e){return e.inclusiveRight?1:0}function Gt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=at(r.from,i.from)||Kt(e)-Kt(t);if(o)return-o;var a=at(r.to,i.to)||Yt(e)-Yt(t);return a||t.id-e.id}function Ut(e,t){var n,r=Pt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Gt(n,i.marker)<0)&&(n=i.marker);return n}function Xt(e){return Ut(e,!0)}function Qt(e){return Ut(e,!1)}function Jt(e,t){var n,r=Pt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Gt(n,o.marker)<0)&&(n=o.marker)}return n}function qt(e,t,n,r,i){var o=qe(e,t),a=Pt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=at(c.from,n)||Kt(l.marker)-Kt(i),d=at(c.to,r)||Yt(l.marker)-Yt(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.to,n)>=0:at(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.from,r)<=0:at(c.from,r)<0)))return!0}}}function _t(e){for(var t;t=Xt(e);)e=t.find(-1,!0).line;return e}function $t(e){for(var t;t=Qt(e);)e=t.find(1,!0).line;return e}function en(e){for(var t,n;t=Qt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function tn(e,t){var n=qe(e,t),r=_t(n);return n==r?t:tt(r)}function nn(e,t){if(t>e.lastLine())return t;var n,r=qe(e,t);if(!rn(e,r))return t;for(;n=Qt(r);)r=n.find(1,!0).line;return tt(r)+1}function rn(e,t){var n=Pt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&on(e,t,r))return!0}}function on(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return on(e,r.line,Tt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&on(e,t,i))return!0}function an(e){for(var t=0,n=(e=_t(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function sn(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=Xt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Qt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function ln(e){var t=e.display,n=e.doc;t.maxLine=qe(n,n.first),t.maxLineLength=sn(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=sn(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var cn=function(e,t,n){this.text=e,Vt(this,t),this.height=n?n(this):1};function un(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ht(e),Vt(e,n);var i=r?r(e):1;i!=e.height&&et(e,i)}function dn(e){e.parent=null,Ht(e)}cn.prototype.lineNo=function(){return tt(this)},we(cn);var hn={},fn={};function pn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?fn:hn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function mn(e,t){var n=P("span",null,null,l?"padding-right: .1px":null),r={pre:P("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=gn,De(e.display.measure)&&(a=he(o,e.doc.direction))&&(r.addToken=xn(r.addToken,a)),r.map=[],wn(o,r,yt(e,o,t!=e.display.externalMeasured&&tt(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=T(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=T(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Be(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=T(r.pre.className,r.textClass||"")),r}function vn(e){var t=M("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function gn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?yn(t,e.trailingSpace):t,d=e.cm.state.specialChars,h=!1;if(d.test(t)){c=document.createDocumentFragment();for(var f=0;;){d.lastIndex=f;var p=d.exec(t),m=p?p.index-f:t.length-f;if(m){var v=document.createTextNode(u.slice(f,f+m));a&&s<9?c.appendChild(M("span",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!p)break;f+=m+1;var g=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,x=y-e.col%y;(g=c.appendChild(M("span",X(x),"cm-tab"))).setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),e.col+=x}else"\r"==p[0]||"\n"==p[0]?((g=c.appendChild(M("span","\r"==p[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(M("span",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||h||o||l){var b=n||"";r&&(b+=r),i&&(b+=i);var w=M("span",[c],b,o);if(l)for(var C in l)l.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&w.setAttribute(C,l[C]);return e.content.appendChild(w)}e.content.appendChild(c)}}function yn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function xn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var d=void 0,h=0;h<t.length&&!((d=t[h]).to>c&&d.from<=c);h++);if(d.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-c),i,o,null,s,l),o=null,r=r.slice(d.to-c),c=d.to}}}function bn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function wn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,d,h,f=i.length,p=0,m=1,v="",g=0;;){if(g==p){l=c=u=s="",h=null,d=null,g=1/0;for(var y=[],x=void 0,b=0;b<r.length;++b){var w=r[b],C=w.marker;if("bookmark"==C.type&&w.from==p&&C.widgetNode)y.push(C);else if(w.from<=p&&(null==w.to||w.to>p||C.collapsed&&w.to==p&&w.from==p)){if(null!=w.to&&w.to!=p&&g>w.to&&(g=w.to,c=""),C.className&&(l+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&w.from==p&&(u+=" "+C.startStyle),C.endStyle&&w.to==g&&(x||(x=[])).push(C.endStyle,w.to),C.title&&((h||(h={})).title=C.title),C.attributes)for(var k in C.attributes)(h||(h={}))[k]=C.attributes[k];C.collapsed&&(!d||Gt(d.marker,C)<0)&&(d=w)}else w.from>p&&g>w.from&&(g=w.from)}if(x)for(var A=0;A<x.length;A+=2)x[A+1]==g&&(c+=" "+x[A]);if(!d||d.from==p)for(var S=0;S<y.length;++S)bn(t,0,y[S]);if(d&&(d.from||0)==p){if(bn(t,(null==d.to?f+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=f)break;for(var E=Math.min(f,g);;){if(v){var L=p+v.length;if(!d){var N=L>E?v.slice(0,E-p):v;t.addToken(t,N,a?a+l:l,u,p+N.length==g?c:"",s,h)}if(L>=E){v=v.slice(E-p),p=E;break}p=L,u=""}v=i.slice(o,o=n[m++]),a=pn(n[m++],t.cm.options)}}else for(var M=1;M<n.length;M+=2)t.addToken(t,i.slice(o,o=n[M]),pn(n[M+1],t.cm.options))}function Cn(e,t,n){this.line=t,this.rest=en(t),this.size=this.rest?tt(Q(this.rest))-n+1:1,this.node=this.text=null,this.hidden=rn(e,t)}function kn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new Cn(e.doc,qe(e.doc,o),o);r=o+a.size,i.push(a)}return i}var An=null;function Sn(e){An?An.ops.push(e):e.ownsGroup=An={ops:[e],delayedCallbacks:[]}}function En(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function Ln(e,t){var n=e.ownsGroup;if(n)try{En(n)}finally{An=null,t(n)}}var Nn=null;function Mn(e,t){var n=me(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);An?r=An.delayedCallbacks:Nn?r=Nn:(r=Nn=[],setTimeout(Pn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Pn(){var e=Nn;Nn=null;for(var t=0;t<e.length;++t)e[t]()}function Bn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?jn(e,t):"gutter"==o?In(e,t,n,r):"class"==o?Fn(e,t):"widget"==o&&Wn(e,t,r)}t.changes=null}function Dn(e){return e.node==e.text&&(e.node=M("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function Zn(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Dn(t);t.background=r.insertBefore(M("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function Tn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):mn(e,t)}function jn(e,t){var n=t.text.className,r=Tn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Fn(e,t)):n&&(t.text.className=n)}function Fn(e,t){Zn(e,t),t.line.wrapClass?Dn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function In(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Dn(t);t.gutterBackground=M("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Dn(t),s=t.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(M("div",it(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(M("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Wn(e,t,n){t.alignable&&(t.alignable=null);for(var r=A("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Rn(e,t,n)}function On(e,t,n,r){var i=Tn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Fn(e,t),In(e,t,n,r),Rn(e,t,r),t.node}function Rn(e,t,n){if(zn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)zn(e,t.rest[r],t,n,!1)}function zn(e,t,n,r,i){if(t.widgets)for(var o=Dn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Hn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Mn(l,"redraw")}}function Hn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Vn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!B(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),N(t.display.measure,M("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Kn(e,t){for(var n=Ee(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Yn(e){return e.lineSpace.offsetTop}function Gn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Un(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=N(e.measure,M("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Xn(e){return z-e.display.nativeBarWidth}function Qn(e){return e.display.scroller.clientWidth-Xn(e)-e.display.barWidth}function Jn(e){return e.display.scroller.clientHeight-Xn(e)-e.display.barHeight}function qn(e,t,n){var r=e.options.lineWrapping,i=r&&Qn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function _n(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(tt(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function $n(e,t){var n=tt(t=_t(t)),r=e.display.externalMeasured=new Cn(e.doc,t,n);r.lineN=n;var i=r.built=mn(e,r);return r.text=i.pre,N(e.display.lineMeasure,i.pre),r}function er(e,t,n,r){return rr(e,nr(e,t),n,r)}function tr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Fr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function nr(e,t){var n=tt(t),r=tr(e,n);r&&!r.text?r=null:r&&r.changes&&(Bn(e,r,n,Br(e)),e.curOp.forceUpdate=!0),r||(r=$n(e,t));var i=_n(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function rr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(qn(e,t.view,t.rect),t.hasHeights=!0),(o=lr(e,t,n,r)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var ir,or={left:0,right:0,top:0,bottom:0};function ar(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function sr(e,t){var n=or;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function lr(e,t,n,r){var i,o=ar(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():sr(S(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,d="right"}a&&s<11&&(i=cr(e.display.measure,i))}else{var f;c>0&&(d=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Pr(e.display),top:p.top,bottom:p.bottom}:or}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,x=0;x<y.length-1&&!(g<y[x]);x++);var b=x?y[x-1]:0,w=y[x],C={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:b,bottom:w};return i.left||i.right||(C.bogus=!0),e.options.singleCursorHeightPerLine||(C.rtop=m,C.rbottom=v),C}function cr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!We(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function dr(e){e.display.externalMeasure=null,L(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ur(e.display.view[t])}function hr(e){dr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function fr(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pr(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function mr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=Vn(e.widgets[n]));return t}function vr(e,t,n,r,i){if(!i){var o=mr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=an(t);if("local"==r?a+=Yn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:pr());var l=s.left+("window"==r?0:fr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function gr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=fr(),i-=pr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function yr(e,t,n,r,i){return r||(r=qe(e.doc,t.line)),vr(e,r,er(e,r,t.ch,i),n)}function xr(e,t,n,r,i,o){function a(t,a){var s=rr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,vr(e,r,s,n)}r=r||qe(e.doc,t.line),i||(i=nr(e,r));var s=he(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var d=ue(s,l,c),h=ce,f=u(l,d,"before"==c);return null!=h&&(f.other=u(l,h,"before"!=c)),f}function br(e,t){var n=0;t=ht(e.doc,t),e.options.lineWrapping||(n=Pr(e.display)*t.ch);var r=qe(e.doc,t.line),i=an(r)+Yn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function wr(e,t,n,r,i){var o=ot(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Cr(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return wr(r.first,0,null,-1,-1);var i=nt(r,n),o=r.first+r.size-1;if(i>o)return wr(r.first+r.size-1,qe(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=qe(r,i);;){var s=Er(e,a,i,t,n),l=Jt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=qe(r,i=c.line)}}function kr(e,t,n,r){r-=mr(t);var i=t.text.length,o=se((function(t){return rr(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=se((function(t){return rr(e,n,t).top>r}),o,i)}}function Ar(e,t,n,r){return n||(n=nr(e,t)),kr(e,t,n,vr(e,t,rr(e,n,r),"line").top)}function Sr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Er(e,t,n,r,i){i-=an(t);var o=nr(e,t),a=mr(t),s=0,l=t.text.length,c=!0,u=he(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Nr:Lr)(e,t,n,o,u,r,i);s=(c=1!=d.level)?d.from:d.to-1,l=c?d.to:d.from-1}var h,f,p=null,m=null,v=se((function(t){var n=rr(e,o,t);return n.top+=a,n.bottom+=a,!!Sr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left<m.right-r,x=y==c;v=p+(x?0:1),f=x?"after":"before",h=y?m.left:m.right}else{c||v!=l&&v!=s||v++,f=0==v?"after":v==t.text.length?"before":rr(e,o,v-(c?1:0)).bottom+a<=i==c?"after":"before";var b=xr(e,ot(n,v,f),"line",t,o);h=b.left,g=i<b.top?-1:i>=b.bottom?1:0}return wr(n,v=ae(t.text,v,1),f,g,r-h)}function Lr(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],c=1!=l.level;return Sr(xr(e,ot(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=xr(e,ot(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Sr(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Nr(e,t,n,r,i,o,a){var s=kr(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,h=0;h<i.length;h++){var f=i[h];if(!(f.from>=c||f.to<=l)){var p=rr(e,r,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,m=p<o?o-p+1e9:p-o;(!u||d>m)&&(u=f,d=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function Mr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ir){ir=M("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ir.appendChild(document.createTextNode("x")),ir.appendChild(M("br"));ir.appendChild(document.createTextNode("x"))}N(e.measure,ir);var n=ir.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),L(e.measure),n||1}function Pr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=M("span","xxxxxxxxxx"),n=M("pre",[t],"CodeMirror-line-like");N(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Br(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Dr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Dr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Zr(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Pr(e.display)-3);return function(i){if(rn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Tr(e){var t=e.doc,n=Zr(e);t.iter((function(e){var t=n(e);t!=e.height&&et(e,t)}))}function jr(e,t,n,r){var i=e.display;if(!n&&"true"==Ee(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Cr(e,o,a);if(r&&c.xRel>0&&(l=qe(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ot(c.line,Math.max(0,Math.round((o-Un(e.display).left)/Pr(e.display))-u))}return c}function Fr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function Ir(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Pt&&tn(e.doc,t)<i.viewTo&&Or(e);else if(n<=i.viewFrom)Pt&&nn(e.doc,n+r)>i.viewFrom?Or(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Or(e);else if(t<=i.viewFrom){var o=Rr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Or(e)}else if(n>=i.viewTo){var a=Rr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Or(e)}else{var s=Rr(e,t,t,-1),l=Rr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(kn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Or(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function Wr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Fr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==R(a,n)&&a.push(n)}}}function Or(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Rr(e,t,n,r){var i,o=Fr(e,t),a=e.display.view;if(!Pt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;tn(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function zr(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=kn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=kn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Fr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(kn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Fr(e,n)))),r.viewTo=n}function Hr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function Vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Kr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Yr(e,s.head,i),l||Ur(e,s,o)}}return r}function Yr(e,t,n){var r=xr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(M("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Gr(e,t){return e.top-t.top||e.left-t.left}function Ur(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Un(e.display),s=a.left,l=Math.max(r.sizerWidth,Qn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function d(t,n,r){var o,a,d=qe(i,t),h=d.text.length;function f(n,r){return yr(e,ot(t,n),"div",d,r)}function p(t,n,r){var i=Ar(e,d,null,t),o="ltr"==n==("after"==r)?"left":"right";return f("after"==r?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1),o)[o]}var m=he(d,i.direction);return le(m,n||0,null==r?h:r,(function(e,t,i,d){var v="ltr"==i,g=f(e,v?"left":"right"),y=f(t-1,v?"right":"left"),x=null==n&&0==e,b=null==r&&t==h,w=0==d,C=!m||d==m.length-1;if(y.top-g.top<=3){var k=(c?b:x)&&C,A=(c?x:b)&&w?s:(v?g:y).left,S=k?l:(v?y:g).right;u(A,g.top,S-A,g.bottom)}else{var E,L,N,M;v?(E=c&&x&&w?s:g.left,L=c?l:p(e,i,"before"),N=c?s:p(t,i,"after"),M=c&&b&&C?l:y.right):(E=c?p(e,i,"before"):s,L=!c&&x&&w?l:g.right,N=!c&&b&&C?s:y.left,M=c?p(t,i,"after"):l),u(E,g.top,L-E,g.bottom),g.bottom<y.top&&u(s,g.bottom,null,y.top),u(N,y.top,M-N,y.bottom)}(!o||Gr(g,o)<0)&&(o=g),Gr(y,o)<0&&(o=y),(!a||Gr(g,a)<0)&&(a=g),Gr(y,a)<0&&(a=y)})),{start:o,end:a}}var h=t.from(),f=t.to();if(h.line==f.line)d(h.line,h.ch,f.ch);else{var p=qe(i,h.line),m=qe(i,f.line),v=_t(p)==_t(m),g=d(h.line,h.ch,v?p.text.length+1:null).end,y=d(f.line,v?0:null,f.ch).start;v&&(g.top<y.top-2?(u(g.right,g.top,null,g.bottom),u(s,y.top,y.left,y.bottom)):u(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&u(s,g.bottom,null,y.top)}n.appendChild(o)}function Xr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||_r(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Qr(e){e.state.focused||(e.display.input.focus(),qr(e))}function Jr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,_r(e))}),100)}function qr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,Z(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Xr(e))}function _r(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,E(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function $r(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-n,n=u}else{var d=i.node.getBoundingClientRect();l=d.bottom-d.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-d.left-1)}var h=i.line.height-l;if((h>.005||h<-.005)&&(et(i.line,l),ei(i.line),i.rest))for(var f=0;f<i.rest.length;f++)ei(i.rest[f]);if(c>e.display.sizerWidth){var p=Math.ceil(c/Pr(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function ei(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ti(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Yn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=nt(t,r),a=nt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=nt(t,an(qe(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=nt(t,an(qe(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ni(e,t){if(!ye(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=M("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Yn(e.display))+"px;\n height: "+(t.bottom-t.top+Xn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ri(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?ot(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?ot(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=xr(e,t),l=n&&n!=t?xr(e,n):s,c=oi(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(hi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(pi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}function ii(e,t){var n=oi(e,t);null!=n.scrollTop&&hi(e,n.scrollTop),null!=n.scrollLeft&&pi(e,n.scrollLeft)}function oi(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Jn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Gn(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var d=e.options.fixedGutter?0:n.gutters.offsetWidth,h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-d,f=Qn(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<h?a.scrollLeft=Math.max(0,t.left+d-(p?0:10)):t.right>f+h-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ai(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function si(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function li(e,t,n){null==t&&null==n||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ci(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,di(e,br(e,t.from),br(e,t.to),t.margin))}function di(e,t,n,r){var i=oi(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});li(e,i.scrollLeft,i.scrollTop)}function hi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Vi(e,{top:t}),fi(e,t,!0),n&&Vi(e),ji(e,100))}function fi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function pi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Ui(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function mi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Gn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var vi=function(e,t,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},vi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vi.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new O,this.disableVert=new O},vi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},vi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var gi=function(){};function yi(e,t){t||(t=mi(e));var n=e.display.barWidth,r=e.display.barHeight;xi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&$r(e),xi(e,mi(e)),n=e.display.barWidth,r=e.display.barHeight}function xi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}gi.prototype.update=function(){return{bottom:0,right:0}},gi.prototype.setScrollLeft=function(){},gi.prototype.setScrollTop=function(){},gi.prototype.clear=function(){};var bi={native:vi,null:gi};function wi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&E(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?pi(e,t):hi(e,t)}),e),e.display.scrollbars.addClass&&Z(e.display.wrapper,e.display.scrollbars.addClass)}var Ci=0;function ki(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.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:++Ci},Sn(e.curOp)}function Ai(e){var t=e.curOp;t&&Ln(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Si(e)}))}function Si(e){for(var t=e.ops,n=0;n<t.length;n++)Ei(t[n]);for(var r=0;r<t.length;r++)Li(t[r]);for(var i=0;i<t.length;i++)Ni(t[i]);for(var o=0;o<t.length;o++)Mi(t[o]);for(var a=0;a<t.length;a++)Pi(t[a])}function Ei(e){var t=e.cm,n=t.display;Wi(t),e.updateMaxLine&&ln(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Li(e){e.updatedDisplay=e.mustUpdate&&zi(e.cm,e.update)}function Ni(e){var t=e.cm,n=t.display;e.updatedDisplay&&$r(t),e.barMeasure=mi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=er(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Qn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Mi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&pi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==D();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&yi(t,e.barMeasure),e.updatedDisplay&&Gi(t,e.barMeasure),e.selectionChanged&&Xr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Qr(e.cm)}function Pi(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&Hi(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&fi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&pi(t,e.scrollLeft,!0,!0),e.scrollToPos&&ni(t,ri(t,ht(r,e.scrollToPos.from),ht(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||ge(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&ge(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ge(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Bi(e,t){if(e.curOp)return t();ki(e);try{return t()}finally{Ai(e)}}function Di(e,t){return function(){if(e.curOp)return t.apply(e,arguments);ki(e);try{return t.apply(e,arguments)}finally{Ai(e)}}}function Zi(e){return function(){if(this.curOp)return e.apply(this,arguments);ki(this);try{return e.apply(this,arguments)}finally{Ai(this)}}}function Ti(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);ki(t);try{return e.apply(this,arguments)}finally{Ai(t)}}}function ji(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,F(Fi,e))}function Fi(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=xt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ue(t.mode,r.state):null,l=gt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!d&&h<a.length;++h)d=a[h]!=o.styles[h];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&bt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ji(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Bi(e,(function(){for(var t=0;t<i.length;t++)Wr(e,i[t],"text")}))}}var Ii=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ti(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Qn(e),this.force=n,this.dims=Br(e),this.events=[]};function Wi(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Xn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Xn(e)+"px",t.scrollbarsClipped=!0)}function Oi(e){if(e.hasFocus())return null;var t=D();if(!t||!B(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&B(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Ri(e){if(e&&e.activeElt&&e.activeElt!=D()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&B(document.body,e.anchorNode)&&B(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function zi(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Or(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Hr(e))return!1;Xi(e)&&(Or(e),t.dims=Br(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Pt&&(o=tn(e.doc,o),a=nn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;zr(e,o,a),n.viewOffset=an(qe(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Hr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Oi(e);return l>4&&(n.lineDiv.style.display="none"),Ki(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ri(c),L(n.cursorDiv),L(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ji(e,400)),n.updateLineNumbers=null,!0}function Hi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Qn(e))r&&(t.visible=ti(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Gn(e.display)-Jn(e),n.top)}),t.visible=ti(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!zi(e,t))break;$r(e);var i=mi(e);Vr(e),yi(e,i),Gi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Vi(e,t){var n=new Ii(e,t);if(zi(e,n)){$r(e),Hi(e,n);var r=mi(e);Vr(e),yi(e,r),Gi(e,r),n.finish()}}function Ki(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,d=0;d<c.length;d++){var h=c[d];if(h.hidden);else if(h.node&&h.node.parentNode==o){for(;a!=h.node;)a=s(a);var f=i&&null!=t&&t<=u&&h.lineNumber;h.changes&&(R(h.changes,"gutter")>-1&&(f=!1),Bn(e,h,u,n)),f&&(L(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(it(e.options,u)))),a=h.node.nextSibling}else{var p=On(e,h,u,n);o.insertBefore(p,a)}u+=h.size}for(;a;)a=s(a)}function Yi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Gi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Xn(e)+"px"}function Ui(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Dr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function Xi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=it(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Yi(e.display),!0}return!1}function Qi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Ji(e){var t=e.gutters,n=e.gutterSpecs;L(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Yi(e)}function qi(e){Ji(e.display),Ir(e),Ui(e)}function _i(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=P("div",null,"CodeMirror-code"),o.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=M("div",null,"CodeMirror-cursors"),o.measure=M("div",null,"CodeMirror-measure"),o.lineMeasure=M("div",null,"CodeMirror-measure"),o.lineSpace=P("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=P("div",[o.lineSpace],"CodeMirror-lines");o.mover=M("div",[c],null,"position: relative"),o.sizer=M("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=M("div",null,null,"position: absolute; height: "+z+"px; width: 1px;"),o.gutters=M("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=M("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=M("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Qi(i.gutters,i.lineNumbers),Ji(o),r.init(o)}Ii.prototype.signal=function(e,t){be(e,t)&&this.events.push(arguments)},Ii.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};var $i=0,eo=null;function to(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function no(e){var t=to(e);return t.x*=eo,t.y*=eo,t}function ro(e,t){var r=to(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var h=t.target,f=a.view;h!=s;h=h.parentNode)for(var p=0;p<f.length;p++)if(f[p].node==h){e.display.currentWheelTarget=h;break e}if(i&&!n&&!d&&null!=eo)return o&&u&&hi(e,Math.max(0,s.scrollTop+o*eo)),pi(e,Math.max(0,s.scrollLeft+i*eo)),(!o||o&&u)&&Ce(t),void(a.wheelStartX=null);if(o&&null!=eo){var m=o*eo,v=e.doc.scrollTop,g=v+a.wrapper.clientHeight;m<0?v=Math.max(0,v+m-50):g=Math.min(e.doc.height,g+m+50),Vi(e,{top:v,bottom:g})}$i<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(eo=(eo*$i+n)/($i+1),++$i)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?eo=-.53:n?eo=15:u?eo=-.7:h&&(eo=-1/3);var io=function(e,t){this.ranges=e,this.primIndex=t};io.prototype.primary=function(){return this.ranges[this.primIndex]},io.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!st(n.anchor,r.anchor)||!st(n.head,r.head))return!1}return!0},io.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new oo(lt(this.ranges[t].anchor),lt(this.ranges[t].head));return new io(e,this.primIndex)},io.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},io.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(at(t,r.from())>=0&&at(e,r.to())<=0)return n}return-1};var oo=function(e,t){this.anchor=e,this.head=t};function ao(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return at(e.from(),t.from())})),n=R(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=at(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ut(s.from(),a.from()),u=ct(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new oo(d?u:c,d?c:u))}}return new io(t,n)}function so(e,t){return new io([new oo(e,t||e)],0)}function lo(e){return e.text?ot(e.from.line+e.text.length-1,Q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function co(e,t){if(at(e,t.from)<0)return e;if(at(e,t.to)<=0)return lo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=lo(t).ch-t.to.ch),ot(n,r)}function uo(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new oo(co(i.anchor,t),co(i.head,t)))}return ao(e.cm,n,e.sel.primIndex)}function ho(e,t,n){return e.line==t.line?ot(n.line,e.ch-t.ch+n.ch):ot(n.line+(e.line-t.line),e.ch)}function fo(e,t,n){for(var r=[],i=ot(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=ho(s.from,i,o),c=ho(lo(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],d=at(u.head,u.anchor)<0;r[a]=new oo(d?c:l,d?l:c)}else r[a]=new oo(l,l)}return new io(r,e.sel.primIndex)}function po(e){e.doc.mode=Ke(e.options,e.doc.modeOption),mo(e)}function mo(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ji(e,100),e.state.modeGen++,e.curOp&&Ir(e)}function vo(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Q(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function go(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){un(e,n,i,r),Mn(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new cn(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=qe(e,s.line),d=qe(e,l.line),h=Q(c),f=i(c.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(vo(e,t)){var m=a(0,c.length-1);o(d,d.text,f),p&&e.remove(s.line,p),m.length&&e.insert(s.line,m)}else if(u==d)if(1==c.length)o(u,u.text.slice(0,s.ch)+h+u.text.slice(l.ch),f);else{var v=a(1,c.length-1);v.push(new cn(h+u.text.slice(l.ch),f,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(d,h+d.text.slice(l.ch),f);var g=a(1,c.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,g)}Mn(e,"change",e,t)}function yo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function xo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Tr(e),po(e),bo(e),e.options.lineWrapping||ln(e),e.options.mode=t.modeOption,Ir(e)}function bo(e){("rtl"==e.doc.direction?Z:E)(e.display.lineDiv,"CodeMirror-rtl")}function wo(e){Bi(e,(function(){bo(e),Ir(e)}))}function Co(e){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=e||1}function ko(e,t){var n={from:lt(t.from),to:lo(t),text:_e(e,t.from,t.to)};return Po(e,n,t.from.line,t.to.line+1),yo(e,(function(e){return Po(e,n,t.from.line,t.to.line+1)}),!0),n}function Ao(e){for(;e.length&&Q(e).ranges;)e.pop()}function So(e,t){return t?(Ao(e.done),Q(e.done)):e.done.length&&!Q(e.done).ranges?Q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Q(e.done)):void 0}function Eo(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=So(i,i.lastOp==r)))a=Q(o.changes),0==at(t.from,t.to)&&0==at(t.from,a.to)?a.to=lo(t):o.changes.push(ko(e,t));else{var l=Q(i.done);for(l&&l.ranges||Mo(e.sel,i.done),o={changes:[ko(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ge(e,"historyAdded")}function Lo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function No(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Lo(e,o,Q(i.done),t))?i.done[i.done.length-1]=t:Mo(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Ao(i.undone)}function Mo(e,t){var n=Q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Po(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Bo(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Do(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Bo(n[i]));return r}function Zo(e,t){var n=Do(e,t),r=Ot(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function To(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?io.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c)(u=d.match(/^spans_(\d+)$/))&&R(t,Number(u[1]))>-1&&(Q(s)[d]=c[d],delete c[d])}}}return r}function jo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=at(t,i)<0;o!=at(n,i)<0?(i=t,t=n):o!=at(t,n)<0&&(t=n)}return new oo(i,t)}return new oo(n||t,t)}function Fo(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ho(e,new io([jo(e.sel.primary(),t,n,i)],0),r)}function Io(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=jo(e.sel.ranges[o],t[o],null,i);Ho(e,ao(e.cm,r,e.sel.primIndex),n)}function Wo(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Ho(e,ao(e.cm,i,e.sel.primIndex),r)}function Oo(e,t,n,r){Ho(e,so(t,n),r)}function Ro(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new oo(ht(e,t[n].anchor),ht(e,t[n].head))},origin:n&&n.origin};return ge(e,"beforeSelectionChange",e,r),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?ao(e.cm,r.ranges,r.ranges.length-1):t}function zo(e,t,n){var r=e.history.done,i=Q(r);i&&i.ranges?(r[r.length-1]=t,Vo(e,t,n)):Ho(e,t,n)}function Ho(e,t,n){Vo(e,t,n),No(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Vo(e,t,n){(be(e,"beforeSelectionChange")||e.cm&&be(e.cm,"beforeSelectionChange"))&&(t=Ro(e,t,n));var r=n&&n.bias||(at(t.primary().head,e.sel.primary().head)<0?-1:1);Ko(e,Go(e,t,r,!0)),n&&!1===n.scroll||!e.cm||si(e.cm)}function Ko(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,xe(e.cm)),Mn(e,"cursorActivity",e))}function Yo(e){Ko(e,Go(e,e.sel,null,!1))}function Go(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Xo(e,a.anchor,s&&s.anchor,n,r),c=Xo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new oo(l,c))}return i?ao(e.cm,i,t.primIndex):t}function Uo(e,t,n,r,i){var o=qe(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(ge(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var d=l.find(r<0?1:-1),h=void 0;if((r<0?u:c)&&(d=Qo(e,d,-r,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(h=at(d,n))&&(r<0?h<0:h>0))return Uo(e,d,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=Qo(e,f,r,f.line==t.line?o:null)),f?Uo(e,f,t,r,i):null}}return t}function Xo(e,t,n,r,i){var o=r||1,a=Uo(e,t,n,o,i)||!i&&Uo(e,t,n,o,!0)||Uo(e,t,n,-o,i)||!i&&Uo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ot(e.first,0))}function Qo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?ht(e,ot(t.line-1)):null:n>0&&t.ch==(r||qe(e,t.line)).text.length?t.line<e.first+e.size-1?ot(t.line+1,0):null:new ot(t.line,t.ch+n)}function Jo(e){e.setSelection(ot(e.firstLine(),0),ot(e.lastLine()),V)}function qo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=ht(e,t)),n&&(r.to=ht(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),ge(e,"beforeChange",e,r),e.cm&&ge(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function _o(e,t,n){if(e.cm){if(!e.cm.curOp)return Di(e.cm,_o)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"))||(t=qo(e,t,!0))){var r=Mt&&!n&&zt(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)$o(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else $o(e,t)}}function $o(e,t){if(1!=t.text.length||""!=t.text[0]||0!=at(t.from,t.to)){var n=uo(e,t);Eo(e,t,n,e.cm?e.cm.curOp.id:NaN),na(e,t,n,Ot(e,t));var r=[];yo(e,(function(e,n){n||-1!=R(r,e.history)||(sa(e.history,t),r.push(e.history)),na(e,t,null,Ot(e,t))}))}}function ea(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Mo(i,l),n&&!i.equals(e.sel))return void Ho(e,i,{clearRedo:!1});a=i}var u=[];Mo(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=t,d&&!qo(e,r,!1))return s.length=0,{};u.push(ko(e,r));var o=n?uo(e,r):Q(s);na(e,r,o,Zo(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:lo(r)});var a=[];yo(e,(function(e,t){t||-1!=R(a,e.history)||(sa(e.history,r),a.push(e.history)),na(e,r,null,Zo(e,r))}))},f=i.changes.length-1;f>=0;--f){var p=h(f);if(p)return p.v}}}}function ta(e,t){if(0!=t&&(e.first+=t,e.sel=new io(J(e.sel.ranges,(function(e){return new oo(ot(e.anchor.line+t,e.anchor.ch),ot(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ir(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Wr(e.cm,r,"gutter")}}function na(e,t,n,r){if(e.cm&&!e.cm.curOp)return Di(e.cm,na)(e,t,n,r);if(t.to.line<e.first)ta(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ta(e,i),t={from:ot(e.first,0),to:ot(t.to.line+i,t.to.ch),text:[Q(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:ot(o,qe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=_e(e,t.from,t.to),n||(n=uo(e,t)),e.cm?ra(e.cm,t,r):go(e,t,r),Vo(e,n,V),e.cantEdit&&Xo(e,ot(e.firstLine(),0))&&(e.cantEdit=!1)}}function ra(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=tt(_t(qe(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&xe(e),go(r,t,n,Zr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=sn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Nt(r,o.line),ji(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ir(e):o.line!=a.line||1!=t.text.length||vo(e.doc,t)?Ir(e,o.line,a.line+1,c):Wr(e,o.line,"text");var u=be(e,"changes"),d=be(e,"change");if(d||u){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&Mn(e,"change",e,h),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function ia(e,t,n,r,i){var o;r||(r=n),at(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),_o(e,{from:n,to:r,text:t,origin:i})}function oa(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function aa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)oa(o.ranges[s].anchor,t,n,r),oa(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=ot(c.from.line+r,c.from.ch),c.to=ot(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function sa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;aa(e.done,n,r,i),aa(e.undone,n,r,i)}function la(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=qe(e,dt(e,t)):i=tt(t),null==i?null:(r(o,i)&&e.cm&&Wr(e.cm,i,n),o)}function ca(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ua(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}oo.prototype.from=function(){return ut(this.anchor,this.head)},oo.prototype.to=function(){return ct(this.anchor,this.head)},oo.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},ca.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,dn(i),Mn(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ca))){var s=[];this.collapse(s),this.children=[new ca(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new ca(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new ua(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=R(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new ua(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var da=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function ha(e,t,n){an(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ai(e,n)}function fa(e,t,n,r){var i=new da(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),la(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!rn(e,t)){var r=an(t)<e.scrollTop;et(t,t.height+Vn(i)),r&&ai(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Mn(o,"lineWidgetAdded",o,i,"number"==typeof t?t:tt(t)),i}da.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=tt(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=Vn(this);et(n,Math.max(0,n.height-o)),e&&(Bi(e,(function(){ha(e,n,-o),Wr(e,r,"widget")})),Mn(e,"lineWidgetCleared",e,this,r))}},da.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Vn(this)-t;i&&(rn(this.doc,r)||et(r,r.height+i),n&&Bi(n,(function(){n.curOp.forceUpdate=!0,ha(n,r,i),Mn(n,"lineWidgetChanged",n,e,tt(r))})))},we(da);var pa=0,ma=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++pa};function va(e,t,n,r,i){if(r&&r.shared)return ya(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Di(e.cm,va)(e,t,n,r,i);var o=new ma(e,i),a=at(t,n);if(r&&I(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=P("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(qt(e,t.line,t,n,o)||t.line!=n.line&&qt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Dt()}o.addToHistory&&Eo(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&_t(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&et(e,0),Ft(e,new Zt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){rn(e,t)&&et(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Bt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++pa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ir(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)Wr(c,u,"text");o.atomic&&Yo(c.doc),Mn(c,"markerAdded",c,o)}return o}ma.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&ki(e),be(this,"clear")){var n=this.find();n&&Mn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Tt(a.markedSpans,this);e&&!this.collapsed?Wr(e,tt(a),"text"):e&&(null!=s.to&&(i=tt(a)),null!=s.from&&(r=tt(a))),a.markedSpans=jt(a.markedSpans,s),null==s.from&&this.collapsed&&!rn(this.doc,a)&&e&&et(a,Mr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=_t(this.lines[l]),u=sn(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ir(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Yo(e.doc)),e&&Mn(e,"markerCleared",e,this,r,i),t&&Ai(e),this.parent&&this.parent.clear()}},ma.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Tt(o.markedSpans,this);if(null!=a.from&&(n=ot(t?o:tt(o),a.from),-1==e))return n;if(null!=a.to&&(r=ot(t?o:tt(o),a.to),1==e))return r}return n&&{from:n,to:r}},ma.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Bi(r,(function(){var i=t.line,o=tt(t.line),a=tr(r,o);if(a&&(ur(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!rn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Vn(n)-s;l&&et(i,i.height+l)}Mn(r,"markerChanged",r,e)}))},ma.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=R(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ma.prototype.detachLine=function(e){if(this.lines.splice(R(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},we(ma);var ga=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ya(e,t,n,r,i){(r=I(r)).shared=!1;var o=[va(e,t,n,r,i)],a=o[0],s=r.widgetNode;return yo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(va(e,ht(e,t),ht(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=Q(o)})),new ga(o,a)}function xa(e){return e.findMarks(ot(e.first,0),e.clipPos(ot(e.lastLine())),(function(e){return e.parent}))}function ba(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(at(o,a)){var s=va(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function wa(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];yo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==R(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ga.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Mn(this,"clear")}},ga.prototype.find=function(e,t){return this.primary.find(e,t)},we(ga);var Ca=0,ka=function(e,t,n,r,i){if(!(this instanceof ka))return new ka(e,t,n,r,i);null==n&&(n=0),ua.call(this,[new ca([new cn("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=ot(n,0);this.sel=so(o),this.history=new Co(null),this.id=++Ca,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),go(this,{from:o,to:o,text:e}),Ho(this,so(o),V)};ka.prototype=$(ua.prototype,{constructor:ka,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=$e(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Ti((function(e){var t=ot(this.first,0),n=this.first+this.size-1;_o(this,{from:t,to:ot(n,qe(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&li(this.cm,0,0),Ho(this,so(t),V)})),replaceRange:function(e,t,n,r){ia(this,e,t=ht(this,t),n=n?ht(this,n):t,r)},getRange:function(e,t,n){var r=_e(this,ht(this,e),ht(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e))return qe(this,e)},getLineNumber:function(e){return tt(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=qe(this,e)),_t(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ht(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ti((function(e,t,n){Oo(this,ht(this,"number"==typeof e?ot(e,t||0):e),null,n)})),setSelection:Ti((function(e,t,n){Oo(this,ht(this,e),ht(this,t||e),n)})),extendSelection:Ti((function(e,t,n){Fo(this,ht(this,e),t&&ht(this,t),n)})),extendSelections:Ti((function(e,t){Io(this,pt(this,e),t)})),extendSelectionsBy:Ti((function(e,t){Io(this,pt(this,J(this.sel.ranges,e)),t)})),setSelections:Ti((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new oo(ht(this,e[i].anchor),ht(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ho(this,ao(this.cm,r,t),n)}})),addSelection:Ti((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new oo(ht(this,e),ht(this,t||e))),Ho(this,ao(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=_e(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=_e(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Ti((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&fo(this,r,t),l=r.length-1;l>=0;l--)_o(this,r[l]);s?zo(this,s):this.cm&&si(this.cm)})),undo:Ti((function(){ea(this,"undo")})),redo:Ti((function(){ea(this,"redo")})),undoSelection:Ti((function(){ea(this,"undo",!0)})),redoSelection:Ti((function(){ea(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Co(this.history.maxGeneration),yo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:To(this.history.done),undone:To(this.history.undone)}},setHistory:function(e){var t=this.history=new Co(this.history.maxGeneration);t.done=To(e.done.slice(0),null,!0),t.undone=To(e.undone.slice(0),null,!0)},setGutterMarker:Ti((function(e,t,n){return la(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Ti((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&la(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!rt(this,e))return null;if(t=e,!(e=qe(this,e)))return null}else if(null==(t=tt(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Ti((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(A(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Ti((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(A(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Ti((function(e,t,n){return fa(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return va(this,ht(this,e),ht(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return va(this,e=ht(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=qe(this,(e=ht(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=ht(this,e),t=ht(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),ht(this,ot(n,t))},indexFromPos:function(e){var t=(e=ht(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new ka($e(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new ka($e(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ba(r,xa(this)),r},unlinkDoc:function(e){if(e instanceof Is&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),wa(xa(this));break}if(e.history==this.history){var n=[e.id];yo(e,(function(e){return n.push(e.id)}),!0),e.history=new Co(null),e.history.done=To(this.history.done,n),e.history.undone=To(this.history.undone,n)}},iterLinkedDocs:function(e){yo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Te(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Ti((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&wo(this.cm))}))}),ka.prototype.eachLine=ka.prototype.iter;var Aa=0;function Sa(e){var t=this;if(Na(t),!ye(t,e)&&!Kn(t.display,e)){Ce(e),a&&(Aa=+new Date);var n=jr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Di(t,(function(){var e={from:n=ht(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};_o(t.doc,e),zo(t.doc,so(ht(t.doc,n),ht(t.doc,lo(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==R(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Vo(t.doc,so(n,n)),h)for(var f=0;f<h.length;++f)ia(t.doc,"",h[f].anchor,h[f].head,"drag");t.replaceSelection(d,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Ea(e,t){if(a&&(!e.state.draggingText||+new Date-Aa<100))Se(t);else if(!ye(e,t)&&!Kn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=M("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}function La(e,t){var n=jr(e,t);if(n){var r=document.createDocumentFragment();Yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),N(e.display.dragCursor,r)}}function Na(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ma(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Pa=!1;function Ba(){Pa||(Da(),Pa=!0)}function Da(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ma(Za)}),100))})),pe(window,"blur",(function(){return Ma(_r)}))}function Za(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Ta={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"},ja=0;ja<10;ja++)Ta[ja+48]=Ta[ja+96]=String(ja);for(var Fa=65;Fa<=90;Fa++)Ta[Fa]=String.fromCharCode(Fa);for(var Ia=1;Ia<=12;Ia++)Ta[Ia+111]=Ta[Ia+63235]="F"+Ia;var Wa={};function Oa(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ra(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=J(n.split(" "),Oa),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function za(e,t,n,r){var i=(t=Ya(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return za(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=za(e,t.fallthrough[o],n,r);if(a)return a}}}function Ha(e){var t="string"==typeof e?e:Ta[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Va(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(C?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(C?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Ka(e,t){if(d&&34==e.keyCode&&e.char)return!1;var n=Ta[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Va(n,e,t))}function Ya(e){return"string"==typeof e?Wa[e]:e}function Ga(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&at(o.from,Q(r).to)<=0;){var a=r.pop();if(at(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Bi(e,(function(){for(var t=r.length-1;t>=0;t--)ia(e.doc,"",r[t].from,r[t].to,"+delete");si(e)}))}function Ua(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xa(e,t,n){var r=Ua(e,t.ch,n);return null==r?null:new ot(t.line,r,n<0?"after":"before")}function Qa(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=he(n,t.doc.direction);if(o){var a,s=i<0?Q(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=nr(t,n);a=i<0?n.text.length-1:0;var u=rr(t,c,a).top;a=se((function(e){return rr(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Ua(n,a,1))}else a=i<0?s.to:s.from;return new ot(r,a,l)}}return new ot(r,i<0?n.text.length:0,i<0?"before":"after")}function Ja(e,t,n,r){var i=he(t,e.doc.direction);if(!i)return Xa(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ue(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Xa(t,n,r);var s,l=function(e,n){return Ua(t,e instanceof ot?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||nr(e,t),Ar(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,h=l(n,d?1:-1);if(null!=h&&(d?h<=a.to&&h<=u.end:h>=a.from&&h>=u.begin)){var f=d?"before":"after";return new ot(n.line,h,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ot(n.line,l(e,1),"before"):new ot(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=p(o+r,r,u);if(m)return m;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=p(r>0?0:i.length-1,r,c(v)))?null:m}Wa.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"},Wa.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"},Wa.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"},Wa.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"]},Wa.default=y?Wa.macDefault:Wa.pcDefault;var qa={selectAll:Jo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return Ga(e,(function(t){if(t.empty()){var n=qe(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:ot(t.head.line+1,0)}:{from:t.head,to:ot(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ga(e,(function(t){return{from:ot(t.from().line,0),to:ht(e.doc,ot(t.to().line+1,0))}}))},delLineLeft:function(e){return Ga(e,(function(e){return{from:ot(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ga(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Ga(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ot(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ot(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return _a(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return es(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return $a(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),Y)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),Y)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?es(e,t.head):r}),Y)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=W(e.getLine(o.line),o.ch,r);t.push(X(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Bi(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=qe(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new ot(i.line,i.ch-1)),i.ch>0)i=new ot(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ot(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=qe(e.doc,i.line-1).text;a&&(i=new ot(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ot(i.line-1,a.length-1),i,"+transpose"))}n.push(new oo(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Bi(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);si(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function _a(e,t){var n=qe(e.doc,t),r=_t(n);return r!=n&&(t=tt(r)),Qa(!0,e,r,t,1)}function $a(e,t){var n=qe(e.doc,t),r=$t(n);return r!=n&&(t=tt(r)),Qa(!0,e,n,t,-1)}function es(e,t){var n=_a(e,t.line),r=qe(e.doc,n.line),i=he(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return ot(n.line,a?0:o,n.sticky)}return n}function ts(e,t,n){if("string"==typeof t&&!(t=qa[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=H}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ns(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=za(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&za(t,e.options.extraKeys,n,e)||za(t,e.options.keyMap,n,e)}var rs=new O;function is(e,t,n,r){var i=e.state.keySeq;if(i){if(Ha(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rs.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),os(e,i+" "+t,n,r))return!0}return os(e,t,n,r)}function os(e,t,n,r){var i=ns(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Mn(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(Ce(n),Xr(e)),!!i}function as(e,t){var n=Ka(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?is(e,"Shift-"+n,t,(function(t){return ts(e,t,!0)}))||is(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ts(e,t)})):is(e,n,t,(function(t){return ts(e,t)})))}function ss(e,t,n){return is(e,"'"+n+"'",t,(function(t){return ts(e,t,!0)}))}var ls=null;function cs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=D(),ye(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=as(t,e);d&&(ls=i?r:null,i||88!=r||Fe||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(E(t,"CodeMirror-crosshair"),ve(document,"keyup",n),ve(document,"mouseover",n))}Z(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function ds(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function hs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||Kn(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(d&&n==ls)return ls=null,void Ce(e);if(!d||e.which&&!(e.which<10)||!as(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(ss(t,e,i)||t.display.input.onKeyPress(e))}}}var fs,ps,ms=400,vs=function(e,t,n){this.time=e,this.pos=t,this.button=n};function gs(e,t){var n=+new Date;return ps&&ps.compare(n,e,t)?(fs=ps=null,"triple"):fs&&fs.compare(n,e,t)?(ps=new vs(n,e,t),fs=null,"double"):(fs=new vs(n,e,t),ps=null,"single")}function ys(e){var t=this,n=t.display;if(!(ye(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Kn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!Ls(t,e)){var r=jr(t,e),i=Le(e),o=r?gs(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&xs(t,i,r,o,e)||(1==i?r?ws(t,r,o,e):Ee(e)==n.scroller&&Ce(e):2==i?(r&&Fo(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(k?t.display.input.onContextMenu(e):Jr(t)))}}function xs(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),is(e,Va(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,(function(t){if("string"==typeof t&&(t=qa[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=H}finally{e.state.suppressEdits=!1}return r}))}function bs(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=x?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}function ws(e,t,n,r){a?setTimeout(F(Qr,e),0):e.curOp.focus=D();var i,o=bs(e,n,r),s=e.doc.sel;e.options.dragDrop&&Pe&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(at((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(at(i.to(),t)>0||t.xRel<0)?Cs(e,r,t,o):As(e,r,t,o)}function Cs(e,t,n,r){var i=e.display,o=!1,c=Di(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,ve(i.wrapper.ownerDocument,"mouseup",c),ve(i.wrapper.ownerDocument,"mousemove",u),ve(i.scroller,"dragstart",d),ve(i.scroller,"drop",c),o||(Ce(t),r.addNew||Fo(e.doc,n,null,null,r.extend),l&&!h||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),pe(i.wrapper.ownerDocument,"mouseup",c),pe(i.wrapper.ownerDocument,"mousemove",u),pe(i.scroller,"dragstart",d),pe(i.scroller,"drop",c),Jr(e),setTimeout((function(){return i.input.focus()}),20)}function ks(e,t,n){if("char"==n)return new oo(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new oo(ot(t.line,0),ht(e.doc,ot(t.line+1,0)));var r=n(e,t);return new oo(r.from,r.to)}function As(e,t,n,r){var i=e.display,o=e.doc;Ce(t);var a,s,l=o.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new oo(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new oo(n,n)),n=jr(e,t,!0,!0),s=-1;else{var u=ks(e,n,r.unit);a=r.extend?jo(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,Ho(o,ao(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(Ho(o,ao(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Wo(o,s,a,K):(s=0,Ho(o,new io([a],0),K),l=o.sel);var d=n;function h(t){if(0!=at(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,u=W(qe(o,n.line).text,n.ch,c),h=W(qe(o,t.line).text,t.ch,c),f=Math.min(u,h),p=Math.max(u,h),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=qe(o,m).text,y=G(g,f,c);f==p?i.push(new oo(ot(m,y),ot(m,y))):g.length>y&&i.push(new oo(ot(m,y),ot(m,G(g,p,c))))}i.length||i.push(new oo(n,n)),Ho(o,ao(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x,b=a,w=ks(e,t,r.unit),C=b.anchor;at(w.anchor,C)>0?(x=w.head,C=ut(b.from(),w.anchor)):(x=w.anchor,C=ct(b.to(),w.head));var k=l.ranges.slice(0);k[s]=Ss(e,new oo(ht(o,C),x)),Ho(o,ao(e,k,s),K)}}var f=i.wrapper.getBoundingClientRect(),p=0;function m(t){var n=++p,a=jr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=at(a,d)){e.curOp.focus=D(),h(a);var s=ti(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Di(e,(function(){p==n&&m(t)})),150)}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0;l&&setTimeout(Di(e,(function(){p==n&&(i.scroller.scrollTop+=l,m(t))})),50)}}function v(t){e.state.selectingText=!1,p=1/0,t&&(Ce(t),i.input.focus()),ve(i.wrapper.ownerDocument,"mousemove",g),ve(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var g=Di(e,(function(e){0!==e.buttons&&Le(e)?m(e):v(e)})),y=Di(e,v);e.state.selectingText=y,pe(i.wrapper.ownerDocument,"mousemove",g),pe(i.wrapper.ownerDocument,"mouseup",y)}function Ss(e,t){var n=t.anchor,r=t.head,i=qe(e.doc,n.line);if(0==at(n,r)&&n.sticky==r.sticky)return t;var o=he(i);if(!o)return t;var a=ue(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(o,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var h=o[c+(l?-1:0)],f=l==(1==h.level),p=f?h.from:h.to,m=f?"after":"before";return n.ch==p&&n.sticky==m?t:new oo(new ot(n.line,p,m),r)}function Es(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ce(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!be(e,n))return Ae(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return ge(e,n,e,nt(e.doc,o),e.display.gutterSpecs[l].className,t),Ae(t)}}function Ls(e,t){return Es(e,t,"gutterClick",!0)}function Ns(e,t){Kn(e.display,t)||Ms(e,t)||ye(e,t,"contextmenu")||k||e.display.input.onContextMenu(t)}function Ms(e,t){return!!be(e,"gutterContextMenu")&&Es(e,t,"gutterContextMenu",!1)}function Ps(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hr(e)}vs.prototype.compare=function(e,t,n){return this.time+ms>e&&0==at(t,this.pos)&&n==this.button};var Bs={toString:function(){return"CodeMirror.Init"}},Ds={},Zs={};function Ts(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Bs&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Bs,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,po(e)}),!0),n("indentUnit",2,po,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){mo(e),hr(e),Ir(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ot(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ia(e.doc,t,n[i],ot(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Bs&&e.refresh()})),n("specialCharPlaceholder",vn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!b),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ps(e),qi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ya(t),i=n!=Bs&&Ya(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Fs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Qi(t,e.options.lineNumbers),qi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Dr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return yi(e)}),!0),n("scrollbarStyle","native",(function(e){wi(e),yi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Qi(e.options.gutters,t),qi(e)}),!0),n("firstLineNumber",1,qi,!0),n("lineNumberFormatter",(function(e){return e}),qi,!0),n("showCursorWhenSelecting",!1,Vr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(_r(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Vr,!0),n("singleCursorHeightPerLine",!0,Vr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,mo,!0),n("addModeClass",!1,mo,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,mo,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function js(e,t,n){if(!t!=!(n&&n!=Bs)){var r=e.display.dragFunctions,i=t?pe:ve;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Fs(e){e.options.lineWrapping?(Z(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(E(e.display.wrapper,"CodeMirror-wrap"),ln(e)),Tr(e),Ir(e),hr(e),setTimeout((function(){return yi(e)}),100)}function Is(e,t){var n=this;if(!(this instanceof Is))return new Is(e,t);this.options=t=t?I(t):{},I(Ds,t,!1);var r=t.value;"string"==typeof r?r=new ka(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Is.inputStyles[t.inputStyle](this),o=this.display=new _i(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ps(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),wi(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 O,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ws(this),Ba(),ki(this),this.curOp.forceUpdate=!0,xo(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&qr(n)}),20):_r(this),Zs)Zs.hasOwnProperty(c)&&Zs[c](this,t[c],Bs);Xi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Os.length;++u)Os[u](this);Ai(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ws(e){var t=e.display;pe(t.scroller,"mousedown",Di(e,ys)),pe(t.scroller,"dblclick",a&&s<11?Di(e,(function(t){if(!ye(e,t)){var n=jr(e,t);if(n&&!Ls(e,t)&&!Kn(e.display,t)){Ce(t);var r=e.findWordAt(n);Fo(e.doc,r.anchor,r.head)}}})):function(t){return ye(e,t)||Ce(t)}),pe(t.scroller,"contextmenu",(function(t){return Ns(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Ns(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!Ls(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Kn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new oo(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new oo(ot(a.line,0),ht(e.doc,ot(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ce(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(hi(e,t.scroller.scrollTop),pi(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return ro(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return ro(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||Se(t)},over:function(t){ye(e,t)||(La(e,t),Se(t))},start:function(t){return Ea(e,t)},drop:Di(e,Sa),leave:function(t){ye(e,t)||Na(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return ds.call(e,t)})),pe(c,"keydown",Di(e,cs)),pe(c,"keypress",Di(e,hs)),pe(c,"focus",(function(t){return qr(e,t)})),pe(c,"blur",(function(t){return _r(e,t)}))}Is.defaults=Ds,Is.optionHandlers=Zs;var Os=[];function Rs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=xt(e,t).state:n="prev");var a=e.options.tabSize,s=qe(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==H||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(qe(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",h=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)h+=a,d+="\t";if(h<c&&(d+=X(c-h)),d!=u)return ia(o,d,ot(t,0),ot(t,u.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==t&&m.head.ch<u.length){var v=ot(t,u.length);Wo(o,p,new oo(v,v));break}}}Is.defineInitHook=function(e){return Os.push(e)};var zs=null;function Hs(e){zs=e}function Vs(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Te(t),c=null;if(s&&r.ranges.length>1)if(zs&&zs.text.join("\n")==t){if(r.ranges.length%zs.text.length==0){c=[];for(var u=0;u<zs.text.length;u++)c.push(o.splitLines(zs.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=J(l,(function(e){return[e]})));for(var d=e.curOp.updateInput,h=r.ranges.length-1;h>=0;h--){var f=r.ranges[h],p=f.from(),m=f.to();f.empty()&&(n&&n>0?p=ot(p.line,p.ch-n):e.state.overwrite&&!s?m=ot(m.line,Math.min(qe(o,m.line).text.length,m.ch+Q(l).length)):s&&zs&&zs.lineWise&&zs.text.join("\n")==l.join("\n")&&(p=m=ot(p.line,0)));var v={from:p,to:m,text:c?c[h%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};_o(e.doc,v),Mn(e,"inputRead",e,v)}t&&!s&&Ys(e,t),si(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ks(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Bi(t,(function(){return Vs(t,n,0,null,"paste")})),!0}function Ys(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Rs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(qe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Rs(e,i.head.line,"smart"));a&&Mn(e,"electricInput",e,i.head.line)}}}function Gs(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:ot(i,0),head:ot(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Us(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function Xs(){var e=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=M("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),Us(e),t}function Qs(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Di(this,t[e])(this,n,i),ge(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ya(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Zi((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");q(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Ir(this)})),removeOverlay:Zi((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Ir(this)}})),indentLine:Zi((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),rt(this.doc,e)&&Rs(this,e,t,n)})),indentSelection:Zi((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Rs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&si(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Rs(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Wo(this.doc,r,new oo(o,c[r].to()),V)}}})),getTokenAt:function(e,t){return At(this,e,t)},getLineTokens:function(e,t){return At(this,ot(e),t,!0)},getTokenTypeAt:function(e){e=ht(this.doc,e);var t,n=yt(this,qe(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==R(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return xt(this,(e=dt(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return xr(this,null==e?n.head:"object"==typeof e?ht(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return yr(this,ht(this.doc,e),t||"page")},coordsChar:function(e,t){return Cr(this,(e=gr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=gr(this,{top:e,left:0},t||"page").top,nt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=qe(this.doc,e)}else r=e;return vr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-an(r):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Pr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=xr(this,ht(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ii(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Zi(cs),triggerOnKeyPress:Zi(hs),triggerOnKeyUp:ds,triggerOnMouseDown:Zi(ys),execCommand:function(e){if(qa.hasOwnProperty(e))return qa[e].call(null,this)},triggerElectric:Zi((function(e){Ys(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=ht(this.doc,e),a=0;a<t&&!(o=Js(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:Zi((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Js(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),Y)})),deleteH:Zi((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ga(this,(function(n){var i=Js(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=ht(this.doc,e),s=0;s<t;++s){var l=xr(this,a,"div");if(null==o?o=l.left:l.left=o,(a=qs(this,l,i,n)).hitSide)break}return a},moveV:Zi((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=xr(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=qs(n,s,e,t);return"page"==t&&a==r.sel.primary()&&ai(n,yr(n,l,"div").top-s.top),l}),Y),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=qe(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ne(o,i)?function(e){return ne(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new oo(ot(e.line,n),ot(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Z(this.display.cursorDiv,"CodeMirror-overwrite"):E(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==D()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Zi((function(e,t){li(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Xn(this)-this.display.barHeight,width:e.scrollWidth-Xn(this)-this.display.barWidth,clientHeight:Jn(this),clientWidth:Qn(this)}},scrollIntoView:Zi((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ot(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?ci(this,e):di(this,e.from,e.to,e.margin)})),setSize:Zi((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&dr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Wr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,ge(this,"refresh",this)})),operation:function(e){return Bi(this,e)},startOperation:function(){return ki(this)},endOperation:function(){return Ai(this)},refresh:Zi((function(){var e=this.display.cachedTextHeight;Ir(this),this.curOp.forceUpdate=!0,hr(this),li(this,this.doc.scrollLeft,this.doc.scrollTop),Yi(this.display),(null==e||Math.abs(e-Mr(this.display))>.5||this.options.lineWrapping)&&Tr(this),ge(this,"refresh",this)})),swapDoc:Zi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),xo(this,e),hr(this),this.display.input.reset(),li(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Mn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},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}},we(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Js(e,t,n,r,i){var o=t,a=n,s=qe(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new ot(n,t.ch,t.sticky),s=qe(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(r>0?0:-1));a=isNaN(u)?null:new ot(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(u>=55296&&u<56320?2:1))),-n)}else a=i?Ja(e.cm,s,t,n):Xa(s,t,n);if(null==a){if(o||!c())return!1;t=Qa(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var d=null,h="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||u(!p);p=!1){var m=s.text.charAt(t.ch)||"\n",v=ne(m,f)?"w":h&&"\n"==m?"n":!h||/\s/.test(m)?null:"p";if(!h||p||v||(v="s"),d&&d!=v){n<0&&(n=1,u(),t.sticky="after");break}if(v&&(d=v),n>0&&!u(!p))break}var g=Xo(e,t,o,a,!0);return st(o,g)&&(g.hitSide=!0),g}function qs(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Mr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Cr(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var _s=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new O,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function $s(e,t){var n=tr(e,t.line);if(!n||n.hidden)return null;var r=qe(e.doc,t.line),i=_n(n,r,t.line),o=he(r,e.doc.direction),a="left";o&&(a=ue(o,t.ch)%2?"right":"left");var s=ar(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function el(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function tl(e,t){return t&&(e.bad=!0),e}function nl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function d(e){e&&(u(),o+=e)}function h(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ot(r,0),ot(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&d(_e(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var v=0;v<t.childNodes.length;v++)h(t.childNodes[v]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),m&&(a=!0)}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;h(t),t!=n;)t=t.nextSibling,l=!1;return o}function rl(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return tl(e.clipPos(ot(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return il(o,t,n)}}function il(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!B(r,t))return tl(ot(tt(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?Q(e.rest):e.line;return tl(ot(tt(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=tt(i<0?e.line:e.rest[i]),d=o[a]+r;return(r<0||s!=t)&&(d=o[a+(r?1:0)]),ot(u,d)}}}var d=u(a,s,n);if(d)return tl(d,i);for(var h=s.nextSibling,f=a?a.nodeValue.length-n:0;h;h=h.nextSibling){if(d=u(h,h.firstChild,0))return tl(ot(d.line,d.ch-f),i);f+=h.textContent.length}for(var p=s.previousSibling,m=n;p;p=p.previousSibling){if(d=u(p,p.firstChild,-1))return tl(ot(d.line,d.ch+m),i);m+=p.textContent.length}}_s.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(r,e)){if(r.somethingSelected())Hs({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Gs(r);Hs({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,V),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=zs.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=Xs(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=zs.text.join("\n");var c=document.activeElement;j(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}Us(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){!o(e)||ye(r,e)||Ks(e,r)||s<=11&&setTimeout(Di(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",a),pe(i,"cut",a)},_s.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},_s.prototype.prepareSelection=function(){var e=Kr(this.cm,!1);return e.focus=document.activeElement==this.div,e},_s.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},_s.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},_s.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=rl(t,e.anchorNode,e.anchorOffset),s=rl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=at(ut(a,s),i)||0!=at(ct(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&$s(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&$s(t,o);if(!u){var d=l[l.length-1].measure,h=d.maps?d.maps[d.maps.length-1]:d.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(c&&u){var f,p=e.rangeCount&&e.getRangeAt(0);try{f=S(c.node,c.offset,u.offset,u.node)}catch(e){}f&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},_s.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},_s.prototype.showMultipleSelections=function(e){N(this.cm.display.cursorDiv,e.cursors),N(this.cm.display.selectionDiv,e.selection)},_s.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},_s.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return B(this.div,t)},_s.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},_s.prototype.blur=function(){this.div.blur()},_s.prototype.getField=function(){return this.div},_s.prototype.supportsTouch=function(){return!0},_s.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Bi(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},_s.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},_s.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&el(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=rl(t,e.anchorNode,e.anchorOffset),r=rl(t,e.focusNode,e.focusOffset);n&&r&&Bi(t,(function(){Ho(t.doc,so(n,r),V),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},_s.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ot(a.line-1,qe(r.doc,a.line-1).length)),s.ch==qe(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ot(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Fr(r,a.line))?(t=tt(i.view[0].line),n=i.view[0].node):(t=tt(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Fr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=tt(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(nl(r,n,c,t,l)),h=_e(r.doc,ot(t,0),ot(l,qe(r.doc,l).text.length));d.length>1&&h.length>1;)if(Q(d)==Q(h))d.pop(),h.pop(),l--;else{if(d[0]!=h[0])break;d.shift(),h.shift(),t++}for(var f=0,p=0,m=d[0],v=h[0],g=Math.min(m.length,v.length);f<g&&m.charCodeAt(f)==v.charCodeAt(f);)++f;for(var y=Q(d),x=Q(h),b=Math.min(y.length-(1==d.length?f:0),x.length-(1==h.length?f:0));p<b&&y.charCodeAt(y.length-p-1)==x.charCodeAt(x.length-p-1);)++p;if(1==d.length&&1==h.length&&t==a.line)for(;f&&f>a.ch&&y.charCodeAt(y.length-p-1)==x.charCodeAt(x.length-p-1);)f--,p++;d[d.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var w=ot(t,f),C=ot(l,h.length?Q(h).length-p:0);return d.length>1||d[0]||at(w,C)?(ia(r.doc,d,w,C,"+input"),!0):void 0},_s.prototype.ensurePolled=function(){this.forceCompositionEnd()},_s.prototype.reset=function(){this.forceCompositionEnd()},_s.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},_s.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},_s.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Bi(this.cm,(function(){return Ir(e.cm)}))},_s.prototype.setUneditable=function(e){e.contentEditable="false"},_s.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Di(this.cm,Vs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},_s.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},_s.prototype.onContextMenu=function(){},_s.prototype.resetPosition=function(){},_s.prototype.needsContentAttribute=!0;var ol=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new O,this.hasSelection=!1,this.composing=null};function al(e,t){if((t=t?I(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=D();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ve(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Is((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function sl(e){e.off=ve,e.on=pe,e.wheelEventPixels=no,e.Doc=ka,e.splitLines=Te,e.countColumn=W,e.findColumn=G,e.isWordChar=te,e.Pass=H,e.signal=ge,e.Line=cn,e.changeEnd=lo,e.scrollbarModel=bi,e.Pos=ot,e.cmpPos=at,e.modes=Oe,e.mimeModes=Re,e.resolveMode=Ve,e.getMode=Ke,e.modeExtensions=Ye,e.extendMode=Ge,e.copyState=Ue,e.startState=Qe,e.innerMode=Xe,e.commands=qa,e.keyMap=Wa,e.keyName=Ka,e.isModifierKey=Ha,e.lookupKey=za,e.normalizeKeyMap=Ra,e.StringStream=Je,e.SharedTextMarker=ga,e.TextMarker=ma,e.LineWidget=da,e.e_preventDefault=Ce,e.e_stopPropagation=ke,e.e_stop=Se,e.addClass=Z,e.contains=B,e.rmClass=E,e.keyNames=Ta}ol.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(r,e)){if(r.somethingSelected())Hs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Gs(r);Hs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,V):(n.prevInput="",i.value=t.text.join("\n"),j(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){ye(r,e)||Ks(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Kn(e,t)&&!ye(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Kn(e,t)||Ce(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},ol.prototype.createField=function(e){this.wrapper=Xs(),this.textarea=this.wrapper.firstChild},ol.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},ol.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Kr(e);if(e.options.moveInputWithCursor){var i=xr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},ol.prototype.showSelection=function(e){var t=this.cm.display;N(t.cursorDiv,e.cursors),N(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ol.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&j(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},ol.prototype.getField=function(){return this.textarea},ol.prototype.supportsTouch=function(){return!1},ol.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||D()!=this.textarea))try{this.textarea.focus()}catch(e){}},ol.prototype.blur=function(){this.textarea.blur()},ol.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ol.prototype.receivedFocus=function(){this.slowPoll()},ol.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},ol.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},ol.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||je(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Bi(t,(function(){Vs(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ol.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ol.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},ol.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=jr(n,e),c=r.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Di(n,Ho)(n.doc,so(o),V);var u,h=i.style.cssText,f=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),k){Se(e);var m=function(){ve(window,"mouseup",m),setTimeout(g,20)};pe(window,"mouseup",m)}else setTimeout(g,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=h,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Di(n,Jo)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},ol.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},ol.prototype.setUneditable=function(){},ol.prototype.needsContentAttribute=!1,Ts(Is),Qs(Is);var ll="iter insert remove copy getEditor constructor".split(" ");for(var cl in ka.prototype)ka.prototype.hasOwnProperty(cl)&&R(ll,cl)<0&&(Is.prototype[cl]=function(e){return function(){return e.apply(this.doc,arguments)}}(ka.prototype[cl]));return we(ka),Is.inputStyles={textarea:ol,contenteditable:_s},Is.defineMode=function(e){Is.defaults.mode||"null"==e||(Is.defaults.mode=e),ze.apply(this,arguments)},Is.defineMIME=He,Is.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Is.defineMIME("text/plain","null"),Is.defineExtension=function(e,t){Is.prototype[e]=t},Is.defineDocExtension=function(e,t){ka.prototype[e]=t},Is.fromTextArea=al,sl(Is),Is.version="5.58.2",Is}()},25419:function(e,t,n){!function(e){"use strict";e.defineMode("markdown",(function(t,n){var r=e.getMode(t,"text/html"),i="null"==r.name;function o(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.fencedCodeBlockDefaultMode&&(n.fencedCodeBlockDefaultMode="text/plain"),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={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 s in a)a.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(a[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,d=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,v=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,g=" ";function y(e,t,n){return t.f=t.inline=n,n(e,t)}function x(e,t,n){return t.f=t.block=n,n(e,t)}function b(e){return!e||!/\S/.test(e.string)}function w(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==k){var n=i;if(!n){var o=e.innerMode(r,t.htmlState);n="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}n&&(t.f=L,t.block=C,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function C(t,r){var i=t.column()===r.indentation,s=b(r.prevLine.stream),f=r.indentedCode,v=r.prevLine.hr,g=!1!==r.list,x=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var w=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,g)){for(r.list=null;w<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=w-r.listStack[r.listStack.length-1])}var C=!(s||v||r.prevLine.header||g&&f||r.prevLine.fencedCodeEnd),k=(!1===r.list||v||s)&&r.indentation<=x&&t.match(l),E=null;if(r.indentationDiff>=4&&(f||r.prevLine.fencedCodeEnd||r.prevLine.header||s))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=x&&(E=t.match(d))&&E[1].length<=6)return r.quote=0,r.header=E[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,S(r);if(r.indentation<=x&&t.eat(">"))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),t.eatSpace(),S(r);if(!k&&!r.setext&&i&&r.indentation<=x&&(E=t.match(c))){var L=E[1]?"ol":"ul";return r.indentation=w+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(u,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+L]),S(r)}return i&&r.indentation<=x&&(E=t.match(p,!0))?(r.quote=0,r.fencedEndRE=new RegExp(E[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&o(E[2]||n.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=A,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,S(r)):r.setext||!(C&&g||r.quote||!1!==r.list||r.code||k||m.test(t.string))&&(E=t.lookAhead(1))&&(E=E.match(h))?(r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==E[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,S(r)):k?(t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===t.peek()?y(t,r,D):y(t,r,r.inline)}function k(t,n){var o=r.token(t,n.htmlState);if(!i){var a=e.innerMode(r,n.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=L,n.block=C,n.htmlState=null)}return o}function A(e,t){var r,i=t.listStack[t.listStack.length-1]||0,o=t.indentation<i,s=i+3;return t.fencedEndRE&&t.indentation<=s&&(o||e.match(t.fencedEndRE))?(n.highlightFormatting&&(t.formatting="code-block"),o||(r=S(t)),t.localMode=t.localState=null,t.block=C,t.f=L,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,o?x(e,t,t.block):r):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),a.code)}function S(e){var t=[];if(e.formatting){t.push(a.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(a.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(a.linkHref,"url"):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,"link"),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+"-"+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+"-"+e.quote):t.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function E(e,t){if(e.match(f,!0))return S(t)}function L(t,i){var o=i.text(t,i);if(void 0!==o)return o;if(i.list)return i.list=null,S(i);if(i.taskList)return" "===t.match(u,!0)[1]?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,S(i);if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),S(i);var s=t.next();if(i.linkTitle){i.linkTitle=!1;var l=s;"("===s&&(l=")");var c="^\\s*(?:[^"+(l=(l+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+l;if(t.match(new RegExp(c),!0))return a.linkHref}if("`"===s){var d=i.formatting;n.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var h=t.current().length;if(0!=i.code||i.quote&&1!=h){if(h==i.code){var f=S(i);return i.code=0,f}return i.formatting=d,S(i)}return i.code=h,S(i)}if(i.code)return S(i);if("\\"===s&&(t.next(),n.highlightFormatting)){var p=S(i),m=a.formatting+"-escape";return p?p+" "+m:m}if("!"===s&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),S(i);if("["===s&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),S(i);if("]"===s&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");var p=S(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=M,p}if("["===s&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,n.highlightFormatting&&(i.formatting="link")),S(i);if("]"===s&&i.linkText){n.highlightFormatting&&(i.formatting="link");var p=S(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?M:L,p}if("<"===s&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=N,n.highlightFormatting&&(i.formatting="link"),(p=S(i))?p+=" ":p="",p+a.linkInline;if("<"===s&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return i.f=i.inline=N,n.highlightFormatting&&(i.formatting="link"),(p=S(i))?p+=" ":p="",p+a.linkEmail;if(n.xml&&"<"===s&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var g=t.string.indexOf(">",t.pos);if(-1!=g){var y=t.string.substring(t.start,g);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(y)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),x(t,i,k)}if(n.xml&&"<"===s&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===s||"_"===s){for(var b=1,w=1==t.pos?" ":t.string.charAt(t.pos-2);b<3&&t.eat(s);)b++;var C=t.peek()||" ",A=!/\s/.test(C)&&(!v.test(C)||/\s/.test(w)||v.test(w)),E=!/\s/.test(w)&&(!v.test(w)||/\s/.test(C)||v.test(C)),P=null,B=null;if(b%2&&(i.em||!A||"*"!==s&&E&&!v.test(w)?i.em!=s||!E||"*"!==s&&A&&!v.test(C)||(P=!1):P=!0),b>1&&(i.strong||!A||"*"!==s&&E&&!v.test(w)?i.strong!=s||!E||"*"!==s&&A&&!v.test(C)||(B=!1):B=!0),null!=B||null!=P)return n.highlightFormatting&&(i.formatting=null==P?"strong":null==B?"em":"strong em"),!0===P&&(i.em=s),!0===B&&(i.strong=s),f=S(i),!1===P&&(i.em=!1),!1===B&&(i.strong=!1),f}else if(" "===s&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return S(i);t.backUp(1)}if(n.strikethrough)if("~"===s&&t.eatWhile(s)){if(i.strikethrough)return n.highlightFormatting&&(i.formatting="strikethrough"),f=S(i),i.strikethrough=!1,f;if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),S(i)}else if(" "===s&&t.match(/^~~/,!0)){if(" "===t.peek())return S(i);t.backUp(2)}if(n.emoji&&":"===s&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var D=S(i);return i.emoji=!1,D}return" "===s&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),S(i)}function N(e,t){if(">"===e.next()){t.f=t.inline=L,n.highlightFormatting&&(t.formatting="link");var r=S(t);return r?r+=" ":r="",r+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function M(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=B("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,S(t)):"error"}var P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(e){return function(t,r){if(t.next()===e){r.f=r.inline=L,n.highlightFormatting&&(r.formatting="link-string");var i=S(r);return r.linkHref=!1,i}return t.match(P[e]),r.linkHref=!0,S(r)}}function D(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=Z,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,S(t)):y(e,t,L)}function Z(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=T,n.highlightFormatting&&(t.formatting="link");var r=S(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function T(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=L,a.linkHref+" url")}var j={startState:function(){return{f:C,prevLine:{stream:null},thisLine:{stream:null},block:C,htmlState:null,indentation:0,inline:L,text:E,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(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return w(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=k)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,g).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==k?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:j}},indent:function(t,n,i){return t.block==k&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine:w,getType:S,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return j}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}(n(89780),n(15525),n(98101))},98101:function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}(n(89780))},67549:function(e,t,n){!function(e){"use strict";e.defineMode("stex",(function(e,t){function n(e,t){e.cmdState.push(t)}function r(e){return e.cmdState.length>0?e.cmdState[e.cmdState.length-1]:null}function i(e){var t=e.cmdState.pop();t&&t.closeBracket()}function o(e){for(var t=e.cmdState,n=t.length-1;n>=0;n--){var r=t[n];if("DEFAULT"!=r.name)return r}return{styleIdentifier:function(){return null}}}function a(e,t,n){return function(){this.name=e,this.bracketNo=0,this.style=t,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var s={};function l(e,t){e.f=t}function c(e,t){var i;if(e.match(/^\\[a-zA-Z@]+/)){var a=e.current().slice(1);return n(t,i=new(i=s.hasOwnProperty(a)?s[a]:s.DEFAULT)),l(t,d),i.style}if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/\\]/))return"tag";if(e.match("\\["))return l(t,(function(e,t){return u(e,t,"\\]")})),"keyword";if(e.match("\\("))return l(t,(function(e,t){return u(e,t,"\\)")})),"keyword";if(e.match("$$"))return l(t,(function(e,t){return u(e,t,"$$")})),"keyword";if(e.match("$"))return l(t,(function(e,t){return u(e,t,"$")})),"keyword";var c=e.next();return"%"==c?(e.skipToEnd(),"comment"):"}"==c||"]"==c?(i=r(t))?(i.closeBracket(c),l(t,d),"bracket"):"error":"{"==c||"["==c?(n(t,i=new(i=s.DEFAULT)),"bracket"):/\d/.test(c)?(e.eatWhile(/[\w.%]/),"atom"):(e.eatWhile(/[\w\-_]/),"begin"==(i=o(t)).name&&(i.argument=e.current()),i.styleIdentifier())}function u(e,t,n){if(e.eatSpace())return null;if(n&&e.match(n))return l(t,c),"keyword";if(e.match(/^\\[a-zA-Z@]+/))return"tag";if(e.match(/^[a-zA-Z]+/))return"variable-2";if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/]/))return"tag";if(e.match(/^[\^_&]/))return"tag";if(e.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(e.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var r=e.next();return"{"==r||"}"==r||"["==r||"]"==r||"("==r||")"==r?"bracket":"%"==r?(e.skipToEnd(),"comment"):"error"}function d(e,t){var n=e.peek();return"{"==n||"["==n?(r(t).openBracket(n),e.eat(n),l(t,c),"bracket"):/[ \t\r]/.test(n)?(e.eat(n),null):(l(t,c),i(t),c(e,t))}return s.importmodule=a("importmodule","tag",["string","builtin"]),s.documentclass=a("documentclass","tag",["","atom"]),s.usepackage=a("usepackage","tag",["atom"]),s.begin=a("begin","tag",["atom"]),s.end=a("end","tag",["atom"]),s.label=a("label","tag",["atom"]),s.ref=a("ref","tag",["atom"]),s.eqref=a("eqref","tag",["atom"]),s.cite=a("cite","tag",["atom"]),s.bibitem=a("bibitem","tag",["atom"]),s.Bibitem=a("Bibitem","tag",["atom"]),s.RBibitem=a("RBibitem","tag",["atom"]),s.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:t.inMathMode?function(e,t){return u(e,t)}:c}},copyState:function(e){return{cmdState:e.cmdState.slice(),f:e.f}},token:function(e,t){return t.f(e,t)},blankLine:function(e){e.f=c,e.cmdState.length=0},lineComment:"%"}})),e.defineMIME("text/x-stex","stex"),e.defineMIME("text/x-latex","stex")}(n(89780))},15525:function(e,t,n){!function(e){"use strict";var t={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},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,i){var o,a,s=r.indentUnit,l={},c=i.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in i)l[u]=i[u];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(p("atom","]]>")):null:e.match("--")?n(p("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=h,"tag bracket"):"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function h(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=d,t.state=x,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=f(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=h;break}return"string"};return t.isInAttribute=!0,t}function p(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function m(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=m(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=d;break}return n.tokenize=m(e-1),n.tokenize(t,n)}}return"meta"}}function v(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function y(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function x(e,t,n){return"openTag"==e?(n.tagStart=t.column(),b):"closeTag"==e?w:x}function b(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",A):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",A(e,t,n)):(a="error",b)}function w(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",C):(a="tag error",k)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",C(e,t,n)):(a="error",k)}function C(e,t,n){return"endTag"!=e?(a="error",C):(g(n),x)}function k(e,t,n){return a="error",C(e,t,n)}function A(e,t,n){if("word"==e)return a="attribute",S;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?y(n,r):(y(n,r),n.context=new v(n,r,i==n.indented)),x}return a="error",A}function S(e,t,n){return"equals"==e?E:(l.allowMissing||(a="error"),A(e,t,n))}function E(e,t,n){return"string"==e?L:"word"==e&&l.allowUnquoted?(a="string",A):(a="error",A(e,t,n))}function L(e,t,n){return"string"==e?L:A(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:x,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=h&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var o=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(o&&o[1])for(;i;){if(i.tagName==o[2]){i=i.prev;break}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(o)for(;i;){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==E&&(e.state=A)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)n.tagName&&t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(89780))},2859:function(e,t,n){"use strict";n.d(t,{hP:function(){return _}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var l=function(){function e(){}return e.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},e.setAttributes=function(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n],o=i[0],a=i[1];e.setAttribute(o,a)}},e.createRect=function(t,n,r){var i=document.createElementNS("http://www.w3.org/2000/svg","rect");return i.setAttribute("width",t.toString()),i.setAttribute("height",n.toString()),r&&e.setAttributes(i,r),i},e.createLine=function(t,n,r,i,o){var a=document.createElementNS("http://www.w3.org/2000/svg","line");return a.setAttribute("x1",t.toString()),a.setAttribute("y1",n.toString()),a.setAttribute("x2",r.toString()),a.setAttribute("y2",i.toString()),o&&e.setAttributes(a,o),a},e.createPolygon=function(t,n){var r=document.createElementNS("http://www.w3.org/2000/svg","polygon");return r.setAttribute("points",t),n&&e.setAttributes(r,n),r},e.createCircle=function(t,n){var r=document.createElementNS("http://www.w3.org/2000/svg","circle");return r.setAttribute("cx",(t/2).toString()),r.setAttribute("cy",(t/2).toString()),r.setAttribute("r",t.toString()),n&&e.setAttributes(r,n),r},e.createEllipse=function(t,n,r){var i=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return i.setAttribute("cx",(t/2).toString()),i.setAttribute("cy",(n/2).toString()),i.setAttribute("rx",(t/2).toString()),i.setAttribute("ry",(n/2).toString()),r&&e.setAttributes(i,r),i},e.createGroup=function(t){var n=document.createElementNS("http://www.w3.org/2000/svg","g");return t&&e.setAttributes(n,t),n},e.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},e.createMarker=function(t,n,r,i,o,a,s){var l=document.createElementNS("http://www.w3.org/2000/svg","marker");return e.setAttributes(l,[["id",t],["orient",n],["markerWidth",r.toString()],["markerHeight",i.toString()],["refX",o.toString()],["refY",a.toString()]]),l.appendChild(s),l},e.createText=function(t){var n=document.createElementNS("http://www.w3.org/2000/svg","text");return n.setAttribute("x","0"),n.setAttribute("y","0"),t&&e.setAttributes(n,t),n},e.createTSpan=function(t,n){var r=document.createElementNS("http://www.w3.org/2000/svg","tspan");return r.textContent=t,n&&e.setAttributes(r,n),r},e.createImage=function(t){var n=document.createElementNS("http://www.w3.org/2000/svg","image");return t&&e.setAttributes(n,t),n},e.createPoint=function(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return n.x=e,n.y=t,n},e.createPath=function(t,n){var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",t),n&&e.setAttributes(r,n),r},e}(),c=function(){function e(){}return e.addKey=function(t){e.key=t},Object.defineProperty(e,"isLicensed",{get:function(){return!!e.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(e.key)},enumerable:!1,configurable:!0}),e}(),u=function(){function e(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return e.prototype.rasterize=function(e,t,n){var r=this;return new Promise((function(i){var o=void 0!==n?n:document.createElement("canvas");null===e&&(r.markersOnly=!0,r.naturalSize=!1);var a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("width",t.width.baseVal.valueAsString),a.setAttribute("height",t.height.baseVal.valueAsString),a.setAttribute("viewBox","0 0 "+t.viewBox.baseVal.width.toString()+" "+t.viewBox.baseVal.height.toString()),a.innerHTML=t.innerHTML,!0===r.naturalSize?(a.width.baseVal.value=e.naturalWidth,a.height.baseVal.value=e.naturalHeight):void 0!==r.width&&void 0!==r.height&&(a.width.baseVal.value=r.width,a.height.baseVal.value=r.height),o.width=a.width.baseVal.value,o.height=a.height.baseVal.value;var s=a.outerHTML,l=o.getContext("2d");!0!==r.markersOnly&&l.drawImage(e,0,0,o.width,o.height);var c=window.URL,u=new Image(o.width,o.height);u.setAttribute("crossOrigin","anonymous");var d=new Blob([s],{type:"image/svg+xml"}),h=c.createObjectURL(d);u.onload=function(){l.drawImage(u,0,0),c.revokeObjectURL(h);var e=o.toDataURL(r.imageType,r.imageQuality);i(e)},u.src=h}))},e}(),d=function(){},h=function(){function e(e){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+e+"_"}return Object.defineProperty(e.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(e.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(e.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),e.prototype.addClass=function(e){return void 0===this.styleSheet&&this.addStyleSheet(),e.name=""+this.classNamePrefix+e.localName,this.classes.push(e),this.styleSheet.sheet.insertRule("."+e.name+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length),e},e.prototype.addRule=function(e){void 0===this.styleSheet&&this.addStyleSheet(),this.rules.push(e),this.styleSheet.sheet.insertRule(e.selector+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length)},e.prototype.addStyleSheet=function(){var e;this.styleSheet=document.createElement("style"),(null!==(e=this.styleSheetRoot)&&void 0!==e?e:document.head).appendChild(this.styleSheet),this.addRule(new f("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new f("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames","\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n ")),this.addRule(new f("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames","\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n ")),this.addClass(new p("fade_in","\n animation-duration: 0.3s;\n animation-name: "+this.classNamePrefix+"_fade_in_animation_frames;\n ")),this.addClass(new p("fade_out","\n animation-duration: 0.3s;\n animation-name: "+this.classNamePrefix+"_fade_out_animation_frames;\n "))},e.prototype.removeStyleSheet=function(){var e;this.styleSheet&&((null!==(e=this.styleSheetRoot)&&void 0!==e?e:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},e}(),f=function(e,t){this.selector=e,this.style=t},p=function(e,t){this.localName=e,this.style=t},m=function(){function e(e,t,n,r,i){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=e,this.displayMode=t,this.markerItems=n,this.uiStyleSettings=r,this.styles=i,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return e.prototype.show=function(e){var t=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=e,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var n=document.createElement("div");n.className=this.toolbarBlockStyleClass.name,n.style.whiteSpace="nowrap",this.uiContainer.appendChild(n),this.addActionButton(n,'<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(n,'<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(n,'<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(n,'<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(n,'<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(n,'<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(n,'<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(n,'<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(e){var n=document.createElement("div");n.className=""+t.toolbarButtonStyleClass.name,n.setAttribute("data-type-name",e.typeName),n.innerHTML=e.icon,n.addEventListener("click",(function(){t.markerToolbarButtonClicked(n,e)})),t.buttons.push(n),t.markerButtons.push(n)})),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 r=document.createElement("div");r.className=this.toolbarBlockStyleClass.name,r.style.whiteSpace="nowrap",r.style.display=!1!==this.uiStyleSettings.resultButtonBlockVisible?"":"none",this.uiContainer.appendChild(r),this.addActionButton(r,'<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(r,'<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()},e.prototype.addButtonClickListener=function(e){this.buttonClickListeners.push(e)},e.prototype.removeButtonClickListener=function(e){this.buttonClickListeners.indexOf(e)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(e),1)},e.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},e.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var e=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var t=0;t<this.markerButtons.length;t++)t<e||t===e&&this.markerButtons.length-1===e?this.markerButtonBlock.appendChild(this.markerButtons[t]):(t===e&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[t]))}},e.prototype.overflowButtonClicked=function(){"none"!==this.markerButtonOverflowBlock.style.display?(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")},e.prototype.resetButtonStyles=function(){var e=this;this.buttons.forEach((function(t){t.className=t.className.replace(e.uiStyleSettings.toolbarButtonStyleColorsClassName?e.uiStyleSettings.toolbarButtonStyleColorsClassName:e.toolbarButtonStyleColorsClass.name,"").trim(),t.className=t.className.replace(e.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?e.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:e.toolbarActiveButtonStyleColorsClass.name,"").trim(),t.className+=" "+(e.uiStyleSettings.toolbarButtonStyleColorsClassName?e.uiStyleSettings.toolbarButtonStyleColorsClassName:e.toolbarButtonStyleColorsClass.name)}))},e.prototype.addActionButton=function(e,t,n){var r=this,i=document.createElement("div");switch(i.className=""+this.toolbarButtonStyleClass.name,i.innerHTML=t,i.setAttribute("data-action",n),i.addEventListener("click",(function(){r.actionToolbarButtonClicked(i,n)})),n){case"select":case"undo":case"redo":i.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":i.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"render":i.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":i.style.fill=this.uiStyleSettings.closeButtonColor}e.appendChild(i),this.buttons.push(i)},e.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new p("toolbar","\n width: 100%;\n flex-shrink: 0;\n display: flex;\n flex-direction: row;\n justify-content: space-between; \n height: "+this.uiStyleSettings.toolbarHeight+"px;\n box-sizing: content-box;\n "+("inline"===this.displayMode?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+"\n "+("inline"===this.displayMode?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+"\n overflow: hidden;\n ")),this.toolbarStyleColorsClass=this.styles.addClass(new p("toolbar_colors","\n background-color: "+this.uiStyleSettings.toolbarBackgroundColor+";\n box-shadow: 0px 3px rgba(33, 33, 33, 0.1);\n ")),this.toolbarBlockStyleClass=this.styles.addClass(new p("toolbar-block","\n display: inline-block;\n box-sizing: content-box;\n ")),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new p("toolbar-overflow-block","\n position: absolute;\n top: "+this.uiStyleSettings.toolbarHeight+"px;\n max-width: "+2*this.uiStyleSettings.toolbarHeight+"px;\n z-index: 10;\n box-sizing: content-box;\n ")),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new p("toolbar-overflow-block_colors","\n background-color: "+this.uiStyleSettings.toolbarBackgroundColor+";\n "));var e=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new p("toolbar_button","\n display: inline-block;\n width: "+(this.uiStyleSettings.toolbarHeight-2*e)+"px;\n height: "+(this.uiStyleSettings.toolbarHeight-2*e)+"px;\n padding: "+e+"px;\n box-sizing: content-box;\n ")),this.toolbarButtonStyleColorsClass=this.styles.addClass(new p("toolbar_button_colors","\n fill: "+this.uiStyleSettings.toolbarColor+";\n ")),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new p("toolbar_active_button","\n fill: "+this.uiStyleSettings.toolbarColor+";\n background-color: "+this.uiStyleSettings.toolbarBackgroundHoverColor+"\n ")),this.styles.addRule(new f("."+this.toolbarButtonStyleClass.name+" svg","\n height: "+this.uiStyleSettings.toolbarHeight/2+"px;\n ")),this.styles.addRule(new f("."+this.toolbarButtonStyleColorsClass.name+":hover","\n background-color: "+this.uiStyleSettings.toolbarBackgroundHoverColor+"\n "))},e.prototype.markerToolbarButtonClicked=function(e,t){this.setActiveButton(e),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach((function(e){return e("marker",t)})),this.markerButtonOverflowBlock.style.display="none"},e.prototype.actionToolbarButtonClicked=function(e,t){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach((function(e){return e("action",t)})),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},e.prototype.setActiveButton=function(e){this.resetButtonStyles(),e.className=e.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),e.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},e.prototype.setActiveMarkerButton=function(e){var t=this.markerButtons.find((function(t){return t.getAttribute("data-type-name")===e}));t&&this.setActiveButton(t)},e.prototype.setCurrentMarker=function(e){var t=this;this.currentMarker=e,this.buttons.filter((function(e){return/delete|notes/.test(e.getAttribute("data-action"))})).forEach((function(e){void 0===t.currentMarker?(e.style.fillOpacity="0.4",e.style.pointerEvents="none"):(e.style.fillOpacity="1",e.style.pointerEvents="all")}))},e}(),v=function(){function e(e,t,n,r){this.panels=[],this.panelButtons=[],this.markerjsContainer=e,this.displayMode=t,this.uiStyleSettings=n,this.styles=r,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return e.prototype.addStyles=function(){var e;this.toolboxStyleClass=this.styles.addClass(new p("toolbox","\n width: 100%;\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n font-family: sans-serif;\n "+("popup"===this.displayMode?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+"\n box-sizing: content-box;\n "+("popup"===this.displayMode?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+"\n "+("inline"===this.displayMode?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+"\n "+("inline"===this.displayMode?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+"\n overflow: hidden;\n ")),this.toolboxStyleColorsClass=this.styles.addClass(new p("toolbox_colors","\n color: "+this.uiStyleSettings.toolboxColor+";\n "));var t=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new p("toolbox-button-row","\n display: flex;\n cursor: default;\n box-sizing: content-box;\n ")),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new p("toolbox-button-row_colors","\n background-color: "+this.uiStyleSettings.toolbarBackgroundColor+";\n ")),this.toolboxPanelRowStyleClass=this.styles.addClass(new p("toolbox-panel-row","\n display: flex;\n "+("inline"===this.displayMode?"position: absolute;":"")+"\n "+("inline"===this.displayMode?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+"\n cursor: default;\n height: "+1.5*this.uiStyleSettings.toolbarHeight+"px;\n "+("inline"===this.displayMode?"width: 100%;":"")+"\n box-sizing: content-box;\n ")),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new p("toolbox-panel-row_colors","\n background-color: "+(null!==(e=this.uiStyleSettings.toolboxBackgroundColor)&&void 0!==e?e:this.uiStyleSettings.toolbarBackgroundHoverColor)+";\n ")),this.toolboxButtonStyleClass=this.styles.addClass(new p("toolbox_button","\n display: inline-block;\n width: "+(this.uiStyleSettings.toolbarHeight-2*t)+"px;\n height: "+(this.uiStyleSettings.toolbarHeight-2*t)+"px;\n padding: "+t+"px;\n box-sizing: content-box;\n ")),this.toolboxButtonStyleColorsClass=this.styles.addClass(new p("toolbox-button_colors","\n fill: "+this.uiStyleSettings.toolbarColor+";\n ")),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new p("toolbox-active-button_colors","\n background-color: "+this.uiStyleSettings.toolbarBackgroundHoverColor+";\n fill: "+this.uiStyleSettings.toolbarColor+";\n ")),this.styles.addRule(new f("."+this.toolboxButtonStyleColorsClass.name+":hover","\n background-color: "+this.uiStyleSettings.toolbarBackgroundHoverColor+"\n ")),this.styles.addRule(new f("."+this.toolboxButtonStyleClass.name+" svg","\n height: "+this.uiStyleSettings.toolbarHeight/2+"px;\n "))},e.prototype.show=function(e){var t;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=e,this.uiContainer.className=this.toolboxStyleClass.name+" "+(null!==(t=this.uiStyleSettings.toolboxStyleColorsClassName)&&void 0!==t?t:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},e.prototype.setPanelButtons=function(e){var t,n,r=this;this.panels=e,void 0!==this.uiContainer&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+(null!==(t=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)&&void 0!==t?t:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+(null!==(n=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)&&void 0!==n?n:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach((function(e){var t;e.uiStyleSettings=r.uiStyleSettings;var n=document.createElement("div");n.className=r.toolboxButtonStyleClass.name+" "+(null!==(t=r.uiStyleSettings.toolboxButtonStyleColorsClassName)&&void 0!==t?t:r.toolboxButtonStyleColorsClass.name),n.innerHTML=e.icon,n.title=e.title,n.addEventListener("click",(function(){r.panelButtonClick(e)})),r.panelButtons.push(n),r.buttonRow.appendChild(n)})),"inline"===this.displayMode?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},e.prototype.panelButtonClick=function(e){var t=this,n=-1;if(e!==this.activePanel){n=this.panels.indexOf(e),this.panelRow.innerHTML="";var r=e.getUi();r.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(r),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=e}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout((function(){"inline"===t.displayMode?t.panelRow.style.display="none":t.panelRow.style.visibility="hidden"}),200);this.panelButtons.forEach((function(e,r){var i,o;e.className=t.toolboxButtonStyleClass.name+" "+(r===n?""+(null!==(i=t.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)&&void 0!==i?i:t.toolboxActiveButtonStyleColorsClass.name):""+(null!==(o=t.uiStyleSettings.toolboxButtonStyleColorsClassName)&&void 0!==o?o:t.toolboxButtonStyleColorsClass.name))}))},e}(),g=function(e,t){this.title=e,this.icon=t},y=function(e){function t(t,n,r,i){var o=e.call(this,t,i||'<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 o.colors=[],o.addTransparent=!1,o.colorBoxes=[],o.colors=n,o.currentColor=r,o.setCurrentColor=o.setCurrentColor.bind(o),o.getColorBox=o.getColorBox.bind(o),o}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");return t.style.overflow="hidden",t.style.whiteSpace="nowrap",this.colors.forEach((function(n){var r=e.getColorBox(n);t.appendChild(r),e.colorBoxes.push(r)})),t},t.prototype.getColorBox=function(e){var t=this,n=this.uiStyleSettings.toolbarHeight/4,r=this.uiStyleSettings.toolbarHeight-n,i=document.createElement("div");i.style.display="inline-block",i.style.boxSizing="content-box",i.style.width=r-2+"px",i.style.height=r-2+"px",i.style.padding="1px",i.style.marginRight="2px",i.style.marginBottom="2px",i.style.borderWidth="2px",i.style.borderStyle="solid",i.style.borderRadius=(r+2)/2+"px",i.style.borderColor=e===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",i.addEventListener("click",(function(){t.setCurrentColor(e,i)}));var o=document.createElement("div");return o.style.display="inline-block",o.style.width=r-2+"px",o.style.height=r-2+"px",o.style.backgroundColor=e,o.style.borderRadius=r/2+"px","transparent"===e&&(o.style.fill=this.uiStyleSettings.toolboxAccentColor,o.innerHTML='<svg viewBox="0 0 24 24">\n <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" />\n </svg>'),i.appendChild(o),i},t.prototype.setCurrentColor=function(e,t){var n=this;this.currentColor=e,this.colorBoxes.forEach((function(e){e.style.borderColor=e===t?n.uiStyleSettings.toolboxAccentColor:"transparent"})),this.onColorChanged&&this.onColorChanged(e)},t}(g),x=function(){function e(e,t,n){this._state="new",this._isSelected=!1,this._container=e,this._overlayContainer=t,this.globalSettings=n,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(e.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.ownsTarget=function(e){return!1},Object.defineProperty(e.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),e.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},e.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},e.prototype.pointerDown=function(e,t){},e.prototype.dblClick=function(e,t){},e.prototype.manipulate=function(e){},e.prototype.pointerUp=function(e){this.stateChanged()},e.prototype.dispose=function(){},e.prototype.addMarkerVisualToContainer=function(e){this.container.childNodes.length>0?this.container.insertBefore(e,this.container.childNodes[0]):this.container.appendChild(e)},e.prototype.getState=function(){return{typeName:e.typeName,state:this.state,notes:this.notes}},e.prototype.restoreState=function(e){this._state=e.state,this.notes=e.notes},e.prototype.scale=function(e,t){},e.prototype.colorChanged=function(e){this.onColorChanged&&this.onColorChanged(e),this.stateChanged()},e.prototype.fillColorChanged=function(e){this.onFillColorChanged&&this.onFillColorChanged(e),this.stateChanged()},e.prototype.stateChanged=function(){if(this.onStateChanged&&"creating"!==this.state&&"new"!==this.state){var e=this.getState();void 0!==this.manipulationStartState&&(this.manipulationStartState.state="select"),e.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(e)&&this.onStateChanged(this)}},e.typeName="MarkerBase",e}(),b=function(){function e(){this.findGripByVisual=this.findGripByVisual.bind(this)}return e.prototype.findGripByVisual=function(e){return this.topLeft.ownsTarget(e)?this.topLeft:this.topCenter.ownsTarget(e)?this.topCenter:this.topRight.ownsTarget(e)?this.topRight:this.centerLeft.ownsTarget(e)?this.centerLeft:this.centerRight.ownsTarget(e)?this.centerRight:this.bottomLeft.ownsTarget(e)?this.bottomLeft:this.bottomCenter.ownsTarget(e)?this.bottomCenter:this.bottomRight.ownsTarget(e)?this.bottomRight:void 0},e}(),w=function(){function e(){this.GRIP_SIZE=10,this.visual=l.createGroup(),this.visual.appendChild(l.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(l.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return e.prototype.ownsTarget=function(e){return e===this.visual||e===this.visual.childNodes[0]||e===this.visual.childNodes[1]},e}(),C=function(){function e(){}return e.toITransformMatrix=function(e){return{a:e.a,b:e.b,c:e.c,d:e.d,e:e.e,f:e.f}},e.toSVGMatrix=function(e,t){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e.e=t.e,e.f=t.f,e},e}(),k=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.left=0,i.top=0,i.width=0,i.height=0,i.defaultSize={x:50,y:20},i.offsetX=0,i.offsetY=0,i.rotationAngle=0,i.CB_DISTANCE=10,i._suppressMarkerCreateEvent=!1,i.container.transform.baseVal.appendItem(l.createTransform()),i.setupControlBox(),i}return i(t,e),Object.defineProperty(t.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visual",{get:function(){return this._visual},set:function(e){this._visual=e;var t=l.createTransform();this._visual.transform.baseVal.appendItem(t)},enumerable:!1,configurable:!0}),t.prototype.ownsTarget=function(t){return!!e.prototype.ownsTarget.call(this,t)||!!(void 0!==this.controlGrips.findGripByVisual(t)||void 0!==this.rotatorGrip&&this.rotatorGrip.ownsTarget(t))},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"new"===this.state&&(this.left=t.x,this.top=t.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var r=this.unrotatePoint(t);if(this.manipulationStartX=r.x,this.manipulationStartY=r.y,this.offsetX=r.x-this.left,this.offsetY=r.y-this.top,"new"!==this.state)if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(n),void 0!==this.activeGrip)this._state="resize";else if(void 0!==this.rotatorGrip&&this.rotatorGrip.ownsTarget(n)){this.activeGrip=this.rotatorGrip;var i=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=i.x-this.width/2,this.top=i.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var o=this.container.transform.baseVal.getItem(0);o.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(o,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},t.prototype.pointerUp=function(t){var n=this.state;e.prototype.pointerUp.call(this,t),"creating"===this.state&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(t),this._state="select","creating"===n&&this.onMarkerCreated&&!1===this._suppressMarkerCreateEvent&&this.onMarkerCreated(this)},t.prototype.moveVisual=function(e){this.visual.style.transform="translate("+e.x+"px, "+e.y+"px)"},t.prototype.manipulate=function(e){var t=this.unrotatePoint(e);"creating"===this.state?this.resize(e):"move"===this.state?(this.left=this.manipulationStartLeft+(t.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(t.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):"resize"===this.state?this.resize(t):"rotate"===this.state&&this.rotate(e)},t.prototype.resize=function(e){var t=this.manipulationStartLeft,n=this.manipulationStartWidth,r=this.manipulationStartTop,i=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:t=this.manipulationStartLeft+e.x-this.manipulationStartX,n=this.manipulationStartWidth+this.manipulationStartLeft-t;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:n=this.manipulationStartWidth+e.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:r=this.manipulationStartTop+e.y-this.manipulationStartY,i=this.manipulationStartHeight+this.manipulationStartTop-r;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:i=this.manipulationStartHeight+e.y-this.manipulationStartY}n>=0?(this.left=t,this.width=n):(this.left=t+n,this.width=-n),i>=0?(this.top=r,this.height=i):(this.top=r+i,this.height=-i),this.setSize()},t.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},t.prototype.rotate=function(e){if(Math.abs(e.x-this.centerX)>.1){var t=Math.sign(e.x-this.centerX);this.rotationAngle=180*Math.atan((e.y-this.centerY)/(e.x-this.centerX))/Math.PI+90*t,this.applyRotation()}},t.prototype.applyRotation=function(){var e=this.container.transform.baseVal.getItem(0);e.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(e,0)},t.prototype.rotatePoint=function(e){if(0===this.rotationAngle)return e;var t=this.container.getCTM(),n=l.createPoint(e.x,e.y);return{x:(n=n.matrixTransform(t)).x,y:n.y}},t.prototype.unrotatePoint=function(e){if(0===this.rotationAngle)return e;var t=this.container.getCTM();t=t.inverse();var n=l.createPoint(e.x,e.y);return{x:(n=n.matrixTransform(t)).x,y:n.y}},t.prototype.select=function(){e.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},t.prototype.deselect=function(){e.prototype.deselect.call(this),this.controlBox.style.display="none"},t.prototype.setupControlBox=function(){this.controlBox=l.createGroup();var e=l.createTransform();e.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(e),this.container.appendChild(this.controlBox),this.controlRect=l.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),!0!==this.globalSettings.disableRotation&&(this.rotatorGripLine=l.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 b,this.addControlGrips(),this.controlBox.style.display="none"},t.prototype.adjustControlBox=function(){var e=this.controlBox.transform.baseVal.getItem(0);e.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(e,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),void 0!==this.rotatorGripLine&&(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()},t.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(),!0!==this.globalSettings.disableRotation&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},t.prototype.createGrip=function(){var e=new w;return e.visual.transform.baseVal.appendItem(l.createTransform()),this.controlBox.appendChild(e.visual),e},t.prototype.positionGrips=function(){var e=this.controlGrips.topLeft.GRIP_SIZE,t=-e/2,n=t,r=(this.width+this.CB_DISTANCE)/2-e/2,i=(this.height+this.CB_DISTANCE)/2-e/2,o=this.height+this.CB_DISTANCE-e/2,a=this.width+this.CB_DISTANCE-e/2;this.positionGrip(this.controlGrips.topLeft.visual,t,n),this.positionGrip(this.controlGrips.topCenter.visual,r,n),this.positionGrip(this.controlGrips.topRight.visual,a,n),this.positionGrip(this.controlGrips.centerLeft.visual,t,i),this.positionGrip(this.controlGrips.centerRight.visual,a,i),this.positionGrip(this.controlGrips.bottomLeft.visual,t,o),this.positionGrip(this.controlGrips.bottomCenter.visual,r,o),this.positionGrip(this.controlGrips.bottomRight.visual,a,o),void 0!==this.rotatorGrip&&this.positionGrip(this.rotatorGrip.visual,r,n-3*this.CB_DISTANCE)},t.prototype.positionGrip=function(e,t,n){var r=e.transform.baseVal.getItem(0);r.setTranslate(t,n),e.transform.baseVal.replaceItem(r,0)},t.prototype.hideControlBox=function(){this.controlBox.style.display="none"},t.prototype.showControlBox=function(){this.controlBox.style.display=""},t.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:C.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:C.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},e.prototype.getState.call(this))},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t);var n=t;this.left=n.left,this.top=n.top,this.width=n.width,this.height=n.height,this.rotationAngle=n.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(C.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,n.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(C.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,n.containerTransformMatrix))},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n);var r=this.rotatePoint({x:this.left,y:this.top}),i=this.unrotatePoint({x:r.x*t,y:r.y*n});this.left=i.x,this.top=i.y,this.width=this.width*t,this.height=this.height*n,this.adjustControlBox()},t}(x),A=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.fillColor="transparent",i.strokeColor="transparent",i.strokeWidth=0,i.strokeDasharray="",i.opacity=1,i.setStrokeColor=i.setStrokeColor.bind(i),i.setFillColor=i.setFillColor.bind(i),i.setStrokeWidth=i.setStrokeWidth.bind(i),i.setStrokeDasharray=i.setStrokeDasharray.bind(i),i.createVisual=i.createVisual.bind(i),i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual)},t.prototype.createVisual=function(){this.visual=l.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)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"new"===this.state&&(this.createVisual(),this.moveVisual(t),this._state="creating")},t.prototype.manipulate=function(t){e.prototype.manipulate.call(this,t)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this.setSize()},t.prototype.setSize=function(){e.prototype.setSize.call(this),l.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},t.prototype.pointerUp=function(t){e.prototype.pointerUp.call(this,t),this.setSize()},t.prototype.setStrokeColor=function(e){this.strokeColor=e,this.visual&&l.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(e),this.stateChanged()},t.prototype.setFillColor=function(e){this.fillColor=e,this.visual&&l.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},t.prototype.setStrokeWidth=function(e){this.strokeWidth=e,this.visual&&l.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},t.prototype.setStrokeDasharray=function(e){this.strokeDasharray=e,this.visual&&l.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},t.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},e.prototype.getState.call(this))},t.prototype.restoreState=function(t){var n=t;this.fillColor=n.fillColor,this.strokeColor=n.strokeColor,this.strokeWidth=n.strokeWidth,this.strokeDasharray=n.strokeDasharray,this.opacity=n.opacity,this.createVisual(),e.prototype.restoreState.call(this,t),this.setSize()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.setSize()},t.title="Rectangle marker",t}(k),S=function(e){function t(t,n,r,i){var o=e.call(this,t,i||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return o.widths=[],o.widthBoxes=[],o.widths=n,o.currentWidth=r,o.setCurrentWidth=o.setCurrentWidth.bind(o),o}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");return t.style.display="flex",t.style.overflow="hidden",t.style.flexGrow="2",this.widths.forEach((function(n){var r=document.createElement("div");r.style.display="flex",r.style.flexGrow="2",r.style.alignItems="center",r.style.justifyContent="space-between",r.style.padding="5px",r.style.borderWidth="2px",r.style.borderStyle="solid",r.style.borderColor=n===e.currentWidth?e.uiStyleSettings.toolboxAccentColor:"transparent",r.addEventListener("click",(function(){e.setCurrentWidth(n,r)})),t.appendChild(r);var i=document.createElement("div");i.innerText=n.toString(),i.style.marginRight="5px",r.appendChild(i);var o=document.createElement("div");o.style.minHeight="20px",o.style.flexGrow="2",o.style.display="flex",o.style.alignItems="center";var a=document.createElement("hr");a.style.minWidth="20px",a.style.border="0px",a.style.borderTop=n+"px solid "+e.uiStyleSettings.toolboxColor,a.style.flexGrow="2",o.appendChild(a),r.appendChild(o),e.widthBoxes.push(r)})),t},t.prototype.setCurrentWidth=function(e,t){var n=this;this.currentWidth=e,this.widthBoxes.forEach((function(e){e.style.borderColor=e===t?n.uiStyleSettings.toolboxAccentColor:"transparent"})),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},t}(g),E=function(e){function t(t,n,r,i){var o=e.call(this,t,i||'<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 o.styles=[],o.styleBoxes=[],o.styles=n,o.currentStyle=r,o.setCurrentStyle=o.setCurrentStyle.bind(o),o}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");return t.style.display="flex",t.style.overflow="hidden",t.style.flexGrow="2",this.styles.forEach((function(n){var r=document.createElement("div");r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="space-between",r.style.padding="5px",r.style.borderWidth="2px",r.style.borderStyle="solid",r.style.overflow="hidden",r.style.maxWidth=100/e.styles.length-5+"%",r.style.borderColor=n===e.currentStyle?e.uiStyleSettings.toolboxAccentColor:"transparent",r.addEventListener("click",(function(){e.setCurrentStyle(n,r)})),t.appendChild(r);var i=document.createElement("div");i.style.minHeight="20px",i.style.flexGrow="2",i.style.overflow="hidden";var o='<svg width="100" height="20">\n <line x1="0" y1="10" x2="100" y2="10" stroke="'+e.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(""!==n?'stroke-dasharray="'+n+'"':"")+" />\n </svg>";i.innerHTML=o,r.appendChild(i),e.styleBoxes.push(r)})),t},t.prototype.setCurrentStyle=function(e,t){var n=this;this.currentStyle=e,this.styleBoxes.forEach((function(e){e.style.borderColor=e===t?n.uiStyleSettings.toolboxAccentColor:"transparent"})),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},t}(g),L=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.strokeColor=r.defaultColor,i.strokeWidth=r.defaultStrokeWidth,i.strokeDasharray=r.defaultStrokeDasharray,i.strokePanel=new y("Line color",r.defaultColorSet,r.defaultColor),i.strokePanel.onColorChanged=i.setStrokeColor,i.strokeWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.strokeWidthPanel.onWidthChanged=i.setStrokeWidth,i.strokeStylePanel=new E("Line style",r.defaultStrokeDasharrays,r.defaultStrokeDasharray),i.strokeStylePanel.onStyleChanged=i.setStrokeDasharray,i}return i(t,e),Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=e.prototype.getState.call(this);return n.typeName=t.typeName,n},t.typeName="FrameMarker",t.title="Frame marker",t.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',t}(A),N=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"},M=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.x1=0,i.y1=0,i.x2=0,i.y2=0,i.defaultLength=50,i.manipulationStartX=0,i.manipulationStartY=0,i.manipulationStartX1=0,i.manipulationStartY1=0,i.manipulationStartX2=0,i.manipulationStartY2=0,i.setupControlBox(),i}return i(t,e),t.prototype.ownsTarget=function(t){return!!e.prototype.ownsTarget.call(this,t)||!(!this.grip1.ownsTarget(t)&&!this.grip2.ownsTarget(t))},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),this.manipulationStartX=t.x,this.manipulationStartY=t.y,"new"===this.state&&(this.x1=t.x,this.y1=t.y,this.x2=t.x,this.y2=t.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,"new"!==this.state&&(this.select(),this.grip1.ownsTarget(n)?this.activeGrip=this.grip1:this.grip2.ownsTarget(n)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},t.prototype.pointerUp=function(t){var n=this.state;e.prototype.pointerUp.call(this,t),"creating"===this.state&&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(t),this._state="select","creating"===n&&this.onMarkerCreated&&this.onMarkerCreated(this)},t.prototype.adjustVisual=function(){},t.prototype.manipulate=function(e){"creating"===this.state?this.resize(e):"move"===this.state?(this.x1=this.manipulationStartX1+e.x-this.manipulationStartX,this.y1=this.manipulationStartY1+e.y-this.manipulationStartY,this.x2=this.manipulationStartX2+e.x-this.manipulationStartX,this.y2=this.manipulationStartY2+e.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):"resize"===this.state&&this.resize(e)},t.prototype.resize=function(e){switch(this.activeGrip){case this.grip1:this.x1=e.x,this.y1=e.y;break;case this.grip2:case void 0:this.x2=e.x,this.y2=e.y}this.adjustVisual(),this.adjustControlBox()},t.prototype.select=function(){e.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},t.prototype.deselect=function(){e.prototype.deselect.call(this),this.controlBox.style.display="none"},t.prototype.setupControlBox=function(){this.controlBox=l.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},t.prototype.adjustControlBox=function(){this.positionGrips()},t.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},t.prototype.createGrip=function(){var e=new w;return e.visual.transform.baseVal.appendItem(l.createTransform()),this.controlBox.appendChild(e.visual),e},t.prototype.positionGrips=function(){var e=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-e/2,this.y1-e/2),this.positionGrip(this.grip2.visual,this.x2-e/2,this.y2-e/2)},t.prototype.positionGrip=function(e,t,n){var r=e.transform.baseVal.getItem(0);r.setTranslate(t,n),e.transform.baseVal.replaceItem(r,0)},t.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},e.prototype.getState.call(this))},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t);var n=t;this.x1=n.x1,this.y1=n.y1,this.x2=n.x2,this.y2=n.y2},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.x1=this.x1*t,this.y1=this.y1*n,this.x2=this.x2*t,this.y2=this.y2*n,this.adjustVisual(),this.adjustControlBox()},t}(x),P=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.strokeColor="transparent",i.strokeWidth=0,i.strokeDasharray="",i.setStrokeColor=i.setStrokeColor.bind(i),i.setStrokeWidth=i.setStrokeWidth.bind(i),i.setStrokeDasharray=i.setStrokeDasharray.bind(i),i.strokeColor=r.defaultColor,i.strokeWidth=r.defaultStrokeWidth,i.strokeDasharray=r.defaultStrokeDasharray,i.strokePanel=new y("Line color",r.defaultColorSet,r.defaultColor),i.strokePanel.onColorChanged=i.setStrokeColor,i.strokeWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.strokeWidthPanel.onWidthChanged=i.setStrokeWidth,i.strokeStylePanel=new E("Line style",r.defaultStrokeDasharrays,r.defaultStrokeDasharray),i.strokeStylePanel.onStyleChanged=i.setStrokeDasharray,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual&&t!==this.selectorLine&&t!==this.visibleLine)},t.prototype.createVisual=function(){this.visual=l.createGroup(),this.selectorLine=l.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=l.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)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"new"===this.state&&(this.createVisual(),this.adjustVisual(),this._state="creating")},t.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()),l.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),l.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),l.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},t.prototype.setStrokeColor=function(e){this.strokeColor=e,this.adjustVisual(),this.colorChanged(e)},t.prototype.setStrokeWidth=function(e){this.strokeWidth=e,this.adjustVisual()},t.prototype.setStrokeDasharray=function(e){this.strokeDasharray=e,this.adjustVisual(),this.stateChanged()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t);var n=t;this.strokeColor=n.strokeColor,this.strokeWidth=n.strokeWidth,this.strokeDasharray=n.strokeDasharray,this.createVisual(),this.adjustVisual()},t.typeName="LineMarker",t.title="Line marker",t.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',t}(M),B=function(e){function t(t,n,r,i){var o=e.call(this,t,i||'<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 o.fonts=[],o.fontBoxes=[],o.fonts=n,o.currentFont=r,o.setCurrentFont=o.setCurrentFont.bind(o),o}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");return t.style.overflow="hidden",t.style.flexGrow="2",this.fonts.forEach((function(n){var r=document.createElement("div");r.style.display="inline-block",r.style.alignItems="center",r.style.justifyContent="space-between",r.style.padding="5px",r.style.borderWidth="2px",r.style.borderStyle="solid",r.style.overflow="hidden",r.style.maxWidth=100/e.fonts.length-5+"%",r.style.borderColor=n===e.currentFont?e.uiStyleSettings.toolboxAccentColor:"transparent",r.addEventListener("click",(function(){e.setCurrentFont(n,r)})),t.appendChild(r);var i=document.createElement("div");i.style.display="flex",i.style.minHeight="20px",i.style.flexGrow="2",i.style.fontFamily=n,i.style.overflow="hidden";var o=document.createElement("div");o.style.whiteSpace="nowrap",o.style.overflow="hidden",o.style.textOverflow="ellipsis",o.innerHTML="The quick brown fox jumps over the lazy dog",i.appendChild(o),r.appendChild(i),e.fontBoxes.push(r)})),t},t.prototype.setCurrentFont=function(e,t){var n=this;this.currentFont=e,this.fontBoxes.forEach((function(e){e.style.borderColor=e===t?n.uiStyleSettings.toolboxAccentColor:"transparent"})),this.onFontChanged&&this.onFontChanged(this.currentFont)},t}(g),D=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.color="transparent",i.padding=5,i.DEFAULT_TEXT="请输入文本",i.text=i.DEFAULT_TEXT,i.isMoved=!1,i.color=r.defaultColor,i.fontFamily=r.defaultFontFamily,i.defaultSize={x:100,y:30},i.setColor=i.setColor.bind(i),i.setFont=i.setFont.bind(i),i.renderText=i.renderText.bind(i),i.sizeText=i.sizeText.bind(i),i.textEditDivClicked=i.textEditDivClicked.bind(i),i.showTextEditor=i.showTextEditor.bind(i),i.setSize=i.setSize.bind(i),i.positionTextEditor=i.positionTextEditor.bind(i),i.colorPanel=new y("Color",r.defaultColorSet,r.defaultColor),i.colorPanel.onColorChanged=i.setColor,i.fontFamilyPanel=new B("Font",r.defaultFontFamilies,r.defaultFontFamily),i.fontFamilyPanel.onFontChanged=i.setFont,i}return i(t,e),t.prototype.ownsTarget=function(t){if(e.prototype.ownsTarget.call(this,t)||t===this.visual||t===this.textElement||t===this.bgRectangle)return!0;var n=!1;return this.textElement.childNodes.forEach((function(e){e===t&&(n=!0)})),n},t.prototype.createVisual=function(){this.visual=l.createGroup(),this.bgRectangle=l.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=l.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(l.createTransform()),this.textElement.transform.baseVal.appendItem(l.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),this.isMoved=!1,this.pointerDownPoint=t,this.pointerDownTimestamp=Date.now(),"new"===this.state&&(this.createVisual(),this.moveVisual(t),this._state="creating")},t.prototype.renderText=function(){var e=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(t){e.textElement.appendChild(l.createTSpan(""===t.trim()?" ":t.trim(),[["x","0"],["dy","1.2em"]]))})),setTimeout(this.sizeText,10)}},t.prototype.getTextScale=function(){var e=this.textElement.getBBox(),t=1;if(e.width>0&&e.height>0){var n=(1*this.width-this.width*this.padding*2/100)/e.width,r=(1*this.height-this.height*this.padding*2/100)/e.height;t=Math.min(n,r)}return t},t.prototype.getTextPosition=function(e){var t=this.textElement.getBBox(),n=0,r=0;return t.width>0&&t.height>0&&(n=(this.width-t.width*e)/2,r=this.height/2-t.height*e/2),{x:n,y:r}},t.prototype.sizeText=function(){var e=this.textElement.getBBox(),t=this.getTextScale(),n=this.getTextPosition(t);n.y-=e.y*t,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+n.x+"px, "+n.y+"px) scale("+t+", "+t+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(n.x,n.y),this.textElement.transform.baseVal.getItem(1).setScale(t,t))},t.prototype.manipulate=function(t){e.prototype.manipulate.call(this,t),void 0!==this.pointerDownPoint&&(this.isMoved=Math.abs(t.x-this.pointerDownPoint.x)>5||Math.abs(t.y-this.pointerDownPoint.y)>5)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this.isMoved=!0,this.setSize(),this.sizeText()},t.prototype.setSize=function(){e.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(l.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),l.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},t.prototype.pointerUp=function(t){var n=this.state;"creating"===n&&(this._suppressMarkerCreateEvent=!0),e.prototype.pointerUp.call(this,t),this.setSize(),("creating"===n||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},t.prototype.showTextEditor=function(){var e=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(e){e.stopPropagation()})),this.textEditor.addEventListener("input",(function(){for(var t=Number.parseFloat(e.textEditor.style.fontSize);e.textEditor.clientWidth>=Number.parseInt(e.textEditor.style.maxWidth)&&t>.9;)t-=.1,e.textEditor.style.fontSize=Math.max(t,.9)+"em"})),this.textEditor.addEventListener("keyup",(function(e){e.cancelBubble=!0})),this.textEditor.addEventListener("paste",(function(e){if(e.clipboardData){var t=e.clipboardData.getData("text"),n=window.getSelection();if(!n.rangeCount)return!1;n.deleteFromDocument(),n.getRangeAt(0).insertNode(document.createTextNode(t)),e.preventDefault()}})),this.textEditDiv.addEventListener("pointerup",(function(){e.textEditDivClicked(e.textEditor.innerText)})),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},t.prototype.positionTextEditor=function(){if("edit"===this.state)if(void 0===this.textEditor)this.showTextEditor();else{this.textElement.style.display="";var e=this.getTextScale(),t=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),n=this.textElement.getBBox(),r={x:n.width*e,y:n.height*e};t.x-=r.x/2,t.y-=r.y/2,this.textEditor.style.top=t.y+"px",this.textEditor.style.left=t.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-t.x+"px",this.textEditor.style.fontSize=Math.max(16*e,12)+"px",this.textElement.style.display="none"}},t.prototype.textEditDivClicked=function(e){this.text=e.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},t.prototype.select=function(){e.prototype.select.call(this),"edit"===this.state&&this.textEditDivClicked(this.textEditor.innerText)},t.prototype.deselect=function(){"edit"===this.state&&this.textEditDivClicked(this.textEditor.innerText),e.prototype.deselect.call(this)},t.prototype.dblClick=function(t,n){e.prototype.dblClick.call(this,t,n),this.showTextEditor()},t.prototype.setColor=function(e){this.textElement&&l.setAttributes(this.textElement,[["fill",e]]),this.color=e,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(e)},t.prototype.setFont=function(e){this.textElement&&l.setAttributes(this.textElement,[["font-family",e]]),this.fontFamily=e,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},t.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},t.prototype.showVisual=function(){"edit"===this.state&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){var n=t;this.color=n.color,this.fontFamily=n.fontFamily,this.padding=n.padding,this.text=n.text,this.createVisual(),e.prototype.restoreState.call(this,t),this.setSize()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.setSize(),this.sizeText(),this.positionTextEditor()},t.typeName="TextMarker",t.title="Text marker",t.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>',t}(k),Z=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.color="transparent",i.lineWidth=3,i.drawing=!1,i.pixelRatio=1,i.color=r.defaultColor,i.lineWidth=r.defaultStrokeWidth,i.pixelRatio=r.freehandPixelRatio,i.setColor=i.setColor.bind(i),i.addCanvas=i.addCanvas.bind(i),i.finishCreation=i.finishCreation.bind(i),i.setLineWidth=i.setLineWidth.bind(i),i.colorPanel=new y("Color",r.defaultColorSet,r.defaultColor),i.colorPanel.onColorChanged=i.setColor,i.lineWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.lineWidthPanel.onWidthChanged=i.setLineWidth,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual&&t!==this.drawingImage)},t.prototype.createVisual=function(){this.visual=l.createGroup(),this.drawingImage=l.createImage(),this.visual.appendChild(this.drawingImage);var e=l.createTransform();this.visual.transform.baseVal.appendItem(e),this.addMarkerVisualToContainer(this.visual)},t.prototype.pointerDown=function(t,n){"new"===this.state&&(this.addCanvas(),this.createVisual(),this._state="creating"),"creating"===this.state?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(t.x,t.y),this.drawing=!0):e.prototype.pointerDown.call(this,t,n)},t.prototype.manipulate=function(t){"creating"===this.state?this.drawing&&(this.canvasContext.lineTo(t.x,t.y),this.canvasContext.stroke()):e.prototype.manipulate.call(this,t)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),l.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),l.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},t.prototype.pointerUp=function(t){"creating"===this._state?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):e.prototype.pointerUp.call(this,t)},t.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)},t.prototype.select=function(){"creating"===this.state&&this.finishCreation(),e.prototype.select.call(this)},t.prototype.deselect=function(){"creating"===this.state&&this.finishCreation(),e.prototype.deselect.call(this)},t.prototype.finishCreation=function(){for(var e=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),t=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],n=t[0],r=t[1],i=t[2],o=t[3],a=!1,s=0;s<this.canvasElement.height;s++)for(var l=0;l<this.canvasElement.width;l++)e.data[s*this.canvasElement.width*4+4*l+3]>0&&(a=!0,s<r&&(r=s),l<n&&(n=l),s>o&&(o=s),l>i&&(i=l));if(a){this.left=n/this.pixelRatio,this.top=r/this.pixelRatio,this.width=(i-n)/this.pixelRatio,this.height=(o-r)/this.pixelRatio;var c=document.createElement("canvas");c.width=i-n,c.height=o-r,c.getContext("2d").putImageData(this.canvasContext.getImageData(n,r,i-n,o-r),0,0),this.drawingImgUrl=c.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},t.prototype.setDrawingImage=function(){l.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),l.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},t.prototype.setColor=function(e){this.color=e,this.colorChanged(e)},t.prototype.setLineWidth=function(e){this.lineWidth=e},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return"new"===this.state||"creating"===this.state?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({drawingImgUrl:this.drawingImgUrl},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){this.createVisual(),e.prototype.restoreState.call(this,t),this.drawingImgUrl=t.drawingImgUrl,this.setDrawingImage()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.setDrawingImage()},t.typeName="FreehandMarker",t.title="Freehand marker",t.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>',t}(k),T=function(e){function t(t,n,r){var i=e.call(this,t,r||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return i.typeBoxes=[],i.currentType=n,i.setCurrentType=i.setCurrentType.bind(i),i}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");t.style.display="flex",t.style.overflow="hidden",t.style.flexGrow="2";for(var n=function(n){var i="both";switch(n){case 0:i="both";break;case 1:i="start";break;case 2:i="end";break;case 3:i="none"}var o=document.createElement("div");if(o.style.display="flex",o.style.flexGrow="2",o.style.alignItems="center",o.style.justifyContent="space-between",o.style.padding="5px",o.style.borderWidth="2px",o.style.borderStyle="solid",o.style.borderColor=i===r.currentType?r.uiStyleSettings.toolboxAccentColor:"transparent",o.addEventListener("click",(function(){e.setCurrentType(i,o)})),t.appendChild(o),"both"===i||"start"===i){var a=document.createElement("div");a.style.display="flex",a.style.alignItems="center",a.style.minHeight="20px",a.innerHTML='<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">\n <polygon points="0,5 10,0 10,10" fill="'+(void 0!==r.uiStyleSettings?r.uiStyleSettings.toolboxColor:"#eeeeee")+'" />\n </svg>',a.style.marginLeft="5px",o.appendChild(a)}var s=document.createElement("div");s.style.display="flex",s.style.alignItems="center",s.style.minHeight="20px",s.style.flexGrow="2";var l=document.createElement("hr");if(l.style.minWidth="20px",l.style.border="0px",l.style.borderTop="3px solid "+(void 0!==r.uiStyleSettings?r.uiStyleSettings.toolboxColor:"#eeeeee"),l.style.flexGrow="2",s.appendChild(l),o.appendChild(s),"both"===i||"end"===i){var c=document.createElement("div");c.style.display="flex",c.style.alignItems="center",c.style.minHeight="20px",c.innerHTML='<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">\n <polygon points="0,0 10,5 0,10" fill="'+(void 0!==r.uiStyleSettings?r.uiStyleSettings.toolboxColor:"#eeeeee")+'" />\n </svg>',c.style.marginRight="5px",o.appendChild(c)}r.typeBoxes.push(o)},r=this,i=0;i<4;i++)n(i);return t},t.prototype.setCurrentType=function(e,t){var n=this;this.currentType=e,this.typeBoxes.forEach((function(e){e.style.borderColor=e===t?void 0!==n.uiStyleSettings?n.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"})),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},t}(g),j=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.arrowType="end",i.arrowBaseHeight=10,i.arrowBaseWidth=10,i.getArrowPoints=i.getArrowPoints.bind(i),i.setArrowType=i.setArrowType.bind(i),i.arrowTypePanel=new T("Arrow type","end"),i.arrowTypePanel.onArrowTypeChanged=i.setArrowType,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.arrow1&&t!==this.arrow2)},t.prototype.getArrowPoints=function(e,t){var n=this.arrowBaseWidth+2*this.strokeWidth,r=this.arrowBaseHeight+2*this.strokeWidth;return e-n/2+","+(t+r/2)+" "+e+","+(t-r/2)+" "+(e+n/2)+","+(t+r/2)},t.prototype.createTips=function(){this.arrow1=l.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(l.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=l.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(l.createTransform()),this.visual.appendChild(this.arrow2)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"creating"===this.state&&this.createTips()},t.prototype.adjustVisual=function(){if(e.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display="both"===this.arrowType||"start"===this.arrowType?"":"none",this.arrow2.style.display="both"===this.arrowType||"end"===this.arrowType?"":"none",l.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),l.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var t=0;Math.abs(this.x1-this.x2)>.1&&(t=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var n=this.arrow1.transform.baseVal.getItem(0);n.setRotate(t,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(n,0);var r=this.arrow2.transform.baseVal.getItem(0);r.setRotate(t+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(r,0)}},t.prototype.setArrowType=function(e){this.arrowType=e,this.adjustVisual(),this.stateChanged()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({arrowType:this.arrowType},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t);var n=t;this.arrowType=n.arrowType,this.createTips(),this.adjustVisual()},t.typeName="ArrowMarker",t.title="Arrow marker",t.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',t}(P),F=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.fillColor=r.defaultFillColor,i.strokeWidth=0,i.fillPanel=new y("Color",r.defaultColorSet,r.defaultFillColor),i.fillPanel.onColorChanged=i.setFillColor,i}return i(t,e),Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=e.prototype.getState.call(this);return n.typeName=t.typeName,n},t.typeName="CoverMarker",t.title="Cover marker",t.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',t}(A),I=function(e){function t(t,n,r,i){var o=e.call(this,t,i||'<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 o.opacities=[],o.opacityBoxes=[],o.opacities=n,o.currentOpacity=r,o.setCurrentOpacity=o.setCurrentOpacity.bind(o),o}return i(t,e),t.prototype.getUi=function(){var e=this,t=document.createElement("div");return t.style.display="flex",t.style.overflow="hidden",t.style.flexGrow="2",t.style.justifyContent="space-between",this.opacities.forEach((function(n){var r=document.createElement("div");r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.padding="5px",r.style.borderWidth="2px",r.style.borderStyle="solid",r.style.borderColor=n===e.currentOpacity?e.uiStyleSettings.toolboxAccentColor:"transparent",r.addEventListener("click",(function(){e.setCurrentOpacity(n,r)})),t.appendChild(r);var i=document.createElement("div");i.innerText=100*n+"%",r.appendChild(i),e.opacityBoxes.push(r)})),t},t.prototype.setCurrentOpacity=function(e,t){var n=this;this.currentOpacity=e,this.opacityBoxes.forEach((function(e){e.style.borderColor=e===t?n.uiStyleSettings.toolboxAccentColor:"transparent"})),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},t}(g),W=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.setOpacity=i.setOpacity.bind(i),i.fillColor=r.defaultHighlightColor,i.strokeWidth=0,i.opacity=r.defaultHighlightOpacity,i.fillPanel=new y("Color",r.defaultColorSet,i.fillColor),i.fillPanel.onColorChanged=i.setFillColor,i.opacityPanel=new I("Opacity",r.defaultOpacitySteps,i.opacity),i.opacityPanel.onOpacityChanged=i.setOpacity,i}return i(t,e),t.prototype.setOpacity=function(e){this.opacity=e,this.visual&&l.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=e.prototype.getState.call(this);return n.typeName=t.typeName,n},t.typeName="HighlightMarker",t.title="Highlight marker",t.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>',t}(F),O='<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>',R='<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>',z=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.bgColor="transparent",i.tipPosition={x:0,y:0},i.tipBase1Position={x:0,y:0},i.tipBase2Position={x:0,y:0},i.tipMoving=!1,i.color=r.defaultStrokeColor,i.bgColor=r.defaultFillColor,i.fontFamily=r.defaultFontFamily,i.defaultSize={x:100,y:30},i.setBgColor=i.setBgColor.bind(i),i.getTipPoints=i.getTipPoints.bind(i),i.positionTip=i.positionTip.bind(i),i.setTipPoints=i.setTipPoints.bind(i),i.colorPanel=new y("Text color",r.defaultColorSet,i.color,O),i.colorPanel.onColorChanged=i.setColor,i.bgColorPanel=new y("Fill color",r.defaultColorSet,i.bgColor,R),i.bgColorPanel.onColorChanged=i.setBgColor,i.fontFamilyPanel=new B("Font",r.defaultFontFamilies,r.defaultFontFamily),i.fontFamilyPanel.onFontChanged=i.setFont,i.tipGrip=new w,i.tipGrip.visual.transform.baseVal.appendItem(l.createTransform()),i.controlBox.appendChild(i.tipGrip.visual),i}return i(t,e),t.prototype.ownsTarget=function(t){return e.prototype.ownsTarget.call(this,t)||this.tipGrip.ownsTarget(t)||this.tip===t},t.prototype.createTip=function(){l.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=l.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},t.prototype.pointerDown=function(t,n){"new"===this.state&&e.prototype.pointerDown.call(this,t,n),"creating"===this.state?this.createTip():this.tipGrip.ownsTarget(n)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):e.prototype.pointerDown.call(this,t,n)},t.prototype.pointerUp=function(t){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,e.prototype.pointerUp.call(this,t);else{var n="creating"===this.state;e.prototype.pointerUp.call(this,t),this.setTipPoints(n),this.positionTip()}},t.prototype.manipulate=function(t){if(this.tipMoving){var n=this.unrotatePoint(t);this.tipPosition={x:n.x-this.manipulationStartLeft,y:n.y-this.manipulationStartTop},this.positionTip()}else e.prototype.manipulate.call(this,t)},t.prototype.setBgColor=function(e){this.bgRectangle&&this.tip&&(l.setAttributes(this.bgRectangle,[["fill",e]]),l.setAttributes(this.tip,[["fill",e]])),this.bgColor=e,this.fillColorChanged(e)},t.prototype.getTipPoints=function(){return this.setTipPoints("creating"===this.state),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},t.prototype.setTipPoints=function(e){void 0===e&&(e=!1);var t=Math.min(this.height/2,15),n=this.height/5;e&&(this.tipPosition={x:t+n/2,y:this.height+20});var r=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?r<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(n=this.width/5,t=Math.min(this.width/2,15),this.tipBase1Position={x:t,y:0},this.tipBase2Position={x:t+n,y:0}):(this.tipBase1Position={x:0,y:t},this.tipBase2Position={x:0,y:t+n}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?r<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(n=this.width/5,t=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-t-n,y:0},this.tipBase2Position={x:this.width-t,y:0}):(this.tipBase1Position={x:this.width,y:t},this.tipBase2Position={x:this.width,y:t+n}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?r<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(n=this.width/5,t=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-t-n,y:this.height},this.tipBase2Position={x:this.width-t,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-t-n},this.tipBase2Position={x:this.width,y:this.height-t}):r<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(n=this.width/5,t=Math.min(this.width/2,15),this.tipBase1Position={x:t,y:this.height},this.tipBase2Position={x:t+n,y:this.height}):(this.tipBase1Position={x:0,y:this.height-t},this.tipBase2Position={x:0,y:this.height-t-n})},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this.positionTip()},t.prototype.positionTip=function(){l.setAttributes(this.tip,[["points",this.getTipPoints()]]);var e=this.tipGrip.visual.transform.baseVal.getItem(0);e.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(e,0)},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),t.prototype.select=function(){this.positionTip(),e.prototype.select.call(this)},t.prototype.getState=function(){var n=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){var n=t;this.bgColor=n.bgColor,this.tipPosition=n.tipPosition,e.prototype.restoreState.call(this,t),this.createTip(),this.setTipPoints()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.tipPosition={x:this.tipPosition.x*t,y:this.tipPosition.y*n},this.positionTip()},t.typeName="CalloutMarker",t.title="Callout marker",t.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>',t}(D),H=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.fillColor="transparent",i.strokeColor="transparent",i.strokeWidth=0,i.strokeDasharray="",i.opacity=1,i.strokeColor=r.defaultColor,i.strokeWidth=r.defaultStrokeWidth,i.strokeDasharray=r.defaultStrokeDasharray,i.fillColor=r.defaultFillColor,i.setStrokeColor=i.setStrokeColor.bind(i),i.setFillColor=i.setFillColor.bind(i),i.setStrokeWidth=i.setStrokeWidth.bind(i),i.setStrokeDasharray=i.setStrokeDasharray.bind(i),i.setOpacity=i.setOpacity.bind(i),i.createVisual=i.createVisual.bind(i),i.strokePanel=new y("Line color",s(r.defaultColorSet,["transparent"]),r.defaultColor),i.strokePanel.onColorChanged=i.setStrokeColor,i.fillPanel=new y("Fill color",s(r.defaultColorSet,["transparent"]),i.fillColor,R),i.fillPanel.onColorChanged=i.setFillColor,i.strokeWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.strokeWidthPanel.onWidthChanged=i.setStrokeWidth,i.strokeStylePanel=new E("Line style",r.defaultStrokeDasharrays,r.defaultStrokeDasharray),i.strokeStylePanel.onStyleChanged=i.setStrokeDasharray,i.opacityPanel=new I("Opacity",r.defaultOpacitySteps,i.opacity),i.opacityPanel.onOpacityChanged=i.setOpacity,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual)},t.prototype.createVisual=function(){this.visual=l.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)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"new"===this.state&&(this.createVisual(),this.moveVisual(t),this._state="creating")},t.prototype.manipulate=function(t){e.prototype.manipulate.call(this,t)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this.setSize()},t.prototype.setSize=function(){e.prototype.setSize.call(this),l.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},t.prototype.pointerUp=function(t){e.prototype.pointerUp.call(this,t),this.setSize()},t.prototype.setStrokeColor=function(e){this.strokeColor=e,this.visual&&l.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(e),this.stateChanged()},t.prototype.setFillColor=function(e){this.fillColor=e,this.visual&&l.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(e),this.stateChanged()},t.prototype.setStrokeWidth=function(e){this.strokeWidth=e,this.visual&&l.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},t.prototype.setStrokeDasharray=function(e){this.strokeDasharray=e,this.visual&&l.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},t.prototype.setOpacity=function(e){this.opacity=e,this.visual&&l.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){var n=t;this.fillColor=n.fillColor,this.strokeColor=n.strokeColor,this.strokeWidth=n.strokeWidth,this.strokeDasharray=n.strokeDasharray,this.opacity=n.opacity,this.createVisual(),e.prototype.restoreState.call(this,t),this.setSize()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.setSize()},t.typeName="EllipseMarker",t.title="Ellipse marker",t.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>',t}(k),V=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}return i(t,e),Object.defineProperty(t.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.tip1&&t!==this.tip2)},t.prototype.createTips=function(){this.tip1=l.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(l.createTransform()),this.visual.appendChild(this.tip1),this.tip2=l.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(l.createTransform()),this.visual.appendChild(this.tip2)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),"creating"===this.state&&this.createTips()},t.prototype.adjustVisual=function(){if(e.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(l.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()]]),l.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 t=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),n=this.tip1.transform.baseVal.getItem(0);n.setRotate(t,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(n,0);var r=this.tip2.transform.baseVal.getItem(0);r.setRotate(t+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(r,0)}},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=e.prototype.getState.call(this);return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t),this.createTips(),this.adjustVisual()},t.typeName="MeasurementMarker",t.title="Measurement marker",t.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>',t}(P),K=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.strokePanel.colors=r.defaultColorSet,i.fillColor="transparent",i}return i(t,e),Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=e.prototype.getState.call(this);return n.typeName=t.typeName,n},t.typeName="EllipseFrameMarker",t.title="Ellipse frame marker",t.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>',t}(H),Y=function(){function e(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(e.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),e.prototype.addUndoStep=function(e){0!==this.undoStack.length&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(e)||(this.undoStack.push(e),JSON.stringify(this.lastRedoStep)!==JSON.stringify(e)&&this.redoStack.splice(0,this.redoStack.length))},e.prototype.replaceLastUndoStep=function(e){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=e)},e.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},e.prototype.undo=function(){if(this.undoStack.length>1){var e=this.undoStack.pop();return void 0!==e&&this.redoStack.push(e),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},e.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},e}(),G=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.strokeColor="transparent",i.strokeWidth=0,i.strokeDasharray="",i.curveX=0,i.curveY=0,i.manipulationStartCurveX=0,i.manipulationStartCurveY=0,i.setStrokeColor=i.setStrokeColor.bind(i),i.setStrokeWidth=i.setStrokeWidth.bind(i),i.setStrokeDasharray=i.setStrokeDasharray.bind(i),i.positionGrips=i.positionGrips.bind(i),i.addControlGrips=i.addControlGrips.bind(i),i.adjustVisual=i.adjustVisual.bind(i),i.setupControlBox=i.setupControlBox.bind(i),i.resize=i.resize.bind(i),i.strokeColor=r.defaultColor,i.strokeWidth=r.defaultStrokeWidth,i.strokeDasharray=r.defaultStrokeDasharray,i.strokePanel=new y("Line color",r.defaultColorSet,r.defaultColor),i.strokePanel.onColorChanged=i.setStrokeColor,i.strokeWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.strokeWidthPanel.onWidthChanged=i.setStrokeWidth,i.strokeStylePanel=new E("Line style",r.defaultStrokeDasharrays,r.defaultStrokeDasharray),i.strokeStylePanel.onStyleChanged=i.setStrokeDasharray,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual&&t!==this.selectorCurve&&t!==this.visibleCurve&&!this.curveGrip.ownsTarget(t))},t.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},t.prototype.createVisual=function(){this.visual=l.createGroup(),this.selectorCurve=l.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=l.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)},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,"new"===this.state&&(this.curveX=t.x,this.curveY=t.y),"new"===this.state?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(n)&&(this.activeGrip=this.curveGrip,this._state="resize")},t.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),l.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),l.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),l.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},t.prototype.setupControlBox=function(){e.prototype.setupControlBox.call(this),this.curveControlLine1=l.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=l.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)},t.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,e.prototype.addControlGrips.call(this)},t.prototype.positionGrips=function(){e.prototype.positionGrips.call(this);var t=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-t/2,this.curveY-t/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()))},t.prototype.manipulate=function(t){"move"===this.state&&(this.curveX=this.manipulationStartCurveX+t.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+t.y-this.manipulationStartY),e.prototype.manipulate.call(this,t)},t.prototype.resize=function(t){this.activeGrip===this.curveGrip&&(this.curveX=t.x,this.curveY=t.y),e.prototype.resize.call(this,t),"creating"===this.state&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},t.prototype.setStrokeColor=function(e){this.strokeColor=e,this.adjustVisual(),this.colorChanged(e)},t.prototype.setStrokeWidth=function(e){this.strokeWidth=e,this.adjustVisual()},t.prototype.setStrokeDasharray=function(e){this.strokeDasharray=e,this.adjustVisual()},t.prototype.scale=function(t,n){this.curveX=this.curveX*t,this.curveY=this.curveY*n,e.prototype.scale.call(this,t,n)},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var n=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},e.prototype.getState.call(this));return n.typeName=t.typeName,n},t.prototype.restoreState=function(t){e.prototype.restoreState.call(this,t);var n=t;this.strokeColor=n.strokeColor,this.strokeWidth=n.strokeWidth,this.strokeDasharray=n.strokeDasharray,this.curveX=n.curveX,this.curveY=n.curveY,this.createVisual(),this.adjustVisual()},t.typeName="CurveMarker",t.title="Curve marker",t.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>',t}(M),U=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.fillColor="transparent",i.strokeColor="transparent",i.strokeWidth=0,i.strokeDasharray="",i.textColor="transparent",i.fontSize="1rem",i.isMoved=!1,i.captionText="Caption",i.PADDING=5,i.captionBoxWidth=0,i.captionBoxHeight=0,i.strokeColor=r.defaultColor,i.strokeWidth=r.defaultStrokeWidth,i.strokeDasharray=r.defaultStrokeDasharray,i.fillColor=r.defaultFillColor,i.textColor=r.defaultStrokeColor,i.fontFamily=r.defaultFontFamily,i.fontSize=r.defaultCaptionFontSize,i.captionText=r.defaultCaptionText,i.setStrokeColor=i.setStrokeColor.bind(i),i.setFillColor=i.setFillColor.bind(i),i.setStrokeWidth=i.setStrokeWidth.bind(i),i.setStrokeDasharray=i.setStrokeDasharray.bind(i),i.createVisual=i.createVisual.bind(i),i.sizeCaption=i.sizeCaption.bind(i),i.setCaptionText=i.setCaptionText.bind(i),i.showTextEditor=i.showTextEditor.bind(i),i.positionTextEditor=i.positionTextEditor.bind(i),i.finishTextEditing=i.finishTextEditing.bind(i),i.setFont=i.setFont.bind(i),i.setTextColor=i.setTextColor.bind(i),i.strokePanel=new y("Line color",s(r.defaultColorSet,["transparent"]),i.strokeColor),i.strokePanel.onColorChanged=i.setStrokeColor,i.fillPanel=new y("Fill color",s(r.defaultColorSet,["transparent"]),i.fillColor,R),i.fillPanel.onColorChanged=i.setFillColor,i.strokeWidthPanel=new S("Line width",r.defaultStrokeWidths,r.defaultStrokeWidth),i.strokeWidthPanel.onWidthChanged=i.setStrokeWidth,i.strokeStylePanel=new E("Line style",r.defaultStrokeDasharrays,r.defaultStrokeDasharray),i.strokeStylePanel.onStyleChanged=i.setStrokeDasharray,i.fontFamilyPanel=new B("Font",r.defaultFontFamilies,r.defaultFontFamily),i.fontFamilyPanel.onFontChanged=i.setFont,i.textColorPanel=new y("Text color",r.defaultColorSet,i.textColor,O),i.textColorPanel.onColorChanged=i.setTextColor,i}return i(t,e),t.prototype.ownsTarget=function(t){return!(!e.prototype.ownsTarget.call(this,t)&&t!==this.visual&&t!==this.frame&&t!==this.captionBg&&t!==this.captionElement)},t.prototype.createVisual=function(){this.visual=l.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=l.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=l.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=l.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()},t.prototype.setCaptionText=function(e){this.captionText=e,this.captionElement.textContent=this.captionText,this.sizeCaption()},t.prototype.pointerDown=function(t,n){e.prototype.pointerDown.call(this,t,n),this.isMoved=!1,this.pointerDownPoint=t,this.pointerDownTimestamp=Date.now(),"new"===this.state&&(this.createVisual(),this.moveVisual(t),this._state="creating")},t.prototype.manipulate=function(t){e.prototype.manipulate.call(this,t),void 0!==this.pointerDownPoint&&(this.isMoved=Math.abs(t.x-this.pointerDownPoint.x)>5||Math.abs(t.y-this.pointerDownPoint.y)>5)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this.setSize()},t.prototype.sizeCaption=function(){var e=this.captionElement.getBBox();""!==this.captionText.trim()?(this.captionBoxWidth=e.width+2*this.PADDING,this.captionBoxHeight=e.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),l.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')"]]),l.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')"]])},t.prototype.showTextEditor=function(){var e=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(e){e.stopPropagation()})),this.textEditBox.addEventListener("keypress",(function(t){"Enter"===t.key&&e.finishTextEditing(e.textEditBox.value)})),this.textEditBox.addEventListener("keyup",(function(e){e.cancelBubble=!0})),this.textEditBox.addEventListener("blur",(function(){e.finishTextEditing(e.textEditBox.value)})),this.textEditDiv.addEventListener("pointerup",(function(){e.finishTextEditing(e.textEditBox.value)})),this.positionTextEditor(),this.textEditBox.focus()},t.prototype.positionTextEditor=function(){"edit"===this.state&&(void 0===this.textEditBox?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"))},t.prototype.finishTextEditing=function(e){this.setCaptionText(e.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},t.prototype.setFont=function(e){this.captionElement&&l.setAttributes(this.captionElement,[["font-family",e]]),this.fontFamily=e,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},t.prototype.setTextColor=function(e){this.captionElement&&l.setAttributes(this.captionElement,[["fill",e]]),this.textColor=e,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},t.prototype.setSize=function(){e.prototype.setSize.call(this),l.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},t.prototype.pointerUp=function(t){e.prototype.pointerUp.call(this,t),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},t.prototype.dblClick=function(t,n){e.prototype.dblClick.call(this,t,n),this.showTextEditor()},t.prototype.setStrokeColor=function(e){this.strokeColor=e,this.frame&&l.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(e),this.stateChanged()},t.prototype.setFillColor=function(e){this.fillColor=e,this.captionBg&&l.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(e),this.stateChanged()},t.prototype.setStrokeWidth=function(e){this.strokeWidth=e,this.frame&&l.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},t.prototype.setStrokeDasharray=function(e){this.strokeDasharray=e,this.frame&&l.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(t.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),t.prototype.getState=function(){var t=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},e.prototype.getState.call(this));return t.typeName=this.typeName,t},t.prototype.restoreState=function(t){var n=t;this.fillColor=n.fillColor,this.strokeColor=n.strokeColor,this.strokeWidth=n.strokeWidth,this.strokeDasharray=n.strokeDasharray,this.textColor=n.textColor,this.fontFamily=n.fontFamily,this.captionText=n.captionText,this.fontSize=n.fontSize,this.createVisual(),e.prototype.restoreState.call(this,t),this.setSize()},t.prototype.scale=function(t,n){e.prototype.scale.call(this,t,n),this.setSize()},t.typeName="CaptionFrameMarker",t.title="Caption frame marker",t.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>',t}(k),X=function(){function e(e,t){void 0===t&&(t=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=e,this.cancelable=t}return Object.defineProperty(e.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){this._defaultPrevented=!0},e}(),Q=function(e){function t(t,n,r){var i=e.call(this,t,!1)||this;return i.dataUrl=n,i.state=r,i}return i(t,e),t}(X),J=function(e){function t(t,n,r){void 0===r&&(r=!1);var i=e.call(this,t,r)||this;return i.marker=n,i}return i(t,e),t}(X),q=function(){function e(){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 e.prototype.addEventListener=function(e,t){this[e].push(t)},e.prototype.removeEventListener=function(e,t){var n=this[e].indexOf(t);n>-1&&this[e].splice(n,1)},e}(),_=function(){function e(t){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new N,this._isOpen=!1,this.undoRedoManager=new Y,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 q,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=e.instanceCounter++,this.styles=new h(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=t,this.targetRoot=document.body,this.width=t.clientWidth,this.height=t.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(e.prototype,"ALL_MARKER_TYPES",{get:function(){return[L,Z,j,D,K,H,W,z,V,F,P,G,U]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[L,Z,j,D,H,W,z]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"BASIC_MARKER_TYPES",{get:function(){return[L,Z,j,D,W]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(e){var t=this;this._availableMarkerTypes.splice(0),e.forEach((function(e){if("string"==typeof e){var n=t.ALL_MARKER_TYPES.find((function(t){return t.typeName===e}));void 0!==n&&t._availableMarkerTypes.push(n)}else t._availableMarkerTypes.push(e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(e){this._zoomLevel=e,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(e.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),e.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),"popup"===this.settings.displayMode&&this.onPopupTargetResize(),c.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},e.prototype.show=function(){var e=this;void 0===this.styles.styleSheetRoot&&void 0!==d.styleSheetRoot&&(this.styles.styleSheetRoot=d.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach((function(t){return t(new X(e))}))},e.prototype.render=function(){return o(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return this.setCurrentMarker(),(e=new u).naturalSize=this.renderAtNaturalSize,e.imageType=this.renderImageType,e.imageQuality=this.renderImageQuality,e.markersOnly=this.renderMarkersOnly,e.width=this.renderWidth,e.height=this.renderHeight,[4,e.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return t.sent(),[4,e.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,t.sent()]}}))}))},e.prototype.close=function(e){var t=this;if(void 0===e&&(e=!1),this.isOpen){var n=!1;e||this.eventListeners.beforeclose.forEach((function(e){var r=new X(t,!0);e(r),r.defaultPrevented&&(n=!0)})),n||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),"popup"===this.settings.displayMode&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach((function(e){return e(new X(t))})),this.detachEvents(),this._isOpen=!1)}},e.prototype.addMarkersToToolbar=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this._availableMarkerTypes).push.apply(e,t)},e.prototype.addRenderEventListener=function(e){this.addEventListener("render",(function(t){e(t.dataUrl,t.state)}))},e.prototype.removeRenderEventListener=function(e){},e.prototype.addCloseEventListener=function(e){this.addEventListener("close",(function(){e()}))},e.prototype.removeCloseEventListener=function(e){},e.prototype.setupResizeObserver=function(){var e=this;"inline"===this.settings.displayMode?window.ResizeObserver&&(this.targetObserver=new ResizeObserver((function(){e.resize(e.target.clientWidth,e.target.clientHeight)})),this.targetObserver.observe(this.target)):"popup"===this.settings.displayMode&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver((function(){return e.onPopupTargetResize()})),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},e.prototype.onPopupTargetResize=function(){var e=1*this.target.clientWidth/this.target.clientHeight,t=this.editorCanvas.clientWidth/e>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*e:this.editorCanvas.clientWidth,n=t<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/e;this.resize(t,n)},e.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},e.prototype.resize=function(e,t){this._isResizing=!0;var n=e/this.imageWidth,r=t/this.imageHeight;this.imageWidth=Math.round(e),this.imageHeight=Math.round(t),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","popup"!==this.settings.displayMode?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),void 0!==this.toolbar&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(n,r),this._isResizing=!1},e.prototype.scaleMarkers=function(e,t){var n,r=this;this._currentMarker&&this._currentMarker instanceof D?this._currentMarker.scale(e,t):(n=this._currentMarker,this.setCurrentMarker()),this.markers.forEach((function(n){n!==r._currentMarker&&n.scale(e,t)})),void 0!==n&&this.setCurrentMarker(n)},e.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"},e.prototype.setTopLeft=function(){var e=this.editingTarget.getBoundingClientRect(),t=this.editorCanvas.getBoundingClientRect();this.left=e.left-t.left,this.top=e.top-t.top},e.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)},e.prototype.addDefs=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.defs=l.createDefs(),this.addDefsToImage(),(e=this.defs).append.apply(e,t)},e.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},e.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)},e.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},e.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},e.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)},e.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},e.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)},e.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 e=document.createElement("a");e.href="https://markerjs.com/",e.target="_blank",e.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>',e.title="Powered by marker.js",e.style.display="grid",e.style.alignItems="center",e.style.justifyItems="center",e.style.padding="3px",e.style.width="20px",e.style.height="20px",this.logoUI.appendChild(e),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},e.prototype.positionLogo=function(){this.logoUI&&("right"!==this.uiStyleSettings.logoPosition?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")},e.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"},e.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},e.prototype.showUI=function(){switch("popup"===this.settings.displayMode&&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 e=void 0!==this.settings.uiOffsetTop?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=e+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=void 0!==this.uiStyleSettings.zIndex?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=void 0!==this.uiStyleSettings.zIndex?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="popup"===this.settings.displayMode?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new m(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","popup"===this.settings.displayMode&&(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","popup"===this.settings.displayMode&&(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"),void 0===this.settings.uiOffsetTop&&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 v(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},e.prototype.closeUI=function(){"popup"===this.settings.displayMode&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},e.prototype.removeMarker=function(e){this.markerImage.removeChild(e.container),this.markers.indexOf(e)>-1&&this.markers.splice(this.markers.indexOf(e),1),e.dispose()},e.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),void 0!==this._currentMarker&&("new"!==this._currentMarker.state?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},e.prototype.toolbarButtonClicked=function(e,t){if("marker"===e&&void 0!==t)this.createNewMarker(t);else if("action"===e)switch(t){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":void 0===this.notesArea?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},e.prototype.deleteSelectedMarker=function(){var e=this;if(void 0!==this._currentMarker){var t=!1;if(this.eventListeners.markerbeforedelete.forEach((function(n){var r=new J(e,e._currentMarker,!0);n(r),r.defaultPrevented&&(t=!0)})),!t){var n=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(t){return t(new J(e,n))}))}}},e.prototype.clear=function(){var e=this,t=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach((function(n){var r=new J(e,void 0,!0);n(r),r.defaultPrevented&&(t=!0)})),!t)){this.setCurrentMarker();for(var n=function(t){var n=r.markers[t];r.setCurrentMarker(r.markers[t]),r._currentMarker.dispose(),r.markerImage.removeChild(r._currentMarker.container),r.markers.splice(r.markers.indexOf(r._currentMarker),1),r.eventListeners.markerdelete.forEach((function(t){return t(new J(e,n))}))},r=this,i=this.markers.length-1;i>=0;i--)n(i);this.addUndoStep()}},Object.defineProperty(e.prototype,"isNotesAreaOpen",{get:function(){return void 0!==this.notesArea},enumerable:!1,configurable:!0}),e.prototype.showNotesEditor=function(){var e;void 0!==this._currentMarker&&(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=null!==(e=this._currentMarker.notes)&&void 0!==e?e:"",this.overlayContainer.appendChild(this.notesArea))},e.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(void 0!==this._currentMarker&&(this._currentMarker.notes=""!==this.notesArea.value.trim()?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},e.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},e.prototype.addUndoStep=function(){var e=this;if(void 0===this._currentMarker||"edit"!==this._currentMarker.state){var t=this.getState(),n=this.undoRedoManager.getLastUndoStep();if(!n||n.width===t.width&&n.height===t.height){var r=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(t),r<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach((function(t){return t(new X(e))}))}else this.undoRedoManager.replaceLastUndoStep(t),this.eventListeners.statechange.forEach((function(t){return t(new X(e))}))}},e.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},e.prototype.undoStep=function(){var e=this,t=this.undoRedoManager.undo();void 0!==t&&(this.restoreState(t),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach((function(t){return t(new X(e))})))},e.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},e.prototype.redoStep=function(){var e=this,t=this.undoRedoManager.redo();void 0!==t&&(this.restoreState(t),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach((function(t){return t(new X(e))})))},e.prototype.stepZoom=function(){var e=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=e<this.zoomSteps.length-1?this.zoomSteps[e+1]:this.zoomSteps[0]},e.prototype.panTo=function(e){this.contentDiv.scrollBy({left:this.prevPanPoint.x-e.x,top:this.prevPanPoint.y-e.y}),this.prevPanPoint=e},e.prototype.startRenderAndClose=function(){return o(this,void 0,void 0,(function(){var e,t,n=this;return a(this,(function(r){switch(r.label){case 0:return[4,this.render()];case 1:return e=r.sent(),t=this.getState(),this.eventListeners.render.forEach((function(r){return r(new Q(n,e,t))})),this.close(!0),[2]}}))}))},e.prototype.getState=function(e){!0===e&&this.setCurrentMarker();var t={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach((function(e){return t.markers.push(e.getState())})),t},e.prototype.restoreState=function(e){var t=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);e.markers.forEach((function(e){var n=t._availableMarkerTypes.find((function(t){return t.typeName===e.typeName}));if(void 0!==n){var r=t.addNewMarker(n);r.restoreState(e),t.markers.push(r)}})),e.width&&e.height&&(e.width!==this.imageWidth||e.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/e.width,this.imageHeight/e.height),this.eventListeners.restorestate.forEach((function(e){return e(new X(t))}))},e.prototype.addNewMarker=function(e){var t=l.createGroup();return this.markerImage.appendChild(t),new e(t,this.overlayContainer,this.settings)},e.prototype.createNewMarker=function(e){var t,n=this;(t="string"==typeof e?this._availableMarkerTypes.find((function(t){return t.typeName===e})):e)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(t),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(t.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach((function(e){return e(new J(n,n._currentMarker))})))},e.prototype.markerCreated=function(e){var t=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(e),this.setCurrentMarker(e),e instanceof Z&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Z):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach((function(e){return e(new J(t,t._currentMarker))}))},e.prototype.colorChanged=function(e){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=e,this.settings.defaultStrokeColor=e)},e.prototype.fillColorChanged=function(e){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=e)},e.prototype.markerStateChanged=function(e){var t=this;this.eventListeners.markerchange.forEach((function(n){return n(new J(t,e))}))},e.prototype.setCurrentMarker=function(e){var t=this;this._currentMarker!==e&&void 0!==this._currentMarker&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach((function(e){return e(new J(t,t._currentMarker))}))),this._currentMarker=e,void 0===this._currentMarker||this._currentMarker.isSelected||("new"!==this._currentMarker.state&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach((function(e){return e(new J(t,t._currentMarker))})))},e.prototype.onPointerDown=function(e){if(this._isFocused||this.focus(),this.touchPoints++,1===this.touchPoints||"touch"!==e.pointerType)if(void 0===this._currentMarker||"new"!==this._currentMarker.state&&"creating"!==this._currentMarker.state){if("select"===this.mode){var t=this.markers.find((function(t){return t.ownsTarget(e.target)}));void 0!==t?(this.setCurrentMarker(t),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(e.clientX,e.clientY),e.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:e.clientX,y:e.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(e.clientX,e.clientY))},e.prototype.onDblClick=function(e){if(this._isFocused||this.focus(),"select"===this.mode){var t=this.markers.find((function(t){return t.ownsTarget(e.target)}));void 0!==t&&t!==this._currentMarker&&this.setCurrentMarker(t),void 0!==this._currentMarker?this._currentMarker.dblClick(this.clientToLocalCoordinates(e.clientX,e.clientY),e.target):this.setCurrentMarker()}},e.prototype.onPointerMove=function(e){1!==this.touchPoints&&"touch"===e.pointerType||(void 0!==this._currentMarker||this.isDragging)&&(void 0!==this._currentMarker&&"edit"===this._currentMarker.state||e.preventDefault(),void 0!==this._currentMarker?this._currentMarker.manipulate(this.clientToLocalCoordinates(e.clientX,e.clientY)):this.zoomLevel>1&&this.panTo({x:e.clientX,y:e.clientY}))},e.prototype.onPointerUp=function(e){this.touchPoints>0&&this.touchPoints--,0===this.touchPoints&&this.isDragging&&void 0!==this._currentMarker&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(e.clientX,e.clientY)),this.isDragging=!1,this.addUndoStep()},e.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},e.prototype.onKeyUp=function(e){void 0===this._currentMarker||void 0!==this.notesArea||"Delete"!==e.key&&"Backspace"!==e.key||this.deleteSelectedMarker()},e.prototype.clientToLocalCoordinates=function(e,t){var n=this.markerImage.getBoundingClientRect();return{x:(e-n.left)/this.zoomLevel,y:(t-n.top)/this.zoomLevel}},e.prototype.onWindowResize=function(){this.positionUI()},e.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var e=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=e+"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()},e.prototype.addLicenseKey=function(e){c.addKey(e)},e.prototype.addEventListener=function(e,t){this.eventListeners.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventListeners.removeEventListener(e,t)},e.prototype.renderState=function(e){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(e),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),e.prototype.focus=function(){var e=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,void 0!==this._previousCurrentMarker&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach((function(t){return t(new X(e))})))},e.prototype.blur=function(){var e=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach((function(t){return t(new X(e))})))},e.instanceCounter=0,e}()},66042:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(33885),i=n(42978),o=n(43403),a=n(34280),s=n(59301),l=s.createContext(null),c=s.createContext({}),u=l,d=n(20068),h=n(54476),f=n(92310),p=n.n(f),m=n(77900),v=n(10228),g=n(26112),y=n(75931),x=n(8654),b=["prefixCls","className","containerRef"];var w=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,i=(0,y.Z)(e,b),o=s.useContext(c).panel,a=(0,x.x1)(o,r);return s.createElement("div",(0,h.Z)({className:p()("".concat(t,"-content"),n),role:"dialog",ref:a},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},i))},C=n(48736);function k(e){return"string"==typeof e&&String(Number(e))===e?((0,C.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function S(e,t){var n,o,a,l=e.prefixCls,c=e.open,f=e.placement,y=e.inline,x=e.push,b=e.forceRender,C=e.autoFocus,S=e.keyboard,E=e.classNames,L=e.rootClassName,N=e.rootStyle,M=e.zIndex,P=e.className,B=e.id,D=e.style,Z=e.motion,T=e.width,j=e.height,F=e.children,I=e.mask,W=e.maskClosable,O=e.maskMotion,R=e.maskClassName,z=e.maskStyle,H=e.afterOpenChange,V=e.onClose,K=e.onMouseEnter,Y=e.onMouseOver,G=e.onMouseLeave,U=e.onClick,X=e.onKeyDown,Q=e.onKeyUp,J=e.styles,q=e.drawerRender,_=s.useRef(),$=s.useRef(),ee=s.useRef();s.useImperativeHandle(t,(function(){return _.current}));s.useEffect((function(){var e;c&&C&&(null===(e=_.current)||void 0===e||e.focus({preventScroll:!0}))}),[c]);var te=s.useState(!1),ne=(0,i.Z)(te,2),re=ne[0],ie=ne[1],oe=s.useContext(u),ae=null!==(n=null!==(o=null===(a="boolean"==typeof x?x?{}:{distance:0}:x||{})||void 0===a?void 0:a.distance)&&void 0!==o?o:null==oe?void 0:oe.pushDistance)&&void 0!==n?n:180,se=s.useMemo((function(){return{pushDistance:ae,push:function(){ie(!0)},pull:function(){ie(!1)}}}),[ae]);s.useEffect((function(){var e,t;c?null==oe||null===(e=oe.push)||void 0===e||e.call(oe):null==oe||null===(t=oe.pull)||void 0===t||t.call(oe)}),[c]),s.useEffect((function(){return function(){var e;null==oe||null===(e=oe.pull)||void 0===e||e.call(oe)}}),[]);var le=I&&s.createElement(m.default,(0,h.Z)({key:"mask"},O,{visible:c}),(function(e,t){var n=e.className,i=e.style;return s.createElement("div",{className:p()("".concat(l,"-mask"),n,null==E?void 0:E.mask,R),style:(0,r.Z)((0,r.Z)((0,r.Z)({},i),z),null==J?void 0:J.mask),onClick:W&&c?V:void 0,ref:t})})),ce="function"==typeof Z?Z(f):Z,ue={};if(re&&ae)switch(f){case"top":ue.transform="translateY(".concat(ae,"px)");break;case"bottom":ue.transform="translateY(".concat(-ae,"px)");break;case"left":ue.transform="translateX(".concat(ae,"px)");break;default:ue.transform="translateX(".concat(-ae,"px)")}"left"===f||"right"===f?ue.width=k(T):ue.height=k(j);var de={onMouseEnter:K,onMouseOver:Y,onMouseLeave:G,onClick:U,onKeyDown:X,onKeyUp:Q},he=s.createElement(m.default,(0,h.Z)({key:"panel"},ce,{visible:c,forceRender:b,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(l,"-content-wrapper-hidden")}),(function(t,n){var i=t.className,o=t.style,a=s.createElement(w,(0,h.Z)({id:B,containerRef:n,prefixCls:l,className:p()(P,null==E?void 0:E.content),style:(0,r.Z)((0,r.Z)({},D),null==J?void 0:J.content)},(0,g.Z)(e,{aria:!0}),de),F);return s.createElement("div",(0,h.Z)({className:p()("".concat(l,"-content-wrapper"),null==E?void 0:E.wrapper,i),style:(0,r.Z)((0,r.Z)((0,r.Z)({},ue),o),null==J?void 0:J.wrapper)},(0,g.Z)(e,{data:!0})),q?q(a):a)})),fe=(0,r.Z)({},N);return M&&(fe.zIndex=M),s.createElement(u.Provider,{value:se},s.createElement("div",{className:p()(l,"".concat(l,"-").concat(f),L,(0,d.Z)((0,d.Z)({},"".concat(l,"-open"),c),"".concat(l,"-inline"),y)),style:fe,tabIndex:-1,ref:_,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case v.Z.TAB:var r;if(t===v.Z.TAB)if(n||document.activeElement!==ee.current){if(n&&document.activeElement===$.current){var i;null===(i=ee.current)||void 0===i||i.focus({preventScroll:!0})}}else null===(r=$.current)||void 0===r||r.focus({preventScroll:!0});break;case v.Z.ESC:V&&S&&(e.stopPropagation(),V(e))}}},le,s.createElement("div",{tabIndex:0,ref:$,style:A,"aria-hidden":"true","data-sentinel":"start"}),he,s.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}var E=s.forwardRef(S);var L=function(e){var t=e.open,n=void 0!==t&&t,l=e.prefixCls,u=void 0===l?"rc-drawer":l,d=e.placement,h=void 0===d?"right":d,f=e.autoFocus,p=void 0===f||f,m=e.keyboard,v=void 0===m||m,g=e.width,y=void 0===g?378:g,x=e.mask,b=void 0===x||x,w=e.maskClosable,C=void 0===w||w,k=e.getContainer,A=e.forceRender,S=e.afterOpenChange,L=e.destroyOnClose,N=e.onMouseEnter,M=e.onMouseOver,P=e.onMouseLeave,B=e.onClick,D=e.onKeyDown,Z=e.onKeyUp,T=e.panelRef,j=s.useState(!1),F=(0,i.Z)(j,2),I=F[0],W=F[1];var O=s.useState(!1),R=(0,i.Z)(O,2),z=R[0],H=R[1];(0,a.Z)((function(){H(!0)}),[]);var V=!!z&&n,K=s.useRef(),Y=s.useRef();(0,a.Z)((function(){V&&(Y.current=document.activeElement)}),[V]);var G=s.useMemo((function(){return{panel:T}}),[T]);if(!A&&!I&&!V&&L)return null;var U={onMouseEnter:N,onMouseOver:M,onMouseLeave:P,onClick:B,onKeyDown:D,onKeyUp:Z},X=(0,r.Z)((0,r.Z)({},e),{},{open:V,prefixCls:u,placement:h,autoFocus:p,keyboard:v,width:y,mask:b,maskClosable:C,inline:!1===k,afterOpenChange:function(e){var t,n;(W(e),null==S||S(e),e||!Y.current||null!==(t=K.current)&&void 0!==t&&t.contains(Y.current))||(null===(n=Y.current)||void 0===n||n.focus({preventScroll:!0}))},ref:K},U);return s.createElement(c.Provider,{value:G},s.createElement(o.Z,{open:V||A||I,autoDestroy:!1,getContainer:k,autoLock:b&&(V||I)},s.createElement(E,X)))}},23425:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(20068),i=n(54476),o=n(76190),a=n(33885),s=n(42978),l=n(92310),c=n.n(l),u=n(18929),d=n(10228),h=n(26112),f=(n(48736),n(59301)),p=n(17119),m=[10,20,50,100];var v=function(e){var t=e.pageSizeOptions,n=void 0===t?m:t,r=e.locale,i=e.changeSize,o=e.pageSize,a=e.goButton,l=e.quickGo,c=e.rootPrefixCls,u=e.disabled,h=e.buildOptionText,p=e.showSizeChanger,v=e.sizeChangerRender,g=f.useState(""),y=(0,s.Z)(g,2),x=y[0],b=y[1],w=function(){return!x||Number.isNaN(x)?void 0:Number(x)},C="function"==typeof h?h:function(e){return"".concat(e," ").concat(r.items_per_page)},k=function(e){""!==x&&(e.keyCode!==d.Z.ENTER&&"click"!==e.type||(b(""),null==l||l(w())))},A="".concat(c,"-options");if(!p&&!l)return null;var S=null,E=null,L=null;return p&&v&&(S=v({disabled:u,size:o,onSizeChange:function(e){null==i||i(Number(e))},"aria-label":r.page_size,className:"".concat(A,"-size-changer"),options:(n.some((function(e){return e.toString()===o.toString()}))?n:n.concat([o]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e){return{label:C(e),value:e}}))})),l&&(a&&(L="boolean"==typeof a?f.createElement("button",{type:"button",onClick:k,onKeyUp:k,disabled:u,className:"".concat(A,"-quick-jumper-button")},r.jump_to_confirm):f.createElement("span",{onClick:k,onKeyUp:k},a)),E=f.createElement("div",{className:"".concat(A,"-quick-jumper")},r.jump_to,f.createElement("input",{disabled:u,type:"text",value:x,onChange:function(e){b(e.target.value)},onKeyUp:k,onBlur:function(e){a||""===x||(b(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||null==l||l(w()))},"aria-label":r.page}),r.page,L)),f.createElement("li",{className:A},S,E)};var g=function(e){var t=e.rootPrefixCls,n=e.page,i=e.active,o=e.className,a=e.showTitle,s=e.onClick,l=e.onKeyPress,u=e.itemRender,d="".concat(t,"-item"),h=c()(d,"".concat(d,"-").concat(n),(0,r.Z)((0,r.Z)({},"".concat(d,"-active"),i),"".concat(d,"-disabled"),!n),o),p=u(n,"page",f.createElement("a",{rel:"nofollow"},n));return p?f.createElement("li",{title:a?String(n):null,className:h,onClick:function(){s(n)},onKeyDown:function(e){l(e,s,n)},tabIndex:0},p):null},y=function(e,t,n){return n};function x(){}function b(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function w(e,t,n){var r=void 0===e?t:e;return Math.floor((n-1)/r)+1}var C=function(e){var t=e.prefixCls,n=void 0===t?"rc-pagination":t,l=e.selectPrefixCls,m=void 0===l?"rc-select":l,C=e.className,k=e.current,A=e.defaultCurrent,S=void 0===A?1:A,E=e.total,L=void 0===E?0:E,N=e.pageSize,M=e.defaultPageSize,P=void 0===M?10:M,B=e.onChange,D=void 0===B?x:B,Z=e.hideOnSinglePage,T=e.align,j=e.showPrevNextJumpers,F=void 0===j||j,I=e.showQuickJumper,W=e.showLessItems,O=e.showTitle,R=void 0===O||O,z=e.onShowSizeChange,H=void 0===z?x:z,V=e.locale,K=void 0===V?p.Z:V,Y=e.style,G=e.totalBoundaryShowSizeChanger,U=void 0===G?50:G,X=e.disabled,Q=e.simple,J=e.showTotal,q=e.showSizeChanger,_=void 0===q?L>U:q,$=e.sizeChangerRender,ee=e.pageSizeOptions,te=e.itemRender,ne=void 0===te?y:te,re=e.jumpPrevIcon,ie=e.jumpNextIcon,oe=e.prevIcon,ae=e.nextIcon,se=f.useRef(null),le=(0,u.Z)(10,{value:N,defaultValue:P}),ce=(0,s.Z)(le,2),ue=ce[0],de=ce[1],he=(0,u.Z)(1,{value:k,defaultValue:S,postState:function(e){return Math.max(1,Math.min(e,w(void 0,ue,L)))}}),fe=(0,s.Z)(he,2),pe=fe[0],me=fe[1],ve=f.useState(pe),ge=(0,s.Z)(ve,2),ye=ge[0],xe=ge[1];(0,f.useEffect)((function(){xe(pe)}),[pe]);var be=Math.max(1,pe-(W?3:5)),we=Math.min(w(void 0,ue,L),pe+(W?3:5));function Ce(t,r){var i=t||f.createElement("button",{type:"button","aria-label":r,className:"".concat(n,"-item-link")});return"function"==typeof t&&(i=f.createElement(t,(0,a.Z)({},e))),i}function ke(e){var t=e.target.value,n=w(void 0,ue,L);return""===t?t:Number.isNaN(Number(t))?ye:t>=n?n:Number(t)}var Ae=L>ue&&I;function Se(e){var t=ke(e);switch(t!==ye&&xe(t),e.keyCode){case d.Z.ENTER:Ee(t);break;case d.Z.UP:Ee(t-1);break;case d.Z.DOWN:Ee(t+1)}}function Ee(e){if(function(e){return b(e)&&e!==pe&&b(L)&&L>0}(e)&&!X){var t=w(void 0,ue,L),n=e;return e>t?n=t:e<1&&(n=1),n!==ye&&xe(n),me(n),null==D||D(n,ue),n}return pe}var Le=pe>1,Ne=pe<w(void 0,ue,L);function Me(){Le&&Ee(pe-1)}function Pe(){Ne&&Ee(pe+1)}function Be(){Ee(be)}function De(){Ee(we)}function Ze(e,t){if("Enter"===e.key||e.charCode===d.Z.ENTER||e.keyCode===d.Z.ENTER){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,r)}}function Te(e){"click"!==e.type&&e.keyCode!==d.Z.ENTER||Ee(ye)}var je=null,Fe=(0,h.Z)(e,{aria:!0,data:!0}),Ie=J&&f.createElement("li",{className:"".concat(n,"-total-text")},J(L,[0===L?0:(pe-1)*ue+1,pe*ue>L?L:pe*ue])),We=null,Oe=w(void 0,ue,L);if(Z&&L<=ue)return null;var Re=[],ze={rootPrefixCls:n,onClick:Ee,onKeyPress:Ze,showTitle:R,itemRender:ne,page:-1},He=pe-1>0?pe-1:0,Ve=pe+1<Oe?pe+1:Oe,Ke=I&&I.goButton,Ye="object"===(0,o.Z)(Q)?Q.readOnly:!Q,Ge=Ke,Ue=null;Q&&(Ke&&(Ge="boolean"==typeof Ke?f.createElement("button",{type:"button",onClick:Te,onKeyUp:Te},K.jump_to_confirm):f.createElement("span",{onClick:Te,onKeyUp:Te},Ke),Ge=f.createElement("li",{title:R?"".concat(K.jump_to).concat(pe,"/").concat(Oe):null,className:"".concat(n,"-simple-pager")},Ge)),Ue=f.createElement("li",{title:R?"".concat(pe,"/").concat(Oe):null,className:"".concat(n,"-simple-pager")},Ye?ye:f.createElement("input",{type:"text","aria-label":K.jump_to,value:ye,disabled:X,onKeyDown:function(e){e.keyCode!==d.Z.UP&&e.keyCode!==d.Z.DOWN||e.preventDefault()},onKeyUp:Se,onChange:Se,onBlur:function(e){Ee(ke(e))},size:3}),f.createElement("span",{className:"".concat(n,"-slash")},"/"),Oe));var Xe=W?1:2;if(Oe<=3+2*Xe){Oe||Re.push(f.createElement(g,(0,i.Z)({},ze,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var Qe=1;Qe<=Oe;Qe+=1)Re.push(f.createElement(g,(0,i.Z)({},ze,{key:Qe,page:Qe,active:pe===Qe})))}else{var Je=W?K.prev_3:K.prev_5,qe=W?K.next_3:K.next_5,_e=ne(be,"jump-prev",Ce(re,"prev page")),$e=ne(we,"jump-next",Ce(ie,"next page"));F&&(je=_e?f.createElement("li",{title:R?Je:null,key:"prev",onClick:Be,tabIndex:0,onKeyDown:function(e){Ze(e,Be)},className:c()("".concat(n,"-jump-prev"),(0,r.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!re))},_e):null,We=$e?f.createElement("li",{title:R?qe:null,key:"next",onClick:De,tabIndex:0,onKeyDown:function(e){Ze(e,De)},className:c()("".concat(n,"-jump-next"),(0,r.Z)({},"".concat(n,"-jump-next-custom-icon"),!!ie))},$e):null);var et=Math.max(1,pe-Xe),tt=Math.min(pe+Xe,Oe);pe-1<=Xe&&(tt=1+2*Xe),Oe-pe<=Xe&&(et=Oe-2*Xe);for(var nt=et;nt<=tt;nt+=1)Re.push(f.createElement(g,(0,i.Z)({},ze,{key:nt,page:nt,active:pe===nt})));if(pe-1>=2*Xe&&3!==pe&&(Re[0]=f.cloneElement(Re[0],{className:c()("".concat(n,"-item-after-jump-prev"),Re[0].props.className)}),Re.unshift(je)),Oe-pe>=2*Xe&&pe!==Oe-2){var rt=Re[Re.length-1];Re[Re.length-1]=f.cloneElement(rt,{className:c()("".concat(n,"-item-before-jump-next"),rt.props.className)}),Re.push(We)}1!==et&&Re.unshift(f.createElement(g,(0,i.Z)({},ze,{key:1,page:1}))),tt!==Oe&&Re.push(f.createElement(g,(0,i.Z)({},ze,{key:Oe,page:Oe})))}var it=function(e){var t=ne(e,"prev",Ce(oe,"prev page"));return f.isValidElement(t)?f.cloneElement(t,{disabled:!Le}):t}(He);if(it){var ot=!Le||!Oe;it=f.createElement("li",{title:R?K.prev_page:null,onClick:Me,tabIndex:ot?null:0,onKeyDown:function(e){Ze(e,Me)},className:c()("".concat(n,"-prev"),(0,r.Z)({},"".concat(n,"-disabled"),ot)),"aria-disabled":ot},it)}var at,st,lt=function(e){var t=ne(e,"next",Ce(ae,"next page"));return f.isValidElement(t)?f.cloneElement(t,{disabled:!Ne}):t}(Ve);lt&&(Q?(at=!Ne,st=Le?0:null):st=(at=!Ne||!Oe)?null:0,lt=f.createElement("li",{title:R?K.next_page:null,onClick:Pe,tabIndex:st,onKeyDown:function(e){Ze(e,Pe)},className:c()("".concat(n,"-next"),(0,r.Z)({},"".concat(n,"-disabled"),at)),"aria-disabled":at},lt));var ct=c()(n,C,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(n,"-start"),"start"===T),"".concat(n,"-center"),"center"===T),"".concat(n,"-end"),"end"===T),"".concat(n,"-simple"),Q),"".concat(n,"-disabled"),X));return f.createElement("ul",(0,i.Z)({className:ct,style:Y,ref:se},Fe),Ie,it,Q?Ue:Re,lt,f.createElement(v,{locale:K,rootPrefixCls:n,disabled:X,selectPrefixCls:m,changeSize:function(e){var t=w(e,ue,L),n=pe>t&&0!==t?t:pe;de(e),xe(n),null==H||H(pe,e),me(n),null==D||D(n,e)},pageSize:ue,pageSizeOptions:ee,quickGo:Ae?Ee:null,goButton:Ge,showSizeChanger:_,sizeChangerRender:$}))}},48365:function(e,t,n){"use strict";var r=n(56656),i=n.n(r),o=n(27112),a=n.n(o),s=n(54449),l=n.n(s),c=n(53501),u=n.n(c),d=n(36867),h=n.n(d),f=n(71912),p=n.n(f),m=n(48228),v=n.n(m);i().extend(v()),i().extend(p()),i().extend(a()),i().extend(l()),i().extend(u()),i().extend(h()),i().extend((function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||"").replace("Wo","wo");return r.bind(this)(t)}}));var g={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},y=function(e){return g[e]||e.split("_")[0]},x={getNow:function(){var e=i()();return"function"==typeof e.tz?e.tz():e},getFixedDate:function(e){return i()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return i()().locale(y(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(y(e)).weekday(0)},getWeek:function(e,t){return t.locale(y(e)).week()},getShortWeekDays:function(e){return i()().locale(y(e)).localeData().weekdaysMin()},getShortMonths:function(e){return i()().locale(y(e)).localeData().monthsShort()},format:function(e,t,n){return t.locale(y(e)).format(n)},parse:function(e,t,n){for(var r=y(e),o=0;o<n.length;o+=1){var a=n[o],s=t;if(a.includes("wo")||a.includes("Wo")){for(var l=s.split("-")[0],c=s.split("-")[1],u=i()(l,"YYYY").startOf("year").locale(r),d=0;d<=52;d+=1){var h=u.add(d,"week");if(h.format("Wo")===c)return h}return null}var f=i()(s,a,!0).locale(r);if(f.isValid())return f}return null}}};t.Z=x},8571:function(e,t,n){"use strict";n.d(t,{Sq:function(){return pt},ZP:function(){return wt}});var r=n(54476),i=n(94480),o=n(33885),a=n(42978),s=n(70425),l=n(34280),c=n(2738),u=n(26112),d=n(48736),h=n(59301),f=n(20068),p=n(65030),m=n(92310),v=n.n(m);var g=h.createContext(null),y={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};var x=function(e){var t=e.popupElement,n=e.popupStyle,r=e.popupClassName,i=e.popupAlign,o=e.transitionName,a=e.getPopupContainer,s=e.children,l=e.range,c=e.placement,u=e.builtinPlacements,d=void 0===u?y:u,m=e.direction,x=e.visible,b=e.onClose,w=h.useContext(g).prefixCls,C="".concat(w,"-dropdown"),k=function(e,t){return void 0!==e?e:t?"bottomRight":"bottomLeft"}(c,"rtl"===m);return h.createElement(p.Z,{showAction:[],hideAction:["click"],popupPlacement:k,builtinPlacements:d,prefixCls:C,popupTransitionName:o,popup:t,popupAlign:i,popupVisible:x,popupClassName:v()(r,(0,f.Z)((0,f.Z)({},"".concat(C,"-range"),l),"".concat(C,"-rtl"),"rtl"===m)),popupStyle:n,stretch:"minWidth",getPopupContainer:a,onPopupVisibleChange:function(e){e||b()}},s)};function b(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length<t;)r="".concat(n).concat(r);return r}function w(e){return null==e?[]:Array.isArray(e)?e:[e]}function C(e,t,n){var r=(0,i.Z)(e);return r[t]=n,r}function k(e,t){var n={};return(t||Object.keys(e)).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n}function A(e,t,n){if(n)return n;switch(e){case"time":return t.fieldTimeFormat;case"datetime":return t.fieldDateTimeFormat;case"month":return t.fieldMonthFormat;case"year":return t.fieldYearFormat;case"quarter":return t.fieldQuarterFormat;case"week":return t.fieldWeekFormat;default:return t.fieldDateFormat}}function S(e,t,n){var r=void 0!==n?n:t[t.length-1],i=t.find((function(t){return e[t]}));return r!==i?e[i]:void 0}function E(e){return k(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function L(e,t,n,r){var i=h.useMemo((function(){return e||function(e,r){var i=e;return t&&"date"===r.type?t(i,r.today):n&&"month"===r.type?n(i,r.locale):r.originNode}}),[e,n,t]);return h.useCallback((function(e,t){return i(e,(0,o.Z)((0,o.Z)({},t),{},{range:r}))}),[i,r])}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=h.useState([!1,!1]),i=(0,a.Z)(r,2),o=i[0],s=i[1],l=function(e,t){s((function(n){return C(n,t,e)}))},c=h.useMemo((function(){return o.map((function(r,i){if(r)return!0;var o=e[i];return!!o&&(!n[i]&&!o||!(!o||!t(o,{activeIndex:i})))}))}),[e,o,t,n]);return[c,l]}function M(e,t,n,r,i){var o="",a=[];return e&&a.push(i?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),o=a.join(":"),r&&(o+=".SSS"),i&&(o+=" A"),o}function P(e,t){var n=t.showHour,r=t.showMinute,i=t.showSecond,a=t.showMillisecond,s=t.use12Hours;return h.useMemo((function(){return function(e,t,n,r,i,a){var s=e.fieldDateTimeFormat,l=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,h=e.fieldWeekFormat,f=e.fieldQuarterFormat,p=e.yearFormat,m=e.cellYearFormat,v=e.cellQuarterFormat,g=e.dayFormat,y=e.cellDateFormat,x=M(t,n,r,i,a);return(0,o.Z)((0,o.Z)({},e),{},{fieldDateTimeFormat:s||"YYYY-MM-DD ".concat(x),fieldDateFormat:l||"YYYY-MM-DD",fieldTimeFormat:c||x,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:h||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:p||"YYYY",cellYearFormat:m||"YYYY",cellQuarterFormat:v||"[Q]Q",cellDateFormat:y||g||"D"})}(e,n,r,i,a,s)}),[e,n,r,i,a,s])}var B=n(76190);function D(e,t,n){return null!=n?n:t.some((function(t){return e.includes(t)}))}var Z=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function T(e){return e&&"string"==typeof e}function j(e,t,n,r){return[e,t,n,r].some((function(e){return void 0!==e}))}function F(e,t,n,r,i){var o=t,a=n,s=r;if(e||o||a||s||i){if(e){var l,c,u,d=[o,a,s].some((function(e){return!1===e})),h=[o,a,s].some((function(e){return!0===e})),f=!!d||!h;o=null!==(l=o)&&void 0!==l?l:f,a=null!==(c=a)&&void 0!==c?c:f,s=null!==(u=s)&&void 0!==u?u:f}}else o=!0,a=!0,s=!0;return[o,a,s,i]}function I(e){var t=e.showTime,n=function(e){var t=k(e,Z),n=e.format,r=e.picker,i=null;return n&&(i=n,Array.isArray(i)&&(i=i[0]),i="object"===(0,B.Z)(i)?i.format:i),"time"===r&&(t.format=i),[t,i]}(e),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=t&&"object"===(0,B.Z)(t)?t:{},c=(0,o.Z)((0,o.Z)({defaultOpenValue:l.defaultOpenValue||l.defaultValue},i),l),u=c.showMillisecond,d=c.showHour,h=c.showMinute,f=c.showSecond,p=F(j(d,h,f,u),d,h,f,u),m=(0,a.Z)(p,3);return d=m[0],h=m[1],f=m[2],[c,(0,o.Z)((0,o.Z)({},c),{},{showHour:d,showMinute:h,showSecond:f,showMillisecond:u}),c.format,s]}function W(e,t,n,r,i){if("datetime"===e||"time"===e){for(var s=r,l=A(e,i,null),c=[t,n],u=0;u<c.length;u+=1){var d=w(c[u])[0];if(T(d)){l=d;break}}var h=s.showHour,f=s.showMinute,p=s.showSecond,m=s.showMillisecond,v=D(l,["a","A","LT","LLL","LTS"],s.use12Hours),g=j(h,f,p,m);g||(h=D(l,["H","h","k","LT","LLL"]),f=D(l,["m","LT","LLL"]),p=D(l,["s","LTS"]),m=D(l,["SSS"]));var y=F(g,h,f,p,m),x=(0,a.Z)(y,3);h=x[0],f=x[1],p=x[2];var b=t||M(h,f,p,m,v);return(0,o.Z)((0,o.Z)({},s),{},{format:b,showHour:h,showMinute:f,showSecond:p,showMillisecond:m,use12Hours:v})}return null}function O(e,t,n){return!1===t?null:(t&&"object"===(0,B.Z)(t)?t:{}).clearIcon||n||h.createElement("span",{className:"".concat(e,"-clear-btn")})}function R(e,t,n){return!e&&!t||e===t||!(!e||!t)&&n()}function z(e,t,n){return R(t,n,(function(){return Math.floor(e.getYear(t)/10)===Math.floor(e.getYear(n)/10)}))}function H(e,t,n){return R(t,n,(function(){return e.getYear(t)===e.getYear(n)}))}function V(e,t){return Math.floor(e.getMonth(t)/3)+1}function K(e,t,n){return R(t,n,(function(){return H(e,t,n)&&e.getMonth(t)===e.getMonth(n)}))}function Y(e,t,n){return R(t,n,(function(){return H(e,t,n)&&K(e,t,n)&&e.getDate(t)===e.getDate(n)}))}function G(e,t,n){return R(t,n,(function(){return e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}))}function U(e,t,n){return R(t,n,(function(){return Y(e,t,n)&&G(e,t,n)&&e.getMillisecond(t)===e.getMillisecond(n)}))}function X(e,t,n,r){return R(n,r,(function(){var i=e.locale.getWeekFirstDate(t,n),o=e.locale.getWeekFirstDate(t,r);return H(e,i,o)&&e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}))}function Q(e,t,n,r,i){switch(i){case"date":return Y(e,n,r);case"week":return X(e,t.locale,n,r);case"month":return K(e,n,r);case"quarter":return function(e,t,n){return R(t,n,(function(){return H(e,t,n)&&V(e,t)===V(e,n)}))}(e,n,r);case"year":return H(e,n,r);case"decade":return z(e,n,r);case"time":return G(e,n,r);default:return U(e,n,r)}}function J(e,t,n,r){return!!(t&&n&&r)&&(e.isAfter(r,t)&&e.isAfter(n,r))}function q(e,t,n,r,i){return!!Q(e,t,n,r,i)||e.isAfter(n,r)}function _(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?"function"==typeof i?i(e):n.locale.format(r.locale,e,i):""}function $(e,t,n){var r=t,i=["getHour","getMinute","getSecond","getMillisecond"];return["setHour","setMinute","setSecond","setMillisecond"].forEach((function(t,o){r=n?e[t](r,e[i[o]](n)):e[t](r,0)})),r}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=h.useMemo((function(){var n=e?w(e):e;return t&&n&&(n[1]=n[1]||n[0]),n}),[e,t]);return n}function te(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,l=void 0===i?"date":i,c=e.prefixCls,u=void 0===c?"rc-picker":c,d=e.styles,f=void 0===d?{}:d,p=e.classNames,m=void 0===p?{}:p,v=e.order,g=void 0===v||v,y=e.components,x=void 0===y?{}:y,b=e.inputRender,C=e.allowClear,k=e.clearIcon,S=e.needConfirm,E=e.multiple,L=e.format,N=e.inputReadOnly,M=e.disabledDate,D=e.minDate,Z=e.maxDate,T=e.showTime,j=e.value,F=e.defaultValue,R=e.pickerValue,z=e.defaultPickerValue,H=ee(j),V=ee(F),K=ee(R),Y=ee(z),G="date"===l&&T?"datetime":l,U="time"===G||"datetime"===G,X=U||E,J=null!=S?S:U,q=I(e),_=(0,a.Z)(q,4),$=_[0],te=_[1],ne=_[2],re=_[3],ie=P(r,te),oe=h.useMemo((function(){return W(G,ne,re,$,ie)}),[G,ne,re,$,ie]);var ae=h.useMemo((function(){return(0,o.Z)((0,o.Z)({},e),{},{prefixCls:u,locale:ie,picker:l,styles:f,classNames:m,order:g,components:(0,o.Z)({input:b},x),clearIcon:O(u,C,k),showTime:oe,value:H,defaultValue:V,pickerValue:K,defaultPickerValue:Y},null==t?void 0:t())}),[e]),se=function(e,t,n){return h.useMemo((function(){var r=w(A(e,t,n)),i=r[0],o="object"===(0,B.Z)(i)&&"mask"===i.type?i.format:null;return[r.map((function(e){return"string"==typeof e||"function"==typeof e?e:e.format})),o]}),[e,t,n])}(G,ie,L),le=(0,a.Z)(se,2),ce=le[0],ue=le[1],de=function(e,t,n){return!("function"!=typeof e[0]&&!n)||t}(ce,N,E),he=function(e,t,n,r,i){return(0,s.zX)((function(o,a){return!(!n||!n(o,a))||!(!r||!e.isAfter(r,o)||Q(e,t,r,o,a.type))||!(!i||!e.isAfter(o,i)||Q(e,t,i,o,a.type))}))}(n,r,M,D,Z),fe=function(e,t,n,r){return(0,s.zX)((function(i,a){var s=(0,o.Z)({type:t},a);if(delete s.activeIndex,!e.isValidate(i)||n&&n(i,s))return!0;if(("date"===t||"time"===t)&&r){var l,c=a&&1===a.activeIndex?"end":"start",u=(null===(l=r.disabledTime)||void 0===l?void 0:l.call(r,i,c,{from:s.from}))||{},d=u.disabledHours,h=u.disabledMinutes,f=u.disabledSeconds,p=u.disabledMilliseconds,m=r.disabledHours,v=r.disabledMinutes,g=r.disabledSeconds,y=d||m,x=h||v,b=f||g,w=e.getHour(i),C=e.getMinute(i),k=e.getSecond(i),A=e.getMillisecond(i);if(y&&y().includes(w))return!0;if(x&&x(w).includes(C))return!0;if(b&&b(w,C).includes(k))return!0;if(p&&p(w,C,k).includes(A))return!0}return!1}))}(n,l,he,oe);return[h.useMemo((function(){return(0,o.Z)((0,o.Z)({},ae),{},{needConfirm:J,inputReadOnly:de,disabledDate:he})}),[ae,J,de,he]),G,X,ce,ue,fe]}var ne=n(16089);function re(e,t,n){var r=(0,s.C8)(t,{value:e}),i=(0,a.Z)(r,2),o=i[0],l=i[1],c=h.useRef(e),u=h.useRef(),d=function(){ne.Z.cancel(u.current)},f=(0,s.zX)((function(){l(c.current),n&&o!==c.current&&n(c.current)})),p=(0,s.zX)((function(e,t){d(),c.current=e,e||t?f():u.current=(0,ne.Z)(f)}));return h.useEffect((function(){return d}),[]),[o,p]}function ie(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=!n.every((function(e){return e}))&&e,o=re(i,t||!1,r),s=(0,a.Z)(o,2),l=s[0],c=s[1];function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.inherit&&!l||c(e,t.force)}return[l,u]}function oe(e){var t=h.useRef();return h.useImperativeHandle(e,(function(){var e;return{nativeElement:null===(e=t.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var n;null===(n=t.current)||void 0===n||n.focus(e)},blur:function(){var e;null===(e=t.current)||void 0===e||e.blur()}}})),t}function ae(e,t){return h.useMemo((function(){return e||(t?((0,d.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map((function(e){var t=(0,a.Z)(e,2);return{label:t[0],value:t[1]}}))):[])}),[e,t])}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=h.useRef(t);r.current=t,(0,l.o)((function(){if(!e){var t=(0,ne.Z)((function(){r.current(e)}),n);return function(){ne.Z.cancel(t)}}r.current(e)}),[e])}function le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h.useState(0),i=(0,a.Z)(r,2),o=i[0],s=i[1],l=h.useState(!1),c=(0,a.Z)(l,2),u=c[0],d=c[1],f=h.useRef([]),p=h.useRef(null),m=h.useRef(null),v=function(e){p.current=e},g=function(e){return p.current===e},y=function(e){d(e)},x=function(e){return e&&(m.current=e),m.current},b=function(n){var r=f.current,i=new Set(r.filter((function(e){return n[e]||t[e]}))),o=0===r[r.length-1]?1:0;return i.size>=2||e[o]?null:o};return se(u||n,(function(){u||(f.current=[],v(null))})),h.useEffect((function(){u&&f.current.push(o)}),[u,o]),[u,y,x,o,s,b,f.current,v,g]}function ce(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,10*r);case"decade":return e.addYear(n,100*r);default:return n}}var ue=[];function de(e,t,n,r,i,o,c,u){var d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ue,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:ue,p=arguments.length>10&&void 0!==arguments[10]?arguments[10]:ue,m=arguments.length>11?arguments[11]:void 0,v=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,y="time"===c,x=o||0,b=function(t){var r=e.getNow();return y&&(r=$(e,r)),d[t]||n[t]||r},w=(0,a.Z)(f,2),C=w[0],k=w[1],A=(0,s.C8)((function(){return b(0)}),{value:C}),S=(0,a.Z)(A,2),E=S[0],L=S[1],N=(0,s.C8)((function(){return b(1)}),{value:k}),M=(0,a.Z)(N,2),P=M[0],B=M[1],D=h.useMemo((function(){var t=[E,P][x];return y?t:$(e,t,p[x])}),[y,E,P,x,e,p]),Z=function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel",o=[L,B][x];o(n);var a=[E,P];a[x]=n,!m||Q(e,t,E,a[0],c)&&Q(e,t,P,a[1],c)||m(a,{source:i,range:1===x?"end":"start",mode:r})},T=function(n,r){if(u){var i={date:"month",week:"month",month:"year",quarter:"year"}[c];if(i&&!Q(e,t,n,r,i))return ce(e,c,r,-1);if("year"===c&&n)if(Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return ce(e,c,r,-1)}return r},j=h.useRef(null);return(0,l.Z)((function(){if(i&&!d[x]){var t=y?null:e.getNow();if(null!==j.current&&j.current!==x?t=[E,P][1^x]:n[x]?t=0===x?n[0]:T(n[0],n[1]):n[1^x]&&(t=n[1^x]),t){v&&e.isAfter(v,t)&&(t=v);var r=u?ce(e,c,t,1):t;g&&e.isAfter(r,g)&&(t=u?ce(e,c,g,-1):g),Z(t,"reset")}}}),[i,x,n[x]]),h.useEffect((function(){j.current=i?x:null}),[i,x]),(0,l.Z)((function(){i&&d&&d[x]&&Z(d[x],"reset")}),[i,x]),[D,Z]}function he(e,t){var n=h.useRef(e),r=h.useState({}),i=(0,a.Z)(r,2)[1],o=function(e){return e&&void 0!==t?t:n.current};return[o,function(e){n.current=e,i({})},o(!0)]}var fe=[];function pe(e,t,n){return[function(r){return r.map((function(r){return _(r,{generateConfig:e,locale:t,format:n[0]})}))},function(t,n){for(var r=Math.max(t.length,n.length),i=-1,o=0;o<r;o+=1){var a=t[o]||null,s=n[o]||null;if(a!==s&&!U(e,a,s)){i=o;break}}return[i<0,0!==i]}]}function me(e,t){return(0,i.Z)(e).sort((function(e,n){return t.isAfter(e,n)?1:-1}))}function ve(e,t,n,r,o,l,c,u,d){var f=(0,s.C8)(l,{value:c}),p=(0,a.Z)(f,2),m=p[0],v=p[1],g=m||fe,y=function(e){var t=he(e),n=(0,a.Z)(t,2),r=n[0],i=n[1],o=(0,s.zX)((function(){i(e)}));return h.useEffect((function(){o()}),[e]),[r,i]}(g),x=(0,a.Z)(y,2),b=x[0],w=x[1],C=pe(e,t,n),k=(0,a.Z)(C,2),A=k[0],S=k[1],E=(0,s.zX)((function(t){var n=(0,i.Z)(t);if(r)for(var s=0;s<2;s+=1)n[s]=n[s]||null;else o&&(n=me(n.filter((function(e){return e})),e));var l=S(b(),n),c=(0,a.Z)(l,2),d=c[0],h=c[1];if(!d&&(w(n),u)){var f=A(n);u(n,f,{range:h?"end":"start"})}}));return[g,v,b,E,function(){d&&d(b())}]}function ge(e,t,n,r,o,l,c,u,d,f){var p=e.generateConfig,m=e.locale,v=e.picker,g=e.onChange,y=e.allowEmpty,x=e.order,b=!l.some((function(e){return e}))&&x,w=pe(p,m,c),k=(0,a.Z)(w,2),A=k[0],S=k[1],E=he(t),L=(0,a.Z)(E,2),N=L[0],M=L[1],P=(0,s.zX)((function(){M(t)}));h.useEffect((function(){P()}),[t]);var B=(0,s.zX)((function(e){var r=null===e,s=(0,i.Z)(e||N());if(r)for(var c=Math.max(l.length,s.length),u=0;u<c;u+=1)l[u]||(s[u]=null);b&&s[0]&&s[1]&&(s=me(s,p)),o(s);var d=s,h=(0,a.Z)(d,2),w=h[0],C=h[1],k=!w,E=!C,L=!y||(!k||y[0])&&(!E||y[1]),M=!x||k||E||Q(p,m,w,C,v)||p.isAfter(C,w),P=(l[0]||!w||!f(w,{activeIndex:0}))&&(l[1]||!C||!f(C,{from:w,activeIndex:1})),B=r||L&&M&&P;if(B){n(s);var D=S(s,t),Z=(0,a.Z)(D,1)[0];g&&!Z&&g(r&&s.every((function(e){return!e}))?null:s,A(s))}return B})),D=(0,s.zX)((function(e,t){var n=C(N(),e,r()[e]);M(n),t&&B()})),Z=!u&&!d;return se(!Z,(function(){Z&&(B(),o(t),P())}),2),[D,B]}function ye(e,t,n,r,i){return("date"===t||"time"===t)&&(void 0!==n?n:void 0!==r?r:!i&&("date"===e||"time"===e))}var xe=n(29301);function be(e,t,n,r,o,a){var s=e;function l(e,t,n){var r=a[e](s),o=n.find((function(e){return e.value===r}));if(!o||o.disabled){var l=n.filter((function(e){return!e.disabled})),c=(0,i.Z)(l).reverse().find((function(e){return e.value<=r}))||l[0];c&&(r=c.value,s=a[t](s,r))}return r}var c=l("getHour","setHour",t()),u=l("getMinute","setMinute",n(c)),d=l("getSecond","setSecond",r(c,u));return l("getMillisecond","setMillisecond",o(c,u,d)),s}function we(){return[]}function Ce(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,a=[],s=n>=1?0|n:1,l=e;l<=t;l+=s){var c=i.includes(l);c&&r||a.push({label:b(l,o),value:l,disabled:c})}return a}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,s=r.hourStep,l=void 0===s?1:s,c=r.minuteStep,u=void 0===c?1:c,d=r.secondStep,f=void 0===d?1:d,p=r.millisecondStep,m=void 0===p?100:p,v=r.hideDisabledOptions,g=r.disabledTime,y=r.disabledHours,x=r.disabledMinutes,w=r.disabledSeconds,C=h.useMemo((function(){return n||e.getNow()}),[n,e]),k=h.useCallback((function(e){var t=(null==g?void 0:g(e))||{};return[t.disabledHours||y||we,t.disabledMinutes||x||we,t.disabledSeconds||w||we,t.disabledMilliseconds||we]}),[g,y,x,w]),A=h.useMemo((function(){return k(C)}),[C,k]),S=(0,a.Z)(A,4),E=S[0],L=S[1],N=S[2],M=S[3],P=h.useCallback((function(e,t,n,r){var a=Ce(0,23,l,v,e());return[i?a.map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{label:b(e.value%12||12,2)})})):a,function(e){return Ce(0,59,u,v,t(e))},function(e,t){return Ce(0,59,f,v,n(e,t))},function(e,t,n){return Ce(0,999,m,v,r(e,t,n),3)}]}),[v,l,i,m,u,f]),B=h.useMemo((function(){return P(E,L,N,M)}),[P,E,L,N,M]),D=(0,a.Z)(B,4),Z=D[0],T=D[1],j=D[2],F=D[3],I=function(t,n){var r=function(){return Z},i=T,o=j,s=F;if(n){var l=k(n),c=(0,a.Z)(l,4),u=c[0],d=c[1],h=c[2],f=c[3],p=P(u,d,h,f),m=(0,a.Z)(p,4),v=m[0];r=function(){return v},i=m[1],o=m[2],s=m[3]}return be(t,r,i,o,s,e)};return[I,Z,T,j,F]}function Ae(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,i=e.showNow,o=e.showTime,s=e.onSubmit,l=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,f=e.disabledDate,p=h.useContext(g),m=p.prefixCls,y=p.locale,x=p.button,b=void 0===x?"button":x,w=d.getNow(),C=ke(d,o,w),k=(0,a.Z)(C,1)[0],A=null==r?void 0:r(t),S=f(w,{type:t}),E="".concat(m,"-now"),L="".concat(E,"-btn"),N=i&&h.createElement("li",{className:E},h.createElement("a",{className:v()(L,S&&"".concat(L,"-disabled")),"aria-disabled":S,onClick:function(){if(!S){var e=k(w);l(e)}}},"date"===n?y.today:y.now)),M=u&&h.createElement("li",{className:"".concat(m,"-ok")},h.createElement(b,{disabled:c,onClick:s},y.ok)),P=(N||M)&&h.createElement("ul",{className:"".concat(m,"-ranges")},N,M);return A||P?h.createElement("div",{className:"".concat(m,"-footer")},A&&h.createElement("div",{className:"".concat(m,"-footer-extra")},A),P):null}function Se(e,t,n){return function(r,o){var a=r.findIndex((function(r){return Q(e,t,r,o,n)}));if(-1===a)return[].concat((0,i.Z)(r),[o]);var s=(0,i.Z)(r);return s.splice(a,1),s}}var Ee=h.createContext(null);function Le(){return h.useContext(Ee)}function Ne(e,t){var n=e.prefixCls,r=e.generateConfig,i=e.locale,o=e.disabledDate,a=e.minDate,s=e.maxDate,l=e.cellRender,c=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,h=e.values,f=e.pickerValue,p=e.onSelect,m=e.prevIcon,v=e.nextIcon,g=e.superPrevIcon,y=e.superNextIcon,x=r.getNow();return[{now:x,values:h,pickerValue:f,prefixCls:n,disabledDate:o,minDate:a,maxDate:s,cellRender:l,hoverValue:c,hoverRangeValue:u,onHover:d,locale:i,generateConfig:r,onSelect:p,panelType:t,prevIcon:m,nextIcon:v,superPrevIcon:g,superNextIcon:y},x]}var Me=h.createContext({});function Pe(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,i=e.getCellDate,s=e.prefixColumn,l=e.rowClassName,c=e.titleFormat,u=e.getCellText,d=e.getCellClassName,p=e.headerCells,m=e.cellSelection,g=void 0===m||m,y=e.disabledDate,x=Le(),b=x.prefixCls,w=x.panelType,C=x.now,k=x.disabledDate,A=x.cellRender,S=x.onHover,E=x.hoverValue,L=x.hoverRangeValue,N=x.generateConfig,M=x.values,P=x.locale,B=x.onSelect,D=y||k,Z="".concat(b,"-cell"),T=h.useContext(Me).onCellDblClick,j=[],F=0;F<t;F+=1){for(var I=[],W=void 0,O=function(){var e=i(r,F*n+R),t=null==D?void 0:D(e,{type:w});0===R&&(W=e,s&&I.push(s(W)));var l=!1,p=!1,m=!1;if(g&&L){var y=(0,a.Z)(L,2),x=y[0],k=y[1];l=J(N,x,k,e),p=Q(N,P,e,x,w),m=Q(N,P,e,k,w)}var j,O=c?_(e,{locale:P,format:c,generateConfig:N}):void 0,z=h.createElement("div",{className:"".concat(Z,"-inner")},u(e));I.push(h.createElement("td",{key:R,title:O,className:v()(Z,(0,o.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(Z,"-disabled"),t),"".concat(Z,"-hover"),(E||[]).some((function(t){return Q(N,P,e,t,w)}))),"".concat(Z,"-in-range"),l&&!p&&!m),"".concat(Z,"-range-start"),p),"".concat(Z,"-range-end"),m),"".concat(b,"-cell-selected"),!L&&"week"!==w&&(j=e,M.some((function(e){return e&&Q(N,P,j,e,w)})))),d(e))),onClick:function(){t||B(e)},onDoubleClick:function(){!t&&T&&T()},onMouseEnter:function(){t||null==S||S(e)},onMouseLeave:function(){t||null==S||S(null)}},A?A(e,{prefixCls:b,originNode:z,today:C,type:w,locale:P}):z))},R=0;R<n;R+=1)O();j.push(h.createElement("tr",{key:F,className:null==l?void 0:l(W)},I))}return h.createElement("div",{className:"".concat(b,"-body")},h.createElement("table",{className:"".concat(b,"-content")},p&&h.createElement("thead",null,h.createElement("tr",null,p)),h.createElement("tbody",null,j)))}var Be={visibility:"hidden"};var De=function(e){var t=e.offset,n=e.superOffset,r=e.onChange,i=e.getStart,o=e.getEnd,a=e.children,s=Le(),l=s.prefixCls,c=s.prevIcon,u=void 0===c?"‹":c,d=s.nextIcon,f=void 0===d?"›":d,p=s.superPrevIcon,m=void 0===p?"«":p,g=s.superNextIcon,y=void 0===g?"»":g,x=s.minDate,b=s.maxDate,w=s.generateConfig,C=s.locale,k=s.pickerValue,A=s.panelType,S="".concat(l,"-header"),E=h.useContext(Me),L=E.hidePrev,N=E.hideNext,M=E.hideHeader,P=h.useMemo((function(){if(!x||!t||!o)return!1;var e=o(t(-1,k));return!q(w,C,e,x,A)}),[x,t,k,o,w,C,A]),B=h.useMemo((function(){if(!x||!n||!o)return!1;var e=o(n(-1,k));return!q(w,C,e,x,A)}),[x,n,k,o,w,C,A]),D=h.useMemo((function(){if(!b||!t||!i)return!1;var e=i(t(1,k));return!q(w,C,b,e,A)}),[b,t,k,i,w,C,A]),Z=h.useMemo((function(){if(!b||!n||!i)return!1;var e=i(n(1,k));return!q(w,C,b,e,A)}),[b,n,k,i,w,C,A]),T=function(e){t&&r(t(e,k))},j=function(e){n&&r(n(e,k))};if(M)return null;var F="".concat(S,"-prev-btn"),I="".concat(S,"-next-btn"),W="".concat(S,"-super-prev-btn"),O="".concat(S,"-super-next-btn");return h.createElement("div",{className:S},n&&h.createElement("button",{type:"button","aria-label":C.previousYear,onClick:function(){return j(-1)},tabIndex:-1,className:v()(W,B&&"".concat(W,"-disabled")),disabled:B,style:L?Be:{}},m),t&&h.createElement("button",{type:"button","aria-label":C.previousMonth,onClick:function(){return T(-1)},tabIndex:-1,className:v()(F,P&&"".concat(F,"-disabled")),disabled:P,style:L?Be:{}},u),h.createElement("div",{className:"".concat(S,"-view")},a),t&&h.createElement("button",{type:"button","aria-label":C.nextMonth,onClick:function(){return T(1)},tabIndex:-1,className:v()(I,D&&"".concat(I,"-disabled")),disabled:D,style:N?Be:{}},f),n&&h.createElement("button",{type:"button","aria-label":C.nextYear,onClick:function(){return j(1)},tabIndex:-1,className:v()(O,Z&&"".concat(O,"-disabled")),disabled:Z,style:N?Be:{}},y))};function Ze(e){var t=e.prefixCls,n=e.panelName,i=void 0===n?"date":n,o=e.locale,s=e.generateConfig,l=e.pickerValue,c=e.onPickerValueChange,u=e.onModeChange,d=e.mode,p=void 0===d?"date":d,m=e.disabledDate,g=e.onSelect,y=e.onHover,x=e.showWeek,b="".concat(t,"-").concat(i,"-panel"),w="".concat(t,"-cell"),C="week"===p,k=Ne(e,p),A=(0,a.Z)(k,2),S=A[0],E=A[1],L=s.locale.getWeekFirstDay(o.locale),N=s.setDate(l,1),M=function(e,t,n){var r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i),a=t.addDate(i,r-o);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}(o.locale,s,N),P=s.getMonth(l),B=(void 0===x?C:x)?function(e){var t=null==m?void 0:m(e,{type:"week"});return h.createElement("td",{key:"week",className:v()(w,"".concat(w,"-week"),(0,f.Z)({},"".concat(w,"-disabled"),t)),onClick:function(){t||g(e)},onMouseEnter:function(){t||null==y||y(e)},onMouseLeave:function(){t||null==y||y(null)}},h.createElement("div",{className:"".concat(w,"-inner")},s.locale.getWeek(o.locale,e)))}:null,D=[],Z=o.shortWeekDays||(s.locale.getShortWeekDays?s.locale.getShortWeekDays(o.locale):[]);B&&D.push(h.createElement("th",{key:"empty"},h.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},o.week)));for(var T=0;T<7;T+=1)D.push(h.createElement("th",{key:T},Z[(T+L)%7]));var j=o.shortMonths||(s.locale.getShortMonths?s.locale.getShortMonths(o.locale):[]),F=h.createElement("button",{type:"button","aria-label":o.yearSelect,key:"year",onClick:function(){u("year",l)},tabIndex:-1,className:"".concat(t,"-year-btn")},_(l,{locale:o,format:o.yearFormat,generateConfig:s})),I=h.createElement("button",{type:"button","aria-label":o.monthSelect,key:"month",onClick:function(){u("month",l)},tabIndex:-1,className:"".concat(t,"-month-btn")},o.monthFormat?_(l,{locale:o,format:o.monthFormat,generateConfig:s}):j[P]),W=o.monthBeforeYear?[I,F]:[F,I];return h.createElement(Ee.Provider,{value:S},h.createElement("div",{className:v()(b,x&&"".concat(b,"-show-week"))},h.createElement(De,{offset:function(e){return s.addMonth(l,e)},superOffset:function(e){return s.addYear(l,e)},onChange:c,getStart:function(e){return s.setDate(e,1)},getEnd:function(e){var t=s.setDate(e,1);return t=s.addMonth(t,1),s.addDate(t,-1)}},W),h.createElement(Pe,(0,r.Z)({titleFormat:o.fieldDateFormat},e,{colNum:7,rowNum:6,baseDate:M,headerCells:D,getCellDate:function(e,t){return s.addDate(e,t)},getCellText:function(e){return _(e,{locale:o,format:o.cellDateFormat,generateConfig:s})},getCellClassName:function(e){return(0,f.Z)((0,f.Z)({},"".concat(t,"-cell-in-view"),K(s,e,l)),"".concat(t,"-cell-today"),Y(s,e,E))},prefixColumn:B,cellSelection:!C}))))}var Te=n(29194);function je(e){return e.map((function(e){return[e.value,e.label,e.disabled].join(",")})).join(";")}function Fe(e){var t=e.units,n=e.value,r=e.optionalValue,o=e.type,c=e.onChange,u=e.onHover,d=e.onDblClick,p=e.changeOnScroll,m=Le(),g=m.prefixCls,y=m.cellRender,x=m.now,b=m.locale,w="".concat(g,"-time-panel"),C="".concat(g,"-time-panel-cell"),k=h.useRef(null),A=h.useRef(),S=function(){clearTimeout(A.current)},E=function(e,t){var n=h.useRef(!1),r=h.useRef(null),i=h.useRef(null),o=function(){ne.Z.cancel(r.current),n.current=!1},a=h.useRef();return[(0,s.zX)((function(){var s=e.current;if(i.current=null,a.current=0,s){var l=s.querySelector('[data-value="'.concat(t,'"]')),c=s.querySelector("li");l&&c&&function e(){o(),n.current=!0,a.current+=1;var t=s.scrollTop,u=c.offsetTop,d=l.offsetTop,h=d-u;if(0===d&&l!==c||!(0,Te.Z)(s))a.current<=5&&(r.current=(0,ne.Z)(e));else{var f=t+.3333333333333333*(h-t),p=Math.abs(h-f);if(null!==i.current&&i.current<p)o();else{if(i.current=p,p<=1)return s.scrollTop=h,void o();s.scrollTop=f,r.current=(0,ne.Z)(e)}}}()}})),o,function(){return n.current}]}(k,null!=n?n:r),L=(0,a.Z)(E,3),N=L[0],M=L[1],P=L[2];(0,l.Z)((function(){return N(),S(),function(){M(),S()}}),[n,r,je(t)]);var B="".concat(w,"-column");return h.createElement("ul",{className:B,ref:k,"data-type":o,onScroll:function(e){S();var n=e.target;!P()&&p&&(A.current=setTimeout((function(){var e=k.current,r=e.querySelector("li").offsetTop,o=Array.from(e.querySelectorAll("li")).map((function(e){return e.offsetTop-r})).map((function(e,r){return t[r].disabled?Number.MAX_SAFE_INTEGER:Math.abs(e-n.scrollTop)})),a=Math.min.apply(Math,(0,i.Z)(o)),s=o.findIndex((function(e){return e===a})),l=t[s];l&&!l.disabled&&c(l.value)}),300))}},t.map((function(e){var t=e.label,r=e.value,i=e.disabled,a=h.createElement("div",{className:"".concat(C,"-inner")},t);return h.createElement("li",{key:r,className:v()(C,(0,f.Z)((0,f.Z)({},"".concat(C,"-selected"),n===r),"".concat(C,"-disabled"),i)),onClick:function(){i||c(r)},onDoubleClick:function(){!i&&d&&d()},onMouseEnter:function(){u(r)},onMouseLeave:function(){u(null)},"data-value":r},y?y(r,{prefixCls:g,originNode:a,today:x,type:"time",subType:o,locale:b}):a)})))}function Ie(e){return e<12}function We(e){var t=e.showHour,n=e.showMinute,i=e.showSecond,o=e.showMillisecond,s=e.use12Hours,l=e.changeOnScroll,c=Le(),u=c.prefixCls,d=c.values,f=c.generateConfig,p=c.locale,m=c.onSelect,v=c.onHover,g=void 0===v?function(){}:v,y=c.pickerValue,x=(null==d?void 0:d[0])||null,b=h.useContext(Me).onCellDblClick,w=ke(f,e,x),C=(0,a.Z)(w,5),k=C[0],A=C[1],S=C[2],E=C[3],L=C[4],N=function(e){return[x&&f[e](x),y&&f[e](y)]},M=N("getHour"),P=(0,a.Z)(M,2),B=P[0],D=P[1],Z=N("getMinute"),T=(0,a.Z)(Z,2),j=T[0],F=T[1],I=N("getSecond"),W=(0,a.Z)(I,2),O=W[0],R=W[1],z=N("getMillisecond"),H=(0,a.Z)(z,2),V=H[0],K=H[1],Y=null===B?null:Ie(B)?"am":"pm",G=h.useMemo((function(){return s?Ie(B)?A.filter((function(e){return Ie(e.value)})):A.filter((function(e){return!Ie(e.value)})):A}),[B,A,s]),U=function(e,t){var n,r=e.filter((function(e){return!e.disabled}));return null!=t?t:null==r||null===(n=r[0])||void 0===n?void 0:n.value},X=U(A,B),Q=h.useMemo((function(){return S(X)}),[S,X]),J=U(Q,j),q=h.useMemo((function(){return E(X,J)}),[E,X,J]),$=U(q,O),ee=h.useMemo((function(){return L(X,J,$)}),[L,X,J,$]),te=U(ee,V),ne=h.useMemo((function(){if(!s)return[];var e=f.getNow(),t=f.setHour(e,6),n=f.setHour(e,18),r=function(e,t){var n=p.cellMeridiemFormat;return n?_(e,{generateConfig:f,locale:p,format:n}):t};return[{label:r(t,"AM"),value:"am",disabled:A.every((function(e){return e.disabled||!Ie(e.value)}))},{label:r(n,"PM"),value:"pm",disabled:A.every((function(e){return e.disabled||Ie(e.value)}))}]}),[A,s,f,p]),re=function(e){var t=k(e);m(t)},ie=h.useMemo((function(){var e=x||y||f.getNow(),t=function(e){return null!=e};return t(B)?(e=f.setHour(e,B),e=f.setMinute(e,j),e=f.setSecond(e,O),e=f.setMillisecond(e,V)):t(D)?(e=f.setHour(e,D),e=f.setMinute(e,F),e=f.setSecond(e,R),e=f.setMillisecond(e,K)):t(X)&&(e=f.setHour(e,X),e=f.setMinute(e,J),e=f.setSecond(e,$),e=f.setMillisecond(e,te)),e}),[x,y,B,j,O,V,X,J,$,te,D,F,R,K,f]),oe=function(e,t){return null===e?null:f[t](ie,e)},ae=function(e){return oe(e,"setHour")},se=function(e){return oe(e,"setMinute")},le=function(e){return oe(e,"setSecond")},ce=function(e){return oe(e,"setMillisecond")},ue=function(e){return null===e?null:"am"!==e||Ie(B)?"pm"===e&&Ie(B)?f.setHour(ie,B+12):ie:f.setHour(ie,B-12)},de={onDblClick:b,changeOnScroll:l};return h.createElement("div",{className:"".concat(u,"-content")},t&&h.createElement(Fe,(0,r.Z)({units:G,value:B,optionalValue:D,type:"hour",onChange:function(e){re(ae(e))},onHover:function(e){g(ae(e))}},de)),n&&h.createElement(Fe,(0,r.Z)({units:Q,value:j,optionalValue:F,type:"minute",onChange:function(e){re(se(e))},onHover:function(e){g(se(e))}},de)),i&&h.createElement(Fe,(0,r.Z)({units:q,value:O,optionalValue:R,type:"second",onChange:function(e){re(le(e))},onHover:function(e){g(le(e))}},de)),o&&h.createElement(Fe,(0,r.Z)({units:ee,value:V,optionalValue:K,type:"millisecond",onChange:function(e){re(ce(e))},onHover:function(e){g(ce(e))}},de)),s&&h.createElement(Fe,(0,r.Z)({units:ne,value:Y,type:"meridiem",onChange:function(e){re(ue(e))},onHover:function(e){g(ue(e))}},de)))}function Oe(e){var t=e.prefixCls,n=e.value,r=e.locale,i=e.generateConfig,o=e.showTime,s=(o||{}).format,l="".concat(t,"-time-panel"),c=Ne(e,"time"),u=(0,a.Z)(c,1)[0];return h.createElement(Ee.Provider,{value:u},h.createElement("div",{className:v()(l)},h.createElement(De,null,n?_(n,{locale:r,format:s,generateConfig:i}):" "),h.createElement(We,o)))}var Re={date:Ze,datetime:function(e){var t=e.prefixCls,n=e.generateConfig,i=e.showTime,o=e.onSelect,s=e.value,l=e.pickerValue,c=e.onHover,u="".concat(t,"-datetime-panel"),d=ke(n,i),f=(0,a.Z)(d,1)[0],p=function(e){return $(n,e,s||l)};return h.createElement("div",{className:u},h.createElement(Ze,(0,r.Z)({},e,{onSelect:function(e){var t=p(e);o(f(t,t))},onHover:function(e){null==c||c(e?p(e):e)}})),h.createElement(Oe,e))},week:function(e){var t=e.prefixCls,n=e.generateConfig,i=e.locale,o=e.value,s=e.hoverValue,l=e.hoverRangeValue,c=i.locale,u="".concat(t,"-week-panel-row");return h.createElement(Ze,(0,r.Z)({},e,{mode:"week",panelName:"week",rowClassName:function(e){var t={};if(l){var r=(0,a.Z)(l,2),i=r[0],d=r[1],h=X(n,c,i,e),p=X(n,c,d,e);t["".concat(u,"-range-start")]=h,t["".concat(u,"-range-end")]=p,t["".concat(u,"-range-hover")]=!h&&!p&&J(n,i,d,e)}return s&&(t["".concat(u,"-hover")]=s.some((function(t){return X(n,c,e,t)}))),v()(u,(0,f.Z)({},"".concat(u,"-selected"),!l&&X(n,c,o,e)),t)}}))},month:function(e){var t=e.prefixCls,n=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,l=e.onPickerValueChange,c=e.onModeChange,u="".concat(t,"-month-panel"),d=Ne(e,"month"),p=(0,a.Z)(d,1)[0],m=i.setMonth(o,0),v=n.shortMonths||(i.locale.getShortMonths?i.locale.getShortMonths(n.locale):[]),g=s?function(e,t){var n=i.setDate(e,1),r=i.setMonth(n,i.getMonth(n)+1),o=i.addDate(r,-1);return s(n,t)&&s(o,t)}:null,y=h.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){c("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},_(o,{locale:n,format:n.yearFormat,generateConfig:i}));return h.createElement(Ee.Provider,{value:p},h.createElement("div",{className:u},h.createElement(De,{superOffset:function(e){return i.addYear(o,e)},onChange:l,getStart:function(e){return i.setMonth(e,0)},getEnd:function(e){return i.setMonth(e,11)}},y),h.createElement(Pe,(0,r.Z)({},e,{disabledDate:g,titleFormat:n.fieldMonthFormat,colNum:3,rowNum:4,baseDate:m,getCellDate:function(e,t){return i.addMonth(e,t)},getCellText:function(e){var t=i.getMonth(e);return n.monthFormat?_(e,{locale:n,format:n.monthFormat,generateConfig:i}):v[t]},getCellClassName:function(){return(0,f.Z)({},"".concat(t,"-cell-in-view"),!0)}}))))},quarter:function(e){var t=e.prefixCls,n=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.onPickerValueChange,l=e.onModeChange,c="".concat(t,"-quarter-panel"),u=Ne(e,"quarter"),d=(0,a.Z)(u,1)[0],p=i.setMonth(o,0),m=h.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){l("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},_(o,{locale:n,format:n.yearFormat,generateConfig:i}));return h.createElement(Ee.Provider,{value:d},h.createElement("div",{className:c},h.createElement(De,{superOffset:function(e){return i.addYear(o,e)},onChange:s,getStart:function(e){return i.setMonth(e,0)},getEnd:function(e){return i.setMonth(e,11)}},m),h.createElement(Pe,(0,r.Z)({},e,{titleFormat:n.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:p,getCellDate:function(e,t){return i.addMonth(e,3*t)},getCellText:function(e){return _(e,{locale:n,format:n.cellQuarterFormat,generateConfig:i})},getCellClassName:function(){return(0,f.Z)({},"".concat(t,"-cell-in-view"),!0)}}))))},year:function(e){var t=e.prefixCls,n=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,l=e.onPickerValueChange,c=e.onModeChange,u="".concat(t,"-year-panel"),d=Ne(e,"year"),p=(0,a.Z)(d,1)[0],m=function(e){var t=10*Math.floor(i.getYear(e)/10);return i.setYear(e,t)},v=function(e){var t=m(e);return i.addYear(t,9)},g=m(o),y=v(o),x=i.addYear(g,-1),b=s?function(e,t){var n=i.setMonth(e,0),r=i.setDate(n,1),o=i.addYear(r,1),a=i.addDate(o,-1);return s(r,t)&&s(a,t)}:null,w=h.createElement("button",{type:"button",key:"decade","aria-label":n.decadeSelect,onClick:function(){c("decade")},tabIndex:-1,className:"".concat(t,"-decade-btn")},_(g,{locale:n,format:n.yearFormat,generateConfig:i}),"-",_(y,{locale:n,format:n.yearFormat,generateConfig:i}));return h.createElement(Ee.Provider,{value:p},h.createElement("div",{className:u},h.createElement(De,{superOffset:function(e){return i.addYear(o,10*e)},onChange:l,getStart:m,getEnd:v},w),h.createElement(Pe,(0,r.Z)({},e,{disabledDate:b,titleFormat:n.fieldYearFormat,colNum:3,rowNum:4,baseDate:x,getCellDate:function(e,t){return i.addYear(e,t)},getCellText:function(e){return _(e,{locale:n,format:n.cellYearFormat,generateConfig:i})},getCellClassName:function(e){return(0,f.Z)({},"".concat(t,"-cell-in-view"),H(i,e,g)||H(i,e,y)||J(i,g,y,e))}}))))},decade:function(e){var t=e.prefixCls,n=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,l=e.onPickerValueChange,c="".concat(t,"-decade-panel"),u=Ne(e,"decade"),d=(0,a.Z)(u,1)[0],p=function(e){var t=100*Math.floor(i.getYear(e)/100);return i.setYear(e,t)},m=function(e){var t=p(e);return i.addYear(t,99)},v=p(o),g=m(o),y=i.addYear(v,-10),x=s?function(e,t){var n=i.setDate(e,1),r=i.setMonth(n,0),o=i.setYear(r,10*Math.floor(i.getYear(r)/10)),a=i.addYear(o,10),l=i.addDate(a,-1);return s(o,t)&&s(l,t)}:null,b="".concat(_(v,{locale:n,format:n.yearFormat,generateConfig:i}),"-").concat(_(g,{locale:n,format:n.yearFormat,generateConfig:i}));return h.createElement(Ee.Provider,{value:d},h.createElement("div",{className:c},h.createElement(De,{superOffset:function(e){return i.addYear(o,100*e)},onChange:l,getStart:p,getEnd:m},b),h.createElement(Pe,(0,r.Z)({},e,{disabledDate:x,colNum:3,rowNum:4,baseDate:y,getCellDate:function(e,t){return i.addYear(e,10*t)},getCellText:function(e){var t=n.cellYearFormat,r=_(e,{locale:n,format:t,generateConfig:i}),o=_(i.addYear(e,9),{locale:n,format:t,generateConfig:i});return"".concat(r,"-").concat(o)},getCellClassName:function(e){return(0,f.Z)({},"".concat(t,"-cell-in-view"),z(i,e,v)||z(i,e,g)||J(i,v,g,e))}}))))},time:Oe};function ze(e,t){var n,l=e.locale,c=e.generateConfig,u=e.direction,d=e.prefixCls,p=e.tabIndex,m=void 0===p?0:p,y=e.multiple,x=e.defaultValue,b=e.value,C=e.onChange,A=e.onSelect,S=e.defaultPickerValue,E=e.pickerValue,N=e.onPickerValueChange,M=e.mode,B=e.onPanelChange,D=e.picker,Z=void 0===D?"date":D,T=e.showTime,j=e.hoverValue,F=e.hoverRangeValue,O=e.cellRender,R=e.dateRender,z=e.monthCellRender,H=e.components,V=void 0===H?{}:H,K=e.hideHeader,Y=(null===(n=h.useContext(g))||void 0===n?void 0:n.prefixCls)||d||"rc-picker",G=h.useRef();h.useImperativeHandle(t,(function(){return{nativeElement:G.current}}));var U=I(e),X=(0,a.Z)(U,4),J=X[0],q=X[1],_=X[2],$=X[3],ee=P(l,q),te="date"===Z&&T?"datetime":Z,ne=h.useMemo((function(){return W(te,_,$,J,ee)}),[te,_,$,J,ee]),re=c.getNow(),ie=(0,s.C8)(Z,{value:M,postState:function(e){return e||"date"}}),oe=(0,a.Z)(ie,2),ae=oe[0],se=oe[1],le="date"===ae&&ne?"datetime":ae,ce=Se(c,l,te),ue=(0,s.C8)(x,{value:b}),de=(0,a.Z)(ue,2),he=de[0],fe=de[1],pe=h.useMemo((function(){var e=w(he).filter((function(e){return e}));return y?e:e.slice(0,1)}),[he,y]),me=(0,s.zX)((function(e){fe(e),C&&(null===e||pe.length!==e.length||pe.some((function(t,n){return!Q(c,l,t,e[n],te)})))&&(null==C||C(y?e:e[0]))})),ve=(0,s.zX)((function(e){if(null==A||A(e),ae===Z){var t=y?ce(pe,e):[e];me(t)}})),ge=(0,s.C8)(S||pe[0]||re,{value:E}),ye=(0,a.Z)(ge,2),xe=ye[0],be=ye[1];h.useEffect((function(){pe[0]&&!E&&be(pe[0])}),[pe[0]]);var we=function(e,t){null==B||B(e||E,t||ae)},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];be(e),null==N||N(e),t&&we(e)},ke=function(e,t){se(e),t&&Ce(t),we(t,e)},Ae=h.useMemo((function(){var e,t;if(Array.isArray(F)){var n=(0,a.Z)(F,2);e=n[0],t=n[1]}else e=F;return e||t?(e=e||t,t=t||e,c.isAfter(e,t)?[t,e]:[e,t]):null}),[F,c]),Ee=L(O,R,z),Le=V[le]||Re[le]||Ze,Ne=h.useContext(Me),Pe=h.useMemo((function(){return(0,o.Z)((0,o.Z)({},Ne),{},{hideHeader:K})}),[Ne,K]);var Be="".concat(Y,"-panel"),De=k(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return h.createElement(Me.Provider,{value:Pe},h.createElement("div",{ref:G,tabIndex:m,className:v()(Be,(0,f.Z)({},"".concat(Be,"-rtl"),"rtl"===u))},h.createElement(Le,(0,r.Z)({},De,{showTime:ne,prefixCls:Y,locale:ee,generateConfig:c,onModeChange:ke,pickerValue:xe,onPickerValueChange:function(e){Ce(e,!0)},value:pe[0],onSelect:function(e){if(ve(e),Ce(e),ae!==Z){var t=["decade","year"],n=[].concat(t,["month"]),r={quarter:[].concat(t,["quarter"]),week:[].concat((0,i.Z)(n),["week"]),date:[].concat((0,i.Z)(n),["date"])}[Z]||n,o=r.indexOf(ae),a=r[o+1];a&&ke(a,e)}},values:pe,cellRender:Ee,hoverRangeValue:Ae,hoverValue:j}))))}var He=h.memo(h.forwardRef(ze));function Ve(e){var t=e.picker,n=e.multiplePanel,i=e.pickerValue,a=e.onPickerValueChange,s=e.needConfirm,l=e.onSubmit,c=e.range,u=e.hoverValue,d=h.useContext(g),f=d.prefixCls,p=d.generateConfig,m=h.useCallback((function(e,n){return ce(p,t,e,n)}),[p,t]),v=h.useMemo((function(){return m(i,1)}),[i,m]),y={onCellDblClick:function(){s&&l()}},x="time"===t,b=(0,o.Z)((0,o.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:x});return c?b.hoverRangeValue=u:b.hoverValue=u,n?h.createElement("div",{className:"".concat(f,"-panels")},h.createElement(Me.Provider,{value:(0,o.Z)((0,o.Z)({},y),{},{hideNext:!0})},h.createElement(He,b)),h.createElement(Me.Provider,{value:(0,o.Z)((0,o.Z)({},y),{},{hidePrev:!0})},h.createElement(He,(0,r.Z)({},b,{pickerValue:v,onPickerValueChange:function(e){a(m(e,-1))}})))):h.createElement(Me.Provider,{value:(0,o.Z)({},y)},h.createElement(He,b))}function Ke(e){return"function"==typeof e?e():e}function Ye(e){var t=e.prefixCls,n=e.presets,r=e.onClick,i=e.onHover;return n.length?h.createElement("div",{className:"".concat(t,"-presets")},h.createElement("ul",null,n.map((function(e,t){var n=e.label,o=e.value;return h.createElement("li",{key:t,onClick:function(){r(Ke(o))},onMouseEnter:function(){i(Ke(o))},onMouseLeave:function(){i(null)}},n)})))):null}function Ge(e){var t=e.panelRender,n=e.internalMode,i=e.picker,o=e.showNow,s=e.range,l=e.multiple,c=e.activeInfo,u=void 0===c?[0,0,0]:c,d=e.presets,p=e.onPresetHover,m=e.onPresetSubmit,y=e.onFocus,x=e.onBlur,b=e.onPanelMouseDown,C=e.direction,k=e.value,A=e.onSelect,S=e.isInvalid,E=e.defaultOpenValue,L=e.onOk,N=e.onSubmit,M=h.useContext(g).prefixCls,P="".concat(M,"-panel"),B="rtl"===C,D=h.useRef(null),Z=h.useRef(null),T=h.useState(0),j=(0,a.Z)(T,2),F=j[0],I=j[1],W=h.useState(0),O=(0,a.Z)(W,2),R=O[0],z=O[1],H=h.useState(0),V=(0,a.Z)(H,2),K=V[0],Y=V[1],G=(0,a.Z)(u,3),U=G[0],X=G[1],Q=G[2],J=h.useState(0),q=(0,a.Z)(J,2),_=q[0],$=q[1];function ee(e){return e.filter((function(e){return e}))}h.useEffect((function(){$(10)}),[U]),h.useEffect((function(){if(s&&Z.current){var e,t=(null===(e=D.current)||void 0===e?void 0:e.offsetWidth)||0,n=Z.current.getBoundingClientRect();if(!n.height||n.right<0)return void $((function(e){return Math.max(0,e-1)}));var r=(B?X-t:U)-n.left;if(Y(r),F&&F<Q){var i=B?n.right-(X-t+F):U+t-n.left-F,o=Math.max(0,i);z(o)}else z(0)}}),[_,B,F,U,X,Q,s]);var te=h.useMemo((function(){return ee(w(k))}),[k]),ne="time"===i&&!te.length,re=h.useMemo((function(){return ne?ee([E]):te}),[ne,te,E]),ie=ne?E:te,oe=h.useMemo((function(){return!re.length||re.some((function(e){return S(e)}))}),[re,S]),ae=h.createElement("div",{className:"".concat(M,"-panel-layout")},h.createElement(Ye,{prefixCls:M,presets:d,onClick:m,onHover:p}),h.createElement("div",null,h.createElement(Ve,(0,r.Z)({},e,{value:ie})),h.createElement(Ae,(0,r.Z)({},e,{showNow:!l&&o,invalid:oe,onSubmit:function(){ne&&A(E),L(),N()}}))));t&&(ae=t(ae));var se="".concat(P,"-container"),le="marginLeft",ce="marginRight",ue=h.createElement("div",{onMouseDown:b,tabIndex:-1,className:v()(se,"".concat(M,"-").concat(n,"-panel-container")),style:(0,f.Z)((0,f.Z)({},B?ce:le,R),B?le:ce,"auto"),onFocus:y,onBlur:x},ae);return s&&(ue=h.createElement("div",{onMouseDown:b,ref:Z,className:v()("".concat(M,"-range-wrapper"),"".concat(M,"-").concat(i,"-range-wrapper"))},h.createElement("div",{ref:D,className:"".concat(M,"-range-arrow"),style:{left:K}}),h.createElement(xe.Z,{onResize:function(e){e.width&&I(e.width)}},ue))),ue}var Ue=n(75931);function Xe(e,t){var n=e.format,r=e.maskFormat,i=e.generateConfig,a=e.locale,s=e.preserveInvalidOnBlur,l=e.inputReadOnly,c=e.required,d=e["aria-required"],f=e.onSubmit,p=e.onFocus,m=e.onBlur,v=e.onInputChange,g=e.onInvalid,y=e.open,x=e.onOpenChange,b=e.onKeyDown,w=e.onChange,C=e.activeHelp,k=e.name,A=e.autoComplete,S=e.id,E=e.value,L=e.invalid,N=e.placeholder,M=e.disabled,P=e.activeIndex,B=e.allHelp,D=e.picker,Z=function(e,t){var n=i.locale.parse(a.locale,e,[t]);return n&&i.isValidate(n)?n:null},T=n[0],j=h.useCallback((function(e){return _(e,{locale:a,format:T,generateConfig:i})}),[a,i,T]),F=h.useMemo((function(){return E.map(j)}),[E,j]),I=h.useMemo((function(){var e="time"===D?8:10,t="function"==typeof T?T(i.getNow()).length:T.length;return Math.max(e,t)+2}),[T,D,i]),W=function(e){for(var t=0;t<n.length;t+=1){var r=n[t];if("string"==typeof r){var i=Z(e,r);if(i)return i}}return!1};return[function(n){function i(e){return void 0!==n?e[n]:e}var a=(0,u.Z)(e,{aria:!0,data:!0}),h=(0,o.Z)((0,o.Z)({},a),{},{format:r,validateFormat:function(e){return!!W(e)},preserveInvalidOnBlur:s,readOnly:l,required:c,"aria-required":d,name:k,autoComplete:A,size:I,id:i(S),value:i(F)||"",invalid:i(L),placeholder:i(N),active:P===n,helped:B||C&&P===n,disabled:i(M),onFocus:function(e){p(e,n)},onBlur:function(e){m(e,n)},onSubmit:f,onChange:function(e){v();var t=W(e);if(t)return g(!1,n),void w(t,n);g(!!e,n)},onHelp:function(){x(!0,{index:n})},onKeyDown:function(e){var t=!1;if(null==b||b(e,(function(){t=!0})),!e.defaultPrevented&&!t)switch(e.key){case"Escape":x(!1,{index:n});break;case"Enter":y||x(!0)}}},null==t?void 0:t({valueTexts:F}));return Object.keys(h).forEach((function(e){void 0===h[e]&&delete h[e]})),h},j]}var Qe=["onMouseEnter","onMouseLeave"];function Je(e){return h.useMemo((function(){return k(e,Qe)}),[e])}var qe=["icon","type"],_e=["onClear"];function $e(e){var t=e.icon,n=e.type,i=(0,Ue.Z)(e,qe),o=h.useContext(g).prefixCls;return t?h.createElement("span",(0,r.Z)({className:"".concat(o,"-").concat(n)},i),t):null}function et(e){var t=e.onClear,n=(0,Ue.Z)(e,_e);return h.createElement($e,(0,r.Z)({},n,{type:"clear",role:"button",onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}var tt=n(67732),nt=n(83652),rt=["YYYY","MM","DD","HH","mm","ss","SSS"],it=function(){function e(t){(0,tt.Z)(this,e),(0,f.Z)(this,"format",void 0),(0,f.Z)(this,"maskFormat",void 0),(0,f.Z)(this,"cells",void 0),(0,f.Z)(this,"maskCells",void 0),this.format=t;var n=rt.map((function(e){return"(".concat(e,")")})).join("|"),r=new RegExp(n,"g");this.maskFormat=t.replace(r,(function(e){return"顧".repeat(e.length)}));var i=new RegExp("(".concat(rt.join("|"),")")),o=(t.split(i)||[]).filter((function(e){return e})),a=0;this.cells=o.map((function(e){var t=rt.includes(e),n=a,r=a+e.length;return a=r,{text:e,mask:t,start:n,end:r}})),this.maskCells=this.cells.filter((function(e){return e.mask}))}return(0,nt.Z)(e,[{key:"getSelection",value:function(e){var t=this.maskCells[e]||{};return[t.start||0,t.end||0]}},{key:"match",value:function(e){for(var t=0;t<this.maskFormat.length;t+=1){var n=this.maskFormat[t],r=e[t];if(!r||"顧"!==n&&n!==r)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(e){for(var t=Number.MAX_SAFE_INTEGER,n=0,r=0;r<this.maskCells.length;r+=1){var i=this.maskCells[r],o=i.start,a=i.end;if(e>=o&&e<=a)return r;var s=Math.min(Math.abs(e-o),Math.abs(e-a));s<t&&(t=s,n=r)}return n}}]),e}();var ot=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"];var at=h.forwardRef((function(e,t){var n=e.active,i=e.showActiveCls,o=void 0===i||i,c=e.suffixIcon,u=e.format,d=e.validateFormat,p=e.onChange,m=(e.onInput,e.helped),y=e.onHelp,x=e.onSubmit,w=e.onKeyDown,C=e.preserveInvalidOnBlur,k=void 0!==C&&C,A=e.invalid,S=e.clearIcon,E=(0,Ue.Z)(e,ot),L=e.value,N=e.onFocus,M=e.onBlur,P=e.onMouseUp,B=h.useContext(g),D=B.prefixCls,Z=B.input,T=void 0===Z?"input":Z,j="".concat(D,"-input"),F=h.useState(!1),I=(0,a.Z)(F,2),W=I[0],O=I[1],R=h.useState(L),z=(0,a.Z)(R,2),H=z[0],V=z[1],K=h.useState(""),Y=(0,a.Z)(K,2),G=Y[0],U=Y[1],X=h.useState(null),Q=(0,a.Z)(X,2),J=Q[0],q=Q[1],_=h.useState(null),$=(0,a.Z)(_,2),ee=$[0],te=$[1],re=H||"";h.useEffect((function(){V(L)}),[L]);var ie=h.useRef(),oe=h.useRef();h.useImperativeHandle(t,(function(){return{nativeElement:ie.current,inputElement:oe.current,focus:function(e){oe.current.focus(e)},blur:function(){oe.current.blur()}}}));var ae=h.useMemo((function(){return new it(u||"")}),[u]),le=h.useMemo((function(){return m?[0,0]:ae.getSelection(J)}),[ae,J,m]),ce=(0,a.Z)(le,2),ue=ce[0],de=ce[1],he=function(e){e&&e!==u&&e!==L&&y()},fe=(0,s.zX)((function(e){d(e)&&p(e),V(e),he(e)})),pe=h.useRef(!1),me=function(e){M(e)};se(n,(function(){n||k||V(L)}));var ve=function(e){"Enter"===e.key&&d(re)&&x(),null==w||w(e)},ge=h.useRef();(0,l.Z)((function(){if(W&&u&&!pe.current){if(ae.match(re))return oe.current.setSelectionRange(ue,de),ge.current=(0,ne.Z)((function(){oe.current.setSelectionRange(ue,de)})),function(){ne.Z.cancel(ge.current)};fe(u)}}),[ae,u,W,re,J,ue,de,ee,fe]);var ye=u?{onFocus:function(e){O(!0),q(0),U(""),N(e)},onBlur:function(e){O(!1),me(e)},onKeyDown:function(e){ve(e);var t=e.key,n=null,r=null,i=de-ue,o=u.slice(ue,de),s=function(e){q((function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,ae.size()-1)}))},l=function(e){var t=function(e){return{YYYY:[0,9999,(new Date).getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]}[e]}(o),n=(0,a.Z)(t,3),r=n[0],i=n[1],s=n[2],l=re.slice(ue,de),c=Number(l);if(isNaN(c))return String(s||(e>0?r:i));var u=i-r+1;return String(r+(u+(c+e)-r)%u)};switch(t){case"Backspace":case"Delete":n="",r=o;break;case"ArrowLeft":n="",s(-1);break;case"ArrowRight":n="",s(1);break;case"ArrowUp":n="",r=l(1);break;case"ArrowDown":n="",r=l(-1);break;default:isNaN(Number(t))||(r=n=G+t)}if(null!==n&&(U(n),n.length>=i&&(s(1),U(""))),null!==r){var c=re.slice(0,ue)+b(r,i)+re.slice(de);fe(c.slice(0,u.length))}te({})},onMouseDown:function(){pe.current=!0},onMouseUp:function(e){var t=e.target.selectionStart,n=ae.getMaskCellIndex(t);q(n),te({}),null==P||P(e),pe.current=!1},onPaste:function(e){var t=e.clipboardData.getData("text");d(t)&&fe(t)}}:{};return h.createElement("div",{ref:ie,className:v()(j,(0,f.Z)((0,f.Z)({},"".concat(j,"-active"),n&&o),"".concat(j,"-placeholder"),m))},h.createElement(T,(0,r.Z)({ref:oe,"aria-invalid":A,autoComplete:"off"},E,{onKeyDown:ve,onBlur:me},ye,{value:re,onChange:function(e){if(!u){var t=e.target.value;he(t),V(t),p(t)}}})),h.createElement($e,{type:"suffix",icon:c}),S)})),st=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],lt=["index"];function ct(e,t){var n=e.id,i=e.prefix,l=e.clearIcon,c=e.suffixIcon,u=e.separator,d=void 0===u?"~":u,p=e.activeIndex,m=(e.activeHelp,e.allHelp,e.focused),y=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),x=e.className,b=e.style,w=e.onClick,C=e.onClear,k=e.value,A=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),S=e.invalid,E=(e.inputReadOnly,e.direction),L=(e.onOpenChange,e.onActiveInfo),N=(e.placement,e.onMouseDown),M=(e.required,e["aria-required"],e.autoFocus),P=e.tabIndex,D=(0,Ue.Z)(e,st),Z="rtl"===E,T=h.useContext(g).prefixCls,j=h.useMemo((function(){if("string"==typeof n)return[n];var e=n||{};return[e.start,e.end]}),[n]),F=h.useRef(),I=h.useRef(),W=h.useRef(),O=function(e){var t;return null===(t=[I,W][e])||void 0===t?void 0:t.current};h.useImperativeHandle(t,(function(){return{nativeElement:F.current,focus:function(e){if("object"===(0,B.Z)(e)){var t,n=e||{},r=n.index,i=void 0===r?0:r,o=(0,Ue.Z)(n,lt);null===(t=O(i))||void 0===t||t.focus(o)}else{var a;null===(a=O(null!=e?e:0))||void 0===a||a.focus()}},blur:function(){var e,t;null===(e=O(0))||void 0===e||e.blur(),null===(t=O(1))||void 0===t||t.blur()}}}));var R=Je(D),z=h.useMemo((function(){return Array.isArray(y)?y:[y,y]}),[y]),H=Xe((0,o.Z)((0,o.Z)({},e),{},{id:j,placeholder:z})),V=(0,a.Z)(H,1)[0],K=h.useState({position:"absolute",width:0}),Y=(0,a.Z)(K,2),G=Y[0],U=Y[1],X=(0,s.zX)((function(){var e=O(p);if(e){var t=e.nativeElement.getBoundingClientRect(),n=F.current.getBoundingClientRect(),r=t.left-n.left;U((function(e){return(0,o.Z)((0,o.Z)({},e),{},{width:t.width,left:r})})),L([t.left,t.right,n.width])}}));h.useEffect((function(){X()}),[p]);var Q=l&&(k[0]&&!A[0]||k[1]&&!A[1]),J=M&&!A[0],q=M&&!J&&!A[1];return h.createElement(xe.Z,{onResize:X},h.createElement("div",(0,r.Z)({},R,{className:v()(T,"".concat(T,"-range"),(0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(T,"-focused"),m),"".concat(T,"-disabled"),A.every((function(e){return e}))),"".concat(T,"-invalid"),S.some((function(e){return e}))),"".concat(T,"-rtl"),Z),x),style:b,ref:F,onClick:w,onMouseDown:function(e){var t=e.target;t!==I.current.inputElement&&t!==W.current.inputElement&&e.preventDefault(),null==N||N(e)}}),i&&h.createElement("div",{className:"".concat(T,"-prefix")},i),h.createElement(at,(0,r.Z)({ref:I},V(0),{autoFocus:J,tabIndex:P,"date-range":"start"})),h.createElement("div",{className:"".concat(T,"-range-separator")},d),h.createElement(at,(0,r.Z)({ref:W},V(1),{autoFocus:q,tabIndex:P,"date-range":"end"})),h.createElement("div",{className:"".concat(T,"-active-bar"),style:G}),h.createElement($e,{type:"suffix",icon:c}),Q&&h.createElement(et,{icon:l,onClear:C})))}var ut=h.forwardRef(ct);function dt(e,t){var n=null!=e?e:t;return Array.isArray(n)?n:[n,n]}function ht(e){return 1===e?"end":"start"}function ft(e,t){var n=te(e,(function(){var t=e.disabled,n=e.allowEmpty;return{disabled:dt(t,!1),allowEmpty:dt(n,!1)}})),d=(0,a.Z)(n,6),f=d[0],p=d[1],m=d[2],v=d[3],y=d[4],b=d[5],k=f.prefixCls,A=f.styles,M=f.classNames,P=f.defaultValue,B=f.value,D=f.needConfirm,Z=f.onKeyDown,T=f.disabled,j=f.allowEmpty,F=f.disabledDate,I=f.minDate,W=f.maxDate,O=f.defaultOpen,R=f.open,z=f.onOpenChange,H=f.locale,V=f.generateConfig,K=f.picker,Y=f.showNow,G=f.showToday,U=f.showTime,X=f.mode,J=f.onPanelChange,q=f.onCalendarChange,_=f.onOk,$=f.defaultPickerValue,ee=f.pickerValue,ne=f.onPickerValueChange,re=f.inputReadOnly,se=f.suffixIcon,ce=f.onFocus,ue=f.onBlur,he=f.presets,fe=f.ranges,pe=f.components,me=f.cellRender,xe=f.dateRender,be=f.monthCellRender,we=f.onClick,Ce=oe(t),ke=ie(R,O,T,z),Ae=(0,a.Z)(ke,2),Se=Ae[0],Ee=Ae[1],Le=function(e,t){!T.some((function(e){return!e}))&&e||Ee(e,t)},Ne=ve(V,H,v,!0,!1,P,B,q,_),Me=(0,a.Z)(Ne,5),Pe=Me[0],Be=Me[1],De=Me[2],Ze=Me[3],Te=Me[4],je=De(),Fe=le(T,j,Se),Ie=(0,a.Z)(Fe,9),We=Ie[0],Oe=Ie[1],Re=Ie[2],ze=Ie[3],He=Ie[4],Ve=Ie[5],Ke=Ie[6],Ye=Ie[7],Ue=Ie[8],Xe=function(e,t){Oe(!0),null==ce||ce(e,{range:ht(null!=t?t:ze)})},Qe=function(e,t){Oe(!1),null==ue||ue(e,{range:ht(null!=t?t:ze)})},Je=h.useMemo((function(){if(!U)return null;var e=U.disabledTime,t=e?function(t){var n=ht(ze),r=S(je,Ke,ze);return e(t,n,{from:r})}:void 0;return(0,o.Z)((0,o.Z)({},U),{},{disabledTime:t})}),[U,ze,je,Ke]),qe=(0,s.C8)([K,K],{value:X}),_e=(0,a.Z)(qe,2),$e=_e[0],et=_e[1],tt=$e[ze]||K,nt="date"===tt&&Je?"datetime":tt,rt=nt===K&&"time"!==nt,it=ye(K,tt,Y,G,!0),ot=ge(f,Pe,Be,De,Ze,T,v,We,Se,b),at=(0,a.Z)(ot,2),st=at[0],lt=at[1],ct=function(e,t,n,r,i,s){var l=n[n.length-1];return function(c,u){var d=(0,a.Z)(e,2),h=d[0],f=d[1],p=(0,o.Z)((0,o.Z)({},u),{},{from:S(e,n)});return!(1!==l||!t[0]||!h||Q(r,i,h,c,p.type)||!r.isAfter(h,c))||!(0!==l||!t[1]||!f||Q(r,i,f,c,p.type)||!r.isAfter(c,f))||(null==s?void 0:s(c,p))}}(je,T,Ke,V,H,F),ft=N(je,b,j),pt=(0,a.Z)(ft,2),mt=pt[0],vt=pt[1],gt=de(V,H,je,$e,Se,ze,p,rt,$,ee,null==Je?void 0:Je.defaultOpenValue,ne,I,W),yt=(0,a.Z)(gt,2),xt=yt[0],bt=yt[1],wt=(0,s.zX)((function(e,t,n){var r=C($e,ze,t);if(r[0]===$e[0]&&r[1]===$e[1]||et(r),J&&!1!==n){var o=(0,i.Z)(je);e&&(o[ze]=e),J(o,r)}})),Ct=function(e,t){return C(je,t,e)},kt=function(e,t){var n=je;e&&(n=Ct(e,ze)),Ye(ze);var r=Ve(n);Ze(n),st(ze,null===r),null===r?Le(!1,{force:!0}):t||Ce.current.focus({index:r})},At=h.useState(null),St=(0,a.Z)(At,2),Et=St[0],Lt=St[1],Nt=h.useState(null),Mt=(0,a.Z)(Nt,2),Pt=Mt[0],Bt=Mt[1],Dt=h.useMemo((function(){return Pt||je}),[je,Pt]);h.useEffect((function(){Se||Bt(null)}),[Se]);var Zt=h.useState([0,0,0]),Tt=(0,a.Z)(Zt,2),jt=Tt[0],Ft=Tt[1],It=ae(he,fe),Wt=L(me,xe,be,ht(ze)),Ot=je[ze]||null,Rt=(0,s.zX)((function(e){return b(e,{activeIndex:ze})})),zt=h.useMemo((function(){var e=(0,u.Z)(f,!1);return(0,c.Z)(f,[].concat((0,i.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))}),[f]),Ht=h.createElement(Ge,(0,r.Z)({},zt,{showNow:it,showTime:Je,range:!0,multiplePanel:rt,activeInfo:jt,disabledDate:ct,onFocus:function(e){Le(!0),Xe(e)},onBlur:Qe,onPanelMouseDown:function(){Re("panel")},picker:K,mode:tt,internalMode:nt,onPanelChange:wt,format:y,value:Ot,isInvalid:Rt,onChange:null,onSelect:function(e){var t=C(je,ze,e);Ze(t),D||m||p!==nt||kt(e)},pickerValue:xt,defaultOpenValue:w(null==U?void 0:U.defaultOpenValue)[ze],onPickerValueChange:bt,hoverValue:Dt,onHover:function(e){Bt(e?Ct(e,ze):null),Lt("cell")},needConfirm:D,onSubmit:kt,onOk:Te,presets:It,onPresetHover:function(e){Bt(e),Lt("preset")},onPresetSubmit:function(e){lt(e)&&Le(!1,{force:!0})},onNow:function(e){kt(e)},cellRender:Wt})),Vt=h.useMemo((function(){return{prefixCls:k,locale:H,generateConfig:V,button:pe.button,input:pe.input}}),[k,H,V,pe.button,pe.input]);return(0,l.Z)((function(){Se&&void 0!==ze&&wt(null,K,!1)}),[Se,ze,K]),(0,l.Z)((function(){var e=Re();Se||"input"!==e||(Le(!1),kt(null,!0)),Se||!m||D||"panel"!==e||(Le(!0),kt())}),[Se]),h.createElement(g.Provider,{value:Vt},h.createElement(x,(0,r.Z)({},E(f),{popupElement:Ht,popupStyle:A.popup,popupClassName:M.popup,visible:Se,onClose:function(){Le(!1)},range:!0}),h.createElement(ut,(0,r.Z)({},f,{ref:Ce,suffixIcon:se,activeIndex:We||Se?ze:null,activeHelp:!!Pt,allHelp:!!Pt&&"preset"===Et,focused:We,onFocus:function(e,t){var n=Ke.length,r=Ke[n-1];n&&r!==t&&D&&!j[r]&&!Ue(r)&&je[r]?Ce.current.focus({index:r}):(Re("input"),Le(!0,{inherit:!0}),ze!==t&&Se&&!D&&m&&kt(null,!0),He(t),Xe(e,t))},onBlur:function(e,t){if(Le(!1),!D&&"input"===Re()){var n=Ve(je);st(ze,null===n)}Qe(e,t)},onKeyDown:function(e,t){"Tab"===e.key&&kt(null,!0),null==Z||Z(e,t)},onSubmit:kt,value:Dt,maskFormat:y,onChange:function(e,t){var n=Ct(e,t);Ze(n)},onInputChange:function(){Re("input")},format:v,inputReadOnly:re,disabled:T,open:Se,onOpenChange:Le,onClick:function(e){var t,n=e.target.getRootNode();if(!Ce.current.nativeElement.contains(null!==(t=n.activeElement)&&void 0!==t?t:document.activeElement)){var r=T.findIndex((function(e){return!e}));r>=0&&Ce.current.focus({index:r})}Le(!0),null==we||we(e)},onClear:function(){lt(null),Le(!1,{force:!0})},invalid:mt,onInvalid:vt,onActiveInfo:Ft}))))}var pt=h.forwardRef(ft),mt=n(11780);function vt(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,o=void 0===i?"×":i,a=e.formatDate,s=e.disabled,l=e.maxTagCount,c=e.placeholder,u="".concat(t,"-selector"),d="".concat(t,"-selection"),f="".concat(d,"-overflow");function p(e,t){return h.createElement("span",{className:v()("".concat(d,"-item")),title:"string"==typeof e?e:null},h.createElement("span",{className:"".concat(d,"-item-content")},e),!s&&t&&h.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(d,"-item-remove")},o))}return h.createElement("div",{className:u},h.createElement(mt.Z,{prefixCls:f,data:n,renderItem:function(e){return p(a(e),(function(t){t&&t.stopPropagation(),r(e)}))},renderRest:function(e){return p("+ ".concat(e.length," ..."))},itemKey:function(e){return a(e)},maxCount:l}),!n.length&&h.createElement("span",{className:"".concat(t,"-selection-placeholder")},c))}var gt=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function yt(e,t){e.id;var n=e.open,i=e.prefix,s=e.clearIcon,l=e.suffixIcon,c=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),d=e.generateConfig,p=e.placeholder,m=e.className,y=e.style,x=e.onClick,b=e.onClear,w=e.internalPicker,C=e.value,k=e.onChange,A=e.onSubmit,S=(e.onInputChange,e.multiple),E=e.maxTagCount,L=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),N=e.invalid,M=(e.inputReadOnly,e.direction),P=(e.onOpenChange,e.onMouseDown),B=(e.required,e["aria-required"],e.autoFocus),D=e.tabIndex,Z=e.removeIcon,T=(0,Ue.Z)(e,gt),j="rtl"===M,F=h.useContext(g).prefixCls,I=h.useRef(),W=h.useRef();h.useImperativeHandle(t,(function(){return{nativeElement:I.current,focus:function(e){var t;null===(t=W.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()}}}));var O=Je(T),R=Xe((0,o.Z)((0,o.Z)({},e),{},{onChange:function(e){k([e])}}),(function(e){return{value:e.valueTexts[0]||"",active:c}})),z=(0,a.Z)(R,2),H=z[0],V=z[1],K=!(!s||!C.length||L),Y=S?h.createElement(h.Fragment,null,h.createElement(vt,{prefixCls:F,value:C,onRemove:function(e){var t=C.filter((function(t){return t&&!Q(d,u,t,e,w)}));k(t),n||A()},formatDate:V,maxTagCount:E,disabled:L,removeIcon:Z,placeholder:p}),h.createElement("input",{className:"".concat(F,"-multiple-input"),value:C.map(V).join(","),ref:W,readOnly:!0,autoFocus:B,tabIndex:D}),h.createElement($e,{type:"suffix",icon:l}),K&&h.createElement(et,{icon:s,onClear:b})):h.createElement(at,(0,r.Z)({ref:W},H(),{autoFocus:B,tabIndex:D,suffixIcon:l,clearIcon:K&&h.createElement(et,{icon:s,onClear:b}),showActiveCls:!1}));return h.createElement("div",(0,r.Z)({},O,{className:v()(F,(0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(F,"-multiple"),S),"".concat(F,"-focused"),c),"".concat(F,"-disabled"),L),"".concat(F,"-invalid"),N),"".concat(F,"-rtl"),j),m),style:y,ref:I,onClick:x,onMouseDown:function(e){var t;e.target!==(null===(t=W.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==P||P(e)}}),i&&h.createElement("div",{className:"".concat(F,"-prefix")},i),Y)}var xt=h.forwardRef(yt);function bt(e,t){var n=te(e),d=(0,a.Z)(n,6),f=d[0],p=d[1],m=d[2],v=d[3],y=d[4],b=d[5],C=f,k=C.prefixCls,A=C.styles,S=C.classNames,M=C.order,P=C.defaultValue,B=C.value,D=C.needConfirm,Z=C.onChange,T=C.onKeyDown,j=C.disabled,F=C.disabledDate,I=C.minDate,W=C.maxDate,O=C.defaultOpen,R=C.open,z=C.onOpenChange,H=C.locale,V=C.generateConfig,K=C.picker,Y=C.showNow,G=C.showToday,U=C.showTime,X=C.mode,Q=C.onPanelChange,J=C.onCalendarChange,q=C.onOk,_=C.multiple,$=C.defaultPickerValue,ee=C.pickerValue,ne=C.onPickerValueChange,re=C.inputReadOnly,se=C.suffixIcon,ce=C.removeIcon,ue=C.onFocus,he=C.onBlur,fe=C.presets,pe=C.components,me=C.cellRender,xe=C.dateRender,be=C.monthCellRender,we=C.onClick,Ce=oe(t);function ke(e){return null===e?null:_?e:e[0]}var Ae=Se(V,H,p),Ee=ie(R,O,[j],z),Le=(0,a.Z)(Ee,2),Ne=Le[0],Me=Le[1],Pe=ve(V,H,v,!1,M,P,B,(function(e,t,n){if(J){var r=(0,o.Z)({},n);delete r.range,J(ke(e),ke(t),r)}}),(function(e){null==q||q(ke(e))})),Be=(0,a.Z)(Pe,5),De=Be[0],Ze=Be[1],Te=Be[2],je=Be[3],Fe=Be[4],Ie=Te(),We=le([j]),Oe=(0,a.Z)(We,4),Re=Oe[0],ze=Oe[1],He=Oe[2],Ve=Oe[3],Ke=function(e){ze(!0),null==ue||ue(e,{})},Ye=function(e){ze(!1),null==he||he(e,{})},Ue=(0,s.C8)(K,{value:X}),Xe=(0,a.Z)(Ue,2),Qe=Xe[0],Je=Xe[1],qe="date"===Qe&&U?"datetime":Qe,_e=ye(K,Qe,Y,G),$e=Z&&function(e,t){Z(ke(e),ke(t))},et=ge((0,o.Z)((0,o.Z)({},f),{},{onChange:$e}),De,Ze,Te,je,[],v,Re,Ne,b),tt=(0,a.Z)(et,2)[1],nt=N(Ie,b),rt=(0,a.Z)(nt,2),it=rt[0],ot=rt[1],at=h.useMemo((function(){return it.some((function(e){return e}))}),[it]),st=de(V,H,Ie,[Qe],Ne,Ve,p,!1,$,ee,w(null==U?void 0:U.defaultOpenValue),(function(e,t){if(ne){var n=(0,o.Z)((0,o.Z)({},t),{},{mode:t.mode[0]});delete n.range,ne(e[0],n)}}),I,W),lt=(0,a.Z)(st,2),ct=lt[0],ut=lt[1],dt=(0,s.zX)((function(e,t,n){if(Je(t),Q&&!1!==n){var r=e||Ie[Ie.length-1];Q(r,t)}})),ht=function(){tt(Te()),Me(!1,{force:!0})},ft=h.useState(null),pt=(0,a.Z)(ft,2),mt=pt[0],vt=pt[1],gt=h.useState(null),yt=(0,a.Z)(gt,2),bt=yt[0],wt=yt[1],Ct=h.useMemo((function(){var e=[bt].concat((0,i.Z)(Ie)).filter((function(e){return e}));return _?e:e.slice(0,1)}),[Ie,bt,_]),kt=h.useMemo((function(){return!_&&bt?[bt]:Ie.filter((function(e){return e}))}),[Ie,bt,_]);h.useEffect((function(){Ne||wt(null)}),[Ne]);var At=ae(fe),St=function(e){var t=_?Ae(Te(),e):[e];tt(t)&&!_&&Me(!1,{force:!0})},Et=L(me,xe,be),Lt=h.useMemo((function(){var e=(0,u.Z)(f,!1),t=(0,c.Z)(f,[].concat((0,i.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,o.Z)((0,o.Z)({},t),{},{multiple:f.multiple})}),[f]),Nt=h.createElement(Ge,(0,r.Z)({},Lt,{showNow:_e,showTime:U,disabledDate:F,onFocus:function(e){Me(!0),Ke(e)},onBlur:Ye,picker:K,mode:Qe,internalMode:qe,onPanelChange:dt,format:y,value:Ie,isInvalid:b,onChange:null,onSelect:function(e){if(He("panel"),!_||qe===K){var t=_?Ae(Te(),e):[e];je(t),D||m||p!==qe||ht()}},pickerValue:ct,defaultOpenValue:null==U?void 0:U.defaultOpenValue,onPickerValueChange:ut,hoverValue:Ct,onHover:function(e){wt(e),vt("cell")},needConfirm:D,onSubmit:ht,onOk:Fe,presets:At,onPresetHover:function(e){wt(e),vt("preset")},onPresetSubmit:St,onNow:function(e){St(e)},cellRender:Et})),Mt=h.useMemo((function(){return{prefixCls:k,locale:H,generateConfig:V,button:pe.button,input:pe.input}}),[k,H,V,pe.button,pe.input]);return(0,l.Z)((function(){Ne&&void 0!==Ve&&dt(null,K,!1)}),[Ne,Ve,K]),(0,l.Z)((function(){var e=He();Ne||"input"!==e||(Me(!1),ht()),Ne||!m||D||"panel"!==e||ht()}),[Ne]),h.createElement(g.Provider,{value:Mt},h.createElement(x,(0,r.Z)({},E(f),{popupElement:Nt,popupStyle:A.popup,popupClassName:S.popup,visible:Ne,onClose:function(){Me(!1)}}),h.createElement(xt,(0,r.Z)({},f,{ref:Ce,suffixIcon:se,removeIcon:ce,activeHelp:!!bt,allHelp:!!bt&&"preset"===mt,focused:Re,onFocus:function(e){He("input"),Me(!0,{inherit:!0}),Ke(e)},onBlur:function(e){Me(!1),Ye(e)},onKeyDown:function(e,t){"Tab"===e.key&&ht(),null==T||T(e,t)},onSubmit:ht,value:kt,maskFormat:y,onChange:function(e){je(e)},onInputChange:function(){He("input")},internalPicker:p,format:v,inputReadOnly:re,disabled:j,open:Ne,onOpenChange:Me,onClick:function(e){j||Ce.current.nativeElement.contains(document.activeElement)||Ce.current.focus(),Me(!0),null==we||we(e)},onClear:function(){tt(null),Me(!1,{force:!0})},invalid:at,onInvalid:function(e){ot(e,0)}}))))}var wt=h.forwardRef(bt)},25930:function(e,t,n){"use strict";n.d(t,{Cd:function(){return A}});var r=n(54476),i=n(33885),o=n(75931),a=n(59301),s=n(92310),l=n.n(s),c={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},u=function(){var e=(0,a.useRef)([]),t=(0,a.useRef)(null);return(0,a.useEffect)((function(){var n=Date.now(),r=!1;e.current.forEach((function(e){if(e){r=!0;var i=e.style;i.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(i.transitionDuration="0s, 0s")}})),r&&(t.current=Date.now())})),e.current};var d=n(76190),h=n(42978),f=n(47273),p=0,m=(0,f.Z)();var v=function(e){var t=a.useState(),n=(0,h.Z)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e;i("rc_progress_".concat((m?(e=p,p+=1):e="TEST_OR_SSR",e)))}),[]),e||r},g=function(e){var t=e.bg,n=e.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function y(e,t){return Object.keys(e).map((function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)}))}var x=a.forwardRef((function(e,t){var n=e.prefixCls,r=e.color,i=e.gradientId,o=e.radius,s=e.style,l=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,h=e.size,f=e.gapDegree,p=r&&"object"===(0,d.Z)(r),m=p?"#FFF":void 0,v=h/2,x=a.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:v,cy:v,stroke:m,strokeLinecap:c,strokeWidth:u,opacity:0===l?0:1,style:s,ref:t});if(!p)return x;var b="".concat(i,"-conic"),w=f?"".concat(180+f/2,"deg"):"0deg",C=y(r,(360-f)/360),k=y(r,1),A="conic-gradient(from ".concat(w,", ").concat(C.join(", "),")"),S="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(k.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:b},x),a.createElement("foreignObject",{x:0,y:0,width:h,height:h,mask:"url(#".concat(b,")")},a.createElement(g,{bg:S},a.createElement(g,{bg:A}))))})),b=100,w=function(e,t,n,r,i,o,a,s,l,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-o)/360),h=0===o?0:{bottom:0,top:180,left:90,right:-90}[a],f=(100-r)/100*t;"round"===l&&100!==r&&(f+=c/2)>=t&&(f=t-.01);var p=50;return{stroke:"string"==typeof s?s:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:f+u,transform:"rotate(".concat(i+d+h,"deg)"),transformOrigin:"".concat(p,"px ").concat(p,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},C=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function k(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var A=function(e){var t,n,s,h=(0,i.Z)((0,i.Z)({},c),e),f=h.id,p=h.prefixCls,m=h.steps,g=h.strokeWidth,y=h.trailWidth,A=h.gapDegree,S=void 0===A?0:A,E=h.gapPosition,L=h.trailColor,N=h.strokeLinecap,M=h.style,P=h.className,B=h.strokeColor,D=h.percent,Z=(0,o.Z)(h,C),T=v(f),j="".concat(T,"-gradient"),F=50-g/2,I=2*Math.PI*F,W=S>0?90+S/2:-90,O=I*((360-S)/360),R="object"===(0,d.Z)(m)?m:{count:m,gap:2},z=R.count,H=R.gap,V=k(D),K=k(B),Y=K.find((function(e){return e&&"object"===(0,d.Z)(e)})),G=Y&&"object"===(0,d.Z)(Y)?"butt":N,U=w(I,O,0,100,W,S,E,L,G,g),X=u();return a.createElement("svg",(0,r.Z)({className:l()("".concat(p,"-circle"),P),viewBox:"0 0 ".concat(b," ").concat(b),style:M,id:f,role:"presentation"},Z),!z&&a.createElement("circle",{className:"".concat(p,"-circle-trail"),r:F,cx:50,cy:50,stroke:L,strokeLinecap:G,strokeWidth:y||g,style:U}),z?(t=Math.round(z*(V[0]/100)),n=100/z,s=0,new Array(z).fill(null).map((function(e,r){var i=r<=t-1?K[0]:L,o=i&&"object"===(0,d.Z)(i)?"url(#".concat(j,")"):void 0,l=w(I,O,s,n,W,S,E,i,"butt",g,H);return s+=100*(O-l.strokeDashoffset+H)/O,a.createElement("circle",{key:r,className:"".concat(p,"-circle-path"),r:F,cx:50,cy:50,stroke:o,strokeWidth:g,opacity:1,style:l,ref:function(e){X[r]=e}})}))):function(){var e=0;return V.map((function(t,n){var r=K[n]||K[K.length-1],i=w(I,O,e,t,W,S,E,r,G,g);return e+=t,a.createElement(x,{key:n,color:r,ptg:t,radius:F,prefixCls:p,gradientId:j,style:i,strokeLinecap:G,strokeWidth:g,gapDegree:S,ref:function(e){X[n]=e},size:b})})).reverse()}())}},738:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(54476),i=n(20068),o=n(42978),a=n(75931),s=n(92310),l=n.n(s),c=n(18929),u=n(10228),d=n(26112),h=n(59301);function f(e,t){var n=e.disabled,r=e.prefixCls,i=e.character,o=e.characterRender,a=e.index,s=e.count,c=e.value,d=e.allowHalf,f=e.focused,p=e.onHover,m=e.onClick,v=a+1,g=new Set([r]);0===c&&0===a&&f?g.add("".concat(r,"-focused")):d&&c+.5>=v&&c<v?(g.add("".concat(r,"-half")),g.add("".concat(r,"-active")),f&&g.add("".concat(r,"-focused"))):(v<=c?g.add("".concat(r,"-full")):g.add("".concat(r,"-zero")),v===c&&f&&g.add("".concat(r,"-focused")));var y="function"==typeof i?i(e):i,x=h.createElement("li",{className:l()(Array.from(g)),ref:t},h.createElement("div",{onClick:n?null:function(e){m(e,a)},onKeyDown:n?null:function(e){e.keyCode===u.Z.ENTER&&m(e,a)},onMouseMove:n?null:function(e){p(e,a)},role:"radio","aria-checked":c>a?"true":"false","aria-posinset":a+1,"aria-setsize":s,tabIndex:n?-1:0},h.createElement("div",{className:"".concat(r,"-first")},y),h.createElement("div",{className:"".concat(r,"-second")},y)));return o&&(x=o(x,e)),x}var p=h.forwardRef(f);var m=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function v(e,t){var n,s=e.prefixCls,f=void 0===s?"rc-rate":s,v=e.className,g=e.defaultValue,y=e.value,x=e.count,b=void 0===x?5:x,w=e.allowHalf,C=void 0!==w&&w,k=e.allowClear,A=void 0===k||k,S=e.keyboard,E=void 0===S||S,L=e.character,N=void 0===L?"★":L,M=e.characterRender,P=e.disabled,B=e.direction,D=void 0===B?"ltr":B,Z=e.tabIndex,T=void 0===Z?0:Z,j=e.autoFocus,F=e.onHoverChange,I=e.onChange,W=e.onFocus,O=e.onBlur,R=e.onKeyDown,z=e.onMouseLeave,H=(0,a.Z)(e,m),V=(n=h.useRef({}),[function(e){return n.current[e]},function(e){return function(t){n.current[e]=t}}]),K=(0,o.Z)(V,2),Y=K[0],G=K[1],U=h.useRef(null),X=function(){var e;P||(null===(e=U.current)||void 0===e||e.focus())};h.useImperativeHandle(t,(function(){return{focus:X,blur:function(){var e;P||(null===(e=U.current)||void 0===e||e.blur())}}}));var Q=(0,c.Z)(g||0,{value:y}),J=(0,o.Z)(Q,2),q=J[0],_=J[1],$=(0,c.Z)(null),ee=(0,o.Z)($,2),te=ee[0],ne=ee[1],re=function(e,t){var n,r,i,o,a="rtl"===D,s=e+1;if(C){var l=Y(e),c=(r=function(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,{left:t-=o.clientLeft||i.clientLeft||0,top:n-=o.clientTop||i.clientTop||0}}(n=l),i=n.ownerDocument,o=i.defaultView||i.parentWindow,r.left+=function(e){var t=e.pageXOffset,n="scrollLeft";if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[n])&&(t=r.body[n])}return t}(o),r.left),u=l.clientWidth;(a&&t-c>u/2||!a&&t-c<u/2)&&(s-=.5)}return s},ie=function(e){_(e),null==I||I(e)},oe=h.useState(!1),ae=(0,o.Z)(oe,2),se=ae[0],le=ae[1],ce=h.useState(null),ue=(0,o.Z)(ce,2),de=ue[0],he=ue[1],fe=function(e,t){var n=re(t,e.pageX);n!==te&&(he(n),ne(null)),null==F||F(n)},pe=function(e){P||(he(null),ne(null),null==F||F(void 0)),e&&(null==z||z(e))},me=function(e,t){var n=re(t,e.pageX),r=!1;A&&(r=n===q),pe(),ie(r?0:n),ne(r?n:null)};h.useEffect((function(){j&&!P&&X()}),[]);var ve=new Array(b).fill(0).map((function(e,t){return h.createElement(p,{ref:G(t),index:t,count:b,disabled:P,prefixCls:"".concat(f,"-star"),allowHalf:C,value:null===de?q:de,onClick:me,onHover:fe,key:e||t,character:N,characterRender:M,focused:se})})),ge=l()(f,v,(0,i.Z)((0,i.Z)({},"".concat(f,"-disabled"),P),"".concat(f,"-rtl"),"rtl"===D));return h.createElement("ul",(0,r.Z)({className:ge,onMouseLeave:pe,tabIndex:P?-1:T,onFocus:P?null:function(){le(!0),null==W||W()},onBlur:P?null:function(){le(!1),null==O||O()},onKeyDown:P?null:function(e){var t=e.keyCode,n="rtl"===D,r=C?.5:1;E&&(t===u.Z.RIGHT&&q<b&&!n?(ie(q+r),e.preventDefault()):t===u.Z.LEFT&&q>0&&!n||t===u.Z.RIGHT&&q>0&&n?(ie(q-r),e.preventDefault()):t===u.Z.LEFT&&q<b&&n&&(ie(q+r),e.preventDefault())),null==R||R(e)},ref:U},(0,d.Z)(H,{aria:!0,data:!0,attr:!0})),ve)}var g=h.forwardRef(v)},6551:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(42978),i=n(59301),o=n(47273),a=0,s=(0,o.Z)();function l(e){var t=i.useState(),n=(0,r.Z)(t,2),o=n[0],l=n[1];return i.useEffect((function(){var e;l("rc_select_".concat((s?(e=a,a+=1):e="TEST_OR_SSR",e)))}),[]),e||o}},37463:function(e,t,n){"use strict";n.d(t,{Ac:function(){return ee},Xo:function(){return ne},Wx:function(){return ie},ZP:function(){return Se},lk:function(){return b}});var r=n(54476),i=n(94480),o=n(20068),a=n(33885),s=n(42978),l=n(75931),c=n(76190),u=n(18929),d=n(48736),h=n(59301),f=n(92310),p=n.n(f),m=n(34280),v=n(49658),g=n(8654),y=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,i=e.children,o=e.onMouseDown,a=e.onClick,s="function"==typeof n?n(r):n;return h.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==o||o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==s?s:h.createElement("span",{className:p()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))},x=h.createContext(null);function b(){return h.useContext(x)}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=h.useRef(null),n=h.useRef(null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return h.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var C=n(10228);var k=n(26112),A=n(11780);var S=function(e,t,n){var r=(0,a.Z)((0,a.Z)({},e),n?t:{});return Object.keys(t).forEach((function(n){var i=t[n];"function"==typeof i&&(r[n]=function(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return i.apply(void 0,o),null===(t=e[n])||void 0===t?void 0:t.call.apply(t,[e].concat(o))})})),r},E=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],L=function(e,t){var n=e.prefixCls,r=e.id,i=e.inputElement,o=e.autoFocus,s=e.autoComplete,c=e.editable,u=e.activeDescendantId,f=e.value,m=e.open,v=e.attrs,y=(0,l.Z)(e,E),x=i||h.createElement("input",null),b=x,w=b.ref,C=b.props;return(0,d.Kp)(!("maxLength"in x.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),x=h.cloneElement(x,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},S(y,C,!0)),{},{id:r,ref:(0,g.sQ)(t,w),autoComplete:s||"off",autoFocus:o,className:p()("".concat(n,"-selection-search-input"),null==C?void 0:C.className),role:"combobox","aria-expanded":m||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":m?u:void 0},v),{},{value:c?f:"",readOnly:!c,unselectable:c?null:"on",style:(0,a.Z)((0,a.Z)({},C.style),{},{opacity:c?null:0})}))};var N=h.forwardRef(L);function M(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var P="undefined"!=typeof window&&window.document&&window.document.documentElement;function B(e){return["string","number"].includes((0,c.Z)(e))}function D(e){var t=void 0;return e&&(B(e.title)?t=e.title.toString():B(e.label)&&(t=e.label.toString())),t}function Z(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var T=function(e){e.preventDefault(),e.stopPropagation()},j=function(e){var t,n,r=e.id,i=e.prefixCls,a=e.values,l=e.open,c=e.searchValue,u=e.autoClearSearchValue,d=e.inputRef,f=e.placeholder,m=e.disabled,v=e.mode,g=e.showSearch,x=e.autoFocus,b=e.autoComplete,w=e.activeDescendantId,C=e.tabIndex,S=e.removeIcon,E=e.maxTagCount,L=e.maxTagTextLength,M=e.maxTagPlaceholder,B=void 0===M?function(e){return"+ ".concat(e.length," ...")}:M,j=e.tagRender,F=e.onToggleOpen,I=e.onRemove,W=e.onInputChange,O=e.onInputPaste,R=e.onInputKeyDown,z=e.onInputMouseDown,H=e.onInputCompositionStart,V=e.onInputCompositionEnd,K=e.onInputBlur,Y=h.useRef(null),G=(0,h.useState)(0),U=(0,s.Z)(G,2),X=U[0],Q=U[1],J=(0,h.useState)(!1),q=(0,s.Z)(J,2),_=q[0],$=q[1],ee="".concat(i,"-selection"),te=l||"multiple"===v&&!1===u||"tags"===v?c:"",ne="tags"===v||"multiple"===v&&!1===u||g&&(l||_);t=function(){Q(Y.current.scrollWidth)},n=[te],P?h.useLayoutEffect(t,n):h.useEffect(t,n);var re=function(e,t,n,r,i){return h.createElement("span",{title:D(e),className:p()("".concat(ee,"-item"),(0,o.Z)({},"".concat(ee,"-item-disabled"),n))},h.createElement("span",{className:"".concat(ee,"-item-content")},t),r&&h.createElement(y,{className:"".concat(ee,"-item-remove"),onMouseDown:T,onClick:i,customizeIcon:S},"×"))},ie=function(e,t,n,r,i,o){return h.createElement("span",{onMouseDown:function(e){T(e),F(!l)}},j({label:t,value:e,disabled:n,closable:r,onClose:i,isMaxTag:!!o}))},oe=h.createElement("div",{className:"".concat(ee,"-search"),style:{width:X},onFocus:function(){$(!0)},onBlur:function(){$(!1)}},h.createElement(N,{ref:d,open:l,prefixCls:i,id:r,inputElement:null,disabled:m,autoFocus:x,autoComplete:b,editable:ne,activeDescendantId:w,value:te,onKeyDown:R,onMouseDown:z,onChange:W,onPaste:O,onCompositionStart:H,onCompositionEnd:V,onBlur:K,tabIndex:C,attrs:(0,k.Z)(e,!0)}),h.createElement("span",{ref:Y,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},te," ")),ae=h.createElement(A.Z,{prefixCls:"".concat(ee,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,i=!m&&!t,o=n;if("number"==typeof L&&("string"==typeof n||"number"==typeof n)){var a=String(o);a.length>L&&(o="".concat(a.slice(0,L),"..."))}var s=function(t){t&&t.stopPropagation(),I(e)};return"function"==typeof j?ie(r,o,t,i,s):re(e,o,t,i,s)},renderRest:function(e){if(!a.length)return null;var t="function"==typeof B?B(e):B;return"function"==typeof j?ie(void 0,t,!1,!1,void 0,!0):re({title:t},t,!1)},suffix:oe,itemKey:Z,maxCount:E});return h.createElement("span",{className:"".concat(ee,"-wrap")},ae,!a.length&&!te&&h.createElement("span",{className:"".concat(ee,"-placeholder")},f))},F=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,u=e.mode,d=e.open,f=e.values,p=e.placeholder,m=e.tabIndex,v=e.showSearch,g=e.searchValue,y=e.activeValue,x=e.maxLength,b=e.onInputKeyDown,w=e.onInputMouseDown,C=e.onInputChange,A=e.onInputPaste,S=e.onInputCompositionStart,E=e.onInputCompositionEnd,L=e.onInputBlur,M=e.title,P=h.useState(!1),B=(0,s.Z)(P,2),Z=B[0],T=B[1],j="combobox"===u,F=j||v,I=f[0],W=g||"";j&&y&&!Z&&(W=y),h.useEffect((function(){j&&T(!1)}),[j,y]);var O=!("combobox"!==u&&!d&&!v)&&!!W,R=void 0===M?D(I):M,z=h.useMemo((function(){return I?null:h.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:O?{visibility:"hidden"}:void 0},p)}),[I,O,p,n]);return h.createElement("span",{className:"".concat(n,"-selection-wrap")},h.createElement("span",{className:"".concat(n,"-selection-search")},h.createElement(N,{ref:i,prefixCls:n,id:r,open:d,inputElement:t,disabled:o,autoFocus:a,autoComplete:l,editable:F,activeDescendantId:c,value:W,onKeyDown:b,onMouseDown:w,onChange:function(e){T(!0),C(e)},onPaste:A,onCompositionStart:S,onCompositionEnd:E,onBlur:L,tabIndex:m,attrs:(0,k.Z)(e,!0),maxLength:j?x:void 0})),!j&&I?h.createElement("span",{className:"".concat(n,"-selection-item"),title:R,style:O?{visibility:"hidden"}:void 0},I.label):null,z)},I=function(e,t){var n=(0,h.useRef)(null),i=(0,h.useRef)(!1),o=e.prefixCls,a=e.open,l=e.mode,c=e.showSearch,u=e.tokenWithEnter,d=e.disabled,f=e.prefix,p=e.autoClearSearchValue,m=e.onSearch,v=e.onSearchSubmit,g=e.onToggleOpen,y=e.onInputKeyDown,x=e.onInputBlur,b=e.domRef;h.useImperativeHandle(t,(function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}}));var k=w(0),A=(0,s.Z)(k,2),S=A[0],E=A[1],L=(0,h.useRef)(null),N=function(e){!1!==m(e,!0,i.current)&&g(!0)},M={inputRef:n,onInputKeyDown:function(e){var t,r=e.which,o=n.current instanceof HTMLTextAreaElement;(o||!a||r!==C.Z.UP&&r!==C.Z.DOWN||e.preventDefault(),y&&y(e),r!==C.Z.ENTER||"tags"!==l||i.current||a||null==v||v(e.target.value),o&&!a&&~[C.Z.UP,C.Z.DOWN,C.Z.LEFT,C.Z.RIGHT].indexOf(r))||(t=r)&&![C.Z.ESC,C.Z.SHIFT,C.Z.BACKSPACE,C.Z.TAB,C.Z.WIN_KEY,C.Z.ALT,C.Z.META,C.Z.WIN_KEY_RIGHT,C.Z.CTRL,C.Z.SEMICOLON,C.Z.EQUALS,C.Z.CAPS_LOCK,C.Z.CONTEXT_MENU,C.Z.F1,C.Z.F2,C.Z.F3,C.Z.F4,C.Z.F5,C.Z.F6,C.Z.F7,C.Z.F8,C.Z.F9,C.Z.F10,C.Z.F11,C.Z.F12].includes(t)&&g(!0)},onInputMouseDown:function(){E(!0)},onInputChange:function(e){var t=e.target.value;if(u&&L.current&&/[\r\n]/.test(L.current)){var n=L.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,L.current)}L.current=null,N(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");L.current=n||""},onInputCompositionStart:function(){i.current=!0},onInputCompositionEnd:function(e){i.current=!1,"combobox"!==l&&N(e.target.value)},onInputBlur:x},P="multiple"===l||"tags"===l?h.createElement(j,(0,r.Z)({},e,M)):h.createElement(F,(0,r.Z)({},e,M));return h.createElement("div",{ref:b,className:"".concat(o,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=S();e.target===n.current||t||"combobox"===l&&d||e.preventDefault(),("combobox"===l||c&&t)&&a||(a&&!1!==p&&m("",!0,!1),g())}},f&&h.createElement("div",{className:"".concat(o,"-prefix")},f),P)};var W=h.forwardRef(I),O=n(65030),R=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(e,t){var n=e.prefixCls,i=(e.disabled,e.visible),s=e.children,c=e.popupElement,u=e.animation,d=e.transitionName,f=e.dropdownStyle,m=e.dropdownClassName,v=e.direction,g=void 0===v?"ltr":v,y=e.placement,x=e.builtinPlacements,b=e.dropdownMatchSelectWidth,w=e.dropdownRender,C=e.dropdownAlign,k=e.getPopupContainer,A=e.empty,S=e.getTriggerDOMNode,E=e.onPopupVisibleChange,L=e.onPopupMouseEnter,N=(0,l.Z)(e,R),M="".concat(n,"-dropdown"),P=c;w&&(P=w(c));var B=h.useMemo((function(){return x||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(b)}),[x,b]),D=u?"".concat(M,"-").concat(u):d,Z="number"==typeof b,T=h.useMemo((function(){return Z?null:!1===b?"minWidth":"width"}),[b,Z]),j=f;Z&&(j=(0,a.Z)((0,a.Z)({},j),{},{width:b}));var F=h.useRef(null);return h.useImperativeHandle(t,(function(){return{getPopupElement:function(){var e;return null===(e=F.current)||void 0===e?void 0:e.popupElement}}})),h.createElement(O.Z,(0,r.Z)({},N,{showAction:E?["click"]:[],hideAction:E?["click"]:[],popupPlacement:y||("rtl"===g?"bottomRight":"bottomLeft"),builtinPlacements:B,prefixCls:M,popupTransitionName:D,popup:h.createElement("div",{onMouseEnter:L},P),ref:F,stretch:T,popupAlign:C,popupVisible:i,getPopupContainer:k,popupClassName:p()(m,(0,o.Z)({},"".concat(M,"-empty"),A)),popupStyle:j,getTriggerDOMNode:S,onPopupVisibleChange:E}),s)};var H=h.forwardRef(z),V=n(66712);function K(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function Y(e){return void 0!==e&&!Number.isNaN(e)}function G(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function U(e){var t=(0,a.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var X=h.createContext(null);function Q(e){var t=e.visible,n=e.values;if(!t)return null;return h.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,c.Z)(t))?t:n})).join(", ")),n.length>50?", ...":null)}var J=["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"],q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],_=function(e){return"tags"===e||"multiple"===e},$=h.forwardRef((function(e,t){var n,d=e.id,f=e.prefixCls,b=e.className,C=e.showSearch,k=e.tagRender,A=e.direction,S=e.omitDomProps,E=e.displayValues,L=e.onDisplayValuesChange,N=e.emptyOptions,M=e.notFoundContent,P=void 0===M?"Not Found":M,B=e.onClear,D=e.mode,Z=e.disabled,T=e.loading,j=e.getInputElement,F=e.getRawInputElement,I=e.open,O=e.defaultOpen,R=e.onDropdownVisibleChange,z=e.activeValue,K=e.onActiveValueChange,G=e.activeDescendantId,U=e.searchValue,$=e.autoClearSearchValue,ee=e.onSearch,te=e.onSearchSplit,ne=e.tokenSeparators,re=e.allowClear,ie=e.prefix,oe=e.suffixIcon,ae=e.clearIcon,se=e.OptionList,le=e.animation,ce=e.transitionName,ue=e.dropdownStyle,de=e.dropdownClassName,he=e.dropdownMatchSelectWidth,fe=e.dropdownRender,pe=e.dropdownAlign,me=e.placement,ve=e.builtinPlacements,ge=e.getPopupContainer,ye=e.showAction,xe=void 0===ye?[]:ye,be=e.onFocus,we=e.onBlur,Ce=e.onKeyUp,ke=e.onKeyDown,Ae=e.onMouseDown,Se=(0,l.Z)(e,J),Ee=_(D),Le=(void 0!==C?C:Ee)||"combobox"===D,Ne=(0,a.Z)({},Se);q.forEach((function(e){delete Ne[e]})),null==S||S.forEach((function(e){delete Ne[e]}));var Me=h.useState(!1),Pe=(0,s.Z)(Me,2),Be=Pe[0],De=Pe[1];h.useEffect((function(){De((0,v.Z)())}),[]);var Ze=h.useRef(null),Te=h.useRef(null),je=h.useRef(null),Fe=h.useRef(null),Ie=h.useRef(null),We=h.useRef(!1),Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=h.useState(!1),n=(0,s.Z)(t,2),r=n[0],i=n[1],o=h.useRef(null),a=function(){window.clearTimeout(o.current)};return h.useEffect((function(){return a}),[]),[r,function(t,n){a(),o.current=window.setTimeout((function(){i(t),n&&n()}),e)},a]}(),Re=(0,s.Z)(Oe,3),ze=Re[0],He=Re[1],Ve=Re[2];h.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Fe.current)||void 0===e?void 0:e.focus,blur:null===(t=Fe.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Ie.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:Ze.current||Te.current}}));var Ke=h.useMemo((function(){var e;if("combobox"!==D)return U;var t=null===(e=E[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[U,D,E]),Ye="combobox"===D&&"function"==typeof j&&j()||null,Ge="function"==typeof F&&F(),Ue=(0,g.x1)(Te,null==Ge||null===(n=Ge.props)||void 0===n?void 0:n.ref),Xe=h.useState(!1),Qe=(0,s.Z)(Xe,2),Je=Qe[0],qe=Qe[1];(0,m.Z)((function(){qe(!0)}),[]);var _e=(0,u.Z)(!1,{defaultValue:O,value:I}),$e=(0,s.Z)(_e,2),et=$e[0],tt=$e[1],nt=!!Je&&et,rt=!P&&N;(Z||rt&&nt&&"combobox"===D)&&(nt=!1);var it=!rt&&nt,ot=h.useCallback((function(e){var t=void 0!==e?e:!nt;Z||(tt(t),nt!==t&&(null==R||R(t)))}),[Z,nt,tt,R]),at=h.useMemo((function(){return(ne||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ne]),st=h.useContext(X)||{},lt=st.maxCount,ct=st.rawValues,ut=function(e,t,n){if(!(Ee&&Y(lt)&&(null==ct?void 0:ct.size)>=lt)){var r=!0,o=e;null==K||K(null);var a=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=(0,V.Z)(n),a=o[0],s=o.slice(1);if(!a)return[t];var l=t.split(a);return r=r||l.length>1,l.reduce((function(t,n){return[].concat((0,i.Z)(t),(0,i.Z)(e(n,s)))}),[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null}(e,ne,Y(lt)?lt-ct.size:void 0),s=n?null:a;return"combobox"!==D&&s&&(o="",null==te||te(s),ot(!1),r=!1),ee&&Ke!==o&&ee(o,{source:t?"typing":"effect"}),r}};h.useEffect((function(){nt||Ee||"combobox"===D||ut("",!1,!1)}),[nt]),h.useEffect((function(){et&&Z&&tt(!1),Z&&!We.current&&He(!1)}),[Z]);var dt=w(),ht=(0,s.Z)(dt,2),ft=ht[0],pt=ht[1],mt=h.useRef(!1),vt=h.useRef(!1),gt=[];h.useEffect((function(){return function(){gt.forEach((function(e){return clearTimeout(e)})),gt.splice(0,gt.length)}}),[]);var yt,xt=h.useState({}),bt=(0,s.Z)(xt,2)[1];Ge&&(yt=function(e){ot(e)}),function(e,t,n,r){var i=h.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},h.useEffect((function(){function t(t){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ze.current,null===(e=je.current)||void 0===e?void 0:e.getPopupElement()]}),it,ot,!!Ge);var wt,Ct=h.useMemo((function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:P,open:nt,triggerOpen:it,id:d,showSearch:Le,multiple:Ee,toggleOpen:ot})}),[e,P,it,nt,d,Le,Ee,ot]),kt=!!oe||T;kt&&(wt=h.createElement(y,{className:p()("".concat(f,"-arrow"),(0,o.Z)({},"".concat(f,"-arrow-loading"),T)),customizeIcon:oe,customizeIconProps:{loading:T,searchValue:Ke,open:nt,focused:ze,showSearch:Le}}));var At,St=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=h.useMemo((function(){return"object"===(0,c.Z)(r)?r.clearIcon:i||void 0}),[r,i]),u=h.useMemo((function(){return!(o||!r||!n.length&&!a||"combobox"===s&&""===a)}),[r,o,n.length,a,s]);return{allowClear:u,clearIcon:h.createElement(y,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:l},"×")}}(f,(function(){var e;null==B||B(),null===(e=Fe.current)||void 0===e||e.focus(),L([],{type:"clear",values:E}),ut("",!1,!1)}),E,re,ae,Z,Ke,D),Et=St.allowClear,Lt=St.clearIcon,Nt=h.createElement(se,{ref:Ie}),Mt=p()(f,b,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(f,"-focused"),ze),"".concat(f,"-multiple"),Ee),"".concat(f,"-single"),!Ee),"".concat(f,"-allow-clear"),re),"".concat(f,"-show-arrow"),kt),"".concat(f,"-disabled"),Z),"".concat(f,"-loading"),T),"".concat(f,"-open"),nt),"".concat(f,"-customize-input"),Ye),"".concat(f,"-show-search"),Le)),Pt=h.createElement(H,{ref:je,disabled:Z,prefixCls:f,visible:it,popupElement:Nt,animation:le,transitionName:ce,dropdownStyle:ue,dropdownClassName:de,direction:A,dropdownMatchSelectWidth:he,dropdownRender:fe,dropdownAlign:pe,placement:me,builtinPlacements:ve,getPopupContainer:ge,empty:N,getTriggerDOMNode:function(e){return Te.current||e},onPopupVisibleChange:yt,onPopupMouseEnter:function(){bt({})}},Ge?h.cloneElement(Ge,{ref:Ue}):h.createElement(W,(0,r.Z)({},e,{domRef:Te,prefixCls:f,inputElement:Ye,ref:Fe,id:d,prefix:ie,showSearch:Le,autoClearSearchValue:$,mode:D,activeDescendantId:G,tagRender:k,values:E,open:nt,onToggleOpen:ot,activeValue:z,searchValue:Ke,onSearch:ut,onSearchSubmit:function(e){e&&e.trim()&&ee(e,{source:"submit"})},onRemove:function(e){var t=E.filter((function(t){return t!==e}));L(t,{type:"remove",values:[e]})},tokenWithEnter:at,onInputBlur:function(){mt.current=!1}})));return At=Ge?Pt:h.createElement("div",(0,r.Z)({className:Mt},Ne,{ref:Ze,onMouseDown:function(e){var t,n=e.target,r=null===(t=je.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var i=setTimeout((function(){var e,t=gt.indexOf(i);-1!==t&>.splice(t,1),Ve(),Be||r.contains(document.activeElement)||null===(e=Fe.current)||void 0===e||e.focus()}));gt.push(i)}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];null==Ae||Ae.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=ft(),r=e.key,o="Enter"===r;if(o&&("combobox"!==D&&e.preventDefault(),nt||ot(!0)),pt(!!Ke),"Backspace"===r&&!n&&Ee&&!Ke&&E.length){for(var a=(0,i.Z)(E),s=null,l=a.length-1;l>=0;l-=1){var c=a[l];if(!c.disabled){a.splice(l,1),s=c;break}}s&&L(a,{type:"remove",values:[s]})}for(var u=arguments.length,d=new Array(u>1?u-1:0),h=1;h<u;h++)d[h-1]=arguments[h];!nt||o&&mt.current||(o&&(mt.current=!0),null===(t=Ie.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(d))),null==ke||ke.apply(void 0,[e].concat(d))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;nt&&(null===(i=Ie.current)||void 0===i||i.onKeyUp.apply(i,[e].concat(n))),"Enter"===e.key&&(mt.current=!1),null==Ce||Ce.apply(void 0,[e].concat(n))},onFocus:function(){He(!0),Z||(be&&!vt.current&&be.apply(void 0,arguments),xe.includes("focus")&&ot(!0)),vt.current=!0},onBlur:function(){We.current=!0,He(!1,(function(){vt.current=!1,We.current=!1,ot(!1)})),Z||(Ke&&("tags"===D?ee(Ke,{source:"submit"}):"multiple"===D&&ee("",{source:"blur"})),we&&we.apply(void 0,arguments))}}),h.createElement(Q,{visible:ze&&!nt,values:E}),Pt,wt,Et&&Lt),h.createElement(x.Provider,{value:Ct},At)}));var ee=$,te=function(){return null};te.isSelectOptGroup=!0;var ne=te,re=function(){return null};re.isSelectOption=!0;var ie=re,oe=n(80547),ae=n(2738),se=n(48911);var le=["disabled","title","children","style","className"];function ce(e){return"string"==typeof e||"number"==typeof e}var ue=function(e,t){var n=b(),a=n.prefixCls,c=n.id,u=n.open,d=n.multiple,f=n.mode,m=n.searchValue,v=n.toggleOpen,g=n.notFoundContent,x=n.onPopupScroll,w=h.useContext(X),A=w.maxCount,S=w.flattenOptions,E=w.onActiveValue,L=w.defaultActiveFirstOption,N=w.onSelect,M=w.menuItemSelectedIcon,P=w.rawValues,B=w.fieldNames,D=w.virtual,Z=w.direction,T=w.listHeight,j=w.listItemHeight,F=w.optionRender,I="".concat(a,"-item"),W=(0,oe.Z)((function(){return S}),[u,S],(function(e,t){return t[0]&&e[1]!==t[1]})),O=h.useRef(null),R=h.useMemo((function(){return d&&Y(A)&&(null==P?void 0:P.size)>=A}),[d,A,null==P?void 0:P.size]),z=function(e){e.preventDefault()},H=function(e){var t;null===(t=O.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},V=h.useCallback((function(e){return"combobox"!==f&&P.has(e)}),[f,(0,i.Z)(P).toString(),P.size]),K=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=W.length,r=0;r<n;r+=1){var i=(e+r*t+n)%n,o=W[i]||{},a=o.group,s=o.data;if(!a&&(null==s||!s.disabled)&&(V(s.value)||!R))return i}return-1},G=h.useState((function(){return K(0)})),U=(0,s.Z)(G,2),Q=U[0],J=U[1],q=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];J(e);var n={source:t?"keyboard":"mouse"},r=W[e];r?E(r.value,e,n):E(null,-1,n)};(0,h.useEffect)((function(){q(!1!==L?K(0):-1)}),[W.length,m]);var _=h.useCallback((function(e){return"combobox"===f?String(e).toLowerCase()===m.toLowerCase():P.has(e)}),[f,m,(0,i.Z)(P).toString(),P.size]);(0,h.useEffect)((function(){var e,t=setTimeout((function(){if(!d&&u&&1===P.size){var e=Array.from(P)[0],t=W.findIndex((function(t){var n=t.data;return m?String(n.value).startsWith(m):n.value===e}));-1!==t&&(q(t),H(t))}}));u&&(null===(e=O.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[u,m]);var $=function(e){void 0!==e&&N(e,{selected:!P.has(e)}),d||v(!1)};if(h.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case C.Z.N:case C.Z.P:case C.Z.UP:case C.Z.DOWN:var r=0;if(t===C.Z.UP?r=-1:t===C.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===C.Z.N?r=1:t===C.Z.P&&(r=-1)),0!==r){var i=K(Q+r,r);H(i),q(i,!0)}break;case C.Z.TAB:case C.Z.ENTER:var o,a=W[Q];!a||null!=a&&null!==(o=a.data)&&void 0!==o&&o.disabled||R?$(void 0):$(a.value),u&&e.preventDefault();break;case C.Z.ESC:v(!1),u&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){H(e)}}})),0===W.length)return h.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(I,"-empty"),onMouseDown:z},g);var ee=Object.keys(B).map((function(e){return B[e]})),te=function(e){return e.label};function ne(e,t){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(t)}}var re=function(e){var t=W[e];if(!t)return null;var n=t.data||{},i=n.value,o=t.group,a=(0,k.Z)(n,!0),s=te(t);return t?h.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof s||o?null:s},a,{key:e},ne(t,e),{"aria-selected":_(i)}),i):null},ie={role:"listbox",id:"".concat(c,"_list")};return h.createElement(h.Fragment,null,D&&h.createElement("div",(0,r.Z)({},ie,{style:{height:0,width:0,overflow:"hidden"}}),re(Q-1),re(Q),re(Q+1)),h.createElement(se.Z,{itemKey:"key",ref:O,data:W,height:T,itemHeight:j,fullHeight:!1,onMouseDown:z,onScroll:x,virtual:D,direction:Z,innerProps:D?null:ie},(function(e,t){var n=e.group,i=e.groupOption,a=e.data,s=e.label,c=e.value,u=a.key;if(n){var d,f=null!==(d=a.title)&&void 0!==d?d:ce(s)?s.toString():void 0;return h.createElement("div",{className:p()(I,"".concat(I,"-group"),a.className),title:f},void 0!==s?s:u)}var m=a.disabled,v=a.title,g=(a.children,a.style),x=a.className,b=(0,l.Z)(a,le),w=(0,ae.Z)(b,ee),C=V(c),A=m||!C&&R,S="".concat(I,"-option"),E=p()(I,S,x,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(S,"-grouped"),i),"".concat(S,"-active"),Q===t&&!A),"".concat(S,"-disabled"),A),"".concat(S,"-selected"),C)),L=te(e),N=!M||"function"==typeof M||C,P="number"==typeof L?L:L||c,B=ce(P)?P.toString():void 0;return void 0!==v&&(B=v),h.createElement("div",(0,r.Z)({},(0,k.Z)(w),D?{}:ne(e,t),{"aria-selected":_(c),className:E,title:B,onMouseMove:function(){Q===t||A||q(t)},onClick:function(){A||$(c)},style:g}),h.createElement("div",{className:"".concat(S,"-content")},"function"==typeof F?F(e,{index:t}):P),h.isValidElement(M)||C,N&&h.createElement(y,{className:"".concat(I,"-option-state"),customizeIcon:M,customizeIconProps:{value:c,disabled:A,isSelected:C}},C?"✓":null))})))};var de=h.forwardRef(ue);function he(e,t){return M(e).join("").toUpperCase().includes(t)}var fe=n(6551),pe=n(11592),me=["children","value"],ve=["children"];function ge(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,s=(0,l.Z)(r,me);return(0,a.Z)({key:n,value:void 0!==o?o:n,children:i},s)}function ye(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,pe.Z)(e).map((function(e,n){if(!h.isValidElement(e)||!e.type)return null;var r=e,i=r.type.isSelectOptGroup,o=r.key,s=r.props,c=s.children,u=(0,l.Z)(s,ve);return t||!i?ge(e):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===o?n:o,"__"),label:o},u),{},{options:ye(c)})})).filter((function(e){return e}))}var xe=function(e,t,n,r,i){return h.useMemo((function(){var o=e;!e&&(o=ye(t));var a=new Map,s=new Map,l=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<t.length;c+=1){var u=t[c];!u[n.options]||o?(a.set(u[n.value],u),l(s,u,n.label),l(s,u,r),l(s,u,i)):e(u[n.options],!0)}}(o),{options:o,valueOptions:a,labelOptions:s}}),[e,t,n,r,i])};function be(e){var t=h.useRef();t.current=e;var n=h.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var we=["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"],Ce=["inputValue"];var ke=h.forwardRef((function(e,t){var n=e.id,d=e.mode,f=e.prefixCls,p=void 0===f?"rc-select":f,m=e.backfill,v=e.fieldNames,g=e.inputValue,y=e.searchValue,x=e.onSearch,b=e.autoClearSearchValue,w=void 0===b||b,C=e.onSelect,k=e.onDeselect,A=e.dropdownMatchSelectWidth,S=void 0===A||A,E=e.filterOption,L=e.filterSort,N=e.optionFilterProp,P=e.optionLabelProp,B=e.options,D=e.optionRender,Z=e.children,T=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,F=e.virtual,I=e.direction,W=e.listHeight,O=void 0===W?200:W,R=e.listItemHeight,z=void 0===R?20:R,H=e.labelRender,V=e.value,Y=e.defaultValue,Q=e.labelInValue,J=e.onChange,q=e.maxCount,$=(0,l.Z)(e,we),te=(0,fe.ZP)(n),ne=_(d),re=!(B||!Z),ie=h.useMemo((function(){return(void 0!==E||"combobox"!==d)&&E}),[E,d]),oe=h.useMemo((function(){return G(v,re)}),[JSON.stringify(v),re]),ae=(0,u.Z)("",{value:void 0!==y?y:g,postState:function(e){return e||""}}),se=(0,s.Z)(ae,2),le=se[0],ce=se[1],ue=xe(B,Z,oe,N,P),pe=ue.valueOptions,me=ue.labelOptions,ve=ue.options,ge=h.useCallback((function(e){return M(e).map((function(e){var t,n,r,i,o,a;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var s,l=pe.get(t);l&&(void 0===n&&(n=null==l?void 0:l[P||oe.label]),void 0===r&&(r=null!==(s=null==l?void 0:l.key)&&void 0!==s?s:t),i=null==l?void 0:l.disabled,o=null==l?void 0:l.title);return{label:n,value:t,key:r,disabled:i,title:o}}))}),[oe,P,pe]),ye=(0,u.Z)(Y,{value:V}),ke=(0,s.Z)(ye,2),Ae=ke[0],Se=ke[1],Ee=h.useMemo((function(){var e,t=ge(ne&&null===Ae?[]:Ae);return"combobox"===d&&function(e){return!e&&0!==e}(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[Ae,ge,d,ne]),Le=function(e,t){var n=h.useRef({values:new Map,options:new Map});return[h.useMemo((function(){var r=n.current,i=r.values,o=r.options,s=e.map((function(e){var t;return void 0===e.label?(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=i.get(e.value))||void 0===t?void 0:t.label}):e})),l=new Map,c=new Map;return s.forEach((function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||o.get(e.value))})),n.current.values=l,n.current.options=c,s}),[e,t]),h.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(Ee,pe),Ne=(0,s.Z)(Le,2),Me=Ne[0],Pe=Ne[1],Be=h.useMemo((function(){if(!d&&1===Me.length){var e=Me[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Me.map((function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t="function"==typeof H?H(e):e.label)&&void 0!==t?t:e.value})}))}),[d,Me,H]),De=h.useMemo((function(){return new Set(Me.map((function(e){return e.value})))}),[Me]);h.useEffect((function(){if("combobox"===d){var e,t=null===(e=Me[0])||void 0===e?void 0:e.value;ce(function(e){return null!=e}(t)?String(t):"")}}),[Me]);var Ze=be((function(e,t){var n=null!=t?t:e;return(0,o.Z)((0,o.Z)({},oe.value,e),oe.label,n)})),Te=function(e,t,n,r,i){return h.useMemo((function(){if(!n||!1===r)return e;var s=t.options,l=t.label,c=t.value,u=[],d="function"==typeof r,h=n.toUpperCase(),f=d?r:function(e,t){return i?he(t[i],h):t[s]?he(t["children"!==l?l:"label"],h):he(t[c],h)},p=d?function(e){return U(e)}:function(e){return e};return e.forEach((function(e){if(e[s])if(f(n,p(e)))u.push(e);else{var t=e[s].filter((function(e){return f(n,p(e))}));t.length&&u.push((0,a.Z)((0,a.Z)({},e),{},(0,o.Z)({},s,t)))}else f(n,p(e))&&u.push(e)})),u}),[e,r,i,n,t])}(h.useMemo((function(){if("tags"!==d)return ve;var e=(0,i.Z)(ve);return(0,i.Z)(Me).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return pe.has(e)})(n)||e.push(Ze(n,t.label))})),e}),[Ze,ve,pe,Me,d]),oe,le,ie,N),je=h.useMemo((function(){return"tags"!==d||!le||Te.some((function(e){return e[N||"value"]===le}))||Te.some((function(e){return e[oe.value]===le}))?Te:[Ze(le)].concat((0,i.Z)(Te))}),[Ze,N,d,Te,le,oe]),Fe=function e(t){return(0,i.Z)(t).sort((function(e,t){return L(e,t,{searchValue:le})})).map((function(t){return Array.isArray(t.options)?(0,a.Z)((0,a.Z)({},t),{},{options:t.options.length>0?e(t.options):t.options}):t}))},Ie=h.useMemo((function(){return L?Fe(je):je}),[je,L,le]),We=h.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=G(n,!1),a=o.label,s=o.value,l=o.options,c=o.groupLabel;function u(e,t){Array.isArray(e)&&e.forEach((function(e){if(t||!(l in e)){var n=e[s];i.push({key:K(e,i.length),groupOption:t,data:e,label:e[a],value:n})}else{var o=e[c];void 0===o&&r&&(o=e.label),i.push({key:K(e,i.length),group:!0,data:e,label:o}),u(e[l],!0)}}))}return u(e,!1),i}(Ie,{fieldNames:oe,childrenAsData:re})}),[Ie,oe,re]),Oe=function(e){var t=ge(e);if(Se(t),J&&(t.length!==Me.length||t.some((function(e,t){var n;return(null===(n=Me[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=Q?t:t.map((function(e){return e.value})),r=t.map((function(e){return U(Pe(e.value))}));J(ne?n:n[0],ne?r:r[0])}},Re=h.useState(null),ze=(0,s.Z)(Re,2),He=ze[0],Ve=ze[1],Ke=h.useState(0),Ye=(0,s.Z)(Ke,2),Ge=Ye[0],Ue=Ye[1],Xe=void 0!==T?T:"combobox"!==d,Qe=h.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,i=void 0===r?"keyboard":r;Ue(t),m&&"combobox"===d&&null!==e&&"keyboard"===i&&Ve(String(e))}),[m,d]),Je=function(e,t,n){var r=function(){var t,n=Pe(e);return[Q?{label:null==n?void 0:n[oe.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,U(n)]};if(t&&C){var i=r(),o=(0,s.Z)(i,2),a=o[0],l=o[1];C(a,l)}else if(!t&&k&&"clear"!==n){var c=r(),u=(0,s.Z)(c,2),d=u[0],h=u[1];k(d,h)}},qe=be((function(e,t){var n,r=!ne||t.selected;n=r?ne?[].concat((0,i.Z)(Me),[e]):[e]:Me.filter((function(t){return t.value!==e})),Oe(n),Je(e,r),"combobox"===d?Ve(""):_&&!w||(ce(""),Ve(""))})),_e=h.useMemo((function(){var e=!1!==F&&!1!==S;return(0,a.Z)((0,a.Z)({},ue),{},{flattenOptions:We,onActiveValue:Qe,defaultActiveFirstOption:Xe,onSelect:qe,menuItemSelectedIcon:j,rawValues:De,fieldNames:oe,virtual:e,direction:I,listHeight:O,listItemHeight:z,childrenAsData:re,maxCount:q,optionRender:D})}),[q,ue,We,Qe,Xe,qe,j,De,oe,F,S,I,O,z,re,D]);return h.createElement(X.Provider,{value:_e},h.createElement(ee,(0,r.Z)({},$,{id:te,prefixCls:p,ref:t,omitDomProps:Ce,mode:d,displayValues:Be,onDisplayValuesChange:function(e,t){Oe(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Je(e.value,!1,n)}))},direction:I,searchValue:le,onSearch:function(e,t){if(ce(e),Ve(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===d&&Oe(e),null==x||x(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,i.Z)(De),[n])));Oe(r),Je(n,!0),ce("")}}},autoClearSearchValue:w,onSearchSplit:function(e){var t=e;"tags"!==d&&(t=e.map((function(e){var t=me.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,i.Z)(De),(0,i.Z)(t))));Oe(n),n.forEach((function(e){Je(e,!0)}))},dropdownMatchSelectWidth:S,OptionList:de,emptyOptions:!We.length,activeValue:He,activeDescendantId:"".concat(te,"_list_").concat(Ge)})))}));var Ae=ke;Ae.Option=ie,Ae.OptGroup=ne;var Se=Ae},63158:function(e,t,n){"use strict";var r=n(54476),i=n(20068),o=n(42978),a=n(75931),s=n(59301),l=n(92310),c=n.n(l),u=n(18929),d=n(10228),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],f=s.forwardRef((function(e,t){var n,l=e.prefixCls,f=void 0===l?"rc-switch":l,p=e.className,m=e.checked,v=e.defaultChecked,g=e.disabled,y=e.loadingIcon,x=e.checkedChildren,b=e.unCheckedChildren,w=e.onClick,C=e.onChange,k=e.onKeyDown,A=(0,a.Z)(e,h),S=(0,u.Z)(!1,{value:m,defaultValue:v}),E=(0,o.Z)(S,2),L=E[0],N=E[1];function M(e,t){var n=L;return g||(N(n=e),null==C||C(n,t)),n}var P=c()(f,p,(n={},(0,i.Z)(n,"".concat(f,"-checked"),L),(0,i.Z)(n,"".concat(f,"-disabled"),g),n));return s.createElement("button",(0,r.Z)({},A,{type:"button",role:"switch","aria-checked":L,disabled:g,className:P,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?M(!1,e):e.which===d.Z.RIGHT&&M(!0,e),null==k||k(e)},onClick:function(e){var t=M(!L,e);null==w||w(t,e)}}),y,s.createElement("span",{className:"".concat(f,"-inner")},s.createElement("span",{className:"".concat(f,"-inner-checked")},x),s.createElement("span",{className:"".concat(f,"-inner-unchecked")},b)))}));f.displayName="Switch",t.Z=f},86351:function(e,t,n){"use strict";n.d(t,{R:function(){return i},w:function(){return r}});var r={},i="rc-table-internal-hook"},97347:function(e,t,n){"use strict";n.d(t,{L:function(){return v},Z:function(){return x}});var r=n(42978),i=n(20068),o=n(94480),a=n(76190),s=n(33885),l=n(75931),c=n(11592),u=(n(48736),n(59301)),d=n(86351),h=n(54451);function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var p=["children"],m=["fixed"];function v(e){return(0,c.Z)(e).filter((function(e){return u.isValidElement(e)})).map((function(e){var t=e.key,n=e.props,r=n.children,i=(0,l.Z)(n,p),o=(0,s.Z)({key:t},i);return r&&(o.children=v(r)),o}))}function g(e){return e.filter((function(e){return e&&"object"===(0,a.Z)(e)&&!e.hidden})).map((function(e){var t=e.children;return t&&t.length>0?(0,s.Z)((0,s.Z)({},e),{},{children:g(t)}):e}))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter((function(e){return e&&"object"===(0,a.Z)(e)})).reduce((function(e,n,r){var i=n.fixed,a=!0===i?"left":i,l="".concat(t,"-").concat(r),c=n.children;return c&&c.length>0?[].concat((0,o.Z)(e),(0,o.Z)(y(c,l).map((function(e){return(0,s.Z)({fixed:a},e)})))):[].concat((0,o.Z)(e),[(0,s.Z)((0,s.Z)({key:l},n),{},{fixed:a})])}),[])}var x=function(e,t){var n=e.prefixCls,o=e.columns,a=e.children,c=e.expandable,p=e.expandedKeys,x=e.columnTitle,b=e.getRowKey,w=e.onTriggerExpand,C=e.expandIcon,k=e.rowExpandable,A=e.expandIconColumnIndex,S=e.direction,E=e.expandRowByClick,L=e.columnWidth,N=e.fixed,M=e.scrollWidth,P=e.clientWidth,B=u.useMemo((function(){return g((o||v(a)||[]).slice())}),[o,a]),D=u.useMemo((function(){if(c){var e=B.slice();if(!e.includes(d.w)){var t=A||0;t>=0&&(t||"left"===N||!N)&&e.splice(t,0,d.w),"right"===N&&e.splice(B.length,0,d.w)}0;var r=e.indexOf(d.w);e=e.filter((function(e,t){return e!==d.w||t===r}));var o,a=B[r];o=N||(a?a.fixed:null);var s=(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},h.v,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",x),"fixed",o),"className","".concat(n,"-row-expand-icon-cell")),"width",L),"render",(function(e,t,r){var i=b(t,r),o=p.has(i),a=!k||k(t),s=C({prefixCls:n,expanded:o,expandable:a,record:t,onExpand:w});return E?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},s):s}));return e.map((function(e){return e===d.w?s:e}))}return B.filter((function(e){return e!==d.w}))}),[c,B,b,p,C,S]),Z=u.useMemo((function(){var e=D;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,D,S]),T=u.useMemo((function(){return"rtl"===S?function(e){return e.map((function(e){var t=e.fixed,n=(0,l.Z)(e,m),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,s.Z)({fixed:r},n)}))}(y(Z)):y(Z)}),[Z,S,M]),j=u.useMemo((function(){for(var e=-1,t=T.length-1;t>=0;t-=1){var n=T[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var i=T[r].fixed;if("left"!==i&&!0!==i)return!0}var o=T.findIndex((function(e){return"right"===e.fixed}));if(o>=0)for(var a=o;a<T.length;a+=1){if("right"!==T[a].fixed)return!0}return!1}),[T]),F=function(e,t,n){return u.useMemo((function(){if(t&&t>0){var r=0,i=0;e.forEach((function(e){var n=f(t,e.width);n?r+=n:i+=1}));var o=Math.max(t,n),a=Math.max(o-r,i),l=i,c=a/i,u=0,d=e.map((function(e){var n=(0,s.Z)({},e),r=f(t,n.width);if(r)n.width=r;else{var i=Math.floor(c);n.width=1===l?a:i,a-=i,l-=1}return u+=n.width,n}));if(u<o){var h=o/u;a=o,d.forEach((function(e,t){var n=Math.floor(e.width*h);e.width=t===d.length-1?a:n,a-=n}))}return[d,Math.max(u,o)]}return[e,t]}),[e,t,n])}(T,M,P),I=(0,r.Z)(F,2),W=I[0],O=I[1];return[Z,W,O,j]}},4030:function(e,t,n){"use strict";n.d(t,{w2:function(){return r.w},vP:function(){return oe.v},RQ:function(){return r.R},ER:function(){return H},Q$:function(){return De},TN:function(){return Ye}});var r=n(86351),i=n(42978),o=n(6089),a=n(34280),s=n(13697),l=n(59301),c=n(4676);function u(e){var t=l.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,r=e.children,o=l.useRef(n);o.current=n;var s=l.useState((function(){return{getValue:function(){return o.current},listeners:new Set}})),u=(0,i.Z)(s,1)[0];return(0,a.Z)((function(){(0,c.unstable_batchedUpdates)((function(){u.listeners.forEach((function(e){e(n)}))}))}),[n]),l.createElement(t.Provider,{value:u},r)},defaultValue:e}}function d(e,t){var n=(0,o.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach((function(t){n[t]=e[t]})),n}),r=l.useContext(null==e?void 0:e.Context),c=r||{},u=c.listeners,d=c.getValue,h=l.useRef();h.current=n(r?d():null==e?void 0:e.defaultValue);var f=l.useState({}),p=(0,i.Z)(f,2)[1];return(0,a.Z)((function(){if(r)return u.add(e),function(){u.delete(e)};function e(e){var t=n(e);(0,s.Z)(h.current,t,!0)||p({})}}),[r]),h.current}var h=n(54476),f=n(8654);function p(){var e=l.createContext(null);function t(){return l.useContext(e)}return{makeImmutable:function(n,r){var i=(0,f.Yr)(n),o=function(o,a){var s=i?{ref:a}:{},c=l.useRef(0),u=l.useRef(o);return null!==t()?l.createElement(n,(0,h.Z)({},o,s)):(r&&!r(u.current,o)||(c.current+=1),u.current=o,l.createElement(e.Provider,{value:c.current},l.createElement(n,(0,h.Z)({},o,s))))};return i?l.forwardRef(o):o},responseImmutable:function(e,n){var r=(0,f.Yr)(e),i=function(n,i){var o=r?{ref:i}:{};return t(),l.createElement(e,(0,h.Z)({},n,o))};return r?l.memo(l.forwardRef(i),n):l.memo(i,n)},useImmutableMark:t}}var m=p(),v=(m.makeImmutable,m.responseImmutable,m.useImmutableMark,p()),g=v.makeImmutable,y=v.responseImmutable,x=v.useImmutableMark,b=u();var w=n(76190),C=n(33885),k=n(20068),A=n(92310),S=n.n(A),E=n(80547),L=n(97938),N=(n(48736),l.createContext({renderWithProps:!1}));function M(e){var t=[],n={};return e.forEach((function(e){for(var r,i=e||{},o=i.key,a=i.dataIndex,s=o||(r=a,null==r?[]:Array.isArray(r)?r:[r]).join("-")||"RC_TABLE_KEY";n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)})),t}function P(e){return null!=e}function B(e,t,n,r,o,a){var c=l.useContext(N),u=x();return(0,E.Z)((function(){if(P(r))return[r];var i,a=null==t||""===t?[]:Array.isArray(t)?t:[t],s=(0,L.Z)(e,a),u=s,d=void 0;if(o){var h=o(s,e,n);!(i=h)||"object"!==(0,w.Z)(i)||Array.isArray(i)||l.isValidElement(i)?u=h:(u=h.children,d=h.props,c.renderWithProps=!0)}return[u,d]}),[u,e,r,t,o,n],(function(e,t){if(a){var n=(0,i.Z)(e,2)[1],r=(0,i.Z)(t,2)[1];return a(r,n)}return!!c.renderWithProps||!(0,s.Z)(e,t,!0)}))}var D=n(70425);function Z(e){var t,n,r,o,a,s,c,u;var f=e.component,p=e.children,m=e.ellipsis,v=e.scope,g=e.prefixCls,y=e.className,x=e.align,A=e.record,E=e.render,L=e.dataIndex,N=e.renderIndex,M=e.shouldCellUpdate,P=e.index,Z=e.rowType,T=e.colSpan,j=e.rowSpan,F=e.fixLeft,I=e.fixRight,W=e.firstFixLeft,O=e.lastFixLeft,R=e.firstFixRight,z=e.lastFixRight,H=e.appendNode,V=e.additionalProps,K=void 0===V?{}:V,Y=e.isSticky,G="".concat(g,"-cell"),U=d(b,["supportSticky","allColumnsFixedLeft","rowHoverable"]),X=U.supportSticky,Q=U.allColumnsFixedLeft,J=U.rowHoverable,q=B(A,L,N,p,E,M),_=(0,i.Z)(q,2),$=_[0],ee=_[1],te={},ne="number"==typeof F&&X,re="number"==typeof I&&X;ne&&(te.position="sticky",te.left=F),re&&(te.position="sticky",te.right=I);var ie=null!==(t=null!==(n=null!==(r=null==ee?void 0:ee.colSpan)&&void 0!==r?r:K.colSpan)&&void 0!==n?n:T)&&void 0!==t?t:1,oe=null!==(o=null!==(a=null!==(s=null==ee?void 0:ee.rowSpan)&&void 0!==s?s:K.rowSpan)&&void 0!==a?a:j)&&void 0!==o?o:1,ae=function(e,t){return d(b,(function(n){var r,i,o,a;return[(r=e,i=t||1,o=n.hoverStartRow,a=n.hoverEndRow,r<=a&&r+i-1>=o),n.onHover]}))}(P,oe),se=(0,i.Z)(ae,2),le=se[0],ce=se[1],ue=(0,D.zX)((function(e){var t;A&&ce(P,P+oe-1),null==K||null===(t=K.onMouseEnter)||void 0===t||t.call(K,e)})),de=(0,D.zX)((function(e){var t;A&&ce(-1,-1),null==K||null===(t=K.onMouseLeave)||void 0===t||t.call(K,e)}));if(0===ie||0===oe)return null;var he=null!==(c=K.title)&&void 0!==c?c:function(e){var t,n=e.ellipsis,r=e.rowType,i=e.children,o=!0===n?{showTitle:!0}:n;return o&&(o.showTitle||"header"===r)&&("string"==typeof i||"number"==typeof i?t=i.toString():l.isValidElement(i)&&"string"==typeof i.props.children&&(t=i.props.children)),t}({rowType:Z,ellipsis:m,children:$}),fe=S()(G,y,(u={},(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)(u,"".concat(G,"-fix-left"),ne&&X),"".concat(G,"-fix-left-first"),W&&X),"".concat(G,"-fix-left-last"),O&&X),"".concat(G,"-fix-left-all"),O&&Q&&X),"".concat(G,"-fix-right"),re&&X),"".concat(G,"-fix-right-first"),R&&X),"".concat(G,"-fix-right-last"),z&&X),"".concat(G,"-ellipsis"),m),"".concat(G,"-with-append"),H),"".concat(G,"-fix-sticky"),(ne||re)&&Y&&X),(0,k.Z)(u,"".concat(G,"-row-hover"),!ee&&le)),K.className,null==ee?void 0:ee.className),pe={};x&&(pe.textAlign=x);var me=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},null==ee?void 0:ee.style),te),pe),K.style),ve=$;return"object"!==(0,w.Z)(ve)||Array.isArray(ve)||l.isValidElement(ve)||(ve=null),m&&(O||R)&&(ve=l.createElement("span",{className:"".concat(G,"-content")},ve)),l.createElement(f,(0,h.Z)({},ee,K,{className:fe,style:me,title:he,scope:v,onMouseEnter:J?ue:void 0,onMouseLeave:J?de:void 0,colSpan:1!==ie?ie:null,rowSpan:1!==oe?oe:null}),H,ve)}var T=l.memo(Z);function j(e,t,n,r,i){var o,a,s=n[e]||{},l=n[t]||{};"left"===s.fixed?o=r.left["rtl"===i?t:e]:"right"===l.fixed&&(a=r.right["rtl"===i?e:t]);var c=!1,u=!1,d=!1,h=!1,f=n[t+1],p=n[e-1],m=f&&!f.fixed||p&&!p.fixed||n.every((function(e){return"left"===e.fixed}));if("rtl"===i){if(void 0!==o)h=!(p&&"left"===p.fixed)&&m;else if(void 0!==a){d=!(f&&"right"===f.fixed)&&m}}else if(void 0!==o){c=!(f&&"left"===f.fixed)&&m}else if(void 0!==a){u=!(p&&"right"===p.fixed)&&m}return{fixLeft:o,fixRight:a,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:h,isSticky:r.isSticky}}var F=l.createContext({});var I=n(75931),W=["children"];function O(e){return e.children}O.Row=function(e){var t=e.children,n=(0,I.Z)(e,W);return l.createElement("tr",n,t)},O.Cell=function(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=void 0===i?1:i,a=e.rowSpan,s=e.align,c=d(b,["prefixCls","direction"]),u=c.prefixCls,f=c.direction,p=l.useContext(F),m=p.scrollColumnIndex,v=p.stickyOffsets,g=n+o-1+1===m?o+1:o,y=j(n,n+g-1,p.flattenColumns,v,f);return l.createElement(T,(0,h.Z)({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:g,rowSpan:a,render:function(){return r}},y))};var R=O;var z=y((function(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=d(b,"prefixCls"),o=r.length-1,a=r[o],s=l.useMemo((function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:null!=a&&a.scrollbar?o:null}}),[a,r,o,n]);return l.createElement(F.Provider,{value:s},l.createElement("tfoot",{className:"".concat(i,"-summary")},t))})),H=R,V=n(29301),K=n(24514),Y=n(75152),G=n(26112);function U(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var s=o(t),l=null==i?void 0:i.has(s);if(t&&Array.isArray(t[r])&&l)for(var c=0;c<t[r].length;c+=1)U(e,t[r][c],n+1,r,i,o,c)}function X(e,t,n,r){return l.useMemo((function(){if(null!=n&&n.size){for(var i=[],o=0;o<(null==e?void 0:e.length);o+=1){U(i,e[o],0,t,n,r,o)}return i}return null==e?void 0:e.map((function(e,t){return{record:e,indent:0,index:t}}))}),[e,t,n,r])}function Q(e,t,n,r){var i,o=d(b,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),a=o.flattenColumns,s=o.expandableType,l=o.expandedKeys,c=o.childrenColumnName,u=o.onTriggerExpand,h=o.rowExpandable,f=o.onRow,p=o.expandRowByClick,m=o.rowClassName,v="nest"===s,g="row"===s&&(!h||h(e)),y=g||v,x=l&&l.has(t),w=c&&e&&e[c],k=(0,D.zX)(u),A=null==f?void 0:f(e,n),E=null==A?void 0:A.onClick;"string"==typeof m?i=m:"function"==typeof m&&(i=m(e,n,r));var L=M(a);return(0,C.Z)((0,C.Z)({},o),{},{columnsKey:L,nestExpandable:v,expanded:x,hasNestChildren:w,record:e,onTriggerExpand:k,rowSupportExpand:g,expandable:y,rowProps:(0,C.Z)((0,C.Z)({},A),{},{className:S()(i,null==A?void 0:A.className),onClick:function(t){p&&y&&u(e,t);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null==E||E.apply(void 0,[t].concat(r))}})})}var J=function(e){var t=e.prefixCls,n=e.children,r=e.component,i=e.cellComponent,o=e.className,a=e.expanded,s=e.colSpan,c=e.isEmpty,u=d(b,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),h=u.scrollbarSize,f=u.fixHeader,p=u.fixColumn,m=u.componentWidth,v=u.horizonScroll,g=n;return(c?v&&m:p)&&(g=l.createElement("div",{style:{width:m-(f&&!c?h:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},g)),l.createElement(r,{className:o,style:{display:a?null:"none"}},l.createElement(T,{component:i,prefixCls:t,colSpan:s},g))};function q(e){var t=e.prefixCls,n=e.record,r=e.onExpand,i=e.expanded,o=e.expandable,a="".concat(t,"-row-expand-icon");if(!o)return l.createElement("span",{className:S()(a,"".concat(t,"-row-spaced"))});return l.createElement("span",{className:S()(a,(0,k.Z)((0,k.Z)({},"".concat(t,"-row-expanded"),i),"".concat(t,"-row-collapsed"),!i)),onClick:function(e){r(n,e),e.stopPropagation()}})}function _(e,t,n,r){return"string"==typeof e?e:"function"==typeof e?e(t,n,r):""}function $(e,t,n,r,i){var o,a,s=e.record,c=e.prefixCls,u=e.columnsKey,d=e.fixedInfoList,h=e.expandIconColumnIndex,f=e.nestExpandable,p=e.indentSize,m=e.expandIcon,v=e.expanded,g=e.hasNestChildren,y=e.onTriggerExpand,x=u[n],b=d[n];return n===(h||0)&&f&&(o=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(p*r,"px")},className:"".concat(c,"-row-indent indent-level-").concat(r)}),m({prefixCls:c,expanded:v,expandable:g,record:s,onExpand:y}))),t.onCell&&(a=t.onCell(s,i)),{key:x,fixedInfo:b,appendCellNode:o,additionalCellProps:a||{}}}var ee=y((function(e){var t=e.className,n=e.style,r=e.record,i=e.index,o=e.renderIndex,a=e.rowKey,s=e.indent,c=void 0===s?0:s,u=e.rowComponent,d=e.cellComponent,f=e.scopeCellComponent,p=Q(r,a,i,c),m=p.prefixCls,v=p.flattenColumns,g=p.expandedRowClassName,y=p.expandedRowRender,x=p.rowProps,b=p.expanded,w=p.rowSupportExpand,A=l.useRef(!1);A.current||(A.current=b);var E,L=_(g,r,i,c),N=l.createElement(u,(0,h.Z)({},x,{"data-row-key":a,className:S()(t,"".concat(m,"-row"),"".concat(m,"-row-level-").concat(c),null==x?void 0:x.className,(0,k.Z)({},L,c>=1)),style:(0,C.Z)((0,C.Z)({},n),null==x?void 0:x.style)}),v.map((function(e,t){var n=e.render,a=e.dataIndex,s=e.className,u=$(p,e,t,c,i),v=u.key,g=u.fixedInfo,y=u.appendCellNode,x=u.additionalCellProps;return l.createElement(T,(0,h.Z)({className:s,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?f:d,prefixCls:m,key:v,record:r,index:i,renderIndex:o,dataIndex:a,render:n,shouldCellUpdate:e.shouldCellUpdate},g,{appendNode:y,additionalProps:x}))})));if(w&&(A.current||b)){var M=y(r,i,c+1,b);E=l.createElement(J,{expanded:b,className:S()("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(c+1),L),prefixCls:m,component:u,cellComponent:d,colSpan:v.length,isEmpty:!1},M)}return l.createElement(l.Fragment,null,N,E)}));function te(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return(0,a.Z)((function(){r.current&&n(t,r.current.offsetWidth)}),[]),l.createElement(V.Z,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}var ne=n(29194);function re(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize,i=l.useRef(null);return l.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0},ref:i},l.createElement(V.Z.Collection,{onBatchResize:function(e){(0,ne.Z)(i.current)&&e.forEach((function(e){var t=e.data,n=e.size;r(t,n.offsetWidth)}))}},n.map((function(e){return l.createElement(te,{key:e,columnKey:e,onColumnResize:r})}))))}var ie=y((function(e){var t,n=e.data,r=e.measureColumnWidth,i=d(b,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),o=i.prefixCls,a=i.getComponent,s=i.onColumnResize,c=i.flattenColumns,u=i.getRowKey,h=i.expandedKeys,f=i.childrenColumnName,p=i.emptyNode,m=X(n,f,h,u),v=l.useRef({renderWithProps:!1}),g=a(["body","wrapper"],"tbody"),y=a(["body","row"],"tr"),x=a(["body","cell"],"td"),w=a(["body","cell"],"th");t=n.length?m.map((function(e,t){var n=e.record,r=e.indent,i=e.index,o=u(n,t);return l.createElement(ee,{key:o,rowKey:o,record:n,index:t,renderIndex:i,rowComponent:y,cellComponent:x,scopeCellComponent:w,indent:r})})):l.createElement(J,{expanded:!0,className:"".concat(o,"-placeholder"),prefixCls:o,component:y,cellComponent:x,colSpan:c.length,isEmpty:!0},p);var C=M(c);return l.createElement(N.Provider,{value:v.current},l.createElement(g,{className:"".concat(o,"-tbody")},r&&l.createElement(re,{prefixCls:o,columnsKey:C,onColumnResize:s}),t))})),oe=n(54451),ae=["columnType"];var se=function(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=d(b,["tableLayout"]).tableLayout,o=[],a=!1,s=(r||n.length)-1;s>=0;s-=1){var c=t[s],u=n&&n[s],f=void 0,p=void 0;if(u&&(f=u[oe.v],"auto"===i&&(p=u.minWidth)),c||p||f||a){var m=f||{},v=(m.columnType,(0,I.Z)(m,ae));o.unshift(l.createElement("col",(0,h.Z)({key:s,style:{width:c,minWidth:p}},v))),a=!0}}return l.createElement("colgroup",null,o)},le=n(94480),ce=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var ue=l.forwardRef((function(e,t){var n=e.className,r=e.noData,i=e.columns,o=e.flattenColumns,a=e.colWidths,s=e.columCount,c=e.stickyOffsets,u=e.direction,h=e.fixHeader,p=e.stickyTopOffset,m=e.stickyBottomOffset,v=e.stickyClassName,g=e.onScroll,y=e.maxContentScroll,x=e.children,w=(0,I.Z)(e,ce),A=d(b,["prefixCls","scrollbarSize","isSticky","getComponent"]),E=A.prefixCls,L=A.scrollbarSize,N=A.isSticky,M=(0,A.getComponent)(["header","table"],"table"),P=N&&!h?0:L,B=l.useRef(null),D=l.useCallback((function(e){(0,f.mH)(t,e),(0,f.mH)(B,e)}),[]);l.useEffect((function(){var e;function t(e){var t=e,n=t.currentTarget,r=t.deltaX;r&&(g({currentTarget:n,scrollLeft:n.scrollLeft+r}),e.preventDefault())}return null===(e=B.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=B.current)||void 0===e||e.removeEventListener("wheel",t)}}),[]);var Z=l.useMemo((function(){return o.every((function(e){return e.width}))}),[o]),T=o[o.length-1],j={fixed:T?T.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(E,"-cell-scrollbar")}}},F=(0,l.useMemo)((function(){return P?[].concat((0,le.Z)(i),[j]):i}),[P,i]),W=(0,l.useMemo)((function(){return P?[].concat((0,le.Z)(o),[j]):o}),[P,o]),O=(0,l.useMemo)((function(){var e=c.right,t=c.left;return(0,C.Z)((0,C.Z)({},c),{},{left:"rtl"===u?[].concat((0,le.Z)(t.map((function(e){return e+P}))),[0]):t,right:"rtl"===u?e:[].concat((0,le.Z)(e.map((function(e){return e+P}))),[0]),isSticky:N})}),[P,c,N]),R=function(e,t){return(0,l.useMemo)((function(){for(var n=[],r=0;r<t;r+=1){var i=e[r];if(void 0===i)return null;n[r]=i}return n}),[e.join("_"),t])}(a,s);return l.createElement("div",{style:(0,C.Z)({overflow:"hidden"},N?{top:p,bottom:m}:{}),ref:D,className:S()(n,(0,k.Z)({},v,!!v))},l.createElement(M,{style:{tableLayout:"fixed",visibility:r||R?null:"hidden"}},(!r||!y||Z)&&l.createElement(se,{colWidths:R?[].concat((0,le.Z)(R),[P]):[],columCount:s+1,columns:W}),x((0,C.Z)((0,C.Z)({},w),{},{stickyOffsets:O,columns:F,flattenColumns:W}))))}));var de=l.memo(ue);var he=function(e){var t,n=e.cells,r=e.stickyOffsets,i=e.flattenColumns,o=e.rowComponent,a=e.cellComponent,s=e.onHeaderRow,c=e.index,u=d(b,["prefixCls","direction"]),f=u.prefixCls,p=u.direction;s&&(t=s(n.map((function(e){return e.column})),c));var m=M(n.map((function(e){return e.column})));return l.createElement(o,t,n.map((function(e,t){var n,o=e.column,s=j(e.colStart,e.colEnd,i,r,p);return o&&o.onHeaderCell&&(n=e.column.onHeaderCell(o)),l.createElement(T,(0,h.Z)({},e,{scope:o.title?e.colSpan>1?"colgroup":"col":null,ellipsis:o.ellipsis,align:o.align,component:a,prefixCls:f,key:m[t]},s,{additionalProps:n,rowType:"header"}))})))};var fe=y((function(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,i=e.onHeaderRow,o=d(b,["prefixCls","getComponent"]),a=o.prefixCls,s=o.getComponent,c=l.useMemo((function(){return function(e){var t=[];!function e(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[i]=t[i]||[];var o=r;return n.filter(Boolean).map((function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:o},a=1,s=n.children;return s&&s.length>0&&(a=e(s,o,i+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[i].push(r),o+=a,a}))}(e,0);for(var n=t.length,r=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=n-e)}))},i=0;i<n;i+=1)r(i);return t}(n)}),[n]),u=s(["header","wrapper"],"thead"),h=s(["header","row"],"tr"),f=s(["header","cell"],"th");return l.createElement(u,{className:"".concat(a,"-thead")},c.map((function(e,n){return l.createElement(he,{key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:h,cellComponent:f,onHeaderRow:i,index:n})})))})),pe=n(97347);var me=(0,n(47273).Z)()?window:null;var ve=function(e,t,n){return(0,l.useMemo)((function(){var r=t.length,i=function(n,r,i){for(var o=[],a=0,s=n;s!==r;s+=i)o.push(a),t[s].fixed&&(a+=e[s]||0);return o},o=i(0,r,1),a=i(r-1,-1,-1).reverse();return"rtl"===n?{left:a,right:o}:{left:o,right:a}}),[e,t,n])};var ge=function(e){var t=e.className,n=e.children;return l.createElement("div",{className:t},n)},ye=n(8224),xe=n(16089),be=n(76846);function we(e){var t=(0,be.bn)(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var Ce=function(e,t){var n,r,o,a,s,c,u,h,f=e.scrollBodyRef,p=e.onScroll,m=e.offsetScroll,v=e.container,g=e.direction,y=d(b,"prefixCls"),x=(null===(n=f.current)||void 0===n?void 0:n.scrollWidth)||0,w=(null===(r=f.current)||void 0===r?void 0:r.clientWidth)||0,A=x&&w*(w/x),E=l.useRef(),L=(o={scrollLeft:0,isHiddenScrollBar:!0},a=(0,l.useRef)(o),s=(0,l.useState)({}),c=(0,i.Z)(s,2)[1],u=(0,l.useRef)(null),h=(0,l.useRef)([]),(0,l.useEffect)((function(){return function(){u.current=null}}),[]),[a.current,function(e){h.current.push(e);var t=Promise.resolve();u.current=t,t.then((function(){if(u.current===t){var e=h.current,n=a.current;h.current=[],e.forEach((function(e){a.current=e(a.current)})),u.current=null,n!==a.current&&c({})}}))}]),N=(0,i.Z)(L,2),M=N[0],P=N[1],B=l.useRef({delta:0,x:0}),D=l.useState(!1),Z=(0,i.Z)(D,2),T=Z[0],j=Z[1],F=l.useRef(null);l.useEffect((function(){return function(){xe.Z.cancel(F.current)}}),[]);var I=function(){j(!1)},W=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(T&&0!==n){var r=B.current.x+e.pageX-B.current.x-B.current.delta,i="rtl"===g;r=Math.max(i?A-w:0,Math.min(i?0:w-A,r)),(!i||Math.abs(r)+Math.abs(A)<w)&&(p({scrollLeft:r/w*(x+2)}),B.current.x=e.pageX)}else T&&j(!1)},O=function(){xe.Z.cancel(F.current),F.current=(0,xe.Z)((function(){if(f.current){var e=we(f.current).top,t=e+f.current.offsetHeight,n=v===window?document.documentElement.scrollTop+window.innerHeight:we(v).top+v.clientHeight;t-(0,Y.Z)()<=n||e>=n-m?P((function(e){return(0,C.Z)((0,C.Z)({},e),{},{isHiddenScrollBar:!0})})):P((function(e){return(0,C.Z)((0,C.Z)({},e),{},{isHiddenScrollBar:!1})}))}}))},R=function(e){P((function(t){return(0,C.Z)((0,C.Z)({},t),{},{scrollLeft:e/x*w||0})}))};return l.useImperativeHandle(t,(function(){return{setScrollLeft:R,checkScrollBarVisible:O}})),l.useEffect((function(){var e=(0,ye.Z)(document.body,"mouseup",I,!1),t=(0,ye.Z)(document.body,"mousemove",W,!1);return O(),function(){e.remove(),t.remove()}}),[A,T]),l.useEffect((function(){if(f.current){for(var e=[],t=(0,be.bn)(f.current);t;)e.push(t),t=t.parentElement;return e.forEach((function(e){return e.addEventListener("scroll",O,!1)})),window.addEventListener("resize",O,!1),window.addEventListener("scroll",O,!1),v.addEventListener("scroll",O,!1),function(){e.forEach((function(e){return e.removeEventListener("scroll",O)})),window.removeEventListener("resize",O),window.removeEventListener("scroll",O),v.removeEventListener("scroll",O)}}}),[v]),l.useEffect((function(){M.isHiddenScrollBar||P((function(e){var t=f.current;return t?(0,C.Z)((0,C.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e}))}),[M.isHiddenScrollBar]),x<=w||!A||M.isHiddenScrollBar?null:l.createElement("div",{style:{height:(0,Y.Z)(),width:w,bottom:m},className:"".concat(y,"-sticky-scroll")},l.createElement("div",{onMouseDown:function(e){e.persist(),B.current.delta=e.pageX-M.scrollLeft,B.current.x=0,j(!0),e.preventDefault()},ref:E,className:S()("".concat(y,"-sticky-scroll-bar"),(0,k.Z)({},"".concat(y,"-sticky-scroll-bar-active"),T)),style:{width:"".concat(A,"px"),transform:"translate3d(".concat(M.scrollLeft,"px, 0, 0)")}}))},ke=l.forwardRef(Ce);var Ae=function(e){return null};var Se=function(e){return null},Ee="rc-table",Le=[],Ne={};function Me(){return"No Data"}function Pe(e,t){var n=(0,C.Z)({rowKey:"key",prefixCls:Ee,emptyText:Me},e),c=n.prefixCls,u=n.className,d=n.rowClassName,f=n.style,p=n.data,m=n.rowKey,v=n.scroll,g=n.tableLayout,y=n.direction,x=n.title,A=n.footer,N=n.summary,B=n.caption,D=n.id,Z=n.showHeader,T=n.components,F=n.emptyText,I=n.onRow,W=n.onHeaderRow,O=n.onScroll,H=n.internalHooks,U=n.transformColumns,X=n.internalRefs,Q=n.tailor,J=n.getContainerWidth,_=n.sticky,$=n.rowHoverable,ee=void 0===$||$,te=p||Le,ne=!!te.length,re=H===r.R;var ae=l.useCallback((function(e,t){return(0,L.Z)(T,e)||t}),[T]),ce=l.useMemo((function(){return"function"==typeof m?m:function(e){return e&&e[m]}}),[m]),ue=ae(["body"]),he=function(){var e=l.useState(-1),t=(0,i.Z)(e,2),n=t[0],r=t[1],o=l.useState(-1),a=(0,i.Z)(o,2),s=a[0],c=a[1];return[n,s,l.useCallback((function(e,t){r(e),c(t)}),[])]}(),ye=(0,i.Z)(he,3),xe=ye[0],we=ye[1],Ce=ye[2],Ae=function(e,t,n){var o=(0,oe.g)(e),a=o.expandIcon,s=o.expandedRowKeys,c=o.defaultExpandedRowKeys,u=o.defaultExpandAllRows,d=o.expandedRowRender,h=o.onExpand,f=o.onExpandedRowsChange,p=a||q,m=o.childrenColumnName||"children",v=l.useMemo((function(){return d?"row":!!(e.expandable&&e.internalHooks===r.R&&e.expandable.__PARENT_RENDER_ICON__||t.some((function(e){return e&&"object"===(0,w.Z)(e)&&e[m]})))&&"nest"}),[!!d,t]),g=l.useState((function(){return c||(u?function(e,t,n){var r=[];return function e(i){(i||[]).forEach((function(i,o){r.push(t(i,o)),e(i[n])}))}(e),r}(t,n,m):[])})),y=(0,i.Z)(g,2),x=y[0],b=y[1],C=l.useMemo((function(){return new Set(s||x||[])}),[s,x]),k=l.useCallback((function(e){var r,i=n(e,t.indexOf(e)),o=C.has(i);o?(C.delete(i),r=(0,le.Z)(C)):r=[].concat((0,le.Z)(C),[i]),b(r),h&&h(!o,e),f&&f(r)}),[n,C,t,h,f]);return[o,v,C,p,m,k]}(n,te,ce),Se=(0,i.Z)(Ae,6),Pe=Se[0],Be=Se[1],De=Se[2],Ze=Se[3],Te=Se[4],je=Se[5],Fe=null==v?void 0:v.x,Ie=l.useState(0),We=(0,i.Z)(Ie,2),Oe=We[0],Re=We[1],ze=(0,pe.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},n),Pe),{},{expandable:!!Pe.expandedRowRender,columnTitle:Pe.columnTitle,expandedKeys:De,getRowKey:ce,onTriggerExpand:je,expandIcon:Ze,expandIconColumnIndex:Pe.expandIconColumnIndex,direction:y,scrollWidth:re&&Q&&"number"==typeof Fe?Fe:null,clientWidth:Oe}),re?U:null),He=(0,i.Z)(ze,4),Ve=He[0],Ke=He[1],Ye=He[2],Ge=He[3],Ue=null!=Ye?Ye:Fe,Xe=l.useMemo((function(){return{columns:Ve,flattenColumns:Ke}}),[Ve,Ke]),Qe=l.useRef(),Je=l.useRef(),qe=l.useRef(),_e=l.useRef();l.useImperativeHandle(t,(function(){return{nativeElement:Qe.current,scrollTo:function(e){var t,n;if(qe.current instanceof HTMLElement){var r=e.index,i=e.top,o=e.key;if("number"!=typeof(n=i)||Number.isNaN(n)){var a,s=null!=o?o:ce(te[r]);null===(a=qe.current.querySelector('[data-row-key="'.concat(s,'"]')))||void 0===a||a.scrollIntoView()}else{var l;null===(l=qe.current)||void 0===l||l.scrollTo({top:i})}}else null!==(t=qe.current)&&void 0!==t&&t.scrollTo&&qe.current.scrollTo(e)}}}));var $e,et,tt,nt=l.useRef(),rt=l.useState(!1),it=(0,i.Z)(rt,2),ot=it[0],at=it[1],st=l.useState(!1),lt=(0,i.Z)(st,2),ct=lt[0],ut=lt[1],dt=l.useState(new Map),ht=(0,i.Z)(dt,2),ft=ht[0],pt=ht[1],mt=M(Ke).map((function(e){return ft.get(e)})),vt=l.useMemo((function(){return mt}),[mt.join("_")]),gt=ve(vt,Ke,y),yt=v&&P(v.y),xt=v&&P(Ue)||Boolean(Pe.fixed),bt=xt&&Ke.some((function(e){return e.fixed})),wt=l.useRef(),Ct=function(e,t){var n="object"===(0,w.Z)(e)?e:{},r=n.offsetHeader,i=void 0===r?0:r,o=n.offsetSummary,a=void 0===o?0:o,s=n.offsetScroll,c=void 0===s?0:s,u=n.getContainer,d=(void 0===u?function(){return me}:u)()||me,h=!!e;return l.useMemo((function(){return{isSticky:h,stickyClassName:h?"".concat(t,"-sticky-holder"):"",offsetHeader:i,offsetSummary:a,offsetScroll:c,container:d}}),[h,c,i,a,t,d])}(_,c),kt=Ct.isSticky,At=Ct.offsetHeader,St=Ct.offsetSummary,Et=Ct.offsetScroll,Lt=Ct.stickyClassName,Nt=Ct.container,Mt=l.useMemo((function(){return null==N?void 0:N(te)}),[N,te]),Pt=(yt||kt)&&l.isValidElement(Mt)&&Mt.type===R&&Mt.props.fixed;yt&&(et={overflowY:ne?"scroll":"auto",maxHeight:v.y}),xt&&($e={overflowX:"auto"},yt||(et={overflowY:"hidden"}),tt={width:!0===Ue?"auto":Ue,minWidth:"100%"});var Bt=l.useCallback((function(e,t){pt((function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n}))}),[]),Dt=function(e){var t=(0,l.useRef)(e||null),n=(0,l.useRef)();function r(){window.clearTimeout(n.current)}return(0,l.useEffect)((function(){return r}),[]),[function(e){t.current=e,r(),n.current=window.setTimeout((function(){t.current=null,n.current=void 0}),100)},function(){return t.current}]}(null),Zt=(0,i.Z)(Dt,2),Tt=Zt[0],jt=Zt[1];function Ft(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout((function(){t.scrollLeft=e}),0)))}var It=(0,o.Z)((function(e){var t,n=e.currentTarget,r=e.scrollLeft,i="rtl"===y,o="number"==typeof r?r:n.scrollLeft,a=n||Ne;jt()&&jt()!==a||(Tt(a),Ft(o,Je.current),Ft(o,qe.current),Ft(o,nt.current),Ft(o,null===(t=wt.current)||void 0===t?void 0:t.setScrollLeft));var s=n||Je.current;if(s){var l=re&&Q&&"number"==typeof Ue?Ue:s.scrollWidth,c=s.clientWidth;if(l===c)return at(!1),void ut(!1);i?(at(-o<l-c),ut(-o>0)):(at(o>0),ut(o<l-c))}})),Wt=(0,o.Z)((function(e){It(e),null==O||O(e)})),Ot=function(){var e;xt&&qe.current?It({currentTarget:(0,be.bn)(qe.current),scrollLeft:null===(e=qe.current)||void 0===e?void 0:e.scrollLeft}):(at(!1),ut(!1))},Rt=l.useRef(!1);l.useEffect((function(){Rt.current&&Ot()}),[xt,p,Ve.length]),l.useEffect((function(){Rt.current=!0}),[]);var zt=l.useState(0),Ht=(0,i.Z)(zt,2),Vt=Ht[0],Kt=Ht[1],Yt=l.useState(!0),Gt=(0,i.Z)(Yt,2),Ut=Gt[0],Xt=Gt[1];(0,a.Z)((function(){Q&&re||(qe.current instanceof Element?Kt((0,Y.o)(qe.current).width):Kt((0,Y.o)(_e.current).width)),Xt((0,K.G)("position","sticky"))}),[]),l.useEffect((function(){re&&X&&(X.body.current=qe.current)}));var Qt,Jt=l.useCallback((function(e){return l.createElement(l.Fragment,null,l.createElement(fe,e),"top"===Pt&&l.createElement(z,e,Mt))}),[Pt,Mt]),qt=l.useCallback((function(e){return l.createElement(z,e,Mt)}),[Mt]),_t=ae(["table"],"table"),$t=l.useMemo((function(){return g||(bt?"max-content"===Ue?"auto":"fixed":yt||kt||Ke.some((function(e){return e.ellipsis}))?"fixed":"auto")}),[yt,bt,Ke,g,kt]),en={colWidths:vt,columCount:Ke.length,stickyOffsets:gt,onHeaderRow:W,fixHeader:yt,scroll:v},tn=l.useMemo((function(){return ne?null:"function"==typeof F?F():F}),[ne,F]),nn=l.createElement(ie,{data:te,measureColumnWidth:yt||xt||kt}),rn=l.createElement(se,{colWidths:Ke.map((function(e){return e.width})),columns:Ke}),on=null!=B?l.createElement("caption",{className:"".concat(c,"-caption")},B):void 0,an=(0,G.Z)(n,{data:!0}),sn=(0,G.Z)(n,{aria:!0});if(yt||kt){var ln;"function"==typeof ue?(ln=ue(te,{scrollbarSize:Vt,ref:qe,onScroll:It}),en.colWidths=Ke.map((function(e,t){var n=e.width,r=t===Ke.length-1?n-Vt:n;return"number"!=typeof r||Number.isNaN(r)?0:r}))):ln=l.createElement("div",{style:(0,C.Z)((0,C.Z)({},$e),et),onScroll:Wt,ref:qe,className:S()("".concat(c,"-body"))},l.createElement(_t,(0,h.Z)({style:(0,C.Z)((0,C.Z)({},tt),{},{tableLayout:$t})},sn),on,rn,nn,!Pt&&Mt&&l.createElement(z,{stickyOffsets:gt,flattenColumns:Ke},Mt)));var cn=(0,C.Z)((0,C.Z)((0,C.Z)({noData:!te.length,maxContentScroll:xt&&"max-content"===Ue},en),Xe),{},{direction:y,stickyClassName:Lt,onScroll:It});Qt=l.createElement(l.Fragment,null,!1!==Z&&l.createElement(de,(0,h.Z)({},cn,{stickyTopOffset:At,className:"".concat(c,"-header"),ref:Je}),Jt),ln,Pt&&"top"!==Pt&&l.createElement(de,(0,h.Z)({},cn,{stickyBottomOffset:St,className:"".concat(c,"-summary"),ref:nt}),qt),kt&&qe.current&&qe.current instanceof Element&&l.createElement(ke,{ref:wt,offsetScroll:Et,scrollBodyRef:qe,onScroll:It,container:Nt,direction:y}))}else Qt=l.createElement("div",{style:(0,C.Z)((0,C.Z)({},$e),et),className:S()("".concat(c,"-content")),onScroll:It,ref:qe},l.createElement(_t,(0,h.Z)({style:(0,C.Z)((0,C.Z)({},tt),{},{tableLayout:$t})},sn),on,rn,!1!==Z&&l.createElement(fe,(0,h.Z)({},en,Xe)),nn,Mt&&l.createElement(z,{stickyOffsets:gt,flattenColumns:Ke},Mt)));var un=l.createElement("div",(0,h.Z)({className:S()(c,u,(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(c,"-rtl"),"rtl"===y),"".concat(c,"-ping-left"),ot),"".concat(c,"-ping-right"),ct),"".concat(c,"-layout-fixed"),"fixed"===g),"".concat(c,"-fixed-header"),yt),"".concat(c,"-fixed-column"),bt),"".concat(c,"-fixed-column-gapped"),bt&&Ge),"".concat(c,"-scroll-horizontal"),xt),"".concat(c,"-has-fix-left"),Ke[0]&&Ke[0].fixed),"".concat(c,"-has-fix-right"),Ke[Ke.length-1]&&"right"===Ke[Ke.length-1].fixed)),style:f,id:D,ref:Qe},an),x&&l.createElement(ge,{className:"".concat(c,"-title")},x(te)),l.createElement("div",{ref:_e,className:"".concat(c,"-container")},Qt),A&&l.createElement(ge,{className:"".concat(c,"-footer")},A(te)));xt&&(un=l.createElement(V.Z,{onResize:function(e){var t,n=e.width;null===(t=wt.current)||void 0===t||t.checkScrollBarVisible();var r=Qe.current?Qe.current.offsetWidth:n;re&&J&&Qe.current&&(r=J(Qe.current,r)||r),r!==Oe&&(Ot(),Re(r))}},un));var dn=function(e,t,n){var r=e.map((function(r,i){return j(i,i,e,t,n)}));return(0,E.Z)((function(){return r}),[r],(function(e,t){return!(0,s.Z)(e,t)}))}(Ke,gt,y),hn=l.useMemo((function(){return{scrollX:Ue,prefixCls:c,getComponent:ae,scrollbarSize:Vt,direction:y,fixedInfoList:dn,isSticky:kt,supportSticky:Ut,componentWidth:Oe,fixHeader:yt,fixColumn:bt,horizonScroll:xt,tableLayout:$t,rowClassName:d,expandedRowClassName:Pe.expandedRowClassName,expandIcon:Ze,expandableType:Be,expandRowByClick:Pe.expandRowByClick,expandedRowRender:Pe.expandedRowRender,onTriggerExpand:je,expandIconColumnIndex:Pe.expandIconColumnIndex,indentSize:Pe.indentSize,allColumnsFixedLeft:Ke.every((function(e){return"left"===e.fixed})),emptyNode:tn,columns:Ve,flattenColumns:Ke,onColumnResize:Bt,hoverStartRow:xe,hoverEndRow:we,onHover:Ce,rowExpandable:Pe.rowExpandable,onRow:I,getRowKey:ce,expandedKeys:De,childrenColumnName:Te,rowHoverable:ee}}),[Ue,c,ae,Vt,y,dn,kt,Ut,Oe,yt,bt,xt,$t,d,Pe.expandedRowClassName,Ze,Be,Pe.expandRowByClick,Pe.expandedRowRender,je,Pe.expandIconColumnIndex,Pe.indentSize,tn,Ve,Ke,Bt,xe,we,Ce,Pe.rowExpandable,I,ce,De,Te,ee]);return l.createElement(b.Provider,{value:hn},un)}var Be=l.forwardRef(Pe);function De(e){return g(Be,e)}var Ze=De();Ze.EXPAND_COLUMN=r.w,Ze.INTERNAL_HOOKS=r.R,Ze.Column=Ae,Ze.ColumnGroup=Se,Ze.Summary=H;var Te=Ze,je=n(48911),Fe=u(null),Ie=u(null);var We=function(e){var t=e.rowInfo,n=e.column,r=e.colIndex,i=e.indent,o=e.index,a=e.component,s=e.renderIndex,c=e.record,u=e.style,f=e.className,p=e.inverse,m=e.getHeight,v=n.render,g=n.dataIndex,y=n.className,x=n.width,b=d(Ie,["columnsOffset"]).columnsOffset,w=$(t,n,r,i,o),k=w.key,A=w.fixedInfo,E=w.appendCellNode,L=w.additionalCellProps,N=L.style,M=L.colSpan,P=void 0===M?1:M,B=L.rowSpan,D=void 0===B?1:B,Z=function(e,t,n){return n[e+(t||1)]-(n[e]||0)}(r-1,P,b),j=P>1?x-Z:0,F=(0,C.Z)((0,C.Z)((0,C.Z)({},N),u),{},{flex:"0 0 ".concat(Z,"px"),width:"".concat(Z,"px"),marginRight:j,pointerEvents:"auto"}),I=l.useMemo((function(){return p?D<=1:0===P||0===D||D>1}),[D,P,p]);I?F.visibility="hidden":p&&(F.height=null==m?void 0:m(D));var W=I?function(){return null}:v,O={};return 0!==D&&0!==P||(O.rowSpan=1,O.colSpan=1),l.createElement(T,(0,h.Z)({className:S()(y,f),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:k,record:c,index:o,renderIndex:s,dataIndex:g,render:W,shouldCellUpdate:n.shouldCellUpdate},A,{appendNode:E,additionalProps:(0,C.Z)((0,C.Z)({},L),{},{style:F},O)}))},Oe=["data","index","className","rowKey","style","extra","getHeight"];var Re=y(l.forwardRef((function(e,t){var n,r=e.data,i=e.index,o=e.className,a=e.rowKey,s=e.style,c=e.extra,u=e.getHeight,f=(0,I.Z)(e,Oe),p=r.record,m=r.indent,v=r.index,g=d(b,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),y=g.scrollX,x=g.flattenColumns,w=g.prefixCls,A=g.fixColumn,E=g.componentWidth,L=d(Fe,["getComponent"]).getComponent,N=Q(p,a,i,m),M=L(["body","row"],"div"),P=L(["body","cell"],"div"),B=N.rowSupportExpand,D=N.expanded,Z=N.rowProps,j=N.expandedRowRender,F=N.expandedRowClassName;if(B&&D){var W=j(p,i,m+1,D),O=_(F,p,i,m),R={};A&&(R={style:(0,k.Z)({},"--virtual-width","".concat(E,"px"))});var z="".concat(w,"-expanded-row-cell");n=l.createElement(M,{className:S()("".concat(w,"-expanded-row"),"".concat(w,"-expanded-row-level-").concat(m+1),O)},l.createElement(T,{component:P,prefixCls:w,className:S()(z,(0,k.Z)({},"".concat(z,"-fixed"),A)),additionalProps:R},W))}var H=(0,C.Z)((0,C.Z)({},s),{},{width:y});c&&(H.position="absolute",H.pointerEvents="none");var V=l.createElement(M,(0,h.Z)({},Z,f,{"data-row-key":a,ref:B?null:t,className:S()(o,"".concat(w,"-row"),null==Z?void 0:Z.className,(0,k.Z)({},"".concat(w,"-row-extra"),c)),style:(0,C.Z)((0,C.Z)({},H),null==Z?void 0:Z.style)}),x.map((function(e,t){return l.createElement(We,{key:t,component:P,rowInfo:N,column:e,colIndex:t,indent:m,index:i,renderIndex:v,record:p,inverse:c,getHeight:u})})));return B?l.createElement("div",{ref:t},V,n):V})));var ze=y(l.forwardRef((function(e,t){var n=e.data,r=e.onScroll,o=d(b,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),a=o.flattenColumns,s=o.onColumnResize,c=o.getRowKey,u=o.expandedKeys,h=o.prefixCls,f=o.childrenColumnName,p=o.scrollX,m=o.direction,v=d(Fe),g=v.sticky,y=v.scrollY,x=v.listItemHeight,C=v.getComponent,k=v.onScroll,A=l.useRef(),S=X(n,f,u,c),E=l.useMemo((function(){var e=0;return a.map((function(t){var n=t.width;return[t.key,n,e+=n]}))}),[a]),L=l.useMemo((function(){return E.map((function(e){return e[2]}))}),[E]);l.useEffect((function(){E.forEach((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];s(n,r)}))}),[E]),l.useImperativeHandle(t,(function(){var e,t={scrollTo:function(e){var t;null===(t=A.current)||void 0===t||t.scrollTo(e)},nativeElement:null===(e=A.current)||void 0===e?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null===(e=A.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=A.current)||void 0===t||t.scrollTo({left:e})}}),t}));var N=function(e,t){var n,r=null===(n=S[t])||void 0===n?void 0:n.record,i=e.onCell;if(i){var o,a=i(r,t);return null!==(o=null==a?void 0:a.rowSpan)&&void 0!==o?o:1}return 1},M=l.useMemo((function(){return{columnsOffset:L}}),[L]),P="".concat(h,"-tbody"),B=C(["body","wrapper"]),D={};return g&&(D.position="sticky",D.bottom=0,"object"===(0,w.Z)(g)&&g.offsetScroll&&(D.bottom=g.offsetScroll)),l.createElement(Ie.Provider,{value:M},l.createElement(je.Z,{fullHeight:!1,ref:A,prefixCls:"".concat(P,"-virtual"),styles:{horizontalScrollBar:D},className:P,height:y,itemHeight:x||24,data:S,itemKey:function(e){return c(e.record)},component:B,scrollWidth:p,direction:m,onVirtualScroll:function(e){var t,n=e.x;r({currentTarget:null===(t=A.current)||void 0===t?void 0:t.nativeElement,scrollLeft:n})},onScroll:k,extraRender:function(e){var t=e.start,n=e.end,r=e.getSize,i=e.offsetY;if(n<0)return null;for(var o=a.filter((function(e){return 0===N(e,t)})),s=t,u=function(e){if(!(o=o.filter((function(t){return 0===N(t,e)}))).length)return s=e,1},d=t;d>=0&&!u(d);d-=1);for(var h=a.filter((function(e){return 1!==N(e,n)})),f=n,p=function(e){if(!(h=h.filter((function(t){return 1!==N(t,e)}))).length)return f=Math.max(e-1,n),1},m=n;m<S.length&&!p(m);m+=1);for(var v=[],g=function(e){if(!S[e])return 1;a.some((function(t){return N(t,e)>1}))&&v.push(e)},y=s;y<=f;y+=1)g(y);return v.map((function(e){var t=S[e],n=c(t.record,e),o=r(n);return l.createElement(Re,{key:e,data:t,rowKey:n,index:e,style:{top:-i+o.top},extra:!0,getHeight:function(t){var i=e+t-1,o=c(S[i].record,i),a=r(n,o);return a.bottom-a.top}})}))}},(function(e,t,n){var r=c(e.record,t);return l.createElement(Re,{data:e,rowKey:r,index:t,style:n.style})})))}))),He=function(e,t){var n=t.ref,r=t.onScroll;return l.createElement(ze,{ref:n,data:e,onScroll:r})};function Ve(e,t){var n=e.data,i=e.columns,o=e.scroll,a=e.sticky,s=e.prefixCls,c=void 0===s?Ee:s,u=e.className,d=e.listItemHeight,f=e.components,p=e.onScroll,m=o||{},v=m.x,g=m.y;"number"!=typeof v&&(v=1),"number"!=typeof g&&(g=500);var y=(0,D.zX)((function(e,t){return(0,L.Z)(f,e)||t})),x=(0,D.zX)(p),b=l.useMemo((function(){return{sticky:a,scrollY:g,listItemHeight:d,getComponent:y,onScroll:x}}),[a,g,d,y,x]);return l.createElement(Fe.Provider,{value:b},l.createElement(Te,(0,h.Z)({},e,{className:S()(u,"".concat(c,"-virtual")),scroll:(0,C.Z)((0,C.Z)({},o),{},{x:v}),components:(0,C.Z)((0,C.Z)({},f),{},{body:null!=n&&n.length?He:void 0}),columns:i,internalHooks:r.R,tailor:!0,ref:t})))}var Ke=l.forwardRef(Ve);function Ye(e){return g(Ke,e)}Ye()},54451:function(e,t,n){"use strict";n.d(t,{g:function(){return s},v:function(){return a}});var r=n(33885),i=n(75931),o=(n(48736),["expandable"]),a="RC_TABLE_INTERNAL_COL_DEFINE";function s(e){var t,n=e.expandable,a=(0,i.Z)(e,o);return!1===(t="expandable"in e?(0,r.Z)((0,r.Z)({},a),n):a).showExpandColumn&&(t.expandIconColumnIndex=-1),t}},22711:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return L},default:function(){return M}});var r,i=n(54476),o=n(20068),a=n(33885),s=n(94480),l=n(42978),c=n(75931),u=n(92310),d=n.n(u),h=n(36901),f=n(66003),p=n(30292),m=n(18929),v=n(59301),g=n(76190),y=n(29301),x=n(34280),b=n(16089),w="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",C=["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"],k={};function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&k[n])return k[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=C.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),l={sizingStyle:s,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(k[n]=l),l}var S=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],E=v.forwardRef((function(e,t){var n=e,s=n.prefixCls,u=n.defaultValue,h=n.value,f=n.autoSize,p=n.onResize,C=n.className,k=n.style,E=n.disabled,L=n.onChange,N=(n.onInternalAutoSize,(0,c.Z)(n,S)),M=(0,m.Z)(u,{value:h,postState:function(e){return null!=e?e:""}}),P=(0,l.Z)(M,2),B=P[0],D=P[1],Z=v.useRef();v.useImperativeHandle(t,(function(){return{textArea:Z.current}}));var T=v.useMemo((function(){return f&&"object"===(0,g.Z)(f)?[f.minRows,f.maxRows]:[]}),[f]),j=(0,l.Z)(T,2),F=j[0],I=j[1],W=!!f,O=v.useState(2),R=(0,l.Z)(O,2),z=R[0],H=R[1],V=v.useState(),K=(0,l.Z)(V,2),Y=K[0],G=K[1],U=function(){H(0)};(0,x.Z)((function(){W&&U()}),[h,F,I,W]),(0,x.Z)((function(){if(0===z)H(1);else if(1===z){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),r.setAttribute("name","hiddenTextarea"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=A(e,t),a=o.paddingSize,s=o.borderSize,l=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat(w)),r.value=e.value||e.placeholder||"";var u,d=void 0,h=void 0,f=r.scrollHeight;if("border-box"===l?f+=s:"content-box"===l&&(f-=a),null!==n||null!==i){r.value=" ";var p=r.scrollHeight-a;null!==n&&(d=p*n,"border-box"===l&&(d=d+a+s),f=Math.max(d,f)),null!==i&&(h=p*i,"border-box"===l&&(h=h+a+s),u=f>h?"":"hidden",f=Math.min(h,f))}var m={height:f,overflowY:u,resize:"none"};return d&&(m.minHeight=d),h&&(m.maxHeight=h),m}(Z.current,!1,F,I);H(2),G(e)}else!function(){try{if(document.activeElement===Z.current){var e=Z.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;Z.current.setSelectionRange(t,n),Z.current.scrollTop=r}}catch(e){}}()}),[z]);var X=v.useRef(),Q=function(){b.Z.cancel(X.current)};v.useEffect((function(){return Q}),[]);var J=W?Y:null,q=(0,a.Z)((0,a.Z)({},k),J);return 0!==z&&1!==z||(q.overflowY="hidden",q.overflowX="hidden"),v.createElement(y.Z,{onResize:function(e){2===z&&(null==p||p(e),f&&(Q(),X.current=(0,b.Z)((function(){U()}))))},disabled:!(f||p)},v.createElement("textarea",(0,i.Z)({},N,{ref:Z,style:q,className:d()(s,C,(0,o.Z)({},"".concat(s,"-disabled"),E)),disabled:E,value:B,onChange:function(e){D(e.target.value),null==L||L(e)}})))})),L=E,N=["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"],M=v.forwardRef((function(e,t){var n,r=e.defaultValue,u=e.value,g=e.onFocus,y=e.onBlur,x=e.onChange,b=e.allowClear,w=e.maxLength,C=e.onCompositionStart,k=e.onCompositionEnd,A=e.suffix,S=e.prefixCls,E=void 0===S?"rc-textarea":S,M=e.showCount,P=e.count,B=e.className,D=e.style,Z=e.disabled,T=e.hidden,j=e.classNames,F=e.styles,I=e.onResize,W=e.onClear,O=e.onPressEnter,R=e.readOnly,z=e.autoSize,H=e.onKeyDown,V=(0,c.Z)(e,N),K=(0,m.Z)(r,{value:u,defaultValue:r}),Y=(0,l.Z)(K,2),G=Y[0],U=Y[1],X=null==G?"":String(G),Q=v.useState(!1),J=(0,l.Z)(Q,2),q=J[0],_=J[1],$=v.useRef(!1),ee=v.useState(null),te=(0,l.Z)(ee,2),ne=te[0],re=te[1],ie=(0,v.useRef)(null),oe=(0,v.useRef)(null),ae=function(){var e;return null===(e=oe.current)||void 0===e?void 0:e.textArea},se=function(){ae().focus()};(0,v.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:oe.current,focus:se,blur:function(){ae().blur()},nativeElement:(null===(e=ie.current)||void 0===e?void 0:e.nativeElement)||ae()}})),(0,v.useEffect)((function(){_((function(e){return!Z&&e}))}),[Z]);var le=v.useState(null),ce=(0,l.Z)(le,2),ue=ce[0],de=ce[1];v.useEffect((function(){var e;ue&&(e=ae()).setSelectionRange.apply(e,(0,s.Z)(ue))}),[ue]);var he,fe=(0,f.Z)(P,M),pe=null!==(n=fe.max)&&void 0!==n?n:w,me=Number(pe)>0,ve=fe.strategy(X),ge=!!pe&&ve>pe,ye=function(e,t){var n=t;!$.current&&fe.exceedFormatter&&fe.max&&fe.strategy(t)>fe.max&&t!==(n=fe.exceedFormatter(t,{max:fe.max}))&&de([ae().selectionStart||0,ae().selectionEnd||0]),U(n),(0,p.rJ)(e.currentTarget,e,x,n)},xe=A;fe.show&&(he=fe.showFormatter?fe.showFormatter({value:X,count:ve,maxLength:pe}):"".concat(ve).concat(me?" / ".concat(pe):""),xe=v.createElement(v.Fragment,null,xe,v.createElement("span",{className:d()("".concat(E,"-data-count"),null==j?void 0:j.count),style:null==F?void 0:F.count},he)));var be=!z&&!M&&!b;return v.createElement(h.BaseInput,{ref:ie,value:X,allowClear:b,handleReset:function(e){U(""),se(),(0,p.rJ)(ae(),e,x)},suffix:xe,prefixCls:E,classNames:(0,a.Z)((0,a.Z)({},j),{},{affixWrapper:d()(null==j?void 0:j.affixWrapper,(0,o.Z)((0,o.Z)({},"".concat(E,"-show-count"),M),"".concat(E,"-textarea-allow-clear"),b))}),disabled:Z,focused:q,className:d()(B,ge&&"".concat(E,"-out-of-range")),style:(0,a.Z)((0,a.Z)({},D),ne&&!be?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof he?he:void 0}},hidden:T,readOnly:R,onClear:W},v.createElement(L,(0,i.Z)({},V,{autoSize:z,maxLength:w,onKeyDown:function(e){"Enter"===e.key&&O&&O(e),null==H||H(e)},onChange:function(e){ye(e,e.target.value)},onFocus:function(e){_(!0),null==g||g(e)},onBlur:function(e){_(!1),null==y||y(e)},onCompositionStart:function(e){$.current=!0,null==C||C(e)},onCompositionEnd:function(e){$.current=!1,ye(e,e.currentTarget.value),null==k||k(e)},className:d()(null==j?void 0:j.textarea),style:(0,a.Z)((0,a.Z)({},null==F?void 0:F.textarea),{},{resize:null==D?void 0:D.resize}),disabled:Z,prefixCls:E,onResize:function(e){var t;null==I||I(e),null!==(t=ae())&&void 0!==t&&t.style.height&&re(!0)},ref:oe,readOnly:R})))}))},639:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(54476),i=n(20068),o=n(33885),a=n(42978),s=n(75931),l=n(59301),c=n(92310),u=n.n(c),d=n(26112),h=n(30699),f=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,a="".concat(t,"-indent-unit"),s=[],c=0;c<n;c+=1)s.push(l.createElement("span",{key:c,className:u()(a,(0,i.Z)((0,i.Z)({},"".concat(a,"-start"),r[c]),"".concat(a,"-end"),o[c]))}));return l.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},p=l.memo(f),m=n(65065),v=n(34061),g=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],y="open",x="close",b=function(e){var t,n,c,f=e.eventKey,b=e.className,w=e.style,C=e.dragOver,k=e.dragOverGapTop,A=e.dragOverGapBottom,S=e.isLeaf,E=e.isStart,L=e.isEnd,N=e.expanded,M=e.selected,P=e.checked,B=e.halfChecked,D=e.loading,Z=e.domRef,T=e.active,j=e.data,F=e.onMouseMove,I=e.selectable,W=(0,s.Z)(e,g),O=l.useContext(h.k),R=l.useContext(h.y),z=l.useRef(null),H=l.useState(!1),V=(0,a.Z)(H,2),K=V[0],Y=V[1],G=!!(O.disabled||e.disabled||null!==(t=R.nodeDisabled)&&void 0!==t&&t.call(R,j)),U=l.useMemo((function(){return!(!O.checkable||!1===e.checkable)&&O.checkable}),[O.checkable,e.checkable]),X=function(t){G||U&&!e.disableCheckbox&&O.onNodeCheck(t,(0,v.F)(e),!P)},Q=l.useMemo((function(){return"boolean"==typeof I?I:O.selectable}),[I,O.selectable]),J=function(t){O.onNodeClick(t,(0,v.F)(e)),Q?function(t){G||O.onNodeSelect(t,(0,v.F)(e))}(t):X(t)},q=function(t){O.onNodeDoubleClick(t,(0,v.F)(e))},_=function(t){O.onNodeMouseEnter(t,(0,v.F)(e))},$=function(t){O.onNodeMouseLeave(t,(0,v.F)(e))},ee=function(t){O.onNodeContextMenu(t,(0,v.F)(e))},te=l.useMemo((function(){return!(!O.draggable||O.draggable.nodeDraggable&&!O.draggable.nodeDraggable(j))}),[O.draggable,j]),ne=function(t){D||O.onNodeExpand(t,(0,v.F)(e))},re=l.useMemo((function(){var e=((0,m.Z)(O.keyEntities,f)||{}).children;return Boolean((e||[]).length)}),[O.keyEntities,f]),ie=l.useMemo((function(){return!1!==S&&(S||!O.loadData&&!re||O.loadData&&e.loaded&&!re)}),[S,O.loadData,re,e.loaded]);l.useEffect((function(){D||"function"!=typeof O.loadData||!N||ie||e.loaded||O.onNodeLoad((0,v.F)(e))}),[D,O.loadData,O.onNodeLoad,N,ie,e]);var oe=l.useMemo((function(){var e;return null!==(e=O.draggable)&&void 0!==e&&e.icon?l.createElement("span",{className:"".concat(O.prefixCls,"-draggable-icon")},O.draggable.icon):null}),[O.draggable]),ae=function(t){var n=e.switcherIcon||O.switcherIcon;return"function"==typeof n?n((0,o.Z)((0,o.Z)({},e),{},{isLeaf:t})):n},se=l.useMemo((function(){if(!U)return null;var t="boolean"!=typeof U?U:null;return l.createElement("span",{className:u()("".concat(O.prefixCls,"-checkbox"),(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(O.prefixCls,"-checkbox-checked"),P),"".concat(O.prefixCls,"-checkbox-indeterminate"),!P&&B),"".concat(O.prefixCls,"-checkbox-disabled"),G||e.disableCheckbox)),onClick:X,role:"checkbox","aria-checked":B?"mixed":P,"aria-disabled":G||e.disableCheckbox,"aria-label":"Select ".concat("string"==typeof e.title?e.title:"tree node")},t)}),[U,P,B,G,e.disableCheckbox,e.title]),le=l.useMemo((function(){return ie?null:N?y:x}),[ie,N]),ce=l.useMemo((function(){return l.createElement("span",{className:u()("".concat(O.prefixCls,"-iconEle"),"".concat(O.prefixCls,"-icon__").concat(le||"docu"),(0,i.Z)({},"".concat(O.prefixCls,"-icon_loading"),D))})}),[O.prefixCls,le,D]),ue=l.useMemo((function(){var t=Boolean(O.draggable);return!e.disabled&&t&&O.dragOverNodeKey===f?O.dropIndicatorRender({dropPosition:O.dropPosition,dropLevelOffset:O.dropLevelOffset,indent:O.indent,prefixCls:O.prefixCls,direction:O.direction}):null}),[O.dropPosition,O.dropLevelOffset,O.indent,O.prefixCls,O.direction,O.draggable,O.dragOverNodeKey,O.dropIndicatorRender]),de=l.useMemo((function(){var t,n,r=e.title,o=void 0===r?"---":r,a="".concat(O.prefixCls,"-node-content-wrapper");if(O.showIcon){var s=e.icon||O.icon;t=s?l.createElement("span",{className:u()("".concat(O.prefixCls,"-iconEle"),"".concat(O.prefixCls,"-icon__customize"))},"function"==typeof s?s(e):s):ce}else O.loadData&&D&&(t=ce);return n="function"==typeof o?o(j):O.titleRender?O.titleRender(j):o,l.createElement("span",{ref:z,title:"string"==typeof o?o:"",className:u()(a,"".concat(a,"-").concat(le||"normal"),(0,i.Z)({},"".concat(O.prefixCls,"-node-selected"),!G&&(M||K))),onMouseEnter:_,onMouseLeave:$,onContextMenu:ee,onClick:J,onDoubleClick:q},t,l.createElement("span",{className:"".concat(O.prefixCls,"-title")},n),ue)}),[O.prefixCls,O.showIcon,e,O.icon,ce,O.titleRender,j,le,_,$,ee,J,q]),he=(0,d.Z)(W,{aria:!0,data:!0}),fe=((0,m.Z)(O.keyEntities,f)||{}).level,pe=L[L.length-1],me=!G&&te,ve=O.draggingNodeKey===f,ge=void 0!==I?{"aria-selected":!!I}:void 0;return l.createElement("div",(0,r.Z)({ref:Z,role:"treeitem","aria-expanded":S?void 0:N,className:u()(b,"".concat(O.prefixCls,"-treenode"),(c={},(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)(c,"".concat(O.prefixCls,"-treenode-disabled"),G),"".concat(O.prefixCls,"-treenode-switcher-").concat(N?"open":"close"),!S),"".concat(O.prefixCls,"-treenode-checkbox-checked"),P),"".concat(O.prefixCls,"-treenode-checkbox-indeterminate"),B),"".concat(O.prefixCls,"-treenode-selected"),M),"".concat(O.prefixCls,"-treenode-loading"),D),"".concat(O.prefixCls,"-treenode-active"),T),"".concat(O.prefixCls,"-treenode-leaf-last"),pe),"".concat(O.prefixCls,"-treenode-draggable"),te),"dragging",ve),(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)(c,"drop-target",O.dropTargetKey===f),"drop-container",O.dropContainerKey===f),"drag-over",!G&&C),"drag-over-gap-top",!G&&k),"drag-over-gap-bottom",!G&&A),"filter-node",null===(n=O.filterTreeNode)||void 0===n?void 0:n.call(O,(0,v.F)(e))),"".concat(O.prefixCls,"-treenode-leaf"),ie))),style:w,draggable:me,onDragStart:me?function(t){t.stopPropagation(),Y(!0),O.onNodeDragStart(t,e);try{t.dataTransfer.setData("text/plain","")}catch(e){}}:void 0,onDragEnter:te?function(t){t.preventDefault(),t.stopPropagation(),O.onNodeDragEnter(t,e)}:void 0,onDragOver:te?function(t){t.preventDefault(),t.stopPropagation(),O.onNodeDragOver(t,e)}:void 0,onDragLeave:te?function(t){t.stopPropagation(),O.onNodeDragLeave(t,e)}:void 0,onDrop:te?function(t){t.preventDefault(),t.stopPropagation(),Y(!1),O.onNodeDrop(t,e)}:void 0,onDragEnd:te?function(t){t.stopPropagation(),Y(!1),O.onNodeDragEnd(t,e)}:void 0,onMouseMove:F},ge,he),l.createElement(p,{prefixCls:O.prefixCls,level:fe,isStart:E,isEnd:L}),oe,function(){if(ie){var e=ae(!0);return!1!==e?l.createElement("span",{className:u()("".concat(O.prefixCls,"-switcher"),"".concat(O.prefixCls,"-switcher-noop"))},e):null}var t=ae(!1);return!1!==t?l.createElement("span",{onClick:ne,className:u()("".concat(O.prefixCls,"-switcher"),"".concat(O.prefixCls,"-switcher_").concat(N?y:x))},t):null}(),se,de)};b.isTreeNode=1;var w=b},30699:function(e,t,n){"use strict";n.d(t,{k:function(){return i},y:function(){return o}});var r=n(59301),i=r.createContext(null),o=r.createContext({})},3741:function(e,t,n){"use strict";n.d(t,{OF:function(){return L.Z},y6:function(){return x.y},ZP:function(){return X}});var r=n(54476),i=n(76190),o=n(33885),a=n(94480),s=n(67732),l=n(83652),c=n(31226),u=n(42403),d=n(158),h=n(20068),f=n(92310),p=n.n(f),m=n(10228),v=n(26112),g=n(48736),y=n(59301),x=n(30699);var b=function(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r}return y.createElement("div",{style:i})};function w(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var C=n(42978),k=n(75931),A=n(34280),S=n(48911),E=n(77900),L=n(639);var N=function(e,t){var n=y.useState(!1),r=(0,C.Z)(n,2),i=r[0],o=r[1];(0,A.Z)((function(){if(i)return e(),function(){t()}}),[i]),(0,A.Z)((function(){return o(!0),function(){o(!1)}}),[])},M=n(34061),P=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"];var B=y.forwardRef((function(e,t){var n=e.className,i=e.style,o=e.motion,a=e.motionNodes,s=e.motionType,l=e.onMotionStart,c=e.onMotionEnd,u=e.active,d=e.treeNodeRequiredProps,h=(0,k.Z)(e,P),f=y.useState(!0),m=(0,C.Z)(f,2),v=m[0],g=m[1],b=y.useContext(x.k).prefixCls,S=a&&"hide"!==s;(0,A.Z)((function(){a&&S!==v&&g(S)}),[a]);var B=y.useRef(!1),D=function(){a&&!B.current&&(B.current=!0,c())};N((function(){a&&l()}),D);return a?y.createElement(E.default,(0,r.Z)({ref:t,visible:v},o,{motionAppear:"show"===s,onVisibleChanged:function(e){S===e&&D()}}),(function(e,t){var n=e.className,i=e.style;return y.createElement("div",{ref:t,className:p()("".concat(b,"-treenode-motion"),n),style:i},a.map((function(e){var t=Object.assign({},(w(e.data),e.data)),n=e.title,i=e.key,o=e.isStart,a=e.isEnd;delete t.children;var s=(0,M.H8)(i,d);return y.createElement(L.Z,(0,r.Z)({},t,s,{title:n,active:u,data:e.data,key:i,isStart:o,isEnd:a}))})))})):y.createElement(L.Z,(0,r.Z)({domRef:t,className:n,style:i},h,{active:u}))}));function D(e,t,n){var r=e.findIndex((function(e){return e.key===n})),i=e[r+1],o=t.findIndex((function(e){return e.key===n}));if(i){var a=t.findIndex((function(e){return e.key===i.key}));return t.slice(o+1,a)}return t.slice(o+1)}var Z=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],T={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},j=function(){},F="RC_TREE_MOTION_".concat(Math.random()),I={key:F},W={key:F,level:0,index:0,pos:"0",node:I,nodes:[I]},O={parent:null,children:[],pos:W.pos,data:I,title:null,key:F,isStart:[],isEnd:[]};function R(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function z(e){var t=e.key,n=e.pos;return(0,M.km)(t,n)}var H=y.forwardRef((function(e,t){var n=e.prefixCls,i=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,s=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,h=e.disabled,f=e.dragging,p=e.dragOverNodeKey,m=e.dropPosition,v=e.motion,g=e.height,x=e.itemHeight,b=e.virtual,E=e.scrollWidth,L=e.focusable,N=e.activeItem,P=e.focused,I=e.tabIndex,W=e.onKeyDown,H=e.onFocus,V=e.onBlur,K=e.onActiveChange,Y=e.onListChangeStart,G=e.onListChangeEnd,U=(0,k.Z)(e,Z),X=y.useRef(null),Q=y.useRef(null);y.useImperativeHandle(t,(function(){return{scrollTo:function(e){X.current.scrollTo(e)},getIndentWidth:function(){return Q.current.offsetWidth}}}));var J=y.useState(o),q=(0,C.Z)(J,2),_=q[0],$=q[1],ee=y.useState(i),te=(0,C.Z)(ee,2),ne=te[0],re=te[1],ie=y.useState(i),oe=(0,C.Z)(ie,2),ae=oe[0],se=oe[1],le=y.useState([]),ce=(0,C.Z)(le,2),ue=ce[0],de=ce[1],he=y.useState(null),fe=(0,C.Z)(he,2),pe=fe[0],me=fe[1],ve=y.useRef(i);function ge(){var e=ve.current;re(e),se(e),de([]),me(null),G()}ve.current=i,(0,A.Z)((function(){$(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function i(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}(_,o);if(null!==e.key)if(e.add){var t=ne.findIndex((function(t){return t.key===e.key})),n=R(D(ne,i,e.key),b,g,x),r=ne.slice();r.splice(t+1,0,O),se(r),de(n),me("show")}else{var a=i.findIndex((function(t){return t.key===e.key})),s=R(D(i,ne,e.key),b,g,x),l=i.slice();l.splice(a+1,0,O),se(l),de(s),me("hide")}else ne!==i&&(re(i),se(i))}),[o,i]),y.useEffect((function(){f||ge()}),[f]);var ye=v?ae:i,xe={expandedKeys:o,selectedKeys:a,loadedKeys:l,loadingKeys:c,checkedKeys:s,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:m,keyEntities:d};return y.createElement(y.Fragment,null,P&&N&&y.createElement("span",{style:T,"aria-live":"assertive"},function(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}(N)),y.createElement("div",null,y.createElement("input",{style:T,disabled:!1===L||h,tabIndex:!1!==L?I:null,onKeyDown:W,onFocus:H,onBlur:V,value:"",onChange:j,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(n,"-indent")},y.createElement("div",{ref:Q,className:"".concat(n,"-indent-unit")}))),y.createElement(S.Z,(0,r.Z)({},U,{data:ye,itemKey:z,height:g,fullHeight:!1,virtual:b,itemHeight:x,scrollWidth:E,prefixCls:"".concat(n,"-list"),ref:X,role:"tree",onVisibleChange:function(e){e.every((function(e){return z(e)!==F}))&&ge()}}),(function(e){var t=e.pos,n=Object.assign({},(w(e.data),e.data)),i=e.title,o=e.key,a=e.isStart,s=e.isEnd,l=(0,M.km)(o,t);delete n.key,delete n.children;var c=(0,M.H8)(l,xe);return y.createElement(B,(0,r.Z)({},n,c,{title:i,active:!!N&&o===N.key,pos:t,data:e.data,isStart:a,isEnd:s,motion:v,motionNodes:o===F?ue:null,motionType:pe,onMotionStart:Y,onMotionEnd:ge,treeNodeRequiredProps:xe,onMouseMove:function(){K(null)}}))})))}));var V=H,K=n(82661),Y=n(34643),G=n(65065),U=function(e){(0,u.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];return e=t.call.apply(t,[this].concat(i)),(0,h.Z)((0,c.Z)(e),"destroyed",!1),(0,h.Z)((0,c.Z)(e),"delayedDragEnterLogic",void 0),(0,h.Z)((0,c.Z)(e),"loadingRetryTimes",{}),(0,h.Z)((0,c.Z)(e),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,M.w$)()}),(0,h.Z)((0,c.Z)(e),"dragStartMousePosition",null),(0,h.Z)((0,c.Z)(e),"dragNodeProps",null),(0,h.Z)((0,c.Z)(e),"currentMouseOverDroppableNodeKey",null),(0,h.Z)((0,c.Z)(e),"listRef",y.createRef()),(0,h.Z)((0,c.Z)(e),"onNodeDragStart",(function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=e.props.onDragStart,s=n.eventKey;e.dragNodeProps=n,e.dragStartMousePosition={x:t.clientX,y:t.clientY};var l=(0,K._5)(i,s);e.setState({draggingNodeKey:s,dragChildrenKeys:(0,K.wA)(s,o),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(l),window.addEventListener("dragend",e.onWindowDragEnd),null==a||a({event:t,node:(0,M.F)(n)})})),(0,h.Z)((0,c.Z)(e),"onNodeDragEnter",(function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,s=r.dragChildrenKeys,l=r.flattenNodes,c=r.indent,u=e.props,d=u.onDragEnter,h=u.onExpand,f=u.allowDrop,p=u.direction,m=n.pos,v=n.eventKey;if(e.currentMouseOverDroppableNodeKey!==v&&(e.currentMouseOverDroppableNodeKey=v),e.dragNodeProps){var g=(0,K.OM)(t,e.dragNodeProps,n,c,e.dragStartMousePosition,f,l,o,i,p),y=g.dropPosition,x=g.dropLevelOffset,b=g.dropTargetKey,w=g.dropContainerKey,C=g.dropTargetPos,k=g.dropAllowed,A=g.dragOverNodeKey;!s.includes(b)&&k?(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.dragNodeProps.eventKey!==n.eventKey&&(t.persist(),e.delayedDragEnterLogic[m]=window.setTimeout((function(){if(null!==e.state.draggingNodeKey){var r=(0,a.Z)(i),s=(0,G.Z)(o,n.eventKey);s&&(s.children||[]).length&&(r=(0,K.L0)(i,n.eventKey)),e.props.hasOwnProperty("expandedKeys")||e.setExpandedKeys(r),null==h||h(r,{node:(0,M.F)(n),expanded:!0,nativeEvent:t.nativeEvent})}}),800)),e.dragNodeProps.eventKey!==b||0!==x?(e.setState({dragOverNodeKey:A,dropPosition:y,dropLevelOffset:x,dropTargetKey:b,dropContainerKey:w,dropTargetPos:C,dropAllowed:k}),null==d||d({event:t,node:(0,M.F)(n),expandedKeys:i})):e.resetDragState()):e.resetDragState()}else e.resetDragState()})),(0,h.Z)((0,c.Z)(e),"onNodeDragOver",(function(t,n){var r=e.state,i=r.dragChildrenKeys,o=r.flattenNodes,a=r.keyEntities,s=r.expandedKeys,l=r.indent,c=e.props,u=c.onDragOver,d=c.allowDrop,h=c.direction;if(e.dragNodeProps){var f=(0,K.OM)(t,e.dragNodeProps,n,l,e.dragStartMousePosition,d,o,a,s,h),p=f.dropPosition,m=f.dropLevelOffset,v=f.dropTargetKey,g=f.dropContainerKey,y=f.dropTargetPos,x=f.dropAllowed,b=f.dragOverNodeKey;!i.includes(v)&&x&&(e.dragNodeProps.eventKey===v&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():p===e.state.dropPosition&&m===e.state.dropLevelOffset&&v===e.state.dropTargetKey&&g===e.state.dropContainerKey&&y===e.state.dropTargetPos&&x===e.state.dropAllowed&&b===e.state.dragOverNodeKey||e.setState({dropPosition:p,dropLevelOffset:m,dropTargetKey:v,dropContainerKey:g,dropTargetPos:y,dropAllowed:x,dragOverNodeKey:b}),null==u||u({event:t,node:(0,M.F)(n)}))}})),(0,h.Z)((0,c.Z)(e),"onNodeDragLeave",(function(t,n){e.currentMouseOverDroppableNodeKey!==n.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:t,node:(0,M.F)(n)})})),(0,h.Z)((0,c.Z)(e),"onWindowDragEnd",(function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)})),(0,h.Z)((0,c.Z)(e),"onNodeDragEnd",(function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:t,node:(0,M.F)(n)}),e.dragNodeProps=null,window.removeEventListener("dragend",e.onWindowDragEnd)})),(0,h.Z)((0,c.Z)(e),"onNodeDrop",(function(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,s=a.dragChildrenKeys,l=a.dropPosition,c=a.dropTargetKey,u=a.dropTargetPos,d=a.dropAllowed;if(d){var h=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var f=(0,o.Z)((0,o.Z)({},(0,M.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:(0,G.Z)(e.state.keyEntities,c).node}),p=s.includes(c);(0,g.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=(0,K.yx)(u),v={event:t,node:(0,M.F)(f),dragNode:e.dragNodeProps?(0,M.F)(e.dragNodeProps):null,dragNodesKeys:[e.dragNodeProps.eventKey].concat(s),dropToGap:0!==l,dropPosition:l+Number(m[m.length-1])};i||null==h||h(v),e.dragNodeProps=null}}})),(0,h.Z)((0,c.Z)(e),"cleanDragState",(function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null})),(0,h.Z)((0,c.Z)(e),"triggerExpandActionExpand",(function(t,n){var r=e.state,i=r.expandedKeys,a=r.flattenNodes,s=n.expanded,l=n.key;if(!(n.isLeaf||t.shiftKey||t.metaKey||t.ctrlKey)){var c=a.filter((function(e){return e.key===l}))[0],u=(0,M.F)((0,o.Z)((0,o.Z)({},(0,M.H8)(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(s?(0,K._5)(i,l):(0,K.L0)(i,l)),e.onNodeExpand(t,u)}})),(0,h.Z)((0,c.Z)(e),"onNodeClick",(function(t,n){var r=e.props,i=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==i||i(t,n)})),(0,h.Z)((0,c.Z)(e),"onNodeDoubleClick",(function(t,n){var r=e.props,i=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==i||i(t,n)})),(0,h.Z)((0,c.Z)(e),"onNodeSelect",(function(t,n){var r=e.state.selectedKeys,i=e.state,o=i.keyEntities,a=i.fieldNames,s=e.props,l=s.onSelect,c=s.multiple,u=n.selected,d=n[a.key],h=!u,f=(r=h?c?(0,K.L0)(r,d):[d]:(0,K._5)(r,d)).map((function(e){var t=(0,G.Z)(o,e);return t?t.node:null})).filter(Boolean);e.setUncontrolledState({selectedKeys:r}),null==l||l(r,{event:"select",selected:h,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})})),(0,h.Z)((0,c.Z)(e),"onNodeCheck",(function(t,n,r){var i,o=e.state,s=o.keyEntities,l=o.checkedKeys,c=o.halfCheckedKeys,u=e.props,d=u.checkStrictly,h=u.onCheck,f=n.key,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(d){var m=r?(0,K.L0)(l,f):(0,K._5)(l,f);i={checked:m,halfChecked:(0,K._5)(c,f)},p.checkedNodes=m.map((function(e){return(0,G.Z)(s,e)})).filter(Boolean).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var v=(0,Y.S)([].concat((0,a.Z)(l),[f]),!0,s),g=v.checkedKeys,y=v.halfCheckedKeys;if(!r){var x=new Set(g);x.delete(f);var b=(0,Y.S)(Array.from(x),{checked:!1,halfCheckedKeys:y},s);g=b.checkedKeys,y=b.halfCheckedKeys}i=g,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=y,g.forEach((function(e){var t=(0,G.Z)(s,e);if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:g},!1,{halfCheckedKeys:y})}null==h||h(i,p)})),(0,h.Z)((0,c.Z)(e),"onNodeLoad",(function(t){var n,r=t.key,i=e.state.keyEntities,o=(0,G.Z)(i,r);if(null==o||null===(n=o.children)||void 0===n||!n.length){var a=new Promise((function(n,i){e.setState((function(o){var a=o.loadedKeys,s=void 0===a?[]:a,l=o.loadingKeys,c=void 0===l?[]:l,u=e.props,d=u.loadData,h=u.onLoad;return!d||s.includes(r)||c.includes(r)?null:(d(t).then((function(){var i=e.state.loadedKeys,o=(0,K.L0)(i,r);null==h||h(o,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:(0,K._5)(e.loadingKeys,r)}})),n()})).catch((function(t){if(e.setState((function(e){return{loadingKeys:(0,K._5)(e.loadingKeys,r)}})),e.loadingRetryTimes[r]=(e.loadingRetryTimes[r]||0)+1,e.loadingRetryTimes[r]>=10){var o=e.state.loadedKeys;(0,g.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,K.L0)(o,r)}),n()}i(t)})),{loadingKeys:(0,K.L0)(c,r)})}))}));return a.catch((function(){})),a}})),(0,h.Z)((0,c.Z)(e),"onNodeMouseEnter",(function(t,n){var r=e.props.onMouseEnter;null==r||r({event:t,node:n})})),(0,h.Z)((0,c.Z)(e),"onNodeMouseLeave",(function(t,n){var r=e.props.onMouseLeave;null==r||r({event:t,node:n})})),(0,h.Z)((0,c.Z)(e),"onNodeContextMenu",(function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))})),(0,h.Z)((0,c.Z)(e),"onFocus",(function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t||t.apply(void 0,r)})),(0,h.Z)((0,c.Z)(e),"onBlur",(function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t||t.apply(void 0,r)})),(0,h.Z)((0,c.Z)(e),"getTreeNodeRequiredProps",(function(){var t=e.state;return{expandedKeys:t.expandedKeys||[],selectedKeys:t.selectedKeys||[],loadedKeys:t.loadedKeys||[],loadingKeys:t.loadingKeys||[],checkedKeys:t.checkedKeys||[],halfCheckedKeys:t.halfCheckedKeys||[],dragOverNodeKey:t.dragOverNodeKey,dropPosition:t.dropPosition,keyEntities:t.keyEntities}})),(0,h.Z)((0,c.Z)(e),"setExpandedKeys",(function(t){var n=e.state,r=n.treeData,i=n.fieldNames,o=(0,M.oH)(r,t,i);e.setUncontrolledState({expandedKeys:t,flattenNodes:o},!0)})),(0,h.Z)((0,c.Z)(e),"onNodeExpand",(function(t,n){var r=e.state.expandedKeys,i=e.state,o=i.listChanging,a=i.fieldNames,s=e.props,l=s.onExpand,c=s.loadData,u=n.expanded,d=n[a.key];if(!o){var h=r.includes(d),f=!u;if((0,g.ZP)(u&&h||!u&&!h,"Expand state not sync with index check"),r=f?(0,K.L0)(r,d):(0,K._5)(r,d),e.setExpandedKeys(r),null==l||l(r,{node:n,expanded:f,nativeEvent:t.nativeEvent}),f&&c){var p=e.onNodeLoad(n);p&&p.then((function(){var t=(0,M.oH)(e.state.treeData,r,a);e.setUncontrolledState({flattenNodes:t})})).catch((function(){var t=e.state.expandedKeys,n=(0,K._5)(t,d);e.setExpandedKeys(n)}))}}})),(0,h.Z)((0,c.Z)(e),"onListChangeStart",(function(){e.setUncontrolledState({listChanging:!0})})),(0,h.Z)((0,c.Z)(e),"onListChangeEnd",(function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))})),(0,h.Z)((0,c.Z)(e),"onActiveChange",(function(t){var n=e.state.activeKey,r=e.props,i=r.onActiveChange,o=r.itemScrollOffset,a=void 0===o?0:o;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t,offset:a}),null==i||i(t))})),(0,h.Z)((0,c.Z)(e),"getActiveItem",(function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){return e.key===n}))||null})),(0,h.Z)((0,c.Z)(e),"offsetActiveKey",(function(t){var n=e.state,r=n.flattenNodes,i=n.activeKey,o=r.findIndex((function(e){return e.key===i}));-1===o&&t<0&&(o=r.length);var a=r[o=(o+t+r.length)%r.length];if(a){var s=a.key;e.onActiveChange(s)}else e.onActiveChange(null)})),(0,h.Z)((0,c.Z)(e),"onKeyDown",(function(t){var n=e.state,r=n.activeKey,i=n.expandedKeys,a=n.checkedKeys,s=n.fieldNames,l=e.props,c=l.onKeyDown,u=l.checkable,d=l.selectable;switch(t.which){case m.Z.UP:e.offsetActiveKey(-1),t.preventDefault();break;case m.Z.DOWN:e.offsetActiveKey(1),t.preventDefault()}var h=e.getActiveItem();if(h&&h.data){var f=e.getTreeNodeRequiredProps(),p=!1===h.data.isLeaf||!!(h.data[s.children]||[]).length,v=(0,M.F)((0,o.Z)((0,o.Z)({},(0,M.H8)(r,f)),{},{data:h.data,active:!0}));switch(t.which){case m.Z.LEFT:p&&i.includes(r)?e.onNodeExpand({},v):h.parent&&e.onActiveChange(h.parent.key),t.preventDefault();break;case m.Z.RIGHT:p&&!i.includes(r)?e.onNodeExpand({},v):h.children&&h.children.length&&e.onActiveChange(h.children[0].key),t.preventDefault();break;case m.Z.ENTER:case m.Z.SPACE:!u||v.disabled||!1===v.checkable||v.disableCheckbox?u||!d||v.disabled||!1===v.selectable||e.onNodeSelect({},v):e.onNodeCheck({},v,!a.includes(r))}}null==c||c(t)})),(0,h.Z)((0,c.Z)(e),"setUncontrolledState",(function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var i=!1,a=!0,s={};Object.keys(t).forEach((function(n){e.props.hasOwnProperty(n)?a=!1:(i=!0,s[n]=t[n])})),!i||n&&!a||e.setState((0,o.Z)((0,o.Z)({},s),r))}})),(0,h.Z)((0,c.Z)(e),"scrollTo",(function(t){e.listRef.current.scrollTo(t)})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset,r=void 0===n?0:n;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:r}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t=this.state,n=t.focused,o=t.flattenNodes,a=t.keyEntities,s=t.draggingNodeKey,l=t.activeKey,c=t.dropLevelOffset,u=t.dropContainerKey,d=t.dropTargetKey,f=t.dropPosition,m=t.dragOverNodeKey,g=t.indent,b=this.props,w=b.prefixCls,C=b.className,k=b.style,A=b.showLine,S=b.focusable,E=b.tabIndex,L=void 0===E?0:E,N=b.selectable,M=b.showIcon,P=b.icon,B=b.switcherIcon,D=b.draggable,Z=b.checkable,T=b.checkStrictly,j=b.disabled,F=b.motion,I=b.loadData,W=b.filterTreeNode,O=b.height,R=b.itemHeight,z=b.scrollWidth,H=b.virtual,K=b.titleRender,Y=b.dropIndicatorRender,G=b.onContextMenu,U=b.onScroll,X=b.direction,Q=b.rootClassName,J=b.rootStyle,q=(0,v.Z)(this.props,{aria:!0,data:!0});D&&(e="object"===(0,i.Z)(D)?D:"function"==typeof D?{nodeDraggable:D}:{});var _={prefixCls:w,selectable:N,showIcon:M,icon:P,switcherIcon:B,draggable:e,draggingNodeKey:s,checkable:Z,checkStrictly:T,disabled:j,keyEntities:a,dropLevelOffset:c,dropContainerKey:u,dropTargetKey:d,dropPosition:f,dragOverNodeKey:m,indent:g,direction:X,dropIndicatorRender:Y,loadData:I,filterTreeNode:W,titleRender:K,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return y.createElement(x.k.Provider,{value:_},y.createElement("div",{className:p()(w,C,Q,(0,h.Z)((0,h.Z)((0,h.Z)({},"".concat(w,"-show-line"),A),"".concat(w,"-focused"),n),"".concat(w,"-active-focused"),null!==l)),style:J},y.createElement(V,(0,r.Z)({ref:this.listRef,prefixCls:w,style:k,data:o,disabled:j,selectable:N,checkable:!!Z,motion:F,dragging:null!==s,height:O,itemHeight:R,virtual:H,focusable:S,focused:n,tabIndex:L,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:G,onScroll:U,scrollWidth:z},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i={prevProps:e};function a(t){return!r&&e.hasOwnProperty(t)||r&&r[t]!==e[t]}var s=t.fieldNames;if(a("fieldNames")&&(s=(0,M.w$)(e.fieldNames),i.fieldNames=s),a("treeData")?n=e.treeData:a("children")&&((0,g.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,M.zn)(e.children)),n){i.treeData=n;var l=(0,M.I8)(n,{fieldNames:s});i.keyEntities=(0,o.Z)((0,h.Z)({},F,W),l.keyEntities)}var c,u=i.keyEntities||t.keyEntities;if(a("expandedKeys")||r&&a("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,K.r7)(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var d=(0,o.Z)({},u);delete d[F];var f=[];Object.keys(d).forEach((function(e){var t=d[e];t.children&&t.children.length&&f.push(t.key)})),i.expandedKeys=f}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,K.r7)(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var p=(0,M.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,s);i.flattenNodes=p}if((e.selectable&&(a("selectedKeys")?i.selectedKeys=(0,K.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,K.BT)(e.defaultSelectedKeys,e))),e.checkable)&&(a("checkedKeys")?c=(0,K.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?c=(0,K.E6)(e.defaultCheckedKeys)||{}:n&&(c=(0,K.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),c)){var m=c,v=m.checkedKeys,y=void 0===v?[]:v,x=m.halfCheckedKeys,b=void 0===x?[]:x;if(!e.checkStrictly){var w=(0,Y.S)(y,!0,u);y=w.checkedKeys,b=w.halfCheckedKeys}i.checkedKeys=y,i.halfCheckedKeys=b}return a("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(y.Component);(0,h.Z)(U,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1}),(0,h.Z)(U,"TreeNode",L.Z);var X=U},82661:function(e,t,n){"use strict";n.d(t,{BT:function(){return f},E6:function(){return p},L0:function(){return l},OM:function(){return h},_5:function(){return s},r7:function(){return m},wA:function(){return u},yx:function(){return c}});var r=n(94480),i=n(76190),o=n(48736),a=(n(59301),n(639),n(65065));n(34061);function s(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function l(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function u(e,t){var n=[];return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var r=t.key,i=t.children;n.push(r),e(i)}))}((0,a.Z)(t,e).children),n}function d(e){if(e.parent){var t=c(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function h(e,t,n,r,i,o,s,l,u,h){var f,p=e.clientX,m=e.clientY,v=e.target.getBoundingClientRect(),g=v.top,y=v.height,x=(("rtl"===h?-1:1)*(((null==i?void 0:i.x)||0)-p)-12)/r,b=u.filter((function(e){var t;return null===(t=l[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length})),w=(0,a.Z)(l,n.eventKey);if(m<g+y/2){var C=s.findIndex((function(e){return e.key===w.key})),k=s[C<=0?0:C-1].key;w=(0,a.Z)(l,k)}var A=w.key,S=w,E=w.key,L=0,N=0;if(!b.includes(A))for(var M=0;M<x&&d(w);M+=1)w=w.parent,N+=1;var P,B=t.data,D=w.node,Z=!0;return P=c(w.pos),0===Number(P[P.length-1])&&0===w.level&&m<g+y/2&&o({dragNode:B,dropNode:D,dropPosition:-1})&&w.key===n.eventKey?L=-1:(S.children||[]).length&&b.includes(E)?o({dragNode:B,dropNode:D,dropPosition:0})?L=0:Z=!1:0===N?x>-1.5?o({dragNode:B,dropNode:D,dropPosition:1})?L=1:Z=!1:o({dragNode:B,dropNode:D,dropPosition:0})?L=0:o({dragNode:B,dropNode:D,dropPosition:1})?L=1:Z=!1:o({dragNode:B,dropNode:D,dropPosition:1})?L=1:Z=!1,{dropPosition:L,dropLevelOffset:N,dropTargetKey:w.key,dropTargetPos:w.pos,dragOverNodeKey:E,dropContainerKey:0===L?null:(null===(f=w.parent)||void 0===f?void 0:f.key)||null,dropAllowed:Z}}function f(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function p(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,i.Z)(e))return(0,o.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function m(e,t){var n=new Set;function i(e){if(!n.has(e)){var r=(0,a.Z)(t,e);if(r){n.add(e);var o=r.parent;r.node.disabled||o&&i(o.key)}}}return(e||[]).forEach((function(e){i(e)})),(0,r.Z)(n)}},34643:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(48736),i=n(65065);function o(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!(!n&&!r)||!1===i}function s(e,t,n,s){var l,c=[];l=s||a;var u,d=new Set(e.filter((function(e){var t=!!(0,i.Z)(n,e);return t||c.push(e),t}))),h=new Map,f=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,i=h.get(r);i||(i=new Set,h.set(r,i)),i.add(t),f=Math.max(f,r)})),(0,r.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),u=!0===t?function(e,t,n,r){for(var i=new Set(e),a=new Set,s=0;s<=n;s+=1)(t.get(s)||new Set).forEach((function(e){var t=e.key,n=e.node,o=e.children,a=void 0===o?[]:o;i.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){i.add(e.key)}))}));for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(t.key);else{var o=!0,s=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);o&&!n&&(o=!1),s||!n&&!a.has(t)||(s=!0)})),o&&i.add(t.key),s&&a.add(t.key),l.add(t.key)}}));return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(o(a,i))}}(d,h,f,l):function(e,t,n,r,i){for(var a=new Set(e),s=new Set(t),l=0;l<=r;l+=1)(n.get(l)||new Set).forEach((function(e){var t=e.key,n=e.node,r=e.children,o=void 0===r?[]:r;a.has(t)||s.has(t)||i(n)||o.filter((function(e){return!i(e.node)})).forEach((function(e){a.delete(e.key)}))}));s=new Set;for(var c=new Set,u=r;u>=0;u-=1)(n.get(u)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!i(n)&&e.parent&&!c.has(e.parent.key))if(i(e.parent.node))c.add(t.key);else{var r=!0,o=!1;(t.children||[]).filter((function(e){return!i(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);r&&!n&&(r=!1),o||!n&&!s.has(t)||(o=!0)})),r||a.delete(t.key),o&&s.add(t.key),c.add(t.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(o(s,a))}}(d,t.halfCheckedKeys,h,f,l),u}},65065:function(e,t,n){"use strict";function r(e,t){return e[t]}n.d(t,{Z:function(){return r}})},34061:function(e,t,n){"use strict";n.d(t,{F:function(){return b},H8:function(){return x},I8:function(){return y},km:function(){return f},oH:function(){return v},w$:function(){return p},zn:function(){return m}});var r=n(76190),i=n(94480),o=n(33885),a=n(75931),s=n(11592),l=n(2738),c=n(48736),u=n(65065),d=["children"];function h(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function p(e){var t=e||{},n=t.title||"title";return{title:n,_title:t._title||[n],key:t.key||"key",children:t.children||"children"}}function m(e){return function e(t){return(0,s.Z)(t).map((function(t){if(!function(e){return e&&e.type&&e.type.isTreeNode}(t))return(0,c.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,i=r.children,s=(0,a.Z)(r,d),l=(0,o.Z)({key:n},s),u=e(i);return u.length&&(l.children=u),l})).filter((function(e){return e}))}(e)}function v(e,t,n){var r=p(n),o=r._title,a=r.key,s=r.children,c=new Set(!0===t?[]:t),u=[];return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map((function(d,p){for(var m,v=h(r?r.pos:"0",p),g=f(d[a],v),y=0;y<o.length;y+=1){var x=o[y];if(void 0!==d[x]){m=d[x];break}}var b=Object.assign((0,l.Z)(d,[].concat((0,i.Z)(o),[a,s])),{title:m,key:g,parent:r,pos:v,children:null,data:d,isStart:[].concat((0,i.Z)(r?r.isStart:[]),[0===p]),isEnd:[].concat((0,i.Z)(r?r.isEnd:[]),[p===n.length-1])});return u.push(b),!0===t||c.has(g)?b.children=e(d[s]||[],b):b.children=[],b}))}(e),u}function g(e,t,n){var o,a=("object"===(0,r.Z)(n)?n:{externalGetKey:n})||{},s=a.childrenPropName,l=a.externalGetKey,c=p(a.fieldNames),u=c.key,d=c.children,m=s||d;l?"string"==typeof l?o=function(e){return e[l]}:"function"==typeof l&&(o=function(e){return l(e)}):o=function(e,t){return f(e[u],t)},function n(r,a,s,l){var c=r?r[m]:e,u=r?h(s.pos,a):"0",d=r?[].concat((0,i.Z)(l),[r]):[];if(r){var f=o(r,u),p={node:r,index:a,pos:u,key:f,parentPos:s.node?s.pos:null,level:s.level+1,nodes:d};t(p)}c&&c.forEach((function(e,t){n(e,t,{node:r,pos:u,level:s?s.level+1:-1},d)}))}(null)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=t.externalGetKey,a=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,c=o||l,u={},d={},h={posEntities:u,keyEntities:d};return n&&(h=n(h)||h),g(e,(function(e){var t=e.node,n=e.index,i=e.pos,o=e.key,a=e.parentPos,s=e.level,l={node:t,nodes:e.nodes,index:n,key:o,pos:i,level:s},c=f(o,i);u[i]=l,d[c]=l,l.parent=u[a],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),r&&r(l,h)}),{externalGetKey:c,childrenPropName:a,fieldNames:s}),i&&i(h),h}function x(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,d=t.keyEntities,h=(0,u.Z)(d,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==i.indexOf(e),loading:-1!==o.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(h?h.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function b(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,a=e.loaded,s=e.loading,l=e.halfChecked,u=e.dragOver,d=e.dragOverGapTop,h=e.dragOverGapBottom,f=e.pos,p=e.active,m=e.eventKey,v=(0,o.Z)((0,o.Z)({},t),{},{expanded:n,selected:r,checked:i,loaded:a,loading:s,halfChecked:l,dragOver:u,dragOverGapTop:d,dragOverGapBottom:h,pos:f,active:p,key:m});return"props"in v||Object.defineProperty(v,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}},90472:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(54476),i=n(67732),o=n(83652),a=n(31226),s=n(42403),l=n(158),c=n(20068),u=n(59301),d=n(33885),h=n(75931),f=n(76190),p=n(75044),m=n(3202),v=n(94480),g=n(92310),y=n.n(g),x=n(26112),b=n(48736),w=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),s=[a];return".jpg"!==a&&".jpeg"!==a||(s=[".jpg",".jpeg"]),s.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?o===t.replace(/\/.*$/,""):i===t||!!/^\w+$/.test(t)&&((0,b.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};function C(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),C(t)):e.onSuccess(C(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var A=function(){var e=(0,m.Z)((0,p.Z)().mark((function e(t,n){var r,i,o,a,s,l,c,u;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=function(){return(l=(0,m.Z)((0,p.Z)().mark((function e(t){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){t.file((function(r){n(r)?(t.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=t.fullPath.replace(/^\//,""),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),e(r)):e(null)}))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)},s=function(e){return l.apply(this,arguments)},a=function(){return(a=(0,m.Z)((0,p.Z)().mark((function e(t){var n,r,i,o,a;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.createReader(),r=[];case 2:return e.next=5,new Promise((function(e){n.readEntries(e,(function(){return e([])}))}));case 5:if(i=e.sent,o=i.length){e.next=9;break}return e.abrupt("break",12);case 9:for(a=0;a<o;a++)r.push(i[a]);e.next=2;break;case 12:return e.abrupt("return",r);case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)},o=function(e){return a.apply(this,arguments)},r=[],i=[],t.forEach((function(e){return i.push(e.webkitGetAsEntry())})),c=function(){var e=(0,m.Z)((0,p.Z)().mark((function e(t,n){var a,l;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(t.path=n||"",!t.isFile){e.next=10;break}return e.next=6,s(t);case 6:(a=e.sent)&&r.push(a),e.next=15;break;case 10:if(!t.isDirectory){e.next=15;break}return e.next=13,o(t);case 13:l=e.sent,i.push.apply(i,(0,v.Z)(l));case 15:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=0;case 9:if(!(u<i.length)){e.next=15;break}return e.next=12,c(i[u]);case 12:u++,e.next=9;break;case 15:return e.abrupt("return",r);case 16:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S=A,E=+new Date,L=0;function N(){return"rc-upload-".concat(E,"-").concat(++L)}var M=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],P=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.Z)((0,a.Z)(e),"state",{uid:N()}),(0,c.Z)((0,a.Z)(e),"reqs",{}),(0,c.Z)((0,a.Z)(e),"fileInput",void 0),(0,c.Z)((0,a.Z)(e),"_isMounted",void 0),(0,c.Z)((0,a.Z)(e),"onChange",(function(t){var n=e.props,r=n.accept,i=n.directory,o=t.target.files,a=(0,v.Z)(o).filter((function(e){return!i||w(e,r)}));e.uploadFiles(a),e.reset()})),(0,c.Z)((0,a.Z)(e),"onClick",(function(t){var n=e.fileInput;if(n){var r=t.target,i=e.props.onClick;if(r&&"BUTTON"===r.tagName)n.parentNode.focus(),r.blur();n.click(),i&&i(t)}})),(0,c.Z)((0,a.Z)(e),"onKeyDown",(function(t){"Enter"===t.key&&e.onClick(t)})),(0,c.Z)((0,a.Z)(e),"onFileDrop",function(){var t=(0,m.Z)((0,p.Z)().mark((function t(n){var r,i,o;return(0,p.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.props.multiple,n.preventDefault(),"dragover"!==n.type){t.next=4;break}return t.abrupt("return");case 4:if(!e.props.directory){t.next=11;break}return t.next=7,S(Array.prototype.slice.call(n.dataTransfer.items),(function(t){return w(t,e.props.accept)}));case 7:i=t.sent,e.uploadFiles(i),t.next=14;break;case 11:o=(0,v.Z)(n.dataTransfer.files).filter((function(t){return w(t,e.props.accept)})),!1===r&&(o=o.slice(0,1)),e.uploadFiles(o);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,c.Z)((0,a.Z)(e),"uploadFiles",(function(t){var n=(0,v.Z)(t),r=n.map((function(t){return t.uid=N(),e.processFile(t,n)}));Promise.all(r).then((function(t){var n=e.props.onBatchStart;null==n||n(t.map((function(e){return{file:e.origin,parsedFile:e.parsedFile}}))),t.filter((function(e){return null!==e.parsedFile})).forEach((function(t){e.post(t)}))}))})),(0,c.Z)((0,a.Z)(e),"processFile",function(){var t=(0,m.Z)((0,p.Z)().mark((function t(n,r){var i,o,a,s,l,c,u,d,h;return(0,p.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.props.beforeUpload,o=n,!i){t.next=14;break}return t.prev=3,t.next=6,i(n,r);case 6:o=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),o=!1;case 12:if(!1!==o){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if("function"!=typeof(a=e.props.action)){t.next=21;break}return t.next=18,a(n);case 18:s=t.sent,t.next=22;break;case 21:s=a;case 22:if("function"!=typeof(l=e.props.data)){t.next=29;break}return t.next=26,l(n);case 26:c=t.sent,t.next=30;break;case 29:c=l;case 30:return u="object"!==(0,f.Z)(o)&&"string"!=typeof o||!o?n:o,d=u instanceof File?u:new File([u],n.name,{type:n.type}),(h=d).uid=n.uid,t.abrupt("return",{origin:n,data:c,parsedFile:h,action:s});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}()),(0,c.Z)((0,a.Z)(e),"saveFileInput",(function(t){e.fileInput=t})),e}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(e){var t=this,n=e.data,r=e.origin,i=e.action,o=e.parsedFile;if(this._isMounted){var a=this.props,s=a.onStart,l=a.customRequest,c=a.name,u=a.headers,d=a.withCredentials,h=a.method,f=r.uid,p=l||k,m={action:i,filename:c,data:n,file:o,headers:u,withCredentials:d,method:h||"post",onProgress:function(e){var n=t.props.onProgress;null==n||n(e,o)},onSuccess:function(e,n){var r=t.props.onSuccess;null==r||r(e,o,n),delete t.reqs[f]},onError:function(e,n){var r=t.props.onError;null==r||r(e,n,o),delete t.reqs[f]}};s(r),this.reqs[f]=p(m)}}},{key:"reset",value:function(){this.setState({uid:N()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.prefixCls,i=e.className,o=e.classNames,a=void 0===o?{}:o,s=e.disabled,l=e.id,f=e.name,p=e.style,m=e.styles,v=void 0===m?{}:m,g=e.multiple,b=e.accept,w=e.capture,C=e.children,k=e.directory,A=e.openFileDialogOnClick,S=e.onMouseEnter,E=e.onMouseLeave,L=e.hasControlInside,N=(0,h.Z)(e,M),P=y()((0,c.Z)((0,c.Z)((0,c.Z)({},n,!0),"".concat(n,"-disabled"),s),i,i)),B=k?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},D=s?{}:{onClick:A?this.onClick:function(){},onKeyDown:A?this.onKeyDown:function(){},onMouseEnter:S,onMouseLeave:E,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:L?void 0:"0"};return u.createElement(t,(0,r.Z)({},D,{className:P,role:L?void 0:"button",style:p}),u.createElement("input",(0,r.Z)({},(0,x.Z)(N,{aria:!0,data:!0}),{id:l,name:f,disabled:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:(0,d.Z)({display:"none"},v.input),className:a.input,accept:b},B,{multiple:g,onChange:this.onChange},null!=w?{capture:w}:{})),C)}}]),n}(u.Component),B=P;function D(){}var Z=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.Z)((0,a.Z)(e),"uploader",void 0),(0,c.Z)((0,a.Z)(e),"saveUploader",(function(t){e.uploader=t})),e}return(0,o.Z)(n,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return u.createElement(B,(0,r.Z)({},this.props,{ref:this.saveUploader}))}}]),n}(u.Component);(0,c.Z)(Z,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:D,onError:D,onSuccess:D,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var T=Z},8224:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4676);function i(e,t,n,i){var o=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,i),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,i)}}}},24514:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(47273),i=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function o(e,t){return Array.isArray(e)||void 0===t?i(e):function(e,t){if(!i(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},48911:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}});var r=n(54476),i=n(76190),o=n(33885),a=n(20068),s=n(42978),l=n(75931),c=n(92310),u=n.n(c),d=n(29301),h=n(70425),f=n(34280),p=n(59301),m=n(4676),v=p.forwardRef((function(e,t){var n=e.height,i=e.offsetY,s=e.offsetX,l=e.children,c=e.prefixCls,h=e.onInnerResize,f=e.innerProps,m=e.rtl,v=e.extra,g={},y={display:"flex",flexDirection:"column"};return void 0!==i&&(g={height:n,position:"relative",overflow:"hidden"},y=(0,o.Z)((0,o.Z)({},y),{},(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({transform:"translateY(".concat(i,"px)")},m?"marginRight":"marginLeft",-s),"position","absolute"),"left",0),"right",0),"top",0))),p.createElement("div",{style:g},p.createElement(d.Z,{onResize:function(e){e.offsetHeight&&h&&h()}},p.createElement("div",(0,r.Z)({style:y,className:u()((0,a.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},f),l,v)))}));v.displayName="Filler";var g=v;function y(e){var t=e.children,n=e.setRef,r=p.useCallback((function(e){n(e)}),[]);return p.cloneElement(t,{ref:r})}function x(e,t,n){var r=p.useState(e),i=(0,s.Z)(r,2),o=i[0],a=i[1],l=p.useState(null),c=(0,s.Z)(l,2),u=c[0],d=c[1];return p.useEffect((function(){var r=function(e,t,n){var r,i,o=e.length,a=t.length;if(0===o&&0===a)return null;o<a?(r=e,i=t):(r=t,i=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var c=null,u=1!==Math.abs(o-a),d=0;d<i.length;d+=1){var h=l(r[d]);if(h!==l(i[d])){c=d,u=u||h!==l(i[d+1]);break}}return null===c?null:{index:c,multiple:u}}(o||[],e||[],t);void 0!==(null==r?void 0:r.index)&&(null==n||n(r.index),d(e[r.index])),a(e)}),[e]),[u]}var b=n(16089),w="object"===("undefined"==typeof navigator?"undefined":(0,i.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),C=function(e,t,n,r){var i=(0,p.useRef)(!1),o=(0,p.useRef)(null);function a(){clearTimeout(o.current),i.current=!0,o.current=setTimeout((function(){i.current=!1}),50)}var s=(0,p.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(o.current),i.current=!1):r&&!i.current||a(),!i.current&&r}};function k(e,t,n,r,i,o,a){var s=(0,p.useRef)(0),l=(0,p.useRef)(null),c=(0,p.useRef)(null),u=(0,p.useRef)(!1),d=C(t,n,r,i);var h=(0,p.useRef)(null),f=(0,p.useRef)(null);return[function(t){if(e){b.Z.cancel(f.current),f.current=(0,b.Z)((function(){h.current=null}),2);var n=t.deltaX,r=t.deltaY,i=t.shiftKey,p=n,m=r;("sx"===h.current||!h.current&&i&&r&&!n)&&(p=r,m=0,h.current="sx");var v=Math.abs(p),g=Math.abs(m);null===h.current&&(h.current=o&&v>g?"x":"y"),"y"===h.current?function(e,t){if(b.Z.cancel(l.current),!d(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,s.current+=t,c.current=t,w||n.preventDefault(),l.current=(0,b.Z)((function(){var e=u.current?10:1;a(s.current*e,!1),s.current=0})))}}(t,m):function(e,t){a(t,!0),w||e.preventDefault()}(t,p)}},function(t){e&&(u.current=t.detail===c.current)}]}var A=n(67732),S=n(83652),E=function(){function e(){(0,A.Z)(this,e),(0,a.Z)(this,"maps",void 0),(0,a.Z)(this,"id",0),(0,a.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,S.Z)(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function L(e){var t=parseFloat(e);return isNaN(t)?0:t}var N=14/15;function M(e){return Math.floor(Math.pow(e,.5))}function P(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var B=p.forwardRef((function(e,t){var n=e.prefixCls,r=e.rtl,i=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,d=e.onStopMove,h=e.onScroll,f=e.horizontal,m=e.spinSize,v=e.containerSize,g=e.style,y=e.thumbStyle,x=e.showScrollBar,w=p.useState(!1),C=(0,s.Z)(w,2),k=C[0],A=C[1],S=p.useState(null),E=(0,s.Z)(S,2),L=E[0],N=E[1],M=p.useState(null),B=(0,s.Z)(M,2),D=B[0],Z=B[1],T=!r,j=p.useRef(),F=p.useRef(),I=p.useState(x),W=(0,s.Z)(I,2),O=W[0],R=W[1],z=p.useRef(),H=function(){!0!==x&&!1!==x&&(clearTimeout(z.current),R(!0),z.current=setTimeout((function(){R(!1)}),3e3))},V=l-v||0,K=v-m||0,Y=p.useMemo((function(){return 0===i||0===V?0:i/V*K}),[i,V,K]),G=p.useRef({top:Y,dragging:k,pageY:L,startTop:D});G.current={top:Y,dragging:k,pageY:L,startTop:D};var U=function(e){A(!0),N(P(e,f)),Z(G.current.top),c(),e.stopPropagation(),e.preventDefault()};p.useEffect((function(){var e=function(e){e.preventDefault()},t=j.current,n=F.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",U,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",U)}}),[]);var X=p.useRef();X.current=V;var Q=p.useRef();Q.current=K,p.useEffect((function(){if(k){var e,t=function(t){var n=G.current,r=n.dragging,i=n.pageY,o=n.startTop;b.Z.cancel(e);var a=j.current.getBoundingClientRect(),s=v/(f?a.width:a.height);if(r){var l=(P(t,f)-i)*s,c=o;!T&&f?c-=l:c+=l;var u=X.current,d=Q.current,p=d?c/d:0,m=Math.ceil(p*u);m=Math.max(m,0),m=Math.min(m,u),e=(0,b.Z)((function(){h(m,f)}))}},n=function(){A(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}}),[k]),p.useEffect((function(){return H(),function(){clearTimeout(z.current)}}),[i]),p.useImperativeHandle(t,(function(){return{delayHidden:H}}));var J="".concat(n,"-scrollbar"),q={position:"absolute",visibility:O?null:"hidden"},_={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return f?(Object.assign(q,{height:8,left:0,right:0,bottom:0}),Object.assign(_,(0,a.Z)({height:"100%",width:m},T?"left":"right",Y))):(Object.assign(q,(0,a.Z)({width:8,top:0,bottom:0},T?"right":"left",0)),Object.assign(_,{width:"100%",height:m,top:Y})),p.createElement("div",{ref:j,className:u()(J,(0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(J,"-horizontal"),f),"".concat(J,"-vertical"),!f),"".concat(J,"-visible"),O)),style:(0,o.Z)((0,o.Z)({},q),g),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:H},p.createElement("div",{ref:F,className:u()("".concat(J,"-thumb"),(0,a.Z)({},"".concat(J,"-thumb-moving"),k)),style:(0,o.Z)((0,o.Z)({},_),y),onMouseDown:U}))}));function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,20),Math.floor(n)}var Z=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],T=[],j={overflowY:"auto",overflowAnchor:"none"};function F(e,t){var n=e.prefixCls,c=void 0===n?"rc-virtual-list":n,v=e.className,w=e.height,A=e.itemHeight,S=e.fullHeight,F=void 0===S||S,I=e.style,W=e.data,O=e.children,R=e.itemKey,z=e.virtual,H=e.direction,V=e.scrollWidth,K=e.component,Y=void 0===K?"div":K,G=e.onScroll,U=e.onVirtualScroll,X=e.onVisibleChange,Q=e.innerProps,J=e.extraRender,q=e.styles,_=e.showScrollBar,$=void 0===_?"optional":_,ee=(0,l.Z)(e,Z),te=p.useCallback((function(e){return"function"==typeof R?R(e):null==e?void 0:e[R]}),[R]),ne=function(e,t,n){var r=p.useState(0),i=(0,s.Z)(r,2),o=i[0],a=i[1],l=(0,p.useRef)(new Map),c=(0,p.useRef)(new E),u=(0,p.useRef)(0);function d(){u.current+=1}function h(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){var e=!1;l.current.forEach((function(t,n){if(t&&t.offsetParent){var r=t.offsetHeight,i=getComputedStyle(t),o=i.marginTop,a=i.marginBottom,s=r+L(o)+L(a);c.current.get(n)!==s&&(c.current.set(n,s),e=!0)}})),e&&a((function(e){return e+1}))};if(e)t();else{u.current+=1;var n=u.current;Promise.resolve().then((function(){n===u.current&&t()}))}}return(0,p.useEffect)((function(){return d}),[]),[function(r,i){var o=e(r),a=l.current.get(o);i?(l.current.set(o,i),h()):l.current.delete(o),!a!=!i&&(i?null==t||t(r):null==n||n(r))},h,c.current,o]}(te,null,null),re=(0,s.Z)(ne,4),ie=re[0],oe=re[1],ae=re[2],se=re[3],le=!(!1===z||!w||!A),ce=p.useMemo((function(){return Object.values(ae.maps).reduce((function(e,t){return e+t}),0)}),[ae.id,ae.maps]),ue=le&&W&&(Math.max(A*W.length,ce)>w||!!V),de="rtl"===H,he=u()(c,(0,a.Z)({},"".concat(c,"-rtl"),de),v),fe=W||T,pe=(0,p.useRef)(),me=(0,p.useRef)(),ve=(0,p.useRef)(),ge=(0,p.useState)(0),ye=(0,s.Z)(ge,2),xe=ye[0],be=ye[1],we=(0,p.useState)(0),Ce=(0,s.Z)(we,2),ke=Ce[0],Ae=Ce[1],Se=(0,p.useState)(!1),Ee=(0,s.Z)(Se,2),Le=Ee[0],Ne=Ee[1],Me=function(){Ne(!0)},Pe=function(){Ne(!1)},Be={getKey:te};function De(e){be((function(t){var n=function(e){var t=e;Number.isNaN(qe.current)||(t=Math.min(t,qe.current));return t=Math.max(t,0),t}("function"==typeof e?e(t):e);return pe.current.scrollTop=n,n}))}var Ze=(0,p.useRef)({start:0,end:fe.length}),Te=(0,p.useRef)(),je=x(fe,te),Fe=(0,s.Z)(je,1)[0];Te.current=Fe;var Ie=p.useMemo((function(){if(!le)return{scrollHeight:void 0,start:0,end:fe.length-1,offset:void 0};var e;if(!ue)return{scrollHeight:(null===(e=me.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:fe.length-1,offset:void 0};for(var t,n,r,i=0,o=fe.length,a=0;a<o;a+=1){var s=fe[a],l=te(s),c=ae.get(l),u=i+(void 0===c?A:c);u>=xe&&void 0===t&&(t=a,n=i),u>xe+w&&void 0===r&&(r=a),i=u}return void 0===t&&(t=0,n=0,r=Math.ceil(w/A)),void 0===r&&(r=fe.length-1),{scrollHeight:i,start:t,end:r=Math.min(r+1,fe.length-1),offset:n}}),[ue,le,xe,fe,se,w]),We=Ie.scrollHeight,Oe=Ie.start,Re=Ie.end,ze=Ie.offset;Ze.current.start=Oe,Ze.current.end=Re,p.useLayoutEffect((function(){var e=ae.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),r=fe[Oe];if(r&&void 0===n)if(te(r)===t){var i=ae.get(t)-A;De((function(e){return e+i}))}}ae.resetRecord()}),[We]);var He=p.useState({width:0,height:w}),Ve=(0,s.Z)(He,2),Ke=Ve[0],Ye=Ve[1],Ge=(0,p.useRef)(),Ue=(0,p.useRef)(),Xe=p.useMemo((function(){return D(Ke.width,V)}),[Ke.width,V]),Qe=p.useMemo((function(){return D(Ke.height,We)}),[Ke.height,We]),Je=We-w,qe=(0,p.useRef)(Je);qe.current=Je;var _e=xe<=0,$e=xe>=Je,et=ke<=0,tt=ke>=V,nt=C(_e,$e,et,tt),rt=function(){return{x:de?-ke:ke,y:xe}},it=(0,p.useRef)(rt()),ot=(0,h.zX)((function(e){if(U){var t=(0,o.Z)((0,o.Z)({},rt()),e);it.current.x===t.x&&it.current.y===t.y||(U(t),it.current=t)}}));function at(e,t){var n=e;t?((0,m.flushSync)((function(){Ae(n)})),ot()):De(n)}var st=function(e){var t=e,n=V?V-Ke.width:0;return t=Math.max(t,0),t=Math.min(t,n)},lt=(0,h.zX)((function(e,t){t?((0,m.flushSync)((function(){Ae((function(t){return st(t+(de?-e:e))}))})),ot()):De((function(t){return t+e}))})),ct=k(le,_e,$e,et,tt,!!V,lt),ut=(0,s.Z)(ct,2),dt=ut[0],ht=ut[1];!function(e,t,n){var r,i=(0,p.useRef)(!1),o=(0,p.useRef)(0),a=(0,p.useRef)(0),s=(0,p.useRef)(null),l=(0,p.useRef)(null),c=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),s=o.current-t,c=a.current-r,u=Math.abs(s)>Math.abs(c);u?o.current=t:a.current=r;var d=n(u,u?s:c,!1,e);d&&e.preventDefault(),clearInterval(l.current),d&&(l.current=setInterval((function(){u?s*=N:c*=N;var e=Math.floor(u?s:c);(!n(u,e,!0)||Math.abs(e)<=.1)&&clearInterval(l.current)}),16))}},u=function(){i.current=!1,r()},d=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,o.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),s.current=e.target,s.current.addEventListener("touchmove",c,{passive:!1}),s.current.addEventListener("touchend",u,{passive:!0}))};r=function(){s.current&&(s.current.removeEventListener("touchmove",c),s.current.removeEventListener("touchend",u))},(0,f.Z)((function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(l.current)}}),[e])}(le,pe,(function(e,t,n,r){var i=r;return!nt(e,t,n)&&((!i||!i._virtualHandled)&&(i&&(i._virtualHandled=!0),dt({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0))})),function(e,t,n){p.useEffect((function(){var r=t.current;if(e&&r){var i,o,a=!1,s=function(){b.Z.cancel(i)},l=function e(){s(),i=(0,b.Z)((function(){n(o),e()}))},c=function(){a=!1,s()},u=function(e){if(!e.target.draggable&&0===e.button){var t=e;t._virtualHandled||(t._virtualHandled=!0,a=!0)}},d=function(e){if(a){var t=P(e,!1),n=r.getBoundingClientRect(),i=n.top,c=n.bottom;t<=i?(o=-M(i-t),l()):t>=c?(o=M(t-c),l()):s()}};return r.addEventListener("mousedown",u),r.ownerDocument.addEventListener("mouseup",c),r.ownerDocument.addEventListener("mousemove",d),r.ownerDocument.addEventListener("dragend",c),function(){r.removeEventListener("mousedown",u),r.ownerDocument.removeEventListener("mouseup",c),r.ownerDocument.removeEventListener("mousemove",d),r.ownerDocument.removeEventListener("dragend",c),s()}}}),[e])}(ue,pe,(function(e){De((function(t){return t+e}))})),(0,f.Z)((function(){function e(e){var t=_e&&e.detail<0,n=$e&&e.detail>0;!le||t||n||e.preventDefault()}var t=pe.current;return t.addEventListener("wheel",dt,{passive:!1}),t.addEventListener("DOMMouseScroll",ht,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",dt),t.removeEventListener("DOMMouseScroll",ht),t.removeEventListener("MozMousePixelScroll",e)}}),[le,_e,$e]),(0,f.Z)((function(){if(V){var e=st(ke);Ae(e),ot({x:e})}}),[Ke.width,V]);var ft=function(){var e,t;null===(e=Ge.current)||void 0===e||e.delayHidden(),null===(t=Ue.current)||void 0===t||t.delayHidden()},pt=function(e,t,n,r,a,l,c,u){var d=p.useRef(),h=p.useState(null),m=(0,s.Z)(h,2),v=m[0],g=m[1];return(0,f.Z)((function(){if(v&&v.times<10){if(!e.current)return void g((function(e){return(0,o.Z)({},e)}));l();var i=v.targetAlign,s=v.originAlign,u=v.index,d=v.offset,h=e.current.clientHeight,f=!1,p=i,m=null;if(h){for(var y=i||s,x=0,b=0,w=0,C=Math.min(t.length-1,u),k=0;k<=C;k+=1){var A=a(t[k]);b=x;var S=n.get(A);x=w=b+(void 0===S?r:S)}for(var E="top"===y?d:h-d,L=C;L>=0;L-=1){var N=a(t[L]),M=n.get(N);if(void 0===M){f=!0;break}if((E-=M)<=0)break}switch(y){case"top":m=b-d;break;case"bottom":m=w-h+d;break;default:var P=e.current.scrollTop;b<P?p="top":w>P+h&&(p="bottom")}null!==m&&c(m),m!==v.lastTop&&(f=!0)}f&&g((0,o.Z)((0,o.Z)({},v),{},{times:v.times+1,targetAlign:p,lastTop:m}))}}),[v,e.current]),function(e){if(null!=e){if(b.Z.cancel(d.current),"number"==typeof e)c(e);else if(e&&"object"===(0,i.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return a(t)===e.key}));var o=e.offset;g({times:0,index:n,offset:void 0===o?0:o,originAlign:r})}}else u()}}(pe,fe,ae,A,te,(function(){return oe(!0)}),De,ft);p.useImperativeHandle(t,(function(){return{nativeElement:ve.current,getScrollInfo:rt,scrollTo:function(e){var t;(t=e)&&"object"===(0,i.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&Ae(st(e.left)),pt(e.top)):pt(e)}}})),(0,f.Z)((function(){if(X){var e=fe.slice(Oe,Re+1);X(e,fe)}}),[Oe,Re,fe]);var mt=function(e,t,n,r){var i=p.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),o=(0,s.Z)(i,2),a=o[0],l=o[1];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=a.get(i),c=a.get(o);if(void 0===s||void 0===c)for(var u=e.length,d=l.length;d<u;d+=1){var h,f=e[d],p=t(f);a.set(p,d);var m=null!==(h=n.get(p))&&void 0!==h?h:r;if(l[d]=(l[d-1]||0)+m,p===i&&(s=d),p===o&&(c=d),void 0!==s&&void 0!==c)break}return{top:l[s-1]||0,bottom:l[c]}}}(fe,te,ae,A),vt=null==J?void 0:J({start:Oe,end:Re,virtual:ue,offsetX:ke,offsetY:ze,rtl:de,getSize:mt}),gt=function(e,t,n,r,i,o,a,s){var l=s.getKey;return e.slice(t,n+1).map((function(e,n){var s=a(e,t+n,{style:{width:r},offsetX:i}),c=l(e);return p.createElement(y,{key:c,setRef:function(t){return o(e,t)}},s)}))}(fe,Oe,Re,V,ke,ie,O,Be),yt=null;w&&(yt=(0,o.Z)((0,a.Z)({},F?"height":"maxHeight",w),j),le&&(yt.overflowY="hidden",V&&(yt.overflowX="hidden"),Le&&(yt.pointerEvents="none")));var xt={};return de&&(xt.dir="rtl"),p.createElement("div",(0,r.Z)({ref:ve,style:(0,o.Z)((0,o.Z)({},I),{},{position:"relative"}),className:he},xt,ee),p.createElement(d.Z,{onResize:function(e){Ye({width:e.offsetWidth,height:e.offsetHeight})}},p.createElement(Y,{className:"".concat(c,"-holder"),style:yt,ref:pe,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==xe&&De(t),null==G||G(e),ot()},onMouseEnter:ft},p.createElement(g,{prefixCls:c,height:We,offsetX:ke,offsetY:ze,scrollWidth:V,onInnerResize:oe,ref:me,innerProps:Q,rtl:de,extra:vt},gt))),ue&&We>w&&p.createElement(B,{ref:Ge,prefixCls:c,scrollOffset:xe,scrollRange:We,rtl:de,onScroll:at,onStartMove:Me,onStopMove:Pe,spinSize:Qe,containerSize:Ke.height,style:null==q?void 0:q.verticalScrollBar,thumbStyle:null==q?void 0:q.verticalScrollBarThumb,showScrollBar:$}),ue&&V>Ke.width&&p.createElement(B,{ref:Ue,prefixCls:c,scrollOffset:ke,scrollRange:V,rtl:de,onScroll:at,onStartMove:Me,onStopMove:Pe,spinSize:Xe,containerSize:Ke.width,horizontal:!0,style:null==q?void 0:q.horizontalScrollBar,thumbStyle:null==q?void 0:q.horizontalScrollBarThumb,showScrollBar:$}))}var I=p.forwardRef(F);I.displayName="List";var W=I},25510:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgFY9gijY5hBgaBAUCAoEBTYyRQIwLKTuRd9DwoEBYICQYGgwB6hQACWPcLoGGZQICgQFAgKBAV2MgUCsOxk7kXfgwJBgaBAUCAosEcoEIBljzA6hhkUCAoEBYICQYGdTIEALDuZe9H3oEBQICg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+mAywGXvH5hY3feECZxRZbLBxpwnxOdQ0NNWDxixvJA/rl5V5qX9oZjwJY8qlWAEtEMwEWJqvAh4CHJq8HL3o8XnXE/0ehyFdKfQiE2267LayyUq9uAhb1TRNXbfJAJrWdKeW6CViq+lDVpuEAWMAQV15xhZ177tn27e98x16byyF0fUBiNhaCvo3IQUksMXWqHfutb9huu32gPwHcaA6sm79l56UXX7a777orrLjGTxhnv/7VGbbFVlva6EVG2+tz2J3TFwvCh/iYESPGBBdReHzWXFtkLOf99OlsgNTzzzxvvzj3ZPvhKT+y+/5yv7340qthN82c2XNtypQlgmVz3333s8023sQmLDJ6vqWC+vtTwPThIawrI4m7mWcjidEJATEAlTEhcV24yBsT0MbscAbSAw89YHt9aC+774H77JBDDw2ZgjdYfwObM3den0to1CgbiYUIT1Kf4aTPUjTidZsza7aNCX6qPuCFKWXeq6/ZSE6dDtmC2SreF4ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18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hziM0WPG2vhJE23Ft65kxxx/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/no76Scn2+lnnWnLrbyiXX81gGZyOOCRYws4KTqYi8h+O9IBlvm8r4iWAlgKYGlXHBbAkk+5AlgKYMnnmg48UQBLAmCZ7xP6/SWX2tlnnGEnfv/79o+77mIHfe1gW2vatL6ji/G3zE8pj6+CBGz/+7//a9854bshv8n7/+V9dsJxx4dYl7+99LzdcdfttuUWW9viS04JW54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m/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(e,t,n){"use strict";e.exports=n.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9Pmtzvr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/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},96908:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTp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lE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});const r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,s=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,i,l,c;if("undefined"==typeof document)return[];const{scrollMode:u,block:d,inline:h,boundary:f,skipOverflowHiddenElements:p}=t,m="function"==typeof f?f:e=>e!==f;if(!r(e))throw new TypeError("Invalid target");const v=document.scrollingElement||document.documentElement,g=[];let y=e;for(;r(y)&&m(y);){if(y=s(y),y===v){g.push(y);break}null!=y&&y===document.body&&o(y)&&!o(document.documentElement)||null!=y&&o(y,p)&&g.push(y)}const x=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,b=null!=(c=null==(l=window.visualViewport)?void 0:l.height)?c:innerHeight,{scrollX:w,scrollY:C}=window,{height:k,width:A,top:S,right:E,bottom:L,left:N}=e.getBoundingClientRect(),{top:M,right:P,bottom:B,left:D}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let Z="start"===d||"nearest"===d?S-M:"end"===d?L+B:S+k/2-M+B,T="center"===h?N+A/2-D+P:"end"===h?E+P:N-D;const j=[];for(let e=0;e<g.length;e++){const t=g[e],{height:n,width:r,top:i,right:s,bottom:l,left:c}=t.getBoundingClientRect();if("if-needed"===u&&S>=0&&N>=0&&L<=b&&E<=x&&(t===v&&!o(t)||S>=i&&L<=l&&N>=c&&E<=s))return j;const f=getComputedStyle(t),p=parseInt(f.borderLeftWidth,10),m=parseInt(f.borderTopWidth,10),y=parseInt(f.borderRightWidth,10),M=parseInt(f.borderBottomWidth,10);let P=0,B=0;const D="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-y:0,F="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-M:0,I="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,W="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)P="start"===d?Z:"end"===d?Z-b:"nearest"===d?a(C,C+b,b,m,M,C+Z,C+Z+k,k):Z-b/2,B="start"===h?T:"center"===h?T-x/2:"end"===h?T-x:a(w,w+x,x,p,y,w+T,w+T+A,A),P=Math.max(0,P+C),B=Math.max(0,B+w);else{P="start"===d?Z-i-m:"end"===d?Z-l+M+F:"nearest"===d?a(i,l,n,m,M+F,Z,Z+k,k):Z-(i+n/2)+F/2,B="start"===h?T-c-p:"center"===h?T-(c+r/2)+D/2:"end"===h?T-s+y+D:a(c,s,r,p,y+D,T,T+A,A);const{scrollLeft:e,scrollTop:o}=t;P=0===W?0:Math.max(0,Math.min(o+P/W,t.scrollHeight-n/W+F)),B=0===I?0:Math.max(0,Math.min(e+B/I,t.scrollWidth-r/I+D)),Z+=o-P,T+=e-B}j.push({el:t,top:P,left:B})}return j};function c(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(l(e,t));const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:i,top:o,left:a}of l(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t))){const e=o-n.top+n.bottom,t=a-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}}}]); |