PageSourceSearch

https://gastroguide.de/js/gastro3.min.js?0.3.378

js gastroguide.de collected 2026-09-24 09:38:31 UTC 24,307 bytes, 1 lines download raw bytes

1(function(){var e;var d=function(){};var b=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"];var c=b.length;var a=(window.console=window.console||{});while(c--){e=b[c];if(!a[e]){a[e]=d}}}());window.G3=(function($){var gGalerie=null;$(function(){var ellipsestext="...";var moretext="mehr lesen";var lesstext="";$(".more").each(function(){var showChar=$(this).data("chars");var content=$(this).html();if(content.length>showChar){var c=content.substr(0,showChar);var h=content.substr(showChar,content.length-showChar);var html=c+'<span class="moreellipses">'+ellipsestext+'&nbsp;</span><span class="morecontent"><span>'+h+'</span>&nbsp;&nbsp;<a href="" class="morelink">'+moretext+"</a></span>";$(this).html(html)}});$(".morelink").click(function(){if($(this).hasClass("less")){$(this).removeClass("less");$(this).html(moretext)}else{$(this).addClass("less");$(this).html(lesstext)}$(this).parent().prev().toggle();$(this).prev().toggle();return false});if(!!!("ontouchstart" in window)){$("[title]").tooltip({placement:"bottom",container:"body"})}gGalerie=new Galerie($("#allWrap"));var gal=$("[role=gGalerie]");if(gal.length==0){var gal=$(".gGalerie")}gal.click(function(e){e.preventDefault();var el=$(this);var gastroId=el.data("betriebid");var fotoId=el.data("photoid");var filter=el.data("filter");var filterId=el.data("filterid");gGalerie.getGalerieAndShow(gastroId,fotoId,filter,filterId)});$(".betGal").removeClass("betGal")});function zipLocTypeahead(zipEl,locEl){var engine=new Bloodhound({name:"geo",remote:{url:"/geoac/zip/?term=%QUERY",wildcard:"%QUERY"},datumTokenizer:function(d){return Bloodhound.tokenizers.whitespace(d.val)},limit:30,queryTokenizer:Bloodhound.tokenizers.whitespace});zipEl.typeahead({minLength:1,highlight:true,},{limit:30,source:engine,displayKey:"value",templates:{header:"<div>",footer:"</div>",suggestion:Handlebars.compile("<p ><strong>{{value}}</strong>, {{location}}</p>")}}).on("typeahead:selected typeahead:autocompleted",function(_,item){zipEl.val(item.value);locEl.val(item.location)})}function geoTypeahead(el){var engine=new Bloodhound({name:"geo2",remote:{url:"/locAc.php/?term=%QUERY",wildcard:"%QUERY"},datumTokenizer:function(d){return Bloodhound.tokenizers.whitespace(d.val)},limit:Infinity,queryTokenizer:Bloodhound.tokenizers.whitespace});el.typeahead({minLength:1,highlight:true},{source:engine,}).on("typeahead:selected typeahead:autocompleted",function(_,item){el.typeahead("val",item)})}function gastroNameTypeahead(el,city){var engine=new Bloodhound({name:"gastroName",remote:{url:"/search/gastro-name/?term=%QUERY&city="+city,wildcard:"%QUERY",filter:function(data){return $.map(data,function(option){return{name:option.name,id:option.id}})}},datumTokenizer:function(d){return Bloodhound.tokenizers.whitespace(d.name)},limit:Infinity,queryTokenizer:Bloodhound.tokenizers.whitespace});el.typeahead({minLength:1,highlight:true,},{source:engine,templates:{suggestion:function(data){sOutput="<div>"+data.name+"</div>";return sOutput}},}).on("typeahead:selected typeahead:autocompleted",function(_,item){el.typeahead("val",item.name)})}function readReview(id){$(".betrieb-review").find(".glow").removeClass("glow");$("#review"+id+" .well-sm").addClass("glow");$("#short-"+id+",#long-"+id).toggle();$.ajax({url:"/reviews/set-read-cntr/",type:"POST",data:{id:id},dataType:"json"})}function readMoreNews(id){$(".betrieb-news").find(".glow").removeClass("glow");$(".betrieb-news"+id).addClass("glow");$("#shortNews-"+id+",#longNews-"+id).toggle()}function postForm(form,opts){var form=$("#"+form);opts=opts||{};var errorEl=form.find("[role=error]");if(errorEl){errorEl.hide().addClass("alert alert-danger")}var submitEl=form.find("[role=submit]");if(submitEl){submitEl.attr("loading-text","Bitte warten...")}form.submit(function(e){e.preventDefault();if($.isFunction(opts.validate)&&!opts.validate()){return}if($.isFunction(opts.beforeSubmit)){opts.beforeSubmit()}errorEl.hide();submitEl&&submitEl.button("loading");$.ajax({url:form.attr("action"),type:"POST",dataType:"JSON",data:form.serialize()}).done(function(resp){if(resp.isOk&&!!opts.success){opts.success(resp);return}if(!resp.isOk&&opts.error){opts.error(resp)}else{if(errorEl){errorEl.html(resp.error).fadeIn()}}}).fail(function(a){alert("NETWORK/SERVER ERROR")}).always(function(){submitEl&&submitEl.button("reset")})});return}var _guid=0;function guid(){return ++_guid}var modal={container:null,id:null,open:function(url,pTitle,pWidth,onClose){if(this.id==null){this.id=guid();if(typeof pTitle=="undefined"){pTitle=""}var header="";if(pTitle.length){header='<div class="modal-header"><button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button><h4 class="modal-title">'+pTitle+"</h4></div>"}var html='<div id="'+this.id+'" class="modal fade"><div class="modal-dialog"><div class="modal-content">'+header+'<div id="'+this.id+'I"><img src="/imgs/v3/loading.gif" class="center-block" style="padding: 40px 0;" /></div></div></div>';this.container=$(html)}this.url=url;$("#"+this.id+"I").html('<img src="/imgs/v3/loading.gif" class="center-block" style="padding: 40px 0;" />');var $this=this;this.container.on("shown.bs.modal",function(){if(typeof pWidth!="undefined"){if(pWidth>$(window).width()){pWidth=$(window).width()-40}var half=-1*parseInt(pWidth/2);$(this).css({width:pWidth,"margin-left":half})}var wrap=$("#"+$this.id+"I");$.get($this.url,function(data){try{response=eval("("+data+")");if(parseInt(response.isAuthError)==1){$.get("/user/login-required-ajax",function(html){wrap.html(html)});return}}catch(e){}wrap.html(data);if(typeof onSuccess!="undefined"&&$.isFunction(onSuccess)){onSuccess()}})}).modal();var $this=this;this.container.on("hidden.bs.modal",function(){$this.container.off("shown.bs.modal");$(this).remove();$this.id=null;
1if(onClose=="reload"){window.location.reload()}})},close:function(){this.container.find(".close").click()},reload:function(url,onClose){this.url=url;this.onClose=onClose;this.container.trigger("shown")}};function openWindow(url,title,width,height){if(typeof title=="undefined"){title=""}if(typeof width=="undefined"){width=500}if(typeof height=="undefined"){height=500}window.open(url,title,"toolbar=no,menubar=no,width="+width+",height="+height+",resizable=yes,scrollbars=yes")}$(function(){var openid=$(".openid");openid.on("click",function(){openWindow("/user/openid-login/provider/"+$(this).attr("id"),"",1000)});$(".fbconnect").on("click",function(){openWindow("/user/fbc-login","Facebook Connect",1000)});$("#twitter").on("click",function(){window.location.href="/user/twitter-login"})});function like(gr,id,wrapId){var btnEl=$($("#"+wrapId).find("[role=like]")[0]);btnEl.find("i").removeClass().addClass("fa fa-spinner fa-spin");$.post("/likes/like",{gr:gr,id:id},function(res){btnEl.find("i").removeClass().addClass("fa fa-thumbs-up");$("#"+wrapId).find("[role=like]").toggleClass("hidden")},"json")}function unlike(gr,id,wrapId){var btnEl=$($("#"+wrapId).find("[role=like]")[1]);btnEl.find("i").removeClass().addClass("fa fa-spinner fa-spin");$.post("/likes/unlike",{gr:gr,id:id},function(res){btnEl.find("i").removeClass().addClass("liked fa fa-thumbs-up");$("#"+wrapId).find("[role=like]").toggleClass("hidden")},"json")}function whoLikes(thing,thingId){G3.modal.open("/likes/all-liker/thing/"+thing+"/thingId/"+thingId,"Guides die das hilfreich finden")}function wellWritten(id,btnEl){btnEl=$(btnEl);btnEl.find("i").removeClass().addClass("text-muted fa fa-spinner fa-spin");$.post("/likes/well-written",{id:id},function(res){btnEl.toggleClass("well-written-active");btnEl.find("i").removeClass().addClass("fa fa-heart")},"json")}function whoWellwritten(thingId){G3.modal.open("/likes/all-wellwritten/thingId/"+thingId,"Guides die das gut geschrieben f
1inden")}function deleteComment(id,wrapId){$.post("/comments/delete-comment/",{id:id},function(res){$("#"+wrapId).fadeOut("normal",function(){$(this).remove()})})}function addFriend(id){var el=$('[data-id="'+id+'"]');var saveData=el.html();el.html('<i class="fa fa-spinner fa-spin"></i>');$.ajax({url:"/mem-friends/request-friendship/memberId/"+id,type:"GET",dataType:"JSON",}).done(function(res){if(res.isOk==1){el.removeClass("btn-primary").addClass("btn-default").attr("disabled",true);el.html('<i class="fa fa-check"></i> Freundschaftsanfrage verschickt')}else{el.html(saveData)}})}function deactivateReview(id){bootbox.confirm("Bewertung deaktivieren?",function(result){if(!result){return}$.post("/admin2/reviews/deactivate/",{rId:id},function(res){if(res.isOk==1){$("#review"+id).fadeOut("fast")}},"json")})}function deleteReview(id){bootbox.confirm("Bewertung löschen?",function(result){if(!result){return}$.post("/admin2/reviews/delete/",{rId:id},function(res){if(res.isOk==1){$("#review"+id).fadeOut("fast")}},"json")})}function deleteReviewUser(id){bootbox.confirm("Bewertung löschen?",function(result){if(!result){return}$.post("/reviews/delete/",{rId:id},function(res){if(res.isOk==1){$("#review"+id).fadeOut("fast")}},"json")})}function deleteReviewPhoto(id){var el=$('[photo-id="'+id+'"]');el.find(".fa-trash-o").removeClass("fa-trash-o").addClass("fa-spin fa-spinner");$.ajax({url:"/betrieb/delete-photo/id/"+id,type:"POST",dataType:"JSON",data:{pid:id}}).done(function(res){if(res.isOk==1){el.fadeOut()}else{return}})}function toggleHighlight(elSelector){$(".state-highlight").removeClass("state-highlight");$(elSelector).addClass("state-highlight")}var isMobile=window.matchMedia("(max-width: 760px)");if(!isMobile.matches){var cache={};var activeEl=null;var showPopover=false;function displayUserSummary(bid,el,html){if(!!activeEl){el.popover("destroy")}el.popover({content:html,selector:el,placement:"bottom",html:true,template:'<div class="popover user-popover" role="tooltip"><div class="arrow"></div><div class="popover-content"></div></div>'});el.popover("show");activeEl=el;el.one("mouseleave",function(){activeEl=null;el.popover("destroy");el.removeClass("hasFocus")})}function displaySummary(bid,el,html){if(!!activeEl){el.popover("destroy")}el.popover({content:html,selector:el,placement:"bottom",html:true,template:'<div class="popover betrieb-popover" role="tooltip"><div class="arrow"></div><div class="popover-content"></div></div>'});el.popover("show");activeEl=el;el.one("mouseleave",function(){activeEl=null;el.popover("destroy");el.removeClass("hasFocus")})}}function attachSummaries(){var ussu=$("[role=user-summary]");if(ussu.length==0){var ussu=$(".user-summary")}ussu.each(function(){var el=$(this);el.attr("role","");el.on("mouseenter",function(e){var el=$(this);var bid=el.data("id");showPopover=true;el.addClass("hasFocus");setTimeout(function(){if(el.hasClass("hasFocus")){if($(".user-popover").is(":visible")){$(".user-popover").hide()}if(typeof cache[bid]!="undefined"){displayUserSummary(bid,el,cache[bid])}else{$.ajax({url:"/profile/summary2",type:"POST",data:{mid:el.data("id")},dataType:"html"}).done(function(html){if(showPopover==true){cache[bid]=html;displayUserSummary(bid,el,html)}})}}},350)});el.on("mouseleave",function(e){showPopover=false;$(this).removeClass("hasFocus")})});var besu=$("[role=betrieb-summary]");if(besu.length==0){var besu=$(".betrieb-summary")}besu.each(function(){var el=$(this);el.attr("role","");el.on("mouseenter",function(e){var el=$(this);var bid=el.data("id");showPopover=true;el.addClass("hasFocus");setTimeout(function(){if(el.hasClass("hasFocus")){if($(".betrieb-popover").is(":visible")){$(".betrieb-popover").hide()}if(typeof cache[bid]!="undefined"){displaySummary(bid,el,cache[bid])}else{$.ajax({url:"/betrieb/summary",type:"POST",data:{bid:el.data("id")},dataType:"html"}).done(function(html){if(showPopover==true){cache[bid]=html;displaySummary(bid,el,html)}})}}},350)});el.on("mouseleave",function(e){showPopover=false;$(this).removeClass("hasFocus")})})}$(function(){$("[role=abo]").on("click",function(e){var el=$(this);$(this).find("i").removeClass().addClass("fa fa-spinner fa-spin");$.ajax({url:"/follows/follow/betriebId/",type:"POST",data:{betriebId:el.data("id")},dataType:"html"}).done(function(html){el.html('<i class="fa fa-check"></i> Abonniert');el.hide();el.parent().find(".dropdown").show()})});
1$("[role=add-friend]").click(function(e){e.preventDefault();var el=$(this);el.find(".fa-user").addClass("fa-spin fa-spinner");$.ajax({url:"/mem-friends/request-friendship/memberId/"+el.data("id"),type:"POST",dataType:"JSON"}).done(function(resp){if(!resp.isOk){alert(resp.error)}else{el.attr("disabled","disabled");el.html('<i class="fa fa-check"></i> Anfrage verschickt')}})});$('[role="approveFriendship"]').click(function(e){e.preventDefault();var el=$(this);$.ajax({url:el.data("url"),type:"POST",dataType:"JSON"}).done(function(){var wrapSel=el.data("wrap-sel");$(wrapSel).fadeOut()})});$(".collapse-link").click(function(){if($(this).children().hasClass("fa-plus")){$(this).children().removeClass("fa-plus").addClass("fa-minus")}else{$(this).children().removeClass("fa-minus").addClass("fa-plus")}})});$(function(){attachSummaries()});function reloadCaptcha(imgId,inputId){$("#"+imgId).attr("src","/default/user/captcha/"+Math.random());$("#"+inputId).val("")}return{zipLocTypeahead:zipLocTypeahead,geoTypeahead:geoTypeahead,gastroNameTypeahead:gastroNameTypeahead,readReview:readReview,readMoreNews:readMoreNews,postForm:postForm,modal:modal,like:like,unlike:unlike,whoLikes:whoLikes,wellWritten:wellWritten,whoWellwritten:whoWellwritten,deleteComment:deleteComment,addFriend:addFriend,deactivateReview:deactivateReview,deleteReviewPhoto:deleteReviewPhoto,deleteReview:deleteReview,deleteReviewUser:deleteReviewUser,toggleHighlight:toggleHighlight,attachSummaries:attachSummaries,reloadCaptcha:reloadCaptcha,getGallery:function(){return gGalerie}}})($);var __galerieUid=0;function Galerie(d,c,e,b){e=e||"";b=b||"";this.id="__galerie"+(__galerieUid++);this.fotos=[];if($.isArray(c)){this.fotos=c}else{if(typeof c!="undefined"){var a=this;$.get("/webservice/betrieb/galerie/id/"+c+"?filter="+e+"&filterId="+b,function(f){a.fotos=f.fotos;a.preload()},"json")}}this.window={};this.allWrap=d;this.allWrap.append('<div id="'+this.id+'" class="galWrap hidden"></div>');this.wrapEl=$("#"+this.id);this.shadowEl=null;this.scrollTop=$("html,body,document").scrollTop();this.currentFotoIndex=null;this.elThumbsWrap=null;this.elFotoInfo=null;this.elFoto=null;this.elThumbsBar=null;this.infoWidth=320;this.thumbWidth=60;this.shadowMargin=50;return this}Galerie.prototype={preload:function(){for(var a in this.fotos){(new Image()).src=this.fotos[a].url}},getGalerieAndShow:function(b,f,e,c){e=e||"";c=c||"";var a=this;var g=$("html,body,document").scrollTop();document.documentElement.style.overflow="hidden";document.body.scroll="no";document.ontouchmove=function(j){j.preventDefault()};this.wrapEl.removeClass("hidden");var d=$(window).width();var h=window.innerHeight?window.innerHeight:$(window).height();$('<div class="galShadow"><i class="fa fa-spinner fa-spin fa-3x" id="galSpinner"></i></div>').appendTo(this.allWrap.parent());this.shadowEl=$(".galShadow");this.shadowEl.css({top:$("#top-header").offset().top<0?$("#betrieb-info").offset().top:$("#top-header").offset().top,width:(d+"px"),height:(h+"px")});d=d-(2*this.shadowMargin);h=h-(2*this.shadowMargin);this.wrapEl.css({width:(d+"px"),height:(h+"px")});$.get("/webservice/betrieb/galerie/id/"+b+"?filter="+e+"&filterId="+c,function(j){a.fotos=j.fotos;$("#galSpinner").hide();a.show(f,b);a.preload()},"json")},show:function(e,b){var d=['<div class="galBody cf relative">','<div class="galBigFotoWrap relative">','<div id="galWaitIndi" style="display: none;"><i class="fa fa-spinner fa-spin"></i></div>','<img class="galBigFoto" src="/imgs/wait-large.gif" id="galBigFoto" ondragstart="return false;" />',"</div>",'<div id="galFotoInfoWrap" class="cf galFotoInfoWrap"></div>','<span class="galNavPrev fa fa-chevron-left" style="display: none;"></span>','<span class="galNavNext fa fa-chevron-right" style="display: none;"></span>','<span class="close" id="galClose">&times;</span>',"</div>",'<div class="galThumbsBar">','<div id="galThumbsWrap" class="galThumbsWrap"></div>',"</div>"].join("");this.wrapEl.html(d);this.elThumbsBar=this.wrapEl.find(".galThumbsBar");this.elThumbsWrap=this.wrapEl.find(".galThumbsWrap");this.elFotoInfo=this.wrapEl.find(".galFotoInfoWrap");this.elFoto=this.wrapEl.find(".galBigFoto");this.elTopbar=this.wrapEl.find("#galTopbarWrap");this.elFotoWrap=this.wrapEl.find(".galBigFotoWrap");this.elNavNext=this.wrapEl.find(".galNavNext");this.elNavPrev=this.wrapEl.find(".galNavPrev");var c="";for(i=0;i<this.fotos.length;
1i++){c+='<img src="'+this.fotos[i].thumbnail+'" class="galThumb " id="galThumb'+this.fotos[i].id+'" fotoId="'+this.fotos[i].id+'" rev="'+i+'"  rel="galThumb" title="'+this.fotos[i].title+'" />'}this.elThumbsWrap.html(c);var f=$('img[rel="galThumb"]');var a=this;$("#galClose").on("click",function(){a.hide()});$(window).resize(function(){a.resize()});$(document).keyup(function(g){if(g.keyCode==27&&$(".editable-container").length==0){a.hide()}});this.elFoto.mousemove(function(k){var h=$(this).innerWidth();var j=$(this).offset();var g=k.pageX-j.left;if(h/2>g){a.elNavNext.hide();a.elNavPrev.show()}else{a.elNavPrev.hide();a.elNavNext.show()}}).mouseout(function(){a.elNavPrev.hide();a.elNavNext.hide()});$(".galNavNext").mouseenter(function(){a.elNavNext.show()});$(".galNavPrev").mouseenter(function(){a.elNavPrev.show()});this.elFotoWrap.swipe({swipe:function(j,l,m,k,g,h){if(l=="left"){a.next()}else{if(l=="right"){a.prev()}}}});f.mouseleave(function(){f.css({opacity:"0.5"})});f.mouseenter(function(){$(this).css({opacity:"1.0"})});f.click(function(){$("#galFotoInfoWrap").hide();$(".galFotoDeleted").hide();$("#galTopbarWrap").remove();var g=$(this);a.elFoto.attr("src",g.attr("src")).addClass("fadeIn animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass().addClass("galBigFoto")});f.css({"border-color":"#000",opacity:"0.5"});$(this).css({"border-color":"#fff",opacity:"1.0"});f.removeClass("galImgActive");$(this).addClass("galImgActive");a.currentFotoIndex=$(this).attr("rev");var h=a.fotos[a.currentFotoIndex];if(typeof h.image=="undefined"){$("#galWaitIndi").show();h.image=new Image();h.image.src=h.url;h.image.onload=function(){$("#galWaitIndi").hide();a.elFoto.attr("src",h.url);a.resize();$.get("/betrieb/foto-info-v3/fotoId/"+h.id,function(j){$(".galFotoInfoWrap").html(j).show().addClass("fadeIn animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("fadeIn animated")})})}}else{a.elFoto.attr("src",h.url);a.resize();$.get("/betrieb/foto-info-v3/fotoId/"+h.id,function(j){$(".galFotoInfoWrap").html(j).show().addClass("fadeIn animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("fadeIn animated")})})}});this.resize();if(typeof e!="undefined"){$("#galThumb"+e).click()}else{this.elThumbsWrap.find("img:first").click()}$(".galNavPrev").click(function(){a.prev()});$(".galNavNext").click(function(){a.next()});$(document).keyup(function(g){if(g.keyCode==39&&$(".editable-container").length==0){a.next()}if(g.keyCode==37&&$(".editable-container").length==0){a.prev()}});this.elFoto.click(function(k){var h=$(this).innerWidth();var j=$(this).offset();var g=k.pageX-j.left;if(h/2>g){a.prev()}else{a.next()}});if(this.fotos.length<2){$(".galNavPrev, .galNavNext").hide();this.elThumbsWrap.hide()}this.shadowEl.click(function(){a.hide()})},resize:function(){var c=$(window).width();var a=window.innerHeight?window.innerHeight:$(window).height();this.shadowEl.css({width:(c+"px"),height:(a+"px")});var g=c-100;var n=a-(2*this.shadowMargin)-60;this.elFoto.css({width:"",height:""});var o=this.elFoto.width();var d=this.elFoto.height();var b=o;var f=d;if(b<300){b=300}if(b>g){b=g}if(b!=o){f=b*d/o}if(f<200){f=200;b=f*o/d}if(f>n){f=n;b=f*o/d}var j=b+this.infoWidth;var p=f;if(p<400){p=400}if(j<800){j=800}this.wrapEl.css({width:(b+"px"),height:(p+"px")});this.wrapEl.find(".galBody").css({width:(b+"px"),height:(p+"px")});this.elFotoInfo.css({});this.elFoto.css({width:("100%"),height:(f+"px")});this.elFoto.css("margin-top",0);if(f<(p-2)){this.elFoto.css("margin-top",parseInt(p-f)/2)}this.elFoto.css("margin-left",0);if(b<(j-2)){}$(".galNavNext, .galNavPrev").css("top",p/2-10);var m=this.fotos.length*this.thumbWidth;this.elThumbsBar.css({width:this.wrapEl.width()});this.elThumbsWrap.css({width:m});this.elFotoInfo.css({});var h=($(window).height()-this.wrapEl.height())/3;if(h<0){h=0}var e=($(window).width()-this.wrapEl.width())/2;if(e<0){e=0}this.wrapEl.css({top:($("#top-header").offset().top<0?$("#betrieb-info").offset().top:$("#top-header").offset().top)+h,left
1:e+"px"});var l=this.elThumbsWrap.parent().width();if(m<this.elThumbsWrap.parent().width()){return}var q=parseInt(this.elThumbsWrap.css("left"));var e=(this.currentFotoIndex*this.thumbWidth)-l/2;if(e<0&&Math.abs(e)<=(l/2)){this.elThumbsWrap.animate({left:0},"fast");return}if((m-e-this.thumbWidth/2)<=(l)){this.elThumbsWrap.animate({left:-1*(m-l)},"fast");return}var k=Math.abs(e-l/2);if(e<=(q-(this.thumbWidth/2))){this.elThumbsWrap.animate({left:e-(this.thumbWidth/2)},"fast")}else{this.elThumbsWrap.animate({left:-1*(e+(this.thumbWidth/2))},"fast")}},prev:function(){$(".galFotoDeleted").hide();this.currentFotoIndex--;if(this.currentFotoIndex<0){this.currentFotoIndex=this.fotos.length-1}var a=this.fotos[this.currentFotoIndex].id;this.elTopbar.hide();this.elFotoInfo.fadeOut();this.elFoto.addClass("fadeOutRight animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("fadeOutRight animated");$("#galThumb"+a).click()})},next:function(){$(".galFotoDeleted").hide();this.currentFotoIndex++;if(this.currentFotoIndex>(this.fotos.length-1)){this.currentFotoIndex=0}var a=this.fotos[this.currentFotoIndex].id;this.elTopbar.hide();this.elFotoInfo.fadeOut();this.elFoto.addClass("fadeOutLeft animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("fadeOutLeft animated");$("#galThumb"+a).click()})},hide:function(){this.wrapEl.addClass("hidden").html("");document.documentElement.style.overflow="auto";document.body.scroll="yes";document.ontouchmove=function(a){return true};this.shadowEl.remove();$(document).unbind("keyup")}
1,requestFullscreen:function(){elem=document.getElementById("galBigFoto");if(elem.requestFullscreen){elem.requestFullscreen()}else{if(elem.msRequestFullscreen){elem.msRequestFullscreen()}else{if(elem.mozRequestFullScreen){elem.mozRequestFullScreen()}else{if(elem.webkitRequestFullscreen){elem.webkitRequestFullscreen()}}}}},deleteFoto:function(a,b){$("#deleteFotoWrap").html('Warte... <img src="/imgs/wait.gif" />');$.post("/betrieb/delete-photo/",{id:a,pid:b},function(c){if(c.isOk==1){$("#deleteFotoWrap").html("Gelöscht!")}},"json")}};(function(){var a;a=jQuery,a.bootstrapGrowl=function(f,d){var c,g,b;switch(d=a.extend({},a.bootstrapGrowl.default_options,d),c=a("<div>"),c.attr("class","bootstrap-growl alert"),d.type&&c.addClass("alert-"+d.type),d.allow_dismiss&&c.append('<a class="close" data-dismiss="alert" href="#">&times;</a>'),c.append(f),d.top_offset&&(d.offset={from:"top",amount:d.top_offset}),b=d.offset.amount,a(".bootstrap-growl").each(function(){return b=Math.max(b,parseInt(a(this).css(d.offset.from))+a(this).outerHeight()+d.stackup_spacing)}),g={position:"body"===d.ele?"fixed":"absolute",margin:0,"z-index":"9999",display:"none"},g[d.offset.from]=b+"px",c.css(g),"auto"!==d.width&&c.css("width",d.width+"px"),a(d.ele).append(c),d.align){case"center":c.css({left:"50%","margin-left":"-"+c.outerWidth()/2+"px"});break;case"left":c.css("left","20px");break;default:c.css("right","20px")}return c.fadeIn(),d.delay>0&&c.delay(d.delay).fadeOut(function(){return a(this).alert("close")}),c},a.bootstrapGrowl.default_options={ele:"body",type:"info",offset:{from:"top",amount:20},align:"right",width:250,delay:4000,allow_dismiss:!0,stackup_spacing:10}}).call(this);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.