You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Shixuns__Detail__Discuss...

1 line
146 KiB

This file contains ambiguous Unicode characters!

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

(self.webpackChunk=self.webpackChunk||[]).push([[22254,4977,79933,66807],{14091: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={},n="5.0",t={},i=null,o=!1,r=!1,a=null,s=!1,l=null,c=null,u=0;u<arguments.length;u++){var d=arguments[u];if(null!==d)switch(_typeof(d)){case"number":n=d.toFixed(1);break;case"string":d.match(new RegExp("^[0-9]\\.[0-9]+$"))?n=d:a=d;break;case"object":void 0!==d.is3D?i=d:t=d;break;case"boolean":o=d,r=!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===t.material_id||r||(o=!0)),null!==a&&void 0===t.id&&(t.id=a);var p="",f=!1,h=null,g=null,m=null,w=!1,v=null,y=null,x=null;void 0!==t.height&&(t.height=Math.round(t.height)),void 0!==t.width&&(t.width=Math.round(t.width));var j=function(e){return parseFloat(e)>4?parseFloat(e):5};function b(){try{return window.self!==window.top}catch(e){return!0}}function S(){return(!t.hasOwnProperty("screenshotGenerator")||!t.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,n){c=e,_(e,n)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,n){var t=parseFloat(e);NaN!==t&&t<5?console.log("The GeoGebra HTML5 codebase version "+t+" is deprecated. Using version latest instead."):(l=e,P(e,n))},e.getHTML5CodebaseVersion=function(){return g},e.getParameters=function(){return t},e.setFontsCSSURL=function(e){x=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function n(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var i,o="auto",r=t.id,a=!1,l=0;l<arguments.length;l++){var c=arguments[l];"string"==typeof c?(c=c.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?o=c:r=arguments[l]:"boolean"==typeof c?a=c:c instanceof HTMLElement&&(i=c)}function u(){if(s){o=O(o);var l=i||document.getElementById(r);if(l)if(e.removeExistingApplet(l,!1),void 0===t.width&&l.clientWidth&&(t.width=l.clientWidth),void 0===t.height&&l.clientHeight&&(t.height=l.clientHeight),t.width&&t.height||"html5"!==o||(delete t.width,delete t.height),h=o,"screenshot"===o)k(l,t);else{var c=!1;t.hasOwnProperty("playButton")&&t.playButton||t.hasOwnProperty("clickToLoad")&&t.clickToLoad?c=!0:t.hasOwnProperty("playButtonAutoDecide")&&t.playButtonAutoDecide&&(c=(!b()||n())&&S()),c?(h="screenshot",D(l,t,a,o)):L(l,t,a)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return i},e.isJavaInstalled=function(){return!1};var M=function(n){var o=function(){t.onError&&t.onError(),z("Error: Fetching material (id "+t.material_id+") failed.",t)},r=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",a="/materials/"+t.material_id+"?scope=basic";C("https://"+r+"/api/proxy.php?path="+encodeURIComponent(a),(function(r){var a=JSON.parse(r),s=a.elements?a.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:a;if(s&&s.url){t.fileName=s.url,N(s.settings||{}),i.is3D=!0;var l="https://www.geogebra.org/images/";e.setPreviewImage(v||s.previewUrl,l+"GeoGebra_loading.png",l+"applet_play.png"),n()}else o()}),o)};function N(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(n){e[n]=!!e[n]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(n){void 0===t[n]&&void 0!==e[n]&&(t[n]=e[n])})),void 0===t.showToolBarHelp&&(t.showToolBarHelp=t.showToolBar)}function C(e,n,t){var i=new XMLHttpRequest;i.open("GET",e),i.onload=function(){n(i.responseText)},i.onerror=t,i.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return h},e.setPreviewImage=function(e,n,t){v=e,y=n,t},e.removeExistingApplet=function(e,n){var i;"string"==typeof e&&(e=document.getElementById(e)),h=null;var o=null;for(i=0;i<e.childNodes.length;i++){var r=e.childNodes[i],a=r.className;"applet_screenshot"===a?n?(r.style.display="block",h="screenshot"):r.style.display="none":"applet_scaler prerender"!==a&&(e.removeChild(r),o=a&&-1!=a.indexOf("appletParameters")?r.id:null,i--)}var s=void 0!==t.id?t.id:o,l=window[s];l&&"function"==typeof l.getBase64&&(l.remove(),window[s]=null)},e.refreshHitPoints=function(){if(j(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var n=e.getAppletObject();return!(!n||"function"!=typeof n.recalculateEnvironments)&&(n.recalculateEnvironments(),!0)},e.startAnimation=function(){var n=e.getAppletObject();return!(!n||"function"!=typeof n.startAnimation)&&(n.startAnimation(),!0)},e.stopAnimation=function(){var n=e.getAppletObject();return!(!n||"function"!=typeof n.stopAnimation)&&(n.stopAnimation(),!0)},e.getAppletObject=function(){var e=void 0!==t.id?t.id:"ggbApplet";return window[e]},e.resize=function(){};var A=function(e){return e&&"false"!==e},L=function(n,t,i){j(g)<=4.2&&(i=!0);var o=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==g||ggbHTML5LoadedCodebaseIsWebSimple&&!w)&&(o=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var r=document.createElement("div");r.classList.add("appletParameters","notranslate");var a=t.width,s=t.height;if(t.disableAutoScale=void 0===t.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():t.disableAutoScale,void 0!==t.width)if(j(g)<=4.4)A(t.showToolBar)&&(t.height-=7),A(t.showAlgebraInput)&&(t.height-=37),t.width<605&&A(t.showToolBar)&&(t.width=605,a=605);else{var u=100;(A(t.showToolBar)||A(t.showMenuBar))&&(t.hasOwnProperty("customToolBar")&&(t.customToolbar=t.customToolBar),u=A(t.showMenuBar)?245:155),a<u&&(t.width=u,a=u)}for(var d in r.style.border="none",r.style.display="inline-block",t)t.hasOwnProperty(d)&&"appletOnLoad"!==d&&r.setAttribute("data-param-"+d,t[d]);x&&r.setAttribute("data-param-fontscssurl",x),e.resize=function(){GGBAppletUtils.responsiveResize(n,t)},window.addEventListener("resize",(function(n){e.resize()}));var f="function"==typeof t.appletOnLoad?t.appletOnLoad:function(){};if(i||void 0===t.width){var h=document.createElement("div");h.className="applet_scaler",h.style.position="relative",h.style.display="block",h.appendChild(r),n.appendChild(h),t.appletOnLoad=function(n){e.resize(),f(n)}}else{t.hasOwnProperty("showSplash")||r.setAttribute("data-param-showSplash","false");var v=n.querySelector(".applet_scaler.prerender"),y=null!==v;if(y)b=v.querySelector(".ggb_preview");else{var b=I(a,s,t.borderColor,!1);(v=document.createElement("div")).className="applet_scaler",v.style.position="relative",v.style.display="block",v.style.width=a+"px",v.style.height=s+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(v,"66%"),j(g)>=5?(t.appletOnLoad=function(e){var t=n.querySelector(".ggb_preview");t&&t.parentNode.removeChild(t),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(v),window.GGBT_wsf_view&&$(window).trigger("resize"),f(e)},y||v.appendChild(b)):r.appendChild(b),v.appendChild(r),y||n.appendChild(v),setTimeout((function(){e.resize()}),1)}function S(e,n){n&&"function"==typeof n.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,n.appletOnLoad):renderGGBElement(e),z("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",n)}function M(e,n){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:n}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){S(e.article,e.params)})),html5AppletsToProcess=null)},j(g)<5&&(e.className+=" geogebraweb")):S(e,n)}if(o){scriptLoadStarted=!0;for(var N=0;N<r.childNodes.length;N++){"TABLE"===r.childNodes[N].tagName&&(r.removeChild(r.childNodes[N]),N--)}if(null!==ggbHTML5LoadedScript){var C=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=C&&C.parentNode.removeChild(C)}var L=document.createElement("script"),k=function(){M(r,t)};L.src=p+m,ggbHTML5LoadedCodebaseIsWebSimple=w,ggbHTML5LoadedCodebaseVersion=g,ggbHTML5LoadedScript=L.src,z("GeoGebra HTML5 codebase loaded: '"+p+"'.",t),c||l&&"5.0"!=l?p.requirejs?__webpack_require__.e(64055).then(function(){var e=[__webpack_require__(64055)];k.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(L.onload=k,n.appendChild(L)):(w?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),k())}else M(r,t);t.height=s,t.width=a},k=function(n,t,i){var o=I(t.width,t.height,t.borderColor,i),r=document.createElement("div");r.style.position="relative",r.style.display="block",r.style.width=t.width+"px",r.style.height=t.height+"px",r.className="applet_screenshot applet_scaler"+(i?" applet_screenshot_play":""),r.appendChild(o);var a=GGBAppletUtils.getScale(t,n,i);i?(n.appendChild(E()),window.GGBT_wsf_view||(n.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(r,"66%"),n.appendChild(r),1===a||isNaN(a)||(GGBAppletUtils.scaleElement(r,a),r.style.width=t.width+"px",r.style.height=t.height+"px",r.parentNode.style.width=t.width*a+"px",r.parentNode.style.height=t.height*a+"px"),e.resize=function(){T(n,o,r,i)},window.addEventListener("resize",(function(n){e.resize()})),e.resize()};function T(e,n,i,o){if(e.contains(n)){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if("fullscreencontent"!==e.id)return;window.GGBT_wsf_view.setCloseBtnPosition(e)}var r=GGBAppletUtils.getScale(t,e,o);null!==i.parentNode&&(isNaN(r)||1===r?(GGBAppletUtils.scaleElement(i,1),i.parentNode.style.width=t.width+"px",i.parentNode.style.height=t.height+"px"):(GGBAppletUtils.scaleElement(i,r),i.parentNode.style.width=t.width*r+"px",i.parentNode.style.height=t.height*r+"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,n){n.appendChild(e)};var D=function(e,n,t,i){k(e,n,!0);for(var o=function(){var t=[];for(a=0;a<e.childNodes.length;a++)t.push(e.childNodes[a]);if(window.GGBT_wsf_view){var o=window.GGBT_wsf_view.renderFullScreen(e,n.id),r=document.getElementById("fullscreencontainer"),s=jQuery(e).find(".fullscreencontent");s.length>0?(o.remove(),s.attr("id","fullscreencontent").show(),jQuery(r).append(s),window.dispatchEvent(new Event("resize"))):L(o,n,!1),window.GGBT_wsf_view.launchFullScreen(r)}else h=i,L(e,n,!1);if(!window.GGBT_wsf_view)for(a=0;a<t.length;a++)e.removeChild(t[a])},r=e.getElementsByClassName("ggb_preview_play"),a=0;a<r.length;a++)r[a].addEventListener("click",o,!1),r[a].addEventListener("ontouchstart",o,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),S()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},E=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var n='.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");}',t=document.createElement("style");t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),document.getElementsByTagName("head")[0].appendChild(t)}return e},I=function(e,n,t,i){var o=document.createElement("div");o.className="ggb_preview",o.style.position="absolute",o.style.zIndex="90",o.style.width=e-2+"px",o.style.height=n-2+"px",o.style.top="0px",o.style.left="0px",o.style.overflow="hidden",o.style.backgroundColor="white";var r="lightgrey";void 0!==t&&(r="none"===t?"transparent":t),o.style.border="1px solid "+r;var a,s,l,c=document.createElement("img");if((c.style.position="relative",c.style.zIndex="1000",c.style.top="-1px",c.style.left="-1px",null!==v&&c.setAttribute("src",v),c.style.opacity=.7,null!==y)&&!i){(a=document.createElement("img")).style.position="absolute",a.style.zIndex="1001",a.style.opacity=1,c.style.opacity=.3,(s=360)>e/4*3&&(s=e/4*3),l=s/5.8,a.setAttribute("src",y),a.setAttribute("width",s),a.setAttribute("height",l);var u=(e-s)/2,d=(n-l)/2;a.style.left=u+"px",a.style.top=d+"px",o.appendChild(a)}return o.appendChild(c),o},O=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},B=["web","webSimple","web3d","tablet","tablet3d","phone"],P=function(e,n){if(g=e,n)_(g,!0);else{var r,a,s=!o;if(s){var l=j(g);!isNaN(l)&&l<4.4&&(s=!1)}r="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var c=g.indexOf("//");for(var u in a=c>0?g:0===c?r+g:"https://www.geogebra.org/apps/5.2.814.0/",B)if(g.slice(-1*B[u].length)===B[u]||g.slice(-1*(B[u].length+1))===B[u]+"/")return void _(a,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!s||i.is3D||i.AV||i.SV||i.CV||i.EV2||i.CP||i.PC||i.DA||i.FI||i.PV||A(t.showToolBar)||A(t.showMenuBar)||A(t.showAlgebraInput)||A(t.enableRightClick)||t.appName&&"classic"!=t.appName?a+="web3d/":a+="webSimple/",_(a,!1)}},_=function(e,n){if(e.requirejs)p=e;else{"/"!==e.slice(-1)&&(e+="/"),p=e,null===n&&(n=-1===e.indexOf("http")),f=n,m="web.nocache.js",w=!1;var t=p.split("/");t.length>1&&(n||"webSimple"!==t[t.length-2]?B.indexOf(t[t.length-2])>=0&&(m=t[t.length-2]+".nocache.js"):(m="webSimple.nocache.js",w=!0)),t=e.split("/"),"test"===(g=t[t.length-3]).substr(0,4)?g=g.substr(4,1)+"."+g.substr(5,1):"war"!==g.substr(0,3)&&"beta"!==g.substr(0,4)||(g="5.0");var i=parseFloat(g);NaN!==i&&i<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+i+" is deprecated. Using version latest instead."),P("5.0",n))}},z=function(e,n){window.console&&window.console.log&&(!n||void 0===n.showLogging||n.showLogging&&"false"!==n.showLogging)&&console.log(e)};function G(){var e=n;null!==l?e=l:parseFloat(e)<5&&(e="5.0"),P(e,!1),null!==c&&_(c,f),s=!0}return void 0!==t.material_id?M(G):G(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function n(e,n){1!=n?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+n+","+n+")",e.style.webkitTransform="scale("+n+","+n+")",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 t(e,n,t,i,o){if(e.isScreenshoGenerator)return 1;var r,a=void 0!==i&&i,s=null!=e.noScaleMargin&&e.noScaleMargin,l=(r=e.autoHeight)&&"false"!==r,c=function(e,n,t,i,o,r){var a=null;if(null!=r&&""!=r)for(var s=e.parentNode;null!=s;){if((" "+s.className+" ").indexOf(" "+r+" ")>-1){a=s;break}s=s.parentNode}var l=0,c=0,u=0,d=0,p=0,f=0,h=0;if(a)l=a.offsetWidth,c=Math.max(i?a.offsetWidth:0,a.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(l=Math.min(window.innerWidth,document.documentElement.clientWidth),c=Math.min(window.innerHeight,document.documentElement.clientHeight),u=l):(l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),e){var g=e.getBoundingClientRect();g.left>0&&g.left<=l&&(void 0===o||!o)&&("rtl"===document.dir?(p=l-g.width-g.left,f=u<=480?10:30):(f=g.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===t||!t)&&n>0&&n+d<l?l=n:l-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==t&&t||(c-=h)),{width:l,height:c}}(n,e.width,t,l,a&&window.GGBT_wsf_view||s,o),u=parseInt(c.width),d=e.width,p=e.height;if(void 0===d){var f=n.querySelector(".appletParameters");f&&(d=f.offsetWidth,p=f.offsetHeight)}var h=u/d,g=a?1:c.height/p;return void 0===t||t||(h=Math.min(1,h),g=Math.min(1,g)),Math.min(h,g)}function i(e,n,i){var o,r=1,a=!1;return e.hasOwnProperty("allowUpscale")&&(a=e.allowUpscale),e.hasOwnProperty("scale")&&(r=parseFloat(e.scale),(isNaN(r)||null===r||0===r)&&(r=1),r>1&&(a=!0)),n&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(a=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?r:(o=t(e,n,a,i,e.scaleContainerClass),!a||e.hasOwnProperty("scale")&&1!==r?Math.min(r,o):o)}function o(e){var n=Math.min(window.innerWidth,document.documentElement.clientWidth),t=Math.min(window.innerHeight,document.documentElement.clientHeight),i=e.getBoundingClientRect(),o=(n-i.width)/2,r=(t-i.height)/2;r<0&&(r=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=o<40?"40px":o+"px",e.style.top=r+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=r<40?"40px":r+"px",e.style.left=o+"px")}return{responsiveResize:function(t,r){var a=t.querySelector(".appletParameters");if(a){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(r.id!==a.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(t)}if(a.parentElement&&/fullscreen/.test(a.parentElement.className))return;var s=i(r,t);e()&&a.setAttribute("data-param-scale",s);for(var l=null,c=0;c<t.childNodes.length;c++)if(void 0!==t.childNodes[c].className&&t.childNodes[c].className.match(/^applet_scaler/)){l=t.childNodes[c];break}if(null!==l&&null!==l.querySelector(".noscale"))return;var u=void 0!==r.id?r.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===l||l.className.match(/fullscreen/)||(l.parentNode.style.transform="",isNaN(s)||1===s?(n(l,1),l.parentNode.style.width=r.width+"px",l.parentNode.style.height=r.height+"px"):(l.parentNode.style.width=r.width*s+"px",l.parentNode.style.height=r.height*s+"px",n(l,s))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&o(t),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(a).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:o,getScale:i,scaleElement:n}}();__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,n){}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 n(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var t=n();if(t)e();else{o.addEventListener&&o.addEventListener(Z,r,!1);var i=setInterval((function(){r()}),$)}function r(){if(!t){if(!n())return;t=!0,e(),o.removeEventListener&&o.removeEventListener(Z,r,!1),i&&clearInterval(i)}}}((function(){var n,t,i,o;n=e,t=u(),i=t.body,(o=t.createElement(_)).language=ab,o.crossOrigin=W,o.src=n,webModule.__errFn&&(o.onerror=function(){webModule.__errFn(L,new Error(bb+n))}),i.appendChild(o),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 n=c[e];return null==n?null:n},r=d,webModule.__errFn=e}function B(){function e(e){var n=e.lastIndexOf(rb);-1==n&&(n=e.length);var t=e.indexOf(sb);-1==t&&(t=e.length);var i=e.lastIndexOf(tb,Math.min(t,n));return i>=O?e.substring(O,i+P):W}var n,t=null!=(n=__gwt_getMetaProperty(wb))?n:W;return t==W&&(t=function(){for(var n=o.getElementsByTagName(_),t=O;t<n.length;++t)if(-1!=n[t].src.indexOf(xb))return e(n[t].src);return W}()),t==W&&(t=function(){var e=o.getElementsByTagName(yb);return e.length>O?e[e.length-P].href:W}()),t==W&&function(){var e=o.location;return e.href==e.protocol+zb+e.host+e.pathname+e.search+e.hash}()&&(t=e(o.location.href)),t=function(n){if(n.match(/^\w+:\/\//));else{var t=o.createElement(ub);t.src=n+vb,n=e(t.src)}return n}(t),t}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,t=O,i=[],o=[];function a(e){var n=o[e](),t=i[e];if(n in t)return n;var a=[];for(var s in t)a[t[s]]=s;throw r&&r(e,a,n),null}if(__gwt_isKnownPropertyValue=function(e,n){return n in i[e]},webModule.__getPropMap=function(){var e={};for(var n in i)i.hasOwnProperty(n)&&(e[n]=a(n));return e},webModule.__computePropValue=a,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var s=(e=Cb).indexOf(Db);-1!=s&&(t=parseInt(e.substring(s+P),$),e=e.substring(O,s))}catch(e){}return webModule.__softPermutationId=t,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var n=s[L].bindings;s[L].bindings=function(){for(var t=n?n():{},i=e[webModule.__softPermutationId],o=O;o<i.length;o++){var r=i[o];t[r[O]]=r[P]}return t}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var n=u(),t=n.body,i=n.createElement(_);i.language=ab,i.text=e,t.appendChild(i),t.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")})()},38844:function(e,n,t){"use strict";t.d(n,{$Y:function(){return U},A0:function(){return Z},EP:function(){return s},F_:function(){return u},G9:function(){return c},GB:function(){return z},GR:function(){return x},GW:function(){return W},Hp:function(){return g},Ir:function(){return o},N$:function(){return G},NZ:function(){return E},Nv:function(){return J},OA:function(){return V},OJ:function(){return B},QF:function(){return $},RS:function(){return N},RY:function(){return q},Rj:function(){return I},SX:function(){return L},Tp:function(){return Y},Ui:function(){return R},V1:function(){return _},Vn:function(){return A},dL:function(){return K},fo:function(){return k},gK:function(){return y},hK:function(){return m},i3:function(){return p},ib:function(){return w},lS:function(){return v},m5:function(){return l},n4:function(){return i},n_:function(){return f},oP:function(){return F},p2:function(){return H},pl:function(){return D},rM:function(){return S},sM:function(){return h},t2:function(){return C},tD:function(){return j},u8:function(){return b},um:function(){return X},vm:function(){return Q},wQ:function(){return d},wj:function(){return P},wt:function(){return T},yS:function(){return M},yi:function(){return r},ym:function(){return O},z2:function(){return a}});var i="FETCH_TASK_START",o="FETCH_TASK_FAILURE",r="FETCH_TASK_SUCCESS",a="UPDATE_TASK_DATA",s="HIDE_EVALUATE_RESULT",l="SHOW_EVALUATE_RESULT",c="UPDATE_TIMESTRAP",u="MOVE_X",d="MOVE_Y",p="TRIGGER_RIGHT_PANEL_MASK ",f="SET_ACTIVE_INDEX",h="GET_TASK_LIST",g="SHOW_TASK_LIST",m="HIDE_TASK_LIST",w="SET_TASK_STAR",v="TRIGGER_ENLARGE_UNITY3D ",y="TRIGGER_TAB_FIXED ",x="GET_DISCUSSES",j="SHOW_DISCUSSES_LOADING",b="TOP_OR_DOWN_DISCUSS",S="PLUS_DISCUSS",M="SET_ACTION_TYPE",N="SHOW_REWARD_DIALOG",C="CANCEL_REWARD_DIALOG",A="SET_REWARD",L="ACTIVE_DISCUSS_INDEX",k="DISABLE_DISCUSS",T="SHOW_ANSWER_LOADING",D="FETCH_ANSWER_INFO",E="HIGH_TIP_MODAL",I="SHOW_TIP_MODAL",O="SELECT_UNLOCK_ANSWER",B="SET_CHOOSE_ANSWERS",P="EVAL_CHOOSE_START",_="EVAL_CHOOSE_END",z="FETCH_REP_CONTENT",G="EDIT_REP_CONTENT",R="SHOW_EVALUATE_LOADING",Z="HIDE_EVALUATE_LOADING",H="SET_EVALUATE_MESSAGE",W="SET_SHOW_DIR",U="SET_EDITOR_THEME",Y="SET_EDITOR_FONTSIZE",F="SET_REPOS",V="HIDE_PICTURE_VIEW",Q="SHOW_PICTURE_VIEW",K="SHOW_NOTICE",J="HIDE_NOTICE",q="SET_VNC_LOADING ",X="ON_TAB_TO_SPACE ",$="ON_AUTO_FORMAT "},39463:function(e,n,t){"use strict";t.d(n,{KQ:function(){return h},KY:function(){return u},OY:function(){return l},S8:function(){return c},U_:function(){return f},_Z:function(){return a},ae:function(){return s},o7:function(){return o},rd:function(){return p},wJ:function(){return r},wg:function(){return d}});var i=t(27786);function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,i.U2)("/discusses.json",{container_type:"Shixun",container_identifier:e,page:n-1})}function r(e,n){return(0,i.v_)("/discusses/".concat(e,"/top_or_down_discuss.json"),{top:n})}function a(e,n){return(0,i.v_)("/discusses/".concat(e,"/disable_or_open_discuss.json"),{is_disable:!!n})}function s(e,n){return(0,i.v_)("/discusses/".concat(e,"/plus.json"),{container_type:"Discuss",type:n?1:0})}function l(e,n){return(0,i.v_)("/discusses/".concat(e,"/hidden.json"),n)}function c(e,n){return(0,i.v_)("/discusses/".concat(e,"/reward_code.json"),n)}function u(e){return(0,i.ZP)("/api/discusses/".concat(e,".json"),{method:"delete"})}function d(e,n){return(0,i.v_)("/discusses/".concat(e,"/reply.json"),{container_type:"Shixun",content:n})}function p(e){return(0,i.v_)("/discusses.json",e)}function f(e){return(0,i.v_)("/discusses/ai_reply.json",e)}function h(e,n){return(0,i.v_)("/discusses/".concat(e,"/turing.json"),n)}},40720:function(e,n,t){"use strict";function i(e){var n=!0;if(e.length>0){for(var t=0;t<e.length;t++)if(0==e[t].compile_success||!e[t].compile_success){n=!1;break}}else n=!1;return n}function o(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=[],i=0;i<e.length;i++){var o=e[i],r=n?"".concat(n,"/").concat(o.name):"".concat(o.name);t.push({title:o.name,type:o.type,isLeaf:"tree"!==o.type,key:r})}return t}function r(e,n,t){for(var i=0;i<e.length;i++){var o=e[i];if(o.key===n){o.children=t;break}o.children&&r(o.children,n,t)}return e}function a(e,n,t){var i;return function(){var o=this,r=arguments,a=function(){i=null,t||e.apply(o,r)},s=t&&!i;clearTimeout(i),i=setTimeout(a,n),s&&e.apply(o,r)}}t.d(n,{Ax:function(){return r},Ds:function(){return a},KI:function(){return s},SI:function(){return o},f1:function(){return i}});var s=t(17985).Z.API_SERVER},58952:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var i=t(7557),o=t.n(i),r=t(41498),a=t.n(r),s=t(79800),l=t.n(s),c=t(59301),u="imageDimensions___a7crR",d="img___Kroat",p="fullWidth___c492T",f=t(92310),h=t.n(f),g=t(71418),m=t(2859),w=t(27786),v=t(26795),y=t(37712),x=function(e){var n=e.data,t=e.className,i=e.fullWidth,r=e.style,s=void 0===r?{}:r,f=e.onClose,x=e.onOk,j=e.showFullTools,b=e.noAssociationId,S=(0,c.useRef)(null),M=(0,c.useRef)(null),N=(0,c.useState)(!1),C=l()(N,2),A=C[0],L=C[1],k=(0,c.useState)("正在加载中"),T=l()(k,2),D=T[0],E=T[1];(0,c.useEffect)((function(){null!=n&&n.visible?document.body.setAttribute("data-custom","y-hidden"):document.body.removeAttribute("data-custom"),null!=n&&n.src&&I()}),[null==n?void 0:n.visible]);var I=function(){var e=a()(o()().mark((function e(){var t;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),E("正在加载中"),e.next=4,(0,v.ZJ)(null==n?void 0:n.src);case 4:t=e.sent,S.current.src="",S.current.src=t,S.current.onload=function(){B()},L(!1),E("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=a()(o()().mark((function e(t){var i;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),E("正在保存中"),e.next=4,(0,w.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:n.title,file:t.dataUrl}});case 4:if(null==(i=e.sent)||!i.id||b){e.next=12;break}return e.next=8,(0,w.ZP)("/api/attachments/".concat(n.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==i?void 0:i.id,settings:JSON.stringify(t.state)}});case 8:0===e.sent.status&&x(),e.next=13;break;case 12:null!=i&&i.id&&x(i);case 13:L(!1),E("");case 15:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),B=function(){M.current=new m.hP(S.current),M.current.addEventListener("render",O),M.current.addEventListener("beforeclose",f),j&&(M.current.availableMarkerTypes=M.current.ALL_MARKER_TYPES,M.current.uiStyleSettings.redoButtonVisible=!0,M.current.uiStyleSettings.notesButtonVisible=!0,M.current.uiStyleSettings.zoomButtonVisible=!0,M.current.uiStyleSettings.zoomOutButtonVisible=!0,M.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=M.current.uiStyleSettings,M.current.show(),null!=n&&n.snapshotData&&M.current.restoreState(n.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 n=document.querySelector(e.name);n&&n.setAttribute("title",e.title)}))}),300)};return(0,y.jsx)(c.Fragment,{children:(null==n?void 0:n.visible)&&(0,y.jsxs)("div",{className:h()(u,t,i?p:""),style:s,children:[(0,y.jsx)(g.Z,{spinning:A,tip:D,style:{position:"absolute"}}),(0,y.jsx)("img",{className:d,ref:S})]})})}},20085:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var i=t(65233),o="ldsRing___mpBZC",r="idsRingWrapper___Of9_n",a=t(37712),s=function(e){var n=e.message,t=e.className,s=e.children,l=e.style,c=void 0===l?{}:l;return(0,a.jsxs)("div",{className:"custom-spinner ".concat(r," ").concat(t),children:[(0,a.jsxs)("div",{className:o,children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]}),n?(0,a.jsx)("p",{style:c,children:n}):null,s,(0,a.jsx)(i.Outlet,{})]})}},8963:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var i=t(79800),o=t.n(i),r=t(59301),a=t(72617),s=t(13879),l=t(37712),c=function(){var e=(0,r.useState)(""),n=o()(e,2),t=n[0],i=n[1],c=(0,r.useState)(0),u=o()(c,2),d=(u[0],u[1]),p=(0,r.useState)(),f=o()(p,2),h=(f[0],f[1]),g=(0,r.useState)(),m=o()(g,2),w=(m[0],m[1]),v=(0,r.useState)(!1),y=o()(v,2),x=(y[0],y[1],(0,r.useRef)(""));function j(e){27==e.keyCode&&x.current&&b()}function b(){document.body.style.overflow="auto",h(void 0),w(void 0),d(0),i("")}(0,r.useEffect)((function(){return a.Z.subscribe("preview-image",(function(e){i(e),console.log(M.current),document.body.style.overflow="hidden"}))}),[]),(0,r.useEffect)((function(){return document.addEventListener("keydown",j),function(){document.removeEventListener("keydown",j)}}),[]),(0,r.useEffect)((function(){x.current=t}),[t]);(0,r.useRef)();var S=(0,r.useRef)(),M=(0,r.useRef)();return(0,l.jsx)(r.Fragment,{children:t?(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"preview-wrp-group",ref:S,children:(0,l.jsx)(s.Z,{className:"image-preview",src:t,style:{display:"none"},preview:{visible:!0,src:t,movable:!1,onVisibleChange:function(e){i("")}},alt:"预览大图"})})}):null})}},33099:function(e,n,t){"use strict";t.d(n,{h:function(){return w}});var i=t(82242),o=t.n(i),r=t(79800),a=t.n(r),s=t(59301),l=t(57809),c=t(78241),u=t(3113),d=t(89780),p=t.n(d),f=(t(51761),t(1851),t(37712)),h=l.default.Option,g={labelCol:{span:4},wrapperCol:{span:20}},m={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 w(e){var n=e.value,t=e.onChange,i=e.mode,r=e.options,l=void 0===r?{}:r,c=(0,s.useRef)(),u=(0,s.useState)(),d=a()(u,2),h=d[0],g=d[1];return(0,s.useEffect)((function(){if(h){var e=function(e){var n=e.getValue();t&&t(n)};return h.on("change",e),function(){h.off("change",e)}}}),[h,t]),(0,s.useEffect)((function(){h&&h.setOption("mode",i)}),[h,i]),(0,s.useEffect)((function(){h&&(n===h.getValue()&&""!==n||setTimeout((function(){h.setValue(n||"")}),300))}),[h,n]),(0,s.useEffect)((function(){if(c.current&&!h){var e=p().fromTextArea(c.current,o()({mode:i,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},l));g(e)}}),[c.current,h]),(0,f.jsx)("div",{className:"my-codemirror-container",children:(0,f.jsx)("textarea",{ref:c})})}n.Z=function(e){var n=e.callback,t=e.onCancel,i=(0,s.useState)("python"),r=a()(i,2),d=r[0],p=r[1];return(0,f.jsxs)(c.Z,o()(o()({},g),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){n(e)},style:{width:500},children:[(0,f.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,f.jsx)(l.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(m[e][1])},children:Object.keys(m).map((function(e){return(0,f.jsx)(h,{value:e,children:m[e][0]},e)}))})}),(0,f.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,f.jsx)(w,{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:t,children:"取消"})]})]}))}},81928:function(e,n,t){"use strict";t.d(n,{Z:function(){return Ae}});var i=t(91232),o=t.n(i),r=t(79800),a=t.n(r),s=t(85573),l=t.n(s),c=t(59301),u=t(89780),d=t.n(u),p=t(76374),f=(t(51761),t(6313),t(25717),t(99498),t(25419),t(67549),t(90277)),h=t(37712),g=function(e){var n=e.value,t=void 0===n?"":n,i=(e.className,e.showTextOnly,e.showLines,e.style,(0,c.useMemo)((function(){return""}),[t]));return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})},m=t(82242),w=t.n(m),v=[{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 y(e){var n=e.onActionCallback,t=e.title,i=e.icon,o=e.actionName,r=e.className,a=void 0===r?"":r,s=e.children;return(0,h.jsxs)("a",{title:t,className:a,onClick:function(){n(o)},children:[(0,h.jsx)("i",{className:"".concat(i)}),s]})}var x=function(e){var n=e.watch,t=e.showNullButton,i=e.showNullProgramButton,o=e.onActionCallback,r=e.fullScreen,a=e.insertTemp,s=e.hidetoolBar,l=e.extraUse,c=[].concat(v,[{title:"".concat(n?"关闭实时预览":"开启实时预览"),icon:"".concat(n?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,h.jsxs)("ul",{className:"markdown-toolbar-container",children:[!s&&c.map((function(e,n){return(0,h.jsx)("li",{children:e.actionName?(0,h.jsx)(y,w()(w()({},e),{},{onActionCallback:o})):(0,h.jsx)("span",{className:"v-line"})},n)})),t?(0,h.jsx)("li",{children:(0,h.jsx)(y,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:o,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)(y,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"+单行填空项"})})}),(0,h.jsx)("li",{children:(0,h.jsx)(y,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"+多行填空项"})})})]}):null,a&&(0,h.jsx)("li",{children:(0,h.jsx)(y,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(a),onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),l&&(0,h.jsx)("li",{children:l}),(0,h.jsx)("li",{className:"btn-full-screen",children:(0,h.jsx)(y,{icon:"".concat(r?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:r?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:o})})]})},j=t(41058),b=t(78241),S=t(98135),M=t(3113),N={labelCol:{span:4},wrapperCol:{span:20}},C=function(e){var n=e.callback,t=e.onCancel;return(0,h.jsxs)(b.Z,w()(w()({},N),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){n(e)},style:{width:500},children:[(0,h.jsx)(b.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,h.jsx)(S.Z,{})}),(0,h.jsx)(b.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,h.jsx)(S.Z,{})}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(M.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(M.ZP,{type:"ghost",onClick:t,children:"取消"})]})]}))},A=t(33099),L=t(8591),k=t(40720),T=b.Z.useForm,D={width:280,marginRight:10},E={labelCol:{span:5},wrapperCol:{span:19}},I=function(e){var n=e.callback,t=e.onCancel,i=T(),o=a()(i,1)[0],r=(0,c.useRef)();function s(e,n){-1!==e.status?o.setFieldsValue({src:"/api/attachments/".concat(e.id),type:n.type}):L.ZP.error(e.message)}return(0,h.jsxs)(b.Z,w()(w()({form:o},E),{},{className:"upload-image-panel",onFinish:function(e){n(e,r.current)},style:{width:470,overflow:"hidden"},children:[(0,h.jsx)(b.Z.Item,{label:"图片地址",required:!0,children:(0,h.jsxs)("div",{className:"flex-container",children:[(0,h.jsx)(b.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,h.jsx)(S.Z,{style:D})}),(0,h.jsx)(O,{onFileChange:function(e){var n=e.target.files[0];r.current=n,B(n,s)}})]})}),(0,h.jsx)(b.Z.Item,{label:"图片描述",name:"alt",children:(0,h.jsx)(S.Z,{style:{width:264}})}),(0,h.jsxs)(b.Z.Item,{style:{textAlign:"right"},children:[(0,h.jsx)(M.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(M.ZP,{type:"default",onClick:t,children:"取消"})]})]}))};function O(e){var n=e.onFileChange;return(0,h.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,h.jsx)("input",{type:"file",onChange:n})]})}function B(e,n){if(!e)throw new String("没有文件");var t=new FormData;t.append("editormd-image-file",e),t.append("file_param_name","editormd-image-file"),t.append("byxhr","true");var i=new window.XMLHttpRequest;i.withCredentials=!0,i.addEventListener("load",(function(t){n(JSON.parse(t.target.responseText),e)}),!1),i.addEventListener("error",(function(e){console.error(e)}),!1),i.open("POST","".concat(k.KI,"/api/attachments.json")),i.send(t)}var P=t(95237),_=t(58952),z=function(e){var n=e.callback,t=e.onCancel,i=document.createElement("canvas"),o=i.getContext("2d");i.width=1e3,i.height=800,o.fillStyle="#ffffff",o.fillRect(0,0,i.width,i.height);var r=i.toDataURL("image/png");return(0,h.jsx)(P.Z,{style:{height:"100vh"},children:(0,h.jsx)(_.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:r,visible:!0,title:String(Date.now())},onOk:function(e){n({src:e.url})},onClose:t})})},G=t(7557),R=t.n(G),Z=t(41498),H=t.n(Z),W=t(37205),U=t.n(W),Y=t(12378);function F(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(F,go.CommandHandler),F.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},F.prototype.alignLeft=function(){var e=this.diagram;e.startTransaction("aligning left");var n=1/0;e.selection.each((function(e){e instanceof go.Link||(n=Math.min(e.position.x,n))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(n,e.position.y))})),e.commitTransaction("aligning left")},F.prototype.alignRight=function(){var e=this.diagram;e.startTransaction("aligning right");var n=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var t=e.actualBounds.x+e.actualBounds.width;n=Math.max(t,n)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(n-e.actualBounds.width,e.position.y))})),e.commitTransaction("aligning right")},F.prototype.alignTop=function(){var e=this.diagram;e.startTransaction("alignTop");var n=1/0;e.selection.each((function(e){e instanceof go.Link||(n=Math.min(e.position.y,n))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.position.x,n))})),e.commitTransaction("alignTop")},F.prototype.alignBottom=function(){var e=this.diagram;e.startTransaction("aligning bottom");var n=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var t=e.actualBounds.y+e.actualBounds.height;n=Math.max(t,n)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,n-e.actualBounds.height))})),e.commitTransaction("aligning bottom")},F.prototype.alignCenterX=function(){var e=this.diagram,n=e.selection.first();if(n){e.startTransaction("aligning Center X");var t=n.actualBounds.x+n.actualBounds.width/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t-e.actualBounds.width/2,e.actualBounds.y))})),e.commitTransaction("aligning Center X")}},F.prototype.alignCenterY=function(){var e=this.diagram,n=e.selection.first();if(n){e.startTransaction("aligning Center Y");var t=n.actualBounds.y+n.actualBounds.height/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,t-e.actualBounds.height/2))})),e.commitTransaction("aligning Center Y")}},F.prototype.alignColumn=function(e){var n=this.diagram;n.startTransaction("align Column"),void 0===e&&(e=0),e=parseFloat(e);var t=new Array;n.selection.each((function(e){e instanceof go.Link||t.push(e)}));for(var i=0;i<t.length-1;i++){var o=t[i],r=o.actualBounds.y+o.actualBounds.height+e;t[i+1].move(new go.Point(o.actualBounds.x,r))}n.commitTransaction("align Column")},F.prototype.alignRow=function(e){void 0===e&&(e=0),e=parseFloat(e);var n=this.diagram;n.startTransaction("align Row");var t=new Array;n.selection.each((function(e){e instanceof go.Link||t.push(e)}));for(var i=0;i<t.length-1;i++){var o=t[i],r=o.actualBounds.x+o.actualBounds.width+e;t[i+1].move(new go.Point(r,o.actualBounds.y))}n.commitTransaction("align Row")},F.prototype.canRotate=function(e){var n=this.diagram;return null!==n&&!n.isReadOnly&&!n.isModelReadOnly&&!(n.selection.count<1)},F.prototype.rotate=function(e){var n;void 0===e&&(e=90),(n=this.diagram).startTransaction("rotate "+e.toString()),(n=this.diagram).selection.each((function(n){n instanceof go.Link||n instanceof go.Group||(n.angle+=e)})),n.commitTransaction("rotate "+e.toString())},F.prototype.pullToFront=function(){var e=this.diagram;e.startTransaction("pullToFront");var n=new go.Map;e.selection.each((function(e){n.set(e.layer,0)})),n.iteratorKeys.each((function(e){var t=0;e.parts.each((function(e){if(!e.isSelected){var n=e.zOrder;isNaN(n)?e.zOrder=0:t=Math.max(t,n)}})),n.set(e,t)})),e.selection.each((function(e){F._assignZOrder(e,n.get(e.layer)+1)})),e.commitTransaction("pullToFront")},F.prototype.pushToBack=function(){var e=this.diagram;e.startTransaction("pushToBack");var n=new go.Map;e.selection.each((function(e){n.set(e.layer,0)})),n.iteratorKeys.each((function(e){var t=0;e.parts.each((function(e){if(!e.isSelected){var n=e.zOrder;isNaN(n)?e.zOrder=0:t=Math.min(t,n)}})),n.set(e,t)})),e.selection.each((function(e){F._assignZOrder(e,n.get(e.layer)-1-F._findGroupDepth(e))})),e.commitTransaction("pushToBack")},F._assignZOrder=function(e,n,t){void 0===t&&(t=e),e.layer===t.layer&&(e.zOrder=n),e instanceof go.Group&&e.memberParts.each((function(e){F._assignZOrder(e,n+1,t)}))},F._findGroupDepth=function(e){if(e instanceof go.Group){var n=0;return e.memberParts.each((function(e){n=Math.max(n,F._findGroupDepth(e))})),n+1}return 0},F.prototype.doKeyDown=function(){var e=this.diagram;if(null!==e){var n=e.lastInput;if("Up"===n.key||"Down"===n.key||"Left"===n.key||"Right"===n.key){var t=this.arrowKeyBehavior;if("none"===t)return;if("select"===t)return void this._arrowKeySelect();if("move"===t)return void this._arrowKeyMove();if("tree"===t)return void this._arrowKeyTree()}go.CommandHandler.prototype.doKeyDown.call(this)}},F.prototype._getAllParts=function(){var e=new Array;return this.diagram.nodes.each((function(n){e.push(n)})),this.diagram.parts.each((function(n){e.push(n)})),e},F.prototype._arrowKeyMove=function(){var e=this.diagram,n=e.lastInput,t=0,i=0;if(n.control||n.meta)t=1,i=1;else if(null!==e.grid){var o=e.grid.gridCellSize;i=o.width,t=o.height}e.startTransaction("arrowKeyMove"),e.selection.each((function(e){"Up"===n.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y-t)):"Down"===n.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y+t)):"Left"===n.key?e.move(new go.Point(e.actualBounds.x-i,e.actualBounds.y)):"Right"===n.key&&e.move(new go.Point(e.actualBounds.x+i,e.actualBounds.y))})),e.commitTransaction("arrowKeyMove")},F.prototype._arrowKeySelect=function(){var e=this.diagram,n=e.lastInput,t=null;"Up"===n.key?t=this._findNearestPartTowards(270):"Down"===n.key?t=this._findNearestPartTowards(90):"Left"===n.key?t=this._findNearestPartTowards(180):"Right"===n.key&&(t=this._findNearestPartTowards(0)),null!==t&&(n.shift?t.isSelected=!0:n.control||n.meta?t.isSelected=!t.isSelected:e.select(t))},F.prototype._findNearestPartTowards=function(e){var n=this.diagram.selection.first();if(null===n)return null;for(var t=n.actualBounds.center,i=this._getAllParts(),o=1/0,r=n,a=0;a<i.length;a++){var s=i[a];if(s!==n&&s.canSelect()){var l=s.actualBounds.center,c=t.directionPoint(l),u=this._angleCloseness(c,e);if(u<=45){var d=t.distanceSquaredPoint(l);(d*=1+Math.sin(u*Math.PI/180))<o&&(o=d,r=s)}}}return r},F.prototype._angleCloseness=function(e,n){return Math.min(Math.abs(n-e),Math.min(Math.abs(n+360-e),Math.abs(n-360-e)))},F.prototype._arrowKeyTree=function(){var e=this.diagram,n=e.selection.first();if(n instanceof go.Node){var t=e.lastInput;if("Right"===t.key)if(n.isTreeLeaf);else if(n.isTreeExpanded){null!==(o=this._sortTreeChildrenByY(n).first())&&e.select(o)}else e.commandHandler.canExpandTree(n)&&e.commandHandler.expandTree(n);else if("Left"===t.key){if(!n.isTreeLeaf&&n.isTreeExpanded)e.commandHandler.canCollapseTree(n)&&e.commandHandler.collapseTree(n);else null!==(r=n.findTreeParentNode())&&e.select(r)}else if("Up"===t.key){if(null!==(r=n.findTreeParentNode()))if((s=(a=this._sortTreeChildrenByY(r)).indexOf(n))>0){for(var i=a.elt(s-1);null!==i&&i.isTreeExpanded&&!i.isTreeLeaf;){i=this._sortTreeChildrenByY(i).last()}null!==i&&e.select(i)}else e.select(r)}else if("Down"===t.key){var o;if(n.isTreeExpanded&&!n.isTreeLeaf)null!==(o=this._sortTreeChildrenByY(n).first())&&e.select(o);else for(;null!==n;){var r,a,s;if(null===(r=n.findTreeParentNode()))break;if((s=(a=this._sortTreeChildrenByY(r)).indexOf(n))<a.length-1){e.select(a.elt(s+1));break}n=r}}var l=e.selection.first();null!==l&&e.scrollToRect(l.actualBounds)}},F.prototype._sortTreeChildrenByY=function(e){var n=(new go.List).addAll(e.findTreeChildrenNodes());return n.sort((function(e,n){var t=e.location,i=n.location;return t.y<i.y?-1:t.y>i.y?1:t.x<i.x?-1:t.x>i.x?1:0})),n},F.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},F.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(F.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(F.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 V=F,Q=(t(92782),t(85160)),K=t(43418),J=t(43604),q=t(27786),X="myPaletteDiv___Xjz2I",$="maxH60___Pd4Re";window.go=Y;var ee=function(e){var n=e.onCancel,t=e.callback,i=(0,c.useRef)(),o=(0,c.useRef)(),r=(0,c.useRef)(),s=(0,c.useRef)(!1),l=(0,c.useRef)(!1),u=(0,c.useState)(0),d=a()(u,2),p=d[0],f=d[1],g=function(){var e=H()(R()().mark((function e(){var n,o;return R()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.current.makeImage(),e.next=3,(0,q.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:n.src}});case 3:o=e.sent,t({src:o.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:l,className:s.current?"".concat($," body-overflow-initial"):"body-overflow-initial",children:(0,h.jsx)(K.Z,{width:1200,icon:null,footer:null,closable:!0,visible:!!p,destroyOnClose:!0,maskClosable:!1,getContainer:l.current,rootClassName:"zIndex-9999",title:(0,h.jsxs)(P.Z,{children:[(0,h.jsx)(J.Z,{flex:1,children:"插入流程图"}),(0,h.jsx)(J.Z,{onClick:function(){s.current=!s.current,f(p+1)},children:(0,h.jsx)("span",{className:"current c-blue mr30",style:{fontWeight:400},children:"展开/收起"})})]}),onCancel:n,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:r})]}),(0,h.jsxs)("div",{style:{flex:1,position:"relative"},children:[(0,h.jsx)(Q.FI,{initDiagram:function(){var e=Y.GraphObject.make,n="#ff3333",t="#3358ff",a="#25ad23",s="#d533ff",l="#7d33ff",c="#ff6233",u="#ffffff",d="#000000",p="#fffcd5",f="#d5ebff",h="#f2dfe0",g="#a5d2fa",m="#cccccc",w="#b3e6b3",v="#fcbbbd";function y(n,t){var i=function(e,t){e.handled=!0,e.diagram.model.commit((function(i){var o=t.part.adornedPart,r=(new Y.Point).setRectSpot(o.actualBounds,n);r.subtract(o.location),r.scale(2,2),r.x+=130*Math.sign(r.x),r.y+=130*Math.sign(r.y),r.add(o.location),r.snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize);var a=i.copyNodeData(o.data);i.setGroupKeyForNodeData(a,i.getGroupKeyForNodeData(o.data)),i.addNodeData(a);var s={from:o.key,to:i.getKeyForNodeData(a)};i.addLinkData(s);var l=e.diagram.findNodeForData(a);l.location=r,e.diagram.select(l),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)}))};return e(Y.Shape,{figure:t,alignment:n,alignmentFocus:n.opposite(),width:n.equals(Y.Spot.Top)||n.equals(Y.Spot.Bottom)?25:18,height:n.equals(Y.Spot.Top)||n.equals(Y.Spot.Bottom)?18:25,fill:"orange",stroke:u,strokeWidth:4,mouseEnter:function(e,n){return n.fill="dodgerblue"},mouseLeave:function(e,n){return n.fill="orange"},isActionable:!0,click:i,contextClick:i})}function x(n){return e(Y.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,n){return n.fill="dodgerblue"},mouseLeave:function(e,n){return n.fill="orange"},click:function(e,n){e.diagram.commandHandler.showContextMenu(n.part.adornedPart)}},n||{})}function j(e,n){return function(t,i){t.handled=!0,t.diagram.model.commit((function(t){t.set(i.part.adornedPart.data,e,n)}))}}function b(n,t){return t||(t="color"),e(Y.Shape,{width:16,height:16,stroke:"lightgray",fill:n,margin:1,background:"transparent",mouseEnter:function(e,n){return n.stroke="dodgerblue"},mouseLeave:function(e,n){return n.stroke="lightgray"},click:j(t,n),contextClick:j(t,n)})}function S(){return[e("ContextMenuButton",e(Y.Panel,"Horizontal",b(u,"fill"),b(p,"fill"),b(f,"fill"),b(h,"fill"))),e("ContextMenuButton",e(Y.Panel,"Horizontal",b(m,"fill"),b(w,"fill"),b(g,"fill"),b(v,"fill")))]}function M(){return[e("ContextMenuButton",e(Y.Panel,"Horizontal",b(d),b(a),b(t),b(n))),e("ContextMenuButton",e(Y.Panel,"Horizontal",b(u),b(s),b(l),b(c)))]}function N(n,t){return t||(t="thickness"),e(Y.Shape,"LineH",{width:16,height:16,strokeWidth:n,margin:1,background:"transparent",mouseEnter:function(e,n){return n.background="dodgerblue"},mouseLeave:function(e,n){return n.background="transparent"},click:j(t,n),contextClick:j(t,n)})}function C(n,t){return t||(t="dash"),e(Y.Shape,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:n,margin:1,background:"transparent",mouseEnter:function(e,n){return n.background="dodgerblue"},mouseLeave:function(e,n){return n.background="transparent"},click:j(t,n),contextClick:j(t,n)})}function A(){return[e("ContextMenuButton",e(Y.Panel,"Horizontal",N(1),N(2),N(3),N(4))),e("ContextMenuButton",e(Y.Panel,"Horizontal",C(null),C([2,4]),C([4,4])))]}function L(n,t){return t||(t="figure"),e(Y.Shape,{width:32,height:32,scale:.5,fill:"lightgray",figure:n,margin:1,background:"transparent",mouseEnter:function(e,n){return n.fill="dodgerblue"},mouseLeave:function(e,n){return n.fill="lightgray"},click:j(t,n),contextClick:j(t,n)})}function k(n){return e(Y.Shape,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(n+4).toString()+" H3"})}function T(n){var t="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return 0===n?t="M0 0 M16 16 M0 8 L16 8":2===n&&(t="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),e(Y.Shape,{geometryString:t,margin:2,background:"transparent",mouseEnter:function(e,n){return n.background="dodgerblue"},mouseLeave:function(e,n){return n.background="transparent"},click:j("dir",n),contextClick:j("dir",n)})}function D(n){var t=function(e,t){e.handled=!0,e.diagram.model.commit((function(e){var i=t.part.adornedPart;e.set(i.data,n?"toSpot":"fromSpot",Y.Spot.stringify(Y.Spot.AllSides)),(n?i.toNode:i.fromNode).invalidateConnectedLinks()}))};return e(Y.Shape,{width:12,height:12,fill:"transparent",mouseEnter:function(e,n){return n.background="dodgerblue"},mouseLeave:function(e,n){return n.background="transparent"},click:t,contextClick:t})}function E(n,t){var i=0,o=Y.Spot.RightSide;n.equals(Y.Spot.Top)?(i=270,o=Y.Spot.TopSide):n.equals(Y.Spot.Left)?(i=180,o=Y.Spot.LeftSide):n.equals(Y.Spot.Bottom)&&(i=90,o=Y.Spot.BottomSide),t||(i-=180);var r=function(e,n){e.handled=!0,e.diagram.model.commit((function(e){var i=n.part.adornedPart;e.set(i.data,t?"toSpot":"fromSpot",Y.Spot.stringify(o)),(t?i.toNode:i.fromNode).invalidateConnectedLinks()}))};return e(Y.Shape,{alignment:n,alignmentFocus:n.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:i,background:"transparent",mouseEnter:function(e,n){return n.background="dodgerblue"},mouseLeave:function(e,n){return n.background="transparent"},click:r,contextClick:r})}return i.current=new Y.Diagram(o.current,{padding:20,grid:e(Y.Panel,"Grid",e(Y.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(Y.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(V),"clickCreatingTool.archetypeNodeData":{text:"未命名",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:function(e){var n=e.subject;n.location=n.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 n=e.subject;e.diagram.toolManager.linkingTool.isForwards?n.toNode.invalidateConnectedLinks():n.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),i.current.nodeTemplate=e(Y.Node,"Auto",{locationSpot:Y.Spot.Center,locationObjectName:"SHAPE",desiredSize:new Y.Size(120,60),minSize:new Y.Size(40,40),resizable:!0,resizeCellSize:new Y.Size(10,10),rotatable:!0},new Y.Binding("location","loc",Y.Point.parse).makeTwoWay(Y.Point.stringify),new Y.Binding("desiredSize","size",Y.Size.parse).makeTwoWay(Y.Size.stringify),e(Y.Shape,{name:"SHAPE",fill:u,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Y.Spot.AllSides,toSpot:Y.Spot.AllSides},new Y.Binding("figure"),new Y.Binding("fill"),new Y.Binding("stroke","borderColor"),new Y.Binding("strokeWidth","thickness"),new Y.Binding("strokeDashArray","dash")),e(Y.Shape,{width:100,height:20,strokeWidth:0,fill:"transparent"}),e(Y.TextBlock,{margin:1,textAlign:"center",overflow:Y.TextBlock.OverflowEllipsis,editable:!0},new Y.Binding("text").makeTwoWay(),new Y.Binding("stroke","color"))),i.current.nodeTemplate.toolTip=e("ToolTip",e(Y.Panel,"Vertical",{maxSize:new Y.Size(200,NaN)},e(Y.TextBlock,{font:"bold 10pt sans-serif",textAlign:"center"},new Y.Binding("text")),e(Y.TextBlock,{font:"10pt sans-serif",textAlign:"center"},new Y.Binding("text","details")))),i.current.nodeTemplate.selectionAdornmentTemplate=e(Y.Adornment,"Spot",e(Y.Placeholder,{padding:10}),y(Y.Spot.Top,"TriangleUp"),y(Y.Spot.Left,"TriangleLeft"),y(Y.Spot.Right,"TriangleRight"),y(Y.Spot.Bottom,"TriangleDown"),x({alignment:new Y.Spot(.75,0)})),i.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(Y.Panel,"Horizontal",L("Rectangle"),L("RoundedRectangle"),L("Ellipse"),L("Diamond"))),e("ContextMenuButton",e(Y.Panel,"Horizontal",L("Parallelogram2"),L("ManualOperation"),L("Procedure"),L("Cylinder1"))),e("ContextMenuButton",e(Y.Panel,"Horizontal",L("Terminator"),L("CreateRequest"),L("Document"),L("TriangleDown"))),S(),M(),A()),i.current.groupTemplate=e(Y.Group,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Y.Spot.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:function(e,n){n.addMembers(n.diagram.selection,!0)||n.diagram.currentTool.doCancel()},avoidable:!1},new Y.Binding("location","loc",Y.Point.parse).makeTwoWay(Y.Point.stringify),e(Y.Panel,"Auto",{name:"BODY"},e(Y.Shape,{parameter1:10,fill:u,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Y.Spot.AllSides,toSpot:Y.Spot.AllSides},new Y.Binding("fill"),new Y.Binding("stroke","color"),new Y.Binding("strokeWidth","thickness"),new Y.Binding("strokeDashArray","dash")),e(Y.Placeholder,{background:"transparent",margin:20})),e(Y.TextBlock,{alignment:Y.Spot.Top,alignmentFocus:Y.Spot.Bottom,font:"bold 12pt sans-serif",editable:!0},new Y.Binding("text"),new Y.Binding("stroke","color"))),i.current.groupTemplate.selectionAdornmentTemplate=e(Y.Adornment,"Spot",e(Y.Panel,"Auto",e(Y.Shape,{fill:null,stroke:"dodgerblue",strokeWidth:3}),e(Y.Placeholder,{margin:1.5})),x({alignment:Y.Spot.TopRight,alignmentFocus:Y.Spot.BottomRight})),i.current.groupTemplate.contextMenu=e("ContextMenu",S(),M(),A()),i.current.linkTemplate=e(Y.Link,{layerName:"Foreground",routing:Y.Link.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Y.Binding("fromSpot","fromSpot",Y.Spot.parse),new Y.Binding("toSpot","toSpot",Y.Spot.parse),new Y.Binding("fromShortLength","dir",(function(e){return e>=1?10:0})),new Y.Binding("toShortLength","dir",(function(e){return e>=1?10:0})),new Y.Binding("points").makeTwoWay(),e(Y.Shape,{strokeWidth:2},new Y.Binding("stroke","color"),new Y.Binding("strokeWidth","thickness"),new Y.Binding("strokeDashArray","dash")),e(Y.Shape,{segmentIndex:0,segmentOffset:new Y.Point(15,0),segmentOrientation:Y.Link.OrientAlong,alignmentFocus:Y.Spot.Right,figure:"circle",width:10,strokeWidth:0},new Y.Binding("fill","color"),new Y.Binding("visible","dir",(function(e){return 1===e}))),e(Y.Shape,{segmentIndex:-1,segmentOffset:new Y.Point(-10,6),segmentOrientation:Y.Link.OrientPlus90,alignmentFocus:Y.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Y.Binding("fill","color"),new Y.Binding("visible","dir",(function(e){return e>=1})),new Y.Binding("width","thickness",(function(e){return 7+3*e})),new Y.Binding("height","thickness",(function(e){return 7+3*e})),new Y.Binding("segmentOffset","thickness",(function(e){return new Y.Point(-15,4+1.5*e)}))),e(Y.Shape,{segmentIndex:0,segmentOffset:new Y.Point(15,-6),segmentOrientation:Y.Link.OrientMinus90,alignmentFocus:Y.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Y.Binding("fill","color"),new Y.Binding("visible","dir",(function(e){return 2===e})),new Y.Binding("width","thickness",(function(e){return 7+3*e})),new Y.Binding("height","thickness",(function(e){return 7+3*e})),new Y.Binding("segmentOffset","thickness",(function(e){return new Y.Point(-15,4+1.5*e)}))),e(Y.TextBlock,{alignmentFocus:new Y.Spot(0,1,-4,0),editable:!0},new Y.Binding("text").makeTwoWay(),new Y.Binding("stroke","color"))),i.current.linkTemplate.selectionAdornmentTemplate=e(Y.Adornment,e(Y.Shape,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:k(2)},new Y.Binding("pathPattern","thickness",k)),x({alignmentFocus:new Y.Spot(0,0,-6,-4)})),i.current.linkTemplate.contextMenu=e("ContextMenu",M(),A(),e("ContextMenuButton",e(Y.Panel,"Horizontal",T(0),T(1),T(2))),e("ContextMenuButton",e(Y.Panel,"Horizontal",e(Y.Panel,"Spot",D(!1),E(Y.Spot.Top,!1),E(Y.Spot.Left,!1),E(Y.Spot.Right,!1),E(Y.Spot.Bottom,!1)),e(Y.Panel,"Spot",{margin:new Y.Margin(0,0,0,2)},D(!0),E(Y.Spot.Top,!0),E(Y.Spot.Left,!0),E(Y.Spot.Right,!0),E(Y.Spot.Bottom,!0))))),new Y.Palette(r.current,{maxSelectionCount:1,linkTemplate:e(Y.Link,{locationSpot:Y.Spot.Center,selectionAdornmentTemplate:e(Y.Adornment,"Link",{locationSpot:Y.Spot.Center},e(Y.Shape,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),e(Y.Shape,{toArrow:"Standard",stroke:null}))},{routing:Y.Link.AvoidsNodes,curve:Y.Link.JumpOver,corner:5,toShortLength:4},new Y.Binding("points"),e(Y.Shape,{isPanelMain:!0,strokeWidth:2}),e(Y.Shape,{toArrow:"Standard",stroke:null})),model:new Y.GraphLinksModel([{text:"未命名",size:"100 100",fill:null,stroke:"#000"}].concat(U()(Y.Shape.getFigureGenerators().toArray().map((function(e){return{text:"未命名",size:"100 100",figure:e.key,fill:"white",stroke:"#666",borderColor:"#000"}})))))}).nodeTemplate=e(Y.Node,"Auto",{locationSpot:Y.Spot.Center},new Y.Binding("location","location",Y.Point.parse).makeTwoWay(Y.Point.stringify),e(Y.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 Y.Binding("stroke").makeTwoWay(),new Y.Binding("fill").makeTwoWay(),new Y.Binding("figure")),e(Y.TextBlock,{margin:new Y.Margin(5,5,3,5),font:"10pt sans-serif",minSize:new Y.Size(16,16),maxSize:new Y.Size(10,NaN),textAlign:"center",editable:!0},new Y.Binding("key").makeTwoWay())),setTimeout((function(){i.current.grid=e(Y.Panel,"Grid",e(Y.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(Y.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:o})]})]}),(0,h.jsx)("div",{className:"tr",children:(0,h.jsx)(M.ZP,{size:"large",onClick:g,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},ne=t(5112),te=t(26220),ie=ne.ZP.Group,oe={margin:"0 8px"},re=function(e){var n=e.callback,t=e.onCancel;return(0,h.jsxs)(b.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){n(e)},children:[(0,h.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,h.jsx)("span",{style:oe,children:"单元格数:"}),(0,h.jsx)("span",{style:oe,children:"行数"}),(0,h.jsx)(b.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,h.jsx)(te.Z,{})}),(0,h.jsx)("span",{style:oe,children:"列数"}),(0,h.jsx)(b.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,h.jsx)(te.Z,{})})]}),(0,h.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,h.jsx)("span",{style:oe,children:"对齐方式:"}),(0,h.jsx)(b.Z.Item,{name:"align",children:(0,h.jsxs)(ie,{children:[(0,h.jsx)(ne.ZP,{value:"default",children:(0,h.jsx)("i",{className:"fa fa-align-justify"})}),(0,h.jsx)(ne.ZP,{value:"left",children:(0,h.jsx)("i",{className:"fa fa-align-left"})}),(0,h.jsx)(ne.ZP,{value:"center",children:(0,h.jsx)("i",{className:"fa fa-align-center"})}),(0,h.jsx)(ne.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)(M.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(M.ZP,{type:"ghost",onClick:t,children:"取消"})]})]})},ae=t(78673),se=t(14091),le=t.n(se),ce=(0,c.forwardRef)((function(e,n){var t=e.use3d,i=e.width,o=e.height,r=e.callback,s=(e.showSaveButton,(0,c.useRef)()),l=(0,c.useRef)(),u=(0,c.useState)(!1),d=a()(u,2),p=d[0],f=d[1],g=(0,c.useRef)({id:s,appName:"graphing",width:i||1e3,height:o||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,c.useEffect)((function(){l.current=new(le())(g.current,!0),window.onload=function(){l.current.inject("applet_container")}}),[]);var m=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return r&&r(e),e};return(0,c.useEffect)((function(){g.current.appName=p?"3D":"graphing",l.current.inject("applet_container")}),[p]),(0,c.useEffect)((function(){f(t)}),[t]),(0,c.useImperativeHandle)(n,(function(){return{getImgData:m}})),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:s}),(0,h.jsxs)(P.Z,{align:"middle",children:[(0,h.jsx)(J.Z,{flex:1,children:(0,h.jsx)(ae.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:p,onChange:function(e){return f(e)}})}),(0,h.jsx)(J.Z,{children:(0,h.jsx)(M.ZP,{size:"large",onClick:m,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),ue=t(74308),de=t(17985),pe="link",fe="upload-image",he="add-flowchart",ge="draw-image",me="code-block",we="add-table",ve="------------",ye={default:ve,left:":".concat(ve),center:":".concat(ve,":"),right:"".concat(ve,":")},xe=t(21129);var je="@▁▁@",be=["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 Se(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var Me=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ne=l()(l()({},Me+"-B","bold"),Me+"-I","italic"),Ce=l()(l()(l()(l()(l()(l()(l()(l()({},pe,"添加链接"),me,"添加代码块"),fe,"添加图片"),ge,"添加画图"),he,"插入流程图"),we,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),Ae=function(e){var n=e.defaultValue,t=void 0===n?"":n,i=e.onChange,r=e.width,s=void 0===r?"100%":r,u=e.height,m=void 0===u?400:u,w=e.miniToolbar,v=void 0!==w&&w,y=e.isFocus,b=void 0!==y&&y,S=e.watch,M=e.insertTemp,N=e.mode,k=void 0===N?"markdown":N,T=e.id,D=void 0===T?"markdown-editor-id":T,E=e.showResizeBar,O=void 0!==E&&E,P=e.noStorage,_=void 0!==P&&P,G=e.showNullButton,R=void 0!==G&&G,Z=e.showNullProgramButton,H=void 0!==Z&&Z,W=e.hidetoolBar,U=void 0!==W&&W,Y=e.fullScreen,F=void 0!==Y&&Y,V=e.onBlur,Q=e.onCMBeforeChange,J=e.onFullScreen,q=e.className,X=void 0===q?"":q,$=e.disablePaste,ne=void 0!==$&&$,te=e.disabled,ie=void 0!==te&&te,oe=e.disabledFill,ae=void 0!==oe&&oe,se=e.placeholder,le=void 0===se?"":se,ve=e.values,Me=void 0===ve?"":ve,Ae=e.extraUse,Le=(0,c.useState)(null),ke=a()(Le,2),Te=ke[0],De=ke[1],Ee=(0,c.useState)(t),Ie=a()(Ee,2),Oe=Ie[0],Be=Ie[1],Pe=(0,c.useState)(S),_e=a()(Pe,2),ze=_e[0],Ge=_e[1],Re=(0,c.useState)(F),Ze=a()(Re,2),He=Ze[0],We=Ze[1],Ue=(0,c.useState)(""),Ye=a()(Ue,2),Fe=Ye[0],Ve=Ye[1],Qe=(0,c.useState)(0),Ke=a()(Qe,2),Je=Ke[0],qe=Ke[1],Xe=(0,c.useState)(m),$e=a()(Xe,2),en=$e[0],nn=$e[1],tn=(0,c.useState)(!1),on=a()(tn,2),rn=(on[0],on[1]),an=(0,c.useState)(0),sn=a()(an,2),ln=sn[0],cn=sn[1],un=(0,c.useState)(0),dn=a()(un,2),pn=dn[0],fn=dn[1],hn=(0,c.useRef)(),gn=(0,c.useRef)(),mn=(0,c.useRef)(),wn=(0,c.useRef)();(0,c.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Be(Me),null==Te||Te.setValue(Me),window.scrollTo(0,e)}),[Me]),(0,c.useEffect)((function(){null==J||J(He)}),[He]),(0,c.useEffect)((function(){if(hn.current){var e=function(e,t){if(!ne){var i=t.clipboardData;if(i){var o=i.types.toString(),r=i.items;if("Files"===o||i.types.indexOf("Files")>-1){if(t.preventDefault(),"stex"==k)return;try{var a,s=r[1];"file"===(null===(a=r[0])||void 0===a?void 0:a.kind)&&(s=r[0]);var l=s.getAsFile(),c=l.name.split(".").pop();B(l,(function(e){var t,i,o;e.id?(null==l||null===(t=l.type)||void 0===t?void 0:t.indexOf("image"))>-1?n.replaceSelection("![,](/api/attachments/".concat(e.id,"?type=").concat(e.content_type,")")):(null==l||null===(i=l.type)||void 0===i?void 0:i.indexOf("video"))>-1?n.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'"></video>')):(null==l||null===(o=l.type)||void 0===o?void 0:o.indexOf("pdf"))>-1?n.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(l.type,'&disposition=inline" target="_blank">').concat(l.name,"</a>")):be.includes(c)?n.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(l.name,"</a>")):n.replaceSelection("[".concat(l.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(t){L.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}t.preventDefault()},n=d().fromTextArea(hn.current,{mode:k,lineNumbers:!v,lineWrapping:!0,value:t,autoCloseTags:!0,autoCloseBrackets:!0});return n.on("keyup",(function(e,t){8===t.keyCode&&(""==e.getValue()?n.setOption("placeholder",le):n.setOption("placeholder",null))})),n.on("keydown",(function(e,n){if(8===n.keyCode){var t=function(e,n){var t=e.getDoc(),i=t.getCursor(),o=t.getLine(i.line),r=o.charAt(i.ch-1),a=o.lastIndexOf("@▁@",i.ch),s=o.lastIndexOf("@▁▁@",i.ch),l=a>s?a:s,c=a>s?3:4;if(-1===je.indexOf(r))return null;if(console.log("change1:",n,e,o,i,l,a,s,r),l>=0&&i.ch-l<5){var u=l+c;return t.replaceRange("",{line:i.line,ch:l},{line:i.line,ch:u}),{line:i.line,ch:u}}return null}(e);t&&n.preventDefault()}})),b&&n.focus(),n.on("paste",e),ie&&n.on("beforeChange",(function(e,n){"paste"!==n.origin&&"+input"!==n.origin||n.cancel()})),De(n),function(){n.off("paste",e)}}}),[]);var vn=(0,c.useCallback)((function(){gn.current}),[en,gn,He]);(0,c.useEffect)((function(){if(Te){var e=function(){var e=new p.Z((function(e){var n,t=o()(e);try{for(t.s();!(n=t.n()).done;){var i=n.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&(vn(),Te.setSize("100%","100%"),Te.refresh())}}catch(e){t.e(e)}finally{t.f()}}));return e.observe(hn.current.parentElement),e}();return function(){var n,t;null!==(n=hn.current)&&void 0!==n&&n.parentElement&&e.unobserve(null===(t=hn.current)||void 0===t?void 0:t.parentElement)}}}),[Te,vn]),(0,c.useEffect)((function(){if(Te){for(var e=[],n=function(){var n=a()(i[t],2),o=n[0],r=n[1],s=l()({},o,(function(){yn(r)}));e.push(s),Te.addKeyMap(s)},t=0,i=Object.entries(Ne);t<i.length;t++)n();return function(){for(var n=0,t=e;n<t.length;n++){var i=t[n];Te.removeKeyMap(i)}}}}),[Te]),(0,c.useEffect)((function(){F!==He&&We(F)}),[F]),(0,xe.Z)((function(){if(!_&&Je>0){var e=(new Date).getTime(),n=window.sessionStorage.getItem(D);e>=Je+1e4&&(!n||n!==Oe)&&(window.sessionStorage.setItem(D,Oe),rn(!0))}}),1e4),(0,c.useEffect)((function(){Ge(S)}),[Te,S]),(0,c.useEffect)((function(){Te&&b&&Te.focus()}),[Te,b]),(0,c.useEffect)((function(){if(ze&&Te){var e=function(e){var n=e.target;if(wn.current){var t=n.scrollTop/n.scrollHeight;wn.current.scrollTop=wn.current.scrollHeight*t}},n=Te.getScrollerElement();return n.addEventListener("scroll",e),function(){n.removeEventListener("scroll",e)}}}),[Te,ze]),(0,c.useEffect)((function(){if(Te&&Q){var e=function(e,n){Q(e,n)};return Te.on("beforeChange",e),function(){Te.off("beforeChange",e)}}}),[Te,Q]),(0,c.useEffect)((function(){if(Te&&V){var e=function(){V(Te.getValue())};return Te.on("blur",e),function(){Te.off("blur",e)}}}),[Te,V]),(0,c.useEffect)((function(){if(Te){var e=function(e,n){var t=e.getValue();Be(t),qe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),i&&(H?i(t,Mn(t)):i(t))};return Te.on("change",e),function(){Te.off("change",e)}}}),[Te,i]),(0,c.useEffect)((function(){if(Te)if(null==t)Te.setValue(""),Be("");else{var e=window.scrollY||window.pageYOffset;t!==Te.getValue()&&(Te.setValue(t),Be(t),Te.setCursor(ie?1:Te.lineCount(),0),window.scrollTo(0,e))}}),[Te,t]);var yn=(0,c.useCallback)((function(e){var n=Te.getCursor(),t=Te.getSelection(),i=t.split("\n");switch(e){case"bold":return Te.replaceSelection("**"+t+"**"),""===t&&Te.setCursor(n.line,n.ch+2),Te.focus();case"italic":return Te.replaceSelection("*"+t+"*"),""===t&&Te.setCursor(n.line,n.ch+1),Te.focus();case"code":return Te.replaceSelection("`"+t+"`"),""===t&&Te.setCursor(n.line,n.ch+1),Te.focus();case"inline-latex":return Ve("inline-latex"),Te.focus();case"latex":return Te.replaceSelection("```latex\n"+t+"\n```"),Te.setCursor(n.line+1,t.length+1),Te.focus();case"line-break":return Te.replaceSelection("<br/>\n"),Te.focus();case"list-ul":return""===t?Te.replaceSelection("- "+t):Te.replaceSelection(i.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Te.focus();case"list-ol":return""===t?Te.replaceSelection("1. "+t):Te.replaceSelection(i.map((function(e,n){return""===e?"":"".concat(n+1,". ").concat(e)})).join("\n")),Te.focus();case"add-null-ch":return""===t&&Te.setCursor(n.line,n.ch),Te.replaceSelection("▁"),Te.focus();case"add-signal":return""===t&&Te.setCursor(n.line,n.ch),Te.replaceSelection("@▁@"),Te.focus();case"add-multiple":return""===t&&Te.setCursor(n.line,n.ch),Te.replaceSelection(je),Te.focus();case"inster-template-1":return""===t&&Te.setCursor(n.line,n.ch),Te.replaceSelection("\n**模板标题**\n模板正文内容可输入文本内容和粘贴图片等操作"),Te.focus();case"eraser":return Te.setValue(""),Te.focus();case"trigger-watch":return Ge(!ze),Te.focus();case"trigger-full-screen":return We(!He),Te.focus();case pe:return void Ve(pe);case me:return void Ve(me);case fe:return void Ve(fe);case ge:return void Ve(ge);case"maths-latex":return void Ve("maths-latex");case he:return void Ve(he);case we:return void Ve(we);default:throw new Error}}),[Te,ze,He]),xn=(0,c.useCallback)((function(e,n){var t,i,o,r,a;switch(Ve(""),Fe){case pe:var s=e.title,l=e.link;return Te.replaceSelection("[".concat(s,"](").concat(l,")")),Te.focus();case me:var c=e.language,u=e.content;return Te.replaceSelection(["```"+c,u,"```"].join("\n")),Te.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);B(new Blob([p],{type:"image/png"}),(function(e){e.id?Te.replaceSelection("![,](/api/attachments/".concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Te.replaceSelection("`$$"+e+"$$`");break;case fe:case ge:case"add-flowchart":var h=e.src,g=e.alt,m=n,w=null==m||null===(t=m.name)||void 0===t||null===(t=t.split("."))||void 0===t||null===(i=t.pop)||void 0===i?void 0:i.call(t);return(null==m||null===(o=m.type)||void 0===o?void 0:o.indexOf("image"))>-1||null==m||!m.type?g?Te.replaceSelection("![ ".concat(g," ]( ").concat(h,' "').concat(g,'" )')):Te.replaceSelection("![,](".concat(h,")")):(null==m||null===(r=m.type)||void 0===r?void 0:r.indexOf("video"))>-1?Te.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER).concat(h,'"></video>')):(null==m||null===(a=m.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?Te.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,"?type=").concat(m.type,'&disposition=inline" target="_blank">').concat(m.name,"</a>")):be.includes(w)?Te.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,'?type=office&disposition=inline" target="_blank">').concat(m.name,"</a>")):Te.replaceSelection("[".concat(m.name,"](").concat(de.Z.API_SERVER).concat(h,")")),Te.focus();case we:for(var v=e.row,y=e.col,x=e.align,j="\n",b=0;b<v;b++){for(var S=[],M=[],N=0;N<y;N++)1===b&&M.push(ye[x]),S.push(" ");1===b&&(j+="| ".concat(M.join(" | ")," |\n")),j+="| ".concat(S.join(1===y?"":" | ")," |\n")}return Te.replaceSelection(j+"\n"),Te.focus();default:throw new Error}}),[Te,Fe]),jn=(0,c.useMemo)((function(){switch(Fe){case pe:return(0,h.jsx)(C,{callback:xn,onCancel:bn});case me:return(0,h.jsx)(A.Z,{callback:xn,onCancel:bn});case fe:return(0,h.jsx)(I,{callback:xn,onCancel:bn});case he:return(0,h.jsx)(ee,{callback:xn,onCancel:bn});case we:return(0,h.jsx)(re,{callback:xn,onCancel:bn});case"maths-latex":return(0,h.jsx)(ce,{showSaveButton:!0,callback:xn});case"inline-latex":return(0,h.jsx)(ue.Z,{showSaveButton:!0,callback:xn});default:return null}}),[Fe]);function bn(){Ve("")}(0,c.useEffect)((function(){if(mn.current){var e=function(e){o=!0,r=e.pageY},n=function(){o=!1},t=function(e){if(o){var n=e.pageY-r;n<0&&(n=0),n>300&&(n=300),nn(m+n+"px")}},i=mn.current,o=!1,r=0;return i.addEventListener("mousedown",e),document.addEventListener("mousemove",t),document.addEventListener("mouseup",n),function(){i.removeEventListener("mousedown",e),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",n)}}}),[Te,mn]),(0,c.useEffect)((function(){nn(m)}),[m]);var Sn={width:Se(s),height:Se(en)},Mn=((0,c.useMemo)((function(){if(Je){var e=new Date(Je),n=e.getHours(),t=e.getMinutes(),i=e.getSeconds();return t=t<10?"0"+t:t,i=i<10?"0"+i:i,"".concat(n=n<10?"0"+n:n,":").concat(t,":").concat(i)}return 0}),[Je]),function(e){var n=[];if(H){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,t,i){n.push({multiLine:!("@▁@"===e)})}))}return n});(0,c.useEffect)((function(){Ce[Fe]&&Fe!==ge&&Fe!==he&&setTimeout((function(){var e=document.getElementsByClassName("markdown-popup-form")[0],n=window.innerWidth/2-e.offsetWidth/2,t=window.innerHeight/2-e.offsetHeight/2;cn(n),fn(t)}),0)}),[Fe]);var Nn=function(e,n,t,i){var o=document.body.clientHeight,r=document.body.clientWidth;return!(e<20&&t>e||e>r-20&&t<e||n<20&&i>n||n>o-20&&i<n)||(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:gn,children:(0,h.jsxs)("div",{className:"markdown-editor-container ".concat(X," ").concat(ze?"on-preview":""," ").concat(v?"mini":""," ").concat(He?"full-screen":""),style:Sn,children:[(0,h.jsx)(x,{insertTemp:M,watch:ze,fullScreen:He,showNullButton:R,showNullProgramButton:H,onActionCallback:yn,hidetoolBar:U,extraUse:Ae}),(0,h.jsxs)("div",{className:"markdown-editor-body",children:[(0,h.jsx)("div",{className:"codemirror-container",children:(0,h.jsx)("textarea",{ref:hn,placeholder:le})}),ze?(0,h.jsxs)("div",{ref:wn,className:"preview-container",children:["stex"===k&&(0,h.jsx)(g,{value:Oe}),"stex"!==k&&(0,h.jsx)(f.Z,{disabledFill:ae,showProgramFill:H,value:Oe})]}):null]})]})}),O?(0,h.jsx)("a",{ref:mn,className:"editor-resize"}):null,Fe===ge&&(0,h.jsx)(z,{callback:xn,onCancel:bn}),Fe===he&&(0,h.jsx)(ee,{callback:xn,onCancel:bn}),(0,h.jsx)(j.Z,{children:Ce[Fe]&&Fe!==ge&&Fe!==he?(0,h.jsx)(K.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ln,top:pn},title:(0,h.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var n=e.clientX-ln,t=e.clientY-pn;document.body.onmousemove=function(e){var i=e.clientX-n,o=e.clientY-t,r=document.getElementsByClassName("markdown-popup-form")[0],a=window.innerWidth-r.offsetWidth,s=window.innerHeight-r.offsetHeight;i=Math.max(0,Math.min(i,a)),o=Math.max(0,Math.min(o,s)),Nn(e.clientX,e.clientY,n,t)&&(cn(i),fn(o))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:Ce[Fe]}),open:!0,onCancel:bn,footer:null,destroyOnClose:!0,width:Fe===he?"1200px":null,height:Fe===he?"80vh":null,className:"markdown-popup-form",children:jn}):null})]})}},41058:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var i=t(82100),o=t.n(i),r=t(29186),a=t.n(r),s=t(80619),l=t.n(s),c=t(47074),u=t.n(c),d=t(59301),p=t(4676),f=function(e){l()(t,e);var n=u()(t);function t(e){var i;o()(this,t),i=n.call(this,e);var r=window.document;return i.node=r.createElement("div"),r.body.appendChild(i.node),i}return a()(t,[{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)}}]),t}(d.Component)},21129:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var i=t(59301);function o(e,n){var t=(0,i.useRef)();(0,i.useEffect)((function(){t.current=e})),(0,i.useEffect)((function(){if(null!==n){var e=setInterval((function(){t.current()}),n);return function(){return clearInterval(e)}}}),[n])}},96858:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return L}});var i=t(79800),o=t.n(i),r=t(39647),a=t.n(r),s=t(59301),l=t(65233),c=t(96238),u=t(66807),d=t(8963),p="bg___GVdDO",f="wrap___ROzHg",h="btn___g5tGP",g=t(7557),m=t.n(g),w=t(82242),v=t.n(w),y=t(41498),x=t.n(y),j=t(43418),b=t(14491),S=t(27786),M=t(37712),N=function(e){var n=e.visible,t=(e.onOK,e.onCancel),i=(0,s.useState)([]),r=o()(i,2),a=r[0],c=r[1],u=(0,s.useState)(!0),d=o()(u,2),p=d[0],f=d[1],h=(0,s.useState)(0),g=o()(h,2),w=g[0],y=g[1],N=(0,s.useState)({page:1,limit:10}),C=o()(N,2),A=C[0],L=C[1],k=(0,l.useParams)();(0,s.useEffect)((function(){n&&E(A)}),[n]);var T=[{title:"姓名",dataIndex:"name",key:"name",align:"left",ellipsis:!0},{title:"学校",dataIndex:"school_name",key:"school_name",align:"left",ellipsis:!0},{title:"禁止时间",dataIndex:"created_at",key:"created_at",align:"left"},{title:"禁止次数",dataIndex:"disable_count",key:"disable_count",align:"left"},{title:"审批操作",dataIndex:"action",key:"action",align:"left",render:function(e,n){return(0,M.jsx)("span",{onClick:function(){return D(n)},className:"c-light-primary current",children:"恢复评论功能"})}}],D=function(){var e=x()(m()().mark((function e(n){var t;return m()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.ZP)("/api/discuss_disable_users/cancel.json",{method:"post",body:{container_id:null==k?void 0:k.id,container_type:"Shixun",user_id:n.id}});case 2:0===e.sent.status&&(t=1===a.length&&1!==A.page?A.page-1:A.page,E(v()(v()({},A),{},{page:t})),L(v()(v()({},A),{},{page:t})));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),E=function(){var e=x()(m()().mark((function e(n){var t;return m()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),e.next=3,(0,S.ZP)("/api/discuss_disable_users.json",{method:"get",params:v()({container_id:null==k?void 0:k.id,container_type:"Shixun"},n)});case 3:null!=(t=e.sent)&&t.data&&(console.log(t.data),c(null==t?void 0:t.data),y((null==t?void 0:t.count)||0)),f(!1);case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,M.jsx)(j.Z,{title:"禁止评论用户列表",open:n,footer:null,centered:!0,onCancel:function(){L({page:1,limit:10}),t()},width:900,children:(0,M.jsx)(b.Z,{dataSource:a,rowKey:function(e){return e.id},columns:T,loading:p,pagination:{pageSize:A.limit,total:w,current:A.page,onChange:function(e,n){var t=v()(v()({},A),{},{page:e,limit:n});L(t),E(t)},showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}})})},C=t(3113),A=["shixunsDetail","globalSetting","loading","user","dispatch"],L=(0,l.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,user:e.user,loading:t}}))((function(e){var n,t,i,r=e.shixunsDetail,l=(e.globalSetting,e.loading,e.user),g=(e.dispatch,a()(e,A),null===(n=l.userInfo)||void 0===n||null===(n=n.shixun)||void 0===n?void 0:n.own),m=(0,s.useState)(!1),w=o()(m,2),v=w[0],y=w[1],x=(0,s.useState)(0),j=o()(x,2),b=j[0],S=j[1];return(0,M.jsxs)("section",{className:p,children:[(0,M.jsxs)("div",{className:f,children:[(0,M.jsxs)("div",{className:h,children:[(0,M.jsx)("div",{className:"font16 c-grey-333 bold",children:"实践项目评论"}),g&&(0,M.jsxs)(C.ZP,{onClick:function(){return y(!0)},type:"link",children:["禁止评论用户列表",(0,M.jsx)("i",{className:"iconfont icon-lujing font14 ml5"})]})]}),(0,M.jsx)(c.Z,{activeIndex:3,shixunIdentifier:null===(t=r.detail)||void 0===t?void 0:t.identifier,identity:null===(i=l.userInfo)||void 0===i?void 0:i.role,user:l.userInfo,isShixunDetail:!0,allowDisableDiscuss:g},b)]}),(0,M.jsx)(u.Z,{}),(0,M.jsx)(d.Z,{}),(0,M.jsx)(N,{visible:v,onCancel:function(){y(!1),S(b+1)}})]})}))},66807:function(e,n,t){"use strict";t.d(n,{Z:function(){return I}});var i=t(79800),o=t.n(i),r=t(39647),a=t.n(r),s=t(59301),l=t(65233),c=t(93948),u=t(6848),d="rightWrap___Y_2WO",p="learnWrap___mca1k",f="learnTopWrap___cn6Tj",h="courseWrap___N3Z6X",g="pathWrap___QSdXs",m="pathImg___VjPqu",w="pathContentItem___sxOSQ",v="pathContentWrap___WttwX",y="pathContentName___evsEv",x="pathContent___fz4ds",j="pathContentCount___Jlv3G",b="recommandTrainingWrap___F1gpg",S="recommandContent___JZYAA",M="recommandLevel___McDUw",N="color888___l_1AP",C="skillWrap___j6j3B",A="skillTopWrap___kIJbE",L="titleImg___I8kT9";Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var k=t(42441),T=t(38629),D=(t(56047),t(37712)),E=["shixunsDetail","user","globalSetting","loading","dispatch"],I=(0,l.connect)((function(e){var n=e.shixunsDetail,t=e.user,i=e.loading;return{shixunsDetail:n,user:t,globalSetting:e.globalSetting,loading:i.models.index}}))((function(e){var n,t,i,r,l,I,O,B,P,_,z,G,R,Z,H,W,U,Y=e.shixunsDetail,F=e.user,V=(e.globalSetting,e.loading,e.dispatch,a()(e,E),(0,s.useState)(!0)),Q=o()(V,2);Q[0],Q[1];console.log("----",Y);var K,J,q=null!==(n=Y.rightData)&&void 0!==n&&n.complete_count?Number(null===(t=Y.rightData)||void 0===t?void 0:t.complete_count)/Number(null===(i=Y.rightData)||void 0===i?void 0:i.challenge_count)*100:0;return Y.rightData?(0,D.jsxs)("section",{className:d,children:[!(null!==(r=Y.detail)&&void 0!==r&&r.is_jupyter)&&(null===(l=Y.detail)||void 0===l||null===(l=l.task_operation)||void 0===l?void 0:l[2])&&(null==F||null===(I=F.userInfo)||void 0===I?void 0:I.login)&&!(null===(O=Y.rightData)||void 0===O||!O.complete_count)&&(null===(B=Y.rightData)||void 0===B?void 0:B.complete_count)>0&&(0,D.jsxs)("div",{className:p,children:[(0,D.jsxs)("div",{className:f,children:[(0,D.jsxs)("span",{children:[(0,D.jsx)("img",{className:L,src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTAgMmMuMDIgMCAuMDMuNzUuMDMyIDEuODM5bC4wMyA4LjE2SDkuMTlsLTMuOTMyIDYuMDA1aC45OEwxMC4wNjIgMTJIMjBjMCA1LjUyMy00LjQ3NyAxMC0xMCAxMFMwIDE3LjUyMyAwIDEyIDQuNDc3IDIgMTAgMlptLS4zNDggMTIuOTM4Yy0uNDYzIDAtLjgzNC4xNDctMS4xMTMuNDQzLS4yNzkuMjk1LS40MTguNjkzLS40MTggMS4xOTMgMCAuNDUzLjEzLjgxOS4zOSAxLjA5Ni4yNjEuMjc3LjYwNi40MTYgMS4wMzYuNDE2LjQ1OCAwIC44MjctLjE0OCAxLjEwNS0uNDQzLjI3OS0uMjk2LjQxOC0uNjkxLjQxOC0xLjE4NiAwLS40ODItLjEyNC0uODU1LS4zNzMtMS4xMjEtLjI0OC0uMjY2LS41OTctLjM5OS0xLjA0NS0uMzk5Wm0tLjAzOS43MWMuMTg1IDAgLjMzMy4wNzQuNDQ0LjIyMS4xMS4xNDcuMTY2LjM1OC4xNjYuNjMxIDAgLjU4My0uMjA5Ljg3NS0uNjI1Ljg3NS0uNDE0IDAtLjYyMS0uMjgxLS42MjEtLjg0NCAwLS41ODguMjEyLS44ODMuNjM2LS44ODNabS0zLjcxNS0zLjc4Yy0uNDY4IDAtLjg0LjE0OC0xLjExNS40NDYtLjI3NS4yOTktLjQxMi42OTUtLjQxMiAxLjE5IDAgLjQ1My4xMy44MTguMzg5IDEuMDk0LjI1OS4yNzYuNjA1LjQxNCAxLjAzNy40MTQuNDYgMCAuODMtLjE0NyAxLjEwNS0uNDQyLjI3Ni0uMjk0LjQxNC0uNjg2LjQxNC0xLjE3NSAwLS40NzctLjEyNC0uODUtLjM3My0xLjEyMi0uMjQ4LS4yNy0uNTk3LS40MDYtMS4wNDUtLjQwNlptLS4wMjMuNzFjLjQwMSAwIC42MDIuMjgzLjYwMi44NDggMCAuNTgzLS4yMS44NzUtLjYzLjg3NS0uNDEgMC0uNjE3LS4yOC0uNjE3LS44NCAwLS41ODkuMjE1LS44ODMuNjQ1LS44ODNaIiBmaWxsPSIjMTg5MEZGIi8+PHBhdGggZD0iTTExIDBjNS45ODIgMCAxMC44NDggNC43NzQgMTAuOTk3IDEwLjcyTDIyIDExaC0zLjY2N2MwLTMuOTc0LTMuMTYtNy4yMS03LjEwNS03LjMzTDExIDMuNjY3VjBaIiBmaWxsPSIjQjZEMEZDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+",alt:""}),"学习进度"]}),(0,D.jsx)("span",{children:(0,D.jsxs)("span",{className:"".concat(N," font14"),children:["已完成 ",(null===(P=Y.rightData)||void 0===P?void 0:P.complete_count)||0," 关 / 共",(null===(_=Y.rightData)||void 0===_?void 0:_.challenge_count)||0," 关"]})})]}),(0,D.jsx)(c.Z,{percent:q,showInfo:!1,status:"active",strokeColor:{"0%":"#29BD8B","100%":"#29BD8B"}})]}),!(null===(z=Y.rightData)||void 0===z||null===(z=z.paths)||void 0===z||!z.length)&&(0,D.jsxs)("div",{className:h,children:[(0,D.jsxs)("p",{className:"mb20 font16",children:[(0,D.jsx)("img",{className:L,src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMS4yNDguMDI2aDIuNDk1Yy44MzMgMCAxLjI0OS40MTUgMS4yNDkgMS4yNDN2MTcuMzljMCAuODI5LS40MTYgMS4yNDMtMS4yNDkgMS4yNDNIMS4yNDhDLjQxNiAxOS45MDIgMCAxOS40ODggMCAxOC42NlYxLjI3QzAgLjQ0LjQxNi4wMjUgMS4yNDguMDI1Wk03LjQ4OC4wMjZoMi40OTZjLjgzMiAwIDEuMjQ4LjQxNSAxLjI0OCAxLjI0M3YxNy4zOWMwIC44MjktLjQxNiAxLjI0My0xLjI0OCAxLjI0M0g3LjQ4OGMtLjgzMiAwLTEuMjQ4LS40MTQtMS4yNDgtMS4yNDJWMS4yN2MwLS44My40MTYtMS4yNDQgMS4yNDgtMS4yNDRaIiBmaWxsPSIjNTA5MUZGIi8+PHBhdGggZD0ibTEzLjQwNC42ODggMi40MTItLjY0NmMuMzItLjA4NS42Ni0uMDQuOTQ3LjEyNC4yODcuMTY1LjQ5Ni40MzcuNTgyLjc1NWw0LjUyMiAxNi44YTEuMjQyIDEuMjQyIDAgMCAxLS44ODMgMS41MmwtMi40MTEuNjQ0YTEuMjQ5IDEuMjQ5IDAgMCAxLTEuNTI4LS44NzlMMTIuNTIyIDIuMjA4YTEuMjM4IDEuMjM4IDAgMCAxIC4xMjQtLjk0M2MuMTY2LS4yODUuNDM5LS40OTQuNzU4LS41Nzl2LjAwMloiIGZpbGw9IiNCNkQwRkMiLz48L2c+PC9zdmc+",alt:""}),"所属课程"]}),(0,D.jsx)("div",{children:null===(G=Y.rightData)||void 0===G?void 0:G.paths.map((function(e,n){return n>2?null:(0,D.jsxs)("div",{className:g,children:[(0,D.jsx)("a",{href:"/paths/".concat(e.identifier),target:"_blank",children:(0,D.jsx)("img",{alt:"实训",src:"".concat(e.image_url),className:m})}),(0,D.jsxs)("div",{className:v,children:[(0,D.jsx)("a",{href:"/paths/".concat(e.identifier),target:"_blank",className:y,children:e.name}),(0,D.jsxs)("p",{className:x,children:[(0,D.jsx)(u.Z,{placement:"bottom",title:"章节",children:(0,D.jsxs)("span",{className:j,children:[(0,D.jsx)("i",{className:"iconfont icon-shixun mr3"}),e.stages_count]})}),(0,D.jsx)(u.Z,{placement:"bottom",title:"学习人数",children:(0,D.jsxs)("span",{className:j,children:[(0,D.jsx)("i",{className:"iconfont icon-chengyuan mr3"}),e.members_count]})})]})]})]},e.id)}))})]}),(0,D.jsx)("div",{}),!(null===(R=Y.rightData)||void 0===R||null===(R=R.recommands)||void 0===R||!R.length)&&F.userInfo.main_site&&(0,D.jsxs)("div",{className:b,children:[(0,D.jsxs)("p",{className:"mb20 font16",children:[(0,D.jsx)("img",{className:L,src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMTUuNTAzIDIxLjg5NmEyLjA2NyAyLjA2NyAwIDAgMS0uODctLjIwMSA0NTEuOTg3IDQ1MS45ODcgMCAwIDEtNC4zNzYtMi4xMWMtMS40NjYuNjktMi45MzEgMS4zODQtNC4zOTYgMi4wOC0uNjc0LjI5OS0xLjMzLjI2LTEuODE2LS4wOTYtLjQ1OC0uMzM1LS42ODUtLjkxMi0uNjI0LTEuNTc5LjE3My0xLjU2LjQ2NS0zLjY5My41NzQtNC40ODVhMTg4LjAyOSAxOD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hLjQ5LjQ5IDAgMCAxIC41MTUuMDhjLjEyNC4xMS4xODMuMjguMTU1LjQ0MS0uMDkuNTI2LS4xODYgMS4wNTItLjI5IDEuNTc0LjE0NS4xOTQuNTM2LjcyMi44MTQgMS4xMS4xMi4xNzIuMTUyLjM2LjA4OC41MThhLjQzNS40MzUgMCAwIDEtLjE4NS4yMWguMDAyWk0yLjg1OSA1LjgzYS4yODcuMjg3IDAgMCAxLS4wOTMtLjA5MSA2Mi4xNyA2Mi4xNyAwIDAgMS0uMzgyLS42MDMgNDkuOTkgNDkuOTkgMCAwIDAtLjctLjA0NWMtLjEwNi0uMDEtLjE4NS0uMDYzLS4yMTgtLjE0NmEuMjc2LjI3NiAwIDAgMSAuMDQtLjI1NWMuMTQtLjE5Ny4zMzQtLjQ2LjQwNy0uNTU3YTI4LjM5NyAyOC4zOTcgMCAwIDEtLjE0OS0uNzg2LjI0My4yNDMgMCAwIDEgLjA3Ni0uMjIzLjI1LjI1IDAgMCAxIC4yNjQtLjAzN2wuNjQuMjI4Yy4xMDgtLjA2OC40MzEtLjI3LjY0NC0uMzk4LjE5LS4xMjguMjc4LS4wNzUuMzE0LS4wMy4wNC4wNDcuMDU5LjEyOC4wNTQuMjVsLS4wMTkuNzY4LjUwNi40NTNhLjI1OC4yNTggMCAwIDEgLjA5NS4yNDkuMjM4LjIzOCAwIDAgMS0uMTQ3LjE3OGMtLjI0NS4wOTItLjQ5LjE4LS43MzYuMjY1LS4wNDcuMTEzLS4xNzEuNDItLjI2NC42NC0uMDQ0LjA5NS0uMTE1LjE1OS0uMTk3LjE2OGEuMjA4LjIwOCAwIDAgMS0uMTM1LS4wMjhaIiBmaWxsPSIjQjZEMEZDIi8+PC9nPjwvc3ZnPg==",alt:""}),(null==Y||null===(Z=Y.detail)||void 0===Z||null===(Z=Z.disciplines)||void 0===Z?void 0:Z.length)>0?"相关推荐":"热门推荐"]}),(0,D.jsx)("div",{children:null===(H=Y.rightData)||void 0===H?void 0:H.recommands.map((function(e,n){return n>2?null:(0,D.jsxs)("div",{className:w,children:[(0,D.jsx)("a",{href:"/shixuns/".concat(e.identifier,"/challenges"),target:"_blank",children:(0,D.jsx)("img",{src:"".concat(e.pic),className:m})}),(0,D.jsxs)("div",{className:v,style:{marginBottom:-4},children:[(0,D.jsx)(u.Z,{placement:"bottom",title:e.name,children:(0,D.jsx)("a",{href:"/shixuns/".concat(e.identifier,"/challenges"),target:"_blank",className:y,children:e.name})}),(0,D.jsxs)("p",{className:"".concat(x," ").concat(S),children:[(0,D.jsxs)("span",{children:[e.stu_num," 人学习"]}),(0,D.jsx)("span",{className:M,children:e.level})]})]})]},n)}))})]}),(null===(W=Y.rightData)||void 0===W||null===(W=W.tags)||void 0===W?void 0:W.length)>0&&(0,D.jsxs)("div",{className:C,children:[(0,D.jsx)("p",{className:"".concat(A," font16 mb20"),children:(0,D.jsxs)("span",{children:["技能标签",(0,D.jsx)("span",{className:"ml5 c-grey-c",children:null===(U=Y.rightData)||void 0===U||null===(U=U.tags)||void 0===U?void 0:U.length})]})}),(0,D.jsx)(k.Z,{option:(J=new Image,J.src=T.yt,{backgroundColor:"#fff",tooltip:{pointFormat:"{series.name}</b>"},series:[{type:"wordCloud",sizeRange:[10,30],rotationRange:[-90,90],rotationStep:45,gridSize:2,shape:"pentagon",maskImage:J,textStyle:{normal:{color:function(){return"rgb("+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+")"}}},left:"center",top:"center",right:null,bottom:null,width:"100%",height:"100%",data:(null==Y||null===(K=Y.rightData)||void 0===K||null===(K=K.tags)||void 0===K?void 0:K.map((function(e,n){return{name:e.tag_name,value:n}})))||[]}]}),style:{height:370},opts:{renderer:"svg"}})]})]}):null}))},11771:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var i=t(7557),o=t.n(i),r=t(41498),a=t.n(r),s=t(79800),l=t.n(s),c=t(59301),u=t(8591),d=t(6848),p=t(71418),f=t(95237),h=t(43604),g=t(53864),m=t(3113),w=t(81928),v=t(27786),y=t(90277),x=t(37712),j=function(e){var n=e.id,t=e.activeDiscussIndex,i=e.onReplyDiscuss,o=e.adminOrOperator,r=(0,c.useState)(""),a=l()(r,2),s=a[0],p=a[1],f=(0,c.useState)(!1),h=l()(f,2),g=h[0],m=h[1];function v(e){p(e)}return(0,c.useEffect)((function(){t!=n&&m(!1)}),[t]),(0,x.jsxs)("div",{className:"discuss-item-editor",style:{display:t===n?"block":"none",width:"100%"},children:[(0,x.jsx)(w.Z,{miniToolbar:!0,startInit:t===n,defaultValue:s,id:n,noStorage:!0,watch:!1,height:155,placeholder:"我要回复",showResizeBar:!0,onChange:v,extraUse:o&&(0,x.jsx)(d.Z,{color:"#fff",open:g,destroyTooltipOnHide:!0,title:b({id:n,isOpen:g,activeDiscussIndex:t,onChange:v,setIsOpen:m}),overlayStyle:{maxWidth:600},children:(0,x.jsx)("a",{title:g?"关闭推荐":"打开推荐",onClick:function(){return m(!g)},children:(0,x.jsx)("i",{className:"iconfont icon-dianzan11"})})})}),(0,x.jsx)("a",{onClick:function(){s?(i(n,s),p("")):u.ZP.info("回复内容不能为空!")},className:"btn-send",children:"发送"})]},n)},b=function(e){var n=(0,c.useState)(!1),t=l()(n,2),i=t[0],r=t[1],s=(0,c.useState)([]),u=l()(s,2),d=u[0],w=u[1],j=(0,c.useState)(1),b=l()(j,2),S=b[0],M=b[1];(0,c.useEffect)((function(){null!=e&&e.isOpen?N():(M(1),w([]))}),[null==e?void 0:e.isOpen]);var N=function(){var n=a()(o()().mark((function n(){var t;return o()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r(!0),n.next=3,(0,v.ZP)("/api/discusses/".concat(null==e?void 0:e.id,"/recommend_answer.json"),{method:"get"});case 3:0==(null==(t=n.sent)?void 0:t.status)&&w(null==t?void 0:t.answer),r(!1);case 6:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return(0,x.jsx)(p.Z,{spinning:i,children:(0,x.jsxs)("div",{style:{color:"#000"},children:[(0,x.jsx)(y.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(null==d?void 0:d[S-1])||""}),(0,x.jsxs)(f.Z,{justify:"end",align:"middle",children:[(0,x.jsx)(h.Z,{children:(0,x.jsx)(g.Z,{simple:!0,current:S,pageSize:1,total:(null==d?void 0:d.length)||0,onChange:function(e){M(e)}})}),(0,x.jsx)(h.Z,{children:(0,x.jsx)(m.ZP,{onClick:a()(o()().mark((function n(){return o()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:null==e||e.onChange(null==d?void 0:d[S-1]),null==e||e.setIsOpen(!1);case 2:case"end":return n.stop()}}),n)}))),children:"填入文本框"})})]})]})})}},96238:function(e,n,t){"use strict";t.d(n,{Z:function(){return W}});var i=t(7557),o=t.n(i),r=t(41498),a=t.n(r),s=t(79800),l=t.n(s),c=t(82242),u=t.n(c),d=t(59301),p=t(20085),f=t(41058),h=t(90921),g=t(43418),m=t(3113),w=t(53864),v=t(26220),y=t(78241),x=t(95237),j=t(43604),b=t(60324),S=t(56511),M=t(65233),N=t(72617),C=t(39463),A=t(38629),L=t(37712),k=(0,M.connect)((function(e){return{pathsList:e.pathsList}}))((function(e){e.pathsList,e.dispatch;var n=y.Z.useForm(),t=(l()(n,1)[0],(0,d.useState)()),i=l()(t,2),r=i[0],s=i[1],c=(0,d.useState)(!0),p=l()(c,2),f=p[0],h=p[1],w=(0,d.useState)(!1),v=l()(w,2),M=v[0],k=v[1],T=(0,d.useState)({}),D=l()(T,2),E=D[0],I=D[1],O=(0,d.useState)({keyword:E,robot:!0,page:1}),B=l()(O,2),P=B[0],_=B[1];(0,d.useEffect)((function(){N.Z.subscribe("ai-replay-show",(function(e){I(e),k(!0)}))}),[]),(0,d.useEffect)((function(){null!=E&&E.id&&z()}),[E]);var z=function(){var e=a()(o()().mark((function e(n){var t;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.next=3,(0,C.U_)(u()(u()({},P),{},{keyword:null==E?void 0:E.content,id:null==E?void 0:E.id}));case 3:t=e.sent,h(!1),null!=t&&t.data&&(P.page++,_(u()({},P)),s(null==t?void 0:t.data));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),G=function(){var e=a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:z();case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),R=(0,L.jsx)("div",{children:(0,L.jsx)("img",{src:A.wC,width:150})});return(0,L.jsx)(L.Fragment,{children:(0,L.jsx)(g.Z,{title:"其他回答",mask:!0,open:M,okText:"换一换",cancelText:"",onOk:G,width:800,height:500,footer:(0,L.jsx)(x.Z,{align:"middle",justify:"center",children:(0,L.jsxs)(j.Z,{className:"tc",children:[(0,L.jsx)(m.ZP,{type:"primary",onClick:z,children:"换一换"}),(0,L.jsx)(b.Z,{content:R,title:"头歌教师交流社区",children:(0,L.jsx)(m.ZP,{type:"dashed",children:"人工服务"})})]})}),onCancel:function(){k(!1)},children:(0,L.jsx)("aside",{style:{minHeight:300},children:(0,L.jsx)(x.Z,{children:(0,L.jsxs)(S.Z,{loading:f,children:[null==r?void 0:r.map((function(e){return(0,L.jsx)(j.Z,{style:{background:"#e9f3f1",padding:"8px 20px",marginBottom:10,borderRadius:20},span:24,children:e.text})})),!(null!=r&&r.length)&&(0,L.jsxs)("div",{style:{width:"100%",textAlign:"center"},children:[(0,L.jsx)("br",{}),(0,L.jsx)("img",{src:A.wC,width:150}),(0,L.jsx)("br",{}),(0,L.jsx)("br",{}),"头歌教师交流社区"]})]})})})})})})),T=t(38844),D=t(17985),E=t(90277),I=t(8591),O=t(6848),B=t(11771),P=(t(8963),t(33287));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var _=t(27786);function z(e){var n=e.data,t=e.index,i=e.adminOrOperator,r=e.parentDiscussIndex,s=e.shixunIdentifier,c=e.user,u=e.onSetRewardData,p=e.onSetActionType,f=e.onHandleSubmitDiscusses,h=(e.onTopOrDownDiscuss,e.handleChildrenPlus,e.anserAuthor,e.onPlus,e.onHandleRepaly),g=(e.userInfomation,n.author),m=n.can_delete,w=n.content,v=n.hidden,y=n.id,x=n.reward,j=n.time,S=n.reply_status,N=n.user_praise,C=n.praise_count,A=(0,d.useState)(!1),k=l()(A,2),T=k[0],D=k[1],O=(0,d.useState)(!1),B=l()(O,2),P=B[0],z=B[1],G=(0,d.useState)(!1),R=l()(G,2),Z=R[0],H=R[1],W=(0,d.useState)(!1),U=l()(W,2),Y=U[0],F=U[1],V=function(){T&&f(y,{reply_status:2})},Q=function(){P&&f(y,{reply_status:3})},K=function(){f(y,{reply_status:1})},J=function(){f(y,{reply_status:4})};var q=i||m||g.user_id===c.user_id||g.login===c.login,X="tasks"===(0,M.useLocation)().pathname.split("/")[1];return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:"second-level-discuss",children:[(0,L.jsx)("div",{className:"discuss-info-body",children:(0,L.jsxs)("div",{className:"discuss-info",children:[(0,L.jsx)("a",{href:"/users/".concat(g.login),target:"_blank",children:g.name}),(0,L.jsx)("span",{className:"grey",children:j}),x?(0,L.jsxs)("a",{className:"c-orange gift",title:"已奖励金币".concat(x),children:[(0,L.jsx)("i",{className:"iconfont icon-gift c-orange "}),(0,L.jsx)("span",{children:x})]}):null]})}),(0,L.jsx)(E.Z,{className:"discuss-content ".concat(t>0?"content-gray":""),value:w})]}),X&&(0,L.jsxs)("div",{className:"btn-group-succes",children:[(0,L.jsx)("div",{className:"btn-group-gratify",children:function(){switch(S){case 0:return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{style:{whiteSpace:"nowrap"},onClick:K,className:"whether-satisfied ".concat(Z?"cursorPoint blue-text-color":""),onMouseEnter:function(){H(!0)},onMouseLeave:function(){H(!1)},children:[(0,L.jsx)("img",{src:Z?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgMi43MzFINS4xNDFWMGgtMS45NkwxLjY3NSAyLjY0M0gwdjYuMThoNy44NjVMMTAgMi43MzJabS05LjQzMS40ODdoLjgzNnY1LjAzSC41Njl2LTUuMDNabTguNjI2LjA4OEw3LjQ2MyA4LjI0OWgtNS40OVYzLjIxOGguMDMxTDMuNTExLjU3NWgxLjA2MnYyLjczaDQuNjIyWiIgZmlsbD0iIzAxNTJEOSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgMi43MzFINS4xNDFWMGgtMS45NkwxLjY3NSAyLjY0M0gwdjYuMThoNy44NjVMMTAgMi43MzJabS05LjQzMS40ODdoLjgzNnY1LjAzSC41Njl2LTUuMDNabTguNjI2LjA4OEw3LjQ2MyA4LjI0OWgtNS40OVYzLjIxOGguMDMxTDMuNTExLjU3NWgxLjA2MnYyLjczaDQuNjIyWiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",className:"whether-img SVGColor"}),"满意"]}),(0,L.jsx)(b.Z,{placement:"bottomLeft",content:(0,L.jsxs)("div",{className:"content",children:[(0,L.jsx)("div",{className:"content-disappoint",children:"抱歉让你失望了,请继续尝试:"}),(0,L.jsxs)("div",{className:"radius-box marg15 height30-line black6c-optcity ".concat(T?"blue-background cursorPoint blue-background-write":"gray-background"),onMouseEnter:function(){D(!0)},onMouseLeave:function(){D(!1)},onClick:V,children:["请",null==g?void 0:g.name.trim(),"老师再尝试回答一次。"]}),(0,L.jsx)("div",{className:"radius-box marg15 height30-line black6c-optcity ".concat(P?"blue-background cursorPoint blue-background-write":"gray-background"),onMouseEnter:function(){z(!0)},onMouseLeave:function(){z(!1)},onClick:Q,children:"可能启用了机器人,请其他老师回答。"})]}),trigger:"click",children:(0,L.jsxs)("div",{style:{whiteSpace:"nowrap"},className:"whether-satisfied ".concat(Y?"cursorPoint blue-text-color":""),onMouseEnter:function(){F(!0)},onMouseLeave:function(){F(!1)},children:[(0,L.jsx)("img",{src:Y?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNy44NjUgMEgwdjYuMThoMS42NzVsMS41MDYgMi42NDRoMS45NlY2LjA5MkgxMEw3Ljg2NSAwWk0uNTcuNTc1aC44MzZ2NS4wM0guNTY5Vi41NzZabTQuMDAzIDQuOTQzdjIuNzNIMy41MUwyLjAwNCA1LjYwN2gtLjAzVi41NzZoNS40ODlsMS43MzIgNC45NDJINC41NzJaIiBmaWxsPSIjMDE1MkQ5IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNy44NjUgMEgwdjYuMThoMS42NzVsMS41MDYgMi42NDRoMS45NlY2LjA5MkgxMEw3Ljg2NSAwWk0uNTcuNTc1aC44MzZ2NS4wM0guNTY5Vi41NzZabTQuMDAzIDQuOTQzdjIuNzNIMy41MUwyLjAwNCA1LjYwN2gtLjAzVi41NzZoNS40ODlsMS43MzIgNC45NDJINC41NzJaIiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",className:"whether-img SVGColor"}),"不满意"]})})]});case 1:return(0,L.jsx)("div",{style:{whiteSpace:"nowrap"},className:"radius-box cursorPoint height30 ".concat(t>0?"gray-background":"blue-background"),onClick:J,children:"我很满意"});case 2:return(0,L.jsx)("div",{style:{whiteSpace:"nowrap"},className:"radius-box height30 ".concat(t>0?"gray-background":"blue-background"),children:"不满意 等待老师再次回答"});case 3:return(0,L.jsx)("div",{style:{whiteSpace:"nowrap"},className:"radius-box height30 ".concat(t>0?"gray-background":"blue-background"),children:"不满意 等待其他老师再次回答"});case 4:return(0,L.jsx)("div",{style:{whiteSpace:"nowrap"},className:"radius-box height30 ".concat(t>0?"gray-background":"blue-background"),children:"我很满意"});default:return(0,L.jsx)(L.Fragment,{})}}()}),(0,L.jsx)("div",{className:"btn-group-other",children:(0,L.jsx)("div",{className:"discuss-info-body",children:(0,L.jsxs)("div",{className:"btn-group",children:[i&&(0,L.jsx)("a",{onClick:a()(o()().mark((function e(){var t;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.ZP)("/api/discusses/".concat(n.id,"/update_faq_data.json"),{method:"get"});case 2:0==(null==(t=e.sent)?void 0:t.status)&&I.ZP.success("添加成功");case 4:case"end":return e.stop()}}),e)}))),children:"加入常见问题库"}),1===c.identity?(0,L.jsx)("a",{onClick:function(){u({id:y,index:t,user_id:g.user_id,parentDiscussIndex:r})},title:"给TA奖励金币",children:(0,L.jsx)("i",{className:"iconfont icon-jiangli"})}):null,i?(0,L.jsx)("a",{onClick:function(){p({id:y,index:t,params:{hidden:v?"0":"1",container_identifier:s},type:"hidden-discuss",parentDiscussIndex:r,message:v?"确定要取消隐藏该条回复吗":"确定要隐藏该条回复吗"})},title:v?"取消隐藏":"隐藏评论",children:(0,L.jsx)("i",{className:v?"iconfont icon-yincangbiyan":"fa fa-eye"})}):null,q?(0,L.jsx)("a",{onClick:function(){p({id:y,index:t,type:"delete-discuss",parentDiscussIndex:r,message:"确定要删除该条回复吗"})},title:"删除",children:(0,L.jsx)("i",{className:"iconfont icon-shanchu"})}):null,(0,L.jsxs)("a",{onClick:function(){h(y,!N,r,t)},className:N?"c-orange":"",children:[(0,L.jsx)("i",{className:N?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),(0,L.jsx)("span",{children:C||""})]})]})})})]})]})}var G=function(e){var n=e.data,t=e.index,i=e.shixunIdentifier,o=e.adminOrOperator,r=e.identity,a=e.onTopOrDownDiscuss,s=e.onPlusDiscuss,c=e.onDisableDiscuss,u=e.onSetActionType,p=e.onSetRewardData,f=e.user,h=e.activeDiscussIndex,w=e.onReplyDiscuss,v=e.onSetActiveDiscussIndex,y=e.allowDisableDiscuss,x=e.onHandleSubmitDiscusses,j=e.onHandleRepaly,b=e.userInfomation,S=n.content,M=n.children,C=n.game_url,A=n.hidden,k=n.id,T=n.position,I=n.praise_count,_=n.reward,G=n.sticky,R=n.time,Z=n.user_praise,H=n.game_passed,W=n.ai_reply_text,U=n.ai_reply_flag,Y=n.author,F=n.disable_discuss_status,V=(n.reply_status,(0,d.useState)(!1)),Q=l()(V,2),K=Q[0],J=Q[1];function q(){c(k,0===F?2:0,t)}(0,d.useEffect)((function(){K&&setTimeout((function(){return J(!1)}),800)}),[K]);var X=function(e){var n=e.target,t=n.nodeName,i=n.src;"IMG"===t&&(N.Z.publish("preview-image",i),console.log("src:",i))};return(0,L.jsxs)("div",{className:"discuss-item-container",children:[(0,L.jsx)("a",{href:"/users/".concat(Y.login),target:"_blank",children:(0,L.jsx)("img",{alt:"用户头像",height:"50",src:"".concat(D.Z.IMG_SERVER,"/images/").concat(Y.image_url),width:"50"})}),(0,L.jsxs)("section",{children:[(0,L.jsxs)("div",{className:"discuss-info",children:[(0,L.jsx)("a",{href:"/users/".concat(Y.login),target:"_blank",children:Y.name}),(0,L.jsx)("span",{className:"grey",children:R}),T?(0,L.jsxs)("span",{className:"c-green",children:[" [第",T,"关] "]}):null,C?(0,L.jsx)("a",{href:C,target:"_blank",className:"view-code",title:"点击查看TA的代码页面",children:"查看"}):null,y&&(0,L.jsxs)(L.Fragment,{children:[0===F&&(0,L.jsx)(O.Z,{title:"禁止该用户在此项目的评论功能",children:(0,L.jsx)("span",{onClick:q,className:"c-red current",children:"禁止评论功能"})}),2===F&&(0,L.jsx)(O.Z,{title:"恢复该用户在此实践项目的评论功能",children:(0,L.jsx)("span",{onClick:q,className:"c-light-primary current",children:"恢复评论功能"})}),1===F&&(0,L.jsx)(O.Z,{title:"该用户已被系统管理员禁言",children:(0,L.jsx)("span",{className:"c-red",children:"被管理员禁止评论"})})]}),G?(0,L.jsx)("span",{className:"top",children:"置顶"}):null,_?(0,L.jsxs)("a",{className:"c-orange gift",title:"已奖励金币".concat(_),children:[(0,L.jsx)("i",{className:"iconfont icon-gift c-orange "}),(0,L.jsx)("span",{children:_})]}):null,r<=5?(0,L.jsx)("span",{style:{flex:"1",textAlign:"right",color:1===H?"#29bd8b":""},children:1===H?"已通关":"未通关"}):null]}),(0,L.jsx)("div",{onClick:X,children:(0,L.jsx)(E.Z,{className:"discuss-content",value:S})}),U&&(0,L.jsxs)("div",{style:{padding:10,borderRadius:4,background:"#f4f4f4"},children:[(0,L.jsx)("br",{}),(0,L.jsx)("div",{style:{padding:"6px 0"},children:W}),(0,L.jsxs)(m.ZP,{style:{background:"#d1e5f9",borderRadius:25,border:"none",display:"inline-flex",justifyItems:"center",alignItems:"center"},onClick:function(){return J(!0)},className:"mr10 mr5 relative c-blue",children:[(0,L.jsxs)("span",{className:K?"plus-one-animate":"hide",style:{position:"absolute"},children:[" ","+1"]}),(0,L.jsx)("span",{className:"c-blue icon-duiwoyouyong mr5"}),(0,L.jsx)("span",{className:"c-blue",children:"对我有用"})]}),(0,L.jsx)("span",{className:"c-orange current",onClick:function(){N.Z.publish("ai-replay-show",{content:S,id:k})},children:"其他回答"})]}),M&&M.length>0?(0,L.jsx)("div",{className:"reply-discuss-containerActive",onClick:X,children:M.map((function(e,n){return(0,L.jsx)(z,{data:e,index:n,userInfomation:b,onTopOrDownDiscuss:a,shixunIdentifier:i,onHandleSubmitDiscusses:x,adminOrOperator:o,user:f,onSetRewardData:p,onSetActionType:u,parentDiscussIndex:t,anserAuthor:Y,onHandleRepaly:j},e.id)}))}):null,(0,L.jsx)("div",{className:"btn-group",children:(0,L.jsxs)("div",{className:"btn-group-other",children:[1===f.identity?(0,L.jsx)("a",{onClick:function(){p({id:k,index:t,user_id:Y.user_id})},title:"给TA奖励金币",children:(0,L.jsx)("i",{className:"iconfont icon-jiangli"})}):null,o?(0,L.jsx)("a",{onClick:function(){u({id:k,index:t,params:{hidden:A?"0":"1",container_identifier:i},type:"hidden-discuss",message:A?"确定要取消隐藏该条回复吗":"确定要隐藏该条回复吗"})},title:A?"取消隐藏":"隐藏评论",children:(0,L.jsx)("i",{className:A?"iconfont icon-yincangbiyan":"fa fa-eye"})}):null,r<=5?(0,L.jsx)("a",{onClick:function(){a(k,!G,t)},className:G?"btn-top":"btn-down",title:G?"取消置顶":"置顶",children:(0,L.jsx)("i",{className:"iconfont icon-zhiding1 "})}):null,!o||M&&0!=M.length?null:(0,L.jsx)("a",{onClick:function(){u({id:k,index:t,type:"delete-discuss",message:"确定要删除该条回复吗"})},title:"删除",children:(0,L.jsx)("i",{className:"iconfont icon-shanchu"})}),(0,L.jsx)("a",{onClick:function(){var e;null!==(e=(0,P.eY)())&&void 0!==e&&e.authentication?(console.log(k,"idi---------------------------"),v(k)):g.Z.confirm({title:"提示",className:"custom-modal-divider ",icon:null,content:"需要通过实名验证后,才能进行评论操作",okText:"前往实名验证",cancelText:"取消",onOk:function(){window.open("/account/certification")}})},title:"回复",children:(0,L.jsx)("i",{className:"iconfont icon-huifu1"})}),(0,L.jsxs)("a",{onClick:function(){s(k,!Z,t)},className:Z?"c-orange":"",children:[(0,L.jsx)("i",{className:Z?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),(0,L.jsx)("span",{children:I||""})]})]})}),(0,L.jsx)(B.Z,{id:k,activeDiscussIndex:h,onReplyDiscuss:w,adminOrOperator:o})]})]},k)},R=t(26795),Z={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function H(e,n){switch(n.type){case T.tD:return u()(u()({},e),{},{loading:!0});case T.RS:return u()(u()({},e),{},{showRewardDialog:!0});case T.t2:return u()(u()({},e),{},{showRewardDialog:!1});case T.GR:case T.u8:case T.rM:case T.fo:case T.yS:case T.Vn:case T.SX:return u()(u()({},e),n.payload);default:throw new Error}}var W=function(e){var n=e.shixunIdentifier,t=e.identity,i=e.activeIndex,r=e.user,s=e.allowDisableDiscuss,c=e.userInfo,y=(e.isShixunDetail,e.taskData),x=e.chatgpt,j=e.to_user_id,b=e.challengeId,S=(0,d.useReducer)(H,Z),M=l()(S,2),A=M[0],D=M[1],E=(0,d.useState)(!0),I=l()(E,2),O=I[0],B=I[1],P=(0,d.useState)(null),_=l()(P,2),z=_[0],W=_[1],U=A.page,Y=A.loading,F=A.data,V=A.actionType,Q=A.showRewardDialog,K=A.activeDiscussIndex,J=(0,d.useRef)(),q=(0,d.useRef)(),X=(0,d.useRef)();function $(e,n){return ee.apply(this,arguments)}function ee(){return(ee=a()(o()().mark((function e(t,i){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Y){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,D({type:T.tD}),e.next=6,(0,C.o7)(n,t);case 6:r=e.sent,console.log("activeDiscussIndex",K),D({type:T.GR,payload:{activeDiscussIndex:i?K:null,page:t,data:r,loading:!1}}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[2,11]])})))).apply(this,arguments)}function ne(e){$(e)}function te(e,n,t){return ie.apply(this,arguments)}function ie(){return(ie=a()(o()().mark((function e(n,t,i){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.ae)(n,t);case 3:r=e.sent,xe[i].user_praise=t,xe[i].praise_count=r.praise_count,D({type:T.rM,payload:{data:u()(u()({},F),{},{comments:xe})}}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function oe(e,n,t,i){return re.apply(this,arguments)}function re(){return(re=a()(o()().mark((function e(n,t,i,r){var a;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.ae)(n,t);case 3:a=e.sent,xe[i].children[r].user_praise=t,xe[i].children[r].praise_count=a.praise_count,D({type:T.rM,payload:{data:u()(u()({},F),{},{comments:xe})}}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function ae(e,n,t){return se.apply(this,arguments)}function se(){return(se=a()(o()().mark((function e(n,t,i){var r,a;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C._Z)(n,t);case 3:if(0===e.sent.status){e.next=6;break}return e.abrupt("return");case 6:r=xe[i].author.user_id,a=xe.map((function(e){return e.author.user_id===r?u()(u()({},e),{},{disable_discuss_status:t}):e})),D({type:T.fo,payload:{data:u()(u()({},F),{},{comments:a})}}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function le(e,n,t){return ce.apply(this,arguments)}function ce(){return(ce=a()(o()().mark((function e(n,t,i){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.wJ)(n,t);case 3:xe[i].sticky=t,D({type:T.u8,payload:{data:u()(u()({},F),{},{comments:xe})}}),$(A.page),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))).apply(this,arguments)}function ue(){return(ue=a()(o()().mark((function e(){var n,t,i,r,a,s,l,c;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=V.id,t=V.params,i=V.type,r=V.index,a=V.parentDiscussIndex,"hidden-discuss"!==i){e.next=6;break}return e.next=4,(0,C.OY)(n,t);case 4:a?xe[a].children[r].hidden=1==t.hidden:xe[r].hidden=1==t.hidden,D({type:T.yS,payload:{actionType:null,data:u()(u()({},F),{},{comments:xe})}});case 6:if("delete-discuss"!==i){e.next=31;break}return e.next=9,(0,C.KY)(n);case 9:if(!a&&0!==a){e.next=22;break}s=xe[a].children,l=s.length-1;case 12:if(!(l>=0)){e.next=19;break}if(s[l].id!==n){e.next=16;break}return s.splice(l,1),e.abrupt("break",19);case 16:l--,e.next=12;break;case 19:xe[a].children=s,e.next=30;break;case 22:c=xe.length-1;case 23:if(!(c>=0)){e.next=30;break}if(xe[c].id!==n){e.next=27;break}return xe.splice(c,1),e.abrupt("break",30);case 27:c--,e.next=23;break;case 30:D({type:T.yS,payload:{actionType:null,data:u()(u()({},F),{},{comments:xe})}});case 31:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(e){D({type:T.yS,payload:{actionType:e}})}function pe(){return(pe=a()(o()().mark((function e(){var n,t,i,r,a,s,l;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=J.current,t=n.id,i=n.index,r=n.score,a=n.user_id,s=n.parentDiscussIndex,e.next=3,(0,C.S8)(t,{container_type:"Discusses",score:r,user_id:a});case 3:l=e.sent,s?xe[s].children[i].reward=l.code:xe[i].reward=l.code,D({type:T.Vn,payload:{showRewardDialog:!1,data:u()(u()({},F),{},{comments:xe})}}),J.current=null;case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(e){J.current=e,D({type:T.RS})}function he(e,n){return ge.apply(this,arguments)}function ge(){return(ge=a()(o()().mark((function e(n,t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.wg)(n,t);case 3:if(-3!==e.sent.status){e.next=8;break}return g.Z.info({title:"提示",className:"custom-modal-divider ",icon:null,content:"你的账号因为发布了不当内容,现已将评论功能屏蔽。",okText:"确定"}),ve(null),e.abrupt("return");case 8:$(U),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function me(e,n){return we.apply(this,arguments)}function we(){return(we=a()(o()().mark((function e(n,t){var i;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.KQ)(n,t);case 3:if(i=e.sent,1===i.status){e.next=7;break}return e.abrupt("return");case 7:$(U),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function ve(e){D(K===e?{type:T.SX,payload:{activeDiscussIndex:null}}:{type:T.SX,payload:{activeDiscussIndex:e}})}if((0,d.useEffect)((function(){return 3===i&&x?(clearInterval(X.current),X.current=setInterval((function(){$(U,!0)}),5e3),function(){clearInterval(X.current)}):(console.log("清除定时器"),function(){clearInterval(X.current)})}),[x,i,K]),(0,d.useEffect)((function(){return O||(clearInterval(z),W(setInterval((function(){$(U,!0)}),5e3))),function(){clearInterval(z)}}),[O,U,K]),(0,d.useEffect)((function(){function e(){return(e=a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(3!==i||F||!n){e.next=3;break}return e.next=3,$(U);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[n,i,U,D]),(0,d.useEffect)((function(){return N.Z.subscribe("create-discuss",(function(){clearInterval(X.current),$(U),x&&(X.current=setInterval((function(){$(U)}),5e3))}))}),[n]),!F)return(0,L.jsx)(p.Z,{});var ye=F.disscuss_count,xe=F.comments,je=(F.all,F.can_hidden);return console.log(j,"to_user_id"),(0,L.jsxs)(d.Fragment,{children:[(0,L.jsxs)("div",{className:"discuss-container",ref:q,children:[x&&(0,L.jsx)(m.ZP,{type:"primary",style:{float:"right",marginBottom:10},onClick:function(){(0,R.xg)("/chatgpt?id=".concat(j,"&position=").concat(b))},children:"进入历史问答"}),(null==y?void 0:y.myshixun_manager)&&!x&&(0,L.jsx)(m.ZP,{style:{float:"right",marginBottom:10},type:"primary",onClick:function(){B(!O),O?W(setInterval((function(){$(U,!0)}),5e3)):clearInterval(z)},children:O?"开启实时刷新":"停止实时刷新"}),0===ye?(0,L.jsx)(h.Z,{styles:{clear:"both"}}):null,xe.map((function(e,i){return(0,L.jsx)(G,{user:r,userInfomation:c,data:e,index:i,identity:t,onPaginationChange:ne,shixunIdentifier:n,onSetActionType:de,onTopOrDownDiscuss:le,adminOrOperator:je,onPlusDiscuss:te,onDisableDiscuss:ae,onSetRewardData:fe,activeDiscussIndex:K,onHandleSubmitDiscusses:me,onSetActiveDiscussIndex:ve,onReplyDiscuss:he,allowDisableDiscuss:s,onHandleRepaly:oe},e.id)})),ye>10?(0,L.jsx)("div",{className:"pagination-container",children:(0,L.jsx)(w.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:ne,current:U,total:ye})}):null,(0,L.jsx)(k,{})]}),(0,L.jsxs)(f.Z,{children:[(0,L.jsx)(g.Z,{centered:!0,title:"提示",open:!!V,onOk:function(){return ue.apply(this,arguments)},onCancel:function(){D({type:T.yS,payload:{actionType:null}})},children:(0,L.jsx)("p",{children:V?V.message:""})}),(0,L.jsx)(g.Z,{centered:!0,width:400,title:"奖励设置",open:Q,onCancel:function(){D({type:T.t2})},onOk:function(){return pe.apply(this,arguments)},children:(0,L.jsx)(v.Z,{placeholder:"请输入奖励的金币数量",min:1,onChange:function(e){J.current.score=e},style:{width:"228px"}})})]})]})}},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kz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