/*! For license information please see index.js.LICENSE.txt */
define(["react","gpui-style-inject"],(function(e,t){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(e),o=r(t),i={exports:{}},a={};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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()||Object.assign;var c=n.default,s=60103;if(a.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var p=Symbol.for;s=p("react.element"),a.Fragment=p("react.fragment")}var f=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,r){var n,o={},i=null,a=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)l.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:s,type:e,key:i,ref:a,props:o,_owner:f.current}}a.jsx=d,a.jsxs=d,i.exports=a,o.default("html, body, #root {\n  width: 100%;\n  height: 100%;\n  \n}\n*{\n  padding: 0;\n  margin: 0;\n  box-sizing: border-box;\n}\n");return o.default(".index-module_container__iSbDg {\n  width: 100vw;\n  height: 100vh;\n}"),({gpui:t})=>{const{params:{lon:r=116.514,lat:n=39.915}}=t;return e.useEffect((()=>{("ThWvOseuQefH2K8UrrCK67LbYK96zy7k",new Promise((function(e,t){let r=document.createElement("script");r.type="text/javascript",r.src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=ThWvOseuQefH2K8UrrCK67LbYK96zy7k&callback=init",document.body.appendChild(r),window.init=()=>{e(window.BMapGL)}}))).then((e=>{const t=new e.Map("container");t.centerAndZoom(new e.Point(parseFloat(r),parseFloat(n)),19),t.enableScrollWheelZoom(!0)}))}),[]),i.exports.jsx("div",{children:i.exports.jsx("div",{id:"container",className:"index-module_container__iSbDg"},void 0)},void 0)}}));