"use strict";(self.webpackChunkfreeweb=self.webpackChunkfreeweb||[]).push([[3432],{23432:function(t,e,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function i(t){var e="function"==typeof Map?new Map:void 0;return(i=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return a(t,arguments,s(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)})(t)}function a(t,e,n){return(a=l()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&f(o,n.prototype),o}).apply(null,arguments)}function l(){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(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.r(e),n.d(e,{default:function(){return p}});var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(y,t);var e,n,r,i,a,p=(e=y,n=l(),function(){var t,r=s(e);if(n){var o=s(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return c(this,t)});function y(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(this,y),(e=p.call(this)).classList.add("tooltip"),e.innerHTML=y.markup();var r=Object.entries(n)[0];return e.dataset.position=r[0]||null,e.dataset.mdbAddrDescr=(null===(t=Object.values(r[1]||null)[0])||void 0===t?void 0:t.node)||null,e}return r=y,a=[{key:"observedAttributes",get:function(){return["data-value-descr"]}},{key:"markup",value:function(){return'\n            <div class="anchor"></div>\n            <div class="descr"></div>\n        '}}],(i=[{key:"connectedCallback",value:function(){this.parentNode.classList.add("tooltip-container")}},{key:"handleDescr",value:function(t){var e=this.querySelector(".descr");e&&(e.innerHTML=t)}},{key:"attributeChangedCallback",value:function(t,e,n){"data-value-descr"===t&&e!==n&&this.handleDescr(n)}}])&&u(r.prototype,i),a&&u(r,a),y}(i(HTMLElement))}}]);