/*! For license information please see index.js.LICENSE.txt */
define(["react","gpui-style-inject","mobx"],(function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(e),i=r(t);function a(e){var t={exports:{}};return e(t,t.exports),t.exports}Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;var c=a((function(e,t){var n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;n=r("react.element"),t.Fragment=r("react.fragment")}var i=o.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var o,u={},f=null,s=null;for(o in void 0!==r&&(f=""+r),void 0!==t.key&&(f=""+t.key),void 0!==t.ref&&(s=t.ref),t)a.call(t,o)&&!c.hasOwnProperty(o)&&(u[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===u[o]&&(u[o]=t[o]);return{$$typeof:n,type:e,key:f,ref:s,props:u,_owner:i.current}}t.jsx=u,t.jsxs=u})),u=a((function(e){e.exports=c}));return i.default(".index-module_box__Gq1A3 {\n  width: 90px;\n  height: 90px;\n  background-color: rgba(37, 118, 207, 0.5);\n  border-radius: 50%;\n  border: 2px solid #2576cf;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n.index-module_box__Gq1A3 div {\n  color: white;\n  font-size: 28px;\n}"),({gpui:t})=>{const[r,o]=e.useState("");return e.useEffect((()=>{let e=!0;const r=n.reaction((()=>{var e;return null===(e=null==t?void 0:t.params)||void 0===e?void 0:e.buttonName}),(t=>{e&&o(t)}),{fireImmediately:!0});return()=>{r(),e=!1}}),[t]),u.jsx("div",Object.assign({className:"index-module_box__Gq1A3",onClick:()=>function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){t&&t.root.go(t.params.go)}))},{children:u.jsx("div",{children:r},void 0)}),void 0)}}));