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.
educoder/public/react/dist/static/js/134.2e740431.chunk.js

1 line
12 KiB

5 years ago
(this.webpackJsonph5=this.webpackJsonph5||[]).push([[134],{1522:function(e,t,a){"use strict";a(1523);var n=a(0),r=a.n(n),i=a(28);t.a=function(e){var t=e.userInfo,a=t.image_url,n=t.name;return r.a.createElement("div",{className:"avator_nicker"},r.a.createElement("img",{style:{display:a?"inline-block":"none"},alt:"\u7528\u6237\u5934\u50cf",className:"student_img",src:Object(i.L)("images/".concat(a)||!1)}),r.a.createElement("span",{className:"student_nicker"},n||""))}},1523:function(e,t,a){},1907:function(e,t,a){},1930:function(e,t,a){"use strict";a(170);var n=a(18).a.createFromIconfontCN({scriptUrl:"//at.alicdn.com/t/font_1535266_i4ilpm93kp.js"});t.a=n},1948:function(e,t,a){"use strict";var n=a(8),r=a(7),i=a(10),c=a(9),l=a(11),o=a(0),u=a.n(o),s=(a(1907),window.$,function(e){function t(){return Object(n.a)(this,t),Object(i.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=(e.challenge,e.vnc_url,e.children),a=e.className;return u.a.createElement("div",{className:"float_button ".concat(a),onClick:this.props.onClick},u.a.createElement("style",null,"\n \n "),u.a.createElement("span",{class:"text"},t||"\u7248\u672c\u5e93"))}}]),t}(o.Component));t.a=s},2202:function(e,t,a){},2203:function(e,t,a){},2414:function(e,t,a){"use strict";a.r(t),a(104);var n=a(60),r=(a(965),a(970)),i=(a(131),a(39)),c=(a(259),a(167)),l=(a(170),a(18)),o=(a(50),a(29)),u=a(136),s=(a(1909),a(1940)),m=(a(273),a(91)),p=(a(268),a(95)),f=(a(2202),a(0)),d=a.n(f),_=a(1927),y=a(183),g=a(1948),h=a(1522),j=a(194);function E(e){var t=e.status,a=e.url,n=e.onReloadUrl,r=(e.onSave,e.loading),i=Object(f.useState)((function(){return s})),c=Object(u.a)(i,2),l=c[0],o=c[1],s=d.a.createElement("div",{className:"jupyter_loading_init"}),m=d.a.createElement("div",{className:"jupyter_load_url_error"},d.a.createElement("span",{className:"iconfont icon-jiazaishibai1 icon-error"}),d.a.createElement("p",{className:"jupyter_error_txt"},"\u5b9e\u8bad\u52a0\u8f7d\u5931\u8d25\uff0c",d.a.createElement("span",{className:"jupyter_reload",onClick:function(){n&&n()}},"\u91cd\u65b0\u52a0\u8f7d")));return Object(f.useEffect)((function(){o(-1===t?function(){return s}:0===t&&a?function(){return d.a.createElement("div",{className:"jupyter_result"},d.a.createElement("div",{className:"jupyter_iframe"},d.a.createElement("iframe",{id:"rightPaneframe",title:" ",width:"100%",height:"100%",src:a,className:"jupyter_iframe_style"})))}:function(){return m})}),[t,a,r]),d.a.createElement("div",{className:"jupyter_right_pane_area"},l)}function v(e){"getSelection"in window?window.getSelection().removeAllRanges():document.selection.empty(),document.getElementById(e).select(),document.execCommand("Copy")?p.a.success("\u590d\u5236\u6210\u529f"):p.a.error("\u590d\u5236\u5931\u8d25")}a(2203),a(1930),t.default=Object(y.b)((function(e){var t=e.jupyterReducer,a=t.jupyter_info,n=t.jupyter_tpi_url,r=t.jupyter_data_set,i=t.jupyter_tpi_url_state,c=t.jupyter_data_set_count,l=t.jupyter_folder_name,o=t.jupyter_pagination,u=t.jupyter_identifier,s=e.commonReducer,m=s.loading,p=s.drawervisible,f=s.jupytertime,d=s.spinning;return{loading:m,jupyter_info:a,url:n,dataSets:r,jupyter_tpi_url_state:i,total:c,pagination:o,jupyter_folder_name:l,jupyter_identifier:u,drawervisible:p,jupytertime:f,endjupytertime:s.endjupytertime,spinning:d}}),(function(e){return{changeGetJupyterUrlState:function(t){return e(j.a.changeGetJupyterUrlState(t))},getJupyterInfo:function(t){return e(j.a.getJupyterInfo(t))},syncJupyterCode:function(t,a){return e(j.a.syncJupyterCode(t,a))},reset_with_tpi:function(t,a){return e(j.a.reset_with_tpi(t,a))},getJupyterTpiDataSet:function(t,a){return e(j.a.getJupyterTpiDataSet(t,a))},getJupyterTpiUrl:function(t){return e(j.a.getJupyterTpiUrl(t))},saveJupyterTpi:function(){return e(j.a.saveJupyterTpi())},changeLoadingState:function(t){return e(j.a.changeLoadingState(t))},changeCurrentPage:function(t){return e(j.a.changeCurrentPage(t))},changeshowDrawer:function(t)