
"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(){var e=function(){function t(e){_classCallCheck(this,t),this.recommenderlink=null,this.actlanguage=null,this.mylanguage=null,this.altlanguages=null,this.recommender=null,this.options=this.extend({myid:"js-auto-language-recommender",storageKey:"language-recommender-disabled",button:{ok:"js-switch-language",cancel:"js-close-info"},typeNum:20190418,staticLanguages:{at:"https://www.helmut-fischer.com/de/",et:"https://estonia.helmut-fischer.com/",fr:"https://www.helmut-fischer.fr/",lt:"https://lithuania.helmut-fischer.com/",lv:"https://latvia.helmut-fischer.com/",pl:"https://polska.helmut-fischer.com/",ru:"https://www.helmut-fischer.ru/",th:"https://thailand.helmut-fischer.com/"}},e),this.init()}return _createClass(t,[{key:"overrideRecommanderLink",value:function(){var t=this,n=this.options.staticLanguages,r=window.navigator.language;Object.keys(n).forEach(function(e){-1!==r.toUpperCase().indexOf(e.toUpperCase())&&(t.recommenderlink=n[e])})}},{key:"recommend",value:function(){var r=this,e=document.getElementsByTagName("html")[0];if(e&&(this.actlanguage=e.getAttribute("lang").substring(0,2),this.mylanguage=window.navigator.language.substring(0,2),this.altlanguages=Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(e){return"alternate"===e.rel}),this.altlanguages.forEach(function(e){var t=e.getAttribute("hreflang").substring(0,2),n=e.getAttribute("href");t===r.mylanguage&&(r.recommenderlink=n)}),this.actlanguage!==this.mylanguage&&(this.overrideRecommanderLink(),this.recommenderlink))){var n=new XMLHttpRequest;n.onload=function(){var t=this;if(200===n.status){var e=(new DOMParser).parseFromString(n.responseText,"text/html");this.recommender.style.display="block",this.recommender.classList.add("hyper5000-visible"),this.recommender.innerHTML=e.body.innerHTML||n.responseText,Array.prototype.slice.call(this.recommender.getElementsByClassName(this.options.button.ok)).forEach(function(e){e.dataset.url=t.recommenderlink,e.addEventListener("click",function(e){window.location.href=this.recommenderlink,e.preventDefault()}.bind(t))}),Array.prototype.slice.call(this.recommender.getElementsByClassName(this.options.button.cancel)).forEach(function(e){e.addEventListener("click",function(e){window.localStorage.setItem(this.options.storageKey,"true"),this.recommender.remove(),e.preventDefault()}.bind(t))})}}.bind(this);var t=encodeURI("/?type="+this.options.typeNum+"&tx_autolanguagerecommender_autolanguagerecommender[hreflang]="+this.mylanguage);n.open("GET",t),n.send()}}},{key:"extend",value:function(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])arguments[t].hasOwnProperty(n)&&(e[n]=arguments[t][n]);return e}},{key:"init",value:function(){var e=this;document.addEventListener("DOMContentLoaded",function(){window.localStorage.getItem(e.options.storageKey)||(e.recommender=document.getElementById(e.options.myid)||document.body.insertBefore(document.createElement("div"),document.body.firstChild),e.recommend())})}}]),t}(),t=new e;e.getInstance=function(){return t},window.hfh=window.hfh||{},window.hfh.LanguageRecommender=e}();
"use strict";!function(){function e(e,t){return window.Zeroseven=window.Zeroseven||{},window.Zeroseven.FileGorilla=window.Zeroseven.FileGorilla||{},window.Zeroseven.FileGorilla[e]=t}var n=e("trigger",function(e,t){var n;return"function"==typeof window.CustomEvent?n=new CustomEvent("z7_file_gorilla:"+e,{detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent("z7_file_gorilla:"+e,!0,!0,t),document.dispatchEvent(n),t}),o=e("protectedLink",function(e){for(var t=e.tagName.toLowerCase(),n=["a","button"],o=window.Zeroseven.FileGorilla.getSetup().anchorSelector,r=0;r<n.length;r++)if(n[r]===t&&e.href&&-1<decodeURI(e.href).indexOf("#")&&decodeURI(e.href).split("#")[1]===o)return!0;return!1}),t=e("checkClickEvent",function(e){for(var t=e.target;t.parentNode.tagName;t=t.parentNode)if(o(t))return n("action",{event:e,element:t})});document.addEventListener("click",t),e("register",e)}();
"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(){function r(){u.content.insertAdjacentHTML("afterbegin",'<span class="js-file-gorilla-loader" lang="en">Loading ...</span>'),u.overlay.style.display="block"}function t(){var e;for(u.overlay.style.display="none";e=u.content.firstElementChild;)u.content.removeChild(e)}var e,n,a,o,l,i,s,c,d=Zeroseven.FileGorilla,u=((e=document.createElement("a")).className="js-file-gorilla-close",e.href="javascript:void(0)",e.lang="en",e.title="close",e.addEventListener("click",t),l=e,(n=document.createElement("div")).className="js-file-gorilla-content",i=n,(a=document.createElement("div")).className="js-file-gorilla-wrap",a.appendChild(l),a.appendChild(i),s=a,(o=document.createElement("div")).className="js-file-gorilla-overlay",o.style.display="none",o.setAttribute("role","dialog"),o.setAttribute("aria-model","true"),o.appendChild(s),o.addEventListener("click",function(e){o.isEqualNode(e.target)&&t()}),c=document.body.appendChild(o),d.trigger("overlay:build",{close:l,content:i,wrapper:s,overlay:c})),y=function(e,r,t){var n=new XMLHttpRequest,a="";return Object.keys(r||[]).forEach(function(e,t){a+=(t?"&":"")+e+(r[e]?"="+encodeURI(r[e]):"")}),n.onreadystatechange=function(){if(4===n.readyState){if(200===n.status){var e=(new DOMParser).parseFromString(n.responseText,"text/html");!function(e,t,r){for(var n;n=u.content.firstElementChild;)u.content.removeChild(n);u.overlay.lang=r,u.overlay.setAttribute("aria-label",t),_toConsumableArray(e.children).forEach(function(e){return u.content.appendChild(e)}),d.trigger("overlay:complete",u.content),_toConsumableArray(u.content.getElementsByTagName("form")).forEach(function(r){r.addEventListener("submit",function(e){e.preventDefault();var t={};[].concat(_toConsumableArray(r.getElementsByTagName("input")),_toConsumableArray(r.getElementsByTagName("textarea")),_toConsumableArray(r.getElementsByTagName("select")),_toConsumableArray(r.getElementsByTagName("button"))).forEach(function(e){e.name&&(t[e.name]=e.value)}),r.style.opacity="0.5",r.style.pointerEvents="none",y(r.action,t)})})}(e.body,e.title,e.documentElement.lang)}else alert("An error occurred:\n"+n.statusText+"\n(code:"+n.status+")\n\nThe page will be reloaded."),window.location.reload();d.trigger("overlay:loaded",n),"function"==typeof t&&t(n)}},n.open("POST",e,!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),n.send(a),d.trigger("overlay:load",n),n};d.register("overlay",{open:r,close:t}),document.addEventListener("z7_file_gorilla:action",function(e){var t=e.detail;t.event.preventDefault(),r(),y(t.element.href)})}();
"use strict";document.addEventListener("page:ajax:complete",function(){"undefined"!=typeof CookieManager&&CookieManager.getInstance().reviveServices()});

			/* decrypt helper function */
		function decryptCharcode(n,start,end,offset) {
			n = n + offset;
			if (offset > 0 && n > end) {
				n = start + (n - end - 1);
			} else if (offset < 0 && n < start) {
				n = end - (start - n - 1);
			}
			return String.fromCharCode(n);
		}
			/* decrypt string */
		function decryptString(enc,offset) {
			var dec = "";
			var len = enc.length;
			for(var i=0; i < len; i++) {
				var n = enc.charCodeAt(i);
				if (n >= 0x2B && n <= 0x3A) {
					dec += decryptCharcode(n,0x2B,0x3A,offset);	/* 0-9 . , - + / : */
				} else if (n >= 0x40 && n <= 0x5A) {
					dec += decryptCharcode(n,0x40,0x5A,offset);	/* A-Z @ */
				} else if (n >= 0x61 && n <= 0x7A) {
					dec += decryptCharcode(n,0x61,0x7A,offset);	/* a-z */
				} else {
					dec += enc.charAt(i);
				}
			}
			return dec;
		}
			/* decrypt spam-protected emails */
		function linkTo_UnCryptMailto(s) {
			location.href = decryptString(s,-2);
		}
		
window.hfh=window.hfh||{};window.hfh.Products=window.hfh.Products||{};window.hfh.Products.getRelations=function(){return JSON.parse('{"category":{"subcategory":{"1096":[],"271":[],"238":[],"503":[],"454":[],"952":[],"1024":[],"1021":[],"517":[],"937":[],"482":[],"960":[],"524":[],"1028":[],"1076":[],"1086":[],"446":[],"460":[],"1101":[],"1105":[],"1107":[]}},"subcategory":{"category":[],"type":[]},"type":{"requires":"subcategory"}}')};window.hfh.Products.getTranslations=function(){return {allowedOptions:'Verfügbare Optionen',disabledOptions:'Nicht verfügbare Optionen'}};  (function(){
    if(/*@cc_on!@*/false || !!document.documentMode) {
      var s = document.createElement('script');
      s.type = "text/javascript", s.src = "/typo3conf/ext/hfh_core/Resources/Public/JavaScript/Libraries/Babel/Polyfill.dist.js", document.head.appendChild(s), "function" == typeof console.log && console.log("Polyfill is loaded for Internet explorerer", s)
    }
  })();  window.Zeroseven = window.Zeroseven || {};
  window.Zeroseven.FileGorilla = window.Zeroseven.FileGorilla || {};
  window.Zeroseven.FileGorilla.getSetup = function() {
    return {anchorSelector: '🦍'}
  };
