(this["webpackJsonp@arcblock/forge-web"]=this["webpackJsonp@arcblock/forge-web"]||[]).push([[25],{1423:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return d}));var n=r(10),i=r(0),u=r.n(i),o=r(933),f=r.n(o),c=r(42),a=r.n(c),s=r(58),l=a()((function(){return r.e(19).then(r.t.bind(null,1425,7))}));function d(e){var t=e.markers,r=e.activeMarkerId,i=f()().width,o=Object(s.g)(),c=Object(n.a)(o,1)[0];return u.a.createElement(l,{width:i>540?540:i-45,height:i>540?540:i-45,theme:c,markers:t,activeMarkerId:r})}d.defaultProps={markers:[],activeMarkerId:""}},933:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(0),u=n.__importDefault(r(962)),o=r(965);t.default=function(e,t){void 0===e&&(e=1/0),void 0===t&&(t=1/0);var r=u.default({width:o.isClient?window.innerWidth:e,height:o.isClient?window.innerHeight:t}),n=r[0],f=r[1];return i.useEffect((function(){if(o.isClient){var e=function(){f({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[]),n}},962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(0),u=n.__importDefault(r(963));t.default=function(e){var t=i.useRef(0),r=i.useState(e),n=r[0],o=r[1],f=i.useCallback((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){o(e)}))}),[]);return u.default((function(){cancelAnimationFrame(t.current)})),[n,f]}},963:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(0),u=n.__importDefault(r(964));t.default=function(e){var t=i.useRef(e);t.current=e,u.default((function(){return function(){return t.current()}}))}},964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.default=function(e){n.useEffect(e,[])}},965:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClient="object"===typeof window,t.on=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e.removeEventListener.apply(e,t)},t.isDeepEqual=r(966)},966:function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,u;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(u=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,u[i]))return!1;for(i=n;0!==i--;){var o=u[i];if(("_owner"!==o||!t.$$typeof)&&!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r}}}]);
//# sourceMappingURL=25.37fbdbbf.chunk.js.map