define(["gpui-style-inject","react","mobx"],(function(e,t,n){"use strict";e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var r="default"in t?t.default:t,o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */function i(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}e("html, body, #root {\n  width: 100%;\n  height: 100%;\n  margin: 0;\n  padding: 0;\n  overflow: hidden; }\n\n.g__index {\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  height: 100%; }\n");var a={main:"index-module_main__2GReO",table:"index-module_table__3u1vg",thead:"index-module_thead__2b6Hh",tbody:"index-module_tbody__1tKCd",tr:"index-module_tr__2vpVl",statistics:"index-module_statistics__2LIiZ",item:"index-module_item__2lByJ",data:"index-module_data__3-94U"};if(e(".index-module_main__2GReO {\n  display: flex;\n  flex-direction: column;\n  flex-wrap: wrap;\n  justify-content: space-between;\n  align-content: space-around;\n  width: 100%;\n  height: 100%; }\n  .index-module_main__2GReO .index-module_table__3u1vg {\n    flex: 1;\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    font-size: 3.5vh;\n    overflow: hidden; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_thead__2b6Hh {\n      display: flex;\n      align-items: center;\n      height: 16.7%;\n      background: #28356f;\n      color: #40a6ed; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_tbody__1tKCd {\n      flex: 1;\n      display: flex;\n      flex-direction: column;\n      background: transparent;\n      color: #cde0ff; }\n      .index-module_main__2GReO .index-module_table__3u1vg .index-module_tbody__1tKCd .index-module_tr__2vpVl {\n        display: flex;\n        align-items: center;\n        height: 20%;\n        border-bottom: 1px solid #2B3873; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_thead__2b6Hh :nth-child(n), .index-module_main__2GReO .index-module_table__3u1vg .index-module_tr__2vpVl :nth-child(n) {\n      padding: 1vh;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n      word-break: break-all;\n      overflow: hidden; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_thead__2b6Hh :first-child, .index-module_main__2GReO .index-module_table__3u1vg .index-module_tr__2vpVl :first-child {\n      width: 62%; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_thead__2b6Hh :nth-child(2), .index-module_main__2GReO .index-module_table__3u1vg .index-module_tr__2vpVl :nth-child(2) {\n      width: 20%; }\n    .index-module_main__2GReO .index-module_table__3u1vg .index-module_thead__2b6Hh :last-child, .index-module_main__2GReO .index-module_table__3u1vg .index-module_tr__2vpVl :last-child {\n      width: 18%; }\n  .index-module_main__2GReO .index-module_statistics__2LIiZ {\n    display: flex;\n    justify-content: space-around;\n    width: 100%; }\n    .index-module_main__2GReO .index-module_statistics__2LIiZ .index-module_item__2lByJ {\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      box-sizing: border-box; }\n      .index-module_main__2GReO .index-module_statistics__2LIiZ .index-module_item__2lByJ > span {\n        font-size: 6vh;\n        color: #cde0ff; }\n      .index-module_main__2GReO .index-module_statistics__2LIiZ .index-module_item__2lByJ .index-module_data__3-94U {\n        font-size: 14vh;\n        font-weight: 600;\n        text-align: right;\n        -webkit-text-fill-color: transparent;\n        -webkit-background-clip: text; }\n        .index-module_main__2GReO .index-module_statistics__2LIiZ .index-module_item__2lByJ .index-module_data__3-94U > span {\n          font-size: 6vh;\n          font-weight: 400; }\n"),!t.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!n.spy)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(){var e=t.useState(0)[1];return t.useCallback((function(){e((function(e){return e+1}))}),[])}function c(e){return n.getDependencyTree(e)}var u,s=1e4,m=new Set;function f(){void 0===u&&(u=setTimeout(_,1e4))}function _(){u=void 0;var e=Date.now();m.forEach((function(t){var n=t.current;n&&e>=n.cleanAt&&(n.reaction.dispose(),t.current=null,m.delete(t))})),m.size>0&&f()}var p={};function h(e){return"observer"+e}function v(e,t,o){void 0===t&&(t="observed"),void 0===o&&(o=p);var i,a=(o.useForceUpdate||d)(),l=r.useRef(null);if(!l.current){var u=new n.Reaction(h(t),(function(){_.mounted?a():(u.dispose(),l.current=null)})),_=function(e){return{cleanAt:Date.now()+s,reaction:e}}(u);l.current=_,i=l,m.add(i),f()}var v,b,y=l.current.reaction;if(r.useDebugValue(y,c),r.useEffect((function(){var e;return e=l,m.delete(e),l.current?l.current.mounted=!0:(l.current={reaction:new n.Reaction(h(t),(function(){a()})),cleanAt:1/0},a()),function(){l.current.reaction.dispose(),l.current=null}}),[]),y.track((function(){try{v=e()}catch(e){b=e}})),b)throw b;return v}function b(e,n){var r,o,i,a=l({forwardRef:!1},n),d=e.displayName||e.name,c=function(t,n){return v((function(){return e(t,n)}),d)};return c.displayName=d,r=a.forwardRef?t.memo(t.forwardRef(c)):t.memo(c),o=e,i=r,Object.keys(o).forEach((function(e){y[e]||Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})),r.displayName=d,r}var y={$$typeof:!0,render:!0,compare:!0,type:!0};function x(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:v(r)}function w(e,t,n,r,o){var i="children"===t?"render":"children",a="function"==typeof e[t],l="function"==typeof e[i];return a&&l?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||l?null:new Error("Invalid prop `"+o+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}x.propTypes={children:w,render:w},x.displayName="Observer";var g=0;var O={};function E(e){return O[e]||(O[e]=function(e){if("function"==typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+g+")";return g++,t}(e)),O[e]}function R(e,t){if(j(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.hasOwnProperty.call(t,n[o])||!j(e[n[o]],t[n[o]]))return!1;return!0}function j(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function N(e,t,n){Object.hasOwnProperty.call(e,t)?e[t]=n:Object.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})}var k=E("patchMixins"),P=E("patchedDefinition");function G(e,t){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];t.locks++;try{var a;return null!=e&&(a=e.apply(this,o)),a}finally{t.locks--,0===t.locks&&t.methods.forEach((function(e){e.apply(n,o)}))}}function S(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];G.call.apply(G,[this,e,t].concat(r))}}function C(e,t,n){var r=function(e,t){var n=e[k]=e[k]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var o=Object.getOwnPropertyDescriptor(e,t);if(!o||!o[P]){var i=e[t],a=function e(t,n,r,o,i){var a,l=S(i,o);return(a={})[P]=!0,a.get=function(){return l},a.set=function(i){if(this===t)l=S(i,o);else{var a=e(this,n,r,o,i);Object.defineProperty(this,n,a)}},a.configurable=!0,a.enumerable=r,a}(e,t,o?o.enumerable:void 0,r,i);Object.defineProperty(e,t,a)}}var I=n.$mobx||"$mobx",D=E("isUnmounted"),$=E("skipRender"),U=E("isForcingUpdate");function F(e){var n=e.prototype;if(n.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==t.PureComponent)if(n.shouldComponentUpdate){if(n.shouldComponentUpdate!==H)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else n.shouldComponentUpdate=H;z(n,"props"),z(n,"state");var r=n.render;return n.render=function(){return A.call(this,r)},C(n,"componentWillUnmount",(function(){this.render[I]&&this.render[I].dispose(),this[D]=!0})),e}function A(e){var r=this;N(this,$,!1),N(this,U,!1);var o,i=(o=this).displayName||o.name||o.constructor&&(o.constructor.displayName||o.constructor.name)||"<component>",a=e.bind(this),l=!1,d=new n.Reaction(i+".render()",(function(){if(!l&&(l=!0,!0!==r[D])){var e=!0;try{N(r,U,!0),r[$]||t.Component.prototype.forceUpdate.call(r),e=!1}finally{N(r,U,!1),e&&d.dispose()}}}));function c(){l=!1;var e=void 0,t=void 0;if(d.track((function(){try{t=n._allowStateChanges(!1,a)}catch(t){e=t}})),e)throw e;return t}return d.reactComponent=this,c[I]=d,this.render=c,c.call(this)}function H(e,t){return this.state!==t||!R(this.props,e)}function z(e,t){var r=E("reactProp_"+t+"_valueHolder"),o=E("reactProp_"+t+"_atomHolder");function i(){return this[o]||N(this,o,n.createAtom("reactive "+t)),this[o]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var e=!1;return n._allowStateReadsStart&&n._allowStateReadsEnd&&(e=n._allowStateReadsStart(!0)),i.call(this).reportObserved(),n._allowStateReadsStart&&n._allowStateReadsEnd&&n._allowStateReadsEnd(e),this[r]},set:function(e){this[U]||R(this[r],e)?N(this,r,e):(N(this,r,e),N(this,$,!0),i.call(this).reportChanged(),N(this,$,!1))}})}var B="function"==typeof Symbol&&Symbol.for,V=B?Symbol.for("react.forward_ref"):"function"==typeof t.forwardRef&&t.forwardRef((function(e){return null})).$$typeof,L=B?Symbol.for("react.memo"):"function"==typeof t.memo&&t.memo((function(e){return null})).$$typeof;function M(e){if(!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),L&&e.$$typeof===L)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(V&&e.$$typeof===V){var n=e.render;if("function"!=typeof n)throw new Error("render property of ForwardRef was not a function");return t.forwardRef((function(){var e=arguments;return t.createElement(x,null,(function(){return n.apply(void 0,e)}))}))}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(t.Component,e)?F(e):b(e)}if(!t.Component)throw new Error("mobx-react requires React to be available");if(!n.observable)throw new Error("mobx-react requires mobx to be available");var Z={tableData:[{name:"Microstructure and Composition Analysis",location:"分测北109",time:"2019年12月25-26日"},{name:"超快速成像显微拉曼光谱仪技术培训",location:"分测北109",time:"2019年12月12-13日"},{name:"电子背散射衍射技术培训",location:"仲英楼B905",time:"2019年12月3-4日"},{name:"高端紫外联机技术交流",location:"分测北109",time:"2019年11月14日"},{name:"纳米尺度无标记高光谱成像技术在生命科学及纳米材料科学领域的应用",location:"医学部机能楼",time:"2019年11月7日"}],numberOfEvent:28,numberOfInvitedExpert:102,numberOfParticipants:3015};return function(e){function r(t){var r=e.call(this,t)||this;return r.padding="14vh 4vh 4vh",n.reaction((function(){return t.gpui.params.padding}),(function(e){r.padding=e||"14vh 4vh 4vh"}),{fireImmediately:!0}),r}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,e),r.prototype.render=function(){return t.createElement("div",{className:"g__index",style:{padding:this.padding}},t.createElement("div",{className:a.main},t.createElement("div",{className:a.statistics},t.createElement("div",{className:a.item},t.createElement("span",null,"累计举办次数"),t.createElement("div",{className:a.data,style:{backgroundImage:"linear-gradient(to bottom, #0096FF, #00D8FF)"}},Z.numberOfEvent,t.createElement("span",null,"期"))),t.createElement("div",{className:a.item},t.createElement("span",null,"累计邀请专家人次"),t.createElement("div",{className:a.data,style:{backgroundImage:"linear-gradient(to bottom, #009EFD, #2AF598)"}},Z.numberOfInvitedExpert,t.createElement("span",null,"人次"))),t.createElement("div",{className:a.item},t.createElement("span",null,"累计参与人数"),t.createElement("div",{className:a.data,style:{backgroundImage:"linear-gradient(to bottom, #D596F6, #4481F5)"}},Z.numberOfParticipants,t.createElement("span",null,"人次")))),t.createElement("div",{className:a.table},t.createElement("div",{className:a.thead},t.createElement("div",{className:a.td},"论坛名称"),t.createElement("div",{className:a.td},"地点"),t.createElement("div",{className:a.td},"时间")),t.createElement("div",{className:a.tbody},Z.tableData.map((function(e){return t.createElement("div",{className:a.tr},t.createElement("div",{className:a.td},e.name),t.createElement("div",{className:a.td},e.location),t.createElement("div",{className:a.td},e.time))}))))))},i([n.observable],r.prototype,"padding",void 0),r=i([M],r)}(t.Component)}));
