// source --> https://dico-mediadesign.de/wp-content/plugins/g-business-reviews-rating/wp/js/js.min.js?ver=7.0 
function google_business_reviews_rating(e,i){if(void 0===e)e=null;else"string"==typeof e&&e.match(/^[\d]+$/)&&(e=parseInt(e));if(void 0===i)i=null;else"string"==typeof i&&(i=parseInt(i.replace(/[^\d]/,"")));if(("number"==typeof e||"object"==typeof e||"string"==typeof e)&&"number"==typeof i)return"object"==typeof e?e=jQuery(".google-business-reviews-rating").index(e):"string"==typeof e&&(e=jQuery(".google-business-reviews-rating").index(jQuery("#"+e))),jQuery(".review-full-text:eq(0)",".google-business-reviews-rating:eq("+e+") li:eq("+i+")").show(),void jQuery(".review-more-link:eq(0)",".google-business-reviews-rating:eq("+e+") li:eq("+i+")").remove();const observer=new IntersectionObserver((stars=>{stars.forEach((item=>{item.isIntersecting?item.target.classList.add("animation-start"):item.target.classList.remove("animation-pause")}))}),{threshold:.5}),safari=null!=navigator.userAgent.match(/^((?!chrome|android).)*safari/i);var rating_width=null,clear_styles=jQuery("#stylesheet-none").length&&jQuery("#stylesheet-none").is(":checked"),star_image=null;jQuery(".google-business-reviews-rating").each((function(index){var e=jQuery(this),view=jQuery(this).hasClass("carousel")&&"number"==typeof jQuery(this).data("view")&&jQuery(this).data("view")>=1&&jQuery(this).data("view")<=50?jQuery(this).data("view"):null,star_html="string"==typeof jQuery(this).attr("class")&&(jQuery(this).hasClass("stars-html")||jQuery(this).attr("class").match(/\bversion[_-]?1\b/i)),star_css=!star_html&&"string"==typeof jQuery(this).attr("class")&&(jQuery(this).hasClass("stars-css")||jQuery(this).hasClass("stars-gray-css")),star_inline=!star_html&&!star_css&&"string"==typeof jQuery(e).data("stars")&&null!=jQuery(e).data("stars").match(/^inline|inline$/i),star_color=!(star_html||star_css||star_inline||"string"!=typeof jQuery(e).data("stars")&&"string"!=typeof jQuery(e).data("stars-gray")),stars_width_multiplier=.196,rating=jQuery(".number",this).length?parseFloat(jQuery(".number:eq(0)",this).text().replace(/,/g,".").replace(/(\d+(?:\.\d+)?)/,"$1")):null,overall_link="string"!=typeof jQuery(this).data("href")||!jQuery(this).data("href").length||jQuery(".buttons",this).length||jQuery(".listing",this).length&&(!jQuery(".listing",this).length||jQuery(".listing > *",this).length)?null:jQuery(this).data("href");clear_styles?jQuery(this).removeAttr("class"):"string"==typeof jQuery(this).attr("id")&&jQuery(this).attr("id").length||jQuery(this).attr("id","google-business-reviews-rating"+(index>1?"-"+index:"")),!clear_styles&&jQuery(this).hasClass("no-styles")&&jQuery(this).removeAttr("class"),jQuery(this).hasClass("link")&&(null!=overall_link?jQuery(this).on("click",{overall_link:overall_link},(function(event){if(!jQuery(event.target).is("a"))return event.preventDefault(),event.stopPropagation(),event.data.overall_link.match(/^\/.*$/)?document.location.href=event.data.overall_link:window.open(event.data.overall_link,"_blank").focus(),!1})):jQuery(this).removeClass("link"),jQuery(this).removeData("href").removeAttr("data-href")),"immediate"==this.getAttribute("data-animate")?this.querySelector(":scope .all-stars.animate").classList.add("animation-start"):null!=this.querySelector(":scope .all-stars.animate")&&observer.observe(this.querySelector(":scope .all-stars.animate")),!star_html&&jQuery(".star",jQuery(".all-stars",e)).length&&(star_css&&(jQuery(".rating-stars",e).length||jQuery(".all-stars",e).append('<span class="rating-stars star temporary" style="display: none;">.</span>'),jQuery(".star.gray",e).css("color")||jQuery(".all-stars",e).append('<span class="star gray temporary" style="display: none;">.</span>'),"string"!=typeof jQuery(".star.gray",e).css("color")||jQuery(".rating-stars",e).css("color").match(/^(?:#(?:F7B\d0\d|E7711B)|rgba?\s*\(23[12],\s*11[34],\s*2[78](?:,\s*1(?:\.0+)?)?\))$/i)||(jQuery(e).data("stars",jQuery(".rating-stars",e).css("color")),star_color=!0),"string"==typeof jQuery(".star.gray",e).css("color")&&(!jQuery(e).hasClass("dark")&&!jQuery(".star.gray",e).css("color").match(/^(?:#(?:A4A4A4|C1C1C1|C9C9C9)|rgba?\s*\(193,\s*193,\s*193(?:,\s*1(?:\.0+)?)?\))$/i)||jQuery(e).hasClass("dark")&&!jQuery(".star.gray",e).css("color").match(/^(?:#B4B4B4|rgba?\s*\(180,\s*180,\s*180(?:,\s*0?\.8)?\))$/i))&&(jQuery(e).data("stars-gray",jQuery(".star.gray",e).css("color")),star_color=!0),jQuery(".temporary",jQuery(".all-stars",e)).length&&jQuery(".temporary",jQuery(".all-stars",e)).remove()),star_color&&("string"==typeof jQuery(e).data("stars")&&jQuery(e).data("stars").length&&!jQuery(e).data("stars").match(/^#(?:F7B\d0\d|E7711B)$/i)||"string"==typeof jQuery(e).data("stars-gray")&&jQuery(e).data("stars-gray").length&&!jQuery(e).data("stars-gray").match(/^#(?:A4A4A4|C1C1C1|C9C9C9)$/i))&&(star_css&&("string"!=typeof jQuery(e).data("stars-gray")||"string"==typeof jQuery(e).data("stars-gray")&&"css"==jQuery(e).data("stars-gray"))&&!jQuery(".star.gray",jQuery(".all-stars",e)).length&&jQuery(".all-stars",e).append('<span class="temporary" style="display: none;">.</span>'),jQuery(".star",jQuery(".all-stars",e)).each((function(){try{star_image=atob(jQuery(this).css("background-image").replace(/^url\(["']data:image\/svg\+xml;charset=UTF-8;base64,(.+)["']\)$/,"$1")),"string"==typeof jQuery(e).data("stars")&&jQuery(e).data("stars").length&&!jQuery(e).data("stars").match(/^#(?:F7B\d0\d|E7711B)$/i)&&(star_image=star_image.replace(/#(?:F7B\d0\d|E7711B)/g,jQuery(e).data("stars"))),"string"==typeof jQuery(e).data("stars-gray")&&jQuery(e).data("stars-gray").length&&!jQuery(e).data("stars-gray").match(/^#(?:A4A4A4|C1C1C1|C9C9C9)$/i)&&(star_image=star_image.replace(/#(?:A4A4A4|C1C1C1|C9C9C9)/g,jQuery(e).data("stars-gray"))),jQuery(this).css("background-image","url('data:image/svg+xml;charset=UTF-8;base64,"+btoa(star_image)+"')")}catch(err){return}})))),jQuery(".review-more-placeholder",e).length&&jQuery(".review-more-placeholder",e).each((function(more){jQuery(this).siblings(".review-full-text").length&&!jQuery(this).siblings(".review-full-text").html().length?(jQuery(this).parent().removeClass("text-excerpt"),jQuery(this).siblings(".review-full-text").remove(),jQuery(this).remove()):jQuery(e).hasClass("js-links")?(jQuery(this).after('<a href="javascript:google_business_reviews_rating('+index+", "+jQuery("li",jQuery(e)).index(jQuery(this).closest("li"))+');" class="review-more-link">'+jQuery(this).html()+"</a>"),jQuery(this).remove()):(jQuery(this).after('<a href="#'+jQuery(e).attr("id")+'" class="review-more-link">'+jQuery(this).html()+"</a>"),jQuery(".review-more-link",jQuery(this).parent()).on("click",(function(event){return event.preventDefault(),event.stopPropagation(),jQuery(this).next(".review-full-text").show(),null==view?(jQuery(this).remove(),!1):(jQuery(this).hide(),google_business_reviews_rating_carousel(this,null),!1)})),jQuery(this).remove())})),jQuery(".fixed-height",e).length&&jQuery(e).hasClass("bubble")&&jQuery(".text",e).each((function(){jQuery(this).prev().length&&(jQuery(this).prev().hasClass("author-avatar")||jQuery(this).prev().hasClass("review-meta")&&jQuery(".author-name",jQuery(this).prev()).length)?jQuery(".text",e).before('<span class="arrow arrow-up"></span>'):jQuery(this).next().length&&(jQuery(this).next().hasClass("author-avatar")||jQuery(this).next().hasClass("review-meta")&&jQuery(".author-name",jQuery(this).next()).length)&&jQuery(".text",e).after('<span class="arrow arrow-down"></span>')})),!star_html&&!star_inline&&jQuery(".all-stars",e).length&&jQuery(".all-stars",e).hasClass("animate")&&"number"==typeof rating&&rating>1.5&&jQuery(".number:eq(0)",e).length?(jQuery(".all-stars",e).after(jQuery("<span>").addClass("all-stars").addClass("backdrop").css({width:Math.ceil(jQuery(".all-stars",e).width()+.1)+"px",margin:jQuery("body").hasClass("rtl")?"0 "+(-1*jQuery(".all-stars",e).width()-.1)+"px 0 0":"0 0 0 "+(-1*jQuery(".all-stars",e).width()-.1)+"px"}).html('<span class="star gray"></span><span class="star gray"></span><span class="star gray"></span><span class="star gray"></span><span class="star gray"></span>')),jQuery(".all-stars:eq(0)",e).position().top-jQuery(".all-stars.backdrop",e).position().top!=0&&jQuery(".all-stars.backdrop",e).css("margin-top",jQuery(".all-stars:eq(0)",e).position().top-jQuery(".all-stars.backdrop",e).position().top+"px"),"string"==typeof jQuery(e).data("stars-gray")&&jQuery(e).data("stars-gray").length&&!jQuery(e).data("stars-gray").match(/^#(?:A4A4A4|C1C1C1|C9C9C9)$/i)&&jQuery(".star",jQuery(".all-stars.backdrop",e)).each((function(){try{star_image=(star_image=atob(jQuery(this).css("background-image").replace(/^url\(["']data:image\/svg\+xml;charset=UTF-8;base64,(.+)["']\)$/,"$1"))).replace(/#(?:A4A4A4|C1C1C1|C9C9C9)/g,jQuery(e).data("stars-gray")),jQuery(this).css("background-image","url('data:image/svg+xml;charset=UTF-8;base64,"+btoa(star_image)+"')")}catch(err){return}})),jQuery(".star:last",jQuery(".all-stars:eq(0)",e)).on("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(event){jQuery(".all-stars.backdrop",e).length&&jQuery(".all-stars.backdrop",jQuery(this).closest(".rating")).fadeOut(300,(function(){jQuery(this).remove()}))})),setTimeout((function(e){jQuery(".all-stars.backdrop",e).length&&jQuery(".all-stars.backdrop",e).fadeOut(300,(function(){jQuery(this).remove()}))}),4800,jQuery(".all-stars.backdrop",e).length)):star_html&&"number"==typeof rating&&(safari&&jQuery(".all-stars",e).addClass("safari"),5==rating?setTimeout((function(){jQuery(".all-stars",e).css("color","rgba(0, 0, 0, 0)")}),2400):0==rating&&jQuery(".rating-stars",e).remove(),jQuery(".rating-stars",e)&&jQuery(".all-stars",e).length&&("number"==typeof jQuery(".rating-stars",e).data("multiplier")&&(stars_width_multiplier=jQuery(".rating-stars",e).data("multiplier")),rating_width=Math.round(jQuery(".all-stars",e).width()*rating*stars_width_multiplier+.05*stars_width_multiplier*Math.sin(2*rating*Math.PI)+.5*stars_width_multiplier*(Math.round(rating+.49)-rating)),jQuery(".rating-stars",e).width(rating_width).css({margin:jQuery("body").hasClass("rtl")?"0 0 0 "+-1*rating_width+"px":"0 "+-1*rating_width+"px 0 0"}))),null==view||view>jQuery(".listing",e).children().length||google_business_reviews_rating_carousel(e)}))}function google_business_reviews_rating_carousel(e,i,auto){if("object"==typeof e){if("number"!=typeof i)i=jQuery(e).hasClass("google-business-reviews-rating")||jQuery(this).hasClass("review-more-link")||!jQuery(e).closest(".bullet").length?null:jQuery(e).closest(".bullet").index();if("boolean"!=typeof auto)auto=!1;e=jQuery(e).hasClass("google-business-reviews-rating")?e:jQuery(e).closest(".google-business-reviews-rating");var view=jQuery(e).hasClass("carousel")&&"number"==typeof jQuery(e).data("view")&&jQuery(e).data("view")>=1&&jQuery(e).data("view")<=50?jQuery(e).data("view"):null,slide=null!=view&&"number"==typeof jQuery(e).data("slide")&&jQuery(e).data("slide")>=2?jQuery(e).data("slide"):1,iterations=null!=view&&"number"!=typeof jQuery(e).data("loop")&&"number"==typeof jQuery(e).data("iterations")?jQuery(e).data("iterations"):null,loop=null!=view&&"number"==typeof jQuery(e).data("loop")&&(jQuery(e).data("loop"),1)||"boolean"==typeof jQuery(e).data("loop")?"number"==typeof jQuery(e).data("loop")&&jQuery(e).data("loop")<1||jQuery(e).data("loop"):null!=iterations&&Math.round(iterations*view),loop_counter=null!=view&&loop&&"number"==typeof jQuery(e).data("counter")?jQuery(e).data("counter"):null,interval=null!=view&&loop&&"number"==typeof jQuery(e).data("interval")?jQuery(e).data("interval"):null,interval_id=null!=view&&loop&&"number"==typeof jQuery(e).data("interval-id")?jQuery(e).data("interval-id"):null,new_slide=null!=i?i+1:auto?slide+1:null,transition=null!=view&&"string"==typeof jQuery(e).data("transition")?jQuery(e).data("transition"):null,bounds=(null!=view&&"string"==transition&&"number"==typeof jQuery(e).data("transition-duration")&&jQuery(e).data("transition-duration"),null),list_area=[null,null,null,null],list_width=0,list_height=0;if(!(null==view||null!=new_slide&&view>jQuery(".listing:eq(0)",e).children().length||auto&&jQuery(e).is(":hover")))if(null!=new_slide&&(view<1||slide==new_slide||(!auto||auto&&("boolean"==typeof loop&&!loop||"number"==typeof loop&&null!=loop_counter&&loop_counter>loop))&&(new_slide<1||new_slide>Math.ceil(jQuery(".listing:eq(0) > *",e).length/view))))auto&&null!=interval_id&&clearInterval(interval_id);else{if(auto&&(new_slide<1||new_slide>Math.ceil(jQuery(".listing:eq(0) > *",e).length/view))&&(new_slide=new_slide<1?Math.ceil(jQuery(".listing:eq(0) > *",e).length/view):1,jQuery(".navigation",e).length||jQuery(e).data("slide",new_slide)),null!=new_slide&&(jQuery(".listing:eq(0) > *",e).each((function(j){if(Math.ceil((jQuery(this).data("index")+1)/view)==slide)return jQuery(".review-more-link",this).length&&jQuery(".review-full-text",this).length&&(jQuery(".review-full-text",this).hide(),jQuery(".review-more-link",this).show()),void jQuery(this).removeClass("visible").addClass("hidden");Math.ceil((jQuery(this).data("index")+1)/view)!=new_slide||jQuery(this).removeClass("hidden").addClass("visible")})),jQuery(".navigation",e).length&&jQuery("a:eq("+(new_slide-1)+")",jQuery(".navigation",e)).parent().addClass("current").siblings().removeClass("current"),slide=new_slide,jQuery(e).data("slide",slide)),jQuery(".listing:eq(0) > .visible",e).each((function(j){bounds=this.getBoundingClientRect(),(null==list_area[0]||list_area[0]>bounds.top)&&(list_area[0]=bounds.top),(null==list_area[1]||list_area[1]<bounds.right)&&(list_area[1]=bounds.right),(null==list_area[2]||list_area[2]<bounds.top)&&(list_area[2]=bounds.bottom),(null==list_area[3]||list_area[3]>bounds.right)&&(list_area[3]=bounds.left)})),null!=list_area[0]&&null!=list_area[1]&&null!=list_area[2]&&null!=list_area[3]&&(list_width=parseInt(list_area[1]-list_area[3])+parseInt(jQuery(".listing:eq(0) > .visible:eq(0)",e).css("margin-left"))+parseInt(jQuery(".listing:eq(0) > .visible:last",e).css("margin-right")),list_height=parseInt(list_area[2]-list_area[0])+parseInt(jQuery(".listing:eq(0) > .visible:eq(0)",e).css("margin-top"))+parseInt(jQuery(".listing:eq(0) > .visible:last",e).css("margin-bottom")),0==list_width||0==list_height))return jQuery(".navigation",e)&&jQuery("a",jQuery(".navigation",e)).each((function(){jQuery(this).on("click",(function(event){event.preventDefault(),event.stopPropagation()}))})),"number"!=typeof jQuery(e).data("reattempt")||jQuery(e).data("reattempt")<1?(interval_id=setTimeout(google_business_reviews_rating_carousel,10,e),void jQuery(e).data("reattempt",interval_id)):void 0;auto&&"number"==typeof loop&&loop>=1&&(("number"!=typeof loop_counter||loop_counter<1)&&(loop_counter=1),loop_counter++,jQuery(e).data("counter",loop_counter),auto&&null!=interval_id&&"number"==typeof loop&&loop_counter>loop)?clearInterval(interval_id):"number"!=typeof jQuery(".listing:eq(0)",e).data("initial-height")&&null!=list_area[0]&&0!=list_height&&(jQuery(".listing:eq(0)",e).data("initial-height",parseInt(list_height)),jQuery(".navigation",e).length&&jQuery("a",jQuery(".navigation",e)).each((function(index){jQuery(this).on("click",(function(event){event.preventDefault(),event.stopPropagation(),jQuery(this).hasClass("current")||google_business_reviews_rating_carousel(this)}))})),!auto&&null==interval_id&&("boolean"==typeof loop&&loop||"number"==typeof loop&&loop>=1)&&"number"==typeof interval&&interval>=.3&&interval<=999&&(interval_id=setInterval(google_business_reviews_rating_carousel,1e3*interval,e,null,!0),jQuery(e).data("interval-id",interval_id)),"boolean"==typeof jQuery(e).data("draggable")&&!jQuery(e).data("draggable")||"number"==typeof jQuery(e).data("draggable")&&jQuery(e).data("draggable")<=0||jQuery(".listing:eq(0)",e).on("touchstart",(function(event){var e=jQuery(this).closest(".google-business-reviews-rating"),click_start=event.originalEvent.touches[0].pageX,view=jQuery(e).hasClass("carousel")&&"number"==typeof jQuery(e).data("view")&&jQuery(e).data("view")>=1&&jQuery(e).data("view")<=50?jQuery(e).data("view"):null,slide=null!=view&&"number"==typeof jQuery(e).data("slide")&&jQuery(e).data("slide")>=2?jQuery(e).data("slide"):1;jQuery(this).one("touchmove",(function(event){var move_x=event.originalEvent.touches[0].pageX;if(!jQuery("body").hasClass("rtl")&&Math.ceil(move_x-click_start)>7||jQuery("body").hasClass("rtl")&&Math.ceil(click_start-move_x)>7){if(!jQuery(".navigation",e).length){if(slide<=1)return;return void google_business_reviews_rating_carousel(e,slide-2)}if(jQuery(".current",jQuery(".navigation",e)).index()<=0)return;google_business_reviews_rating_carousel(jQuery(".current > a",jQuery(".navigation",e)),jQuery(".current",jQuery(".navigation",e)).index()-1)}else if(!jQuery("body").hasClass("rtl")&&Math.ceil(click_start-move_x)>7||jQuery("body").hasClass("rtl")&&Math.ceil(move_x-click_start)>7){if(!jQuery(".navigation",e).length){if(slide>=Math.ceil(jQuery(".listing:eq(0)",e).children().length/view))return;return void google_business_reviews_rating_carousel(e,slide)}if(jQuery(".current",jQuery(".navigation",e)).index()>=jQuery(".bullet",jQuery(".navigation",e)).length-1)return;google_business_reviews_rating_carousel(jQuery(".current > a",jQuery(".navigation",e)),jQuery(".current",jQuery(".navigation",e)).index()+1)}else;})),jQuery(this).on("touchend",(function(){jQuery(this).off("touchmove")}))})))}}}function google_business_reviews_rating_actions(event){if(jQuery(".google-business-reviews-rating.carousel").length&&"keydown"==event.type&&(37==event.keyCode||39==event.keyCode)){var i=0,bounds=null,active=!1,view=null,slide=null;for(i=0;i<2;i++)jQuery(".google-business-reviews-rating.carousel").each((function(){return!(active||"boolean"==typeof jQuery(this).data("cursor")&&!jQuery(this).data("cursor")||"number"==typeof jQuery(this).data("cursor")&&jQuery(this).data("cursor")<=0)&&(0==i&&!jQuery(this).is(":hover")||!jQuery(".listing",this).length||"object"!=typeof(bounds=this.querySelector(".listing").getBoundingClientRect())||bounds.bottom<0||bounds.top>(window.innerHeight||document.documentElement.clientHeight)?void 0:(active=!0,view=jQuery(this).hasClass("carousel")&&"number"==typeof jQuery(this).data("view")&&jQuery(this).data("view")>=1&&jQuery(this).data("view")<=50?jQuery(this).data("view"):null,slide=null!=view&&"number"==typeof jQuery(this).data("slide")&&jQuery(this).data("slide")>=2?jQuery(this).data("slide"):1,!jQuery("body").hasClass("rtl")&&37==event.keyCode||jQuery("body").hasClass("rtl")&&39==event.keyCode?jQuery(".navigation",this).length?(jQuery(".current",jQuery(".navigation",this)).index()<=0||google_business_reviews_rating_carousel(jQuery(".current > a",jQuery(".navigation",this)),jQuery(".current",jQuery(".navigation",this)).index()-1),!1):!(slide<=1)&&void google_business_reviews_rating_carousel(this,slide-2):!!(!jQuery("body").hasClass("rtl")&&39==event.keyCode||jQuery("body").hasClass("rtl")&&37==event.keyCode)&&(jQuery(".navigation",this).length?(jQuery(".current",jQuery(".navigation",this)).index()>=jQuery(".bullet",jQuery(".navigation",this)).length-1||google_business_reviews_rating_carousel(jQuery(".current > a",jQuery(".navigation",this)),jQuery(".current",jQuery(".navigation",this)).index()+1),!1):!(slide>=Math.ceil(jQuery(".listing:eq(0)",this).children().length/view))&&void google_business_reviews_rating_carousel(this,slide))))}))}}jQuery(document).ready((function($){google_business_reviews_rating()})),jQuery(window).on("keydown",(function(event){google_business_reviews_rating_actions(event)}));