You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6827],{91738:function(e,t,n){var o=n(41376),r=n(79847),i=n(42010),c=n(54354),u=n(32685),a=n(45830),l=n(45486),f=n(12810);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v,h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(i,e);var t,n,o,r=b(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(e=r.call(this,{element:document.createElement("div")})).element.setAttribute("hidden","hidden"),e.element.className="ol-mask",e.element.innerHTML="<div>Map not usable</div>",e}return t=i,n&&d(t.prototype,n),o&&d(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(u.Z),w=document.getElementById("map"),g=new o.Z({target:w,controls:(0,a.ce)().extend([new l.Z,new h]),layers:[new i.Z({source:new r.Z})],view:new c.ZP({center:(0,f.mi)([37.41,8.82]),zoom:4})});function E(){v&&(v.close(),v=void 0)}window.addEventListener("pagehide",E);var O=document.getElementById("external-map-button");function j(){w.style.height="",g.setTarget(w),O.disabled=!1}function L(){if(v){var e=v.document.getElementById("map");e&&("visible"===document.visibilityState?(e.classList.remove("unusable"),e.setAttribute("tabindex","0"),e.focus()):(e.removeAttribute("tabindex"),e.classList.add("unusable")))}}window.addEventListener("visibilitychange",L),O.addEventListener("click",(function(){var e=document.getElementById("blocker-notice");e.setAttribute("hidden","hidden"),O.disabled=!0;var t=setTimeout((function(){E(),j(),e.removeAttribute("hidden"),t=void 0}),3e3);(v=window.open("resources/external-map-map.html","MapWindow","toolbar=0,location=0,menubar=0,width=800,height=600")).addEventListener("DOMContentLoaded",(function(){var e=v.document.getElementById("map");w.style.height="0px",g.setTarget(e),t&&(t=clearTimeout(t)),v.addEventListener("pagehide",(function(){j(),E()})),L()}))}))}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(91738)}]);
|
|
//# sourceMappingURL=external-map.js.map
|