|
|
(self.webpackChunk=self.webpackChunk||[]).push([[34994,4977,3287],{41521:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(1565),a=n(59301),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},r=n(68475),l=function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var s=a.forwardRef(l)},84078:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(1565),a=n(59301),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},r=n(68475),l=function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var s=a.forwardRef(l)},69154: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={},i=null,a=!1,o=!1,r=null,l=!1,s=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:r=d;break;case"object":void 0!==d.is3D?i=d:n=d;break;case"boolean":a=d,o=!0}}null===i&&(i={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||(a=!0)),null!==r&&void 0===n.id&&(n.id=r);var p="",f=!1,h=null,m=null,g=null,v=!1,w=null,b=null,x=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var y=function(e){return parseFloat(e)>4?parseFloat(e):5};function _(){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,G(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."):(s=e,I(e,t))},e.getHTML5CodebaseVersion=function(){return m},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){x=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 i,a="auto",o=n.id,r=!1,s=0;s<arguments.length;s++){var c=arguments[s];"string"==typeof c?(c=c.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?a=c:o=arguments[s]:"boolean"==typeof c?r=c:c instanceof HTMLElement&&(i=c)}function u(){if(l){a=Z(a);var s=i||document.getElementById(o);if(s)if(e.removeExistingApplet(s,!1),void 0===n.width&&s.clientWidth&&(n.width=s.clientWidth),void 0===n.height&&s.clientHeight&&(n.height=s.clientHeight),n.width&&n.height||"html5"!==a||(delete n.width,delete n.height),h=a,"screenshot"===a)B(s,n);else{var c=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?c=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(c=(!_()||t())&&k()),c?(h="screenshot",N(s,n,r,a)):A(s,n,r)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return i},e.isJavaInstalled=function(){return!1};var j=function(t){var a=function(){n.onError&&n.onError(),D("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",r="/materials/"+n.material_id+"?scope=basic";S("https://"+o+"/api/proxy.php?path="+encodeURIComponent(r),(function(o){var r=JSON.parse(o),l=r.elements?r.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:r;if(l&&l.url){n.fileName=l.url,C(l.settings||{}),i.is3D=!0;var s="https://www.geogebra.org/images/";e.setPreviewImage(w||l.previewUrl,s+"GeoGebra_loading.png",s+"applet_play.png"),t()}else a()}),a)};function C(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 S(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.onload=function(){t(i.responseText)},i.onerror=n,i.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return h},e.setPreviewImage=function(e,t,n){w=e,b=t,n},e.removeExistingApplet=function(e,t){var i;"string"==typeof e&&(e=document.getElementById(e)),h=null;var a=null;for(i=0;i<e.childNodes.length;i++){var o=e.childNodes[i],r=o.className;"applet_screenshot"===r?t?(o.style.display="block",h="screenshot"):o.style.display="none":"applet_scaler prerender"!==r&&(e.removeChild(o),a=r&&-1!=r.indexOf("appletParameters")?o.id:null,i--)}var l=void 0!==n.id?n.id:a,s=window[l];s&&"function"==typeof s.getBase64&&(s.remove(),window[l]=null)},e.refreshHitPoints=function(){if(y(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 T=function(e){return e&&"false"!==e},A=function(t,n,i){y(m)<=4.2&&(i=!0);var a=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==m||ggbHTML5LoadedCodebaseIsWebSimple&&!v)&&(a=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var o=document.createElement("div");o.classList.add("appletParameters","notranslate");var r=n.width,l=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(y(m)<=4.4)T(n.showToolBar)&&(n.height-=7),T(n.showAlgebraInput)&&(n.height-=37),n.width<605&&T(n.showToolBar)&&(n.width=605,r=605);else{var u=100;(T(n.showToolBar)||T(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),u=T(n.showMenuBar)?245:155),r<u&&(n.width=u,r=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]);x&&o.setAttribute("data-param-fontscssurl",x),e.resize=function(){GGBAppletUtils.responsiveResize(t,n)},window.addEventListener("resize",(function(t){e.resize()}));var f="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(i||void 0===n.width){var h=document.createElement("div");h.className="applet_scaler",h.style.position="relative",h.style.display="block",h.appendChild(o),t.appendChild(h),n.appletOnLoad=function(t){e.resize(),f(t)}}else{n.hasOwnProperty("showSplash")||o.setAttribute("data-param-showSplash","false");var w=t.querySelector(".applet_scaler.prerender"),b=null!==w;if(b)_=w.querySelector(".ggb_preview");else{var _=L(r,l,n.borderColor,!1);(w=document.createElement("div")).className="applet_scaler",w.style.position="relative",w.style.display="block",w.style.width=r+"px",w.style.height=l+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(w,"66%"),y(m)>=5?(n.appletOnLoad=function(e){var n=t.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(w),window.GGBT_wsf_view&&$(window).trigger("resize"),f(e)},b||w.appendChild(_)):o.appendChild(_),w.appendChild(o),b||t.appendChild(w),setTimeout((function(){e.resize()}),1)}function k(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),D("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function j(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)},y(m)<5&&(e.className+=" geogebraweb")):k(e,t)}if(a){scriptLoadStarted=!0;for(var C=0;C<o.childNodes.length;C++){"TABLE"===o.childNodes[C].tagName&&(o.removeChild(o.childNodes[C]),C--)}if(null!==ggbHTML5LoadedScript){var S=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=S&&S.parentNode.removeChild(S)}var A=document.createElement("script"),B=function(){j(o,n)};A.src=p+g,ggbHTML5LoadedCodebaseIsWebSimple=v,ggbHTML5LoadedCodebaseVersion=m,ggbHTML5LoadedScript=A.src,D("GeoGebra HTML5 codebase loaded: '"+p+"'.",n),c||s&&"5.0"!=s?p.requirejs?__webpack_require__.e(49872).then(function(){var e=[__webpack_require__(49872)];B.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(A.onload=B,t.appendChild(A)):(v?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),B())}else j(o,n);n.height=l,n.width=r},B=function(t,n,i){var a=L(n.width,n.height,n.borderColor,i),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"+(i?" applet_screenshot_play":""),o.appendChild(a);var r=GGBAppletUtils.getScale(n,t,i);i?(t.appendChild(P()),window.GGBT_wsf_view||(t.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(o,"66%"),t.appendChild(o),1===r||isNaN(r)||(GGBAppletUtils.scaleElement(o,r),o.style.width=n.width+"px",o.style.height=n.height+"px",o.parentNode.style.width=n.width*r+"px",o.parentNode.style.height=n.height*r+"px"),e.resize=function(){E(t,a,o,i)},window.addEventListener("resize",(function(t){e.resize()})),e.resize()};function E(e,t,i,a){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,a);null!==i.parentNode&&(isNaN(o)||1===o?(GGBAppletUtils.scaleElement(i,1),i.parentNode.style.width=n.width+"px",i.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(i,o),i.parentNode.style.width=n.width*o+"px",i.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 N=function(e,t,n,i){B(e,t,!0);for(var a=function(){var n=[];for(r=0;r<e.childNodes.length;r++)n.push(e.childNodes[r]);if(window.GGBT_wsf_view){var a=window.GGBT_wsf_view.renderFullScreen(e,t.id),o=document.getElementById("fullscreencontainer"),l=jQuery(e).find(".fullscreencontent");l.length>0?(a.remove(),l.attr("id","fullscreencontent").show(),jQuery(o).append(l),window.dispatchEvent(new Event("resize"))):A(a,t,!1),window.GGBT_wsf_view.launchFullScreen(o)}else h=i,A(e,t,!1);if(!window.GGBT_wsf_view)for(r=0;r<n.length;r++)e.removeChild(n[r])},o=e.getElementsByClassName("ggb_preview_play"),r=0;r<o.length;r++)o[r].addEventListener("click",a,!1),o[r].addEventListener("ontouchstart",a,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),k()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},P=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},L=function(e,t,n,i){var a=document.createElement("div");a.className="ggb_preview",a.style.position="absolute",a.style.zIndex="90",a.style.width=e-2+"px",a.style.height=t-2+"px",a.style.top="0px",a.style.left="0px",a.style.overflow="hidden",a.style.backgroundColor="white";var o="lightgrey";void 0!==n&&(o="none"===n?"transparent":n),a.style.border="1px solid "+o;var r,l,s,c=document.createElement("img");if((c.style.position="relative",c.style.zIndex="1000",c.style.top="-1px",c.style.left="-1px",null!==w&&c.setAttribute("src",w),c.style.opacity=.7,null!==b)&&!i){(r=document.createElement("img")).style.position="absolute",r.style.zIndex="1001",r.style.opacity=1,c.style.opacity=.3,(l=360)>e/4*3&&(l=e/4*3),s=l/5.8,r.setAttribute("src",b),r.setAttribute("width",l),r.setAttribute("height",s);var u=(e-l)/2,d=(t-s)/2;r.style.left=u+"px",r.style.top=d+"px",a.appendChild(r)}return a.appendChild(c),a},Z=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},M=["web","webSimple","web3d","tablet","tablet3d","phone"],I=function(e,t){if(m=e,t)G(m,!0);else{var o,r,l=!a;if(l){var s=y(m);!isNaN(s)&&s<4.4&&(l=!1)}o="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var c=m.indexOf("//");for(var u in r=c>0?m:0===c?o+m:"https://www.geogebra.org/apps/5.2.814.0/",M)if(m.slice(-1*M[u].length)===M[u]||m.slice(-1*(M[u].length+1))===M[u]+"/")return void G(r,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!l||i.is3D||i.AV||i.SV||i.CV||i.EV2||i.CP||i.PC||i.DA||i.FI||i.PV||T(n.showToolBar)||T(n.showMenuBar)||T(n.showAlgebraInput)||T(n.enableRightClick)||n.appName&&"classic"!=n.appName?r+="web3d/":r+="webSimple/",G(r,!1)}},G=function(e,t){if(e.requirejs)p=e;else{"/"!==e.slice(-1)&&(e+="/"),p=e,null===t&&(t=-1===e.indexOf("http")),f=t,g="web.nocache.js",v=!1;var n=p.split("/");n.length>1&&(t||"webSimple"!==n[n.length-2]?M.indexOf(n[n.length-2])>=0&&(g=n[n.length-2]+".nocache.js"):(g="webSimple.nocache.js",v=!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 i=parseFloat(m);NaN!==i&&i<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+i+" is deprecated. Using version latest instead."),I("5.0",t))}},D=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!==s?e=s:parseFloat(e)<5&&(e="5.0"),I(e,!1),null!==c&&G(c,f),l=!0}return void 0!==n.material_id?j(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,i,a){if(e.isScreenshoGenerator)return 1;var o,r=void 0!==i&&i,l=null!=e.noScaleMargin&&e.noScaleMargin,s=(o=e.autoHeight)&&"false"!==o,c=function(e,t,n,i,a,o){var r=null;if(null!=o&&""!=o)for(var l=e.parentNode;null!=l;){if((" "+l.className+" ").indexOf(" "+o+" ")>-1){r=l;break}l=l.parentNode}var s=0,c=0,u=0,d=0,p=0,f=0,h=0;if(r)s=r.offsetWidth,c=Math.max(i?r.offsetWidth:0,r.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(s=Math.min(window.innerWidth,document.documentElement.clientWidth),c=Math.min(window.innerHeight,document.documentElement.clientHeight),u=s):(s=window.innerWidth,c=window.innerHeight,u=window.innerWidth),e){var m=e.getBoundingClientRect();m.left>0&&m.left<=s&&(void 0===a||!a)&&("rtl"===document.dir?(p=s-m.width-m.left,f=u<=480?10:30):(f=m.left,p=u<=480?10:30),d=f+p)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(d=40,h=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(d=0,h=40))}return e&&((void 0===n||!n)&&t>0&&t+d<s?s=t:s-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(c-=h)),{width:s,height:c}}(t,e.width,n,s,r&&window.GGBT_wsf_view||l,a),u=parseInt(c.width),d=e.width,p=e.height;if(void 0===d){var f=t.querySelector(".appletParameters");f&&(d=f.offsetWidth,p=f.offsetHeight)}var h=u/d,m=r?1:c.height/p;return void 0===n||n||(h=Math.min(1,h),m=Math.min(1,m)),Math.min(h,m)}function i(e,t,i){var a,o=1,r=!1;return e.hasOwnProperty("allowUpscale")&&(r=e.allowUpscale),e.hasOwnProperty("scale")&&(o=parseFloat(e.scale),(isNaN(o)||null===o||0===o)&&(o=1),o>1&&(r=!0)),t&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(r=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?o:(a=n(e,t,r,i,e.scaleContainerClass),!r||e.hasOwnProperty("scale")&&1!==o?Math.min(o,a):a)}function a(e){var t=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),i=e.getBoundingClientRect(),a=(t-i.width)/2,o=(n-i.height)/2;o<0&&(o=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=a<40?"40px":a+"px",e.style.top=o+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=o<40?"40px":o+"px",e.style.left=a+"px")}return{responsiveResize:function(n,o){var r=n.querySelector(".appletParameters");if(r){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(o.id!==r.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(r.parentElement&&/fullscreen/.test(r.parentElement.className))return;var l=i(o,n);e()&&r.setAttribute("data-param-scale",l);for(var s=null,c=0;c<n.childNodes.length;c++)if(void 0!==n.childNodes[c].className&&n.childNodes[c].className.match(/^applet_scaler/)){s=n.childNodes[c];break}if(null!==s&&null!==s.querySelector(".noscale"))return;var u=void 0!==o.id?o.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===s||s.className.match(/fullscreen/)||(s.parentNode.style.transform="",isNaN(l)||1===l?(t(s,1),s.parentNode.style.width=o.width+"px",s.parentNode.style.height=o.height+"px"):(s.parentNode.style.width=o.width*l+"px",s.parentNode.style.height=o.height*l+"px",t(s,l))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&a(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(r).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:a,getScale:i,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,a,!1);var i=setInterval((function(){a()}),$)}function a(){if(!n){if(!t())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,a,!1),i&&clearInterval(i)}}}((function(){var t,n,i,a;t=e,n=u(),i=n.body,(a=n.createElement(_)).language=ab,a.crossOrigin=W,a.src=t,webModule.__errFn&&(a.onerror=function(){webModule.__errFn(L,new Error(bb+t))}),i.appendChild(a),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 i=e.lastIndexOf(tb,Math.min(n,t));return i>=O?e.substring(O,i+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=[],a=[];function o(e){var t=a[e](),n=i[e];if(t in n)return t;var o=[];for(var l in n)o[n[l]]=l;throw r&&r(e,o,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]=o(t));return e},webModule.__computePropValue=o,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var l=(e=Cb).indexOf(Db);-1!=l&&(t=parseInt(e.substring(l+P),$),e=e.substring(O,l))}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():{},i=e[webModule.__softPermutationId],a=O;a<i.length;a++){var o=i[a];n[o[O]]=o[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var t=u(),n=t.body,i=t.createElement(_);i.language=ab,i.text=e,n.appendChild(i),n.removeChild(i)},A(),webModule.__moduleBase="/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")})()},50698:function(e,t,n){"use strict";function i(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 a(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],i=0;i<e.length;i++){var a=e[i],o=t?"".concat(t,"/").concat(a.name):"".concat(a.name);n.push({title:a.name,type:a.type,isLeaf:"tree"!==a.type,key:o})}return n}function o(e,t,n){for(var i=0;i<e.length;i++){var a=e[i];if(a.key===t){a.children=n;break}a.children&&o(a.children,t,n)}return e}function r(e,t,n){var i;return function(){var a=this,o=arguments,r=function(){i=null,n||e.apply(a,o)},l=n&&!i;clearTimeout(i),i=setTimeout(r,t),l&&e.apply(a,o)}}n.d(t,{Ax:function(){return o},Ds:function(){return r},KI:function(){return l},SI:function(){return a},f1:function(){return i}});var l=n(14103).Z.API_SERVER},45055:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(82242),a=n.n(i),o=n(7557),r=n.n(o),l=n(41498),s=n.n(l),c=n(79800),u=n.n(c),d=n(39647),p=n.n(d),f=n(59301),h=n(48209),m=n(44979),g="customTree___ZhEHU",v="name___RIkn2",w=n(37712),b=["value","onChange","defaultValue","disabled"],x=function(e){var t=e.value,n=e.onChange,i=e.defaultValue,o=e.disabled,l=p()(e,b),c=(0,f.useState)([]),d=u()(c,2),x=d[0],y=d[1],_=(0,f.useState)("1"),k=u()(_,2),j=k[0],C=k[1];(0,f.useEffect)((function(){S()}),[]);var S=function(){var e=s()(r()().mark((function e(){var t,n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,m.NZ)({});case 2:null!=(t=e.sent)&&t.data&&(n=[{title:(0,w.jsx)("div",{title:"根目录",className:v,children:"根目录"}),value:0,key:0,icon:(0,w.jsx)("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:T(t.data||[])}],y(n),C("2"));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(e){function t(e){var n=e.children,i=Array.isArray(n)&&n.length>0,a=null==e?void 0:e.group_id;return{title:(0,w.jsx)("div",{title:null==e?void 0:e.name,className:v,children:null==e?void 0:e.name}),value:a,key:a,icon:(0,w.jsx)("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:i?null==n?void 0:n.map((function(e){return t(e)})):[]}}return null==e?void 0:e.map((function(e){return t(e)}))},A=i?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:t,defaultExpandedKeys:t};return(0,w.jsx)("div",{className:g,children:(0,w.jsx)(h.Z,a()(a()({},A),{},{showIcon:!0,treeData:x,onSelect:n,disabled:o},l),j)})}},47543:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(7557),a=n.n(i),o=n(41498),r=n.n(o),l=n(79800),s=n.n(l),c=n(59301),u="imageDimensions___a7crR",d="img___Kroat",p="fullWidth___c492T",f=n(92310),h=n.n(f),m=n(71418),g=n(2859),v=n(82420),w=n(92818),b=n(37712),x=function(e){var t=e.data,n=e.className,i=e.fullWidth,o=e.style,l=void 0===o?{}:o,f=e.onClose,x=e.onOk,y=e.showFullTools,_=e.noAssociationId,k=(0,c.useRef)(null),j=(0,c.useRef)(null),C=(0,c.useState)(!1),S=s()(C,2),T=S[0],A=S[1],B=(0,c.useState)("正在加载中"),E=s()(B,2),N=E[0],P=E[1];(0,c.useEffect)((function(){null!=t&&t.visible?document.body.setAttribute("data-custom","y-hidden"):document.body.removeAttribute("data-custom"),null!=t&&t.src&&L()}),[null==t?void 0:t.visible]);var L=function(){var e=r()(a()().mark((function e(){var n;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),P("正在加载中"),e.next=4,(0,w.ZJ)(null==t?void 0:t.src);case 4:n=e.sent,k.current.src="",k.current.src=n,k.current.onload=function(){M()},A(!1),P("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Z=function(){var e=r()(a()().mark((function e(n){var i;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),P("正在保存中"),e.next=4,(0,v.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:t.title,file:n.dataUrl}});case 4:if(null==(i=e.sent)||!i.id||_){e.next=12;break}return e.next=8,(0,v.ZP)("/api/attachments/".concat(t.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==i?void 0:i.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&x(),e.next=13;break;case 12:null!=i&&i.id&&x(i);case 13:A(!1),P("");case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){j.current=new g.hP(k.current),j.current.addEventListener("render",Z),j.current.addEventListener("beforeclose",f),y&&(j.current.availableMarkerTypes=j.current.ALL_MARKER_TYPES,j.current.uiStyleSettings.redoButtonVisible=!0,j.current.uiStyleSettings.notesButtonVisible=!0,j.current.uiStyleSettings.zoomButtonVisible=!0,j.current.uiStyleSettings.zoomOutButtonVisible=!0,j.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=j.current.uiStyleSettings,j.current.show(),null!=t&&t.snapshotData&&j.current.restoreState(t.snapshotData),setTimeout((function(){var e;(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,b.jsx)(c.Fragment,{children:(null==t?void 0:t.visible)&&(0,b.jsxs)("div",{className:h()(u,n,i?p:""),style:l,children:[(0,b.jsx)(m.Z,{spinning:T,tip:N,style:{position:"absolute"}}),(0,b.jsx)("img",{className:d,ref:k})]})})}},94066:function(e,t,n){"use strict";n.d(t,{N:function(){return T}});var i=n(7557),a=n.n(i),o=n(41498),r=n.n(o),l=n(37205),s=n.n(l),c=n(79800),u=n.n(c),d=n(59301),p=n(57809),f=n(43418),h=n(95237),m=n(43604),g=n(98135),v=n(8591),w=n(82420),b="wrap___F7E3F",x="selectWrapper____kESB",y="tips___aHjQY",_="linkBtn___uggVr",k="mainText____S1I0",j=n(88289),C=n(37712),S=p.default.Option,T=function(e){var t=e.subId,n=e.value,i=e.selectvalues,o=e.disabled,l=e.knowledgeOptions,c=void 0===l?[]:l,T=e.onChange,A=void 0===T?function(){}:T,B=e.onAddKnowledgeFinish,E=void 0===B?function(){}:B,N=(0,d.useRef)(),P=(0,d.useState)([]),L=u()(P,2),Z=L[0],M=L[1];n=n||[];(0,d.useEffect)((function(){(null==i?void 0:i.length)>0&&(M(s()(i)),A(s()(i)))}),[c]),(0,d.useEffect)((function(){var e;(null===(e=n)||void 0===e?void 0:e.length)>0&&A(s()(n))}),[c]);return(0,C.jsxs)(h.Z,{wrap:!1,align:"middle",className:b,children:[(0,C.jsx)(m.Z,{children:(0,C.jsx)(p.default,{mode:"multiple",disabled:!t||o,className:x,placeholder:"请选择知识点,支持选择多个",onChange:function(e,t){e?(M(s()(t)),A(s()(t))):(M([]),A([]))},style:{width:490},showSearch:!0,allowClear:!0,value:Z,filterOption:function(e,t){return t.label.indexOf(e.toLowerCase())>=0},children:null==c?void 0:c.map((function(e){return(0,C.jsx)(S,{value:e.id,label:e.name,children:(0,C.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,C.jsx)("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:e.name}),"personal"===(null==e?void 0:e.type)&&(0,C.jsx)("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"},children:"自用"})]})},e.id)}))})}),t&&(0,C.jsxs)(m.Z,{className:"ml20",children:[(0,C.jsx)("span",{className:y,children:"没有合适的知识点?"}),(0,C.jsx)("span",{className:_,onClick:function(e){e.preventDefault(),N.current="",f.Z.confirm({centered:!0,width:640,okText:"确定",cancelText:"取消",icon:null,title:"新建知识点",className:"custom-modal-divider",content:(0,C.jsxs)("div",{className:"font14",children:[(0,C.jsxs)(h.Z,{className:"mb20",children:[(0,C.jsx)(m.Z,{children:(0,C.jsx)(j.Z,{style:{color:"#FF8C29"}})}),(0,C.jsxs)(m.Z,{className:"ml10 ".concat(k),children:["新建的知识点仅本人可见,平台审核列入公开知识点后,对所有用户可见。",(0,C.jsx)("br",{}),"平台有权删除不合适的知识点,请认真填写知识点名称。"]})]}),(0,C.jsx)(g.Z,{maxLength:20,size:"middle",showCount:!0,placeholder:"请输入知识点名称",defaultValue:N.current,onChange:function(e){N.current=e.target.value}})]}),onOk:function(){return new Promise(function(){var e=r()(a()().mark((function e(n,o){var r,l;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(N.current){e.next=3;break}return v.ZP.warning("请输入知识点名称"),e.abrupt("return",o());case 3:if(!(N.current.length>20)){e.next=6;break}return v.ZP.warning("请输入不超过20字的知识点名称"),e.abrupt("return",o());case 6:return e.next=8,(0,w.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:N.current,sub_discipline_id:t}});case 8:return 0===(null==(r=e.sent)?void 0:r.status)&&(E({id:r.tag_discipline_id,name:N.current,type:"personal"}),(l=i||[]).push(r.tag_discipline_id),A(s()(l)),M(s()(l)),A(s()(l))),e.abrupt("return",n());case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}})},children:"新建知识点"})]})]})}},84293:function(e,t,n){"use strict";n.d(t,{h:function(){return p},x:function(){return f}});var i=n(82242),a=n.n(i),o=n(39647),r=n.n(o),l=n(11243),s=n(15553),c=n(11829),u=n(37712),d=["value","onChange","scrollId"],p=function(e){var t=e.value,n=e.onChange,i=e.scrollId,o=r()(e,d);return(0,u.jsx)("div",{id:i||"",children:(0,u.jsx)(l.Z,a()(a()({},o),{},{defaultValue:t,onChange:function(e,t){console.log("a:",e,t),null!=t&&t.length?n(e,t):n(e)}}))})},f=function(e){var t=e.value,n=e.onChange,i=e.placeholder,a=e.height,o=void 0===a?140:a;return e.isEdit?(0,u.jsx)(l.Z,{watch:!0,isFocus:!0,height:o,placeholder:i,defaultValue:t,onChange:n}):(0,u.jsx)("div",{style:{cursor:"pointer"},children:t?(0,u.jsx)(c.Z,{className:s.Z.inputBorder,value:t}):(0,u.jsx)("div",{className:"".concat(s.Z.inputBorder," ").concat(s.Z.placeholder," inputBorderError"),children:i})})}},78786:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(79800),a=n.n(i),o=n(59301),r=n(37712),l=function(e){var t=e.defaultX,n=void 0===t?"40%":t,i=e.leftChild,l=e.rightChild,s=e.className,c=e.hideResize,u=void 0!==c&&c,d=(0,o.useState)(n),p=a()(d,2),f=p[0],h=p[1],m=(0,o.useRef)();(0,o.useEffect)((function(){function e(e){m.current&&h(e.pageX)}function t(){m.current=!1}return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),function(){window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}),[]);var g="number"==typeof f&&.01!==f?"".concat(f,"px"):n,v="calc(100% - ".concat(u?"0px":"4px"," - ").concat(g,")");return(0,r.jsxs)("div",{className:"split-panel-container ".concat(s),children:[(0,r.jsx)("section",{style:{width:g,display:.01===f?"none":""},children:i}),(0,r.jsx)("section",{className:"resize-x-bar",onMouseDown:function(){m.current=!0},children:(0,r.jsx)("a",{className:"btn-resize",children:(0,r.jsx)("svg",{width:"16",height:"13",viewBox:"0 0 16 13",children:(0,r.jsx)("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})})})}),(0,r.jsx)("section",{style:{width:v},children:l})]})}},41753:function(e,t,n){"use strict";n.d(t,{h:function(){return v}});var i=n(82242),a=n.n(i),o=n(79800),r=n.n(o),l=n(59301),s=n(57809),c=n(78241),u=n(3113),d=n(89780),p=n.n(d),f=(n(13071),n(59478),n(37712)),h=s.default.Option,m={labelCol:{span:4},wrapperCol:{span:20}},g={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 v(e){var t=e.value,n=e.onChange,i=e.mode,o=e.options,s=void 0===o?{}:o,c=(0,l.useRef)(),u=(0,l.useState)(),d=r()(u,2),h=d[0],m=d[1];return(0,l.useEffect)((function(){if(h){var e=function(e){var t=e.getValue();n&&n(t)};return h.on("change",e),function(){h.off("change",e)}}}),[h,n]),(0,l.useEffect)((function(){h&&h.setOption("mode",i)}),[h,i]),(0,l.useEffect)((function(){h&&(t===h.getValue()&&""!==t||setTimeout((function(){h.setValue(t||"")}),300))}),[h,t]),(0,l.useEffect)((function(){if(c.current&&!h){var e=p().fromTextArea(c.current,a()({mode:i,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},s));m(e)}}),[c.current,h]),(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,i=(0,l.useState)("python"),o=r()(i,2),d=o[0],p=o[1];return(0,f.jsxs)(c.Z,a()(a()({},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)(s.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(g[e][1])},children:Object.keys(g).map((function(e){return(0,f.jsx)(h,{value:e,children:g[e][0]},e)}))})}),(0,f.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,f.jsx)(v,{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:"取消"})]})]}))}},11243:function(e,t,n){"use strict";n.d(t,{Z:function(){return Te}});var i=n(91232),a=n.n(i),o=n(79800),r=n.n(o),l=n(85573),s=n.n(l),c=n(59301),u=n(89780),d=n.n(u),p=n(76374),f=(n(13071),n(6313),n(25717),n(99498),n(25419),n(67549),n(11829)),h=n(37712),m=function(e){var t=e.value,n=void 0===t?"":t,i=(e.className,e.showTextOnly,e.showLines,e.style,(0,c.useMemo)((function(){return""}),[n]));return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})},g=n(82242),v=n.n(g),w=[{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:"iconfont icon-jisuan1",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,i=e.icon,a=e.actionName,o=e.className,r=void 0===o?"":o,l=e.children;return(0,h.jsxs)("a",{title:n,className:r,onClick:function(){t(a)},children:[(0,h.jsx)("i",{className:"".concat(i)}),l]})}var x=function(e){var t=e.watch,n=e.showNullButton,i=e.showNullProgramButton,a=e.onActionCallback,o=e.fullScreen,r=e.insertTemp,l=e.hidetoolBar,s=e.extraUse,c=[].concat(w,[{title:"".concat(t?"关闭实时预览":"开启实时预览"),icon:"".concat(t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,h.jsxs)("ul",{className:"markdown-toolbar-container",children:[!l&&c.map((function(e,t){return(0,h.jsx)("li",{children:e.actionName?(0,h.jsx)(b,v()(v()({},e),{},{onActionCallback:a})):(0,h.jsx)("span",{className:"v-line"})},t)})),n?(0,h.jsx)("li",{children:(0,h.jsx)(b,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:a,children:(0,h.jsx)("span",{className:"fill-tip",children:"点击插入\b填空项"})})}):null,i?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("li",{children:(0,h.jsx)(b,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:a,children:(0,h.jsx)("span",{className:"fill-tip",children:"+单行填空项"})})}),(0,h.jsx)("li",{children:(0,h.jsx)(b,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:a,children:(0,h.jsx)("span",{className:"fill-tip",children:"+多行填空项"})})})]}):null,r&&(0,h.jsx)("li",{children:(0,h.jsx)(b,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(r),onActionCallback:a,children:(0,h.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),s&&(0,h.jsx)("li",{children:s}),(0,h.jsx)("li",{className:"btn-full-screen",children:(0,h.jsx)(b,{icon:"".concat(o?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:o?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:a})})]})},y=n(71826),_=n(78241),k=n(98135),j=n(3113),C={labelCol:{span:4},wrapperCol:{span:20}},S=function(e){var t=e.callback,n=e.onCancel;return(0,h.jsxs)(_.Z,v()(v()({},C),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,h.jsx)(_.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,h.jsx)(k.Z,{})}),(0,h.jsx)(_.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,h.jsx)(k.Z,{})}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(j.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(j.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},T=n(41753),A=n(8591),B=n(50698),E=_.Z.useForm,N={width:280,marginRight:10},P={labelCol:{span:5},wrapperCol:{span:19}},L=function(e){var t=e.callback,n=e.onCancel,i=E(),a=r()(i,1)[0],o=(0,c.useRef)();function l(e,t){-1!==e.status?a.setFieldsValue({src:"/api/attachments/".concat(e.id),type:t.type}):A.ZP.error(e.message)}return(0,h.jsxs)(_.Z,v()(v()({form:a},P),{},{className:"upload-image-panel",onFinish:function(e){t(e,o.current)},style:{width:470,overflow:"hidden"},children:[(0,h.jsx)(_.Z.Item,{label:"图片地址",required:!0,children:(0,h.jsxs)("div",{className:"flex-container",children:[(0,h.jsx)(_.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,h.jsx)(k.Z,{style:N})}),(0,h.jsx)(Z,{onFileChange:function(e){var t=e.target.files[0];o.current=t,M(t,l)}})]})}),(0,h.jsx)(_.Z.Item,{label:"图片描述",name:"alt",children:(0,h.jsx)(k.Z,{style:{width:264}})}),(0,h.jsxs)(_.Z.Item,{style:{textAlign:"right"},children:[(0,h.jsx)(j.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(j.ZP,{type:"default",onClick:n,children:"取消"})]})]}))};function Z(e){var t=e.onFileChange;return(0,h.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,h.jsx)("input",{type:"file",onChange:t})]})}function M(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 i=new window.XMLHttpRequest;i.withCredentials=!0,i.addEventListener("load",(function(n){t(JSON.parse(n.target.responseText),e)}),!1),i.addEventListener("error",(function(e){console.error(e)}),!1),i.open("POST","".concat(B.KI,"/api/attachments.json")),i.send(n)}var I=n(95237),G=n(47543),D=function(e){var t=e.callback,n=e.onCancel,i=document.createElement("canvas"),a=i.getContext("2d");i.width=1e3,i.height=800,a.fillStyle="#ffffff",a.fillRect(0,0,i.width,i.height);var o=i.toDataURL("image/png");return(0,h.jsx)(I.Z,{style:{height:"100vh"},children:(0,h.jsx)(G.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})})},O=n(7557),z=n.n(O),R=n(41498),F=n.n(R),H=n(37205),V=n.n(H),U=n(12378);function W(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(W,go.CommandHandler),W.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},W.prototype.alignLeft=function(){var e=this.diagram;e.startTransaction("aligning left");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.x,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t,e.position.y))})),e.commitTransaction("aligning left")},W.prototype.alignRight=function(){var e=this.diagram;e.startTransaction("aligning right");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.x+e.actualBounds.width;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t-e.actualBounds.width,e.position.y))})),e.commitTransaction("aligning right")},W.prototype.alignTop=function(){var e=this.diagram;e.startTransaction("alignTop");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.y,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.position.x,t))})),e.commitTransaction("alignTop")},W.prototype.alignBottom=function(){var e=this.diagram;e.startTransaction("aligning bottom");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.y+e.actualBounds.height;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,t-e.actualBounds.height))})),e.commitTransaction("aligning bottom")},W.prototype.alignCenterX=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center X");var n=t.actualBounds.x+t.actualBounds.width/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(n-e.actualBounds.width/2,e.actualBounds.y))})),e.commitTransaction("aligning Center X")}},W.prototype.alignCenterY=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center Y");var n=t.actualBounds.y+t.actualBounds.height/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,n-e.actualBounds.height/2))})),e.commitTransaction("aligning Center Y")}},W.prototype.alignColumn=function(e){var t=this.diagram;t.startTransaction("align Column"),void 0===e&&(e=0),e=parseFloat(e);var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var i=0;i<n.length-1;i++){var a=n[i],o=a.actualBounds.y+a.actualBounds.height+e;n[i+1].move(new go.Point(a.actualBounds.x,o))}t.commitTransaction("align Column")},W.prototype.alignRow=function(e){void 0===e&&(e=0),e=parseFloat(e);var t=this.diagram;t.startTransaction("align Row");var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var i=0;i<n.length-1;i++){var a=n[i],o=a.actualBounds.x+a.actualBounds.width+e;n[i+1].move(new go.Point(o,a.actualBounds.y))}t.commitTransaction("align Row")},W.prototype.canRotate=function(e){var t=this.diagram;return null!==t&&!t.isReadOnly&&!t.isModelReadOnly&&!(t.selection.count<1)},W.prototype.rotate=function(e){var t;void 0===e&&(e=90),(t=this.diagram).startTransaction("rotate "+e.toString()),(t=this.diagram).selection.each((function(t){t instanceof go.Link||t instanceof go.Group||(t.angle+=e)})),t.commitTransaction("rotate "+e.toString())},W.prototype.pullToFront=function(){var e=this.diagram;e.startTransaction("pullToFront");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.max(n,t)}})),t.set(e,n)})),e.selection.each((function(e){W._assignZOrder(e,t.get(e.layer)+1)})),e.commitTransaction("pullToFront")},W.prototype.pushToBack=function(){var e=this.diagram;e.startTransaction("pushToBack");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.min(n,t)}})),t.set(e,n)})),e.selection.each((function(e){W._assignZOrder(e,t.get(e.layer)-1-W._findGroupDepth(e))})),e.commitTransaction("pushToBack")},W._assignZOrder=function(e,t,n){void 0===n&&(n=e),e.layer===n.layer&&(e.zOrder=t),e instanceof go.Group&&e.memberParts.each((function(e){W._assignZOrder(e,t+1,n)}))},W._findGroupDepth=function(e){if(e instanceof go.Group){var t=0;return e.memberParts.each((function(e){t=Math.max(t,W._findGroupDepth(e))})),t+1}return 0},W.prototype.doKeyDown=function(){var e=this.diagram;if(null!==e){var t=e.lastInput;if("Up"===t.key||"Down"===t.key||"Left"===t.key||"Right"===t.key){var n=this.arrowKeyBehavior;if("none"===n)return;if("select"===n)return void this._arrowKeySelect();if("move"===n)return void this._arrowKeyMove();if("tree"===n)return void this._arrowKeyTree()}go.CommandHandler.prototype.doKeyDown.call(this)}},W.prototype._getAllParts=function(){var e=new Array;return this.diagram.nodes.each((function(t){e.push(t)})),this.diagram.parts.each((function(t){e.push(t)})),e},W.prototype._arrowKeyMove=function(){var e=this.diagram,t=e.lastInput,n=0,i=0;if(t.control||t.meta)n=1,i=1;else if(null!==e.grid){var a=e.grid.gridCellSize;i=a.width,n=a.height}e.startTransaction("arrowKeyMove"),e.selection.each((function(e){"Up"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y-n)):"Down"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y+n)):"Left"===t.key?e.move(new go.Point(e.actualBounds.x-i,e.actualBounds.y)):"Right"===t.key&&e.move(new go.Point(e.actualBounds.x+i,e.actualBounds.y))})),e.commitTransaction("arrowKeyMove")},W.prototype._arrowKeySelect=function(){var e=this.diagram,t=e.lastInput,n=null;"Up"===t.key?n=this._findNearestPartTowards(270):"Down"===t.key?n=this._findNearestPartTowards(90):"Left"===t.key?n=this._findNearestPartTowards(180):"Right"===t.key&&(n=this._findNearestPartTowards(0)),null!==n&&(t.shift?n.isSelected=!0:t.control||t.meta?n.isSelected=!n.isSelected:e.select(n))},W.prototype._findNearestPartTowards=function(e){var t=this.diagram.selection.first();if(null===t)return null;for(var n=t.actualBounds.center,i=this._getAllParts(),a=1/0,o=t,r=0;r<i.length;r++){var l=i[r];if(l!==t&&l.canSelect()){var s=l.actualBounds.center,c=n.directionPoint(s),u=this._angleCloseness(c,e);if(u<=45){var d=n.distanceSquaredPoint(s);(d*=1+Math.sin(u*Math.PI/180))<a&&(a=d,o=l)}}}return o},W.prototype._angleCloseness=function(e,t){return Math.min(Math.abs(t-e),Math.min(Math.abs(t+360-e),Math.abs(t-360-e)))},W.prototype._arrowKeyTree=function(){var e=this.diagram,t=e.selection.first();if(t instanceof go.Node){var n=e.lastInput;if("Right"===n.key)if(t.isTreeLeaf);else if(t.isTreeExpanded){null!==(a=this._sortTreeChildrenByY(t).first())&&e.select(a)}else e.commandHandler.canExpandTree(t)&&e.commandHandler.expandTree(t);else if("Left"===n.key){if(!t.isTreeLeaf&&t.isTreeExpanded)e.commandHandler.canCollapseTree(t)&&e.commandHandler.collapseTree(t);else null!==(o=t.findTreeParentNode())&&e.select(o)}else if("Up"===n.key){if(null!==(o=t.findTreeParentNode()))if((l=(r=this._sortTreeChildrenByY(o)).indexOf(t))>0){for(var i=r.elt(l-1);null!==i&&i.isTreeExpanded&&!i.isTreeLeaf;){i=this._sortTreeChildrenByY(i).last()}null!==i&&e.select(i)}else e.select(o)}else if("Down"===n.key){var a;if(t.isTreeExpanded&&!t.isTreeLeaf)null!==(a=this._sortTreeChildrenByY(t).first())&&e.select(a);else for(;null!==t;){var o,r,l;if(null===(o=t.findTreeParentNode()))break;if((l=(r=this._sortTreeChildrenByY(o)).indexOf(t))<r.length-1){e.select(r.elt(l+1));break}t=o}}var s=e.selection.first();null!==s&&e.scrollToRect(s.actualBounds)}},W.prototype._sortTreeChildrenByY=function(e){var t=(new go.List).addAll(e.findTreeChildrenNodes());return t.sort((function(e,t){var n=e.location,i=t.location;return n.y<i.y?-1:n.y>i.y?1:n.x<i.x?-1:n.x>i.x?1:0})),t},W.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},W.prototype.pasteFromClipboard=function(){var e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),e},Object.defineProperty(W.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(e){if("move"!==e&&"select"!==e&&"scroll"!==e&&"tree"!==e&&"none"!==e)throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+e);this._arrowKeyBehavior=e}}),Object.defineProperty(W.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(e){if(!(e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+e);this._pasteOffset.set(e)}});var K=W,q=(n(12250),n(85160)),Y=n(43418),J=n(43604),Q=n(82420),X="myPaletteDiv___Xjz2I",$="maxH60___Pd4Re";window.go=U;var ee=function(e){var t=e.onCancel,n=e.callback,i=(0,c.useRef)(),a=(0,c.useRef)(),o=(0,c.useRef)(),l=(0,c.useRef)(!1),s=(0,c.useRef)(!1),u=(0,c.useState)(0),d=r()(u,2),p=d[0],f=d[1],m=function(){var e=F()(z()().mark((function e(){var t,a;return z()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.current.makeImage(),e.next=3,(0,Q.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:t.src}});case 3:a=e.sent,n({src:a.url});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){f(p+1)}),[]),(0,h.jsx)("div",{ref:s,className:l.current?"".concat($," body-overflow-initial"):"body-overflow-initial",children:(0,h.jsx)(Y.Z,{width:1200,icon:null,footer:null,closable:!0,visible:!!p,destroyOnClose:!0,maskClosable:!1,getContainer:s.current,rootClassName:"zIndex-9999",title:(0,h.jsxs)(I.Z,{children:[(0,h.jsx)(J.Z,{flex:1,children:"插入流程图"}),(0,h.jsx)(J.Z,{onClick:function(){l.current=!l.current,f(p+1)},children:(0,h.jsx)("span",{className:"current c-blue mr30",style:{fontWeight:400},children:"展开/收起"})})]}),onCancel:t,children:(0,h.jsxs)("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},children:[(0,h.jsxs)("div",{style:{display:"flex",height:"100%"},children:[(0,h.jsxs)("div",{style:{width:"300px",height:"100%"},children:[(0,h.jsx)("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"},children:"图形库"}),(0,h.jsx)("div",{style:{height:"calc(100% - 50px)"},className:X,ref:o})]}),(0,h.jsxs)("div",{style:{flex:1,position:"relative"},children:[(0,h.jsx)(q.FI,{initDiagram:function(){var e=U.GraphObject.make,t="#ff3333",n="#3358ff",r="#25ad23",l="#d533ff",s="#7d33ff",c="#ff6233",u="#ffffff",d="#000000",p="#fffcd5",f="#d5ebff",h="#f2dfe0",m="#a5d2fa",g="#cccccc",v="#b3e6b3",w="#fcbbbd";function b(t,n){var i=function(e,n){e.handled=!0,e.diagram.model.commit((function(i){var a=n.part.adornedPart,o=(new U.Point).setRectSpot(a.actualBounds,t);o.subtract(a.location),o.scale(2,2),o.x+=130*Math.sign(o.x),o.y+=130*Math.sign(o.y),o.add(a.location),o.snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize);var r=i.copyNodeData(a.data);i.setGroupKeyForNodeData(r,i.getGroupKeyForNodeData(a.data)),i.addNodeData(r);var l={from:a.key,to:i.getKeyForNodeData(r)};i.addLinkData(l);var s=e.diagram.findNodeForData(r);s.location=o,e.diagram.select(s),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)}))};return e(U.Shape,{figure:n,alignment:t,alignmentFocus:t.opposite(),width:t.equals(U.Spot.Top)||t.equals(U.Spot.Bottom)?25:18,height:t.equals(U.Spot.Top)||t.equals(U.Spot.Bottom)?18:25,fill:"orange",stroke:u,strokeWidth:4,mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},isActionable:!0,click:i,contextClick:i})}function x(t){return e(U.Shape,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},click:function(e,t){e.diagram.commandHandler.showContextMenu(t.part.adornedPart)}},t||{})}function y(e,t){return function(n,i){n.handled=!0,n.diagram.model.commit((function(n){n.set(i.part.adornedPart.data,e,t)}))}}function _(t,n){return n||(n="color"),e(U.Shape,{width:16,height:16,stroke:"lightgray",fill:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.stroke="dodgerblue"},mouseLeave:function(e,t){return t.stroke="lightgray"},click:y(n,t),contextClick:y(n,t)})}function k(){return[e("ContextMenuButton",e(U.Panel,"Horizontal",_(u,"fill"),_(p,"fill"),_(f,"fill"),_(h,"fill"))),e("ContextMenuButton",e(U.Panel,"Horizontal",_(g,"fill"),_(v,"fill"),_(m,"fill"),_(w,"fill")))]}function j(){return[e("ContextMenuButton",e(U.Panel,"Horizontal",_(d),_(r),_(n),_(t))),e("ContextMenuButton",e(U.Panel,"Horizontal",_(u),_(l),_(s),_(c)))]}function C(t,n){return n||(n="thickness"),e(U.Shape,"LineH",{width:16,height:16,strokeWidth:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:y(n,t),contextClick:y(n,t)})}function S(t,n){return n||(n="dash"),e(U.Shape,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:y(n,t),contextClick:y(n,t)})}function T(){return[e("ContextMenuButton",e(U.Panel,"Horizontal",C(1),C(2),C(3),C(4))),e("ContextMenuButton",e(U.Panel,"Horizontal",S(null),S([2,4]),S([4,4])))]}function A(t,n){return n||(n="figure"),e(U.Shape,{width:32,height:32,scale:.5,fill:"lightgray",figure:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="lightgray"},click:y(n,t),contextClick:y(n,t)})}function B(t){return e(U.Shape,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(t+4).toString()+" H3"})}function E(t){var n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return 0===t?n="M0 0 M16 16 M0 8 L16 8":2===t&&(n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),e(U.Shape,{geometryString:n,margin:2,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:y("dir",t),contextClick:y("dir",t)})}function N(t){var n=function(e,n){e.handled=!0,e.diagram.model.commit((function(e){var i=n.part.adornedPart;e.set(i.data,t?"toSpot":"fromSpot",U.Spot.stringify(U.Spot.AllSides)),(t?i.toNode:i.fromNode).invalidateConnectedLinks()}))};return e(U.Shape,{width:12,height:12,fill:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:n,contextClick:n})}function P(t,n){var i=0,a=U.Spot.RightSide;t.equals(U.Spot.Top)?(i=270,a=U.Spot.TopSide):t.equals(U.Spot.Left)?(i=180,a=U.Spot.LeftSide):t.equals(U.Spot.Bottom)&&(i=90,a=U.Spot.BottomSide),n||(i-=180);var o=function(e,t){e.handled=!0,e.diagram.model.commit((function(e){var i=t.part.adornedPart;e.set(i.data,n?"toSpot":"fromSpot",U.Spot.stringify(a)),(n?i.toNode:i.fromNode).invalidateConnectedLinks()}))};return e(U.Shape,{alignment:t,alignmentFocus:t.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:i,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:o,contextClick:o})}return i.current=new U.Diagram(a.current,{padding:20,grid:e(U.Panel,"Grid",e(U.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(U.Shape,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:function(e){e.diagram.commandHandler.addTopLevelParts(e.diagram.selection,!0)||e.diagram.currentTool.doCancel()},commandHandler:e(K),"clickCreatingTool.archetypeNodeData":{text:"未命名",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:function(e){var t=e.subject;t.location=t.location.copy().snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:function(e){e.subject;setTimeout((function(){e.diagram.commandHandler.editTextBlock()}))},LinkRelinked:function(e){e.parameter.part.invalidateConnectedLinks();var t=e.subject;e.diagram.toolManager.linkingTool.isForwards?t.toNode.invalidateConnectedLinks():t.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),i.current.nodeTemplate=e(U.Node,"Auto",{locationSpot:U.Spot.Center,locationObjectName:"SHAPE",desiredSize:new U.Size(120,60),minSize:new U.Size(40,40),resizable:!0,resizeCellSize:new U.Size(10,10),rotatable:!0},new U.Binding("location","loc",U.Point.parse).makeTwoWay(U.Point.stringify),new U.Binding("desiredSize","size",U.Size.parse).makeTwoWay(U.Size.stringify),e(U.Shape,{name:"SHAPE",fill:u,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:U.Spot.AllSides,toSpot:U.Spot.AllSides},new U.Binding("figure"),new U.Binding("fill"),new U.Binding("stroke","borderColor"),new U.Binding("strokeWidth","thickness"),new U.Binding("strokeDashArray","dash")),e(U.Shape,{width:100,height:20,strokeWidth:0,fill:"transparent"}),e(U.TextBlock,{margin:1,textAlign:"center",overflow:U.TextBlock.OverflowEllipsis,editable:!0},new U.Binding("text").makeTwoWay(),new U.Binding("stroke","color"))),i.current.nodeTemplate.toolTip=e("ToolTip",e(U.Panel,"Vertical",{maxSize:new U.Size(200,NaN)},e(U.TextBlock,{font:"bold 10pt sans-serif",textAlign:"center"},new U.Binding("text")),e(U.TextBlock,{font:"10pt sans-serif",textAlign:"center"},new U.Binding("text","details")))),i.current.nodeTemplate.selectionAdornmentTemplate=e(U.Adornment,"Spot",e(U.Placeholder,{padding:10}),b(U.Spot.Top,"TriangleUp"),b(U.Spot.Left,"TriangleLeft"),b(U.Spot.Right,"TriangleRight"),b(U.Spot.Bottom,"TriangleDown"),x({alignment:new U.Spot(.75,0)})),i.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(U.Panel,"Horizontal",A("Rectangle"),A("RoundedRectangle"),A("Ellipse"),A("Diamond"))),e("ContextMenuButton",e(U.Panel,"Horizontal",A("Parallelogram2"),A("ManualOperation"),A("Procedure"),A("Cylinder1"))),e("ContextMenuButton",e(U.Panel,"Horizontal",A("Terminator"),A("CreateRequest"),A("Document"),A("TriangleDown"))),k(),j(),T()),i.current.groupTemplate=e(U.Group,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:U.Spot.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:function(e,t){t.addMembers(t.diagram.selection,!0)||t.diagram.currentTool.doCancel()},avoidable:!1},new U.Binding("location","loc",U.Point.parse).makeTwoWay(U.Point.stringify),e(U.Panel,"Auto",{name:"BODY"},e(U.Shape,{parameter1:10,fill:u,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:U.Spot.AllSides,toSpot:U.Spot.AllSides},new U.Binding("fill"),new U.Binding("stroke","color"),new U.Binding("strokeWidth","thickness"),new U.Binding("strokeDashArray","dash")),e(U.Placeholder,{background:"transparent",margin:20})),e(U.TextBlock,{alignment:U.Spot.Top,alignmentFocus:U.Spot.Bottom,font:"bold 12pt sans-serif",editable:!0},new U.Binding("text"),new U.Binding("stroke","color"))),i.current.groupTemplate.selectionAdornmentTemplate=e(U.Adornment,"Spot",e(U.Panel,"Auto",e(U.Shape,{fill:null,stroke:"dodgerblue",strokeWidth:3}),e(U.Placeholder,{margin:1.5})),x({alignment:U.Spot.TopRight,alignmentFocus:U.Spot.BottomRight})),i.current.groupTemplate.contextMenu=e("ContextMenu",k(),j(),T()),i.current.linkTemplate=e(U.Link,{layerName:"Foreground",routing:U.Link.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new U.Binding("fromSpot","fromSpot",U.Spot.parse),new U.Binding("toSpot","toSpot",U.Spot.parse),new U.Binding("fromShortLength","dir",(function(e){return e>=1?10:0})),new U.Binding("toShortLength","dir",(function(e){return e>=1?10:0})),new U.Binding("points").makeTwoWay(),e(U.Shape,{strokeWidth:2},new U.Binding("stroke","color"),new U.Binding("strokeWidth","thickness"),new U.Binding("strokeDashArray","dash")),e(U.Shape,{segmentIndex:0,segmentOffset:new U.Point(15,0),segmentOrientation:U.Link.OrientAlong,alignmentFocus:U.Spot.Right,figure:"circle",width:10,strokeWidth:0},new U.Binding("fill","color"),new U.Binding("visible","dir",(function(e){return 1===e}))),e(U.Shape,{segmentIndex:-1,segmentOffset:new U.Point(-10,6),segmentOrientation:U.Link.OrientPlus90,alignmentFocus:U.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new U.Binding("fill","color"),new U.Binding("visible","dir",(function(e){return e>=1})),new U.Binding("width","thickness",(function(e){return 7+3*e})),new U.Binding("height","thickness",(function(e){return 7+3*e})),new U.Binding("segmentOffset","thickness",(function(e){return new U.Point(-15,4+1.5*e)}))),e(U.Shape,{segmentIndex:0,segmentOffset:new U.Point(15,-6),segmentOrientation:U.Link.OrientMinus90,alignmentFocus:U.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new U.Binding("fill","color"),new U.Binding("visible","dir",(function(e){return 2===e})),new U.Binding("width","thickness",(function(e){return 7+3*e})),new U.Binding("height","thickness",(function(e){return 7+3*e})),new U.Binding("segmentOffset","thickness",(function(e){return new U.Point(-15,4+1.5*e)}))),e(U.TextBlock,{alignmentFocus:new U.Spot(0,1,-4,0),editable:!0},new U.Binding("text").makeTwoWay(),new U.Binding("stroke","color"))),i.current.linkTemplate.selectionAdornmentTemplate=e(U.Adornment,e(U.Shape,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:B(2)},new U.Binding("pathPattern","thickness",B)),x({alignmentFocus:new U.Spot(0,0,-6,-4)})),i.current.linkTemplate.contextMenu=e("ContextMenu",j(),T(),e("ContextMenuButton",e(U.Panel,"Horizontal",E(0),E(1),E(2))),e("ContextMenuButton",e(U.Panel,"Horizontal",e(U.Panel,"Spot",N(!1),P(U.Spot.Top,!1),P(U.Spot.Left,!1),P(U.Spot.Right,!1),P(U.Spot.Bottom,!1)),e(U.Panel,"Spot",{margin:new U.Margin(0,0,0,2)},N(!0),P(U.Spot.Top,!0),P(U.Spot.Left,!0),P(U.Spot.Right,!0),P(U.Spot.Bottom,!0))))),new U.Palette(o.current,{maxSelectionCount:1,linkTemplate:e(U.Link,{locationSpot:U.Spot.Center,selectionAdornmentTemplate:e(U.Adornment,"Link",{locationSpot:U.Spot.Center},e(U.Shape,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),e(U.Shape,{toArrow:"Standard",stroke:null}))},{routing:U.Link.AvoidsNodes,curve:U.Link.JumpOver,corner:5,toShortLength:4},new U.Binding("points"),e(U.Shape,{isPanelMain:!0,strokeWidth:2}),e(U.Shape,{toArrow:"Standard",stroke:null})),model:new U.GraphLinksModel([{text:"未命名",size:"100 100",fill:null,stroke:"#000"}].concat(V()(U.Shape.getFigureGenerators().toArray().map((function(e){return{text:"未命名",size:"100 100",figure:e.key,fill:"white",stroke:"#666",borderColor:"#000"}})))))}).nodeTemplate=e(U.Node,"Auto",{locationSpot:U.Spot.Center},new U.Binding("location","location",U.Point.parse).makeTwoWay(U.Point.stringify),e(U.Shape,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new U.Binding("stroke").makeTwoWay(),new U.Binding("fill").makeTwoWay(),new U.Binding("figure")),e(U.TextBlock,{margin:new U.Margin(5,5,3,5),font:"10pt sans-serif",minSize:new U.Size(16,16),maxSize:new U.Size(10,NaN),textAlign:"center",editable:!0},new U.Binding("key").makeTwoWay())),setTimeout((function(){i.current.grid=e(U.Panel,"Grid",e(U.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(U.Shape,"LineV",{stroke:"lightgray",strokeWidth:.5})),i.current.grid.visible=!0,i.current.grid.gridCellStroke="darkgray",i.current.grid.gridCellStrokeWidth=1}),300),window.myDiagrams=i.current,i.current},divClassName:"diagram-component",style:{height:"80vh"}}),(0,h.jsx)("div",{ref:a})]})]}),(0,h.jsx)("div",{className:"tr",children:(0,h.jsx)(j.ZP,{size:"large",onClick:m,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},te=n(5112),ne=n(54449),ie=te.ZP.Group,ae={margin:"0 8px"},oe=function(e){var t=e.callback,n=e.onCancel;return(0,h.jsxs)(_.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){t(e)},children:[(0,h.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,h.jsx)("span",{style:ae,children:"单元格数:"}),(0,h.jsx)("span",{style:ae,children:"行数"}),(0,h.jsx)(_.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,h.jsx)(ne.Z,{})}),(0,h.jsx)("span",{style:ae,children:"列数"}),(0,h.jsx)(_.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,h.jsx)(ne.Z,{})})]}),(0,h.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,h.jsx)("span",{style:ae,children:"对齐方式:"}),(0,h.jsx)(_.Z.Item,{name:"align",children:(0,h.jsxs)(ie,{children:[(0,h.jsx)(te.ZP,{value:"default",children:(0,h.jsx)("i",{className:"fa fa-align-justify"})}),(0,h.jsx)(te.ZP,{value:"left",children:(0,h.jsx)("i",{className:"fa fa-align-left"})}),(0,h.jsx)(te.ZP,{value:"center",children:(0,h.jsx)("i",{className:"fa fa-align-center"})}),(0,h.jsx)(te.ZP,{value:"right",children:(0,h.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(j.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(j.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},re=n(78673),le=n(69154),se=n.n(le),ce=(0,c.forwardRef)((function(e,t){var n=e.use3d,i=e.width,a=e.height,o=e.callback,l=(e.showSaveButton,(0,c.useRef)()),s=(0,c.useRef)(),u=(0,c.useState)(!1),d=r()(u,2),p=d[0],f=d[1],m=(0,c.useRef)({id:l,appName:"graphing",width:i||1e3,height:a||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(){s.current=new(se())(m.current,!0),window.onload=function(){s.current.inject("applet_container")}}),[]);var g=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return o&&o(e),e};return(0,c.useEffect)((function(){m.current.appName=p?"3D":"graphing",s.current.inject("applet_container")}),[p]),(0,c.useEffect)((function(){f(n)}),[n]),(0,c.useImperativeHandle)(t,(function(){return{getImgData:g}})),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:l}),(0,h.jsxs)(I.Z,{align:"middle",children:[(0,h.jsx)(J.Z,{flex:1,children:(0,h.jsx)(re.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:p,onChange:function(e){return f(e)}})}),(0,h.jsx)(J.Z,{children:(0,h.jsx)(j.ZP,{size:"large",onClick:g,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),ue=n(39828),de=n(14103),pe="link",fe="upload-image",he="add-flowchart",me="draw-image",ge="code-block",ve="add-table",we="------------",be={default:we,left:":".concat(we),center:":".concat(we,":"),right:"".concat(we,":")},xe=n(57473);var ye="@▁▁@",_e=["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 ke(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var je=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ce=s()(s()({},je+"-B","bold"),je+"-I","italic"),Se=s()(s()(s()(s()(s()(s()(s()(s()({},pe,"添加链接"),ge,"添加代码块"),fe,"添加图片"),me,"添加画图"),he,"插入流程图"),ve,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),Te=function(e){var t=e.defaultValue,n=void 0===t?"":t,i=e.onChange,o=e.width,l=void 0===o?"100%":o,u=e.height,g=void 0===u?400:u,v=e.miniToolbar,w=void 0!==v&&v,b=e.isFocus,_=void 0!==b&&b,k=e.watch,j=e.insertTemp,C=e.mode,B=void 0===C?"markdown":C,E=e.id,N=void 0===E?"markdown-editor-id":E,P=e.showResizeBar,Z=void 0!==P&&P,I=e.noStorage,G=void 0!==I&&I,O=e.showNullButton,z=void 0!==O&&O,R=e.showNullProgramButton,F=void 0!==R&&R,H=e.hidetoolBar,V=void 0!==H&&H,U=e.fullScreen,W=void 0!==U&&U,K=e.onBlur,q=e.onCMBeforeChange,J=e.onFullScreen,Q=e.className,X=void 0===Q?"":Q,$=e.disablePaste,te=void 0!==$&&$,ne=e.disabled,ie=void 0!==ne&&ne,ae=e.disabledFill,re=void 0!==ae&&ae,le=e.placeholder,se=void 0===le?"":le,we=e.values,je=void 0===we?"":we,Te=e.extraUse,Ae=(0,c.useState)(null),Be=r()(Ae,2),Ee=Be[0],Ne=Be[1],Pe=(0,c.useState)(n),Le=r()(Pe,2),Ze=Le[0],Me=Le[1],Ie=(0,c.useState)(k),Ge=r()(Ie,2),De=Ge[0],Oe=Ge[1],ze=(0,c.useState)(W),Re=r()(ze,2),Fe=Re[0],He=Re[1],Ve=(0,c.useState)(""),Ue=r()(Ve,2),We=Ue[0],Ke=Ue[1],qe=(0,c.useState)(0),Ye=r()(qe,2),Je=Ye[0],Qe=Ye[1],Xe=(0,c.useState)(g),$e=r()(Xe,2),et=$e[0],tt=$e[1],nt=(0,c.useState)(!1),it=r()(nt,2),at=(it[0],it[1]),ot=(0,c.useState)(0),rt=r()(ot,2),lt=rt[0],st=rt[1],ct=(0,c.useState)(0),ut=r()(ct,2),dt=ut[0],pt=ut[1],ft=(0,c.useRef)(),ht=(0,c.useRef)(),mt=(0,c.useRef)(),gt=(0,c.useRef)();(0,c.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Me(je),null==Ee||Ee.setValue(je),window.scrollTo(0,e)}),[je]),(0,c.useEffect)((function(){null==J||J(Fe)}),[Fe]),(0,c.useEffect)((function(){if(ft.current){var e=function(e,n){if(!te){var i=n.clipboardData;if(i){var a=i.types.toString(),o=i.items;if("Files"===a||i.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==B)return;try{var r,l=o[1];"file"===(null===(r=o[0])||void 0===r?void 0:r.kind)&&(l=o[0]);var s=l.getAsFile(),c=s.name.split(".").pop();M(s,(function(e){var n,i,a;e.id?(null==s||null===(n=s.type)||void 0===n?void 0:n.indexOf("image"))>-1?t.replaceSelection(".concat(e.content_type,")")):(null==s||null===(i=s.type)||void 0===i?void 0:i.indexOf("video"))>-1?t.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'"></video>')):(null==s||null===(a=s.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?t.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(s.type,'&disposition=inline" target="_blank">').concat(s.name,"</a>")):_e.includes(c)?t.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(s.name,"</a>")):t.replaceSelection("[".concat(s.name,"](").concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(n){A.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},t=d().fromTextArea(ft.current,{mode:B,lineNumbers:!w,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(),i=n.getCursor(),a=n.getLine(i.line),o=a.charAt(i.ch-1),r=a.lastIndexOf("@▁@",i.ch),l=a.lastIndexOf("@▁▁@",i.ch),s=r>l?r:l,c=r>l?3:4;if(-1===ye.indexOf(o))return null;if(console.log("change1:",t,e,a,i,s,r,l,o),s>=0&&i.ch-s<5){var u=s+c;return n.replaceRange("",{line:i.line,ch:s},{line:i.line,ch:u}),{line:i.line,ch:u}}return null}(e);n&&t.preventDefault()}})),_&&t.focus(),t.on("paste",e),ie&&t.on("beforeChange",(function(e,t){"paste"!==t.origin&&"+input"!==t.origin||t.cancel()})),Ne(t),function(){t.off("paste",e)}}}),[]);var vt=(0,c.useCallback)((function(){ht.current}),[et,ht,Fe]);(0,c.useEffect)((function(){if(Ee){var e=function(){var e=new p.Z((function(e){var t,n=a()(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&(vt(),Ee.setSize("100%","100%"),Ee.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(ft.current.parentElement),e}();return function(){var t,n;null!==(t=ft.current)&&void 0!==t&&t.parentElement&&e.unobserve(null===(n=ft.current)||void 0===n?void 0:n.parentElement)}}}),[Ee,vt]),(0,c.useEffect)((function(){if(Ee){for(var e=[],t=function(){var t=r()(i[n],2),a=t[0],o=t[1],l=s()({},a,(function(){wt(o)}));e.push(l),Ee.addKeyMap(l)},n=0,i=Object.entries(Ce);n<i.length;n++)t();return function(){for(var t=0,n=e;t<n.length;t++){var i=n[t];Ee.removeKeyMap(i)}}}}),[Ee]),(0,c.useEffect)((function(){W!==Fe&&He(W)}),[W]),(0,xe.Z)((function(){if(!G&&Je>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(N);e>=Je+1e4&&(!t||t!==Ze)&&(window.sessionStorage.setItem(N,Ze),at(!0))}}),1e4),(0,c.useEffect)((function(){Oe(k)}),[Ee,k]),(0,c.useEffect)((function(){Ee&&_&&Ee.focus()}),[Ee,_]),(0,c.useEffect)((function(){if(De&&Ee){var e=function(e){var t=e.target;if(gt.current){var n=t.scrollTop/t.scrollHeight;gt.current.scrollTop=gt.current.scrollHeight*n}},t=Ee.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[Ee,De]),(0,c.useEffect)((function(){if(Ee&&q){var e=function(e,t){q(e,t)};return Ee.on("beforeChange",e),function(){Ee.off("beforeChange",e)}}}),[Ee,q]),(0,c.useEffect)((function(){if(Ee&&K){var e=function(){K(Ee.getValue())};return Ee.on("blur",e),function(){Ee.off("blur",e)}}}),[Ee,K]),(0,c.useEffect)((function(){if(Ee){var e=function(e,t){var n=e.getValue();Me(n),Qe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),i&&(F?i(n,kt(n)):i(n))};return Ee.on("change",e),function(){Ee.off("change",e)}}}),[Ee,i]),(0,c.useEffect)((function(){if(Ee)if(null==n)Ee.setValue(""),Me("");else{var e=window.scrollY||window.pageYOffset;n!==Ee.getValue()&&(Ee.setValue(n),Me(n),Ee.setCursor(ie?1:Ee.lineCount(),0),window.scrollTo(0,e))}}),[Ee,n]);var wt=(0,c.useCallback)((function(e){var t=Ee.getCursor(),n=Ee.getSelection(),i=n.split("\n");switch(e){case"bold":return Ee.replaceSelection("**"+n+"**"),""===n&&Ee.setCursor(t.line,t.ch+2),Ee.focus();case"italic":return Ee.replaceSelection("*"+n+"*"),""===n&&Ee.setCursor(t.line,t.ch+1),Ee.focus();case"code":return Ee.replaceSelection("`"+n+"`"),""===n&&Ee.setCursor(t.line,t.ch+1),Ee.focus();case"inline-latex":return Ke("inline-latex"),Ee.focus();case"latex":return Ee.replaceSelection("```latex\n"+n+"\n```"),Ee.setCursor(t.line+1,n.length+1),Ee.focus();case"line-break":return Ee.replaceSelection("<br/>\n"),Ee.focus();case"list-ul":return""===n?Ee.replaceSelection("- "+n):Ee.replaceSelection(i.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Ee.focus();case"list-ol":return""===n?Ee.replaceSelection("1. "+n):Ee.replaceSelection(i.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),Ee.focus();case"add-null-ch":return""===n&&Ee.setCursor(t.line,t.ch),Ee.replaceSelection("▁"),Ee.focus();case"add-signal":return""===n&&Ee.setCursor(t.line,t.ch),Ee.replaceSelection("@▁@"),Ee.focus();case"add-multiple":return""===n&&Ee.setCursor(t.line,t.ch),Ee.replaceSelection(ye),Ee.focus();case"inster-template-1":return""===n&&Ee.setCursor(t.line,t.ch),Ee.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),Ee.focus();case"eraser":return Ee.setValue(""),Ee.focus();case"trigger-watch":return Oe(!De),Ee.focus();case"trigger-full-screen":return He(!Fe),Ee.focus();case pe:return void Ke(pe);case ge:return void Ke(ge);case fe:return void Ke(fe);case me:return void Ke(me);case"maths-latex":return void Ke("maths-latex");case he:return void Ke(he);case ve:return void Ke(ve);default:throw new Error}}),[Ee,De,Fe]),bt=(0,c.useCallback)((function(e,t){var n,i,a,o,r;switch(Ke(""),We){case pe:var l=e.title,s=e.link;return Ee.replaceSelection("[".concat(l,"](").concat(s,")")),Ee.focus();case ge:var c=e.language,u=e.content;return Ee.replaceSelection(["```"+c,u,"```"].join("\n")),Ee.focus();case"maths-latex":for(var d=atob(e),p=new Uint8Array(d.length),f=0;f<d.length;f++)p[f]=d.charCodeAt(f);M(new Blob([p],{type:"image/png"}),(function(e){e.id?Ee.replaceSelection(".concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Ee.replaceSelection("`$$"+e+"$$`");break;case fe:case me:case"add-flowchart":var h=e.src,m=e.alt,g=t,v=null==g||null===(n=g.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(i=n.pop)||void 0===i?void 0:i.call(n);return(null==g||null===(a=g.type)||void 0===a?void 0:a.indexOf("image"))>-1||null==g||!g.type?m?Ee.replaceSelection(".concat(h,' "').concat(m,'" )')):Ee.replaceSelection("")):(null==g||null===(o=g.type)||void 0===o?void 0:o.indexOf("video"))>-1?Ee.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER).concat(h,'"></video>')):(null==g||null===(r=g.type)||void 0===r?void 0:r.indexOf("pdf"))>-1?Ee.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,"?type=").concat(g.type,'&disposition=inline" target="_blank">').concat(g.name,"</a>")):_e.includes(v)?Ee.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,'?type=office&disposition=inline" target="_blank">').concat(g.name,"</a>")):Ee.replaceSelection("[".concat(g.name,"](").concat(de.Z.API_SERVER).concat(h,")")),Ee.focus();case ve:for(var w=e.row,b=e.col,x=e.align,y="\n",_=0;_<w;_++){for(var k=[],j=[],C=0;C<b;C++)1===_&&j.push(be[x]),k.push(" ");1===_&&(y+="| ".concat(j.join(" | ")," |\n")),y+="| ".concat(k.join(1===b?"":" | ")," |\n")}return Ee.replaceSelection(y+"\n"),Ee.focus();default:throw new Error}}),[Ee,We]),xt=(0,c.useMemo)((function(){switch(We){case pe:return(0,h.jsx)(S,{callback:bt,onCancel:yt});case ge:return(0,h.jsx)(T.Z,{callback:bt,onCancel:yt});case fe:return(0,h.jsx)(L,{callback:bt,onCancel:yt});case he:return(0,h.jsx)(ee,{callback:bt,onCancel:yt});case ve:return(0,h.jsx)(oe,{callback:bt,onCancel:yt});case"maths-latex":return(0,h.jsx)(ce,{showSaveButton:!0,callback:bt});case"inline-latex":return(0,h.jsx)(ue.Z,{showSaveButton:!0,callback:bt});default:return null}}),[We]);function yt(){Ke("")}(0,c.useEffect)((function(){if(mt.current){var e=function(e){a=!0,o=e.pageY},t=function(){a=!1},n=function(e){if(a){var t=e.pageY-o;t<0&&(t=0),t>300&&(t=300),tt(g+t+"px")}},i=mt.current,a=!1,o=0;return i.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){i.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[Ee,mt]),(0,c.useEffect)((function(){tt(g)}),[g]);var _t={width:ke(l),height:ke(et)},kt=((0,c.useMemo)((function(){if(Je){var e=new Date(Je),t=e.getHours(),n=e.getMinutes(),i=e.getSeconds();return n=n<10?"0"+n:n,i=i<10?"0"+i:i,"".concat(t=t<10?"0"+t:t,":").concat(n,":").concat(i)}return 0}),[Je]),function(e){var t=[];if(F){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,i){t.push({multiLine:!("@▁@"===e)})}))}return t});(0,c.useEffect)((function(){if(Se[We]&&We!==me&&We!==he){var e=document.getElementsByClassName("ant-modal")[0],t=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;st(t),pt(n)}}),[We]);var jt=function(e,t,n,i){var a=document.body.clientHeight,o=document.body.clientWidth;return!(e<20&&n>e||e>o-20&&n<e||t<20&&i>t||t>a-20&&i<t)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,h.jsxs)(c.Fragment,{children:[(0,h.jsx)("div",{className:"markdown-editor-wrapper",ref:ht,children:(0,h.jsxs)("div",{className:"markdown-editor-container ".concat(X," ").concat(De?"on-preview":""," ").concat(w?"mini":""," ").concat(Fe?"full-screen":""),style:_t,children:[(0,h.jsx)(x,{insertTemp:j,watch:De,fullScreen:Fe,showNullButton:z,showNullProgramButton:F,onActionCallback:wt,hidetoolBar:V,extraUse:Te}),(0,h.jsxs)("div",{className:"markdown-editor-body",children:[(0,h.jsx)("div",{className:"codemirror-container",children:(0,h.jsx)("textarea",{ref:ft,placeholder:se})}),De?(0,h.jsxs)("div",{ref:gt,className:"preview-container",children:["stex"===B&&(0,h.jsx)(m,{value:Ze}),"stex"!==B&&(0,h.jsx)(f.Z,{disabledFill:re,showProgramFill:F,value:Ze})]}):null]})]})}),Z?(0,h.jsx)("a",{ref:mt,className:"editor-resize"}):null,We===me&&(0,h.jsx)(D,{callback:bt,onCancel:yt}),We===he&&(0,h.jsx)(ee,{callback:bt,onCancel:yt}),(0,h.jsx)(y.Z,{children:Se[We]&&We!==me&&We!==he?(0,h.jsx)(Y.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:lt,top:dt},title:(0,h.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var t=e.clientX-lt,n=e.clientY-dt;document.body.onmousemove=function(e){var i=e.clientX-t,a=e.clientY-n,o=document.getElementsByClassName("ant-modal")[0],r=window.innerWidth-o.offsetWidth,l=window.innerHeight-o.offsetHeight;i=Math.max(0,Math.min(i,r)),a=Math.max(0,Math.min(a,l)),jt(e.clientX,e.clientY,t,n)&&(st(i),pt(a))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:Se[We]}),open:!0,onCancel:yt,footer:null,destroyOnClose:!0,width:We===he?"1200px":null,height:We===he?"80vh":null,className:"markdown-popup-form",children:xt}):null})]})}},71826:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(82100),a=n.n(i),o=n(29186),r=n.n(o),l=n(80619),s=n.n(l),c=n(47074),u=n.n(c),d=n(59301),p=n(4676),f=function(e){s()(n,e);var t=u()(n);function n(e){var i;a()(this,n),i=t.call(this,e);var o=window.document;return i.node=o.createElement("div"),o.body.appendChild(i.node),i}return r()(n,[{key:"render",value:function(){var e=this.props.children;return(0,p.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),n}(d.Component)},7325:function(e,t,n){"use strict";n(40842);var i=n(57809),a=n(78673),o=n(37712),r=i.default.Option;t.Z=function(e){var t=e.isTheoretical,n=e.onFontSizeChange,l=e.cmFontSize,s=e.cmCodeMode,c=(e.autoFormat,e.onCodeModeChange),u=e.onTabToSpace,d=(e.onAutoFormat,e.formatDocument),p=e.className,f=void 0===p?"":p,h=e.tabToSpace,m=e.children,g=e.code_editor,v=e.challenge;return(0,o.jsxs)("div",{className:"tpi-code-setting ".concat(f),children:[(0,o.jsx)("h3",{children:"代码格式"}),(0,o.jsxs)("section",{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"显示模式"}),(0,o.jsxs)(i.default,{bordered:!1,size:"small",value:s,onChange:c,children:[(0,o.jsx)(r,{value:"vs",children:"白色背景"}),(0,o.jsx)(r,{value:"vs-dark",children:"黑色背景"})]})]}),!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"字体大小"}),(0,o.jsxs)(i.default,{bordered:!1,size:"small",value:l,onChange:n,children:[(0,o.jsx)(r,{value:12,children:"12px"}),(0,o.jsx)(r,{value:14,children:"14px"}),(0,o.jsx)(r,{value:16,children:"16px"}),(0,o.jsx)(r,{value:18,children:"18px"}),(0,o.jsx)(r,{value:20,children:"20px"}),(0,o.jsx)(r,{value:22,children:"22px"})]})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"Tab转换"}),(0,o.jsx)(a.Z,{checked:h,onChange:u})]}),(0,o.jsx)("div",{className:"file-item",onClick:d,children:(0,o.jsx)("b",{style:{cursor:"pointer"},children:"格式化代码"})})]})]}),!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:"快捷键"}),(0,o.jsxs)("section",{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"保存代码"}),(0,o.jsx)("span",{children:"Ctrl + S"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"唤出快捷键列表"}),(0,o.jsx)("span",{children:"F1 / Alt + F1"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"左右缩进"}),(0,o.jsx)("span",{children:"Ctrl + ]/["})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"跳到匹配的括号"}),(0,o.jsx)("span",{children:"Ctrl + Shift + \\"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"转到行首"}),(0,o.jsx)("span",{children:"Home"})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"转到行尾"}),(0,o.jsx)("span",{children:"End"})]})]}),m]}),!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:"快捷键"}),(0,o.jsxs)("section",{children:[(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实训难易度"}),(0,o.jsx)("span",{children:{1:"简单",2:"中等",3:"困难"}[null==v?void 0:v.difficulty]})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实验环境"}),(0,o.jsx)("span",{children:null==g?void 0:g.name})]}),(0,o.jsxs)("div",{className:"file-item",children:[(0,o.jsx)("b",{children:"实验容器网络"}),(0,o.jsx)("span",{children:null!=g&&g.close_internet?"关闭外网":"开启外网"})]})]})]})]})}},57473:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(59301);function a(e,t){var n=(0,i.useRef)();(0,i.useEffect)((function(){n.current=e})),(0,i.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])}},97407:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(79800),a=n.n(i),o=n(82242),r=n.n(o),l=n(59301),s=n(43428),c=n(16844),u=n(71826),d=n(35035),p=n(7325),f=n(37712),h={theme:(0,d.G)("cmCodeMode","vs-dark"),fontSize:(0,d.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,d.G)("cmTabToSpace",!0)},m=function(e){return e[e.set_font_size=0]="set_font_size",e[e.set_theme=1]="set_theme",e[e.on_tab_to_space=2]="on_tab_to_space",e[e.set_show_editor_setting=3]="set_show_editor_setting",e}(m||{});function g(e,t){switch(t.type){case m.set_show_editor_setting:return r()(r()({},e),{},{showEditorSetting:t.payload});case m.set_theme:return r()(r()({},e),{},{theme:t.payload});case m.set_font_size:return r()(r()({},e),{},{fontSize:t.payload});case m.on_tab_to_space:return r()(r()({},e),{},{tabToSpace:t.payload});default:throw new Error}}var v=function(e){var t=e.isLoading,n=e.value,i=e.onChange,o=e.language,v=e.onUpdateCode,b=e.ActionBarRender,x=void 0===b?function(e){return(0,f.jsx)(w,{onShowCodeSetting:e})}:b,y=(0,l.useReducer)(g,h),_=a()(y,2),k=_[0],j=_[1],C=k.theme,S=k.fontSize,T=k.showEditorSetting,A=k.tabToSpace,B=(0,l.useRef)(),E=(0,l.useRef)(),N={onFontSizeChange:function(e){j({type:m.set_font_size,payload:e}),(0,d.t)("cmFontSize",e)},tabToSpace:A,cmFontSize:S,className:"oj",cmCodeMode:C,onTabToSpace:function(e){j({type:m.on_tab_to_space,payload:e}),(0,d.t)("cmTabToSpace",e)},onCodeModeChange:function(e){j({type:m.set_theme,payload:e}),(0,d.t)("cmCodeMode",e)}};var P={value:n,language:o,theme:C,height:"calc(100% - 56px)",options:{fontSize:S,insertSpaces:A},onChange:function(e){i(e),E.current=e,clearTimeout(B.current),B.current=setTimeout((function(){v(E.current)}),1e4)},onEditBlur:function(e){E.current&&v(E.current)}};return(0,f.jsxs)(l.Fragment,{children:[(0,f.jsxs)("div",{className:"code-panel-container",children:[x((function(){j({type:m.set_show_editor_setting,payload:!0})})),!t&&(0,f.jsx)(c.ZP,r()({},P))]}),(0,f.jsx)(u.Z,{children:(0,f.jsx)(s.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:T,onClose:function(){j({type:m.set_show_editor_setting,payload:!1})},children:(0,f.jsx)(p.Z,r()({},N))})})]})};function w(e){var t=e.onShowCodeSetting;return(0,f.jsxs)("div",{className:"action-bar",children:[(0,f.jsx)("span",{children:"学员初始代码文件"}),(0,f.jsx)("a",{onClick:t,children:(0,f.jsx)("i",{className:"iconfont icon-shezhi"})})]})}},74750:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var i=n(79800),a=n.n(i),o=n(82242),r=n.n(o),l=n(59301),s=n(43428),c=n(16844),u=n(7325),d=n(71826),p=n(35035),f="code-panel-container___RFtv_",h="action-oj-bar___ByFmZ",m="active___s9gT5",g=n(89392),v=n(37712),w={theme:(0,p.G)("cmCodeMode","vs-dark"),fontSize:(0,p.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,p.G)("cmTabToSpace",!0)},b=function(e){return e[e.set_font_size=0]="set_font_size",e[e.set_theme=1]="set_theme",e[e.on_tab_to_space=2]="on_tab_to_space",e[e.set_show_editor_setting=3]="set_show_editor_setting",e}(b||{});function x(e,t){switch(t.type){case b.set_show_editor_setting:return r()(r()({},e),{},{showEditorSetting:t.payload});case b.set_theme:return r()(r()({},e),{},{theme:t.payload});case b.set_font_size:return r()(r()({},e),{},{fontSize:t.payload});case b.on_tab_to_space:return r()(r()({},e),{},{tabToSpace:t.payload});default:throw new Error}}var y=function(e){var t,n=e.isLoading,i=e.value,o=void 0===i?[]:i,h=e.onChange,m=(0,l.useReducer)(x,w),y=a()(m,2),k=y[0],j=y[1],C=k.theme,S=k.fontSize,T=k.showEditorSetting,A=k.tabToSpace,B=(0,l.useState)("C"),E=a()(B,2),N=E[0],P=E[1],L=(0,l.useRef)([]);(0,l.useEffect)((function(){null!=o&&o.length&&(L.current=(0,g.cloneDeep)(o))}),[o]);var Z={onFontSizeChange:function(e){j({type:b.set_font_size,payload:e}),(0,p.t)("cmFontSize",e)},tabToSpace:A,cmFontSize:S,className:"oj",cmCodeMode:C,onTabToSpace:function(e){j({type:b.on_tab_to_space,payload:e}),(0,p.t)("cmTabToSpace",e)},onCodeModeChange:function(e){j({type:b.set_theme,payload:e}),(0,p.t)("cmCodeMode",e)}};var M={key:N,value:null==o||null===(t=o.find((function(e){return e.language===N})))||void 0===t?void 0:t.code,language:N,onChange:function(e){var t,n=null===(t=L.current)||void 0===t?void 0:t.map((function(t){return t.language===N?(t.code=e,t):t}));L.current=(0,g.cloneDeep)(n),h(n)},theme:C,height:"calc(100% - 56px)",options:{fontSize:S,insertSpaces:A}};return console.log("----",N),(0,v.jsxs)(l.Fragment,{children:[(0,v.jsxs)("div",{className:f,children:[(0,v.jsx)(_,{languageItems:o,onLanguage:function(e){return P(e)},language:N,onShowCodeSetting:function(){j({type:b.set_show_editor_setting,payload:!0})}}),!n&&(0,v.jsx)(c.ZP,r()({},M))]}),(0,v.jsx)(d.Z,{children:(0,v.jsx)(s.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:T,onClose:function(){j({type:b.set_show_editor_setting,payload:!1})},children:(0,v.jsx)(u.Z,r()({},Z))})})]})};function _(e){var t=e.languageItems,n=e.language,i=e.onShowCodeSetting,a=e.onLanguage;return(0,v.jsxs)("div",{className:h,children:[(0,v.jsx)("span",{children:"学员初始代码文件"}),null==t?void 0:t.map((function(e){return(0,v.jsx)("div",{className:n===(null==e?void 0:e.language)?m:"",onClick:function(){return a(null==e?void 0:e.language)},children:null==e?void 0:e.language},null==e?void 0:e.language)})),(0,v.jsx)("a",{onClick:i,children:(0,v.jsx)("i",{className:"iconfont icon-shezhi"})})]})}},64665:function(e,t,n){"use strict";n.r(t),n.d(t,{Types:function(){return oe}});var i=n(70236),a=n.n(i),o=n(91232),r=n.n(o),l=n(37205),s=n.n(l),c=n(7557),u=n.n(c),d=n(41498),p=n.n(d),f=n(79800),h=n.n(f),m=n(82242),g=n.n(m),v=n(59301),w=n(98537),b=n(98135),x=n(43418),y=n(36381),_=n(78241),k=n(8591),j=n(71418),C=n(3113),S=n(57809),T=n(19842),A=n(54449),B=n(24905),E=n(5112),N=n(81327),P=n(14478),L=n(39878),Z=n(96048),M=n(24334),I=n(84078),G=n(41521),D=n(11243),O=n(25937),z=n(96005),R=n(78786),F=n(97407),H=n(74750),V=n(82420),U=n(92818),W=n(14103),K=n(94066),q=n(45055),Y=n(47017),J=n(20565),Q=n(74585),X=n(84293),$=n(37712),ee=b.Z.TextArea,te=x.Z.confirm,ne=y.Z.Panel;function ie(){return(new Date).getTime()}var ae={loading:!0,user:null,disciplines:[],dicts:null,status:0,data:void 0,lastedUpdateTime:0},oe=function(e){return e[e.SET_INITAL_DATA=0]="SET_INITAL_DATA",e[e.SET_LOADING=1]="SET_LOADING",e[e.SET_STATUS=2]="SET_STATUS",e}({});function re(e,t){switch(t.type){case oe.SET_INITAL_DATA:return g()(g()({},e),t.payload);case oe.SET_LOADING:return g()(g()({},e),{},{loading:t.payload});case oe.SET_STATUS:return g()(g()({},e),{},{status:t.payload});default:throw new Error}}function le(e){var t,n,i=e.form,o=e.onAddTestCases,r=e.handleAddKnowledgeFinish,l=e.ischecked,c=(e.MyGroup,e.formValue),u=e.knowledgeOptions,d=e.categorys,p=e.hack,f=e.callback_url,m=e.onChangeAverage,x=e.onChangeScore,k=e.onChangehide,j=e.onChangeFile,Z=e.onAddTestCase,M=e.onRemoveTestCase,I=e.onChangeSubDiscipline,O=e.onChangeLanguage,z=e.uploadData,R=e.setUploadData,F=e.handleUploadRatio,H=e.isshows,V=e.isProgram,U=e.addUploadFnc,W=(null===(t=location)||void 0===t||null===(t=t.search)||void 0===t?void 0:t.includes("select"))||!1,J=(0,v.useState)(H),Q=h()(J,2),te=Q[0],ie=Q[1],ae=(0,v.useState)(!1),oe=h()(ae,2),re=oe[0],le=oe[1],se=p.test_set_average,ce=p.test_set_score,ue=(0,v.useState)(!1),de=h()(ue,2),pe=de[0],fe=de[1];function he(e){e.stopPropagation()}return(0,$.jsxs)("div",{className:w.Z["oj-left-panel"],children:[(0,$.jsxs)("div",{className:w.Z["oj-form-info"],children:[(0,$.jsxs)("div",{className:w.Z.field,children:[(0,$.jsx)(_.Z.Item,{label:"难易度",name:["hack","difficult"],rules:[{required:!0,message:"请选择难易度"}],children:(0,$.jsx)(S.default,{disabled:W,children:(0,L.jw)(L.R8.difficult)})}),(0,$.jsx)(_.Z.Item,{label:"课程(合理的课程分类有利于快速检索)",name:["hack","sub_discipline_id"],rules:[{required:!0,message:"请选择课程"}],children:(0,$.jsx)(T.Z,{disabled:W,allowClear:!1,options:d,placeholder:"请选择",onChange:I})})]}),(0,$.jsxs)("div",{className:w.Z.field,children:[f&&(0,$.jsx)(_.Z.Item,{label:"分数",name:["hack","score"],rules:[{required:!0,message:"请输入分数"}],extra:(0,$.jsx)("span",{style:{position:"absolute",left:100,top:5},children:"分"}),children:(0,$.jsx)(A.Z,{disabled:W,min:1,max:100})}),(0,$.jsx)(_.Z.Item,{label:(0,$.jsx)("div",{children:"单个测试集评测时长限制 "}),name:["hack","time_limit"],rules:[{required:!0,message:"请输入单个测试集评测时长限制"},{type:"number",min:3,message:"最小限制时间是3秒"}],extra:(0,$.jsx)("span",{style:{position:"absolute",left:100,top:5},children:"秒"}),children:(0,$.jsx)(A.Z,{min:3})}),V?(0,$.jsx)(_.Z.Item,{label:"编程语言",style:{paddingBottom:16},name:["hack","languages"],rules:[{required:!0,message:"请选择编程语言"}],children:(0,$.jsxs)(B.Z.Group,{children:[(0,$.jsx)(B.Z,{value:"C",children:"C"}),(0,$.jsx)(B.Z,{value:"C++",children:"C++"}),(0,$.jsx)(B.Z,{value:"Java",children:"Java"}),(0,$.jsx)(B.Z,{value:"Python",children:"Python"})]})}):(0,$.jsx)(_.Z.Item,{label:"编程语言",name:["hack_codes","language"],style:{paddingBottom:16},rules:[{required:!0,message:"请选择编程语言"}],children:(0,$.jsx)(S.default,{onChange:O,children:(0,L.jw)(L.R8.language)})})]}),(0,$.jsx)(_.Z.Item,{label:(0,$.jsxs)("span",{children:["知识点:",(0,$.jsx)("span",{className:"c-grey-999",children:"(所有自建知识点仅本人可见,被EduCoder平台审核通过为官方知识点后所有用户可见)"})]}),name:["hack","tag_discipline_ids"],children:(0,$.jsx)(K.N,{selectvalues:(null==p?void 0:p.tag_discipline_id)||(null==p?void 0:p.tag_discipline_ids),disabled:W,subId:null==c||null===(n=c.hack)||void 0===n||null===(n=n.sub_discipline_id)||void 0===n?void 0:n[1],knowledgeOptions:u,onAddKnowledgeFinish:r})}),(0,$.jsx)(_.Z.Item,{label:"加入文件夹目录",name:["hack","item_banks_group_ids"],labelCol:{span:24},wrapperCol:{span:24},children:(0,$.jsx)(q.Z,{disabled:W})}),(0,$.jsx)(_.Z.Item,{label:"任务名称",name:["hack","name"],rules:[{required:!0,message:"请输入任务名称"}],children:(0,$.jsx)(b.Z,{maxLength:60,placeholder:"请输入任务名称",suffix:(0,$.jsx)("span",{children:60-p.name.length})})}),(0,$.jsx)(_.Z.Item,{name:["hack","description"],valuePropName:"defaultValue",rules:[{required:!0,message:"请输入描述内容"}],children:(0,$.jsx)(D.Z,{miniToolbar:!0,id:"moop_cases_content",noStorage:!0,height:200})}),(0,$.jsx)("div",{onClick:function(){return le(!0)},children:(0,$.jsx)(_.Z.Item,{label:"题目解析",name:["hack","analysis"],className:"".concat(w.Z.baseLineHeight),children:(0,$.jsx)(X.x,{placeholder:"请编辑题目解析(非必填)",isEdit:re})})}),(0,$.jsxs)("div",{className:"tst-case-info",children:[(0,$.jsxs)("h3",{className:"flex-container",style:{justifyContent:"space-between"},children:[" 测试用例与系统评分规则",!p.is_file&&(0,$.jsx)(C.ZP,{type:"primary",ghost:!0,onClick:Z,children:"添加测试用例"})]}),(0,$.jsx)(_.Z.Item,{name:["hack","test_set_score"],children:(0,$.jsxs)(E.ZP.Group,{onChange:x,children:[(0,$.jsxs)(E.ZP,{value:!0,children:["通过全部测试集",(0,$.jsx)("span",{className:"tip",children:" (学员评测,仅当所有测试集都正确时,才获得一次性奖励)"})]}),(0,$.jsxs)(E.ZP,{value:!1,children:["通过部分测试集",(0,$.jsx)("span",{className:"tip",children:" (学员评测,通过测试集即可获得对应奖励)"})]})]})}),(0,$.jsx)(B.Z,{style:{marginBottom:"5px"},checked:l,onChange:k,children:"隐藏实际输出 (选中,则在学生考试过程中无法看到实际输出结果,仅展示是否评测是否通过)"}),(0,$.jsx)(_.Z.Item,{className:w.Z.testJi,name:["hack","is_file"],label:"用例类型:",children:(0,$.jsx)(E.ZP.Group,{onChange:j,children:(0,$.jsxs)(N.Z,{direction:"horizontal",children:[(0,$.jsx)(E.ZP,{value:!1,children:"文本"}),(0,$.jsx)(E.ZP,{value:!0,children:"文件"})]})})}),(0,$.jsx)(_.Z.Item,{label:"评测时空格处理",name:["hack","submit_rule"],rules:[{required:!0}],children:(0,$.jsxs)(E.ZP.Group,{children:[(0,$.jsx)(E.ZP,{value:0,children:"不忽略空格"}),(0,$.jsx)(E.ZP,{value:1,children:"忽略首尾空格"}),(0,$.jsx)(E.ZP,{value:2,children:"忽略所有空格"})]})}),!p.test_set_score&&(0,$.jsx)(_.Z.Item,{name:["hack","test_set_average"],label:"系统评分占比",children:(0,$.jsxs)(E.ZP.Group,{onChange:m,children:[(0,$.jsx)(E.ZP,{value:!0,children:"均分比例"}),(0,$.jsx)(E.ZP,{value:!1,children:"自定义比例"})]})}),!p.test_set_score&&(0,$.jsxs)("div",{style:{marginBottom:"20px",marginTop:"-10px"},children:[(0,$.jsxs)("div",{style:{display:"flex",height:"30px",marginBottom:"10px"},children:[(0,$.jsx)(B.Z,{checked:te,style:{display:"flex",alignItems:"center"},className:w.Z.checkboxs,onChange:function(e){ie(e.target.checked),i.setFieldsValue({hack:{code_compile_score:0}}),p.test_set_average&&(p.is_file?F(z):o())},children:"启用编译通过即可得分"}),te&&(0,$.jsxs)("span",{style:{display:"flex"},children:[(0,$.jsx)(_.Z.Item,{rules:[{required:!0,message:"请输入编译得分"}],name:["hack","code_compile_score"],children:(0,$.jsx)(A.Z,{onChange:function(){p.test_set_average&&(p.is_file?F(z):o())},parser:function(e){return isNaN(parseInt(e))?"":parseInt(e)},min:0,max:100,style:{width:"90px",margin:"5px 0px"}})})," ",(0,$.jsx)("span",{style:{display:"flex",alignItems:"center",marginLeft:"5px"},children:"%"})]})]}),(0,$.jsx)("span",{style:{color:"#999",fontSize:"12px",marginLeft:"-8px"},children:"(请注意该实训题是否有编译过程,若没有则无法获得编译得分)"})]}),(0,$.jsxs)("div",{className:w.Z.upBtn,children:[(0,$.jsx)(C.ZP,{ghost:!0,type:"primary",className:"mb20",onClick:function(){return fe(!0)},children:"批量上传测试用例"}),(null==p?void 0:p.is_file)&&(0,$.jsx)(Y.Y2,{disabled:null==p?void 0:p.test_set_average,inputChange:function(e,t){console.log(e,t);var n=z.map((function(n,i){return i===t?g()(g()({},n),{},{score:e.target.value?Number(e.target.value):0}):n}));R(n)},showScore:!p.test_set_score,data:z,onRemove:function(e,t){var n=s()(z);n.splice(t,1),se?F(n):R(n)}})]}),!p.is_file&&(0,$.jsx)(_.Z.List,{name:"hack_sets",children:function(e,t){return a()(t),(0,$.jsx)(y.Z,{accordion:!0,className:w.Z.collapse,children:e.map((function(e,t){return(0,$.jsxs)(ne,{header:(0,$.jsxs)("a",{className:w.Z["test-case-name"],children:[(0,$.jsxs)("span",{children:["测试用例",t+1]}),ce?null:(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(_.Z.Item,{name:[e.name,"score"],style:{marginBottom:0},fieldKey:[e.fieldKey,"score"],rules:[{required:!0,message:"请输入测试集".concat(t+1,"评分")}],children:(0,$.jsx)(A.Z,{onClick:he,min:0,max:100,disabled:se})}),(0,$.jsx)("span",{children:"%"})]})]}),extra:t>0?(0,$.jsx)("div",{onClick:he,children:(0,$.jsx)(P.Z,{okText:"确定",cancelText:"取消",title:"确定删除测试集"+(t+1),onConfirm:function(){M(t)},children:(0,$.jsx)(G.Z,{className:w.Z["btn-remove-case"]})})}):null,children:[(0,$.jsx)(_.Z.Item,{label:"输入",name:[e.name,"input"],fieldKey:[e.fieldKey,"input"],children:(0,$.jsx)(ee,{})}),(0,$.jsx)(_.Z.Item,{label:"输出",name:[e.name,"output"],fieldKey:[e.fieldKey,"output"],rules:[{required:!0,message:"请输入输出内容"}],children:(0,$.jsx)(ee,{})})]},"".concat(e.key,"--").concat(t))}))})}})]})]}),(0,$.jsx)(Y.ZP,{rootIdentifier:null,visible:pe,onClose:function(){return fe(!1)},onOK:function(e){if(null!=e&&e.length){if(null!=e&&e[0].is_file){U(e,!0)();var t=z.concat(e);p.test_set_average?F(t):R(t)}null!=e&&e[0].is_file||U(e)}},multiple:!0,defaultMultipleValue:null==p?void 0:p.is_file})]})}t.default=function(){var e,t,n=(0,Z.useSearchParams)(),i=h()(n,1)[0],a=((0,Z.useLocation)(),(0,Z.useParams)().id),o=_.Z.useForm(),l=h()(o,1)[0],c=(0,v.useState)(),d=h()(c,2),f=d[0],m=d[1],b=(0,v.useState)([]),y=h()(b,2),S=y[0],T=y[1],A=(0,v.useState)([]),B=h()(A,2),E=B[0],N=B[1],P=(0,v.useReducer)(re,ae),G=h()(P,2),D=G[0],K=G[1],q=D.loading,Y=D.data,X=D.user,ee=D.disciplines,ne=D.dicts,se=D.status,ce=null==Y?void 0:Y.hack_sets,ue=null==Y||null===(e=Y.hack)||void 0===e?void 0:e.test_set_average,de=(0,U.oP)(),pe=de.callback_url,fe=de.express_id,he=de.score,me=de.question_id,ge=de.type,ve=(0,v.useState)([]),we=h()(ve,2),be=we[0],xe=we[1],ye=(0,v.useState)(!1),_e=h()(ye,2),ke=_e[0],je=_e[1],Ce=(0,v.useState)(!1),Se=h()(Ce,2),Te=Se[0],Ae=Se[1],Be="1"===ge,Ee=(0,v.useMemo)((function(){var e=[];return ee&&(0,L.D0)(ee,e),e}),[ee]),Ne=(0,v.useCallback)(p()(u()().mark((function e(){var t,n,i,o,r,s,c,d,p,f,v,w,b,x,y,_,k,j,C,S,T,A,B,E,P,Z,I,G,D,z,R,F,H,V,W,q,Y,J,Q,X,$,te,ne,ie,ae,re,le,se,ce,ue,de,pe,fe,me=arguments;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=me.length>0&&void 0!==me[0]?me[0]:0,0!==(n=ee).length){e.next=7;break}return e.next=5,(0,O.d1)("new_question");case 5:i=e.sent,n=i.disciplines;case 7:if(!a){e.next=15;break}return o={disciplines:n},e.next=11,(0,O.fu)(a);case 11:(r=e.sent).message?"401"===r.status&&(document.location.href="/user/login"):(s=r.category,c=r.user,d=r.code,p=r.language,f=r.hack_sets,v=r.description,w=r.difficult,b=r.name,x=r.open_or_not,y=r.sub_discipline_id,r.tag_discipline_id,_=r.analysis,k=r.time_limit,j=r.test_set_average,C=r.test_set_score,S=r.status,T=r.tag_discipline_ids,A=r.item_banks_group_id,B=r.is_file,E=void 0!==B&&B,P=r.hide_actual_output,Z=r.code_compile_score,I=r.languages,G=r.is_my,D=r.codes,z=r.submit_rule,R=(0,L.y3)(n,y),F=h()(R,2),H=F[0],V=F[1],je(P),W=E?[{input:"",output:"",score:100,position:1}]:f,E?(N(f),l.setFieldsValue({hack_sets:W})):N([]),q=(0,U.oP)(),Y=q.lastedUpdateTime,J=null==D?void 0:D.map((function(e){return g()(g()({},e),{},{code:M.Base64.decode(null==e?void 0:e.code)})})),o=g()(g()({},o),{},{loading:!1,user:c,dicts:V,status:S,lastedUpdateTime:t||(Y||0),data:{hack_codes:{language:p,code:M.Base64.decode(d)},hack:{category:s,difficult:w,name:b,description:v,open_or_not:x,time_limit:k,test_set_average:j,test_set_score:C,sub_discipline_id:H,tag_discipline_ids:T,languages:I,score:he||1,item_banks_group_ids:A,is_file:E,is_my:G,code_compile_score:Z,analysis:_,submit_rule:z},hack_sets:W,tags:T,codes:J}}),parseInt(Z)>0&&Ae(!0),K({type:oe.SET_INITAL_DATA,payload:o}),m({hack:{category:s,difficult:w,name:b,description:v,open_or_not:x,time_limit:k,test_set_average:j,test_set_score:C,sub_discipline_id:H,tag_discipline_ids:T,score:he||1,item_banks_group_ids:A,is_file:E,analysis:_},codes:J}),Pe(null==H?void 0:H[0],null==H?void 0:H[1],n)),e.next=25;break;case 15:return e.next=17,(0,O.PR)();case 17:$=e.sent,te=$.user,ne=(0,U.oP)(),ie=ne.difficult,ae=ne.sub_discipline_id,re=ne.tag_discipline_id,le=ne.tagIds,se=ne.banksIds,ce=(0,L.y3)(n,parseInt(ae,10)),ue=h()(ce,2),de=ue[0],pe=ue[1],fe=[Number(se)],K({type:oe.SET_INITAL_DATA,payload:{loading:!1,user:te,disciplines:n,status:0,dicts:pe,data:{hack_codes:{language:"C",code:""},hack:{category:null,difficult:parseInt(ie,10),time_limit:3,description:"",test_set_score:!0,test_set_average:!0,open_or_not:!0,sub_discipline_id:de,tag_discipline_id:le&&(null==le||null===(Q=le.split(","))||void 0===Q?void 0:Q.map((function(e){return Number(e)}))),name:"",item_banks_group_ids:fe,is_file:!1},tags:re?null==re?void 0:re.split(",").map((function(e){return parseInt(e,10)})):[],hack_sets:[{input:"",output:"",score:100,position:1}]}}}),m({hack:{category:null,difficult:parseInt(ie,10),time_limit:3,description:"",test_set_average:!0,open_or_not:!0,sub_discipline_id:de,tag_discipline_id:le&&(null==le||null===(X=le.split(","))||void 0===X?void 0:X.map((function(e){return Number(e)}))),name:"",item_banks_group_id:fe,is_file:!1}}),Pe(null==de?void 0:de[0],null==de?void 0:de[1],n);case 25:case"end":return e.stop()}}),e)}))),[a,ee]);(0,v.useEffect)((function(){try{Ne()}catch(e){console.log(e,"----")}}),[]),(0,v.useEffect)((function(){function e(){return e=p()(u()().mark((function e(){var t;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.U2)("item_banks_groups/mine.json");case 2:t=e.sent,xe(t);case 4:case"end":return e.stop()}}),e)}))),e.apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var Pe=function(e,t,n){var i;null==n||null===(i=n.find((function(t){return t.id===e})))||void 0===i||null===(i=i.sub_disciplines)||void 0===i||null===(i=i.find((function(e){return e.id===t})))||void 0===i||i.tag_disciplines};function Le(e,t,n){return Ze.apply(this,arguments)}function Ze(){return Ze=p()(u()().mark((function e(t,n,i){var o,l,s,c,d,p,f,h,m,v,w,b,x,y,_,j,C,S,T;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=g()({},t),l=o.hack_sets,s=o.hack_codes,c=o.hack,d=o.tags,p=o.codes,c.hide_actual_output=ke,f=[],h=[],m=0,v=null!=c&&c.is_file?E.map((function(e,t){return g()(g()({},e),{},{position:t+1})})):l.map((function(e){return g()(g()({},e),{},{is_file:!1})})),w=r()(v);try{for(w.s();!(b=w.n()).done;)x=b.value,m+=x.score,x.id&&x.id>=0?f.push(x):h.push(x)}catch(e){w.e(e)}finally{w.f()}if(null!=v&&v.length){e.next=11;break}return k.ZP.error("测试集不能为空"),e.abrupt("return");case 11:if(100===(m+=parseInt(c.code_compile_score||0))||c.test_set_score){e.next=15;break}return k.ZP.error("测试集的评分占比之和必须等于100"),e.abrupt("return");case 15:if(null==v||!v.some((function(e){return!e.output}))){e.next=18;break}return k.ZP.error("测试集输出不能为空"),e.abrupt("return");case 18:if(y={},Be?null==p||p.forEach((function(e){y[e.language]=null!=e&&e.code?M.Base64.encode(null==e?void 0:e.code):""})):s.code=M.Base64.encode(null==s?void 0:s.code),c.sub_discipline_id=c.sub_discipline_id[1],K({type:oe.SET_LOADING,payload:!0}),pe||(c.score=100*c.difficult),!a){e.next=50;break}return e.next=26,(0,O.l_)(a,{hack:c,hack_codes:s,hack_sets:h,update_hack_sets:f,tags:d,is_cover:i,languages:c.languages,codes:y});case 26:if(!pe){e.next=45;break}return e.next=29,(0,O.j2)(a);case 29:if(!pe.includes("paperlibrary")){e.next=35;break}return e.next=32,(0,J.oF)({id:fe,question_id:me,item_type:Q.c.Program,name:c.name,question_score:c.score,difficulty:c.difficult,sub_discipline_id:c.sub_discipline_id,tag_discipline_ids:c.tag_discipline_ids,item_banks_group_ids:c.item_banks_group_ids,analysis:c.analysis});case 32:return 0===e.sent.status&&Z.history.replace(pe),e.abrupt("return");case 35:return e.next=37,(0,O.GM)(me,{question_type:6,question_score:c.score,question_title:c.name,description:c.description,sub_discipline_id:c.sub_discipline_id,tag_discipline_ids:c.tag_discipline_ids,item_banks_group_ids:c.item_banks_group_ids,identifier:a,analysis:c.analysis});case 37:if(_=e.sent,0!==_.status){e.next=43;break}if("start"!==n){e.next=42;break}return e.abrupt("return");case 42:Z.history.replace(pe);case 43:e.next=47;break;case 45:k.ZP.success("保存成功"),Ne(ie());case 47:K({type:oe.SET_LOADING,payload:!1}),e.next=80;break;case 50:return e.next=52,(0,O.zQ)({hack:c,hack_codes:s,hack_sets:v,tags:d,examination_bank_id:fe||null});case 52:if(j=e.sent,C=j.identifier,S=j.exam_identifier,K({type:oe.SET_LOADING,payload:!1}),"start"!==n){e.next=58;break}return e.abrupt("return");case 58:if(!C){e.next=80;break}if(pe){e.next=63;break}Z.history.replace("/problems/".concat(C,"/edit?lastedUpdateTime=").concat(ie())),e.next=80;break;case 63:return e.next=65,(0,O.j2)(C);case 65:if(a){e.next=79;break}if(!pe.includes("paperlibrary")){e.next=72;break}return e.next=69,(0,J.oF)({id:fe,item_type:Q.c.Program,name:c.name,question_score:c.score,difficulty:c.difficult,sub_discipline_id:c.sub_discipline_id,tag_discipline_ids:c.tag_discipline_ids,identifier:S,analysis:c.analysis});case 69:return 0===e.sent.status&&Z.history.replace(pe),e.abrupt("return");case 72:return e.next=74,(0,O.MK)(parseInt(fe,10),{question_type:6,question_score:c.score,question_title:c.name,identifier:C,tag_discipline_ids:c.tag_discipline_ids,analysis:c.analysis});case 74:T=e.sent,0===T.status&&Z.history.replace(pe),e.next=80;break;case 79:Z.history.replace(pe);case 80:case"end":return e.stop()}}),e)}))),Ze.apply(this,arguments)}function Me(){return(Me=p()(u()().mark((function e(){var t;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,O.ZS)(a);case 2:0===(t=e.sent).status?(k.ZP.success("撤销发布成功"),K({type:oe.SET_STATUS,payload:0})):k.ZP.info(t.message);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ie(){return(Ie=p()(u()().mark((function e(){return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Le,e.next=3,l.getFieldValue();case 3:e.t1=e.sent,(0,e.t0)(e.t1,"start"),setTimeout(p()(u()().mark((function e(){var t,n;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,O.uE)(a);case 2:t=e.sent,n=t.identifier,window.location.href=Be?"/myproblems/".concat(n,"?type=1"):"/myproblems/".concat(n);case 5:case"end":return e.stop()}}),e)}))),400);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(){if(pe)Z.history.replace(pe);else if(Be){var e,t=null===(e=localStorage.getItem("program_homework"))||void 0===e?void 0:e.split(",");Z.history.push("/classrooms/".concat(null==t?void 0:t[0],"/program_homework/").concat(null==t?void 0:t[1],"/detail"))}else Z.history.replace("/problemset")}var De=function(e){var t=parseInt(l.getFieldValue("hack").code_compile_score)||0,n=Math.floor((100-t)/e.length),i=n+(100-t)%e.length;e=e.map((function(t,a){return a===e.length-1?g()(g()({},t),{},{score:i}):g()(g()({},t),{},{score:n})})),N(e)};(0,v.useEffect)((function(){if(ue){var e=parseInt(l.getFieldValue("hack").code_compile_score)||0,t=null==ce?void 0:ce.length,n=Math.floor((100-e)/t),i=(100-e)%t;null==ce||ce.map((function(e,a){return e.score=n,e.position=a+1,a===t-1&&(e.score=n+i),e})),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_sets:ce})}}),l.setFieldsValue({hack_sets:ce})}}),[ue]);(0,v.useEffect)((function(){var e,t;null!=Y&&null!==(e=Y.hack)&&void 0!==e&&null!==(e=e.sub_discipline_id)&&void 0!==e&&e[1]&&Oe(null==Y||null===(t=Y.hack)||void 0===t||null===(t=t.sub_discipline_id)||void 0===t?void 0:t[1])}),[null==Y||null===(t=Y.hack)||void 0===t?void 0:t.sub_discipline_id]);var Oe=function(){var e=p()(u()().mark((function e(t){var n;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.YY)({sub_discipline_id:t});case 2:n=e.sent,T(n.tag_disciplines);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,$.jsx)(j.Z,{spinning:q,delay:500,children:Y?(0,$.jsxs)(v.Fragment,{children:[(0,$.jsxs)("header",{className:w.Z.header,children:[(0,$.jsxs)("div",{children:[(0,$.jsx)("img",{src:"".concat(W.Z.IMG_SERVER,"/images/").concat(null==X?void 0:X.image_url),alt:"user",width:30}),(0,$.jsx)("span",{children:null==X?void 0:X.name})]}),(0,$.jsxs)("h2",{children:[" ",null==Y?void 0:Y.hack.name," "]}),a?(0,$.jsxs)("a",{className:w.Z.btn_back,onClick:Ge,children:[" ",(0,$.jsx)(I.Z,{}),"退出"]}):null]}),(0,$.jsxs)(_.Z,{form:l,initialValues:Y,layout:"vertical",className:w.Z["oj-form-container"],onValuesChange:function(e){var t;if(null!=e&&null!==(t=e.hack)&&void 0!==t&&t.sub_discipline_id){var n,i,a,o=null==e||null===(n=e.hack)||void 0===n?void 0:n.sub_discipline_id,r=h()(o,2),s=r[0],c=r[1],u=(null==ee||null===(i=ee.find((function(e){return e.id===s})))||void 0===i||null===(i=i.sub_disciplines)||void 0===i||null===(i=i.find((function(e){return e.id===c})))||void 0===i||i.tag_disciplines,g()(g()({},l.getFieldsValue()),{},{hack:g()(g()({},null===(a=l.getFieldsValue())||void 0===a?void 0:a.hack),{},{tag_discipline_ids:[]})}));l.setFieldsValue(u),m(u)}else m(g()({},l.getFieldsValue()))},onFinish:function(e,t){!i.get("exercise")||pe.includes("paperlibrary")?Le(e,t):x.Z.confirm({title:"保存提示",content:"此题目已存在试题库中,是否将修改后的试题覆盖试题库的原题?",okText:"覆盖原题",cancelText:"不覆盖",onOk:function(){return Le(e,t,1)},onCancel:function(){return Le(e,t,0)}})},children:[(0,$.jsx)(R.Z,{leftChild:(0,$.jsx)(le,{onAddTestCases:function(){var e=l.getFieldValue("hack_sets"),t=parseInt(l.getFieldValue("hack").code_compile_score)||0,n=e.length,i=Math.floor((100-t)/n),a=(100-t)%n;e.map((function(t,n){return ue&&(t.score=i,n===e.length-1&&(t.score=i+a)),t.position=n+1,t})),l.setFieldsValue({hack_sets:e}),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_sets:e})}})},form:l,handleAddKnowledgeFinish:function(e){T([].concat(s()(S),[g()({},e)]))},MyGroup:be,formValue:f,knowledgeOptions:S,onChangeLanguage:function(e){K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_codes:g()(g()({},Y.hack_codes),{},{language:e})})}})},onChangeSubDiscipline:function(e){var t=e[1],n=(0,L.y3)(ee,t),i=h()(n,2)[1];l.setFieldsValue({tags:[]}),K({type:oe.SET_INITAL_DATA,payload:{dicts:i,data:g()(g()({},Y),{},{hack:g()(g()({},Y.hack),{},{sub_discipline_id:e}),tags:[]})}})},onRemoveTestCase:function(e){var t=l.getFieldValue("hack_sets"),n=parseInt(l.getFieldValue("hack").code_compile_score)||0,i=(null==t?void 0:t.length)-1,a=Math.floor((100-n)/i),o=(100-n)%i;t.splice(e,1),null==t||t.map((function(e,t){return ue&&(e.score=a,t===i-1&&(e.score=a+o)),e.position=t+1,e})),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_sets:t})}}),l.setFieldsValue({hack_sets:t})},onAddTestCase:function(){var e=l.getFieldValue("hack_sets"),t=parseInt(l.getFieldValue("hack").code_compile_score)||0,n=e.length+1,i=Math.floor((100-t)/n),a=(100-t)%n;e.map((function(e,t){return ue&&(e.score=i),e.position=t+1,e})),e.push({input:"",output:"",position:n,score:ue?i+a:0}),l.setFieldsValue({hack_sets:e}),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_sets:e})}})},dicts:ne,categorys:Ee,callback_url:pe,hack:Y.hack,onChangeScore:function(e){e.target.value||De(E),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack:g()(g()({},Y.hack),{},{test_set_score:e.target.value})})}})},onChangehide:function(e){je(e.target.checked)},onChangeAverage:function(e){var t=e.target.value;t&&De(E),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack:g()(g()({},Y.hack),{},{test_set_average:t})})}})},onChangeFile:function(e){K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack:g()(g()({},Y.hack),{},{is_file:e.target.value})})}})},uploadData:E,setUploadData:N,handleUploadRatio:De,ischecked:ke,isshows:Te,isProgram:Be,addUploadFnc:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n)return function(){K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack:g()(g()({},Y.hack),{},{is_file:!0})})}}),l.setFieldsValue({hack:{is_file:!0}})};var i=null==e?void 0:e.map((function(e){return{input:e.input,output:e.output,score:0,position:1}})),a=null===(t=l.getFieldValue("hack_sets"))||void 0===t||null===(t=t.filter((function(e){return e.input||e.output})))||void 0===t?void 0:t.concat(i),o=parseInt(l.getFieldValue("hack").code_compile_score)||0,r=null==a?void 0:a.length,s=Math.floor((100-o)/r),c=(100-o)%r;null==a||a.map((function(e,t){return ue&&(e.score=s,t===r-1&&(e.score=s+c)),e.position=t+1,e})),K({type:oe.SET_INITAL_DATA,payload:{data:g()(g()({},Y),{},{hack_sets:a,hack:g()(g()({},Y.hack),{},{is_file:!1})})}}),l.setFieldsValue({hack_sets:a,hack:{is_file:!1}})}}),rightChild:Be?(0,$.jsx)(_.Z.Item,{name:"codes",style:{marginBottom:0},children:(0,$.jsx)(H.Z,{})}):(0,$.jsx)(_.Z.Item,{name:["hack_codes","code"],style:{marginBottom:0},children:(0,$.jsx)(F.Z,{language:Y.hack_codes.language})})}),(0,$.jsx)("div",{className:w.Z.footer,children:a?(0,$.jsxs)(v.Fragment,{children:[Be&&(0,$.jsx)(C.ZP,{onClick:Ge,type:"primary",ghost:!0,children:"退出编辑"}),pe||Be?null:(0,$.jsx)(C.ZP,{type:se?"default":"primary",onClick:function(){te(0===se?{title:"提示",content:(0,$.jsxs)(v.Fragment,{children:[" ",(0,$.jsx)("div",{children:"发布后即可应用到自己管理的课堂"})," ",(0,$.jsx)("div",{children:" 是否确认发布?"})," "]}),okText:"确定",cancelText:"取消",onOk:function(){l.submit(),setTimeout(p()(u()().mark((function e(){var t;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,O.j2)(a);case 2:0===(t=e.sent).status?(k.ZP.success("发布成功"),K({type:oe.SET_STATUS,payload:1})):k.ZP.info(t.message);case 4:case"end":return e.stop()}}),e)}))),400)}}:{title:"提示",content:(0,$.jsx)("p",{children:"是否确认撤销发布?"}),okText:"确定",cancelText:"取消",onOk:function(){!function(){Me.apply(this,arguments)}()}})},children:se?"撤销发布":"立即发布"}),(0,$.jsx)(C.ZP,{loading:q,type:"primary",htmlType:"submit",children:"保存"}),(0,$.jsx)(C.ZP,{type:"primary",onClick:function(){return Ie.apply(this,arguments)},children:se?"开始挑战":"模拟挑战"})]}):(0,$.jsxs)(v.Fragment,{children:[(0,$.jsx)(C.ZP,{onClick:Ge,children:"取消"}),(0,$.jsx)(C.ZP,{loading:q,type:"primary",htmlType:"submit",children:"保存"})]})})]})]}):null})}},25937:function(e,t,n){"use strict";n.d(t,{GM:function(){return u},MK:function(){return c},PR:function(){return a},ZS:function(){return p},d1:function(){return o},fu:function(){return r},j2:function(){return d},l_:function(){return l},uE:function(){return f},zQ:function(){return s}});var i=n(82420);function a(){return(0,i.U2)("problems/new.json")}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"question";return(0,i.U2)("disciplines.json",{source:e})}function r(e){return(0,i.U2)("problems/".concat(e,"/edit.json"))}function l(e,t){return(0,i.gz)("problems/".concat(e,".json"),t)}function s(e){return(0,i.v_)("problems.json",e)}function c(e,t){return(0,i.v_)("exercises/".concat(e,"/exercise_questions.json"),t)}function u(e,t){return(0,i.gz)("exercise_questions/".concat(e,".json"),t)}function d(e){return(0,i.v_)("problems/".concat(e,"/publish.json"))}function p(e){return(0,i.v_)("problems/".concat(e,"/cancel_publish.json"))}function f(e){return(0,i.U2)("problems/".concat(e,"/start.json"))}},39878:function(e,t,n){"use strict";n.d(t,{D0:function(){return d},R8:function(){return s},jw:function(){return u},y3:function(){return p}});var i=n(85573),a=n.n(i),o=n(57809),r=(n(59301),n(37712)),l=o.default.Option,s=function(e){return e[e.language=0]="language",e[e.difficult=1]="difficult",e[e.category=2]="category",e[e.openOrNot=3]="openOrNot",e}({}),c=a()(a()(a()(a()({},s.language,[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"},{title:"JavaScript",key:"JavaScript"},{title:"Ruby",key:"Ruby"}]),s.difficult,[{title:"简单",key:1},{title:"中等",key:2},{title:"困难",key:3}]),s.category,[{title:"程序设计",key:1},{title:"算法",key:2}]),s.openOrNot,[{title:"公开",key:1},{title:"私有",key:0}]);function u(e){return c[e].map((function(e){return(0,r.jsxs)(l,{value:e.key,children:[" ",e.title," "]},e.title)}))}function d(e,t){e.map((function(e){var n=e.id,i=e.name,a=e.sub_disciplines,o={value:n,label:i};t.push(o),a&&a.length>0&&(o.children=[],d(a,o.children))}))}function p(e,t){for(var n=[],i=0;i<e.length;i++){var a,o=e[i];if((null===(a=o.sub_disciplines)||void 0===a?void 0:a.length)>0){n[0]=o.id;for(var r=0;r<o.sub_disciplines.length;r++){var l=o.sub_disciplines[r];if(l.id===t)return n[1]=l.id,[n,l.tag_disciplines||l.sub_disciplines||[]]}}}return[n,[]]}},74585:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var i=function(e){return e[e.Single=0]="Single",e[e.Multiple=1]="Multiple",e[e.Judge=2]="Judge",e[e.Fill=3]="Fill",e[e.Subjective=4]="Subjective",e[e.Shixun=5]="Shixun",e[e.Program=6]="Program",e[e.Combine=7]="Combine",e}({})},35035:function(e,t,n){"use strict";n.d(t,{G:function(){return r},t:function(){return o}});var i=n(7062),a=n.n(i);function o(e,t){var n=a().get("__ec");n||(n={}),n[e]=t,a().set("__ec",n)}function r(e,t){var n=a().get("__ec");return n?void 0===n[e]?t:n[e]:t}},15553:function(e,t){"use strict";t.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},98537:function(e,t){"use strict";t.Z={header:"header___HqHSe",checkboxs:"checkboxs___ObBnD",field:"field___w_sM6","oj-form-container":"oj-form-container____odYP","oj-left-panel":"oj-left-panel___emEB2","oj-form-info":"oj-form-info___m00Ag",footer:"footer___O4iSJ",collapse:"collapse___Ltfkj","test-case-name":"test-case-name___miZcb","btn-remove-case":"btn-remove-case___cHap2","icon-tag":"icon-tag___gmyTb",btn_back:"btn_back___tNmX3",testJi:"testJi___L3fHb",upBtn:"upBtn___RGH6X",djs:"djs____TS0n",time:"time___IAdHc"}},40842:function(){},81327:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(59301),a=n(92310),o=n.n(a),r=n(55401),l=n(36355),s=n(33234);const c=i.createContext({latestIndex:0}),u=c.Provider;var d=e=>{let{className:t,index:n,children:a,split:o,style:r}=e;const{latestIndex:l}=i.useContext(c);return null==a?null:i.createElement(i.Fragment,null,i.createElement("div",{className:t,style:r},a),n<l&&o&&i.createElement("span",{className:`${t}-split`},o))},p=n(2856);function f(e){return["small","middle","large"].includes(e)}function h(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}var m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]])}return n};const g=i.forwardRef(((e,t)=>{var n,a;const{getPrefixCls:s,space:c,direction:g}=i.useContext(l.E_),{size:v=(null==c?void 0:c.size)||"small",align:w,className:b,rootClassName:x,children:y,direction:_="horizontal",prefixCls:k,split:j,style:C,wrap:S=!1,classNames:T,styles:A}=e,B=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[E,N]=Array.isArray(v)?v:[v,v],P=f(N),L=f(E),Z=h(N),M=h(E),I=(0,r.Z)(y,{keepEmpty:!0}),G=void 0===w&&"horizontal"===_?"center":w,D=s("space",k),[O,z]=(0,p.Z)(D),R=o()(D,null==c?void 0:c.className,z,`${D}-${_}`,{[`${D}-rtl`]:"rtl"===g,[`${D}-align-${G}`]:G,[`${D}-gap-row-${N}`]:P,[`${D}-gap-col-${E}`]:L},b,x),F=o()(`${D}-item`,null!==(n=null==T?void 0:T.item)&&void 0!==n?n:null===(a=null==c?void 0:c.classNames)||void 0===a?void 0:a.item);let H=0;const V=I.map(((e,t)=>{var n,a;null!=e&&(H=t);const o=e&&e.key||`${F}-${t}`;return i.createElement(d,{className:F,key:o,index:t,split:j,style:null!==(n=null==A?void 0:A.item)&&void 0!==n?n:null===(a=null==c?void 0:c.styles)||void 0===a?void 0:a.item},e)})),U=i.useMemo((()=>({latestIndex:H})),[H]);if(0===I.length)return null;const W={};return S&&(W.flexWrap="wrap"),!L&&M&&(W.columnGap=E),!P&&Z&&(W.rowGap=N),O(i.createElement("div",Object.assign({ref:t,className:R,style:Object.assign(Object.assign(Object.assign({},W),null==c?void 0:c.style),C)},B),i.createElement(u,{value:U},V)))}));const v=g;v.Compact=s.ZP;var w=v},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzk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