var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var e=a.length,d=0;d<e;d++){var h=a[d];if(b.call(c,h,d,a))return{i:d,v:h}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.polyfill=function(a,b,c,e){if(b){c=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var d=a[e];d in c||(c[d]={});c=c[d]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
function generateNewCaptcha(){document.getElementById("captcha").src="/appgen/?cl=meinspiel&cp=global&cmd=show_code_image&recalc=1&s="+Math.floor(1E5*Math.random())}function showMainHeader(){$("#main_header").show();$("#config_header").hide();$.get("/appgen/?cl=meinspiel&cp=global&cmd=set_session_value&subcmd=show_header")}function showHelpItem(a){$(a).hide();$("#extra_help").fadeIn("slow");$("#less_help_link").show("slow")}
function hideHelpItem(){$("#extra_help").hide();$("#more_help_link").show()}
$(document).ready(function(){try{$(".jumpToPriceButton").on("click",function(a){a.preventDefault();$("html, body").animate({scrollTop:$("#tabs-container-point").offset().top},500,"linear");767<$(window).width()?$("#a_preise").trigger("click"):($("#tab_2-collapse.in").collapse("hide"),$("#tab_3-collapse.in").collapse("hide"),$("#tab_4-collapse.in").collapse("hide"),$("#tab_5-collapse.in").collapse("hide"),$("#tab_1-collapse").collapse("show"))});$(".jumpToContactButton").on("click",function(a){a.preventDefault();
$("#a_service").trigger("click");$("html, body").animate({scrollTop:$("#a_preise").offset().top},200)});new Swiper(".swiper-container-slide",{loop:!0,autoplay:5E3,effect:"default",fade:{crossFade:!0},speed:800,pagination:".swiper-pagination",nextButton:".swiper-button-next",prevButton:".swiper-button-prev"});var a=new Swiper(".swiper-container:not(.swiper-container-slide)",{loop:!0,autoplay:5E3,effect:"fade",fade:{crossFade:!0},speed:800,pagination:".swiper-pagination",nextButton:".swiper-button-next",
prevButton:".swiper-button-prev"});a.on("onTransitionStart",function(b){$(".main_slides").removeClass("hide");$(".main_slides").hide();var c=a.slides.length-2;b=b.activeIndex;b>c?b=1:0===b&&(b=c);$("#main_slide_"+b).fadeIn("slow")})}catch(b){}try{$("#myModal").on("show.bs.modal",function(a){$(this).find(".modal-content").load($(a.relatedTarget).attr("href")+"?is_popup=1");$("#myModal").css("opacity","1")}),$("#registerModal").on("show.bs.modal",function(a){$("#registerModal").css("opacity","1")})}catch(b){}try{0==
$(".nav-tabs-product").length&&$("#myTab a").click(function(){var a=1===$("#tabHolder").length?$("#tabHolder"):$(this);setTimeout(function(){$("html, body").animate({scrollTop:a.offset().top},200)},100)}),$("#myTab").tabCollapse()}catch(b){}$("a.lightbox-gallery").colorbox();try{$('[data-toggle="tooltip"]').tooltip()}catch(b){}try{$(".match_height").matchHeight()}catch(b){}});
(function(a){a.fn.cjObjectScaler=function(b){function c(b){var c=d.destObj,e=a(c).width();c=a(c).height();var f;var g=e/a(b).width();var k=c/a(b).height();a(b).hasClass("cf_image_scaler_fill")||!a(b).hasClass("cf_image_scaler_fit")&&"fit"!==d.method?a(b).hasClass("cf_image_scaler_fit")||!a(b).hasClass("cf_image_scaler_fill")&&"fill"!==d.method||(f=g>k?g:k):f=g<k?g:k;g=parseInt(a(b).width()*f,10);f=parseInt(a(b).height()*f,10);a(b).css({width:g+"px",height:f+"px",position:"absolute",top:parseInt((c-
f)/2,10)+"px",left:parseInt((e-g)/2,10)+"px"}).attr({width:g,height:f});0<d.fade&&a(b).fadeIn(d.fade)}function e(){var b=a(h.elem)[0];null!==d.destObj&&"string"===typeof d.method&&"object"===typeof a(d.destObj)[0]&&("static"===a(d.destObj).css("position")&&a(d.destObj).css({position:"relative"}),0<d.fade&&a(b).hide(),"IMG"===a(b)[0].nodeName?a(b).attr("complete")?c(a(b)[0]):a(b).load(function(){c(a(b)[0])}):c(a(b)[0]))}var d={destObj:null,method:"fill",fade:0},h={version:"2.0.0",elem:null};b&&a.extend(d,
b);return this.each(function(){h.elem=this;e()})}})(jQuery);
